aristid-ds 20.0.0 → 20.2.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 (194) hide show
  1. package/CHANGELOG.md +129 -0
  2. package/dist/Kit/App/index.js +1 -1
  3. package/dist/Kit/DataDisplay/Avatar/index.js +1 -1
  4. package/dist/Kit/DataDisplay/Badge/index.js +1 -1
  5. package/dist/Kit/DataDisplay/Card/index.js +1 -1
  6. package/dist/Kit/DataDisplay/Carousel/index.js +1 -1
  7. package/dist/Kit/DataDisplay/Comment/index.js +1 -1
  8. package/dist/Kit/DataDisplay/Empty/index.js +1 -1
  9. package/dist/Kit/DataDisplay/Error/index.js +1 -1
  10. package/dist/Kit/DataDisplay/IdCard/index.js +1 -1
  11. package/dist/Kit/DataDisplay/ItemCard/index.js +1 -1
  12. package/dist/Kit/DataDisplay/ItemList/index.js +1 -1
  13. package/dist/Kit/DataDisplay/Kanban/KanbanCard.d.ts +12 -0
  14. package/dist/Kit/DataDisplay/Kanban/KanbanColumn.d.ts +20 -0
  15. package/dist/Kit/DataDisplay/Kanban/KanbanItem.d.ts +14 -0
  16. package/dist/Kit/DataDisplay/Kanban/index.d.ts +8 -0
  17. package/dist/Kit/DataDisplay/Kanban/index.js +1 -0
  18. package/dist/Kit/DataDisplay/Kanban/types.d.ts +114 -0
  19. package/dist/Kit/DataDisplay/RedirectCard/index.js +1 -1
  20. package/dist/Kit/DataDisplay/Tab/TabDropdownButton.d.ts +7 -0
  21. package/dist/Kit/DataDisplay/Tab/index.d.ts +6 -1
  22. package/dist/Kit/DataDisplay/Tab/index.js +1 -1
  23. package/dist/Kit/DataDisplay/Tab/types.d.ts +8 -0
  24. package/dist/Kit/DataDisplay/Table/KitTableExpandButton.d.ts +2 -1
  25. package/dist/Kit/DataDisplay/Table/index.js +1 -1
  26. package/dist/Kit/DataDisplay/Tag/index.js +1 -1
  27. package/dist/Kit/DataDisplay/Tag/types.d.ts +12 -1
  28. package/dist/Kit/DataDisplay/ToolBar/index.d.ts +3 -0
  29. package/dist/Kit/DataDisplay/ToolBar/index.js +1 -0
  30. package/dist/Kit/DataDisplay/ToolBar/types.d.ts +11 -0
  31. package/dist/Kit/DataEntry/AutoComplete/index.js +2 -2
  32. package/dist/Kit/DataEntry/Checkbox/index.js +1 -1
  33. package/dist/Kit/DataEntry/ColorPicker/index.js +1 -1
  34. package/dist/Kit/DataEntry/DatePicker/DatePicker.d.ts +1 -1
  35. package/dist/Kit/DataEntry/DatePicker/RangePicker.d.ts +1 -1
  36. package/dist/Kit/DataEntry/DatePicker/index.js +1 -1
  37. package/dist/Kit/DataEntry/DatePicker/preset/useActiveDatePickerPreset.d.ts +1 -1
  38. package/dist/Kit/DataEntry/DatePicker/types.d.ts +2 -0
  39. package/dist/Kit/DataEntry/Filter/FilterButton.d.ts +1 -2
  40. package/dist/Kit/DataEntry/Filter/index.js +1 -1
  41. package/dist/Kit/DataEntry/Filter/types.d.ts +19 -3
  42. package/dist/Kit/DataEntry/Input/index.js +1 -1
  43. package/dist/Kit/DataEntry/Input/types.d.ts +1 -0
  44. package/dist/Kit/DataEntry/InputNumber/index.js +1 -1
  45. package/dist/Kit/DataEntry/InputNumber/types.d.ts +1 -0
  46. package/dist/Kit/DataEntry/InputWrapper/index.js +1 -1
  47. package/dist/Kit/DataEntry/Radio/index.js +1 -1
  48. package/dist/Kit/DataEntry/Rate/index.js +1 -1
  49. package/dist/Kit/DataEntry/RichText/MenuBar/FontSizeSelect/index.js +1 -1
  50. package/dist/Kit/DataEntry/RichText/MenuBar/LinkButton/index.js +1 -1
  51. package/dist/Kit/DataEntry/RichText/MenuBar/MenuActionList/index.d.ts +3 -3
  52. package/dist/Kit/DataEntry/RichText/MenuBar/MenuActionList/index.js +28 -18
  53. package/dist/Kit/DataEntry/RichText/MenuBar/MenuActionList/types.d.ts +4 -0
  54. package/dist/Kit/DataEntry/RichText/MenuBar/ShowMoreButton.d.ts +1 -1
  55. package/dist/Kit/DataEntry/RichText/MenuBar/index.d.ts +1 -1
  56. package/dist/Kit/DataEntry/RichText/MenuBar/index.js +1 -1
  57. package/dist/Kit/DataEntry/RichText/MenuBar/types.d.ts +2 -0
  58. package/dist/Kit/DataEntry/RichText/index.js +1 -1
  59. package/dist/Kit/DataEntry/SearchInput/index.js +1 -1
  60. package/dist/Kit/DataEntry/Select/LoadingSuffix.d.ts +2 -0
  61. package/dist/Kit/DataEntry/Select/index.js +1 -1
  62. package/dist/Kit/DataEntry/TreeSelect/index.js +1 -1
  63. package/dist/Kit/DataEntry/TreeSelect/useIcons.d.ts +4 -2
  64. package/dist/Kit/DataEntry/Upload/index.js +1 -1
  65. package/dist/Kit/Feedback/Alert/index.js +1 -1
  66. package/dist/Kit/Feedback/Modal/index.js +1 -1
  67. package/dist/Kit/Feedback/Notification/index.js +1 -1
  68. package/dist/Kit/Feedback/Progress/index.js +1 -1
  69. package/dist/Kit/Feedback/SnackBar/index.js +5 -1
  70. package/dist/Kit/General/Button/index.js +1 -1
  71. package/dist/Kit/General/DynamicActions/index.js +1 -1
  72. package/dist/Kit/General/Icon/index.js +1 -1
  73. package/dist/Kit/General/Typography/index.js +1 -1
  74. package/dist/Kit/Layout/PageLayout/index.js +1 -1
  75. package/dist/Kit/Navigation/DropDown/index.js +52 -38
  76. package/dist/Kit/Navigation/Header/index.js +1 -1
  77. package/dist/Kit/Navigation/PageHeader/index.js +1 -1
  78. package/dist/Kit/Navigation/Pagination/index.js +1 -1
  79. package/dist/Kit/Navigation/SideMenu/index.js +1 -1
  80. package/dist/Kit/Navigation/SidePanel/index.js +1 -1
  81. package/dist/Kit/index.d.ts +4 -0
  82. package/dist/Kit/index.js +62 -60
  83. package/dist/assets/App.css +1 -1
  84. package/dist/assets/Button.css +1 -1
  85. package/dist/assets/ColorPicker.css +1 -1
  86. package/dist/assets/DatePicker.css +1 -1
  87. package/dist/assets/Filter.css +1 -1
  88. package/dist/assets/Input.css +1 -1
  89. package/dist/assets/Kanban.css +1 -0
  90. package/dist/assets/LoadingSuffix.css +1 -0
  91. package/dist/assets/MenuBar.css +1 -1
  92. package/dist/assets/RichText.css +1 -1
  93. package/dist/assets/SideMenu.css +1 -1
  94. package/dist/assets/Tab.css +1 -1
  95. package/dist/assets/Tag.css +1 -1
  96. package/dist/assets/ToolBar.css +1 -0
  97. package/dist/assets/icons/loader/faKitLoader.d.ts +2 -0
  98. package/dist/chunks/{Alert.CQaVbuFR.js → Alert.CHcxwc-7.js} +2 -2
  99. package/dist/chunks/{App.D0rw9orm.js → App.DEAyG_cT.js} +4 -4
  100. package/dist/chunks/{Avatar.BHlNyW0q.js → Avatar.CHhPAXNx.js} +1 -1
  101. package/dist/chunks/{Avatar.DysCcyLq.js → Avatar.CPy-hK8w.js} +1 -1
  102. package/dist/chunks/{Badge.B__O4nmc.js → Badge.tu17MdMt.js} +1 -1
  103. package/dist/chunks/Button.Cf2t8x-g.js +152 -0
  104. package/dist/chunks/{Card.Cq08rN_s.js → Card.BifWds4Q.js} +1 -1
  105. package/dist/chunks/{Carousel.BlbPUDYo.js → Carousel.D_UPa7c6.js} +2 -1
  106. package/dist/chunks/{Checkbox.CklNShKc.js → Checkbox.C0E-Lf9F.js} +1 -1
  107. package/dist/chunks/{ColorPicker.gPY0qyUV.js → ColorPicker.CXPDOjlD.js} +5 -5
  108. package/dist/chunks/{Comment.DmUzK6J4.js → Comment.D3uQOVRA.js} +1 -1
  109. package/dist/chunks/DatePicker.CZ7uUpci.js +283 -0
  110. package/dist/chunks/{DynamicActions.DK0mupe6.js → DynamicActions.B0RCwP59.js} +1 -1
  111. package/dist/chunks/{Empty.kPH-hJ9V.js → Empty.C_H88Lwp.js} +1 -1
  112. package/dist/chunks/{Error.CYRnZXNg.js → Error.DtFtGSNd.js} +1 -1
  113. package/dist/chunks/Filter.bcFfECQ2.js +91 -0
  114. package/dist/chunks/{FontSizeSelect.CFAIqibs.js → FontSizeSelect.BEujUTOk.js} +1 -1
  115. package/dist/chunks/{Header.C7xrnZDI.js → Header.CjmOOvCM.js} +3 -3
  116. package/dist/chunks/{Icon.DRPmn7dQ.js → Icon.DbHbt0HM.js} +1 -1
  117. package/dist/chunks/{IdCard.Dx6_WU3t.js → IdCard.DcdzxJ6s.js} +1 -1
  118. package/dist/chunks/{Input.CNLvspAE.js → Input.NJ0gxOKB.js} +201 -177
  119. package/dist/chunks/InputNumber.ArmZWyjD.js +59 -0
  120. package/dist/chunks/{InputWrapper.DXw2Vcpa.js → InputWrapper.UG5UbUiq.js} +1 -1
  121. package/dist/chunks/{InternalSizeChanger.CvYkvotd.js → InternalSizeChanger.4uhUYdQf.js} +2 -2
  122. package/dist/chunks/{ItemCard.CyPAPDy2.js → ItemCard.I_EZWDr7.js} +4 -4
  123. package/dist/chunks/{ItemList.Cy8wRu3i.js → ItemList.ZRUcXI2B.js} +4 -4
  124. package/dist/chunks/Kanban.DlRMF3Pf.js +478 -0
  125. package/dist/chunks/{LinkButton.CzpCbe5U.js → LinkButton.VSCUoTOf.js} +3 -3
  126. package/dist/chunks/LoadingSuffix.DoHzo7nz.js +13 -0
  127. package/dist/chunks/MenuBar.BKo3YUWL.js +86 -0
  128. package/dist/chunks/{Modal.Bi8z9VE0.js → Modal.BGfgvCM-.js} +5 -5
  129. package/dist/chunks/{Notification.BrJDgjWr.js → Notification.BvB2WQpw.js} +4 -4
  130. package/dist/chunks/{PageHeader.CLKSCN4a.js → PageHeader.CK5neQHJ.js} +3 -3
  131. package/dist/chunks/{PageLayout.D4BnVUAq.js → PageLayout.CypWl6mK.js} +2 -2
  132. package/dist/chunks/{Pagination.Dqci6TDr.js → Pagination.D2RZjMJN.js} +1 -1
  133. package/dist/chunks/{Progress.DIpbT4Go.js → Progress.DGZSgm84.js} +1 -1
  134. package/dist/chunks/{Radio.Cik5u8WU.js → Radio.BpOV2_Ga.js} +1 -1
  135. package/dist/chunks/{Rate.DOR2Ky6x.js → Rate.ClZk2tCh.js} +1 -1
  136. package/dist/chunks/{RedirectCard.C-uKjgcb.js → RedirectCard.NBOpek7n.js} +3 -3
  137. package/dist/chunks/{RichText.D98AWkBw.js → RichText.D_VsFypi.js} +73 -73
  138. package/dist/chunks/{SearchInput.De_qSxro.js → SearchInput.C7EnHTpX.js} +1 -1
  139. package/dist/chunks/Select.DAAdVERs.js +247 -0
  140. package/dist/chunks/{SideMenu.DQiL42Il.js → SideMenu.Cd2GjK9u.js} +9 -9
  141. package/dist/chunks/{SidePanel.C5nMMMse.js → SidePanel.C-fXIhny.js} +3 -3
  142. package/dist/chunks/SnackBar.CEjyTWJG.js +82 -0
  143. package/dist/chunks/Tab.BQDQSuOg.js +281 -0
  144. package/dist/chunks/{Table.BN-UWSUv.js → Table.DPRSm9mV.js} +63 -55
  145. package/dist/chunks/{Tag.gcpIeECV.js → Tag.By8jS_2F.js} +9 -9
  146. package/dist/chunks/ToolBar.qYFzjJ3S.js +22 -0
  147. package/dist/chunks/{TreeSelect.BRaAmKyc.js → TreeSelect.DD8WhA4W.js} +97 -95
  148. package/dist/chunks/{Typography.MRyLnlCD.js → Typography.dSdY4EZz.js} +1 -1
  149. package/dist/chunks/{Upload.CXHhjlnm.js → Upload.DxszpKf4.js} +5 -5
  150. package/dist/chunks/faKitLoader.BJKbv-bm.js +13 -0
  151. package/dist/chunks/{functions.Cjvxsib3.js → functions.m4ADIGGk.js} +2 -2
  152. package/dist/chunks/useLoadingWidthLock.CzCPeVNp.js +13 -0
  153. package/dist/index.d.ts +2 -0
  154. package/dist/index.es.js +56 -54
  155. package/dist/index.umd.js +4 -4
  156. package/dist/theme/aristid/general/utilities/index.js +12 -6
  157. package/dist/theme/types/utilities/index.d.ts +18 -0
  158. package/dist/theme/utils/tokens-mapper/DataEntry/DatePicker/index.d.ts +1 -0
  159. package/dist/theme/utils/tokens-mapper/DataEntry/DatePicker/index.js +1 -0
  160. package/dist/theme/utils/tokens-mapper/DataEntry/Input/index.d.ts +1 -0
  161. package/dist/theme/utils/tokens-mapper/DataEntry/Input/index.js +1 -0
  162. package/dist/theme/utils/tokens-mapper/DataEntry/InputNumber/index.d.ts +1 -0
  163. package/dist/theme/utils/tokens-mapper/DataEntry/InputNumber/index.js +1 -0
  164. package/dist/translation/en-US/components/DataDisplay/Kanban/index.d.ts +2 -0
  165. package/dist/translation/en-US/components/DataDisplay/Kanban/index.js +16 -0
  166. package/dist/translation/en-US/components/DataDisplay/Tab/index.js +5 -1
  167. package/dist/translation/en-US/index.js +34 -30
  168. package/dist/translation/fr-FR/components/DataDisplay/Kanban/index.d.ts +2 -0
  169. package/dist/translation/fr-FR/components/DataDisplay/Kanban/index.js +16 -0
  170. package/dist/translation/fr-FR/components/DataDisplay/Tab/index.js +5 -1
  171. package/dist/translation/fr-FR/index.js +34 -30
  172. package/dist/translation/pt-PT/components/DataDisplay/Kanban/index.d.ts +2 -0
  173. package/dist/translation/pt-PT/components/DataDisplay/Kanban/index.js +16 -0
  174. package/dist/translation/pt-PT/components/DataDisplay/Tab/index.js +5 -1
  175. package/dist/translation/pt-PT/index.js +34 -30
  176. package/dist/translation/types/components/DataDisplay/Kanban/index.d.ts +16 -0
  177. package/dist/translation/types/components/DataDisplay/Tab/index.d.ts +2 -0
  178. package/dist/translation/types/index.d.ts +2 -0
  179. package/dist/utils/functions/colorVariants.d.ts +18 -0
  180. package/dist/utils/functions/index.d.ts +1 -2
  181. package/dist/utils/functions/index.js +1 -1
  182. package/dist/utils/functions/types.d.ts +6 -0
  183. package/dist/utils/hooks/useLoadingWidthLock.d.ts +2 -0
  184. package/package.json +17 -19
  185. package/dist/assets/styles.css +0 -1
  186. package/dist/chunks/Button.mFkl13ue.js +0 -145
  187. package/dist/chunks/DatePicker.CtiOTI4X.js +0 -267
  188. package/dist/chunks/Filter.ByG4s-gy.js +0 -83
  189. package/dist/chunks/InputNumber.CtaH9tBG.js +0 -52
  190. package/dist/chunks/MenuBar.DigScTZX.js +0 -68
  191. package/dist/chunks/Select.S4xsr0eN.js +0 -248
  192. package/dist/chunks/SnackBar.CdNbNCdU.js +0 -83
  193. package/dist/chunks/Tab.BLLuv1ds.js +0 -188
  194. package/dist/chunks/styles.module.DRkuoXqe.js +0 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,134 @@
