@telia/teddy 0.0.60 → 0.0.62

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.
Files changed (102) hide show
  1. package/dist/components/breadcrumbs/breadcrumbs-link.d.ts +1 -1
  2. package/dist/components/breadcrumbs/index.d.ts +1 -1
  3. package/dist/components/card/card-illustration.d.ts +1 -1
  4. package/dist/components/card/card-link.d.ts +1 -1
  5. package/dist/components/card/index.d.ts +2 -2
  6. package/dist/components/chip/chip-indicator.d.ts +1 -1
  7. package/dist/components/chip/index.d.ts +1 -1
  8. package/dist/components/expandable-card/expandable-card-button.d.ts +3 -3
  9. package/dist/components/expandable-card/index.d.ts +4 -4
  10. package/dist/components/index.cjs +11 -4
  11. package/dist/components/index.d.ts +2 -0
  12. package/dist/components/index.js +9 -5
  13. package/dist/components/modal/modal.cjs +3 -2
  14. package/dist/components/modal/modal.js +3 -2
  15. package/dist/components/navigation-menu/global-navigation/global-navigation-desktop-simplified.cjs +2 -3
  16. package/dist/components/navigation-menu/global-navigation/global-navigation-desktop-simplified.js +2 -3
  17. package/dist/components/navigation-menu/global-navigation/global-navigation-desktop.cjs +2 -3
  18. package/dist/components/navigation-menu/global-navigation/global-navigation-desktop.js +1 -2
  19. package/dist/components/navigation-menu/global-navigation/global-navigation-mobile-simplified.cjs +2 -3
  20. package/dist/components/navigation-menu/global-navigation/global-navigation-mobile-simplified.js +2 -3
  21. package/dist/components/navigation-menu/global-navigation/global-navigation-mobile.cjs +2 -3
  22. package/dist/components/navigation-menu/global-navigation/global-navigation-mobile.js +2 -3
  23. package/dist/components/navigation-menu/global-navigation/global-navigation-my-pages.cjs +12 -682
  24. package/dist/components/navigation-menu/global-navigation/global-navigation-my-pages.js +12 -682
  25. package/dist/components/navigation-menu/global-navigation/global-navigation-root.cjs +4 -5
  26. package/dist/components/navigation-menu/global-navigation/global-navigation-root.js +4 -5
  27. package/dist/components/navigation-menu/global-navigation/global-navigation-search-field.cjs +2 -2
  28. package/dist/components/navigation-menu/global-navigation/global-navigation-search-field.js +2 -2
  29. package/dist/components/navigation-menu/global-navigation/global-navigation-search.cjs +2 -3
  30. package/dist/components/navigation-menu/global-navigation/global-navigation-search.js +2 -3
  31. package/dist/components/navigation-menu/global-navigation/global-navigation-shopping-cart.cjs +2 -3
  32. package/dist/components/navigation-menu/global-navigation/global-navigation-shopping-cart.js +2 -3
  33. package/dist/components/navigation-menu/global-navigation/index.cjs +2 -2
  34. package/dist/components/navigation-menu/global-navigation/index.js +1 -1
  35. package/dist/components/navigation-menu/index.cjs +3 -4
  36. package/dist/components/navigation-menu/index.js +2 -3
  37. package/dist/components/navigation-menu/navigation-menu.cjs +55 -436
  38. package/dist/components/navigation-menu/navigation-menu.d.ts +9 -1
  39. package/dist/components/navigation-menu/navigation-menu.js +55 -419
  40. package/dist/components/notabene/notabene-icon.d.ts +1 -1
  41. package/dist/components/notification/notification.d.ts +1 -1
  42. package/dist/components/radio-card-group/radio-card-group-content.cjs +3 -2
  43. package/dist/components/radio-card-group/radio-card-group-content.js +3 -2
  44. package/dist/components/radio-card-group/radio-card-group-item-body.cjs +3 -2
  45. package/dist/components/radio-card-group/radio-card-group-item-body.js +3 -2
  46. package/dist/components/radio-card-group/radio-card-group-item-title.cjs +1137 -51
  47. package/dist/components/radio-card-group/radio-card-group-item-title.js +1148 -63
  48. package/dist/components/radio-card-group/radio-card-group-item.cjs +3 -2
  49. package/dist/components/radio-card-group/radio-card-group-item.js +3 -2
  50. package/dist/components/scroll-area/index.d.ts +3 -3
  51. package/dist/components/scroll-area/scroll-area-button.d.ts +3 -3
  52. package/dist/components/tabs/index.d.ts +3 -3
  53. package/dist/components/tabs/tabs-scroll-button.d.ts +3 -3
  54. package/dist/components/text-field/index.d.ts +2 -2
  55. package/dist/components/text-field/text-field-button.d.ts +2 -2
  56. package/dist/components/toast/index.cjs +10 -0
  57. package/dist/components/toast/index.d.ts +9 -0
  58. package/dist/components/toast/index.js +7 -0
  59. package/dist/components/toast/toast-root.cjs +121 -0
  60. package/dist/components/toast/toast-root.d.ts +9 -0
  61. package/dist/components/toast/toast-root.js +121 -0
  62. package/dist/components/toggle/toggle.d.ts +1 -1
  63. package/dist/components/toggletip/index.cjs +31 -0
  64. package/dist/components/toggletip/index.d.ts +33 -0
  65. package/dist/components/toggletip/index.js +31 -0
  66. package/dist/components/toggletip/toggletip-anchor.cjs +33 -0
  67. package/dist/components/toggletip/toggletip-anchor.d.ts +6 -0
  68. package/dist/components/toggletip/toggletip-anchor.js +16 -0
  69. package/dist/components/toggletip/toggletip-arrow.cjs +38 -0
  70. package/dist/components/toggletip/toggletip-arrow.d.ts +6 -0
  71. package/dist/components/toggletip/toggletip-arrow.js +21 -0
  72. package/dist/components/toggletip/toggletip-close.cjs +48 -0
  73. package/dist/components/toggletip/toggletip-close.d.ts +10 -0
  74. package/dist/components/toggletip/toggletip-close.js +31 -0
  75. package/dist/components/toggletip/toggletip-content.cjs +80 -0
  76. package/dist/components/toggletip/toggletip-content.d.ts +16 -0
  77. package/dist/components/toggletip/toggletip-content.js +63 -0
  78. package/dist/components/toggletip/toggletip-footer.cjs +10 -0
  79. package/dist/components/toggletip/toggletip-footer.d.ts +6 -0
  80. package/dist/components/toggletip/toggletip-footer.js +10 -0
  81. package/dist/components/toggletip/toggletip-heading.cjs +25 -0
  82. package/dist/components/toggletip/toggletip-heading.d.ts +6 -0
  83. package/dist/components/toggletip/toggletip-heading.js +25 -0
  84. package/dist/components/toggletip/toggletip-portal.cjs +31 -0
  85. package/dist/components/toggletip/toggletip-portal.d.ts +11 -0
  86. package/dist/components/toggletip/toggletip-portal.js +14 -0
  87. package/dist/components/toggletip/toggletip-root.cjs +36 -0
  88. package/dist/components/toggletip/toggletip-root.d.ts +26 -0
  89. package/dist/components/toggletip/toggletip-root.js +19 -0
  90. package/dist/components/toggletip/toggletip-trigger.cjs +33 -0
  91. package/dist/components/toggletip/toggletip-trigger.d.ts +10 -0
  92. package/dist/components/toggletip/toggletip-trigger.js +16 -0
  93. package/dist/components/tooltip/index.d.ts +3 -3
  94. package/dist/main.cjs +11 -4
  95. package/dist/main.js +9 -5
  96. package/dist/style.css +3458 -2751
  97. package/dist/toggletip.module-A6XIfaD_.cjs +10 -0
  98. package/dist/toggletip.module-BUx6_4pv.js +11 -0
  99. package/dist/utils/generate-styling/grid.d.ts +24 -24
  100. package/dist/utils/generate-styling/index.d.ts +16 -16
  101. package/dist/utils/generate-styling/util.d.ts +2 -2
  102. package/package.json +17 -15
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+ import { Box } from '..';
2
3
 
