@bitrise/bitkit-v2 0.3.482 → 0.3.483

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 (48) hide show
  1. package/dist/components/BitkitUIHeader/BitkitUIHeader.d.ts +41 -0
  2. package/dist/components/BitkitUIHeader/BitkitUIHeader.js +114 -0
  3. package/dist/components/BitkitUIHeader/BitkitUIHeader.js.map +1 -0
  4. package/dist/components/BitkitUIHeader/BitriseLogo.d.ts +10 -0
  5. package/dist/components/BitkitUIHeader/BitriseLogo.js +86 -0
  6. package/dist/components/BitkitUIHeader/BitriseLogo.js.map +1 -0
  7. package/dist/components/BitkitUIHeader/UIHeaderAccount.d.ts +26 -0
  8. package/dist/components/BitkitUIHeader/UIHeaderAccount.js +40 -0
  9. package/dist/components/BitkitUIHeader/UIHeaderAccount.js.map +1 -0
  10. package/dist/components/BitkitUIHeader/UIHeaderButton.d.ts +34 -0
  11. package/dist/components/BitkitUIHeader/UIHeaderButton.js +45 -0
  12. package/dist/components/BitkitUIHeader/UIHeaderButton.js.map +1 -0
  13. package/dist/components/BitkitUIHeader/UIHeaderContext.d.ts +13 -0
  14. package/dist/components/BitkitUIHeader/UIHeaderContext.js +11 -0
  15. package/dist/components/BitkitUIHeader/UIHeaderContext.js.map +1 -0
  16. package/dist/components/BitkitUIHeader/UIHeaderControl.d.ts +65 -0
  17. package/dist/components/BitkitUIHeader/UIHeaderControl.js +72 -0
  18. package/dist/components/BitkitUIHeader/UIHeaderControl.js.map +1 -0
  19. package/dist/components/BitkitUIHeader/UIHeaderNavButton.d.ts +20 -0
  20. package/dist/components/BitkitUIHeader/UIHeaderNavButton.js +46 -0
  21. package/dist/components/BitkitUIHeader/UIHeaderNavButton.js.map +1 -0
  22. package/dist/components/BitkitUIHeader/UIHeaderSearch.d.ts +32 -0
  23. package/dist/components/BitkitUIHeader/UIHeaderSearch.js +121 -0
  24. package/dist/components/BitkitUIHeader/UIHeaderSearch.js.map +1 -0
  25. package/dist/components/BitkitUIHeader/uiHeaderPart.d.ts +14 -0
  26. package/dist/components/BitkitUIHeader/uiHeaderPart.js +18 -0
  27. package/dist/components/BitkitUIHeader/uiHeaderPart.js.map +1 -0
  28. package/dist/components/index.d.ts +1 -0
  29. package/dist/main.js +3 -1
  30. package/dist/theme/recipes/UIHeaderButton.recipe.js +103 -0
  31. package/dist/theme/recipes/UIHeaderButton.recipe.js.map +1 -0
  32. package/dist/theme/recipes/index.js +3 -1
  33. package/dist/theme/recipes/index.js.map +1 -1
  34. package/dist/theme/semantic-tokens/index.d.ts +5 -5
  35. package/dist/theme/semantic-tokens/semanticColors.d.ts +5 -5
  36. package/dist/theme/semantic-tokens/semanticColors.js +1 -1
  37. package/dist/theme/semantic-tokens/semanticColors.js.map +1 -1
  38. package/dist/theme/slot-recipes/UIHeader.recipe.d.ts +14 -0
  39. package/dist/theme/slot-recipes/UIHeader.recipe.js +253 -0
  40. package/dist/theme/slot-recipes/UIHeader.recipe.js.map +1 -0
  41. package/dist/theme/slot-recipes/index.d.ts +1 -0
  42. package/dist/theme/slot-recipes/index.js +2 -0
  43. package/dist/theme/slot-recipes/index.js.map +1 -1
  44. package/dist/theme/themeUtils.d.ts +6 -0
  45. package/dist/theme/themeUtils.js +7 -1
  46. package/dist/theme/themeUtils.js.map +1 -1
  47. package/package.json +1 -1
  48. package/dist/theme/recipes/index.d.ts +0 -525
@@ -3763,6 +3763,7 @@ declare const slotRecipes: {
3763
3763
  };
3764
3764
  };
3765
3765
  }>;
