@payfit/unity-components 2.65.28 → 2.66.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/dist/esm/components/data-table/DataTable.d.ts +19 -24
- package/dist/esm/components/data-table/DataTable.js +105 -82
- package/dist/esm/components/data-table/DataTablePagination.d.ts +22 -0
- package/dist/esm/components/data-table/DataTablePagination.js +6 -0
- package/dist/esm/components/data-table/mocks/employee-columns-legacy.d.ts +15 -0
- package/dist/esm/components/data-table/mocks/employee-columns.d.ts +138 -3
- package/dist/esm/components/data-table/parts/ColumnSortHeader.d.ts +9 -5
- package/dist/esm/components/data-table/parts/ColumnSortHeader.js +19 -13
- package/dist/esm/components/data-table/parts/DataTableBulkActions.d.ts +12 -4
- package/dist/esm/components/data-table/parts/DataTableBulkActions.js +39 -38
- package/dist/esm/components/data-table/parts/DataTableBulkActionsLegacy.d.ts +13 -0
- package/dist/esm/components/filter-toolbar/utils/filter-adapters.d.ts +16 -2
- package/dist/esm/components/inline-field/parts/InlineFieldEditView.js +4 -4
- package/dist/esm/components/inline-field-group/InlineFieldGroup.js +4 -4
- package/dist/esm/components/table/parts/TableHeader.d.ts +18 -3
- package/dist/esm/components/table/parts/TableHeader.js +21 -6
- package/dist/esm/docs/examples/data/mocks/employee-columns.d.ts +224 -2
- package/dist/esm/index.js +15 -15
- package/package.json +8 -8
package/dist/esm/index.js
CHANGED
|
@@ -74,20 +74,20 @@ import { Collapsible as Ge } from "./components/collapsible/Collapsible.js";
|
|
|
74
74
|
import { CollapsibleContent as Ke } from "./components/collapsible/parts/CollapsibleContent.js";
|
|
75
75
|
import { CollapsibleTitle as qe } from "./components/collapsible/parts/CollapsibleTitle.js";
|
|
76
76
|
import { CollapsibleGroup as Je } from "./components/collapsible-group/CollapsibleGroup.js";
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
77
|
+
import { SelectOption as Ye } from "./components/select/parts/SelectOption.js";
|
|
78
|
+
import { Search as Xe, search as Ze } from "./components/search/Search.js";
|
|
79
|
+
import { SelectButton as Qe } from "./components/select/parts/SelectButton.js";
|
|
80
|
+
import { Select as $e } from "./components/select/Select.js";
|
|
81
|
+
import { TablePagination as et, tablePagination as tt } from "./components/table/parts/TablePagination.js";
|
|
82
|
+
import { Table as nt, TableRoot as rt } from "./components/table/Table.js";
|
|
83
|
+
import { TableBody as it, tableBody as at } from "./components/table/parts/TableBody.js";
|
|
84
|
+
import { TableColumnHeader as ot, tableColumnHeader as st } from "./components/table/parts/TableColumnHeader.js";
|
|
85
|
+
import { EmptyState as ct } from "./components/empty-state/EmptyState.js";
|
|
86
|
+
import { EmptyStateActions as lt } from "./components/empty-state/parts/EmptyStateActions.js";
|
|
87
|
+
import { EmptyStateContent as ut } from "./components/empty-state/parts/EmptyStateContent.js";
|
|
88
|
+
import { EmptyStateIcon as dt } from "./components/empty-state/parts/EmptyStateIcon.js";
|
|
89
|
+
import { TableEmptyState as ft, TableEmptyStateError as pt, TableEmptyStateLoading as mt, TableEmptyStateNoData as ht, TableEmptyStateText as gt, TableNoSearchResults as _t, tableEmptyState as vt } from "./components/table/parts/TableEmptyState.js";
|
|
90
|
+
import { TableHeader as yt, tableHeader as bt } from "./components/table/parts/TableHeader.js";
|
|
91
91
|
import { DataTable as xt } from "./components/data-table/DataTable.js";
|
|
92
92
|
import { DataTableRoot as St, dataTableRoot as Ct } from "./components/data-table/parts/DataTableRoot.js";
|
|
93
93
|
import { DataTableBulkActions as wt } from "./components/data-table/parts/DataTableBulkActions.js";
|
|
@@ -245,4 +245,4 @@ import { useTanstackUnityForm as ha, withFieldGroup as ga, withForm as _a } from
|
|
|
245
245
|
import { tanstackFormDefaultValues as va } from "./hooks/tanstack-form-default-values.js";
|
|
246
246
|
import { useFieldA11yContext as ya } from "./components/form-field/TanstackFormField.context.js";
|
|
247
247
|
import { fieldRevalidateLogic as ba } from "./utils/field-revalidate-logic.js";
|
|
248
|
-
export { y as ActionBar, u as ActionBarAction, d as ActionBarButton, m as ActionBarIconButton, b as ActionBarRoot, e as Actionable, w as Alert, T as AlertActions, O as AlertContent, k as AlertTitle, A as Anchor, j as AppLayout, I as AppMenu, N as AppMenuContext, P as AppMenuContextProvider, G as AppMenuFooter, Y as AppMenuHeader, X as AppMenuNavContent, W as AppProfileMenuButton, M as AppTopBar, Z as Autocomplete, Q as AutocompleteItem, ee as AutocompleteItemGroup, B as Avatar, H as AvatarFallback, se as AvatarGroup, oe as AvatarGroupCount, ie as AvatarIcon, U as AvatarImage, ae as AvatarPair, ne as AvatarWithTooltip, K as BRAND_ASSETS, we as BREADCRUMB_ITEM_MAX_WIDTH, z as Badge, ce as BadgeDot, le as BottomSheet, de as BottomSheetContent, pe as BottomSheetFooter, he as BottomSheetHeader, ve as Breadcrumb, _e as Breadcrumbs, l as Button, Ie as Card, ze as CardContent, Re as CardTitle, Oe as Carousel, Me as CarouselContent, Ae as CarouselHeader, Ee as CarouselNav, Pe as CarouselSlide, Ue as Checkbox, Qi as CheckboxField, Ve as CheckboxGroup, $i as CheckboxGroupField, We as CheckboxStandalone, S as CircularIconButton, Ge as Collapsible, Ke as CollapsibleContent, Je as CollapsibleGroup, qe as CollapsibleTitle, n as DESKTOP_BREAKPOINTS, xt as DataTable, wt as DataTableBulkActions, St as DataTableRoot, Tt as DateCalendar, Et as DatePicker, ta as DatePickerField, Dt as DateRangeCalendar, Ot as DateRangePicker, At as DefinitionItem, kt as DefinitionList, jt as DefinitionTooltip, Pt as Dialog, Mt as DialogActions, Nt as DialogButton, Lt as DialogContent, Rt as DialogTitle, Ft as DialogTrigger,
|
|
248
|
+
export { y as ActionBar, u as ActionBarAction, d as ActionBarButton, m as ActionBarIconButton, b as ActionBarRoot, e as Actionable, w as Alert, T as AlertActions, O as AlertContent, k as AlertTitle, A as Anchor, j as AppLayout, I as AppMenu, N as AppMenuContext, P as AppMenuContextProvider, G as AppMenuFooter, Y as AppMenuHeader, X as AppMenuNavContent, W as AppProfileMenuButton, M as AppTopBar, Z as Autocomplete, Q as AutocompleteItem, ee as AutocompleteItemGroup, B as Avatar, H as AvatarFallback, se as AvatarGroup, oe as AvatarGroupCount, ie as AvatarIcon, U as AvatarImage, ae as AvatarPair, ne as AvatarWithTooltip, K as BRAND_ASSETS, we as BREADCRUMB_ITEM_MAX_WIDTH, z as Badge, ce as BadgeDot, le as BottomSheet, de as BottomSheetContent, pe as BottomSheetFooter, he as BottomSheetHeader, ve as Breadcrumb, _e as Breadcrumbs, l as Button, Ie as Card, ze as CardContent, Re as CardTitle, Oe as Carousel, Me as CarouselContent, Ae as CarouselHeader, Ee as CarouselNav, Pe as CarouselSlide, Ue as Checkbox, Qi as CheckboxField, Ve as CheckboxGroup, $i as CheckboxGroupField, We as CheckboxStandalone, S as CircularIconButton, Ge as Collapsible, Ke as CollapsibleContent, Je as CollapsibleGroup, qe as CollapsibleTitle, n as DESKTOP_BREAKPOINTS, xt as DataTable, wt as DataTableBulkActions, St as DataTableRoot, Tt as DateCalendar, Et as DatePicker, ta as DatePickerField, Dt as DateRangeCalendar, Ot as DateRangePicker, At as DefinitionItem, kt as DefinitionList, jt as DefinitionTooltip, Pt as Dialog, Mt as DialogActions, Nt as DialogButton, Lt as DialogContent, Rt as DialogTitle, Ft as DialogTrigger, ct as EmptyState, lt as EmptyStateActions, ut as EmptyStateContent, Kt as EmptyStateGetStarted, Jt as EmptyStateGoodJob, dt as EmptyStateIcon, Xt as EmptyStateNoSearchResults, Yt as EmptyStateUpgradeRequired, Zt as EmptyStateUseDesktop, qt as EmptyStateWaitingForData, $t as ErrorState, rn as FieldGroup, tn as Fieldset, an as Filter, fn as FilterAdapters, on as FilterControls, sn as FilterLabels, pn as FilterToolbar, _n as Flex, yn as FlexItem, un as FloatingActionBar, xn as Form, Xi as FormControl, Zi as FormFeedbackText, Ji as FormField, Ki as FormHelperText, ea as FormLabel, Sn as FullPageLoader, Ln as FunnelBackButton, On as FunnelBody, En as FunnelLayout, An as FunnelPage, Mn as FunnelPageAction, Nn as FunnelPageActions, Fn as FunnelPageContent, Rn as FunnelPageFooter, Bn as FunnelPageHeader, Hn as FunnelSidebar, Wn as FunnelTopBar, Jn as Grid, Yn as GridItem, s as Icon, p as IconButton, Xn as Input, re as InteractiveAvatar, Be as Label, Qn as ListView, rr as ListViewItemLabel, ir as ListViewItemText, tr as ListViewSection, r as MOBILE_BREAKPOINTS, h as Menu, g as MenuContent, R as MenuHeader, ar as MenuSection, L as MenuSeparator, _ as MenuTrigger, or as MultiSelect, na as MultiSelectField, sr as MultiSelectOptGroup, cr as MultiSelectOption, lr as Nav, fr as NavGroup, _r as NavigationCardDescription, mr as NavigationCardGroup, gr as NavigationCardLabel, ye as NoopRouterProvider, ra as NumberField, vr as NumberInput, br as Page, Sr as PageHeader, wr as PageHeading, Tr as Pagination, Dr as PaginationContent, Pr as PaginationEllipsis, kr as PaginationItem, q as PayFitBrand, J as PayFitBrandPreprod, Lr as PhoneNumberInput, Rr as Pill, zr as Popover, Br as PopoverTrigger, Vr as ProgressBar, Ht as PromoDialog, zt as PromoDialogActions, Gt as PromoDialogContent, Bt as PromoDialogHero, Wt as PromoDialogSubtitle, Vt as PromoDialogTitle, Gr as RadioButton, Hr as RadioButtonGroup, aa as RadioButtonGroupField, Ur as RadioButtonHelper, Wr as RadioIndicator, Te as RawBreadcrumbLink, qi as RawFormContextualLink, Se as RawLink, Zn as RawLinkButton, $n as RawListViewItem, v as RawMenuItem, ur as RawNavItem, pr as RawNavigationCard, Ar as RawPaginationLink, Nr as RawPaginationNext, Mr as RawPaginationPrevious, Di as RawSubTask, Si as RawTab, ki as RawTask, be as RouterProvider, Xe as Search, Jr as SegmentedButtonGroup, $e as Select, Qe as SelectButton, la as SelectField, Ye as SelectOption, ii as SelectOptionGroup, ai as SelectOptionHelper, Qr as SelectableButton, Xr as SelectableButtonGroup, oa as SelectableButtonGroupField, ti as SelectableCardCheckbox, ei as SelectableCardCheckboxGroup, sa as SelectableCardCheckboxGroupField, ri as SelectableCardRadio, ni as SelectableCardRadioGroup, ca as SelectableCardRadioGroupField, oi as SidePanel, ci as SidePanelContent, ui as SidePanelFooter, fi as SidePanelHeader, qr as Skeleton, wn as SkipLink, Tn as SkipLinks, c as Spinner, vn as Stack, bn as StackItem, hi as Step, mi as Stepper, Ri as TOAST_CONFIG, Ci as TabList, wi as TabPanel, nt as Table, it as TableBody, _i as TableCell, ot as TableColumnHeader, ft as TableEmptyState, pt as TableEmptyStateError, mt as TableEmptyStateLoading, ht as TableEmptyStateNoData, gt as TableEmptyStateText, yt as TableHeader, _t as TableNoSearchResults, et as TablePagination, rt as TableRoot, yi as TableRow, xi as Tabs, ji as TaskGroup, Ti as TaskMenu, D as Text, Mi as TextArea, ua as TextField, Pi as Timeline, Fi as TimelineStep, Li as TimelineStepDescription, Ii as TimelineStepHeader, zi as ToastManager, Yr as ToggleButton, Ui as ToggleSwitch, da as ToggleSwitchField, Vi as ToggleSwitchGroup, fa as ToggleSwitchGroupField, f as Tooltip, x as actionBarRoot, $ as autocompleteItem, te as autocompleteItemGroup, ue as bottomSheet, fe as bottomSheetContent, me as bottomSheetFooter, ge as bottomSheetHeader, Le as card, ke as carousel, Ne as carouselContent, je as carouselHeader, De as carouselNav, Fe as carouselSlide, He as checkboxGroup, C as circularIconButton, Ct as dataTableRoot, It as dialog, en as errorState, ba as fieldRevalidateLogic, nn as fieldset, cn as filterContainer, ln as filterDismissButton, mn as filterToolbar, hn as flex, gn as flexItem, dn as floatingActionBar, Cn as fullPageLoader, kn as funnelBody, Dn as funnelLayout, jn as funnelPage, Pn as funnelPageActions, In as funnelPageContent, zn as funnelPageFooter, Vn as funnelPageHeader, Un as funnelSidebar, Gn as funnelTopBar, V as getInitials, Kn as grid, qn as gridItem, i as isDesktopBreakpoint, a as isMobileBreakpoint, Ce as link, er as listViewItem, nr as listViewSection, dr as navItemBase, hr as navigationCardGroup, ia as numberField, yr as numberInput, xr as page, Cr as pageHeader, Er as pagination, Or as paginationContent, jr as paginationLink, Ut as promoDialog, Kr as radioButton, Oi as rawSubTask, Ai as rawTask, Ze as search, $r as selectableButton, Zr as selectableButtonGroup, si as sidePanel, li as sidePanelContent, di as sidePanelFooter, pi as sidePanelHeader, at as tableBody, vi as tableCell, st as tableColumnHeader, vt as tableEmptyState, bt as tableHeader, tt as tablePagination, bi as tableRow, va as tanstackFormDefaultValues, Ei as taskMenu, E as text, Ni as textArea, Bi as toast, Wi as toggleSwitch, Hi as toggleSwitchGroup, F as useAppMenuContext, Gi as useAsyncList, o as useBreakpointListener, Qt as useContainerQueryLevel, ya as useFieldA11yContext, pa as useFieldContext, ma as useFormContext, t as useMediaQuery, Ir as usePaginationState, Fr as usePaginationWindow, xe as useRouter, gi as useStepper, ha as useTanstackUnityForm, Yi as useUnityForm, ga as withFieldGroup, _a as withForm };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@payfit/unity-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.66.0",
|
|
4
4
|
"module": "./dist/esm/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"tailwind-variants": "3.3.1",
|
|
97
97
|
"usehooks-ts": "3.1.1",
|
|
98
98
|
"zod": "4.4.3",
|
|
99
|
-
"@payfit/unity-illustrations": "2.
|
|
99
|
+
"@payfit/unity-illustrations": "2.66.0"
|
|
100
100
|
},
|
|
101
101
|
"peerDependencies": {
|
|
102
102
|
"@hookform/devtools": "^4",
|
|
@@ -104,12 +104,12 @@
|
|
|
104
104
|
"@tanstack/react-query": "^5",
|
|
105
105
|
"@tanstack/react-router": "^1.131",
|
|
106
106
|
"@tanstack/react-router-devtools": "^1.131",
|
|
107
|
-
"@tanstack/react-table": "^
|
|
107
|
+
"@tanstack/react-table": "^9",
|
|
108
108
|
"react-hook-form": "^7",
|
|
109
109
|
"react-router-dom": "^5",
|
|
110
110
|
"zod": "^3 || ^4",
|
|
111
|
-
"@payfit/unity-icons": "2.
|
|
112
|
-
"@payfit/unity-themes": "2.
|
|
111
|
+
"@payfit/unity-icons": "2.66.0",
|
|
112
|
+
"@payfit/unity-themes": "2.66.0"
|
|
113
113
|
},
|
|
114
114
|
"devDependencies": {
|
|
115
115
|
"@figma/code-connect": "1.5.3",
|
|
@@ -160,9 +160,9 @@
|
|
|
160
160
|
"@payfit/storybook-addon-console-errors": "0.0.0-use.local",
|
|
161
161
|
"@payfit/storybook-addon-datadog-rum": "0.0.0-use.local",
|
|
162
162
|
"@payfit/storybook-config": "0.0.0-use.local",
|
|
163
|
-
"@payfit/unity-icons": "2.
|
|
164
|
-
"@payfit/unity-illustrations": "2.
|
|
165
|
-
"@payfit/unity-themes": "2.
|
|
163
|
+
"@payfit/unity-icons": "2.66.0",
|
|
164
|
+
"@payfit/unity-illustrations": "2.66.0",
|
|
165
|
+
"@payfit/unity-themes": "2.66.0",
|
|
166
166
|
"@payfit/vite-configs": "0.0.0-use.local"
|
|
167
167
|
},
|
|
168
168
|
"peerDependenciesMeta": {
|