@telia/teddy 0.3.0 → 0.3.2

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 (86) hide show
  1. package/dist/components/card/card-illustration.d.ts +1 -1
  2. package/dist/components/card/index.d.ts +1 -1
  3. package/dist/components/channel-button/channel-button-illustration.cjs +33 -0
  4. package/dist/components/channel-button/channel-button-illustration.d.ts +8 -0
  5. package/dist/components/channel-button/channel-button-illustration.js +33 -0
  6. package/dist/components/channel-button/channel-button-image.cjs +19 -0
  7. package/dist/components/channel-button/channel-button-image.d.ts +5 -0
  8. package/dist/components/channel-button/channel-button-image.js +19 -0
  9. package/dist/components/channel-button/channel-button-root.cjs +41 -0
  10. package/dist/components/channel-button/channel-button-root.d.ts +34 -0
  11. package/dist/components/channel-button/channel-button-root.js +41 -0
  12. package/dist/components/channel-button/channel-button-text.cjs +23 -0
  13. package/dist/components/channel-button/channel-button-text.d.ts +5 -0
  14. package/dist/components/channel-button/channel-button-text.js +23 -0
  15. package/dist/components/channel-button/index.cjs +15 -0
  16. package/dist/components/channel-button/index.d.ts +91 -0
  17. package/dist/components/channel-button/index.js +15 -0
  18. package/dist/components/checkbox/checkbox-group-list.d.ts +1 -1
  19. package/dist/components/checkbox/checkbox-group.d.ts +1 -1
  20. package/dist/components/checkbox/index.d.ts +2 -2
  21. package/dist/components/chip/chip-indicator.d.ts +2 -2
  22. package/dist/components/chip/index.d.ts +2 -2
  23. package/dist/components/color-dot/index.d.ts +1 -1
  24. package/dist/components/expandable-card/expandable-card-button.d.ts +2 -2
  25. package/dist/components/expandable-card/index.d.ts +3 -3
  26. package/dist/components/icon/utils.d.ts +1 -1
  27. package/dist/components/index.cjs +4 -2
  28. package/dist/components/index.d.ts +1 -0
  29. package/dist/components/index.js +3 -1
  30. package/dist/components/link/link.cjs +10 -10
  31. package/dist/components/link/link.js +10 -10
  32. package/dist/components/modal/modal.cjs +2 -1
  33. package/dist/components/modal/modal.js +2 -1
  34. package/dist/components/navigation-menu/navigation-menu.cjs +2 -1
  35. package/dist/components/navigation-menu/navigation-menu.js +2 -1
  36. package/dist/components/notabene/index.cjs +4 -9
  37. package/dist/components/notabene/index.d.ts +51 -8
  38. package/dist/components/notabene/index.js +4 -9
  39. package/dist/components/notabene/notabene-icon.cjs +1 -1
  40. package/dist/components/notabene/notabene-icon.d.ts +2 -2
  41. package/dist/components/notabene/notabene-icon.js +1 -1
  42. package/dist/components/notification/index.cjs +13 -2
  43. package/dist/components/notification/index.d.ts +132 -2
  44. package/dist/components/notification/index.js +12 -1
  45. package/dist/components/notification/notification-dismiss.cjs +46 -0
  46. package/dist/components/notification/notification-dismiss.d.ts +5 -0
  47. package/dist/components/notification/notification-dismiss.js +29 -0
  48. package/dist/components/notification/notification-footer.cjs +18 -0
  49. package/dist/components/notification/notification-footer.d.ts +5 -0
  50. package/dist/components/notification/notification-footer.js +18 -0
  51. package/dist/components/notification/notification-heading.cjs +18 -0
  52. package/dist/components/notification/notification-heading.d.ts +5 -0
  53. package/dist/components/notification/notification-heading.js +18 -0
  54. package/dist/components/notification/notification-icon.cjs +32 -0
  55. package/dist/components/notification/notification-icon.d.ts +9 -0
  56. package/dist/components/notification/notification-icon.js +32 -0
  57. package/dist/components/notification/notification-root.cjs +59 -0
  58. package/dist/components/notification/notification-root.d.ts +86 -0
  59. package/dist/components/notification/notification-root.js +42 -0
  60. package/dist/components/notification/notification-text.cjs +15 -0
  61. package/dist/components/notification/notification-text.d.ts +5 -0
  62. package/dist/components/notification/notification-text.js +15 -0
  63. package/dist/components/radio-card-group/radio-card-group-content.cjs +2 -1
  64. package/dist/components/radio-card-group/radio-card-group-content.js +2 -1
  65. package/dist/components/radio-card-group/radio-card-group-item-title.cjs +11 -10
  66. package/dist/components/radio-card-group/radio-card-group-item-title.js +11 -10
  67. package/dist/components/radio-card-group/radio-card-group-item.cjs +2 -1
  68. package/dist/components/radio-card-group/radio-card-group-item.js +2 -1
  69. package/dist/components/scroll-area/index.d.ts +2 -2
  70. package/dist/components/scroll-area/scroll-area-button.d.ts +2 -2
  71. package/dist/components/tabs/index.d.ts +2 -2
  72. package/dist/components/tabs/tabs-scroll-button.d.ts +2 -2
  73. package/dist/components/text-field/index.d.ts +2 -2
  74. package/dist/components/text-field/text-field-button.d.ts +2 -2
  75. package/dist/components/toggle/toggle.d.ts +2 -2
  76. package/dist/components/tooltip/index.d.ts +2 -2
  77. package/dist/main.cjs +4 -2
  78. package/dist/main.js +3 -1
  79. package/dist/style.css +1035 -948
  80. package/dist/utils/generate-styling/grid.d.ts +24 -24
  81. package/dist/utils/generate-styling/index.d.ts +16 -16
  82. package/dist/utils/generate-styling/util.d.ts +2 -2
  83. package/package.json +16 -16
  84. package/dist/components/notification/notification.cjs +0 -116
  85. package/dist/components/notification/notification.d.ts +0 -106
  86. package/dist/components/notification/notification.js +0 -99
