@ultraviolet/plus 3.4.5 → 3.5.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/.vite/license.md +3 -0
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/defineProperty.js +15 -0
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/objectSpread2.js +28 -0
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/objectWithoutProperties.js +18 -0
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/objectWithoutPropertiesLoose.js +15 -0
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/toPrimitive.js +17 -0
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/toPropertyKey.js +12 -0
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/typeof.js +14 -0
- package/dist/_virtual/_rolldown/runtime.js +9 -0
- package/dist/components/CodeEditor/CodeEditor.d.ts +1 -1
- package/dist/components/CodeEditor/CodeEditor.d.ts.map +1 -1
- package/dist/components/CodeEditor/CodeEditor.js +111 -137
- package/dist/components/CodeEditor/styles.css.js +18 -15
- package/dist/components/ContentCard/Skeleton.d.ts.map +1 -1
- package/dist/components/ContentCard/Skeleton.js +31 -27
- package/dist/components/ContentCard/index.js +107 -140
- package/dist/components/ContentCard/styles.css.d.ts +1 -1
- package/dist/components/ContentCard/styles.css.js +24 -19
- package/dist/components/ContentCardGroup/Card.js +55 -69
- package/dist/components/ContentCardGroup/SkeletonCard.js +28 -14
- package/dist/components/ContentCardGroup/index.d.ts +7 -7
- package/dist/components/ContentCardGroup/index.js +20 -25
- package/dist/components/ContentCardGroup/styles.css.js +6 -11
- package/dist/components/Conversation/index.d.ts +29 -23
- package/dist/components/Conversation/index.d.ts.map +1 -1
- package/dist/components/Conversation/index.js +46 -48
- package/dist/components/Conversation/styles.css.js +18 -13
- package/dist/components/CustomerSatisfaction/assets/1-5.js +5 -0
- package/dist/components/CustomerSatisfaction/assets/1-5NB.js +5 -0
- package/dist/components/CustomerSatisfaction/assets/2-5.js +5 -0
- package/dist/components/CustomerSatisfaction/assets/2-5NB.js +5 -0
- package/dist/components/CustomerSatisfaction/assets/3-5.js +5 -0
- package/dist/components/CustomerSatisfaction/assets/3-5NB.js +5 -0
- package/dist/components/CustomerSatisfaction/assets/4-5.js +5 -0
- package/dist/components/CustomerSatisfaction/assets/4-5NB.js +5 -0
- package/dist/components/CustomerSatisfaction/assets/5-5.js +5 -0
- package/dist/components/CustomerSatisfaction/assets/5-5NB.js +5 -0
- package/dist/components/CustomerSatisfaction/index.d.ts +1 -1
- package/dist/components/CustomerSatisfaction/index.d.ts.map +1 -1
- package/dist/components/CustomerSatisfaction/index.js +85 -100
- package/dist/components/CustomerSatisfaction/styles.css.js +18 -6
- package/dist/components/EstimateCost/Components/CustomUnitInput.d.ts.map +1 -1
- package/dist/components/EstimateCost/Components/CustomUnitInput.js +39 -52
- package/dist/components/EstimateCost/Components/Item.d.ts.map +1 -1
- package/dist/components/EstimateCost/Components/Item.js +223 -323
- package/dist/components/EstimateCost/Components/LineThrough.d.ts.map +1 -1
- package/dist/components/EstimateCost/Components/LineThrough.js +16 -16
- package/dist/components/EstimateCost/Components/NumberInput.d.ts.map +1 -1
- package/dist/components/EstimateCost/Components/NumberInput.js +33 -37
- package/dist/components/EstimateCost/Components/Region.d.ts.map +1 -1
- package/dist/components/EstimateCost/Components/Region.js +34 -57
- package/dist/components/EstimateCost/Components/Regular.d.ts.map +1 -1
- package/dist/components/EstimateCost/Components/Regular.js +21 -26
- package/dist/components/EstimateCost/Components/Strong.d.ts.map +1 -1
- package/dist/components/EstimateCost/Components/Strong.js +14 -19
- package/dist/components/EstimateCost/Components/Unit.d.ts.map +1 -1
- package/dist/components/EstimateCost/Components/Unit.js +47 -40
- package/dist/components/EstimateCost/Components/Zone.d.ts.map +1 -1
- package/dist/components/EstimateCost/Components/Zone.js +33 -55
- package/dist/components/EstimateCost/Components/components.css.js +122 -86
- package/dist/components/EstimateCost/EstimateCost.d.ts +138 -121
- package/dist/components/EstimateCost/EstimateCost.d.ts.map +1 -1
- package/dist/components/EstimateCost/EstimateCost.js +79 -124
- package/dist/components/EstimateCost/EstimateCostContent.d.ts.map +1 -1
- package/dist/components/EstimateCost/EstimateCostContent.js +284 -394
- package/dist/components/EstimateCost/EstimateCostProvider.d.ts +1 -1
- package/dist/components/EstimateCost/EstimateCostProvider.d.ts.map +1 -1
- package/dist/components/EstimateCost/EstimateCostProvider.js +30 -37
- package/dist/components/EstimateCost/OverlayComponent.d.ts.map +1 -1
- package/dist/components/EstimateCost/OverlayComponent.js +95 -93
- package/dist/components/EstimateCost/OverlayContext.d.ts.map +1 -1
- package/dist/components/EstimateCost/OverlayContext.js +12 -10
- package/dist/components/EstimateCost/constants.js +19 -21
- package/dist/components/EstimateCost/helper.d.ts +2 -2
- package/dist/components/EstimateCost/helper.d.ts.map +1 -1
- package/dist/components/EstimateCost/helper.js +9 -14
- package/dist/components/EstimateCost/locales/en.js +24 -23
- package/dist/components/EstimateCost/styles.css.d.ts +2 -2
- package/dist/components/EstimateCost/styles.css.js +50 -36
- package/dist/components/EstimateCost/types.d.ts +1 -1
- package/dist/components/EstimateCost/types.d.ts.map +1 -1
- package/dist/components/FAQ/index.d.ts.map +1 -1
- package/dist/components/FAQ/index.js +37 -31
- package/dist/components/FAQ/styles.css.js +6 -4
- package/dist/components/InfoTable/InfoTable.d.ts +10 -13
- package/dist/components/InfoTable/InfoTable.d.ts.map +1 -1
- package/dist/components/InfoTable/InfoTable.js +24 -15
- package/dist/components/InfoTable/components/Cell.d.ts.map +1 -1
- package/dist/components/InfoTable/components/Cell.js +37 -45
- package/dist/components/InfoTable/components/Row.d.ts.map +1 -1
- package/dist/components/InfoTable/components/Row.js +19 -27
- package/dist/components/InfoTable/context.d.ts +1 -1
- package/dist/components/InfoTable/context.d.ts.map +1 -1
- package/dist/components/InfoTable/context.js +5 -3
- package/dist/components/InfoTable/styles.css.js +6 -10
- package/dist/components/Navigation/Footer.d.ts.map +1 -1
- package/dist/components/Navigation/Footer.js +59 -75
- package/dist/components/Navigation/Header.d.ts.map +1 -1
- package/dist/components/Navigation/Header.js +20 -17
- package/dist/components/Navigation/Navigation.d.ts +46 -43
- package/dist/components/Navigation/Navigation.d.ts.map +1 -1
- package/dist/components/Navigation/Navigation.js +23 -27
- package/dist/components/Navigation/NavigationContent.d.ts +1 -1
- package/dist/components/Navigation/NavigationContent.d.ts.map +1 -1
- package/dist/components/Navigation/NavigationContent.js +100 -138
- package/dist/components/Navigation/NavigationProvider.d.ts.map +1 -1
- package/dist/components/Navigation/NavigationProvider.js +116 -165
- package/dist/components/Navigation/components/Group.d.ts.map +1 -1
- package/dist/components/Navigation/components/Group.js +36 -43
- package/dist/components/Navigation/components/Item.d.ts +1 -1
- package/dist/components/Navigation/components/Item.d.ts.map +1 -1
- package/dist/components/Navigation/components/Item.js +440 -607
- package/dist/components/Navigation/components/ItemProvider.d.ts.map +1 -1
- package/dist/components/Navigation/components/ItemProvider.js +13 -8
- package/dist/components/Navigation/components/PinnedItems.d.ts.map +1 -1
- package/dist/components/Navigation/components/PinnedItems.js +101 -132
- package/dist/components/Navigation/components/Separator.js +10 -7
- package/dist/components/Navigation/components/ShowHide.d.ts +1 -1
- package/dist/components/Navigation/components/ShowHide.d.ts.map +1 -1
- package/dist/components/Navigation/components/ShowHide.js +51 -75
- package/dist/components/Navigation/components/items.css.js +72 -30
- package/dist/components/Navigation/components/styles.css.js +23 -13
- package/dist/components/Navigation/locales/en.js +12 -11
- package/dist/components/Navigation/styles.css.js +29 -14
- package/dist/components/Navigation/variables.css.js +4 -4
- package/dist/components/OfferList/OfferList.d.ts +5 -51
- package/dist/components/OfferList/OfferList.d.ts.map +1 -1
- package/dist/components/OfferList/OfferList.js +11 -78
- package/dist/components/OrderSummary/index.d.ts +5 -2
- package/dist/components/OrderSummary/index.d.ts.map +1 -1
- package/dist/components/OrderSummary/index.js +11 -204
- package/dist/components/Plans/index.d.ts +5 -21
- package/dist/components/Plans/index.d.ts.map +1 -1
- package/dist/components/Plans/index.js +11 -214
- package/dist/components/SteppedListCard/index.d.ts +5 -1
- package/dist/components/SteppedListCard/index.d.ts.map +1 -1
- package/dist/components/SteppedListCard/index.js +11 -0
- package/dist/index.js +5 -21
- package/dist/plus.css +2 -1
- package/package.json +8 -7
- package/LICENSE +0 -189
- package/dist/components/CustomerSatisfaction/assets/1-5.svg.js +0 -4
- package/dist/components/CustomerSatisfaction/assets/1-5NB.svg.js +0 -4
- package/dist/components/CustomerSatisfaction/assets/2-5.svg.js +0 -4
- package/dist/components/CustomerSatisfaction/assets/2-5NB.svg.js +0 -4
- package/dist/components/CustomerSatisfaction/assets/3-5.svg.js +0 -4
- package/dist/components/CustomerSatisfaction/assets/3-5NB.svg.js +0 -4
- package/dist/components/CustomerSatisfaction/assets/4-5.svg.js +0 -4
- package/dist/components/CustomerSatisfaction/assets/4-5NB.svg.js +0 -4
- package/dist/components/CustomerSatisfaction/assets/5-5.svg.js +0 -4
- package/dist/components/CustomerSatisfaction/assets/5-5NB.svg.js +0 -4
- package/dist/components/Navigation/constants.js +0 -10
- package/dist/components/OfferList/OfferListProvider.d.ts +0 -30
- package/dist/components/OfferList/OfferListProvider.d.ts.map +0 -1
- package/dist/components/OfferList/OfferListProvider.js +0 -48
- package/dist/components/OfferList/components/Banner.d.ts +0 -13
- package/dist/components/OfferList/components/Banner.d.ts.map +0 -1
- package/dist/components/OfferList/components/Banner.js +0 -43
- package/dist/components/OfferList/components/Cell.d.ts +0 -4
- package/dist/components/OfferList/components/Cell.d.ts.map +0 -1
- package/dist/components/OfferList/components/Cell.js +0 -35
- package/dist/components/OfferList/components/OfferListRowProvider.d.ts +0 -9
- package/dist/components/OfferList/components/OfferListRowProvider.d.ts.map +0 -1
- package/dist/components/OfferList/components/OfferListRowProvider.js +0 -10
- package/dist/components/OfferList/components/Row.d.ts +0 -18
- package/dist/components/OfferList/components/Row.d.ts.map +0 -1
- package/dist/components/OfferList/components/Row.js +0 -258
- package/dist/components/OfferList/styles.css.d.ts +0 -44
- package/dist/components/OfferList/styles.css.d.ts.map +0 -1
- package/dist/components/OfferList/styles.css.js +0 -40
- package/dist/components/OrderSummary/NonScrollableContent.d.ts +0 -20
- package/dist/components/OrderSummary/NonScrollableContent.d.ts.map +0 -1
- package/dist/components/OrderSummary/NonScrollableContent.js +0 -136
- package/dist/components/OrderSummary/Provider.d.ts +0 -15
- package/dist/components/OrderSummary/Provider.d.ts.map +0 -1
- package/dist/components/OrderSummary/Provider.js +0 -15
- package/dist/components/OrderSummary/ScrollableContent.d.ts +0 -2
- package/dist/components/OrderSummary/ScrollableContent.d.ts.map +0 -1
- package/dist/components/OrderSummary/ScrollableContent.js +0 -314
- package/dist/components/OrderSummary/constants.d.ts +0 -3
- package/dist/components/OrderSummary/constants.d.ts.map +0 -1
- package/dist/components/OrderSummary/constants.js +0 -18
- package/dist/components/OrderSummary/helpers.d.ts +0 -28
- package/dist/components/OrderSummary/helpers.d.ts.map +0 -1
- package/dist/components/OrderSummary/helpers.js +0 -156
- package/dist/components/OrderSummary/locales/en.d.ts +0 -11
- package/dist/components/OrderSummary/locales/en.d.ts.map +0 -1
- package/dist/components/OrderSummary/locales/en.js +0 -12
- package/dist/components/OrderSummary/styles.css.d.ts +0 -21
- package/dist/components/OrderSummary/styles.css.d.ts.map +0 -1
- package/dist/components/OrderSummary/styles.css.js +0 -26
- package/dist/components/OrderSummary/types.d.ts +0 -125
- package/dist/components/OrderSummary/types.d.ts.map +0 -1
- package/dist/components/Plans/FeatureHint.d.ts +0 -7
- package/dist/components/Plans/FeatureHint.d.ts.map +0 -1
- package/dist/components/Plans/FeatureHint.js +0 -42
- package/dist/components/Plans/PlanHeader.d.ts +0 -14
- package/dist/components/Plans/PlanHeader.d.ts.map +0 -1
- package/dist/components/Plans/PlanHeader.js +0 -96
- package/dist/components/Plans/locales/en.d.ts +0 -7
- package/dist/components/Plans/locales/en.d.ts.map +0 -1
- package/dist/components/Plans/locales/en.js +0 -8
- package/dist/components/Plans/styles.css.d.ts +0 -67
- package/dist/components/Plans/styles.css.d.ts.map +0 -1
- package/dist/components/Plans/styles.css.js +0 -26
- package/dist/components/Plans/types.d.ts +0 -38
- package/dist/components/Plans/types.d.ts.map +0 -1
- package/dist/components/SteppedListCard/Step.d.ts +0 -23
- package/dist/components/SteppedListCard/Step.d.ts.map +0 -1
- package/dist/components/SteppedListCard/Step.js +0 -61
- package/dist/components/SteppedListCard/SteppedListCard.d.ts +0 -69
- package/dist/components/SteppedListCard/SteppedListCard.d.ts.map +0 -1
- package/dist/components/SteppedListCard/SteppedListCard.js +0 -105
- package/dist/components/SteppedListCard/SteppedListContent.d.ts +0 -12
- package/dist/components/SteppedListCard/SteppedListContent.d.ts.map +0 -1
- package/dist/components/SteppedListCard/SteppedListContent.js +0 -53
- package/dist/components/SteppedListCard/helper.d.ts +0 -27
- package/dist/components/SteppedListCard/helper.d.ts.map +0 -1
- package/dist/components/SteppedListCard/helper.js +0 -41
- package/dist/components/SteppedListCard/styles.css.d.ts +0 -9
- package/dist/components/SteppedListCard/styles.css.d.ts.map +0 -1
- package/dist/components/SteppedListCard/styles.css.js +0 -19
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/Navigation/components/ItemProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKtC,eAAO,MAAM,WAAW,kCAAuB,CAAA;AAE/C,KAAK,iBAAiB,GAAG;IACvB,QAAQ,EAAE,SAAS,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"ItemProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/Navigation/components/ItemProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKtC,eAAO,MAAM,WAAW,kCAAuB,CAAA;AAE/C,KAAK,iBAAiB,GAAG;IACvB,QAAQ,EAAE,SAAS,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,YAAY,8EAIxB,CAAA"}
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
'use client';
|
|
2
|
+
import { __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
3
3
|
import { createContext, useMemo } from "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/Navigation/components/ItemProvider.tsx
|
|
4
7
|
const ItemContext = createContext(false);
|
|
5
8
|
const ItemProvider = ({ children }) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
ItemProvider
|
|
9
|
+
const value = useMemo(() => true, []);
|
|
10
|
+
return /* @__PURE__ */ jsx(ItemContext.Provider, {
|
|
11
|
+
value,
|
|
12
|
+
children
|
|
13
|
+
});
|
|
12
14
|
};
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { ItemContext, ItemProvider };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PinnedItems.d.ts","sourceRoot":"","sources":["../../../../src/components/Navigation/components/PinnedItems.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAa,YAAY,EAAE,MAAM,OAAO,CAAA;AAWnE,KAAK,gBAAgB,GAAG;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAA;IACpC;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IAC3C;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,KAAK,YAAY,CAAA;IAClE,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"PinnedItems.d.ts","sourceRoot":"","sources":["../../../../src/components/Navigation/components/PinnedItems.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAa,YAAY,EAAE,MAAM,OAAO,CAAA;AAWnE,KAAK,gBAAgB,GAAG;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAA;IACpC;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IAC3C;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,KAAK,YAAY,CAAA;IAClE,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,WAAW,4HAiJvB,CAAA"}
|
|
@@ -1,136 +1,105 @@
|
|
|
1
|
-
|
|
1
|
+
'use client';
|
|
2
|
+
import { __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
3
|
+
import { _objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.113.0/helpers/objectSpread2.js";
|
|
4
|
+
import { useNavigation } from "../NavigationProvider.js";
|
|
5
|
+
import { navigationPinnedItemContainer, navigationPinnedItemDropableArea, navigationPinnedItemRelativeDiv } from "./styles.css.js";
|
|
6
|
+
import { Item } from "./Item.js";
|
|
7
|
+
import { Text } from "@ultraviolet/ui";
|
|
8
|
+
import { useCallback } from "react";
|
|
2
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
10
|
import { PinCategoryIcon } from "@ultraviolet/icons/category";
|
|
4
11
|
import { useTheme } from "@ultraviolet/themes";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const
|
|
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
|
-
return /* @__PURE__ */ jsxs("div", { className: navigationPinnedItemRelativeDiv, children: [
|
|
96
|
-
/* @__PURE__ */ jsx(
|
|
97
|
-
"div",
|
|
98
|
-
{
|
|
99
|
-
className: navigationPinnedItemDropableArea,
|
|
100
|
-
onDragLeave,
|
|
101
|
-
onDragOver,
|
|
102
|
-
onDrop: (event) => onDrop(event, index)
|
|
103
|
-
}
|
|
104
|
-
),
|
|
105
|
-
itemWrapper ? itemWrapper(itemElement, itemId) : itemElement
|
|
106
|
-
] }, itemId);
|
|
107
|
-
}
|
|
108
|
-
return null;
|
|
109
|
-
}) : /* @__PURE__ */ jsx("div", { className: navigationPinnedItemContainer({ expanded }), children: /* @__PURE__ */ jsx(
|
|
110
|
-
Text,
|
|
111
|
-
{
|
|
112
|
-
as: "p",
|
|
113
|
-
prominence: "weak",
|
|
114
|
-
sentiment: "neutral",
|
|
115
|
-
variant: "caption",
|
|
116
|
-
children: locales["navigation.pinned.item.group.empty"]
|
|
117
|
-
}
|
|
118
|
-
) }),
|
|
119
|
-
/* @__PURE__ */ jsx("div", { className: navigationPinnedItemRelativeDiv, children: /* @__PURE__ */ jsx(
|
|
120
|
-
"div",
|
|
121
|
-
{
|
|
122
|
-
className: navigationPinnedItemDropableArea,
|
|
123
|
-
onDragLeave,
|
|
124
|
-
onDragOver,
|
|
125
|
-
onDrop: (event) => onDrop(event, pinnedItems.length)
|
|
126
|
-
}
|
|
127
|
-
) })
|
|
128
|
-
]
|
|
129
|
-
}
|
|
130
|
-
) });
|
|
131
|
-
}
|
|
132
|
-
return null;
|
|
133
|
-
};
|
|
134
|
-
export {
|
|
135
|
-
PinnedItems
|
|
12
|
+
|
|
13
|
+
//#region src/components/Navigation/components/PinnedItems.tsx
|
|
14
|
+
const PinnedItems = ({ toggle = true, onReorder, onToggle, itemWrapper, style }) => {
|
|
15
|
+
const context = useNavigation();
|
|
16
|
+
if (!context) throw new Error("Navigation.PinnedItems can only be used inside a NavigationProvider.");
|
|
17
|
+
const { locales, pinnedItems, pinnedFeature, reorderItems, expanded, items, animation, showHide } = context;
|
|
18
|
+
const theme = useTheme();
|
|
19
|
+
const onDrop = useCallback((event, index) => {
|
|
20
|
+
event.preventDefault();
|
|
21
|
+
if (event === null || event === void 0 ? void 0 : event.dataTransfer) {
|
|
22
|
+
event.currentTarget.style.borderColor = "transparent";
|
|
23
|
+
const data = JSON.parse(event.dataTransfer.getData("text"));
|
|
24
|
+
if (data.index === index - 1 || index > data.index) {
|
|
25
|
+
const newItems = reorderItems(data.index, index - 1);
|
|
26
|
+
onReorder === null || onReorder === void 0 || onReorder(newItems);
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
const newItems = reorderItems(data.index, index);
|
|
30
|
+
onReorder === null || onReorder === void 0 || onReorder(newItems);
|
|
31
|
+
}
|
|
32
|
+
}, [onReorder, reorderItems]);
|
|
33
|
+
const onDragOver = useCallback((event) => {
|
|
34
|
+
event.preventDefault();
|
|
35
|
+
event.currentTarget.style.borderColor = theme.colors.primary.border;
|
|
36
|
+
}, [theme.colors.primary.border]);
|
|
37
|
+
const onDragLeave = useCallback((event) => {
|
|
38
|
+
event.preventDefault();
|
|
39
|
+
event.currentTarget.style.borderColor = "transparent";
|
|
40
|
+
}, []);
|
|
41
|
+
if (Object.keys(items).length === 0) return null;
|
|
42
|
+
if (pinnedFeature && showHide !== "hide") return /* @__PURE__ */ jsx("div", {
|
|
43
|
+
style: _objectSpread2({ width: animation ? "100%" : void 0 }, style),
|
|
44
|
+
children: /* @__PURE__ */ jsxs(Item, {
|
|
45
|
+
categoryIcon: /* @__PURE__ */ jsx(PinCategoryIcon, { variant: "neutral" }),
|
|
46
|
+
"data-testid": "pinned-group",
|
|
47
|
+
id: "pinned-group",
|
|
48
|
+
label: locales["navigation.pinned.item.group.label"],
|
|
49
|
+
onToggle,
|
|
50
|
+
toggle,
|
|
51
|
+
type: "pinnedGroup",
|
|
52
|
+
children: [pinnedItems.length > 0 ? pinnedItems.map((itemId, index) => {
|
|
53
|
+
var _items$itemId;
|
|
54
|
+
if ((_items$itemId = items[itemId]) === null || _items$itemId === void 0 ? void 0 : _items$itemId.label) {
|
|
55
|
+
var _items$itemId$active;
|
|
56
|
+
var _items$itemId2;
|
|
57
|
+
var _items$itemId$onClick;
|
|
58
|
+
var _items$itemId3;
|
|
59
|
+
var _items$itemId4;
|
|
60
|
+
const itemElement = /* @__PURE__ */ jsx(Item, {
|
|
61
|
+
active: (_items$itemId$active = (_items$itemId2 = items[itemId]) === null || _items$itemId2 === void 0 ? void 0 : _items$itemId2.active) !== null && _items$itemId$active !== void 0 ? _items$itemId$active : false,
|
|
62
|
+
id: itemId,
|
|
63
|
+
index,
|
|
64
|
+
label: items[itemId].label,
|
|
65
|
+
onClickPinUnpin: (_items$itemId$onClick = (_items$itemId3 = items[itemId]) === null || _items$itemId3 === void 0 ? void 0 : _items$itemId3.onClickPinUnpin) !== null && _items$itemId$onClick !== void 0 ? _items$itemId$onClick : void 0,
|
|
66
|
+
onToggle: (_items$itemId4 = items[itemId]) === null || _items$itemId4 === void 0 ? void 0 : _items$itemId4.onToggle,
|
|
67
|
+
toggle,
|
|
68
|
+
type: "pinned"
|
|
69
|
+
}, itemId);
|
|
70
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
71
|
+
className: navigationPinnedItemRelativeDiv,
|
|
72
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
73
|
+
className: navigationPinnedItemDropableArea,
|
|
74
|
+
onDragLeave,
|
|
75
|
+
onDragOver,
|
|
76
|
+
onDrop: (event) => onDrop(event, index)
|
|
77
|
+
}), itemWrapper ? itemWrapper(itemElement, itemId) : itemElement]
|
|
78
|
+
}, itemId);
|
|
79
|
+
}
|
|
80
|
+
return null;
|
|
81
|
+
}) : /* @__PURE__ */ jsx("div", {
|
|
82
|
+
className: navigationPinnedItemContainer({ expanded }),
|
|
83
|
+
children: /* @__PURE__ */ jsx(Text, {
|
|
84
|
+
as: "p",
|
|
85
|
+
prominence: "weak",
|
|
86
|
+
sentiment: "neutral",
|
|
87
|
+
variant: "caption",
|
|
88
|
+
children: locales["navigation.pinned.item.group.empty"]
|
|
89
|
+
})
|
|
90
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
91
|
+
className: navigationPinnedItemRelativeDiv,
|
|
92
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
93
|
+
className: navigationPinnedItemDropableArea,
|
|
94
|
+
onDragLeave,
|
|
95
|
+
onDragOver,
|
|
96
|
+
onDrop: (event) => onDrop(event, pinnedItems.length)
|
|
97
|
+
})
|
|
98
|
+
})]
|
|
99
|
+
})
|
|
100
|
+
});
|
|
101
|
+
return null;
|
|
136
102
|
};
|
|
103
|
+
|
|
104
|
+
//#endregion
|
|
105
|
+
export { PinnedItems };
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import { Separator as Separator$1 } from "@ultraviolet/ui";
|
|
1
|
+
'use client';
|
|
2
|
+
import { __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
4
3
|
import { navigationSeparator } from "./styles.css.js";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
import { Separator } from "@ultraviolet/ui";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/Navigation/components/Separator.tsx
|
|
8
|
+
const Separator$1 = /* @__PURE__ */ __name(() => /* @__PURE__ */ jsx(Separator, { className: navigationSeparator }), "Separator");
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { Separator$1 as Separator };
|
|
@@ -11,6 +11,6 @@ type ShowAllProp = {
|
|
|
11
11
|
'data-testid'?: string;
|
|
12
12
|
style?: CSSProperties;
|
|
13
13
|
};
|
|
14
|
-
export declare const ShowHide: import("react").MemoExoticComponent<({ showContent, hideContent, onShowHide, tooltip,
|
|
14
|
+
export declare const ShowHide: import("react").MemoExoticComponent<({ showContent, hideContent, onShowHide, tooltip, 'data-testid': dataTestId, style, }: ShowAllProp) => import("react/jsx-runtime").JSX.Element>;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=ShowHide.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShowHide.d.ts","sourceRoot":"","sources":["../../../../src/components/Navigation/components/ShowHide.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKrD,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,SAAS,CAAA;IACtB,WAAW,EAAE,SAAS,CAAA;IACtB,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAA;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"ShowHide.d.ts","sourceRoot":"","sources":["../../../../src/components/Navigation/components/ShowHide.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKrD,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,SAAS,CAAA;IACtB,WAAW,EAAE,SAAS,CAAA;IACtB,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAA;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,QAAQ,qLAgEpB,CAAA"}
|
|
@@ -1,77 +1,53 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import { ArrowDownIcon } from "@ultraviolet/icons/ArrowDownIcon";
|
|
4
|
-
import { ArrowUpIcon } from "@ultraviolet/icons/ArrowUpIcon";
|
|
5
|
-
import { Stack, Button } from "@ultraviolet/ui";
|
|
6
|
-
import { memo, useState } from "react";
|
|
1
|
+
'use client';
|
|
2
|
+
import { __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
7
3
|
import { useNavigation } from "../NavigationProvider.js";
|
|
8
4
|
import { navigationShowHideStack } from "./styles.css.js";
|
|
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
|
-
style,
|
|
59
|
-
children: /* @__PURE__ */ jsx(
|
|
60
|
-
Button,
|
|
61
|
-
{
|
|
62
|
-
"data-testid": dataTestId,
|
|
63
|
-
onClick,
|
|
64
|
-
sentiment: "primary",
|
|
65
|
-
size: "small",
|
|
66
|
-
tooltip,
|
|
67
|
-
variant: "ghost",
|
|
68
|
-
children: computedShown ? /* @__PURE__ */ jsx(ArrowUpIcon, {}) : /* @__PURE__ */ jsx(ArrowDownIcon, {})
|
|
69
|
-
}
|
|
70
|
-
)
|
|
71
|
-
}
|
|
72
|
-
);
|
|
73
|
-
}
|
|
74
|
-
);
|
|
75
|
-
export {
|
|
76
|
-
ShowHide
|
|
77
|
-
};
|
|
5
|
+
import { ArrowDownIcon } from "@ultraviolet/icons/ArrowDownIcon";
|
|
6
|
+
import { Button, Stack } from "@ultraviolet/ui";
|
|
7
|
+
import { memo, useState } from "react";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
import { ArrowUpIcon } from "@ultraviolet/icons/ArrowUpIcon";
|
|
10
|
+
|
|
11
|
+
//#region src/components/Navigation/components/ShowHide.tsx
|
|
12
|
+
const ShowHide = memo(({ showContent, hideContent, onShowHide, tooltip, "data-testid": dataTestId, style }) => {
|
|
13
|
+
const context = useNavigation();
|
|
14
|
+
if (!context) throw new Error("Navigation.ShowAll can only be used inside a NavigationProvider.");
|
|
15
|
+
const { expanded, showHide } = context;
|
|
16
|
+
const [computedShown, setIsShown] = useState(showHide === "show");
|
|
17
|
+
const onClick = () => {
|
|
18
|
+
setIsShown(!computedShown);
|
|
19
|
+
onShowHide === null || onShowHide === void 0 || onShowHide(computedShown ? "hide" : "show");
|
|
20
|
+
};
|
|
21
|
+
if (expanded) return /* @__PURE__ */ jsx(Stack, {
|
|
22
|
+
className: navigationShowHideStack,
|
|
23
|
+
justifyContent: "flex-end",
|
|
24
|
+
style,
|
|
25
|
+
children: /* @__PURE__ */ jsx(Button, {
|
|
26
|
+
"data-testid": dataTestId,
|
|
27
|
+
onClick,
|
|
28
|
+
sentiment: "primary",
|
|
29
|
+
size: "small",
|
|
30
|
+
style,
|
|
31
|
+
variant: "ghost",
|
|
32
|
+
children: computedShown ? hideContent : showContent
|
|
33
|
+
})
|
|
34
|
+
});
|
|
35
|
+
return /* @__PURE__ */ jsx(Stack, {
|
|
36
|
+
alignItems: "center",
|
|
37
|
+
className: navigationShowHideStack,
|
|
38
|
+
justifyContent: "flex-end",
|
|
39
|
+
style,
|
|
40
|
+
children: /* @__PURE__ */ jsx(Button, {
|
|
41
|
+
"data-testid": dataTestId,
|
|
42
|
+
onClick,
|
|
43
|
+
sentiment: "primary",
|
|
44
|
+
size: "small",
|
|
45
|
+
tooltip,
|
|
46
|
+
variant: "ghost",
|
|
47
|
+
children: computedShown ? /* @__PURE__ */ jsx(ArrowUpIcon, {}) : /* @__PURE__ */ jsx(ArrowDownIcon, {})
|
|
48
|
+
})
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
//#endregion
|
|
53
|
+
export { ShowHide };
|
|
@@ -1,45 +1,87 @@
|
|
|
1
|
-
/* empty css
|
|
2
|
-
/* empty css
|
|
1
|
+
/* empty css */
|
|
2
|
+
/* empty css */
|
|
3
3
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
4
|
+
|
|
5
|
+
//#region src/components/Navigation/components/items.css.ts
|
|
4
6
|
var navigationItemMenuContainer = "uv_plus_x6an4g0";
|
|
5
7
|
var navigationItemRelative = "uv_plus_x6an4g1";
|
|
6
8
|
var navigationItemPadded = "uv_plus_x6an4g2";
|
|
7
|
-
var navigationItemPinIcon = {
|
|
9
|
+
var navigationItemPinIcon = {
|
|
10
|
+
active: "uv_plus_x6an4g4 uv_plus_x6an4g3",
|
|
11
|
+
inactive: "uv_plus_x6an4g5 uv_plus_x6an4g3"
|
|
12
|
+
};
|
|
8
13
|
var navigationItemMenu = "uv_plus_x6an4g6";
|
|
9
14
|
var navigationItemMenuPinned = "uv_plus_x6an4g7";
|
|
10
|
-
var navigationItemContainer = createRuntimeFn({
|
|
11
|
-
|
|
15
|
+
var navigationItemContainer = createRuntimeFn({
|
|
16
|
+
defaultClassName: "uv_plus_x6an4g9 uv_plus_x6an4g8",
|
|
17
|
+
variantClassNames: {
|
|
18
|
+
disabled: { true: "uv_plus_x6an4ga" },
|
|
19
|
+
hasActive: { true: "uv_plus_x6an4gb" },
|
|
20
|
+
isActive: { true: "uv_plus_x6an4gc" },
|
|
21
|
+
noExpand: { false: "uv_plus_x6an4gd" },
|
|
22
|
+
subLabel: { true: "uv_plus_x6an4ge" }
|
|
23
|
+
},
|
|
24
|
+
defaultVariants: {
|
|
25
|
+
disabled: false,
|
|
26
|
+
hasActive: false,
|
|
27
|
+
isActive: false,
|
|
28
|
+
noExpand: false,
|
|
29
|
+
subLabel: false
|
|
30
|
+
},
|
|
31
|
+
compoundVariants: [
|
|
32
|
+
[{
|
|
33
|
+
disabled: false,
|
|
34
|
+
isActive: false,
|
|
35
|
+
noExpand: false
|
|
36
|
+
}, "uv_plus_x6an4gf"],
|
|
37
|
+
[{
|
|
38
|
+
disabled: false,
|
|
39
|
+
hasActive: true,
|
|
40
|
+
isActive: false,
|
|
41
|
+
noExpand: false
|
|
42
|
+
}, "uv_plus_x6an4gg"],
|
|
43
|
+
[{
|
|
44
|
+
disabled: false,
|
|
45
|
+
isActive: false,
|
|
46
|
+
noExpand: false
|
|
47
|
+
}, "uv_plus_x6an4gh"]
|
|
48
|
+
]
|
|
49
|
+
});
|
|
50
|
+
var navigationItemContainerAnimated = {
|
|
51
|
+
collapse: "uv_plus_x6an4gi",
|
|
52
|
+
expand: "uv_plus_x6an4gj"
|
|
53
|
+
};
|
|
12
54
|
var navigationItemShowDraggable = "uv_plus_x6an4gk";
|
|
13
55
|
var navigationItemShowPinButton = "uv_plus_x6an4gl";
|
|
14
56
|
var navigationItemWeakText = "uv_plus_x6an4gm";
|
|
15
57
|
var navigationItemDragIcon = "uv_plus_x6an4gn";
|
|
16
|
-
var navigationItemWrapText = createRuntimeFn({
|
|
58
|
+
var navigationItemWrapText = createRuntimeFn({
|
|
59
|
+
defaultClassName: "uv_plus_x6an4go",
|
|
60
|
+
variantClassNames: {
|
|
61
|
+
disabled: { true: "uv_plus_x6an4gp" },
|
|
62
|
+
weak: { true: "uv_plus_x6an4gq" }
|
|
63
|
+
},
|
|
64
|
+
defaultVariants: {
|
|
65
|
+
disabled: false,
|
|
66
|
+
weak: false
|
|
67
|
+
},
|
|
68
|
+
compoundVariants: []
|
|
69
|
+
});
|
|
17
70
|
var navigationItemBadge = "uv_plus_x6an4gr";
|
|
18
71
|
var navigationItemPinnedButton = "uv_plus_x6an4gs";
|
|
19
|
-
var navigationItemAnimatedIcon = {
|
|
72
|
+
var navigationItemAnimatedIcon = {
|
|
73
|
+
collapse: "uv_plus_x6an4gt",
|
|
74
|
+
expand: "uv_plus_x6an4gu"
|
|
75
|
+
};
|
|
20
76
|
var navigationItemMenuStack = "uv_plus_x6an4gv";
|
|
21
77
|
var navigationItemStackIcon = "uv_plus_x6an4gw";
|
|
22
78
|
var navigationItemCategoryIcon = "uv_plus_x6an4gx";
|
|
23
|
-
var navigationItemPaddingStack = createRuntimeFn({
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
navigationItemMenuContainer,
|
|
33
|
-
navigationItemMenuPinned,
|
|
34
|
-
navigationItemMenuStack,
|
|
35
|
-
navigationItemPadded,
|
|
36
|
-
navigationItemPaddingStack,
|
|
37
|
-
navigationItemPinIcon,
|
|
38
|
-
navigationItemPinnedButton,
|
|
39
|
-
navigationItemRelative,
|
|
40
|
-
navigationItemShowDraggable,
|
|
41
|
-
navigationItemShowPinButton,
|
|
42
|
-
navigationItemStackIcon,
|
|
43
|
-
navigationItemWeakText,
|
|
44
|
-
navigationItemWrapText
|
|
45
|
-
};
|
|
79
|
+
var navigationItemPaddingStack = createRuntimeFn({
|
|
80
|
+
defaultClassName: "uv_plus_x6an4gy",
|
|
81
|
+
variantClassNames: { hide: { true: "uv_plus_x6an4gz" } },
|
|
82
|
+
defaultVariants: {},
|
|
83
|
+
compoundVariants: []
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
//#endregion
|
|
87
|
+
export { navigationItemAnimatedIcon, navigationItemBadge, navigationItemCategoryIcon, navigationItemContainer, navigationItemContainerAnimated, navigationItemDragIcon, navigationItemMenu, navigationItemMenuContainer, navigationItemMenuPinned, navigationItemMenuStack, navigationItemPadded, navigationItemPaddingStack, navigationItemPinIcon, navigationItemPinnedButton, navigationItemRelative, navigationItemShowDraggable, navigationItemShowPinButton, navigationItemStackIcon, navigationItemWeakText, navigationItemWrapText };
|
|
@@ -1,19 +1,29 @@
|
|
|
1
|
-
/* empty css
|
|
2
|
-
/* empty css
|
|
1
|
+
/* empty css */
|
|
2
|
+
/* empty css */
|
|
3
3
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
//#region src/components/Navigation/components/styles.css.ts
|
|
6
|
+
var navigationGroupText = createRuntimeFn({
|
|
7
|
+
defaultClassName: "uv_plus_nytpcy0",
|
|
8
|
+
variantClassNames: { animation: {
|
|
9
|
+
collapse: "uv_plus_nytpcy1",
|
|
10
|
+
expand: "uv_plus_nytpcy2",
|
|
11
|
+
false: "uv_plus_nytpcy3"
|
|
12
|
+
} },
|
|
13
|
+
defaultVariants: {},
|
|
14
|
+
compoundVariants: []
|
|
15
|
+
});
|
|
5
16
|
var navigationGroupStack = "uv_plus_nytpcy4";
|
|
6
17
|
var navigationPinnedItemDropableArea = "uv_plus_nytpcy5";
|
|
7
18
|
var navigationPinnedItemRelativeDiv = "uv_plus_nytpcy6";
|
|
8
|
-
var navigationPinnedItemContainer = createRuntimeFn({
|
|
19
|
+
var navigationPinnedItemContainer = createRuntimeFn({
|
|
20
|
+
defaultClassName: "uv_plus_nytpcy7",
|
|
21
|
+
variantClassNames: { expanded: { true: "uv_plus_nytpcy8" } },
|
|
22
|
+
defaultVariants: {},
|
|
23
|
+
compoundVariants: []
|
|
24
|
+
});
|
|
9
25
|
var navigationSeparator = "uv_plus_nytpcy9";
|
|
10
26
|
var navigationShowHideStack = "uv_plus_nytpcya";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
navigationPinnedItemContainer,
|
|
15
|
-
navigationPinnedItemDropableArea,
|
|
16
|
-
navigationPinnedItemRelativeDiv,
|
|
17
|
-
navigationSeparator,
|
|
18
|
-
navigationShowHideStack
|
|
19
|
-
};
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
29
|
+
export { navigationGroupStack, navigationGroupText, navigationPinnedItemContainer, navigationPinnedItemDropableArea, navigationPinnedItemRelativeDiv, navigationSeparator, navigationShowHideStack };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export {
|
|
11
|
-
NavigationLocales as default
|
|
1
|
+
//#region src/components/Navigation/locales/en.ts
|
|
2
|
+
var en_default = {
|
|
3
|
+
"navigation.collapse.button": "Collapse sidebar",
|
|
4
|
+
"navigation.expand.button": "Expand sidebar",
|
|
5
|
+
"navigation.pin.limit": "You cannot pin more products",
|
|
6
|
+
"navigation.pin.tooltip": "Pin product",
|
|
7
|
+
"navigation.pinned.item.group.empty": "You have no pinned items.",
|
|
8
|
+
"navigation.pinned.item.group.label": "Pinned items",
|
|
9
|
+
"navigation.unpin.tooltip": "Unpin product"
|
|
12
10
|
};
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { en_default as default };
|