@aivenio/aquarium 1.6.0 → 1.8.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 (49) hide show
  1. package/dist/_variables.scss +1 -1
  2. package/dist/_variables_timescale.scss +1 -1
  3. package/dist/atoms.cjs +109 -94
  4. package/dist/atoms.mjs +108 -94
  5. package/dist/src/common/Link/Link.d.ts +3 -0
  6. package/dist/src/common/Link/Link.js +19 -0
  7. package/dist/src/common/Popover/Popover.js +2 -2
  8. package/dist/src/common/index.d.ts +1 -0
  9. package/dist/src/common/index.js +2 -1
  10. package/dist/src/components/Avatar/Avatar.js +2 -1
  11. package/dist/src/components/Badge/Badge.js +2 -1
  12. package/dist/src/components/Button/Button.js +3 -2
  13. package/dist/src/components/Checkbox/Checkbox.js +3 -1
  14. package/dist/src/components/CheckboxGroup/CheckboxGroup.js +2 -1
  15. package/dist/src/components/Chip/Chip.js +2 -1
  16. package/dist/src/components/Combobox/Combobox.d.ts +1 -1
  17. package/dist/src/components/Combobox/Combobox.js +6 -4
  18. package/dist/src/components/DropdownMenu/DropdownMenu.d.ts +4 -0
  19. package/dist/src/components/DropdownMenu/DropdownMenu.js +6 -2
  20. package/dist/src/components/LineClamp/LineClamp.d.ts +22 -0
  21. package/dist/src/components/LineClamp/LineClamp.js +17 -0
  22. package/dist/src/components/Link/Link.d.ts +5 -0
  23. package/dist/src/components/Link/Link.js +4 -0
  24. package/dist/src/components/MultiInput/MultiInput.d.ts +2 -1
  25. package/dist/src/components/MultiInput/MultiInput.js +3 -2
  26. package/dist/src/components/NativeSelect/NativeSelect.js +3 -1
  27. package/dist/src/components/ProgressBar/ProgressBar.js +4 -2
  28. package/dist/src/components/RadioButton/RadioButton.js +3 -1
  29. package/dist/src/components/RadioButtonGroup/RadioButtonGroup.js +2 -1
  30. package/dist/src/components/Select/Select.js +2 -1
  31. package/dist/src/components/Stepper/Stepper.js +2 -1
  32. package/dist/src/components/Switch/Switch.js +3 -1
  33. package/dist/src/components/SwitchGroup/SwitchGroup.js +2 -1
  34. package/dist/src/components/Textarea/Textarea.js +3 -1
  35. package/dist/src/components/Timeline/Timeline.js +2 -1
  36. package/dist/src/components/index.d.ts +2 -0
  37. package/dist/src/components/index.js +3 -1
  38. package/dist/src/utils/constants.d.ts +2 -0
  39. package/dist/src/utils/constants.js +4 -2
  40. package/dist/src/utils/form/HelperText/HelperText.js +2 -1
  41. package/dist/styles.css +58 -16
  42. package/dist/styles_timescaledb.css +58 -16
  43. package/dist/system.cjs +397 -323
  44. package/dist/system.mjs +363 -291
  45. package/dist/tailwind.config.js +12 -2
  46. package/dist/tsconfig.module.tsbuildinfo +1 -1
  47. package/dist/types/tailwindGenerated.d.ts +1 -1
  48. package/dist/types/utils.d.ts +3 -0
  49. package/package.json +2 -1
@@ -67,7 +67,7 @@ module.exports = {
67
67
  // https://tailwindcss.com/docs/configuring-variants#ordering-variants
68
68
  variants: {
69
69
  backgroundColor: ['odd', 'even', 'hover', 'group-hover', 'active', 'disabled', 'focus'],
70
- textColor: ['hover', 'hover-save', 'active', 'disabled'],
70
+ textColor: ['hover', 'hover-save', 'active', 'disabled', 'visited'],
71
71
  cursor: ['disabled'],
72
72
  borderColor: ['children', 'focus', 'hover', 'hover-save', 'active', 'disabled'],
73
73
  borderWidth: ['focus', 'hover', 'hover-save', 'active', 'disabled'],
@@ -85,9 +85,19 @@ module.exports = {
85
85
  },
86
86
  },
87
87
  content: ['./src/**/*.tsx', './src/**/*.ts'],
88
- safelist: [...theme.typography.sizes.map((s) => s.className), ...Object.keys(theme.colors).map((s) => `text-${s}`)],
88
+ safelist: [
89
+ ...theme.typography.sizes.map((s) => s.className),
90
+ ...Object.keys(theme.colors).map((s) => `text-${s}`),
91
+ 'line-clamp-1',
92
+ 'line-clamp-2',
93
+ 'line-clamp-3',
94
+ 'line-clamp-4',
95
+ 'line-clamp-5',
96
+ 'line-clamp-6',
97
+ ],
89
98
  plugins: [
90
99
  require('tailwindcss-children'),
100
+ require('@tailwindcss/line-clamp'),
91
101
 
92
102
  plugin(({ addVariant, e }) => {
93
103
  addVariant('hover-save', ({ modifySelectors, separator }) => {