@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
@@ -5,6 +5,9 @@ require("clsx");
5
5
  require("react");
6
6
  require("./radio-card-group-root.cjs");
7
7
  require("@radix-ui/react-radio-group");
8
+ require("../toast/toast-root.cjs");
9
+ require("sonner");
10
+ require("../toggletip/index.cjs");
8
11
  require("../breadcrumbs/index.cjs");
9
12
  const components_radioCardGroup_radioCardGroupItemTitle = require("./radio-card-group-item-title.cjs");
10
13
  require("../ribbon/index.cjs");
@@ -26,8 +29,6 @@ require("../box/box.cjs");
26
29
  require("../flex/flex.cjs");
27
30
  require("../card/index.cjs");
28
31
  require("../grid/grid.cjs");
29
- require("../navigation-menu/navigation-menu.cjs");
30
- require("../navigation-menu/global-navigation/global-navigation-my-pages.cjs");
31
32
  require("../toggle/toggle.cjs");
32
33
  require("../accordion/index.cjs");
33
34
  require("../link/link.cjs");
@@ -3,6 +3,9 @@ import "clsx";
3
3
  import "react";
4
4
  import "./radio-card-group-root.js";
5
5
  import "@radix-ui/react-radio-group";
6
+ import "../toast/toast-root.js";
7
+ import "sonner";
8
+ import "../toggletip/index.js";
6
9
  import "../breadcrumbs/index.js";
7
10
  import { a, I } from "./radio-card-group-item-title.js";
8
11
  import "../ribbon/index.js";
@@ -24,8 +27,6 @@ import "../box/box.js";
24
27
  import "../flex/flex.js";
25
28
  import "../card/index.js";
26
29
  import "../grid/grid.js";
27
- import "../navigation-menu/navigation-menu.js";
28
- import "../navigation-menu/global-navigation/global-navigation-my-pages.js";
29
30
  import "../toggle/toggle.js";
30
31
  import "../accordion/index.js";
31
32
  import "../link/link.js";
@@ -15,7 +15,7 @@ export declare const ScrollArea: import('react').ForwardRefExoticComponent<Omit<
15
15
  loading?: boolean | undefined;
16
16
  fullWidth?: boolean | undefined;
17
17
  size?: "sm" | "md" | "lg" | undefined;
18
- variant?: "text" | "text-negative" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "expressive-negative" | undefined;
18
+ variant?: "list-item" | "primary" | "text" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
19
19
  } & {
20
20
  iconOnly: true;
21
21
  "aria-label": string;
@@ -26,12 +26,12 @@ export declare const ScrollArea: import('react').ForwardRefExoticComponent<Omit<
26
26
  loading?: boolean | undefined;
27
27
  fullWidth?: boolean | undefined;
28
28
  size?: "sm" | "md" | "lg" | undefined;
29
- variant?: "text" | "text-negative" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "expressive-negative" | undefined;
29
+ variant?: "list-item" | "primary" | "text" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
30
30
  } & {
31
31
  iconOnly?: false | undefined;
32
32
  "aria-label"?: string | undefined;
33
33
  } & import('react').RefAttributes<HTMLButtonElement>, "ref">, "hidden"> & {
34
- direction?: "right" | "left" | "up" | "down" | undefined;
34
+ direction?: "left" | "right" | "up" | "down" | undefined;
35
35
  hidden?: boolean | undefined;
36
36
  } & import('react').RefAttributes<HTMLButtonElement>>;
37
37
  };
@@ -17,7 +17,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
17
17
  loading?: boolean | undefined;
18
18
  fullWidth?: boolean | undefined;
19
19
  size?: "sm" | "md" | "lg" | undefined;
20
- variant?: "text" | "text-negative" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "expressive-negative" | undefined;
20
+ variant?: "list-item" | "primary" | "text" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
21
21
  } & {
22
22
  iconOnly: true;
23
23
  "aria-label": string;
@@ -28,13 +28,13 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
28
28
  loading?: boolean | undefined;
29
29
  fullWidth?: boolean | undefined;
30
30
  size?: "sm" | "md" | "lg" | undefined;
31
- variant?: "text" | "text-negative" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "expressive-negative" | undefined;
31
+ variant?: "list-item" | "primary" | "text" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
32
32
  } & {
33
33
  iconOnly?: false | undefined;
34
34
  "aria-label"?: string | undefined;
35
35
  } & React.RefAttributes<HTMLButtonElement>, "ref">, "hidden"> & {
36
36
  /** In which direction the button should point and scroll to */
37
- direction?: "right" | "left" | "up" | "down" | undefined;
37
+ direction?: "left" | "right" | "up" | "down" | undefined;
38
38
  /** Hidden will fade the button out. Used when the scrollbar is at the end */
39
39
  hidden?: boolean | undefined;
40
40
  } & React.RefAttributes<HTMLButtonElement>>;
