@bitrise/bitkit-v2 0.3.186 → 0.3.187

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.
@@ -0,0 +1,16 @@
1
+ import { BoxProps } from '@chakra-ui/react/box';
2
+ export interface BitkitLabeledDataProps extends Omit<BoxProps, 'colorPalette'> {
3
+ label: string;
4
+ labelVariant?: 'primary' | 'secondary';
5
+ limitValue?: string;
6
+ showWarning?: boolean;
7
+ size?: 'lg' | '2xl' | '3xl' | 'sm' | 'md';
8
+ state?: 'default' | 'skeleton';
9
+ subtext?: string;
10
+ tooltip?: string;
11
+ tooltipAnchor?: 'label' | 'value';
12
+ value?: string;
13
+ variant?: 'default' | 'inline';
14
+ }
15
+ declare const BitkitLabeledData: import('react').ForwardRefExoticComponent<BitkitLabeledDataProps & import('react').RefAttributes<HTMLElement>>;
16
+ export default BitkitLabeledData;
@@ -0,0 +1,112 @@
1
+ import IconInfoCircle from "../../icons/IconInfoCircle.js";
2
+ import IconWarningYellow from "../../icons/IconWarningYellow.js";
3
+ import BitkitTooltip from "../BitkitTooltip/BitkitTooltip.js";
4
+ import BitkitDefinitionTooltip from "../BitkitDefinitionTooltip/BitkitDefinitionTooltip.js";
5
+ import { chakra, useSlotRecipe } from "@chakra-ui/react/styled-system";
6
+ import { forwardRef } from "react";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
8
+ import { Skeleton } from "@chakra-ui/react/skeleton";
9
+ //#region lib/components/BitkitLabeledData/BitkitLabeledData.tsx
10
+ var SKELETON_VALUE_HEIGHTS = {
11
+ lg: "24",
12
+ "2xl": "36px",
13
+ "3xl": "40"
14
+ };
15
+ var BitkitLabeledData = forwardRef((props, ref) => {
16
+ const { label, labelVariant = "primary", limitValue, showWarning, size = "lg", state = "default", subtext, tooltip, tooltipAnchor = "value", value, variant = "default", ...rest } = props;
17
+ const styles = useSlotRecipe({ key: "labeledData" })({ size: variant === "inline" ? void 0 : size });
18
+ if (variant === "inline") {
19
+ const isSm = size === "sm";
20
+ const isPrimary = labelVariant === "primary";
21
+ const labelTextStyle = isPrimary ? isSm ? "body/sm/semibold" : "body/md/semibold" : isSm ? "body/sm/regular" : "body/md/regular";
22
+ if (state === "skeleton") return /* @__PURE__ */ jsxs(chakra.div, {
23
+ ref,
24
+ display: "flex",
25
+ alignItems: "center",
26
+ gap: isSm ? "4" : "8",
27
+ ...rest,
28
+ children: [/* @__PURE__ */ jsx(chakra.span, {
29
+ textStyle: labelTextStyle,
30
+ color: isPrimary ? "text/primary" : "text/secondary",
31
+ children: label
32
+ }), /* @__PURE__ */ jsx(Skeleton, {
33
+ height: isSm ? "16" : "20",
34
+ width: "64"
35
+ })]
36
+ });
37
+ const wrapWithTooltip = (text, anchor) => tooltip && tooltipAnchor === anchor ? /* @__PURE__ */ jsx(BitkitDefinitionTooltip, {
38
+ text: tooltip,
39
+ children: text
40
+ }) : text;
41
+ return /* @__PURE__ */ jsxs(chakra.div, {
42
+ ref,
43
+ display: "flex",
44
+ alignItems: "center",
45
+ gap: isSm ? "4" : "8",
46
+ ...rest,
47
+ children: [
48
+ !!showWarning && /* @__PURE__ */ jsx(IconWarningYellow, { size: "16" }),
49
+ /* @__PURE__ */ jsx(chakra.span, {
50
+ textStyle: labelTextStyle,
51
+ color: isPrimary ? "text/primary" : "text/secondary",
52
+ children: wrapWithTooltip(label, "label")
53
+ }),
54
+ /* @__PURE__ */ jsx(chakra.span, {
55
+ textStyle: isSm ? "body/sm/regular" : "body/md/regular",
56
+ color: "text/body",
57
+ children: wrapWithTooltip(value ?? "", "value")
58
+ })
59
+ ]
60
+ });
61
+ }
62
+ const labelContent = /* @__PURE__ */ jsxs(chakra.dt, {
63
+ css: styles.label,
64
+ children: [label, !!tooltip && /* @__PURE__ */ jsx(BitkitTooltip, {
65
+ text: tooltip,
66
+ children: /* @__PURE__ */ jsx(IconInfoCircle, {
67
+ size: "16",
68
+ color: "icon/tertiary"
69
+ })
70
+ })]
71
+ });
72
+ if (state === "skeleton") return /* @__PURE__ */ jsxs(chakra.dl, {
73
+ css: styles.root,
74
+ ref,
75
+ ...rest,
76
+ children: [
77
+ labelContent,
78
+ /* @__PURE__ */ jsx(Skeleton, {
79
+ height: SKELETON_VALUE_HEIGHTS[size],
80
+ width: "128"
81
+ }),
82
+ /* @__PURE__ */ jsx(Skeleton, {
83
+ height: "20",
84
+ width: "128"
85
+ })
86
+ ]
87
+ });
88
+ return /* @__PURE__ */ jsxs(chakra.dl, {
89
+ css: styles.root,
90
+ ref,
91
+ ...rest,
92
+ children: [
93
+ labelContent,
94
+ /* @__PURE__ */ jsxs(chakra.dd, {
95
+ css: styles.value,
96
+ children: [value, !!limitValue && /* @__PURE__ */ jsxs(chakra.span, {
97
+ css: styles.limit,
98
+ children: ["/ ", limitValue]
99
+ })]
100
+ }),
101
+ !!subtext && /* @__PURE__ */ jsx(chakra.dd, {
102
+ css: styles.helpText,
103
+ children: subtext
104
+ })
105
+ ]
106
+ });
107
+ });
108
+ BitkitLabeledData.displayName = "BitkitLabeledData";
109
+ //#endregion
110
+ export { BitkitLabeledData as default };
111
+
112
+ //# sourceMappingURL=BitkitLabeledData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BitkitLabeledData.js","names":[],"sources":["../../../lib/components/BitkitLabeledData/BitkitLabeledData.tsx"],"sourcesContent":["import { type BoxProps } from '@chakra-ui/react/box';\nimport { Skeleton } from '@chakra-ui/react/skeleton';\nimport { chakra, useSlotRecipe } from '@chakra-ui/react/styled-system';\nimport { forwardRef } from 'react';\n\nimport { IconInfoCircle, IconWarningYellow } from '../../icons';\nimport BitkitDefinitionTooltip from '../BitkitDefinitionTooltip/BitkitDefinitionTooltip';\nimport BitkitTooltip from '../BitkitTooltip/BitkitTooltip';\n\n// --- Types ---\n\nexport interface BitkitLabeledDataProps extends Omit<BoxProps, 'colorPalette'> {\n label: string;\n labelVariant?: 'primary' | 'secondary';\n limitValue?: string;\n showWarning?: boolean;\n size?: 'lg' | '2xl' | '3xl' | 'sm' | 'md';\n state?: 'default' | 'skeleton';\n subtext?: string;\n tooltip?: string;\n tooltipAnchor?: 'label' | 'value';\n value?: string;\n variant?: 'default' | 'inline';\n}\n\nconst SKELETON_VALUE_HEIGHTS = { lg: '24', '2xl': '36px', '3xl': '40' } as const;\n\n// --- Component ---\n\nconst BitkitLabeledData = forwardRef<HTMLElement, BitkitLabeledDataProps>((props, ref) => {\n const {\n label,\n labelVariant = 'primary',\n limitValue,\n showWarning,\n size = 'lg',\n state = 'default',\n subtext,\n tooltip,\n tooltipAnchor = 'value',\n value,\n variant = 'default',\n ...rest\n } = props;\n\n const styles = useSlotRecipe({ key: 'labeledData' })({\n size: variant === 'inline' ? undefined : (size as 'lg' | '2xl' | '3xl'),\n });\n\n // --- Inline variant ---\n if (variant === 'inline') {\n const isSm = size === 'sm';\n const isPrimary = labelVariant === 'primary';\n const labelTextStyle = isPrimary\n ? isSm\n ? 'body/sm/semibold'\n : 'body/md/semibold'\n : isSm\n ? 'body/sm/regular'\n : 'body/md/regular';\n\n if (state === 'skeleton') {\n return (\n <chakra.div ref={ref} display=\"flex\" alignItems=\"center\" gap={isSm ? '4' : '8'} {...rest}>\n <chakra.span textStyle={labelTextStyle} color={isPrimary ? 'text/primary' : 'text/secondary'}>\n {label}\n </chakra.span>\n <Skeleton height={isSm ? '16' : '20'} width=\"64\" />\n </chakra.div>\n );\n }\n\n const wrapWithTooltip = (text: string, anchor: 'label' | 'value') =>\n tooltip && tooltipAnchor === anchor ? (\n <BitkitDefinitionTooltip text={tooltip}>{text}</BitkitDefinitionTooltip>\n ) : (\n text\n );\n\n return (\n <chakra.div ref={ref} display=\"flex\" alignItems=\"center\" gap={isSm ? '4' : '8'} {...rest}>\n {!!showWarning && <IconWarningYellow size=\"16\" />}\n <chakra.span textStyle={labelTextStyle} color={isPrimary ? 'text/primary' : 'text/secondary'}>\n {wrapWithTooltip(label, 'label')}\n </chakra.span>\n <chakra.span textStyle={isSm ? 'body/sm/regular' : 'body/md/regular'} color=\"text/body\">\n {wrapWithTooltip(value ?? '', 'value')}\n </chakra.span>\n </chakra.div>\n );\n }\n\n // --- Default variant ---\n\n const labelContent = (\n <chakra.dt css={styles.label}>\n {label}\n {!!tooltip && (\n <BitkitTooltip text={tooltip}>\n <IconInfoCircle size=\"16\" color=\"icon/tertiary\" />\n </BitkitTooltip>\n )}\n </chakra.dt>\n );\n\n if (state === 'skeleton') {\n return (\n <chakra.dl css={styles.root} ref={ref} {...(rest as Record<string, unknown>)}>\n {labelContent}\n <Skeleton height={SKELETON_VALUE_HEIGHTS[size as keyof typeof SKELETON_VALUE_HEIGHTS]} width=\"128\" />\n <Skeleton height=\"20\" width=\"128\" />\n </chakra.dl>\n );\n }\n\n return (\n <chakra.dl css={styles.root} ref={ref} {...(rest as Record<string, unknown>)}>\n {labelContent}\n <chakra.dd css={styles.value}>\n {value}\n {!!limitValue && <chakra.span css={styles.limit}>/ {limitValue}</chakra.span>}\n </chakra.dd>\n {!!subtext && <chakra.dd css={styles.helpText}>{subtext}</chakra.dd>}\n </chakra.dl>\n );\n});\n\nBitkitLabeledData.displayName = 'BitkitLabeledData';\n\nexport default BitkitLabeledData;\n"],"mappings":";;;;;;;;;AAyBA,IAAM,yBAAyB;CAAE,IAAI;CAAM,OAAO;CAAQ,OAAO;CAAM;AAIvE,IAAM,oBAAoB,YAAiD,OAAO,QAAQ;CACxF,MAAM,EACJ,OACA,eAAe,WACf,YACA,aACA,OAAO,MACP,QAAQ,WACR,SACA,SACA,gBAAgB,SAChB,OACA,UAAU,WACV,GAAG,SACD;CAEJ,MAAM,SAAS,cAAc,EAAE,KAAK,eAAe,CAAC,CAAC,EACnD,MAAM,YAAY,WAAW,KAAA,IAAa,MAC3C,CAAC;AAGF,KAAI,YAAY,UAAU;EACxB,MAAM,OAAO,SAAS;EACtB,MAAM,YAAY,iBAAiB;EACnC,MAAM,iBAAiB,YACnB,OACE,qBACA,qBACF,OACE,oBACA;AAEN,MAAI,UAAU,WACZ,QACE,qBAAC,OAAO,KAAR;GAAiB;GAAK,SAAQ;GAAO,YAAW;GAAS,KAAK,OAAO,MAAM;GAAK,GAAI;aAApF,CACE,oBAAC,OAAO,MAAR;IAAa,WAAW;IAAgB,OAAO,YAAY,iBAAiB;cACzE;IACW,CAAA,EACd,oBAAC,UAAD;IAAU,QAAQ,OAAO,OAAO;IAAM,OAAM;IAAO,CAAA,CACxC;;EAIjB,MAAM,mBAAmB,MAAc,WACrC,WAAW,kBAAkB,SAC3B,oBAAC,yBAAD;GAAyB,MAAM;aAAU;GAA+B,CAAA,GAExE;AAGJ,SACE,qBAAC,OAAO,KAAR;GAAiB;GAAK,SAAQ;GAAO,YAAW;GAAS,KAAK,OAAO,MAAM;GAAK,GAAI;aAApF;IACG,CAAC,CAAC,eAAe,oBAAC,mBAAD,EAAmB,MAAK,MAAO,CAAA;IACjD,oBAAC,OAAO,MAAR;KAAa,WAAW;KAAgB,OAAO,YAAY,iBAAiB;eACzE,gBAAgB,OAAO,QAAQ;KACpB,CAAA;IACd,oBAAC,OAAO,MAAR;KAAa,WAAW,OAAO,oBAAoB;KAAmB,OAAM;eACzE,gBAAgB,SAAS,IAAI,QAAQ;KAC1B,CAAA;IACH;;;CAMjB,MAAM,eACJ,qBAAC,OAAO,IAAR;EAAW,KAAK,OAAO;YAAvB,CACG,OACA,CAAC,CAAC,WACD,oBAAC,eAAD;GAAe,MAAM;aACnB,oBAAC,gBAAD;IAAgB,MAAK;IAAK,OAAM;IAAkB,CAAA;GACpC,CAAA,CAER;;AAGd,KAAI,UAAU,WACZ,QACE,qBAAC,OAAO,IAAR;EAAW,KAAK,OAAO;EAAW;EAAK,GAAK;YAA5C;GACG;GACD,oBAAC,UAAD;IAAU,QAAQ,uBAAuB;IAA8C,OAAM;IAAQ,CAAA;GACrG,oBAAC,UAAD;IAAU,QAAO;IAAK,OAAM;IAAQ,CAAA;GAC1B;;AAIhB,QACE,qBAAC,OAAO,IAAR;EAAW,KAAK,OAAO;EAAW;EAAK,GAAK;YAA5C;GACG;GACD,qBAAC,OAAO,IAAR;IAAW,KAAK,OAAO;cAAvB,CACG,OACA,CAAC,CAAC,cAAc,qBAAC,OAAO,MAAR;KAAa,KAAK,OAAO;eAAzB,CAAgC,MAAG,WAAyB;OACnE;;GACX,CAAC,CAAC,WAAW,oBAAC,OAAO,IAAR;IAAW,KAAK,OAAO;cAAW;IAAoB,CAAA;GAC1D;;EAEd;AAEF,kBAAkB,cAAc"}
@@ -0,0 +1,19 @@
1
+ import { BoxProps } from '@chakra-ui/react/box';
2
+ export type TrendColor = 'positive' | 'negative' | 'neutral';
3
+ export type TrendDirection = 'up' | 'down';
4
+ export type TrendTextPlacement = 'below' | 'inline';
5
+ export interface BitkitStatProps extends Omit<BoxProps, 'colorPalette'> {
6
+ label: string;
7
+ size?: 'lg' | '2xl' | '3xl';
8
+ state?: 'default' | 'skeleton';
9
+ subtext?: string;
10
+ tooltip?: string;
11
+ trendColor?: TrendColor;
12
+ trendDirection?: TrendDirection;
13
+ trendText?: string;
14
+ trendTextPlacement?: TrendTextPlacement;
15
+ value?: string;
16
+ variant?: 'default' | 'compact';
17
+ }
18
+ declare const BitkitStat: import('react').ForwardRefExoticComponent<BitkitStatProps & import('react').RefAttributes<HTMLElement>>;
19
+ export default BitkitStat;
@@ -0,0 +1,166 @@
1
+ import IconArrowDown from "../../icons/IconArrowDown.js";
2
+ import IconArrowUp from "../../icons/IconArrowUp.js";
3
+ import IconInfoCircle from "../../icons/IconInfoCircle.js";
4
+ import BitkitTooltip from "../BitkitTooltip/BitkitTooltip.js";
5
+ import { chakra, useSlotRecipe } from "@chakra-ui/react/styled-system";
6
+ import { forwardRef } from "react";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
8
+ import { Skeleton } from "@chakra-ui/react/skeleton";
9
+ //#region lib/components/BitkitStat/BitkitStat.tsx
10
+ var TREND_COLORS = {
11
+ positive: {
12
+ text: "text/positive",
13
+ icon: "icon/positive"
14
+ },
15
+ negative: {
16
+ text: "text/negative",
17
+ icon: "icon/negative"
18
+ },
19
+ neutral: {
20
+ text: "text/secondary",
21
+ icon: "icon/tertiary"
22
+ }
23
+ };
24
+ var TREND_ICONS = {
25
+ up: IconArrowUp,
26
+ down: IconArrowDown
27
+ };
28
+ var DEFAULT_COLORS = {
29
+ up: "positive",
30
+ down: "negative"
31
+ };
32
+ var resolveTrend = (trendColor, trendDirection) => {
33
+ const color = trendColor ?? (trendDirection ? DEFAULT_COLORS[trendDirection] : void 0);
34
+ const colors = color ? TREND_COLORS[color] : void 0;
35
+ return {
36
+ textColor: colors?.text ?? "text/secondary",
37
+ iconColor: colors?.icon ?? "icon/tertiary",
38
+ Icon: trendDirection ? TREND_ICONS[trendDirection] : void 0
39
+ };
40
+ };
41
+ var BELOW_ICON_SIZES = {
42
+ lg: "16",
43
+ "2xl": "24",
44
+ "3xl": "24"
45
+ };
46
+ var INLINE_TREND_STYLES = {
47
+ lg: { paddingBlockStart: "2" },
48
+ "2xl": { paddingBlockStart: "6" },
49
+ "3xl": { paddingBlockEnd: "4" }
50
+ };
51
+ var SKELETON_VALUE_HEIGHTS = {
52
+ lg: "24",
53
+ "2xl": "36px",
54
+ "3xl": "40"
55
+ };
56
+ var BitkitStat = forwardRef((props, ref) => {
57
+ const { label, size = "lg", state = "default", subtext, tooltip, trendColor, trendDirection, trendText, trendTextPlacement = "below", value, variant = "default", ...rest } = props;
58
+ const styles = useSlotRecipe({ key: "stat" })({
59
+ size,
60
+ variant
61
+ });
62
+ const trend = resolveTrend(trendColor, trendDirection);
63
+ const { Icon: TrendIcon } = trend;
64
+ if (variant === "compact") {
65
+ if (state === "skeleton") return /* @__PURE__ */ jsxs(chakra.div, {
66
+ css: styles.root,
67
+ ref,
68
+ ...rest,
69
+ children: [/* @__PURE__ */ jsx(Skeleton, {
70
+ height: "20",
71
+ width: "64"
72
+ }), /* @__PURE__ */ jsx(Skeleton, {
73
+ height: "16",
74
+ width: "48"
75
+ })]
76
+ });
77
+ return /* @__PURE__ */ jsxs(chakra.div, {
78
+ css: styles.root,
79
+ ref,
80
+ ...rest,
81
+ children: [/* @__PURE__ */ jsxs(chakra.span, {
82
+ css: styles.value,
83
+ children: [!!TrendIcon && /* @__PURE__ */ jsx(TrendIcon, {
84
+ size: "16",
85
+ color: trend.iconColor
86
+ }), value]
87
+ }), !!trendText && /* @__PURE__ */ jsx(chakra.span, {
88
+ css: styles.helpText,
89
+ color: trend.textColor,
90
+ children: trendText
91
+ })]
92
+ });
93
+ }
94
+ const labelContent = /* @__PURE__ */ jsxs(chakra.dt, {
95
+ css: styles.label,
96
+ children: [label, !!tooltip && /* @__PURE__ */ jsx(BitkitTooltip, {
97
+ text: tooltip,
98
+ children: /* @__PURE__ */ jsx(IconInfoCircle, {
99
+ size: "16",
100
+ color: "icon/tertiary"
101
+ })
102
+ })]
103
+ });
104
+ if (state === "skeleton") return /* @__PURE__ */ jsxs(chakra.dl, {
105
+ css: styles.root,
106
+ ref,
107
+ ...rest,
108
+ children: [
109
+ labelContent,
110
+ /* @__PURE__ */ jsx(Skeleton, {
111
+ height: SKELETON_VALUE_HEIGHTS[size],
112
+ width: "128"
113
+ }),
114
+ /* @__PURE__ */ jsx(Skeleton, {
115
+ height: "20",
116
+ width: "128"
117
+ })
118
+ ]
119
+ });
120
+ const isInline = trendTextPlacement === "inline";
121
+ const showHelpText = !isInline && !!trendText || !!subtext;
122
+ return /* @__PURE__ */ jsxs(chakra.dl, {
123
+ css: styles.root,
124
+ ref,
125
+ ...rest,
126
+ children: [
127
+ labelContent,
128
+ /* @__PURE__ */ jsxs(chakra.dd, {
129
+ css: styles.value,
130
+ alignItems: isInline && size === "3xl" ? "flex-end" : void 0,
131
+ children: [value, isInline ? /* @__PURE__ */ jsxs(chakra.span, {
132
+ display: "inline-flex",
133
+ gap: "4",
134
+ alignItems: "center",
135
+ css: INLINE_TREND_STYLES[size],
136
+ children: [!!TrendIcon && /* @__PURE__ */ jsx(TrendIcon, {
137
+ size: "16",
138
+ color: trend.iconColor
139
+ }), !!trendText && /* @__PURE__ */ jsx(chakra.span, {
140
+ color: trend.textColor,
141
+ textStyle: "body/md/regular",
142
+ children: trendText
143
+ })]
144
+ }) : !!TrendIcon && /* @__PURE__ */ jsx(TrendIcon, {
145
+ size: BELOW_ICON_SIZES[size],
146
+ color: trend.iconColor
147
+ })]
148
+ }),
149
+ showHelpText && /* @__PURE__ */ jsxs(chakra.dd, {
150
+ css: styles.helpText,
151
+ children: [!isInline && !!trendText && /* @__PURE__ */ jsx(chakra.span, {
152
+ color: trend.textColor,
153
+ children: trendText
154
+ }), !!subtext && /* @__PURE__ */ jsx(chakra.span, {
155
+ color: "text/tertiary",
156
+ children: subtext
157
+ })]
158
+ })
159
+ ]
160
+ });
161
+ });
162
+ BitkitStat.displayName = "BitkitStat";
163
+ //#endregion
164
+ export { BitkitStat as default };
165
+
166
+ //# sourceMappingURL=BitkitStat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BitkitStat.js","names":[],"sources":["../../../lib/components/BitkitStat/BitkitStat.tsx"],"sourcesContent":["import { type BoxProps } from '@chakra-ui/react/box';\nimport { Skeleton } from '@chakra-ui/react/skeleton';\nimport { chakra, useSlotRecipe } from '@chakra-ui/react/styled-system';\nimport { forwardRef } from 'react';\n\nimport { IconArrowDown, IconArrowUp, IconInfoCircle } from '../../icons';\nimport BitkitTooltip from '../BitkitTooltip/BitkitTooltip';\n\n// --- Types ---\n\nexport type TrendColor = 'positive' | 'negative' | 'neutral';\nexport type TrendDirection = 'up' | 'down';\nexport type TrendTextPlacement = 'below' | 'inline';\n\nconst TREND_COLORS = {\n positive: { text: 'text/positive', icon: 'icon/positive' },\n negative: { text: 'text/negative', icon: 'icon/negative' },\n neutral: { text: 'text/secondary', icon: 'icon/tertiary' },\n} as const;\n\nconst TREND_ICONS = { up: IconArrowUp, down: IconArrowDown } as const;\nconst DEFAULT_COLORS: Record<TrendDirection, TrendColor> = { up: 'positive', down: 'negative' };\n\nconst resolveTrend = (trendColor?: TrendColor, trendDirection?: TrendDirection) => {\n const color = trendColor ?? (trendDirection ? DEFAULT_COLORS[trendDirection] : undefined);\n const colors = color ? TREND_COLORS[color] : undefined;\n return {\n textColor: colors?.text ?? 'text/secondary',\n iconColor: colors?.icon ?? 'icon/tertiary',\n Icon: trendDirection ? TREND_ICONS[trendDirection] : undefined,\n };\n};\n\nconst BELOW_ICON_SIZES = { lg: '16', '2xl': '24', '3xl': '24' } as const;\nconst INLINE_TREND_STYLES = {\n lg: { paddingBlockStart: '2' },\n '2xl': { paddingBlockStart: '6' },\n '3xl': { paddingBlockEnd: '4' },\n} as const;\nconst SKELETON_VALUE_HEIGHTS = { lg: '24', '2xl': '36px', '3xl': '40' } as const;\n\nexport interface BitkitStatProps extends Omit<BoxProps, 'colorPalette'> {\n label: string;\n size?: 'lg' | '2xl' | '3xl';\n state?: 'default' | 'skeleton';\n subtext?: string;\n tooltip?: string;\n trendColor?: TrendColor;\n trendDirection?: TrendDirection;\n trendText?: string;\n trendTextPlacement?: TrendTextPlacement;\n value?: string;\n variant?: 'default' | 'compact';\n}\n\n// --- Component ---\n\nconst BitkitStat = forwardRef<HTMLElement, BitkitStatProps>((props, ref) => {\n const {\n label,\n size = 'lg',\n state = 'default',\n subtext,\n tooltip,\n trendColor,\n trendDirection,\n trendText,\n trendTextPlacement = 'below',\n value,\n variant = 'default',\n ...rest\n } = props;\n\n const styles = useSlotRecipe({ key: 'stat' })({ size, variant });\n const trend = resolveTrend(trendColor, trendDirection);\n const { Icon: TrendIcon } = trend;\n const isCompact = variant === 'compact';\n\n // --- Compact ---\n if (isCompact) {\n if (state === 'skeleton') {\n return (\n <chakra.div css={styles.root} ref={ref} {...(rest as Record<string, unknown>)}>\n <Skeleton height=\"20\" width=\"64\" />\n <Skeleton height=\"16\" width=\"48\" />\n </chakra.div>\n );\n }\n\n return (\n <chakra.div css={styles.root} ref={ref} {...(rest as Record<string, unknown>)}>\n <chakra.span css={styles.value}>\n {!!TrendIcon && <TrendIcon size=\"16\" color={trend.iconColor} />}\n {value}\n </chakra.span>\n {!!trendText && (\n <chakra.span css={styles.helpText} color={trend.textColor}>\n {trendText}\n </chakra.span>\n )}\n </chakra.div>\n );\n }\n\n // --- Default ---\n\n const labelContent = (\n <chakra.dt css={styles.label}>\n {label}\n {!!tooltip && (\n <BitkitTooltip text={tooltip}>\n <IconInfoCircle size=\"16\" color=\"icon/tertiary\" />\n </BitkitTooltip>\n )}\n </chakra.dt>\n );\n\n if (state === 'skeleton') {\n return (\n <chakra.dl css={styles.root} ref={ref} {...(rest as Record<string, unknown>)}>\n {labelContent}\n <Skeleton height={SKELETON_VALUE_HEIGHTS[size]} width=\"128\" />\n <Skeleton height=\"20\" width=\"128\" />\n </chakra.dl>\n );\n }\n\n const isInline = trendTextPlacement === 'inline';\n const showHelpText = (!isInline && !!trendText) || !!subtext;\n\n return (\n <chakra.dl css={styles.root} ref={ref} {...(rest as Record<string, unknown>)}>\n {labelContent}\n\n <chakra.dd css={styles.value} alignItems={isInline && size === '3xl' ? 'flex-end' : undefined}>\n {value}\n {isInline ? (\n <chakra.span display=\"inline-flex\" gap=\"4\" alignItems=\"center\" css={INLINE_TREND_STYLES[size]}>\n {!!TrendIcon && <TrendIcon size=\"16\" color={trend.iconColor} />}\n {!!trendText && (\n <chakra.span color={trend.textColor} textStyle=\"body/md/regular\">\n {trendText}\n </chakra.span>\n )}\n </chakra.span>\n ) : (\n !!TrendIcon && <TrendIcon size={BELOW_ICON_SIZES[size]} color={trend.iconColor} />\n )}\n </chakra.dd>\n\n {showHelpText && (\n <chakra.dd css={styles.helpText}>\n {!isInline && !!trendText && <chakra.span color={trend.textColor}>{trendText}</chakra.span>}\n {!!subtext && <chakra.span color=\"text/tertiary\">{subtext}</chakra.span>}\n </chakra.dd>\n )}\n </chakra.dl>\n );\n});\n\nBitkitStat.displayName = 'BitkitStat';\n\nexport default BitkitStat;\n"],"mappings":";;;;;;;;;AAcA,IAAM,eAAe;CACnB,UAAU;EAAE,MAAM;EAAiB,MAAM;EAAiB;CAC1D,UAAU;EAAE,MAAM;EAAiB,MAAM;EAAiB;CAC1D,SAAS;EAAE,MAAM;EAAkB,MAAM;EAAiB;CAC3D;AAED,IAAM,cAAc;CAAE,IAAI;CAAa,MAAM;CAAe;AAC5D,IAAM,iBAAqD;CAAE,IAAI;CAAY,MAAM;CAAY;AAE/F,IAAM,gBAAgB,YAAyB,mBAAoC;CACjF,MAAM,QAAQ,eAAe,iBAAiB,eAAe,kBAAkB,KAAA;CAC/E,MAAM,SAAS,QAAQ,aAAa,SAAS,KAAA;AAC7C,QAAO;EACL,WAAW,QAAQ,QAAQ;EAC3B,WAAW,QAAQ,QAAQ;EAC3B,MAAM,iBAAiB,YAAY,kBAAkB,KAAA;EACtD;;AAGH,IAAM,mBAAmB;CAAE,IAAI;CAAM,OAAO;CAAM,OAAO;CAAM;AAC/D,IAAM,sBAAsB;CAC1B,IAAI,EAAE,mBAAmB,KAAK;CAC9B,OAAO,EAAE,mBAAmB,KAAK;CACjC,OAAO,EAAE,iBAAiB,KAAK;CAChC;AACD,IAAM,yBAAyB;CAAE,IAAI;CAAM,OAAO;CAAQ,OAAO;CAAM;AAkBvE,IAAM,aAAa,YAA0C,OAAO,QAAQ;CAC1E,MAAM,EACJ,OACA,OAAO,MACP,QAAQ,WACR,SACA,SACA,YACA,gBACA,WACA,qBAAqB,SACrB,OACA,UAAU,WACV,GAAG,SACD;CAEJ,MAAM,SAAS,cAAc,EAAE,KAAK,QAAQ,CAAC,CAAC;EAAE;EAAM;EAAS,CAAC;CAChE,MAAM,QAAQ,aAAa,YAAY,eAAe;CACtD,MAAM,EAAE,MAAM,cAAc;AAI5B,KAHkB,YAAY,WAGf;AACb,MAAI,UAAU,WACZ,QACE,qBAAC,OAAO,KAAR;GAAY,KAAK,OAAO;GAAW;GAAK,GAAK;aAA7C,CACE,oBAAC,UAAD;IAAU,QAAO;IAAK,OAAM;IAAO,CAAA,EACnC,oBAAC,UAAD;IAAU,QAAO;IAAK,OAAM;IAAO,CAAA,CACxB;;AAIjB,SACE,qBAAC,OAAO,KAAR;GAAY,KAAK,OAAO;GAAW;GAAK,GAAK;aAA7C,CACE,qBAAC,OAAO,MAAR;IAAa,KAAK,OAAO;cAAzB,CACG,CAAC,CAAC,aAAa,oBAAC,WAAD;KAAW,MAAK;KAAK,OAAO,MAAM;KAAa,CAAA,EAC9D,MACW;OACb,CAAC,CAAC,aACD,oBAAC,OAAO,MAAR;IAAa,KAAK,OAAO;IAAU,OAAO,MAAM;cAC7C;IACW,CAAA,CAEL;;;CAMjB,MAAM,eACJ,qBAAC,OAAO,IAAR;EAAW,KAAK,OAAO;YAAvB,CACG,OACA,CAAC,CAAC,WACD,oBAAC,eAAD;GAAe,MAAM;aACnB,oBAAC,gBAAD;IAAgB,MAAK;IAAK,OAAM;IAAkB,CAAA;GACpC,CAAA,CAER;;AAGd,KAAI,UAAU,WACZ,QACE,qBAAC,OAAO,IAAR;EAAW,KAAK,OAAO;EAAW;EAAK,GAAK;YAA5C;GACG;GACD,oBAAC,UAAD;IAAU,QAAQ,uBAAuB;IAAO,OAAM;IAAQ,CAAA;GAC9D,oBAAC,UAAD;IAAU,QAAO;IAAK,OAAM;IAAQ,CAAA;GAC1B;;CAIhB,MAAM,WAAW,uBAAuB;CACxC,MAAM,eAAgB,CAAC,YAAY,CAAC,CAAC,aAAc,CAAC,CAAC;AAErD,QACE,qBAAC,OAAO,IAAR;EAAW,KAAK,OAAO;EAAW;EAAK,GAAK;YAA5C;GACG;GAED,qBAAC,OAAO,IAAR;IAAW,KAAK,OAAO;IAAO,YAAY,YAAY,SAAS,QAAQ,aAAa,KAAA;cAApF,CACG,OACA,WACC,qBAAC,OAAO,MAAR;KAAa,SAAQ;KAAc,KAAI;KAAI,YAAW;KAAS,KAAK,oBAAoB;eAAxF,CACG,CAAC,CAAC,aAAa,oBAAC,WAAD;MAAW,MAAK;MAAK,OAAO,MAAM;MAAa,CAAA,EAC9D,CAAC,CAAC,aACD,oBAAC,OAAO,MAAR;MAAa,OAAO,MAAM;MAAW,WAAU;gBAC5C;MACW,CAAA,CAEJ;SAEd,CAAC,CAAC,aAAa,oBAAC,WAAD;KAAW,MAAM,iBAAiB;KAAO,OAAO,MAAM;KAAa,CAAA,CAE1E;;GAEX,gBACC,qBAAC,OAAO,IAAR;IAAW,KAAK,OAAO;cAAvB,CACG,CAAC,YAAY,CAAC,CAAC,aAAa,oBAAC,OAAO,MAAR;KAAa,OAAO,MAAM;eAAY;KAAwB,CAAA,EAC1F,CAAC,CAAC,WAAW,oBAAC,OAAO,MAAR;KAAa,OAAM;eAAiB;KAAsB,CAAA,CAC9D;;GAEJ;;EAEd;AAEF,WAAW,cAAc"}
@@ -28,6 +28,7 @@ export { default as BitkitGroupHeading, type BitkitGroupHeadingProps } from './B
28
28
  export { default as BitkitIconButton, type BitkitIconButtonProps } from './BitkitIconButton/BitkitIconButton';