1
1
  # Changelog
2
2
 
3
+ ## [20.2.0](https://www.npmjs.com/package/aristid-ds/v/20.2.0) (2026-11-27)
4
+
5
+ ### ✨ Features
6
+
7
+ - **Button:**
8
+ - Add a loading state to `KitButton` (including `redirect`, `action` and `KitSplitButton`): shows a rotating loader in place of the icon while `loading` is set (@mel-dalavekia)
9
+ - **DatePicker:**
10
+ - Add `loading` prop to `KitDatePicker` and `KitDatePicker.RangePicker` showing a rotating loader on the right while set (@mel-dalavekia)
11
+ - **Input:**
12
+ - Add `loading` prop showing a rotating loader on the right while set (@mel-dalavekia)
13
+ - **InputNumber:**
14
+ - Add `loading` prop showing a rotating loader on the right while set (@mel-dalavekia)
15
+ - **Select:**
16
+ - Show a rotating loader in front of the chevron or a custom `suffix` while `loading` is set (@mel-dalavekia)
17
+ - **Tab:**
18
+ - Add closable tabs, classic and pill: `removeTab` shows a close button on each tab and is called with its key; `closable: false` opts a tab out, `closeText` sets the close button label (@mel-dalavekia)
19
+ - Add the `addTabDropdown` prop to open a dropdown from the add button, which takes precedence over `addTab`; the button stays active and `aria-expanded` while the dropdown is open (@philippechevieux)
20
+ - Support `addTab` in the `pill` variant (@philippechevieux)
21
+ - Add the `addTabLabel` prop to override the add button accessible name (@philippechevieux)
22
+ - Keep the overflow menu button active and `aria-expanded` while its menu is open (@philippechevieux)
23
+ - **Tag:**
24
+ - Add the `error-primary`, `success-primary` and `warning-primary` types (@philippechevieux)
25
+ - Add the missing active state to the clickable `primary` type (@philippechevieux)
26
+ - **Theme:**
27
+ - Add the `--general-utilities-error-deepDark`, `--general-utilities-success-deepDark` and `--general-utilities-warning-deepDark` tokens (@philippechevieux)
28
+ - **TreeSelect:**
29
+ - Show a rotating loader in front of the chevron or a custom `suffix` while `loading` is set (@mel-dalavekia)
30
+
31
+ ### 🐛 Bug Fixes
32
+
33
+ - **Button:**
34
+ - Fix the content (text and icon) not being centered horizontally when the button is wider than its content (@philippechevieux)
35
+ - **Carousel:**
36
+ - Fix the carousel turning vertical when `vertical` or a side `dotPlacement` is passed despite the types; it always stays horizontal (@philippechevieux)
37
+ - **ColorPicker:**
38
+ - Fix the clear icon sitting at a different right offset than the single-line `Input` when `showText` is enabled (@mel-dalavekia)
39
+ - **DatePicker:**
40
+ - Fix the range picker clear icon sitting at a different right offset than the single-line `Input`, varying by size (@mel-dalavekia)
41
+ - **DropDown:**
42
+ - Fix `onOpenChange` not being called when the dropdown closes because the window loses focus (@philippechevieux)
43
+ - **Filter:**
44
+ - Fix the button losing its active style when a menu item is clicked while the menu stays open, and apply it when the dropdown `open` is controlled (@philippechevieux)
45
+ - **Input:**
46
+ - Fix the `TextArea` clear icon sitting at a different right offset than the single-line `Input`, varying by size (@mel-dalavekia)
47
+ - **Select:**
48
+ - Fix the clear icon of multiple `Select` sitting at a different right offset than the single-line `Input`, varying by size (@mel-dalavekia)
49
+ - **Tab:**
50
+ - Fix the tabs not moving into or out of the overflow menu when their container is resized, only when the window is (@philippechevieux)
51
+ - Fix the overflow menu button having no accessible name; it is now labelled in every locale (@philippechevieux)
52
+ - Fix the add button having no accessible name; it is now labelled in every locale (@philippechevieux)
53
+ - Fix the add button sitting before the overflow menu button instead of after it (@philippechevieux)
54
+ - Fix the small pill tabs being 22px high instead of 24px, off-centre in their container, with their label sitting high (@philippechevieux)
55
+ - **TreeSelect:**
56
+ - Fix the clear icon of multiple `TreeSelect` sitting at a different right offset than the single-line `Input`, varying by size (@mel-dalavekia)
57
+ - **Utils:**
58
+ - Fix the published `toCssVariables` type declaration importing from a `.storybook` path that is missing from the npm package (@philippechevieux)
59
+
60
+ ## [20.1.0](https://www.npmjs.com/package/aristid-ds/v/20.1.0) (2026-11-20)
61
+
62
+ ### ✨ Features
63
+
64
+ - **Filter:**
65
+ - Add the `valueColor` prop to recolour the single value with a palette or custom colour, and accept any `ReactNode` in `values` (@evoiron)
66
+ - **Select:**
67
+ - Add the `suffix` prop, replacing the deprecated `suffixIcon` (still accepted), which no longer logs an antd warning (@philippechevieux)
68
+ - **ToolBar:**
69
+ - Add the `KitToolBar` component: a bar whose left content wraps onto several lines while its right `actions` stay on one line (@evoiron)
70
+ - **TreeSelect:**
71
+ - Add the `suffix` prop, replacing the deprecated `suffixIcon` (still accepted), which no longer logs an antd warning (@philippechevieux)
72
+ - **DatePicker:**
73
+ - Add the `suffix` prop, replacing the deprecated `suffixIcon` (still accepted), which no longer logs an antd warning (@philippechevieux)
74
+ - **RangePicker:**
75
+ - Add the `suffix` prop, replacing the deprecated `suffixIcon` (still accepted), which no longer logs an antd warning (@philippechevieux)
76
+ - **Kanban:**
77
+ - Add KitKanban component for drag-and-drop card management across columns (@mel-dalavekia)
78
+ - **Utils:**
79
+ - Export `getColorVariants` (and its `KitColorVariants` type) from the root barrel: the tints, accent and contrast text derived from one colour, as `KitKanban` does for a column (@P0ppoff)
80
+
81
+ ### 🐛 Bug Fixes
82
+
83
+ - **DropDown:**
84
+ - Fix the trigger losing keyboard focus to `<body>` when the menu opens, so Tab enters the menu and Escape returns focus to the trigger (@evoiron)
85
+ - **Filter:**
86
+ - Fix the filter button losing keyboard focus to `<body>` when its dropdown opens (@evoiron)
87
+ - **SidePanel:**
88
+ - Fix a click on a control inside the panel, such as a `KitDropDown` trigger, closing it when `closeOnOutsideClick` is set (@evoiron)
89
+ - **Input:**
90
+ - Fix the readonly border changing on hover, to antd's grey or, in AI mode, to a darker purple, instead of keeping its DS color (@philippechevieux)
91
+ - Fix the clear icon's keyboard focus showing antd's thin light-blue ring instead of the DS focus outline (@philippechevieux)
92
+ - **InputNumber:**
93
+ - Fix the readonly border turning antd's grey on hover instead of keeping the DS border color (@philippechevieux)
94
+ - **Select:**
95
+ - Fix the clear icon's keyboard focus showing antd's thin light-blue ring instead of the DS focus outline (@philippechevieux)
96
+ - **TreeSelect:**
97
+ - Fix the clear icon's keyboard focus showing antd's thin light-blue ring instead of the DS focus outline (@philippechevieux)
98
+ - **SideMenu:**
99
+ - Fix the active item leaving a white strip on the menu's right edge and an uneven keyboard focus ring (@philippechevieux)
100
+ - **DatePicker:**
101
+ - Fix the popup's OK and Today buttons losing their DS styling (@philippechevieux)
102
+ - Fix the readonly border turning antd's grey on hover instead of keeping the DS border color (@philippechevieux)
103
+ - Fix the clear icon's keyboard focus showing antd's thin light-blue ring instead of the DS focus outline (@philippechevieux)
104
+ - **RangePicker:**
105
+ - Fix the popup's OK and Today buttons losing their DS styling (@philippechevieux)
106
+ - Fix the readonly border turning antd's grey on hover instead of keeping the DS border color (@philippechevieux)
107
+ - Fix the clear icon's keyboard focus showing antd's thin light-blue ring instead of the DS focus outline (@philippechevieux)
108
+ - **ColorPicker:**
109
+ - Fix the clear icon's keyboard focus showing antd's thin light-blue ring instead of the DS focus outline (@philippechevieux)
110
+ - **Tag:**
111
+ - Fix the close icon showing the browser's default focus outline on keyboard focus instead of the DS focus outline (@philippechevieux)
112
+ - **Table:**
113
+ - Fix the antd deprecation warning logged in the console for `expandable.expandIcon` (@philippechevieux)
114
+ - **Pagination:**
115
+ - Fix the antd deprecation warning logged in the console for `suffixIcon` on the page-size selector (@philippechevieux)
116
+ - **RichText:**
117
+ - Fix the "more options" menu listing every action instead of only those that don't fit in the toolbar (@philippechevieux)
118
+ - Fix ReadOnly, ReadOnlyLight and Disabled RichText opening the editing menu bar on click (@philippechevieux)
119
+ - Fix the text of a ReadOnly RichText touching its bottom border (@philippechevieux)
120
+ - Fix the border of a ReadOnlyLight AI RichText appearing on hover (@philippechevieux)
121
+ - **Button:**
122
+ - Fix a disabled `KitButton` missing the `aria-disabled` attribute in the DOM (@evoiron)
123
+
124
+ ### 📝 Documentation
125
+
126
+ - Show, in the code of every Storybook example, the local files it imports (demo data, helpers) as tabs next to its own file (@philippechevieux)
127
+
128
+ ### 📦 Upgrade
129
+
130
+ - Upgrade Ant Design from `6.6.2` to `6.7.0` (@philippechevieux)
131
+
3
132
  ## [20.0.0](https://www.npmjs.com/package/aristid-ds/v/20.0.0) (2026-11-13)
