@aivenio/aquarium 2.19.0-rc1 → 2.19.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 (83) hide show
  1. package/dist/atoms.cjs +72 -60
  2. package/dist/atoms.mjs +24 -12
  3. package/dist/charts.cjs +8 -16
  4. package/dist/charts.mjs +8 -16
  5. package/dist/src/atoms/DataList/DataList.js +2 -2
  6. package/dist/src/atoms/Table/Table.d.ts +1 -3
  7. package/dist/src/atoms/Table/Table.js +2 -2
  8. package/dist/src/atoms/Typography/Typography.d.ts +2 -2
  9. package/dist/src/atoms/Typography/Typography.js +1 -1
  10. package/dist/src/charts/AreaChart/AreaChart.d.ts +1 -1
  11. package/dist/src/charts/BarChart/BarChart.d.ts +1 -1
  12. package/dist/src/charts/Legend/Legend.js +1 -2
  13. package/dist/src/charts/LineChart/LineChart.d.ts +1 -1
  14. package/dist/src/charts/PieChart/DoughnutChart.d.ts +1 -1
  15. package/dist/src/charts/PieChart/DoughnutChart.js +4 -4
  16. package/dist/src/charts/PieChart/PieChart.d.ts +1 -1
  17. package/dist/src/charts/PieChart/PieChart.js +2 -2
  18. package/dist/src/charts/PieChart/renderPieChildren.d.ts +1 -1
  19. package/dist/src/charts/PieChart/renderPieChildren.js +4 -8
  20. package/dist/src/charts/lib/utils.d.ts +1 -1
  21. package/dist/src/charts/lib/utils.js +2 -5
  22. package/dist/src/icons/creditMemo.d.ts +9 -0
  23. package/dist/src/icons/creditMemo.js +11 -0
  24. package/dist/src/icons/index.d.ts +1 -0
  25. package/dist/src/icons/index.js +2 -1
  26. package/dist/src/molecules/Accordion/Accordion.js +3 -7
  27. package/dist/src/molecules/Avatar/Avatar.js +2 -2
  28. package/dist/src/molecules/Box/Box.d.ts +2 -2
  29. package/dist/src/molecules/Box/Box.js +1 -1
  30. package/dist/src/molecules/Button/Button.d.ts +9 -19
  31. package/dist/src/molecules/Button/Button.js +2 -2
  32. package/dist/src/molecules/Card/CardInputWrapper.d.ts +2 -2
  33. package/dist/src/molecules/Card/CardInputWrapper.js +2 -2
  34. package/dist/src/molecules/Context/Context.d.ts +1 -1
  35. package/dist/src/molecules/Context/Context.js +1 -1
  36. package/dist/src/molecules/DataList/DataListComponents.d.ts +4 -4
  37. package/dist/src/molecules/DataList/DataListComponents.js +1 -1
  38. package/dist/src/molecules/DataList/DataListGroup.d.ts +1 -1
  39. package/dist/src/molecules/DataList/DataListGroup.js +1 -1
  40. package/dist/src/molecules/Dropdown/Dropdown.js +1 -1
  41. package/dist/src/molecules/Element/Element.d.ts +1 -1
  42. package/dist/src/molecules/Flexbox/Flexbox.d.ts +2 -2
  43. package/dist/src/molecules/Flexbox/FlexboxItem.d.ts +2 -2
  44. package/dist/src/molecules/Grid/Grid.d.ts +2 -2
  45. package/dist/src/molecules/Grid/GridItem.d.ts +2 -2
  46. package/dist/src/molecules/Link/Link.d.ts +1 -2
  47. package/dist/src/molecules/List/List.d.ts +1 -1
  48. package/dist/src/molecules/List/List.js +1 -1
  49. package/dist/src/molecules/ListItem/ListItem.d.ts +1 -2
  50. package/dist/src/molecules/ListItem/ListItem.js +1 -1
  51. package/dist/src/molecules/Popover/Popover.d.ts +1 -1
  52. package/dist/src/molecules/Popover/Popover.js +2 -2
  53. package/dist/src/molecules/Popover/PopoverOverlay.d.ts +2 -2
  54. package/dist/src/molecules/Popover/PopoverOverlay.js +1 -1
  55. package/dist/src/molecules/PopoverDialog/PopoverDialog.js +2 -6
  56. package/dist/src/molecules/Portal/Portal.d.ts +1 -1
  57. package/dist/src/molecules/Section/Section.js +3 -7
  58. package/dist/src/molecules/SegmentedControl/SegmentedControl.d.ts +2 -2
  59. package/dist/src/molecules/SegmentedControl/SegmentedControl.js +1 -1
  60. package/dist/src/molecules/Select/Select.js +1 -1
  61. package/dist/src/molecules/Tailwindify/Tailwindify.d.ts +1 -1
  62. package/dist/src/molecules/Tailwindify/Tailwindify.js +1 -1
  63. package/dist/src/molecules/Toast/Toast.spec.d.ts +1 -0
  64. package/dist/src/molecules/Toast/Toast.spec.js +42 -0
  65. package/dist/src/molecules/Tooltip/useTooltipTriggerState.js +2 -2
  66. package/dist/src/molecules/Transition/Transition.js +3 -8
  67. package/dist/src/utils/breakpoints.js +2 -4
  68. package/dist/src/utils/positioner.js +2 -2
  69. package/dist/src/utils/stickyStyles.d.ts +2 -2
  70. package/dist/src/utils/stickyStyles.js +2 -2
  71. package/dist/src/utils/table/types.js +2 -2
  72. package/dist/src/utils/table/useScrollTarget.d.ts +1 -1
  73. package/dist/src/utils/table/useScrollTarget.js +1 -1
  74. package/dist/src/utils/table/utils.js +2 -2
  75. package/dist/src/utils/useInView.d.ts +1 -1
  76. package/dist/src/utils/useInView.js +1 -1
  77. package/dist/src/utils/useMeasure.d.ts +1 -1
  78. package/dist/src/utils/useStyle.js +2 -4
  79. package/dist/src/utils/useWindowSize.js +2 -3
  80. package/dist/system.cjs +217 -227
  81. package/dist/system.mjs +65 -75
  82. package/dist/tsconfig.module.tsbuildinfo +1 -1
  83. package/package.json +27 -37
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aivenio/aquarium",
3
- "version": "2.19.0-rc1",
3
+ "version": "2.19.0",
4
4
  "description": "Aiven Aquarium design system",
