@aivenio/aquarium 1.2.0 → 1.3.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 (191) hide show
  1. package/README.md +2 -2
  2. package/dist/_variables.scss +1 -1
  3. package/dist/_variables_timescale.scss +1 -1
  4. package/dist/atoms.cjs +646 -4297
  5. package/dist/atoms.mjs +636 -4288
  6. package/dist/src/common/Alert/Alert.d.ts +1 -1
  7. package/dist/src/common/Alert/Alert.js +6 -6
  8. package/dist/src/common/Banner/Banner.d.ts +1 -1
  9. package/dist/src/common/Banner/Banner.js +5 -5
  10. package/dist/src/common/Checkbox/Checkbox.js +12 -19
  11. package/dist/src/common/Chip/Chip.js +4 -4
  12. package/dist/src/common/DataList/DataList.d.ts +1 -1
  13. package/dist/src/common/DataList/DataList.js +4 -4
  14. package/dist/src/common/Dialog/Dialog.d.ts +2 -2
  15. package/dist/src/common/Dialog/Dialog.js +2 -2
  16. package/dist/src/common/DropdownMenu/DropdownMenu.js +4 -4
  17. package/dist/src/common/InputGroup/InputGroup.d.ts +1 -1
  18. package/dist/src/common/InputGroup/InputGroup.js +1 -1
  19. package/dist/src/common/Modal/Modal.d.ts +6 -0
  20. package/dist/src/common/Modal/Modal.js +14 -5
  21. package/dist/src/common/Popover/Popover.d.ts +1 -1
  22. package/dist/src/common/Popover/Popover.js +2 -2
  23. package/dist/src/common/PopoverDialog/PopoverDialog.js +4 -4
  24. package/dist/src/common/ProgressBar/ProgressBar.js +4 -4
  25. package/dist/src/common/RadioButton/RadioButton.js +14 -16
  26. package/dist/src/common/Section/Section.d.ts +1 -1
  27. package/dist/src/common/Section/Section.js +3 -3
  28. package/dist/src/common/Select/Select.d.ts +1 -1
  29. package/dist/src/common/Select/Select.js +6 -6
  30. package/dist/src/common/Switch/Switch.d.ts +11 -0
  31. package/dist/src/common/Switch/Switch.js +28 -0
  32. package/dist/src/common/Table/Table.d.ts +5 -5
  33. package/dist/src/common/Table/Table.js +6 -6
  34. package/dist/src/common/Timeline/Timeline.js +2 -2
  35. package/dist/src/common/Typography/Typography.d.ts +1 -1
  36. package/dist/src/common/Typography/Typography.js +3 -3
  37. package/dist/src/common/index.d.ts +2 -1
  38. package/dist/src/common/index.js +3 -2
  39. package/dist/src/components/Alert/Alert.d.ts +7 -4
  40. package/dist/src/components/Alert/Alert.js +4 -4
  41. package/dist/src/components/Avatar/Avatar.js +2 -2
  42. package/dist/src/components/Badge/Badge.js +2 -2
  43. package/dist/src/components/Banner/Banner.d.ts +7 -4
  44. package/dist/src/components/Banner/Banner.js +5 -6
  45. package/dist/src/components/Box/Box.d.ts +6 -6
  46. package/dist/src/components/Box/Box.js +3 -3
  47. package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +2 -2
  48. package/dist/src/components/Breadcrumbs/Breadcrumbs.js +5 -5
  49. package/dist/src/components/Button/Button.d.ts +1 -1
  50. package/dist/src/components/Button/Button.js +5 -5
  51. package/dist/src/components/Card/Card.d.ts +12 -5
  52. package/dist/src/components/Card/Card.js +15 -13
  53. package/dist/src/components/Carousel/Carousel.js +4 -4
  54. package/dist/src/components/Checkbox/Checkbox.d.ts +1 -1
  55. package/dist/src/components/Checkbox/Checkbox.js +5 -11
  56. package/dist/src/components/CheckboxGroup/CheckboxGroup.d.ts +4 -4
  57. package/dist/src/components/CheckboxGroup/CheckboxGroup.js +3 -3
  58. package/dist/src/components/Chip/Chip.d.ts +1 -1
  59. package/dist/src/components/Chip/Chip.js +3 -3
  60. package/dist/src/components/ChoiceChip/ChoiceChip.js +3 -3
  61. package/dist/src/components/Combobox/Combobox.d.ts +1 -1
  62. package/dist/src/components/Combobox/Combobox.js +7 -7
  63. package/dist/src/components/Context/Context.d.ts +1 -1
  64. package/dist/src/components/Context/Context.js +1 -1
  65. package/dist/src/components/ControlLabel/ControlLabel.d.ts +1 -1
  66. package/dist/src/components/ControlLabel/ControlLabel.js +4 -4
  67. package/dist/src/components/DataList/DataList.d.ts +1 -1
  68. package/dist/src/components/DataList/DataList.js +7 -7
  69. package/dist/src/components/DataTable/DataTable.d.ts +2 -2
  70. package/dist/src/components/DataTable/DataTable.js +7 -7
  71. package/dist/src/components/Dialog/Dialog.d.ts +2 -2
  72. package/dist/src/components/Dialog/Dialog.js +5 -5
  73. package/dist/src/components/Divider/Divider.js +1 -1
  74. package/dist/src/components/Dropdown/Dropdown.d.ts +5 -2
  75. package/dist/src/components/Dropdown/Dropdown.js +8 -8
  76. package/dist/src/components/DropdownMenu/DropdownMenu.d.ts +3 -3
  77. package/dist/src/components/DropdownMenu/DropdownMenu.js +8 -8
  78. package/dist/src/components/DropdownMenu/utils.d.ts +1 -1
  79. package/dist/src/components/DropdownMenu/utils.js +1 -1
  80. package/dist/src/components/EmptyState/EmptyState.d.ts +2 -2
  81. package/dist/src/components/EmptyState/EmptyState.js +12 -12
  82. package/dist/src/components/Flexbox/Flexbox.d.ts +5 -5
  83. package/dist/src/components/Flexbox/Flexbox.js +1 -1
  84. package/dist/src/components/Flexbox/FlexboxItem.d.ts +4 -4
  85. package/dist/src/components/Flexbox/FlexboxItem.js +1 -1
  86. package/dist/src/components/Grid/Grid.d.ts +15 -15
  87. package/dist/src/components/Grid/Grid.js +1 -1
  88. package/dist/src/components/Grid/GridItem.d.ts +8 -8
  89. package/dist/src/components/Grid/GridItem.js +2 -2
  90. package/dist/src/components/Icon/Icon.d.ts +2 -2
  91. package/dist/src/components/Icon/Icon.js +1 -1
  92. package/dist/src/components/Input/Input.d.ts +1 -1
  93. package/dist/src/components/Input/Input.js +6 -6
  94. package/dist/src/components/ListItem/ListItem.js +2 -2
  95. package/dist/src/components/Modal/Modal.d.ts +8 -4
  96. package/dist/src/components/Modal/Modal.js +12 -10
  97. package/dist/src/components/MultiInput/InputChip.js +5 -5
  98. package/dist/src/components/MultiInput/MultiInput.d.ts +1 -1
  99. package/dist/src/components/MultiInput/MultiInput.js +7 -5
  100. package/dist/src/components/MultiSelect/MultiSelect.d.ts +2 -2
  101. package/dist/src/components/MultiSelect/MultiSelect.js +5 -5
  102. package/dist/src/components/NativeSelect/NativeSelect.d.ts +1 -2
  103. package/dist/src/components/NativeSelect/NativeSelect.js +29 -9
  104. package/dist/src/components/PageHeader/PageHeader.d.ts +2 -2
  105. package/dist/src/components/PageHeader/PageHeader.js +5 -5
  106. package/dist/src/components/Pagination/Pagination.js +4 -4
  107. package/dist/src/components/Pagination/usePagination.js +2 -2
  108. package/dist/src/components/Popover/Popover.d.ts +2 -2
  109. package/dist/src/components/Popover/Popover.js +2 -2
  110. package/dist/src/components/Popover/PopoverContext.d.ts +1 -1
  111. package/dist/src/components/Popover/PopoverWrapper.d.ts +1 -1
  112. package/dist/src/components/Popover/PopoverWrapper.js +1 -1
  113. package/dist/src/components/PopoverDialog/PopoverDialog.d.ts +2 -2
  114. package/dist/src/components/PopoverDialog/PopoverDialog.js +2 -2
  115. package/dist/src/components/Portal/Portal.d.ts +1 -1
  116. package/dist/src/components/Portal/Portal.js +1 -1
  117. package/dist/src/components/ProgressBar/ProgressBar.js +1 -1
  118. package/dist/src/components/RadioButton/RadioButton.d.ts +1 -1
  119. package/dist/src/components/RadioButton/RadioButton.js +6 -12
  120. package/dist/src/components/RadioButtonGroup/RadioButtonGroup.d.ts +4 -4
  121. package/dist/src/components/RadioButtonGroup/RadioButtonGroup.js +4 -4
  122. package/dist/src/components/Section/Section.d.ts +1 -1
  123. package/dist/src/components/Section/Section.js +3 -3
  124. package/dist/src/components/SegmentedControl/SegmentedControl.js +4 -4
  125. package/dist/src/components/Select/Select.d.ts +2 -2
  126. package/dist/src/components/Select/Select.js +12 -12
  127. package/dist/src/components/Skeleton/Skeleton.js +2 -2
  128. package/dist/src/components/Switch/Switch.d.ts +2 -4
  129. package/dist/src/components/Switch/Switch.js +7 -31
  130. package/dist/src/components/SwitchGroup/SwitchGroup.d.ts +4 -4
  131. package/dist/src/components/SwitchGroup/SwitchGroup.js +4 -4
  132. package/dist/src/components/Table/Table.d.ts +1 -1
  133. package/dist/src/components/Table/Table.js +2 -2
  134. package/dist/src/components/Tabs/Tabs.js +11 -11
  135. package/dist/src/components/TagLabel/TagLabel.js +2 -2
  136. package/dist/src/components/Tailwindify/Tailwindify.d.ts +26 -26
  137. package/dist/src/components/Tailwindify/Tailwindify.js +1 -1
  138. package/dist/src/components/Template/Template.d.ts +4 -4
  139. package/dist/src/components/Template/Template.js +1 -1
  140. package/dist/src/components/Textarea/Textarea.d.ts +1 -1
  141. package/dist/src/components/Textarea/Textarea.js +5 -5
  142. package/dist/src/components/Timeline/Timeline.js +7 -7
  143. package/dist/src/components/Tooltip/Tooltip.d.ts +2 -2
  144. package/dist/src/components/Tooltip/Tooltip.js +3 -3
  145. package/dist/src/components/Tooltip/useTooltipTriggerState.d.ts +1 -1
  146. package/dist/src/components/Tooltip/useTooltipTriggerState.js +1 -1
  147. package/dist/src/components/Typography/Typography.d.ts +28 -4
  148. package/dist/src/components/Typography/Typography.js +61 -21
  149. package/dist/src/components/index.d.ts +3 -3
  150. package/dist/src/components/index.js +4 -4
  151. package/dist/src/js/resolveTheme.d.ts +1 -1
  152. package/dist/src/system.d.ts +6 -6
  153. package/dist/src/system.js +6 -6
  154. package/dist/src/utils/Blueprint.js +2 -2
  155. package/dist/src/utils/breakpoints.d.ts +2 -2
  156. package/dist/src/utils/breakpoints.js +2 -2
  157. package/dist/src/utils/constants.js +2 -2
  158. package/dist/src/utils/createComponent.d.ts +1 -1
  159. package/dist/src/utils/createComponent.js +2 -2
  160. package/dist/src/utils/form/CharCounter/CharCounter.js +2 -2
  161. package/dist/src/utils/form/FormControl/FormControl.js +1 -1
  162. package/dist/src/utils/form/HelperText/HelperText.js +5 -5
  163. package/dist/src/utils/form/InputAdornment/InputAdornment.d.ts +1 -1
  164. package/dist/src/utils/form/InputAdornment/InputAdornment.js +6 -6
  165. package/dist/src/utils/form/Label/Label.d.ts +2 -2
  166. package/dist/src/utils/form/Label/Label.js +5 -5
  167. package/dist/src/utils/table/types.d.ts +6 -5
  168. package/dist/src/utils/table/types.js +1 -1
  169. package/dist/src/utils/table/useScrollTarget.d.ts +1 -1
  170. package/dist/src/utils/table/useScrollTarget.js +1 -1
  171. package/dist/src/utils/table/useTableSort.d.ts +1 -1
  172. package/dist/src/utils/table/useTableSort.js +1 -1
  173. package/dist/src/utils/tailwind.d.ts +2 -2
  174. package/dist/src/utils/tailwind.js +1 -1
  175. package/dist/src/utils/useStyle.d.ts +1 -1
  176. package/dist/src/utils/useStyle.js +3 -3
  177. package/dist/src/utils/useWindowSize.js +3 -3
  178. package/dist/styles.css +220 -61
  179. package/dist/styles_timescaledb.css +220 -62
  180. package/dist/system.cjs +1209 -958
  181. package/dist/system.mjs +1204 -953
  182. package/dist/tokens.json +260 -1
  183. package/dist/tsconfig.module.tsbuildinfo +1 -1
  184. package/dist/types/ActionType.d.ts +2 -2
  185. package/dist/types/IconProps.d.ts +2 -2
  186. package/dist/types/designTokens.d.ts +1 -1
  187. package/dist/types/tailwind.d.ts +3 -3
  188. package/dist/types/tailwindGenerated.d.ts +1 -1
  189. package/dist/types/utils.d.ts +1 -1
  190. package/dist/types/utils.js +1 -1
  191. package/package.json +30 -27
