@hebium-ui/core 0.1.0-alpha.2 → 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 (224) hide show
  1. package/dist/index.d.ts +14 -2
  2. package/dist/index.js +17 -5
  3. package/dist/logics/avatar-placeholder/get-avatar-placeholder.d.ts +1 -4
  4. package/dist/logics/avatar-placeholder/get-avatar-placeholder.js +1 -2
  5. package/dist/logics/avatar-placeholder/should-show-avatar-placeholder.d.ts +2 -5
  6. package/dist/logics/avatar-placeholder/should-show-avatar-placeholder.js +1 -2
  7. package/dist/logics/avatar-placeholder/should-show-avatar-placeholder.js.map +1 -1
  8. package/dist/logics/bool/to-bool.d.ts +1 -4
  9. package/dist/logics/bool/to-bool.js +1 -2
  10. package/dist/logics/bool/to-strbool.d.ts +1 -4
  11. package/dist/logics/bool/to-strbool.js +1 -2
  12. package/dist/logics/button-control/button-control.d.ts +16 -0
  13. package/dist/logics/button-control/button-control.js +26 -0
  14. package/dist/logics/button-control/button-control.js.map +1 -0
  15. package/dist/logics/cc/cc-all.d.ts +2 -5
  16. package/dist/logics/cc/cc-all.js +1 -2
  17. package/dist/logics/cc/cc-all.js.map +1 -1
  18. package/dist/logics/cc/cc.d.ts +2 -5
  19. package/dist/logics/cc/cc.js +1 -2
  20. package/dist/logics/cc/cc.js.map +1 -1
  21. package/dist/logics/checkbox-control/checkbox-control.d.ts +5 -8
  22. package/dist/logics/checkbox-control/checkbox-control.js +2 -3
  23. package/dist/logics/checkbox-control/checkbox-control.js.map +1 -1
  24. package/dist/logics/combobox-control/combobox-control.d.ts +100 -0
  25. package/dist/logics/combobox-control/combobox-control.js +100 -0
  26. package/dist/logics/combobox-control/combobox-control.js.map +1 -0
  27. package/dist/logics/combobox-control/combobox-filter.d.ts +13 -0
  28. package/dist/logics/combobox-control/combobox-filter.js +11 -0
  29. package/dist/logics/combobox-control/combobox-filter.js.map +1 -0
  30. package/dist/logics/combobox-control/combobox-navigation.d.ts +2 -0
  31. package/dist/logics/combobox-control/combobox-navigation.js +10 -0
  32. package/dist/logics/combobox-control/combobox-navigation.js.map +1 -0
  33. package/dist/logics/dialog-control/dialog-control.d.ts +5 -8
  34. package/dist/logics/dialog-control/dialog-control.js +1 -2
  35. package/dist/logics/dialog-control/dialog-control.js.map +1 -1
  36. package/dist/logics/input-control/input-control.d.ts +3 -6
  37. package/dist/logics/input-control/input-control.js +1 -2
  38. package/dist/logics/input-control/input-control.js.map +1 -1
  39. package/dist/logics/label-marker/label-marker.d.ts +2 -5
  40. package/dist/logics/label-marker/label-marker.js +1 -2
  41. package/dist/logics/label-marker/label-marker.js.map +1 -1
  42. package/dist/logics/menu-control/menu-control.d.ts +5 -8
  43. package/dist/logics/menu-control/menu-control.js +1 -2
  44. package/dist/logics/menu-control/menu-control.js.map +1 -1
  45. package/dist/logics/ms/ms-all.d.ts +3 -5
  46. package/dist/logics/ms/ms-all.js +1 -2
  47. package/dist/logics/ms/ms-all.js.map +1 -1
  48. package/dist/logics/multi-combobox-control/multi-combobox-control.d.ts +58 -0
  49. package/dist/logics/multi-combobox-control/multi-combobox-control.js +76 -0
  50. package/dist/logics/multi-combobox-control/multi-combobox-control.js.map +1 -0
  51. package/dist/logics/multi-combobox-control/multi-combobox-focus.d.ts +15 -0
  52. package/dist/logics/multi-combobox-control/multi-combobox-focus.js +46 -0
  53. package/dist/logics/multi-combobox-control/multi-combobox-focus.js.map +1 -0
  54. package/dist/logics/popover-control/popover-control.d.ts +5 -6
  55. package/dist/logics/popover-control/popover-control.js +6 -3
  56. package/dist/logics/popover-control/popover-control.js.map +1 -1
  57. package/dist/logics/progress-control/progress-control.d.ts +4 -7
  58. package/dist/logics/progress-control/progress-control.js +2 -3
  59. package/dist/logics/progress-control/progress-control.js.map +1 -1
  60. package/dist/logics/radio-control/radio-control.d.ts +4 -7
  61. package/dist/logics/radio-control/radio-control.js +1 -2
  62. package/dist/logics/radio-control/radio-control.js.map +1 -1
  63. package/dist/logics/radiogroup-control/radiogroup-control.d.ts +3 -6
  64. package/dist/logics/radiogroup-control/radiogroup-control.js +1 -2
  65. package/dist/logics/radiogroup-control/radiogroup-control.js.map +1 -1
  66. package/dist/logics/segmented-control/segmented-control.d.ts +3 -6
  67. package/dist/logics/segmented-control/segmented-control.js +2 -3
  68. package/dist/logics/segmented-control/segmented-control.js.map +1 -1
  69. package/dist/logics/tabs-control/tabs-control.d.ts +5 -8
  70. package/dist/logics/tabs-control/tabs-control.js +1 -2
  71. package/dist/logics/tabs-control/tabs-control.js.map +1 -1
  72. package/dist/logics/tabs-control/tabs-keymap.js +1 -2
  73. package/dist/logics/tabs-control/tabs-keymap.js.map +1 -1
  74. package/dist/logics/tooltip-control/tooltip-control.d.ts +3 -6
  75. package/dist/logics/tooltip-control/tooltip-control.js +1 -2
  76. package/dist/logics/tooltip-control/tooltip-control.js.map +1 -1
  77. package/dist/recipes/alert/alert.d.ts +4 -7
  78. package/dist/recipes/alert/alert.js +6 -9
  79. package/dist/recipes/alert/alert.js.map +1 -1
  80. package/dist/recipes/anchor/anchor.d.ts +1 -4
  81. package/dist/recipes/anchor/anchor.js +1 -2
  82. package/dist/recipes/avatar/avatar.d.ts +1 -4
  83. package/dist/recipes/avatar/avatar.js +1 -2
  84. package/dist/recipes/blockquote/blockquote.d.ts +1 -4
  85. package/dist/recipes/blockquote/blockquote.js +4 -3
  86. package/dist/recipes/blockquote/blockquote.js.map +1 -1
  87. package/dist/recipes/button/button.d.ts +16 -7
  88. package/dist/recipes/button/button.js +39 -16
  89. package/dist/recipes/button/button.js.map +1 -1
  90. package/dist/recipes/checkbox/checkbox.d.ts +4 -27
  91. package/dist/recipes/checkbox/checkbox.js +14 -20
  92. package/dist/recipes/checkbox/checkbox.js.map +1 -1
  93. package/dist/recipes/code/code.d.ts +1 -4
  94. package/dist/recipes/code/code.js +1 -2
  95. package/dist/recipes/combobox/combobox.d.ts +8 -0
  96. package/dist/recipes/combobox/combobox.js +34 -0
  97. package/dist/recipes/combobox/combobox.js.map +1 -0
  98. package/dist/recipes/container/container.d.ts +1 -4
  99. package/dist/recipes/container/container.js +1 -2
  100. package/dist/recipes/details/details.d.ts +4 -7
  101. package/dist/recipes/details/details.js +10 -6
  102. package/dist/recipes/details/details.js.map +1 -1
  103. package/dist/recipes/dialog/dialog.d.ts +4 -5
  104. package/dist/recipes/dialog/dialog.js +6 -3
  105. package/dist/recipes/dialog/dialog.js.map +1 -1
  106. package/dist/recipes/dl/dl.d.ts +1 -4
  107. package/dist/recipes/dl/dl.js +6 -3
  108. package/dist/recipes/dl/dl.js.map +1 -1
  109. package/dist/recipes/drawer/drawer.d.ts +1 -4
  110. package/dist/recipes/drawer/drawer.js +1 -2
  111. package/dist/recipes/fieldset/fieldset.d.ts +1 -4
  112. package/dist/recipes/fieldset/fieldset.js +4 -3
  113. package/dist/recipes/fieldset/fieldset.js.map +1 -1
  114. package/dist/recipes/focus-ring/focus-ring.d.ts +1 -4
  115. package/dist/recipes/focus-ring/focus-ring.js +1 -2
  116. package/dist/recipes/heading/heading.d.ts +1 -4
  117. package/dist/recipes/heading/heading.js +1 -2
  118. package/dist/recipes/hr/hr.d.ts +1 -4
  119. package/dist/recipes/hr/hr.js +4 -3
  120. package/dist/recipes/hr/hr.js.map +1 -1
  121. package/dist/recipes/inline-feedback/inline-feedback.d.ts +50 -0
  122. package/dist/recipes/inline-feedback/inline-feedback.js +45 -0
  123. package/dist/recipes/inline-feedback/inline-feedback.js.map +1 -0
  124. package/dist/recipes/input/input.d.ts +4 -7
  125. package/dist/recipes/input/input.js +6 -5
  126. package/dist/recipes/input/input.js.map +1 -1
  127. package/dist/recipes/label/label.d.ts +2 -5
  128. package/dist/recipes/label/label.js +2 -2
  129. package/dist/recipes/label/label.js.map +1 -1
  130. package/dist/recipes/menu/menu.d.ts +1 -4
  131. package/dist/recipes/menu/menu.js +5 -3
  132. package/dist/recipes/menu/menu.js.map +1 -1
  133. package/dist/recipes/multi-combobox/multi-combobox.d.ts +8 -0
  134. package/dist/recipes/multi-combobox/multi-combobox.js +52 -0
  135. package/dist/recipes/multi-combobox/multi-combobox.js.map +1 -0
  136. package/dist/recipes/paragraph/paragraph.d.ts +1 -4
  137. package/dist/recipes/paragraph/paragraph.js +1 -2
  138. package/dist/recipes/popover/popover.d.ts +1 -4
  139. package/dist/recipes/popover/popover.js +4 -4
  140. package/dist/recipes/popover/popover.js.map +1 -1
  141. package/dist/recipes/progress/progress.d.ts +2 -5
  142. package/dist/recipes/progress/progress.js +1 -2
  143. package/dist/recipes/radio/radio.d.ts +4 -7
  144. package/dist/recipes/radio/radio.js +7 -6
  145. package/dist/recipes/radio/radio.js.map +1 -1
  146. package/dist/recipes/radiogroup/radiogroup.d.ts +1 -4
  147. package/dist/recipes/radiogroup/radiogroup.js +1 -2
  148. package/dist/recipes/section/section.d.ts +4 -5
  149. package/dist/recipes/section/section.js +6 -3
  150. package/dist/recipes/section/section.js.map +1 -1
  151. package/dist/recipes/segmented-control/segmented-control.d.ts +1 -4
  152. package/dist/recipes/segmented-control/segmented-control.js +11 -6
  153. package/dist/recipes/segmented-control/segmented-control.js.map +1 -1
  154. package/dist/recipes/select/select.d.ts +3 -6
  155. package/dist/recipes/select/select.js +6 -5
  156. package/dist/recipes/select/select.js.map +1 -1
  157. package/dist/recipes/skip-link/skip-link.d.ts +5 -0
  158. package/dist/recipes/skip-link/skip-link.js +9 -0
  159. package/dist/recipes/skip-link/skip-link.js.map +1 -0
  160. package/dist/recipes/status-icon/status-icon.d.ts +55 -0
  161. package/dist/recipes/status-icon/status-icon.js +39 -0
  162. package/dist/recipes/status-icon/status-icon.js.map +1 -0
  163. package/dist/recipes/table/table.d.ts +7 -8
  164. package/dist/recipes/table/table.js +17 -7
  165. package/dist/recipes/table/table.js.map +1 -1
  166. package/dist/recipes/tabs/tabs.d.ts +1 -4
  167. package/dist/recipes/tabs/tabs.js +4 -3
  168. package/dist/recipes/tabs/tabs.js.map +1 -1
  169. package/dist/recipes/tag/tag.d.ts +64 -0
  170. package/dist/recipes/tag/tag.js +86 -0
  171. package/dist/recipes/tag/tag.js.map +1 -0
  172. package/dist/recipes/text/text.d.ts +52 -0
  173. package/dist/recipes/text/text.js +42 -0
  174. package/dist/recipes/text/text.js.map +1 -0
  175. package/dist/recipes/visually-hidden/visually-hidden.d.ts +1 -4
  176. package/dist/recipes/visually-hidden/visually-hidden.js +1 -2
  177. package/dist/style.css +1 -1
  178. package/dist/styles/css-vars.d.ts +1 -4
  179. package/dist/styles/css-vars.js +1 -2
  180. package/dist/styles/make-recipe-type.d.ts +1 -4
  181. package/dist/styles/make-recipe.d.ts +2 -5
  182. package/dist/styles/make-recipe.js +3 -4
  183. package/dist/styles/make-recipe.js.map +1 -1
  184. package/dist/styles/primitive-css/{active.module.js → active.module.css.js} +2 -3
  185. package/dist/styles/primitive-css/active.module.css.js.map +1 -0
  186. package/dist/styles/primitive-css/{base.module.js → base.module.css.js} +3 -3
  187. package/dist/styles/primitive-css/base.module.css.js.map +1 -0
  188. package/dist/styles/primitive-css/checked.module.css.js +11 -0
  189. package/dist/styles/primitive-css/checked.module.css.js.map +1 -0
  190. package/dist/styles/primitive-css/composite.module.css.js +5 -0
  191. package/dist/styles/primitive-css/composite.module.css.js.map +1 -0
  192. package/dist/styles/primitive-css/{disabled.module.js → disabled.module.css.js} +2 -3
  193. package/dist/styles/primitive-css/disabled.module.css.js.map +1 -0
  194. package/dist/styles/primitive-css/focus.module.css.js +10 -0
  195. package/dist/styles/primitive-css/focus.module.css.js.map +1 -0
  196. package/dist/styles/primitive-css/{hover.module.js → hover.module.css.js} +4 -4
  197. package/dist/styles/primitive-css/hover.module.css.js.map +1 -0
  198. package/dist/styles/primitive-css/icon.module.css.js +13 -0
  199. package/dist/styles/primitive-css/icon.module.css.js.map +1 -0
  200. package/dist/styles/primitive-css/{misc.module.js → misc.module.css.js} +8 -7
  201. package/dist/styles/primitive-css/misc.module.css.js.map +1 -0
  202. package/dist/styles/primitive-css/{neutral.module.js → neutral.module.css.js} +29 -13
  203. package/dist/styles/primitive-css/neutral.module.css.js.map +1 -0
  204. package/dist/styles/primitive-css/{pseudo-element.module.js → pseudo-element.module.css.js} +2 -3
  205. package/dist/styles/primitive-css/pseudo-element.module.css.js.map +1 -0
  206. package/dist/styles/primitive.gen.d.ts +80 -21
  207. package/dist/styles/primitive.gen.js +77 -38
  208. package/dist/styles/primitive.gen.js.map +1 -1
  209. package/package.json +5 -5
  210. package/dist/styles/primitive-css/active.module.js.map +0 -1
  211. package/dist/styles/primitive-css/base.module.js.map +0 -1
  212. package/dist/styles/primitive-css/checked.module.js +0 -10
  213. package/dist/styles/primitive-css/checked.module.js.map +0 -1
  214. package/dist/styles/primitive-css/composite.module.js +0 -6
  215. package/dist/styles/primitive-css/composite.module.js.map +0 -1
  216. package/dist/styles/primitive-css/disabled.module.js.map +0 -1
  217. package/dist/styles/primitive-css/focus.module.js +0 -10
  218. package/dist/styles/primitive-css/focus.module.js.map +0 -1
  219. package/dist/styles/primitive-css/hover.module.js.map +0 -1
  220. package/dist/styles/primitive-css/icon.module.js +0 -11
  221. package/dist/styles/primitive-css/icon.module.js.map +0 -1
  222. package/dist/styles/primitive-css/misc.module.js.map +0 -1
  223. package/dist/styles/primitive-css/neutral.module.js.map +0 -1
  224. package/dist/styles/primitive-css/pseudo-element.module.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { makeRecipe } from "../../styles/make-recipe.js";
