@luxonis/depthai-pipeline-lib 1.4.8

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 (240) hide show
  1. package/LICENSE.md +1 -0
  2. package/README.md +14 -0
  3. package/dist/index.css +3 -0
  4. package/dist/panda.css +1474 -0
  5. package/dist/src/components/Node.d.ts +5 -0
  6. package/dist/src/components/Node.js +42 -0
  7. package/dist/src/components/PipelineCanvas.d.ts +7 -0
  8. package/dist/src/components/PipelineCanvas.js +56 -0
  9. package/dist/src/index.d.ts +4 -0
  10. package/dist/src/index.js +2 -0
  11. package/dist/src/services/pipeline.d.ts +51 -0
  12. package/dist/src/services/pipeline.js +40 -0
  13. package/dist/src/styled-system/chunks/src__components__Node.css +195 -0
  14. package/dist/src/styled-system/chunks/src__components__PipelineCanvas.css +25 -0
  15. package/dist/src/styled-system/css/conditions.mjs +34 -0
  16. package/dist/src/styled-system/css/css.d.mts +9 -0
  17. package/dist/src/styled-system/css/css.mjs +44 -0
  18. package/dist/src/styled-system/css/cva.d.mts +6 -0
  19. package/dist/src/styled-system/css/cva.mjs +63 -0
  20. package/dist/src/styled-system/css/cx.d.mts +5 -0
  21. package/dist/src/styled-system/css/cx.mjs +15 -0
  22. package/dist/src/styled-system/css/index.d.mts +5 -0
  23. package/dist/src/styled-system/css/index.mjs +4 -0
  24. package/dist/src/styled-system/css/sva.d.mts +4 -0
  25. package/dist/src/styled-system/css/sva.mjs +35 -0
  26. package/dist/src/styled-system/global.css +70 -0
  27. package/dist/src/styled-system/helpers.mjs +282 -0
  28. package/dist/src/styled-system/patterns/aspect-ratio.d.mts +21 -0
  29. package/dist/src/styled-system/patterns/aspect-ratio.mjs +35 -0
  30. package/dist/src/styled-system/patterns/bleed.d.mts +22 -0
  31. package/dist/src/styled-system/patterns/bleed.mjs +19 -0
  32. package/dist/src/styled-system/patterns/box.d.mts +21 -0
  33. package/dist/src/styled-system/patterns/box.mjs +12 -0
  34. package/dist/src/styled-system/patterns/center.d.mts +21 -0
  35. package/dist/src/styled-system/patterns/center.mjs +18 -0
  36. package/dist/src/styled-system/patterns/circle.d.mts +21 -0
  37. package/dist/src/styled-system/patterns/circle.mjs +22 -0
  38. package/dist/src/styled-system/patterns/container.d.mts +21 -0
  39. package/dist/src/styled-system/patterns/container.mjs +18 -0
  40. package/dist/src/styled-system/patterns/divider.d.mts +23 -0
  41. package/dist/src/styled-system/patterns/divider.mjs +21 -0
  42. package/dist/src/styled-system/patterns/flex.d.mts +27 -0
  43. package/dist/src/styled-system/patterns/flex.mjs +23 -0
  44. package/dist/src/styled-system/patterns/float.d.mts +24 -0
  45. package/dist/src/styled-system/patterns/float.mjs +45 -0
  46. package/dist/src/styled-system/patterns/grid-item.d.mts +26 -0
  47. package/dist/src/styled-system/patterns/grid-item.mjs +22 -0
  48. package/dist/src/styled-system/patterns/grid.d.mts +25 -0
  49. package/dist/src/styled-system/patterns/grid.mjs +20 -0
  50. package/dist/src/styled-system/patterns/hstack.d.mts +22 -0
  51. package/dist/src/styled-system/patterns/hstack.mjs +20 -0
  52. package/dist/src/styled-system/patterns/index.d.mts +21 -0
  53. package/dist/src/styled-system/patterns/index.mjs +20 -0
  54. package/dist/src/styled-system/patterns/link-box.d.mts +21 -0
  55. package/dist/src/styled-system/patterns/link-box.mjs +19 -0
  56. package/dist/src/styled-system/patterns/link-overlay.d.mts +21 -0
  57. package/dist/src/styled-system/patterns/link-overlay.mjs +24 -0
  58. package/dist/src/styled-system/patterns/spacer.d.mts +21 -0
  59. package/dist/src/styled-system/patterns/spacer.mjs +18 -0
  60. package/dist/src/styled-system/patterns/square.d.mts +21 -0
  61. package/dist/src/styled-system/patterns/square.mjs +21 -0
  62. package/dist/src/styled-system/patterns/stack.d.mts +24 -0
  63. package/dist/src/styled-system/patterns/stack.mjs +20 -0
  64. package/dist/src/styled-system/patterns/visually-hidden.d.mts +21 -0
  65. package/dist/src/styled-system/patterns/visually-hidden.mjs +15 -0
  66. package/dist/src/styled-system/patterns/vstack.d.mts +22 -0
  67. package/dist/src/styled-system/patterns/vstack.mjs +20 -0
  68. package/dist/src/styled-system/patterns/wrap.d.mts +25 -0
  69. package/dist/src/styled-system/patterns/wrap.mjs +22 -0
  70. package/dist/src/styled-system/recipes/accordion.d.mts +28 -0
  71. package/dist/src/styled-system/recipes/accordion.mjs +46 -0
  72. package/dist/src/styled-system/recipes/alert-description.d.mts +28 -0
  73. package/dist/src/styled-system/recipes/alert-description.mjs +19 -0
  74. package/dist/src/styled-system/recipes/alert-dialog.d.mts +28 -0
  75. package/dist/src/styled-system/recipes/alert-dialog.mjs +70 -0
  76. package/dist/src/styled-system/recipes/alert-title.d.mts +28 -0
  77. package/dist/src/styled-system/recipes/alert-title.mjs +19 -0
  78. package/dist/src/styled-system/recipes/alert.d.mts +28 -0
  79. package/dist/src/styled-system/recipes/alert.mjs +26 -0
  80. package/dist/src/styled-system/recipes/avatar.d.mts +28 -0
  81. package/dist/src/styled-system/recipes/avatar.mjs +38 -0
  82. package/dist/src/styled-system/recipes/badge.d.mts +28 -0
  83. package/dist/src/styled-system/recipes/badge.mjs +28 -0
  84. package/dist/src/styled-system/recipes/blockquote.d.mts +28 -0
  85. package/dist/src/styled-system/recipes/blockquote.mjs +19 -0
  86. package/dist/src/styled-system/recipes/button.d.mts +29 -0
  87. package/dist/src/styled-system/recipes/button.mjs +37 -0
  88. package/dist/src/styled-system/recipes/calendar.d.mts +28 -0
  89. package/dist/src/styled-system/recipes/calendar.mjs +118 -0
  90. package/dist/src/styled-system/recipes/card-content.d.mts +28 -0
  91. package/dist/src/styled-system/recipes/card-content.mjs +19 -0
  92. package/dist/src/styled-system/recipes/card-description.d.mts +28 -0
  93. package/dist/src/styled-system/recipes/card-description.mjs +19 -0
  94. package/dist/src/styled-system/recipes/card-footer.d.mts +28 -0
  95. package/dist/src/styled-system/recipes/card-footer.mjs +19 -0
  96. package/dist/src/styled-system/recipes/card-header.d.mts +28 -0
  97. package/dist/src/styled-system/recipes/card-header.mjs +19 -0
  98. package/dist/src/styled-system/recipes/card-title.d.mts +28 -0
  99. package/dist/src/styled-system/recipes/card-title.mjs +19 -0
  100. package/dist/src/styled-system/recipes/card.d.mts +28 -0
  101. package/dist/src/styled-system/recipes/card.mjs +19 -0
  102. package/dist/src/styled-system/recipes/checkbox.d.mts +28 -0
  103. package/dist/src/styled-system/recipes/checkbox.mjs +34 -0
  104. package/dist/src/styled-system/recipes/collapsible.d.mts +28 -0
  105. package/dist/src/styled-system/recipes/collapsible.mjs +38 -0
  106. package/dist/src/styled-system/recipes/command-dialog.d.mts +28 -0
  107. package/dist/src/styled-system/recipes/command-dialog.mjs +34 -0
  108. package/dist/src/styled-system/recipes/command.d.mts +28 -0
  109. package/dist/src/styled-system/recipes/command.mjs +66 -0
  110. package/dist/src/styled-system/recipes/context-menu.d.mts +28 -0
  111. package/dist/src/styled-system/recipes/context-menu.mjs +98 -0
  112. package/dist/src/styled-system/recipes/create-recipe.d.mts +1 -0
  113. package/dist/src/styled-system/recipes/create-recipe.mjs +50 -0
  114. package/dist/src/styled-system/recipes/dialog.d.mts +28 -0
  115. package/dist/src/styled-system/recipes/dialog.mjs +66 -0
  116. package/dist/src/styled-system/recipes/dropdown-menu.d.mts +28 -0
  117. package/dist/src/styled-system/recipes/dropdown-menu.mjs +90 -0
  118. package/dist/src/styled-system/recipes/form-control.d.mts +28 -0
  119. package/dist/src/styled-system/recipes/form-control.mjs +19 -0
  120. package/dist/src/styled-system/recipes/form-description.d.mts +28 -0
  121. package/dist/src/styled-system/recipes/form-description.mjs +19 -0
  122. package/dist/src/styled-system/recipes/form-item.d.mts +28 -0
  123. package/dist/src/styled-system/recipes/form-item.mjs +19 -0
  124. package/dist/src/styled-system/recipes/form-label.d.mts +28 -0
  125. package/dist/src/styled-system/recipes/form-label.mjs +19 -0
  126. package/dist/src/styled-system/recipes/form-message.d.mts +28 -0
  127. package/dist/src/styled-system/recipes/form-message.mjs +19 -0
  128. package/dist/src/styled-system/recipes/h1.d.mts +28 -0
  129. package/dist/src/styled-system/recipes/h1.mjs +19 -0
  130. package/dist/src/styled-system/recipes/h2.d.mts +28 -0
  131. package/dist/src/styled-system/recipes/h2.mjs +19 -0
  132. package/dist/src/styled-system/recipes/h3.d.mts +28 -0
  133. package/dist/src/styled-system/recipes/h3.mjs +19 -0
  134. package/dist/src/styled-system/recipes/h4.d.mts +28 -0
  135. package/dist/src/styled-system/recipes/h4.mjs +19 -0
  136. package/dist/src/styled-system/recipes/hover-card.d.mts +28 -0
  137. package/dist/src/styled-system/recipes/hover-card.mjs +38 -0
  138. package/dist/src/styled-system/recipes/icon.d.mts +32 -0
  139. package/dist/src/styled-system/recipes/icon.mjs +49 -0
  140. package/dist/src/styled-system/recipes/index.d.mts +74 -0
  141. package/dist/src/styled-system/recipes/index.mjs +73 -0
  142. package/dist/src/styled-system/recipes/inline-code.d.mts +28 -0
  143. package/dist/src/styled-system/recipes/inline-code.mjs +19 -0
  144. package/dist/src/styled-system/recipes/input.d.mts +28 -0
  145. package/dist/src/styled-system/recipes/input.mjs +19 -0
  146. package/dist/src/styled-system/recipes/label.d.mts +28 -0
  147. package/dist/src/styled-system/recipes/label.mjs +19 -0
  148. package/dist/src/styled-system/recipes/large.d.mts +28 -0
  149. package/dist/src/styled-system/recipes/large.mjs +19 -0
  150. package/dist/src/styled-system/recipes/lead.d.mts +28 -0
  151. package/dist/src/styled-system/recipes/lead.mjs +19 -0
  152. package/dist/src/styled-system/recipes/link.d.mts +28 -0
  153. package/dist/src/styled-system/recipes/link.mjs +19 -0
  154. package/dist/src/styled-system/recipes/list.d.mts +28 -0
  155. package/dist/src/styled-system/recipes/list.mjs +19 -0
  156. package/dist/src/styled-system/recipes/menubar.d.mts +28 -0
  157. package/dist/src/styled-system/recipes/menubar.mjs +94 -0
  158. package/dist/src/styled-system/recipes/muted.d.mts +28 -0
  159. package/dist/src/styled-system/recipes/muted.mjs +19 -0
  160. package/dist/src/styled-system/recipes/navigation-menu.d.mts +28 -0
  161. package/dist/src/styled-system/recipes/navigation-menu.mjs +62 -0
  162. package/dist/src/styled-system/recipes/p.d.mts +28 -0
  163. package/dist/src/styled-system/recipes/p.mjs +19 -0
  164. package/dist/src/styled-system/recipes/popover.d.mts +28 -0
  165. package/dist/src/styled-system/recipes/popover.mjs +42 -0
  166. package/dist/src/styled-system/recipes/progress.d.mts +28 -0
  167. package/dist/src/styled-system/recipes/progress.mjs +34 -0
  168. package/dist/src/styled-system/recipes/radio-group.d.mts +28 -0
  169. package/dist/src/styled-system/recipes/radio-group.mjs +42 -0
  170. package/dist/src/styled-system/recipes/scroll-area.d.mts +28 -0
  171. package/dist/src/styled-system/recipes/scroll-area.mjs +46 -0
  172. package/dist/src/styled-system/recipes/select.d.mts +28 -0
  173. package/dist/src/styled-system/recipes/select.mjs +66 -0
  174. package/dist/src/styled-system/recipes/separator.d.mts +28 -0
  175. package/dist/src/styled-system/recipes/separator.mjs +26 -0
  176. package/dist/src/styled-system/recipes/sheet.d.mts +28 -0
  177. package/dist/src/styled-system/recipes/sheet.mjs +81 -0
  178. package/dist/src/styled-system/recipes/skeleton.d.mts +28 -0
  179. package/dist/src/styled-system/recipes/skeleton.mjs +19 -0
  180. package/dist/src/styled-system/recipes/slider.d.mts +28 -0
  181. package/dist/src/styled-system/recipes/slider.mjs +42 -0
  182. package/dist/src/styled-system/recipes/small.d.mts +28 -0
  183. package/dist/src/styled-system/recipes/small.mjs +19 -0
  184. package/dist/src/styled-system/recipes/switch-recipe.d.mts +28 -0
  185. package/dist/src/styled-system/recipes/switch-recipe.mjs +34 -0
  186. package/dist/src/styled-system/recipes/table-body.d.mts +28 -0
  187. package/dist/src/styled-system/recipes/table-body.mjs +19 -0
  188. package/dist/src/styled-system/recipes/table-caption.d.mts +28 -0
  189. package/dist/src/styled-system/recipes/table-caption.mjs +19 -0
  190. package/dist/src/styled-system/recipes/table-cell.d.mts +28 -0
  191. package/dist/src/styled-system/recipes/table-cell.mjs +19 -0
  192. package/dist/src/styled-system/recipes/table-container.d.mts +28 -0
  193. package/dist/src/styled-system/recipes/table-container.mjs +19 -0
  194. package/dist/src/styled-system/recipes/table-footer.d.mts +28 -0
  195. package/dist/src/styled-system/recipes/table-footer.mjs +19 -0
  196. package/dist/src/styled-system/recipes/table-head.d.mts +28 -0
  197. package/dist/src/styled-system/recipes/table-head.mjs +19 -0
  198. package/dist/src/styled-system/recipes/table-header.d.mts +28 -0
  199. package/dist/src/styled-system/recipes/table-header.mjs +19 -0
  200. package/dist/src/styled-system/recipes/table-row.d.mts +28 -0
  201. package/dist/src/styled-system/recipes/table-row.mjs +19 -0
  202. package/dist/src/styled-system/recipes/table.d.mts +28 -0
  203. package/dist/src/styled-system/recipes/table.mjs +19 -0
  204. package/dist/src/styled-system/recipes/tabs.d.mts +28 -0
  205. package/dist/src/styled-system/recipes/tabs.mjs +42 -0
  206. package/dist/src/styled-system/recipes/textarea.d.mts +28 -0
  207. package/dist/src/styled-system/recipes/textarea.mjs +19 -0
  208. package/dist/src/styled-system/recipes/toast-viewport.d.mts +28 -0
  209. package/dist/src/styled-system/recipes/toast-viewport.mjs +19 -0
  210. package/dist/src/styled-system/recipes/toast.d.mts +28 -0
  211. package/dist/src/styled-system/recipes/toast.mjs +59 -0
  212. package/dist/src/styled-system/recipes/toggle.d.mts +29 -0
  213. package/dist/src/styled-system/recipes/toggle.mjs +32 -0
  214. package/dist/src/styled-system/recipes/tooltip.d.mts +28 -0
  215. package/dist/src/styled-system/recipes/tooltip.mjs +38 -0
  216. package/dist/src/styled-system/recipes/typography-table-container.d.mts +28 -0
  217. package/dist/src/styled-system/recipes/typography-table-container.mjs +19 -0
  218. package/dist/src/styled-system/recipes/typography-table.d.mts +28 -0
  219. package/dist/src/styled-system/recipes/typography-table.mjs +19 -0
  220. package/dist/src/styled-system/reset.css +206 -0
  221. package/dist/src/styled-system/static.css +320 -0
  222. package/dist/src/styled-system/tokens/index.css +620 -0
  223. package/dist/src/styled-system/tokens/index.d.mts +9 -0
  224. package/dist/src/styled-system/tokens/index.mjs +2680 -0
  225. package/dist/src/styled-system/tokens/keyframes.css +56 -0
  226. package/dist/src/styled-system/tokens/tokens.d.mts +63 -0
  227. package/dist/src/styled-system/types/composition.d.mts +111 -0
  228. package/dist/src/styled-system/types/conditions.d.mts +266 -0
  229. package/dist/src/styled-system/types/csstype.d.mts +20749 -0
  230. package/dist/src/styled-system/types/global.d.mts +19 -0
  231. package/dist/src/styled-system/types/helpers.d.mts +2 -0
  232. package/dist/src/styled-system/types/index.d.mts +8 -0
  233. package/dist/src/styled-system/types/parts.d.mts +6 -0
  234. package/dist/src/styled-system/types/pattern.d.mts +61 -0
  235. package/dist/src/styled-system/types/prop-type.d.mts +340 -0
  236. package/dist/src/styled-system/types/recipe.d.mts +148 -0
  237. package/dist/src/styled-system/types/selectors.d.mts +59 -0
  238. package/dist/src/styled-system/types/style-props.d.mts +687 -0
  239. package/dist/src/styled-system/types/system-types.d.mts +85 -0
  240. package/package.json +63 -0
