aristid-ds 20.0.0-e492a0b → 20.1.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 (125) hide show
  1. package/CHANGELOG.md +13 -3
  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/Comment/index.js +1 -1
  6. package/dist/Kit/DataDisplay/Empty/index.js +1 -1
  7. package/dist/Kit/DataDisplay/Error/index.js +1 -1
  8. package/dist/Kit/DataDisplay/IdCard/index.js +1 -1
  9. package/dist/Kit/DataDisplay/ItemCard/index.js +1 -1
  10. package/dist/Kit/DataDisplay/ItemList/index.js +1 -1
  11. package/dist/Kit/DataDisplay/Kanban/KanbanCard.d.ts +12 -0
  12. package/dist/Kit/DataDisplay/Kanban/KanbanColumn.d.ts +20 -0
  13. package/dist/Kit/DataDisplay/Kanban/KanbanItem.d.ts +14 -0
  14. package/dist/Kit/DataDisplay/Kanban/index.d.ts +8 -0
  15. package/dist/Kit/DataDisplay/Kanban/index.js +1 -0
  16. package/dist/Kit/DataDisplay/Kanban/types.d.ts +114 -0
  17. package/dist/Kit/DataDisplay/RedirectCard/index.js +1 -1
  18. package/dist/Kit/DataDisplay/Tab/index.js +1 -1
  19. package/dist/Kit/DataDisplay/Table/index.js +1 -1
  20. package/dist/Kit/DataDisplay/Tag/index.js +1 -1
  21. package/dist/Kit/DataDisplay/ToolBar/index.d.ts +3 -0
  22. package/dist/Kit/DataDisplay/ToolBar/index.js +1 -0
  23. package/dist/Kit/DataDisplay/ToolBar/types.d.ts +11 -0
  24. package/dist/Kit/DataEntry/AutoComplete/index.js +2 -2
  25. package/dist/Kit/DataEntry/Checkbox/index.js +1 -1
  26. package/dist/Kit/DataEntry/ColorPicker/index.js +1 -1
  27. package/dist/Kit/DataEntry/DatePicker/index.js +1 -1
  28. package/dist/Kit/DataEntry/Filter/index.js +1 -1
  29. package/dist/Kit/DataEntry/Input/index.js +1 -1
  30. package/dist/Kit/DataEntry/InputNumber/index.js +1 -1
  31. package/dist/Kit/DataEntry/InputWrapper/index.js +1 -1
  32. package/dist/Kit/DataEntry/Radio/index.js +1 -1
  33. package/dist/Kit/DataEntry/Rate/index.js +1 -1
  34. package/dist/Kit/DataEntry/RichText/MenuBar/FontSizeSelect/index.js +1 -1
  35. package/dist/Kit/DataEntry/RichText/MenuBar/LinkButton/index.js +1 -1
  36. package/dist/Kit/DataEntry/RichText/MenuBar/MenuActionList/index.js +1 -1
  37. package/dist/Kit/DataEntry/RichText/MenuBar/index.js +1 -1
  38. package/dist/Kit/DataEntry/RichText/index.js +1 -1
  39. package/dist/Kit/DataEntry/SearchInput/index.js +1 -1
  40. package/dist/Kit/DataEntry/Select/index.js +1 -1
  41. package/dist/Kit/DataEntry/TreeSelect/index.js +1 -1
  42. package/dist/Kit/DataEntry/Upload/index.js +1 -1
  43. package/dist/Kit/Feedback/Alert/index.js +1 -1
  44. package/dist/Kit/Feedback/Modal/index.js +1 -1
  45. package/dist/Kit/Feedback/Notification/index.js +1 -1
  46. package/dist/Kit/Feedback/Progress/index.js +1 -1
  47. package/dist/Kit/Feedback/SnackBar/index.js +5 -1
  48. package/dist/Kit/General/Icon/index.js +1 -1
  49. package/dist/Kit/General/Typography/index.js +1 -1
  50. package/dist/Kit/Layout/PageLayout/index.js +1 -1
  51. package/dist/Kit/Navigation/Header/index.js +1 -1
  52. package/dist/Kit/Navigation/PageHeader/index.js +1 -1
  53. package/dist/Kit/Navigation/Pagination/index.js +1 -1
  54. package/dist/Kit/Navigation/SideMenu/index.js +1 -1
  55. package/dist/Kit/Navigation/SidePanel/index.js +1 -1
  56. package/dist/Kit/index.d.ts +4 -0
  57. package/dist/Kit/index.js +60 -58
  58. package/dist/assets/Kanban.css +1 -0
  59. package/dist/assets/ToolBar.css +1 -0
  60. package/dist/chunks/{Alert.CQaVbuFR.js → Alert.CHcxwc-7.js} +2 -2
  61. package/dist/chunks/{App.zMQAGO0h.js → App.BAznFPGK.js} +3 -3
  62. package/dist/chunks/{Avatar.BHlNyW0q.js → Avatar.CHhPAXNx.js} +1 -1
  63. package/dist/chunks/{Avatar.DysCcyLq.js → Avatar.CPy-hK8w.js} +1 -1
  64. package/dist/chunks/{Badge.B__O4nmc.js → Badge.tu17MdMt.js} +1 -1
  65. package/dist/chunks/{Checkbox.CklNShKc.js → Checkbox.C0E-Lf9F.js} +1 -1
  66. package/dist/chunks/{ColorPicker.tquePjr5.js → ColorPicker.BO3g1Ccr.js} +1 -1
  67. package/dist/chunks/{Comment.DmUzK6J4.js → Comment.D3uQOVRA.js} +1 -1
  68. package/dist/chunks/{DatePicker.yXXCNE-V.js → DatePicker.DlehA8r8.js} +2 -2
  69. package/dist/chunks/{Empty.kPH-hJ9V.js → Empty.C_H88Lwp.js} +1 -1
  70. package/dist/chunks/{Error.CYRnZXNg.js → Error.DtFtGSNd.js} +1 -1
  71. package/dist/chunks/{Filter.oOWQCxXU.js → Filter.BrhTPGgi.js} +3 -3
  72. package/dist/chunks/{FontSizeSelect.CFAIqibs.js → FontSizeSelect.BEujUTOk.js} +1 -1
  73. package/dist/chunks/{Header.Byz5t7xv.js → Header.BG7zjt32.js} +3 -3
  74. package/dist/chunks/{Icon.DRPmn7dQ.js → Icon.DbHbt0HM.js} +1 -1
  75. package/dist/chunks/{IdCard.Dx6_WU3t.js → IdCard.DcdzxJ6s.js} +1 -1
  76. package/dist/chunks/{Input.DdjrEdk3.js → Input.DAqyQC25.js} +2 -2
  77. package/dist/chunks/{InputNumber.CtaH9tBG.js → InputNumber.BVLzytYW.js} +1 -1
  78. package/dist/chunks/{InputWrapper.DXw2Vcpa.js → InputWrapper.UG5UbUiq.js} +1 -1
  79. package/dist/chunks/{InternalSizeChanger.Cq2ygNZp.js → InternalSizeChanger.CY_UQjgi.js} +1 -1
  80. package/dist/chunks/{ItemCard.BKXDoSJ7.js → ItemCard.UAMPsAeG.js} +3 -3
  81. package/dist/chunks/{ItemList.xNCl9zdZ.js → ItemList.DxIrTW2r.js} +3 -3
  82. package/dist/chunks/Kanban.DMLzdryr.js +478 -0
  83. package/dist/chunks/{LinkButton.BjdSmxHA.js → LinkButton.bj3sa3Dz.js} +2 -2
  84. package/dist/chunks/{MenuBar.DU-Sxebu.js → MenuBar.BKo3YUWL.js} +1 -1
  85. package/dist/chunks/{Modal.q3-rZ1nk.js → Modal.DhO42LCE.js} +4 -4
  86. package/dist/chunks/{Notification.CdZVJjok.js → Notification.CmGBpBnD.js} +3 -3
  87. package/dist/chunks/{PageHeader.BVDVPK3J.js → PageHeader.BNe3xCFg.js} +2 -2
  88. package/dist/chunks/{PageLayout.BRJ4LAof.js → PageLayout.BjZqP-fP.js} +2 -2
  89. package/dist/chunks/{Pagination.BPDOFsUH.js → Pagination.DoydgcwL.js} +1 -1
  90. package/dist/chunks/{Progress.DIpbT4Go.js → Progress.DGZSgm84.js} +1 -1
  91. package/dist/chunks/{Radio.Cik5u8WU.js → Radio.BpOV2_Ga.js} +1 -1
  92. package/dist/chunks/{Rate.DOR2Ky6x.js → Rate.ClZk2tCh.js} +1 -1
  93. package/dist/chunks/{RedirectCard.DDukk2ch.js → RedirectCard.DZz4x-RC.js} +2 -2
  94. package/dist/chunks/{RichText.BpsQldK1.js → RichText.D_VsFypi.js} +3 -3
  95. package/dist/chunks/{SearchInput.0r6ozOnb.js → SearchInput.DPSQA6Hk.js} +1 -1
  96. package/dist/chunks/{Select.w_Kg5LHg.js → Select.C4L4tjyk.js} +5 -5
  97. package/dist/chunks/{SideMenu.lB7w_1gQ.js → SideMenu.BGakreF_.js} +1 -1
  98. package/dist/chunks/{SidePanel.CbfK4WZb.js → SidePanel.e4UuckCP.js} +1 -1
  99. package/dist/chunks/SnackBar.Bjp5gpjk.js +82 -0
  100. package/dist/chunks/{Tab.DXZCTgh9.js → Tab.BQlSFTkt.js} +2 -2
  101. package/dist/chunks/{Table.Cj58AWHv.js → Table.HPOQ6vNr.js} +2 -2
  102. package/dist/chunks/{Tag.zx8olz_8.js → Tag.8Hoq2HSD.js} +2 -2
  103. package/dist/chunks/ToolBar.qYFzjJ3S.js +22 -0
  104. package/dist/chunks/{TreeSelect.N4I9pX27.js → TreeSelect.C0h4AGX4.js} +4 -4
  105. package/dist/chunks/{Typography.MRyLnlCD.js → Typography.dSdY4EZz.js} +1 -1
  106. package/dist/chunks/{Upload.D1XC1bNh.js → Upload.DxOzcNcZ.js} +4 -4
  107. package/dist/chunks/{functions.Cjvxsib3.js → functions.m4ADIGGk.js} +2 -2
  108. package/dist/index.d.ts +2 -0
  109. package/dist/index.es.js +53 -51
  110. package/dist/index.umd.js +4 -4
  111. package/dist/translation/en-US/components/DataDisplay/Kanban/index.d.ts +2 -0
  112. package/dist/translation/en-US/components/DataDisplay/Kanban/index.js +16 -0
  113. package/dist/translation/en-US/index.js +32 -30
  114. package/dist/translation/fr-FR/components/DataDisplay/Kanban/index.d.ts +2 -0
  115. package/dist/translation/fr-FR/components/DataDisplay/Kanban/index.js +16 -0
  116. package/dist/translation/fr-FR/index.js +32 -30
  117. package/dist/translation/pt-PT/components/DataDisplay/Kanban/index.d.ts +2 -0
  118. package/dist/translation/pt-PT/components/DataDisplay/Kanban/index.js +16 -0
  119. package/dist/translation/pt-PT/index.js +32 -30
  120. package/dist/translation/types/components/DataDisplay/Kanban/index.d.ts +16 -0
  121. package/dist/translation/types/index.d.ts +2 -0
  122. package/dist/utils/functions/colorVariants.d.ts +18 -0
  123. package/dist/utils/functions/index.js +1 -1
  124. package/package.json +180 -181
  125. package/dist/chunks/SnackBar.DIcwKqqj.js +0 -83
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Changelog
2
2
 
