@luxonis/depthai-pipeline-lib 1.4.12 → 1.4.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (225) hide show
  1. package/dist/panda.css +670 -809
  2. package/dist/src/components/PipelineCanvas.js +14 -9
  3. package/dist/src/styled-system/css/conditions.mjs +4 -2
  4. package/dist/src/styled-system/css/css.d.mts +15 -2
  5. package/dist/src/styled-system/css/css.mjs +2 -1
  6. package/dist/src/styled-system/css/cva.d.mts +1 -1
  7. package/dist/src/styled-system/css/cva.mjs +28 -4
  8. package/dist/src/styled-system/css/sva.mjs +9 -3
  9. package/dist/src/styled-system/helpers.mjs +109 -64
  10. package/dist/src/styled-system/patterns/aspect-ratio.d.mts +1 -1
  11. package/dist/src/styled-system/patterns/aspect-ratio.mjs +5 -2
  12. package/dist/src/styled-system/patterns/bleed.d.mts +3 -3
  13. package/dist/src/styled-system/patterns/bleed.mjs +12 -7
  14. package/dist/src/styled-system/patterns/box.d.mts +1 -1
  15. package/dist/src/styled-system/patterns/box.mjs +5 -2
  16. package/dist/src/styled-system/patterns/center.d.mts +1 -1
  17. package/dist/src/styled-system/patterns/center.mjs +5 -2
  18. package/dist/src/styled-system/patterns/circle.d.mts +2 -2
  19. package/dist/src/styled-system/patterns/circle.mjs +5 -2
  20. package/dist/src/styled-system/patterns/container.d.mts +1 -1
  21. package/dist/src/styled-system/patterns/container.mjs +5 -2
  22. package/dist/src/styled-system/patterns/cq.d.mts +22 -0
  23. package/dist/src/styled-system/patterns/cq.mjs +21 -0
  24. package/dist/src/styled-system/patterns/divider.d.mts +1 -1
  25. package/dist/src/styled-system/patterns/divider.mjs +8 -4
  26. package/dist/src/styled-system/patterns/flex.d.mts +8 -8
  27. package/dist/src/styled-system/patterns/flex.mjs +5 -2
  28. package/dist/src/styled-system/patterns/float.d.mts +1 -1
  29. package/dist/src/styled-system/patterns/float.mjs +10 -3
  30. package/dist/src/styled-system/patterns/grid-item.d.mts +1 -1
  31. package/dist/src/styled-system/patterns/grid-item.mjs +5 -2
  32. package/dist/src/styled-system/patterns/grid.d.mts +4 -4
  33. package/dist/src/styled-system/patterns/grid.mjs +12 -5
  34. package/dist/src/styled-system/patterns/hstack.d.mts +3 -3
  35. package/dist/src/styled-system/patterns/hstack.mjs +8 -4
  36. package/dist/src/styled-system/patterns/index.d.mts +2 -2
  37. package/dist/src/styled-system/patterns/index.mjs +2 -2
  38. package/dist/src/styled-system/patterns/link-overlay.d.mts +1 -1
  39. package/dist/src/styled-system/patterns/link-overlay.mjs +5 -5
  40. package/dist/src/styled-system/patterns/spacer.d.mts +1 -1
  41. package/dist/src/styled-system/patterns/spacer.mjs +5 -2
  42. package/dist/src/styled-system/patterns/square.d.mts +2 -2
  43. package/dist/src/styled-system/patterns/square.mjs +5 -2
  44. package/dist/src/styled-system/patterns/stack.d.mts +5 -5
  45. package/dist/src/styled-system/patterns/stack.mjs +8 -4
  46. package/dist/src/styled-system/patterns/visually-hidden.d.mts +1 -1
  47. package/dist/src/styled-system/patterns/visually-hidden.mjs +5 -2
  48. package/dist/src/styled-system/patterns/vstack.d.mts +3 -3
  49. package/dist/src/styled-system/patterns/vstack.mjs +8 -4
  50. package/dist/src/styled-system/patterns/wrap.d.mts +6 -6
  51. package/dist/src/styled-system/patterns/wrap.mjs +5 -2
  52. package/dist/src/styled-system/recipes/accordion.d.mts +8 -4
  53. package/dist/src/styled-system/recipes/accordion.mjs +6 -4
  54. package/dist/src/styled-system/recipes/alert-description.d.mts +8 -4
  55. package/dist/src/styled-system/recipes/alert-description.mjs +8 -3
  56. package/dist/src/styled-system/recipes/alert-dialog.d.mts +8 -4
  57. package/dist/src/styled-system/recipes/alert-dialog.mjs +6 -4
  58. package/dist/src/styled-system/recipes/alert-title.d.mts +8 -4
  59. package/dist/src/styled-system/recipes/alert-title.mjs +8 -3
  60. package/dist/src/styled-system/recipes/alert.d.mts +12 -5
  61. package/dist/src/styled-system/recipes/alert.mjs +8 -3
  62. package/dist/src/styled-system/recipes/avatar.d.mts +8 -4
  63. package/dist/src/styled-system/recipes/avatar.mjs +6 -4
  64. package/dist/src/styled-system/recipes/badge.d.mts +12 -5
  65. package/dist/src/styled-system/recipes/badge.mjs +8 -3
  66. package/dist/src/styled-system/recipes/blockquote.d.mts +8 -4
  67. package/dist/src/styled-system/recipes/blockquote.mjs +8 -3
  68. package/dist/src/styled-system/recipes/button.d.mts +15 -5
  69. package/dist/src/styled-system/recipes/button.mjs +8 -3
  70. package/dist/src/styled-system/recipes/calendar.d.mts +8 -4
  71. package/dist/src/styled-system/recipes/calendar.mjs +6 -4
  72. package/dist/src/styled-system/recipes/card-content.d.mts +8 -4
  73. package/dist/src/styled-system/recipes/card-content.mjs +8 -3
  74. package/dist/src/styled-system/recipes/card-description.d.mts +8 -4
  75. package/dist/src/styled-system/recipes/card-description.mjs +8 -3
  76. package/dist/src/styled-system/recipes/card-footer.d.mts +8 -4
  77. package/dist/src/styled-system/recipes/card-footer.mjs +8 -3
  78. package/dist/src/styled-system/recipes/card-header.d.mts +8 -4
  79. package/dist/src/styled-system/recipes/card-header.mjs +8 -3
  80. package/dist/src/styled-system/recipes/card-title.d.mts +8 -4
  81. package/dist/src/styled-system/recipes/card-title.mjs +8 -3
  82. package/dist/src/styled-system/recipes/card.d.mts +8 -4
  83. package/dist/src/styled-system/recipes/card.mjs +8 -3
  84. package/dist/src/styled-system/recipes/checkbox.d.mts +8 -4
  85. package/dist/src/styled-system/recipes/checkbox.mjs +6 -4
  86. package/dist/src/styled-system/recipes/collapsible.d.mts +8 -4
  87. package/dist/src/styled-system/recipes/collapsible.mjs +6 -4
  88. package/dist/src/styled-system/recipes/command-dialog.d.mts +8 -4
  89. package/dist/src/styled-system/recipes/command-dialog.mjs +6 -4
  90. package/dist/src/styled-system/recipes/command.d.mts +8 -4
  91. package/dist/src/styled-system/recipes/command.mjs +6 -4
  92. package/dist/src/styled-system/recipes/context-menu.d.mts +12 -5
  93. package/dist/src/styled-system/recipes/context-menu.mjs +6 -4
  94. package/dist/src/styled-system/recipes/create-recipe.mjs +39 -7
  95. package/dist/src/styled-system/recipes/dialog.d.mts +8 -4
  96. package/dist/src/styled-system/recipes/dialog.mjs +6 -4
  97. package/dist/src/styled-system/recipes/dropdown-menu.d.mts +8 -4
  98. package/dist/src/styled-system/recipes/dropdown-menu.mjs +6 -4
  99. package/dist/src/styled-system/recipes/form-control.d.mts +8 -4
  100. package/dist/src/styled-system/recipes/form-control.mjs +8 -3
  101. package/dist/src/styled-system/recipes/form-description.d.mts +8 -4
  102. package/dist/src/styled-system/recipes/form-description.mjs +8 -3
  103. package/dist/src/styled-system/recipes/form-item.d.mts +8 -4
  104. package/dist/src/styled-system/recipes/form-item.mjs +8 -3
  105. package/dist/src/styled-system/recipes/form-label.d.mts +8 -4
  106. package/dist/src/styled-system/recipes/form-label.mjs +8 -3
  107. package/dist/src/styled-system/recipes/form-message.d.mts +8 -4
  108. package/dist/src/styled-system/recipes/form-message.mjs +8 -3
  109. package/dist/src/styled-system/recipes/h1.d.mts +8 -4
  110. package/dist/src/styled-system/recipes/h1.mjs +8 -3
  111. package/dist/src/styled-system/recipes/h2.d.mts +8 -4
  112. package/dist/src/styled-system/recipes/h2.mjs +8 -3
  113. package/dist/src/styled-system/recipes/h3.d.mts +8 -4
  114. package/dist/src/styled-system/recipes/h3.mjs +8 -3
  115. package/dist/src/styled-system/recipes/h4.d.mts +8 -4
  116. package/dist/src/styled-system/recipes/h4.mjs +8 -3
  117. package/dist/src/styled-system/recipes/hover-card.d.mts +8 -4
  118. package/dist/src/styled-system/recipes/hover-card.mjs +6 -4
  119. package/dist/src/styled-system/recipes/icon.d.mts +24 -5
  120. package/dist/src/styled-system/recipes/icon.mjs +8 -3
  121. package/dist/src/styled-system/recipes/inline-code.d.mts +8 -4
  122. package/dist/src/styled-system/recipes/inline-code.mjs +8 -3
  123. package/dist/src/styled-system/recipes/input.d.mts +8 -4
  124. package/dist/src/styled-system/recipes/input.mjs +8 -3
  125. package/dist/src/styled-system/recipes/label.d.mts +8 -4
  126. package/dist/src/styled-system/recipes/label.mjs +8 -3
  127. package/dist/src/styled-system/recipes/large.d.mts +8 -4
  128. package/dist/src/styled-system/recipes/large.mjs +8 -3
  129. package/dist/src/styled-system/recipes/lead.d.mts +8 -4
  130. package/dist/src/styled-system/recipes/lead.mjs +8 -3
  131. package/dist/src/styled-system/recipes/link.d.mts +8 -4
  132. package/dist/src/styled-system/recipes/link.mjs +8 -3
  133. package/dist/src/styled-system/recipes/list.d.mts +8 -4
  134. package/dist/src/styled-system/recipes/list.mjs +8 -3
  135. package/dist/src/styled-system/recipes/menubar.d.mts +8 -4
  136. package/dist/src/styled-system/recipes/menubar.mjs +6 -4
  137. package/dist/src/styled-system/recipes/muted.d.mts +8 -4
  138. package/dist/src/styled-system/recipes/muted.mjs +8 -3
  139. package/dist/src/styled-system/recipes/navigation-menu.d.mts +8 -4
  140. package/dist/src/styled-system/recipes/navigation-menu.mjs +6 -4
  141. package/dist/src/styled-system/recipes/p.d.mts +8 -4
  142. package/dist/src/styled-system/recipes/p.mjs +8 -3
  143. package/dist/src/styled-system/recipes/popover.d.mts +8 -4
  144. package/dist/src/styled-system/recipes/popover.mjs +6 -4
  145. package/dist/src/styled-system/recipes/progress.d.mts +8 -4
  146. package/dist/src/styled-system/recipes/progress.mjs +6 -4
  147. package/dist/src/styled-system/recipes/radio-group.d.mts +8 -4
  148. package/dist/src/styled-system/recipes/radio-group.mjs +6 -4
  149. package/dist/src/styled-system/recipes/scroll-area.d.mts +8 -4
  150. package/dist/src/styled-system/recipes/scroll-area.mjs +6 -4
  151. package/dist/src/styled-system/recipes/select.d.mts +8 -4
  152. package/dist/src/styled-system/recipes/select.mjs +6 -4
  153. package/dist/src/styled-system/recipes/separator.d.mts +12 -5
  154. package/dist/src/styled-system/recipes/separator.mjs +8 -3
  155. package/dist/src/styled-system/recipes/sheet.d.mts +12 -5
  156. package/dist/src/styled-system/recipes/sheet.mjs +6 -4
  157. package/dist/src/styled-system/recipes/skeleton.d.mts +8 -4
  158. package/dist/src/styled-system/recipes/skeleton.mjs +8 -3
  159. package/dist/src/styled-system/recipes/slider.d.mts +8 -4
  160. package/dist/src/styled-system/recipes/slider.mjs +6 -4
  161. package/dist/src/styled-system/recipes/small.d.mts +8 -4
  162. package/dist/src/styled-system/recipes/small.mjs +8 -3
  163. package/dist/src/styled-system/recipes/switch-recipe.d.mts +8 -4
  164. package/dist/src/styled-system/recipes/switch-recipe.mjs +6 -4
  165. package/dist/src/styled-system/recipes/table-body.d.mts +8 -4
  166. package/dist/src/styled-system/recipes/table-body.mjs +8 -3
  167. package/dist/src/styled-system/recipes/table-caption.d.mts +8 -4
  168. package/dist/src/styled-system/recipes/table-caption.mjs +8 -3
  169. package/dist/src/styled-system/recipes/table-cell.d.mts +8 -4
  170. package/dist/src/styled-system/recipes/table-cell.mjs +8 -3
  171. package/dist/src/styled-system/recipes/table-container.d.mts +8 -4
  172. package/dist/src/styled-system/recipes/table-container.mjs +8 -3
  173. package/dist/src/styled-system/recipes/table-footer.d.mts +8 -4
  174. package/dist/src/styled-system/recipes/table-footer.mjs +8 -3
  175. package/dist/src/styled-system/recipes/table-head.d.mts +8 -4
  176. package/dist/src/styled-system/recipes/table-head.mjs +8 -3
  177. package/dist/src/styled-system/recipes/table-header.d.mts +8 -4
  178. package/dist/src/styled-system/recipes/table-header.mjs +8 -3
  179. package/dist/src/styled-system/recipes/table-row.d.mts +8 -4
  180. package/dist/src/styled-system/recipes/table-row.mjs +8 -3
  181. package/dist/src/styled-system/recipes/table.d.mts +8 -4
  182. package/dist/src/styled-system/recipes/table.mjs +8 -3
  183. package/dist/src/styled-system/recipes/tabs.d.mts +8 -4
  184. package/dist/src/styled-system/recipes/tabs.mjs +6 -4
  185. package/dist/src/styled-system/recipes/textarea.d.mts +8 -4
  186. package/dist/src/styled-system/recipes/textarea.mjs +8 -3
  187. package/dist/src/styled-system/recipes/toast-viewport.d.mts +8 -4
  188. package/dist/src/styled-system/recipes/toast-viewport.mjs +8 -3
  189. package/dist/src/styled-system/recipes/toast.d.mts +12 -5
  190. package/dist/src/styled-system/recipes/toast.mjs +6 -4
  191. package/dist/src/styled-system/recipes/toggle.d.mts +15 -5
  192. package/dist/src/styled-system/recipes/toggle.mjs +8 -3
  193. package/dist/src/styled-system/recipes/tooltip.d.mts +8 -4
  194. package/dist/src/styled-system/recipes/tooltip.mjs +6 -4
  195. package/dist/src/styled-system/recipes/typography-table-container.d.mts +8 -4
  196. package/dist/src/styled-system/recipes/typography-table-container.mjs +8 -3
  197. package/dist/src/styled-system/recipes/typography-table.d.mts +8 -4
  198. package/dist/src/styled-system/recipes/typography-table.mjs +8 -3
  199. package/dist/src/styled-system/tokens/index.mjs +271 -219
  200. package/dist/src/styled-system/tokens/tokens.d.mts +18 -18
  201. package/dist/src/styled-system/types/composition.d.mts +70 -17
  202. package/dist/src/styled-system/types/conditions.d.mts +105 -49
  203. package/dist/src/styled-system/types/csstype.d.mts +1270 -721
  204. package/dist/src/styled-system/types/global.d.mts +1 -0
  205. package/dist/src/styled-system/types/index.d.mts +1 -2
  206. package/dist/src/styled-system/types/parts.d.mts +3 -1
  207. package/dist/src/styled-system/types/pattern.d.mts +20 -3
  208. package/dist/src/styled-system/types/prop-type.d.mts +59 -135
  209. package/dist/src/styled-system/types/recipe.d.mts +42 -9
  210. package/dist/src/styled-system/types/selectors.d.mts +1 -1
  211. package/dist/src/styled-system/types/static-css.d.mts +56 -0
  212. package/dist/src/styled-system/types/style-props.d.mts +7540 -678
  213. package/dist/src/styled-system/types/system-types.d.mts +128 -20
  214. package/package.json +3 -3
  215. package/dist/src/styled-system/chunks/src__components__Node.css +0 -195
  216. package/dist/src/styled-system/chunks/src__components__PipelineCanvas.css +0 -25
  217. package/dist/src/styled-system/global.css +0 -70
  218. package/dist/src/styled-system/patterns/link-box.d.mts +0 -21
  219. package/dist/src/styled-system/patterns/link-box.mjs +0 -19
  220. package/dist/src/styled-system/recipes/create-recipe.d.mts +0 -1
  221. package/dist/src/styled-system/reset.css +0 -206
  222. package/dist/src/styled-system/static.css +0 -320
  223. package/dist/src/styled-system/tokens/index.css +0 -620
  224. package/dist/src/styled-system/tokens/keyframes.css +0 -56
  225. package/dist/src/styled-system/types/helpers.d.mts +0 -2
