@bitrise/bitkit-v2 0.3.252-beta.1704 → 0.3.252

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.
Files changed (123) hide show
  1. package/AGENTS.md +1 -0
  2. package/dist/components/BitkitActionBar/BitkitActionBar.js +1 -1
  3. package/dist/components/BitkitActionBar/BitkitActionBar.js.map +1 -1
  4. package/dist/components/BitkitAlert/BitkitAlert.js +2 -2
  5. package/dist/components/BitkitAlert/BitkitAlert.js.map +1 -1
  6. package/dist/components/BitkitAvatar/BitkitAvatar.d.ts +4 -3
  7. package/dist/components/BitkitAvatar/BitkitAvatar.js +6 -4
  8. package/dist/components/BitkitAvatar/BitkitAvatar.js.map +1 -1
  9. package/dist/components/BitkitBadge/BitkitBadge.d.ts +5 -2
  10. package/dist/components/BitkitBadge/BitkitBadge.js.map +1 -1
  11. package/dist/components/BitkitCloseButton/BitkitCloseButton.d.ts +1 -1
  12. package/dist/components/BitkitCloseButton/BitkitCloseButton.js +3 -6
  13. package/dist/components/BitkitCloseButton/BitkitCloseButton.js.map +1 -1
  14. package/dist/components/BitkitColorButton/BitkitColorButton.d.ts +1 -1
  15. package/dist/components/BitkitColorButton/BitkitColorButton.js.map +1 -1
  16. package/dist/components/BitkitLabel/BitkitLabel.js +1 -1
  17. package/dist/components/BitkitLabel/BitkitLabel.js.map +1 -1
  18. package/dist/components/BitkitList/BitkitList.d.ts +1 -1
  19. package/dist/components/BitkitList/BitkitList.js +6 -6
  20. package/dist/components/BitkitList/BitkitList.js.map +1 -1
  21. package/dist/components/BitkitMarkdown/BitkitMarkdown.js +1 -1
  22. package/dist/components/BitkitMarkdown/BitkitMarkdown.js.map +1 -1
  23. package/dist/components/BitkitMultiselect/BitkitMultiselect.js +3 -3
  24. package/dist/components/BitkitMultiselect/BitkitMultiselect.js.map +1 -1
  25. package/dist/components/BitkitPageFooter/BitkitPageFooter.d.ts +2 -2
  26. package/dist/components/BitkitPageFooter/BitkitPageFooter.js +7 -7
  27. package/dist/components/BitkitPageFooter/BitkitPageFooter.js.map +1 -1
  28. package/dist/components/BitkitRadio/BitkitRadio.js +1 -1
  29. package/dist/components/BitkitRadio/BitkitRadio.js.map +1 -1
  30. package/dist/components/BitkitRibbon/BitkitRibbon.d.ts +1 -1
  31. package/dist/components/BitkitRibbon/BitkitRibbon.js +6 -4
  32. package/dist/components/BitkitRibbon/BitkitRibbon.js.map +1 -1
  33. package/dist/components/BitkitSearchInput/BitkitSearchInput.js +1 -1
  34. package/dist/components/BitkitSearchInput/BitkitSearchInput.js.map +1 -1
  35. package/dist/components/BitkitSwitch/components/BitkitSwitchReadOnly.js +2 -2
  36. package/dist/components/BitkitSwitch/components/BitkitSwitchReadOnly.js.map +1 -1
  37. package/dist/components/BitkitTable/BitkitSortableColumnHeader.js +1 -1
  38. package/dist/components/BitkitTable/BitkitSortableColumnHeader.js.map +1 -1
  39. package/dist/components/BitkitTag/BitkitTag.js +1 -1
  40. package/dist/components/BitkitTag/BitkitTag.js.map +1 -1
  41. package/dist/components/BitkitToast/BitkitToaster.js +2 -2
  42. package/dist/components/BitkitToast/BitkitToaster.js.map +1 -1
  43. package/dist/components/BitkitTooltip/BitkitTooltip.js +1 -1
  44. package/dist/components/BitkitTooltip/BitkitTooltip.js.map +1 -1
  45. package/dist/components/common/notificationMaps.d.ts +1 -8
  46. package/dist/components/common/notificationMaps.js.map +1 -1
  47. package/dist/docs/shared.d.ts +1 -1
  48. package/dist/theme/common/AlertAndToast.common.js +1 -1
  49. package/dist/theme/common/AlertAndToast.common.js.map +1 -1
  50. package/dist/theme/global-css.js +1 -1
  51. package/dist/theme/global-css.js.map +1 -1
  52. package/dist/theme/recipes/Badge.recipe.d.ts +5 -39
  53. package/dist/theme/recipes/Badge.recipe.js +20 -77
  54. package/dist/theme/recipes/Badge.recipe.js.map +1 -1
  55. package/dist/theme/recipes/Button.recipe.js +12 -12
  56. package/dist/theme/recipes/Button.recipe.js.map +1 -1
  57. package/dist/theme/recipes/CloseButton.recipe.d.ts +0 -68
  58. package/dist/theme/recipes/CloseButton.recipe.js +17 -56
  59. package/dist/theme/recipes/CloseButton.recipe.js.map +1 -1
  60. package/dist/theme/recipes/ColorButton.recipe.d.ts +0 -93
  61. package/dist/theme/recipes/ColorButton.recipe.js +30 -75
  62. package/dist/theme/recipes/ColorButton.recipe.js.map +1 -1
  63. package/dist/theme/recipes/DefinitionTooltip.recipe.js +2 -2
  64. package/dist/theme/recipes/DefinitionTooltip.recipe.js.map +1 -1
  65. package/dist/theme/recipes/Link.recipe.d.ts +1 -1
  66. package/dist/theme/recipes/Link.recipe.js +1 -1
  67. package/dist/theme/recipes/Link.recipe.js.map +1 -1
  68. package/dist/theme/recipes/Separator.recipe.js +1 -1
  69. package/dist/theme/recipes/Separator.recipe.js.map +1 -1
  70. package/dist/theme/recipes/Skeleton.recipe.js +2 -2
  71. package/dist/theme/recipes/Skeleton.recipe.js.map +1 -1
  72. package/dist/theme/recipes/index.d.ts +6 -201
  73. package/dist/theme/semantic-tokens/index.d.ts +1 -1772
  74. package/dist/theme/semantic-tokens/semanticColors.d.ts +1 -1772
  75. package/dist/theme/semantic-tokens/semanticColors.js +472 -356
  76. package/dist/theme/semantic-tokens/semanticColors.js.map +1 -1
  77. package/dist/theme/slot-recipes/Avatar.recipe.d.ts +0 -56
  78. package/dist/theme/slot-recipes/Avatar.recipe.js +3 -40
  79. package/dist/theme/slot-recipes/Avatar.recipe.js.map +1 -1
  80. package/dist/theme/slot-recipes/Collapsible.recipe.js +1 -1
  81. package/dist/theme/slot-recipes/Collapsible.recipe.js.map +1 -1
  82. package/dist/theme/slot-recipes/Dialog.recipe.js +1 -1
  83. package/dist/theme/slot-recipes/Dialog.recipe.js.map +1 -1
  84. package/dist/theme/slot-recipes/Drawer.recipe.js +2 -2
  85. package/dist/theme/slot-recipes/Drawer.recipe.js.map +1 -1
  86. package/dist/theme/slot-recipes/EmptyState.recipe.d.ts +1 -1
  87. package/dist/theme/slot-recipes/EmptyState.recipe.js +2 -2
  88. package/dist/theme/slot-recipes/EmptyState.recipe.js.map +1 -1
  89. package/dist/theme/slot-recipes/MarkdownCard.recipe.d.ts +3 -3
  90. package/dist/theme/slot-recipes/MarkdownCard.recipe.js +4 -4
  91. package/dist/theme/slot-recipes/MarkdownCard.recipe.js.map +1 -1
  92. package/dist/theme/slot-recipes/NoteCard.recipe.d.ts +2 -2
  93. package/dist/theme/slot-recipes/NoteCard.recipe.js +8 -8
  94. package/dist/theme/slot-recipes/NoteCard.recipe.js.map +1 -1
  95. package/dist/theme/slot-recipes/OverflowContent.recipe.js +1 -1
  96. package/dist/theme/slot-recipes/OverflowContent.recipe.js.map +1 -1
  97. package/dist/theme/slot-recipes/PageFooter.recipe.d.ts +4 -4
  98. package/dist/theme/slot-recipes/PageFooter.recipe.js +5 -5
  99. package/dist/theme/slot-recipes/PageFooter.recipe.js.map +1 -1
  100. package/dist/theme/slot-recipes/Ribbon.recipe.d.ts +1 -39
  101. package/dist/theme/slot-recipes/Ribbon.recipe.js +5 -29
  102. package/dist/theme/slot-recipes/Ribbon.recipe.js.map +1 -1
  103. package/dist/theme/slot-recipes/Tabs.recipe.d.ts +1 -1
  104. package/dist/theme/slot-recipes/Tabs.recipe.js +1 -1
  105. package/dist/theme/slot-recipes/Tabs.recipe.js.map +1 -1
  106. package/dist/theme/slot-recipes/Tag.recipe.d.ts +0 -44
  107. package/dist/theme/slot-recipes/Tag.recipe.js +7 -38
  108. package/dist/theme/slot-recipes/Tag.recipe.js.map +1 -1
  109. package/dist/theme/slot-recipes/TagsInput.recipe.js +5 -5
  110. package/dist/theme/slot-recipes/TagsInput.recipe.js.map +1 -1
  111. package/dist/theme/slot-recipes/Tooltip.recipe.d.ts +2 -2
  112. package/dist/theme/slot-recipes/Tooltip.recipe.js +3 -3
  113. package/dist/theme/slot-recipes/Tooltip.recipe.js.map +1 -1
  114. package/dist/theme/slot-recipes/index.d.ts +14 -152
  115. package/dist/theme/slot-recipes/index.js +1 -1
  116. package/dist/theme/tokens/colors.d.ts +845 -3
  117. package/dist/theme/tokens/colors.js +137 -22
  118. package/dist/theme/tokens/colors.js.map +1 -1
  119. package/dist/theme/tokens/index.d.ts +312 -15
  120. package/dist/theme/tokens/index.js +1 -1
  121. package/package.json +5 -6
  122. package/scripts/postinstall.cjs +0 -8
  123. package/scripts/prune-color-tokens.cjs +0 -78
