@payfit/unity-components 3.13.2 → 3.13.4

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.
Files changed (74) hide show
  1. package/dist/esm/core/components/action-bar/parts/ActionBarOverflowMenu.d.ts +0 -1
  2. package/dist/esm/core/components/action-bar/parts/ActionBarPrefixArea.d.ts +0 -1
  3. package/dist/esm/core/components/action-bar/utils/action-bar-helpers.d.ts +1 -5
  4. package/dist/esm/core/components/autocomplete/parts/AutocompletePanel.d.ts +1 -1
  5. package/dist/esm/core/components/autocomplete/parts/AutocompletePanel.js +1 -1
  6. package/dist/esm/core/components/avatar/Avatar.context.d.ts +0 -1
  7. package/dist/esm/core/components/avatar/Avatar.context.js +1 -1
  8. package/dist/esm/core/components/bottom-sheet/parts/BottomSheetDragIndicator.d.ts +0 -32
  9. package/dist/esm/core/components/bottom-sheet/parts/BottomSheetDragIndicator.js +1 -1
  10. package/dist/esm/core/components/breadcrumbs/Breadcrumbs.context.d.ts +0 -1
  11. package/dist/esm/core/components/breadcrumbs/Breadcrumbs.context.js +1 -1
  12. package/dist/esm/core/components/breadcrumbs/parts/RawBreadcrumbLink.d.ts +1 -1
  13. package/dist/esm/core/components/carousel/Carousel.context.d.ts +0 -1
  14. package/dist/esm/core/components/carousel/Carousel.options.d.ts +0 -16
  15. package/dist/esm/core/components/carousel/Carousel.options.js +1 -1
  16. package/dist/esm/core/components/carousel/parts/CarouselNav.d.ts +2 -3
  17. package/dist/esm/core/components/client-side-pagination/ClientSidePagination.d.ts +1 -1
  18. package/dist/esm/core/components/client-side-pagination/ClientSidePagination.js +1 -1
  19. package/dist/esm/core/components/code/Code.d.ts +1 -1
  20. package/dist/esm/core/components/code/Code.js +1 -1
  21. package/dist/esm/core/components/filter/Filter.d.ts +0 -1
  22. package/dist/esm/core/components/filter/hooks/useFilterIds.d.ts +2 -2
  23. package/dist/esm/core/components/filter/hooks/useFilterState.d.ts +3 -3
  24. package/dist/esm/core/components/filter/hooks/useFilterValue.d.ts +2 -2
  25. package/dist/esm/core/components/filter/parts/FilterButton.d.ts +2 -37
  26. package/dist/esm/core/components/filter/parts/FilterButton.js +1 -1
  27. package/dist/esm/core/components/filter/parts/FilterLabel.d.ts +2 -37
  28. package/dist/esm/core/components/filter/parts/FilterLabel.js +1 -1
  29. package/dist/esm/core/components/filter/parts/FilterPopover.d.ts +2 -3
  30. package/dist/esm/core/components/filter/utils/value-formatters.d.ts +0 -19
  31. package/dist/esm/core/components/filter/utils/value-formatters.js +1 -1
  32. package/dist/esm/core/components/filter-toolbar/FilterToolbar.d.ts +0 -1
  33. package/dist/esm/core/components/filter-toolbar/hooks/use-filter-toolbar-state.d.ts +3 -6
  34. package/dist/esm/core/components/filter-toolbar/parts/AddFilter.d.ts +0 -1
  35. package/dist/esm/core/components/filter-toolbar/parts/AddFilterItem.d.ts +1 -2
  36. package/dist/esm/core/components/filter-toolbar/parts/AddFilterItem.js +1 -1
  37. package/dist/esm/core/components/filter-toolbar/utils/normalize-filter-value.d.ts +0 -1
  38. package/dist/esm/core/components/link/RawLink.d.ts +2 -2
  39. package/dist/esm/core/components/phone-number/parts/PhoneNumberItem.d.ts +1 -1
  40. package/dist/esm/core/components/phone-number/parts/PhoneNumberItem.js +1 -1
  41. package/dist/esm/core/components/select/parts/SelectOption.context.d.ts +0 -1
  42. package/dist/esm/core/components/select/parts/SelectOption.context.js +1 -1
  43. package/dist/esm/core/components/select-list/parts/SelectListEmptyState.d.ts +0 -1
  44. package/dist/esm/core/components/select-list/parts/SelectListOptGroup.d.ts +0 -37
  45. package/dist/esm/core/components/select-list/parts/SelectListOptGroup.js +1 -1
  46. package/dist/esm/core/components/selectable-card/internals/Content.d.ts +0 -1
  47. package/dist/esm/core/components/selectable-card/internals/Content.js +1 -1
  48. package/dist/esm/core/components/selectable-card/internals/Illustration.d.ts +0 -1
  49. package/dist/esm/core/components/selectable-card/internals/Illustration.js +1 -1
  50. package/dist/esm/core/components/selectable-card/internals/SelectedIndicator.d.ts +0 -1
  51. package/dist/esm/core/components/selectable-card/internals/SelectedIndicator.js +1 -1
  52. package/dist/esm/core/components/side-panel/parts/SidePanelDragIndicator.d.ts +0 -32
  53. package/dist/esm/core/components/side-panel/parts/SidePanelDragIndicator.js +1 -1
  54. package/dist/esm/core/components/stepper/Stepper.context.d.ts +0 -1
  55. package/dist/esm/core/components/stepper/Stepper.context.js +1 -1
  56. package/dist/esm/core/components/table/Table.context.d.ts +0 -4
  57. package/dist/esm/core/components/table/Table.context.js +2 -1
  58. package/dist/esm/core/components/tabs/Tabs.context.d.ts +0 -1
  59. package/dist/esm/core/components/tabs/Tabs.context.js +1 -1
  60. package/dist/esm/core/components/timeline/Timeline.context.d.ts +0 -1
  61. package/dist/esm/core/components/timeline/Timeline.context.js +1 -1
  62. package/dist/esm/core/components/timeline/parts/TimelineStepContent.context.d.ts +0 -1
  63. package/dist/esm/core/components/timeline/parts/TimelineStepContent.context.js +1 -1
  64. package/dist/esm/core/utils/platform.d.ts +0 -1
  65. package/dist/esm/core/utils/scroll-detection.d.ts +0 -27
  66. package/dist/esm/core/utils/scroll-edges.d.ts +0 -1
  67. package/dist/esm/core/utils/scroll-edges.js +1 -0
  68. package/dist/esm/modules/ai-kit/components/ai-button/AIButton.d.ts +0 -82
  69. package/dist/esm/modules/ai-kit/components/ai-button/AIButton.js +1 -1
  70. package/dist/esm/modules/tanstack-form/components/inline-field-group/parts/InlineFieldGroupActions.d.ts +0 -1
  71. package/dist/esm/modules/tanstack-table/components/data-table/mocks/employee-columns-legacy.d.ts +0 -9
  72. package/dist/esm/modules/tanstack-table/components/data-table/mocks/employee-columns.d.ts +0 -63
  73. package/dist/esm/modules/tanstack-table/components/data-table/mocks/employee-data.d.ts +0 -1
  74. package/package.json +11 -11