@@ -1,18 +1,114 @@
1
1
  /* eslint-disable */
2
- import type { ConditionalValue, Conditions, Nested } from './conditions.d.mts';
3
- import type { PropertiesFallback } from './csstype.d.mts';
2
+ import type { ConditionalValue, Nested } from './conditions.d.mts';
3
+ import type { AtRule, Globals, PropertiesFallback } from './csstype.d.mts';
4
4
  import type { SystemProperties, CssVarProperties } from './style-props.d.mts';
5
5
 
6
6
  type String = string & {}
7
7
  type Number = number & {}
8
8
 
9
+ export type Pretty<T> = { [K in keyof T]: T[K] } & {}
10
+
11
+ export type DistributiveOmit<T, K extends keyof any> = T extends unknown ? Omit<T, K> : never
12
+
13
+ export type DistributiveUnion<T, U> = {
14
+ [K in keyof T]: K extends keyof U ? U[K] | T[K] : T[K]
15
+ } & DistributiveOmit<U, keyof T>
16
+
17
+ export type Assign<T, U> = {
18
+ [K in keyof T]: K extends keyof U ? U[K] : T[K]
19
+ } & U
20
+
9
21
  /* -----------------------------------------------------------------------------
10
22
  * Native css properties
11
23
  * -----------------------------------------------------------------------------*/
