@stagewise/ui 0.8.0 → 0.10.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 (48) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/src/components/ui/alert-dialog.tsx +21 -4
  4. package/src/components/ui/avatar.tsx +3 -6
  5. package/src/components/ui/badge.tsx +1 -1
  6. package/src/components/ui/bubble.tsx +2 -2
  7. package/src/components/ui/button-group.tsx +2 -2
  8. package/src/components/ui/button.tsx +1 -1
  9. package/src/components/ui/checkbox.tsx +1 -1
  10. package/src/components/ui/combobox.tsx +1 -1
  11. package/src/components/ui/command.tsx +1 -1
  12. package/src/components/ui/dialog-lifecycle.tsx +66 -0
  13. package/src/components/ui/dialog.tsx +15 -4
  14. package/src/components/ui/dropdown-menu.tsx +3 -3
  15. package/src/components/ui/input-group.tsx +1 -1
  16. package/src/components/ui/input-otp.tsx +1 -1
  17. package/src/components/ui/input.tsx +1 -1
  18. package/src/components/ui/item.tsx +1 -1
  19. package/src/components/ui/klex-logo.tsx +1 -2
  20. package/src/components/ui/marker.tsx +1 -1
  21. package/src/components/ui/native-select.tsx +1 -1
  22. package/src/components/ui/questionnaire.tsx +4 -4
  23. package/src/components/ui/radio-group.tsx +1 -1
  24. package/src/components/ui/scroll-area.tsx +6 -1
  25. package/src/components/ui/select.tsx +1 -1
  26. package/src/components/ui/sidebar.tsx +14 -1
  27. package/src/components/ui/textarea.tsx +1 -1
  28. package/src/components/ui/toggle.tsx +1 -1
  29. package/src/components/ui/trace.tsx +183 -0
  30. package/src/icons/custom/ui-outline-18/IconCalendarOutline18.tsx +28 -0
  31. package/src/icons/custom/ui-outline-18/IconCrownOutline18.tsx +18 -0
  32. package/src/icons/custom/ui-outline-18/IconResizeGripOutline18.tsx +18 -0
  33. package/src/icons/custom/ui-outline-18/IconUserMinusOutline18.tsx +26 -0
  34. package/src/icons/custom/ui-outline-18/IconUserOutline18.tsx +26 -0
  35. package/src/icons/custom/ui-outline-18/index.ts +5 -0
  36. package/src/icons/index.ts +5 -0
  37. package/src/icons/nucleo/ui-outline-18/IconArrowDoorOut3Outline18.tsx +50 -0
  38. package/src/icons/nucleo/ui-outline-18/IconMediaPauseOutline18.tsx +40 -0
  39. package/src/icons/nucleo/ui-outline-18/IconMediaPlayOutline18.tsx +22 -0
  40. package/src/icons/nucleo/ui-outline-18/IconPaperPlane2Outline18.tsx +33 -0
  41. package/src/icons/nucleo/ui-outline-18/IconPaperPlaneFastOutline18.tsx +50 -0
  42. package/src/icons/nucleo/ui-outline-18/IconUndo3Outline18.tsx +27 -0
  43. package/src/icons/nucleo/ui-outline-18/index.ts +6 -0
  44. package/src/index.ts +1 -0
  45. package/src/styles/bridge.css +10 -12
  46. package/src/styles/derived-utilities.css +1 -98
  47. package/src/styles/index.css +2 -7
  48. package/src/styles/theme.css +0 -2
