@hebium-ui/core 0.1.0-alpha.3 → 0.1.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/dist/index.d.ts +12 -2
  2. package/dist/index.js +15 -5
  3. package/dist/logics/avatar-placeholder/get-avatar-placeholder.d.ts +1 -2
  4. package/dist/logics/avatar-placeholder/should-show-avatar-placeholder.d.ts +1 -2
  5. package/dist/logics/bool/to-bool.d.ts +1 -2
  6. package/dist/logics/bool/to-strbool.d.ts +1 -2
  7. package/dist/logics/button-control/button-control.d.ts +16 -0
  8. package/dist/logics/button-control/button-control.js +26 -0
  9. package/dist/logics/button-control/button-control.js.map +1 -0
  10. package/dist/logics/cc/cc-all.d.ts +1 -2
  11. package/dist/logics/cc/cc.d.ts +1 -2
  12. package/dist/logics/checkbox-control/checkbox-control.d.ts +1 -2
  13. package/dist/logics/combobox-control/combobox-control.d.ts +100 -0
  14. package/dist/logics/combobox-control/combobox-control.js +100 -0
  15. package/dist/logics/combobox-control/combobox-control.js.map +1 -0
  16. package/dist/logics/combobox-control/combobox-filter.d.ts +13 -0
  17. package/dist/logics/combobox-control/combobox-filter.js +11 -0
  18. package/dist/logics/combobox-control/combobox-filter.js.map +1 -0
  19. package/dist/logics/combobox-control/combobox-navigation.d.ts +2 -0
  20. package/dist/logics/combobox-control/combobox-navigation.js +10 -0
  21. package/dist/logics/combobox-control/combobox-navigation.js.map +1 -0
  22. package/dist/logics/dialog-control/dialog-control.d.ts +1 -2
  23. package/dist/logics/input-control/input-control.d.ts +1 -2
  24. package/dist/logics/label-marker/label-marker.d.ts +1 -2
  25. package/dist/logics/menu-control/menu-control.d.ts +1 -2
  26. package/dist/logics/menu-control/menu-control.js.map +1 -1
  27. package/dist/logics/ms/ms-all.d.ts +1 -2
  28. package/dist/logics/multi-combobox-control/multi-combobox-control.d.ts +58 -0
  29. package/dist/logics/multi-combobox-control/multi-combobox-control.js +76 -0
  30. package/dist/logics/multi-combobox-control/multi-combobox-control.js.map +1 -0
  31. package/dist/logics/multi-combobox-control/multi-combobox-focus.d.ts +15 -0
  32. package/dist/logics/multi-combobox-control/multi-combobox-focus.js +46 -0
  33. package/dist/logics/multi-combobox-control/multi-combobox-focus.js.map +1 -0
  34. package/dist/logics/popover-control/popover-control.d.ts +3 -2
  35. package/dist/logics/popover-control/popover-control.js +5 -1
  36. package/dist/logics/popover-control/popover-control.js.map +1 -1
  37. package/dist/logics/progress-control/progress-control.d.ts +1 -2
  38. package/dist/logics/progress-control/progress-control.js +1 -1
  39. package/dist/logics/progress-control/progress-control.js.map +1 -1
  40. package/dist/logics/radio-control/radio-control.d.ts +1 -2
  41. package/dist/logics/radiogroup-control/radiogroup-control.d.ts +1 -2
  42. package/dist/logics/segmented-control/segmented-control.d.ts +2 -3
  43. package/dist/logics/segmented-control/segmented-control.js +1 -1
  44. package/dist/logics/segmented-control/segmented-control.js.map +1 -1
  45. package/dist/logics/tabs-control/tabs-control.d.ts +1 -2
  46. package/dist/logics/tooltip-control/tooltip-control.d.ts +1 -2
  47. package/dist/recipes/alert/alert.d.ts +2 -3
  48. package/dist/recipes/alert/alert.js +1 -5
  49. package/dist/recipes/alert/alert.js.map +1 -1
  50. package/dist/recipes/anchor/anchor.d.ts +1 -2
  51. package/dist/recipes/avatar/avatar.d.ts +1 -2
  52. package/dist/recipes/blockquote/blockquote.d.ts +1 -2
  53. package/dist/recipes/button/button.d.ts +10 -3
  54. package/dist/recipes/button/button.js +32 -12
  55. package/dist/recipes/button/button.js.map +1 -1
  56. package/dist/recipes/checkbox/checkbox.d.ts +2 -3
  57. package/dist/recipes/code/code.d.ts +1 -2
  58. package/dist/recipes/combobox/combobox.d.ts +8 -0
  59. package/dist/recipes/combobox/combobox.js +34 -0
  60. package/dist/recipes/combobox/combobox.js.map +1 -0
  61. package/dist/recipes/container/container.d.ts +1 -2
  62. package/dist/recipes/details/details.d.ts +1 -2
  63. package/dist/recipes/dialog/dialog.d.ts +1 -2
  64. package/dist/recipes/dl/dl.d.ts +1 -2
  65. package/dist/recipes/drawer/drawer.d.ts +1 -2
  66. package/dist/recipes/fieldset/fieldset.d.ts +1 -2
  67. package/dist/recipes/focus-ring/focus-ring.d.ts +1 -2
  68. package/dist/recipes/heading/heading.d.ts +1 -2
  69. package/dist/recipes/hr/hr.d.ts +1 -2
  70. package/dist/recipes/inline-feedback/inline-feedback.d.ts +50 -0
  71. package/dist/recipes/inline-feedback/inline-feedback.js +45 -0
  72. package/dist/recipes/inline-feedback/inline-feedback.js.map +1 -0
  73. package/dist/recipes/input/input.d.ts +1 -2
  74. package/dist/recipes/label/label.d.ts +2 -3
  75. package/dist/recipes/label/label.js +1 -0
  76. package/dist/recipes/label/label.js.map +1 -1
  77. package/dist/recipes/menu/menu.d.ts +1 -2
  78. package/dist/recipes/menu/menu.js +4 -1
  79. package/dist/recipes/menu/menu.js.map +1 -1
  80. package/dist/recipes/multi-combobox/multi-combobox.d.ts +8 -0
  81. package/dist/recipes/multi-combobox/multi-combobox.js +52 -0
  82. package/dist/recipes/multi-combobox/multi-combobox.js.map +1 -0
  83. package/dist/recipes/paragraph/paragraph.d.ts +1 -2
  84. package/dist/recipes/popover/popover.d.ts +1 -2
  85. package/dist/recipes/popover/popover.js +0 -1
  86. package/dist/recipes/popover/popover.js.map +1 -1
  87. package/dist/recipes/progress/progress.d.ts +2 -3
  88. package/dist/recipes/radio/radio.d.ts +2 -3
  89. package/dist/recipes/radiogroup/radiogroup.d.ts +1 -2
  90. package/dist/recipes/section/section.d.ts +1 -2
  91. package/dist/recipes/segmented-control/segmented-control.d.ts +1 -2
  92. package/dist/recipes/segmented-control/segmented-control.js +6 -3
  93. package/dist/recipes/segmented-control/segmented-control.js.map +1 -1
  94. package/dist/recipes/select/select.d.ts +1 -2
  95. package/dist/recipes/skip-link/skip-link.d.ts +1 -2
  96. package/dist/recipes/status-icon/status-icon.d.ts +55 -0
  97. package/dist/recipes/status-icon/status-icon.js +39 -0
  98. package/dist/recipes/status-icon/status-icon.js.map +1 -0
  99. package/dist/recipes/table/table.d.ts +1 -2
  100. package/dist/recipes/tabs/tabs.d.ts +1 -2
  101. package/dist/recipes/tag/tag.d.ts +64 -0
  102. package/dist/recipes/tag/tag.js +86 -0
  103. package/dist/recipes/tag/tag.js.map +1 -0
  104. package/dist/recipes/text/text.d.ts +1 -2
  105. package/dist/recipes/visually-hidden/visually-hidden.d.ts +1 -2
  106. package/dist/style.css +1 -1
  107. package/dist/styles/css-vars.d.ts +1 -2
  108. package/dist/styles/make-recipe-type.d.ts +1 -2
  109. package/dist/styles/make-recipe.d.ts +1 -2
  110. package/dist/styles/primitive-css/{active.module.js → active.module.css.js} +1 -1
  111. package/dist/styles/primitive-css/active.module.css.js.map +1 -0
  112. package/dist/styles/primitive-css/{base.module.js → base.module.css.js} +1 -1
  113. package/dist/styles/primitive-css/base.module.css.js.map +1 -0
  114. package/dist/styles/primitive-css/{checked.module.js → checked.module.css.js} +1 -1
  115. package/dist/styles/primitive-css/checked.module.css.js.map +1 -0
  116. package/dist/styles/primitive-css/composite.module.css.js +5 -0
  117. package/dist/styles/primitive-css/composite.module.css.js.map +1 -0
  118. package/dist/styles/primitive-css/{disabled.module.js → disabled.module.css.js} +1 -1
  119. package/dist/styles/primitive-css/disabled.module.css.js.map +1 -0
  120. package/dist/styles/primitive-css/{focus.module.js → focus.module.css.js} +3 -2
  121. package/dist/styles/primitive-css/focus.module.css.js.map +1 -0
  122. package/dist/styles/primitive-css/{hover.module.js → hover.module.css.js} +1 -1
  123. package/dist/styles/primitive-css/hover.module.css.js.map +1 -0
  124. package/dist/styles/primitive-css/{icon.module.js → icon.module.css.js} +6 -2
  125. package/dist/styles/primitive-css/icon.module.css.js.map +1 -0
  126. package/dist/styles/primitive-css/{misc.module.js → misc.module.css.js} +5 -4
  127. package/dist/styles/primitive-css/misc.module.css.js.map +1 -0
  128. package/dist/styles/primitive-css/{neutral.module.js → neutral.module.css.js} +11 -1
  129. package/dist/styles/primitive-css/neutral.module.css.js.map +1 -0
  130. package/dist/styles/primitive-css/{pseudo-element.module.js → pseudo-element.module.css.js} +1 -1
  131. package/dist/styles/primitive-css/pseudo-element.module.css.js.map +1 -0
  132. package/dist/styles/primitive.gen.d.ts +32 -4
  133. package/dist/styles/primitive.gen.js +42 -21
  134. package/dist/styles/primitive.gen.js.map +1 -1
  135. package/package.json +5 -5
  136. package/dist/styles/primitive-css/active.module.js.map +0 -1
  137. package/dist/styles/primitive-css/base.module.js.map +0 -1
  138. package/dist/styles/primitive-css/checked.module.js.map +0 -1
  139. package/dist/styles/primitive-css/composite.module.js +0 -5
  140. package/dist/styles/primitive-css/composite.module.js.map +0 -1
  141. package/dist/styles/primitive-css/disabled.module.js.map +0 -1
  142. package/dist/styles/primitive-css/focus.module.js.map +0 -1
  143. package/dist/styles/primitive-css/hover.module.js.map +0 -1
  144. package/dist/styles/primitive-css/icon.module.js.map +0 -1
  145. package/dist/styles/primitive-css/misc.module.js.map +0 -1
  146. package/dist/styles/primitive-css/neutral.module.js.map +0 -1
  147. package/dist/styles/primitive-css/pseudo-element.module.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"combobox.js","names":[],"sources":["../../../src/recipes/combobox/combobox.ts"],"sourcesContent":["import { cc } from \"~/logics/cc\";\nimport { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots } from \"~/styles/make-recipe-type\";\nimport { inputRecipe, type InputSlots, type InputVariants } from \"../input\";\nimport { menuitemRecipe } from \"../menu\";\nimport { popoverRecipe } from \"../popover\";\n\nconst structureRecipe = makeRecipe({\n base: {\n list: {\n width: \"anchor\",\n maxHeight: \"15x\",\n overflowY: \"auto\",\n },\n item: {\n _focusVisible: {\n outlineOffset: \"-1px\",\n },\n },\n },\n variants: {},\n});\n\nexport type ComboboxVariants = Pick<InputVariants, \"color\" | \"error\">;\nexport type ComboboxSlots = InputSlots | RecipeSlots<typeof structureRecipe>;\n\nexport function comboboxRecipe(variants: ComboboxVariants = {}): Record<ComboboxSlots, string> {\n const input = inputRecipe(variants);\n const list = popoverRecipe({ position: \"block-end\", padding: \"sm\" });\n const structure = structureRecipe();\n return {\n root: input.root,\n input: input.input,\n list: cc(list.root, structure.list),\n item: cc(menuitemRecipe().root, structure.item),\n };\n}\n"],"mappings":";;;;;;AAOA,MAAM,kBAAkB,WAAW;CACjC,MAAM;EACJ,MAAM;GACJ,OAAO;GACP,WAAW;GACX,WAAW;EACb;EACA,MAAM,EACJ,eAAe,EACb,eAAe,OACjB,EACF;CACF;CACA,UAAU,CAAC;AACb,CAAC;AAKD,SAAgB,eAAe,WAA6B,CAAC,GAAkC;CAC7F,MAAM,QAAQ,YAAY,QAAQ;CAClC,MAAM,OAAO,cAAc;EAAE,UAAU;EAAa,SAAS;CAAK,CAAC;CACnE,MAAM,YAAY,gBAAgB;CAClC,OAAO;EACL,MAAM,MAAM;EACZ,OAAO,MAAM;EACb,MAAM,GAAG,KAAK,MAAM,UAAU,IAAI;EAClC,MAAM,GAAG,eAAe,CAAC,CAAC,MAAM,UAAU,IAAI;CAChD;AACF"}
