@stagewise/ui 0.1.0 → 0.3.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 +9 -3
- package/package.json +9 -15
- package/src/components/ui/accordion.tsx +13 -15
- package/src/components/ui/alert-dialog.tsx +38 -38
- package/src/components/ui/alert.tsx +22 -22
- package/src/components/ui/aspect-ratio.tsx +6 -6
- package/src/components/ui/avatar.tsx +30 -30
- package/src/components/ui/badge.tsx +24 -22
- package/src/components/ui/breadcrumb.tsx +34 -37
- package/src/components/ui/bubble.tsx +48 -48
- package/src/components/ui/button-group.tsx +24 -24
- package/src/components/ui/button.tsx +24 -24
- package/src/components/ui/calendar.tsx +94 -81
- package/src/components/ui/card.tsx +30 -30
- package/src/components/ui/carousel.tsx +95 -92
- package/src/components/ui/chart.tsx +110 -110
- package/src/components/ui/checkbox.tsx +9 -10
- package/src/components/ui/collapsible.tsx +5 -5
- package/src/components/ui/combobox.tsx +51 -44
- package/src/components/ui/command.tsx +173 -190
- package/src/components/ui/context-menu.tsx +60 -50
- package/src/components/ui/dialog.tsx +33 -34
- package/src/components/ui/direction.tsx +1 -1
- package/src/components/ui/drawer.tsx +61 -61
- package/src/components/ui/dropdown-menu.tsx +54 -50
- package/src/components/ui/empty.tsx +30 -30
- package/src/components/ui/field.tsx +64 -64
- package/src/components/ui/hover-card.tsx +12 -12
- package/src/components/ui/input-group.tsx +54 -54
- package/src/components/ui/input-otp.tsx +24 -25
- package/src/components/ui/input.tsx +8 -8
- package/src/components/ui/item.tsx +64 -64
- package/src/components/ui/kbd.tsx +8 -8
- package/src/components/ui/klex-logo-combo.tsx +69 -0
- package/src/components/ui/klex-logo-text.tsx +70 -0
- package/src/components/ui/klex-logo.tsx +146 -0
- package/src/components/ui/label.tsx +8 -8
- package/src/components/ui/marker.tsx +25 -25
- package/src/components/ui/menubar.tsx +54 -50
- package/src/components/ui/message-scroller.tsx +130 -0
- package/src/components/ui/message.tsx +27 -27
- package/src/components/ui/native-select.tsx +22 -18
- package/src/components/ui/navigation-menu.tsx +37 -34
- package/src/components/ui/pagination.tsx +34 -31
- package/src/components/ui/popover.tsx +19 -19
- package/src/components/ui/progress.tsx +16 -16
- package/src/components/ui/questionnaire.tsx +72 -69
- package/src/components/ui/radio-group.tsx +9 -9
- package/src/components/ui/resizable.tsx +19 -12
- package/src/components/ui/scroll-area.tsx +10 -10
- package/src/components/ui/select.tsx +39 -34
- package/src/components/ui/separator.tsx +7 -7
- package/src/components/ui/sheet.tsx +31 -32
- package/src/components/ui/sidebar.tsx +244 -232
- package/src/components/ui/skeleton.tsx +5 -5
- package/src/components/ui/slider.tsx +11 -7
- package/src/components/ui/spinner.tsx +15 -6
- package/src/components/ui/stagewise-logo-combo.tsx +43 -0
- package/src/components/ui/stagewise-logo-text.tsx +30 -0
- package/src/components/ui/stagewise-logo.tsx +42 -0
- package/src/components/ui/switch.tsx +9 -9
- package/src/components/ui/table.tsx +31 -31
- package/src/components/ui/tabs.tsx +37 -26
- package/src/components/ui/textarea.tsx +7 -7
- package/src/components/ui/toast.tsx +70 -70
- package/src/components/ui/toggle-group.tsx +26 -26
- package/src/components/ui/toggle.tsx +15 -15
- package/src/components/ui/tooltip.tsx +13 -13
- package/src/hooks/use-mobile.ts +13 -11
- package/src/icons/custom/ui-outline-18/IconKlexOutline18.tsx +39 -0
- package/src/icons/custom/ui-outline-18/IconLaptop.tsx +35 -0
- package/src/icons/custom/ui-outline-18/IconSignOut.tsx +33 -0
- package/src/icons/custom/ui-outline-18/index.ts +4 -1
- package/src/icons/index.ts +43 -20
- package/src/icons/nucleo/social-media/IconMicrosoftEntraId.tsx +56 -0
- package/src/icons/nucleo/social-media/index.ts +1 -0
- package/src/icons/nucleo/ui-outline-18/IconArrowDownOutline18.tsx +4 -3
- package/src/icons/nucleo/ui-outline-18/IconArrowTurnRightOutline18.tsx +32 -0
- package/src/icons/nucleo/ui-outline-18/IconArrowUpOutline18.tsx +35 -0
- package/src/icons/nucleo/ui-outline-18/IconChartPieOutline18.tsx +4 -3
- package/src/icons/nucleo/ui-outline-18/IconChevronMaximizeDiagonal2Outline18.tsx +33 -0
- package/src/icons/nucleo/ui-outline-18/IconChevronUpOutline18.tsx +4 -3
- package/src/icons/nucleo/ui-outline-18/IconEmptyOutline18.tsx +41 -0
- package/src/icons/nucleo/ui-outline-18/IconEyeOffOutline18.tsx +18 -0
- package/src/icons/nucleo/ui-outline-18/IconLinkBrokenOutline18.tsx +66 -0
- package/src/icons/nucleo/ui-outline-18/IconLock18Outline.tsx +48 -0
- package/src/icons/nucleo/ui-outline-18/IconMinusOutline18.tsx +4 -3
- package/src/icons/nucleo/ui-outline-18/IconMsgs2Outline18.tsx +32 -0
- package/src/icons/nucleo/ui-outline-18/IconPanelLeftOutline18.tsx +4 -3
- package/src/icons/nucleo/ui-outline-18/IconSidebarLeft2HideOutline18.tsx +63 -0
- package/src/icons/nucleo/ui-outline-18/IconSidebarRight2HideOutline18.tsx +63 -0
- package/src/icons/nucleo/ui-outline-18/index.ts +11 -1
- package/src/icons/provider/IconAnthropic.tsx +15 -0
- package/src/icons/provider/IconAttio.tsx +9 -0
- package/src/icons/provider/IconCodex.tsx +18 -0
- package/src/icons/provider/IconDiscord.tsx +17 -0
- package/src/icons/provider/IconGemini.tsx +152 -0
- package/src/icons/provider/IconLinear.tsx +9 -0
- package/src/icons/provider/IconOpenAI.tsx +15 -0
- package/src/icons/provider/IconOpenRouter.tsx +24 -0
- package/src/icons/provider/IconSlack.tsx +24 -0
- package/src/icons/provider/IconTelegram.tsx +29 -0
- package/src/icons/provider/IconWhatsapp.tsx +14 -0
- package/src/icons/provider/LICENSE +21 -0
- package/src/icons/provider/index.ts +11 -0
- package/src/index.ts +68 -61
- package/src/lib/utils.ts +3 -3
- package/src/styles/bridge.css +7 -3
- package/src/styles/derived-utilities.css +129 -50
- package/src/styles/index.css +17 -2
- package/src/styles/palette.css +266 -105
- package/src/styles/scroll-fade.css +116 -0
- package/src/styles/tailwind-tokens.css +3 -0
- package/src/styles/theme.css +57 -43
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export { Icon, type IconProps } from './Icon';
|
|
2
2
|
export { IconArrowDownOutline18 } from './IconArrowDownOutline18';
|
|
3
3
|
export { IconArrowRightOutline18 } from './IconArrowRightOutline18';
|
|
4
|
+
export { IconArrowTurnRightOutline18 } from './IconArrowTurnRightOutline18';
|
|
5
|
+
export { IconArrowUpOutline18 } from './IconArrowUpOutline18';
|
|
4
6
|
export { IconArrowUpRightOutline18 } from './IconArrowUpRightOutline18';
|
|
5
7
|
export { IconArrowsOppositeDirectionXOutline18 } from './IconArrowsOppositeDirectionXOutline18';
|
|
6
8
|
export { IconArrowsToCenterOutline18 } from './IconArrowsToCenterOutline18';
|
|
@@ -19,6 +21,7 @@ export { IconCheckOutline18 } from './IconCheckOutline18';
|
|
|
19
21
|
export { IconChevronDownOutline18 } from './IconChevronDownOutline18';
|
|
20
22
|
export { IconChevronExpandYOutline18 } from './IconChevronExpandYOutline18';
|
|
21
23
|
export { IconChevronLeftOutline18 } from './IconChevronLeftOutline18';
|
|
24
|
+
export { IconChevronMaximizeDiagonal2Outline18 } from './IconChevronMaximizeDiagonal2Outline18';
|
|
22
25
|
export { IconChevronReduceYOutline18 } from './IconChevronReduceYOutline18';
|
|
23
26
|
export { IconChevronRightOutline18 } from './IconChevronRightOutline18';
|
|
24
27
|
export { IconChevronUpOutline18 } from './IconChevronUpOutline18';
|
|
@@ -42,8 +45,10 @@ export { IconDotsOutline18 } from './IconDotsOutline18';
|
|
|
42
45
|
export { IconDownload4Outline18 } from './IconDownload4Outline18';
|
|
43
46
|
export { IconEarthOutline18 } from './IconEarthOutline18';
|
|
44
47
|
export { IconEarthSearchOutline18 } from './IconEarthSearchOutline18';
|
|
48
|
+
export { IconEmptyOutline18 } from './IconEmptyOutline18';
|
|
45
49
|
export { IconEnvelopeOutline18 } from './IconEnvelopeOutline18';
|
|
46
50
|
export { IconEye2Outline18 } from './IconEye2Outline18';
|
|
51
|
+
export { IconEyeOffOutline18 } from './IconEyeOffOutline18';
|
|
47
52
|
export { IconEyeOutline18 } from './IconEyeOutline18';
|
|
48
53
|
export { IconFilePenOutline18 } from './IconFilePenOutline18';
|
|
49
54
|
export { IconFileSearchOutline18 } from './IconFileSearchOutline18';
|
|
@@ -64,9 +69,11 @@ export { IconHelpChatOutline18 } from './IconHelpChatOutline18';
|
|
|
64
69
|
export { IconHotDrinkOutline18 } from './IconHotDrinkOutline18';
|
|
65
70
|
export { IconImageSparkle3Outline18 } from './IconImageSparkle3Outline18';
|
|
66
71
|
export { IconKey2Outline18 } from './IconKey2Outline18';
|
|
72
|
+
export { IconLinkBrokenOutline18 } from './IconLinkBrokenOutline18';
|
|
67
73
|
export { IconLoader6Outline18 } from './IconLoader6Outline18';
|
|
68
74
|
export { IconLocation2Outline18 } from './IconLocation2Outline18';
|
|
69
75
|
export { IconLockKeyOutline18 } from './IconLockKeyOutline18';
|
|
76
|
+
export { IconLock18Outline } from './IconLock18Outline';
|
|
70
77
|
export { IconMagicWandOutline18 } from './IconMagicWandOutline18';
|
|
71
78
|
export { IconMagnifierMinusOutline18 } from './IconMagnifierMinusOutline18';
|
|
72
79
|
export { IconMagnifierOutline18 } from './IconMagnifierOutline18';
|
|
@@ -74,6 +81,7 @@ export { IconMagnifierPlusOutline18 } from './IconMagnifierPlusOutline18';
|
|
|
74
81
|
export { IconMicrophone3Outline18 } from './IconMicrophone3Outline18';
|
|
75
82
|
export { IconMinusOutline18 } from './IconMinusOutline18';
|
|
76
83
|
export { IconMoonOutline18 } from './IconMoonOutline18';
|
|
84
|
+
export { IconMsgs2Outline18 } from './IconMsgs2Outline18';
|
|
77
85
|
export { IconMsgSleepOutline18 } from './IconMsgSleepOutline18';
|
|
78
86
|
export { IconMsgWritingOutline18 } from './IconMsgWritingOutline18';
|
|
79
87
|
export { IconMusicOutline18 } from './IconMusicOutline18';
|
|
@@ -99,11 +107,13 @@ export { IconRefreshAnticlockwiseOutline18 } from './IconRefreshAnticlockwiseOut
|
|
|
99
107
|
export { IconReuseOutline18 } from './IconReuseOutline18';
|
|
100
108
|
export { IconSearchContentOutline18 } from './IconSearchContentOutline18';
|
|
101
109
|
export { IconServerOutline18 } from './IconServerOutline18';
|
|
102
|
-
export {
|
|
110
|
+
export { IconSidebarLeft2HideOutline18 } from './IconSidebarLeft2HideOutline18';
|
|
103
111
|
export { IconSidebarLeftHideOutline18 } from './IconSidebarLeftHideOutline18';
|
|
104
112
|
export { IconSidebarLeftShowOutline18 } from './IconSidebarLeftShowOutline18';
|
|
113
|
+
export { IconSidebarRight2HideOutline18 } from './IconSidebarRight2HideOutline18';
|
|
105
114
|
export { IconSidebarRightHideOutline18 } from './IconSidebarRightHideOutline18';
|
|
106
115
|
export { IconSidebarRightShowOutline18 } from './IconSidebarRightShowOutline18';
|
|
116
|
+
export { IconSideProfileSparkleOutline18 } from './IconSideProfileSparkleOutline18';
|
|
107
117
|
export { IconSparkleOutline18 } from './IconSparkleOutline18';
|
|
108
118
|
export { IconSpeakerOutline18 } from './IconSpeakerOutline18';
|
|
109
119
|
export { IconSplitViewOutline18 } from './IconSplitViewOutline18';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
export function IconAnthropic(props: SVGProps<SVGSVGElement>) {
|
|
4
|
+
return (
|
|
5
|
+
<svg
|
|
6
|
+
aria-hidden="true"
|
|
7
|
+
fill="currentColor"
|
|
8
|
+
fillRule="evenodd"
|
|
9
|
+
viewBox="0 0 24 24"
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
<path d="M13.827 3.52h3.603L24 20h-3.603l-6.57-16.48zm-7.258 0h3.767L16.906 20h-3.674l-1.343-3.461H5.017l-1.344 3.46H0L6.57 3.522zm4.132 9.959L8.453 7.687 6.205 13.48H10.7z" />
|
|
13
|
+
</svg>
|
|
14
|
+
);
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
export function IconAttio(props: SVGProps<SVGSVGElement>) {
|
|
4
|
+
return (
|
|
5
|
+
<svg aria-hidden="true" viewBox="0 0 37 30" fill="currentColor" {...props}>
|
|
6
|
+
<path d="m35.705 20.45-3.014-4.778s-.011-.02-.018-.029l-.238-.375a2.44 2.44 0 0 0-2.072-1.142l-4.854-.015-.34.537-5.8 9.195-.32.509 2.43 3.846a2.43 2.43 0 0 0 2.079 1.142h6.803c.839 0 1.633-.438 2.077-1.14l.24-.38s.009-.01.01-.015l3.02-4.784a2.41 2.41 0 0 0 0-2.572zm-.92 2-3.018 4.784q-.021.032-.042.058a.41.41 0 0 1-.652-.06l-3.02-4.784a1.3 1.3 0 0 1-.154-.344 1.37 1.37 0 0 1 0-.737c.034-.118.085-.236.152-.342l3.014-4.78.007-.01a.38.38 0 0 1 .24-.172c.031-.009.058-.011.08-.015h.034c.07 0 .243.022.35.195l3.014 4.777a1.34 1.34 0 0 1 0 1.43zM26.786 8.89a2.42 2.42 0 0 0 0-2.572l-3.014-4.777-.251-.402A2.44 2.44 0 0 0 21.442 0H14.64c-.85 0-1.626.426-2.08 1.142L.378 20.452A2.4 2.4 0 0 0 0 21.738c0 .453.13.9.374 1.284l3.268 5.181a2.44 2.44 0 0 0 2.076 1.14h6.804c.854 0 1.63-.427 2.079-1.142l.248-.391v-.005s.005-.006.005-.008l2.429-3.847 7.198-11.409 2.3-3.649zm-.71-1.286c0 .247-.07.496-.212.715L13.93 27.237a.41.41 0 0 1-.35.19c-.07 0-.24-.02-.35-.19l-3.016-4.786a1.35 1.35 0 0 1 0-1.428L22.15 2.11a.41.41 0 0 1 .35-.193c.069 0 .242.02.352.195l3.013 4.777c.142.22.211.469.211.715" />
|
|
7
|
+
</svg>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
export function IconCodex(props: SVGProps<SVGSVGElement>) {
|
|
4
|
+
return (
|
|
5
|
+
<svg
|
|
6
|
+
aria-hidden="true"
|
|
7
|
+
fill="currentColor"
|
|
8
|
+
fillRule="evenodd"
|
|
9
|
+
viewBox="0 0 24 24"
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
clipRule="evenodd"
|
|
14
|
+
d="M8.086.457a6.105 6.105 0 013.046-.415c1.333.153 2.521.72 3.564 1.7a.117.117 0 00.107.029c1.408-.346 2.762-.224 4.061.366l.063.03.154.076c1.357.703 2.33 1.77 2.918 3.198.278.679.418 1.388.421 2.126a5.655 5.655 0 01-.18 1.631.167.167 0 00.04.155 5.982 5.982 0 011.578 2.891c.385 1.901-.01 3.615-1.183 5.14l-.182.22a6.063 6.063 0 01-2.934 1.851.162.162 0 00-.108.102c-.255.736-.511 1.364-.987 1.992-1.199 1.582-2.962 2.462-4.948 2.451-1.583-.008-2.986-.587-4.21-1.736a.145.145 0 00-.14-.032c-.518.167-1.04.191-1.604.185a5.924 5.924 0 01-2.595-.622 6.058 6.058 0 01-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74 7.74 0 01-.495-1.283 6.11 6.11 0 01-.017-3.064.166.166 0 00.008-.074.115.115 0 00-.037-.064 5.958 5.958 0 01-1.38-2.202 5.196 5.196 0 01-.333-1.589 6.915 6.915 0 01.188-2.132c.45-1.484 1.309-2.648 2.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129 0 00.087-.087A6.016 6.016 0 015.635 2.31C6.315 1.464 7.132.846 8.086.457zm-.804 7.85a.848.848 0 00-1.473.842l1.694 2.965-1.688 2.848a.849.849 0 001.46.864l1.94-3.272a.849.849 0 00.007-.854l-1.94-3.393zm5.446 6.24a.849.849 0 000 1.695h4.848a.849.849 0 000-1.696h-4.848z"
|
|
15
|
+
/>
|
|
16
|
+
</svg>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
export function IconDiscord(props: SVGProps<SVGSVGElement>) {
|
|
4
|
+
return (
|
|
5
|
+
<svg
|
|
6
|
+
aria-hidden="true"
|
|
7
|
+
viewBox="0 0 256 199"
|
|
8
|
+
preserveAspectRatio="xMidYMid"
|
|
9
|
+
{...props}
|
|
10
|
+
>
|
|
11
|
+
<path
|
|
12
|
+
d="M216.856 16.597A208.502 208.502 0 0 0 164.042 0c-2.275 4.113-4.933 9.645-6.766 14.046-19.692-2.961-39.203-2.961-58.533 0-1.832-4.4-4.55-9.933-6.846-14.046a207.809 207.809 0 0 0-52.855 16.638C5.618 67.147-3.443 116.4 1.087 164.956c22.169 16.555 43.653 26.612 64.775 33.193A161.094 161.094 0 0 0 79.735 175.3a136.413 136.413 0 0 1-21.846-10.632 108.636 108.636 0 0 0 5.356-4.237c42.122 19.702 87.89 19.702 129.51 0a131.66 131.66 0 0 0 5.355 4.237 136.07 136.07 0 0 1-21.886 10.653c4.006 8.02 8.638 15.67 13.873 22.848 21.142-6.58 42.646-16.637 64.815-33.213 5.316-56.288-9.08-105.09-38.056-148.36ZM85.474 135.095c-12.645 0-23.015-11.805-23.015-26.18s10.149-26.2 23.015-26.2c12.867 0 23.236 11.804 23.015 26.2.02 14.375-10.148 26.18-23.015 26.18Zm85.051 0c-12.645 0-23.014-11.805-23.014-26.18s10.148-26.2 23.014-26.2c12.867 0 23.236 11.804 23.015 26.2 0 14.375-10.148 26.18-23.015 26.18Z"
|
|
13
|
+
fill="#5865F2"
|
|
14
|
+
/>
|
|
15
|
+
</svg>
|
|
16
|
+
);
|
|
17
|
+
}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { type SVGProps, useId } from 'react';
|
|
2
|
+
|
|
3
|
+
export function IconGemini(props: SVGProps<SVGSVGElement>) {
|
|
4
|
+
const id = useId();
|
|
5
|
+
|
|
6
|
+
return (
|
|
7
|
+
<svg aria-hidden="true" viewBox="0 0 296 298" fill="none" {...props}>
|
|
8
|
+
<mask
|
|
9
|
+
id={`${id}-mask`}
|
|
10
|
+
width="296"
|
|
11
|
+
height="298"
|
|
12
|
+
x="0"
|
|
13
|
+
y="0"
|
|
14
|
+
maskUnits="userSpaceOnUse"
|
|
15
|
+
style={{ maskType: 'alpha' }}
|
|
16
|
+
>
|
|
17
|
+
<path
|
|
18
|
+
fill="#3186FF"
|
|
19
|
+
d="M141.201 4.886c2.282-6.17 11.042-6.071 13.184.148l5.985 17.37a184.004 184.004 0 0 0 111.257 113.049l19.304 6.997c6.143 2.227 6.156 10.91.02 13.155l-19.35 7.082a184.001 184.001 0 0 0-109.495 109.385l-7.573 20.629c-2.241 6.105-10.869 6.121-13.133.025l-7.908-21.296a184 184 0 0 0-109.02-108.658l-19.698-7.239c-6.102-2.243-6.118-10.867-.025-13.132l20.083-7.467A183.998 183.998 0 0 0 133.291 26.28l7.91-21.394Z"
|
|
20
|
+
/>
|
|
21
|
+
</mask>
|
|
22
|
+
<g mask={`url(#${id}-mask)`}>
|
|
23
|
+
<g filter={`url(#${id}-blue)`}>
|
|
24
|
+
<ellipse cx="163" cy="149" fill="#3689FF" rx="196" ry="159" />
|
|
25
|
+
</g>
|
|
26
|
+
<g filter={`url(#${id}-yellow-a)`}>
|
|
27
|
+
<ellipse cx="33.5" cy="142.5" fill="#F6C013" rx="68.5" ry="72.5" />
|
|
28
|
+
</g>
|
|
29
|
+
<g filter={`url(#${id}-yellow-b)`}>
|
|
30
|
+
<ellipse cx="19.5" cy="148.5" fill="#F6C013" rx="68.5" ry="72.5" />
|
|
31
|
+
</g>
|
|
32
|
+
<g filter={`url(#${id}-red-a)`}>
|
|
33
|
+
<path
|
|
34
|
+
fill="#FA4340"
|
|
35
|
+
d="M194 10.5C172 82.5 65.5 134.333 22.5 135L144-66l50 76.5Z"
|
|
36
|
+
/>
|
|
37
|
+
</g>
|
|
38
|
+
<g filter={`url(#${id}-red-b)`}>
|
|
39
|
+
<path
|
|
40
|
+
fill="#FA4340"
|
|
41
|
+
d="M190.5-12.5C168.5 59.5 62 111.333 19 112L140.5-89l50 76.5Z"
|
|
42
|
+
/>
|
|
43
|
+
</g>
|
|
44
|
+
<g filter={`url(#${id}-green-a)`}>
|
|
45
|
+
<path
|
|
46
|
+
fill="#14BB69"
|
|
47
|
+
d="M194.5 279.5C172.5 207.5 66 155.667 23 155l121.5 201 50-76.5Z"
|
|
48
|
+
/>
|
|
49
|
+
</g>
|
|
50
|
+
<g filter={`url(#${id}-green-b)`}>
|
|
51
|
+
<path
|
|
52
|
+
fill="#14BB69"
|
|
53
|
+
d="M196.5 320.5C174.5 248.5 68 196.667 25 196l121.5 201 50-76.5Z"
|
|
54
|
+
/>
|
|
55
|
+
</g>
|
|
56
|
+
</g>
|
|
57
|
+
<defs>
|
|
58
|
+
<filter
|
|
59
|
+
id={`${id}-blue`}
|
|
60
|
+
width="464"
|
|
61
|
+
height="390"
|
|
62
|
+
x="-69"
|
|
63
|
+
y="-46"
|
|
64
|
+
colorInterpolationFilters="sRGB"
|
|
65
|
+
filterUnits="userSpaceOnUse"
|
|
66
|
+
>
|
|
67
|
+
<feFlood floodOpacity="0" result="BackgroundImageFix" />
|
|
68
|
+
<feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
|
|
69
|
+
<feGaussianBlur result="blur" stdDeviation="18" />
|
|
70
|
+
</filter>
|
|
71
|
+
<filter
|
|
72
|
+
id={`${id}-yellow-a`}
|
|
73
|
+
width="265"
|
|
74
|
+
height="273"
|
|
75
|
+
x="-99"
|
|
76
|
+
y="6"
|
|
77
|
+
colorInterpolationFilters="sRGB"
|
|
78
|
+
filterUnits="userSpaceOnUse"
|
|
79
|
+
>
|
|
80
|
+
<feFlood floodOpacity="0" result="BackgroundImageFix" />
|
|
81
|
+
<feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
|
|
82
|
+
<feGaussianBlur result="blur" stdDeviation="32" />
|
|
83
|
+
</filter>
|
|
84
|
+
<filter
|
|
85
|
+
id={`${id}-yellow-b`}
|
|
86
|
+
width="265"
|
|
87
|
+
height="273"
|
|
88
|
+
x="-113"
|
|
89
|
+
y="12"
|
|
90
|
+
colorInterpolationFilters="sRGB"
|
|
91
|
+
filterUnits="userSpaceOnUse"
|
|
92
|
+
>
|
|
93
|
+
<feFlood floodOpacity="0" result="BackgroundImageFix" />
|
|
94
|
+
<feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
|
|
95
|
+
<feGaussianBlur result="blur" stdDeviation="32" />
|
|
96
|
+
</filter>
|
|
97
|
+
<filter
|
|
98
|
+
id={`${id}-red-a`}
|
|
99
|
+
width="299.5"
|
|
100
|
+
height="329"
|
|
101
|
+
x="-41.5"
|
|
102
|
+
y="-130"
|
|
103
|
+
colorInterpolationFilters="sRGB"
|
|
104
|
+
filterUnits="userSpaceOnUse"
|
|
105
|
+
>
|
|
106
|
+
<feFlood floodOpacity="0" result="BackgroundImageFix" />
|
|
107
|
+
<feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
|
|
108
|
+
<feGaussianBlur result="blur" stdDeviation="32" />
|
|
109
|
+
</filter>
|
|
110
|
+
<filter
|
|
111
|
+
id={`${id}-red-b`}
|
|
112
|
+
width="299.5"
|
|
113
|
+
height="329"
|
|
114
|
+
x="-45"
|
|
115
|
+
y="-153"
|
|
116
|
+
colorInterpolationFilters="sRGB"
|
|
117
|
+
filterUnits="userSpaceOnUse"
|
|
118
|
+
>
|
|
119
|
+
<feFlood floodOpacity="0" result="BackgroundImageFix" />
|
|
120
|
+
<feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
|
|
121
|
+
<feGaussianBlur result="blur" stdDeviation="32" />
|
|
122
|
+
</filter>
|
|
123
|
+
<filter
|
|
124
|
+
id={`${id}-green-a`}
|
|
125
|
+
width="299.5"
|
|
126
|
+
height="329"
|
|
127
|
+
x="-41"
|
|
128
|
+
y="91"
|
|
129
|
+
colorInterpolationFilters="sRGB"
|
|
130
|
+
filterUnits="userSpaceOnUse"
|
|
131
|
+
>
|
|
132
|
+
<feFlood floodOpacity="0" result="BackgroundImageFix" />
|
|
133
|
+
<feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
|
|
134
|
+
<feGaussianBlur result="blur" stdDeviation="32" />
|
|
135
|
+
</filter>
|
|
136
|
+
<filter
|
|
137
|
+
id={`${id}-green-b`}
|
|
138
|
+
width="299.5"
|
|
139
|
+
height="329"
|
|
140
|
+
x="-39"
|
|
141
|
+
y="132"
|
|
142
|
+
colorInterpolationFilters="sRGB"
|
|
143
|
+
filterUnits="userSpaceOnUse"
|
|
144
|
+
>
|
|
145
|
+
<feFlood floodOpacity="0" result="BackgroundImageFix" />
|
|
146
|
+
<feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
|
|
147
|
+
<feGaussianBlur result="blur" stdDeviation="32" />
|
|
148
|
+
</filter>
|
|
149
|
+
</defs>
|
|
150
|
+
</svg>
|
|
151
|
+
);
|
|
152
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
export function IconLinear(props: SVGProps<SVGSVGElement>) {
|
|
4
|
+
return (
|
|
5
|
+
<svg aria-hidden="true" viewBox="0 0 24 24" fill="currentColor" {...props}>
|
|
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
|
+
</svg>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
export function IconOpenAI(props: SVGProps<SVGSVGElement>) {
|
|
4
|
+
return (
|
|
5
|
+
<svg
|
|
6
|
+
aria-hidden="true"
|
|
7
|
+
fill="currentColor"
|
|
8
|
+
preserveAspectRatio="xMidYMid"
|
|
9
|
+
viewBox="0 0 256 260"
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
<path d="M239.184 106.203a64.716 64.716 0 0 0-5.576-53.103C219.452 28.459 191 15.784 163.213 21.74A65.586 65.586 0 0 0 52.096 45.22a64.716 64.716 0 0 0-43.23 31.36c-14.31 24.602-11.061 55.634 8.033 76.74a64.665 64.665 0 0 0 5.525 53.102c14.174 24.65 42.644 37.324 70.446 31.36a64.72 64.72 0 0 0 48.754 21.744c28.481.025 53.714-18.361 62.414-45.481a64.767 64.767 0 0 0 43.229-31.36c14.137-24.558 10.875-55.423-8.083-76.483Zm-97.56 136.338a48.397 48.397 0 0 1-31.105-11.255l1.535-.87 51.67-29.825a8.595 8.595 0 0 0 4.247-7.367v-72.85l21.845 12.636c.218.111.37.32.409.563v60.367c-.056 26.818-21.783 48.545-48.601 48.601Zm-104.466-44.61a48.345 48.345 0 0 1-5.781-32.589l1.534.921 51.722 29.826a8.339 8.339 0 0 0 8.441 0l63.181-36.425v25.221a.87.87 0 0 1-.358.665l-52.335 30.184c-23.257 13.398-52.97 5.431-66.404-17.803ZM23.549 85.38a48.499 48.499 0 0 1 25.58-21.333v61.39a8.288 8.288 0 0 0 4.195 7.316l62.874 36.272-21.845 12.636a.819.819 0 0 1-.767 0L41.353 151.53c-23.211-13.454-31.171-43.144-17.804-66.405v.256Zm179.466 41.695-63.08-36.63L161.73 77.86a.819.819 0 0 1 .768 0l52.233 30.184a48.6 48.6 0 0 1-7.316 87.635v-61.391a8.544 8.544 0 0 0-4.4-7.213Zm21.742-32.69-1.535-.922-51.619-30.081a8.39 8.39 0 0 0-8.492 0L99.98 99.808V74.587a.716.716 0 0 1 .307-.665l52.233-30.133a48.652 48.652 0 0 1 72.236 50.391v.205ZM88.061 139.097l-21.845-12.585a.87.87 0 0 1-.41-.614V65.685a48.652 48.652 0 0 1 79.757-37.346l-1.535.87-51.67 29.825a8.595 8.595 0 0 0-4.246 7.367l-.051 72.697Zm11.868-25.58 28.138-16.217 28.188 16.218v32.434l-28.086 16.218-28.188-16.218-.052-32.434Z" />
|
|
13
|
+
</svg>
|
|
14
|
+
);
|
|
15
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
export function IconOpenRouter(props: SVGProps<SVGSVGElement>) {
|
|
4
|
+
return (
|
|
5
|
+
<svg
|
|
6
|
+
aria-hidden="true"
|
|
7
|
+
viewBox="0 0 512 512"
|
|
8
|
+
fill="currentColor"
|
|
9
|
+
stroke="currentColor"
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
d="M3 248.945C18 248.945 76 236 106 219C136 202 136 202 198 158C276.497 102.293 332 120.945 423 120.945"
|
|
14
|
+
strokeWidth="90"
|
|
15
|
+
/>
|
|
16
|
+
<path d="M511 121.5L357.25 210.268L357.25 32.7324L511 121.5Z" />
|
|
17
|
+
<path
|
|
18
|
+
d="M0 249C15 249 73 261.945 103 278.945C133 295.945 133 295.945 195 339.945C273.497 395.652 329 377 420 377"
|
|
19
|
+
strokeWidth="90"
|
|
20
|
+
/>
|
|
21
|
+
<path d="M508 376.445L354.25 287.678L354.25 465.213L508 376.445Z" />
|
|
22
|
+
</svg>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
export function IconSlack(props: SVGProps<SVGSVGElement>) {
|
|
4
|
+
return (
|
|
5
|
+
<svg aria-hidden="true" viewBox="0 0 32 32" fill="none" {...props}>
|
|
6
|
+
<g fill="#36C5F0">
|
|
7
|
+
<rect y="8" width="14" height="6" rx="3" />
|
|
8
|
+
<path d="M14 3a3 3 0 1 0-3 3h3V3Z" />
|
|
9
|
+
</g>
|
|
10
|
+
<g fill="#2EB67D">
|
|
11
|
+
<rect x="18" width="6" height="14" rx="3" />
|
|
12
|
+
<path d="M29 14a3 3 0 1 0-3-3v3h3Z" />
|
|
13
|
+
</g>
|
|
14
|
+
<g fill="#ECB22E">
|
|
15
|
+
<rect x="18" y="18" width="14" height="6" rx="3" />
|
|
16
|
+
<path d="M18 29a3 3 0 1 0 3-3h-3v3Z" />
|
|
17
|
+
</g>
|
|
18
|
+
<g fill="#E01E5A">
|
|
19
|
+
<rect x="8" y="18" width="6" height="14" rx="3" />
|
|
20
|
+
<path d="M3 18a3 3 0 1 0 3 3v-3H3Z" />
|
|
21
|
+
</g>
|
|
22
|
+
</svg>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type SVGProps, useId } from 'react';
|
|
2
|
+
|
|
3
|
+
export function IconTelegram(props: SVGProps<SVGSVGElement>) {
|
|
4
|
+
const gradientId = useId();
|
|
5
|
+
|
|
6
|
+
return (
|
|
7
|
+
<svg
|
|
8
|
+
aria-hidden="true"
|
|
9
|
+
preserveAspectRatio="xMidYMid"
|
|
10
|
+
viewBox="0 0 256 256"
|
|
11
|
+
{...props}
|
|
12
|
+
>
|
|
13
|
+
<defs>
|
|
14
|
+
<linearGradient id={gradientId} x1="50%" x2="50%" y1="0%" y2="100%">
|
|
15
|
+
<stop offset="0%" stopColor="#2AABEE" />
|
|
16
|
+
<stop offset="100%" stopColor="#229ED9" />
|
|
17
|
+
</linearGradient>
|
|
18
|
+
</defs>
|
|
19
|
+
<path
|
|
20
|
+
fill={`url(#${gradientId})`}
|
|
21
|
+
d="M128 0C94.06 0 61.48 13.494 37.5 37.49A128.038 128.038 0 0 0 0 128c0 33.934 13.5 66.514 37.5 90.51C61.48 242.506 94.06 256 128 256s66.52-13.494 90.5-37.49c24-23.996 37.5-56.576 37.5-90.51 0-33.934-13.5-66.514-37.5-90.51C194.52 13.494 161.94 0 128 0Z"
|
|
22
|
+
/>
|
|
23
|
+
<path
|
|
24
|
+
fill="#FFF"
|
|
25
|
+
d="M57.94 126.648c37.32-16.256 62.2-26.974 74.64-32.152 35.56-14.786 42.94-17.354 47.76-17.441 1.06-.017 3.42.245 4.96 1.49 1.28 1.05 1.64 2.47 1.82 3.467.16.996.38 3.266.2 5.038-1.92 20.24-10.26 69.356-14.5 92.026-1.78 9.592-5.32 12.808-8.74 13.122-7.44.684-13.08-4.912-20.28-9.63-11.26-7.386-17.62-11.982-28.56-19.188-12.64-8.328-4.44-12.906 2.76-20.386 1.88-1.958 34.64-31.748 35.26-34.45.08-.338.16-1.598-.6-2.262-.74-.666-1.84-.438-2.64-.258-1.14.256-19.12 12.152-54 35.686-5.1 3.508-9.72 5.218-13.88 5.128-4.56-.098-13.36-2.584-19.9-4.708-8-2.606-14.38-3.984-13.82-8.41.28-2.304 3.46-4.662 9.52-7.072Z"
|
|
26
|
+
/>
|
|
27
|
+
</svg>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
export function IconWhatsapp(props: SVGProps<SVGSVGElement>) {
|
|
4
|
+
return (
|
|
5
|
+
<svg aria-hidden="true" fill="none" viewBox="0 0 360 362" {...props}>
|
|
6
|
+
<path
|
|
7
|
+
fill="#25D366"
|
|
8
|
+
fillRule="evenodd"
|
|
9
|
+
d="M307.546 52.566C273.709 18.684 228.706.017 180.756 0 81.951 0 1.538 80.404 1.504 179.235c-.017 31.594 8.242 62.432 23.928 89.609L0 361.736l95.024-24.925c26.179 14.285 55.659 21.805 85.655 21.814h.077c98.788 0 179.21-80.413 179.244-179.244.017-47.898-18.608-92.926-52.454-126.807v-.008Zm-126.79 275.788h-.06c-26.73-.008-52.952-7.194-75.831-20.765l-5.44-3.231-56.391 14.791 15.05-54.981-3.542-5.638c-14.912-23.721-22.793-51.139-22.776-79.286.035-82.14 66.867-148.973 149.051-148.973 39.793.017 77.198 15.53 105.328 43.695 28.131 28.157 43.61 65.596 43.593 105.398-.035 82.149-66.867 148.982-148.982 148.982v.008Zm81.719-111.577c-4.478-2.243-26.497-13.073-30.606-14.568-4.108-1.496-7.09-2.243-10.073 2.243-2.982 4.487-11.568 14.577-14.181 17.559-2.613 2.991-5.226 3.361-9.704 1.117-4.477-2.243-18.908-6.97-36.02-22.226-13.313-11.878-22.304-26.54-24.916-31.027-2.613-4.486-.275-6.91 1.959-9.136 2.011-2.011 4.478-5.234 6.721-7.847 2.244-2.613 2.983-4.486 4.478-7.469 1.496-2.991.748-5.603-.369-7.847-1.118-2.243-10.073-24.289-13.812-33.253-3.636-8.732-7.331-7.546-10.073-7.692-2.613-.13-5.595-.155-8.586-.155-2.991 0-7.839 1.118-11.947 5.604-4.108 4.486-15.677 15.324-15.677 37.361s16.047 43.344 18.29 46.335c2.243 2.991 31.585 48.225 76.51 67.632 10.684 4.615 19.029 7.374 25.535 9.437 10.727 3.412 20.49 2.931 28.208 1.779 8.604-1.289 26.498-10.838 30.228-21.298 3.73-10.46 3.73-19.433 2.613-21.298-1.117-1.865-4.108-2.991-8.586-5.234l.008-.017Z"
|
|
10
|
+
clipRule="evenodd"
|
|
11
|
+
/>
|
|
12
|
+
</svg>
|
|
13
|
+
);
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 Pablo Hdez
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { IconAnthropic } from './IconAnthropic';
|
|
2
|
+
export { IconAttio } from './IconAttio';
|
|
3
|
+
export { IconCodex } from './IconCodex';
|
|
4
|
+
export { IconDiscord } from './IconDiscord';
|
|
5
|
+
export { IconGemini } from './IconGemini';
|
|
6
|
+
export { IconLinear } from './IconLinear';
|
|
7
|
+
export { IconOpenAI } from './IconOpenAI';
|
|
8
|
+
export { IconOpenRouter } from './IconOpenRouter';
|
|
9
|
+
export { IconSlack } from './IconSlack';
|
|
10
|
+
export { IconTelegram } from './IconTelegram';
|
|
11
|
+
export { IconWhatsapp } from './IconWhatsapp';
|
package/src/index.ts
CHANGED
|
@@ -1,66 +1,73 @@
|
|
|
1
1
|
// Utils
|
|
2
|
-
export { cn } from
|
|
2
|
+
export { cn } from './lib/utils';
|
|
3
3
|
|
|
4
4
|
// Hooks
|
|
5
|
-
export { useIsMobile } from
|
|
5
|
+
export { useIsMobile } from './hooks/use-mobile';
|
|
6
6
|
|
|
7
7
|
// Components
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
23
|
-
export * from
|
|
24
|
-
export * from
|
|
25
|
-
export * from
|
|
26
|
-
export * from
|
|
27
|
-
export * from
|
|
28
|
-
export * from
|
|
29
|
-
export * from
|
|
30
|
-
export * from
|
|
31
|
-
export * from
|
|
32
|
-
export * from
|
|
33
|
-
export * from
|
|
34
|
-
export * from
|
|
35
|
-
export * from
|
|
36
|
-
export * from
|
|
37
|
-
export * from
|
|
38
|
-
export * from
|
|
39
|
-
export * from
|
|
40
|
-
export * from
|
|
41
|
-
export * from
|
|
42
|
-
export * from
|
|
43
|
-
export * from
|
|
44
|
-
export * from
|
|
45
|
-
export * from
|
|
46
|
-
export * from
|
|
47
|
-
export * from
|
|
48
|
-
export * from
|
|
49
|
-
export * from
|
|
50
|
-
export * from
|
|
51
|
-
export * from
|
|
52
|
-
export * from
|
|
53
|
-
export * from
|
|
54
|
-
export * from
|
|
55
|
-
export * from
|
|
56
|
-
export * from
|
|
57
|
-
export * from
|
|
58
|
-
export * from
|
|
59
|
-
export * from
|
|
60
|
-
export * from
|
|
61
|
-
export * from
|
|
62
|
-
export * from
|
|
63
|
-
export * from
|
|
64
|
-
export * from
|
|
65
|
-
export * from
|
|
66
|
-
export * from
|
|
8
|
+
export * from './components/ui/accordion';
|
|
9
|
+
export * from './components/ui/alert';
|
|
10
|
+
export * from './components/ui/alert-dialog';
|
|
11
|
+
export * from './components/ui/aspect-ratio';
|
|
12
|
+
export * from './components/ui/avatar';
|
|
13
|
+
export * from './components/ui/badge';
|
|
14
|
+
export * from './components/ui/breadcrumb';
|
|
15
|
+
export * from './components/ui/bubble';
|
|
16
|
+
export * from './components/ui/button';
|
|
17
|
+
export * from './components/ui/button-group';
|
|
18
|
+
export * from './components/ui/calendar';
|
|
19
|
+
export * from './components/ui/card';
|
|
20
|
+
export * from './components/ui/carousel';
|
|
21
|
+
export * from './components/ui/chart';
|
|
22
|
+
export * from './components/ui/checkbox';
|
|
23
|
+
export * from './components/ui/collapsible';
|
|
24
|
+
export * from './components/ui/combobox';
|
|
25
|
+
export * from './components/ui/command';
|
|
26
|
+
export * from './components/ui/context-menu';
|
|
27
|
+
export * from './components/ui/dialog';
|
|
28
|
+
export * from './components/ui/direction';
|
|
29
|
+
export * from './components/ui/drawer';
|
|
30
|
+
export * from './components/ui/dropdown-menu';
|
|
31
|
+
export * from './components/ui/empty';
|
|
32
|
+
export * from './components/ui/field';
|
|
33
|
+
export * from './components/ui/hover-card';
|
|
34
|
+
export * from './components/ui/input';
|
|
35
|
+
export * from './components/ui/input-group';
|
|
36
|
+
export * from './components/ui/input-otp';
|
|
37
|
+
export * from './components/ui/item';
|
|
38
|
+
export * from './components/ui/kbd';
|
|
39
|
+
export * from './components/ui/klex-logo';
|
|
40
|
+
export * from './components/ui/klex-logo-combo';
|
|
41
|
+
export * from './components/ui/klex-logo-text';
|
|
42
|
+
export * from './components/ui/label';
|
|
43
|
+
export * from './components/ui/stagewise-logo';
|
|
44
|
+
export * from './components/ui/stagewise-logo-combo';
|
|
45
|
+
export * from './components/ui/stagewise-logo-text';
|
|
46
|
+
export * from './components/ui/marker';
|
|
47
|
+
export * from './components/ui/menubar';
|
|
48
|
+
export * from './components/ui/message';
|
|
49
|
+
export * from './components/ui/message-scroller';
|
|
50
|
+
export * from './components/ui/native-select';
|
|
51
|
+
export * from './components/ui/navigation-menu';
|
|
52
|
+
export * from './components/ui/pagination';
|
|
53
|
+
export * from './components/ui/popover';
|
|
54
|
+
export * from './components/ui/progress';
|
|
55
|
+
export * from './components/ui/questionnaire';
|
|
56
|
+
export * from './components/ui/radio-group';
|
|
57
|
+
export * from './components/ui/resizable';
|
|
58
|
+
export * from './components/ui/scroll-area';
|
|
59
|
+
export * from './components/ui/select';
|
|
60
|
+
export * from './components/ui/separator';
|
|
61
|
+
export * from './components/ui/sheet';
|
|
62
|
+
export * from './components/ui/sidebar';
|
|
63
|
+
export * from './components/ui/skeleton';
|
|
64
|
+
export * from './components/ui/slider';
|
|
65
|
+
export * from './components/ui/spinner';
|
|
66
|
+
export * from './components/ui/switch';
|
|
67
|
+
export * from './components/ui/table';
|
|
68
|
+
export * from './components/ui/tabs';
|
|
69
|
+
export * from './components/ui/textarea';
|
|
70
|
+
export * from './components/ui/toast';
|
|
71
|
+
export * from './components/ui/toggle';
|
|
72
|
+
export * from './components/ui/toggle-group';
|
|
73
|
+
export * from './components/ui/tooltip';
|
package/src/lib/utils.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { clsx, type ClassValue } from
|
|
2
|
-
import { twMerge } from
|
|
1
|
+
import { clsx, type ClassValue } from 'clsx';
|
|
2
|
+
import { twMerge } from 'tailwind-merge';
|
|
3
3
|
|
|
4
4
|
export function cn(...inputs: ClassValue[]) {
|
|
5
|
-
return twMerge(clsx(inputs))
|
|
5
|
+
return twMerge(clsx(inputs));
|
|
6
6
|
}
|
package/src/styles/bridge.css
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
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.
|
|
9
9
|
*
|
|
10
|
-
* IMPORTANT: Bridge tokens reference palette-level tokens (--color-base-*,
|
|
10
|
+
* IMPORTANT: Bridge tokens reference palette-level tokens (--color-base-*,
|
|
11
11
|
* --color-primary-*) NOT theme-level tokens (--color-background, --color-foreground)
|
|
12
12
|
* to avoid circular references with the @theme inline block that maps
|
|
13
13
|
* --color-* utility names back to these shadcn tokens.
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
--sidebar-ring: var(--color-primary-solid);
|
|
64
64
|
|
|
65
65
|
/* Radius */
|
|
66
|
-
--radius: 0.
|
|
66
|
+
--radius: 0.875rem;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
:root.dark {
|
|
@@ -110,7 +110,11 @@
|
|
|
110
110
|
--sidebar-foreground: var(--color-base-200);
|
|
111
111
|
--sidebar-primary: var(--color-primary-solid);
|
|
112
112
|
--sidebar-primary-foreground: var(--color-solid-foreground);
|
|
113
|
-
--sidebar-accent: color-mix(
|
|
113
|
+
--sidebar-accent: color-mix(
|
|
114
|
+
in oklab,
|
|
115
|
+
var(--color-base-700) 60%,
|
|
116
|
+
var(--color-base-600)
|
|
117
|
+
);
|
|
114
118
|
--sidebar-accent-foreground: var(--color-base-200);
|
|
115
119
|
--sidebar-border: var(--color-border);
|
|
116
120
|
--sidebar-ring: var(--color-primary-solid);
|