29
29
  export { default as BitkitInlineLoading, type BitkitInlineLoadingProps, } from './BitkitInlineLoading/BitkitInlineLoading';
30
30
  export { default as BitkitLabel, type BitkitLabelProps } from './BitkitLabel/BitkitLabel';
31
+ export { default as BitkitLabeledData, type BitkitLabeledDataProps } from './BitkitLabeledData/BitkitLabeledData';
31
32
  export { default as BitkitLabelTooltip, type BitkitLabelTooltipProps } from './BitkitLabelTooltip/BitkitLabelTooltip';
32
33
  export { default as BitkitLink, type BitkitLinkProps } from './BitkitLink/BitkitLink';
33
34
  export { default as BitkitLinkButton, type BitkitLinkButtonProps } from './BitkitLinkButton/BitkitLinkButton';
@@ -49,6 +50,7 @@ export { default as BitkitSelect, type BitkitSelectProps } from './BitkitSelect/
49
50
  export { default as BitkitSelectableTag, type BitkitSelectableTagItemProps, type BitkitSelectableTagProps, } from './BitkitSelectableTag/BitkitSelectableTag';
50
51
  export { default as BitkitSelectMenu, type BitkitSelectMenuProps } from './BitkitSelectMenu/BitkitSelectMenu';
51
52
  export { default as BitkitSplitButton, type BitkitSplitButtonProps } from './BitkitSplitButton/BitkitSplitButton';
