@agregio-solutions/design-system 1.90.1 → 1.92.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 (68) hide show
  1. package/dist/design-system.cjs +9 -5
  2. package/dist/design-system.js +14 -6
  3. package/dist/packages/components/Accordion/doc.md +342 -0
  4. package/dist/packages/components/Badge/doc.md +192 -0
  5. package/dist/packages/components/Breadcrumbs/doc.md +332 -0
  6. package/dist/packages/components/Button/doc.md +425 -0
  7. package/dist/packages/components/Calendar/doc.md +465 -0
  8. package/dist/packages/components/ChartLegend/doc.md +151 -0
  9. package/dist/packages/components/ChartTooltip/doc.md +124 -0
  10. package/dist/packages/components/Checkbox/doc.md +329 -0
  11. package/dist/packages/components/CheckboxGroup/doc.md +242 -0
  12. package/dist/packages/components/Chip/doc.md +99 -0
  13. package/dist/packages/components/Combobox/Combobox.d.ts +8 -0
  14. package/dist/packages/components/Combobox/doc.md +680 -0
  15. package/dist/packages/components/DataTable/doc.md +1124 -0
  16. package/dist/packages/components/DatePicker/doc.md +579 -0
  17. package/dist/packages/components/DateRangePicker/doc.md +638 -0
  18. package/dist/packages/components/Drawer/doc.md +338 -0
  19. package/dist/packages/components/Dropdown/Dropdown.d.ts +4 -0
  20. package/dist/packages/components/Dropdown/doc.md +205 -0
  21. package/dist/packages/components/EmptyState/doc.md +101 -0
  22. package/dist/packages/components/FileUpload/doc.md +449 -0
  23. package/dist/packages/components/Filter/doc.md +196 -0
  24. package/dist/packages/components/Header/doc.md +373 -0
  25. package/dist/packages/components/I18nProvider/doc.md +187 -0
  26. package/dist/packages/components/Icon/doc.md +63 -0
  27. package/dist/packages/components/Label/doc.md +60 -0
  28. package/dist/packages/components/LinearProgressBar/doc.md +148 -0
  29. package/dist/packages/components/Link/doc.md +206 -0
  30. package/dist/packages/components/List/doc.md +481 -0
  31. package/dist/packages/components/Loader/doc.md +53 -0
  32. package/dist/packages/components/Menu/Menu.d.ts +5 -1
  33. package/dist/packages/components/Menu/doc.md +231 -0
  34. package/dist/packages/components/Message/doc.md +166 -0
  35. package/dist/packages/components/Modal/doc.md +289 -0
  36. package/dist/packages/components/Navigation/doc.md +992 -0
  37. package/dist/packages/components/NavigationItem/doc.md +167 -0
  38. package/dist/packages/components/NotificationCard/doc.md +206 -0
  39. package/dist/packages/components/Notifications/doc.md +240 -0
  40. package/dist/packages/components/NumberField/doc.md +582 -0
  41. package/dist/packages/components/PageLayout/doc.md +651 -0
  42. package/dist/packages/components/Pagination/doc.md +227 -0
  43. package/dist/packages/components/Popover/doc.md +245 -0
  44. package/dist/packages/components/Radio/doc.md +370 -0
  45. package/dist/packages/components/RouterProvider/doc.md +64 -0
  46. package/dist/packages/components/SearchBar/doc.md +504 -0
  47. package/dist/packages/components/SegmentedControl/doc.md +398 -0
  48. package/dist/packages/components/Select/Select.d.ts +4 -0
  49. package/dist/packages/components/Select/doc.md +1133 -0
  50. package/dist/packages/components/Skeleton/doc.md +129 -0
  51. package/dist/packages/components/Slider/doc.md +362 -0
  52. package/dist/packages/components/Stepper/doc.md +104 -0
  53. package/dist/packages/components/Switch/doc.md +296 -0
  54. package/dist/packages/components/Tabs/doc.md +295 -0
  55. package/dist/packages/components/Tag/doc.md +81 -0
  56. package/dist/packages/components/TextInput/doc.md +490 -0
  57. package/dist/packages/components/TimeField/doc.md +353 -0
  58. package/dist/packages/components/Timeline/doc.md +1046 -0
  59. package/dist/packages/components/Toaster/doc.md +263 -0
  60. package/dist/packages/components/ToggleButton/doc.md +108 -0
  61. package/dist/packages/components/ToggleButtonGroup/doc.md +307 -0
  62. package/dist/packages/components/Tooltip/doc.md +206 -0
  63. package/dist/packages/components/YearMonthPicker/YearMonthPicker.d.ts +8 -0
  64. package/dist/packages/components/YearMonthPicker/doc.md +638 -0
  65. package/dist/public_docs/components.md +68 -0
  66. package/dist/public_docs/index.md +30 -0
  67. package/dist/public_docs/tokens.md +121 -0
  68. package/package.json +3 -2
