@bitrise/bitkit-v2 0.3.522 → 0.3.524
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/BitkitLinkCard/BitkitLinkCard.d.ts +29 -0
- package/dist/components/BitkitLinkCard/BitkitLinkCard.js +67 -0
- package/dist/components/BitkitLinkCard/BitkitLinkCard.js.map +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/main.js +3 -2
- package/dist/theme/slot-recipes/LabeledData.recipe.d.ts +3 -3
- package/dist/theme/slot-recipes/LabeledData.recipe.js +3 -3
- package/dist/theme/slot-recipes/LabeledData.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/LinkCard.recipe.d.ts +14 -0
- package/dist/theme/slot-recipes/LinkCard.recipe.js +128 -0
- package/dist/theme/slot-recipes/LinkCard.recipe.js.map +1 -0
- package/dist/theme/slot-recipes/PageHeader.recipe.d.ts +1 -1
- package/dist/theme/slot-recipes/PageSubheader.recipe.d.ts +1 -1
- package/dist/theme/slot-recipes/Stat.recipe.d.ts +3 -3
- package/dist/theme/slot-recipes/Stat.recipe.js +3 -3
- package/dist/theme/slot-recipes/Stat.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/index.d.ts +21 -8
- package/dist/theme/slot-recipes/index.js +2 -0
- package/dist/theme/slot-recipes/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { HTMLChakraProps } from '@chakra-ui/react/styled-system';
|
|
2
|
+
import { BitkitIconComponent } from '../../icons';
|
|
3
|
+
import { BitkitProductThumbnailProduct } from '../BitkitProductThumbnail/BitkitProductThumbnail';
|
|
4
|
+
interface BitkitLinkCardCommonProps extends Omit<HTMLChakraProps<'a'>, 'children' | 'title'> {
|
|
5
|
+
/** The call to action in the footer. */
|
|
6
|
+
ctaText: string;
|
|
7
|
+
bodyText?: string;
|
|
8
|
+
href: string;
|
|
9
|
+
/** Opens the link in a new tab, with `rel="noreferrer noopener"`, and swaps the hover arrow for the external one. */
|
|
10
|
+
isExternal?: boolean;
|
|
11
|
+
headingText: string;
|
|
12
|
+
}
|
|
13
|
+
export interface BitkitLinkCardWithIconProps extends BitkitLinkCardCommonProps {
|
|
14
|
+
/** Icon shown in a small tile above the title. */
|
|
15
|
+
icon: BitkitIconComponent;
|
|
16
|
+
product?: undefined;
|
|
17
|
+
}
|
|
18
|
+
export interface BitkitLinkCardWithProductProps extends BitkitLinkCardCommonProps {
|
|
19
|
+
icon?: undefined;
|
|
20
|
+
/**
|
|
21
|
+
* For a card that points at a Bitrise product rather than a feature: shows that product's
|
|
22
|
+
* `BitkitProductThumbnail` above the title (40px below tablet, 64px from tablet up).
|
|
23
|
+
*/
|
|
24
|
+
product: BitkitProductThumbnailProduct;
|
|
25
|
+
}
|
|
26
|
+
/** Either `icon` or `product` is required. */
|
|
27
|
+
export type BitkitLinkCardProps = BitkitLinkCardWithIconProps | BitkitLinkCardWithProductProps;
|
|
28
|
+
declare const BitkitLinkCard: import('react').ForwardRefExoticComponent<BitkitLinkCardProps & import('react').RefAttributes<HTMLAnchorElement>>;
|
|
29
|
+
export default BitkitLinkCard;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import IconArrowNortheast from "../../icons/IconArrowNortheast.js";
|
|
2
|
+
import IconArrowRight from "../../icons/IconArrowRight.js";
|
|
3
|
+
import BitkitProductThumbnail from "../BitkitProductThumbnail/BitkitProductThumbnail.js";
|
|
4
|
+
import { chakra, useSlotRecipe } from "@chakra-ui/react/styled-system";
|
|
5
|
+
import { forwardRef } from "react";
|
|
6
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
import { Box } from "@chakra-ui/react/box";
|
|
8
|
+
import { Text } from "@chakra-ui/react/text";
|
|
9
|
+
import { Card } from "@chakra-ui/react/card";
|
|
10
|
+
//#region lib/components/BitkitLinkCard/BitkitLinkCard.tsx
|
|
11
|
+
var BitkitLinkCard = forwardRef((props, ref) => {
|
|
12
|
+
const { bodyText, className, css, ctaText, headingText, icon: Icon, isExternal, product, rel, target, ...rest } = props;
|
|
13
|
+
const variant = Icon ? "icon" : "product";
|
|
14
|
+
const styles = useSlotRecipe({ key: "linkCard" })({ variant });
|
|
15
|
+
const ActionIcon = isExternal ? IconArrowNortheast : IconArrowRight;
|
|
16
|
+
return /* @__PURE__ */ jsx(Card.Root, {
|
|
17
|
+
asChild: true,
|
|
18
|
+
css: [styles.root, css],
|
|
19
|
+
elevation: false,
|
|
20
|
+
paddingSize: {
|
|
21
|
+
base: "sm",
|
|
22
|
+
tablet: "lg"
|
|
23
|
+
},
|
|
24
|
+
children: /* @__PURE__ */ jsxs(chakra.a, {
|
|
25
|
+
className: className ? `group ${className}` : "group",
|
|
26
|
+
ref,
|
|
27
|
+
rel: isExternal ? rel ? `${rel} noreferrer noopener` : "noreferrer noopener" : rel,
|
|
28
|
+
target: isExternal ? "_blank" : target,
|
|
29
|
+
...rest,
|
|
30
|
+
children: [/* @__PURE__ */ jsxs(Card.Body, {
|
|
31
|
+
css: styles.body,
|
|
32
|
+
children: [Icon ? /* @__PURE__ */ jsx(Box, {
|
|
33
|
+
css: styles.iconTile,
|
|
34
|
+
children: /* @__PURE__ */ jsx(Icon, {})
|
|
35
|
+
}) : /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(BitkitProductThumbnail, {
|
|
36
|
+
hideFrom: "tablet",
|
|
37
|
+
product
|
|
38
|
+
}), /* @__PURE__ */ jsx(BitkitProductThumbnail, {
|
|
39
|
+
hideBelow: "tablet",
|
|
40
|
+
product,
|
|
41
|
+
size: "64"
|
|
42
|
+
})] }), /* @__PURE__ */ jsxs(Box, {
|
|
43
|
+
css: styles.textBlock,
|
|
44
|
+
children: [/* @__PURE__ */ jsx(Card.Title, {
|
|
45
|
+
css: styles.title,
|
|
46
|
+
children: headingText
|
|
47
|
+
}), bodyText && /* @__PURE__ */ jsx(Card.Description, {
|
|
48
|
+
css: styles.description,
|
|
49
|
+
children: bodyText
|
|
50
|
+
})]
|
|
51
|
+
})]
|
|
52
|
+
}), /* @__PURE__ */ jsxs(Card.Footer, {
|
|
53
|
+
css: styles.footer,
|
|
54
|
+
children: [/* @__PURE__ */ jsx(Text, {
|
|
55
|
+
as: "span",
|
|
56
|
+
css: styles.actionLabel,
|
|
57
|
+
children: ctaText
|
|
58
|
+
}), /* @__PURE__ */ jsx(ActionIcon, { css: styles.actionIcon })]
|
|
59
|
+
})]
|
|
60
|
+
})
|
|
61
|
+
});
|
|
62
|
+
});
|
|
63
|
+
BitkitLinkCard.displayName = "BitkitLinkCard";
|
|
64
|
+
//#endregion
|
|
65
|
+
export { BitkitLinkCard as default };
|
|
66
|
+
|
|
67
|
+
//# sourceMappingURL=BitkitLinkCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BitkitLinkCard.js","names":["_Fragment"],"sources":["../../../lib/components/BitkitLinkCard/BitkitLinkCard.tsx"],"sourcesContent":["import { Box } from '@chakra-ui/react/box';\nimport { Card } from '@chakra-ui/react/card';\nimport { chakra, type HTMLChakraProps, useSlotRecipe } from '@chakra-ui/react/styled-system';\nimport { Text } from '@chakra-ui/react/text';\nimport { forwardRef } from 'react';\n\nimport { type BitkitIconComponent, IconArrowNortheast, IconArrowRight } from '../../icons';\nimport BitkitProductThumbnail, {\n type BitkitProductThumbnailProduct,\n} from '../BitkitProductThumbnail/BitkitProductThumbnail';\n\ninterface BitkitLinkCardCommonProps extends Omit<HTMLChakraProps<'a'>, 'children' | 'title'> {\n /** The call to action in the footer. */\n ctaText: string;\n bodyText?: string;\n href: string;\n /** Opens the link in a new tab, with `rel=\"noreferrer noopener\"`, and swaps the hover arrow for the external one. */\n isExternal?: boolean;\n headingText: string;\n}\n\nexport interface BitkitLinkCardWithIconProps extends BitkitLinkCardCommonProps {\n /** Icon shown in a small tile above the title. */\n icon: BitkitIconComponent;\n product?: undefined;\n}\n\nexport interface BitkitLinkCardWithProductProps extends BitkitLinkCardCommonProps {\n icon?: undefined;\n /**\n * For a card that points at a Bitrise product rather than a feature: shows that product's\n * `BitkitProductThumbnail` above the title (40px below tablet, 64px from tablet up).\n */\n product: BitkitProductThumbnailProduct;\n}\n\n/** Either `icon` or `product` is required. */\nexport type BitkitLinkCardProps = BitkitLinkCardWithIconProps | BitkitLinkCardWithProductProps;\n\nconst BitkitLinkCard = forwardRef<HTMLAnchorElement, BitkitLinkCardProps>((props, ref) => {\n const {\n bodyText,\n className,\n css,\n ctaText,\n headingText,\n icon: Icon,\n isExternal,\n product,\n rel,\n target,\n ...rest\n } = props;\n\n const variant = Icon ? 'icon' : 'product';\n const recipe = useSlotRecipe({ key: 'linkCard' });\n const styles = recipe({ variant });\n const ActionIcon = isExternal ? IconArrowNortheast : IconArrowRight;\n\n return (\n <Card.Root asChild css={[styles.root, css]} elevation={false} paddingSize={{ base: 'sm', tablet: 'lg' }}>\n {/* chakra.a: Card.Root renders as this anchor; no named primitive is a plain, unstyled link. */}\n <chakra.a\n // `group` drives every part's hover and focus styling, so a consumer's class is added to it.\n className={className ? `group ${className}` : 'group'}\n ref={ref}\n rel={isExternal ? (rel ? `${rel} noreferrer noopener` : 'noreferrer noopener') : rel}\n target={isExternal ? '_blank' : target}\n {...rest}\n >\n <Card.Body css={styles.body}>\n {Icon ? (\n <Box css={styles.iconTile}>\n <Icon />\n </Box>\n ) : (\n // Each size has its own artwork, so both are rendered and the breakpoint picks one.\n <>\n <BitkitProductThumbnail hideFrom=\"tablet\" product={product} />\n <BitkitProductThumbnail hideBelow=\"tablet\" product={product} size=\"64\" />\n </>\n )}\n <Box css={styles.textBlock}>\n <Card.Title css={styles.title}>{headingText}</Card.Title>\n {bodyText && <Card.Description css={styles.description}>{bodyText}</Card.Description>}\n </Box>\n </Card.Body>\n <Card.Footer css={styles.footer}>\n <Text as=\"span\" css={styles.actionLabel}>\n {ctaText}\n </Text>\n <ActionIcon css={styles.actionIcon} />\n </Card.Footer>\n </chakra.a>\n </Card.Root>\n );\n});\n\nBitkitLinkCard.displayName = 'BitkitLinkCard';\n\nexport default BitkitLinkCard;\n"],"mappings":";;;;;;;;;;AAuCA,IAAM,iBAAiB,YAAoD,OAAO,QAAQ;CACxF,MAAM,EACJ,UACA,WACA,KACA,SACA,aACA,MAAM,MACN,YACA,SACA,KACA,QACA,GAAG,SACD;CAEJ,MAAM,UAAU,OAAO,SAAS;CAEhC,MAAM,SADS,cAAc,EAAE,KAAK,WAAW,CAChC,CAAA,CAAO,EAAE,QAAQ,CAAC;CACjC,MAAM,aAAa,aAAa,qBAAqB;CAErD,OACE,oBAAC,KAAK,MAAN;EAAW,SAAA;EAAQ,KAAK,CAAC,OAAO,MAAM,GAAG;EAAG,WAAW;EAAO,aAAa;GAAE,MAAM;GAAM,QAAQ;EAAK;EAEpG,UAAA,qBAAC,OAAO,GAAR;GAEE,WAAW,YAAY,SAAS,cAAc;GACzC;GACL,KAAK,aAAc,MAAM,GAAG,IAAI,wBAAwB,wBAAyB;GACjF,QAAQ,aAAa,WAAW;GAChC,GAAI;GANN,UAAA,CAQE,qBAAC,KAAK,MAAN;IAAW,KAAK,OAAO;IAAvB,UAAA,CACG,OACC,oBAAC,KAAD;KAAK,KAAK,OAAO;KACf,UAAA,oBAAC,MAAD,CAAO,CAAA;IACJ,CAAA,IAGL,qBAAAA,YAAA,EAAA,UAAA,CACE,oBAAC,wBAAD;KAAwB,UAAS;KAAkB;IAAU,CAAA,GAC7D,oBAAC,wBAAD;KAAwB,WAAU;KAAkB;KAAS,MAAK;IAAM,CAAA,CACxE,EAAA,CAAA,GAEJ,qBAAC,KAAD;KAAK,KAAK,OAAO;KAAjB,UAAA,CACE,oBAAC,KAAK,OAAN;MAAY,KAAK,OAAO;MAAQ,UAAA;KAAwB,CAAA,GACvD,YAAY,oBAAC,KAAK,aAAN;MAAkB,KAAK,OAAO;MAAc,UAAA;KAA2B,CAAA,CACjF;IACI,CAAA,CAAA;GACX,CAAA,GAAA,qBAAC,KAAK,QAAN;IAAa,KAAK,OAAO;IAAzB,UAAA,CACE,oBAAC,MAAD;KAAM,IAAG;KAAO,KAAK,OAAO;KACzB,UAAA;IACG,CAAA,GACN,oBAAC,YAAD,EAAY,KAAK,OAAO,WAAa,CAAA,CAC1B;GACL,CAAA,CAAA;;CACD,CAAA;AAEf,CAAC;AAED,eAAe,cAAc"}
|
|
@@ -47,6 +47,7 @@ export { default as BitkitLabelTooltip, type BitkitLabelTooltipProps } from './B
|
|
|
47
47
|
export { default as BitkitLightbox, type BitkitLightboxProps } from './BitkitLightbox/BitkitLightbox';
|
|
48
48
|
export { default as BitkitLink, type BitkitLinkProps } from './BitkitLink/BitkitLink';
|
|
49
49
|
export { default as BitkitLinkButton, type BitkitLinkButtonProps } from './BitkitLinkButton/BitkitLinkButton';
|
|
50
|
+
export { default as BitkitLinkCard, type BitkitLinkCardProps, type BitkitLinkCardWithIconProps, type BitkitLinkCardWithProductProps, } from './BitkitLinkCard/BitkitLinkCard';
|
|
50
51
|
export { default as BitkitList, type BitkitListItemProps, type BitkitListProps } from './BitkitList';
|
|
51
52
|
export { default as BitkitMarkdown, type BitkitMarkdownProps } from './BitkitMarkdown/BitkitMarkdown';
|
|
52
53
|
export { default as BitkitMarkdownCard, type BitkitMarkdownCardProps } from './BitkitMarkdownCard/BitkitMarkdownCard';
|
package/dist/main.js
CHANGED
|
@@ -350,6 +350,8 @@ import BitkitLabeledData from "./components/BitkitLabeledData/BitkitLabeledData.
|
|
|
350
350
|
import BitkitLightbox from "./components/BitkitLightbox/BitkitLightbox.js";
|
|
351
351
|
import BitkitLink from "./components/BitkitLink/BitkitLink.js";
|
|
352
352
|
import BitkitLinkButton from "./components/BitkitLinkButton/BitkitLinkButton.js";
|
|
353
|
+
import BitkitProductThumbnail from "./components/BitkitProductThumbnail/BitkitProductThumbnail.js";
|
|
354
|
+
import BitkitLinkCard from "./components/BitkitLinkCard/BitkitLinkCard.js";
|
|
353
355
|
import BitkitMarkdown from "./components/BitkitMarkdown/BitkitMarkdown.js";
|
|
354
356
|
import BitkitMarkdownCard from "./components/BitkitMarkdownCard/BitkitMarkdownCard.js";
|
|
355
357
|
import BitkitMultiselectMenu from "./components/BitkitMultiselectMenu/BitkitMultiselectMenu.js";
|
|
@@ -367,7 +369,6 @@ import BitkitPageSubheader from "./components/BitkitPageSubheader/BitkitPageSubh
|
|
|
367
369
|
import BitkitPagination from "./components/BitkitPagination/BitkitPagination.js";
|
|
368
370
|
import BitkitPaginationLoadMore from "./components/BitkitPaginationLoadMore/BitkitPaginationLoadMore.js";
|
|
369
371
|
import BitkitPopover from "./components/BitkitPopover/BitkitPopover.js";
|
|
370
|
-
import BitkitProductThumbnail from "./components/BitkitProductThumbnail/BitkitProductThumbnail.js";
|
|
371
372
|
import BitkitProgressBar from "./components/BitkitProgressBar/BitkitProgressBar.js";
|
|
372
373
|
import BitkitPromoBanner from "./components/BitkitPromoBanner/BitkitPromoBanner.js";
|
|
373
374
|
import BitkitRadio from "./components/BitkitRadio/BitkitRadio.js";
|
|
@@ -400,4 +401,4 @@ import { uiSideNavRailWidth } from "./theme/slot-recipes/UISideNav.recipe.js";
|
|
|
400
401
|
import BitkitUISideNav_default from "./components/BitkitUISideNav/BitkitUISideNav.js";
|
|
401
402
|
import bitkitTheme from "./theme/index.js";
|
|
402
403
|
import Provider from "./providers/BitkitProvider.js";
|
|
403
|
-
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, 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 };
|
|
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 };
|
|
@@ -5,7 +5,7 @@ declare const labeledDataSlotRecipe: import('@chakra-ui/react').SlotRecipeDefini
|
|
|
5
5
|
color: "text/primary";
|
|
6
6
|
};
|
|
7
7
|
value: {
|
|
8
|
-
textStyle: "
|
|
8
|
+
textStyle: "body/lg/regular";
|
|
9
9
|
};
|
|
10
10
|
limit: {
|
|
11
11
|
textStyle: "body/md/regular";
|
|
@@ -16,7 +16,7 @@ declare const labeledDataSlotRecipe: import('@chakra-ui/react').SlotRecipeDefini
|
|
|
16
16
|
color: "text/secondary";
|
|
17
17
|
};
|
|
18
18
|
value: {
|
|
19
|
-
textStyle: "
|
|
19
|
+
textStyle: "body/2xl/semibold";
|
|
20
20
|
};
|
|
21
21
|
limit: {
|
|
22
22
|
textStyle: "body/xl/regular";
|
|
@@ -27,7 +27,7 @@ declare const labeledDataSlotRecipe: import('@chakra-ui/react').SlotRecipeDefini
|
|
|
27
27
|
color: "text/secondary";
|
|
28
28
|
};
|
|
29
29
|
value: {
|
|
30
|
-
textStyle: "
|
|
30
|
+
textStyle: "body/3xl/semibold";
|
|
31
31
|
};
|
|
32
32
|
limit: {
|
|
33
33
|
textStyle: "body/2xl/regular";
|
|
@@ -41,17 +41,17 @@ var labeledDataSlotRecipe = defineSlotRecipe({
|
|
|
41
41
|
variants: { size: {
|
|
42
42
|
lg: {
|
|
43
43
|
label: { color: "text/primary" },
|
|
44
|
-
value: { textStyle: "
|
|
44
|
+
value: { textStyle: "body/lg/regular" },
|
|
45
45
|
limit: { textStyle: "body/md/regular" }
|
|
46
46
|
},
|
|
47
47
|
"2xl": {
|
|
48
48
|
label: { color: "text/secondary" },
|
|
49
|
-
value: { textStyle: "
|
|
49
|
+
value: { textStyle: "body/2xl/semibold" },
|
|
50
50
|
limit: { textStyle: "body/xl/regular" }
|
|
51
51
|
},
|
|
52
52
|
"3xl": {
|
|
53
53
|
label: { color: "text/secondary" },
|
|
54
|
-
value: { textStyle: "
|
|
54
|
+
value: { textStyle: "body/3xl/semibold" },
|
|
55
55
|
limit: { textStyle: "body/2xl/regular" }
|
|
56
56
|
}
|
|
57
57
|
} },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LabeledData.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/LabeledData.recipe.ts"],"sourcesContent":["import { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nconst labeledDataSlotRecipe = defineSlotRecipe({\n className: 'labeled-data',\n slots: ['root', 'label', 'value', 'limit', 'helpText'],\n base: {\n root: {\n display: 'flex',\n flexDirection: 'column',\n gap: '4',\n },\n label: {\n display: 'inline-flex',\n gap: '4',\n alignItems: 'center',\n textStyle: 'body/md/semibold',\n },\n value: {\n display: 'inline-flex',\n alignItems: 'baseline',\n gap: '2',\n fontFeatureSettings: 'pnum',\n fontVariantNumeric: 'proportional-nums',\n },\n limit: {\n color: 'text/secondary',\n fontWeight: 'initial',\n letterSpacing: 'initial',\n },\n helpText: {\n textStyle: 'body/md/regular',\n color: 'text/tertiary',\n },\n },\n variants: {\n size: {\n lg: {\n label: { color: 'text/primary' },\n value: { textStyle: '
|
|
1
|
+
{"version":3,"file":"LabeledData.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/LabeledData.recipe.ts"],"sourcesContent":["import { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nconst labeledDataSlotRecipe = defineSlotRecipe({\n className: 'labeled-data',\n slots: ['root', 'label', 'value', 'limit', 'helpText'],\n base: {\n root: {\n display: 'flex',\n flexDirection: 'column',\n gap: '4',\n },\n label: {\n display: 'inline-flex',\n gap: '4',\n alignItems: 'center',\n textStyle: 'body/md/semibold',\n },\n value: {\n display: 'inline-flex',\n alignItems: 'baseline',\n gap: '2',\n fontFeatureSettings: 'pnum',\n fontVariantNumeric: 'proportional-nums',\n },\n limit: {\n color: 'text/secondary',\n fontWeight: 'initial',\n letterSpacing: 'initial',\n },\n helpText: {\n textStyle: 'body/md/regular',\n color: 'text/tertiary',\n },\n },\n variants: {\n size: {\n lg: {\n label: { color: 'text/primary' },\n value: { textStyle: 'body/lg/regular' },\n limit: { textStyle: 'body/md/regular' },\n },\n '2xl': {\n label: { color: 'text/secondary' },\n value: { textStyle: 'body/2xl/semibold' },\n limit: { textStyle: 'body/xl/regular' },\n },\n '3xl': {\n label: { color: 'text/secondary' },\n value: { textStyle: 'body/3xl/semibold' },\n limit: { textStyle: 'body/2xl/regular' },\n },\n },\n },\n defaultVariants: {\n size: 'lg',\n },\n});\n\nexport default labeledDataSlotRecipe;\n"],"mappings":";;AAEA,IAAM,wBAAwB,iBAAiB;CAC7C,WAAW;CACX,OAAO;EAAC;EAAQ;EAAS;EAAS;EAAS;CAAU;CACrD,MAAM;EACJ,MAAM;GACJ,SAAS;GACT,eAAe;GACf,KAAK;EACP;EACA,OAAO;GACL,SAAS;GACT,KAAK;GACL,YAAY;GACZ,WAAW;EACb;EACA,OAAO;GACL,SAAS;GACT,YAAY;GACZ,KAAK;GACL,qBAAqB;GACrB,oBAAoB;EACtB;EACA,OAAO;GACL,OAAO;GACP,YAAY;GACZ,eAAe;EACjB;EACA,UAAU;GACR,WAAW;GACX,OAAO;EACT;CACF;CACA,UAAU,EACR,MAAM;EACJ,IAAI;GACF,OAAO,EAAE,OAAO,eAAe;GAC/B,OAAO,EAAE,WAAW,kBAAkB;GACtC,OAAO,EAAE,WAAW,kBAAkB;EACxC;EACA,OAAO;GACL,OAAO,EAAE,OAAO,iBAAiB;GACjC,OAAO,EAAE,WAAW,oBAAoB;GACxC,OAAO,EAAE,WAAW,kBAAkB;EACxC;EACA,OAAO;GACL,OAAO,EAAE,OAAO,iBAAiB;GACjC,OAAO,EAAE,WAAW,oBAAoB;GACxC,OAAO,EAAE,WAAW,mBAAmB;EACzC;CACF,EACF;CACA,iBAAiB,EACf,MAAM,KACR;AACF,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const linkCardSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"body" | "footer" | "header" | "title" | "root" | "description" | "iconTile" | "textBlock" | "actionLabel" | "actionIcon", {
|
|
2
|
+
variant: {
|
|
3
|
+
icon: {};
|
|
4
|
+
product: {
|
|
5
|
+
description: {
|
|
6
|
+
textStyle: {
|
|
7
|
+
base: "body/lg/regular";
|
|
8
|
+
tablet: "body/md/regular";
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
}>;
|
|
14
|
+
export default linkCardSlotRecipe;
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { defineSlotRecipe } from "@chakra-ui/react/styled-system";
|
|
2
|
+
import { cardAnatomy } from "@chakra-ui/react/anatomy";
|
|
3
|
+
//#region lib/theme/slot-recipes/LinkCard.recipe.ts
|
|
4
|
+
var linkCardAnatomy = cardAnatomy.extendWith("iconTile", "textBlock", "actionLabel", "actionIcon");
|
|
5
|
+
var rootActive = {
|
|
6
|
+
borderColor: "border/hover",
|
|
7
|
+
boxShadow: "elevation/md"
|
|
8
|
+
};
|
|
9
|
+
var textActive = { color: "text/link-hover" };
|
|
10
|
+
var iconTileActive = {
|
|
11
|
+
backgroundColor: "background/selected-hover",
|
|
12
|
+
color: "icon/interactive"
|
|
13
|
+
};
|
|
14
|
+
var linkCardSlotRecipe = defineSlotRecipe({
|
|
15
|
+
className: "link-card",
|
|
16
|
+
slots: linkCardAnatomy.keys(),
|
|
17
|
+
base: {
|
|
18
|
+
root: {
|
|
19
|
+
borderRadius: "12",
|
|
20
|
+
color: "text/primary",
|
|
21
|
+
display: "flex",
|
|
22
|
+
flexDirection: "column",
|
|
23
|
+
maxWidth: "layout/maxWidth/480",
|
|
24
|
+
overflow: "clip",
|
|
25
|
+
textDecoration: "none",
|
|
26
|
+
_hover: rootActive,
|
|
27
|
+
_focusVisible: rootActive
|
|
28
|
+
},
|
|
29
|
+
body: {
|
|
30
|
+
display: "flex",
|
|
31
|
+
flex: "1",
|
|
32
|
+
flexDirection: "column",
|
|
33
|
+
gap: {
|
|
34
|
+
base: "12",
|
|
35
|
+
tablet: "16"
|
|
36
|
+
},
|
|
37
|
+
minHeight: 0,
|
|
38
|
+
paddingInlineEnd: {
|
|
39
|
+
base: "24",
|
|
40
|
+
tablet: "24"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
iconTile: {
|
|
44
|
+
alignItems: "center",
|
|
45
|
+
alignSelf: "flex-start",
|
|
46
|
+
backgroundColor: "background/tertiary",
|
|
47
|
+
borderRadius: {
|
|
48
|
+
base: "8",
|
|
49
|
+
tablet: "10"
|
|
50
|
+
},
|
|
51
|
+
color: "icon/secondary",
|
|
52
|
+
display: "flex",
|
|
53
|
+
flexShrink: 0,
|
|
54
|
+
justifyContent: "center",
|
|
55
|
+
padding: "8",
|
|
56
|
+
"& > svg": { boxSize: {
|
|
57
|
+
base: "24",
|
|
58
|
+
tablet: "32"
|
|
59
|
+
} },
|
|
60
|
+
_groupHover: iconTileActive,
|
|
61
|
+
_groupFocusVisible: iconTileActive
|
|
62
|
+
},
|
|
63
|
+
textBlock: {
|
|
64
|
+
display: "flex",
|
|
65
|
+
flexDirection: "column",
|
|
66
|
+
gap: "6",
|
|
67
|
+
overflowWrap: "anywhere"
|
|
68
|
+
},
|
|
69
|
+
title: {
|
|
70
|
+
color: "text/primary",
|
|
71
|
+
textStyle: "body/xl/semibold",
|
|
72
|
+
_groupHover: textActive,
|
|
73
|
+
_groupFocusVisible: textActive
|
|
74
|
+
},
|
|
75
|
+
description: {
|
|
76
|
+
color: "text/secondary",
|
|
77
|
+
textStyle: "body/lg/regular"
|
|
78
|
+
},
|
|
79
|
+
footer: {
|
|
80
|
+
alignItems: "center",
|
|
81
|
+
display: "flex",
|
|
82
|
+
gap: "4",
|
|
83
|
+
marginInline: {
|
|
84
|
+
base: "16",
|
|
85
|
+
tablet: "24"
|
|
86
|
+
},
|
|
87
|
+
paddingBlock: {
|
|
88
|
+
base: "16",
|
|
89
|
+
tablet: "24"
|
|
90
|
+
},
|
|
91
|
+
paddingInlineEnd: {
|
|
92
|
+
base: "8",
|
|
93
|
+
tablet: "8"
|
|
94
|
+
},
|
|
95
|
+
paddingInlineStart: {
|
|
96
|
+
base: "0",
|
|
97
|
+
tablet: "0"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
actionLabel: {
|
|
101
|
+
color: "text/link",
|
|
102
|
+
flex: "1",
|
|
103
|
+
minWidth: 0,
|
|
104
|
+
textStyle: "body/lg/regular",
|
|
105
|
+
_groupHover: textActive,
|
|
106
|
+
_groupFocusVisible: textActive
|
|
107
|
+
},
|
|
108
|
+
actionIcon: {
|
|
109
|
+
color: "icon/interactive",
|
|
110
|
+
flexShrink: 0,
|
|
111
|
+
opacity: 0,
|
|
112
|
+
_groupHover: { opacity: 1 },
|
|
113
|
+
_groupFocusVisible: { opacity: 1 }
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
variants: { variant: {
|
|
117
|
+
icon: {},
|
|
118
|
+
product: { description: { textStyle: {
|
|
119
|
+
base: "body/lg/regular",
|
|
120
|
+
tablet: "body/md/regular"
|
|
121
|
+
} } }
|
|
122
|
+
} },
|
|
123
|
+
defaultVariants: { variant: "icon" }
|
|
124
|
+
});
|
|
125
|
+
//#endregion
|
|
126
|
+
export { linkCardSlotRecipe as default };
|
|
127
|
+
|
|
128
|
+
//# sourceMappingURL=LinkCard.recipe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkCard.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/LinkCard.recipe.ts"],"sourcesContent":["import { cardAnatomy } from '@chakra-ui/react/anatomy';\nimport { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\n// BitkitLinkCard is a `Card` (elevation off, `sm` padding below tablet and `lg` from tablet up):\n// background, border, body padding and the footer's divider come from the card recipe. This recipe\n// only adds what the link card does differently: a larger radius, an inset divider, the hover state\n// and its own content.\n//\n// The whole card is one link, so hover and keyboard focus read the same: the root reacts with\n// `_hover` / `_focusVisible`, and its parts follow through the `group` class on the root.\n//\n// `variant` is a layout variant: the icon and product cards differ in their visual and, from tablet\n// up, in the size of the body text.\nconst linkCardAnatomy = cardAnatomy.extendWith('iconTile', 'textBlock', 'actionLabel', 'actionIcon');\n\nconst rootActive = {\n borderColor: 'border/hover',\n boxShadow: 'elevation/md',\n};\n\nconst textActive = { color: 'text/link-hover' };\n\nconst iconTileActive = {\n backgroundColor: 'background/selected-hover',\n color: 'icon/interactive',\n};\n\nconst linkCardSlotRecipe = defineSlotRecipe({\n className: 'link-card',\n slots: linkCardAnatomy.keys(),\n base: {\n root: {\n borderRadius: '12',\n color: 'text/primary',\n display: 'flex',\n flexDirection: 'column',\n maxWidth: 'layout/maxWidth/480',\n overflow: 'clip',\n textDecoration: 'none',\n _hover: rootActive,\n _focusVisible: rootActive,\n },\n body: {\n display: 'flex',\n flex: '1',\n flexDirection: 'column',\n gap: { base: '12', tablet: '16' },\n minHeight: 0,\n // The design keeps the content 24px off the trailing edge at every size, also where the card's\n // padding is 16. Responsive for the same reason as the footer's padding.\n paddingInlineEnd: { base: '24', tablet: '24' },\n },\n iconTile: {\n alignItems: 'center',\n alignSelf: 'flex-start',\n backgroundColor: 'background/tertiary',\n borderRadius: { base: '8', tablet: '10' },\n color: 'icon/secondary',\n display: 'flex',\n flexShrink: 0,\n justifyContent: 'center',\n padding: '8',\n '& > svg': {\n boxSize: { base: '24', tablet: '32' },\n },\n _groupHover: iconTileActive,\n _groupFocusVisible: iconTileActive,\n },\n textBlock: {\n display: 'flex',\n flexDirection: 'column',\n gap: '6',\n overflowWrap: 'anywhere',\n },\n title: {\n color: 'text/primary',\n textStyle: 'body/xl/semibold',\n _groupHover: textActive,\n _groupFocusVisible: textActive,\n },\n description: {\n color: 'text/secondary',\n textStyle: 'body/lg/regular',\n },\n // The card's footer runs its divider edge to edge; the design insets it to the body's padding.\n // The padding is responsive on purpose: the card's own footer padding comes from a responsive\n // `paddingSize`, so a plain value here would lose to its breakpoint rule from tablet up.\n footer: {\n alignItems: 'center',\n display: 'flex',\n gap: '4',\n marginInline: { base: '16', tablet: '24' },\n paddingBlock: { base: '16', tablet: '24' },\n paddingInlineEnd: { base: '8', tablet: '8' },\n paddingInlineStart: { base: '0', tablet: '0' },\n },\n actionLabel: {\n color: 'text/link',\n flex: '1',\n minWidth: 0,\n textStyle: 'body/lg/regular',\n _groupHover: textActive,\n _groupFocusVisible: textActive,\n },\n actionIcon: {\n color: 'icon/interactive',\n flexShrink: 0,\n opacity: 0,\n _groupHover: { opacity: 1 },\n _groupFocusVisible: { opacity: 1 },\n },\n },\n variants: {\n variant: {\n icon: {},\n // The visual is a BitkitProductThumbnail, which brings its own size, radius and background.\n product: {\n description: {\n textStyle: { base: 'body/lg/regular', tablet: 'body/md/regular' },\n },\n },\n },\n },\n defaultVariants: {\n variant: 'icon',\n },\n});\n\nexport default linkCardSlotRecipe;\n"],"mappings":";;;AAaA,IAAM,kBAAkB,YAAY,WAAW,YAAY,aAAa,eAAe,YAAY;AAEnG,IAAM,aAAa;CACjB,aAAa;CACb,WAAW;AACb;AAEA,IAAM,aAAa,EAAE,OAAO,kBAAkB;AAE9C,IAAM,iBAAiB;CACrB,iBAAiB;CACjB,OAAO;AACT;AAEA,IAAM,qBAAqB,iBAAiB;CAC1C,WAAW;CACX,OAAO,gBAAgB,KAAK;CAC5B,MAAM;EACJ,MAAM;GACJ,cAAc;GACd,OAAO;GACP,SAAS;GACT,eAAe;GACf,UAAU;GACV,UAAU;GACV,gBAAgB;GAChB,QAAQ;GACR,eAAe;EACjB;EACA,MAAM;GACJ,SAAS;GACT,MAAM;GACN,eAAe;GACf,KAAK;IAAE,MAAM;IAAM,QAAQ;GAAK;GAChC,WAAW;GAGX,kBAAkB;IAAE,MAAM;IAAM,QAAQ;GAAK;EAC/C;EACA,UAAU;GACR,YAAY;GACZ,WAAW;GACX,iBAAiB;GACjB,cAAc;IAAE,MAAM;IAAK,QAAQ;GAAK;GACxC,OAAO;GACP,SAAS;GACT,YAAY;GACZ,gBAAgB;GAChB,SAAS;GACT,WAAW,EACT,SAAS;IAAE,MAAM;IAAM,QAAQ;GAAK,EACtC;GACA,aAAa;GACb,oBAAoB;EACtB;EACA,WAAW;GACT,SAAS;GACT,eAAe;GACf,KAAK;GACL,cAAc;EAChB;EACA,OAAO;GACL,OAAO;GACP,WAAW;GACX,aAAa;GACb,oBAAoB;EACtB;EACA,aAAa;GACX,OAAO;GACP,WAAW;EACb;EAIA,QAAQ;GACN,YAAY;GACZ,SAAS;GACT,KAAK;GACL,cAAc;IAAE,MAAM;IAAM,QAAQ;GAAK;GACzC,cAAc;IAAE,MAAM;IAAM,QAAQ;GAAK;GACzC,kBAAkB;IAAE,MAAM;IAAK,QAAQ;GAAI;GAC3C,oBAAoB;IAAE,MAAM;IAAK,QAAQ;GAAI;EAC/C;EACA,aAAa;GACX,OAAO;GACP,MAAM;GACN,UAAU;GACV,WAAW;GACX,aAAa;GACb,oBAAoB;EACtB;EACA,YAAY;GACV,OAAO;GACP,YAAY;GACZ,SAAS;GACT,aAAa,EAAE,SAAS,EAAE;GAC1B,oBAAoB,EAAE,SAAS,EAAE;EACnC;CACF;CACA,UAAU,EACR,SAAS;EACP,MAAM,CAAC;EAEP,SAAS,EACP,aAAa,EACX,WAAW;GAAE,MAAM;GAAmB,QAAQ;EAAkB,EAClE,EACF;CACF,EACF;CACA,iBAAiB,EACf,SAAS,OACX;AACF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const pageHeaderSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"title" | "badge" | "avatar" | "breadcrumb" | "tabs" | "root" | "secondaryText" | "controls" | "titleBlock" | "
|
|
1
|
+
declare const pageHeaderSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"title" | "badge" | "avatar" | "breadcrumb" | "tabs" | "root" | "secondaryText" | "controls" | "titleBlock" | "textBlock" | "sectionTitle" | "headerBlock" | "contentBlock" | "titleBar" | "titleRow" | "actionBlock" | "menuButton" | "sectionBlock", {
|
|
2
2
|
contentVariant: {
|
|
3
3
|
title: {
|
|
4
4
|
titleBlock: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const pageSubheaderSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"title" | "tabs" | "root" | "secondaryText" | "
|
|
1
|
+
declare const pageSubheaderSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"title" | "tabs" | "root" | "secondaryText" | "textBlock" | "headerBlock" | "contentBlock" | "actionBlock", {
|
|
2
2
|
isCapped: {
|
|
3
3
|
true: {
|
|
4
4
|
tabs: {
|
|
@@ -5,7 +5,7 @@ declare const statSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"l
|
|
|
5
5
|
color: "text/primary";
|
|
6
6
|
};
|
|
7
7
|
value: {
|
|
8
|
-
textStyle: "
|
|
8
|
+
textStyle: "body/lg/regular";
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
11
|
'2xl': {
|
|
@@ -13,7 +13,7 @@ declare const statSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"l
|
|
|
13
13
|
color: "text/secondary";
|
|
14
14
|
};
|
|
15
15
|
value: {
|
|
16
|
-
textStyle: "
|
|
16
|
+
textStyle: "body/2xl/semibold";
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
'3xl': {
|
|
@@ -21,7 +21,7 @@ declare const statSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"l
|
|
|
21
21
|
color: "text/secondary";
|
|
22
22
|
};
|
|
23
23
|
value: {
|
|
24
|
-
textStyle: "
|
|
24
|
+
textStyle: "body/3xl/semibold";
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
};
|
|
@@ -38,15 +38,15 @@ var statSlotRecipe = defineSlotRecipe({
|
|
|
38
38
|
size: {
|
|
39
39
|
lg: {
|
|
40
40
|
label: { color: "text/primary" },
|
|
41
|
-
value: { textStyle: "
|
|
41
|
+
value: { textStyle: "body/lg/regular" }
|
|
42
42
|
},
|
|
43
43
|
"2xl": {
|
|
44
44
|
label: { color: "text/secondary" },
|
|
45
|
-
value: { textStyle: "
|
|
45
|
+
value: { textStyle: "body/2xl/semibold" }
|
|
46
46
|
},
|
|
47
47
|
"3xl": {
|
|
48
48
|
label: { color: "text/secondary" },
|
|
49
|
-
value: { textStyle: "
|
|
49
|
+
value: { textStyle: "body/3xl/semibold" }
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
variant: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stat.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/Stat.recipe.ts"],"sourcesContent":["import { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nconst statSlotRecipe = defineSlotRecipe({\n className: 'stat',\n slots: ['root', 'label', 'value', 'helpText'],\n base: {\n root: {\n display: 'flex',\n flexDirection: 'column',\n gap: '4',\n },\n label: {\n display: 'inline-flex',\n gap: '4',\n alignItems: 'center',\n textStyle: 'body/md/semibold',\n },\n value: {\n display: 'inline-flex',\n gap: '4',\n alignItems: 'center',\n fontFeatureSettings: 'pnum',\n fontVariantNumeric: 'proportional-nums',\n },\n helpText: {\n display: 'inline-flex',\n flexWrap: 'wrap',\n gap: '4',\n textStyle: 'body/md/regular',\n },\n },\n variants: {\n size: {\n lg: {\n label: { color: 'text/primary' },\n value: { textStyle: '
|
|
1
|
+
{"version":3,"file":"Stat.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/Stat.recipe.ts"],"sourcesContent":["import { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nconst statSlotRecipe = defineSlotRecipe({\n className: 'stat',\n slots: ['root', 'label', 'value', 'helpText'],\n base: {\n root: {\n display: 'flex',\n flexDirection: 'column',\n gap: '4',\n },\n label: {\n display: 'inline-flex',\n gap: '4',\n alignItems: 'center',\n textStyle: 'body/md/semibold',\n },\n value: {\n display: 'inline-flex',\n gap: '4',\n alignItems: 'center',\n fontFeatureSettings: 'pnum',\n fontVariantNumeric: 'proportional-nums',\n },\n helpText: {\n display: 'inline-flex',\n flexWrap: 'wrap',\n gap: '4',\n textStyle: 'body/md/regular',\n },\n },\n variants: {\n size: {\n lg: {\n label: { color: 'text/primary' },\n value: { textStyle: 'body/lg/regular' },\n },\n '2xl': {\n label: { color: 'text/secondary' },\n value: { textStyle: 'body/2xl/semibold' },\n },\n '3xl': {\n label: { color: 'text/secondary' },\n value: { textStyle: 'body/3xl/semibold' },\n },\n },\n variant: {\n default: {},\n compact: {\n root: {\n display: 'inline-flex',\n alignItems: 'flex-end',\n },\n value: {\n textStyle: 'body/md/regular',\n },\n helpText: {\n textStyle: 'body/sm/regular',\n },\n },\n },\n },\n defaultVariants: {\n size: 'lg',\n variant: 'default',\n },\n});\n\nexport default statSlotRecipe;\n"],"mappings":";;AAEA,IAAM,iBAAiB,iBAAiB;CACtC,WAAW;CACX,OAAO;EAAC;EAAQ;EAAS;EAAS;CAAU;CAC5C,MAAM;EACJ,MAAM;GACJ,SAAS;GACT,eAAe;GACf,KAAK;EACP;EACA,OAAO;GACL,SAAS;GACT,KAAK;GACL,YAAY;GACZ,WAAW;EACb;EACA,OAAO;GACL,SAAS;GACT,KAAK;GACL,YAAY;GACZ,qBAAqB;GACrB,oBAAoB;EACtB;EACA,UAAU;GACR,SAAS;GACT,UAAU;GACV,KAAK;GACL,WAAW;EACb;CACF;CACA,UAAU;EACR,MAAM;GACJ,IAAI;IACF,OAAO,EAAE,OAAO,eAAe;IAC/B,OAAO,EAAE,WAAW,kBAAkB;GACxC;GACA,OAAO;IACL,OAAO,EAAE,OAAO,iBAAiB;IACjC,OAAO,EAAE,WAAW,oBAAoB;GAC1C;GACA,OAAO;IACL,OAAO,EAAE,OAAO,iBAAiB;IACjC,OAAO,EAAE,WAAW,oBAAoB;GAC1C;EACF;EACA,SAAS;GACP,SAAS,CAAC;GACV,SAAS;IACP,MAAM;KACJ,SAAS;KACT,YAAY;IACd;IACA,OAAO,EACL,WAAW,kBACb;IACA,UAAU,EACR,WAAW,kBACb;GACF;EACF;CACF;CACA,iBAAiB;EACf,MAAM;EACN,SAAS;CACX;AACF,CAAC"}
|
|
@@ -1288,6 +1288,19 @@ declare const slotRecipes: {
|
|
|
1288
1288
|
};
|
|
1289
1289
|
};
|
|
1290
1290
|
}>;
|
|
1291
|
+
linkCard: import('@chakra-ui/react').SlotRecipeDefinition<"body" | "footer" | "header" | "title" | "root" | "description" | "iconTile" | "textBlock" | "actionLabel" | "actionIcon", {
|
|
1292
|
+
variant: {
|
|
1293
|
+
icon: {};
|
|
1294
|
+
product: {
|
|
1295
|
+
description: {
|
|
1296
|
+
textStyle: {
|
|
1297
|
+
base: "body/lg/regular";
|
|
1298
|
+
tablet: "body/md/regular";
|
|
1299
|
+
};
|
|
1300
|
+
};
|
|
1301
|
+
};
|
|
1302
|
+
};
|
|
1303
|
+
}>;
|
|
1291
1304
|
listbox: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "input" | "label" | "root" | "item" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "itemText" | "valueText" | "empty", {
|
|
1292
1305
|
size: {
|
|
1293
1306
|
md: {};
|
|
@@ -1702,7 +1715,7 @@ declare const slotRecipes: {
|
|
|
1702
1715
|
};
|
|
1703
1716
|
};
|
|
1704
1717
|
}>;
|
|
1705
|
-
pageHeader: import('@chakra-ui/react').SlotRecipeDefinition<"title" | "badge" | "avatar" | "breadcrumb" | "tabs" | "root" | "secondaryText" | "controls" | "titleBlock" | "
|
|
1718
|
+
pageHeader: import('@chakra-ui/react').SlotRecipeDefinition<"title" | "badge" | "avatar" | "breadcrumb" | "tabs" | "root" | "secondaryText" | "controls" | "titleBlock" | "textBlock" | "sectionTitle" | "headerBlock" | "contentBlock" | "titleBar" | "titleRow" | "actionBlock" | "menuButton" | "sectionBlock", {
|
|
1706
1719
|
contentVariant: {
|
|
1707
1720
|
title: {
|
|
1708
1721
|
titleBlock: {
|
|
@@ -2121,7 +2134,7 @@ declare const slotRecipes: {
|
|
|
2121
2134
|
};
|
|
2122
2135
|
};
|
|
2123
2136
|
}>;
|
|
2124
|
-
pageSubheader: import('@chakra-ui/react').SlotRecipeDefinition<"title" | "tabs" | "root" | "secondaryText" | "
|
|
2137
|
+
pageSubheader: import('@chakra-ui/react').SlotRecipeDefinition<"title" | "tabs" | "root" | "secondaryText" | "textBlock" | "headerBlock" | "contentBlock" | "actionBlock", {
|
|
2125
2138
|
isCapped: {
|
|
2126
2139
|
true: {
|
|
2127
2140
|
tabs: {
|
|
@@ -2424,7 +2437,7 @@ declare const slotRecipes: {
|
|
|
2424
2437
|
color: "text/primary";
|
|
2425
2438
|
};
|
|
2426
2439
|
value: {
|
|
2427
|
-
textStyle: "
|
|
2440
|
+
textStyle: "body/lg/regular";
|
|
2428
2441
|
};
|
|
2429
2442
|
limit: {
|
|
2430
2443
|
textStyle: "body/md/regular";
|
|
@@ -2435,7 +2448,7 @@ declare const slotRecipes: {
|
|
|
2435
2448
|
color: "text/secondary";
|
|
2436
2449
|
};
|
|
2437
2450
|
value: {
|
|
2438
|
-
textStyle: "
|
|
2451
|
+
textStyle: "body/2xl/semibold";
|
|
2439
2452
|
};
|
|
2440
2453
|
limit: {
|
|
2441
2454
|
textStyle: "body/xl/regular";
|
|
@@ -2446,7 +2459,7 @@ declare const slotRecipes: {
|
|
|
2446
2459
|
color: "text/secondary";
|
|
2447
2460
|
};
|
|
2448
2461
|
value: {
|
|
2449
|
-
textStyle: "
|
|
2462
|
+
textStyle: "body/3xl/semibold";
|
|
2450
2463
|
};
|
|
2451
2464
|
limit: {
|
|
2452
2465
|
textStyle: "body/2xl/regular";
|
|
@@ -2740,7 +2753,7 @@ declare const slotRecipes: {
|
|
|
2740
2753
|
color: "text/primary";
|
|
2741
2754
|
};
|
|
2742
2755
|
value: {
|
|
2743
|
-
textStyle: "
|
|
2756
|
+
textStyle: "body/lg/regular";
|
|
2744
2757
|
};
|
|
2745
2758
|
};
|
|
2746
2759
|
'2xl': {
|
|
@@ -2748,7 +2761,7 @@ declare const slotRecipes: {
|
|
|
2748
2761
|
color: "text/secondary";
|
|
2749
2762
|
};
|
|
2750
2763
|
value: {
|
|
2751
|
-
textStyle: "
|
|
2764
|
+
textStyle: "body/2xl/semibold";
|
|
2752
2765
|
};
|
|
2753
2766
|
};
|
|
2754
2767
|
'3xl': {
|
|
@@ -2756,7 +2769,7 @@ declare const slotRecipes: {
|
|
|
2756
2769
|
color: "text/secondary";
|
|
2757
2770
|
};
|
|
2758
2771
|
value: {
|
|
2759
|
-
textStyle: "
|
|
2772
|
+
textStyle: "body/3xl/semibold";
|
|
2760
2773
|
};
|
|
2761
2774
|
};
|
|
2762
2775
|
};
|
|
@@ -28,6 +28,7 @@ import groupHeadingRecipe from "./GroupHeading.recipe.js";
|
|
|
28
28
|
import imageCropperSlotRecipe from "./ImageCropper.recipe.js";
|
|
29
29
|
import inlineLoadingRecipe from "./InlineLoading.recipe.js";
|
|
30
30
|
import labeledDataSlotRecipe from "./LabeledData.recipe.js";
|
|
31
|
+
import linkCardSlotRecipe from "./LinkCard.recipe.js";
|
|
31
32
|
import listSlotRecipe from "./List.recipe.js";
|
|
32
33
|
import listboxSlotRecipe from "./Listbox.recipe.js";
|
|
33
34
|
import markdownSlotRecipe from "./Markdown.recipe.js";
|
|
@@ -95,6 +96,7 @@ var slotRecipes = {
|
|
|
95
96
|
imageCropper: imageCropperSlotRecipe,
|
|
96
97
|
inlineLoading: inlineLoadingRecipe,
|
|
97
98
|
list: listSlotRecipe,
|
|
99
|
+
linkCard: linkCardSlotRecipe,
|
|
98
100
|
listbox: listboxSlotRecipe,
|
|
99
101
|
markdown: markdownSlotRecipe,
|
|
100
102
|
markdownCard: markdownCardSlotRecipe,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["groupHeadingSlotRecipe","inlineLoadingSlotRecipe","paginationLoadMoreSlotRecipe","sectionHeadingSlotRecipe"],"sources":["../../../lib/theme/slot-recipes/index.ts"],"sourcesContent":["import accordionSlotRecipe from './Accordion.recipe.ts';\nimport actionBarSlotRecipe from './ActionBar.recipe.ts';\nimport alertSlotRecipe from './Alert.recipe.ts';\nimport avatarSlotRecipe from './Avatar.recipe.ts';\nimport breadcrumbSlotRecipe from './Breadcrumb.recipe.ts';\nimport cardSlotRecipe from './Card.recipe';\nimport checkboxSlotRecipe from './Checkbox.recipe';\nimport codeSnippetSlotRecipe from './CodeSnippet.recipe.ts';\nimport collapsibleSlotRecipe from './Collapsible.recipe.ts';\nimport comboboxSlotRecipe from './Combobox.recipe.ts';\nimport dataWidgetSlotRecipe from './DataWidget.recipe.ts';\nimport datePickerSlotRecipe from './DatePicker.recipe.ts';\nimport datePickerSelectSlotRecipe from './DatePickerSelect.recipe.ts';\nimport dialogSlotRecipe from './Dialog.recipe.ts';\nimport draggableCardSlotRecipe from './DraggableCard.recipe.ts';\nimport drawerSlotRecipe from './Drawer.recipe.ts';\nimport emptyStateSlotRecipe from './EmptyState.recipe';\nimport expandableCardSlotRecipe from './ExpandableCard.recipe.ts';\nimport fieldSlotRecipe from './Field.recipe';\nimport fieldsetSlotRecipe from './Fieldset.recipe.ts';\nimport fileUploadSlotRecipe from './FileUpload.recipe.ts';\nimport filterSlotRecipe from './Filter.recipe.ts';\nimport groupHeadingSlotRecipe from './GroupHeading.recipe.ts';\nimport imageCropperSlotRecipe from './ImageCropper.recipe.ts';\nimport inlineLoadingSlotRecipe from './InlineLoading.recipe.ts';\nimport labeledDataSlotRecipe from './LabeledData.recipe.ts';\nimport listSlotRecipe from './List.recipe.ts';\nimport listboxSlotRecipe from './Listbox.recipe.ts';\nimport markdownSlotRecipe from './Markdown.recipe.ts';\nimport markdownCardSlotRecipe from './MarkdownCard.recipe.ts';\nimport menuSlotRecipe from './Menu.recipe.ts';\nimport multiselectSlotRecipe from './Multiselect.recipe.ts';\nimport nativeSelectSlotRecipe from './NativeSelect.recipe.ts';\nimport noteCardSlotRecipe from './NoteCard.recipe.ts';\nimport numberInputSlotRecipe from './NumberInput.recipe';\nimport overflowContentSlotRecipe from './OverflowContent.recipe.ts';\nimport pageFooterSlotRecipe from './PageFooter.recipe.ts';\nimport pageHeaderSlotRecipe from './PageHeader.recipe.ts';\nimport pageSidebarSlotRecipe from './PageSidebar.recipe.ts';\nimport pageSubheaderSlotRecipe from './PageSubheader.recipe.ts';\nimport paginationSlotRecipe from './Pagination.recipe.ts';\nimport paginationLoadMoreSlotRecipe from './PaginationLoadMore.recipe.ts';\nimport popoverSlotRecipe from './Popover.recipe.ts';\nimport progressSlotRecipe from './Progress.recipe.ts';\nimport qrCodeSlotRecipe from './QrCode.recipe.ts';\nimport radioGroupSlotRecipe from './RadioGroup.recipe.ts';\nimport ribbonSlotRecipe from './Ribbon.recipe.ts';\nimport sectionHeadingSlotRecipe from './SectionHeading.recipe.ts';\nimport segmentGroupSlotRecipe from './SegmentGroup.recipe.ts';\nimport { selectSlotRecipe } from './Select.recipe.ts';\nimport settingsCardSlotRecipe from './SettingsCard.recipe.ts';\nimport splitButtonSlotRecipe from './SplitButton.recipe.ts';\nimport statSlotRecipe from './Stat.recipe.ts';\nimport stepCardSlotRecipe from './StepCard.recipe.ts';\nimport stepsSlotRecipe from './Steps.recipe.ts';\nimport switchSlotRecipe from './Switch.recipe';\nimport tableSlotRecipe from './Table.recipe.ts';\nimport tableCardSlotRecipe from './TableCard.recipe.ts';\nimport tabsSlotRecipe from './Tabs.recipe';\nimport tagSlotRecipe from './Tag.recipe.ts';\nimport tagsInputSlotRecipe from './TagsInput.recipe.ts';\nimport textInputSlotRecipe from './TextInput.recipe.ts';\nimport toastSlotRecipe from './Toast.recipe';\nimport toggletipSlotRecipe from './Toggletip.recipe';\nimport tooltipSlotRecipe from './Tooltip.recipe';\nimport tourSlotRecipe from './Tour.recipe.ts';\nimport treeViewSlotRecipe from './TreeView.recipe.ts';\nimport uiHeaderSlotRecipe from './UIHeader.recipe';\nimport uiSideNavSlotRecipe from './UISideNav.recipe.ts';\n\nconst slotRecipes = {\n accordion: accordionSlotRecipe,\n actionBar: actionBarSlotRecipe,\n alert: alertSlotRecipe,\n avatar: avatarSlotRecipe,\n breadcrumb: breadcrumbSlotRecipe,\n card: cardSlotRecipe,\n checkbox: checkboxSlotRecipe,\n codeSnippet: codeSnippetSlotRecipe,\n collapsible: collapsibleSlotRecipe,\n combobox: comboboxSlotRecipe,\n dataWidget: dataWidgetSlotRecipe,\n datePicker: datePickerSlotRecipe,\n datePickerSelect: datePickerSelectSlotRecipe,\n dialog: dialogSlotRecipe,\n draggableCard: draggableCardSlotRecipe,\n drawer: drawerSlotRecipe,\n emptyState: emptyStateSlotRecipe,\n expandableCard: expandableCardSlotRecipe,\n field: fieldSlotRecipe,\n groupHeading: groupHeadingSlotRecipe,\n fieldset: fieldsetSlotRecipe,\n fileUpload: fileUploadSlotRecipe,\n filter: filterSlotRecipe,\n imageCropper: imageCropperSlotRecipe,\n inlineLoading: inlineLoadingSlotRecipe,\n list: listSlotRecipe,\n listbox: listboxSlotRecipe,\n markdown: markdownSlotRecipe,\n markdownCard: markdownCardSlotRecipe,\n menu: menuSlotRecipe,\n multiselect: multiselectSlotRecipe,\n noteCard: noteCardSlotRecipe,\n nativeSelect: nativeSelectSlotRecipe,\n numberInput: numberInputSlotRecipe,\n overflowContent: overflowContentSlotRecipe,\n pageFooter: pageFooterSlotRecipe,\n pageHeader: pageHeaderSlotRecipe,\n pageSidebar: pageSidebarSlotRecipe,\n pageSubheader: pageSubheaderSlotRecipe,\n pagination: paginationSlotRecipe,\n paginationLoadMore: paginationLoadMoreSlotRecipe,\n popover: popoverSlotRecipe,\n progress: progressSlotRecipe,\n qrCode: qrCodeSlotRecipe,\n radioGroup: radioGroupSlotRecipe,\n ribbon: ribbonSlotRecipe,\n sectionHeading: sectionHeadingSlotRecipe,\n labeledData: labeledDataSlotRecipe,\n segmentGroup: segmentGroupSlotRecipe,\n select: selectSlotRecipe,\n settingsCard: settingsCardSlotRecipe,\n splitButton: splitButtonSlotRecipe,\n stat: statSlotRecipe,\n stepsCard: stepCardSlotRecipe,\n steps: stepsSlotRecipe,\n switch: switchSlotRecipe,\n table: tableSlotRecipe,\n tableCard: tableCardSlotRecipe,\n tabs: tabsSlotRecipe,\n tag: tagSlotRecipe,\n tagsInput: tagsInputSlotRecipe,\n textInput: textInputSlotRecipe,\n toast: toastSlotRecipe,\n toggletip: toggletipSlotRecipe,\n tooltip: tooltipSlotRecipe,\n tour: tourSlotRecipe,\n treeView: treeViewSlotRecipe,\n uiHeader: uiHeaderSlotRecipe,\n uiSideNav: uiSideNavSlotRecipe,\n};\n\nexport default slotRecipes;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":["groupHeadingSlotRecipe","inlineLoadingSlotRecipe","paginationLoadMoreSlotRecipe","sectionHeadingSlotRecipe"],"sources":["../../../lib/theme/slot-recipes/index.ts"],"sourcesContent":["import accordionSlotRecipe from './Accordion.recipe.ts';\nimport actionBarSlotRecipe from './ActionBar.recipe.ts';\nimport alertSlotRecipe from './Alert.recipe.ts';\nimport avatarSlotRecipe from './Avatar.recipe.ts';\nimport breadcrumbSlotRecipe from './Breadcrumb.recipe.ts';\nimport cardSlotRecipe from './Card.recipe';\nimport checkboxSlotRecipe from './Checkbox.recipe';\nimport codeSnippetSlotRecipe from './CodeSnippet.recipe.ts';\nimport collapsibleSlotRecipe from './Collapsible.recipe.ts';\nimport comboboxSlotRecipe from './Combobox.recipe.ts';\nimport dataWidgetSlotRecipe from './DataWidget.recipe.ts';\nimport datePickerSlotRecipe from './DatePicker.recipe.ts';\nimport datePickerSelectSlotRecipe from './DatePickerSelect.recipe.ts';\nimport dialogSlotRecipe from './Dialog.recipe.ts';\nimport draggableCardSlotRecipe from './DraggableCard.recipe.ts';\nimport drawerSlotRecipe from './Drawer.recipe.ts';\nimport emptyStateSlotRecipe from './EmptyState.recipe';\nimport expandableCardSlotRecipe from './ExpandableCard.recipe.ts';\nimport fieldSlotRecipe from './Field.recipe';\nimport fieldsetSlotRecipe from './Fieldset.recipe.ts';\nimport fileUploadSlotRecipe from './FileUpload.recipe.ts';\nimport filterSlotRecipe from './Filter.recipe.ts';\nimport groupHeadingSlotRecipe from './GroupHeading.recipe.ts';\nimport imageCropperSlotRecipe from './ImageCropper.recipe.ts';\nimport inlineLoadingSlotRecipe from './InlineLoading.recipe.ts';\nimport labeledDataSlotRecipe from './LabeledData.recipe.ts';\nimport linkCardSlotRecipe from './LinkCard.recipe.ts';\nimport listSlotRecipe from './List.recipe.ts';\nimport listboxSlotRecipe from './Listbox.recipe.ts';\nimport markdownSlotRecipe from './Markdown.recipe.ts';\nimport markdownCardSlotRecipe from './MarkdownCard.recipe.ts';\nimport menuSlotRecipe from './Menu.recipe.ts';\nimport multiselectSlotRecipe from './Multiselect.recipe.ts';\nimport nativeSelectSlotRecipe from './NativeSelect.recipe.ts';\nimport noteCardSlotRecipe from './NoteCard.recipe.ts';\nimport numberInputSlotRecipe from './NumberInput.recipe';\nimport overflowContentSlotRecipe from './OverflowContent.recipe.ts';\nimport pageFooterSlotRecipe from './PageFooter.recipe.ts';\nimport pageHeaderSlotRecipe from './PageHeader.recipe.ts';\nimport pageSidebarSlotRecipe from './PageSidebar.recipe.ts';\nimport pageSubheaderSlotRecipe from './PageSubheader.recipe.ts';\nimport paginationSlotRecipe from './Pagination.recipe.ts';\nimport paginationLoadMoreSlotRecipe from './PaginationLoadMore.recipe.ts';\nimport popoverSlotRecipe from './Popover.recipe.ts';\nimport progressSlotRecipe from './Progress.recipe.ts';\nimport qrCodeSlotRecipe from './QrCode.recipe.ts';\nimport radioGroupSlotRecipe from './RadioGroup.recipe.ts';\nimport ribbonSlotRecipe from './Ribbon.recipe.ts';\nimport sectionHeadingSlotRecipe from './SectionHeading.recipe.ts';\nimport segmentGroupSlotRecipe from './SegmentGroup.recipe.ts';\nimport { selectSlotRecipe } from './Select.recipe.ts';\nimport settingsCardSlotRecipe from './SettingsCard.recipe.ts';\nimport splitButtonSlotRecipe from './SplitButton.recipe.ts';\nimport statSlotRecipe from './Stat.recipe.ts';\nimport stepCardSlotRecipe from './StepCard.recipe.ts';\nimport stepsSlotRecipe from './Steps.recipe.ts';\nimport switchSlotRecipe from './Switch.recipe';\nimport tableSlotRecipe from './Table.recipe.ts';\nimport tableCardSlotRecipe from './TableCard.recipe.ts';\nimport tabsSlotRecipe from './Tabs.recipe';\nimport tagSlotRecipe from './Tag.recipe.ts';\nimport tagsInputSlotRecipe from './TagsInput.recipe.ts';\nimport textInputSlotRecipe from './TextInput.recipe.ts';\nimport toastSlotRecipe from './Toast.recipe';\nimport toggletipSlotRecipe from './Toggletip.recipe';\nimport tooltipSlotRecipe from './Tooltip.recipe';\nimport tourSlotRecipe from './Tour.recipe.ts';\nimport treeViewSlotRecipe from './TreeView.recipe.ts';\nimport uiHeaderSlotRecipe from './UIHeader.recipe';\nimport uiSideNavSlotRecipe from './UISideNav.recipe.ts';\n\nconst slotRecipes = {\n accordion: accordionSlotRecipe,\n actionBar: actionBarSlotRecipe,\n alert: alertSlotRecipe,\n avatar: avatarSlotRecipe,\n breadcrumb: breadcrumbSlotRecipe,\n card: cardSlotRecipe,\n checkbox: checkboxSlotRecipe,\n codeSnippet: codeSnippetSlotRecipe,\n collapsible: collapsibleSlotRecipe,\n combobox: comboboxSlotRecipe,\n dataWidget: dataWidgetSlotRecipe,\n datePicker: datePickerSlotRecipe,\n datePickerSelect: datePickerSelectSlotRecipe,\n dialog: dialogSlotRecipe,\n draggableCard: draggableCardSlotRecipe,\n drawer: drawerSlotRecipe,\n emptyState: emptyStateSlotRecipe,\n expandableCard: expandableCardSlotRecipe,\n field: fieldSlotRecipe,\n groupHeading: groupHeadingSlotRecipe,\n fieldset: fieldsetSlotRecipe,\n fileUpload: fileUploadSlotRecipe,\n filter: filterSlotRecipe,\n imageCropper: imageCropperSlotRecipe,\n inlineLoading: inlineLoadingSlotRecipe,\n list: listSlotRecipe,\n linkCard: linkCardSlotRecipe,\n listbox: listboxSlotRecipe,\n markdown: markdownSlotRecipe,\n markdownCard: markdownCardSlotRecipe,\n menu: menuSlotRecipe,\n multiselect: multiselectSlotRecipe,\n noteCard: noteCardSlotRecipe,\n nativeSelect: nativeSelectSlotRecipe,\n numberInput: numberInputSlotRecipe,\n overflowContent: overflowContentSlotRecipe,\n pageFooter: pageFooterSlotRecipe,\n pageHeader: pageHeaderSlotRecipe,\n pageSidebar: pageSidebarSlotRecipe,\n pageSubheader: pageSubheaderSlotRecipe,\n pagination: paginationSlotRecipe,\n paginationLoadMore: paginationLoadMoreSlotRecipe,\n popover: popoverSlotRecipe,\n progress: progressSlotRecipe,\n qrCode: qrCodeSlotRecipe,\n radioGroup: radioGroupSlotRecipe,\n ribbon: ribbonSlotRecipe,\n sectionHeading: sectionHeadingSlotRecipe,\n labeledData: labeledDataSlotRecipe,\n segmentGroup: segmentGroupSlotRecipe,\n select: selectSlotRecipe,\n settingsCard: settingsCardSlotRecipe,\n splitButton: splitButtonSlotRecipe,\n stat: statSlotRecipe,\n stepsCard: stepCardSlotRecipe,\n steps: stepsSlotRecipe,\n switch: switchSlotRecipe,\n table: tableSlotRecipe,\n tableCard: tableCardSlotRecipe,\n tabs: tabsSlotRecipe,\n tag: tagSlotRecipe,\n tagsInput: tagsInputSlotRecipe,\n textInput: textInputSlotRecipe,\n toast: toastSlotRecipe,\n toggletip: toggletipSlotRecipe,\n tooltip: tooltipSlotRecipe,\n tour: tourSlotRecipe,\n treeView: treeViewSlotRecipe,\n uiHeader: uiHeaderSlotRecipe,\n uiSideNav: uiSideNavSlotRecipe,\n};\n\nexport default slotRecipes;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuEA,IAAM,cAAc;CAClB,WAAW;CACX,WAAW;CACX,OAAO;CACP,QAAQ;CACR,YAAY;CACZ,MAAM;CACN,UAAU;CACV,aAAa;CACb,aAAa;CACb,UAAU;CACV,YAAY;CACZ,YAAY;CACZ,kBAAkB;CAClB,QAAQ;CACR,eAAe;CACf,QAAQ;CACR,YAAY;CACZ,gBAAgB;CAChB,OAAO;CACP,cAAcA;CACd,UAAU;CACV,YAAY;CACZ,QAAQ;CACR,cAAc;CACd,eAAeC;CACf,MAAM;CACN,UAAU;CACV,SAAS;CACT,UAAU;CACV,cAAc;CACd,MAAM;CACN,aAAa;CACb,UAAU;CACV,cAAc;CACd,aAAa;CACb,iBAAiB;CACjB,YAAY;CACZ,YAAY;CACZ,aAAa;CACb,eAAe;CACf,YAAY;CACZ,oBAAoBC;CACpB,SAAS;CACT,UAAU;CACV,QAAQ;CACR,YAAY;CACZ,QAAQ;CACR,gBAAgBC;CAChB,aAAa;CACb,cAAc;CACd,QAAQ;CACR,cAAc;CACd,aAAa;CACb,MAAM;CACN,WAAW;CACX,OAAO;CACP,QAAQ;CACR,OAAO;CACP,WAAW;CACX,MAAM;CACN,KAAK;CACL,WAAW;CACX,WAAW;CACX,OAAO;CACP,WAAW;CACX,SAAS;CACT,MAAM;CACN,UAAU;CACV,UAAU;CACV,WAAW;AACb"}
|