2
- //#region src/recipes/paragraph/paragraph.ts
2
+ // src/recipes/paragraph/paragraph.ts
3
3
  const paragraphRecipe = makeRecipe({
4
4
  base: { root: { reset: "true" } },
5
5
  variants: {
@@ -34,7 +34,6 @@ const paragraphRecipe = makeRecipe({
34
34
  margin: "block"
35
35
  }
36
36
  });
37
- //#endregion
38
37
  export { paragraphRecipe };
39
38
 
40
39
  //# sourceMappingURL=paragraph.js.map
@@ -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/popover/popover.d.ts
4
3
  export declare const popoverRecipe: Recipe<"root", {
5
4
  position: {
6
5
  "block-start": {
@@ -130,6 +129,4 @@ export declare const popoverRecipe: Recipe<"root", {
130
129
  };
131
130
  }>;
132
131
  export type PopoverVariants = RecipeVariants<typeof popoverRecipe>;
133
- export type PopoverSlots = RecipeSlots<typeof popoverRecipe>;
134
- //#endregion
135
- //# sourceMappingURL=popover.d.ts.map
132
+ export type PopoverSlots = RecipeSlots<typeof popoverRecipe>;
@@ -1,14 +1,15 @@
1
1
  import { makeRecipe } from "../../styles/make-recipe.js";
2
- //#region src/recipes/popover/popover.ts
2
+ // src/recipes/popover/popover.ts
3
3
  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",
11
- border: "divider",
10
+ borderWidth: "base",
11
+ borderStyle: "solid",
12
+ borderColor: "divider",
12
13
  borderRadius: "base",
13
14
  opacity: "0",
14
15
  _popoverOpen: {
@@ -99,7 +100,6 @@ const popoverRecipe = makeRecipe({
99
100
  padding: "md"
100
101
  }
101
102
  });
102
- //#endregion
103
103
  export { popoverRecipe };
104
104
 
105
105
  //# sourceMappingURL=popover.js.map
@@ -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 border: \"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,QAAQ;EACR,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,7 +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/progress/progress.d.ts
4
- export declare const progressRecipe: Recipe<"label" | "root" | "bar" | "value", {
3
+ export declare const progressRecipe: Recipe<"root" | "label" | "bar" | "value", {
5
4
  color: {
6
5
  accent: {
7
6
  root: {
@@ -64,6 +63,4 @@ export declare const progressRecipe: Recipe<"label" | "root" | "bar" | "value",
64
63
  };
65
64
  }>;
66
65
  export type ProgressVariants = RecipeVariants<typeof progressRecipe>;
67
- export type ProgressSlots = RecipeSlots<typeof progressRecipe>;
68
- //#endregion
69
- //# sourceMappingURL=progress.d.ts.map
66
+ export type ProgressSlots = RecipeSlots<typeof progressRecipe>;
@@ -1,5 +1,5 @@
1
1
  import { makeRecipe } from "../../styles/make-recipe.js";
2
- //#region src/recipes/progress/progress.ts
2
+ // src/recipes/progress/progress.ts
3
3
  const progressRecipe = makeRecipe({
4
4
  base: {
5
5
  root: { reset: "true" },
@@ -53,7 +53,6 @@ const progressRecipe = makeRecipe({
53
53
  size: "md"
54
54
  }
55
55
  });
56
- //#endregion
57
56
  export { progressRecipe };
58
57
 
59
58
  //# sourceMappingURL=progress.js.map
@@ -1,7 +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/radio/radio.d.ts
4
- export declare const radioRecipe: Recipe<"label" | "root" | "errorIcon" | "error" | "errorMessage" | "radio", {
3
+ export declare const radioRecipe: Recipe<"root" | "label" | "error" | "radio" | "errorIcon" | "errorMessage", {
5
4
  color: {
6
5
  accent: {
7
6
  radio: {
@@ -28,17 +27,15 @@ export declare const radioRecipe: Recipe<"label" | "root" | "errorIcon" | "error
28
27
  true: {
29
28
  radio: {
30
29
  baseColor: "danger";
31
- border: "danger-divider";
30
+ borderColor: "danger-divider";
32
31
  };
33
32
  };
34
33
  false: {
35
34
  radio: {
36
- border: "divider";
35
+ borderColor: "divider";
37
36
  };
38
37
  };
39
38
  };
40
39
  }>;
41
40
  export type RadioVariants = RecipeVariants<typeof radioRecipe>;
42
- export type RadioSlots = RecipeSlots<typeof radioRecipe>;
43
- //#endregion
44
- //# sourceMappingURL=radio.d.ts.map
41
+ export type RadioSlots = RecipeSlots<typeof radioRecipe>;
@@ -1,5 +1,5 @@
1
1
  import { makeRecipe } from "../../styles/make-recipe.js";
2
- //#region src/recipes/radio/radio.ts
2
+ // src/recipes/radio/radio.ts
3
3
  const radioRecipe = makeRecipe({
4
4
  base: {
5
5
  root: {
@@ -13,14 +13,16 @@ const radioRecipe = makeRecipe({
13
13
  width: "1x",
14
14
  height: "1x",
15
15
  borderRadius: "0.5x",
16
+ borderWidth: "base",
17
+ borderStyle: "solid",
16
18
  _checked: {
17
- border: "base",
19
+ borderColor: "base",
18
20
  icon: "radio"
19
21
  },
20
22
  _focusVisible: { outline: "focus-ring" },
21
23
  _hover: {
22
24
  bgColor: "base-alpha",
23
- border: "base-top"
25
+ borderColor: "base-top"
24
26
  },
25
27
  _disabled: {
26
28
  bgColor: "box",
@@ -58,9 +60,9 @@ const radioRecipe = makeRecipe({
58
60
  error: {
59
61
  true: { radio: {
60
62
  baseColor: "danger",
61
- border: "danger-divider"
63
+ borderColor: "danger-divider"
62
64
  } },
63
- false: { radio: { border: "divider" } }
65
+ false: { radio: { borderColor: "divider" } }
64
66
  }
65
67
  },
66
68
  defaultVariants: {
@@ -68,7 +70,6 @@ const radioRecipe = makeRecipe({
68
70
  error: "false"
69
71
  }
70
72
  });
71
- //#endregion
72
73
  export { radioRecipe };
73
74
 
74
75
  //# sourceMappingURL=radio.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"radio.js","names":[],"sources":["../../../src/recipes/radio/radio.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const radioRecipe = makeRecipe({\n base: {\n root: {\n display: \"flex\",\n gap: \"0.5x\",\n lineHeight: \"1\",\n },\n radio: {\n reset: \"true\",\n transition: \"colors\",\n width: \"1x\",\n height: \"1x\",\n borderRadius: \"0.5x\",\n _checked: {\n border: \"base\",\n icon: \"radio\",\n },\n _focusVisible: {\n outline: \"focus-ring\",\n },\n _hover: {\n bgColor: \"base-alpha\",\n border: \"base-top\",\n },\n _disabled: {\n bgColor: \"box\",\n borderColor: \"base-muted\",\n cursor: \"not-allowed\",\n },\n },\n label: {\n color: \"text\",\n _disabled: {\n color: \"text-muted\",\n cursor: \"not-allowed\",\n },\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 color: {\n accent: {\n radio: {\n baseColor: \"accent\",\n },\n },\n danger: {\n radio: {\n baseColor: \"danger\",\n },\n },\n caution: {\n radio: {\n baseColor: \"caution\",\n },\n },\n neutral: {\n radio: {\n baseColor: \"neutral\",\n },\n },\n },\n error: {\n true: {\n radio: {\n baseColor: \"danger\",\n border: \"danger-divider\",\n },\n },\n false: {\n radio: {\n border: \"divider\",\n },\n },\n },\n },\n defaultVariants: {\n color: \"accent\",\n error: \"false\",\n },\n});\n\nexport type RadioVariants = RecipeVariants<typeof radioRecipe>;\nexport type RadioSlots = RecipeSlots<typeof radioRecipe>;\n"],"mappings":";;AAGA,MAAa,cAAc,WAAW;CACpC,MAAM;EACJ,MAAM;GACJ,SAAS;GACT,KAAK;GACL,YAAY;EACd;EACA,OAAO;GACL,OAAO;GACP,YAAY;GACZ,OAAO;GACP,QAAQ;GACR,cAAc;GACd,UAAU;IACR,QAAQ;IACR,MAAM;GACR;GACA,eAAe,EACb,SAAS,aACX;GACA,QAAQ;IACN,SAAS;IACT,QAAQ;GACV;GACA,WAAW;IACT,SAAS;IACT,aAAa;IACb,QAAQ;GACV;EACF;EACA,OAAO;GACL,OAAO;GACP,WAAW;IACT,OAAO;IACP,QAAQ;GACV;EACF;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,OAAO;GACL,QAAQ,EACN,OAAO,EACL,WAAW,SACb,EACF;GACA,QAAQ,EACN,OAAO,EACL,WAAW,SACb,EACF;GACA,SAAS,EACP,OAAO,EACL,WAAW,UACb,EACF;GACA,SAAS,EACP,OAAO,EACL,WAAW,UACb,EACF;EACF;EACA,OAAO;GACL,MAAM,EACJ,OAAO;IACL,WAAW;IACX,QAAQ;GACV,EACF;GACA,OAAO,EACL,OAAO,EACL,QAAQ,UACV,EACF;EACF;CACF;CACA,iBAAiB;EACf,OAAO;EACP,OAAO;CACT;AACF,CAAC"}
1
+ {"version":3,"file":"radio.js","names":[],"sources":["../../../src/recipes/radio/radio.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const radioRecipe = makeRecipe({\n base: {\n root: {\n display: \"flex\",\n gap: \"0.5x\",\n lineHeight: \"1\",\n },\n radio: {\n reset: \"true\",\n transition: \"colors\",\n width: \"1x\",\n height: \"1x\",\n borderRadius: \"0.5x\",\n borderWidth: \"base\",\n borderStyle: \"solid\",\n _checked: {\n borderColor: \"base\",\n icon: \"radio\",\n },\n _focusVisible: {\n outline: \"focus-ring\",\n },\n _hover: {\n bgColor: \"base-alpha\",\n borderColor: \"base-top\",\n },\n _disabled: {\n bgColor: \"box\",\n borderColor: \"base-muted\",\n cursor: \"not-allowed\",\n },\n },\n label: {\n color: \"text\",\n _disabled: {\n color: \"text-muted\",\n cursor: \"not-allowed\",\n },\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 color: {\n accent: {\n radio: {\n baseColor: \"accent\",\n },\n },\n danger: {\n radio: {\n baseColor: \"danger\",\n },\n },\n caution: {\n radio: {\n baseColor: \"caution\",\n },\n },\n neutral: {\n radio: {\n baseColor: \"neutral\",\n },\n },\n },\n error: {\n true: {\n radio: {\n baseColor: \"danger\",\n borderColor: \"danger-divider\",\n },\n },\n false: {\n radio: {\n borderColor: \"divider\",\n },\n },\n },\n },\n defaultVariants: {\n color: \"accent\",\n error: \"false\",\n },\n});\n\nexport type RadioVariants = RecipeVariants<typeof radioRecipe>;\nexport type RadioSlots = RecipeSlots<typeof radioRecipe>;\n"],"mappings":";;AAGA,MAAa,cAAc,WAAW;CACpC,MAAM;EACJ,MAAM;GACJ,SAAS;GACT,KAAK;GACL,YAAY;EACd;EACA,OAAO;GACL,OAAO;GACP,YAAY;GACZ,OAAO;GACP,QAAQ;GACR,cAAc;GACd,aAAa;GACb,aAAa;GACb,UAAU;IACR,aAAa;IACb,MAAM;GACR;GACA,eAAe,EACb,SAAS,aACX;GACA,QAAQ;IACN,SAAS;IACT,aAAa;GACf;GACA,WAAW;IACT,SAAS;IACT,aAAa;IACb,QAAQ;GACV;EACF;EACA,OAAO;GACL,OAAO;GACP,WAAW;IACT,OAAO;IACP,QAAQ;GACV;EACF;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,OAAO;GACL,QAAQ,EACN,OAAO,EACL,WAAW,SACb,EACF;GACA,QAAQ,EACN,OAAO,EACL,WAAW,SACb,EACF;GACA,SAAS,EACP,OAAO,EACL,WAAW,UACb,EACF;GACA,SAAS,EACP,OAAO,EACL,WAAW,UACb,EACF;EACF;EACA,OAAO;GACL,MAAM,EACJ,OAAO;IACL,WAAW;IACX,aAAa;GACf,EACF;GACA,OAAO,EACL,OAAO,EACL,aAAa,UACf,EACF;EACF;CACF;CACA,iBAAiB;EACf,OAAO;EACP,OAAO;CACT;AACF,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/radiogroup/radiogroup.d.ts
4
3
  export declare const radiogroupRecipe: Recipe<"root" | "group", {
5
4
  direction: {
6
5
  row: {
@@ -18,6 +17,4 @@ export declare const radiogroupRecipe: Recipe<"root" | "group", {
18
17
  };
19
18
  }>;
20
19
  export type RadiogroupVariants = RecipeVariants<typeof radiogroupRecipe>;
21
- export type RadiogroupSlots = RecipeSlots<typeof radiogroupRecipe>;
22
- //#endregion
23
- //# sourceMappingURL=radiogroup.d.ts.map
20
+ export type RadiogroupSlots = RecipeSlots<typeof radiogroupRecipe>;
@@ -1,5 +1,5 @@
1
1
  import { makeRecipe } from "../../styles/make-recipe.js";
2
- //#region src/recipes/radiogroup/radiogroup.ts
2
+ // src/recipes/radiogroup/radiogroup.ts
3
3
  const radiogroupRecipe = makeRecipe({
4
4
  base: {
5
5
  root: {
@@ -20,7 +20,6 @@ const radiogroupRecipe = makeRecipe({
20
20
  } },
21
21
  defaultVariants: { direction: "column" }
22
22
  });
23
- //#endregion
24
23
  export { radiogroupRecipe };
25
24
 
26
25
  //# sourceMappingURL=radiogroup.js.map
@@ -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/section/section.d.ts
4
3
  export declare const sectionRecipe: Recipe<"root", {
5
4
  bg: {
6
5
  none: {};
@@ -53,12 +52,12 @@ export declare const sectionRecipe: Recipe<"root", {
53
52
  none: {};
54
53
  solid: {
55
54
  root: {
56
- border: "divider";
55
+ borderWidth: "base";
56
+ borderStyle: "solid";
57
+ borderColor: "divider";
57
58
  };
58
59
  };
59
60
  };
60
61
  }>;
61
62
  export type SectionVariants = RecipeVariants<typeof sectionRecipe>;
62
- export type SectionSlots = RecipeSlots<typeof sectionRecipe>;
63
- //#endregion
64
- //# sourceMappingURL=section.d.ts.map
63
+ export type SectionSlots = RecipeSlots<typeof sectionRecipe>;
@@ -1,5 +1,5 @@
1
1
  import { makeRecipe } from "../../styles/make-recipe.js";
2
- //#region src/recipes/section/section.ts
2
+ // src/recipes/section/section.ts
3
3
  const sectionRecipe = makeRecipe({
4
4
  base: { root: {} },
5
5
  variants: {
@@ -30,7 +30,11 @@ const sectionRecipe = makeRecipe({
30
30
  },
31
31
  border: {
32
32
  none: {},
33
- solid: { root: { border: "divider" } }
33
+ solid: { root: {
34
+ borderWidth: "base",
35
+ borderStyle: "solid",
36
+ borderColor: "divider"
37
+ } }
34
38
  }
35
39
  },
36
40
  defaultVariants: {
@@ -40,7 +44,6 @@ const sectionRecipe = makeRecipe({
40
44
  border: "none"
41
45
  }
42
46
  });
43
- //#endregion
44
47
  export { sectionRecipe };
45
48
 
46
49
  //# sourceMappingURL=section.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"section.js","names":[],"sources":["../../../src/recipes/section/section.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const sectionRecipe = makeRecipe({\n base: {\n root: {},\n },\n variants: {\n bg: {\n none: {},\n body: {\n root: {\n bgColor: \"body\",\n },\n },\n section: {\n root: {\n bgColor: \"section\",\n },\n },\n box: {\n root: {\n bgColor: \"box\",\n },\n },\n },\n radius: {\n none: {},\n base: {\n root: {\n borderRadius: \"base\",\n },\n },\n },\n padding: {\n none: {},\n sm: {\n root: {\n paddingInline: \"0.75x\",\n paddingBlock: \"0.75x\",\n },\n },\n md: {\n root: {\n paddingInline: \"1x\",\n paddingBlock: \"1x\",\n },\n },\n lg: {\n root: {\n paddingInline: \"1.25x\",\n paddingBlock: \"1.25x\",\n },\n },\n },\n border: {\n none: {},\n solid: {\n root: {\n border: \"divider\",\n },\n },\n },\n },\n defaultVariants: {\n bg: \"section\",\n radius: \"base\",\n padding: \"md\",\n border: \"none\",\n },\n});\n\nexport type SectionVariants = RecipeVariants<typeof sectionRecipe>;\nexport type SectionSlots = RecipeSlots<typeof sectionRecipe>;\n"],"mappings":";;AAGA,MAAa,gBAAgB,WAAW;CACtC,MAAM,EACJ,MAAM,CAAC,EACT;CACA,UAAU;EACR,IAAI;GACF,MAAM,CAAC;GACP,MAAM,EACJ,MAAM,EACJ,SAAS,OACX,EACF;GACA,SAAS,EACP,MAAM,EACJ,SAAS,UACX,EACF;GACA,KAAK,EACH,MAAM,EACJ,SAAS,MACX,EACF;EACF;EACA,QAAQ;GACN,MAAM,CAAC;GACP,MAAM,EACJ,MAAM,EACJ,cAAc,OAChB,EACF;EACF;EACA,SAAS;GACP,MAAM,CAAC;GACP,IAAI,EACF,MAAM;IACJ,eAAe;IACf,cAAc;GAChB,EACF;GACA,IAAI,EACF,MAAM;IACJ,eAAe;IACf,cAAc;GAChB,EACF;GACA,IAAI,EACF,MAAM;IACJ,eAAe;IACf,cAAc;GAChB,EACF;EACF;EACA,QAAQ;GACN,MAAM,CAAC;GACP,OAAO,EACL,MAAM,EACJ,QAAQ,UACV,EACF;EACF;CACF;CACA,iBAAiB;EACf,IAAI;EACJ,QAAQ;EACR,SAAS;EACT,QAAQ;CACV;AACF,CAAC"}
1
+ {"version":3,"file":"section.js","names":[],"sources":["../../../src/recipes/section/section.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const sectionRecipe = makeRecipe({\n base: {\n root: {},\n },\n variants: {\n bg: {\n none: {},\n body: {\n root: {\n bgColor: \"body\",\n },\n },\n section: {\n root: {\n bgColor: \"section\",\n },\n },\n box: {\n root: {\n bgColor: \"box\",\n },\n },\n },\n radius: {\n none: {},\n base: {\n root: {\n borderRadius: \"base\",\n },\n },\n },\n padding: {\n none: {},\n sm: {\n root: {\n paddingInline: \"0.75x\",\n paddingBlock: \"0.75x\",\n },\n },\n md: {\n root: {\n paddingInline: \"1x\",\n paddingBlock: \"1x\",\n },\n },\n lg: {\n root: {\n paddingInline: \"1.25x\",\n paddingBlock: \"1.25x\",\n },\n },\n },\n border: {\n none: {},\n solid: {\n root: {\n borderWidth: \"base\",\n borderStyle: \"solid\",\n borderColor: \"divider\",\n },\n },\n },\n },\n defaultVariants: {\n bg: \"section\",\n radius: \"base\",\n padding: \"md\",\n border: \"none\",\n },\n});\n\nexport type SectionVariants = RecipeVariants<typeof sectionRecipe>;\nexport type SectionSlots = RecipeSlots<typeof sectionRecipe>;\n"],"mappings":";;AAGA,MAAa,gBAAgB,WAAW;CACtC,MAAM,EACJ,MAAM,CAAC,EACT;CACA,UAAU;EACR,IAAI;GACF,MAAM,CAAC;GACP,MAAM,EACJ,MAAM,EACJ,SAAS,OACX,EACF;GACA,SAAS,EACP,MAAM,EACJ,SAAS,UACX,EACF;GACA,KAAK,EACH,MAAM,EACJ,SAAS,MACX,EACF;EACF;EACA,QAAQ;GACN,MAAM,CAAC;GACP,MAAM,EACJ,MAAM,EACJ,cAAc,OAChB,EACF;EACF;EACA,SAAS;GACP,MAAM,CAAC;GACP,IAAI,EACF,MAAM;IACJ,eAAe;IACf,cAAc;GAChB,EACF;GACA,IAAI,EACF,MAAM;IACJ,eAAe;IACf,cAAc;GAChB,EACF;GACA,IAAI,EACF,MAAM;IACJ,eAAe;IACf,cAAc;GAChB,EACF;EACF;EACA,QAAQ;GACN,MAAM,CAAC;GACP,OAAO,EACL,MAAM;IACJ,aAAa;IACb,aAAa;IACb,aAAa;GACf,EACF;EACF;CACF;CACA,iBAAiB;EACf,IAAI;EACJ,QAAQ;EACR,SAAS;EACT,QAAQ;CACV;AACF,CAAC"}
@@ -1,11 +1,8 @@
1
1
  import { Recipe } from "../../styles/make-recipe.js";
2
2
  import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
3
- //#region src/recipes/segmented-control/segmented-control.d.ts
4
3
  export declare const segmentedControlRootRecipe: Recipe<"root", {}>;
5
4
  export type SegmentedControlRootVariants = RecipeVariants<typeof segmentedControlRootRecipe>;
6
5
  export type SegmentedControlRootSlots = RecipeSlots<typeof segmentedControlRootRecipe>;
7
6
  export declare const segmentedControlItemRecipe: Recipe<"root", {}>;
8
7
  export type SegmentedControlItemVariants = RecipeVariants<typeof segmentedControlItemRecipe>;
9
- export type SegmentedControlItemSlots = RecipeSlots<typeof segmentedControlItemRecipe>;
10
- //#endregion
11
- //# sourceMappingURL=segmented-control.d.ts.map
8
+ export type SegmentedControlItemSlots = RecipeSlots<typeof segmentedControlItemRecipe>;
@@ -1,5 +1,5 @@
1
1
  import { makeRecipe } from "../../styles/make-recipe.js";
2
- //#region src/recipes/segmented-control/segmented-control.ts
2
+ // src/recipes/segmented-control/segmented-control.ts
3
3
  const segmentedControlRootRecipe = makeRecipe({
4
4
  base: { root: {
5
5
  reset: "true",
@@ -23,18 +23,23 @@ 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
  },
30
- _hover: { bgColor: "base-alpha" },
30
+ _hover: {
31
+ color: "text",
32
+ bgColor: "base-alpha"
33
+ },
31
34
  _active: { bgColor: "base-alpha-peak" },
32
- _focusVisible: { outline: "focus-ring" },
33
- _pressedHover: { bgColor: "bg-body" }
35
+ _focusVisible: {
36
+ outline: "focus-ring",
37
+ outlineOffset: "-1px"
38
+ },
39
+ _currentHover: { bgColor: "bg-body" }
34
40
  } },
35
41
  variants: {}
36
42
  });
37
- //#endregion
38
43
  export { segmentedControlItemRecipe, segmentedControlRootRecipe };
39
44
 
40
45
  //# sourceMappingURL=segmented-control.js.map
@@ -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,EACN,SAAS,aACX;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"}
@@ -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,15 @@ export declare const selectRecipe: Recipe<"root" | "wrapper" | "select", {
8
7
  baseColor: "danger";
9
8
  };
10
9
  select: {
11
- border: "danger-divider";
10
+ borderColor: "danger-divider";
12
11
  };
13
12
  };
14
13
  false: {
15
14
  select: {
16
- border: "divider";
15
+ borderColor: "divider";
17
16
  };
18
17
  };
19
18
  };
20
19
  }>;
21
20
  export type SelectVariants = RecipeVariants<typeof selectRecipe>;
22
- export type SelectSlots = RecipeSlots<typeof selectRecipe>;
23
- //#endregion
24
- //# sourceMappingURL=select.d.ts.map
21
+ export type SelectSlots = RecipeSlots<typeof selectRecipe>;
@@ -1,5 +1,5 @@
1
1
  import { makeRecipe } from "../../styles/make-recipe.js";
2
- //#region src/recipes/select/select.ts
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
- height: "2x",
21
+ minHeight: "2x",
20
22
  paddingInline: "0.75x",
21
23
  paddingInlineEnd: "2x",
22
24
  borderRadius: "base",
@@ -38,13 +40,12 @@ const selectRecipe = makeRecipe({
38
40
  variants: { error: {
39
41
  true: {
40
42
  root: { baseColor: "danger" },
41
- select: { border: "danger-divider" }
43
+ select: { borderColor: "danger-divider" }
42
44
  },
43
- false: { select: { border: "divider" } }
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 height: \"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 border: \"danger-divider\",\n },\n },\n false: {\n select: {\n border: \"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,UAAU;GACV,YAAY;GACZ,OAAO;GACP,QAAQ;GACR,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,QAAQ,iBACV;EACF;EACA,OAAO,EACL,QAAQ,EACN,QAAQ,UACV,EACF;CACF,EACF;CACA,iBAAiB,EACf,OAAO,QACT;AACF,CAAC"}
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,5 @@
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>;
@@ -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"}
@@ -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"}
@@ -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
- border: "none";
7
+ borderWidth: "0";
9
8
  };
10
9
  };
11
10
  solid: {
12
11
  root: {
13
- border: "divider";
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
- borderBlockEnd: "divider";
41
+ borderBlockEndWidth: "base";
41
42
  };
42
43
  };
43
44
  none: {
44
45
  root: {
45
- border: "none";
46
+ borderWidth: "0";
46
47
  };
47
48
  };
48
49
  };
@@ -54,6 +55,4 @@ export type ThVariants = RecipeVariants<typeof thRecipe>;
54
55
  export type ThSlots = RecipeSlots<typeof thRecipe>;
55
56
  export declare const tdRecipe: Recipe<"root", {}>;
56
57
  export type TdVariants = RecipeVariants<typeof tdRecipe>;
57
- export type TdSlots = RecipeSlots<typeof tdRecipe>;
58
- //#endregion
59
- //# sourceMappingURL=table.d.ts.map
58
+ export type TdSlots = RecipeSlots<typeof tdRecipe>;