@stagewise/ui 0.25.0 → 0.26.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 +1 -1
- package/src/components/ui/alert-dialog.tsx +3 -0
- package/src/components/ui/dialog.tsx +3 -0
- package/src/components/ui/sheet.tsx +7 -1
- package/src/icons/custom/ui-outline-18/IconCircleOutline18.tsx +18 -0
- package/src/icons/custom/ui-outline-18/IconClockOutline18.tsx +26 -0
- package/src/icons/custom/ui-outline-18/IconRepeatOutline18.tsx +18 -0
- package/src/icons/custom/ui-outline-18/index.ts +3 -0
- package/src/icons/index.ts +3 -0
package/package.json
CHANGED
|
@@ -29,13 +29,16 @@ function AlertDialogPortal({ ...props }: AlertDialogPrimitive.Portal.Props) {
|
|
|
29
29
|
);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
/** Also renders for nested dialogs, so each level dims the one below. */
|
|
32
33
|
function AlertDialogOverlay({
|
|
33
34
|
className,
|
|
35
|
+
forceRender = true,
|
|
34
36
|
...props
|
|
35
37
|
}: AlertDialogPrimitive.Backdrop.Props) {
|
|
36
38
|
return (
|
|
37
39
|
<AlertDialogPrimitive.Backdrop
|
|
38
40
|
data-slot="alert-dialog-overlay"
|
|
41
|
+
forceRender={forceRender}
|
|
39
42
|
className={cn(
|
|
40
43
|
'fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0',
|
|
41
44
|
className,
|
|
@@ -43,13 +43,16 @@ function DialogCloseButton({ className }: { className?: string }) {
|
|
|
43
43
|
);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
/** Also renders for nested dialogs, so each level dims the one below. */
|
|
46
47
|
function DialogOverlay({
|
|
47
48
|
className,
|
|
49
|
+
forceRender = true,
|
|
48
50
|
...props
|
|
49
51
|
}: DialogPrimitive.Backdrop.Props) {
|
|
50
52
|
return (
|
|
51
53
|
<DialogPrimitive.Backdrop
|
|
52
54
|
data-slot="dialog-overlay"
|
|
55
|
+
forceRender={forceRender}
|
|
53
56
|
className={cn(
|
|
54
57
|
'fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0',
|
|
55
58
|
className,
|
|
@@ -21,10 +21,16 @@ function SheetPortal({ ...props }: SheetPrimitive.Portal.Props) {
|
|
|
21
21
|
return <SheetPrimitive.Portal data-slot="sheet-portal" {...props} />;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
/** Also renders for nested dialogs, so each level dims the one below. */
|
|
25
|
+
function SheetOverlay({
|
|
26
|
+
className,
|
|
27
|
+
forceRender = true,
|
|
28
|
+
...props
|
|
29
|
+
}: SheetPrimitive.Backdrop.Props) {
|
|
25
30
|
return (
|
|
26
31
|
<SheetPrimitive.Backdrop
|
|
27
32
|
data-slot="sheet-overlay"
|
|
33
|
+
forceRender={forceRender}
|
|
28
34
|
className={cn(
|
|
29
35
|
'fixed inset-0 z-50 bg-black/10 transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs',
|
|
30
36
|
className,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
|
|
3
|
+
import { Icon, type IconProps } from './Icon';
|
|
4
|
+
|
|
5
|
+
export const IconCircleOutline18: React.FC<
|
|
6
|
+
IconProps & { strokeWidth?: number }
|
|
7
|
+
> = ({ strokeWidth = 1.5, ...props }) => (
|
|
8
|
+
<Icon size="18px" {...props}>
|
|
9
|
+
<circle
|
|
10
|
+
cx="9"
|
|
11
|
+
cy="9"
|
|
12
|
+
r="6.25"
|
|
13
|
+
fill="none"
|
|
14
|
+
stroke="currentColor"
|
|
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 IconClockOutline18: React.FC<
|
|
6
|
+
IconProps & { strokeWidth?: number }
|
|
7
|
+
> = ({ strokeWidth = 1.5, ...props }) => (
|
|
8
|
+
<Icon size="18px" {...props}>
|
|
9
|
+
<circle
|
|
10
|
+
cx="9"
|
|
11
|
+
cy="9"
|
|
12
|
+
r="6.25"
|
|
13
|
+
fill="none"
|
|
14
|
+
stroke="currentColor"
|
|
15
|
+
strokeWidth={strokeWidth}
|
|
16
|
+
/>
|
|
17
|
+
<path
|
|
18
|
+
d="M9 5.75V9l2.25 1.5"
|
|
19
|
+
fill="none"
|
|
20
|
+
stroke="currentColor"
|
|
21
|
+
strokeLinecap="round"
|
|
22
|
+
strokeLinejoin="round"
|
|
23
|
+
strokeWidth={strokeWidth}
|
|
24
|
+
/>
|
|
25
|
+
</Icon>
|
|
26
|
+
);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
|
|
3
|
+
import { Icon, type IconProps } from './Icon';
|
|
4
|
+
|
|
5
|
+
export const IconRepeatOutline18: React.FC<
|
|
6
|
+
IconProps & { strokeWidth?: number }
|
|
7
|
+
> = ({ strokeWidth = 1.5, ...props }) => (
|
|
8
|
+
<Icon size="18px" {...props}>
|
|
9
|
+
<path
|
|
10
|
+
d="M3.25 8.25V7.5a2.5 2.5 0 0 1 2.5-2.5h9M12.25 2.5 14.75 5l-2.5 2.5M14.75 9.75v.75a2.5 2.5 0 0 1-2.5 2.5h-9M5.75 15.5 3.25 13l2.5-2.5"
|
|
11
|
+
fill="none"
|
|
12
|
+
stroke="currentColor"
|
|
13
|
+
strokeLinecap="round"
|
|
14
|
+
strokeLinejoin="round"
|
|
15
|
+
strokeWidth={strokeWidth}
|
|
16
|
+
/>
|
|
17
|
+
</Icon>
|
|
18
|
+
);
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
export { Icon, type IconProps } from './Icon';
|
|
2
2
|
export { IconBrowserTab } from './IconBrowserTab';
|
|
3
3
|
export { IconCalendarOutline18 } from './IconCalendarOutline18';
|
|
4
|
+
export { IconCircleOutline18 } from './IconCircleOutline18';
|
|
5
|
+
export { IconClockOutline18 } from './IconClockOutline18';
|
|
4
6
|
export { IconCrownOutline18 } from './IconCrownOutline18';
|
|
5
7
|
export { IconDesktop } from './IconDesktop';
|
|
6
8
|
export { IconFilterOutline18 } from './IconFilterOutline18';
|
|
7
9
|
export { IconKlexOutline18 } from './IconKlexOutline18';
|
|
8
10
|
export { IconLaptop } from './IconLaptop';
|
|
9
11
|
export { IconNewTerminal } from './IconNewTerminal';
|
|
12
|
+
export { IconRepeatOutline18 } from './IconRepeatOutline18';
|
|
10
13
|
export { IconResizeGripOutline18 } from './IconResizeGripOutline18';
|
|
11
14
|
export { IconSignOut } from './IconSignOut';
|
|
12
15
|
export { IconUserMinusOutline18 } from './IconUserMinusOutline18';
|
package/src/icons/index.ts
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
export {
|
|
2
2
|
IconBrowserTab,
|
|
3
3
|
IconCalendarOutline18,
|
|
4
|
+
IconCircleOutline18,
|
|
5
|
+
IconClockOutline18,
|
|
4
6
|
IconCrownOutline18,
|
|
5
7
|
IconDesktop,
|
|
6
8
|
IconFilterOutline18,
|
|
7
9
|
IconKlexOutline18,
|
|
8
10
|
IconLaptop,
|
|
9
11
|
IconNewTerminal,
|
|
12
|
+
IconRepeatOutline18,
|
|
10
13
|
IconResizeGripOutline18,
|
|
11
14
|
IconSignOut,
|
|
12
15
|
IconUserMinusOutline18,
|