3766
+ uiHeader: import('@chakra-ui/react').SlotRecipeDefinition<"search" | "badge" | "banner" | "bar" | "root" | "indicator" | "spacer" | "control" | "searchInput" | "searchClear" | "actions" | "navButton" | "accountAvatar" | "accountIcon" | "navButtonBadge" | "navButtonIcon" | "searchButton" | "searchField" | "searchIcon" | "leading" | "logoBlock" | "logoLink", import('@chakra-ui/react').SlotRecipeVariantRecord<"search" | "badge" | "banner" | "bar" | "root" | "indicator" | "spacer" | "control" | "searchInput" | "searchClear" | "actions" | "navButton" | "accountAvatar" | "accountIcon" | "navButtonBadge" | "navButtonIcon" | "searchButton" | "searchField" | "searchIcon" | "leading" | "logoBlock" | "logoLink">>;
3766
3767
  uiSideNav: import('@chakra-ui/react').SlotRecipeDefinition<"link" | "content" | "body" | "footer" | "closeButton" | "root" | "item" | "itemIndicator" | "positioner" | "itemLabel" | "itemIcon" | "backdrop" | "footerSeparator" | "footerHeading" | "linkIconBlock" | "linkTextBlock" | "linkIcon" | "linkStatusDot" | "linkLabel" | "linkSecondaryText" | "workspaceRoot" | "workspaceControl" | "workspace" | "workspaceTextBlock" | "workspaceChevron" | "workspaceMenu" | "workspaceLabel" | "workspaceValue", {
3767
3768
  layout: {
3768
3769
  rail: {
@@ -1,5 +1,6 @@
1
1
  import avatarSlotRecipe from "./Avatar.recipe.js";
2
2
  import numberInputSlotRecipe from "./NumberInput.recipe.js";
3
+ import uiHeaderSlotRecipe from "./UIHeader.recipe.js";
3
4
  import uiSideNavSlotRecipe from "./UISideNav.recipe.js";
4
5
  import accordionSlotRecipe from "./Accordion.recipe.js";
5
6
  import actionBarSlotRecipe from "./ActionBar.recipe.js";
@@ -133,6 +134,7 @@ var slotRecipes = {
133
134
  tooltip: tooltipSlotRecipe,
134
135
  tour: tourSlotRecipe,
135
136
  treeView: treeViewSlotRecipe,
137
+ uiHeader: uiHeaderSlotRecipe,
136
138
  uiSideNav: uiSideNavSlotRecipe
137
139
  };
138
140
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["groupHeadingSlotRecipe","inlineLoadingSlotRecipe","paginationLoadMoreSlotRecipe","sectionHeadingSlotRecipe"],"sources":["../../../lib/theme/slot-recipes/index.ts"],"sourcesContent":["import accordionSlotRecipe from './Accordion.recipe.ts';\nimport actionBarSlotRecipe from './ActionBar.recipe.ts';\nimport alertSlotRecipe from './Alert.recipe.ts';\nimport avatarSlotRecipe from './Avatar.recipe.ts';\nimport breadcrumbSlotRecipe from './Breadcrumb.recipe.ts';\nimport cardSlotRecipe from './Card.recipe';\nimport checkboxSlotRecipe from './Checkbox.recipe';\nimport codeSnippetSlotRecipe from './CodeSnippet.recipe.ts';\nimport collapsibleSlotRecipe from './Collapsible.recipe.ts';\nimport comboboxSlotRecipe from './Combobox.recipe.ts';\nimport dataWidgetSlotRecipe from './DataWidget.recipe.ts';\nimport datePickerSlotRecipe from './DatePicker.recipe.ts';\nimport datePickerSelectSlotRecipe from './DatePickerSelect.recipe.ts';\nimport dialogSlotRecipe from './Dialog.recipe.ts';\nimport draggableCardSlotRecipe from './DraggableCard.recipe.ts';\nimport drawerSlotRecipe from './Drawer.recipe.ts';\nimport emptyStateSlotRecipe from './EmptyState.recipe';\nimport expandableCardSlotRecipe from './ExpandableCard.recipe.ts';\nimport fieldSlotRecipe from './Field.recipe';\nimport fieldsetSlotRecipe from './Fieldset.recipe.ts';\nimport fileUploadSlotRecipe from './FileUpload.recipe.ts';\nimport filterSlotRecipe from './Filter.recipe.ts';\nimport groupHeadingSlotRecipe from './GroupHeading.recipe.ts';\nimport imageCropperSlotRecipe from './ImageCropper.recipe.ts';\nimport inlineLoadingSlotRecipe from './InlineLoading.recipe.ts';\nimport labeledDataSlotRecipe from './LabeledData.recipe.ts';\nimport listSlotRecipe from './List.recipe.ts';\nimport listboxSlotRecipe from './Listbox.recipe.ts';\nimport markdownSlotRecipe from './Markdown.recipe.ts';\nimport markdownCardSlotRecipe from './MarkdownCard.recipe.ts';\nimport menuSlotRecipe from './Menu.recipe.ts';\nimport multiselectSlotRecipe from './Multiselect.recipe.ts';\nimport nativeSelectSlotRecipe from './NativeSelect.recipe.ts';\nimport noteCardSlotRecipe from './NoteCard.recipe.ts';\nimport numberInputSlotRecipe from './NumberInput.recipe';\nimport overflowContentSlotRecipe from './OverflowContent.recipe.ts';\nimport pageFooterSlotRecipe from './PageFooter.recipe.ts';\nimport pageHeaderSlotRecipe from './PageHeader.recipe.ts';\nimport pageSidebarSlotRecipe from './PageSidebar.recipe.ts';\nimport paginationSlotRecipe from './Pagination.recipe.ts';\nimport paginationLoadMoreSlotRecipe from './PaginationLoadMore.recipe.ts';\nimport popoverSlotRecipe from './Popover.recipe.ts';\nimport progressSlotRecipe from './Progress.recipe.ts';\nimport qrCodeSlotRecipe from './QrCode.recipe.ts';\nimport radioGroupSlotRecipe from './RadioGroup.recipe.ts';\nimport ribbonSlotRecipe from './Ribbon.recipe.ts';\nimport sectionHeadingSlotRecipe from './SectionHeading.recipe.ts';\nimport segmentGroupSlotRecipe from './SegmentGroup.recipe.ts';\nimport { selectSlotRecipe } from './Select.recipe.ts';\nimport settingsCardSlotRecipe from './SettingsCard.recipe.ts';\nimport splitButtonSlotRecipe from './SplitButton.recipe.ts';\nimport statSlotRecipe from './Stat.recipe.ts';\nimport stepCardSlotRecipe from './StepCard.recipe.ts';\nimport stepsSlotRecipe from './Steps.recipe.ts';\nimport switchSlotRecipe from './Switch.recipe';\nimport tableSlotRecipe from './Table.recipe.ts';\nimport tableCardSlotRecipe from './TableCard.recipe.ts';\nimport tabsSlotRecipe from './Tabs.recipe';\nimport tagSlotRecipe from './Tag.recipe.ts';\nimport tagsInputSlotRecipe from './TagsInput.recipe.ts';\nimport textInputSlotRecipe from './TextInput.recipe.ts';\nimport toastSlotRecipe from './Toast.recipe';\nimport toggletipSlotRecipe from './Toggletip.recipe';\nimport tooltipSlotRecipe from './Tooltip.recipe';\nimport tourSlotRecipe from './Tour.recipe.ts';\nimport treeViewSlotRecipe from './TreeView.recipe.ts';\nimport uiSideNavSlotRecipe from './UISideNav.recipe.ts';\n\nconst slotRecipes = {\n accordion: accordionSlotRecipe,\n actionBar: actionBarSlotRecipe,\n alert: alertSlotRecipe,\n avatar: avatarSlotRecipe,\n breadcrumb: breadcrumbSlotRecipe,\n card: cardSlotRecipe,\n checkbox: checkboxSlotRecipe,\n codeSnippet: codeSnippetSlotRecipe,\n collapsible: collapsibleSlotRecipe,\n combobox: comboboxSlotRecipe,\n dataWidget: dataWidgetSlotRecipe,\n datePicker: datePickerSlotRecipe,\n datePickerSelect: datePickerSelectSlotRecipe,\n dialog: dialogSlotRecipe,\n draggableCard: draggableCardSlotRecipe,\n drawer: drawerSlotRecipe,\n emptyState: emptyStateSlotRecipe,\n expandableCard: expandableCardSlotRecipe,\n field: fieldSlotRecipe,\n groupHeading: groupHeadingSlotRecipe,\n fieldset: fieldsetSlotRecipe,\n fileUpload: fileUploadSlotRecipe,\n filter: filterSlotRecipe,\n imageCropper: imageCropperSlotRecipe,\n inlineLoading: inlineLoadingSlotRecipe,\n list: listSlotRecipe,\n listbox: listboxSlotRecipe,\n markdown: markdownSlotRecipe,\n markdownCard: markdownCardSlotRecipe,\n menu: menuSlotRecipe,\n multiselect: multiselectSlotRecipe,\n noteCard: noteCardSlotRecipe,\n nativeSelect: nativeSelectSlotRecipe,\n numberInput: numberInputSlotRecipe,\n overflowContent: overflowContentSlotRecipe,\n pageFooter: pageFooterSlotRecipe,\n pageHeader: pageHeaderSlotRecipe,\n pageSidebar: pageSidebarSlotRecipe,\n pagination: paginationSlotRecipe,\n paginationLoadMore: paginationLoadMoreSlotRecipe,\n popover: popoverSlotRecipe,\n progress: progressSlotRecipe,\n qrCode: qrCodeSlotRecipe,\n radioGroup: radioGroupSlotRecipe,\n ribbon: ribbonSlotRecipe,\n sectionHeading: sectionHeadingSlotRecipe,\n labeledData: labeledDataSlotRecipe,\n segmentGroup: segmentGroupSlotRecipe,\n select: selectSlotRecipe,\n settingsCard: settingsCardSlotRecipe,\n splitButton: splitButtonSlotRecipe,\n stat: statSlotRecipe,\n stepsCard: stepCardSlotRecipe,\n steps: stepsSlotRecipe,\n switch: switchSlotRecipe,\n table: tableSlotRecipe,\n tableCard: tableCardSlotRecipe,\n tabs: tabsSlotRecipe,\n tag: tagSlotRecipe,\n tagsInput: tagsInputSlotRecipe,\n textInput: textInputSlotRecipe,\n toast: toastSlotRecipe,\n toggletip: toggletipSlotRecipe,\n tooltip: tooltipSlotRecipe,\n tour: tourSlotRecipe,\n treeView: treeViewSlotRecipe,\n uiSideNav: uiSideNavSlotRecipe,\n};\n\nexport default slotRecipes;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoEA,IAAM,cAAc;CAClB,WAAW;CACX,WAAW;CACX,OAAO;CACP,QAAQ;CACR,YAAY;CACZ,MAAM;CACN,UAAU;CACV,aAAa;CACb,aAAa;CACb,UAAU;CACV,YAAY;CACZ,YAAY;CACZ,kBAAkB;CAClB,QAAQ;CACR,eAAe;CACf,QAAQ;CACR,YAAY;CACZ,gBAAgB;CAChB,OAAO;CACP,cAAcA;CACd,UAAU;CACV,YAAY;CACZ,QAAQ;CACR,cAAc;CACd,eAAeC;CACf,MAAM;CACN,SAAS;CACT,UAAU;CACV,cAAc;CACd,MAAM;CACN,aAAa;CACb,UAAU;CACV,cAAc;CACd,aAAa;CACb,iBAAiB;CACjB,YAAY;CACZ,YAAY;CACZ,aAAa;CACb,YAAY;CACZ,oBAAoBC;CACpB,SAAS;CACT,UAAU;CACV,QAAQ;CACR,YAAY;CACZ,QAAQ;CACR,gBAAgBC;CAChB,aAAa;CACb,cAAc;CACd,QAAQ;CACR,cAAc;CACd,aAAa;CACb,MAAM;CACN,WAAW;CACX,OAAO;CACP,QAAQ;CACR,OAAO;CACP,WAAW;CACX,MAAM;CACN,KAAK;CACL,WAAW;CACX,WAAW;CACX,OAAO;CACP,WAAW;CACX,SAAS;CACT,MAAM;CACN,UAAU;CACV,WAAW;AACb"}
1
+ {"version":3,"file":"index.js","names":["groupHeadingSlotRecipe","inlineLoadingSlotRecipe","paginationLoadMoreSlotRecipe","sectionHeadingSlotRecipe"],"sources":["../../../lib/theme/slot-recipes/index.ts"],"sourcesContent":["import accordionSlotRecipe from './Accordion.recipe.ts';\nimport actionBarSlotRecipe from './ActionBar.recipe.ts';\nimport alertSlotRecipe from './Alert.recipe.ts';\nimport avatarSlotRecipe from './Avatar.recipe.ts';\nimport breadcrumbSlotRecipe from './Breadcrumb.recipe.ts';\nimport cardSlotRecipe from './Card.recipe';\nimport checkboxSlotRecipe from './Checkbox.recipe';\nimport codeSnippetSlotRecipe from './CodeSnippet.recipe.ts';\nimport collapsibleSlotRecipe from './Collapsible.recipe.ts';\nimport comboboxSlotRecipe from './Combobox.recipe.ts';\nimport dataWidgetSlotRecipe from './DataWidget.recipe.ts';\nimport datePickerSlotRecipe from './DatePicker.recipe.ts';\nimport datePickerSelectSlotRecipe from './DatePickerSelect.recipe.ts';\nimport dialogSlotRecipe from './Dialog.recipe.ts';\nimport draggableCardSlotRecipe from './DraggableCard.recipe.ts';\nimport drawerSlotRecipe from './Drawer.recipe.ts';\nimport emptyStateSlotRecipe from './EmptyState.recipe';\nimport expandableCardSlotRecipe from './ExpandableCard.recipe.ts';\nimport fieldSlotRecipe from './Field.recipe';\nimport fieldsetSlotRecipe from './Fieldset.recipe.ts';\nimport fileUploadSlotRecipe from './FileUpload.recipe.ts';\nimport filterSlotRecipe from './Filter.recipe.ts';\nimport groupHeadingSlotRecipe from './GroupHeading.recipe.ts';\nimport imageCropperSlotRecipe from './ImageCropper.recipe.ts';\nimport inlineLoadingSlotRecipe from './InlineLoading.recipe.ts';\nimport labeledDataSlotRecipe from './LabeledData.recipe.ts';\nimport listSlotRecipe from './List.recipe.ts';\nimport listboxSlotRecipe from './Listbox.recipe.ts';\nimport markdownSlotRecipe from './Markdown.recipe.ts';\nimport markdownCardSlotRecipe from './MarkdownCard.recipe.ts';\nimport menuSlotRecipe from './Menu.recipe.ts';\nimport multiselectSlotRecipe from './Multiselect.recipe.ts';\nimport nativeSelectSlotRecipe from './NativeSelect.recipe.ts';\nimport noteCardSlotRecipe from './NoteCard.recipe.ts';\nimport numberInputSlotRecipe from './NumberInput.recipe';\nimport overflowContentSlotRecipe from './OverflowContent.recipe.ts';\nimport pageFooterSlotRecipe from './PageFooter.recipe.ts';\nimport pageHeaderSlotRecipe from './PageHeader.recipe.ts';\nimport pageSidebarSlotRecipe from './PageSidebar.recipe.ts';\nimport paginationSlotRecipe from './Pagination.recipe.ts';\nimport paginationLoadMoreSlotRecipe from './PaginationLoadMore.recipe.ts';\nimport popoverSlotRecipe from './Popover.recipe.ts';\nimport progressSlotRecipe from './Progress.recipe.ts';\nimport qrCodeSlotRecipe from './QrCode.recipe.ts';\nimport radioGroupSlotRecipe from './RadioGroup.recipe.ts';\nimport ribbonSlotRecipe from './Ribbon.recipe.ts';\nimport sectionHeadingSlotRecipe from './SectionHeading.recipe.ts';\nimport segmentGroupSlotRecipe from './SegmentGroup.recipe.ts';\nimport { selectSlotRecipe } from './Select.recipe.ts';\nimport settingsCardSlotRecipe from './SettingsCard.recipe.ts';\nimport splitButtonSlotRecipe from './SplitButton.recipe.ts';\nimport statSlotRecipe from './Stat.recipe.ts';\nimport stepCardSlotRecipe from './StepCard.recipe.ts';\nimport stepsSlotRecipe from './Steps.recipe.ts';\nimport switchSlotRecipe from './Switch.recipe';\nimport tableSlotRecipe from './Table.recipe.ts';\nimport tableCardSlotRecipe from './TableCard.recipe.ts';\nimport tabsSlotRecipe from './Tabs.recipe';\nimport tagSlotRecipe from './Tag.recipe.ts';\nimport tagsInputSlotRecipe from './TagsInput.recipe.ts';\nimport textInputSlotRecipe from './TextInput.recipe.ts';\nimport toastSlotRecipe from './Toast.recipe';\nimport toggletipSlotRecipe from './Toggletip.recipe';\nimport tooltipSlotRecipe from './Tooltip.recipe';\nimport tourSlotRecipe from './Tour.recipe.ts';\nimport treeViewSlotRecipe from './TreeView.recipe.ts';\nimport uiHeaderSlotRecipe from './UIHeader.recipe';\nimport uiSideNavSlotRecipe from './UISideNav.recipe.ts';\n\nconst slotRecipes = {\n accordion: accordionSlotRecipe,\n actionBar: actionBarSlotRecipe,\n alert: alertSlotRecipe,\n avatar: avatarSlotRecipe,\n breadcrumb: breadcrumbSlotRecipe,\n card: cardSlotRecipe,\n checkbox: checkboxSlotRecipe,\n codeSnippet: codeSnippetSlotRecipe,\n collapsible: collapsibleSlotRecipe,\n combobox: comboboxSlotRecipe,\n dataWidget: dataWidgetSlotRecipe,\n datePicker: datePickerSlotRecipe,\n datePickerSelect: datePickerSelectSlotRecipe,\n dialog: dialogSlotRecipe,\n draggableCard: draggableCardSlotRecipe,\n drawer: drawerSlotRecipe,\n emptyState: emptyStateSlotRecipe,\n expandableCard: expandableCardSlotRecipe,\n field: fieldSlotRecipe,\n groupHeading: groupHeadingSlotRecipe,\n fieldset: fieldsetSlotRecipe,\n fileUpload: fileUploadSlotRecipe,\n filter: filterSlotRecipe,\n imageCropper: imageCropperSlotRecipe,\n inlineLoading: inlineLoadingSlotRecipe,\n list: listSlotRecipe,\n listbox: listboxSlotRecipe,\n markdown: markdownSlotRecipe,\n markdownCard: markdownCardSlotRecipe,\n menu: menuSlotRecipe,\n multiselect: multiselectSlotRecipe,\n noteCard: noteCardSlotRecipe,\n nativeSelect: nativeSelectSlotRecipe,\n numberInput: numberInputSlotRecipe,\n overflowContent: overflowContentSlotRecipe,\n pageFooter: pageFooterSlotRecipe,\n pageHeader: pageHeaderSlotRecipe,\n pageSidebar: pageSidebarSlotRecipe,\n pagination: paginationSlotRecipe,\n paginationLoadMore: paginationLoadMoreSlotRecipe,\n popover: popoverSlotRecipe,\n progress: progressSlotRecipe,\n qrCode: qrCodeSlotRecipe,\n radioGroup: radioGroupSlotRecipe,\n ribbon: ribbonSlotRecipe,\n sectionHeading: sectionHeadingSlotRecipe,\n labeledData: labeledDataSlotRecipe,\n segmentGroup: segmentGroupSlotRecipe,\n select: selectSlotRecipe,\n settingsCard: settingsCardSlotRecipe,\n splitButton: splitButtonSlotRecipe,\n stat: statSlotRecipe,\n stepsCard: stepCardSlotRecipe,\n steps: stepsSlotRecipe,\n switch: switchSlotRecipe,\n table: tableSlotRecipe,\n tableCard: tableCardSlotRecipe,\n tabs: tabsSlotRecipe,\n tag: tagSlotRecipe,\n tagsInput: tagsInputSlotRecipe,\n textInput: textInputSlotRecipe,\n toast: toastSlotRecipe,\n toggletip: toggletipSlotRecipe,\n tooltip: tooltipSlotRecipe,\n tour: tourSlotRecipe,\n treeView: treeViewSlotRecipe,\n uiHeader: uiHeaderSlotRecipe,\n uiSideNav: uiSideNavSlotRecipe,\n};\n\nexport default slotRecipes;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqEA,IAAM,cAAc;CAClB,WAAW;CACX,WAAW;CACX,OAAO;CACP,QAAQ;CACR,YAAY;CACZ,MAAM;CACN,UAAU;CACV,aAAa;CACb,aAAa;CACb,UAAU;CACV,YAAY;CACZ,YAAY;CACZ,kBAAkB;CAClB,QAAQ;CACR,eAAe;CACf,QAAQ;CACR,YAAY;CACZ,gBAAgB;CAChB,OAAO;CACP,cAAcA;CACd,UAAU;CACV,YAAY;CACZ,QAAQ;CACR,cAAc;CACd,eAAeC;CACf,MAAM;CACN,SAAS;CACT,UAAU;CACV,cAAc;CACd,MAAM;CACN,aAAa;CACb,UAAU;CACV,cAAc;CACd,aAAa;CACb,iBAAiB;CACjB,YAAY;CACZ,YAAY;CACZ,aAAa;CACb,YAAY;CACZ,oBAAoBC;CACpB,SAAS;CACT,UAAU;CACV,QAAQ;CACR,YAAY;CACZ,QAAQ;CACR,gBAAgBC;CAChB,aAAa;CACb,cAAc;CACd,QAAQ;CACR,cAAc;CACd,aAAa;CACb,MAAM;CACN,WAAW;CACX,OAAO;CACP,QAAQ;CACR,OAAO;CACP,WAAW;CACX,MAAM;CACN,KAAK;CACL,WAAW;CACX,WAAW;CACX,OAAO;CACP,WAAW;CACX,SAAS;CACT,MAAM;CACN,UAAU;CACV,UAAU;CACV,WAAW;AACb"}
@@ -8,6 +8,12 @@ export declare function withSlashes(object: Record<string, any>): Record<string,
8
8
  * @returns Value in rems, typed precisely enough to satisfy props that take a `${number}rem`
9
9
  */
10
10
  export declare const rem: (input: number) => `${number}rem`;
11
+ /**
12
+ * A colour token as the raw CSS variable Chakra compiles it to, for the places a `{colors.…}`
13
+ * reference cannot go: inside a compound value like a gradient, Chakra reads the token's first `/`
14
+ * as its colour-mix opacity modifier, so the slashes have to be escaped by hand instead.
15
+ */
16
+ export declare const colorVar: (token: string) => string;
11
17
  /**
12
18
  * The colour tokens under the given prefixes, for props that must take a semantic token.
13
19
  *
@@ -29,7 +29,13 @@ function withSlashes(object) {
29
29
  var rem = (input) => {
30
30
  return `${input / 16}rem`;
31
31
  };
32
+ /**
33
+ * A colour token as the raw CSS variable Chakra compiles it to, for the places a `{colors.…}`
34
+ * reference cannot go: inside a compound value like a gradient, Chakra reads the token's first `/`
35
+ * as its colour-mix opacity modifier, so the slashes have to be escaped by hand instead.
36
+ */
37
+ var colorVar = (token) => `var(--colors-${token.replace(/\//g, "\\/")})`;
32
38
  //#endregion
33
- export { flattenTokens, rem, withSlashes };
39
+ export { colorVar, flattenTokens, rem, withSlashes };
34
40
 
35
41
  //# sourceMappingURL=themeUtils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"themeUtils.js","names":[],"sources":["../../lib/theme/themeUtils.ts"],"sourcesContent":["import { type Tokens } from '@chakra-ui/react/styled-system';\nimport { type TextProps } from '@chakra-ui/react/text';\nimport { isPlainObject } from 'es-toolkit';\n\n// Based on https://github.com/toss/es-toolkit/blob/main/src/object/flattenObject.ts\nexport const flattenTokens = (object: object, prefix: string = ''): Record<string, any> => {\n const result: Record<string, any> = {};\n const keys = Object.keys(object);\n\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n const value = (object as any)[key];\n\n const prefixedKey = prefix ? `${prefix}/${key}` : key;\n\n if (isPlainObject(value) && Object.keys(value).length > 0 && Object.keys(value)[0] !== 'value') {\n Object.assign(result, flattenTokens(value, prefixedKey));\n continue;\n }\n\n result[prefixedKey] = value;\n }\n\n return result;\n};\n\nexport function withSlashes(object: Record<string, any>): Record<string, any> {\n return {\n ...object,\n ...flattenTokens(object),\n };\n}\n\n/**\n *\n * @param input Value in pixels\n * @returns Value in rems, typed precisely enough to satisfy props that take a `${number}rem`\n */\nexport const rem = (input: number): `${number}rem` => {\n return `${input / 16}rem`;\n};\n\n/**\n * The colour tokens under the given prefixes, for props that must take a semantic token.\n *\n * `Tokens` is generated in the consumer's own project by `chakra typegen`, which\n * `scripts/postinstall.cjs` runs and which exits 0 with a warning when it cannot. Where it did not\n * run, `Tokens['colors']` is Chakra's stock union, the `Extract` has nothing to match and collapses\n * to `never` -- which would make every prop using it a type error pointing at the wrong thing. So it\n * falls back to `string`: the narrowing is a guard where the types are real, not a tripwire where\n * they are not.\n */\nexport type BitkitColorToken<Prefix extends string> = [Extract<Tokens['colors'], `${Prefix}/${string}`>] extends [never]\n ? string\n : Extract<Tokens['colors'], `${Prefix}/${string}`>;\n\nexport const getTextStyle = (as: TextProps['as']) => {\n if (['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].includes(as as string)) {\n return `heading/${as}`;\n }\n return undefined;\n};\n"],"mappings":";;AAKA,IAAa,iBAAiB,QAAgB,SAAiB,OAA4B;CACzF,MAAM,SAA8B,CAAC;CACrC,MAAM,OAAO,OAAO,KAAK,MAAM;CAE/B,KAAK,IAAI,IAAI,GAAG,IAAI,KAAK,QAAQ,KAAK;EACpC,MAAM,MAAM,KAAK;EACjB,MAAM,QAAS,OAAe;EAE9B,MAAM,cAAc,SAAS,GAAG,OAAO,GAAG,QAAQ;EAElD,IAAI,cAAc,KAAK,KAAK,OAAO,KAAK,KAAK,CAAC,CAAC,SAAS,KAAK,OAAO,KAAK,KAAK,CAAC,CAAC,OAAO,SAAS;GAC9F,OAAO,OAAO,QAAQ,cAAc,OAAO,WAAW,CAAC;GACvD;EACF;EAEA,OAAO,eAAe;CACxB;CAEA,OAAO;AACT;AAEA,SAAgB,YAAY,QAAkD;CAC5E,OAAO;EACL,GAAG;EACH,GAAG,cAAc,MAAM;CACzB;AACF;;;;;;AAOA,IAAa,OAAO,UAAkC;CACpD,OAAO,GAAG,QAAQ,GAAG;AACvB"}
1
+ {"version":3,"file":"themeUtils.js","names":[],"sources":["../../lib/theme/themeUtils.ts"],"sourcesContent":["import { type Tokens } from '@chakra-ui/react/styled-system';\nimport { type TextProps } from '@chakra-ui/react/text';\nimport { isPlainObject } from 'es-toolkit';\n\n// Based on https://github.com/toss/es-toolkit/blob/main/src/object/flattenObject.ts\nexport const flattenTokens = (object: object, prefix: string = ''): Record<string, any> => {\n const result: Record<string, any> = {};\n const keys = Object.keys(object);\n\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n const value = (object as any)[key];\n\n const prefixedKey = prefix ? `${prefix}/${key}` : key;\n\n if (isPlainObject(value) && Object.keys(value).length > 0 && Object.keys(value)[0] !== 'value') {\n Object.assign(result, flattenTokens(value, prefixedKey));\n continue;\n }\n\n result[prefixedKey] = value;\n }\n\n return result;\n};\n\nexport function withSlashes(object: Record<string, any>): Record<string, any> {\n return {\n ...object,\n ...flattenTokens(object),\n };\n}\n\n/**\n *\n * @param input Value in pixels\n * @returns Value in rems, typed precisely enough to satisfy props that take a `${number}rem`\n */\nexport const rem = (input: number): `${number}rem` => {\n return `${input / 16}rem`;\n};\n\n/**\n * A colour token as the raw CSS variable Chakra compiles it to, for the places a `{colors.…}`\n * reference cannot go: inside a compound value like a gradient, Chakra reads the token's first `/`\n * as its colour-mix opacity modifier, so the slashes have to be escaped by hand instead.\n */\nexport const colorVar = (token: string): string => `var(--colors-${token.replace(/\\//g, '\\\\/')})`;\n\n/**\n * The colour tokens under the given prefixes, for props that must take a semantic token.\n *\n * `Tokens` is generated in the consumer's own project by `chakra typegen`, which\n * `scripts/postinstall.cjs` runs and which exits 0 with a warning when it cannot. Where it did not\n * run, `Tokens['colors']` is Chakra's stock union, the `Extract` has nothing to match and collapses\n * to `never` -- which would make every prop using it a type error pointing at the wrong thing. So it\n * falls back to `string`: the narrowing is a guard where the types are real, not a tripwire where\n * they are not.\n */\nexport type BitkitColorToken<Prefix extends string> = [Extract<Tokens['colors'], `${Prefix}/${string}`>] extends [never]\n ? string\n : Extract<Tokens['colors'], `${Prefix}/${string}`>;\n\nexport const getTextStyle = (as: TextProps['as']) => {\n if (['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].includes(as as string)) {\n return `heading/${as}`;\n }\n return undefined;\n};\n"],"mappings":";;AAKA,IAAa,iBAAiB,QAAgB,SAAiB,OAA4B;CACzF,MAAM,SAA8B,CAAC;CACrC,MAAM,OAAO,OAAO,KAAK,MAAM;CAE/B,KAAK,IAAI,IAAI,GAAG,IAAI,KAAK,QAAQ,KAAK;EACpC,MAAM,MAAM,KAAK;EACjB,MAAM,QAAS,OAAe;EAE9B,MAAM,cAAc,SAAS,GAAG,OAAO,GAAG,QAAQ;EAElD,IAAI,cAAc,KAAK,KAAK,OAAO,KAAK,KAAK,CAAC,CAAC,SAAS,KAAK,OAAO,KAAK,KAAK,CAAC,CAAC,OAAO,SAAS;GAC9F,OAAO,OAAO,QAAQ,cAAc,OAAO,WAAW,CAAC;GACvD;EACF;EAEA,OAAO,eAAe;CACxB;CAEA,OAAO;AACT;AAEA,SAAgB,YAAY,QAAkD;CAC5E,OAAO;EACL,GAAG;EACH,GAAG,cAAc,MAAM;CACzB;AACF;;;;;;AAOA,IAAa,OAAO,UAAkC;CACpD,OAAO,GAAG,QAAQ,GAAG;AACvB;;;;;;AAOA,IAAa,YAAY,UAA0B,gBAAgB,MAAM,QAAQ,OAAO,KAAK,EAAE"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit-v2",
3
3
  "private": false,
4
- "version": "0.3.482",
4
+ "version": "0.3.483",
5
5
  "description": "Bitrise Design System Components built with Chakra UI V3",
6
6
  "keywords": [
7
7
  "react",
@@ -1,525 +0,0 @@
1
- declare const recipes: {
2
- badge: import('@chakra-ui/react').RecipeDefinition<{
3
- size: {
4
- xs: {
5
- minWidth: "20";
6
- paddingBlock: "2";
7
- };
8
- sm: {
9
- minWidth: "24";
10
- paddingBlock: "4";
11
- };
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: "gradient/ai/background/subtle";
49
- };
50
- };
51
- variant: {
52
- subtle: {};
53
- bold: {
54
- color: "text/on-color";
55
- };
56
- };
57
- }>;
58
- button: import('@chakra-ui/react').RecipeDefinition<{
59
- variant: Record<NonNullable<"primary" | "secondary" | "tertiary" | "danger-primary" | "danger-secondary" | "danger-tertiary" | "ai-primary" | "ai-secondary" | "ai-tertiary">, import('@chakra-ui/react').SystemStyleObject>;
60
- size: {
61
- sm: {
62
- minWidth: "32";
63
- height: "32";
64
- paddingInline: `${number}rem`;
65
- paddingBlock: `${number}rem`;
66
- textStyle: "comp/button/sm";
67
- };
68
- md: {
69
- minWidth: "40";
70
- height: "40";
71
- paddingInline: `${number}rem`;
72
- paddingBlock: `${number}rem`;
73
- textStyle: "comp/button/md";
74
- };
75
- lg: {
76
- minWidth: "48";
77
- height: "48";
78
- padding: `${number}rem`;
79
- textStyle: "comp/button/lg";
80
- };
81
- };
82
- }>;
83
- closeButton: import('@chakra-ui/react').RecipeDefinition<{
84
- size: {
85
- xs: {
86
- h: "24";
87
- w: "24";
88
- };
89
- sm: {
90
- h: "32";
91
- w: "32";
92
- };
93
- md: {
94
- h: "40";
95
- w: "40";
96
- };
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
- };
166
- }>;
167
- controlButton: import('@chakra-ui/react').RecipeDefinition<{
168
- isDanger: {
169
- false: {
170
- color: "button/control/fg";
171
- _hover: {
172
- background: "button/control/bg-hover";
173
- color: "button/control/fg-hover";
174
- _active: {
175
- background: "button/control/bg-active";
176
- color: "button/control/fg-active";
177
- };
178
- };
179
- _active: {
180
- background: "button/control/bg-active";
181
- color: "button/control/fg-active";
182
- };
183
- _disabled: {
184
- color: "button/control/fg-disabled!";
185
- };
186
- };
187
- true: {
188
- color: "button/control-danger/fg";
189
- _hover: {
190
- background: "button/control-danger/bg-hover";
191
- color: "button/control-danger/fg-hover";
192
- _active: {
193
- background: "button/control-danger/bg-active";
194
- color: "button/control-danger/fg-active";
195
- };
196
- };
197
- _active: {
198
- background: "button/control-danger/bg-active";
199
- color: "button/control-danger/fg-active";
200
- };
201
- _disabled: {
202
- color: "button/control-danger/fg-disabled!";
203
- };
204
- };
205
- };
206
- size: {
207
- xxs: {
208
- padding: "4";
209
- };
210
- xs: {
211
- padding: "8";
212
- };
213
- sm: {
214
- padding: "4";
215
- };
216
- md: {
217
- padding: "8";
218
- };
219
- lg: {
220
- padding: "12";
221
- };
222
- };
223
- }>;
224
- colorButton: import('@chakra-ui/react').RecipeDefinition<{
225
- size: {
226
- sm: {
227
- height: "32";
228
- paddingInline: "12";
229
- textStyle: "comp/button/sm";
230
- };
231
- md: {
232
- height: "40";
233
- paddingInline: "12";
234
- textStyle: "comp/button/md";
235
- };
236
- lg: {
237
- height: "48";
238
- paddingInline: "16";
239
- textStyle: "comp/button/lg";
240
- };
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/15";
329
- };
330
- '&:active': {
331
- backgroundColor: "color/white/30";
332
- };
333
- };
334
- };
335
- }>;
336
- definitionTooltip: import('@chakra-ui/react').RecipeDefinition<{
337
- method: {
338
- click: {
339
- cursor: "pointer";
340
- };
341
- hover: {
342
- cursor: "default";
343
- };
344
- };
345
- textSize: {
346
- lg: {
347
- textStyle: "body/lg/regular";
348
- };
349
- md: {
350
- textStyle: "body/md/regular";
351
- textUnderlineOffset: "0.25em";
352
- };
353
- sm: {
354
- textStyle: "body/sm/regular";
355
- textUnderlineOffset: "0.25em";
356
- };
357
- };
358
- }>;
359
- icon: import('@chakra-ui/react').RecipeDefinition<import('@chakra-ui/react').RecipeVariantRecord>;
360
- input: import('@chakra-ui/react').RecipeDefinition<{
361
- size: {
362
- md: {
363
- paddingInline: `${number}rem`;
364
- paddingBlock: `${number}rem`;
365
- textStyle: "body/md/regular";
366
- '--input-height': `${number}rem`;
367
- };
368
- lg: {
369
- paddingInline: `${number}rem`;
370
- paddingBlock: `${number}rem`;
371
- textStyle: "body/lg/regular";
372
- '--input-height': `${number}rem`;
373
- };
374
- };
375
- }>;
376
- inputAddon: import('@chakra-ui/react').RecipeDefinition<{
377
- position: {
378
- start: {
379
- borderInlineStartWidth: "1";
380
- borderStartStartRadius: "4";
381
- borderEndStartRadius: "4";
382
- };
383
- end: {
384
- borderInlineWidth: "1";
385
- borderStartEndRadius: "4";
386
- borderEndEndRadius: "4";
387
- };
388
- };
389
- size: {
390
- md: {
391
- paddingInline: `${number}rem`;
392
- textStyle: "body/md/regular";
393
- };
394
- lg: {
395
- paddingInline: `${number}rem`;
396
- textStyle: "body/lg/regular";
397
- };
398
- };
399
- }>;
400
- link: import('@chakra-ui/react').RecipeDefinition<{
401
- colorVariant: {
402
- purple: {
403
- color: "text/link";
404
- _hover: {
405
- color: "text/link-hover";
406
- };
407
- };
408
- };
409
- }>;
410
- linkButton: import('@chakra-ui/react').RecipeDefinition<{
411
- size: {
412
- lg: {
413
- textStyle: "body/lg/regular";
414
- };
415
- md: {
416
- textStyle: "body/md/regular";
417
- };
418
- sm: {
419
- textStyle: "body/sm/regular";
420
- };
421
- };
422
- }>;
423
- selectableTag: import('@chakra-ui/react').RecipeDefinition<import('@chakra-ui/react').RecipeVariantRecord>;
424
- separator: import('@chakra-ui/react').RecipeDefinition<{
425
- variant: {};
426
- orientation: {
427
- horizontal: {
428
- borderTopWidth: "var(--separator-thickness)";
429
- width: "100%";
430
- };
431
- vertical: {
432
- borderInlineStartWidth: "var(--separator-thickness)";
433
- minHeight: "20";
434
- };
435
- };
436
- size: {
437
- '1': {
438
- '--separator-thickness': "1px";
439
- };
440
- '2': {
441
- '--separator-thickness': "2px";
442
- };
443
- };
444
- }>;
445
- skeleton: import('@chakra-ui/react').RecipeDefinition<{
446
- loading: {
447
- true: {
448
- position: "relative";
449
- overflow: "hidden";
450
- backgroundColor: "utilities/skeleton";
451
- borderColor: "transparent";
452
- backgroundClip: "padding-box";
453
- cursor: "default";
454
- color: "transparent";
455
- pointerEvents: "none";
456
- userSelect: "none";
457
- flexShrink: "0";
458
- '&::before, *': {
459
- visibility: "hidden";
460
- };
461
- '&::after': import('@chakra-ui/react').SystemStyleObject;
462
- };
463
- false: {
464
- animation: "fade-in var(--fade-duration, 0.1s) ease-out !important";
465
- };
466
- };
467
- }>;
468
- spinner: import('@chakra-ui/react').RecipeDefinition<{
469
- size: {
470
- md: {
471
- '--spinner-size': "sizes.12";
472
- };
473
- lg: {
474
- '--spinner-size': "sizes.20";
475
- };
476
- };
477
- variant: {
478
- primary: {
479
- '--spinner-color': "colors.icon/primary";
480
- };
481
- purple: {
482
- '--spinner-color': "colors.color/purple/strong";
483
- };
484
- white: {
485
- '--spinner-color': "colors.icon/on-color";
486
- };
487
- 'on-disabled': {
488
- '--spinner-color': "colors.icon/on-disabled";
489
- };
490
- };
491
- }>;
492
- textarea: import('@chakra-ui/react').RecipeDefinition<{
493
- size: {
494
- md: {
495
- '&[rows="1"]': {
496
- paddingBlock: `${number}rem`;
497
- };
498
- paddingInline: `${number}rem`;
499
- paddingBlock: `${number}rem`;
500
- textStyle: "body/md/regular";
501
- '--input-height': `${number}rem`;
502
- };
503
- lg: {
504
- paddingInline: `${number}rem`;
505
- paddingBlock: `${number}rem`;
506
- textStyle: "body/lg/regular";
507
- '--input-height': `${number}rem`;
508
- };
509
- };
510
- }>;
511
- toggleButton: import('@chakra-ui/react').RecipeDefinition<{
512
- size: {
513
- sm: {
514
- padding: "8";
515
- };
516
- md: {
517
- padding: "12";
518
- };
519
- lg: {
520
- padding: "12";
521
- };
522
- };
523
- }>;
524
- };
525
- export default recipes;