kemet-ui 1.0.0 → 1.2.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/custom-elements.json +1605 -225
- package/dist/components/{kemet-accordion-panel.js → kemet-accordion/kemet-accordion-panel.js} +0 -0
- package/dist/components/{kemet-accordion.js → kemet-accordion/kemet-accordion.js} +0 -0
- package/dist/components/{kemet-badge.js → kemet-badge/kemet-badge.js} +0 -0
- package/dist/components/{kemet-button.js → kemet-button/kemet-button.js} +0 -0
- package/dist/components/kemet-carousel/kemet-carousel-current.js +36 -0
- package/dist/components/kemet-carousel/kemet-carousel-first.js +47 -0
- package/dist/components/kemet-carousel/kemet-carousel-last.js +47 -0
- package/dist/components/kemet-carousel/kemet-carousel-link.js +59 -0
- package/dist/components/kemet-carousel/kemet-carousel-next.js +47 -0
- package/dist/components/kemet-carousel/kemet-carousel-prev.js +47 -0
- package/dist/components/kemet-carousel/kemet-carousel-slide.js +51 -0
- package/dist/components/kemet-carousel/kemet-carousel-total.js +36 -0
- package/dist/components/kemet-carousel/kemet-carousel.js +492 -0
- package/dist/components/{kemet-checkbox.js → kemet-checkbox/kemet-checkbox.js} +0 -0
- package/dist/components/{kemet-combo.js → kemet-combo/kemet-combo.js} +0 -0
- package/dist/components/{kemet-count.js → kemet-count/kemet-count.js} +0 -0
- package/dist/components/{kemet-draggable.js → kemet-draggable/kemet-draggable.js} +0 -0
- package/dist/components/{kemet-drawer.js → kemet-drawer/kemet-drawer.js} +0 -0
- package/dist/components/{kemet-drawer.styles.js → kemet-drawer/kemet-drawer.styles.js} +0 -0
- package/dist/components/kemet-fab/kemet-fab.js +209 -0
- package/dist/components/{kemet-field.js → kemet-field/kemet-field.js} +0 -0
- package/dist/components/{kemet-flipcard-trigger.js → kemet-flipcard/kemet-flipcard-trigger.js} +0 -0
- package/dist/components/{kemet-flipcard.js → kemet-flipcard/kemet-flipcard.js} +0 -0
- package/dist/components/{kemet-icon.js → kemet-icon/kemet-icon.js} +0 -0
- package/dist/components/{kemet-input.js → kemet-input/kemet-input.js} +15 -4
- package/dist/components/{kemet-modal-close.js → kemet-modal/kemet-modal-close.js} +0 -0
- package/dist/components/{kemet-modal.js → kemet-modal/kemet-modal.js} +0 -0
- package/dist/components/{kemet-modal.styles.js → kemet-modal/kemet-modal.styles.js} +0 -0
- package/dist/components/kemet-password/kemet-password.js +278 -0
- package/dist/components/{kemet-popover-close.js → kemet-popover/kemet-popover-close.js} +0 -0
- package/dist/components/{kemet-popover.effects.styles.js → kemet-popover/kemet-popover.effects.styles.js} +0 -0
- package/dist/components/{kemet-popover.js → kemet-popover/kemet-popover.js} +0 -0
- package/dist/components/{kemet-popover.tooltip.styles.js → kemet-popover/kemet-popover.tooltip.styles.js} +0 -0
- package/dist/components/{kemet-radio.js → kemet-radio/kemet-radio.js} +0 -0
- package/dist/components/{kemet-radios.js → kemet-radio/kemet-radios.js} +0 -0
- package/dist/components/{kemet-rotator.js → kemet-rotator/kemet-rotator.js} +0 -0
- package/dist/components/{kemet-scroll-link.js → kemet-scroll-link/kemet-scroll-link.js} +0 -0
- package/dist/components/{kemet-scroll-nav.js → kemet-scroll-nav/kemet-scroll-nav.js} +0 -0
- package/dist/components/{kemet-scroll-snap-paginator.js → kemet-scroll-snap/kemet-scroll-snap-paginator.js} +0 -0
- package/dist/components/{kemet-scroll-snap-slide.js → kemet-scroll-snap/kemet-scroll-snap-slide.js} +0 -0
- package/dist/components/{kemet-scroll-snap.js → kemet-scroll-snap/kemet-scroll-snap.js} +0 -0
- package/dist/components/{kemet-option.js → kemet-select/kemet-option.js} +0 -0
- package/dist/components/{kemet-select.js → kemet-select/kemet-select.js} +0 -0
- package/dist/components/{kemet-svg.js → kemet-svgs/kemet-svg.js} +0 -0
- package/dist/components/{kemet-svgs.js → kemet-svgs/kemet-svgs.js} +0 -0
- package/dist/components/{kemet-tab-panel.js → kemet-tabs/kemet-tab-panel.js} +0 -0
- package/dist/components/{kemet-tab.js → kemet-tabs/kemet-tab.js} +0 -0
- package/dist/components/{kemet-tabs.js → kemet-tabs/kemet-tabs.js} +0 -0
- package/dist/components/{kemet-tabs.styles.js → kemet-tabs/kemet-tabs.styles.js} +0 -0
- package/dist/components/{kemet-textarea.js → kemet-textarea/kemet-textarea.js} +0 -0
- package/dist/components/{kemet-toggle.js → kemet-toggle/kemet-toggle.js} +0 -0
- package/dist/components/kemet-tracker/kemet-tracker-step.js +239 -0
- package/dist/components/kemet-tracker/kemet-tracker.js +76 -0
- package/dist/kemet-components.cjs +1809 -140
- package/dist/kemet-components.js +1805 -141
- package/dist/kemet-components.min.js +574 -87
- package/dist/styles/components/_config.scss +4 -0
- package/dist/styles/{scss/components → components}/accordion.scss +0 -0
- package/dist/styles/{scss/components → components}/drawer.scss +2 -2
- package/dist/styles/{scss/components → components}/modal.scss +0 -0
- package/dist/styles/{scss/components → components}/scrollsnap.scss +0 -0
- package/dist/styles/{scss/core → core}/_config.scss +22 -22
- package/dist/styles/{scss/core → core}/_helpers.scss +7 -3
- package/dist/styles/{scss/core → core}/attributes.scss +0 -0
- package/dist/styles/{scss/core → core}/base.scss +0 -0
- package/dist/styles/{scss/core → core}/layout.scss +0 -0
- package/dist/styles/kemet.components.css +1 -80
- package/dist/styles/kemet.components.css.map +1 -1
- package/dist/styles/{scss/kemet.components.scss → kemet.components.scss} +0 -1
- package/dist/styles/kemet.core.css +1 -1
- package/dist/styles/kemet.core.css.map +1 -1
- package/dist/styles/{scss/kemet.core.scss → kemet.core.scss} +0 -0
- package/dist/utilities/controllers/forms.js +123 -0
- package/package.json +5 -3
- package/dist/styles/scss/components/_config.scss +0 -4
- package/dist/styles/scss/components/carousel.scss +0 -64
|
File without changes
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@use 'config' as *;
|
|
2
2
|
|
|
3
3
|
kemet-drawer {
|
|
4
|
-
--kemet-drawer-width: #{$drawer-width};
|
|
4
|
+
--kemet-drawer-width: #{map-get($kemet-components, drawer-width)};
|
|
5
5
|
--kemet-drawer-background-color: var(--kemet-color-primary);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
kemet-drawer[side='top'],
|
|
9
9
|
kemet-drawer[side='bottom'] {
|
|
10
|
-
--kemet-drawer-height: #{$drawer-height};
|
|
10
|
+
--kemet-drawer-height: #{map-get($kemet-components, drawer-height)};
|
|
11
11
|
}
|
|
File without changes
|
|
File without changes
|
|
@@ -30,7 +30,7 @@ $gutters: (
|
|
|
30
30
|
plus-4: 2rem,
|
|
31
31
|
plus-5: 2.25rem,
|
|
32
32
|
plus-6: 3rem
|
|
33
|
-
);
|
|
33
|
+
) !default;
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
@@ -42,7 +42,7 @@ $gutters: (
|
|
|
42
42
|
/// @access public
|
|
43
43
|
/// @group config-variables
|
|
44
44
|
|
|
45
|
-
$flexiplier: 'tens';
|
|
45
|
+
$flexiplier: 'tens' !default;
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
|
|
@@ -53,7 +53,7 @@ $flexiplier: 'tens';
|
|
|
53
53
|
/// @access public
|
|
54
54
|
/// @group config-variables
|
|
55
55
|
|
|
56
|
-
$stackpoint: 767px;
|
|
56
|
+
$stackpoint: 767px !default;
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
|
|
@@ -69,7 +69,7 @@ $breakpoints: (
|
|
|
69
69
|
medium: 768px,
|
|
70
70
|
large: 1024px,
|
|
71
71
|
huge: 1440px
|
|
72
|
-
);
|
|
72
|
+
) !default;
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
|
|
@@ -85,7 +85,7 @@ $breakranges: (
|
|
|
85
85
|
medium: (768px, 1023px),
|
|
86
86
|
large: (1024px, 1439px),
|
|
87
87
|
huge: (1440px, 9999px)
|
|
88
|
-
);
|
|
88
|
+
) !default;
|
|
89
89
|
|
|
90
90
|
|
|
91
91
|
|
|
@@ -95,7 +95,7 @@ $breakranges: (
|
|
|
95
95
|
/// @access public
|
|
96
96
|
/// @group config-variables
|
|
97
97
|
|
|
98
|
-
$order: 5;
|
|
98
|
+
$order: 5 !default;
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
|
|
@@ -105,7 +105,7 @@ $order: 5;
|
|
|
105
105
|
/// @access public
|
|
106
106
|
/// @group config-variables
|
|
107
107
|
|
|
108
|
-
$flexgridcolumns: 12;
|
|
108
|
+
$flexgridcolumns: 12 !default;
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
|
|
@@ -126,7 +126,7 @@ $typesizers: (
|
|
|
126
126
|
plus-4: 2rem,
|
|
127
127
|
plus-5: 2.25rem,
|
|
128
128
|
plus-6: 3rem
|
|
129
|
-
);
|
|
129
|
+
) !default;
|
|
130
130
|
|
|
131
131
|
|
|
132
132
|
|
|
@@ -146,7 +146,7 @@ $spacers: (
|
|
|
146
146
|
large: 2.5rem,
|
|
147
147
|
larger: 3rem,
|
|
148
148
|
largest: 3.5rem
|
|
149
|
-
);
|
|
149
|
+
) !default;
|
|
150
150
|
|
|
151
151
|
|
|
152
152
|
|
|
@@ -208,7 +208,7 @@ $colors: (
|
|
|
208
208
|
success: rgba(22, 163, 74, 1),
|
|
209
209
|
neutral: rgba(82, 82, 91, 1),
|
|
210
210
|
warning: rgba(217, 119, 6, 1),
|
|
211
|
-
);
|
|
211
|
+
) !default;
|
|
212
212
|
|
|
213
213
|
|
|
214
214
|
|
|
@@ -227,7 +227,7 @@ $elevation: (
|
|
|
227
227
|
layer5: (0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)),
|
|
228
228
|
layer6: 0 25px 50px -12px rgb(0 0 0 / 0.25),
|
|
229
229
|
inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05),
|
|
230
|
-
);
|
|
230
|
+
) !default;
|
|
231
231
|
|
|
232
232
|
|
|
233
233
|
|
|
@@ -248,7 +248,7 @@ $borderwidths: (
|
|
|
248
248
|
7: 7px,
|
|
249
249
|
8: 8px,
|
|
250
250
|
9: 9px,
|
|
251
|
-
);
|
|
251
|
+
) !default;
|
|
252
252
|
|
|
253
253
|
|
|
254
254
|
|
|
@@ -262,7 +262,7 @@ $borderradiuses: (
|
|
|
262
262
|
small: 3px,
|
|
263
263
|
medium: 6px,
|
|
264
264
|
large: 12px,
|
|
265
|
-
);
|
|
265
|
+
) !default;
|
|
266
266
|
|
|
267
267
|
|
|
268
268
|
|
|
@@ -272,7 +272,7 @@ $borderradiuses: (
|
|
|
272
272
|
/// @access public
|
|
273
273
|
/// @group config-variables
|
|
274
274
|
|
|
275
|
-
$makeorder: true;
|
|
275
|
+
$makeorder: true !default;
|
|
276
276
|
|
|
277
277
|
|
|
278
278
|
|
|
@@ -281,7 +281,7 @@ $makeorder: true;
|
|
|
281
281
|
/// @access public
|
|
282
282
|
/// @group config-variables
|
|
283
283
|
|
|
284
|
-
$makevisibility: true;
|
|
284
|
+
$makevisibility: true !default;
|
|
285
285
|
|
|
286
286
|
|
|
287
287
|
|
|
@@ -291,7 +291,7 @@ $makevisibility: true;
|
|
|
291
291
|
/// @access public
|
|
292
292
|
/// @group config-variables
|
|
293
293
|
|
|
294
|
-
$maketext: true;
|
|
294
|
+
$maketext: true !default;
|
|
295
295
|
|
|
296
296
|
|
|
297
297
|
|
|
@@ -301,7 +301,7 @@ $maketext: true;
|
|
|
301
301
|
/// @access public
|
|
302
302
|
/// @group config-variables
|
|
303
303
|
|
|
304
|
-
$makeresponsivegutters: true;
|
|
304
|
+
$makeresponsivegutters: true !default;
|
|
305
305
|
|
|
306
306
|
|
|
307
307
|
|
|
@@ -311,7 +311,7 @@ $makeresponsivegutters: true;
|
|
|
311
311
|
/// @access public
|
|
312
312
|
/// @group config-variables
|
|
313
313
|
|
|
314
|
-
$makespacers: true;
|
|
314
|
+
$makespacers: true !default;
|
|
315
315
|
|
|
316
316
|
|
|
317
317
|
|
|
@@ -321,7 +321,7 @@ $makespacers: true;
|
|
|
321
321
|
/// @access public
|
|
322
322
|
/// @group config-variables
|
|
323
323
|
|
|
324
|
-
$makecolors: true;
|
|
324
|
+
$makecolors: true !default;
|
|
325
325
|
|
|
326
326
|
|
|
327
327
|
|
|
@@ -331,7 +331,7 @@ $makecolors: true;
|
|
|
331
331
|
/// @access public
|
|
332
332
|
/// @group config-variables
|
|
333
333
|
|
|
334
|
-
$makeelevation: true;
|
|
334
|
+
$makeelevation: true !default;
|
|
335
335
|
|
|
336
336
|
|
|
337
337
|
|
|
@@ -341,7 +341,7 @@ $makeelevation: true;
|
|
|
341
341
|
/// @access public
|
|
342
342
|
/// @group config-variables
|
|
343
343
|
|
|
344
|
-
$makeborders: true;
|
|
344
|
+
$makeborders: true !default;
|
|
345
345
|
|
|
346
346
|
|
|
347
347
|
|
|
@@ -351,4 +351,4 @@ $makeborders: true;
|
|
|
351
351
|
/// @access public
|
|
352
352
|
/// @group config-variables
|
|
353
353
|
|
|
354
|
-
$makeborderradiuses: true;
|
|
354
|
+
$makeborderradiuses: true !default;
|
|
@@ -312,11 +312,13 @@
|
|
|
312
312
|
|
|
313
313
|
@mixin makeColors {
|
|
314
314
|
@each $color, $value in $colors {
|
|
315
|
-
|
|
315
|
+
$name: '' + $color;
|
|
316
|
+
|
|
317
|
+
[kemet-color="#{$name}"] {
|
|
316
318
|
color: $value;
|
|
317
319
|
}
|
|
318
320
|
|
|
319
|
-
[kemet-background-color="#{$
|
|
321
|
+
[kemet-background-color="#{$name}"] {
|
|
320
322
|
background-color: $value;
|
|
321
323
|
}
|
|
322
324
|
}
|
|
@@ -335,7 +337,9 @@
|
|
|
335
337
|
$styles: dotted, dashed, solid, double, groove, ridge, inset, outset, none, hidden;
|
|
336
338
|
|
|
337
339
|
@each $color, $value in $colors {
|
|
338
|
-
|
|
340
|
+
$name: '' + $color;
|
|
341
|
+
|
|
342
|
+
[kemet-border*="#{$name}"] {
|
|
339
343
|
border-color: $value;
|
|
340
344
|
}
|
|
341
345
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -10,85 +10,6 @@ kemet-accordion-panel[opened] [icon=chevron-down] {
|
|
|
10
10
|
transform: rotate(180deg);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
kemet-carousel {
|
|
14
|
-
--kemet-carousel-height: 18rem;
|
|
15
|
-
margin-bottom: 1rem;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
kemet-carousel[pagination=bottom] {
|
|
19
|
-
margin-bottom: 3.5rem;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
kemet-carousel [slot=slides] {
|
|
23
|
-
height: 100%;
|
|
24
|
-
border-radius: 1rem;
|
|
25
|
-
border: 2px solid var(--kemet-color-primary);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
kemet-carousel [slot=pagination],
|
|
29
|
-
kemet-carousel[pagination=top] [slot=pagination] > *,
|
|
30
|
-
kemet-carousel[pagination=bottom] [slot=pagination] > * {
|
|
31
|
-
display: -webkit-box;
|
|
32
|
-
display: -webkit-flex;
|
|
33
|
-
display: -ms-flexbox;
|
|
34
|
-
display: flex;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
kemet-carousel[pagination=bottom] [slot=pagination] {
|
|
38
|
-
margin-top: 1rem;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
kemet-carousel[pagination=top] [slot=pagination] {
|
|
42
|
-
margin-bottom: 0.5rem;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
kemet-carousel[pagination=left] [slot=pagination],
|
|
46
|
-
kemet-carousel[pagination=right] [slot=pagination] {
|
|
47
|
-
width: 3rem;
|
|
48
|
-
height: 100%;
|
|
49
|
-
-webkit-box-align: center;
|
|
50
|
-
-webkit-align-items: center;
|
|
51
|
-
-ms-flex-align: center;
|
|
52
|
-
align-items: center;
|
|
53
|
-
-webkit-box-pack: justify;
|
|
54
|
-
-webkit-justify-content: space-between;
|
|
55
|
-
-ms-flex-pack: justify;
|
|
56
|
-
justify-content: space-between;
|
|
57
|
-
-webkit-box-orient: vertical;
|
|
58
|
-
-webkit-box-direction: normal;
|
|
59
|
-
-webkit-flex-direction: column;
|
|
60
|
-
-ms-flex-direction: column;
|
|
61
|
-
flex-direction: column;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
kemet-carousel[pagination=left] [slot=pagination] > *,
|
|
65
|
-
kemet-carousel[pagination=right] [slot=pagination] > * {
|
|
66
|
-
margin: 0.5rem;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
kemet-carousel-slide {
|
|
70
|
-
display: -webkit-box;
|
|
71
|
-
display: -webkit-flex;
|
|
72
|
-
display: -ms-flexbox;
|
|
73
|
-
display: flex;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
kemet-carousel-slide img,
|
|
77
|
-
kemet-carousel-slide iframe {
|
|
78
|
-
width: 100%;
|
|
79
|
-
border-radius: 1rem;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
kemet-carousel-slide > div {
|
|
83
|
-
margin: auto;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
kemet-carousel-link {
|
|
87
|
-
position: relative;
|
|
88
|
-
top: 1px;
|
|
89
|
-
margin: 0 0.5rem;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
13
|
kemet-drawer {
|
|
93
14
|
--kemet-drawer-width: 280px;
|
|
94
15
|
--kemet-drawer-background-color: var(--kemet-color-primary);
|
|
@@ -114,4 +35,4 @@ kemet-scroll-snap[axis=horizontal] [slot=slides]::-webkit-scrollbar {
|
|
|
114
35
|
background: transparent;
|
|
115
36
|
}
|
|
116
37
|
|
|
117
|
-
/*# sourceMappingURL=data:application/json;base64,
|
|
38
|
+
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zdHlsZXMvY29tcG9uZW50cy9hY2NvcmRpb24uc2NzcyIsImtlbWV0LmNvbXBvbmVudHMuY3NzIiwiLi4vLi4vc3JjL3N0eWxlcy9jb21wb25lbnRzL2RyYXdlci5zY3NzIiwiLi4vLi4vc3JjL3N0eWxlcy9jb21wb25lbnRzL21vZGFsLnNjc3MiLCIuLi8uLi9zcmMvc3R5bGVzL2NvbXBvbmVudHMvc2Nyb2xsc25hcC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBO0VBQ0UsZ0RBQUE7RUFBQSx3Q0FBQTtFQUFBLGdDQUFBO0VBQUEsOERBQUE7QUNERjs7QURJQTtFQUNFLGlDQUFBO1VBQUEseUJBQUE7QUNERjs7QUNKQTtFQUNFLDJCQUFBO0VBQ0EsMkRBQUE7QURPRjs7QUNKQTs7RUFFRSw0QkFBQTtBRE9GOztBRWJFO0VBQ0UsWUFBQTtFQUNBLGFBQUE7QUZnQko7O0FHbkJBO0VBQ0UscUJBQUE7QUhzQkY7O0FHbkJBO0VBQ0UsYUFBQTtFQUNBLFFBQUE7RUFDQSx1QkFBQTtBSHNCRiIsImZpbGUiOiJrZW1ldC5jb21wb25lbnRzLmNzcyJ9 */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../src/styles/components/accordion.scss","../../src/styles/components/
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../src/styles/components/accordion.scss","../../src/styles/components/drawer.scss","../../src/styles/components/modal.scss","../../src/styles/components/scrollsnap.scss"],"names":[],"mappings":"AAEA;EACE;;;AAGF;EACE;;;ACLF;EACE;EACA;;;AAGF;AAAA;EAEE;;;ACNA;EACE;EACA;;;ACHJ;EACE;;;AAGF;EACE;EACA;EACA","file":"kemet.components.css"}
|