@suphark/ui 0.6.0 → 0.7.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/CHANGELOG.md +35 -0
- package/README.md +20 -0
- package/package.json +5 -1
- package/scripts/audit.mjs +218 -0
- package/src/components/app-shell/app-brand.tsx +1 -0
- package/src/components/app-shell/app-nav.tsx +2 -4
- package/src/components/app-shell/app-shell.tsx +6 -7
- package/src/components/app-shell/command-palette.tsx +256 -0
- package/src/components/app-shell/index.ts +11 -0
- package/src/components/app-shell/organization-switcher.tsx +150 -0
- package/src/components/app-shell/user-menu.tsx +8 -3
- package/src/components/data-table/data-table.tsx +34 -26
- package/src/components/data-table/types.ts +4 -0
- package/src/components/design-system/sections/showcase-data-display.tsx +2 -2
- package/src/components/design-system/sections/showcase-guidelines-recipes.tsx +1 -1
- package/src/components/design-system/sections/showcase-overlays-navigation.tsx +2 -2
- package/src/components/design-system/sections/showcase-primitives.tsx +1 -1
- package/src/components/shared/action-form.tsx +12 -3
- package/src/components/shared/button/floating-save-button.tsx +1 -1
- package/src/components/shared/calendar-month-grid.tsx +182 -0
- package/src/components/shared/form/form-field-color-select.tsx +1 -1
- package/src/components/shared/form/form-field-combobox.tsx +1 -1
- package/src/components/shared/form/form-field-date.tsx +1 -1
- package/src/components/shared/form/form-field-input.tsx +6 -6
- package/src/components/shared/form/form-field-radio-cards.tsx +4 -0
- package/src/components/shared/form/labeled-field.tsx +21 -0
- package/src/components/shared/form-dialog.tsx +12 -3
- package/src/components/shared/form-message.tsx +26 -6
- package/src/components/shared/icon-picker.tsx +192 -0
- package/src/components/shared/notice.tsx +1 -0
- package/src/components/shared/progress-bar.tsx +83 -0
- package/src/components/shared/selection-button.tsx +29 -0
- package/src/components/shared/status-badge.tsx +1 -0
- package/src/components/shared/theme/theme-menu-items.tsx +31 -14
- package/src/components/shared/theme/theme-toggle.tsx +3 -3
- package/src/components/shared/ui-text.tsx +41 -0
- package/src/index.ts +22 -1
- package/src/lib/status-colors.ts +1 -0
package/src/index.ts
CHANGED
|
@@ -15,6 +15,14 @@ export type { DateRange } from "react-day-picker";
|
|
|
15
15
|
export { toast } from "sonner";
|
|
16
16
|
export { ActionForm } from "./components/shared/action-form";
|
|
17
17
|
export * from "./components/shared/button";
|
|
18
|
+
export {
|
|
19
|
+
type CalendarDayContext,
|
|
20
|
+
type CalendarDayState,
|
|
21
|
+
CalendarMonthGrid,
|
|
22
|
+
type CalendarMonthGridProps,
|
|
23
|
+
WEEKDAYS_EN,
|
|
24
|
+
WEEKDAYS_TH,
|
|
25
|
+
} from "./components/shared/calendar-month-grid";
|
|
18
26
|
export { ClientRedirect } from "./components/shared/client-redirect";
|
|
19
27
|
export { Combobox } from "./components/shared/combobox";
|
|
20
28
|
export {
|
|
@@ -60,7 +68,18 @@ export {
|
|
|
60
68
|
type SimpleSelectOptions,
|
|
61
69
|
type SimpleSelectProps,
|
|
62
70
|
} from "./components/shared/form/simple-select";
|
|
63
|
-
export {
|
|
71
|
+
export {
|
|
72
|
+
type FormAction,
|
|
73
|
+
FormMessage,
|
|
74
|
+
type FormRenderContext,
|
|
75
|
+
type FormState,
|
|
76
|
+
} from "./components/shared/form-message";
|
|
77
|
+
export {
|
|
78
|
+
IconPicker,
|
|
79
|
+
type IconPickerItem,
|
|
80
|
+
type IconPickerProps,
|
|
81
|
+
type IconPickerText,
|
|
82
|
+
} from "./components/shared/icon-picker";
|
|
64
83
|
export { Initials, initialsOf } from "./components/shared/initials";
|
|
65
84
|
export { ErrorState, type RouteError } from "./components/shared/layout/error-state";
|
|
66
85
|
export {
|
|
@@ -77,8 +96,10 @@ export { Notice, type NoticeTone } from "./components/shared/notice";
|
|
|
77
96
|
export { type DecimalLike, FormattedNumber } from "./components/shared/number/formatted-number";
|
|
78
97
|
export { PageHeader } from "./components/shared/page-header";
|
|
79
98
|
export { PageSkeleton } from "./components/shared/page-skeleton";
|
|
99
|
+
export { ProgressBar, type ProgressTone } from "./components/shared/progress-bar";
|
|
80
100
|
export { SecretReveal } from "./components/shared/secret-reveal";
|
|
81
101
|
export { SectionCard } from "./components/shared/section-card";
|
|
102
|
+
export { SelectionButton } from "./components/shared/selection-button";
|
|
82
103
|
export { Stat } from "./components/shared/stat";
|
|
83
104
|
export { StatusBadge, statusTone, type Tone } from "./components/shared/status-badge";
|
|
84
105
|
export { SwitcherChevron } from "./components/shared/switcher-chevron";
|
package/src/lib/status-colors.ts
CHANGED