@agregio-solutions/design-system 1.89.5 → 1.90.1

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,3 +1,3 @@
1
- export declare const Root: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
- export declare const List: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
3
- export declare const DropZone: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react-aria-components').DropZoneProps & import('react').RefAttributes<HTMLDivElement>, never>> & string & Omit<import('react').ForwardRefExoticComponent<import('react-aria-components').DropZoneProps & import('react').RefAttributes<HTMLDivElement>>, keyof import('react').Component<any, {}, any>>;
1
+ export declare const Root: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
2
+ export declare const List: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>>> & string;
3
+ export declare const DropZone: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react-aria-components').DropZoneProps & import('react').RefAttributes<HTMLDivElement>, never> & Partial<Pick<import('react-aria-components').DropZoneProps & import('react').RefAttributes<HTMLDivElement>, never>>> & string & Omit<import('react').ForwardRefExoticComponent<import('react-aria-components').DropZoneProps & import('react').RefAttributes<HTMLDivElement>>, keyof import('react').Component<any, {}, any>>;
@@ -1,5 +1,5 @@
1
- export declare const Root: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>> & string;
2
- export declare const FileIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../../../Icon/Icon').Props, never>> & string & Omit<({ name, ...props }: import('../../../Icon/Icon').Props) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
3
- export declare const Informations: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
4
- export declare const FileName: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
5
- export declare const FileSize: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
1
+ export declare const Root: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>>> & string;
2
+ export declare const FileIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../../../Icon/Icon').Props, never> & Partial<Pick<import('../../../Icon/Icon').Props, never>>> & string & Omit<({ name, ...props }: import('../../../Icon/Icon').Props) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
3
+ export declare const Informations: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
4
+ export declare const FileName: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
5
+ export declare const FileSize: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
@@ -113,6 +113,7 @@ import { default as receipt_long } from './components/receipt_long';
113
113
  import { default as record } from './components/record';
114
114
  import { default as record_full } from './components/record_full';
115
115
  import { default as refresh } from './components/refresh';
116
+ import { default as remove } from './components/remove';
116
117
  import { default as remove_red_eye } from './components/remove_red_eye';
117
118
  import { default as science } from './components/science';
118
119
  import { default as search } from './components/search';