@@ -14,4 +14,4 @@ function a() {
14
14
  return e;
15
15
  }
16
16
  //#endregion
17
- export { r as SelectOptionContext, i as SelectOptionProvider, a as useSelectOptionContext };
17
+ export { i as SelectOptionProvider, a as useSelectOptionContext };
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * Component displayed when no search results are found
3
- * @internal
4
3
  */
5
4
  export declare const SelectListEmptyState: {
6
5
  (): import('react/jsx-runtime').JSX.Element;
@@ -1,41 +1,4 @@
1
1
  import { ListBoxSectionProps } from 'react-aria-components/ListBox';
2
- export declare const selectListOptGroup: import('tailwind-variants').TVReturnType<{
3
- [key: string]: {
4
- [key: string]: import('tailwind-variants').ClassValue | {
5
- base?: import('tailwind-variants').ClassValue;
6
- label?: import('tailwind-variants').ClassValue;
7
- separator?: import('tailwind-variants').ClassValue;
8
- };
9
- };
10
- } | {
11
- [x: string]: {
12
- [x: string]: import('tailwind-variants').ClassValue | {
13
- base?: import('tailwind-variants').ClassValue;
14
- label?: import('tailwind-variants').ClassValue;
15
- separator?: import('tailwind-variants').ClassValue;
16
- };
17
- };
18
- } | {}, {
19
- base: string;
20
- label: string;
21
- separator: string;
22
- }, undefined, {
23
- [key: string]: {
24
- [key: string]: import('tailwind-variants').ClassValue | {
25
- base?: import('tailwind-variants').ClassValue;
26
- label?: import('tailwind-variants').ClassValue;
27
- separator?: import('tailwind-variants').ClassValue;
28
- };
29
- };
30
- } | {}, {
31
- base: string;
32
- label: string;
33
- separator: string;
34
- }, import('tailwind-variants').TVReturnTypeLike<unknown, {
35
- base: string;
36
- label: string;
37
- separator: string;
38
- }>>;
39
2
  /**
40
3
  * Props for the SelectListOptGroup component.
41
4
  * @template TType - The type of items when using the dynamic API
@@ -31,4 +31,4 @@ function c(e) {
31
31
  }
32
32
  c.displayName = "SelectListOptGroup";
33
33
  //#endregion
34
- export { c as SelectListOptGroup, s as selectListOptGroup };
34
+ export { c as SelectListOptGroup };
@@ -2,5 +2,4 @@ import { ReactNode } from 'react';
2
2
  export type ContentProps = {
3
3
  children: ReactNode;
4
4
  };
5
- export declare const content: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnTypeLike<unknown, undefined>>;
6
5
  export declare const Content: ({ children }: ContentProps) => import('react/jsx-runtime').JSX.Element;
@@ -6,4 +6,4 @@ var n = e({ base: ["uy:flex uy:flex-col", "uy:py-200 uy:pl-50 uy:pr-300"] }), r
6
6
  children: e
7
7
  });
8
8
  //#endregion
9
- export { r as Content, n as content };
9
+ export { r as Content };
@@ -2,5 +2,4 @@ import { ReactNode } from 'react';
2
2
  export type IllustrationProps = {
3
3
  children: ReactNode;
4
4
  };
5
- export declare const illustration: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnTypeLike<unknown, undefined>>;
6
5
  export declare const Illustration: ({ children }: IllustrationProps) => import('react/jsx-runtime').JSX.Element;
@@ -6,4 +6,4 @@ var n = e({ base: ["uy:mb-100"] }), r = ({ children: e }) => /* @__PURE__ */ t("
6
6
  children: e
7
7
  });
