@stagewise/ui 0.13.0 → 0.15.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.
- package/package.json +1 -1
- package/src/components/ui/alert-dialog.tsx +1 -1
- package/src/components/ui/combobox.tsx +1 -1
- package/src/components/ui/command.tsx +3 -3
- package/src/components/ui/dialog.tsx +93 -20
- package/src/components/ui/message-scroller.tsx +24 -5
- package/src/components/ui/scroll-area.tsx +7 -1
- package/src/components/ui/select.tsx +4 -4
- package/src/icons/index.ts +4 -0
- package/src/icons/nucleo/ui-outline-18/IconArrowLeftOutline18.tsx +35 -0
- package/src/icons/nucleo/ui-outline-18/IconMediaStopOutline18.tsx +28 -0
- package/src/icons/nucleo/ui-outline-18/IconSpace3dOutline18.tsx +44 -0
- package/src/icons/nucleo/ui-outline-18/index.ts +3 -0
- package/src/icons/provider/IconAsana.tsx +10 -0
- package/src/icons/provider/IconIntercom.tsx +10 -0
- package/src/icons/provider/IconSentry.tsx +10 -0
- package/src/icons/provider/IconTwilio.tsx +10 -0
- package/src/icons/provider/index.ts +4 -0
package/package.json
CHANGED
|
@@ -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-
|
|
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)]
|
|
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
|
|
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
|
-
<
|
|
70
|
-
|
|
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
|
-
|
|
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(
|
|
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
|
-
'
|
|
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
|
-
}:
|
|
27
|
+
}: ScrollAreaPrimitive.Root.Props) {
|
|
25
28
|
return (
|
|
26
|
-
<
|
|
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
|
-
<
|
|
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
|
|
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
|
-
<
|
|
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-(--
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
package/src/icons/index.ts
CHANGED
|
@@ -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';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
// Source: https://github.com/simple-icons/simple-icons/blob/develop/icons/asana.svg
|
|
4
|
+
export function IconAsana(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg aria-hidden="true" viewBox="0 0 24 24" fill="#F06A6A" {...props}>
|
|
7
|
+
<path d="M18.78 12.653c-2.882 0-5.22 2.336-5.22 5.22s2.338 5.22 5.22 5.22 5.22-2.34 5.22-5.22-2.336-5.22-5.22-5.22zm-13.56 0c-2.88 0-5.22 2.337-5.22 5.22s2.338 5.22 5.22 5.22 5.22-2.338 5.22-5.22-2.336-5.22-5.22-5.22zm12-6.525c0 2.883-2.337 5.22-5.22 5.22-2.882 0-5.22-2.337-5.22-5.22 0-2.88 2.338-5.22 5.22-5.22 2.883 0 5.22 2.34 5.22 5.22z" />
|
|
8
|
+
</svg>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
// Source: https://github.com/simple-icons/simple-icons/blob/develop/icons/intercom.svg
|
|
4
|
+
export function IconIntercom(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg aria-hidden="true" viewBox="0 0 24 24" fill="currentColor" {...props}>
|
|
7
|
+
<path d="M21 0H3C1.343 0 0 1.343 0 3v18c0 1.658 1.343 3 3 3h18c1.658 0 3-1.342 3-3V3c0-1.657-1.342-3-3-3zm-5.801 4.399c0-.44.36-.8.802-.8.44 0 .8.36.8.8v10.688c0 .442-.36.801-.8.801-.443 0-.802-.359-.802-.801V4.399zM11.2 3.994c0-.44.357-.799.8-.799s.8.359.8.799v11.602c0 .44-.357.8-.8.8s-.8-.36-.8-.8V3.994zm-4 .405c0-.44.359-.8.799-.8.443 0 .802.36.802.8v10.688c0 .442-.36.801-.802.801-.44 0-.799-.359-.799-.801V4.399zM3.199 6c0-.442.36-.8.802-.8.44 0 .799.358.799.8v7.195c0 .441-.359.8-.799.8-.443 0-.802-.36-.802-.8V6zM20.52 18.202c-.123.105-3.086 2.593-8.52 2.593-5.433 0-8.397-2.486-8.521-2.593-.335-.288-.375-.792-.086-1.128.285-.334.79-.375 1.125-.09.047.041 2.693 2.211 7.481 2.211 4.848 0 7.456-2.186 7.479-2.207.334-.289.839-.25 1.128.086.289.336.25.84-.086 1.128zm.281-5.007c0 .441-.36.8-.801.8-.441 0-.801-.36-.801-.8V6c0-.442.361-.8.801-.8.441 0 .801.357.801.8v7.195z" />
|
|
8
|
+
</svg>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
// Source: https://github.com/simple-icons/simple-icons/blob/develop/icons/sentry.svg
|
|
4
|
+
export function IconSentry(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg aria-hidden="true" viewBox="0 0 24 24" fill="currentColor" {...props}>
|
|
7
|
+
<path d="M13.91 2.505c-.873-1.448-2.972-1.448-3.844 0L6.904 7.92a15.478 15.478 0 0 1 8.53 12.811h-2.221A13.301 13.301 0 0 0 5.784 9.814l-2.926 5.06a7.65 7.65 0 0 1 4.435 5.848H2.194a.365.365 0 0 1-.298-.534l1.413-2.402a5.16 5.16 0 0 0-1.614-.913L.296 19.275a2.182 2.182 0 0 0 .812 2.999 2.24 2.24 0 0 0 1.086.288h6.983a9.322 9.322 0 0 0-3.845-8.318l1.11-1.922a11.47 11.47 0 0 1 4.95 10.24h5.915a17.242 17.242 0 0 0-7.885-15.28l2.244-3.845a.37.37 0 0 1 .504-.13c.255.14 9.75 16.708 9.928 16.9a.365.365 0 0 1-.327.543h-2.287c.029.612.029 1.223 0 1.831h2.297a2.206 2.206 0 0 0 1.922-3.31z" />
|
|
8
|
+
</svg>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
// Source: https://github.com/simple-icons/simple-icons/blob/13.21.0/icons/twilio.svg
|
|
4
|
+
export function IconTwilio(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg aria-hidden="true" viewBox="0 0 24 24" fill="#F22F46" {...props}>
|
|
7
|
+
<path d="M12 0C5.381-.008.008 5.352 0 11.971V12c0 6.64 5.359 12 12 12 6.64 0 12-5.36 12-12 0-6.641-5.36-12-12-12zm0 20.801c-4.846.015-8.786-3.904-8.801-8.75V12c-.014-4.846 3.904-8.786 8.75-8.801H12c4.847-.014 8.786 3.904 8.801 8.75V12c.015 4.847-3.904 8.786-8.75 8.801H12zm5.44-11.76c0 1.359-1.12 2.479-2.481 2.479-1.366-.007-2.472-1.113-2.479-2.479 0-1.361 1.12-2.481 2.479-2.481 1.361 0 2.481 1.12 2.481 2.481zm0 5.919c0 1.36-1.12 2.48-2.481 2.48-1.367-.008-2.473-1.114-2.479-2.48 0-1.359 1.12-2.479 2.479-2.479 1.361-.001 2.481 1.12 2.481 2.479zm-5.919 0c0 1.36-1.12 2.48-2.479 2.48-1.368-.007-2.475-1.113-2.481-2.48 0-1.359 1.12-2.479 2.481-2.479 1.358-.001 2.479 1.12 2.479 2.479zm0-5.919c0 1.359-1.12 2.479-2.479 2.479-1.367-.007-2.475-1.112-2.481-2.479 0-1.361 1.12-2.481 2.481-2.481 1.358 0 2.479 1.12 2.479 2.481z" />
|
|
8
|
+
</svg>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export { IconAnthropic } from './IconAnthropic';
|
|
2
|
+
export { IconAsana } from './IconAsana';
|
|
3
|
+
export { IconIntercom } from './IconIntercom';
|
|
4
|
+
export { IconSentry } from './IconSentry';
|
|
5
|
+
export { IconTwilio } from './IconTwilio';
|
|
2
6
|
export { IconAttio } from './IconAttio';
|
|
3
7
|
export { IconCodex } from './IconCodex';
|
|
4
8
|
export { IconDiscord } from './IconDiscord';
|