@wallarm-org/design-system 0.87.1 → 0.88.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.
Files changed (110) hide show
  1. package/dist/components/Alert/Alert.d.ts +1 -1
  2. package/dist/components/AnimatedBackground/pixel/module/celebration.d.ts +2 -2
  3. package/dist/components/AnimatedBackground/pixel/module/game-logic.d.ts +1 -1
  4. package/dist/components/AppShell/story-content/_storyLib.d.ts +1 -1
  5. package/dist/components/Badge/classes.d.ts +2 -2
  6. package/dist/components/Badge/constants.d.ts +26 -26
  7. package/dist/components/Banner/classes.d.ts +4 -4
  8. package/dist/components/Button/Button.d.ts +2 -2
  9. package/dist/components/ButtonBase/classes.d.ts +1 -1
  10. package/dist/components/Calendar/CalendarContext.d.ts +4 -4
  11. package/dist/components/Calendar/CalendarTrigger.d.ts +4 -12
  12. package/dist/components/Calendar/const.d.ts +2 -2
  13. package/dist/components/Checkbox/CheckboxGroup.d.ts +1 -1
  14. package/dist/components/Code/Code.d.ts +3 -3
  15. package/dist/components/CodeSnippet/CodeSnippetRoot.d.ts +5 -8
  16. package/dist/components/CodeSnippet/lib/httpFolds.d.ts +2 -2
  17. package/dist/components/Country/Country.d.ts +1 -1
  18. package/dist/components/Country/CountryFlag.d.ts +1 -1
  19. package/dist/components/Country/countries.d.ts +497 -497
  20. package/dist/components/DropdownMenu/classes.d.ts +1 -1
  21. package/dist/components/DropdownMenu/classes.js +1 -1
  22. package/dist/components/Field/Field.d.ts +1 -1
  23. package/dist/components/FilterInput/FilterInputField/FilterInputChip/classes.d.ts +1 -1
  24. package/dist/components/FilterInput/FilterInputField/FilterInputChip/segmentVariant.d.ts +3 -3
  25. package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/FlatValueMenu.js +1 -0
  26. package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/NestedValueMenuItem.js +1 -26
  27. package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/ValueMenuItem.d.ts +2 -0
  28. package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/ValueMenuItem.js +4 -3
  29. package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/highlightMatch.d.ts +11 -0
  30. package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/highlightMatch.js +28 -0
  31. package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/useNestedValueMenuState.js +2 -2
  32. package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/valueOptionSearchText.d.ts +1 -1
  33. package/dist/components/FilterInput/hooks/useFilterInputAutocomplete/lib/valueResolution.d.ts +1 -1
  34. package/dist/components/FilterInput/hooks/useFilterInputAutocomplete/useChipCascade.d.ts +1 -1
  35. package/dist/components/FilterInput/hooks/useFilterInputAutocomplete/useFilterInputAutocomplete.d.ts +2 -2
  36. package/dist/components/FilterInput/hooks/useFilterInputAutocomplete/useMenuPositioning.d.ts +1 -1
  37. package/dist/components/FilterInput/hooks/useFilterInputExpression/buildChips.d.ts +1 -1
  38. package/dist/components/FilterInput/hooks/useFilterInputExpression/buildChips.js +1 -1
  39. package/dist/components/FilterInput/hooks/useFilterInputExpression/expression.d.ts +2 -2
  40. package/dist/components/FilterInput/hooks/useFilterInputExpression/useFilterInputExpression.d.ts +2 -2
  41. package/dist/components/FilterInput/hooks/useFilterInputPositioning.d.ts +1 -1
  42. package/dist/components/FilterInput/hooks/useFilterInputSelection/lib/serialize.d.ts +1 -1
  43. package/dist/components/FilterInput/lib/applyKnownFieldHelpers.d.ts +1 -1
  44. package/dist/components/FilterInput/lib/collapseValuesToLabels.d.ts +20 -18
  45. package/dist/components/FilterInput/lib/collapseValuesToLabels.js +12 -19
  46. package/dist/components/FilterInput/lib/conditions.d.ts +2 -2
  47. package/dist/components/FilterInput/lib/constants.d.ts +6 -3
  48. package/dist/components/FilterInput/lib/constants.js +1 -1
  49. package/dist/components/FilterInput/lib/index.d.ts +1 -1
  50. package/dist/components/FilterInput/lib/index.js +1 -1
  51. package/dist/components/FilterInput/lib/validation.d.ts +1 -1
  52. package/dist/components/Flex/Flex.d.ts +6 -6
  53. package/dist/components/Heading/Heading.d.ts +3 -3
  54. package/dist/components/InlineEdit/InlineEditSelect.d.ts +4 -4
  55. package/dist/components/Input/classes.d.ts +1 -1
  56. package/dist/components/InputGroup/InputGroup.d.ts +1 -1
  57. package/dist/components/InputGroup/InputGroupAddon.d.ts +2 -2
  58. package/dist/components/Ip/constants.d.ts +21 -21
  59. package/dist/components/Kbd/Kbd.d.ts +1 -1
  60. package/dist/components/Link/classes.d.ts +3 -3
  61. package/dist/components/Loader/Loader.d.ts +2 -2
  62. package/dist/components/Logo/classes.d.ts +1 -1
  63. package/dist/components/NumberInput/classes.d.ts +4 -4
  64. package/dist/components/NumericBadge/classes.d.ts +2 -2
  65. package/dist/components/OverflowTooltip/OverflowTooltip.d.ts +4 -8
  66. package/dist/components/OverflowTooltip/OverflowTooltipContent.d.ts +4 -7
  67. package/dist/components/Pagination/classes.d.ts +2 -2
  68. package/dist/components/ParameterPath/constants.d.ts +7 -7
  69. package/dist/components/Progress/classes.d.ts +2 -2
  70. package/dist/components/Progress/constants.d.ts +22 -22
  71. package/dist/components/Radio/RadioGroup.d.ts +1 -1
  72. package/dist/components/SegmentedControl/SegmentedControlSeparator.d.ts +1 -1
  73. package/dist/components/Select/Select.d.ts +4 -4
  74. package/dist/components/Select/SelectInput/SelectInputOverflowRenderer.d.ts +1 -1
  75. package/dist/components/Selection/Selection.d.ts +4 -4
  76. package/dist/components/Separator/Separator.d.ts +1 -1
  77. package/dist/components/SimpleCharts/BarList/classes.d.ts +3 -3
  78. package/dist/components/SimpleCharts/LineChart/constants.d.ts +2 -2
  79. package/dist/components/SimpleCharts/PieChart/classes.d.ts +2 -2
  80. package/dist/components/Skeleton/Skeleton.d.ts +1 -1
  81. package/dist/components/SplashScreen/classes.d.ts +4 -4
  82. package/dist/components/Stack/Stack.d.ts +5 -5
  83. package/dist/components/Table/Table.d.ts +4 -4
  84. package/dist/components/Table/TableBody/TableBodyCell.d.ts +4 -4
  85. package/dist/components/Table/TableColumnMenu/TableColumnMenu.d.ts +4 -16
  86. package/dist/components/Table/TableHeadCell.d.ts +4 -4
  87. package/dist/components/Table/TableImperativeBridge.d.ts +4 -9
  88. package/dist/components/Table/TableMasterCellActions.d.ts +4 -4
  89. package/dist/components/Table/TableResizeHandler.d.ts +4 -4
  90. package/dist/components/Table/TableRow.d.ts +1 -1
  91. package/dist/components/Table/TableRowExpanded.d.ts +4 -4
  92. package/dist/components/Table/TableSettingsMenu/TableSettingsMenuItem.d.ts +4 -4
  93. package/dist/components/Table/TableSortHandler.d.ts +4 -4
  94. package/dist/components/Table/TableSortTrigger.d.ts +4 -19
  95. package/dist/components/Table/lib/detectDataChange.d.ts +1 -1
  96. package/dist/components/Table/lib/isLastPinnedLeft.d.ts +2 -2
  97. package/dist/components/Tabs/classes.d.ts +1 -1
  98. package/dist/components/Text/Text.d.ts +5 -5
  99. package/dist/components/Textarea/classes.d.ts +2 -2
  100. package/dist/components/Toast/Toast.d.ts +4 -4
  101. package/dist/components/Toast/ToastClose.d.ts +4 -4
  102. package/dist/components/Toast/useToast.d.ts +4 -4
  103. package/dist/components/ToggleButton/ToggleButton.d.ts +1 -1
  104. package/dist/components/Tour/lib/waitForStepEvent.d.ts +1 -1
  105. package/dist/components/WallyIcon/classes.d.ts +1 -1
  106. package/dist/icons/SvgIcon.d.ts +1 -1
  107. package/dist/metadata/components.json +38 -2
  108. package/dist/utils/hasNonTextEnd.d.ts +1 -1
  109. package/dist/utils/isIconOnly.d.ts +1 -1
  110. package/package.json +15 -17
