@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.
- package/LICENSE.md +1 -0
- package/README.md +14 -0
- package/dist/index.css +3 -0
- package/dist/panda.css +1474 -0
- package/dist/src/components/Node.d.ts +5 -0
- package/dist/src/components/Node.js +42 -0
- package/dist/src/components/PipelineCanvas.d.ts +7 -0
- package/dist/src/components/PipelineCanvas.js +56 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/index.js +2 -0
- package/dist/src/services/pipeline.d.ts +51 -0
- package/dist/src/services/pipeline.js +40 -0
- package/dist/src/styled-system/chunks/src__components__Node.css +195 -0
- package/dist/src/styled-system/chunks/src__components__PipelineCanvas.css +25 -0
- package/dist/src/styled-system/css/conditions.mjs +34 -0
- package/dist/src/styled-system/css/css.d.mts +9 -0
- package/dist/src/styled-system/css/css.mjs +44 -0
- package/dist/src/styled-system/css/cva.d.mts +6 -0
- package/dist/src/styled-system/css/cva.mjs +63 -0
- package/dist/src/styled-system/css/cx.d.mts +5 -0
- package/dist/src/styled-system/css/cx.mjs +15 -0
- package/dist/src/styled-system/css/index.d.mts +5 -0
- package/dist/src/styled-system/css/index.mjs +4 -0
- package/dist/src/styled-system/css/sva.d.mts +4 -0
- package/dist/src/styled-system/css/sva.mjs +35 -0
- package/dist/src/styled-system/global.css +70 -0
- package/dist/src/styled-system/helpers.mjs +282 -0
- package/dist/src/styled-system/patterns/aspect-ratio.d.mts +21 -0
- package/dist/src/styled-system/patterns/aspect-ratio.mjs +35 -0
- package/dist/src/styled-system/patterns/bleed.d.mts +22 -0
- package/dist/src/styled-system/patterns/bleed.mjs +19 -0
- package/dist/src/styled-system/patterns/box.d.mts +21 -0
- package/dist/src/styled-system/patterns/box.mjs +12 -0
- package/dist/src/styled-system/patterns/center.d.mts +21 -0
- package/dist/src/styled-system/patterns/center.mjs +18 -0
- package/dist/src/styled-system/patterns/circle.d.mts +21 -0
- package/dist/src/styled-system/patterns/circle.mjs +22 -0
- package/dist/src/styled-system/patterns/container.d.mts +21 -0
- package/dist/src/styled-system/patterns/container.mjs +18 -0
- package/dist/src/styled-system/patterns/divider.d.mts +23 -0
- package/dist/src/styled-system/patterns/divider.mjs +21 -0
- package/dist/src/styled-system/patterns/flex.d.mts +27 -0
- package/dist/src/styled-system/patterns/flex.mjs +23 -0
- package/dist/src/styled-system/patterns/float.d.mts +24 -0
- package/dist/src/styled-system/patterns/float.mjs +45 -0
- package/dist/src/styled-system/patterns/grid-item.d.mts +26 -0
- package/dist/src/styled-system/patterns/grid-item.mjs +22 -0
- package/dist/src/styled-system/patterns/grid.d.mts +25 -0
- package/dist/src/styled-system/patterns/grid.mjs +20 -0
- package/dist/src/styled-system/patterns/hstack.d.mts +22 -0
- package/dist/src/styled-system/patterns/hstack.mjs +20 -0
- package/dist/src/styled-system/patterns/index.d.mts +21 -0
- package/dist/src/styled-system/patterns/index.mjs +20 -0
- package/dist/src/styled-system/patterns/link-box.d.mts +21 -0
- package/dist/src/styled-system/patterns/link-box.mjs +19 -0
- package/dist/src/styled-system/patterns/link-overlay.d.mts +21 -0
- package/dist/src/styled-system/patterns/link-overlay.mjs +24 -0
- package/dist/src/styled-system/patterns/spacer.d.mts +21 -0
- package/dist/src/styled-system/patterns/spacer.mjs +18 -0
- package/dist/src/styled-system/patterns/square.d.mts +21 -0
- package/dist/src/styled-system/patterns/square.mjs +21 -0
- package/dist/src/styled-system/patterns/stack.d.mts +24 -0
- package/dist/src/styled-system/patterns/stack.mjs +20 -0
- package/dist/src/styled-system/patterns/visually-hidden.d.mts +21 -0
- package/dist/src/styled-system/patterns/visually-hidden.mjs +15 -0
- package/dist/src/styled-system/patterns/vstack.d.mts +22 -0
- package/dist/src/styled-system/patterns/vstack.mjs +20 -0
- package/dist/src/styled-system/patterns/wrap.d.mts +25 -0
- package/dist/src/styled-system/patterns/wrap.mjs +22 -0
- package/dist/src/styled-system/recipes/accordion.d.mts +28 -0
- package/dist/src/styled-system/recipes/accordion.mjs +46 -0
- package/dist/src/styled-system/recipes/alert-description.d.mts +28 -0
- package/dist/src/styled-system/recipes/alert-description.mjs +19 -0
- package/dist/src/styled-system/recipes/alert-dialog.d.mts +28 -0
- package/dist/src/styled-system/recipes/alert-dialog.mjs +70 -0
- package/dist/src/styled-system/recipes/alert-title.d.mts +28 -0
- package/dist/src/styled-system/recipes/alert-title.mjs +19 -0
- package/dist/src/styled-system/recipes/alert.d.mts +28 -0
- package/dist/src/styled-system/recipes/alert.mjs +26 -0
- package/dist/src/styled-system/recipes/avatar.d.mts +28 -0
- package/dist/src/styled-system/recipes/avatar.mjs +38 -0
- package/dist/src/styled-system/recipes/badge.d.mts +28 -0
- package/dist/src/styled-system/recipes/badge.mjs +28 -0
- package/dist/src/styled-system/recipes/blockquote.d.mts +28 -0
- package/dist/src/styled-system/recipes/blockquote.mjs +19 -0
- package/dist/src/styled-system/recipes/button.d.mts +29 -0
- package/dist/src/styled-system/recipes/button.mjs +37 -0
- package/dist/src/styled-system/recipes/calendar.d.mts +28 -0
- package/dist/src/styled-system/recipes/calendar.mjs +118 -0
- package/dist/src/styled-system/recipes/card-content.d.mts +28 -0
- package/dist/src/styled-system/recipes/card-content.mjs +19 -0
- package/dist/src/styled-system/recipes/card-description.d.mts +28 -0
- package/dist/src/styled-system/recipes/card-description.mjs +19 -0
- package/dist/src/styled-system/recipes/card-footer.d.mts +28 -0
- package/dist/src/styled-system/recipes/card-footer.mjs +19 -0
- package/dist/src/styled-system/recipes/card-header.d.mts +28 -0
- package/dist/src/styled-system/recipes/card-header.mjs +19 -0
- package/dist/src/styled-system/recipes/card-title.d.mts +28 -0
- package/dist/src/styled-system/recipes/card-title.mjs +19 -0
- package/dist/src/styled-system/recipes/card.d.mts +28 -0
- package/dist/src/styled-system/recipes/card.mjs +19 -0
- package/dist/src/styled-system/recipes/checkbox.d.mts +28 -0
- package/dist/src/styled-system/recipes/checkbox.mjs +34 -0
- package/dist/src/styled-system/recipes/collapsible.d.mts +28 -0
- package/dist/src/styled-system/recipes/collapsible.mjs +38 -0
- package/dist/src/styled-system/recipes/command-dialog.d.mts +28 -0
- package/dist/src/styled-system/recipes/command-dialog.mjs +34 -0
- package/dist/src/styled-system/recipes/command.d.mts +28 -0
- package/dist/src/styled-system/recipes/command.mjs +66 -0
- package/dist/src/styled-system/recipes/context-menu.d.mts +28 -0
- package/dist/src/styled-system/recipes/context-menu.mjs +98 -0
- package/dist/src/styled-system/recipes/create-recipe.d.mts +1 -0
- package/dist/src/styled-system/recipes/create-recipe.mjs +50 -0
- package/dist/src/styled-system/recipes/dialog.d.mts +28 -0
- package/dist/src/styled-system/recipes/dialog.mjs +66 -0
- package/dist/src/styled-system/recipes/dropdown-menu.d.mts +28 -0
- package/dist/src/styled-system/recipes/dropdown-menu.mjs +90 -0
- package/dist/src/styled-system/recipes/form-control.d.mts +28 -0
- package/dist/src/styled-system/recipes/form-control.mjs +19 -0
- package/dist/src/styled-system/recipes/form-description.d.mts +28 -0
- package/dist/src/styled-system/recipes/form-description.mjs +19 -0
- package/dist/src/styled-system/recipes/form-item.d.mts +28 -0
- package/dist/src/styled-system/recipes/form-item.mjs +19 -0
- package/dist/src/styled-system/recipes/form-label.d.mts +28 -0
- package/dist/src/styled-system/recipes/form-label.mjs +19 -0
- package/dist/src/styled-system/recipes/form-message.d.mts +28 -0
- package/dist/src/styled-system/recipes/form-message.mjs +19 -0
- package/dist/src/styled-system/recipes/h1.d.mts +28 -0
- package/dist/src/styled-system/recipes/h1.mjs +19 -0
- package/dist/src/styled-system/recipes/h2.d.mts +28 -0
- package/dist/src/styled-system/recipes/h2.mjs +19 -0
- package/dist/src/styled-system/recipes/h3.d.mts +28 -0
- package/dist/src/styled-system/recipes/h3.mjs +19 -0
- package/dist/src/styled-system/recipes/h4.d.mts +28 -0
- package/dist/src/styled-system/recipes/h4.mjs +19 -0
- package/dist/src/styled-system/recipes/hover-card.d.mts +28 -0
- package/dist/src/styled-system/recipes/hover-card.mjs +38 -0
- package/dist/src/styled-system/recipes/icon.d.mts +32 -0
- package/dist/src/styled-system/recipes/icon.mjs +49 -0
- package/dist/src/styled-system/recipes/index.d.mts +74 -0
- package/dist/src/styled-system/recipes/index.mjs +73 -0
- package/dist/src/styled-system/recipes/inline-code.d.mts +28 -0
- package/dist/src/styled-system/recipes/inline-code.mjs +19 -0
- package/dist/src/styled-system/recipes/input.d.mts +28 -0
- package/dist/src/styled-system/recipes/input.mjs +19 -0
- package/dist/src/styled-system/recipes/label.d.mts +28 -0
- package/dist/src/styled-system/recipes/label.mjs +19 -0
- package/dist/src/styled-system/recipes/large.d.mts +28 -0
- package/dist/src/styled-system/recipes/large.mjs +19 -0
- package/dist/src/styled-system/recipes/lead.d.mts +28 -0
- package/dist/src/styled-system/recipes/lead.mjs +19 -0
- package/dist/src/styled-system/recipes/link.d.mts +28 -0
- package/dist/src/styled-system/recipes/link.mjs +19 -0
- package/dist/src/styled-system/recipes/list.d.mts +28 -0
- package/dist/src/styled-system/recipes/list.mjs +19 -0
- package/dist/src/styled-system/recipes/menubar.d.mts +28 -0
- package/dist/src/styled-system/recipes/menubar.mjs +94 -0
- package/dist/src/styled-system/recipes/muted.d.mts +28 -0
- package/dist/src/styled-system/recipes/muted.mjs +19 -0
- package/dist/src/styled-system/recipes/navigation-menu.d.mts +28 -0
- package/dist/src/styled-system/recipes/navigation-menu.mjs +62 -0
- package/dist/src/styled-system/recipes/p.d.mts +28 -0
- package/dist/src/styled-system/recipes/p.mjs +19 -0
- package/dist/src/styled-system/recipes/popover.d.mts +28 -0
- package/dist/src/styled-system/recipes/popover.mjs +42 -0
- package/dist/src/styled-system/recipes/progress.d.mts +28 -0
- package/dist/src/styled-system/recipes/progress.mjs +34 -0
- package/dist/src/styled-system/recipes/radio-group.d.mts +28 -0
- package/dist/src/styled-system/recipes/radio-group.mjs +42 -0
- package/dist/src/styled-system/recipes/scroll-area.d.mts +28 -0
- package/dist/src/styled-system/recipes/scroll-area.mjs +46 -0
- package/dist/src/styled-system/recipes/select.d.mts +28 -0
- package/dist/src/styled-system/recipes/select.mjs +66 -0
- package/dist/src/styled-system/recipes/separator.d.mts +28 -0
- package/dist/src/styled-system/recipes/separator.mjs +26 -0
- package/dist/src/styled-system/recipes/sheet.d.mts +28 -0
- package/dist/src/styled-system/recipes/sheet.mjs +81 -0
- package/dist/src/styled-system/recipes/skeleton.d.mts +28 -0
- package/dist/src/styled-system/recipes/skeleton.mjs +19 -0
- package/dist/src/styled-system/recipes/slider.d.mts +28 -0
- package/dist/src/styled-system/recipes/slider.mjs +42 -0
- package/dist/src/styled-system/recipes/small.d.mts +28 -0
- package/dist/src/styled-system/recipes/small.mjs +19 -0
- package/dist/src/styled-system/recipes/switch-recipe.d.mts +28 -0
- package/dist/src/styled-system/recipes/switch-recipe.mjs +34 -0
- package/dist/src/styled-system/recipes/table-body.d.mts +28 -0
- package/dist/src/styled-system/recipes/table-body.mjs +19 -0
- package/dist/src/styled-system/recipes/table-caption.d.mts +28 -0
- package/dist/src/styled-system/recipes/table-caption.mjs +19 -0
- package/dist/src/styled-system/recipes/table-cell.d.mts +28 -0
- package/dist/src/styled-system/recipes/table-cell.mjs +19 -0
- package/dist/src/styled-system/recipes/table-container.d.mts +28 -0
- package/dist/src/styled-system/recipes/table-container.mjs +19 -0
- package/dist/src/styled-system/recipes/table-footer.d.mts +28 -0
- package/dist/src/styled-system/recipes/table-footer.mjs +19 -0
- package/dist/src/styled-system/recipes/table-head.d.mts +28 -0
- package/dist/src/styled-system/recipes/table-head.mjs +19 -0
- package/dist/src/styled-system/recipes/table-header.d.mts +28 -0
- package/dist/src/styled-system/recipes/table-header.mjs +19 -0
- package/dist/src/styled-system/recipes/table-row.d.mts +28 -0
- package/dist/src/styled-system/recipes/table-row.mjs +19 -0
- package/dist/src/styled-system/recipes/table.d.mts +28 -0
- package/dist/src/styled-system/recipes/table.mjs +19 -0
- package/dist/src/styled-system/recipes/tabs.d.mts +28 -0
- package/dist/src/styled-system/recipes/tabs.mjs +42 -0
- package/dist/src/styled-system/recipes/textarea.d.mts +28 -0
- package/dist/src/styled-system/recipes/textarea.mjs +19 -0
- package/dist/src/styled-system/recipes/toast-viewport.d.mts +28 -0
- package/dist/src/styled-system/recipes/toast-viewport.mjs +19 -0
- package/dist/src/styled-system/recipes/toast.d.mts +28 -0
- package/dist/src/styled-system/recipes/toast.mjs +59 -0
- package/dist/src/styled-system/recipes/toggle.d.mts +29 -0
- package/dist/src/styled-system/recipes/toggle.mjs +32 -0
- package/dist/src/styled-system/recipes/tooltip.d.mts +28 -0
- package/dist/src/styled-system/recipes/tooltip.mjs +38 -0
- package/dist/src/styled-system/recipes/typography-table-container.d.mts +28 -0
- package/dist/src/styled-system/recipes/typography-table-container.mjs +19 -0
- package/dist/src/styled-system/recipes/typography-table.d.mts +28 -0
- package/dist/src/styled-system/recipes/typography-table.mjs +19 -0
- package/dist/src/styled-system/reset.css +206 -0
- package/dist/src/styled-system/static.css +320 -0
- package/dist/src/styled-system/tokens/index.css +620 -0
- package/dist/src/styled-system/tokens/index.d.mts +9 -0
- package/dist/src/styled-system/tokens/index.mjs +2680 -0
- package/dist/src/styled-system/tokens/keyframes.css +56 -0
- package/dist/src/styled-system/tokens/tokens.d.mts +63 -0
- package/dist/src/styled-system/types/composition.d.mts +111 -0
- package/dist/src/styled-system/types/conditions.d.mts +266 -0
- package/dist/src/styled-system/types/csstype.d.mts +20749 -0
- package/dist/src/styled-system/types/global.d.mts +19 -0
- package/dist/src/styled-system/types/helpers.d.mts +2 -0
- package/dist/src/styled-system/types/index.d.mts +8 -0
- package/dist/src/styled-system/types/parts.d.mts +6 -0
- package/dist/src/styled-system/types/pattern.d.mts +61 -0
- package/dist/src/styled-system/types/prop-type.d.mts +340 -0
- package/dist/src/styled-system/types/recipe.d.mts +148 -0
- package/dist/src/styled-system/types/selectors.d.mts +59 -0
- package/dist/src/styled-system/types/style-props.d.mts +687 -0
- package/dist/src/styled-system/types/system-types.d.mts +85 -0
- package/package.json +63 -0
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
@layer recipes.slots {
|
|
2
|
+
.toast__root--variant_default {
|
|
3
|
+
border: var(--borders-base);
|
|
4
|
+
background: var(--colors-background);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.toast__root--variant_destructive {
|
|
8
|
+
border: var(--borders-destructive);
|
|
9
|
+
background: var(--colors-destructive);
|
|
10
|
+
color: var(--colors-destructive-foreground);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.toast__action--variant_destructive {
|
|
14
|
+
--sp-bca: color-mix(in srgb, transparent 60%, var(--colors-muted));
|
|
15
|
+
border-color: var(--sp-bca, var(--colors-muted));
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.toast__close--variant_destructive {
|
|
19
|
+
color: var(--colors-red-300);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.toast__action--variant_destructive:is(:focus, [data-focus]) {
|
|
23
|
+
--shadow-panda-ring-color: var(--colors-destructive)
|
|
24
|
+
;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.toast__close--variant_destructive:is(:focus, [data-focus]) {
|
|
28
|
+
--shadow-panda-ring-color: var(--colors-red-400)
|
|
29
|
+
;
|
|
30
|
+
--shadow-panda-ring-offset-color: var(--colors-red-600)
|
|
31
|
+
;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.toast__action--variant_destructive:is(:hover, [data-hover]) {
|
|
35
|
+
--sp-bca: color-mix(in srgb, transparent 70%, var(--colors-destructive));
|
|
36
|
+
border-color: var(--sp-bca, var(--colors-destructive));
|
|
37
|
+
background: var(--colors-destructive);
|
|
38
|
+
color: var(--colors-destructive-foreground);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.toast__close--variant_destructive:is(:hover, [data-hover]) {
|
|
42
|
+
color: var(--colors-red-50);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@layer _base {
|
|
46
|
+
|
|
47
|
+
.toast__root {
|
|
48
|
+
pointer-events: auto;
|
|
49
|
+
position: relative;
|
|
50
|
+
display: flex;
|
|
51
|
+
width: var(--sizes-full);
|
|
52
|
+
align-items: center;
|
|
53
|
+
justify-content: space-between;
|
|
54
|
+
gap: var(--spacing-4);
|
|
55
|
+
overflow: hidden;
|
|
56
|
+
border-radius: var(--radii-md);
|
|
57
|
+
border: var(--borders-base);
|
|
58
|
+
padding: var(--spacing-6);
|
|
59
|
+
padding-right: var(--spacing-8);
|
|
60
|
+
box-shadow: var(--shadows-lg);
|
|
61
|
+
transition-property: var(--transition-prop, all);
|
|
62
|
+
transition-timing-function: var(--transition-easing, cubic-bezier(0.4, 0, 0.2, 1));
|
|
63
|
+
transition-duration: var(--transition-duration, 150ms);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.toast__root[data-swipe=cancel] {
|
|
67
|
+
transform: translateX(0);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.toast__root[data-swipe=end] {
|
|
71
|
+
transform: translateX(var(--radix-toast-swipe-end-x));
|
|
72
|
+
animation-name: exit;
|
|
73
|
+
animation-duration: var(--durations-fast);
|
|
74
|
+
--shadow-panda-exit-opacity: 1;
|
|
75
|
+
--shadow-panda-exit-scale: 1;
|
|
76
|
+
--shadow-panda-exit-rotate: 0;
|
|
77
|
+
--shadow-panda-exit-translate-x: 0;
|
|
78
|
+
--shadow-panda-exit-translate-y: 0
|
|
79
|
+
;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.toast__root[data-swipe=move] {
|
|
83
|
+
transform: translateX(var(--radix-toast-swipe-move-x));
|
|
84
|
+
transition: none;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.toast__root[data-state=open] {
|
|
88
|
+
animation-name: enter;
|
|
89
|
+
animation-duration: var(--durations-fast);
|
|
90
|
+
--shadow-panda-enter-opacity: 1;
|
|
91
|
+
--shadow-panda-enter-scale: 1;
|
|
92
|
+
--shadow-panda-enter-rotate: 0;
|
|
93
|
+
--shadow-panda-enter-translate-x: 0;
|
|
94
|
+
--shadow-panda-enter-translate-y: calc(100% * -1)
|
|
95
|
+
;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.toast__root[data-state=closed] {
|
|
99
|
+
animation-name: exit;
|
|
100
|
+
animation-duration: var(--durations-fast);
|
|
101
|
+
--shadow-panda-exit-opacity: 0.8
|
|
102
|
+
;
|
|
103
|
+
--shadow-panda-exit-scale: 1;
|
|
104
|
+
--shadow-panda-exit-rotate: 0;
|
|
105
|
+
--shadow-panda-exit-translate-x: 100%
|
|
106
|
+
;
|
|
107
|
+
--shadow-panda-exit-translate-y: 0
|
|
108
|
+
;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.toast__action {
|
|
112
|
+
display: inline-flex;
|
|
113
|
+
height: var(--sizes-8);
|
|
114
|
+
flex-shrink: 0;
|
|
115
|
+
align-items: center;
|
|
116
|
+
justify-content: center;
|
|
117
|
+
border-radius: var(--radii-md);
|
|
118
|
+
border: var(--borders-base);
|
|
119
|
+
background: var(--colors-transparent);
|
|
120
|
+
padding-inline: var(--spacing-3);
|
|
121
|
+
font-size: 0.875rem;
|
|
122
|
+
line-height: 1.25rem;
|
|
123
|
+
font-weight: var(--font-weights-medium);
|
|
124
|
+
--shadow-panda-ring-offset-color: var(--colors-background);
|
|
125
|
+
transition-property: var(--transition-prop, color, background-color, border-color, outline-color, text-decoration-color, fill, stroke);
|
|
126
|
+
transition-timing-function: var(--transition-easing, cubic-bezier(0.4, 0, 0.2, 1));
|
|
127
|
+
transition-duration: var(--transition-duration, 150ms);
|
|
128
|
+
cursor: pointer;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.toast__action:is(:disabled, [disabled], [data-disabled]) {
|
|
132
|
+
pointer-events: none;
|
|
133
|
+
opacity: 0.5;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.toast__close {
|
|
137
|
+
position: absolute;
|
|
138
|
+
right: var(--spacing-2);
|
|
139
|
+
top: var(--spacing-2);
|
|
140
|
+
border-radius: var(--radii-md);
|
|
141
|
+
padding: var(--spacing-1);
|
|
142
|
+
--sp-ca: color-mix(in srgb, transparent 50%, var(--colors-foreground));
|
|
143
|
+
color: var(--sp-ca, var(--colors-foreground));
|
|
144
|
+
opacity: 0;
|
|
145
|
+
transition-property: var(--transition-prop, opacity);
|
|
146
|
+
transition-timing-function: var(--transition-easing, cubic-bezier(0.4, 0, 0.2, 1));
|
|
147
|
+
transition-duration: var(--transition-duration, 150ms);
|
|
148
|
+
cursor: pointer;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.toast__title {
|
|
152
|
+
font-weight: var(--font-weights-semibold);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.toast__title,.toast__description {
|
|
156
|
+
font-size: 0.875rem;
|
|
157
|
+
line-height: 1.25rem;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.toast__description {
|
|
161
|
+
opacity: 0.9;
|
|
162
|
+
}
|
|
163
|
+
|
|
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
|
+
|
|
180
|
+
.button:is(:disabled, [disabled], [data-disabled]) {
|
|
181
|
+
pointer-events: none;
|
|
182
|
+
opacity: 50%;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.toast__action:is(:focus, [data-focus]) {
|
|
186
|
+
outline: 2px solid transparent;
|
|
187
|
+
outline-offset: 2px;
|
|
188
|
+
--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);
|
|
189
|
+
--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);
|
|
190
|
+
box-shadow: var(--shadow-panda-ring-offset-shadow),var(--shadow-panda-ring-shadow),var(--shadow-panda-base-shadow,0 0 #0000);
|
|
191
|
+
--shadow-panda-ring-color: var(--colors-ring)
|
|
192
|
+
;
|
|
193
|
+
--shadow-panda-ring-offset-width: 2px
|
|
194
|
+
;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.toast__close:is(:focus, [data-focus]) {
|
|
198
|
+
opacity: 1;
|
|
199
|
+
outline: 2px solid transparent;
|
|
200
|
+
outline-offset: 2px;
|
|
201
|
+
--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);
|
|
202
|
+
--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);
|
|
203
|
+
box-shadow: var(--shadow-panda-ring-offset-shadow),var(--shadow-panda-ring-shadow),var(--shadow-panda-base-shadow,0 0 #0000);
|
|
204
|
+
--shadow-panda-ring-color: var(--colors-ring)
|
|
205
|
+
;
|
|
206
|
+
--shadow-panda-ring-offset-width: 2px
|
|
207
|
+
;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.button:is(:focus-visible, [data-focus-visible]) {
|
|
211
|
+
outline: 2px solid transparent;
|
|
212
|
+
outline-offset: 2px;
|
|
213
|
+
--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);
|
|
214
|
+
--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);
|
|
215
|
+
box-shadow: var(--shadow-panda-ring-offset-shadow),var(--shadow-panda-ring-shadow),var(--shadow-panda-base-shadow,0 0 #0000);
|
|
216
|
+
--shadow-panda-ring-color: var(--colors-ring)
|
|
217
|
+
;
|
|
218
|
+
--shadow-panda-ring-offset-width: 2px
|
|
219
|
+
;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.toast__action:is(:hover, [data-hover]) {
|
|
223
|
+
background: var(--colors-secondary);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.toast__close:is(:hover, [data-hover]) {
|
|
227
|
+
color: var(--colors-foreground);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.group:is(:hover, [data-hover]) .toast__close {
|
|
231
|
+
opacity: 1;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
@media screen and (min-width: 40em) {
|
|
235
|
+
.toast__root[data-state=open] {
|
|
236
|
+
--shadow-panda-enter-translate-y: 100%
|
|
237
|
+
;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
@layer recipes {
|
|
244
|
+
.button--variant_destructive {
|
|
245
|
+
background: var(--colors-destructive);
|
|
246
|
+
color: var(--colors-destructive-foreground);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.button--variant_outline {
|
|
250
|
+
border: var(--borders-input);
|
|
251
|
+
background: var(--colors-background);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.button--variant_secondary {
|
|
255
|
+
background: var(--colors-secondary);
|
|
256
|
+
color: var(--colors-secondary-foreground);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.button--variant_link {
|
|
260
|
+
color: var(--colors-primary);
|
|
261
|
+
text-underline-offset: 4px;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.button--size_default {
|
|
265
|
+
height: var(--sizes-10);
|
|
266
|
+
padding-inline: var(--spacing-4);
|
|
267
|
+
padding-block: var(--spacing-2);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.button--size_sm {
|
|
271
|
+
height: var(--sizes-9);
|
|
272
|
+
border-radius: var(--radii-md);
|
|
273
|
+
padding-inline: var(--spacing-3);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.button--size_lg {
|
|
277
|
+
height: var(--sizes-11);
|
|
278
|
+
border-radius: var(--radii-md);
|
|
279
|
+
padding-inline: var(--spacing-8);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.button--variant_default {
|
|
283
|
+
background: var(--colors-primary);
|
|
284
|
+
color: var(--colors-primary-foreground);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.button--size_icon {
|
|
288
|
+
height: var(--sizes-10);
|
|
289
|
+
width: var(--sizes-10);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.button--variant_destructive:is(:hover, [data-hover]) {
|
|
293
|
+
--sp-bga: color-mix(in srgb, transparent NaN, var(--colors-destructive));
|
|
294
|
+
background-color: var(--sp-bga, var(--colors-destructive));
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.button--variant_outline:is(:hover, [data-hover]) {
|
|
298
|
+
background: var(--colors-accent);
|
|
299
|
+
color: var(--colors-accent-foreground);
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.button--variant_secondary:is(:hover, [data-hover]) {
|
|
303
|
+
--sp-bga: color-mix(in srgb, transparent NaN, var(--colors-secondary));
|
|
304
|
+
background-color: var(--sp-bga, var(--colors-secondary));
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.button--variant_ghost:is(:hover, [data-hover]) {
|
|
308
|
+
background: var(--colors-accent);
|
|
309
|
+
color: var(--colors-accent-foreground);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.button--variant_link:is(:hover, [data-hover]) {
|
|
313
|
+
text-decoration: underline;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.button--variant_default:is(:hover, [data-hover]) {
|
|
317
|
+
--sp-bga: color-mix(in srgb, transparent NaN, var(--colors-primary));
|
|
318
|
+
background-color: var(--sp-bga, var(--colors-primary));
|
|
319
|
+
}
|
|
320
|
+
}
|