3
- ## [X.Y.Z](https://www.npmjs.com/package/aristid-ds/v/X.Y.Z) (YYYY-MM-DD)
3
+ ## [20.1.0](https://www.npmjs.com/package/aristid-ds/v/20.1.0) (2026-11-20)
4
4
 
5
5
  ### ✨ Features
6
6
 
@@ -8,12 +8,18 @@
8
8
  - Add the `valueColor` prop to recolour the single value with a palette or custom colour, and accept any `ReactNode` in `values` (@evoiron)
9
9
  - **Select:**
10
10
  - Add the `suffix` prop, replacing the deprecated `suffixIcon` (still accepted), which no longer logs an antd warning (@philippechevieux)
11
+ - **ToolBar:**
12
+ - Add the `KitToolBar` component: a bar whose left content wraps onto several lines while its right `actions` stay on one line (@evoiron)
11
13
  - **TreeSelect:**
12
14
  - Add the `suffix` prop, replacing the deprecated `suffixIcon` (still accepted), which no longer logs an antd warning (@philippechevieux)
13
15
  - **DatePicker:**
14
16
  - Add the `suffix` prop, replacing the deprecated `suffixIcon` (still accepted), which no longer logs an antd warning (@philippechevieux)
15
17
  - **RangePicker:**
16
18
  - Add the `suffix` prop, replacing the deprecated `suffixIcon` (still accepted), which no longer logs an antd warning (@philippechevieux)