@@ -270,6 +271,7 @@ export declare const AVAILABLE_ICONS: {
270
271
  record: typeof record;
271
272
  refresh: typeof refresh;
272
273
  remove_red_eye: typeof remove_red_eye;
274
+ remove: typeof remove;
273
275
  science: typeof science;
274
276
  search: typeof search;
275
277
  sell_full: typeof sell_full;
@@ -0,0 +1,2 @@
1
+ import { IconBaseProps } from '../Icon';
2
+ export default function IconRemove(props: IconBaseProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,152 @@
1
+ import { default as React } from 'react';
2
+ import { NumberFieldProps as AriaNumberFieldProps } from 'react-aria-components';
3
+ import { Props as FormGroupWrapperProps } from '../../internal-components/FormGroupWrapper/FormGroupWrapper';
4
+ export type Props = {
5
+ /**
6
+ * Label for the field.
7
+ * If you provide a ReactNode as a label, please also provide an "aria-label" for accessibility.
8
+ */
9
+ label?: FormGroupWrapperProps["label"];
10
+ /**
11
+ * Optional icon to display on the right side of the label
12
+ */
13
+ labelIconRight?: FormGroupWrapperProps["labelIconRight"];
14
+ /**
15
+ * Optional tooltip text to display when hovering the labelIconRight icon.
16
+ * Requires `labelIconRight` to be set. When provided, the icon is wrapped in a Tooltip.
17
+ */
18
+ labelIconRightTooltip?: FormGroupWrapperProps["labelIconRightTooltip"];
19
+ /**
20
+ * Is the child field required, used to display a little asterisk next to the label
21
+ */
22
+ required?: FormGroupWrapperProps["required"];
23
+ /**
24
+ * Orientation of the form group
25
+ * @default "vertical"
26
+ */
27
+ orientation?: FormGroupWrapperProps["orientation"];
28
+ /**
29
+ * Helper text displayed below the input field, like additional instructions.
30
+ */
31
+ helperText?: FormGroupWrapperProps["helperText"];
32
+ /**
33
+ * Optional icon to display on the left side of the helperText. Only visible if there is a helperText
34
+ */
35
+ helperTextIcon?: FormGroupWrapperProps["helperTextIcon"];
36
+ /**
37
+ * Validation error message to display below the input field.
38
+ */
39
+ errorHelperText?: FormGroupWrapperProps["errorHelperText"];
40
+ /**
41
+ * Optional icon to display on the left side of the error help text. Only visible if there is a errorHelperText
42
+ */
43
+ errorHelperTextIcon?: FormGroupWrapperProps["errorHelperTextIcon"];
44
+ /**
45
+ * Success message to display below the input field.
46
+ */
47
+ successHelperText?: FormGroupWrapperProps["successHelperText"];
48
+ /**
49
+ * Optional icon to display on the left side of the success help text. Only visible if there is a successHelperText
50
+ */
51
+ successHelperTextIcon?: FormGroupWrapperProps["successHelperTextIcon"];
52
+ /**
53
+ * Warning message to display below the input field.
54
+ */
55
+ warningHelperText?: FormGroupWrapperProps["warningHelperText"];
56
+ /**
57
+ * Optional icon to display on the left side of the warning help text. Only visible if there is a warningHelperText.
58
+ */
59
+ warningHelperTextIcon?: FormGroupWrapperProps["warningHelperTextIcon"];
60
+ /**
61
+ * Specifies the nature of the NumberField (mainly to change the input border color and helperText color).
62
+ * If you do not pass a nature prop, the component will automatically set the nature based on the presence of success/error messages.
63
+ */
64
+ nature?: "default" | "negative" | "positive" | "warning";
65
+ /**
66
+ * Props to pass to the wrapper div (for example, `style` or `className`).
67
+ */
68
+ wrapperProps?: React.HTMLProps<HTMLDivElement>;
69
+ /**
70
+ * When true, the field stretches to the full width of its container.
71
+ */
72
+ fullWidth?: boolean;
73
+ /**
74
+ * Defines a string value that labels the current element.
75
+ */
76
+ "aria-label"?: AriaNumberFieldProps["aria-label"];
77
+ /**
78
+ * Controls the behavior of the number field when the user blurs the field after editing.
79
+ * 'snap' will clamp the value to the min/max values, and snap to the nearest step value.
80
+ * 'validate' will not clamp the value, and will validate that the value is within the min/max range and on a valid step.
81
+ */
82
+ commitBehavior?: "validate" | "snap";
83
+ /**
84
+ * The default value (uncontrolled).
85
+ */
86
+ defaultValue?: AriaNumberFieldProps["defaultValue"];
87
+ /**
88
+ * Formatting options for the value displayed in the number field.
89
+ * This also affects what characters are allowed to be typed by the user.
90
+ */
91
+ formatOptions?: AriaNumberFieldProps["formatOptions"];
92
+ /**
93
+ * Whether the input is disabled.
94
+ */
95
+ isDisabled?: AriaNumberFieldProps["isDisabled"];
96
+ /**
97
+ * Whether the input can be selected but not changed by the user.
98
+ */
99
+ isReadOnly?: AriaNumberFieldProps["isReadOnly"];
100
+ /**
101
+ * When true, hides the input and stepper buttons and only renders the
102
+ * formatted value (using the same `formatOptions`). The surrounding form
103
+ * group chrome (label, helper texts, nature, required asterisk) stays the
104
+ * same, keeping visual consistency with neighboring editable fields.
105
+ */
106
+ isDisplayOnly?: boolean;
107
+ /**
108
+ * The largest value allowed for the input.
109
+ */
110
+ maxValue?: AriaNumberFieldProps["maxValue"];
111
+ /**
112
+ * The smallest value allowed for the input.
113
+ */
114
+ minValue?: AriaNumberFieldProps["minValue"];
115
+ /**
116
+ * The name of the input element, used when submitting an HTML form.
117
+ */
118
+ name?: AriaNumberFieldProps["name"];
119
+ /**
120
+ * Handler that is called when the element loses focus.
121
+ */
122
+ onBlur?: AriaNumberFieldProps["onBlur"];
123
+ /**
124
+ * Handler that is called when the value changes.
125
+ */
126
+ onChange?: AriaNumberFieldProps["onChange"];
127
+ /**
128
+ * The amount that the input value changes with each increment or decrement "tick".
129
+ */
130
+ step?: AriaNumberFieldProps["step"];
131
+ /**
132
+ * The current value (controlled).
133
+ */
134
+ value?: AriaNumberFieldProps["value"];
135
+ /**
136
+ * The CSS className for the element.
137
+ */
138
+ className?: AriaNumberFieldProps["className"];
139
+ /**
140
+ * The inline style for the element.
141
+ */
142
+ style?: AriaNumberFieldProps["style"];
143
+ /**
144
+ * Advanced React Aria options for less common use cases.
145
+ * Prefer the dedicated top-level props for the most common configuration.
146
+ * See React Aria NumberField docs for the full API:
147
+ * https://react-aria.adobe.com/NumberField.html#numberfield
148
+ */
149
+ advancedReactAriaOptions?: Partial<AriaNumberFieldProps>;
150
+ };
151
+ declare const NumberField: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
152
+ export default NumberField;
@@ -1 +1 @@
1
- export declare const Toaster: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('sonner').ToasterProps & import('react').RefAttributes<HTMLElement>, never>> & string & Omit<import('react').ForwardRefExoticComponent<import('sonner').ToasterProps & import('react').RefAttributes<HTMLElement>>, keyof import('react').Component<any, {}, any>>;
1
+ export declare const Toaster: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('sonner').ToasterProps & import('react').RefAttributes<HTMLElement>, never> & Partial<Pick<import('sonner').ToasterProps & import('react').RefAttributes<HTMLElement>, never>>> & string & Omit<import('react').ForwardRefExoticComponent<import('sonner').ToasterProps & import('react').RefAttributes<HTMLElement>>, keyof import('react').Component<any, {}, any>>;
@@ -37,6 +37,7 @@ import { default as Navigation } from './components/Navigation/Navigation';
37
37
  import { default as NavigationItem } from './components/NavigationItem/NavigationItem';
38
38
  import { default as Notifications } from './components/Notifications/Notifications';
39
39
  import { default as NotificationCard } from './components/NotificationCard/NotificationCard';
40
+ import { default as NumberField } from './components/NumberField/NumberField';
40
41
  import { default as PageLayout } from './components/PageLayout/PageLayout';
41
42
  import { default as Pagination } from './components/Pagination/Pagination';
42
43
  import { default as Popover, PopoverTrigger } from './components/Popover/Popover';
@@ -71,5 +72,5 @@ import { default as createMuiTheme } from './mui/mui-theme.ts';
71
72
  import { tokens, fontSize, lineHeight } from './ds-design-tokens/index';
72
73
  import { I18nProvider } from 'react-aria';
73
74
  import { toast } from 'sonner';
74
- export { Accordion, Badge, Breadcrumbs, Button, Calendar, CalendarCell, ChartLegend, ChartTooltip, Checkbox, CheckboxGroup, Chip, Combobox, createMuiTheme, DataTable, DataTableCell, DataTableHeader, DataTableRoot, DataTableRow, DatePicker, DateRangePicker, Drawer, Dropdown, DropdownListItem, EmptyState, FileUpload, Filter, fontSize, Header, I18nProvider, Icon, Label, LinearProgressBar, lineHeight, Link, List, Loader, Menu, MenuItem, Message, Modal, ModalContent, ModalActions, ModalForm, Navigation, NavigationItem, Notifications, NotificationCard, PageLayout, Pagination, Popover, PopoverTrigger, Radio, RouterProvider, SearchBar, SegmentedControl, SegmentedControlButton, SegmentedControlList, SegmentedControlPanel, Select, SelectItem, Skeleton, Slider, Stepper, Step, Switch, Tab, TabList, TabPanel, Tabs, Tag, TextInput, TimeField, Timeline, toast, Toaster, ToggleButton, ToggleButtonGroup, Tooltip, TooltipTrigger, tokens, YearMonthPicker, };
75
+ export { Accordion, Badge, Breadcrumbs, Button, Calendar, CalendarCell, ChartLegend, ChartTooltip, Checkbox, CheckboxGroup, Chip, Combobox, createMuiTheme, DataTable, DataTableCell, DataTableHeader, DataTableRoot, DataTableRow, DatePicker, DateRangePicker, Drawer, Dropdown, DropdownListItem, EmptyState, FileUpload, Filter, fontSize, Header, I18nProvider, Icon, Label, LinearProgressBar, lineHeight, Link, List, Loader, Menu, MenuItem, Message, Modal, ModalContent, ModalActions, ModalForm, Navigation, NavigationItem, Notifications, NotificationCard, NumberField, PageLayout, Pagination, Popover, PopoverTrigger, Radio, RouterProvider, SearchBar, SegmentedControl, SegmentedControlButton, SegmentedControlList, SegmentedControlPanel, Select, SelectItem, Skeleton, Slider, Stepper, Step, Switch, Tab, TabList, TabPanel, Tabs, Tag, TextInput, TimeField, Timeline, toast, Toaster, ToggleButton, ToggleButtonGroup, Tooltip, TooltipTrigger, tokens, YearMonthPicker, };
75
76
  export type { TypeTableColumnWithFilter };
@@ -1,3 +1,5 @@
1
- export declare const CoreTextInput: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react-aria-components').InputProps & import('react').RefAttributes<HTMLInputElement>, {
1
+ export declare const CoreTextInput: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react-aria-components').InputProps & import('react').RefAttributes<HTMLInputElement>, "hasIcon"> & {
2
2
  hasIcon: boolean;
3
- }>> & string & Omit<(props: import('react-aria-components').InputProps & React.RefAttributes<HTMLInputElement>) => React.ReactElement | null, keyof import('react').Component<any, {}, any>>;
3
+ }, never> & Partial<Pick<import('styled-components').FastOmit<import('react-aria-components').InputProps & import('react').RefAttributes<HTMLInputElement>, "hasIcon"> & {
4
+ hasIcon: boolean;
5
+ }, never>>> & string & Omit<(props: import('react-aria-components').InputProps & React.RefAttributes<HTMLInputElement>) => React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | null, keyof import('react').Component<any, {}, any>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agregio-solutions/design-system",
3
- "version": "1.89.5",
3
+ "version": "1.90.1",
4
4
  "description": "React Component library and Storybook that is part of the Design System for Agregio Solutions",
