@bitrise/bitkit-v2 0.3.177 → 0.3.179
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/BitkitAlert/BitkitAlert.d.ts +4 -10
- package/dist/components/BitkitAlert/BitkitAlert.js +25 -48
- package/dist/components/BitkitMarkdown/BitkitMarkdown.d.ts +11 -0
- package/dist/components/BitkitMarkdown/BitkitMarkdown.js +104 -0
- package/dist/components/BitkitMarkdown/BitkitMarkdown.sample.d.ts +2 -0
- package/dist/components/BitkitMarkdownCard/BitkitMarkdownCard.d.ts +22 -0
- package/dist/components/BitkitMarkdownCard/BitkitMarkdownCard.js +62 -0
- package/dist/components/BitkitToast/BitkitToast.d.ts +14 -0
- package/dist/components/BitkitToast/BitkitToast.js +21 -0
- package/dist/components/BitkitToast/BitkitToaster.d.ts +2 -0
- package/dist/components/BitkitToast/BitkitToaster.js +56 -0
- package/dist/components/common/notificationMaps.d.ts +10 -0
- package/dist/components/common/notificationMaps.js +24 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/main.js +27 -24
- package/dist/providers/BitkitProvider.js +13 -8
- package/dist/theme/common/AlertAndToast.common.d.ts +6 -0
- package/dist/theme/common/AlertAndToast.common.js +50 -0
- package/dist/theme/slot-recipes/Alert.recipe.js +13 -55
- package/dist/theme/slot-recipes/Markdown.recipe.d.ts +20 -0
- package/dist/theme/slot-recipes/Markdown.recipe.js +24 -0
- package/dist/theme/slot-recipes/MarkdownCard.recipe.d.ts +45 -0
- package/dist/theme/slot-recipes/MarkdownCard.recipe.js +86 -0
- package/dist/theme/slot-recipes/Toast.recipe.js +71 -0
- package/dist/theme/slot-recipes/index.js +36 -30
- package/package.json +3 -2
- package/dist/theme/slot-recipes/Alert.recipe.d.ts +0 -65
- package/dist/theme/slot-recipes/index.d.ts +0 -1255
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
//#region lib/theme/common/AlertAndToast.common.ts
|
|
2
|
+
var e = [
|
|
3
|
+
"ai",
|
|
4
|
+
"critical",
|
|
5
|
+
"info",
|
|
6
|
+
"progress",
|
|
7
|
+
"success",
|
|
8
|
+
"warning"
|
|
9
|
+
], t = {
|
|
10
|
+
ai: {
|
|
11
|
+
border: "1px solid transparent",
|
|
12
|
+
background: "{colors.status.ai.bg} padding-box, {colors.status.ai.border} border-box"
|
|
13
|
+
},
|
|
14
|
+
critical: {
|
|
15
|
+
backgroundColor: "status/critical/bg",
|
|
16
|
+
borderColor: "status/critical/border"
|
|
17
|
+
},
|
|
18
|
+
info: {
|
|
19
|
+
backgroundColor: "status/info/bg",
|
|
20
|
+
borderColor: "status/info/border"
|
|
21
|
+
},
|
|
22
|
+
progress: {
|
|
23
|
+
backgroundColor: "status/progress/bg",
|
|
24
|
+
borderColor: "status/progress/border"
|
|
25
|
+
},
|
|
26
|
+
success: {
|
|
27
|
+
backgroundColor: "status/success/bg",
|
|
28
|
+
borderColor: "status/success/border"
|
|
29
|
+
},
|
|
30
|
+
warning: {
|
|
31
|
+
backgroundColor: "status/warning/bg",
|
|
32
|
+
borderColor: "status/warning/border"
|
|
33
|
+
}
|
|
34
|
+
}, n = {
|
|
35
|
+
ai: "status/ai/icon",
|
|
36
|
+
critical: "status/critical/icon",
|
|
37
|
+
info: "status/info/icon",
|
|
38
|
+
progress: "status/progress/icon",
|
|
39
|
+
success: "status/success/icon",
|
|
40
|
+
warning: "status/warning/icon"
|
|
41
|
+
}, r = {
|
|
42
|
+
ai: "status/ai/text",
|
|
43
|
+
critical: "status/critical/text",
|
|
44
|
+
info: "status/info/text",
|
|
45
|
+
progress: "status/progress/text",
|
|
46
|
+
success: "status/success/text",
|
|
47
|
+
warning: "status/warning/text"
|
|
48
|
+
};
|
|
49
|
+
//#endregion
|
|
50
|
+
export { n as ICONS_MAP, e as NOTIFICATION_VARIANTS, t as ROOT_MAP, r as TEXT_MAP };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { rem as e } from "../themeUtils.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { ICONS_MAP as t, NOTIFICATION_VARIANTS as n, ROOT_MAP as r, TEXT_MAP as i } from "../common/AlertAndToast.common.js";
|
|
3
|
+
import { defineSlotRecipe as a } from "@chakra-ui/react/styled-system";
|
|
4
|
+
import { alertAnatomy as o } from "@chakra-ui/react/anatomy";
|
|
4
5
|
//#region lib/theme/slot-recipes/Alert.recipe.ts
|
|
5
|
-
var
|
|
6
|
+
var s = a({
|
|
6
7
|
className: "alert",
|
|
7
|
-
slots:
|
|
8
|
+
slots: o.keys(),
|
|
8
9
|
base: {
|
|
9
10
|
root: {
|
|
10
11
|
display: "flex",
|
|
@@ -32,60 +33,17 @@ var r = t({
|
|
|
32
33
|
},
|
|
33
34
|
description: {
|
|
34
35
|
textStyle: "comp/notification/message",
|
|
35
|
-
"&:first-
|
|
36
|
+
"&:first-of-type": { marginBlockStart: "2" }
|
|
36
37
|
}
|
|
37
38
|
},
|
|
38
|
-
variants: { variant: {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
background: "{colors.status.ai.bg} padding-box, {colors.status.ai.border} border-box",
|
|
43
|
-
color: "status/ai/text"
|
|
44
|
-
},
|
|
45
|
-
indicator: { color: "status/ai/icon" }
|
|
46
|
-
},
|
|
47
|
-
critical: {
|
|
48
|
-
root: {
|
|
49
|
-
backgroundColor: "status/critical/bg",
|
|
50
|
-
borderColor: "status/critical/border",
|
|
51
|
-
color: "status/critical/text"
|
|
52
|
-
},
|
|
53
|
-
indicator: { color: "status/critical/icon" }
|
|
54
|
-
},
|
|
55
|
-
info: {
|
|
56
|
-
root: {
|
|
57
|
-
backgroundColor: "status/info/bg",
|
|
58
|
-
borderColor: "status/info/border",
|
|
59
|
-
color: "status/info/text"
|
|
60
|
-
},
|
|
61
|
-
indicator: { color: "status/info/icon" }
|
|
62
|
-
},
|
|
63
|
-
progress: {
|
|
64
|
-
root: {
|
|
65
|
-
backgroundColor: "status/progress/bg",
|
|
66
|
-
borderColor: "status/progress/border",
|
|
67
|
-
color: "status/progress/text"
|
|
68
|
-
},
|
|
69
|
-
indicator: { color: "status/progress/icon" }
|
|
70
|
-
},
|
|
71
|
-
success: {
|
|
72
|
-
root: {
|
|
73
|
-
backgroundColor: "status/success/bg",
|
|
74
|
-
borderColor: "status/success/border",
|
|
75
|
-
color: "status/success/text"
|
|
76
|
-
},
|
|
77
|
-
indicator: { color: "status/success/icon" }
|
|
39
|
+
variants: { variant: Object.fromEntries(n.map((e) => [e, {
|
|
40
|
+
root: {
|
|
41
|
+
...r[e],
|
|
42
|
+
color: i[e]
|
|
78
43
|
},
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
backgroundColor: "status/warning/bg",
|
|
82
|
-
borderColor: "status/warning/border",
|
|
83
|
-
color: "status/warning/text"
|
|
84
|
-
},
|
|
85
|
-
indicator: { color: "status/warning/icon" }
|
|
86
|
-
}
|
|
87
|
-
} },
|
|
44
|
+
indicator: { color: t[e] }
|
|
45
|
+
}])) },
|
|
88
46
|
defaultVariants: { variant: "info" }
|
|
89
47
|
});
|
|
90
48
|
//#endregion
|
|
91
|
-
export {
|
|
49
|
+
export { s as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const markdownSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"blockquote" | "root", {
|
|
2
|
+
size: {
|
|
3
|
+
sm: {
|
|
4
|
+
root: {
|
|
5
|
+
textStyle: "body/sm/regular";
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
md: {
|
|
9
|
+
root: {
|
|
10
|
+
textStyle: "body/md/regular";
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
lg: {
|
|
14
|
+
root: {
|
|
15
|
+
textStyle: "body/lg/regular";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
}>;
|
|
20
|
+
export default markdownSlotRecipe;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineSlotRecipe as e } from "@chakra-ui/react/styled-system";
|
|
2
|
+
//#region lib/theme/slot-recipes/Markdown.recipe.ts
|
|
3
|
+
var t = e({
|
|
4
|
+
className: "markdown",
|
|
5
|
+
slots: ["root", "blockquote"],
|
|
6
|
+
base: {
|
|
7
|
+
root: { color: "text/body" },
|
|
8
|
+
blockquote: {
|
|
9
|
+
borderInlineStart: "2px solid",
|
|
10
|
+
borderColor: "border/regular",
|
|
11
|
+
paddingInlineStart: "16",
|
|
12
|
+
paddingBlock: "8",
|
|
13
|
+
color: "text/secondary"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
variants: { size: {
|
|
17
|
+
sm: { root: { textStyle: "body/sm/regular" } },
|
|
18
|
+
md: { root: { textStyle: "body/md/regular" } },
|
|
19
|
+
lg: { root: { textStyle: "body/lg/regular" } }
|
|
20
|
+
} },
|
|
21
|
+
defaultVariants: { size: "md" }
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
export { t as default };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
declare const markdownCardSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "body" | "footer" | "header" | "title" | "root" | "description" | "iconBar" | "gradient" | "footerButtons", {
|
|
2
|
+
status: {
|
|
3
|
+
info: {
|
|
4
|
+
iconBar: {
|
|
5
|
+
backgroundColor: "background/secondary";
|
|
6
|
+
borderColor: "border/regular";
|
|
7
|
+
color: "icon/secondary";
|
|
8
|
+
};
|
|
9
|
+
root: {
|
|
10
|
+
borderColor: "border/regular";
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
success: {
|
|
14
|
+
iconBar: {
|
|
15
|
+
backgroundColor: "status/success/bg";
|
|
16
|
+
borderColor: "status/success/border";
|
|
17
|
+
color: "status/success/icon";
|
|
18
|
+
};
|
|
19
|
+
root: {
|
|
20
|
+
borderColor: "status/success/border";
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
warning: {
|
|
24
|
+
iconBar: {
|
|
25
|
+
backgroundColor: "status/warning/bg";
|
|
26
|
+
borderColor: "status/warning/border";
|
|
27
|
+
color: "status/warning/icon";
|
|
28
|
+
};
|
|
29
|
+
root: {
|
|
30
|
+
borderColor: "status/warning/border";
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
critical: {
|
|
34
|
+
iconBar: {
|
|
35
|
+
backgroundColor: "status/critical/bg";
|
|
36
|
+
borderColor: "status/critical/border";
|
|
37
|
+
color: "status/critical/icon";
|
|
38
|
+
};
|
|
39
|
+
root: {
|
|
40
|
+
borderColor: "status/critical/border";
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
export default markdownCardSlotRecipe;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { defineSlotRecipe as e } from "@chakra-ui/react/styled-system";
|
|
2
|
+
import { cardAnatomy as t } from "@chakra-ui/react/anatomy";
|
|
3
|
+
//#region lib/theme/slot-recipes/MarkdownCard.recipe.ts
|
|
4
|
+
var n = e({
|
|
5
|
+
className: "markdown-card",
|
|
6
|
+
slots: [
|
|
7
|
+
...t.keys(),
|
|
8
|
+
"iconBar",
|
|
9
|
+
"content",
|
|
10
|
+
"gradient",
|
|
11
|
+
"footerButtons"
|
|
12
|
+
],
|
|
13
|
+
base: {
|
|
14
|
+
root: {
|
|
15
|
+
backgroundColor: "background/primary",
|
|
16
|
+
overflow: "hidden"
|
|
17
|
+
},
|
|
18
|
+
iconBar: {
|
|
19
|
+
display: "flex",
|
|
20
|
+
alignItems: "flex-start",
|
|
21
|
+
justifyContent: "center",
|
|
22
|
+
paddingInline: "8",
|
|
23
|
+
paddingBlock: "12",
|
|
24
|
+
flexShrink: 0,
|
|
25
|
+
borderInlineEnd: "1px solid"
|
|
26
|
+
},
|
|
27
|
+
content: {
|
|
28
|
+
flex: 1,
|
|
29
|
+
paddingInlineStart: "16",
|
|
30
|
+
paddingInlineEnd: "24",
|
|
31
|
+
paddingBlockStart: "24",
|
|
32
|
+
minWidth: 0,
|
|
33
|
+
position: "relative"
|
|
34
|
+
},
|
|
35
|
+
gradient: {
|
|
36
|
+
background: "linear-gradient(to top, {colors.background.primary} 12.5%, transparent)",
|
|
37
|
+
bottom: 0,
|
|
38
|
+
height: "128",
|
|
39
|
+
insetInline: 0,
|
|
40
|
+
pointerEvents: "none",
|
|
41
|
+
position: "absolute"
|
|
42
|
+
},
|
|
43
|
+
footerButtons: {
|
|
44
|
+
justifyContent: "flex-end",
|
|
45
|
+
paddingBlockEnd: "16",
|
|
46
|
+
paddingInlineEnd: "8"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
variants: { status: {
|
|
50
|
+
info: {
|
|
51
|
+
iconBar: {
|
|
52
|
+
backgroundColor: "background/secondary",
|
|
53
|
+
borderColor: "border/regular",
|
|
54
|
+
color: "icon/secondary"
|
|
55
|
+
},
|
|
56
|
+
root: { borderColor: "border/regular" }
|
|
57
|
+
},
|
|
58
|
+
success: {
|
|
59
|
+
iconBar: {
|
|
60
|
+
backgroundColor: "status/success/bg",
|
|
61
|
+
borderColor: "status/success/border",
|
|
62
|
+
color: "status/success/icon"
|
|
63
|
+
},
|
|
64
|
+
root: { borderColor: "status/success/border" }
|
|
65
|
+
},
|
|
66
|
+
warning: {
|
|
67
|
+
iconBar: {
|
|
68
|
+
backgroundColor: "status/warning/bg",
|
|
69
|
+
borderColor: "status/warning/border",
|
|
70
|
+
color: "status/warning/icon"
|
|
71
|
+
},
|
|
72
|
+
root: { borderColor: "status/warning/border" }
|
|
73
|
+
},
|
|
74
|
+
critical: {
|
|
75
|
+
iconBar: {
|
|
76
|
+
backgroundColor: "status/critical/bg",
|
|
77
|
+
borderColor: "status/critical/border",
|
|
78
|
+
color: "status/critical/icon"
|
|
79
|
+
},
|
|
80
|
+
root: { borderColor: "status/critical/border" }
|
|
81
|
+
}
|
|
82
|
+
} },
|
|
83
|
+
defaultVariants: { status: "info" }
|
|
84
|
+
});
|
|
85
|
+
//#endregion
|
|
86
|
+
export { n as default };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { rem as e } from "../themeUtils.js";
|
|
2
|
+
import { ICONS_MAP as t, NOTIFICATION_VARIANTS as n, ROOT_MAP as r, TEXT_MAP as i } from "../common/AlertAndToast.common.js";
|
|
3
|
+
import { defineSlotRecipe as a } from "@chakra-ui/react/styled-system";
|
|
4
|
+
import { toastAnatomy as o } from "@chakra-ui/react/anatomy";
|
|
5
|
+
//#region lib/theme/slot-recipes/Toast.recipe.ts
|
|
6
|
+
var s = a({
|
|
7
|
+
className: "toast",
|
|
8
|
+
slots: [
|
|
9
|
+
...o.keys(),
|
|
10
|
+
"content",
|
|
11
|
+
"icon",
|
|
12
|
+
"timestamp"
|
|
13
|
+
],
|
|
14
|
+
base: {
|
|
15
|
+
actionTrigger: { marginBlockStart: "16" },
|
|
16
|
+
content: {
|
|
17
|
+
flex: 1,
|
|
18
|
+
minWidth: 0
|
|
19
|
+
},
|
|
20
|
+
description: { textStyle: "comp/notification/message" },
|
|
21
|
+
icon: {
|
|
22
|
+
alignSelf: "flex-start",
|
|
23
|
+
flexShrink: 0,
|
|
24
|
+
height: "24",
|
|
25
|
+
width: "24"
|
|
26
|
+
},
|
|
27
|
+
root: {
|
|
28
|
+
alignItems: "flex-start",
|
|
29
|
+
border: "1px solid",
|
|
30
|
+
borderRadius: "8",
|
|
31
|
+
boxShadow: "elevation/lg",
|
|
32
|
+
display: "flex",
|
|
33
|
+
gap: "8",
|
|
34
|
+
paddingBlock: "16",
|
|
35
|
+
paddingInline: "12",
|
|
36
|
+
position: "relative",
|
|
37
|
+
translate: "var(--x) var(--y)",
|
|
38
|
+
width: e(480),
|
|
39
|
+
willChange: "translate, opacity, scale",
|
|
40
|
+
transition: "translate 400ms, scale 400ms, opacity 400ms, height 400ms, box-shadow 200ms",
|
|
41
|
+
transitionTimingFunction: "cubic-bezier(0.21, 1.02, 0.73, 1)",
|
|
42
|
+
_closed: {
|
|
43
|
+
transition: "translate 400ms, scale 400ms, opacity 200ms",
|
|
44
|
+
transitionTimingFunction: "cubic-bezier(0.06, 0.71, 0.55, 1)"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
timestamp: {
|
|
48
|
+
marginBlockStart: "16",
|
|
49
|
+
textStyle: "comp/notification/message"
|
|
50
|
+
},
|
|
51
|
+
title: {
|
|
52
|
+
marginBlockEnd: "2",
|
|
53
|
+
textStyle: "comp/notification/title"
|
|
54
|
+
},
|
|
55
|
+
closeTrigger: {
|
|
56
|
+
insetBlockStart: "12",
|
|
57
|
+
insetInlineEnd: "12",
|
|
58
|
+
position: "absolute"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
variants: { variant: Object.fromEntries(n.map((e) => [e, {
|
|
62
|
+
icon: { color: t[e] },
|
|
63
|
+
root: {
|
|
64
|
+
...r[e],
|
|
65
|
+
color: i[e]
|
|
66
|
+
}
|
|
67
|
+
}])) },
|
|
68
|
+
defaultVariants: { variant: "info" }
|
|
69
|
+
});
|
|
70
|
+
//#endregion
|
|
71
|
+
export { s as default };
|
|
@@ -22,22 +22,25 @@ import b from "./GroupHeading.recipe.js";
|
|
|
22
22
|
import x from "./ImageCropper.recipe.js";
|
|
23
23
|
import S from "./InlineLoading.recipe.js";
|
|
24
24
|
import C from "./List.recipe.js";
|
|
25
|
-
import w from "./
|
|
26
|
-
import T from "./
|
|
27
|
-
import E from "./
|
|
28
|
-
import D from "./
|
|
29
|
-
import O from "./
|
|
30
|
-
import k from "./
|
|
31
|
-
import A from "./
|
|
32
|
-
import j from "./
|
|
33
|
-
import M from "./
|
|
34
|
-
import N from "./
|
|
35
|
-
import P from "./
|
|
36
|
-
import F from "./
|
|
37
|
-
import I from "./
|
|
38
|
-
import L from "./
|
|
25
|
+
import w from "./Markdown.recipe.js";
|
|
26
|
+
import T from "./MarkdownCard.recipe.js";
|
|
27
|
+
import E from "./Menu.recipe.js";
|
|
28
|
+
import D from "./NativeSelect.recipe.js";
|
|
29
|
+
import O from "./PaginationLoadMore.recipe.js";
|
|
30
|
+
import k from "./RadioGroup.recipe.js";
|
|
31
|
+
import A from "./Ribbon.recipe.js";
|
|
32
|
+
import j from "./SectionHeading.recipe.js";
|
|
33
|
+
import M from "./SegmentGroup.recipe.js";
|
|
34
|
+
import N from "./SplitButton.recipe.js";
|
|
35
|
+
import P from "./Switch.recipe.js";
|
|
36
|
+
import F from "./Table.recipe.js";
|
|
37
|
+
import I from "./Tabs.recipe.js";
|
|
38
|
+
import L from "./Tag.recipe.js";
|
|
39
|
+
import R from "./TagsInput.recipe.js";
|
|
40
|
+
import z from "./Toast.recipe.js";
|
|
41
|
+
import B from "./Tooltip.recipe.js";
|
|
39
42
|
//#region lib/theme/slot-recipes/index.ts
|
|
40
|
-
var
|
|
43
|
+
var V = {
|
|
41
44
|
accordion: t,
|
|
42
45
|
actionBar: n,
|
|
43
46
|
alert: r,
|
|
@@ -60,22 +63,25 @@ var R = {
|
|
|
60
63
|
imageCropper: x,
|
|
61
64
|
inlineLoading: S,
|
|
62
65
|
list: C,
|
|
63
|
-
|
|
64
|
-
|
|
66
|
+
markdown: w,
|
|
67
|
+
markdownCard: T,
|
|
68
|
+
menu: E,
|
|
69
|
+
nativeSelect: D,
|
|
65
70
|
numberInput: e,
|
|
66
|
-
paginationLoadMore:
|
|
67
|
-
radioGroup:
|
|
68
|
-
ribbon:
|
|
69
|
-
sectionHeading:
|
|
70
|
-
segmentGroup:
|
|
71
|
+
paginationLoadMore: O,
|
|
72
|
+
radioGroup: k,
|
|
73
|
+
ribbon: A,
|
|
74
|
+
sectionHeading: j,
|
|
75
|
+
segmentGroup: M,
|
|
71
76
|
select: f,
|
|
72
|
-
splitButton:
|
|
73
|
-
switch:
|
|
74
|
-
table:
|
|
75
|
-
tabs:
|
|
76
|
-
tag:
|
|
77
|
-
tagsInput:
|
|
78
|
-
|
|
77
|
+
splitButton: N,
|
|
78
|
+
switch: P,
|
|
79
|
+
table: F,
|
|
80
|
+
tabs: I,
|
|
81
|
+
tag: L,
|
|
82
|
+
tagsInput: R,
|
|
83
|
+
toast: z,
|
|
84
|
+
tooltip: B
|
|
79
85
|
};
|
|
80
86
|
//#endregion
|
|
81
|
-
export {
|
|
87
|
+
export { V as default };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitrise/bitkit-v2",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.179",
|
|
5
5
|
"description": "Bitrise Design System Components built with Chakra UI V3",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"react",
|
|
@@ -85,7 +85,8 @@
|
|
|
85
85
|
"@emotion/react": "^11.14.0",
|
|
86
86
|
"@emotion/styled": "^11.14.1",
|
|
87
87
|
"@fontsource-variable/figtree": "^5.2.10",
|
|
88
|
-
"@fontsource-variable/source-code-pro": "^5.2.7"
|
|
88
|
+
"@fontsource-variable/source-code-pro": "^5.2.7",
|
|
89
|
+
"react-markdown": "^10.1.0"
|
|
89
90
|
},
|
|
90
91
|
"publishConfig": {
|
|
91
92
|
"access": "public"
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
declare const alertSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "title" | "root" | "description" | "indicator", {
|
|
2
|
-
variant: {
|
|
3
|
-
ai: {
|
|
4
|
-
root: {
|
|
5
|
-
border: "1px solid transparent";
|
|
6
|
-
background: "{colors.status.ai.bg} padding-box, {colors.status.ai.border} border-box";
|
|
7
|
-
color: "status/ai/text";
|
|
8
|
-
};
|
|
9
|
-
indicator: {
|
|
10
|
-
color: "status/ai/icon";
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
critical: {
|
|
14
|
-
root: {
|
|
15
|
-
backgroundColor: "status/critical/bg";
|
|
16
|
-
borderColor: "status/critical/border";
|
|
17
|
-
color: "status/critical/text";
|
|
18
|
-
};
|
|
19
|
-
indicator: {
|
|
20
|
-
color: "status/critical/icon";
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
info: {
|
|
24
|
-
root: {
|
|
25
|
-
backgroundColor: "status/info/bg";
|
|
26
|
-
borderColor: "status/info/border";
|
|
27
|
-
color: "status/info/text";
|
|
28
|
-
};
|
|
29
|
-
indicator: {
|
|
30
|
-
color: "status/info/icon";
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
progress: {
|
|
34
|
-
root: {
|
|
35
|
-
backgroundColor: "status/progress/bg";
|
|
36
|
-
borderColor: "status/progress/border";
|
|
37
|
-
color: "status/progress/text";
|
|
38
|
-
};
|
|
39
|
-
indicator: {
|
|
40
|
-
color: "status/progress/icon";
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
success: {
|
|
44
|
-
root: {
|
|
45
|
-
backgroundColor: "status/success/bg";
|
|
46
|
-
borderColor: "status/success/border";
|
|
47
|
-
color: "status/success/text";
|
|
48
|
-
};
|
|
49
|
-
indicator: {
|
|
50
|
-
color: "status/success/icon";
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
warning: {
|
|
54
|
-
root: {
|
|
55
|
-
backgroundColor: "status/warning/bg";
|
|
56
|
-
borderColor: "status/warning/border";
|
|
57
|
-
color: "status/warning/text";
|
|
58
|
-
};
|
|
59
|
-
indicator: {
|
|
60
|
-
color: "status/warning/icon";
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
}>;
|
|
65
|
-
export default alertSlotRecipe;
|