@@ -33,7 +33,7 @@ export declare const Tabs: import('react').ForwardRefExoticComponent<Omit<Omit<i
33
33
  loading?: boolean | undefined;
34
34
  fullWidth?: boolean | undefined;
35
35
  size?: "sm" | "md" | "lg" | undefined;
36
- variant?: "text" | "text-negative" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "expressive-negative" | undefined;
36
+ variant?: "list-item" | "primary" | "text" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
37
37
  } & {
38
38
  iconOnly: true;
39
39
  "aria-label": string;
@@ -44,12 +44,12 @@ export declare const Tabs: import('react').ForwardRefExoticComponent<Omit<Omit<i
44
44
  loading?: boolean | undefined;
45
45
  fullWidth?: boolean | undefined;
46
46
  size?: "sm" | "md" | "lg" | undefined;
47
- variant?: "text" | "text-negative" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "expressive-negative" | undefined;
47
+ variant?: "list-item" | "primary" | "text" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
48
48
  } & {
49
49
  iconOnly?: false | undefined;
50
50
  "aria-label"?: string | undefined;
51
51
  } & import('react').RefAttributes<HTMLButtonElement>, "ref">, "hidden"> & {
52
- direction?: "right" | "left" | "up" | "down" | undefined;
52
+ direction?: "left" | "right" | "up" | "down" | undefined;
53
53
  hidden?: boolean | undefined;
54
54
  } & import('react').RefAttributes<HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
55
55
  };
@@ -10,7 +10,7 @@ export declare const ScrollButton: React.ForwardRefExoticComponent<Omit<Omit<Omi
10
10
  loading?: boolean | undefined;
11
11
  fullWidth?: boolean | undefined;
12
12
  size?: "sm" | "md" | "lg" | undefined;
13
- variant?: "text" | "text-negative" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "expressive-negative" | undefined;
13
+ variant?: "list-item" | "primary" | "text" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
14
14
  } & {
15
15
  iconOnly: true;
16
16
  "aria-label": string;
@@ -21,11 +21,11 @@ export declare const ScrollButton: React.ForwardRefExoticComponent<Omit<Omit<Omi
21
21
  loading?: boolean | undefined;
22
22
  fullWidth?: boolean | undefined;
23
23
  size?: "sm" | "md" | "lg" | undefined;
24
- variant?: "text" | "text-negative" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "expressive-negative" | undefined;
24
+ variant?: "list-item" | "primary" | "text" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
25
25
  } & {
26
26
  iconOnly?: false | undefined;
27
27
  "aria-label"?: string | undefined;
28
28
  } & React.RefAttributes<HTMLButtonElement>, "ref">, "hidden"> & {
29
- direction?: "right" | "left" | "up" | "down" | undefined;
29
+ direction?: "left" | "right" | "up" | "down" | undefined;
30
30
  hidden?: boolean | undefined;
31
31
  } & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
@@ -34,7 +34,7 @@ export declare const TextField: import('react').ForwardRefExoticComponent<Omit<i
34
34
  loading?: boolean | undefined;
35
35
  fullWidth?: boolean | undefined;
36
36
  size?: "sm" | "md" | "lg" | undefined;
