@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,21 +0,0 @@
1
- /* eslint-disable */
2
- export * from './box.d.mts';
3
- export * from './flex.d.mts';
4
- export * from './stack.d.mts';
5
- export * from './vstack.d.mts';
6
- export * from './hstack.d.mts';
7
- export * from './spacer.d.mts';
8
- export * from './square.d.mts';
9
- export * from './circle.d.mts';
10
- export * from './center.d.mts';
11
- export * from './link-overlay.d.mts';
12
- export * from './aspect-ratio.d.mts';
13
- export * from './grid.d.mts';
14
- export * from './grid-item.d.mts';
15
- export * from './wrap.d.mts';
16
- export * from './container.d.mts';
17
- export * from './divider.d.mts';
18
- export * from './float.d.mts';
19
- export * from './bleed.d.mts';
20
- export * from './visually-hidden.d.mts';
21
- export * from './cq.d.mts';
@@ -1,20 +0,0 @@
1
- export * from './box.mjs';
2
- export * from './flex.mjs';
3
- export * from './stack.mjs';
4
- export * from './vstack.mjs';
5
- export * from './hstack.mjs';
6
- export * from './spacer.mjs';
7
- export * from './square.mjs';
8
- export * from './circle.mjs';
9
- export * from './center.mjs';
10
- export * from './link-overlay.mjs';
11
- export * from './aspect-ratio.mjs';
12
- export * from './grid.mjs';
13
- export * from './grid-item.mjs';
14
- export * from './wrap.mjs';
15
- export * from './container.mjs';
16
- export * from './divider.mjs';
17
- export * from './float.mjs';
18
- export * from './bleed.mjs';
19
- export * from './visually-hidden.mjs';
20
- export * from './cq.mjs';
@@ -1,21 +0,0 @@
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 { SystemProperties } from '../types/style-props.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 LinkOverlayProperties {
9
-
10
- }
11
-
12
-
13
- interface LinkOverlayStyles extends LinkOverlayProperties, DistributiveOmit<SystemStyleObject, keyof LinkOverlayProperties > {}
14
-
15
- interface LinkOverlayPatternFn {
16
- (styles?: LinkOverlayStyles): string
17
- raw: (styles?: LinkOverlayStyles) => SystemStyleObject
18
- }
19
-
20
-
21
- export declare const linkOverlay: LinkOverlayPatternFn;
@@ -1,24 +0,0 @@
1
- import { getPatternStyles, patternFns } from '../helpers.mjs';
2
- import { css } from '../css/index.mjs';
3
-
4
- const linkOverlayConfig = {
5
- transform(props) {
6
- return {
7
- _before: {
8
- content: '""',
9
- position: "absolute",
10
- inset: "0",
11
- zIndex: "0",
12
- ...props["_before"]
13
- },
14
- ...props
15
- };
16
- }}
17
-
18
- export const getLinkOverlayStyle = (styles = {}) => {
19
- const _styles = getPatternStyles(linkOverlayConfig, styles)
20
- return linkOverlayConfig.transform(_styles, patternFns)
21
- }
22
-
23
- export const linkOverlay = (styles) => css(getLinkOverlayStyle(styles))
24
- linkOverlay.raw = getLinkOverlayStyle
@@ -1,21 +0,0 @@
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 { SystemProperties } from '../types/style-props.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 SpacerProperties {
9
- size?: ConditionalValue<Tokens["spacing"]>
10
- }
11
-
12
-
13
- interface SpacerStyles extends SpacerProperties, DistributiveOmit<SystemStyleObject, keyof SpacerProperties > {}
14
-
15
- interface SpacerPatternFn {
16
- (styles?: SpacerStyles): string
17
- raw: (styles?: SpacerStyles) => SystemStyleObject
18
- }
19
-
20
-
21
- export declare const spacer: SpacerPatternFn;
@@ -1,21 +0,0 @@
1
- import { getPatternStyles, patternFns } from '../helpers.mjs';
2
- import { css } from '../css/index.mjs';
3
-
4
- const spacerConfig = {
5
- transform(props, { map }) {
6
- const { size, ...rest } = props;
7
- return {
8
- alignSelf: "stretch",
9
- justifySelf: "stretch",
10
- flex: map(size, (v) => v == null ? "1" : `0 0 ${v}`),
11
- ...rest
12
- };
13
- }}
14
-
15
- export const getSpacerStyle = (styles = {}) => {
16
- const _styles = getPatternStyles(spacerConfig, styles)
17
- return spacerConfig.transform(_styles, patternFns)
18
- }
19
-
20
- export const spacer = (styles) => css(getSpacerStyle(styles))
21
- spacer.raw = getSpacerStyle
@@ -1,21 +0,0 @@
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 { SystemProperties } from '../types/style-props.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 SquareProperties {
9
- size?: SystemProperties["width"]
10
- }
11
-
12
-
13
- interface SquareStyles extends SquareProperties, DistributiveOmit<SystemStyleObject, keyof SquareProperties > {}
14
-
15
- interface SquarePatternFn {
16
- (styles?: SquareStyles): string
17
- raw: (styles?: SquareStyles) => SystemStyleObject
18
- }
19
-
20
-
21
- export declare const square: SquarePatternFn;
@@ -1,24 +0,0 @@
1
- import { getPatternStyles, patternFns } from '../helpers.mjs';
2
- import { css } from '../css/index.mjs';
3
-
4
- const squareConfig = {
5
- transform(props) {
6
- const { size, ...rest } = props;
7
- return {
8
- display: "flex",
9
- alignItems: "center",
10
- justifyContent: "center",
11
- flex: "0 0 auto",
12
- width: size,
13
- height: size,
14
- ...rest
15
- };
16
- }}
17
-
18
- export const getSquareStyle = (styles = {}) => {
19
- const _styles = getPatternStyles(squareConfig, styles)
20
- return squareConfig.transform(_styles, patternFns)
21
- }
22
-
23
- export const square = (styles) => css(getSquareStyle(styles))
24
- square.raw = getSquareStyle
@@ -1,24 +0,0 @@
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 { SystemProperties } from '../types/style-props.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 StackProperties {
9
- align?: SystemProperties["alignItems"]
10
- justify?: SystemProperties["justifyContent"]
11
- direction?: SystemProperties["flexDirection"]
12
- gap?: SystemProperties["gap"]
13
- }
14
-
15
-
16
- interface StackStyles extends StackProperties, DistributiveOmit<SystemStyleObject, keyof StackProperties > {}
17
-
18
- interface StackPatternFn {
19
- (styles?: StackStyles): string
20
- raw: (styles?: StackStyles) => SystemStyleObject
21
- }
22
-
23
-
24
- export declare const stack: StackPatternFn;
@@ -1,24 +0,0 @@
1
- import { getPatternStyles, patternFns } from '../helpers.mjs';
2
- import { css } from '../css/index.mjs';
3
-
4
- const stackConfig = {
5
- transform(props) {
6
- const { align, justify, direction, gap, ...rest } = props;
7
- return {
8
- display: "flex",
9
- flexDirection: direction,
10
- alignItems: align,
11
- justifyContent: justify,
12
- gap,
13
- ...rest
14
- };
15
- },
16
- defaultValues:{direction:'column',gap:'10px'}}
17
-
18
- export const getStackStyle = (styles = {}) => {
19
- const _styles = getPatternStyles(stackConfig, styles)
20
- return stackConfig.transform(_styles, patternFns)
21
- }
22
-
23
- export const stack = (styles) => css(getStackStyle(styles))
24
- stack.raw = getStackStyle
@@ -1,21 +0,0 @@
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 { SystemProperties } from '../types/style-props.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 VisuallyHiddenProperties {
9
-
10
- }
11
-
12
-
13
- interface VisuallyHiddenStyles extends VisuallyHiddenProperties, DistributiveOmit<SystemStyleObject, keyof VisuallyHiddenProperties > {}
14
-
15
- interface VisuallyHiddenPatternFn {
16
- (styles?: VisuallyHiddenStyles): string
17
- raw: (styles?: VisuallyHiddenStyles) => SystemStyleObject
18
- }
19
-
20
-
21
- export declare const visuallyHidden: VisuallyHiddenPatternFn;
@@ -1,18 +0,0 @@
1
- import { getPatternStyles, patternFns } from '../helpers.mjs';
2
- import { css } from '../css/index.mjs';
3
-
4
- const visuallyHiddenConfig = {
5
- transform(props) {
6
- return {
7
- srOnly: true,
8
- ...props
9
- };
10
- }}
11
-
12
- export const getVisuallyHiddenStyle = (styles = {}) => {
13
- const _styles = getPatternStyles(visuallyHiddenConfig, styles)
14
- return visuallyHiddenConfig.transform(_styles, patternFns)
15
- }
16
-
17
- export const visuallyHidden = (styles) => css(getVisuallyHiddenStyle(styles))
18
- visuallyHidden.raw = getVisuallyHiddenStyle
@@ -1,22 +0,0 @@
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 { SystemProperties } from '../types/style-props.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 VstackProperties {
9
- justify?: SystemProperties["justifyContent"]
10
- gap?: SystemProperties["gap"]
11
- }
12
-
13
-
14
- interface VstackStyles extends VstackProperties, DistributiveOmit<SystemStyleObject, keyof VstackProperties > {}
15
-
16
- interface VstackPatternFn {
17
- (styles?: VstackStyles): string
18
- raw: (styles?: VstackStyles) => SystemStyleObject
19
- }
20
-
21
-
22
- export declare const vstack: VstackPatternFn;
@@ -1,24 +0,0 @@
1
- import { getPatternStyles, patternFns } from '../helpers.mjs';
2
- import { css } from '../css/index.mjs';
3
-
4
- const vstackConfig = {
5
- transform(props) {
6
- const { justify, gap, ...rest } = props;
7
- return {
8
- display: "flex",
9
- alignItems: "center",
10
- justifyContent: justify,
11
- gap,
12
- flexDirection: "column",
13
- ...rest
14
- };
15
- },
16
- defaultValues:{gap:'10px'}}
17
-
18
- export const getVstackStyle = (styles = {}) => {
19
- const _styles = getPatternStyles(vstackConfig, styles)
20
- return vstackConfig.transform(_styles, patternFns)
21
- }
22
-
23
- export const vstack = (styles) => css(getVstackStyle(styles))
24
- vstack.raw = getVstackStyle
@@ -1,25 +0,0 @@
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 { SystemProperties } from '../types/style-props.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?: SystemProperties["gap"]
10
- rowGap?: SystemProperties["gap"]
11
- columnGap?: SystemProperties["gap"]
12
- align?: SystemProperties["alignItems"]
13
- justify?: SystemProperties["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;
@@ -1,25 +0,0 @@
1
- import { getPatternStyles, patternFns } 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 = {}) => {
20
- const _styles = getPatternStyles(wrapConfig, styles)
21
- return wrapConfig.transform(_styles, patternFns)
22
- }
23
-
24
- export const wrap = (styles) => css(getWrapStyle(styles))
25
- wrap.raw = getWrapStyle
@@ -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 AccordionVariant {
6
-
7
- }
8
-
9
- type AccordionVariantMap = {
10
- [key in keyof AccordionVariant]: Array<AccordionVariant[key]>
11
- }
12
-
13
- export type AccordionVariantProps = {
14
- [key in keyof AccordionVariant]?: ConditionalValue<AccordionVariant[key]> | undefined
15
- }
16
-
17
- export interface AccordionRecipe {
18
- __type: AccordionVariantProps
19
- (props?: AccordionVariantProps): Pretty<Record<"root" | "item" | "header" | "trigger" | "content", string>>
20
- raw: (props?: AccordionVariantProps) => AccordionVariantProps
21
- variantMap: AccordionVariantMap
22
- variantKeys: Array<keyof AccordionVariant>
23
- splitVariantProps<Props extends AccordionVariantProps>(props: Props): [AccordionVariantProps, Pretty<DistributiveOmit<Props, keyof AccordionVariantProps>>]
24
- getVariantProps: (props?: AccordionVariantProps) => AccordionVariantProps
25
- }
26
-
27
- /**
28
- * Styles for the Accordion component
29
-
30
-
31
- */
32
- export declare const accordion: AccordionRecipe
@@ -1,48 +0,0 @@
1
- import { compact, getSlotCompoundVariant, memo, splitProps } 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 = memo((props = {}) => {
32
- return Object.fromEntries(accordionSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
33
- })
34
-
35
- const accordionVariantKeys = []
36
- const getVariantProps = (variants) => ({ ...accordionDefaultVariants, ...compact(variants) })
37
-
38
- export const accordion = /* @__PURE__ */ Object.assign(accordionFn, {
39
- __recipe__: false,
40
- __name__: 'accordion',
41
- raw: (props) => props,
42
- variantKeys: accordionVariantKeys,
43
- variantMap: {},
44
- splitVariantProps(props) {
45
- return splitProps(props, accordionVariantKeys)
46
- },
47
- getVariantProps
48
- })
@@ -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 AlertDescriptionVariant {
6
-
7
- }
8
-
9
- type AlertDescriptionVariantMap = {
10
- [key in keyof AlertDescriptionVariant]: Array<AlertDescriptionVariant[key]>
11
- }
12
-
13
- export type AlertDescriptionVariantProps = {
14
- [key in keyof AlertDescriptionVariant]?: ConditionalValue<AlertDescriptionVariant[key]> | undefined
15
- }
16
-
17
- export interface AlertDescriptionRecipe {
18
- __type: AlertDescriptionVariantProps
19
- (props?: AlertDescriptionVariantProps): string
20
- raw: (props?: AlertDescriptionVariantProps) => AlertDescriptionVariantProps
21
- variantMap: AlertDescriptionVariantMap
22
- variantKeys: Array<keyof AlertDescriptionVariant>
23
- splitVariantProps<Props extends AlertDescriptionVariantProps>(props: Props): [AlertDescriptionVariantProps, Pretty<DistributiveOmit<Props, keyof AlertDescriptionVariantProps>>]
24
- getVariantProps: (props?: AlertDescriptionVariantProps) => AlertDescriptionVariantProps
25
- }
26
-
27
- /**
28
- * Styles for the AlertDescription component
29
-
30
-
31
- */
32
- export declare const alertDescription: AlertDescriptionRecipe
@@ -1,24 +0,0 @@
1
- import { memo, splitProps } from '../helpers.mjs';
2
- import { createRecipe, mergeRecipes } 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(memo(alertDescriptionFn.recipeFn), {
11
- __recipe__: true,
12
- __name__: 'alertDescription',
13
- __getCompoundVariantCss__: alertDescriptionFn.__getCompoundVariantCss__,
14
- raw: (props) => props,
15
- variantKeys: alertDescriptionVariantKeys,
16
- variantMap: alertDescriptionVariantMap,
17
- merge(recipe) {
18
- return mergeRecipes(this, recipe)
19
- },
20
- splitVariantProps(props) {
21
- return splitProps(props, alertDescriptionVariantKeys)
22
- },
23
- getVariantProps: alertDescriptionFn.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 AlertDialogVariant {
6
-
7
- }
8
-
9
- type AlertDialogVariantMap = {
10
- [key in keyof AlertDialogVariant]: Array<AlertDialogVariant[key]>
11
- }
12
-
13
- export type AlertDialogVariantProps = {
14
- [key in keyof AlertDialogVariant]?: ConditionalValue<AlertDialogVariant[key]> | undefined
15
- }
16
-
17
- export interface AlertDialogRecipe {
18
- __type: AlertDialogVariantProps
19
- (props?: AlertDialogVariantProps): Pretty<Record<"root" | "trigger" | "portal" | "overlay" | "content" | "header" | "footer" | "title" | "description" | "action" | "cancel", string>>
20
- raw: (props?: AlertDialogVariantProps) => AlertDialogVariantProps
21
- variantMap: AlertDialogVariantMap
22
- variantKeys: Array<keyof AlertDialogVariant>
23
- splitVariantProps<Props extends AlertDialogVariantProps>(props: Props): [AlertDialogVariantProps, Pretty<DistributiveOmit<Props, keyof AlertDialogVariantProps>>]
24
- getVariantProps: (props?: AlertDialogVariantProps) => AlertDialogVariantProps
25
- }
26
-
27
- /**
28
- * Styles for the AlertDialog component
29
-
30
-
31
- */
32
- export declare const alertDialog: AlertDialogRecipe
@@ -1,72 +0,0 @@
1
- import { compact, getSlotCompoundVariant, memo, splitProps } 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 = memo((props = {}) => {
56
- return Object.fromEntries(alertDialogSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
57
- })
58
-
59
- const alertDialogVariantKeys = []
60
- const getVariantProps = (variants) => ({ ...alertDialogDefaultVariants, ...compact(variants) })
61
-
62
- export const alertDialog = /* @__PURE__ */ Object.assign(alertDialogFn, {
63
- __recipe__: false,
64
- __name__: 'alertDialog',
65
- raw: (props) => props,
66
- variantKeys: alertDialogVariantKeys,
67
- variantMap: {},
68
- splitVariantProps(props) {
69
- return splitProps(props, alertDialogVariantKeys)
70
- },
71
- getVariantProps
72
- })
@@ -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 AlertTitleVariant {
6
-
7
- }
8
-
9
- type AlertTitleVariantMap = {
10
- [key in keyof AlertTitleVariant]: Array<AlertTitleVariant[key]>
11
- }
12
-
13
- export type AlertTitleVariantProps = {
14
- [key in keyof AlertTitleVariant]?: ConditionalValue<AlertTitleVariant[key]> | undefined
15
- }
16
-
17
- export interface AlertTitleRecipe {
18
- __type: AlertTitleVariantProps
19
- (props?: AlertTitleVariantProps): string
20
- raw: (props?: AlertTitleVariantProps) => AlertTitleVariantProps
21
- variantMap: AlertTitleVariantMap
22
- variantKeys: Array<keyof AlertTitleVariant>
23
- splitVariantProps<Props extends AlertTitleVariantProps>(props: Props): [AlertTitleVariantProps, Pretty<DistributiveOmit<Props, keyof AlertTitleVariantProps>>]
24
- getVariantProps: (props?: AlertTitleVariantProps) => AlertTitleVariantProps
25
- }
26
-
27
- /**
28
- * Styles for the AlertTitle component
29
-
30
-
31
- */
32
- export declare const alertTitle: AlertTitleRecipe