4
133
 
5
134
  ### ✨ Features
@@ -1 +1 @@
1
- export { t as KitApp } from "../../chunks/App.D0rw9orm.js";
1
+ export { t as KitApp } from "../../chunks/App.DEAyG_cT.js";
@@ -1 +1 @@
1
- export { t as KitAvatar } from "../../../chunks/Avatar.BHlNyW0q.js";
1
+ export { t as KitAvatar } from "../../../chunks/Avatar.CHhPAXNx.js";
@@ -1 +1 @@
1
- export { t as KitBadge } from "../../../chunks/Badge.B__O4nmc.js";
1
+ export { t as KitBadge } from "../../../chunks/Badge.tu17MdMt.js";
@@ -1 +1 @@
1
- export { t as KitCard } from "../../../chunks/Card.Cq08rN_s.js";
1
+ export { t as KitCard } from "../../../chunks/Card.BifWds4Q.js";
@@ -1 +1 @@
1
- export { t as KitCarousel } from "../../../chunks/Carousel.BlbPUDYo.js";
1
+ export { t as KitCarousel } from "../../../chunks/Carousel.D_UPa7c6.js";
@@ -1 +1 @@
1
- export { n as KitComment, t as KitThread } from "../../../chunks/Comment.DmUzK6J4.js";
1
+ export { n as KitComment, t as KitThread } from "../../../chunks/Comment.D3uQOVRA.js";
@@ -1 +1 @@
1
- export { t as KitEmpty } from "../../../chunks/Empty.kPH-hJ9V.js";
1
+ export { t as KitEmpty } from "../../../chunks/Empty.C_H88Lwp.js";
@@ -1 +1 @@
1
- export { t as KitError } from "../../../chunks/Error.CYRnZXNg.js";
1
+ export { t as KitError } from "../../../chunks/Error.DtFtGSNd.js";
@@ -1 +1 @@
1
- export { t as KitIdCard } from "../../../chunks/IdCard.Dx6_WU3t.js";
1
+ export { t as KitIdCard } from "../../../chunks/IdCard.DcdzxJ6s.js";
@@ -1 +1 @@
1
- export { t as KitItemCard } from "../../../chunks/ItemCard.CyPAPDy2.js";
1
+ export { t as KitItemCard } from "../../../chunks/ItemCard.I_EZWDr7.js";
@@ -1 +1 @@
1
- export { t as KitItemList } from "../../../chunks/ItemList.Cy8wRu3i.js";
1
+ export { t as KitItemList } from "../../../chunks/ItemList.ZRUcXI2B.js";
@@ -0,0 +1,12 @@
1
+ import { KitKanbanItemData, KitKanbanSelectChange } from './types';
2
+ interface KanbanCardProps {
3
+ item: KitKanbanItemData;
4
+ columnId: string;
5
+ /** The card is the ghost, or its column is disabled. */
6
+ disabled: boolean;
7
+ selectable: boolean;
8
+ selected: boolean;
9
+ onSelect?: (change: KitKanbanSelectChange) => void;
10
+ }
11
+ export declare const KanbanCard: ({ item, columnId, disabled, selectable, selected, onSelect }: KanbanCardProps) => import('react').JSX.Element;
12
+ export {};
@@ -0,0 +1,20 @@
1
+ import { KitKanbanColumnData, KitKanbanItemClick, KitKanbanItemData, KitKanbanSelectChange } from './types';
2
+ export type KanbanColumnState = 'default' | 'highlight' | 'disabled';
3
+ export interface KanbanColumnProps<T extends KitKanbanItemData> {
4
+ column: KitKanbanColumnData<T>;
5
+ state: KanbanColumnState;
6
+ /** Position of the drop indicator among the visible cards other than the dragged one. */
7
+ dropIndex: number | null;
8
+ activeItemId: string | null;
9
+ visibleCount: number;
10
+ onSeeMore: (columnId: string) => void;
11
+ isDragging?: boolean;
12
+ draggable?: boolean;
13
+ sortable?: boolean;
14
+ selectable?: boolean;
15
+ selectedIds?: string[];
16
+ onSelect?: (change: KitKanbanSelectChange) => void;
17
+ onItemClick?: (click: KitKanbanItemClick) => void;
18
+ className?: string;
19
+ }
20
+ export declare const KanbanColumn: <T extends KitKanbanItemData>({ column, state, dropIndex, activeItemId, visibleCount, onSeeMore, isDragging, draggable, sortable, selectable, selectedIds, onSelect, onItemClick, className, }: KanbanColumnProps<T>) => import('react').JSX.Element;
@@ -0,0 +1,14 @@
1
+ import { ReactNode } from 'react';
2
+ import { KitKanbanItemClick } from './types';
3
+ interface KanbanItemProps {
4
+ id: string;
5
+ columnId: string;
6
+ disabled: boolean;
7
+ isGhost: boolean;
8
+ draggable: boolean;
9
+ isDragging: boolean;
10
+ onItemClick?: (click: KitKanbanItemClick) => void;
11
+ children: ReactNode;
12
+ }
13
+ export declare const KanbanItem: ({ id, columnId, disabled, isGhost, draggable, isDragging, onItemClick, children, }: KanbanItemProps) => import('react').JSX.Element;
14
+ export {};
@@ -0,0 +1,8 @@
1
+ import { ReactElement, Ref } from 'react';
2
+ import { KitKanbanItemData, KitKanbanProps } from './types';
3
+ export type { KitKanbanColumnColor, KitKanbanColumnData, KitKanbanDropResult, KitKanbanGrabResult, KitKanbanItemClick, KitKanbanItemData, KitKanbanProps, KitKanbanSelectChange, } from './types';
4
+ export declare const KitKanban: (<T extends KitKanbanItemData>(props: KitKanbanProps<T> & {
5
+ ref?: Ref<HTMLDivElement>;
6
+ }) => ReactElement) & {
7
+ displayName?: string;
8
+ };
@@ -0,0 +1 @@
1
+ export { t as KitKanban } from "../../../chunks/Kanban.DlRMF3Pf.js";
@@ -0,0 +1,114 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { KitHTMLAttributes } from '../../../types';
3
+ import { KitButtonProps } from '../../General/Button/types';
4
+ import { KitActionButton } from '../types';
5
+ export type KitKanbanColumnColor = 'neutral' | 'main' | 'info' | 'success' | 'warning' | 'error' | 'AI';
6
+
7
+ /** A card. Its click, with the mouse or Enter, is the board's `onItemClick`; anything else goes in `children`. */
8
+ export interface KitKanbanItemData {
9
+ /** Unique across the whole board, not only in its column: the drag and `selectedIds` tell the cards apart by it. Not set on the DOM. */
10
+ id: string;
11
+ /** Content of the card. */
12
+ children?: ReactNode;
13
+ /** Greys the card and makes it neither draggable nor selectable. */
14
+ disabled?: boolean;
15
+ /** Set on the card. */
16
+ className?: string;
17
+ /** Inline style of the card. */
18
+ style?: CSSProperties;
19
+ /** Shows or hides the checkbox of this card, whatever the board's `selectable`. */
20
+ selectable?: boolean;
21
+ /** Accessible name of the checkbox of this card. Default: a translated "Select card". */
22
+ selectLabel?: string;
23
+ /** Name of the card in the screen reader announcements of a drag ("… picked up from To do"). Default: its `id`. */
24
+ label?: string;
25
+ }
26
+
27
+ export interface KitKanbanColumnData<T extends KitKanbanItemData = KitKanbanItemData> {
28
+ id: string;
29
+ title: string;
30
+ /** Drives the header tint, the left stripe and the highlight border. Default `'neutral'`. */
31
+ color?: KitKanbanColumnColor;
32
+ /** Set on the column root after its colour class, so its rules win over the colour's. */
33
+ className?: string;
34
+ /** Inline style of the column root. Set `--kit-kanban-column-color` to colour the column from the data: the header tint, the stripe, the badge and a readable badge text are derived from it, over `color`. It is read in JavaScript, not by the CSS: only a hex, `rgb(a)` or `hsl(a)` value is understood; a `var()`, a keyword, `oklch()` or `color-mix()` silently leaves `color`. A disabled column keeps the theme's grey. */
35
+ style?: CSSProperties & {'--kit-kanban-column-color'?: string};
36
+ items: T[];
37
+ /** Value of the count badge. Defaults to `items.length`; pass the server total when the items are paginated. */
38
+ count?: number;
39
+ /** Permanently disabled: disabled look, its cards cannot be dragged and it never accepts a drop. */
40
+ disabled?: boolean;
41
+ /** Set it when the server pages the column: every loaded item shows, and "See more" shows while it is `true` and only calls `onLoadMore`. Unset, the board pages the items itself by `pageSize`. */
42
+ hasMore?: boolean;
43
+ /** The column is fetching its cards: a loader shows under the loaded ones, "See more" is hidden, the count only shows when `count` is given, and the column accepts no drop. */
44
+ loading?: boolean;
45
+ /** Props spread on this column's "See more" button, e.g. `{loading: true}` while the next cards are fetched. The click stays handled by `onLoadMore`. */
46
+ seeMoreProps?: Omit<KitButtonProps, 'children' | 'onClick'>;
47
+ }
48
+
49
+ export interface KitKanbanDropResult {
50
+ itemId: string;
51
+ fromColumnId: string;
52
+ fromIndex: number;
53
+ toColumnId: string;
54
+ /** Index in the destination list once the item has been removed from its source list. */
55
+ toIndex: number;
56
+ }
57
+
58
+ export interface KitKanbanGrabResult {
59
+ itemId: string;
60
+ /** Column the card was grabbed from. */
61
+ columnId: string;
62
+ /** Position of the card in that column. */
63
+ index: number;
64
+ }
65
+
66
+ export interface KitKanbanSelectChange {
67
+ itemId: string;
68
+ columnId: string;
69
+ selected: boolean;
70
+ }
71
+
72
+ export interface KitKanbanItemClick {
73
+ itemId: string;
74
+ columnId: string;
75
+ }
76
+
77
+ export interface KitKanbanProps<T extends KitKanbanItemData = KitKanbanItemData>
78
+ extends Omit<KitHTMLAttributes<HTMLDivElement>, 'children' | 'onDrop' | 'draggable'> {
79
+ columns: KitKanbanColumnData<T>[];
80
+ /** The columns themselves are not known yet: a loader, centred in the board, shows instead of `columns`. Default `false`. */
81
+ loading?: boolean;
82
+ /** Default: every non-disabled column accepts every card, including its own column (reorder). */
83
+ canDrop?: (item: T, fromColumnId: string, toColumnId: string) => boolean;
84
+ /** Shows a checkbox on each card, to select cards across columns, and, with `selectionActions` or `onClearSelection`, a snack bar while one is selected. Default `false`. */
85
+ selectable?: boolean;
86
+ /** Ids of the selected cards, from every column. The board keeps no selection itself. */
87
+ selectedIds?: string[];
88
+ /** Number of selected cards told by the snack bar, when the selection holds cards the board has not loaded (e.g. "select everything the filters match"). Default: the length of `selectedIds`. */
89
+ selectedCount?: number;
90
+ /** Actions of the snack bar shown while at least one card is selected, e.g. bulk actions on `selectedIds`. Without them nor `onClearSelection`, there is no snack bar: show the selection in your own bar. */
91
+ selectionActions?: KitActionButton[];
92
+ /** Called when the snack bar of the selection is closed: clear your `selectedIds`. Without it, the snack bar has no close button. */
93
+ onClearSelection?: () => void;
94
+ /** Called when the checkbox of a card is checked or unchecked. */
95
+ onSelect?: (change: KitKanbanSelectChange) => void;
96
+ /** Cards can be dragged, with the mouse and the keyboard. Set it to `false` to turn the drag and drop off. Default `true`. */
97
+ draggable?: boolean;
98
+ /** Cards can be reordered inside their column. Set it to `false` when the order is not stored: a card dropped in its own column stays put, a card dropped in another column lands at its end (`toIndex` is that column's number of visible cards). Default `true`. */
99
+ sortable?: boolean;
100
+ /** Called when a card is clicked, or on Enter while it has the focus: open its details there. Space keeps grabbing it. A click or Enter on a control inside the card (its checkbox, a button of `children`) is left to that control. */
101
+ onItemClick?: (click: KitKanbanItemClick) => void;
102
+ /** Called when a card is grabbed: past the 5px threshold with the mouse, on Space with the keyboard. */
103
+ onGrab?: (grab: KitKanbanGrabResult) => void;
104
+ /** Called when a grabbed card is released without `onDrop`: cancelled, dropped outside, refused, or at its own position. */
105
+ onGrabCancel?: (grab: KitKanbanGrabResult) => void;
106
+ /** Called with where a card was dropped. Not called for a drop outside any column, on a refusing column, or at the card's current position. */
107
+ onDrop?: (result: KitKanbanDropResult) => void;
108
+ /** Called with the id of the column whose "See more" was just clicked: load the next cards there, then append the items. Pass `seeMoreProps` to show a loading state meanwhile. */
109
+ onLoadMore?: (columnId: string) => void;
110
+ /** Cards revealed initially and per "See more" click, in a column without `hasMore`. Default 10. */
111
+ pageSize?: number;
112
+ /** Default 320 (a number is in px). */
113
+ columnWidth?: number | string;
114
+ }
@@ -1 +1 @@
1
- export { t as KitRedirectCard } from "../../../chunks/RedirectCard.C-uKjgcb.js";
1
+ export { t as KitRedirectCard } from "../../../chunks/RedirectCard.NBOpek7n.js";
@@ -0,0 +1,7 @@
1
+ import { KitDropdownProps } from '../../Navigation/DropDown/types';
2
+ import { ReactElement } from 'react';
3
+ type TabDropdownButtonProps = Omit<KitDropdownProps, 'children'> & {
4
+ children: (isOpen: boolean) => ReactElement;
5
+ };
6
+ export declare const TabDropdownButton: ({ onOpenChange, children, ...props }: TabDropdownButtonProps) => import('react').JSX.Element;
7
+ export {};
@@ -1,7 +1,12 @@
1
+ import { KitTabItem } from './types';
1
2
  export type { KitTabItem, KitTabProps } from './types';
