@aivenio/aquarium 6.2.0 → 6.4.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 -0
- package/dist/atoms.cjs +297 -149
- package/dist/atoms.mjs +210 -62
- package/dist/charts.cjs +1 -0
- package/dist/charts.mjs +1 -0
- package/dist/src/atoms/DataList/DataList.js +1 -1
- package/dist/src/atoms/Modal/Modal.d.ts +73 -3
- package/dist/src/atoms/Modal/Modal.js +48 -41
- package/dist/src/atoms/Stepper/Stepper.d.ts +4 -0
- package/dist/src/atoms/Stepper/Stepper.js +87 -23
- package/dist/src/atoms/Timeline/Timeline.d.ts +3 -2
- package/dist/src/atoms/Timeline/Timeline.js +2 -2
- package/dist/src/icons/healthHipaa.d.ts +8 -0
- package/dist/src/icons/healthHipaa.js +9 -0
- package/dist/src/icons/index.d.ts +2 -0
- package/dist/src/icons/index.js +3 -1
- package/dist/src/icons/pciDss.d.ts +8 -0
- package/dist/src/icons/pciDss.js +9 -0
- package/dist/src/molecules/Modal/Modal.js +2 -2
- package/dist/src/molecules/Stepper/Stepper.d.ts +4 -0
- package/dist/src/molecules/Stepper/Stepper.js +7 -7
- package/dist/src/molecules/Timeline/Timeline.d.ts +3 -2
- package/dist/src/molecules/Timeline/Timeline.js +16 -4
- package/dist/src/tokens/tokens.json +1 -0
- package/dist/src/utils/useScrollFade.d.ts +17 -0
- package/dist/src/utils/useScrollFade.js +44 -0
- package/dist/styles.css +57 -6
- package/dist/system.cjs +907 -729
- package/dist/system.mjs +334 -156
- package/dist/tokens.json +1 -0
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/atoms.mjs
CHANGED
|
@@ -809,6 +809,7 @@ var tokens_default = {
|
|
|
809
809
|
code: {
|
|
810
810
|
background: "rgba(250,250,250,1)",
|
|
811
811
|
text: "rgba(45,46,48,1)",
|
|
812
|
+
variable: "rgba(91,30,103,1)",
|
|
812
813
|
keyword: "rgba(202, 33, 101, 1)",
|
|
813
814
|
string: "rgba(0, 127, 115, 1)",
|
|
814
815
|
function: "rgba(9, 128, 193, 1)",
|
|
@@ -3457,7 +3458,7 @@ var toolbarContainerClasses = tv14({
|
|
|
3457
3458
|
base: "col-span-full flex items-stretch py-4 px-l2 border-b border-muted",
|
|
3458
3459
|
variants: {
|
|
3459
3460
|
sticky: {
|
|
3460
|
-
true: "sticky top-[
|
|
3461
|
+
true: "sticky top-[43px] bg-layer z-10",
|
|
3461
3462
|
false: ""
|
|
3462
3463
|
}
|
|
3463
3464
|
}
|
|
@@ -6625,38 +6626,46 @@ var InputGroup = ({ cols = "1", children, ...rest }) => {
|
|
|
6625
6626
|
// src/atoms/Modal/Modal.tsx
|
|
6626
6627
|
import React38 from "react";
|
|
6627
6628
|
import { tv as tv18 } from "tailwind-variants";
|
|
6628
|
-
|
|
6629
|
-
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
|
|
6641
|
-
"before:to-transparent",
|
|
6642
|
-
"before:z-10"
|
|
6643
|
-
],
|
|
6644
|
-
after: [
|
|
6645
|
-
'after:content-[""]',
|
|
6646
|
-
"after:pointer-events-none",
|
|
6647
|
-
"after:sticky",
|
|
6648
|
-
"after:bottom-3",
|
|
6649
|
-
"after:left-0",
|
|
6650
|
-
"after:h-5",
|
|
6651
|
-
"after:flex-shrink-0",
|
|
6652
|
-
"after:bg-gradient-to-t",
|
|
6653
|
-
"after:from-overlay",
|
|
6654
|
-
"after:to-transparent",
|
|
6655
|
-
"after:z-10"
|
|
6656
|
-
]
|
|
6629
|
+
|
|
6630
|
+
// src/utils/useScrollFade.ts
|
|
6631
|
+
import { useCallback, useEffect as useEffect4, useRef as useRef2, useState as useState2 } from "react";
|
|
6632
|
+
var useScrollFade = () => {
|
|
6633
|
+
const topSentinelRef = useRef2(null);
|
|
6634
|
+
const bottomSentinelRef = useRef2(null);
|
|
6635
|
+
const observerRef = useRef2(null);
|
|
6636
|
+
const [showTopFade, setShowTopFade] = useState2(false);
|
|
6637
|
+
const [showBottomFade, setShowBottomFade] = useState2(false);
|
|
6638
|
+
const containerRef = useCallback((container2) => {
|
|
6639
|
+
observerRef.current?.disconnect();
|
|
6640
|
+
if (!container2) {
|
|
6641
|
+
return;
|
|
6657
6642
|
}
|
|
6658
|
-
|
|
6659
|
-
|
|
6643
|
+
observerRef.current = new IntersectionObserver(
|
|
6644
|
+
(entries) => {
|
|
6645
|
+
entries.forEach((entry) => {
|
|
6646
|
+
if (entry.target === topSentinelRef.current) {
|
|
6647
|
+
setShowTopFade(!entry.isIntersecting);
|
|
6648
|
+
} else if (entry.target === bottomSentinelRef.current) {
|
|
6649
|
+
setShowBottomFade(!entry.isIntersecting);
|
|
6650
|
+
}
|
|
6651
|
+
});
|
|
6652
|
+
},
|
|
6653
|
+
{ root: container2, threshold: 0 }
|
|
6654
|
+
);
|
|
6655
|
+
if (topSentinelRef.current) {
|
|
6656
|
+
observerRef.current.observe(topSentinelRef.current);
|
|
6657
|
+
}
|
|
6658
|
+
if (bottomSentinelRef.current) {
|
|
6659
|
+
observerRef.current.observe(bottomSentinelRef.current);
|
|
6660
|
+
}
|
|
6661
|
+
}, []);
|
|
6662
|
+
useEffect4(() => {
|
|
6663
|
+
return () => observerRef.current?.disconnect();
|
|
6664
|
+
}, []);
|
|
6665
|
+
return { containerRef, topSentinelRef, bottomSentinelRef, showTopFade, showBottomFade };
|
|
6666
|
+
};
|
|
6667
|
+
|
|
6668
|
+
// src/atoms/Modal/Modal.tsx
|
|
6660
6669
|
var modalStyles = tv18({
|
|
6661
6670
|
slots: {
|
|
6662
6671
|
overlay: "inset-0 overflow-y-auto z-modal fixed",
|
|
@@ -6668,11 +6677,7 @@ var modalStyles = tv18({
|
|
|
6668
6677
|
title: "",
|
|
6669
6678
|
subtitle: "max-w-[700px]",
|
|
6670
6679
|
closeButtonContainer: "absolute top-[24px] right-[28px]",
|
|
6671
|
-
body:
|
|
6672
|
-
"grow overflow-y-auto text-default flex flex-col outline-none",
|
|
6673
|
-
bodyMaskClasses({ position: "before" }),
|
|
6674
|
-
bodyMaskClasses({ position: "after" })
|
|
6675
|
-
],
|
|
6680
|
+
body: "grow overflow-y-auto text-default flex flex-col outline-none",
|
|
6676
6681
|
bodyContent: "px-7 grow",
|
|
6677
6682
|
footer: "px-7 pt-4 pb-6",
|
|
6678
6683
|
actions: "flex gap-3 justify-end"
|
|
@@ -6716,10 +6721,48 @@ var modalStyles = tv18({
|
|
|
6716
6721
|
false: {
|
|
6717
6722
|
headerImage: "bg-medium"
|
|
6718
6723
|
}
|
|
6724
|
+
},
|
|
6725
|
+
showTopFade: {
|
|
6726
|
+
true: {
|
|
6727
|
+
body: [
|
|
6728
|
+
'before:content-[""]',
|
|
6729
|
+
"before:pointer-events-none",
|
|
6730
|
+
"before:sticky",
|
|
6731
|
+
"before:top-0",
|
|
6732
|
+
"before:left-0",
|
|
6733
|
+
"before:h-5",
|
|
6734
|
+
"before:-mb-5",
|
|
6735
|
+
"before:flex-shrink-0",
|
|
6736
|
+
"before:bg-gradient-to-b",
|
|
6737
|
+
"before:from-overlay",
|
|
6738
|
+
"before:to-transparent",
|
|
6739
|
+
"before:z-10"
|
|
6740
|
+
]
|
|
6741
|
+
}
|
|
6742
|
+
},
|
|
6743
|
+
showBottomFade: {
|
|
6744
|
+
true: {
|
|
6745
|
+
body: [
|
|
6746
|
+
'after:content-[""]',
|
|
6747
|
+
"after:pointer-events-none",
|
|
6748
|
+
"after:sticky",
|
|
6749
|
+
"after:bottom-0",
|
|
6750
|
+
"after:left-0",
|
|
6751
|
+
"after:h-[60px]",
|
|
6752
|
+
"after:-mt-[60px]",
|
|
6753
|
+
"after:flex-shrink-0",
|
|
6754
|
+
"after:bg-gradient-to-t",
|
|
6755
|
+
"after:from-overlay",
|
|
6756
|
+
"after:to-transparent",
|
|
6757
|
+
"after:z-10"
|
|
6758
|
+
]
|
|
6759
|
+
}
|
|
6719
6760
|
}
|
|
6720
6761
|
},
|
|
6721
6762
|
defaultVariants: {
|
|
6722
|
-
isResponsive: true
|
|
6763
|
+
isResponsive: true,
|
|
6764
|
+
showTopFade: false,
|
|
6765
|
+
showBottomFade: false
|
|
6723
6766
|
},
|
|
6724
6767
|
compoundVariants: [
|
|
6725
6768
|
{
|
|
@@ -6829,10 +6872,31 @@ Modal.TitleContainer = ({ children, className, ...rest }) => {
|
|
|
6829
6872
|
const { titleContainer: titleContainer2 } = modalStyles();
|
|
6830
6873
|
return /* @__PURE__ */ React38.createElement("div", { ...rest, className: titleContainer2({ className }) }, children);
|
|
6831
6874
|
};
|
|
6832
|
-
|
|
6875
|
+
var ModalBody = ({
|
|
6876
|
+
children,
|
|
6877
|
+
className,
|
|
6878
|
+
noFooter = false,
|
|
6879
|
+
maxHeight,
|
|
6880
|
+
style,
|
|
6881
|
+
size,
|
|
6882
|
+
...rest
|
|
6883
|
+
}) => {
|
|
6833
6884
|
const { body, bodyContent } = modalStyles({ size });
|
|
6834
|
-
|
|
6885
|
+
const { containerRef, topSentinelRef, bottomSentinelRef, showTopFade, showBottomFade } = useScrollFade();
|
|
6886
|
+
return /* @__PURE__ */ React38.createElement(
|
|
6887
|
+
"div",
|
|
6888
|
+
{
|
|
6889
|
+
...rest,
|
|
6890
|
+
ref: containerRef,
|
|
6891
|
+
className: body({ className, showTopFade, showBottomFade }),
|
|
6892
|
+
style: { maxHeight, ...style }
|
|
6893
|
+
},
|
|
6894
|
+
/* @__PURE__ */ React38.createElement("div", { ref: topSentinelRef, "aria-hidden": "true", className: "h-1px" }),
|
|
6895
|
+
/* @__PURE__ */ React38.createElement("div", { className: bodyContent({ noFooter }) }, children),
|
|
6896
|
+
/* @__PURE__ */ React38.createElement("div", { ref: bottomSentinelRef, "aria-hidden": "true", className: "h-1px -mt-1px" })
|
|
6897
|
+
);
|
|
6835
6898
|
};
|
|
6899
|
+
Modal.Body = ModalBody;
|
|
6836
6900
|
Modal.Footer = ({ children, className, ...rest }) => {
|
|
6837
6901
|
const { footer } = modalStyles();
|
|
6838
6902
|
return /* @__PURE__ */ React38.createElement("div", { ...rest, className: footer({ className }) }, children);
|
|
@@ -7301,30 +7365,84 @@ import React46 from "react";
|
|
|
7301
7365
|
import { tv as tv25 } from "tailwind-variants";
|
|
7302
7366
|
var connectorStyles = tv25({
|
|
7303
7367
|
slots: {
|
|
7304
|
-
container: "absolute
|
|
7305
|
-
connector: "
|
|
7368
|
+
container: "absolute",
|
|
7369
|
+
connector: ""
|
|
7306
7370
|
},
|
|
7307
7371
|
variants: {
|
|
7308
7372
|
completed: {
|
|
7309
7373
|
true: { connector: "bg-success-graphic" },
|
|
7310
|
-
false: { connector: "bg-
|
|
7374
|
+
false: { connector: "bg-muted" }
|
|
7311
7375
|
},
|
|
7312
|
-
|
|
7313
|
-
|
|
7314
|
-
container: "
|
|
7315
|
-
connector: "h-[3px]"
|
|
7376
|
+
direction: {
|
|
7377
|
+
horizontal: {
|
|
7378
|
+
container: "w-full -left-1/2"
|
|
7316
7379
|
},
|
|
7317
|
-
|
|
7318
|
-
container: "
|
|
7319
|
-
connector: "h-[2px]"
|
|
7380
|
+
vertical: {
|
|
7381
|
+
container: "h-full -top-2/3"
|
|
7320
7382
|
}
|
|
7383
|
+
},
|
|
7384
|
+
dense: {
|
|
7385
|
+
true: {},
|
|
7386
|
+
false: {}
|
|
7321
7387
|
}
|
|
7322
|
-
}
|
|
7388
|
+
},
|
|
7389
|
+
compoundSlots: [
|
|
7390
|
+
// Horizontal layout - horizontal connectors between side-by-side steps
|
|
7391
|
+
{
|
|
7392
|
+
slots: ["container"],
|
|
7393
|
+
direction: "horizontal",
|
|
7394
|
+
dense: true,
|
|
7395
|
+
class: "top-[3px] px-[14px]"
|
|
7396
|
+
},
|
|
7397
|
+
{
|
|
7398
|
+
slots: ["container"],
|
|
7399
|
+
direction: "horizontal",
|
|
7400
|
+
dense: false,
|
|
7401
|
+
class: "top-[14px] px-[20px]"
|
|
7402
|
+
},
|
|
7403
|
+
{
|
|
7404
|
+
slots: ["connector"],
|
|
7405
|
+
direction: "horizontal",
|
|
7406
|
+
dense: true,
|
|
7407
|
+
class: "w-full h-[3px]"
|
|
7408
|
+
},
|
|
7409
|
+
{
|
|
7410
|
+
slots: ["connector"],
|
|
7411
|
+
direction: "horizontal",
|
|
7412
|
+
dense: false,
|
|
7413
|
+
class: "w-full h-[2px]"
|
|
7414
|
+
},
|
|
7415
|
+
// Vertical layout - vertical connectors between stacked steps
|
|
7416
|
+
{
|
|
7417
|
+
slots: ["container"],
|
|
7418
|
+
direction: "vertical",
|
|
7419
|
+
dense: true,
|
|
7420
|
+
class: "left-[3px] pt-[4px] pb-[24px]"
|
|
7421
|
+
},
|
|
7422
|
+
{
|
|
7423
|
+
slots: ["container"],
|
|
7424
|
+
direction: "vertical",
|
|
7425
|
+
dense: false,
|
|
7426
|
+
class: "left-[16px] pt-[12px] pb-[30px]"
|
|
7427
|
+
},
|
|
7428
|
+
{
|
|
7429
|
+
slots: ["connector"],
|
|
7430
|
+
direction: "vertical",
|
|
7431
|
+
dense: true,
|
|
7432
|
+
class: "h-full w-[3px]"
|
|
7433
|
+
},
|
|
7434
|
+
{
|
|
7435
|
+
slots: ["connector"],
|
|
7436
|
+
direction: "vertical",
|
|
7437
|
+
dense: false,
|
|
7438
|
+
class: "h-full w-[2px]"
|
|
7439
|
+
}
|
|
7440
|
+
]
|
|
7323
7441
|
});
|
|
7324
7442
|
var stepStyles = tv25({
|
|
7325
7443
|
slots: {
|
|
7326
|
-
step: "flex
|
|
7327
|
-
indicator: "Aquarium-Stepper-Indicator rounded-full flex justify-center items-center
|
|
7444
|
+
step: "flex relative text-center",
|
|
7445
|
+
indicator: "Aquarium-Stepper-Indicator rounded-full flex justify-center items-center"
|
|
7328
7446
|
},
|
|
7329
7447
|
variants: {
|
|
7330
7448
|
state: {
|
|
@@ -7332,6 +7450,16 @@ var stepStyles = tv25({
|
|
|
7332
7450
|
completed: { step: "text-intense" },
|
|
7333
7451
|
inactive: { step: "text-inactive" }
|
|
7334
7452
|
},
|
|
7453
|
+
direction: {
|
|
7454
|
+
vertical: {
|
|
7455
|
+
step: "flex-row items-center pb-8",
|
|
7456
|
+
indicator: "mr-l1"
|
|
7457
|
+
},
|
|
7458
|
+
horizontal: {
|
|
7459
|
+
step: "flex-col items-center",
|
|
7460
|
+
indicator: "mx-2 mb-3"
|
|
7461
|
+
}
|
|
7462
|
+
},
|
|
7335
7463
|
dense: {
|
|
7336
7464
|
true: { indicator: "h-[8px] w-[8px]" },
|
|
7337
7465
|
false: { indicator: "h-[32px] w-[32px]" }
|
|
@@ -7349,7 +7477,7 @@ var stepStyles = tv25({
|
|
|
7349
7477
|
slots: ["indicator"],
|
|
7350
7478
|
dense: false,
|
|
7351
7479
|
state: "inactive",
|
|
7352
|
-
class: "border-2 border-
|
|
7480
|
+
class: "border-2 border-muted"
|
|
7353
7481
|
},
|
|
7354
7482
|
{
|
|
7355
7483
|
slots: ["indicator"],
|
|
@@ -7382,22 +7510,42 @@ var Stepper = ({ className, ...rest }) => /* @__PURE__ */ React46.createElement(
|
|
|
7382
7510
|
var ConnectorContainer = ({
|
|
7383
7511
|
className,
|
|
7384
7512
|
dense = false,
|
|
7513
|
+
direction = "horizontal",
|
|
7385
7514
|
...rest
|
|
7386
7515
|
}) => {
|
|
7387
|
-
const { container: container2 } = connectorStyles({ dense });
|
|
7516
|
+
const { container: container2 } = connectorStyles({ dense, direction });
|
|
7388
7517
|
return /* @__PURE__ */ React46.createElement("div", { ...rest, className: container2({ className }) });
|
|
7389
7518
|
};
|
|
7390
|
-
var Connector = ({
|
|
7391
|
-
|
|
7519
|
+
var Connector = ({
|
|
7520
|
+
children,
|
|
7521
|
+
className,
|
|
7522
|
+
completed = false,
|
|
7523
|
+
dense = false,
|
|
7524
|
+
direction = "horizontal",
|
|
7525
|
+
...rest
|
|
7526
|
+
}) => {
|
|
7527
|
+
const { connector } = connectorStyles({ completed, dense, direction });
|
|
7392
7528
|
return /* @__PURE__ */ React46.createElement("div", { ...rest, className: connector({ className }) });
|
|
7393
7529
|
};
|
|
7394
|
-
var Step = ({
|
|
7395
|
-
|
|
7530
|
+
var Step = ({
|
|
7531
|
+
className,
|
|
7532
|
+
state,
|
|
7533
|
+
direction = "horizontal",
|
|
7534
|
+
...rest
|
|
7535
|
+
}) => {
|
|
7536
|
+
const { step } = stepStyles({ state, direction });
|
|
7396
7537
|
return /* @__PURE__ */ React46.createElement("div", { ...rest, className: step({ className }) });
|
|
7397
7538
|
};
|
|
7398
|
-
var Indicator = ({
|
|
7399
|
-
|
|
7400
|
-
|
|
7539
|
+
var Indicator = ({
|
|
7540
|
+
children,
|
|
7541
|
+
className,
|
|
7542
|
+
state,
|
|
7543
|
+
dense = false,
|
|
7544
|
+
direction = "horizontal",
|
|
7545
|
+
...rest
|
|
7546
|
+
}) => {
|
|
7547
|
+
const { indicator } = stepStyles({ state, dense, direction });
|
|
7548
|
+
return /* @__PURE__ */ React46.createElement("div", { ...rest, className: indicator({ className }) }, state === "completed" ? /* @__PURE__ */ React46.createElement(InlineIcon2, { icon: tick_default, className: dense ? "scale-125" : void 0 }) : dense ? null : children);
|
|
7401
7549
|
};
|
|
7402
7550
|
Step.Indicator = Indicator;
|
|
7403
7551
|
Stepper.Step = Step;
|
package/dist/charts.cjs
CHANGED
package/dist/charts.mjs
CHANGED
|
@@ -96,7 +96,7 @@ const toolbarContainerClasses = tv({
|
|
|
96
96
|
base: 'col-span-full flex items-stretch py-4 px-l2 border-b border-muted',
|
|
97
97
|
variants: {
|
|
98
98
|
sticky: {
|
|
99
|
-
true: 'sticky top-[
|
|
99
|
+
true: 'sticky top-[43px] bg-layer z-10',
|
|
100
100
|
false: '',
|
|
101
101
|
},
|
|
102
102
|
},
|
|
@@ -77,6 +77,16 @@ export declare const modalStyles: import("tailwind-variants").TVReturnType<{
|
|
|
77
77
|
headerImage: string;
|
|
78
78
|
};
|
|
79
79
|
};
|
|
80
|
+
showTopFade: {
|
|
81
|
+
true: {
|
|
82
|
+
body: string[];
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
showBottomFade: {
|
|
86
|
+
true: {
|
|
87
|
+
body: string[];
|
|
88
|
+
};
|
|
89
|
+
};
|
|
80
90
|
}, {
|
|
81
91
|
overlay: string;
|
|
82
92
|
backdrop: string;
|
|
@@ -87,7 +97,7 @@ export declare const modalStyles: import("tailwind-variants").TVReturnType<{
|
|
|
87
97
|
title: string;
|
|
88
98
|
subtitle: string;
|
|
89
99
|
closeButtonContainer: string;
|
|
90
|
-
body: string
|
|
100
|
+
body: string;
|
|
91
101
|
bodyContent: string;
|
|
92
102
|
footer: string;
|
|
93
103
|
actions: string;
|
|
@@ -131,6 +141,16 @@ export declare const modalStyles: import("tailwind-variants").TVReturnType<{
|
|
|
131
141
|
headerImage: string;
|
|
132
142
|
};
|
|
133
143
|
};
|
|
144
|
+
showTopFade: {
|
|
145
|
+
true: {
|
|
146
|
+
body: string[];
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
showBottomFade: {
|
|
150
|
+
true: {
|
|
151
|
+
body: string[];
|
|
152
|
+
};
|
|
153
|
+
};
|
|
134
154
|
}, {
|
|
135
155
|
kind: {
|
|
136
156
|
dialog: {
|
|
@@ -171,6 +191,16 @@ export declare const modalStyles: import("tailwind-variants").TVReturnType<{
|
|
|
171
191
|
headerImage: string;
|
|
172
192
|
};
|
|
173
193
|
};
|
|
194
|
+
showTopFade: {
|
|
195
|
+
true: {
|
|
196
|
+
body: string[];
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
showBottomFade: {
|
|
200
|
+
true: {
|
|
201
|
+
body: string[];
|
|
202
|
+
};
|
|
203
|
+
};
|
|
174
204
|
}>, {
|
|
175
205
|
kind: {
|
|
176
206
|
dialog: {
|
|
@@ -211,6 +241,16 @@ export declare const modalStyles: import("tailwind-variants").TVReturnType<{
|
|
|
211
241
|
headerImage: string;
|
|
212
242
|
};
|
|
213
243
|
};
|
|
244
|
+
showTopFade: {
|
|
245
|
+
true: {
|
|
246
|
+
body: string[];
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
showBottomFade: {
|
|
250
|
+
true: {
|
|
251
|
+
body: string[];
|
|
252
|
+
};
|
|
253
|
+
};
|
|
214
254
|
}, {
|
|
215
255
|
overlay: string;
|
|
216
256
|
backdrop: string;
|
|
@@ -221,7 +261,7 @@ export declare const modalStyles: import("tailwind-variants").TVReturnType<{
|
|
|
221
261
|
title: string;
|
|
222
262
|
subtitle: string;
|
|
223
263
|
closeButtonContainer: string;
|
|
224
|
-
body: string
|
|
264
|
+
body: string;
|
|
225
265
|
bodyContent: string;
|
|
226
266
|
footer: string;
|
|
227
267
|
actions: string;
|
|
@@ -265,6 +305,16 @@ export declare const modalStyles: import("tailwind-variants").TVReturnType<{
|
|
|
265
305
|
headerImage: string;
|
|
266
306
|
};
|
|
267
307
|
};
|
|
308
|
+
showTopFade: {
|
|
309
|
+
true: {
|
|
310
|
+
body: string[];
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
showBottomFade: {
|
|
314
|
+
true: {
|
|
315
|
+
body: string[];
|
|
316
|
+
};
|
|
317
|
+
};
|
|
268
318
|
}, {
|
|
269
319
|
overlay: string;
|
|
270
320
|
backdrop: string;
|
|
@@ -275,7 +325,7 @@ export declare const modalStyles: import("tailwind-variants").TVReturnType<{
|
|
|
275
325
|
title: string;
|
|
276
326
|
subtitle: string;
|
|
277
327
|
closeButtonContainer: string;
|
|
278
|
-
body: string
|
|
328
|
+
body: string;
|
|
279
329
|
bodyContent: string;
|
|
280
330
|
footer: string;
|
|
281
331
|
actions: string;
|
|
@@ -319,6 +369,16 @@ export declare const modalStyles: import("tailwind-variants").TVReturnType<{
|
|
|
319
369
|
headerImage: string;
|
|
320
370
|
};
|
|
321
371
|
};
|
|
372
|
+
showTopFade: {
|
|
373
|
+
true: {
|
|
374
|
+
body: string[];
|
|
375
|
+
};
|
|
376
|
+
};
|
|
377
|
+
showBottomFade: {
|
|
378
|
+
true: {
|
|
379
|
+
body: string[];
|
|
380
|
+
};
|
|
381
|
+
};
|
|
322
382
|
}, {
|
|
323
383
|
kind: {
|
|
324
384
|
dialog: {
|
|
@@ -359,6 +419,16 @@ export declare const modalStyles: import("tailwind-variants").TVReturnType<{
|
|
|
359
419
|
headerImage: string;
|
|
360
420
|
};
|
|
361
421
|
};
|
|
422
|
+
showTopFade: {
|
|
423
|
+
true: {
|
|
424
|
+
body: string[];
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
showBottomFade: {
|
|
428
|
+
true: {
|
|
429
|
+
body: string[];
|
|
430
|
+
};
|
|
431
|
+
};
|
|
362
432
|
}>, unknown, unknown, undefined>>;
|
|
363
433
|
export declare const Modal: ComposedModalProps & React.FC<DivProps & ModalProps>;
|
|
364
434
|
export {};
|