@m3-baseui/react-vanilla-extract 1.4.0 → 2.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/components/badge/index.css +32 -0
- package/dist/components/badge/index.css.map +1 -0
- package/dist/components/badge/index.js +16 -0
- package/dist/components/badge/index.js.map +1 -0
- package/dist/components/bottom-app-bar/index.css +28 -0
- package/dist/components/bottom-app-bar/index.css.map +1 -0
- package/dist/components/bottom-app-bar/index.js +17 -0
- package/dist/components/bottom-app-bar/index.js.map +1 -0
- package/dist/{bottom-sheet.css → components/bottom-sheet/index.css} +14 -14
- package/dist/components/bottom-sheet/index.css.map +1 -0
- package/dist/components/bottom-sheet/index.js +27 -0
- package/dist/components/bottom-sheet/index.js.map +1 -0
- package/dist/{button.css → components/button/index.css} +39 -39
- package/dist/components/button/index.css.map +1 -0
- package/dist/components/button/index.js +14 -0
- package/dist/components/button/index.js.map +1 -0
- package/dist/components/button-group/index.css +23 -0
- package/dist/components/button-group/index.css.map +1 -0
- package/dist/components/button-group/index.js +18 -0
- package/dist/components/button-group/index.js.map +1 -0
- package/dist/{card.css → components/card/index.css} +18 -18
- package/dist/components/card/index.css.map +1 -0
- package/dist/components/card/index.js +16 -0
- package/dist/components/card/index.js.map +1 -0
- package/dist/components/carousel/index.css +41 -0
- package/dist/components/carousel/index.css.map +1 -0
- package/dist/components/carousel/index.js +18 -0
- package/dist/components/carousel/index.js.map +1 -0
- package/dist/{checkbox.css → components/checkbox/index.css} +32 -32
- package/dist/components/checkbox/index.css.map +1 -0
- package/dist/components/checkbox/index.js +17 -0
- package/dist/components/checkbox/index.js.map +1 -0
- package/dist/{chip.css → components/chip/index.css} +40 -40
- package/dist/components/chip/index.css.map +1 -0
- package/dist/components/chip/index.js +24 -0
- package/dist/components/chip/index.js.map +1 -0
- package/dist/{date-picker.css → components/date-picker/index.css} +57 -57
- package/dist/components/date-picker/index.css.map +1 -0
- package/dist/components/date-picker/index.js +53 -0
- package/dist/components/date-picker/index.js.map +1 -0
- package/dist/{dialog.css → components/dialog/index.css} +21 -21
- package/dist/components/dialog/index.css.map +1 -0
- package/dist/components/dialog/index.js +34 -0
- package/dist/components/dialog/index.js.map +1 -0
- package/dist/components/divider/index.css +28 -0
- package/dist/components/divider/index.css.map +1 -0
- package/dist/components/divider/index.js +14 -0
- package/dist/components/divider/index.js.map +1 -0
- package/dist/components/fab/index.css +138 -0
- package/dist/components/fab/index.css.map +1 -0
- package/dist/{fab.d.ts → components/fab/index.d.ts} +1 -1
- package/dist/components/fab/index.js +14 -0
- package/dist/components/fab/index.js.map +1 -0
- package/dist/components/fab-menu/index.css +225 -0
- package/dist/components/fab-menu/index.css.map +1 -0
- package/dist/components/fab-menu/index.js +19 -0
- package/dist/components/fab-menu/index.js.map +1 -0
- package/dist/{icon-button.css → components/icon-button/index.css} +56 -56
- package/dist/components/icon-button/index.css.map +1 -0
- package/dist/components/icon-button/index.js +16 -0
- package/dist/components/icon-button/index.js.map +1 -0
- package/dist/{item.css → components/item/index.css} +15 -15
- package/dist/components/item/index.css.map +1 -0
- package/dist/components/item/index.js +28 -0
- package/dist/components/item/index.js.map +1 -0
- package/dist/{list.css → components/list/index.css} +31 -31
- package/dist/components/list/index.css.map +1 -0
- package/dist/{list.js → components/list/index.js} +12 -12
- package/dist/components/list/index.js.map +1 -0
- package/dist/components/loading-indicator/index.css +35 -0
- package/dist/components/loading-indicator/index.css.map +1 -0
- package/dist/components/loading-indicator/index.js +20 -0
- package/dist/components/loading-indicator/index.js.map +1 -0
- package/dist/components/menu/index.css +373 -0
- package/dist/components/menu/index.css.map +1 -0
- package/dist/{menu.d.ts → components/menu/index.d.ts} +2 -2
- package/dist/components/menu/index.js +31 -0
- package/dist/components/menu/index.js.map +1 -0
- package/dist/{navigation-bar.css → components/navigation-bar/index.css} +22 -22
- package/dist/components/navigation-bar/index.css.map +1 -0
- package/dist/components/navigation-bar/index.js +27 -0
- package/dist/components/navigation-bar/index.js.map +1 -0
- package/dist/{navigation-drawer.css → components/navigation-drawer/index.css} +19 -19
- package/dist/components/navigation-drawer/index.css.map +1 -0
- package/dist/components/navigation-drawer/index.js +26 -0
- package/dist/components/navigation-drawer/index.js.map +1 -0
- package/dist/{navigation-rail.css → components/navigation-rail/index.css} +23 -23
- package/dist/components/navigation-rail/index.css.map +1 -0
- package/dist/components/navigation-rail/index.js +29 -0
- package/dist/components/navigation-rail/index.js.map +1 -0
- package/dist/components/progress/index.css +189 -0
- package/dist/components/progress/index.css.map +1 -0
- package/dist/{progress.d.ts → components/progress/index.d.ts} +2 -2
- package/dist/components/progress/index.js +29 -0
- package/dist/components/progress/index.js.map +1 -0
- package/dist/{radio.css → components/radio/index.css} +21 -21
- package/dist/components/radio/index.css.map +1 -0
- package/dist/components/radio/index.js +18 -0
- package/dist/components/radio/index.js.map +1 -0
- package/dist/{search.css → components/search/index.css} +33 -33
- package/dist/components/search/index.css.map +1 -0
- package/dist/components/search/index.js +37 -0
- package/dist/components/search/index.js.map +1 -0
- package/dist/{segmented-button.css → components/segmented-button/index.css} +22 -22
- package/dist/components/segmented-button/index.css.map +1 -0
- package/dist/components/segmented-button/index.js +25 -0
- package/dist/components/segmented-button/index.js.map +1 -0
- package/dist/components/select/index.css +582 -0
- package/dist/components/select/index.css.map +1 -0
- package/dist/{select.d.ts → components/select/index.d.ts} +6 -2
- package/dist/components/select/index.js +60 -0
- package/dist/components/select/index.js.map +1 -0
- package/dist/{side-sheet.css → components/side-sheet/index.css} +23 -23
- package/dist/components/side-sheet/index.css.map +1 -0
- package/dist/components/side-sheet/index.js +28 -0
- package/dist/components/side-sheet/index.js.map +1 -0
- package/dist/{slider.css → components/slider/index.css} +20 -20
- package/dist/components/slider/index.css.map +1 -0
- package/dist/components/slider/index.js +33 -0
- package/dist/components/slider/index.js.map +1 -0
- package/dist/{snackbar.css → components/snackbar/index.css} +20 -20
- package/dist/components/snackbar/index.css.map +1 -0
- package/dist/components/snackbar/index.js +28 -0
- package/dist/components/snackbar/index.js.map +1 -0
- package/dist/{split-button.css → components/split-button/index.css} +68 -68
- package/dist/components/split-button/index.css.map +1 -0
- package/dist/components/split-button/index.js +26 -0
- package/dist/components/split-button/index.js.map +1 -0
- package/dist/{switch.css → components/switch/index.css} +29 -29
- package/dist/components/switch/index.css.map +1 -0
- package/dist/components/switch/index.js +18 -0
- package/dist/components/switch/index.js.map +1 -0
- package/dist/{tabs.css → components/tabs/index.css} +21 -21
- package/dist/components/tabs/index.css.map +1 -0
- package/dist/components/tabs/index.js +24 -0
- package/dist/components/tabs/index.js.map +1 -0
- package/dist/{textfield.css → components/textfield/index.css} +84 -29
- package/dist/components/textfield/index.css.map +1 -0
- package/dist/{textfield.d.ts → components/textfield/index.d.ts} +1 -1
- package/dist/components/textfield/index.js +40 -0
- package/dist/components/textfield/index.js.map +1 -0
- package/dist/{time-picker.css → components/time-picker/index.css} +108 -30
- package/dist/components/time-picker/index.css.map +1 -0
- package/dist/components/time-picker/index.js +43 -0
- package/dist/components/time-picker/index.js.map +1 -0
- package/dist/components/toolbar/index.css +37 -0
- package/dist/components/toolbar/index.css.map +1 -0
- package/dist/components/toolbar/index.js +16 -0
- package/dist/components/toolbar/index.js.map +1 -0
- package/dist/{tooltip.css → components/tooltip/index.css} +13 -13
- package/dist/components/tooltip/index.css.map +1 -0
- package/dist/components/tooltip/index.js +28 -0
- package/dist/components/tooltip/index.js.map +1 -0
- package/dist/{top-app-bar.css → components/top-app-bar/index.css} +15 -15
- package/dist/components/top-app-bar/index.css.map +1 -0
- package/dist/components/top-app-bar/index.js +24 -0
- package/dist/components/top-app-bar/index.js.map +1 -0
- package/dist/index.css +1550 -1030
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +39 -39
- package/dist/index.js +340 -302
- package/dist/index.js.map +1 -1
- package/package.json +151 -151
- package/dist/badge.css +0 -32
- package/dist/badge.css.map +0 -1
- package/dist/badge.js +0 -16
- package/dist/badge.js.map +0 -1
- package/dist/bottom-app-bar.css +0 -28
- package/dist/bottom-app-bar.css.map +0 -1
- package/dist/bottom-app-bar.js +0 -17
- package/dist/bottom-app-bar.js.map +0 -1
- package/dist/bottom-sheet.css.map +0 -1
- package/dist/bottom-sheet.js +0 -27
- package/dist/bottom-sheet.js.map +0 -1
- package/dist/button-group.css +0 -23
- package/dist/button-group.css.map +0 -1
- package/dist/button-group.js +0 -18
- package/dist/button-group.js.map +0 -1
- package/dist/button.css.map +0 -1
- package/dist/button.js +0 -14
- package/dist/button.js.map +0 -1
- package/dist/card.css.map +0 -1
- package/dist/card.js +0 -16
- package/dist/card.js.map +0 -1
- package/dist/carousel.css +0 -41
- package/dist/carousel.css.map +0 -1
- package/dist/carousel.js +0 -18
- package/dist/carousel.js.map +0 -1
- package/dist/checkbox.css.map +0 -1
- package/dist/checkbox.js +0 -17
- package/dist/checkbox.js.map +0 -1
- package/dist/chip.css.map +0 -1
- package/dist/chip.js +0 -24
- package/dist/chip.js.map +0 -1
- package/dist/date-picker.css.map +0 -1
- package/dist/date-picker.js +0 -53
- package/dist/date-picker.js.map +0 -1
- package/dist/dialog.css.map +0 -1
- package/dist/dialog.js +0 -34
- package/dist/dialog.js.map +0 -1
- package/dist/divider.css +0 -28
- package/dist/divider.css.map +0 -1
- package/dist/divider.js +0 -14
- package/dist/divider.js.map +0 -1
- package/dist/fab-menu.css +0 -201
- package/dist/fab-menu.css.map +0 -1
- package/dist/fab-menu.js +0 -19
- package/dist/fab-menu.js.map +0 -1
- package/dist/fab.css +0 -110
- package/dist/fab.css.map +0 -1
- package/dist/fab.js +0 -14
- package/dist/fab.js.map +0 -1
- package/dist/icon-button.css.map +0 -1
- package/dist/icon-button.js +0 -16
- package/dist/icon-button.js.map +0 -1
- package/dist/item.css.map +0 -1
- package/dist/item.js +0 -28
- package/dist/item.js.map +0 -1
- package/dist/list.css.map +0 -1
- package/dist/list.js.map +0 -1
- package/dist/loading-indicator.css +0 -35
- package/dist/loading-indicator.css.map +0 -1
- package/dist/loading-indicator.js +0 -20
- package/dist/loading-indicator.js.map +0 -1
- package/dist/menu.css +0 -262
- package/dist/menu.css.map +0 -1
- package/dist/menu.js +0 -31
- package/dist/menu.js.map +0 -1
- package/dist/navigation-bar.css.map +0 -1
- package/dist/navigation-bar.js +0 -27
- package/dist/navigation-bar.js.map +0 -1
- package/dist/navigation-drawer.css.map +0 -1
- package/dist/navigation-drawer.js +0 -26
- package/dist/navigation-drawer.js.map +0 -1
- package/dist/navigation-rail.css.map +0 -1
- package/dist/navigation-rail.js +0 -29
- package/dist/navigation-rail.js.map +0 -1
- package/dist/progress.css +0 -93
- package/dist/progress.css.map +0 -1
- package/dist/progress.js +0 -23
- package/dist/progress.js.map +0 -1
- package/dist/radio.css.map +0 -1
- package/dist/radio.js +0 -18
- package/dist/radio.js.map +0 -1
- package/dist/search.css.map +0 -1
- package/dist/search.js +0 -37
- package/dist/search.js.map +0 -1
- package/dist/segmented-button.css.map +0 -1
- package/dist/segmented-button.js +0 -25
- package/dist/segmented-button.js.map +0 -1
- package/dist/select.css +0 -181
- package/dist/select.css.map +0 -1
- package/dist/select.js +0 -33
- package/dist/select.js.map +0 -1
- package/dist/side-sheet.css.map +0 -1
- package/dist/side-sheet.js +0 -28
- package/dist/side-sheet.js.map +0 -1
- package/dist/slider.css.map +0 -1
- package/dist/slider.js +0 -33
- package/dist/slider.js.map +0 -1
- package/dist/snackbar.css.map +0 -1
- package/dist/snackbar.js +0 -28
- package/dist/snackbar.js.map +0 -1
- package/dist/split-button.css.map +0 -1
- package/dist/split-button.js +0 -26
- package/dist/split-button.js.map +0 -1
- package/dist/switch.css.map +0 -1
- package/dist/switch.js +0 -18
- package/dist/switch.js.map +0 -1
- package/dist/tabs.css.map +0 -1
- package/dist/tabs.js +0 -24
- package/dist/tabs.js.map +0 -1
- package/dist/textfield.css.map +0 -1
- package/dist/textfield.js +0 -37
- package/dist/textfield.js.map +0 -1
- package/dist/time-picker.css.map +0 -1
- package/dist/time-picker.js +0 -41
- package/dist/time-picker.js.map +0 -1
- package/dist/toolbar.css +0 -37
- package/dist/toolbar.css.map +0 -1
- package/dist/toolbar.js +0 -16
- package/dist/toolbar.js.map +0 -1
- package/dist/tooltip.css.map +0 -1
- package/dist/tooltip.js +0 -28
- package/dist/tooltip.js.map +0 -1
- package/dist/top-app-bar.css.map +0 -1
- package/dist/top-app-bar.js +0 -24
- package/dist/top-app-bar.js.map +0 -1
- /package/dist/{badge.d.ts → components/badge/index.d.ts} +0 -0
- /package/dist/{bottom-app-bar.d.ts → components/bottom-app-bar/index.d.ts} +0 -0
- /package/dist/{bottom-sheet.d.ts → components/bottom-sheet/index.d.ts} +0 -0
- /package/dist/{button.d.ts → components/button/index.d.ts} +0 -0
- /package/dist/{button-group.d.ts → components/button-group/index.d.ts} +0 -0
- /package/dist/{card.d.ts → components/card/index.d.ts} +0 -0
- /package/dist/{carousel.d.ts → components/carousel/index.d.ts} +0 -0
- /package/dist/{checkbox.d.ts → components/checkbox/index.d.ts} +0 -0
- /package/dist/{chip.d.ts → components/chip/index.d.ts} +0 -0
- /package/dist/{date-picker.d.ts → components/date-picker/index.d.ts} +0 -0
- /package/dist/{dialog.d.ts → components/dialog/index.d.ts} +0 -0
- /package/dist/{divider.d.ts → components/divider/index.d.ts} +0 -0
- /package/dist/{fab-menu.d.ts → components/fab-menu/index.d.ts} +0 -0
- /package/dist/{icon-button.d.ts → components/icon-button/index.d.ts} +0 -0
- /package/dist/{item.d.ts → components/item/index.d.ts} +0 -0
- /package/dist/{list.d.ts → components/list/index.d.ts} +0 -0
- /package/dist/{loading-indicator.d.ts → components/loading-indicator/index.d.ts} +0 -0
- /package/dist/{navigation-bar.d.ts → components/navigation-bar/index.d.ts} +0 -0
- /package/dist/{navigation-drawer.d.ts → components/navigation-drawer/index.d.ts} +0 -0
- /package/dist/{navigation-rail.d.ts → components/navigation-rail/index.d.ts} +0 -0
- /package/dist/{radio.d.ts → components/radio/index.d.ts} +0 -0
- /package/dist/{search.d.ts → components/search/index.d.ts} +0 -0
- /package/dist/{segmented-button.d.ts → components/segmented-button/index.d.ts} +0 -0
- /package/dist/{side-sheet.d.ts → components/side-sheet/index.d.ts} +0 -0
- /package/dist/{slider.d.ts → components/slider/index.d.ts} +0 -0
- /package/dist/{snackbar.d.ts → components/snackbar/index.d.ts} +0 -0
- /package/dist/{split-button.d.ts → components/split-button/index.d.ts} +0 -0
- /package/dist/{switch.d.ts → components/switch/index.d.ts} +0 -0
- /package/dist/{tabs.d.ts → components/tabs/index.d.ts} +0 -0
- /package/dist/{time-picker.d.ts → components/time-picker/index.d.ts} +0 -0
- /package/dist/{toolbar.d.ts → components/toolbar/index.d.ts} +0 -0
- /package/dist/{tooltip.d.ts → components/tooltip/index.d.ts} +0 -0
- /package/dist/{top-app-bar.d.ts → components/top-app-bar/index.d.ts} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/* vanilla-extract-css-ns:src/split-button.css.ts.vanilla.css?source=#H4sIAAAAAAAAA-
|
|
2
|
-
.
|
|
1
|
+
/* vanilla-extract-css-ns:src/components/split-button/split-button.css.ts.vanilla.css?source=#H4sIAAAAAAAAA-1Z227jKBi-71OguWqk0nE8aSfrSnOzj7HqBTa_baYYLMBpsqt99xX4SE4lbTTJjnrTA_5P8B8-9HEviuZxFUfonxuEKNM1J5sEMcGZAJxzWD_dIEQ4KwRmBiqdoAyEAWWXC1InKK7XTzf_3ty3dubOTi01M0yKBCngxLAVPJ1u_WejDcs3OJPCgDDTTyWwojQJWkS1syBXoHIuXxNUMkpB2LVUKgoqQUIK5102xnodF7JGaakSVEvW2200KKyBQ2ZGuVwKg3NSMb5J0IqoW4wrivVGY7OpQWeEA-YkBY45UQVgKz8bFF-7UAMUW9FRVbO_IUjRCjo1d6xluMeJfKsPxtgTqEnGRBFkwiiSvTBROH2jiGgzj2sla1Bmk6CUZC-Fko2gOJNcqjvU_Woz1C5uadNGkbaAvBAq6X3FupTKLLZdG1YxUeC8EdlhG0C0FdKGCEoUnQ31vGxLqiaUWoG2VhMUL9r1LmhtiDLdT0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20 {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
align-items: center;
|
|
5
5
|
gap: 2px;
|
|
6
6
|
}
|
|
7
|
-
.
|
|
7
|
+
.ngu6v21 {
|
|
8
8
|
position: relative;
|
|
9
9
|
display: inline-flex;
|
|
10
10
|
align-items: center;
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
border-start-end-radius: var(--md-sys-shape-small);
|
|
34
34
|
border-end-end-radius: var(--md-sys-shape-small);
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
.ngu6v21::before {
|
|
37
37
|
content: "";
|
|
38
38
|
position: absolute;
|
|
39
39
|
inset: 0;
|
|
@@ -42,31 +42,31 @@
|
|
|
42
42
|
pointer-events: none;
|
|
43
43
|
transition: opacity 100ms var(--md-sys-motion-easing-standard);
|
|
44
44
|
}
|
|
45
|
-
.
|
|
45
|
+
.ngu6v21:hover::before {
|
|
46
46
|
opacity: var(--md-sys-state-hover);
|
|
47
47
|
}
|
|
48
|
-
.
|
|
48
|
+
.ngu6v21:focus-visible::before {
|
|
49
49
|
opacity: var(--md-sys-state-focus);
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
.ngu6v21:active::before {
|
|
52
52
|
opacity: var(--md-sys-state-pressed);
|
|
53
53
|
}
|
|
54
|
-
.
|
|
54
|
+
.ngu6v21[data-pressed]::before {
|
|
55
55
|
opacity: var(--md-sys-state-pressed);
|
|
56
56
|
}
|
|
57
|
-
.
|
|
57
|
+
.ngu6v21:focus-visible {
|
|
58
58
|
outline: 3px solid rgb(var(--md-sys-color-secondary));
|
|
59
59
|
outline-offset: 2px;
|
|
60
60
|
}
|
|
61
|
-
.
|
|
62
|
-
.
|
|
61
|
+
.ngu6v21:disabled,
|
|
62
|
+
.ngu6v21[data-disabled] {
|
|
63
63
|
pointer-events: none;
|
|
64
64
|
}
|
|
65
|
-
.
|
|
66
|
-
.
|
|
65
|
+
.ngu6v21:disabled::before,
|
|
66
|
+
.ngu6v21[data-disabled]::before {
|
|
67
67
|
opacity: 0;
|
|
68
68
|
}
|
|
69
|
-
.
|
|
69
|
+
.ngu6v22 {
|
|
70
70
|
position: relative;
|
|
71
71
|
display: inline-flex;
|
|
72
72
|
align-items: center;
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
border-start-end-radius: var(--md-sys-shape-full);
|
|
96
96
|
border-end-end-radius: var(--md-sys-shape-full);
|
|
97
97
|
}
|
|
98
|
-
.
|
|
98
|
+
.ngu6v22::before {
|
|
99
99
|
content: "";
|
|
100
100
|
position: absolute;
|
|
101
101
|
inset: 0;
|
|
@@ -104,169 +104,169 @@
|
|
|
104
104
|
pointer-events: none;
|
|
105
105
|
transition: opacity 100ms var(--md-sys-motion-easing-standard);
|
|
106
106
|
}
|
|
107
|
-
.
|
|
107
|
+
.ngu6v22:hover::before {
|
|
108
108
|
opacity: var(--md-sys-state-hover);
|
|
109
109
|
}
|
|
110
|
-
.
|
|
110
|
+
.ngu6v22:focus-visible::before {
|
|
111
111
|
opacity: var(--md-sys-state-focus);
|
|
112
112
|
}
|
|
113
|
-
.
|
|
113
|
+
.ngu6v22:active::before {
|
|
114
114
|
opacity: var(--md-sys-state-pressed);
|
|
115
115
|
}
|
|
116
|
-
.
|
|
116
|
+
.ngu6v22[data-pressed]::before {
|
|
117
117
|
opacity: var(--md-sys-state-pressed);
|
|
118
118
|
}
|
|
119
|
-
.
|
|
119
|
+
.ngu6v22:focus-visible {
|
|
120
120
|
outline: 3px solid rgb(var(--md-sys-color-secondary));
|
|
121
121
|
outline-offset: 2px;
|
|
122
122
|
}
|
|
123
|
-
.
|
|
124
|
-
.
|
|
123
|
+
.ngu6v22:disabled,
|
|
124
|
+
.ngu6v22[data-disabled] {
|
|
125
125
|
pointer-events: none;
|
|
126
126
|
}
|
|
127
|
-
.
|
|
128
|
-
.
|
|
127
|
+
.ngu6v22:disabled::before,
|
|
128
|
+
.ngu6v22[data-disabled]::before {
|
|
129
129
|
opacity: 0;
|
|
130
130
|
}
|
|
131
|
-
.
|
|
131
|
+
.ngu6v24 {
|
|
132
132
|
background: rgb(var(--md-sys-color-primary));
|
|
133
133
|
color: rgb(var(--md-sys-color-on-primary));
|
|
134
134
|
}
|
|
135
|
-
.
|
|
135
|
+
.ngu6v24:disabled {
|
|
136
136
|
background: rgb(var(--md-sys-color-on-surface) / 0.12);
|
|
137
137
|
color: rgb(var(--md-sys-color-on-surface) / 0.38);
|
|
138
138
|
}
|
|
139
|
-
.
|
|
139
|
+
.ngu6v24[data-disabled] {
|
|
140
140
|
background: rgb(var(--md-sys-color-on-surface) / 0.12);
|
|
141
141
|
color: rgb(var(--md-sys-color-on-surface) / 0.38);
|
|
142
142
|
}
|
|
143
|
-
.
|
|
143
|
+
.ngu6v25 {
|
|
144
144
|
background: rgb(var(--md-sys-color-secondary-container));
|
|
145
145
|
color: rgb(var(--md-sys-color-on-secondary-container));
|
|
146
146
|
}
|
|
147
|
-
.
|
|
147
|
+
.ngu6v25:disabled {
|
|
148
148
|
background: rgb(var(--md-sys-color-on-surface) / 0.12);
|
|
149
149
|
color: rgb(var(--md-sys-color-on-surface) / 0.38);
|
|
150
150
|
}
|
|
151
|
-
.
|
|
151
|
+
.ngu6v25[data-disabled] {
|
|
152
152
|
background: rgb(var(--md-sys-color-on-surface) / 0.12);
|
|
153
153
|
color: rgb(var(--md-sys-color-on-surface) / 0.38);
|
|
154
154
|
}
|
|
155
|
-
.
|
|
155
|
+
.ngu6v26 {
|
|
156
156
|
background: transparent;
|
|
157
157
|
color: rgb(var(--md-sys-color-primary));
|
|
158
158
|
border: 1px solid rgb(var(--md-sys-color-outline));
|
|
159
159
|
}
|
|
160
|
-
.
|
|
160
|
+
.ngu6v26:disabled {
|
|
161
161
|
color: rgb(var(--md-sys-color-on-surface) / 0.38);
|
|
162
162
|
border-color: rgb(var(--md-sys-color-on-surface) / 0.12);
|
|
163
163
|
}
|
|
164
|
-
.
|
|
164
|
+
.ngu6v26[data-disabled] {
|
|
165
165
|
color: rgb(var(--md-sys-color-on-surface) / 0.38);
|
|
166
166
|
border-color: rgb(var(--md-sys-color-on-surface) / 0.12);
|
|
167
167
|
}
|
|
168
|
-
.
|
|
168
|
+
.ngu6v27 {
|
|
169
169
|
background: rgb(var(--md-sys-color-surface-container-low));
|
|
170
170
|
color: rgb(var(--md-sys-color-primary));
|
|
171
171
|
box-shadow: var(--md-sys-elevation-level1);
|
|
172
172
|
}
|
|
173
|
-
.
|
|
173
|
+
.ngu6v27:disabled {
|
|
174
174
|
background: rgb(var(--md-sys-color-on-surface) / 0.12);
|
|
175
175
|
color: rgb(var(--md-sys-color-on-surface) / 0.38);
|
|
176
176
|
box-shadow: none;
|
|
177
177
|
}
|
|
178
|
-
.
|
|
178
|
+
.ngu6v27[data-disabled] {
|
|
179
179
|
background: rgb(var(--md-sys-color-on-surface) / 0.12);
|
|
180
180
|
color: rgb(var(--md-sys-color-on-surface) / 0.38);
|
|
181
181
|
box-shadow: none;
|
|
182
182
|
}
|
|
183
|
-
.
|
|
183
|
+
.ngu6v28 {
|
|
184
184
|
background: transparent;
|
|
185
185
|
color: rgb(var(--md-sys-color-primary));
|
|
186
186
|
}
|
|
187
|
-
.
|
|
187
|
+
.ngu6v28:disabled {
|
|
188
188
|
color: rgb(var(--md-sys-color-on-surface) / 0.38);
|
|
189
189
|
}
|
|
190
|
-
.
|
|
190
|
+
.ngu6v28[data-disabled] {
|
|
191
191
|
color: rgb(var(--md-sys-color-on-surface) / 0.38);
|
|
192
192
|
}
|
|
193
|
-
.
|
|
193
|
+
.ngu6v2a {
|
|
194
194
|
background: rgb(var(--md-sys-color-primary));
|
|
195
195
|
color: rgb(var(--md-sys-color-on-primary));
|
|
196
196
|
}
|
|
197
|
-
.
|
|
197
|
+
.ngu6v2a:disabled {
|
|
198
198
|
background: rgb(var(--md-sys-color-on-surface) / 0.12);
|
|
199
199
|
color: rgb(var(--md-sys-color-on-surface) / 0.38);
|
|
200
200
|
}
|
|
201
|
-
.
|
|
201
|
+
.ngu6v2a[data-disabled] {
|
|
202
202
|
background: rgb(var(--md-sys-color-on-surface) / 0.12);
|
|
203
203
|
color: rgb(var(--md-sys-color-on-surface) / 0.38);
|
|
204
204
|
}
|
|
205
|
-
.
|
|
205
|
+
.ngu6v2b {
|
|
206
206
|
background: rgb(var(--md-sys-color-secondary-container));
|
|
207
207
|
color: rgb(var(--md-sys-color-on-secondary-container));
|
|
208
208
|
}
|
|
209
|
-
.
|
|
209
|
+
.ngu6v2b:disabled {
|
|
210
210
|
background: rgb(var(--md-sys-color-on-surface) / 0.12);
|
|
211
211
|
color: rgb(var(--md-sys-color-on-surface) / 0.38);
|
|
212
212
|
}
|
|
213
|
-
.
|
|
213
|
+
.ngu6v2b[data-disabled] {
|
|
214
214
|
background: rgb(var(--md-sys-color-on-surface) / 0.12);
|
|
215
215
|
color: rgb(var(--md-sys-color-on-surface) / 0.38);
|
|
216
216
|
}
|
|
217
|
-
.
|
|
217
|
+
.ngu6v2c {
|
|
218
218
|
background: transparent;
|
|
219
219
|
color: rgb(var(--md-sys-color-primary));
|
|
220
220
|
border: 1px solid rgb(var(--md-sys-color-outline));
|
|
221
221
|
}
|
|
222
|
-
.
|
|
222
|
+
.ngu6v2c:disabled {
|
|
223
223
|
color: rgb(var(--md-sys-color-on-surface) / 0.38);
|
|
224
224
|
border-color: rgb(var(--md-sys-color-on-surface) / 0.12);
|
|
225
225
|
}
|
|
226
|
-
.
|
|
226
|
+
.ngu6v2c[data-disabled] {
|
|
227
227
|
color: rgb(var(--md-sys-color-on-surface) / 0.38);
|
|
228
228
|
border-color: rgb(var(--md-sys-color-on-surface) / 0.12);
|
|
229
229
|
}
|
|
230
|
-
.
|
|
230
|
+
.ngu6v2d {
|
|
231
231
|
background: rgb(var(--md-sys-color-surface-container-low));
|
|
232
232
|
color: rgb(var(--md-sys-color-primary));
|
|
233
233
|
box-shadow: var(--md-sys-elevation-level1);
|
|
234
234
|
}
|
|
235
|
-
.
|
|
235
|
+
.ngu6v2d:disabled {
|
|
236
236
|
background: rgb(var(--md-sys-color-on-surface) / 0.12);
|
|
237
237
|
color: rgb(var(--md-sys-color-on-surface) / 0.38);
|
|
238
238
|
box-shadow: none;
|
|
239
239
|
}
|
|
240
|
-
.
|
|
240
|
+
.ngu6v2d[data-disabled] {
|
|
241
241
|
background: rgb(var(--md-sys-color-on-surface) / 0.12);
|
|
242
242
|
color: rgb(var(--md-sys-color-on-surface) / 0.38);
|
|
243
243
|
box-shadow: none;
|
|
244
244
|
}
|
|
245
|
-
.
|
|
245
|
+
.ngu6v2e {
|
|
246
246
|
background: transparent;
|
|
247
247
|
color: rgb(var(--md-sys-color-primary));
|
|
248
248
|
}
|
|
249
|
-
.
|
|
249
|
+
.ngu6v2e:disabled {
|
|
250
250
|
color: rgb(var(--md-sys-color-on-surface) / 0.38);
|
|
251
251
|
}
|
|
252
|
-
.
|
|
252
|
+
.ngu6v2e[data-disabled] {
|
|
253
253
|
color: rgb(var(--md-sys-color-on-surface) / 0.38);
|
|
254
254
|
}
|
|
255
|
-
.
|
|
255
|
+
.ngu6v2f {
|
|
256
256
|
display: inline-flex;
|
|
257
257
|
align-items: center;
|
|
258
258
|
justify-content: center;
|
|
259
259
|
flex-shrink: 0;
|
|
260
260
|
transition: transform var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard);
|
|
261
261
|
}
|
|
262
|
-
.
|
|
262
|
+
.ngu6v22[data-popup-open] .ngu6v2f {
|
|
263
263
|
transform: rotate(180deg);
|
|
264
264
|
}
|
|
265
|
-
.
|
|
265
|
+
.ngu6v2f > svg {
|
|
266
266
|
width: 18px;
|
|
267
267
|
height: 18px;
|
|
268
268
|
}
|
|
269
|
-
.
|
|
269
|
+
.ngu6v2g {
|
|
270
270
|
min-width: 112px;
|
|
271
271
|
max-width: 280px;
|
|
272
272
|
padding-block: 8px;
|
|
@@ -278,12 +278,12 @@
|
|
|
278
278
|
outline: none;
|
|
279
279
|
transition: opacity 150ms var(--md-sys-motion-easing-standard), transform 150ms var(--md-sys-motion-easing-standard);
|
|
280
280
|
}
|
|
281
|
-
.
|
|
282
|
-
.
|
|
281
|
+
.ngu6v2g[data-starting-style],
|
|
282
|
+
.ngu6v2g[data-ending-style] {
|
|
283
283
|
opacity: 0;
|
|
284
284
|
transform: scale(0.95);
|
|
285
285
|
}
|
|
286
|
-
.
|
|
286
|
+
.ngu6v2h {
|
|
287
287
|
position: relative;
|
|
288
288
|
display: flex;
|
|
289
289
|
align-items: center;
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
line-height: var(--md-sys-typescale-label-large-line-height);
|
|
302
302
|
letter-spacing: var(--md-sys-typescale-label-large-tracking);
|
|
303
303
|
}
|
|
304
|
-
.
|
|
304
|
+
.ngu6v2h::before {
|
|
305
305
|
content: "";
|
|
306
306
|
position: absolute;
|
|
307
307
|
inset: 0;
|
|
@@ -310,20 +310,20 @@
|
|
|
310
310
|
pointer-events: none;
|
|
311
311
|
transition: opacity 100ms var(--md-sys-motion-easing-standard);
|
|
312
312
|
}
|
|
313
|
-
.
|
|
313
|
+
.ngu6v2h:hover::before {
|
|
314
314
|
opacity: var(--md-sys-state-hover);
|
|
315
315
|
}
|
|
316
|
-
.
|
|
316
|
+
.ngu6v2h[data-highlighted]::before {
|
|
317
317
|
opacity: var(--md-sys-state-hover);
|
|
318
318
|
}
|
|
319
|
-
.
|
|
319
|
+
.ngu6v2h:active::before {
|
|
320
320
|
opacity: var(--md-sys-state-pressed);
|
|
321
321
|
}
|
|
322
|
-
.
|
|
322
|
+
.ngu6v2h[data-disabled] {
|
|
323
323
|
color: rgb(var(--md-sys-color-on-surface) / 0.38);
|
|
324
324
|
pointer-events: none;
|
|
325
325
|
}
|
|
326
|
-
.
|
|
326
|
+
.ngu6v2h[data-disabled]::before {
|
|
327
327
|
opacity: 0;
|
|
328
328
|
}
|
|
329
|
-
/*# sourceMappingURL=
|
|
329
|
+
/*# sourceMappingURL=index.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["vanilla-extract-css-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HmMZevIR2zlb-1vRVQe4v2ZIHDqr1ucVgBn3sxXrCh_JC3QOP7xZvsaHjLszXeaPLDLTSaOlMbDAbJr0Ndcg0jnly8-oZQ0sujbnoNKUmvJyXZtaBudh2om10T6gbX6AVRl14r6tKLN9nR8OD8qAvnQ104N-rm73lzPMK6Wk2sS8XES0fjTOka93cuVRVE2Z3M53QMiKybGssaxDPydjl4T5CSlvu4nS8jCoV_Hj-QXhVO_pVRUyZo3r1G9Zxp-_-g0cpWTOBevqcBK7Lu1-Jl5FOGKZfZy_DQ9Z5REgq8Xe6ns-8I2wdro4hHLobNnngkWO0JY6lYwQZadXt9Sgy9Qew9hBJ7d5PqCteaJrItH8ejtjIbDs8Dj9R9BkHHjzsckldkjgi_je7_eJi6KUNeP0Ie_fsyGx46Drya9nL7HkBC3zd2H0ZOqrvP55HA55GxSn4blr38KMteto1XsqLk9phPIbd3jZ2BaS_Pdhd9g9XednSYuv4P0RyLREIkAAA"],"sourcesContent":[".ngu6v20 {\n display: inline-flex;\n align-items: center;\n gap: 2px;\n}\n.ngu6v21 {\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: 40px;\n overflow: hidden;\n border: none;\n outline: none;\n cursor: pointer;\n user-select: none;\n font-family: var(--md-sys-typescale-label-large-font);\n font-weight: var(--md-sys-typescale-label-large-weight);\n font-size: var(--md-sys-typescale-label-large-size);\n line-height: var(--md-sys-typescale-label-large-line-height);\n letter-spacing: var(--md-sys-typescale-label-large-tracking);\n transition-property: background-color, color, border-color;\n transition-duration: var(--md-sys-motion-duration-short4);\n transition-timing-function: var(--md-sys-motion-easing-standard);\n gap: 8px;\n padding-inline: 24px;\n border-start-start-radius: var(--md-sys-shape-full);\n border-end-start-radius: var(--md-sys-shape-full);\n border-start-end-radius: var(--md-sys-shape-small);\n border-end-end-radius: var(--md-sys-shape-small);\n}\n.ngu6v21::before {\n content: \"\";\n position: absolute;\n inset: 0;\n background: currentColor;\n opacity: 0;\n pointer-events: none;\n transition: opacity 100ms var(--md-sys-motion-easing-standard);\n}\n.ngu6v21:hover::before {\n opacity: var(--md-sys-state-hover);\n}\n.ngu6v21:focus-visible::before {\n opacity: var(--md-sys-state-focus);\n}\n.ngu6v21:active::before {\n opacity: var(--md-sys-state-pressed);\n}\n.ngu6v21[data-pressed]::before {\n opacity: var(--md-sys-state-pressed);\n}\n.ngu6v21:focus-visible {\n outline: 3px solid rgb(var(--md-sys-color-secondary));\n outline-offset: 2px;\n}\n.ngu6v21:disabled, .ngu6v21[data-disabled] {\n pointer-events: none;\n}\n.ngu6v21:disabled::before, .ngu6v21[data-disabled]::before {\n opacity: 0;\n}\n.ngu6v22 {\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: 40px;\n overflow: hidden;\n border: none;\n outline: none;\n cursor: pointer;\n user-select: none;\n font-family: var(--md-sys-typescale-label-large-font);\n font-weight: var(--md-sys-typescale-label-large-weight);\n font-size: var(--md-sys-typescale-label-large-size);\n line-height: var(--md-sys-typescale-label-large-line-height);\n letter-spacing: var(--md-sys-typescale-label-large-tracking);\n transition-property: background-color, color, border-color;\n transition-duration: var(--md-sys-motion-duration-short4);\n transition-timing-function: var(--md-sys-motion-easing-standard);\n gap: 4px;\n padding-inline: 12px;\n border-start-start-radius: var(--md-sys-shape-small);\n border-end-start-radius: var(--md-sys-shape-small);\n border-start-end-radius: var(--md-sys-shape-full);\n border-end-end-radius: var(--md-sys-shape-full);\n}\n.ngu6v22::before {\n content: \"\";\n position: absolute;\n inset: 0;\n background: currentColor;\n opacity: 0;\n pointer-events: none;\n transition: opacity 100ms var(--md-sys-motion-easing-standard);\n}\n.ngu6v22:hover::before {\n opacity: var(--md-sys-state-hover);\n}\n.ngu6v22:focus-visible::before {\n opacity: var(--md-sys-state-focus);\n}\n.ngu6v22:active::before {\n opacity: var(--md-sys-state-pressed);\n}\n.ngu6v22[data-pressed]::before {\n opacity: var(--md-sys-state-pressed);\n}\n.ngu6v22:focus-visible {\n outline: 3px solid rgb(var(--md-sys-color-secondary));\n outline-offset: 2px;\n}\n.ngu6v22:disabled, .ngu6v22[data-disabled] {\n pointer-events: none;\n}\n.ngu6v22:disabled::before, .ngu6v22[data-disabled]::before {\n opacity: 0;\n}\n.ngu6v24 {\n background: rgb(var(--md-sys-color-primary));\n color: rgb(var(--md-sys-color-on-primary));\n}\n.ngu6v24:disabled {\n background: rgb(var(--md-sys-color-on-surface) / 0.12);\n color: rgb(var(--md-sys-color-on-surface) / 0.38);\n}\n.ngu6v24[data-disabled] {\n background: rgb(var(--md-sys-color-on-surface) / 0.12);\n color: rgb(var(--md-sys-color-on-surface) / 0.38);\n}\n.ngu6v25 {\n background: rgb(var(--md-sys-color-secondary-container));\n color: rgb(var(--md-sys-color-on-secondary-container));\n}\n.ngu6v25:disabled {\n background: rgb(var(--md-sys-color-on-surface) / 0.12);\n color: rgb(var(--md-sys-color-on-surface) / 0.38);\n}\n.ngu6v25[data-disabled] {\n background: rgb(var(--md-sys-color-on-surface) / 0.12);\n color: rgb(var(--md-sys-color-on-surface) / 0.38);\n}\n.ngu6v26 {\n background: transparent;\n color: rgb(var(--md-sys-color-primary));\n border: 1px solid rgb(var(--md-sys-color-outline));\n}\n.ngu6v26:disabled {\n color: rgb(var(--md-sys-color-on-surface) / 0.38);\n border-color: rgb(var(--md-sys-color-on-surface) / 0.12);\n}\n.ngu6v26[data-disabled] {\n color: rgb(var(--md-sys-color-on-surface) / 0.38);\n border-color: rgb(var(--md-sys-color-on-surface) / 0.12);\n}\n.ngu6v27 {\n background: rgb(var(--md-sys-color-surface-container-low));\n color: rgb(var(--md-sys-color-primary));\n box-shadow: var(--md-sys-elevation-level1);\n}\n.ngu6v27:disabled {\n background: rgb(var(--md-sys-color-on-surface) / 0.12);\n color: rgb(var(--md-sys-color-on-surface) / 0.38);\n box-shadow: none;\n}\n.ngu6v27[data-disabled] {\n background: rgb(var(--md-sys-color-on-surface) / 0.12);\n color: rgb(var(--md-sys-color-on-surface) / 0.38);\n box-shadow: none;\n}\n.ngu6v28 {\n background: transparent;\n color: rgb(var(--md-sys-color-primary));\n}\n.ngu6v28:disabled {\n color: rgb(var(--md-sys-color-on-surface) / 0.38);\n}\n.ngu6v28[data-disabled] {\n color: rgb(var(--md-sys-color-on-surface) / 0.38);\n}\n.ngu6v2a {\n background: rgb(var(--md-sys-color-primary));\n color: rgb(var(--md-sys-color-on-primary));\n}\n.ngu6v2a:disabled {\n background: rgb(var(--md-sys-color-on-surface) / 0.12);\n color: rgb(var(--md-sys-color-on-surface) / 0.38);\n}\n.ngu6v2a[data-disabled] {\n background: rgb(var(--md-sys-color-on-surface) / 0.12);\n color: rgb(var(--md-sys-color-on-surface) / 0.38);\n}\n.ngu6v2b {\n background: rgb(var(--md-sys-color-secondary-container));\n color: rgb(var(--md-sys-color-on-secondary-container));\n}\n.ngu6v2b:disabled {\n background: rgb(var(--md-sys-color-on-surface) / 0.12);\n color: rgb(var(--md-sys-color-on-surface) / 0.38);\n}\n.ngu6v2b[data-disabled] {\n background: rgb(var(--md-sys-color-on-surface) / 0.12);\n color: rgb(var(--md-sys-color-on-surface) / 0.38);\n}\n.ngu6v2c {\n background: transparent;\n color: rgb(var(--md-sys-color-primary));\n border: 1px solid rgb(var(--md-sys-color-outline));\n}\n.ngu6v2c:disabled {\n color: rgb(var(--md-sys-color-on-surface) / 0.38);\n border-color: rgb(var(--md-sys-color-on-surface) / 0.12);\n}\n.ngu6v2c[data-disabled] {\n color: rgb(var(--md-sys-color-on-surface) / 0.38);\n border-color: rgb(var(--md-sys-color-on-surface) / 0.12);\n}\n.ngu6v2d {\n background: rgb(var(--md-sys-color-surface-container-low));\n color: rgb(var(--md-sys-color-primary));\n box-shadow: var(--md-sys-elevation-level1);\n}\n.ngu6v2d:disabled {\n background: rgb(var(--md-sys-color-on-surface) / 0.12);\n color: rgb(var(--md-sys-color-on-surface) / 0.38);\n box-shadow: none;\n}\n.ngu6v2d[data-disabled] {\n background: rgb(var(--md-sys-color-on-surface) / 0.12);\n color: rgb(var(--md-sys-color-on-surface) / 0.38);\n box-shadow: none;\n}\n.ngu6v2e {\n background: transparent;\n color: rgb(var(--md-sys-color-primary));\n}\n.ngu6v2e:disabled {\n color: rgb(var(--md-sys-color-on-surface) / 0.38);\n}\n.ngu6v2e[data-disabled] {\n color: rgb(var(--md-sys-color-on-surface) / 0.38);\n}\n.ngu6v2f {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n transition: transform var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard);\n}\n.ngu6v22[data-popup-open] .ngu6v2f {\n transform: rotate(180deg);\n}\n.ngu6v2f > svg {\n width: 18px;\n height: 18px;\n}\n.ngu6v2g {\n min-width: 112px;\n max-width: 280px;\n padding-block: 8px;\n background: rgb(var(--md-sys-color-surface-container));\n color: rgb(var(--md-sys-color-on-surface));\n border-radius: var(--md-sys-shape-extra-small);\n box-shadow: var(--md-sys-elevation-level2);\n transform-origin: var(--transform-origin);\n outline: none;\n transition: opacity 150ms var(--md-sys-motion-easing-standard), transform 150ms var(--md-sys-motion-easing-standard);\n}\n.ngu6v2g[data-starting-style], .ngu6v2g[data-ending-style] {\n opacity: 0;\n transform: scale(0.95);\n}\n.ngu6v2h {\n position: relative;\n display: flex;\n align-items: center;\n gap: 12px;\n height: 48px;\n padding-inline: 12px;\n overflow: hidden;\n cursor: pointer;\n user-select: none;\n outline: none;\n color: rgb(var(--md-sys-color-on-surface));\n font-family: var(--md-sys-typescale-label-large-font);\n font-weight: var(--md-sys-typescale-label-large-weight);\n font-size: var(--md-sys-typescale-label-large-size);\n line-height: var(--md-sys-typescale-label-large-line-height);\n letter-spacing: var(--md-sys-typescale-label-large-tracking);\n}\n.ngu6v2h::before {\n content: \"\";\n position: absolute;\n inset: 0;\n background: currentColor;\n opacity: 0;\n pointer-events: none;\n transition: opacity 100ms var(--md-sys-motion-easing-standard);\n}\n.ngu6v2h:hover::before {\n opacity: var(--md-sys-state-hover);\n}\n.ngu6v2h[data-highlighted]::before {\n opacity: var(--md-sys-state-hover);\n}\n.ngu6v2h:active::before {\n opacity: var(--md-sys-state-pressed);\n}\n.ngu6v2h[data-disabled] {\n color: rgb(var(--md-sys-color-on-surface) / 0.38);\n pointer-events: none;\n}\n.ngu6v2h[data-disabled]::before {\n opacity: 0;\n}"],"mappings":";AAAA,CAAC;AACC,WAAS;AACT,eAAa;AACb,OAAK;AACP;AACA,CAAC;AACC,YAAU;AACV,WAAS;AACT,eAAa;AACb,mBAAiB;AACjB,UAAQ;AACR,YAAU;AACV,UAAQ;AACR,WAAS;AACT,UAAQ;AACR,eAAa;AACb,eAAa,IAAI;AACjB,eAAa,IAAI;AACjB,aAAW,IAAI;AACf,eAAa,IAAI;AACjB,kBAAgB,IAAI;AACpB;AAAA,IAAqB,gBAAgB;AAAA,IAAE,KAAK;AAAA,IAAE;AAC9C,uBAAqB,IAAI;AACzB,8BAA4B,IAAI;AAChC,OAAK;AACL,kBAAgB;AAChB,6BAA2B,IAAI;AAC/B,2BAAyB,IAAI;AAC7B,2BAAyB,IAAI;AAC7B,yBAAuB,IAAI;AAC7B;AACA,CA1BC,OA0BO;AACN,WAAS;AACT,YAAU;AACV,SAAO;AACP,cAAY;AACZ,WAAS;AACT,kBAAgB;AAChB,cAAY,QAAQ,MAAM,IAAI;AAChC;AACA,CAnCC,OAmCO,MAAM;AACZ,WAAS,IAAI;AACf;AACA,CAtCC,OAsCO,cAAc;AACpB,WAAS,IAAI;AACf;AACA,CAzCC,OAyCO,OAAO;AACb,WAAS,IAAI;AACf;AACA,CA5CC,OA4CO,CAAC,aAAa;AACpB,WAAS,IAAI;AACf;AACA,CA/CC,OA+CO;AACN,WAAS,IAAI,MAAM,IAAI,IAAI;AAC3B,kBAAgB;AAClB;AACA,CAnDC,OAmDO;AAAW,CAnDlB,OAmD0B,CAAC;AAC1B,kBAAgB;AAClB;AACA,CAtDC,OAsDO,SAAS;AAAU,CAtD1B,OAsDkC,CAAC,cAAc;AAChD,WAAS;AACX;AACA,CAAC;AACC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ACjE;AACA,CA5LC,OA4LO,CAAC,iBAAiB,CAPzB;AAQC,aAAW,OAAO;AACpB;AACA,CAVC,QAUQ,EAAE;AACT,SAAO;AACP,UAAQ;AACV;AACA,CAAC;AACC,aAAW;AACX,aAAW;AACX,iBAAe;AACf,cAAY,IAAI,IAAI;AACpB,SAAO,IAAI,IAAI;AACf,iBAAe,IAAI;AACnB,cAAY,IAAI;AAChB,oBAAkB,IAAI;AACtB,WAAS;AACT,cAAY,QAAQ,MAAM,IAAI,gCAAgC,EAAE,UAAU,MAAM,IAAI;AACtF;AACA,CAZC,OAYO,CAAC;AAAsB,CAZ9B,OAYsC,CAAC;AACtC,WAAS;AACT,aAAW,MAAM;AACnB;AACA,CAAC;AACC,YAAU;AACV,WAAS;AACT,eAAa;AACb,OAAK;AACL,UAAQ;AACR,kBAAgB;AAChB,YAAU;AACV,UAAQ;AACR,eAAa;AACb,WAAS;AACT,SAAO,IAAI,IAAI;AACf,eAAa,IAAI;AACjB,eAAa,IAAI;AACjB,aAAW,IAAI;AACf,eAAa,IAAI;AACjB,kBAAgB,IAAI;AACtB;AACA,CAlBC,OAkBO;AACN,WAAS;AACT,YAAU;AACV,SAAO;AACP,cAAY;AACZ,WAAS;AACT,kBAAgB;AAChB,cAAY,QAAQ,MAAM,IAAI;AAChC;AACA,CA3BC,OA2BO,MAAM;AACZ,WAAS,IAAI;AACf;AACA,CA9BC,OA8BO,CAAC,iBAAiB;AACxB,WAAS,IAAI;AACf;AACA,CAjCC,OAiCO,OAAO;AACb,WAAS,IAAI;AACf;AACA,CApCC,OAoCO,CAAC;AACP,SAAO,IAAI,IAAI,2BAA2B,EAAE;AAC5C,kBAAgB;AAClB;AACA,CAxCC,OAwCO,CAAC,cAAc;AACrB,WAAS;AACX;","names":[]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import './index.css';
|
|
3
|
+
import { createSplitButton } from '@m3-baseui/core';
|
|
4
|
+
import { createRuntimeFn } from '@vanilla-extract/recipes/createRuntimeFn';
|
|
5
|
+
|
|
6
|
+
// src/components/split-button/split-button.ts
|
|
7
|
+
var chevron = "ngu6v2f";
|
|
8
|
+
var group = "ngu6v20";
|
|
9
|
+
var item = "ngu6v2h";
|
|
10
|
+
var leading = createRuntimeFn({ defaultClassName: "ngu6v23 ngu6v21", variantClassNames: { variant: { filled: "ngu6v24", tonal: "ngu6v25", outlined: "ngu6v26", elevated: "ngu6v27", text: "ngu6v28" } }, defaultVariants: {}, compoundVariants: [] });
|
|
11
|
+
var popup = "ngu6v2g";
|
|
12
|
+
var trailing = createRuntimeFn({ defaultClassName: "ngu6v29 ngu6v22", variantClassNames: { variant: { filled: "ngu6v2a", tonal: "ngu6v2b", outlined: "ngu6v2c", elevated: "ngu6v2d", text: "ngu6v2e" } }, defaultVariants: {}, compoundVariants: [] });
|
|
13
|
+
|
|
14
|
+
// src/components/split-button/split-button.ts
|
|
15
|
+
var SplitButton = createSplitButton({
|
|
16
|
+
group,
|
|
17
|
+
leading: (variant) => leading({ variant }),
|
|
18
|
+
trailing: (variant) => trailing({ variant }),
|
|
19
|
+
chevron,
|
|
20
|
+
popup,
|
|
21
|
+
item
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export { SplitButton };
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/split-button/split-button.css.ts","../../../src/components/split-button/split-button.ts"],"names":["_7a468"],"mappings":";;;;;;AAEO,IAAI,OAAA,GAAU,SAAA;AACd,IAAI,KAAA,GAAQ,SAAA;AACZ,IAAI,IAAA,GAAO,SAAA;AACX,IAAI,OAAA,GAAUA,eAAA,CAAO,EAAC,gBAAA,EAAiB,iBAAA,EAAkB,iBAAA,EAAkB,EAAC,OAAA,EAAQ,EAAC,MAAA,EAAO,SAAA,EAAU,KAAA,EAAM,SAAA,EAAU,QAAA,EAAS,SAAA,E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qrvP55HA55GxSn4blr38KMteto1XsqLk9phPIbd3jZ2BaS_Pdhd9g9XednSYuv4P0RyLREIkAAA';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var chevron = 'ngu6v2f';\nexport var group = 'ngu6v20';\nexport var item = 'ngu6v2h';\nexport var leading = _7a468({defaultClassName:'ngu6v23 ngu6v21',variantClassNames:{variant:{filled:'ngu6v24',tonal:'ngu6v25',outlined:'ngu6v26',elevated:'ngu6v27',text:'ngu6v28'}},defaultVariants:{},compoundVariants:[]});\nexport var leadingBase = 'ngu6v21';\nexport var popup = 'ngu6v2g';\nexport var trailing = _7a468({defaultClassName:'ngu6v29 ngu6v22',variantClassNames:{variant:{filled:'ngu6v2a',tonal:'ngu6v2b',outlined:'ngu6v2c',elevated:'ngu6v2d',text:'ngu6v2e'}},defaultVariants:{},compoundVariants:[]});\nexport var trailingBase = 'ngu6v22';","/**\n * split-button.ts — wires the VE styles into the shared SplitButton factory.\n */\nimport { createSplitButton } from '@m3-baseui/core';\nimport { group, leading, trailing, chevron, popup, item } from './split-button.css';\n\nexport const SplitButton = createSplitButton({\n group,\n leading: (variant) => leading({ variant }),\n trailing: (variant) => trailing({ variant }),\n chevron,\n popup,\n item,\n});\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* vanilla-extract-css-ns:src/switch.css.ts.vanilla.css?source=#
|
|
2
|
-
.
|
|
1
|
+
/* vanilla-extract-css-ns:src/components/switch/switch.css.ts.vanilla.css?source=#H4sIAAAAAAAAA7VXUW-bMBB-z6-wKlVKpLojpK0qV9rLfsU0TZOxD_BqbGQb2nTaf58wkGCaUGi7JzD47nz3ffcdXP_aMp7ypyhCf1YIldoKJ7QiyICkTtTwsEKIC1tKuidIKCkU4FTCc_O8uWKbG6EeCYqaJ0-Cu5yg27j0G3IQWe4I2nXrRD9jK16EyghKtOFgcKK7N35lKBeVJaimZo1xwbHdW2xzWgJOKyk3x60ExeUzsloKjkyWrAMLpqU2WFeuOe6mtaLsMTO6Upyc228rk1IGmGnlqFBgcC6yHKxrPbDKWG0IKrVQDkzzyBmq-oIdA7TuUBxFhQ0zKXSzFwO1QmXYOqo4NXxz1ae_1PBh9Xd1fUDwB6eOYpYDewT-0-M5I-vSiIKa_WZQ2_bNHIvX4bmwNJF9_K5WGGpQzhKktIJJK6K0W4eJbOZmch4_9AVF19t4fopa9d4GthPHfl_pT0YZn9BzrKQGlAuPQFLNKotrYUUiwcfsGE_Q7q3esMB0w6EO984Q6zS14HxvBcG2I3WgidWycl4dnC4Juo0um3sJqSPoru32Tgy2d6EY9OuDqvRyQqXIFBYOCksQg77JflfWiXTvYQXlhq8WqIYvY6pN0VVUUgff1_g2upwrD4GczKaP3326DUL9oFKe7HleGepvCuCiKuLNlDJAUebUihcYacO2JeiTcDkWTKuOsJUKKNuidxOgF9-E6LXroWtCEki1aRl4AOni4uEsY9o4HWWG9Oli3kRhzH49grszGkLHKtM0yrcGBc_rkjLh9t10OsUBT4ErdCDCEJLOGm0_R5BH3dRWIY5nlHuumgRa_i4RJ7muwYyPukjLcE2NoMq9ch3q1f8IERb83bl0tTkOkjfifDSxpfEoa77MzvApCvl0P-LT_ah9o0lvc5x9KnbHz4eP8KMdp7v7RUN7ecCBxk_2UKCQB0kKp5WjDrA3nNs2s716B2Ovr1Cf7a40YO14wMTe7DDS-wG3fKS_OVgXNgs6d8TgXybI5CuydeY3T37BDGx2E64_vwiT_ylzKrE7BVaQztwS_AMFAlITPw4AAA */
|
|
2
|
+
._1cdfdw00 {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: inline-flex;
|
|
5
5
|
flex-shrink: 0;
|
|
@@ -12,26 +12,26 @@
|
|
|
12
12
|
cursor: pointer;
|
|
13
13
|
transition: background-color 200ms var(--md-sys-motion-easing-standard), border-color 200ms var(--md-sys-motion-easing-standard);
|
|
14
14
|
}
|
|
15
|
-
.
|
|
15
|
+
._1cdfdw00[data-checked] {
|
|
16
16
|
background: rgb(var(--md-sys-color-primary));
|
|
17
17
|
border-color: rgb(var(--md-sys-color-primary));
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
._1cdfdw00[data-disabled] {
|
|
20
20
|
pointer-events: none;
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
._1cdfdw00[data-disabled]:not([data-checked]) {
|
|
23
23
|
background: rgb(var(--md-sys-color-surface-container-highest) / 0.12);
|
|
24
24
|
border-color: rgb(var(--md-sys-color-on-surface) / 0.12);
|
|
25
25
|
}
|
|
26
|
-
.
|
|
26
|
+
._1cdfdw00[data-disabled][data-checked] {
|
|
27
27
|
background: rgb(var(--md-sys-color-on-surface) / 0.12);
|
|
28
28
|
border-color: transparent;
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
._1cdfdw00:focus-visible {
|
|
31
31
|
outline: 3px solid rgb(var(--md-sys-color-secondary));
|
|
32
32
|
outline-offset: 2px;
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
._1cdfdw01 {
|
|
35
35
|
position: absolute;
|
|
36
36
|
top: 50%;
|
|
37
37
|
left: 6px;
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
pointer-events: none;
|
|
48
48
|
transition: all var(--md-sys-motion-duration-medium2) var(--md-sys-motion-easing-emphasized);
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
._1cdfdw01[data-with-icon][data-unchecked] {
|
|
51
51
|
left: 4px;
|
|
52
52
|
width: 24px;
|
|
53
53
|
height: 24px;
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
._1cdfdw01::before {
|
|
56
56
|
content: "";
|
|
57
57
|
position: absolute;
|
|
58
58
|
left: 50%;
|
|
@@ -65,75 +65,75 @@
|
|
|
65
65
|
transform: translate(-50%, -50%);
|
|
66
66
|
transition: opacity 100ms var(--md-sys-motion-easing-standard);
|
|
67
67
|
}
|
|
68
|
-
.
|
|
68
|
+
._1cdfdw00[data-checked] ._1cdfdw01 {
|
|
69
69
|
left: 22px;
|
|
70
70
|
width: 24px;
|
|
71
71
|
height: 24px;
|
|
72
72
|
background: rgb(var(--md-sys-color-on-primary));
|
|
73
73
|
color: rgb(var(--md-sys-color-primary));
|
|
74
74
|
}
|
|
75
|
-
.
|
|
75
|
+
._1cdfdw00:hover ._1cdfdw01 {
|
|
76
76
|
background: rgb(var(--md-sys-color-on-surface-variant));
|
|
77
77
|
}
|
|
78
|
-
.
|
|
78
|
+
._1cdfdw00:focus-visible ._1cdfdw01 {
|
|
79
79
|
background: rgb(var(--md-sys-color-on-surface-variant));
|
|
80
80
|
}
|
|
81
|
-
.
|
|
81
|
+
._1cdfdw00[data-checked]:hover ._1cdfdw01 {
|
|
82
82
|
background: rgb(var(--md-sys-color-primary-container));
|
|
83
83
|
}
|
|
84
|
-
.
|
|
84
|
+
._1cdfdw00[data-checked]:focus-visible ._1cdfdw01 {
|
|
85
85
|
background: rgb(var(--md-sys-color-primary-container));
|
|
86
86
|
}
|
|
87
|
-
.
|
|
87
|
+
._1cdfdw00[data-checked]:active ._1cdfdw01 {
|
|
88
88
|
left: 20px;
|
|
89
89
|
width: 28px;
|
|
90
90
|
height: 28px;
|
|
91
91
|
}
|
|
92
|
-
.
|
|
92
|
+
._1cdfdw00:active ._1cdfdw01 {
|
|
93
93
|
left: 0px;
|
|
94
94
|
width: 28px;
|
|
95
95
|
height: 28px;
|
|
96
96
|
background: rgb(var(--md-sys-color-on-surface-variant));
|
|
97
97
|
}
|
|
98
|
-
.
|
|
98
|
+
._1cdfdw00[data-disabled] ._1cdfdw01 {
|
|
99
99
|
background: rgb(var(--md-sys-color-on-surface) / 0.38);
|
|
100
100
|
}
|
|
101
|
-
.
|
|
101
|
+
._1cdfdw00[data-disabled][data-checked] ._1cdfdw01 {
|
|
102
102
|
background: rgb(var(--md-sys-color-surface));
|
|
103
103
|
}
|
|
104
|
-
.
|
|
104
|
+
._1cdfdw00:hover ._1cdfdw01::before {
|
|
105
105
|
opacity: var(--md-sys-state-hover);
|
|
106
106
|
}
|
|
107
|
-
.
|
|
107
|
+
._1cdfdw00:focus-visible ._1cdfdw01::before {
|
|
108
108
|
opacity: var(--md-sys-state-focus);
|
|
109
109
|
}
|
|
110
|
-
.
|
|
110
|
+
._1cdfdw00:active ._1cdfdw01::before {
|
|
111
111
|
opacity: var(--md-sys-state-pressed);
|
|
112
112
|
}
|
|
113
|
-
.
|
|
113
|
+
._1cdfdw02 {
|
|
114
114
|
display: none;
|
|
115
115
|
align-items: center;
|
|
116
116
|
justify-content: center;
|
|
117
117
|
color: rgb(var(--md-sys-color-on-primary-container));
|
|
118
118
|
}
|
|
119
|
-
.
|
|
119
|
+
._1cdfdw00[data-checked] ._1cdfdw02 {
|
|
120
120
|
display: inline-flex;
|
|
121
121
|
}
|
|
122
|
-
.
|
|
122
|
+
._1cdfdw02 > svg {
|
|
123
123
|
width: 16px;
|
|
124
124
|
height: 16px;
|
|
125
125
|
}
|
|
126
|
-
.
|
|
126
|
+
._1cdfdw03 {
|
|
127
127
|
display: inline-flex;
|
|
128
128
|
align-items: center;
|
|
129
129
|
justify-content: center;
|
|
130
130
|
color: rgb(var(--md-sys-color-surface-container-highest));
|
|
131
131
|
}
|
|
132
|
-
.
|
|
132
|
+
._1cdfdw00[data-checked] ._1cdfdw03 {
|
|
133
133
|
display: none;
|
|
134
134
|
}
|
|
135
|
-
.
|
|
135
|
+
._1cdfdw03 > svg {
|
|
136
136
|
width: 16px;
|
|
137
137
|
height: 16px;
|
|
138
138
|
}
|
|
139
|
-
/*# sourceMappingURL=
|
|
139
|
+
/*# sourceMappingURL=index.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["vanilla-extract-css-ns:src/components/switch/switch.css.ts.vanilla.css?source=#H4sIAAAAAAAAA7VXUW-bMBB-z6-wKlVKpLojpK0qV9rLfsU0TZOxD_BqbGQb2nTaf58wkGCaUGi7JzD47nz3ffcdXP_aMp7ypyhCf1YIldoKJ7QiyICkTtTwsEKIC1tKuidIKCkU4FTCc_O8uWKbG6EeCYqaJ0-Cu5yg27j0G3IQWe4I2nXrRD9jK16EyghKtOFgcKK7N35lKBeVJaimZo1xwbHdW2xzWgJOKyk3x60ExeUzsloKjkyWrAMLpqU2WFeuOe6mtaLsMTO6Upyc228rk1IGmGnlqFBgcC6yHKxrPbDKWG0IKrVQDkzzyBmq-oIdA7TuUBxFhQ0zKXSzFwO1QmXYOqo4NXxz1ae_1PBh9Xd1fUDwB6eOYpYDewT-0-M5I-vSiIKa_WZQ2_bNHIvX4bmwNJF9_K5WGGpQzhKktIJJK6K0W4eJbOZmch4_9AVF19t4fopa9d4GthPHfl_pT0YZn9BzrKQGlAuPQFLNKotrYUUiwcfsGE_Q7q3esMB0w6EO984Q6zS14HxvBcG2I3WgidWycl4dnC4Juo0um3sJqSPoru32Tgy2d6EY9OuDqvRyQqXIFBYOCksQg77JflfWiXTvYQXlhq8WqIYvY6pN0VVUUgff1_g2upwrD4GczKaP3326DUL9oFKe7HleGepvCuCiKuLNlDJAUebUihcYacO2JeiTcDkWTKuOsJUKKNuidxOgF9-E6LXroWtCEki1aRl4AOni4uEsY9o4HWWG9Oli3kRhzH49grszGkLHKtM0yrcGBc_rkjLh9t10OsUBT4ErdCDCEJLOGm0_R5BH3dRWIY5nlHuumgRa_i4RJ7muwYyPukjLcE2NoMq9ch3q1f8IERb83bl0tTkOkjfifDSxpfEoa77MzvApCvl0P-LT_ah9o0lvc5x9KnbHz4eP8KMdp7v7RUN7ecCBxk_2UKCQB0kKp5WjDrA3nNs2s716B2Ovr1Cf7a40YO14wMTe7DDS-wG3fKS_OVgXNgs6d8TgXybI5CuydeY3T37BDGx2E64_vwiT_ylzKrE7BVaQztwS_AMFAlITPw4AAA"],"sourcesContent":["._1cdfdw00 {\n position: relative;\n display: inline-flex;\n flex-shrink: 0;\n width: 52px;\n height: 32px;\n box-sizing: border-box;\n border-radius: var(--md-sys-shape-full);\n border: 2px solid rgb(var(--md-sys-color-outline));\n background: rgb(var(--md-sys-color-surface-container-highest));\n cursor: pointer;\n transition: background-color 200ms var(--md-sys-motion-easing-standard), border-color 200ms var(--md-sys-motion-easing-standard);\n}\n._1cdfdw00[data-checked] {\n background: rgb(var(--md-sys-color-primary));\n border-color: rgb(var(--md-sys-color-primary));\n}\n._1cdfdw00[data-disabled] {\n pointer-events: none;\n}\n._1cdfdw00[data-disabled]:not([data-checked]) {\n background: rgb(var(--md-sys-color-surface-container-highest) / 0.12);\n border-color: rgb(var(--md-sys-color-on-surface) / 0.12);\n}\n._1cdfdw00[data-disabled][data-checked] {\n background: rgb(var(--md-sys-color-on-surface) / 0.12);\n border-color: transparent;\n}\n._1cdfdw00:focus-visible {\n outline: 3px solid rgb(var(--md-sys-color-secondary));\n outline-offset: 2px;\n}\n._1cdfdw01 {\n position: absolute;\n top: 50%;\n left: 6px;\n width: 16px;\n height: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: var(--md-sys-shape-full);\n transform: translateY(-50%);\n background: rgb(var(--md-sys-color-outline));\n color: rgb(var(--md-sys-color-on-surface));\n pointer-events: none;\n transition: all var(--md-sys-motion-duration-medium2) var(--md-sys-motion-easing-emphasized);\n}\n._1cdfdw01[data-with-icon][data-unchecked] {\n left: 4px;\n width: 24px;\n height: 24px;\n}\n._1cdfdw01::before {\n content: \"\";\n position: absolute;\n left: 50%;\n top: 50%;\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background: currentColor;\n opacity: 0;\n transform: translate(-50%, -50%);\n transition: opacity 100ms var(--md-sys-motion-easing-standard);\n}\n._1cdfdw00[data-checked] ._1cdfdw01 {\n left: 22px;\n width: 24px;\n height: 24px;\n background: rgb(var(--md-sys-color-on-primary));\n color: rgb(var(--md-sys-color-primary));\n}\n._1cdfdw00:hover ._1cdfdw01 {\n background: rgb(var(--md-sys-color-on-surface-variant));\n}\n._1cdfdw00:focus-visible ._1cdfdw01 {\n background: rgb(var(--md-sys-color-on-surface-variant));\n}\n._1cdfdw00[data-checked]:hover ._1cdfdw01 {\n background: rgb(var(--md-sys-color-primary-container));\n}\n._1cdfdw00[data-checked]:focus-visible ._1cdfdw01 {\n background: rgb(var(--md-sys-color-primary-container));\n}\n._1cdfdw00[data-checked]:active ._1cdfdw01 {\n left: 20px;\n width: 28px;\n height: 28px;\n}\n._1cdfdw00:active ._1cdfdw01 {\n left: 0px;\n width: 28px;\n height: 28px;\n background: rgb(var(--md-sys-color-on-surface-variant));\n}\n._1cdfdw00[data-disabled] ._1cdfdw01 {\n background: rgb(var(--md-sys-color-on-surface) / 0.38);\n}\n._1cdfdw00[data-disabled][data-checked] ._1cdfdw01 {\n background: rgb(var(--md-sys-color-surface));\n}\n._1cdfdw00:hover ._1cdfdw01::before {\n opacity: var(--md-sys-state-hover);\n}\n._1cdfdw00:focus-visible ._1cdfdw01::before {\n opacity: var(--md-sys-state-focus);\n}\n._1cdfdw00:active ._1cdfdw01::before {\n opacity: var(--md-sys-state-pressed);\n}\n._1cdfdw02 {\n display: none;\n align-items: center;\n justify-content: center;\n color: rgb(var(--md-sys-color-on-primary-container));\n}\n._1cdfdw00[data-checked] ._1cdfdw02 {\n display: inline-flex;\n}\n._1cdfdw02 > svg {\n width: 16px;\n height: 16px;\n}\n._1cdfdw03 {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n color: rgb(var(--md-sys-color-surface-container-highest));\n}\n._1cdfdw00[data-checked] ._1cdfdw03 {\n display: none;\n}\n._1cdfdw03 > svg {\n width: 16px;\n height: 16px;\n}"],"mappings":";AAAA,CAAC;AACC,YAAU;AACV,WAAS;AACT,eAAa;AACb,SAAO;AACP,UAAQ;AACR,cAAY;AACZ,iBAAe,IAAI;AACnB,UAAQ,IAAI,MAAM,IAAI,IAAI;AAC1B,cAAY,IAAI,IAAI;AACpB,UAAQ;AACR,cAAY,iBAAiB,MAAM,IAAI,gCAAgC,EAAE,aAAa,MAAM,IAAI;AAClG;AACA,CAbC,SAaS,CAAC;AACT,cAAY,IAAI,IAAI;AACpB,gBAAc,IAAI,IAAI;AACx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AAmDC,cAAY,IAAI,IAAI;AACtB;AACA,CArFC,SAqFS,CAAC,aAAa,QAAQ,CArD/B;AAsDC,QAAM;AACN,SAAO;AACP,UAAQ;AACV;AACA,CA1FC,SA0FS,QAAQ,CA1DjB;AA2DC,QAAM;AACN,SAAO;AACP,UAAQ;AACR,cAAY,IAAI,IAAI;AACtB;AACA,CAhGC,SAgGS,CAAC,eAAe,CAhEzB;AAiEC,cAAY,IAAI,IAAI,2BAA2B,EAAE;AACnD;AACA,CAnGC,SAmGS,CAAC,cAAc,CAAC,cAAc,CAnEvC;AAoEC,cAAY,IAAI,IAAI;AACtB;AACA,CAtGC,SAsGS,OAAO,CAtEhB,SAsE0B;AACzB,WAAS,IAAI;AACf;AACA,CAzGC,SAyGS,eAAe,CAzExB,SAyEkC;AACjC,WAAS,IAAI;AACf;AACA,CA5GC,SA4GS,QAAQ,CA5EjB,SA4E2B;AAC1B,WAAS,IAAI;AACf;AACA,CAAC;AACC,WAAS;AACT,eAAa;AACb,mBAAiB;AACjB,SAAO,IAAI,IAAI;AACjB;AACA,CArHC,SAqHS,CAAC,cAAc,CANxB;AAOC,WAAS;AACX;AACA,CATC,UASU,EAAE;AACX,SAAO;AACP,UAAQ;AACV;AACA,CAAC;AACC,WAAS;AACT,eAAa;AACb,mBAAiB;AACjB,SAAO,IAAI,IAAI;AACjB;AACA,CAlIC,SAkIS,CAAC,cAAc,CANxB;AAOC,WAAS;AACX;AACA,CATC,UASU,EAAE;AACX,SAAO;AACP,UAAQ;AACV;","names":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import './index.css';
|
|
3
|
+
import { createSwitch } from '@m3-baseui/core';
|
|
4
|
+
|
|
5
|
+
// src/components/switch/switch.ts
|
|
6
|
+
|
|
7
|
+
// src/components/switch/switch.css.ts
|
|
8
|
+
var iconChecked = "_1cdfdw02";
|
|
9
|
+
var iconUnchecked = "_1cdfdw03";
|
|
10
|
+
var root = "_1cdfdw00";
|
|
11
|
+
var thumb = "_1cdfdw01";
|
|
12
|
+
|
|
13
|
+
// src/components/switch/switch.ts
|
|
14
|
+
var Switch = createSwitch({ root, thumb, iconChecked, iconUnchecked });
|
|
15
|
+
|
|
16
|
+
export { Switch };
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/switch/switch.css.ts","../../../src/components/switch/switch.ts"],"names":[],"mappings":";;;;;;;AACO,IAAI,WAAA,GAAc,WAAA;AAClB,IAAI,aAAA,GAAgB,WAAA;AACpB,IAAI,IAAA,GAAO,WAAA;AACX,IAAI,KAAA,GAAQ,WAAA;;;ACEZ,IAAM,SAAS,YAAA,CAAa,EAAE,MAAM,KAAA,EAAO,WAAA,EAAa,eAAe","file":"index.js","sourcesContent":["import 'src/components/switch/switch.css.ts.vanilla.css?source=#H4sIAAAAAAAAA7VXUW-bMBB-z6-wKlVKpLojpK0qV9rLfsU0TZOxD_BqbGQb2nTaf58wkGCaUGi7JzD47nz3ffcdXP_aMp7ypyhCf1YIldoKJ7QiyICkTtTwsEKIC1tKuidIKCkU4FTCc_O8uWKbG6EeCYqaJ0-Cu5yg27j0G3IQWe4I2nXrRD9jK16EyghKtOFgcKK7N35lKBeVJaimZo1xwbHdW2xzWgJOKyk3x60ExeUzsloKjkyWrAMLpqU2WFeuOe6mtaLsMTO6Upyc228rk1IGmGnlqFBgcC6yHKxrPbDKWG0IKrVQDkzzyBmq-oIdA7TuUBxFhQ0zKXSzFwO1QmXYOqo4NXxz1ae_1PBh9Xd1fUDwB6eOYpYDewT-0-M5I-vSiIKa_WZQ2_bNHIvX4bmwNJF9_K5WGGpQzhKktIJJK6K0W4eJbOZmch4_9AVF19t4fopa9d4GthPHfl_pT0YZn9BzrKQGlAuPQFLNKotrYUUiwcfsGE_Q7q3esMB0w6EO984Q6zS14HxvBcG2I3WgidWycl4dnC4Juo0um3sJqSPoru32Tgy2d6EY9OuDqvRyQqXIFBYOCksQg77JflfWiXTvYQXlhq8WqIYvY6pN0VVUUgff1_g2upwrD4GczKaP3326DUL9oFKe7HleGepvCuCiKuLNlDJAUebUihcYacO2JeiTcDkWTKuOsJUKKNuidxOgF9-E6LXroWtCEki1aRl4AOni4uEsY9o4HWWG9Oli3kRhzH49grszGkLHKtM0yrcGBc_rkjLh9t10OsUBT4ErdCDCEJLOGm0_R5BH3dRWIY5nlHuumgRa_i4RJ7muwYyPukjLcE2NoMq9ch3q1f8IERb83bl0tTkOkjfifDSxpfEoa77MzvApCvl0P-LT_ah9o0lvc5x9KnbHz4eP8KMdp7v7RUN7ecCBxk_2UKCQB0kKp5WjDrA3nNs2s716B2Ovr1Cf7a40YO14wMTe7DDS-wG3fKS_OVgXNgs6d8TgXybI5CuydeY3T37BDGx2E64_vwiT_ylzKrE7BVaQztwS_AMFAlITPw4AAA';\nexport var iconChecked = '_1cdfdw02';\nexport var iconUnchecked = '_1cdfdw03';\nexport var root = '_1cdfdw00';\nexport var thumb = '_1cdfdw01';","/**\n * switch.ts — wires the VE styles into the shared factory.\n */\nimport { createSwitch } from '@m3-baseui/core';\nimport { root, thumb, iconChecked, iconUnchecked } from './switch.css';\n\nexport const Switch = createSwitch({ root, thumb, iconChecked, iconUnchecked });\n"]}
|