@stagewise/ui 0.1.0 → 0.2.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 +42 -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/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 +10 -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
package/src/styles/theme.css
CHANGED
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
|
|
28
28
|
--color-overlay: var(--color-base-950);
|
|
29
29
|
|
|
30
|
-
|
|
31
30
|
/* Primary usage (UI fill) */
|
|
32
31
|
--color-primary-foreground: var(--color-primary-450); /* rm */
|
|
33
32
|
--color-primary-solid: var(--color-primary-500);
|
|
@@ -35,25 +34,33 @@
|
|
|
35
34
|
--color-brand-foreground: var(--color-brand-450);
|
|
36
35
|
--color-brand-solid: var(--color-brand-500);
|
|
37
36
|
|
|
37
|
+
--color-logo-blue: #2559fe;
|
|
38
|
+
--color-logo-ink: #161515;
|
|
39
|
+
--color-logo-ghost: #fdfdfc;
|
|
40
|
+
|
|
38
41
|
--color-solid-foreground: var(--color-base-50);
|
|
39
42
|
|
|
40
|
-
--color-surface-tinted: color-mix(
|
|
43
|
+
--color-surface-tinted: color-mix(
|
|
44
|
+
in oklch,
|
|
45
|
+
var(--color-primary-50) 50%,
|
|
46
|
+
oklch(0.992 0 none)
|
|
47
|
+
);
|
|
41
48
|
|
|
42
|
-
--color-success-background: var(--color-success-background-light);
|
|
43
|
-
--color-success-foreground: var(--color-success-foreground-light);
|
|
44
|
-
--color-success-solid: var(--color-success-solid-light);
|
|
49
|
+
--color-success-background: var(--color-success-background-light);
|
|
50
|
+
--color-success-foreground: var(--color-success-foreground-light);
|
|
51
|
+
--color-success-solid: var(--color-success-solid-light);
|
|
45
52
|
|
|
46
|
-
--color-error-background: var(--color-error-background-light);
|
|
47
|
-
--color-error-foreground: var(--color-error-foreground-light);
|
|
48
|
-
--color-error-solid: var(--color-error-solid-light);
|
|
53
|
+
--color-error-background: var(--color-error-background-light);
|
|
54
|
+
--color-error-foreground: var(--color-error-foreground-light);
|
|
55
|
+
--color-error-solid: var(--color-error-solid-light);
|
|
49
56
|
|
|
50
|
-
--color-warning-background: var(--color-warning-background-light);
|
|
51
|
-
--color-warning-foreground: var(--color-warning-foreground-light);
|
|
52
|
-
--color-warning-solid: var(--color-warning-solid-light);
|
|
57
|
+
--color-warning-background: var(--color-warning-background-light);
|
|
58
|
+
--color-warning-foreground: var(--color-warning-foreground-light);
|
|
59
|
+
--color-warning-solid: var(--color-warning-solid-light);
|
|
53
60
|
|
|
54
|
-
--color-info-background: var(--color-info-background-light);
|
|
55
|
-
--color-info-foreground: var(--color-info-foreground-light);
|
|
56
|
-
--color-info-solid: var(--color-info-solid-light);
|
|
61
|
+
--color-info-background: var(--color-info-background-light);
|
|
62
|
+
--color-info-foreground: var(--color-info-foreground-light);
|
|
63
|
+
--color-info-solid: var(--color-info-solid-light);
|
|
57
64
|
}
|
|
58
65
|
|
|
59
66
|
/* ---------
|
|
@@ -61,43 +68,50 @@
|
|
|
61
68
|
Pick whatever mechanism you use: [data-theme="dark"], .dark, or prefers-color-scheme
|
|
62
69
|
--------- */
|
|
63
70
|
:root.dark {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
71
|
+
--color-app-background: var(--color-base-800);
|
|
72
|
+
--color-background: var(--color-base-800);
|
|
73
|
+
--color-foreground: var(--color-base-200);
|
|
74
|
+
--color-muted-foreground: var(--color-base-350);
|
|
75
|
+
--color-subtle-foreground: var(--color-base-450);
|
|
69
76
|
|
|
70
|
-
|
|
71
|
-
|
|
77
|
+
--color-primary-foreground: var(--color-primary-400);
|
|
78
|
+
--color-primary-solid: var(--color-primary-500);
|
|
72
79
|
|
|
73
|
-
|
|
74
|
-
|
|
80
|
+
--color-brand-foreground: var(--color-brand-400);
|
|
81
|
+
--color-brand-solid: var(--color-brand-500);
|
|
75
82
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
83
|
+
--color-logo-blue: #3464fe;
|
|
84
|
+
--color-logo-ink: #fdfcfc;
|
|
85
|
+
--color-logo-ghost: #fdfcfc;
|
|
79
86
|
|
|
80
|
-
|
|
87
|
+
--color-surface-1: var(--color-base-700);
|
|
88
|
+
--color-surface-2: var(--color-base-600);
|
|
89
|
+
--color-surface-3: var(--color-base-550);
|
|
81
90
|
|
|
82
|
-
|
|
91
|
+
--color-solid-foreground: var(--color-base-50);
|
|
83
92
|
|
|
84
|
-
|
|
85
|
-
|
|
93
|
+
--color-surface-tinted: color-mix(
|
|
94
|
+
in oklch,
|
|
95
|
+
var(--color-primary-700) 30%,
|
|
96
|
+
oklch(0.295 0 none)
|
|
97
|
+
);
|
|
86
98
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
--color-success-solid: var(--color-success-solid-dark);
|
|
99
|
+
--color-border: var(--color-base-600);
|
|
100
|
+
--color-border-subtle: var(--color-base-700);
|
|
90
101
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
102
|
+
--color-success-foreground: var(--color-success-foreground-dark);
|
|
103
|
+
--color-success-background: var(--color-success-background-dark);
|
|
104
|
+
--color-success-solid: var(--color-success-solid-dark);
|
|
94
105
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
106
|
+
--color-error-foreground: var(--color-error-foreground-dark);
|
|
107
|
+
--color-error-background: var(--color-error-background-dark);
|
|
108
|
+
--color-error-solid: var(--color-error-solid-dark);
|
|
98
109
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}
|
|
110
|
+
--color-warning-foreground: var(--color-warning-foreground-dark);
|
|
111
|
+
--color-warning-background: var(--color-warning-background-dark);
|
|
112
|
+
--color-warning-solid: var(--color-warning-solid-dark);
|
|
103
113
|
|
|
114
|
+
--color-info-foreground: var(--color-info-foreground-dark);
|
|
115
|
+
--color-info-background: var(--color-info-background-dark);
|
|
116
|
+
--color-info-solid: var(--color-info-solid-dark);
|
|
117
|
+
}
|