@@ -10,6 +10,7 @@ import { Slot } from "@radix-ui/react-slot";
10
10
  import { useControllableState } from "@radix-ui/react-use-controllable-state";
11
11
  import { mergeStyles } from "../../utils/generate-styling/index.js";
12
12
  import { teddyMotionDuration300 } from "../../tokens/motion/variables.js";
13
+ import "../channel-button/index.js";
13
14
  import "../collapsible/index.js";
14
15
  import "../meter-bar/index.js";
15
16
  import "../skeleton/index.js";
@@ -35,7 +36,7 @@ import "../chip/index.js";
35
36
  import "../../assets/sprite.1321fab0-teddy.svg";
36
37
  import * as DrawerPrimitive from "@radix-ui/react-dialog";
37
38
  import { Icon } from "../icon/icon.js";
38
- import "../notification/notification.js";
39
+ import "../notification/index.js";
39
40
  import "../radio-group/index.js";
40
41
  import { Box } from "../box/box.js";
41
42
  import { Flex } from "../flex/flex.js";
@@ -135,11 +136,11 @@ const Root$2 = (props) => {
135
136
  const scrollRef = React__default.useRef(null);
136
137
  return /* @__PURE__ */ jsx(RootContext$1.Provider, { value: { imageRef, actionGroupRef, scrollRef }, children: /* @__PURE__ */ jsx(DrawerPrimitive.Root, { ...props, modal: true }) });
137
138
  };
138
- Root$2.displayName = "Dialog.Root";
139
+ Root$2.displayName = "Modal.Root";
139
140
  const Trigger$1 = React__default.forwardRef(
140
141
  ({ children, ...props }, forwardedRef) => /* @__PURE__ */ jsx(DrawerPrimitive.Trigger, { ...props, ref: forwardedRef, asChild: true, children })
141
142
  );
142
- Trigger$1.displayName = "Dialog.Trigger";
143
+ Trigger$1.displayName = "Modal.Trigger";
143
144
  const OverlayContext = React__default.createContext(false);
