@luxonis/depthai-pipeline-lib 1.4.12 → 1.4.14

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 (225) hide show
  1. package/dist/panda.css +670 -809
  2. package/dist/src/components/PipelineCanvas.js +14 -9
  3. package/dist/src/styled-system/css/conditions.mjs +4 -2
  4. package/dist/src/styled-system/css/css.d.mts +15 -2
  5. package/dist/src/styled-system/css/css.mjs +2 -1
  6. package/dist/src/styled-system/css/cva.d.mts +1 -1
  7. package/dist/src/styled-system/css/cva.mjs +28 -4
  8. package/dist/src/styled-system/css/sva.mjs +9 -3
  9. package/dist/src/styled-system/helpers.mjs +109 -64
  10. package/dist/src/styled-system/patterns/aspect-ratio.d.mts +1 -1
  11. package/dist/src/styled-system/patterns/aspect-ratio.mjs +5 -2
  12. package/dist/src/styled-system/patterns/bleed.d.mts +3 -3
  13. package/dist/src/styled-system/patterns/bleed.mjs +12 -7
  14. package/dist/src/styled-system/patterns/box.d.mts +1 -1
  15. package/dist/src/styled-system/patterns/box.mjs +5 -2
  16. package/dist/src/styled-system/patterns/center.d.mts +1 -1
  17. package/dist/src/styled-system/patterns/center.mjs +5 -2
  18. package/dist/src/styled-system/patterns/circle.d.mts +2 -2
  19. package/dist/src/styled-system/patterns/circle.mjs +5 -2
  20. package/dist/src/styled-system/patterns/container.d.mts +1 -1
  21. package/dist/src/styled-system/patterns/container.mjs +5 -2
  22. package/dist/src/styled-system/patterns/cq.d.mts +22 -0
  23. package/dist/src/styled-system/patterns/cq.mjs +21 -0
  24. package/dist/src/styled-system/patterns/divider.d.mts +1 -1
  25. package/dist/src/styled-system/patterns/divider.mjs +8 -4
  26. package/dist/src/styled-system/patterns/flex.d.mts +8 -8
  27. package/dist/src/styled-system/patterns/flex.mjs +5 -2
  28. package/dist/src/styled-system/patterns/float.d.mts +1 -1
  29. package/dist/src/styled-system/patterns/float.mjs +10 -3
  30. package/dist/src/styled-system/patterns/grid-item.d.mts +1 -1
  31. package/dist/src/styled-system/patterns/grid-item.mjs +5 -2
  32. package/dist/src/styled-system/patterns/grid.d.mts +4 -4
  33. package/dist/src/styled-system/patterns/grid.mjs +12 -5
  34. package/dist/src/styled-system/patterns/hstack.d.mts +3 -3
  35. package/dist/src/styled-system/patterns/hstack.mjs +8 -4
  36. package/dist/src/styled-system/patterns/index.d.mts +2 -2
  37. package/dist/src/styled-system/patterns/index.mjs +2 -2
  38. package/dist/src/styled-system/patterns/link-overlay.d.mts +1 -1
  39. package/dist/src/styled-system/patterns/link-overlay.mjs +5 -5
  40. package/dist/src/styled-system/patterns/spacer.d.mts +1 -1
  41. package/dist/src/styled-system/patterns/spacer.mjs +5 -2
  42. package/dist/src/styled-system/patterns/square.d.mts +2 -2
  43. package/dist/src/styled-system/patterns/square.mjs +5 -2
  44. package/dist/src/styled-system/patterns/stack.d.mts +5 -5
  45. package/dist/src/styled-system/patterns/stack.mjs +8 -4
  46. package/dist/src/styled-system/patterns/visually-hidden.d.mts +1 -1
  47. package/dist/src/styled-system/patterns/visually-hidden.mjs +5 -2
  48. package/dist/src/styled-system/patterns/vstack.d.mts +3 -3
  49. package/dist/src/styled-system/patterns/vstack.mjs +8 -4
  50. package/dist/src/styled-system/patterns/wrap.d.mts +6 -6
  51. package/dist/src/styled-system/patterns/wrap.mjs +5 -2
  52. package/dist/src/styled-system/recipes/accordion.d.mts +8 -4
  53. package/dist/src/styled-system/recipes/accordion.mjs +6 -4
  54. package/dist/src/styled-system/recipes/alert-description.d.mts +8 -4
  55. package/dist/src/styled-system/recipes/alert-description.mjs +8 -3
  56. package/dist/src/styled-system/recipes/alert-dialog.d.mts +8 -4
  57. package/dist/src/styled-system/recipes/alert-dialog.mjs +6 -4
  58. package/dist/src/styled-system/recipes/alert-title.d.mts +8 -4
  59. package/dist/src/styled-system/recipes/alert-title.mjs +8 -3
  60. package/dist/src/styled-system/recipes/alert.d.mts +12 -5
  61. package/dist/src/styled-system/recipes/alert.mjs +8 -3
  62. package/dist/src/styled-system/recipes/avatar.d.mts +8 -4
  63. package/dist/src/styled-system/recipes/avatar.mjs +6 -4
  64. package/dist/src/styled-system/recipes/badge.d.mts +12 -5
  65. package/dist/src/styled-system/recipes/badge.mjs +8 -3
  66. package/dist/src/styled-system/recipes/blockquote.d.mts +8 -4
  67. package/dist/src/styled-system/recipes/blockquote.mjs +8 -3
  68. package/dist/src/styled-system/recipes/button.d.mts +15 -5
  69. package/dist/src/styled-system/recipes/button.mjs +8 -3
  70. package/dist/src/styled-system/recipes/calendar.d.mts +8 -4
  71. package/dist/src/styled-system/recipes/calendar.mjs +6 -4
  72. package/dist/src/styled-system/recipes/card-content.d.mts +8 -4
  73. package/dist/src/styled-system/recipes/card-content.mjs +8 -3
  74. package/dist/src/styled-system/recipes/card-description.d.mts +8 -4
  75. package/dist/src/styled-system/recipes/card-description.mjs +8 -3
  76. package/dist/src/styled-system/recipes/card-footer.d.mts +8 -4
  77. package/dist/src/styled-system/recipes/card-footer.mjs +8 -3
  78. package/dist/src/styled-system/recipes/card-header.d.mts +8 -4
  79. package/dist/src/styled-system/recipes/card-header.mjs +8 -3
  80. package/dist/src/styled-system/recipes/card-title.d.mts +8 -4
  81. package/dist/src/styled-system/recipes/card-title.mjs +8 -3
  82. package/dist/src/styled-system/recipes/card.d.mts +8 -4
  83. package/dist/src/styled-system/recipes/card.mjs +8 -3
  84. package/dist/src/styled-system/recipes/checkbox.d.mts +8 -4
  85. package/dist/src/styled-system/recipes/checkbox.mjs +6 -4
  86. package/dist/src/styled-system/recipes/collapsible.d.mts +8 -4
  87. package/dist/src/styled-system/recipes/collapsible.mjs +6 -4
  88. package/dist/src/styled-system/recipes/command-dialog.d.mts +8 -4
  89. package/dist/src/styled-system/recipes/command-dialog.mjs +6 -4
  90. package/dist/src/styled-system/recipes/command.d.mts +8 -4
  91. package/dist/src/styled-system/recipes/command.mjs +6 -4
  92. package/dist/src/styled-system/recipes/context-menu.d.mts +12 -5
  93. package/dist/src/styled-system/recipes/context-menu.mjs +6 -4
  94. package/dist/src/styled-system/recipes/create-recipe.mjs +39 -7
  95. package/dist/src/styled-system/recipes/dialog.d.mts +8 -4
  96. package/dist/src/styled-system/recipes/dialog.mjs +6 -4
  97. package/dist/src/styled-system/recipes/dropdown-menu.d.mts +8 -4
  98. package/dist/src/styled-system/recipes/dropdown-menu.mjs +6 -4
  99. package/dist/src/styled-system/recipes/form-control.d.mts +8 -4
  100. package/dist/src/styled-system/recipes/form-control.mjs +8 -3
  101. package/dist/src/styled-system/recipes/form-description.d.mts +8 -4
  102. package/dist/src/styled-system/recipes/form-description.mjs +8 -3
  103. package/dist/src/styled-system/recipes/form-item.d.mts +8 -4
  104. package/dist/src/styled-system/recipes/form-item.mjs +8 -3
  105. package/dist/src/styled-system/recipes/form-label.d.mts +8 -4
  106. package/dist/src/styled-system/recipes/form-label.mjs +8 -3
  107. package/dist/src/styled-system/recipes/form-message.d.mts +8 -4
  108. package/dist/src/styled-system/recipes/form-message.mjs +8 -3
  109. package/dist/src/styled-system/recipes/h1.d.mts +8 -4
  110. package/dist/src/styled-system/recipes/h1.mjs +8 -3
  111. package/dist/src/styled-system/recipes/h2.d.mts +8 -4
  112. package/dist/src/styled-system/recipes/h2.mjs +8 -3
  113. package/dist/src/styled-system/recipes/h3.d.mts +8 -4
  114. package/dist/src/styled-system/recipes/h3.mjs +8 -3
  115. package/dist/src/styled-system/recipes/h4.d.mts +8 -4
  116. package/dist/src/styled-system/recipes/h4.mjs +8 -3
  117. package/dist/src/styled-system/recipes/hover-card.d.mts +8 -4
  118. package/dist/src/styled-system/recipes/hover-card.mjs +6 -4
  119. package/dist/src/styled-system/recipes/icon.d.mts +24 -5
  120. package/dist/src/styled-system/recipes/icon.mjs +8 -3
  121. package/dist/src/styled-system/recipes/inline-code.d.mts +8 -4
  122. package/dist/src/styled-system/recipes/inline-code.mjs +8 -3
  123. package/dist/src/styled-system/recipes/input.d.mts +8 -4
  124. package/dist/src/styled-system/recipes/input.mjs +8 -3
  125. package/dist/src/styled-system/recipes/label.d.mts +8 -4
  126. package/dist/src/styled-system/recipes/label.mjs +8 -3
  127. package/dist/src/styled-system/recipes/large.d.mts +8 -4
  128. package/dist/src/styled-system/recipes/large.mjs +8 -3
  129. package/dist/src/styled-system/recipes/lead.d.mts +8 -4
  130. package/dist/src/styled-system/recipes/lead.mjs +8 -3
  131. package/dist/src/styled-system/recipes/link.d.mts +8 -4
  132. package/dist/src/styled-system/recipes/link.mjs +8 -3
  133. package/dist/src/styled-system/recipes/list.d.mts +8 -4
  134. package/dist/src/styled-system/recipes/list.mjs +8 -3
  135. package/dist/src/styled-system/recipes/menubar.d.mts +8 -4
  136. package/dist/src/styled-system/recipes/menubar.mjs +6 -4
  137. package/dist/src/styled-system/recipes/muted.d.mts +8 -4
  138. package/dist/src/styled-system/recipes/muted.mjs +8 -3
  139. package/dist/src/styled-system/recipes/navigation-menu.d.mts +8 -4
  140. package/dist/src/styled-system/recipes/navigation-menu.mjs +6 -4
  141. package/dist/src/styled-system/recipes/p.d.mts +8 -4
  142. package/dist/src/styled-system/recipes/p.mjs +8 -3
  143. package/dist/src/styled-system/recipes/popover.d.mts +8 -4
  144. package/dist/src/styled-system/recipes/popover.mjs +6 -4
  145. package/dist/src/styled-system/recipes/progress.d.mts +8 -4
  146. package/dist/src/styled-system/recipes/progress.mjs +6 -4
  147. package/dist/src/styled-system/recipes/radio-group.d.mts +8 -4
  148. package/dist/src/styled-system/recipes/radio-group.mjs +6 -4
  149. package/dist/src/styled-system/recipes/scroll-area.d.mts +8 -4
  150. package/dist/src/styled-system/recipes/scroll-area.mjs +6 -4
  151. package/dist/src/styled-system/recipes/select.d.mts +8 -4
  152. package/dist/src/styled-system/recipes/select.mjs +6 -4
  153. package/dist/src/styled-system/recipes/separator.d.mts +12 -5
  154. package/dist/src/styled-system/recipes/separator.mjs +8 -3
  155. package/dist/src/styled-system/recipes/sheet.d.mts +12 -5
  156. package/dist/src/styled-system/recipes/sheet.mjs +6 -4
  157. package/dist/src/styled-system/recipes/skeleton.d.mts +8 -4
  158. package/dist/src/styled-system/recipes/skeleton.mjs +8 -3
  159. package/dist/src/styled-system/recipes/slider.d.mts +8 -4
  160. package/dist/src/styled-system/recipes/slider.mjs +6 -4
  161. package/dist/src/styled-system/recipes/small.d.mts +8 -4
  162. package/dist/src/styled-system/recipes/small.mjs +8 -3
  163. package/dist/src/styled-system/recipes/switch-recipe.d.mts +8 -4
  164. package/dist/src/styled-system/recipes/switch-recipe.mjs +6 -4
  165. package/dist/src/styled-system/recipes/table-body.d.mts +8 -4
  166. package/dist/src/styled-system/recipes/table-body.mjs +8 -3
  167. package/dist/src/styled-system/recipes/table-caption.d.mts +8 -4
  168. package/dist/src/styled-system/recipes/table-caption.mjs +8 -3
  169. package/dist/src/styled-system/recipes/table-cell.d.mts +8 -4
  170. package/dist/src/styled-system/recipes/table-cell.mjs +8 -3
  171. package/dist/src/styled-system/recipes/table-container.d.mts +8 -4
  172. package/dist/src/styled-system/recipes/table-container.mjs +8 -3
  173. package/dist/src/styled-system/recipes/table-footer.d.mts +8 -4
  174. package/dist/src/styled-system/recipes/table-footer.mjs +8 -3
  175. package/dist/src/styled-system/recipes/table-head.d.mts +8 -4
  176. package/dist/src/styled-system/recipes/table-head.mjs +8 -3
  177. package/dist/src/styled-system/recipes/table-header.d.mts +8 -4
  178. package/dist/src/styled-system/recipes/table-header.mjs +8 -3
  179. package/dist/src/styled-system/recipes/table-row.d.mts +8 -4
  180. package/dist/src/styled-system/recipes/table-row.mjs +8 -3
  181. package/dist/src/styled-system/recipes/table.d.mts +8 -4
  182. package/dist/src/styled-system/recipes/table.mjs +8 -3
  183. package/dist/src/styled-system/recipes/tabs.d.mts +8 -4
  184. package/dist/src/styled-system/recipes/tabs.mjs +6 -4
  185. package/dist/src/styled-system/recipes/textarea.d.mts +8 -4
  186. package/dist/src/styled-system/recipes/textarea.mjs +8 -3
  187. package/dist/src/styled-system/recipes/toast-viewport.d.mts +8 -4
  188. package/dist/src/styled-system/recipes/toast-viewport.mjs +8 -3
  189. package/dist/src/styled-system/recipes/toast.d.mts +12 -5
  190. package/dist/src/styled-system/recipes/toast.mjs +6 -4
  191. package/dist/src/styled-system/recipes/toggle.d.mts +15 -5
  192. package/dist/src/styled-system/recipes/toggle.mjs +8 -3
  193. package/dist/src/styled-system/recipes/tooltip.d.mts +8 -4
  194. package/dist/src/styled-system/recipes/tooltip.mjs +6 -4
  195. package/dist/src/styled-system/recipes/typography-table-container.d.mts +8 -4
  196. package/dist/src/styled-system/recipes/typography-table-container.mjs +8 -3
  197. package/dist/src/styled-system/recipes/typography-table.d.mts +8 -4
  198. package/dist/src/styled-system/recipes/typography-table.mjs +8 -3
  199. package/dist/src/styled-system/tokens/index.mjs +271 -219
  200. package/dist/src/styled-system/tokens/tokens.d.mts +18 -18
  201. package/dist/src/styled-system/types/composition.d.mts +70 -17
  202. package/dist/src/styled-system/types/conditions.d.mts +105 -49
  203. package/dist/src/styled-system/types/csstype.d.mts +1270 -721
  204. package/dist/src/styled-system/types/global.d.mts +1 -0
  205. package/dist/src/styled-system/types/index.d.mts +1 -2
  206. package/dist/src/styled-system/types/parts.d.mts +3 -1
  207. package/dist/src/styled-system/types/pattern.d.mts +20 -3
  208. package/dist/src/styled-system/types/prop-type.d.mts +59 -135
  209. package/dist/src/styled-system/types/recipe.d.mts +42 -9
  210. package/dist/src/styled-system/types/selectors.d.mts +1 -1
  211. package/dist/src/styled-system/types/static-css.d.mts +56 -0
  212. package/dist/src/styled-system/types/style-props.d.mts +7540 -678
  213. package/dist/src/styled-system/types/system-types.d.mts +128 -20
  214. package/package.json +3 -3
  215. package/dist/src/styled-system/chunks/src__components__Node.css +0 -195
  216. package/dist/src/styled-system/chunks/src__components__PipelineCanvas.css +0 -25
  217. package/dist/src/styled-system/global.css +0 -70
  218. package/dist/src/styled-system/patterns/link-box.d.mts +0 -21
  219. package/dist/src/styled-system/patterns/link-box.mjs +0 -19
  220. package/dist/src/styled-system/recipes/create-recipe.d.mts +0 -1
  221. package/dist/src/styled-system/reset.css +0 -206
  222. package/dist/src/styled-system/static.css +0 -320
  223. package/dist/src/styled-system/tokens/index.css +0 -620
  224. package/dist/src/styled-system/tokens/keyframes.css +0 -56
  225. package/dist/src/styled-system/types/helpers.d.mts +0 -2