37
- variant?: "text" | "text-negative" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "expressive-negative" | undefined;
37
+ variant?: "list-item" | "primary" | "text" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
38
38
  } & {
39
39
  iconOnly: true;
40
40
  "aria-label": string;
@@ -45,7 +45,7 @@ export declare const TextField: import('react').ForwardRefExoticComponent<Omit<i
45
45
  loading?: boolean | undefined;
46
46
  fullWidth?: boolean | undefined;
47
47
  size?: "sm" | "md" | "lg" | undefined;
48
- variant?: "text" | "text-negative" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "expressive-negative" | undefined;
48
+ variant?: "list-item" | "primary" | "text" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
49
49
  } & {
50
50
  iconOnly?: false | undefined;
51
51
  "aria-label"?: string | undefined;
@@ -11,7 +11,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
11
11
  loading?: boolean | undefined;
12
12
  fullWidth?: boolean | undefined;
13
13
  size?: "sm" | "md" | "lg" | undefined;
14
- variant?: "text" | "text-negative" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "expressive-negative" | undefined;
14
+ variant?: "list-item" | "primary" | "text" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
15
15
  } & {
16
16
  iconOnly: true;
17
17
  "aria-label": string;
@@ -22,7 +22,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
22
22
  loading?: boolean | undefined;
23
23
  fullWidth?: boolean | undefined;
24
24
  size?: "sm" | "md" | "lg" | undefined;
25
- variant?: "text" | "text-negative" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "expressive-negative" | undefined;
25
+ variant?: "list-item" | "primary" | "text" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
26
26
  } & {
27
27
  iconOnly?: false | undefined;
28
28
  "aria-label"?: string | undefined;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const components_toast_toastRoot = require("./toast-root.cjs");
4
+ const sonner = require("sonner");
5
+ const Toast = components_toast_toastRoot.Root;
6
+ Object.defineProperty(exports, "toast", {
7
+ enumerable: true,
8
+ get: () => sonner.toast
9
+ });
10
+ exports.Toast = Toast;
@@ -0,0 +1,9 @@
1
+ import { RootProps } from './toast-root';
2
+ import { toast } from 'sonner';
3
+
4
+ export declare const Toast: {
5
+ ({ className, ...props }: import('sonner').ToasterProps): import("react/jsx-runtime").JSX.Element;
6
+ displayName: string;
7
+ };
8
+ export { toast };
9
+ export type ToastProps = RootProps;
@@ -0,0 +1,7 @@
1
+ import { Root } from "./toast-root.js";
2
+ import { toast } from "sonner";
3
+ const Toast = Root;
4
+ export {
5
+ Toast,
6
+ toast
7
+ };
@@ -0,0 +1,121 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const jsxRuntime = require("react/jsx-runtime");
4
+ const clsx = require("clsx");
5
+ const sonner = require("sonner");
6
+ require("../../assets/sprite.269ba410-teddy.svg");
7
+ const components_icon_icon = require("../icon/icon.cjs");
8
+ const components_spinner_spinner = require("../spinner/spinner.cjs");
9
+ const fadeInAnimation = "_fadeInAnimation_qzrlq_1";
10
+ const scaleInAnimation = "_scaleInAnimation_qzrlq_1";
11
+ const styles = {
12
+ "teddy-button": "_teddy-button_qzrlq_18",
13
+ "teddy-button--sm": "_teddy-button--sm_qzrlq_53",
14
+ "teddy-button--icon-only": "_teddy-button--icon-only_qzrlq_56",
15
+ "teddy-button--md": "_teddy-button--md_qzrlq_59",
16
+ "teddy-button--lg": "_teddy-button--lg_qzrlq_65",
17
+ "teddy-button--full-width": "_teddy-button--full-width_qzrlq_71",
18
+ "teddy-button--primary": "_teddy-button--primary_qzrlq_74",
19
+ "teddy-button--disabled": "_teddy-button--disabled_qzrlq_78",
20
+ "teddy-button--primary-negative": "_teddy-button--primary-negative_qzrlq_84",
21
+ "teddy-button--secondary": "_teddy-button--secondary_qzrlq_96",
22
+ "teddy-button--secondary-negative": "_teddy-button--secondary-negative_qzrlq_107",
23
+ "teddy-button--expressive": "_teddy-button--expressive_qzrlq_118",
24
+ "teddy-button--expressive-negative": "_teddy-button--expressive-negative_qzrlq_128",
25
+ "teddy-button--negative": "_teddy-button--negative_qzrlq_140",
26
+ "teddy-button--destructive": "_teddy-button--destructive_qzrlq_147",
27
+ "teddy-button--destructive-negative": "_teddy-button--destructive-negative_qzrlq_157",
28
+ "teddy-button--tertiary-purple": "_teddy-button--tertiary-purple_qzrlq_167",
29
+ "teddy-button--tertiary-purple-negative": "_teddy-button--tertiary-purple-negative_qzrlq_180",
30
+ "teddy-button--list-item": "_teddy-button--list-item_qzrlq_195",
31
+ "teddy-button--text-negative": "_teddy-button--text-negative_qzrlq_214",
32
+ "teddy-button--text": "_teddy-button--text_qzrlq_214",
33
+ "teddy-button__loading": "_teddy-button__loading_qzrlq_261",
34
+ fadeInAnimation,
35
+ "teddy-button__spinner": "_teddy-button__spinner_qzrlq_272",
36
+ "teddy-toast": "_teddy-toast_qzrlq_279",
37
+ "teddy-toast__title": "_teddy-toast__title_qzrlq_285",
38
+ "teddy-toast__description": "_teddy-toast__description_qzrlq_288",
39
+ "teddy-toast__close-button": "_teddy-toast__close-button_qzrlq_292",
40
+ "teddy-toast__close-button--sm": "_teddy-toast__close-button--sm_qzrlq_339",
41
+ "teddy-toast__close-button--icon-only": "_teddy-toast__close-button--icon-only_qzrlq_342",
42
+ "teddy-toast__close-button--md": "_teddy-toast__close-button--md_qzrlq_345",
43
+ "teddy-toast__close-button--lg": "_teddy-toast__close-button--lg_qzrlq_351",
44
+ "teddy-toast__close-button--full-width": "_teddy-toast__close-button--full-width_qzrlq_357",
45
+ "teddy-toast__close-button--primary": "_teddy-toast__close-button--primary_qzrlq_360",
46
+ "teddy-toast__close-button--disabled": "_teddy-toast__close-button--disabled_qzrlq_364",
47
+ "teddy-toast__close-button--primary-negative": "_teddy-toast__close-button--primary-negative_qzrlq_370",
48
+ "teddy-toast__close-button--secondary": "_teddy-toast__close-button--secondary_qzrlq_382",
49
+ "teddy-toast__close-button--secondary-negative": "_teddy-toast__close-button--secondary-negative_qzrlq_393",
50
+ "teddy-toast__close-button--expressive": "_teddy-toast__close-button--expressive_qzrlq_404",
51
+ "teddy-toast__close-button--expressive-negative": "_teddy-toast__close-button--expressive-negative_qzrlq_414",
52
+ "teddy-toast--disabled": "_teddy-toast--disabled_qzrlq_426",
53
+ "teddy-toast--success": "_teddy-toast--success_qzrlq_439",
54
+ "teddy-toast__icon": "_teddy-toast__icon_qzrlq_444",
55
+ "teddy-toast--info": "_teddy-toast--info_qzrlq_451",
56
+ "teddy-toast--warning": "_teddy-toast--warning_qzrlq_463",
57
+ "teddy-toast--error": "_teddy-toast--error_qzrlq_475",
58
+ "teddy-toast__action-button": "_teddy-toast__action-button_qzrlq_487",
59
+ "teddy-toast__cancel-button": "_teddy-toast__cancel-button_qzrlq_488",
60
+ "teddy-toast__action-button--sm": "_teddy-toast__action-button--sm_qzrlq_534",
61
+ "teddy-toast__cancel-button--sm": "_teddy-toast__cancel-button--sm_qzrlq_535",
62
+ "teddy-toast__cancel-button--icon-only": "_teddy-toast__cancel-button--icon-only_qzrlq_538",
63
+ "teddy-toast__action-button--md": "_teddy-toast__action-button--md_qzrlq_543",
64
+ "teddy-toast__cancel-button--md": "_teddy-toast__cancel-button--md_qzrlq_544",
65
+ "teddy-toast__action-button--lg": "_teddy-toast__action-button--lg_qzrlq_552",
66
+ "teddy-toast__cancel-button--lg": "_teddy-toast__cancel-button--lg_qzrlq_553",
67
+ "teddy-toast__action-button--full-width": "_teddy-toast__action-button--full-width_qzrlq_561",
68
+ "teddy-toast__cancel-button--full-width": "_teddy-toast__cancel-button--full-width_qzrlq_562",
69
+ "teddy-toast__action-button--primary": "_teddy-toast__action-button--primary_qzrlq_565",
70
+ "teddy-toast__cancel-button--primary": "_teddy-toast__cancel-button--primary_qzrlq_566",
71
+ "teddy-toast__cancel-button--disabled": "_teddy-toast__cancel-button--disabled_qzrlq_570",
72
+ "teddy-toast__action-button--primary-negative": "_teddy-toast__action-button--primary-negative_qzrlq_578",
73
+ "teddy-toast__cancel-button--primary-negative": "_teddy-toast__cancel-button--primary-negative_qzrlq_579",
74
+ "teddy-toast__action-button--secondary": "_teddy-toast__action-button--secondary_qzrlq_593",
75
+ "teddy-toast__cancel-button--secondary": "_teddy-toast__cancel-button--secondary_qzrlq_594",
76
+ "teddy-toast__action-button--secondary-negative": "_teddy-toast__action-button--secondary-negative_qzrlq_607",
77
+ "teddy-toast__cancel-button--secondary-negative": "_teddy-toast__cancel-button--secondary-negative_qzrlq_608",
78
+ "teddy-toast__action-button--expressive": "_teddy-toast__action-button--expressive_qzrlq_621",
79
+ "teddy-toast__cancel-button--expressive": "_teddy-toast__cancel-button--expressive_qzrlq_622",
80
+ "teddy-toast__action-button--expressive-negative": "_teddy-toast__action-button--expressive-negative_qzrlq_634",
81
+ "teddy-toast__cancel-button--expressive-negative": "_teddy-toast__cancel-button--expressive-negative_qzrlq_635",
82
+ scaleInAnimation
83
+ };
84
+ const rootClassName = "teddy-toast";
85
+ const Root = ({ className, ...props }) => {
86
+ var _a, _b, _c, _d, _e, _f, _g, _h;
87
+ const classes = clsx([styles[`${rootClassName}`]], className);
88
+ return /* @__PURE__ */ jsxRuntime.jsx(
89
+ sonner.Toaster,
90
+ {
91
+ position: "top-center",
92
+ icons: {
93
+ success: /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { size: "sm", name: "check-circle-filled" }),
94
+ error: /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { size: "sm", name: "error-filled" }),
95
+ warning: /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { size: "sm", name: "alert-filled" }),
96
+ info: /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { size: "sm", name: "info-filled" }),
97
+ loading: /* @__PURE__ */ jsxRuntime.jsx(components_spinner_spinner.Spinner, { size: "xxs" })
98
+ },
99
+ closeButton: true,
100
+ toastOptions: {
101
+ // unstyled: true,
102
+ className: classes,
103
+ classNames: {
104
+ error: clsx(styles[`${rootClassName}--error`], (_b = (_a = props.toastOptions) == null ? void 0 : _a.classNames) == null ? void 0 : _b.error),
105
+ success: clsx(styles[`${rootClassName}--success`], (_d = (_c = props.toastOptions) == null ? void 0 : _c.classNames) == null ? void 0 : _d.success),
106
+ warning: clsx(styles[`${rootClassName}--warning`], (_f = (_e = props.toastOptions) == null ? void 0 : _e.classNames) == null ? void 0 : _f.warning),
107
+ info: clsx(styles[`${rootClassName}--info`], (_h = (_g = props.toastOptions) == null ? void 0 : _g.classNames) == null ? void 0 : _h.info),
108
+ icon: styles[`${rootClassName}__icon`],
109
+ description: styles[`${rootClassName}__description`],
110
+ title: styles[`${rootClassName}__title`],
111
+ closeButton: styles[`${rootClassName}__close-button`],
112
+ actionButton: styles[`${rootClassName}__action-button`],
113
+ cancelButton: styles[`${rootClassName}__cancel-button`]
114
+ }
115
+ },
116
+ ...props
117
+ }
118
+ );
119
+ };
120
+ Root.displayName = "Toast";
121
+ exports.Root = Root;
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { Toaster } from 'sonner';
3
+
4
+ export type RootProps = React.ComponentPropsWithoutRef<typeof Toaster>;
5
+ /** This component renders all the toasts, you can place it anywhere in your app. */
6
+ export declare const Root: {
7
+ ({ className, ...props }: RootProps): import("react/jsx-runtime").JSX.Element;
8
+ displayName: string;
9
+ };
@@ -0,0 +1,121 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import clsx from "clsx";
3
+ import { Toaster } from "sonner";
4
+ import "../../assets/sprite.269ba410-teddy.svg";
5
+ import { Icon } from "../icon/icon.js";
6
+ import { Spinner } from "../spinner/spinner.js";
7
+ const fadeInAnimation = "_fadeInAnimation_qzrlq_1";
8
+ const scaleInAnimation = "_scaleInAnimation_qzrlq_1";
9
+ const styles = {
10
+ "teddy-button": "_teddy-button_qzrlq_18",
11
+ "teddy-button--sm": "_teddy-button--sm_qzrlq_53",
12
+ "teddy-button--icon-only": "_teddy-button--icon-only_qzrlq_56",
13
+ "teddy-button--md": "_teddy-button--md_qzrlq_59",
14
+ "teddy-button--lg": "_teddy-button--lg_qzrlq_65",
15
+ "teddy-button--full-width": "_teddy-button--full-width_qzrlq_71",
16
+ "teddy-button--primary": "_teddy-button--primary_qzrlq_74",
17
+ "teddy-button--disabled": "_teddy-button--disabled_qzrlq_78",
18
+ "teddy-button--primary-negative": "_teddy-button--primary-negative_qzrlq_84",
19
+ "teddy-button--secondary": "_teddy-button--secondary_qzrlq_96",
20
+ "teddy-button--secondary-negative": "_teddy-button--secondary-negative_qzrlq_107",
21
+ "teddy-button--expressive": "_teddy-button--expressive_qzrlq_118",
22
+ "teddy-button--expressive-negative": "_teddy-button--expressive-negative_qzrlq_128",
23
+ "teddy-button--negative": "_teddy-button--negative_qzrlq_140",
24
+ "teddy-button--destructive": "_teddy-button--destructive_qzrlq_147",
25
+ "teddy-button--destructive-negative": "_teddy-button--destructive-negative_qzrlq_157",
26
+ "teddy-button--tertiary-purple": "_teddy-button--tertiary-purple_qzrlq_167",
27
+ "teddy-button--tertiary-purple-negative": "_teddy-button--tertiary-purple-negative_qzrlq_180",
28
+ "teddy-button--list-item": "_teddy-button--list-item_qzrlq_195",
29
+ "teddy-button--text-negative": "_teddy-button--text-negative_qzrlq_214",
30
+ "teddy-button--text": "_teddy-button--text_qzrlq_214",
31
+ "teddy-button__loading": "_teddy-button__loading_qzrlq_261",
32
+ fadeInAnimation,
33
+ "teddy-button__spinner": "_teddy-button__spinner_qzrlq_272",
34
+ "teddy-toast": "_teddy-toast_qzrlq_279",
35
+ "teddy-toast__title": "_teddy-toast__title_qzrlq_285",
36
+ "teddy-toast__description": "_teddy-toast__description_qzrlq_288",
37
+ "teddy-toast__close-button": "_teddy-toast__close-button_qzrlq_292",
38
+ "teddy-toast__close-button--sm": "_teddy-toast__close-button--sm_qzrlq_339",
39
+ "teddy-toast__close-button--icon-only": "_teddy-toast__close-button--icon-only_qzrlq_342",
40
+ "teddy-toast__close-button--md": "_teddy-toast__close-button--md_qzrlq_345",
41
+ "teddy-toast__close-button--lg": "_teddy-toast__close-button--lg_qzrlq_351",
42
+ "teddy-toast__close-button--full-width": "_teddy-toast__close-button--full-width_qzrlq_357",
43
+ "teddy-toast__close-button--primary": "_teddy-toast__close-button--primary_qzrlq_360",
44
+ "teddy-toast__close-button--disabled": "_teddy-toast__close-button--disabled_qzrlq_364",
45
+ "teddy-toast__close-button--primary-negative": "_teddy-toast__close-button--primary-negative_qzrlq_370",
46
+ "teddy-toast__close-button--secondary": "_teddy-toast__close-button--secondary_qzrlq_382",
47
+ "teddy-toast__close-button--secondary-negative": "_teddy-toast__close-button--secondary-negative_qzrlq_393",
48
+ "teddy-toast__close-button--expressive": "_teddy-toast__close-button--expressive_qzrlq_404",
49
+ "teddy-toast__close-button--expressive-negative": "_teddy-toast__close-button--expressive-negative_qzrlq_414",
50
+ "teddy-toast--disabled": "_teddy-toast--disabled_qzrlq_426",
51
+ "teddy-toast--success": "_teddy-toast--success_qzrlq_439",
52
+ "teddy-toast__icon": "_teddy-toast__icon_qzrlq_444",
53
+ "teddy-toast--info": "_teddy-toast--info_qzrlq_451",
54
+ "teddy-toast--warning": "_teddy-toast--warning_qzrlq_463",
55
+ "teddy-toast--error": "_teddy-toast--error_qzrlq_475",
56
+ "teddy-toast__action-button": "_teddy-toast__action-button_qzrlq_487",
57
+ "teddy-toast__cancel-button": "_teddy-toast__cancel-button_qzrlq_488",
58
+ "teddy-toast__action-button--sm": "_teddy-toast__action-button--sm_qzrlq_534",
59
+ "teddy-toast__cancel-button--sm": "_teddy-toast__cancel-button--sm_qzrlq_535",
60
+ "teddy-toast__cancel-button--icon-only": "_teddy-toast__cancel-button--icon-only_qzrlq_538",
61
+ "teddy-toast__action-button--md": "_teddy-toast__action-button--md_qzrlq_543",
62
+ "teddy-toast__cancel-button--md": "_teddy-toast__cancel-button--md_qzrlq_544",
63
+ "teddy-toast__action-button--lg": "_teddy-toast__action-button--lg_qzrlq_552",
64
+ "teddy-toast__cancel-button--lg": "_teddy-toast__cancel-button--lg_qzrlq_553",
65
+ "teddy-toast__action-button--full-width": "_teddy-toast__action-button--full-width_qzrlq_561",
66
+ "teddy-toast__cancel-button--full-width": "_teddy-toast__cancel-button--full-width_qzrlq_562",
67
+ "teddy-toast__action-button--primary": "_teddy-toast__action-button--primary_qzrlq_565",
68
+ "teddy-toast__cancel-button--primary": "_teddy-toast__cancel-button--primary_qzrlq_566",
69
+ "teddy-toast__cancel-button--disabled": "_teddy-toast__cancel-button--disabled_qzrlq_570",
70
+ "teddy-toast__action-button--primary-negative": "_teddy-toast__action-button--primary-negative_qzrlq_578",
71
+ "teddy-toast__cancel-button--primary-negative": "_teddy-toast__cancel-button--primary-negative_qzrlq_579",
72
+ "teddy-toast__action-button--secondary": "_teddy-toast__action-button--secondary_qzrlq_593",
73
+ "teddy-toast__cancel-button--secondary": "_teddy-toast__cancel-button--secondary_qzrlq_594",
74
+ "teddy-toast__action-button--secondary-negative": "_teddy-toast__action-button--secondary-negative_qzrlq_607",
75
+ "teddy-toast__cancel-button--secondary-negative": "_teddy-toast__cancel-button--secondary-negative_qzrlq_608",
76
+ "teddy-toast__action-button--expressive": "_teddy-toast__action-button--expressive_qzrlq_621",
77
+ "teddy-toast__cancel-button--expressive": "_teddy-toast__cancel-button--expressive_qzrlq_622",
78
+ "teddy-toast__action-button--expressive-negative": "_teddy-toast__action-button--expressive-negative_qzrlq_634",
79
+ "teddy-toast__cancel-button--expressive-negative": "_teddy-toast__cancel-button--expressive-negative_qzrlq_635",
80
+ scaleInAnimation
81
+ };
82
+ const rootClassName = "teddy-toast";
83
+ const Root = ({ className, ...props }) => {
84
+ var _a, _b, _c, _d, _e, _f, _g, _h;
85
+ const classes = clsx([styles[`${rootClassName}`]], className);
86
+ return /* @__PURE__ */ jsx(
87
+ Toaster,
88
+ {
89
+ position: "top-center",
90
+ icons: {
91
+ success: /* @__PURE__ */ jsx(Icon, { size: "sm", name: "check-circle-filled" }),
92
+ error: /* @__PURE__ */ jsx(Icon, { size: "sm", name: "error-filled" }),
93
+ warning: /* @__PURE__ */ jsx(Icon, { size: "sm", name: "alert-filled" }),
94
+ info: /* @__PURE__ */ jsx(Icon, { size: "sm", name: "info-filled" }),
95
+ loading: /* @__PURE__ */ jsx(Spinner, { size: "xxs" })
96
+ },
97
+ closeButton: true,
98
+ toastOptions: {
99
+ // unstyled: true,
100
+ className: classes,
101
+ classNames: {
102
+ error: clsx(styles[`${rootClassName}--error`], (_b = (_a = props.toastOptions) == null ? void 0 : _a.classNames) == null ? void 0 : _b.error),
103
+ success: clsx(styles[`${rootClassName}--success`], (_d = (_c = props.toastOptions) == null ? void 0 : _c.classNames) == null ? void 0 : _d.success),
104
+ warning: clsx(styles[`${rootClassName}--warning`], (_f = (_e = props.toastOptions) == null ? void 0 : _e.classNames) == null ? void 0 : _f.warning),
105
+ info: clsx(styles[`${rootClassName}--info`], (_h = (_g = props.toastOptions) == null ? void 0 : _g.classNames) == null ? void 0 : _h.info),
106
+ icon: styles[`${rootClassName}__icon`],
107
+ description: styles[`${rootClassName}__description`],
108
+ title: styles[`${rootClassName}__title`],
109
+ closeButton: styles[`${rootClassName}__close-button`],
110
+ actionButton: styles[`${rootClassName}__action-button`],
111
+ cancelButton: styles[`${rootClassName}__cancel-button`]
112
+ }
113
+ },
114
+ ...props
115
+ }
116
+ );
117
+ };
118
+ Root.displayName = "Toast";
119
+ export {
120
+ Root
121
+ };
@@ -29,7 +29,7 @@ declare const Toggle: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHT
29
29
  Input: React.ForwardRefExoticComponent<ToggleInputProps & React.RefAttributes<HTMLButtonElement>>;
