@bitrise/bitkit-v2 0.3.251 → 0.3.252-beta.1703

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