@bitrise/bitkit-v2 0.3.175 → 0.3.176

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 (63) hide show
  1. package/dist/atoms/ImageCropper/ImageCropper.js +32 -0
  2. package/dist/components/BitkitCodeSnippet/BitkitCodeSnippet.d.ts +12 -4
  3. package/dist/components/BitkitCodeSnippet/BitkitCodeSnippet.js +59 -54
  4. package/dist/components/BitkitCollapsible/BitkitCollapsible.d.ts +23 -0
  5. package/dist/components/BitkitCollapsible/BitkitCollapsible.js +37 -0
  6. package/dist/components/BitkitCombobox/BitkitCombobox.d.ts +2 -9
  7. package/dist/components/BitkitCombobox/BitkitCombobox.js +24 -32
  8. package/dist/components/BitkitField/BitkitField.d.ts +3 -1
  9. package/dist/components/BitkitField/BitkitField.js +29 -41
  10. package/dist/components/BitkitFileInput/BitkitFileInput.d.ts +3 -4
  11. package/dist/components/BitkitFileInput/BitkitFileInput.js +112 -0
  12. package/dist/components/BitkitGroupHeading/BitkitGroupHeading.d.ts +8 -0
  13. package/dist/components/BitkitGroupHeading/BitkitGroupHeading.js +27 -0
  14. package/dist/components/BitkitLabel/BitkitLabel.d.ts +12 -0
  15. package/dist/components/BitkitLabel/BitkitLabel.js +58 -0
  16. package/dist/components/BitkitNativeSelect/BitkitNativeSelect.d.ts +2 -9
  17. package/dist/components/BitkitNativeSelect/BitkitNativeSelect.js +14 -22
  18. package/dist/components/BitkitNumberInput/BitkitNumberInput.d.ts +1 -8
  19. package/dist/components/BitkitNumberInput/BitkitNumberInput.js +15 -23
  20. package/dist/components/BitkitPaginationLoadMore/BitkitPaginationLoadMore.d.ts +11 -0
  21. package/dist/components/BitkitPaginationLoadMore/BitkitPaginationLoadMore.js +41 -0
  22. package/dist/components/BitkitSectionHeading/BitkitSectionHeading.d.ts +12 -0
  23. package/dist/components/BitkitSectionHeading/BitkitSectionHeading.js +48 -0
  24. package/dist/components/BitkitSelect/BitkitSelect.d.ts +1 -8
  25. package/dist/components/BitkitSelect/BitkitSelect.js +22 -30
  26. package/dist/components/BitkitSelectableTag/BitkitSelectableTag.d.ts +17 -0
  27. package/dist/components/BitkitSelectableTag/BitkitSelectableTag.js +38 -0
  28. package/dist/components/BitkitTagsInput/BitkitTagsInput.d.ts +1 -8
  29. package/dist/components/BitkitTagsInput/BitkitTagsInput.js +24 -32
  30. package/dist/components/BitkitTextInput/BitkitTextInput.d.ts +1 -8
  31. package/dist/components/BitkitTextInput/BitkitTextInput.js +14 -22
  32. package/dist/components/BitkitToggle/components/BitkitToggleLabel.js +4 -4
  33. package/dist/components/index.d.ts +7 -0
  34. package/dist/main.js +44 -37
  35. package/dist/theme/recipes/Button.recipe.js +42 -42
  36. package/dist/theme/recipes/ControlButton.recipe.d.ts +16 -16
  37. package/dist/theme/recipes/ControlButton.recipe.js +16 -16
  38. package/dist/theme/recipes/SelectableTag.recipe.d.ts +2 -0
  39. package/dist/theme/recipes/SelectableTag.recipe.js +53 -0
  40. package/dist/theme/recipes/index.d.ts +17 -16
  41. package/dist/theme/recipes/index.js +14 -12
  42. package/dist/theme/semantic-tokens/semanticColors.js +20 -0
  43. package/dist/theme/slot-recipes/CodeSnippet.recipe.d.ts +4 -8
  44. package/dist/theme/slot-recipes/CodeSnippet.recipe.js +16 -5
  45. package/dist/theme/slot-recipes/Collapsible.recipe.d.ts +2 -0
  46. package/dist/theme/slot-recipes/Collapsible.recipe.js +56 -0
  47. package/dist/theme/slot-recipes/ExpandableCard.recipe.d.ts +1 -1
  48. package/dist/theme/slot-recipes/Field.recipe.js +2 -2
  49. package/dist/theme/slot-recipes/FileUpload.recipe.d.ts +1 -1
  50. package/dist/theme/slot-recipes/GroupHeading.recipe.d.ts +2 -0
  51. package/dist/theme/slot-recipes/GroupHeading.recipe.js +41 -0
  52. package/dist/theme/slot-recipes/InlineLoading.recipe.d.ts +3 -3
  53. package/dist/theme/slot-recipes/InlineLoading.recipe.js +3 -3
  54. package/dist/theme/slot-recipes/PaginationLoadMore.recipe.d.ts +41 -0
  55. package/dist/theme/slot-recipes/PaginationLoadMore.recipe.js +59 -0
  56. package/dist/theme/slot-recipes/SectionHeading.recipe.d.ts +2 -0
  57. package/dist/theme/slot-recipes/SectionHeading.recipe.js +52 -0
  58. package/dist/theme/slot-recipes/TagsInput.recipe.d.ts +1 -1
  59. package/dist/theme/slot-recipes/Tooltip.recipe.js +4 -1
  60. package/dist/theme/slot-recipes/index.d.ts +53 -14
  61. package/dist/theme/slot-recipes/index.js +60 -52
  62. package/dist/theme/tokens/sizesAndSpacing.js +3 -4
  63. package/package.json +5 -5