19
+ - **Kanban:**
20
+ - Add KitKanban component for drag-and-drop card management across columns (@mel-dalavekia)
21
+ - **Utils:**
22
+ - 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)
17
23
 
18
24
  ### 🐛 Bug Fixes
19
25
 
@@ -49,6 +55,12 @@
49
55
  - Fix ReadOnly, ReadOnlyLight and Disabled RichText opening the editing menu bar on click (@philippechevieux)
50
56
  - Fix the text of a ReadOnly RichText touching its bottom border (@philippechevieux)
51
57
  - Fix the border of a ReadOnlyLight AI RichText appearing on hover (@philippechevieux)
58
+ - **Button:**
59
+ - Fix a disabled `KitButton` missing the `aria-disabled` attribute in the DOM (@evoiron)
60
+
61
+ ### 📝 Documentation
62
+
63
+ - Show, in the code of every Storybook example, the local files it imports (demo data, helpers) as tabs next to its own file (@philippechevieux)
52
64
 
53
65
  ### 📦 Upgrade
54
66
 
@@ -132,8 +144,6 @@
132
144
 
133
145
  ### 🐛 Bug Fixes
134
146
 
135
- - **Button:**
136
- - Fix a disabled `KitButton` missing the `aria-disabled` attribute in the DOM (@evoiron)
137
147
  - **Alert:**
