@seed-design/css 1.2.16 → 2.1.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.
Files changed (183) hide show
  1. package/all.css +4956 -1923
  2. package/all.layered.css +5922 -2881
  3. package/all.layered.min.css +1 -1
  4. package/all.min.css +1 -1
  5. package/base.css +348 -33
  6. package/base.layered.css +348 -33
  7. package/base.layered.min.css +1 -1
  8. package/base.min.css +1 -1
  9. package/breakpoints/index.d.ts +7 -0
  10. package/breakpoints/index.mjs +17 -0
  11. package/package.json +6 -1
  12. package/recipes/accordion.css +268 -0
  13. package/recipes/accordion.d.ts +33 -0
  14. package/recipes/accordion.layered.css +308 -0
  15. package/recipes/accordion.layered.mjs +94 -0
  16. package/recipes/accordion.mjs +94 -0
  17. package/recipes/action-button.css +56 -4
  18. package/recipes/action-button.d.ts +16 -0
  19. package/recipes/action-button.layered.css +60 -4
  20. package/recipes/app-bar.css +0 -3
  21. package/recipes/app-bar.d.ts +0 -4
  22. package/recipes/app-bar.layered.css +0 -4
  23. package/recipes/app-bar.layered.mjs +1 -5
  24. package/recipes/app-bar.mjs +1 -5
  25. package/recipes/app-screen.css +3 -0
  26. package/recipes/app-screen.layered.css +4 -0
  27. package/recipes/attachment-input-item.css +275 -0
  28. package/recipes/attachment-input-item.d.ts +24 -0
  29. package/recipes/attachment-input-item.layered.css +288 -0
  30. package/recipes/attachment-input-item.layered.mjs +79 -0
  31. package/recipes/attachment-input-item.mjs +79 -0
  32. package/recipes/attachment-input-trigger.css +71 -0
  33. package/recipes/attachment-input-trigger.d.ts +21 -0
  34. package/recipes/attachment-input-trigger.layered.css +85 -0
  35. package/recipes/attachment-input-trigger.layered.mjs +48 -0
  36. package/recipes/attachment-input-trigger.mjs +48 -0
  37. package/recipes/attachment-input.css +55 -0
  38. package/recipes/attachment-input.d.ts +21 -0
  39. package/recipes/attachment-input.layered.css +64 -0
  40. package/recipes/attachment-input.layered.mjs +48 -0
  41. package/recipes/attachment-input.mjs +48 -0
  42. package/recipes/avatar.d.ts +9 -0
  43. package/recipes/badge.d.ts +10 -0
  44. package/recipes/bottom-sheet.css +62 -5
  45. package/recipes/bottom-sheet.layered.css +67 -5
  46. package/recipes/callout.d.ts +7 -0
  47. package/recipes/checkmark.d.ts +3 -0
  48. package/recipes/chip-tabs.css +8 -52
  49. package/recipes/chip-tabs.d.ts +1 -1
  50. package/recipes/chip-tabs.layered.css +8 -62
  51. package/recipes/chip-tabs.layered.mjs +1 -2
  52. package/recipes/chip-tabs.mjs +1 -2
  53. package/recipes/chip.d.ts +4 -0
  54. package/recipes/contextual-floating-button.d.ts +6 -0
  55. package/recipes/dialog.css +14 -11
  56. package/recipes/dialog.layered.css +4 -0
  57. package/recipes/footer.css +44 -0
  58. package/recipes/footer.d.ts +24 -0
  59. package/recipes/footer.layered.css +52 -0
  60. package/recipes/footer.layered.mjs +39 -0
  61. package/recipes/footer.mjs +39 -0
  62. package/recipes/help-bubble.css +29 -1
  63. package/recipes/help-bubble.layered.css +34 -1
  64. package/recipes/image-frame.css +0 -3
  65. package/recipes/image-frame.d.ts +0 -4
  66. package/recipes/image-frame.layered.css +0 -4
  67. package/recipes/image-frame.layered.mjs +1 -6
  68. package/recipes/image-frame.mjs +1 -6
  69. package/recipes/input-button.css +176 -20
  70. package/recipes/input-button.d.ts +8 -1
  71. package/recipes/input-button.layered.css +197 -21
  72. package/recipes/input-button.layered.mjs +10 -2
  73. package/recipes/input-button.mjs +10 -2
  74. package/recipes/layout.css +25 -0
  75. package/recipes/layout.d.ts +24 -0
  76. package/recipes/layout.layered.css +25 -0
  77. package/recipes/layout.layered.mjs +44 -0
  78. package/recipes/layout.mjs +44 -0
  79. package/recipes/list-item.css +72 -4
  80. package/recipes/list-item.layered.css +84 -4
  81. package/recipes/menu-item.css +174 -0
  82. package/recipes/menu-item.d.ts +35 -0
  83. package/recipes/menu-item.layered.css +200 -0
  84. package/recipes/menu-item.layered.mjs +57 -0
  85. package/recipes/menu-item.mjs +57 -0
  86. package/recipes/menu-sheet-item.d.ts +6 -0
  87. package/recipes/menu-sheet.css +19 -1
  88. package/recipes/menu-sheet.layered.css +22 -1
  89. package/recipes/menu.css +119 -0
  90. package/recipes/menu.d.ts +28 -0
  91. package/recipes/menu.layered.css +139 -0
  92. package/recipes/menu.layered.mjs +56 -0
  93. package/recipes/menu.mjs +56 -0
  94. package/recipes/notification-badge.d.ts +3 -0
  95. package/recipes/page-banner.d.ts +5 -0
  96. package/recipes/progress-circle.d.ts +7 -0
  97. package/recipes/{selectBoxCheckmark.css → select-box-checkmark.css} +6 -6
  98. package/recipes/{selectBoxCheckmark.layered.css → select-box-checkmark.layered.css} +6 -6
  99. package/recipes/{selectBoxCheckmark.layered.mjs → select-box-checkmark.layered.mjs} +4 -4
  100. package/recipes/{selectBoxCheckmark.mjs → select-box-checkmark.mjs} +4 -4
  101. package/recipes/side-navigation-inset.css +4 -0
  102. package/recipes/side-navigation-inset.d.ts +19 -0
  103. package/recipes/side-navigation-inset.layered.css +6 -0
  104. package/recipes/side-navigation-inset.layered.mjs +22 -0
  105. package/recipes/side-navigation-inset.mjs +22 -0
  106. package/recipes/side-navigation-menu-item.css +135 -0
  107. package/recipes/side-navigation-menu-item.d.ts +21 -0
  108. package/recipes/side-navigation-menu-item.layered.css +156 -0
  109. package/recipes/side-navigation-menu-item.layered.mjs +48 -0
  110. package/recipes/side-navigation-menu-item.mjs +48 -0
  111. package/recipes/side-navigation.css +115 -0
  112. package/recipes/side-navigation.d.ts +24 -0
  113. package/recipes/side-navigation.layered.css +132 -0
  114. package/recipes/side-navigation.layered.mjs +63 -0
  115. package/recipes/side-navigation.mjs +63 -0
  116. package/recipes/side-panel.css +327 -0
  117. package/recipes/side-panel.d.ts +24 -0
  118. package/recipes/side-panel.layered.css +361 -0
  119. package/recipes/side-panel.layered.mjs +72 -0
  120. package/recipes/side-panel.mjs +72 -0
  121. package/recipes/skeleton.css +36 -2
  122. package/recipes/skeleton.d.ts +8 -0
  123. package/recipes/skeleton.layered.css +40 -2
  124. package/recipes/text-input.css +323 -52
  125. package/recipes/text-input.d.ts +8 -1
  126. package/recipes/text-input.layered.css +385 -51
  127. package/recipes/text-input.layered.mjs +18 -1
  128. package/recipes/text-input.mjs +18 -1
  129. package/recipes/text.css +180 -0
  130. package/recipes/text.d.ts +59 -1
  131. package/recipes/text.layered.css +216 -0
  132. package/recipes/text.layered.mjs +37 -1
  133. package/recipes/text.mjs +37 -1
  134. package/recipes/toggle-button.d.ts +3 -0
  135. package/vars/color/bg.d.ts +3 -1
  136. package/vars/color/bg.mjs +2 -0
  137. package/vars/color/stroke.d.ts +2 -2
  138. package/vars/color/stroke.mjs +2 -2
  139. package/vars/component/accordion-item.d.ts +132 -0
  140. package/vars/component/accordion-item.mjs +126 -0
  141. package/vars/component/accordion.d.ts +22 -0
  142. package/vars/component/accordion.mjs +16 -0
  143. package/vars/component/attachment-input-dropzone.d.ts +32 -0
  144. package/vars/component/attachment-input-dropzone.mjs +30 -0
  145. package/vars/component/attachment-input-item-action-button.d.ts +37 -0
  146. package/vars/component/attachment-input-item-action-button.mjs +37 -0
  147. package/vars/component/attachment-input-item-remove-button.d.ts +28 -0
  148. package/vars/component/attachment-input-item-remove-button.mjs +28 -0
  149. package/vars/component/attachment-input-item.d.ts +103 -0
  150. package/vars/component/attachment-input-item.mjs +102 -0
  151. package/vars/component/attachment-input-trigger.d.ts +46 -0
  152. package/vars/component/attachment-input-trigger.mjs +46 -0
  153. package/vars/component/attachment-input.d.ts +14 -0
  154. package/vars/component/attachment-input.mjs +12 -0
  155. package/vars/component/chip-tablist.d.ts +0 -7
  156. package/vars/component/chip-tablist.mjs +0 -7
  157. package/vars/component/image-frame.d.ts +1 -22
  158. package/vars/component/image-frame.mjs +1 -9
  159. package/vars/component/index.d.ts +12 -1
  160. package/vars/component/index.mjs +12 -1
  161. package/vars/component/input-button.d.ts +90 -17
  162. package/vars/component/input-button.mjs +84 -17
  163. package/vars/component/menu-item.d.ts +129 -0
  164. package/vars/component/menu-item.mjs +117 -0
  165. package/vars/component/menu.d.ts +68 -0
  166. package/vars/component/menu.mjs +60 -0
  167. package/vars/component/side-panel-close-button.d.ts +23 -0
  168. package/vars/component/side-panel-close-button.mjs +23 -0
  169. package/vars/component/side-panel.d.ts +94 -0
  170. package/vars/component/side-panel.mjs +83 -0
  171. package/vars/component/text-input.d.ts +92 -24
  172. package/vars/component/text-input.mjs +76 -24
  173. package/vars/component/typography.d.ts +414 -0
  174. package/vars/component/typography.mjs +324 -0
  175. package/vars/font-size.d.ts +17 -1
  176. package/vars/font-size.mjs +9 -1
  177. package/vars/gradient.d.ts +0 -8
  178. package/vars/gradient.mjs +0 -2
  179. package/vars/line-height.d.ts +17 -1
  180. package/vars/line-height.mjs +9 -1
  181. package/vars/component/chip-tab.d.ts +0 -162
  182. package/vars/component/chip-tab.mjs +0 -162
  183. /package/recipes/{selectBoxCheckmark.d.ts → select-box-checkmark.d.ts} +0 -0
