@telia/teddy 0.3.1 → 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 (66) 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 +2 -0
  28. package/dist/components/index.d.ts +1 -0
  29. package/dist/components/index.js +2 -0
  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 +1 -0
  33. package/dist/components/modal/modal.js +1 -0
  34. package/dist/components/navigation-menu/navigation-menu.cjs +1 -0
  35. package/dist/components/navigation-menu/navigation-menu.js +1 -0
  36. package/dist/components/notabene/index.cjs +2 -2
  37. package/dist/components/notabene/index.d.ts +1 -1
  38. package/dist/components/notabene/index.js +1 -1
  39. package/dist/components/notabene/notabene-icon.d.ts +2 -2
  40. package/dist/components/notification/index.d.ts +1 -1
  41. package/dist/components/notification/notification-icon.d.ts +2 -2
  42. package/dist/components/notification/notification-root.d.ts +1 -1
  43. package/dist/components/radio-card-group/radio-card-group-content.cjs +1 -0
  44. package/dist/components/radio-card-group/radio-card-group-content.js +1 -0
  45. package/dist/components/radio-card-group/radio-card-group-item-title.cjs +10 -9
  46. package/dist/components/radio-card-group/radio-card-group-item-title.js +10 -9
  47. package/dist/components/radio-card-group/radio-card-group-item.cjs +1 -0
  48. package/dist/components/radio-card-group/radio-card-group-item.js +1 -0
  49. package/dist/components/scroll-area/index.d.ts +2 -2
  50. package/dist/components/scroll-area/scroll-area-button.d.ts +2 -2
  51. package/dist/components/tabs/index.d.ts +2 -2
  52. package/dist/components/tabs/tabs-scroll-button.d.ts +2 -2
  53. package/dist/components/text-field/index.d.ts +2 -2
  54. package/dist/components/text-field/text-field-button.d.ts +2 -2
  55. package/dist/components/toggle/toggle.d.ts +2 -2
  56. package/dist/components/tooltip/index.d.ts +2 -2
  57. package/dist/main.cjs +2 -0
  58. package/dist/main.js +2 -0
  59. package/dist/style.css +983 -924
  60. package/dist/utils/generate-styling/grid.d.ts +24 -24
  61. package/dist/utils/generate-styling/index.d.ts +16 -16
  62. package/dist/utils/generate-styling/util.d.ts +2 -2
  63. package/package.json +1 -1
  64. /package/dist/components/notabene/{notabene-content.cjs → notabene.content.cjs} +0 -0
  65. /package/dist/components/notabene/{notabene-content.d.ts → notabene.content.d.ts} +0 -0
  66. /package/dist/components/notabene/{notabene-content.js → notabene.content.js} +0 -0
@@ -9,7 +9,7 @@ export type IllustrationProps = React.ComponentPropsWithoutRef<'div'> & {
9
9
  /** The illustration for the card */
10
10
  export declare const Illustration: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
11
11
  /** The inset allows make the image bleed out to the edges */
12
- inset?: "all" | "left" | "right" | "bottom" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top-right-left" | "bottom-left-right" | "top-bottom" | "left-right" | undefined;
12
+ inset?: "all" | "top" | "bottom" | "left" | "right" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top-right-left" | "bottom-left-right" | "top-bottom" | "left-right" | undefined;
13
13
  rounded?: boolean | undefined;
14
14
  } & React.RefAttributes<HTMLDivElement>>;
15
15
  export {};
@@ -19,7 +19,7 @@ export declare const Card: import('react').ForwardRefExoticComponent<RootProps &
19
19
  Button: import('react').ForwardRefExoticComponent<ButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
20
20
  Content: import('react').ForwardRefExoticComponent<ContentProps & import('react').RefAttributes<HTMLDivElement>>;
21
21
  Illustration: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
22
- inset?: "all" | "left" | "right" | "bottom" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top-right-left" | "bottom-left-right" | "top-bottom" | "left-right" | undefined;
22
+ inset?: "all" | "top" | "bottom" | "left" | "right" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top-right-left" | "bottom-left-right" | "top-bottom" | "left-right" | undefined;
23
23
  rounded?: boolean | undefined;