@@ -0,0 +1,183 @@
1
+ import { Spinner } from './spinner';
2
+ import type * as React from 'react';
3
+ import { cn } from '../../lib/utils';
4
+
5
+ import {
6
+ Collapsible,
7
+ CollapsibleContent,
8
+ CollapsibleTrigger,
9
+ } from './collapsible';
10
+ import { IconChevronRightOutline18 } from '../../icons';
11
+
12
+ function Trace({ className, ...props }: React.ComponentProps<'div'>) {
13
+ return (
14
+ <div
15
+ data-slot="trace"
16
+ className={cn(
17
+ 'flex w-full min-w-0 flex-col gap-2 *:has-[>[data-slot=trace-line]]:flex *:has-[>[data-slot=trace-line]]:w-fit *:has-[>[data-slot=trace-line]]:max-w-full *:has-[>[data-slot=trace-line]]:min-w-0 *:has-[>[data-slot=trace-line]]:rounded-md *:has-[>[data-slot=trace-line]]:text-left *:has-[>[data-slot=trace-line]]:outline-none *:has-[>[data-slot=trace-line]]:focus-visible:ring-3 *:has-[>[data-slot=trace-line]]:focus-visible:ring-ring/50',
18
+ className,
19
+ )}
20
+ {...props}
21
+ />
22
+ );
23
+ }
24
+
25
+ function TraceLine({
26
+ className,
27
+ status,
28
+ ...props
29
+ }: React.ComponentProps<'span'> & {
30
+ status?: 'running' | 'error' | 'pending';
31
+ }) {
32
+ return (
33
+ <span
34
+ data-slot="trace-line"
35
+ data-status={status}
36
+ className={cn(
37
+ 'flex w-fit max-w-full min-w-0 items-center gap-2 text-sm text-muted-foreground transition-colors in-[a,button]:cursor-pointer in-[a:hover,button:hover]:text-foreground data-[status=error]:text-destructive data-[status=error]:in-[a:hover,button:hover]:text-destructive data-[status=pending]:opacity-60',
38
+ className,
39
+ )}
40
+ {...props}
41
+ />
42
+ );
43
+ }
44
+
45
+ function TraceIcon({ className, ...props }: React.ComponentProps<'span'>) {
46
+ return (
47
+ <span
48
+ data-slot="trace-icon"
49
+ aria-hidden="true"
50
+ className={cn(
51
+ "flex size-4 shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [[data-slot=trace-title]~&]:-ml-1",
52
+ className,
53
+ )}
54
+ {...props}
55
+ />
56
+ );
57
+ }
58
+
59
+ function TraceTitle({ className, ...props }: React.ComponentProps<'span'>) {
60
+ return (
61
+ <span
62
+ data-slot="trace-title"
63
+ className={cn('min-w-0 truncate', className)}
64
+ {...props}
65
+ />
66
+ );
67
+ }
68
+
69
+ function TraceDescription({
70
+ className,
71
+ ...props
72
+ }: React.ComponentProps<'span'>) {
73
+ return (
74
+ <span
75
+ data-slot="trace-description"
76
+ className={cn(
77
+ 'shrink-0 text-muted-foreground/70 tabular-nums',
78
+ className,
79
+ )}
80
+ {...props}
81
+ />
82
+ );
83
+ }
84
+
85
+ function TraceCollapsible({
86
+ className,
87
+ ...props
88
+ }: Omit<React.ComponentProps<typeof Collapsible>, 'open'> &
89
+ (
90
+ | { open?: undefined }
91
+ | {
92
+ open: boolean;
93
+ onOpenChange: NonNullable<
94
+ React.ComponentProps<typeof Collapsible>['onOpenChange']
95
+ >;
96
+ }
97
+ )) {
98
+ return (
99
+ <Collapsible
100
+ data-slot="trace-collapsible"
101
+ className={cn('flex w-full min-w-0 flex-col', className)}
102
+ {...props}
103
+ />
104
+ );
105
+ }
106
+
107
+ function TraceCollapsibleTrigger({
108
+ className,
109
+ children,
110
+ loading = false,
111
+ ...props
112
+ }: React.ComponentProps<typeof CollapsibleTrigger> & { loading?: boolean }) {
113
+ return (
114
+ <CollapsibleTrigger
115
+ data-slot="trace-collapsible-trigger"
116
+ aria-busy={loading || undefined}
117
+ className={cn(
118
+ 'group/trace-collapsible-trigger flex w-fit max-w-full min-w-0 cursor-pointer items-center gap-1 rounded-md text-left text-muted-foreground transition-colors outline-none hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50 has-[[data-status=error]]:text-destructive',
119
+ className,
120
+ )}
121
+ {...props}
122
+ >
123
+ {children}
124
+ <TraceIcon
125
+ aria-hidden={!loading}
126
+ className={cn(
127
+ 'size-2.5 transition-transform duration-200 ease-out motion-reduce:transition-none',
128
+ !loading && 'group-aria-expanded/trace-collapsible-trigger:rotate-90',
129
+ )}
130
+ >
131
+ {loading ? (
132
+ <Spinner
133
+ aria-label="Loading details"
134
+ className="size-2.5 motion-reduce:animate-none"
135
+ />
136
+ ) : (
137
+ <IconChevronRightOutline18 className="size-2.5" />
138
+ )}
139
+ </TraceIcon>
140
+ </CollapsibleTrigger>
141
+ );
142
+ }
143
+
144
+ function TraceCollapsibleContent({
145
+ className,
146
+ panelClassName,
147
+ children,
148
+ ...props
149
+ }: React.ComponentProps<typeof CollapsibleContent> & {
150
+ panelClassName?: string;
151
+ }) {
152
+ return (
153
+ <CollapsibleContent
154
+ data-slot="trace-collapsible-content"
155
+ className={cn(
156
+ 'h-(--collapsible-panel-height) min-w-0 overflow-hidden transition-[height] duration-200 motion-reduce:transition-none data-ending-style:h-0 data-starting-style:h-0',
157
+ panelClassName,
158
+ )}
159
+ {...props}
160
+ >
161
+ <div
162
+ data-slot="trace-collapsible-content-inner"
163
+ className={cn(
164
+ 'mt-2 mb-1 ml-[calc(--spacing(2)-1px)] min-w-0 border-l pr-1 pl-4 leading-relaxed wrap-break-word text-muted-foreground',
165
+ className,
166
+ )}
167
+ >
168
+ {children}
169
+ </div>
170
+ </CollapsibleContent>
171
+ );
172
+ }
173
+
174
+ export {
175
+ Trace,
176
+ TraceLine,
177
+ TraceIcon,
178
+ TraceTitle,
179
+ TraceDescription,
180
+ TraceCollapsible,
181
+ TraceCollapsibleTrigger,
182
+ TraceCollapsibleContent,
183
+ };
@@ -0,0 +1,28 @@
1
+ import type React from 'react';
2
+
3
+ import { Icon, type IconProps } from './Icon';
4
+
5
+ export const IconCalendarOutline18: React.FC<
6
+ IconProps & { strokeWidth?: number }
7
+ > = ({ strokeWidth = 1.5, ...props }) => (
8
+ <Icon size="18px" {...props}>
9
+ <rect
10
+ x="2.75"
11
+ y="3.75"
12
+ width="12.5"
13
+ height="11.5"
14
+ rx="2"
15
+ fill="none"
16
+ stroke="currentColor"
17
+ strokeWidth={strokeWidth}
18
+ />
19
+ <path
20
+ d="M6 2.25v3M12 2.25v3M2.75 7.25h12.5M6 10.25h1M11 10.25h1M6 12.75h1"
21
+ fill="none"
22
+ stroke="currentColor"
23
+ strokeLinecap="round"
24
+ strokeLinejoin="round"
25
+ strokeWidth={strokeWidth}
26
+ />
27
+ </Icon>
28
+ );
@@ -0,0 +1,18 @@
1
+ import type React from 'react';
2
+
3
+ import { Icon, type IconProps } from './Icon';
4
+
5
+ export const IconCrownOutline18: React.FC<
6
+ IconProps & { strokeWidth?: number }
7
+ > = ({ strokeWidth = 1.5, ...props }) => (
8
+ <Icon size="18px" {...props}>
9
+ <path
10
+ d="m2.75 5.75 3.5 2.5L9 3.25l2.75 5 3.5-2.5-1.5 6.5h-9.5l-1.5-6.5ZM4.75 15.25h8.5"
11
+ fill="none"
12
+ stroke="currentColor"
13
+ strokeLinecap="round"
14
+ strokeLinejoin="round"
15
+ strokeWidth={strokeWidth}
16
+ />
17
+ </Icon>
18
+ );
@@ -0,0 +1,18 @@
1
+ import type React from 'react';
2
+
3
+ import { Icon, type IconProps } from './Icon';
4
+
5
+ export const IconResizeGripOutline18: React.FC<
6
+ IconProps & { strokeWidth?: number }
7
+ > = ({ strokeWidth = 1.5, ...props }) => (
8
+ <Icon size="18px" {...props}>
9
+ <path
10
+ d="M3.75 14.25 14.25 3.75M9.25 14.25 14.25 9.25"
11
+ fill="none"
12
+ stroke="currentColor"
13
+ strokeLinecap="round"
14
+ strokeLinejoin="round"
15
+ strokeWidth={strokeWidth}
16
+ />
17
+ </Icon>
18
+ );
@@ -0,0 +1,26 @@
1
+ import type React from 'react';
2
+
3
+ import { Icon, type IconProps } from './Icon';
4
+
5
+ export const IconUserMinusOutline18: React.FC<
6
+ IconProps & { strokeWidth?: number }
7
+ > = ({ strokeWidth = 1.5, ...props }) => (
8
+ <Icon size="18px" {...props}>
9
+ <circle
10
+ cx="6.75"
11
+ cy="5.5"
12
+ r="2.75"
13
+ fill="none"
14
+ stroke="currentColor"
15
+ strokeWidth={strokeWidth}
16
+ />
17
+ <path
18
+ d="M1.75 15.25v-1a3.5 3.5 0 0 1 3.5-3.5h3a3.5 3.5 0 0 1 3.5 3.5v1M12.25 7.25h4"
19
+ fill="none"
20
+ stroke="currentColor"
21
+ strokeLinecap="round"
22
+ strokeLinejoin="round"
23
+ strokeWidth={strokeWidth}
24
+ />
25
+ </Icon>
26
+ );
@@ -0,0 +1,26 @@
1
+ import type React from 'react';
2
+
3
+ import { Icon, type IconProps } from './Icon';
4
+
5
+ export const IconUserOutline18: React.FC<
6
+ IconProps & { strokeWidth?: number }
7
+ > = ({ strokeWidth = 1.5, ...props }) => (
8
+ <Icon size="18px" {...props}>
9
+ <circle
10
+ cx="9"
11
+ cy="5.5"
12
+ r="2.75"
13
+ fill="none"
14
+ stroke="currentColor"
15
+ strokeWidth={strokeWidth}
16
+ />
17
+ <path
18
+ d="M3.75 15.25v-1a3.5 3.5 0 0 1 3.5-3.5h3.5a3.5 3.5 0 0 1 3.5 3.5v1"
19
+ fill="none"
20
+ stroke="currentColor"
21
+ strokeLinecap="round"
22
+ strokeLinejoin="round"
23
+ strokeWidth={strokeWidth}
24
+ />
25
+ </Icon>
26
+ );
@@ -1,6 +1,11 @@
1
1
  export { Icon, type IconProps } from './Icon';