@@ -2,5 +2,4 @@ import { Recipe } from "../../styles/make-recipe.js";
2
2
  import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
3
3
  export declare const containerRecipe: Recipe<"root", {}>;
4
4
  export type ContainerVariants = RecipeVariants<typeof containerRecipe>;
5
- export type ContainerSlots = RecipeSlots<typeof containerRecipe>;
6
- //# sourceMappingURL=container.d.ts.map
5
+ export type ContainerSlots = RecipeSlots<typeof containerRecipe>;
@@ -16,5 +16,4 @@ export declare const detailsRecipe: Recipe<"root" | "content" | "summary", {
16
16
  };
17
17
  }>;
18
18
  export type DetailsVariants = RecipeVariants<typeof detailsRecipe>;
19
- export type DetailsSlots = RecipeSlots<typeof detailsRecipe>;
20
- //# sourceMappingURL=details.d.ts.map
19
+ export type DetailsSlots = RecipeSlots<typeof detailsRecipe>;
@@ -26,5 +26,4 @@ export declare const dialogRecipe: Recipe<"root" | "header" | "heading" | "close
26
26
  };
27
27
  }>;
28
28
  export type DialogVariants = RecipeVariants<typeof dialogRecipe>;
29
- export type DialogSlots = RecipeSlots<typeof dialogRecipe>;
30
- //# sourceMappingURL=dialog.d.ts.map
29
+ export type DialogSlots = RecipeSlots<typeof dialogRecipe>;
@@ -8,5 +8,4 @@ export type DtVariants = RecipeVariants<typeof dtRecipe>;
8
8
  export type DtSlots = RecipeSlots<typeof dtRecipe>;
9
9
  export declare const ddRecipe: Recipe<"root", {}>;
10
10
  export type DdVariants = RecipeVariants<typeof ddRecipe>;
11
- export type DdSlots = RecipeSlots<typeof ddRecipe>;
12
- //# sourceMappingURL=dl.d.ts.map
11
+ export type DdSlots = RecipeSlots<typeof ddRecipe>;
@@ -45,5 +45,4 @@ export declare const drawerRecipe: Recipe<"root" | "header" | "heading" | "close
45
45
  };
46
46
  }>;
47
47
  export type DrawerVariants = RecipeVariants<typeof drawerRecipe>;
48
- export type DrawerSlots = RecipeSlots<typeof drawerRecipe>;
49
- //# sourceMappingURL=drawer.d.ts.map
48
+ export type DrawerSlots = RecipeSlots<typeof drawerRecipe>;
@@ -2,5 +2,4 @@ import { Recipe } from "../../styles/make-recipe.js";
2
2
  import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
3
3
  export declare const fieldsetRecipe: Recipe<"root", {}>;
4
4
  export type FieldsetVariants = RecipeVariants<typeof fieldsetRecipe>;
5
- export type FieldsetSlots = RecipeSlots<typeof fieldsetRecipe>;
6
- //# sourceMappingURL=fieldset.d.ts.map
5
+ export type FieldsetSlots = RecipeSlots<typeof fieldsetRecipe>;
@@ -2,5 +2,4 @@ import { Recipe } from "../../styles/make-recipe.js";
2
2
  import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
3
3
  export declare const focusRingRecipe: Recipe<"root", {}>;
4
4
  export type FocusRingVariants = RecipeVariants<typeof focusRingRecipe>;
5
- export type FocusRingSlots = RecipeSlots<typeof focusRingRecipe>;
6
- //# sourceMappingURL=focus-ring.d.ts.map
5
+ export type FocusRingSlots = RecipeSlots<typeof focusRingRecipe>;
@@ -50,5 +50,4 @@ export declare const headingRecipe: Recipe<"root", {
50
50
  };