53
+ export { default as BitkitStat, type BitkitStatProps, type TrendColor, type TrendDirection, type TrendTextPlacement, } from './BitkitStat/BitkitStat';
52
54
  export { default as BitkitTabs } from './BitkitTabs/BitkitTabs';
53
55
  export { default as BitkitTag, type BitkitTagProps } from './BitkitTag/BitkitTag';
54
56
  export { default as BitkitTagsInput, type BitkitTagsInputProps } from './BitkitTagsInput/BitkitTagsInput';
package/dist/main.js CHANGED
@@ -310,6 +310,7 @@ import BitkitFileInput from "./components/BitkitFileInput/BitkitFileInput.js";
310
310
  import BitkitGroupHeading from "./components/BitkitGroupHeading/BitkitGroupHeading.js";
311
311
  import BitkitIconButton from "./components/BitkitIconButton/BitkitIconButton.js";
312
312
  import BitkitInlineLoading from "./components/BitkitInlineLoading/BitkitInlineLoading.js";
313
+ import BitkitLabeledData from "./components/BitkitLabeledData/BitkitLabeledData.js";
313
314
  import BitkitLink from "./components/BitkitLink/BitkitLink.js";
314
315
  import BitkitLinkButton from "./components/BitkitLinkButton/BitkitLinkButton.js";
