@bitrise/bitkit-v2 0.3.477-beta.3026 → 0.3.477

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 (46) hide show
  1. package/dist/components/BitkitSteps/BitkitSteps.d.ts +2 -0
  2. package/dist/components/BitkitSteps/BitkitSteps.js +9 -4
  3. package/dist/components/BitkitSteps/BitkitSteps.js.map +1 -1
  4. package/dist/components/index.d.ts +0 -1
  5. package/dist/main.js +1 -3
  6. package/dist/theme/recipes/index.d.ts +525 -0
  7. package/dist/theme/recipes/index.js +1 -3
  8. package/dist/theme/recipes/index.js.map +1 -1
  9. package/dist/theme/slot-recipes/Steps.recipe.js +1 -1
  10. package/dist/theme/slot-recipes/Steps.recipe.js.map +1 -1
  11. package/dist/theme/slot-recipes/index.d.ts +0 -1
  12. package/dist/theme/slot-recipes/index.js +0 -2
  13. package/dist/theme/slot-recipes/index.js.map +1 -1
  14. package/dist/theme/themeUtils.d.ts +0 -6
  15. package/dist/theme/themeUtils.js +1 -7
  16. package/dist/theme/themeUtils.js.map +1 -1
  17. package/package.json +1 -1
  18. package/dist/components/BitkitUIHeader/BitkitUIHeader.d.ts +0 -37
  19. package/dist/components/BitkitUIHeader/BitkitUIHeader.js +0 -99
  20. package/dist/components/BitkitUIHeader/BitkitUIHeader.js.map +0 -1
  21. package/dist/components/BitkitUIHeader/BitriseLogo.d.ts +0 -10
  22. package/dist/components/BitkitUIHeader/BitriseLogo.js +0 -86
  23. package/dist/components/BitkitUIHeader/BitriseLogo.js.map +0 -1
  24. package/dist/components/BitkitUIHeader/UIHeaderAccount.d.ts +0 -22
  25. package/dist/components/BitkitUIHeader/UIHeaderAccount.js +0 -38
  26. package/dist/components/BitkitUIHeader/UIHeaderAccount.js.map +0 -1
  27. package/dist/components/BitkitUIHeader/UIHeaderButton.d.ts +0 -33
  28. package/dist/components/BitkitUIHeader/UIHeaderButton.js +0 -41
  29. package/dist/components/BitkitUIHeader/UIHeaderButton.js.map +0 -1
  30. package/dist/components/BitkitUIHeader/UIHeaderContext.d.ts +0 -13
  31. package/dist/components/BitkitUIHeader/UIHeaderContext.js +0 -11
  32. package/dist/components/BitkitUIHeader/UIHeaderContext.js.map +0 -1
  33. package/dist/components/BitkitUIHeader/UIHeaderControl.d.ts +0 -67
  34. package/dist/components/BitkitUIHeader/UIHeaderControl.js +0 -65
  35. package/dist/components/BitkitUIHeader/UIHeaderControl.js.map +0 -1
  36. package/dist/components/BitkitUIHeader/UIHeaderNavButton.d.ts +0 -20
  37. package/dist/components/BitkitUIHeader/UIHeaderNavButton.js +0 -46
  38. package/dist/components/BitkitUIHeader/UIHeaderNavButton.js.map +0 -1
  39. package/dist/components/BitkitUIHeader/UIHeaderSearch.d.ts +0 -32
  40. package/dist/components/BitkitUIHeader/UIHeaderSearch.js +0 -107
  41. package/dist/components/BitkitUIHeader/UIHeaderSearch.js.map +0 -1
  42. package/dist/theme/recipes/UIHeaderButton.recipe.js +0 -103
  43. package/dist/theme/recipes/UIHeaderButton.recipe.js.map +0 -1
  44. package/dist/theme/slot-recipes/UIHeader.recipe.d.ts +0 -3
  45. package/dist/theme/slot-recipes/UIHeader.recipe.js +0 -229
  46. package/dist/theme/slot-recipes/UIHeader.recipe.js.map +0 -1
@@ -11,6 +11,8 @@ export interface BitkitStepsProps extends Omit<StepsRootProps, 'children' | 'cou
11
11
  * The collapse is a CSS media query, so narrowing a wrapper does not trigger it.
12
12
  */
13
13
  orientation?: 'horizontal' | 'vertical';
14
+ /** The step whose label is emphasized; defaults to `step`. */
15
+ selectedStep?: number;
14
16
  step?: number;
15
17
  }
16
18
  export interface BitkitStepsItemProps {
@@ -41,9 +41,10 @@ var renderLabel = (label, action) => {
41
41
  });
42
42
  };
