@aivenio/aquarium 1.7.0 → 1.8.1
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 +139 -132
- package/dist/atoms.mjs +138 -132
- package/dist/src/common/Card/Card.d.ts +8 -2
- package/dist/src/common/Card/Card.js +10 -7
- 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/Card/Card.d.ts +1 -1
- package/dist/src/components/Card/Card.js +24 -17
- package/dist/src/components/Card/Compact.js +18 -13
- package/dist/src/components/Card/types.d.ts +5 -0
- 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/DataTable/DataTable.js +2 -2
- package/dist/src/components/DropdownMenu/DropdownMenu.js +5 -1
- package/dist/src/components/Link/Link.d.ts +5 -0
- package/dist/src/components/Link/Link.js +4 -0
- package/dist/src/components/MultiSelect/MultiSelect.js +14 -4
- 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/Skeleton/Skeleton.d.ts +3 -3
- package/dist/src/components/Skeleton/Skeleton.js +1 -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 +1 -0
- package/dist/src/components/index.js +2 -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/src/utils/table/types.d.ts +2 -0
- package/dist/src/utils/table/types.js +2 -2
- package/dist/styles.css +19 -16
- package/dist/styles_timescaledb.css +19 -16
- package/dist/system.cjs +520 -441
- package/dist/system.mjs +515 -437
- package/dist/tailwind.config.js +1 -1
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/dist/types/DimensionProps.d.ts +3 -0
- package/dist/types/DimensionProps.js +2 -0
- package/dist/types/tailwindGenerated.d.ts +1 -1
- package/package.json +1 -1
@@ -17,4 +17,5 @@ export const HelperText = ({ messageId, error = false, helperText, length, maxLe
|
|
17
17
|
};
|
18
18
|
const Skeleton = ({ className, children }) => (React.createElement("div", { className: classNames(className, 'h-[25px]') }, children));
|
19
19
|
HelperText.Skeleton = Skeleton;
|
20
|
-
|
20
|
+
HelperText.Skeleton.displayName = 'HelperText.Skeleton';
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSGVscGVyVGV4dC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy91dGlscy9mb3JtL0hlbHBlclRleHQvSGVscGVyVGV4dC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE1BQU0sT0FBTyxDQUFDO0FBQzFCLE9BQU8sVUFBVSxNQUFNLFlBQVksQ0FBQztBQUNwQyxPQUFPLFFBQVEsTUFBTSxpQkFBaUIsQ0FBQztBQUV2QyxPQUFP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UksQ0FDWCwyQkFBRyxFQUFFLEVBQUUsU0FBUyxFQUFFLFNBQVMsRUFBRSxFQUFFLENBQUMsd0NBQXdDLENBQUMsSUFDdEUsVUFBVSxDQUNULENBQ0wsQ0FDUTtRQUNYLG9CQUFDLFFBQVEsSUFBQyxRQUFRLEVBQUUsR0FBRyxFQUFFLE1BQU0sRUFBRSxHQUFHLEVBQUUsT0FBTyxFQUFDLE1BQU0sSUFFakQsUUFBUSxDQUFDLE1BQU0sQ0FBQyxJQUFJLFlBQVksSUFBSSxvQkFBQyxXQUFXLElBQUMsTUFBTSxFQUFFLE1BQU0sRUFBRSxTQUFTLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxDQUFDLEtBQUssR0FBSSxDQUNoRyxDQUNOLENBQ1IsQ0FBQztBQUNKLENBQUMsQ0FBQztBQUVGLE1BQU0sUUFBUSxHQUFxQyxDQUFDLEVBQUUsU0FBUyxFQUFFLFFBQVEsRUFBRSxFQUFFLEVBQUUsQ0FBQyxDQUM5RSw2QkFBSyxTQUFTLEVBQUUsVUFBVSxDQUFDLFNBQVMsRUFBRSxVQUFVLENBQUMsSUFBRyxRQUFRLENBQU8sQ0FDcEUsQ0FBQztBQUVGLFVBQVUsQ0FBQyxRQUFRLEdBQUcsUUFBUSxDQUFDO0FBQy9CLFVBQVUsQ0FBQyxRQUFRLENBQUMsV0FBVyxHQUFHLHFCQUFxQixDQUFDIn0=
|
@@ -15,6 +15,8 @@ export declare type Column = {
|
|
15
15
|
* Display name for the column.
|
16
16
|
*/
|
17
17
|
headerName: string;
|
18
|
+
headerInvisible?: boolean;
|
19
|
+
key?: string;
|
18
20
|
};
|
19
21
|
declare type Formatter<R, K extends keyof R, V = R[K]> = (value: V, row: R, index: number, rows: R[]) => string;
|
20
22
|
export declare type FieldColumn<T, K extends keyof T = keyof T> = K extends keyof T ? {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export const toSortDirection = (direction) => direction === 'ascending' ? 'asc' : direction === 'descending' ? 'desc' : false;
|
2
2
|
export const cellProps = (column) => ({
|
3
|
-
key: column.headerName,
|
3
|
+
key: column.key || column.headerName,
|
4
4
|
align: column.type === 'number' || column.type === 'action' ? 'right' : 'left',
|
5
5
|
});
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdXRpbHMvdGFibGUvdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBbUpBLE1BQU0sQ0FBQyxNQUFNLGVBQWUsR0FBRyxDQUFDLFNBQW9DLEVBQTBCLEVBQUUsQ0FDOUYsU0FBUyxLQUFLLFdBQVcsQ0FBQyxDQUFDLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxTQUFTLEtBQUssWUFBWSxDQUFDLENBQUMsQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDLEtBQUssQ0FBQztBQU9sRixNQUFNLENBQUMsTUFBTSxTQUFTLEdBQUcsQ0FBbUIsTUFBUyxFQUFhLEVBQUUsQ0FBQyxDQUFDO0lBQ3BFLEdBQUcsRUFBRSxNQUFNLENBQUMsR0FBRyxJQUFJLE1BQU0sQ0FBQyxVQUFVO0lBQ3BDLEtBQUssRUFBRSxNQUFNLENBQUMsSUFBSSxLQUFLLFFBQVEsSUFBSSxNQUFNLENBQUMsSUFBSSxLQUFLLFFBQVEsQ0FBQyxDQUFDLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxNQUFNO0NBQy9FLENBQUMsQ0FBQyJ9
|
package/dist/styles.css
CHANGED
@@ -2106,6 +2106,9 @@ input[type='number'].no-arrows {
|
|
2106
2106
|
.first\:mt-0:first-child {
|
2107
2107
|
margin-top: 0 !important;
|
2108
2108
|
}
|
2109
|
+
.visited\:text-primary-80:visited {
|
2110
|
+
color: rgb(228, 26, 74 ) !important;
|
2111
|
+
}
|
2109
2112
|
.checked\:border-navyBlue-100:checked {
|
2110
2113
|
--tw-border-opacity: 1 !important;
|
2111
2114
|
border-color: rgb(48 55 94 / var(--tw-border-opacity)) !important;
|
@@ -2240,14 +2243,6 @@ input[type='number'].no-arrows {
|
|
2240
2243
|
--tw-bg-opacity: 1 !important;
|
2241
2244
|
background-color: rgb(247 247 250 / var(--tw-bg-opacity)) !important;
|
2242
2245
|
}
|
2243
|
-
.focus-visible\:text-grey-80.focus-visible {
|
2244
|
-
--tw-text-opacity: 1 !important;
|
2245
|
-
color: rgb(58 58 68 / var(--tw-text-opacity)) !important;
|
2246
|
-
}
|
2247
|
-
.focus-visible\:text-grey-80:focus-visible {
|
2248
|
-
--tw-text-opacity: 1 !important;
|
2249
|
-
color: rgb(58 58 68 / var(--tw-text-opacity)) !important;
|
2250
|
-
}
|
2251
2246
|
.focus-visible\:text-grey-90.focus-visible {
|
2252
2247
|
--tw-text-opacity: 1 !important;
|
2253
2248
|
color: rgb(41 42 49 / var(--tw-text-opacity)) !important;
|
@@ -2256,6 +2251,14 @@ input[type='number'].no-arrows {
|
|
2256
2251
|
--tw-text-opacity: 1 !important;
|
2257
2252
|
color: rgb(41 42 49 / var(--tw-text-opacity)) !important;
|
2258
2253
|
}
|
2254
|
+
.focus-visible\:text-grey-80.focus-visible {
|
2255
|
+
--tw-text-opacity: 1 !important;
|
2256
|
+
color: rgb(58 58 68 / var(--tw-text-opacity)) !important;
|
2257
|
+
}
|
2258
|
+
.focus-visible\:text-grey-80:focus-visible {
|
2259
|
+
--tw-text-opacity: 1 !important;
|
2260
|
+
color: rgb(58 58 68 / var(--tw-text-opacity)) !important;
|
2261
|
+
}
|
2259
2262
|
.focus-visible\:outline-0.focus-visible {
|
2260
2263
|
outline-width: 0px !important;
|
2261
2264
|
}
|
@@ -2331,14 +2334,14 @@ input[type='number'].no-arrows {
|
|
2331
2334
|
--tw-bg-opacity: 1 !important;
|
2332
2335
|
background-color: rgb(225 225 227 / var(--tw-bg-opacity)) !important;
|
2333
2336
|
}
|
2334
|
-
.active\:text-grey-80:active {
|
2335
|
-
--tw-text-opacity: 1 !important;
|
2336
|
-
color: rgb(58 58 68 / var(--tw-text-opacity)) !important;
|
2337
|
-
}
|
2338
2337
|
.active\:text-primary-70:active {
|
2339
2338
|
--tw-text-opacity: 1 !important;
|
2340
2339
|
color: rgb(255 53 84 / var(--tw-text-opacity)) !important;
|
2341
2340
|
}
|
2341
|
+
.active\:text-grey-80:active {
|
2342
|
+
--tw-text-opacity: 1 !important;
|
2343
|
+
color: rgb(58 58 68 / var(--tw-text-opacity)) !important;
|
2344
|
+
}
|
2342
2345
|
.active\:text-grey-50:active {
|
2343
2346
|
--tw-text-opacity: 1 !important;
|
2344
2347
|
color: rgb(120 120 133 / var(--tw-text-opacity)) !important;
|
@@ -2383,14 +2386,14 @@ input[type='number'].no-arrows {
|
|
2383
2386
|
--tw-text-opacity: 1 !important;
|
2384
2387
|
color: rgb(150 150 160 / var(--tw-text-opacity)) !important;
|
2385
2388
|
}
|
2386
|
-
.disabled\:text-grey-30:disabled {
|
2387
|
-
--tw-text-opacity: 1 !important;
|
2388
|
-
color: rgb(180 180 187 / var(--tw-text-opacity)) !important;
|
2389
|
-
}
|
2390
2389
|
.disabled\:text-primary-40:disabled {
|
2391
2390
|
--tw-text-opacity: 1 !important;
|
2392
2391
|
color: rgb(255 141 176 / var(--tw-text-opacity)) !important;
|
2393
2392
|
}
|
2393
|
+
.disabled\:text-grey-30:disabled {
|
2394
|
+
--tw-text-opacity: 1 !important;
|
2395
|
+
color: rgb(180 180 187 / var(--tw-text-opacity)) !important;
|
2396
|
+
}
|
2394
2397
|
.disabled\:text-grey-20:disabled {
|
2395
2398
|
--tw-text-opacity: 1 !important;
|
2396
2399
|
color: rgb(210 210 214 / var(--tw-text-opacity)) !important;
|
@@ -2105,6 +2105,9 @@ input[type='number'].no-arrows {
|
|
2105
2105
|
.first\:mt-0:first-child {
|
2106
2106
|
margin-top: 0 !important;
|
2107
2107
|
}
|
2108
|
+
.visited\:text-primary-80:visited {
|
2109
|
+
color: rgb(7, 136, 209 ) !important;
|
2110
|
+
}
|
2108
2111
|
.checked\:border-navyBlue-100:checked {
|
2109
2112
|
--tw-border-opacity: 1 !important;
|
2110
2113
|
border-color: rgb(48 55 94 / var(--tw-border-opacity)) !important;
|
@@ -2239,14 +2242,6 @@ input[type='number'].no-arrows {
|
|
2239
2242
|
--tw-bg-opacity: 1 !important;
|
2240
2243
|
background-color: rgb(247 247 250 / var(--tw-bg-opacity)) !important;
|
2241
2244
|
}
|
2242
|
-
.focus-visible\:text-grey-80.focus-visible {
|
2243
|
-
--tw-text-opacity: 1 !important;
|
2244
|
-
color: rgb(58 58 68 / var(--tw-text-opacity)) !important;
|
2245
|
-
}
|
2246
|
-
.focus-visible\:text-grey-80:focus-visible {
|
2247
|
-
--tw-text-opacity: 1 !important;
|
2248
|
-
color: rgb(58 58 68 / var(--tw-text-opacity)) !important;
|
2249
|
-
}
|
2250
2245
|
.focus-visible\:text-grey-90.focus-visible {
|
2251
2246
|
--tw-text-opacity: 1 !important;
|
2252
2247
|
color: rgb(41 42 49 / var(--tw-text-opacity)) !important;
|
@@ -2255,6 +2250,14 @@ input[type='number'].no-arrows {
|
|
2255
2250
|
--tw-text-opacity: 1 !important;
|
2256
2251
|
color: rgb(41 42 49 / var(--tw-text-opacity)) !important;
|
2257
2252
|
}
|
2253
|
+
.focus-visible\:text-grey-80.focus-visible {
|
2254
|
+
--tw-text-opacity: 1 !important;
|
2255
|
+
color: rgb(58 58 68 / var(--tw-text-opacity)) !important;
|
2256
|
+
}
|
2257
|
+
.focus-visible\:text-grey-80:focus-visible {
|
2258
|
+
--tw-text-opacity: 1 !important;
|
2259
|
+
color: rgb(58 58 68 / var(--tw-text-opacity)) !important;
|
2260
|
+
}
|
2258
2261
|
.focus-visible\:outline-0.focus-visible {
|
2259
2262
|
outline-width: 0px !important;
|
2260
2263
|
}
|
@@ -2330,14 +2333,14 @@ input[type='number'].no-arrows {
|
|
2330
2333
|
--tw-bg-opacity: 1 !important;
|
2331
2334
|
background-color: rgb(225 225 227 / var(--tw-bg-opacity)) !important;
|
2332
2335
|
}
|
2333
|
-
.active\:text-grey-80:active {
|
2334
|
-
--tw-text-opacity: 1 !important;
|
2335
|
-
color: rgb(58 58 68 / var(--tw-text-opacity)) !important;
|
2336
|
-
}
|
2337
2336
|
.active\:text-primary-70:active {
|
2338
2337
|
--tw-text-opacity: 1 !important;
|
2339
2338
|
color: rgb(3 153 227 / var(--tw-text-opacity)) !important;
|
2340
2339
|
}
|
2340
|
+
.active\:text-grey-80:active {
|
2341
|
+
--tw-text-opacity: 1 !important;
|
2342
|
+
color: rgb(58 58 68 / var(--tw-text-opacity)) !important;
|
2343
|
+
}
|
2341
2344
|
.active\:text-grey-50:active {
|
2342
2345
|
--tw-text-opacity: 1 !important;
|
2343
2346
|
color: rgb(120 120 133 / var(--tw-text-opacity)) !important;
|
@@ -2382,14 +2385,14 @@ input[type='number'].no-arrows {
|
|
2382
2385
|
--tw-text-opacity: 1 !important;
|
2383
2386
|
color: rgb(150 150 160 / var(--tw-text-opacity)) !important;
|
2384
2387
|
}
|
2385
|
-
.disabled\:text-grey-30:disabled {
|
2386
|
-
--tw-text-opacity: 1 !important;
|
2387
|
-
color: rgb(180 180 187 / var(--tw-text-opacity)) !important;
|
2388
|
-
}
|
2389
2388
|
.disabled\:text-primary-40:disabled {
|
2390
2389
|
--tw-text-opacity: 1 !important;
|
2391
2390
|
color: rgb(76 194 247 / var(--tw-text-opacity)) !important;
|
2392
2391
|
}
|
2392
|
+
.disabled\:text-grey-30:disabled {
|
2393
|
+
--tw-text-opacity: 1 !important;
|
2394
|
+
color: rgb(180 180 187 / var(--tw-text-opacity)) !important;
|
2395
|
+
}
|
2393
2396
|
.disabled\:text-grey-20:disabled {
|
2394
2397
|
--tw-text-opacity: 1 !important;
|
2395
2398
|
color: rgb(210 210 214 / var(--tw-text-opacity)) !important;
|