2
2
  export { IconBrowserTab } from './IconBrowserTab';
3
+ export { IconCalendarOutline18 } from './IconCalendarOutline18';
4
+ export { IconCrownOutline18 } from './IconCrownOutline18';
3
5
  export { IconKlexOutline18 } from './IconKlexOutline18';
4
6
  export { IconLaptop } from './IconLaptop';
5
7
  export { IconNewTerminal } from './IconNewTerminal';
8
+ export { IconResizeGripOutline18 } from './IconResizeGripOutline18';
6
9
  export { IconSignOut } from './IconSignOut';
10
+ export { IconUserMinusOutline18 } from './IconUserMinusOutline18';
11
+ export { IconUserOutline18 } from './IconUserOutline18';
@@ -1,9 +1,14 @@
1
1
  export {
2
2
  IconBrowserTab,
3
+ IconCalendarOutline18,
4
+ IconCrownOutline18,
3
5
  IconKlexOutline18,
4
6
  IconLaptop,
5
7
  IconNewTerminal,
8
+ IconResizeGripOutline18,
6
9
  IconSignOut,
10
+ IconUserMinusOutline18,
11
+ IconUserOutline18,
7
12
  } from './custom/ui-outline-18';
8
13
  export {
9
14
  IconArrowUpOutline24,
@@ -0,0 +1,50 @@
1
+ import type React from 'react';
2
+ import { Icon, type IconProps } from './Icon';
3
+
4
+ interface IconArrowDoorOut3Outline18Props extends IconProps {
5
+ strokeWidth?: number;
6
+ }
7
+
8
+ export const IconArrowDoorOut3Outline18: React.FC<
9
+ IconArrowDoorOut3Outline18Props
10
+ > = ({ strokeWidth = 1.5, ...props }) => (
11
+ <Icon size="18px" {...props}>
12
+ <path
13
+ d="M11.75,5.75V3.25c0-.552-.448-1-1-1H4.25c-.552,0-1,.448-1,1V14.75c0,.552,.448,1,1,1h6.5c.552,0,1-.448,1-1v-2.5"
14
+ fill="none"
15
+ stroke="currentColor"
16
+ strokeLinecap="round"
17
+ strokeLinejoin="round"
18
+ strokeWidth={strokeWidth}
19
+ />
20
+ <polyline
21
+ points="14.5 6.25 17.25 9 14.5 11.75"
22
+ fill="none"
23
+ stroke="currentColor"
24
+ strokeLinecap="round"
25
+ strokeLinejoin="round"
26
+ strokeWidth={strokeWidth}
27
+ data-color="color-2"
28
+ />
29
+ <line
30
+ x1="17.25"
31
+ y1="9"
32
+ x2="11.25"
33
+ y2="9"
34
+ fill="none"
35
+ stroke="currentColor"
36
+ strokeLinecap="round"
37
+ strokeLinejoin="round"
38
+ strokeWidth={strokeWidth}
39
+ data-color="color-2"
40
+ />
41
+ <path
42
+ d="M3.457,2.648l3.321,2.059c.294,.182,.473,.504,.473,.85v6.887c0,.346-.179,.667-.473,.85l-3.322,2.06"
43
+ fill="none"
44
+ stroke="currentColor"
45
+ strokeLinecap="round"
46
+ strokeLinejoin="round"
47
+ strokeWidth={strokeWidth}
48
+ />
49
+ </Icon>
50
+ );
@@ -0,0 +1,40 @@
1
+ import type React from 'react';
2
+ import { Icon, type IconProps } from './Icon';
3
+
4
+ interface IconMediaPauseOutline18Props extends IconProps {
5
+ strokeWidth?: number;
6
+ }
7
+
8
+ export const IconMediaPauseOutline18: React.FC<
9
+ IconMediaPauseOutline18Props
10
+ > = ({ strokeWidth = 1.5, ...props }) => (
11
+ <Icon size="18px" {...props}>
12
+ <rect
13
+ x="2.75"
14
+ y="2.75"
15
+ width="3.5"
16
+ height="12.5"
17
+ rx="1"
18
+ ry="1"
19
+ fill="none"
20
+ stroke="currentColor"
21
+ strokeLinecap="round"
22
+ strokeLinejoin="round"
23
+ strokeWidth={strokeWidth}
24
+ />
25
+ <rect
26
+ x="11.75"
27
+ y="2.75"
28
+ width="3.5"
29
+ height="12.5"
30
+ rx="1"
31
+ ry="1"
32
+ fill="none"
33
+ stroke="currentColor"
34
+ strokeLinecap="round"
35
+ strokeLinejoin="round"
36
+ strokeWidth={strokeWidth}
37
+ data-color="color-2"
38
+ />
39
+ </Icon>
40
+ );
@@ -0,0 +1,22 @@
1
+ import type React from 'react';
2
+ import { Icon, type IconProps } from './Icon';
3
+
4
+ interface IconMediaPlayOutline18Props extends IconProps {
5
+ strokeWidth?: number;
6
+ }
7
+
8
+ export const IconMediaPlayOutline18: React.FC<IconMediaPlayOutline18Props> = ({
9
+ strokeWidth = 1.5,
10
+ ...props
11
+ }) => (
12
+ <Icon size="18px" {...props}>
13
+ <path
14
+ d="M5.245,2.878l9.492,5.256c.685,.379,.685,1.353,0,1.732L5.245,15.122c-.669,.371-1.495-.108-1.495-.866V3.744c0-.758,.825-1.237,1.495-.866Z"
15
+ fill="none"
16
+ stroke="currentColor"
17
+ strokeLinecap="round"
18
+ strokeLinejoin="round"
19
+ strokeWidth={strokeWidth}
20
+ />
21
+ </Icon>
22
+ );
@@ -0,0 +1,33 @@
1
+ import type React from 'react';
2
+ import { Icon, type IconProps } from './Icon';
3
+
4
+ interface IconPaperPlane2Outline18Props extends IconProps {
5
+ strokeWidth?: number;
6
+ }
7
+
8
+ export const IconPaperPlane2Outline18: React.FC<
9
+ IconPaperPlane2Outline18Props
10
+ > = ({ strokeWidth = 1.5, ...props }) => (
11
+ <Icon size="18px" {...props}>
12
+ <line
13
+ x1="15.813"
14
+ y1="2.187"
15
+ x2="7.657"
16
+ y2="10.343"
17
+ fill="none"
18
+ stroke="currentColor"
19
+ strokeLinecap="round"
20
+ strokeLinejoin="round"
21
+ strokeWidth={strokeWidth}
22
+ data-color="color-2"
23
+ />
24
+ <path
25
+ d="M15.947,2.73l-4.154,12.923c-.142,.443-.743,.509-.977,.106l-3.159-5.416L2.241,7.184c-.402-.235-.337-.835,.106-.977L15.27,2.053c.417-.134,.811,.26,.677,.677Z"
26
+ fill="none"
27
+ stroke="currentColor"
28
+ strokeLinecap="round"
29
+ strokeLinejoin="round"
30
+ strokeWidth={strokeWidth}
31
+ />
32
+ </Icon>
33
+ );
@@ -0,0 +1,50 @@
1
+ import type React from 'react';
2
+ import { Icon, type IconProps } from './Icon';
3
+
4
+ interface IconPaperPlaneFastOutline18Props extends IconProps {
5
+ strokeWidth?: number;
6
+ }
7
+
8
+ export const IconPaperPlaneFastOutline18: React.FC<
9
+ IconPaperPlaneFastOutline18Props
10
+ > = ({ strokeWidth = 1.5, ...props }) => (
11
+ <Icon size="18px" {...props}>
12
+ <line
13
+ x1="15.6123"
14
+ y1="2.3877"
15
+ x2="8.6213"
16
+ y2="9.3785"
17
+ fill="none"
18
+ stroke="currentColor"
19
+ strokeLinecap="round"
20
+ strokeLinejoin="round"
21
+ strokeWidth={strokeWidth}
22
+ />
23
+ <path
24
+ d="m15.7272,2.8531l-3.5606,11.0767c-.1217.3797-.6369.4363-.8374.0909l-2.7078-4.6422-4.6424-2.7077c-.3446-.2014-.2889-.7157.0909-.8374l11.0771-3.5605c.3574-.1149.6952.2229.5803.5803Z"
25
+ fill="none"
26
+ stroke="currentColor"
27
+ strokeLinecap="round"
28
+ strokeLinejoin="round"
29
+ strokeWidth={strokeWidth}
30
+ />
31
+ <path
32
+ d="m3.5,16l3.25-3.25"
33
+ fill="none"
34
+ stroke="currentColor"
35
+ strokeLinecap="round"
36
+ strokeLinejoin="round"
37
+ strokeWidth={strokeWidth}
38
+ data-color="color-2"
39
+ />
40
+ <path
41
+ d="m4.5,10.5l-1.5,1.5"
42
+ fill="none"
43
+ stroke="currentColor"
44
+ strokeLinecap="round"
45
+ strokeLinejoin="round"
46
+ strokeWidth={strokeWidth}
47
+ data-color="color-2"
48
+ />
49
+ </Icon>
50
+ );
@@ -0,0 +1,27 @@
1
+ import type React from 'react';
2
+
3
+ import { Icon, type IconProps } from './Icon';
4
+
5
+ export const IconUndo3Outline18: React.FC<
6
+ IconProps & { strokeWidth?: number }
7
+ > = ({ strokeWidth = 1.5, ...props }) => (
8
+ <Icon size="18px" {...props}>
9
+ <path
10
+ d="m3.4335,12.7902c1.2141,1.7867,3.2633,2.9598,5.5862,2.9598,3.7279,0,6.75-3.0221,6.75-6.75s-3.0221-6.75-6.75-6.75c-2.7957,0-5.1939,1.6996-6.2187,4.1212"
11
+ fill="none"
12
+ stroke="currentColor"
13
+ strokeLinecap="round"
14
+ strokeLinejoin="round"
15
+ strokeWidth={strokeWidth}
16
+ data-color="color-2"
17
+ />
18
+ <polyline
19
+ points="6.3707 6.215 2.538 6.75 2.0069 2.9168"
20
+ fill="none"
21
+ stroke="currentColor"
22
+ strokeLinecap="round"
23
+ strokeLinejoin="round"
24
+ strokeWidth={strokeWidth}
25
+ />
26
+ </Icon>
27
+ );
@@ -1,4 +1,5 @@
1
1
  export { Icon, type IconProps } from './Icon';
2
+ export { IconArrowDoorOut3Outline18 } from './IconArrowDoorOut3Outline18';
2
3
  export { IconArrowDownOutline18 } from './IconArrowDownOutline18';
3
4
  export { IconArrowRightOutline18 } from './IconArrowRightOutline18';
4
5
  export { IconArrowTurnRightOutline18 } from './IconArrowTurnRightOutline18';
@@ -80,6 +81,8 @@ export { IconMagnifierMinusOutline18 } from './IconMagnifierMinusOutline18';
80
81
  export { IconMagnifierOutline18 } from './IconMagnifierOutline18';
81
82
  export { IconMagnifierPlusOutline18 } from './IconMagnifierPlusOutline18';
82
83
  export { IconMicrophone3Outline18 } from './IconMicrophone3Outline18';
84
+ export { IconMediaPauseOutline18 } from './IconMediaPauseOutline18';
85
+ export { IconMediaPlayOutline18 } from './IconMediaPlayOutline18';
83
86
  export { IconMinusOutline18 } from './IconMinusOutline18';
84
87
  export { IconMoonOutline18 } from './IconMoonOutline18';
85
88
  export { IconMsgs2Outline18 } from './IconMsgs2Outline18';
@@ -91,6 +94,8 @@ export { IconOpenExternalOutline18 } from './IconOpenExternalOutline18';
91
94
  export { IconOpenRectArrowInOutline18 } from './IconOpenRectArrowInOutline18';
92
95
  export { IconPanelLeftOutline18 } from './IconPanelLeftOutline18';
93
96
  export { IconPaperclip2Outline18 } from './IconPaperclip2Outline18';
97
+ export { IconPaperPlane2Outline18 } from './IconPaperPlane2Outline18';
98
+ export { IconPaperPlaneFastOutline18 } from './IconPaperPlaneFastOutline18';
94
99
  export { IconPen2Outline18 } from './IconPen2Outline18';
95
100
  export { IconPenDrawSparkleOutline18 } from './IconPenDrawSparkleOutline18';
96
101
  export { IconPenOutline18 } from './IconPenOutline18';
@@ -131,6 +136,7 @@ export { IconThumbsDownOutline18 } from './IconThumbsDownOutline18';
131
136
  export { IconThumbsUpOutline18 } from './IconThumbsUpOutline18';
132
137
  export { IconTrashOutline18 } from './IconTrashOutline18';
133
138
  export { IconTriangleWarningOutline18 } from './IconTriangleWarningOutline18';
139
+ export { IconUndo3Outline18 } from './IconUndo3Outline18';
134
140
  export { IconUndoOutline18 } from './IconUndoOutline18';
135
141
  export { IconVersionsOutline18 } from './IconVersionsOutline18';
136
142
  export { IconVideoOutline18 } from './IconVideoOutline18';
package/src/index.ts CHANGED
@@ -71,3 +71,4 @@ export * from './components/ui/toast';
71
71
  export * from './components/ui/toggle';
72
72
  export * from './components/ui/toggle-group';
73
73
  export * from './components/ui/tooltip';
74
+ export * from './components/ui/trace';
@@ -2,7 +2,7 @@
2
2
  * Bridge Layer — Maps shadcn/ui token names to stage-ui color system.
3
3
  *
4
4
  * This file defines the shadcn semantic tokens (--background, --primary, etc.)
5
- * using the stage-ui OKLCH palette and theme tokens as source of truth.
5
+ * using the stage-ui OKLCH palette, with standard shadcn border/input tokens.
6
6
  *
7
7
  * Components keep using shadcn class names (bg-background, text-primary, etc.)
8
8
  * while the actual color values come from the stage-ui dynamic color system.
@@ -39,10 +39,9 @@
39
39
  --destructive: var(--color-error-solid);
40
40
  --destructive-foreground: var(--color-base-50);
41
41
 
42
- /* Border / input / ring — reference palette tokens directly to avoid
43
- circular refs with @theme inline (--color-border → --border → --color-border) */
44
- --border: var(--color-base-200);
45
- --input: var(--color-base-200);
42
+ /* Standard shadcn borders; focus ring follows the primary color. */
43
+ --border: oklch(0.922 0 0);
44
+ --input: oklch(0.922 0 0);
46
45
  --ring: var(--color-primary-solid);
47
46
 
48
47
  /* Chart colors (mapped to stage-ui primary/semantic hues) */
@@ -59,11 +58,11 @@
59
58
  --sidebar-primary-foreground: var(--color-solid-foreground);
60
59
  --sidebar-accent: var(--color-base-150);
61
60
  --sidebar-accent-foreground: var(--color-base-900);
62
- --sidebar-border: var(--color-base-200);
61
+ --sidebar-border: var(--border);
63
62
  --sidebar-ring: var(--color-primary-solid);
64
63
 
65
64
  /* Radius */
66
- --radius: 0.875rem;
65
+ --radius: 0.625rem;
67
66
  }
68
67
 
69
68
  :root.dark {
@@ -92,10 +91,9 @@
92
91
  --destructive: var(--color-error-solid);
93
92
  --destructive-foreground: var(--color-base-50);
94
93
 
95
- /* Border / input / ring — reference palette tokens directly to avoid
96
- circular refs with @theme inline */
97
- --border: var(--color-base-600);
98
- --input: var(--color-base-600);
94
+ /* Standard shadcn borders; focus ring follows the primary color. */
95
+ --border: oklch(1 0 0 / 10%);
96
+ --input: oklch(1 0 0 / 15%);
99
97
  --ring: var(--color-primary-solid);
100
98
 
101
99
  /* Chart colors */
@@ -116,6 +114,6 @@
116
114
  var(--color-base-600)
117
115
  );
118
116
  --sidebar-accent-foreground: var(--color-base-200);
119
- --sidebar-border: var(--color-border);
117
+ --sidebar-border: var(--border);
120
118
  --sidebar-ring: var(--color-primary-solid);
121
119
  }