144
145
  const Overlay = React__default.forwardRef(
145
146
  ({ className, forceMount, container, ...rest }, forwardedRef) => {
@@ -147,7 +148,7 @@ const Overlay = React__default.forwardRef(
147
148
  return /* @__PURE__ */ jsx(OverlayContext.Provider, { value: true, children: /* @__PURE__ */ jsx(DrawerPrimitive.Portal, { container, forceMount, children: /* @__PURE__ */ jsx(DrawerPrimitive.Overlay, { className: classes, ref: forwardedRef, ...rest }) }) });
148
149
  }
149
150
  );
150
- Overlay.displayName = "Dialog.Content";
151
+ Overlay.displayName = "Modal.Content";
151
152
  const InnerContent = React__default.forwardRef(
152
153
  function InnerContent2({ asChild, children, className, ...props }, forwardedRef) {
153
154
  const classes = clsx([styles$2[`${rootClassName$2}__scroll`]], className);
@@ -183,7 +184,7 @@ const Content$1 = React__default.forwardRef(
183
184
  return /* @__PURE__ */ jsx(InnerContent, { ref: forwardedRef, ...contentProps });
184
185
  }
185
186
  );
186
- Content$1.displayName = "Dialog.Content";
187
+ Content$1.displayName = "Modal.Content";
187
188
  const GroupContext = React__default.createContext(false);
188
189
  const Group = React__default.forwardRef(
189
190
  ({ className, variant, ...props }, forwardedRef) => {
@@ -220,7 +221,7 @@ const Group = React__default.forwardRef(
220
221
  ) });
221
222
  }
222
223
  );