3
4
  import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
4
5
  export declare const rootClassName = "teddy-navigation-menu";
@@ -41,6 +42,11 @@ type ListProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.L
41
42
  */
42
43
  value?: string;
43
44
  };
45
+ /** -------------------------------------------------------------------------------------------------
46
+ * Separator
47
+ * -----------------------------------------------------------------------------------------------*/
48
+ export type SeparatorProps = Omit<React.ComponentPropsWithoutRef<typeof Box>, 'asChild' | 'as' | 'children'>;
49
+ export declare const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
44
50
  /** -------------------------------------------------------------------------------------------------
45
51
  * NavigationMenuItem
46
52
  * -----------------------------------------------------------------------------------------------*/
@@ -95,6 +101,7 @@ declare const NavigationMenu: React.ForwardRefExoticComponent<Omit<NavigationMen
95
101
  */
96
102
  value?: string | undefined;
97
103
  } & React.RefAttributes<HTMLUListElement>>;
104
+ Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
98
105
  Item: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>, "ref"> & {
99
106
  defaultValue?: string | undefined;
100
107
  } & React.RefAttributes<HTMLLIElement>>;
@@ -106,7 +113,7 @@ declare const NavigationMenu: React.ForwardRefExoticComponent<Omit<NavigationMen
106
113
  variant?: "default" | "float" | undefined;
107
114
  } & React.RefAttributes<HTMLDivElement>>;
108
115
  Link: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>, "ref"> & {
109
- variant?: "button" | "small" | "default" | undefined;
116
+ variant?: "small" | "button" | "default" | undefined;
110
117
  } & React.RefAttributes<HTMLAnchorElement>>;
111
118
  Indicator: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
112
119
  Viewport: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -122,6 +129,7 @@ declare const NavigationMenu: React.ForwardRefExoticComponent<Omit<NavigationMen