@@ -0,0 +1,25 @@
1
+ /* eslint-disable */
2
+ import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
3
+ import type { Properties } from '../types/csstype.d.mts';
4
+ import type { PropertyValue } from '../types/prop-type.d.mts';
5
+ import type { DistributiveOmit } from '../types/system-types.d.mts';
6
+ import type { Tokens } from '../tokens/index.d.mts';
7
+
8
+ export interface WrapProperties {
9
+ gap?: PropertyValue<'gap'>
10
+ rowGap?: PropertyValue<'gap'>
11
+ columnGap?: PropertyValue<'gap'>
12
+ align?: PropertyValue<'alignItems'>
13
+ justify?: PropertyValue<'justifyContent'>
14
+ }
15
+
16
+
17
+ interface WrapStyles extends WrapProperties, DistributiveOmit<SystemStyleObject, keyof WrapProperties > {}
18
+
19
+ interface WrapPatternFn {
20
+ (styles?: WrapStyles): string
21
+ raw: (styles?: WrapStyles) => SystemStyleObject
22
+ }
23
+
24
+
25
+ export declare const wrap: WrapPatternFn;
@@ -0,0 +1,22 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
4
+ const wrapConfig = {
5
+ transform(props) {
6
+ const { columnGap, rowGap, gap = columnGap || rowGap ? void 0 : "10px", align, justify, ...rest } = props;
7
+ return {
8
+ display: "flex",
9
+ flexWrap: "wrap",
10
+ alignItems: align,
11
+ justifyContent: justify,
12
+ gap,
13
+ columnGap,
14
+ rowGap,
15
+ ...rest
16
+ };
17
+ }}
18
+
19
+ export const getWrapStyle = (styles = {}) => wrapConfig.transform(styles, { map: mapObject })
20
+
21
+ export const wrap = (styles) => css(getWrapStyle(styles))
22
+ wrap.raw = getWrapStyle
@@ -0,0 +1,28 @@
1
+ /* eslint-disable */
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';
5
+
6
+ interface AccordionVariant {
7
+
8
+ }
9
+
10
+ type AccordionVariantMap = {
11
+ [key in keyof AccordionVariant]: Array<AccordionVariant[key]>
12
+ }
13
+
14
+ export type AccordionVariantProps = {
15
+ [key in keyof AccordionVariant]?: ConditionalValue<AccordionVariant[key]>
16
+ }
17
+
18
+ export interface AccordionRecipe {
19
+ __type: AccordionVariantProps
20
+ (props?: AccordionVariantProps): Pretty<Record<"root" | "item" | "header" | "trigger" | "content", string>>
21
+ raw: (props?: AccordionVariantProps) => AccordionVariantProps
22
+ variantMap: AccordionVariantMap
23
+ variantKeys: Array<keyof AccordionVariant>
24
+ splitVariantProps<Props extends AccordionVariantProps>(props: Props): [AccordionVariantProps, Pretty<DistributiveOmit<Props, keyof AccordionVariantProps>>]
25
+ }
26
+
27
+ /** Styles for the Accordion component */
28
+ export declare const accordion: AccordionRecipe
@@ -0,0 +1,46 @@
1
+ import { splitProps, getSlotCompoundVariant } from '../helpers.mjs';
2
+ import { createRecipe } from './create-recipe.mjs';
3
+
4
+ const accordionDefaultVariants = {}
5
+ const accordionCompoundVariants = []
6
+
7
+ const accordionSlotNames = [
8
+ [
9
+ "root",
10
+ "accordion__root"
11
+ ],
12
+ [
13
+ "item",
14
+ "accordion__item"
15
+ ],
16
+ [
17
+ "header",
18
+ "accordion__header"
19
+ ],
20
+ [
21
+ "trigger",
22
+ "accordion__trigger"
23
+ ],
24
+ [
25
+ "content",
26
+ "accordion__content"
27
+ ]
28
+ ]
29
+ const accordionSlotFns = /* @__PURE__ */ accordionSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, accordionDefaultVariants, getSlotCompoundVariant(accordionCompoundVariants, slotName))])
30
+
31
+ const accordionFn = (props = {}) => {
32
+ return Object.fromEntries(accordionSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
33
+ }
34
+
35
+ const accordionVariantKeys = []
36
+
37
+ export const accordion = /* @__PURE__ */ Object.assign(accordionFn, {
38
+ __recipe__: false,
39
+ __name__: 'accordion',
40
+ raw: (props) => props,
41
+ variantKeys: accordionVariantKeys,
42
+ variantMap: {},
43
+ splitVariantProps(props) {
44
+ return splitProps(props, accordionVariantKeys)
45
+ },
46
+ })
@@ -0,0 +1,28 @@
1
+ /* eslint-disable */
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';
5
+
6
+ interface AlertDescriptionVariant {
7
+
8
+ }
9
+
10
+ type AlertDescriptionVariantMap = {
11
+ [key in keyof AlertDescriptionVariant]: Array<AlertDescriptionVariant[key]>
12
+ }
13
+
14
+ export type AlertDescriptionVariantProps = {
15
+ [key in keyof AlertDescriptionVariant]?: ConditionalValue<AlertDescriptionVariant[key]>
16
+ }
17
+
18
+ export interface AlertDescriptionRecipe {
19
+ __type: AlertDescriptionVariantProps
20
+ (props?: AlertDescriptionVariantProps): string
21
+ raw: (props?: AlertDescriptionVariantProps) => AlertDescriptionVariantProps
22
+ variantMap: AlertDescriptionVariantMap
23
+ variantKeys: Array<keyof AlertDescriptionVariant>
24
+ splitVariantProps<Props extends AlertDescriptionVariantProps>(props: Props): [AlertDescriptionVariantProps, Pretty<DistributiveOmit<Props, keyof AlertDescriptionVariantProps>>]
25
+ }
26
+
27
+ /** Styles for the AlertDescription component */
28
+ export declare const alertDescription: AlertDescriptionRecipe
@@ -0,0 +1,19 @@
1
+ import { splitProps } from '../helpers.mjs';
2
+ import { createRecipe } from './create-recipe.mjs';
3
+
4
+ const alertDescriptionFn = /* @__PURE__ */ createRecipe('alertDescription', {}, [])
5
+
6
+ const alertDescriptionVariantMap = {}
7
+
8
+ const alertDescriptionVariantKeys = Object.keys(alertDescriptionVariantMap)
9
+
10
+ export const alertDescription = /* @__PURE__ */ Object.assign(alertDescriptionFn, {
11
+ __recipe__: true,
12
+ __name__: 'alertDescription',
13
+ raw: (props) => props,
14
+ variantKeys: alertDescriptionVariantKeys,
15
+ variantMap: alertDescriptionVariantMap,
16
+ splitVariantProps(props) {
17
+ return splitProps(props, alertDescriptionVariantKeys)
18
+ },
19
+ })
@@ -0,0 +1,28 @@
1
+ /* eslint-disable */
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';
5
+
6
+ interface AlertDialogVariant {
7
+
8
+ }
9
+
10
+ type AlertDialogVariantMap = {
11
+ [key in keyof AlertDialogVariant]: Array<AlertDialogVariant[key]>
12
+ }
13
+
14
+ export type AlertDialogVariantProps = {
15
+ [key in keyof AlertDialogVariant]?: ConditionalValue<AlertDialogVariant[key]>
16
+ }
17
+
18
+ export interface AlertDialogRecipe {
19
+ __type: AlertDialogVariantProps
20
+ (props?: AlertDialogVariantProps): Pretty<Record<"root" | "trigger" | "portal" | "overlay" | "content" | "header" | "footer" | "title" | "description" | "action" | "cancel", string>>
21
+ raw: (props?: AlertDialogVariantProps) => AlertDialogVariantProps
22
+ variantMap: AlertDialogVariantMap
23
+ variantKeys: Array<keyof AlertDialogVariant>
24
+ splitVariantProps<Props extends AlertDialogVariantProps>(props: Props): [AlertDialogVariantProps, Pretty<DistributiveOmit<Props, keyof AlertDialogVariantProps>>]
25
+ }
26
+
27
+ /** Styles for the AlertDialog component */
28
+ export declare const alertDialog: AlertDialogRecipe
@@ -0,0 +1,70 @@
1
+ import { splitProps, getSlotCompoundVariant } from '../helpers.mjs';
2
+ import { createRecipe } from './create-recipe.mjs';
3
+
4
+ const alertDialogDefaultVariants = {}
5
+ const alertDialogCompoundVariants = []
6
+
7
+ const alertDialogSlotNames = [
8
+ [
9
+ "root",
10
+ "alertDialog__root"
11
+ ],
12
+ [
13
+ "trigger",
14
+ "alertDialog__trigger"
15
+ ],
16
+ [
17
+ "portal",
18
+ "alertDialog__portal"
19
+ ],
20
+ [
21
+ "overlay",
22
+ "alertDialog__overlay"
23
+ ],
24
+ [
25
+ "content",
26
+ "alertDialog__content"
27
+ ],
28
+ [
29
+ "header",
30
+ "alertDialog__header"
31
+ ],
32
+ [
33
+ "footer",
34
+ "alertDialog__footer"
35
+ ],
36
+ [
37
+ "title",
38
+ "alertDialog__title"
39
+ ],
40
+ [
41
+ "description",
42
+ "alertDialog__description"
43
+ ],
44
+ [
45
+ "action",
46
+ "alertDialog__action"
47
+ ],
48
+ [
49
+ "cancel",
50
+ "alertDialog__cancel"
51
+ ]
52
+ ]
53
+ const alertDialogSlotFns = /* @__PURE__ */ alertDialogSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, alertDialogDefaultVariants, getSlotCompoundVariant(alertDialogCompoundVariants, slotName))])
54
+
55
+ const alertDialogFn = (props = {}) => {
56
+ return Object.fromEntries(alertDialogSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
57
+ }
58
+
59
+ const alertDialogVariantKeys = []
60
+
61
+ export const alertDialog = /* @__PURE__ */ Object.assign(alertDialogFn, {
62
+ __recipe__: false,
63
+ __name__: 'alertDialog',
64
+ raw: (props) => props,
65
+ variantKeys: alertDialogVariantKeys,
66
+ variantMap: {},
67
+ splitVariantProps(props) {
68
+ return splitProps(props, alertDialogVariantKeys)
69
+ },
70
+ })
@@ -0,0 +1,28 @@
1
+ /* eslint-disable */
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';
5
+
6
+ interface AlertTitleVariant {
7
+
8
+ }
9
+
10
+ type AlertTitleVariantMap = {
11
+ [key in keyof AlertTitleVariant]: Array<AlertTitleVariant[key]>
12
+ }
13
+
14
+ export type AlertTitleVariantProps = {
15
+ [key in keyof AlertTitleVariant]?: ConditionalValue<AlertTitleVariant[key]>
16
+ }
17
+
18
+ export interface AlertTitleRecipe {
19
+ __type: AlertTitleVariantProps
20
+ (props?: AlertTitleVariantProps): string
21
+ raw: (props?: AlertTitleVariantProps) => AlertTitleVariantProps
22
+ variantMap: AlertTitleVariantMap
23
+ variantKeys: Array<keyof AlertTitleVariant>
24
+ splitVariantProps<Props extends AlertTitleVariantProps>(props: Props): [AlertTitleVariantProps, Pretty<DistributiveOmit<Props, keyof AlertTitleVariantProps>>]
25
+ }
26
+
27
+ /** Styles for the AlertTitle component */
28
+ export declare const alertTitle: AlertTitleRecipe
@@ -0,0 +1,19 @@
1
+ import { splitProps } from '../helpers.mjs';
2
+ import { createRecipe } from './create-recipe.mjs';
3
+
4
+ const alertTitleFn = /* @__PURE__ */ createRecipe('alertTitle', {}, [])
5
+
6
+ const alertTitleVariantMap = {}
7
+
8
+ const alertTitleVariantKeys = Object.keys(alertTitleVariantMap)
9
+
10
+ export const alertTitle = /* @__PURE__ */ Object.assign(alertTitleFn, {
11
+ __recipe__: true,
12
+ __name__: 'alertTitle',
13
+ raw: (props) => props,
14
+ variantKeys: alertTitleVariantKeys,
15
+ variantMap: alertTitleVariantMap,
16
+ splitVariantProps(props) {
17
+ return splitProps(props, alertTitleVariantKeys)
18
+ },
19
+ })
@@ -0,0 +1,28 @@
1
+ /* eslint-disable */
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';
5
+
6
+ interface AlertVariant {
7
+ variant: "default" | "destructive"
8
+ }
9
+
10
+ type AlertVariantMap = {
11
+ [key in keyof AlertVariant]: Array<AlertVariant[key]>
12
+ }
13
+
14
+ export type AlertVariantProps = {
15
+ [key in keyof AlertVariant]?: ConditionalValue<AlertVariant[key]>
16
+ }
17
+
18
+ export interface AlertRecipe {
19
+ __type: AlertVariantProps
20
+ (props?: AlertVariantProps): string
21
+ raw: (props?: AlertVariantProps) => AlertVariantProps
22
+ variantMap: AlertVariantMap
23
+ variantKeys: Array<keyof AlertVariant>
24
+ splitVariantProps<Props extends AlertVariantProps>(props: Props): [AlertVariantProps, Pretty<DistributiveOmit<Props, keyof AlertVariantProps>>]
25
+ }
26
+
27
+ /** Styles for the Alert component */
28
+ export declare const alert: AlertRecipe
@@ -0,0 +1,26 @@
1
+ import { splitProps } from '../helpers.mjs';
2
+ import { createRecipe } from './create-recipe.mjs';
3
+
4
+ const alertFn = /* @__PURE__ */ createRecipe('alert', {
5
+ "variant": "default"
6
+ }, [])
7
+
8
+ const alertVariantMap = {
9
+ "variant": [
10
+ "default",
11
+ "destructive"
12
+ ]
13
+ }
14
+
15
+ const alertVariantKeys = Object.keys(alertVariantMap)
16
+
17
+ export const alert = /* @__PURE__ */ Object.assign(alertFn, {
18
+ __recipe__: true,
19
+ __name__: 'alert',
20
+ raw: (props) => props,
21
+ variantKeys: alertVariantKeys,
22
+ variantMap: alertVariantMap,
23
+ splitVariantProps(props) {
24
+ return splitProps(props, alertVariantKeys)
25
+ },
26
+ })
@@ -0,0 +1,28 @@
1
+ /* eslint-disable */
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';
5
+
6
+ interface AvatarVariant {
7
+
8
+ }
9
+
10
+ type AvatarVariantMap = {
11
+ [key in keyof AvatarVariant]: Array<AvatarVariant[key]>
12
+ }
13
+
14
+ export type AvatarVariantProps = {
15
+ [key in keyof AvatarVariant]?: ConditionalValue<AvatarVariant[key]>
16
+ }
17
+
18
+ export interface AvatarRecipe {
19
+ __type: AvatarVariantProps
20
+ (props?: AvatarVariantProps): Pretty<Record<"root" | "image" | "fallback", string>>
21
+ raw: (props?: AvatarVariantProps) => AvatarVariantProps
22
+ variantMap: AvatarVariantMap
23
+ variantKeys: Array<keyof AvatarVariant>
24
+ splitVariantProps<Props extends AvatarVariantProps>(props: Props): [AvatarVariantProps, Pretty<DistributiveOmit<Props, keyof AvatarVariantProps>>]
25
+ }
26
+
27
+ /** Styles for the Avatar component */
28
+ export declare const avatar: AvatarRecipe
@@ -0,0 +1,38 @@
1
+ import { splitProps, getSlotCompoundVariant } from '../helpers.mjs';
2
+ import { createRecipe } from './create-recipe.mjs';
3
+
4
+ const avatarDefaultVariants = {}
5
+ const avatarCompoundVariants = []
6
+
7
+ const avatarSlotNames = [
8
+ [
9
+ "root",
10
+ "avatar__root"
11
+ ],
12
+ [
13
+ "image",
14
+ "avatar__image"
15
+ ],
16
+ [
17
+ "fallback",
18
+ "avatar__fallback"
19
+ ]
20
+ ]
21
+ const avatarSlotFns = /* @__PURE__ */ avatarSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, avatarDefaultVariants, getSlotCompoundVariant(avatarCompoundVariants, slotName))])
22
+
23
+ const avatarFn = (props = {}) => {
24
+ return Object.fromEntries(avatarSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
25
+ }
26
+
27
+ const avatarVariantKeys = []
28
+
29
+ export const avatar = /* @__PURE__ */ Object.assign(avatarFn, {
30
+ __recipe__: false,
31
+ __name__: 'avatar',
32
+ raw: (props) => props,
33
+ variantKeys: avatarVariantKeys,
34
+ variantMap: {},
35
+ splitVariantProps(props) {
36
+ return splitProps(props, avatarVariantKeys)
37
+ },
38
+ })
@@ -0,0 +1,28 @@
1
+ /* eslint-disable */
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';
5
+
6
+ interface BadgeVariant {
7
+ variant: "default" | "secondary" | "destructive" | "outline"
8
+ }
9
+
10
+ type BadgeVariantMap = {
11
+ [key in keyof BadgeVariant]: Array<BadgeVariant[key]>
12
+ }
13
+
14
+ export type BadgeVariantProps = {
15
+ [key in keyof BadgeVariant]?: ConditionalValue<BadgeVariant[key]>
16
+ }
17
+
18
+ export interface BadgeRecipe {
19
+ __type: BadgeVariantProps
20
+ (props?: BadgeVariantProps): string
21
+ raw: (props?: BadgeVariantProps) => BadgeVariantProps
22
+ variantMap: BadgeVariantMap
23
+ variantKeys: Array<keyof BadgeVariant>
24
+ splitVariantProps<Props extends BadgeVariantProps>(props: Props): [BadgeVariantProps, Pretty<DistributiveOmit<Props, keyof BadgeVariantProps>>]
25
+ }
26
+
27
+ /** Styles for the Badge component */
28
+ export declare const badge: BadgeRecipe
@@ -0,0 +1,28 @@
1
+ import { splitProps } from '../helpers.mjs';
2
+ import { createRecipe } from './create-recipe.mjs';
3
+
4
+ const badgeFn = /* @__PURE__ */ createRecipe('badge', {
5
+ "variant": "default"
6
+ }, [])
7
+
8
+ const badgeVariantMap = {
9
+ "variant": [
10
+ "default",
11
+ "secondary",
12
+ "destructive",
13
+ "outline"
14
+ ]
15
+ }
16
+
17
+ const badgeVariantKeys = Object.keys(badgeVariantMap)
18
+
19
+ export const badge = /* @__PURE__ */ Object.assign(badgeFn, {
20
+ __recipe__: true,
21
+ __name__: 'badge',
22
+ raw: (props) => props,
23
+ variantKeys: badgeVariantKeys,
24
+ variantMap: badgeVariantMap,
25
+ splitVariantProps(props) {
26
+ return splitProps(props, badgeVariantKeys)
27
+ },
28
+ })
@@ -0,0 +1,28 @@
1
+ /* eslint-disable */
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';
5
+
6
+ interface BlockquoteVariant {
7
+
8
+ }
9
+
10
+ type BlockquoteVariantMap = {
11
+ [key in keyof BlockquoteVariant]: Array<BlockquoteVariant[key]>
12
+ }
13
+
14
+ export type BlockquoteVariantProps = {
15
+ [key in keyof BlockquoteVariant]?: ConditionalValue<BlockquoteVariant[key]>
16
+ }
17
+
18
+ export interface BlockquoteRecipe {
19
+ __type: BlockquoteVariantProps
20
+ (props?: BlockquoteVariantProps): string
21
+ raw: (props?: BlockquoteVariantProps) => BlockquoteVariantProps
22
+ variantMap: BlockquoteVariantMap
23
+ variantKeys: Array<keyof BlockquoteVariant>
24
+ splitVariantProps<Props extends BlockquoteVariantProps>(props: Props): [BlockquoteVariantProps, Pretty<DistributiveOmit<Props, keyof BlockquoteVariantProps>>]
25
+ }
26
+
27
+ /** Typography - blockquote style */
28
+ export declare const blockquote: BlockquoteRecipe
@@ -0,0 +1,19 @@
1
+ import { splitProps } from '../helpers.mjs';
2
+ import { createRecipe } from './create-recipe.mjs';
3
+
4
+ const blockquoteFn = /* @__PURE__ */ createRecipe('blockquote', {}, [])
5
+
6
+ const blockquoteVariantMap = {}
7
+
8
+ const blockquoteVariantKeys = Object.keys(blockquoteVariantMap)
9
+
10
+ export const blockquote = /* @__PURE__ */ Object.assign(blockquoteFn, {
11
+ __recipe__: true,
12
+ __name__: 'blockquote',
13
+ raw: (props) => props,
14
+ variantKeys: blockquoteVariantKeys,
15
+ variantMap: blockquoteVariantMap,
16
+ splitVariantProps(props) {
17
+ return splitProps(props, blockquoteVariantKeys)
18
+ },
19
+ })
@@ -0,0 +1,29 @@
1
+ /* eslint-disable */
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';
5
+
6
+ interface ButtonVariant {
7
+ variant: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link"
8
+ size: "default" | "sm" | "lg" | "icon"
9
+ }
10
+
11
+ type ButtonVariantMap = {
12
+ [key in keyof ButtonVariant]: Array<ButtonVariant[key]>
13
+ }
14
+
15
+ export type ButtonVariantProps = {
16
+ [key in keyof ButtonVariant]?: ConditionalValue<ButtonVariant[key]>
17
+ }
18
+
19
+ export interface ButtonRecipe {
20
+ __type: ButtonVariantProps
21
+ (props?: ButtonVariantProps): string
22
+ raw: (props?: ButtonVariantProps) => ButtonVariantProps
23
+ variantMap: ButtonVariantMap
24
+ variantKeys: Array<keyof ButtonVariant>
25
+ splitVariantProps<Props extends ButtonVariantProps>(props: Props): [ButtonVariantProps, Pretty<DistributiveOmit<Props, keyof ButtonVariantProps>>]
26
+ }
27
+
28
+ /** Styles for the Button component */
29
+ export declare const button: ButtonRecipe
@@ -0,0 +1,37 @@
1
+ import { splitProps } from '../helpers.mjs';
2
+ import { createRecipe } from './create-recipe.mjs';
3
+
4
+ const buttonFn = /* @__PURE__ */ createRecipe('button', {
5
+ "variant": "default",
6
+ "size": "default"
7
+ }, [])
8
+
9
+ const buttonVariantMap = {
10
+ "variant": [
11
+ "default",
12
+ "destructive",
13
+ "outline",
14
+ "secondary",
15
+ "ghost",
16
+ "link"
17
+ ],
18
+ "size": [
19
+ "default",
20
+ "sm",
21
+ "lg",
22
+ "icon"
23
+ ]
24
+ }
25
+
26
+ const buttonVariantKeys = Object.keys(buttonVariantMap)
27
+
28
+ export const button = /* @__PURE__ */ Object.assign(buttonFn, {
29
+ __recipe__: true,
30
+ __name__: 'button',
31
+ raw: (props) => props,
32
+ variantKeys: buttonVariantKeys,
33
+ variantMap: buttonVariantMap,
34
+ splitVariantProps(props) {
35
+ return splitProps(props, buttonVariantKeys)
36
+ },
37
+ })
@@ -0,0 +1,28 @@
1
+ /* eslint-disable */
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';
5
+
6
+ interface CalendarVariant {
7
+
8
+ }
9
+
10
+ type CalendarVariantMap = {
11
+ [key in keyof CalendarVariant]: Array<CalendarVariant[key]>
12
+ }
13
+
14
+ export type CalendarVariantProps = {
15
+ [key in keyof CalendarVariant]?: ConditionalValue<CalendarVariant[key]>
16
+ }
17
+
18
+ export interface CalendarRecipe {
19
+ __type: CalendarVariantProps
20
+ (props?: CalendarVariantProps): Pretty<Record<"root" | "months" | "month" | "caption" | "caption_label" | "nav" | "nav_button" | "nav_button_previous" | "nav_button_next" | "table" | "head_row" | "head_cell" | "row" | "cell" | "day" | "day_selected" | "day_today" | "day_outside" | "day_disabled" | "day_range_start" | "day_range_middle" | "day_range_end" | "day_hidden", string>>
21
+ raw: (props?: CalendarVariantProps) => CalendarVariantProps
22
+ variantMap: CalendarVariantMap
23
+ variantKeys: Array<keyof CalendarVariant>
24
+ splitVariantProps<Props extends CalendarVariantProps>(props: Props): [CalendarVariantProps, Pretty<DistributiveOmit<Props, keyof CalendarVariantProps>>]
25
+ }
26
+
27
+ /** Styles for the Calendar component */
28
+ export declare const calendar: CalendarRecipe