@easypost/easy-ui 1.0.0-alpha.111 → 1.0.0-alpha.113
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/AlertBadge/AlertBadge.d.ts +1 -1
- package/AlertBadge/AlertBadge.d.ts.map +1 -1
- package/AlertBadge/index.js +20 -16
- package/AlertBadge/index.mjs +20 -16
- package/Badge/index.js +29 -19
- package/Badge/index.mjs +29 -19
- package/Banner/index.js +19 -12
- package/Banner/index.mjs +19 -12
- package/Button/index.js +1 -1
- package/Button/index.mjs +1 -1
- package/CHANGELOG.md +13 -0
- package/Calendar/index.js +1 -1
- package/Calendar/index.mjs +1 -1
- package/Card/index.js +1 -1
- package/Card/index.mjs +1 -1
- package/CheckableCard/index.js +33 -24
- package/CheckableCard/index.mjs +33 -24
- package/Checkbox/index.js +1 -1
- package/Checkbox/index.mjs +1 -1
- package/CodeBlock/CodeBlock.d.ts.map +1 -1
- package/CodeBlock/context.d.ts +2 -1
- package/CodeBlock/context.d.ts.map +1 -1
- package/CodeBlock/index.js +81 -59
- package/CodeBlock/index.mjs +81 -59
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/ColorPicker/index.js +71 -54
- package/ColorPicker/index.mjs +71 -54
- package/CustomerPortalLayout/index.js +101 -72
- package/CustomerPortalLayout/index.mjs +101 -72
- package/DataGrid/index.js +229 -173
- package/DataGrid/index.mjs +229 -173
- package/DatePicker/index.js +10 -8
- package/DatePicker/index.mjs +10 -8
- package/DateRangePicker/index.js +10 -8
- package/DateRangePicker/index.mjs +10 -8
- package/Drawer/context.d.ts +2 -2
- package/Drawer/context.d.ts.map +1 -1
- package/Drawer/index.js +99 -78
- package/Drawer/index.mjs +99 -78
- package/Drawer/useIntersectionDetection.d.ts +1 -1
- package/Drawer/useIntersectionDetection.d.ts.map +1 -1
- package/DropdownButton/index.js +15 -7
- package/DropdownButton/index.mjs +16 -8
- package/EmptyStateCard/index.js +53 -33
- package/EmptyStateCard/index.mjs +53 -33
- package/FocusedProductLayout/index.js +104 -76
- package/FocusedProductLayout/index.mjs +104 -76
- package/ForgeLayout/index.js +283 -217
- package/ForgeLayout/index.mjs +283 -217
- package/FormLayout/index.js +38 -24
- package/FormLayout/index.mjs +38 -24
- package/HorizontalGrid/index.js +1 -1
- package/HorizontalGrid/index.mjs +1 -1
- package/HorizontalStack/index.js +1 -1
- package/HorizontalStack/index.mjs +1 -1
- package/Icon/index.js +1 -1
- package/Icon/index.mjs +1 -1
- package/IconButton/index.js +16 -9
- package/IconButton/index.mjs +17 -10
- package/InputField/index.js +1 -1
- package/InputField/index.mjs +1 -1
- package/KebabButton/index.js +1 -1
- package/KebabButton/index.mjs +1 -1
- package/Menu/MenuTrigger.d.ts +1 -1
- package/Menu/MenuTrigger.d.ts.map +1 -1
- package/Menu/index.js +1 -1
- package/Menu/index.mjs +1 -1
- package/Modal/context.d.ts +3 -3
- package/Modal/context.d.ts.map +1 -1
- package/Modal/index.js +124 -93
- package/Modal/index.mjs +124 -93
- package/Modal/useIntersectionDetection.d.ts +1 -1
- package/Modal/useIntersectionDetection.d.ts.map +1 -1
- package/MultiSelect/MultiSelectDropdown.d.ts +2 -2
- package/MultiSelect/MultiSelectDropdown.d.ts.map +1 -1
- package/MultiSelect/index.js +106 -83
- package/MultiSelect/index.mjs +107 -84
- package/MultiSelect/utilities.d.ts +1 -1
- package/MultiSelect/utilities.d.ts.map +1 -1
- package/MultipageSection/index.js +94 -71
- package/MultipageSection/index.mjs +94 -71
- package/NexusLayout/index.js +136 -102
- package/NexusLayout/index.mjs +136 -102
- package/Notification/NotificationTransition.d.ts +1 -1
- package/Notification/NotificationTransition.d.ts.map +1 -1
- package/Notification/index.js +1 -1
- package/Notification/index.mjs +1 -1
- package/Pagination/index.js +62 -50
- package/Pagination/index.mjs +63 -51
- package/PillGroup/index.js +1 -1
- package/PillGroup/index.mjs +1 -1
- package/PlanCard/illustrations/Building01/index.js +532 -531
- package/PlanCard/illustrations/Building01/index.mjs +532 -531
- package/PlanCard/illustrations/Building02/index.js +206 -205
- package/PlanCard/illustrations/Building02/index.mjs +206 -205
- package/PlanCard/illustrations/Building03/index.js +773 -772
- package/PlanCard/illustrations/Building03/index.mjs +773 -772
- package/PlanCard/illustrations/Building04/index.js +1528 -1527
- package/PlanCard/illustrations/Building04/index.mjs +1528 -1527
- package/PlanCard/index.js +59 -36
- package/PlanCard/index.mjs +60 -37
- package/ProductLayout/index.js +132 -91
- package/ProductLayout/index.mjs +132 -91
- package/Provider/index.js +18 -14
- package/Provider/index.mjs +18 -14
- package/RadioButtonGroup/index.js +14 -10
- package/RadioButtonGroup/index.mjs +14 -10
- package/RadioGroup/index.js +1 -1
- package/RadioGroup/index.mjs +1 -1
- package/RangeCalendar/index.js +1 -1
- package/RangeCalendar/index.mjs +1 -1
- package/SearchNav/CondensedSearchNav.d.ts.map +1 -1
- package/SearchNav/index.js +197 -141
- package/SearchNav/index.mjs +197 -141
- package/SearchNav/utilities.d.ts +3 -3
- package/SearchNav/utilities.d.ts.map +1 -1
- package/SectionCard/index.js +43 -25
- package/SectionCard/index.mjs +43 -25
- package/Select/index.js +74 -62
- package/Select/index.mjs +74 -62
- package/SelectorErrorTooltip/index.js +1 -1
- package/SelectorErrorTooltip/index.mjs +1 -1
- package/Spinner/index.js +1 -1
- package/Spinner/index.mjs +1 -1
- package/SplitToggleCard/index.js +22 -16
- package/SplitToggleCard/index.mjs +22 -16
- package/Stepper/index.js +1 -1
- package/Stepper/index.mjs +1 -1
- package/TabNav/index.js +1 -1
- package/TabNav/index.mjs +1 -1
- package/TabPanels/index.js +22 -16
- package/TabPanels/index.mjs +24 -18
- package/Tabs/index.js +1 -1
- package/Tabs/index.mjs +1 -1
- package/Text/index.js +1 -1
- package/Text/index.mjs +1 -1
- package/TextField/index.js +1 -1
- package/TextField/index.mjs +1 -1
- package/Textarea/index.js +3 -3
- package/Textarea/index.mjs +3 -3
- package/Theme/index.js +1 -1
- package/Theme/index.mjs +1 -1
- package/Toggle/index.js +1 -1
- package/Toggle/index.mjs +1 -1
- package/ToggleCard/index.js +20 -15
- package/ToggleCard/index.mjs +21 -16
- package/Tooltip/index.js +1 -1
- package/Tooltip/index.mjs +1 -1
- package/UnstyledButton/index.js +1 -1
- package/UnstyledButton/index.mjs +1 -1
- package/VerticalNav/index.js +115 -88
- package/VerticalNav/index.mjs +115 -88
- package/VerticalStack/index.js +1 -1
- package/VerticalStack/index.mjs +1 -1
- package/__chunks__/{Button-5AuHgwU3.js → Button-C3vDXJsJ.js} +15 -12
- package/__chunks__/{Button-BsGH6vGC.mjs → Button-Dexauftx.mjs} +16 -13
- package/__chunks__/{Calendar-D09mdpmC.js → Calendar-BEbdigVB.js} +3 -2
- package/__chunks__/{Calendar-BGZysoV0.mjs → Calendar-BOxw8lwX.mjs} +3 -2
- package/__chunks__/{CalendarBase-Bn9o8BdD.mjs → CalendarBase-3a9i7QNo.mjs} +86 -64
- package/__chunks__/{CalendarBase-DHxad3N9.js → CalendarBase-Bx8bdXeT.js} +86 -64
- package/__chunks__/{Card-CJug4GMX.mjs → Card-8778avMv.mjs} +21 -12
- package/__chunks__/{Card-BM2DKiVA.js → Card-DIZFYg6E.js} +21 -12
- package/__chunks__/{Checkbox-BWfY9XqH.mjs → Checkbox-C-NlI-Ym.mjs} +36 -28
- package/__chunks__/{Checkbox-D2-8vvdr.js → Checkbox-DFWhjlaO.js} +36 -28
- package/__chunks__/{CodeSnippet-CIijbclb.js → CodeSnippet-BCOMwE07.js} +16 -12
- package/__chunks__/{CodeSnippet-QpCpkoXv.mjs → CodeSnippet-CWnMHdVu.mjs} +16 -12
- package/__chunks__/{DatePickerBase-CFB0JDQA.mjs → DatePickerBase-C4PwUr9x.mjs} +80 -62
- package/__chunks__/{DatePickerBase-DSPIErms.js → DatePickerBase-XoRply_u.js} +80 -62
- package/__chunks__/EasyPostLogo-D3WNdZ29.js +22 -0
- package/__chunks__/EasyPostLogo-tf6CCEAq.mjs +23 -0
- package/__chunks__/{HelpMenu-CO6kYktc.mjs → HelpMenu-8r0cjx5z.mjs} +30 -21
- package/__chunks__/{HelpMenu-nihaGEVy.js → HelpMenu-DBo_fklD.js} +30 -20
- package/__chunks__/{HorizontalGrid-CAwv7zKY.js → HorizontalGrid-BAvSeg39.js} +5 -3
- package/__chunks__/{HorizontalGrid-Dz8EFgmu.mjs → HorizontalGrid-C4MBFEH-.mjs} +6 -4
- package/__chunks__/{HorizontalStack-CxE8tPx_.mjs → HorizontalStack-BkE82C73.mjs} +6 -4
- package/__chunks__/{HorizontalStack-CXpjASZi.js → HorizontalStack-DidoI4Ks.js} +5 -3
- package/__chunks__/{Icon-W8F9w-jS.js → Icon-BVa5ddiD.js} +11 -10
- package/__chunks__/{Icon-0SN9dbwU.mjs → Icon-DzTns8u5.mjs} +11 -10
- package/__chunks__/{InputCaption-BJO9_Tby.mjs → InputCaption-B8bZH6sX.mjs} +19 -15
- package/__chunks__/{InputCaption-C3Hf9Hvt.js → InputCaption-Dkyn1sg6.js} +19 -15
- package/__chunks__/{InputField-dq5XIhr1.mjs → InputField-BTrYBVAD.mjs} +77 -66
- package/__chunks__/{InputField-CDHznUZd.js → InputField-Dvkk5R1K.js} +77 -66
- package/__chunks__/{InputIcon-Bpg4lyQx.mjs → InputIcon-BLJ6dx_5.mjs} +9 -8
- package/__chunks__/{InputIcon-DdcvN3A4.js → InputIcon-BSIAXX9k.js} +9 -8
- package/__chunks__/{KebabButton-DdzHU7is.js → KebabButton-3FnxY-Fz.js} +15 -8
- package/__chunks__/{KebabButton-Bf1OdC5_.mjs → KebabButton-DSK0ISAn.mjs} +15 -8
- package/__chunks__/{Menu-DHwqwFlg.mjs → Menu-C2F4fvhd.mjs} +88 -70
- package/__chunks__/{Menu-Kfc6nxFP.js → Menu-Du8SsMeJ.js} +88 -70
- package/__chunks__/{Notification-vF_YGVIP.js → Notification-CeJn5Qq1.js} +62 -48
- package/__chunks__/{Notification-BoT3Hm0B.mjs → Notification-CgUT2gv6.mjs} +64 -50
- package/__chunks__/{PillGroup-DjLJ4wVb.mjs → PillGroup-EJ8t8SrT.mjs} +41 -27
- package/__chunks__/{PillGroup-CAHVIlU0.js → PillGroup-rTS853Rr.js} +41 -27
- package/__chunks__/{RadioGroup-CGQKZwDU.js → RadioGroup-BFqH1Csi.js} +58 -40
- package/__chunks__/{RadioGroup-DUu5GEpn.mjs → RadioGroup-DBgIqOkZ.mjs} +58 -40
- package/__chunks__/{RangeCalendar-LPcJB19o.mjs → RangeCalendar-BSsmX9l4.mjs} +3 -2
- package/__chunks__/{RangeCalendar-Ckqj2J9L.js → RangeCalendar-Do2nei5A.js} +3 -2
- package/__chunks__/{SelectOverlay-DptO7xtn.mjs → SelectOverlay-DUIIhF4t.mjs} +62 -51
- package/__chunks__/{SelectOverlay-CmbC4zrD.js → SelectOverlay-DjiJHthj.js} +62 -51
- package/__chunks__/{SelectorErrorTooltip-Dw1Fvd_q.mjs → SelectorErrorTooltip-BC-1JoX3.mjs} +19 -12
- package/__chunks__/{SelectorErrorTooltip-_D8DSBKs.js → SelectorErrorTooltip-BMxbuFiM.js} +19 -11
- package/__chunks__/{Spinner-DOmPV59I.mjs → Spinner-2PFCOK3I.mjs} +17 -13
- package/__chunks__/{Spinner-D0ifPtVV.js → Spinner-Dd68v9QX.js} +16 -12
- package/__chunks__/{Stepper-CX0Mu37p.js → Stepper-BZ90AIx0.js} +47 -36
- package/__chunks__/{Stepper-BEyDIPNJ.mjs → Stepper-q3YNLglj.mjs} +48 -37
- package/__chunks__/{TabNav-vCt_zTvE.mjs → TabNav-BnpNl7tj.mjs} +10 -8
- package/__chunks__/{TabNav-B8aEzVyr.js → TabNav-CLVG0bL2.js} +10 -8
- package/__chunks__/{Tabs-BL8odO0p.js → Tabs-5_61DIBw.js} +46 -37
- package/__chunks__/{Tabs-DJ4aKu11.mjs → Tabs-CtyYEye0.mjs} +47 -38
- package/__chunks__/{Text-CSESKR_s.js → Text-C4CEsglh.js} +5 -4
- package/__chunks__/{Text-YOL3isF4.mjs → Text-u9mYLeWj.mjs} +5 -4
- package/__chunks__/{TextField-D2QhDAdD.mjs → TextField-D1JGaTQv.mjs} +3 -3
- package/__chunks__/{TextField-94cCP805.js → TextField-DE1vPtQm.js} +3 -3
- package/__chunks__/{Theme-BAFk7BvV.mjs → Theme-CyUCrGdN.mjs} +28 -18
- package/__chunks__/{Theme-DqbmY4wy.js → Theme-unLHjjnm.js} +27 -17
- package/__chunks__/{Toggle-D2ucsFxO.js → Toggle-BHzAGPDh.js} +43 -37
- package/__chunks__/{Toggle-CxjLdmzW.mjs → Toggle-DioYP2KQ.mjs} +43 -37
- package/__chunks__/{Tooltip-DAyUY3na.mjs → Tooltip-BKGkKnOx.mjs} +25 -17
- package/__chunks__/{Tooltip-DqpxBjpa.js → Tooltip-COjtKErw.js} +25 -17
- package/__chunks__/{UnstyledButton-DpQ5Ic9D.mjs → UnstyledButton-BCg7eEyP.mjs} +6 -4
- package/__chunks__/{UnstyledButton-BFpQ2Irc.js → UnstyledButton-_YQekhlm.js} +5 -3
- package/__chunks__/{VerticalStack-C2yDQVHD.mjs → VerticalStack-Cbdpucbh.mjs} +6 -4
- package/__chunks__/{VerticalStack-Dzpv3O67.js → VerticalStack-CunLpHRv.js} +5 -3
- package/__chunks__/index-CqNUlUoB.js +217 -0
- package/__chunks__/index-ee-P7jQr.mjs +218 -0
- package/__chunks__/jsx-runtime-CH1d66I3.js +320 -0
- package/__chunks__/jsx-runtime-DTpFD6nx.mjs +321 -0
- package/__chunks__/{useEdgeInterceptors-D_DARZZd.mjs → useEdgeInterceptors-BBmo6MI4.mjs} +17 -14
- package/__chunks__/{useEdgeInterceptors-Ihk8NfjJ.js → useEdgeInterceptors-BLxn3eUi.js} +16 -13
- package/package.json +5 -7
- package/types.d.ts +1 -1
- package/types.d.ts.map +1 -1
- package/utilities/Noop.d.ts +1 -1
- package/utilities/Noop.d.ts.map +1 -1
- package/utilities/react.d.ts +1 -1
- package/utilities/react.d.ts.map +1 -1
- package/utilities/react.js +1 -1
- package/utilities/react.mjs +1 -1
- package/utilities/test.d.ts +1 -0
- package/utilities/test.d.ts.map +1 -1
- package/__chunks__/EasyPostLogo-B3Um5vvS.mjs +0 -22
- package/__chunks__/EasyPostLogo-DQt5KlFX.js +0 -21
- package/__chunks__/index-CUcRN4NO.js +0 -311
- package/__chunks__/index-Izk6uvQC.mjs +0 -312
package/SearchNav/index.mjs
CHANGED
|
@@ -29,22 +29,23 @@ var __objRest = (source, exclude) => {
|
|
|
29
29
|
}
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
|
+
import { j as jsxRuntimeExports } from "../__chunks__/jsx-runtime-DTpFD6nx.mjs";
|
|
32
33
|
import * as React from "react";
|
|
33
34
|
import React__default, { createContext, useContext, Fragment, useMemo, useState } from "react";
|
|
34
35
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
35
36
|
import { getFlattenedKey, getDisplayNameFromReactNode, flattenChildren, filterChildrenByDisplayName } from "../utilities/react.mjs";
|
|
36
|
-
import { M as Menu } from "../__chunks__/Menu-
|
|
37
|
-
import { T as Text } from "../__chunks__/Text-
|
|
38
|
-
import { I as Icon } from "../__chunks__/Icon-
|
|
39
|
-
import { U as UnstyledButton } from "../__chunks__/UnstyledButton-
|
|
40
|
-
import { u as useInternalSelectContext, $ as $bdd25dc72710631f$export$cbd84cdb2e668835, a as $2bc3a590c5373a4e$export$5159ec8b34d4ec12, b as $58aed456727eb0f3$export$e64b2f635402ca43, I as InternalSelectContext, S as SelectOverlay, d as SelectOption } from "../__chunks__/SelectOverlay-
|
|
37
|
+
import { M as Menu } from "../__chunks__/Menu-C2F4fvhd.mjs";
|
|
38
|
+
import { T as Text } from "../__chunks__/Text-u9mYLeWj.mjs";
|
|
39
|
+
import { I as Icon } from "../__chunks__/Icon-DzTns8u5.mjs";
|
|
40
|
+
import { U as UnstyledButton } from "../__chunks__/UnstyledButton-BCg7eEyP.mjs";
|
|
41
|
+
import { u as useInternalSelectContext, $ as $bdd25dc72710631f$export$cbd84cdb2e668835, a as $2bc3a590c5373a4e$export$5159ec8b34d4ec12, b as $58aed456727eb0f3$export$e64b2f635402ca43, I as InternalSelectContext, S as SelectOverlay, d as SelectOption } from "../__chunks__/SelectOverlay-DUIIhF4t.mjs";
|
|
41
42
|
import { u as useTriggerWidth } from "../__chunks__/useTriggerWidth-CBghrvjy.mjs";
|
|
42
43
|
import { E as ExpandMore400 } from "../__chunks__/ExpandMore400-CH7GNxqk.mjs";
|
|
43
44
|
import { C as Close } from "../__chunks__/Close-Cq6Q6MN6.mjs";
|
|
44
45
|
import { M as Menu$1 } from "../__chunks__/Menu-qMqvSorL.mjs";
|
|
45
46
|
import { S as Search$1 } from "../__chunks__/Search-Cyblmqo5.mjs";
|
|
46
|
-
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-
|
|
47
|
-
import { B as Button } from "../__chunks__/Button-
|
|
47
|
+
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-BkE82C73.mjs";
|
|
48
|
+
import { B as Button } from "../__chunks__/Button-Dexauftx.mjs";
|
|
48
49
|
const nav = "_nav_1sb0u_4";
|
|
49
50
|
const desktop = "_desktop_1sb0u_16";
|
|
50
51
|
const onlyLogoGroup = "_onlyLogoGroup_1sb0u_29";
|
|
@@ -63,7 +64,7 @@ const styles$7 = {
|
|
|
63
64
|
};
|
|
64
65
|
function Separator(props) {
|
|
65
66
|
const { group } = props;
|
|
66
|
-
return
|
|
67
|
+
return jsxRuntimeExports.jsx("div", {
|
|
67
68
|
className: classNames(styles$7.separator, styles$7[variationName("group", group)])
|
|
68
69
|
});
|
|
69
70
|
}
|
|
@@ -81,13 +82,18 @@ function useInternalSearchNavContext() {
|
|
|
81
82
|
}
|
|
82
83
|
function LogoGroup(_props) {
|
|
83
84
|
const { logo: logo2, title, selector } = useInternalSearchNavContext();
|
|
84
|
-
return
|
|
85
|
-
className: classNames(styles$6.logoGroup)
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
85
|
+
return jsxRuntimeExports.jsxs("div", {
|
|
86
|
+
className: classNames(styles$6.logoGroup),
|
|
87
|
+
children: [logo2, title && jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
|
|
88
|
+
children: [jsxRuntimeExports.jsx(Separator, {
|
|
89
|
+
group: "logo"
|
|
90
|
+
}), title]
|
|
91
|
+
}), selector && jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
|
|
92
|
+
children: [jsxRuntimeExports.jsx(Separator, {
|
|
93
|
+
group: "logo"
|
|
94
|
+
}), selector]
|
|
95
|
+
})]
|
|
96
|
+
});
|
|
91
97
|
}
|
|
92
98
|
LogoGroup.displayName = "SearchNav.LogoGroup";
|
|
93
99
|
const search = "_search_nexql_4";
|
|
@@ -96,9 +102,10 @@ const styles$5 = {
|
|
|
96
102
|
};
|
|
97
103
|
function Search(props) {
|
|
98
104
|
const { children } = props;
|
|
99
|
-
return
|
|
100
|
-
className: classNames(styles$5.search)
|
|
101
|
-
|
|
105
|
+
return jsxRuntimeExports.jsx("div", {
|
|
106
|
+
className: classNames(styles$5.search),
|
|
107
|
+
children
|
|
108
|
+
});
|
|
102
109
|
}
|
|
103
110
|
Search.displayName = "SearchNav.Search";
|
|
104
111
|
var __defProp2 = Object.defineProperty;
|
|
@@ -151,40 +158,57 @@ const styles$4 = {
|
|
|
151
158
|
function CTAGroup(_props) {
|
|
152
159
|
const { menuOverlayProps, ctaMenuSymbol, primaryCTAItem, secondaryCTAItems } = useInternalSearchNavContext();
|
|
153
160
|
const totalItems = (secondaryCTAItems == null ? void 0 : secondaryCTAItems.length) || 0;
|
|
154
|
-
return
|
|
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
|
-
|
|
161
|
+
return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
|
|
162
|
+
children: [jsxRuntimeExports.jsxs("div", {
|
|
163
|
+
className: classNames(styles$4.ctaGroup, styles$4.ctaGroupExpanded),
|
|
164
|
+
children: [secondaryCTAItems == null ? void 0 : secondaryCTAItems.map((item, index) => {
|
|
165
|
+
const isLastChild = index === totalItems - 1;
|
|
166
|
+
const itemEle = item;
|
|
167
|
+
return jsxRuntimeExports.jsxs(Fragment, {
|
|
168
|
+
children: [itemEle, !isLastChild && jsxRuntimeExports.jsx(Separator, {
|
|
169
|
+
group: "cta"
|
|
170
|
+
})]
|
|
171
|
+
}, itemEle.key);
|
|
172
|
+
}), primaryCTAItem && jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
|
|
173
|
+
children: [jsxRuntimeExports.jsx(Separator, {
|
|
174
|
+
group: "cta"
|
|
175
|
+
}), primaryCTAItem]
|
|
176
|
+
})]
|
|
177
|
+
}), jsxRuntimeExports.jsxs("div", {
|
|
178
|
+
className: classNames(styles$4.ctaGroup, styles$4.ctaGroupMenu),
|
|
179
|
+
children: [jsxRuntimeExports.jsxs(Menu, {
|
|
180
|
+
children: [jsxRuntimeExports.jsx(Menu.Trigger, {
|
|
181
|
+
children: jsxRuntimeExports.jsxs(UnstyledButton, {
|
|
182
|
+
className: classNames(styles$4.menuBtn),
|
|
183
|
+
children: [jsxRuntimeExports.jsx(Icon, {
|
|
184
|
+
symbol: ctaMenuSymbol ? ctaMenuSymbol : Help
|
|
185
|
+
}), jsxRuntimeExports.jsx(Text, {
|
|
186
|
+
visuallyHidden: true,
|
|
187
|
+
children: "menu"
|
|
188
|
+
})]
|
|
189
|
+
})
|
|
190
|
+
}), jsxRuntimeExports.jsx(Menu.Overlay, __spreadProps(__spreadValues({
|
|
191
|
+
placement: "bottom right"
|
|
192
|
+
}, menuOverlayProps), {
|
|
193
|
+
children: jsxRuntimeExports.jsx(Menu.Section, {
|
|
194
|
+
"aria-label": "Nav actions",
|
|
195
|
+
children: secondaryCTAItems == null ? void 0 : secondaryCTAItems.map((item) => {
|
|
196
|
+
const itemEle = item;
|
|
197
|
+
return jsxRuntimeExports.jsx(Menu.Item, {
|
|
198
|
+
href: itemEle.props.href,
|
|
199
|
+
target: itemEle.props.target,
|
|
200
|
+
children: itemEle.props.label
|
|
201
|
+
}, getFlattenedKey(itemEle.key));
|
|
202
|
+
})
|
|
203
|
+
})
|
|
204
|
+
}))]
|
|
205
|
+
}), primaryCTAItem && jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
|
|
206
|
+
children: [jsxRuntimeExports.jsx(Separator, {
|
|
207
|
+
group: "cta"
|
|
208
|
+
}), primaryCTAItem]
|
|
209
|
+
})]
|
|
210
|
+
})]
|
|
211
|
+
});
|
|
188
212
|
}
|
|
189
213
|
CTAGroup.displayName = "SearchNav.CTAGroup";
|
|
190
214
|
const logo = "_logo_fsmuh_4";
|
|
@@ -193,9 +217,10 @@ const styles$3 = {
|
|
|
193
217
|
};
|
|
194
218
|
function Logo(props) {
|
|
195
219
|
const { children } = props;
|
|
196
|
-
return
|
|
197
|
-
className: classNames(styles$3.logo)
|
|
198
|
-
|
|
220
|
+
return jsxRuntimeExports.jsx("div", {
|
|
221
|
+
className: classNames(styles$3.logo),
|
|
222
|
+
children
|
|
223
|
+
});
|
|
199
224
|
}
|
|
200
225
|
Logo.displayName = "SearchNav.Logo";
|
|
201
226
|
const cta = "_cta_2tjk4_4";
|
|
@@ -204,13 +229,15 @@ const styles$2 = {
|
|
|
204
229
|
};
|
|
205
230
|
function SecondaryCTAItem(props) {
|
|
206
231
|
const _a = props, { symbol, label, hideLabelOnDesktop = false } = _a, restProps = __objRest(_a, ["symbol", "label", "hideLabelOnDesktop"]);
|
|
207
|
-
return
|
|
208
|
-
className: classNames(styles$2.cta)
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
232
|
+
return jsxRuntimeExports.jsxs(UnstyledButton, __spreadProps(__spreadValues({}, restProps), {
|
|
233
|
+
className: classNames(styles$2.cta),
|
|
234
|
+
children: [symbol && jsxRuntimeExports.jsx(Icon, {
|
|
235
|
+
symbol
|
|
236
|
+
}), hideLabelOnDesktop ? jsxRuntimeExports.jsx(Text, {
|
|
237
|
+
visuallyHidden: true,
|
|
238
|
+
children: label
|
|
239
|
+
}) : label]
|
|
240
|
+
}));
|
|
214
241
|
}
|
|
215
242
|
SecondaryCTAItem.displayName = "SearchNav.SecondaryCTAItem";
|
|
216
243
|
const triggerBtn = "_triggerBtn_87epg_4";
|
|
@@ -223,19 +250,23 @@ function SelectorTrigger(props) {
|
|
|
223
250
|
var _a;
|
|
224
251
|
const { valueProps, label } = props;
|
|
225
252
|
const { triggerProps, triggerRef, selectState } = useInternalSelectContext();
|
|
226
|
-
return
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
253
|
+
return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
|
|
254
|
+
children: [jsxRuntimeExports.jsx($bdd25dc72710631f$export$cbd84cdb2e668835, {
|
|
255
|
+
state: selectState,
|
|
256
|
+
triggerRef,
|
|
257
|
+
label
|
|
258
|
+
}), jsxRuntimeExports.jsxs(UnstyledButton, __spreadProps(__spreadValues({}, triggerProps), {
|
|
259
|
+
ref: triggerRef,
|
|
260
|
+
className: classNames(styles$1.triggerBtn),
|
|
261
|
+
children: [jsxRuntimeExports.jsx("span", __spreadProps(__spreadValues({}, valueProps), {
|
|
262
|
+
className: classNames(styles$1.text),
|
|
263
|
+
children: (_a = selectState.selectedItem) == null ? void 0 : _a.rendered
|
|
264
|
+
})), jsxRuntimeExports.jsx(Icon, {
|
|
265
|
+
symbol: ExpandMore400,
|
|
266
|
+
size: "xs"
|
|
267
|
+
})]
|
|
268
|
+
}))]
|
|
269
|
+
});
|
|
239
270
|
}
|
|
240
271
|
function Selector(props) {
|
|
241
272
|
const triggerRef = React__default.useRef(null);
|
|
@@ -252,12 +283,13 @@ function Selector(props) {
|
|
|
252
283
|
triggerWidth
|
|
253
284
|
};
|
|
254
285
|
}, [triggerProps, listBoxPropsFromSelect, selectState, triggerWidth]);
|
|
255
|
-
return
|
|
256
|
-
value: context
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
286
|
+
return jsxRuntimeExports.jsxs(InternalSelectContext.Provider, {
|
|
287
|
+
value: context,
|
|
288
|
+
children: [jsxRuntimeExports.jsx(SelectorTrigger, {
|
|
289
|
+
valueProps,
|
|
290
|
+
label
|
|
291
|
+
}), jsxRuntimeExports.jsx(SelectOverlay, {})]
|
|
292
|
+
});
|
|
261
293
|
}
|
|
262
294
|
Selector.displayName = "SearchNav.Selector";
|
|
263
295
|
const condensed = "_condensed_1rv4g_4";
|
|
@@ -279,69 +311,90 @@ function CondensedSearchNav() {
|
|
|
279
311
|
const [isSearchOpen, setIsSearchOpen] = useState(false);
|
|
280
312
|
const { search: search2, selectorChildren, secondaryCTAItems, primaryCTAItem, selectorLabel, menuOverlayProps, condensedBehavior } = useInternalSearchNavContext();
|
|
281
313
|
const hasMenuToShow = !!selectorChildren || !!secondaryCTAItems;
|
|
282
|
-
return
|
|
283
|
-
className: classNames(styles.condensed)
|
|
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
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
314
|
+
return jsxRuntimeExports.jsx("div", {
|
|
315
|
+
className: classNames(styles.condensed),
|
|
316
|
+
children: isSearchOpen ? jsxRuntimeExports.jsxs("div", {
|
|
317
|
+
className: classNames(styles.condensedSearch),
|
|
318
|
+
children: [search2, jsxRuntimeExports.jsx(UnstyledButton, {
|
|
319
|
+
className: classNames(styles.btn),
|
|
320
|
+
onPress: () => setIsSearchOpen((prev) => !prev),
|
|
321
|
+
children: jsxRuntimeExports.jsx(Icon, {
|
|
322
|
+
symbol: Close,
|
|
323
|
+
size: "xs"
|
|
324
|
+
})
|
|
325
|
+
})]
|
|
326
|
+
}) : jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
|
|
327
|
+
children: [condensedBehavior === "collapse-to-menu" && hasMenuToShow ? jsxRuntimeExports.jsxs(Menu, {
|
|
328
|
+
isOpen: isMenuOpen,
|
|
329
|
+
onOpenChange: setIsMenuOpen,
|
|
330
|
+
children: [jsxRuntimeExports.jsx(Menu.Trigger, {
|
|
331
|
+
children: jsxRuntimeExports.jsxs(UnstyledButton, {
|
|
332
|
+
className: classNames(styles.btn, styles.menuBtn, isMenuOpen && styles.menuOpen),
|
|
333
|
+
children: [jsxRuntimeExports.jsx(Icon, {
|
|
334
|
+
symbol: Menu$1
|
|
335
|
+
}), jsxRuntimeExports.jsx(Text, {
|
|
336
|
+
visuallyHidden: true,
|
|
337
|
+
children: "menu"
|
|
338
|
+
})]
|
|
339
|
+
})
|
|
340
|
+
}), jsxRuntimeExports.jsxs(Menu.Overlay, __spreadProps(__spreadValues({
|
|
341
|
+
placement: "bottom left"
|
|
342
|
+
}, menuOverlayProps), {
|
|
343
|
+
children: [jsxRuntimeExports.jsx(Menu.Section, {
|
|
344
|
+
"aria-label": selectorLabel,
|
|
345
|
+
children: selectorChildren == null ? void 0 : selectorChildren.map((item) => {
|
|
346
|
+
const itemEle = item;
|
|
347
|
+
return jsxRuntimeExports.jsx(Menu.Item, {
|
|
348
|
+
children: itemEle.props.children
|
|
349
|
+
}, getFlattenedKey(itemEle.key));
|
|
350
|
+
})
|
|
351
|
+
}), jsxRuntimeExports.jsx(Menu.Section, {
|
|
352
|
+
"aria-label": "Nav actions",
|
|
353
|
+
children: secondaryCTAItems == null ? void 0 : secondaryCTAItems.map((item) => {
|
|
354
|
+
const itemEle = item;
|
|
355
|
+
return jsxRuntimeExports.jsx(Menu.Item, {
|
|
356
|
+
href: itemEle.props.href,
|
|
357
|
+
target: itemEle.props.target,
|
|
358
|
+
children: itemEle.props.label
|
|
359
|
+
}, getFlattenedKey(itemEle.key));
|
|
360
|
+
})
|
|
361
|
+
})]
|
|
362
|
+
}))]
|
|
363
|
+
}) : jsxRuntimeExports.jsx(LogoGroup, {
|
|
364
|
+
children: null
|
|
365
|
+
}), (search2 || primaryCTAItem) && jsxRuntimeExports.jsxs(HorizontalStack, {
|
|
366
|
+
gap: "2",
|
|
367
|
+
children: [search2 && jsxRuntimeExports.jsxs(UnstyledButton, {
|
|
368
|
+
className: classNames(styles.btn, styles.searchBtn),
|
|
369
|
+
onPress: () => setIsSearchOpen((prev) => !prev),
|
|
370
|
+
children: [jsxRuntimeExports.jsx(Icon, {
|
|
371
|
+
symbol: Search$1
|
|
372
|
+
}), jsxRuntimeExports.jsx(Text, {
|
|
373
|
+
visuallyHidden: true,
|
|
374
|
+
children: "search"
|
|
375
|
+
})]
|
|
376
|
+
}), primaryCTAItem]
|
|
377
|
+
})]
|
|
378
|
+
})
|
|
379
|
+
});
|
|
329
380
|
}
|
|
330
381
|
function PrimaryCTAItem(props) {
|
|
331
382
|
const _a = props, { label } = _a, restProps = __objRest(_a, ["label"]);
|
|
332
|
-
return
|
|
383
|
+
return jsxRuntimeExports.jsx(Button, __spreadProps(__spreadValues({}, restProps), {
|
|
333
384
|
variant: "outlined",
|
|
334
385
|
size: "sm",
|
|
335
|
-
color: "support"
|
|
336
|
-
|
|
386
|
+
color: "support",
|
|
387
|
+
children: label
|
|
388
|
+
}));
|
|
337
389
|
}
|
|
338
390
|
PrimaryCTAItem.displayName = "SearchNav.PrimaryCTAItem";
|
|
339
391
|
function Title(props) {
|
|
340
392
|
const { children } = props;
|
|
341
|
-
return
|
|
393
|
+
return jsxRuntimeExports.jsx(Text, {
|
|
342
394
|
variant: "subtitle1",
|
|
343
|
-
transform: "uppercase"
|
|
344
|
-
|
|
395
|
+
transform: "uppercase",
|
|
396
|
+
children
|
|
397
|
+
});
|
|
345
398
|
}
|
|
346
399
|
Title.displayName = "SearchNav.Title";
|
|
347
400
|
function getLogoGroupChildren(logoGroup2) {
|
|
@@ -438,13 +491,16 @@ function SearchNav(props) {
|
|
|
438
491
|
}
|
|
439
492
|
};
|
|
440
493
|
}, [children, menuOverlayProps, ctaMenuSymbol, condensedBehavior]);
|
|
441
|
-
return
|
|
442
|
-
value: context
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
494
|
+
return jsxRuntimeExports.jsx(InternalSearchNavContext.Provider, {
|
|
495
|
+
value: context,
|
|
496
|
+
children: jsxRuntimeExports.jsxs("nav", {
|
|
497
|
+
className: classNames(styles$8.nav),
|
|
498
|
+
children: [jsxRuntimeExports.jsx("div", {
|
|
499
|
+
className: classNames(styles$8.desktop, onlyLogoGroup2 && styles$8.onlyLogoGroup),
|
|
500
|
+
children
|
|
501
|
+
}), !onlyLogoGroup2 && jsxRuntimeExports.jsx(CondensedSearchNav, {})]
|
|
502
|
+
})
|
|
503
|
+
});
|
|
448
504
|
}
|
|
449
505
|
SearchNav.LogoGroup = LogoGroup;
|
|
450
506
|
SearchNav.Logo = Logo;
|
package/SearchNav/utilities.d.ts
CHANGED
|
@@ -7,8 +7,8 @@ export declare function getLogoGroupChildren(logoGroup: ReactNode): {
|
|
|
7
7
|
};
|
|
8
8
|
export declare function getSearchChildren(searchParent: ReactNode): ReactNode;
|
|
9
9
|
export declare function getCTAGroupChildren(ctaGroup: ReactNode): {
|
|
10
|
-
secondaryCTAItems: ReactElement<
|
|
11
|
-
primaryCTAItem: ReactElement<
|
|
10
|
+
secondaryCTAItems: ReactElement<unknown, string | import("react").JSXElementConstructor<any>>[] | undefined;
|
|
11
|
+
primaryCTAItem: ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
12
12
|
};
|
|
13
|
-
export declare function getSelectorLabel(selector: ReactNode):
|
|
13
|
+
export declare function getSelectorLabel(selector: ReactNode): string | undefined;
|
|
14
14
|
//# sourceMappingURL=utilities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../src/SearchNav/utilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOhD,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,SAAS;;;;;EAyCxD;AAED,wBAAgB,iBAAiB,CAAC,YAAY,EAAE,SAAS,aASxD;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,SAAS;;;EA4BtD;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../src/SearchNav/utilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOhD,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,SAAS;;;;;EAyCxD;AAED,wBAAgB,iBAAiB,CAAC,YAAY,EAAE,SAAS,aASxD;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,SAAS;;;EA4BtD;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,SAAS,sBAQnD"}
|
package/SectionCard/index.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
+
var __defProps = Object.defineProperties;
|
|
4
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
3
5
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
4
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
7
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
@@ -15,6 +17,7 @@ var __spreadValues = (a, b) => {
|
|
|
15
17
|
}
|
|
16
18
|
return a;
|
|
17
19
|
};
|
|
20
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
18
21
|
var __objRest = (source, exclude) => {
|
|
19
22
|
var target = {};
|
|
20
23
|
for (var prop in source)
|
|
@@ -28,12 +31,12 @@ var __objRest = (source, exclude) => {
|
|
|
28
31
|
return target;
|
|
29
32
|
};
|
|
30
33
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
31
|
-
const
|
|
34
|
+
const jsxRuntime = require("../__chunks__/jsx-runtime-CH1d66I3.js");
|
|
32
35
|
const lodash = require("../__chunks__/lodash-CS8bkZ7S.js");
|
|
33
|
-
const Card = require("../__chunks__/Card-
|
|
34
|
-
const Text = require("../__chunks__/Text-
|
|
35
|
-
const VerticalStack = require("../__chunks__/VerticalStack-
|
|
36
|
-
const HorizontalStack = require("../__chunks__/HorizontalStack-
|
|
36
|
+
const Card = require("../__chunks__/Card-DIZFYg6E.js");
|
|
37
|
+
const Text = require("../__chunks__/Text-C4CEsglh.js");
|
|
38
|
+
const VerticalStack = require("../__chunks__/VerticalStack-CunLpHRv.js");
|
|
39
|
+
const HorizontalStack = require("../__chunks__/HorizontalStack-DidoI4Ks.js");
|
|
37
40
|
const header = "_header_1wo2q_4";
|
|
38
41
|
const controls = "_controls_1wo2q_17";
|
|
39
42
|
const tabs = "_tabs_1wo2q_21";
|
|
@@ -46,52 +49,67 @@ function SectionCard(props) {
|
|
|
46
49
|
const _a = props, { children } = _a, cardProps = __objRest(_a, ["children"]);
|
|
47
50
|
const cardAreaProps = Card.pickCardAreaProps(props);
|
|
48
51
|
const cardContainerProps = lodash.lodashExports.omit(cardProps, Object.keys(cardAreaProps));
|
|
49
|
-
return
|
|
52
|
+
return jsxRuntime.jsxRuntimeExports.jsx(SectionCardContainer, __spreadProps(__spreadValues({}, cardContainerProps), {
|
|
53
|
+
children: jsxRuntime.jsxRuntimeExports.jsx(SectionCardArea, __spreadProps(__spreadValues({}, cardAreaProps), {
|
|
54
|
+
children
|
|
55
|
+
}))
|
|
56
|
+
}));
|
|
50
57
|
}
|
|
51
58
|
function SectionCardContainer(props) {
|
|
52
59
|
const _a = props, { children } = _a, cardContainerProps = __objRest(_a, ["children"]);
|
|
53
|
-
return
|
|
60
|
+
return jsxRuntime.jsxRuntimeExports.jsx(Card.Card.Container, __spreadProps(__spreadValues({
|
|
54
61
|
as: "section",
|
|
55
62
|
variant: "solid",
|
|
56
63
|
boxShadow: "2",
|
|
57
64
|
borderRadius: "lg"
|
|
58
|
-
}, cardContainerProps),
|
|
65
|
+
}, cardContainerProps), {
|
|
66
|
+
children: jsxRuntime.jsxRuntimeExports.jsx(VerticalStack.VerticalStack, {
|
|
67
|
+
children
|
|
68
|
+
})
|
|
69
|
+
}));
|
|
59
70
|
}
|
|
60
71
|
function SectionCardArea(props) {
|
|
61
72
|
const _a = props, { children } = _a, cardAreaProps = __objRest(_a, ["children"]);
|
|
62
|
-
return
|
|
73
|
+
return jsxRuntime.jsxRuntimeExports.jsx(Card.Card.Area, __spreadProps(__spreadValues({
|
|
63
74
|
padding: "3"
|
|
64
|
-
}, cardAreaProps),
|
|
65
|
-
|
|
66
|
-
|
|
75
|
+
}, cardAreaProps), {
|
|
76
|
+
children: jsxRuntime.jsxRuntimeExports.jsx(VerticalStack.VerticalStack, {
|
|
77
|
+
gap: "2",
|
|
78
|
+
children
|
|
79
|
+
})
|
|
80
|
+
}));
|
|
67
81
|
}
|
|
68
82
|
function SectionCardHeader(props) {
|
|
69
|
-
return
|
|
70
|
-
className: styles.header
|
|
71
|
-
|
|
83
|
+
return jsxRuntime.jsxRuntimeExports.jsx("div", {
|
|
84
|
+
className: styles.header,
|
|
85
|
+
children: props.children
|
|
86
|
+
});
|
|
72
87
|
}
|
|
73
88
|
function SectionCardControls(props) {
|
|
74
|
-
return
|
|
75
|
-
className: styles.controls
|
|
76
|
-
|
|
89
|
+
return jsxRuntime.jsxRuntimeExports.jsx("div", {
|
|
90
|
+
className: styles.controls,
|
|
91
|
+
children: props.children
|
|
92
|
+
});
|
|
77
93
|
}
|
|
78
94
|
function SectionCardActions(props) {
|
|
79
|
-
return
|
|
95
|
+
return jsxRuntime.jsxRuntimeExports.jsx(HorizontalStack.HorizontalStack, {
|
|
80
96
|
align: "end",
|
|
81
|
-
gap: "1"
|
|
82
|
-
|
|
97
|
+
gap: "1",
|
|
98
|
+
children: props.children
|
|
99
|
+
});
|
|
83
100
|
}
|
|
84
101
|
function SectionCardTitle(props) {
|
|
85
|
-
return
|
|
102
|
+
return jsxRuntime.jsxRuntimeExports.jsx(Text.Text, __spreadValues({
|
|
86
103
|
variant: "heading5",
|
|
87
104
|
as: "h2"
|
|
88
105
|
}, props));
|
|
89
106
|
}
|
|
90
107
|
function SectionCardTabs(props) {
|
|
91
108
|
const { children } = props;
|
|
92
|
-
return
|
|
93
|
-
className: styles.tabs
|
|
94
|
-
|
|
109
|
+
return jsxRuntime.jsxRuntimeExports.jsx("div", {
|
|
110
|
+
className: styles.tabs,
|
|
111
|
+
children
|
|
112
|
+
});
|
|
95
113
|
}
|
|
96
114
|
SectionCard.Container = SectionCardContainer;
|
|
97
115
|
SectionCard.Area = SectionCardArea;
|