122
129
  type NavigationMenuProps = {
123
130
  Root: RootProps;
124
131
  List: ListProps;
132
+ Separator: SeparatorProps;
125
133
  Item: ItemProps;
126
134
  Trigger: TriggerProps;
127
135
  Content: ContentProps;
@@ -1,421 +1,57 @@
1
- import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
- import React__default from "react";
3
- import clsx from "clsx";
4
- import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
5
- import { useComposedRefs } from "../../utils/composeRefs.js";
6
- import { VisuallyHidden } from "../visually-hidden/visually-hidden.js";
7
- import { composeEventHandlers } from "../../utils/composeEventHandlers.js";
8
- import { Slot } from "@radix-ui/react-slot";
9
- import { useControllableState } from "@radix-ui/react-use-controllable-state";
10
- import { mergeStyles } from "../../utils/generate-styling/index.js";
11
- import { teddyMotionDuration300 } from "../../tokens/motion/variables.js";
12
- const scaleIn = "_scaleIn_1bmzc_1";
13
- const scaleOut = "_scaleOut_1bmzc_1";
14
- const enterFromRight = "_enterFromRight_1bmzc_1";
15
- const enterFromLeft = "_enterFromLeft_1bmzc_1";
16
- const exitToRight = "_exitToRight_1bmzc_1";
17
- const exitToLeft = "_exitToLeft_1bmzc_1";
18
- const styles = {
19
- "teddy-navigation-menu": "_teddy-navigation-menu_1bmzc_1",
20
- "teddy-navigation-menu__viewport": "_teddy-navigation-menu__viewport_1bmzc_34",
21
- "teddy-navigation-menu__list": "_teddy-navigation-menu__list_1bmzc_37",
22
- "teddy-navigation-menu__top-menu-list": "_teddy-navigation-menu__top-menu-list_1bmzc_59",
23
- "teddy-navigation-menu__top-menu-trigger": "_teddy-navigation-menu__top-menu-trigger_1bmzc_83",
24
- "teddy-navigation-menu__top-menu-trigger--small": "_teddy-navigation-menu__top-menu-trigger--small_1bmzc_102",
25
- "teddy-navigation-menu__top-menu-trigger--button": "_teddy-navigation-menu__top-menu-trigger--button_1bmzc_108",
26
- "teddy-navigation-menu__content": "_teddy-navigation-menu__content_1bmzc_183",
27
- "teddy-navigation-menu__trigger": "_teddy-navigation-menu__trigger_1bmzc_219",
28
- "teddy-navigation-menu__trigger--small": "_teddy-navigation-menu__trigger--small_1bmzc_239",
29
- "teddy-navigation-menu__trigger--button": "_teddy-navigation-menu__trigger--button_1bmzc_245",
30
- "teddy-navigation-menu__link": "_teddy-navigation-menu__link_1bmzc_313",
31
- "teddy-navigation-menu__link--small": "_teddy-navigation-menu__link--small_1bmzc_333",
32
- "teddy-navigation-menu__link--button": "_teddy-navigation-menu__link--button_1bmzc_339",
33
- scaleIn,
34
- scaleOut,
35
- enterFromRight,
36
- enterFromLeft,
37
- exitToRight,
38
- exitToLeft
39
- };
40
- const rootClassName = "teddy-navigation-menu";
41
- const NavigationMenuContext = React__default.createContext({
42
- selectedTopMenu: void 0,
43
- setSelectedTopMenu: () => {
44
- },
45
- contentRef: { current: null },
46
- focusProxyRef: { current: null },
47
- topMenuRef: { current: null },
48
- id: "",
49
- dir: "ltr",
50
- orientation: "horizontal",
51
- onEntryKeyDown: () => {
52
- },
53
- onFocusProxyEnter: () => {
54
- },
55
- onContentFocusOutside: () => {
56
- }
57
- });
58
- const Root = React__default.forwardRef(
59
- ({ className, defaultTopMenuValue, topMenuValue, onTopMenuValueChange, ...props }, forwardRef) => {
60
- const [selectedTopMenu, setSelectedTopMenu] = useControllableState({
61
- defaultProp: defaultTopMenuValue,
62
- prop: topMenuValue,
63
- onChange: onTopMenuValueChange
64
- });
65
- const contentRef = React__default.useRef(null);
66
- const [allowAnimationOfHeight, setAllowAnimationOfHeight] = React__default.useState(false);
67
- const timerRef = React__default.useRef(void 0);
68
- const restoreContentTabOrderRef = React__default.useRef(() => {
69
- });
70
- const focusProxyRef = React__default.useRef(null);
71
- const topMenuRef = React__default.useRef(null);
72
- const id = React__default.useId();
73
- const handleContentEntry = React__default.useCallback((side = "start") => {
74
- if (contentRef.current) {
75
- restoreContentTabOrderRef.current();
76
- const candidates = getTabbableCandidates(contentRef.current);
77
- if (candidates.length)
78
- focusFirst(side === "start" ? candidates : candidates.reverse());
79
- }
80
- }, []);
81
- const handleContentExit = React__default.useCallback(() => {
82
- if (contentRef.current) {
83
- const candidates = getTabbableCandidates(contentRef.current);
84
- if (candidates.length)
85
- restoreContentTabOrderRef.current = removeFromTabOrder(candidates);
86
- }
87
- }, []);
88
- React__default.useEffect(() => {
89
- timerRef.current = setTimeout(() => {
90
- setAllowAnimationOfHeight(true);
91
- }, 500);
92
- return () => {
93
- timerRef.current && clearTimeout(timerRef.current);
94
- };
95
- }, []);
96
- const classes = clsx([styles[`${rootClassName}`]], className);
97
- return /* @__PURE__ */ jsx(
98
- NavigationMenuContext.Provider,
99
- {
100
- value: {
101
- contentRef,
102
- focusProxyRef,
103
- topMenuRef,
104
- id,
105
- dir: props.dir || "ltr",
106
- orientation: props.orientation || "horizontal",
107
- onEntryKeyDown: handleContentEntry,
108
- onFocusProxyEnter: handleContentEntry,
109
- onContentFocusOutside: handleContentExit,
110
- selectedTopMenu,
111
- setSelectedTopMenu
112
- },
113
- children: /* @__PURE__ */ jsx(
114
- NavigationMenuPrimitive.Root,
115
- {
116
- ...props,
117
- style: allowAnimationOfHeight ? mergeStyles(props.style, { ["--teddy-motion-duration-controlled"]: teddyMotionDuration300 }) : props.style,
118
- ref: forwardRef,
119
- className: classes
120
- }
121
- )
122
- }
123
- );
124
- }
125
- );
126
- Root.displayName = "NavigationMenu";
127
- const TopMenuList = React__default.forwardRef(
128
- ({ className, ...props }, forwardRef) => {
129
- const classes = clsx([styles[`${rootClassName}__top-menu-list`]], className);
130
- const context = React__default.useContext(NavigationMenuContext);
131
- const ref = useComposedRefs(context.topMenuRef, forwardRef);
132
- return /* @__PURE__ */ jsx("ul", { ...props, ref, className: classes });
133
- }
134
- );
135
- TopMenuList.displayName = "NavigationMenu.TopMenuList";
136
- const TopMenuItem = React__default.forwardRef(
137
- ({ className, ...props }, forwardRef) => {
138
- const classes = clsx([styles[`${rootClassName}__top-menu-item`]], className);
139
- return /* @__PURE__ */ jsx("li", { ...props, ref: forwardRef, className: classes });
140
- }
141
- );
142
- const TopMenuTrigger = React__default.forwardRef(
143
- ({ className, asChild, active, ...props }, forwardRef) => {
144
- const classes = clsx(
145
- [styles[`${rootClassName}__top-menu-trigger`], styles[`${rootClassName}__top-menu-trigger--small`]],
146
- className
147
- );
148
- const Comp = asChild ? Slot : "button";
149
- const context = React__default.useContext(NavigationMenuContext);
150
- const innerRef = React__default.useRef(null);
151
- const ref = useComposedRefs(innerRef, forwardRef);
152
- const isOpen = context.selectedTopMenu === props.value;
153
- return /* @__PURE__ */ jsxs(Fragment, { children: [
154
- /* @__PURE__ */ jsx(
155
- Comp,
156
- {
157
- ...props,
158
- ref,
159
- className: classes,
160
- "data-state": isOpen ? "open" : "closed",
161
- "data-active": active ? "true" : void 0,
162
- "aria-expanded": isOpen,
163
- "aria-controls": makeContentId({ value: props.value, baseId: context.id }),
164
- ...{ [ITEM_DATA_ATTR]: "" },
165
- onClick: composeEventHandlers(props.onClick, () => {
166
- context.setSelectedTopMenu(props.value);
167
- }),
168
- onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {
169
- var _a;
170
- const verticalEntryKey = context.dir === "rtl" ? "ArrowLeft" : "ArrowRight";
171
- const entryKey = { horizontal: "ArrowDown", vertical: verticalEntryKey }[context.orientation];
172
- if (isOpen && event.key === entryKey) {
173
- context.onEntryKeyDown();
174
- return event.preventDefault();
175
- }
176
- const isFocusNavigationKey = ["Home", "End", ...ARROW_KEYS].includes(event.key);
177
- if (isFocusNavigationKey) {
178
- const triggers = (_a = context.topMenuRef.current) == null ? void 0 : _a.querySelectorAll(`[${ITEM_DATA_ATTR}]`);
179
- if (!triggers)
180
- return;
181
- let candidateNodes = Array.from(triggers == null ? void 0 : triggers.values());
182
- const prevItemKey = context.dir === "rtl" ? "ArrowRight" : "ArrowLeft";
183
- const prevKeys = [prevItemKey, "ArrowUp", "End"];
184
- if (prevKeys.includes(event.key))
185
- candidateNodes.reverse();
186
- if (ARROW_KEYS.includes(event.key)) {
187
- const currentIndex = candidateNodes.indexOf(event.currentTarget);
188
- candidateNodes = candidateNodes.slice(currentIndex + 1);
189
- focusFirst(candidateNodes);
190
- event.preventDefault();
191
- }
192
- }
193
- })
194
- }
195
- ),
196
- isOpen && /* @__PURE__ */ jsx(
197
- VisuallyHidden,
198
- {
199
- "aria-hidden": true,
200
- tabIndex: 0,
201
- ref: context.focusProxyRef,
202
- onFocus: (event) => {
203
- const content = context.contentRef.current;
204
- const prevFocusedElement = event.relatedTarget;
205
- const wasTriggerFocused = prevFocusedElement === innerRef.current;
206
- const wasFocusFromContent = content == null ? void 0 : content.contains(prevFocusedElement);
207
- if (wasTriggerFocused || !wasFocusFromContent) {
208
- context.onFocusProxyEnter(wasTriggerFocused ? "start" : "end");
209
- }
210
- }
211
- }
212
- )
213
- ] });
214
- }
215
- );
216
- const List = React__default.forwardRef(
217
- ({ className, variant, value, ...props }, forwardRef) => {
218
- const classes = clsx([styles[`${rootClassName}__list`]], [styles[`${rootClassName}__list--${variant}`]], className);
219
- const context = React__default.useContext(NavigationMenuContext);
220
- const refOnOpen = useComposedRefs(context.contentRef, forwardRef);
221
- const hasTopMenu = context.selectedTopMenu !== void 0;
222
- const isOpen = context.selectedTopMenu === value;
223
- if (!isOpen)
224
- return null;
225
- return /* @__PURE__ */ jsx(
226
- NavigationMenuPrimitive.List,
227
- {
228
- ref: hasTopMenu ? refOnOpen : forwardRef,
229
- id: value && makeContentId({ value, baseId: context.id }),
230
- ...props,
231
- onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {
232
- var _a;
233
- if (!value)
234
- return;
235
- const isMetaKey = event.altKey || event.ctrlKey || event.metaKey;
236
- const isTabKey = event.key === "Tab" && !isMetaKey;
237
- if (isTabKey) {
238
- const candidates = getTabbableCandidates(event.currentTarget);
239
- const focusedElement = document.activeElement;
240
- const index = candidates.findIndex((candidate) => candidate === focusedElement);
241
- const isMovingBackwards = event.shiftKey;
242
- const nextCandidates = isMovingBackwards ? candidates.slice(0, index).reverse() : candidates.slice(index + 1, candidates.length);
243
- if (focusFirst(nextCandidates)) {
244
- event.preventDefault();
245
- } else {
246
- (_a = context.focusProxyRef.current) == null ? void 0 : _a.focus();
247
- context.onContentFocusOutside();
248
- }
249
- }
250
- }),
251
- className: classes
252
- }
253
- );
254
- }
255
- );
256
- List.displayName = "NavigationMenu.List";
257
- const Item = React__default.forwardRef(
258
- ({ className, ...props }, forwardRef) => {
259
- const classes = clsx([styles[`${rootClassName}__item`]], className);
260
- return /* @__PURE__ */ jsx(NavigationMenuPrimitive.Item, { ...props, ref: forwardRef, className: classes });
261
- }
262
- );
263
- Item.displayName = "NavigationMenu.Item";
264
- const Trigger = React__default.forwardRef(
265
- ({ className, active, variant = "default", ...props }, forwardRef) => {
266
- const classes = clsx(
267
- [styles[`${rootClassName}__trigger`]],
268
- [styles[`${rootClassName}__trigger--${variant}`]],
269
- className
270
- );
271
- const innerRef = React__default.useRef(null);
272
- const ref = useComposedRefs(forwardRef, innerRef);
273
- return /* @__PURE__ */ jsx(
274
- NavigationMenuPrimitive.Trigger,
275
- {
276
- onPointerEnter: (e) => e.preventDefault(),
277
- onPointerMove: (e) => e.preventDefault(),
278
- onPointerLeave: (e) => e.preventDefault(),
279
- ...props,
280
- ref,
281
- "data-active": active ? "true" : void 0,
282
- className: classes,
283
- "data-text": getLabelFromChildren(props.children)
284
- }
285
- );
286
- }
287
- );
288
- Trigger.displayName = "NavigationMenu.Trigger";
289
- const Content = React__default.forwardRef(
290
- ({ className, variant = "default", ...props }, forwardRef) => {
291
- const classes = clsx(
292
- [styles[`${rootClassName}__content`]],
293
- [styles[`${rootClassName}__content--${variant}`]],
294
- className
295
- );
296
- return /* @__PURE__ */ jsx(
297
- NavigationMenuPrimitive.Content,
298
- {
299
- onPointerEnter: (e) => e.preventDefault(),
300
- onPointerLeave: (e) => e.preventDefault(),
301
- ...props,
302
- ref: forwardRef,
303
- className: classes
304
- }
305
- );
306
- }
307
- );
308
- const Link = React__default.forwardRef(
309
- ({ className, variant = "default", ...props }, forwardRef) => {
310
- const classes = clsx([styles[`${rootClassName}__link`]], [styles[`${rootClassName}__link--${variant}`]], className);
311
- return /* @__PURE__ */ jsx(
312
- NavigationMenuPrimitive.Link,
313
- {
314
- ...props,
315
- ref: forwardRef,
316
- className: classes,
317
- "data-text": getLabelFromChildren(props.children)
318
- }
319
- );
320
- }
321
- );
322
- Link.displayName = "NavigationMenu.Link";
323
- const Indicator = React__default.forwardRef(
324
- ({ className, ...props }, forwardRef) => {
325
- const classes = clsx([styles[`${rootClassName}__indicator`]], className);
326
- return /* @__PURE__ */ jsx(NavigationMenuPrimitive.Indicator, { ...props, ref: forwardRef, className: classes });
327
- }
328
- );
329
- Indicator.displayName = "NavigationMenu.Indicator";
330
- const Viewport = React__default.forwardRef(
331
- ({ className, ...props }, forwardRef) => {
332
- const classes = clsx([styles[`${rootClassName}__viewport`]], className);
333
- return /* @__PURE__ */ jsx(NavigationMenuPrimitive.Viewport, { ...props, ref: forwardRef, className: classes });
334
- }
335
- );
336
- Viewport.displayName = "NavigationMenu.Viewport";
337
- const Sub = React__default.forwardRef(
338
- ({ className, ...props }, forwardRef) => {
339
- const classes = clsx([styles[`${rootClassName}__sub`]], className);
340
- return /* @__PURE__ */ jsx(NavigationMenuPrimitive.Sub, { ...props, ref: forwardRef, className: classes });
341
- }
342
- );
343
- Sub.displayName = "NavigationMenu.Sub";
344
- function getLabelFromChildren(children) {
345
- function findLabel(node) {
346
- if (typeof node === "string") {
347
- return node;
348
- }
349
- if (React__default.isValidElement(node) && node.props.children) {
350
- return findLabel(node.props.children);
351
- }
352
- if (Array.isArray(node)) {
353
- for (let i = node.length - 1; i >= 0; i--) {
354
- const label = findLabel(node[i]);
355
- if (label) {
356
- return label;
357
- }
358
- }
359
- }
360
- return void 0;
361
- }
362
- return findLabel(children);
363
- }
364
- function getTabbableCandidates(container) {
365
- const nodes = [];
366
- const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, {
367
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
368
- acceptNode: (node) => {
369
- const isHiddenInput = node.tagName === "INPUT" && node.type === "hidden";
370
- if (node.disabled || node.hidden || isHiddenInput)
371
- return NodeFilter.FILTER_SKIP;
372
- return node.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
373
- }
374
- });
375
- while (walker.nextNode())
376
- nodes.push(walker.currentNode);
377
- return nodes;
378
- }
379
- function focusFirst(candidates) {
380
- const previouslyFocusedElement = document.activeElement;
381
- return candidates.some((candidate) => {
382
- if (candidate === previouslyFocusedElement)
383
- return true;
384
- candidate.focus();
385
- return document.activeElement !== previouslyFocusedElement;
386
- });
387
- }
388
- function removeFromTabOrder(candidates) {
389
- candidates.forEach((candidate) => {
390
- candidate.dataset.tabindex = candidate.getAttribute("tabindex") || "";
391
- candidate.setAttribute("tabindex", "-1");
392
- });
393
- return () => {
394
- candidates.forEach((candidate) => {
395
- const prevTabIndex = candidate.dataset.tabindex;
396
- candidate.setAttribute("tabindex", prevTabIndex);
397
- });
398
- };
399
- }
400
- const ITEM_DATA_ATTR = "data-teddy-top-selector-trigger";
401
- const ARROW_KEYS = ["ArrowRight", "ArrowLeft", "ArrowUp", "ArrowDown"];
402
- function makeContentId(args) {
403
- return `teddy-navigation-menu-${args.baseId}-${args.value}-content`;
404
- }
405
- const NavigationMenu = Object.assign(Root, {
406
- List,
407
- Item,
408
- Trigger,
409
- Content,
410
- Link,
411
- Indicator,
412
- Viewport,
413
- Sub,
414
- TopMenuList,
415
- TopMenuItem,
416
- TopMenuTrigger
417
- });
1
+ import "react/jsx-runtime";
2
+ import "react";
3
+ import "clsx";
4
+ import "@radix-ui/react-navigation-menu";
5
+ import { N, S, r } from "../radio-card-group/radio-card-group-item-title.js";
6
+ import "../../utils/composeRefs.js";
7
+ import "../visually-hidden/visually-hidden.js";
8
+ import "../../utils/composeEventHandlers.js";
9
+ import "@radix-ui/react-slot";
10
+ import "@radix-ui/react-use-controllable-state";
11
+ import "../../utils/generate-styling/index.js";
12
+ import "../../tokens/motion/variables.js";
13
+ import "../toast/toast-root.js";
14
+ import "sonner";
15
+ import "../toggletip/index.js";
16
+ import "../breadcrumbs/index.js";
17
+ import "../ribbon/index.js";
18
+ import "../expandable-card/index.js";
19
+ import "../color-dot/color-dot-root.js";
20
+ import "../progress-bar/progress-bar.js";
21
+ import "../notabene/index.js";
22
+ import "../tooltip/index.js";
23
+ import "../list/index.js";
24
+ import "../scroll-area/index.js";
25
+ import "../tabs/index.js";
26
+ import "../drawer/index.js";
27
+ import "../image/image.js";
28
+ import "../chip/index.js";
29
+ import "../../assets/sprite.269ba410-teddy.svg";
30
+ import "../notification/notification.js";
31
+ import "../radio-group/index.js";
32
+ import "../box/box.js";
33
+ import "../flex/flex.js";
34
+ import "../card/index.js";
35
+ import "../grid/grid.js";
36
+ import "../toggle/toggle.js";
37
+ import "../accordion/index.js";
38
+ import "../link/link.js";
39
+ import "../badge/badge.js";
40
+ import "../badge/alert-badge.js";
41
+ import "../badge/counter-badge.js";
42
+ import "../button/button.js";
43
+ import "../field-error-text/field-error-text.js";
44
+ import "../helper-text/helper-text.js";
45
+ import "../input/index.js";
46
+ import "../label/label.js";
47
+ import "../spinner/spinner.js";
48
+ import "../text/text.js";
49
+ import "../text-field/index.js";
50
+ import "../heading/heading.js";
51
+ import "../text-spacing/text-spacing.js";
52
+ import "../container/container.js";
418
53
  export {
419
- NavigationMenu,
420
- rootClassName
54
+ N as NavigationMenu,
55
+ S as Separator,
56
+ r as rootClassName
421
57
  };
