@stagewise/ui 0.14.0 → 0.15.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stagewise/ui",
3
- "version": "0.14.0",
3
+ "version": "0.15.1",
4
4
  "description": "Customized shadcn/ui components built on Base UI primitives, for use across stagewise projects.",
5
5
  "type": "module",
6
6
  "license": "MIT AND OFL-1.1",
@@ -59,7 +59,7 @@ function AlertDialogContent({
59
59
  data-slot="alert-dialog-content"
60
60
  data-size={size}
61
61
  className={cn(
62
- 'group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 transition-none duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95',
62
+ 'group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 transition-none duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95',
63
63
  className,
64
64
  )}
65
65
  {...props}
@@ -128,7 +128,7 @@ function ComboboxList({ className, ...props }: ComboboxPrimitive.List.Props) {
128
128
  <ComboboxPrimitive.List
129
129
  data-slot="combobox-list"
130
130
  className={cn(
131
- 'no-scrollbar max-h-[min(calc(--spacing(72)---spacing(9)),calc(var(--available-height)---spacing(9)))] scroll-py-1 overflow-y-auto overscroll-contain p-1 data-empty:p-0',
131
+ 'no-scrollbar max-h-[min(calc(--spacing(72)---spacing(9)),calc(var(--available-height)---spacing(9)))] scroll-py-1 overflow-y-auto overscroll-contain p-1 scroll-fade-t data-empty:p-0',
132
132
  className,
133
133
  )}
134
134
  {...props}
@@ -82,7 +82,7 @@ function Command({
82
82
  <CommandPrimitive
83
83
  data-slot="command"
84
84
  className={cn(
85
- 'flex size-full flex-col overflow-hidden rounded-xl! bg-popover p-1 text-popover-foreground',
85
+ 'flex size-full flex-col overflow-hidden rounded-xl! bg-popover p-1 pb-0 text-popover-foreground',
86
86
  className,
87
87
  )}
88
88
  {...props}
@@ -114,7 +114,7 @@ function CommandDialog({
114
114
  </DialogHeader>
115
115
  <DialogContent
116
116
  className={cn(
117
- 'top-[min(180px,25dvh)] max-h-[calc(100dvh-min(180px,25dvh)-1rem)] grid-rows-1 translate-y-0 overflow-hidden rounded-xl! p-0 sm:max-w-2xl',
117
+ 'top-[min(180px,25dvh)] max-h-[calc(100dvh-min(180px,25dvh)-1rem)] translate-y-0 rounded-xl! sm:max-w-2xl',
118
118
  className,
119
119
  )}
120
120
  showCloseButton={showCloseButton}
@@ -232,7 +232,7 @@ function CommandList({
232
232
  <CommandPrimitive.List
233
233
  data-slot="command-list"
234
234
  className={cn(
235
- 'no-scrollbar max-h-72 scroll-py-1 overflow-x-hidden overflow-y-auto outline-none',
235
+ 'no-scrollbar max-h-72 scroll-py-1 overflow-x-hidden overflow-y-auto pb-1 outline-none scroll-fade-t',
236
236
  className,
237
237
  )}
238
238
  {...props}
@@ -8,6 +8,12 @@ import { Button } from './button';
8
8
  import { useDialogLifecycle } from './dialog-lifecycle';
9
9
  import { IconXmarkOutline18 } from '../../icons';
10
10
 
11
+ /** Lets DialogHeader render the close button in its band. */
12
+ const DialogContentContext = React.createContext<{
13
+ showCloseButton: boolean;
14
+ registerHeader: () => () => void;
15
+ } | null>(null);
16
+
11
17
  function Dialog(props: DialogPrimitive.Root.Props) {
12
18
  const lifecycle = useDialogLifecycle(props);
13
19
  return <DialogPrimitive.Root data-slot="dialog" {...props} {...lifecycle} />;
@@ -25,6 +31,18 @@ function DialogClose({ ...props }: DialogPrimitive.Close.Props) {
25
31
  return <DialogPrimitive.Close data-slot="dialog-close" {...props} />;
26
32
  }
27
33
 
34
+ function DialogCloseButton({ className }: { className?: string }) {
35
+ return (
36
+ <DialogPrimitive.Close
37
+ data-slot="dialog-close"
38
+ render={<Button variant="ghost" size="icon-sm" className={className} />}
39
+ >
40
+ <IconXmarkOutline18 />
41
+ <span className="sr-only">Close</span>
42
+ </DialogPrimitive.Close>
43
+ );
44
+ }
45
+
28
46
  function DialogOverlay({
29
47
  className,
30
48
  ...props
@@ -41,6 +59,11 @@ function DialogOverlay({
41
59
  );
42
60
  }
43
61
 
62
+ /**
63
+ * The dialog frame: compose it from `DialogHeader`, `DialogBody` (the only
64
+ * part that scrolls) and `DialogFooter`. The close button sits in the header,
65
+ * or in the top corner of a dialog without one.
66
+ */
44
67
  function DialogContent({
45
68
  className,
46
69
  children,
@@ -53,48 +76,96 @@ function DialogContent({
53
76
  keepMounted?: boolean;
54
77
  overlayClassName?: string;
55
78
  }) {
79
+ const [hasHeader, setHasHeader] = React.useState(false);
80
+ const registerHeader = React.useCallback(() => {
81
+ setHasHeader(true);
82
+ return () => setHasHeader(false);
83
+ }, []);
84
+ const context = React.useMemo(
85
+ () => ({ showCloseButton, registerHeader }),
86
+ [showCloseButton, registerHeader],
87
+ );
56
88
  return (
57
89
  <DialogPortal keepMounted={keepMounted}>
58
90
  <DialogOverlay className={overlayClassName} />
59
91
  <DialogPrimitive.Popup
60
92
  data-slot="dialog-content"
61
93
  className={cn(
62
- 'fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 transition-none duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95',
94
+ 'fixed top-1/2 left-1/2 z-50 flex max-h-[calc(100dvh-2rem)] w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 flex-col overflow-hidden rounded-xl bg-popover text-sm text-popover-foreground ring-1 ring-foreground/10 transition-none duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95',
63
95
  className,
64
96
  )}
65
97
  {...props}
66
98
  >
67
- {children}
68
- {showCloseButton && (
69
- <DialogPrimitive.Close
70
- data-slot="dialog-close"
71
- render={
72
- <Button
73
- variant="ghost"
74
- className="absolute top-2 right-2"
75
- size="icon-sm"
76
- />
77
- }
78
- >
79
- <IconXmarkOutline18 />
80
- <span className="sr-only">Close</span>
81
- </DialogPrimitive.Close>
82
- )}
99
+ <DialogContentContext value={context}>{children}</DialogContentContext>
100
+ {showCloseButton && !hasHeader ? (
101
+ <DialogCloseButton className="absolute top-2 right-2" />
102
+ ) : null}
83
103
  </DialogPrimitive.Popup>
84
104
  </DialogPortal>
85
105
  );
86
106
  }
87
107
 
88
- function DialogHeader({ className, ...props }: React.ComponentProps<'div'>) {
108
+ /**
109
+ * The top band: optional `media` (e.g. a back button or `DialogMedia`), then
110
+ * the title and description, then the dialog's close button.
111
+ */
112
+ function DialogHeader({
113
+ className,
114
+ media,
115
+ children,
116
+ ...props
117
+ }: React.ComponentProps<'div'> & { media?: React.ReactNode }) {
118
+ const content = React.useContext(DialogContentContext);
119
+ React.useLayoutEffect(() => content?.registerHeader(), [content]);
89
120
  return (
90
121
  <div
91
122
  data-slot="dialog-header"
92
- className={cn('flex flex-col gap-1.5', className)}
123
+ className={cn(
124
+ 'flex shrink-0 items-center gap-3 border-b bg-muted/50 p-4',
125
+ className,
126
+ )}
127
+ {...props}
128
+ >
129
+ {media}
130
+ <div className="flex min-w-0 flex-1 flex-col gap-1.5">{children}</div>
131
+ {content?.showCloseButton ? (
132
+ <DialogCloseButton className="-mr-2 shrink-0" />
133
+ ) : null}
134
+ </div>
135
+ );
136
+ }
137
+
138
+ /** Icon tile for `DialogHeader`'s `media`. */
139
+ function DialogMedia({ className, ...props }: React.ComponentProps<'span'>) {
140
+ return (
141
+ <span
142
+ data-slot="dialog-media"
143
+ className={cn(
144
+ 'flex size-7 shrink-0 items-center justify-center rounded-lg bg-muted p-1.5 [&>img]:size-full [&>svg]:size-full',
145
+ className,
146
+ )}
147
+ {...props}
148
+ />
149
+ );
150
+ }
151
+
152
+ function DialogBody({ className, ...props }: React.ComponentProps<'div'>) {
153
+ return (
154
+ <div
155
+ data-slot="dialog-body"
156
+ className={cn(
157
+ 'grid min-h-0 flex-1 content-start gap-4 overflow-y-auto p-4 scroll-fade-y',
158
+ className,
159
+ )}
93
160
  {...props}
94
161
  />
95
162
  );
96
163
  }
97
164
 
165
+ /**
166
+ * The bottom band. Render it after `DialogBody`, as a direct child of
167
+ * `DialogContent`; a form that spans both can use `className="contents"`.
168
+ */
98
169
  function DialogFooter({
99
170
  className,
100
171
  showCloseButton = false,
@@ -107,7 +178,7 @@ function DialogFooter({
107
178
  <div
108
179
  data-slot="dialog-footer"
109
180
  className={cn(
110
- '-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end',
181
+ 'flex shrink-0 flex-col-reverse gap-2 border-t bg-muted/50 p-4 sm:flex-row sm:justify-end',
111
182
  className,
112
183
  )}
113
184
  {...props}
@@ -158,11 +229,13 @@ function DialogDescription({
158
229
 
159
230
  export {
160
231
  Dialog,
232
+ DialogBody,
161
233
  DialogClose,
162
234
  DialogContent,
163
235
  DialogDescription,
164
236
  DialogFooter,
165
237
  DialogHeader,
238
+ DialogMedia,
166
239
  DialogOverlay,
167
240
  DialogPortal,
168
241
  DialogTitle,
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import { ScrollArea as ScrollAreaPrimitive } from '@base-ui/react/scroll-area';
3
4
  import {
4
5
  MessageScroller as MessageScrollerPrimitive,
5
6
  useMessageScroller,
@@ -18,12 +19,14 @@ function MessageScrollerProvider(
18
19
  return <MessageScrollerPrimitive.Provider {...props} />;
19
20
  }
20
21
 
22
+ // A Base UI scroll area whose viewport the message scroller drives. Render a
23
+ // `ScrollBar` inside it for the overlay scrollbar used by `ScrollArea`.
21
24
  function MessageScroller({
22
25
  className,
23
26
  ...props
24
- }: React.ComponentProps<typeof MessageScrollerPrimitive.Root>) {
27
+ }: ScrollAreaPrimitive.Root.Props) {
25
28
  return (
26
- <MessageScrollerPrimitive.Root
29
+ <ScrollAreaPrimitive.Root
27
30
  data-slot="message-scroller"
28
31
  className={cn(
29
32
  'group/message-scroller relative flex size-full min-h-0 flex-col overflow-hidden',
@@ -36,15 +39,23 @@ function MessageScroller({
36
39
 
37
40
  function MessageScrollerViewport({
38
41
  className,
42
+ preserveScrollOnPrepend,
39
43
  ...props
40
44
  }: React.ComponentProps<typeof MessageScrollerPrimitive.Viewport>) {
41
45
  return (
42
- <MessageScrollerPrimitive.Viewport
46
+ <ScrollAreaPrimitive.Viewport
43
47
  data-slot="message-scroller-viewport"
48
+ role="region"
44
49
  className={cn(
45
- 'size-full min-h-0 min-w-0 scrollbar-thin scrollbar-gutter-stable overflow-y-auto overscroll-contain contain-content',
50
+ 'size-full min-h-0 min-w-0 rounded-[inherit] overscroll-contain contain-content transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1',
46
51
  className,
47
52
  )}
53
+ render={(viewportProps) => (
54
+ <MessageScrollerPrimitive.Viewport
55
+ {...viewportProps}
56
+ preserveScrollOnPrepend={preserveScrollOnPrepend}
57
+ />
58
+ )}
48
59
  {...props}
49
60
  />
50
61
  );
@@ -52,12 +63,20 @@ function MessageScrollerViewport({
52
63
 
53
64
  function MessageScrollerContent({
54
65
  className,
66
+ spacerClassName,
55
67
  ...props
56
68
  }: React.ComponentProps<typeof MessageScrollerPrimitive.Content>) {
57
69
  return (
58
- <MessageScrollerPrimitive.Content
70
+ <ScrollAreaPrimitive.Content
59
71
  data-slot="message-scroller-content"
72
+ role="log"
60
73
  className={cn('flex h-max min-h-full flex-col gap-8', className)}
74
+ render={(contentProps) => (
75
+ <MessageScrollerPrimitive.Content
76
+ {...contentProps}
77
+ spacerClassName={spacerClassName}
78
+ />
79
+ )}
61
80
  {...props}
62
81
  />
63
82
  );
@@ -1,12 +1,17 @@
1
1
  import { ScrollArea as ScrollAreaPrimitive } from '@base-ui/react/scroll-area';
2
+ import type * as React from 'react';
2
3
 
3
4
  import { cn } from '../../lib/utils';
4
5
 
5
6
  function ScrollArea({
6
7
  className,
7
8
  children,
9
+ viewportRef,
8
10
  ...props
9
- }: ScrollAreaPrimitive.Root.Props) {
11
+ }: ScrollAreaPrimitive.Root.Props & {
12
+ /** The element that scrolls, for code that reads or sets its position. */
13
+ viewportRef?: React.Ref<HTMLDivElement>;
14
+ }) {
10
15
  return (
11
16
  <ScrollAreaPrimitive.Root
12
17
  data-slot="scroll-area"
@@ -14,6 +19,7 @@ function ScrollArea({
14
19
  {...props}
15
20
  >
16
21
  <ScrollAreaPrimitive.Viewport
22
+ ref={viewportRef}
17
23
  data-slot="scroll-area-viewport"
18
24
  className="size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1"
19
25
  >
@@ -88,7 +88,7 @@ function SelectContent({
88
88
  data-slot="select-content"
89
89
  data-align-trigger={alignItemWithTrigger}
90
90
  className={cn(
91
- 'isolate z-50 max-h-(--available-height) w-(--anchor-width) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg p-0.5 text-popover-foreground shadow-md ring-1 ring-foreground/10 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 relative bg-popover **:data-[slot$=-item]:focus:bg-foreground/10 **:data-[slot$=-item]:data-highlighted:bg-foreground/10 **:data-[slot$=-separator]:bg-foreground/5 **:data-[slot$=-trigger]:focus:bg-foreground/10 **:data-[slot$=-trigger]:aria-expanded:bg-foreground/10! **:data-[variant=destructive]:focus:bg-foreground/10! **:data-[variant=destructive]:text-accent-foreground! **:data-[variant=destructive]:**:text-accent-foreground!',
91
+ 'isolate z-50 max-h-(--available-height) w-max max-w-(--available-width) min-w-(--anchor-width) origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg p-0.5 text-popover-foreground shadow-md ring-1 ring-foreground/10 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 relative bg-popover **:data-[slot$=-item]:focus:bg-foreground/10 **:data-[slot$=-item]:data-highlighted:bg-foreground/10 **:data-[slot$=-separator]:bg-foreground/5 **:data-[slot$=-trigger]:focus:bg-foreground/10 **:data-[slot$=-trigger]:aria-expanded:bg-foreground/10! **:data-[variant=destructive]:focus:bg-foreground/10! **:data-[variant=destructive]:text-accent-foreground! **:data-[variant=destructive]:**:text-accent-foreground!',
92
92
  className,
93
93
  )}
94
94
  {...props}
@@ -109,7 +109,7 @@ function SelectLabel({
109
109
  return (
110
110
  <SelectPrimitive.GroupLabel
111
111
  data-slot="select-label"
112
- className={cn('px-1.5 py-1 text-xs text-muted-foreground', className)}
112
+ className={cn('px-2 py-1 text-xs text-muted-foreground', className)}
113
113
  {...props}
114
114
  />
115
115
  );
@@ -124,12 +124,12 @@ function SelectItem({
124
124
  <SelectPrimitive.Item
125
125
  data-slot="select-item"
126
126
  className={cn(
127
- "relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
127
+ "relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
128
128
  className,
129
129
  )}
130
130
  {...props}
131
131
  >
132
- <SelectPrimitive.ItemText className="flex flex-1 shrink-0 gap-2 whitespace-nowrap">
132
+ <SelectPrimitive.ItemText className="flex flex-1 shrink-0 items-center gap-1.5 whitespace-nowrap">
133
133
  {children}
134
134
  </SelectPrimitive.ItemText>
135
135
  <SelectPrimitive.ItemIndicator
@@ -4,7 +4,10 @@ function Skeleton({ className, ...props }: React.ComponentProps<'div'>) {
4
4
  return (
5
5
  <div
6
6
  data-slot="skeleton"
7
- className={cn('animate-pulse rounded-md bg-muted', className)}
7
+ className={cn(
8
+ 'animate-pulse rounded-md bg-muted in-data-[slot=sidebar]:bg-sidebar-skeleton',
9
+ className,
10
+ )}
8
11
  {...props}
9
12
  />
10
13
  );
@@ -10,7 +10,10 @@ function Spinner({
10
10
  data-slot="spinner"
11
11
  role="status"
12
12
  aria-label="Loading"
13
- className={cn('size-4 animate-spin', className)}
13
+ // h-4 w-4, not size-4: containers size icons without a size-* class
14
+ // (a size sm button's are 14px), so the spinner takes the size of the
15
+ // icon it stands in for.
16
+ className={cn('h-4 w-4 animate-spin', className)}
14
17
  {...props}
15
18
  />
16
19
  );
@@ -0,0 +1,35 @@
1
+ import React from 'react';
2
+ import { Icon, type IconProps } from './Icon';
3
+
4
+ interface IconArrowLeftOutline18Props extends IconProps {
5
+ strokeWidth?: number;
6
+ }
7
+ export const IconArrowLeftOutline18: React.FC<IconArrowLeftOutline18Props> = ({
8
+ strokeWidth = 1.5,
9
+ ...props
10
+ }) => {
11
+ return (
12
+ <Icon size="18px" {...props}>
13
+ <line
14
+ x1="2.75"
15
+ y1="9"
16
+ x2="15.25"
17
+ y2="9"
18
+ fill="none"
19
+ stroke="currentColor"
20
+ strokeLinecap="round"
21
+ strokeLinejoin="round"
22
+ strokeWidth={strokeWidth}
23
+ data-color="color-2"
24
+ />
25
+ <polyline
26
+ points="7 13.25 2.75 9 7 4.75"
27
+ fill="none"
28
+ stroke="currentColor"
29
+ strokeLinecap="round"
30
+ strokeLinejoin="round"
31
+ strokeWidth={strokeWidth}
32
+ />
33
+ </Icon>
34
+ );
35
+ };
@@ -0,0 +1,28 @@
1
+ import React from 'react';
2
+ import { Icon, type IconProps } from './Icon';
3
+
4
+ interface IconMediaStopOutline18Props extends IconProps {
5
+ strokeWidth?: number;
6
+ }
7
+ export const IconMediaStopOutline18: React.FC<IconMediaStopOutline18Props> = ({
8
+ strokeWidth = 1.5,
9
+ ...props
10
+ }) => {
11
+ return (
12
+ <Icon size="18px" {...props}>
13
+ <rect
14
+ x="2.75"
15
+ y="2.75"
16
+ width="12.5"
17
+ height="12.5"
18
+ rx="2"
19
+ ry="2"
20
+ fill="none"
21
+ stroke="currentColor"
22
+ strokeLinecap="round"
23
+ strokeLinejoin="round"
24
+ strokeWidth={strokeWidth}
25
+ />
26
+ </Icon>
27
+ );
28
+ };
@@ -0,0 +1,44 @@
1
+ import React from 'react';
2
+ import { Icon, type IconProps } from './Icon';
3
+
4
+ interface IconSpace3dOutline18Props extends IconProps {
5
+ strokeWidth?: number;
6
+ }
7
+ export const IconSpace3dOutline18: React.FC<IconSpace3dOutline18Props> = ({
8
+ strokeWidth = 1.5,
9
+ ...props
10
+ }) => {
11
+ return (
12
+ <Icon size="18px" {...props}>
13
+ <polyline
14
+ points="3.017 12.47 9 9 14.983 12.47"
15
+ fill="none"
16
+ stroke="currentColor"
17
+ strokeLinecap="round"
18
+ strokeLinejoin="round"
19
+ strokeWidth={strokeWidth}
20
+ data-color="color-2"
21
+ />
22
+ <line
23
+ x1="9"
24
+ y1="2.062"
25
+ x2="9"
26
+ y2="9"
27
+ fill="none"
28
+ stroke="currentColor"
29
+ strokeLinecap="round"
30
+ strokeLinejoin="round"
31
+ strokeWidth={strokeWidth}
32
+ data-color="color-2"
33
+ />
34
+ <path
35
+ d="M15.25,11.473V6.527c0-.713-.38-1.372-.997-1.73l-4.25-2.465c-.621-.36-1.386-.36-2.007,0L3.747,4.797c-.617,.358-.997,1.017-.997,1.73v4.946c0,.713,.38,1.372,.997,1.73l4.25,2.465c.621,.36,1.386,.36,2.007,0l4.25-2.465c.617-.358,.997-1.017,.997-1.73Z"
36
+ fill="none"
37
+ stroke="currentColor"
38
+ strokeLinecap="round"
39
+ strokeLinejoin="round"
40
+ strokeWidth={strokeWidth}
41
+ />
42
+ </Icon>
43
+ );
44
+ };
@@ -1,6 +1,7 @@
1
1
  export { Icon, type IconProps } from './Icon';
2
2
  export { IconArrowDoorOut3Outline18 } from './IconArrowDoorOut3Outline18';
3
3
  export { IconArrowDownOutline18 } from './IconArrowDownOutline18';
4
+ export { IconArrowLeftOutline18 } from './IconArrowLeftOutline18';
4
5
  export { IconArrowRightOutline18 } from './IconArrowRightOutline18';
5
6
  export { IconArrowTurnRightOutline18 } from './IconArrowTurnRightOutline18';
6
7
  export { IconArrowUpOutline18 } from './IconArrowUpOutline18';
@@ -80,6 +81,7 @@ export { IconMagicWandOutline18 } from './IconMagicWandOutline18';
80
81
  export { IconMagnifierMinusOutline18 } from './IconMagnifierMinusOutline18';
81
82
  export { IconMagnifierOutline18 } from './IconMagnifierOutline18';
82
83
  export { IconMagnifierPlusOutline18 } from './IconMagnifierPlusOutline18';
84
+ export { IconMediaStopOutline18 } from './IconMediaStopOutline18';
83
85
  export { IconMicrophone3Outline18 } from './IconMicrophone3Outline18';
84
86
  export { IconMediaPauseOutline18 } from './IconMediaPauseOutline18';
85
87
  export { IconMediaPlayOutline18 } from './IconMediaPlayOutline18';
@@ -121,6 +123,7 @@ export { IconSidebarRight2HideOutline18 } from './IconSidebarRight2HideOutline18
121
123
  export { IconSidebarRightHideOutline18 } from './IconSidebarRightHideOutline18';
122
124
  export { IconSidebarRightShowOutline18 } from './IconSidebarRightShowOutline18';
123
125
  export { IconSideProfileSparkleOutline18 } from './IconSideProfileSparkleOutline18';
126
+ export { IconSpace3dOutline18 } from './IconSpace3dOutline18';
124
127
  export { IconSparkleOutline18 } from './IconSparkleOutline18';
125
128
  export { IconSpeakerOutline18 } from './IconSpeakerOutline18';
126
129
  export { IconSplitViewOutline18 } from './IconSplitViewOutline18';
@@ -57,6 +57,8 @@
57
57
  --sidebar-primary: var(--color-primary-solid);
58
58
  --sidebar-primary-foreground: var(--color-solid-foreground);
59
59
  --sidebar-accent: var(--color-base-150);
60
+ /* Skeletons on the sidebar; muted equals its surface in light mode. */
61
+ --sidebar-skeleton: var(--color-base-150);
60
62
  --sidebar-accent-foreground: var(--color-base-900);
61
63
  --sidebar-border: var(--border);
62
64
  --sidebar-ring: var(--color-primary-solid);
@@ -113,6 +115,7 @@
113
115
  var(--color-base-700) 60%,
114
116
  var(--color-base-600)
115
117
  );
118
+ --sidebar-skeleton: var(--color-base-600);
116
119
  --sidebar-accent-foreground: var(--color-base-200);
117
120
  --sidebar-border: var(--border);
118
121
  --sidebar-ring: var(--color-primary-solid);
@@ -42,6 +42,7 @@
42
42
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
43
43
  --color-sidebar-accent: var(--sidebar-accent);
44
44
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
45
+ --color-sidebar-skeleton: var(--sidebar-skeleton);
45
46
  --color-sidebar-border: var(--sidebar-border);
46
47
  --color-sidebar-ring: var(--sidebar-ring);
47
48