@telia/teddy 0.4.15 → 0.4.16
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 {
|
|
@@ -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(
|
|
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(
|
|
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, {}) })
|