@getsoren/design-system 4.60.1 → 4.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.cjs +74 -74
- package/dist/main.js +5762 -5553
- package/dist/src/components/DataDisplay/Kanban/components/KanbanColumn.d.ts +2 -1
- package/dist/src/components/DataDisplay/Kanban/types.d.ts +1 -1
- package/dist/src/components/Inputs/AutocompleteFilter/AutocompleteFilter.d.ts +12 -1
- package/dist/src/components/Inputs/Checkbox/CheckboxIcon.d.ts +16 -0
- package/dist/src/locales/en.d.ts +1 -0
- package/dist/src/locales/fr.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { ChipProps } from '@mui/material';
|
|
1
2
|
import { HeaderColumnChip, KanbanCardVariant, KanbanDataItemProps } from '../types';
|
|
2
3
|
export interface KanbanColumnProps {
|
|
3
4
|
name: string;
|
|
4
5
|
label?: string;
|
|
5
6
|
count?: number;
|
|
6
7
|
items: KanbanDataItemProps[];
|
|
7
|
-
chipColumVariant?: "
|
|
8
|
+
chipColumVariant?: ChipProps["variant"];
|
|
8
9
|
chipColumDot?: boolean;
|
|
9
10
|
chipStatus?: string;
|
|
10
11
|
isLoading?: boolean;
|
|
@@ -12,7 +12,7 @@ export interface AutocompleteFilterProps<Multiple extends boolean | undefined, D
|
|
|
12
12
|
/**
|
|
13
13
|
* Variant of the Autocomplete
|
|
14
14
|
*/
|
|
15
|
-
variant?: "standard" | "chip";
|
|
15
|
+
variant?: "standard" | "chip" | "filled";
|
|
16
16
|
/**
|
|
17
17
|
* Width of the Autocomplete
|
|
18
18
|
*/
|
|
@@ -31,6 +31,17 @@ export interface AutocompleteFilterProps<Multiple extends boolean | undefined, D
|
|
|
31
31
|
* Placeholder
|
|
32
32
|
*/
|
|
33
33
|
placeholder?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Name of the filtered dimension, kept visible in the summary once a value is selected
|
|
36
|
+
* @default placeholder
|
|
37
|
+
*/
|
|
38
|
+
label?: string;
|
|
39
|
+
/**
|
|
40
|
+
* If true, collapses the selection into a summary: one value is spelled out ("Label : value"),
|
|
41
|
+
* several collapse to a count badge, and the label stays visible as placeholder otherwise
|
|
42
|
+
* @default false
|
|
43
|
+
*/
|
|
44
|
+
summary?: boolean;
|
|
34
45
|
/**
|
|
35
46
|
* If true, the checkbox is disabled
|
|
36
47
|
* @default false
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface CheckboxIconProps {
|
|
2
|
+
/**
|
|
3
|
+
* Ticked state
|
|
4
|
+
*/
|
|
5
|
+
checked?: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Partially ticked — drawn as a bar rather than a check
|
|
8
|
+
*/
|
|
9
|
+
indeterminate?: boolean;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The box a Checkbox draws, replacing MUI's SVG icons: their shape is baked
|
|
13
|
+
* into the SVG path, so it cannot be softened from the theme.
|
|
14
|
+
*/
|
|
15
|
+
declare const CheckboxIcon: ({ checked, indeterminate }: CheckboxIconProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
16
|
+
export default CheckboxIcon;
|
package/dist/src/locales/en.d.ts
CHANGED
package/dist/src/locales/fr.d.ts
CHANGED