@drivenets/design-system 0.8.0 → 0.9.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 (59) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/index.cjs +1559 -1074
  3. package/dist/index.d.cts +559 -135
  4. package/dist/index.d.cts.map +1 -1
  5. package/dist/index.d.ts +559 -135
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +1547 -1076
  8. package/dist/index.js.map +1 -1
  9. package/dist/index.min.css +1 -1
  10. package/package.json +12 -11
  11. package/src/components/ds-autocomplete/ds-autocomplete.module.scss +0 -1
  12. package/src/components/ds-button/versions/ds-button-new/ds-button-new.module.scss +25 -9
  13. package/src/components/ds-button/versions/ds-button-new/ds-button-new.tsx +5 -5
  14. package/src/components/ds-button/versions/ds-button-new/ds-button-new.types.ts +11 -1
  15. package/src/components/ds-button/versions/ds-button-new/index.ts +4 -1
  16. package/src/components/ds-button-v3/ds-button-v3.module.scss +391 -0
  17. package/src/components/ds-button-v3/ds-button-v3.tsx +55 -0
  18. package/src/components/ds-button-v3/ds-button-v3.types.ts +49 -0
  19. package/src/components/ds-button-v3/index.ts +2 -0
  20. package/src/components/ds-comments-drawer/components/comments-filter-modal/comments-filter-modal.tsx +1 -1
  21. package/src/components/ds-comments-drawer/ds-comments-drawer.tsx +3 -9
  22. package/src/components/ds-date-picker/ds-date-picker.module.scss +10 -0
  23. package/src/components/ds-date-picker/ds-date-picker.tsx +4 -2
  24. package/src/components/ds-date-range-picker/ds-date-range-picker.tsx +2 -2
  25. package/src/components/ds-drawer/ds-drawer.tsx +6 -9
  26. package/src/components/ds-drawer/ds-drawer.types.ts +4 -2
  27. package/src/components/ds-form-control/ds-form-control.tsx +2 -3
  28. package/src/components/ds-panel/ds-panel.module.scss +4 -1
  29. package/src/components/ds-panel/ds-panel.tsx +8 -3
  30. package/src/components/ds-panel/ds-panel.types.ts +8 -1
  31. package/src/components/ds-panel/index.ts +4 -1
  32. package/src/components/ds-select/ds-select.module.scss +4 -1
  33. package/src/components/ds-split-button/ds-split-button.module.scss +99 -0
  34. package/src/components/ds-split-button/ds-split-button.tsx +49 -0
  35. package/src/components/ds-split-button/ds-split-button.types.ts +25 -0
  36. package/src/components/ds-split-button/index.ts +10 -0
  37. package/src/components/ds-stack/ds-stack.module.scss +4 -0
  38. package/src/components/ds-stack/ds-stack.tsx +35 -0
  39. package/src/components/ds-stack/ds-stack.types.ts +19 -0
  40. package/src/components/ds-stack/index.ts +18 -0
  41. package/src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.tsx +2 -2
  42. package/src/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.module.scss +5 -8
  43. package/src/components/ds-table/ds-table.module.scss +6 -0
  44. package/src/components/ds-table/ds-table.tsx +3 -0
  45. package/src/components/ds-time-picker/ds-time-picker.module.scss +11 -0
  46. package/src/components/ds-time-picker/ds-time-picker.tsx +32 -12
  47. package/src/components/ds-time-picker/ds-time-picker.types.ts +6 -0
  48. package/src/index.ts +4 -0
  49. package/src/styles/_breakpoints.module.scss +5 -0
  50. package/src/styles/_responsive.scss +13 -0
  51. package/src/styles/_variables.scss +2 -0
  52. package/src/styles/shared/_button.scss +2 -0
  53. package/src/styles/shared/_input.scss +3 -40
  54. package/src/utils/responsive.browser.test.ts +94 -0
  55. package/src/utils/responsive.ts +79 -0
  56. package/src/utils/responsive.unit.test.ts +54 -0
  57. package/src/utils/type-utils.ts +1 -0
  58. package/src/utils/use-controlled.browser.test.ts +6 -6
  59. package/src/utils/use-controlled.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @drivenets/design-system
2
2
 
3
+ ## 0.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 30c4bfd: Add `DsStack` layout component
8
+ - 43d78e2: Add `DsSplitButton` component
9
+ - d1e3b36: Add responsive prop support at 1440px breakpoint with CSS-first styling and `useResponsiveValue` hook for JS conditional rendering
10
+ - bbfff67: Add the `DsButtonV3` component
11
+
12
+ ### Patch Changes
13
+
14
+ - dece9c6: fix wrong border color of disabled `DsButtonV3`
15
+ - 4973d40: fix styles of input based components in disabled state
16
+ - 6b4f32a: fix border-color of input based components in disabled state
17
+ - f45a048: Add `width` (responsive), `style` props to DsPanel
18
+ - 6995a02: Align clear button behavior across `DsDatePicker` and `DsTimePicker` components
19
+ - 2ec99f0: fix focus styles of `DsButtonV3`
20
+ - 492b04c: Fix `DsTable` bulk action hides table data
21
+ - 4863637: Update dependencies
22
+ - 22bd508: Make `columns` prop in `DsDrawer` responsive
23
+ - 1676f6d: Improve build process
24
+
3
25
  ## 0.8.0
4
26
 
5
27
  ### Minor Changes