@@ -0,0 +1,115 @@
1
+ .seed-side-navigation__root {
2
+ display: flex;
3
+ flex-direction: column;
4
+ position: relative;
5
+ overflow-x: hidden;
6
+ width: 240px;
7
+ height: 100%;
8
+ flex-shrink: 0;
9
+ transition: width 200ms;
10
+ }
11
+ .seed-side-navigation__root[data-side-navigation-state=collapsed] {
12
+ width: 56px;
13
+ }
14
+ .seed-side-navigation__header {
15
+ box-sizing: border-box;
16
+ padding: 8px;
17
+ min-height: 64px;
18
+ flex-shrink: 0;
19
+ }
20
+ .seed-side-navigation__content {
21
+ padding-top: 8px;
22
+ padding-left: 8px;
23
+ padding-right: 8px;
24
+ padding-bottom: 24px;
25
+ flex: 1;
26
+ overflow-y: auto;
27
+ display: flex;
28
+ flex-direction: column;
29
+ gap: 8px;
30
+ }
31
+ .seed-side-navigation__content[data-scrolled] {
32
+ box-shadow: inset 0 1px 0 0 var(--seed-color-stroke-neutral-muted);
33
+ }
34
+ .seed-side-navigation__content {
35
+ mask-image: linear-gradient(to top, transparent 0, black 24px);
36
+ -webkit-mask-image: linear-gradient(to top, transparent 0, black 24px);
37
+ transition: gap 200ms, box-shadow var(--seed-duration-color-transition) var(--seed-timing-function-easing);
38
+ scrollbar-width: thin;
39
+ scrollbar-color: var(--seed-color-bg-neutral-weak-alpha) transparent;
40
+ }
41
+ .seed-side-navigation__content[data-side-navigation-state=collapsed] {
42
+ gap: 0;
43
+ scrollbar-width: none;
44
+ }
45
+ .seed-side-navigation__footer {
46
+ padding: 8px;
47
+ flex-shrink: 0;
48
+ }
49
+ .seed-side-navigation__footer:empty {
50
+ display: none;
51
+ }
52
+ .seed-side-navigation__group {
53
+ display: flex;
54
+ flex-direction: column;
55
+ }
56
+ .seed-side-navigation__groupLabel {
57
+ padding: 6px;
58
+ font-size: var(--seed-font-size-t4);
59
+ line-height: var(--seed-line-height-t4);
60
+ font-weight: var(--seed-font-weight-bold);
61
+ color: var(--seed-color-fg-neutral-muted);
62
+ overflow: hidden;
63
+ white-space: nowrap;
64
+ text-overflow: ellipsis;
65
+ opacity: 1;
66
+ pointer-events: none;
67
+ transition: margin 200ms, opacity 200ms;
68
+ }
69
+ .seed-side-navigation__groupLabel[data-side-navigation-state=collapsed] {
70
+ margin-top: calc(-1 * (1lh + 6px * 2));
71
+ opacity: 0;
72
+ }
73
+ .seed-side-navigation__trigger {
74
+ min-width: 40px;
75
+ min-height: 40px;
76
+ padding: 10px;
77
+ border-radius: 8px;
78
+ cursor: pointer;
79
+ border: none;
80
+ display: inline-flex;
81
+ align-items: center;
82
+ justify-content: center;
83
+ background: transparent;
84
+ position: absolute;
85
+ top: 12px;
86
+ right: 12px;
87
+ outline: var(--seed-dimension-x0_5) solid transparent;
88
+ outline-offset: var(--seed-dimension-x0_5);
89
+ transition: right 200ms, background-color 200ms, outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
90
+ }
91
+ .seed-side-navigation__trigger:is(:focus-visible, [data-focus-visible]) {
92
+ outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
93
+ outline-offset: var(--seed-dimension-x0_5);
94
+ }
95
+ .seed-side-navigation__trigger {
96
+ --seed-icon-size: 18px;
97
+ --seed-icon-color: var(--seed-color-fg-neutral-subtle);
98
+ }
99
+ @media (hover: hover) and (pointer: fine) {
100
+ .seed-side-navigation__trigger:is(:hover, [data-hover]) {
101
+ background: var(--seed-color-bg-transparent-pressed);
102
+ }
103
+ }
104
+ @media not all and (hover: hover) and (pointer: fine) {
105
+ .seed-side-navigation__trigger:is(:active, [data-active]) {
106
+ background: var(--seed-color-bg-transparent-pressed);
107
+ }
108
+ }
109
+ .seed-side-navigation__trigger[data-side-navigation-state=collapsed] {
110
+ right: 8px;
111
+ }
112
+ .seed-side-navigation__root--tone_neutral {
113
+ background-color: var(--seed-color-palette-gray-100);
114
+ box-shadow: inset -1px 0 0 0 var(--seed-color-stroke-neutral-muted);
115
+ }
@@ -0,0 +1,24 @@
1
+ declare interface SideNavigationVariant {
2
+ /**
3
+ * @default "neutral"
4
+ */
5
+ tone: "neutral" | "transparent";
6
+ }
7
+
8
+ declare type SideNavigationVariantMap = {
9
+ [key in keyof SideNavigationVariant]: Array<SideNavigationVariant[key]>;
10
+ };
11
+
12
+ export declare type SideNavigationVariantProps = Partial<SideNavigationVariant>;
13
+
14
+ export declare type SideNavigationSlotName = "root" | "header" | "content" | "footer" | "group" | "groupLabel" | "trigger";
15
+
16
+ export declare const sideNavigationVariantMap: SideNavigationVariantMap;
17
+
18
+ export declare const sideNavigation: ((
19
+ props?: SideNavigationVariantProps,
20
+ ) => Record<SideNavigationSlotName, string>) & {
21
+ splitVariantProps: <T extends SideNavigationVariantProps>(
22
+ props: T,
23
+ ) => [SideNavigationVariantProps, Omit<T, keyof SideNavigationVariantProps>];
24
+ }
@@ -0,0 +1,132 @@
1
+ @layer seed-components {
2
+ .seed-side-navigation__root {
3
+ flex-direction: column;
4
+ flex-shrink: 0;
5
+ width: 240px;
6
+ height: 100%;
7
+ transition: width .2s;
8
+ display: flex;
9
+ position: relative;
10
+ overflow-x: hidden;
11
+ }
12
+
13
+ .seed-side-navigation__root[data-side-navigation-state="collapsed"] {
14
+ width: 56px;
15
+ }
16
+
17
+ .seed-side-navigation__header {
18
+ box-sizing: border-box;
19
+ flex-shrink: 0;
20
+ min-height: 64px;
21
+ padding: 8px;
22
+ }
23
+
24
+ .seed-side-navigation__content {
25
+ flex-direction: column;
26
+ flex: 1;
27
+ gap: 8px;
28
+ padding: 8px 8px 24px;
29
+ display: flex;
30
+ overflow-y: auto;
31
+ }
32
+
33
+ .seed-side-navigation__content[data-scrolled] {
34
+ box-shadow: inset 0 1px 0 0 var(--seed-color-stroke-neutral-muted);
35
+ }
36
+
37
+ .seed-side-navigation__content {
38
+ transition: gap .2s, box-shadow var(--seed-duration-color-transition) var(--seed-timing-function-easing);
39
+ scrollbar-width: thin;
40
+ scrollbar-color: var(--seed-color-bg-neutral-weak-alpha) transparent;
41
+ -webkit-mask-image: linear-gradient(to top, #0000 0, #000 24px);
42
+ mask-image: linear-gradient(to top, #0000 0, #000 24px);
43
+ }
44
+
45
+ .seed-side-navigation__content[data-side-navigation-state="collapsed"] {
46
+ scrollbar-width: none;
47
+ gap: 0;
48
+ }
49
+
50
+ .seed-side-navigation__footer {
51
+ flex-shrink: 0;
52
+ padding: 8px;
53
+ }
54
+
55
+ .seed-side-navigation__footer:empty {
56
+ display: none;
57
+ }
58
+
59
+ .seed-side-navigation__group {
60
+ flex-direction: column;
61
+ display: flex;
62
+ }
63
+
64
+ .seed-side-navigation__groupLabel {
65
+ font-size: var(--seed-font-size-t4);
66
+ line-height: var(--seed-line-height-t4);
67
+ font-weight: var(--seed-font-weight-bold);
68
+ color: var(--seed-color-fg-neutral-muted);
69
+ white-space: nowrap;
70
+ text-overflow: ellipsis;
71
+ opacity: 1;
72
+ pointer-events: none;
73
+ padding: 6px;
74
+ transition: margin .2s, opacity .2s;
75
+ overflow: hidden;
76
+ }
77
+
78
+ .seed-side-navigation__groupLabel[data-side-navigation-state="collapsed"] {
79
+ opacity: 0;
80
+ margin-top: calc(-1lh - 12px);
81
+ }
82
+
83
+ .seed-side-navigation__trigger {
84
+ cursor: pointer;
85
+ outline: var(--seed-dimension-x0_5) solid transparent;
86
+ outline-offset: var(--seed-dimension-x0_5);
87
+ min-width: 40px;
88
+ min-height: 40px;
89
+ transition: right .2s, background-color .2s, outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
90
+ background: none;
91
+ border: none;
92
+ border-radius: 8px;
93
+ justify-content: center;
94
+ align-items: center;
95
+ padding: 10px;
96
+ display: inline-flex;
97
+ position: absolute;
98
+ top: 12px;
99
+ right: 12px;
100
+ }
101
+
102
+ .seed-side-navigation__trigger:is(:focus-visible, [data-focus-visible]) {
103
+ outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
104
+ outline-offset: var(--seed-dimension-x0_5);
105
+ }
106
+
107
+ .seed-side-navigation__trigger {
108
+ --seed-icon-size: 18px;
109
+ --seed-icon-color: var(--seed-color-fg-neutral-subtle);
110
+ }
111
+
112
+ @media (hover: hover) and (pointer: fine) {
113
+ .seed-side-navigation__trigger:is(:hover, [data-hover]) {
114
+ background: var(--seed-color-bg-transparent-pressed);
115
+ }
116
+ }
117
+
118
+ @media not all and (hover: hover) and (pointer: fine) {
119
+ .seed-side-navigation__trigger:is(:active, [data-active]) {
120
+ background: var(--seed-color-bg-transparent-pressed);
121
+ }
122
+ }
123
+
124
+ .seed-side-navigation__trigger[data-side-navigation-state="collapsed"] {
125
+ right: 8px;
126
+ }
127
+
128
+ .seed-side-navigation__root--tone_neutral {
129
+ background-color: var(--seed-color-palette-gray-100);
130
+ box-shadow: inset -1px 0 0 0 var(--seed-color-stroke-neutral-muted);
131
+ }
132
+ }
@@ -0,0 +1,63 @@
1
+ import './side-navigation.layered.css';
2
+ import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
3
+
4
+ const sideNavigationSlotNames = [
5
+ [
6
+ "root",
7
+ "seed-side-navigation__root"
8
+ ],
9
+ [
10
+ "header",
11
+ "seed-side-navigation__header"
12
+ ],
13
+ [
14
+ "content",
15
+ "seed-side-navigation__content"
16
+ ],
17
+ [
18
+ "footer",
19
+ "seed-side-navigation__footer"
20
+ ],
21
+ [
22
+ "group",
23
+ "seed-side-navigation__group"
24
+ ],
25
+ [
26
+ "groupLabel",
27
+ "seed-side-navigation__groupLabel"
28
+ ],
29
+ [
30
+ "trigger",
31
+ "seed-side-navigation__trigger"
32
+ ]
33
+ ];
34
+
35
+ const defaultVariant = {
36
+ "tone": "neutral"
37
+ };
38
+
39
+ const compoundVariants = [];
40
+
41
+ export const sideNavigationVariantMap = {
42
+ "tone": [
43
+ "neutral",
44
+ "transparent"
45
+ ]
46
+ };
47
+
48
+ export const sideNavigationVariantKeys = Object.keys(sideNavigationVariantMap);
49
+
50
+ export function sideNavigation(props) {
51
+ return Object.fromEntries(
52
+ sideNavigationSlotNames.map(([slot, className]) => {
53
+ return [
54
+ slot,
55
+ createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
56
+ ];
57
+ }),
58
+ );
59
+ }
60
+
61
+ Object.assign(sideNavigation, { splitVariantProps: (props) => splitVariantProps(props, sideNavigationVariantMap) });
62
+
63
+ // @recipe(seed): side-navigation
@@ -0,0 +1,63 @@
1
+ import './side-navigation.css';
2
+ import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
3
+
4
+ const sideNavigationSlotNames = [
5
+ [
6
+ "root",
7
+ "seed-side-navigation__root"
8
+ ],
9
+ [
10
+ "header",
11
+ "seed-side-navigation__header"
12
+ ],
13
+ [
14
+ "content",
15
+ "seed-side-navigation__content"
16
+ ],
17
+ [
18
+ "footer",
19
+ "seed-side-navigation__footer"
20
+ ],
21
+ [
22
+ "group",
23
+ "seed-side-navigation__group"
24
+ ],
25
+ [
26
+ "groupLabel",
27
+ "seed-side-navigation__groupLabel"
28
+ ],
29
+ [
30
+ "trigger",
31
+ "seed-side-navigation__trigger"
32
+ ]
33
+ ];
34
+
35
+ const defaultVariant = {
36
+ "tone": "neutral"
37
+ };
38
+
39
+ const compoundVariants = [];
40
+
41
+ export const sideNavigationVariantMap = {
42
+ "tone": [
43
+ "neutral",
44
+ "transparent"
45
+ ]
46
+ };
47
+
48
+ export const sideNavigationVariantKeys = Object.keys(sideNavigationVariantMap);
49
+
50
+ export function sideNavigation(props) {
51
+ return Object.fromEntries(
52
+ sideNavigationSlotNames.map(([slot, className]) => {
53
+ return [
54
+ slot,
55
+ createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
56
+ ];
57
+ }),
58
+ );
59
+ }
60
+
61
+ Object.assign(sideNavigation, { splitVariantProps: (props) => splitVariantProps(props, sideNavigationVariantMap) });
62
+
63
+ // @recipe(seed): side-navigation