315
316
  import BitkitOrderedList_default from "./components/BitkitOrderedList/BitkitOrderedList.js";
@@ -330,6 +331,7 @@ import BitkitSegmentedControl_default from "./components/BitkitSegmentedControl/
330
331
  import BitkitSelect from "./components/BitkitSelect/BitkitSelect.js";
331
332
  import BitkitSelectableTag_default from "./components/BitkitSelectableTag/BitkitSelectableTag.js";
332
333
  import BitkitSplitButton_default from "./components/BitkitSplitButton/BitkitSplitButton.js";
334
+ import BitkitStat from "./components/BitkitStat/BitkitStat.js";
333
335
  import BitkitTabs from "./components/BitkitTabs/BitkitTabs.js";
334
336
  import BitkitTag from "./components/BitkitTag/BitkitTag.js";
335
337
  import BitkitTagsInput from "./components/BitkitTagsInput/BitkitTagsInput.js";
@@ -339,4 +341,4 @@ import BitkitToggle from "./components/BitkitToggle/BitkitToggle.js";
339
341
  import BitkitToggleButton from "./components/BitkitToggleButton/BitkitToggleButton.js";
340
342
  import bitkitTheme from "./theme/index.js";
341
343
  import Provider from "./providers/BitkitProvider.js";
342
- export { BitkitAccordion, BitkitActionBar, BitkitAlert, BitkitAvatar, BitkitBadge, BitkitButton, BitkitCalendar, BitkitCard, BitkitCheckbox, BitkitCheckboxGroup, BitkitCloseButton, BitkitCodeSnippet, BitkitCollapsible, BitkitColorButton, BitkitCombobox, BitkitControlButton, BitkitDefinitionTooltip, BitkitDialog, BitkitDialogBody, BitkitDialogContent, BitkitDialogRoot, BitkitEmptyState, BitkitExpandableCard, BitkitExplainerList_default as BitkitExplainerList, BitkitField, BitkitFileInput, BitkitGroupHeading, BitkitIconButton, BitkitInlineLoading, BitkitLabel, BitkitLabelTooltip, BitkitLink, BitkitLinkButton, BitkitMarkdown, BitkitMarkdownCard, BitkitNativeSelect, BitkitNoteCard, BitkitNumberInput, BitkitOrderedList_default as BitkitOrderedList, BitkitOverflowTooltip, BitkitPaginationLoadMore, Provider as BitkitProvider, BitkitRadio, BitkitRadioGroup, BitkitRibbon, BitkitSearchInput, BitkitSectionHeading, BitkitSegmentedControl_default as BitkitSegmentedControl, BitkitSelect, BitkitSelectMenu, BitkitSelectableTag_default as BitkitSelectableTag, BitkitSplitButton_default as BitkitSplitButton, BitkitTabs, BitkitTag, BitkitTagsInput, BitkitTextInput, BitkitToggle, BitkitToggleButton, BitkitTooltip, BitkitUnorderedList_default as BitkitUnorderedList, IconAbortCircle, IconAbortCircleFilled, IconAddons, IconAgent, IconAnchor, IconAndroid, IconApp, IconAppSettings, IconAppStore, IconAppStoreColor, IconApple, IconArchive, IconArchiveDelete, IconArchiveRestore, IconArrowBackAndDown, IconArrowBackAndUp, IconArrowDown, IconArrowForwardAndDown, IconArrowForwardAndUp, IconArrowLeft, IconArrowNortheast, IconArrowNorthwest, IconArrowRight, IconArrowUp, IconArrowsHorizontal, IconArrowsVertical, IconAutomation, IconAws, IconAwsColor, IconBadge3RdParty, IconBadgeBitrise, IconBadgeUpgrade, IconBadgeVersionOk, IconBazel, IconBell, IconBitbot, IconBitbotError, IconBitbucket, IconBitbucketColor, IconBitbucketNeutral, IconBitbucketWhite, IconBlockCircle, IconBook, IconBoxArrowDown, IconBoxDot, IconBoxLinesOverflow, IconBoxLinesWrap, IconBranch, IconBrowserstackColor, IconBug, IconBuild, IconBuildCache, IconBuildCacheFilled, IconBuildEnvSetup, IconCalendar, IconChangePlan, IconChat, IconCheck, IconCheckCircle, IconCheckCircleFilled, IconChevronDown, IconChevronLeft, IconChevronRight, IconChevronUp, IconCi, IconCiFilled, IconCircle, IconCircleDashed, IconCircleHalfFilled, IconClaude, IconClaudeColor, IconClock, IconCode, IconCodePush, IconCodeSigning, IconCoffee, IconCommit, IconConfigure, IconConnectedAccounts, IconContainer, IconCopy, IconCordova, IconCpu, IconCreditcard, IconCredits, IconCross, IconCrossCircle, IconCrossCircleFilled, IconCrown, IconCycle, IconDashboard, IconDashboardFilled, IconDeployment, IconDetails, IconDoc, IconDollar, IconDot, IconDotnet, IconDotnetColor, IconDotnetText, IconDotnetTextColor, IconDoubleCircle, IconDownload, IconEc2Ami, IconEnterprise, IconErrorCircle, IconErrorCircleFilled, IconExpand, IconExtraBuildCapacity, IconEye, IconEyeSlash, IconFastlane, IconFileDoc, IconFilePdf, IconFilePlist, IconFileZip, IconFilter, IconFlag, IconFlutter, IconFolder, IconFullscreen, IconFullscreenExit, IconGauge, IconGit, IconGithub, IconGitlab, IconGitlabColor, IconGitlabWhite, IconGlobe, IconGo, IconGoogleColor, IconGooglePlay, IconGooglePlayColor, IconGradle, IconGroup, IconHashtag, IconHeadset, IconHeart, IconHistory, IconHourglass, IconImage, IconInfoCircle, IconInfoCircleFilled, IconInsights, IconInsightsFilled, IconInstall, IconInteraction, IconInvoice, IconIonic, IconJapanese, IconJava, IconJavaColor, IconJavaDuke, IconJavaDukeColor, IconKey, IconKotlin, IconKotlinColor, IconKotlinWhite, IconLaptop, IconLaunchdarkly, IconLegacyApp, IconLightbulb, IconLink, IconLinux, IconLock, IconLockOpen, IconLogin, IconLogout, IconMacos, IconMagicWand, IconMagnifier, IconMail, IconMedal, IconMemory, IconMenuGrid, IconMenuHamburger, IconMessage, IconMessageAlert, IconMessageQuestion, IconMicrophone, IconMinus, IconMinusCircle, IconMinusCircleFilled, IconMobile, IconMobileLandscape, IconMonitorChart, IconMoreHorizontal, IconMoreVertical, IconNews, IconNextjs, IconNodejs, IconOpenInNew, IconOther, IconOutsideContributor, IconOverview, IconPause, IconPencil, IconPeople, IconPercent, IconPerson, IconPersonWithDesk, IconPlay, IconPlus, IconPlusCircle, IconPlusCircleFilled, IconPower, IconProject, IconProjectSettings, IconPull, IconPush, IconPuzzle, IconPython, IconPythonColor, IconQuestionCircle, IconQuestionCircleFilled, IconReact, IconRefresh, IconRegex, IconRelease, IconReleaseFilled, IconRemoteAccess, IconReplace, IconResponsiveness, IconReviewerApproved, IconReviewerAssigned, IconReviewerRejected, IconRuby, IconRubyColor, IconSave, IconSecurityShield, IconSettings, IconSettingsFilled, IconShuffle, IconSiren, IconSkipCircle, IconSkipCircleFilled, IconSlack, IconSlackColor, IconSparkle, IconSparkleFilled, IconSpinnerOnDisabled, IconSpinnerPurple, IconSpinnerPurpleDouble, IconSpinnerWhite, IconStability, IconStack, IconStar, IconStep, IconStop, IconStopwatch, IconTag, IconTasks, IconTeams, IconTeamsColor, IconTemplateCode, IconTerminal, IconTestQuarantine, IconThemeDarkToggle, IconThumbDown, IconThumbUp, IconTools, IconTrash, IconTrigger, IconUbuntu, IconUbuntuColor, IconUnity3D, IconUpload, IconValidateShield, IconVideo, IconWarning, IconWarningYellow, IconWebUi, IconWebhooks, IconWorkflow, IconWorkflowFlow, IconXTwitter, IconXamarin, IconXcode, bitkitIcon, bitkitTheme as bitriseTheme, createBitkitToast };
344
+ export { BitkitAccordion, BitkitActionBar, BitkitAlert, BitkitAvatar, BitkitBadge, BitkitButton, BitkitCalendar, BitkitCard, BitkitCheckbox, BitkitCheckboxGroup, BitkitCloseButton, BitkitCodeSnippet, BitkitCollapsible, BitkitColorButton, BitkitCombobox, BitkitControlButton, BitkitDefinitionTooltip, BitkitDialog, BitkitDialogBody, BitkitDialogContent, BitkitDialogRoot, BitkitEmptyState, BitkitExpandableCard, BitkitExplainerList_default as BitkitExplainerList, BitkitField, BitkitFileInput, BitkitGroupHeading, BitkitIconButton, BitkitInlineLoading, BitkitLabel, BitkitLabelTooltip, BitkitLabeledData, BitkitLink, BitkitLinkButton, BitkitMarkdown, BitkitMarkdownCard, BitkitNativeSelect, BitkitNoteCard, BitkitNumberInput, BitkitOrderedList_default as BitkitOrderedList, BitkitOverflowTooltip, BitkitPaginationLoadMore, Provider as BitkitProvider, BitkitRadio, BitkitRadioGroup, BitkitRibbon, BitkitSearchInput, BitkitSectionHeading, BitkitSegmentedControl_default as BitkitSegmentedControl, BitkitSelect, BitkitSelectMenu, BitkitSelectableTag_default as BitkitSelectableTag, BitkitSplitButton_default as BitkitSplitButton, BitkitStat, BitkitTabs, BitkitTag, BitkitTagsInput, BitkitTextInput, BitkitToggle, BitkitToggleButton, BitkitTooltip, BitkitUnorderedList_default as BitkitUnorderedList, IconAbortCircle, IconAbortCircleFilled, IconAddons, IconAgent, IconAnchor, IconAndroid, IconApp, IconAppSettings, IconAppStore, IconAppStoreColor, IconApple, IconArchive, IconArchiveDelete, IconArchiveRestore, IconArrowBackAndDown, IconArrowBackAndUp, IconArrowDown, IconArrowForwardAndDown, IconArrowForwardAndUp, IconArrowLeft, IconArrowNortheast, IconArrowNorthwest, IconArrowRight, IconArrowUp, IconArrowsHorizontal, IconArrowsVertical, IconAutomation, IconAws, IconAwsColor, IconBadge3RdParty, IconBadgeBitrise, IconBadgeUpgrade, IconBadgeVersionOk, IconBazel, IconBell, IconBitbot, IconBitbotError, IconBitbucket, IconBitbucketColor, IconBitbucketNeutral, IconBitbucketWhite, IconBlockCircle, IconBook, IconBoxArrowDown, IconBoxDot, IconBoxLinesOverflow, IconBoxLinesWrap, IconBranch, IconBrowserstackColor, IconBug, IconBuild, IconBuildCache, IconBuildCacheFilled, IconBuildEnvSetup, IconCalendar, IconChangePlan, IconChat, IconCheck, IconCheckCircle, IconCheckCircleFilled, IconChevronDown, IconChevronLeft, IconChevronRight, IconChevronUp, IconCi, IconCiFilled, IconCircle, IconCircleDashed, IconCircleHalfFilled, IconClaude, IconClaudeColor, IconClock, IconCode, IconCodePush, IconCodeSigning, IconCoffee, IconCommit, IconConfigure, IconConnectedAccounts, IconContainer, IconCopy, IconCordova, IconCpu, IconCreditcard, IconCredits, IconCross, IconCrossCircle, IconCrossCircleFilled, IconCrown, IconCycle, IconDashboard, IconDashboardFilled, IconDeployment, IconDetails, IconDoc, IconDollar, IconDot, IconDotnet, IconDotnetColor, IconDotnetText, IconDotnetTextColor, IconDoubleCircle, IconDownload, IconEc2Ami, IconEnterprise, IconErrorCircle, IconErrorCircleFilled, IconExpand, IconExtraBuildCapacity, IconEye, IconEyeSlash, IconFastlane, IconFileDoc, IconFilePdf, IconFilePlist, IconFileZip, IconFilter, IconFlag, IconFlutter, IconFolder, IconFullscreen, IconFullscreenExit, IconGauge, IconGit, IconGithub, IconGitlab, IconGitlabColor, IconGitlabWhite, IconGlobe, IconGo, IconGoogleColor, IconGooglePlay, IconGooglePlayColor, IconGradle, IconGroup, IconHashtag, IconHeadset, IconHeart, IconHistory, IconHourglass, IconImage, IconInfoCircle, IconInfoCircleFilled, IconInsights, IconInsightsFilled, IconInstall, IconInteraction, IconInvoice, IconIonic, IconJapanese, IconJava, IconJavaColor, IconJavaDuke, IconJavaDukeColor, IconKey, IconKotlin, IconKotlinColor, IconKotlinWhite, IconLaptop, IconLaunchdarkly, IconLegacyApp, IconLightbulb, IconLink, IconLinux, IconLock, IconLockOpen, IconLogin, IconLogout, IconMacos, IconMagicWand, IconMagnifier, IconMail, IconMedal, IconMemory, IconMenuGrid, IconMenuHamburger, IconMessage, IconMessageAlert, IconMessageQuestion, IconMicrophone, IconMinus, IconMinusCircle, IconMinusCircleFilled, IconMobile, IconMobileLandscape, IconMonitorChart, IconMoreHorizontal, IconMoreVertical, IconNews, IconNextjs, IconNodejs, IconOpenInNew, IconOther, IconOutsideContributor, IconOverview, IconPause, IconPencil, IconPeople, IconPercent, IconPerson, IconPersonWithDesk, IconPlay, IconPlus, IconPlusCircle, IconPlusCircleFilled, IconPower, IconProject, IconProjectSettings, IconPull, IconPush, IconPuzzle, IconPython, IconPythonColor, IconQuestionCircle, IconQuestionCircleFilled, IconReact, IconRefresh, IconRegex, IconRelease, IconReleaseFilled, IconRemoteAccess, IconReplace, IconResponsiveness, IconReviewerApproved, IconReviewerAssigned, IconReviewerRejected, IconRuby, IconRubyColor, IconSave, IconSecurityShield, IconSettings, IconSettingsFilled, IconShuffle, IconSiren, IconSkipCircle, IconSkipCircleFilled, IconSlack, IconSlackColor, IconSparkle, IconSparkleFilled, IconSpinnerOnDisabled, IconSpinnerPurple, IconSpinnerPurpleDouble, IconSpinnerWhite, IconStability, IconStack, IconStar, IconStep, IconStop, IconStopwatch, IconTag, IconTasks, IconTeams, IconTeamsColor, IconTemplateCode, IconTerminal, IconTestQuarantine, IconThemeDarkToggle, IconThumbDown, IconThumbUp, IconTools, IconTrash, IconTrigger, IconUbuntu, IconUbuntuColor, IconUnity3D, IconUpload, IconValidateShield, IconVideo, IconWarning, IconWarningYellow, IconWebUi, IconWebhooks, IconWorkflow, IconWorkflowFlow, IconXTwitter, IconXamarin, IconXcode, bitkitIcon, bitkitTheme as bitriseTheme, createBitkitToast };
@@ -1,13 +1,14 @@
1
- import { rem } from "../themeUtils.js";
2
1
  import { defineRecipe } from "@chakra-ui/react/styled-system";
