@aivenio/aquarium 1.4.0 → 1.4.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 +30 -20
- package/dist/atoms.mjs +30 -20
- package/dist/src/common/Checkbox/Checkbox.js +12 -6
- package/dist/src/common/RadioButton/RadioButton.js +2 -2
- package/dist/src/common/Switch/Switch.js +7 -10
- package/dist/src/components/Skeleton/Skeleton.js +3 -2
- package/dist/src/components/Timeline/Timeline.js +2 -2
- package/dist/src/components/Typography/Typography.d.ts +5 -3
- package/dist/src/components/Typography/Typography.js +1 -1
- package/dist/styles.css +38 -52
- package/dist/styles_timescaledb.css +38 -52
- package/dist/system.cjs +34 -22
- package/dist/system.mjs +34 -22
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/dist/types/tailwindGenerated.d.ts +1 -1
- package/package.json +5 -4
@@ -697,6 +697,12 @@ input[type='number'].no-arrows {
|
|
697
697
|
top: 0 !important;
|
698
698
|
bottom: 0 !important;
|
699
699
|
}
|
700
|
+
.top-0 {
|
701
|
+
top: 0 !important;
|
702
|
+
}
|
703
|
+
.right-0 {
|
704
|
+
right: 0 !important;
|
705
|
+
}
|
700
706
|
.top-\[20px\] {
|
701
707
|
top: 20px !important;
|
702
708
|
}
|
@@ -715,18 +721,12 @@ input[type='number'].no-arrows {
|
|
715
721
|
.left-2 {
|
716
722
|
left: 4px !important;
|
717
723
|
}
|
718
|
-
.top-0 {
|
719
|
-
top: 0 !important;
|
720
|
-
}
|
721
724
|
.left-1\/2 {
|
722
725
|
left: 50% !important;
|
723
726
|
}
|
724
727
|
.bottom-0 {
|
725
728
|
bottom: 0 !important;
|
726
729
|
}
|
727
|
-
.right-0 {
|
728
|
-
right: 0 !important;
|
729
|
-
}
|
730
730
|
.left-0 {
|
731
731
|
left: 0 !important;
|
732
732
|
}
|
@@ -884,9 +884,6 @@ input[type='number'].no-arrows {
|
|
884
884
|
.h-\[20px\] {
|
885
885
|
height: 20px !important;
|
886
886
|
}
|
887
|
-
.h-0 {
|
888
|
-
height: 0 !important;
|
889
|
-
}
|
890
887
|
.h-5 {
|
891
888
|
height: 16px !important;
|
892
889
|
}
|
@@ -959,9 +956,6 @@ input[type='number'].no-arrows {
|
|
959
956
|
.w-full {
|
960
957
|
width: 100% !important;
|
961
958
|
}
|
962
|
-
.w-0 {
|
963
|
-
width: 0 !important;
|
964
|
-
}
|
965
959
|
.w-5 {
|
966
960
|
width: 16px !important;
|
967
961
|
}
|
@@ -1295,6 +1289,9 @@ input[type='number'].no-arrows {
|
|
1295
1289
|
--tw-border-opacity: 1 !important;
|
1296
1290
|
border-color: rgb(237 237 240 / var(--tw-border-opacity)) !important;
|
1297
1291
|
}
|
1292
|
+
.border-transparent {
|
1293
|
+
border-color: transparent !important;
|
1294
|
+
}
|
1298
1295
|
.border-grey-10 {
|
1299
1296
|
--tw-border-opacity: 1 !important;
|
1300
1297
|
border-color: rgb(225 225 227 / var(--tw-border-opacity)) !important;
|
@@ -1322,9 +1319,6 @@ input[type='number'].no-arrows {
|
|
1322
1319
|
.border-current {
|
1323
1320
|
border-color: currentColor !important;
|
1324
1321
|
}
|
1325
|
-
.border-transparent {
|
1326
|
-
border-color: transparent !important;
|
1327
|
-
}
|
1328
1322
|
.border-grey-100 {
|
1329
1323
|
--tw-border-opacity: 1 !important;
|
1330
1324
|
border-color: rgb(25 25 29 / var(--tw-border-opacity)) !important;
|
@@ -1361,14 +1355,14 @@ input[type='number'].no-arrows {
|
|
1361
1355
|
--tw-bg-opacity: 1 !important;
|
1362
1356
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important;
|
1363
1357
|
}
|
1364
|
-
.bg-grey-5 {
|
1365
|
-
--tw-bg-opacity: 1 !important;
|
1366
|
-
background-color: rgb(237 237 240 / var(--tw-bg-opacity)) !important;
|
1367
|
-
}
|
1368
1358
|
.bg-navyBlue-100 {
|
1369
1359
|
--tw-bg-opacity: 1 !important;
|
1370
1360
|
background-color: rgb(48 55 94 / var(--tw-bg-opacity)) !important;
|
1371
1361
|
}
|
1362
|
+
.bg-grey-5 {
|
1363
|
+
--tw-bg-opacity: 1 !important;
|
1364
|
+
background-color: rgb(237 237 240 / var(--tw-bg-opacity)) !important;
|
1365
|
+
}
|
1372
1366
|
.bg-info-50 {
|
1373
1367
|
--tw-bg-opacity: 1 !important;
|
1374
1368
|
background-color: rgb(40 180 244 / var(--tw-bg-opacity)) !important;
|
@@ -1456,12 +1450,15 @@ input[type='number'].no-arrows {
|
|
1456
1450
|
.p-6 {
|
1457
1451
|
padding: 24px !important;
|
1458
1452
|
}
|
1459
|
-
.p-\[
|
1460
|
-
padding:
|
1453
|
+
.p-\[2px\] {
|
1454
|
+
padding: 2px !important;
|
1461
1455
|
}
|
1462
1456
|
.p-3 {
|
1463
1457
|
padding: 8px !important;
|
1464
1458
|
}
|
1459
|
+
.p-\[3px\] {
|
1460
|
+
padding: 3px !important;
|
1461
|
+
}
|
1465
1462
|
.p-2 {
|
1466
1463
|
padding: 4px !important;
|
1467
1464
|
}
|
@@ -1957,12 +1954,12 @@ input[type='number'].no-arrows {
|
|
1957
1954
|
.underline-offset-2 {
|
1958
1955
|
text-underline-offset: 2px !important;
|
1959
1956
|
}
|
1960
|
-
.opacity-0 {
|
1961
|
-
opacity: 0 !important;
|
1962
|
-
}
|
1963
1957
|
.opacity-70 {
|
1964
1958
|
opacity: 0.7 !important;
|
1965
1959
|
}
|
1960
|
+
.opacity-40 {
|
1961
|
+
opacity: 0.4 !important;
|
1962
|
+
}
|
1966
1963
|
.shadow-16dp {
|
1967
1964
|
--tw-shadow: 0px 16px 32px rgba(90, 91, 106, 0.12), 0px 8px 16px rgba(58, 58, 68, 0.12) !important;
|
1968
1965
|
--tw-shadow-colored: 0px 16px 32px var(--tw-shadow-color), 0px 8px 16px var(--tw-shadow-color) !important;
|
@@ -2064,6 +2061,9 @@ input[type='number'].no-arrows {
|
|
2064
2061
|
.checked\:bg-opacity-40:checked {
|
2065
2062
|
--tw-bg-opacity: 0.4 !important;
|
2066
2063
|
}
|
2064
|
+
.checked\:opacity-40:checked {
|
2065
|
+
opacity: 0.4 !important;
|
2066
|
+
}
|
2067
2067
|
.checked\:shadow-whiteInset:checked {
|
2068
2068
|
--tw-shadow: inset 0 0 0 3px rgba(255,255,255,1) !important;
|
2069
2069
|
--tw-shadow-colored: inset 0 0 0 3px var(--tw-shadow-color) !important;
|
@@ -2085,6 +2085,10 @@ input[type='number'].no-arrows {
|
|
2085
2085
|
--tw-bg-opacity: 1 !important;
|
2086
2086
|
background-color: rgb(247 247 250 / var(--tw-bg-opacity)) !important;
|
2087
2087
|
}
|
2088
|
+
.hover\:bg-grey-30:hover {
|
2089
|
+
--tw-bg-opacity: 1 !important;
|
2090
|
+
background-color: rgb(180 180 187 / var(--tw-bg-opacity)) !important;
|
2091
|
+
}
|
2088
2092
|
.hover\:bg-primary-70:hover {
|
2089
2093
|
--tw-bg-opacity: 1 !important;
|
2090
2094
|
background-color: rgb(3 153 227 / var(--tw-bg-opacity)) !important;
|
@@ -2117,6 +2121,13 @@ input[type='number'].no-arrows {
|
|
2117
2121
|
--tw-ring-opacity: 1 !important;
|
2118
2122
|
--tw-ring-color: rgb(120 120 133 / var(--tw-ring-opacity)) !important;
|
2119
2123
|
}
|
2124
|
+
.hover\:checked\:bg-navyBlue-100:checked:hover {
|
2125
|
+
--tw-bg-opacity: 1 !important;
|
2126
|
+
background-color: rgb(48 55 94 / var(--tw-bg-opacity)) !important;
|
2127
|
+
}
|
2128
|
+
.focus\:border:focus {
|
2129
|
+
border-width: 1px !important;
|
2130
|
+
}
|
2120
2131
|
.focus\:border-info-70:focus {
|
2121
2132
|
--tw-border-opacity: 1 !important;
|
2122
2133
|
border-color: rgb(3 153 227 / var(--tw-border-opacity)) !important;
|
@@ -2342,10 +2353,6 @@ input[type='number'].no-arrows {
|
|
2342
2353
|
--tw-bg-opacity: 1 !important;
|
2343
2354
|
background-color: rgb(247 247 250 / var(--tw-bg-opacity)) !important;
|
2344
2355
|
}
|
2345
|
-
.group:hover .group-hover\:bg-grey-30 {
|
2346
|
-
--tw-bg-opacity: 1 !important;
|
2347
|
-
background-color: rgb(180 180 187 / var(--tw-bg-opacity)) !important;
|
2348
|
-
}
|
2349
2356
|
.peer\/switch:checked~.peer-checked\/switch\:left-1 {
|
2350
2357
|
left: 2px !important;
|
2351
2358
|
}
|
@@ -2357,14 +2364,6 @@ input[type='number'].no-arrows {
|
|
2357
2364
|
--tw-border-opacity: 1 !important;
|
2358
2365
|
border-color: rgb(48 55 94 / var(--tw-border-opacity)) !important;
|
2359
2366
|
}
|
2360
|
-
.peer:checked~.peer-checked\:bg-navyBlue-100 {
|
2361
|
-
--tw-bg-opacity: 1 !important;
|
2362
|
-
background-color: rgb(48 55 94 / var(--tw-bg-opacity)) !important;
|
2363
|
-
}
|
2364
|
-
.peer\/switch:checked~.peer-checked\/switch\:bg-navyBlue-100 {
|
2365
|
-
--tw-bg-opacity: 1 !important;
|
2366
|
-
background-color: rgb(48 55 94 / var(--tw-bg-opacity)) !important;
|
2367
|
-
}
|
2368
2367
|
.peer:checked~.peer-checked\:text-white {
|
2369
2368
|
--tw-text-opacity: 1 !important;
|
2370
2369
|
color: rgb(255 255 255 / var(--tw-text-opacity)) !important;
|
@@ -2373,27 +2372,14 @@ input[type='number'].no-arrows {
|
|
2373
2372
|
--tw-text-opacity: 1 !important;
|
2374
2373
|
color: rgb(180 180 187 / var(--tw-text-opacity)) !important;
|
2375
2374
|
}
|
2376
|
-
.peer\/switch:checked~.peer-checked\/switch\:opacity-40 {
|
2377
|
-
opacity: 0.4 !important;
|
2378
|
-
}
|
2379
2375
|
.peer:hover~.peer-hover\:border-grey-50 {
|
2380
2376
|
--tw-border-opacity: 1 !important;
|
2381
2377
|
border-color: rgb(120 120 133 / var(--tw-border-opacity)) !important;
|
2382
2378
|
}
|
2383
|
-
.peer\/switch:focus~.peer-focus\/switch\:border {
|
2384
|
-
border-width: 1px !important;
|
2385
|
-
}
|
2386
2379
|
.peer:focus~.peer-focus\:border-info-70 {
|
2387
2380
|
--tw-border-opacity: 1 !important;
|
2388
2381
|
border-color: rgb(3 153 227 / var(--tw-border-opacity)) !important;
|
2389
2382
|
}
|
2390
|
-
.peer:disabled~.peer-disabled\:cursor-not-allowed {
|
2391
|
-
cursor: not-allowed !important;
|
2392
|
-
}
|
2393
|
-
.peer:disabled~.peer-disabled\:border-grey-5 {
|
2394
|
-
--tw-border-opacity: 1 !important;
|
2395
|
-
border-color: rgb(237 237 240 / var(--tw-border-opacity)) !important;
|
2396
|
-
}
|
2397
2383
|
.peer\/switch:disabled~.peer-disabled\/switch\:bg-grey-0 {
|
2398
2384
|
--tw-bg-opacity: 1 !important;
|
2399
2385
|
background-color: rgb(247 247 250 / var(--tw-bg-opacity)) !important;
|
@@ -2408,15 +2394,15 @@ input[type='number'].no-arrows {
|
|
2408
2394
|
.children\:last\:border-b-0:last-child>* {
|
2409
2395
|
border-bottom-width: 0px !important;
|
2410
2396
|
}
|
2397
|
+
.\[\&\>path\]\:stroke-transparent>path {
|
2398
|
+
stroke: transparent !important;
|
2399
|
+
}
|
2411
2400
|
.peer:checked~.peer-checked\:\[\&\>path\]\:stroke-white>path {
|
2412
2401
|
stroke: white !important;
|
2413
2402
|
}
|
2414
2403
|
.peer:checked~.peer-checked\:\[\&\>path\]\:stroke-grey-30>path {
|
2415
2404
|
stroke: #b4b4bb !important;
|
2416
2405
|
}
|
2417
|
-
.peer:checked~.peer-checked\:\[\&\>path\]\:stroke-2>path {
|
2418
|
-
stroke-width: 2 !important;
|
2419
|
-
}
|
2420
2406
|
.\[\&\>\*\:not\(\:first-child\)\]\:-ml-3>*:not(:first-child) {
|
2421
2407
|
margin-left: -8px !important;
|
2422
2408
|
}
|
package/dist/system.cjs
CHANGED
@@ -3584,6 +3584,7 @@ var BorderBox = createSimpleComponent(
|
|
3584
3584
|
// src/components/Skeleton/Skeleton.tsx
|
3585
3585
|
var import_react18 = __toESM(require("react"));
|
3586
3586
|
var import_isNumber = __toESM(require("lodash/isNumber"));
|
3587
|
+
var import_isUndefined7 = __toESM(require("lodash/isUndefined"));
|
3587
3588
|
var Skeleton = ({
|
3588
3589
|
width,
|
3589
3590
|
height,
|
@@ -3594,7 +3595,7 @@ var Skeleton = ({
|
|
3594
3595
|
}) => {
|
3595
3596
|
const styles = {
|
3596
3597
|
width: (0, import_isNumber.default)(width) ? `${width}px` : width,
|
3597
|
-
height: (0, import_isNumber.default)(height) ? `${height}px` : height
|
3598
|
+
height: (0, import_isUndefined7.default)(height) ? "1em" : (0, import_isNumber.default)(height) ? `${height}px` : height
|
3598
3599
|
};
|
3599
3600
|
return /* @__PURE__ */ import_react18.default.createElement("div", {
|
3600
3601
|
style: styles,
|
@@ -4386,27 +4387,36 @@ var Checkbox = import_react31.default.forwardRef(
|
|
4386
4387
|
(_a, ref) => {
|
4387
4388
|
var _b = _a, { id, children, name, disabled = false, readOnly = false, indeterminate = false } = _b, props = __objRest(_b, ["id", "children", "name", "disabled", "readOnly", "indeterminate"]);
|
4388
4389
|
return /* @__PURE__ */ import_react31.default.createElement("span", {
|
4389
|
-
className: tw("inline-flex justify-center items-center self-center")
|
4390
|
+
className: classNames(tw("inline-flex justify-center items-center self-center relative"), {
|
4391
|
+
"hover:border-grey-50 peer-checked:border-navyBlue-100": !disabled,
|
4392
|
+
"border-grey-5": disabled
|
4393
|
+
})
|
4390
4394
|
}, /* @__PURE__ */ import_react31.default.createElement("input", __spreadProps(__spreadValues({
|
4391
4395
|
id,
|
4392
4396
|
ref,
|
4393
4397
|
type: "checkbox",
|
4394
4398
|
name
|
4395
4399
|
}, props), {
|
4396
|
-
className:
|
4400
|
+
className: classNames(
|
4401
|
+
tw("peer appearance-none outline-none w-5 h-5", "rounded-sm border border-transparent", {
|
4402
|
+
"cursor-pointer checked:bg-navyBlue-100": !disabled,
|
4403
|
+
"cursor-not-allowed bg-grey-0": disabled
|
4404
|
+
})
|
4405
|
+
),
|
4397
4406
|
readOnly,
|
4398
4407
|
disabled
|
4399
4408
|
})), /* @__PURE__ */ import_react31.default.createElement(Icon, {
|
4400
4409
|
icon: indeterminate ? import_minus.default : import_tick2.default,
|
4401
4410
|
className: classNames(
|
4402
4411
|
tw(
|
4403
|
-
"
|
4404
|
-
"
|
4405
|
-
"text-transparent
|
4412
|
+
"absolute top-0 right-0",
|
4413
|
+
"pointer-events-none p-[2px] w-5 h-5",
|
4414
|
+
"text-transparent [&>path]:stroke-transparent",
|
4415
|
+
"rounded-sm border border-grey-20 peer-focus:border-info-70"
|
4406
4416
|
),
|
4407
4417
|
{
|
4408
|
-
"peer-checked:
|
4409
|
-
"
|
4418
|
+
"peer-hover:border-grey-50 peer-checked:text-white peer-checked:[&>path]:stroke-white peer-checked:border-navyBlue-100": !disabled,
|
4419
|
+
"border-grey-5 peer-checked:text-grey-30 peer-checked:[&>path]:stroke-grey-30": disabled
|
4410
4420
|
}
|
4411
4421
|
)
|
4412
4422
|
}));
|
@@ -5150,9 +5160,9 @@ var RadioButton = import_react46.default.forwardRef(
|
|
5150
5160
|
}, props), {
|
5151
5161
|
className: classNames(
|
5152
5162
|
tw(
|
5153
|
-
"inline-flex justify-center items-center self-center appearance-none
|
5163
|
+
"inline-flex justify-center items-center self-center appearance-none",
|
5154
5164
|
"w-5 h-5 p-[3px] rounded-full cursor-pointer border border-grey-20",
|
5155
|
-
"focus:border-info-70 checked:bg-navyBlue-100 checked:shadow-whiteInset",
|
5165
|
+
"outline-none focus:border-info-70 checked:bg-navyBlue-100 checked:shadow-whiteInset",
|
5156
5166
|
{
|
5157
5167
|
"hover:border-grey-50 checked:border-navyBlue-100": !disabled,
|
5158
5168
|
"cursor-not-allowed border-grey-5 bg-grey-0 checked:bg-opacity-40": disabled
|
@@ -8427,21 +8437,22 @@ var Switch = import_react89.default.forwardRef(
|
|
8427
8437
|
type: "checkbox",
|
8428
8438
|
name
|
8429
8439
|
}, props), {
|
8430
|
-
className:
|
8440
|
+
className: classNames(
|
8441
|
+
tw(
|
8442
|
+
"appearance-none peer/switch rounded-full inline-block w-[34px] h-[20px] transition duration-300",
|
8443
|
+
"outline-none focus:border border-info-70 bg-grey-20",
|
8444
|
+
"cursor-pointer disabled:cursor-not-allowed",
|
8445
|
+
{
|
8446
|
+
"hover:bg-grey-30 checked:bg-navyBlue-100 hover:checked:bg-navyBlue-100": !disabled,
|
8447
|
+
"bg-grey-5 checked:opacity-40": disabled
|
8448
|
+
}
|
8449
|
+
)
|
8450
|
+
),
|
8431
8451
|
readOnly,
|
8432
8452
|
disabled
|
8433
8453
|
})), /* @__PURE__ */ import_react89.default.createElement("span", {
|
8434
8454
|
className: tw(
|
8435
|
-
"rounded-full inline-block
|
8436
|
-
"peer-focus/switch:border border-info-70 bg-grey-20",
|
8437
|
-
{
|
8438
|
-
"group-hover:bg-grey-30 peer-checked/switch:bg-navyBlue-100": !disabled,
|
8439
|
-
"bg-grey-5 peer-checked/switch:opacity-40": disabled
|
8440
|
-
}
|
8441
|
-
)
|
8442
|
-
}), /* @__PURE__ */ import_react89.default.createElement("span", {
|
8443
|
-
className: tw(
|
8444
|
-
"rounded-full absolute inline-block transition duration-300 h-4 w-4 transform peer-checked/switch:translate-x-5",
|
8455
|
+
"pointer-events-none rounded-full absolute inline-block transition duration-300 h-4 w-4 transform peer-checked/switch:translate-x-5",
|
8445
8456
|
"bg-white peer-disabled/switch:bg-grey-0 left-2 peer-checked/switch:left-1",
|
8446
8457
|
{
|
8447
8458
|
"shadow-4dp": !disabled
|
@@ -8693,7 +8704,8 @@ var TimelineItemSkeleton = () => /* @__PURE__ */ import_react95.default.createEl
|
|
8693
8704
|
height: 12,
|
8694
8705
|
width: 120
|
8695
8706
|
}), /* @__PURE__ */ import_react95.default.createElement(Timeline.LineContainer, null, /* @__PURE__ */ import_react95.default.createElement(Skeleton, {
|
8696
|
-
width: 2
|
8707
|
+
width: 2,
|
8708
|
+
height: "100%"
|
8697
8709
|
})), /* @__PURE__ */ import_react95.default.createElement(Timeline.Content, null, /* @__PURE__ */ import_react95.default.createElement(Box, {
|
8698
8710
|
display: "flex",
|
8699
8711
|
flexDirection: "column",
|
package/dist/system.mjs
CHANGED
@@ -3450,6 +3450,7 @@ var BorderBox = createSimpleComponent(
|
|
3450
3450
|
// src/components/Skeleton/Skeleton.tsx
|
3451
3451
|
import React14 from "react";
|
3452
3452
|
import isNumber from "lodash/isNumber";
|
3453
|
+
import isUndefined7 from "lodash/isUndefined";
|
3453
3454
|
var Skeleton = ({
|
3454
3455
|
width,
|
3455
3456
|
height,
|
@@ -3460,7 +3461,7 @@ var Skeleton = ({
|
|
3460
3461
|
}) => {
|
3461
3462
|
const styles = {
|
3462
3463
|
width: isNumber(width) ? `${width}px` : width,
|
3463
|
-
height: isNumber(height) ? `${height}px` : height
|
3464
|
+
height: isUndefined7(height) ? "1em" : isNumber(height) ? `${height}px` : height
|
3464
3465
|
};
|
3465
3466
|
return /* @__PURE__ */ React14.createElement("div", {
|
3466
3467
|
style: styles,
|
@@ -4252,27 +4253,36 @@ var Checkbox = React26.forwardRef(
|
|
4252
4253
|
(_a, ref) => {
|
4253
4254
|
var _b = _a, { id, children, name, disabled = false, readOnly = false, indeterminate = false } = _b, props = __objRest(_b, ["id", "children", "name", "disabled", "readOnly", "indeterminate"]);
|
4254
4255
|
return /* @__PURE__ */ React26.createElement("span", {
|
4255
|
-
className: tw("inline-flex justify-center items-center self-center")
|
4256
|
+
className: classNames(tw("inline-flex justify-center items-center self-center relative"), {
|
4257
|
+
"hover:border-grey-50 peer-checked:border-navyBlue-100": !disabled,
|
4258
|
+
"border-grey-5": disabled
|
4259
|
+
})
|
4256
4260
|
}, /* @__PURE__ */ React26.createElement("input", __spreadProps(__spreadValues({
|
4257
4261
|
id,
|
4258
4262
|
ref,
|
4259
4263
|
type: "checkbox",
|
4260
4264
|
name
|
4261
4265
|
}, props), {
|
4262
|
-
className:
|
4266
|
+
className: classNames(
|
4267
|
+
tw("peer appearance-none outline-none w-5 h-5", "rounded-sm border border-transparent", {
|
4268
|
+
"cursor-pointer checked:bg-navyBlue-100": !disabled,
|
4269
|
+
"cursor-not-allowed bg-grey-0": disabled
|
4270
|
+
})
|
4271
|
+
),
|
4263
4272
|
readOnly,
|
4264
4273
|
disabled
|
4265
4274
|
})), /* @__PURE__ */ React26.createElement(Icon, {
|
4266
4275
|
icon: indeterminate ? import_minus.default : import_tick2.default,
|
4267
4276
|
className: classNames(
|
4268
4277
|
tw(
|
4269
|
-
"
|
4270
|
-
"
|
4271
|
-
"text-transparent
|
4278
|
+
"absolute top-0 right-0",
|
4279
|
+
"pointer-events-none p-[2px] w-5 h-5",
|
4280
|
+
"text-transparent [&>path]:stroke-transparent",
|
4281
|
+
"rounded-sm border border-grey-20 peer-focus:border-info-70"
|
4272
4282
|
),
|
4273
4283
|
{
|
4274
|
-
"peer-checked:
|
4275
|
-
"
|
4284
|
+
"peer-hover:border-grey-50 peer-checked:text-white peer-checked:[&>path]:stroke-white peer-checked:border-navyBlue-100": !disabled,
|
4285
|
+
"border-grey-5 peer-checked:text-grey-30 peer-checked:[&>path]:stroke-grey-30": disabled
|
4276
4286
|
}
|
4277
4287
|
)
|
4278
4288
|
}));
|
@@ -5016,9 +5026,9 @@ var RadioButton = React41.forwardRef(
|
|
5016
5026
|
}, props), {
|
5017
5027
|
className: classNames(
|
5018
5028
|
tw(
|
5019
|
-
"inline-flex justify-center items-center self-center appearance-none
|
5029
|
+
"inline-flex justify-center items-center self-center appearance-none",
|
5020
5030
|
"w-5 h-5 p-[3px] rounded-full cursor-pointer border border-grey-20",
|
5021
|
-
"focus:border-info-70 checked:bg-navyBlue-100 checked:shadow-whiteInset",
|
5031
|
+
"outline-none focus:border-info-70 checked:bg-navyBlue-100 checked:shadow-whiteInset",
|
5022
5032
|
{
|
5023
5033
|
"hover:border-grey-50 checked:border-navyBlue-100": !disabled,
|
5024
5034
|
"cursor-not-allowed border-grey-5 bg-grey-0 checked:bg-opacity-40": disabled
|
@@ -8293,21 +8303,22 @@ var Switch = React83.forwardRef(
|
|
8293
8303
|
type: "checkbox",
|
8294
8304
|
name
|
8295
8305
|
}, props), {
|
8296
|
-
className:
|
8306
|
+
className: classNames(
|
8307
|
+
tw(
|
8308
|
+
"appearance-none peer/switch rounded-full inline-block w-[34px] h-[20px] transition duration-300",
|
8309
|
+
"outline-none focus:border border-info-70 bg-grey-20",
|
8310
|
+
"cursor-pointer disabled:cursor-not-allowed",
|
8311
|
+
{
|
8312
|
+
"hover:bg-grey-30 checked:bg-navyBlue-100 hover:checked:bg-navyBlue-100": !disabled,
|
8313
|
+
"bg-grey-5 checked:opacity-40": disabled
|
8314
|
+
}
|
8315
|
+
)
|
8316
|
+
),
|
8297
8317
|
readOnly,
|
8298
8318
|
disabled
|
8299
8319
|
})), /* @__PURE__ */ React83.createElement("span", {
|
8300
8320
|
className: tw(
|
8301
|
-
"rounded-full inline-block
|
8302
|
-
"peer-focus/switch:border border-info-70 bg-grey-20",
|
8303
|
-
{
|
8304
|
-
"group-hover:bg-grey-30 peer-checked/switch:bg-navyBlue-100": !disabled,
|
8305
|
-
"bg-grey-5 peer-checked/switch:opacity-40": disabled
|
8306
|
-
}
|
8307
|
-
)
|
8308
|
-
}), /* @__PURE__ */ React83.createElement("span", {
|
8309
|
-
className: tw(
|
8310
|
-
"rounded-full absolute inline-block transition duration-300 h-4 w-4 transform peer-checked/switch:translate-x-5",
|
8321
|
+
"pointer-events-none rounded-full absolute inline-block transition duration-300 h-4 w-4 transform peer-checked/switch:translate-x-5",
|
8311
8322
|
"bg-white peer-disabled/switch:bg-grey-0 left-2 peer-checked/switch:left-1",
|
8312
8323
|
{
|
8313
8324
|
"shadow-4dp": !disabled
|
@@ -8559,7 +8570,8 @@ var TimelineItemSkeleton = () => /* @__PURE__ */ React89.createElement(Timeline,
|
|
8559
8570
|
height: 12,
|
8560
8571
|
width: 120
|
8561
8572
|
}), /* @__PURE__ */ React89.createElement(Timeline.LineContainer, null, /* @__PURE__ */ React89.createElement(Skeleton, {
|
8562
|
-
width: 2
|
8573
|
+
width: 2,
|
8574
|
+
height: "100%"
|
8563
8575
|
})), /* @__PURE__ */ React89.createElement(Timeline.Content, null, /* @__PURE__ */ React89.createElement(Box, {
|
8564
8576
|
display: "flex",
|
8565
8577
|
flexDirection: "column",
|