@suphark/ui 0.53.0 → 0.59.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/CHANGELOG.md +1125 -1063
- package/package.json +1 -1
- package/src/components/data-table/data-table-column-header.tsx +1 -1
- package/src/components/data-table/data-table-pagination.tsx +70 -0
- package/src/components/data-table/data-table-row-actions.tsx +1 -1
- package/src/components/data-table/data-table-toolbar.tsx +166 -44
- package/src/components/data-table/data-table-view-option.tsx +15 -4
- package/src/components/data-table/data-table.tsx +153 -3
- package/src/components/data-table/index.ts +1 -1
- package/src/components/data-table/types.ts +19 -0
- package/src/components/pwa/pull-to-refresh.tsx +96 -15
- package/src/components/shared/date/accessible-calendar.tsx +40 -0
- package/src/components/shared/date/date-picker.tsx +124 -32
- package/src/components/shared/date/date-range-picker.tsx +8 -5
- package/src/components/shared/form/date-time-picker.tsx +2 -2
- package/src/components/shared/form/labeled-field.tsx +37 -0
- package/src/components/shared/list-section.tsx +85 -0
- package/src/components/shared/notification-center.tsx +13 -5
- package/src/components/shared/progress-bar.tsx +9 -2
- package/src/components/shared/responsive-popover.tsx +174 -0
- package/src/components/shared/row-table.tsx +133 -0
- package/src/components/shared/sidebar-nav-item.tsx +62 -0
- package/src/components/shared/ui-text.tsx +21 -0
- package/src/data-table.ts +1 -0
- package/src/hooks/use-mobile.ts +3 -1
- package/src/index.ts +26 -1
package/src/index.ts
CHANGED
|
@@ -77,6 +77,7 @@ export {
|
|
|
77
77
|
} from "./components/shared/confirm-dialog";
|
|
78
78
|
export { CountBadge } from "./components/shared/count-badge";
|
|
79
79
|
export { DataList, DataRow } from "./components/shared/data-list";
|
|
80
|
+
export { AccessibleCalendar } from "./components/shared/date/accessible-calendar";
|
|
80
81
|
export {
|
|
81
82
|
DatePicker,
|
|
82
83
|
type DatePickerProps,
|
|
@@ -131,7 +132,7 @@ export {
|
|
|
131
132
|
type FormInvalidNotice,
|
|
132
133
|
useFormInvalidNotice,
|
|
133
134
|
} from "./components/shared/form/form-invalid-notice";
|
|
134
|
-
export { CheckboxField, LabeledField } from "./components/shared/form/labeled-field";
|
|
135
|
+
export { CheckboxField, LabeledField, SwitchField } from "./components/shared/form/labeled-field";
|
|
135
136
|
export { NumberInput } from "./components/shared/form/number-input";
|
|
136
137
|
export { SearchInput, type SearchInputProps } from "./components/shared/form/search-input";
|
|
137
138
|
export {
|
|
@@ -175,6 +176,11 @@ export {
|
|
|
175
176
|
type LanguageSwitchProps,
|
|
176
177
|
} from "./components/shared/language/language-switch";
|
|
177
178
|
export { ErrorState, type RouteError } from "./components/shared/layout/error-state";
|
|
179
|
+
export {
|
|
180
|
+
ListSection,
|
|
181
|
+
ListSectionHeader,
|
|
182
|
+
type ListSectionTone,
|
|
183
|
+
} from "./components/shared/list-section";
|
|
178
184
|
export {
|
|
179
185
|
MonthStepper,
|
|
180
186
|
type MonthStepperProps,
|
|
@@ -211,6 +217,24 @@ export {
|
|
|
211
217
|
type RecordTone,
|
|
212
218
|
recordAccentColor,
|
|
213
219
|
} from "./components/shared/record-card";
|
|
220
|
+
export {
|
|
221
|
+
ResponsivePopover,
|
|
222
|
+
ResponsivePopoverContent,
|
|
223
|
+
type ResponsivePopoverContentProps,
|
|
224
|
+
ResponsivePopoverItem,
|
|
225
|
+
type ResponsivePopoverProps,
|
|
226
|
+
ResponsivePopoverTrigger,
|
|
227
|
+
type ResponsivePopoverTriggerProps,
|
|
228
|
+
useIsResponsiveSheet,
|
|
229
|
+
} from "./components/shared/responsive-popover";
|
|
230
|
+
export {
|
|
231
|
+
RowTable,
|
|
232
|
+
RowTableActions,
|
|
233
|
+
RowTableCell,
|
|
234
|
+
RowTableGroup,
|
|
235
|
+
RowTableHeader,
|
|
236
|
+
RowTableRow,
|
|
237
|
+
} from "./components/shared/row-table";
|
|
214
238
|
export {
|
|
215
239
|
describeCondition,
|
|
216
240
|
emptyGroup,
|
|
@@ -242,6 +266,7 @@ export { SelectionButton } from "./components/shared/selection-button";
|
|
|
242
266
|
export { SettingsLayout, type SettingsSection } from "./components/shared/settings-layout";
|
|
243
267
|
export { DangerZone, SettingsRow, SwitchRow } from "./components/shared/settings-row";
|
|
244
268
|
export { SetupChecklist, type SetupChecklistStep } from "./components/shared/setup-checklist";
|
|
269
|
+
export { SidebarCountBadge, SidebarNavItem } from "./components/shared/sidebar-nav-item";
|
|
245
270
|
export { SimpleDialog, SimpleSheet } from "./components/shared/simple-dialog";
|
|
246
271
|
export { paginationRange, SimplePagination } from "./components/shared/simple-pagination";
|
|
247
272
|
export {
|