@@ -0,0 +1,68 @@
1
+ ---
2
+ title: Exhaustive list of all the Design System Components and their props
3
+ ---
4
+
5
+ # Exhaustive list of all the Design System Components and their props
6
+
7
+ - [Accordion](node_modules/@agregio-solutions/design-system/dist/packages/components/Accordion/doc.md) : A collapsible disclosure panel with a titled header (optional left/right slots, description, and nature-based background) — use it to progressively reveal secondary content that would otherwise clutter the page, letting users expand sections only when needed.
8
+ - [Badge](node_modules/@agregio-solutions/design-system/dist/packages/components/Badge/doc.md) : A small notification indicator displaying a numeric value or dot badge on an element, optionally with a maximum value threshold — use it to draw attention to counts, unread messages, or status indicators.
9
+ - [Breadcrumbs](node_modules/@agregio-solutions/design-system/dist/packages/components/Breadcrumbs/doc.md) : A hierarchical navigation path showing the current location in a site structure with collapsible middle items for long paths — use it to help users understand where they are and navigate back to parent sections.
10
+ - [Button](node_modules/@agregio-solutions/design-system/dist/packages/components/Button/doc.md) : An interactive clickable element supporting multiple modes (primary, secondary, tertiary), sizes, and optional icons/badges — use it for form submissions, actions, navigation, or triggering dialogs.
11
+ - [Calendar](node_modules/@agregio-solutions/design-system/dist/packages/components/Calendar/doc.md) : A date picker supporting single selection, date ranges, or multiple selections with customizable constraints and cell rendering — use it to let users visually select one or more dates within an optional date range.
12
+ - [ChartLegend](node_modules/@agregio-solutions/design-system/dist/packages/components/ChartLegend/doc.md) : A labeled color bullet (circle, square, or custom shape) optionally clickable to toggle chart series — use it to identify and optionally filter data series in charts.
13
+ - [ChartTooltip](node_modules/@agregio-solutions/design-system/dist/packages/components/ChartTooltip/doc.md) : A structured tooltip with title, colored legend items, optional body section, and footer slot for displaying chart data details — use it to show detailed context when hovering over chart elements.
14
+ - [Checkbox](node_modules/@agregio-solutions/design-system/dist/packages/components/Checkbox/doc.md) : A single checkbox input with optional label, supporting indeterminate state and form submissions — use it for binary on/off selections or as part of a CheckboxGroup for multiple options.
15
+ - [CheckboxGroup](node_modules/@agregio-solutions/design-system/dist/packages/components/CheckboxGroup/doc.md) : A container managing multiple checkbox inputs as a controlled group with selection synchronization — use it when you need to track which checkboxes are selected as a unified value.
16
+ - [Chip](node_modules/@agregio-solutions/design-system/dist/packages/components/Chip/doc.md) : A compact dismissible tag displaying text with optional size variants and close button — use it to display selectable or removable items in a compact format.
17
+ - [Combobox](node_modules/@agregio-solutions/design-system/dist/packages/components/Combobox/doc.md) : A searchable dropdown with optional label, helper text, single or multiple selection modes, and automatic filtering — use it for large lists where users need to search for and select one or more values.
18
+ - [DataTable](node_modules/@agregio-solutions/design-system/dist/packages/components/DataTable/doc.md) : A tabular component powered by react-table with pagination, optional row expansion, and filtering integration — use it to display, sort, filter, and paginate structured data sets.
19
+ - [DatePicker](node_modules/@agregio-solutions/design-system/dist/packages/components/DatePicker/doc.md) : A date input field with an optional popover calendar, timezone support, and time granularity options — use it to let users select a single date or date-time with optional time zone awareness.
20
+ - [DateRangePicker](node_modules/@agregio-solutions/design-system/dist/packages/components/DateRangePicker/doc.md) : A range date picker with two segmented date inputs and a popover calendar for selecting start and end dates — use it to let users select a contiguous date range with optional time support.
21
+ - [Drawer](node_modules/@agregio-solutions/design-system/dist/packages/components/Drawer/doc.md) : A side panel sliding in from the edge with a title, optional actions footer, and dismissible overlay — use it for secondary tasks or detailed forms that don't require a full modal width.
22
+ - [Dropdown](node_modules/@agregio-solutions/design-system/dist/packages/components/Dropdown/doc.md) : A low-level menu container for displaying a list of items with optional tall variant — use it as a building block for Menu or Select components to display options.
23
+ - [EmptyState](node_modules/@agregio-solutions/design-system/dist/packages/components/EmptyState/doc.md) : A centered placeholder with optional icon, title, description, and action buttons for vacant content areas — use it to guide users when a list, table, or section has no data.
24
+ - [ErrorBoundary](node_modules/@agregio-solutions/design-system/dist/packages/components/ErrorBoundary/doc.md) : A React component wrapper that catches JavaScript errors in child components and displays an error fallback — use it to prevent child component errors from crashing the entire application.
25
+ - [FileUpload](node_modules/@agregio-solutions/design-system/dist/packages/components/FileUpload/doc.md) : A drag-and-drop file input with optional multi-file support, file type validation, and file list display — use it to let users upload single or multiple files with visual feedback.
26
+ - [Filter](node_modules/@agregio-solutions/design-system/dist/packages/components/Filter/doc.md) : A toolbar with search input, action buttons, and a drawer for column-based filters with automatic chip display — use it to provide global search and column-level filtering UI for tables.
27
+ - [FormGroupHelper](node_modules/@agregio-solutions/design-system/dist/packages/components/FormGroupHelper/doc.md) : A helper text or description display component for form fields with icon support and nature-based styling — use it to show validation errors, hints, or success messages below form inputs.
28
+ - [FormGroupWrapper](node_modules/@agregio-solutions/design-system/dist/packages/components/FormGroupWrapper/doc.md) : A container component wrapping form fields with integrated label, helper text, description, and nature-based styling — use it to standardize form field layout and validation state presentation.
29
+ - [Header](node_modules/@agregio-solutions/design-system/dist/packages/components/Header/doc.md) : A page header with title, optional breadcrumbs, subtitle, tags, helper/notification icons, and bottom tab slot — use it to establish page context, provide navigation breadcrumbs, and display page-level actions.
30
+ - [I18nProvider](node_modules/@agregio-solutions/design-system/dist/packages/components/I18nProvider/doc.md) : A provider component that sets up internationalization context for the design system using language strings — use it at the root of your app to enable multi-language support.
31
+ - [Icon](node_modules/@agregio-solutions/design-system/dist/packages/components/Icon/doc.md) : A component rendering named SVG icons from the design system's icon library with style and class support — use it to include semantic or decorative icons throughout your UI.
32
+ - [Label](node_modules/@agregio-solutions/design-system/dist/packages/components/Label/doc.md) : A form label component with optional required asterisk, right-aligned icon with tooltip, and className support — use it to associate text labels with form inputs for accessibility and layout.
33
+ - [LinearProgressBar](node_modules/@agregio-solutions/design-system/dist/packages/components/LinearProgressBar/doc.md) : A horizontal progress indicator showing a percentage with optional title, description, and status icon — use it to visualize progress toward completion or status of an operation.
34
+ - [Link](node_modules/@agregio-solutions/design-system/dist/packages/components/Link/doc.md) : A navigation link element supporting color variants, optional link icon, and router integration — use it for in-app navigation or external links with consistent styling.
35
+ - [List](node_modules/@agregio-solutions/design-system/dist/packages/components/List/doc.md) : A grouped list component with optional headers, item icons, tags, actions, and empty state handling — use it to display structured collections of related items with optional interactions.
36
+ - [Loader](node_modules/@agregio-solutions/design-system/dist/packages/components/Loader/doc.md) : A spinning loader animation in small, medium, or large sizes — use it to indicate loading or processing state during async operations.
37
+ - [Menu](node_modules/@agregio-solutions/design-system/dist/packages/components/Menu/doc.md) : A button-triggered dropdown menu with customizable positioning and optional tall variant — use it for action menus tied to a button trigger.
38
+ - [MenuItem](node_modules/@agregio-solutions/design-system/dist/packages/components/MenuItem/doc.md) : A menu option within a Menu component supporting icons, href navigation, and disabled state — use it as a child of Menu to define individual selectable actions.
39
+ - [Message](node_modules/@agregio-solutions/design-system/dist/packages/components/Message/doc.md) : An alert container displaying a message with optional title, colored nature, action buttons, and close button — use it to communicate important information, warnings, or errors to users.
40
+ - [Modal](node_modules/@agregio-solutions/design-system/dist/packages/components/Modal/doc.md) : A centered dialog overlay with customizable width, title, and optional dismissible behavior — use it for focused tasks or important confirmations that need full user attention.
41
+ - [Navigation](node_modules/@agregio-solutions/design-system/dist/packages/components/Navigation/doc.md) : A collapsible sidebar navigation with logo, collapsible items with nested sub-links, and footer actions — use it as the main navigation sidebar for app layouts.
42
+ - [NavigationItem](node_modules/@agregio-solutions/design-system/dist/packages/components/NavigationItem/doc.md) : A navigation link or dropdown item within Navigation with icon, label, sub-links, and active state — use it to define navigation options in the Navigation component.
43
+ - [NotificationCard](node_modules/@agregio-solutions/design-system/dist/packages/components/NotificationCard/doc.md) : A notification item displaying title, description, timestamp, optional avatar/icon, and action menu — use it as a child of Notifications to show individual notification entries.
44
+ - [Notifications](node_modules/@agregio-solutions/design-system/dist/packages/components/Notifications/doc.md) : A popover panel triggered by a button showing notification cards with count badge and footer actions — use it to display a notification center or message inbox.
45
+ - [NumberField](node_modules/@agregio-solutions/design-system/dist/packages/components/NumberField/doc.md) : A numeric input field with optional stepper buttons, formatting options, and display-only variant — use it for controlled numeric value input with increment/decrement controls.
46
+ - [PageLayout](node_modules/@agregio-solutions/design-system/dist/packages/components/PageLayout/doc.md) : A two-column layout wrapper combining collapsible Navigation and main content area — use it as the root structure for pages with sidebar navigation.
47
+ - [Pagination](node_modules/@agregio-solutions/design-system/dist/packages/components/Pagination/doc.md) : A pagination control with items-per-page selector, page range display, and navigation buttons — use it to paginate large tables or lists with user-controlled page size.
48
+ - [Popover](node_modules/@agregio-solutions/design-system/dist/packages/components/Popover/doc.md) : A positioned overlay panel with title, close button, optional arrow, and dismissible behavior — use it to display supplementary content near a trigger element.
49
+ - [Radio](node_modules/@agregio-solutions/design-system/dist/packages/components/Radio/doc.md) : A single radio button input with optional label positioned left or right — use it as part of a radio group for mutually exclusive single-selection options.
50
+ - [RouterProvider](node_modules/@agregio-solutions/design-system/dist/packages/components/RouterProvider/doc.md) : A provider component configuring client-side router behavior for links and navigation — use it at the app root to integrate your router with design system link components.
51
+ - [SearchBar](node_modules/@agregio-solutions/design-system/dist/packages/components/SearchBar/doc.md) : A full-screen search modal with keyboard shortcut support (Cmd+K), results count, and legend — use it to provide a prominent search interface with keyboard accessibility.
52
+ - [SegmentedControl](node_modules/@agregio-solutions/design-system/dist/packages/components/SegmentedControl/doc.md) : A tab-like toggle button group with single or multiple selection modes and optional label — use it as a lightweight alternative to tabs for switching between related content views.
53
+ - [Select](node_modules/@agregio-solutions/design-system/dist/packages/components/Select/doc.md) : A dropdown selector supporting single or multiple selection with optional label, helper text, and filtering — use it to let users choose one or more values from a list.
54
+ - [SelectItem](node_modules/@agregio-solutions/design-system/dist/packages/components/SelectItem/doc.md) : A list item option within Select, Combobox, or other selection components with icons and href support — use it as a child to define individual selectable options.
55
+ - [Skeleton](node_modules/@agregio-solutions/design-system/dist/packages/components/Skeleton/doc.md) : A placeholder shimmer component in text, rectangular, circular, or rounded variants — use it to represent content loading skeletons while data is being fetched.
56
+ - [Slider](node_modules/@agregio-solutions/design-system/dist/packages/components/Slider/doc.md) : A range or single-value slider with optional input boxes, track dots, and validation feedback — use it for selecting numeric ranges or single values with visual interaction.
57
+ - [Stepper](node_modules/@agregio-solutions/design-system/dist/packages/components/Stepper/doc.md) : A horizontal or vertical step indicator showing progress through a multi-step process — use it to display the current step in a wizard or multi-step form flow.
58
+ - [Switch](node_modules/@agregio-solutions/design-system/dist/packages/components/Switch/doc.md) : A toggle switch input with optional label and customizable size — use it for binary on/off state selections in forms or settings.
59
+ - [Tabs](node_modules/@agregio-solutions/design-system/dist/packages/components/Tabs/doc.md) : A tabbed interface with tab list and panels for organizing content into selectable sections — use it to group related content into separate panels accessed by clicking tabs.
60
+ - [Tag](node_modules/@agregio-solutions/design-system/dist/packages/components/Tag/doc.md) : A small colored label with optional left icon, supporting different nature/semantic colors — use it to categorize, label, or mark content with semantic meaning.
61
+ - [TextInput](node_modules/@agregio-solutions/design-system/dist/packages/components/TextInput/doc.md) : A text input field (or textarea) with optional label, icon, character counter, and helper text — use it for single-line or multi-line text entry with validation feedback.
62
+ - [TimeField](node_modules/@agregio-solutions/design-system/dist/packages/components/TimeField/doc.md) : A time input field with segmented controls for hours/minutes/seconds and optional 12/24 format — use it to let users input or edit a specific time of day.
63
+ - [Timeline](node_modules/@agregio-solutions/design-system/dist/packages/components/Timeline/doc.md) : A horizontal or vertical timeline displaying blocks representing events or periods on a time axis — use it to visualize events, activities, or states across a time range.
64
+ - [Toaster](node_modules/@agregio-solutions/design-system/dist/packages/components/Toaster/doc.md) : A toast notification container positioning and managing multiple toast messages with auto-dismiss — use it to display temporary success, error, info, or warning notifications.
65
+ - [ToggleButton](node_modules/@agregio-solutions/design-system/dist/packages/components/ToggleButton/doc.md) : A button that toggles between selected/unselected states, optionally with icon and tooltip — use it as a child of ToggleButtonGroup for button-like toggles.
66
+ - [ToggleButtonGroup](node_modules/@agregio-solutions/design-system/dist/packages/components/ToggleButtonGroup/doc.md) : A group of toggle buttons supporting single or multiple selection with optional label — use it for toggling between multiple options with button styling.
67
+ - [Tooltip](node_modules/@agregio-solutions/design-system/dist/packages/components/Tooltip/doc.md) : A small popup label appearing on hover or focus with optional arrow and customizable placement — use it to display brief contextual help text or descriptions on interactive elements.
68
+ - [YearMonthPicker](node_modules/@agregio-solutions/design-system/dist/packages/components/YearMonthPicker/doc.md) : A picker for selecting year, month, or both with separate dropdown lists and optional icon — use it to let users select a specific month/year combination for date-based filters or settings.
@@ -0,0 +1,30 @@
1
+ ---
2
+ title: Agregio Solutions Design System Documentation
3
+ description: Welcome to the Agregio Solutions Design System Documentation.
4
+ ---
5
+
6
+ Welcome to the Agregio Solutions Design System Documentation!
7
+
8
+ ## What is the Agregio Solutions Design System?
9
+
10
+ The Agregio Solutions Design System is a collection of reusable components and patterns for building web applications. It is built with React, React Aria Components, styled-components, Vite, Storybook and TypeScript.
11
+
12
+ ## How to use the docs
13
+
14
+ The docs are organized into 2 sections:
15
+
16
+ - [Components](./components.md): list of all the components available in the design system, + their props, example usage and how to test them.
17
+ - [Tokens](./tokens.md): list of all the tokens available in the design system and examples of how to use them.
18
+
19
+ ## Important rules to follow
20
+
21
+ Check the [Components](./components.md) each time you:
22
+
23
+ - need to create a new component
24
+ - write code from a Figma file (it is highly possible that components with the same name are already available in the design system)
25
+ - need to update an existing implementation of a Design System Component
26
+ - need to write of update tests for a Design System Component
27
+ - need to check the available props or developer notes for a Design System Component
28
+
29
+ Check the [Tokens](./tokens.md) each time you want to use CSS values like spacing, colors, typography, etc.
30
+ It contains the complete list of all the tokens available in the design system and examples of how to use them as well as the rules to follow to use them correctly.
@@ -0,0 +1,121 @@
1
+ # Design tokens
2
+
3
+ The design system exposes its tokens (colors, spacing, radius, stroke, typography sizes, z-index) as CSS custom properties on the `:root` selector. The stylesheet is imported once at the root of your application and any token can be referenced via `var(--token-name)` in your styles.
4
+
5
+ The full list of available CSS variables is reproduced below.
6
+
7
+ ```css
8
+ :root {
9
+ --color-content-action-action: #0059ff;
10
+ --color-content-action-action-darker: #0e275d;
11
+ --color-content-action-action-lighter: #edf8ff;
12
+ --color-content-neutral-primary: #001a70;
13
+ --color-content-neutral-primary-reversed: #ffffff;
14
+ --color-content-neutral-secondary: #454545;
15
+ --color-content-neutral-tertiary: #b0b0b0;
16
+ --color-content-neutral-stroke: #e7e7e7;
17
+ --color-content-brand-brand-1: #001a70;
18
+ --color-content-brand-brand-2: #3f6eff;
19
+ --color-content-brand-brand-3: #769fff;
20
+ --color-content-brand-brand-4: #326a21;
21
+ --color-content-brand-brand-5: #4f9e30;
22
+ --color-content-brand-brand-6: #76c853;
23
+ --color-content-brand-brand-7: #c62608;
24
+ --color-content-brand-brand-8: #fe5716;
25
+ --color-content-brand-brand-9: #ff7838;
26
+ --color-content-message-informative: #009fd4;
27
+ --color-content-message-informative-darker: #007fab;
28
+ --color-content-message-informative-darkest: #065874;
29
+ --color-content-message-informative-lighter: #effbff;
30
+ --color-content-message-negative: #ed1515;
31
+ --color-content-message-negative-darker: #c80d0d;
32
+ --color-content-message-negative-darkest: #881414;
33
+ --color-content-message-negative-lighter: #fff1f1;
34
+ --color-content-message-positive: #00c027;
35
+ --color-content-message-positive-darker: #067520;
36
+ --color-content-message-positive-darkest: #00370d;
37
+ --color-content-message-positive-lighter: #edfff0;
38
+ --color-content-message-warning: #e27500;
39
+ --color-content-message-warning-darker: #bb5002;
40
+ --color-content-message-warning-darkest: #7c330b;
41
+ --color-content-message-warning-lighter: #fffcea;
42
+ --color-content-dataviz-orange-1: #fff5ed;
43
+ --color-content-dataviz-orange-2: #ffcca8;
44
+ --color-content-dataviz-orange-3: #ff7838;
45
+ --color-content-dataviz-orange-4: #9d210f;
46
+ --color-content-dataviz-brown-1: #fffcea;
47
+ --color-content-dataviz-brown-2: #ffe785;
48
+ --color-content-dataviz-brown-3: #ffc01b;
49
+ --color-content-dataviz-brown-4: #983d08;
50
+ --color-content-dataviz-azure-1: #f1f7ff;
51
+ --color-content-dataviz-azure-2: #cee1ff;
52
+ --color-content-dataviz-azure-3: #769fff;
53
+ --color-content-dataviz-azure-4: #052dd2;
54
+ --color-content-dataviz-ocean-1: #effbff;
55
+ --color-content-dataviz-ocean-2: #b6efff;
56
+ --color-content-dataviz-ocean-3: #2cd9ff;
57
+ --color-content-dataviz-ocean-4: #006b8d;
58
+ --color-content-dataviz-purple-1: #f9f5ff;
59
+ --color-content-dataviz-purple-2: #e4d4ff;
60
+ --color-content-dataviz-purple-3: #a56eff;
61
+ --color-content-dataviz-purple-4: #5a1eab;
62
+ --color-content-dataviz-pink-1: #fdf2f7;
63
+ --color-content-dataviz-pink-2: #fbcfe5;
64
+ --color-content-dataviz-pink-3: #f571ae;
65
+ --color-content-dataviz-pink-4: #9e1645;
66
+ --color-content-dataviz-negative-1: #fff1f1;
67
+ --color-content-dataviz-negative-2: #ffc5c5;
68
+ --color-content-dataviz-negative-3: #ff6464;
69
+ --color-content-dataviz-negative-4: #a50f0f;
70
+ --color-content-dataviz-positive-1: #edfff0;
71
+ --color-content-dataviz-positive-2: #aeffc0;
72
+ --color-content-dataviz-positive-3: #00e634;
73
+ --color-content-dataviz-positive-4: #067520;
74
+ --color-content-dataviz-neutral-1: #f6f6f6;
75
+ --color-content-dataviz-neutral-2: #d1d1d1;
76
+ --color-content-dataviz-neutral-3: #888888;
77
+ --color-content-dataviz-neutral-4: #454545;
78
+ --color-background-neutral-overground: #ffffff;
79
+ --color-background-neutral-ground: #ffffff;
80
+ --color-background-neutral-ground-reversed: #0e275d;
81
+ --color-background-neutral-underground-1: #f6f6f6;
82
+ --color-background-neutral-underground-2: #e7e7e7;
83
+ --color-background-highlight-focus: #009fd4;
84
+ --color-background-highlight-focus-reversed: #ffffff;
85
+ --spacing-xxs: 4px;
86
+ --spacing-xs: 8px;
87
+ --spacing-sm: 16px;
88
+ --spacing-md: 24px;
89
+ --spacing-lg: 32px;
90
+ --spacing-xl: 48px;
91
+ --spacing-xxl: 80px;
92
+ --radius-minimal: 2px;
93
+ --radius-rounded: 4px;
94
+ --radius-full: 8px;
95
+ --stroke-default: 1px;
96
+ --stroke-doubled: 2px;
97
+ --text-font-size-3xl: 40px;
98
+ --text-font-size-2xl: 32px;
99
+ --text-font-size-xl: 24px;
100
+ --text-font-size-lg: 20px;
101
+ --text-font-size-md: 16px;
102
+ --text-font-size-sm: 14px;
103
+ --text-font-size-xs: 12px;
104
+ --text-line-height-3xl: 56px;
105
+ --text-line-height-2xl: 40px;
106
+ --text-line-height-xl: 32px;
107
+ --text-line-height-lg: 28px;
108
+ --text-line-height-md: 24px;
109
+ --text-line-height-sm: 20px;
110
+ --text-line-height-xs: 16px;
111
+ --z-index-base: 1;
112
+ --z-index-dropdown: 10;
113
+ --z-index-sticky: 20;
114
+ --z-index-fixed: 30;
115
+ --z-index-modal-backdrop: 40;
116
+ --z-index-off-canvas: 50;
117
+ --z-index-modal: 60;
118
+ --z-index-popover: 70;
119
+ --z-index-tooltip: 80;
120
+ }
121
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agregio-solutions/design-system",
3
- "version": "1.90.1",
3
+ "version": "1.92.0",
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",
@@ -17,9 +17,10 @@
17
17
  "build-storybook": "storybook build",
18
18
  "chromatic": "chromatic",
19
19
  "consumer:smoke-check": "npm run build && node internal/consumer-check.mjs",
20
+ "docs:generate": "node internal/generateComponentDocs.mjs",
20
21
  "eslint": "eslint .",
21
22
  "formatters": "npm run prettier:check && npm run eslint && npm run typescript:check",
22
- "integrity": "npm run formatters && npm run build && npm run vitest:all && npm run storybook:test",
23
+ "integrity": "npm run formatters && npm run build && npm run vitest:all && npm run storybook:test && npm run docs:generate",
23
24
  "jest:compatibility-check": "npm run build && jest internal/test-jest-compatibility.jest.js",
24
25
  "playwright:install": "playwright install --with-deps chromium",
25
26
  "pre-commit": "lint-staged && npm run typescript:check && npm run vitest:only-changed && npm run storybook:test:only-changed",