package/dist/tokens.json CHANGED
@@ -89,6 +89,136 @@
89
89
  },
90
90
  "typography": {
91
91
  "sizes": [
92
+ {
93
+ "name": "large-heading",
94
+ "className": "typography-large-heading",
95
+ "style": {
96
+ "fontFamily": "Inter",
97
+ "fontSize": "32px",
98
+ "fontWeight": 700,
99
+ "fontStyle": "normal",
100
+ "lineHeight": 1.375,
101
+ "textTransform": "none"
102
+ },
103
+ "fontPostScriptName": "Inter-Bold"
104
+ },
105
+ {
106
+ "name": "heading",
107
+ "className": "typography-heading",
108
+ "style": {
109
+ "fontFamily": "Inter",
110
+ "fontSize": "24px",
111
+ "fontWeight": 700,
112
+ "fontStyle": "normal",
113
+ "lineHeight": 1.375,
114
+ "textTransform": "none"
115
+ },
116
+ "fontPostScriptName": "Inter-Bold"
117
+ },
118
+ {
119
+ "name": "subheading",
120
+ "className": "typography-subheading",
121
+ "style": {
122
+ "fontFamily": "Inter",
123
+ "fontSize": "20px",
124
+ "fontWeight": 600,
125
+ "fontStyle": "normal",
126
+ "lineHeight": 1.375,
127
+ "textTransform": "none"
128
+ },
129
+ "fontPostScriptName": "Inter-Bold"
130
+ },
131
+ {
132
+ "name": "large-strong",
133
+ "className": "typography-large-strong",
134
+ "style": {
135
+ "fontFamily": "Inter",
136
+ "fontSize": "20px",
137
+ "fontWeight": 600,
138
+ "fontStyle": "normal",
139
+ "lineHeight": 1.58,
140
+ "textTransform": "none"
141
+ },
142
+ "fontPostScriptName": "Inter-SemiBold"
143
+ },
144
+ {
145
+ "name": "large",
146
+ "className": "typography-large",
147
+ "style": {
148
+ "fontFamily": "Inter",
149
+ "fontSize": "20px",
150
+ "fontWeight": 500,
151
+ "fontStyle": "normal",
152
+ "lineHeight": 1.58,
153
+ "textTransform": "none"
154
+ },
155
+ "fontPostScriptName": "Inter-SemiBold"
156
+ },
157
+ {
158
+ "name": "default-strong",
159
+ "className": "typography-default-strong",
160
+ "style": {
161
+ "fontFamily": "Inter",
162
+ "fontSize": "16px",
163
+ "fontWeight": 600,
164
+ "fontStyle": "normal",
165
+ "lineHeight": 1.5,
166
+ "textTransform": "none"
167
+ },
168
+ "fontPostScriptName": "Inter-SemiBold"
169
+ },
170
+ {
171
+ "name": "default",
172
+ "className": "typography-default",
173
+ "style": {
174
+ "fontFamily": "Inter",
175
+ "fontSize": "16px",
176
+ "fontWeight": 400,
177
+ "fontStyle": "normal",
178
+ "lineHeight": 1.5,
179
+ "textTransform": "none"
180
+ },
181
+ "fontPostScriptName": null
182
+ },
183
+ {
184
+ "name": "small-strong",
185
+ "className": "typography-small-strong",
186
+ "style": {
187
+ "fontFamily": "Inter",
188
+ "fontSize": "14px",
189
+ "fontWeight": 600,
190
+ "fontStyle": "normal",
191
+ "lineHeight": 1.42,
192
+ "textTransform": "none"
193
+ },
194
+ "fontPostScriptName": "Inter-SemiBold"
195
+ },
196
+ {
197
+ "name": "small",
198
+ "className": "typography-small",
199
+ "style": {
200
+ "fontFamily": "Inter",
201
+ "fontSize": "14px",
202
+ "fontWeight": 400,
203
+ "fontStyle": "normal",
204
+ "lineHeight": 1.42,
205
+ "textTransform": "none"
206
+ },
207
+ "fontPostScriptName": null
208
+ },
209
+ {
210
+ "name": "caption",
211
+ "className": "typography-caption",
212
+ "style": {
213
+ "fontFamily": "Inter",
214
+ "fontSize": "12px",
215
+ "fontWeight": 400,
216
+ "fontStyle": "normal",
217
+ "lineHeight": 1.26,
218
+ "textTransform": "none"
219
+ },
220
+ "fontPostScriptName": null
221
+ },
92
222
  {
93
223
  "name": "caption-small",
94
224
  "className": "typography-caption-small",
@@ -98,7 +228,6 @@
98
228
  "fontWeight": 400,
99
229
  "fontStyle": "normal",
100
230
  "lineHeight": 1.2,
101
- "letterSpacing": 0,
102
231
  "textTransform": "none"
103
232
  },
104
233
  "fontPostScriptName": null
@@ -520,6 +649,136 @@
520
649
  },
521
650
  "typography": {
522
651
  "sizes": [
652
+ {
653
+ "name": "large-heading",
654
+ "className": "typography-large-heading",
655
+ "style": {
656
+ "fontFamily": "Inter",
657
+ "fontSize": "32px",
658
+ "fontWeight": 700,
659
+ "fontStyle": "normal",
660
+ "lineHeight": 1.375,
661
+ "textTransform": "none"
662
+ },
663
+ "fontPostScriptName": "Inter-Bold"
664
+ },
665
+ {
666
+ "name": "heading",
667
+ "className": "typography-heading",
668
+ "style": {
669
+ "fontFamily": "Inter",
670
+ "fontSize": "24px",
671
+ "fontWeight": 700,
672
+ "fontStyle": "normal",
673
+ "lineHeight": 1.375,
674
+ "textTransform": "none"
675
+ },
676
+ "fontPostScriptName": "Inter-Bold"
677
+ },
678
+ {
679
+ "name": "subheading",
680
+ "className": "typography-subheading",
681
+ "style": {
682
+ "fontFamily": "Inter",
683
+ "fontSize": "20px",
684
+ "fontWeight": 600,
685
+ "fontStyle": "normal",
686
+ "lineHeight": 1.375,
687
+ "textTransform": "none"
688
+ },
689
+ "fontPostScriptName": "Inter-Bold"
690
+ },
691
+ {
692
+ "name": "large-strong",
693
+ "className": "typography-large-strong",
694
+ "style": {
695
+ "fontFamily": "Inter",
696
+ "fontSize": "20px",
697
+ "fontWeight": 600,
698
+ "fontStyle": "normal",
699
+ "lineHeight": 1.58,
700
+ "textTransform": "none"
701
+ },
702
+ "fontPostScriptName": "Inter-SemiBold"
703
+ },
704
+ {
705
+ "name": "large",
706
+ "className": "typography-large",
707
+ "style": {
708
+ "fontFamily": "Inter",
709
+ "fontSize": "20px",
710
+ "fontWeight": 500,
711
+ "fontStyle": "normal",
712
+ "lineHeight": 1.58,
713
+ "textTransform": "none"
714
+ },
715
+ "fontPostScriptName": "Inter-SemiBold"
716
+ },
717
+ {
718
+ "name": "default-strong",
719
+ "className": "typography-default-strong",
720
+ "style": {
721
+ "fontFamily": "Inter",
722
+ "fontSize": "16px",
723
+ "fontWeight": 600,
724
+ "fontStyle": "normal",
725
+ "lineHeight": 1.5,
726
+ "textTransform": "none"
727
+ },
728
+ "fontPostScriptName": "Inter-SemiBold"
729
+ },
730
+ {
731
+ "name": "default",
732
+ "className": "typography-default",
733
+ "style": {
734
+ "fontFamily": "Inter",
735
+ "fontSize": "16px",
736
+ "fontWeight": 400,
737
+ "fontStyle": "normal",
738
+ "lineHeight": 1.5,
739
+ "textTransform": "none"
740
+ },
741
+ "fontPostScriptName": null
742
+ },
743
+ {
744
+ "name": "small-strong",
745
+ "className": "typography-small-strong",
746
+ "style": {
747
+ "fontFamily": "Inter",
748
+ "fontSize": "14px",
749
+ "fontWeight": 600,
750
+ "fontStyle": "normal",
751
+ "lineHeight": 1.42,
752
+ "textTransform": "none"
753
+ },
754
+ "fontPostScriptName": "Inter-SemiBold"
755
+ },
756
+ {
757
+ "name": "small",
758
+ "className": "typography-small",
759
+ "style": {
760
+ "fontFamily": "Inter",
761
+ "fontSize": "14px",
762
+ "fontWeight": 400,
763
+ "fontStyle": "normal",
764
+ "lineHeight": 1.42,
765
+ "textTransform": "none"
766
+ },
767
+ "fontPostScriptName": null
768
+ },
769
+ {
770
+ "name": "caption",
771
+ "className": "typography-caption",
772
+ "style": {
773
+ "fontFamily": "Inter",
774
+ "fontSize": "12px",
775
+ "fontWeight": 400,
776
+ "fontStyle": "normal",
777
+ "lineHeight": 1.26,
778
+ "textTransform": "none"
779
+ },
780
+ "fontPostScriptName": null
781
+ },
523
782
  {
524
783
  "name": "caption-small",
525
784
  "className": "typography-caption-small",