@luxonis/depthai-pipeline-lib 3.4.0-rc.2 → 3.5.0

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