5
5
  "main": "dist/system.cjs",
6
6
  "module": "dist/system.mjs",
@@ -91,44 +91,40 @@
91
91
  "devDependencies": {
92
92
  "@actions/core": "^1.11.1",
93
93
  "@aitodotai/json-stringify-pretty-compact": "^1.3.0",
94
- "@aivenio/eslint-config-aiven": "^7.7.0",
94
+ "@aivenio/eslint-config-aiven": "^7.6.0",
95
95
  "@babel/core": "^7.26.10",
96
96
  "@babel/preset-env": "^7.26.9",
97
97
  "@babel/preset-react": "^7.26.3",
98
98
  "@babel/preset-typescript": "^7.26.0",
99
- "@chromatic-com/storybook": "^3.2.6",
100
99
  "@faker-js/faker": "^8.4.1",
101
- "@iconify/tools": "^2.0.17",
100
+ "@iconify/tools": "^2.0.14",
102
101
  "@mdx-js/mdx": "^3.1.0",
103
- "@storybook/addon-a11y": "^8.6.7",
104
- "@storybook/addon-docs": "^8.6.7",
105
- "@storybook/addon-essentials": "^8.6.7",
106
- "@storybook/addon-interactions": "^8.6.7",
107
- "@storybook/addon-links": "^8.6.7",
108
- "@storybook/addon-mdx-gfm": "^8.6.7",
102
+ "@storybook/addon-a11y": "^7.6.20",
103
+ "@storybook/addon-essentials": "^7.6.20",
104
+ "@storybook/addon-interactions": "^7.6.20",
105
+ "@storybook/addon-links": "^7.6.20",
106
+ "@storybook/addon-mdx-gfm": "^7.6.20",
109
107
  "@storybook/addon-styling-webpack": "^1.0.1",
110
- "@storybook/addon-toolbars": "^8.6.7",
111
- "@storybook/addon-webpack5-compiler-babel": "^3.0.5",
112
- "@storybook/blocks": "^8.6.7",
113
- "@storybook/manager-api": "^8.6.7",
108
+ "@storybook/addon-toolbars": "^7.6.20",
109
+ "@storybook/addons": "^7.6.20",
110
+ "@storybook/manager-api": "^7.6.20",
114
111
  "@storybook/preset-typescript": "^3.0.0",
115
- "@storybook/react": "^8.6.7",
116
- "@storybook/react-webpack5": "^8.6.7",
117
- "@storybook/test": "^8.6.7",
118
- "@storybook/test-runner": "^0.22.0",
119
- "@storybook/theming": "^8.6.7",
120
- "@storybook/types": "^8.6.7",
121
- "@testing-library/dom": "^10.4.0",
112
+ "@storybook/react": "^7.6.20",
113
+ "@storybook/react-webpack5": "^7.6.20",
114
+ "@storybook/test": "^7.6.20",
115
+ "@storybook/test-runner": "~0.16.0",
116
+ "@storybook/theming": "^7.6.20",
117
+ "@testing-library/dom": "^9.3.4",
122
118
  "@testing-library/jest-dom": "^6.6.3",
123
- "@testing-library/react": "^16.2.0",
119
+ "@testing-library/react": "^14.3.1",
124
120
  "@testing-library/user-event": "^14.6.1",
125
121
  "@tryfabric/mack": "^1.2.1",
126
122
  "@types/common-tags": "^1.8.4",
127
123
  "@types/jest": "^29.5.14",
128
124
  "@types/lodash-es": "^4.17.12",
129
125
  "@types/node": "^22.13.10",
130
- "@types/react": "^19.0.11",
131
- "@types/react-dom": "^19.0.4",
126
+ "@types/react": "^18.2.25",
127
+ "@types/react-dom": "^18.2.10",
132
128
  "@vitejs/plugin-react": "^4.3.4",
133
129
  "@zerollup/ts-transform-paths": "^1.7.18",
134
130
  "arg": "^5.0.2",
@@ -143,7 +139,6 @@
143
139
  "eslint-plugin-jsx-a11y": "^6.10.2",
144
140
  "eslint-plugin-react": "^7.37.4",
145
141
  "eslint-plugin-storybook": "^0.11.4",
146
- "jsdom": "^26.0.0",
147
142
  "knip": "^5.46.0",
148
143
  "lodash-es": "^4.17.21",
149
144
  "log-watcher-webpack-plugin": "^1.0.4",
@@ -157,9 +152,9 @@
157
152
  "postcss-reporter": "^7.1.0",
158
153
  "postcss-ts-classnames": "^0.3.0",
159
154
  "prettier": "^3.5.3",
160
- "react": "^19.0.0",
161
- "react-dom": "^19.0.0",
162
- "storybook": "^8.6.7",
155
+ "react": "^18.2.0",
156
+ "react-dom": "^18.2.0",
157
+ "storybook": "^7.6.20",
163
158
  "style-dictionary": "^3.9.2",
164
159
  "style-dictionary-utils": "^2.4.1",
165
160
  "tailwindcss": "^3.4.17",
@@ -179,21 +174,21 @@
179
174
  },