12
24
 
25
+ type DashedIdent = `--${string}`
26
+
27
+ type StringToMultiple<T extends string> = T | `${T}, ${T}`
28
+
29
+ export type PositionAreaAxis =
30
+ | 'left'
31
+ | 'center'
32
+ | 'right'
33
+ | 'x-start'
34
+ | 'x-end'
35
+ | 'span-x-start'
36
+ | 'span-x-end'
37
+ | 'x-self-start'
38
+ | 'x-self-end'
39
+ | 'span-x-self-start'
40
+ | 'span-x-self-end'
41
+ | 'span-all'
42
+ | 'top'
43
+ | 'bottom'
44
+ | 'span-top'
45
+ | 'span-bottom'
46
+ | 'y-start'
47
+ | 'y-end'
48
+ | 'span-y-start'
49
+ | 'span-y-end'
50
+ | 'y-self-start'
51
+ | 'y-self-end'
52
+ | 'span-y-self-start'
53
+ | 'span-y-self-end'
54
+ | 'block-start'
55
+ | 'block-end'
56
+ | 'span-block-start'
57
+ | 'span-block-end'
58
+ | 'inline-start'
59
+ | 'inline-end'
60
+ | 'span-inline-start'
61
+ | 'span-inline-end'
62
+ | 'self-block-start'
63
+ | 'self-block-end'
64
+ | 'span-self-block-start'
65
+ | 'span-self-block-end'
66
+ | 'self-inline-start'
67
+ | 'self-inline-end'
68
+ | 'span-self-inline-start'
69
+ | 'span-self-inline-end'
70
+ | 'start'
71
+ | 'end'
72
+ | 'span-start'
73
+ | 'span-end'
74
+ | 'self-start'
75
+ | 'self-end'
76
+ | 'span-self-start'
77
+ | 'span-self-end'
78
+
79
+ type PositionTry =
80
+ | 'normal'
81
+ | 'flip-block'
82
+ | 'flip-inline'
83
+ | 'top'
84
+ | 'bottom'
85
+ | 'left'
86
+ | 'right'
87
+ | 'block-start'
88
+ | 'block-end'
89
+ | 'inline-start'
90
+ | 'inline-end'
91
+ | DashedIdent
92
+
93
+ export interface ModernCssProperties {
94
+ anchorName?: Globals | 'none' | DashedIdent | StringToMultiple<DashedIdent>
95
+ anchorScope?: Globals | 'none' | 'all' | DashedIdent | StringToMultiple<DashedIdent>
96
+ fieldSizing?: Globals | 'fixed' | 'content'
97
+ interpolateSize?: Globals | 'allow-keywords' | 'numeric-only'
98
+ positionAnchor?: Globals | 'auto' | DashedIdent
99
+ positionArea?: Globals | 'auto' | PositionAreaAxis | `${PositionAreaAxis} ${PositionAreaAxis}` | String
100
+ positionTry?: Globals | StringToMultiple<PositionTry> | String
101
+ positionTryFallback?: Globals | 'none' | StringToMultiple<PositionTry> | String
102
+ positionTryOrder?: Globals | 'normal' | 'most-width' | 'most-height' | 'most-block-size' | 'most-inline-size'
103
+ positionVisibility?: Globals | 'always' | 'anchors-visible' | 'no-overflow'
104
+ textWrapMode?: Globals | 'wrap' | 'nowrap'
105
+ textSpacingTrim?: Globals | 'normal' | 'space-all' | 'space-first' | 'trim-start'
106
+ textWrapStyle?: Globals | 'auto' | 'balance' | 'pretty' | 'stable'
107
+ }
108
+
13
109
  export type CssProperty = keyof PropertiesFallback
