@telia/teddy 0.4.15 → 0.4.17

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.
@@ -17,7 +17,7 @@ const Line = React.forwardRef(({ className, ...props }, forwardRef) => {
17
17
  },
18
18
  className
19
19
  );
20
- const width = layout === "product" ? "calc(100% + 2*var(--teddy-spacing-250)" : "100%";
20
+ const width = layout === "product" ? "calc(100% + 2*var(--teddy-spacing-250))" : "100%";
21
21
  return /* @__PURE__ */ jsxRuntime.jsx(components_box_box.Box, { width, mt: "50", mb: "50", p: "0", ...props, ref: forwardRef, className: classes, asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx("hr", {}) });
22
22
  });
23
23
  exports.Line = Line;
@@ -15,7 +15,7 @@ const Line = React__default.forwardRef(({ className, ...props }, forwardRef) =>
15
15
  },
16
16
  className
17
17
  );
18
- const width = layout === "product" ? "calc(100% + 2*var(--teddy-spacing-250)" : "100%";
18
+ const width = layout === "product" ? "calc(100% + 2*var(--teddy-spacing-250))" : "100%";
19
19
  return /* @__PURE__ */ jsx(Box, { width, mt: "50", mb: "50", p: "0", ...props, ref: forwardRef, className: classes, asChild: true, children: /* @__PURE__ */ jsx("hr", {}) });
20
20
  });
21
21
  export {
@@ -701,7 +701,7 @@ const BUSINESS_UKKO_LINKS = {
701
701
  },
702
702
  {
703
703
  name: "Hjem",
704
- link: "https://portal.stage.ukko.telia.io/shop",
704
+ link: "https://device.teliacompany.com/",
705
705
  appKey: APP_KEYS["open-pages"],
706
706
  links: [],
707
707
  highlightedLinks: []
@@ -644,7 +644,7 @@ export declare const BUSINESS_UKKO_LINKS: {
644
644
  readonly highlightedLinks: [];
645
645
  }, {
646
646
  readonly name: "Hjem";
647
- readonly link: "https://portal.stage.ukko.telia.io/shop";
647
+ readonly link: "https://device.teliacompany.com/";
648
648
  readonly appKey: "open-pages";
649
649
  readonly links: [];
650
650
  readonly highlightedLinks: [];
@@ -1176,7 +1176,7 @@ export declare const getLinks: (ukko?: boolean) => [{
1176
1176
  readonly highlightedLinks: [];
1177
1177
  }, {
1178
1178
  readonly name: "Hjem";
1179
- readonly link: "https://portal.stage.ukko.telia.io/shop";
1179
+ readonly link: "https://device.teliacompany.com/";
1180
1180
  readonly appKey: "open-pages";
1181
1181
  readonly links: [];
1182
1182
  readonly highlightedLinks: [];
@@ -699,7 +699,7 @@ const BUSINESS_UKKO_LINKS = {
699
699
  },
700
700
  {
701
701
  name: "Hjem",
702
- link: "https://portal.stage.ukko.telia.io/shop",
702
+ link: "https://device.teliacompany.com/",
703
703
  appKey: APP_KEYS["open-pages"],
704
704
  links: [],
705
705
  highlightedLinks: []
@@ -357,7 +357,6 @@ const TopMenuTrigger = React.forwardRef(
357
357
  isOpen && /* @__PURE__ */ jsxRuntime.jsx(
358
358
  components_visuallyHidden_visuallyHidden.VisuallyHidden,
359
359
  {
360
- "aria-hidden": true,
361
360
  tabIndex: 0,
362
361
  ref: context.focusProxyRef,
363
362
  onFocus: (event) => {
@@ -822,7 +821,7 @@ const Desktop = React.forwardRef(() => {
822
821
  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 })
823
822
  }
824
823
  ) }, link.name)),
825
- /* @__PURE__ */ jsxRuntime.jsx(components_box_box.Box, { ml: "auto" }),
824
+ /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu.Item, { style: { marginLeft: "auto" } }),
826
825
  /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu.Item, { children: /* @__PURE__ */ jsxRuntime.jsx(ShoppingCart, {}) }),
827
826
  /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu.Item, { children: /* @__PURE__ */ jsxRuntime.jsx(Search, {}) }),
828
827
  /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu.Item, { children: /* @__PURE__ */ jsxRuntime.jsx(MyPages, {}) })
@@ -336,7 +336,6 @@ const TopMenuTrigger = React__default.forwardRef(
336
336
  isOpen && /* @__PURE__ */ jsx(
337
337
  VisuallyHidden,
338
338
  {
339
- "aria-hidden": true,
340
339
  tabIndex: 0,
341
340
  ref: context.focusProxyRef,
342
341
  onFocus: (event) => {
@@ -801,7 +800,7 @@ const Desktop = React__default.forwardRef(() => {
801
800
  children: link.appKey === rootContext.appKey || rootContext.appKey === "storybook" ? /* @__PURE__ */ jsx(Link2, { href: link.link, children: link.name }) : /* @__PURE__ */ jsx("a", { href: link.link, children: link.name })
802
801
  }
803
802
  ) }, link.name)),
804
- /* @__PURE__ */ jsx(Box, { ml: "auto" }),
803
+ /* @__PURE__ */ jsx(NavigationMenu.Item, { style: { marginLeft: "auto" } }),
805
804
  /* @__PURE__ */ jsx(NavigationMenu.Item, { children: /* @__PURE__ */ jsx(ShoppingCart, {}) }),
806
805
  /* @__PURE__ */ jsx(NavigationMenu.Item, { children: /* @__PURE__ */ jsx(Search, {}) }),
807
806
  /* @__PURE__ */ jsx(NavigationMenu.Item, { children: /* @__PURE__ */ jsx(MyPages, {}) })
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "pnpm": ">=9"
21
21
  },
22
22
  "private": false,
23
- "version": "0.4.15",
23
+ "version": "0.4.17",
24
24
  "sideEffects": [
25
25
  "**/*.css",
26
26
  "**/*.svg"