24
24
  } & import('react').RefAttributes<HTMLDivElement>>;
25
25
  Line: import('react').ForwardRefExoticComponent<LineProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const jsxRuntime = require("react/jsx-runtime");
4
+ const React = require("react");
5
+ const clsx = require("clsx");
6
+ const components_channelButton_channelButtonRoot = require("./channel-button-root.cjs");
7
+ const components_flex_flex = require("../flex/flex.cjs");
8
+ const IllustrationContext = React.createContext(false);
9
+ const Illustration = React.forwardRef(
10
+ ({ className, children, ...props }, forwardRef) => {
11
+ const childrenArray = React.Children.toArray(children);
12
+ const hasMoreThanThreeChildren = childrenArray.length > 3;
13
+ const classes = clsx(className, components_channelButton_channelButtonRoot.styles[`${components_channelButton_channelButtonRoot.rootClassName}__illustration`], {
14
+ [components_channelButton_channelButtonRoot.styles[`${components_channelButton_channelButtonRoot.rootClassName}__illustration--fade`]]: hasMoreThanThreeChildren
15
+ });
16
+ return /* @__PURE__ */ jsxRuntime.jsx(IllustrationContext.Provider, { value: true, children: /* @__PURE__ */ jsxRuntime.jsx(
17
+ components_flex_flex.Flex,
18
+ {
19
+ width: "100%",
20
+ height: "40px",
21
+ gap: "50",
22
+ align: "center",
23
+ justify: "center",
24
+ ...props,
25
+ ref: forwardRef,
26
+ className: classes,
27
+ children: hasMoreThanThreeChildren ? childrenArray.slice(0, 3) : children
28
+ }
29
+ ) });
30
+ }
31
+ );
32
+ exports.Illustration = Illustration;
33
+ exports.IllustrationContext = IllustrationContext;
@@ -0,0 +1,8 @@
1
+ import { default as React, ReactNode } from 'react';
2
+ import { Flex } from '../flex';
3
+
4
+ export type IllustrationProps = React.ComponentPropsWithoutRef<typeof Flex> & {
5
+ children: ReactNode;
6
+ };
7
+ export declare const IllustrationContext: React.Context<boolean>;
8
+ export declare const Illustration: React.ForwardRefExoticComponent<IllustrationProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,33 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import React__default, { createContext } from "react";
3
+ import clsx from "clsx";
4
+ import { s as styles, rootClassName } from "./channel-button-root.js";
5
+ import { Flex } from "../flex/flex.js";
6
+ const IllustrationContext = createContext(false);
7
+ const Illustration = React__default.forwardRef(
8
+ ({ className, children, ...props }, forwardRef) => {
9
+ const childrenArray = React__default.Children.toArray(children);
10
+ const hasMoreThanThreeChildren = childrenArray.length > 3;
11
+ const classes = clsx(className, styles[`${rootClassName}__illustration`], {
12
+ [styles[`${rootClassName}__illustration--fade`]]: hasMoreThanThreeChildren
13
+ });
14
+ return /* @__PURE__ */ jsx(IllustrationContext.Provider, { value: true, children: /* @__PURE__ */ jsx(
15
+ Flex,
16
+ {
17
+ width: "100%",
18
+ height: "40px",
19
+ gap: "50",
20
+ align: "center",
21
+ justify: "center",
22
+ ...props,
23
+ ref: forwardRef,
24
+ className: classes,
25
+ children: hasMoreThanThreeChildren ? childrenArray.slice(0, 3) : children
26
+ }
27
+ ) });
28
+ }
29
+ );
30
+ export {
31
+ Illustration,
32
+ IllustrationContext
33
+ };
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const jsxRuntime = require("react/jsx-runtime");
4
+ const React = require("react");
5
+ const clsx = require("clsx");
6
+ const components_channelButton_channelButtonRoot = require("./channel-button-root.cjs");
7
+ const components_image_image = require("../image/image.cjs");
8
+ const components_channelButton_channelButtonIllustration = require("./channel-button-illustration.cjs");
9
+ const Image = React.forwardRef(
10
+ ({ className, ...props }, forwardRef) => {
11
+ const classes = clsx([components_channelButton_channelButtonRoot.styles[`${components_channelButton_channelButtonRoot.rootClassName}__img`]], className);
12
+ const isInsideIllustration = React.useContext(components_channelButton_channelButtonIllustration.IllustrationContext);
13
+ if (isInsideIllustration) {
14
+ return /* @__PURE__ */ jsxRuntime.jsx(components_image_image.Image, { maxWidth: "65px", objectFit: "contain", ...props, ref: forwardRef, className: classes });
15
+ }
16
+ return /* @__PURE__ */ jsxRuntime.jsx(components_channelButton_channelButtonIllustration.Illustration, { children: /* @__PURE__ */ jsxRuntime.jsx(components_image_image.Image, { maxWidth: "65px", objectFit: "contain", ...props, ref: forwardRef, className: classes }) });
17
+ }
18
+ );
19
+ exports.Image = Image;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ import { ImageProps as PrimitiveImageProps } from '../image';
3
+
4
+ export type ImageProps = PrimitiveImageProps;
5
+ export declare const Image: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & import('../../utils/generate-styling/object-fit').ObjectFitProps & React.RefAttributes<HTMLImageElement>>;
@@ -0,0 +1,19 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import React__default from "react";
3
+ import clsx from "clsx";
4
+ import { s as styles, rootClassName } from "./channel-button-root.js";
5
+ import { Image as Image$1 } from "../image/image.js";
6
+ import { IllustrationContext, Illustration } from "./channel-button-illustration.js";
7
+ const Image = React__default.forwardRef(
8
+ ({ className, ...props }, forwardRef) => {
9
+ const classes = clsx([styles[`${rootClassName}__img`]], className);
10
+ const isInsideIllustration = React__default.useContext(IllustrationContext);
11
+ if (isInsideIllustration) {
12
+ return /* @__PURE__ */ jsx(Image$1, { maxWidth: "65px", objectFit: "contain", ...props, ref: forwardRef, className: classes });
13
+ }
14
+ return /* @__PURE__ */ jsx(Illustration, { children: /* @__PURE__ */ jsx(Image$1, { maxWidth: "65px", objectFit: "contain", ...props, ref: forwardRef, className: classes }) });
15
+ }
16
+ );
17
+ export {
18
+ Image
19
+ };
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const jsxRuntime = require("react/jsx-runtime");
4
+ const React = require("react");
5
+ const clsx = require("clsx");
6
+ const components_button_button = require("../button/button.cjs");
7
+ const components_text_text = require("../text/text.cjs");
8
+ const styles = {
9
+ "teddy-channel-button": "_teddy-channel-button_1hacf_1",
10
+ "teddy-channel-button--no-click": "_teddy-channel-button--no-click_1hacf_41",
11
+ "teddy-channel-button__illustration": "_teddy-channel-button__illustration_1hacf_44",
12
+ "teddy-channel-button__illustration--fade": "_teddy-channel-button__illustration--fade_1hacf_48",
13
+ "teddy-channel-button__text": "_teddy-channel-button__text_1hacf_56"
14
+ };
15
+ const rootClassName = "teddy-channel-button";
16
+ const Root = React.forwardRef(
17
+ ({ className, children, as, ...props }, forwardRef) => {
18
+ const classes = clsx(
19
+ [styles[`${rootClassName}`]],
20
+ {
21
+ [styles[`${rootClassName}--no-click`]]: as && !props.onClick
22
+ },
23
+ className
24
+ );
25
+ const Tag = as === "div" ? "div" : as === "span" ? "span" : void 0;
26
+ return /* @__PURE__ */ jsxRuntime.jsx(components_text_text.Text, { asChild: true, variant: "additional-100", children: /* @__PURE__ */ jsxRuntime.jsx(
27
+ components_button_button.Button,
28
+ {
29
+ variant: "tertiary-purple",
30
+ ...props,
31
+ ref: forwardRef,
32
+ asChild: props.asChild || !!Tag,
33
+ className: classes,
34
+ children: Tag ? /* @__PURE__ */ jsxRuntime.jsx(Tag, { children }) : children
35
+ }
36
+ ) });
37
+ }
38
+ );
39
+ exports.Root = Root;
40
+ exports.rootClassName = rootClassName;
41
+ exports.styles = styles;
@@ -0,0 +1,34 @@
1
+ import { default as React } from 'react';
2
+ import { Button } from '../button';
3
+
4
+ export declare const rootClassName = "teddy-channel-button";
5
+ export type RootProps = Omit<React.ComponentPropsWithoutRef<typeof Button>, 'loading' | 'size' | 'variant' | 'iconOnly' | 'borderStyle' | 'fullWidth' | 'aria-label'> & {
6
+ as?: 'div' | 'span';
7
+ };
8
+ export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
9
+ display?: import('../../utils/generate-styling').DisplayChildren | undefined;
10
+ } & {
11
+ asChild?: boolean | undefined;
12
+ loading?: boolean | undefined;
13
+ fullWidth?: boolean | undefined;
14
+ size?: "sm" | "md" | "lg" | undefined;
15
+ variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
16
+ borderStyle?: ("default" | "dashed") | undefined;
17
+ } & {
18
+ iconOnly: true;
19
+ "aria-label": string;
20
+ } & React.RefAttributes<HTMLButtonElement>, "ref"> | Omit<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
21
+ display?: import('../../utils/generate-styling').DisplayChildren | undefined;
22
+ } & {
23
+ asChild?: boolean | undefined;
24
+ loading?: boolean | undefined;
25
+ fullWidth?: boolean | undefined;
26
+ size?: "sm" | "md" | "lg" | undefined;
27
+ variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
28
+ borderStyle?: ("default" | "dashed") | undefined;
29
+ } & {
30
+ iconOnly?: false | undefined;
31
+ "aria-label"?: string | undefined;
32
+ } & React.RefAttributes<HTMLButtonElement>, "ref">, "aria-label" | "loading" | "size" | "variant" | "borderStyle" | "fullWidth" | "iconOnly"> & {
33
+ as?: "div" | "span" | undefined;
34
+ } & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,41 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import React__default from "react";
3
+ import clsx from "clsx";
4
+ import { Button } from "../button/button.js";
5
+ import { Text } from "../text/text.js";
6
+ const styles = {
7
+ "teddy-channel-button": "_teddy-channel-button_1hacf_1",
8
+ "teddy-channel-button--no-click": "_teddy-channel-button--no-click_1hacf_41",
9
+ "teddy-channel-button__illustration": "_teddy-channel-button__illustration_1hacf_44",
10
+ "teddy-channel-button__illustration--fade": "_teddy-channel-button__illustration--fade_1hacf_48",
11
+ "teddy-channel-button__text": "_teddy-channel-button__text_1hacf_56"
12
+ };
13
+ const rootClassName = "teddy-channel-button";
14
+ const Root = React__default.forwardRef(
15
+ ({ className, children, as, ...props }, forwardRef) => {
16
+ const classes = clsx(
17
+ [styles[`${rootClassName}`]],
18
+ {
19
+ [styles[`${rootClassName}--no-click`]]: as && !props.onClick
20
+ },
21
+ className
22
+ );
23
+ const Tag = as === "div" ? "div" : as === "span" ? "span" : void 0;
24
+ return /* @__PURE__ */ jsx(Text, { asChild: true, variant: "additional-100", children: /* @__PURE__ */ jsx(
25
+ Button,
26
+ {
27
+ variant: "tertiary-purple",
28
+ ...props,
29
+ ref: forwardRef,
30
+ asChild: props.asChild || !!Tag,
31
+ className: classes,
32
+ children: Tag ? /* @__PURE__ */ jsx(Tag, { children }) : children
33
+ }
34
+ ) });
35
+ }
36
+ );
37
+ export {
38
+ Root,
39
+ rootClassName,
40
+ styles as s
41
+ };
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const jsxRuntime = require("react/jsx-runtime");
4
+ const React = require("react");
5
+ const clsx = require("clsx");
6
+ const components_channelButton_channelButtonRoot = require("./channel-button-root.cjs");
7
+ const components_text_text = require("../text/text.cjs");
8
+ const Text = React.forwardRef(
9
+ ({ className, ...props }, forwardRef) => {
10
+ const classes = clsx([components_channelButton_channelButtonRoot.styles[`${components_channelButton_channelButtonRoot.rootClassName}__text`]], className);
11
+ return /* @__PURE__ */ jsxRuntime.jsx(
12
+ components_text_text.Text,
13
+ {
14
+ variant: "additional-100",
15
+ ...props,
16
+ ...props.asChild ? { as: void 0, asChild: true } : { as: "span", asChild: false },
17
+ ref: forwardRef,
18
+ className: classes
19
+ }
20
+ );
21
+ }
22
+ );
23
+ exports.Text = Text;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ import { Text as TextPrimitive } from '../text';
3
+
4
+ export type TextProps = React.ComponentPropsWithoutRef<typeof TextPrimitive>;
5
+ export declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLSpanElement>>;
@@ -0,0 +1,23 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import React__default from "react";
3
+ import clsx from "clsx";
4
+ import { s as styles, rootClassName } from "./channel-button-root.js";
5
+ import { Text as Text$1 } from "../text/text.js";
6
+ const Text = React__default.forwardRef(
7
+ ({ className, ...props }, forwardRef) => {
8
+ const classes = clsx([styles[`${rootClassName}__text`]], className);
9
+ return /* @__PURE__ */ jsx(
10
+ Text$1,
11
+ {
12
+ variant: "additional-100",
13
+ ...props,
14
+ ...props.asChild ? { as: void 0, asChild: true } : { as: "span", asChild: false },
15
+ ref: forwardRef,
16
+ className: classes
17
+ }
18
+ );
19
+ }
20
+ );
21
+ export {
22
+ Text
23
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const components_channelButton_channelButtonRoot = require("./channel-button-root.cjs");
4
+ const components_channelButton_channelButtonIllustration = require("./channel-button-illustration.cjs");
5
+ const components_channelButton_channelButtonImage = require("./channel-button-image.cjs");
6
+ const components_channelButton_channelButtonText = require("./channel-button-text.cjs");
7
+ const ChannelButton = components_channelButton_channelButtonRoot.Root;
8
+ ChannelButton.displayName = "ChannelButton";
9
+ ChannelButton.Illustration = components_channelButton_channelButtonIllustration.Illustration;
10
+ ChannelButton.Illustration.displayName = "ChannelButton.Illustration";
11
+ ChannelButton.Image = components_channelButton_channelButtonImage.Image;
12
+ ChannelButton.Image.displayName = "ChannelButton.Image";
13
+ ChannelButton.Text = components_channelButton_channelButtonText.Text;
14
+ ChannelButton.Text.displayName = "ChannelButton.Text";
15
+ exports.ChannelButton = ChannelButton;
@@ -0,0 +1,91 @@
1
+ import { RootProps } from './channel-button-root';
2
+ import { Illustration, IllustrationProps } from './channel-button-illustration';
3
+ import { Image, ImageProps } from './channel-button-image';
4
+ import { Text, TextProps } from './channel-button-text';
5
+
6
+ export type ChannelButtonProps = {
7
+ Root: RootProps;
8
+ Illustration: IllustrationProps;
9
+ Image: ImageProps;
10
+ Text: TextProps;
11
+ };
12
+ /**
13
+ *
14
+ * @component
15
+ *
16
+ * @example
17
+ * <ChannelButton>
18
+ * <ChannelButton.Illustration>
19
+ * <ChannelButton.Image src="https://via.placeholder.com/150" alt="Image" />
20
+ * </ChannelButton.Illustration>
21
+ * <ChannelButton.Text>Text</ChannelButton.Text>
22
+ * </ChannelButton>
23
+ *
24
+ * simple example:
25
+ * @example
26
+ * <ChannelButton>
27
+ * <ChannelButton.Image src="https://via.placeholder.com/150" alt="Image" />
28
+ * <ChannelButton.Text>Text</ChannelButton.Text>
29
+ * </ChannelButton>
30
+ */
31
+ declare const ChannelButton: import('react').ForwardRefExoticComponent<Omit<Omit<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
32
+ display?: import('../../utils/generate-styling').DisplayChildren | undefined;
33
+ } & {
34
+ asChild?: boolean | undefined;
35
+ loading?: boolean | undefined;
36
+ fullWidth?: boolean | undefined;
37
+ size?: "sm" | "md" | "lg" | 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
+ borderStyle?: ("default" | "dashed") | undefined;
40
+ } & {
41
+ iconOnly: true;
42
+ "aria-label": string;
43
+ } & import('react').RefAttributes<HTMLButtonElement>, "ref"> | Omit<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
44
+ display?: import('../../utils/generate-styling').DisplayChildren | undefined;
45
+ } & {
46
+ asChild?: boolean | undefined;
47
+ loading?: boolean | undefined;
48
+ fullWidth?: boolean | undefined;
49
+ size?: "sm" | "md" | "lg" | 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
+ borderStyle?: ("default" | "dashed") | undefined;
52
+ } & {
53
+ iconOnly?: false | undefined;
54
+ "aria-label"?: string | undefined;
55
+ } & import('react').RefAttributes<HTMLButtonElement>, "ref">, "aria-label" | "loading" | "size" | "variant" | "borderStyle" | "fullWidth" | "iconOnly"> & {
56
+ as?: "div" | "span" | undefined;
57
+ } & import('react').RefAttributes<HTMLButtonElement>> & {
58
+ /**
59
+ * The Illustration component is used to wrap the image in the ChannelButton.
60
+ * It is used to provide a consistent layout for the image.
61
+ * If you dont wrap the image in the Illustration component, the image will automatically be wrapped in the Illustration component.
62
+ * If you want to override the default layout, you can wrap the image in the Illustration component and provide your own layout.
63
+ *
64
+ * @component
65
+ *
66
+ * @example
67
+ * <ChannelButton.Illustration>
68
+ * <ChannelButton.Image src="https://via.placeholder.com/150" alt="Image" />
69
+ * </ChannelButton.Illustration>
70
+ */
71
+ Illustration: typeof Illustration;
72
+ /**
73
+ * The Image component is used to display an image in the ChannelButton.
74
+ *
75
+ * @component
76
+ *
77
+ * @example
78
+ * <ChannelButton.Image src="https://via.placeholder.com/150" alt="Image" />
79
+ */
80
+ Image: typeof Image;
81
+ /**
82
+ * The Text component is used to display text in the ChannelButton.
83
+ *
84
+ * @component
85
+ *
86
+ * @example
87
+ * <ChannelButton.Text>Text</ChannelButton.Text>
88
+ */
89
+ Text: typeof Text;
90
+ };
91
+ export { ChannelButton };
@@ -0,0 +1,15 @@
1
+ import { Root } from "./channel-button-root.js";
2
+ import { Illustration } from "./channel-button-illustration.js";
3
+ import { Image } from "./channel-button-image.js";
4
+ import { Text } from "./channel-button-text.js";
5
+ const ChannelButton = Root;
6
+ ChannelButton.displayName = "ChannelButton";
7
+ ChannelButton.Illustration = Illustration;
8
+ ChannelButton.Illustration.displayName = "ChannelButton.Illustration";
9
+ ChannelButton.Image = Image;
10
+ ChannelButton.Image.displayName = "ChannelButton.Image";
11
+ ChannelButton.Text = Text;
12
+ ChannelButton.Text.displayName = "ChannelButton.Text";
13
+ export {
14
+ ChannelButton
15
+ };
@@ -32,7 +32,7 @@ declare const List: React.ForwardRefExoticComponent<Omit<Omit<import('../../util
32
32
  } & import('../../utils/generate-styling/flex').FlexLayout & {
33
33
  as: "div";
34
34
  asChild?: false | undefined;
35
- } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref">, "asChild" | "as"> & {
35
+ } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref">, "as" | "asChild"> & {
36
36
  parentValue?: string | undefined;
