@aivenio/aquarium 6.1.1 → 6.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.
- package/dist/_variables.scss +2 -1
- package/dist/atoms.cjs +200 -134
- package/dist/atoms.mjs +112 -46
- package/dist/charts.cjs +4 -3
- package/dist/charts.mjs +4 -3
- package/dist/src/atoms/ChoiceChip/ChoiceChip.js +3 -3
- package/dist/src/atoms/CommandPalette/CommandPalette.d.ts +16 -0
- package/dist/src/atoms/CommandPalette/CommandPalette.js +3 -1
- 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/Timeline/Timeline.d.ts +3 -2
- package/dist/src/atoms/Timeline/Timeline.js +2 -2
- package/dist/src/molecules/CommandPalette/CommandPalette.d.ts +12 -4
- package/dist/src/molecules/CommandPalette/CommandPalette.js +17 -5
- package/dist/src/molecules/CommandPalette/CommandPaletteProvider.js +86 -22
- package/dist/src/molecules/CommandPalette/findSubCommands.d.ts +13 -0
- package/dist/src/molecules/CommandPalette/findSubCommands.js +65 -0
- package/dist/src/molecules/CommandPalette/types.d.ts +31 -1
- package/dist/src/molecules/CommandPalette/types.js +10 -1
- package/dist/src/molecules/Modal/Modal.js +2 -2
- package/dist/src/molecules/Popover/Popover.d.ts +3 -0
- package/dist/src/molecules/Popover/Popover.js +1 -1
- package/dist/src/molecules/Section/Section.d.ts +9 -0
- package/dist/src/molecules/Section/Section.js +13 -6
- package/dist/src/molecules/SegmentedControl/SegmentedControl.js +3 -3
- package/dist/src/molecules/Table/Table.d.ts +3 -0
- package/dist/src/molecules/Table/Table.js +4 -1
- package/dist/src/molecules/TagLabel/TagLabel.d.ts +1 -1
- package/dist/src/molecules/TagLabel/TagLabel.js +1 -1
- package/dist/src/molecules/Timeline/Timeline.d.ts +3 -2
- package/dist/src/molecules/Timeline/Timeline.js +16 -4
- package/dist/src/molecules/Typography/Typography.d.ts +3 -0
- package/dist/src/molecules/Typography/Typography.js +1 -1
- package/dist/src/tokens/tokens.json +4 -3
- package/dist/src/utils/useScrollFade.d.ts +17 -0
- package/dist/src/utils/useScrollFade.js +44 -0
- package/dist/styles.css +59 -34
- package/dist/system.cjs +950 -730
- package/dist/system.mjs +906 -684
- package/dist/tokens.json +4 -3
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/atoms.mjs
CHANGED
|
@@ -646,8 +646,8 @@ var tokens_default = {
|
|
|
646
646
|
medium: "rgba(235,235,235,1)",
|
|
647
647
|
intense: "rgba(181,181,183,1)",
|
|
648
648
|
primary: {
|
|
649
|
-
muted: "rgba(
|
|
650
|
-
default: "rgba(
|
|
649
|
+
muted: "rgba(217,249,248,1)",
|
|
650
|
+
default: "rgba(217,249,248,1)",
|
|
651
651
|
graphic: "rgba(46,208,205,1)",
|
|
652
652
|
intense: "rgba(0,128,124,1)",
|
|
653
653
|
inverse: "rgba(0,128,124,1)",
|
|
@@ -691,7 +691,7 @@ var tokens_default = {
|
|
|
691
691
|
inverse: "rgba(198,42,42,1)"
|
|
692
692
|
},
|
|
693
693
|
status: {
|
|
694
|
-
announcement: "rgba(
|
|
694
|
+
announcement: "rgba(217,249,248,1)",
|
|
695
695
|
info: "rgba(233,249,253,1)",
|
|
696
696
|
warning: "rgba(255,249,230,1)",
|
|
697
697
|
danger: "rgba(255,241,241,1)",
|
|
@@ -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(123,45,139,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)",
|
|
@@ -3086,7 +3087,7 @@ var choiceChipClasses = tv10({
|
|
|
3086
3087
|
label: "Aquarium-ChoiceChip inline-flex cursor-pointer",
|
|
3087
3088
|
input: "peer appearance-none",
|
|
3088
3089
|
chip: [
|
|
3089
|
-
"inline-flex items-center border rounded-full transition whitespace-nowrap hover:bg-primary-
|
|
3090
|
+
"inline-flex items-center border rounded-full transition whitespace-nowrap hover:bg-primary-active",
|
|
3090
3091
|
"peer-focus-visible:ring-2 peer-focus-visible:ring-info-default peer-focus-visible:ring-offset-1",
|
|
3091
3092
|
"peer-disabled:cursor-not-allowed peer-disabled:text-inactive peer-disabled:bg-muted peer-disabled:hover:bg-muted"
|
|
3092
3093
|
]
|
|
@@ -3098,7 +3099,7 @@ var choiceChipClasses = tv10({
|
|
|
3098
3099
|
},
|
|
3099
3100
|
dense: {
|
|
3100
3101
|
true: { chip: "typography-small py-2 px-3 gap-x-2" },
|
|
3101
|
-
false: { chip: "typography-
|
|
3102
|
+
false: { chip: "typography-default py-3 px-5 gap-x-3" }
|
|
3102
3103
|
}
|
|
3103
3104
|
},
|
|
3104
3105
|
defaultVariants: {
|
|
@@ -3148,7 +3149,9 @@ var commandPaletteStyles = tv11({
|
|
|
3148
3149
|
searchContainer: "flex items-center gap-x-3 p-5 border-b border-muted",
|
|
3149
3150
|
searchInput: "outline-none grow bg-transparent [&::-webkit-search-cancel-button]:hidden",
|
|
3150
3151
|
itemIcon: "text-muted group-data-[focused]:text-default",
|
|
3151
|
-
emptyState: "p-6 text-center text-muted typography-default"
|
|
3152
|
+
emptyState: "p-6 text-center text-muted typography-default",
|
|
3153
|
+
breadcrumbHeader: "typography-small font-semibold",
|
|
3154
|
+
breadcrumbBackButton: "text-muted"
|
|
3152
3155
|
}
|
|
3153
3156
|
});
|
|
3154
3157
|
var EmptyState = ({ className, children, ...rest }) => {
|
|
@@ -3455,7 +3458,7 @@ var toolbarContainerClasses = tv14({
|
|
|
3455
3458
|
base: "col-span-full flex items-stretch py-4 px-l2 border-b border-muted",
|
|
3456
3459
|
variants: {
|
|
3457
3460
|
sticky: {
|
|
3458
|
-
true: "sticky top-[
|
|
3461
|
+
true: "sticky top-[43px] bg-layer z-10",
|
|
3459
3462
|
false: ""
|
|
3460
3463
|
}
|
|
3461
3464
|
}
|
|
@@ -6623,38 +6626,46 @@ var InputGroup = ({ cols = "1", children, ...rest }) => {
|
|
|
6623
6626
|
// src/atoms/Modal/Modal.tsx
|
|
6624
6627
|
import React38 from "react";
|
|
6625
6628
|
import { tv as tv18 } from "tailwind-variants";
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
"before:to-transparent",
|
|
6640
|
-
"before:z-10"
|
|
6641
|
-
],
|
|
6642
|
-
after: [
|
|
6643
|
-
'after:content-[""]',
|
|
6644
|
-
"after:pointer-events-none",
|
|
6645
|
-
"after:sticky",
|
|
6646
|
-
"after:bottom-3",
|
|
6647
|
-
"after:left-0",
|
|
6648
|
-
"after:h-5",
|
|
6649
|
-
"after:flex-shrink-0",
|
|
6650
|
-
"after:bg-gradient-to-t",
|
|
6651
|
-
"after:from-overlay",
|
|
6652
|
-
"after:to-transparent",
|
|
6653
|
-
"after:z-10"
|
|
6654
|
-
]
|
|
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;
|
|
6655
6642
|
}
|
|
6656
|
-
|
|
6657
|
-
|
|
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
|
|
6658
6669
|
var modalStyles = tv18({
|
|
6659
6670
|
slots: {
|
|
6660
6671
|
overlay: "inset-0 overflow-y-auto z-modal fixed",
|
|
@@ -6666,11 +6677,7 @@ var modalStyles = tv18({
|
|
|
6666
6677
|
title: "",
|
|
6667
6678
|
subtitle: "max-w-[700px]",
|
|
6668
6679
|
closeButtonContainer: "absolute top-[24px] right-[28px]",
|
|
6669
|
-
body:
|
|
6670
|
-
"grow overflow-y-auto text-default flex flex-col outline-none",
|
|
6671
|
-
bodyMaskClasses({ position: "before" }),
|
|
6672
|
-
bodyMaskClasses({ position: "after" })
|
|
6673
|
-
],
|
|
6680
|
+
body: "grow overflow-y-auto text-default flex flex-col outline-none",
|
|
6674
6681
|
bodyContent: "px-7 grow",
|
|
6675
6682
|
footer: "px-7 pt-4 pb-6",
|
|
6676
6683
|
actions: "flex gap-3 justify-end"
|
|
@@ -6714,10 +6721,48 @@ var modalStyles = tv18({
|
|
|
6714
6721
|
false: {
|
|
6715
6722
|
headerImage: "bg-medium"
|
|
6716
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
|
+
}
|
|
6717
6760
|
}
|
|
6718
6761
|
},
|
|
6719
6762
|
defaultVariants: {
|
|
6720
|
-
isResponsive: true
|
|
6763
|
+
isResponsive: true,
|
|
6764
|
+
showTopFade: false,
|
|
6765
|
+
showBottomFade: false
|
|
6721
6766
|
},
|
|
6722
6767
|
compoundVariants: [
|
|
6723
6768
|
{
|
|
@@ -6827,10 +6872,31 @@ Modal.TitleContainer = ({ children, className, ...rest }) => {
|
|
|
6827
6872
|
const { titleContainer: titleContainer2 } = modalStyles();
|
|
6828
6873
|
return /* @__PURE__ */ React38.createElement("div", { ...rest, className: titleContainer2({ className }) }, children);
|
|
6829
6874
|
};
|
|
6830
|
-
|
|
6875
|
+
var ModalBody = ({
|
|
6876
|
+
children,
|
|
6877
|
+
className,
|
|
6878
|
+
noFooter = false,
|
|
6879
|
+
maxHeight,
|
|
6880
|
+
style,
|
|
6881
|
+
size,
|
|
6882
|
+
...rest
|
|
6883
|
+
}) => {
|
|
6831
6884
|
const { body, bodyContent } = modalStyles({ size });
|
|
6832
|
-
|
|
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
|
+
);
|
|
6833
6898
|
};
|
|
6899
|
+
Modal.Body = ModalBody;
|
|
6834
6900
|
Modal.Footer = ({ children, className, ...rest }) => {
|
|
6835
6901
|
const { footer } = modalStyles();
|
|
6836
6902
|
return /* @__PURE__ */ React38.createElement("div", { ...rest, className: footer({ className }) }, children);
|
package/dist/charts.cjs
CHANGED
|
@@ -219,8 +219,8 @@ var tokens_default = {
|
|
|
219
219
|
medium: "rgba(235,235,235,1)",
|
|
220
220
|
intense: "rgba(181,181,183,1)",
|
|
221
221
|
primary: {
|
|
222
|
-
muted: "rgba(
|
|
223
|
-
default: "rgba(
|
|
222
|
+
muted: "rgba(217,249,248,1)",
|
|
223
|
+
default: "rgba(217,249,248,1)",
|
|
224
224
|
graphic: "rgba(46,208,205,1)",
|
|
225
225
|
intense: "rgba(0,128,124,1)",
|
|
226
226
|
inverse: "rgba(0,128,124,1)",
|
|
@@ -264,7 +264,7 @@ var tokens_default = {
|
|
|
264
264
|
inverse: "rgba(198,42,42,1)"
|
|
265
265
|
},
|
|
266
266
|
status: {
|
|
267
|
-
announcement: "rgba(
|
|
267
|
+
announcement: "rgba(217,249,248,1)",
|
|
268
268
|
info: "rgba(233,249,253,1)",
|
|
269
269
|
warning: "rgba(255,249,230,1)",
|
|
270
270
|
danger: "rgba(255,241,241,1)",
|
|
@@ -382,6 +382,7 @@ var tokens_default = {
|
|
|
382
382
|
code: {
|
|
383
383
|
background: "rgba(250,250,250,1)",
|
|
384
384
|
text: "rgba(45,46,48,1)",
|
|
385
|
+
variable: "rgba(123,45,139,1)",
|
|
385
386
|
keyword: "rgba(202, 33, 101, 1)",
|
|
386
387
|
string: "rgba(0, 127, 115, 1)",
|
|
387
388
|
function: "rgba(9, 128, 193, 1)",
|
package/dist/charts.mjs
CHANGED
|
@@ -79,8 +79,8 @@ var tokens_default = {
|
|
|
79
79
|
medium: "rgba(235,235,235,1)",
|
|
80
80
|
intense: "rgba(181,181,183,1)",
|
|
81
81
|
primary: {
|
|
82
|
-
muted: "rgba(
|
|
83
|
-
default: "rgba(
|
|
82
|
+
muted: "rgba(217,249,248,1)",
|
|
83
|
+
default: "rgba(217,249,248,1)",
|
|
84
84
|
graphic: "rgba(46,208,205,1)",
|
|
85
85
|
intense: "rgba(0,128,124,1)",
|
|
86
86
|
inverse: "rgba(0,128,124,1)",
|
|
@@ -124,7 +124,7 @@ var tokens_default = {
|
|
|
124
124
|
inverse: "rgba(198,42,42,1)"
|
|
125
125
|
},
|
|
126
126
|
status: {
|
|
127
|
-
announcement: "rgba(
|
|
127
|
+
announcement: "rgba(217,249,248,1)",
|
|
128
128
|
info: "rgba(233,249,253,1)",
|
|
129
129
|
warning: "rgba(255,249,230,1)",
|
|
130
130
|
danger: "rgba(255,241,241,1)",
|
|
@@ -242,6 +242,7 @@ var tokens_default = {
|
|
|
242
242
|
code: {
|
|
243
243
|
background: "rgba(250,250,250,1)",
|
|
244
244
|
text: "rgba(45,46,48,1)",
|
|
245
|
+
variable: "rgba(123,45,139,1)",
|
|
245
246
|
keyword: "rgba(202, 33, 101, 1)",
|
|
246
247
|
string: "rgba(0, 127, 115, 1)",
|
|
247
248
|
function: "rgba(9, 128, 193, 1)",
|
|
@@ -17,7 +17,7 @@ const choiceChipClasses = tv({
|
|
|
17
17
|
label: 'Aquarium-ChoiceChip inline-flex cursor-pointer',
|
|
18
18
|
input: 'peer appearance-none',
|
|
19
19
|
chip: [
|
|
20
|
-
'inline-flex items-center border rounded-full transition whitespace-nowrap hover:bg-primary-
|
|
20
|
+
'inline-flex items-center border rounded-full transition whitespace-nowrap hover:bg-primary-active',
|
|
21
21
|
'peer-focus-visible:ring-2 peer-focus-visible:ring-info-default peer-focus-visible:ring-offset-1',
|
|
22
22
|
'peer-disabled:cursor-not-allowed peer-disabled:text-inactive peer-disabled:bg-muted peer-disabled:hover:bg-muted',
|
|
23
23
|
],
|
|
@@ -29,7 +29,7 @@ const choiceChipClasses = tv({
|
|
|
29
29
|
},
|
|
30
30
|
dense: {
|
|
31
31
|
true: { chip: 'typography-small py-2 px-3 gap-x-2' },
|
|
32
|
-
false: { chip: 'typography-
|
|
32
|
+
false: { chip: 'typography-default py-3 px-5 gap-x-3' },
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
35
|
defaultVariants: {
|
|
@@ -48,4 +48,4 @@ export const ChoiceChip = (_a) => {
|
|
|
48
48
|
React.createElement("input", { type: selectionMode, name: name, value: value, className: input(), checked: selected, onChange: handleChange, disabled: disabled }),
|
|
49
49
|
React.createElement("span", { className: chip() }, children)));
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ2hvaWNlQ2hpcC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9hdG9tcy9DaG9pY2VDaGlwL0Nob2ljZUNoaXAudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBQUEsT0FBTyxLQUFLLE1BQU0sT0FBTyxDQUFDO0FBQzFCLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQzFELE9BQU8sRUFBRSxFQUFFLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUV2QyxNQUFNLGlCQUFpQixHQUFHLEVBQUUsQ0FBQztJQUMzQixLQUFLLEVBQUU7UUFDTCxLQUFLLEVBQUUsZ0RBQWdEO1FBQ3ZELEtBQUssRUFBRSxzQkFBc0I7UUFDN0IsSUFBSSxFQUFFO1lBQ0osbUdBQW1HO1lBQ25HLGlHQUFpRztZQUNqRyxrSEFBa0g7U0FDbkg7S0FDRjtJQUNELFFBQVEsRUFBRTtRQUNSLFFBQVEsRUFBRTtZQUNSLElBQUksRUFBRSxFQUFFLElBQUksRUFBRSxpRUFBaUUsRUFBRTtZQUNqRixLQUFLLEVBQUUsRUFBRSxJQUFJLEVBQUUsbUNBQW1DLEVBQUU7U0FDckQ7UUFDRCxLQUFLLEVBQUU7WUFDTCxJQUFJLEVBQUUsRUFBRSxJQUFJLEVBQUUsb0NBQW9DLEVBQUU7WUFDcEQsS0FBSyxFQUFFLEVBQUUsSUFBSSxFQUFFLHNDQUFzQyxFQUFFO1NBQ3hEO0tBQ0Y7SUFDRCxlQUFlLEVBQUU7UUFDZixRQUFRLEVBQUUsS0FBSztRQUNmLEtBQUssRUFBRSxLQUFLO0tBQ2I7Q0FDRixDQUFDLENBQUM7QUEwRUgsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUE4QixDQUFDLEVBWXJELEVBQUUsRUFBRTtRQVppRCxFQUNwRCxRQUFRLEVBQ1IsS0FBSyxFQUNMLGFBQWEsR0FBRyxVQUFVLEVBQzFCLGNBQWMsR0FBRyxLQUFLLEVBQ3RCLE9BQU8sRUFDUCxRQUFRLEVBQ1IsSUFBSSxFQUNKLEtBQUssRUFDTCxRQUFRLEVBQ1IsWUFBWSxFQUFFLFNBQVMsT0FFeEIsRUFESSxJQUFJLGNBWDZDLDBIQVlyRCxDQURRO0lBRVAsTUFBTSxDQUFDLFFBQVEsRUFBRSxXQUFXLENBQUMsR0FBRyxrQkFBa0IsQ0FBQyxPQUFPLEVBQUUsY0FBYyxFQUFFLFFBQVEsQ0FBQyxDQUFDO0lBQ3RGLE1BQU0sRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLElBQUksRUFBRSxHQUFHLGlCQUFpQixDQUFDLEVBQUUsUUFBUSxFQUFFLEtBQUssRUFBRSxDQUFDLENBQUM7SUFFdEUsTUFBTSxZQUFZLEdBQUcsR0FBRyxFQUFFO1FBQ3hCLFdBQVcsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxDQUFDO0lBQ3pCLENBQUMsQ0FBQztJQUVGLE9BQU8sQ0FDTCw2Q0FBTyxTQUFTLEVBQUUsS0FBSyxFQUFFLGdCQUFjLFNBQVMsSUFBTSxJQUFJO1FBQ3hELCtCQUNFLElBQUksRUFBRSxhQUFhLEVBQ25CLElBQUksRUFBRSxJQUFJLEVBQ1YsS0FBSyxFQUFFLEtBQUssRUFDWixTQUFTLEVBQUUsS0FBSyxFQUFFLEVBQ2xCLE9BQU8sRUFBRSxRQUFRLEVBQ2pCLFFBQVEsRUFBRSxZQUFZLEVBQ3RCLFFBQVEsRUFBRSxRQUFRLEdBQ2xCO1FBQ0YsOEJBQU0sU0FBUyxFQUFFLElBQUksRUFBRSxJQUFHLFFBQVEsQ0FBUSxDQUNwQyxDQUNULENBQUM7QUFDSixDQUFDLENBQUMifQ==
|
|
@@ -8,6 +8,8 @@ export declare const commandPaletteStyles: import("tailwind-variants").TVReturnT
|
|
|
8
8
|
searchContainer?: import("tailwind-merge").ClassNameValue;
|
|
9
9
|
searchInput?: import("tailwind-merge").ClassNameValue;
|
|
10
10
|
itemIcon?: import("tailwind-merge").ClassNameValue;
|
|
11
|
+
breadcrumbHeader?: import("tailwind-merge").ClassNameValue;
|
|
12
|
+
breadcrumbBackButton?: import("tailwind-merge").ClassNameValue;
|
|
11
13
|
};
|
|
12
14
|
};
|
|
13
15
|
} | {
|
|
@@ -19,6 +21,8 @@ export declare const commandPaletteStyles: import("tailwind-variants").TVReturnT
|
|
|
19
21
|
searchContainer?: import("tailwind-merge").ClassNameValue;
|
|
20
22
|
searchInput?: import("tailwind-merge").ClassNameValue;
|
|
21
23
|
itemIcon?: import("tailwind-merge").ClassNameValue;
|
|
24
|
+
breadcrumbHeader?: import("tailwind-merge").ClassNameValue;
|
|
25
|
+
breadcrumbBackButton?: import("tailwind-merge").ClassNameValue;
|
|
22
26
|
};
|
|
23
27
|
};
|
|
24
28
|
} | {}, {
|
|
@@ -28,6 +32,8 @@ export declare const commandPaletteStyles: import("tailwind-variants").TVReturnT
|
|
|
28
32
|
searchInput: string;
|
|
29
33
|
itemIcon: string;
|
|
30
34
|
emptyState: string;
|
|
35
|
+
breadcrumbHeader: string;
|
|
36
|
+
breadcrumbBackButton: string;
|
|
31
37
|
}, undefined, import("tailwind-variants/dist/config").TVConfig<unknown, {
|
|
32
38
|
[key: string]: {
|
|
33
39
|
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
@@ -37,6 +43,8 @@ export declare const commandPaletteStyles: import("tailwind-variants").TVReturnT
|
|
|
37
43
|
searchContainer?: import("tailwind-merge").ClassNameValue;
|
|
38
44
|
searchInput?: import("tailwind-merge").ClassNameValue;
|
|
39
45
|
itemIcon?: import("tailwind-merge").ClassNameValue;
|
|
46
|
+
breadcrumbHeader?: import("tailwind-merge").ClassNameValue;
|
|
47
|
+
breadcrumbBackButton?: import("tailwind-merge").ClassNameValue;
|
|
40
48
|
};
|
|
41
49
|
};
|
|
42
50
|
} | {}>, {
|
|
@@ -48,6 +56,8 @@ export declare const commandPaletteStyles: import("tailwind-variants").TVReturnT
|
|
|
48
56
|
searchContainer?: import("tailwind-merge").ClassNameValue;
|
|
49
57
|
searchInput?: import("tailwind-merge").ClassNameValue;
|
|
50
58
|
itemIcon?: import("tailwind-merge").ClassNameValue;
|
|
59
|
+
breadcrumbHeader?: import("tailwind-merge").ClassNameValue;
|
|
60
|
+
breadcrumbBackButton?: import("tailwind-merge").ClassNameValue;
|
|
51
61
|
};
|
|
52
62
|
};
|
|
53
63
|
} | {}, {
|
|
@@ -57,6 +67,8 @@ export declare const commandPaletteStyles: import("tailwind-variants").TVReturnT
|
|
|
57
67
|
searchInput: string;
|
|
58
68
|
itemIcon: string;
|
|
59
69
|
emptyState: string;
|
|
70
|
+
breadcrumbHeader: string;
|
|
71
|
+
breadcrumbBackButton: string;
|
|
60
72
|
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
61
73
|
modal: string;
|
|
62
74
|
dialog: string;
|
|
@@ -64,6 +76,8 @@ export declare const commandPaletteStyles: import("tailwind-variants").TVReturnT
|
|
|
64
76
|
searchInput: string;
|
|
65
77
|
itemIcon: string;
|
|
66
78
|
emptyState: string;
|
|
79
|
+
breadcrumbHeader: string;
|
|
80
|
+
breadcrumbBackButton: string;
|
|
67
81
|
}, undefined, import("tailwind-variants/dist/config").TVConfig<unknown, {
|
|
68
82
|
[key: string]: {
|
|
69
83
|
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
@@ -73,6 +87,8 @@ export declare const commandPaletteStyles: import("tailwind-variants").TVReturnT
|
|
|
73
87
|
searchContainer?: import("tailwind-merge").ClassNameValue;
|
|
74
88
|
searchInput?: import("tailwind-merge").ClassNameValue;
|
|
75
89
|
itemIcon?: import("tailwind-merge").ClassNameValue;
|
|
90
|
+
breadcrumbHeader?: import("tailwind-merge").ClassNameValue;
|
|
91
|
+
breadcrumbBackButton?: import("tailwind-merge").ClassNameValue;
|
|
76
92
|
};
|
|
77
93
|
};
|
|
78
94
|
} | {}>, unknown, unknown, undefined>>;
|
|
@@ -20,6 +20,8 @@ export const commandPaletteStyles = tv({
|
|
|
20
20
|
searchInput: 'outline-none grow bg-transparent [&::-webkit-search-cancel-button]:hidden',
|
|
21
21
|
itemIcon: 'text-muted group-data-[focused]:text-default',
|
|
22
22
|
emptyState: 'p-6 text-center text-muted typography-default',
|
|
23
|
+
breadcrumbHeader: 'typography-small font-semibold',
|
|
24
|
+
breadcrumbBackButton: 'text-muted',
|
|
23
25
|
},
|
|
24
26
|
});
|
|
25
27
|
const EmptyState = (_a) => {
|
|
@@ -30,4 +32,4 @@ const EmptyState = (_a) => {
|
|
|
30
32
|
export const CommandPalette = {
|
|
31
33
|
EmptyState,
|
|
32
34
|
};
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ29tbWFuZFBhbGV0dGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXRvbXMvQ29tbWFuZFBhbGV0dGUvQ29tbWFuZFBhbGV0dGUudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBQUEsT0FBTyxLQUFLLE1BQU0sT0FBTyxDQUFDO0FBQzFCLE9BQU8sRUFBRSxFQUFFLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUV2QyxlQUFlO0FBRWYsTUFBTSxDQUFDLE1BQU0sb0JBQW9CLEdBQUcsRUFBRSxDQUFDO0lBQ3JDLEtBQUssRUFBRTtRQUNMLEtBQUssRUFBRSwyQkFBMkI7UUFDbEMsTUFBTSxFQUFFLDhEQUE4RDtRQUN0RSxlQUFlLEVBQUUscURBQXFEO1FBQ3RFLFdBQVcsRUFBRSwyRUFBMkU7UUFDeEYsUUFBUSxFQUFFLDhDQUE4QztRQUN4RCxVQUFVLEVBQUUsK0NBQStDO1FBQzNELGdCQUFnQixFQUFFLGdDQUFnQztRQUNsRCxvQkFBb0IsRUFBRSxZQUFZO0tBQ25DO0NBQ0YsQ0FBQyxDQUFDO0FBTUgsTUFBTSxVQUFVLEdBQXVCLENBQUMsRUFBZ0MsRUFBRSxFQUFFO1FBQXBDLEVBQUUsU0FBUyxFQUFFLFFBQVEsT0FBVyxFQUFOLElBQUksY0FBOUIseUJBQWdDLENBQUY7SUFDcEUsTUFBTSxFQUFFLFVBQVUsRUFBRSxHQUFHLG9CQUFvQixFQUFFLENBQUM7SUFDOUMsT0FBTyxDQUNMLDZDQUFTLElBQUksSUFBRSxTQUFTLEVBQUUsVUFBVSxDQUFDLEVBQUUsU0FBUyxFQUFFLENBQUMsS0FDaEQsUUFBUSxJQUFJLG9CQUFvQixDQUM3QixDQUNQLENBQUM7QUFDSixDQUFDLENBQUM7QUFRRixNQUFNLENBQUMsTUFBTSxjQUFjLEdBQWdDO0lBQ3pELFVBQVU7Q0FDWCxDQUFDIn0=
|
|
@@ -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 {};
|