@telia/teddy 0.1.17 → 0.1.19
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/card/card-illustration.d.ts +1 -1
- package/dist/components/card/index.d.ts +1 -1
- package/dist/components/checkbox/checkbox-group.d.ts +2 -2
- package/dist/components/checkbox/index.d.ts +2 -2
- package/dist/components/chip/chip-indicator.d.ts +1 -1
- package/dist/components/chip/index.d.ts +1 -1
- package/dist/components/expandable-card/expandable-card-button.d.ts +2 -2
- package/dist/components/expandable-card/index.d.ts +2 -2
- package/dist/components/icon/utils.d.ts +1 -1
- package/dist/components/index.cjs +2 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +2 -0
- package/dist/components/meter-bar/index.cjs +9 -0
- package/dist/components/meter-bar/index.d.ts +29 -0
- package/dist/components/meter-bar/index.js +9 -0
- package/dist/components/meter-bar/meter-bar-indicator.cjs +65 -0
- package/dist/components/meter-bar/meter-bar-indicator.d.ts +19 -0
- package/dist/components/meter-bar/meter-bar-indicator.js +65 -0
- package/dist/components/meter-bar/meter-bar-root.cjs +9 -0
- package/dist/components/meter-bar/meter-bar-root.d.ts +22 -0
- package/dist/components/meter-bar/meter-bar-root.js +9 -0
- package/dist/components/meter-bar/utils.cjs +24 -0
- package/dist/components/meter-bar/utils.d.ts +6 -0
- package/dist/components/meter-bar/utils.js +24 -0
- package/dist/components/modal/modal.cjs +1 -0
- package/dist/components/modal/modal.js +1 -0
- package/dist/components/navigation-menu/global-navigation/global-navigation-desktop.cjs +2 -0
- package/dist/components/navigation-menu/global-navigation/global-navigation-desktop.js +2 -0
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile.cjs +2 -3
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile.d.ts +8 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile.js +3 -4
- package/dist/components/navigation-menu/global-navigation/utils.cjs +276 -16
- package/dist/components/navigation-menu/global-navigation/utils.d.ts +415 -10
- package/dist/components/navigation-menu/global-navigation/utils.js +276 -16
- package/dist/components/navigation-menu/navigation-menu.cjs +1 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +1 -1
- package/dist/components/navigation-menu/navigation-menu.js +1 -0
- package/dist/components/notabene/notabene-icon.d.ts +1 -1
- package/dist/components/notification/notification.d.ts +4 -4
- package/dist/components/progress-bar/progress-bar.cjs +4 -4
- package/dist/components/progress-bar/progress-bar.js +4 -4
- package/dist/components/radio-card-group/radio-card-group-content.cjs +1 -0
- package/dist/components/radio-card-group/radio-card-group-content.js +1 -0
- package/dist/components/radio-card-group/radio-card-group-item-title.cjs +215 -199
- package/dist/components/radio-card-group/radio-card-group-item-title.js +215 -199
- package/dist/components/radio-card-group/radio-card-group-item.cjs +1 -0
- package/dist/components/radio-card-group/radio-card-group-item.js +1 -0
- package/dist/components/scroll-area/index.d.ts +2 -2
- package/dist/components/scroll-area/scroll-area-button.d.ts +2 -2
- package/dist/components/tabs/index.d.ts +3 -3
- package/dist/components/tabs/tabs-root.d.ts +1 -1
- package/dist/components/tabs/tabs-scroll-button.d.ts +2 -2
- package/dist/components/text-field/index.d.ts +2 -2
- package/dist/components/text-field/text-field-button.d.ts +2 -2
- package/dist/components/toggle/toggle.d.ts +1 -1
- package/dist/components/tooltip/index.d.ts +3 -3
- package/dist/main.cjs +2 -0
- package/dist/main.js +2 -0
- package/dist/style.css +188 -114
- package/dist/utils/generate-styling/grid.d.ts +24 -24
- package/dist/utils/generate-styling/index.d.ts +16 -16
- package/dist/utils/generate-styling/util.d.ts +2 -2
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@ const reactSlot = require("@radix-ui/react-slot");
|
|
|
12
12
|
const reactUseControllableState = require("@radix-ui/react-use-controllable-state");
|
|
13
13
|
const utils_generateStyling_index = require("../../utils/generate-styling/index.cjs");
|
|
14
14
|
const tokens_motion_variables = require("../../tokens/motion/variables.cjs");
|
|
15
|
+
require("../meter-bar/index.cjs");
|
|
15
16
|
require("../skeleton/index.cjs");
|
|
16
17
|
require("../checkbox/index.cjs");
|
|
17
18
|
require("../toast/toast-root.cjs");
|
|
@@ -42,8 +43,8 @@ const components_flex_flex = require("../flex/flex.cjs");
|
|
|
42
43
|
require("../card/index.cjs");
|
|
43
44
|
const components_grid_grid = require("../grid/grid.cjs");
|
|
44
45
|
require("../toggle/toggle.cjs");
|
|
45
|
-
|
|
46
|
-
|
|
46
|
+
require("../accordion/index.cjs");
|
|
47
|
+
require("../link/link.cjs");
|
|
47
48
|
require("../badge/badge.cjs");
|
|
48
49
|
require("../badge/alert-badge.cjs");
|
|
49
50
|
const components_badge_counterBadge = require("../badge/counter-badge.cjs");
|
|
@@ -281,28 +282,28 @@ const Close = React.forwardRef(
|
|
|
281
282
|
);
|
|
282
283
|
Close.displayName = "Dialog.Close";
|
|
283
284
|
const Modal = Object.assign(Root$2, { Trigger: Trigger$1, Content: Content$1, Title, Overlay, Description, Close, Image, Group });
|
|
284
|
-
const scaleIn = "
|
|
285
|
-
const scaleOut = "
|
|
286
|
-
const enterFromRight = "
|
|
287
|
-
const enterFromLeft = "
|
|
288
|
-
const exitToRight = "
|
|
289
|
-
const exitToLeft = "
|
|
285
|
+
const scaleIn = "_scaleIn_gpawj_1";
|
|
286
|
+
const scaleOut = "_scaleOut_gpawj_1";
|
|
287
|
+
const enterFromRight = "_enterFromRight_gpawj_1";
|
|
288
|
+
const enterFromLeft = "_enterFromLeft_gpawj_1";
|
|
289
|
+
const exitToRight = "_exitToRight_gpawj_1";
|
|
290
|
+
const exitToLeft = "_exitToLeft_gpawj_1";
|
|
290
291
|
const styles$1 = {
|
|
291
|
-
"teddy-navigation-menu": "_teddy-navigation-
|
|
292
|
-
"teddy-navigation-menu__viewport": "_teddy-navigation-
|
|
293
|
-
"teddy-navigation-menu__separator": "_teddy-navigation-
|
|
294
|
-
"teddy-navigation-menu__list": "_teddy-navigation-
|
|
295
|
-
"teddy-navigation-menu__top-menu-list": "_teddy-navigation-menu__top-menu-
|
|
296
|
-
"teddy-navigation-menu__top-menu-trigger": "_teddy-navigation-menu__top-menu-
|
|
297
|
-
"teddy-navigation-menu__top-menu-trigger--small": "_teddy-navigation-menu__top-menu-trigger--
|
|
298
|
-
"teddy-navigation-menu__top-menu-trigger--button": "_teddy-navigation-menu__top-menu-trigger--
|
|
299
|
-
"teddy-navigation-menu__content": "_teddy-navigation-
|
|
300
|
-
"teddy-navigation-menu__trigger": "_teddy-navigation-
|
|
301
|
-
"teddy-navigation-menu__trigger--small": "_teddy-navigation-menu__trigger--
|
|
302
|
-
"teddy-navigation-menu__trigger--button": "_teddy-navigation-menu__trigger--
|
|
303
|
-
"teddy-navigation-menu__link": "_teddy-navigation-
|
|
304
|
-
"teddy-navigation-menu__link--small": "_teddy-navigation-menu__link--
|
|
305
|
-
"teddy-navigation-menu__link--button": "_teddy-navigation-menu__link--
|
|
292
|
+
"teddy-navigation-menu": "_teddy-navigation-menu_gpawj_1",
|
|
293
|
+
"teddy-navigation-menu__viewport": "_teddy-navigation-menu__viewport_gpawj_34",
|
|
294
|
+
"teddy-navigation-menu__separator": "_teddy-navigation-menu__separator_gpawj_37",
|
|
295
|
+
"teddy-navigation-menu__list": "_teddy-navigation-menu__list_gpawj_40",
|
|
296
|
+
"teddy-navigation-menu__top-menu-list": "_teddy-navigation-menu__top-menu-list_gpawj_66",
|
|
297
|
+
"teddy-navigation-menu__top-menu-trigger": "_teddy-navigation-menu__top-menu-trigger_gpawj_87",
|
|
298
|
+
"teddy-navigation-menu__top-menu-trigger--small": "_teddy-navigation-menu__top-menu-trigger--small_gpawj_106",
|
|
299
|
+
"teddy-navigation-menu__top-menu-trigger--button": "_teddy-navigation-menu__top-menu-trigger--button_gpawj_112",
|
|
300
|
+
"teddy-navigation-menu__content": "_teddy-navigation-menu__content_gpawj_187",
|
|
301
|
+
"teddy-navigation-menu__trigger": "_teddy-navigation-menu__trigger_gpawj_228",
|
|
302
|
+
"teddy-navigation-menu__trigger--small": "_teddy-navigation-menu__trigger--small_gpawj_248",
|
|
303
|
+
"teddy-navigation-menu__trigger--button": "_teddy-navigation-menu__trigger--button_gpawj_254",
|
|
304
|
+
"teddy-navigation-menu__link": "_teddy-navigation-menu__link_gpawj_322",
|
|
305
|
+
"teddy-navigation-menu__link--small": "_teddy-navigation-menu__link--small_gpawj_342",
|
|
306
|
+
"teddy-navigation-menu__link--button": "_teddy-navigation-menu__link--button_gpawj_348",
|
|
306
307
|
scaleIn,
|
|
307
308
|
scaleOut,
|
|
308
309
|
enterFromRight,
|
|
@@ -698,20 +699,26 @@ const NavigationMenu = Object.assign(Root$1, {
|
|
|
698
699
|
TopMenuTrigger
|
|
699
700
|
});
|
|
700
701
|
const styles = {
|
|
701
|
-
"teddy-global-navigation": "_teddy-global-
|
|
702
|
-
"teddy-global-navigation__mobile-trigger": "_teddy-global-navigation__mobile-
|
|
703
|
-
"teddy-global-navigation__mobile-header": "_teddy-global-navigation__mobile-
|
|
704
|
-
"teddy-global-navigation__mobile": "_teddy-global-
|
|
705
|
-
"teddy-global-
|
|
706
|
-
"teddy-global-
|
|
707
|
-
"teddy-global-
|
|
708
|
-
"teddy-global-
|
|
709
|
-
"teddy-global-
|
|
710
|
-
"
|
|
711
|
-
"teddy-global-
|
|
712
|
-
"teddy-global-
|
|
713
|
-
"teddy-global-
|
|
714
|
-
"teddy-global-
|
|
702
|
+
"teddy-global-navigation": "_teddy-global-navigation_h438t_1",
|
|
703
|
+
"teddy-global-navigation__mobile-trigger": "_teddy-global-navigation__mobile-trigger_h438t_6",
|
|
704
|
+
"teddy-global-navigation__mobile-header": "_teddy-global-navigation__mobile-header_h438t_9",
|
|
705
|
+
"teddy-global-navigation__mobile": "_teddy-global-navigation__mobile_h438t_6",
|
|
706
|
+
"teddy-global-navigation__top-icon-wrapper": "_teddy-global-navigation__top-icon-wrapper_h438t_32",
|
|
707
|
+
"teddy-global-navigation__top-menu-icons": "_teddy-global-navigation__top-menu-icons_h438t_37",
|
|
708
|
+
"teddy-global-navigation__link": "_teddy-global-navigation__link_h438t_41",
|
|
709
|
+
"teddy-global-navigation__header": "_teddy-global-navigation__header_h438t_51",
|
|
710
|
+
"teddy-global-navigation__colored-box": "_teddy-global-navigation__colored-box_h438t_54",
|
|
711
|
+
"teddy-global-navigation__colored-box--mobile": "_teddy-global-navigation__colored-box--mobile_h438t_57",
|
|
712
|
+
"teddy-global-navigation__list": "_teddy-global-navigation__list_h438t_61",
|
|
713
|
+
"teddy-global-navigation__viewport": "_teddy-global-navigation__viewport_h438t_66",
|
|
714
|
+
"teddy-global-navigation__item-wrapper": "_teddy-global-navigation__item-wrapper_h438t_69",
|
|
715
|
+
"teddy-global-navigation__item-count": "_teddy-global-navigation__item-count_h438t_73",
|
|
716
|
+
"teddy-global-navigation__viewport-wrapper": "_teddy-global-navigation__viewport-wrapper_h438t_80",
|
|
717
|
+
"close-viewport": "_close-viewport_h438t_1",
|
|
718
|
+
"teddy-global-navigation__top-menu-color": "_teddy-global-navigation__top-menu-color_h438t_91",
|
|
719
|
+
"teddy-global-navigation__top-menu-wrapper": "_teddy-global-navigation__top-menu-wrapper_h438t_94",
|
|
720
|
+
"teddy-global-navigation__accordion-look": "_teddy-global-navigation__accordion-look_h438t_111",
|
|
721
|
+
"teddy-global-navigation__mobile-link--accordion-look": "_teddy-global-navigation__mobile-link--accordion-look_h438t_127"
|
|
715
722
|
};
|
|
716
723
|
function MyPages(props) {
|
|
717
724
|
var _a, _b;
|
|
@@ -757,7 +764,7 @@ function LoggedInContent() {
|
|
|
757
764
|
var _a;
|
|
758
765
|
const rootContext = React.useContext(RootContext);
|
|
759
766
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
760
|
-
/* @__PURE__ */ jsxRuntime.jsx(components_drawer_index.Drawer.Title, { children: "
|
|
767
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_drawer_index.Drawer.Title, { children: "Mine sider" }),
|
|
761
768
|
/* @__PURE__ */ jsxRuntime.jsxs(components_tabs_index.Tabs, { defaultValue: "private", children: [
|
|
762
769
|
/* @__PURE__ */ jsxRuntime.jsxs(components_tabs_index.Tabs.List, { children: [
|
|
763
770
|
/* @__PURE__ */ jsxRuntime.jsx(components_tabs_index.Tabs.Trigger, { value: "private", children: "Privat" }),
|
|
@@ -872,18 +879,19 @@ const ANIMATION_DURATION = 300;
|
|
|
872
879
|
const Desktop = React.forwardRef(() => {
|
|
873
880
|
const rootContext = React.useContext(RootContext);
|
|
874
881
|
const [hideMenu, setHideMenu] = React.useState(null);
|
|
882
|
+
const [specifiedLink, setSpecifiedLink] = React.useState("");
|
|
875
883
|
const lastScrollDirection = React.useRef();
|
|
876
884
|
const scrollStartPos = React.useRef(0);
|
|
877
885
|
const lastScrollPos = React.useRef(0);
|
|
878
886
|
const topMenuRef = React.useRef(null);
|
|
879
887
|
const viewPortRef = React.useRef(null);
|
|
880
888
|
const shouldShowViewport = [...components_navigationMenu_globalNavigation_utils.PRIVATE_LINKS.links, ...components_navigationMenu_globalNavigation_utils.BUSINESS_LINKS.links, ...components_navigationMenu_globalNavigation_utils.MDU_LINKS.links].some(
|
|
881
|
-
(link) => !!components_navigationMenu_globalNavigation_utils.getActiveSubLink((rootContext == null ? void 0 : rootContext.pathname) || "", link.links) || link.links.length && link.link === (rootContext == null ? void 0 : rootContext.pathname)
|
|
889
|
+
(link) => !!components_navigationMenu_globalNavigation_utils.getActiveSubLink((rootContext == null ? void 0 : rootContext.pathname) || "", link.links) || link.links.length && link.name === specifiedLink || link.links.length && link.link === (rootContext == null ? void 0 : rootContext.pathname)
|
|
882
890
|
);
|
|
883
891
|
const viewPortSize = utils_useSize.useSize(viewPortRef.current);
|
|
884
892
|
const topMenuSize = utils_useSize.useSize(topMenuRef.current);
|
|
885
893
|
const topMenuHeight = (topMenuSize == null ? void 0 : topMenuSize.height) ? `${topMenuSize.height}px` : void 0;
|
|
886
|
-
const viewPortHeight = shouldShowViewport ? "
|
|
894
|
+
const viewPortHeight = shouldShowViewport ? "288px" : void 0;
|
|
887
895
|
const animationTimer = React.useRef(0);
|
|
888
896
|
const [allowAnimationOfHeight, setAllowAnimationOfHeight] = React.useState(false);
|
|
889
897
|
const timerRef = React.useRef(void 0);
|
|
@@ -956,7 +964,10 @@ const Desktop = React.forwardRef(() => {
|
|
|
956
964
|
{
|
|
957
965
|
value: link.name,
|
|
958
966
|
asChild: true,
|
|
959
|
-
onClick: () =>
|
|
967
|
+
onClick: () => {
|
|
968
|
+
rootContext.setPathname(link.link);
|
|
969
|
+
setSpecifiedLink("");
|
|
970
|
+
},
|
|
960
971
|
children: link.appKey === rootContext.appKey || rootContext.appKey === "storybook" ? /* @__PURE__ */ jsxRuntime.jsx(Link2, { href: link.link, children: link.name }) : /* @__PURE__ */ jsxRuntime.jsx("a", { href: link.link, children: link.name })
|
|
961
972
|
}
|
|
962
973
|
) }, link.name)) })
|
|
@@ -965,64 +976,48 @@ const Desktop = React.forwardRef(() => {
|
|
|
965
976
|
components_navigationMenu_globalNavigation_utils.LINKS.map((link) => {
|
|
966
977
|
var _a;
|
|
967
978
|
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenu.List, { onFocus: resetAndShowMenu, value: link.name, children: [
|
|
968
|
-
(_a = link.links) == null ? void 0 : _a.map(
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
"
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
"
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
active: components_navigationMenu_globalNavigation_utils.getActiveSubLink(currentLocation, subLink.links || []) === subSubLink.link,
|
|
1011
|
-
onClick: () => {
|
|
1012
|
-
rootContext.setPathname(subSubLink.link);
|
|
1013
|
-
},
|
|
1014
|
-
variant: "small",
|
|
1015
|
-
children: subSubLink.appKey === rootContext.appKey || rootContext.appKey === "storybook" ? /* @__PURE__ */ jsxRuntime.jsx(Link2, { href: subSubLink.link, children: /* @__PURE__ */ jsxRuntime.jsxs(components_flex_flex.Flex, { as: "span", align: "center", gap: "25", children: [
|
|
1016
|
-
subSubLink.name,
|
|
1017
|
-
"icon" in subSubLink && /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: subSubLink.icon })
|
|
1018
|
-
] }) }) : /* @__PURE__ */ jsxRuntime.jsx("a", { href: subSubLink.link, children: /* @__PURE__ */ jsxRuntime.jsxs(components_flex_flex.Flex, { as: "span", align: "center", gap: "25", children: [
|
|
1019
|
-
subSubLink.name,
|
|
1020
|
-
"icon" in subSubLink && /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: subSubLink.icon })
|
|
1021
|
-
] }) })
|
|
1022
|
-
}
|
|
1023
|
-
) }, subSubLink.name)) }) })
|
|
1024
|
-
] }, subLink.name);
|
|
1025
|
-
}),
|
|
979
|
+
(_a = link.links) == null ? void 0 : _a.map(
|
|
980
|
+
(subLink) => {
|
|
981
|
+
var _a2, _b, _c;
|
|
982
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenu.Item, { value: subLink.name, children: [
|
|
983
|
+
subLink.name === "Logo" ? /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu.Link, { asChild: true, variant: "button", children: subLink.appKey === rootContext.appKey || rootContext.appKey === "storybook" ? /* @__PURE__ */ jsxRuntime.jsx(Link2, { href: subLink.link, onClick: () => setSelectedMenuItem(""), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
984
|
+
"img",
|
|
985
|
+
{
|
|
986
|
+
src: "https://cdn.voca.teliacompany.com/logo/Telia-primary-default-v2.svg",
|
|
987
|
+
draggable: "false",
|
|
988
|
+
alt: "Telia logo"
|
|
989
|
+
}
|
|
990
|
+
) }) : /* @__PURE__ */ jsxRuntime.jsx("a", { href: subLink.link, onClick: () => setSelectedMenuItem(""), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
991
|
+
"img",
|
|
992
|
+
{
|
|
993
|
+
src: "https://cdn.voca.teliacompany.com/logo/Telia-primary-default-v2.svg",
|
|
994
|
+
draggable: "false",
|
|
995
|
+
alt: "Telia logo"
|
|
996
|
+
}
|
|
997
|
+
) }) }) : ((_a2 = subLink.links) == null ? void 0 : _a2.length) ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
998
|
+
NavigationMenu.Trigger,
|
|
999
|
+
{
|
|
1000
|
+
asChild: true,
|
|
1001
|
+
active: currentLocation === subLink.link,
|
|
1002
|
+
onClick: () => setSpecifiedLink(subLink.name),
|
|
1003
|
+
children: subLink.appKey === rootContext.appKey || rootContext.appKey === "storybook" ? /* @__PURE__ */ jsxRuntime.jsx(Link2, { href: subLink.link, children: subLink.name }) : /* @__PURE__ */ jsxRuntime.jsx("a", { href: subLink.link, children: subLink.name })
|
|
1004
|
+
}
|
|
1005
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
1006
|
+
NavigationMenu.Link,
|
|
1007
|
+
{
|
|
1008
|
+
asChild: true,
|
|
1009
|
+
active: currentLocation === subLink.link,
|
|
1010
|
+
onClick: () => setSpecifiedLink(subLink.name),
|
|
1011
|
+
children: subLink.appKey === rootContext.appKey || rootContext.appKey === "storybook" ? /* @__PURE__ */ jsxRuntime.jsx(Link2, { href: subLink.link, children: subLink.name }) : /* @__PURE__ */ jsxRuntime.jsx("a", { href: subLink.link, children: subLink.name })
|
|
1012
|
+
}
|
|
1013
|
+
),
|
|
1014
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenu.Content, { children: subLink.name === specifiedLink && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1015
|
+
((_b = subLink.links) == null ? void 0 : _b.length) > 0 && /* @__PURE__ */ jsxRuntime.jsx(components_flex_flex.Flex, { direction: "column", pt: "400", pl: "150", children: /* @__PURE__ */ jsxRuntime.jsx(HightlightedLinksDesktop, { listName: subLink.name, subLink, links: subLink.links }) }),
|
|
1016
|
+
((_c = subLink.highlightedLinks) == null ? void 0 : _c.length) > 0 && /* @__PURE__ */ jsxRuntime.jsx(components_flex_flex.Flex, { direction: "column", pt: "400", pl: "400", pr: "400", pb: "40px", className: styles[`${rootClassName}__colored-box`], children: /* @__PURE__ */ jsxRuntime.jsx(HightlightedLinksDesktop, { listName: "Nyttige snarveier", subLink, links: subLink.highlightedLinks }) })
|
|
1017
|
+
] }) })
|
|
1018
|
+
] }, subLink.name);
|
|
1019
|
+
}
|
|
1020
|
+
),
|
|
1026
1021
|
/* @__PURE__ */ jsxRuntime.jsx(components_box_box.Box, { ml: "auto" }),
|
|
1027
1022
|
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenu.Item, { children: /* @__PURE__ */ jsxRuntime.jsx(ShoppingCart, {}) }),
|
|
1028
1023
|
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenu.Item, { children: /* @__PURE__ */ jsxRuntime.jsx(Search, {}) }),
|
|
@@ -1061,7 +1056,36 @@ function useDebounceCallback(callback, delay) {
|
|
|
1061
1056
|
debounceTimerRef.current = window.setTimeout(handleCallback, delay);
|
|
1062
1057
|
}, [handleCallback, delay]);
|
|
1063
1058
|
}
|
|
1059
|
+
const HightlightedLinksDesktop = ({ subLink, links, listName }) => {
|
|
1060
|
+
const rootContext = React.useContext(RootContext);
|
|
1061
|
+
if (!rootContext)
|
|
1062
|
+
return null;
|
|
1063
|
+
const { linkComponent: Link2 } = rootContext;
|
|
1064
|
+
const currentLocation = rootContext.pathname.endsWith("/") ? rootContext.pathname : `${rootContext.pathname}/`;
|
|
1065
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1066
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_heading_heading.Heading, { pl: "100", pb: "100", variant: "title-200", as: "h2", children: listName }),
|
|
1067
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_list_index.List, { className: styles[`${rootClassName}__list`], gap: "10", pl: "25", children: links == null ? void 0 : links.map((subSubLink) => /* @__PURE__ */ jsxRuntime.jsx(components_list_index.List.Item, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1068
|
+
NavigationMenu.Link,
|
|
1069
|
+
{
|
|
1070
|
+
asChild: true,
|
|
1071
|
+
variant: "small",
|
|
1072
|
+
active: components_navigationMenu_globalNavigation_utils.getActiveSubLink(currentLocation, subLink.links || []) === subSubLink.link,
|
|
1073
|
+
onClick: () => {
|
|
1074
|
+
rootContext.setPathname(subSubLink.link);
|
|
1075
|
+
},
|
|
1076
|
+
children: subSubLink.appKey === rootContext.appKey || rootContext.appKey === "storybook" ? /* @__PURE__ */ jsxRuntime.jsx(Link2, { href: subSubLink.link, children: /* @__PURE__ */ jsxRuntime.jsxs(components_flex_flex.Flex, { as: "span", gap: "100", align: "center", children: [
|
|
1077
|
+
subSubLink.name,
|
|
1078
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: "arrow-right" })
|
|
1079
|
+
] }) }) : /* @__PURE__ */ jsxRuntime.jsx("a", { href: subSubLink.link, children: /* @__PURE__ */ jsxRuntime.jsxs(components_flex_flex.Flex, { as: "span", gap: "100", align: "center", children: [
|
|
1080
|
+
subSubLink.name,
|
|
1081
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: "arrow-right" })
|
|
1082
|
+
] }) })
|
|
1083
|
+
}
|
|
1084
|
+
) }, subSubLink.name)) })
|
|
1085
|
+
] });
|
|
1086
|
+
};
|
|
1064
1087
|
function Mobile(props) {
|
|
1088
|
+
const [specifiedLink, setSpecifiedLink] = React.useState("");
|
|
1065
1089
|
const rootContext = React.useContext(RootContext);
|
|
1066
1090
|
const drawerRef = React.useRef(null);
|
|
1067
1091
|
if (!rootContext)
|
|
@@ -1069,10 +1093,11 @@ function Mobile(props) {
|
|
|
1069
1093
|
const { linkComponent: NavLink } = rootContext;
|
|
1070
1094
|
const classes = clsx([styles[`${rootClassName}__mobile`]], props.className);
|
|
1071
1095
|
const linkClasses = clsx([styles[`${rootClassName}__link`]]);
|
|
1072
|
-
const
|
|
1073
|
-
return /* @__PURE__ */ jsxRuntime.jsx(components_flex_flex.Flex, { ...props, className: classes, children: /* @__PURE__ */ jsxRuntime.jsxs(components_flex_flex.Flex, { flexGrow: "1", justify: "between", align: "center", gap: "200", children: [
|
|
1096
|
+
const headerClasses = clsx([styles[`${rootClassName}__header`]]);
|
|
1097
|
+
return /* @__PURE__ */ jsxRuntime.jsx(components_flex_flex.Flex, { ...props, className: classes, children: /* @__PURE__ */ jsxRuntime.jsxs(components_flex_flex.Flex, { flexGrow: "1", justify: "between", align: "center", gap: "200", className: styles[`${rootClassName}__top-icon-wrapper`], children: [
|
|
1074
1098
|
/* @__PURE__ */ jsxRuntime.jsx(components_box_box.Box, { flexShrink: "0", children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu.Link, { asChild: true, variant: "button", children: rootContext.appKey === "open-pages" ? /* @__PURE__ */ jsxRuntime.jsx(NavLink, { href: "/", children: /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { size: "lg", name: "telia-logo", "aria-label": "Telia logo" }) }) : /* @__PURE__ */ jsxRuntime.jsx("a", { href: "/", children: /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { size: "lg", name: "telia-logo", "aria-label": "Telia logo" }) }) }) }),
|
|
1075
|
-
/* @__PURE__ */ jsxRuntime.jsxs(components_flex_flex.Flex, { flexBasis: "0", gap: { sm: "100", md: "200" }, children: [
|
|
1099
|
+
/* @__PURE__ */ jsxRuntime.jsxs(components_flex_flex.Flex, { flexBasis: "0", gap: { sm: "100", md: "200" }, className: styles[`${rootClassName}__top-menu-icons`], children: [
|
|
1100
|
+
/* @__PURE__ */ jsxRuntime.jsx(Search, {}),
|
|
1076
1101
|
/* @__PURE__ */ jsxRuntime.jsx(ShoppingCart, {}),
|
|
1077
1102
|
/* @__PURE__ */ jsxRuntime.jsx(MyPages, {}),
|
|
1078
1103
|
/* @__PURE__ */ jsxRuntime.jsxs(components_drawer_index.Drawer, { children: [
|
|
@@ -1082,109 +1107,99 @@ function Mobile(props) {
|
|
|
1082
1107
|
] }) }) }),
|
|
1083
1108
|
/* @__PURE__ */ jsxRuntime.jsxs(components_drawer_index.Drawer.Content, { gap: "400", size: rootContext.drawerSize, children: [
|
|
1084
1109
|
/* @__PURE__ */ jsxRuntime.jsx(components_drawer_index.Drawer.Close, { ref: drawerRef, slot: "floating", "aria-label": "Lukk" }),
|
|
1085
|
-
/* @__PURE__ */ jsxRuntime.
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
] }) }) : /* @__PURE__ */ jsxRuntime.jsx("a", { href: subSubLink.link, children: /* @__PURE__ */ jsxRuntime.jsxs(components_flex_flex.Flex, { as: "span", gap: "icon" in subSubLink ? "25" : "100", align: "center", children: [
|
|
1143
|
-
subSubLink.name,
|
|
1144
|
-
"icon" in subSubLink ? /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: subSubLink.icon }) : /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: "arrow-right" })
|
|
1145
|
-
] }) })
|
|
1146
|
-
}
|
|
1147
|
-
) }, subSubLink.name)) }) })
|
|
1148
|
-
] }, subLink.name) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles[`${rootClassName}__accordion-look`], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1149
|
-
components_link_link.Link,
|
|
1150
|
-
{
|
|
1151
|
-
className: clsx([
|
|
1152
|
-
linkClasses,
|
|
1153
|
-
styles[`${rootClassName}__mobile-link--accordion-look`]
|
|
1154
|
-
]),
|
|
1155
|
-
variant: "standalone",
|
|
1156
|
-
asChild: true,
|
|
1157
|
-
onClick: () => {
|
|
1158
|
-
var _a3;
|
|
1159
|
-
(_a3 = drawerRef.current) == null ? void 0 : _a3.click();
|
|
1160
|
-
rootContext.setSelectedMenuItem(subLink.name);
|
|
1161
|
-
rootContext.setPathname(subLink.link);
|
|
1162
|
-
},
|
|
1163
|
-
children: subLink.appKey === rootContext.appKey || rootContext.appKey === "storybook" ? /* @__PURE__ */ jsxRuntime.jsxs(NavLink, { href: subLink.link, children: [
|
|
1164
|
-
subLink.name,
|
|
1165
|
-
/* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: "arrow-right" })
|
|
1166
|
-
] }) : /* @__PURE__ */ jsxRuntime.jsxs("a", { href: subLink.link, children: [
|
|
1167
|
-
subLink.name,
|
|
1168
|
-
" ",
|
|
1169
|
-
/* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: "arrow-right" })
|
|
1170
|
-
] })
|
|
1171
|
-
}
|
|
1172
|
-
) }, subLink.name);
|
|
1173
|
-
}
|
|
1174
|
-
)
|
|
1175
|
-
}
|
|
1176
|
-
) }, link.name);
|
|
1177
|
-
}) })
|
|
1178
|
-
]
|
|
1179
|
-
}
|
|
1180
|
-
),
|
|
1181
|
-
/* @__PURE__ */ jsxRuntime.jsx(components_drawer_index.Drawer.Footer, { children: /* @__PURE__ */ jsxRuntime.jsx(components_drawer_index.Drawer.Close, { slot: "content", children: /* @__PURE__ */ jsxRuntime.jsx(components_button_button.Button, { variant: "secondary", children: "Lukk" }) }) })
|
|
1110
|
+
!specifiedLink ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1111
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_drawer_index.Drawer.Title, { children: "Meny" }),
|
|
1112
|
+
/* @__PURE__ */ jsxRuntime.jsx(SearchField, {}),
|
|
1113
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1114
|
+
components_tabs_index.Tabs,
|
|
1115
|
+
{
|
|
1116
|
+
value: rootContext.selectedDomainItem,
|
|
1117
|
+
onValueChange: (v) => rootContext.setSelectedDomainItem(v, true),
|
|
1118
|
+
children: [
|
|
1119
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_tabs_index.Tabs.List, { children: components_navigationMenu_globalNavigation_utils.LINKS.map((link) => /* @__PURE__ */ jsxRuntime.jsx(components_tabs_index.Tabs.Trigger, { asChild: true, value: link.name, children: link.appKey === rootContext.appKey || rootContext.appKey === "storybook" ? /* @__PURE__ */ jsxRuntime.jsx(NavLink, { href: link.link, children: link.name }) : /* @__PURE__ */ jsxRuntime.jsx("a", { href: link.link, children: link.name }) }, link.name)) }),
|
|
1120
|
+
/* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: components_navigationMenu_globalNavigation_utils.LINKS.map((link) => {
|
|
1121
|
+
var _a, _b;
|
|
1122
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(components_tabs_index.Tabs.Content, { value: link.name, children: [
|
|
1123
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_box_box.Box, { mt: "400", children: (_a = link.links) == null ? void 0 : _a.filter((l) => l.name !== "Logo").map(
|
|
1124
|
+
(subLink) => subLink.links.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(components_box_box.Box, { onClick: () => setSpecifiedLink(subLink.name), className: linkClasses, children: [
|
|
1125
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_heading_heading.Heading, { asChild: true, variant: "title-300", children: /* @__PURE__ */ jsxRuntime.jsx(components_button_button.Button, { style: { all: "unset" }, children: subLink.name }) }),
|
|
1126
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: "chevron-right", size: "md" })
|
|
1127
|
+
] }) : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: subLink.appKey === rootContext.appKey || rootContext.appKey === "storybook" ? /* @__PURE__ */ jsxRuntime.jsxs(NavLink, { href: subLink.link, className: linkClasses, children: [
|
|
1128
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_heading_heading.Heading, { variant: "title-300", as: "h2", className: headerClasses, children: subLink.name }),
|
|
1129
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: "chevron-right", size: "md" })
|
|
1130
|
+
] }) : /* @__PURE__ */ jsxRuntime.jsxs("a", { href: subLink.link, className: linkClasses, children: [
|
|
1131
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_heading_heading.Heading, { variant: "title-300", as: "h2", children: subLink.name }),
|
|
1132
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: "chevron-right", size: "md" })
|
|
1133
|
+
] }) })
|
|
1134
|
+
) }),
|
|
1135
|
+
((_b = link.highlightedLinks) == null ? void 0 : _b.length) > 0 && /* @__PURE__ */ jsxRuntime.jsx(components_box_box.Box, { className: styles[`${rootClassName}__colored-box--mobile`], children: /* @__PURE__ */ jsxRuntime.jsx(components_box_box.Box, { mt: "400", pt: "250", pb: "250", pl: "300", children: /* @__PURE__ */ jsxRuntime.jsx(HighlightedLinks, { item: link, links: link.highlightedLinks, drawerRef, listTitle: "Nyttige snarveier" }) }) })
|
|
1136
|
+
] }, link.name);
|
|
1137
|
+
}) })
|
|
1138
|
+
]
|
|
1139
|
+
}
|
|
1140
|
+
)
|
|
1141
|
+
] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1142
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_drawer_index.Drawer.Title, { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1143
|
+
components_button_button.Button,
|
|
1144
|
+
{
|
|
1145
|
+
size: "sm",
|
|
1146
|
+
variant: "secondary",
|
|
1147
|
+
onClick: () => setSpecifiedLink(""),
|
|
1148
|
+
children: [
|
|
1149
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: "arrow-left" }),
|
|
1150
|
+
"Tilbake"
|
|
1151
|
+
]
|
|
1152
|
+
}
|
|
1153
|
+
) }),
|
|
1154
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_box_box.Box, { mt: "100", children: components_navigationMenu_globalNavigation_utils.LINKS.map(
|
|
1155
|
+
(link) => {
|
|
1156
|
+
var _a;
|
|
1157
|
+
return (_a = link.links) == null ? void 0 : _a.filter((l) => l.name !== "Logo").map((subLink) => {
|
|
1158
|
+
var _a2;
|
|
1159
|
+
return subLink.links.length > 0 && subLink.name === specifiedLink && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1160
|
+
/* @__PURE__ */ jsxRuntime.jsx(HighlightedLinks, { item: subLink, listTitle: subLink.name, links: subLink.links, drawerRef }),
|
|
1161
|
+
((_a2 = subLink.highlightedLinks) == null ? void 0 : _a2.length) > 0 && /* @__PURE__ */ jsxRuntime.jsx(components_box_box.Box, { className: styles[`${rootClassName}__colored-box--mobile`], children: /* @__PURE__ */ jsxRuntime.jsx(components_box_box.Box, { mt: "400", pt: "250", pb: "250", pl: "300", children: /* @__PURE__ */ jsxRuntime.jsx(HighlightedLinks, { item: subLink, listTitle: "Nyttige snarveier", links: subLink.highlightedLinks, drawerRef }) }) })
|
|
1162
|
+
] });
|
|
1163
|
+
});
|
|
1164
|
+
}
|
|
1165
|
+
) })
|
|
1166
|
+
] })
|
|
1182
1167
|
] })
|
|
1183
1168
|
] })
|
|
1184
1169
|
] })
|
|
1185
1170
|
] }) });
|
|
1186
1171
|
}
|
|
1187
1172
|
Mobile.displayName = "Mobile";
|
|
1173
|
+
const HighlightedLinks = ({ listTitle, links, item, drawerRef }) => {
|
|
1174
|
+
const rootContext = React.useContext(RootContext);
|
|
1175
|
+
if (!rootContext)
|
|
1176
|
+
return null;
|
|
1177
|
+
const { linkComponent: NavLink } = rootContext;
|
|
1178
|
+
const currentLocation = rootContext.pathname;
|
|
1179
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1180
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_heading_heading.Heading, { pl: "100", pb: "100", variant: "title-200", as: "h2", children: listTitle }),
|
|
1181
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_list_index.List, { gap: "10", pl: "25", children: links == null ? void 0 : links.map((subSubLink) => /* @__PURE__ */ jsxRuntime.jsx(components_list_index.List.Item, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1182
|
+
NavigationMenu.Link,
|
|
1183
|
+
{
|
|
1184
|
+
asChild: true,
|
|
1185
|
+
variant: "small",
|
|
1186
|
+
active: components_navigationMenu_globalNavigation_utils.getActiveSubLink(currentLocation, item.links || []) === subSubLink.link,
|
|
1187
|
+
onClick: () => {
|
|
1188
|
+
var _a;
|
|
1189
|
+
(_a = drawerRef == null ? void 0 : drawerRef.current) == null ? void 0 : _a.click();
|
|
1190
|
+
rootContext.setPathname(subSubLink.link);
|
|
1191
|
+
},
|
|
1192
|
+
children: subSubLink.appKey === rootContext.appKey || rootContext.appKey === "storybook" ? /* @__PURE__ */ jsxRuntime.jsx(NavLink, { href: subSubLink.link, children: /* @__PURE__ */ jsxRuntime.jsxs(components_flex_flex.Flex, { as: "span", gap: "icon" in subSubLink ? "25" : "100", align: "center", children: [
|
|
1193
|
+
subSubLink.name,
|
|
1194
|
+
subSubLink.icon ? /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: subSubLink.icon }) : /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: "arrow-right" })
|
|
1195
|
+
] }) }) : /* @__PURE__ */ jsxRuntime.jsx("a", { href: subSubLink.link, children: /* @__PURE__ */ jsxRuntime.jsxs(components_flex_flex.Flex, { as: "span", gap: "icon" in subSubLink ? "25" : "100", align: "center", children: [
|
|
1196
|
+
subSubLink.name,
|
|
1197
|
+
subSubLink.icon ? /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: subSubLink.icon }) : /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: "arrow-right" })
|
|
1198
|
+
] }) })
|
|
1199
|
+
}
|
|
1200
|
+
) }, subSubLink.name)) })
|
|
1201
|
+
] });
|
|
1202
|
+
};
|
|
1188
1203
|
const DesktopSimplified = React.forwardRef(() => {
|
|
1189
1204
|
const rootContext = React.useContext(RootContext);
|
|
1190
1205
|
if (!rootContext)
|
|
@@ -1350,6 +1365,7 @@ exports.Content = Content$2;
|
|
|
1350
1365
|
exports.Desktop = Desktop;
|
|
1351
1366
|
exports.DesktopSimplified = DesktopSimplified;
|
|
1352
1367
|
exports.GlobalNavigation = GlobalNavigation;
|
|
1368
|
+
exports.HighlightedLinks = HighlightedLinks;
|
|
1353
1369
|
exports.Item = Item$1;
|
|
1354
1370
|
exports.ItemContext = ItemContext;
|
|
1355
1371
|
exports.Mobile = Mobile;
|