@bitrise/bitkit-v2 0.3.531 → 0.3.533

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 (31) hide show
  1. package/dist/components/BitkitSteps/BitkitSteps.js +3 -1
  2. package/dist/components/BitkitSteps/BitkitSteps.js.map +1 -1
  3. package/dist/components/BitkitTreeView/BitkitTreeView.d.ts +2 -1
  4. package/dist/components/BitkitTreeView/BitkitTreeView.js +1 -1
  5. package/dist/components/BitkitTreeView/BitkitTreeView.js.map +1 -1
  6. package/dist/icons/IconGraph.d.ts +8 -0
  7. package/dist/icons/IconGraph.js +30 -0
  8. package/dist/icons/IconGraph.js.map +1 -0
  9. package/dist/icons/IconRename.d.ts +8 -0
  10. package/dist/icons/IconRename.js +30 -0
  11. package/dist/icons/IconRename.js.map +1 -0
  12. package/dist/icons/IconTimeline.d.ts +8 -0
  13. package/dist/icons/IconTimeline.js +30 -0
  14. package/dist/icons/IconTimeline.js.map +1 -0
  15. package/dist/icons/index.d.ts +3 -0
  16. package/dist/main.js +4 -1
  17. package/dist/svgs/16x16/icon-graph-16.js +22 -0
  18. package/dist/svgs/16x16/icon-graph-16.js.map +1 -0
  19. package/dist/svgs/16x16/icon-rename-16.js +24 -0
  20. package/dist/svgs/16x16/icon-rename-16.js.map +1 -0
  21. package/dist/svgs/16x16/icon-timeline-16.js +22 -0
  22. package/dist/svgs/16x16/icon-timeline-16.js.map +1 -0
  23. package/dist/svgs/24x24/icon-dot-24.js +1 -2
  24. package/dist/svgs/24x24/icon-dot-24.js.map +1 -1
  25. package/dist/svgs/24x24/icon-graph-24.js +22 -0
  26. package/dist/svgs/24x24/icon-graph-24.js.map +1 -0
  27. package/dist/svgs/24x24/icon-rename-24.js +24 -0
  28. package/dist/svgs/24x24/icon-rename-24.js.map +1 -0
  29. package/dist/svgs/24x24/icon-timeline-24.js +22 -0
  30. package/dist/svgs/24x24/icon-timeline-24.js.map +1 -0
  31. package/package.json +4 -1