@@ -1,5 +1,5 @@
1
- import { splitProps } from '../helpers.mjs';
2
- import { createRecipe } from './create-recipe.mjs';
1
+ import { memo, splitProps } from '../helpers.mjs';
2
+ import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
3
 
4
4
  const h2Fn = /* @__PURE__ */ createRecipe('h2', {}, [])
5
5
 
@@ -7,13 +7,18 @@ const h2VariantMap = {}
7
7
 
8
8
  const h2VariantKeys = Object.keys(h2VariantMap)
9
9
 
10
- export const h2 = /* @__PURE__ */ Object.assign(h2Fn, {
10
+ export const h2 = /* @__PURE__ */ Object.assign(memo(h2Fn.recipeFn), {
11
11
  __recipe__: true,
12
12
  __name__: 'h2',
13
+ __getCompoundVariantCss__: h2Fn.__getCompoundVariantCss__,
13
14
  raw: (props) => props,
14
15
  variantKeys: h2VariantKeys,
15
16
  variantMap: h2VariantMap,
17
+ merge(recipe) {
18
+ return mergeRecipes(this, recipe)
19
+ },
16
20
  splitVariantProps(props) {
17
21
  return splitProps(props, h2VariantKeys)
18
22
  },
23
+ getVariantProps: h2Fn.getVariantProps,
19
24
  })
@@ -1,7 +1,6 @@
1
1
  /* eslint-disable */
2
2
  import type { ConditionalValue } from '../types/index.d.mts';
3
- import type { Pretty } from '../types/helpers.d.mts';
4
- import type { DistributiveOmit } from '../types/system-types.d.mts';
3
+ import type { DistributiveOmit, Pretty } from '../types/system-types.d.mts';
5
4
 
6
5
  interface H3Variant {
7
6
 
@@ -12,7 +11,7 @@ type H3VariantMap = {
12
11
  }
13
12
 
14
13
  export type H3VariantProps = {
15
- [key in keyof H3Variant]?: ConditionalValue<H3Variant[key]>
14
+ [key in keyof H3Variant]?: ConditionalValue<H3Variant[key]> | undefined
16
15
  }
17
16
 
18
17
  export interface H3Recipe {
@@ -22,7 +21,12 @@ export interface H3Recipe {
22
21
  variantMap: H3VariantMap
23
22
  variantKeys: Array<keyof H3Variant>
24
23
  splitVariantProps<Props extends H3VariantProps>(props: Props): [H3VariantProps, Pretty<DistributiveOmit<Props, keyof H3VariantProps>>]
24
+ getVariantProps: (props?: H3VariantProps) => H3VariantProps
25
25
  }
26
26
 
27
- /** Typography - h3 style */
27
+ /**
28
+ * Typography - h3 style
29
+
30
+
31
+ */
28
32
  export declare const h3: H3Recipe
@@ -1,5 +1,5 @@
1
- import { splitProps } from '../helpers.mjs';
2
- import { createRecipe } from './create-recipe.mjs';
1
+ import { memo, splitProps } from '../helpers.mjs';
2
+ import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
3
 
4
4
  const h3Fn = /* @__PURE__ */ createRecipe('h3', {}, [])
5
5
 
@@ -7,13 +7,18 @@ const h3VariantMap = {}
7
7
 
8
8
  const h3VariantKeys = Object.keys(h3VariantMap)
9
9
 
10
- export const h3 = /* @__PURE__ */ Object.assign(h3Fn, {
10
+ export const h3 = /* @__PURE__ */ Object.assign(memo(h3Fn.recipeFn), {
11
11
  __recipe__: true,
12
12
  __name__: 'h3',
13
+ __getCompoundVariantCss__: h3Fn.__getCompoundVariantCss__,
13
14
  raw: (props) => props,
14
15
  variantKeys: h3VariantKeys,
15
16
  variantMap: h3VariantMap,
17
+ merge(recipe) {
18
+ return mergeRecipes(this, recipe)
19
+ },
16
20
  splitVariantProps(props) {
17
21
  return splitProps(props, h3VariantKeys)
18
22
  },
23
+ getVariantProps: h3Fn.getVariantProps,
19
24
  })
@@ -1,7 +1,6 @@
1
1
  /* eslint-disable */
2
2
  import type { ConditionalValue } from '../types/index.d.mts';
3
- import type { Pretty } from '../types/helpers.d.mts';
4
- import type { DistributiveOmit } from '../types/system-types.d.mts';
3
+ import type { DistributiveOmit, Pretty } from '../types/system-types.d.mts';
5
4
 
6
5
  interface H4Variant {
7
6
 
@@ -12,7 +11,7 @@ type H4VariantMap = {
12
11
  }
13
12
 
14
13
  export type H4VariantProps = {
15
- [key in keyof H4Variant]?: ConditionalValue<H4Variant[key]>
14
+ [key in keyof H4Variant]?: ConditionalValue<H4Variant[key]> | undefined
16
15
  }
17
16
 
18
17
  export interface H4Recipe {
@@ -22,7 +21,12 @@ export interface H4Recipe {
22
21
  variantMap: H4VariantMap
23
22
  variantKeys: Array<keyof H4Variant>
24
23
  splitVariantProps<Props extends H4VariantProps>(props: Props): [H4VariantProps, Pretty<DistributiveOmit<Props, keyof H4VariantProps>>]
24
+ getVariantProps: (props?: H4VariantProps) => H4VariantProps
25
25
  }
26
26
 
27
- /** Typography - h4 style */
27
+ /**
28
+ * Typography - h4 style
29
+
30
+
31
+ */
28
32
  export declare const h4: H4Recipe
@@ -1,5 +1,5 @@
1
- import { splitProps } from '../helpers.mjs';
2
- import { createRecipe } from './create-recipe.mjs';
1
+ import { memo, splitProps } from '../helpers.mjs';
2
+ import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
3
 
4
4
  const h4Fn = /* @__PURE__ */ createRecipe('h4', {}, [])
5
5
 
@@ -7,13 +7,18 @@ const h4VariantMap = {}
7
7
 
8
8
  const h4VariantKeys = Object.keys(h4VariantMap)
9
9
 
10
- export const h4 = /* @__PURE__ */ Object.assign(h4Fn, {
10
+ export const h4 = /* @__PURE__ */ Object.assign(memo(h4Fn.recipeFn), {
11
11
  __recipe__: true,
12
12
  __name__: 'h4',
13
+ __getCompoundVariantCss__: h4Fn.__getCompoundVariantCss__,
13
14
  raw: (props) => props,
14
15
  variantKeys: h4VariantKeys,
15
16
  variantMap: h4VariantMap,
17
+ merge(recipe) {
18
+ return mergeRecipes(this, recipe)
19
+ },
16
20
  splitVariantProps(props) {
17
21
  return splitProps(props, h4VariantKeys)
18
22
  },
23
+ getVariantProps: h4Fn.getVariantProps,
19
24
  })
@@ -1,7 +1,6 @@
1
1
  /* eslint-disable */
2
2
  import type { ConditionalValue } from '../types/index.d.mts';
3
- import type { Pretty } from '../types/helpers.d.mts';
4
- import type { DistributiveOmit } from '../types/system-types.d.mts';
3
+ import type { DistributiveOmit, Pretty } from '../types/system-types.d.mts';
5
4
 
6
5
  interface HoverCardVariant {
7
6
 
@@ -12,7 +11,7 @@ type HoverCardVariantMap = {
12
11
  }
13
12
 
14
13
  export type HoverCardVariantProps = {
15
- [key in keyof HoverCardVariant]?: ConditionalValue<HoverCardVariant[key]>
14
+ [key in keyof HoverCardVariant]?: ConditionalValue<HoverCardVariant[key]> | undefined
16
15
  }
17
16
 
18
17
  export interface HoverCardRecipe {
@@ -22,7 +21,12 @@ export interface HoverCardRecipe {
22
21
  variantMap: HoverCardVariantMap
23
22
  variantKeys: Array<keyof HoverCardVariant>
24
23
  splitVariantProps<Props extends HoverCardVariantProps>(props: Props): [HoverCardVariantProps, Pretty<DistributiveOmit<Props, keyof HoverCardVariantProps>>]
24
+ getVariantProps: (props?: HoverCardVariantProps) => HoverCardVariantProps
25
25
  }
26
26
 
27
- /** Styles for the HoverCard component */
27
+ /**
28
+ * Styles for the HoverCard component
29
+
30
+
31
+ */
28
32
  export declare const hoverCard: HoverCardRecipe
@@ -1,4 +1,4 @@
1
- import { splitProps, getSlotCompoundVariant } from '../helpers.mjs';
1
+ import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
2
2
  import { createRecipe } from './create-recipe.mjs';
3
3
 
4
4
  const hoverCardDefaultVariants = {}
@@ -20,11 +20,12 @@ const hoverCardSlotNames = [
20
20
  ]
21
21
  const hoverCardSlotFns = /* @__PURE__ */ hoverCardSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, hoverCardDefaultVariants, getSlotCompoundVariant(hoverCardCompoundVariants, slotName))])
22
22
 
23
- const hoverCardFn = (props = {}) => {
24
- return Object.fromEntries(hoverCardSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
25
- }
23
+ const hoverCardFn = memo((props = {}) => {
24
+ return Object.fromEntries(hoverCardSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
25
+ })
26
26
 
27
27
  const hoverCardVariantKeys = []
28
+ const getVariantProps = (variants) => ({ ...hoverCardDefaultVariants, ...compact(variants) })
28
29
 
29
30
  export const hoverCard = /* @__PURE__ */ Object.assign(hoverCardFn, {
30
31
  __recipe__: false,
@@ -35,4 +36,5 @@ export const hoverCard = /* @__PURE__ */ Object.assign(hoverCardFn, {
35
36
  splitVariantProps(props) {
36
37
  return splitProps(props, hoverCardVariantKeys)
37
38
  },
39
+ getVariantProps
38
40
  })
@@ -1,13 +1,27 @@
1
1
  /* eslint-disable */
2
2
  import type { ConditionalValue } from '../types/index.d.mts';
3
- import type { Pretty } from '../types/helpers.d.mts';
4
- import type { DistributiveOmit } from '../types/system-types.d.mts';
3
+ import type { DistributiveOmit, Pretty } from '../types/system-types.d.mts';
5
4
 
6
5
  interface IconVariant {
7
- size: "xl" | "lg" | "md" | "sm" | "xs"
6
+ /**
7
+ * @default "md"
8
+ */
9
+ size: "xl" | "lg" | "md" | "sm" | "xs"
10
+ /**
11
+ * @default "none"
12
+ */
8
13
  left: "none" | "sm" | "auto"
14
+ /**
15
+ * @default "none"
16
+ */
9
17
  right: "none" | "sm" | "auto"
18
+ /**
19
+ * @default false
20
+ */
10
21
  fillCurrent: boolean
22
+ /**
23
+ * @default false
24
+ */
11
25
  dimmed: boolean
12
26
  }
13
27
 
@@ -16,7 +30,7 @@ type IconVariantMap = {
16
30
  }
17
31
 
18
32
  export type IconVariantProps = {
19
- [key in keyof IconVariant]?: ConditionalValue<IconVariant[key]>
33
+ [key in keyof IconVariant]?: ConditionalValue<IconVariant[key]> | undefined
20
34
  }
21
35
 
22
36
  export interface IconRecipe {
@@ -26,7 +40,12 @@ export interface IconRecipe {
26
40
  variantMap: IconVariantMap
27
41
  variantKeys: Array<keyof IconVariant>
28
42
  splitVariantProps<Props extends IconVariantProps>(props: Props): [IconVariantProps, Pretty<DistributiveOmit<Props, keyof IconVariantProps>>]
43
+ getVariantProps: (props?: IconVariantProps) => IconVariantProps
29
44
  }
30
45
 
31
- /** Styles for the icons */
46
+ /**
47
+ * Styles for the icons
48
+
49
+
50
+ */
32
51
  export declare const icon: IconRecipe
@@ -1,5 +1,5 @@
1
- import { splitProps } from '../helpers.mjs';
2
- import { createRecipe } from './create-recipe.mjs';
1
+ import { memo, splitProps } from '../helpers.mjs';
2
+ import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
3
 
4
4
  const iconFn = /* @__PURE__ */ createRecipe('icon', {
5
5
  "size": "md",
@@ -37,13 +37,18 @@ const iconVariantMap = {
37
37
 
38
38
  const iconVariantKeys = Object.keys(iconVariantMap)
39
39
 
40
- export const icon = /* @__PURE__ */ Object.assign(iconFn, {
40
+ export const icon = /* @__PURE__ */ Object.assign(memo(iconFn.recipeFn), {
41
41
  __recipe__: true,
42
42
  __name__: 'icon',
43
+ __getCompoundVariantCss__: iconFn.__getCompoundVariantCss__,
43
44
  raw: (props) => props,
44
45
  variantKeys: iconVariantKeys,
45
46
  variantMap: iconVariantMap,
47
+ merge(recipe) {
48
+ return mergeRecipes(this, recipe)
49
+ },
46
50
  splitVariantProps(props) {
47
51
  return splitProps(props, iconVariantKeys)
48
52
  },
53
+ getVariantProps: iconFn.getVariantProps,
49
54
  })
@@ -1,7 +1,6 @@
1
1
  /* eslint-disable */
2
2
  import type { ConditionalValue } from '../types/index.d.mts';
3
- import type { Pretty } from '../types/helpers.d.mts';
4
- import type { DistributiveOmit } from '../types/system-types.d.mts';
3
+ import type { DistributiveOmit, Pretty } from '../types/system-types.d.mts';
5
4
 
6
5
  interface InlineCodeVariant {
7
6
 
@@ -12,7 +11,7 @@ type InlineCodeVariantMap = {
12
11
  }
13
12
 
14
13
  export type InlineCodeVariantProps = {
15
- [key in keyof InlineCodeVariant]?: ConditionalValue<InlineCodeVariant[key]>
14
+ [key in keyof InlineCodeVariant]?: ConditionalValue<InlineCodeVariant[key]> | undefined
16
15
  }
17
16
 
18
17
  export interface InlineCodeRecipe {
@@ -22,7 +21,12 @@ export interface InlineCodeRecipe {
22
21
  variantMap: InlineCodeVariantMap
23
22
  variantKeys: Array<keyof InlineCodeVariant>
24
23
  splitVariantProps<Props extends InlineCodeVariantProps>(props: Props): [InlineCodeVariantProps, Pretty<DistributiveOmit<Props, keyof InlineCodeVariantProps>>]
24
+ getVariantProps: (props?: InlineCodeVariantProps) => InlineCodeVariantProps
25
25
  }
26
26
 
27
- /** Typography - InlineCode style */
27
+ /**
28
+ * Typography - InlineCode style
29
+
30
+
31
+ */
28
32
  export declare const inlineCode: InlineCodeRecipe
@@ -1,5 +1,5 @@
1
- import { splitProps } from '../helpers.mjs';
2
- import { createRecipe } from './create-recipe.mjs';
1
+ import { memo, splitProps } from '../helpers.mjs';
2
+ import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
3
 
4
4
  const inlineCodeFn = /* @__PURE__ */ createRecipe('inlineCode', {}, [])
5
5
 
@@ -7,13 +7,18 @@ const inlineCodeVariantMap = {}
7
7
 
8
8
  const inlineCodeVariantKeys = Object.keys(inlineCodeVariantMap)
9
9
 
10
- export const inlineCode = /* @__PURE__ */ Object.assign(inlineCodeFn, {
10
+ export const inlineCode = /* @__PURE__ */ Object.assign(memo(inlineCodeFn.recipeFn), {
11
11
  __recipe__: true,
12
12
  __name__: 'inlineCode',
13
+ __getCompoundVariantCss__: inlineCodeFn.__getCompoundVariantCss__,
13
14
  raw: (props) => props,
14
15
  variantKeys: inlineCodeVariantKeys,
15
16
  variantMap: inlineCodeVariantMap,
17
+ merge(recipe) {
18
+ return mergeRecipes(this, recipe)
19
+ },
16
20
  splitVariantProps(props) {
17
21
  return splitProps(props, inlineCodeVariantKeys)
18
22
  },
23
+ getVariantProps: inlineCodeFn.getVariantProps,
19
24
  })
@@ -1,7 +1,6 @@
1
1
  /* eslint-disable */
2
2
  import type { ConditionalValue } from '../types/index.d.mts';
3
- import type { Pretty } from '../types/helpers.d.mts';
4
- import type { DistributiveOmit } from '../types/system-types.d.mts';
3
+ import type { DistributiveOmit, Pretty } from '../types/system-types.d.mts';
5
4
 
6
5
  interface InputVariant {
7
6
 
@@ -12,7 +11,7 @@ type InputVariantMap = {
12
11
  }
13
12
 
14
13
  export type InputVariantProps = {
15
- [key in keyof InputVariant]?: ConditionalValue<InputVariant[key]>
14
+ [key in keyof InputVariant]?: ConditionalValue<InputVariant[key]> | undefined
16
15
  }
17
16
 
18
17
  export interface InputRecipe {
@@ -22,7 +21,12 @@ export interface InputRecipe {
22
21
  variantMap: InputVariantMap
23
22
  variantKeys: Array<keyof InputVariant>
24
23
  splitVariantProps<Props extends InputVariantProps>(props: Props): [InputVariantProps, Pretty<DistributiveOmit<Props, keyof InputVariantProps>>]
24
+ getVariantProps: (props?: InputVariantProps) => InputVariantProps
25
25
  }
26
26
 
27
- /** Styles for the Input component */
27
+ /**
28
+ * Styles for the Input component
29
+
30
+
31
+ */
28
32
  export declare const input: InputRecipe
@@ -1,5 +1,5 @@
1
- import { splitProps } from '../helpers.mjs';
2
- import { createRecipe } from './create-recipe.mjs';
1
+ import { memo, splitProps } from '../helpers.mjs';
2
+ import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
3
 
4
4
  const inputFn = /* @__PURE__ */ createRecipe('input', {}, [])
5
5
 
@@ -7,13 +7,18 @@ const inputVariantMap = {}
7
7
 
8
8
  const inputVariantKeys = Object.keys(inputVariantMap)
9
9
 
10
- export const input = /* @__PURE__ */ Object.assign(inputFn, {
10
+ export const input = /* @__PURE__ */ Object.assign(memo(inputFn.recipeFn), {
11
11
  __recipe__: true,
12
12
  __name__: 'input',
13
+ __getCompoundVariantCss__: inputFn.__getCompoundVariantCss__,
13
14
  raw: (props) => props,
14
15
  variantKeys: inputVariantKeys,
15
16
  variantMap: inputVariantMap,
17
+ merge(recipe) {
18
+ return mergeRecipes(this, recipe)
19
+ },
16
20
  splitVariantProps(props) {
17
21
  return splitProps(props, inputVariantKeys)
18
22
  },
23
+ getVariantProps: inputFn.getVariantProps,
19
24
  })
@@ -1,7 +1,6 @@
1
1
  /* eslint-disable */
2
2
  import type { ConditionalValue } from '../types/index.d.mts';
3
- import type { Pretty } from '../types/helpers.d.mts';
4
- import type { DistributiveOmit } from '../types/system-types.d.mts';
3
+ import type { DistributiveOmit, Pretty } from '../types/system-types.d.mts';
5
4
 
6
5
  interface LabelVariant {
7
6
 
@@ -12,7 +11,7 @@ type LabelVariantMap = {
12
11
  }
13
12
 
14
13
  export type LabelVariantProps = {
15
- [key in keyof LabelVariant]?: ConditionalValue<LabelVariant[key]>
14
+ [key in keyof LabelVariant]?: ConditionalValue<LabelVariant[key]> | undefined
16
15
  }
17
16
 
18
17
  export interface LabelRecipe {
@@ -22,7 +21,12 @@ export interface LabelRecipe {
22
21
  variantMap: LabelVariantMap
23
22
  variantKeys: Array<keyof LabelVariant>
24
23
  splitVariantProps<Props extends LabelVariantProps>(props: Props): [LabelVariantProps, Pretty<DistributiveOmit<Props, keyof LabelVariantProps>>]
24
+ getVariantProps: (props?: LabelVariantProps) => LabelVariantProps
25
25
  }
26
26
 
27
- /** Styles for the Label component */
27
+ /**
28
+ * Styles for the Label component
29
+
30
+
31
+ */
28
32
  export declare const label: LabelRecipe
@@ -1,5 +1,5 @@
1
- import { splitProps } from '../helpers.mjs';
2
- import { createRecipe } from './create-recipe.mjs';
1
+ import { memo, splitProps } from '../helpers.mjs';
2
+ import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
3
 
4
4
  const labelFn = /* @__PURE__ */ createRecipe('label', {}, [])
5
5
 
@@ -7,13 +7,18 @@ const labelVariantMap = {}
7
7
 
8
8
  const labelVariantKeys = Object.keys(labelVariantMap)
9
9
 
10
- export const label = /* @__PURE__ */ Object.assign(labelFn, {
10
+ export const label = /* @__PURE__ */ Object.assign(memo(labelFn.recipeFn), {
11
11
  __recipe__: true,
12
12
  __name__: 'label',
13
+ __getCompoundVariantCss__: labelFn.__getCompoundVariantCss__,
13
14
  raw: (props) => props,
14
15
  variantKeys: labelVariantKeys,
15
16
  variantMap: labelVariantMap,
17
+ merge(recipe) {
18
+ return mergeRecipes(this, recipe)
19
+ },
16
20
  splitVariantProps(props) {
17
21
  return splitProps(props, labelVariantKeys)
18
22
  },
23
+ getVariantProps: labelFn.getVariantProps,
19
24
  })
@@ -1,7 +1,6 @@
1
1
  /* eslint-disable */
2
2
  import type { ConditionalValue } from '../types/index.d.mts';
3
- import type { Pretty } from '../types/helpers.d.mts';
4
- import type { DistributiveOmit } from '../types/system-types.d.mts';
3
+ import type { DistributiveOmit, Pretty } from '../types/system-types.d.mts';
5
4
 
6
5
  interface LargeVariant {
7
6
 
@@ -12,7 +11,7 @@ type LargeVariantMap = {
12
11
  }
13
12
 
14
13
  export type LargeVariantProps = {
15
- [key in keyof LargeVariant]?: ConditionalValue<LargeVariant[key]>
14
+ [key in keyof LargeVariant]?: ConditionalValue<LargeVariant[key]> | undefined
16
15
  }
17
16
 
18
17
  export interface LargeRecipe {
@@ -22,7 +21,12 @@ export interface LargeRecipe {
22
21
  variantMap: LargeVariantMap
23
22
  variantKeys: Array<keyof LargeVariant>
24
23
  splitVariantProps<Props extends LargeVariantProps>(props: Props): [LargeVariantProps, Pretty<DistributiveOmit<Props, keyof LargeVariantProps>>]
24
+ getVariantProps: (props?: LargeVariantProps) => LargeVariantProps
25
25
  }
26
26
 
27
- /** Typography - Large style */
27
+ /**
28
+ * Typography - Large style
29
+
30
+
31
+ */
28
32
  export declare const large: LargeRecipe
@@ -1,5 +1,5 @@
1
- import { splitProps } from '../helpers.mjs';
2
- import { createRecipe } from './create-recipe.mjs';
1
+ import { memo, splitProps } from '../helpers.mjs';
2
+ import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
3
 
4
4
  const largeFn = /* @__PURE__ */ createRecipe('large', {}, [])
5
5
 
@@ -7,13 +7,18 @@ const largeVariantMap = {}
7
7
 
8
8
  const largeVariantKeys = Object.keys(largeVariantMap)
9
9
 
10
- export const large = /* @__PURE__ */ Object.assign(largeFn, {
10
+ export const large = /* @__PURE__ */ Object.assign(memo(largeFn.recipeFn), {
11
11
  __recipe__: true,
12
12
  __name__: 'large',
13
+ __getCompoundVariantCss__: largeFn.__getCompoundVariantCss__,
13
14
  raw: (props) => props,
14
15
  variantKeys: largeVariantKeys,
15
16
  variantMap: largeVariantMap,
17
+ merge(recipe) {
18
+ return mergeRecipes(this, recipe)
19
+ },
16
20
  splitVariantProps(props) {
17
21
  return splitProps(props, largeVariantKeys)
18
22
  },
23
+ getVariantProps: largeFn.getVariantProps,
19
24
  })
@@ -1,7 +1,6 @@
1
1
  /* eslint-disable */
2
2
  import type { ConditionalValue } from '../types/index.d.mts';
3
- import type { Pretty } from '../types/helpers.d.mts';
4
- import type { DistributiveOmit } from '../types/system-types.d.mts';
3
+ import type { DistributiveOmit, Pretty } from '../types/system-types.d.mts';
5
4
 
6
5
  interface LeadVariant {
7
6
 
@@ -12,7 +11,7 @@ type LeadVariantMap = {
12
11
  }
13
12
 
14
13
  export type LeadVariantProps = {
15
- [key in keyof LeadVariant]?: ConditionalValue<LeadVariant[key]>
14
+ [key in keyof LeadVariant]?: ConditionalValue<LeadVariant[key]> | undefined
16
15
  }
17
16
 
18
17
  export interface LeadRecipe {
@@ -22,7 +21,12 @@ export interface LeadRecipe {
22
21
  variantMap: LeadVariantMap
23
22
  variantKeys: Array<keyof LeadVariant>
24
23
  splitVariantProps<Props extends LeadVariantProps>(props: Props): [LeadVariantProps, Pretty<DistributiveOmit<Props, keyof LeadVariantProps>>]
24
+ getVariantProps: (props?: LeadVariantProps) => LeadVariantProps
25
25
  }
26
26
 
27
- /** Typography - Lead style */
27
+ /**
28
+ * Typography - Lead style
29
+
30
+
31
+ */
28
32
  export declare const lead: LeadRecipe
@@ -1,5 +1,5 @@
1
- import { splitProps } from '../helpers.mjs';
2
- import { createRecipe } from './create-recipe.mjs';
1
+ import { memo, splitProps } from '../helpers.mjs';
2
+ import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
3
 
4
4
  const leadFn = /* @__PURE__ */ createRecipe('lead', {}, [])
5
5
 
@@ -7,13 +7,18 @@ const leadVariantMap = {}
7
7
 
8
8
  const leadVariantKeys = Object.keys(leadVariantMap)
9
9
 
10
- export const lead = /* @__PURE__ */ Object.assign(leadFn, {
10
+ export const lead = /* @__PURE__ */ Object.assign(memo(leadFn.recipeFn), {
11
11
  __recipe__: true,
12
12
  __name__: 'lead',
13
+ __getCompoundVariantCss__: leadFn.__getCompoundVariantCss__,
13
14
  raw: (props) => props,
14
15
  variantKeys: leadVariantKeys,
15
16
  variantMap: leadVariantMap,
17
+ merge(recipe) {
18
+ return mergeRecipes(this, recipe)
19
+ },
16
20
  splitVariantProps(props) {
17
21
  return splitProps(props, leadVariantKeys)
18
22
  },
23
+ getVariantProps: leadFn.getVariantProps,
19
24
  })
@@ -1,7 +1,6 @@
1
1
  /* eslint-disable */
2
2
  import type { ConditionalValue } from '../types/index.d.mts';
3
- import type { Pretty } from '../types/helpers.d.mts';
4
- import type { DistributiveOmit } from '../types/system-types.d.mts';
3
+ import type { DistributiveOmit, Pretty } from '../types/system-types.d.mts';
5
4
 
6
5
  interface LinkVariant {
7
6
 
@@ -12,7 +11,7 @@ type LinkVariantMap = {
12
11
  }
13
12
 
14
13
  export type LinkVariantProps = {
15
- [key in keyof LinkVariant]?: ConditionalValue<LinkVariant[key]>
14
+ [key in keyof LinkVariant]?: ConditionalValue<LinkVariant[key]> | undefined
16
15
  }
17
16
 
18
17
  export interface LinkRecipe {
@@ -22,7 +21,12 @@ export interface LinkRecipe {
22
21
  variantMap: LinkVariantMap
23
22
  variantKeys: Array<keyof LinkVariant>
24
23
  splitVariantProps<Props extends LinkVariantProps>(props: Props): [LinkVariantProps, Pretty<DistributiveOmit<Props, keyof LinkVariantProps>>]
24
+ getVariantProps: (props?: LinkVariantProps) => LinkVariantProps
25
25
  }
26
26
 
27
- /** Typography - Link style */
27
+ /**
28
+ * Typography - Link style
29
+
30
+
31
+ */
28
32
  export declare const link: LinkRecipe
@@ -1,5 +1,5 @@
1
- import { splitProps } from '../helpers.mjs';
2
- import { createRecipe } from './create-recipe.mjs';
1
+ import { memo, splitProps } from '../helpers.mjs';
2
+ import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
3
 
4
4
  const linkFn = /* @__PURE__ */ createRecipe('link', {}, [])
5
5
 
@@ -7,13 +7,18 @@ const linkVariantMap = {}
7
7
 
8
8
  const linkVariantKeys = Object.keys(linkVariantMap)
9
9
 
10
- export const link = /* @__PURE__ */ Object.assign(linkFn, {
10
+ export const link = /* @__PURE__ */ Object.assign(memo(linkFn.recipeFn), {
11
11
  __recipe__: true,
12
12
  __name__: 'link',
13
+ __getCompoundVariantCss__: linkFn.__getCompoundVariantCss__,
13
14
  raw: (props) => props,
14
15
  variantKeys: linkVariantKeys,
15
16
  variantMap: linkVariantMap,
17
+ merge(recipe) {
18
+ return mergeRecipes(this, recipe)
19
+ },
16
20
  splitVariantProps(props) {
17
21
  return splitProps(props, linkVariantKeys)
18
22
  },
23
+ getVariantProps: linkFn.getVariantProps,
19
24
  })