138
148
  - Fix toasted alerts no longer showing up once a `KitModal` confirm dialog has been closed (@YanDevDz)
139
149
  - Stop the close button from submitting a parent `form` (@philippechevieux)
@@ -1 +1 @@
1
- export { t as KitApp } from "../../chunks/App.zMQAGO0h.js";
1
+ export { t as KitApp } from "../../chunks/App.BAznFPGK.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 { 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.BKXDoSJ7.js";
1
+ export { t as KitItemCard } from "../../../chunks/ItemCard.UAMPsAeG.js";
@@ -1 +1 @@
1
- export { t as KitItemList } from "../../../chunks/ItemList.xNCl9zdZ.js";
1
+ export { t as KitItemList } from "../../../chunks/ItemList.DxIrTW2r.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.DMLzdryr.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.DDukk2ch.js";
1
+ export { t as KitRedirectCard } from "../../../chunks/RedirectCard.DZz4x-RC.js";
@@ -1 +1 @@
1
- export { t as KitTab } from "../../../chunks/Tab.DXZCTgh9.js";
1
+ export { t as KitTab } from "../../../chunks/Tab.BQlSFTkt.js";
@@ -1 +1 @@
1
- export { t as KitTable, n as KitTableExpandButton } from "../../../chunks/Table.Cj58AWHv.js";
1
+ export { t as KitTable, n as KitTableExpandButton } from "../../../chunks/Table.HPOQ6vNr.js";
@@ -1 +1 @@
1
- export { t as KitTag } from "../../../chunks/Tag.zx8olz_8.js";
1
+ export { t as KitTag } from "../../../chunks/Tag.8Hoq2HSD.js";
@@ -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.DdjrEdk3.js";
2
- import { t } from "../../../chunks/InputWrapper.DXw2Vcpa.js";
1
+ import { t as e } from "../../../chunks/Input.DAqyQC25.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.tquePjr5.js";
1
+ export { t as KitColorPicker } from "../../../chunks/ColorPicker.BO3g1Ccr.js";
@@ -1 +1 @@
1
- export { t as KitDatePicker } from "../../../chunks/DatePicker.yXXCNE-V.js";
1
+ export { t as KitDatePicker } from "../../../chunks/DatePicker.DlehA8r8.js";
@@ -1 +1 @@
1
- export { t as KitFilter } from "../../../chunks/Filter.oOWQCxXU.js";
1
+ export { t as KitFilter } from "../../../chunks/Filter.BrhTPGgi.js";
@@ -1 +1 @@
1
- export { t as KitInput } from "../../../chunks/Input.DdjrEdk3.js";
1
+ export { t as KitInput } from "../../../chunks/Input.DAqyQC25.js";
@@ -1 +1 @@
1
- export { t as KitInputNumber } from "../../../chunks/InputNumber.CtaH9tBG.js";
1
+ export { t as KitInputNumber } from "../../../chunks/InputNumber.BVLzytYW.js";
@@ -1 +1 @@
1
- export { t as KitInputWrapper } from "../../../chunks/InputWrapper.DXw2Vcpa.js";
1
+ export { t as KitInputWrapper } from "../../../chunks/InputWrapper.UG5UbUiq.js";
@@ -1 +1 @@
1
- export { t as KitRadio } from "../../../chunks/Radio.Cik5u8WU.js";
1
+ export { t as KitRadio } from "../../../chunks/Radio.BpOV2_Ga.js";
@@ -1 +1 @@
1
- export { t as KitRate } from "../../../chunks/Rate.DOR2Ky6x.js";
1
+ export { t as KitRate } from "../../../chunks/Rate.ClZk2tCh.js";
@@ -1 +1 @@
1
- export { t as KitFontSizeSelect } from "../../../../../chunks/FontSizeSelect.CFAIqibs.js";
1
+ export { t as KitFontSizeSelect } from "../../../../../chunks/FontSizeSelect.BEujUTOk.js";
@@ -1 +1 @@
1
- export { t as KitLinkButton } from "../../../../../chunks/LinkButton.BjdSmxHA.js";
1
+ export { t as KitLinkButton } from "../../../../../chunks/LinkButton.bj3sa3Dz.js";
@@ -2,7 +2,7 @@ import { t as e } from "../../../../../chunks/Divider.C-DXVgoI.js";
2
2
  import { KitFontStylesButtons as t } from "../FontStylesButtons/index.js";
