@bitrise/bitkit-v2 0.3.519 → 0.3.521
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.
- package/dist/components/BitkitControlButton/BitkitControlButton.js +2 -0
- package/dist/components/BitkitControlButton/BitkitControlButton.js.map +1 -1
- package/dist/components/BitkitProductThumbnail/BitkitProductThumbnail.d.ts +12 -0
- package/dist/components/BitkitProductThumbnail/BitkitProductThumbnail.js +74 -0
- package/dist/components/BitkitProductThumbnail/BitkitProductThumbnail.js.map +1 -0
- package/dist/components/BitkitProductThumbnail/svgs/build-cache-40.js +129 -0
- package/dist/components/BitkitProductThumbnail/svgs/build-cache-40.js.map +1 -0
- package/dist/components/BitkitProductThumbnail/svgs/build-cache-64.js +131 -0
- package/dist/components/BitkitProductThumbnail/svgs/build-cache-64.js.map +1 -0
- package/dist/components/BitkitProductThumbnail/svgs/build-hub-40.js +135 -0
- package/dist/components/BitkitProductThumbnail/svgs/build-hub-40.js.map +1 -0
- package/dist/components/BitkitProductThumbnail/svgs/build-hub-64.js +137 -0
- package/dist/components/BitkitProductThumbnail/svgs/build-hub-64.js.map +1 -0
- package/dist/components/BitkitProductThumbnail/svgs/ci-40.js +176 -0
- package/dist/components/BitkitProductThumbnail/svgs/ci-40.js.map +1 -0
- package/dist/components/BitkitProductThumbnail/svgs/ci-64.js +178 -0
- package/dist/components/BitkitProductThumbnail/svgs/ci-64.js.map +1 -0
- package/dist/components/BitkitProductThumbnail/svgs/code-push-40.js +83 -0
- package/dist/components/BitkitProductThumbnail/svgs/code-push-40.js.map +1 -0
- package/dist/components/BitkitProductThumbnail/svgs/code-push-64.js +85 -0
- package/dist/components/BitkitProductThumbnail/svgs/code-push-64.js.map +1 -0
- package/dist/components/BitkitProductThumbnail/svgs/insights-40.js +120 -0
- package/dist/components/BitkitProductThumbnail/svgs/insights-40.js.map +1 -0
- package/dist/components/BitkitProductThumbnail/svgs/insights-64.js +122 -0
- package/dist/components/BitkitProductThumbnail/svgs/insights-64.js.map +1 -0
- package/dist/components/BitkitProductThumbnail/svgs/rde-40.js +391 -0
- package/dist/components/BitkitProductThumbnail/svgs/rde-40.js.map +1 -0
- package/dist/components/BitkitProductThumbnail/svgs/rde-64.js +395 -0
- package/dist/components/BitkitProductThumbnail/svgs/rde-64.js.map +1 -0
- package/dist/components/BitkitProductThumbnail/svgs/releases-40.js +112 -0
- package/dist/components/BitkitProductThumbnail/svgs/releases-40.js.map +1 -0
- package/dist/components/BitkitProductThumbnail/svgs/releases-64.js +114 -0
- package/dist/components/BitkitProductThumbnail/svgs/releases-64.js.map +1 -0
- package/dist/components/BitkitRadio/BitkitRadio.js +1 -0
- package/dist/components/BitkitRadio/BitkitRadio.js.map +1 -1
- package/dist/components/BitkitSwitch/BitkitSwitch.js +3 -0
- package/dist/components/BitkitSwitch/BitkitSwitch.js.map +1 -1
- package/dist/components/BitkitToggleButton/BitkitToggleButton.js +1 -0
- package/dist/components/BitkitToggleButton/BitkitToggleButton.js.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/main.js +2 -1
- package/dist/theme/recipes/ProductThumbnail.recipe.d.ts +20 -0
- package/dist/theme/recipes/ProductThumbnail.recipe.js +36 -0
- package/dist/theme/recipes/ProductThumbnail.recipe.js.map +1 -0
- package/dist/theme/recipes/Skeleton.recipe.d.ts +3 -0
- package/dist/theme/recipes/Skeleton.recipe.js +4 -5
- package/dist/theme/recipes/Skeleton.recipe.js.map +1 -1
- package/dist/theme/recipes/index.js +2 -0
- package/dist/theme/recipes/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -47,6 +47,7 @@ var BitkitControlButton = forwardRef((props, ref) => {
|
|
|
47
47
|
rel: effectiveRel,
|
|
48
48
|
target: effectiveTarget,
|
|
49
49
|
children: /* @__PURE__ */ jsx(Skeleton, {
|
|
50
|
+
display: "flex",
|
|
50
51
|
loading: isSkeleton,
|
|
51
52
|
children: /* @__PURE__ */ jsx(Icon, { size: iconSize })
|
|
52
53
|
})
|
|
@@ -69,6 +70,7 @@ var BitkitControlButton = forwardRef((props, ref) => {
|
|
|
69
70
|
size
|
|
70
71
|
}),
|
|
71
72
|
children: /* @__PURE__ */ jsx(Skeleton, {
|
|
73
|
+
display: "flex",
|
|
72
74
|
loading: isSkeleton,
|
|
73
75
|
children: /* @__PURE__ */ jsx(Icon, { size: iconSize })
|
|
74
76
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BitkitControlButton.js","names":[],"sources":["../../../lib/components/BitkitControlButton/BitkitControlButton.tsx"],"sourcesContent":["import { Skeleton } from '@chakra-ui/react/skeleton';\nimport { chakra, type HTMLChakraProps, useRecipe } from '@chakra-ui/react/styled-system';\nimport { forwardRef, type KeyboardEvent, type MouseEvent, type Ref } from 'react';\n\nimport { type BitkitIconComponent } from '../../icons';\nimport opensPopup from '../../utilities/opensPopup';\nimport BitkitLabelTooltip, { type BitkitLabelTooltipProps } from '../BitkitLabelTooltip/BitkitLabelTooltip';\n\ntype ControlButtonSize = 'xxs' | 'xs' | 'sm' | 'md' | 'lg';\n\ninterface BitkitControlButtonCommonProps {\n icon: BitkitIconComponent;\n isDanger?: boolean;\n label: string;\n size?: ControlButtonSize;\n state?: 'disabled' | 'skeleton';\n /**\n * Overrides for the label tooltip. It is off by default when this control opens a popup — a menu,\n * select or popover trigger — where the panel is the affordance and a tooltip would hover over it.\n * Pass `{ disabled: false }` to bring it back. The accessible name comes from `label` either way.\n */\n tooltipProps?: Partial<Omit<BitkitLabelTooltipProps, 'children' | 'text'>>;\n}\n\n// Exported so dependent declarations can name it: `BitkitTabs.AddButton`'s props derive from\n// `Extract<BitkitControlButtonProps, { href?: undefined }>` (this type), and the .d.ts emit\n// fails with TS4023 (\"cannot be named\") if it isn't exported.\nexport interface BitkitControlButtonAsButtonProps\n extends BitkitControlButtonCommonProps, Omit<HTMLChakraProps<'button'>, 'children' | 'disabled' | 'size'> {\n href?: undefined;\n isExternal?: undefined;\n}\n\nexport interface BitkitControlButtonAsAnchorProps\n extends BitkitControlButtonCommonProps, Omit<HTMLChakraProps<'a'>, 'children' | 'size'> {\n href: string;\n isExternal?: boolean;\n}\n\nexport type BitkitControlButtonProps = BitkitControlButtonAsButtonProps | BitkitControlButtonAsAnchorProps;\n\nconst BitkitControlButton = forwardRef<HTMLButtonElement | HTMLAnchorElement, BitkitControlButtonProps>(\n (props, ref) => {\n const Icon = props.icon;\n const size = props.size ?? 'sm';\n const recipe = useRecipe({ key: 'controlButton' });\n const iconSize = size === 'xxs' || size === 'xs' ? '16' : '24';\n const isDisabled = props.state === 'disabled';\n const isSkeleton = props.state === 'skeleton';\n const isPopupTrigger = opensPopup(props);\n const inertOnClick = isDisabled || isSkeleton;\n\n // --- Anchor mode (href) ---\n if (props.href !== undefined) {\n const {\n href,\n icon: _icon,\n isDanger,\n isExternal,\n label,\n onClick,\n onKeyDown,\n rel,\n size: _size,\n state: _state,\n target,\n tooltipProps,\n ...anchorRest\n } = props;\n const effectiveTarget = isExternal ? '_blank' : target;\n const effectiveRel = isExternal ? (rel ? `${rel} noreferrer noopener` : 'noreferrer noopener') : rel;\n const handleClick = inertOnClick\n ? (e: MouseEvent<HTMLAnchorElement>) => {\n e.preventDefault();\n e.stopPropagation();\n }\n : onClick;\n const handleKeyDown = inertOnClick\n ? (e: KeyboardEvent<HTMLAnchorElement>) => {\n if (e.key === 'Enter' || e.key === ' ') {\n e.preventDefault();\n e.stopPropagation();\n }\n }\n : onKeyDown;\n return (\n <BitkitLabelTooltip text={label} disabled={isPopupTrigger} {...tooltipProps}>\n <chakra.a\n ref={ref as Ref<HTMLAnchorElement>}\n aria-disabled={inertOnClick || undefined}\n aria-label={label}\n {...anchorRest}\n css={recipe({ isDanger, size })}\n href={inertOnClick ? undefined : href}\n onClick={handleClick}\n onKeyDown={handleKeyDown}\n rel={effectiveRel}\n target={effectiveTarget}\n >\n <Skeleton loading={isSkeleton}>\n <Icon size={iconSize} />\n </Skeleton>\n </chakra.a>\n </BitkitLabelTooltip>\n );\n }\n\n // --- Button mode (default) ---\n const { icon: _icon, isDanger, label, size: _size, state, tooltipProps, ...buttonRest } = props;\n return (\n <BitkitLabelTooltip text={label} disabled={isPopupTrigger} {...tooltipProps}>\n <chakra.button\n ref={ref as Ref<HTMLButtonElement>}\n aria-label={label}\n disabled={state === 'disabled' || state === 'skeleton'}\n // A control button is an action, not a form submit — without this it would submit any\n // form it happens to sit inside. Before the spread, so a consumer can still opt into\n // `type=\"submit\"`.\n type=\"button\"\n {...buttonRest}\n css={recipe({ isDanger, size })}\n >\n <Skeleton loading={isSkeleton}>\n <Icon size={iconSize} />\n </Skeleton>\n </chakra.button>\n </BitkitLabelTooltip>\n );\n },\n);\n\nBitkitControlButton.displayName = 'BitkitControlButton';\n\nexport default BitkitControlButton;\n"],"mappings":";;;;;;;AAyCA,IAAM,sBAAsB,YACzB,OAAO,QAAQ;CACd,MAAM,OAAO,MAAM;CACnB,MAAM,OAAO,MAAM,QAAQ;CAC3B,MAAM,SAAS,UAAU,EAAE,KAAK,gBAAgB,CAAC;CACjD,MAAM,WAAW,SAAS,SAAS,SAAS,OAAO,OAAO;CAC1D,MAAM,aAAa,MAAM,UAAU;CACnC,MAAM,aAAa,MAAM,UAAU;CACnC,MAAM,iBAAiB,WAAW,KAAK;CACvC,MAAM,eAAe,cAAc;CAGnC,IAAI,MAAM,SAAS,KAAA,GAAW;EAC5B,MAAM,EACJ,MACA,MAAM,OACN,UACA,YACA,OACA,SACA,WACA,KACA,MAAM,OACN,OAAO,QACP,QACA,cACA,GAAG,eACD;EACJ,MAAM,kBAAkB,aAAa,WAAW;EAChD,MAAM,eAAe,aAAc,MAAM,GAAG,IAAI,wBAAwB,wBAAyB;EACjG,MAAM,cAAc,gBACf,MAAqC;GACpC,EAAE,eAAe;GACjB,EAAE,gBAAgB;EACpB,IACA;EACJ,MAAM,gBAAgB,gBACjB,MAAwC;GACvC,IAAI,EAAE,QAAQ,WAAW,EAAE,QAAQ,KAAK;IACtC,EAAE,eAAe;IACjB,EAAE,gBAAgB;GACpB;EACF,IACA;EACJ,OACE,oBAAC,oBAAD;GAAoB,MAAM;GAAO,UAAU;GAAgB,GAAI;GAC7D,UAAA,oBAAC,OAAO,GAAR;IACO;IACL,iBAAe,gBAAgB,KAAA;IAC/B,cAAY;IACZ,GAAI;IACJ,KAAK,OAAO;KAAE;KAAU;IAAK,CAAC;IAC9B,MAAM,eAAe,KAAA,IAAY;IACjC,SAAS;IACT,WAAW;IACX,KAAK;IACL,QAAQ;IAER,UAAA,oBAAC,UAAD;KAAU,SAAS;
|
|
1
|
+
{"version":3,"file":"BitkitControlButton.js","names":[],"sources":["../../../lib/components/BitkitControlButton/BitkitControlButton.tsx"],"sourcesContent":["import { Skeleton } from '@chakra-ui/react/skeleton';\nimport { chakra, type HTMLChakraProps, useRecipe } from '@chakra-ui/react/styled-system';\nimport { forwardRef, type KeyboardEvent, type MouseEvent, type Ref } from 'react';\n\nimport { type BitkitIconComponent } from '../../icons';\nimport opensPopup from '../../utilities/opensPopup';\nimport BitkitLabelTooltip, { type BitkitLabelTooltipProps } from '../BitkitLabelTooltip/BitkitLabelTooltip';\n\ntype ControlButtonSize = 'xxs' | 'xs' | 'sm' | 'md' | 'lg';\n\ninterface BitkitControlButtonCommonProps {\n icon: BitkitIconComponent;\n isDanger?: boolean;\n label: string;\n size?: ControlButtonSize;\n state?: 'disabled' | 'skeleton';\n /**\n * Overrides for the label tooltip. It is off by default when this control opens a popup — a menu,\n * select or popover trigger — where the panel is the affordance and a tooltip would hover over it.\n * Pass `{ disabled: false }` to bring it back. The accessible name comes from `label` either way.\n */\n tooltipProps?: Partial<Omit<BitkitLabelTooltipProps, 'children' | 'text'>>;\n}\n\n// Exported so dependent declarations can name it: `BitkitTabs.AddButton`'s props derive from\n// `Extract<BitkitControlButtonProps, { href?: undefined }>` (this type), and the .d.ts emit\n// fails with TS4023 (\"cannot be named\") if it isn't exported.\nexport interface BitkitControlButtonAsButtonProps\n extends BitkitControlButtonCommonProps, Omit<HTMLChakraProps<'button'>, 'children' | 'disabled' | 'size'> {\n href?: undefined;\n isExternal?: undefined;\n}\n\nexport interface BitkitControlButtonAsAnchorProps\n extends BitkitControlButtonCommonProps, Omit<HTMLChakraProps<'a'>, 'children' | 'size'> {\n href: string;\n isExternal?: boolean;\n}\n\nexport type BitkitControlButtonProps = BitkitControlButtonAsButtonProps | BitkitControlButtonAsAnchorProps;\n\nconst BitkitControlButton = forwardRef<HTMLButtonElement | HTMLAnchorElement, BitkitControlButtonProps>(\n (props, ref) => {\n const Icon = props.icon;\n const size = props.size ?? 'sm';\n const recipe = useRecipe({ key: 'controlButton' });\n const iconSize = size === 'xxs' || size === 'xs' ? '16' : '24';\n const isDisabled = props.state === 'disabled';\n const isSkeleton = props.state === 'skeleton';\n const isPopupTrigger = opensPopup(props);\n const inertOnClick = isDisabled || isSkeleton;\n\n // --- Anchor mode (href) ---\n if (props.href !== undefined) {\n const {\n href,\n icon: _icon,\n isDanger,\n isExternal,\n label,\n onClick,\n onKeyDown,\n rel,\n size: _size,\n state: _state,\n target,\n tooltipProps,\n ...anchorRest\n } = props;\n const effectiveTarget = isExternal ? '_blank' : target;\n const effectiveRel = isExternal ? (rel ? `${rel} noreferrer noopener` : 'noreferrer noopener') : rel;\n const handleClick = inertOnClick\n ? (e: MouseEvent<HTMLAnchorElement>) => {\n e.preventDefault();\n e.stopPropagation();\n }\n : onClick;\n const handleKeyDown = inertOnClick\n ? (e: KeyboardEvent<HTMLAnchorElement>) => {\n if (e.key === 'Enter' || e.key === ' ') {\n e.preventDefault();\n e.stopPropagation();\n }\n }\n : onKeyDown;\n return (\n <BitkitLabelTooltip text={label} disabled={isPopupTrigger} {...tooltipProps}>\n <chakra.a\n ref={ref as Ref<HTMLAnchorElement>}\n aria-disabled={inertOnClick || undefined}\n aria-label={label}\n {...anchorRest}\n css={recipe({ isDanger, size })}\n href={inertOnClick ? undefined : href}\n onClick={handleClick}\n onKeyDown={handleKeyDown}\n rel={effectiveRel}\n target={effectiveTarget}\n >\n <Skeleton display=\"flex\" loading={isSkeleton}>\n <Icon size={iconSize} />\n </Skeleton>\n </chakra.a>\n </BitkitLabelTooltip>\n );\n }\n\n // --- Button mode (default) ---\n const { icon: _icon, isDanger, label, size: _size, state, tooltipProps, ...buttonRest } = props;\n return (\n <BitkitLabelTooltip text={label} disabled={isPopupTrigger} {...tooltipProps}>\n <chakra.button\n ref={ref as Ref<HTMLButtonElement>}\n aria-label={label}\n disabled={state === 'disabled' || state === 'skeleton'}\n // A control button is an action, not a form submit — without this it would submit any\n // form it happens to sit inside. Before the spread, so a consumer can still opt into\n // `type=\"submit\"`.\n type=\"button\"\n {...buttonRest}\n css={recipe({ isDanger, size })}\n >\n <Skeleton display=\"flex\" loading={isSkeleton}>\n <Icon size={iconSize} />\n </Skeleton>\n </chakra.button>\n </BitkitLabelTooltip>\n );\n },\n);\n\nBitkitControlButton.displayName = 'BitkitControlButton';\n\nexport default BitkitControlButton;\n"],"mappings":";;;;;;;AAyCA,IAAM,sBAAsB,YACzB,OAAO,QAAQ;CACd,MAAM,OAAO,MAAM;CACnB,MAAM,OAAO,MAAM,QAAQ;CAC3B,MAAM,SAAS,UAAU,EAAE,KAAK,gBAAgB,CAAC;CACjD,MAAM,WAAW,SAAS,SAAS,SAAS,OAAO,OAAO;CAC1D,MAAM,aAAa,MAAM,UAAU;CACnC,MAAM,aAAa,MAAM,UAAU;CACnC,MAAM,iBAAiB,WAAW,KAAK;CACvC,MAAM,eAAe,cAAc;CAGnC,IAAI,MAAM,SAAS,KAAA,GAAW;EAC5B,MAAM,EACJ,MACA,MAAM,OACN,UACA,YACA,OACA,SACA,WACA,KACA,MAAM,OACN,OAAO,QACP,QACA,cACA,GAAG,eACD;EACJ,MAAM,kBAAkB,aAAa,WAAW;EAChD,MAAM,eAAe,aAAc,MAAM,GAAG,IAAI,wBAAwB,wBAAyB;EACjG,MAAM,cAAc,gBACf,MAAqC;GACpC,EAAE,eAAe;GACjB,EAAE,gBAAgB;EACpB,IACA;EACJ,MAAM,gBAAgB,gBACjB,MAAwC;GACvC,IAAI,EAAE,QAAQ,WAAW,EAAE,QAAQ,KAAK;IACtC,EAAE,eAAe;IACjB,EAAE,gBAAgB;GACpB;EACF,IACA;EACJ,OACE,oBAAC,oBAAD;GAAoB,MAAM;GAAO,UAAU;GAAgB,GAAI;GAC7D,UAAA,oBAAC,OAAO,GAAR;IACO;IACL,iBAAe,gBAAgB,KAAA;IAC/B,cAAY;IACZ,GAAI;IACJ,KAAK,OAAO;KAAE;KAAU;IAAK,CAAC;IAC9B,MAAM,eAAe,KAAA,IAAY;IACjC,SAAS;IACT,WAAW;IACX,KAAK;IACL,QAAQ;IAER,UAAA,oBAAC,UAAD;KAAU,SAAQ;KAAO,SAAS;KAChC,UAAA,oBAAC,MAAD,EAAM,MAAM,SAAW,CAAA;IACf,CAAA;GACF,CAAA;EACQ,CAAA;CAExB;CAGA,MAAM,EAAE,MAAM,OAAO,UAAU,OAAO,MAAM,OAAO,OAAO,cAAc,GAAG,eAAe;CAC1F,OACE,oBAAC,oBAAD;EAAoB,MAAM;EAAO,UAAU;EAAgB,GAAI;EAC7D,UAAA,oBAAC,OAAO,QAAR;GACO;GACL,cAAY;GACZ,UAAU,UAAU,cAAc,UAAU;GAI5C,MAAK;GACL,GAAI;GACJ,KAAK,OAAO;IAAE;IAAU;GAAK,CAAC;GAE9B,UAAA,oBAAC,UAAD;IAAU,SAAQ;IAAO,SAAS;IAChC,UAAA,oBAAC,MAAD,EAAM,MAAM,SAAW,CAAA;GACf,CAAA;EACG,CAAA;CACG,CAAA;AAExB,CACF;AAEA,oBAAoB,cAAc"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BoxProps } from '@chakra-ui/react/box';
|
|
2
|
+
export type BitkitProductThumbnailProduct = 'build-cache' | 'build-hub' | 'ci' | 'code-push' | 'insights' | 'rde' | 'releases';
|
|
3
|
+
export interface BitkitProductThumbnailProps extends Omit<BoxProps, 'children'> {
|
|
4
|
+
product: BitkitProductThumbnailProduct;
|
|
5
|
+
size?: '40' | '48' | '64';
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Decorative by default. Pass `aria-label` (e.g. the product name) when nothing next to it names
|
|
9
|
+
* the product; the thumbnail then becomes an image with that name.
|
|
10
|
+
*/
|
|
11
|
+
declare const BitkitProductThumbnail: import('react').ForwardRefExoticComponent<BitkitProductThumbnailProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export default BitkitProductThumbnail;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import ForwardRef from "./svgs/build-cache-40.js";
|
|
2
|
+
import ForwardRef$1 from "./svgs/build-cache-64.js";
|
|
3
|
+
import ForwardRef$2 from "./svgs/build-hub-40.js";
|
|
4
|
+
import ForwardRef$3 from "./svgs/build-hub-64.js";
|
|
5
|
+
import ForwardRef$4 from "./svgs/ci-40.js";
|
|
6
|
+
import ForwardRef$5 from "./svgs/ci-64.js";
|
|
7
|
+
import ForwardRef$6 from "./svgs/code-push-40.js";
|
|
8
|
+
import ForwardRef$7 from "./svgs/code-push-64.js";
|
|
9
|
+
import ForwardRef$8 from "./svgs/insights-40.js";
|
|
10
|
+
import ForwardRef$9 from "./svgs/insights-64.js";
|
|
11
|
+
import ForwardRef$10 from "./svgs/rde-40.js";
|
|
12
|
+
import ForwardRef$11 from "./svgs/rde-64.js";
|
|
13
|
+
import ForwardRef$12 from "./svgs/releases-40.js";
|
|
14
|
+
import ForwardRef$13 from "./svgs/releases-64.js";
|
|
15
|
+
import { useRecipe } from "@chakra-ui/react/styled-system";
|
|
16
|
+
import { forwardRef } from "react";
|
|
17
|
+
import { jsx } from "react/jsx-runtime";
|
|
18
|
+
import { Box } from "@chakra-ui/react/box";
|
|
19
|
+
//#region lib/components/BitkitProductThumbnail/BitkitProductThumbnail.tsx
|
|
20
|
+
var ARTWORKS = {
|
|
21
|
+
"build-cache": {
|
|
22
|
+
large: ForwardRef$1,
|
|
23
|
+
small: ForwardRef
|
|
24
|
+
},
|
|
25
|
+
"build-hub": {
|
|
26
|
+
large: ForwardRef$3,
|
|
27
|
+
small: ForwardRef$2
|
|
28
|
+
},
|
|
29
|
+
ci: {
|
|
30
|
+
large: ForwardRef$5,
|
|
31
|
+
small: ForwardRef$4
|
|
32
|
+
},
|
|
33
|
+
"code-push": {
|
|
34
|
+
large: ForwardRef$7,
|
|
35
|
+
small: ForwardRef$6
|
|
36
|
+
},
|
|
37
|
+
insights: {
|
|
38
|
+
large: ForwardRef$9,
|
|
39
|
+
small: ForwardRef$8
|
|
40
|
+
},
|
|
41
|
+
rde: {
|
|
42
|
+
large: ForwardRef$11,
|
|
43
|
+
small: ForwardRef$10
|
|
44
|
+
},
|
|
45
|
+
releases: {
|
|
46
|
+
large: ForwardRef$13,
|
|
47
|
+
small: ForwardRef$12
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Decorative by default. Pass `aria-label` (e.g. the product name) when nothing next to it names
|
|
52
|
+
* the product; the thumbnail then becomes an image with that name.
|
|
53
|
+
*/
|
|
54
|
+
var BitkitProductThumbnail = forwardRef((props, ref) => {
|
|
55
|
+
const { css, product, size = "40", ...rest } = props;
|
|
56
|
+
const recipe = useRecipe({ key: "productThumbnail" });
|
|
57
|
+
const Artwork = ARTWORKS[product][size === "64" ? "large" : "small"];
|
|
58
|
+
return /* @__PURE__ */ jsx(Box, {
|
|
59
|
+
"aria-hidden": rest["aria-label"] ? void 0 : true,
|
|
60
|
+
css: [recipe({ size }), css],
|
|
61
|
+
ref,
|
|
62
|
+
role: rest["aria-label"] ? "img" : void 0,
|
|
63
|
+
...rest,
|
|
64
|
+
children: /* @__PURE__ */ jsx(Artwork, {
|
|
65
|
+
"aria-hidden": true,
|
|
66
|
+
focusable: false
|
|
67
|
+
})
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
BitkitProductThumbnail.displayName = "BitkitProductThumbnail";
|
|
71
|
+
//#endregion
|
|
72
|
+
export { BitkitProductThumbnail as default };
|
|
73
|
+
|
|
74
|
+
//# sourceMappingURL=BitkitProductThumbnail.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BitkitProductThumbnail.js","names":["BuildCache64","BuildCache40","BuildHub64","BuildHub40","Ci64","Ci40","CodePush64","CodePush40","Insights64","Insights40","Rde64","Rde40","Releases64","Releases40"],"sources":["../../../lib/components/BitkitProductThumbnail/BitkitProductThumbnail.tsx"],"sourcesContent":["import { Box, type BoxProps } from '@chakra-ui/react/box';\nimport { useRecipe } from '@chakra-ui/react/styled-system';\nimport { type ComponentType, forwardRef, type SVGProps } from 'react';\n\nimport BuildCache40 from './svgs/build-cache-40.svg?react';\nimport BuildCache64 from './svgs/build-cache-64.svg?react';\nimport BuildHub40 from './svgs/build-hub-40.svg?react';\nimport BuildHub64 from './svgs/build-hub-64.svg?react';\nimport Ci40 from './svgs/ci-40.svg?react';\nimport Ci64 from './svgs/ci-64.svg?react';\nimport CodePush40 from './svgs/code-push-40.svg?react';\nimport CodePush64 from './svgs/code-push-64.svg?react';\nimport Insights40 from './svgs/insights-40.svg?react';\nimport Insights64 from './svgs/insights-64.svg?react';\nimport Rde40 from './svgs/rde-40.svg?react';\nimport Rde64 from './svgs/rde-64.svg?react';\nimport Releases40 from './svgs/releases-40.svg?react';\nimport Releases64 from './svgs/releases-64.svg?react';\n\ntype Artwork = ComponentType<SVGProps<SVGSVGElement>>;\n\n// Figma draws each product twice: the 40px artwork, which the 48px size scales up, and a roomier\n// 64px one.\nconst ARTWORKS: Record<BitkitProductThumbnailProduct, { large: Artwork; small: Artwork }> = {\n 'build-cache': { large: BuildCache64, small: BuildCache40 },\n 'build-hub': { large: BuildHub64, small: BuildHub40 },\n ci: { large: Ci64, small: Ci40 },\n 'code-push': { large: CodePush64, small: CodePush40 },\n insights: { large: Insights64, small: Insights40 },\n rde: { large: Rde64, small: Rde40 },\n releases: { large: Releases64, small: Releases40 },\n};\n\nexport type BitkitProductThumbnailProduct =\n 'build-cache' | 'build-hub' | 'ci' | 'code-push' | 'insights' | 'rde' | 'releases';\n\nexport interface BitkitProductThumbnailProps extends Omit<BoxProps, 'children'> {\n product: BitkitProductThumbnailProduct;\n size?: '40' | '48' | '64';\n}\n\n/**\n * Decorative by default. Pass `aria-label` (e.g. the product name) when nothing next to it names\n * the product; the thumbnail then becomes an image with that name.\n */\nconst BitkitProductThumbnail = forwardRef<HTMLDivElement, BitkitProductThumbnailProps>((props, ref) => {\n const { css, product, size = '40', ...rest } = props;\n\n const recipe = useRecipe({ key: 'productThumbnail' });\n const Artwork = ARTWORKS[product][size === '64' ? 'large' : 'small'];\n\n return (\n <Box\n aria-hidden={rest['aria-label'] ? undefined : true}\n css={[recipe({ size }), css]}\n ref={ref}\n role={rest['aria-label'] ? 'img' : undefined}\n {...rest}\n >\n <Artwork aria-hidden focusable={false} />\n </Box>\n );\n});\n\nBitkitProductThumbnail.displayName = 'BitkitProductThumbnail';\n\nexport default BitkitProductThumbnail;\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAuBA,IAAM,WAAsF;CAC1F,eAAe;EAAE,OAAOA;EAAc,OAAOC;CAAa;CAC1D,aAAa;EAAE,OAAOC;EAAY,OAAOC;CAAW;CACpD,IAAI;EAAE,OAAOC;EAAM,OAAOC;CAAK;CAC/B,aAAa;EAAE,OAAOC;EAAY,OAAOC;CAAW;CACpD,UAAU;EAAE,OAAOC;EAAY,OAAOC;CAAW;CACjD,KAAK;EAAE,OAAOC;EAAO,OAAOC;CAAM;CAClC,UAAU;EAAE,OAAOC;EAAY,OAAOC;CAAW;AACnD;;;;;AAcA,IAAM,yBAAyB,YAAyD,OAAO,QAAQ;CACrG,MAAM,EAAE,KAAK,SAAS,OAAO,MAAM,GAAG,SAAS;CAE/C,MAAM,SAAS,UAAU,EAAE,KAAK,mBAAmB,CAAC;CACpD,MAAM,UAAU,SAAS,QAAQ,CAAC,SAAS,OAAO,UAAU;CAE5D,OACE,oBAAC,KAAD;EACE,eAAa,KAAK,gBAAgB,KAAA,IAAY;EAC9C,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,GAAG,GAAG;EACtB;EACL,MAAM,KAAK,gBAAgB,QAAQ,KAAA;EACnC,GAAI;EAEJ,UAAA,oBAAC,SAAD;GAAS,eAAA;GAAY,WAAW;EAAQ,CAAA;CACrC,CAAA;AAET,CAAC;AAED,uBAAuB,cAAc"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { forwardRef } from "react";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
//#region lib/components/BitkitProductThumbnail/svgs/build-cache-40.svg?react
|
|
4
|
+
var SvgBuildCache40 = (props, ref) => /* @__PURE__ */ jsxs("svg", {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
width: 40,
|
|
7
|
+
height: 40,
|
|
8
|
+
fill: "none",
|
|
9
|
+
viewBox: "0 0 40 40",
|
|
10
|
+
ref,
|
|
11
|
+
...props,
|
|
12
|
+
children: [/* @__PURE__ */ jsx("g", {
|
|
13
|
+
clipPath: "url(#p599f43__a)",
|
|
14
|
+
children: /* @__PURE__ */ jsxs("g", {
|
|
15
|
+
clipPath: "url(#p599f43__b)",
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ jsx("path", {
|
|
18
|
+
fill: "#F3E7F9",
|
|
19
|
+
d: "M40 0H0v40h40z"
|
|
20
|
+
}),
|
|
21
|
+
/* @__PURE__ */ jsx("path", {
|
|
22
|
+
fill: "url(#p599f43__c)",
|
|
23
|
+
d: "M7.485 10.802v16.78c0 2.943 4.76 5.326 10.632 5.326s10.63-2.383 10.63-5.326v-16.78z"
|
|
24
|
+
}),
|
|
25
|
+
/* @__PURE__ */ jsx("path", {
|
|
26
|
+
fill: "#3D125F",
|
|
27
|
+
d: "M18.117 16.128c5.871 0 10.63-2.385 10.63-5.326 0-2.942-4.759-5.326-10.63-5.326S7.485 7.86 7.485 10.802s4.76 5.326 10.632 5.326M7.485 22.094c2.025 1.998 5.98 3.321 10.632 3.321 6.77 0 12.075-2.814 12.075-6.405l-1.444-.763c0 2.693-4.867 4.968-10.631 4.968S7.485 20.94 7.485 18.247z"
|
|
28
|
+
}),
|
|
29
|
+
/* @__PURE__ */ jsx("path", {
|
|
30
|
+
fill: "#6A3C98",
|
|
31
|
+
d: "M18.116 13.576c3.355 0 6.075-1.242 6.075-2.774s-2.72-2.775-6.075-2.775-6.075 1.243-6.075 2.775 2.72 2.774 6.075 2.774"
|
|
32
|
+
}),
|
|
33
|
+
/* @__PURE__ */ jsx("path", {
|
|
34
|
+
fill: "#3D125F",
|
|
35
|
+
d: "M13.147 20.745c.857-.257 1.312-1.264 1.016-2.25-.296-.985-1.23-1.576-2.087-1.319s-1.312 1.265-1.016 2.25c.295.986 1.23 1.576 2.087 1.32m-.209 9.04c.857-.257 1.312-1.264 1.016-2.25-.295-.985-1.23-1.576-2.087-1.318-.857.257-1.312 1.264-1.016 2.25.296.985 1.23 1.576 2.087 1.318"
|
|
36
|
+
}),
|
|
37
|
+
/* @__PURE__ */ jsx("path", {
|
|
38
|
+
fill: "url(#p599f43__d)",
|
|
39
|
+
d: "M30.61 15.155c.473.176.77.648.723 1.155l-.46 4.947h3.902c.419 0 .81.237 1 .615.188.378.155.823-.088 1.167l-7.419 10.294a1.119 1.119 0 0 1-2.025-.756l.46-4.948H22.8a1.12 1.12 0 0 1-1-.614 1.14 1.14 0 0 1 .089-1.168l7.418-10.293c.297-.412.83-.574 1.303-.399"
|
|
40
|
+
})
|
|
41
|
+
]
|
|
42
|
+
})
|
|
43
|
+
}), /* @__PURE__ */ jsxs("defs", { children: [
|
|
44
|
+
/* @__PURE__ */ jsxs("linearGradient", {
|
|
45
|
+
id: "p599f43__c",
|
|
46
|
+
x1: 7.485,
|
|
47
|
+
x2: 28.748,
|
|
48
|
+
y1: 21.858,
|
|
49
|
+
y2: 21.858,
|
|
50
|
+
gradientUnits: "userSpaceOnUse",
|
|
51
|
+
children: [
|
|
52
|
+
/* @__PURE__ */ jsx("stop", { stopColor: "#6A3C98" }),
|
|
53
|
+
/* @__PURE__ */ jsx("stop", {
|
|
54
|
+
offset: .1,
|
|
55
|
+
stopColor: "#7E50A9"
|
|
56
|
+
}),
|
|
57
|
+
/* @__PURE__ */ jsx("stop", {
|
|
58
|
+
offset: .33,
|
|
59
|
+
stopColor: "#A77BCE"
|
|
60
|
+
}),
|
|
61
|
+
/* @__PURE__ */ jsx("stop", {
|
|
62
|
+
offset: .53,
|
|
63
|
+
stopColor: "#C59AE9"
|
|
64
|
+
}),
|
|
65
|
+
/* @__PURE__ */ jsx("stop", {
|
|
66
|
+
offset: .71,
|
|
67
|
+
stopColor: "#D7ADF9"
|
|
68
|
+
}),
|
|
69
|
+
/* @__PURE__ */ jsx("stop", {
|
|
70
|
+
offset: .83,
|
|
71
|
+
stopColor: "#DEB4FF"
|
|
72
|
+
})
|
|
73
|
+
]
|
|
74
|
+
}),
|
|
75
|
+
/* @__PURE__ */ jsxs("linearGradient", {
|
|
76
|
+
id: "p599f43__d",
|
|
77
|
+
x1: 21.154,
|
|
78
|
+
x2: 29.551,
|
|
79
|
+
y1: 16.809,
|
|
80
|
+
y2: 25.206,
|
|
81
|
+
gradientUnits: "userSpaceOnUse",
|
|
82
|
+
children: [
|
|
83
|
+
/* @__PURE__ */ jsx("stop", {
|
|
84
|
+
offset: .04,
|
|
85
|
+
stopColor: "#FFE27F"
|
|
86
|
+
}),
|
|
87
|
+
/* @__PURE__ */ jsx("stop", {
|
|
88
|
+
offset: .16,
|
|
89
|
+
stopColor: "#FFE078"
|
|
90
|
+
}),
|
|
91
|
+
/* @__PURE__ */ jsx("stop", {
|
|
92
|
+
offset: .31,
|
|
93
|
+
stopColor: "#FFDC66"
|
|
94
|
+
}),
|
|
95
|
+
/* @__PURE__ */ jsx("stop", {
|
|
96
|
+
offset: .5,
|
|
97
|
+
stopColor: "#FFD549"
|
|
98
|
+
}),
|
|
99
|
+
/* @__PURE__ */ jsx("stop", {
|
|
100
|
+
offset: .7,
|
|
101
|
+
stopColor: "#FFCC20"
|
|
102
|
+
}),
|
|
103
|
+
/* @__PURE__ */ jsx("stop", {
|
|
104
|
+
offset: .84,
|
|
105
|
+
stopColor: "#FFC500"
|
|
106
|
+
})
|
|
107
|
+
]
|
|
108
|
+
}),
|
|
109
|
+
/* @__PURE__ */ jsx("clipPath", {
|
|
110
|
+
id: "p599f43__a",
|
|
111
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
112
|
+
fill: "#fff",
|
|
113
|
+
d: "M0 8a8 8 0 0 1 8-8h24a8 8 0 0 1 8 8v24a8 8 0 0 1-8 8H8a8 8 0 0 1-8-8z"
|
|
114
|
+
})
|
|
115
|
+
}),
|
|
116
|
+
/* @__PURE__ */ jsx("clipPath", {
|
|
117
|
+
id: "p599f43__b",
|
|
118
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
119
|
+
fill: "#fff",
|
|
120
|
+
d: "M0 0h40v40H0z"
|
|
121
|
+
})
|
|
122
|
+
})
|
|
123
|
+
] })]
|
|
124
|
+
});
|
|
125
|
+
var ForwardRef = forwardRef(SvgBuildCache40);
|
|
126
|
+
//#endregion
|
|
127
|
+
export { ForwardRef as default };
|
|
128
|
+
|
|
129
|
+
//# sourceMappingURL=build-cache-40.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-cache-40.js","names":[],"sources":["../../../../lib/components/BitkitProductThumbnail/svgs/build-cache-40.svg?react"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgBuildCache40 = (props, ref) => /* @__PURE__ */ _jsxs(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\twidth: 40,\n\theight: 40,\n\tfill: \"none\",\n\tviewBox: \"0 0 40 40\",\n\tref,\n\t...props,\n\tchildren: [/* @__PURE__ */ _jsx(\"g\", {\n\t\tclipPath: \"url(#p599f43__a)\",\n\t\tchildren: /* @__PURE__ */ _jsxs(\"g\", {\n\t\t\tclipPath: \"url(#p599f43__b)\",\n\t\t\tchildren: [\n\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\tfill: \"#F3E7F9\",\n\t\t\t\t\td: \"M40 0H0v40h40z\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\tfill: \"url(#p599f43__c)\",\n\t\t\t\t\td: \"M7.485 10.802v16.78c0 2.943 4.76 5.326 10.632 5.326s10.63-2.383 10.63-5.326v-16.78z\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\tfill: \"#3D125F\",\n\t\t\t\t\td: \"M18.117 16.128c5.871 0 10.63-2.385 10.63-5.326 0-2.942-4.759-5.326-10.63-5.326S7.485 7.86 7.485 10.802s4.76 5.326 10.632 5.326M7.485 22.094c2.025 1.998 5.98 3.321 10.632 3.321 6.77 0 12.075-2.814 12.075-6.405l-1.444-.763c0 2.693-4.867 4.968-10.631 4.968S7.485 20.94 7.485 18.247z\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\tfill: \"#6A3C98\",\n\t\t\t\t\td: \"M18.116 13.576c3.355 0 6.075-1.242 6.075-2.774s-2.72-2.775-6.075-2.775-6.075 1.243-6.075 2.775 2.72 2.774 6.075 2.774\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\tfill: \"#3D125F\",\n\t\t\t\t\td: \"M13.147 20.745c.857-.257 1.312-1.264 1.016-2.25-.296-.985-1.23-1.576-2.087-1.319s-1.312 1.265-1.016 2.25c.295.986 1.23 1.576 2.087 1.32m-.209 9.04c.857-.257 1.312-1.264 1.016-2.25-.295-.985-1.23-1.576-2.087-1.318-.857.257-1.312 1.264-1.016 2.25.296.985 1.23 1.576 2.087 1.318\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\tfill: \"url(#p599f43__d)\",\n\t\t\t\t\td: \"M30.61 15.155c.473.176.77.648.723 1.155l-.46 4.947h3.902c.419 0 .81.237 1 .615.188.378.155.823-.088 1.167l-7.419 10.294a1.119 1.119 0 0 1-2.025-.756l.46-4.948H22.8a1.12 1.12 0 0 1-1-.614 1.14 1.14 0 0 1 .089-1.168l7.418-10.293c.297-.412.83-.574 1.303-.399\"\n\t\t\t\t})\n\t\t\t]\n\t\t})\n\t}), /* @__PURE__ */ _jsxs(\"defs\", { children: [\n\t\t/* @__PURE__ */ _jsxs(\"linearGradient\", {\n\t\t\tid: \"p599f43__c\",\n\t\t\tx1: 7.485,\n\t\t\tx2: 28.748,\n\t\t\ty1: 21.858,\n\t\t\ty2: 21.858,\n\t\t\tgradientUnits: \"userSpaceOnUse\",\n\t\t\tchildren: [\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", { stopColor: \"#6A3C98\" }),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .1,\n\t\t\t\t\tstopColor: \"#7E50A9\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .33,\n\t\t\t\t\tstopColor: \"#A77BCE\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .53,\n\t\t\t\t\tstopColor: \"#C59AE9\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .71,\n\t\t\t\t\tstopColor: \"#D7ADF9\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .83,\n\t\t\t\t\tstopColor: \"#DEB4FF\"\n\t\t\t\t})\n\t\t\t]\n\t\t}),\n\t\t/* @__PURE__ */ _jsxs(\"linearGradient\", {\n\t\t\tid: \"p599f43__d\",\n\t\t\tx1: 21.154,\n\t\t\tx2: 29.551,\n\t\t\ty1: 16.809,\n\t\t\ty2: 25.206,\n\t\t\tgradientUnits: \"userSpaceOnUse\",\n\t\t\tchildren: [\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .04,\n\t\t\t\t\tstopColor: \"#FFE27F\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .16,\n\t\t\t\t\tstopColor: \"#FFE078\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .31,\n\t\t\t\t\tstopColor: \"#FFDC66\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .5,\n\t\t\t\t\tstopColor: \"#FFD549\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .7,\n\t\t\t\t\tstopColor: \"#FFCC20\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .84,\n\t\t\t\t\tstopColor: \"#FFC500\"\n\t\t\t\t})\n\t\t\t]\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"clipPath\", {\n\t\t\tid: \"p599f43__a\",\n\t\t\tchildren: /* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\tfill: \"#fff\",\n\t\t\t\td: \"M0 8a8 8 0 0 1 8-8h24a8 8 0 0 1 8 8v24a8 8 0 0 1-8 8H8a8 8 0 0 1-8-8z\"\n\t\t\t})\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"clipPath\", {\n\t\t\tid: \"p599f43__b\",\n\t\t\tchildren: /* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\tfill: \"#fff\",\n\t\t\t\td: \"M0 0h40v40H0z\"\n\t\t\t})\n\t\t})\n\t] })]\n});\nconst ForwardRef = forwardRef(SvgBuildCache40);\nexport default ForwardRef;\n"],"mappings":";;;AAGA,IAAM,mBAAmB,OAAO,QAAwB,qBAAM,OAAO;CACpE,OAAO;CACP,OAAO;CACP,QAAQ;CACR,MAAM;CACN,SAAS;CACT;CACA,GAAG;CACH,UAAU,CAAiB,oBAAK,KAAK;EACpC,UAAU;EACV,UAA0B,qBAAM,KAAK;GACpC,UAAU;GACV,UAAU;IACO,oBAAK,QAAQ;KAC5B,MAAM;KACN,GAAG;IACJ,CAAC;IACe,oBAAK,QAAQ;KAC5B,MAAM;KACN,GAAG;IACJ,CAAC;IACe,oBAAK,QAAQ;KAC5B,MAAM;KACN,GAAG;IACJ,CAAC;IACe,oBAAK,QAAQ;KAC5B,MAAM;KACN,GAAG;IACJ,CAAC;IACe,oBAAK,QAAQ;KAC5B,MAAM;KACN,GAAG;IACJ,CAAC;IACe,oBAAK,QAAQ;KAC5B,MAAM;KACN,GAAG;IACJ,CAAC;GACF;EACD,CAAC;CACF,CAAC,GAAmB,qBAAM,QAAQ,EAAE,UAAU;EAC7B,qBAAM,kBAAkB;GACvC,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,eAAe;GACf,UAAU;IACO,oBAAK,QAAQ,EAAE,WAAW,UAAU,CAAC;IACrC,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;GACF;EACD,CAAC;EACe,qBAAM,kBAAkB;GACvC,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,eAAe;GACf,UAAU;IACO,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;GACF;EACD,CAAC;EACe,oBAAK,YAAY;GAChC,IAAI;GACJ,UAA0B,oBAAK,QAAQ;IACtC,MAAM;IACN,GAAG;GACJ,CAAC;EACF,CAAC;EACe,oBAAK,YAAY;GAChC,IAAI;GACJ,UAA0B,oBAAK,QAAQ;IACtC,MAAM;IACN,GAAG;GACJ,CAAC;EACF,CAAC;CACF,EAAE,CAAC,CAAC;AACL,CAAC;AACD,IAAM,aAAa,WAAW,eAAe"}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { forwardRef } from "react";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
//#region lib/components/BitkitProductThumbnail/svgs/build-cache-64.svg?react
|
|
4
|
+
var SvgBuildCache64 = (props, ref) => /* @__PURE__ */ jsxs("svg", {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
width: 64,
|
|
7
|
+
height: 64,
|
|
8
|
+
fill: "none",
|
|
9
|
+
viewBox: "0 0 64 64",
|
|
10
|
+
ref,
|
|
11
|
+
...props,
|
|
12
|
+
children: [/* @__PURE__ */ jsx("g", {
|
|
13
|
+
clipPath: "url(#p839709__a)",
|
|
14
|
+
children: /* @__PURE__ */ jsxs("g", {
|
|
15
|
+
clipPath: "url(#p839709__b)",
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ jsx("path", {
|
|
18
|
+
fill: "#F3E7F9",
|
|
19
|
+
d: "M64 0H0v64h64z"
|
|
20
|
+
}),
|
|
21
|
+
/* @__PURE__ */ jsx("path", {
|
|
22
|
+
fill: "url(#p839709__c)",
|
|
23
|
+
d: "M13.66 18.33v24.86c0 4.36 7.05 7.89 15.75 7.89s15.75-3.53 15.75-7.89V18.33z"
|
|
24
|
+
}),
|
|
25
|
+
/* @__PURE__ */ jsx("path", {
|
|
26
|
+
fill: "#3D125F",
|
|
27
|
+
d: "M29.41 26.22c8.699 0 15.75-3.532 15.75-7.89s-7.051-7.89-15.75-7.89-15.75 3.532-15.75 7.89 7.052 7.89 15.75 7.89m-15.75 8.84c3 2.96 8.86 4.92 15.75 4.92 10.03 0 17.89-4.17 17.89-9.49l-2.14-1.13c0 3.99-7.21 7.36-15.75 7.36s-15.75-3.37-15.75-7.36z"
|
|
28
|
+
}),
|
|
29
|
+
/* @__PURE__ */ jsx("path", {
|
|
30
|
+
fill: "#6A3C98",
|
|
31
|
+
d: "M29.41 22.44c4.97 0 9-1.84 9-4.11s-4.03-4.11-9-4.11-9 1.84-9 4.11 4.03 4.11 9 4.11"
|
|
32
|
+
}),
|
|
33
|
+
/* @__PURE__ */ jsx("path", {
|
|
34
|
+
fill: "#3D125F",
|
|
35
|
+
d: "M22.048 33.061c1.27-.38 1.944-1.873 1.506-3.333s-1.823-2.335-3.092-1.954-1.944 1.873-1.506 3.333 1.822 2.335 3.092 1.954m-.309 13.395c1.27-.381 1.943-1.874 1.505-3.334s-1.822-2.334-3.091-1.954-1.944 1.874-1.506 3.334 1.822 2.334 3.092 1.953"
|
|
36
|
+
}),
|
|
37
|
+
/* @__PURE__ */ jsx("path", {
|
|
38
|
+
fill: "url(#p839709__d)",
|
|
39
|
+
d: "M47.92 24.78c.7.26 1.14.96 1.07 1.71l-.68 7.33h5.78c.62 0 1.2.35 1.48.91s.23 1.22-.13 1.73L44.45 51.71a1.657 1.657 0 0 1-3-1.12l.68-7.33h-5.78c-.62 0-1.2-.35-1.48-.91s-.23-1.22.13-1.73l10.99-15.25c.44-.61 1.23-.85 1.93-.59"
|
|
40
|
+
})
|
|
41
|
+
]
|
|
42
|
+
})
|
|
43
|
+
}), /* @__PURE__ */ jsxs("defs", { children: [
|
|
44
|
+
/* @__PURE__ */ jsxs("linearGradient", {
|
|
45
|
+
id: "p839709__c",
|
|
46
|
+
x1: 13.66,
|
|
47
|
+
x2: 45.16,
|
|
48
|
+
y1: 34.71,
|
|
49
|
+
y2: 34.71,
|
|
50
|
+
gradientUnits: "userSpaceOnUse",
|
|
51
|
+
children: [
|
|
52
|
+
/* @__PURE__ */ jsx("stop", { stopColor: "#6A3C98" }),
|
|
53
|
+
/* @__PURE__ */ jsx("stop", {
|
|
54
|
+
offset: .1,
|
|
55
|
+
stopColor: "#7E50A9"
|
|
56
|
+
}),
|
|
57
|
+
/* @__PURE__ */ jsx("stop", {
|
|
58
|
+
offset: .33,
|
|
59
|
+
stopColor: "#A77BCE"
|
|
60
|
+
}),
|
|
61
|
+
/* @__PURE__ */ jsx("stop", {
|
|
62
|
+
offset: .53,
|
|
63
|
+
stopColor: "#C59AE9"
|
|
64
|
+
}),
|
|
65
|
+
/* @__PURE__ */ jsx("stop", {
|
|
66
|
+
offset: .71,
|
|
67
|
+
stopColor: "#D7ADF9"
|
|
68
|
+
}),
|
|
69
|
+
/* @__PURE__ */ jsx("stop", {
|
|
70
|
+
offset: .83,
|
|
71
|
+
stopColor: "#DEB4FF"
|
|
72
|
+
})
|
|
73
|
+
]
|
|
74
|
+
}),
|
|
75
|
+
/* @__PURE__ */ jsxs("linearGradient", {
|
|
76
|
+
id: "p839709__d",
|
|
77
|
+
x1: 33.91,
|
|
78
|
+
x2: 46.35,
|
|
79
|
+
y1: 27.23,
|
|
80
|
+
y2: 39.67,
|
|
81
|
+
gradientUnits: "userSpaceOnUse",
|
|
82
|
+
children: [
|
|
83
|
+
/* @__PURE__ */ jsx("stop", {
|
|
84
|
+
offset: .04,
|
|
85
|
+
stopColor: "#FFE27F"
|
|
86
|
+
}),
|
|
87
|
+
/* @__PURE__ */ jsx("stop", {
|
|
88
|
+
offset: .16,
|
|
89
|
+
stopColor: "#FFE078"
|
|
90
|
+
}),
|
|
91
|
+
/* @__PURE__ */ jsx("stop", {
|
|
92
|
+
offset: .31,
|
|
93
|
+
stopColor: "#FFDC66"
|
|
94
|
+
}),
|
|
95
|
+
/* @__PURE__ */ jsx("stop", {
|
|
96
|
+
offset: .5,
|
|
97
|
+
stopColor: "#FFD549"
|
|
98
|
+
}),
|
|
99
|
+
/* @__PURE__ */ jsx("stop", {
|
|
100
|
+
offset: .7,
|
|
101
|
+
stopColor: "#FFCC20"
|
|
102
|
+
}),
|
|
103
|
+
/* @__PURE__ */ jsx("stop", {
|
|
104
|
+
offset: .84,
|
|
105
|
+
stopColor: "#FFC500"
|
|
106
|
+
})
|
|
107
|
+
]
|
|
108
|
+
}),
|
|
109
|
+
/* @__PURE__ */ jsx("clipPath", {
|
|
110
|
+
id: "p839709__a",
|
|
111
|
+
children: /* @__PURE__ */ jsx("rect", {
|
|
112
|
+
width: 64,
|
|
113
|
+
height: 64,
|
|
114
|
+
fill: "#fff",
|
|
115
|
+
rx: 12
|
|
116
|
+
})
|
|
117
|
+
}),
|
|
118
|
+
/* @__PURE__ */ jsx("clipPath", {
|
|
119
|
+
id: "p839709__b",
|
|
120
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
121
|
+
fill: "#fff",
|
|
122
|
+
d: "M0 0h64v64H0z"
|
|
123
|
+
})
|
|
124
|
+
})
|
|
125
|
+
] })]
|
|
126
|
+
});
|
|
127
|
+
var ForwardRef = forwardRef(SvgBuildCache64);
|
|
128
|
+
//#endregion
|
|
129
|
+
export { ForwardRef as default };
|
|
130
|
+
|
|
131
|
+
//# sourceMappingURL=build-cache-64.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-cache-64.js","names":[],"sources":["../../../../lib/components/BitkitProductThumbnail/svgs/build-cache-64.svg?react"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgBuildCache64 = (props, ref) => /* @__PURE__ */ _jsxs(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\twidth: 64,\n\theight: 64,\n\tfill: \"none\",\n\tviewBox: \"0 0 64 64\",\n\tref,\n\t...props,\n\tchildren: [/* @__PURE__ */ _jsx(\"g\", {\n\t\tclipPath: \"url(#p839709__a)\",\n\t\tchildren: /* @__PURE__ */ _jsxs(\"g\", {\n\t\t\tclipPath: \"url(#p839709__b)\",\n\t\t\tchildren: [\n\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\tfill: \"#F3E7F9\",\n\t\t\t\t\td: \"M64 0H0v64h64z\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\tfill: \"url(#p839709__c)\",\n\t\t\t\t\td: \"M13.66 18.33v24.86c0 4.36 7.05 7.89 15.75 7.89s15.75-3.53 15.75-7.89V18.33z\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\tfill: \"#3D125F\",\n\t\t\t\t\td: \"M29.41 26.22c8.699 0 15.75-3.532 15.75-7.89s-7.051-7.89-15.75-7.89-15.75 3.532-15.75 7.89 7.052 7.89 15.75 7.89m-15.75 8.84c3 2.96 8.86 4.92 15.75 4.92 10.03 0 17.89-4.17 17.89-9.49l-2.14-1.13c0 3.99-7.21 7.36-15.75 7.36s-15.75-3.37-15.75-7.36z\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\tfill: \"#6A3C98\",\n\t\t\t\t\td: \"M29.41 22.44c4.97 0 9-1.84 9-4.11s-4.03-4.11-9-4.11-9 1.84-9 4.11 4.03 4.11 9 4.11\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\tfill: \"#3D125F\",\n\t\t\t\t\td: \"M22.048 33.061c1.27-.38 1.944-1.873 1.506-3.333s-1.823-2.335-3.092-1.954-1.944 1.873-1.506 3.333 1.822 2.335 3.092 1.954m-.309 13.395c1.27-.381 1.943-1.874 1.505-3.334s-1.822-2.334-3.091-1.954-1.944 1.874-1.506 3.334 1.822 2.334 3.092 1.953\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\tfill: \"url(#p839709__d)\",\n\t\t\t\t\td: \"M47.92 24.78c.7.26 1.14.96 1.07 1.71l-.68 7.33h5.78c.62 0 1.2.35 1.48.91s.23 1.22-.13 1.73L44.45 51.71a1.657 1.657 0 0 1-3-1.12l.68-7.33h-5.78c-.62 0-1.2-.35-1.48-.91s-.23-1.22.13-1.73l10.99-15.25c.44-.61 1.23-.85 1.93-.59\"\n\t\t\t\t})\n\t\t\t]\n\t\t})\n\t}), /* @__PURE__ */ _jsxs(\"defs\", { children: [\n\t\t/* @__PURE__ */ _jsxs(\"linearGradient\", {\n\t\t\tid: \"p839709__c\",\n\t\t\tx1: 13.66,\n\t\t\tx2: 45.16,\n\t\t\ty1: 34.71,\n\t\t\ty2: 34.71,\n\t\t\tgradientUnits: \"userSpaceOnUse\",\n\t\t\tchildren: [\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", { stopColor: \"#6A3C98\" }),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .1,\n\t\t\t\t\tstopColor: \"#7E50A9\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .33,\n\t\t\t\t\tstopColor: \"#A77BCE\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .53,\n\t\t\t\t\tstopColor: \"#C59AE9\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .71,\n\t\t\t\t\tstopColor: \"#D7ADF9\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .83,\n\t\t\t\t\tstopColor: \"#DEB4FF\"\n\t\t\t\t})\n\t\t\t]\n\t\t}),\n\t\t/* @__PURE__ */ _jsxs(\"linearGradient\", {\n\t\t\tid: \"p839709__d\",\n\t\t\tx1: 33.91,\n\t\t\tx2: 46.35,\n\t\t\ty1: 27.23,\n\t\t\ty2: 39.67,\n\t\t\tgradientUnits: \"userSpaceOnUse\",\n\t\t\tchildren: [\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .04,\n\t\t\t\t\tstopColor: \"#FFE27F\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .16,\n\t\t\t\t\tstopColor: \"#FFE078\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .31,\n\t\t\t\t\tstopColor: \"#FFDC66\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .5,\n\t\t\t\t\tstopColor: \"#FFD549\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .7,\n\t\t\t\t\tstopColor: \"#FFCC20\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .84,\n\t\t\t\t\tstopColor: \"#FFC500\"\n\t\t\t\t})\n\t\t\t]\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"clipPath\", {\n\t\t\tid: \"p839709__a\",\n\t\t\tchildren: /* @__PURE__ */ _jsx(\"rect\", {\n\t\t\t\twidth: 64,\n\t\t\t\theight: 64,\n\t\t\t\tfill: \"#fff\",\n\t\t\t\trx: 12\n\t\t\t})\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"clipPath\", {\n\t\t\tid: \"p839709__b\",\n\t\t\tchildren: /* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\tfill: \"#fff\",\n\t\t\t\td: \"M0 0h64v64H0z\"\n\t\t\t})\n\t\t})\n\t] })]\n});\nconst ForwardRef = forwardRef(SvgBuildCache64);\nexport default ForwardRef;\n"],"mappings":";;;AAGA,IAAM,mBAAmB,OAAO,QAAwB,qBAAM,OAAO;CACpE,OAAO;CACP,OAAO;CACP,QAAQ;CACR,MAAM;CACN,SAAS;CACT;CACA,GAAG;CACH,UAAU,CAAiB,oBAAK,KAAK;EACpC,UAAU;EACV,UAA0B,qBAAM,KAAK;GACpC,UAAU;GACV,UAAU;IACO,oBAAK,QAAQ;KAC5B,MAAM;KACN,GAAG;IACJ,CAAC;IACe,oBAAK,QAAQ;KAC5B,MAAM;KACN,GAAG;IACJ,CAAC;IACe,oBAAK,QAAQ;KAC5B,MAAM;KACN,GAAG;IACJ,CAAC;IACe,oBAAK,QAAQ;KAC5B,MAAM;KACN,GAAG;IACJ,CAAC;IACe,oBAAK,QAAQ;KAC5B,MAAM;KACN,GAAG;IACJ,CAAC;IACe,oBAAK,QAAQ;KAC5B,MAAM;KACN,GAAG;IACJ,CAAC;GACF;EACD,CAAC;CACF,CAAC,GAAmB,qBAAM,QAAQ,EAAE,UAAU;EAC7B,qBAAM,kBAAkB;GACvC,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,eAAe;GACf,UAAU;IACO,oBAAK,QAAQ,EAAE,WAAW,UAAU,CAAC;IACrC,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;GACF;EACD,CAAC;EACe,qBAAM,kBAAkB;GACvC,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,eAAe;GACf,UAAU;IACO,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;GACF;EACD,CAAC;EACe,oBAAK,YAAY;GAChC,IAAI;GACJ,UAA0B,oBAAK,QAAQ;IACtC,OAAO;IACP,QAAQ;IACR,MAAM;IACN,IAAI;GACL,CAAC;EACF,CAAC;EACe,oBAAK,YAAY;GAChC,IAAI;GACJ,UAA0B,oBAAK,QAAQ;IACtC,MAAM;IACN,GAAG;GACJ,CAAC;EACF,CAAC;CACF,EAAE,CAAC,CAAC;AACL,CAAC;AACD,IAAM,aAAa,WAAW,eAAe"}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { forwardRef } from "react";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
//#region lib/components/BitkitProductThumbnail/svgs/build-hub-40.svg?react
|
|
4
|
+
var SvgBuildHub40 = (props, ref) => /* @__PURE__ */ jsxs("svg", {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
width: 40,
|
|
7
|
+
height: 40,
|
|
8
|
+
fill: "none",
|
|
9
|
+
viewBox: "0 0 40 40",
|
|
10
|
+
ref,
|
|
11
|
+
...props,
|
|
12
|
+
children: [/* @__PURE__ */ jsxs("g", {
|
|
13
|
+
clipPath: "url(#pecbc5b__a)",
|
|
14
|
+
children: [
|
|
15
|
+
/* @__PURE__ */ jsx("path", {
|
|
16
|
+
fill: "#F3E7F9",
|
|
17
|
+
d: "M40 0H0v40h40z"
|
|
18
|
+
}),
|
|
19
|
+
/* @__PURE__ */ jsx("path", {
|
|
20
|
+
fill: "url(#pecbc5b__b)",
|
|
21
|
+
fillRule: "evenodd",
|
|
22
|
+
d: "M25.633 12.76c0 2.745-2.264 4.97-5.041 4.97H7.623c-2.141 0-3.882-1.704-3.882-3.821 0-1.89 1.402-3.467 3.245-3.761.312-3.28 3.117-5.845 6.532-5.845a6.59 6.59 0 0 1 5.895 3.614 5.2 5.2 0 0 1 1.172-.134c2.784 0 5.04 2.231 5.04 4.977z",
|
|
23
|
+
clipRule: "evenodd"
|
|
24
|
+
}),
|
|
25
|
+
/* @__PURE__ */ jsx("path", {
|
|
26
|
+
fill: "#6A3C98",
|
|
27
|
+
d: "M34.097 30.023V18.28c0-.95-.327-1.825-.875-2.516-.84-1.06-2.627-2.85-3.795-2.996l-.584 1.46H18.302a4.053 4.053 0 0 0-4.053 4.052v10.834l-1.022 1.46c.292.437 1.548 1.738 2.385 2.48a4.04 4.04 0 0 0 2.69 1.022h11.742a4.053 4.053 0 0 0 4.053-4.053"
|
|
28
|
+
}),
|
|
29
|
+
/* @__PURE__ */ jsx("path", {
|
|
30
|
+
fill: "url(#pecbc5b__c)",
|
|
31
|
+
d: "M28.293 12.476H16.55a4.053 4.053 0 0 0-4.053 4.053V28.27a4.053 4.053 0 0 0 4.053 4.053h11.743a4.053 4.053 0 0 0 4.053-4.053V16.53a4.053 4.053 0 0 0-4.053-4.053"
|
|
32
|
+
}),
|
|
33
|
+
/* @__PURE__ */ jsx("mask", {
|
|
34
|
+
id: "pecbc5b__d",
|
|
35
|
+
width: 21,
|
|
36
|
+
height: 21,
|
|
37
|
+
x: 12,
|
|
38
|
+
y: 12,
|
|
39
|
+
maskUnits: "userSpaceOnUse",
|
|
40
|
+
style: { maskType: "luminance" },
|
|
41
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
42
|
+
fill: "#fff",
|
|
43
|
+
d: "M28.375 12.572H16.603a4.06 4.06 0 0 0-4.063 4.057v11.754a4.06 4.06 0 0 0 4.063 4.058h11.772a4.06 4.06 0 0 0 4.064-4.058V16.63a4.06 4.06 0 0 0-4.064-4.057"
|
|
44
|
+
})
|
|
45
|
+
}),
|
|
46
|
+
/* @__PURE__ */ jsxs("g", {
|
|
47
|
+
fill: "#3D125F",
|
|
48
|
+
mask: "url(#pecbc5b__d)",
|
|
49
|
+
children: [/* @__PURE__ */ jsx("path", { d: "M30.819 19.48H14.16a1.146 1.146 0 1 1 0-2.292h16.659a1.146 1.146 0 1 1 0 2.292m0 4.172h-4.084a1.146 1.146 0 1 1 0-2.292h4.084a1.146 1.146 0 1 1 0 2.292m-12.622 0H14.16a1.146 1.146 0 1 1 0-2.292h4.037a1.146 1.146 0 1 1 0 2.292m12.622 4.145H14.16a1.146 1.146 0 1 1 0-2.292h16.659a1.146 1.146 0 1 1 0 2.292" }), /* @__PURE__ */ jsx("path", { d: "M26.654 31.955a1.146 1.146 0 0 1-1.148-1.145V14.176c0-.634.513-1.146 1.148-1.146s1.147.512 1.147 1.146v16.633c0 .634-.513 1.146-1.147 1.146m-4.178 0a1.146 1.146 0 0 1-1.148-1.145v-3.95c0-.633.513-1.146 1.148-1.146s1.147.513 1.147 1.146v3.95c0 .633-.513 1.145-1.147 1.145m0-13.445a1.146 1.146 0 0 1-1.148-1.147v-3.187c0-.634.513-1.146 1.148-1.146s1.147.512 1.147 1.146v3.187c0 .634-.513 1.146-1.147 1.146m-4.151 13.446a1.146 1.146 0 0 1-1.148-1.145V14.176c0-.634.513-1.146 1.148-1.146s1.147.512 1.147 1.146v16.633c0 .634-.513 1.146-1.147 1.146" })]
|
|
50
|
+
})
|
|
51
|
+
]
|
|
52
|
+
}), /* @__PURE__ */ jsxs("defs", { children: [
|
|
53
|
+
/* @__PURE__ */ jsxs("linearGradient", {
|
|
54
|
+
id: "pecbc5b__b",
|
|
55
|
+
x1: -4.573,
|
|
56
|
+
x2: 27.055,
|
|
57
|
+
y1: 11.016,
|
|
58
|
+
y2: 11.016,
|
|
59
|
+
gradientUnits: "userSpaceOnUse",
|
|
60
|
+
children: [
|
|
61
|
+
/* @__PURE__ */ jsx("stop", { stopColor: "#005FBE" }),
|
|
62
|
+
/* @__PURE__ */ jsx("stop", {
|
|
63
|
+
offset: .12,
|
|
64
|
+
stopColor: "#1479CB"
|
|
65
|
+
}),
|
|
66
|
+
/* @__PURE__ */ jsx("stop", {
|
|
67
|
+
offset: .35,
|
|
68
|
+
stopColor: "#37A5E1"
|
|
69
|
+
}),
|
|
70
|
+
/* @__PURE__ */ jsx("stop", {
|
|
71
|
+
offset: .56,
|
|
72
|
+
stopColor: "#50C5F1"
|
|
73
|
+
}),
|
|
74
|
+
/* @__PURE__ */ jsx("stop", {
|
|
75
|
+
offset: .73,
|
|
76
|
+
stopColor: "#5FD8FB"
|
|
77
|
+
}),
|
|
78
|
+
/* @__PURE__ */ jsx("stop", {
|
|
79
|
+
offset: .85,
|
|
80
|
+
stopColor: "#65E0FF"
|
|
81
|
+
})
|
|
82
|
+
]
|
|
83
|
+
}),
|
|
84
|
+
/* @__PURE__ */ jsxs("linearGradient", {
|
|
85
|
+
id: "pecbc5b__c",
|
|
86
|
+
x1: 6.727,
|
|
87
|
+
x2: 32.319,
|
|
88
|
+
y1: 22.4,
|
|
89
|
+
y2: 22.4,
|
|
90
|
+
gradientUnits: "userSpaceOnUse",
|
|
91
|
+
children: [
|
|
92
|
+
/* @__PURE__ */ jsx("stop", {
|
|
93
|
+
offset: .1,
|
|
94
|
+
stopColor: "#6A3C98"
|
|
95
|
+
}),
|
|
96
|
+
/* @__PURE__ */ jsx("stop", {
|
|
97
|
+
offset: .17,
|
|
98
|
+
stopColor: "#7F52AB"
|
|
99
|
+
}),
|
|
100
|
+
/* @__PURE__ */ jsx("stop", {
|
|
101
|
+
offset: .3,
|
|
102
|
+
stopColor: "#A175C9"
|
|
103
|
+
}),
|
|
104
|
+
/* @__PURE__ */ jsx("stop", {
|
|
105
|
+
offset: .43,
|
|
106
|
+
stopColor: "#BB90E0"
|
|
107
|
+
}),
|
|
108
|
+
/* @__PURE__ */ jsx("stop", {
|
|
109
|
+
offset: .56,
|
|
110
|
+
stopColor: "#CEA4F1"
|
|
111
|
+
}),
|
|
112
|
+
/* @__PURE__ */ jsx("stop", {
|
|
113
|
+
offset: .69,
|
|
114
|
+
stopColor: "#DAB0FB"
|
|
115
|
+
}),
|
|
116
|
+
/* @__PURE__ */ jsx("stop", {
|
|
117
|
+
offset: .83,
|
|
118
|
+
stopColor: "#DEB4FF"
|
|
119
|
+
})
|
|
120
|
+
]
|
|
121
|
+
}),
|
|
122
|
+
/* @__PURE__ */ jsx("clipPath", {
|
|
123
|
+
id: "pecbc5b__a",
|
|
124
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
125
|
+
fill: "#fff",
|
|
126
|
+
d: "M0 8a8 8 0 0 1 8-8h24a8 8 0 0 1 8 8v24a8 8 0 0 1-8 8H8a8 8 0 0 1-8-8z"
|
|
127
|
+
})
|
|
128
|
+
})
|
|
129
|
+
] })]
|
|
130
|
+
});
|
|
131
|
+
var ForwardRef = forwardRef(SvgBuildHub40);
|
|
132
|
+
//#endregion
|
|
133
|
+
export { ForwardRef as default };
|
|
134
|
+
|
|
135
|
+
//# sourceMappingURL=build-hub-40.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-hub-40.js","names":[],"sources":["../../../../lib/components/BitkitProductThumbnail/svgs/build-hub-40.svg?react"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgBuildHub40 = (props, ref) => /* @__PURE__ */ _jsxs(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\twidth: 40,\n\theight: 40,\n\tfill: \"none\",\n\tviewBox: \"0 0 40 40\",\n\tref,\n\t...props,\n\tchildren: [/* @__PURE__ */ _jsxs(\"g\", {\n\t\tclipPath: \"url(#pecbc5b__a)\",\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\tfill: \"#F3E7F9\",\n\t\t\t\td: \"M40 0H0v40h40z\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\tfill: \"url(#pecbc5b__b)\",\n\t\t\t\tfillRule: \"evenodd\",\n\t\t\t\td: \"M25.633 12.76c0 2.745-2.264 4.97-5.041 4.97H7.623c-2.141 0-3.882-1.704-3.882-3.821 0-1.89 1.402-3.467 3.245-3.761.312-3.28 3.117-5.845 6.532-5.845a6.59 6.59 0 0 1 5.895 3.614 5.2 5.2 0 0 1 1.172-.134c2.784 0 5.04 2.231 5.04 4.977z\",\n\t\t\t\tclipRule: \"evenodd\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\tfill: \"#6A3C98\",\n\t\t\t\td: \"M34.097 30.023V18.28c0-.95-.327-1.825-.875-2.516-.84-1.06-2.627-2.85-3.795-2.996l-.584 1.46H18.302a4.053 4.053 0 0 0-4.053 4.052v10.834l-1.022 1.46c.292.437 1.548 1.738 2.385 2.48a4.04 4.04 0 0 0 2.69 1.022h11.742a4.053 4.053 0 0 0 4.053-4.053\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\tfill: \"url(#pecbc5b__c)\",\n\t\t\t\td: \"M28.293 12.476H16.55a4.053 4.053 0 0 0-4.053 4.053V28.27a4.053 4.053 0 0 0 4.053 4.053h11.743a4.053 4.053 0 0 0 4.053-4.053V16.53a4.053 4.053 0 0 0-4.053-4.053\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"mask\", {\n\t\t\t\tid: \"pecbc5b__d\",\n\t\t\t\twidth: 21,\n\t\t\t\theight: 21,\n\t\t\t\tx: 12,\n\t\t\t\ty: 12,\n\t\t\t\tmaskUnits: \"userSpaceOnUse\",\n\t\t\t\tstyle: { maskType: \"luminance\" },\n\t\t\t\tchildren: /* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\tfill: \"#fff\",\n\t\t\t\t\td: \"M28.375 12.572H16.603a4.06 4.06 0 0 0-4.063 4.057v11.754a4.06 4.06 0 0 0 4.063 4.058h11.772a4.06 4.06 0 0 0 4.064-4.058V16.63a4.06 4.06 0 0 0-4.064-4.057\"\n\t\t\t\t})\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsxs(\"g\", {\n\t\t\t\tfill: \"#3D125F\",\n\t\t\t\tmask: \"url(#pecbc5b__d)\",\n\t\t\t\tchildren: [/* @__PURE__ */ _jsx(\"path\", { d: \"M30.819 19.48H14.16a1.146 1.146 0 1 1 0-2.292h16.659a1.146 1.146 0 1 1 0 2.292m0 4.172h-4.084a1.146 1.146 0 1 1 0-2.292h4.084a1.146 1.146 0 1 1 0 2.292m-12.622 0H14.16a1.146 1.146 0 1 1 0-2.292h4.037a1.146 1.146 0 1 1 0 2.292m12.622 4.145H14.16a1.146 1.146 0 1 1 0-2.292h16.659a1.146 1.146 0 1 1 0 2.292\" }), /* @__PURE__ */ _jsx(\"path\", { d: \"M26.654 31.955a1.146 1.146 0 0 1-1.148-1.145V14.176c0-.634.513-1.146 1.148-1.146s1.147.512 1.147 1.146v16.633c0 .634-.513 1.146-1.147 1.146m-4.178 0a1.146 1.146 0 0 1-1.148-1.145v-3.95c0-.633.513-1.146 1.148-1.146s1.147.513 1.147 1.146v3.95c0 .633-.513 1.145-1.147 1.145m0-13.445a1.146 1.146 0 0 1-1.148-1.147v-3.187c0-.634.513-1.146 1.148-1.146s1.147.512 1.147 1.146v3.187c0 .634-.513 1.146-1.147 1.146m-4.151 13.446a1.146 1.146 0 0 1-1.148-1.145V14.176c0-.634.513-1.146 1.148-1.146s1.147.512 1.147 1.146v16.633c0 .634-.513 1.146-1.147 1.146\" })]\n\t\t\t})\n\t\t]\n\t}), /* @__PURE__ */ _jsxs(\"defs\", { children: [\n\t\t/* @__PURE__ */ _jsxs(\"linearGradient\", {\n\t\t\tid: \"pecbc5b__b\",\n\t\t\tx1: -4.573,\n\t\t\tx2: 27.055,\n\t\t\ty1: 11.016,\n\t\t\ty2: 11.016,\n\t\t\tgradientUnits: \"userSpaceOnUse\",\n\t\t\tchildren: [\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", { stopColor: \"#005FBE\" }),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .12,\n\t\t\t\t\tstopColor: \"#1479CB\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .35,\n\t\t\t\t\tstopColor: \"#37A5E1\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .56,\n\t\t\t\t\tstopColor: \"#50C5F1\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .73,\n\t\t\t\t\tstopColor: \"#5FD8FB\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .85,\n\t\t\t\t\tstopColor: \"#65E0FF\"\n\t\t\t\t})\n\t\t\t]\n\t\t}),\n\t\t/* @__PURE__ */ _jsxs(\"linearGradient\", {\n\t\t\tid: \"pecbc5b__c\",\n\t\t\tx1: 6.727,\n\t\t\tx2: 32.319,\n\t\t\ty1: 22.4,\n\t\t\ty2: 22.4,\n\t\t\tgradientUnits: \"userSpaceOnUse\",\n\t\t\tchildren: [\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .1,\n\t\t\t\t\tstopColor: \"#6A3C98\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .17,\n\t\t\t\t\tstopColor: \"#7F52AB\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .3,\n\t\t\t\t\tstopColor: \"#A175C9\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .43,\n\t\t\t\t\tstopColor: \"#BB90E0\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .56,\n\t\t\t\t\tstopColor: \"#CEA4F1\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .69,\n\t\t\t\t\tstopColor: \"#DAB0FB\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"stop\", {\n\t\t\t\t\toffset: .83,\n\t\t\t\t\tstopColor: \"#DEB4FF\"\n\t\t\t\t})\n\t\t\t]\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"clipPath\", {\n\t\t\tid: \"pecbc5b__a\",\n\t\t\tchildren: /* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\tfill: \"#fff\",\n\t\t\t\td: \"M0 8a8 8 0 0 1 8-8h24a8 8 0 0 1 8 8v24a8 8 0 0 1-8 8H8a8 8 0 0 1-8-8z\"\n\t\t\t})\n\t\t})\n\t] })]\n});\nconst ForwardRef = forwardRef(SvgBuildHub40);\nexport default ForwardRef;\n"],"mappings":";;;AAGA,IAAM,iBAAiB,OAAO,QAAwB,qBAAM,OAAO;CAClE,OAAO;CACP,OAAO;CACP,QAAQ;CACR,MAAM;CACN,SAAS;CACT;CACA,GAAG;CACH,UAAU,CAAiB,qBAAM,KAAK;EACrC,UAAU;EACV,UAAU;GACO,oBAAK,QAAQ;IAC5B,MAAM;IACN,GAAG;GACJ,CAAC;GACe,oBAAK,QAAQ;IAC5B,MAAM;IACN,UAAU;IACV,GAAG;IACH,UAAU;GACX,CAAC;GACe,oBAAK,QAAQ;IAC5B,MAAM;IACN,GAAG;GACJ,CAAC;GACe,oBAAK,QAAQ;IAC5B,MAAM;IACN,GAAG;GACJ,CAAC;GACe,oBAAK,QAAQ;IAC5B,IAAI;IACJ,OAAO;IACP,QAAQ;IACR,GAAG;IACH,GAAG;IACH,WAAW;IACX,OAAO,EAAE,UAAU,YAAY;IAC/B,UAA0B,oBAAK,QAAQ;KACtC,MAAM;KACN,GAAG;IACJ,CAAC;GACF,CAAC;GACe,qBAAM,KAAK;IAC1B,MAAM;IACN,MAAM;IACN,UAAU,CAAiB,oBAAK,QAAQ,EAAE,GAAG,kTAAkT,CAAC,GAAmB,oBAAK,QAAQ,EAAE,GAAG,iiBAAiiB,CAAC,CAAC;GACz6B,CAAC;EACF;CACD,CAAC,GAAmB,qBAAM,QAAQ,EAAE,UAAU;EAC7B,qBAAM,kBAAkB;GACvC,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,eAAe;GACf,UAAU;IACO,oBAAK,QAAQ,EAAE,WAAW,UAAU,CAAC;IACrC,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;GACF;EACD,CAAC;EACe,qBAAM,kBAAkB;GACvC,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,eAAe;GACf,UAAU;IACO,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;IACe,oBAAK,QAAQ;KAC5B,QAAQ;KACR,WAAW;IACZ,CAAC;GACF;EACD,CAAC;EACe,oBAAK,YAAY;GAChC,IAAI;GACJ,UAA0B,oBAAK,QAAQ;IACtC,MAAM;IACN,GAAG;GACJ,CAAC;EACF,CAAC;CACF,EAAE,CAAC,CAAC;AACL,CAAC;AACD,IAAM,aAAa,WAAW,aAAa"}
|