@bitrise/bitkit-v2 0.3.532 → 0.3.534

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 (50) hide show
  1. package/dist/components/BitkitCombobox/BitkitCombobox.d.ts +4 -4
  2. package/dist/components/BitkitCombobox/BitkitCombobox.js.map +1 -1
  3. package/dist/components/BitkitMultiselect/BitkitMultiselect.d.ts +5 -4
  4. package/dist/components/BitkitMultiselect/BitkitMultiselect.js.map +1 -1
  5. package/dist/components/BitkitMultiselectMenu/BitkitMultiselectMenu.d.ts +3 -3
  6. package/dist/components/BitkitMultiselectMenu/BitkitMultiselectMenu.js.map +1 -1
  7. package/dist/components/BitkitSelect/BitkitSelect.d.ts +4 -4
  8. package/dist/components/BitkitSelect/BitkitSelect.js.map +1 -1
  9. package/dist/components/BitkitSelectMenu/BitkitSelectMenu.d.ts +3 -3
  10. package/dist/components/BitkitSelectMenu/BitkitSelectMenu.js.map +1 -1
  11. package/dist/components/BitkitSelectMenu/BitkitSelectMenuAction.d.ts +5 -2
  12. package/dist/components/BitkitSelectMenu/BitkitSelectMenuAction.js +21 -9
  13. package/dist/components/BitkitSelectMenu/BitkitSelectMenuAction.js.map +1 -1
  14. package/dist/components/BitkitSelectMenu/SelectMenuShell.d.ts +2 -2
  15. package/dist/components/BitkitSelectMenu/SelectMenuShell.js +7 -3
  16. package/dist/components/BitkitSelectMenu/SelectMenuShell.js.map +1 -1
  17. package/dist/components/BitkitUISideNav/BitkitUISideNav.d.ts +1 -1
  18. package/dist/components/BitkitUISideNav/UISideNavWorkspaceSelector.d.ts +5 -5
  19. package/dist/components/BitkitUISideNav/UISideNavWorkspaceSelector.js.map +1 -1
  20. package/dist/components/index.d.ts +1 -1
  21. package/dist/icons/IconGraph.d.ts +8 -0
  22. package/dist/icons/IconGraph.js +30 -0
  23. package/dist/icons/IconGraph.js.map +1 -0
  24. package/dist/icons/IconRename.d.ts +8 -0
  25. package/dist/icons/IconRename.js +30 -0
  26. package/dist/icons/IconRename.js.map +1 -0
  27. package/dist/icons/IconTimeline.d.ts +8 -0
  28. package/dist/icons/IconTimeline.js +30 -0
  29. package/dist/icons/IconTimeline.js.map +1 -0
  30. package/dist/icons/index.d.ts +3 -0
  31. package/dist/main.js +4 -1
  32. package/dist/svgs/16x16/icon-graph-16.js +22 -0
  33. package/dist/svgs/16x16/icon-graph-16.js.map +1 -0
  34. package/dist/svgs/16x16/icon-rename-16.js +24 -0
  35. package/dist/svgs/16x16/icon-rename-16.js.map +1 -0
  36. package/dist/svgs/16x16/icon-timeline-16.js +22 -0
  37. package/dist/svgs/16x16/icon-timeline-16.js.map +1 -0
  38. package/dist/svgs/24x24/icon-dot-24.js +1 -2
  39. package/dist/svgs/24x24/icon-dot-24.js.map +1 -1
  40. package/dist/svgs/24x24/icon-graph-24.js +22 -0
  41. package/dist/svgs/24x24/icon-graph-24.js.map +1 -0
  42. package/dist/svgs/24x24/icon-rename-24.js +24 -0
  43. package/dist/svgs/24x24/icon-rename-24.js.map +1 -0
  44. package/dist/svgs/24x24/icon-timeline-24.js +22 -0
  45. package/dist/svgs/24x24/icon-timeline-24.js.map +1 -0
  46. package/dist/theme/slot-recipes/Select.recipe.d.ts +1 -1
  47. package/dist/theme/slot-recipes/Select.recipe.js +1 -0
  48. package/dist/theme/slot-recipes/Select.recipe.js.map +1 -1
  49. package/dist/theme/slot-recipes/index.d.ts +1 -1
  50. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"icon-dot-24.js","names":[],"sources":["../../../lib/svgs/24x24/icon-dot-24.svg?react"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SvgIconDot24 = (props, ref) => /* @__PURE__ */ _jsx(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\twidth: 24,\n\theight: 24,\n\tfill: \"none\",\n\tviewBox: \"0 0 24 24\",\n\tref,\n\t...props,\n\tchildren: /* @__PURE__ */ _jsx(\"circle\", {\n\t\tcx: 12,\n\t\tcy: 12,\n\t\tr: 2,\n\t\tfill: \"currentColor\",\n\t\ttransform: \"rotate(90 12 12)\"\n\t})\n});\nconst ForwardRef = forwardRef(SvgIconDot24);\nexport default ForwardRef;\n"],"mappings":";;;AAGA,IAAM,gBAAgB,OAAO,QAAwB,oBAAK,OAAO;CAChE,OAAO;CACP,OAAO;CACP,QAAQ;CACR,MAAM;CACN,SAAS;CACT;CACA,GAAG;CACH,UAA0B,oBAAK,UAAU;EACxC,IAAI;EACJ,IAAI;EACJ,GAAG;EACH,MAAM;EACN,WAAW;CACZ,CAAC;AACF,CAAC;AACD,IAAM,aAAa,WAAW,YAAY"}
