@telia/teddy 0.0.11 → 0.0.14
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-C6I_qxYL.js +1853 -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 +10 -2
- 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 +1 -1
- 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-C6I_qxYL.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-C6I_qxYL.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 } from '..';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
|
|
4
4
|
declare const variantOptions: readonly ["purple-light", "purple-dark", "gray", "white", "beige"];
|
|
@@ -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
|
* -----------------------------------------------------------------------------------------------*/
|
|
@@ -43,7 +49,7 @@ declare const Card: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps
|
|
|
43
49
|
Content: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
44
50
|
Image: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & {
|
|
45
51
|
/** The inset allows make the image bleed out to the edges */
|
|
46
|
-
inset?: "all" | "top" | "bottom" | "
|
|
52
|
+
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
53
|
} & React.RefAttributes<HTMLImageElement>>;
|
|
48
54
|
Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
49
55
|
Link: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
@@ -53,6 +59,7 @@ declare const Card: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps
|
|
|
53
59
|
silent?: boolean | undefined;
|
|
54
60
|
variant: "text" | "navigation" | "text-negative" | "standalone" | "standalone-negative" | "navigation-negative";
|
|
55
61
|
} & React.RefAttributes<HTMLAnchorElement>, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
62
|
+
Slot: React.ForwardRefExoticComponent<SlotProps & React.RefAttributes<HTMLDivElement>>;
|
|
56
63
|
variantOptions: readonly ["purple-light", "purple-dark", "gray", "white", "beige"];
|
|
57
64
|
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
65
|
};
|
|
@@ -62,6 +69,7 @@ type CardProps = {
|
|
|
62
69
|
Content: ContentProps;
|
|
63
70
|
Button: ButtonProps;
|
|
64
71
|
Image: ImageProps;
|
|
72
|
+
Slot: SlotProps;
|
|
65
73
|
Link: LinkProps;
|
|
66
74
|
};
|
|
67
75
|
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-C6I_qxYL.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-C6I_qxYL.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-C6I_qxYL.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";
|
|
@@ -39,7 +39,7 @@ declare const Notification: React.ForwardRefExoticComponent<Omit<React.DetailedH
|
|
|
39
39
|
Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLSpanElement>>;
|
|
40
40
|
Heading: React.ForwardRefExoticComponent<HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
41
41
|
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" | "
|
|
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-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
43
|
/** -------------------------------------------------------------------------------------------------
|
|
44
44
|
* Root
|
|
45
45
|
* -----------------------------------------------------------------------------------------------*/
|
|
@@ -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-C6I_qxYL.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-C6I_qxYL.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";
|
package/dist/icons/category.d.ts
CHANGED
|
@@ -1,152 +1,152 @@
|
|
|
1
1
|
export declare const iconCategories: readonly [{
|
|
2
|
-
readonly category: "
|
|
2
|
+
readonly category: "action";
|
|
3
3
|
readonly name: "alarm-off";
|
|
4
4
|
}, {
|
|
5
|
-
readonly category: "
|
|
5
|
+
readonly category: "action";
|
|
6
6
|
readonly name: "alarm-on";
|
|
7
7
|
}, {
|
|
8
|
-
readonly category: "
|
|
8
|
+
readonly category: "action";
|
|
9
9
|
readonly name: "attachment";
|
|
10
10
|
}, {
|
|
11
|
-
readonly category: "
|
|
11
|
+
readonly category: "action";
|
|
12
12
|
readonly name: "bookmark-filled";
|
|
13
13
|
}, {
|
|
14
|
-
readonly category: "
|
|
14
|
+
readonly category: "action";
|
|
15
15
|
readonly name: "bookmark";
|
|
16
16
|
}, {
|
|
17
|
-
readonly category: "
|
|
17
|
+
readonly category: "action";
|
|
18
18
|
readonly name: "copy-filled";
|
|
19
19
|
}, {
|
|
20
|
-
readonly category: "
|
|
20
|
+
readonly category: "action";
|
|
21
21
|
readonly name: "copy";
|
|
22
22
|
}, {
|
|
23
|
-
readonly category: "
|
|
23
|
+
readonly category: "action";
|
|
24
24
|
readonly name: "dislike";
|
|
25
25
|
}, {
|
|
26
|
-
readonly category: "
|
|
26
|
+
readonly category: "action";
|
|
27
27
|
readonly name: "download";
|
|
28
28
|
}, {
|
|
29
|
-
readonly category: "
|
|
29
|
+
readonly category: "action";
|
|
30
30
|
readonly name: "edit";
|
|
31
31
|
}, {
|
|
32
|
-
readonly category: "
|
|
32
|
+
readonly category: "action";
|
|
33
33
|
readonly name: "filter";
|
|
34
34
|
}, {
|
|
35
|
-
readonly category: "
|
|
35
|
+
readonly category: "action";
|
|
36
36
|
readonly name: "heart-filled";
|
|
37
37
|
}, {
|
|
38
|
-
readonly category: "
|
|
38
|
+
readonly category: "action";
|
|
39
39
|
readonly name: "heart";
|
|
40
40
|
}, {
|
|
41
|
-
readonly category: "
|
|
41
|
+
readonly category: "action";
|
|
42
42
|
readonly name: "invisible";
|
|
43
43
|
}, {
|
|
44
|
-
readonly category: "
|
|
44
|
+
readonly category: "action";
|
|
45
45
|
readonly name: "like";
|
|
46
46
|
}, {
|
|
47
|
-
readonly category: "
|
|
47
|
+
readonly category: "action";
|
|
48
48
|
readonly name: "lock-open";
|
|
49
49
|
}, {
|
|
50
|
-
readonly category: "
|
|
50
|
+
readonly category: "action";
|
|
51
51
|
readonly name: "lock";
|
|
52
52
|
}, {
|
|
53
|
-
readonly category: "
|
|
53
|
+
readonly category: "action";
|
|
54
54
|
readonly name: "login";
|
|
55
55
|
}, {
|
|
56
|
-
readonly category: "
|
|
56
|
+
readonly category: "action";
|
|
57
57
|
readonly name: "logout";
|
|
58
58
|
}, {
|
|
59
|
-
readonly category: "
|
|
59
|
+
readonly category: "action";
|
|
60
60
|
readonly name: "maximize";
|
|
61
61
|
}, {
|
|
62
|
-
readonly category: "
|
|
62
|
+
readonly category: "action";
|
|
63
63
|
readonly name: "minimize";
|
|
64
64
|
}, {
|
|
65
|
-
readonly category: "
|
|
65
|
+
readonly category: "action";
|
|
66
66
|
readonly name: "mute";
|
|
67
67
|
}, {
|
|
68
|
-
readonly category: "
|
|
68
|
+
readonly category: "action";
|
|
69
69
|
readonly name: "password-invisible";
|
|
70
70
|
}, {
|
|
71
|
-
readonly category: "
|
|
71
|
+
readonly category: "action";
|
|
72
72
|
readonly name: "password-visible";
|
|
73
73
|
}, {
|
|
74
|
-
readonly category: "
|
|
74
|
+
readonly category: "action";
|
|
75
75
|
readonly name: "play-filled";
|
|
76
76
|
}, {
|
|
77
|
-
readonly category: "
|
|
77
|
+
readonly category: "action";
|
|
78
78
|
readonly name: "play";
|
|
79
79
|
}, {
|
|
80
|
-
readonly category: "
|
|
80
|
+
readonly category: "action";
|
|
81
81
|
readonly name: "remove-filled";
|
|
82
82
|
}, {
|
|
83
|
-
readonly category: "
|
|
83
|
+
readonly category: "action";
|
|
84
84
|
readonly name: "remove";
|
|
85
85
|
}, {
|
|
86
|
-
readonly category: "
|
|
86
|
+
readonly category: "action";
|
|
87
87
|
readonly name: "save";
|
|
88
88
|
}, {
|
|
89
|
-
readonly category: "
|
|
89
|
+
readonly category: "action";
|
|
90
90
|
readonly name: "send";
|
|
91
91
|
}, {
|
|
92
|
-
readonly category: "
|
|
92
|
+
readonly category: "action";
|
|
93
93
|
readonly name: "settings";
|
|
94
94
|
}, {
|
|
95
|
-
readonly category: "
|
|
95
|
+
readonly category: "action";
|
|
96
96
|
readonly name: "share";
|
|
97
97
|
}, {
|
|
98
|
-
readonly category: "
|
|
98
|
+
readonly category: "action";
|
|
99
99
|
readonly name: "shuffle";
|
|
100
100
|
}, {
|
|
101
|
-
readonly category: "
|
|
101
|
+
readonly category: "action";
|
|
102
|
+
readonly name: "sync";
|
|
103
|
+
}, {
|
|
104
|
+
readonly category: "action";
|
|
102
105
|
readonly name: "skip-back-10sec";
|
|
103
106
|
}, {
|
|
104
|
-
readonly category: "
|
|
107
|
+
readonly category: "action";
|
|
105
108
|
readonly name: "skip-back-30sec";
|
|
106
109
|
}, {
|
|
107
|
-
readonly category: "
|
|
110
|
+
readonly category: "action";
|
|
108
111
|
readonly name: "skip-forward-10sec";
|
|
109
112
|
}, {
|
|
110
|
-
readonly category: "
|
|
113
|
+
readonly category: "action";
|
|
111
114
|
readonly name: "skip-forward-30sec";
|
|
112
115
|
}, {
|
|
113
|
-
readonly category: "
|
|
116
|
+
readonly category: "action";
|
|
114
117
|
readonly name: "star-filled";
|
|
115
118
|
}, {
|
|
116
|
-
readonly category: "
|
|
119
|
+
readonly category: "action";
|
|
117
120
|
readonly name: "star";
|
|
118
121
|
}, {
|
|
119
|
-
readonly category: "
|
|
122
|
+
readonly category: "action";
|
|
120
123
|
readonly name: "switch-arrows";
|
|
121
124
|
}, {
|
|
122
|
-
readonly category: "
|
|
123
|
-
readonly name: "sync";
|
|
124
|
-
}, {
|
|
125
|
-
readonly category: "actions";
|
|
125
|
+
readonly category: "action";
|
|
126
126
|
readonly name: "tv-next";
|
|
127
127
|
}, {
|
|
128
|
-
readonly category: "
|
|
128
|
+
readonly category: "action";
|
|
129
129
|
readonly name: "tv-pause";
|
|
130
130
|
}, {
|
|
131
|
-
readonly category: "
|
|
131
|
+
readonly category: "action";
|
|
132
132
|
readonly name: "tv-previous";
|
|
133
133
|
}, {
|
|
134
|
-
readonly category: "
|
|
134
|
+
readonly category: "action";
|
|
135
135
|
readonly name: "tv-stop";
|
|
136
136
|
}, {
|
|
137
|
-
readonly category: "
|
|
137
|
+
readonly category: "action";
|
|
138
138
|
readonly name: "upload";
|
|
139
139
|
}, {
|
|
140
|
-
readonly category: "
|
|
140
|
+
readonly category: "action";
|
|
141
141
|
readonly name: "visible";
|
|
142
142
|
}, {
|
|
143
|
-
readonly category: "
|
|
143
|
+
readonly category: "action";
|
|
144
144
|
readonly name: "volume";
|
|
145
145
|
}, {
|
|
146
|
-
readonly category: "
|
|
146
|
+
readonly category: "action";
|
|
147
147
|
readonly name: "zoom-out";
|
|
148
148
|
}, {
|
|
149
|
-
readonly category: "
|
|
149
|
+
readonly category: "action";
|
|
150
150
|
readonly name: "zoom";
|
|
151
151
|
}, {
|
|
152
152
|
readonly category: "buildings";
|
|
@@ -795,10 +795,10 @@ export declare const iconCategories: readonly [{
|
|
|
795
795
|
readonly name: "speedometer";
|
|
796
796
|
}, {
|
|
797
797
|
readonly category: "other";
|
|
798
|
-
readonly name: "
|
|
798
|
+
readonly name: "spyware";
|
|
799
799
|
}, {
|
|
800
800
|
readonly category: "other";
|
|
801
|
-
readonly name: "
|
|
801
|
+
readonly name: "split";
|
|
802
802
|
}, {
|
|
803
803
|
readonly category: "other";
|
|
804
804
|
readonly name: "stop";
|
|
@@ -844,6 +844,9 @@ export declare const iconCategories: readonly [{
|
|
|
844
844
|
}, {
|
|
845
845
|
readonly category: "social";
|
|
846
846
|
readonly name: "apple";
|
|
847
|
+
}, {
|
|
848
|
+
readonly category: "social";
|
|
849
|
+
readonly name: "bankid-norway";
|
|
847
850
|
}, {
|
|
848
851
|
readonly category: "social";
|
|
849
852
|
readonly name: "bankid";
|
|
@@ -853,6 +856,9 @@ export declare const iconCategories: readonly [{
|
|
|
853
856
|
}, {
|
|
854
857
|
readonly category: "social";
|
|
855
858
|
readonly name: "instagram";
|
|
859
|
+
}, {
|
|
860
|
+
readonly category: "social";
|
|
861
|
+
readonly name: "youtube";
|
|
856
862
|
}, {
|
|
857
863
|
readonly category: "social";
|
|
858
864
|
readonly name: "linkedin";
|
|
@@ -868,9 +874,6 @@ export declare const iconCategories: readonly [{
|
|
|
868
874
|
}, {
|
|
869
875
|
readonly category: "social";
|
|
870
876
|
readonly name: "x";
|
|
871
|
-
}, {
|
|
872
|
-
readonly category: "social";
|
|
873
|
-
readonly name: "youtube";
|
|
874
877
|
}, {
|
|
875
878
|
readonly category: "status";
|
|
876
879
|
readonly name: "alert-filled";
|