43
43
  var BitkitSteps = forwardRef((props, ref) => {
44
- const { children, orientation = "horizontal", step: stepProp, ...rest } = props;
44
+ const { children, orientation = "horizontal", selectedStep, step: stepProp, ...rest } = props;
45
45
  const stepCardCtx = useStepCardContext();
46
46
  const step = stepProp ?? stepCardCtx?.step ?? 0;
47
+ const selected = selectedStep ?? step;
47
48
  const count = Children.count(children);
48
49
  return /* @__PURE__ */ jsx(Steps.Root, {
49
50
  ref,
@@ -53,17 +54,20 @@ var BitkitSteps = forwardRef((props, ref) => {
53
54
  orientation,
54
55
  step,
55
56
  children: /* @__PURE__ */ jsx(Steps.List, { children: Children.map(children, (child, index) => {
56
- if (isValidElement(child)) return cloneElement(child, { _index: index });
57
+ if (isValidElement(child)) return cloneElement(child, {
58
+ _index: index,
59
+ _selected: index === selected
60
+ });
57
61
  return child;
58
62
  }) })
59
63
  });
60
64
  });
61
65
  BitkitSteps.displayName = "BitkitSteps";
62
66
  var BitkitStepsItem = forwardRef((props, ref) => {
63
- const { _index = 0, action, helperText, label, state } = props;
67
+ const { _index = 0, _selected = false, action, helperText, label, state } = props;
64
68
  const styles = useStepsStyles();
65
69
  const status = getEffectiveStatus(state, _index, useStepsContext().value);
66
- const resolvedAction = status === "completed" ? action : void 0;
70
+ const resolvedAction = (status === "completed" || status === "inProgress") && !_selected ? action : void 0;
67
71
  const statusAttr = { "data-step-status": status };
68
72
  return /* @__PURE__ */ jsxs(Steps.Item, {
69
73
  ...statusAttr,
@@ -78,6 +82,7 @@ var BitkitStepsItem = forwardRef((props, ref) => {
78
82
  css: styles.trigger,
79
83
  children: [/* @__PURE__ */ jsx(Steps.Title, {
80
84
  ...statusAttr,
85
+ "data-selected": _selected || void 0,
81
86
  children: renderLabel(label, resolvedAction)
82
87
  }), helperText && /* @__PURE__ */ jsx(Steps.Description, {
83
88
  ...statusAttr,
@@ -1 +1 @@
1
- {"version":3,"file":"BitkitSteps.js","names":[],"sources":["../../../lib/components/BitkitSteps/BitkitSteps.tsx"],"sourcesContent":["import { Box } from '@chakra-ui/react/box';\nimport { Link } from '@chakra-ui/react/link';\nimport { Steps, type StepsRootProps, useStepsContext, useStepsStyles } from '@chakra-ui/react/steps';\nimport { Children, cloneElement, forwardRef, isValidElement, type ReactElement, type ReactNode } from 'react';\n\nimport IconCheck from '../../icons/IconCheck';\nimport IconSkip from '../../icons/IconSkip';\nimport { withSubComponents } from '../../utilities/withSubComponents';\nimport { useStepCardContext } from '../BitkitStepsCard/StepCardContext';\n\nexport type BitkitStepsItemState = 'disabled' | 'invalid' | 'skippable';\n\ntype EffectiveStatus = 'completed' | 'disabled' | 'inProgress' | 'invalid' | 'notStarted' | 'skippable' | 'skipped';\n\nconst getEffectiveStatus = (\n itemState: BitkitStepsItemState | undefined,\n index: number,\n step: number,\n): EffectiveStatus => {\n if (itemState === 'disabled') return 'disabled';\n if (itemState === 'invalid') return 'invalid';\n if (itemState === 'skippable') return index < step ? 'skipped' : 'skippable';\n if (index < step) return 'completed';\n if (index === step) return 'inProgress';\n return 'notStarted';\n};\n\nconst renderIndicatorContent = (index: number, status: EffectiveStatus) => {\n if (status === 'completed') return <IconCheck size=\"16\" />;\n if (status === 'skippable' || status === 'skipped') return <IconSkip size=\"16\" />;\n if (status === 'invalid') return '!';\n return index + 1;\n};\n\nconst renderLabel = (label: string, action: BitkitStepsItemProps['action']) => {\n if (!action) return label;\n\n // Links don't look like links at rest — only the underline + purple color on hover reveals\n // them. Intentional: this is a power-user affordance on the step title. The base Link recipe\n // already adds the underline on hover; we only need to swap the color.\n if (action.href) {\n return (\n <Link\n _hover={{ color: 'text/link' }}\n href={action.href}\n onClick={action.onClick}\n rel={action.isExternal ? 'noopener noreferrer' : undefined}\n target={action.isExternal ? '_blank' : undefined}\n >\n {label}\n </Link>\n );\n }\n\n return (\n <Link _hover={{ color: 'text/link' }} as=\"button\" onClick={action.onClick} type=\"button\">\n {label}\n </Link>\n );\n};\n\nexport interface BitkitStepsProps extends Omit<\n StepsRootProps,\n 'children' | 'count' | 'linear' | 'orientation' | 'step'\n> {\n children: ReactNode;\n /**\n * `horizontal` is a row of steps from `tablet` (848px) up and stacks into the `vertical` layout\n * below it, where a row has no room — the `StepsCard - mobile` frame's header is this collapsed\n * state. `vertical` stays vertical at every width.\n *\n * The collapse is a CSS media query, so narrowing a wrapper does not trigger it.\n */\n orientation?: 'horizontal' | 'vertical';\n step?: number;\n}\n\nconst BitkitSteps = forwardRef<HTMLDivElement, BitkitStepsProps>((props, ref) => {\n const { children, orientation = 'horizontal', step: stepProp, ...rest } = props;\n const stepCardCtx = useStepCardContext();\n const step = stepProp ?? stepCardCtx?.step ?? 0;\n const count = Children.count(children);\n\n return (\n <Steps.Root ref={ref} {...rest} count={count} linear={false} orientation={orientation} step={step}>\n <Steps.List>\n {Children.map(children, (child, index) => {\n if (isValidElement(child)) {\n return cloneElement(child as ReactElement<BitkitStepsItemInternalProps>, { _index: index });\n }\n return child;\n })}\n </Steps.List>\n </Steps.Root>\n );\n});\n\nBitkitSteps.displayName = 'BitkitSteps';\n\nexport interface BitkitStepsItemProps {\n action?: {\n href?: string;\n isExternal?: boolean;\n onClick?: () => void;\n };\n /**\n * A second line under the label. It belongs to the stacked layout: a `vertical` list shows it at\n * every width, a `horizontal` one only below `tablet`, where it has collapsed into that layout.\n */\n helperText?: ReactNode;\n label: string;\n state?: BitkitStepsItemState;\n}\n\ninterface BitkitStepsItemInternalProps extends BitkitStepsItemProps {\n _index?: number;\n}\n\nconst BitkitStepsItem = forwardRef<HTMLDivElement, BitkitStepsItemProps>((props, ref) => {\n const { _index = 0, action, helperText, label, state } = props as BitkitStepsItemInternalProps;\n\n const styles = useStepsStyles();\n const stepsCtx = useStepsContext();\n const status = getEffectiveStatus(state, _index, stepsCtx.value);\n const resolvedAction = status === 'completed' ? action : undefined;\n const statusAttr = { 'data-step-status': status };\n\n return (\n <Steps.Item {...statusAttr} index={_index} ref={ref}>\n <Steps.Indicator {...statusAttr}>{renderIndicatorContent(_index, status)}</Steps.Indicator>\n <Box css={styles.trigger}>\n <Steps.Title {...statusAttr}>{renderLabel(label, resolvedAction)}</Steps.Title>\n {helperText && <Steps.Description {...statusAttr}>{helperText}</Steps.Description>}\n </Box>\n <Steps.Separator />\n </Steps.Item>\n );\n});\n\nBitkitStepsItem.displayName = 'BitkitStepsItem';\n\nexport default withSubComponents(BitkitSteps, { Item: BitkitStepsItem });\n"],"mappings":";;;;;;;;;;AAcA,IAAM,sBACJ,WACA,OACA,SACoB;CACpB,IAAI,cAAc,YAAY,OAAO;CACrC,IAAI,cAAc,WAAW,OAAO;CACpC,IAAI,cAAc,aAAa,OAAO,QAAQ,OAAO,YAAY;CACjE,IAAI,QAAQ,MAAM,OAAO;CACzB,IAAI,UAAU,MAAM,OAAO;CAC3B,OAAO;AACT;AAEA,IAAM,0BAA0B,OAAe,WAA4B;CACzE,IAAI,WAAW,aAAa,OAAO,oBAAC,WAAD,EAAW,MAAK,KAAM,CAAA;CACzD,IAAI,WAAW,eAAe,WAAW,WAAW,OAAO,oBAAC,UAAD,EAAU,MAAK,KAAM,CAAA;CAChF,IAAI,WAAW,WAAW,OAAO;CACjC,OAAO,QAAQ;AACjB;AAEA,IAAM,eAAe,OAAe,WAA2C;CAC7E,IAAI,CAAC,QAAQ,OAAO;CAKpB,IAAI,OAAO,MACT,OACE,oBAAC,MAAD;EACE,QAAQ,EAAE,OAAO,YAAY;EAC7B,MAAM,OAAO;EACb,SAAS,OAAO;EAChB,KAAK,OAAO,aAAa,wBAAwB,KAAA;EACjD,QAAQ,OAAO,aAAa,WAAW,KAAA;EAEtC,UAAA;CACG,CAAA;CAIV,OACE,oBAAC,MAAD;EAAM,QAAQ,EAAE,OAAO,YAAY;EAAG,IAAG;EAAS,SAAS,OAAO;EAAS,MAAK;EAC7E,UAAA;CACG,CAAA;AAEV;AAkBA,IAAM,cAAc,YAA8C,OAAO,QAAQ;CAC/E,MAAM,EAAE,UAAU,cAAc,cAAc,MAAM,UAAU,GAAG,SAAS;CAC1E,MAAM,cAAc,mBAAmB;CACvC,MAAM,OAAO,YAAY,aAAa,QAAQ;CAC9C,MAAM,QAAQ,SAAS,MAAM,QAAQ;CAErC,OACE,oBAAC,MAAM,MAAP;EAAiB;EAAK,GAAI;EAAa;EAAO,QAAQ;EAAoB;EAAmB;EAC3F,UAAA,oBAAC,MAAM,MAAP,EAAA,UACG,SAAS,IAAI,WAAW,OAAO,UAAU;GACxC,IAAI,eAAe,KAAK,GACtB,OAAO,aAAa,OAAqD,EAAE,QAAQ,MAAM,CAAC;GAE5F,OAAO;EACT,CAAC,EACS,CAAA;CACF,CAAA;AAEhB,CAAC;AAED,YAAY,cAAc;AAqB1B,IAAM,kBAAkB,YAAkD,OAAO,QAAQ;CACvF,MAAM,EAAE,SAAS,GAAG,QAAQ,YAAY,OAAO,UAAU;CAEzD,MAAM,SAAS,eAAe;CAE9B,MAAM,SAAS,mBAAmB,OAAO,QADxB,gBACgC,CAAA,CAAS,KAAK;CAC/D,MAAM,iBAAiB,WAAW,cAAc,SAAS,KAAA;CACzD,MAAM,aAAa,EAAE,oBAAoB,OAAO;CAEhD,OACE,qBAAC,MAAM,MAAP;EAAY,GAAI;EAAY,OAAO;EAAa;EAAhD,UAAA;GACE,oBAAC,MAAM,WAAP;IAAiB,GAAI;IAAa,UAAA,uBAAuB,QAAQ,MAAM;GAAmB,CAAA;GAC1F,qBAAC,KAAD;IAAK,KAAK,OAAO;IAAjB,UAAA,CACE,oBAAC,MAAM,OAAP;KAAa,GAAI;KAAa,UAAA,YAAY,OAAO,cAAc;IAAe,CAAA,GAC7E,cAAc,oBAAC,MAAM,aAAP;KAAmB,GAAI;KAAa,UAAA;IAA8B,CAAA,CAC9E;;GACL,oBAAC,MAAM,WAAP,CAAkB,CAAA;EACR;;AAEhB,CAAC;AAED,gBAAgB,cAAc;AAE9B,IAAA,sBAAe,kBAAkB,aAAa,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"BitkitSteps.js","names":[],"sources":["../../../lib/components/BitkitSteps/BitkitSteps.tsx"],"sourcesContent":["import { Box } from '@chakra-ui/react/box';\nimport { Link } from '@chakra-ui/react/link';\nimport { Steps, type StepsRootProps, useStepsContext, useStepsStyles } from '@chakra-ui/react/steps';\nimport { Children, cloneElement, forwardRef, isValidElement, type ReactElement, type ReactNode } from 'react';\n\nimport IconCheck from '../../icons/IconCheck';\nimport IconSkip from '../../icons/IconSkip';\nimport { withSubComponents } from '../../utilities/withSubComponents';\nimport { useStepCardContext } from '../BitkitStepsCard/StepCardContext';\n\nexport type BitkitStepsItemState = 'disabled' | 'invalid' | 'skippable';\n\ntype EffectiveStatus = 'completed' | 'disabled' | 'inProgress' | 'invalid' | 'notStarted' | 'skippable' | 'skipped';\n\nconst getEffectiveStatus = (\n itemState: BitkitStepsItemState | undefined,\n index: number,\n step: number,\n): EffectiveStatus => {\n if (itemState === 'disabled') return 'disabled';\n if (itemState === 'invalid') return 'invalid';\n if (itemState === 'skippable') return index < step ? 'skipped' : 'skippable';\n if (index < step) return 'completed';\n if (index === step) return 'inProgress';\n return 'notStarted';\n};\n\nconst renderIndicatorContent = (index: number, status: EffectiveStatus) => {\n if (status === 'completed') return <IconCheck size=\"16\" />;\n if (status === 'skippable' || status === 'skipped') return <IconSkip size=\"16\" />;\n if (status === 'invalid') return '!';\n return index + 1;\n};\n\nconst renderLabel = (label: string, action: BitkitStepsItemProps['action']) => {\n if (!action) return label;\n\n // Links don't look like links at rest — only the underline + purple color on hover reveals\n // them. Intentional: this is a power-user affordance on the step title. The base Link recipe\n // already adds the underline on hover; we only need to swap the color.\n if (action.href) {\n return (\n <Link\n _hover={{ color: 'text/link' }}\n href={action.href}\n onClick={action.onClick}\n rel={action.isExternal ? 'noopener noreferrer' : undefined}\n target={action.isExternal ? '_blank' : undefined}\n >\n {label}\n </Link>\n );\n }\n\n return (\n <Link _hover={{ color: 'text/link' }} as=\"button\" onClick={action.onClick} type=\"button\">\n {label}\n </Link>\n );\n};\n\nexport interface BitkitStepsProps extends Omit<\n StepsRootProps,\n 'children' | 'count' | 'linear' | 'orientation' | 'step'\n> {\n children: ReactNode;\n /**\n * `horizontal` is a row of steps from `tablet` (848px) up and stacks into the `vertical` layout\n * below it, where a row has no room — the `StepsCard - mobile` frame's header is this collapsed\n * state. `vertical` stays vertical at every width.\n *\n * The collapse is a CSS media query, so narrowing a wrapper does not trigger it.\n */\n orientation?: 'horizontal' | 'vertical';\n /** The step whose label is emphasized; defaults to `step`. */\n selectedStep?: number;\n step?: number;\n}\n\nconst BitkitSteps = forwardRef<HTMLDivElement, BitkitStepsProps>((props, ref) => {\n const { children, orientation = 'horizontal', selectedStep, step: stepProp, ...rest } = props;\n const stepCardCtx = useStepCardContext();\n const step = stepProp ?? stepCardCtx?.step ?? 0;\n const selected = selectedStep ?? step;\n const count = Children.count(children);\n\n return (\n <Steps.Root ref={ref} {...rest} count={count} linear={false} orientation={orientation} step={step}>\n <Steps.List>\n {Children.map(children, (child, index) => {\n if (isValidElement(child)) {\n return cloneElement(child as ReactElement<BitkitStepsItemInternalProps>, {\n _index: index,\n _selected: index === selected,\n });\n }\n return child;\n })}\n </Steps.List>\n </Steps.Root>\n );\n});\n\nBitkitSteps.displayName = 'BitkitSteps';\n\nexport interface BitkitStepsItemProps {\n action?: {\n href?: string;\n isExternal?: boolean;\n onClick?: () => void;\n };\n /**\n * A second line under the label. It belongs to the stacked layout: a `vertical` list shows it at\n * every width, a `horizontal` one only below `tablet`, where it has collapsed into that layout.\n */\n helperText?: ReactNode;\n label: string;\n state?: BitkitStepsItemState;\n}\n\ninterface BitkitStepsItemInternalProps extends BitkitStepsItemProps {\n _index?: number;\n _selected?: boolean;\n}\n\nconst BitkitStepsItem = forwardRef<HTMLDivElement, BitkitStepsItemProps>((props, ref) => {\n const { _index = 0, _selected = false, action, helperText, label, state } = props as BitkitStepsItemInternalProps;\n\n const styles = useStepsStyles();\n const stepsCtx = useStepsContext();\n const status = getEffectiveStatus(state, _index, stepsCtx.value);\n const isReached = status === 'completed' || status === 'inProgress';\n const resolvedAction = isReached && !_selected ? action : undefined;\n const statusAttr = { 'data-step-status': status };\n\n return (\n <Steps.Item {...statusAttr} index={_index} ref={ref}>\n <Steps.Indicator {...statusAttr}>{renderIndicatorContent(_index, status)}</Steps.Indicator>\n <Box css={styles.trigger}>\n <Steps.Title {...statusAttr} data-selected={_selected || undefined}>\n {renderLabel(label, resolvedAction)}\n </Steps.Title>\n {helperText && <Steps.Description {...statusAttr}>{helperText}</Steps.Description>}\n </Box>\n <Steps.Separator />\n </Steps.Item>\n );\n});\n\nBitkitStepsItem.displayName = 'BitkitStepsItem';\n\nexport default withSubComponents(BitkitSteps, { Item: BitkitStepsItem });\n"],"mappings":";;;;;;;;;;AAcA,IAAM,sBACJ,WACA,OACA,SACoB;CACpB,IAAI,cAAc,YAAY,OAAO;CACrC,IAAI,cAAc,WAAW,OAAO;CACpC,IAAI,cAAc,aAAa,OAAO,QAAQ,OAAO,YAAY;CACjE,IAAI,QAAQ,MAAM,OAAO;CACzB,IAAI,UAAU,MAAM,OAAO;CAC3B,OAAO;AACT;AAEA,IAAM,0BAA0B,OAAe,WAA4B;CACzE,IAAI,WAAW,aAAa,OAAO,oBAAC,WAAD,EAAW,MAAK,KAAM,CAAA;CACzD,IAAI,WAAW,eAAe,WAAW,WAAW,OAAO,oBAAC,UAAD,EAAU,MAAK,KAAM,CAAA;CAChF,IAAI,WAAW,WAAW,OAAO;CACjC,OAAO,QAAQ;AACjB;AAEA,IAAM,eAAe,OAAe,WAA2C;CAC7E,IAAI,CAAC,QAAQ,OAAO;CAKpB,IAAI,OAAO,MACT,OACE,oBAAC,MAAD;EACE,QAAQ,EAAE,OAAO,YAAY;EAC7B,MAAM,OAAO;EACb,SAAS,OAAO;EAChB,KAAK,OAAO,aAAa,wBAAwB,KAAA;EACjD,QAAQ,OAAO,aAAa,WAAW,KAAA;EAEtC,UAAA;CACG,CAAA;CAIV,OACE,oBAAC,MAAD;EAAM,QAAQ,EAAE,OAAO,YAAY;EAAG,IAAG;EAAS,SAAS,OAAO;EAAS,MAAK;EAC7E,UAAA;CACG,CAAA;AAEV;AAoBA,IAAM,cAAc,YAA8C,OAAO,QAAQ;CAC/E,MAAM,EAAE,UAAU,cAAc,cAAc,cAAc,MAAM,UAAU,GAAG,SAAS;CACxF,MAAM,cAAc,mBAAmB;CACvC,MAAM,OAAO,YAAY,aAAa,QAAQ;CAC9C,MAAM,WAAW,gBAAgB;CACjC,MAAM,QAAQ,SAAS,MAAM,QAAQ;CAErC,OACE,oBAAC,MAAM,MAAP;EAAiB;EAAK,GAAI;EAAa;EAAO,QAAQ;EAAoB;EAAmB;EAC3F,UAAA,oBAAC,MAAM,MAAP,EAAA,UACG,SAAS,IAAI,WAAW,OAAO,UAAU;GACxC,IAAI,eAAe,KAAK,GACtB,OAAO,aAAa,OAAqD;IACvE,QAAQ;IACR,WAAW,UAAU;GACvB,CAAC;GAEH,OAAO;EACT,CAAC,EACS,CAAA;CACF,CAAA;AAEhB,CAAC;AAED,YAAY,cAAc;AAsB1B,IAAM,kBAAkB,YAAkD,OAAO,QAAQ;CACvF,MAAM,EAAE,SAAS,GAAG,YAAY,OAAO,QAAQ,YAAY,OAAO,UAAU;CAE5E,MAAM,SAAS,eAAe;CAE9B,MAAM,SAAS,mBAAmB,OAAO,QADxB,gBACgC,CAAA,CAAS,KAAK;CAE/D,MAAM,kBADY,WAAW,eAAe,WAAW,iBACnB,CAAC,YAAY,SAAS,KAAA;CAC1D,MAAM,aAAa,EAAE,oBAAoB,OAAO;CAEhD,OACE,qBAAC,MAAM,MAAP;EAAY,GAAI;EAAY,OAAO;EAAa;EAAhD,UAAA;GACE,oBAAC,MAAM,WAAP;IAAiB,GAAI;IAAa,UAAA,uBAAuB,QAAQ,MAAM;GAAmB,CAAA;GAC1F,qBAAC,KAAD;IAAK,KAAK,OAAO;IAAjB,UAAA,CACE,oBAAC,MAAM,OAAP;KAAa,GAAI;KAAY,iBAAe,aAAa,KAAA;KACtD,UAAA,YAAY,OAAO,cAAc;IACvB,CAAA,GACZ,cAAc,oBAAC,MAAM,aAAP;KAAmB,GAAI;KAAa,UAAA;IAA8B,CAAA,CAC9E;;GACL,oBAAC,MAAM,WAAP,CAAkB,CAAA;EACR;;AAEhB,CAAC;AAED,gBAAgB,cAAc;AAE9B,IAAA,sBAAe,kBAAkB,aAAa,EAAE,MAAM,gBAAgB,CAAC"}
@@ -94,6 +94,5 @@ export { default as BitkitToggletip, type BitkitToggletipProps } from './BitkitT
94
94
  export { default as BitkitTooltip, type BitkitTooltipProps } from './BitkitTooltip/BitkitTooltip';
95
95
  export { default as BitkitTour, type BitkitTourInstance, type BitkitTourOptions, type BitkitTourProps, type BitkitTourSecondaryAction, type BitkitTourStep, useBitkitTour, } from './BitkitTour/BitkitTour';
96
96
  export { default as BitkitTreeView, type BitkitTreeViewBranchProps, type BitkitTreeViewExpandedChangeDetails, type BitkitTreeViewLeafProps, type BitkitTreeViewNodeRenderProps, type BitkitTreeViewRootProps, type BitkitTreeViewSelectionChangeDetails, createTreeCollection, } from './BitkitTreeView/BitkitTreeView';
97
- export { default as BitkitUIHeader, type BitkitUIHeaderAccountProps, type BitkitUIHeaderButtonProps, type BitkitUIHeaderControlAsAnchorProps, type BitkitUIHeaderControlAsButtonProps, type BitkitUIHeaderControlProps, type BitkitUIHeaderNavButtonProps, type BitkitUIHeaderProps, type BitkitUIHeaderSearchProps, uiHeaderHeight, } from './BitkitUIHeader/BitkitUIHeader';
98
97
  export { default as BitkitUISideNav, type BitkitUISideNavBodyProps, type BitkitUISideNavFooterHeadingProps, type BitkitUISideNavFooterProps, type BitkitUISideNavItemProps, type BitkitUISideNavLinkAsAnchorProps, type BitkitUISideNavLinkAsButtonProps, type BitkitUISideNavLinkProps, type BitkitUISideNavProps, type BitkitUISideNavWorkspaceProps, type BitkitUISideNavWorkspaceSelectorProps, uiSideNavRailWidth, } from './BitkitUISideNav/BitkitUISideNav';
99
98
  export { useUISideNav } from './BitkitUISideNav/UISideNavContext';
package/dist/main.js CHANGED
@@ -383,12 +383,10 @@ import createBitkitToast, { dismissBitkitToast } from "./components/BitkitToast/
383
383
  import BitkitToggleButton from "./components/BitkitToggleButton/BitkitToggleButton.js";
384
384
  import BitkitTour, { useBitkitTour } from "./components/BitkitTour/BitkitTour.js";
385
385
  import BitkitTreeView, { createTreeCollection } from "./components/BitkitTreeView/BitkitTreeView.js";
386
- import { uiHeaderHeight } from "./theme/slot-recipes/UIHeader.recipe.js";
387
- import BitkitUIHeader_default from "./components/BitkitUIHeader/BitkitUIHeader.js";
388
386
  import useResponsive, { ResponsiveProvider } from "./hooks/useResponsive.js";
389
387
  import { useUISideNav } from "./components/BitkitUISideNav/UISideNavContext.js";
390
388
  import { uiSideNavRailWidth } from "./theme/slot-recipes/UISideNav.recipe.js";
391
389
  import BitkitUISideNav_default from "./components/BitkitUISideNav/BitkitUISideNav.js";
392
390
  import bitkitTheme from "./theme/index.js";
393
391
  import Provider from "./providers/BitkitProvider.js";
394
- export { BitkitAccordion_default as BitkitAccordion, BitkitActionBar, BitkitActionMenu_default as BitkitActionMenu, BitkitAlert, BitkitAvatar, BitkitBadge, BitkitBreadcrumb, BitkitButton, BitkitCalendar, BitkitCheckbox, BitkitCheckboxGroup, BitkitCloseButton, BitkitCodeSnippet, BitkitCollapsible, BitkitColorButton, BitkitCombobox_default as BitkitCombobox, BitkitControlButton, BitkitDataWidget, BitkitDatePicker, BitkitDefinitionTooltip, BitkitDialog_default as BitkitDialog, BitkitDraggableCard, BitkitDrawer, BitkitEmptyState, BitkitExpandableCard, BitkitField, BitkitFileInput, BitkitFormDialog_default as BitkitFormDialog, BitkitGroupHeading, BitkitHeading, BitkitIconButton, BitkitInlineLoading, BitkitLabel, BitkitLabelTooltip, BitkitLabeledData, BitkitLightbox, BitkitLink, BitkitLinkButton, BitkitList_default as BitkitList, BitkitMarkdown, BitkitMarkdownCard, BitkitMultiselect_default as BitkitMultiselect, BitkitMultiselectMenu, BitkitNativeSelect, BitkitNoteCard, BitkitNumberInput, BitkitOverflowContent, BitkitOverflowTooltip, BitkitPageFooter_default as BitkitPageFooter, BitkitPageHeader, BitkitPageSidebar_default as BitkitPageSidebar, BitkitPagination, BitkitPaginationLoadMore, BitkitPopover, BitkitProgressBar, BitkitPromoBanner, Provider as BitkitProvider, BitkitRadio, BitkitRadioGroup, BitkitRibbon, BitkitSearchInput, BitkitSectionHeading, BitkitSegmentedControl_default as BitkitSegmentedControl, BitkitSelect_default as BitkitSelect, BitkitSelectMenu, BitkitSelectMenuAction, BitkitSelectableTag_default as BitkitSelectableTag, BitkitSettingsCard_default as BitkitSettingsCard, BitkitSkeletonGroup, BitkitSpinner, BitkitSplitButton_default as BitkitSplitButton, BitkitStat, BitkitSteps_default as BitkitSteps, BitkitStepsCard_default as BitkitStepsCard, BitkitStepsDialog_default as BitkitStepsDialog, BitkitSwitch, BitkitTable, BitkitTableCard, BitkitTabs, BitkitTag, BitkitTagsInput, BitkitTextArea, BitkitTextInput, BitkitToggleButton, BitkitToggletip, BitkitTooltip, BitkitTour, BitkitTreeView, BitkitUIHeader_default as BitkitUIHeader, BitkitUISideNav_default as BitkitUISideNav, IconAbortCircle, IconAbortCircleFilled, IconAddons, IconAgent, IconAnchor, IconAndroid, IconApp, IconAppSettings, IconAppStore, IconAppStoreColor, IconApple, IconArchive, IconArchiveDelete, IconArchiveRestore, IconArrowBackAndDown, IconArrowBackAndUp, IconArrowDown, IconArrowForwardAndDown, IconArrowForwardAndUp, IconArrowLeft, IconArrowNortheast, IconArrowNorthwest, IconArrowRight, IconArrowUp, IconArrowsHorizontal, IconArrowsVertical, IconAutomation, IconAws, IconAwsColor, IconBadge3RdParty, IconBadgeBitrise, IconBadgeUpgrade, IconBadgeVersionOk, IconBazel, IconBell, IconBitbot, IconBitbotError, IconBitbucket, IconBitbucketColor, IconBitbucketNeutral, IconBitbucketWhite, IconBlockCircle, IconBook, IconBoxArrowDown, IconBoxDot, IconBoxLinesOverflow, IconBoxLinesWrap, IconBranch, IconBrowserstackColor, IconBug, IconBuild, IconBuildCache, IconBuildCacheFilled, IconBuildEnvSetup, IconBuildHub, IconBuildHubFilled, IconCalendar, IconChangePlan, IconChat, IconCheck, IconCheckCircle, IconCheckCircleFilled, IconChevronDown, IconChevronLeft, IconChevronRight, IconChevronUp, IconCi, IconCiFilled, IconCircle, IconCircleDashed, IconCircleHalfFilled, IconClaude, IconClaudeColor, IconClock, IconCode, IconCodePush, IconCodeSigning, IconCoffee, IconCommit, IconConfigure, IconConnectedAccounts, IconContainer, IconCopilot, IconCopy, IconCordova, IconCpu, IconCreditcard, IconCredits, IconCross, IconCrossCircle, IconCrossCircleFilled, IconCrown, IconCursor, IconCycle, IconDashboard, IconDashboardFilled, IconDeployment, IconDetails, IconDoc, IconDollar, IconDot, IconDotnet, IconDotnetColor, IconDotnetText, IconDotnetTextColor, IconDoubleCircle, IconDownload, IconDragHandle, IconEc2Ami, IconEnterprise, IconErrorCircle, IconErrorCircleFilled, IconExpand, IconExtraBuildCapacity, IconEye, IconEyeSlash, IconFastlane, IconFile, IconFileDoc, IconFilePdf, IconFilePlist, IconFileYml, IconFileZip, IconFilter, IconFlag, IconFlutter, IconFolder, IconFullscreen, IconFullscreenExit, IconGauge, IconGit, IconGithub, IconGitlab, IconGitlabColor, IconGitlabWhite, IconGlobe, IconGo, IconGoogleColor, IconGooglePlay, IconGooglePlayColor, IconGradle, IconGroup, IconHashtag, IconHeadset, IconHeart, IconHistory, IconHourglass, IconImage, IconInfoCircle, IconInfoCircleFilled, IconInsights, IconInsightsFilled, IconInstall, IconInteraction, IconInvoice, IconIonic, IconJapanese, IconJava, IconJavaColor, IconJavaDuke, IconJavaDukeColor, IconKey, IconKiroColor, IconKotlin, IconKotlinColor, IconKotlinWhite, IconLaptop, IconLaunchdarkly, IconLegacyApp, IconLightbulb, IconLink, IconLinux, IconLock, IconLockOpen, IconLogin, IconLogout, IconMacos, IconMagicWand, IconMagnifier, IconMail, IconMcp, IconMedal, IconMemory, IconMenuGrid, IconMenuHamburger, IconMessage, IconMessageAlert, IconMessageQuestion, IconMicrophone, IconMinus, IconMinusCircle, IconMinusCircleFilled, IconMobile, IconMobileLandscape, IconMonitorChart, IconMoreHorizontal, IconMoreVertical, IconNews, IconNextjs, IconNodejs, IconOpenInNew, IconOther, IconOutsideContributor, IconOverview, IconPause, IconPencil, IconPeople, IconPercent, IconPerson, IconPersonWithDesk, IconPin, IconPlay, IconPlus, IconPlusCircle, IconPlusCircleFilled, IconPower, IconProject, IconProjectSettings, IconPull, IconPush, IconPuzzle, IconPython, IconPythonColor, IconQuestionCircle, IconQuestionCircleFilled, IconReact, IconRefresh, IconRegex, IconRelease, IconReleaseFilled, IconRemoteAccess, IconReplace, IconResponsiveness, IconReviewerApproved, IconReviewerAssigned, IconReviewerRejected, IconRuby, IconRubyColor, IconSave, IconSecurityShield, IconSettings, IconSettingsFilled, IconShuffle, IconSiren, IconSkip, IconSkipCircle, IconSkipCircleFilled, IconSlack, IconSlackColor, IconSparkle, IconSparkleFilled, IconSpinnerOnDisabled, IconSpinnerPurple, IconSpinnerPurpleDouble, IconSpinnerWhite, IconStability, IconStack, IconStar, IconStep, IconStop, IconStopwatch, IconTabPlus, IconTag, IconTasks, IconTeams, IconTeamsColor, IconTemplateCode, IconTerminal, IconTerminalFilled, IconTestQuarantine, IconThemeDarkToggle, IconThumbDown, IconThumbUp, IconTools, IconTrash, IconTrigger, IconUbuntu, IconUbuntuColor, IconUnity3D, IconUnpin, IconUpload, IconValidateShield, IconVideo, IconVsCode, IconWarning, IconWarningYellow, IconWebUi, IconWebhooks, IconWindsurf, IconWorkflow, IconWorkflowFlow, IconXTwitter, IconXamarin, IconXcode, ResponsiveProvider, bitkitIcon, bitkitTheme as bitriseTheme, createBitkitToast, createTreeCollection, dismissBitkitToast, rem, uiHeaderHeight, uiSideNavRailWidth, useBitkitTour, useResponsive, useStepsDialog, useUISideNav };
392
+ export { BitkitAccordion_default as BitkitAccordion, BitkitActionBar, BitkitActionMenu_default as BitkitActionMenu, BitkitAlert, BitkitAvatar, BitkitBadge, BitkitBreadcrumb, BitkitButton, BitkitCalendar, BitkitCheckbox, BitkitCheckboxGroup, BitkitCloseButton, BitkitCodeSnippet, BitkitCollapsible, BitkitColorButton, BitkitCombobox_default as BitkitCombobox, BitkitControlButton, BitkitDataWidget, BitkitDatePicker, BitkitDefinitionTooltip, BitkitDialog_default as BitkitDialog, BitkitDraggableCard, BitkitDrawer, BitkitEmptyState, BitkitExpandableCard, BitkitField, BitkitFileInput, BitkitFormDialog_default as BitkitFormDialog, BitkitGroupHeading, BitkitHeading, BitkitIconButton, BitkitInlineLoading, BitkitLabel, BitkitLabelTooltip, BitkitLabeledData, BitkitLightbox, BitkitLink, BitkitLinkButton, BitkitList_default as BitkitList, BitkitMarkdown, BitkitMarkdownCard, BitkitMultiselect_default as BitkitMultiselect, BitkitMultiselectMenu, BitkitNativeSelect, BitkitNoteCard, BitkitNumberInput, BitkitOverflowContent, BitkitOverflowTooltip, BitkitPageFooter_default as BitkitPageFooter, BitkitPageHeader, BitkitPageSidebar_default as BitkitPageSidebar, BitkitPagination, BitkitPaginationLoadMore, BitkitPopover, BitkitProgressBar, BitkitPromoBanner, Provider as BitkitProvider, BitkitRadio, BitkitRadioGroup, BitkitRibbon, BitkitSearchInput, BitkitSectionHeading, BitkitSegmentedControl_default as BitkitSegmentedControl, BitkitSelect_default as BitkitSelect, BitkitSelectMenu, BitkitSelectMenuAction, BitkitSelectableTag_default as BitkitSelectableTag, BitkitSettingsCard_default as BitkitSettingsCard, BitkitSkeletonGroup, BitkitSpinner, BitkitSplitButton_default as BitkitSplitButton, BitkitStat, BitkitSteps_default as BitkitSteps, BitkitStepsCard_default as BitkitStepsCard, BitkitStepsDialog_default as BitkitStepsDialog, BitkitSwitch, BitkitTable, BitkitTableCard, BitkitTabs, BitkitTag, BitkitTagsInput, BitkitTextArea, BitkitTextInput, BitkitToggleButton, BitkitToggletip, BitkitTooltip, BitkitTour, BitkitTreeView, BitkitUISideNav_default as BitkitUISideNav, IconAbortCircle, IconAbortCircleFilled, IconAddons, IconAgent, IconAnchor, IconAndroid, IconApp, IconAppSettings, IconAppStore, IconAppStoreColor, IconApple, IconArchive, IconArchiveDelete, IconArchiveRestore, IconArrowBackAndDown, IconArrowBackAndUp, IconArrowDown, IconArrowForwardAndDown, IconArrowForwardAndUp, IconArrowLeft, IconArrowNortheast, IconArrowNorthwest, IconArrowRight, IconArrowUp, IconArrowsHorizontal, IconArrowsVertical, IconAutomation, IconAws, IconAwsColor, IconBadge3RdParty, IconBadgeBitrise, IconBadgeUpgrade, IconBadgeVersionOk, IconBazel, IconBell, IconBitbot, IconBitbotError, IconBitbucket, IconBitbucketColor, IconBitbucketNeutral, IconBitbucketWhite, IconBlockCircle, IconBook, IconBoxArrowDown, IconBoxDot, IconBoxLinesOverflow, IconBoxLinesWrap, IconBranch, IconBrowserstackColor, IconBug, IconBuild, IconBuildCache, IconBuildCacheFilled, IconBuildEnvSetup, IconBuildHub, IconBuildHubFilled, IconCalendar, IconChangePlan, IconChat, IconCheck, IconCheckCircle, IconCheckCircleFilled, IconChevronDown, IconChevronLeft, IconChevronRight, IconChevronUp, IconCi, IconCiFilled, IconCircle, IconCircleDashed, IconCircleHalfFilled, IconClaude, IconClaudeColor, IconClock, IconCode, IconCodePush, IconCodeSigning, IconCoffee, IconCommit, IconConfigure, IconConnectedAccounts, IconContainer, IconCopilot, IconCopy, IconCordova, IconCpu, IconCreditcard, IconCredits, IconCross, IconCrossCircle, IconCrossCircleFilled, IconCrown, IconCursor, IconCycle, IconDashboard, IconDashboardFilled, IconDeployment, IconDetails, IconDoc, IconDollar, IconDot, IconDotnet, IconDotnetColor, IconDotnetText, IconDotnetTextColor, IconDoubleCircle, IconDownload, IconDragHandle, IconEc2Ami, IconEnterprise, IconErrorCircle, IconErrorCircleFilled, IconExpand, IconExtraBuildCapacity, IconEye, IconEyeSlash, IconFastlane, IconFile, IconFileDoc, IconFilePdf, IconFilePlist, IconFileYml, IconFileZip, IconFilter, IconFlag, IconFlutter, IconFolder, IconFullscreen, IconFullscreenExit, IconGauge, IconGit, IconGithub, IconGitlab, IconGitlabColor, IconGitlabWhite, IconGlobe, IconGo, IconGoogleColor, IconGooglePlay, IconGooglePlayColor, IconGradle, IconGroup, IconHashtag, IconHeadset, IconHeart, IconHistory, IconHourglass, IconImage, IconInfoCircle, IconInfoCircleFilled, IconInsights, IconInsightsFilled, IconInstall, IconInteraction, IconInvoice, IconIonic, IconJapanese, IconJava, IconJavaColor, IconJavaDuke, IconJavaDukeColor, IconKey, IconKiroColor, IconKotlin, IconKotlinColor, IconKotlinWhite, IconLaptop, IconLaunchdarkly, IconLegacyApp, IconLightbulb, IconLink, IconLinux, IconLock, IconLockOpen, IconLogin, IconLogout, IconMacos, IconMagicWand, IconMagnifier, IconMail, IconMcp, IconMedal, IconMemory, IconMenuGrid, IconMenuHamburger, IconMessage, IconMessageAlert, IconMessageQuestion, IconMicrophone, IconMinus, IconMinusCircle, IconMinusCircleFilled, IconMobile, IconMobileLandscape, IconMonitorChart, IconMoreHorizontal, IconMoreVertical, IconNews, IconNextjs, IconNodejs, IconOpenInNew, IconOther, IconOutsideContributor, IconOverview, IconPause, IconPencil, IconPeople, IconPercent, IconPerson, IconPersonWithDesk, IconPin, IconPlay, IconPlus, IconPlusCircle, IconPlusCircleFilled, IconPower, IconProject, IconProjectSettings, IconPull, IconPush, IconPuzzle, IconPython, IconPythonColor, IconQuestionCircle, IconQuestionCircleFilled, IconReact, IconRefresh, IconRegex, IconRelease, IconReleaseFilled, IconRemoteAccess, IconReplace, IconResponsiveness, IconReviewerApproved, IconReviewerAssigned, IconReviewerRejected, IconRuby, IconRubyColor, IconSave, IconSecurityShield, IconSettings, IconSettingsFilled, IconShuffle, IconSiren, IconSkip, IconSkipCircle, IconSkipCircleFilled, IconSlack, IconSlackColor, IconSparkle, IconSparkleFilled, IconSpinnerOnDisabled, IconSpinnerPurple, IconSpinnerPurpleDouble, IconSpinnerWhite, IconStability, IconStack, IconStar, IconStep, IconStop, IconStopwatch, IconTabPlus, IconTag, IconTasks, IconTeams, IconTeamsColor, IconTemplateCode, IconTerminal, IconTerminalFilled, IconTestQuarantine, IconThemeDarkToggle, IconThumbDown, IconThumbUp, IconTools, IconTrash, IconTrigger, IconUbuntu, IconUbuntuColor, IconUnity3D, IconUnpin, IconUpload, IconValidateShield, IconVideo, IconVsCode, IconWarning, IconWarningYellow, IconWebUi, IconWebhooks, IconWindsurf, IconWorkflow, IconWorkflowFlow, IconXTwitter, IconXamarin, IconXcode, ResponsiveProvider, bitkitIcon, bitkitTheme as bitriseTheme, createBitkitToast, createTreeCollection, dismissBitkitToast, rem, uiSideNavRailWidth, useBitkitTour, useResponsive, useStepsDialog, useUISideNav };
@@ -0,0 +1,525 @@
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;