@telia/teddy 0.3.8 → 0.4.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.
@@ -100,7 +100,7 @@ const Root = React.forwardRef(
100
100
  ...props,
101
101
  className: classes,
102
102
  style: customStyle,
103
- onPointerDown: utils_composeEventHandlers.composeEventHandlers(props.onPointerDown, (e) => {
103
+ onPointerUp: utils_composeEventHandlers.composeEventHandlers(props.onPointerUp, (e) => {
104
104
  if (e.isDefaultPrevented())
105
105
  return;
106
106
  if (linkRef.current && e.target !== linkRef.current)
@@ -98,7 +98,7 @@ const Root = React__default.forwardRef(
98
98
  ...props,
99
99
  className: classes,
100
100
  style: customStyle,
101
- onPointerDown: composeEventHandlers(props.onPointerDown, (e) => {
101
+ onPointerUp: composeEventHandlers(props.onPointerUp, (e) => {
102
102
  if (e.isDefaultPrevented())
103
103
  return;
104
104
  if (linkRef.current && e.target !== linkRef.current)
@@ -824,7 +824,7 @@ const Desktop = React.forwardRef(() => {
824
824
  children: /* @__PURE__ */ jsxRuntime.jsx(
825
825
  "img",
826
826
  {
827
- src: "https://www.telia.no/globalassets/static/svg/telia.svg",
827
+ src: "https://www.telia.no/globalassets/static/svg/telia-primary-default-v2.svg",
828
828
  draggable: "false",
829
829
  alt: "Telia logo"
830
830
  }
@@ -839,7 +839,7 @@ const Desktop = React.forwardRef(() => {
839
839
  children: /* @__PURE__ */ jsxRuntime.jsx(
840
840
  "img",
841
841
  {
842
- src: "https://www.telia.no/globalassets/static/svg/telia.svg",
842
+ src: "https://www.telia.no/globalassets/static/svg/telia-primary-default-v2.svg",
843
843
  draggable: "false",
844
844
  alt: "Telia logo"
845
845
  }
@@ -1141,14 +1141,14 @@ const DesktopSimplified = React.forwardRef(() => {
1141
1141
  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(
1142
1142
  "img",
1143
1143
  {
1144
- src: "https://www.telia.no/globalassets/static/svg/telia.svg",
1144
+ src: "https://www.telia.no/globalassets/static/svg/telia-primary-default-v2.svg",
1145
1145
  draggable: "false",
1146
1146
  alt: "Telia logo"
1147
1147
  }
1148
1148
  ) }) : /* @__PURE__ */ jsxRuntime.jsx("a", { href: subLink.link, onClick: () => setSelectedMenuItem(""), children: /* @__PURE__ */ jsxRuntime.jsx(
1149
1149
  "img",
1150
1150
  {
1151
- src: "https://www.telia.no/globalassets/static/svg/telia.svg",
1151
+ src: "https://www.telia.no/globalassets/static/svg/telia-primary-default-v2.svg",
1152
1152
  draggable: "false",
1153
1153
  alt: "Telia logo"
1154
1154
  }
@@ -803,7 +803,7 @@ const Desktop = React__default.forwardRef(() => {
803
803
  children: /* @__PURE__ */ jsx(
804
804
  "img",
805
805
  {
806
- src: "https://www.telia.no/globalassets/static/svg/telia.svg",
806
+ src: "https://www.telia.no/globalassets/static/svg/telia-primary-default-v2.svg",
807
807
  draggable: "false",
808
808
  alt: "Telia logo"
809
809
  }
@@ -818,7 +818,7 @@ const Desktop = React__default.forwardRef(() => {
818
818
  children: /* @__PURE__ */ jsx(
819
819
  "img",
820
820
  {
821
- src: "https://www.telia.no/globalassets/static/svg/telia.svg",
821
+ src: "https://www.telia.no/globalassets/static/svg/telia-primary-default-v2.svg",
822
822
  draggable: "false",
823
823
  alt: "Telia logo"
824
824
  }
@@ -1120,14 +1120,14 @@ const DesktopSimplified = React__default.forwardRef(() => {
1120
1120
  subLink.name === "Logo" && /* @__PURE__ */ jsx(NavigationMenu.Link, { asChild: true, variant: "button", children: subLink.appKey === rootContext.appKey || rootContext.appKey === "storybook" ? /* @__PURE__ */ jsx(Link2, { href: subLink.link, onClick: () => setSelectedMenuItem(""), children: /* @__PURE__ */ jsx(
1121
1121
  "img",
1122
1122
  {
1123
- src: "https://www.telia.no/globalassets/static/svg/telia.svg",
1123
+ src: "https://www.telia.no/globalassets/static/svg/telia-primary-default-v2.svg",
1124
1124
  draggable: "false",
1125
1125
  alt: "Telia logo"
1126
1126
  }
1127
1127
  ) }) : /* @__PURE__ */ jsx("a", { href: subLink.link, onClick: () => setSelectedMenuItem(""), children: /* @__PURE__ */ jsx(
1128
1128
  "img",
1129
1129
  {
1130
- src: "https://www.telia.no/globalassets/static/svg/telia.svg",
1130
+ src: "https://www.telia.no/globalassets/static/svg/telia-primary-default-v2.svg",
1131
1131
  draggable: "false",
1132
1132
  alt: "Telia logo"
1133
1133
  }
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "pnpm": ">=9"
21
21
  },
22
22
  "private": false,
23
- "version": "0.3.8",
23
+ "version": "0.4.0",
24
24
  "sideEffects": [
25
25
  "**/*.css",
26
26
  "**/*.svg"