5
5
  "type": "module",
6
6
  "module": "dist/design-system.js",
@@ -40,59 +40,59 @@
40
40
  "devDependencies": {
41
41
  "@emotion/react": "11.14.0",
42
42
  "@emotion/styled": "11.14.1",
43
- "@eslint/compat": "2.0.4",
43
+ "@eslint/compat": "2.0.5",
44
44
  "@eslint/js": "9.39.4",
45
45
  "@mui/material": "5.18.0",
46
46
  "@semantic-release/gitlab": "13.3.2",
47
47
  "@semantic-release/npm": "13.1.5",
48
- "@storybook/addon-a11y": "10.3.4",
49
- "@storybook/addon-docs": "10.3.4",
50
- "@storybook/addon-links": "10.3.4",
51
- "@storybook/addon-vitest": "10.3.4",
52
- "@storybook/react-vite": "10.3.4",
53
- "@tanstack/react-query": "5.99.0",
48
+ "@storybook/addon-a11y": "10.3.5",
49
+ "@storybook/addon-docs": "10.3.5",
50
+ "@storybook/addon-links": "10.3.5",
51
+ "@storybook/addon-vitest": "10.3.5",
52
+ "@storybook/react-vite": "10.3.5",
53
+ "@tanstack/react-query": "5.100.5",
54
54
  "@tanstack/react-table": "8.21.3",
55
55
  "@types/lodash": "4.17.24",
56
56
  "@types/node": "24.12.2",
57
57
  "@types/react": "19.2.14",
58
58
  "@types/react-dom": "19.2.3",
59
- "@vitejs/plugin-react": "5.1.4",
60
- "@vitest/browser": "4.1.2",
61
- "@vitest/browser-playwright": "4.1.2",
62
- "chromatic": "16.1.0",
59
+ "@vitejs/plugin-react": "5.2.0",
60
+ "@vitest/browser": "4.1.5",
61
+ "@vitest/browser-playwright": "4.1.5",
62
+ "chromatic": "16.6.0",
63
63
  "conventional-changelog-conventionalcommits": "9.3.1",
64
64
  "eslint-config-prettier": "10.1.8",
65
65
  "eslint-plugin-jest-dom": "5.5.0",
66
66
  "eslint-plugin-react": "7.37.5",
67
- "eslint-plugin-react-hooks": "7.0.1",
68
- "eslint-plugin-storybook": "10.3.4",
67
+ "eslint-plugin-react-hooks": "7.1.1",
68
+ "eslint-plugin-storybook": "10.3.5",
69
69
  "husky": "9.1.7",
70
70
  "jest": "30.3.0",
71
71
  "lint-staged": "16.4.0",
72
72
  "lodash": "4.18.1",
73
73
  "mockdate": "3.0.5",
74
74
  "playwright": "1.59.1",
75
- "prettier": "3.8.2",
76
- "react": "19.2.4",
77
- "react-dom": "19.2.4",
78
- "react-hook-form": "7.72.1",
79
- "react-router-dom": "7.14.1",
75
+ "prettier": "3.8.3",
76
+ "react": "19.2.5",
77
+ "react-dom": "19.2.5",
78
+ "react-hook-form": "7.74.0",
79
+ "react-router-dom": "7.14.2",
80
80
  "recharts": "3.8.1",
81
81
  "remark-gfm": "4.0.1",
82
- "repomix": "1.13.1",
82
+ "repomix": "1.14.0",
83
83
  "semantic-release": "25.0.3",
84
- "storybook": "10.3.4",
85
- "typescript-eslint": "8.58.0",
84
+ "storybook": "10.3.5",
85
+ "typescript-eslint": "8.59.0",
86
86
  "vite-plugin-dts": "4.5.4",
87
- "vitest": "4.1.2"
87
+ "vitest": "4.1.5"
88
88
  },
89
89
  "dependencies": {
90
- "@react-aria/optimize-locales-plugin": "1.1.5",
90
+ "@react-aria/optimize-locales-plugin": "1.2.0",
91
91
  "clsx": "2.1.1",
92
92
  "normalize.css": "8.0.1",
93
- "react-aria-components": "1.16.0",
93
+ "react-aria-components": "1.17.0",
94
94
  "sonner": "2.0.7",
95
- "styled-components": "6.3.12",
95
+ "styled-components": "6.4.1",
96
96
  "vite": "7.3.2",
97
97
  "vite-tsconfig-paths": "6.1.1"
98
98
  },