@luxonis/depthai-pipeline-lib 1.4.14 → 1.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.
@@ -0,0 +1,196 @@
1
+ @layer utilities {
2
+
3
+ .bg_dark\.warning\! {
4
+ background-color: var(--colors-dark-warning) !important
5
+ }
6
+
7
+ .bg_dark\.success\! {
8
+ background-color: var(--colors-dark-success) !important
9
+ }
10
+
11
+ .w_custom\.handle\.dot\! {
12
+ width: var(--sizes-custom-handle-dot) !important
13
+ }
14
+
15
+ .h_custom\.handle\.dot\! {
16
+ height: var(--sizes-custom-handle-dot) !important
17
+ }
18
+
19
+ .border_none\! {
20
+ border: var(--borders-none) !important
21
+ }
22
+
23
+ .ml_xs {
24
+ margin-left: var(--spacing-xs)
25
+ }
26
+
27
+ .mr_xs {
28
+ margin-right: var(--spacing-xs)
29
+ }
30
+
31
+ .min-w_container\.smaller\.xxs {
32
+ min-width: var(--sizes-container-smaller-xxs)
33
+ }
34
+
35
+ .border_base {
36
+ border: var(--borders-base)
37
+ }
38
+
39
+ .rounded_common {
40
+ border-radius: var(--radii-common)
41
+ }
42
+
43
+ .bg_white {
44
+ background-color: var(--colors-white)
45
+ }
46
+
47
+ .w_full {
48
+ width: var(--sizes-full)
49
+ }
50
+
51
+ .bg_light\.gray {
52
+ background-color: var(--colors-light-gray)
53
+ }
54
+
55
+ .rounded-t_common {
56
+ border-top-left-radius: var(--radii-common);
57
+ border-top-right-radius: var(--radii-common)
58
+ }
59
+
60
+ .w_icon\.sm {
61
+ width: var(--sizes-icon-sm)
62
+ }
63
+
64
+ .h_icon\.sm {
65
+ height: var(--sizes-icon-sm)
66
+ }
67
+
68
+ .w_auto {
69
+ width: auto
70
+ }
71
+
72
+ .h_auto {
73
+ height: auto
74
+ }
75
+
76
+ .right_xs {
77
+ right: var(--spacing-xs)
78
+ }
79
+
80
+ .text_unset {
81
+ color: unset
82
+ }
83
+
84
+ .text_transparent {
85
+ color: var(--colors-transparent)
86
+ }
87
+
88
+ .items_start {
89
+ align-items: start
90
+ }
91
+
92
+ .flex_row {
93
+ flex-direction: row
94
+ }
95
+
96
+ .flex_row-reverse {
97
+ flex-direction: row-reverse
98
+ }
99
+
100
+ .items_end {
101
+ align-items: end
102
+ }
103
+
104
+ .pos_relative {
105
+ position: relative
106
+ }
107
+
108
+ .flex_column {
109
+ flex-direction: column
110
+ }
111
+
112
+ .items_center {
113
+ align-items: center
114
+ }
115
+
116
+ .justify_space-between {
117
+ justify-content: space-between
118
+ }
119
+
120
+ .gap_xs {
121
+ gap: var(--spacing-xs)
122
+ }
123
+
124
+ .d_flex {
125
+ display: flex
126
+ }
127
+
128
+ .gap_sm {
129
+ gap: var(--spacing-sm)
130
+ }
131
+
132
+ .py_xs {
133
+ padding-block: var(--spacing-xs)
134
+ }
135
+ .\[\&\:hover_\.node-help-icon\]\:text_text\.normal:hover .node-help-icon {
136
+ color: var(--colors-text-normal)
137
+ }
138
+ }
139
+
140
+ @layer recipes {
141
+ .button--variant_ghost:is(:hover, [data-hover]) {
142
+ background: var(--colors-accent);
143
+ color: var(--colors-accent-foreground)
144
+ }
145
+
146
+ .button--size_default {
147
+ height: var(--sizes-10);
148
+ padding-inline: var(--spacing-4);
149
+ padding-block: var(--spacing-2)
150
+ }
151
+
152
+ @layer _base {
153
+ .label {
154
+ font-size: 0.875rem;
155
+ line-height: var(--line-heights-none);
156
+ font-weight: var(--font-weights-medium);
157
+ }
158
+ .peer:is(:disabled, [disabled], [data-disabled]) ~ .label {
159
+ cursor: not-allowed;
160
+ opacity: 0.7
161
+ }
162
+ }
163
+
164
+ @layer _base {
165
+ .button {
166
+ display: inline-flex;
167
+ align-items: center;
168
+ justify-content: center;
169
+ border-radius: var(--radii-md);
170
+ font-size: 0.875rem;
171
+ line-height: 1.25rem;
172
+ font-weight: var(--font-weights-medium);
173
+ transition-property: var(--transition-prop, color, background-color, border-color, outline-color, text-decoration-color, fill, stroke);
174
+ transition-timing-function: var(--transition-easing, cubic-bezier(0.4, 0, 0.2, 1));
175
+ transition-duration: var(--transition-duration, 150ms);
176
+ cursor: pointer;
177
+ --shadow-panda-ring-offset-color: var(--colors-background);
178
+ gap: var(--spacing-2);
179
+ }
180
+ .button:is(:disabled, [disabled], [data-disabled]) {
181
+ pointer-events: none;
182
+ opacity: 50%
183
+ }
184
+ .button:is(:focus-visible, [data-focus-visible]) {
185
+ outline: 2px solid transparent;
186
+ outline-offset: 2px;
187
+ --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);
188
+ --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);
189
+ box-shadow: var(--shadow-panda-ring-offset-shadow),var(--shadow-panda-ring-shadow),var(--shadow-panda-base-shadow,0 0 #0000);
190
+ --shadow-panda-ring-color: var(--colors-ring)
191
+ ;
192
+ --shadow-panda-ring-offset-width: 2px
193
+
194
+ }
195
+ }
196
+ }
@@ -0,0 +1,26 @@
1
+ @layer utilities {
2
+
3
+ .d_flex {
4
+ display: flex
5
+ }
6
+
7
+ .items_center {
8
+ align-items: center
9
+ }
10
+
11
+ .justify_center {
12
+ justify-content: center
13
+ }
14
+
15
+ .h_container\.xs {
16
+ height: var(--sizes-container-xs)
17
+ }
18
+
19
+ .rounded_common {
20
+ border-radius: var(--radii-common)
21
+ }
22
+
23
+ .border_base {
24
+ border: var(--borders-base)
25
+ }
26
+ }
@@ -0,0 +1,70 @@
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
+ }
@@ -0,0 +1,21 @@
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;
@@ -0,0 +1,19 @@
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
@@ -0,0 +1 @@
1
+ /* eslint-disable */
@@ -0,0 +1,206 @@
1
+ @layer reset {
2
+ * {
3
+ margin: 0;
4
+ padding: 0;
5
+ font: inherit;
6
+ }
7
+
8
+ *,
9
+ *::before,
10
+ *::after {
11
+ box-sizing: border-box;
12
+ border-width: 0;
13
+ border-style: solid;
14
+ border-color: var(--global-color-border, currentColor);
15
+ }
16
+
17
+ html {
18
+ line-height: 1.5;
19
+ --font-fallback: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
20
+ 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
21
+ 'Noto Color Emoji';
22
+ -webkit-text-size-adjust: 100%;
23
+ -webkit-font-smoothing: antialiased;
24
+ -moz-osx-font-smoothing: grayscale;
25
+ -moz-tab-size: 4;
26
+ tab-size: 4;
27
+ font-family: var(--global-font-body, var(--font-fallback));
28
+ }
29
+
30
+ hr {
31
+ height: 0;
32
+ color: inherit;
33
+ border-top-width: 1px;
34
+ }
35
+
36
+ body {
37
+ height: 100%;
38
+ line-height: inherit;
39
+ }
40
+
41
+ img {
42
+ border-style: none;
43
+ }
44
+
45
+ img,
46
+ svg,
47
+ video,
48
+ canvas,
49
+ audio,
50
+ iframe,
51
+ embed,
52
+ object {
53
+ display: block;
54
+ vertical-align: middle;
55
+ }
56
+
57
+ img,
58
+ video {
59
+ max-width: 100%;
60
+ height: auto;
61
+ }
62
+
63
+ p,
64
+ h1,
65
+ h2,
66
+ h3,
67
+ h4,
68
+ h5,
69
+ h6 {
70
+ overflow-wrap: break-word;
71
+ }
72
+
73
+ ol,
74
+ ul {
75
+ list-style: none;
76
+ }
77
+
78
+ code,
79
+ kbd,
80
+ pre,
81
+ samp {
82
+ font-size: 1em;
83
+ }
84
+
85
+ button,
86
+ [type='button'],
87
+ [type='reset'],
88
+ [type='submit'] {
89
+ -webkit-appearance: button;
90
+ background-color: transparent;
91
+ background-image: none;
92
+ }
93
+
94
+ button,
95
+ select {
96
+ text-transform: none;
97
+ }
98
+
99
+ table {
100
+ text-indent: 0;
101
+ border-color: inherit;
102
+ border-collapse: collapse;
103
+ }
104
+
105
+ input::placeholder,
106
+ textarea::placeholder {
107
+ opacity: 1;
108
+ color: var(--global-color-placeholder, #9ca3af);
109
+ }
110
+
111
+ textarea {
112
+ resize: vertical;
113
+ }
114
+
115
+ summary {
116
+ display: list-item;
117
+ }
118
+
119
+ small {
120
+ font-size: 80%;
121
+ }
122
+
123
+ sub,
124
+ sup {
125
+ font-size: 75%;
126
+ line-height: 0;
127
+ position: relative;
128
+ vertical-align: baseline;
129
+ }
130
+
131
+ sub {
132
+ bottom: -0.25em;
133
+ }
134
+
135
+ sup {
136
+ top: -0.5em;
137
+ }
138
+
139
+ dialog {
140
+ padding: 0;
141
+ }
142
+
143
+ a {
144
+ color: inherit;
145
+ text-decoration: inherit;
146
+ }
147
+
148
+ abbr:where([title]) {
149
+ text-decoration: underline dotted;
150
+ }
151
+
152
+ b,
153
+ strong {
154
+ font-weight: bolder;
155
+ }
156
+
157
+ code,
158
+ kbd,
159
+ samp,
160
+ pre {
161
+ font-size: 1em;
162
+ --font-mono-fallback: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New';
163
+ font-family: var(--global-font-mono, var(--font-fallback));
164
+ }
165
+
166
+
167
+ input[type="text"],
168
+ input[type="email"],
169
+ input[type="search"],
170
+ input[type="password"] {
171
+ -webkit-appearance: none;
172
+ -moz-appearance: none;
173
+ }
174
+
175
+ input[type='search'] {
176
+ -webkit-appearance: textfield;
177
+ outline-offset: -2px;
178
+ }
179
+
180
+ ::-webkit-search-decoration,
181
+ ::-webkit-search-cancel-button {
182
+ -webkit-appearance: none;
183
+ }
184
+
185
+ ::-webkit-file-upload-button {
186
+ -webkit-appearance: button;
187
+ font: inherit;
188
+ }
189
+
190
+ input[type="number"]::-webkit-inner-spin-button,
191
+ input[type="number"]::-webkit-outer-spin-button {
192
+ height: auto;
193
+ }
194
+
195
+ input[type='number']{
196
+ -moz-appearance: textfield;
197
+ }
198
+
199
+ :-moz-ui-invalid {
200
+ box-shadow: none;
201
+ }
202
+
203
+ :-moz-focusring {
204
+ outline: auto;
205
+ }
206
+ }