51
51
  }>;
52
52
  export type HeadingVariants = RecipeVariants<typeof headingRecipe>;
53
- export type HeadingSlots = RecipeSlots<typeof headingRecipe>;
54
- //# sourceMappingURL=heading.d.ts.map
53
+ export type HeadingSlots = RecipeSlots<typeof headingRecipe>;
@@ -2,5 +2,4 @@ import { Recipe } from "../../styles/make-recipe.js";
2
2
  import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
3
3
  export declare const hrRecipe: Recipe<"root", {}>;
4
4
  export type HrVariants = RecipeVariants<typeof hrRecipe>;
5
- export type HrSlots = RecipeSlots<typeof hrRecipe>;
6
- //# sourceMappingURL=hr.d.ts.map
5
+ export type HrSlots = RecipeSlots<typeof hrRecipe>;
@@ -0,0 +1,50 @@
1
+ import { Recipe } from "../../styles/make-recipe.js";
2
+ import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
3
+ export declare const inlineFeedbackRecipe: Recipe<"root", {
4
+ empty: {
5
+ true: {
6
+ root: {
7
+ visuallyHidden: "true";
8
+ };
9
+ };
10
+ false: {};
11
+ };
12
+ color: {
13
+ text: {
14
+ root: {
15
+ color: "text";
16
+ };
17
+ };
18
+ dimmed: {
19
+ root: {
20
+ color: "text-dimmed";
21
+ };
22
+ };
23
+ accent: {
24
+ root: {
25
+ baseColor: "accent";
26
+ color: "base";
27
+ };
28
+ };
29
+ danger: {
30
+ root: {
31
+ baseColor: "danger";
32
+ color: "base";
33
+ };
34
+ };
35
+ caution: {
36
+ root: {
37
+ baseColor: "caution";
38
+ color: "base";
39
+ };
40
+ };
41
+ neutral: {
42
+ root: {
43
+ baseColor: "neutral";
44
+ color: "base";
45
+ };
46
+ };
47
+ };
48
+ }>;
49
+ export type InlineFeedbackVariants = RecipeVariants<typeof inlineFeedbackRecipe>;
50
+ export type InlineFeedbackSlots = RecipeSlots<typeof inlineFeedbackRecipe>;
@@ -0,0 +1,45 @@
1
+ import { makeRecipe } from "../../styles/make-recipe.js";
2
+ // src/recipes/inline-feedback/inline-feedback.ts
3
+ const inlineFeedbackRecipe = makeRecipe({
4
+ base: { root: {
5
+ reset: "true",
6
+ display: "inline-flex",
7
+ alignItems: "center",
8
+ maxWidth: "100%",
9
+ gap: "0.5x",
10
+ fontSize: "inherit"
11
+ } },
12
+ variants: {
13
+ empty: {
14
+ true: { root: { visuallyHidden: "true" } },
15
+ false: {}
16
+ },
17
+ color: {
18
+ text: { root: { color: "text" } },
19
+ dimmed: { root: { color: "text-dimmed" } },
20
+ accent: { root: {
21
+ baseColor: "accent",
22
+ color: "base"
23
+ } },
24
+ danger: { root: {
25
+ baseColor: "danger",
26
+ color: "base"
27
+ } },
28
+ caution: { root: {
29
+ baseColor: "caution",
30
+ color: "base"
31
+ } },
32
+ neutral: { root: {
33
+ baseColor: "neutral",
34
+ color: "base"
35
+ } }
36
+ }
37
+ },
38
+ defaultVariants: {
39
+ empty: "false",
40
+ color: "text"
41
+ }
42
+ });
43
+ export { inlineFeedbackRecipe };
44
+
45
+ //# sourceMappingURL=inline-feedback.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inline-feedback.js","names":[],"sources":["../../../src/recipes/inline-feedback/inline-feedback.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const inlineFeedbackRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n display: \"inline-flex\",\n alignItems: \"center\",\n maxWidth: \"100%\",\n gap: \"0.5x\",\n fontSize: \"inherit\",\n },\n },\n variants: {\n empty: {\n true: { root: { visuallyHidden: \"true\" } },\n false: {},\n },\n color: {\n text: { root: { color: \"text\" } },\n dimmed: { root: { color: \"text-dimmed\" } },\n accent: { root: { baseColor: \"accent\", color: \"base\" } },\n danger: { root: { baseColor: \"danger\", color: \"base\" } },\n caution: { root: { baseColor: \"caution\", color: \"base\" } },\n neutral: { root: { baseColor: \"neutral\", color: \"base\" } },\n },\n },\n defaultVariants: {\n empty: \"false\",\n color: \"text\",\n },\n});\n\nexport type InlineFeedbackVariants = RecipeVariants<typeof inlineFeedbackRecipe>;\nexport type InlineFeedbackSlots = RecipeSlots<typeof inlineFeedbackRecipe>;\n"],"mappings":";;AAGA,MAAa,uBAAuB,WAAW;CAC7C,MAAM,EACJ,MAAM;EACJ,OAAO;EACP,SAAS;EACT,YAAY;EACZ,UAAU;EACV,KAAK;EACL,UAAU;CACZ,EACF;CACA,UAAU;EACR,OAAO;GACL,MAAM,EAAE,MAAM,EAAE,gBAAgB,OAAO,EAAE;GACzC,OAAO,CAAC;EACV;EACA,OAAO;GACL,MAAM,EAAE,MAAM,EAAE,OAAO,OAAO,EAAE;GAChC,QAAQ,EAAE,MAAM,EAAE,OAAO,cAAc,EAAE;GACzC,QAAQ,EAAE,MAAM;IAAE,WAAW;IAAU,OAAO;GAAO,EAAE;GACvD,QAAQ,EAAE,MAAM;IAAE,WAAW;IAAU,OAAO;GAAO,EAAE;GACvD,SAAS,EAAE,MAAM;IAAE,WAAW;IAAW,OAAO;GAAO,EAAE;GACzD,SAAS,EAAE,MAAM;IAAE,WAAW;IAAW,OAAO;GAAO,EAAE;EAC3D;CACF;CACA,iBAAiB;EACf,OAAO;EACP,OAAO;CACT;AACF,CAAC"}
@@ -53,5 +53,4 @@ export declare const inputRecipe: Recipe<"root" | "input", {
53
53
  };
54
54
  }>;
55
55
  export type InputVariants = RecipeVariants<typeof inputRecipe>;
56
- export type InputSlots = RecipeSlots<typeof inputRecipe>;
57
- //# sourceMappingURL=input.d.ts.map
56
+ export type InputSlots = RecipeSlots<typeof inputRecipe>;
@@ -1,6 +1,6 @@
1
1
  import { Recipe } from "../../styles/make-recipe.js";
2
2
  import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
