Latest repo

This commit is contained in:
Marc
2025-06-02 16:42:16 +00:00
parent 53ddf1a329
commit cde5fae175
27907 changed files with 3875388 additions and 1 deletions
+1363
View File
File diff suppressed because it is too large Load Diff
+2277
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
+2332
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+318
View File
@@ -0,0 +1,318 @@
.rdp {
--rdp-cell-size: 40px; /* Size of the day cells. */
--rdp-caption-font-size: 18px; /* Font size for the caption labels. */
--rdp-accent-color: #0000ff; /* Accent color for the background of selected days. */
--rdp-background-color: #e7edff; /* Background color for the hovered/focused elements. */
--rdp-accent-color-dark: #3003e1; /* Accent color for the background of selected days (to use in dark-mode). */
--rdp-background-color-dark: #180270; /* Background color for the hovered/focused elements (to use in dark-mode). */
--rdp-outline: 2px solid var(--rdp-accent-color); /* Outline border for focused elements */
--rdp-outline-selected: 3px solid var(--rdp-accent-color); /* Outline border for focused _and_ selected elements */
--rdp-selected-color: #fff; /* Color of selected day text */
margin: 1em;
}
/* Hide elements for devices that are not screen readers */
.rdp-vhidden {
box-sizing: border-box;
padding: 0;
margin: 0;
background: transparent;
border: 0;
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
position: absolute !important;
top: 0;
width: 1px !important;
height: 1px !important;
padding: 0 !important;
overflow: hidden !important;
clip: rect(1px, 1px, 1px, 1px) !important;
border: 0 !important;
}
/* Buttons */
.rdp-button_reset {
appearance: none;
position: relative;
margin: 0;
padding: 0;
cursor: default;
color: inherit;
background: none;
font: inherit;
-moz-appearance: none;
-webkit-appearance: none;
}
.rdp-button_reset:focus-visible {
/* Make sure to reset outline only when :focus-visible is supported */
outline: none;
}
.rdp-button {
border: 2px solid transparent;
}
.rdp-button[disabled]:not(.rdp-day_selected) {
opacity: 0.25;
}
.rdp-button:not([disabled]) {
cursor: pointer;
}
.rdp-button:focus-visible:not([disabled]) {
color: inherit;
background-color: var(--rdp-background-color);
border: var(--rdp-outline);
}
.rdp-button:hover:not([disabled]):not(.rdp-day_selected) {
background-color: var(--rdp-background-color);
}
.rdp-months {
display: flex;
}
.rdp-month {
margin: 0 1em;
}
.rdp-month:first-child {
margin-left: 0;
}
.rdp-month:last-child {
margin-right: 0;
}
.rdp-table {
margin: 0;
max-width: calc(var(--rdp-cell-size) * 7);
border-collapse: collapse;
}
.rdp-with_weeknumber .rdp-table {
max-width: calc(var(--rdp-cell-size) * 8);
border-collapse: collapse;
}
.rdp-caption {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0;
text-align: left;
}
.rdp-multiple_months .rdp-caption {
position: relative;
display: block;
text-align: center;
}
.rdp-caption_dropdowns {
position: relative;
display: inline-flex;
}
.rdp-caption_label {
position: relative;
z-index: 1;
display: inline-flex;
align-items: center;
margin: 0;
padding: 0 0.25em;
white-space: nowrap;
color: currentColor;
border: 0;
border: 2px solid transparent;
font-family: inherit;
font-size: var(--rdp-caption-font-size);
font-weight: bold;
}
.rdp-nav {
white-space: nowrap;
}
.rdp-multiple_months .rdp-caption_start .rdp-nav {
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
}
.rdp-multiple_months .rdp-caption_end .rdp-nav {
position: absolute;
top: 50%;
right: 0;
transform: translateY(-50%);
}
.rdp-nav_button {
display: inline-flex;
align-items: center;
justify-content: center;
width: var(--rdp-cell-size);
height: var(--rdp-cell-size);
padding: 0.25em;
border-radius: 100%;
}
/* ---------- */
/* Dropdowns */
/* ---------- */
.rdp-dropdown_year,
.rdp-dropdown_month {
position: relative;
display: inline-flex;
align-items: center;
}
.rdp-dropdown {
appearance: none;
position: absolute;
z-index: 2;
top: 0;
bottom: 0;
left: 0;
width: 100%;
margin: 0;
padding: 0;
cursor: inherit;
opacity: 0;
border: none;
background-color: transparent;
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
.rdp-dropdown[disabled] {
opacity: unset;
color: unset;
}
.rdp-dropdown:focus-visible:not([disabled]) + .rdp-caption_label {
background-color: var(--rdp-background-color);
border: var(--rdp-outline);
border-radius: 6px;
}
.rdp-dropdown_icon {
margin: 0 0 0 5px;
}
.rdp-head {
border: 0;
}
.rdp-head_row,
.rdp-row {
height: 100%;
}
.rdp-head_cell {
vertical-align: middle;
font-size: 0.75em;
font-weight: 700;
text-align: center;
height: 100%;
height: var(--rdp-cell-size);
padding: 0;
text-transform: uppercase;
}
.rdp-tbody {
border: 0;
}
.rdp-tfoot {
margin: 0.5em;
}
.rdp-cell {
width: var(--rdp-cell-size);
height: 100%;
height: var(--rdp-cell-size);
padding: 0;
text-align: center;
}
.rdp-weeknumber {
font-size: 0.75em;
}
.rdp-weeknumber,
.rdp-day {
display: flex;
overflow: hidden;
align-items: center;
justify-content: center;
box-sizing: border-box;
width: var(--rdp-cell-size);
max-width: var(--rdp-cell-size);
height: var(--rdp-cell-size);
margin: 0;
border: 2px solid transparent;
border-radius: 100%;
}
.rdp-day_today:not(.rdp-day_outside) {
font-weight: bold;
}
.rdp-day_selected,
.rdp-day_selected:focus-visible,
.rdp-day_selected:hover {
color: var(--rdp-selected-color);
opacity: 1;
background-color: var(--rdp-accent-color);
}
.rdp-day_outside {
opacity: 0.5;
}
.rdp-day_selected:focus-visible {
/* Since the background is the same use again the outline */
outline: var(--rdp-outline);
outline-offset: 2px;
z-index: 1;
}
.rdp:not([dir='rtl']) .rdp-day_range_start:not(.rdp-day_range_end) {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.rdp:not([dir='rtl']) .rdp-day_range_end:not(.rdp-day_range_start) {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.rdp[dir='rtl'] .rdp-day_range_start:not(.rdp-day_range_end) {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.rdp[dir='rtl'] .rdp-day_range_end:not(.rdp-day_range_start) {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.rdp-day_range_end.rdp-day_range_start {
border-radius: 100%;
}
.rdp-day_range_middle {
border-radius: 0;
}
/*# sourceMappingURL=style.css.map */
+39
View File
@@ -0,0 +1,39 @@
declare const styles: {
'rdp': string
'rdp-vhidden': string
'rdp-button_reset': string
'rdp-button': string
'rdp-day_selected': string
'rdp-months': string
'rdp-month': string
'rdp-table': string
'rdp-with_weeknumber': string
'rdp-caption': string
'rdp-multiple_months': string
'rdp-caption_dropdowns': string
'rdp-caption_label': string
'rdp-nav': string
'rdp-caption_start': string
'rdp-caption_end': string
'rdp-nav_button': string
'rdp-dropdown_year': string
'rdp-dropdown_month': string
'rdp-dropdown': string
'rdp-dropdown_icon': string
'rdp-head': string
'rdp-head_row': string
'rdp-row': string
'rdp-head_cell': string
'rdp-tbody': string
'rdp-tfoot': string
'rdp-cell': string
'rdp-weeknumber': string
'rdp-day': string
'rdp-day_today': string
'rdp-day_outside': string
'rdp-day_range_start': string
'rdp-day_range_end': string
'rdp-day_range_middle': string
}
export default styles
File diff suppressed because one or more lines are too long
+316
View File
@@ -0,0 +1,316 @@
.root {
--rdp-cell-size: 40px; /* Size of the day cells. */
--rdp-caption-font-size: 18px; /* Font size for the caption labels. */
--rdp-accent-color: #0000ff; /* Accent color for the background of selected days. */
--rdp-background-color: #e7edff; /* Background color for the hovered/focused elements. */
--rdp-accent-color-dark: #3003e1; /* Accent color for the background of selected days (to use in dark-mode). */
--rdp-background-color-dark: #180270; /* Background color for the hovered/focused elements (to use in dark-mode). */
--rdp-outline: 2px solid var(--rdp-accent-color); /* Outline border for focused elements */
--rdp-outline-selected: 3px solid var(--rdp-accent-color); /* Outline border for focused _and_ selected elements */
--rdp-selected-color: #fff; /* Color of selected day text */
margin: 1em;
}
/* Hide elements for devices that are not screen readers */
.vhidden {
box-sizing: border-box;
padding: 0;
margin: 0;
background: transparent;
border: 0;
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
position: absolute !important;
top: 0;
width: 1px !important;
height: 1px !important;
padding: 0 !important;
overflow: hidden !important;
clip: rect(1px, 1px, 1px, 1px) !important;
border: 0 !important;
}
/* Buttons */
.button_reset {
appearance: none;
position: relative;
margin: 0;
padding: 0;
cursor: default;
color: inherit;
background: none;
font: inherit;
-moz-appearance: none;
-webkit-appearance: none;
}
.button_reset:focus-visible {
/* Make sure to reset outline only when :focus-visible is supported */
outline: none;
}
.button {
border: 2px solid transparent;
}
.button[disabled]:not(.day_selected) {
opacity: 0.25;
}
.button:not([disabled]) {
cursor: pointer;
}
.button:focus-visible:not([disabled]) {
color: inherit;
background-color: var(--rdp-background-color);
border: var(--rdp-outline);
}
.button:hover:not([disabled]):not(.day_selected) {
background-color: var(--rdp-background-color);
}
.months {
display: flex;
}
.month {
margin: 0 1em;
}
.month:first-child {
margin-left: 0;
}
.month:last-child {
margin-right: 0;
}
.table {
margin: 0;
max-width: calc(var(--rdp-cell-size) * 7);
border-collapse: collapse;
}
.with_weeknumber .table {
max-width: calc(var(--rdp-cell-size) * 8);
border-collapse: collapse;
}
.caption {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0;
text-align: left;
}
.multiple_months .caption {
position: relative;
display: block;
text-align: center;
}
.caption_dropdowns {
position: relative;
display: inline-flex;
}
.caption_label {
position: relative;
z-index: 1;
display: inline-flex;
align-items: center;
margin: 0;
padding: 0 0.25em;
white-space: nowrap;
color: currentColor;
border: 0;
border: 2px solid transparent;
font-family: inherit;
font-size: var(--rdp-caption-font-size);
font-weight: bold;
}
.nav {
white-space: nowrap;
}
.multiple_months .caption_start .nav {
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
}
.multiple_months .caption_end .nav {
position: absolute;
top: 50%;
right: 0;
transform: translateY(-50%);
}
.nav_button {
display: inline-flex;
align-items: center;
justify-content: center;
width: var(--rdp-cell-size);
height: var(--rdp-cell-size);
padding: 0.25em;
border-radius: 100%;
}
/* ---------- */
/* Dropdowns */
/* ---------- */
.dropdown_year,
.dropdown_month {
position: relative;
display: inline-flex;
align-items: center;
}
.dropdown {
appearance: none;
position: absolute;
z-index: 2;
top: 0;
bottom: 0;
left: 0;
width: 100%;
margin: 0;
padding: 0;
cursor: inherit;
opacity: 0;
border: none;
background-color: transparent;
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
.dropdown[disabled] {
opacity: unset;
color: unset;
}
.dropdown:focus-visible:not([disabled]) + .caption_label {
background-color: var(--rdp-background-color);
border: var(--rdp-outline);
border-radius: 6px;
}
.dropdown_icon {
margin: 0 0 0 5px;
}
.head {
border: 0;
}
.head_row,
.row {
height: 100%;
}
.head_cell {
vertical-align: middle;
font-size: 0.75em;
font-weight: 700;
text-align: center;
height: 100%;
height: var(--rdp-cell-size);
padding: 0;
text-transform: uppercase;
}
.tbody {
border: 0;
}
.tfoot {
margin: 0.5em;
}
.cell {
width: var(--rdp-cell-size);
height: 100%;
height: var(--rdp-cell-size);
padding: 0;
text-align: center;
}
.weeknumber {
font-size: 0.75em;
}
.weeknumber,
.day {
display: flex;
overflow: hidden;
align-items: center;
justify-content: center;
box-sizing: border-box;
width: var(--rdp-cell-size);
max-width: var(--rdp-cell-size);
height: var(--rdp-cell-size);
margin: 0;
border: 2px solid transparent;
border-radius: 100%;
}
.day_today:not(.day_outside) {
font-weight: bold;
}
.day_selected,
.day_selected:focus-visible,
.day_selected:hover {
color: var(--rdp-selected-color);
opacity: 1;
background-color: var(--rdp-accent-color);
}
.day_outside {
opacity: 0.5;
}
.day_selected:focus-visible {
/* Since the background is the same use again the outline */
outline: var(--rdp-outline);
outline-offset: 2px;
z-index: 1;
}
.root:not([dir='rtl']) .day_range_start:not(.day_range_end) {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.root:not([dir='rtl']) .day_range_end:not(.day_range_start) {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.root[dir='rtl'] .day_range_start:not(.day_range_end) {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.root[dir='rtl'] .day_range_end:not(.day_range_start) {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.day_range_end.day_range_start {
border-radius: 100%;
}
.day_range_middle {
border-radius: 0;
}
+39
View File
@@ -0,0 +1,39 @@
declare const styles: {
'root': string
'vhidden': string
'button_reset': string
'button': string
'day_selected': string
'months': string
'month': string
'table': string
'with_weeknumber': string
'caption': string
'multiple_months': string
'caption_dropdowns': string
'caption_label': string
'nav': string
'caption_start': string
'caption_end': string
'nav_button': string
'dropdown_year': string
'dropdown_month': string
'dropdown': string
'dropdown_icon': string
'head': string
'head_row': string
'row': string
'head_cell': string
'tbody': string
'tfoot': string
'cell': string
'weeknumber': string
'day': string
'day_today': string
'day_outside': string
'day_range_start': string
'day_range_end': string
'day_range_middle': string
}
export default styles