@@ -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/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"}
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,48 +10,14 @@ declare const recipes: {
10
10
  paddingBlock: "4";
11
11
  };
12
12
  };
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";
45
- };
46
- 'ai-gradient': {
47
- color: "status/ai/text";
48
- background: "ai/background/subtle";
49
- };
50
- };
51
13
  variant: {
52
- subtle: {};
14
+ subtle: {
15
+ color: "colorPalette.strong";
16
+ background: "colorPalette.subtle";
17
+ };
53
18
  bold: {
54
19
  color: "text/on-color";
20
+ background: "colorPalette.bold";
55
21
  };
56
22
  };
57
23
  }>;
@@ -95,74 +61,6 @@ declare const recipes: {
95
61
  w: "40";
96
62
  };
97
63
  };
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
- };
166
64
  }>;
167
65
  controlButton: import('@chakra-ui/react').RecipeDefinition<{
168
66
  isDanger: {
@@ -239,99 +137,6 @@ declare const recipes: {
239
137
  textStyle: "comp/button/lg";
240
138
  };
241
139
  };
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
- };
335
140
  }>;
336
141
  definitionTooltip: import('@chakra-ui/react').RecipeDefinition<{
337
142
  method: {
@@ -374,7 +179,7 @@ declare const recipes: {
374
179
  };
375
180
  }>;
376
181
  link: import('@chakra-ui/react').RecipeDefinition<{
377
- colorVariant: {
182
+ colorScheme: {
378
183
  purple: {
379
184
  color: "text/link";
380
185
  _hover: {