@ultraviolet/plus 3.0.0-beta.8 → 3.0.0
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/CodeEditor/CodeEditor.d.ts +3 -2
- package/dist/components/CodeEditor/CodeEditor.js +44 -13
- package/dist/components/ContentCard/Skeleton.d.ts +1 -1
- package/dist/components/ContentCard/Skeleton.js +13 -8
- package/dist/components/ContentCard/index.d.ts +2 -1
- package/dist/components/ContentCard/index.js +131 -50
- package/dist/components/ContentCardGroup/Card.d.ts +2 -1
- package/dist/components/ContentCardGroup/Card.js +65 -86
- package/dist/components/ContentCardGroup/SkeletonCard.d.ts +1 -1
- package/dist/components/ContentCardGroup/SkeletonCard.js +4 -22
- package/dist/components/ContentCardGroup/index.d.ts +3 -1
- package/dist/components/ContentCardGroup/index.js +12 -18
- package/dist/components/ContentCardGroup/styles.css.d.ts +7 -0
- package/dist/components/ContentCardGroup/styles.css.js +18 -0
- package/dist/components/Conversation/index.d.ts +25 -17
- package/dist/components/Conversation/index.js +37 -103
- package/dist/components/Conversation/styles.css.d.ts +7 -0
- package/dist/components/Conversation/styles.css.js +17 -0
- package/dist/components/CustomerSatisfaction/index.d.ts +3 -1
- package/dist/components/CustomerSatisfaction/index.js +70 -96
- package/dist/components/CustomerSatisfaction/styles.css.d.ts +17 -0
- package/dist/components/CustomerSatisfaction/styles.css.js +6 -0
- package/dist/components/EstimateCost/Components/CustomUnitInput.d.ts +1 -1
- package/dist/components/EstimateCost/Components/CustomUnitInput.js +47 -27
- package/dist/components/EstimateCost/Components/Item.d.ts +3 -2
- package/dist/components/EstimateCost/Components/Item.js +308 -288
- package/dist/components/EstimateCost/Components/LineThrough.d.ts +3 -5
- package/dist/components/EstimateCost/Components/LineThrough.js +12 -12
- package/dist/components/EstimateCost/Components/NumberInput.d.ts +1 -1
- package/dist/components/EstimateCost/Components/NumberInput.js +18 -10
- package/dist/components/EstimateCost/Components/Region.d.ts +2 -2
- package/dist/components/EstimateCost/Components/Region.js +44 -33
- package/dist/components/EstimateCost/Components/Regular.d.ts +3 -2
- package/dist/components/EstimateCost/Components/Regular.js +21 -29
- package/dist/components/EstimateCost/Components/Strong.d.ts +3 -10
- package/dist/components/EstimateCost/Components/Strong.js +13 -24
- package/dist/components/EstimateCost/Components/Unit.d.ts +3 -1
- package/dist/components/EstimateCost/Components/Unit.js +23 -31
- package/dist/components/EstimateCost/Components/Zone.d.ts +3 -1
- package/dist/components/EstimateCost/Components/Zone.js +42 -32
- package/dist/components/EstimateCost/Components/components.css.d.ts +77 -0
- package/dist/components/EstimateCost/Components/components.css.js +124 -0
- package/dist/components/EstimateCost/EstimateCost.d.ts +29 -29
- package/dist/components/EstimateCost/EstimateCost.js +74 -25
- package/dist/components/EstimateCost/EstimateCostContent.d.ts +1 -1
- package/dist/components/EstimateCost/EstimateCostContent.js +270 -174
- package/dist/components/EstimateCost/EstimateCostProvider.d.ts +1 -1
- package/dist/components/EstimateCost/EstimateCostProvider.js +24 -21
- package/dist/components/EstimateCost/OverlayComponent.d.ts +1 -1
- package/dist/components/EstimateCost/OverlayComponent.js +57 -81
- package/dist/components/EstimateCost/OverlayContext.d.ts +1 -1
- package/dist/components/EstimateCost/OverlayContext.js +2 -4
- package/dist/components/EstimateCost/constants.js +0 -4
- package/dist/components/EstimateCost/styles.css.d.ts +76 -0
- package/dist/components/EstimateCost/styles.css.js +50 -0
- package/dist/components/EstimateCost/types.d.ts +2 -1
- package/dist/components/FAQ/index.d.ts +3 -1
- package/dist/components/FAQ/index.js +4 -3
- package/dist/components/FAQ/styles.css.js +0 -1
- package/dist/components/InfoTable/InfoTable.d.ts +9 -6
- package/dist/components/InfoTable/InfoTable.js +14 -18
- package/dist/components/InfoTable/components/Cell.d.ts +3 -6
- package/dist/components/InfoTable/components/Cell.js +28 -34
- package/dist/components/InfoTable/components/Row.d.ts +3 -14
- package/dist/components/InfoTable/components/Row.js +25 -18
- package/dist/components/InfoTable/context.d.ts +3 -0
- package/dist/components/InfoTable/context.js +5 -0
- package/dist/components/InfoTable/styles.css.d.ts +6 -0
- package/dist/components/InfoTable/styles.css.js +15 -0
- package/dist/components/Navigation/Footer.d.ts +1 -1
- package/dist/components/Navigation/Footer.js +35 -33
- package/dist/components/Navigation/Header.d.ts +1 -1
- package/dist/components/Navigation/Header.js +13 -26
- package/dist/components/Navigation/Navigation.d.ts +11 -8
- package/dist/components/Navigation/Navigation.js +2 -5
- package/dist/components/Navigation/NavigationContent.d.ts +1 -1
- package/dist/components/Navigation/NavigationContent.js +60 -71
- package/dist/components/Navigation/NavigationProvider.d.ts +1 -1
- package/dist/components/Navigation/NavigationProvider.js +108 -70
- package/dist/components/Navigation/animations.css.d.ts +6 -0
- package/dist/components/Navigation/components/Group.d.ts +3 -2
- package/dist/components/Navigation/components/Group.js +21 -43
- package/dist/components/Navigation/components/Item.d.ts +3 -2
- package/dist/components/Navigation/components/Item.js +552 -405
- package/dist/components/Navigation/components/ItemProvider.d.ts +1 -1
- package/dist/components/Navigation/components/ItemProvider.js +2 -4
- package/dist/components/Navigation/components/PinnedItems.d.ts +3 -2
- package/dist/components/Navigation/components/PinnedItems.js +95 -75
- package/dist/components/Navigation/components/Separator.d.ts +1 -1
- package/dist/components/Navigation/components/Separator.js +3 -11
- package/dist/components/Navigation/components/items.css.d.ts +70 -0
- package/dist/components/Navigation/components/items.css.js +47 -0
- package/dist/components/Navigation/components/styles.css.d.ts +23 -0
- package/dist/components/Navigation/components/styles.css.js +17 -0
- package/dist/components/Navigation/constants.d.ts +0 -12
- package/dist/components/Navigation/constants.js +1 -28
- package/dist/components/Navigation/styles.css.d.ts +33 -0
- package/dist/components/Navigation/styles.css.js +22 -0
- package/dist/components/Navigation/types.d.ts +2 -1
- package/dist/components/Navigation/variables.css.d.ts +1 -0
- package/dist/components/Navigation/variables.css.js +5 -0
- package/dist/components/OfferList/OfferList.d.ts +9 -6
- package/dist/components/OfferList/OfferList.js +43 -22
- package/dist/components/OfferList/OfferListProvider.d.ts +1 -1
- package/dist/components/OfferList/OfferListProvider.js +25 -15
- package/dist/components/OfferList/components/Banner.d.ts +1 -1
- package/dist/components/OfferList/components/Banner.js +32 -95
- package/dist/components/OfferList/components/Cell.d.ts +1 -1
- package/dist/components/OfferList/components/Cell.js +16 -37
- package/dist/components/OfferList/components/Row.d.ts +4 -2
- package/dist/components/OfferList/components/Row.js +141 -125
- package/dist/components/OfferList/styles.css.d.ts +42 -0
- package/dist/components/OfferList/styles.css.js +38 -0
- package/dist/components/OrderSummary/NonScrollableContent.d.ts +1 -1
- package/dist/components/OrderSummary/NonScrollableContent.js +70 -34
- package/dist/components/OrderSummary/Provider.js +1 -4
- package/dist/components/OrderSummary/ScrollableContent.d.ts +1 -1
- package/dist/components/OrderSummary/ScrollableContent.js +177 -67
- package/dist/components/OrderSummary/constants.js +7 -1
- package/dist/components/OrderSummary/helpers.js +39 -21
- package/dist/components/OrderSummary/index.d.ts +1 -1
- package/dist/components/OrderSummary/index.js +139 -83
- package/dist/components/OrderSummary/styles.css.d.ts +8 -0
- package/dist/components/OrderSummary/styles.css.js +19 -0
- package/dist/components/OrderSummary/types.d.ts +3 -1
- package/dist/components/Plans/FeatureHint.d.ts +1 -1
- package/dist/components/Plans/FeatureHint.js +27 -25
- package/dist/components/Plans/PlanHeader.d.ts +1 -1
- package/dist/components/Plans/PlanHeader.js +80 -84
- package/dist/components/Plans/index.d.ts +3 -1
- package/dist/components/Plans/index.js +150 -109
- package/dist/components/Plans/styles.css.d.ts +61 -0
- package/dist/components/Plans/styles.css.js +26 -0
- package/dist/components/SteppedListCard/Step.d.ts +6 -1
- package/dist/components/SteppedListCard/Step.js +44 -32
- package/dist/components/SteppedListCard/SteppedListCard.d.ts +9 -5
- package/dist/components/SteppedListCard/SteppedListCard.js +70 -45
- package/dist/components/SteppedListCard/SteppedListContent.d.ts +4 -3
- package/dist/components/SteppedListCard/SteppedListContent.js +20 -51
- package/dist/components/SteppedListCard/helper.d.ts +1 -1
- package/dist/components/SteppedListCard/helper.js +4 -1
- package/dist/components/SteppedListCard/styles.css.d.ts +8 -0
- package/dist/components/SteppedListCard/styles.css.js +19 -0
- package/dist/plus.css +1 -1
- package/package.json +13 -16
- package/dist/components/CodeEditor/CodeEditor.cjs +0 -49
- package/dist/components/CodeEditor/styles.css.cjs +0 -9
- package/dist/components/ContentCard/Skeleton.cjs +0 -23
- package/dist/components/ContentCard/index.cjs +0 -61
- package/dist/components/ContentCard/styles.css.cjs +0 -27
- package/dist/components/ContentCardGroup/Card.cjs +0 -94
- package/dist/components/ContentCardGroup/SkeletonCard.cjs +0 -35
- package/dist/components/ContentCardGroup/index.cjs +0 -31
- package/dist/components/Conversation/index.cjs +0 -127
- package/dist/components/CustomerSatisfaction/assets/1-5.svg.cjs +0 -3
- package/dist/components/CustomerSatisfaction/assets/1-5NB.svg.cjs +0 -3
- package/dist/components/CustomerSatisfaction/assets/2-5.svg.cjs +0 -3
- package/dist/components/CustomerSatisfaction/assets/2-5NB.svg.cjs +0 -3
- package/dist/components/CustomerSatisfaction/assets/3-5.svg.cjs +0 -3
- package/dist/components/CustomerSatisfaction/assets/3-5NB.svg.cjs +0 -3
- package/dist/components/CustomerSatisfaction/assets/4-5.svg.cjs +0 -3
- package/dist/components/CustomerSatisfaction/assets/4-5NB.svg.cjs +0 -3
- package/dist/components/CustomerSatisfaction/assets/5-5.svg.cjs +0 -3
- package/dist/components/CustomerSatisfaction/assets/5-5NB.svg.cjs +0 -3
- package/dist/components/CustomerSatisfaction/index.cjs +0 -123
- package/dist/components/EstimateCost/Components/CustomUnitInput.cjs +0 -34
- package/dist/components/EstimateCost/Components/Item.cjs +0 -303
- package/dist/components/EstimateCost/Components/LineThrough.cjs +0 -19
- package/dist/components/EstimateCost/Components/NumberInput.cjs +0 -31
- package/dist/components/EstimateCost/Components/Region.cjs +0 -43
- package/dist/components/EstimateCost/Components/Regular.cjs +0 -37
- package/dist/components/EstimateCost/Components/Strong.cjs +0 -30
- package/dist/components/EstimateCost/Components/Unit.cjs +0 -53
- package/dist/components/EstimateCost/Components/Zone.cjs +0 -42
- package/dist/components/EstimateCost/EstimateCost.cjs +0 -90
- package/dist/components/EstimateCost/EstimateCostContent.cjs +0 -256
- package/dist/components/EstimateCost/EstimateCostProvider.cjs +0 -37
- package/dist/components/EstimateCost/OverlayComponent.cjs +0 -123
- package/dist/components/EstimateCost/OverlayContext.cjs +0 -15
- package/dist/components/EstimateCost/componentStyle.cjs +0 -221
- package/dist/components/EstimateCost/componentStyle.d.ts +0 -106
- package/dist/components/EstimateCost/componentStyle.js +0 -219
- package/dist/components/EstimateCost/constants.cjs +0 -32
- package/dist/components/EstimateCost/helper.cjs +0 -16
- package/dist/components/EstimateCost/locales/en.cjs +0 -23
- package/dist/components/FAQ/index.cjs +0 -48
- package/dist/components/FAQ/styles.css.cjs +0 -6
- package/dist/components/InfoTable/InfoTable.cjs +0 -32
- package/dist/components/InfoTable/components/Cell.cjs +0 -44
- package/dist/components/InfoTable/components/Row.cjs +0 -26
- package/dist/components/Navigation/Footer.cjs +0 -71
- package/dist/components/Navigation/Header.cjs +0 -36
- package/dist/components/Navigation/Navigation.cjs +0 -18
- package/dist/components/Navigation/NavigationContent.cjs +0 -163
- package/dist/components/Navigation/NavigationProvider.cjs +0 -129
- package/dist/components/Navigation/components/Group.cjs +0 -62
- package/dist/components/Navigation/components/Item.cjs +0 -429
- package/dist/components/Navigation/components/ItemProvider.cjs +0 -14
- package/dist/components/Navigation/components/PinnedItems.cjs +0 -116
- package/dist/components/Navigation/components/Separator.cjs +0 -18
- package/dist/components/Navigation/constants.cjs +0 -37
- package/dist/components/Navigation/locales/en.cjs +0 -11
- package/dist/components/OfferList/OfferList.cjs +0 -58
- package/dist/components/OfferList/OfferListProvider.cjs +0 -38
- package/dist/components/OfferList/components/Banner.cjs +0 -108
- package/dist/components/OfferList/components/Cell.cjs +0 -50
- package/dist/components/OfferList/components/Row.cjs +0 -192
- package/dist/components/OrderSummary/NonScrollableContent.cjs +0 -68
- package/dist/components/OrderSummary/Provider.cjs +0 -18
- package/dist/components/OrderSummary/ScrollableContent.cjs +0 -106
- package/dist/components/OrderSummary/constants.cjs +0 -12
- package/dist/components/OrderSummary/helpers.cjs +0 -91
- package/dist/components/OrderSummary/index.cjs +0 -135
- package/dist/components/OrderSummary/locales/en.cjs +0 -11
- package/dist/components/Plans/FeatureHint.cjs +0 -42
- package/dist/components/Plans/PlanHeader.cjs +0 -102
- package/dist/components/Plans/index.cjs +0 -152
- package/dist/components/Plans/locales/en.cjs +0 -7
- package/dist/components/SteppedListCard/Step.cjs +0 -51
- package/dist/components/SteppedListCard/SteppedListCard.cjs +0 -82
- package/dist/components/SteppedListCard/SteppedListContent.cjs +0 -86
- package/dist/components/SteppedListCard/helper.cjs +0 -38
- package/dist/index.cjs +0 -33
|
@@ -1,42 +1,36 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs, jsx } from "
|
|
3
|
-
import _styled from "@emotion/styled/base";
|
|
2
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
4
3
|
import { Stack, Text } from "@ultraviolet/ui";
|
|
5
|
-
|
|
6
|
-
target: "ezg3fxv2"
|
|
7
|
-
} : {
|
|
8
|
-
target: "ezg3fxv2",
|
|
9
|
-
label: "Term"
|
|
10
|
-
})("font-weight:", ({
|
|
11
|
-
theme
|
|
12
|
-
}) => theme.typography.bodyStrong.weight, ";color:", ({
|
|
13
|
-
theme
|
|
14
|
-
}) => theme.colors.neutral.textStrong, ";display:inline-flex;align-items:center;min-width:0;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3BsdXMvc3JjL2NvbXBvbmVudHMvSW5mb1RhYmxlL2NvbXBvbmVudHMvQ2VsbC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5nc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xuIl19 */"));
|
|
15
|
-
const Desc = /* @__PURE__ */ _styled("dd", process.env.NODE_ENV === "production" ? {
|
|
16
|
-
target: "ezg3fxv1"
|
|
17
|
-
} : {
|
|
18
|
-
target: "ezg3fxv1",
|
|
19
|
-
label: "Desc"
|
|
20
|
-
})("color:", ({
|
|
21
|
-
theme
|
|
22
|
-
}) => theme.colors.neutral.text, ";margin:0;min-width:0;width:100%;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3BsdXMvc3JjL2NvbXBvbmVudHMvSW5mb1RhYmxlL2NvbXBvbmVudHMvQ2VsbC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBY3NCIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3BsdXMvc3JjL2NvbXBvbmVudHMvSW5mb1RhYmxlL2NvbXBvbmVudHMvQ2VsbC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIndXNlIGNsaWVudCdcblxuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgeyBTdGFjaywgVGV4dCB9IGZyb20gJ0B1bHRyYXZpb2xldC91aSdcbmltcG9ydCB0eXBlIHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnXG5cbmV4cG9ydCBjb25zdCBUZXJtID0gc3R5bGVkLmR0YFxuICBmb250LXdlaWdodDogJHsoeyB0aGVtZSB9KSA9PiB0aGVtZS50eXBvZ3JhcGh5LmJvZHlTdHJvbmcud2VpZ2h0fTtcbiAgY29sb3I6ICR7KHsgdGhlbWUgfSkgPT4gdGhlbWUuY29sb3JzLm5ldXRyYWwudGV4dFN0cm9uZ307XG4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PVwid2Vha1wiXG4gICAgICAgIHNlbnRpbWVudD1cIm5ldXRyYWxcIlxuICAgICAgICB2YXJpYW50PVwiYm9keVNtYWxsU3Ryb25nXCJcbiAgICAgID5cbiAgICAgICAge3RpdGxlfVxuICAgICAgPC9UZXh0PlxuICAgIDwvVGVybT5cbiAgICA8RGVzYz5cbiAgICAgIDxTdHlsZWRUZXh0XG4gICAgICAgIGFzPVwiZGl2XCJcbiAgICAgICAgb25lTGluZT17IW11bHRpbGluZX1cbiAgICAgICAgcHJvbWluZW5jZT1cImRlZmF1bHRcIlxuICAgICAgICBzZW50aW1lbnQ9XCJuZXV0cmFsXCJcbiAgICAgICAgdmFyaWFudD1cImJvZHlcIlxuICAgICAgPlxuICAgICAgICB7Y2hpbGRyZW59XG4gICAgICA8L1N0eWxlZFRleHQ+XG4gICAgPC9EZXNjPlxuICA8L1N0YWNrPlxuKVxuIl19 */"));
|
|
23
|
-
const StyledText = /* @__PURE__ */ _styled(Text, process.env.NODE_ENV === "production" ? {
|
|
24
|
-
target: "ezg3fxv0"
|
|
25
|
-
} : {
|
|
26
|
-
target: "ezg3fxv0",
|
|
27
|
-
label: "StyledText"
|
|
28
|
-
})("display:block;min-width:0;width:100%;&>*{display:inline-flex;align-items:center;margin-right:", ({
|
|
29
|
-
theme
|
|
30
|
-
}) => theme.space[1], ";}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3BsdXMvc3JjL2NvbXBvbmVudHMvSW5mb1RhYmxlL2NvbXBvbmVudHMvQ2VsbC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMkIrQiIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay91bHRyYXZpb2xldC91bHRyYXZpb2xldC9wYWNrYWdlcy9wbHVz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A+ICoge1xuICAgIGRpc3BsYXk6IGlubGluZS1mbGV4OyAgLy8gQ2hpbGRyZW4gc2hvdWxkIGJlIGlubGluZVxuICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgbWFyZ2luLXJpZ2h0OiAkeyh7IHRoZW1lIH0pID0+IHRoZW1lLnNwYWNlWzFdfTsgLy8gUmVwbGFjZXMgZ2FwXG4gIH1cbmBcblxuZXhwb3J0IGNvbnN0IEluZm9UYWJsZUNlbGwgPSAoe1xuICBjaGlsZHJlbixcbiAgdGl0bGUsXG4gIG11bHRpbGluZSA9IGZhbHNlLFxufTogQ2VsbFByb3BzKSA9PiAoXG4gIDxTdGFjayBnYXA9XCIwLjVcIiBtaW5XaWR0aD1cIjBcIiB3aWR0aD1cIjEwMCVcIj5cbiAgICA8VGVybT5cbiAgICAgIDxUZXh0XG4gICAgICAgIGFzPVwiZGl2XCJcbiAgICAgICAgcHJvbWluZW5jZT1cIndlYWtcIlxuICAgICAgICBzZW50aW1lbnQ9XCJuZXV0cmFsXCJcbiAgICAgICAgdmFyaWFudD1cImJvZHlTbWFsbFN0cm9uZ1wiXG4gICAgICA+XG4gICAgICAgIHt0aXRsZX1cbiAgICAgIDwvVGV4dD5cbiAgICA8L1Rlcm0+XG4gICAgPERlc2M+XG4gICAgICA8U3R5bGVkVGV4dFxuICAgICAgICBhcz1cImRpdlwiXG4gICAgICAgIG9uZUxpbmU9eyFtdWx0aWxpbmV9XG4gICAgICAgIHByb21pbmVuY2U9XCJkZWZhdWx0XCJcbiAgICAgICAgc2VudGltZW50PVwibmV1dHJhbFwiXG4gICAgICAgIHZhcmlhbnQ9XCJib2R5XCJcbiAgICAgID5cbiAgICAgICAge2NoaWxkcmVufVxuICAgICAgPC9TdHlsZWRUZXh0PlxuICAgIDwvRGVzYz5cbiAgPC9TdGFjaz5cbilcbiJdfQ== */"));
|
|
4
|
+
import { term, desc, cellText } from "../styles.css.js";
|
|
31
5
|
const InfoTableCell = ({
|
|
32
6
|
children,
|
|
33
7
|
title,
|
|
34
|
-
multiline = false
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
/* @__PURE__ */ jsx(
|
|
8
|
+
multiline = false,
|
|
9
|
+
style
|
|
10
|
+
}) => /* @__PURE__ */ jsxs(Stack, { gap: "0.5", minWidth: "0", style, width: "100%", children: [
|
|
11
|
+
/* @__PURE__ */ jsx("dt", { className: term, children: /* @__PURE__ */ jsx(
|
|
12
|
+
Text,
|
|
13
|
+
{
|
|
14
|
+
as: "div",
|
|
15
|
+
prominence: "weak",
|
|
16
|
+
sentiment: "neutral",
|
|
17
|
+
variant: "bodySmallStrong",
|
|
18
|
+
children: title
|
|
19
|
+
}
|
|
20
|
+
) }),
|
|
21
|
+
/* @__PURE__ */ jsx("dd", { className: desc, children: /* @__PURE__ */ jsx(
|
|
22
|
+
Text,
|
|
23
|
+
{
|
|
24
|
+
as: "div",
|
|
25
|
+
className: `${cellText}`,
|
|
26
|
+
oneLine: !multiline,
|
|
27
|
+
prominence: "default",
|
|
28
|
+
sentiment: "neutral",
|
|
29
|
+
variant: "body",
|
|
30
|
+
children
|
|
31
|
+
}
|
|
32
|
+
) })
|
|
38
33
|
] });
|
|
39
34
|
export {
|
|
40
|
-
InfoTableCell
|
|
41
|
-
Term
|
|
35
|
+
InfoTableCell
|
|
42
36
|
};
|
|
@@ -1,19 +1,8 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
export declare const StyledRow: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
className?: string;
|
|
4
|
-
'data-testid'?: string;
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
templateColumns: string | Partial<Record<"medium" | "large" | "small" | "xlarge" | "xsmall" | "xxsmall", string>>;
|
|
7
|
-
gap?: 0 | 1 | "0" | "1" | "0.5" | 2 | 0.5 | "0.25" | "1.5" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | 0.25 | 1.5 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Partial<Record<"medium" | "large" | "small" | "xlarge" | "xsmall" | "xxsmall", 0 | 1 | "0" | "1" | "0.5" | 2 | 0.5 | "0.25" | "1.5" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | 0.25 | 1.5 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10>>;
|
|
8
|
-
alignItems?: import("csstype").Property.AlignItems | Partial<Record<"medium" | "large" | "small" | "xlarge" | "xsmall" | "xxsmall", import("csstype").Property.AlignItems | undefined>> | undefined;
|
|
9
|
-
justifyContent?: import("csstype").Property.JustifyContent | Partial<Record<"medium" | "large" | "small" | "xlarge" | "xsmall" | "xxsmall", import("csstype").Property.JustifyContent | undefined>> | undefined;
|
|
10
|
-
padding?: import("csstype").Property.Padding<string | number> | Partial<Record<"medium" | "large" | "small" | "xlarge" | "xsmall" | "xxsmall", import("csstype").Property.Padding<string | number> | undefined>> | undefined;
|
|
11
|
-
} & {
|
|
12
|
-
theme?: import("@emotion/react").Theme;
|
|
13
|
-
}, {}, {}>;
|
|
1
|
+
import type { CSSProperties, ReactNode } from 'react';
|
|
14
2
|
type RowProps = {
|
|
15
3
|
children: ReactNode;
|
|
16
4
|
templateColumns: string;
|
|
5
|
+
style?: CSSProperties;
|
|
17
6
|
};
|
|
18
|
-
export declare const InfoTableRow: ({ children, templateColumns }: RowProps) => import("
|
|
7
|
+
export declare const InfoTableRow: ({ children, templateColumns, style, }: RowProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
8
|
export {};
|
|
@@ -1,24 +1,31 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx } from "
|
|
3
|
-
import _styled from "@emotion/styled/base";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import { Row } from "@ultraviolet/ui";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
label: "StyledRow"
|
|
10
|
-
})("border-bottom:1px ", ({
|
|
11
|
-
theme
|
|
12
|
-
}) => theme.colors.neutral.border, " solid;padding-block:", ({
|
|
13
|
-
theme
|
|
14
|
-
}) => theme.space[2], ";:first-of-type{padding-top:0;}:last-of-type{padding-bottom:0;border-bottom-color:transparent;}&>*:not(:last-child){padding-right:", ({
|
|
15
|
-
theme
|
|
16
|
-
}) => theme.space[2], ";}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3BsdXMvc3JjL2NvbXBvbmVudHMvSW5mb1RhYmxlL2NvbXBvbmVudHMvUm93LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNb0MiLCJmaWxlIjoiL2hvbWUvcnVubmVyL3dvcmsvdWx0cmF2aW9sZXQvdWx0cmF2aW9sZXQvcGFja2FnZXMvcGx1cy9zcmMvY29tcG9uZW50cy9JbmZvVGFibGUvY29tcG9uZW50cy9Sb3cudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBjbGllbnQnXG5cbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IHsgUm93IH0gZnJvbSAnQHVsdHJhdmlvbGV0L3VpJ1xuaW1wb3J0IHR5cGUgeyBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCdcblxuZXhwb3J0IGNvbnN0IFN0eWxlZFJvdyA9IHN0eWxlZChSb3cpYFxuICBib3JkZXItYm90dG9tOiAxcHggJHsoeyB0aGVtZSB9KSA9PiB0aGVtZS5jb2xvcnMubmV1dHJhbC5ib3JkZXJ9IHNvbGlkO1xuICBwYWRkaW5nLWJsb2NrOiAkeyh7IHRoZW1lIH0pID0+IHRoZW1lLnNwYWNlWzJdfTtcblxuICA6Zmlyc3Qtb2YtdHlwZSB7XG4gICAgcGFkZGluZy10b3A6IDA7XG4gIH1cblxuICA6bGFzdC1vZi10eXBlIHtcbiAgICBwYWRkaW5nLWJvdHRvbTogMDtcbiAgICBib3JkZXItYm90dG9tLWNvbG9yOiB0cmFuc3BhcmVudDtcblxuICB9XG5cbiAgJiA+ICo6bm90KDpsYXN0LWNoaWxkKSB7XG4gICAgcGFkZGluZy1yaWdodDogJHsoeyB0aGVtZSB9KSA9PiB0aGVtZS5zcGFjZVsyXX07IC8vIFVzZSB0aGlzIGluc3RlYWQgb2YgZ2FwIHNvIHRoYXQgZWxlbWVudHMgY2FuIGJlIGFsaWduZWQgZXZlbiBpZiB0aGVyZSBpcyBub3QgdGhlIHNhbWUgbnVtYmVyIG9mIGNvbHVtbnNcblxuICB9XG5gXG50eXBlIFJvd1Byb3BzID0ge1xuICBjaGlsZHJlbjogUmVhY3ROb2RlXG4gIHRlbXBsYXRlQ29sdW1uczogc3RyaW5nXG59XG5cbmV4cG9ydCBjb25zdCBJbmZvVGFibGVSb3cgPSAoeyBjaGlsZHJlbiwgdGVtcGxhdGVDb2x1bW5zIH06IFJvd1Byb3BzKSA9PiAoXG4gIDxTdHlsZWRSb3cgdGVtcGxhdGVDb2x1bW5zPXt0ZW1wbGF0ZUNvbHVtbnN9PntjaGlsZHJlbn08L1N0eWxlZFJvdz5cbilcbiJdfQ== */"));
|
|
4
|
+
import { assignInlineVars } from "@vanilla-extract/dynamic";
|
|
5
|
+
import { useContext } from "react";
|
|
6
|
+
import { InfoTableContext } from "../context.js";
|
|
7
|
+
import { infoTableRow, rowWidth } from "../styles.css.js";
|
|
17
8
|
const InfoTableRow = ({
|
|
18
9
|
children,
|
|
19
|
-
templateColumns
|
|
20
|
-
|
|
10
|
+
templateColumns,
|
|
11
|
+
style
|
|
12
|
+
}) => {
|
|
13
|
+
const { width } = useContext(InfoTableContext);
|
|
14
|
+
return /* @__PURE__ */ jsx(
|
|
15
|
+
Row,
|
|
16
|
+
{
|
|
17
|
+
className: infoTableRow,
|
|
18
|
+
style: {
|
|
19
|
+
...assignInlineVars({
|
|
20
|
+
[rowWidth]: width ?? "100%"
|
|
21
|
+
}),
|
|
22
|
+
...style
|
|
23
|
+
},
|
|
24
|
+
templateColumns,
|
|
25
|
+
children
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
};
|
|
21
29
|
export {
|
|
22
|
-
InfoTableRow
|
|
23
|
-
StyledRow
|
|
30
|
+
InfoTableRow
|
|
24
31
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
var rowWidth = "var(--uv_plus_h6pvpm0)";
|
|
3
|
+
var dl = "uv_plus_h6pvpm1";
|
|
4
|
+
var infoTableRow = "uv_plus_h6pvpm2";
|
|
5
|
+
var term = "uv_plus_h6pvpm3";
|
|
6
|
+
var desc = "uv_plus_h6pvpm4";
|
|
7
|
+
var cellText = "uv_plus_h6pvpm5";
|
|
8
|
+
export {
|
|
9
|
+
cellText,
|
|
10
|
+
desc,
|
|
11
|
+
dl,
|
|
12
|
+
infoTableRow,
|
|
13
|
+
rowWidth,
|
|
14
|
+
term
|
|
15
|
+
};
|
|
@@ -4,5 +4,5 @@ type FooterProps = {
|
|
|
4
4
|
onToggleExpand: NavigationProps['onToggleExpand'];
|
|
5
5
|
contentRef: RefObject<HTMLDivElement | null>;
|
|
6
6
|
};
|
|
7
|
-
export declare const Footer: ({ onToggleExpand, contentRef }: FooterProps) => import("
|
|
7
|
+
export declare const Footer: ({ onToggleExpand, contentRef }: FooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1,34 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx } from "
|
|
3
|
-
import _styled from "@emotion/styled/base";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import { ArrowLeftDoubleIcon, ArrowRightDoubleIcon } from "@ultraviolet/icons";
|
|
5
4
|
import { Tooltip, Button } from "@ultraviolet/ui";
|
|
6
5
|
import { useCallback, useState, useEffect, useMemo } from "react";
|
|
7
|
-
import { ANIMATION_DURATION } from "./constants.js";
|
|
8
6
|
import { useNavigation } from "./NavigationProvider.js";
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
target: "e1j950560",
|
|
13
|
-
label: "StickyFooter"
|
|
14
|
-
})("display:flex;width:100%;background:", ({
|
|
15
|
-
theme
|
|
16
|
-
}) => theme.colors.neutral.background, ";border-top:1px solid ", ({
|
|
17
|
-
theme
|
|
18
|
-
}) => theme.colors.neutral.borderWeak, ";padding:", ({
|
|
19
|
-
theme
|
|
20
|
-
}) => `${theme.space["1"]} ${theme.space["2"]}`, ";transition:justify-content ", ANIMATION_DURATION, "ms ease-in-out;box-shadow:", ({
|
|
21
|
-
theme
|
|
22
|
-
}) => theme.shadows.defaultShadow, ';transition:box-shadow 230ms ease-in-out;justify-content:flex-end;&[data-has-overflow-style="false"]{box-shadow:none;border:none;}' + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3BsdXMvc3JjL2NvbXBvbmVudHMvTmF2aWdhdGlvbi9Gb290ZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVcrQiIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay91bHRyYXZpb2xldC91bHRyYXZpb2xldC9wYWNrYWdlcy9wbHVzL3NyYy9jb21wb25lbnRzL05hdmlnYXRpb24vRm9vdGVyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIid1c2UgY2xpZW50J1xuXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCB7IEFycm93TGVmdERvdWJsZUljb24sIEFycm93UmlnaHREb3VibGVJY29uIH0gZnJvbSAnQHVsdHJhdmlvbGV0L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nJvd1JpZ2h0RG91YmxlSWNvbiksXG4gICAgW2V4cGFuZGVkXSxcbiAgKVxuXG4gIGNvbnN0IGxhYmVsID0gdXNlTWVtbyhcbiAgICAoKSA9PlxuICAgICAgZXhwYW5kZWRcbiAgICAgICAgPyBsb2NhbGVzWyduYXZpZ2F0aW9uLmNvbGxhcHNlLmJ1dHRvbiddXG4gICAgICAgIDogbG9jYWxlc1snbmF2aWdhdGlvbi5leHBhbmQuYnV0dG9uJ10sXG4gICAgW2V4cGFuZGVkLCBsb2NhbGVzXSxcbiAgKVxuXG4gIHJldHVybiAoXG4gICAgPFN0aWNreUZvb3RlciBkYXRhLWhhcy1vdmVyZmxvdy1zdHlsZT17Zm9vdGVySGFzT3ZlcmZsb3dTdHlsZX0+XG4gICAgICA8VG9vbHRpcCBwbGFjZW1lbnQ9XCJyaWdodFwiIHRleHQ9e2xhYmVsfT5cbiAgICAgICAgPEJ1dHRvblxuICAgICAgICAgIGFyaWEtbGFiZWw9e2xhYmVsfVxuICAgICAgICAgIG9uQ2xpY2s9eygpID0+IHtcbiAgICAgICAgICAgIHRvZ2dsZUV4cGFuZCgpXG4gICAgICAgICAgICBvblRvZ2dsZUV4cGFuZD8uKCFleHBhbmRlZClcbiAgICAgICAgICB9fVxuICAgICAgICAgIHNlbnRpbWVudD1cIm5ldXRyYWxcIlxuICAgICAgICAgIHNpemU9XCJzbWFsbFwiXG4gICAgICAgICAgdmFyaWFudD1cImdob3N0XCJcbiAgICAgICAgPlxuICAgICAgICAgIDxJY29uIC8+XG4gICAgICAgIDwvQnV0dG9uPlxuICAgICAgPC9Ub29sdGlwPlxuICAgIDwvU3RpY2t5Rm9vdGVyPlxuICApXG59XG4iXX0= */"));
|
|
23
|
-
const Footer = ({
|
|
24
|
-
onToggleExpand,
|
|
25
|
-
contentRef
|
|
26
|
-
}) => {
|
|
27
|
-
const {
|
|
28
|
-
expanded,
|
|
29
|
-
toggleExpand,
|
|
30
|
-
locales
|
|
31
|
-
} = useNavigation();
|
|
7
|
+
import { navigationStickyFooter } from "./styles.css.js";
|
|
8
|
+
const Footer = ({ onToggleExpand, contentRef }) => {
|
|
9
|
+
const { expanded, toggleExpand, locales } = useNavigation();
|
|
32
10
|
const isScrollAtBottom = useCallback(() => {
|
|
33
11
|
if (contentRef.current) {
|
|
34
12
|
if (contentRef.current.scrollTop + contentRef.current.offsetHeight >= contentRef.current.scrollHeight) {
|
|
@@ -38,7 +16,9 @@ const Footer = ({
|
|
|
38
16
|
}
|
|
39
17
|
return true;
|
|
40
18
|
}, [contentRef]);
|
|
41
|
-
const [footerHasOverflowStyle, setFooterHasOverflowStyle] = useState(
|
|
19
|
+
const [footerHasOverflowStyle, setFooterHasOverflowStyle] = useState(
|
|
20
|
+
isScrollAtBottom()
|
|
21
|
+
);
|
|
42
22
|
useEffect(() => {
|
|
43
23
|
const currentContentRef = contentRef.current;
|
|
44
24
|
const scroll = () => {
|
|
@@ -57,12 +37,34 @@ const Footer = ({
|
|
|
57
37
|
useEffect(() => {
|
|
58
38
|
setFooterHasOverflowStyle(isScrollAtBottom());
|
|
59
39
|
}, [isScrollAtBottom]);
|
|
60
|
-
const Icon = useMemo(
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
40
|
+
const Icon = useMemo(
|
|
41
|
+
() => expanded ? ArrowLeftDoubleIcon : ArrowRightDoubleIcon,
|
|
42
|
+
[expanded]
|
|
43
|
+
);
|
|
44
|
+
const label = useMemo(
|
|
45
|
+
() => expanded ? locales["navigation.collapse.button"] : locales["navigation.expand.button"],
|
|
46
|
+
[expanded, locales]
|
|
47
|
+
);
|
|
48
|
+
return /* @__PURE__ */ jsx(
|
|
49
|
+
"div",
|
|
50
|
+
{
|
|
51
|
+
className: navigationStickyFooter({ overflow: footerHasOverflowStyle }),
|
|
52
|
+
children: /* @__PURE__ */ jsx(Tooltip, { placement: "right", text: label, children: /* @__PURE__ */ jsx(
|
|
53
|
+
Button,
|
|
54
|
+
{
|
|
55
|
+
"aria-label": label,
|
|
56
|
+
onClick: () => {
|
|
57
|
+
toggleExpand();
|
|
58
|
+
onToggleExpand?.(!expanded);
|
|
59
|
+
},
|
|
60
|
+
sentiment: "neutral",
|
|
61
|
+
size: "small",
|
|
62
|
+
variant: "ghost",
|
|
63
|
+
children: /* @__PURE__ */ jsx(Icon, {})
|
|
64
|
+
}
|
|
65
|
+
) })
|
|
66
|
+
}
|
|
67
|
+
);
|
|
66
68
|
};
|
|
67
69
|
export {
|
|
68
70
|
Footer
|
|
@@ -2,5 +2,5 @@ import type { NavigationProps } from './types';
|
|
|
2
2
|
type HeaderProps = {
|
|
3
3
|
logo: NavigationProps['logo'];
|
|
4
4
|
};
|
|
5
|
-
export declare const Header: import("react").MemoExoticComponent<({ logo }: HeaderProps) => import("
|
|
5
|
+
export declare const Header: import("react").MemoExoticComponent<({ logo }: HeaderProps) => import("react/jsx-runtime").JSX.Element>;
|
|
6
6
|
export {};
|
|
@@ -1,33 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx } from "
|
|
3
|
-
import _styled from "@emotion/styled/base";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import { Stack } from "@ultraviolet/ui";
|
|
5
4
|
import { memo } from "react";
|
|
6
5
|
import { useNavigation } from "./NavigationProvider.js";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
label: "LogoContainer"
|
|
20
|
-
})("margin:", ({
|
|
21
|
-
theme
|
|
22
|
-
}) => `${theme.space["3"]} ${theme.space["3"]} ${theme.space["2"]} ${theme.space["3"]}`, ";max-width:220px;height:22px;overflow:hidden;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2V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1xuYFxuXG50eXBlIEhlYWRlclByb3BzID0ge1xuICBsb2dvOiBOYXZpZ2F0aW9uUHJvcHNbJ2xvZ28nXVxufVxuXG5leHBvcnQgY29uc3QgSGVhZGVyID0gbWVtbygoeyBsb2dvIH06IEhlYWRlclByb3BzKSA9PiB7XG4gIGNvbnN0IHsgYW5pbWF0aW9uLCBleHBhbmRlZCB9ID0gdXNlTmF2aWdhdGlvbigpXG5cbiAgcmV0dXJuIChcbiAgICA8SGVhZGVyQ29udGFpbmVyPlxuICAgICAgPExvZ29Db250YWluZXJcbiAgICAgICAgYWxpZ25JdGVtcz1cInN0YXJ0XCJcbiAgICAgICAganVzdGlmeUNvbnRlbnQ9eyFleHBhbmRlZCA/ICdjZW50ZXInIDogdW5kZWZpbmVkfVxuICAgICAgPlxuICAgICAgICB7dHlwZW9mIGxvZ28gPT09ICdmdW5jdGlvbicgPyBsb2dvKGFuaW1hdGlvbiA/IGZhbHNlIDogZXhwYW5kZWQpIDogbG9nb31cbiAgICAgIDwvTG9nb0NvbnRhaW5lcj5cbiAgICA8L0hlYWRlckNvbnRhaW5lcj5cbiAgKVxufSlcbiJdfQ== */"));
|
|
23
|
-
const Header = memo(({
|
|
24
|
-
logo
|
|
25
|
-
}) => {
|
|
26
|
-
const {
|
|
27
|
-
animation,
|
|
28
|
-
expanded
|
|
29
|
-
} = useNavigation();
|
|
30
|
-
return /* @__PURE__ */ jsx(HeaderContainer, { children: /* @__PURE__ */ jsx(LogoContainer, { alignItems: "start", justifyContent: !expanded ? "center" : void 0, children: typeof logo === "function" ? logo(animation ? false : expanded) : logo }) });
|
|
6
|
+
import { navigationHeader, navigationLogoContainer } from "./styles.css.js";
|
|
7
|
+
const Header = memo(({ logo }) => {
|
|
8
|
+
const { animation, expanded } = useNavigation();
|
|
9
|
+
return /* @__PURE__ */ jsx("div", { className: navigationHeader, children: /* @__PURE__ */ jsx(
|
|
10
|
+
Stack,
|
|
11
|
+
{
|
|
12
|
+
alignItems: "start",
|
|
13
|
+
className: navigationLogoContainer,
|
|
14
|
+
justifyContent: !expanded ? "center" : void 0,
|
|
15
|
+
children: typeof logo === "function" ? logo(animation ? false : expanded) : logo
|
|
16
|
+
}
|
|
17
|
+
) });
|
|
31
18
|
});
|
|
32
19
|
export {
|
|
33
20
|
Header
|
|
@@ -5,12 +5,13 @@ import type { NavigationProps } from './types';
|
|
|
5
5
|
* to make it work in your application.
|
|
6
6
|
*/
|
|
7
7
|
export declare const Navigation: {
|
|
8
|
-
({ children, ...props }: NavigationProps): import("
|
|
9
|
-
Group: ({ children, label }: {
|
|
8
|
+
({ children, ...props }: NavigationProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
Group: ({ children, label, style }: {
|
|
10
10
|
children: import("react").ReactNode;
|
|
11
11
|
label: string;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
style?: import("react").CSSProperties;
|
|
13
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
14
|
+
Item: import("react").MemoExoticComponent<({ children, categoryIcon, label, labelDescription, subLabel, badgeText, badgeSentiment, href, target, rel, onToggle, onClickPinUnpin, toggle, active, noPinButton, type, as, disabled, noExpand, index, id, "data-testid": dataTestId, style, }: {
|
|
14
15
|
children?: import("react").ReactNode;
|
|
15
16
|
categoryIcon?: import("react").ReactNode;
|
|
16
17
|
label: string;
|
|
@@ -33,12 +34,14 @@ export declare const Navigation: {
|
|
|
33
34
|
noExpand?: boolean;
|
|
34
35
|
disabled?: boolean;
|
|
35
36
|
'data-testid'?: string;
|
|
36
|
-
|
|
37
|
-
|
|
37
|
+
style?: import("react").CSSProperties;
|
|
38
|
+
}) => import("react/jsx-runtime").JSX.Element | null>;
|
|
39
|
+
PinnedItems: ({ toggle, onReorder, onToggle, itemWrapper, style, }: {
|
|
38
40
|
toggle?: boolean;
|
|
39
41
|
onToggle?: (toggle: boolean) => void;
|
|
40
42
|
onReorder?: (pinnedItems: string[]) => void;
|
|
41
43
|
itemWrapper?: (item: import("react").ReactElement, itemId: string) => import("react").ReactElement;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
style?: import("react").CSSProperties;
|
|
45
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
46
|
+
Separator: () => import("react/jsx-runtime").JSX.Element;
|
|
44
47
|
};
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx } from "
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { Group } from "./components/Group.js";
|
|
4
4
|
import { Item } from "./components/Item.js";
|
|
5
5
|
import { PinnedItems } from "./components/PinnedItems.js";
|
|
6
6
|
import { Separator } from "./components/Separator.js";
|
|
7
7
|
import { NavigationContent } from "./NavigationContent.js";
|
|
8
|
-
const Navigation = ({
|
|
9
|
-
children,
|
|
10
|
-
...props
|
|
11
|
-
}) => /* @__PURE__ */ jsx(NavigationContent, { ...props, children });
|
|
8
|
+
const Navigation = ({ children, ...props }) => /* @__PURE__ */ jsx(NavigationContent, { ...props, children });
|
|
12
9
|
Navigation.Group = Group;
|
|
13
10
|
Navigation.Item = Item;
|
|
14
11
|
Navigation.PinnedItems = PinnedItems;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { NavigationProps } from './types';
|
|
2
|
-
export declare const NavigationContent: ({ children, logo, onWidthResize, className, "data-testid": dataTestId, id, onToggleExpand, }: NavigationProps) => import("
|
|
2
|
+
export declare const NavigationContent: ({ children, logo, onWidthResize, className, "data-testid": dataTestId, id, onToggleExpand, }: NavigationProps) => import("react/jsx-runtime").JSX.Element;
|