@seed-design/css 1.2.4 → 1.2.6

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 (35) hide show
  1. package/all.css +62 -14
  2. package/all.layered.css +62 -14
  3. package/all.layered.min.css +1 -1
  4. package/all.min.css +1 -1
  5. package/base.css +1 -2
  6. package/base.layered.css +1 -2
  7. package/base.layered.min.css +1 -1
  8. package/base.min.css +1 -1
  9. package/package.json +2 -2
  10. package/recipes/content-placeholder.css +24 -0
  11. package/recipes/content-placeholder.d.ts +24 -0
  12. package/recipes/content-placeholder.layered.css +27 -0
  13. package/recipes/content-placeholder.layered.mjs +53 -0
  14. package/recipes/content-placeholder.mjs +53 -0
  15. package/recipes/help-bubble.css +1 -0
  16. package/recipes/help-bubble.layered.css +1 -0
  17. package/recipes/image-frame-reaction-button.css +23 -8
  18. package/recipes/image-frame-reaction-button.d.ts +3 -1
  19. package/recipes/image-frame-reaction-button.layered.css +25 -8
  20. package/recipes/image-frame-reaction-button.layered.mjs +22 -4
  21. package/recipes/image-frame-reaction-button.mjs +22 -4
  22. package/recipes/image-frame.css +13 -11
  23. package/recipes/image-frame.d.ts +3 -1
  24. package/recipes/image-frame.layered.css +9 -4
  25. package/recipes/image-frame.layered.mjs +22 -4
  26. package/recipes/image-frame.mjs +22 -4
  27. package/vars/component/content-placeholder.d.ts +28 -0
  28. package/vars/component/content-placeholder.mjs +27 -0
  29. package/vars/component/index.d.ts +1 -0
  30. package/vars/component/index.mjs +1 -0
  31. package/vars/component/text-input.d.ts +1 -0
  32. package/vars/component/text-input.mjs +1 -0
  33. package/recipes/tag-group-tag.css +0 -44
  34. package/recipes/tag-group-tag.d.ts +0 -30
  35. package/recipes/tag-group-tag.mjs +0 -41