8
8
  //#endregion
9
- export { r as Illustration, n as illustration };
9
+ export { r as Illustration };
@@ -2,5 +2,4 @@ import { ReactNode } from 'react';
2
2
  export type SelectedIndicatorProps = {
3
3
  children: ReactNode;
4
4
  };
5
- export declare const selectedIndicator: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnTypeLike<unknown, undefined>>;
6
5
  export declare const SelectedIndicator: ({ children }: SelectedIndicatorProps) => import('react/jsx-runtime').JSX.Element;
@@ -6,4 +6,4 @@ var n = e({ base: ["uy:my-200 uy:mx-150 uy:p-25"] }), r = ({ children: e }) => /
6
6
  children: e
7
7
  });
8
8
  //#endregion
9
- export { r as SelectedIndicator, n as selectedIndicator };
9
+ export { r as SelectedIndicator };
@@ -1,38 +1,6 @@
1
- export declare const sidePanelDragIndicator: import('tailwind-variants').TVReturnType<{
2
- [key: string]: {
3
- [key: string]: import('tailwind-variants').ClassValue | {
4
- base?: import('tailwind-variants').ClassValue;
5
- indicator?: import('tailwind-variants').ClassValue;
6
- };
7
- };
8
- } | {
9
- [x: string]: {
10
- [x: string]: import('tailwind-variants').ClassValue | {
11
- base?: import('tailwind-variants').ClassValue;
12
- indicator?: import('tailwind-variants').ClassValue;
13
- };
14
- };
15
- } | {}, {
16
- base: string[];
17
- indicator: string;
18
- }, undefined, {
19
- [key: string]: {
20
- [key: string]: import('tailwind-variants').ClassValue | {
21
- base?: import('tailwind-variants').ClassValue;
22
- indicator?: import('tailwind-variants').ClassValue;
23
- };
24
- };
25
- } | {}, {
26
- base: string[];
27
- indicator: string;
28
- }, import('tailwind-variants').TVReturnTypeLike<unknown, {
29
- base: string[];
30
- indicator: string;
31
- }>>;
32
1
  /**
33
2
  * A drag indicator component that connects to the overlay state context and
34
3
  * provides swipe-to-dismiss functionality for the SidePanel.
35
- * @internal
36
4
  */
37
5
  export declare function SidePanelDragIndicator(): import('react/jsx-runtime').JSX.Element;