223
- Group.displayName = "Dialog.Group";
224
+ Group.displayName = "Modal.Group";
224
225
  const TitleInner = React__default.forwardRef(
225
226
  function TitleInner2(props, forwardedRef) {
226
227
  return /* @__PURE__ */ jsx(DrawerPrimitive.Title, { asChild: true, children: /* @__PURE__ */ jsx(Heading, { variant: "title-200", as: "h2", ...props, asChild: false, ref: forwardedRef }) });
@@ -233,16 +234,16 @@ const Title = React__default.forwardRef((props, forwardedRef) => {
233
234
  }
234
235
  return /* @__PURE__ */ jsx(TitleInner, { ...props, ref: forwardedRef });
235
236
  });
236
- Title.displayName = "Dialog.Title";
237
+ Title.displayName = "Modal.Title";
237
238
  const Description = React__default.forwardRef((props, forwardedRef) => /* @__PURE__ */ jsx(DrawerPrimitive.Description, { asChild: true, children: /* @__PURE__ */ jsx(Text, { as: "p", variant: "paragraph-100", ...props, asChild: false, ref: forwardedRef }) }));
238
- Description.displayName = "Dialog.Description";
239
+ Description.displayName = "Modal.Description";
239
240
  const Image = React__default.forwardRef(({ asChild, ...props }, forwardedRef) => {
240
241
  const classes = clsx([styles$2[`${rootClassName$2}__image`]], props.className);
241
242
  const context = React__default.useContext(RootContext$1);
242
243
  const Comp = asChild ? Slot : "img";
243
244
  return /* @__PURE__ */ jsx(Comp, { ...props, className: classes, ref: composeRefs(context.imageRef, forwardedRef) });
244
245
  });
245
- Image.displayName = "Dialog.Image";
246
+ Image.displayName = "Modal.Image";
246
247
  const Close = React__default.forwardRef(
247
248
  ({ className, ...props }, forwardedRef) => {
248
249
  const classes = clsx([styles$2[`${rootClassName$2}__close`]], {
@@ -259,7 +260,7 @@ const Close = React__default.forwardRef(
259
260
  return /* @__PURE__ */ jsx(DrawerPrimitive.Close, { ...props, className: classes, ref: forwardedRef, asChild: true, children: props.children || /* @__PURE__ */ jsx(Button, { variant: hasImage ? "primary-negative" : "tertiary-purple", iconOnly: true, "aria-label": props["aria-label"], children: /* @__PURE__ */ jsx(Icon, { name: "close" }) }) });
260
261
  }
261
262
  );
262
- Close.displayName = "Dialog.Close";
263
+ Close.displayName = "Close";
263
264
  const Modal = Object.assign(Root$2, { Trigger: Trigger$1, Content: Content$1, Title, Overlay, Description, Close, Image, Group });
264
265
  const styles$1 = {
265
266
  "teddy-navigation-menu": "_teddy-navigation-menu_6p30v_1",
@@ -5,6 +5,7 @@ require("clsx");
5
5
  require("react");
6
6
  require("./radio-card-group-root.cjs");
7
7
  require("@radix-ui/react-radio-group");
8
+ require("../channel-button/index.cjs");
8
9
  require("../collapsible/index.cjs");
9
10
  require("../meter-bar/index.cjs");
10
11
  require("../skeleton/index.cjs");
@@ -27,7 +28,7 @@ require("../drawer/index.cjs");
27
28
  require("../image/image.cjs");
28
29
  require("../chip/index.cjs");
29
30
  require("../../assets/sprite.1321fab0-teddy.svg");
30
- require("../notification/notification.cjs");
31
+ require("../notification/index.cjs");
31
32
  require("../radio-group/index.cjs");
32
33
  require("../box/box.cjs");
33
34
  require("../flex/flex.cjs");
@@ -3,6 +3,7 @@ import "clsx";
3
3
  import "react";
4
4
  import "./radio-card-group-root.js";
5
5
  import "@radix-ui/react-radio-group";
6
+ import "../channel-button/index.js";
6
7
  import "../collapsible/index.js";
7
8
  import "../meter-bar/index.js";
8
9
  import "../skeleton/index.js";
@@ -25,7 +26,7 @@ import "../drawer/index.js";
25
26
  import "../image/image.js";
26
27
  import "../chip/index.js";
27
28
  import "../../assets/sprite.1321fab0-teddy.svg";
28
- import "../notification/notification.js";
29
+ import "../notification/index.js";
29
30
  import "../radio-group/index.js";
30
31
  import "../box/box.js";
31
32
  import "../flex/flex.js";
@@ -19,7 +19,7 @@ export declare const ScrollArea: import('react').ForwardRefExoticComponent<Omit<
19
19
  loading?: boolean | undefined;
20
20
  fullWidth?: boolean | undefined;
21
21
  size?: "sm" | "md" | "lg" | undefined;
22
- variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
22
+ variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
23
23
  borderStyle?: ("default" | "dashed") | undefined;
24
24
  } & {
25
25
  iconOnly: true;
@@ -31,7 +31,7 @@ export declare const ScrollArea: import('react').ForwardRefExoticComponent<Omit<
31
31
  loading?: boolean | undefined;
32
32
  fullWidth?: boolean | undefined;
33
33
  size?: "sm" | "md" | "lg" | undefined;
34
- variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
34
+ variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
35
35
  borderStyle?: ("default" | "dashed") | undefined;
36
36
  } & {
37
37
  iconOnly?: false | undefined;
@@ -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" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
20
+ variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
21
21
  borderStyle?: ("default" | "dashed") | undefined;
22
22
  } & {
23
23
  iconOnly: true;
@@ -29,7 +29,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
29
29
  loading?: boolean | undefined;
30
30
  fullWidth?: boolean | undefined;
31
31
  size?: "sm" | "md" | "lg" | undefined;
32
- variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
32
+ variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
33
33
  borderStyle?: ("default" | "dashed") | undefined;
34
34
  } & {
35
35
  iconOnly?: false | undefined;
@@ -34,7 +34,7 @@ export declare const Tabs: import('react').ForwardRefExoticComponent<Omit<Omit<i
34
34
  loading?: boolean | undefined;
35
35
  fullWidth?: boolean | undefined;
36
36
  size?: "sm" | "md" | "lg" | undefined;
37
- variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
37
+ variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
38
38
  borderStyle?: ("default" | "dashed") | undefined;
39
39
  } & {
40
40
  iconOnly: true;
@@ -46,7 +46,7 @@ export declare const Tabs: import('react').ForwardRefExoticComponent<Omit<Omit<i
46
46
  loading?: boolean | undefined;
47
47
  fullWidth?: boolean | undefined;
48
48
  size?: "sm" | "md" | "lg" | undefined;
49
- variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
49
+ variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
50
50
  borderStyle?: ("default" | "dashed") | undefined;
51
51
  } & {
52
52
  iconOnly?: false | undefined;
@@ -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" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
13
+ variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
14
14
  borderStyle?: ("default" | "dashed") | undefined;
15
15
  } & {
16
16
  iconOnly: true;
@@ -22,7 +22,7 @@ export declare const ScrollButton: React.ForwardRefExoticComponent<Omit<Omit<Omi
22
22
  loading?: boolean | undefined;
23
23
  fullWidth?: boolean | undefined;
24
24
  size?: "sm" | "md" | "lg" | undefined;
25
- variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
25
+ variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
26
26
  borderStyle?: ("default" | "dashed") | undefined;
27
27
  } & {
28
28
  iconOnly?: false | undefined;
@@ -35,7 +35,7 @@ export declare const TextField: import('react').ForwardRefExoticComponent<Omit<i
35
35
  loading?: boolean | undefined;
36
36
  fullWidth?: boolean | undefined;
37
37
  size?: "sm" | "md" | "lg" | undefined;
38
- variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
38
+ variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
39
39
  borderStyle?: ("default" | "dashed") | undefined;
40
40
  } & {
41
41
  iconOnly: true;
@@ -47,7 +47,7 @@ export declare const TextField: import('react').ForwardRefExoticComponent<Omit<i
47
47
  loading?: boolean | undefined;
48
48
  fullWidth?: boolean | undefined;
49
49
  size?: "sm" | "md" | "lg" | undefined;
50
- variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
50
+ variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
51
51
  borderStyle?: ("default" | "dashed") | undefined;
52
52
  } & {
53
53
  iconOnly?: false | 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" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
14
+ variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
15
15
  borderStyle?: ("default" | "dashed") | undefined;
16
16
  } & {
17
17
  iconOnly: true;
@@ -23,7 +23,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
23
23
  loading?: boolean | undefined;
24
24
  fullWidth?: boolean | undefined;
25
25
  size?: "sm" | "md" | "lg" | undefined;
26
- variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
26
+ variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
27
27
  borderStyle?: ("default" | "dashed") | undefined;
28
28
  } & {
29
29
  iconOnly?: false | undefined;
@@ -29,8 +29,8 @@ 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" | "help" | "zoom-out" | "present" | "add" | "reverse" | "infinite" | "visible" | "zoom" | "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" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "sync" | "tv-next" | "tv-pause" | "tv-previous" | "tv-stop" | "upload" | "volume" | "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" | "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" | "job-search" | "layers" | "measuring-health" | "moisture" | "offering" | "offshore" | "optimization" | "pebble" | "pet-dog" | "pin" | "plane" | "plus-minus" | "police" | "power-grid" | "press-button" | "price" | "pulse" | "recycle" | "reservation" | "route" | "ruler" | "satellite" | "secured-1" | "secured-2" | "security-camera" | "shopping" | "smart-connect" | "snowflake" | "speedometer" | "spyware" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "youtube" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "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";
33
- size?: ("sm" | "md" | "lg" | "xl" | "xs" | "font" | "xxs") | undefined;
32
+ name: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "x" | "key" | "download" | "split" | "alert" | "radio" | "copy" | "add" | "reverse" | "infinite" | "visible" | "help" | "zoom-out" | "zoom" | "email" | "close" | "error" | "focus" | "play" | "sync" | "present" | "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" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "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" | "volume" | "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" | "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" | "food" | "fraud" | "getting-started" | "home-care" | "job-search" | "layers" | "measuring-health" | "moisture" | "offering" | "offshore" | "optimization" | "pebble" | "pet-dog" | "pin" | "plane" | "plus-minus" | "police" | "power-grid" | "press-button" | "price" | "pulse" | "recycle" | "reservation" | "route" | "ruler" | "satellite" | "secured-1" | "secured-2" | "security-camera" | "shopping" | "smart-connect" | "snowflake" | "speedometer" | "spyware" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "youtube" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "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" | "grid-view" | "list-view" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view";
33
+ size?: ("xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "font") | undefined;
34
34
  children?: React.ReactNode;
35
35
  }, "ref">> & React.RefAttributes<SVGSVGElement>>;
36
36
  };
@@ -15,14 +15,14 @@ export declare const Tooltip: typeof Root & {
15
15
  onPointerDownOutside?: ((event: CustomEvent<{
16
16
  originalEvent: PointerEvent;
17
17
  }>) => void) | undefined;
18
- side?: "left" | "right" | "bottom" | "top" | undefined;
18
+ side?: "top" | "bottom" | "left" | "right" | undefined;
19
19
  sideOffset?: number | undefined;
20
20
  align?: "center" | "end" | "start" | undefined;
21
21
  alignOffset?: number | undefined;
22
22
  arrowPadding?: number | undefined;
23
23
  avoidCollisions?: boolean | undefined;
24
24
  collisionBoundary?: (Element | null) | (Element | null)[] | undefined;
25
- collisionPadding?: number | Partial<Record<"left" | "right" | "bottom" | "top", number>> | undefined;
25
+ collisionPadding?: number | Partial<Record<"top" | "bottom" | "left" | "right", number>> | undefined;
26
26
  sticky?: "always" | "partial" | undefined;
27
27
  hideWhenDetached?: boolean | undefined;
28
28
  updatePositionStrategy?: "always" | "optimized" | undefined;
package/dist/main.cjs CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const components_channelButton_index = require("./components/channel-button/index.cjs");
3
4
  const components_collapsible_index = require("./components/collapsible/index.cjs");
4
5
  const components_meterBar_index = require("./components/meter-bar/index.cjs");
5
6
  const components_skeleton_index = require("./components/skeleton/index.cjs");
@@ -22,7 +23,7 @@ const components_image_image = require("./components/image/image.cjs");
22
23
  const components_chip_index = require("./components/chip/index.cjs");
23
24
  const components_datePicker_datePicker = require("./components/date-picker/date-picker.cjs");
24
25
  const components_metricmeter_metricmeter = require("./components/metricmeter/metricmeter.cjs");
25
- const components_notification_notification = require("./components/notification/notification.cjs");
26
+ const components_notification_index = require("./components/notification/index.cjs");
26
27
  const components_radioGroup_index = require("./components/radio-group/index.cjs");
27
28
  const components_box_box = require("./components/box/box.cjs");
28
29
  const components_flex_flex = require("./components/flex/flex.cjs");
@@ -61,6 +62,7 @@ const tokens_spacing_variables = require("./tokens/spacing/variables.cjs");
61
62
  const tokens_typography_variables = require("./tokens/typography/variables.cjs");
62
63
  const sonner = require("sonner");
63
64
  const components_input_inputGroup = require("./components/input/input-group.cjs");
65
+ exports.ChannelButton = components_channelButton_index.ChannelButton;
64
66
  exports.Collapsible = components_collapsible_index.Collapsible;
65
67
  exports.MeterBar = components_meterBar_index.MeterBar;
66
68
  exports.Skeleton = components_skeleton_index.Skeleton;
@@ -87,7 +89,7 @@ exports.Image = components_image_image.Image;
87
89
  exports.Chip = components_chip_index.Chip;
88
90
  exports.DatePicker = components_datePicker_datePicker.DatePicker;
89
91
  exports.MetricMeter = components_metricmeter_metricmeter.MetricMeter;
90
- exports.Notification = components_notification_notification.Notification;
92
+ exports.Notification = components_notification_index.Notification;
91
93
  exports.RadioGroup = components_radioGroup_index.RadioGroup;
92
94
  exports.Box = components_box_box.Box;
93
95
  exports.Flex = components_flex_flex.Flex;
package/dist/main.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { ChannelButton } from "./components/channel-button/index.js";
1
2
  import { Collapsible } from "./components/collapsible/index.js";
2
3
  import { MeterBar } from "./components/meter-bar/index.js";
3
4
  import { Skeleton } from "./components/skeleton/index.js";
@@ -20,7 +21,7 @@ import { Image } from "./components/image/image.js";
20
21
  import { Chip } from "./components/chip/index.js";
21
22
  import { DatePicker } from "./components/date-picker/date-picker.js";
22
23
  import { MetricMeter } from "./components/metricmeter/metricmeter.js";
23
- import { Notification } from "./components/notification/notification.js";
24
+ import { Notification } from "./components/notification/index.js";
24
25
  import { RadioGroup } from "./components/radio-group/index.js";
25
26
  import { Box } from "./components/box/box.js";
26
27
  import { Flex } from "./components/flex/flex.js";
@@ -69,6 +70,7 @@ export {
69
70
  Button,
70
71
  Card,
71
72
  Carousel,
73
+ ChannelButton,
72
74
  Checkbox,
73
75
  CheckboxGroup,
74
76
  Chip,