@bitrise/bitkit-v2 0.3.194 → 0.3.196
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/components/BitkitDialog/BitkitDialog.d.ts +2 -1
- package/dist/components/BitkitDialog/BitkitDialog.js +22 -17
- package/dist/components/BitkitDialog/BitkitDialog.js.map +1 -1
- package/dist/components/BitkitDialog/BitkitDialogBody.js +3 -3
- package/dist/components/BitkitDialog/BitkitDialogBody.js.map +1 -1
- package/dist/components/BitkitDialog/BitkitDialogContent.d.ts +2 -1
- package/dist/components/BitkitDialog/BitkitDialogContent.js +6 -5
- package/dist/components/BitkitDialog/BitkitDialogContent.js.map +1 -1
- package/dist/components/BitkitDialog/BitkitDialogRoot.d.ts +3 -1
- package/dist/components/BitkitDialog/BitkitDialogRoot.js.map +1 -1
- package/dist/components/BitkitLinkButton/BitkitLinkButton.d.ts +1 -1
- package/dist/components/BitkitLinkButton/BitkitLinkButton.js +2 -2
- package/dist/components/BitkitLinkButton/BitkitLinkButton.js.map +1 -1
- package/dist/components/BitkitOverflowContent/BitkitOverflowContent.d.ts +9 -0
- package/dist/components/BitkitOverflowContent/BitkitOverflowContent.js +40 -0
- package/dist/components/BitkitOverflowContent/BitkitOverflowContent.js.map +1 -0
- package/dist/components/BitkitPageFooter/BitkitPageFooter.d.ts +26 -0
- package/dist/components/BitkitPageFooter/BitkitPageFooter.js +90 -0
- package/dist/components/BitkitPageFooter/BitkitPageFooter.js.map +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/main.js +3 -1
- package/dist/theme/slot-recipes/Dialog.recipe.d.ts +47 -1
- package/dist/theme/slot-recipes/Dialog.recipe.js +36 -2
- package/dist/theme/slot-recipes/Dialog.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/OverflowContent.recipe.d.ts +2 -0
- package/dist/theme/slot-recipes/OverflowContent.recipe.js +42 -0
- package/dist/theme/slot-recipes/OverflowContent.recipe.js.map +1 -0
- package/dist/theme/slot-recipes/PageFooter.recipe.d.ts +96 -0
- package/dist/theme/slot-recipes/PageFooter.recipe.js +191 -0
- package/dist/theme/slot-recipes/PageFooter.recipe.js.map +1 -0
- package/dist/theme/slot-recipes/index.d.ts +143 -1
- package/dist/theme/slot-recipes/index.js +4 -0
- package/dist/theme/slot-recipes/index.js.map +1 -1
- package/dist/theme/tokens/index.d.ts +3 -0
- package/dist/theme/tokens/radii.d.ts +3 -0
- package/dist/theme/tokens/radii.js +2 -1
- package/dist/theme/tokens/radii.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/Dialog.recipe.ts"],"sourcesContent":["import { dialogAnatomy } from '@chakra-ui/react/anatomy';\nimport { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nimport { rem } from '../themeUtils';\n\nconst dialogSlotRecipe = defineSlotRecipe({\n className: 'dialog',\n slots: [...dialogAnatomy.keys(), 'label', 'scrollBody', 'scrollButton', 'scrollGradient'] as const,\n base: {\n backdrop: {\n background: 'utilities/overlay',\n position: 'fixed',\n inset: '0',\n zIndex: 'dialogOverlay',\n _open: {\n animationStyle: 'fade-in',\n animationDuration: 'moderate',\n },\n _closed: {\n animationStyle: 'fade-out',\n animationDuration: 'moderate',\n },\n },\n positioner: {\n alignItems: 'center',\n display: 'flex',\n height: '100dvh',\n justifyContent: 'center',\n left: '0',\n position: 'fixed',\n top: '0',\n width: '100dvw',\n zIndex: 'dialog',\n },\n content: {\n background: 'background/primary',\n borderRadius: '8',\n boxShadow: 'elevation/lg',\n display: 'flex',\n flexDirection: 'column',\n outline: 'none',\n position: 'relative',\n _open: {\n animationStyle: 'scale-fade-in',\n animationDuration: 'moderate',\n },\n _closed: {\n animationStyle: 'scale-fade-out',\n animationDuration: 'faster',\n },\n },\n header: {\n display: 'flex',\n flexDirection: 'column',\n gap: '16',\n paddingBlock: '24',\n paddingInline: '32',\n position: 'relative',\n },\n title: {\n color: 'text/primary',\n paddingInlineEnd: '48',\n textStyle: 'comp/dialog/title',\n },\n description: {\n color: 'text/body',\n textStyle: 'body/lg/regular',\n },\n label: {\n color: 'text/secondary',\n textStyle: 'comp/dialog/label',\n },\n body: {\n display: 'flex',\n flex: '1',\n flexDirection: 'column',\n gap: '24',\n paddingInline: '32',\n _last: {\n paddingBlockEnd: '48',\n },\n },\n scrollBody: {\n display: 'flex',\n flexDirection: 'column',\n minHeight: 0,\n position: 'relative',\n _last: {\n paddingBlockEnd: '48',\n },\n },\n footer: {\n alignItems: 'center',\n display: 'flex',\n gap: '16',\n justifyContent: 'flex-end',\n paddingBlockEnd: '32',\n paddingBlockStart: '24',\n paddingInline: '32',\n },\n closeTrigger: {\n insetEnd: '24',\n position: 'absolute',\n top: '24',\n },\n scrollButton: {\n alignItems: 'center',\n alignSelf: 'center',\n background: 'background/primary',\n borderColor: 'border/minimal',\n borderRadius: '100%',\n borderWidth: '1px',\n bottom: '16',\n boxShadow: 'elevation/lg',\n cursor: 'pointer',\n display: 'flex',\n height: '32',\n justifyContent: 'center',\n position: 'absolute',\n width: '32',\n },\n scrollGradient: {\n background: 'linear-gradient(0deg,
|
|
1
|
+
{"version":3,"file":"Dialog.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/Dialog.recipe.ts"],"sourcesContent":["import { dialogAnatomy } from '@chakra-ui/react/anatomy';\nimport { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nimport { rem } from '../themeUtils';\n\nconst dialogSlotRecipe = defineSlotRecipe({\n className: 'dialog',\n slots: [...dialogAnatomy.keys(), 'label', 'scrollBody', 'scrollButton', 'scrollGradient'] as const,\n base: {\n backdrop: {\n background: 'utilities/overlay',\n position: 'fixed',\n inset: '0',\n zIndex: 'dialogOverlay',\n _open: {\n animationStyle: 'fade-in',\n animationDuration: 'moderate',\n },\n _closed: {\n animationStyle: 'fade-out',\n animationDuration: 'moderate',\n },\n },\n positioner: {\n alignItems: 'center',\n display: 'flex',\n height: '100dvh',\n justifyContent: 'center',\n left: '0',\n position: 'fixed',\n top: '0',\n width: '100dvw',\n zIndex: 'dialog',\n },\n content: {\n background: 'background/primary',\n borderRadius: '8',\n boxShadow: 'elevation/lg',\n display: 'flex',\n flexDirection: 'column',\n outline: 'none',\n position: 'relative',\n _open: {\n animationStyle: 'scale-fade-in',\n animationDuration: 'moderate',\n },\n _closed: {\n animationStyle: 'scale-fade-out',\n animationDuration: 'faster',\n },\n },\n header: {\n display: 'flex',\n flexDirection: 'column',\n gap: '16',\n paddingBlock: '24',\n paddingInline: '32',\n position: 'relative',\n },\n title: {\n color: 'text/primary',\n paddingInlineEnd: '48',\n textStyle: 'comp/dialog/title',\n },\n description: {\n color: 'text/body',\n textStyle: 'body/lg/regular',\n },\n label: {\n color: 'text/secondary',\n textStyle: 'comp/dialog/label',\n },\n body: {\n display: 'flex',\n flex: '1',\n flexDirection: 'column',\n gap: '24',\n paddingInline: '32',\n _last: {\n paddingBlockEnd: '48',\n },\n },\n scrollBody: {\n display: 'flex',\n flexDirection: 'column',\n minHeight: 0,\n position: 'relative',\n _last: {\n paddingBlockEnd: '48',\n },\n },\n footer: {\n alignItems: 'center',\n display: 'flex',\n gap: '16',\n justifyContent: 'flex-end',\n paddingBlockEnd: '32',\n paddingBlockStart: '24',\n paddingInline: '32',\n },\n closeTrigger: {\n insetEnd: '24',\n position: 'absolute',\n top: '24',\n },\n scrollButton: {\n alignItems: 'center',\n alignSelf: 'center',\n background: 'background/primary',\n borderColor: 'border/minimal',\n borderRadius: '100%',\n borderWidth: '1px',\n bottom: '16',\n boxShadow: 'elevation/lg',\n cursor: 'pointer',\n display: 'flex',\n height: '32',\n justifyContent: 'center',\n position: 'absolute',\n width: '32',\n },\n scrollGradient: {\n background: 'linear-gradient(0deg, {colors.background.primary} 0%, transparent 100%)',\n bottom: '48',\n height: '32',\n pointerEvents: 'none',\n position: 'absolute',\n width: '100%',\n },\n },\n variants: {\n scrollBehavior: {\n inside: {\n body: {\n overflowY: 'auto',\n _last: {\n paddingBlockEnd: 0, // override base _last: scrollBody slot handles padding instead\n },\n },\n content: {\n maxHeight: 'calc(100dvh - 96px)',\n overflow: 'hidden',\n },\n },\n outside: {},\n },\n size: {\n lg: {\n content: {\n width: rem(800),\n },\n },\n md: {\n content: {\n width: rem(640),\n },\n },\n sm: {\n content: {\n width: rem(480),\n },\n },\n },\n variant: {\n overflowContent: {\n content: {\n maxHeight: 'calc(100dvh - 48px)',\n overflow: 'hidden',\n },\n header: {\n gap: '8',\n paddingBlockEnd: '8',\n paddingBlockStart: '16',\n paddingInline: '16',\n },\n title: {\n paddingInlineEnd: '32',\n textStyle: 'heading/h4',\n },\n body: {\n overflowY: 'auto',\n paddingBlockEnd: '8',\n paddingInline: '16',\n _last: {\n paddingBlockEnd: 0,\n },\n },\n scrollBody: {\n _last: {\n paddingBlockEnd: '16',\n },\n },\n footer: {\n paddingBlockEnd: '16',\n paddingBlockStart: 0,\n paddingInline: '16',\n },\n closeTrigger: {\n insetEnd: '12',\n top: '12',\n },\n scrollGradient: {\n bottom: '16',\n },\n scrollButton: {\n bottom: '8',\n },\n },\n },\n },\n defaultVariants: {\n scrollBehavior: 'outside',\n size: 'md',\n },\n});\n\nexport default dialogSlotRecipe;\n"],"mappings":"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"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { defineSlotRecipe } from "@chakra-ui/react/styled-system";
|
|
2
|
+
//#region lib/theme/slot-recipes/OverflowContent.recipe.ts
|
|
3
|
+
var overflowContentSlotRecipe = defineSlotRecipe({
|
|
4
|
+
className: "overflowContent",
|
|
5
|
+
slots: [
|
|
6
|
+
"root",
|
|
7
|
+
"preview",
|
|
8
|
+
"action"
|
|
9
|
+
],
|
|
10
|
+
base: {
|
|
11
|
+
root: {
|
|
12
|
+
alignItems: "center",
|
|
13
|
+
display: "flex",
|
|
14
|
+
gap: "4"
|
|
15
|
+
},
|
|
16
|
+
preview: {
|
|
17
|
+
color: "text/body",
|
|
18
|
+
flex: "1",
|
|
19
|
+
minWidth: 0,
|
|
20
|
+
overflow: "hidden",
|
|
21
|
+
position: "relative",
|
|
22
|
+
textOverflow: "ellipsis",
|
|
23
|
+
textStyle: "body/md/regular",
|
|
24
|
+
whiteSpace: "nowrap",
|
|
25
|
+
_after: {
|
|
26
|
+
background: "linear-gradient(to left, {colors.background.primary} 0%, transparent 100%)",
|
|
27
|
+
content: "\"\"",
|
|
28
|
+
height: "100%",
|
|
29
|
+
pointerEvents: "none",
|
|
30
|
+
position: "absolute",
|
|
31
|
+
right: "0",
|
|
32
|
+
top: "0",
|
|
33
|
+
width: "32"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
action: { flexShrink: "0" }
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
//#endregion
|
|
40
|
+
export { overflowContentSlotRecipe as default };
|
|
41
|
+
|
|
42
|
+
//# sourceMappingURL=OverflowContent.recipe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OverflowContent.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/OverflowContent.recipe.ts"],"sourcesContent":["import { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nconst overflowContentSlotRecipe = defineSlotRecipe({\n className: 'overflowContent',\n slots: ['root', 'preview', 'action'] as const,\n base: {\n root: {\n alignItems: 'center',\n display: 'flex',\n gap: '4',\n },\n preview: {\n color: 'text/body',\n flex: '1',\n minWidth: 0,\n overflow: 'hidden',\n position: 'relative',\n textOverflow: 'ellipsis',\n textStyle: 'body/md/regular',\n whiteSpace: 'nowrap',\n _after: {\n background: 'linear-gradient(to left, {colors.background.primary} 0%, transparent 100%)',\n content: '\"\"',\n height: '100%',\n pointerEvents: 'none',\n position: 'absolute',\n right: '0',\n top: '0',\n width: '32',\n },\n },\n action: {\n flexShrink: '0',\n },\n },\n});\n\nexport default overflowContentSlotRecipe;\n"],"mappings":";;AAEA,IAAM,4BAA4B,iBAAiB;CACjD,WAAW;CACX,OAAO;EAAC;EAAQ;EAAW;EAAS;CACpC,MAAM;EACJ,MAAM;GACJ,YAAY;GACZ,SAAS;GACT,KAAK;GACN;EACD,SAAS;GACP,OAAO;GACP,MAAM;GACN,UAAU;GACV,UAAU;GACV,UAAU;GACV,cAAc;GACd,WAAW;GACX,YAAY;GACZ,QAAQ;IACN,YAAY;IACZ,SAAS;IACT,QAAQ;IACR,eAAe;IACf,UAAU;IACV,OAAO;IACP,KAAK;IACL,OAAO;IACR;GACF;EACD,QAAQ,EACN,YAAY,KACb;EACF;CACF,CAAC"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
declare const pageFooterSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"link" | "status" | "root" | "statusLabel" | "statusDot" | "copyright" | "copyrightText" | "links", {
|
|
2
|
+
colorScheme: {
|
|
3
|
+
gray: {
|
|
4
|
+
root: {
|
|
5
|
+
background: "background/secondary";
|
|
6
|
+
};
|
|
7
|
+
status: {
|
|
8
|
+
background: "background/tertiary";
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
white: {
|
|
12
|
+
root: {
|
|
13
|
+
background: "background/primary";
|
|
14
|
+
};
|
|
15
|
+
status: {
|
|
16
|
+
background: "background/secondary";
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
size: {
|
|
21
|
+
compact: {
|
|
22
|
+
root: {
|
|
23
|
+
height: {
|
|
24
|
+
tablet: "32";
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
default: {
|
|
29
|
+
root: {
|
|
30
|
+
height: {
|
|
31
|
+
tablet: "64";
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
variant: {
|
|
37
|
+
default: {
|
|
38
|
+
root: {
|
|
39
|
+
paddingInlineEnd: {
|
|
40
|
+
base: "16";
|
|
41
|
+
tablet: string;
|
|
42
|
+
};
|
|
43
|
+
position: {
|
|
44
|
+
tablet: "relative";
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
copyright: {
|
|
48
|
+
insetInlineStart: {
|
|
49
|
+
tablet: "50%";
|
|
50
|
+
};
|
|
51
|
+
position: {
|
|
52
|
+
tablet: "absolute";
|
|
53
|
+
};
|
|
54
|
+
top: {
|
|
55
|
+
tablet: "50%";
|
|
56
|
+
};
|
|
57
|
+
transform: {
|
|
58
|
+
tablet: "translate(-50%, -50%)";
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
links: {
|
|
62
|
+
borderBlockEnd: {
|
|
63
|
+
base: "1px solid {colors.border.minimal}";
|
|
64
|
+
tablet: "none";
|
|
65
|
+
};
|
|
66
|
+
borderBlockStart: {
|
|
67
|
+
base: "1px solid {colors.border.minimal}";
|
|
68
|
+
tablet: "none";
|
|
69
|
+
};
|
|
70
|
+
paddingBlock: {
|
|
71
|
+
base: "16";
|
|
72
|
+
tablet: "0";
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
public: {
|
|
77
|
+
root: {
|
|
78
|
+
paddingInlineEnd: {
|
|
79
|
+
base: "16";
|
|
80
|
+
tablet: "40";
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
links: {
|
|
84
|
+
borderBlockEnd: {
|
|
85
|
+
base: "1px solid {colors.border.minimal}";
|
|
86
|
+
tablet: "none";
|
|
87
|
+
};
|
|
88
|
+
paddingBlockEnd: {
|
|
89
|
+
base: "16";
|
|
90
|
+
tablet: "0";
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}>;
|
|
96
|
+
export default pageFooterSlotRecipe;
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { rem } from "../themeUtils.js";
|
|
2
|
+
import { defineSlotRecipe } from "@chakra-ui/react/styled-system";
|
|
3
|
+
//#region lib/theme/slot-recipes/PageFooter.recipe.ts
|
|
4
|
+
var pageFooterSlotRecipe = defineSlotRecipe({
|
|
5
|
+
className: "page-footer",
|
|
6
|
+
slots: [
|
|
7
|
+
"root",
|
|
8
|
+
"status",
|
|
9
|
+
"statusDot",
|
|
10
|
+
"statusLabel",
|
|
11
|
+
"copyright",
|
|
12
|
+
"copyrightText",
|
|
13
|
+
"links",
|
|
14
|
+
"link"
|
|
15
|
+
],
|
|
16
|
+
base: {
|
|
17
|
+
root: {
|
|
18
|
+
alignItems: "center",
|
|
19
|
+
display: "flex",
|
|
20
|
+
flexDirection: {
|
|
21
|
+
base: "column",
|
|
22
|
+
tablet: "row"
|
|
23
|
+
},
|
|
24
|
+
gap: {
|
|
25
|
+
base: "16",
|
|
26
|
+
tablet: "0"
|
|
27
|
+
},
|
|
28
|
+
justifyContent: "space-between",
|
|
29
|
+
padding: {
|
|
30
|
+
base: "16",
|
|
31
|
+
tablet: "0"
|
|
32
|
+
},
|
|
33
|
+
paddingInlineStart: {
|
|
34
|
+
base: "16",
|
|
35
|
+
tablet: "20"
|
|
36
|
+
},
|
|
37
|
+
width: "100%"
|
|
38
|
+
},
|
|
39
|
+
status: {
|
|
40
|
+
alignItems: "center",
|
|
41
|
+
borderRadius: "4",
|
|
42
|
+
display: "flex",
|
|
43
|
+
flexShrink: 0,
|
|
44
|
+
gap: "4",
|
|
45
|
+
paddingBlock: "4",
|
|
46
|
+
paddingInlineEnd: "8",
|
|
47
|
+
paddingInlineStart: "4"
|
|
48
|
+
},
|
|
49
|
+
statusDot: {
|
|
50
|
+
borderRadius: "full",
|
|
51
|
+
flexShrink: 0,
|
|
52
|
+
height: "8",
|
|
53
|
+
width: "8",
|
|
54
|
+
marginInline: "4"
|
|
55
|
+
},
|
|
56
|
+
statusLabel: {
|
|
57
|
+
color: "text/secondary",
|
|
58
|
+
textStyle: "comp/badge/sm",
|
|
59
|
+
whiteSpace: "nowrap"
|
|
60
|
+
},
|
|
61
|
+
copyright: {
|
|
62
|
+
alignItems: "center",
|
|
63
|
+
display: "flex",
|
|
64
|
+
gap: "8",
|
|
65
|
+
order: {
|
|
66
|
+
base: 3,
|
|
67
|
+
tablet: 0
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
copyrightText: {
|
|
71
|
+
color: "text/secondary",
|
|
72
|
+
textStyle: "body/md/regular",
|
|
73
|
+
whiteSpace: "nowrap"
|
|
74
|
+
},
|
|
75
|
+
links: {
|
|
76
|
+
alignItems: "center",
|
|
77
|
+
display: "flex",
|
|
78
|
+
flexShrink: 0,
|
|
79
|
+
flexWrap: {
|
|
80
|
+
base: "wrap",
|
|
81
|
+
tablet: "nowrap"
|
|
82
|
+
},
|
|
83
|
+
gap: {
|
|
84
|
+
base: "40",
|
|
85
|
+
tablet: "24"
|
|
86
|
+
},
|
|
87
|
+
justifyContent: {
|
|
88
|
+
base: "center",
|
|
89
|
+
tablet: "flex-start"
|
|
90
|
+
},
|
|
91
|
+
order: {
|
|
92
|
+
base: 2,
|
|
93
|
+
tablet: 0
|
|
94
|
+
},
|
|
95
|
+
rowGap: {
|
|
96
|
+
base: "12",
|
|
97
|
+
tablet: "8"
|
|
98
|
+
},
|
|
99
|
+
width: {
|
|
100
|
+
base: "100%",
|
|
101
|
+
tablet: "auto"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
link: {
|
|
105
|
+
background: "transparent",
|
|
106
|
+
border: "none",
|
|
107
|
+
color: "text/secondary",
|
|
108
|
+
cursor: "pointer",
|
|
109
|
+
padding: 0,
|
|
110
|
+
textDecoration: "none",
|
|
111
|
+
textStyle: {
|
|
112
|
+
base: "body/lg/regular",
|
|
113
|
+
tablet: "body/md/regular"
|
|
114
|
+
},
|
|
115
|
+
whiteSpace: "nowrap",
|
|
116
|
+
_hover: { textDecoration: "underline" }
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
variants: {
|
|
120
|
+
colorScheme: {
|
|
121
|
+
gray: {
|
|
122
|
+
root: { background: "background/secondary" },
|
|
123
|
+
status: { background: "background/tertiary" }
|
|
124
|
+
},
|
|
125
|
+
white: {
|
|
126
|
+
root: { background: "background/primary" },
|
|
127
|
+
status: { background: "background/secondary" }
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
size: {
|
|
131
|
+
compact: { root: { height: { tablet: "32" } } },
|
|
132
|
+
default: { root: { height: { tablet: "64" } } }
|
|
133
|
+
},
|
|
134
|
+
variant: {
|
|
135
|
+
default: {
|
|
136
|
+
root: {
|
|
137
|
+
paddingInlineEnd: {
|
|
138
|
+
base: "16",
|
|
139
|
+
tablet: rem(80)
|
|
140
|
+
},
|
|
141
|
+
position: { tablet: "relative" }
|
|
142
|
+
},
|
|
143
|
+
copyright: {
|
|
144
|
+
insetInlineStart: { tablet: "50%" },
|
|
145
|
+
position: { tablet: "absolute" },
|
|
146
|
+
top: { tablet: "50%" },
|
|
147
|
+
transform: { tablet: "translate(-50%, -50%)" }
|
|
148
|
+
},
|
|
149
|
+
links: {
|
|
150
|
+
borderBlockEnd: {
|
|
151
|
+
base: "1px solid {colors.border.minimal}",
|
|
152
|
+
tablet: "none"
|
|
153
|
+
},
|
|
154
|
+
borderBlockStart: {
|
|
155
|
+
base: "1px solid {colors.border.minimal}",
|
|
156
|
+
tablet: "none"
|
|
157
|
+
},
|
|
158
|
+
paddingBlock: {
|
|
159
|
+
base: "16",
|
|
160
|
+
tablet: "0"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
public: {
|
|
165
|
+
root: { paddingInlineEnd: {
|
|
166
|
+
base: "16",
|
|
167
|
+
tablet: "40"
|
|
168
|
+
} },
|
|
169
|
+
links: {
|
|
170
|
+
borderBlockEnd: {
|
|
171
|
+
base: "1px solid {colors.border.minimal}",
|
|
172
|
+
tablet: "none"
|
|
173
|
+
},
|
|
174
|
+
paddingBlockEnd: {
|
|
175
|
+
base: "16",
|
|
176
|
+
tablet: "0"
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
defaultVariants: {
|
|
183
|
+
colorScheme: "gray",
|
|
184
|
+
size: "default",
|
|
185
|
+
variant: "default"
|
|
186
|
+
}
|
|
187
|
+
});
|
|
188
|
+
//#endregion
|
|
189
|
+
export { pageFooterSlotRecipe as default };
|
|
190
|
+
|
|
191
|
+
//# sourceMappingURL=PageFooter.recipe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageFooter.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/PageFooter.recipe.ts"],"sourcesContent":["import { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nimport { rem } from '../themeUtils';\n\nconst pageFooterSlotRecipe = defineSlotRecipe({\n className: 'page-footer',\n slots: ['root', 'status', 'statusDot', 'statusLabel', 'copyright', 'copyrightText', 'links', 'link'] as const,\n base: {\n root: {\n alignItems: 'center',\n display: 'flex',\n flexDirection: { base: 'column', tablet: 'row' },\n gap: { base: '16', tablet: '0' },\n justifyContent: 'space-between',\n padding: { base: '16', tablet: '0' },\n paddingInlineStart: { base: '16', tablet: '20' },\n width: '100%',\n },\n status: {\n alignItems: 'center',\n borderRadius: '4',\n display: 'flex',\n flexShrink: 0,\n gap: '4',\n paddingBlock: '4',\n paddingInlineEnd: '8',\n paddingInlineStart: '4',\n },\n statusDot: {\n borderRadius: 'full',\n flexShrink: 0,\n height: '8',\n width: '8',\n marginInline: '4',\n },\n statusLabel: {\n color: 'text/secondary',\n textStyle: 'comp/badge/sm',\n whiteSpace: 'nowrap',\n },\n copyright: {\n alignItems: 'center',\n display: 'flex',\n gap: '8',\n order: { base: 3, tablet: 0 },\n },\n copyrightText: {\n color: 'text/secondary',\n textStyle: 'body/md/regular',\n whiteSpace: 'nowrap',\n },\n links: {\n alignItems: 'center',\n display: 'flex',\n flexShrink: 0,\n flexWrap: { base: 'wrap', tablet: 'nowrap' },\n gap: { base: '40', tablet: '24' },\n justifyContent: { base: 'center', tablet: 'flex-start' },\n order: { base: 2, tablet: 0 },\n rowGap: { base: '12', tablet: '8' },\n width: { base: '100%', tablet: 'auto' },\n },\n link: {\n background: 'transparent',\n border: 'none',\n color: 'text/secondary',\n cursor: 'pointer',\n padding: 0,\n textDecoration: 'none',\n textStyle: { base: 'body/lg/regular', tablet: 'body/md/regular' },\n whiteSpace: 'nowrap',\n _hover: {\n textDecoration: 'underline',\n },\n },\n },\n variants: {\n colorScheme: {\n gray: {\n root: {\n background: 'background/secondary',\n },\n status: {\n background: 'background/tertiary',\n },\n },\n white: {\n root: {\n background: 'background/primary',\n },\n status: {\n background: 'background/secondary',\n },\n },\n },\n size: {\n compact: {\n root: {\n height: { tablet: '32' },\n },\n },\n default: {\n root: {\n height: { tablet: '64' },\n },\n },\n },\n variant: {\n default: {\n root: {\n paddingInlineEnd: { base: '16', tablet: rem(80) },\n position: { tablet: 'relative' },\n },\n copyright: {\n insetInlineStart: { tablet: '50%' },\n position: { tablet: 'absolute' },\n top: { tablet: '50%' },\n transform: { tablet: 'translate(-50%, -50%)' },\n },\n links: {\n borderBlockEnd: { base: '1px solid {colors.border.minimal}', tablet: 'none' },\n borderBlockStart: { base: '1px solid {colors.border.minimal}', tablet: 'none' },\n paddingBlock: { base: '16', tablet: '0' },\n },\n },\n public: {\n root: {\n paddingInlineEnd: { base: '16', tablet: '40' },\n },\n links: {\n borderBlockEnd: { base: '1px solid {colors.border.minimal}', tablet: 'none' },\n paddingBlockEnd: { base: '16', tablet: '0' },\n },\n },\n },\n },\n defaultVariants: {\n colorScheme: 'gray',\n size: 'default',\n variant: 'default',\n },\n});\n\nexport default pageFooterSlotRecipe;\n"],"mappings":";;;AAIA,IAAM,uBAAuB,iBAAiB;CAC5C,WAAW;CACX,OAAO;EAAC;EAAQ;EAAU;EAAa;EAAe;EAAa;EAAiB;EAAS;EAAO;CACpG,MAAM;EACJ,MAAM;GACJ,YAAY;GACZ,SAAS;GACT,eAAe;IAAE,MAAM;IAAU,QAAQ;IAAO;GAChD,KAAK;IAAE,MAAM;IAAM,QAAQ;IAAK;GAChC,gBAAgB;GAChB,SAAS;IAAE,MAAM;IAAM,QAAQ;IAAK;GACpC,oBAAoB;IAAE,MAAM;IAAM,QAAQ;IAAM;GAChD,OAAO;GACR;EACD,QAAQ;GACN,YAAY;GACZ,cAAc;GACd,SAAS;GACT,YAAY;GACZ,KAAK;GACL,cAAc;GACd,kBAAkB;GAClB,oBAAoB;GACrB;EACD,WAAW;GACT,cAAc;GACd,YAAY;GACZ,QAAQ;GACR,OAAO;GACP,cAAc;GACf;EACD,aAAa;GACX,OAAO;GACP,WAAW;GACX,YAAY;GACb;EACD,WAAW;GACT,YAAY;GACZ,SAAS;GACT,KAAK;GACL,OAAO;IAAE,MAAM;IAAG,QAAQ;IAAG;GAC9B;EACD,eAAe;GACb,OAAO;GACP,WAAW;GACX,YAAY;GACb;EACD,OAAO;GACL,YAAY;GACZ,SAAS;GACT,YAAY;GACZ,UAAU;IAAE,MAAM;IAAQ,QAAQ;IAAU;GAC5C,KAAK;IAAE,MAAM;IAAM,QAAQ;IAAM;GACjC,gBAAgB;IAAE,MAAM;IAAU,QAAQ;IAAc;GACxD,OAAO;IAAE,MAAM;IAAG,QAAQ;IAAG;GAC7B,QAAQ;IAAE,MAAM;IAAM,QAAQ;IAAK;GACnC,OAAO;IAAE,MAAM;IAAQ,QAAQ;IAAQ;GACxC;EACD,MAAM;GACJ,YAAY;GACZ,QAAQ;GACR,OAAO;GACP,QAAQ;GACR,SAAS;GACT,gBAAgB;GAChB,WAAW;IAAE,MAAM;IAAmB,QAAQ;IAAmB;GACjE,YAAY;GACZ,QAAQ,EACN,gBAAgB,aACjB;GACF;EACF;CACD,UAAU;EACR,aAAa;GACX,MAAM;IACJ,MAAM,EACJ,YAAY,wBACb;IACD,QAAQ,EACN,YAAY,uBACb;IACF;GACD,OAAO;IACL,MAAM,EACJ,YAAY,sBACb;IACD,QAAQ,EACN,YAAY,wBACb;IACF;GACF;EACD,MAAM;GACJ,SAAS,EACP,MAAM,EACJ,QAAQ,EAAE,QAAQ,MAAM,EACzB,EACF;GACD,SAAS,EACP,MAAM,EACJ,QAAQ,EAAE,QAAQ,MAAM,EACzB,EACF;GACF;EACD,SAAS;GACP,SAAS;IACP,MAAM;KACJ,kBAAkB;MAAE,MAAM;MAAM,QAAQ,IAAI,GAAG;MAAE;KACjD,UAAU,EAAE,QAAQ,YAAY;KACjC;IACD,WAAW;KACT,kBAAkB,EAAE,QAAQ,OAAO;KACnC,UAAU,EAAE,QAAQ,YAAY;KAChC,KAAK,EAAE,QAAQ,OAAO;KACtB,WAAW,EAAE,QAAQ,yBAAyB;KAC/C;IACD,OAAO;KACL,gBAAgB;MAAE,MAAM;MAAqC,QAAQ;MAAQ;KAC7E,kBAAkB;MAAE,MAAM;MAAqC,QAAQ;MAAQ;KAC/E,cAAc;MAAE,MAAM;MAAM,QAAQ;MAAK;KAC1C;IACF;GACD,QAAQ;IACN,MAAM,EACJ,kBAAkB;KAAE,MAAM;KAAM,QAAQ;KAAM,EAC/C;IACD,OAAO;KACL,gBAAgB;MAAE,MAAM;MAAqC,QAAQ;MAAQ;KAC7E,iBAAiB;MAAE,MAAM;MAAM,QAAQ;MAAK;KAC7C;IACF;GACF;EACF;CACD,iBAAiB;EACf,aAAa;EACb,MAAM;EACN,SAAS;EACV;CACF,CAAC"}
|
|
@@ -507,7 +507,7 @@ declare const slotRecipes: {
|
|
|
507
507
|
};
|
|
508
508
|
};
|
|
509
509
|
}>;
|
|
510
|
-
dialog: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "body" | "footer" | "header" | "label" | "title" | "trigger" | "positioner" | "closeTrigger" | "description" | "
|
|
510
|
+
dialog: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "body" | "footer" | "header" | "label" | "title" | "trigger" | "positioner" | "closeTrigger" | "description" | "scrollBody" | "scrollGradient" | "scrollButton" | "backdrop", {
|
|
511
511
|
scrollBehavior: {
|
|
512
512
|
inside: {
|
|
513
513
|
body: {
|
|
@@ -540,6 +540,52 @@ declare const slotRecipes: {
|
|
|
540
540
|
};
|
|
541
541
|
};
|
|
542
542
|
};
|
|
543
|
+
variant: {
|
|
544
|
+
overflowContent: {
|
|
545
|
+
content: {
|
|
546
|
+
maxHeight: "calc(100dvh - 48px)";
|
|
547
|
+
overflow: "hidden";
|
|
548
|
+
};
|
|
549
|
+
header: {
|
|
550
|
+
gap: "8";
|
|
551
|
+
paddingBlockEnd: "8";
|
|
552
|
+
paddingBlockStart: "16";
|
|
553
|
+
paddingInline: "16";
|
|
554
|
+
};
|
|
555
|
+
title: {
|
|
556
|
+
paddingInlineEnd: "32";
|
|
557
|
+
textStyle: "heading/h4";
|
|
558
|
+
};
|
|
559
|
+
body: {
|
|
560
|
+
overflowY: "auto";
|
|
561
|
+
paddingBlockEnd: "8";
|
|
562
|
+
paddingInline: "16";
|
|
563
|
+
_last: {
|
|
564
|
+
paddingBlockEnd: number;
|
|
565
|
+
};
|
|
566
|
+
};
|
|
567
|
+
scrollBody: {
|
|
568
|
+
_last: {
|
|
569
|
+
paddingBlockEnd: "16";
|
|
570
|
+
};
|
|
571
|
+
};
|
|
572
|
+
footer: {
|
|
573
|
+
paddingBlockEnd: "16";
|
|
574
|
+
paddingBlockStart: number;
|
|
575
|
+
paddingInline: "16";
|
|
576
|
+
};
|
|
577
|
+
closeTrigger: {
|
|
578
|
+
insetEnd: "12";
|
|
579
|
+
top: "12";
|
|
580
|
+
};
|
|
581
|
+
scrollGradient: {
|
|
582
|
+
bottom: "16";
|
|
583
|
+
};
|
|
584
|
+
scrollButton: {
|
|
585
|
+
bottom: "8";
|
|
586
|
+
};
|
|
587
|
+
};
|
|
588
|
+
};
|
|
543
589
|
}>;
|
|
544
590
|
draggableCard: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "root" | "handle", {
|
|
545
591
|
isDragging: {
|
|
@@ -943,6 +989,102 @@ declare const slotRecipes: {
|
|
|
943
989
|
};
|
|
944
990
|
};
|
|
945
991
|
}>;
|
|
992
|
+
overflowContent: import('@chakra-ui/react').SlotRecipeDefinition<"root" | "action" | "preview", import('@chakra-ui/react').SlotRecipeVariantRecord<"root" | "action" | "preview">>;
|
|
993
|
+
pageFooter: import('@chakra-ui/react').SlotRecipeDefinition<"link" | "status" | "root" | "statusLabel" | "statusDot" | "copyright" | "copyrightText" | "links", {
|
|
994
|
+
colorScheme: {
|
|
995
|
+
gray: {
|
|
996
|
+
root: {
|
|
997
|
+
background: "background/secondary";
|
|
998
|
+
};
|
|
999
|
+
status: {
|
|
1000
|
+
background: "background/tertiary";
|
|
1001
|
+
};
|
|
1002
|
+
};
|
|
1003
|
+
white: {
|
|
1004
|
+
root: {
|
|
1005
|
+
background: "background/primary";
|
|
1006
|
+
};
|
|
1007
|
+
status: {
|
|
1008
|
+
background: "background/secondary";
|
|
1009
|
+
};
|
|
1010
|
+
};
|
|
1011
|
+
};
|
|
1012
|
+
size: {
|
|
1013
|
+
compact: {
|
|
1014
|
+
root: {
|
|
1015
|
+
height: {
|
|
1016
|
+
tablet: "32";
|
|
1017
|
+
};
|
|
1018
|
+
};
|
|
1019
|
+
};
|
|
1020
|
+
default: {
|
|
1021
|
+
root: {
|
|
1022
|
+
height: {
|
|
1023
|
+
tablet: "64";
|
|
1024
|
+
};
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
1027
|
+
};
|
|
1028
|
+
variant: {
|
|
1029
|
+
default: {
|
|
1030
|
+
root: {
|
|
1031
|
+
paddingInlineEnd: {
|
|
1032
|
+
base: "16";
|
|
1033
|
+
tablet: string;
|
|
1034
|
+
};
|
|
1035
|
+
position: {
|
|
1036
|
+
tablet: "relative";
|
|
1037
|
+
};
|
|
1038
|
+
};
|
|
1039
|
+
copyright: {
|
|
1040
|
+
insetInlineStart: {
|
|
1041
|
+
tablet: "50%";
|
|
1042
|
+
};
|
|
1043
|
+
position: {
|
|
1044
|
+
tablet: "absolute";
|
|
1045
|
+
};
|
|
1046
|
+
top: {
|
|
1047
|
+
tablet: "50%";
|
|
1048
|
+
};
|
|
1049
|
+
transform: {
|
|
1050
|
+
tablet: "translate(-50%, -50%)";
|
|
1051
|
+
};
|
|
1052
|
+
};
|
|
1053
|
+
links: {
|
|
1054
|
+
borderBlockEnd: {
|
|
1055
|
+
base: "1px solid {colors.border.minimal}";
|
|
1056
|
+
tablet: "none";
|
|
1057
|
+
};
|
|
1058
|
+
borderBlockStart: {
|
|
1059
|
+
base: "1px solid {colors.border.minimal}";
|
|
1060
|
+
tablet: "none";
|
|
1061
|
+
};
|
|
1062
|
+
paddingBlock: {
|
|
1063
|
+
base: "16";
|
|
1064
|
+
tablet: "0";
|
|
1065
|
+
};
|
|
1066
|
+
};
|
|
1067
|
+
};
|
|
1068
|
+
public: {
|
|
1069
|
+
root: {
|
|
1070
|
+
paddingInlineEnd: {
|
|
1071
|
+
base: "16";
|
|
1072
|
+
tablet: "40";
|
|
1073
|
+
};
|
|
1074
|
+
};
|
|
1075
|
+
links: {
|
|
1076
|
+
borderBlockEnd: {
|
|
1077
|
+
base: "1px solid {colors.border.minimal}";
|
|
1078
|
+
tablet: "none";
|
|
1079
|
+
};
|
|
1080
|
+
paddingBlockEnd: {
|
|
1081
|
+
base: "16";
|
|
1082
|
+
tablet: "0";
|
|
1083
|
+
};
|
|
1084
|
+
};
|
|
1085
|
+
};
|
|
1086
|
+
};
|
|
1087
|
+
}>;
|
|
946
1088
|
pagination: import('@chakra-ui/react').SlotRecipeDefinition<"text" | "root" | "itemsBlock" | "itemsSelect" | "pageBlock" | "pageSelect", {
|
|
947
1089
|
variant: {
|
|
948
1090
|
card: {
|
|
@@ -29,6 +29,8 @@ import markdownCardSlotRecipe from "./MarkdownCard.recipe.js";
|
|
|
29
29
|
import menuSlotRecipe from "./Menu.recipe.js";
|
|
30
30
|
import nativeSelectSlotRecipe from "./NativeSelect.recipe.js";
|
|
31
31
|
import noteCardSlotRecipe from "./NoteCard.recipe.js";
|
|
32
|
+
import overflowContentSlotRecipe from "./OverflowContent.recipe.js";
|
|
33
|
+
import pageFooterSlotRecipe from "./PageFooter.recipe.js";
|
|
32
34
|
import paginationSlotRecipe from "./Pagination.recipe.js";
|
|
33
35
|
import paginationLoadMoreRecipe from "./PaginationLoadMore.recipe.js";
|
|
34
36
|
import radioGroupSlotRecipe from "./RadioGroup.recipe.js";
|
|
@@ -78,6 +80,8 @@ var slotRecipes = {
|
|
|
78
80
|
noteCard: noteCardSlotRecipe,
|
|
79
81
|
nativeSelect: nativeSelectSlotRecipe,
|
|
80
82
|
numberInput: numberInputSlotRecipe,
|
|
83
|
+
overflowContent: overflowContentSlotRecipe,
|
|
84
|
+
pageFooter: pageFooterSlotRecipe,
|
|
81
85
|
pagination: paginationSlotRecipe,
|
|
82
86
|
paginationLoadMore: paginationLoadMoreRecipe,
|
|
83
87
|
radioGroup: radioGroupSlotRecipe,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../lib/theme/slot-recipes/index.ts"],"sourcesContent":["import accordionSlotRecipe from './Accordion.recipe.ts';\nimport actionBarSlotRecipe from './ActionBar.recipe.ts';\nimport alertSlotRecipe from './Alert.recipe.ts';\nimport avatarSlotRecipe from './Avatar.recipe.ts';\nimport breadcrumbSlotRecipe from './Breadcrumb.recipe.ts';\nimport cardSlotRecipe from './Card.recipe';\nimport checkboxSlotRecipe from './Checkbox.recipe';\nimport codeSnippetSlotRecipe from './CodeSnippet.recipe.ts';\nimport collapsibleSlotRecipe from './Collapsible.recipe.ts';\nimport comboboxSlotRecipe from './Combobox.recipe.ts';\nimport datePickerSlotRecipe from './DatePicker.recipe.ts';\nimport datePickerSelectSlotRecipe from './DatePickerSelect.recipe.ts';\nimport dialogSlotRecipe from './Dialog.recipe.ts';\nimport draggableCardSlotRecipe from './DraggableCard.recipe.ts';\nimport emptyStateSlotRecipe from './EmptyState.recipe';\nimport expandableCardSlotRecipe from './ExpandableCard.recipe.ts';\nimport fieldSlotRecipe from './Field.recipe';\nimport fieldsetSlotRecipe from './Fieldset.recipe.ts';\nimport fileUploadSlotRecipe from './FileUpload.recipe.ts';\nimport groupHeadingSlotRecipe from './GroupHeading.recipe.ts';\nimport imageCropperSlotRecipe from './ImageCropper.recipe.ts';\nimport inlineLoadingSlotRecipe from './InlineLoading.recipe.ts';\nimport labeledDataSlotRecipe from './LabeledData.recipe.ts';\nimport listSlotRecipe from './List.recipe.ts';\nimport markdownSlotRecipe from './Markdown.recipe.ts';\nimport markdownCardSlotRecipe from './MarkdownCard.recipe.ts';\nimport menuSlotRecipe from './Menu.recipe.ts';\nimport nativeSelectSlotRecipe from './NativeSelect.recipe.ts';\nimport noteCardSlotRecipe from './NoteCard.recipe.ts';\nimport numberInputSlotRecipe from './NumberInput.recipe';\nimport paginationSlotRecipe from './Pagination.recipe.ts';\nimport paginationLoadMoreSlotRecipe from './PaginationLoadMore.recipe.ts';\nimport radioGroupSlotRecipe from './RadioGroup.recipe.ts';\nimport ribbonSlotRecipe from './Ribbon.recipe.ts';\nimport sectionHeadingSlotRecipe from './SectionHeading.recipe.ts';\nimport segmentGroupSlotRecipe from './SegmentGroup.recipe.ts';\nimport { selectSlotRecipe } from './Select.recipe.ts';\nimport sidebarSlotRecipe from './Sidebar.recipe.ts';\nimport splitButtonSlotRecipe from './SplitButton.recipe.ts';\nimport statSlotRecipe from './Stat.recipe.ts';\nimport stepCardSlotRecipe from './StepCard.recipe.ts';\nimport stepsSlotRecipe from './Steps.recipe.ts';\nimport switchSlotRecipe from './Switch.recipe';\nimport tableSlotRecipe from './Table.recipe.ts';\nimport tabsSlotRecipe from './Tabs.recipe';\nimport tagSlotRecipe from './Tag.recipe.ts';\nimport tagsInputSlotRecipe from './TagsInput.recipe.ts';\nimport toastSlotRecipe from './Toast.recipe';\nimport tooltipSlotRecipe from './Tooltip.recipe';\n\nconst slotRecipes = {\n accordion: accordionSlotRecipe,\n actionBar: actionBarSlotRecipe,\n alert: alertSlotRecipe,\n avatar: avatarSlotRecipe,\n breadcrumb: breadcrumbSlotRecipe,\n card: cardSlotRecipe,\n checkbox: checkboxSlotRecipe,\n codeSnippet: codeSnippetSlotRecipe,\n collapsible: collapsibleSlotRecipe,\n combobox: comboboxSlotRecipe,\n datePicker: datePickerSlotRecipe,\n datePickerSelect: datePickerSelectSlotRecipe,\n dialog: dialogSlotRecipe,\n draggableCard: draggableCardSlotRecipe,\n emptyState: emptyStateSlotRecipe,\n expandableCard: expandableCardSlotRecipe,\n field: fieldSlotRecipe,\n groupHeading: groupHeadingSlotRecipe,\n fieldset: fieldsetSlotRecipe,\n fileUpload: fileUploadSlotRecipe,\n imageCropper: imageCropperSlotRecipe,\n inlineLoading: inlineLoadingSlotRecipe,\n list: listSlotRecipe,\n markdown: markdownSlotRecipe,\n markdownCard: markdownCardSlotRecipe,\n menu: menuSlotRecipe,\n noteCard: noteCardSlotRecipe,\n nativeSelect: nativeSelectSlotRecipe,\n numberInput: numberInputSlotRecipe,\n pagination: paginationSlotRecipe,\n paginationLoadMore: paginationLoadMoreSlotRecipe,\n radioGroup: radioGroupSlotRecipe,\n ribbon: ribbonSlotRecipe,\n sectionHeading: sectionHeadingSlotRecipe,\n labeledData: labeledDataSlotRecipe,\n segmentGroup: segmentGroupSlotRecipe,\n sidebar: sidebarSlotRecipe,\n select: selectSlotRecipe,\n splitButton: splitButtonSlotRecipe,\n stat: statSlotRecipe,\n stepsCard: stepCardSlotRecipe,\n steps: stepsSlotRecipe,\n switch: switchSlotRecipe,\n table: tableSlotRecipe,\n tabs: tabsSlotRecipe,\n tag: tagSlotRecipe,\n tagsInput: tagsInputSlotRecipe,\n toast: toastSlotRecipe,\n tooltip: tooltipSlotRecipe,\n};\n\nexport default slotRecipes;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../lib/theme/slot-recipes/index.ts"],"sourcesContent":["import accordionSlotRecipe from './Accordion.recipe.ts';\nimport actionBarSlotRecipe from './ActionBar.recipe.ts';\nimport alertSlotRecipe from './Alert.recipe.ts';\nimport avatarSlotRecipe from './Avatar.recipe.ts';\nimport breadcrumbSlotRecipe from './Breadcrumb.recipe.ts';\nimport cardSlotRecipe from './Card.recipe';\nimport checkboxSlotRecipe from './Checkbox.recipe';\nimport codeSnippetSlotRecipe from './CodeSnippet.recipe.ts';\nimport collapsibleSlotRecipe from './Collapsible.recipe.ts';\nimport comboboxSlotRecipe from './Combobox.recipe.ts';\nimport datePickerSlotRecipe from './DatePicker.recipe.ts';\nimport datePickerSelectSlotRecipe from './DatePickerSelect.recipe.ts';\nimport dialogSlotRecipe from './Dialog.recipe.ts';\nimport draggableCardSlotRecipe from './DraggableCard.recipe.ts';\nimport emptyStateSlotRecipe from './EmptyState.recipe';\nimport expandableCardSlotRecipe from './ExpandableCard.recipe.ts';\nimport fieldSlotRecipe from './Field.recipe';\nimport fieldsetSlotRecipe from './Fieldset.recipe.ts';\nimport fileUploadSlotRecipe from './FileUpload.recipe.ts';\nimport groupHeadingSlotRecipe from './GroupHeading.recipe.ts';\nimport imageCropperSlotRecipe from './ImageCropper.recipe.ts';\nimport inlineLoadingSlotRecipe from './InlineLoading.recipe.ts';\nimport labeledDataSlotRecipe from './LabeledData.recipe.ts';\nimport listSlotRecipe from './List.recipe.ts';\nimport markdownSlotRecipe from './Markdown.recipe.ts';\nimport markdownCardSlotRecipe from './MarkdownCard.recipe.ts';\nimport menuSlotRecipe from './Menu.recipe.ts';\nimport nativeSelectSlotRecipe from './NativeSelect.recipe.ts';\nimport noteCardSlotRecipe from './NoteCard.recipe.ts';\nimport numberInputSlotRecipe from './NumberInput.recipe';\nimport overflowContentSlotRecipe from './OverflowContent.recipe.ts';\nimport pageFooterSlotRecipe from './PageFooter.recipe.ts';\nimport paginationSlotRecipe from './Pagination.recipe.ts';\nimport paginationLoadMoreSlotRecipe from './PaginationLoadMore.recipe.ts';\nimport radioGroupSlotRecipe from './RadioGroup.recipe.ts';\nimport ribbonSlotRecipe from './Ribbon.recipe.ts';\nimport sectionHeadingSlotRecipe from './SectionHeading.recipe.ts';\nimport segmentGroupSlotRecipe from './SegmentGroup.recipe.ts';\nimport { selectSlotRecipe } from './Select.recipe.ts';\nimport sidebarSlotRecipe from './Sidebar.recipe.ts';\nimport splitButtonSlotRecipe from './SplitButton.recipe.ts';\nimport statSlotRecipe from './Stat.recipe.ts';\nimport stepCardSlotRecipe from './StepCard.recipe.ts';\nimport stepsSlotRecipe from './Steps.recipe.ts';\nimport switchSlotRecipe from './Switch.recipe';\nimport tableSlotRecipe from './Table.recipe.ts';\nimport tabsSlotRecipe from './Tabs.recipe';\nimport tagSlotRecipe from './Tag.recipe.ts';\nimport tagsInputSlotRecipe from './TagsInput.recipe.ts';\nimport toastSlotRecipe from './Toast.recipe';\nimport tooltipSlotRecipe from './Tooltip.recipe';\n\nconst slotRecipes = {\n accordion: accordionSlotRecipe,\n actionBar: actionBarSlotRecipe,\n alert: alertSlotRecipe,\n avatar: avatarSlotRecipe,\n breadcrumb: breadcrumbSlotRecipe,\n card: cardSlotRecipe,\n checkbox: checkboxSlotRecipe,\n codeSnippet: codeSnippetSlotRecipe,\n collapsible: collapsibleSlotRecipe,\n combobox: comboboxSlotRecipe,\n datePicker: datePickerSlotRecipe,\n datePickerSelect: datePickerSelectSlotRecipe,\n dialog: dialogSlotRecipe,\n draggableCard: draggableCardSlotRecipe,\n emptyState: emptyStateSlotRecipe,\n expandableCard: expandableCardSlotRecipe,\n field: fieldSlotRecipe,\n groupHeading: groupHeadingSlotRecipe,\n fieldset: fieldsetSlotRecipe,\n fileUpload: fileUploadSlotRecipe,\n imageCropper: imageCropperSlotRecipe,\n inlineLoading: inlineLoadingSlotRecipe,\n list: listSlotRecipe,\n markdown: markdownSlotRecipe,\n markdownCard: markdownCardSlotRecipe,\n menu: menuSlotRecipe,\n noteCard: noteCardSlotRecipe,\n nativeSelect: nativeSelectSlotRecipe,\n numberInput: numberInputSlotRecipe,\n overflowContent: overflowContentSlotRecipe,\n pageFooter: pageFooterSlotRecipe,\n pagination: paginationSlotRecipe,\n paginationLoadMore: paginationLoadMoreSlotRecipe,\n radioGroup: radioGroupSlotRecipe,\n ribbon: ribbonSlotRecipe,\n sectionHeading: sectionHeadingSlotRecipe,\n labeledData: labeledDataSlotRecipe,\n segmentGroup: segmentGroupSlotRecipe,\n sidebar: sidebarSlotRecipe,\n select: selectSlotRecipe,\n splitButton: splitButtonSlotRecipe,\n stat: statSlotRecipe,\n stepsCard: stepCardSlotRecipe,\n steps: stepsSlotRecipe,\n switch: switchSlotRecipe,\n table: tableSlotRecipe,\n tabs: tabsSlotRecipe,\n tag: tagSlotRecipe,\n tagsInput: tagsInputSlotRecipe,\n toast: toastSlotRecipe,\n tooltip: tooltipSlotRecipe,\n};\n\nexport default slotRecipes;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoDA,IAAM,cAAc;CAClB,WAAW;CACX,WAAW;CACX,OAAO;CACP,QAAQ;CACR,YAAY;CACZ,MAAM;CACN,UAAU;CACV,aAAa;CACb,aAAa;CACb,UAAU;CACV,YAAY;CACZ,kBAAkB;CAClB,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,gBAAgB;CAChB,OAAO;CACP,cAAc;CACd,UAAU;CACV,YAAY;CACZ,cAAc;CACd,eAAe;CACf,MAAM;CACN,UAAU;CACV,cAAc;CACd,MAAM;CACN,UAAU;CACV,cAAc;CACd,aAAa;CACb,iBAAiB;CACjB,YAAY;CACZ,YAAY;CACZ,oBAAoB;CACpB,YAAY;CACZ,QAAQ;CACR,gBAAgB;CAChB,aAAa;CACb,cAAc;CACd,SAAS;CACT,QAAQ;CACR,aAAa;CACb,MAAM;CACN,WAAW;CACX,OAAO;CACP,QAAQ;CACR,OAAO;CACP,MAAM;CACN,KAAK;CACL,WAAW;CACX,OAAO;CACP,SAAS;CACV"}
|
|
@@ -8,7 +8,8 @@ var radii = defineTokens.radii({
|
|
|
8
8
|
"10": { value: "0.625rem" },
|
|
9
9
|
"12": { value: "0.75rem" },
|
|
10
10
|
"16": { value: "1rem" },
|
|
11
|
-
"24": { value: "1.5rem" }
|
|
11
|
+
"24": { value: "1.5rem" },
|
|
12
|
+
full: { value: "100%" }
|
|
12
13
|
});
|
|
13
14
|
//#endregion
|
|
14
15
|
export { radii as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radii.js","names":[],"sources":["../../../lib/theme/tokens/radii.ts"],"sourcesContent":["import { defineTokens } from '@chakra-ui/react/styled-system';\n\nconst radii = defineTokens.radii({\n '2': {\n value: '0.125rem',\n },\n '4': {\n value: '0.25rem',\n },\n '6': {\n value: '0.375rem',\n },\n '8': {\n value: '0.5rem',\n },\n '10': {\n value: '0.625rem',\n },\n '12': {\n value: '0.75rem',\n },\n '16': {\n value: '1rem',\n },\n '24': {\n value: '1.5rem',\n },\n});\n\nexport default radii;\n"],"mappings":";;AAEA,IAAM,QAAQ,aAAa,MAAM;CAC/B,KAAK,EACH,OAAO,YACR;CACD,KAAK,EACH,OAAO,WACR;CACD,KAAK,EACH,OAAO,YACR;CACD,KAAK,EACH,OAAO,UACR;CACD,MAAM,EACJ,OAAO,YACR;CACD,MAAM,EACJ,OAAO,WACR;CACD,MAAM,EACJ,OAAO,QACR;CACD,MAAM,EACJ,OAAO,UACR;CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"radii.js","names":[],"sources":["../../../lib/theme/tokens/radii.ts"],"sourcesContent":["import { defineTokens } from '@chakra-ui/react/styled-system';\n\nconst radii = defineTokens.radii({\n '2': {\n value: '0.125rem',\n },\n '4': {\n value: '0.25rem',\n },\n '6': {\n value: '0.375rem',\n },\n '8': {\n value: '0.5rem',\n },\n '10': {\n value: '0.625rem',\n },\n '12': {\n value: '0.75rem',\n },\n '16': {\n value: '1rem',\n },\n '24': {\n value: '1.5rem',\n },\n full: {\n value: '100%',\n },\n});\n\nexport default radii;\n"],"mappings":";;AAEA,IAAM,QAAQ,aAAa,MAAM;CAC/B,KAAK,EACH,OAAO,YACR;CACD,KAAK,EACH,OAAO,WACR;CACD,KAAK,EACH,OAAO,YACR;CACD,KAAK,EACH,OAAO,UACR;CACD,MAAM,EACJ,OAAO,YACR;CACD,MAAM,EACJ,OAAO,WACR;CACD,MAAM,EACJ,OAAO,QACR;CACD,MAAM,EACJ,OAAO,UACR;CACD,MAAM,EACJ,OAAO,QACR;CACF,CAAC"}
|