30
30
  Thumb: React.ForwardRefExoticComponent<Omit<SwitchPrimitive.SwitchThumbProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
31
31
  Indicator: React.ForwardRefExoticComponent<Partial<Omit<React.SVGProps<SVGSVGElement> & {
32
- 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";
32
+ 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";
33
33
  size?: ("font" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl") | undefined;
34
34
  children?: React.ReactNode;
35
35
  }, "ref">> & React.RefAttributes<SVGSVGElement>>;
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const components_toggletip_toggletipRoot = require("./toggletip-root.cjs");
4
+ const components_toggletip_toggletipTrigger = require("./toggletip-trigger.cjs");
5
+ const components_toggletip_toggletipAnchor = require("./toggletip-anchor.cjs");
6
+ const components_toggletip_toggletipArrow = require("./toggletip-arrow.cjs");
7
+ const components_toggletip_toggletipContent = require("./toggletip-content.cjs");
8
+ const components_toggletip_toggletipPortal = require("./toggletip-portal.cjs");
9
+ const components_toggletip_toggletipClose = require("./toggletip-close.cjs");
10
+ const components_toggletip_toggletipHeading = require("./toggletip-heading.cjs");
11
+ const components_toggletip_toggletipFooter = require("./toggletip-footer.cjs");
12
+ components_toggletip_toggletipRoot.Root.displayName = "Toggletip";
13
+ components_toggletip_toggletipTrigger.Trigger.displayName = "Toggletip.Trigger";
14
+ components_toggletip_toggletipAnchor.Anchor.displayName = "Toggletip.Anchor";
15
+ components_toggletip_toggletipArrow.Arrow.displayName = "Toggletip.Arrow";
16
+ components_toggletip_toggletipContent.Content.displayName = "Toggletip.Content";
17
+ components_toggletip_toggletipPortal.Portal.displayName = "Toggletip.Portal";
18
+ components_toggletip_toggletipClose.Close.displayName = "Toggletip.Close";
19
+ components_toggletip_toggletipHeading.Heading.displayName = "Toggletip.Heading";
20
+ components_toggletip_toggletipFooter.Footer.displayName = "Toggletip.Footer";
21
+ const Toggletip = Object.assign(components_toggletip_toggletipRoot.Root, {
22
+ Trigger: components_toggletip_toggletipTrigger.Trigger,
23
+ Anchor: components_toggletip_toggletipAnchor.Anchor,
24
+ Arrow: components_toggletip_toggletipArrow.Arrow,
25
+ Content: components_toggletip_toggletipContent.Content,
26
+ Portal: components_toggletip_toggletipPortal.Portal,
27
+ Close: components_toggletip_toggletipClose.Close,
28
+ Heading: components_toggletip_toggletipHeading.Heading,
29
+ Footer: components_toggletip_toggletipFooter.Footer
30
+ });
31
+ exports.Toggletip = Toggletip;
@@ -0,0 +1,33 @@
1
+ import { Root, RootProps } from './toggletip-root';
2
+ import { TriggerProps } from './toggletip-trigger';
3
+ import { AnchorProps } from './toggletip-anchor';
4
+ import { ArrowProps } from './toggletip-arrow';
5
+ import { ContentProps } from './toggletip-content';
6
+ import { Portal, PortalProps } from './toggletip-portal';
7
+ import { CloseProps } from './toggletip-close';
8
+ import { HeadingProps } from './toggletip-heading';
9
+ import { FooterProps } from './toggletip-footer';
10
+
11
+ export declare const Toggletip: typeof Root & {
12
+ Trigger: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-popover').PopoverTriggerProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & {
13
+ children: import('react').ReactNode;
14
+ } & import('react').RefAttributes<HTMLButtonElement>>;
15
+ Anchor: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-popover').PopoverAnchorProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
16
+ Arrow: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-popover').PopoverArrowProps & import('react').RefAttributes<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
17
+ Content: import('react').ForwardRefExoticComponent<ContentProps & import('react').RefAttributes<HTMLDivElement>>;
18
+ Portal: typeof Portal;
19
+ Close: import('react').ForwardRefExoticComponent<CloseProps & import('react').RefAttributes<HTMLButtonElement>>;
20
+ Heading: import('react').ForwardRefExoticComponent<HeadingProps & import('react').RefAttributes<HTMLHeadingElement>>;
21
+ Footer: import('react').ForwardRefExoticComponent<FooterProps & import('react').RefAttributes<HTMLDivElement>>;
22
+ };
23
+ export type ToggletipProps = {
24
+ Root: RootProps;
25
+ Trigger: TriggerProps;
26
+ Anchor: AnchorProps;
27
+ Arrow: ArrowProps;
28
+ Content: ContentProps;
29
+ Portal: PortalProps;
30
+ Close: CloseProps;
31
+ Heading: HeadingProps;
32
+ Footer: FooterProps;
33
+ };
@@ -0,0 +1,31 @@
1
+ import { Root } from "./toggletip-root.js";
2
+ import { Trigger } from "./toggletip-trigger.js";
3
+ import { Anchor } from "./toggletip-anchor.js";
4
+ import { Arrow } from "./toggletip-arrow.js";
5
+ import { Content } from "./toggletip-content.js";
6
+ import { Portal } from "./toggletip-portal.js";
7
+ import { Close } from "./toggletip-close.js";
8
+ import { Heading } from "./toggletip-heading.js";
9
+ import { Footer } from "./toggletip-footer.js";
10
+ Root.displayName = "Toggletip";
11
+ Trigger.displayName = "Toggletip.Trigger";
12
+ Anchor.displayName = "Toggletip.Anchor";
13
+ Arrow.displayName = "Toggletip.Arrow";
14
+ Content.displayName = "Toggletip.Content";
15
+ Portal.displayName = "Toggletip.Portal";
16
+ Close.displayName = "Toggletip.Close";
17
+ Heading.displayName = "Toggletip.Heading";
18
+ Footer.displayName = "Toggletip.Footer";
19
+ const Toggletip = Object.assign(Root, {
20
+ Trigger,
21
+ Anchor,
22
+ Arrow,
23
+ Content,
24
+ Portal,
25
+ Close,
26
+ Heading,
27
+ Footer
28
+ });
29
+ export {
30
+ Toggletip
31
+ };