@seed-design/css 1.2.5 → 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.
@@ -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