38
6
  export declare namespace SidePanelDragIndicator {
@@ -42,4 +42,4 @@ function l() {
42
42
  }
43
43
  l.displayName = "SidePanelDragIndicator";
44
44
  //#endregion
45
- export { l as SidePanelDragIndicator, s as sidePanelDragIndicator };
45
+ export { l as SidePanelDragIndicator };
@@ -2,7 +2,6 @@ import { PropsWithChildren } from 'react';
2
2
  interface StepperContextValue {
3
3
  currentStep: number;
4
4
  }
5
- export declare const StepperContext: import('react').Context<StepperContextValue>;
6
5
  export declare function StepperProvider({ children, currentStep, }: PropsWithChildren<StepperContextValue>): import('react/jsx-runtime').JSX.Element;
7
6
  export declare function useStepperContext(): StepperContextValue;
8
7
  export {};
@@ -14,4 +14,4 @@ function a() {
14
14
  return e;
15
15
  }
16
16
  //#endregion
17
- export { r as StepperContext, i as StepperProvider, a as useStepperContext };
17
+ export { i as StepperProvider, a as useStepperContext };
@@ -33,10 +33,6 @@ interface TableContextValue {
33
33
  /** Enable virtualization */
34
34
  enableVirtualization: boolean;
35
35
  }
36
- /**
37
- * React context for the table component.
38
- */
39
- export declare const TableContext: React.Context<TableContextValue>;
40
36
  /**
41
37
  * Hook to access the table context.
42
38
  * @example
@@ -1,6 +1,7 @@
1
1
  import { useTableKeyboardNavigation as e } from "./hooks/useTableKeyboardNavigation.js";
2
2
  import { createContext as t, useContext as n } from "react";
3
3
  import { jsx as r } from "react/jsx-runtime";
4
+ //#region src/core/components/table/Table.context.tsx
4
5
  var i = t({
5
6
  rowCount: 0,
6
7
  columnCount: 0,
@@ -34,4 +35,4 @@ function o({ children: t, ...n }) {
34
35
  });
35
36
  }
36
37
  //#endregion
37
- export { i as TableContext, o as TableContextProvider, a as useTableContext };
38
+ export { o as TableContextProvider, a as useTableContext };
@@ -6,7 +6,6 @@ interface TabsContextValue {
6
6
  scrollable: boolean;
7
7
  layout: NonNullable<VariantProps<typeof tabsVariant>['layout']>;
8
8
  }
9
- export declare const TabsContext: import('react').Context<TabsContextValue>;
10
9
  export declare function TabsProvider({ children, variant, scrollable, layout, }: PropsWithChildren<TabsContextValue>): import('react/jsx-runtime').JSX.Element;
11
10
  export declare function useTabsContext(): TabsContextValue;
12
11
  export {};
@@ -22,4 +22,4 @@ function a() {
22
22
  return e;
23
23
  }
24
24
  //#endregion
25
- export { r as TabsContext, i as TabsProvider, a as useTabsContext };
25
+ export { i as TabsProvider, a as useTabsContext };
@@ -11,6 +11,5 @@ export interface TimelineContextValue {
11
11
  orientation: 'vertical' | 'horizontal';
12
12
  type: 'default' | 'numbered';
13
13
  }
14
- export declare const TimelineContext: import('react').Context<TimelineContextValue | null>;
15
14
  export declare function TimelineProvider({ children, orientation, type, }: PropsWithChildren<TimelineContextValue>): import('react/jsx-runtime').JSX.Element;
16
15
  export declare function useTimelineContext(): TimelineContextValue;
@@ -17,4 +17,4 @@ function a() {
17
17
  return e;
18
18
  }
19
19
  //#endregion
20
- export { r as TimelineContext, i as TimelineProvider, a as useTimelineContext };
20
+ export { i as TimelineProvider, a as useTimelineContext };
@@ -13,6 +13,5 @@ import { PropsWithChildren, ReactNode } from 'react';
13
13
  export interface TimelineStepContentContextValue {
14
14
  statusSlot?: ReactNode;
15
15
  }
16
- export declare const TimelineStepContentContext: import('react').Context<TimelineStepContentContextValue | null>;
17
16
  export declare function TimelineStepContentProvider({ children, statusSlot, }: PropsWithChildren<TimelineStepContentContextValue>): import('react/jsx-runtime').JSX.Element;
18
17
  export declare function useTimelineStepContentContext(): TimelineStepContentContextValue;
@@ -14,4 +14,4 @@ function a() {
14
14
  return e;
15
15
  }
16
16
  //#endregion
17
- export { r as TimelineStepContentContext, i as TimelineStepContentProvider, a as useTimelineStepContentContext };
17
+ export { i as TimelineStepContentProvider, a as useTimelineStepContentContext };
@@ -1,3 +1,2 @@
1
1
  export declare function isTestEnvironment(): boolean;
2
- export declare function isProduction(): boolean;
3
2
  export declare function isBrowser(): boolean;
@@ -48,30 +48,3 @@ export interface ScrollDetectionResult {
48
48
  * ```
49
49
  */
50
50
  export declare function detectScroll(element: HTMLElement, strategy?: ScrollDetectionStrategy): ScrollDetectionResult;
51
- /**
52
- * Simplified helper to check if element has any scrollable content
53
- * @param {HTMLElement} element - DOM element to check
54
- * @param {ScrollDetectionStrategy} strategy - Detection strategy to use
55
- * @returns {boolean} True if element has any scrollable content
56
- * @example
57
- * ```ts
58
- * if (hasScroll(document.getElementById('container'))) {
59
- * console.log('Has scroll');
60
- * }
61
- * ```
62
- */
63
- export declare function hasScroll(element: HTMLElement, strategy?: ScrollDetectionStrategy): boolean;
64
- /**
65
- * Check if element has vertical scrollable content
66
- * @param {HTMLElement} element - DOM element to check
67
- * @param {ScrollDetectionStrategy} strategy - Detection strategy to use
68
- * @returns {boolean} True if element has vertical scrollable content
69
- */
70
- export declare function hasVerticalScroll(element: HTMLElement, strategy?: ScrollDetectionStrategy): boolean;
71
- /**
72
- * Check if element has horizontal scrollable content
73
- * @param {HTMLElement} element - DOM element to check
74
- * @param {ScrollDetectionStrategy} strategy - Detection strategy to use
75
- * @returns {boolean} True if element has horizontal scrollable content
76
- */
77
- export declare function hasHorizontalScroll(element: HTMLElement, strategy?: ScrollDetectionStrategy): boolean;
@@ -8,7 +8,6 @@ export interface ScrollEdges {
8
8
  canScrollBlockStart: boolean;
9
9
  canScrollBlockEnd: boolean;
10
10
  }
11
- export declare const SCROLL_EDGE_TOLERANCE = 1;
12
11
  export declare const emptyScrollEdges: ScrollEdges;
13
12
  export declare function getLogicalInlineScrollOffset(element: Pick<HTMLElement, 'clientWidth' | 'scrollLeft' | 'scrollWidth'>, direction: 'ltr' | 'rtl', rtlOffsetType?: RtlScrollOffsetType): number;
14
13
  export declare function getScrollEdges(element: HTMLElement, axis?: ScrollAreaAxis): ScrollEdges;
@@ -1,3 +1,4 @@
1
+ //#region src/core/utils/scroll-edges.ts
1
2
  var e = {
2
3
  hasOverflowInline: !1,
3
4
  hasOverflowBlock: !1,
@@ -1,88 +1,6 @@
1
1
  import { UnityIcon } from '@payfit/unity-icons';
2
2
  import { PropsWithChildren } from 'react';
3
3
  import { ButtonProps as AriaButtonProps } from 'react-aria-components/Button';
4
- /**
5
- * Defines the visual states shared by `AIButton` instances.
6
- *
7
- * Render `AIButton` instead of applying these classes directly so the surface,
8
- * loading, disabled, and accessibility behavior stay synchronized.
9
- */
10
- export declare const aiButton: import('tailwind-variants').TVReturnType<{
11
- variant: {
12
- outlined: {
13
- base: string[];
14
- };
15
- ghost: {
16
- base: string[];
17
- };
18
- };
19
- isDisabled: {
20
- true: {
21
- base: string[];
22
- aiSurface: string;
23
- };
24
- };
25
- isLoading: {
26
- true: {
27
- aiSurface: string;
28
- };
29
- };
30
- }, {
31
- base: string[];
32
- aiSurface: string[];
33
- content: string[];
34
- label: string[];
35
- }, undefined, {
36
- variant: {
37
- outlined: {
38
- base: string[];
39
- };
40
- ghost: {
41
- base: string[];
42
- };
43
- };
44
- isDisabled: {
45
- true: {
46
- base: string[];
47
- aiSurface: string;
48
- };
49
- };
50
- isLoading: {
51
- true: {
52
- aiSurface: string;
53
- };
54
- };
55
- }, {
56
- base: string[];
57
- aiSurface: string[];
58
- content: string[];
59
- label: string[];
60
- }, import('tailwind-variants').TVReturnTypeLike<{
61
- variant: {
62
- outlined: {
63
- base: string[];
64
- };
65
- ghost: {
66
- base: string[];
67
- };
68
- };
69
- isDisabled: {
70
- true: {
71
- base: string[];
72
- aiSurface: string;
73
- };
74
- };
75
- isLoading: {
76
- true: {
77
- aiSurface: string;
78
- };
79
- };
80
- }, {
81
- base: string[];
82
- aiSurface: string[];
83
- content: string[];
84
- label: string[];
85
- }>>;
86
4
  /**
87
5
  * Configures an AI-assisted action and inherits standard React Aria button
88
6
  * behavior such as `onPress`, `isDisabled`, and `type`.
@@ -204,4 +204,4 @@ var p = c({
204
204
  });
205
205
  h.displayName = "AIButton";
206
206
  //#endregion
207
- export { h as AIButton, p as aiButton };
207
+ export { h as AIButton };
@@ -16,7 +16,6 @@ export interface InlineFieldGroupActionsProps {
16
16
  * InlineFieldGroupActions renders the edit/save/cancel action buttons.
17
17
  * This is an internal component used by InlineFieldGroupHeader and InlineFieldGroup
18
18
  * to provide responsive button placement.
19
- * @internal
20
19
  */
21
20
  export declare function InlineFieldGroupActions({ orientation, customActions, }: InlineFieldGroupActionsProps): import('react/jsx-runtime').JSX.Element;
22
21
  export declare namespace InlineFieldGroupActions {
@@ -1,13 +1,4 @@
1
1
  import { Employee } from './employee-data.js';
2
- /**
3
- * Creates optimized checkbox column with stable handlers to prevent unnecessary re-renders
4
- */
5
- export declare const createCheckboxColumn: () => import('@tanstack/react-table').DisplayColumnDef<import('@tanstack/react-table/legacy').LegacyFeatures, Employee, unknown>;
6
- export declare const employeeColumns: import('@tanstack/react-table').ColumnDef<import('@tanstack/react-table/legacy').LegacyFeatures, Employee, any>[] & [import('@tanstack/react-table').AccessorKeyColumnDef<import('@tanstack/react-table/legacy').LegacyFeatures, Employee, string>, import('@tanstack/react-table').AccessorKeyColumnDef<import('@tanstack/react-table/legacy').LegacyFeatures, Employee, "Full-time" | "Part-time" | "Freelance" | "Contractor">, import('@tanstack/react-table').AccessorKeyColumnDef<import('@tanstack/react-table/legacy').LegacyFeatures, Employee, {
7
- name: string;
8
- position: string;
9
- team: string;
10
- } | null>, import('@tanstack/react-table').AccessorKeyColumnDef<import('@tanstack/react-table/legacy').LegacyFeatures, Employee, "active" | "inactive" | "onboarding" | "offboarding" | "retired">];
11
2
  export declare const employeeColumnsWithCheckbox: import('@tanstack/react-table').ColumnDef<import('@tanstack/react-table/legacy').LegacyFeatures, Employee, any>[] & [import('@tanstack/react-table').DisplayColumnDef<import('@tanstack/react-table/legacy').LegacyFeatures, Employee, unknown>, ...(import('@tanstack/react-table').ColumnDef<import('@tanstack/react-table/legacy').LegacyFeatures, Employee, any> & (import('@tanstack/react-table').AccessorKeyColumnDef<import('@tanstack/react-table/legacy').LegacyFeatures, Employee, string> | import('@tanstack/react-table').AccessorKeyColumnDef<import('@tanstack/react-table/legacy').LegacyFeatures, Employee, "Full-time" | "Part-time" | "Freelance" | "Contractor"> | import('@tanstack/react-table').AccessorKeyColumnDef<import('@tanstack/react-table/legacy').LegacyFeatures, Employee, {
12
3
  name: string;
13
4
  position: string;
@@ -9,69 +9,6 @@ export declare const employeeTableFeatures: {
9
9
  rowSortingFeature: import('@tanstack/react-table').TableFeature;
10
10
  sortedRowModel: (table: import('@tanstack/react-table').Table<any, any>) => () => import('@tanstack/react-table').RowModel<any, any>;
11
11
  };
12
- /**
13
- * Creates optimized checkbox column with stable handlers to prevent unnecessary re-renders
14
- */
15
- export declare const createCheckboxColumn: () => import('@tanstack/react-table').DisplayColumnDef<{
16
- columnFilteringFeature: import('@tanstack/react-table').TableFeature;
17
- columnVisibilityFeature: import('@tanstack/react-table').TableFeature;
18
- filteredRowModel: (table: import('@tanstack/react-table').Table<any, any>) => () => import('@tanstack/react-table').RowModel<any, any>;
19
- paginatedRowModel: (table: import('@tanstack/react-table').Table<any, any>) => () => import('@tanstack/react-table').RowModel<any, any>;
20
- rowPaginationFeature: import('@tanstack/react-table').TableFeature;
21
- rowSelectionFeature: import('@tanstack/react-table').TableFeature;
22
- rowSortingFeature: import('@tanstack/react-table').TableFeature;
23
- sortedRowModel: (table: import('@tanstack/react-table').Table<any, any>) => () => import('@tanstack/react-table').RowModel<any, any>;
24
- }, Employee, unknown>;
25
- export declare const employeeColumns: import('@tanstack/react-table').ColumnDef<{
26
- columnFilteringFeature: import('@tanstack/react-table').TableFeature;
27
- columnVisibilityFeature: import('@tanstack/react-table').TableFeature;
28
- filteredRowModel: (table: import('@tanstack/react-table').Table<any, any>) => () => import('@tanstack/react-table').RowModel<any, any>;
29
- paginatedRowModel: (table: import('@tanstack/react-table').Table<any, any>) => () => import('@tanstack/react-table').RowModel<any, any>;
30
- rowPaginationFeature: import('@tanstack/react-table').TableFeature;
31
- rowSelectionFeature: import('@tanstack/react-table').TableFeature;
32
- rowSortingFeature: import('@tanstack/react-table').TableFeature;
33
- sortedRowModel: (table: import('@tanstack/react-table').Table<any, any>) => () => import('@tanstack/react-table').RowModel<any, any>;
34
- }, Employee, any>[] & [import('@tanstack/react-table').AccessorKeyColumnDef<{
35
- columnFilteringFeature: import('@tanstack/react-table').TableFeature;
36
- columnVisibilityFeature: import('@tanstack/react-table').TableFeature;
37
- filteredRowModel: (table: import('@tanstack/react-table').Table<any, any>) => () => import('@tanstack/react-table').RowModel<any, any>;
38
- paginatedRowModel: (table: import('@tanstack/react-table').Table<any, any>) => () => import('@tanstack/react-table').RowModel<any, any>;
39
- rowPaginationFeature: import('@tanstack/react-table').TableFeature;
40
- rowSelectionFeature: import('@tanstack/react-table').TableFeature;
41
- rowSortingFeature: import('@tanstack/react-table').TableFeature;
42
- sortedRowModel: (table: import('@tanstack/react-table').Table<any, any>) => () => import('@tanstack/react-table').RowModel<any, any>;
43
- }, Employee, string>, import('@tanstack/react-table').AccessorKeyColumnDef<{
44
- columnFilteringFeature: import('@tanstack/react-table').TableFeature;
45
- columnVisibilityFeature: import('@tanstack/react-table').TableFeature;
46
- filteredRowModel: (table: import('@tanstack/react-table').Table<any, any>) => () => import('@tanstack/react-table').RowModel<any, any>;
47
- paginatedRowModel: (table: import('@tanstack/react-table').Table<any, any>) => () => import('@tanstack/react-table').RowModel<any, any>;
48
- rowPaginationFeature: import('@tanstack/react-table').TableFeature;
49
- rowSelectionFeature: import('@tanstack/react-table').TableFeature;
50
- rowSortingFeature: import('@tanstack/react-table').TableFeature;
51
- sortedRowModel: (table: import('@tanstack/react-table').Table<any, any>) => () => import('@tanstack/react-table').RowModel<any, any>;
52
- }, Employee, "Full-time" | "Part-time" | "Freelance" | "Contractor">, import('@tanstack/react-table').AccessorKeyColumnDef<{
53
- columnFilteringFeature: import('@tanstack/react-table').TableFeature;
54
- columnVisibilityFeature: import('@tanstack/react-table').TableFeature;
55
- filteredRowModel: (table: import('@tanstack/react-table').Table<any, any>) => () => import('@tanstack/react-table').RowModel<any, any>;
56
- paginatedRowModel: (table: import('@tanstack/react-table').Table<any, any>) => () => import('@tanstack/react-table').RowModel<any, any>;
57
- rowPaginationFeature: import('@tanstack/react-table').TableFeature;
58
- rowSelectionFeature: import('@tanstack/react-table').TableFeature;
59
- rowSortingFeature: import('@tanstack/react-table').TableFeature;
60
- sortedRowModel: (table: import('@tanstack/react-table').Table<any, any>) => () => import('@tanstack/react-table').RowModel<any, any>;
61
- }, Employee, {
62
- name: string;
63
- position: string;
64
- team: string;
65
- } | null>, import('@tanstack/react-table').AccessorKeyColumnDef<{
66
- columnFilteringFeature: import('@tanstack/react-table').TableFeature;
67
- columnVisibilityFeature: import('@tanstack/react-table').TableFeature;
68
- filteredRowModel: (table: import('@tanstack/react-table').Table<any, any>) => () => import('@tanstack/react-table').RowModel<any, any>;
69
- paginatedRowModel: (table: import('@tanstack/react-table').Table<any, any>) => () => import('@tanstack/react-table').RowModel<any, any>;
70
- rowPaginationFeature: import('@tanstack/react-table').TableFeature;
71
- rowSelectionFeature: import('@tanstack/react-table').TableFeature;
72
- rowSortingFeature: import('@tanstack/react-table').TableFeature;
73
- sortedRowModel: (table: import('@tanstack/react-table').Table<any, any>) => () => import('@tanstack/react-table').RowModel<any, any>;
74
- }, Employee, "active" | "inactive" | "onboarding" | "offboarding" | "retired">];
75
12
  export declare const employeeColumnsWithCheckbox: import('@tanstack/react-table').ColumnDef<{
76
13
  columnFilteringFeature: import('@tanstack/react-table').TableFeature;
77
14
  columnVisibilityFeature: import('@tanstack/react-table').TableFeature;
@@ -14,5 +14,4 @@ export type Employee = {
14
14
  team: string;
15
15
  } | null;
16
16
  };
17
- export declare const employees: Employee[];
18
17
  export declare const employees500: Employee[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payfit/unity-components",
3
- "version": "3.13.2",
3
+ "version": "3.13.4",
4
4
  "module": "./dist/esm/index.js",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -103,12 +103,12 @@
103
103
  "@formatjs/intl": "4.1.12",
104
104
  "@internationalized/date": "3.12.4",
105
105
  "minimatch": "10.2.5",
106
- "@payfit/unity-illustrations": "3.13.2",
106
+ "@payfit/unity-illustrations": "3.13.4",
107
107
  "@radix-ui/react-avatar": "1.2.7",
108
108
  "@radix-ui/react-slot": "1.4.0",
109
109
  "@react-aria/interactions": "3.28.1",
110
110
  "@react-aria/utils": "3.34.1",
111
- "@react-types/shared": "3.36.1",
111
+ "@react-types/shared": "3.37.0",
112
112
  "@standard-schema/spec": "1.1.0",
113
113
  "@use-gesture/react": "10.3.1",
114
114
  "embla-carousel": "9.0.0-rc04",
@@ -117,23 +117,23 @@
117
117
  "fuse.js": "7.1.0",
118
118
  "prettier": "3.8.3",
119
119
  "react": "18.3.1",
120
- "react-aria": "3.52.1",
121
- "react-aria-components": "1.21.1",
120
+ "react-aria": "3.53.0",
121
+ "react-aria-components": "1.22.0",
122
122
  "react-dom": "18.3.1",
123
123
  "react-hot-toast": "2.6.1",
124
124
  "react-hotkeys-hook": "5.3.3",
125
125
  "react-intersection-observer": "9.16.0",
126
126
  "react-international-phone": "4.8.0",
127
127
  "react-intl": "7.1.14",
128
- "react-stately": "3.50.0",
128
+ "react-stately": "3.51.0",
129
129
  "storybook": "10.6.1",
130
130
  "tailwind-variants": "3.3.1",
131
131
  "usehooks-ts": "3.1.1",
132
132
  "zod": "4.6.5"
133
133
  },
134
134
  "peerDependencies": {
135
- "@payfit/unity-icons": "3.13.2",
136
- "@payfit/unity-themes": "3.13.2",
135
+ "@payfit/unity-icons": "3.13.4",
136
+ "@payfit/unity-themes": "3.13.4",
137
137
  "@storybook/react-vite": "^10",
138
138
  "@tanstack/react-query": "^5",
139
139
  "@tanstack/form-core": "1.33.5",
@@ -157,9 +157,9 @@
157
157
  "@payfit/storybook-addon-console-errors": "0.0.0-use.local",
158
158
  "@payfit/storybook-addon-datadog-rum": "0.0.0-use.local",
159
159
  "@payfit/storybook-config": "0.0.0-use.local",
160
- "@payfit/unity-icons": "3.13.2",
161
- "@payfit/unity-illustrations": "3.13.2",
162
- "@payfit/unity-themes": "3.13.2",
160
+ "@payfit/unity-icons": "3.13.4",
161
+ "@payfit/unity-illustrations": "3.13.4",
162
+ "@payfit/unity-themes": "3.13.4",
163
163
  "@payfit/vite-configs": "0.0.0-use.local",
164
164
  "@storybook/addon-a11y": "10.6.1",
165
165
  "@storybook/addon-designs": "11.1.4",