@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.
- package/dist/_variables.scss +1 -1
- package/dist/_variables_timescale.scss +1 -1
- package/dist/atoms.cjs +109 -94
- package/dist/atoms.mjs +108 -94
- package/dist/src/common/Link/Link.d.ts +3 -0
- package/dist/src/common/Link/Link.js +19 -0
- package/dist/src/common/Popover/Popover.js +2 -2
- package/dist/src/common/index.d.ts +1 -0
- package/dist/src/common/index.js +2 -1
- package/dist/src/components/Avatar/Avatar.js +2 -1
- package/dist/src/components/Badge/Badge.js +2 -1
- package/dist/src/components/Button/Button.js +3 -2
- package/dist/src/components/Checkbox/Checkbox.js +3 -1
- package/dist/src/components/CheckboxGroup/CheckboxGroup.js +2 -1
- package/dist/src/components/Chip/Chip.js +2 -1
- package/dist/src/components/Combobox/Combobox.d.ts +1 -1
- package/dist/src/components/Combobox/Combobox.js +6 -4
- package/dist/src/components/DropdownMenu/DropdownMenu.d.ts +4 -0
- package/dist/src/components/DropdownMenu/DropdownMenu.js +6 -2
- package/dist/src/components/LineClamp/LineClamp.d.ts +22 -0
- package/dist/src/components/LineClamp/LineClamp.js +17 -0
- package/dist/src/components/Link/Link.d.ts +5 -0
- package/dist/src/components/Link/Link.js +4 -0
- package/dist/src/components/MultiInput/MultiInput.d.ts +2 -1
- package/dist/src/components/MultiInput/MultiInput.js +3 -2
- package/dist/src/components/NativeSelect/NativeSelect.js +3 -1
- package/dist/src/components/ProgressBar/ProgressBar.js +4 -2
- package/dist/src/components/RadioButton/RadioButton.js +3 -1
- package/dist/src/components/RadioButtonGroup/RadioButtonGroup.js +2 -1
- package/dist/src/components/Select/Select.js +2 -1
- package/dist/src/components/Stepper/Stepper.js +2 -1
- package/dist/src/components/Switch/Switch.js +3 -1
- package/dist/src/components/SwitchGroup/SwitchGroup.js +2 -1
- package/dist/src/components/Textarea/Textarea.js +3 -1
- package/dist/src/components/Timeline/Timeline.js +2 -1
- package/dist/src/components/index.d.ts +2 -0
- package/dist/src/components/index.js +3 -1
- package/dist/src/utils/constants.d.ts +2 -0
- package/dist/src/utils/constants.js +4 -2
- package/dist/src/utils/form/HelperText/HelperText.js +2 -1
- package/dist/styles.css +58 -16
- package/dist/styles_timescaledb.css +58 -16
- package/dist/system.cjs +397 -323
- package/dist/system.mjs +363 -291
- package/dist/tailwind.config.js +12 -2
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/dist/types/tailwindGenerated.d.ts +1 -1
- package/dist/types/utils.d.ts +3 -0
- package/package.json +2 -1
package/dist/tailwind.config.js
CHANGED
@@ -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: [
|
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 }) => {
|