@getsoren/design-system 4.60.1 → 4.62.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.
@@ -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?: "filled" | "outlined";
8
+ chipColumVariant?: ChipProps["variant"];
8
9
  chipColumDot?: boolean;
9
10
  chipStatus?: string;
10
11
  isLoading?: boolean;
@@ -80,7 +80,7 @@ export interface KanbanProps {
80
80
  /**
81
81
  * Variant for the chip column.
82
82
  */
83
- chipColumVariant?: "filled" | "outlined";
83
+ chipColumVariant?: ChipProps["variant"];
84
84
  /**
85
85
  * If true, the Kanban column will display a dot indicator in the chip.
86
86
  */
@@ -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,11 @@ 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;
34
39
  /**
35
40
  * If true, the checkbox is disabled
36
41
  * @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;
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
2
  apply: string;
3
+ clear: string;
3
4
  clickToUpload: string;
4
5
  close: string;
5
6
  closed: string;
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
2
  apply: string;
3
+ clear: string;
3
4
  clickToUpload: string;
4
5
  close: string;
5
6
  closed: string;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@getsoren/design-system",
3
3
  "description": "Design System React library",
4
4
  "sideEffects": false,
5
- "version": "4.60.1",
5
+ "version": "4.62.0",
6
6
  "license": "ISC",
7
7
  "type": "module",
8
8
  "types": "./dist/src/main.d.ts",