@@ -7,33 +7,37 @@ import a from "./Breadcrumb.recipe.js";
7
7
  import o from "./Card.recipe.js";
8
8
  import s from "./Checkbox.recipe.js";
9
9
  import c from "./CodeSnippet.recipe.js";
10
- import l from "./Combobox.recipe.js";
11
- import u from "./DatePicker.recipe.js";
12
- import { selectSlotRecipe as d } from "./Select.recipe.js";
13
- import f from "./DatePickerSelect.recipe.js";
14
- import p from "./Dialog.recipe.js";
15
- import m from "./EmptyState.recipe.js";
16
- import h from "./ExpandableCard.recipe.js";
17
- import g from "./Field.recipe.js";
18
- import _ from "./Fieldset.recipe.js";
19
- import v from "./FileUpload.recipe.js";
20
- import y from "./ImageCropper.recipe.js";
21
- import b from "./InlineLoading.recipe.js";
22
- import x from "./List.recipe.js";
23
- import S from "./Menu.recipe.js";
24
- import C from "./NativeSelect.recipe.js";
25
- import w from "./RadioGroup.recipe.js";
26
- import T from "./Ribbon.recipe.js";
27
- import E from "./SegmentGroup.recipe.js";
28
- import D from "./SplitButton.recipe.js";
29
- import O from "./Switch.recipe.js";
30
- import k from "./Table.recipe.js";
31
- import A from "./Tabs.recipe.js";
32
- import j from "./Tag.recipe.js";
33
- import M from "./TagsInput.recipe.js";
34
- import N from "./Tooltip.recipe.js";
10
+ import l from "./Collapsible.recipe.js";
11
+ import u from "./Combobox.recipe.js";
12
+ import d from "./DatePicker.recipe.js";
13
+ import { selectSlotRecipe as f } from "./Select.recipe.js";
14
+ import p from "./DatePickerSelect.recipe.js";
15
+ import m from "./Dialog.recipe.js";
16
+ import h from "./EmptyState.recipe.js";
17
+ import g from "./ExpandableCard.recipe.js";
18
+ import _ from "./Field.recipe.js";
19
+ import v from "./Fieldset.recipe.js";
20
+ import y from "./FileUpload.recipe.js";
21
+ import b from "./GroupHeading.recipe.js";
22
+ import x from "./ImageCropper.recipe.js";
23
+ import S from "./InlineLoading.recipe.js";
24
+ import C from "./List.recipe.js";
25
+ import w from "./Menu.recipe.js";
26
+ import T from "./NativeSelect.recipe.js";
27
+ import E from "./PaginationLoadMore.recipe.js";
28
+ import D from "./RadioGroup.recipe.js";
29
+ import O from "./Ribbon.recipe.js";
30
+ import k from "./SectionHeading.recipe.js";
31
+ import A from "./SegmentGroup.recipe.js";
32
+ import j from "./SplitButton.recipe.js";
33
+ import M from "./Switch.recipe.js";
34
+ import N from "./Table.recipe.js";
35
+ import P from "./Tabs.recipe.js";
36
+ import F from "./Tag.recipe.js";
37
+ import I from "./TagsInput.recipe.js";
38
+ import L from "./Tooltip.recipe.js";
35
39
  //#region lib/theme/slot-recipes/index.ts