37
37
  } & React.RefAttributes<HTMLDivElement>>;
38
38
  export { List };
@@ -34,7 +34,7 @@ export declare const Group: React.ForwardRefExoticComponent<Omit<Omit<import('..
34
34
  } & import('../../utils/generate-styling/flex').FlexLayout & {
35
35
  as: "div";
36
36
  asChild?: false | undefined;
37
- } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref">, "defaultValue" | "direction" | "value" | "onValueChange"> & {
37
+ } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref">, "direction" | "defaultValue" | "value" | "onValueChange"> & {
38
38
  name?: string | undefined;
39
39
  required?: boolean | undefined;
40
40
  disabled?: boolean | undefined;
@@ -41,7 +41,7 @@ export declare const CheckboxGroup: import('react').ForwardRefExoticComponent<Om
41
41
  } & import('../../utils/generate-styling/flex.ts').FlexLayout & {
42
42
  as: "div";
43
43
  asChild?: false | undefined;
44
- } & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref">, "defaultValue" | "direction" | "value" | "onValueChange"> & {
44
+ } & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref">, "direction" | "defaultValue" | "value" | "onValueChange"> & {
45
45
  name?: string | undefined;
46
46
  required?: boolean | undefined;
47
47
  disabled?: boolean | undefined;
