@stagewise/ui 0.7.0 → 0.9.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/README.md +1 -1
- package/package.json +1 -1
- package/src/components/ui/alert-dialog.tsx +21 -4
- package/src/components/ui/avatar.tsx +3 -6
- package/src/components/ui/badge.tsx +1 -1
- package/src/components/ui/bubble.tsx +2 -2
- package/src/components/ui/button-group.tsx +2 -2
- package/src/components/ui/button.tsx +1 -1
- package/src/components/ui/checkbox.tsx +1 -1
- package/src/components/ui/combobox.tsx +1 -1
- package/src/components/ui/command.tsx +1 -1
- package/src/components/ui/dialog-lifecycle.tsx +66 -0
- package/src/components/ui/dialog.tsx +12 -3
- package/src/components/ui/dropdown-menu.tsx +3 -3
- package/src/components/ui/input-group.tsx +1 -1
- package/src/components/ui/input-otp.tsx +1 -1
- package/src/components/ui/input.tsx +1 -1
- package/src/components/ui/item.tsx +1 -1
- package/src/components/ui/klex-logo.tsx +1 -2
- package/src/components/ui/marker.tsx +1 -1
- package/src/components/ui/native-select.tsx +1 -1
- package/src/components/ui/questionnaire.tsx +4 -4
- package/src/components/ui/radio-group.tsx +1 -1
- package/src/components/ui/scroll-area.tsx +6 -1
- package/src/components/ui/select.tsx +1 -1
- package/src/components/ui/sidebar.tsx +14 -1
- package/src/components/ui/textarea.tsx +1 -1
- package/src/components/ui/toggle.tsx +1 -1
- package/src/icons/custom/ui-outline-18/IconCalendarOutline18.tsx +28 -0
- package/src/icons/custom/ui-outline-18/IconCrownOutline18.tsx +18 -0
- package/src/icons/custom/ui-outline-18/IconResizeGripOutline18.tsx +18 -0
- package/src/icons/custom/ui-outline-18/IconUserMinusOutline18.tsx +26 -0
- package/src/icons/custom/ui-outline-18/IconUserOutline18.tsx +26 -0
- package/src/icons/custom/ui-outline-18/index.ts +5 -0
- package/src/icons/index.ts +5 -0
- package/src/icons/nucleo/social-media/IconGoogle.tsx +11 -5
- package/src/icons/nucleo/ui-outline-18/IconArrowDoorOut3Outline18.tsx +50 -0
- package/src/icons/nucleo/ui-outline-18/IconMediaPauseOutline18.tsx +40 -0
- package/src/icons/nucleo/ui-outline-18/IconMediaPlayOutline18.tsx +22 -0
- package/src/icons/nucleo/ui-outline-18/IconPaperPlane2Outline18.tsx +33 -0
- package/src/icons/nucleo/ui-outline-18/IconPaperPlaneFastOutline18.tsx +50 -0
- package/src/icons/nucleo/ui-outline-18/IconUndo3Outline18.tsx +27 -0
- package/src/icons/nucleo/ui-outline-18/index.ts +6 -0
- package/src/icons/provider/IconLinear.tsx +1 -1
- package/src/icons/provider/IconPostHog.tsx +23 -3
- package/src/styles/bridge.css +10 -12
- package/src/styles/derived-utilities.css +1 -98
- package/src/styles/index.css +2 -7
- package/src/styles/theme.css +0 -2
|
@@ -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';
|
package/src/icons/index.ts
CHANGED
|
@@ -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,
|
|
@@ -3,17 +3,23 @@ import { Icon, type IconProps } from './Icon';
|
|
|
3
3
|
export const IconGoogle: React.FC<IconProps> = ({ ...props }) => {
|
|
4
4
|
return (
|
|
5
5
|
<Icon size="32px" {...props}>
|
|
6
|
-
<g
|
|
6
|
+
<g>
|
|
7
7
|
<path
|
|
8
8
|
d="M29.44 16.318c0-.993-.089-1.947-.255-2.864h-13.185v5.422h7.535c-.331 1.744-1.324 3.22-2.813 4.213v3.525h4.544c2.647-2.444 4.175-6.033 4.175-10.296Z"
|
|
9
|
-
|
|
9
|
+
fill="#4285F4"
|
|
10
|
+
/>
|
|
11
|
+
<path
|
|
12
|
+
fill="#34A853"
|
|
13
|
+
d="M16 30c3.78 0 6.949-1.247 9.265-3.385l-4.544-3.525c-1.247.84-2.838 1.349-4.722 1.349-3.64 0-6.733-2.456-7.84-5.765l-2.717 2.09-1.941 1.525c2.304 4.569 7.025 7.713 12.498 7.713Z"
|
|
10
14
|
/>
|
|
11
|
-
<path d="M16 30c3.78 0 6.949-1.247 9.265-3.385l-4.544-3.525c-1.247.84-2.838 1.349-4.722 1.349-3.64 0-6.733-2.456-7.84-5.765l-2.717 2.09-1.941 1.525c2.304 4.569 7.025 7.713 12.498 7.713Z" />
|
|
12
15
|
<path
|
|
13
16
|
d="M8.16 18.66c-.28-.84-.445-1.731-.445-2.66s.165-1.82.445-2.66v-3.615H3.502c-.955 1.884-1.502 4.009-1.502 6.275s.547 4.391 1.502 6.275h3.332s1.327-3.615 1.327-3.615Z"
|
|
14
|
-
|
|
17
|
+
fill="#FBBC05"
|
|
18
|
+
/>
|
|
19
|
+
<path
|
|
20
|
+
fill="#EA4335"
|
|
21
|
+
d="M16 7.575c2.062 0 3.895.713 5.358 2.087l4.009-4.009c-2.431-2.265-5.587-3.653-9.367-3.653-5.473 0-10.195 3.144-12.498 7.725l4.658 3.615c1.107-3.309 4.2-5.765 7.84-5.765Z"
|
|
15
22
|
/>
|
|
16
|
-
<path d="M16 7.575c2.062 0 3.895.713 5.358 2.087l4.009-4.009c-2.431-2.265-5.587-3.653-9.367-3.653-5.473 0-10.195 3.144-12.498 7.725l4.658 3.615c1.107-3.309 4.2-5.765 7.84-5.765Z" />
|
|
17
23
|
</g>
|
|
18
24
|
</Icon>
|
|
19
25
|
);
|
|
@@ -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';
|
|
@@ -2,7 +2,7 @@ import type { SVGProps } from 'react';
|
|
|
2
2
|
|
|
3
3
|
export function IconLinear(props: SVGProps<SVGSVGElement>) {
|
|
4
4
|
return (
|
|
5
|
-
<svg aria-hidden="true" viewBox="0 0 24 24" fill="
|
|
5
|
+
<svg aria-hidden="true" viewBox="0 0 24 24" fill="#5E6AD2" {...props}>
|
|
6
6
|
<path d="M2.886 4.18A11.982 11.982 0 0 1 11.99 0C18.624 0 24 5.376 24 12.009c0 3.64-1.62 6.903-4.18 9.105L2.887 4.18ZM1.817 5.626l16.556 16.556c-.524.33-1.075.62-1.65.866L.951 7.277c.247-.575.537-1.126.866-1.65ZM.322 9.163l14.515 14.515c-.71.172-1.443.282-2.195.322L0 11.358a12 12 0 0 1 .322-2.195Zm-.17 4.862 9.823 9.824a12.02 12.02 0 0 1-9.824-9.824Z" />
|
|
7
7
|
</svg>
|
|
8
8
|
);
|
|
@@ -1,10 +1,30 @@
|
|
|
1
1
|
import type { SVGProps } from 'react';
|
|
2
2
|
|
|
3
|
-
//
|
|
3
|
+
// Source: https://svgl.app/library/posthog.svg
|
|
4
|
+
// The monochrome face follows the theme so it stays visible in dark mode.
|
|
4
5
|
export function IconPostHog(props: SVGProps<SVGSVGElement>) {
|
|
5
6
|
return (
|
|
6
|
-
<svg aria-hidden="true" viewBox="0 0
|
|
7
|
-
<path
|
|
7
|
+
<svg aria-hidden="true" viewBox="0 0 50 30" fill="none" {...props}>
|
|
8
|
+
<path
|
|
9
|
+
fill="#1D4AFF"
|
|
10
|
+
d="M10.891 17.206a1 1 0 0 1-1.788 0l-.882-1.763a1 1 0 0 1 0-.894l.882-1.763a1 1 0 0 1 1.788 0l.882 1.763a1 1 0 0 1 0 .894l-.882 1.763zm0 9.997a1 1 0 0 1-1.788 0L8.22 25.44a1 1 0 0 1 0-.894l.882-1.763a1 1 0 0 1 1.788 0l.882 1.763a1 1 0 0 1 0 .894l-.882 1.763z"
|
|
11
|
+
/>
|
|
12
|
+
<path
|
|
13
|
+
fill="#F9BD2B"
|
|
14
|
+
d="M0 23.408c0-.89 1.077-1.337 1.707-.707l4.583 4.583c.63.63.184 1.708-.707 1.708H1a1 1 0 0 1-1-1v-4.584zm0-4.828a1 1 0 0 0 .293.708l9.411 9.41a1 1 0 0 0 .707.294h5.17c.89 0 1.337-1.077.707-1.707l-14.58-14.58C1.077 12.074 0 12.52 0 13.41v5.17zm0-9.997a1 1 0 0 0 .293.707L19.7 28.7a1 1 0 0 0 .707.293h5.17c.89 0 1.337-1.078.707-1.708L1.707 2.707C1.077 2.077 0 2.523 0 3.414v5.17zm9.997 0a1 1 0 0 0 .293.707l17.994 17.995c.63.63 1.707.183 1.707-.708v-5.169a1 1 0 0 0-.293-.707L11.704 2.707c-.63-.63-1.707-.184-1.707.707v5.17zm11.704-5.876c-.63-.63-1.707-.184-1.707.707v5.17a1 1 0 0 0 .293.706l7.997 7.998c.63.63 1.707.183 1.707-.708v-5.169a1 1 0 0 0-.293-.707l-7.997-7.997z"
|
|
15
|
+
/>
|
|
16
|
+
<path
|
|
17
|
+
fill="currentColor"
|
|
18
|
+
d="m42.525 23.53-9.413-9.412c-.63-.63-1.707-.184-1.707.707v13.167a1 1 0 0 0 1 1h14.58a1 1 0 0 0 1-1v-1.2c0-.552-.449-.993-.997-1.064a7.723 7.723 0 0 1-4.463-2.197zm-6.321 2.263a1.6 1.6 0 1 1 0-3.2 1.6 1.6 0 0 1 0 3.2z"
|
|
19
|
+
/>
|
|
20
|
+
<path
|
|
21
|
+
fill="#1D4AFF"
|
|
22
|
+
d="M0 27.992a1 1 0 0 0 1 1h4.583c.891 0 1.337-1.078.707-1.708l-4.583-4.583c-.63-.63-1.707-.184-1.707.707v4.584zm9.997-16.995-8.29-8.29C1.077 2.077 0 2.523 0 3.414v5.17a1 1 0 0 0 .293.706l9.704 9.705v-7.998zm-8.29 1.707c-.63-.63-1.707-.184-1.707.707v5.17a1 1 0 0 0 .293.706l9.704 9.705v-7.998l-8.29-8.29z"
|
|
23
|
+
/>
|
|
24
|
+
<path
|
|
25
|
+
fill="#F54E00"
|
|
26
|
+
d="M19.994 11.411a1 1 0 0 0-.293-.707l-7.997-7.997c-.63-.63-1.707-.184-1.707.707v5.17a1 1 0 0 0 .293.706l9.704 9.705V11.41zm-9.997 17.58h5.583c.891 0 1.337-1.077.707-1.707l-6.29-6.29v7.998zm0-17.994v7.583a1 1 0 0 0 .293.708l9.704 9.704v-7.584a1 1 0 0 0-.293-.707l-9.704-9.704z"
|
|
27
|
+
/>
|
|
8
28
|
</svg>
|
|
9
29
|
);
|
|
10
30
|
}
|
package/src/styles/bridge.css
CHANGED
|
@@ -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
|
|
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
|
-
/*
|
|
43
|
-
|
|
44
|
-
--
|
|
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(--
|
|
61
|
+
--sidebar-border: var(--border);
|
|
63
62
|
--sidebar-ring: var(--color-primary-solid);
|
|
64
63
|
|
|
65
64
|
/* Radius */
|
|
66
|
-
--radius: 0.
|
|
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
|
-
/*
|
|
96
|
-
|
|
97
|
-
--
|
|
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(--
|
|
117
|
+
--sidebar-border: var(--border);
|
|
120
118
|
--sidebar-ring: var(--color-primary-solid);
|
|
121
119
|
}
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Auto-derived color utilities
|
|
3
|
-
* These derive
|
|
3
|
+
* These derive text and background colors from the element's
|
|
4
4
|
* background color (--cm-bg-color) which is automatically set by bg-* utilities
|
|
5
5
|
* via the color-modifiers plugin.
|
|
6
6
|
*
|
|
7
7
|
* Falls back to semantic colors when no background is set.
|
|
8
8
|
*
|
|
9
9
|
* Usage examples:
|
|
10
|
-
* border border-derived-subtle - subtle border derived from background
|
|
11
|
-
* border border-derived - regular border derived from background
|
|
12
|
-
* ring ring-derived-strong - strong ring derived from background
|
|
13
10
|
* hover:bg-hover-derived - hover state background
|
|
14
11
|
*/
|
|
15
12
|
|
|
@@ -38,15 +35,6 @@
|
|
|
38
35
|
--shortcut-solid-hover-derived-c: 0.008;
|
|
39
36
|
--shortcut-solid-active-derived-l: 0.01;
|
|
40
37
|
--shortcut-solid-active-derived-c: 0.006;
|
|
41
|
-
|
|
42
|
-
--border-derived-subtle-l: -0.02;
|
|
43
|
-
--border-derived-subtle-c: -0.003;
|
|
44
|
-
|
|
45
|
-
--border-derived-l: -0.04;
|
|
46
|
-
--border-derived-c: -0.007;
|
|
47
|
-
|
|
48
|
-
--border-derived-strong-l: -0.06;
|
|
49
|
-
--border-derived-strong-c: -0.01;
|
|
50
38
|
}
|
|
51
39
|
|
|
52
40
|
:root.dark {
|
|
@@ -68,91 +56,6 @@
|
|
|
68
56
|
--shortcut-solid-hover-derived-c: -0.008;
|
|
69
57
|
--shortcut-solid-active-derived-l: 0.01;
|
|
70
58
|
--shortcut-solid-active-derived-c: -0.006;
|
|
71
|
-
|
|
72
|
-
--border-derived-subtle-l: 0.09;
|
|
73
|
-
--border-derived-subtle-c: 0.014;
|
|
74
|
-
|
|
75
|
-
--border-derived-l: 0.12;
|
|
76
|
-
--border-derived-c: 0.018;
|
|
77
|
-
|
|
78
|
-
--border-derived-strong-l: 0.15;
|
|
79
|
-
--border-derived-strong-c: 0.022;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/* Border utilities */
|
|
83
|
-
@utility border-derived-subtle {
|
|
84
|
-
border-color: oklch(
|
|
85
|
-
from var(--cm-bg-color, var(--color-border))
|
|
86
|
-
calc(l + var(--border-derived-subtle-l))
|
|
87
|
-
calc(c + var(--border-derived-subtle-c)) h
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
@utility border-derived {
|
|
92
|
-
border-color: oklch(
|
|
93
|
-
from var(--cm-bg-color, var(--color-border))
|
|
94
|
-
calc(l + var(--border-derived-l)) calc(c + var(--border-derived-c)) h
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
@utility border-derived-strong {
|
|
99
|
-
border-color: oklch(
|
|
100
|
-
from var(--cm-bg-color, var(--color-border))
|
|
101
|
-
calc(l + var(--border-derived-strong-l))
|
|
102
|
-
calc(c + var(--border-derived-strong-c)) h
|
|
103
|
-
);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
@utility border-derived-lighter-subtle {
|
|
107
|
-
border-color: oklch(
|
|
108
|
-
from var(--cm-bg-color, var(--color-border-subtle)) calc(l + 0.06)
|
|
109
|
-
calc(c + 0.011) h
|
|
110
|
-
);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
@utility border-derived-lighter {
|
|
114
|
-
border-color: oklch(
|
|
115
|
-
from var(--cm-bg-color, var(--color-border-subtle)) calc(l + 0.09)
|
|
116
|
-
calc(c + 0.014) h
|
|
117
|
-
);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
/* Ring utilities */
|
|
121
|
-
@utility ring-derived-subtle {
|
|
122
|
-
--tw-ring-color: oklch(
|
|
123
|
-
from var(--cm-bg-color, var(--color-border-subtle))
|
|
124
|
-
calc(l + var(--border-derived-subtle-l))
|
|
125
|
-
calc(c + var(--border-derived-subtle-c)) h
|
|
126
|
-
);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
@utility ring-derived {
|
|
130
|
-
--tw-ring-color: oklch(
|
|
131
|
-
from var(--cm-bg-color, var(--color-border))
|
|
132
|
-
calc(l + var(--border-derived-l)) calc(c + var(--border-derived-c)) h
|
|
133
|
-
);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
@utility ring-derived-strong {
|
|
137
|
-
--tw-ring-color: oklch(
|
|
138
|
-
from var(--cm-bg-color, var(--color-border))
|
|
139
|
-
calc(l + var(--border-derived-strong-l))
|
|
140
|
-
calc(c + var(--border-derived-strong-c)) h
|
|
141
|
-
);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
@utility ring-derived-lighter-subtle {
|
|
145
|
-
--tw-ring-color: oklch(
|
|
146
|
-
from var(--cm-bg-color, var(--color-border-subtle)) calc(l + 0.06)
|
|
147
|
-
calc(c + 0.011) h
|
|
148
|
-
);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
@utility ring-derived-lighter {
|
|
152
|
-
--tw-ring-color: oklch(
|
|
153
|
-
from var(--cm-bg-color, var(--color-border-subtle)) calc(l + 0.09)
|
|
154
|
-
calc(c + 0.014) h
|
|
155
|
-
);
|
|
156
59
|
}
|
|
157
60
|
|
|
158
61
|
/* Text utilities */
|
package/src/styles/index.css
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* This provides:
|
|
8
8
|
* 1. The stage-ui OKLCH color palette (dynamic hue/chroma system)
|
|
9
9
|
* 2. Theme tokens (light/dark mode semantic colors)
|
|
10
|
-
* 3. Derived color utilities (
|
|
10
|
+
* 3. Derived color utilities (text-hover-derived, bg-hover-derived, etc.)
|
|
11
11
|
* 4. Animations (caret-blink, switch-knob)
|
|
12
12
|
* 5. Bundled Geist Variable font (woff2, weights 100–900, upright + italic)
|
|
13
13
|
* 6. Bridge layer: shadcn token names → stage-ui color values
|
|
@@ -49,18 +49,13 @@
|
|
|
49
49
|
|
|
50
50
|
@layer base {
|
|
51
51
|
* {
|
|
52
|
-
@apply border-
|
|
53
|
-
corner-shape: squircle;
|
|
52
|
+
@apply border-border outline-ring/50;
|
|
54
53
|
}
|
|
55
54
|
|
|
56
55
|
body {
|
|
57
56
|
@apply bg-background text-foreground;
|
|
58
57
|
}
|
|
59
58
|
|
|
60
|
-
.rounded-full {
|
|
61
|
-
corner-shape: round;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
59
|
:root {
|
|
65
60
|
color-scheme: light;
|
|
66
61
|
}
|
package/src/styles/theme.css
CHANGED
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
--color-surface-2: var(--color-base-150);
|
|
23
23
|
--color-surface-3: var(--color-base-200);
|
|
24
24
|
|
|
25
|
-
--color-border: var(--color-base-200);
|
|
26
25
|
--color-border-subtle: var(--color-base-150);
|
|
27
26
|
|
|
28
27
|
--color-overlay: var(--color-base-950);
|
|
@@ -96,7 +95,6 @@
|
|
|
96
95
|
oklch(0.295 0 none)
|
|
97
96
|
);
|
|
98
97
|
|
|
99
|
-
--color-border: var(--color-base-600);
|
|
100
98
|
--color-border-subtle: var(--color-base-700);
|
|
101
99
|
|
|
102
100
|
--color-success-foreground: var(--color-success-foreground-dark);
|