1
+ {"version":3,"file":"icon-dot-24.js","names":[],"sources":["../../../lib/svgs/24x24/icon-dot-24.svg?react"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SvgIconDot24 = (props, ref) => /* @__PURE__ */ _jsx(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\twidth: 24,\n\theight: 24,\n\tfill: \"none\",\n\tviewBox: \"0 0 24 24\",\n\tref,\n\t...props,\n\tchildren: /* @__PURE__ */ _jsx(\"circle\", {\n\t\tcx: 12,\n\t\tcy: 12,\n\t\tr: 2,\n\t\tfill: \"currentColor\"\n\t})\n});\nconst ForwardRef = forwardRef(SvgIconDot24);\nexport default ForwardRef;\n"],"mappings":";;;AAGA,IAAM,gBAAgB,OAAO,QAAwB,oBAAK,OAAO;CAChE,OAAO;CACP,OAAO;CACP,QAAQ;CACR,MAAM;CACN,SAAS;CACT;CACA,GAAG;CACH,UAA0B,oBAAK,UAAU;EACxC,IAAI;EACJ,IAAI;EACJ,GAAG;EACH,MAAM;CACP,CAAC;AACF,CAAC;AACD,IAAM,aAAa,WAAW,YAAY"}
@@ -0,0 +1,22 @@
1
+ import { forwardRef } from "react";
2
+ import { jsx } from "react/jsx-runtime";
3
+ // lib/svgs/24x24/icon-graph-24.svg?react
4
+ var SvgIconGraph24 = (props, ref) => /* @__PURE__ */ jsx("svg", {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ width: 24,
7
+ height: 24,
8
+ fill: "none",
9
+ viewBox: "0 0 24 24",
10
+ ref,
11
+ ...props,
12
+ children: /* @__PURE__ */ jsx("path", {
13
+ fill: "currentColor",
14
+ fillRule: "evenodd",
15
+ d: "M20 2a2 2 0 0 1 2 2v4l-.01.204a2 2 0 0 1-1.786 1.785L20 10h-2l-.204-.01A2 2 0 0 1 16 8V7h-3v10h3v-1a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v4l-.01.204a2 2 0 0 1-1.786 1.785L20 22h-2l-.204-.01A2 2 0 0 1 16 20v-1h-3a2 2 0 0 1-2-2v-4H8v1l-.01.204a2 2 0 0 1-1.786 1.785L6 16H4l-.204-.01A2 2 0 0 1 2 14v-4a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v1h3V7a2 2 0 0 1 2-2h3V4a2 2 0 0 1 2-2zm-2 18h2v-4h-2zM4 14h2v-4H4zm14-6h2V4h-2z",
16
+ clipRule: "evenodd"
17
+ })
18
+ });
19
+ var ForwardRef = forwardRef(SvgIconGraph24);
20
+ export { ForwardRef as default };
21
+
22
+ //# sourceMappingURL=icon-graph-24.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-graph-24.js","names":[],"sources":["../../../lib/svgs/24x24/icon-graph-24.svg?react"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SvgIconGraph24 = (props, ref) => /* @__PURE__ */ _jsx(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\twidth: 24,\n\theight: 24,\n\tfill: \"none\",\n\tviewBox: \"0 0 24 24\",\n\tref,\n\t...props,\n\tchildren: /* @__PURE__ */ _jsx(\"path\", {\n\t\tfill: \"currentColor\",\n\t\tfillRule: \"evenodd\",\n\t\td: \"M20 2a2 2 0 0 1 2 2v4l-.01.204a2 2 0 0 1-1.786 1.785L20 10h-2l-.204-.01A2 2 0 0 1 16 8V7h-3v10h3v-1a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v4l-.01.204a2 2 0 0 1-1.786 1.785L20 22h-2l-.204-.01A2 2 0 0 1 16 20v-1h-3a2 2 0 0 1-2-2v-4H8v1l-.01.204a2 2 0 0 1-1.786 1.785L6 16H4l-.204-.01A2 2 0 0 1 2 14v-4a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v1h3V7a2 2 0 0 1 2-2h3V4a2 2 0 0 1 2-2zm-2 18h2v-4h-2zM4 14h2v-4H4zm14-6h2V4h-2z\",\n\t\tclipRule: \"evenodd\"\n\t})\n});\nconst ForwardRef = forwardRef(SvgIconGraph24);\nexport default ForwardRef;\n"],"mappings":";;;AAGA,IAAM,kBAAkB,OAAO,QAAwB,oBAAK,OAAO;CAClE,OAAO;CACP,OAAO;CACP,QAAQ;CACR,MAAM;CACN,SAAS;CACT;CACA,GAAG;CACH,UAA0B,oBAAK,QAAQ;EACtC,MAAM;EACN,UAAU;EACV,GAAG;EACH,UAAU;CACX,CAAC;AACF,CAAC;AACD,IAAM,aAAa,WAAW,cAAc"}
@@ -0,0 +1,24 @@
1
+ import { forwardRef } from "react";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ // lib/svgs/24x24/icon-rename-24.svg?react
4
+ var SvgIconRename24 = (props, ref) => /* @__PURE__ */ jsx("svg", {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ width: 24,
7
+ height: 24,
8
+ fill: "none",
9
+ viewBox: "0 0 24 24",
10
+ ref,
11
+ ...props,
12
+ children: /* @__PURE__ */ jsxs("g", {
13
+ fill: "currentColor",
14
+ children: [
15
+ /* @__PURE__ */ jsx("path", { d: "M13 3c.77 0 1.469.292 2 .768A3 3 0 0 1 17 3h2v2h-2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h2v2h-2c-.77 0-1.469-.292-2-.769A2.99 2.99 0 0 1 13 21h-2v-2h2a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2V3z" }),
16
+ /* @__PURE__ */ jsx("path", { d: "M12 9H4v6h8v2H3a1 1 0 0 1-.995-.898L2 16V8a1 1 0 0 1 1-1h9zM21.103 7.005A1 1 0 0 1 22 8v8l-.005.102a1 1 0 0 1-.893.893L21 17h-3v-2h2V9h-2V7h3z" }),
17
+ /* @__PURE__ */ jsx("path", { d: "M12 13H6v-2h6z" })
18
+ ]
19
+ })
20
+ });
21
+ var ForwardRef = forwardRef(SvgIconRename24);
22
+ export { ForwardRef as default };
23
+
24
+ //# sourceMappingURL=icon-rename-24.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-rename-24.js","names":[],"sources":["../../../lib/svgs/24x24/icon-rename-24.svg?react"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgIconRename24 = (props, ref) => /* @__PURE__ */ _jsx(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\twidth: 24,\n\theight: 24,\n\tfill: \"none\",\n\tviewBox: \"0 0 24 24\",\n\tref,\n\t...props,\n\tchildren: /* @__PURE__ */ _jsxs(\"g\", {\n\t\tfill: \"currentColor\",\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ _jsx(\"path\", { d: \"M13 3c.77 0 1.469.292 2 .768A3 3 0 0 1 17 3h2v2h-2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h2v2h-2c-.77 0-1.469-.292-2-.769A2.99 2.99 0 0 1 13 21h-2v-2h2a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2V3z\" }),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", { d: \"M12 9H4v6h8v2H3a1 1 0 0 1-.995-.898L2 16V8a1 1 0 0 1 1-1h9zM21.103 7.005A1 1 0 0 1 22 8v8l-.005.102a1 1 0 0 1-.893.893L21 17h-3v-2h2V9h-2V7h3z\" }),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", { d: \"M12 13H6v-2h6z\" })\n\t\t]\n\t})\n});\nconst ForwardRef = forwardRef(SvgIconRename24);\nexport default ForwardRef;\n"],"mappings":";;;AAGA,IAAM,mBAAmB,OAAO,QAAwB,oBAAK,OAAO;CACnE,OAAO;CACP,OAAO;CACP,QAAQ;CACR,MAAM;CACN,SAAS;CACT;CACA,GAAG;CACH,UAA0B,qBAAM,KAAK;EACpC,MAAM;EACN,UAAU;GACO,oBAAK,QAAQ,EAAE,GAAG,sLAAsL,CAAC;GACzM,oBAAK,QAAQ,EAAE,GAAG,iJAAiJ,CAAC;GACpK,oBAAK,QAAQ,EAAE,GAAG,iBAAiB,CAAC;EACrD;CACD,CAAC;AACF,CAAC;AACD,IAAM,aAAa,WAAW,eAAe"}
@@ -0,0 +1,22 @@
1
+ import { forwardRef } from "react";
2
+ import { jsx } from "react/jsx-runtime";
3
+ // lib/svgs/24x24/icon-timeline-24.svg?react
4
+ var SvgIconTimeline24 = (props, ref) => /* @__PURE__ */ jsx("svg", {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ width: 24,
7
+ height: 24,
8
+ fill: "none",
9
+ viewBox: "0 0 24 24",
10
+ ref,
11
+ ...props,
12
+ children: /* @__PURE__ */ jsx("g", {
13
+ fill: "currentColor",
14
+ fillRule: "evenodd",
15
+ clipRule: "evenodd",
16
+ children: /* @__PURE__ */ jsx("path", { d: "M20 16a2 2 0 0 1 2 2v2a2 2 0 0 1-1.796 1.99L20 22h-6l-.204-.01a2 2 0 0 1-1.785-1.786L12 20v-2a2 2 0 0 1 2-2zm-6 4h6v-2h-6zM16.204 9.01A2 2 0 0 1 18 11v2a2 2 0 0 1-1.796 1.99L16 15H8a2 2 0 0 1-1.99-1.796L6 13v-2a2 2 0 0 1 2-2h8zM8 13h8v-2H8zM20.204 2.01A2 2 0 0 1 22 4v2a2 2 0 0 1-1.796 1.99L20 8H4a2 2 0 0 1-1.99-1.796L2 6V4a2 2 0 0 1 2-2h16zM4 6h16V4H4z" })
17
+ })
18
+ });
19
+ var ForwardRef = forwardRef(SvgIconTimeline24);
20
+ export { ForwardRef as default };
21
+
22
+ //# sourceMappingURL=icon-timeline-24.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-timeline-24.js","names":[],"sources":["../../../lib/svgs/24x24/icon-timeline-24.svg?react"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SvgIconTimeline24 = (props, ref) => /* @__PURE__ */ _jsx(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\twidth: 24,\n\theight: 24,\n\tfill: \"none\",\n\tviewBox: \"0 0 24 24\",\n\tref,\n\t...props,\n\tchildren: /* @__PURE__ */ _jsx(\"g\", {\n\t\tfill: \"currentColor\",\n\t\tfillRule: \"evenodd\",\n\t\tclipRule: \"evenodd\",\n\t\tchildren: /* @__PURE__ */ _jsx(\"path\", { d: \"M20 16a2 2 0 0 1 2 2v2a2 2 0 0 1-1.796 1.99L20 22h-6l-.204-.01a2 2 0 0 1-1.785-1.786L12 20v-2a2 2 0 0 1 2-2zm-6 4h6v-2h-6zM16.204 9.01A2 2 0 0 1 18 11v2a2 2 0 0 1-1.796 1.99L16 15H8a2 2 0 0 1-1.99-1.796L6 13v-2a2 2 0 0 1 2-2h8zM8 13h8v-2H8zM20.204 2.01A2 2 0 0 1 22 4v2a2 2 0 0 1-1.796 1.99L20 8H4a2 2 0 0 1-1.99-1.796L2 6V4a2 2 0 0 1 2-2h16zM4 6h16V4H4z\" })\n\t})\n});\nconst ForwardRef = forwardRef(SvgIconTimeline24);\nexport default ForwardRef;\n"],"mappings":";;;AAGA,IAAM,qBAAqB,OAAO,QAAwB,oBAAK,OAAO;CACrE,OAAO;CACP,OAAO;CACP,QAAQ;CACR,MAAM;CACN,SAAS;CACT;CACA,GAAG;CACH,UAA0B,oBAAK,KAAK;EACnC,MAAM;EACN,UAAU;EACV,UAAU;EACV,UAA0B,oBAAK,QAAQ,EAAE,GAAG,qWAAqW,CAAC;CACnZ,CAAC;AACF,CAAC;AACD,IAAM,aAAa,WAAW,iBAAiB"}
@@ -1,4 +1,4 @@
1
- export declare const selectSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "label" | "checkbox" | "list" | "avatar" | "emptyState" | "root" | "item" | "itemContent" | "itemIndicator" | "trigger" | "positioner" | "indicator" | "itemGroup" | "itemGroupLabel" | "itemText" | "valueText" | "action" | "clearTrigger" | "control" | "actionContainer" | "errorLabel" | "searchInputGroup" | "searchInput" | "searchClear" | "errorState" | "itemList" | "errorIcon" | "errorTextBlock" | "itemHelperText" | "itemLoading" | "itemLoadingLabel" | "itemLabel" | "indicatorGroup" | "checkmark" | "itemBadge" | "itemIcon" | "valueIcon", {
1
+ export declare const selectSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "label" | "checkbox" | "list" | "avatar" | "emptyState" | "root" | "item" | "itemContent" | "itemIndicator" | "trigger" | "positioner" | "indicator" | "itemGroup" | "itemGroupLabel" | "itemText" | "valueText" | "action" | "clearTrigger" | "control" | "errorLabel" | "searchInputGroup" | "searchInput" | "searchClear" | "errorState" | "itemList" | "actionContainer" | "errorIcon" | "errorTextBlock" | "itemHelperText" | "itemLoading" | "itemLoadingLabel" | "itemLabel" | "indicatorGroup" | "checkmark" | "itemBadge" | "itemIcon" | "valueIcon", {
2
2
  hasStatusIcon: {
3
3
  true: {
4
4
  trigger: {
@@ -283,6 +283,7 @@ var selectSlotRecipe = defineSlotRecipe({
283
283
  cursor: "pointer",
284
284
  textAlign: "start",
285
285
  _icon: { color: "icon/secondary" },
286
+ "&[data-color-variant=ai]:not([data-disabled])": { _icon: { color: "status/ai/icon" } },
286
287
  _hover: {
287
288
  background: "button/secondary/bg-hover",
288
289
  _active: { background: "button/secondary/bg-active" }
@@ -1 +1 @@
1
- {"version":3,"file":"Select.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/Select.recipe.ts"],"sourcesContent":["import { selectAnatomy } from '@chakra-ui/react/anatomy';\nimport { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nimport { base, variants } from '../common/ComboboxAndSelect.common';\nimport { rem } from '../themeUtils';\n\nexport const selectSlotRecipe = defineSlotRecipe({\n className: 'select',\n slots: [\n ...selectAnatomy.keys(),\n 'searchInputGroup',\n 'searchInput',\n 'searchClear',\n 'actionContainer',\n 'action',\n 'checkbox',\n 'checkmark',\n 'itemList',\n 'itemContent',\n 'itemBadge',\n 'itemIcon',\n 'valueIcon',\n 'avatar',\n 'itemLabel',\n 'itemHelperText',\n 'itemLoading',\n 'itemLoadingLabel',\n 'emptyState',\n 'errorState',\n 'errorIcon',\n 'errorTextBlock',\n 'errorLabel',\n ],\n base: {\n trigger: {\n display: 'flex',\n alignItems: 'center',\n borderWidth: '1',\n borderColor: 'border/strong',\n background: 'background/primary',\n color: 'input/text/inputValue',\n gap: '8',\n justifyContent: 'space-between',\n // 15px + the 1px border = the spec's 16px, measured from the trigger's outer edge.\n // The indicator group below is offset the same way on the end side.\n paddingInlineStart: rem(15),\n paddingInlineEnd: '48',\n paddingBlock: rem(11),\n borderRadius: '4',\n cursor: 'pointer',\n userSelect: 'none',\n textAlign: 'start',\n focusVisibleRing: 'inside',\n width: '100%',\n _open: {\n borderColor: 'border/focus',\n },\n _placeholderShown: {\n color: 'text/secondary',\n },\n _disabled: {\n color: 'text/disabled',\n background: 'background/disabled',\n cursor: 'not-allowed',\n },\n _invalid: {\n borderColor: 'border/error',\n },\n _readOnly: {\n background: 'background/disabled',\n cursor: 'default',\n },\n },\n indicatorGroup: {\n display: 'flex',\n alignItems: 'center',\n gap: '8',\n position: 'absolute',\n insetEnd: 0,\n top: 0,\n bottom: 0,\n paddingInlineStart: '16',\n paddingInlineEnd: rem(15),\n pointerEvents: 'none',\n },\n indicator: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n color: 'icon/secondary',\n _disabled: {\n color: 'icon/disabled',\n },\n _readOnly: {\n color: 'icon/on-disabled',\n },\n },\n ...base,\n content: {\n ...base.content,\n overflow: 'hidden',\n display: 'flex',\n flexDirection: 'column',\n // Zag's popper sets `--reference-width` (the trigger width) on the positioner, so the\n // menu is never narrower than the Select input — but can grow wider for long items.\n minWidth: 'var(--reference-width)',\n maxWidth: rem(800),\n focusVisibleRing: 'none',\n },\n item: {\n ...base.item,\n _active: {\n background: 'background/active',\n },\n _selected: {\n background: 'background/selected',\n _highlighted: {\n background: 'background/selected-hover',\n },\n },\n _disabled: {\n cursor: 'not-allowed',\n color: 'text/disabled',\n _highlighted: {\n background: 'transparent',\n },\n },\n },\n control: {\n position: 'relative',\n width: '100%',\n },\n valueText: {\n display: 'flex',\n alignItems: 'center',\n gap: '8',\n flex: '1 1 0',\n minWidth: 0,\n overflow: 'hidden',\n },\n itemList: {\n flex: '1 1 auto',\n maxHeight: 'var(--select-menu-list-max-height)',\n minHeight: 0,\n overflowY: 'auto',\n paddingBlock: '8',\n },\n itemContent: {\n display: 'flex',\n flexDirection: 'column',\n flex: '1 0 0',\n minWidth: 0,\n },\n itemBadge: {\n display: 'inline-flex',\n flexShrink: 0,\n },\n itemLoading: {\n flexShrink: 0,\n },\n itemLoadingLabel: {\n color: 'text/secondary',\n flex: '1 0 0',\n minWidth: 0,\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n },\n emptyState: {\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'flex-start',\n paddingInline: '16',\n },\n errorState: {\n display: 'flex',\n alignItems: 'flex-start',\n gap: '12',\n paddingInlineStart: '16',\n paddingInlineEnd: '24',\n },\n errorIcon: {\n color: 'icon/negative',\n flexShrink: 0,\n },\n errorTextBlock: {\n display: 'flex',\n flexDirection: 'column',\n flex: 1,\n minWidth: 0,\n },\n errorLabel: {\n color: 'text/body',\n maxWidth: '100%',\n minWidth: 0,\n truncate: true,\n },\n itemIcon: {\n color: 'icon/secondary',\n '[data-state=\"checked\"] &': {\n color: 'icon/interactive',\n },\n },\n // The selected value's icon in the trigger. Mirrors the `indicator` (chevron) state colors —\n // the trigger exposes `data-disabled` / `data-readonly`, so the icon reacts via ancestors.\n valueIcon: {\n color: 'icon/secondary',\n '[data-disabled] &': { color: 'icon/disabled' },\n '[data-readonly] &': { color: 'icon/on-disabled' },\n },\n avatar: {\n flexShrink: 0,\n '[data-disabled] &': { opacity: 0.5 },\n },\n itemLabel: {\n color: 'text/body',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n maxWidth: '100%',\n minWidth: 0,\n '[data-disabled] &': {\n color: 'text/disabled',\n },\n },\n itemHelperText: {\n color: 'text/helper',\n textStyle: 'body/sm/regular',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n maxWidth: '100%',\n minWidth: 0,\n '[data-disabled] &': {\n color: 'text/disabled',\n },\n },\n checkbox: {\n position: 'relative',\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n flexShrink: 0,\n borderWidth: '1',\n borderColor: 'border/regular',\n borderRadius: '4',\n background: 'background/primary',\n boxShadow: 'inset/field',\n color: 'icon/on-color',\n '[data-state=checked] &': {\n background: 'input/checkbox/selection',\n borderColor: 'input/checkbox/selection',\n boxShadow: 'none',\n },\n '[data-disabled] &': {\n background: 'background/disabled',\n borderColor: 'border/disabled',\n },\n },\n checkmark: {\n opacity: 0,\n color: 'icon/on-color',\n '[data-state=checked] &': {\n opacity: 1,\n },\n },\n searchInputGroup: {\n borderBottom: '1px solid',\n borderColor: 'border/minimal',\n background: 'background/primary',\n display: 'flex',\n alignItems: 'center',\n gap: '12',\n paddingInlineStart: '16',\n paddingInlineEnd: '12',\n overflow: 'hidden',\n flexShrink: 0,\n _hover: {\n background: 'background/secondary',\n },\n _focusWithin: {\n background: 'background/primary',\n },\n },\n searchInput: {\n flex: '1 0 0',\n minWidth: 0,\n border: 'none',\n outline: 'none',\n background: 'transparent',\n color: 'input/text/inputValue',\n paddingInline: 0,\n paddingBlock: 0,\n _placeholder: {\n color: 'input/text/placeholder',\n },\n },\n searchClear: {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: '4',\n color: 'icon/primary',\n cursor: 'pointer',\n flexShrink: 0,\n _hover: {\n background: 'background/hover',\n },\n },\n actionContainer: {\n borderTop: '1px solid',\n borderColor: 'border/minimal',\n paddingBlock: '8',\n flexShrink: 0,\n },\n action: {\n display: 'flex',\n alignItems: 'center',\n gap: '12',\n paddingInlineEnd: '24',\n paddingInlineStart: '16',\n color: 'text/primary',\n width: '100%',\n cursor: 'pointer',\n textAlign: 'start',\n _icon: {\n color: 'icon/secondary',\n },\n _hover: {\n background: 'button/secondary/bg-hover',\n _active: {\n background: 'button/secondary/bg-active',\n },\n },\n _active: {\n background: 'button/secondary/bg-active',\n },\n _disabled: {\n color: 'text/disabled',\n cursor: 'not-allowed',\n _icon: {\n color: 'icon/disabled',\n },\n },\n _focusVisible: {\n outlineOffset: '-3px',\n },\n },\n },\n\n variants: {\n hasStatusIcon: {\n true: {\n trigger: {\n paddingInlineEnd: '96',\n },\n },\n false: {},\n },\n size: {\n lg: {\n ...variants.size.lg,\n trigger: {\n '&:has([data-slot=\"avatar\"])': { paddingBlock: rem(7), paddingInlineStart: rem(11) },\n },\n checkbox: {\n width: '24',\n height: '24',\n },\n item: {\n ...variants.size.lg.item,\n '&:has([data-slot=\"avatar\"])': {\n paddingInlineStart: '12',\n paddingInlineEnd: '24',\n paddingBlock: '8',\n gap: '8',\n },\n '&:has([data-slot=\"checkbox\"])': {\n minHeight: '48',\n paddingInlineEnd: '24',\n paddingBlock: '12',\n gap: '12',\n },\n },\n content: {\n // 5.5 × 48px item + 16px paddingBlock\n '--select-menu-list-max-height': rem(280),\n },\n itemLabel: {\n textStyle: 'body/lg/regular',\n lineHeight: 'normal',\n },\n itemLoadingLabel: {\n textStyle: 'body/lg/regular',\n },\n emptyState: {\n paddingBlock: '12',\n },\n errorState: {\n paddingBlock: '8',\n },\n errorLabel: {\n textStyle: 'body/lg/regular',\n },\n action: {\n minHeight: '48',\n paddingBlock: '12',\n textStyle: 'body/lg/regular',\n lineHeight: 'normal',\n },\n searchInputGroup: {\n height: rem(56),\n paddingBlock: '16',\n },\n searchInput: {\n textStyle: 'body/lg/regular',\n },\n searchClear: {\n padding: '8',\n },\n },\n md: {\n ...variants.size.md,\n checkbox: {\n width: '20',\n height: '20',\n },\n item: {\n ...variants.size.md.item,\n '&:has([data-slot=\"avatar\"])': {\n paddingInlineStart: '12',\n paddingInlineEnd: '24',\n paddingBlock: '4',\n gap: '8',\n },\n '&:has([data-slot=\"checkbox\"])': {\n minHeight: '40',\n paddingInlineEnd: '24',\n paddingBlock: '8',\n gap: '12',\n },\n },\n content: {\n // 5.5 × 40px item (checkbox/avatar row) + 16px paddingBlock\n '--select-menu-list-max-height': rem(236),\n },\n itemLabel: {\n textStyle: 'body/md/regular',\n lineHeight: 'normal',\n },\n itemLoadingLabel: {\n textStyle: 'body/md/regular',\n },\n emptyState: {\n paddingBlock: '8',\n },\n errorState: {\n paddingBlock: '4',\n },\n errorLabel: {\n textStyle: 'body/md/regular',\n },\n errorIcon: {\n marginBlockStart: '4',\n },\n errorTextBlock: {\n paddingBlock: '2',\n },\n action: {\n minHeight: '40',\n paddingBlock: '8',\n textStyle: 'body/md/regular',\n lineHeight: 'normal',\n },\n trigger: {\n textStyle: 'body/md/regular',\n paddingBlock: rem(9),\n '&:has([data-slot=\"avatar\"])': { paddingBlock: rem(7), paddingInlineStart: rem(11) },\n },\n searchInputGroup: {\n height: '48',\n paddingBlock: '12',\n },\n searchInput: {\n textStyle: 'body/md/regular',\n },\n searchClear: {\n padding: '4',\n },\n },\n },\n },\n defaultVariants: {\n size: 'lg',\n },\n});\n"],"mappings":";;;;;AAMA,IAAa,mBAAmB,iBAAiB;CAC/C,WAAW;CACX,OAAO;EACL,GAAG,cAAc,KAAK;EACtB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,MAAM;EACJ,SAAS;GACP,SAAS;GACT,YAAY;GACZ,aAAa;GACb,aAAa;GACb,YAAY;GACZ,OAAO;GACP,KAAK;GACL,gBAAgB;GAGhB,oBAAoB,IAAI,EAAE;GAC1B,kBAAkB;GAClB,cAAc,IAAI,EAAE;GACpB,cAAc;GACd,QAAQ;GACR,YAAY;GACZ,WAAW;GACX,kBAAkB;GAClB,OAAO;GACP,OAAO,EACL,aAAa,eACf;GACA,mBAAmB,EACjB,OAAO,iBACT;GACA,WAAW;IACT,OAAO;IACP,YAAY;IACZ,QAAQ;GACV;GACA,UAAU,EACR,aAAa,eACf;GACA,WAAW;IACT,YAAY;IACZ,QAAQ;GACV;EACF;EACA,gBAAgB;GACd,SAAS;GACT,YAAY;GACZ,KAAK;GACL,UAAU;GACV,UAAU;GACV,KAAK;GACL,QAAQ;GACR,oBAAoB;GACpB,kBAAkB,IAAI,EAAE;GACxB,eAAe;EACjB;EACA,WAAW;GACT,SAAS;GACT,YAAY;GACZ,gBAAgB;GAChB,OAAO;GACP,WAAW,EACT,OAAO,gBACT;GACA,WAAW,EACT,OAAO,mBACT;EACF;EACA,GAAG;EACH,SAAS;GACP,GAAG,KAAK;GACR,UAAU;GACV,SAAS;GACT,eAAe;GAGf,UAAU;GACV,UAAU,IAAI,GAAG;GACjB,kBAAkB;EACpB;EACA,MAAM;GACJ,GAAG,KAAK;GACR,SAAS,EACP,YAAY,oBACd;GACA,WAAW;IACT,YAAY;IACZ,cAAc,EACZ,YAAY,4BACd;GACF;GACA,WAAW;IACT,QAAQ;IACR,OAAO;IACP,cAAc,EACZ,YAAY,cACd;GACF;EACF;EACA,SAAS;GACP,UAAU;GACV,OAAO;EACT;EACA,WAAW;GACT,SAAS;GACT,YAAY;GACZ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AAE,cAAc,IAAI,CAAC;MAAG,oBAAoB,IAAI,EAAE;KAAE;IACrF;IACA,kBAAkB;KAChB,QAAQ;KACR,cAAc;IAChB;IACA,aAAa,EACX,WAAW,kBACb;IACA,aAAa,EACX,SAAS,IACX;GACF;EACF;CACF;CACA,iBAAiB,EACf,MAAM,KACR;AACF,CAAC"}
1
+ {"version":3,"file":"Select.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/Select.recipe.ts"],"sourcesContent":["import { selectAnatomy } from '@chakra-ui/react/anatomy';\nimport { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nimport { base, variants } from '../common/ComboboxAndSelect.common';\nimport { rem } from '../themeUtils';\n\nexport const selectSlotRecipe = defineSlotRecipe({\n className: 'select',\n slots: [\n ...selectAnatomy.keys(),\n 'searchInputGroup',\n 'searchInput',\n 'searchClear',\n 'actionContainer',\n 'action',\n 'checkbox',\n 'checkmark',\n 'itemList',\n 'itemContent',\n 'itemBadge',\n 'itemIcon',\n 'valueIcon',\n 'avatar',\n 'itemLabel',\n 'itemHelperText',\n 'itemLoading',\n 'itemLoadingLabel',\n 'emptyState',\n 'errorState',\n 'errorIcon',\n 'errorTextBlock',\n 'errorLabel',\n ],\n base: {\n trigger: {\n display: 'flex',\n alignItems: 'center',\n borderWidth: '1',\n borderColor: 'border/strong',\n background: 'background/primary',\n color: 'input/text/inputValue',\n gap: '8',\n justifyContent: 'space-between',\n // 15px + the 1px border = the spec's 16px, measured from the trigger's outer edge.\n // The indicator group below is offset the same way on the end side.\n paddingInlineStart: rem(15),\n paddingInlineEnd: '48',\n paddingBlock: rem(11),\n borderRadius: '4',\n cursor: 'pointer',\n userSelect: 'none',\n textAlign: 'start',\n focusVisibleRing: 'inside',\n width: '100%',\n _open: {\n borderColor: 'border/focus',\n },\n _placeholderShown: {\n color: 'text/secondary',\n },\n _disabled: {\n color: 'text/disabled',\n background: 'background/disabled',\n cursor: 'not-allowed',\n },\n _invalid: {\n borderColor: 'border/error',\n },\n _readOnly: {\n background: 'background/disabled',\n cursor: 'default',\n },\n },\n indicatorGroup: {\n display: 'flex',\n alignItems: 'center',\n gap: '8',\n position: 'absolute',\n insetEnd: 0,\n top: 0,\n bottom: 0,\n paddingInlineStart: '16',\n paddingInlineEnd: rem(15),\n pointerEvents: 'none',\n },\n indicator: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n color: 'icon/secondary',\n _disabled: {\n color: 'icon/disabled',\n },\n _readOnly: {\n color: 'icon/on-disabled',\n },\n },\n ...base,\n content: {\n ...base.content,\n overflow: 'hidden',\n display: 'flex',\n flexDirection: 'column',\n // Zag's popper sets `--reference-width` (the trigger width) on the positioner, so the\n // menu is never narrower than the Select input — but can grow wider for long items.\n minWidth: 'var(--reference-width)',\n maxWidth: rem(800),\n focusVisibleRing: 'none',\n },\n item: {\n ...base.item,\n _active: {\n background: 'background/active',\n },\n _selected: {\n background: 'background/selected',\n _highlighted: {\n background: 'background/selected-hover',\n },\n },\n _disabled: {\n cursor: 'not-allowed',\n color: 'text/disabled',\n _highlighted: {\n background: 'transparent',\n },\n },\n },\n control: {\n position: 'relative',\n width: '100%',\n },\n valueText: {\n display: 'flex',\n alignItems: 'center',\n gap: '8',\n flex: '1 1 0',\n minWidth: 0,\n overflow: 'hidden',\n },\n itemList: {\n flex: '1 1 auto',\n maxHeight: 'var(--select-menu-list-max-height)',\n minHeight: 0,\n overflowY: 'auto',\n paddingBlock: '8',\n },\n itemContent: {\n display: 'flex',\n flexDirection: 'column',\n flex: '1 0 0',\n minWidth: 0,\n },\n itemBadge: {\n display: 'inline-flex',\n flexShrink: 0,\n },\n itemLoading: {\n flexShrink: 0,\n },\n itemLoadingLabel: {\n color: 'text/secondary',\n flex: '1 0 0',\n minWidth: 0,\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n },\n emptyState: {\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'flex-start',\n paddingInline: '16',\n },\n errorState: {\n display: 'flex',\n alignItems: 'flex-start',\n gap: '12',\n paddingInlineStart: '16',\n paddingInlineEnd: '24',\n },\n errorIcon: {\n color: 'icon/negative',\n flexShrink: 0,\n },\n errorTextBlock: {\n display: 'flex',\n flexDirection: 'column',\n flex: 1,\n minWidth: 0,\n },\n errorLabel: {\n color: 'text/body',\n maxWidth: '100%',\n minWidth: 0,\n truncate: true,\n },\n itemIcon: {\n color: 'icon/secondary',\n '[data-state=\"checked\"] &': {\n color: 'icon/interactive',\n },\n },\n // The selected value's icon in the trigger. Mirrors the `indicator` (chevron) state colors —\n // the trigger exposes `data-disabled` / `data-readonly`, so the icon reacts via ancestors.\n valueIcon: {\n color: 'icon/secondary',\n '[data-disabled] &': { color: 'icon/disabled' },\n '[data-readonly] &': { color: 'icon/on-disabled' },\n },\n avatar: {\n flexShrink: 0,\n '[data-disabled] &': { opacity: 0.5 },\n },\n itemLabel: {\n color: 'text/body',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n maxWidth: '100%',\n minWidth: 0,\n '[data-disabled] &': {\n color: 'text/disabled',\n },\n },\n itemHelperText: {\n color: 'text/helper',\n textStyle: 'body/sm/regular',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n maxWidth: '100%',\n minWidth: 0,\n '[data-disabled] &': {\n color: 'text/disabled',\n },\n },\n checkbox: {\n position: 'relative',\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n flexShrink: 0,\n borderWidth: '1',\n borderColor: 'border/regular',\n borderRadius: '4',\n background: 'background/primary',\n boxShadow: 'inset/field',\n color: 'icon/on-color',\n '[data-state=checked] &': {\n background: 'input/checkbox/selection',\n borderColor: 'input/checkbox/selection',\n boxShadow: 'none',\n },\n '[data-disabled] &': {\n background: 'background/disabled',\n borderColor: 'border/disabled',\n },\n },\n checkmark: {\n opacity: 0,\n color: 'icon/on-color',\n '[data-state=checked] &': {\n opacity: 1,\n },\n },\n searchInputGroup: {\n borderBottom: '1px solid',\n borderColor: 'border/minimal',\n background: 'background/primary',\n display: 'flex',\n alignItems: 'center',\n gap: '12',\n paddingInlineStart: '16',\n paddingInlineEnd: '12',\n overflow: 'hidden',\n flexShrink: 0,\n _hover: {\n background: 'background/secondary',\n },\n _focusWithin: {\n background: 'background/primary',\n },\n },\n searchInput: {\n flex: '1 0 0',\n minWidth: 0,\n border: 'none',\n outline: 'none',\n background: 'transparent',\n color: 'input/text/inputValue',\n paddingInline: 0,\n paddingBlock: 0,\n _placeholder: {\n color: 'input/text/placeholder',\n },\n },\n searchClear: {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: '4',\n color: 'icon/primary',\n cursor: 'pointer',\n flexShrink: 0,\n _hover: {\n background: 'background/hover',\n },\n },\n actionContainer: {\n borderTop: '1px solid',\n borderColor: 'border/minimal',\n paddingBlock: '8',\n flexShrink: 0,\n },\n action: {\n display: 'flex',\n alignItems: 'center',\n gap: '12',\n paddingInlineEnd: '24',\n paddingInlineStart: '16',\n color: 'text/primary',\n width: '100%',\n cursor: 'pointer',\n textAlign: 'start',\n _icon: {\n color: 'icon/secondary',\n },\n '&[data-color-variant=ai]:not([data-disabled])': {\n _icon: {\n color: 'status/ai/icon',\n },\n },\n _hover: {\n background: 'button/secondary/bg-hover',\n _active: {\n background: 'button/secondary/bg-active',\n },\n },\n _active: {\n background: 'button/secondary/bg-active',\n },\n _disabled: {\n color: 'text/disabled',\n cursor: 'not-allowed',\n _icon: {\n color: 'icon/disabled',\n },\n },\n _focusVisible: {\n outlineOffset: '-3px',\n },\n },\n },\n\n variants: {\n hasStatusIcon: {\n true: {\n trigger: {\n paddingInlineEnd: '96',\n },\n },\n false: {},\n },\n size: {\n lg: {\n ...variants.size.lg,\n trigger: {\n '&:has([data-slot=\"avatar\"])': { paddingBlock: rem(7), paddingInlineStart: rem(11) },\n },\n checkbox: {\n width: '24',\n height: '24',\n },\n item: {\n ...variants.size.lg.item,\n '&:has([data-slot=\"avatar\"])': {\n paddingInlineStart: '12',\n paddingInlineEnd: '24',\n paddingBlock: '8',\n gap: '8',\n },\n '&:has([data-slot=\"checkbox\"])': {\n minHeight: '48',\n paddingInlineEnd: '24',\n paddingBlock: '12',\n gap: '12',\n },\n },\n content: {\n // 5.5 × 48px item + 16px paddingBlock\n '--select-menu-list-max-height': rem(280),\n },\n itemLabel: {\n textStyle: 'body/lg/regular',\n lineHeight: 'normal',\n },\n itemLoadingLabel: {\n textStyle: 'body/lg/regular',\n },\n emptyState: {\n paddingBlock: '12',\n },\n errorState: {\n paddingBlock: '8',\n },\n errorLabel: {\n textStyle: 'body/lg/regular',\n },\n action: {\n minHeight: '48',\n paddingBlock: '12',\n textStyle: 'body/lg/regular',\n lineHeight: 'normal',\n },\n searchInputGroup: {\n height: rem(56),\n paddingBlock: '16',\n },\n searchInput: {\n textStyle: 'body/lg/regular',\n },\n searchClear: {\n padding: '8',\n },\n },\n md: {\n ...variants.size.md,\n checkbox: {\n width: '20',\n height: '20',\n },\n item: {\n ...variants.size.md.item,\n '&:has([data-slot=\"avatar\"])': {\n paddingInlineStart: '12',\n paddingInlineEnd: '24',\n paddingBlock: '4',\n gap: '8',\n },\n '&:has([data-slot=\"checkbox\"])': {\n minHeight: '40',\n paddingInlineEnd: '24',\n paddingBlock: '8',\n gap: '12',\n },\n },\n content: {\n // 5.5 × 40px item (checkbox/avatar row) + 16px paddingBlock\n '--select-menu-list-max-height': rem(236),\n },\n itemLabel: {\n textStyle: 'body/md/regular',\n lineHeight: 'normal',\n },\n itemLoadingLabel: {\n textStyle: 'body/md/regular',\n },\n emptyState: {\n paddingBlock: '8',\n },\n errorState: {\n paddingBlock: '4',\n },\n errorLabel: {\n textStyle: 'body/md/regular',\n },\n errorIcon: {\n marginBlockStart: '4',\n },\n errorTextBlock: {\n paddingBlock: '2',\n },\n action: {\n minHeight: '40',\n paddingBlock: '8',\n textStyle: 'body/md/regular',\n lineHeight: 'normal',\n },\n trigger: {\n textStyle: 'body/md/regular',\n paddingBlock: rem(9),\n '&:has([data-slot=\"avatar\"])': { paddingBlock: rem(7), paddingInlineStart: rem(11) },\n },\n searchInputGroup: {\n height: '48',\n paddingBlock: '12',\n },\n searchInput: {\n textStyle: 'body/md/regular',\n },\n searchClear: {\n padding: '4',\n },\n },\n },\n },\n defaultVariants: {\n size: 'lg',\n },\n});\n"],"mappings":";;;;;AAMA,IAAa,mBAAmB,iBAAiB;CAC/C,WAAW;CACX,OAAO;EACL,GAAG,cAAc,KAAK;EACtB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,MAAM;EACJ,SAAS;GACP,SAAS;GACT,YAAY;GACZ,aAAa;GACb,aAAa;GACb,YAAY;GACZ,OAAO;GACP,KAAK;GACL,gBAAgB;GAGhB,oBAAoB,IAAI,EAAE;GAC1B,kBAAkB;GAClB,cAAc,IAAI,EAAE;GACpB,cAAc;GACd,QAAQ;GACR,YAAY;GACZ,WAAW;GACX,kBAAkB;GAClB,OAAO;GACP,OAAO,EACL,aAAa,eACf;GACA,mBAAmB,EACjB,OAAO,iBACT;GACA,WAAW;IACT,OAAO;IACP,YAAY;IACZ,QAAQ;GACV;GACA,UAAU,EACR,aAAa,eACf;GACA,WAAW;IACT,YAAY;IACZ,QAAQ;GACV;EACF;EACA,gBAAgB;GACd,SAAS;GACT,YAAY;GACZ,KAAK;GACL,UAAU;GACV,UAAU;GACV,KAAK;GACL,QAAQ;GACR,oBAAoB;GACpB,kBAAkB,IAAI,EAAE;GACxB,eAAe;EACjB;EACA,WAAW;GACT,SAAS;GACT,YAAY;GACZ,gBAAgB;GAChB,OAAO;GACP,WAAW,EACT,OAAO,gBACT;GACA,WAAW,EACT,OAAO,mBACT;EACF;EACA,GAAG;EACH,SAAS;GACP,GAAG,KAAK;GACR,UAAU;GACV,SAAS;GACT,eAAe;GAGf,UAAU;GACV,UAAU,IAAI,GAAG;GACjB,kB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,WAAW;KACX,YAAY;IACd;IACA,kBAAkB,EAChB,WAAW,kBACb;IACA,YAAY,EACV,cAAc,IAChB;IACA,YAAY,EACV,cAAc,IAChB;IACA,YAAY,EACV,WAAW,kBACb;IACA,WAAW,EACT,kBAAkB,IACpB;IACA,gBAAgB,EACd,cAAc,IAChB;IACA,QAAQ;KACN,WAAW;KACX,cAAc;KACd,WAAW;KACX,YAAY;IACd;IACA,SAAS;KACP,WAAW;KACX,cAAc,IAAI,CAAC;KACnB,iCAA+B;MAAE,cAAc,IAAI,CAAC;MAAG,oBAAoB,IAAI,EAAE;KAAE;IACrF;IACA,kBAAkB;KAChB,QAAQ;KACR,cAAc;IAChB;IACA,aAAa,EACX,WAAW,kBACb;IACA,aAAa,EACX,SAAS,IACX;GACF;EACF;CACF;CACA,iBAAiB,EACf,MAAM,KACR;AACF,CAAC"}
@@ -2502,7 +2502,7 @@ declare const slotRecipes: {
2502
2502
  };
2503
2503
  };
2504
2504
  }>;
2505
- select: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "label" | "checkbox" | "list" | "avatar" | "emptyState" | "root" | "item" | "itemContent" | "itemIndicator" | "trigger" | "positioner" | "indicator" | "itemGroup" | "itemGroupLabel" | "itemText" | "valueText" | "action" | "clearTrigger" | "control" | "actionContainer" | "errorLabel" | "searchInputGroup" | "searchInput" | "searchClear" | "errorState" | "itemList" | "errorIcon" | "errorTextBlock" | "itemHelperText" | "itemLoading" | "itemLoadingLabel" | "itemLabel" | "indicatorGroup" | "checkmark" | "itemBadge" | "itemIcon" | "valueIcon", {
2505
+ select: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "label" | "checkbox" | "list" | "avatar" | "emptyState" | "root" | "item" | "itemContent" | "itemIndicator" | "trigger" | "positioner" | "indicator" | "itemGroup" | "itemGroupLabel" | "itemText" | "valueText" | "action" | "clearTrigger" | "control" | "errorLabel" | "searchInputGroup" | "searchInput" | "searchClear" | "errorState" | "itemList" | "actionContainer" | "errorIcon" | "errorTextBlock" | "itemHelperText" | "itemLoading" | "itemLoadingLabel" | "itemLabel" | "indicatorGroup" | "checkmark" | "itemBadge" | "itemIcon" | "valueIcon", {
2506
2506
  hasStatusIcon: {
2507
2507
  true: {
2508
2508
  trigger: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit-v2",
3
3
  "private": false,
4
- "version": "0.3.532",
4
+ "version": "0.3.534",
5
5
  "description": "Bitrise Design System Components built with Chakra UI V3",
6
6
  "keywords": [
7
7
  "react",