3
2
  //#region lib/theme/recipes/DefinitionTooltip.recipe.ts
4
3
  var definitionTooltipRecipe = defineRecipe({
5
4
  className: "definition-tooltip",
6
5
  base: {
7
- textStyle: "body/lg/regular",
6
+ color: "inherit",
7
+ font: "inherit",
8
+ letterSpacing: "inherit",
8
9
  textDecoration: "underline dotted",
9
10
  textDecorationColor: "sys/neutral/bold",
10
- textUnderlineOffset: rem(6),
11
+ textUnderlineOffset: "0.375em",
11
12
  "&:hover": { textDecorationColor: "sys/purple/base" }
12
13
  },
13
14
  variants: { method: {
@@ -1 +1 @@
1
- {"version":3,"file":"DefinitionTooltip.recipe.js","names":[],"sources":["../../../lib/theme/recipes/DefinitionTooltip.recipe.ts"],"sourcesContent":["import { defineRecipe } from '@chakra-ui/react/styled-system';\n\nimport { rem } from '../themeUtils';\n\nconst definitionTooltipRecipe = defineRecipe({\n className: 'definition-tooltip',\n base: {\n textStyle: 'body/lg/regular',\n textDecoration: 'underline dotted',\n textDecorationColor: 'sys/neutral/bold',\n textUnderlineOffset: rem(6),\n '&:hover': {\n textDecorationColor: 'sys/purple/base',\n },\n },\n variants: {\n method: {\n click: {\n cursor: 'pointer',\n },\n hover: {\n cursor: 'default',\n },\n },\n },\n});\n\nexport default definitionTooltipRecipe;\n"],"mappings":";;;AAIA,IAAM,0BAA0B,aAAa;CAC3C,WAAW;CACX,MAAM;EACJ,WAAW;EACX,gBAAgB;EAChB,qBAAqB;EACrB,qBAAqB,IAAI,EAAE;EAC3B,WAAW,EACT,qBAAqB,mBACtB;EACF;CACD,UAAU,EACR,QAAQ;EACN,OAAO,EACL,QAAQ,WACT;EACD,OAAO,EACL,QAAQ,WACT;EACF,EACF;CACF,CAAC"}
1
+ {"version":3,"file":"DefinitionTooltip.recipe.js","names":[],"sources":["../../../lib/theme/recipes/DefinitionTooltip.recipe.ts"],"sourcesContent":["import { defineRecipe } from '@chakra-ui/react/styled-system';\n\nconst definitionTooltipRecipe = defineRecipe({\n className: 'definition-tooltip',\n base: {\n color: 'inherit',\n font: 'inherit',\n letterSpacing: 'inherit',\n textDecoration: 'underline dotted',\n textDecorationColor: 'sys/neutral/bold',\n textUnderlineOffset: '0.375em',\n '&:hover': {\n textDecorationColor: 'sys/purple/base',\n },\n },\n variants: {\n method: {\n click: {\n cursor: 'pointer',\n },\n hover: {\n cursor: 'default',\n },\n },\n },\n});\n\nexport default definitionTooltipRecipe;\n"],"mappings":";;AAEA,IAAM,0BAA0B,aAAa;CAC3C,WAAW;CACX,MAAM;EACJ,OAAO;EACP,MAAM;EACN,eAAe;EACf,gBAAgB;EAChB,qBAAqB;EACrB,qBAAqB;EACrB,WAAW,EACT,qBAAqB,mBACtB;EACF;CACD,UAAU,EACR,QAAQ;EACN,OAAO,EACL,QAAQ,WACT;EACD,OAAO,EACL,QAAQ,WACT;EACF,EACF;CACF,CAAC"}
@@ -0,0 +1,38 @@
1
+ declare const labeledDataSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "value" | "root" | "limit" | "helpText", {
2
+ size: {
3
+ lg: {
4
+ label: {
5
+ color: "text/primary";
6
+ };
7
+ value: {
8
+ textStyle: "comp/data/sm";
9
+ };
10
+ limit: {
11
+ textStyle: "body/md/regular";
12
+ };
13
+ };
14
+ '2xl': {
15
+ label: {
16
+ color: "text/secondary";
17
+ };
18
+ value: {
19
+ textStyle: "comp/data/md";
20
+ };
21
+ limit: {
22
+ textStyle: "body/xl/regular";
23
+ };
24
+ };
25
+ '3xl': {
26
+ label: {
27
+ color: "text/secondary";
28
+ };
29
+ value: {
30
+ textStyle: "comp/data/lg";
31
+ };
32
+ limit: {
33
+ textStyle: "body/2xl/regular";
34
+ };
35
+ };
36
+ };
37
+ }>;
38
+ export default labeledDataSlotRecipe;
@@ -0,0 +1,64 @@
1
+ import { defineSlotRecipe } from "@chakra-ui/react/styled-system";
2
+ //#region lib/theme/slot-recipes/LabeledData.recipe.ts
3
+ var labeledDataSlotRecipe = defineSlotRecipe({
4
+ className: "labeled-data",
5
+ slots: [
6
+ "root",
7
+ "label",
8
+ "value",
9
+ "limit",
10
+ "helpText"
11
+ ],
12
+ base: {
13
+ root: {
14
+ display: "flex",
15
+ flexDirection: "column",
16
+ gap: "4"
17
+ },
18
+ label: {
19
+ display: "inline-flex",
20
+ gap: "4",
21
+ alignItems: "center",
22
+ textStyle: "body/md/semibold"
23
+ },
24
+ value: {
25
+ display: "inline-flex",
26
+ alignItems: "baseline",
27
+ gap: "2",
28
+ fontFeatureSettings: "pnum",
29
+ fontVariantNumeric: "proportional-nums",
30
+ color: "text/body"
31
+ },
32
+ limit: {
33
+ color: "text/secondary",
34
+ fontWeight: "initial",
35
+ letterSpacing: "initial"
36
+ },
37
+ helpText: {
38
+ textStyle: "body/md/regular",
39
+ color: "text/tertiary"
40
+ }
41
+ },
42
+ variants: { size: {
43
+ lg: {
44
+ label: { color: "text/primary" },
45
+ value: { textStyle: "comp/data/sm" },
46
+ limit: { textStyle: "body/md/regular" }
47
+ },
48
+ "2xl": {
49
+ label: { color: "text/secondary" },
50
+ value: { textStyle: "comp/data/md" },
51
+ limit: { textStyle: "body/xl/regular" }
52
+ },
53
+ "3xl": {
54
+ label: { color: "text/secondary" },
55
+ value: { textStyle: "comp/data/lg" },
56
+ limit: { textStyle: "body/2xl/regular" }
57
+ }
58
+ } },
59
+ defaultVariants: { size: "lg" }
60
+ });
61
+ //#endregion
62
+ export { labeledDataSlotRecipe as default };
63
+
64
+ //# sourceMappingURL=LabeledData.recipe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LabeledData.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/LabeledData.recipe.ts"],"sourcesContent":["import { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nconst labeledDataSlotRecipe = defineSlotRecipe({\n className: 'labeled-data',\n slots: ['root', 'label', 'value', 'limit', 'helpText'],\n base: {\n root: {\n display: 'flex',\n flexDirection: 'column',\n gap: '4',\n },\n label: {\n display: 'inline-flex',\n gap: '4',\n alignItems: 'center',\n textStyle: 'body/md/semibold',\n },\n value: {\n display: 'inline-flex',\n alignItems: 'baseline',\n gap: '2',\n fontFeatureSettings: 'pnum',\n fontVariantNumeric: 'proportional-nums',\n color: 'text/body',\n },\n limit: {\n color: 'text/secondary',\n fontWeight: 'initial',\n letterSpacing: 'initial',\n },\n helpText: {\n textStyle: 'body/md/regular',\n color: 'text/tertiary',\n },\n },\n variants: {\n size: {\n lg: {\n label: { color: 'text/primary' },\n value: { textStyle: 'comp/data/sm' },\n limit: { textStyle: 'body/md/regular' },\n },\n '2xl': {\n label: { color: 'text/secondary' },\n value: { textStyle: 'comp/data/md' },\n limit: { textStyle: 'body/xl/regular' },\n },\n '3xl': {\n label: { color: 'text/secondary' },\n value: { textStyle: 'comp/data/lg' },\n limit: { textStyle: 'body/2xl/regular' },\n },\n },\n },\n defaultVariants: {\n size: 'lg',\n },\n});\n\nexport default labeledDataSlotRecipe;\n"],"mappings":";;AAEA,IAAM,wBAAwB,iBAAiB;CAC7C,WAAW;CACX,OAAO;EAAC;EAAQ;EAAS;EAAS;EAAS;EAAW;CACtD,MAAM;EACJ,MAAM;GACJ,SAAS;GACT,eAAe;GACf,KAAK;GACN;EACD,OAAO;GACL,SAAS;GACT,KAAK;GACL,YAAY;GACZ,WAAW;GACZ;EACD,OAAO;GACL,SAAS;GACT,YAAY;GACZ,KAAK;GACL,qBAAqB;GACrB,oBAAoB;GACpB,OAAO;GACR;EACD,OAAO;GACL,OAAO;GACP,YAAY;GACZ,eAAe;GAChB;EACD,UAAU;GACR,WAAW;GACX,OAAO;GACR;EACF;CACD,UAAU,EACR,MAAM;EACJ,IAAI;GACF,OAAO,EAAE,OAAO,gBAAgB;GAChC,OAAO,EAAE,WAAW,gBAAgB;GACpC,OAAO,EAAE,WAAW,mBAAmB;GACxC;EACD,OAAO;GACL,OAAO,EAAE,OAAO,kBAAkB;GAClC,OAAO,EAAE,WAAW,gBAAgB;GACpC,OAAO,EAAE,WAAW,mBAAmB;GACxC;EACD,OAAO;GACL,OAAO,EAAE,OAAO,kBAAkB;GAClC,OAAO,EAAE,WAAW,gBAAgB;GACpC,OAAO,EAAE,WAAW,oBAAoB;GACzC;EACF,EACF;CACD,iBAAiB,EACf,MAAM,MACP;CACF,CAAC"}
@@ -0,0 +1,44 @@
1
+ declare const statSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "value" | "root" | "helpText", {
2
+ size: {
3
+ lg: {
4
+ label: {
5
+ color: "text/primary";
6
+ };
7
+ value: {
8
+ textStyle: "comp/data/sm";
9
+ };
10
+ };
11
+ '2xl': {
12
+ label: {
13
+ color: "text/secondary";
14
+ };
15
+ value: {
16
+ textStyle: "comp/data/md";
17
+ };
18
+ };
19
+ '3xl': {
20
+ label: {
21
+ color: "text/secondary";
22
+ };
23
+ value: {
24
+ textStyle: "comp/data/lg";
25
+ };
26
+ };
27
+ };
28
+ variant: {
29
+ default: {};
30
+ compact: {
31
+ root: {
32
+ display: "inline-flex";
33
+ alignItems: "flex-end";
34
+ };
35
+ value: {
36
+ textStyle: "body/md/regular";
37
+ };
38
+ helpText: {
39
+ textStyle: "body/sm/regular";
40
+ };
41
+ };
42
+ };
43
+ }>;
44
+ export default statSlotRecipe;
@@ -0,0 +1,73 @@
1
+ import { defineSlotRecipe } from "@chakra-ui/react/styled-system";
2
+ //#region lib/theme/slot-recipes/Stat.recipe.ts
3
+ var statSlotRecipe = defineSlotRecipe({
4
+ className: "stat",
5
+ slots: [
6
+ "root",
7
+ "label",
8
+ "value",
9
+ "helpText"
10
+ ],
11
+ base: {
12
+ root: {
13
+ display: "flex",
14
+ flexDirection: "column",
15
+ gap: "4"
16
+ },
17
+ label: {
18
+ display: "inline-flex",
19
+ gap: "4",
20
+ alignItems: "center",
21
+ textStyle: "body/md/semibold"
22
+ },
23
+ value: {
24
+ display: "inline-flex",
25
+ gap: "4",
26
+ alignItems: "center",
27
+ fontFeatureSettings: "pnum",
28
+ fontVariantNumeric: "proportional-nums",
29
+ color: "text/body"
30
+ },
31
+ helpText: {
32
+ display: "inline-flex",
33
+ flexWrap: "wrap",
34
+ gap: "4",
35
+ textStyle: "body/md/regular"
36
+ }
37
+ },
38
+ variants: {
39
+ size: {
40
+ lg: {
41
+ label: { color: "text/primary" },
42
+ value: { textStyle: "comp/data/sm" }
43
+ },
44
+ "2xl": {
45
+ label: { color: "text/secondary" },
46
+ value: { textStyle: "comp/data/md" }
47
+ },
48
+ "3xl": {
49
+ label: { color: "text/secondary" },
50
+ value: { textStyle: "comp/data/lg" }
51
+ }
52
+ },
53
+ variant: {
54
+ default: {},
55
+ compact: {
56
+ root: {
57
+ display: "inline-flex",
58
+ alignItems: "flex-end"
59
+ },
60
+ value: { textStyle: "body/md/regular" },
61
+ helpText: { textStyle: "body/sm/regular" }
62
+ }
63
+ }
64
+ },
65
+ defaultVariants: {
66
+ size: "lg",
67
+ variant: "default"
68
+ }
69
+ });
70
+ //#endregion
71
+ export { statSlotRecipe as default };
72
+
73
+ //# sourceMappingURL=Stat.recipe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Stat.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/Stat.recipe.ts"],"sourcesContent":["import { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nconst statSlotRecipe = defineSlotRecipe({\n className: 'stat',\n slots: ['root', 'label', 'value', 'helpText'],\n base: {\n root: {\n display: 'flex',\n flexDirection: 'column',\n gap: '4',\n },\n label: {\n display: 'inline-flex',\n gap: '4',\n alignItems: 'center',\n textStyle: 'body/md/semibold',\n },\n value: {\n display: 'inline-flex',\n gap: '4',\n alignItems: 'center',\n fontFeatureSettings: 'pnum',\n fontVariantNumeric: 'proportional-nums',\n color: 'text/body',\n },\n helpText: {\n display: 'inline-flex',\n flexWrap: 'wrap',\n gap: '4',\n textStyle: 'body/md/regular',\n },\n },\n variants: {\n size: {\n lg: {\n label: { color: 'text/primary' },\n value: { textStyle: 'comp/data/sm' },\n },\n '2xl': {\n label: { color: 'text/secondary' },\n value: { textStyle: 'comp/data/md' },\n },\n '3xl': {\n label: { color: 'text/secondary' },\n value: { textStyle: 'comp/data/lg' },\n },\n },\n variant: {\n default: {},\n compact: {\n root: {\n display: 'inline-flex',\n alignItems: 'flex-end',\n },\n value: {\n textStyle: 'body/md/regular',\n },\n helpText: {\n textStyle: 'body/sm/regular',\n },\n },\n },\n },\n defaultVariants: {\n size: 'lg',\n variant: 'default',\n },\n});\n\nexport default statSlotRecipe;\n"],"mappings":";;AAEA,IAAM,iBAAiB,iBAAiB;CACtC,WAAW;CACX,OAAO;EAAC;EAAQ;EAAS;EAAS;EAAW;CAC7C,MAAM;EACJ,MAAM;GACJ,SAAS;GACT,eAAe;GACf,KAAK;GACN;EACD,OAAO;GACL,SAAS;GACT,KAAK;GACL,YAAY;GACZ,WAAW;GACZ;EACD,OAAO;GACL,SAAS;GACT,KAAK;GACL,YAAY;GACZ,qBAAqB;GACrB,oBAAoB;GACpB,OAAO;GACR;EACD,UAAU;GACR,SAAS;GACT,UAAU;GACV,KAAK;GACL,WAAW;GACZ;EACF;CACD,UAAU;EACR,MAAM;GACJ,IAAI;IACF,OAAO,EAAE,OAAO,gBAAgB;IAChC,OAAO,EAAE,WAAW,gBAAgB;IACrC;GACD,OAAO;IACL,OAAO,EAAE,OAAO,kBAAkB;IAClC,OAAO,EAAE,WAAW,gBAAgB;IACrC;GACD,OAAO;IACL,OAAO,EAAE,OAAO,kBAAkB;IAClC,OAAO,EAAE,WAAW,gBAAgB;IACrC;GACF;EACD,SAAS;GACP,SAAS,EAAE;GACX,SAAS;IACP,MAAM;KACJ,SAAS;KACT,YAAY;KACb;IACD,OAAO,EACL,WAAW,mBACZ;IACD,UAAU,EACR,WAAW,mBACZ;IACF;GACF;EACF;CACD,iBAAiB;EACf,MAAM;EACN,SAAS;EACV;CACF,CAAC"}
@@ -940,6 +940,43 @@ declare const slotRecipes: {
940
940
  }>;
941
941
  ribbon: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "root" | "textBlock", import('@chakra-ui/react').SlotRecipeVariantRecord<"content" | "root" | "textBlock">>;
942
942
  sectionHeading: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "icon" | "root" | "helperText" | "titleBlock" | "contentBlock" | "helperBlock", import('@chakra-ui/react').SlotRecipeVariantRecord<"label" | "icon" | "root" | "helperText" | "titleBlock" | "contentBlock" | "helperBlock">>;
943
+ labeledData: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "value" | "root" | "limit" | "helpText", {
944
+ size: {
945
+ lg: {
946
+ label: {
947
+ color: "text/primary";
948
+ };
949
+ value: {
950
+ textStyle: "comp/data/sm";
951
+ };
952
+ limit: {
953
+ textStyle: "body/md/regular";
954
+ };
955
+ };
956
+ '2xl': {
957
+ label: {
958
+ color: "text/secondary";
959
+ };
960
+ value: {
961
+ textStyle: "comp/data/md";
962
+ };
963
+ limit: {
964
+ textStyle: "body/xl/regular";
965
+ };
966
+ };
967
+ '3xl': {
968
+ label: {
969
+ color: "text/secondary";
970
+ };
971
+ value: {
972
+ textStyle: "comp/data/lg";
973
+ };
974
+ limit: {
975
+ textStyle: "body/2xl/regular";
976
+ };
977
+ };
978
+ };
979
+ }>;
943
980
  segmentGroup: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root" | "item" | "indicator" | "itemText" | "itemControl", {
944
981
  fullWidth: {
945
982
  true: {
@@ -1027,6 +1064,49 @@ declare const slotRecipes: {
1027
1064
  };
1028
1065
  };
1029
1066
  }>;
1067
+ stat: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "value" | "root" | "helpText", {
1068
+ size: {
1069
+ lg: {
1070
+ label: {
1071
+ color: "text/primary";
1072
+ };
1073
+ value: {
1074
+ textStyle: "comp/data/sm";
1075
+ };
1076
+ };
1077
+ '2xl': {
1078
+ label: {
1079
+ color: "text/secondary";
1080
+ };
1081
+ value: {
1082
+ textStyle: "comp/data/md";
1083
+ };
1084
+ };
1085
+ '3xl': {
1086
+ label: {
1087
+ color: "text/secondary";
1088
+ };
1089
+ value: {
1090
+ textStyle: "comp/data/lg";
1091
+ };
1092
+ };
1093
+ };
1094
+ variant: {
1095
+ default: {};
1096
+ compact: {
1097
+ root: {
1098
+ display: "inline-flex";
1099
+ alignItems: "flex-end";
1100
+ };
1101
+ value: {
1102
+ textStyle: "body/md/regular";
1103
+ };
1104
+ helpText: {
1105
+ textStyle: "body/sm/regular";
1106
+ };
1107
+ };
1108
+ };
1109
+ }>;
1030
1110
  switch: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root" | "indicator" | "control" | "thumb", {
1031
1111
  size: {
1032
1112
  sm: {
@@ -21,6 +21,7 @@ import fileUploadSlotRecipe from "./FileUpload.recipe.js";
21
21
  import groupHeadingRecipe from "./GroupHeading.recipe.js";
22
22
  import imageCropperSlotRecipe from "./ImageCropper.recipe.js";
23
23
  import inlineLoadingRecipe from "./InlineLoading.recipe.js";
24
+ import labeledDataSlotRecipe from "./LabeledData.recipe.js";
24
25
  import listSlotRecipe from "./List.recipe.js";
25
26
  import markdownSlotRecipe from "./Markdown.recipe.js";
26
27
  import markdownCardSlotRecipe from "./MarkdownCard.recipe.js";
@@ -33,6 +34,7 @@ import ribbonSlotRecipe from "./Ribbon.recipe.js";
33
34
  import sectionHeadingRecipe from "./SectionHeading.recipe.js";
34
35
  import segmentGroupSlotRecipe from "./SegmentGroup.recipe.js";
35
36
  import splitButtonSlotRecipe from "./SplitButton.recipe.js";
37
+ import statSlotRecipe from "./Stat.recipe.js";
36
38
  import switchSlotRecipe from "./Switch.recipe.js";
37
39
  import tableSlotRecipe from "./Table.recipe.js";
38
40
  import tabsSlotRecipe from "./Tabs.recipe.js";
@@ -74,9 +76,11 @@ var slotRecipes = {
74
76
  radioGroup: radioGroupSlotRecipe,
75
77
  ribbon: ribbonSlotRecipe,
76
78
  sectionHeading: sectionHeadingRecipe,
79
+ labeledData: labeledDataSlotRecipe,
77
80
  segmentGroup: segmentGroupSlotRecipe,
78
81
  select: selectSlotRecipe,
79
82
  splitButton: splitButtonSlotRecipe,
83
+ stat: statSlotRecipe,
80
84
  switch: switchSlotRecipe,
81
85
  table: tableSlotRecipe,
82
86
  tabs: tabsSlotRecipe,
@@ -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 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 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 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 splitButtonSlotRecipe from './SplitButton.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 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 paginationLoadMore: paginationLoadMoreSlotRecipe,\n radioGroup: radioGroupSlotRecipe,\n ribbon: ribbonSlotRecipe,\n sectionHeading: sectionHeadingSlotRecipe,\n segmentGroup: segmentGroupSlotRecipe,\n select: selectSlotRecipe,\n splitButton: splitButtonSlotRecipe,\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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2CA,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,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,oBAAoB;CACpB,YAAY;CACZ,QAAQ;CACR,gBAAgB;CAChB,cAAc;CACd,QAAQ;CACR,aAAa;CACb,QAAQ;CACR,OAAO;CACP,MAAM;CACN,KAAK;CACL,WAAW;CACX,OAAO;CACP,SAAS;CACV"}
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 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 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 splitButtonSlotRecipe from './SplitButton.recipe.ts';\nimport statSlotRecipe from './Stat.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 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 paginationLoadMore: paginationLoadMoreSlotRecipe,\n radioGroup: radioGroupSlotRecipe,\n ribbon: ribbonSlotRecipe,\n sectionHeading: sectionHeadingSlotRecipe,\n labeledData: labeledDataSlotRecipe,\n segmentGroup: segmentGroupSlotRecipe,\n select: selectSlotRecipe,\n splitButton: splitButtonSlotRecipe,\n stat: statSlotRecipe,\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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,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,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,oBAAoB;CACpB,YAAY;CACZ,QAAQ;CACR,gBAAgB;CAChB,aAAa;CACb,cAAc;CACd,QAAQ;CACR,aAAa;CACb,MAAM;CACN,QAAQ;CACR,OAAO;CACP,MAAM;CACN,KAAK;CACL,WAAW;CACX,OAAO;CACP,SAAS;CACV"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit-v2",
3
3
  "private": false,
4
- "version": "0.3.186",
4
+ "version": "0.3.187",
5
5
  "description": "Bitrise Design System Components built with Chakra UI V3",
6
6
  "keywords": [
7
7
  "react",