@haiilo/catalyst 5.4.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/catalyst/catalyst.css +1071 -0
- package/dist/catalyst/catalyst.esm.js +1 -1
- package/dist/catalyst/catalyst.esm.js.map +1 -1
- package/dist/catalyst/index.cdn.js +6 -0
- package/dist/catalyst/index.esm.js +2 -2
- package/dist/catalyst/index.esm.js.map +1 -1
- package/dist/catalyst/p-ad5fca6b.entry.js +10 -0
- package/dist/catalyst/p-ad5fca6b.entry.js.map +1 -0
- package/dist/catalyst/p-d7dc291a.js +2 -0
- package/dist/catalyst/p-d7dc291a.js.map +1 -0
- package/dist/catalyst/scss/index.scss +2 -0
- package/dist/catalyst/scss/vendor/_flatpickr.scss +314 -0
- package/dist/cjs/{cat-alert_27.cjs.entry.js → cat-alert_25.cjs.entry.js} +2922 -3480
- package/dist/cjs/cat-alert_25.cjs.entry.js.map +1 -0
- package/dist/cjs/{cat-icon-registry-228164a1.js → cat-icon-registry-6161e2ee.js} +14 -2
- package/dist/cjs/cat-icon-registry-6161e2ee.js.map +1 -0
- package/dist/cjs/catalyst.cjs.js +1 -1
- package/dist/cjs/index.cjs.js +12 -14
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +0 -2
- package/dist/collection/components/cat-avatar/cat-avatar.js +5 -5
- package/dist/collection/components/cat-avatar/cat-avatar.js.map +1 -1
- package/dist/collection/components/cat-button/cat-button.js +5 -7
- package/dist/collection/components/cat-button/cat-button.js.map +1 -1
- package/dist/collection/components/cat-checkbox/cat-checkbox.js +39 -42
- package/dist/collection/components/cat-checkbox/cat-checkbox.js.map +1 -1
- package/dist/collection/components/cat-datepicker/cat-datepicker.config.js +22 -0
- package/dist/collection/components/cat-datepicker/cat-datepicker.config.js.map +1 -0
- package/dist/collection/components/cat-datepicker/cat-datepicker.css +6 -369
- package/dist/collection/components/cat-datepicker/cat-datepicker.js +110 -314
- package/dist/collection/components/cat-datepicker/cat-datepicker.js.map +1 -1
- package/dist/collection/components/cat-datepicker/cat-datepicker.locale.js +51 -0
- package/dist/collection/components/cat-datepicker/cat-datepicker.locale.js.map +1 -0
- package/dist/collection/components/cat-dropdown/cat-dropdown.js +6 -9
- package/dist/collection/components/cat-dropdown/cat-dropdown.js.map +1 -1
- package/dist/collection/components/cat-form-group/cat-form-group.js +4 -5
- package/dist/collection/components/cat-form-group/cat-form-group.js.map +1 -1
- package/dist/collection/components/cat-form-hint/cat-form-hint.js +2 -6
- package/dist/collection/components/cat-form-hint/cat-form-hint.js.map +1 -1
- package/dist/collection/components/cat-i18n/cat-i18n-registry.js +13 -1
- package/dist/collection/components/cat-i18n/cat-i18n-registry.js.map +1 -1
- package/dist/collection/components/cat-input/cat-input.css +0 -377
- package/dist/collection/components/cat-input/cat-input.js +14 -40
- package/dist/collection/components/cat-input/cat-input.js.map +1 -1
- package/dist/collection/components/cat-input/input-type.js.map +1 -1
- package/dist/collection/components/cat-notification/cat-notification.js +11 -13
- package/dist/collection/components/cat-notification/cat-notification.js.map +1 -1
- package/dist/collection/components/cat-pagination/cat-pagination.js +2 -2
- package/dist/collection/components/cat-pagination/cat-pagination.js.map +1 -1
- package/dist/collection/components/cat-radio/cat-radio.js +11 -36
- package/dist/collection/components/cat-radio/cat-radio.js.map +1 -1
- package/dist/collection/components/cat-radio-group/cat-radio-group.js +37 -11
- package/dist/collection/components/cat-radio-group/cat-radio-group.js.map +1 -1
- package/dist/collection/components/cat-scrollable/cat-scrollable.js +2 -3
- package/dist/collection/components/cat-scrollable/cat-scrollable.js.map +1 -1
- package/dist/collection/components/cat-select/cat-select.js +42 -53
- package/dist/collection/components/cat-select/cat-select.js.map +1 -1
- package/dist/collection/components/cat-select-demo/cat-select-demo.js +21 -25
- package/dist/collection/components/cat-select-demo/cat-select-demo.js.map +1 -1
- package/dist/collection/components/cat-tabs/cat-tabs.js +4 -7
- package/dist/collection/components/cat-tabs/cat-tabs.js.map +1 -1
- package/dist/collection/components/cat-textarea/cat-textarea.js +17 -21
- package/dist/collection/components/cat-textarea/cat-textarea.js.map +1 -1
- package/dist/collection/components/cat-toggle/cat-toggle.js +38 -41
- package/dist/collection/components/cat-toggle/cat-toggle.js.map +1 -1
- package/dist/collection/components/cat-tooltip/cat-tooltip.js +17 -22
- package/dist/collection/components/cat-tooltip/cat-tooltip.js.map +1 -1
- package/dist/collection/index.cdn.js +6 -0
- package/dist/collection/scss/index.scss +2 -0
- package/dist/collection/scss/vendor/_flatpickr.scss +314 -0
- package/dist/collection/utils/platform.js +1 -1
- package/dist/collection/utils/platform.js.map +1 -1
- package/dist/components/cat-avatar2.js +5 -5
- package/dist/components/cat-avatar2.js.map +1 -1
- package/dist/components/cat-button2.js +6 -8
- package/dist/components/cat-button2.js.map +1 -1
- package/dist/components/cat-checkbox2.js +14 -15
- package/dist/components/cat-checkbox2.js.map +1 -1
- package/dist/components/cat-datepicker.js +2725 -3028
- package/dist/components/cat-datepicker.js.map +1 -1
- package/dist/components/cat-dropdown2.js +6 -9
- package/dist/components/cat-dropdown2.js.map +1 -1
- package/dist/components/cat-form-group.js +4 -5
- package/dist/components/cat-form-group.js.map +1 -1
- package/dist/components/cat-form-hint.js +2 -6
- package/dist/components/cat-form-hint.js.map +1 -1
- package/dist/components/cat-i18n-registry.js +13 -1
- package/dist/components/cat-i18n-registry.js.map +1 -1
- package/dist/components/cat-input2.js +9 -16
- package/dist/components/cat-input2.js.map +1 -1
- package/dist/components/cat-pagination.js.map +1 -1
- package/dist/components/cat-radio-group.js +15 -9
- package/dist/components/cat-radio-group.js.map +1 -1
- package/dist/components/cat-radio.js +5 -12
- package/dist/components/cat-radio.js.map +1 -1
- package/dist/components/cat-scrollable2.js +2 -3
- package/dist/components/cat-scrollable2.js.map +1 -1
- package/dist/components/cat-select-demo.js +21 -25
- package/dist/components/cat-select-demo.js.map +1 -1
- package/dist/components/cat-select2.js +42 -53
- package/dist/components/cat-select2.js.map +1 -1
- package/dist/components/cat-tabs.js +4 -7
- package/dist/components/cat-tabs.js.map +1 -1
- package/dist/components/cat-textarea.js +11 -11
- package/dist/components/cat-textarea.js.map +1 -1
- package/dist/components/cat-toggle.js +14 -15
- package/dist/components/cat-toggle.js.map +1 -1
- package/dist/components/cat-tooltip.js +17 -22
- package/dist/components/cat-tooltip.js.map +1 -1
- package/dist/components/floating-ui.dom.esm.js +55 -68
- package/dist/components/floating-ui.dom.esm.js.map +1 -1
- package/dist/components/index.js +11 -13
- package/dist/components/index.js.map +1 -1
- package/dist/esm/{cat-alert_27.entry.js → cat-alert_25.entry.js} +2922 -3478
- package/dist/esm/cat-alert_25.entry.js.map +1 -0
- package/dist/esm/{cat-icon-registry-4bd597f4.js → cat-icon-registry-f15b29d9.js} +14 -2
- package/dist/esm/cat-icon-registry-f15b29d9.js.map +1 -0
- package/dist/esm/catalyst.js +1 -1
- package/dist/esm/index.js +13 -15
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/@types/Intl.d.ts +3 -0
- package/dist/types/components/cat-checkbox/cat-checkbox.d.ts +11 -9
- package/dist/types/components/cat-datepicker/cat-datepicker.config.d.ts +1 -0
- package/dist/types/components/cat-datepicker/cat-datepicker.d.ts +21 -65
- package/dist/types/components/cat-datepicker/cat-datepicker.locale.d.ts +3 -0
- package/dist/types/components/cat-i18n/cat-i18n-registry.d.ts +3 -0
- package/dist/types/components/cat-input/cat-input.d.ts +2 -6
- package/dist/types/components/cat-input/input-type.d.ts +1 -1
- package/dist/types/components/cat-pagination/cat-pagination.d.ts +1 -1
- package/dist/types/components/cat-radio/cat-radio.d.ts +3 -7
- package/dist/types/components/cat-radio-group/cat-radio-group.d.ts +6 -1
- package/dist/types/components/cat-textarea/cat-textarea.d.ts +4 -4
- package/dist/types/components/cat-toggle/cat-toggle.d.ts +10 -8
- package/dist/types/components.d.ts +83 -417
- package/package.json +8 -10
- package/dist/catalyst/p-34e0cbba.entry.js +0 -10
- package/dist/catalyst/p-34e0cbba.entry.js.map +0 -1
- package/dist/catalyst/p-cf32399c.js +0 -2
- package/dist/catalyst/p-cf32399c.js.map +0 -1
- package/dist/cjs/cat-alert_27.cjs.entry.js.map +0 -1
- package/dist/cjs/cat-icon-registry-228164a1.js.map +0 -1
- package/dist/collection/components/cat-datepicker/datepicker-type.js +0 -8
- package/dist/collection/components/cat-datepicker/datepicker-type.js.map +0 -1
- package/dist/collection/components/cat-datepicker/dayjs.config.js +0 -8
- package/dist/collection/components/cat-datepicker/dayjs.config.js.map +0 -1
- package/dist/collection/components/cat-datepicker/vanillajs-datepicker.config.js +0 -46
- package/dist/collection/components/cat-datepicker/vanillajs-datepicker.config.js.map +0 -1
- package/dist/collection/components/cat-label/cat-label.css +0 -22
- package/dist/collection/components/cat-label/cat-label.js +0 -134
- package/dist/collection/components/cat-label/cat-label.js.map +0 -1
- package/dist/collection/components/cat-timepicker/cat-timepicker.css +0 -5
- package/dist/collection/components/cat-timepicker/cat-timepicker.js +0 -668
- package/dist/collection/components/cat-timepicker/cat-timepicker.js.map +0 -1
- package/dist/components/cat-label.d.ts +0 -11
- package/dist/components/cat-label.js +0 -73
- package/dist/components/cat-label.js.map +0 -1
- package/dist/components/cat-timepicker.d.ts +0 -11
- package/dist/components/cat-timepicker.js +0 -258
- package/dist/components/cat-timepicker.js.map +0 -1
- package/dist/esm/cat-alert_27.entry.js.map +0 -1
- package/dist/esm/cat-icon-registry-4bd597f4.js.map +0 -1
- package/dist/types/components/cat-datepicker/datepicker-type.d.ts +0 -7
- package/dist/types/components/cat-datepicker/datepicker.d.ts +0 -1
- package/dist/types/components/cat-datepicker/dayjs.config.d.ts +0 -3
- package/dist/types/components/cat-datepicker/vanillajs-datepicker.config.d.ts +0 -4
- package/dist/types/components/cat-label/cat-label.d.ts +0 -27
- package/dist/types/components/cat-timepicker/cat-timepicker.d.ts +0 -158
|
@@ -3,379 +3,16 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/* stylelint-disable value-keyword-case */
|
|
5
5
|
/* stylelint-enable value-keyword-case */
|
|
6
|
-
|
|
7
|
-
width: min-content;
|
|
8
|
-
}
|
|
9
|
-
.datepicker:not(.active) {
|
|
10
|
-
display: none;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.datepicker-dropdown {
|
|
14
|
-
position: absolute;
|
|
15
|
-
z-index: 20;
|
|
16
|
-
padding-top: 4px;
|
|
17
|
-
}
|
|
18
|
-
.datepicker-dropdown.datepicker-orient-top {
|
|
19
|
-
padding-top: 0;
|
|
20
|
-
padding-bottom: 4px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.datepicker-picker {
|
|
24
|
-
display: flex;
|
|
25
|
-
flex-direction: column;
|
|
26
|
-
border-radius: var(--cat-border-radius-m, 0.25rem);
|
|
27
|
-
background-color: white;
|
|
28
|
-
}
|
|
29
|
-
.datepicker-dropdown .datepicker-picker {
|
|
30
|
-
box-shadow: 0 4px 6px -2px rgba(27, 31, 38, 0.03), 0 12px 16px -4px rgba(27, 31, 38, 0.08);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.datepicker-main {
|
|
34
|
-
flex: auto;
|
|
35
|
-
padding: 2px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.datepicker-footer {
|
|
39
|
-
box-shadow: none;
|
|
40
|
-
background-color: transparent;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.datepicker-title {
|
|
44
|
-
box-shadow: none;
|
|
45
|
-
background-color: hsl(0, 0%, 96%);
|
|
46
|
-
padding: 0.375rem 0.75rem;
|
|
47
|
-
text-align: center;
|
|
48
|
-
font-weight: 700;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.datepicker-controls {
|
|
52
|
-
display: flex;
|
|
53
|
-
}
|
|
54
|
-
.datepicker-header .datepicker-controls {
|
|
55
|
-
padding: 2px 2px 0;
|
|
56
|
-
}
|
|
57
|
-
.datepicker-controls .button {
|
|
58
|
-
display: inline-flex;
|
|
59
|
-
position: relative;
|
|
60
|
-
align-items: center;
|
|
61
|
-
justify-content: center;
|
|
62
|
-
margin: 0;
|
|
63
|
-
border: 1px solid rgb(var(--cat-border-color, 235, 236, 240));
|
|
64
|
-
border-radius: var(--cat-border-radius-m, 0.25rem);
|
|
65
|
-
box-shadow: none;
|
|
66
|
-
background-color: hsl(0, 0%, 100%);
|
|
67
|
-
cursor: pointer;
|
|
68
|
-
padding: calc(0.375em - 1px) 0.75em;
|
|
69
|
-
height: 2.25em;
|
|
70
|
-
vertical-align: top;
|
|
71
|
-
text-align: center;
|
|
72
|
-
line-height: 1.5;
|
|
73
|
-
white-space: nowrap;
|
|
74
|
-
color: hsl(0, 0%, 21%);
|
|
75
|
-
font-size: 0.9375rem;
|
|
76
|
-
}
|
|
77
|
-
.datepicker-controls .button:focus, .datepicker-controls .button:active {
|
|
78
|
-
outline: none;
|
|
79
|
-
}
|
|
80
|
-
.datepicker-controls .button:hover {
|
|
81
|
-
border-color: #b8b8b8;
|
|
82
|
-
color: hsl(0, 0%, 21%);
|
|
83
|
-
}
|
|
84
|
-
.datepicker-controls .button:focus {
|
|
85
|
-
border-color: hsl(217, 71%, 53%);
|
|
86
|
-
color: hsl(0, 0%, 21%);
|
|
87
|
-
}
|
|
88
|
-
.datepicker-controls .button:focus:not(:active) {
|
|
89
|
-
box-shadow: 0 0 0 0.125em rgba(50, 115, 220, 0.25);
|
|
90
|
-
}
|
|
91
|
-
.datepicker-controls .button:active {
|
|
92
|
-
border-color: #474747;
|
|
93
|
-
color: hsl(0, 0%, 21%);
|
|
94
|
-
}
|
|
95
|
-
.datepicker-controls .button[disabled] {
|
|
96
|
-
cursor: not-allowed;
|
|
97
|
-
}
|
|
98
|
-
.datepicker-header .datepicker-controls .button {
|
|
99
|
-
border-color: transparent;
|
|
100
|
-
font-weight: bold;
|
|
101
|
-
}
|
|
102
|
-
.datepicker-header .datepicker-controls .button:hover {
|
|
103
|
-
background-color: #f2f4f7;
|
|
104
|
-
}
|
|
105
|
-
.datepicker-header .datepicker-controls .button:active {
|
|
106
|
-
background-color: #f2f4f7;
|
|
107
|
-
}
|
|
108
|
-
.datepicker-footer .datepicker-controls .button {
|
|
109
|
-
flex: auto;
|
|
110
|
-
margin: calc(0.375rem - 1px) 0.375rem;
|
|
111
|
-
border-radius: var(--cat-border-radius-s, 0.125rem);
|
|
112
|
-
font-size: 0.875rem;
|
|
113
|
-
}
|
|
114
|
-
.datepicker-controls .view-switch {
|
|
115
|
-
flex: auto;
|
|
116
|
-
}
|
|
117
|
-
.datepicker-controls .prev-button,
|
|
118
|
-
.datepicker-controls .next-button {
|
|
119
|
-
padding-right: 0.375rem;
|
|
120
|
-
padding-left: 0.375rem;
|
|
121
|
-
flex: 0 0 14.2857142857%;
|
|
122
|
-
}
|
|
123
|
-
.datepicker-controls .prev-button.disabled,
|
|
124
|
-
.datepicker-controls .next-button.disabled {
|
|
125
|
-
visibility: hidden;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.datepicker-view,
|
|
129
|
-
.datepicker-grid {
|
|
6
|
+
:host {
|
|
130
7
|
display: flex;
|
|
8
|
+
margin-bottom: 1rem;
|
|
131
9
|
}
|
|
132
10
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
width: 17.5rem;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.datepicker-grid {
|
|
139
|
-
flex-wrap: wrap;
|
|
140
|
-
flex: auto;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.datepicker .days {
|
|
144
|
-
display: flex;
|
|
145
|
-
flex-direction: column;
|
|
146
|
-
flex: auto;
|
|
147
|
-
}
|
|
148
|
-
.datepicker .days-of-week {
|
|
149
|
-
display: flex;
|
|
150
|
-
}
|
|
151
|
-
.datepicker .week-numbers {
|
|
152
|
-
display: flex;
|
|
153
|
-
flex-direction: column;
|
|
154
|
-
flex: 0 0 9.6774193548%;
|
|
155
|
-
}
|
|
156
|
-
.datepicker .weeks {
|
|
157
|
-
display: flex;
|
|
158
|
-
flex-direction: column;
|
|
159
|
-
align-items: stretch;
|
|
160
|
-
flex: auto;
|
|
161
|
-
}
|
|
162
|
-
.datepicker span {
|
|
163
|
-
display: flex;
|
|
164
|
-
align-items: center;
|
|
165
|
-
justify-content: center;
|
|
166
|
-
border-radius: var(--cat-border-radius-m, 0.25rem);
|
|
167
|
-
cursor: default;
|
|
168
|
-
-webkit-touch-callout: none;
|
|
169
|
-
user-select: none;
|
|
170
|
-
}
|
|
171
|
-
.datepicker .dow {
|
|
172
|
-
height: 2rem;
|
|
173
|
-
font-size: 0.875rem0.9375rem/2;
|
|
174
|
-
font-weight: 700;
|
|
175
|
-
}
|
|
176
|
-
.datepicker .week {
|
|
177
|
-
flex: auto;
|
|
178
|
-
color: rgb(var(--cat-font-color-muted, 81, 92, 108));
|
|
179
|
-
font-size: 0.875rem;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.datepicker-cell, .datepicker .days .dow {
|
|
183
|
-
flex-basis: 14.2857142857%;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.datepicker-cell {
|
|
187
|
-
height: 2.5rem;
|
|
188
|
-
}
|
|
189
|
-
.datepicker-cell:not(.day) {
|
|
190
|
-
flex-basis: 25%;
|
|
191
|
-
height: 5rem;
|
|
192
|
-
}
|
|
193
|
-
.datepicker-cell:not(.disabled):hover {
|
|
194
|
-
background-color: transparent;
|
|
195
|
-
cursor: pointer;
|
|
196
|
-
}
|
|
197
|
-
.datepicker-cell.focused:not(.selected) {
|
|
198
|
-
background-color: #f2f4f7;
|
|
199
|
-
}
|
|
200
|
-
.datepicker-cell.selected, .datepicker-cell.selected:hover {
|
|
201
|
-
background-color: rgb(var(--cat-primary-bg, 0, 129, 148));
|
|
202
|
-
color: rgb(var(--cat-primary-fill, 255, 255, 255));
|
|
203
|
-
font-weight: 700;
|
|
204
|
-
}
|
|
205
|
-
.datepicker-cell.disabled {
|
|
206
|
-
color: rgb(var(--cat-font-color-muted, 81, 92, 108));
|
|
207
|
-
}
|
|
208
|
-
.datepicker-cell.prev:not(.disabled), .datepicker-cell.next:not(.disabled) {
|
|
209
|
-
color: rgb(var(--cat-font-color-muted, 81, 92, 108));
|
|
210
|
-
}
|
|
211
|
-
.datepicker-cell.prev.selected, .datepicker-cell.next.selected {
|
|
212
|
-
color: rgb(var(--cat-primary-fill, 255, 255, 255));
|
|
213
|
-
}
|
|
214
|
-
.datepicker-cell.highlighted:not(.selected):not(.range):not(.today) {
|
|
215
|
-
border-radius: 0;
|
|
216
|
-
background-color: #f2f4f7;
|
|
217
|
-
}
|
|
218
|
-
.datepicker-cell.highlighted:not(.selected):not(.range):not(.today):not(.disabled):hover {
|
|
219
|
-
background-color: #f2f4f7;
|
|
220
|
-
}
|
|
221
|
-
.datepicker-cell.highlighted:not(.selected):not(.range):not(.today).focused {
|
|
222
|
-
background-color: #f2f4f7;
|
|
223
|
-
}
|
|
224
|
-
.datepicker-cell.today:not(.selected) {
|
|
225
|
-
background-color: transparent;
|
|
226
|
-
}
|
|
227
|
-
.datepicker-cell.today:not(.selected):not(.disabled) {
|
|
228
|
-
color: rgb(var(--cat-primary-text, 0, 129, 148));
|
|
229
|
-
}
|
|
230
|
-
.datepicker-cell.today.focused:not(.selected) {
|
|
231
|
-
background-color: #f2f4f7;
|
|
232
|
-
}
|
|
233
|
-
.datepicker-cell.range-end:not(.selected), .datepicker-cell.range-start:not(.selected) {
|
|
234
|
-
background-color: #b8b8b8;
|
|
235
|
-
color: rgb(var(--cat-primary-fill, 255, 255, 255));
|
|
236
|
-
}
|
|
237
|
-
.datepicker-cell.range-end.focused:not(.selected), .datepicker-cell.range-start.focused:not(.selected) {
|
|
238
|
-
background-color: #b3b3b3;
|
|
239
|
-
}
|
|
240
|
-
.datepicker-cell.range-start:not(.range-end) {
|
|
241
|
-
border-radius: var(--cat-border-radius-m, 0.25rem) 0 0 var(--cat-border-radius-m, 0.25rem);
|
|
242
|
-
}
|
|
243
|
-
.datepicker-cell.range-end:not(.range-start) {
|
|
244
|
-
border-radius: 0 var(--cat-border-radius-m, 0.25rem) var(--cat-border-radius-m, 0.25rem) 0;
|
|
245
|
-
}
|
|
246
|
-
.datepicker-cell.range {
|
|
247
|
-
border-radius: 0;
|
|
248
|
-
background-color: gainsboro;
|
|
249
|
-
}
|
|
250
|
-
.datepicker-cell.range:not(.disabled):not(.focused):not(.today):hover {
|
|
251
|
-
background-color: #d7d7d7;
|
|
252
|
-
}
|
|
253
|
-
.datepicker-cell.range.disabled {
|
|
254
|
-
color: #c6c6c6;
|
|
255
|
-
}
|
|
256
|
-
.datepicker-cell.range.focused {
|
|
257
|
-
background-color: #d1d1d1;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.datepicker-input.in-edit {
|
|
261
|
-
border-color: #276bda;
|
|
262
|
-
}
|
|
263
|
-
.datepicker-input.in-edit:focus, .datepicker-input.in-edit:active {
|
|
264
|
-
box-shadow: none;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
.datepicker-picker {
|
|
268
|
-
border: 1px solid rgb(var(--cat-border-color, 235, 236, 240));
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.datepicker-main {
|
|
272
|
-
padding: 0.5rem 1rem;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
.datepicker-view:has(.week-numbers) {
|
|
276
|
-
width: 19.375rem;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
.datepicker-view.months,
|
|
280
|
-
.datepicker-view.years {
|
|
281
|
-
width: 20rem;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
.datepicker .dow,
|
|
285
|
-
.datepicker .week {
|
|
286
|
-
font-size: 0.75rem;
|
|
287
|
-
line-height: 1rem;
|
|
288
|
-
font-weight: 700;
|
|
289
|
-
color: rgb(var(--cat-font-color-muted, 81, 92, 108));
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.datepicker-cell.today:not(.selected) {
|
|
293
|
-
box-shadow: inset 0 0 0 2px rgb(var(--cat-primary-bg, 0, 129, 148));
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
.datepicker-cell.focused:not(.selected),
|
|
297
|
-
.datepicker-cell:not(.selected):not(.disabled):hover {
|
|
298
|
-
background-color: #f2f4f7;
|
|
11
|
+
:host([hidden]) {
|
|
12
|
+
display: none;
|
|
299
13
|
}
|
|
300
14
|
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
}
|
|
304
|
-
.datepicker-header .datepicker-controls {
|
|
305
|
-
padding: 1rem 1rem 0;
|
|
306
|
-
}
|
|
307
|
-
.datepicker-header .datepicker-controls .button {
|
|
308
|
-
height: 2.5rem;
|
|
309
|
-
}
|
|
310
|
-
.datepicker-header .datepicker-controls .prev-button,
|
|
311
|
-
.datepicker-header .datepicker-controls .next-button {
|
|
312
|
-
flex-basis: 2.5rem;
|
|
313
|
-
font-size: 1.25rem;
|
|
314
|
-
}
|
|
315
|
-
.datepicker-footer .datepicker-controls {
|
|
316
|
-
padding: 0 1rem 1rem;
|
|
317
|
-
}
|
|
318
|
-
.datepicker-footer .datepicker-controls .button {
|
|
15
|
+
cat-input {
|
|
16
|
+
flex: 1 1 auto;
|
|
319
17
|
margin: 0;
|
|
320
|
-
height: 2.5rem;
|
|
321
|
-
font-size: 0.9375rem;
|
|
322
|
-
}
|
|
323
|
-
.datepicker-footer .datepicker-controls .button:hover, .datepicker-footer .datepicker-controls .button:active {
|
|
324
|
-
border-color: rgb(var(--cat-border-color-dark, 215, 219, 224));
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
.datepicker.weekly .datepicker-view:not(.months):not(.years) .datepicker-grid :nth-child(7n+1)::before {
|
|
328
|
-
content: "";
|
|
329
|
-
width: 700%;
|
|
330
|
-
height: 100%;
|
|
331
|
-
border-radius: var(--cat-border-radius-m, 0.25rem);
|
|
332
|
-
position: absolute;
|
|
333
|
-
top: 0;
|
|
334
|
-
left: 0;
|
|
335
|
-
opacity: 0;
|
|
336
|
-
z-index: 1;
|
|
337
|
-
}
|
|
338
|
-
.datepicker.weekly .datepicker-view:not(.months):not(.years) .datepicker-grid :nth-child(7n+1).today:not(.selected)::before {
|
|
339
|
-
box-shadow: inset 0 0 0 1.5px #008194;
|
|
340
|
-
border-radius: var(--cat-border-radius-m, 0.25rem);
|
|
341
|
-
opacity: 1;
|
|
342
|
-
}
|
|
343
|
-
.datepicker.weekly .datepicker-view:not(.months):not(.years) .datepicker-grid :nth-child(7n+1):not(:hover)::before {
|
|
344
|
-
background: none;
|
|
345
|
-
}
|
|
346
|
-
.datepicker.weekly .datepicker-view:not(.months):not(.years) .datepicker-grid :nth-child(7n+1):hover::before {
|
|
347
|
-
opacity: 1;
|
|
348
|
-
background-color: transparent;
|
|
349
|
-
}
|
|
350
|
-
.datepicker.weekly .datepicker-view:not(.months):not(.years) .datepicker-grid :nth-child(7n+1).selected, .datepicker.weekly .datepicker-view:not(.months):not(.years) .datepicker-grid :nth-child(7n+1).selected.focused {
|
|
351
|
-
color: white;
|
|
352
|
-
}
|
|
353
|
-
.datepicker.weekly .datepicker-view:not(.months):not(.years) .datepicker-grid :nth-child(7n+1).selected::before, .datepicker.weekly .datepicker-view:not(.months):not(.years) .datepicker-grid :nth-child(7n+1).selected.focused::before {
|
|
354
|
-
opacity: 1;
|
|
355
|
-
background-color: rgb(var(--cat-primary-bg, 0, 129, 148));
|
|
356
|
-
z-index: -1;
|
|
357
|
-
}
|
|
358
|
-
.datepicker.weekly .datepicker-view:not(.months):not(.years) .datepicker-grid :nth-child(7n+1).focused {
|
|
359
|
-
background: none;
|
|
360
|
-
}
|
|
361
|
-
.datepicker.weekly .datepicker-view:not(.months):not(.years) .datepicker-grid :nth-child(7n+1).focused::before {
|
|
362
|
-
opacity: 1;
|
|
363
|
-
background-color: #f2f4f7;
|
|
364
|
-
z-index: -1;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
.datepicker.weekly .datepicker-view:not(.months):not(.years) .datepicker-grid .datepicker-cell {
|
|
368
|
-
position: relative;
|
|
369
|
-
}
|
|
370
|
-
.datepicker.weekly .datepicker-view:not(.months):not(.years) .datepicker-grid .datepicker-cell.selected, .datepicker.weekly .datepicker-view:not(.months):not(.years) .datepicker-grid .datepicker-cell.focused {
|
|
371
|
-
z-index: 2;
|
|
372
|
-
}
|
|
373
|
-
.datepicker.weekly .datepicker-view:not(.months):not(.years) .datepicker-grid .datepicker-cell.today:not(.selected) {
|
|
374
|
-
box-shadow: none;
|
|
375
|
-
}
|
|
376
|
-
.datepicker.weekly .datepicker-view:not(.months):not(.years) .datepicker-grid .datepicker-cell:not(.disabled):hover {
|
|
377
|
-
background-color: inherit;
|
|
378
|
-
}
|
|
379
|
-
.datepicker.weekly .datepicker-view:not(.months):not(.years) .datepicker-grid .datepicker-cell.focused {
|
|
380
|
-
background: none;
|
|
381
18
|
}
|