@primer/react 0.0.0-20260428150519 → 0.0.0-20260428192448
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/CHANGELOG.md +15 -3
- package/dist/ActionBar/ActionBar-3f7b52a3.css +2 -0
- package/dist/ActionBar/ActionBar-3f7b52a3.css.map +1 -0
- package/dist/ActionBar/ActionBar.d.ts +1 -1
- package/dist/ActionBar/ActionBar.d.ts.map +1 -1
- package/dist/ActionBar/ActionBar.js +630 -514
- package/dist/ActionBar/ActionBar.module.css.js +5 -10
- package/dist/ActionBar/index.d.ts +1 -1
- package/dist/ActionBar/index.js +8 -8
- package/dist/ActionList/{ActionList-53389912.css → ActionList-09f5c4a8.css} +2 -2
- package/dist/ActionList/ActionList-09f5c4a8.css.map +1 -0
- package/dist/ActionList/ActionList.module.css.js +5 -31
- package/dist/ActionList/ActionListContainerContext.js +5 -4
- package/dist/ActionList/Description.js +133 -117
- package/dist/ActionList/Divider.js +38 -31
- package/dist/ActionList/Group.js +349 -292
- package/dist/ActionList/Group.module.css.js +5 -10
- package/dist/ActionList/Heading.js +106 -88
- package/dist/ActionList/Heading.module.css.js +5 -5
- package/dist/ActionList/Item.js +811 -668
- package/dist/ActionList/LinkItem.js +56 -36
- package/dist/ActionList/List.js +210 -168
- package/dist/ActionList/Selection.d.ts +2 -3
- package/dist/ActionList/Selection.d.ts.map +1 -1
- package/dist/ActionList/Selection.js +112 -83
- package/dist/ActionList/TrailingAction.js +112 -97
- package/dist/ActionList/Visuals.js +191 -143
- package/dist/ActionList/index.d.ts +7 -0
- package/dist/ActionList/index.d.ts.map +1 -1
- package/dist/ActionList/index.js +38 -33
- package/dist/ActionList/shared.js +9 -5
- package/dist/ActionMenu/ActionMenu.js +310 -223
- package/dist/ActionMenu/ActionMenu.module.css.js +5 -5
- package/dist/AnchoredOverlay/AnchoredOverlay.js +280 -206
- package/dist/AnchoredOverlay/AnchoredOverlay.module.css.js +5 -9
- package/dist/Autocomplete/Autocomplete.js +141 -125
- package/dist/Autocomplete/AutocompleteContext.js +20 -18
- package/dist/Autocomplete/AutocompleteInput.js +146 -108
- package/dist/Autocomplete/AutocompleteMenu.js +238 -201
- package/dist/Autocomplete/AutocompleteMenu.module.css.js +5 -8
- package/dist/Autocomplete/AutocompleteOverlay.js +79 -54
- package/dist/Autocomplete/AutocompleteOverlay.module.css.js +5 -5
- package/dist/Avatar/Avatar.js +133 -106
- package/dist/Avatar/Avatar.module.css.js +5 -5
- package/dist/AvatarStack/AvatarStack.js +143 -102
- package/dist/AvatarStack/AvatarStack.module.css.js +5 -9
- package/dist/Banner/Banner.js +186 -133
- package/dist/Banner/Banner.module.css.js +5 -14
- package/dist/Banner/index.js +7 -7
- package/dist/BaseStyles.js +91 -74
- package/dist/BaseStyles.module.css.js +5 -5
- package/dist/Blankslate/Blankslate.js +328 -266
- package/dist/Blankslate/Blankslate.module.css.js +5 -12
- package/dist/Blankslate/BlankslateContext.js +9 -7
- package/dist/Blankslate/index.js +9 -9
- package/dist/BranchName/BranchName.js +59 -49
- package/dist/BranchName/BranchName.module.css.js +5 -5
- package/dist/Breadcrumbs/Breadcrumbs.js +431 -371
- package/dist/Breadcrumbs/Breadcrumbs.module.css.js +5 -15
- package/dist/Button/Button.js +18 -15
- package/dist/Button/ButtonBase.js +139 -76
- package/dist/Button/ButtonBase.module.css.js +5 -16
- package/dist/Button/IconButton.js +74 -42
- package/dist/Button/LinkButton.js +17 -13
- package/dist/ButtonGroup/ButtonGroup.js +97 -80
- package/dist/ButtonGroup/ButtonGroup.module.css.js +5 -5
- package/dist/Card/Card.js +491 -401
- package/dist/Card/Card.module.css.js +5 -18
- package/dist/Card/index.js +9 -9
- package/dist/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/Checkbox/Checkbox.js +75 -52
- package/dist/Checkbox/Checkbox.module.css.js +5 -9
- package/dist/Checkbox/shared.module.css.js +5 -5
- package/dist/CheckboxGroup/CheckboxGroup.js +132 -111
- package/dist/CheckboxGroup/CheckboxGroupContext.js +4 -4
- package/dist/CircleBadge/CircleBadge.js +90 -77
- package/dist/CircleBadge/CircleBadge.module.css.js +5 -8
- package/dist/ConfirmationDialog/ConfirmationDialog.js +92 -68
- package/dist/CounterLabel/CounterLabel.js +99 -83
- package/dist/CounterLabel/CounterLabel.module.css.js +5 -5
- package/dist/DataTable/DataTable.js +140 -100
- package/dist/DataTable/ErrorDialog.js +45 -33
- package/dist/DataTable/Pagination.js +592 -464
- package/dist/DataTable/Pagination.module.css.js +5 -13
- package/dist/DataTable/Table.js +710 -527
- package/dist/DataTable/Table.module.css.js +5 -26
- package/dist/DataTable/column.js +11 -10
- package/dist/DataTable/index.js +20 -22
- package/dist/DataTable/sorting.js +103 -65
- package/dist/DataTable/useTable.js +290 -207
- package/dist/Details/Details.js +126 -100
- package/dist/Details/Details.module.css.js +5 -5
- package/dist/Dialog/Dialog.js +351 -259
- package/dist/Dialog/Dialog.module.css.js +5 -22
- package/dist/FeatureFlags/DefaultFeatureFlags.js +7 -7
- package/dist/FeatureFlags/FeatureFlagContext.js +5 -5
- package/dist/FeatureFlags/FeatureFlagScope.js +44 -36
- package/dist/FeatureFlags/FeatureFlags.js +37 -29
- package/dist/FeatureFlags/useFeatureFlag.js +19 -17
- package/dist/FilteredActionList/FilteredActionList.d.ts.map +1 -1
- package/dist/FilteredActionList/FilteredActionList.js +559 -454
- package/dist/FilteredActionList/FilteredActionList.module.css.js +5 -15
- package/dist/FilteredActionList/FilteredActionListInput.d.ts +15 -0
- package/dist/FilteredActionList/FilteredActionListInput.d.ts.map +1 -0
- package/dist/FilteredActionList/FilteredActionListInput.js +119 -0
- package/dist/FilteredActionList/FilteredActionListLoaders.js +150 -119
- package/dist/FilteredActionList/FilteredActionListLoaders.module.css.js +5 -9
- package/dist/FilteredActionList/index.d.ts +9 -1
- package/dist/FilteredActionList/index.d.ts.map +1 -1
- package/dist/FilteredActionList/index.js +11 -0
- package/dist/FilteredActionList/useAnnouncements.js +180 -167
- package/dist/Flash/Flash.js +69 -57
- package/dist/Flash/Flash.module.css.js +5 -5
- package/dist/FormControl/FormControl.js +227 -211
- package/dist/FormControl/FormControl.module.css.js +5 -11
- package/dist/FormControl/FormControlCaption.js +49 -37
- package/dist/FormControl/FormControlCaption.module.css.js +5 -5
- package/dist/FormControl/FormControlLabel.js +115 -95
- package/dist/FormControl/FormControlLeadingVisual.js +37 -29
- package/dist/FormControl/FormControlLeadingVisual.module.css.js +5 -5
- package/dist/FormControl/_FormControlContext.js +48 -41
- package/dist/FormControl/_FormControlValidation.js +39 -29
- package/dist/Header/Header.js +165 -138
- package/dist/Header/Header.module.css.js +5 -9
- package/dist/Heading/Heading.js +37 -26
- package/dist/Heading/Heading.module.css.js +5 -5
- package/dist/Hidden/Hidden.js +77 -54
- package/dist/Hidden/Hidden.module.css.js +5 -5
- package/dist/InlineMessage/InlineMessage.js +116 -88
- package/dist/InlineMessage/InlineMessage.module.css.js +5 -8
- package/dist/KeybindingHint/KeybindingHint.js +88 -70
- package/dist/KeybindingHint/KeybindingHint.module.css.js +5 -5
- package/dist/KeybindingHint/components/Chord.js +93 -81
- package/dist/KeybindingHint/components/Chord.module.css.js +5 -11
- package/dist/KeybindingHint/components/Key.js +66 -49
- package/dist/KeybindingHint/components/Sequence.js +24 -12
- package/dist/KeybindingHint/key-names.js +114 -99
- package/dist/Label/Label.js +66 -56
- package/dist/Label/Label.module.css.js +5 -5
- package/dist/Label/index.js +5 -5
- package/dist/LabelGroup/LabelGroup.js +344 -260
- package/dist/LabelGroup/LabelGroup.module.css.js +5 -12
- package/dist/Link/Link.js +47 -31
- package/dist/Link/Link.module.css.js +5 -5
- package/dist/NavList/NavList.js +614 -424
- package/dist/NavList/NavList.module.css.js +5 -5
- package/dist/Octicon/Octicon.js +37 -35
- package/dist/Overlay/Overlay.js +318 -264
- package/dist/Overlay/Overlay.module.css.js +5 -8
- package/dist/PageHeader/PageHeader.js +823 -579
- package/dist/PageHeader/PageHeader.module.css.js +5 -21
- package/dist/PageLayout/PageLayout.js +913 -631
- package/dist/PageLayout/PageLayout.module.css.js +5 -31
- package/dist/PageLayout/paneUtils.js +29 -15
- package/dist/PageLayout/usePaneWidth.js +437 -334
- package/dist/Pagehead/Pagehead.js +14 -10
- package/dist/Pagehead/Pagehead.module.css.js +5 -5
- package/dist/Pagination/Pagination.js +114 -84
- package/dist/Pagination/Pagination.module.css.js +5 -9
- package/dist/Pagination/index.js +5 -5
- package/dist/Pagination/model.js +194 -118
- package/dist/Popover/Popover.js +151 -126
- package/dist/Popover/Popover.module.css.js +5 -8
- package/dist/Portal/Portal.js +85 -65
- package/dist/Portal/index.js +6 -5
- package/dist/ProgressBar/ProgressBar.js +255 -210
- package/dist/ProgressBar/ProgressBar.module.css.js +5 -9
- package/dist/ProgressBar/index.js +8 -6
- package/dist/Radio/Radio.js +115 -97
- package/dist/Radio/Radio.module.css.js +5 -5
- package/dist/RadioGroup/RadioGroup.js +118 -99
- package/dist/RelativeTime/RelativeTime.js +76 -64
- package/dist/ScrollableRegion/ScrollableRegion.js +79 -67
- package/dist/ScrollableRegion/ScrollableRegion.module.css.js +5 -5
- package/dist/SegmentedControl/SegmentedControl.js +287 -238
- package/dist/SegmentedControl/SegmentedControl.module.css.js +5 -15
- package/dist/SegmentedControl/SegmentedControlButton.js +187 -156
- package/dist/SegmentedControl/SegmentedControlIconButton.js +161 -133
- package/dist/Select/Select.js +234 -185
- package/dist/Select/Select.module.css.js +5 -10
- package/dist/SelectPanel/SelectPanel.d.ts +1 -0
- package/dist/SelectPanel/SelectPanel.d.ts.map +1 -1
- package/dist/SelectPanel/SelectPanel.js +829 -620
- package/dist/SelectPanel/SelectPanel.module.css.js +5 -27
- package/dist/SelectPanel/SelectPanelMessage.js +39 -37
- package/dist/SelectPanel/index.d.ts +1 -0
- package/dist/SelectPanel/index.d.ts.map +1 -1
- package/dist/SideNav.js +47 -24
- package/dist/SideNav.module.css.js +5 -12
- package/dist/Skeleton/SkeletonBox.js +111 -94
- package/dist/Skeleton/SkeletonBox.module.css.js +5 -8
- package/dist/SkeletonAvatar/SkeletonAvatar.js +120 -95
- package/dist/SkeletonAvatar/SkeletonAvatar.module.css.js +5 -5
- package/dist/SkeletonText/SkeletonText.js +137 -114
- package/dist/SkeletonText/SkeletonText.module.css.js +5 -8
- package/dist/Spinner/Spinner.js +211 -183
- package/dist/Spinner/Spinner.module.css.js +5 -9
- package/dist/SplitPageLayout/SplitPageLayout.js +276 -215
- package/dist/Stack/Stack.js +255 -207
- package/dist/Stack/Stack.module.css.js +5 -8
- package/dist/Stack/index.js +6 -4
- package/dist/StateLabel/StateLabel.js +123 -110
- package/dist/StateLabel/StateLabel.module.css.js +5 -8
- package/dist/SubNav/SubNav.js +197 -159
- package/dist/SubNav/SubNav.module.css.js +5 -11
- package/dist/TabNav/TabNav.js +199 -167
- package/dist/TabNav/TabNav.module.css.js +5 -10
- package/dist/Text/Text.js +67 -56
- package/dist/Text/Text.module.css.js +5 -5
- package/dist/TextInput/TextInput.js +228 -195
- package/dist/TextInput/TextInput.module.css.js +5 -8
- package/dist/TextInputWithTokens/TextInputWithTokens.js +673 -567
- package/dist/TextInputWithTokens/TextInputWithTokens.module.css.js +5 -14
- package/dist/Textarea/TextArea.module.css.js +5 -9
- package/dist/Textarea/Textarea.js +294 -264
- package/dist/ThemeProvider.js +257 -199
- package/dist/Timeline/Timeline.js +247 -204
- package/dist/Timeline/Timeline.module.css.js +5 -12
- package/dist/ToggleSwitch/ToggleSwitch.js +471 -403
- package/dist/ToggleSwitch/ToggleSwitch.module.css.js +5 -16
- package/dist/Token/IssueLabelToken.js +297 -256
- package/dist/Token/IssueLabelToken.module.css.js +5 -8
- package/dist/Token/Token.js +280 -232
- package/dist/Token/Token.module.css.js +5 -9
- package/dist/Token/TokenBase.js +126 -99
- package/dist/Token/TokenBase.module.css.js +5 -5
- package/dist/Token/_RemoveTokenButton.js +48 -27
- package/dist/Token/_RemoveTokenButton.module.css.js +5 -5
- package/dist/Token/_TokenTextContainer.js +65 -54
- package/dist/Token/_TokenTextContainer.module.css.js +5 -5
- package/dist/Tooltip/Tooltip.js +56 -49
- package/dist/Tooltip/Tooltip.module.css.js +5 -20
- package/dist/TooltipV2/Tooltip.js +305 -222
- package/dist/TooltipV2/Tooltip.module.css.js +5 -11
- package/dist/TopicTag/TopicTag.js +55 -46
- package/dist/TopicTag/TopicTag.module.css.js +5 -5
- package/dist/TopicTag/TopicTagGroup.js +48 -40
- package/dist/TopicTag/TopicTagGroup.module.css.js +5 -5
- package/dist/TopicTag/index.js +7 -5
- package/dist/TreeView/TreeView.js +1414 -1082
- package/dist/TreeView/TreeView.module.css.js +5 -24
- package/dist/TreeView/shared.js +9 -10
- package/dist/TreeView/useRovingTabIndex.js +203 -129
- package/dist/TreeView/useTreeItemCache.js +79 -64
- package/dist/TreeView/useTypeahead.js +112 -90
- package/dist/Truncate/Truncate.js +33 -21
- package/dist/Truncate/Truncate.module.css.js +5 -5
- package/dist/UnderlineNav/UnderlineNav.js +375 -278
- package/dist/UnderlineNav/UnderlineNav.module.css.js +5 -8
- package/dist/UnderlineNav/UnderlineNavContext.js +8 -8
- package/dist/UnderlineNav/UnderlineNavItem.js +72 -56
- package/dist/UnderlineNav/UnderlineNavItem.module.css.js +5 -5
- package/dist/UnderlineNav/index.js +7 -5
- package/dist/UnderlineNav/styles.js +15 -11
- package/dist/VisuallyHidden/VisuallyHidden.js +49 -51
- package/dist/VisuallyHidden/VisuallyHidden.module.css.js +5 -5
- package/dist/_VisuallyHidden.js +62 -50
- package/dist/_VisuallyHidden.module.css.js +5 -5
- package/dist/deprecated/ActionList/Divider.js +23 -23
- package/dist/deprecated/ActionList/Divider.module.css.js +5 -5
- package/dist/deprecated/ActionList/Group.js +50 -43
- package/dist/deprecated/ActionList/Header.js +81 -69
- package/dist/deprecated/ActionList/Header.module.css.js +5 -5
- package/dist/deprecated/ActionList/Item.js +352 -308
- package/dist/deprecated/ActionList/Item.module.css.js +5 -18
- package/dist/deprecated/ActionList/List.js +196 -157
- package/dist/deprecated/ActionList/List.module.css.js +5 -5
- package/dist/deprecated/ActionList/index.js +14 -14
- package/dist/deprecated/ActionMenu.js +190 -159
- package/dist/deprecated/DialogV1/Dialog.js +200 -166
- package/dist/deprecated/DialogV1/Dialog.module.css.js +5 -11
- package/dist/deprecated/FilteredSearch/FilteredSearch.js +51 -43
- package/dist/deprecated/FilteredSearch/FilteredSearch.module.css.js +5 -5
- package/dist/deprecated/UnderlineNav/UnderlineNav.js +160 -132
- package/dist/deprecated/UnderlineNav/UnderlineNav.module.css.js +5 -14
- package/dist/deprecated/index.js +9 -20
- package/dist/experimental/IssueLabel/IssueLabel.js +158 -134
- package/dist/experimental/IssueLabel/IssueLabel.module.css.js +5 -5
- package/dist/experimental/SelectPanel2/SelectPanel.js +567 -419
- package/dist/experimental/SelectPanel2/SelectPanel.module.css.js +5 -32
- package/dist/experimental/Tabs/Tabs.js +297 -234
- package/dist/experimental/UnderlinePanels/UnderlinePanels.js +215 -165
- package/dist/experimental/UnderlinePanels/UnderlinePanels.module.css.js +5 -5
- package/dist/experimental/index.d.ts +2 -2
- package/dist/experimental/index.d.ts.map +1 -1
- package/dist/experimental/index.js +34 -44
- package/dist/hooks/useAnchoredPosition.js +144 -123
- package/dist/hooks/useControllableState.js +59 -34
- package/dist/hooks/useDetails.js +99 -84
- package/dist/hooks/useDialog.js +178 -140
- package/dist/hooks/useFocusTrap.js +71 -57
- package/dist/hooks/useFocusZone.js +38 -32
- package/dist/hooks/useId.js +16 -14
- package/dist/hooks/useIsMacOS.js +26 -21
- package/dist/hooks/useMedia.js +68 -54
- package/dist/hooks/useMenuInitialFocus.js +62 -65
- package/dist/hooks/useMenuKeyboardNavigation.js +126 -129
- package/dist/hooks/useMergedRefs.js +78 -63
- package/dist/hooks/useMnemonics.js +107 -77
- package/dist/hooks/useOnEscapePress.js +56 -45
- package/dist/hooks/useOnOutsideClick.js +63 -32
- package/dist/hooks/useOpenAndCloseFocus.js +43 -40
- package/dist/hooks/useOverflow.js +36 -32
- package/dist/hooks/useOverlay.js +75 -56
- package/dist/hooks/useProvidedRefOrCreate.js +24 -24
- package/dist/hooks/useProvidedStateOrCreate.js +39 -33
- package/dist/hooks/useRefObjectAsForwardedRef.js +32 -30
- package/dist/hooks/useRenderForcingRef.js +46 -42
- package/dist/hooks/useResizeObserver.js +43 -32
- package/dist/hooks/useResponsiveValue.js +57 -37
- package/dist/hooks/useSafeTimeout.js +29 -26
- package/dist/hooks/useScrollFlash.js +23 -16
- package/dist/hooks/useSlots.js +136 -102
- package/dist/hooks/useSyncedState.js +37 -31
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +86 -88
- package/dist/internal/components/ButtonReset.js +50 -45
- package/dist/internal/components/ButtonReset.module.css.js +5 -5
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.js +105 -79
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.module.css.js +5 -12
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupCaption.js +21 -16
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupContext.js +4 -4
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.js +35 -26
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.js +19 -14
- package/dist/internal/components/ConditionalWrapper.js +51 -41
- package/dist/internal/components/InputLabel.js +113 -92
- package/dist/internal/components/InputLabel.module.css.js +5 -8
- package/dist/internal/components/InputValidation.js +87 -67
- package/dist/internal/components/InputValidation.module.css.js +5 -9
- package/dist/internal/components/TextInputInnerAction.js +173 -134
- package/dist/internal/components/TextInputInnerAction.module.css.js +5 -9
- package/dist/internal/components/TextInputInnerVisualSlot.js +110 -89
- package/dist/internal/components/TextInputInnerVisualSlot.module.css.js +5 -11
- package/dist/internal/components/TextInputWrapper.js +230 -187
- package/dist/internal/components/TextInputWrapper.module.css.js +5 -8
- package/dist/internal/components/UnderlineTabbedInterface.js +238 -191
- package/dist/internal/components/UnderlineTabbedInterface.module.css.js +5 -11
- package/dist/internal/components/UnstyledTextInput.js +47 -40
- package/dist/internal/components/UnstyledTextInput.module.css.js +5 -5
- package/dist/internal/components/ValidationAnimationContainer.js +66 -55
- package/dist/internal/components/ValidationAnimationContainer.module.css.js +5 -8
- package/dist/internal/hooks/useEffectCallback.js +38 -35
- package/dist/internal/hooks/useEffectOnce.js +25 -23
- package/dist/internal/utils/getResponsiveAttributes.js +26 -23
- package/dist/internal/utils/hasInteractiveNodes.js +46 -34
- package/dist/legacy-theme/ts/color-schemes.js +4732 -4250
- package/dist/live-region/Announce.js +183 -144
- package/dist/live-region/AriaAlert.js +22 -20
- package/dist/live-region/AriaStatus.js +22 -20
- package/dist/next/index.js +1 -3
- package/dist/test-helpers.js +62 -40
- package/dist/theme.js +47 -83
- package/dist/utils/character-counter.js +63 -45
- package/dist/utils/create-component.js +16 -15
- package/dist/utils/descendant-registry.js +218 -182
- package/dist/utils/environment.js +7 -7
- package/dist/utils/getBreakpointDeclarations.js +10 -9
- package/dist/utils/invariant.js +23 -17
- package/dist/utils/is-slot.js +11 -10
- package/dist/utils/isNumeric.js +3 -3
- package/dist/utils/modern-polymorphic.js +20 -12
- package/dist/utils/scroll.js +11 -8
- package/dist/utils/theme.js +10 -5
- package/dist/utils/useIsomorphicLayoutEffect.js +9 -4
- package/dist/utils/warning.js +21 -14
- package/generated/components.json +1 -1
- package/package.json +10 -5
- package/dist/ActionBar/ActionBar-a41224b2.css +0 -2
- package/dist/ActionBar/ActionBar-a41224b2.css.map +0 -1
- package/dist/ActionList/ActionList-53389912.css.map +0 -1
package/dist/Card/Card.js
CHANGED
|
@@ -1,409 +1,499 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
const CardImpl =
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
1
|
+
import { c } from 'react-compiler-runtime';
|
|
2
|
+
import { clsx } from 'clsx';
|
|
3
|
+
import React, { forwardRef } from 'react';
|
|
4
|
+
import classes from './Card.module.css.js';
|
|
5
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
6
|
+
|
|
7
|
+
const CardImpl = /*#__PURE__*/forwardRef(function Card(t0, ref) {
|
|
8
|
+
const $ = c(53);
|
|
9
|
+
let children;
|
|
10
|
+
let className;
|
|
11
|
+
let rest;
|
|
12
|
+
let t1;
|
|
13
|
+
let t2;
|
|
14
|
+
if ($[0] !== t0) {
|
|
15
|
+
({
|
|
16
|
+
children,
|
|
17
|
+
className,
|
|
18
|
+
padding: t1,
|
|
19
|
+
borderRadius: t2,
|
|
20
|
+
...rest
|
|
21
|
+
} = t0);
|
|
22
|
+
$[0] = t0;
|
|
23
|
+
$[1] = children;
|
|
24
|
+
$[2] = className;
|
|
25
|
+
$[3] = rest;
|
|
26
|
+
$[4] = t1;
|
|
27
|
+
$[5] = t2;
|
|
28
|
+
} else {
|
|
29
|
+
children = $[1];
|
|
30
|
+
className = $[2];
|
|
31
|
+
rest = $[3];
|
|
32
|
+
t1 = $[4];
|
|
33
|
+
t2 = $[5];
|
|
34
|
+
}
|
|
35
|
+
const padding = t1 === undefined ? "normal" : t1;
|
|
36
|
+
const borderRadius = t2 === undefined ? "large" : t2;
|
|
37
|
+
let description;
|
|
38
|
+
let heading;
|
|
39
|
+
let menu;
|
|
40
|
+
let metadata;
|
|
41
|
+
let t3;
|
|
42
|
+
let t4;
|
|
43
|
+
let t5;
|
|
44
|
+
let t6;
|
|
45
|
+
let t7;
|
|
46
|
+
let t8;
|
|
47
|
+
let t9;
|
|
48
|
+
if ($[6] !== borderRadius || $[7] !== children || $[8] !== className || $[9] !== padding || $[10] !== ref || $[11] !== rest) {
|
|
49
|
+
t9 = Symbol.for("react.early_return_sentinel");
|
|
50
|
+
bb0: {
|
|
51
|
+
let icon = null;
|
|
52
|
+
let image = null;
|
|
53
|
+
heading = null;
|
|
54
|
+
description = null;
|
|
55
|
+
metadata = null;
|
|
56
|
+
menu = null;
|
|
57
|
+
const childArray = React.Children.toArray(children);
|
|
58
|
+
for (const child of childArray) {
|
|
59
|
+
if (! /*#__PURE__*/React.isValidElement(child)) {
|
|
60
|
+
continue;
|
|
61
|
+
}
|
|
62
|
+
if (child.type === CardIcon) {
|
|
63
|
+
icon = child;
|
|
64
|
+
} else {
|
|
65
|
+
if (child.type === CardImage) {
|
|
66
|
+
image = child;
|
|
67
|
+
} else {
|
|
68
|
+
if (child.type === CardHeading) {
|
|
69
|
+
heading = child;
|
|
70
|
+
} else {
|
|
71
|
+
if (child.type === CardDescription) {
|
|
72
|
+
description = child;
|
|
73
|
+
} else {
|
|
74
|
+
if (child.type === CardMetadata) {
|
|
75
|
+
metadata = child;
|
|
76
|
+
} else {
|
|
77
|
+
if (child.type === CardMenu) {
|
|
78
|
+
menu = child;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
const hasSlotChildren = icon || image || heading || description || metadata || menu;
|
|
87
|
+
if (!hasSlotChildren) {
|
|
88
|
+
let t10;
|
|
89
|
+
if ($[23] !== className) {
|
|
90
|
+
t10 = clsx(classes.Card, className);
|
|
91
|
+
$[23] = className;
|
|
92
|
+
$[24] = t10;
|
|
93
|
+
} else {
|
|
94
|
+
t10 = $[24];
|
|
95
|
+
}
|
|
96
|
+
let t11;
|
|
97
|
+
if ($[25] !== borderRadius || $[26] !== children || $[27] !== padding || $[28] !== ref || $[29] !== rest || $[30] !== t10) {
|
|
98
|
+
t11 = /*#__PURE__*/jsx("div", {
|
|
99
|
+
ref: ref,
|
|
100
|
+
className: t10,
|
|
101
|
+
"data-padding": padding,
|
|
102
|
+
"data-border-radius": borderRadius,
|
|
103
|
+
...rest,
|
|
104
|
+
children: children
|
|
105
|
+
});
|
|
106
|
+
$[25] = borderRadius;
|
|
107
|
+
$[26] = children;
|
|
108
|
+
$[27] = padding;
|
|
109
|
+
$[28] = ref;
|
|
110
|
+
$[29] = rest;
|
|
111
|
+
$[30] = t10;
|
|
112
|
+
$[31] = t11;
|
|
113
|
+
} else {
|
|
114
|
+
t11 = $[31];
|
|
115
|
+
}
|
|
116
|
+
t9 = t11;
|
|
117
|
+
break bb0;
|
|
118
|
+
}
|
|
119
|
+
t3 = ref;
|
|
120
|
+
if ($[32] !== className) {
|
|
121
|
+
t4 = clsx(classes.Card, className);
|
|
122
|
+
$[32] = className;
|
|
123
|
+
$[33] = t4;
|
|
124
|
+
} else {
|
|
125
|
+
t4 = $[33];
|
|
126
|
+
}
|
|
127
|
+
t5 = padding;
|
|
128
|
+
t6 = borderRadius;
|
|
129
|
+
t7 = rest;
|
|
130
|
+
t8 = (image || icon) && /*#__PURE__*/jsx("div", {
|
|
131
|
+
className: clsx(classes.CardHeader, image && classes.CardHeaderEdgeToEdge),
|
|
132
|
+
children: image || icon
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
$[6] = borderRadius;
|
|
136
|
+
$[7] = children;
|
|
137
|
+
$[8] = className;
|
|
138
|
+
$[9] = padding;
|
|
139
|
+
$[10] = ref;
|
|
140
|
+
$[11] = rest;
|
|
141
|
+
$[12] = description;
|
|
142
|
+
$[13] = heading;
|
|
143
|
+
$[14] = menu;
|
|
144
|
+
$[15] = metadata;
|
|
145
|
+
$[16] = t3;
|
|
146
|
+
$[17] = t4;
|
|
147
|
+
$[18] = t5;
|
|
148
|
+
$[19] = t6;
|
|
149
|
+
$[20] = t7;
|
|
150
|
+
$[21] = t8;
|
|
151
|
+
$[22] = t9;
|
|
152
|
+
} else {
|
|
153
|
+
description = $[12];
|
|
154
|
+
heading = $[13];
|
|
155
|
+
menu = $[14];
|
|
156
|
+
metadata = $[15];
|
|
157
|
+
t3 = $[16];
|
|
158
|
+
t4 = $[17];
|
|
159
|
+
t5 = $[18];
|
|
160
|
+
t6 = $[19];
|
|
161
|
+
t7 = $[20];
|
|
162
|
+
t8 = $[21];
|
|
163
|
+
t9 = $[22];
|
|
164
|
+
}
|
|
165
|
+
if (t9 !== Symbol.for("react.early_return_sentinel")) {
|
|
166
|
+
return t9;
|
|
167
|
+
}
|
|
168
|
+
let t10;
|
|
169
|
+
if ($[34] !== description || $[35] !== heading) {
|
|
170
|
+
t10 = /*#__PURE__*/jsxs("div", {
|
|
171
|
+
className: classes.CardContent,
|
|
172
|
+
children: [heading, description]
|
|
173
|
+
});
|
|
174
|
+
$[34] = description;
|
|
175
|
+
$[35] = heading;
|
|
176
|
+
$[36] = t10;
|
|
177
|
+
} else {
|
|
178
|
+
t10 = $[36];
|
|
179
|
+
}
|
|
180
|
+
let t11;
|
|
181
|
+
if ($[37] !== metadata) {
|
|
182
|
+
t11 = metadata ? /*#__PURE__*/jsx("div", {
|
|
183
|
+
className: classes.CardMetadataContainer,
|
|
184
|
+
children: metadata
|
|
185
|
+
}) : null;
|
|
186
|
+
$[37] = metadata;
|
|
187
|
+
$[38] = t11;
|
|
188
|
+
} else {
|
|
189
|
+
t11 = $[38];
|
|
190
|
+
}
|
|
191
|
+
let t12;
|
|
192
|
+
if ($[39] !== t10 || $[40] !== t11) {
|
|
193
|
+
t12 = /*#__PURE__*/jsxs("div", {
|
|
194
|
+
className: classes.CardBody,
|
|
195
|
+
children: [t10, t11]
|
|
196
|
+
});
|
|
197
|
+
$[39] = t10;
|
|
198
|
+
$[40] = t11;
|
|
199
|
+
$[41] = t12;
|
|
200
|
+
} else {
|
|
201
|
+
t12 = $[41];
|
|
202
|
+
}
|
|
203
|
+
let t13;
|
|
204
|
+
if ($[42] !== menu) {
|
|
205
|
+
t13 = menu ? /*#__PURE__*/jsx("div", {
|
|
206
|
+
className: classes.CardMenu,
|
|
207
|
+
children: menu
|
|
208
|
+
}) : null;
|
|
209
|
+
$[42] = menu;
|
|
210
|
+
$[43] = t13;
|
|
211
|
+
} else {
|
|
212
|
+
t13 = $[43];
|
|
213
|
+
}
|
|
214
|
+
let t14;
|
|
215
|
+
if ($[44] !== t12 || $[45] !== t13 || $[46] !== t3 || $[47] !== t4 || $[48] !== t5 || $[49] !== t6 || $[50] !== t7 || $[51] !== t8) {
|
|
216
|
+
t14 = /*#__PURE__*/jsxs("div", {
|
|
217
|
+
ref: t3,
|
|
218
|
+
className: t4,
|
|
219
|
+
"data-padding": t5,
|
|
220
|
+
"data-border-radius": t6,
|
|
221
|
+
...t7,
|
|
222
|
+
children: [t8, t12, t13]
|
|
223
|
+
});
|
|
224
|
+
$[44] = t12;
|
|
225
|
+
$[45] = t13;
|
|
226
|
+
$[46] = t3;
|
|
227
|
+
$[47] = t4;
|
|
228
|
+
$[48] = t5;
|
|
229
|
+
$[49] = t6;
|
|
230
|
+
$[50] = t7;
|
|
231
|
+
$[51] = t8;
|
|
232
|
+
$[52] = t14;
|
|
233
|
+
} else {
|
|
234
|
+
t14 = $[52];
|
|
235
|
+
}
|
|
236
|
+
return t14;
|
|
197
237
|
});
|
|
198
|
-
const CardIcon =
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
238
|
+
const CardIcon = t0 => {
|
|
239
|
+
const $ = c(10);
|
|
240
|
+
const {
|
|
241
|
+
icon: IconComponent,
|
|
242
|
+
"aria-label": ariaLabel,
|
|
243
|
+
className
|
|
244
|
+
} = t0;
|
|
245
|
+
let t1;
|
|
246
|
+
if ($[0] !== className) {
|
|
247
|
+
t1 = clsx(classes.CardIcon, className);
|
|
248
|
+
$[0] = className;
|
|
249
|
+
$[1] = t1;
|
|
250
|
+
} else {
|
|
251
|
+
t1 = $[1];
|
|
252
|
+
}
|
|
253
|
+
const t2 = ariaLabel ? "img" : undefined;
|
|
254
|
+
const t3 = !ariaLabel;
|
|
255
|
+
let t4;
|
|
256
|
+
if ($[2] !== IconComponent) {
|
|
257
|
+
t4 = /*#__PURE__*/jsx(IconComponent, {});
|
|
258
|
+
$[2] = IconComponent;
|
|
259
|
+
$[3] = t4;
|
|
260
|
+
} else {
|
|
261
|
+
t4 = $[3];
|
|
262
|
+
}
|
|
263
|
+
let t5;
|
|
264
|
+
if ($[4] !== ariaLabel || $[5] !== t1 || $[6] !== t2 || $[7] !== t3 || $[8] !== t4) {
|
|
265
|
+
t5 = /*#__PURE__*/jsx("span", {
|
|
266
|
+
className: t1,
|
|
267
|
+
role: t2,
|
|
268
|
+
"aria-label": ariaLabel,
|
|
269
|
+
"aria-hidden": t3,
|
|
270
|
+
children: t4
|
|
271
|
+
});
|
|
272
|
+
$[4] = ariaLabel;
|
|
273
|
+
$[5] = t1;
|
|
274
|
+
$[6] = t2;
|
|
275
|
+
$[7] = t3;
|
|
276
|
+
$[8] = t4;
|
|
277
|
+
$[9] = t5;
|
|
278
|
+
} else {
|
|
279
|
+
t5 = $[9];
|
|
280
|
+
}
|
|
281
|
+
return t5;
|
|
232
282
|
};
|
|
233
|
-
CardIcon.displayName =
|
|
234
|
-
const CardImage =
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
283
|
+
CardIcon.displayName = 'Card.Icon';
|
|
284
|
+
const CardImage = t0 => {
|
|
285
|
+
const $ = c(12);
|
|
286
|
+
let className;
|
|
287
|
+
let rest;
|
|
288
|
+
let src;
|
|
289
|
+
let t1;
|
|
290
|
+
if ($[0] !== t0) {
|
|
291
|
+
({
|
|
292
|
+
src,
|
|
293
|
+
alt: t1,
|
|
294
|
+
className,
|
|
295
|
+
...rest
|
|
296
|
+
} = t0);
|
|
297
|
+
$[0] = t0;
|
|
298
|
+
$[1] = className;
|
|
299
|
+
$[2] = rest;
|
|
300
|
+
$[3] = src;
|
|
301
|
+
$[4] = t1;
|
|
302
|
+
} else {
|
|
303
|
+
className = $[1];
|
|
304
|
+
rest = $[2];
|
|
305
|
+
src = $[3];
|
|
306
|
+
t1 = $[4];
|
|
307
|
+
}
|
|
308
|
+
const alt = t1 === undefined ? "" : t1;
|
|
309
|
+
let t2;
|
|
310
|
+
if ($[5] !== className) {
|
|
311
|
+
t2 = clsx(classes.CardImage, className);
|
|
312
|
+
$[5] = className;
|
|
313
|
+
$[6] = t2;
|
|
314
|
+
} else {
|
|
315
|
+
t2 = $[6];
|
|
316
|
+
}
|
|
317
|
+
let t3;
|
|
318
|
+
if ($[7] !== alt || $[8] !== rest || $[9] !== src || $[10] !== t2) {
|
|
319
|
+
t3 = /*#__PURE__*/jsx("img", {
|
|
320
|
+
src: src,
|
|
321
|
+
alt: alt,
|
|
322
|
+
className: t2,
|
|
323
|
+
...rest
|
|
324
|
+
});
|
|
325
|
+
$[7] = alt;
|
|
326
|
+
$[8] = rest;
|
|
327
|
+
$[9] = src;
|
|
328
|
+
$[10] = t2;
|
|
329
|
+
$[11] = t3;
|
|
330
|
+
} else {
|
|
331
|
+
t3 = $[11];
|
|
332
|
+
}
|
|
333
|
+
return t3;
|
|
275
334
|
};
|
|
276
|
-
CardImage.displayName =
|
|
277
|
-
const CardHeading =
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
335
|
+
CardImage.displayName = 'Card.Image';
|
|
336
|
+
const CardHeading = /*#__PURE__*/forwardRef(function CardHeading(t0, ref) {
|
|
337
|
+
const $ = c(13);
|
|
338
|
+
let children;
|
|
339
|
+
let className;
|
|
340
|
+
let rest;
|
|
341
|
+
let t1;
|
|
342
|
+
if ($[0] !== t0) {
|
|
343
|
+
({
|
|
344
|
+
as: t1,
|
|
345
|
+
children,
|
|
346
|
+
className,
|
|
347
|
+
...rest
|
|
348
|
+
} = t0);
|
|
349
|
+
$[0] = t0;
|
|
350
|
+
$[1] = children;
|
|
351
|
+
$[2] = className;
|
|
352
|
+
$[3] = rest;
|
|
353
|
+
$[4] = t1;
|
|
354
|
+
} else {
|
|
355
|
+
children = $[1];
|
|
356
|
+
className = $[2];
|
|
357
|
+
rest = $[3];
|
|
358
|
+
t1 = $[4];
|
|
359
|
+
}
|
|
360
|
+
const Component = t1 === undefined ? "h3" : t1;
|
|
361
|
+
let t2;
|
|
362
|
+
if ($[5] !== className) {
|
|
363
|
+
t2 = clsx(classes.CardHeading, className);
|
|
364
|
+
$[5] = className;
|
|
365
|
+
$[6] = t2;
|
|
366
|
+
} else {
|
|
367
|
+
t2 = $[6];
|
|
368
|
+
}
|
|
369
|
+
let t3;
|
|
370
|
+
if ($[7] !== Component || $[8] !== children || $[9] !== ref || $[10] !== rest || $[11] !== t2) {
|
|
371
|
+
t3 = /*#__PURE__*/jsx(Component, {
|
|
372
|
+
ref: ref,
|
|
373
|
+
className: t2,
|
|
374
|
+
...rest,
|
|
375
|
+
children: children
|
|
376
|
+
});
|
|
377
|
+
$[7] = Component;
|
|
378
|
+
$[8] = children;
|
|
379
|
+
$[9] = ref;
|
|
380
|
+
$[10] = rest;
|
|
381
|
+
$[11] = t2;
|
|
382
|
+
$[12] = t3;
|
|
383
|
+
} else {
|
|
384
|
+
t3 = $[12];
|
|
385
|
+
}
|
|
386
|
+
return t3;
|
|
319
387
|
});
|
|
320
|
-
const CardDescription =
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
388
|
+
const CardDescription = /*#__PURE__*/forwardRef(function CardDescription(t0, ref) {
|
|
389
|
+
const $ = c(11);
|
|
390
|
+
let children;
|
|
391
|
+
let className;
|
|
392
|
+
let rest;
|
|
393
|
+
if ($[0] !== t0) {
|
|
394
|
+
({
|
|
395
|
+
children,
|
|
396
|
+
className,
|
|
397
|
+
...rest
|
|
398
|
+
} = t0);
|
|
399
|
+
$[0] = t0;
|
|
400
|
+
$[1] = children;
|
|
401
|
+
$[2] = className;
|
|
402
|
+
$[3] = rest;
|
|
403
|
+
} else {
|
|
404
|
+
children = $[1];
|
|
405
|
+
className = $[2];
|
|
406
|
+
rest = $[3];
|
|
407
|
+
}
|
|
408
|
+
let t1;
|
|
409
|
+
if ($[4] !== className) {
|
|
410
|
+
t1 = clsx(classes.CardDescription, className);
|
|
411
|
+
$[4] = className;
|
|
412
|
+
$[5] = t1;
|
|
413
|
+
} else {
|
|
414
|
+
t1 = $[5];
|
|
415
|
+
}
|
|
416
|
+
let t2;
|
|
417
|
+
if ($[6] !== children || $[7] !== ref || $[8] !== rest || $[9] !== t1) {
|
|
418
|
+
t2 = /*#__PURE__*/jsx("p", {
|
|
419
|
+
ref: ref,
|
|
420
|
+
className: t1,
|
|
421
|
+
...rest,
|
|
422
|
+
children: children
|
|
423
|
+
});
|
|
424
|
+
$[6] = children;
|
|
425
|
+
$[7] = ref;
|
|
426
|
+
$[8] = rest;
|
|
427
|
+
$[9] = t1;
|
|
428
|
+
$[10] = t2;
|
|
429
|
+
} else {
|
|
430
|
+
t2 = $[10];
|
|
431
|
+
}
|
|
432
|
+
return t2;
|
|
357
433
|
});
|
|
358
|
-
const CardMenu =
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
434
|
+
const CardMenu = t0 => {
|
|
435
|
+
const $ = c(2);
|
|
436
|
+
const {
|
|
437
|
+
children
|
|
438
|
+
} = t0;
|
|
439
|
+
let t1;
|
|
440
|
+
if ($[0] !== children) {
|
|
441
|
+
t1 = /*#__PURE__*/jsx(Fragment, {
|
|
442
|
+
children: children
|
|
443
|
+
});
|
|
444
|
+
$[0] = children;
|
|
445
|
+
$[1] = t1;
|
|
446
|
+
} else {
|
|
447
|
+
t1 = $[1];
|
|
448
|
+
}
|
|
449
|
+
return t1;
|
|
368
450
|
};
|
|
369
|
-
CardMenu.displayName =
|
|
370
|
-
const CardMetadata =
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
451
|
+
CardMenu.displayName = 'Card.Menu';
|
|
452
|
+
const CardMetadata = /*#__PURE__*/forwardRef(function CardMetadata(t0, ref) {
|
|
453
|
+
const $ = c(11);
|
|
454
|
+
let children;
|
|
455
|
+
let className;
|
|
456
|
+
let rest;
|
|
457
|
+
if ($[0] !== t0) {
|
|
458
|
+
({
|
|
459
|
+
children,
|
|
460
|
+
className,
|
|
461
|
+
...rest
|
|
462
|
+
} = t0);
|
|
463
|
+
$[0] = t0;
|
|
464
|
+
$[1] = children;
|
|
465
|
+
$[2] = className;
|
|
466
|
+
$[3] = rest;
|
|
467
|
+
} else {
|
|
468
|
+
children = $[1];
|
|
469
|
+
className = $[2];
|
|
470
|
+
rest = $[3];
|
|
471
|
+
}
|
|
472
|
+
let t1;
|
|
473
|
+
if ($[4] !== className) {
|
|
474
|
+
t1 = clsx(classes.CardMetadataItem, className);
|
|
475
|
+
$[4] = className;
|
|
476
|
+
$[5] = t1;
|
|
477
|
+
} else {
|
|
478
|
+
t1 = $[5];
|
|
479
|
+
}
|
|
480
|
+
let t2;
|
|
481
|
+
if ($[6] !== children || $[7] !== ref || $[8] !== rest || $[9] !== t1) {
|
|
482
|
+
t2 = /*#__PURE__*/jsx("div", {
|
|
483
|
+
ref: ref,
|
|
484
|
+
className: t1,
|
|
485
|
+
...rest,
|
|
486
|
+
children: children
|
|
487
|
+
});
|
|
488
|
+
$[6] = children;
|
|
489
|
+
$[7] = ref;
|
|
490
|
+
$[8] = rest;
|
|
491
|
+
$[9] = t1;
|
|
492
|
+
$[10] = t2;
|
|
493
|
+
} else {
|
|
494
|
+
t2 = $[10];
|
|
495
|
+
}
|
|
496
|
+
return t2;
|
|
407
497
|
});
|
|
408
|
-
|
|
498
|
+
|
|
409
499
|
export { CardDescription, CardHeading, CardIcon, CardImage, CardImpl, CardMenu, CardMetadata };
|