@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.
- package/all.css +61 -12
- package/all.layered.css +61 -12
- package/all.layered.min.css +1 -1
- package/all.min.css +1 -1
- package/package.json +2 -2
- package/recipes/content-placeholder.css +24 -0
- package/recipes/content-placeholder.d.ts +24 -0
- package/recipes/content-placeholder.layered.css +27 -0
- package/recipes/content-placeholder.layered.mjs +53 -0
- package/recipes/content-placeholder.mjs +53 -0
- package/recipes/help-bubble.css +1 -0
- package/recipes/help-bubble.layered.css +1 -0
- package/recipes/image-frame-reaction-button.css +23 -8
- package/recipes/image-frame-reaction-button.d.ts +3 -1
- package/recipes/image-frame-reaction-button.layered.css +25 -8
- package/recipes/image-frame-reaction-button.layered.mjs +22 -4
- package/recipes/image-frame-reaction-button.mjs +22 -4
- package/recipes/image-frame.css +13 -11
- package/recipes/image-frame.d.ts +3 -1
- package/recipes/image-frame.layered.css +9 -4
- package/recipes/image-frame.layered.mjs +22 -4
- package/recipes/image-frame.mjs +22 -4
- package/vars/component/content-placeholder.d.ts +28 -0
- package/vars/component/content-placeholder.mjs +27 -0
- package/vars/component/index.d.ts +1 -0
- package/vars/component/index.mjs +1 -0
- package/vars/component/text-input.d.ts +1 -0
- package/vars/component/text-input.mjs +1 -0
- package/recipes/tag-group-tag.css +0 -44
- package/recipes/tag-group-tag.d.ts +0 -30
- package/recipes/tag-group-tag.mjs +0 -41
package/vars/component/index.mjs
CHANGED
|
@@ -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";
|
|
@@ -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
|