@bitrise/bitkit-v2 0.3.252 → 0.3.253-beta.1712
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/AGENTS.md +6 -0
- package/dist/components/BitkitActionBar/BitkitActionBar.js +1 -1
- package/dist/components/BitkitActionBar/BitkitActionBar.js.map +1 -1
- package/dist/components/BitkitAlert/BitkitAlert.js +2 -2
- package/dist/components/BitkitAlert/BitkitAlert.js.map +1 -1
- package/dist/components/BitkitAvatar/BitkitAvatar.d.ts +3 -4
- package/dist/components/BitkitAvatar/BitkitAvatar.js +4 -6
- package/dist/components/BitkitAvatar/BitkitAvatar.js.map +1 -1
- package/dist/components/BitkitBadge/BitkitBadge.d.ts +2 -5
- package/dist/components/BitkitBadge/BitkitBadge.js.map +1 -1
- package/dist/components/BitkitCloseButton/BitkitCloseButton.d.ts +1 -1
- package/dist/components/BitkitCloseButton/BitkitCloseButton.js +6 -3
- package/dist/components/BitkitCloseButton/BitkitCloseButton.js.map +1 -1
- package/dist/components/BitkitColorButton/BitkitColorButton.d.ts +1 -1
- package/dist/components/BitkitColorButton/BitkitColorButton.js.map +1 -1
- package/dist/components/BitkitLabel/BitkitLabel.js +1 -1
- package/dist/components/BitkitLabel/BitkitLabel.js.map +1 -1
- package/dist/components/BitkitList/BitkitList.d.ts +1 -1
- package/dist/components/BitkitList/BitkitList.js +6 -6
- package/dist/components/BitkitList/BitkitList.js.map +1 -1
- package/dist/components/BitkitMarkdown/BitkitMarkdown.js +1 -1
- package/dist/components/BitkitMarkdown/BitkitMarkdown.js.map +1 -1
- package/dist/components/BitkitMultiselect/BitkitMultiselect.js +3 -3
- package/dist/components/BitkitMultiselect/BitkitMultiselect.js.map +1 -1
- package/dist/components/BitkitPageFooter/BitkitPageFooter.d.ts +2 -2
- package/dist/components/BitkitPageFooter/BitkitPageFooter.js +7 -7
- package/dist/components/BitkitPageFooter/BitkitPageFooter.js.map +1 -1
- package/dist/components/BitkitRadio/BitkitRadio.js +1 -1
- package/dist/components/BitkitRadio/BitkitRadio.js.map +1 -1
- package/dist/components/BitkitRibbon/BitkitRibbon.d.ts +1 -1
- package/dist/components/BitkitRibbon/BitkitRibbon.js +4 -6
- package/dist/components/BitkitRibbon/BitkitRibbon.js.map +1 -1
- package/dist/components/BitkitSearchInput/BitkitSearchInput.js +1 -1
- package/dist/components/BitkitSearchInput/BitkitSearchInput.js.map +1 -1
- package/dist/components/BitkitSwitch/components/BitkitSwitchReadOnly.js +2 -2
- package/dist/components/BitkitSwitch/components/BitkitSwitchReadOnly.js.map +1 -1
- package/dist/components/BitkitTable/BitkitSortableColumnHeader.js +1 -1
- package/dist/components/BitkitTable/BitkitSortableColumnHeader.js.map +1 -1
- package/dist/components/BitkitTag/BitkitTag.js +1 -1
- package/dist/components/BitkitTag/BitkitTag.js.map +1 -1
- package/dist/components/BitkitToast/BitkitToaster.js +2 -2
- package/dist/components/BitkitToast/BitkitToaster.js.map +1 -1
- package/dist/components/BitkitTooltip/BitkitTooltip.js +1 -1
- package/dist/components/BitkitTooltip/BitkitTooltip.js.map +1 -1
- package/dist/components/common/notificationMaps.d.ts +8 -1
- package/dist/components/common/notificationMaps.js.map +1 -1
- package/dist/docs/shared.d.ts +1 -1
- package/dist/theme/common/AlertAndToast.common.js +1 -1
- package/dist/theme/common/AlertAndToast.common.js.map +1 -1
- package/dist/theme/global-css.js +1 -1
- package/dist/theme/global-css.js.map +1 -1
- package/dist/theme/recipes/Badge.recipe.d.ts +39 -5
- package/dist/theme/recipes/Badge.recipe.js +77 -20
- package/dist/theme/recipes/Badge.recipe.js.map +1 -1
- package/dist/theme/recipes/Button.recipe.js +12 -12
- package/dist/theme/recipes/Button.recipe.js.map +1 -1
- package/dist/theme/recipes/CloseButton.recipe.d.ts +68 -0
- package/dist/theme/recipes/CloseButton.recipe.js +56 -17
- package/dist/theme/recipes/CloseButton.recipe.js.map +1 -1
- package/dist/theme/recipes/ColorButton.recipe.d.ts +93 -0
- package/dist/theme/recipes/ColorButton.recipe.js +75 -30
- package/dist/theme/recipes/ColorButton.recipe.js.map +1 -1
- package/dist/theme/recipes/DefinitionTooltip.recipe.js +2 -2
- package/dist/theme/recipes/DefinitionTooltip.recipe.js.map +1 -1
- package/dist/theme/recipes/Link.recipe.d.ts +1 -1
- package/dist/theme/recipes/Link.recipe.js +1 -1
- package/dist/theme/recipes/Link.recipe.js.map +1 -1
- package/dist/theme/recipes/Separator.recipe.js +1 -1
- package/dist/theme/recipes/Separator.recipe.js.map +1 -1
- package/dist/theme/recipes/Skeleton.recipe.js +2 -2
- package/dist/theme/recipes/Skeleton.recipe.js.map +1 -1
- package/dist/theme/recipes/index.d.ts +201 -6
- package/dist/theme/semantic-tokens/index.d.ts +1772 -1
- package/dist/theme/semantic-tokens/semanticColors.d.ts +1772 -1
- package/dist/theme/semantic-tokens/semanticColors.js +356 -472
- package/dist/theme/semantic-tokens/semanticColors.js.map +1 -1
- package/dist/theme/slot-recipes/Avatar.recipe.d.ts +56 -0
- package/dist/theme/slot-recipes/Avatar.recipe.js +40 -3
- package/dist/theme/slot-recipes/Avatar.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/Collapsible.recipe.js +1 -1
- package/dist/theme/slot-recipes/Collapsible.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/Dialog.recipe.js +1 -1
- package/dist/theme/slot-recipes/Dialog.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/Drawer.recipe.js +2 -2
- package/dist/theme/slot-recipes/Drawer.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/EmptyState.recipe.d.ts +2 -2
- package/dist/theme/slot-recipes/EmptyState.recipe.js +3 -3
- package/dist/theme/slot-recipes/EmptyState.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/MarkdownCard.recipe.d.ts +3 -3
- package/dist/theme/slot-recipes/MarkdownCard.recipe.js +4 -4
- package/dist/theme/slot-recipes/MarkdownCard.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/NoteCard.recipe.d.ts +2 -2
- package/dist/theme/slot-recipes/NoteCard.recipe.js +8 -8
- package/dist/theme/slot-recipes/NoteCard.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/OverflowContent.recipe.js +1 -1
- package/dist/theme/slot-recipes/OverflowContent.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/PageFooter.recipe.d.ts +4 -4
- package/dist/theme/slot-recipes/PageFooter.recipe.js +5 -5
- package/dist/theme/slot-recipes/PageFooter.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/Ribbon.recipe.d.ts +39 -1
- package/dist/theme/slot-recipes/Ribbon.recipe.js +29 -5
- package/dist/theme/slot-recipes/Ribbon.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/Tabs.recipe.d.ts +1 -1
- package/dist/theme/slot-recipes/Tabs.recipe.js +1 -1
- package/dist/theme/slot-recipes/Tabs.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/Tag.recipe.d.ts +44 -0
- package/dist/theme/slot-recipes/Tag.recipe.js +38 -7
- package/dist/theme/slot-recipes/Tag.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/TagsInput.recipe.js +5 -5
- package/dist/theme/slot-recipes/TagsInput.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/Tooltip.recipe.d.ts +2 -2
- package/dist/theme/slot-recipes/Tooltip.recipe.js +3 -3
- package/dist/theme/slot-recipes/Tooltip.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/index.d.ts +153 -15
- package/dist/theme/slot-recipes/index.js +1 -1
- package/dist/theme/tokens/colors.d.ts +4 -846
- package/dist/theme/tokens/colors.js +22 -137
- package/dist/theme/tokens/colors.js.map +1 -1
- package/dist/theme/tokens/index.d.ts +15 -312
- package/dist/theme/tokens/index.js +1 -1
- package/package.json +10 -9
- package/scripts/postinstall.cjs +8 -0
- package/scripts/prune-color-tokens.cjs +78 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.recipe.js","names":[],"sources":["../../../lib/theme/recipes/Skeleton.recipe.ts"],"sourcesContent":["import { defineRecipe } from '@chakra-ui/react/styled-system';\n\nconst skeletonRecipe = defineRecipe({\n className: 'skeleton',\n base: {\n '--animate-from': '200%',\n '--animate-to': '-200%',\n '--start-color': 'colors.utilities
|
|
1
|
+
{"version":3,"file":"Skeleton.recipe.js","names":[],"sources":["../../../lib/theme/recipes/Skeleton.recipe.ts"],"sourcesContent":["import { defineRecipe } from '@chakra-ui/react/styled-system';\n\nconst skeletonRecipe = defineRecipe({\n className: 'skeleton',\n base: {\n '--animate-from': '200%',\n '--animate-to': '-200%',\n '--start-color': 'colors.utilities/skeleton',\n '--end-color': 'colors.utilities/skeleton-strong',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n },\n\n variants: {\n loading: {\n true: {\n backgroundImage:\n 'linear-gradient(270deg,var(--start-color),var(--end-color),var(--end-color),var(--start-color))',\n backgroundSize: '400% 100%',\n animation: 'bg-position var(--duration, 10s) ease-in-out infinite',\n borderRadius: '4',\n borderColor: 'transparent',\n backgroundClip: 'padding-box',\n cursor: 'default',\n color: 'transparent',\n pointerEvents: 'none',\n userSelect: 'none',\n flexShrink: '0',\n '&::before, &::after, *': {\n visibility: 'hidden',\n },\n },\n false: {\n animation: 'fade-in var(--fade-duration, 0.1s) ease-out !important',\n },\n },\n },\n\n defaultVariants: {\n loading: true,\n },\n});\n\nexport default skeletonRecipe;\n"],"mappings":";;AAEA,IAAM,iBAAiB,aAAa;CAClC,WAAW;CACX,MAAM;EACJ,kBAAkB;EAClB,gBAAgB;EAChB,iBAAiB;EACjB,eAAe;EACf,SAAS;EACT,YAAY;EACZ,gBAAgB;CAClB;CAEA,UAAU,EACR,SAAS;EACP,MAAM;GACJ,iBACE;GACF,gBAAgB;GAChB,WAAW;GACX,cAAc;GACd,aAAa;GACb,gBAAgB;GAChB,QAAQ;GACR,OAAO;GACP,eAAe;GACf,YAAY;GACZ,YAAY;GACZ,0BAA0B,EACxB,YAAY,SACd;EACF;EACA,OAAO,EACL,WAAW,yDACb;CACF,EACF;CAEA,iBAAiB,EACf,SAAS,KACX;AACF,CAAC"}
|
|
@@ -10,14 +10,48 @@ declare const recipes: {
|
|
|
10
10
|
paddingBlock: "4";
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
color: "
|
|
16
|
-
background: "
|
|
13
|
+
colorVariant: {
|
|
14
|
+
neutral: {
|
|
15
|
+
color: "color/neutral/strong";
|
|
16
|
+
background: "color/neutral/subtle";
|
|
17
|
+
};
|
|
18
|
+
purple: {
|
|
19
|
+
color: "color/purple/strong";
|
|
20
|
+
background: "color/purple/subtle";
|
|
21
|
+
};
|
|
22
|
+
blue: {
|
|
23
|
+
color: "color/blue/strong";
|
|
24
|
+
background: "color/blue/subtle";
|
|
25
|
+
};
|
|
26
|
+
green: {
|
|
27
|
+
color: "color/green/strong";
|
|
28
|
+
background: "color/green/subtle";
|
|
29
|
+
};
|
|
30
|
+
yellow: {
|
|
31
|
+
color: "color/yellow/strong";
|
|
32
|
+
background: "color/yellow/subtle";
|
|
33
|
+
};
|
|
34
|
+
red: {
|
|
35
|
+
color: "color/red/strong";
|
|
36
|
+
background: "color/red/subtle";
|
|
37
|
+
};
|
|
38
|
+
orange: {
|
|
39
|
+
color: "color/orange/strong";
|
|
40
|
+
background: "color/orange/subtle";
|
|
41
|
+
};
|
|
42
|
+
turquoise: {
|
|
43
|
+
color: "color/turquoise/strong";
|
|
44
|
+
background: "color/turquoise/subtle";
|
|
17
45
|
};
|
|
46
|
+
'ai-gradient': {
|
|
47
|
+
color: "status/ai/text";
|
|
48
|
+
background: "ai/background/subtle";
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
variant: {
|
|
52
|
+
subtle: {};
|
|
18
53
|
bold: {
|
|
19
54
|
color: "text/on-color";
|
|
20
|
-
background: "colorPalette.bold";
|
|
21
55
|
};
|
|
22
56
|
};
|
|
23
57
|
}>;
|
|
@@ -61,6 +95,74 @@ declare const recipes: {
|
|
|
61
95
|
w: "40";
|
|
62
96
|
};
|
|
63
97
|
};
|
|
98
|
+
colorVariant: {
|
|
99
|
+
neutral: {
|
|
100
|
+
color: "color/neutral/strong";
|
|
101
|
+
'&:hover': {
|
|
102
|
+
backgroundColor: "color/neutral/subtle";
|
|
103
|
+
};
|
|
104
|
+
'&:active': {
|
|
105
|
+
backgroundColor: "color/neutral/moderate";
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
blue: {
|
|
109
|
+
color: "color/blue/strong";
|
|
110
|
+
'&:hover': {
|
|
111
|
+
backgroundColor: "color/blue/subtle";
|
|
112
|
+
};
|
|
113
|
+
'&:active': {
|
|
114
|
+
backgroundColor: "color/blue/moderate";
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
green: {
|
|
118
|
+
color: "color/green/strong";
|
|
119
|
+
'&:hover': {
|
|
120
|
+
backgroundColor: "color/green/subtle";
|
|
121
|
+
};
|
|
122
|
+
'&:active': {
|
|
123
|
+
backgroundColor: "color/green/moderate";
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
red: {
|
|
127
|
+
color: "color/red/strong";
|
|
128
|
+
'&:hover': {
|
|
129
|
+
backgroundColor: "color/red/subtle";
|
|
130
|
+
};
|
|
131
|
+
'&:active': {
|
|
132
|
+
backgroundColor: "color/red/moderate";
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
yellow: {
|
|
136
|
+
color: "color/yellow/strong";
|
|
137
|
+
'&:hover': {
|
|
138
|
+
backgroundColor: "color/yellow/subtle";
|
|
139
|
+
};
|
|
140
|
+
'&:active': {
|
|
141
|
+
backgroundColor: "color/yellow/moderate";
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
purple: {
|
|
145
|
+
color: "color/purple/strong";
|
|
146
|
+
'&:hover': {
|
|
147
|
+
backgroundColor: "color/purple/subtle";
|
|
148
|
+
};
|
|
149
|
+
'&:active': {
|
|
150
|
+
backgroundColor: "color/purple/moderate";
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
indigo: {
|
|
154
|
+
color: "color/indigo/strong";
|
|
155
|
+
'&:hover': {
|
|
156
|
+
backgroundColor: "color/indigo/subtle";
|
|
157
|
+
};
|
|
158
|
+
'&:active': {
|
|
159
|
+
backgroundColor: "color/indigo/moderate";
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
white: {
|
|
163
|
+
color: "icon/on-contrast";
|
|
164
|
+
};
|
|
165
|
+
};
|
|
64
166
|
}>;
|
|
65
167
|
controlButton: import('@chakra-ui/react').RecipeDefinition<{
|
|
66
168
|
isDanger: {
|
|
@@ -137,6 +239,99 @@ declare const recipes: {
|
|
|
137
239
|
textStyle: "comp/button/lg";
|
|
138
240
|
};
|
|
139
241
|
};
|
|
242
|
+
colorVariant: {
|
|
243
|
+
neutral: {
|
|
244
|
+
color: "color/neutral/strong";
|
|
245
|
+
'&:hover': {
|
|
246
|
+
backgroundColor: "color/neutral/subtle";
|
|
247
|
+
};
|
|
248
|
+
'&:active': {
|
|
249
|
+
backgroundColor: "color/neutral/moderate";
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
blue: {
|
|
253
|
+
color: "color/blue/strong";
|
|
254
|
+
'&:hover': {
|
|
255
|
+
backgroundColor: "color/blue/subtle";
|
|
256
|
+
};
|
|
257
|
+
'&:active': {
|
|
258
|
+
backgroundColor: "color/blue/moderate";
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
green: {
|
|
262
|
+
color: "color/green/strong";
|
|
263
|
+
'&:hover': {
|
|
264
|
+
backgroundColor: "color/green/subtle";
|
|
265
|
+
};
|
|
266
|
+
'&:active': {
|
|
267
|
+
backgroundColor: "color/green/moderate";
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
red: {
|
|
271
|
+
color: "color/red/strong";
|
|
272
|
+
'&:hover': {
|
|
273
|
+
backgroundColor: "color/red/subtle";
|
|
274
|
+
};
|
|
275
|
+
'&:active': {
|
|
276
|
+
backgroundColor: "color/red/moderate";
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
yellow: {
|
|
280
|
+
color: "color/yellow/strong";
|
|
281
|
+
'&:hover': {
|
|
282
|
+
backgroundColor: "color/yellow/subtle";
|
|
283
|
+
};
|
|
284
|
+
'&:active': {
|
|
285
|
+
backgroundColor: "color/yellow/moderate";
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
purple: {
|
|
289
|
+
color: "color/purple/strong";
|
|
290
|
+
'&:hover': {
|
|
291
|
+
backgroundColor: "color/purple/subtle";
|
|
292
|
+
};
|
|
293
|
+
'&:active': {
|
|
294
|
+
backgroundColor: "color/purple/moderate";
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
orange: {
|
|
298
|
+
color: "color/orange/strong";
|
|
299
|
+
'&:hover': {
|
|
300
|
+
backgroundColor: "color/orange/subtle";
|
|
301
|
+
};
|
|
302
|
+
'&:active': {
|
|
303
|
+
backgroundColor: "color/orange/moderate";
|
|
304
|
+
};
|
|
305
|
+
};
|
|
306
|
+
turquoise: {
|
|
307
|
+
color: "color/turquoise/strong";
|
|
308
|
+
'&:hover': {
|
|
309
|
+
backgroundColor: "color/turquoise/subtle";
|
|
310
|
+
};
|
|
311
|
+
'&:active': {
|
|
312
|
+
backgroundColor: "color/turquoise/moderate";
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
indigo: {
|
|
316
|
+
color: "color/indigo/strong";
|
|
317
|
+
'&:hover': {
|
|
318
|
+
backgroundColor: "color/indigo/subtle";
|
|
319
|
+
};
|
|
320
|
+
'&:active': {
|
|
321
|
+
backgroundColor: "color/indigo/moderate";
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
white: {
|
|
325
|
+
color: "text/on-color";
|
|
326
|
+
borderColor: "border/inverse";
|
|
327
|
+
'&:hover': {
|
|
328
|
+
backgroundColor: "color/white/a15";
|
|
329
|
+
};
|
|
330
|
+
'&:active': {
|
|
331
|
+
backgroundColor: "color/white/a30";
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
};
|
|
140
335
|
}>;
|
|
141
336
|
definitionTooltip: import('@chakra-ui/react').RecipeDefinition<{
|
|
142
337
|
method: {
|
|
@@ -179,7 +374,7 @@ declare const recipes: {
|
|
|
179
374
|
};
|
|
180
375
|
}>;
|
|
181
376
|
link: import('@chakra-ui/react').RecipeDefinition<{
|
|
182
|
-
|
|
377
|
+
colorVariant: {
|
|
183
378
|
purple: {
|
|
184
379
|
color: "text/link";
|
|
185
380
|
_hover: {
|