3
3
  import { KitImageButton as n } from "../ImageButton/index.js";
4
4
  import { KitIndentListButtons as r } from "../IndentListButtons/index.js";
5
- import { t as i } from "../../../../../chunks/LinkButton.BjdSmxHA.js";
5
+ import { t as i } from "../../../../../chunks/LinkButton.bj3sa3Dz.js";
6
6
  import { KitListButtons as a } from "../ListButtons/index.js";
7
7
  import { KitTextAlignButtons as o } from "../TextAlignButtons/index.js";
8
8
  import { t as s } from "../../../../../chunks/TextColorButton.CDtNdXxN.js";
@@ -1 +1 @@
1
- export { t as KitMenuBar } from "../../../../chunks/MenuBar.DU-Sxebu.js";
1
+ export { t as KitMenuBar } from "../../../../chunks/MenuBar.BKo3YUWL.js";
@@ -1 +1 @@
1
- export { t as KitRichText } from "../../../chunks/RichText.BpsQldK1.js";
1
+ export { t as KitRichText } from "../../../chunks/RichText.D_VsFypi.js";
@@ -1 +1 @@
1
- export { t as KitSearchInput } from "../../../chunks/SearchInput.0r6ozOnb.js";
1
+ export { t as KitSearchInput } from "../../../chunks/SearchInput.DPSQA6Hk.js";
@@ -1 +1 @@
1
- export { t as KitSelect } from "../../../chunks/Select.w_Kg5LHg.js";
1
+ export { t as KitSelect } from "../../../chunks/Select.C4L4tjyk.js";
@@ -1 +1 @@
1
- export { t as KitTreeSelect } from "../../../chunks/TreeSelect.N4I9pX27.js";
1
+ export { t as KitTreeSelect } from "../../../chunks/TreeSelect.C0h4AGX4.js";
@@ -1 +1 @@
1
- export { t as KitUpload } from "../../../chunks/Upload.D1XC1bNh.js";
1
+ export { t as KitUpload } from "../../../chunks/Upload.DxOzcNcZ.js";
@@ -1 +1 @@
1
- export { t as KitAlert } from "../../../chunks/Alert.CQaVbuFR.js";
1
+ export { t as KitAlert } from "../../../chunks/Alert.CHcxwc-7.js";
@@ -1 +1 @@
1
- export { t as KitModal, n as KitModalContent, r as KitModalFooter, i as KitModalHeader } from "../../../chunks/Modal.q3-rZ1nk.js";
1
+ export { t as KitModal, n as KitModalContent, r as KitModalFooter, i as KitModalHeader } from "../../../chunks/Modal.DhO42LCE.js";
@@ -1 +1 @@
1
- export { t as KitNotification } from "../../../chunks/Notification.CdZVJjok.js";
1
+ export { t as KitNotification } from "../../../chunks/Notification.CmGBpBnD.js";
@@ -1 +1 @@
1
- export { t as KitProgress } from "../../../chunks/Progress.DIpbT4Go.js";
1
+ export { t as KitProgress } from "../../../chunks/Progress.DGZSgm84.js";
@@ -1 +1,5 @@
1
- export { t as KitSnackBarProvider, n as closeKitSnackBar, r as openKitSnackBar } from "../../../chunks/SnackBar.DIcwKqqj.js";
1
+ import { t as e } from "../../../chunks/SnackBarProvider.3v41l7_l.js";
2
+ import { n as t, r as n } from "../../../chunks/SnackBar.Bjp5gpjk.js";
3
+ // src/Kit/Feedback/SnackBar/index.ts
4
+ var r = n, i = t, a = e;
5
+ export { a as KitSnackBarProvider, i as closeKitSnackBar, r as openKitSnackBar };
@@ -1 +1 @@
1
- export { t as KitIcon } from "../../../chunks/Icon.DRPmn7dQ.js";
1
+ export { t as KitIcon } from "../../../chunks/Icon.DbHbt0HM.js";
@@ -1 +1 @@
1
- export { t as KitTypography } from "../../../chunks/Typography.MRyLnlCD.js";
1
+ export { t as KitTypography } from "../../../chunks/Typography.dSdY4EZz.js";
@@ -1 +1 @@
1
- export { t as KitPageLayout } from "../../../chunks/PageLayout.BRJ4LAof.js";
1
+ export { t as KitPageLayout } from "../../../chunks/PageLayout.BjZqP-fP.js";
@@ -1 +1 @@
1
- export { t as KitHeader } from "../../../chunks/Header.Byz5t7xv.js";
1
+ export { t as KitHeader } from "../../../chunks/Header.BG7zjt32.js";
@@ -1 +1 @@
1
- export { t as KitPageHeader } from "../../../chunks/PageHeader.BVDVPK3J.js";
1
+ export { t as KitPageHeader } from "../../../chunks/PageHeader.BNe3xCFg.js";
@@ -1 +1 @@
1
- export { t as KitPagination } from "../../../chunks/Pagination.BPDOFsUH.js";
1
+ export { t as KitPagination } from "../../../chunks/Pagination.DoydgcwL.js";
@@ -1 +1 @@
1
- export { t as KitSideMenu } from "../../../chunks/SideMenu.lB7w_1gQ.js";
1
+ export { t as KitSideMenu } from "../../../chunks/SideMenu.BGakreF_.js";
@@ -1 +1 @@
1
- export { t as KitSidePanel, n as KitSidePanelContent, r as KitSidePanelHeader } from "../../../chunks/SidePanel.CbfK4WZb.js";
1
+ export { t as KitSidePanel, n as KitSidePanelContent, r as KitSidePanelHeader } from "../../../chunks/SidePanel.e4UuckCP.js";
@@ -25,6 +25,8 @@ export type { KitItemCardProps } from './DataDisplay/ItemCard';
25
25
  export { KitItemCard } from './DataDisplay/ItemCard';