@@ -79,7 +79,7 @@ export declare const CheckboxGroup: import('react').ForwardRefExoticComponent<Om
79
79
  } & import('../../utils/generate-styling/flex.ts').FlexLayout & {
80
80
  as: "div";
81
81
  asChild?: false | undefined;
82
- } & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref">, "asChild" | "as"> & {
82
+ } & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref">, "as" | "asChild"> & {
83
83
  parentValue?: string | undefined;
84
84
  } & import('react').RefAttributes<HTMLDivElement>>;
85
85
  GroupLabel: import('react').ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-label').LabelProps & import('react').RefAttributes<HTMLLabelElement>, "ref"> & {
@@ -3,7 +3,7 @@ import { Icon } from '../icon';
3
3
 
4
4
  export type IndicatorProps = Partial<React.ComponentPropsWithoutRef<typeof Icon>>;
5
5
  export declare const Indicator: 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" | "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";
7
- size?: ("sm" | "md" | "lg" | "xl" | "xs" | "font" | "xxs") | undefined;
6
+ 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";
7
+ size?: ("xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "font") | undefined;
8
8
  children?: React.ReactNode;
9
9
  }, "ref">> & React.RefAttributes<SVGSVGElement>>;
@@ -5,8 +5,8 @@ import { ItemProps } from './chip-item';
5
5
  export declare const Chip: import('react').ForwardRefExoticComponent<RootProps & import('react').RefAttributes<HTMLDivElement>> & {
6
6
  Item: import('react').ForwardRefExoticComponent<ItemProps & import('react').RefAttributes<HTMLButtonElement>>;
7
7
  Indicator: import('react').ForwardRefExoticComponent<Partial<Omit<import('react').SVGProps<SVGSVGElement> & {
8
- 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";
9
- size?: ("sm" | "md" | "lg" | "xl" | "xs" | "font" | "xxs") | undefined;
8
+ 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";
9
+ size?: ("xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "font") | undefined;
10
10
  children?: import('react').ReactNode;
11
11
  }, "ref">> & import('react').RefAttributes<SVGSVGElement>>;
12
12
  };
@@ -6,7 +6,7 @@ export declare const ColorDot: import('react').ForwardRefExoticComponent<Omit<({
6
6
  as?: "div" | undefined;
7
7
  } & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">), "children"> & {
8
8
  color: string;
9
- size: "sm" | "md" | "lg" | "xs";
9
+ size: "xs" | "sm" | "md" | "lg";
10
10
  bordered?: boolean | undefined;
11
11
  wide?: boolean | undefined;
12
12
  } & import('react').RefAttributes<HTMLDivElement>>;