3
- export declare const labelRecipe: Recipe<"root" | "errorIcon" | "error" | "description" | "errorMessage" | "fieldName" | "fieldMarker", {
3
+ export declare const labelRecipe: Recipe<"root" | "description" | "error" | "errorIcon" | "errorMessage" | "fieldName" | "fieldMarker", {
4
4
  marker: {
5
5
  text: {
6
6
  fieldMarker: {
@@ -43,5 +43,4 @@ export declare const labelRecipe: Recipe<"root" | "errorIcon" | "error" | "descr
43
43
  };
44
44
  }>;
45
45
  export type LabelVariants = RecipeVariants<typeof labelRecipe>;
46
- export type LabelSlots = RecipeSlots<typeof labelRecipe>;
47
- //# sourceMappingURL=label.d.ts.map
46
+ export type LabelSlots = RecipeSlots<typeof labelRecipe>;
@@ -17,6 +17,7 @@ const labelRecipe = makeRecipe({
17
17
  },
18
18
  description: {
19
19
  reset: "true",
20
+ display: "block",
20
21
  color: "text-dimmed",
21
22
  fontSize: "0.875x"
22
23
  },
@@ -1 +1 @@
1
- {"version":3,"file":"label.js","names":[],"sources":["../../../src/recipes/label/label.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const labelRecipe = makeRecipe({\n base: {\n root: {\n width: \"fit-content\",\n marginBlockEnd: \"0.25x\",\n },\n fieldName: {\n color: \"text\",\n fontWeight: \"semi-bold\",\n },\n fieldMarker: {\n color: \"text\",\n verticalAlign: \"top\",\n marginInline: \"0.25x\",\n },\n description: {\n reset: \"true\",\n color: \"text-dimmed\",\n fontSize: \"0.875x\",\n },\n error: {\n reset: \"true\",\n display: \"flex\",\n alignItems: \"center\",\n gap: \"0.25x\",\n fontSize: \"0.875x\",\n },\n errorIcon: {\n color: \"danger\",\n icon: \"error\",\n },\n errorMessage: {\n color: \"danger\",\n },\n },\n variants: {\n marker: {\n text: {\n fieldMarker: {\n fontSize: \"0.75x\",\n },\n },\n asterisk: {\n fieldMarker: {\n fontSize: \"0.875x\",\n color: \"danger\",\n },\n },\n },\n variant: {\n disabled: {\n root: {\n cursor: \"not-allowed\",\n },\n fieldName: {\n color: \"text-muted\",\n },\n fieldMarker: {\n color: \"text-muted\",\n },\n description: {\n color: \"text-muted\",\n },\n },\n readonly: {\n fieldName: {\n color: \"text-dimmed\",\n },\n fieldMarker: {\n color: \"text-dimmed\",\n },\n description: {\n color: \"text-dimmed\",\n },\n },\n },\n },\n defaultVariants: {\n marker: \"text\",\n },\n});\n\nexport type LabelVariants = RecipeVariants<typeof labelRecipe>;\nexport type LabelSlots = RecipeSlots<typeof labelRecipe>;\n"],"mappings":";;AAGA,MAAa,cAAc,WAAW;CACpC,MAAM;EACJ,MAAM;GACJ,OAAO;GACP,gBAAgB;EAClB;EACA,WAAW;GACT,OAAO;GACP,YAAY;EACd;EACA,aAAa;GACX,OAAO;GACP,eAAe;GACf,cAAc;EAChB;EACA,aAAa;GACX,OAAO;GACP,OAAO;GACP,UAAU;EACZ;EACA,OAAO;GACL,OAAO;GACP,SAAS;GACT,YAAY;GACZ,KAAK;GACL,UAAU;EACZ;EACA,WAAW;GACT,OAAO;GACP,MAAM;EACR;EACA,cAAc,EACZ,OAAO,SACT;CACF;CACA,UAAU;EACR,QAAQ;GACN,MAAM,EACJ,aAAa,EACX,UAAU,QACZ,EACF;GACA,UAAU,EACR,aAAa;IACX,UAAU;IACV,OAAO;GACT,EACF;EACF;EACA,SAAS;GACP,UAAU;IACR,MAAM,EACJ,QAAQ,cACV;IACA,WAAW,EACT,OAAO,aACT;IACA,aAAa,EACX,OAAO,aACT;IACA,aAAa,EACX,OAAO,aACT;GACF;GACA,UAAU;IACR,WAAW,EACT,OAAO,cACT;IACA,aAAa,EACX,OAAO,cACT;IACA,aAAa,EACX,OAAO,cACT;GACF;EACF;CACF;CACA,iBAAiB,EACf,QAAQ,OACV;AACF,CAAC"}
1
+ {"version":3,"file":"label.js","names":[],"sources":["../../../src/recipes/label/label.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const labelRecipe = makeRecipe({\n base: {\n root: {\n width: \"fit-content\",\n marginBlockEnd: \"0.25x\",\n },\n fieldName: {\n color: \"text\",\n fontWeight: \"semi-bold\",\n },\n fieldMarker: {\n color: \"text\",\n verticalAlign: \"top\",\n marginInline: \"0.25x\",\n },\n description: {\n reset: \"true\",\n display: \"block\",\n color: \"text-dimmed\",\n fontSize: \"0.875x\",\n },\n error: {\n reset: \"true\",\n display: \"flex\",\n alignItems: \"center\",\n gap: \"0.25x\",\n fontSize: \"0.875x\",\n },\n errorIcon: {\n color: \"danger\",\n icon: \"error\",\n },\n errorMessage: {\n color: \"danger\",\n },\n },\n variants: {\n marker: {\n text: {\n fieldMarker: {\n fontSize: \"0.75x\",\n },\n },\n asterisk: {\n fieldMarker: {\n fontSize: \"0.875x\",\n color: \"danger\",\n },\n },\n },\n variant: {\n disabled: {\n root: {\n cursor: \"not-allowed\",\n },\n fieldName: {\n color: \"text-muted\",\n },\n fieldMarker: {\n color: \"text-muted\",\n },\n description: {\n color: \"text-muted\",\n },\n },\n readonly: {\n fieldName: {\n color: \"text-dimmed\",\n },\n fieldMarker: {\n color: \"text-dimmed\",\n },\n description: {\n color: \"text-dimmed\",\n },\n },\n },\n },\n defaultVariants: {\n marker: \"text\",\n },\n});\n\nexport type LabelVariants = RecipeVariants<typeof labelRecipe>;\nexport type LabelSlots = RecipeSlots<typeof labelRecipe>;\n"],"mappings":";;AAGA,MAAa,cAAc,WAAW;CACpC,MAAM;EACJ,MAAM;GACJ,OAAO;GACP,gBAAgB;EAClB;EACA,WAAW;GACT,OAAO;GACP,YAAY;EACd;EACA,aAAa;GACX,OAAO;GACP,eAAe;GACf,cAAc;EAChB;EACA,aAAa;GACX,OAAO;GACP,SAAS;GACT,OAAO;GACP,UAAU;EACZ;EACA,OAAO;GACL,OAAO;GACP,SAAS;GACT,YAAY;GACZ,KAAK;GACL,UAAU;EACZ;EACA,WAAW;GACT,OAAO;GACP,MAAM;EACR;EACA,cAAc,EACZ,OAAO,SACT;CACF;CACA,UAAU;EACR,QAAQ;GACN,MAAM,EACJ,aAAa,EACX,UAAU,QACZ,EACF;GACA,UAAU,EACR,aAAa;IACX,UAAU;IACV,OAAO;GACT,EACF;EACF;EACA,SAAS;GACP,UAAU;IACR,MAAM,EACJ,QAAQ,cACV;IACA,WAAW,EACT,OAAO,aACT;IACA,aAAa,EACX,OAAO,aACT;IACA,aAAa,EACX,OAAO,aACT;GACF;GACA,UAAU;IACR,WAAW,EACT,OAAO,cACT;IACA,aAAa,EACX,OAAO,cACT;IACA,aAAa,EACX,OAAO,cACT;GACF;EACF;CACF;CACA,iBAAiB,EACf,QAAQ,OACV;AACF,CAAC"}
@@ -25,5 +25,4 @@ export declare const menuitemRecipe: Recipe<"root", {
25
25
  };
26
26
  }>;
27
27
  export type MenuitemVariants = RecipeVariants<typeof menuitemRecipe>;
28
- export type MenuitemSlots = RecipeSlots<typeof menuitemRecipe>;
29
- //# sourceMappingURL=menu.d.ts.map
28
+ export type MenuitemSlots = RecipeSlots<typeof menuitemRecipe>;
@@ -11,7 +11,10 @@ const menuitemRecipe = makeRecipe({
11
11
  paddingBlock: "0.25x",
12
12
  userSelect: "none",
13
13
  bgColor: "transparent",
14
- _focusVisible: { outline: "focus-ring" },
14
+ _focusVisible: {
15
+ outline: "focus-ring",
16
+ outlineOffset: "-1px"
17
+ },
15
18
  _hover: { bgColor: "base-alpha" },
16
19
  _active: { bgColor: "base-alpha-peak" },
17
20
  _disabled: {
@@ -1 +1 @@
1
- {"version":3,"file":"menu.js","names":[],"sources":["../../../src/recipes/menu/menu.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const menuitemRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n color: \"base\",\n display: \"flex\",\n transition: \"colors\",\n borderRadius: \"base\",\n paddingInline: \"0.75x\",\n paddingBlock: \"0.25x\",\n userSelect: \"none\",\n bgColor: \"transparent\",\n _focusVisible: {\n outline: \"focus-ring\",\n },\n _hover: {\n bgColor: \"base-alpha\",\n },\n _active: {\n bgColor: \"base-alpha-peak\",\n },\n _disabled: {\n cursor: \"not-allowed\",\n color: \"base-muted\",\n bgColor: \"transparent\",\n },\n },\n },\n variants: {\n color: {\n accent: { root: { baseColor: \"accent\" } },\n danger: { root: { baseColor: \"danger\" } },\n caution: { root: { baseColor: \"caution\" } },\n neutral: { root: { baseColor: \"neutral\" } },\n },\n },\n defaultVariants: {\n color: \"neutral\",\n },\n});\nexport type MenuitemVariants = RecipeVariants<typeof menuitemRecipe>;\nexport type MenuitemSlots = RecipeSlots<typeof menuitemRecipe>;\n"],"mappings":";;AAGA,MAAa,iBAAiB,WAAW;CACvC,MAAM,EACJ,MAAM;EACJ,OAAO;EACP,OAAO;EACP,SAAS;EACT,YAAY;EACZ,cAAc;EACd,eAAe;EACf,cAAc;EACd,YAAY;EACZ,SAAS;EACT,eAAe,EACb,SAAS,aACX;EACA,QAAQ,EACN,SAAS,aACX;EACA,SAAS,EACP,SAAS,kBACX;EACA,WAAW;GACT,QAAQ;GACR,OAAO;GACP,SAAS;EACX;CACF,EACF;CACA,UAAU,EACR,OAAO;EACL,QAAQ,EAAE,MAAM,EAAE,WAAW,SAAS,EAAE;EACxC,QAAQ,EAAE,MAAM,EAAE,WAAW,SAAS,EAAE;EACxC,SAAS,EAAE,MAAM,EAAE,WAAW,UAAU,EAAE;EAC1C,SAAS,EAAE,MAAM,EAAE,WAAW,UAAU,EAAE;CAC5C,EACF;CACA,iBAAiB,EACf,OAAO,UACT;AACF,CAAC"}
1
+ {"version":3,"file":"menu.js","names":[],"sources":["../../../src/recipes/menu/menu.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const menuitemRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n color: \"base\",\n display: \"flex\",\n transition: \"colors\",\n borderRadius: \"base\",\n paddingInline: \"0.75x\",\n paddingBlock: \"0.25x\",\n userSelect: \"none\",\n bgColor: \"transparent\",\n _focusVisible: {\n outline: \"focus-ring\",\n outlineOffset: \"-1px\",\n },\n _hover: {\n bgColor: \"base-alpha\",\n },\n _active: {\n bgColor: \"base-alpha-peak\",\n },\n _disabled: {\n cursor: \"not-allowed\",\n color: \"base-muted\",\n bgColor: \"transparent\",\n },\n },\n },\n variants: {\n color: {\n accent: { root: { baseColor: \"accent\" } },\n danger: { root: { baseColor: \"danger\" } },\n caution: { root: { baseColor: \"caution\" } },\n neutral: { root: { baseColor: \"neutral\" } },\n },\n },\n defaultVariants: {\n color: \"neutral\",\n },\n});\nexport type MenuitemVariants = RecipeVariants<typeof menuitemRecipe>;\nexport type MenuitemSlots = RecipeSlots<typeof menuitemRecipe>;\n"],"mappings":";;AAGA,MAAa,iBAAiB,WAAW;CACvC,MAAM,EACJ,MAAM;EACJ,OAAO;EACP,OAAO;EACP,SAAS;EACT,YAAY;EACZ,cAAc;EACd,eAAe;EACf,cAAc;EACd,YAAY;EACZ,SAAS;EACT,eAAe;GACb,SAAS;GACT,eAAe;EACjB;EACA,QAAQ,EACN,SAAS,aACX;EACA,SAAS,EACP,SAAS,kBACX;EACA,WAAW;GACT,QAAQ;GACR,OAAO;GACP,SAAS;EACX;CACF,EACF;CACA,UAAU,EACR,OAAO;EACL,QAAQ,EAAE,MAAM,EAAE,WAAW,SAAS,EAAE;EACxC,QAAQ,EAAE,MAAM,EAAE,WAAW,SAAS,EAAE;EACxC,SAAS,EAAE,MAAM,EAAE,WAAW,UAAU,EAAE;EAC1C,SAAS,EAAE,MAAM,EAAE,WAAW,UAAU,EAAE;CAC5C,EACF;CACA,iBAAiB,EACf,OAAO,UACT;AACF,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { Recipe } from "../../styles/make-recipe.js";
2
+ import { RecipeSlots } from "../../styles/make-recipe-type.js";
3
+ import { ComboboxVariants } from "../combobox/combobox.js";
4
+ declare const structureRecipe: Recipe<"root" | "item" | "input" | "tags" | "itemIndicator", {}>;
5
+ export type MultiComboboxVariants = ComboboxVariants;
6
+ export type MultiComboboxSlots = RecipeSlots<typeof structureRecipe> | "list";
7
+ export declare function multiComboboxRecipe(variants?: MultiComboboxVariants): Record<MultiComboboxSlots, string>;
8
+ export {};
@@ -0,0 +1,52 @@
1
+ import { cc } from "../../logics/cc/cc.js";
2
+ import { makeRecipe } from "../../styles/make-recipe.js";
3
+ import { comboboxRecipe } from "../combobox/combobox.js";
4
+ // src/recipes/multi-combobox/multi-combobox.ts
5
+ const structureRecipe = makeRecipe({
6
+ base: {
7
+ root: {
8
+ reset: "true",
9
+ minWidth: "0"
10
+ },
11
+ tags: {
12
+ display: "flex",
13
+ flexWrap: "wrap",
14
+ alignItems: "center",
15
+ gap: "0.25x",
16
+ minWidth: "0",
17
+ paddingBlockEnd: "0.125x"
18
+ },
19
+ input: {
20
+ minWidth: "0",
21
+ width: "100%"
22
+ },
23
+ item: {
24
+ alignItems: "center",
25
+ gap: "0.5x"
26
+ },
27
+ itemIndicator: {
28
+ marginInlineStart: "auto",
29
+ width: "1x",
30
+ height: "1x",
31
+ flexShrink: "0",
32
+ position: "relative",
33
+ _selected: { icon: "check" }
34
+ }
35
+ },
36
+ variants: {}
37
+ });
38
+ function multiComboboxRecipe(variants = {}) {
39
+ const combobox = comboboxRecipe(variants);
40
+ const structure = structureRecipe();
41
+ return {
42
+ root: cc(combobox.root, structure.root),
43
+ tags: structure.tags,
44
+ input: cc(combobox.input, structure.input),
45
+ list: combobox.list,
46
+ item: cc(combobox.item, structure.item),
47
+ itemIndicator: structure.itemIndicator
48
+ };
49
+ }
50
+ export { multiComboboxRecipe };
51
+
52
+ //# sourceMappingURL=multi-combobox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"multi-combobox.js","names":[],"sources":["../../../src/recipes/multi-combobox/multi-combobox.ts"],"sourcesContent":["import { cc } from \"~/logics/cc\";\nimport { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots } from \"~/styles/make-recipe-type\";\nimport { comboboxRecipe, type ComboboxVariants } from \"../combobox\";\n\nconst structureRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n minWidth: \"0\",\n },\n tags: {\n display: \"flex\",\n flexWrap: \"wrap\",\n alignItems: \"center\",\n gap: \"0.25x\",\n minWidth: \"0\",\n paddingBlockEnd: \"0.125x\",\n },\n input: {\n minWidth: \"0\",\n width: \"100%\",\n },\n item: {\n alignItems: \"center\",\n gap: \"0.5x\",\n },\n itemIndicator: {\n marginInlineStart: \"auto\",\n width: \"1x\",\n height: \"1x\",\n flexShrink: \"0\",\n position: \"relative\",\n _selected: {\n icon: \"check\",\n },\n },\n },\n variants: {},\n});\n\nexport type MultiComboboxVariants = ComboboxVariants;\nexport type MultiComboboxSlots = RecipeSlots<typeof structureRecipe> | \"list\";\n\nexport function multiComboboxRecipe(variants: MultiComboboxVariants = {}): Record<MultiComboboxSlots, string> {\n const combobox = comboboxRecipe(variants);\n const structure = structureRecipe();\n return {\n root: cc(combobox.root, structure.root),\n tags: structure.tags,\n input: cc(combobox.input, structure.input),\n list: combobox.list,\n item: cc(combobox.item, structure.item),\n itemIndicator: structure.itemIndicator,\n };\n}\n"],"mappings":";;;;AAKA,MAAM,kBAAkB,WAAW;CACjC,MAAM;EACJ,MAAM;GACJ,OAAO;GACP,UAAU;EACZ;EACA,MAAM;GACJ,SAAS;GACT,UAAU;GACV,YAAY;GACZ,KAAK;GACL,UAAU;GACV,iBAAiB;EACnB;EACA,OAAO;GACL,UAAU;GACV,OAAO;EACT;EACA,MAAM;GACJ,YAAY;GACZ,KAAK;EACP;EACA,eAAe;GACb,mBAAmB;GACnB,OAAO;GACP,QAAQ;GACR,YAAY;GACZ,UAAU;GACV,WAAW,EACT,MAAM,QACR;EACF;CACF;CACA,UAAU,CAAC;AACb,CAAC;AAKD,SAAgB,oBAAoB,WAAkC,CAAC,GAAuC;CAC5G,MAAM,WAAW,eAAe,QAAQ;CACxC,MAAM,YAAY,gBAAgB;CAClC,OAAO;EACL,MAAM,GAAG,SAAS,MAAM,UAAU,IAAI;EACtC,MAAM,UAAU;EAChB,OAAO,GAAG,SAAS,OAAO,UAAU,KAAK;EACzC,MAAM,SAAS;EACf,MAAM,GAAG,SAAS,MAAM,UAAU,IAAI;EACtC,eAAe,UAAU;CAC3B;AACF"}
@@ -52,5 +52,4 @@ export declare const paragraphRecipe: Recipe<"root", {
52
52
  };
53
53
  }>;
54
54
  export type ParagraphVariants = RecipeVariants<typeof paragraphRecipe>;
55
- export type ParagraphSlots = RecipeSlots<typeof paragraphRecipe>;
56
- //# sourceMappingURL=paragraph.d.ts.map
55
+ export type ParagraphSlots = RecipeSlots<typeof paragraphRecipe>;
@@ -129,5 +129,4 @@ export declare const popoverRecipe: Recipe<"root", {
129
129
  };
130
130
  }>;
131
131
  export type PopoverVariants = RecipeVariants<typeof popoverRecipe>;
132
- export type PopoverSlots = RecipeSlots<typeof popoverRecipe>;
133
- //# sourceMappingURL=popover.d.ts.map
132
+ export type PopoverSlots = RecipeSlots<typeof popoverRecipe>;
@@ -4,7 +4,6 @@ const popoverRecipe = makeRecipe({
4
4
  base: { root: {
5
5
  reset: "true",
6
6
  transition: "fade",
7
- position: "absolute",
8
7
  boxShadow: "bg-box",
9
8
  color: "text",
10
9
  bgColor: "body",
@@ -1 +1 @@
1
- {"version":3,"file":"popover.js","names":[],"sources":["../../../src/recipes/popover/popover.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const popoverRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n transition: \"fade\",\n position: \"absolute\",\n boxShadow: \"bg-box\",\n color: \"text\",\n bgColor: \"body\",\n borderWidth: \"base\",\n borderStyle: \"solid\",\n borderColor: \"divider\",\n borderRadius: \"base\",\n opacity: \"0\",\n _popoverOpen: {\n opacity: \"1\",\n startingOpacity: \"0\",\n },\n },\n },\n variants: {\n position: {\n \"block-start\": {\n root: {\n positionArea: \"block-start\",\n insetBlock: \"base-offset\",\n },\n },\n \"block-start-span-start\": {\n root: {\n positionArea: \"block-start-span-start\",\n insetBlock: \"base-offset\",\n },\n },\n \"block-start-span-end\": {\n root: {\n positionArea: \"block-start-span-end\",\n insetBlock: \"base-offset\",\n },\n },\n \"block-end\": {\n root: {\n positionArea: \"block-end\",\n insetBlock: \"base-offset\",\n },\n },\n \"block-end-span-start\": {\n root: {\n positionArea: \"block-end-span-start\",\n insetBlock: \"base-offset\",\n },\n },\n \"block-end-span-end\": {\n root: {\n positionArea: \"block-end-span-end\",\n insetBlock: \"base-offset\",\n },\n },\n \"inline-start\": {\n root: {\n positionArea: \"inline-start\",\n insetInline: \"base-offset\",\n },\n },\n \"inline-start-span-start\": {\n root: {\n positionArea: \"inline-start-span-start\",\n insetInline: \"base-offset\",\n },\n },\n \"inline-start-span-end\": {\n root: {\n positionArea: \"inline-start-span-end\",\n insetInline: \"base-offset\",\n },\n },\n \"inline-end\": {\n root: {\n positionArea: \"inline-end\",\n insetInline: \"base-offset\",\n },\n },\n \"inline-end-span-start\": {\n root: {\n positionArea: \"inline-end-span-start\",\n insetInline: \"base-offset\",\n },\n },\n \"inline-end-span-end\": {\n root: {\n positionArea: \"inline-end-span-end\",\n insetInline: \"base-offset\",\n },\n },\n },\n fallbacks: {\n none: {\n root: {\n positionTryFallbacks: \"none\",\n },\n },\n flip: {\n root: {\n positionTryFallbacks: \"flip\",\n },\n },\n },\n visibility: {\n always: {\n root: {\n positionVisibility: \"always\",\n },\n },\n \"anchors-visible\": {\n root: {\n positionVisibility: \"anchors-visible\",\n },\n },\n \"no-overflow\": {\n root: {\n positionVisibility: \"no-overflow\",\n },\n },\n },\n padding: {\n none: {\n root: {},\n },\n sm: {\n root: {\n paddingInline: \"0.25x\",\n paddingBlock: \"0.25x\",\n },\n },\n md: {\n root: {\n paddingBlock: \"0.5x\",\n paddingInline: \"0.75x\",\n },\n },\n lg: {\n root: {\n paddingBlock: \"0.75x\",\n paddingInline: \"1.25x\",\n },\n },\n },\n },\n defaultVariants: {\n position: \"block-start\",\n fallbacks: \"flip\",\n visibility: \"anchors-visible\",\n padding: \"md\",\n },\n});\n\nexport type PopoverVariants = RecipeVariants<typeof popoverRecipe>;\nexport type PopoverSlots = RecipeSlots<typeof popoverRecipe>;\n"],"mappings":";;AAGA,MAAa,gBAAgB,WAAW;CACtC,MAAM,EACJ,MAAM;EACJ,OAAO;EACP,YAAY;EACZ,UAAU;EACV,WAAW;EACX,OAAO;EACP,SAAS;EACT,aAAa;EACb,aAAa;EACb,aAAa;EACb,cAAc;EACd,SAAS;EACT,cAAc;GACZ,SAAS;GACT,iBAAiB;EACnB;CACF,EACF;CACA,UAAU;EACR,UAAU;GACR,eAAe,EACb,MAAM;IACJ,cAAc;IACd,YAAY;GACd,EACF;GACA,0BAA0B,EACxB,MAAM;IACJ,cAAc;IACd,YAAY;GACd,EACF;GACA,wBAAwB,EACtB,MAAM;IACJ,cAAc;IACd,YAAY;GACd,EACF;GACA,aAAa,EACX,MAAM;IACJ,cAAc;IACd,YAAY;GACd,EACF;GACA,wBAAwB,EACtB,MAAM;IACJ,cAAc;IACd,YAAY;GACd,EACF;GACA,sBAAsB,EACpB,MAAM;IACJ,cAAc;IACd,YAAY;GACd,EACF;GACA,gBAAgB,EACd,MAAM;IACJ,cAAc;IACd,aAAa;GACf,EACF;GACA,2BAA2B,EACzB,MAAM;IACJ,cAAc;IACd,aAAa;GACf,EACF;GACA,yBAAyB,EACvB,MAAM;IACJ,cAAc;IACd,aAAa;GACf,EACF;GACA,cAAc,EACZ,MAAM;IACJ,cAAc;IACd,aAAa;GACf,EACF;GACA,yBAAyB,EACvB,MAAM;IACJ,cAAc;IACd,aAAa;GACf,EACF;GACA,uBAAuB,EACrB,MAAM;IACJ,cAAc;IACd,aAAa;GACf,EACF;EACF;EACA,WAAW;GACT,MAAM,EACJ,MAAM,EACJ,sBAAsB,OACxB,EACF;GACA,MAAM,EACJ,MAAM,EACJ,sBAAsB,OACxB,EACF;EACF;EACA,YAAY;GACV,QAAQ,EACN,MAAM,EACJ,oBAAoB,SACtB,EACF;GACA,mBAAmB,EACjB,MAAM,EACJ,oBAAoB,kBACtB,EACF;GACA,eAAe,EACb,MAAM,EACJ,oBAAoB,cACtB,EACF;EACF;EACA,SAAS;GACP,MAAM,EACJ,MAAM,CAAC,EACT;GACA,IAAI,EACF,MAAM;IACJ,eAAe;IACf,cAAc;GAChB,EACF;GACA,IAAI,EACF,MAAM;IACJ,cAAc;IACd,eAAe;GACjB,EACF;GACA,IAAI,EACF,MAAM;IACJ,cAAc;IACd,eAAe;GACjB,EACF;EACF;CACF;CACA,iBAAiB;EACf,UAAU;EACV,WAAW;EACX,YAAY;EACZ,SAAS;CACX;AACF,CAAC"}
1
+ {"version":3,"file":"popover.js","names":[],"sources":["../../../src/recipes/popover/popover.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const popoverRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n transition: \"fade\",\n boxShadow: \"bg-box\",\n color: \"text\",\n bgColor: \"body\",\n borderWidth: \"base\",\n borderStyle: \"solid\",\n borderColor: \"divider\",\n borderRadius: \"base\",\n opacity: \"0\",\n _popoverOpen: {\n opacity: \"1\",\n startingOpacity: \"0\",\n },\n },\n },\n variants: {\n position: {\n \"block-start\": {\n root: {\n positionArea: \"block-start\",\n insetBlock: \"base-offset\",\n },\n },\n \"block-start-span-start\": {\n root: {\n positionArea: \"block-start-span-start\",\n insetBlock: \"base-offset\",\n },\n },\n \"block-start-span-end\": {\n root: {\n positionArea: \"block-start-span-end\",\n insetBlock: \"base-offset\",\n },\n },\n \"block-end\": {\n root: {\n positionArea: \"block-end\",\n insetBlock: \"base-offset\",\n },\n },\n \"block-end-span-start\": {\n root: {\n positionArea: \"block-end-span-start\",\n insetBlock: \"base-offset\",\n },\n },\n \"block-end-span-end\": {\n root: {\n positionArea: \"block-end-span-end\",\n insetBlock: \"base-offset\",\n },\n },\n \"inline-start\": {\n root: {\n positionArea: \"inline-start\",\n insetInline: \"base-offset\",\n },\n },\n \"inline-start-span-start\": {\n root: {\n positionArea: \"inline-start-span-start\",\n insetInline: \"base-offset\",\n },\n },\n \"inline-start-span-end\": {\n root: {\n positionArea: \"inline-start-span-end\",\n insetInline: \"base-offset\",\n },\n },\n \"inline-end\": {\n root: {\n positionArea: \"inline-end\",\n insetInline: \"base-offset\",\n },\n },\n \"inline-end-span-start\": {\n root: {\n positionArea: \"inline-end-span-start\",\n insetInline: \"base-offset\",\n },\n },\n \"inline-end-span-end\": {\n root: {\n positionArea: \"inline-end-span-end\",\n insetInline: \"base-offset\",\n },\n },\n },\n fallbacks: {\n none: {\n root: {\n positionTryFallbacks: \"none\",\n },\n },\n flip: {\n root: {\n positionTryFallbacks: \"flip\",\n },\n },\n },\n visibility: {\n always: {\n root: {\n positionVisibility: \"always\",\n },\n },\n \"anchors-visible\": {\n root: {\n positionVisibility: \"anchors-visible\",\n },\n },\n \"no-overflow\": {\n root: {\n positionVisibility: \"no-overflow\",\n },\n },\n },\n padding: {\n none: {\n root: {},\n },\n sm: {\n root: {\n paddingInline: \"0.25x\",\n paddingBlock: \"0.25x\",\n },\n },\n md: {\n root: {\n paddingBlock: \"0.5x\",\n paddingInline: \"0.75x\",\n },\n },\n lg: {\n root: {\n paddingBlock: \"0.75x\",\n paddingInline: \"1.25x\",\n },\n },\n },\n },\n defaultVariants: {\n position: \"block-start\",\n fallbacks: \"flip\",\n visibility: \"anchors-visible\",\n padding: \"md\",\n },\n});\n\nexport type PopoverVariants = RecipeVariants<typeof popoverRecipe>;\nexport type PopoverSlots = RecipeSlots<typeof popoverRecipe>;\n"],"mappings":";;AAGA,MAAa,gBAAgB,WAAW;CACtC,MAAM,EACJ,MAAM;EACJ,OAAO;EACP,YAAY;EACZ,WAAW;EACX,OAAO;EACP,SAAS;EACT,aAAa;EACb,aAAa;EACb,aAAa;EACb,cAAc;EACd,SAAS;EACT,cAAc;GACZ,SAAS;GACT,iBAAiB;EACnB;CACF,EACF;CACA,UAAU;EACR,UAAU;GACR,eAAe,EACb,MAAM;IACJ,cAAc;IACd,YAAY;GACd,EACF;GACA,0BAA0B,EACxB,MAAM;IACJ,cAAc;IACd,YAAY;GACd,EACF;GACA,wBAAwB,EACtB,MAAM;IACJ,cAAc;IACd,YAAY;GACd,EACF;GACA,aAAa,EACX,MAAM;IACJ,cAAc;IACd,YAAY;GACd,EACF;GACA,wBAAwB,EACtB,MAAM;IACJ,cAAc;IACd,YAAY;GACd,EACF;GACA,sBAAsB,EACpB,MAAM;IACJ,cAAc;IACd,YAAY;GACd,EACF;GACA,gBAAgB,EACd,MAAM;IACJ,cAAc;IACd,aAAa;GACf,EACF;GACA,2BAA2B,EACzB,MAAM;IACJ,cAAc;IACd,aAAa;GACf,EACF;GACA,yBAAyB,EACvB,MAAM;IACJ,cAAc;IACd,aAAa;GACf,EACF;GACA,cAAc,EACZ,MAAM;IACJ,cAAc;IACd,aAAa;GACf,EACF;GACA,yBAAyB,EACvB,MAAM;IACJ,cAAc;IACd,aAAa;GACf,EACF;GACA,uBAAuB,EACrB,MAAM;IACJ,cAAc;IACd,aAAa;GACf,EACF;EACF;EACA,WAAW;GACT,MAAM,EACJ,MAAM,EACJ,sBAAsB,OACxB,EACF;GACA,MAAM,EACJ,MAAM,EACJ,sBAAsB,OACxB,EACF;EACF;EACA,YAAY;GACV,QAAQ,EACN,MAAM,EACJ,oBAAoB,SACtB,EACF;GACA,mBAAmB,EACjB,MAAM,EACJ,oBAAoB,kBACtB,EACF;GACA,eAAe,EACb,MAAM,EACJ,oBAAoB,cACtB,EACF;EACF;EACA,SAAS;GACP,MAAM,EACJ,MAAM,CAAC,EACT;GACA,IAAI,EACF,MAAM;IACJ,eAAe;IACf,cAAc;GAChB,EACF;GACA,IAAI,EACF,MAAM;IACJ,cAAc;IACd,eAAe;GACjB,EACF;GACA,IAAI,EACF,MAAM;IACJ,cAAc;IACd,eAAe;GACjB,EACF;EACF;CACF;CACA,iBAAiB;EACf,UAAU;EACV,WAAW;EACX,YAAY;EACZ,SAAS;CACX;AACF,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { Recipe } from "../../styles/make-recipe.js";
2
2
  import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
3
- export declare const progressRecipe: Recipe<"label" | "root" | "bar" | "value", {
3
+ export declare const progressRecipe: Recipe<"root" | "label" | "bar" | "value", {
4
4
  color: {
5
5
  accent: {
6
6
  root: {
@@ -63,5 +63,4 @@ export declare const progressRecipe: Recipe<"label" | "root" | "bar" | "value",
63
63
  };
64
64
  }>;
65
65
  export type ProgressVariants = RecipeVariants<typeof progressRecipe>;
66
- export type ProgressSlots = RecipeSlots<typeof progressRecipe>;
67
- //# sourceMappingURL=progress.d.ts.map
66
+ export type ProgressSlots = RecipeSlots<typeof progressRecipe>;
@@ -1,6 +1,6 @@
1
1
  import { Recipe } from "../../styles/make-recipe.js";
2
2
  import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
3
- export declare const radioRecipe: Recipe<"label" | "root" | "errorIcon" | "error" | "radio" | "errorMessage", {
3
+ export declare const radioRecipe: Recipe<"root" | "label" | "error" | "radio" | "errorIcon" | "errorMessage", {
4
4
  color: {
5
5
  accent: {
6
6
  radio: {
@@ -38,5 +38,4 @@ export declare const radioRecipe: Recipe<"label" | "root" | "errorIcon" | "error
38
38
  };
39
39
  }>;
40
40
  export type RadioVariants = RecipeVariants<typeof radioRecipe>;
41
- export type RadioSlots = RecipeSlots<typeof radioRecipe>;
42
- //# sourceMappingURL=radio.d.ts.map
41
+ export type RadioSlots = RecipeSlots<typeof radioRecipe>;
@@ -17,5 +17,4 @@ export declare const radiogroupRecipe: Recipe<"root" | "group", {
17
17
  };
18
18
  }>;
19
19
  export type RadiogroupVariants = RecipeVariants<typeof radiogroupRecipe>;
20
- export type RadiogroupSlots = RecipeSlots<typeof radiogroupRecipe>;
21
- //# sourceMappingURL=radiogroup.d.ts.map
20
+ export type RadiogroupSlots = RecipeSlots<typeof radiogroupRecipe>;
@@ -60,5 +60,4 @@ export declare const sectionRecipe: Recipe<"root", {
60
60
  };
61
61
  }>;
62
62
  export type SectionVariants = RecipeVariants<typeof sectionRecipe>;
63
- export type SectionSlots = RecipeSlots<typeof sectionRecipe>;
64
- //# sourceMappingURL=section.d.ts.map
63
+ export type SectionSlots = RecipeSlots<typeof sectionRecipe>;
@@ -5,5 +5,4 @@ export type SegmentedControlRootVariants = RecipeVariants<typeof segmentedContro
5
5
  export type SegmentedControlRootSlots = RecipeSlots<typeof segmentedControlRootRecipe>;
6
6
  export declare const segmentedControlItemRecipe: Recipe<"root", {}>;
7
7
  export type SegmentedControlItemVariants = RecipeVariants<typeof segmentedControlItemRecipe>;
8
- export type SegmentedControlItemSlots = RecipeSlots<typeof segmentedControlItemRecipe>;
9
- //# sourceMappingURL=segmented-control.d.ts.map
8
+ export type SegmentedControlItemSlots = RecipeSlots<typeof segmentedControlItemRecipe>;
@@ -23,7 +23,7 @@ const segmentedControlItemRecipe = makeRecipe({
23
23
  paddingInline: "0.75x",
24
24
  paddingBlock: "0.375x",
25
25
  userSelect: "none",
26
- _pressed: {
26
+ _current: {
27
27
  color: "text",
28
28
  bgColor: "bg-body"
29
29
  },
@@ -32,8 +32,11 @@ const segmentedControlItemRecipe = makeRecipe({
32
32
  bgColor: "base-alpha"
33
33
  },
34
34
  _active: { bgColor: "base-alpha-peak" },
35
- _focusVisible: { outline: "focus-ring" },
36
- _pressedHover: { bgColor: "bg-body" }
35
+ _focusVisible: {
36
+ outline: "focus-ring",
37
+ outlineOffset: "-1px"
38
+ },
39
+ _currentHover: { bgColor: "bg-body" }
37
40
  } },
38
41
  variants: {}
39
42
  });
@@ -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 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
+ {"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 _current: {\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 outlineOffset: \"-1px\",\n },\n _currentHover: {\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;GACb,SAAS;GACT,eAAe;EACjB;EACA,eAAe,EACb,SAAS,UACX;CACF,EACF;CACA,UAAU,CAAC;AACb,CAAC"}
@@ -18,5 +18,4 @@ export declare const selectRecipe: Recipe<"root" | "wrapper" | "select", {
18
18
  };
19
19
  }>;
20
20
  export type SelectVariants = RecipeVariants<typeof selectRecipe>;
21
- export type SelectSlots = RecipeSlots<typeof selectRecipe>;
22
- //# sourceMappingURL=select.d.ts.map
21
+ export type SelectSlots = RecipeSlots<typeof selectRecipe>;
@@ -2,5 +2,4 @@ import { Recipe } from "../../styles/make-recipe.js";
2
2
  import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
3
3
  export declare const skipLinkRecipe: Recipe<"root", {}>;
4
4
  export type SkipLinkVariants = RecipeVariants<typeof skipLinkRecipe>;
5
- export type SkipLinkSlots = RecipeSlots<typeof skipLinkRecipe>;
6
- //# sourceMappingURL=skip-link.d.ts.map
5
+ export type SkipLinkSlots = RecipeSlots<typeof skipLinkRecipe>;
@@ -0,0 +1,55 @@
1
+ import { Recipe } from "../../styles/make-recipe.js";
2
+ import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
3
+ export declare const statusIconRecipe: Recipe<"root", {
4
+ status: {
5
+ error: {
6
+ root: {
7
+ icon: "error";
8
+ };
9
+ };
10
+ info: {
11
+ root: {
12
+ icon: "info";
13
+ };
14
+ };
15
+ success: {
16
+ root: {
17
+ icon: "success";
18
+ };
19
+ };
20
+ loading: {
21
+ root: {
22
+ icon: "spinner";
23
+ };
24
+ };
25
+ };
26
+ color: {
27
+ inherit: {};
28
+ accent: {
29
+ root: {
30
+ color: "base";
31
+ baseColor: "accent";
32
+ };
33
+ };
34
+ danger: {
35
+ root: {
36
+ color: "base";
37
+ baseColor: "danger";
38
+ };
39
+ };
40
+ caution: {
41
+ root: {
42
+ color: "base";
43
+ baseColor: "caution";
44
+ };
45
+ };
46
+ neutral: {
47
+ root: {
48
+ color: "base";
49
+ baseColor: "neutral";
50
+ };
51
+ };
52
+ };
53
+ }>;
54
+ export type StatusIconVariants = RecipeVariants<typeof statusIconRecipe>;
55
+ export type StatusIconSlots = RecipeSlots<typeof statusIconRecipe>;
@@ -0,0 +1,39 @@
1
+ import { makeRecipe } from "../../styles/make-recipe.js";
2
+ // src/recipes/status-icon/status-icon.ts
3
+ const statusIconRecipe = makeRecipe({
4
+ base: { root: {
5
+ lineHeight: "1",
6
+ flexShrink: "0"
7
+ } },
8
+ variants: {
9
+ status: {
10
+ error: { root: { icon: "error" } },
11
+ info: { root: { icon: "info" } },
12
+ success: { root: { icon: "success" } },
13
+ loading: { root: { icon: "spinner" } }
14
+ },
15
+ color: {
16
+ inherit: {},
17
+ accent: { root: {
18
+ color: "base",
19
+ baseColor: "accent"
20
+ } },
21
+ danger: { root: {
22
+ color: "base",
23
+ baseColor: "danger"
24
+ } },
25
+ caution: { root: {
26
+ color: "base",
27
+ baseColor: "caution"
28
+ } },
29
+ neutral: { root: {
30
+ color: "base",
31
+ baseColor: "neutral"
32
+ } }
33
+ }
34
+ },
35
+ defaultVariants: { color: "inherit" }
36
+ });
37
+ export { statusIconRecipe };
38
+
39
+ //# sourceMappingURL=status-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"status-icon.js","names":[],"sources":["../../../src/recipes/status-icon/status-icon.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const statusIconRecipe = makeRecipe({\n base: {\n root: {\n lineHeight: \"1\",\n flexShrink: \"0\",\n },\n },\n variants: {\n status: {\n error: { root: { icon: \"error\" } },\n info: { root: { icon: \"info\" } },\n success: { root: { icon: \"success\" } },\n loading: { root: { icon: \"spinner\" } },\n },\n color: {\n inherit: {},\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 },\n defaultVariants: {\n color: \"inherit\",\n },\n});\n\nexport type StatusIconVariants = RecipeVariants<typeof statusIconRecipe>;\nexport type StatusIconSlots = RecipeSlots<typeof statusIconRecipe>;\n"],"mappings":";;AAGA,MAAa,mBAAmB,WAAW;CACzC,MAAM,EACJ,MAAM;EACJ,YAAY;EACZ,YAAY;CACd,EACF;CACA,UAAU;EACR,QAAQ;GACN,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,EAAE;GACjC,MAAM,EAAE,MAAM,EAAE,MAAM,OAAO,EAAE;GAC/B,SAAS,EAAE,MAAM,EAAE,MAAM,UAAU,EAAE;GACrC,SAAS,EAAE,MAAM,EAAE,MAAM,UAAU,EAAE;EACvC;EACA,OAAO;GACL,SAAS,CAAC;GACV,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;CACF;CACA,iBAAiB,EACf,OAAO,UACT;AACF,CAAC"}
@@ -55,5 +55,4 @@ export type ThVariants = RecipeVariants<typeof thRecipe>;
55
55
  export type ThSlots = RecipeSlots<typeof thRecipe>;
56
56
  export declare const tdRecipe: Recipe<"root", {}>;
57
57
  export type TdVariants = RecipeVariants<typeof tdRecipe>;
58
- export type TdSlots = RecipeSlots<typeof tdRecipe>;
59
- //# sourceMappingURL=table.d.ts.map
58
+ export type TdSlots = RecipeSlots<typeof tdRecipe>;
@@ -11,5 +11,4 @@ export type TabVariants = RecipeVariants<typeof tabRecipe>;
11
11
  export type TabSlots = RecipeSlots<typeof tabRecipe>;
12
12
  export declare const tabpanelRecipe: Recipe<"root", {}>;
13
13
  export type TabpanelVariants = RecipeVariants<typeof tabpanelRecipe>;
14
- export type TabpanelSlots = RecipeSlots<typeof tabpanelRecipe>;
15
- //# sourceMappingURL=tabs.d.ts.map
14
+ export type TabpanelSlots = RecipeSlots<typeof tabpanelRecipe>;