26
26
  export type { KitItemListProps } from './DataDisplay/ItemList';
27
27
  export { KitItemList } from './DataDisplay/ItemList';
28
+ export type { KitKanbanColumnColor, KitKanbanColumnData, KitKanbanDropResult, KitKanbanGrabResult, KitKanbanItemClick, KitKanbanItemData, KitKanbanProps, KitKanbanSelectChange, } from './DataDisplay/Kanban';
29
+ export { KitKanban } from './DataDisplay/Kanban';
28
30
  export type { KitRedirectCardProps } from './DataDisplay/RedirectCard';
29
31
  export { KitRedirectCard } from './DataDisplay/RedirectCard';
30
32
  export type { KitTabItem, KitTabProps } from './DataDisplay/Tab';
@@ -33,6 +35,8 @@ export type { KitColumnType, KitSortOrder, KitTableColumnsType, KitTableColumnTy
33
35
  export { KitTable, KitTableExpandButton } from './DataDisplay/Table';
34
36
  export type { KitTagConfig, KitTagGroupProps, KitTagProps, KitTagType } from './DataDisplay/Tag';
35
37
  export { KitTag } from './DataDisplay/Tag';
38
+ export type { KitToolBarGap, KitToolBarProps } from './DataDisplay/ToolBar';
39
+ export { KitToolBar } from './DataDisplay/ToolBar';
36
40
  export type { KitTooltipProps } from './DataDisplay/Tooltip';
37
41
  export { KitTooltip } from './DataDisplay/Tooltip';
38
42
  export type { KitTourProps } from './DataDisplay/Tour';