14
110
 
15
- export interface CssProperties extends PropertiesFallback<String | Number>, CssVarProperties {}
111
+ export interface CssProperties extends PropertiesFallback<String | Number>, CssVarProperties, ModernCssProperties {}
16
112
 
17
113
  export interface CssKeyframes {
18
114
  [name: string]: {
@@ -24,10 +120,6 @@ export interface CssKeyframes {
24
120
  * Conditional css properties
25
121
  * -----------------------------------------------------------------------------*/
26
122
 
27
- type MinimalNested<P> = {
28
- [K in keyof Conditions]?: Nested<P>
29
- }
30
-
31
123
  interface GenericProperties {
32
124
  [key: string]: ConditionalValue<String | Number | boolean>
33
125
  }
@@ -38,7 +130,7 @@ interface GenericProperties {
38
130
 
39
131
  export type NestedCssProperties = Nested<CssProperties>
40
132
 
41
- export type SystemStyleObject = Nested<SystemProperties & CssVarProperties>
133
+ export type SystemStyleObject = Omit<Nested<SystemProperties & CssVarProperties>, 'base'>
42
134
 
43
135
  export interface GlobalStyleObject {
44
136
  [selector: string]: SystemStyleObject
@@ -48,25 +140,41 @@ export interface ExtendableGlobalStyleObject {
48
140
  extend?: GlobalStyleObject | undefined
49
141
  }
50
142
 
51
- export type CompositionStyleObject<Property extends string> = Nested<{
52
- [K in Property]?: K extends keyof SystemStyleObject ? SystemStyleObject[K] : unknown
53
- }>
143
+ /* -----------------------------------------------------------------------------
144
+ * Composition (text styles, layer styles)
145
+ * -----------------------------------------------------------------------------*/
146
+
147
+ type FilterStyleObject<P extends string> = {
148
+ [K in P]?: K extends keyof SystemStyleObject ? SystemStyleObject[K] : unknown
149
+ }
150
+
151
+ export type CompositionStyleObject<Property extends string> = Nested<FilterStyleObject<Property> & CssVarProperties>
54
152
 
55
153
  /* -----------------------------------------------------------------------------
56
- * Jsx style props
154
+ * Font face
57
155
  * -----------------------------------------------------------------------------*/
58
- interface WithCss {
59
- css?: SystemStyleObject
156
+
157
+ export type GlobalFontfaceRule = Omit<AtRule.FontFaceFallback, 'src'> & Required<Pick<AtRule.FontFaceFallback, 'src'>>
158
+
159
+ export type FontfaceRule = Omit<GlobalFontfaceRule, 'fontFamily'>
160
+
161
+ export interface GlobalFontface {
162
+ [name: string]: FontfaceRule | FontfaceRule[]
60
163
  }
61
- type StyleProps = SystemProperties & MinimalNested<SystemStyleObject>
62
164
 
63
- export type JsxStyleProps = StyleProps & WithCss
165
+ export interface ExtendableGlobalFontface {
166
+ [name: string]: FontfaceRule | FontfaceRule[] | GlobalFontface | undefined
167
+ extend?: GlobalFontface | undefined
168
+ }
64
169
 
65
- export type DistributiveOmit<T, K extends keyof any> = T extends unknown ? Omit<T, K> : never
170
+ /* -----------------------------------------------------------------------------
171
+ * Jsx style props
172
+ * -----------------------------------------------------------------------------*/
173
+ interface WithCss {
174
+ css?: SystemStyleObject | SystemStyleObject[]
175
+ }
66
176
 
67
- export type Assign<T, U> = {
68
- [K in keyof T]: K extends keyof U ? U[K] : T[K]
69
- } & U
177
+ export type JsxStyleProps = SystemStyleObject & WithCss
70
178
 
71
179
  export interface PatchedHTMLProps {
72
180
  htmlWidth?: string | number
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luxonis/depthai-pipeline-lib",
3
- "version": "1.4.12",
3
+ "version": "1.4.14",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "main": "./dist/src/index.js",
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "@dagrejs/dagre": "^1.1.3",
15
- "@luxonis/common-fe-components": "^1.9.5",
15
+ "@luxonis/common-fe-components": "1.25.9",
16
16
  "@xyflow/react": "^12.0.4",
17
17
  "postcss-import": "^16.1.0",
18
18
  "postcss-nested": "^6.2.0",
@@ -24,7 +24,7 @@
24
24
  "react-dom": "^18.3.1"
25
25
  },
26
26
  "devDependencies": {
27
- "@pandacss/dev": "^0.15.5",
27
+ "@pandacss/dev": "^0.53.0",
28
28
  "@stylistic/eslint-plugin": "^2.6.1",
29
29
  "@types/react": "^18.3.3",
30
30
  "@types/react-dom": "^18.3.0",
@@ -1,195 +0,0 @@
1
- @layer utilities {
2
- .bg_dark\.warning\! {
3
- background-color: var(--colors-dark-warning) !important
4
- }
5
-
6
- .bg_dark\.success\! {
7
- background-color: var(--colors-dark-success) !important
8
- }
9
-
10
- .w_custom\.handle\.dot\! {
11
- width: var(--sizes-custom-handle-dot) !important
12
- }
13
-
14
- .h_custom\.handle\.dot\! {
15
- height: var(--sizes-custom-handle-dot) !important
16
- }
17
-
18
- .border_none\! {
19
- border: var(--borders-none) !important
20
- }
21
-
22
- .ml_xs {
23
- margin-left: var(--spacing-xs)
24
- }
25
-
26
- .mr_xs {
27
- margin-right: var(--spacing-xs)
28
- }
29
-
30
- .min-w_container\.smaller\.xxs {
31
- min-width: var(--sizes-container-smaller-xxs)
32
- }
33
-
34
- .border_base {
35
- border: var(--borders-base)
36
- }
37
-
38
- .rounded_common {
39
- border-radius: var(--radii-common)
40
- }
41
-
42
- .bg_white {
43
- background-color: var(--colors-white)
44
- }
45
-
46
- .w_full {
47
- width: var(--sizes-full)
48
- }
49
-
50
- .bg_light\.gray {
51
- background-color: var(--colors-light-gray)
52
- }
53
-
54
- .rounded-t_common {
55
- border-top-left-radius: var(--radii-common);
56
- border-top-right-radius: var(--radii-common)
57
- }
58
-
59
- .w_icon\.sm {
60
- width: var(--sizes-icon-sm)
61
- }
62
-
63
- .h_icon\.sm {
64
- height: var(--sizes-icon-sm)
65
- }
66
-
67
- .w_auto {
68
- width: auto
69
- }
70
-
71
- .h_auto {
72
- height: auto
73
- }
74
-
75
- .right_xs {
76
- right: var(--spacing-xs)
77
- }
78
-
79
- .text_unset {
80
- color: unset
81
- }
82
-
83
- .text_transparent {
84
- color: var(--colors-transparent)
85
- }
86
-
87
- .items_start {
88
- align-items: start
89
- }
90
-
91
- .flex_row {
92
- flex-direction: row
93
- }
94
-
95
- .flex_row-reverse {
96
- flex-direction: row-reverse
97
- }
98
-
99
- .items_end {
100
- align-items: end
101
- }
102
-
103
- .pos_relative {
104
- position: relative
105
- }
106
-
107
- .flex_column {
108
- flex-direction: column
109
- }
110
-
111
- .items_center {
112
- align-items: center
113
- }
114
-
115
- .justify_space-between {
116
- justify-content: space-between
117
- }
118
-
119
- .gap_xs {
120
- gap: var(--spacing-xs)
121
- }
122
-
123
- .d_flex {
124
- display: flex
125
- }
126
-
127
- .gap_sm {
128
- gap: var(--spacing-sm)
129
- }
130
-
131
- .py_xs {
132
- padding-block: var(--spacing-xs)
133
- }
134
- .\[\&\:hover_\.node-help-icon\]\:text_text\.normal:hover .node-help-icon {
135
- color: var(--colors-text-normal)
136
- }
137
- }
138
-
139
- @layer recipes {
140
- .button--variant_ghost:is(:hover, [data-hover]) {
141
- background: var(--colors-accent);
142
- color: var(--colors-accent-foreground)
143
- }
144
-
145
- .button--size_default {
146
- height: var(--sizes-10);
147
- padding-inline: var(--spacing-4);
148
- padding-block: var(--spacing-2)
149
- }
150
-
151
- @layer _base {
152
- .label {
153
- font-size: 0.875rem;
154
- line-height: var(--line-heights-none);
155
- font-weight: var(--font-weights-medium);
156
- }
157
- .peer:is(:disabled, [disabled], [data-disabled]) ~ .label {
158
- cursor: not-allowed;
159
- opacity: 0.7
160
- }
161
- }
162
-
163
- @layer _base {
164
- .button {
165
- display: inline-flex;
166
- align-items: center;
167
- justify-content: center;
168
- border-radius: var(--radii-md);
169
- font-size: 0.875rem;
170
- line-height: 1.25rem;
171
- font-weight: var(--font-weights-medium);
172
- transition-property: var(--transition-prop, color, background-color, border-color, outline-color, text-decoration-color, fill, stroke);
173
- transition-timing-function: var(--transition-easing, cubic-bezier(0.4, 0, 0.2, 1));
174
- transition-duration: var(--transition-duration, 150ms);
175
- cursor: pointer;
176
- --shadow-panda-ring-offset-color: var(--colors-background);
177
- gap: var(--spacing-2);
178
- }
179
- .button:is(:disabled, [disabled], [data-disabled]) {
180
- pointer-events: none;
181
- opacity: 50%
182
- }
183
- .button:is(:focus-visible, [data-focus-visible]) {
184
- outline: 2px solid transparent;
185
- outline-offset: 2px;
186
- --shadow-panda-ring-offset-shadow: var(--shadow-panda-ring-inset,) 0 0 0 var(--shadow-panda-ring-offset-width, 0px) var(--shadow-panda-ring-offset-color);
187
- --shadow-panda-ring-shadow: var(--shadow-panda-ring-inset,) 0 0 0 calc(2px + var(--shadow-panda-ring-offset-width, 0px)) var(--shadow-panda-ring-color);
188
- box-shadow: var(--shadow-panda-ring-offset-shadow),var(--shadow-panda-ring-shadow),var(--shadow-panda-base-shadow,0 0 #0000);
189
- --shadow-panda-ring-color: var(--colors-ring)
190
- ;
191
- --shadow-panda-ring-offset-width: 2px
192
-
193
- }
194
- }
195
- }
@@ -1,25 +0,0 @@
1
- @layer utilities {
2
- .d_flex {
3
- display: flex
4
- }
5
-
6
- .items_center {
7
- align-items: center
8
- }
9
-
10
- .justify_center {
11
- justify-content: center
12
- }
13
-
14
- .h_container\.xs {
15
- height: var(--sizes-container-xs)
16
- }
17
-
18
- .rounded_common {
19
- border-radius: var(--radii-common)
20
- }
21
-
22
- .border_base {
23
- border: var(--borders-base)
24
- }
25
- }
@@ -1,70 +0,0 @@
1
- @layer base {
2
- :root {
3
- --made-with-panda: '🐼'
4
- }
5
-
6
- *, *::before, *::after, ::backdrop {
7
- --blur: ;
8
- --brightness: ;
9
- --contrast: ;
10
- --grayscale: ;
11
- --hue-rotate: ;
12
- --invert: ;
13
- --saturate: ;
14
- --sepia: ;
15
- --drop-shadow: ;
16
- --backdrop-blur: ;
17
- --backdrop-brightness: ;
18
- --backdrop-contrast: ;
19
- --backdrop-grayscale: ;
20
- --backdrop-hue-rotate: ;
21
- --backdrop-invert: ;
22
- --backdrop-opacity: ;
23
- --backdrop-saturate: ;
24
- --backdrop-sepia: ;
25
- --scroll-snap-strictness: proximity;
26
- --border-spacing-x: 0;
27
- --border-spacing-y: 0;
28
- --translate-x: 0;
29
- --translate-y: 0;
30
- --rotate: 0;
31
- --skew-x: 0;
32
- --skew-y: 0;
33
- --scale-x: 1;
34
- --scale-y: 1
35
- }
36
-
37
- html {
38
- -moz-osx-font-smoothing: grayscale;
39
- text-rendering: optimizeLegibility;
40
- -webkit-font-smoothing: antialiased;
41
- -webkit-text-size-adjust: 100%
42
- }
43
-
44
- body {
45
- background: var(--colors-background);
46
- color: var(--colors-foreground);
47
- font-family: var(--fonts-sans)
48
- }
49
-
50
- button {
51
- color: inherit;
52
- outline: 2px solid transparent
53
- }
54
-
55
- * {
56
- box-sizing: border-box;
57
- font-family: var(--fonts-body)
58
- }
59
-
60
- html, body {
61
- margin: var(--spacing-0);
62
- padding: var(--spacing-0)
63
- }
64
-
65
- #root {
66
- display: flex;
67
- flex-direction: column;
68
- height: 100vh
69
- }
70
- }
@@ -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 { 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 LinkBoxProperties {
9
-
10
- }
11
-
12
-
13
- interface LinkBoxStyles extends LinkBoxProperties, DistributiveOmit<SystemStyleObject, keyof LinkBoxProperties > {}
14
-
15
- interface LinkBoxPatternFn {
16
- (styles?: LinkBoxStyles): string
17
- raw: (styles?: LinkBoxStyles) => SystemStyleObject
18
- }
19
-
20
-
21
- export declare const linkBox: LinkBoxPatternFn;
@@ -1,19 +0,0 @@
1
- import { mapObject } from '../helpers.mjs';
2
- import { css } from '../css/index.mjs';
3
-
4
- const linkBoxConfig = {
5
- transform(props) {
6
- return {
7
- position: "relative",
8
- "& :where(a, abbr)": {
9
- position: "relative",
10
- zIndex: "1"
11
- },
12
- ...props
13
- };
14
- }}
15
-
16
- export const getLinkBoxStyle = (styles = {}) => linkBoxConfig.transform(styles, { map: mapObject })
17
-
18
- export const linkBox = (styles) => css(getLinkBoxStyle(styles))
19
- linkBox.raw = getLinkBoxStyle
@@ -1 +0,0 @@
1
- /* eslint-disable */