@hebium-ui/core 0.1.0-alpha.1 → 0.1.0-alpha.3
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/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/logics/avatar-placeholder/get-avatar-placeholder.d.ts +0 -2
- package/dist/logics/avatar-placeholder/get-avatar-placeholder.js +1 -2
- package/dist/logics/avatar-placeholder/should-show-avatar-placeholder.d.ts +1 -3
- package/dist/logics/avatar-placeholder/should-show-avatar-placeholder.js +1 -2
- package/dist/logics/avatar-placeholder/should-show-avatar-placeholder.js.map +1 -1
- package/dist/logics/bool/to-bool.d.ts +0 -2
- package/dist/logics/bool/to-bool.js +1 -2
- package/dist/logics/bool/to-strbool.d.ts +0 -2
- package/dist/logics/bool/to-strbool.js +1 -2
- package/dist/logics/cc/cc-all.d.ts +1 -3
- package/dist/logics/cc/cc-all.js +1 -2
- package/dist/logics/cc/cc-all.js.map +1 -1
- package/dist/logics/cc/cc.d.ts +1 -3
- package/dist/logics/cc/cc.js +1 -2
- package/dist/logics/cc/cc.js.map +1 -1
- package/dist/logics/checkbox-control/checkbox-control.d.ts +4 -6
- package/dist/logics/checkbox-control/checkbox-control.js +2 -3
- package/dist/logics/checkbox-control/checkbox-control.js.map +1 -1
- package/dist/logics/dialog-control/dialog-control.d.ts +4 -6
- package/dist/logics/dialog-control/dialog-control.js +1 -2
- package/dist/logics/dialog-control/dialog-control.js.map +1 -1
- package/dist/logics/input-control/input-control.d.ts +2 -4
- package/dist/logics/input-control/input-control.js +1 -2
- package/dist/logics/input-control/input-control.js.map +1 -1
- package/dist/logics/label-marker/label-marker.d.ts +1 -3
- package/dist/logics/label-marker/label-marker.js +1 -2
- package/dist/logics/label-marker/label-marker.js.map +1 -1
- package/dist/logics/menu-control/menu-control.d.ts +4 -6
- package/dist/logics/menu-control/menu-control.js +1 -2
- package/dist/logics/menu-control/menu-control.js.map +1 -1
- package/dist/logics/ms/ms-all.d.ts +2 -3
- package/dist/logics/ms/ms-all.js +1 -2
- package/dist/logics/ms/ms-all.js.map +1 -1
- package/dist/logics/popover-control/popover-control.d.ts +2 -4
- package/dist/logics/popover-control/popover-control.js +1 -2
- package/dist/logics/popover-control/popover-control.js.map +1 -1
- package/dist/logics/progress-control/progress-control.d.ts +3 -5
- package/dist/logics/progress-control/progress-control.js +1 -2
- package/dist/logics/progress-control/progress-control.js.map +1 -1
- package/dist/logics/radio-control/radio-control.d.ts +3 -5
- package/dist/logics/radio-control/radio-control.js +1 -2
- package/dist/logics/radio-control/radio-control.js.map +1 -1
- package/dist/logics/radiogroup-control/radiogroup-control.d.ts +2 -4
- package/dist/logics/radiogroup-control/radiogroup-control.js +1 -2
- package/dist/logics/radiogroup-control/radiogroup-control.js.map +1 -1
- package/dist/logics/segmented-control/segmented-control.d.ts +1 -3
- package/dist/logics/segmented-control/segmented-control.js +1 -2
- package/dist/logics/segmented-control/segmented-control.js.map +1 -1
- package/dist/logics/tabs-control/tabs-control.d.ts +4 -6
- package/dist/logics/tabs-control/tabs-control.js +1 -2
- package/dist/logics/tabs-control/tabs-control.js.map +1 -1
- package/dist/logics/tabs-control/tabs-keymap.js +1 -2
- package/dist/logics/tabs-control/tabs-keymap.js.map +1 -1
- package/dist/logics/tooltip-control/tooltip-control.d.ts +2 -4
- package/dist/logics/tooltip-control/tooltip-control.js +1 -2
- package/dist/logics/tooltip-control/tooltip-control.js.map +1 -1
- package/dist/recipes/alert/alert.d.ts +2 -4
- package/dist/recipes/alert/alert.js +5 -4
- package/dist/recipes/alert/alert.js.map +1 -1
- package/dist/recipes/anchor/anchor.d.ts +0 -2
- package/dist/recipes/anchor/anchor.js +1 -2
- package/dist/recipes/avatar/avatar.d.ts +0 -2
- package/dist/recipes/avatar/avatar.js +1 -2
- package/dist/recipes/blockquote/blockquote.d.ts +0 -2
- package/dist/recipes/blockquote/blockquote.js +4 -3
- package/dist/recipes/blockquote/blockquote.js.map +1 -1
- package/dist/recipes/button/button.d.ts +6 -4
- package/dist/recipes/button/button.js +9 -5
- package/dist/recipes/button/button.js.map +1 -1
- package/dist/recipes/checkbox/checkbox.d.ts +2 -24
- package/dist/recipes/checkbox/checkbox.js +14 -20
- package/dist/recipes/checkbox/checkbox.js.map +1 -1
- package/dist/recipes/code/code.d.ts +0 -2
- package/dist/recipes/code/code.js +1 -2
- package/dist/recipes/container/container.d.ts +0 -2
- package/dist/recipes/container/container.js +1 -2
- package/dist/recipes/details/details.d.ts +3 -5
- package/dist/recipes/details/details.js +10 -6
- package/dist/recipes/details/details.js.map +1 -1
- package/dist/recipes/dialog/dialog.d.ts +3 -3
- package/dist/recipes/dialog/dialog.js +6 -3
- package/dist/recipes/dialog/dialog.js.map +1 -1
- package/dist/recipes/dl/dl.d.ts +0 -2
- package/dist/recipes/dl/dl.js +9 -5
- package/dist/recipes/dl/dl.js.map +1 -1
- package/dist/recipes/drawer/drawer.d.ts +0 -2
- package/dist/recipes/drawer/drawer.js +1 -2
- package/dist/recipes/fieldset/fieldset.d.ts +0 -2
- package/dist/recipes/fieldset/fieldset.js +4 -3
- package/dist/recipes/fieldset/fieldset.js.map +1 -1
- package/dist/recipes/focus-ring/focus-ring.d.ts +0 -2
- package/dist/recipes/focus-ring/focus-ring.js +1 -2
- package/dist/recipes/heading/heading.d.ts +0 -2
- package/dist/recipes/heading/heading.js +1 -2
- package/dist/recipes/hr/hr.d.ts +0 -2
- package/dist/recipes/hr/hr.js +4 -3
- package/dist/recipes/hr/hr.js.map +1 -1
- package/dist/recipes/input/input.d.ts +3 -5
- package/dist/recipes/input/input.js +8 -7
- package/dist/recipes/input/input.js.map +1 -1
- package/dist/recipes/label/label.d.ts +0 -2
- package/dist/recipes/label/label.js +1 -2
- package/dist/recipes/menu/menu.d.ts +0 -2
- package/dist/recipes/menu/menu.js +1 -2
- package/dist/recipes/paragraph/paragraph.d.ts +13 -2
- package/dist/recipes/paragraph/paragraph.js +32 -23
- package/dist/recipes/paragraph/paragraph.js.map +1 -1
- package/dist/recipes/popover/popover.d.ts +0 -2
- package/dist/recipes/popover/popover.js +4 -3
- package/dist/recipes/popover/popover.js.map +1 -1
- package/dist/recipes/progress/progress.d.ts +0 -2
- package/dist/recipes/progress/progress.js +1 -2
- package/dist/recipes/radio/radio.d.ts +3 -5
- package/dist/recipes/radio/radio.js +7 -6
- package/dist/recipes/radio/radio.js.map +1 -1
- package/dist/recipes/radiogroup/radiogroup.d.ts +0 -2
- package/dist/recipes/radiogroup/radiogroup.js +1 -2
- package/dist/recipes/section/section.d.ts +3 -3
- package/dist/recipes/section/section.js +6 -3
- package/dist/recipes/section/section.js.map +1 -1
- package/dist/recipes/segmented-control/segmented-control.d.ts +0 -2
- package/dist/recipes/segmented-control/segmented-control.js +5 -3
- package/dist/recipes/segmented-control/segmented-control.js.map +1 -1
- package/dist/recipes/select/select.d.ts +2 -4
- package/dist/recipes/select/select.js +8 -7
- package/dist/recipes/select/select.js.map +1 -1
- package/dist/recipes/skip-link/skip-link.d.ts +6 -0
- package/dist/recipes/skip-link/skip-link.js +9 -0
- package/dist/recipes/skip-link/skip-link.js.map +1 -0
- package/dist/recipes/table/table.d.ts +6 -6
- package/dist/recipes/table/table.js +18 -7
- package/dist/recipes/table/table.js.map +1 -1
- package/dist/recipes/tabs/tabs.d.ts +0 -2
- package/dist/recipes/tabs/tabs.js +4 -3
- package/dist/recipes/tabs/tabs.js.map +1 -1
- package/dist/recipes/text/text.d.ts +53 -0
- package/dist/recipes/text/text.js +42 -0
- package/dist/recipes/text/text.js.map +1 -0
- package/dist/recipes/visually-hidden/visually-hidden.d.ts +0 -2
- package/dist/recipes/visually-hidden/visually-hidden.js +1 -2
- package/dist/style.css +1 -1
- package/dist/styles/css-vars.d.ts +0 -2
- package/dist/styles/css-vars.js +1 -2
- package/dist/styles/make-recipe-type.d.ts +0 -2
- package/dist/styles/make-recipe.d.ts +1 -3
- package/dist/styles/make-recipe.js +3 -4
- package/dist/styles/make-recipe.js.map +1 -1
- package/dist/styles/primitive-css/active.module.js +1 -2
- package/dist/styles/primitive-css/base.module.js +2 -2
- package/dist/styles/primitive-css/base.module.js.map +1 -1
- package/dist/styles/primitive-css/checked.module.js +5 -4
- package/dist/styles/primitive-css/checked.module.js.map +1 -1
- package/dist/styles/primitive-css/composite.module.js +1 -2
- package/dist/styles/primitive-css/disabled.module.js +1 -2
- package/dist/styles/primitive-css/focus.module.js +3 -4
- package/dist/styles/primitive-css/focus.module.js.map +1 -1
- package/dist/styles/primitive-css/hover.module.js +3 -3
- package/dist/styles/primitive-css/hover.module.js.map +1 -1
- package/dist/styles/primitive-css/icon.module.js +2 -4
- package/dist/styles/primitive-css/icon.module.js.map +1 -1
- package/dist/styles/primitive-css/misc.module.js +3 -3
- package/dist/styles/primitive-css/misc.module.js.map +1 -1
- package/dist/styles/primitive-css/neutral.module.js +22 -14
- package/dist/styles/primitive-css/neutral.module.js.map +1 -1
- package/dist/styles/primitive-css/pseudo-element.module.js +1 -2
- package/dist/styles/primitive.gen.d.ts +56 -21
- package/dist/styles/primitive.gen.js +47 -23
- package/dist/styles/primitive.gen.js.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segmented-control.js","names":[],"sources":["../../../src/recipes/segmented-control/segmented-control.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const segmentedControlRootRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n baseColor: \"neutral\",\n display: \"inline-flex\",\n gap: \"0.125x\",\n bgColor: \"box\",\n borderRadius: \"base\",\n paddingBlock: \"0.25x\",\n paddingInline: \"0.25x\",\n listStyle: \"none\",\n },\n },\n variants: {},\n});\nexport type SegmentedControlRootVariants = RecipeVariants<typeof segmentedControlRootRecipe>;\nexport type SegmentedControlRootSlots = RecipeSlots<typeof segmentedControlRootRecipe>;\n\nexport const segmentedControlItemRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n lineHeight: \"1\",\n color: \"text-dimmed\",\n borderRadius: \"base\",\n paddingInline: \"0.75x\",\n paddingBlock: \"0.375x\",\n userSelect: \"none\",\n _pressed: {\n color: \"text\",\n bgColor: \"bg-body\",\n },\n _hover: {\n bgColor: \"base-alpha\",\n },\n _active: {\n bgColor: \"base-alpha-peak\",\n },\n _focusVisible: {\n outline: \"focus-ring\",\n },\n _pressedHover: {\n bgColor: \"bg-body\",\n },\n },\n },\n variants: {},\n});\nexport type SegmentedControlItemVariants = RecipeVariants<typeof segmentedControlItemRecipe>;\nexport type SegmentedControlItemSlots = RecipeSlots<typeof segmentedControlItemRecipe>;\n"],"mappings":";;AAGA,MAAa,6BAA6B,WAAW;CACnD,MAAM,EACJ,MAAM;EACJ,OAAO;EACP,WAAW;EACX,SAAS;EACT,KAAK;EACL,SAAS;EACT,cAAc;EACd,cAAc;EACd,eAAe;EACf,WAAW;CACb,EACF;CACA,UAAU,CAAC;AACb,CAAC;AAID,MAAa,6BAA6B,WAAW;CACnD,MAAM,EACJ,MAAM;EACJ,OAAO;EACP,YAAY;EACZ,OAAO;EACP,cAAc;EACd,eAAe;EACf,cAAc;EACd,YAAY;EACZ,UAAU;GACR,OAAO;GACP,SAAS;EACX;EACA,QAAQ,
|
|
1
|
+
{"version":3,"file":"segmented-control.js","names":[],"sources":["../../../src/recipes/segmented-control/segmented-control.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const segmentedControlRootRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n baseColor: \"neutral\",\n display: \"inline-flex\",\n gap: \"0.125x\",\n bgColor: \"box\",\n borderRadius: \"base\",\n paddingBlock: \"0.25x\",\n paddingInline: \"0.25x\",\n listStyle: \"none\",\n },\n },\n variants: {},\n});\nexport type SegmentedControlRootVariants = RecipeVariants<typeof segmentedControlRootRecipe>;\nexport type SegmentedControlRootSlots = RecipeSlots<typeof segmentedControlRootRecipe>;\n\nexport const segmentedControlItemRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n lineHeight: \"1\",\n color: \"text-dimmed\",\n borderRadius: \"base\",\n paddingInline: \"0.75x\",\n paddingBlock: \"0.375x\",\n userSelect: \"none\",\n _pressed: {\n color: \"text\",\n bgColor: \"bg-body\",\n },\n _hover: {\n color: \"text\",\n bgColor: \"base-alpha\",\n },\n _active: {\n bgColor: \"base-alpha-peak\",\n },\n _focusVisible: {\n outline: \"focus-ring\",\n },\n _pressedHover: {\n bgColor: \"bg-body\",\n },\n },\n },\n variants: {},\n});\nexport type SegmentedControlItemVariants = RecipeVariants<typeof segmentedControlItemRecipe>;\nexport type SegmentedControlItemSlots = RecipeSlots<typeof segmentedControlItemRecipe>;\n"],"mappings":";;AAGA,MAAa,6BAA6B,WAAW;CACnD,MAAM,EACJ,MAAM;EACJ,OAAO;EACP,WAAW;EACX,SAAS;EACT,KAAK;EACL,SAAS;EACT,cAAc;EACd,cAAc;EACd,eAAe;EACf,WAAW;CACb,EACF;CACA,UAAU,CAAC;AACb,CAAC;AAID,MAAa,6BAA6B,WAAW;CACnD,MAAM,EACJ,MAAM;EACJ,OAAO;EACP,YAAY;EACZ,OAAO;EACP,cAAc;EACd,eAAe;EACf,cAAc;EACd,YAAY;EACZ,UAAU;GACR,OAAO;GACP,SAAS;EACX;EACA,QAAQ;GACN,OAAO;GACP,SAAS;EACX;EACA,SAAS,EACP,SAAS,kBACX;EACA,eAAe,EACb,SAAS,aACX;EACA,eAAe,EACb,SAAS,UACX;CACF,EACF;CACA,UAAU,CAAC;AACb,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Recipe } from "../../styles/make-recipe.js";
|
|
2
2
|
import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
|
|
3
|
-
//#region src/recipes/select/select.d.ts
|
|
4
3
|
export declare const selectRecipe: Recipe<"root" | "wrapper" | "select", {
|
|
5
4
|
error: {
|
|
6
5
|
true: {
|
|
@@ -8,17 +7,16 @@ export declare const selectRecipe: Recipe<"root" | "wrapper" | "select", {
|
|
|
8
7
|
baseColor: "danger";
|
|
9
8
|
};
|
|
10
9
|
select: {
|
|
11
|
-
|
|
10
|
+
borderColor: "danger-divider";
|
|
12
11
|
};
|
|
13
12
|
};
|
|
14
13
|
false: {
|
|
15
14
|
select: {
|
|
16
|
-
|
|
15
|
+
borderColor: "divider";
|
|
17
16
|
};
|
|
18
17
|
};
|
|
19
18
|
};
|
|
20
19
|
}>;
|
|
21
20
|
export type SelectVariants = RecipeVariants<typeof selectRecipe>;
|
|
22
21
|
export type SelectSlots = RecipeSlots<typeof selectRecipe>;
|
|
23
|
-
//#endregion
|
|
24
22
|
//# sourceMappingURL=select.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { makeRecipe } from "../../styles/make-recipe.js";
|
|
2
|
-
|
|
2
|
+
// src/recipes/select/select.ts
|
|
3
3
|
const selectRecipe = makeRecipe({
|
|
4
4
|
base: {
|
|
5
5
|
root: {
|
|
@@ -13,10 +13,12 @@ const selectRecipe = makeRecipe({
|
|
|
13
13
|
},
|
|
14
14
|
select: {
|
|
15
15
|
reset: "true",
|
|
16
|
+
borderWidth: "base",
|
|
17
|
+
borderStyle: "solid",
|
|
16
18
|
position: "relative",
|
|
17
19
|
transition: "colors",
|
|
18
20
|
width: "100%",
|
|
19
|
-
|
|
21
|
+
minHeight: "2x",
|
|
20
22
|
paddingInline: "0.75x",
|
|
21
23
|
paddingInlineEnd: "2x",
|
|
22
24
|
borderRadius: "base",
|
|
@@ -25,8 +27,8 @@ const selectRecipe = makeRecipe({
|
|
|
25
27
|
bgColor: "transparent",
|
|
26
28
|
_hover: { bgColor: "base-alpha" },
|
|
27
29
|
_focus: {
|
|
28
|
-
|
|
29
|
-
outline: "base"
|
|
30
|
+
borderColor: "base",
|
|
31
|
+
outline: "base-alpha-peak"
|
|
30
32
|
},
|
|
31
33
|
_disabled: {
|
|
32
34
|
color: "base-muted",
|
|
@@ -38,13 +40,12 @@ const selectRecipe = makeRecipe({
|
|
|
38
40
|
variants: { error: {
|
|
39
41
|
true: {
|
|
40
42
|
root: { baseColor: "danger" },
|
|
41
|
-
select: {
|
|
43
|
+
select: { borderColor: "danger-divider" }
|
|
42
44
|
},
|
|
43
|
-
false: { select: {
|
|
45
|
+
false: { select: { borderColor: "divider" } }
|
|
44
46
|
} },
|
|
45
47
|
defaultVariants: { error: "false" }
|
|
46
48
|
});
|
|
47
|
-
//#endregion
|
|
48
49
|
export { selectRecipe };
|
|
49
50
|
|
|
50
51
|
//# sourceMappingURL=select.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.js","names":[],"sources":["../../../src/recipes/select/select.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const selectRecipe = makeRecipe({\n base: {\n root: {\n baseColor: \"accent\",\n display: \"flex-col\",\n width: \"fit-content\",\n },\n wrapper: {\n position: \"relative\",\n icon: \"chevron-down\",\n },\n select: {\n reset: \"true\",\n position: \"relative\",\n transition: \"colors\",\n width: \"100%\",\n
|
|
1
|
+
{"version":3,"file":"select.js","names":[],"sources":["../../../src/recipes/select/select.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const selectRecipe = makeRecipe({\n base: {\n root: {\n baseColor: \"accent\",\n display: \"flex-col\",\n width: \"fit-content\",\n },\n wrapper: {\n position: \"relative\",\n icon: \"chevron-down\",\n },\n select: {\n reset: \"true\",\n borderWidth: \"base\",\n borderStyle: \"solid\",\n position: \"relative\",\n transition: \"colors\",\n width: \"100%\",\n minHeight: \"2x\",\n paddingInline: \"0.75x\",\n paddingInlineEnd: \"2x\",\n borderRadius: \"base\",\n outline: \"transparent\",\n color: \"text\",\n bgColor: \"transparent\",\n _hover: {\n bgColor: \"base-alpha\",\n },\n _focus: {\n borderColor: \"base\",\n outline: \"base-alpha-peak\",\n },\n _disabled: {\n color: \"base-muted\",\n cursor: \"not-allowed\",\n bgColor: \"section\",\n },\n },\n },\n variants: {\n error: {\n true: {\n root: {\n baseColor: \"danger\",\n },\n select: {\n borderColor: \"danger-divider\",\n },\n },\n false: {\n select: {\n borderColor: \"divider\",\n },\n },\n },\n },\n defaultVariants: {\n error: \"false\",\n },\n});\n\nexport type SelectVariants = RecipeVariants<typeof selectRecipe>;\nexport type SelectSlots = RecipeSlots<typeof selectRecipe>;\n"],"mappings":";;AAGA,MAAa,eAAe,WAAW;CACrC,MAAM;EACJ,MAAM;GACJ,WAAW;GACX,SAAS;GACT,OAAO;EACT;EACA,SAAS;GACP,UAAU;GACV,MAAM;EACR;EACA,QAAQ;GACN,OAAO;GACP,aAAa;GACb,aAAa;GACb,UAAU;GACV,YAAY;GACZ,OAAO;GACP,WAAW;GACX,eAAe;GACf,kBAAkB;GAClB,cAAc;GACd,SAAS;GACT,OAAO;GACP,SAAS;GACT,QAAQ,EACN,SAAS,aACX;GACA,QAAQ;IACN,aAAa;IACb,SAAS;GACX;GACA,WAAW;IACT,OAAO;IACP,QAAQ;IACR,SAAS;GACX;EACF;CACF;CACA,UAAU,EACR,OAAO;EACL,MAAM;GACJ,MAAM,EACJ,WAAW,SACb;GACA,QAAQ,EACN,aAAa,iBACf;EACF;EACA,OAAO,EACL,QAAQ,EACN,aAAa,UACf,EACF;CACF,EACF;CACA,iBAAiB,EACf,OAAO,QACT;AACF,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Recipe } from "../../styles/make-recipe.js";
|
|
2
|
+
import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
|
|
3
|
+
export declare const skipLinkRecipe: Recipe<"root", {}>;
|
|
4
|
+
export type SkipLinkVariants = RecipeVariants<typeof skipLinkRecipe>;
|
|
5
|
+
export type SkipLinkSlots = RecipeSlots<typeof skipLinkRecipe>;
|
|
6
|
+
//# sourceMappingURL=skip-link.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { makeRecipe } from "../../styles/make-recipe.js";
|
|
2
|
+
// src/recipes/skip-link/skip-link.ts
|
|
3
|
+
const skipLinkRecipe = makeRecipe({
|
|
4
|
+
base: { root: { skipLink: "true" } },
|
|
5
|
+
variants: {}
|
|
6
|
+
});
|
|
7
|
+
export { skipLinkRecipe };
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=skip-link.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skip-link.js","names":[],"sources":["../../../src/recipes/skip-link/skip-link.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const skipLinkRecipe = makeRecipe({\n base: {\n root: {\n skipLink: \"true\",\n },\n },\n variants: {},\n});\n\nexport type SkipLinkVariants = RecipeVariants<typeof skipLinkRecipe>;\nexport type SkipLinkSlots = RecipeSlots<typeof skipLinkRecipe>;\n"],"mappings":";;AAGA,MAAa,iBAAiB,WAAW;CACvC,MAAM,EACJ,MAAM,EACJ,UAAU,OACZ,EACF;CACA,UAAU,CAAC;AACb,CAAC"}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { Recipe } from "../../styles/make-recipe.js";
|
|
2
2
|
import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
|
|
3
|
-
//#region src/recipes/table/table.d.ts
|
|
4
3
|
export declare const tableRecipe: Recipe<"root", {
|
|
5
4
|
border: {
|
|
6
5
|
none: {
|
|
7
6
|
root: {
|
|
8
|
-
|
|
7
|
+
borderWidth: "0";
|
|
9
8
|
};
|
|
10
9
|
};
|
|
11
10
|
solid: {
|
|
12
11
|
root: {
|
|
13
|
-
|
|
12
|
+
borderWidth: "base";
|
|
13
|
+
borderStyle: "solid";
|
|
14
|
+
borderColor: "divider";
|
|
14
15
|
};
|
|
15
16
|
};
|
|
16
17
|
};
|
|
@@ -37,12 +38,12 @@ export declare const trRecipe: Recipe<"root", {
|
|
|
37
38
|
border: {
|
|
38
39
|
"block-end": {
|
|
39
40
|
root: {
|
|
40
|
-
|
|
41
|
+
borderBlockEndWidth: "base";
|
|
41
42
|
};
|
|
42
43
|
};
|
|
43
44
|
none: {
|
|
44
45
|
root: {
|
|
45
|
-
|
|
46
|
+
borderWidth: "0";
|
|
46
47
|
};
|
|
47
48
|
};
|
|
48
49
|
};
|
|
@@ -55,5 +56,4 @@ export type ThSlots = RecipeSlots<typeof thRecipe>;
|
|
|
55
56
|
export declare const tdRecipe: Recipe<"root", {}>;
|
|
56
57
|
export type TdVariants = RecipeVariants<typeof tdRecipe>;
|
|
57
58
|
export type TdSlots = RecipeSlots<typeof tdRecipe>;
|
|
58
|
-
//#endregion
|
|
59
59
|
//# sourceMappingURL=table.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { makeRecipe } from "../../styles/make-recipe.js";
|
|
2
|
-
|
|
2
|
+
// src/recipes/table/table.ts
|
|
3
3
|
const tableRecipe = makeRecipe({
|
|
4
4
|
base: { root: {
|
|
5
5
|
reset: "true",
|
|
@@ -8,12 +8,17 @@ const tableRecipe = makeRecipe({
|
|
|
8
8
|
borderCollapse: "collapse"
|
|
9
9
|
} },
|
|
10
10
|
variants: { border: {
|
|
11
|
-
none: { root: {
|
|
12
|
-
solid: { root: {
|
|
11
|
+
none: { root: { borderWidth: "0" } },
|
|
12
|
+
solid: { root: {
|
|
13
|
+
borderWidth: "base",
|
|
14
|
+
borderStyle: "solid",
|
|
15
|
+
borderColor: "divider"
|
|
16
|
+
} }
|
|
13
17
|
} }
|
|
14
18
|
});
|
|
15
19
|
const captionRecipe = makeRecipe({
|
|
16
20
|
base: { root: {
|
|
21
|
+
reset: "true",
|
|
17
22
|
paddingBlock: "0.5x",
|
|
18
23
|
color: "text-dimmed"
|
|
19
24
|
} },
|
|
@@ -23,16 +28,22 @@ const captionRecipe = makeRecipe({
|
|
|
23
28
|
} }
|
|
24
29
|
});
|
|
25
30
|
const trRecipe = makeRecipe({
|
|
26
|
-
base: { root: {
|
|
31
|
+
base: { root: {
|
|
32
|
+
reset: "true",
|
|
33
|
+
borderStyle: "solid",
|
|
34
|
+
borderColor: "divider"
|
|
35
|
+
} },
|
|
27
36
|
variants: { border: {
|
|
28
|
-
"block-end": { root: {
|
|
29
|
-
none: { root: {
|
|
37
|
+
"block-end": { root: { borderBlockEndWidth: "base" } },
|
|
38
|
+
none: { root: { borderWidth: "0" } }
|
|
30
39
|
} },
|
|
31
40
|
defaultVariants: { border: "block-end" }
|
|
32
41
|
});
|
|
33
42
|
const thRecipe = makeRecipe({
|
|
34
43
|
base: { root: {
|
|
44
|
+
reset: "true",
|
|
35
45
|
textAlign: "inherit",
|
|
46
|
+
color: "text-dimmed",
|
|
36
47
|
fontWeight: "semi-bold",
|
|
37
48
|
paddingInline: "1x",
|
|
38
49
|
paddingBlock: "0.5x"
|
|
@@ -41,13 +52,13 @@ const thRecipe = makeRecipe({
|
|
|
41
52
|
});
|
|
42
53
|
const tdRecipe = makeRecipe({
|
|
43
54
|
base: { root: {
|
|
55
|
+
reset: "true",
|
|
44
56
|
textAlign: "inherit",
|
|
45
57
|
paddingInline: "1x",
|
|
46
58
|
paddingBlock: "0.5x"
|
|
47
59
|
} },
|
|
48
60
|
variants: {}
|
|
49
61
|
});
|
|
50
|
-
//#endregion
|
|
51
62
|
export { captionRecipe, tableRecipe, tdRecipe, thRecipe, trRecipe };
|
|
52
63
|
|
|
53
64
|
//# sourceMappingURL=table.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.js","names":[],"sources":["../../../src/recipes/table/table.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const tableRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n transition: \"colors\",\n textAlign: \"start\",\n borderCollapse: \"collapse\",\n },\n },\n variants: {\n border: {\n none: {\n root: {\n
|
|
1
|
+
{"version":3,"file":"table.js","names":[],"sources":["../../../src/recipes/table/table.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const tableRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n transition: \"colors\",\n textAlign: \"start\",\n borderCollapse: \"collapse\",\n },\n },\n variants: {\n border: {\n none: {\n root: {\n borderWidth: \"0\",\n },\n },\n solid: {\n root: {\n borderWidth: \"base\",\n borderStyle: \"solid\",\n borderColor: \"divider\",\n },\n },\n },\n },\n});\nexport type TableVariants = RecipeVariants<typeof tableRecipe>;\nexport type TableSlots = RecipeSlots<typeof tableRecipe>;\n\nexport const captionRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n paddingBlock: \"0.5x\",\n color: \"text-dimmed\",\n },\n },\n variants: {\n side: {\n top: {\n root: {\n captionSide: \"top\",\n },\n },\n bottom: {\n root: {\n captionSide: \"bottom\",\n },\n },\n },\n },\n});\nexport type CaptionVariants = RecipeVariants<typeof captionRecipe>;\nexport type CaptionSlots = RecipeSlots<typeof captionRecipe>;\n\nexport const trRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n borderStyle: \"solid\",\n borderColor: \"divider\",\n },\n },\n variants: {\n border: {\n \"block-end\": {\n root: {\n borderBlockEndWidth: \"base\",\n },\n },\n none: {\n root: {\n borderWidth: \"0\",\n },\n },\n },\n },\n defaultVariants: {\n border: \"block-end\",\n },\n});\nexport type TrVariants = RecipeVariants<typeof trRecipe>;\nexport type TrSlots = RecipeSlots<typeof trRecipe>;\n\nexport const thRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n textAlign: \"inherit\",\n color: \"text-dimmed\",\n fontWeight: \"semi-bold\",\n paddingInline: \"1x\",\n paddingBlock: \"0.5x\",\n },\n },\n variants: {},\n});\nexport type ThVariants = RecipeVariants<typeof thRecipe>;\nexport type ThSlots = RecipeSlots<typeof thRecipe>;\n\nexport const tdRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n textAlign: \"inherit\",\n paddingInline: \"1x\",\n paddingBlock: \"0.5x\",\n },\n },\n variants: {},\n});\nexport type TdVariants = RecipeVariants<typeof tdRecipe>;\nexport type TdSlots = RecipeSlots<typeof tdRecipe>;\n"],"mappings":";;AAGA,MAAa,cAAc,WAAW;CACpC,MAAM,EACJ,MAAM;EACJ,OAAO;EACP,YAAY;EACZ,WAAW;EACX,gBAAgB;CAClB,EACF;CACA,UAAU,EACR,QAAQ;EACN,MAAM,EACJ,MAAM,EACJ,aAAa,IACf,EACF;EACA,OAAO,EACL,MAAM;GACJ,aAAa;GACb,aAAa;GACb,aAAa;EACf,EACF;CACF,EACF;AACF,CAAC;AAID,MAAa,gBAAgB,WAAW;CACtC,MAAM,EACJ,MAAM;EACJ,OAAO;EACP,cAAc;EACd,OAAO;CACT,EACF;CACA,UAAU,EACR,MAAM;EACJ,KAAK,EACH,MAAM,EACJ,aAAa,MACf,EACF;EACA,QAAQ,EACN,MAAM,EACJ,aAAa,SACf,EACF;CACF,EACF;AACF,CAAC;AAID,MAAa,WAAW,WAAW;CACjC,MAAM,EACJ,MAAM;EACJ,OAAO;EACP,aAAa;EACb,aAAa;CACf,EACF;CACA,UAAU,EACR,QAAQ;EACN,aAAa,EACX,MAAM,EACJ,qBAAqB,OACvB,EACF;EACA,MAAM,EACJ,MAAM,EACJ,aAAa,IACf,EACF;CACF,EACF;CACA,iBAAiB,EACf,QAAQ,YACV;AACF,CAAC;AAID,MAAa,WAAW,WAAW;CACjC,MAAM,EACJ,MAAM;EACJ,OAAO;EACP,WAAW;EACX,OAAO;EACP,YAAY;EACZ,eAAe;EACf,cAAc;CAChB,EACF;CACA,UAAU,CAAC;AACb,CAAC;AAID,MAAa,WAAW,WAAW;CACjC,MAAM,EACJ,MAAM;EACJ,OAAO;EACP,WAAW;EACX,eAAe;EACf,cAAc;CAChB,EACF;CACA,UAAU,CAAC;AACb,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Recipe } from "../../styles/make-recipe.js";
|
|
2
2
|
import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
|
|
3
|
-
//#region src/recipes/tabs/tabs.d.ts
|
|
4
3
|
export declare const tabrootRecipe: Recipe<"root", {}>;
|
|
5
4
|
export type TabrootVariants = RecipeVariants<typeof tabrootRecipe>;
|
|
6
5
|
export type TabrootSlots = RecipeSlots<typeof tabrootRecipe>;
|
|
@@ -13,5 +12,4 @@ export type TabSlots = RecipeSlots<typeof tabRecipe>;
|
|
|
13
12
|
export declare const tabpanelRecipe: Recipe<"root", {}>;
|
|
14
13
|
export type TabpanelVariants = RecipeVariants<typeof tabpanelRecipe>;
|
|
15
14
|
export type TabpanelSlots = RecipeSlots<typeof tabpanelRecipe>;
|
|
16
|
-
//#endregion
|
|
17
15
|
//# sourceMappingURL=tabs.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { makeRecipe } from "../../styles/make-recipe.js";
|
|
2
|
-
|
|
2
|
+
// src/recipes/tabs/tabs.ts
|
|
3
3
|
const tabrootRecipe = makeRecipe({
|
|
4
4
|
base: { root: {} },
|
|
5
5
|
variants: {}
|
|
@@ -24,11 +24,13 @@ const tabRecipe = makeRecipe({
|
|
|
24
24
|
paddingInline: "0.75x",
|
|
25
25
|
paddingBlock: "0.25x",
|
|
26
26
|
borderBlockStartRadius: "base",
|
|
27
|
+
borderStyle: "solid",
|
|
27
28
|
color: "text-dimmed",
|
|
28
29
|
bgColor: "transparent",
|
|
29
30
|
_selected: {
|
|
30
31
|
color: "text",
|
|
31
|
-
|
|
32
|
+
borderBlockEndWidth: "base",
|
|
33
|
+
borderColor: "base"
|
|
32
34
|
},
|
|
33
35
|
_focusVisible: { outline: "focus-ring" },
|
|
34
36
|
_hover: { bgColor: "base-alpha" }
|
|
@@ -39,7 +41,6 @@ const tabpanelRecipe = makeRecipe({
|
|
|
39
41
|
base: { root: {} },
|
|
40
42
|
variants: {}
|
|
41
43
|
});
|
|
42
|
-
//#endregion
|
|
43
44
|
export { tabRecipe, tablistRecipe, tabpanelRecipe, tabrootRecipe };
|
|
44
45
|
|
|
45
46
|
//# sourceMappingURL=tabs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.js","names":[],"sources":["../../../src/recipes/tabs/tabs.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const tabrootRecipe = makeRecipe({\n base: {\n root: {},\n },\n variants: {},\n});\nexport type TabrootVariants = RecipeVariants<typeof tabrootRecipe>;\nexport type TabrootSlots = RecipeSlots<typeof tabrootRecipe>;\n\nexport const tablistRecipe = makeRecipe({\n base: {\n root: {\n display: \"flex\",\n gap: \"0.25x\",\n position: \"relative\",\n baseBorderWidth: \"2px\",\n _before: {\n content: \"border-bottom\",\n },\n marginBlockEnd: \"0.5x\",\n },\n },\n variants: {},\n});\nexport type TablistVariants = RecipeVariants<typeof tablistRecipe>;\nexport type TablistSlots = RecipeSlots<typeof tablistRecipe>;\n\nexport const tabRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n baseColor: \"accent\",\n baseBorderWidth: \"2px\",\n position: \"relative\",\n paddingInline: \"0.75x\",\n paddingBlock: \"0.25x\",\n borderBlockStartRadius: \"base\",\n color: \"text-dimmed\",\n bgColor: \"transparent\",\n _selected: {\n color: \"text\",\n
|
|
1
|
+
{"version":3,"file":"tabs.js","names":[],"sources":["../../../src/recipes/tabs/tabs.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const tabrootRecipe = makeRecipe({\n base: {\n root: {},\n },\n variants: {},\n});\nexport type TabrootVariants = RecipeVariants<typeof tabrootRecipe>;\nexport type TabrootSlots = RecipeSlots<typeof tabrootRecipe>;\n\nexport const tablistRecipe = makeRecipe({\n base: {\n root: {\n display: \"flex\",\n gap: \"0.25x\",\n position: \"relative\",\n baseBorderWidth: \"2px\",\n _before: {\n content: \"border-bottom\",\n },\n marginBlockEnd: \"0.5x\",\n },\n },\n variants: {},\n});\nexport type TablistVariants = RecipeVariants<typeof tablistRecipe>;\nexport type TablistSlots = RecipeSlots<typeof tablistRecipe>;\n\nexport const tabRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n baseColor: \"accent\",\n baseBorderWidth: \"2px\",\n position: \"relative\",\n paddingInline: \"0.75x\",\n paddingBlock: \"0.25x\",\n borderBlockStartRadius: \"base\",\n borderStyle: \"solid\",\n color: \"text-dimmed\",\n bgColor: \"transparent\",\n _selected: {\n color: \"text\",\n borderBlockEndWidth: \"base\",\n borderColor: \"base\",\n },\n _focusVisible: {\n outline: \"focus-ring\",\n },\n _hover: {\n bgColor: \"base-alpha\",\n },\n },\n },\n variants: {},\n});\nexport type TabVariants = RecipeVariants<typeof tabRecipe>;\nexport type TabSlots = RecipeSlots<typeof tabRecipe>;\n\nexport const tabpanelRecipe = makeRecipe({\n base: {\n root: {},\n },\n variants: {},\n});\nexport type TabpanelVariants = RecipeVariants<typeof tabpanelRecipe>;\nexport type TabpanelSlots = RecipeSlots<typeof tabpanelRecipe>;\n"],"mappings":";;AAGA,MAAa,gBAAgB,WAAW;CACtC,MAAM,EACJ,MAAM,CAAC,EACT;CACA,UAAU,CAAC;AACb,CAAC;AAID,MAAa,gBAAgB,WAAW;CACtC,MAAM,EACJ,MAAM;EACJ,SAAS;EACT,KAAK;EACL,UAAU;EACV,iBAAiB;EACjB,SAAS,EACP,SAAS,gBACX;EACA,gBAAgB;CAClB,EACF;CACA,UAAU,CAAC;AACb,CAAC;AAID,MAAa,YAAY,WAAW;CAClC,MAAM,EACJ,MAAM;EACJ,OAAO;EACP,WAAW;EACX,iBAAiB;EACjB,UAAU;EACV,eAAe;EACf,cAAc;EACd,wBAAwB;EACxB,aAAa;EACb,OAAO;EACP,SAAS;EACT,WAAW;GACT,OAAO;GACP,qBAAqB;GACrB,aAAa;EACf;EACA,eAAe,EACb,SAAS,aACX;EACA,QAAQ,EACN,SAAS,aACX;CACF,EACF;CACA,UAAU,CAAC;AACb,CAAC;AAID,MAAa,iBAAiB,WAAW;CACvC,MAAM,EACJ,MAAM,CAAC,EACT;CACA,UAAU,CAAC;AACb,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Recipe } from "../../styles/make-recipe.js";
|
|
2
|
+
import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
|
|
3
|
+
export declare const textRecipe: Recipe<"root", {
|
|
4
|
+
color: {
|
|
5
|
+
text: {
|
|
6
|
+
root: {
|
|
7
|
+
color: "text";
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
dimmed: {
|
|
11
|
+
root: {
|
|
12
|
+
color: "text-dimmed";
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
accent: {
|
|
16
|
+
root: {
|
|
17
|
+
color: "base";
|
|
18
|
+
baseColor: "accent";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
danger: {
|
|
22
|
+
root: {
|
|
23
|
+
color: "base";
|
|
24
|
+
baseColor: "danger";
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
caution: {
|
|
28
|
+
root: {
|
|
29
|
+
color: "base";
|
|
30
|
+
baseColor: "caution";
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
neutral: {
|
|
34
|
+
root: {
|
|
35
|
+
color: "base";
|
|
36
|
+
baseColor: "neutral";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
textOverflow: {
|
|
41
|
+
ellipsis: {
|
|
42
|
+
root: {
|
|
43
|
+
overflow: "hidden";
|
|
44
|
+
whiteSpace: "nowrap";
|
|
45
|
+
textOverflow: "ellipsis";
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
unset: {};
|
|
49
|
+
};
|
|
50
|
+
}>;
|
|
51
|
+
export type TextVariants = RecipeVariants<typeof textRecipe>;
|
|
52
|
+
export type TextSlots = RecipeSlots<typeof textRecipe>;
|
|
53
|
+
//# sourceMappingURL=text.d.ts.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { makeRecipe } from "../../styles/make-recipe.js";
|
|
2
|
+
// src/recipes/text/text.ts
|
|
3
|
+
const textRecipe = makeRecipe({
|
|
4
|
+
base: { root: { reset: "true" } },
|
|
5
|
+
variants: {
|
|
6
|
+
color: {
|
|
7
|
+
text: { root: { color: "text" } },
|
|
8
|
+
dimmed: { root: { color: "text-dimmed" } },
|
|
9
|
+
accent: { root: {
|
|
10
|
+
color: "base",
|
|
11
|
+
baseColor: "accent"
|
|
12
|
+
} },
|
|
13
|
+
danger: { root: {
|
|
14
|
+
color: "base",
|
|
15
|
+
baseColor: "danger"
|
|
16
|
+
} },
|
|
17
|
+
caution: { root: {
|
|
18
|
+
color: "base",
|
|
19
|
+
baseColor: "caution"
|
|
20
|
+
} },
|
|
21
|
+
neutral: { root: {
|
|
22
|
+
color: "base",
|
|
23
|
+
baseColor: "neutral"
|
|
24
|
+
} }
|
|
25
|
+
},
|
|
26
|
+
textOverflow: {
|
|
27
|
+
ellipsis: { root: {
|
|
28
|
+
overflow: "hidden",
|
|
29
|
+
whiteSpace: "nowrap",
|
|
30
|
+
textOverflow: "ellipsis"
|
|
31
|
+
} },
|
|
32
|
+
unset: {}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
defaultVariants: {
|
|
36
|
+
color: "text",
|
|
37
|
+
textOverflow: "unset"
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
export { textRecipe };
|
|
41
|
+
|
|
42
|
+
//# sourceMappingURL=text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text.js","names":[],"sources":["../../../src/recipes/text/text.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const textRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n },\n },\n variants: {\n color: {\n text: { root: { color: \"text\" } },\n dimmed: { root: { color: \"text-dimmed\" } },\n accent: { root: { color: \"base\", baseColor: \"accent\" } },\n danger: { root: { color: \"base\", baseColor: \"danger\" } },\n caution: { root: { color: \"base\", baseColor: \"caution\" } },\n neutral: { root: { color: \"base\", baseColor: \"neutral\" } },\n },\n textOverflow: {\n ellipsis: {\n root: {\n overflow: \"hidden\",\n whiteSpace: \"nowrap\",\n textOverflow: \"ellipsis\",\n },\n },\n unset: {},\n },\n },\n defaultVariants: {\n color: \"text\",\n textOverflow: \"unset\",\n },\n});\n\nexport type TextVariants = RecipeVariants<typeof textRecipe>;\nexport type TextSlots = RecipeSlots<typeof textRecipe>;\n"],"mappings":";;AAGA,MAAa,aAAa,WAAW;CACnC,MAAM,EACJ,MAAM,EACJ,OAAO,OACT,EACF;CACA,UAAU;EACR,OAAO;GACL,MAAM,EAAE,MAAM,EAAE,OAAO,OAAO,EAAE;GAChC,QAAQ,EAAE,MAAM,EAAE,OAAO,cAAc,EAAE;GACzC,QAAQ,EAAE,MAAM;IAAE,OAAO;IAAQ,WAAW;GAAS,EAAE;GACvD,QAAQ,EAAE,MAAM;IAAE,OAAO;IAAQ,WAAW;GAAS,EAAE;GACvD,SAAS,EAAE,MAAM;IAAE,OAAO;IAAQ,WAAW;GAAU,EAAE;GACzD,SAAS,EAAE,MAAM;IAAE,OAAO;IAAQ,WAAW;GAAU,EAAE;EAC3D;EACA,cAAc;GACZ,UAAU,EACR,MAAM;IACJ,UAAU;IACV,YAAY;IACZ,cAAc;GAChB,EACF;GACA,OAAO,CAAC;EACV;CACF;CACA,iBAAiB;EACf,OAAO;EACP,cAAc;CAChB;AACF,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { Recipe } from "../../styles/make-recipe.js";
|
|
2
2
|
import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
|
|
3
|
-
//#region src/recipes/visually-hidden/visually-hidden.d.ts
|
|
4
3
|
export declare const visuallyHiddenRecipe: Recipe<"root", {}>;
|
|
5
4
|
export type VisuallyHiddenVariants = RecipeVariants<typeof visuallyHiddenRecipe>;
|
|
6
5
|
export type VisuallyHiddenSlots = RecipeSlots<typeof visuallyHiddenRecipe>;
|
|
7
|
-
//#endregion
|
|
8
6
|
//# sourceMappingURL=visually-hidden.d.ts.map
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { makeRecipe } from "../../styles/make-recipe.js";
|
|
2
|
-
|
|
2
|
+
// src/recipes/visually-hidden/visually-hidden.ts
|
|
3
3
|
const visuallyHiddenRecipe = makeRecipe({
|
|
4
4
|
base: { root: { visuallyHidden: "true" } },
|
|
5
5
|
variants: {}
|
|
6
6
|
});
|
|
7
|
-
//#endregion
|
|
8
7
|
export { visuallyHiddenRecipe };
|
|
9
8
|
|
|
10
9
|
//# sourceMappingURL=visually-hidden.js.map
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{color-scheme:light dark;--hui-color-neutral-0:oklch(100% .008 278);--hui-color-neutral-1:oklch(95% .008 278);--hui-color-neutral-2:oklch(90% .008 278);--hui-color-neutral-3:oklch(85% .008 278);--hui-color-neutral-4:oklch(80% .008 278);--hui-color-neutral-5:oklch(55% .008 278);--hui-color-neutral-6:oklch(45% .008 278);--hui-color-neutral-7:oklch(35% .008 278);--hui-color-neutral-8:oklch(25% .008 278);--hui-color-neutral-9:oklch(15% .008 278);--hui-color-accent-0:oklch(100% .16 120);--hui-color-accent-1:oklch(92.5% .16 120);--hui-color-accent-2:oklch(85% .16 120);--hui-color-accent-3:oklch(77.5% .16 120);--hui-color-accent-4:oklch(70% .16 120);--hui-color-accent-5:oklch(55% .16 120);--hui-color-accent-6:oklch(47.5% .16 120);--hui-color-accent-7:oklch(40% .16 120);--hui-color-accent-8:oklch(32.5% .16 120);--hui-color-accent-9:oklch(25% .16 120);--hui-color-danger-0:oklch(100% .18 10);--hui-color-danger-1:oklch(92.5% .18 10);--hui-color-danger-2:oklch(85% .18 10);--hui-color-danger-3:oklch(77.5% .18 10);--hui-color-danger-4:oklch(70% .18 10);--hui-color-danger-5:oklch(55% .18 10);--hui-color-danger-6:oklch(47.5% .18 10);--hui-color-danger-7:oklch(40% .18 10);--hui-color-danger-8:oklch(32.5% .18 10);--hui-color-danger-9:oklch(25% .18 10);--hui-color-caution-0:oklch(100% .18 90);--hui-color-caution-1:oklch(92.5% .18 90);--hui-color-caution-2:oklch(85% .18 90);--hui-color-caution-3:oklch(77.5% .18 90);--hui-color-caution-4:oklch(70% .18 90);--hui-color-caution-5:oklch(55% .18 90);--hui-color-caution-6:oklch(47.5% .18 90);--hui-color-caution-7:oklch(40% .18 90);--hui-color-caution-8:oklch(32.5% .18 90);--hui-color-caution-9:oklch(25% .18 90);--hui-color-bg-body:light-dark(var(--hui-color-neutral-0),var(--hui-color-neutral-9));--hui-color-bg-section:light-dark(var(--hui-color-neutral-1),var(--hui-color-neutral-8));--hui-color-bg-box:light-dark(var(--hui-color-neutral-2),var(--hui-color-neutral-7));--hui-color-divider:light-dark(var(--hui-color-neutral-3),var(--hui-color-neutral-6));--hui-color-danger-divider:light-dark(var(--hui-color-danger-3),var(--hui-color-danger-6));--hui-color-text:light-dark(var(--hui-color-neutral-8),var(--hui-color-neutral-1));--hui-color-text-dimmed:light-dark(var(--hui-color-neutral-6),var(--hui-color-neutral-3));--hui-color-accent:light-dark(var(--hui-color-accent-7),var(--hui-color-accent-2));--hui-color-accent-top:light-dark(var(--hui-color-accent-6),var(--hui-color-accent-1));--hui-color-accent-bottom:light-dark(var(--hui-color-accent-8),var(--hui-color-accent-3));--hui-color-accent-fg:light-dark(color-mix(in oklab, var(--hui-color-accent-0), white 75%),color-mix(in oklab, var(--hui-color-accent-9), black 75%));--hui-color-neutral:light-dark(var(--hui-color-neutral-7),var(--hui-color-neutral-2));--hui-color-neutral-top:light-dark(var(--hui-color-neutral-6),var(--hui-color-neutral-1));--hui-color-neutral-bottom:light-dark(var(--hui-color-neutral-8),var(--hui-color-neutral-3));--hui-color-neutral-fg:light-dark(var(--hui-color-neutral-0),var(--hui-color-neutral-9));--hui-color-danger:light-dark(var(--hui-color-danger-7),var(--hui-color-danger-2));--hui-color-danger-top:light-dark(var(--hui-color-danger-6),var(--hui-color-danger-1));--hui-color-danger-bottom:light-dark(var(--hui-color-danger-8),var(--hui-color-danger-3));--hui-color-danger-fg:light-dark(color-mix(in oklab, var(--hui-color-danger-0), white 75%),color-mix(in oklab, var(--hui-color-danger-9), black 75%));--hui-color-caution:light-dark(var(--hui-color-caution-7),var(--hui-color-caution-2));--hui-color-caution-top:light-dark(var(--hui-color-caution-6),var(--hui-color-caution-1));--hui-color-caution-bottom:light-dark(var(--hui-color-caution-8),var(--hui-color-caution-3));--hui-color-caution-fg:light-dark(color-mix(in oklab, var(--hui-color-caution-0), white 75%),color-mix(in oklab, var(--hui-color-caution-9), black 75%));--hui-line-height:1.5;--hui-anchor-marker:"#";--hui-muted-lightness:1.8;--hui-color-alpha:.125;--hui-color-base:var(--hui-color-accent);--hui-color-base-top:var(--hui-color-accent-top);--hui-color-base-bottom:var(--hui-color-accent-bottom);--hui-color-base-fg:var(--hui-color-accent-fg);--hui-color-text-muted:oklch(from var(--hui-color-text) calc(l * var(--hui-muted-lightness)) calc(c * .1) h);--hui-border-width-base:1px;--hui-offset-width-base:5px;--hui-radius-ratio-base:.1875;--hui-transition-duration-base:.1s}@media (prefers-color-scheme:dark){:root:not([data-hui-color-scheme]){--hui-muted-lightness:.6;--hui-color-alpha:.14}}[data-hui-color-scheme=light]:root{color-scheme:light;--hui-muted-lightness:1.8;--hui-color-alpha:.125}[data-hui-color-scheme=dark]:root{color-scheme:dark;--hui-muted-lightness:.6;--hui-color-alpha:.14}body{color:var(--hui-color-text);background-color:var(--hui-color-bg-body)}.E9vFyG-r{appearance:none;box-sizing:border-box;font-size:1rem;line-height:var(--hui-line-height);background:0 0;border:0;margin:0;padding:0;text-decoration:none;inset:auto}.E9vFyG-vh{clip-path:rect(0 0 0 0);white-space:nowrap;border:0;outline:none;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.E9vFyG-hui-b-bw-2px{--hui-border-width-base:2px}.E9vFyG-hui-b-bw-3px{--hui-border-width-base:3px}.E9vFyG-hui-b-c-a{--hui-color-base:var(--hui-color-accent);--hui-color-base-top:var(--hui-color-accent-top);--hui-color-base-bottom:var(--hui-color-accent-bottom);--hui-color-base-fg:var(--hui-color-accent-fg)}.E9vFyG-hui-b-c-n{--hui-color-base:var(--hui-color-neutral);--hui-color-base-top:var(--hui-color-neutral-top);--hui-color-base-bottom:var(--hui-color-neutral-bottom);--hui-color-base-fg:var(--hui-color-neutral-fg)}.E9vFyG-hui-b-c-d{--hui-color-base:var(--hui-color-danger);--hui-color-base-top:var(--hui-color-danger-top);--hui-color-base-bottom:var(--hui-color-danger-bottom);--hui-color-base-fg:var(--hui-color-danger-fg)}.E9vFyG-hui-b-c-c{--hui-color-base:var(--hui-color-caution);--hui-color-base-top:var(--hui-color-caution-top);--hui-color-base-bottom:var(--hui-color-caution-bottom);--hui-color-base-fg:var(--hui-color-caution-fg)}[class*=hui-b-c-]{--hui-color-base-alpha:oklch(from var(--hui-color-base) l c h / var(--hui-color-alpha));--hui-color-base-alpha-peak:oklch(from var(--hui-color-base) l c h / calc(var(--hui-color-alpha) + .05));--hui-color-base-muted:oklch(from var(--hui-color-base) calc(l * var(--hui-muted-lightness)) calc(c * .1) h);--hui-color-base-fg-muted:color-mix(in oklab, var(--hui-color-base-muted) 35%, var(--hui-color-base-fg))}.Y9wVya-p-r{position:relative}.Y9wVya-p-a{position:absolute}.Y9wVya-p-f{position:fixed}.Y9wVya-pv-a{position-visibility:always}.Y9wVya-pv-av{position-visibility:anchors-visible}.Y9wVya-pv-no{position-visibility:no-overflow}.Y9wVya-pa-bs{position-area:block-start}.Y9wVya-pa-bsss{position-area:block-start span-inline-start}.Y9wVya-pa-bsse{position-area:block-start span-inline-end}.Y9wVya-pa-be{position-area:block-end}.Y9wVya-pa-bess{position-area:block-end span-inline-start}.Y9wVya-pa-bese{position-area:block-end span-inline-end}.Y9wVya-pa-is{position-area:inline-start}.Y9wVya-pa-isss{position-area:inline-start span-block-start}.Y9wVya-pa-isse{position-area:inline-start span-block-end}.Y9wVya-pa-ie{position-area:inline-end}.Y9wVya-pa-iess{position-area:inline-end span-block-start}.Y9wVya-pa-iese{position-area:inline-end span-block-end}.Y9wVya-ptf-n{position-try-fallbacks:none}.Y9wVya-ptf-f{position-try-fallbacks:flip-block, flip-inline}.Y9wVya-i-0{inset:0}.Y9wVya-ib-0{inset-block:0}.Y9wVya-ib-bo{inset-block:var(--hui-offset-width-base)}.Y9wVya-ii-0{inset-inline:0}.Y9wVya-ii-bo{inset-inline:var(--hui-offset-width-base)}.Y9wVya-iis-0{inset-inline-start:0}.Y9wVya-iie-0{inset-inline-end:0}.Y9wVya-ibs-0{inset-block-start:0}.Y9wVya-ibe-0{inset-block-end:0}.Y9wVya-o-0{opacity:0}.Y9wVya-d-f{display:flex}.Y9wVya-d-g{display:grid}.Y9wVya-d-fc{flex-direction:column;display:flex}.Y9wVya-d-if{display:inline-flex}.Y9wVya-ai-c{align-items:center}.Y9wVya-jc-c{justify-content:center}.Y9wVya-va-t{vertical-align:top}.Y9wVya-o-h{overflow:hidden}.Y9wVya-ox-a{overflow-x:auto}.Y9wVya-gtc-2c{grid-template-columns:auto 1fr}.Y9wVya-pi-c{place-items:center}.Y9wVya-g-0_125x{gap:.125em}.Y9wVya-g-0_25x{gap:.25em}.Y9wVya-g-0_5x{gap:.5em}.Y9wVya-g-1x{gap:1em}.Y9wVya-g-1_5x{gap:1.5em}.Y9wVya-rg-1x{row-gap:.5em}.Y9wVya-m-a{margin:auto}.Y9wVya-mi-0_25x{margin-inline:.25em}.Y9wVya-mi-a{margin-inline:auto}.Y9wVya-mis-a{margin-inline-start:auto}.Y9wVya-mb-0_5x{margin-block:.5em}.Y9wVya-mbe-0_25x{margin-block-end:.25em}.Y9wVya-mbe-0_5x{margin-block-end:.5em}.Y9wVya-mbe-1x{margin-block-end:1em}.Y9wVya-pi-0_25x{padding-inline:min(.25em,4px)}.Y9wVya-pi-0_375x{padding-inline:min(.375em,6px)}.Y9wVya-pi-0_75x{padding-inline:min(.75em,12px)}.Y9wVya-pi-1x{padding-inline:min(1em,16px)}.Y9wVya-pi-1_25x{padding-inline:min(1.25em,20px)}.Y9wVya-pie-2x{padding-inline-end:min(2em,32px)}.Y9wVya-pb-0_25x{padding-block:min(.25em,4px)}.Y9wVya-pb-0_375x{padding-block:min(.375em,6px)}.Y9wVya-pb-0_5x{padding-block:min(.5em,8px)}.Y9wVya-pb-0_75x{padding-block:min(.75em,12px)}.Y9wVya-pb-1x{padding-block:min(1em,16px)}.Y9wVya-pb-1_25x{padding-block:min(1.25em,20px)}.Y9wVya-pbs-0_375x{padding-block-start:min(.375em,6px)}.Y9wVya-pbs-0_5x{padding-block-start:min(.5em,8px)}.Y9wVya-lh-1{line-height:1}.Y9wVya-lh-1_25{line-height:1.25}.Y9wVya-w-fc{width:fit-content}.Y9wVya-w-1x{width:1em}.Y9wVya-w-100{width:100%}.Y9wVya-w-a{width:var(--hui-arbitrary-width)}.Y9wVya-mw-100{max-width:100%}.Y9wVya-h-1x{height:1em}.Y9wVya-h-2x{height:2em}.Y9wVya-h-2_25x{height:2.25em}.Y9wVya-h-100{height:100%}.Y9wVya-h-a{height:auto}.Y9wVya-mh-100{max-height:100%}.Y9wVya-ar-1_1{aspect-ratio:1}.Y9wVya-of-c{object-fit:cover}.Y9wVya-csr-na{cursor:not-allowed}.Y9wVya-fs-ihrt{font-size:inherit}.Y9wVya-fs-0_5x{font-size:.5em}.Y9wVya-fs-0_75x{font-size:.75em}.Y9wVya-fs-0_875x{font-size:.875em}.Y9wVya-fs-1x{font-size:1em}.Y9wVya-fs-1_25x{font-size:1.25em}.Y9wVya-fs-1_5x{font-size:1.5em}.Y9wVya-fs-1_75x{font-size:1.75em}.Y9wVya-fs-2x{font-size:2em}.Y9wVya-fw-sb{font-weight:600}.Y9wVya-fw-b{font-weight:700}.Y9wVya-ta-s{text-align:start}.Y9wVya-ta-i{text-align:inherit}.Y9wVya-cs-t{caption-side:top}.Y9wVya-cs-b{caption-side:bottom}.Y9wVya-c-t{color:var(--hui-color-text)}.Y9wVya-c-td{color:var(--hui-color-text-dimmed)}.Y9wVya-c-tm{color:var(--hui-color-text-muted)}.Y9wVya-c-b{color:var(--hui-color-base)}.Y9wVya-c-bf{color:var(--hui-color-base-fg)}.Y9wVya-c-e{color:var(--hui-color-danger)}.Y9wVya-bgc-b{background-color:var(--hui-color-base)}.Y9wVya-bgc-ba{background-color:var(--hui-color-base-alpha)}.Y9wVya-bgc-bdy{background-color:var(--hui-color-bg-body)}.Y9wVya-bgc-s{background-color:var(--hui-color-bg-section)}.Y9wVya-bgc-bx{background-color:var(--hui-color-bg-box)}.Y9wVya-bgc-t{background-color:#0000}.Y9wVya-td-u{text-underline-offset:1px;text-decoration-line:underline;text-decoration-style:solid;text-decoration-thickness:1px}.Y9wVya-us-n{user-select:none}.Y9wVya-ls-n{list-style:none}.Y9wVya-b-n{border:none}.Y9wVya-b-b{border:var(--hui-color-base) var(--hui-border-width-base) solid}.Y9wVya-b-bap{border:var(--hui-color-base-alpha-peak) var(--hui-border-width-base) solid}.Y9wVya-b-d{border:var(--hui-color-divider) var(--hui-border-width-base) solid}.Y9wVya-b-ed{border:var(--hui-color-danger-divider) var(--hui-border-width-base) solid}.Y9wVya-bis-bb{border-inline-start:var(--hui-color-base-bottom) var(--hui-border-width-base) solid}.Y9wVya-bbs-d{border-block-start:var(--hui-border-width-base) solid var(--hui-color-divider)}.Y9wVya-bbe-d{border-block-end:var(--hui-border-width-base) solid var(--hui-color-divider)}.Y9wVya-bc-c{border-collapse:collapse}.Y9wVya-o-t{outline:1px solid #0000}.Y9wVya-br-f{border-radius:9999px}.Y9wVya-br-b{border-radius:calc(1em * var(--hui-radius-ratio-base))}.Y9wVya-br-b-ex{border-radius:calc(1em * (var(--hui-radius-ratio-base) + .1))}.Y9wVya-br-0_5x{border-radius:.5em}.Y9wVya-bier-base{border-start-end-radius:calc(1em * var(--hui-radius-ratio-base));border-end-end-radius:calc(1em * var(--hui-radius-ratio-base))}.Y9wVya-bbsr-base{border-start-start-radius:calc(1em * var(--hui-radius-ratio-base));border-start-end-radius:calc(1em * var(--hui-radius-ratio-base))}.Y9wVya-bs-bs{box-shadow:0 2px 5px 0px var(--hui-color-bg-box)}.Y9wVya-t-c{transition-duration:var(--hui-transition-duration-base);transition-property:color,outline-color,background-color,border-color,box-shadow,text-decoration-color;transition-timing-function:ease-out}.Y9wVya-t-f{transition-duration:var(--hui-transition-duration-base);transition-behavior:allow-discrete;transition-property:opacity,overlay,display;transition-timing-function:ease}.Y9wVya-t-d{transition-duration:var(--hui-transition-duration-base);transition-behavior:allow-discrete;transition-property:opacity,overlay,display;transition-timing-function:ease;@media (prefers-reduced-motion:no-preference){transition-property:opacity,transform,overlay,display}}.Y9wVya-a-p{--hui-animation-proceeding-sign:-1;transform:translateX(calc(var(--hui-animation-proceeding-sign) * 50%));inset-inline:50% auto;&:dir(rtl){--hui-animation-proceeding-sign:1}@media (prefers-reduced-motion:no-preference){animation:1.5s linear infinite Y9wVya-hui-proceeding}}@keyframes Y9wVya-hui-proceeding{0%{transform:translateX(calc(var(--hui-animation-proceeding-sign) * 100%));inset-inline-start:0}to{inset-inline-start:100%;transform:translate(0)}}._6PTepa-_dc-h-t{@supports (interpolate-size:allow-keywords){interpolate-size:allow-keywords}&::details-content{height:0;overflow:clip;@media (prefers-reduced-motion:no-preference){transition-behavior:allow-discrete;transition-property:height,content-visibility;transition-duration:.2s}}&[open]::details-content{height:auto}}._6PTepa-_b-t-b::backdrop{transition-behavior:allow-discrete;transition-duration:var(--hui-transition-duration-base);transition-property:background-color,backdrop-filter,overlay,display;transition-timing-function:ease-out}._6PTepa-_b-ob-3px:open::backdrop{backdrop-filter:blur(3px)}._6PTepa-_b-obgc-o:open::backdrop{background-color:oklch(from var(--hui-color-neutral) l c h / .3)}._6PTepa-_b-sob-0px:open::backdrop{@starting-style{backdrop-filter:blur()}}._6PTepa-_b-sobgc-t:open::backdrop{@starting-style{background-color:#0000}}._6PTepa-_b-c-am:before{content:var(--hui-anchor-marker);margin-inline-start:-.75em;padding-inline-end:.75em;font-size:.8em;position:absolute;top:50%;transform:translateY(-50%)}._6PTepa-_b-c-cm:before{content:"— "}._6PTepa-_b-c-bb:before{content:"";box-sizing:border-box;border-bottom:var(--hui-color-divider) var(--hui-border-width-base) solid;bottom:0;position:absolute;inset-inline:0}._6PTepa-_b-d-n:before{display:none}._6PTepa-_a-c-am:after{content:var(--hui-anchor-marker);padding-inline-start:.25em;font-size:.8em;position:absolute;top:50%;transform:translateY(-50%)}._6PTepa-_a-d-n:after{display:none}.Pha3Sa-_s-c-t[aria-selected=true]{color:var(--hui-color-text)}.Pha3Sa-_s-bbe-b[aria-selected=true]{border-block-end:var(--hui-border-width-base) solid var(--hui-color-base)}.Pha3Sa-_p-c-t[aria-pressed=true]{color:var(--hui-color-text)}.Pha3Sa-_p-bgc-bd[aria-pressed=true]{background-color:var(--hui-color-bg-body)}.Pha3Sa-_o-o:open{opacity:1}.Pha3Sa-_o-so:open{@starting-style{opacity:0}}.Pha3Sa-_o-t-n:open{transform:none}.Pha3Sa-_o-st-dis:open{@starting-style{transform:translate(-100%)}}.Pha3Sa-_o-st-die:open{@starting-style{transform:translate(100%)}}.Pha3Sa-_o-st-dbs:open{@starting-style{transform:translateY(-100%)}}.Pha3Sa-_o-st-dbe:open{@starting-style{transform:translateY(100%)}}body:has(.Pha3Sa-_o-bof-h:open){overflow:hidden}.Pha3Sa-_po-o:popover-open{opacity:1}.Pha3Sa-_po-so:popover-open{@starting-style{opacity:0}}.vjp-iG-_fv-fr:focus-visible{outline-color:var(--hui-color-accent);outline-offset:2px;outline-width:2px;outline-style:solid}.vjp-iG-_f-b-ba:focus{border-color:var(--hui-color-base-alpha);border-style:solid;border-width:1px}.vjp-iG-_f-o-b:focus{outline-color:var(--hui-color-base);outline-width:1px;outline-style:solid}@media (hover:hover){.Xel67a-_h-td-u:hover{text-underline-offset:1px;text-decoration-line:underline;text-decoration-style:solid;text-decoration-thickness:1px}.Xel67a-_h-td-t-ex:hover{text-decoration-thickness:2px}.Xel67a-_h-c-bt:hover{color:var(--hui-color-base-top)}.Xel67a-_h-bgc-bt:hover{background-color:var(--hui-color-base-top)}.Xel67a-_h-bgc-ba:hover{background-color:var(--hui-color-base-alpha)}.Xel67a-_h-b-bt:hover{border:var(--hui-color-base-top) 1px solid}.Xel67a-_h-bfd-inl:hover:before,.Xel67a-_h-afd-inl:hover:after{display:inline}}@media (hover:none){.Xel67a-_h-td-u:active{text-underline-offset:1px;text-decoration-line:underline;text-decoration-style:solid;text-decoration-thickness:1px}.Xel67a-_h-td-t-ex:active{text-decoration-thickness:2px}.Xel67a-_h-c-bt:active{color:var(--hui-color-base-top)}.Xel67a-_h-bgc-bt:active{background-color:var(--hui-color-base-top)}.Xel67a-_h-bgc-ba:active{background-color:var(--hui-color-base-alpha)}.Xel67a-_h-b-bt:active{border:var(--hui-color-base-top) 1px solid}.Xel67a-_h-bfd-inl:active:before,.Xel67a-_h-afd-inl:active:after{display:inline}}.cUxdma-_a-c-bb:active{color:var(--hui-color-base-bottom)}.cUxdma-_a-bgc-bb:active{background-color:var(--hui-color-base-bottom)}.cUxdma-_a-bgc-bap:active{background-color:var(--hui-color-base-alpha-peak)}.mN-4iG-i-e{box-sizing:border-box;border:1px solid;border-radius:50%;width:1em;height:1em;display:inline-block;position:relative;&:before{content:"";background:currentColor;border-radius:1px;width:2px;height:.5em;position:absolute;top:.1em;left:50%;transform:translate(-50%)}&:after{content:"";background:currentColor;border-radius:50%;width:2px;height:2px;position:absolute;top:.7em;left:50%;transform:translate(-50%)}}.mN-4iG-i-i{background-color:var(--hui-color-base);width:1em;height:1em;display:inline-block;position:relative;&:not(:disabled,[aria-disabled=true],[data-disabled=true]):hover{background-color:var(--hui-color-base-top)}&[aria-checked=mixed]:after{content:"";background-color:var(--hui-color-base-fg);width:75%;height:3px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}}.mN-4iG-i-cl{width:1em;height:1em;display:inline-block;position:relative;&:before,&:after{content:"";background:currentColor;border-radius:1px;width:100%;height:2px;position:absolute;top:50%;left:50%}&:before{transform:translate(-50%,-50%)rotate(45deg)}&:after{transform:translate(-50%,-50%)rotate(-45deg)}}.mN-4iG-i-cd{&:after{@media (prefers-reduced-motion:no-preference){transition:transform .2s}pointer-events:none;content:"";border-style:solid;border-color:var(--hui-color-text-dimmed);bottom:50%;background-color:#0000;border-width:0 2px 2px 0;width:.25em;height:.25em;position:absolute;inset-inline-end:.5em;transform:translateY(50%)rotate(45deg)}[open] &:after{transform:translateY(50%)rotate(225deg)}}._0DIVCW-_c-b-b:checked{border:var(--hui-color-base) 1px solid}._0DIVCW-_c-i-c:checked{background-color:var(--hui-color-base);width:1em;height:1em;display:inline-block;position:relative;&:hover:not(:disabled,[aria-disabled=true],[data-disabled=true]){background-color:var(--hui-color-base-top)}&:after{content:"";border-style:solid;border-color:var(--hui-color-base-fg);background-color:#0000;border-width:0 3px 3px 0;width:25%;height:53%;position:absolute;top:8%;left:26%;transform:rotate(45deg)}}._0DIVCW-_c-i-r:checked{background-color:var(--hui-color-base);width:1em;height:1em;display:inline-block;position:relative;&:hover:not(:disabled,[aria-disabled=true],[data-disabled=true]){background-color:var(--hui-color-base-top)}&:after{content:"";background-color:var(--hui-color-base-fg);border-radius:50%;width:.5em;height:.5em;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}}._8-pBOG-_ro-c-td:is([readonly],[aria-readonly=true],[data-readonly=true]){color:var(--hui-color-text-dimmed)}._8-pBOG-_ro-rbc-s:is([readonly],[aria-readonly=true],[data-readonly=true]){background-color:var(--hui-color-bg-section)}._8-pBOG-_d-c-bm:is(:disabled,[aria-disabled=true],[data-disabled=true]){color:var(--hui-color-base-muted)}._8-pBOG-_d-c-bfm:is(:disabled,[aria-disabled=true],[data-disabled=true]){color:var(--hui-color-base-fg-muted)}._8-pBOG-_d-c-tm:is(:disabled,[aria-disabled=true],[data-disabled=true]){color:var(--hui-color-text-muted)}._8-pBOG-_d-bgc-bm:is(:disabled,[aria-disabled=true],[data-disabled=true]){background-color:var(--hui-color-base-muted)}._8-pBOG-_d-bgc-s:is(:disabled,[aria-disabled=true],[data-disabled=true]){background-color:var(--hui-color-bg-section)}._8-pBOG-_d-bgc-bx:is(:disabled,[aria-disabled=true],[data-disabled=true]){background-color:var(--hui-color-bg-box)}._8-pBOG-_d-bgc-t:is(:disabled,[aria-disabled=true],[data-disabled=true]){background-color:#0000}._8-pBOG-_d-bc-bm:is(:disabled,[aria-disabled=true],[data-disabled=true]){border-color:var(--hui-color-base-muted)}._8-pBOG-_d-csr-na:is(:disabled,[aria-disabled=true],[data-disabled=true]){cursor:not-allowed}@media (hover:hover){.vJEIWW-_ph-bgc-bb[aria-pressed=true]:hover{background-color:var(--hui-color-bg-body)}}@media (hover:none){.vJEIWW-_ph-bgc-bb[aria-pressed=true]:active{background-color:var(--hui-color-bg-body)}}
|
|
1
|
+
:root{color-scheme:light dark;--hui-color-neutral-0:oklch(100% .008 278);--hui-color-neutral-1:oklch(95% .008 278);--hui-color-neutral-2:oklch(90% .008 278);--hui-color-neutral-3:oklch(80% .008 278);--hui-color-neutral-4:oklch(70% .008 278);--hui-color-neutral-5:oklch(55% .008 278);--hui-color-neutral-6:oklch(45% .008 278);--hui-color-neutral-7:oklch(35% .008 278);--hui-color-neutral-8:oklch(25% .008 278);--hui-color-neutral-9:oklch(15% .008 278);--hui-color-accent-0:oklch(100% .2 120);--hui-color-accent-1:oklch(92.5% .2 120);--hui-color-accent-2:oklch(85% .2 120);--hui-color-accent-3:oklch(77.5% .2 120);--hui-color-accent-4:oklch(70% .2 120);--hui-color-accent-5:oklch(60% .2 120);--hui-color-accent-6:oklch(52.5% .2 120);--hui-color-accent-7:oklch(45% .2 120);--hui-color-accent-8:oklch(37.5% .2 120);--hui-color-accent-9:oklch(30% .2 120);--hui-color-danger-0:oklch(100% .2 15);--hui-color-danger-1:oklch(92.5% .2 15);--hui-color-danger-2:oklch(85% .2 15);--hui-color-danger-3:oklch(77.5% .2 15);--hui-color-danger-4:oklch(70% .2 15);--hui-color-danger-5:oklch(60% .2 15);--hui-color-danger-6:oklch(52.5% .2 15);--hui-color-danger-7:oklch(45% .2 15);--hui-color-danger-8:oklch(37.5% .2 15);--hui-color-danger-9:oklch(30% .2 15);--hui-color-caution-0:oklch(100% .2 100);--hui-color-caution-1:oklch(92.5% .2 100);--hui-color-caution-2:oklch(85% .2 100);--hui-color-caution-3:oklch(77.5% .2 100);--hui-color-caution-4:oklch(70% .2 100);--hui-color-caution-5:oklch(60% .2 100);--hui-color-caution-6:oklch(52.5% .2 100);--hui-color-caution-7:oklch(45% .2 100);--hui-color-caution-8:oklch(37.5% .2 100);--hui-color-caution-9:oklch(30% .2 100);--hui-color-bg-body:light-dark(var(--hui-color-neutral-0),var(--hui-color-neutral-9));--hui-color-bg-section:light-dark(var(--hui-color-neutral-1),var(--hui-color-neutral-8));--hui-color-bg-box:light-dark(var(--hui-color-neutral-2),var(--hui-color-neutral-7));--hui-color-divider:light-dark(var(--hui-color-neutral-3),var(--hui-color-neutral-6));--hui-color-danger-divider:light-dark(var(--hui-color-danger-3),var(--hui-color-danger-6));--hui-color-text:light-dark(var(--hui-color-neutral-8),var(--hui-color-neutral-1));--hui-color-text-dimmed:light-dark(var(--hui-color-neutral-6),var(--hui-color-neutral-3));--hui-color-accent:light-dark(var(--hui-color-accent-7),var(--hui-color-accent-2));--hui-color-accent-top:light-dark(var(--hui-color-accent-6),var(--hui-color-accent-1));--hui-color-accent-bottom:light-dark(var(--hui-color-accent-8),var(--hui-color-accent-3));--hui-color-accent-fg:light-dark(color-mix(in oklab, var(--hui-color-accent-0), white 75%),color-mix(in oklab, var(--hui-color-accent-9), black 75%));--hui-color-neutral:light-dark(var(--hui-color-neutral-7),var(--hui-color-neutral-2));--hui-color-neutral-top:light-dark(var(--hui-color-neutral-6),var(--hui-color-neutral-1));--hui-color-neutral-bottom:light-dark(var(--hui-color-neutral-8),var(--hui-color-neutral-3));--hui-color-neutral-fg:light-dark(var(--hui-color-neutral-0),var(--hui-color-neutral-9));--hui-color-danger:light-dark(var(--hui-color-danger-7),var(--hui-color-danger-2));--hui-color-danger-top:light-dark(var(--hui-color-danger-6),var(--hui-color-danger-1));--hui-color-danger-bottom:light-dark(var(--hui-color-danger-8),var(--hui-color-danger-3));--hui-color-danger-fg:light-dark(color-mix(in oklab, var(--hui-color-danger-0), white 75%),color-mix(in oklab, var(--hui-color-danger-9), black 75%));--hui-color-caution:light-dark(var(--hui-color-caution-7),var(--hui-color-caution-2));--hui-color-caution-top:light-dark(var(--hui-color-caution-6),var(--hui-color-caution-1));--hui-color-caution-bottom:light-dark(var(--hui-color-caution-8),var(--hui-color-caution-3));--hui-color-caution-fg:light-dark(color-mix(in oklab, var(--hui-color-caution-0), white 75%),color-mix(in oklab, var(--hui-color-caution-9), black 75%));--hui-line-height:1.5;--hui-anchor-marker:"#";--hui-muted-lightness:1.8;--hui-color-alpha:.125;--hui-color-base:var(--hui-color-accent);--hui-color-base-top:var(--hui-color-accent-top);--hui-color-base-bottom:var(--hui-color-accent-bottom);--hui-color-base-fg:var(--hui-color-accent-fg);--hui-color-text-muted:oklch(from var(--hui-color-text) calc(l * var(--hui-muted-lightness)) calc(c * .1) h);--hui-border-width-base:1px;--hui-offset-width-base:5px;--hui-radius-ratio-base:.1875;--hui-transition-duration-base:.1s}@media (prefers-color-scheme:dark){:root:not([data-hui-color-scheme]){--hui-muted-lightness:.6;--hui-color-alpha:.14}}[data-hui-color-scheme=light]:root{color-scheme:light;--hui-muted-lightness:1.8;--hui-color-alpha:.125}[data-hui-color-scheme=dark]:root{color-scheme:dark;--hui-muted-lightness:.6;--hui-color-alpha:.14}body{color:var(--hui-color-text);background-color:var(--hui-color-bg-body)}.E9vFyG-r{appearance:none;box-sizing:border-box;font-size:1rem;line-height:var(--hui-line-height);background:0 0;border:0;margin:0;padding:0;text-decoration:none;inset:auto}.E9vFyG-sl{z-index:1000;clip-path:rect(0 0 0 0);width:1px;height:1px;position:absolute;top:0;left:0;overflow:hidden;&:focus-within{clip-path:none;width:auto;height:auto;overflow:visible}}.E9vFyG-vh{clip-path:rect(0 0 0 0);white-space:nowrap;border:0;outline:none;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.E9vFyG-hui-b-bw-2px{--hui-border-width-base:2px}.E9vFyG-hui-b-bw-3px{--hui-border-width-base:3px}.E9vFyG-hui-b-c-a{--hui-color-base:var(--hui-color-accent);--hui-color-base-top:var(--hui-color-accent-top);--hui-color-base-bottom:var(--hui-color-accent-bottom);--hui-color-base-fg:var(--hui-color-accent-fg)}.E9vFyG-hui-b-c-n{--hui-color-base:var(--hui-color-neutral);--hui-color-base-top:var(--hui-color-neutral-top);--hui-color-base-bottom:var(--hui-color-neutral-bottom);--hui-color-base-fg:var(--hui-color-neutral-fg)}.E9vFyG-hui-b-c-d{--hui-color-base:var(--hui-color-danger);--hui-color-base-top:var(--hui-color-danger-top);--hui-color-base-bottom:var(--hui-color-danger-bottom);--hui-color-base-fg:var(--hui-color-danger-fg)}.E9vFyG-hui-b-c-c{--hui-color-base:var(--hui-color-caution);--hui-color-base-top:var(--hui-color-caution-top);--hui-color-base-bottom:var(--hui-color-caution-bottom);--hui-color-base-fg:var(--hui-color-caution-fg)}[class*=hui-b-c-]{--hui-color-base-alpha:oklch(from var(--hui-color-base) l c h / var(--hui-color-alpha));--hui-color-base-alpha-peak:oklch(from var(--hui-color-base) l c h / calc(var(--hui-color-alpha) + .05));--hui-color-base-muted:oklch(from var(--hui-color-base) calc(l * var(--hui-muted-lightness)) calc(c * .1) h);--hui-color-base-fg-muted:color-mix(in oklab, var(--hui-color-base-muted) 35%, var(--hui-color-base-fg))}.Y9wVya-p-r{position:relative}.Y9wVya-p-a{position:absolute}.Y9wVya-p-f{position:fixed}.Y9wVya-pv-a{position-visibility:always}.Y9wVya-pv-av{position-visibility:anchors-visible}.Y9wVya-pv-no{position-visibility:no-overflow}.Y9wVya-pa-bs{position-area:block-start}.Y9wVya-pa-bsss{position-area:block-start span-inline-start}.Y9wVya-pa-bsse{position-area:block-start span-inline-end}.Y9wVya-pa-be{position-area:block-end}.Y9wVya-pa-bess{position-area:block-end span-inline-start}.Y9wVya-pa-bese{position-area:block-end span-inline-end}.Y9wVya-pa-is{position-area:inline-start}.Y9wVya-pa-isss{position-area:inline-start span-block-start}.Y9wVya-pa-isse{position-area:inline-start span-block-end}.Y9wVya-pa-ie{position-area:inline-end}.Y9wVya-pa-iess{position-area:inline-end span-block-start}.Y9wVya-pa-iese{position-area:inline-end span-block-end}.Y9wVya-ptf-n{position-try-fallbacks:none}.Y9wVya-ptf-f{position-try-fallbacks:flip-block, flip-inline}.Y9wVya-i-0{inset:0}.Y9wVya-ib-0{inset-block:0}.Y9wVya-ib-bo{inset-block:var(--hui-offset-width-base)}.Y9wVya-ii-0{inset-inline:0}.Y9wVya-ii-bo{inset-inline:var(--hui-offset-width-base)}.Y9wVya-iis-0{inset-inline-start:0}.Y9wVya-iie-0{inset-inline-end:0}.Y9wVya-ibs-0{inset-block-start:0}.Y9wVya-ibe-0{inset-block-end:0}.Y9wVya-o-0{opacity:0}.Y9wVya-d-f{display:flex}.Y9wVya-d-g{display:grid}.Y9wVya-d-fc{flex-direction:column;display:flex}.Y9wVya-d-if{display:inline-flex}.Y9wVya-ai-c{align-items:center}.Y9wVya-jc-c{justify-content:center}.Y9wVya-va-t{vertical-align:top}.Y9wVya-o-h{overflow:hidden}.Y9wVya-ox-a{overflow-x:auto}.Y9wVya-gtc-2c{grid-template-columns:auto 1fr}.Y9wVya-gc-1{grid-column:1}.Y9wVya-gc-2{grid-column:2}.Y9wVya-pi-c{place-items:center}.Y9wVya-g-0_125x{gap:.125em}.Y9wVya-g-0_25x{gap:.25em}.Y9wVya-g-0_5x{gap:.5em}.Y9wVya-g-1_5x{gap:1.5em}.Y9wVya-rg-0_25x{row-gap:.25em}.Y9wVya-rg-0_5x{row-gap:.5em}.Y9wVya-cg-2x{column-gap:2em}.Y9wVya-m-a{margin:auto}.Y9wVya-mi-0_25x{margin-inline:.25em}.Y9wVya-mi-a{margin-inline:auto}.Y9wVya-mis-a{margin-inline-start:auto}.Y9wVya-mb-0_5x{margin-block:.5em}.Y9wVya-mb-1x{margin-block:1em}.Y9wVya-mbe-0_25x{margin-block-end:.25em}.Y9wVya-mbe-0_5x{margin-block-end:.5em}.Y9wVya-mbe-1x{margin-block-end:1em}.Y9wVya-pi-0_25x{padding-inline:min(.25em,4px)}.Y9wVya-pi-0_375x{padding-inline:min(.375em,6px)}.Y9wVya-pi-0_75x{padding-inline:min(.75em,12px)}.Y9wVya-pi-1x{padding-inline:min(1em,16px)}.Y9wVya-pi-1_25x{padding-inline:min(1.25em,20px)}.Y9wVya-pie-2x{padding-inline-end:min(2em,32px)}.Y9wVya-pb-0_25x{padding-block:min(.25em,4px)}.Y9wVya-pb-0_375x{padding-block:min(.375em,6px)}.Y9wVya-pb-0_5x{padding-block:min(.5em,8px)}.Y9wVya-pb-0_75x{padding-block:min(.75em,12px)}.Y9wVya-pb-1x{padding-block:min(1em,16px)}.Y9wVya-pb-1_25x{padding-block:min(1.25em,20px)}.Y9wVya-pbs-0_375x{padding-block-start:min(.375em,6px)}.Y9wVya-pbs-0_5x{padding-block-start:min(.5em,8px)}.Y9wVya-lh-1{line-height:1}.Y9wVya-lh-1_25{line-height:1.25}.Y9wVya-w-fc{width:fit-content}.Y9wVya-w-1x{width:1em}.Y9wVya-w-100{width:100%}.Y9wVya-w-a{width:var(--hui-arbitrary-width)}.Y9wVya-mw-100{max-width:100%}.Y9wVya-h-1x{height:1em}.Y9wVya-h-2_25x{height:2.25em}.Y9wVya-h-100{height:100%}.Y9wVya-h-a{height:auto}.Y9wVya-mh-2x{min-height:2em}.Y9wVya-mh-100{max-height:100%}.Y9wVya-ar-1_1{aspect-ratio:1}.Y9wVya-of-c{object-fit:cover}.Y9wVya-csr-na{cursor:not-allowed}.Y9wVya-fs-ihrt{font-size:inherit}.Y9wVya-fs-0_5x{font-size:.5em}.Y9wVya-fs-0_75x{font-size:.75em}.Y9wVya-fs-0_875x{font-size:.875em}.Y9wVya-fs-1x{font-size:1em}.Y9wVya-fs-1_25x{font-size:1.25em}.Y9wVya-fs-1_5x{font-size:1.5em}.Y9wVya-fs-1_75x{font-size:1.75em}.Y9wVya-fs-2x{font-size:2em}.Y9wVya-fw-sb{font-weight:600}.Y9wVya-fw-b{font-weight:700}.Y9wVya-ta-s{text-align:start}.Y9wVya-ta-i{text-align:inherit}.Y9wVya-cs-t{caption-side:top}.Y9wVya-cs-b{caption-side:bottom}.Y9wVya-c-t{color:var(--hui-color-text)}.Y9wVya-c-td{color:var(--hui-color-text-dimmed)}.Y9wVya-c-tm{color:var(--hui-color-text-muted)}.Y9wVya-c-b{color:var(--hui-color-base)}.Y9wVya-c-bf{color:var(--hui-color-base-fg)}.Y9wVya-c-e{color:var(--hui-color-danger)}.Y9wVya-bgc-b{background-color:var(--hui-color-base)}.Y9wVya-bgc-ba{background-color:var(--hui-color-base-alpha)}.Y9wVya-bgc-bdy{background-color:var(--hui-color-bg-body)}.Y9wVya-bgc-s{background-color:var(--hui-color-bg-section)}.Y9wVya-bgc-bx{background-color:var(--hui-color-bg-box)}.Y9wVya-bgc-t{background-color:#0000}.Y9wVya-td-u{text-underline-offset:1px;text-decoration-line:underline;text-decoration-style:solid;text-decoration-thickness:1px}.Y9wVya-ws-nw{white-space:nowrap}.Y9wVya-to-e{text-overflow:ellipsis}.Y9wVya-us-n{user-select:none}.Y9wVya-ls-n{list-style:none}.Y9wVya-bw-0{border-width:0}.Y9wVya-bw-b{border-width:var(--hui-border-width-base)}.Y9wVya-bisw-b{border-inline-start-width:var(--hui-border-width-base)}.Y9wVya-bbsw-b{border-block-start-width:var(--hui-border-width-base)}.Y9wVya-bbew-b{border-block-end-width:var(--hui-border-width-base)}.Y9wVya-bs-s{border-style:solid}.Y9wVya-bc-b{border-color:var(--hui-color-base)}.Y9wVya-bc-bb{border-color:var(--hui-color-base-bottom)}.Y9wVya-bc-bap{border-color:var(--hui-color-base-alpha-peak)}.Y9wVya-bc-d{border-color:var(--hui-color-divider)}.Y9wVya-bc-ed{border-color:var(--hui-color-danger-divider)}.Y9wVya-bc-c{border-collapse:collapse}.Y9wVya-o-t{outline:1px solid #0000}.Y9wVya-br-f{border-radius:9999px}.Y9wVya-br-b{border-radius:calc(1em * var(--hui-radius-ratio-base))}.Y9wVya-br-b-ex{border-radius:calc(1em * (var(--hui-radius-ratio-base) + .1))}.Y9wVya-br-0_5x{border-radius:.5em}.Y9wVya-bier-base{border-start-end-radius:calc(1em * var(--hui-radius-ratio-base));border-end-end-radius:calc(1em * var(--hui-radius-ratio-base))}.Y9wVya-bbsr-base{border-start-start-radius:calc(1em * var(--hui-radius-ratio-base));border-start-end-radius:calc(1em * var(--hui-radius-ratio-base))}.Y9wVya-bs-bs{box-shadow:0 2px 5px 0px var(--hui-color-bg-box)}.Y9wVya-t-c{transition-duration:var(--hui-transition-duration-base);transition-property:color,outline-color,background-color,border-color,box-shadow,text-decoration-color;transition-timing-function:ease-out}.Y9wVya-t-f{transition-duration:var(--hui-transition-duration-base);transition-behavior:allow-discrete;transition-property:opacity,overlay,display;transition-timing-function:ease}.Y9wVya-t-d{transition-duration:var(--hui-transition-duration-base);transition-behavior:allow-discrete;transition-property:opacity,overlay,display;transition-timing-function:ease;@media (prefers-reduced-motion:no-preference){transition-property:opacity,transform,overlay,display}}.Y9wVya-a-p{--hui-animation-proceeding-sign:-1;transform:translateX(calc(var(--hui-animation-proceeding-sign) * 50%));inset-inline:50% auto;&:dir(rtl){--hui-animation-proceeding-sign:1}@media (prefers-reduced-motion:no-preference){animation:1.5s linear infinite Y9wVya-hui-proceeding}}@keyframes Y9wVya-hui-proceeding{0%{transform:translateX(calc(var(--hui-animation-proceeding-sign) * 100%));inset-inline-start:0}to{inset-inline-start:100%;transform:translate(0)}}._6PTepa-_dc-h-t{@supports (interpolate-size:allow-keywords){interpolate-size:allow-keywords}&::details-content{height:0;overflow:clip;@media (prefers-reduced-motion:no-preference){transition-behavior:allow-discrete;transition-property:height,content-visibility;transition-duration:.2s}}&[open]::details-content{height:auto}}._6PTepa-_b-t-b::backdrop{transition-behavior:allow-discrete;transition-duration:var(--hui-transition-duration-base);transition-property:background-color,backdrop-filter,overlay,display;transition-timing-function:ease-out}._6PTepa-_b-ob-3px:open::backdrop{backdrop-filter:blur(3px)}._6PTepa-_b-obgc-o:open::backdrop{background-color:oklch(from var(--hui-color-neutral) l c h / .3)}._6PTepa-_b-sob-0px:open::backdrop{@starting-style{backdrop-filter:blur()}}._6PTepa-_b-sobgc-t:open::backdrop{@starting-style{background-color:#0000}}._6PTepa-_b-c-am:before{content:var(--hui-anchor-marker);margin-inline-start:-.75em;padding-inline-end:.75em;font-size:.8em;position:absolute;top:50%;transform:translateY(-50%)}._6PTepa-_b-c-cm:before{content:"— "}._6PTepa-_b-c-bb:before{content:"";box-sizing:border-box;border-bottom:var(--hui-color-divider) var(--hui-border-width-base) solid;bottom:0;position:absolute;inset-inline:0}._6PTepa-_b-d-n:before{display:none}._6PTepa-_a-c-am:after{content:var(--hui-anchor-marker);padding-inline-start:.25em;font-size:.8em;position:absolute;top:50%;transform:translateY(-50%)}._6PTepa-_a-d-n:after{display:none}.Pha3Sa-_s-c-t[aria-selected=true]{color:var(--hui-color-text)}.Pha3Sa-_s-bbew-b[aria-selected=true]{border-block-end-width:var(--hui-border-width-base)}.Pha3Sa-_s-bc-b[aria-selected=true]{border-color:var(--hui-color-base)}.Pha3Sa-_p-c-t[aria-pressed=true]{color:var(--hui-color-text)}.Pha3Sa-_p-bgc-bd[aria-pressed=true]{background-color:var(--hui-color-bg-body)}.Pha3Sa-_o-o:open{opacity:1}.Pha3Sa-_o-so:open{@starting-style{opacity:0}}.Pha3Sa-_o-t-n:open{transform:none}.Pha3Sa-_o-st-dis:open{@starting-style{transform:translate(-100%)}}.Pha3Sa-_o-st-die:open{@starting-style{transform:translate(100%)}}.Pha3Sa-_o-st-dbs:open{@starting-style{transform:translateY(-100%)}}.Pha3Sa-_o-st-dbe:open{@starting-style{transform:translateY(100%)}}body:has(.Pha3Sa-_o-bof-h:open){overflow:hidden}.Pha3Sa-_po-o:popover-open{opacity:1}.Pha3Sa-_po-so:popover-open{@starting-style{opacity:0}}.vjp-iG-_fv-fr:focus-visible{outline-color:var(--hui-color-accent);outline-offset:2px;outline-width:2px;outline-style:solid}.vjp-iG-_f-bc-b:focus{border-color:var(--hui-color-base)}.vjp-iG-_f-o-bap:focus{outline-color:var(--hui-color-base-alpha-peak);outline-width:1px;outline-style:solid}@media (hover:hover){.Xel67a-_h-td-u:hover{text-underline-offset:1px;text-decoration-line:underline;text-decoration-style:solid;text-decoration-thickness:1px}.Xel67a-_h-td-t-ex:hover{text-decoration-thickness:2px}.Xel67a-_h-c-t:hover{color:var(--hui-color-text)}.Xel67a-_h-c-bt:hover{color:var(--hui-color-base-top)}.Xel67a-_h-bgc-bt:hover{background-color:var(--hui-color-base-top)}.Xel67a-_h-bgc-ba:hover{background-color:var(--hui-color-base-alpha)}.Xel67a-_h-bc-bt:hover{border-color:var(--hui-color-base-top)}.Xel67a-_h-bfd-inl:hover:before,.Xel67a-_h-afd-inl:hover:after{display:inline}}@media (hover:none){.Xel67a-_h-td-u:active{text-underline-offset:1px;text-decoration-line:underline;text-decoration-style:solid;text-decoration-thickness:1px}.Xel67a-_h-td-t-ex:active{text-decoration-thickness:2px}.Xel67a-_h-c-t:active{color:var(--hui-color-text)}.Xel67a-_h-c-bt:active{color:var(--hui-color-base-top)}.Xel67a-_h-bgc-bt:active{background-color:var(--hui-color-base-top)}.Xel67a-_h-bgc-ba:active{background-color:var(--hui-color-base-alpha)}.Xel67a-_h-bc-bt:active{border-color:var(--hui-color-base-top)}.Xel67a-_h-bfd-inl:active:before,.Xel67a-_h-afd-inl:active:after{display:inline}}.cUxdma-_a-c-bb:active{color:var(--hui-color-base-bottom)}.cUxdma-_a-bgc-bb:active{background-color:var(--hui-color-base-bottom)}.cUxdma-_a-bgc-bap:active{background-color:var(--hui-color-base-alpha-peak)}.mN-4iG-i-e{box-sizing:border-box;border:1px solid;border-radius:50%;width:1em;height:1em;display:inline-block;position:relative;&:before{content:"";background:currentColor;border-radius:1px;width:2px;height:.5em;position:absolute;top:.1em;left:50%;transform:translate(-50%)}&:after{content:"";background:currentColor;border-radius:50%;width:2px;height:2px;position:absolute;top:.7em;left:50%;transform:translate(-50%)}}.mN-4iG-i-cl{width:1em;height:1em;display:inline-block;position:relative;&:before,&:after{content:"";background:currentColor;border-radius:1px;width:100%;height:2px;position:absolute;top:50%;left:50%}&:before{transform:translate(-50%,-50%)rotate(45deg)}&:after{transform:translate(-50%,-50%)rotate(-45deg)}}.mN-4iG-i-cd{&:after{@media (prefers-reduced-motion:no-preference){transition:transform .2s}pointer-events:none;content:"";border-style:solid;border-color:var(--hui-color-text-dimmed);bottom:50%;background-color:#0000;border-width:0 2px 2px 0;width:.25em;height:.25em;position:absolute;inset-inline-end:.5em;transform:translateY(50%)rotate(45deg)}[open] &:after{transform:translateY(50%)rotate(225deg)}}._0DIVCW-_c-bc-b:checked{border-color:var(--hui-color-base)}._0DIVCW-_c-i-c:checked:not(:where([data-indeterminate=true])){background-color:var(--hui-color-base);width:1em;height:1em;display:inline-block;position:relative;&:hover:not(:disabled,[aria-disabled=true],[data-disabled=true]){background-color:var(--hui-color-base-top)}&:after{content:"";border-style:solid;border-color:var(--hui-color-base-fg);background-color:#0000;border-width:0 3px 3px 0;width:25%;height:53%;position:absolute;top:8%;left:26%;transform:rotate(45deg)}}._0DIVCW-_i-bc-b[data-indeterminate=true]{border-color:var(--hui-color-base)}._0DIVCW-_i-i-i[data-indeterminate=true]{background-color:var(--hui-color-base);width:1em;height:1em;display:inline-block;position:relative;&:not(:disabled,[aria-disabled=true],[data-disabled=true]):hover{background-color:var(--hui-color-base-top)}&:after{content:"";background-color:var(--hui-color-base-fg);width:75%;height:3px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}}._0DIVCW-_c-i-r:checked{background-color:var(--hui-color-base);width:1em;height:1em;display:inline-block;position:relative;&:hover:not(:disabled,[aria-disabled=true],[data-disabled=true]){background-color:var(--hui-color-base-top)}&:after{content:"";background-color:var(--hui-color-base-fg);border-radius:50%;width:.5em;height:.5em;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}}._8-pBOG-_ro-c-td:is([readonly],[aria-readonly=true],[data-readonly=true]){color:var(--hui-color-text-dimmed)}._8-pBOG-_ro-rbc-s:is([readonly],[aria-readonly=true],[data-readonly=true]){background-color:var(--hui-color-bg-section)}._8-pBOG-_d-c-bm:is(:disabled,[aria-disabled=true],[data-disabled=true]){color:var(--hui-color-base-muted)}._8-pBOG-_d-c-bfm:is(:disabled,[aria-disabled=true],[data-disabled=true]){color:var(--hui-color-base-fg-muted)}._8-pBOG-_d-c-tm:is(:disabled,[aria-disabled=true],[data-disabled=true]){color:var(--hui-color-text-muted)}._8-pBOG-_d-bgc-bm:is(:disabled,[aria-disabled=true],[data-disabled=true]){background-color:var(--hui-color-base-muted)}._8-pBOG-_d-bgc-s:is(:disabled,[aria-disabled=true],[data-disabled=true]){background-color:var(--hui-color-bg-section)}._8-pBOG-_d-bgc-bx:is(:disabled,[aria-disabled=true],[data-disabled=true]){background-color:var(--hui-color-bg-box)}._8-pBOG-_d-bgc-t:is(:disabled,[aria-disabled=true],[data-disabled=true]){background-color:#0000}._8-pBOG-_d-bc-bm:is(:disabled,[aria-disabled=true],[data-disabled=true]){border-color:var(--hui-color-base-muted)}._8-pBOG-_d-csr-na:is(:disabled,[aria-disabled=true],[data-disabled=true]){cursor:not-allowed}@media (hover:hover){.vJEIWW-_ph-bgc-bb[aria-pressed=true]:hover{background-color:var(--hui-color-bg-body)}}@media (hover:none){.vJEIWW-_ph-bgc-bb[aria-pressed=true]:active{background-color:var(--hui-color-bg-body)}}
|
package/dist/styles/css-vars.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
//#region src/styles/make-recipe-type.d.ts
|
|
2
1
|
export type RecipeVariants<R> = R extends ((selection?: infer S) => unknown) ? S : never;
|
|
3
2
|
export type RecipeSlots<R> = R extends ((selection?: infer _S) => Record<infer Slot extends string, string>) ? Slot : never;
|
|
4
|
-
//#endregion
|
|
5
3
|
//# sourceMappingURL=make-recipe-type.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PRIMITIVE } from "./primitive.gen.js";
|
|
2
|
-
//#region src/styles/make-recipe.d.ts
|
|
3
2
|
type PrimitiveKeys = keyof typeof PRIMITIVE;
|
|
4
3
|
type IsFlatProp<K extends PrimitiveKeys> = K extends `_${string}` ? false : true;
|
|
5
4
|
type FlatPropKey = { [K in PrimitiveKeys]: IsFlatProp<K> extends true ? K : never; }[PrimitiveKeys];
|
|
@@ -8,8 +7,7 @@ type CssProps = { [K in FlatPropKey]?: keyof (typeof PRIMITIVE)[K]; } & { [K in
|
|
|
8
7
|
type VariantSelection<Variants extends Record<string, Record<string, unknown>>> = { [K in keyof Variants]: (keyof Variants[K] & string) | undefined; };
|
|
9
8
|
type VariantObj<Slot extends string> = Record<string, Record<string, Partial<Record<Slot, CssProps>>>>;
|
|
10
9
|
export interface Recipe<Slot extends string, Variants extends VariantObj<Slot>> {
|
|
11
|
-
(selection?: Partial<VariantSelection<Variants
|
|
10
|
+
(selection?: Readonly<Partial<VariantSelection<Variants>>>): Record<Slot, string>;
|
|
12
11
|
}
|
|
13
|
-
//#endregion
|
|
14
12
|
export {};
|
|
15
13
|
//# sourceMappingURL=make-recipe.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PRIMITIVE } from "./primitive.gen.js";
|
|
2
|
-
|
|
2
|
+
// src/styles/make-recipe.ts
|
|
3
3
|
function collectPsedoClasses(node, value) {
|
|
4
4
|
return Object.entries(value).map(([k, v]) => {
|
|
5
5
|
const nestedNode = node[k];
|
|
@@ -34,8 +34,8 @@ function mergeVariants(base, slot, variants, selection) {
|
|
|
34
34
|
return merged;
|
|
35
35
|
}
|
|
36
36
|
function makeRecipe(option) {
|
|
37
|
-
return (selection
|
|
38
|
-
const targetSelection = Object.entries(selection).filter(([, v]) => v !== void 0);
|
|
37
|
+
return (selection) => {
|
|
38
|
+
const targetSelection = Object.entries(selection ?? {}).filter(([, v]) => v !== void 0);
|
|
39
39
|
const effectiveSelection = {
|
|
40
40
|
...option.defaultVariants,
|
|
41
41
|
...Object.fromEntries(targetSelection)
|
|
@@ -45,7 +45,6 @@ function makeRecipe(option) {
|
|
|
45
45
|
return result;
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
//#endregion
|
|
49
48
|
export { makeRecipe };
|
|
50
49
|
|
|
51
50
|
//# sourceMappingURL=make-recipe.js.map
|