@@ -3,7 +3,7 @@ import { Icon as PrimitiveIcon } from '../icon';
3
3
 
4
4
  export type IconProps = Partial<React.ComponentPropsWithoutRef<typeof PrimitiveIcon>>;
5
5
  export declare const Icon: React.ForwardRefExoticComponent<Partial<Omit<React.SVGProps<SVGSVGElement> & {
6
- name: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "key" | "x" | "download" | "split" | "alert" | "radio" | "email" | "copy" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "edit" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "play" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "sync" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "tv-next" | "tv-pause" | "tv-previous" | "tv-stop" | "upload" | "visible" | "volume" | "zoom-out" | "zoom" | "connected-building" | "home" | "hospital" | "industry" | "premises-datacenter" | "premises-large" | "premises-medium" | "premises-small" | "premises" | "store" | "address-book" | "b2b-customer" | "care" | "chat-robot" | "chat" | "child-1" | "child-2" | "conversation" | "customer-dialogue" | "dsl-hub" | "end-user" | "handshake" | "headphones" | "letter" | "mms" | "new-contact" | "new-group" | "news" | "parental-guide" | "people-hub" | "people" | "portal" | "signature" | "smiley-happy" | "smiley-sad" | "sms" | "support" | "user-admin" | "vcard" | "voicemail" | "battery" | "bluetooth" | "broadband" | "broken-phone" | "cast" | "cloud-connect" | "connected" | "core-router" | "daas-device" | "data-transfer" | "desktop" | "devices" | "esim-simcard" | "esim" | "face-id" | "fiber" | "fingerprint" | "fiveg" | "fourg" | "home-installation" | "industrial-iot" | "internet" | "it-service" | "laptop" | "mobile-broadband" | "network" | "phone-recycling" | "phone-ringing" | "phone" | "rack" | "refill-card" | "remote-control" | "repair" | "roaming" | "router" | "secure-device" | "sense-car" | "server" | "service-device" | "service-supervision" | "slow-wifi" | "smart-wifi" | "smartphone" | "smartwatch" | "tablet" | "trade-phone" | "tv" | "usb" | "voice-switch" | "wallplug" | "wireless-off" | "wireless-weak" | "wireless" | "world-alert" | "world-off" | "world-question" | "bar-chart" | "doc" | "document-doc" | "document-edit" | "document-pdf" | "document-ppt" | "excel" | "folder-copy" | "folder-new" | "folder" | "gif" | "graph" | "media-content" | "org-chart" | "pie-chart" | "print" | "register" | "report" | "simcard" | "spell-check" | "credit-card" | "euro" | "invoice" | "kontantkort" | "kr" | "late-payment" | "money-back-euro" | "money-back-kr" | "money-euro" | "money-kr" | "pay-monthly-euro" | "pay-monthly-kr" | "pay-once-euro" | "pay-once-kr" | "payment-success" | "savings" | "wallet" | "airplay" | "camera" | "entertainment" | "external" | "film" | "games" | "megaphone" | "microphone" | "music" | "player-settings" | "record" | "stream" | "trailer" | "video-conference" | "activity-level" | "add" | "ai-robot" | "bag" | "basketball" | "blood-pressure" | "bulb" | "business-continuity" | "business-intelligence" | "calendar" | "cart" | "close-circle" | "cloud" | "coffee" | "compass" | "construction" | "cookie" | "delivery" | "drone" | "education" | "efficiency" | "environment" | "facemask" | "flag" | "focus" | "food" | "fraud" | "getting-started" | "home-care" | "infinite" | "job-search" | "layers" | "measuring-health" | "moisture" | "offering" | "offshore" | "optimization" | "pebble" | "pet-dog" | "pin" | "plane" | "plus-minus" | "police" | "power-grid" | "present" | "press-button" | "price" | "pulse" | "recycle" | "reservation" | "reverse" | "route" | "ruler" | "satellite" | "secured-1" | "secured-2" | "security-camera" | "shopping" | "snowflake" | "speedometer" | "spyware" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "youtube" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "help" | "info-filled" | "info" | "question-filled" | "question" | "warning" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-subdirectory" | "arrow-up" | "card-view" | "checkmark-bold" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "close" | "grid-view" | "list-view" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view";
6
+ name: "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "copy" | "dislike" | "download" | "edit" | "filter" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "play" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "sync" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "tv-next" | "tv-pause" | "tv-previous" | "tv-stop" | "upload" | "visible" | "volume" | "zoom-out" | "zoom" | "connected-building" | "home" | "hospital" | "industry" | "premises-datacenter" | "premises-large" | "premises-medium" | "premises-small" | "premises" | "store" | "address-book" | "b2b-customer" | "care" | "chat-robot" | "chat" | "child-1" | "child-2" | "conversation" | "customer-dialogue" | "dsl-hub" | "email" | "end-user" | "handshake" | "headphones" | "letter" | "mms" | "new-contact" | "new-group" | "news" | "parental-guide" | "people-hub" | "people" | "portal" | "signature" | "smiley-happy" | "smiley-sad" | "sms" | "support" | "user-admin" | "vcard" | "voicemail" | "battery" | "bluetooth" | "broadband" | "broken-phone" | "cast" | "cloud-connect" | "connected" | "core-router" | "daas-device" | "data-transfer" | "desktop" | "devices" | "esim-simcard" | "esim" | "face-id" | "fiber" | "fingerprint" | "fiveg" | "fourg" | "home-installation" | "industrial-iot" | "internet" | "it-service" | "laptop" | "mobile-broadband" | "network" | "phone-recycling" | "phone-ringing" | "phone" | "rack" | "refill-card" | "remote-control" | "repair" | "roaming" | "router" | "secure-device" | "sense-car" | "server" | "service-device" | "service-supervision" | "slow-wifi" | "smart-wifi" | "smartphone" | "smartwatch" | "tablet" | "trade-phone" | "tv" | "usb" | "voice-switch" | "wallplug" | "wireless-off" | "wireless-weak" | "wireless" | "world-alert" | "world-off" | "world-question" | "bar-chart" | "doc" | "document-doc" | "document-edit" | "document-pdf" | "document-ppt" | "excel" | "folder-copy" | "folder-new" | "folder" | "gif" | "graph" | "media-content" | "org-chart" | "pie-chart" | "print" | "register" | "report" | "simcard" | "spell-check" | "summary" | "credit-card" | "euro" | "invoice" | "kontantkort" | "kr" | "late-payment" | "money-back-euro" | "money-back-kr" | "money-euro" | "money-kr" | "pay-monthly-euro" | "pay-monthly-kr" | "pay-once-euro" | "pay-once-kr" | "payment-success" | "savings" | "wallet" | "airplay" | "camera" | "entertainment" | "external" | "film" | "games" | "image" | "link" | "megaphone" | "microphone" | "music" | "player-settings" | "record" | "stream" | "trailer" | "video-conference" | "video" | "activity-level" | "add" | "ai-robot" | "bag" | "basketball" | "blood-pressure" | "bulb" | "business-continuity" | "business-intelligence" | "calendar" | "cart" | "close-circle" | "cloud" | "coffee" | "compass" | "construction" | "cookie" | "delivery" | "drone" | "education" | "efficiency" | "environment" | "facemask" | "flag" | "focus" | "food" | "fraud" | "getting-started" | "home-care" | "infinite" | "job-search" | "key" | "layers" | "map" | "measuring-health" | "moisture" | "offering" | "offshore" | "optimization" | "pebble" | "pet-dog" | "pin" | "plane" | "plus-minus" | "police" | "power-grid" | "present" | "press-button" | "price" | "pulse" | "radio" | "recycle" | "reservation" | "reverse" | "route" | "ruler" | "satellite" | "secured-1" | "secured-2" | "security-camera" | "shopping" | "snowflake" | "speedometer" | "spyware" | "split" | "stop" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "time" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "youtube" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "x" | "alert-filled" | "alert" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "help" | "info-filled" | "info" | "question-filled" | "question" | "warning" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-subdirectory" | "arrow-up" | "card-view" | "checkmark-bold" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "close" | "grid-view" | "list-view" | "menu" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "search" | "services" | "sorter" | "table-view";
7
7
  size?: ("font" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl") | undefined;
8
8
  children?: React.ReactNode;
9
9
  }, "ref">> & React.RefAttributes<SVGSVGElement>>;
@@ -89,7 +89,7 @@ declare const Notification: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<
89
89
  Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLSpanElement>>;
90
90
  Heading: React.ForwardRefExoticComponent<HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
91
91
  Icon: React.ForwardRefExoticComponent<Partial<Omit<React.SVGProps<SVGSVGElement> & {
92
- name: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "key" | "x" | "download" | "split" | "alert" | "radio" | "email" | "copy" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "edit" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "play" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "sync" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "tv-next" | "tv-pause" | "tv-previous" | "tv-stop" | "upload" | "visible" | "volume" | "zoom-out" | "zoom" | "connected-building" | "home" | "hospital" | "industry" | "premises-datacenter" | "premises-large" | "premises-medium" | "premises-small" | "premises" | "store" | "address-book" | "b2b-customer" | "care" | "chat-robot" | "chat" | "child-1" | "child-2" | "conversation" | "customer-dialogue" | "dsl-hub" | "end-user" | "handshake" | "headphones" | "letter" | "mms" | "new-contact" | "new-group" | "news" | "parental-guide" | "people-hub" | "people" | "portal" | "signature" | "smiley-happy" | "smiley-sad" | "sms" | "support" | "user-admin" | "vcard" | "voicemail" | "battery" | "bluetooth" | "broadband" | "broken-phone" | "cast" | "cloud-connect" | "connected" | "core-router" | "daas-device" | "data-transfer" | "desktop" | "devices" | "esim-simcard" | "esim" | "face-id" | "fiber" | "fingerprint" | "fiveg" | "fourg" | "home-installation" | "industrial-iot" | "internet" | "it-service" | "laptop" | "mobile-broadband" | "network" | "phone-recycling" | "phone-ringing" | "phone" | "rack" | "refill-card" | "remote-control" | "repair" | "roaming" | "router" | "secure-device" | "sense-car" | "server" | "service-device" | "service-supervision" | "slow-wifi" | "smart-wifi" | "smartphone" | "smartwatch" | "tablet" | "trade-phone" | "tv" | "usb" | "voice-switch" | "wallplug" | "wireless-off" | "wireless-weak" | "wireless" | "world-alert" | "world-off" | "world-question" | "bar-chart" | "doc" | "document-doc" | "document-edit" | "document-pdf" | "document-ppt" | "excel" | "folder-copy" | "folder-new" | "folder" | "gif" | "graph" | "media-content" | "org-chart" | "pie-chart" | "print" | "register" | "report" | "simcard" | "spell-check" | "credit-card" | "euro" | "invoice" | "kontantkort" | "kr" | "late-payment" | "money-back-euro" | "money-back-kr" | "money-euro" | "money-kr" | "pay-monthly-euro" | "pay-monthly-kr" | "pay-once-euro" | "pay-once-kr" | "payment-success" | "savings" | "wallet" | "airplay" | "camera" | "entertainment" | "external" | "film" | "games" | "megaphone" | "microphone" | "music" | "player-settings" | "record" | "stream" | "trailer" | "video-conference" | "activity-level" | "add" | "ai-robot" | "bag" | "basketball" | "blood-pressure" | "bulb" | "business-continuity" | "business-intelligence" | "calendar" | "cart" | "close-circle" | "cloud" | "coffee" | "compass" | "construction" | "cookie" | "delivery" | "drone" | "education" | "efficiency" | "environment" | "facemask" | "flag" | "focus" | "food" | "fraud" | "getting-started" | "home-care" | "infinite" | "job-search" | "layers" | "measuring-health" | "moisture" | "offering" | "offshore" | "optimization" | "pebble" | "pet-dog" | "pin" | "plane" | "plus-minus" | "police" | "power-grid" | "present" | "press-button" | "price" | "pulse" | "recycle" | "reservation" | "reverse" | "route" | "ruler" | "satellite" | "secured-1" | "secured-2" | "security-camera" | "shopping" | "snowflake" | "speedometer" | "spyware" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "youtube" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "help" | "info-filled" | "info" | "question-filled" | "question" | "warning" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-subdirectory" | "arrow-up" | "card-view" | "checkmark-bold" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "close" | "grid-view" | "list-view" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view";
92
+ name: "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "copy" | "dislike" | "download" | "edit" | "filter" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "play" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "sync" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "tv-next" | "tv-pause" | "tv-previous" | "tv-stop" | "upload" | "visible" | "volume" | "zoom-out" | "zoom" | "connected-building" | "home" | "hospital" | "industry" | "premises-datacenter" | "premises-large" | "premises-medium" | "premises-small" | "premises" | "store" | "address-book" | "b2b-customer" | "care" | "chat-robot" | "chat" | "child-1" | "child-2" | "conversation" | "customer-dialogue" | "dsl-hub" | "email" | "end-user" | "handshake" | "headphones" | "letter" | "mms" | "new-contact" | "new-group" | "news" | "parental-guide" | "people-hub" | "people" | "portal" | "signature" | "smiley-happy" | "smiley-sad" | "sms" | "support" | "user-admin" | "vcard" | "voicemail" | "battery" | "bluetooth" | "broadband" | "broken-phone" | "cast" | "cloud-connect" | "connected" | "core-router" | "daas-device" | "data-transfer" | "desktop" | "devices" | "esim-simcard" | "esim" | "face-id" | "fiber" | "fingerprint" | "fiveg" | "fourg" | "home-installation" | "industrial-iot" | "internet" | "it-service" | "laptop" | "mobile-broadband" | "network" | "phone-recycling" | "phone-ringing" | "phone" | "rack" | "refill-card" | "remote-control" | "repair" | "roaming" | "router" | "secure-device" | "sense-car" | "server" | "service-device" | "service-supervision" | "slow-wifi" | "smart-wifi" | "smartphone" | "smartwatch" | "tablet" | "trade-phone" | "tv" | "usb" | "voice-switch" | "wallplug" | "wireless-off" | "wireless-weak" | "wireless" | "world-alert" | "world-off" | "world-question" | "bar-chart" | "doc" | "document-doc" | "document-edit" | "document-pdf" | "document-ppt" | "excel" | "folder-copy" | "folder-new" | "folder" | "gif" | "graph" | "media-content" | "org-chart" | "pie-chart" | "print" | "register" | "report" | "simcard" | "spell-check" | "summary" | "credit-card" | "euro" | "invoice" | "kontantkort" | "kr" | "late-payment" | "money-back-euro" | "money-back-kr" | "money-euro" | "money-kr" | "pay-monthly-euro" | "pay-monthly-kr" | "pay-once-euro" | "pay-once-kr" | "payment-success" | "savings" | "wallet" | "airplay" | "camera" | "entertainment" | "external" | "film" | "games" | "image" | "link" | "megaphone" | "microphone" | "music" | "player-settings" | "record" | "stream" | "trailer" | "video-conference" | "video" | "activity-level" | "add" | "ai-robot" | "bag" | "basketball" | "blood-pressure" | "bulb" | "business-continuity" | "business-intelligence" | "calendar" | "cart" | "close-circle" | "cloud" | "coffee" | "compass" | "construction" | "cookie" | "delivery" | "drone" | "education" | "efficiency" | "environment" | "facemask" | "flag" | "focus" | "food" | "fraud" | "getting-started" | "home-care" | "infinite" | "job-search" | "key" | "layers" | "map" | "measuring-health" | "moisture" | "offering" | "offshore" | "optimization" | "pebble" | "pet-dog" | "pin" | "plane" | "plus-minus" | "police" | "power-grid" | "present" | "press-button" | "price" | "pulse" | "radio" | "recycle" | "reservation" | "reverse" | "route" | "ruler" | "satellite" | "secured-1" | "secured-2" | "security-camera" | "shopping" | "snowflake" | "speedometer" | "spyware" | "split" | "stop" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "time" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "youtube" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "x" | "alert-filled" | "alert" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "help" | "info-filled" | "info" | "question-filled" | "question" | "warning" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-subdirectory" | "arrow-up" | "card-view" | "checkmark-bold" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "close" | "grid-view" | "list-view" | "menu" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "search" | "services" | "sorter" | "table-view";
93
93
  size?: ("font" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl") | undefined;
94
94
  children?: React.ReactNode;
95
95
  }, "ref">> & React.RefAttributes<SVGSVGElement>>;
@@ -4,6 +4,9 @@ require("react/jsx-runtime");
4
4
  require("clsx");
5
5
  require("react");
6
6
  require("./radio-card-group-root.cjs");
7
+ require("../toast/toast-root.cjs");
8
+ require("sonner");
9
+ require("../toggletip/index.cjs");
7
10
  require("../breadcrumbs/index.cjs");
8
11
  const components_radioCardGroup_radioCardGroupItemTitle = require("./radio-card-group-item-title.cjs");
9
12
  require("../ribbon/index.cjs");
@@ -25,8 +28,6 @@ require("../box/box.cjs");
25
28
  require("../flex/flex.cjs");
26
29
  require("../card/index.cjs");
27
30
  require("../grid/grid.cjs");
28
- require("../navigation-menu/navigation-menu.cjs");
29
- require("../navigation-menu/global-navigation/global-navigation-my-pages.cjs");
30
31
  require("../toggle/toggle.cjs");
31
32
  require("../accordion/index.cjs");
32
33
  require("../link/link.cjs");
@@ -2,6 +2,9 @@ import "react/jsx-runtime";
2
2
  import "clsx";
3
3
  import "react";
4
4
  import "./radio-card-group-root.js";
5
+ import "../toast/toast-root.js";
6
+ import "sonner";
7
+ import "../toggletip/index.js";
5
8
  import "../breadcrumbs/index.js";
6
9
  import { C } from "./radio-card-group-item-title.js";
7
10
  import "../ribbon/index.js";
@@ -23,8 +26,6 @@ import "../box/box.js";
23
26
  import "../flex/flex.js";
24
27
  import "../card/index.js";
25
28
  import "../grid/grid.js";
26
- import "../navigation-menu/navigation-menu.js";
27
- import "../navigation-menu/global-navigation/global-navigation-my-pages.js";
28
29
  import "../toggle/toggle.js";
29
30
  import "../accordion/index.js";
30
31
  import "../link/link.js";