2
3
  declare const KitTab: import('react').ForwardRefExoticComponent<import('../../../types').KitHTMLAttributes<HTMLDivElement> & {
3
- items: import('./types').KitTabItem[];
4
+ items: KitTabItem[];
5
+ addTabLabel?: string;
4
6
  addTab?: () => void;
7
+ addTabDropdown?: Omit<import('../..').KitDropdownProps, "children">;
8
+ removeTab?: (tabKey: string) => void;
9
+ closeText?: string;
5
10
  centered?: boolean;
6
11
  className?: string;
7
12
  activeKey?: string;
@@ -1 +1 @@
1
- export { t as KitTab } from "../../../chunks/Tab.BLLuv1ds.js";
1
+ export { t as KitTab } from "../../../chunks/Tab.BQDQSuOg.js";
@@ -1,9 +1,16 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { KitHTMLAttributes } from '../../../types';
3
+ import { KitDropdownProps } from '../../Navigation/DropDown/types';
3
4
  import { IKitBadge } from '../Badge/types';
4
5
  export type KitTabProps = KitHTMLAttributes<HTMLDivElement> & {
5
6
  items: KitTabItem[];
7
+ /** Accessible name and tooltip of the add button; defaults to the locale's. */
8
+ addTabLabel?: string;
6
9
  addTab?: () => void;
10
+ /** Opens a dropdown from the add button; its content (`menu` or `popupRender`) is the consumer's. Takes precedence over `addTab`. */
11
+ addTabDropdown?: Omit<KitDropdownProps, 'children'>;
12
+ removeTab?: (tabKey: string) => void;
13
+ closeText?: string;
7
14
  centered?: boolean;
8
15
  className?: string;
9
16
  activeKey?: string;
@@ -23,6 +30,7 @@ export type KitTabItem = {
23
30
  badgeColor?: IKitBadge['color'];
24
31
  tabContent?: ReactNode;
25
32
  disabled?: boolean;
33
+ closable?: boolean;
26
34
  icon?: ReactNode;
27
35
  };
28
36
 
@@ -1,2 +1,3 @@
1
- import { RenderExpandIconProps } from '@rc-component/table/lib/interface';
1
+ import { ExpandIconProps, RenderExpandIconProps } from '@rc-component/table/lib/interface';
2
2
  export declare function KitTableExpandButton<T>({ record, expanded, onExpand, expandable }: RenderExpandIconProps<T>): import('react').JSX.Element | null;
3
+ export declare function KitTableExpandIcon<T>({ expanded, expandable, onClick }: ExpandIconProps<T>): import('react').JSX.Element | null;
@@ -1 +1 @@
1
- export { t as KitTable, n as KitTableExpandButton } from "../../../chunks/Table.BN-UWSUv.js";
1
+ export { t as KitTable, n as KitTableExpandButton } from "../../../chunks/Table.DPRSm9mV.js";
@@ -1 +1 @@
1
- export { t as KitTag } from "../../../chunks/Tag.gcpIeECV.js";
1
+ export { t as KitTag } from "../../../chunks/Tag.By8jS_2F.js";
@@ -3,7 +3,18 @@ import { CSSProperties, ReactNode, RefObject } from 'react';
3
3
  import { KitHTMLAttributes } from '../../../types';
4
4
  import { KitAvatarProps } from '../Avatar/types';
5
5
  import { KitIdCardProps } from '../IdCard/types';
6
- export type KitTagType = 'primary' | 'secondary' | 'neutral' | 'error' | 'success' | 'warning' | 'ai' | 'ai-secondary';
6
+ export type KitTagType =
7
+ | 'primary'
8
+ | 'secondary'
9
+ | 'neutral'
10
+ | 'error'
11
+ | 'error-primary'
12
+ | 'success'
13
+ | 'success-primary'
14
+ | 'warning'
15
+ | 'warning-primary'
16
+ | 'ai'
17
+ | 'ai-secondary';
7
18
 
8
19
  type AntdTagPropsToOmit = 'color' | 'checkableTag' | 'icon' | 'closable';
9
20
 
@@ -0,0 +1,3 @@
1
+ import { KitToolBarProps } from './types';
2
+ export type { KitToolBarGap, KitToolBarProps } from './types';
3
+ export declare const KitToolBar: import('react').ForwardRefExoticComponent<KitToolBarProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1 @@
1
+ export { t as KitToolBar } from "../../../chunks/ToolBar.qYFzjJ3S.js";
@@ -0,0 +1,11 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { KitHTMLAttributes } from '../../../types';
3
+ export type KitToolBarGap = 'xxs' | 'xs';
4
+
5
+ export interface KitToolBarProps extends KitHTMLAttributes<HTMLDivElement> {
6
+ className?: string;
7
+ style?: CSSProperties;
8
+ children?: ReactNode;
9
+ actions?: ReactNode;
10
+ gap?: KitToolBarGap;
11
+ }
@@ -1,5 +1,5 @@
1
- import { t as e } from "../../../chunks/Input.CNLvspAE.js";
2
- import { t } from "../../../chunks/InputWrapper.DXw2Vcpa.js";
1
+ import { t as e } from "../../../chunks/Input.NJ0gxOKB.js";
2
+ import { t } from "../../../chunks/InputWrapper.UG5UbUiq.js";
3
3
  import { t as n } from "../../../chunks/useDeprecatedInputWrapper.CZ2-c80o.js";
4
4
  import { t as r } from "../../../chunks/useGetPopupContainer.Bcn4zw7O.js";
5
5
  import { AutoComplete as i } from "antd";
@@ -1 +1 @@
1
- export { t as KitCheckbox } from "../../../chunks/Checkbox.CklNShKc.js";
1
+ export { t as KitCheckbox } from "../../../chunks/Checkbox.C0E-Lf9F.js";
@@ -1 +1 @@
1
- export { t as KitColorPicker } from "../../../chunks/ColorPicker.gPY0qyUV.js";
1
+ export { t as KitColorPicker } from "../../../chunks/ColorPicker.CXPDOjlD.js";
@@ -1,3 +1,3 @@
1
1
  import { KitDatePickerProps } from './types';
2
- declare const KitDatePicker: import('react').ForwardRefExoticComponent<Omit<KitDatePickerProps, "ref"> & import('react').RefAttributes<import('node_modules/@rc-component/picker/es').PickerRef>>;
2
+ declare const KitDatePicker: import('react').ForwardRefExoticComponent<Omit<KitDatePickerProps, "ref"> & import('react').RefAttributes<import('node_modules/@rc-component/picker/es/interface.mjs').PickerRef>>;
3
3
  export default KitDatePicker;
@@ -1,2 +1,2 @@
1
- declare const KitRangePicker: import('react').ForwardRefExoticComponent<Omit<import('node_modules/antd/es/date-picker').RangePickerProps, "status" | "readOnly"> & import('./types').RangePickerInternalProps & import('../InputWrapper').KitInputWrapperBaseProps & import('react').RefAttributes<import('node_modules/@rc-component/picker/es').PickerRef>>;
1
+ declare const KitRangePicker: import('react').ForwardRefExoticComponent<Omit<import('node_modules/antd/es/date-picker').RangePickerProps, "status" | "readOnly"> & import('./types').RangePickerInternalProps & import('../InputWrapper').KitInputWrapperBaseProps & import('react').RefAttributes<import('node_modules/@rc-component/picker/es/interface.mjs').PickerRef>>;
2
2
  export default KitRangePicker;
@@ -1 +1 @@
1
- export { t as KitDatePicker } from "../../../chunks/DatePicker.CtiOTI4X.js";
1
+ export { t as KitDatePicker } from "../../../chunks/DatePicker.CZ7uUpci.js";
@@ -12,6 +12,6 @@ export declare const useActiveDatePickerPreset: ({ presets, picker, showTime, on
12
12
  value: import('node_modules/dayjs').Dayjs | (() => import('node_modules/dayjs').Dayjs);
13
13
  }[] | undefined;
14
14
  onChange: (date: import('node_modules/dayjs').Dayjs | import('node_modules/dayjs').Dayjs[] | null, dateString: string | string[] | null) => void;
15
- onCalendarChange: (date: import('node_modules/dayjs').Dayjs | import('node_modules/dayjs').Dayjs[], dateString: string | string[], info: import('../../../../../node_modules/@rc-component/picker/es/interface').BaseInfo) => void;
15
+ onCalendarChange: (date: import('node_modules/dayjs').Dayjs | import('node_modules/dayjs').Dayjs[], dateString: string | string[], info: import('node_modules/@rc-component/picker/es/interface.mjs').BaseInfo) => void;
16
16
  };
17
17
  export {};
@@ -15,6 +15,7 @@ interface DatePickerInternalProps {
15
15
  readonlyLight?: boolean;
16
16
  readonly?: boolean;
17
17
  status?: KitInputStatus;
18
+ loading?: boolean;
18
19
  }
19
20
 
20
21
  interface DatePickerBaseProps extends Omit<DatePickerProps, 'picker' | 'readOnly' | 'status'> {
@@ -32,6 +33,7 @@ interface RangePickerInternalProps {
32
33
  readonlyLight?: boolean;
33
34
  readonly?: boolean;
34
35
  status?: KitInputStatus;
36
+ loading?: boolean;
35
37
  }
36
38
 
37
39
  export type KitRangePickerProps = Omit<RangePickerProps, 'readOnly' | 'status'> &
@@ -1,4 +1,3 @@
1
- export declare const FilterButton: import('react').ForwardRefExoticComponent<import('react').ButtonHTMLAttributes<HTMLButtonElement> & Pick<import('./types').KitFilterProps, "values" | "disabled" | "label" | "active" | "expandable" | "readonly" | "leftIcon" | "showSingleValue"> & {
1
+ export declare const FilterButton: import('react').ForwardRefExoticComponent<import('react').ButtonHTMLAttributes<HTMLButtonElement> & Pick<import('./types').KitFilterProps, "values" | "disabled" | "label" | "active" | "expandable" | "readonly" | "leftIcon" | "valueColor" | "showSingleValue"> & {
2
2
  isDropdownOpen?: boolean;
3
- buttonKey?: number;
4
3
  } & import('react').RefAttributes<HTMLButtonElement>>;
@@ -1 +1 @@
1
- export { t as KitFilter } from "../../../chunks/Filter.ByG4s-gy.js";
1
+ export { t as KitFilter } from "../../../chunks/Filter.bcFfECQ2.js";
@@ -1,8 +1,17 @@
1
1
  import { KitDropdownProps } from '../../Navigation/DropDown/types';
2
+ import { KitColorKeys, KitColorsPalette } from '../../../theme/types/general/colors';
2
3
  import { ButtonHTMLAttributes, ReactNode } from 'react';
4
+ export type KitFilterValueColor =
5
+ | 'primary'
6
+ | Exclude<KitColorKeys, 'info'>
7
+ | keyof KitColorsPalette['tertiary']
8
+ | (string & {});
9
+
3
10
  export interface KitFilterProps extends ButtonHTMLAttributes<HTMLButtonElement> {
4
11
  label?: string;
5
- values?: string[];
12
+ values?: ReactNode[];
13
+ /** Colour of the single value (shown with `showSingleValue` and exactly one value), a palette name is rendered at shade 400, a custom colour (hex, rgb, rgba, hsl, hsla) is used as is. Defaults to `primary`. */
14
+ valueColor?: KitFilterValueColor;
6
15
  active?: boolean;
7
16
  readonly?: boolean;
8
17
  disabled?: boolean;
@@ -15,10 +24,17 @@ export interface KitFilterProps extends ButtonHTMLAttributes<HTMLButtonElement>
15
24
  export type KitFilterButtonProps = ButtonHTMLAttributes<HTMLButtonElement> &
16
25
  Pick<
17
26
  KitFilterProps,
18
- 'leftIcon' | 'values' | 'active' | 'readonly' | 'disabled' | 'showSingleValue' | 'expandable' | 'label'
27
+ | 'leftIcon'
28
+ | 'values'
29
+ | 'valueColor'
30
+ | 'active'
31
+ | 'readonly'
32
+ | 'disabled'
33
+ | 'showSingleValue'
34
+ | 'expandable'
35
+ | 'label'
19
36
  > & {
20
37
  isDropdownOpen?: boolean;
21
- buttonKey?: number;
22
38
  };
23
39
 
24
40
  // Deprecated aliases kept so the previous names keep resolving during the migration window.
@@ -1 +1 @@
1
- export { t as KitInput } from "../../../chunks/Input.CNLvspAE.js";
1
+ export { t as KitInput } from "../../../chunks/Input.NJ0gxOKB.js";
@@ -19,6 +19,7 @@ export interface KitInputProps
19
19
  enableSpellCheck?: boolean;
20
20
  AI?: boolean;
21
21
  status?: KitInputStatus;
22
+ loading?: boolean;
22
23
  }
23
24
 
24
25
  export interface KitTextAreaProps
@@ -1 +1 @@
1
- export { t as KitInputNumber } from "../../../chunks/InputNumber.CtaH9tBG.js";
1
+ export { t as KitInputNumber } from "../../../chunks/InputNumber.ArmZWyjD.js";
@@ -12,5 +12,6 @@ export interface KitInputNumberProps
12
12
  wrapperClassName?: string;
13
13
  required?: boolean;
14
14
  readonly?: boolean;
15
+ loading?: boolean;
15
16
  status?: KitInputStatus;
16
17
  }
@@ -1 +1 @@
1
- export { t as KitInputWrapper } from "../../../chunks/InputWrapper.DXw2Vcpa.js";
1
+ export { t as KitInputWrapper } from "../../../chunks/InputWrapper.UG5UbUiq.js";