@@ -1,4 +1,4 @@
1
1
  /** Classifies a data change by comparing the previous first/last row ids to the new rows. */
2
2
  export declare const detectDataChange: (prevFirstRowId: string | undefined, rows: {
3
3
  id: string;
4
- }[], prevLastRowId?: string) => "prepend" | "replace" | "none";
4
+ }[], prevLastRowId?: string) => 'prepend' | 'replace' | 'none';
@@ -2,8 +2,8 @@
2
2
  * Checks if a column is the last pinned column on the left side.
3
3
  */
4
4
  export declare const isLastPinnedLeft: (column: {
5
- getIsPinned: () => false | "left" | "right";
5
+ getIsPinned: () => false | 'left' | 'right';
6
6
  }, allColumns: {
7
- getIsPinned: () => false | "left" | "right";
7
+ getIsPinned: () => false | 'left' | 'right';
8
8
  id: string;
9
9
  }[], columnId: string) => boolean;
@@ -1,3 +1,3 @@
1
1
  export declare const tabsTriggerVariants: (props?: ({
2
- size?: "small" | "medium" | null | undefined;
2
+ size?: "medium" | "small" | null | undefined;
3
3
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -2,16 +2,16 @@ import type { FC, HTMLAttributes, PropsWithChildren, Ref } from 'react';
2
2
  import { type VariantProps } from 'class-variance-authority';
3
3
  import type { TestableProps } from '../../utils/testId';
4
4
  declare const textVariants: (props?: ({
5
- size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
6
- weight?: "bold" | "light" | "regular" | "medium" | null | undefined;
7
- color?: "primary" | "secondary" | "inherit" | "primary-alt" | "secondary-alt" | "tertiary-alt" | "danger" | null | undefined;
5
+ size?: "lg" | "md" | "sm" | "xl" | "xs" | null | undefined;
6
+ weight?: "bold" | "light" | "medium" | "regular" | null | undefined;
7
+ color?: "danger" | "inherit" | "primary" | "primary-alt" | "secondary" | "secondary-alt" | "tertiary-alt" | null | undefined;
8
8
  align?: "center" | "left" | "right" | null | undefined;
9
9
  inline?: boolean | null | undefined;
10
10
  grow?: boolean | null | undefined;
11
11
  truncate?: boolean | null | undefined;
12
12
  decoration?: "dashed" | null | undefined;
13
- lineHeight?: "none" | "normal" | "tight" | "snug" | "relaxed" | null | undefined;
14
- textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | null | undefined;
13
+ lineHeight?: "none" | "normal" | "relaxed" | "snug" | "tight" | null | undefined;
14
+ textTransform?: "capitalize" | "lowercase" | "none" | "uppercase" | null | undefined;
15
15
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
16
16
  type TextNativeProps = Omit<HTMLAttributes<HTMLParagraphElement>, 'className' | 'color'>;
17
17
  type TextVariantProps = VariantProps<typeof textVariants>;
@@ -1,6 +1,6 @@
1
1
  export declare const textareaPaddingVariants: (props?: ({
2
- size?: "small" | "medium" | "default" | "inline-edit" | null | undefined;
2
+ size?: "default" | "inline-edit" | "medium" | "small" | null | undefined;
3
3
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
4
4
  export declare const textareaHeightVariants: (props?: ({
5
- size?: "small" | "medium" | "default" | "inline-edit" | null | undefined;
5
+ size?: "default" | "inline-edit" | "medium" | "small" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -14,7 +14,7 @@ export interface ToastData {
14
14
  export interface ToastProps {
15
15
  toast: ToastData;
16
16
  }
17
- export declare const Toast: {
18
- ({ toast }: ToastProps): import("react").JSX.Element;
19
- displayName: string;
20
- };
17
+ export declare function Toast({ toast }: ToastProps): import("react").JSX.Element;
18
+ export declare namespace Toast {
19
+ var displayName: string;
20
+ }
@@ -1,4 +1,4 @@
1
- export declare const ToastClose: {
2
- (): import("react").JSX.Element;
3
- displayName: string;
4
- };
1
+ export declare function ToastClose(): import("react").JSX.Element;
2
+ export declare namespace ToastClose {
3
+ var displayName: string;
4
+ }
@@ -11,7 +11,7 @@ export interface UseToastReturn {
11
11
  update: (options: UpdateToastOptions) => string;
12
12
  dismiss: (options?: DismissToastOptions) => void;
13
13
  }
14
- export declare const useToast: {
15
- (): UseToastReturn;
16
- displayName: string;
17
- };
14
+ export declare function useToast(): UseToastReturn;
15
+ export declare namespace useToast {
16
+ var displayName: string;
17
+ }
@@ -3,7 +3,7 @@ import { type VariantProps } from 'class-variance-authority';
3
3
  import type { TestableProps } from '../../utils/testId';
4
4
  import { type ButtonBaseProps } from '../ButtonBase';
5
5
  declare const toggleButtonVariants: (props?: ({
6
- variant?: "outline" | "ghost" | null | undefined;
6
+ variant?: "ghost" | "outline" | null | undefined;
7
7
  color?: "brand" | "neutral" | null | undefined;
8
8
  active?: boolean | null | undefined;
9
9
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -12,6 +12,6 @@ import type { TourStepEffectArgs, WaitForStepEventOptions } from '../types';
12
12
  *
13
13
  * Returns a cleanup function for early teardown (e.g. dismiss / Back).
14
14
  */
15
- export declare const waitForStepEvent: <T extends HTMLElement = HTMLElement>(event: keyof HTMLElementEventMap, args: Pick<TourStepEffectArgs, "show" | "next"> & {
15
+ export declare const waitForStepEvent: <T extends HTMLElement = HTMLElement>(event: keyof HTMLElementEventMap, args: Pick<TourStepEffectArgs, 'show' | 'next'> & {
16
16
  target?: (() => T | null) | undefined;
17
17
  }, options?: WaitForStepEventOptions<T>) => VoidFunction;
@@ -1,3 +1,3 @@
1
1
  export declare const wallyIconVariants: (props?: ({
2
- size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
2
+ size?: "lg" | "md" | "sm" | "xl" | "xs" | null | undefined;
3
3
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -1,7 +1,7 @@
1
1
  import type { FC, ReactNode, Ref, SVGProps } from 'react';
2
2
  import { type VariantProps } from 'class-variance-authority';
3
3
  declare const iconVariants: (props?: ({
4
- size?: "inherit" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
4
+ size?: "2xl" | "inherit" | "lg" | "md" | "sm" | "xl" | "xs" | null | undefined;
5
5
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
6
  type SvgIconNativeProps = SVGProps<SVGSVGElement>;
7
7
  type SvgIconVariantProps = VariantProps<typeof iconVariants>;
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "0.87.0",
3
- "generatedAt": "2026-08-07T08:50:50.859Z",
2
+ "version": "0.87.1",
3
+ "generatedAt": "2026-08-09T10:59:58.032Z",
4
4
  "components": [
5
5
  {
6
6
  "name": "Accordion",
@@ -33350,6 +33350,18 @@
33350
33350
  "required": false,
33351
33351
  "description": "The ids of the elements in the number input. Useful for composition."
33352
33352
  },
33353
+ {
33354
+ "name": "largeStep",
33355
+ "type": "number | undefined",
33356
+ "required": false,
33357
+ "description": "The amount to increment or decrement the value by when the `Shift` key is held."
33358
+ },
33359
+ {
33360
+ "name": "smallStep",
33361
+ "type": "number | undefined",
33362
+ "required": false,
33363
+ "description": "The amount to increment or decrement the value by when the `Alt` key is held."
33364
+ },
33353
33365
  {
33354
33366
  "name": "allowMouseWheel",
33355
33367
  "type": "boolean | undefined",
@@ -43611,6 +43623,18 @@
43611
43623
  "required": false,
43612
43624
  "description": "The amount to increment or decrement the value by"
43613
43625
  },
43626
+ {
43627
+ "name": "largeStep",
43628
+ "type": "number | undefined",
43629
+ "required": false,
43630
+ "description": "The amount to increment or decrement the value by when the `Shift` key is held."
43631
+ },
43632
+ {
43633
+ "name": "smallStep",
43634
+ "type": "number | undefined",
43635
+ "required": false,
43636
+ "description": "The amount to increment or decrement the value by when the `Alt` key is held."
43637
+ },
43614
43638
  {
43615
43639
  "name": "allowMouseWheel",
43616
43640
  "type": "boolean | undefined",
@@ -83729,6 +83753,12 @@
83729
83753
  "required": false,
83730
83754
  "description": "Whether to unmount on exit.",
83731
83755
  "defaultValue": "true"
83756
+ },
83757
+ {
83758
+ "name": "hideMode",
83759
+ "type": "\"display-none\" | \"activity\"",
83760
+ "required": false,
83761
+ "description": "How to hide content when mounted but not present.\n- `'display-none'`: HTML `hidden` attribute. Effects stay alive.\n- `'activity'`: React 19 `<Activity mode=\"hidden\">`. Effects pause. Requires React 19+."
83732
83762
  }
83733
83763
  ],
83734
83764
  "variants": [],
@@ -85643,6 +85673,12 @@
85643
85673
  "required": false,
85644
85674
  "description": "Whether to unmount on exit."
85645
85675
  },
85676
+ {
85677
+ "name": "hideMode",
85678
+ "type": "\"display-none\" | \"activity\"",
85679
+ "required": false,
85680
+ "description": "How to hide content when mounted but not present.\n- `'display-none'`: HTML `hidden` attribute. Effects stay alive.\n- `'activity'`: React 19 `<Activity mode=\"hidden\">`. Effects pause. Requires React 19+."
85681
+ },
85646
85682
  {
85647
85683
  "name": "asChild",
85648
85684
  "type": "boolean | undefined",
@@ -1,2 +1,2 @@
1
1
  import { type PropsWithChildren } from 'react';
2
- export declare const hasNonTextEnd: (children: PropsWithChildren["children"]) => boolean;
2
+ export declare const hasNonTextEnd: (children: PropsWithChildren['children']) => boolean;
@@ -1,2 +1,2 @@
1
1
  import { type PropsWithChildren } from 'react';
2
- export declare const isIconOnly: (children: PropsWithChildren["children"]) => boolean;
2
+ export declare const isIconOnly: (children: PropsWithChildren['children']) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wallarm-org/design-system",
3
- "version": "0.87.1",
3
+ "version": "0.88.0",
4
4
  "description": "Core design system library with React components and Storybook documentation",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -82,18 +82,16 @@
82
82
  "e2e:docker:report": "playwright show-report ./playwright-report --port=9323"
83
83
  },
84
84
  "devDependencies": {
85
- "@figma/code-connect": "1.4.9",
86
- "@internationalized/date": "3.12.2",
85
+ "@figma/code-connect": "1.5.2",
86
+ "@internationalized/date": "3.12.3",
87
87
  "@rsbuild/core": "catalog:",
88
88
  "@rsbuild/plugin-react": "catalog:",
89
89
  "@rslib/core": "catalog:",
90
- "@shikijs/types": "4.3.1",
90
+ "@shikijs/types": "4.4.2",
91
91
  "@storybook/addon-docs": "10.4.6",
92
- "@storybook/addon-mcp": "0.6.0",
93
92
  "@storybook/addon-themes": "10.4.6",
94
- "@storybook/mcp": "0.7.0",
95
- "@tailwindcss/postcss": "4.3.2",
96
- "@testing-library/jest-dom": "6.9.1",
93
+ "@tailwindcss/postcss": "4.3.3",
94
+ "@testing-library/jest-dom": "7.0.0",
97
95
  "@testing-library/react": "catalog:",
98
96
  "@testing-library/user-event": "catalog:",
99
97
  "@types/node": "catalog:",
@@ -109,39 +107,39 @@
109
107
  "@wallarm-org/typescript-config": "workspace:*",
110
108
  "@wallarm-org/vitest-config": "workspace:*",
111
109
  "glob": "13.0.6",
112
- "postcss": "8.5.6",
110
+ "postcss": "8.5.26",
113
111
  "postcss-import": "16.1.1",
114
112
  "storybook": "catalog:",
115
113
  "storybook-react-rsbuild": "3.3.4",
116
114
  "tailwindcss": "catalog:",
117
115
  "ts-morph": "28.0.0",
118
- "tsx": "4.23.0",
116
+ "tsx": "4.23.10",
119
117
  "tw-animate-css": "catalog:",
120
118
  "typescript": "catalog:",
121
119
  "vitest": "catalog:"
122
120
  },
123
121
  "dependencies": {
124
- "@ark-ui/react": "5.37.2",
122
+ "@ark-ui/react": "5.38.0",
125
123
  "@dnd-kit/core": "6.3.1",
126
124
  "@dnd-kit/sortable": "10.0.0",
127
125
  "@dnd-kit/utilities": "3.2.2",
128
- "@radix-ui/react-compose-refs": "1.1.3",
129
- "@radix-ui/react-slot": "1.3.0",
126
+ "@radix-ui/react-compose-refs": "1.1.5",
127
+ "@radix-ui/react-slot": "1.3.3",
130
128
  "@react-aria/datepicker": "3.17.1",
131
129
  "@react-aria/i18n": "3.13.1",
132
130
  "@react-stately/datepicker": "3.17.1",
133
131
  "@react-types/datepicker": "3.14.0",
134
- "@react-types/shared": "3.36.0",
132
+ "@react-types/shared": "3.36.1",
135
133
  "@tanstack/react-table": "8.21.3",
136
- "@tanstack/react-virtual": "3.14.5",
134
+ "@tanstack/react-virtual": "3.14.9",
137
135
  "class-variance-authority": "0.7.1",
138
136
  "clsx": "2.1.1",
139
137
  "date-fns": "4.4.0",
140
138
  "highlight.js": "11.11.1",
141
139
  "prism-react-renderer": "2.4.1",
142
140
  "prismjs": "1.30.0",
143
- "recharts": "3.9.2",
144
- "shiki": "4.3.1",
141
+ "recharts": "3.10.1",
142
+ "shiki": "4.4.2",
145
143
  "tailwind-merge": "3.6.0"
146
144
  },
147
145
  "peerDependencies": {