@@ -66,11 +66,13 @@ BitkitSteps.displayName = "BitkitSteps";
66
66
  var BitkitStepsItem = forwardRef((props, ref) => {
67
67
  const { _index = 0, _selected = false, action, helperText, label, state } = props;
68
68
  const styles = useStepsStyles();
69
- const status = getEffectiveStatus(state, _index, useStepsContext().value);
69
+ const stepsCtx = useStepsContext();
70
+ const status = getEffectiveStatus(state, _index, stepsCtx.value);
70
71
  const resolvedAction = (status === "completed" || status === "inProgress") && !_selected ? action : void 0;
71
72
  const statusAttr = { "data-step-status": status };
72
73
  return /* @__PURE__ */ jsxs(Steps.Item, {
73
74
  ...statusAttr,
75
+ "aria-current": _index === stepsCtx.value ? "step" : void 0,
74
76
  index: _index,
75
77
  ref,
76
78
  children: [
@@ -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 /** 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,O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Y,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"}
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} aria-current={_index === stepsCtx.value ? 'step' : undefined} 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: Bit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Component } from '../../icons';
4
4
  import { BitkitColorToken } from '../../theme/themeUtils';
5
+ import { BitkitBadgeProps } from '../BitkitBadge/BitkitBadge';
5
6
  export { createTreeCollection } from '@chakra-ui/react/collection';
6
7
  export type { TreeViewExpandedChangeDetails as BitkitTreeViewExpandedChangeDetails, TreeViewNodeRenderProps as BitkitTreeViewNodeRenderProps, TreeViewSelectionChangeDetails as BitkitTreeViewSelectionChangeDetails, } from '@chakra-ui/react/tree-view';
7
8
  export type BitkitTreeViewVariant = 'files' | 'navigation';
@@ -26,7 +27,7 @@ export interface BitkitTreeViewBranchProps extends Omit<TreeViewBranchControlPro
26
27
  }
27
28
  export interface BitkitTreeViewLeafProps extends Omit<TreeViewItemProps, 'children'> {
28
29
  actions?: ReactElement[];
29
- badge?: ReactElement;
30
+ badge?: ReactElement<BitkitBadgeProps>;
30
31
  /** Explains the badge on hover, e.g. what its letter stands for. */
31
32
  badgeTooltip?: string;
32
33
  hasWarning?: boolean;
@@ -83,7 +83,7 @@ var Nodes = ({ indentGuide, render, renderBranchFooter, variant }) => {
83
83
  * | --- | --- | --- |
84
84
  * | `icon` | `BitkitIconComponent` | Before the label. Branches draw their own folder or chevron. |
85
85
  * | `iconColor` | `icon/*` token | For an icon that carries a status. Wins over hover and selection. |
86
- * | `badge` | `ReactElement` | Before the label, forced to `size="xs"`. |
86
+ * | `badge` | `ReactElement<BitkitBadgeProps>` | Before the label, forced to `size="xs"`. |
87
87
  * | `badgeTooltip` | `string` | Shown when the badge is hovered, and read out after the label. Pass it here rather than wrapping `badge` in a tooltip, which would take the `size` instead of the badge. |
88
88
  *
89
89
  * Behaviour worth knowing:
@@ -1 +1 @@
1
- {"version":3,"file":"BitkitTreeView.js","names":["createContext"],"sources":["../../../lib/components/BitkitTreeView/BitkitTreeView.tsx"],"sourcesContent":["// eslint-disable-next-line no-restricted-imports\nimport { createContext } from '@chakra-ui/react';\nimport { Box } from '@chakra-ui/react/box';\nimport { useSlotRecipe } from '@chakra-ui/react/styled-system';\nimport { Text } from '@chakra-ui/react/text';\nimport {\n TreeView,\n type TreeViewBranchControlProps,\n type TreeViewItemProps,\n type TreeViewNodeRenderProps,\n type TreeViewRootProps,\n useTreeViewContext,\n} from '@chakra-ui/react/tree-view';\nimport { VisuallyHidden } from '@chakra-ui/react/visually-hidden';\nimport { cloneElement, forwardRef, type ReactElement, type ReactNode } from 'react';\n\nimport { type BitkitIconComponent, IconChevronRight, IconFolder, IconWarningYellow } from '../../icons';\nimport { type BitkitColorToken } from '../../theme/themeUtils';\nimport { withSubComponents } from '../../utilities/withSubComponents';\nimport BitkitTooltip from '../BitkitTooltip/BitkitTooltip';\n\n// Re-export for consumer convenience\nexport { createTreeCollection } from '@chakra-ui/react/collection';\n\n// Re-export useful types\nexport type {\n TreeViewExpandedChangeDetails as BitkitTreeViewExpandedChangeDetails,\n TreeViewNodeRenderProps as BitkitTreeViewNodeRenderProps,\n TreeViewSelectionChangeDetails as BitkitTreeViewSelectionChangeDetails,\n} from '@chakra-ui/react/tree-view';\n\n// --- Variant context ---\n\nexport type BitkitTreeViewVariant = 'files' | 'navigation';\n\nconst [VariantProvider, useVariant] = createContext<{ variant: BitkitTreeViewVariant }>({\n name: 'BitkitTreeViewVariantContext',\n defaultValue: { variant: 'files' },\n});\n\nconst useCustomSlotStyles = (variant: BitkitTreeViewVariant) => {\n const recipe = useSlotRecipe({ key: 'treeView' });\n return recipe({ variant });\n};\n\n// --- Root ---\n\nexport interface BitkitTreeViewRootProps extends Omit<TreeViewRootProps, 'children'> {\n children?: ReactNode;\n render: (props: TreeViewNodeRenderProps) => ReactNode;\n /**\n * Content after a branch's children, indented like them: a `BitkitPaginationLoadMore` with\n * `size=\"xs\"` for a directory that loads its files in pages. Called for branch nodes only;\n * return `null` for a branch that needs nothing. Designed for the `files` variant.\n */\n renderBranchFooter?: (props: TreeViewNodeRenderProps) => ReactNode;\n variant?: BitkitTreeViewVariant;\n}\n\ninterface NodesProps extends Pick<BitkitTreeViewRootProps, 'render' | 'renderBranchFooter'> {\n indentGuide?: ReactElement;\n variant: BitkitTreeViewVariant;\n}\n\n// Chakra's TreeView.Node, which has no slot after a branch's children.\nconst Nodes = ({ indentGuide, render, renderBranchFooter, variant }: NodesProps) => {\n const tree = useTreeViewContext();\n const styles = useCustomSlotStyles(variant);\n\n const renderNode = (node: unknown, indexPath: number[]): ReactNode => (\n <TreeView.NodeProvider key={indexPath.join('.')} indexPath={indexPath} node={node}>\n <TreeView.NodeContext>\n {(nodeState) => {\n if (!nodeState.isBranch) {\n return render({ indexPath, node, nodeState });\n }\n\n const footer = renderBranchFooter?.({ indexPath, node, nodeState });\n\n return (\n <TreeView.Branch>\n {render({ indexPath, node, nodeState })}\n <TreeView.BranchContent>\n {indentGuide}\n {tree.collection.getNodeChildren(node).map((child, index) => renderNode(child, [...indexPath, index]))}\n {footer && <Box css={[styles.footer, { '--depth': indexPath.length + 1 }]}>{footer}</Box>}\n </TreeView.BranchContent>\n </TreeView.Branch>\n );\n }}\n </TreeView.NodeContext>\n </TreeView.NodeProvider>\n );\n\n return tree.collection.getNodeChildren(tree.collection.rootNode).map((node, index) => renderNode(node, [index]));\n};\n\n/**\n * A tree of collapsible branches and leaves, in a `files` or a `navigation` look. The tree is data,\n * not JSX: build `collection` with `createTreeCollection` (re-exported from here), and `render`\n * returns `BitkitTreeView.Branch` when `nodeState.isBranch` and `BitkitTreeView.Leaf` otherwise.\n *\n * Root also takes Chakra's `TreeView.Root` props: `defaultExpandedValue` / `expandedValue` /\n * `onExpandedChange`, `selectionMode`, `defaultSelectedValue` / `selectedValue` /\n * `onSelectionChange`, `lazyMount` (keeps unopened branches out of the DOM), and\n * `translations={{ treeLabel }}` for the tree's accessible name. `children` renders after the whole\n * tree, indented like the top-level nodes, and `renderBranchFooter` after one branch's children,\n * indented like them: both take a `BitkitPaginationLoadMore size=\"xs\"` for trees that load in pages.\n *\n * `BitkitTreeView.Branch` (a `TreeView.BranchControl`) and `BitkitTreeView.Leaf` (a `TreeView.Item`,\n * so it takes `onClick` and `onKeyDown`) share these props:\n *\n * | Prop | Type | Notes |\n * | --- | --- | --- |\n * | `label` | `string` | Required. |\n * | `subtext` | `ReactNode` | A second line under the label. |\n * | `suffixText` | `string` | Trailing text, e.g. a count or a duration. |\n * | `suffixIcon` | `BitkitIconComponent` | Trailing icon, before `suffixText`. |\n * | `hasWarning` | `boolean` | A warning icon at the start of the suffix. |\n * | `actions` | `ReactElement[]` | Buttons shown in place of the suffix on hover, forced to `size=\"xs\"`. Their clicks do not reach the row. |\n *\n * Leaf only:\n *\n * | Prop | Type | Notes |\n * | --- | --- | --- |\n * | `icon` | `BitkitIconComponent` | Before the label. Branches draw their own folder or chevron. |\n * | `iconColor` | `icon/*` token | For an icon that carries a status. Wins over hover and selection. |\n * | `badge` | `ReactElement` | Before the label, forced to `size=\"xs\"`. |\n * | `badgeTooltip` | `string` | Shown when the badge is hovered, and read out after the label. Pass it here rather than wrapping `badge` in a tooltip, which would take the `size` instead of the badge. |\n *\n * Behaviour worth knowing:\n * - Enter on a node selects it and does not fire a DOM click, so open things from\n * `onSelectionChange`. Activating the selected leaf again changes nothing, so a leaf that should\n * reopen needs its own `onClick` and `onKeyDown` for that case.\n * - A node with `children: []` renders as a leaf, not as an empty branch. For an empty folder, give the\n * collection a `nodeToChildrenCount` that returns `0` for it, and put `disabled: true` on the node itself:\n * Zag reads `node.disabled` and ignores the collection's `isNodeDisabled`. The folder then renders in the\n * disabled colours, cannot be opened, and keeps its actions.\n * - The `navigation` design has no badges, no actions and no subtext on leaves; those slots are drawn\n * for `files`.\n */\nconst Root = forwardRef<HTMLDivElement, BitkitTreeViewRootProps>(\n ({ children, render, renderBranchFooter, variant = 'files', ...props }, ref) => {\n const indentGuide = variant === 'files' ? <TreeView.BranchIndentGuide /> : undefined;\n const styles = useCustomSlotStyles(variant);\n\n return (\n <VariantProvider value={{ variant }}>\n <TreeView.Root ref={ref} variant={variant} {...props}>\n <TreeView.Tree>\n <Nodes\n indentGuide={indentGuide}\n render={render}\n renderBranchFooter={renderBranchFooter}\n variant={variant}\n />\n {children && <Box css={[styles.footer, { '--depth': 1 }]}>{children}</Box>}\n </TreeView.Tree>\n </TreeView.Root>\n </VariantProvider>\n );\n },\n);\nRoot.displayName = 'BitkitTreeView';\n\n// --- Actions ---\n\n// The buttons sit inside the row, so a click that bubbled up would also toggle the branch or select the leaf.\nconst Actions = ({ actions, variant }: { actions: ReactElement[]; variant: BitkitTreeViewVariant }) => {\n const styles = useCustomSlotStyles(variant);\n\n return (\n <Box css={styles.actionGroup} onClick={(event) => event.stopPropagation()}>\n {actions.map((action) => cloneElement(action as ReactElement<{ size?: string }>, { size: 'xs' }))}\n </Box>\n );\n};\n\n// --- Branch ---\n\nexport interface BitkitTreeViewBranchProps extends Omit<TreeViewBranchControlProps, 'children'> {\n actions?: ReactElement[];\n hasWarning?: boolean;\n label: string;\n subtext?: ReactNode;\n suffixIcon?: BitkitIconComponent;\n suffixText?: string;\n}\n\nconst Branch = forwardRef<HTMLDivElement, BitkitTreeViewBranchProps>((props, ref) => {\n const { actions, hasWarning, label, subtext, suffixIcon: SuffixIcon, suffixText, ...rest } = props;\n const { variant } = useVariant();\n const styles = useCustomSlotStyles(variant);\n const hasSuffix = hasWarning || SuffixIcon || suffixText;\n const hasActions = actions && actions.length > 0;\n\n const BranchIcon = variant === 'navigation' ? IconChevronRight : IconFolder;\n\n return (\n <TreeView.BranchControl ref={ref} className={hasActions ? 'group' : undefined} {...rest}>\n <TreeView.BranchIndicator>\n <BranchIcon size=\"16\" />\n </TreeView.BranchIndicator>\n <TreeView.BranchText>\n {label}\n {subtext && <Text css={styles.secondaryText}>{subtext}</Text>}\n </TreeView.BranchText>\n {hasSuffix && (\n <Box css={styles.suffixGroup}>\n {hasWarning && <IconWarningYellow size=\"16\" />}\n {SuffixIcon && <SuffixIcon size=\"16\" />}\n {suffixText && <span>{suffixText}</span>}\n </Box>\n )}\n {hasActions && <Actions actions={actions} variant={variant} />}\n </TreeView.BranchControl>\n );\n});\nBranch.displayName = 'BitkitTreeView.Branch';\n\n// --- Leaf ---\n\nexport interface BitkitTreeViewLeafProps extends Omit<TreeViewItemProps, 'children'> {\n actions?: ReactElement[];\n badge?: ReactElement;\n /** Explains the badge on hover, e.g. what its letter stands for. */\n badgeTooltip?: string;\n hasWarning?: boolean;\n icon?: BitkitIconComponent;\n /** An `icon/*` token for the icon when it carries meaning of its own, such as a test result's status. */\n iconColor?: BitkitColorToken<'icon'>;\n label: string;\n subtext?: ReactNode;\n suffixIcon?: BitkitIconComponent;\n suffixText?: string;\n}\n\nconst Leaf = forwardRef<HTMLDivElement, BitkitTreeViewLeafProps>((props, ref) => {\n const {\n actions,\n badge,\n badgeTooltip,\n hasWarning,\n icon: Icon,\n iconColor,\n label,\n subtext,\n suffixIcon: SuffixIcon,\n suffixText,\n ...rest\n } = props;\n const { variant } = useVariant();\n const styles = useCustomSlotStyles(variant);\n const hasSuffix = hasWarning || SuffixIcon || suffixText;\n const hasActions = actions && actions.length > 0;\n const sizedBadge = badge && cloneElement(badge as ReactElement<{ size?: string }>, { size: 'xs' });\n const badgeDescription = sizedBadge ? badgeTooltip : undefined;\n\n return (\n <TreeView.Item ref={ref} className={hasActions ? 'group' : undefined} {...rest}>\n {Icon && <Icon color={iconColor} size=\"16\" />}\n {badgeDescription ? <BitkitTooltip text={badgeDescription}>{sizedBadge}</BitkitTooltip> : sizedBadge}\n <TreeView.ItemText>\n {label}\n {/* A tree has a single Tab stop, so the badge takes no focus: its tooltip is read out with the label instead. */}\n {badgeDescription && <VisuallyHidden>{`, ${badgeDescription}`}</VisuallyHidden>}\n {subtext && <Text css={styles.secondaryText}>{subtext}</Text>}\n </TreeView.ItemText>\n {hasSuffix && (\n <Box css={styles.suffixGroup}>\n {hasWarning && <IconWarningYellow size=\"16\" />}\n {SuffixIcon && <SuffixIcon size=\"16\" />}\n {suffixText && <span>{suffixText}</span>}\n </Box>\n )}\n {hasActions && <Actions actions={actions} variant={variant} />}\n </TreeView.Item>\n );\n});\nLeaf.displayName = 'BitkitTreeView.Leaf';\n\n// --- Main export ---\n\nconst BitkitTreeView = withSubComponents(Root, {\n Branch,\n Leaf,\n});\n\nexport default BitkitTreeView;\n"],"mappings":";;;;;;;;;;;;;;;AAmCA,IAAM,CAAC,iBAAiB,cAAcA,gBAAkD;CACtF,MAAM;CACN,cAAc,EAAE,SAAS,QAAQ;AACnC,CAAC;AAED,IAAM,uBAAuB,YAAmC;CAE9D,OADe,cAAc,EAAE,KAAK,WAAW,CACxC,CAAA,CAAO,EAAE,QAAQ,CAAC;AAC3B;AAsBA,IAAM,SAAS,EAAE,aAAa,QAAQ,oBAAoB,cAA0B;CAClF,MAAM,OAAO,mBAAmB;CAChC,MAAM,SAAS,oBAAoB,OAAO;CAE1C,MAAM,cAAc,MAAe,cACjC,oBAAC,SAAS,cAAV;EAA4D;EAAiB;EAC3E,UAAA,oBAAC,SAAS,aAAV,EAAA,WACI,cAAc;GACd,IAAI,CAAC,UAAU,UACb,OAAO,OAAO;IAAE;IAAW;IAAM;GAAU,CAAC;GAG9C,MAAM,SAAS,qBAAqB;IAAE;IAAW;IAAM;GAAU,CAAC;GAElE,OACE,qBAAC,SAAS,QAAV,EAAA,UAAA,CACG,OAAO;IAAE;IAAW;IAAM;GAAU,CAAC,GACtC,qBAAC,SAAS,eAAV,EAAA,UAAA;IACG;IACA,KAAK,WAAW,gBAAgB,IAAI,CAAC,CAAC,KAAK,OAAO,UAAU,WAAW,OAAO,CAAC,GAAG,WAAW,KAAK,CAAC,CAAC;IACpG,UAAU,oBAAC,KAAD;KAAK,KAAK,CAAC,OAAO,QAAQ,EAAE,WAAW,UAAU,SAAS,EAAE,CAAC;KAAI,UAAA;IAAY,CAAA;GAClE,EAAA,CAAA,CACT,EAAA,CAAA;EAErB,EACoB,CAAA;CACD,GArBK,UAAU,KAAK,GAAG,CAqBvB;CAGzB,OAAO,KAAK,WAAW,gBAAgB,KAAK,WAAW,QAAQ,CAAC,CAAC,KAAK,MAAM,UAAU,WAA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iB,KAAK,mBAAmC,CAAA;IAC7E,WAAW,oBAAC,MAAD;KAAM,KAAK,OAAO;KAAgB,UAAA;IAAc,CAAA;GAC3C,EAAA,CAAA;GAClB,aACC,qBAAC,KAAD;IAAK,KAAK,OAAO;IAAjB,UAAA;KACG,cAAc,oBAAC,mBAAD,EAAmB,MAAK,KAAM,CAAA;KAC5C,cAAc,oBAAC,YAAD,EAAY,MAAK,KAAM,CAAA;KACrC,cAAc,oBAAC,QAAD,EAAA,UAAO,WAAiB,CAAA;IACpC;;GAEN,cAAc,oBAAC,SAAD;IAAkB;IAAkB;GAAU,CAAA;EAChD;;AAEnB,CAAC;AACD,KAAK,cAAc;AAInB,IAAM,iBAAiB,kBAAkB,MAAM;CAC7C;CACA;AACF,CAAC"}
1
+ {"version":3,"file":"BitkitTreeView.js","names":["createContext"],"sources":["../../../lib/components/BitkitTreeView/BitkitTreeView.tsx"],"sourcesContent":["// eslint-disable-next-line no-restricted-imports\nimport { createContext } from '@chakra-ui/react';\nimport { Box } from '@chakra-ui/react/box';\nimport { useSlotRecipe } from '@chakra-ui/react/styled-system';\nimport { Text } from '@chakra-ui/react/text';\nimport {\n TreeView,\n type TreeViewBranchControlProps,\n type TreeViewItemProps,\n type TreeViewNodeRenderProps,\n type TreeViewRootProps,\n useTreeViewContext,\n} from '@chakra-ui/react/tree-view';\nimport { VisuallyHidden } from '@chakra-ui/react/visually-hidden';\nimport { cloneElement, forwardRef, type ReactElement, type ReactNode } from 'react';\n\nimport { type BitkitIconComponent, IconChevronRight, IconFolder, IconWarningYellow } from '../../icons';\nimport { type BitkitColorToken } from '../../theme/themeUtils';\nimport { withSubComponents } from '../../utilities/withSubComponents';\nimport { type BitkitBadgeProps } from '../BitkitBadge/BitkitBadge';\nimport BitkitTooltip from '../BitkitTooltip/BitkitTooltip';\n\n// Re-export for consumer convenience\nexport { createTreeCollection } from '@chakra-ui/react/collection';\n\n// Re-export useful types\nexport type {\n TreeViewExpandedChangeDetails as BitkitTreeViewExpandedChangeDetails,\n TreeViewNodeRenderProps as BitkitTreeViewNodeRenderProps,\n TreeViewSelectionChangeDetails as BitkitTreeViewSelectionChangeDetails,\n} from '@chakra-ui/react/tree-view';\n\n// --- Variant context ---\n\nexport type BitkitTreeViewVariant = 'files' | 'navigation';\n\nconst [VariantProvider, useVariant] = createContext<{ variant: BitkitTreeViewVariant }>({\n name: 'BitkitTreeViewVariantContext',\n defaultValue: { variant: 'files' },\n});\n\nconst useCustomSlotStyles = (variant: BitkitTreeViewVariant) => {\n const recipe = useSlotRecipe({ key: 'treeView' });\n return recipe({ variant });\n};\n\n// --- Root ---\n\nexport interface BitkitTreeViewRootProps extends Omit<TreeViewRootProps, 'children'> {\n children?: ReactNode;\n render: (props: TreeViewNodeRenderProps) => ReactNode;\n /**\n * Content after a branch's children, indented like them: a `BitkitPaginationLoadMore` with\n * `size=\"xs\"` for a directory that loads its files in pages. Called for branch nodes only;\n * return `null` for a branch that needs nothing. Designed for the `files` variant.\n */\n renderBranchFooter?: (props: TreeViewNodeRenderProps) => ReactNode;\n variant?: BitkitTreeViewVariant;\n}\n\ninterface NodesProps extends Pick<BitkitTreeViewRootProps, 'render' | 'renderBranchFooter'> {\n indentGuide?: ReactElement;\n variant: BitkitTreeViewVariant;\n}\n\n// Chakra's TreeView.Node, which has no slot after a branch's children.\nconst Nodes = ({ indentGuide, render, renderBranchFooter, variant }: NodesProps) => {\n const tree = useTreeViewContext();\n const styles = useCustomSlotStyles(variant);\n\n const renderNode = (node: unknown, indexPath: number[]): ReactNode => (\n <TreeView.NodeProvider key={indexPath.join('.')} indexPath={indexPath} node={node}>\n <TreeView.NodeContext>\n {(nodeState) => {\n if (!nodeState.isBranch) {\n return render({ indexPath, node, nodeState });\n }\n\n const footer = renderBranchFooter?.({ indexPath, node, nodeState });\n\n return (\n <TreeView.Branch>\n {render({ indexPath, node, nodeState })}\n <TreeView.BranchContent>\n {indentGuide}\n {tree.collection.getNodeChildren(node).map((child, index) => renderNode(child, [...indexPath, index]))}\n {footer && <Box css={[styles.footer, { '--depth': indexPath.length + 1 }]}>{footer}</Box>}\n </TreeView.BranchContent>\n </TreeView.Branch>\n );\n }}\n </TreeView.NodeContext>\n </TreeView.NodeProvider>\n );\n\n return tree.collection.getNodeChildren(tree.collection.rootNode).map((node, index) => renderNode(node, [index]));\n};\n\n/**\n * A tree of collapsible branches and leaves, in a `files` or a `navigation` look. The tree is data,\n * not JSX: build `collection` with `createTreeCollection` (re-exported from here), and `render`\n * returns `BitkitTreeView.Branch` when `nodeState.isBranch` and `BitkitTreeView.Leaf` otherwise.\n *\n * Root also takes Chakra's `TreeView.Root` props: `defaultExpandedValue` / `expandedValue` /\n * `onExpandedChange`, `selectionMode`, `defaultSelectedValue` / `selectedValue` /\n * `onSelectionChange`, `lazyMount` (keeps unopened branches out of the DOM), and\n * `translations={{ treeLabel }}` for the tree's accessible name. `children` renders after the whole\n * tree, indented like the top-level nodes, and `renderBranchFooter` after one branch's children,\n * indented like them: both take a `BitkitPaginationLoadMore size=\"xs\"` for trees that load in pages.\n *\n * `BitkitTreeView.Branch` (a `TreeView.BranchControl`) and `BitkitTreeView.Leaf` (a `TreeView.Item`,\n * so it takes `onClick` and `onKeyDown`) share these props:\n *\n * | Prop | Type | Notes |\n * | --- | --- | --- |\n * | `label` | `string` | Required. |\n * | `subtext` | `ReactNode` | A second line under the label. |\n * | `suffixText` | `string` | Trailing text, e.g. a count or a duration. |\n * | `suffixIcon` | `BitkitIconComponent` | Trailing icon, before `suffixText`. |\n * | `hasWarning` | `boolean` | A warning icon at the start of the suffix. |\n * | `actions` | `ReactElement[]` | Buttons shown in place of the suffix on hover, forced to `size=\"xs\"`. Their clicks do not reach the row. |\n *\n * Leaf only:\n *\n * | Prop | Type | Notes |\n * | --- | --- | --- |\n * | `icon` | `BitkitIconComponent` | Before the label. Branches draw their own folder or chevron. |\n * | `iconColor` | `icon/*` token | For an icon that carries a status. Wins over hover and selection. |\n * | `badge` | `ReactElement<BitkitBadgeProps>` | Before the label, forced to `size=\"xs\"`. |\n * | `badgeTooltip` | `string` | Shown when the badge is hovered, and read out after the label. Pass it here rather than wrapping `badge` in a tooltip, which would take the `size` instead of the badge. |\n *\n * Behaviour worth knowing:\n * - Enter on a node selects it and does not fire a DOM click, so open things from\n * `onSelectionChange`. Activating the selected leaf again changes nothing, so a leaf that should\n * reopen needs its own `onClick` and `onKeyDown` for that case.\n * - A node with `children: []` renders as a leaf, not as an empty branch. For an empty folder, give the\n * collection a `nodeToChildrenCount` that returns `0` for it, and put `disabled: true` on the node itself:\n * Zag reads `node.disabled` and ignores the collection's `isNodeDisabled`. The folder then renders in the\n * disabled colours, cannot be opened, and keeps its actions.\n * - The `navigation` design has no badges, no actions and no subtext on leaves; those slots are drawn\n * for `files`.\n */\nconst Root = forwardRef<HTMLDivElement, BitkitTreeViewRootProps>(\n ({ children, render, renderBranchFooter, variant = 'files', ...props }, ref) => {\n const indentGuide = variant === 'files' ? <TreeView.BranchIndentGuide /> : undefined;\n const styles = useCustomSlotStyles(variant);\n\n return (\n <VariantProvider value={{ variant }}>\n <TreeView.Root ref={ref} variant={variant} {...props}>\n <TreeView.Tree>\n <Nodes\n indentGuide={indentGuide}\n render={render}\n renderBranchFooter={renderBranchFooter}\n variant={variant}\n />\n {children && <Box css={[styles.footer, { '--depth': 1 }]}>{children}</Box>}\n </TreeView.Tree>\n </TreeView.Root>\n </VariantProvider>\n );\n },\n);\nRoot.displayName = 'BitkitTreeView';\n\n// --- Actions ---\n\n// The buttons sit inside the row, so a click that bubbled up would also toggle the branch or select the leaf.\nconst Actions = ({ actions, variant }: { actions: ReactElement[]; variant: BitkitTreeViewVariant }) => {\n const styles = useCustomSlotStyles(variant);\n\n return (\n <Box css={styles.actionGroup} onClick={(event) => event.stopPropagation()}>\n {actions.map((action) => cloneElement(action as ReactElement<{ size?: string }>, { size: 'xs' }))}\n </Box>\n );\n};\n\n// --- Branch ---\n\nexport interface BitkitTreeViewBranchProps extends Omit<TreeViewBranchControlProps, 'children'> {\n actions?: ReactElement[];\n hasWarning?: boolean;\n label: string;\n subtext?: ReactNode;\n suffixIcon?: BitkitIconComponent;\n suffixText?: string;\n}\n\nconst Branch = forwardRef<HTMLDivElement, BitkitTreeViewBranchProps>((props, ref) => {\n const { actions, hasWarning, label, subtext, suffixIcon: SuffixIcon, suffixText, ...rest } = props;\n const { variant } = useVariant();\n const styles = useCustomSlotStyles(variant);\n const hasSuffix = hasWarning || SuffixIcon || suffixText;\n const hasActions = actions && actions.length > 0;\n\n const BranchIcon = variant === 'navigation' ? IconChevronRight : IconFolder;\n\n return (\n <TreeView.BranchControl ref={ref} className={hasActions ? 'group' : undefined} {...rest}>\n <TreeView.BranchIndicator>\n <BranchIcon size=\"16\" />\n </TreeView.BranchIndicator>\n <TreeView.BranchText>\n {label}\n {subtext && <Text css={styles.secondaryText}>{subtext}</Text>}\n </TreeView.BranchText>\n {hasSuffix && (\n <Box css={styles.suffixGroup}>\n {hasWarning && <IconWarningYellow size=\"16\" />}\n {SuffixIcon && <SuffixIcon size=\"16\" />}\n {suffixText && <span>{suffixText}</span>}\n </Box>\n )}\n {hasActions && <Actions actions={actions} variant={variant} />}\n </TreeView.BranchControl>\n );\n});\nBranch.displayName = 'BitkitTreeView.Branch';\n\n// --- Leaf ---\n\nexport interface BitkitTreeViewLeafProps extends Omit<TreeViewItemProps, 'children'> {\n actions?: ReactElement[];\n badge?: ReactElement<BitkitBadgeProps>;\n /** Explains the badge on hover, e.g. what its letter stands for. */\n badgeTooltip?: string;\n hasWarning?: boolean;\n icon?: BitkitIconComponent;\n /** An `icon/*` token for the icon when it carries meaning of its own, such as a test result's status. */\n iconColor?: BitkitColorToken<'icon'>;\n label: string;\n subtext?: ReactNode;\n suffixIcon?: BitkitIconComponent;\n suffixText?: string;\n}\n\nconst Leaf = forwardRef<HTMLDivElement, BitkitTreeViewLeafProps>((props, ref) => {\n const {\n actions,\n badge,\n badgeTooltip,\n hasWarning,\n icon: Icon,\n iconColor,\n label,\n subtext,\n suffixIcon: SuffixIcon,\n suffixText,\n ...rest\n } = props;\n const { variant } = useVariant();\n const styles = useCustomSlotStyles(variant);\n const hasSuffix = hasWarning || SuffixIcon || suffixText;\n const hasActions = actions && actions.length > 0;\n const sizedBadge = badge && cloneElement(badge, { size: 'xs' });\n const badgeDescription = sizedBadge ? badgeTooltip : undefined;\n\n return (\n <TreeView.Item ref={ref} className={hasActions ? 'group' : undefined} {...rest}>\n {Icon && <Icon color={iconColor} size=\"16\" />}\n {badgeDescription ? <BitkitTooltip text={badgeDescription}>{sizedBadge}</BitkitTooltip> : sizedBadge}\n <TreeView.ItemText>\n {label}\n {/* A tree has a single Tab stop, so the badge takes no focus: its tooltip is read out with the label instead. */}\n {badgeDescription && <VisuallyHidden>{`, ${badgeDescription}`}</VisuallyHidden>}\n {subtext && <Text css={styles.secondaryText}>{subtext}</Text>}\n </TreeView.ItemText>\n {hasSuffix && (\n <Box css={styles.suffixGroup}>\n {hasWarning && <IconWarningYellow size=\"16\" />}\n {SuffixIcon && <SuffixIcon size=\"16\" />}\n {suffixText && <span>{suffixText}</span>}\n </Box>\n )}\n {hasActions && <Actions actions={actions} variant={variant} />}\n </TreeView.Item>\n );\n});\nLeaf.displayName = 'BitkitTreeView.Leaf';\n\n// --- Main export ---\n\nconst BitkitTreeView = withSubComponents(Root, {\n Branch,\n Leaf,\n});\n\nexport default BitkitTreeView;\n"],"mappings":";;;;;;;;;;;;;;;AAoCA,IAAM,CAAC,iBAAiB,cAAcA,gBAAkD;CACtF,MAAM;CACN,cAAc,EAAE,SAAS,QAAQ;AACnC,CAAC;AAED,IAAM,uBAAuB,YAAmC;CAE9D,OADe,cAAc,EAAE,KAAK,WAAW,CACxC,CAAA,CAAO,EAAE,QAAQ,CAAC;AAC3B;AAsBA,IAAM,SAAS,EAAE,aAAa,QAAQ,oBAAoB,cAA0B;CAClF,MAAM,OAAO,mBAAmB;CAChC,MAAM,SAAS,oBAAoB,OAAO;CAE1C,MAAM,cAAc,MAAe,cACjC,oBAA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+ import { IconProps } from '@chakra-ui/react/icon';
2
+ export interface IconGraphProps extends IconProps {
3
+ size?: '16' | '24';
4
+ }
5
+ declare const IconGraph: import('react').ForwardRefExoticComponent<IconGraphProps> & {
6
+ __bitkitIcon: true;
7
+ };
8
+ export default IconGraph;
@@ -0,0 +1,30 @@
1
+ import ForwardRef from "../svgs/16x16/icon-graph-16.js";
2
+ import ForwardRef$1 from "../svgs/24x24/icon-graph-24.js";
3
+ import { bitkitIcon } from "./bitkitIcon.js";
4
+ import { jsx } from "react/jsx-runtime";
5
+ import { Icon } from "@chakra-ui/react/icon";
6
+ // lib/icons/IconGraph.tsx
7
+ var IconGraph = bitkitIcon(function IconGraph({ size = "24", ...props }, ref) {
8
+ if (size === "16") return /* @__PURE__ */ jsx(Icon, {
9
+ asChild: true,
10
+ ref,
11
+ ...props,
12
+ children: /* @__PURE__ */ jsx(ForwardRef, {
13
+ width: "16",
14
+ height: "16"
15
+ })
16
+ });
17
+ return /* @__PURE__ */ jsx(Icon, {
18
+ asChild: true,
19
+ ref,
20
+ ...props,
21
+ children: /* @__PURE__ */ jsx(ForwardRef$1, {
22
+ width: "24",
23
+ height: "24"
24
+ })
25
+ });
26
+ });
27
+ IconGraph.displayName = "IconGraph";
28
+ export { IconGraph as default };
29
+
30
+ //# sourceMappingURL=IconGraph.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconGraph.js","names":["SVG16","SVG24"],"sources":["../../lib/icons/IconGraph.tsx"],"sourcesContent":["// This file is auto-generated by 'scripts/generateIconComponents.ts'. Do not edit it manually.\n\nimport { Icon, type IconProps } from '@chakra-ui/react/icon';\nimport { type Ref } from 'react';\n\nimport SVG16 from '../svgs/16x16/icon-graph-16.svg?react';\nimport SVG24 from '../svgs/24x24/icon-graph-24.svg?react';\nimport { bitkitIcon } from './bitkitIcon';\n\nexport interface IconGraphProps extends IconProps {\n size?: '16' | '24';\n}\n\nconst IconGraph = bitkitIcon(function IconGraph({ size = '24', ...props }: IconGraphProps, ref: Ref<SVGSVGElement>) {\n if (size === '16') {\n return (\n <Icon asChild ref={ref} {...props}>\n <SVG16 width=\"16\" height=\"16\" />\n </Icon>\n );\n }\n\n return (\n <Icon asChild ref={ref} {...props}>\n <SVG24 width=\"24\" height=\"24\" />\n </Icon>\n );\n});\n\nIconGraph.displayName = 'IconGraph';\n\nexport default IconGraph;\n"],"mappings":";;;;;;AAaA,IAAM,YAAY,WAAW,SAAS,UAAU,EAAE,OAAO,MAAM,GAAG,SAAyB,KAAyB;CAClH,IAAI,SAAS,MACX,OACE,oBAAC,MAAD;EAAM,SAAA;EAAa;EAAK,GAAI;EAC1B,UAAA,oBAACA,YAAD;GAAO,OAAM;GAAK,QAAO;EAAM,CAAA;CAC3B,CAAA;CAIV,OACE,oBAAC,MAAD;EAAM,SAAA;EAAa;EAAK,GAAI;EAC1B,UAAA,oBAACC,cAAD;GAAO,OAAM;GAAK,QAAO;EAAM,CAAA;CAC3B,CAAA;AAEV,CAAC;AAED,UAAU,cAAc"}
@@ -0,0 +1,8 @@
1
+ import { IconProps } from '@chakra-ui/react/icon';
2
+ export interface IconRenameProps extends IconProps {
3
+ size?: '16' | '24';
4
+ }
5
+ declare const IconRename: import('react').ForwardRefExoticComponent<IconRenameProps> & {
6
+ __bitkitIcon: true;
7
+ };
8
+ export default IconRename;
@@ -0,0 +1,30 @@
1
+ import ForwardRef from "../svgs/16x16/icon-rename-16.js";
2
+ import ForwardRef$1 from "../svgs/24x24/icon-rename-24.js";
3
+ import { bitkitIcon } from "./bitkitIcon.js";
4
+ import { jsx } from "react/jsx-runtime";
5
+ import { Icon } from "@chakra-ui/react/icon";
6
+ // lib/icons/IconRename.tsx
7
+ var IconRename = bitkitIcon(function IconRename({ size = "24", ...props }, ref) {
8
+ if (size === "16") return /* @__PURE__ */ jsx(Icon, {
9
+ asChild: true,
10
+ ref,
11
+ ...props,
12
+ children: /* @__PURE__ */ jsx(ForwardRef, {
13
+ width: "16",
14
+ height: "16"
15
+ })
16
+ });
17
+ return /* @__PURE__ */ jsx(Icon, {
18
+ asChild: true,
19
+ ref,
20
+ ...props,
21
+ children: /* @__PURE__ */ jsx(ForwardRef$1, {
22
+ width: "24",
23
+ height: "24"
24
+ })
25
+ });
26
+ });
27
+ IconRename.displayName = "IconRename";
28
+ export { IconRename as default };
29
+
30
+ //# sourceMappingURL=IconRename.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconRename.js","names":["SVG16","SVG24"],"sources":["../../lib/icons/IconRename.tsx"],"sourcesContent":["// This file is auto-generated by 'scripts/generateIconComponents.ts'. Do not edit it manually.\n\nimport { Icon, type IconProps } from '@chakra-ui/react/icon';\nimport { type Ref } from 'react';\n\nimport SVG16 from '../svgs/16x16/icon-rename-16.svg?react';\nimport SVG24 from '../svgs/24x24/icon-rename-24.svg?react';\nimport { bitkitIcon } from './bitkitIcon';\n\nexport interface IconRenameProps extends IconProps {\n size?: '16' | '24';\n}\n\nconst IconRename = bitkitIcon(function IconRename({ size = '24', ...props }: IconRenameProps, ref: Ref<SVGSVGElement>) {\n if (size === '16') {\n return (\n <Icon asChild ref={ref} {...props}>\n <SVG16 width=\"16\" height=\"16\" />\n </Icon>\n );\n }\n\n return (\n <Icon asChild ref={ref} {...props}>\n <SVG24 width=\"24\" height=\"24\" />\n </Icon>\n );\n});\n\nIconRename.displayName = 'IconRename';\n\nexport default IconRename;\n"],"mappings":";;;;;;AAaA,IAAM,aAAa,WAAW,SAAS,WAAW,EAAE,OAAO,MAAM,GAAG,SAA0B,KAAyB;CACrH,IAAI,SAAS,MACX,OACE,oBAAC,MAAD;EAAM,SAAA;EAAa;EAAK,GAAI;EAC1B,UAAA,oBAACA,YAAD;GAAO,OAAM;GAAK,QAAO;EAAM,CAAA;CAC3B,CAAA;CAIV,OACE,oBAAC,MAAD;EAAM,SAAA;EAAa;EAAK,GAAI;EAC1B,UAAA,oBAACC,cAAD;GAAO,OAAM;GAAK,QAAO;EAAM,CAAA;CAC3B,CAAA;AAEV,CAAC;AAED,WAAW,cAAc"}
@@ -0,0 +1,8 @@
1
+ import { IconProps } from '@chakra-ui/react/icon';
2
+ export interface IconTimelineProps extends IconProps {
3
+ size?: '16' | '24';
4
+ }
5
+ declare const IconTimeline: import('react').ForwardRefExoticComponent<IconTimelineProps> & {
6
+ __bitkitIcon: true;
7
+ };
8
+ export default IconTimeline;
@@ -0,0 +1,30 @@
1
+ import ForwardRef from "../svgs/16x16/icon-timeline-16.js";
2
+ import ForwardRef$1 from "../svgs/24x24/icon-timeline-24.js";
3
+ import { bitkitIcon } from "./bitkitIcon.js";
4
+ import { jsx } from "react/jsx-runtime";
5
+ import { Icon } from "@chakra-ui/react/icon";
6
+ // lib/icons/IconTimeline.tsx
7
+ var IconTimeline = bitkitIcon(function IconTimeline({ size = "24", ...props }, ref) {
8
+ if (size === "16") return /* @__PURE__ */ jsx(Icon, {
9
+ asChild: true,
10
+ ref,
11
+ ...props,
12
+ children: /* @__PURE__ */ jsx(ForwardRef, {
13
+ width: "16",
14
+ height: "16"
15
+ })
16
+ });
17
+ return /* @__PURE__ */ jsx(Icon, {
18
+ asChild: true,
19
+ ref,
20
+ ...props,
21
+ children: /* @__PURE__ */ jsx(ForwardRef$1, {
22
+ width: "24",
23
+ height: "24"
24
+ })
25
+ });
26
+ });
27
+ IconTimeline.displayName = "IconTimeline";
28
+ export { IconTimeline as default };
29
+
30
+ //# sourceMappingURL=IconTimeline.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconTimeline.js","names":["SVG16","SVG24"],"sources":["../../lib/icons/IconTimeline.tsx"],"sourcesContent":["// This file is auto-generated by 'scripts/generateIconComponents.ts'. Do not edit it manually.\n\nimport { Icon, type IconProps } from '@chakra-ui/react/icon';\nimport { type Ref } from 'react';\n\nimport SVG16 from '../svgs/16x16/icon-timeline-16.svg?react';\nimport SVG24 from '../svgs/24x24/icon-timeline-24.svg?react';\nimport { bitkitIcon } from './bitkitIcon';\n\nexport interface IconTimelineProps extends IconProps {\n size?: '16' | '24';\n}\n\nconst IconTimeline = bitkitIcon(function IconTimeline(\n { size = '24', ...props }: IconTimelineProps,\n ref: Ref<SVGSVGElement>,\n) {\n if (size === '16') {\n return (\n <Icon asChild ref={ref} {...props}>\n <SVG16 width=\"16\" height=\"16\" />\n </Icon>\n );\n }\n\n return (\n <Icon asChild ref={ref} {...props}>\n <SVG24 width=\"24\" height=\"24\" />\n </Icon>\n );\n});\n\nIconTimeline.displayName = 'IconTimeline';\n\nexport default IconTimeline;\n"],"mappings":";;;;;;AAaA,IAAM,eAAe,WAAW,SAAS,aACvC,EAAE,OAAO,MAAM,GAAG,SAClB,KACA;CACA,IAAI,SAAS,MACX,OACE,oBAAC,MAAD;EAAM,SAAA;EAAa;EAAK,GAAI;EAC1B,UAAA,oBAACA,YAAD;GAAO,OAAM;GAAK,QAAO;EAAM,CAAA;CAC3B,CAAA;CAIV,OACE,oBAAC,MAAD;EAAM,SAAA;EAAa;EAAK,GAAI;EAC1B,UAAA,oBAACC,cAAD;GAAO,OAAM;GAAK,QAAO;EAAM,CAAA;CAC3B,CAAA;AAEV,CAAC;AAED,aAAa,cAAc"}
@@ -157,6 +157,7 @@ export { default as IconGoogleColor, type IconGoogleColorProps } from './IconGoo
157
157
  export { default as IconGooglePlay, type IconGooglePlayProps } from './IconGooglePlay';
158
158
  export { default as IconGooglePlayColor, type IconGooglePlayColorProps } from './IconGooglePlayColor';
159
159
  export { default as IconGradle, type IconGradleProps } from './IconGradle';
160
+ export { default as IconGraph, type IconGraphProps } from './IconGraph';
160
161
  export { default as IconGroup, type IconGroupProps } from './IconGroup';
161
162
  export { default as IconHashtag, type IconHashtagProps } from './IconHashtag';
162
163
  export { default as IconHeadset, type IconHeadsetProps } from './IconHeadset';
@@ -250,6 +251,7 @@ export { default as IconRegex, type IconRegexProps } from './IconRegex';
250
251
  export { default as IconRelease, type IconReleaseProps } from './IconRelease';
251
252
  export { default as IconReleaseFilled, type IconReleaseFilledProps } from './IconReleaseFilled';
252
253
  export { default as IconRemoteAccess, type IconRemoteAccessProps } from './IconRemoteAccess';
254
+ export { default as IconRename, type IconRenameProps } from './IconRename';
253
255
  export { default as IconReplace, type IconReplaceProps } from './IconReplace';
254
256
  export { default as IconResponsiveness, type IconResponsivenessProps } from './IconResponsiveness';
255
257
  export { default as IconReviewerApproved, type IconReviewerApprovedProps } from './IconReviewerApproved';
@@ -292,6 +294,7 @@ export { default as IconTestQuarantine, type IconTestQuarantineProps } from './I
292
294
  export { default as IconThemeDarkToggle, type IconThemeDarkToggleProps } from './IconThemeDarkToggle';
293
295
  export { default as IconThumbDown, type IconThumbDownProps } from './IconThumbDown';
294
296
  export { default as IconThumbUp, type IconThumbUpProps } from './IconThumbUp';
297
+ export { default as IconTimeline, type IconTimelineProps } from './IconTimeline';
295
298
  export { default as IconTools, type IconToolsProps } from './IconTools';
296
299
  export { default as IconTrash, type IconTrashProps } from './IconTrash';
297
300
  export { default as IconTrigger, type IconTriggerProps } from './IconTrigger';
package/dist/main.js CHANGED
@@ -143,6 +143,7 @@ import IconGoogleColor from "./icons/IconGoogleColor.js";
143
143
  import IconGooglePlay from "./icons/IconGooglePlay.js";
144
144
  import IconGooglePlayColor from "./icons/IconGooglePlayColor.js";
145
145
  import IconGradle from "./icons/IconGradle.js";
146
+ import IconGraph from "./icons/IconGraph.js";
146
147
  import IconGroup from "./icons/IconGroup.js";
147
148
  import IconHashtag from "./icons/IconHashtag.js";
148
149
  import IconHeadset from "./icons/IconHeadset.js";
@@ -236,6 +237,7 @@ import IconRegex from "./icons/IconRegex.js";
236
237
  import IconRelease from "./icons/IconRelease.js";
237
238
  import IconReleaseFilled from "./icons/IconReleaseFilled.js";
238
239
  import IconRemoteAccess from "./icons/IconRemoteAccess.js";
240
+ import IconRename from "./icons/IconRename.js";
239
241
  import IconReplace from "./icons/IconReplace.js";
240
242
  import IconResponsiveness from "./icons/IconResponsiveness.js";
241
243
  import IconReviewerApproved from "./icons/IconReviewerApproved.js";
@@ -278,6 +280,7 @@ import IconTestQuarantine from "./icons/IconTestQuarantine.js";
278
280
  import IconThemeDarkToggle from "./icons/IconThemeDarkToggle.js";
279
281
  import IconThumbDown from "./icons/IconThumbDown.js";
280
282
  import IconThumbUp from "./icons/IconThumbUp.js";
283
+ import IconTimeline from "./icons/IconTimeline.js";
281
284
  import IconTools from "./icons/IconTools.js";
282
285
  import IconTrash from "./icons/IconTrash.js";
283
286
  import IconTrigger from "./icons/IconTrigger.js";
@@ -401,4 +404,4 @@ import { uiSideNavRailWidth } from "./theme/slot-recipes/UISideNav.recipe.js";
401
404
  import BitkitUISideNav_default from "./components/BitkitUISideNav/BitkitUISideNav.js";
402
405
  import Provider from "./providers/BitkitProvider.js";
403
406
  import bitkitTheme from "./theme/index.js";
404
- export { BitbotLogoWithText, 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, BitkitContentWrapper_default as BitkitContentWrapper, BitkitControlButton, BitkitDataWidget, BitkitDatePicker, BitkitDefinitionTooltip, BitkitDialog_default as BitkitDialog, BitkitDraggableCard, BitkitDrawer, BitkitEmptyState, BitkitExpandableCard, BitkitField, BitkitFileInput, BitkitFilter_default as BitkitFilter, BitkitFormDialog_default as BitkitFormDialog, BitkitGroupHeading, BitkitHeading, BitkitIconButton, BitkitInlineLoading, BitkitLabel, BitkitLabelTooltip, BitkitLabeledData, BitkitLightbox, BitkitLink, BitkitLinkButton, BitkitLinkCard, 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, BitkitPageSubheader, BitkitPagination, BitkitPaginationLoadMore, BitkitPopover, BitkitProductThumbnail, 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, IconBitbotIntercomWhite, 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, IconModeDark, IconModeLight, IconModeSystem, 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, uiHeaderHeightPx, uiSideNavRailWidth, useBitkitTour, useResponsive, useStepsDialog, useUISideNav };
407
+ export { BitbotLogoWithText, 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, BitkitContentWrapper_default as BitkitContentWrapper, BitkitControlButton, BitkitDataWidget, BitkitDatePicker, BitkitDefinitionTooltip, BitkitDialog_default as BitkitDialog, BitkitDraggableCard, BitkitDrawer, BitkitEmptyState, BitkitExpandableCard, BitkitField, BitkitFileInput, BitkitFilter_default as BitkitFilter, BitkitFormDialog_default as BitkitFormDialog, BitkitGroupHeading, BitkitHeading, BitkitIconButton, BitkitInlineLoading, BitkitLabel, BitkitLabelTooltip, BitkitLabeledData, BitkitLightbox, BitkitLink, BitkitLinkButton, BitkitLinkCard, 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, BitkitPageSubheader, BitkitPagination, BitkitPaginationLoadMore, BitkitPopover, BitkitProductThumbnail, 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, IconBitbotIntercomWhite, 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, IconGraph, 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, IconModeDark, IconModeLight, IconModeSystem, 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, IconRename, 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, IconTimeline, 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, uiHeaderHeightPx, uiSideNavRailWidth, useBitkitTour, useResponsive, useStepsDialog, useUISideNav };
@@ -0,0 +1,22 @@
1
+ import { forwardRef } from "react";
2
+ import { jsx } from "react/jsx-runtime";
3
+ // lib/svgs/16x16/icon-graph-16.svg?react
4
+ var SvgIconGraph16 = (props, ref) => /* @__PURE__ */ jsx("svg", {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ width: 16,
7
+ height: 16,
8
+ fill: "none",
9
+ viewBox: "0 0 16 16",
10
+ ref,
11
+ ...props,
12
+ children: /* @__PURE__ */ jsx("path", {
13
+ fill: "currentColor",
14
+ fillRule: "evenodd",
15
+ d: "M13.47 1.34a1.334 1.334 0 0 1 1.197 1.326v2.667l-.007.137a1.334 1.334 0 0 1-1.19 1.19l-.136.006H12c-.69 0-1.258-.524-1.326-1.196l-.007-.137v-.666h-2v6.666h2v-.667c0-.736.597-1.333 1.333-1.333h1.334l.136.007a1.334 1.334 0 0 1 1.197 1.326v2.667l-.007.137a1.334 1.334 0 0 1-1.19 1.19l-.136.006H12c-.69 0-1.258-.524-1.326-1.196l-.007-.137v-.666h-2a1.334 1.334 0 0 1-1.334-1.334V8.667h-2v.666l-.007.137a1.334 1.334 0 0 1-1.19 1.19L4 10.665H2.666c-.69 0-1.258-.524-1.326-1.196l-.007-.137V6.666c0-.736.597-1.333 1.333-1.333H4l.136.007a1.334 1.334 0 0 1 1.197 1.326v.667h2V4.667c0-.736.598-1.334 1.334-1.334h2v-.667c0-.736.597-1.333 1.333-1.333h1.334zM12 13.333h1.334v-2.667H12zm-9.334-4H4V6.666H2.666zm9.334-4h1.334V2.666H12z",
16
+ clipRule: "evenodd"
17
+ })
18
+ });
19
+ var ForwardRef = forwardRef(SvgIconGraph16);
20
+ export { ForwardRef as default };
21
+
22
+ //# sourceMappingURL=icon-graph-16.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-graph-16.js","names":[],"sources":["../../../lib/svgs/16x16/icon-graph-16.svg?react"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SvgIconGraph16 = (props, ref) => /* @__PURE__ */ _jsx(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\twidth: 16,\n\theight: 16,\n\tfill: \"none\",\n\tviewBox: \"0 0 16 16\",\n\tref,\n\t...props,\n\tchildren: /* @__PURE__ */ _jsx(\"path\", {\n\t\tfill: \"currentColor\",\n\t\tfillRule: \"evenodd\",\n\t\td: \"M13.47 1.34a1.334 1.334 0 0 1 1.197 1.326v2.667l-.007.137a1.334 1.334 0 0 1-1.19 1.19l-.136.006H12c-.69 0-1.258-.524-1.326-1.196l-.007-.137v-.666h-2v6.666h2v-.667c0-.736.597-1.333 1.333-1.333h1.334l.136.007a1.334 1.334 0 0 1 1.197 1.326v2.667l-.007.137a1.334 1.334 0 0 1-1.19 1.19l-.136.006H12c-.69 0-1.258-.524-1.326-1.196l-.007-.137v-.666h-2a1.334 1.334 0 0 1-1.334-1.334V8.667h-2v.666l-.007.137a1.334 1.334 0 0 1-1.19 1.19L4 10.665H2.666c-.69 0-1.258-.524-1.326-1.196l-.007-.137V6.666c0-.736.597-1.333 1.333-1.333H4l.136.007a1.334 1.334 0 0 1 1.197 1.326v.667h2V4.667c0-.736.598-1.334 1.334-1.334h2v-.667c0-.736.597-1.333 1.333-1.333h1.334zM12 13.333h1.334v-2.667H12zm-9.334-4H4V6.666H2.666zm9.334-4h1.334V2.666H12z\",\n\t\tclipRule: \"evenodd\"\n\t})\n});\nconst ForwardRef = forwardRef(SvgIconGraph16);\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/16x16/icon-rename-16.svg?react
4
+ var SvgIconRename16 = (props, ref) => /* @__PURE__ */ jsx("svg", {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ width: 16,
7
+ height: 16,
8
+ fill: "none",
9
+ viewBox: "0 0 16 16",
10
+ ref,
11
+ ...props,
12
+ children: /* @__PURE__ */ jsxs("g", {
13
+ fill: "currentColor",
14
+ children: [
15
+ /* @__PURE__ */ jsx("path", { d: "M7.5 1c.77 0 1.469.292 2 .768a3 3 0 0 1 2-.768h1q.255 0 .5.041v2.094A1 1 0 0 0 12.5 3h-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h1c.182 0 .353-.05.5-.136v2.094q-.245.041-.5.042h-1c-.77 0-1.469-.292-2-.769a2.99 2.99 0 0 1-2 .769H6v-2h1.5a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H6V1z" }),
16
+ /* @__PURE__ */ jsx("path", { d: "M7 6H2.5v4H7v1.5H2a1 1 0 0 1-.995-.898L1 10.5v-5a1 1 0 0 1 1-1h5zM14.103 4.505A1 1 0 0 1 15 5.5v5a1 1 0 0 1-.898.995L14 11.5h-2V10h1.5V6H12V4.5h2z" }),
17
+ /* @__PURE__ */ jsx("path", { d: "M7 8.75H4v-1.5h3z" })
18
+ ]
19
+ })
20
+ });
21
+ var ForwardRef = forwardRef(SvgIconRename16);
22
+ export { ForwardRef as default };
23
+
24
+ //# sourceMappingURL=icon-rename-16.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-rename-16.js","names":[],"sources":["../../../lib/svgs/16x16/icon-rename-16.svg?react"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgIconRename16 = (props, ref) => /* @__PURE__ */ _jsx(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\twidth: 16,\n\theight: 16,\n\tfill: \"none\",\n\tviewBox: \"0 0 16 16\",\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: \"M7.5 1c.77 0 1.469.292 2 .768a3 3 0 0 1 2-.768h1q.255 0 .5.041v2.094A1 1 0 0 0 12.5 3h-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h1c.182 0 .353-.05.5-.136v2.094q-.245.041-.5.042h-1c-.77 0-1.469-.292-2-.769a2.99 2.99 0 0 1-2 .769H6v-2h1.5a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H6V1z\" }),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", { d: \"M7 6H2.5v4H7v1.5H2a1 1 0 0 1-.995-.898L1 10.5v-5a1 1 0 0 1 1-1h5zM14.103 4.505A1 1 0 0 1 15 5.5v5a1 1 0 0 1-.898.995L14 11.5h-2V10h1.5V6H12V4.5h2z\" }),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", { d: \"M7 8.75H4v-1.5h3z\" })\n\t\t]\n\t})\n});\nconst ForwardRef = forwardRef(SvgIconRename16);\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,wQAAwQ,CAAC;GAC3R,oBAAK,QAAQ,EAAE,GAAG,qJAAqJ,CAAC;GACxK,oBAAK,QAAQ,EAAE,GAAG,oBAAoB,CAAC;EACxD;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/16x16/icon-timeline-16.svg?react
4
+ var SvgIconTimeline16 = (props, ref) => /* @__PURE__ */ jsx("svg", {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ width: 16,
7
+ height: 16,
8
+ fill: "none",
9
+ viewBox: "0 0 16 16",
10
+ ref,
11
+ ...props,
12
+ children: /* @__PURE__ */ jsx("g", {
13
+ fill: "currentColor",
14
+ fillRule: "evenodd",
15
+ clipRule: "evenodd",
16
+ children: /* @__PURE__ */ jsx("path", { d: "M13.47 10.674A1.334 1.334 0 0 1 14.667 12v1.334l-.007.136a1.335 1.335 0 0 1-1.19 1.19l-.136.007H8c-.69 0-1.258-.525-1.326-1.197l-.007-.136V12c0-.736.597-1.333 1.333-1.333h5.334zM8 13.334h5.334V12H8zM10.803 6.007A1.334 1.334 0 0 1 12 7.333v1.334l-.007.136a1.334 1.334 0 0 1-1.19 1.19l-.136.007H5.333c-.69 0-1.258-.525-1.326-1.197L4 8.667V7.333C4 6.597 4.597 6 5.333 6h5.334zm-5.47 2.66h5.334V7.333H5.333zM13.333 1.333c.736 0 1.333.597 1.333 1.333V4l-.007.136a1.334 1.334 0 0 1-1.19 1.19l-.136.007H2.666c-.69 0-1.258-.525-1.326-1.197L1.333 4V2.666c0-.736.597-1.333 1.333-1.333zM2.666 4h10.667V2.666H2.666z" })
17
+ })
18
+ });
19
+ var ForwardRef = forwardRef(SvgIconTimeline16);
20
+ export { ForwardRef as default };
21
+
22
+ //# sourceMappingURL=icon-timeline-16.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-timeline-16.js","names":[],"sources":["../../../lib/svgs/16x16/icon-timeline-16.svg?react"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SvgIconTimeline16 = (props, ref) => /* @__PURE__ */ _jsx(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\twidth: 16,\n\theight: 16,\n\tfill: \"none\",\n\tviewBox: \"0 0 16 16\",\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: \"M13.47 10.674A1.334 1.334 0 0 1 14.667 12v1.334l-.007.136a1.335 1.335 0 0 1-1.19 1.19l-.136.007H8c-.69 0-1.258-.525-1.326-1.197l-.007-.136V12c0-.736.597-1.333 1.333-1.333h5.334zM8 13.334h5.334V12H8zM10.803 6.007A1.334 1.334 0 0 1 12 7.333v1.334l-.007.136a1.334 1.334 0 0 1-1.19 1.19l-.136.007H5.333c-.69 0-1.258-.525-1.326-1.197L4 8.667V7.333C4 6.597 4.597 6 5.333 6h5.334zm-5.47 2.66h5.334V7.333H5.333zM13.333 1.333c.736 0 1.333.597 1.333 1.333V4l-.007.136a1.334 1.334 0 0 1-1.19 1.19l-.136.007H2.666c-.69 0-1.258-.525-1.326-1.197L1.333 4V2.666c0-.736.597-1.333 1.333-1.333zM2.666 4h10.667V2.666H2.666z\" })\n\t})\n});\nconst ForwardRef = forwardRef(SvgIconTimeline16);\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,8lBAA8lB,CAAC;CAC5oB,CAAC;AACF,CAAC;AACD,IAAM,aAAa,WAAW,iBAAiB"}
@@ -13,8 +13,7 @@ var SvgIconDot24 = (props, ref) => /* @__PURE__ */ jsx("svg", {
13
13
  cx: 12,
14
14
  cy: 12,
15
15
  r: 2,
16
- fill: "currentColor",
17
- transform: "rotate(90 12 12)"
16
+ fill: "currentColor"
18
17
  })
19
18
  });
20
19
  var ForwardRef = forwardRef(SvgIconDot24);
@@ -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"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit-v2",
3
3
  "private": false,
4
- "version": "0.3.531",
4
+ "version": "0.3.533",
5
5
  "description": "Bitrise Design System Components built with Chakra UI V3",
6
6
  "keywords": [
7
7
  "react",
@@ -104,7 +104,10 @@
104
104
  "@fontsource-variable/figtree": "^5.3.0",
105
105
  "@fontsource-variable/source-code-pro": "^5.3.1",
106
106
  "@zag-js/dom-query": "1.47.0",
107
+ "@zag-js/file-upload": "1.47.0",
108
+ "@zag-js/image-cropper": "1.47.0",
107
109
  "@zag-js/remove-scroll": "1.47.0",
110
+ "@zag-js/utils": "1.47.0",
108
111
  "es-toolkit": "^1.53.2",
109
112
  "react-markdown": "^10.1.0"
110
113
  },