@telia/teddy 0.0.12 → 0.0.15
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.
- package/dist/assets/{5161b177f001ea1a.svg → 4bbd022cee9b0f06.svg} +12 -9
- package/dist/assets/badge.css +1 -1
- package/dist/assets/main.css +1 -1
- package/dist/badge-Cnug5TzH.js +1855 -0
- package/dist/components/accordion/accordion.js +2 -2
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/badge/index.js +1 -1
- package/dist/components/card/card.d.ts +13 -9
- package/dist/components/card/card.js +2 -2
- package/dist/components/card/index.js +1 -1
- package/dist/components/field-error-text/field-error-text.js +1 -1
- package/dist/components/icon/icon.js +1 -1
- package/dist/components/icon/index.js +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/input/input.js +1 -1
- package/dist/components/modal/index.js +1 -1
- package/dist/components/modal/modal.js +2 -2
- package/dist/components/notification/index.js +1 -1
- package/dist/components/notification/notification.d.ts +36 -5
- package/dist/components/notification/notification.js +2 -2
- package/dist/components/toggle/index.js +1 -1
- package/dist/components/toggle/toggle.d.ts +1 -1
- package/dist/components/toggle/toggle.js +2 -2
- package/dist/icons/category.d.ts +60 -57
- package/dist/icons/category.js +53 -52
- package/dist/icons/name.d.ts +1 -1
- package/dist/icons/name.js +4 -3
- package/dist/main.js +2 -2
- package/dist/utils/layout/index.d.ts +3 -1
- package/dist/utils/layout/index.js +28 -24
- package/dist/utils/layout/inset.d.ts +478 -0
- package/dist/utils/layout/inset.js +32 -0
- package/dist/utils/layout/position.d.ts +64 -0
- package/dist/utils/layout/position.js +20 -0
- package/package.json +1 -1
- package/dist/badge-DscsRVHR.js +0 -1825
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../clsx-DB4S2d7J.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import { A as y } from "../../badge-
|
|
4
|
+
import { A as y } from "../../badge-Cnug5TzH.js";
|
|
5
5
|
import "../../radio-group-B--zT3OL.js";
|
|
6
6
|
import "../box/box.js";
|
|
7
7
|
import "../flex/flex.js";
|
|
@@ -11,7 +11,7 @@ import "../link/link.js";
|
|
|
11
11
|
import "../button/button.js";
|
|
12
12
|
import "../field-error-text/field-error-text.js";
|
|
13
13
|
import "../helper-text/helper-text.js";
|
|
14
|
-
import "../../assets/
|
|
14
|
+
import "../../assets/4bbd022cee9b0f06.svg";
|
|
15
15
|
import "../icon/icon.js";
|
|
16
16
|
import "../input/input.js";
|
|
17
17
|
import "../label/label.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../clsx-DB4S2d7J.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import { B as y } from "../../badge-
|
|
4
|
+
import { B as y } from "../../badge-Cnug5TzH.js";
|
|
5
5
|
import "../../index-DpfSJps6.js";
|
|
6
6
|
import "../../radio-group-B--zT3OL.js";
|
|
7
7
|
import "../box/box.js";
|
|
@@ -12,7 +12,7 @@ import "../link/link.js";
|
|
|
12
12
|
import "../button/button.js";
|
|
13
13
|
import "../field-error-text/field-error-text.js";
|
|
14
14
|
import "../helper-text/helper-text.js";
|
|
15
|
-
import "../../assets/
|
|
15
|
+
import "../../assets/4bbd022cee9b0f06.svg";
|
|
16
16
|
import "../icon/icon.js";
|
|
17
17
|
import "../input/input.js";
|
|
18
18
|
import "../label/label.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Button as PrimitiveButton, Heading as PrimitiveHeading, Link as PrimitiveLink } from '..';
|
|
1
|
+
import { Button as PrimitiveButton, Heading as PrimitiveHeading, Link as PrimitiveLink, Box, Flex } from '..';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
|
|
4
4
|
declare const variantOptions: readonly ["purple-light", "purple-dark", "gray", "white", "beige"];
|
|
@@ -6,7 +6,7 @@ type Variant = (typeof variantOptions)[number];
|
|
|
6
6
|
/** -------------------------------------------------------------------------------------------------
|
|
7
7
|
* Root
|
|
8
8
|
* -----------------------------------------------------------------------------------------------*/
|
|
9
|
-
type RootProps = React.ComponentPropsWithoutRef<
|
|
9
|
+
type RootProps = React.ComponentPropsWithoutRef<typeof Flex> & {
|
|
10
10
|
asChild?: boolean;
|
|
11
11
|
variant?: Variant;
|
|
12
12
|
bordered?: boolean;
|
|
@@ -20,6 +20,12 @@ type HeadingProps = Partial<React.ComponentPropsWithoutRef<typeof PrimitiveHeadi
|
|
|
20
20
|
* Content
|
|
21
21
|
* -----------------------------------------------------------------------------------------------*/
|
|
22
22
|
type ContentProps = React.ComponentPropsWithoutRef<'div'>;
|
|
23
|
+
/** -------------------------------------------------------------------------------------------------
|
|
24
|
+
* Slot
|
|
25
|
+
* -----------------------------------------------------------------------------------------------*/
|
|
26
|
+
type SlotProps = React.ComponentPropsWithoutRef<typeof Box> & {
|
|
27
|
+
align?: 'top' | 'bottom' | 'left' | 'right' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
28
|
+
};
|
|
23
29
|
/** -------------------------------------------------------------------------------------------------
|
|
24
30
|
* Image
|
|
25
31
|
* -----------------------------------------------------------------------------------------------*/
|
|
@@ -33,17 +39,13 @@ type ButtonProps = Omit<React.ComponentPropsWithoutRef<typeof PrimitiveButton>,
|
|
|
33
39
|
* Link
|
|
34
40
|
* -----------------------------------------------------------------------------------------------*/
|
|
35
41
|
type LinkProps = React.ComponentPropsWithoutRef<typeof PrimitiveLink>;
|
|
36
|
-
declare const Card: React.ForwardRefExoticComponent<
|
|
37
|
-
|
|
38
|
-
variant?: "purple-light" | "purple-dark" | "gray" | "white" | "beige" | undefined;
|
|
39
|
-
bordered?: boolean | undefined;
|
|
40
|
-
backgroundImageSrc?: string | undefined;
|
|
41
|
-
} & React.RefAttributes<HTMLDivElement>> & {
|
|
42
|
+
declare const Card: React.ForwardRefExoticComponent<RootProps & React.RefAttributes<HTMLDivElement>> & {
|
|
43
|
+
Root: React.ForwardRefExoticComponent<RootProps & React.RefAttributes<HTMLDivElement>>;
|
|
42
44
|
Heading: React.ForwardRefExoticComponent<HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
43
45
|
Content: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
44
46
|
Image: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & {
|
|
45
47
|
/** The inset allows make the image bleed out to the edges */
|
|
46
|
-
inset?: "all" | "top" | "bottom" | "
|
|
48
|
+
inset?: "all" | "top" | "bottom" | "right" | "left" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top-right-left" | "bottom-left-right" | "top-bottom" | "left-right" | undefined;
|
|
47
49
|
} & React.RefAttributes<HTMLImageElement>>;
|
|
48
50
|
Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
49
51
|
Link: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
@@ -53,6 +55,7 @@ declare const Card: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps
|
|
|
53
55
|
silent?: boolean | undefined;
|
|
54
56
|
variant: "text" | "navigation" | "text-negative" | "standalone" | "standalone-negative" | "navigation-negative";
|
|
55
57
|
} & React.RefAttributes<HTMLAnchorElement>, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
58
|
+
Slot: React.ForwardRefExoticComponent<SlotProps & React.RefAttributes<HTMLDivElement>>;
|
|
56
59
|
variantOptions: readonly ["purple-light", "purple-dark", "gray", "white", "beige"];
|
|
57
60
|
insetOptions: readonly ["top", "bottom", "left", "right", "all", "top-right-left", "bottom-left-right", "top-left", "top-right", "bottom-left", "bottom-right", "top-bottom", "left-right"];
|
|
58
61
|
};
|
|
@@ -62,6 +65,7 @@ type CardProps = {
|
|
|
62
65
|
Content: ContentProps;
|
|
63
66
|
Button: ButtonProps;
|
|
64
67
|
Image: ImageProps;
|
|
68
|
+
Slot: SlotProps;
|
|
65
69
|
Link: LinkProps;
|
|
66
70
|
};
|
|
67
71
|
export { Card };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../clsx-DB4S2d7J.js";
|
|
4
|
-
import { C as y } from "../../badge-
|
|
4
|
+
import { C as y } from "../../badge-Cnug5TzH.js";
|
|
5
5
|
import "../../radio-group-B--zT3OL.js";
|
|
6
6
|
import "../box/box.js";
|
|
7
7
|
import "../flex/flex.js";
|
|
@@ -11,7 +11,7 @@ import "../link/link.js";
|
|
|
11
11
|
import "../button/button.js";
|
|
12
12
|
import "../field-error-text/field-error-text.js";
|
|
13
13
|
import "../helper-text/helper-text.js";
|
|
14
|
-
import "../../assets/
|
|
14
|
+
import "../../assets/4bbd022cee9b0f06.svg";
|
|
15
15
|
import "../input/input.js";
|
|
16
16
|
import "../label/label.js";
|
|
17
17
|
import "../spinner/spinner.js";
|
|
@@ -2,7 +2,7 @@ import '../../assets/field-error-text.css';
|
|
|
2
2
|
import { jsx as s } from "react/jsx-runtime";
|
|
3
3
|
import { c as i } from "../../clsx-DB4S2d7J.js";
|
|
4
4
|
import a from "react";
|
|
5
|
-
import "../../assets/
|
|
5
|
+
import "../../assets/4bbd022cee9b0f06.svg";
|
|
6
6
|
import { Icon as n } from "../icon/icon.js";
|
|
7
7
|
import { Text as m } from "../text/text.js";
|
|
8
8
|
const c = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../assets/icon.css';
|
|
2
2
|
import { jsxs as y, jsx as d } from "react/jsx-runtime";
|
|
3
|
-
import f from "../../assets/
|
|
3
|
+
import f from "../../assets/4bbd022cee9b0f06.svg";
|
|
4
4
|
import { c as s } from "../../clsx-DB4S2d7J.js";
|
|
5
5
|
const t = {
|
|
6
6
|
"teddy-icon": "_teddy-icon_1rwgf_2",
|
package/dist/components/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, B as t, C as p, M as x, N as f, T as a } from "../badge-
|
|
1
|
+
import { A as e, B as t, C as p, M as x, N as f, T as a } from "../badge-Cnug5TzH.js";
|
|
2
2
|
import { R as i } from "../radio-group-B--zT3OL.js";
|
|
3
3
|
import { Box as d } from "./box/box.js";
|
|
4
4
|
import { Flex as l } from "./flex/flex.js";
|
|
@@ -8,7 +8,7 @@ import { Link as H } from "./link/link.js";
|
|
|
8
8
|
import { Button as F } from "./button/button.js";
|
|
9
9
|
import { FieldErrorText as I } from "./field-error-text/field-error-text.js";
|
|
10
10
|
import { HelperText as A } from "./helper-text/helper-text.js";
|
|
11
|
-
import { default as L } from "../assets/
|
|
11
|
+
import { default as L } from "../assets/4bbd022cee9b0f06.svg";
|
|
12
12
|
import { Icon as S } from "./icon/icon.js";
|
|
13
13
|
import { Input as k, InputGroup as v } from "./input/input.js";
|
|
14
14
|
import { Label as E } from "./label/label.js";
|
|
@@ -2,7 +2,7 @@ import '../../assets/input.css';
|
|
|
2
2
|
import { jsxs as y, jsx as r } from "react/jsx-runtime";
|
|
3
3
|
import { c } from "../../clsx-DB4S2d7J.js";
|
|
4
4
|
import a from "react";
|
|
5
|
-
import "../../assets/
|
|
5
|
+
import "../../assets/4bbd022cee9b0f06.svg";
|
|
6
6
|
import { Icon as x } from "../icon/icon.js";
|
|
7
7
|
import { Spinner as A } from "../spinner/spinner.js";
|
|
8
8
|
const C = "_fadeInAnimation_1o9uu_1", G = "_scaleInAnimation_1o9uu_1", s = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { M as z } from "../../badge-
|
|
3
|
+
import { M as z } from "../../badge-Cnug5TzH.js";
|
|
4
4
|
import "../../radio-group-B--zT3OL.js";
|
|
5
5
|
import "../box/box.js";
|
|
6
6
|
import "../flex/flex.js";
|
|
@@ -10,7 +10,7 @@ import "../link/link.js";
|
|
|
10
10
|
import "../button/button.js";
|
|
11
11
|
import "../field-error-text/field-error-text.js";
|
|
12
12
|
import "../helper-text/helper-text.js";
|
|
13
|
-
import "../../assets/
|
|
13
|
+
import "../../assets/4bbd022cee9b0f06.svg";
|
|
14
14
|
import "../icon/icon.js";
|
|
15
15
|
import "../input/input.js";
|
|
16
16
|
import "../label/label.js";
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { Text as TextPrimitives, Heading as HeadingPrimitives, Icon as IconPrimitives, Button as ButtonPrimitives } from '..';
|
|
1
|
+
import { Text as TextPrimitives, Heading as HeadingPrimitives, Card, Icon as IconPrimitives, Button as ButtonPrimitives } from '..';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
|
|
4
4
|
/** -------------------------------------------------------------------------------------------------
|
|
5
5
|
* Root
|
|
6
6
|
* -----------------------------------------------------------------------------------------------*/
|
|
7
|
-
type RootProps = React.ComponentPropsWithoutRef<'
|
|
8
|
-
asChild?: boolean;
|
|
7
|
+
type RootProps = Omit<React.ComponentPropsWithoutRef<typeof Card.Root>, 'variant' | 'as'> & {
|
|
9
8
|
variant?: 'success' | 'error' | 'warning' | 'information';
|
|
10
9
|
open?: boolean;
|
|
11
10
|
defaultOpen?: boolean;
|
|
@@ -28,8 +27,40 @@ type TextProps = React.ComponentPropsWithoutRef<typeof TextPrimitives>;
|
|
|
28
27
|
* Dismiss
|
|
29
28
|
* -----------------------------------------------------------------------------------------------*/
|
|
30
29
|
type DismissProps = Omit<React.ComponentPropsWithoutRef<typeof ButtonPrimitives>, 'variant'>;
|
|
31
|
-
declare const Notification: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
30
|
+
declare const Notification: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('../../utils/layout/flex').FlexChildren & import('../../utils/layout/grid').GridChildren & import('../../utils/layout/position').PositionProps & import('../../utils/layout/inset').InsetProps & import('../../utils/layout/margin').MarginProps & import('../../utils/layout/padding').PaddingProps & import('../../utils/layout/width').WidthProps & import('../../utils/layout/height').HeightProps & import('../../utils/layout/gap').GapProps & {
|
|
31
|
+
align?: import('../../utils/layout/align').Align | undefined;
|
|
32
|
+
justify?: import('../../utils/layout/justify').Justify | undefined;
|
|
33
|
+
} & import('../../utils/layout/flex').FlexLayout & {
|
|
34
|
+
asChild: true;
|
|
35
|
+
as?: undefined;
|
|
36
|
+
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
32
37
|
asChild?: boolean | undefined;
|
|
38
|
+
variant?: "purple-light" | "purple-dark" | "gray" | "white" | "beige" | undefined;
|
|
39
|
+
bordered?: boolean | undefined;
|
|
40
|
+
backgroundImageSrc?: string | undefined;
|
|
41
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('../../utils/layout/flex').FlexChildren & import('../../utils/layout/grid').GridChildren & import('../../utils/layout/position').PositionProps & import('../../utils/layout/inset').InsetProps & import('../../utils/layout/margin').MarginProps & import('../../utils/layout/padding').PaddingProps & import('../../utils/layout/width').WidthProps & import('../../utils/layout/height').HeightProps & import('../../utils/layout/gap').GapProps & {
|
|
42
|
+
align?: import('../../utils/layout/align').Align | undefined;
|
|
43
|
+
justify?: import('../../utils/layout/justify').Justify | undefined;
|
|
44
|
+
} & import('../../utils/layout/flex').FlexLayout & {
|
|
45
|
+
as?: "span" | undefined;
|
|
46
|
+
asChild?: false | undefined;
|
|
47
|
+
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
48
|
+
asChild?: boolean | undefined;
|
|
49
|
+
variant?: "purple-light" | "purple-dark" | "gray" | "white" | "beige" | undefined;
|
|
50
|
+
bordered?: boolean | undefined;
|
|
51
|
+
backgroundImageSrc?: string | undefined;
|
|
52
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('../../utils/layout/flex').FlexChildren & import('../../utils/layout/grid').GridChildren & import('../../utils/layout/position').PositionProps & import('../../utils/layout/inset').InsetProps & import('../../utils/layout/margin').MarginProps & import('../../utils/layout/padding').PaddingProps & import('../../utils/layout/width').WidthProps & import('../../utils/layout/height').HeightProps & import('../../utils/layout/gap').GapProps & {
|
|
53
|
+
align?: import('../../utils/layout/align').Align | undefined;
|
|
54
|
+
justify?: import('../../utils/layout/justify').Justify | undefined;
|
|
55
|
+
} & import('../../utils/layout/flex').FlexLayout & {
|
|
56
|
+
as: "div";
|
|
57
|
+
asChild?: false | undefined;
|
|
58
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
59
|
+
asChild?: boolean | undefined;
|
|
60
|
+
variant?: "purple-light" | "purple-dark" | "gray" | "white" | "beige" | undefined;
|
|
61
|
+
bordered?: boolean | undefined;
|
|
62
|
+
backgroundImageSrc?: string | undefined;
|
|
63
|
+
} & React.RefAttributes<HTMLDivElement>, "ref">, "as" | "variant"> & {
|
|
33
64
|
variant?: "error" | "warning" | "success" | "information" | undefined;
|
|
34
65
|
open?: boolean | undefined;
|
|
35
66
|
defaultOpen?: boolean | undefined;
|
|
@@ -39,7 +70,7 @@ declare const Notification: React.ForwardRefExoticComponent<Omit<React.DetailedH
|
|
|
39
70
|
Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLSpanElement>>;
|
|
40
71
|
Heading: React.ForwardRefExoticComponent<HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
41
72
|
Icon: React.ForwardRefExoticComponent<Partial<Omit<React.SVGProps<SVGSVGElement> & {
|
|
42
|
-
name: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "key" | "x" | "download" | "split" | "alert" | "radio" | "email" | "copy" | "sync" | "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" | "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" | "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" | "facebook" | "instagram" | "
|
|
73
|
+
name: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "key" | "x" | "download" | "split" | "alert" | "radio" | "email" | "copy" | "sync" | "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" | "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" | "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" | "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";
|
|
43
74
|
/** -------------------------------------------------------------------------------------------------
|
|
44
75
|
* Root
|
|
45
76
|
* -----------------------------------------------------------------------------------------------*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../clsx-DB4S2d7J.js";
|
|
4
|
-
import { N as y } from "../../badge-
|
|
4
|
+
import { N as y } from "../../badge-Cnug5TzH.js";
|
|
5
5
|
import "../../index-FPIZOCcD.js";
|
|
6
6
|
import "../../radio-group-B--zT3OL.js";
|
|
7
7
|
import "../box/box.js";
|
|
@@ -12,7 +12,7 @@ import "../link/link.js";
|
|
|
12
12
|
import "../button/button.js";
|
|
13
13
|
import "../field-error-text/field-error-text.js";
|
|
14
14
|
import "../helper-text/helper-text.js";
|
|
15
|
-
import "../../assets/
|
|
15
|
+
import "../../assets/4bbd022cee9b0f06.svg";
|
|
16
16
|
import "../icon/icon.js";
|
|
17
17
|
import "../input/input.js";
|
|
18
18
|
import "../label/label.js";
|
|
@@ -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" | "sync" | "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" | "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" | "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" | "facebook" | "instagram" | "
|
|
32
|
+
name: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "key" | "x" | "download" | "split" | "alert" | "radio" | "email" | "copy" | "sync" | "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" | "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" | "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" | "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";
|
|
33
33
|
size?: ("sm" | "md" | "lg" | "xl" | "font" | "xxs" | "xs") | undefined;
|
|
34
34
|
children?: React.ReactNode;
|
|
35
35
|
}, "ref">> & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../clsx-DB4S2d7J.js";
|
|
4
|
-
import { T as w } from "../../badge-
|
|
5
|
-
import "../../assets/
|
|
4
|
+
import { T as w } from "../../badge-Cnug5TzH.js";
|
|
5
|
+
import "../../assets/4bbd022cee9b0f06.svg";
|
|
6
6
|
import "../icon/icon.js";
|
|
7
7
|
import "../../radio-group-B--zT3OL.js";
|
|
8
8
|
import "../box/box.js";
|