180
175
  "dependencies": {
181
176
  "@iconify/react": "^3.2.2",
182
- "@iconify/types": "^1.1.0",
177
+ "@iconify/types": "^1.0.12",
183
178
  "@react-spring/web": "^9.7.5",
184
179
  "classnames": "^2.5.1",
185
180
  "downshift": "^8.2.3",
186
181
  "match-sorter": "^8.0.0",
187
182
  "react-aria": "^3.37.0",
188
- "react-aria-components": "^1.7.1",
183
+ "react-aria-components": "^1.6.0",
189
184
  "react-stately": "^3.31.1",
190
185
  "recharts": "^2.15.1",
191
186
  "tailwind-variants": "^0.3.1"
192
187
  },
193
188
  "peerDependencies": {
194
189
  "lodash-es": "4.x",
195
- "react": "16.x || 17.x || 18.x || 19.x",
196
- "react-dom": "16.x || 17.x || 18.x || 19.x"
190
+ "react": "16.x || 17.x || 18.x",
191
+ "react-dom": "16.x || 17.x || 18.x"
197
192
  },
198
193
  "browserslist": [
199
194
  "defaults"
@@ -202,13 +197,8 @@
202
197
  "webpack": "^5"
203
198
  },
204
199
  "overrides": {
205
- "cheerio": "1.0.0-rc.12",
206
200
  "eslint-plugin-storybook": {
207
201
  "typescript": "$typescript"
208
- },
209
- "@react-spring/web": {
210
- "react": "$react",
211
- "react-dom": "$react-dom"
212
202
  }
213
203
  }
214
204
  }