@@ -1,4 +1,4 @@
1
- .seed-image-frame-reaction-button {
1
+ .seed-image-frame-reaction-button__root {
2
2
  display: inline-flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -10,10 +10,8 @@
10
10
  width: var(--seed-dimension-x6);
11
11
  height: var(--seed-dimension-x6);
12
12
  background: transparent;
13
- --seed-icon-size: var(--seed-dimension-x6);
14
- --seed-icon-color: var(--seed-color-palette-static-white);
15
13
  }
16
- .seed-image-frame-reaction-button::before {
14
+ .seed-image-frame-reaction-button__root::before {
17
15
  content: '';
18
16
  position: absolute;
19
17
  top: calc((var(--seed-dimension-x10) - var(--seed-dimension-x6)) / 2 * -1);
@@ -24,14 +22,31 @@
24
22
  outline-offset: calc(var(--seed-dimension-x0_5) * -1);
25
23
  transition: outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
26
24
  }
27
- .seed-image-frame-reaction-button:is(:focus, [data-focus]) {
25
+ .seed-image-frame-reaction-button__root:is(:focus, [data-focus]) {
28
26
  outline: none;
29
27
  }
30
- .seed-image-frame-reaction-button:is(:focus-visible, [data-focus-visible]):before {
28
+ .seed-image-frame-reaction-button__root:is(:focus-visible, [data-focus-visible]):before {
31
29
  border-radius: var(--seed-radius-r1);
32
30
  outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
33
31
  outline-offset: calc(var(--seed-dimension-x0_5) * -1);
34
32
  }
35
- .seed-image-frame-reaction-button:is([aria-pressed=true], [data-pressed]) {
36
- --seed-icon-color: var(--seed-color-bg-transparent);
33
+ .seed-image-frame-reaction-button__fillIcon {
34
+ position: absolute;
35
+ inset: 0;
36
+ margin: auto;
37
+ width: var(--seed-dimension-x6);
38
+ height: var(--seed-dimension-x6);
39
+ pointer-events: none;
40
+ }
41
+ .seed-image-frame-reaction-button__lineIcon {
42
+ position: absolute;
43
+ inset: 0;
44
+ margin: auto;
45
+ width: var(--seed-dimension-x6);
46
+ height: var(--seed-dimension-x6);
47
+ color: var(--seed-color-palette-static-white);
48
+ pointer-events: none;
49
+ }
50
+ .seed-image-frame-reaction-button__lineIcon:is([aria-pressed=true], [data-pressed]) {
51
+ color: var(--seed-color-bg-transparent);
37
52
  }
@@ -8,11 +8,13 @@ declare type ImageFrameReactionButtonVariantMap = {
8
8
 
9
9
  export declare type ImageFrameReactionButtonVariantProps = Partial<ImageFrameReactionButtonVariant>;
10
10
 
11
+ export declare type ImageFrameReactionButtonSlotName = "root" | "fillIcon" | "lineIcon";
12
+
11
13
  export declare const imageFrameReactionButtonVariantMap: ImageFrameReactionButtonVariantMap;
12
14
 
13
15
  export declare const imageFrameReactionButton: ((
14
16
  props?: ImageFrameReactionButtonVariantProps,
15
- ) => string) & {
17
+ ) => Record<ImageFrameReactionButtonSlotName, string>) & {
16
18
  splitVariantProps: <T extends ImageFrameReactionButtonVariantProps>(
17
19
  props: T,
18
20
  ) => [ImageFrameReactionButtonVariantProps, Omit<T, keyof ImageFrameReactionButtonVariantProps>];
@@ -1,11 +1,9 @@
1
1
  @layer seed-components {
2
- .seed-image-frame-reaction-button {
2
+ .seed-image-frame-reaction-button__root {
3
3
  box-sizing: border-box;
4
4
  cursor: pointer;
5
5
  width: var(--seed-dimension-x6);
6
6
  height: var(--seed-dimension-x6);
7
- --seed-icon-size: var(--seed-dimension-x6);
8
- --seed-icon-color: var(--seed-color-palette-static-white);
9
7
  background: none;
10
8
  border: none;
11
9
  justify-content: center;
@@ -15,7 +13,7 @@
15
13
  position: relative;
16
14
  }
17
15
 
18
- .seed-image-frame-reaction-button:before {
16
+ .seed-image-frame-reaction-button__root:before {
19
17
  content: "";
20
18
  top: calc((var(--seed-dimension-x10) - var(--seed-dimension-x6)) / 2 * -1);
21
19
  right: calc((var(--seed-dimension-x10) - var(--seed-dimension-x6)) / 2 * -1);
@@ -27,17 +25,36 @@
27
25
  position: absolute;
28
26
  }
29
27
 
30
- .seed-image-frame-reaction-button:is(:focus, [data-focus]) {
28
+ .seed-image-frame-reaction-button__root:is(:focus, [data-focus]) {
31
29
  outline: none;
32
30
  }
33
31
 
34
- .seed-image-frame-reaction-button:is(:focus-visible, [data-focus-visible]):before {
32
+ .seed-image-frame-reaction-button__root:is(:focus-visible, [data-focus-visible]):before {
35
33
  border-radius: var(--seed-radius-r1);
36
34
  outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
37
35
  outline-offset: calc(var(--seed-dimension-x0_5) * -1);
38
36
  }
39
37
 
40
- .seed-image-frame-reaction-button:is([aria-pressed="true"], [data-pressed]) {
41
- --seed-icon-color: var(--seed-color-bg-transparent);
38
+ .seed-image-frame-reaction-button__fillIcon {
39
+ width: var(--seed-dimension-x6);
40
+ height: var(--seed-dimension-x6);
41
+ pointer-events: none;
42
+ margin: auto;
43
+ position: absolute;
44
+ inset: 0;
45
+ }
46
+
47
+ .seed-image-frame-reaction-button__lineIcon {
48
+ width: var(--seed-dimension-x6);
49
+ height: var(--seed-dimension-x6);
50
+ color: var(--seed-color-palette-static-white);
51
+ pointer-events: none;
52
+ margin: auto;
53
+ position: absolute;
54
+ inset: 0;
55
+ }
56
+
57
+ .seed-image-frame-reaction-button__lineIcon:is([aria-pressed="true"], [data-pressed]) {
58
+ color: var(--seed-color-bg-transparent);
42
59
  }
43
60
  }
@@ -1,6 +1,21 @@
1
1
  import './image-frame-reaction-button.layered.css';
2
2
  import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
3
3
 
4
+ const imageFrameReactionButtonSlotNames = [
5
+ [
6
+ "root",
7
+ "seed-image-frame-reaction-button__root"
8
+ ],
9
+ [
10
+ "fillIcon",
11
+ "seed-image-frame-reaction-button__fillIcon"
12
+ ],
13
+ [
14
+ "lineIcon",
15
+ "seed-image-frame-reaction-button__lineIcon"
16
+ ]
17
+ ];
18
+
4
19
  const defaultVariant = {};
5
20
 
6
21
  const compoundVariants = [];
@@ -10,10 +25,13 @@ export const imageFrameReactionButtonVariantMap = {};
10
25
  export const imageFrameReactionButtonVariantKeys = Object.keys(imageFrameReactionButtonVariantMap);
11
26
 
12
27
  export function imageFrameReactionButton(props) {
13
- return createClassName(
14
- "seed-image-frame-reaction-button",
15
- mergeVariants(defaultVariant, props),
16
- compoundVariants,
28
+ return Object.fromEntries(
29
+ imageFrameReactionButtonSlotNames.map(([slot, className]) => {
30
+ return [
31
+ slot,
32
+ createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
33
+ ];
34
+ }),
17
35
  );
18
36
  }
19
37
 
@@ -1,6 +1,21 @@
1
1
  import './image-frame-reaction-button.css';
2
2
  import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
3
3
 
4
+ const imageFrameReactionButtonSlotNames = [
5
+ [
6
+ "root",
7
+ "seed-image-frame-reaction-button__root"
8
+ ],
9
+ [
10
+ "fillIcon",
11
+ "seed-image-frame-reaction-button__fillIcon"
12
+ ],
13
+ [
14
+ "lineIcon",
15
+ "seed-image-frame-reaction-button__lineIcon"
16
+ ]
17
+ ];
18
+
4
19
  const defaultVariant = {};
5
20
 
6
21
  const compoundVariants = [];
@@ -10,10 +25,13 @@ export const imageFrameReactionButtonVariantMap = {};
10
25
  export const imageFrameReactionButtonVariantKeys = Object.keys(imageFrameReactionButtonVariantMap);
11
26
 
12
27
  export function imageFrameReactionButton(props) {
13
- return createClassName(
14
- "seed-image-frame-reaction-button",
15
- mergeVariants(defaultVariant, props),
16
- compoundVariants,
28
+ return Object.fromEntries(
29
+ imageFrameReactionButtonSlotNames.map(([slot, className]) => {
30
+ return [
31
+ slot,
32
+ createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
33
+ ];
34
+ }),
17
35
  );
18
36
  }
19
37
 
@@ -1,16 +1,20 @@
1
- .seed-image-frame {
1
+ .seed-image-frame__root {
2
2
  position: relative;
3
3
  overflow: hidden;
4
- border-radius: inherit;
4
+ border-radius: inherit
5
5
  }
6
- .seed-image-frame > img, .seed-image-frame > video {
6
+ .seed-image-frame__content {
7
7
  display: block;
8
8
  width: 100%;
9
9
  height: 100%;
10
10
  object-fit: cover;
11
- border-radius: inherit;
11
+ border-radius: inherit
12
12
  }
13
- .seed-image-frame--stroke_true::after {
13
+ .seed-image-frame__fallback {
14
+ width: 100%;
15
+ height: 100%
16
+ }
17
+ .seed-image-frame__root--stroke_true::after {
14
18
  content: '';
15
19
  position: absolute;
16
20
  top: 0;
@@ -19,10 +23,8 @@
19
23
  bottom: 0;
20
24
  pointer-events: none;
21
25
  border-radius: inherit;
22
- box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral-subtle);
23
- }
24
- .seed-image-frame--stroke_false {}
25
- .seed-image-frame--rounded_true {
26
- border-radius: var(--seed-radius-r2);
26
+ box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral-subtle)
27
27
  }
28
- .seed-image-frame--rounded_false {}
28
+ .seed-image-frame__root--rounded_true {
29
+ border-radius: var(--seed-radius-r2)
30
+ }
@@ -15,11 +15,13 @@ declare type ImageFrameVariantMap = {
15
15
 
16
16
  export declare type ImageFrameVariantProps = Partial<ImageFrameVariant>;
17
17
 
18
+ export declare type ImageFrameSlotName = "root" | "content" | "fallback";
19
+
18
20
  export declare const imageFrameVariantMap: ImageFrameVariantMap;
19
21
 
20
22
  export declare const imageFrame: ((
21
23
  props?: ImageFrameVariantProps,
22
- ) => string) & {
24
+ ) => Record<ImageFrameSlotName, string>) & {
23
25
  splitVariantProps: <T extends ImageFrameVariantProps>(
24
26
  props: T,
25
27
  ) => [ImageFrameVariantProps, Omit<T, keyof ImageFrameVariantProps>];
@@ -1,11 +1,11 @@
1
1
  @layer seed-components {
2
- .seed-image-frame {
2
+ .seed-image-frame__root {
3
3
  border-radius: inherit;
4
4
  position: relative;
5
5
  overflow: hidden;
6
6
  }
7
7
 
8
- .seed-image-frame > img, .seed-image-frame > video {
8
+ .seed-image-frame__content {
9
9
  object-fit: cover;
10
10
  border-radius: inherit;
11
11
  width: 100%;
@@ -13,7 +13,12 @@
13
13
  display: block;
14
14
  }
15
15
 
16
- .seed-image-frame--stroke_true:after {
16
+ .seed-image-frame__fallback {
17
+ width: 100%;
18
+ height: 100%;
19
+ }
20
+
21
+ .seed-image-frame__root--stroke_true:after {
17
22
  content: "";
18
23
  pointer-events: none;
19
24
  border-radius: inherit;
@@ -22,7 +27,7 @@
22
27
  inset: 0;
23
28
  }
24
29
 
25
- .seed-image-frame--rounded_true {
30
+ .seed-image-frame__root--rounded_true {
26
31
  border-radius: var(--seed-radius-r2);
27
32
  }
28
33
  }
@@ -1,6 +1,21 @@
1
1
  import './image-frame.layered.css';
2
2
  import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
3
3
 
4
+ const imageFrameSlotNames = [
5
+ [
6
+ "root",
7
+ "seed-image-frame__root"
8
+ ],
9
+ [
10
+ "content",
11
+ "seed-image-frame__content"
12
+ ],
13
+ [
14
+ "fallback",
15
+ "seed-image-frame__fallback"
16
+ ]
17
+ ];
18
+
4
19
  const defaultVariant = {
5
20
  "stroke": false,
6
21
  "rounded": false
@@ -22,10 +37,13 @@ export const imageFrameVariantMap = {
22
37
  export const imageFrameVariantKeys = Object.keys(imageFrameVariantMap);
23
38
 
24
39
  export function imageFrame(props) {
25
- return createClassName(
26
- "seed-image-frame",
27
- mergeVariants(defaultVariant, props),
28
- compoundVariants,
40
+ return Object.fromEntries(
41
+ imageFrameSlotNames.map(([slot, className]) => {
42
+ return [
43
+ slot,
44
+ createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
45
+ ];
46
+ }),
29
47
  );
30
48
  }
31
49
 
@@ -1,6 +1,21 @@
1
1
  import './image-frame.css';
2
2
  import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
3
3
 
4
+ const imageFrameSlotNames = [
5
+ [
6
+ "root",
7
+ "seed-image-frame__root"
8
+ ],
9
+ [
10
+ "content",
11
+ "seed-image-frame__content"
12
+ ],
13
+ [
14
+ "fallback",
15
+ "seed-image-frame__fallback"
16
+ ]
17
+ ];
18
+
4
19
  const defaultVariant = {
5
20
  "stroke": false,
6
21
  "rounded": false
@@ -22,10 +37,13 @@ export const imageFrameVariantMap = {
22
37
  export const imageFrameVariantKeys = Object.keys(imageFrameVariantMap);
23
38
 
24
39
  export function imageFrame(props) {
25
- return createClassName(
26
- "seed-image-frame",
27
- mergeVariants(defaultVariant, props),
28
- compoundVariants,
40
+ return Object.fromEntries(
41
+ imageFrameSlotNames.map(([slot, className]) => {
42
+ return [
43
+ slot,
44
+ createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
45
+ ];
46
+ }),
29
47
  );
30
48
  }
31
49
 
@@ -0,0 +1,28 @@
1
+ export declare const vars: {
2
+ "base": {
3
+ "enabled": {
4
+ "root": {
5
+ "color": "var(--seed-color-palette-gray-200)"
6
+ },
7
+ "asset": {
8
+ "minWidth": "var(--seed-dimension-x4)",
9
+ "maxWidth": "64px",
10
+ /** root slot 대한 asset slot의 높이 비율입니다. */
11
+ "heightFraction": "0.5",
12
+ "color": "var(--seed-color-palette-gray-400)"
13
+ }
14
+ }
15
+ },
16
+ "typeDefault": {},
17
+ "typeBuySell": {},
18
+ "typeCar": {},
19
+ "typeCommerce": {},
20
+ "typeCoupon": {},
21
+ "typeFood": {},
22
+ "typeGroup": {},
23
+ "typeImage": {},
24
+ "typeJobs": {},
25
+ "typeBusiness": {},
26
+ "typePost": {},
27
+ "typeRealty": {}
28
+ }
@@ -0,0 +1,27 @@
1
+ export const vars = {
2
+ "base": {
3
+ "enabled": {
4
+ "root": {
5
+ "color": "var(--seed-color-palette-gray-200)"
6
+ },
7
+ "asset": {
8
+ "minWidth": "var(--seed-dimension-x4)",
9
+ "maxWidth": "64px",
10
+ "heightFraction": "0.5",
11
+ "color": "var(--seed-color-palette-gray-400)"
12
+ }
13
+ }
14
+ },
15
+ "typeDefault": {},
16
+ "typeBuySell": {},
17
+ "typeCar": {},
18
+ "typeCommerce": {},
19
+ "typeCoupon": {},
20
+ "typeFood": {},
21
+ "typeGroup": {},
22
+ "typeImage": {},
23
+ "typeJobs": {},
24
+ "typeBusiness": {},
25
+ "typePost": {},
26
+ "typeRealty": {}
27
+ }
@@ -16,6 +16,7 @@ export { vars as checkmark } from "./checkmark";
16
16
  export { vars as chipTab } from "./chip-tab";
17
17
  export { vars as chipTablist } from "./chip-tablist";
18
18
  export { vars as chip } from "./chip";
19
+ export { vars as contentPlaceholder } from "./content-placeholder";
19
20
  export { vars as contextualFloatingButton } from "./contextual-floating-button";
20
21
  export { vars as controlChip } from "./control-chip";
21
22
  export { vars as dialog } from "./dialog";
@@ -16,6 +16,7 @@ export { vars as checkmark } from "./checkmark.mjs";
16
16
  export { vars as chipTab } from "./chip-tab.mjs";
17
17
  export { vars as chipTablist } from "./chip-tablist.mjs";
18
18
  export { vars as chip } from "./chip.mjs";
19
+ export { vars as contentPlaceholder } from "./content-placeholder.mjs";
19
20
  export { vars as contextualFloatingButton } from "./contextual-floating-button.mjs";
20
21
  export { vars as controlChip } from "./control-chip.mjs";
21
22
  export { vars as dialog } from "./dialog.mjs";
@@ -204,6 +204,7 @@ export declare const vars: {
204
204
  }
205
205
  }
206
206
  },
207
+ "typeSingleline": {},
207
208
  "typeMultilineSizeLarge": {
208
209
  "enabled": {
209
210
  "root": {
@@ -191,6 +191,7 @@ export const vars = {
191
191
  }
192
192
  }
193
193
  },
194
+ "typeSingleline": {},
194
195
  "typeMultilineSizeLarge": {
195
196
  "enabled": {
196
197
  "root": {
@@ -1,44 +0,0 @@
1
- .seed-tag-group-tag {
2
- display: flex;
3
- align-items: center;
4
- gap: var(--seed-dimension-x0_5)
5
- }
6
- .seed-tag-group-tag--size_t2 {
7
- font-size: var(--seed-font-size-t2);
8
- line-height: var(--seed-line-height-t2);
9
- --seed-prefix-icon-size: var(--seed-dimension-x3);
10
- --seed-suffix-icon-size: var(--seed-dimension-x3)
11
- }
12
- .seed-tag-group-tag--size_t3 {
13
- font-size: var(--seed-font-size-t3);
14
- line-height: var(--seed-line-height-t3);
15
- --seed-prefix-icon-size: 13px;
16
- --seed-suffix-icon-size: 13px
17
- }
18
- .seed-tag-group-tag--size_t4 {
19
- font-size: var(--seed-font-size-t4);
20
- line-height: var(--seed-line-height-t4);
21
- --seed-prefix-icon-size: var(--seed-dimension-x3_5);
22
- --seed-suffix-icon-size: var(--seed-dimension-x3_5)
23
- }
24
- .seed-tag-group-tag--weight_regular {
25
- font-weight: var(--seed-font-weight-regular)
26
- }
27
- .seed-tag-group-tag--weight_bold {
28
- font-weight: var(--seed-font-weight-bold)
29
- }
30
- .seed-tag-group-tag--tone_neutralSubtle {
31
- color: var(--seed-color-fg-neutral-subtle);
32
- --seed-prefix-icon-color: var(--seed-color-fg-neutral-subtle);
33
- --seed-suffix-icon-color: var(--seed-color-fg-neutral-subtle)
34
- }
35
- .seed-tag-group-tag--tone_neutral {
36
- color: var(--seed-color-fg-neutral);
37
- --seed-prefix-icon-color: var(--seed-color-fg-neutral);
38
- --seed-suffix-icon-color: var(--seed-color-fg-neutral)
39
- }
40
- .seed-tag-group-tag--tone_brand {
41
- color: var(--seed-color-fg-brand);
42
- --seed-prefix-icon-color: var(--seed-color-fg-brand);
43
- --seed-suffix-icon-color: var(--seed-color-fg-brand)
44
- }
@@ -1,30 +0,0 @@
1
- declare interface TagGroupTagVariant {
2
- /**
3
- * @default "t2"
4
- */
5
- size: "t2" | "t3" | "t4";
6
- /**
7
- * @default "regular"
8
- */
9
- weight: "regular" | "bold";
10
- /**
11
- * @default "neutralSubtle"
12
- */
13
- tone: "neutralSubtle" | "neutral" | "brand";
14
- }
15
-
16
- declare type TagGroupTagVariantMap = {
17
- [key in keyof TagGroupTagVariant]: Array<TagGroupTagVariant[key]>;
18
- };
19
-
20
- export declare type TagGroupTagVariantProps = Partial<TagGroupTagVariant>;
21
-
22
- export declare const tagGroupTagVariantMap: TagGroupTagVariantMap;
23
-
24
- export declare const tagGroupTag: ((
25
- props?: TagGroupTagVariantProps,
26
- ) => string) & {
27
- splitVariantProps: <T extends TagGroupTagVariantProps>(
28
- props: T,
29
- ) => [TagGroupTagVariantProps, Omit<T, keyof TagGroupTagVariantProps>];
30
- }
@@ -1,41 +0,0 @@
1
- import './tag-group-tag.css';
2
- import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
3
-
4
- const defaultVariant = {
5
- "size": "t2",
6
- "weight": "regular",
7
- "tone": "neutralSubtle"
8
- };
9
-
10
- const compoundVariants = [];
11
-
12
- export const tagGroupTagVariantMap = {
13
- "size": [
14
- "t2",
15
- "t3",
16
- "t4"
17
- ],
18
- "weight": [
19
- "regular",
20
- "bold"
21
- ],
22
- "tone": [
23
- "neutralSubtle",
24
- "neutral",
25
- "brand"
26
- ]
27
- };
28
-
29
- export const tagGroupTagVariantKeys = Object.keys(tagGroupTagVariantMap);
30
-
31
- export function tagGroupTag(props) {
32
- return createClassName(
33
- "seed-tag-group-tag",
34
- mergeVariants(defaultVariant, props),
35
- compoundVariants,
36
- );
37
- }
38
-
39
- Object.assign(tagGroupTag, { splitVariantProps: (props) => splitVariantProps(props, tagGroupTagVariantMap) });
40
-
41
- // @recipe(seed): tag-group-tag