36
- var P = {
40
+ var R = {
37
41
  accordion: t,
38
42
  actionBar: n,
39
43
  alert: r,
@@ -42,32 +46,36 @@ var P = {
42
46
  card: o,
43
47
  checkbox: s,
44
48
  codeSnippet: c,
45
- combobox: l,
46
- datePicker: u,
47
- datePickerSelect: f,
48
- dialog: p,
49
- emptyState: m,
50
- expandableCard: h,
51
- field: g,
52
- fieldset: _,
53
- fileUpload: v,
54
- imageCropper: y,
55
- inlineLoading: b,
56
- list: x,
57
- menu: S,
58
- nativeSelect: C,
49
+ collapsible: l,
50
+ combobox: u,
51
+ datePicker: d,
52
+ datePickerSelect: p,
53
+ dialog: m,
54
+ emptyState: h,
55
+ expandableCard: g,
56
+ field: _,
57
+ groupHeading: b,
58
+ fieldset: v,
59
+ fileUpload: y,
60
+ imageCropper: x,
61
+ inlineLoading: S,
62
+ list: C,
63
+ menu: w,
64
+ nativeSelect: T,
59
65
  numberInput: e,
60
- radioGroup: w,
61
- ribbon: T,
62
- segmentGroup: E,
63
- select: d,
64
- splitButton: D,
65
- switch: O,
66
- table: k,
67
- tabs: A,
68
- tag: j,
69
- tagsInput: M,
70
- tooltip: N
66
+ paginationLoadMore: E,
67
+ radioGroup: D,
68
+ ribbon: O,
69
+ sectionHeading: k,
70
+ segmentGroup: A,
71
+ select: f,
72
+ splitButton: j,
73
+ switch: M,
74
+ table: N,
75
+ tabs: P,
76
+ tag: F,
77
+ tagsInput: I,
78
+ tooltip: L
71
79
  };
72
80
  //#endregion
73
- export { P as default };
81
+ export { R as default };
@@ -1,5 +1,4 @@
1
- //#region lib/theme/tokens/sizesAndSpacing.json
2
- var e = { value: "100%" }, t = {
1
+ var e = {
3
2
  1: { value: "0.0625rem" },
4
3
  2: { value: "0.125rem" },
5
4
  4: { value: "0.25rem" },
@@ -15,7 +14,7 @@ var e = { value: "100%" }, t = {
15
14
  64: { value: "4rem" },
16
15
  96: { value: "6rem" },
17
16
  128: { value: "8rem" },
18
- full: e
17
+ full: { value: "100%" }
19
18
  };
20
19
  //#endregion
21
- export { t as default };
20
+ export { e as default };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit-v2",
3
3
  "private": false,
4
- "version": "0.3.175",
4
+ "version": "0.3.176",
5
5
  "description": "Bitrise Design System Components built with Chakra UI V3",
6
6
  "keywords": [
7
7
  "react",
@@ -61,10 +61,10 @@
61
61
  "@figma-export/transform-svg-with-svgo": "^6.4.0",
62
62
  "@google-cloud/storage": "^7.19.0",
63
63
  "@storybook/addon-docs": "10.3.4",
64
- "@storybook/addon-mcp": "^0.4.2",
64
+ "@storybook/addon-mcp": "^0.5.0",
65
65
  "@storybook/react-vite": "10.3.4",
66
66
  "@svgr/plugin-jsx": "^8.1.0",
67
- "@types/node": "^25.5.0",
67
+ "@types/node": "^25.5.2",
68
68
  "@types/react": "^19.2.14",
69
69
  "@types/react-dom": "^19.2.3",
70
70
  "@vitejs/plugin-react": "^6.0.1",
@@ -76,9 +76,9 @@
76
76
  "storybook": "10.3.4",
77
77
  "tsx": "^4.21.0",
78
78
  "typescript": "^6.0.2",
79
- "vite": "^8.0.3",
79
+ "vite": "^8.0.6",
80
80
  "vite-plugin-dts": "^4.5.4",
81
- "vite-plugin-svgr": "^5.0.0"
81
+ "vite-plugin-svgr": "^5.2.0"
82
82
  },
83
83
  "dependencies": {
84
84
  "@chakra-ui/react": "^3.34.0",