scb-wc 0.1.113 → 0.1.114
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/README.md +41 -22
- package/all.js +0 -5
- package/icons.json +178 -178
- package/index.js +89 -94
- package/mvc/components/all.js +0 -5
- package/mvc/components/scb-accordion/scb-accordion-item.js +1 -1
- package/mvc/components/scb-button/scb-button.js +3 -3
- package/mvc/components/scb-calendar/scb-calendar.js +1 -1
- package/mvc/components/scb-calendar-card/scb-calendar-card.js +4 -4
- package/mvc/components/scb-card/scb-card.js +2 -2
- package/mvc/components/scb-dropdown/scb-dropdown.js +1 -1
- package/mvc/components/scb-header/scb-header.js +2 -2
- package/mvc/components/scb-horizontal-scroller/scb-horizontal-scroller.js +6 -6
- package/mvc/components/scb-icon-button/scb-icon-button.js +5 -5
- package/mvc/components/scb-keyfigure-card/scb-keyfigure-card.js +6 -6
- package/mvc/components/scb-list/scb-list-item.js +2 -2
- package/mvc/components/scb-menu/scb-menu-item.js +1 -1
- package/mvc/components/scb-nav/scb-nav.js +2 -2
- package/mvc/components/scb-options-menu/scb-options-menu-item.js +1 -1
- package/mvc/components/scb-progress-stepper/scb-progress-step.js +2 -2
- package/mvc/components/scb-search/scb-search.js +1 -1
- package/mvc/components/scb-segmented-button/scb-segmented-item.js +1 -1
- package/mvc/components/scb-select/scb-select-option.js +1 -1
- package/mvc/components/scb-select/scb-select.js +1 -1
- package/mvc/components/scb-stepper/scb-step.js +1 -1
- package/mvc/components/scb-textfield/scb-textfield.js +150 -33
- package/mvc/components/scb-toc/scb-toc-item.js +1 -1
- package/mvc/scb-logo.svg +20 -20
- package/mvc/scb.svg +13 -13
- package/mvc/vendor/lazy-focus-ring.js +2 -0
- package/mvc/vendor/lazy-ripple.js +2 -0
- package/mvc/{components/scb-chevron → vendor}/scb-chevron.js +1 -1
- package/mvc/vendor/scb-icon-svg.js +11 -0
- package/package.json +2 -2
- package/scb-chevron/scb-chevron.js +0 -1
- package/scb-datepicker/scb-datepicker.js +0 -1
- package/scb-wc-public-entry/index.d.ts +98 -0
- package/scb-wc.bundle.js +847 -847
- package/scb-wc.d.ts +196 -206
- package/shared/scb-icon-svg.js +2 -5
- package/mvc/components/scb-datepicker/scb-datepicker.js +0 -118
- package/mvc/components/shared/lazy-focus-ring.js +0 -2
- package/mvc/components/shared/lazy-ripple.js +0 -2
- package/mvc/components/shared/scb-icon-svg.js +0 -11
- package/scb-components/index.d.ts +0 -103
- package/scb-components/scb-chevron/scb-chevron.d.ts +0 -11
- package/scb-components/scb-datepicker/scb-datepicker.d.ts +0 -41
- package/scb-components/shared/lazy-focus-ring.d.ts +0 -4
- package/scb-components/shared/lazy-ripple.d.ts +0 -9
- package/scb-components/shared/scb-icon-svg.d.ts +0 -3
package/scb-wc.d.ts
CHANGED
|
@@ -1,206 +1,196 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import '
|
|
3
|
-
import '
|
|
4
|
-
import '
|
|
5
|
-
import '
|
|
6
|
-
import '
|
|
7
|
-
import '
|
|
8
|
-
import '
|
|
9
|
-
import '
|
|
10
|
-
import '
|
|
11
|
-
import '
|
|
12
|
-
import '
|
|
13
|
-
import '
|
|
14
|
-
import '
|
|
15
|
-
import '
|
|
16
|
-
import '
|
|
17
|
-
import '
|
|
18
|
-
import '
|
|
19
|
-
import '
|
|
20
|
-
import '
|
|
21
|
-
import '
|
|
22
|
-
import '
|
|
23
|
-
import '
|
|
24
|
-
import '
|
|
25
|
-
import '
|
|
26
|
-
import '
|
|
27
|
-
import '
|
|
28
|
-
import '
|
|
29
|
-
import '
|
|
30
|
-
import '
|
|
31
|
-
import '
|
|
32
|
-
import '
|
|
33
|
-
import '
|
|
34
|
-
import '
|
|
35
|
-
import '
|
|
36
|
-
import '
|
|
37
|
-
import '
|
|
38
|
-
import '
|
|
39
|
-
import '
|
|
40
|
-
import '
|
|
41
|
-
import '
|
|
42
|
-
import '
|
|
43
|
-
import '
|
|
44
|
-
import '
|
|
45
|
-
import '
|
|
46
|
-
import '
|
|
47
|
-
import '
|
|
48
|
-
import '
|
|
49
|
-
import '
|
|
50
|
-
import '
|
|
51
|
-
import '
|
|
52
|
-
import '
|
|
53
|
-
import '
|
|
54
|
-
import '
|
|
55
|
-
import '
|
|
56
|
-
import '
|
|
57
|
-
import '
|
|
58
|
-
import '
|
|
59
|
-
import '
|
|
60
|
-
import '
|
|
61
|
-
import '
|
|
62
|
-
import '
|
|
63
|
-
import '
|
|
64
|
-
import '
|
|
65
|
-
import '
|
|
66
|
-
import '
|
|
67
|
-
import '
|
|
68
|
-
import '
|
|
69
|
-
import '
|
|
70
|
-
import '
|
|
71
|
-
import '
|
|
72
|
-
import '
|
|
73
|
-
import '
|
|
74
|
-
import '
|
|
75
|
-
import '
|
|
76
|
-
import '
|
|
77
|
-
import '
|
|
78
|
-
import '
|
|
79
|
-
import '
|
|
80
|
-
import '
|
|
81
|
-
import '
|
|
82
|
-
import '
|
|
83
|
-
import '
|
|
84
|
-
import '
|
|
85
|
-
import '
|
|
86
|
-
import '
|
|
87
|
-
import '
|
|
88
|
-
import '
|
|
89
|
-
import '
|
|
90
|
-
import '
|
|
91
|
-
import '
|
|
92
|
-
import '
|
|
93
|
-
import '
|
|
94
|
-
import '
|
|
95
|
-
import '
|
|
96
|
-
import '
|
|
97
|
-
import '
|
|
98
|
-
import '
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
export * from '
|
|
105
|
-
export * from '
|
|
106
|
-
export * from '
|
|
107
|
-
export * from '
|
|
108
|
-
export * from '
|
|
109
|
-
export * from '
|
|
110
|
-
export * from '
|
|
111
|
-
export * from '
|
|
112
|
-
export * from '
|
|
113
|
-
export * from '
|
|
114
|
-
export * from '
|
|
115
|
-
export * from '
|
|
116
|
-
export * from '
|
|
117
|
-
export * from '
|
|
118
|
-
export * from '
|
|
119
|
-
export * from '
|
|
120
|
-
export * from '
|
|
121
|
-
export * from '
|
|
122
|
-
export * from '
|
|
123
|
-
export * from '
|
|
124
|
-
export * from '
|
|
125
|
-
export * from '
|
|
126
|
-
export * from '
|
|
127
|
-
export * from '
|
|
128
|
-
export * from '
|
|
129
|
-
export * from '
|
|
130
|
-
export * from '
|
|
131
|
-
export * from '
|
|
132
|
-
export * from '
|
|
133
|
-
export * from '
|
|
134
|
-
export * from '
|
|
135
|
-
export * from '
|
|
136
|
-
export * from '
|
|
137
|
-
export * from '
|
|
138
|
-
export * from '
|
|
139
|
-
export * from '
|
|
140
|
-
export * from '
|
|
141
|
-
export * from '
|
|
142
|
-
export * from '
|
|
143
|
-
export * from '
|
|
144
|
-
export * from '
|
|
145
|
-
export * from '
|
|
146
|
-
export * from '
|
|
147
|
-
export * from '
|
|
148
|
-
export * from '
|
|
149
|
-
export * from '
|
|
150
|
-
export * from '
|
|
151
|
-
export * from '
|
|
152
|
-
export * from '
|
|
153
|
-
export * from '
|
|
154
|
-
export * from '
|
|
155
|
-
export * from '
|
|
156
|
-
export * from '
|
|
157
|
-
export * from '
|
|
158
|
-
export * from '
|
|
159
|
-
export * from '
|
|
160
|
-
export * from '
|
|
161
|
-
export * from '
|
|
162
|
-
export * from '
|
|
163
|
-
export * from '
|
|
164
|
-
export * from '
|
|
165
|
-
export * from '
|
|
166
|
-
export * from '
|
|
167
|
-
export * from '
|
|
168
|
-
export * from '
|
|
169
|
-
export * from '
|
|
170
|
-
export * from '
|
|
171
|
-
export * from '
|
|
172
|
-
export * from '
|
|
173
|
-
export * from '
|
|
174
|
-
export * from '
|
|
175
|
-
export * from '
|
|
176
|
-
export * from '
|
|
177
|
-
export * from '
|
|
178
|
-
export * from '
|
|
179
|
-
export * from '
|
|
180
|
-
export * from '
|
|
181
|
-
export * from '
|
|
182
|
-
export * from '
|
|
183
|
-
export * from '
|
|
184
|
-
export * from '
|
|
185
|
-
export * from '
|
|
186
|
-
export * from '
|
|
187
|
-
export * from '
|
|
188
|
-
export * from '
|
|
189
|
-
export * from '
|
|
190
|
-
export * from '
|
|
191
|
-
export * from '
|
|
192
|
-
export * from '
|
|
193
|
-
export * from '
|
|
194
|
-
export * from '
|
|
195
|
-
export * from '
|
|
196
|
-
export * from '
|
|
197
|
-
export * from './scb-tooltip/scb-tooltip';
|
|
198
|
-
export * from './scb-viz/scb-viz-actions-runtime';
|
|
199
|
-
export * from './scb-viz/scb-viz-print-runtime';
|
|
200
|
-
export * from './scb-viz/scb-viz-series-differentiation-registry';
|
|
201
|
-
export * from './scb-viz/scb-viz-series-differentiation-runtime';
|
|
202
|
-
export * from './scb-viz/scb-viz-table-runtime';
|
|
203
|
-
export * from './scb-viz/scb-viz';
|
|
204
|
-
export * from './shared/lazy-focus-ring';
|
|
205
|
-
export * from './shared/lazy-ripple';
|
|
206
|
-
export * from './shared/scb-icon-svg';
|
|
1
|
+
import '../scb-components/scb-accordion/scb-accordion-item';
|
|
2
|
+
import '../scb-components/scb-accordion/scb-accordion';
|
|
3
|
+
import '../scb-components/scb-action-card/scb-action-card';
|
|
4
|
+
import '../scb-components/scb-app-bar/scb-app-bar';
|
|
5
|
+
import '../scb-components/scb-avatar/scb-avatar';
|
|
6
|
+
import '../scb-components/scb-badge/scb-badge';
|
|
7
|
+
import '../scb-components/scb-breadcrumb/scb-breadcrumb-item';
|
|
8
|
+
import '../scb-components/scb-breadcrumb/scb-breadcrumb';
|
|
9
|
+
import '../scb-components/scb-button/scb-button';
|
|
10
|
+
import '../scb-components/scb-calendar/scb-calendar-event';
|
|
11
|
+
import '../scb-components/scb-calendar/scb-calendar';
|
|
12
|
+
import '../scb-components/scb-calendar-card/scb-calendar-card';
|
|
13
|
+
import '../scb-components/scb-card/scb-action-card';
|
|
14
|
+
import '../scb-components/scb-card/scb-card';
|
|
15
|
+
import '../scb-components/scb-card/scb-container-card';
|
|
16
|
+
import '../scb-components/scb-card/scb-link-card';
|
|
17
|
+
import '../scb-components/scb-card/scb-list-card';
|
|
18
|
+
import '../scb-components/scb-card/scb-social-card';
|
|
19
|
+
import '../scb-components/scb-checkbox/scb-checkbox-group';
|
|
20
|
+
import '../scb-components/scb-checkbox/scb-checkbox';
|
|
21
|
+
import '../scb-components/scb-chip/scb-chip';
|
|
22
|
+
import '../scb-components/scb-collapse/scb-collapse';
|
|
23
|
+
import '../scb-components/scb-container-card/scb-container-card';
|
|
24
|
+
import '../scb-components/scb-cookies-consent/scb-cookies-consent';
|
|
25
|
+
import '../scb-components/scb-dialog/scb-dialog';
|
|
26
|
+
import '../scb-components/scb-divider/scb-divider';
|
|
27
|
+
import '../scb-components/scb-drawer/scb-drawer';
|
|
28
|
+
import '../scb-components/scb-drop-zone/scb-drop-zone';
|
|
29
|
+
import '../scb-components/scb-dropdown/scb-dropdown';
|
|
30
|
+
import '../scb-components/scb-fab/scb-fab';
|
|
31
|
+
import '../scb-components/scb-fact-card/scb-fact-card-content';
|
|
32
|
+
import '../scb-components/scb-fact-card/scb-fact-card';
|
|
33
|
+
import '../scb-components/scb-footer/scb-footer-section';
|
|
34
|
+
import '../scb-components/scb-footer/scb-footer';
|
|
35
|
+
import '../scb-components/scb-gallery-grid/scb-gallery-grid';
|
|
36
|
+
import '../scb-components/scb-grid/scb-grid-item';
|
|
37
|
+
import '../scb-components/scb-grid/scb-grid';
|
|
38
|
+
import '../scb-components/scb-grid/scb-stack';
|
|
39
|
+
import '../scb-components/scb-header/scb-header-menu-group';
|
|
40
|
+
import '../scb-components/scb-header/scb-header-menu-item';
|
|
41
|
+
import '../scb-components/scb-header/scb-header-tab';
|
|
42
|
+
import '../scb-components/scb-header/scb-header-utility';
|
|
43
|
+
import '../scb-components/scb-header/scb-header';
|
|
44
|
+
import '../scb-components/scb-horizontal-scroller/scb-horizontal-scroller';
|
|
45
|
+
import '../scb-components/scb-icon/scb-icon';
|
|
46
|
+
import '../scb-components/scb-icon-button/scb-icon-button';
|
|
47
|
+
import '../scb-components/scb-keyfigure-card/scb-keyfigure-card';
|
|
48
|
+
import '../scb-components/scb-link/scb-link';
|
|
49
|
+
import '../scb-components/scb-link-card/scb-link-card';
|
|
50
|
+
import '../scb-components/scb-list/scb-list-item';
|
|
51
|
+
import '../scb-components/scb-list/scb-list';
|
|
52
|
+
import '../scb-components/scb-list-card/scb-list-card';
|
|
53
|
+
import '../scb-components/scb-menu/scb-menu-item';
|
|
54
|
+
import '../scb-components/scb-menu/scb-menu-section';
|
|
55
|
+
import '../scb-components/scb-menu/scb-menu';
|
|
56
|
+
import '../scb-components/scb-menu/scb-sub-menu';
|
|
57
|
+
import '../scb-components/scb-nav/scb-nav-item';
|
|
58
|
+
import '../scb-components/scb-nav/scb-nav';
|
|
59
|
+
import '../scb-components/scb-notification-card/scb-notification-card';
|
|
60
|
+
import '../scb-components/scb-options-menu/scb-options-menu-item';
|
|
61
|
+
import '../scb-components/scb-options-menu/scb-options-menu';
|
|
62
|
+
import '../scb-components/scb-options-menu/scb-options-sub-menu';
|
|
63
|
+
import '../scb-components/scb-overlay/scb-overlay';
|
|
64
|
+
import '../scb-components/scb-pagination/scb-pagination';
|
|
65
|
+
import '../scb-components/scb-progress-indicator/scb-progress-indicator';
|
|
66
|
+
import '../scb-components/scb-progress-stepper/scb-progress-step';
|
|
67
|
+
import '../scb-components/scb-progress-stepper/scb-progress-stepper';
|
|
68
|
+
import '../scb-components/scb-radio-button/scb-radio-button';
|
|
69
|
+
import '../scb-components/scb-radio-button/scb-radio-group';
|
|
70
|
+
import '../scb-components/scb-scrollspy/scb-scrollspy';
|
|
71
|
+
import '../scb-components/scb-search/scb-search';
|
|
72
|
+
import '../scb-components/scb-segmented-button/scb-segmented-button';
|
|
73
|
+
import '../scb-components/scb-segmented-button/scb-segmented-item';
|
|
74
|
+
import '../scb-components/scb-select/scb-select-option';
|
|
75
|
+
import '../scb-components/scb-select/scb-select';
|
|
76
|
+
import '../scb-components/scb-skeleton/scb-skeleton';
|
|
77
|
+
import '../scb-components/scb-slider/scb-slider';
|
|
78
|
+
import '../scb-components/scb-snackbar/scb-snackbar';
|
|
79
|
+
import '../scb-components/scb-social-card/scb-social-card';
|
|
80
|
+
import '../scb-components/scb-status-pill/scb-status-pill';
|
|
81
|
+
import '../scb-components/scb-stepper/scb-step';
|
|
82
|
+
import '../scb-components/scb-stepper/scb-stepper';
|
|
83
|
+
import '../scb-components/scb-switch/scb-switch';
|
|
84
|
+
import '../scb-components/scb-table/scb-table';
|
|
85
|
+
import '../scb-components/scb-table-advanced/scb-table-advanced';
|
|
86
|
+
import '../scb-components/scb-tabs/scb-primary-tab';
|
|
87
|
+
import '../scb-components/scb-tabs/scb-secondary-tab';
|
|
88
|
+
import '../scb-components/scb-tabs/scb-tabs';
|
|
89
|
+
import '../scb-components/scb-textfield/scb-textfield';
|
|
90
|
+
import '../scb-components/scb-toc/scb-toc-item';
|
|
91
|
+
import '../scb-components/scb-toc/scb-toc';
|
|
92
|
+
import '../scb-components/scb-tooltip/scb-tooltip';
|
|
93
|
+
import '../scb-components/scb-viz/scb-viz-actions-runtime';
|
|
94
|
+
import '../scb-components/scb-viz/scb-viz-print-runtime';
|
|
95
|
+
import '../scb-components/scb-viz/scb-viz-series-differentiation-registry';
|
|
96
|
+
import '../scb-components/scb-viz/scb-viz-series-differentiation-runtime';
|
|
97
|
+
import '../scb-components/scb-viz/scb-viz-table-runtime';
|
|
98
|
+
import '../scb-components/scb-viz/scb-viz';
|
|
99
|
+
export * from '../scb-components/scb-accordion/scb-accordion-item';
|
|
100
|
+
export * from '../scb-components/scb-accordion/scb-accordion';
|
|
101
|
+
export * from '../scb-components/scb-action-card/scb-action-card';
|
|
102
|
+
export * from '../scb-components/scb-app-bar/scb-app-bar';
|
|
103
|
+
export * from '../scb-components/scb-avatar/scb-avatar';
|
|
104
|
+
export * from '../scb-components/scb-badge/scb-badge';
|
|
105
|
+
export * from '../scb-components/scb-breadcrumb/scb-breadcrumb-item';
|
|
106
|
+
export * from '../scb-components/scb-breadcrumb/scb-breadcrumb';
|
|
107
|
+
export * from '../scb-components/scb-button/scb-button';
|
|
108
|
+
export * from '../scb-components/scb-calendar/scb-calendar-event';
|
|
109
|
+
export * from '../scb-components/scb-calendar/scb-calendar';
|
|
110
|
+
export * from '../scb-components/scb-calendar-card/scb-calendar-card';
|
|
111
|
+
export * from '../scb-components/scb-card/scb-action-card';
|
|
112
|
+
export * from '../scb-components/scb-card/scb-card';
|
|
113
|
+
export * from '../scb-components/scb-card/scb-container-card';
|
|
114
|
+
export * from '../scb-components/scb-card/scb-link-card';
|
|
115
|
+
export * from '../scb-components/scb-card/scb-list-card';
|
|
116
|
+
export * from '../scb-components/scb-card/scb-social-card';
|
|
117
|
+
export * from '../scb-components/scb-checkbox/scb-checkbox-group';
|
|
118
|
+
export * from '../scb-components/scb-checkbox/scb-checkbox';
|
|
119
|
+
export * from '../scb-components/scb-chip/scb-chip';
|
|
120
|
+
export * from '../scb-components/scb-collapse/scb-collapse';
|
|
121
|
+
export * from '../scb-components/scb-container-card/scb-container-card';
|
|
122
|
+
export * from '../scb-components/scb-cookies-consent/scb-cookies-consent';
|
|
123
|
+
export * from '../scb-components/scb-dialog/scb-dialog';
|
|
124
|
+
export * from '../scb-components/scb-divider/scb-divider';
|
|
125
|
+
export * from '../scb-components/scb-drawer/scb-drawer';
|
|
126
|
+
export * from '../scb-components/scb-drop-zone/scb-drop-zone';
|
|
127
|
+
export * from '../scb-components/scb-dropdown/scb-dropdown';
|
|
128
|
+
export * from '../scb-components/scb-fab/scb-fab';
|
|
129
|
+
export * from '../scb-components/scb-fact-card/scb-fact-card-content';
|
|
130
|
+
export * from '../scb-components/scb-fact-card/scb-fact-card';
|
|
131
|
+
export * from '../scb-components/scb-footer/scb-footer-section';
|
|
132
|
+
export * from '../scb-components/scb-footer/scb-footer';
|
|
133
|
+
export * from '../scb-components/scb-gallery-grid/scb-gallery-grid';
|
|
134
|
+
export * from '../scb-components/scb-grid/scb-grid-item';
|
|
135
|
+
export * from '../scb-components/scb-grid/scb-grid';
|
|
136
|
+
export * from '../scb-components/scb-grid/scb-stack';
|
|
137
|
+
export * from '../scb-components/scb-header/scb-header-menu-group';
|
|
138
|
+
export * from '../scb-components/scb-header/scb-header-menu-item';
|
|
139
|
+
export * from '../scb-components/scb-header/scb-header-tab';
|
|
140
|
+
export * from '../scb-components/scb-header/scb-header-utility';
|
|
141
|
+
export * from '../scb-components/scb-header/scb-header';
|
|
142
|
+
export * from '../scb-components/scb-horizontal-scroller/scb-horizontal-scroller';
|
|
143
|
+
export * from '../scb-components/scb-icon/scb-icon';
|
|
144
|
+
export * from '../scb-components/scb-icon-button/scb-icon-button';
|
|
145
|
+
export * from '../scb-components/scb-keyfigure-card/scb-keyfigure-card';
|
|
146
|
+
export * from '../scb-components/scb-link/scb-link';
|
|
147
|
+
export * from '../scb-components/scb-link-card/scb-link-card';
|
|
148
|
+
export * from '../scb-components/scb-list/scb-list-item';
|
|
149
|
+
export * from '../scb-components/scb-list/scb-list';
|
|
150
|
+
export * from '../scb-components/scb-list-card/scb-list-card';
|
|
151
|
+
export * from '../scb-components/scb-menu/scb-menu-item';
|
|
152
|
+
export * from '../scb-components/scb-menu/scb-menu-section';
|
|
153
|
+
export * from '../scb-components/scb-menu/scb-menu';
|
|
154
|
+
export * from '../scb-components/scb-menu/scb-sub-menu';
|
|
155
|
+
export * from '../scb-components/scb-nav/scb-nav-item';
|
|
156
|
+
export * from '../scb-components/scb-nav/scb-nav';
|
|
157
|
+
export * from '../scb-components/scb-notification-card/scb-notification-card';
|
|
158
|
+
export * from '../scb-components/scb-options-menu/scb-options-menu-item';
|
|
159
|
+
export * from '../scb-components/scb-options-menu/scb-options-menu';
|
|
160
|
+
export * from '../scb-components/scb-options-menu/scb-options-sub-menu';
|
|
161
|
+
export * from '../scb-components/scb-overlay/scb-overlay';
|
|
162
|
+
export * from '../scb-components/scb-pagination/scb-pagination';
|
|
163
|
+
export * from '../scb-components/scb-progress-indicator/scb-progress-indicator';
|
|
164
|
+
export * from '../scb-components/scb-progress-stepper/scb-progress-step';
|
|
165
|
+
export * from '../scb-components/scb-progress-stepper/scb-progress-stepper';
|
|
166
|
+
export * from '../scb-components/scb-radio-button/scb-radio-button';
|
|
167
|
+
export * from '../scb-components/scb-radio-button/scb-radio-group';
|
|
168
|
+
export * from '../scb-components/scb-scrollspy/scb-scrollspy';
|
|
169
|
+
export * from '../scb-components/scb-search/scb-search';
|
|
170
|
+
export * from '../scb-components/scb-segmented-button/scb-segmented-button';
|
|
171
|
+
export * from '../scb-components/scb-segmented-button/scb-segmented-item';
|
|
172
|
+
export * from '../scb-components/scb-select/scb-select-option';
|
|
173
|
+
export * from '../scb-components/scb-select/scb-select';
|
|
174
|
+
export * from '../scb-components/scb-skeleton/scb-skeleton';
|
|
175
|
+
export * from '../scb-components/scb-slider/scb-slider';
|
|
176
|
+
export * from '../scb-components/scb-snackbar/scb-snackbar';
|
|
177
|
+
export * from '../scb-components/scb-social-card/scb-social-card';
|
|
178
|
+
export * from '../scb-components/scb-status-pill/scb-status-pill';
|
|
179
|
+
export * from '../scb-components/scb-stepper/scb-step';
|
|
180
|
+
export * from '../scb-components/scb-stepper/scb-stepper';
|
|
181
|
+
export * from '../scb-components/scb-switch/scb-switch';
|
|
182
|
+
export * from '../scb-components/scb-table/scb-table';
|
|
183
|
+
export * from '../scb-components/scb-table-advanced/scb-table-advanced';
|
|
184
|
+
export * from '../scb-components/scb-tabs/scb-primary-tab';
|
|
185
|
+
export * from '../scb-components/scb-tabs/scb-secondary-tab';
|
|
186
|
+
export * from '../scb-components/scb-tabs/scb-tabs';
|
|
187
|
+
export * from '../scb-components/scb-textfield/scb-textfield';
|
|
188
|
+
export * from '../scb-components/scb-toc/scb-toc-item';
|
|
189
|
+
export * from '../scb-components/scb-toc/scb-toc';
|
|
190
|
+
export * from '../scb-components/scb-tooltip/scb-tooltip';
|
|
191
|
+
export * from '../scb-components/scb-viz/scb-viz-actions-runtime';
|
|
192
|
+
export * from '../scb-components/scb-viz/scb-viz-print-runtime';
|
|
193
|
+
export * from '../scb-components/scb-viz/scb-viz-series-differentiation-registry';
|
|
194
|
+
export * from '../scb-components/scb-viz/scb-viz-series-differentiation-runtime';
|
|
195
|
+
export * from '../scb-components/scb-viz/scb-viz-table-runtime';
|
|
196
|
+
export * from '../scb-components/scb-viz/scb-viz';
|
package/shared/scb-icon-svg.js
CHANGED
|
@@ -15,10 +15,7 @@ var n = new Map([
|
|
|
15
15
|
["volume_up", "M3 9v6h4l5 5V4L7 9H3Zm13.5 3a4.5 4.5 0 0 0-2.5-4.03v8.06A4.5 4.5 0 0 0 16.5 12Zm-2.5-8.7v2.06A7 7 0 0 1 18 12a7 7 0 0 1-4 6.64v2.06A9 9 0 0 0 20 12a9 9 0 0 0-6-8.7Z"],
|
|
16
16
|
["work", "M10 4h4a2 2 0 0 1 2 2v2h4a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h4V6a2 2 0 0 1 2-2Zm0 4h4V6h-4v2Zm-6 2v8h16v-8H4Zm6 3h4v2h-4v-2Z"]
|
|
17
17
|
]);
|
|
18
|
-
function r(
|
|
19
|
-
return n.has((e || "").trim());
|
|
20
|
-
}
|
|
21
|
-
function i(r, i = "material-icon", a) {
|
|
18
|
+
function r(r, i = "material-icon", a) {
|
|
22
19
|
let o = (r || "").trim(), s = n.get(o);
|
|
23
20
|
return s ? t`
|
|
24
21
|
<svg
|
|
@@ -33,4 +30,4 @@ function i(r, i = "material-icon", a) {
|
|
|
33
30
|
` : e;
|
|
34
31
|
}
|
|
35
32
|
//#endregion
|
|
36
|
-
export { r as
|
|
33
|
+
export { r as renderScbIcon };
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import{f as l,h as M,m as $,p as m,v as d,y as Y}from"../../vendor/vendor.js";import"../../vendor/vendor-lit.js";import"../../vendor/icon.js";import"../../vendor/ripple.js";import{addLazyFocusRingListeners as C}from"../shared/lazy-focus-ring.js";import{t as h}from"../../vendor/decorate.js";import"../scb-button/scb-button.js";import"../scb-icon-button/scb-icon-button.js";import"../scb-divider/scb-divider.js";(function(){try{var g=typeof globalThis<"u"?globalThis:window;if(!g.__scb_ce_guard_installed__){g.__scb_ce_guard_installed__=!0;var e=customElements.define.bind(customElements);customElements.define=function(t,s,c){try{customElements.get(t)||e(t,s,c)}catch(r){var a=String(r||"");if(a.indexOf("already been used")===-1&&a.indexOf("NotSupportedError")===-1)throw r}}}}catch{}})();var v,p=(v=class extends M{constructor(...e){super(...e),this._currentDate=new Date,this._selectedDate=null,this._showMonthDropdown=!1,this._showYearDropdown=!1,this.variant="date",this.lang="sv",this.selectedValue="",this.open=!0,this._selectedHour=0,this._selectedMinute=0,this._viewportMargin=8,this._popupOffset=4,this._onWindowReposition=()=>{this._positionPopupWithinViewport()},this._monthNames=[this.lang=="sv"?"Januari":"January",this.lang=="sv"?"Februari":"February",this.lang=="sv"?"Mars":"March",(this.lang=="sv","April"),this.lang=="sv"?"Maj":"May",this.lang=="sv"?"Juni":"June",this.lang=="sv"?"Juli":"July",this.lang=="sv"?"Augusti":"August",(this.lang=="sv","September"),this.lang=="sv"?"Oktober":"October",(this.lang=="sv","November"),(this.lang=="sv","December")],this._outsideClickHandler=t=>{this.open&&(t.composedPath().includes(this)||this._close())},this._prevMonth=()=>{const t=this._currentDate.getFullYear(),s=this._currentDate.getMonth();s===0?this._currentDate=new Date(t-1,11,1):this._currentDate=new Date(t,s-1,1)},this._prevYear=()=>{const t=this._currentDate.getFullYear(),s=this._currentDate.getMonth();this._currentDate=new Date(t-1,s,1)},this._nextMonth=()=>{const t=this._currentDate.getFullYear(),s=this._currentDate.getMonth();s===11?this._currentDate=new Date(t+1,0,1):this._currentDate=new Date(t,s+1,1)},this._nextYear=()=>{const t=this._currentDate.getFullYear(),s=this._currentDate.getMonth();this._currentDate=new Date(t+1,s,1)},this._onTimeChange=t=>{const[s,c]=t.target.value.split(":"),a=parseInt(s,10),r=parseInt(c,10);this._selectedHour=isNaN(a)?0:Math.max(0,Math.min(23,a)),this._selectedMinute=isNaN(r)?0:Math.max(0,Math.min(59,r)),this._fireDateTimeChange()},this._close=()=>{this.open=!1,this.dispatchEvent(new CustomEvent("datepicker-closed",{bubbles:!0,composed:!0}))}}_isRenderedInsideDialog(){const e=this.getRootNode(),t=e instanceof ShadowRoot?e.host:null;return t instanceof HTMLElement&&t.closest("scb-dialog")?!0:!!this.closest("scb-dialog")}connectedCallback(){super.connectedCallback(),this._removeLazyFocusRingListeners=C(this,this.renderRoot)}_positionPopupWithinViewport(){if(!this.open)return;const e=this.renderRoot.querySelector(".datepicker-popup");if(!e)return;const t=this.parentElement?.getBoundingClientRect();if(!t)return;const s=window.innerWidth,c=window.innerHeight,a=Math.max(220,s-this._viewportMargin*2);if(this._isRenderedInsideDialog()){const _=Math.min(e.offsetWidth||380,a),b=e.offsetHeight||420,D=Math.min(Math.max(t.left,this._viewportMargin),s-this._viewportMargin-_),w=c-t.bottom-this._viewportMargin,f=t.top-this._viewportMargin,k=w<b+this._popupOffset&&f>w;if(this.style.setProperty("--scb-datepicker-position","absolute"),this.style.setProperty("--scb-datepicker-computed-width",`${_}px`),this.style.setProperty("--scb-datepicker-left",`${D-t.left}px`),this.style.setProperty("--scb-datepicker-transform","none"),this.style.setProperty("--scb-datepicker-bottom","auto"),k){const x=Math.max(this._viewportMargin,t.top-b-this._popupOffset)-t.top;this.style.setProperty("--scb-datepicker-top",`${x}px`),this.style.setProperty("--scb-datepicker-max-height",`${Math.max(0,f-this._popupOffset)}px`)}else this.style.setProperty("--scb-datepicker-top",`${t.height+this._popupOffset}px`),this.style.setProperty("--scb-datepicker-max-height",`${Math.max(0,w-this._popupOffset)}px`);return}const r=Math.min(e.offsetWidth||380,a),o=e.offsetHeight||420,i=Math.min(Math.max(t.left,this._viewportMargin),s-this._viewportMargin-r),n=c-t.bottom-this._viewportMargin,u=t.top-this._viewportMargin,y=n<o+this._popupOffset&&u>n;this.style.setProperty("--scb-datepicker-position","fixed"),this.style.setProperty("--scb-datepicker-computed-width",`${r}px`),this.style.setProperty("--scb-datepicker-left",`${i}px`),this.style.setProperty("--scb-datepicker-transform","none"),y?(this.style.setProperty("--scb-datepicker-top",`${Math.max(this._viewportMargin,t.top-o-this._popupOffset)}px`),this.style.setProperty("--scb-datepicker-bottom","auto"),this.style.setProperty("--scb-datepicker-max-height",`${Math.max(0,u-this._popupOffset)}px`)):(this.style.setProperty("--scb-datepicker-top",`${t.bottom+this._popupOffset}px`),this.style.setProperty("--scb-datepicker-bottom","auto"),this.style.setProperty("--scb-datepicker-max-height",`${Math.max(0,n-this._popupOffset)}px`))}updated(e){if(super.updated(e),this.open?(window.addEventListener("mousedown",this._outsideClickHandler),window.addEventListener("resize",this._onWindowReposition,{passive:!0}),window.addEventListener("scroll",this._onWindowReposition,{passive:!0,capture:!0}),requestAnimationFrame(()=>this._positionPopupWithinViewport())):(window.removeEventListener("mousedown",this._outsideClickHandler),window.removeEventListener("resize",this._onWindowReposition),window.removeEventListener("scroll",this._onWindowReposition,!0)),e.has("selectedValue")&&this.selectedValue){const t=new Date(this.selectedValue);isNaN(t.getTime())||(this._selectedDate=t,this._currentDate=new Date(t.getFullYear(),t.getMonth(),1),this.variant==="datetime-local"&&(this._selectedHour=t.getHours(),this._selectedMinute=t.getMinutes()))}this.open&&requestAnimationFrame(()=>this._positionPopupWithinViewport())}disconnectedCallback(){this._removeLazyFocusRingListeners?.(),this._removeLazyFocusRingListeners=void 0,window.removeEventListener("mousedown",this._outsideClickHandler),window.removeEventListener("resize",this._onWindowReposition),window.removeEventListener("scroll",this._onWindowReposition,!0),super.disconnectedCallback()}render(){if(!this.open)return d``;const e=this._currentDate.getFullYear(),t=this._currentDate.getMonth(),s=new Date,c=this._getMonthDays(e,t),a=Array.from({length:101},(o,i)=>s.getFullYear()-50+i),r=this.variant==="datetime-local"&&!this._showMonthDropdown&&!this._showYearDropdown;return d`
|
|
2
|
-
<div class="datepicker-popup popup">
|
|
3
|
-
<div class="header">
|
|
4
|
-
<div class="month-selector ${this._showMonthDropdown?"open":""} ${this._showYearDropdown?"disable":""}">
|
|
5
|
-
<scb-icon-button icon="chevron_left" @click=${this._prevMonth} aria-label=${this.lang=="sv"?"Föregående månad":"Previous month"}></scb-icon-button>
|
|
6
|
-
<div class="custom-dropdown month-dropdown">
|
|
7
|
-
<div
|
|
8
|
-
tabindex=${this._showYearDropdown?-1:0}
|
|
9
|
-
class="dropdown-selected"
|
|
10
|
-
@click=${()=>this._toggleMonthDropdown()}
|
|
11
|
-
@keydown=${o=>{(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),this._toggleMonthDropdown())}}
|
|
12
|
-
>
|
|
13
|
-
${this._monthNames[t].slice(0,3)}
|
|
14
|
-
<md-icon>arrow_drop_down</md-icon>
|
|
15
|
-
<md-focus-ring></md-focus-ring>
|
|
16
|
-
<md-ripple></md-ripple>
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
<scb-icon-button icon="chevron_right" @click=${this._nextMonth} aria-label=${this.lang=="sv"?"Nästa månad":"Next month"}></scb-icon-button>
|
|
20
|
-
</div>
|
|
21
|
-
<div class="year-selector ${this._showMonthDropdown?"disable":""} ${this._showYearDropdown?"open":""}">
|
|
22
|
-
<scb-icon-button icon="chevron_left" @click=${this._prevYear} aria-label=${this.lang=="sv"?"Föregående år":"Previous year"}></scb-icon-button>
|
|
23
|
-
<div class="custom-dropdown year-dropdown">
|
|
24
|
-
<div
|
|
25
|
-
tabindex=${this._showMonthDropdown?-1:0}
|
|
26
|
-
class="dropdown-selected"
|
|
27
|
-
@click=${()=>this._toggleYearDropdown()}
|
|
28
|
-
@keydown=${o=>{(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),this._toggleYearDropdown())}}
|
|
29
|
-
>
|
|
30
|
-
${e}
|
|
31
|
-
<md-icon>arrow_drop_down</md-icon>
|
|
32
|
-
<md-focus-ring></md-focus-ring>
|
|
33
|
-
<md-ripple></md-ripple>
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
<scb-icon-button icon="chevron_right" @click=${this._nextYear} aria-label=${this.lang=="sv"?"Nästa år":"Next year"}></scb-icon-button>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
${this._showMonthDropdown||this._showYearDropdown?d`<scb-divider></scb-divider>`:""}
|
|
40
|
-
<div class="datepicker-content" style="position:relative;">
|
|
41
|
-
${this._showMonthDropdown?d`
|
|
42
|
-
<div class="dropdown-list">
|
|
43
|
-
${this._monthNames.map((o,i)=>d`
|
|
44
|
-
<div
|
|
45
|
-
@keydown=${n=>{(n.key==="Enter"||n.key===" ")&&(n.preventDefault(),this._onMonthChangeCustom(i))}}
|
|
46
|
-
tabindex="0"
|
|
47
|
-
class="dropdown-item${i===t?" selected":""}"
|
|
48
|
-
@click=${()=>this._onMonthChangeCustom(i)}
|
|
49
|
-
id=${i===t?"selected-month":""}
|
|
50
|
-
>
|
|
51
|
-
${i===t?d`<md-icon>check</md-icon>`:""}
|
|
52
|
-
${o}
|
|
53
|
-
<md-ripple></md-ripple><md-focus-ring inward></md-focus-ring>
|
|
54
|
-
</div>
|
|
55
|
-
`)}
|
|
56
|
-
</div>
|
|
57
|
-
`:""}
|
|
58
|
-
${this._showYearDropdown?d`
|
|
59
|
-
<div class="dropdown-list">
|
|
60
|
-
${a.map(o=>d`
|
|
61
|
-
<div
|
|
62
|
-
@keydown=${i=>{(i.key==="Enter"||i.key===" ")&&(i.preventDefault(),this._onYearChangeCustom(o))}}
|
|
63
|
-
tabindex="0"
|
|
64
|
-
class="dropdown-item${o===e?" selected":""}"
|
|
65
|
-
@click=${()=>this._onYearChangeCustom(o)}
|
|
66
|
-
id=${o===e?"selected-year":""}
|
|
67
|
-
>
|
|
68
|
-
${o===e?d`<md-icon>check</md-icon>`:""}
|
|
69
|
-
${o}
|
|
70
|
-
<md-ripple></md-ripple><md-focus-ring inward></md-focus-ring>
|
|
71
|
-
</div>
|
|
72
|
-
`)}
|
|
73
|
-
</div>
|
|
74
|
-
`:""}
|
|
75
|
-
${!this._showMonthDropdown&&!this._showYearDropdown?d`
|
|
76
|
-
<div class="datepicker-calendar">
|
|
77
|
-
<table>
|
|
78
|
-
<thead>
|
|
79
|
-
<tr>
|
|
80
|
-
<th>${this.lang=="sv"?"Må":"Mo"}</th><th>${this.lang=="sv"?"Ti":"Tu"}</th><th>${this.lang=="sv"?"On":"We"}</th><th>${this.lang=="sv"?"To":"Th"}</th><th>${this.lang=="sv","Fr"}</th><th>${this.lang=="sv"?"Lö":"Sa"}</th><th>${this.lang=="sv"?"Sö":"Su"}</th>
|
|
81
|
-
</tr>
|
|
82
|
-
</thead>
|
|
83
|
-
<tbody>
|
|
84
|
-
${c.map(o=>d`
|
|
85
|
-
<tr>
|
|
86
|
-
${o.map(i=>i?d`
|
|
87
|
-
<td>
|
|
88
|
-
<div
|
|
89
|
-
@keydown=${n=>{(n.key==="Enter"||n.key===" ")&&(n.preventDefault(),this._selectDate(i))}}
|
|
90
|
-
role="button"
|
|
91
|
-
tabindex="0"
|
|
92
|
-
class="day${this._isToday(i,s)?" today":""}${this._isSelected(i)?" selected":""}"
|
|
93
|
-
@click=${()=>this._selectDate(i)}
|
|
94
|
-
>${i.getDate()}<md-ripple></md-ripple><md-focus-ring></md-focus-ring></div>
|
|
95
|
-
</td>
|
|
96
|
-
`:d`<td></td>`)}
|
|
97
|
-
</tr>
|
|
98
|
-
`)}
|
|
99
|
-
</tbody>
|
|
100
|
-
</table>
|
|
101
|
-
</div>
|
|
102
|
-
`:""}
|
|
103
|
-
</div>
|
|
104
|
-
${r?d`
|
|
105
|
-
<div style="padding: 0 24px;">
|
|
106
|
-
<label style="display:flex;align-items:center;gap:8px;">
|
|
107
|
-
<span>${this.lang=="sv"?"Tid:":"Time:"}</span>
|
|
108
|
-
<scb-textfield type="time" .value=${`${String(this._selectedHour).padStart(2,"0")}:${String(this._selectedMinute).padStart(2,"0")}`} @blur=${this._onTimeChange} aria-label="${this.lang=="sv"?"Tid":"Time"}"></scb-textfield>
|
|
109
|
-
</label>
|
|
110
|
-
</div>
|
|
111
|
-
`:""}
|
|
112
|
-
<div class="datepicker-footer">
|
|
113
|
-
${!this._showMonthDropdown&&!this._showYearDropdown?d`
|
|
114
|
-
<scb-button variant="text" label=${this.lang=="sv"?"Stäng":"Close"} @click=${this._close}></scb-button>
|
|
115
|
-
`:""}
|
|
116
|
-
</div>
|
|
117
|
-
</div>
|
|
118
|
-
`}_getMonthDays(e,t){const s=new Date(Date.UTC(e,t,1)),c=new Date(Date.UTC(e,t+1,0)),a=[];let r=[],o=s.getUTCDay(),i=o===0?6:o-1;for(let n=0;n<i;n++)r.push(null);for(let n=1;n<=c.getUTCDate();n++){const u=new Date(Date.UTC(e,t,n));r.push(u),r.length===7&&(a.push(r),r=[])}if(r.length){for(;r.length<7;)r.push(null);a.push(r)}return a}_toggleMonthDropdown(){this._showMonthDropdown=!this._showMonthDropdown,this._showMonthDropdown&&(this._showYearDropdown=!1,setTimeout(()=>{const e=this.renderRoot.querySelector("#selected-month");e&&e.scrollIntoView({block:"center"})},0))}_toggleYearDropdown(){this._showYearDropdown=!this._showYearDropdown,this._showYearDropdown&&(this._showMonthDropdown=!1,setTimeout(()=>{const e=this.renderRoot.querySelector("#selected-year");e&&e.scrollIntoView({block:"center"})},0))}_onMonthChangeCustom(e){const t=this._currentDate.getFullYear();this._currentDate=new Date(t,e,1),this._showMonthDropdown=!1}_onYearChangeCustom(e){const t=this._currentDate.getMonth();this._currentDate=new Date(e,t,1),this._showYearDropdown=!1}_isToday(e,t){return e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}_isSelected(e){return this._selectedDate&&e.getDate()===this._selectedDate.getDate()&&e.getMonth()===this._selectedDate.getMonth()&&e.getFullYear()===this._selectedDate.getFullYear()}_selectDate(e){if(this._selectedDate=e,this.variant==="datetime-local"){const t=new Date(e);t.setHours(this._selectedHour??0,this._selectedMinute??0,0,0),this._selectedHour=t.getHours(),this._selectedMinute=t.getMinutes();const s=a=>a.toString().padStart(2,"0"),c=`${t.getFullYear()}-${s(t.getMonth()+1)}-${s(t.getDate())} ${s(t.getHours())}:${s(t.getMinutes())}`;this.dispatchEvent(new CustomEvent("date-selected",{detail:{value:c},bubbles:!0,composed:!0}))}else{const t=e.toISOString().slice(0,10);this.dispatchEvent(new CustomEvent("date-selected",{detail:{value:t},bubbles:!0,composed:!0}))}}_fireDateTimeChange(){if(this.variant==="datetime-local"&&this._selectedDate){const e=new Date(this._selectedDate);e.setHours(this._selectedHour??0,this._selectedMinute??0,0,0);const t=c=>c.toString().padStart(2,"0"),s=`${e.getFullYear()}-${t(e.getMonth()+1)}-${t(e.getDate())} ${t(e.getHours())}:${t(e.getMinutes())}`;this.dispatchEvent(new CustomEvent("date-selected",{detail:{value:s},bubbles:!0,composed:!0}))}}},v.styles=[Y`:host{--scb-datepicker-width:380px;--scb-datepicker-z-index:1100;--scb-datepicker-viewport-margin:8px;--scb-datepicker-offset:var(--spacing-2, 4px);max-width:var(--scb-datepicker-computed-width, min(var(--scb-datepicker-width), calc(100vw - (var(--scb-datepicker-viewport-margin) * 2))));font-family:var(--brand-font);color:var(--md-sys-color-on-surface);display:block;position:var(--scb-datepicker-position, fixed);top:var(--scb-datepicker-top, calc(100% + var(--scb-datepicker-offset)));bottom:var(--scb-datepicker-bottom, auto);left:var(--scb-datepicker-left, 0);width:var(--scb-datepicker-computed-width, min(var(--scb-datepicker-width), calc(100vw - (var(--scb-datepicker-viewport-margin) * 2))));transform:var(--scb-datepicker-transform, translateX(0px));z-index:var(--scb-datepicker-z-index)}.dropdown-selected,.month-selector,.year-selector{display:flex;align-items:center}.dropdown-selected{position:relative;border-radius:8px;font-size:16px;cursor:pointer;text-align:left;gap:8px;padding:4px 8px}.dropdown-selected:focus{outline:0}.dropdown-selected md-focus-ring{border-radius:8px}.dropdown-list{position:relative;background:var(--md-sys-color-surface);padding:4px 0}.dropdown-item{display:flex;position:relative;cursor:pointer;padding:var(--spacing-3) 56px;min-height:40px;align-items:center}.dropdown-item:focus-within{outline:0}.datepicker-popup,.dropdown-item md-focus-ring{border-radius:var(--md-sys-shape-corner-small)}.dropdown-item.selected{background:var(--md-sys-color-secondary-container, #e3f2fd);font-weight:500;padding-left:16px;gap:16px}.datepicker-popup{background:var(--md-sys-color-surface);box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 2px 6px 2px rgba(0,0,0,.15);max-width:100%;width:100%;max-height:var(--scb-datepicker-max-height, 80vh);overflow:auto;font-family:var(--brand-font)}.datepicker-content{overflow-y:auto;max-height:290px}.datepicker-content::-webkit-scrollbar{width:12px;background:var(--md-sys-color-surface);border-radius:var(--md-sys-shape-corner-small)}.datepicker-content::-webkit-scrollbar-thumb{background:var(--md-sys-color-outline);border-radius:var(--md-sys-shape-corner-small);border:4px solid var(--md-sys-color-surface)}.datepicker-content::-webkit-scrollbar-track{background:var(--md-sys-color-surface);border-radius:var(--md-sys-shape-corner-small)}.popup{position:absolute;top:0;left:0;z-index:1}.header{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;padding:20px 16px 0;flex-wrap:wrap}.datepicker-footer{padding:8px 16px 24px}.month-label{font-size:18px;font-weight:500}.datepicker-calendar{padding:0 16px}table{width:100%;border-collapse:collapse;margin-bottom:8px}th{color:var(--md-sys-color-on-surface-variant, #757575);font-size:16px;font-weight:600;padding-bottom:20px}td{text-align:center}.day:focus-within{outline:0}.close-datepicker,.day{background:0 0;font-size:16px;cursor:pointer}.day{position:relative;width:40px;height:40px;border-radius:50%;border:0;font-family:var(--brand-font, Inter, Arial, sans-serif);align-content:center}.day.selected{background:var(--md-sys-color-secondary-container)}.close-datepicker{margin-top:8px;border-color:none;color:var(--md-sys-color-primary, #0057b8);padding:4px 12px;border-radius:8px}.close-datepicker:hover{background:var(--md-sys-color-primary-container, #e3f2fd)}`],v);h([l()],p.prototype,"_currentDate",void 0);h([l()],p.prototype,"_selectedDate",void 0);h([l()],p.prototype,"_showMonthDropdown",void 0);h([l()],p.prototype,"_showYearDropdown",void 0);h([m({type:String})],p.prototype,"variant",void 0);h([m({type:String})],p.prototype,"lang",void 0);h([m({type:String})],p.prototype,"selectedValue",void 0);h([m({type:Boolean})],p.prototype,"open",void 0);h([l()],p.prototype,"_selectedHour",void 0);h([l()],p.prototype,"_selectedMinute",void 0);p=h([$("scb-datepicker")],p);
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../../vendor/md-focus-ring.js","../../vendor/rolldown-runtime.js","../../vendor/vendor.js","../../vendor/attachable-controller.js","../../vendor/vendor-lit.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{t as u}from"../../vendor/preload-helper.js";(function(){try{var e=typeof globalThis<"u"?globalThis:window;if(!e.__scb_ce_guard_installed__){e.__scb_ce_guard_installed__=!0;var t=customElements.define.bind(customElements);customElements.define=function(o,n,a){try{customElements.get(o)||t(o,n,a)}catch(s){var r=String(s||"");if(r.indexOf("already been used")===-1&&r.indexOf("NotSupportedError")===-1)throw s}}}}catch{}})();var i,c=()=>{customElements.get("md-focus-ring")||(i??(i=u(()=>import("../../vendor/md-focus-ring.js").then(e=>e.t).then(()=>{}),__vite__mapDeps([0,1,2,3,4]),import.meta.url)))},d=e=>{const t=e.composedPath()[0];t instanceof HTMLElement&&t.matches(":focus-visible")&&c()},f=e=>{e.key==="Tab"&&c()},m=(...e)=>{const t=d,o=f;for(const n of e)n.addEventListener("focusin",t),n.addEventListener("keydown",o);return()=>{for(const n of e)n.removeEventListener("focusin",t),n.removeEventListener("keydown",o)}};export{m as addLazyFocusRingListeners,d as ensureFocusRingOnFocusVisible,f as ensureFocusRingOnTab,c as ensureFocusRingReady};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../../vendor/ripple.js","../../vendor/rolldown-runtime.js","../../vendor/vendor.js","../../vendor/attachable-controller.js","../../vendor/vendor-lit.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{t as s}from"../../vendor/preload-helper.js";(function(){try{var e=typeof globalThis<"u"?globalThis:window;if(!e.__scb_ce_guard_installed__){e.__scb_ce_guard_installed__=!0;var r=customElements.define.bind(customElements);customElements.define=function(t,n,d){try{customElements.get(t)||r(t,n,d)}catch(a){var o=String(a||"");if(o.indexOf("already been used")===-1&&o.indexOf("NotSupportedError")===-1)throw a}}}}catch{}})();var i,l=()=>(i??(i=s(()=>import("../../vendor/ripple.js").then(e=>e.t).then(()=>{}),__vite__mapDeps([0,1,2,3,4]),import.meta.url)),i),f=async(e,r,t,n=!1)=>{!e||!r||(e.control=r,r.matches(":hover")&&(e.hovered=!0),t?.type==="pointerenter"?e.handlePointerenter?.(t):t?.type==="pointerdown"&&await e.handlePointerdown?.(t),n&&e.handleClick?.())};export{l as ensureRippleReady,f as syncRippleToControl};
|