@telia/teddy 0.0.16 → 0.0.18
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/{4bbd022cee9b0f06.svg → 5636ec8e4de58d64.svg} +3 -0
- package/dist/components/accordion/accordion.js +1 -1
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/card/card.d.ts +6 -0
- package/dist/components/card/card.js +27 -20
- 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 +1 -1
- package/dist/components/input/input.js +1 -1
- package/dist/components/modal/modal.js +1 -1
- package/dist/components/notification/notification.d.ts +1 -1
- package/dist/components/notification/notification.js +1 -1
- package/dist/components/toggle/toggle.d.ts +1 -1
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/icons/category.d.ts +3 -0
- package/dist/icons/category.js +1 -0
- package/dist/icons/name.d.ts +1 -1
- package/dist/icons/name.js +1 -0
- package/dist/main.js +1 -1
- package/dist/style.css +45 -41
- package/dist/utils/layout/index.d.ts +1863 -0
- package/dist/utils/layout/index.js +1 -0
- package/package.json +15 -14
|
@@ -953,6 +953,9 @@
|
|
|
953
953
|
<symbol fill="none" viewBox="0 0 24 24" id="snapchat">
|
|
954
954
|
<path fill="currentColor" fill-rule="evenodd" d="M11.787 2.254c-.867 0-3.802.24-5.187 3.347-.466 1.045-.355 2.82-.265 4.245.01.168.022.342.03.51a.835.835 0 0 1-.409.09c-.275 0-.6-.087-.965-.258a.78.78 0 0 0-.333-.069c-.428 0-.94.282-1.02.702-.057.303.078.744 1.05 1.128.088.035.193.069.305.104.402.127 1.01.32 1.174.708.085.202.051.46-.101.77-.063.145-1.349 3.075-4.202 3.545a.436.436 0 0 0-.363.456c.004.067.02.133.046.195.214.5 1.118.868 2.763 1.123.055.074.112.337.147.497.035.16.07.32.12.493.05.172.178.37.51.37.134 0 .291-.03.474-.066.274-.054.65-.127 1.12-.127.268 0 .537.023.802.068.53.088.982.407 1.504.776.748.53 1.595 1.13 2.883 1.13.036 0 .07 0 .106-.005.042.002.096.004.154.004 1.288 0 2.135-.6 2.882-1.127.524-.37.974-.689 1.505-.777.265-.044.534-.067.803-.068a5.57 5.57 0 0 1 1.119.12c.156.034.314.055.474.06.269 0 .441-.13.51-.364a6.63 6.63 0 0 0 .12-.487c.035-.16.091-.42.146-.495 1.646-.256 2.55-.622 2.763-1.12a.58.58 0 0 0 .047-.197.435.435 0 0 0-.364-.454c-2.855-.471-4.14-3.4-4.193-3.525-.162-.33-.196-.589-.11-.79.164-.388.771-.581 1.173-.708a5.31 5.31 0 0 0 .305-.104c.712-.28 1.069-.626 1.061-1.026-.006-.314-.25-.594-.639-.733a1.167 1.167 0 0 0-.438-.084.967.967 0 0 0-.402.082c-.339.159-.643.245-.905.256a.804.804 0 0 1-.353-.087c.008-.145.018-.294.028-.45l.003-.06c.09-1.427.202-3.203-.264-4.249-1.387-3.11-4.33-3.353-5.198-3.353l-.416.004Z" clip-rule="evenodd"></path>
|
|
955
955
|
</symbol>
|
|
956
|
+
<symbol viewBox="0 0 24 24" fill="none" id="telia-logo">
|
|
957
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M20.4479 4.24992C21.0236 6.40252 17.7221 9.64974 12.9822 11.9323C8.03 14.3169 3.79097 15.0975 2.40467 13.2609C2.14491 12.4923 2 11.759 2 11.103C2 5.99986 9.46104 2 15.5398 2C17.5905 2 19.503 2.62065 20.4479 4.24992ZM15.1124 16.0521C17.71 14.5482 20.0499 11.9976 20.7878 10.179L20.8307 9.87196C21.0036 8.63856 21.0421 8.36395 21.0656 6.82777C21.0689 6.59845 21.0549 6.37846 21.0335 6.1678C20.882 8.59971 17.7334 11.6576 13.5678 13.6555C8.54282 16.0655 4.77324 16.7141 3.09112 14.8762C3.67542 16.0281 4.05872 16.5874 4.71581 17.4421C6.65636 19.158 10.7405 18.584 15.1124 16.0521ZM12.5822 19.1655C9.24871 20.5148 7.34088 20.0848 6.28646 19.2435L6.2711 19.2315C7.90314 20.8568 9.76356 22.0001 11.3949 22.0001C14.2517 22.0001 18.1628 18.5402 20.0139 13.175C18.9708 15.1116 16.7324 17.4909 12.5822 19.1655Z" fill="currentColor"></path>
|
|
958
|
+
</symbol>
|
|
956
959
|
<symbol fill="none" viewBox="0 0 24 24" id="whatsapp">
|
|
957
960
|
<path fill="currentColor" fill-rule="evenodd" d="M19.437 4.553A10.382 10.382 0 0 0 12.043 1.5C6.283 1.5 1.59 6.17 1.585 11.903c0 1.836.481 3.622 1.394 5.204L1.5 22.5l5.545-1.447a10.502 10.502 0 0 0 4.998 1.267h.005c5.76 0 10.452-4.67 10.457-10.407a10.342 10.342 0 0 0-3.068-7.36ZM12.043 20.56a8.698 8.698 0 0 1-4.427-1.207l-.316-.19-3.288.858.877-3.193-.206-.33a8.581 8.581 0 0 1-1.328-4.6c0-4.76 3.9-8.64 8.693-8.64 2.32 0 4.501.902 6.146 2.534a8.585 8.585 0 0 1 2.541 6.117c-.005 4.775-3.905 8.651-8.692 8.651Zm4.767-6.476c-.26-.13-1.544-.758-1.785-.848-.24-.085-.416-.13-.586.13-.176.259-.677.848-.827 1.017-.15.175-.306.195-.567.065-.26-.13-1.103-.404-2.1-1.292-.777-.688-1.299-1.542-1.454-1.801-.15-.26-.015-.4.115-.529.116-.115.26-.304.391-.454.13-.15.176-.26.26-.434.086-.175.046-.324-.02-.454-.064-.13-.586-1.412-.806-1.931-.21-.509-.426-.439-.587-.444-.15-.01-.326-.01-.501-.01a.963.963 0 0 0-.697.324c-.24.26-.912.888-.912 2.17 0 1.283.937 2.515 1.067 2.69.13.175 1.84 2.799 4.462 3.927.622.269 1.108.429 1.49.548.626.2 1.192.17 1.643.105.502-.075 1.544-.629 1.765-1.237.216-.609.216-1.128.15-1.238-.065-.11-.24-.174-.5-.304Z" clip-rule="evenodd"></path>
|
|
958
961
|
</symbol>
|
|
@@ -3,7 +3,7 @@ import clsx from "clsx";
|
|
|
3
3
|
import React__default from "react";
|
|
4
4
|
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
5
5
|
import { Heading } from "../heading/heading.js";
|
|
6
|
-
import "../../assets/
|
|
6
|
+
import "../../assets/5636ec8e4de58d64.svg";
|
|
7
7
|
import { Icon } from "../icon/icon.js";
|
|
8
8
|
import { Slottable } from "@radix-ui/react-slot";
|
|
9
9
|
const slideDown = "_slideDown_fs2mc_1";
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import React__default from "react";
|
|
4
4
|
import { Slottable, Slot } from "@radix-ui/react-slot";
|
|
5
|
-
import "../../assets/
|
|
5
|
+
import "../../assets/5636ec8e4de58d64.svg";
|
|
6
6
|
import { Icon } from "../icon/icon.js";
|
|
7
7
|
const styles = {
|
|
8
8
|
"teddy-badge": "_teddy-badge_sg6ab_1",
|
|
@@ -27,12 +27,12 @@ function getIcon(variant) {
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
const Badge = React__default.forwardRef(
|
|
30
|
-
({ className, variant, asChild, children, ...props }, forwardRef) => {
|
|
30
|
+
({ className, variant, hideIcon, asChild, children, ...props }, forwardRef) => {
|
|
31
31
|
const classes = clsx([styles[`${rootClassName}`]], [styles[`${rootClassName}--${variant}`]], className);
|
|
32
32
|
const Comp = asChild ? Slot : "span";
|
|
33
33
|
const iconName = getIcon(variant);
|
|
34
34
|
return /* @__PURE__ */ jsxs(Comp, { ...props, ref: forwardRef, className: classes, children: [
|
|
35
|
-
!
|
|
35
|
+
!hideIcon && iconName && /* @__PURE__ */ jsx(Icon, { name: iconName }),
|
|
36
36
|
/* @__PURE__ */ jsx(Slottable, { children })
|
|
37
37
|
] });
|
|
38
38
|
}
|
|
@@ -45,6 +45,10 @@ type ButtonProps = Omit<React.ComponentPropsWithoutRef<typeof PrimitiveButton>,
|
|
|
45
45
|
* Link
|
|
46
46
|
* -----------------------------------------------------------------------------------------------*/
|
|
47
47
|
type LinkProps = React.ComponentPropsWithoutRef<typeof PrimitiveLink>;
|
|
48
|
+
/** -------------------------------------------------------------------------------------------------
|
|
49
|
+
* Line
|
|
50
|
+
* -----------------------------------------------------------------------------------------------*/
|
|
51
|
+
type LineProps = Omit<React.ComponentPropsWithoutRef<typeof Box>, 'asChild' | 'as' | 'children'>;
|
|
48
52
|
declare const Card: React.ForwardRefExoticComponent<RootProps & React.RefAttributes<HTMLDivElement>> & {
|
|
49
53
|
Root: React.ForwardRefExoticComponent<RootProps & React.RefAttributes<HTMLDivElement>>;
|
|
50
54
|
Heading: React.ForwardRefExoticComponent<HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -82,6 +86,7 @@ declare const Card: React.ForwardRefExoticComponent<RootProps & React.RefAttribu
|
|
|
82
86
|
variant: "text" | "navigation" | "text-negative" | "standalone" | "standalone-negative" | "navigation-negative";
|
|
83
87
|
} & React.RefAttributes<HTMLAnchorElement>, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
84
88
|
Slot: React.ForwardRefExoticComponent<SlotProps & React.RefAttributes<HTMLDivElement>>;
|
|
89
|
+
Line: React.ForwardRefExoticComponent<LineProps & React.RefAttributes<HTMLDivElement>>;
|
|
85
90
|
variantOptions: readonly ["purple-light", "purple-dark", "gray", "white", "beige"];
|
|
86
91
|
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"];
|
|
87
92
|
};
|
|
@@ -93,6 +98,7 @@ type CardProps = {
|
|
|
93
98
|
Image: ImageProps;
|
|
94
99
|
Slot: SlotProps;
|
|
95
100
|
Link: LinkProps;
|
|
101
|
+
Line: LineProps;
|
|
96
102
|
};
|
|
97
103
|
export { Card };
|
|
98
104
|
export type { CardProps };
|
|
@@ -9,27 +9,29 @@ import { Heading as Heading$1 } from "../heading/heading.js";
|
|
|
9
9
|
import { Button as Button$1 } from "../button/button.js";
|
|
10
10
|
import { Link as Link$1 } from "../link/link.js";
|
|
11
11
|
import { TextSpacing } from "../text-spacing/text-spacing.js";
|
|
12
|
+
import { teddySpacing50 } from "../../tokens/spacing/variables.js";
|
|
12
13
|
const styles = {
|
|
13
|
-
"teddy-card": "_teddy-
|
|
14
|
-
"teddy-card__slot": "_teddy-
|
|
15
|
-
"teddy-card__slot--bottom": "_teddy-card__slot--
|
|
16
|
-
"teddy-card__slot--center": "_teddy-card__slot--
|
|
17
|
-
"teddy-card__action": "_teddy-
|
|
18
|
-
"teddy-card__action--disabled": "_teddy-card__action--
|
|
19
|
-
"teddy-card--border": "_teddy-card--
|
|
20
|
-
"teddy-
|
|
21
|
-
"teddy-card--purple-
|
|
22
|
-
"teddy-card--
|
|
23
|
-
"teddy-card--
|
|
24
|
-
"teddy-card--
|
|
25
|
-
"teddy-
|
|
26
|
-
"teddy-
|
|
27
|
-
"teddy-
|
|
28
|
-
"teddy-
|
|
29
|
-
"teddy-card__image
|
|
30
|
-
"teddy-card__image--inset-
|
|
31
|
-
"teddy-card__image--inset-
|
|
32
|
-
"teddy-card__image--inset-
|
|
14
|
+
"teddy-card": "_teddy-card_1h4hf_3",
|
|
15
|
+
"teddy-card__slot": "_teddy-card__slot_1h4hf_13",
|
|
16
|
+
"teddy-card__slot--bottom": "_teddy-card__slot--bottom_1h4hf_16",
|
|
17
|
+
"teddy-card__slot--center": "_teddy-card__slot--center_1h4hf_19",
|
|
18
|
+
"teddy-card__action": "_teddy-card__action_1h4hf_40",
|
|
19
|
+
"teddy-card__action--disabled": "_teddy-card__action--disabled_1h4hf_40",
|
|
20
|
+
"teddy-card--border": "_teddy-card--border_1h4hf_46",
|
|
21
|
+
"teddy-card__line": "_teddy-card__line_1h4hf_49",
|
|
22
|
+
"teddy-card--purple-light": "_teddy-card--purple-light_1h4hf_53",
|
|
23
|
+
"teddy-card--purple-dark": "_teddy-card--purple-dark_1h4hf_67",
|
|
24
|
+
"teddy-card--white": "_teddy-card--white_1h4hf_86",
|
|
25
|
+
"teddy-card--gray": "_teddy-card--gray_1h4hf_100",
|
|
26
|
+
"teddy-card--beige": "_teddy-card--beige_1h4hf_114",
|
|
27
|
+
"teddy-card__image--as-background": "_teddy-card__image--as-background_1h4hf_128",
|
|
28
|
+
"teddy-card__heading": "_teddy-card__heading_1h4hf_131",
|
|
29
|
+
"teddy-card--background-image": "_teddy-card--background-image_1h4hf_134",
|
|
30
|
+
"teddy-card__image": "_teddy-card__image_1h4hf_128",
|
|
31
|
+
"teddy-card__image--inset-top": "_teddy-card__image--inset-top_1h4hf_149",
|
|
32
|
+
"teddy-card__image--inset-bottom": "_teddy-card__image--inset-bottom_1h4hf_152",
|
|
33
|
+
"teddy-card__image--inset-left": "_teddy-card__image--inset-left_1h4hf_155",
|
|
34
|
+
"teddy-card__image--inset-right": "_teddy-card__image--inset-right_1h4hf_158"
|
|
33
35
|
};
|
|
34
36
|
const rootClassName = "teddy-card";
|
|
35
37
|
const actionElementIdentifier = `${rootClassName}__action`;
|
|
@@ -188,6 +190,10 @@ const Link = React__default.forwardRef(
|
|
|
188
190
|
}
|
|
189
191
|
);
|
|
190
192
|
Link.displayName = "Card.Link";
|
|
193
|
+
const Line = React__default.forwardRef(({ className, ...props }, forwardRef) => {
|
|
194
|
+
const classes = clsx([styles[`${rootClassName}__line`]], className);
|
|
195
|
+
return /* @__PURE__ */ jsx(Box, { width: "100%", p: "0", m: `${teddySpacing50} 0`, ...props, ref: forwardRef, className: classes, asChild: true, children: /* @__PURE__ */ jsx("hr", {}) });
|
|
196
|
+
});
|
|
191
197
|
const Card = Object.assign(Root, {
|
|
192
198
|
Root,
|
|
193
199
|
Heading,
|
|
@@ -196,6 +202,7 @@ const Card = Object.assign(Root, {
|
|
|
196
202
|
Button,
|
|
197
203
|
Link,
|
|
198
204
|
Slot,
|
|
205
|
+
Line,
|
|
199
206
|
variantOptions,
|
|
200
207
|
insetOptions
|
|
201
208
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import React__default from "react";
|
|
4
|
-
import "../../assets/
|
|
4
|
+
import "../../assets/5636ec8e4de58d64.svg";
|
|
5
5
|
import { Icon } from "../icon/icon.js";
|
|
6
6
|
import { Text } from "../text/text.js";
|
|
7
7
|
const styles = {
|
package/dist/components/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import { Badge } from "./badge/badge.js";
|
|
|
13
13
|
import { Button } from "./button/button.js";
|
|
14
14
|
import { FieldErrorText } from "./field-error-text/field-error-text.js";
|
|
15
15
|
import { HelperText } from "./helper-text/helper-text.js";
|
|
16
|
-
import { default as default2 } from "../assets/
|
|
16
|
+
import { default as default2 } from "../assets/5636ec8e4de58d64.svg";
|
|
17
17
|
import { Icon } from "./icon/icon.js";
|
|
18
18
|
import { Input, InputGroup } from "./input/input.js";
|
|
19
19
|
import { Label } from "./label/label.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import React__default from "react";
|
|
4
|
-
import "../../assets/
|
|
4
|
+
import "../../assets/5636ec8e4de58d64.svg";
|
|
5
5
|
import { Icon } from "../icon/icon.js";
|
|
6
6
|
import { Spinner } from "../spinner/spinner.js";
|
|
7
7
|
const fadeInAnimation = "_fadeInAnimation_1o9uu_1";
|
|
@@ -15,7 +15,7 @@ import "../badge/badge.js";
|
|
|
15
15
|
import { Button } from "../button/button.js";
|
|
16
16
|
import "../field-error-text/field-error-text.js";
|
|
17
17
|
import "../helper-text/helper-text.js";
|
|
18
|
-
import "../../assets/
|
|
18
|
+
import "../../assets/5636ec8e4de58d64.svg";
|
|
19
19
|
import { Icon } from "../icon/icon.js";
|
|
20
20
|
import "../input/input.js";
|
|
21
21
|
import "../label/label.js";
|
|
@@ -74,7 +74,7 @@ declare const Notification: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<
|
|
|
74
74
|
Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLSpanElement>>;
|
|
75
75
|
Heading: React.ForwardRefExoticComponent<HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
76
76
|
Icon: React.ForwardRefExoticComponent<Partial<Omit<React.SVGProps<SVGSVGElement> & {
|
|
77
|
-
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";
|
|
77
|
+
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" | "telia-logo" | "whatsapp" | "windows" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "help" | "info-filled" | "info" | "question-filled" | "question" | "warning" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-subdirectory" | "arrow-up" | "card-view" | "checkmark-bold" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "close" | "grid-view" | "list-view" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view";
|
|
78
78
|
size?: ("sm" | "md" | "lg" | "xl" | "font" | "xxs" | "xs") | undefined;
|
|
79
79
|
children?: React.ReactNode;
|
|
80
80
|
}, "ref">> & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -5,7 +5,7 @@ import * as Collapsible from "@radix-ui/react-collapsible";
|
|
|
5
5
|
import { useControllableState } from "@radix-ui/react-use-controllable-state";
|
|
6
6
|
import { Text as Text$1 } from "../text/text.js";
|
|
7
7
|
import { Button } from "../button/button.js";
|
|
8
|
-
import "../../assets/
|
|
8
|
+
import "../../assets/5636ec8e4de58d64.svg";
|
|
9
9
|
import { Icon as Icon$1 } from "../icon/icon.js";
|
|
10
10
|
import { Heading as Heading$1 } from "../heading/heading.js";
|
|
11
11
|
import { Card } from "../card/card.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-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";
|
|
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" | "telia-logo" | "whatsapp" | "windows" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "help" | "info-filled" | "info" | "question-filled" | "question" | "warning" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-subdirectory" | "arrow-up" | "card-view" | "checkmark-bold" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "close" | "grid-view" | "list-view" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view";
|
|
33
33
|
size?: ("sm" | "md" | "lg" | "xl" | "font" | "xxs" | "xs") | undefined;
|
|
34
34
|
children?: React.ReactNode;
|
|
35
35
|
}, "ref">> & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -2,7 +2,7 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
5
|
-
import "../../assets/
|
|
5
|
+
import "../../assets/5636ec8e4de58d64.svg";
|
|
6
6
|
import { Icon } from "../icon/icon.js";
|
|
7
7
|
import { Label } from "../label/label.js";
|
|
8
8
|
const styles = {
|
package/dist/icons/category.d.ts
CHANGED
|
@@ -865,6 +865,9 @@ export declare const iconCategories: readonly [{
|
|
|
865
865
|
}, {
|
|
866
866
|
readonly category: "social";
|
|
867
867
|
readonly name: "snapchat";
|
|
868
|
+
}, {
|
|
869
|
+
readonly category: "social";
|
|
870
|
+
readonly name: "telia-logo";
|
|
868
871
|
}, {
|
|
869
872
|
readonly category: "social";
|
|
870
873
|
readonly name: "whatsapp";
|
package/dist/icons/category.js
CHANGED
|
@@ -288,6 +288,7 @@ const iconCategories = [
|
|
|
288
288
|
{ category: "social", name: "youtube" },
|
|
289
289
|
{ category: "social", name: "linkedin" },
|
|
290
290
|
{ category: "social", name: "snapchat" },
|
|
291
|
+
{ category: "social", name: "telia-logo" },
|
|
291
292
|
{ category: "social", name: "whatsapp" },
|
|
292
293
|
{ category: "social", name: "windows" },
|
|
293
294
|
{ category: "social", name: "x" },
|
package/dist/icons/name.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const iconNames: readonly ["alarm-off", "alarm-on", "attachment", "bookmark-filled", "bookmark", "copy-filled", "copy", "dislike", "download", "edit", "filter", "heart-filled", "heart", "invisible", "like", "lock-open", "lock", "login", "logout", "maximize", "minimize", "mute", "password-invisible", "password-visible", "play-filled", "play", "remove-filled", "remove", "save", "send", "settings", "share", "shuffle", "sync", "skip-back-10sec", "skip-back-30sec", "skip-forward-10sec", "skip-forward-30sec", "star-filled", "star", "switch-arrows", "tv-next", "tv-pause", "tv-previous", "tv-stop", "upload", "visible", "volume", "zoom-out", "zoom", "connected-building", "home", "hospital", "industry", "premises-datacenter", "premises-large", "premises-medium", "premises-small", "premises", "store", "address-book", "b2b-customer", "care", "chat-robot", "chat", "child-1", "child-2", "conversation", "customer-dialogue", "dsl-hub", "email", "end-user", "handshake", "headphones", "letter", "mms", "new-contact", "new-group", "news", "parental-guide", "people-hub", "people", "portal", "signature", "smiley-happy", "smiley-sad", "sms", "support", "user-admin", "vcard", "voicemail", "battery", "bluetooth", "broadband", "broken-phone", "cast", "cloud-connect", "connected", "core-router", "daas-device", "data-transfer", "desktop", "devices", "esim-simcard", "esim", "face-id", "fiber", "fingerprint", "fiveg", "fourg", "home-installation", "industrial-iot", "internet", "it-service", "laptop", "mobile-broadband", "network", "phone-recycling", "phone-ringing", "phone", "rack", "refill-card", "remote-control", "repair", "roaming", "router", "secure-device", "sense-car", "server", "service-device", "service-supervision", "slow-wifi", "smart-wifi", "smartphone", "smartwatch", "tablet", "trade-phone", "tv", "usb", "voice-switch", "wallplug", "wireless-off", "wireless-weak", "wireless", "world-alert", "world-off", "world-question", "bar-chart", "doc", "document-doc", "document-edit", "document-pdf", "document-ppt", "excel", "folder-copy", "folder-new", "folder", "gif", "graph", "media-content", "org-chart", "pie-chart", "print", "register", "report", "simcard", "spell-check", "summary", "credit-card", "euro", "invoice", "kontantkort", "kr", "late-payment", "money-back-euro", "money-back-kr", "money-euro", "money-kr", "pay-monthly-euro", "pay-monthly-kr", "pay-once-euro", "pay-once-kr", "payment-success", "savings", "wallet", "airplay", "camera", "entertainment", "external", "film", "games", "image", "link", "megaphone", "microphone", "music", "player-settings", "record", "stream", "trailer", "video-conference", "video", "activity-level", "add", "ai-robot", "bag", "basketball", "blood-pressure", "bulb", "business-continuity", "business-intelligence", "calendar", "cart", "close-circle", "cloud", "coffee", "compass", "construction", "cookie", "delivery", "drone", "education", "efficiency", "environment", "facemask", "flag", "focus", "food", "fraud", "getting-started", "home-care", "infinite", "job-search", "key", "layers", "map", "measuring-health", "moisture", "offering", "offshore", "optimization", "pebble", "pet-dog", "pin", "plane", "plus-minus", "police", "power-grid", "present", "press-button", "price", "pulse", "radio", "recycle", "reservation", "reverse", "route", "ruler", "satellite", "secured-1", "secured-2", "security-camera", "shopping", "snowflake", "speedometer", "spyware", "split", "stop", "suitcase", "sustainability", "tag", "temperature", "thinking", "time", "train", "transfer", "undo", "wavelength", "weather", "world", "android", "apple", "bankid-norway", "bankid", "facebook", "instagram", "youtube", "linkedin", "snapchat", "whatsapp", "windows", "x", "alert-filled", "alert", "check-circle-filled", "check-circle", "error-filled", "error", "help", "info-filled", "info", "question-filled", "question", "warning", "arrow-down", "arrow-left", "arrow-right", "arrow-subdirectory", "arrow-up", "card-view", "checkmark-bold", "checkmark", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "close", "grid-view", "list-view", "menu", "minus-bold", "minus", "more-horizontal", "more-vertical", "plus", "search", "services", "sorter", "table-view"];
|
|
1
|
+
export declare const iconNames: readonly ["alarm-off", "alarm-on", "attachment", "bookmark-filled", "bookmark", "copy-filled", "copy", "dislike", "download", "edit", "filter", "heart-filled", "heart", "invisible", "like", "lock-open", "lock", "login", "logout", "maximize", "minimize", "mute", "password-invisible", "password-visible", "play-filled", "play", "remove-filled", "remove", "save", "send", "settings", "share", "shuffle", "sync", "skip-back-10sec", "skip-back-30sec", "skip-forward-10sec", "skip-forward-30sec", "star-filled", "star", "switch-arrows", "tv-next", "tv-pause", "tv-previous", "tv-stop", "upload", "visible", "volume", "zoom-out", "zoom", "connected-building", "home", "hospital", "industry", "premises-datacenter", "premises-large", "premises-medium", "premises-small", "premises", "store", "address-book", "b2b-customer", "care", "chat-robot", "chat", "child-1", "child-2", "conversation", "customer-dialogue", "dsl-hub", "email", "end-user", "handshake", "headphones", "letter", "mms", "new-contact", "new-group", "news", "parental-guide", "people-hub", "people", "portal", "signature", "smiley-happy", "smiley-sad", "sms", "support", "user-admin", "vcard", "voicemail", "battery", "bluetooth", "broadband", "broken-phone", "cast", "cloud-connect", "connected", "core-router", "daas-device", "data-transfer", "desktop", "devices", "esim-simcard", "esim", "face-id", "fiber", "fingerprint", "fiveg", "fourg", "home-installation", "industrial-iot", "internet", "it-service", "laptop", "mobile-broadband", "network", "phone-recycling", "phone-ringing", "phone", "rack", "refill-card", "remote-control", "repair", "roaming", "router", "secure-device", "sense-car", "server", "service-device", "service-supervision", "slow-wifi", "smart-wifi", "smartphone", "smartwatch", "tablet", "trade-phone", "tv", "usb", "voice-switch", "wallplug", "wireless-off", "wireless-weak", "wireless", "world-alert", "world-off", "world-question", "bar-chart", "doc", "document-doc", "document-edit", "document-pdf", "document-ppt", "excel", "folder-copy", "folder-new", "folder", "gif", "graph", "media-content", "org-chart", "pie-chart", "print", "register", "report", "simcard", "spell-check", "summary", "credit-card", "euro", "invoice", "kontantkort", "kr", "late-payment", "money-back-euro", "money-back-kr", "money-euro", "money-kr", "pay-monthly-euro", "pay-monthly-kr", "pay-once-euro", "pay-once-kr", "payment-success", "savings", "wallet", "airplay", "camera", "entertainment", "external", "film", "games", "image", "link", "megaphone", "microphone", "music", "player-settings", "record", "stream", "trailer", "video-conference", "video", "activity-level", "add", "ai-robot", "bag", "basketball", "blood-pressure", "bulb", "business-continuity", "business-intelligence", "calendar", "cart", "close-circle", "cloud", "coffee", "compass", "construction", "cookie", "delivery", "drone", "education", "efficiency", "environment", "facemask", "flag", "focus", "food", "fraud", "getting-started", "home-care", "infinite", "job-search", "key", "layers", "map", "measuring-health", "moisture", "offering", "offshore", "optimization", "pebble", "pet-dog", "pin", "plane", "plus-minus", "police", "power-grid", "present", "press-button", "price", "pulse", "radio", "recycle", "reservation", "reverse", "route", "ruler", "satellite", "secured-1", "secured-2", "security-camera", "shopping", "snowflake", "speedometer", "spyware", "split", "stop", "suitcase", "sustainability", "tag", "temperature", "thinking", "time", "train", "transfer", "undo", "wavelength", "weather", "world", "android", "apple", "bankid-norway", "bankid", "facebook", "instagram", "youtube", "linkedin", "snapchat", "telia-logo", "whatsapp", "windows", "x", "alert-filled", "alert", "check-circle-filled", "check-circle", "error-filled", "error", "help", "info-filled", "info", "question-filled", "question", "warning", "arrow-down", "arrow-left", "arrow-right", "arrow-subdirectory", "arrow-up", "card-view", "checkmark-bold", "checkmark", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "close", "grid-view", "list-view", "menu", "minus-bold", "minus", "more-horizontal", "more-vertical", "plus", "search", "services", "sorter", "table-view"];
|
|
2
2
|
export type IconName = (typeof iconNames)[number];
|
package/dist/icons/name.js
CHANGED
package/dist/main.js
CHANGED
|
@@ -13,7 +13,7 @@ import { Badge } from "./components/badge/badge.js";
|
|
|
13
13
|
import { Button } from "./components/button/button.js";
|
|
14
14
|
import { FieldErrorText } from "./components/field-error-text/field-error-text.js";
|
|
15
15
|
import { HelperText } from "./components/helper-text/helper-text.js";
|
|
16
|
-
import { default as default2 } from "./assets/
|
|
16
|
+
import { default as default2 } from "./assets/5636ec8e4de58d64.svg";
|
|
17
17
|
import { Icon } from "./components/icon/icon.js";
|
|
18
18
|
import { Input, InputGroup } from "./components/input/input.js";
|
|
19
19
|
import { Label } from "./components/label/label.js";
|
package/dist/style.css
CHANGED
|
@@ -658,29 +658,29 @@
|
|
|
658
658
|
margin-bottom: 0;
|
|
659
659
|
}@layer heading, button, card;
|
|
660
660
|
@layer card {
|
|
661
|
-
._teddy-
|
|
661
|
+
._teddy-card_1h4hf_3 {
|
|
662
662
|
border-radius: var(--teddy-border-radius-md);
|
|
663
663
|
padding: var(--teddy-spacing-250);
|
|
664
664
|
position: relative;
|
|
665
665
|
}
|
|
666
666
|
@media (prefers-reduced-motion: no-preference) {
|
|
667
|
-
._teddy-
|
|
667
|
+
._teddy-card_1h4hf_3 {
|
|
668
668
|
transition: background-color var(--teddy-motion-duration-300) ease;
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
|
-
._teddy-
|
|
671
|
+
._teddy-card__slot_1h4hf_13 {
|
|
672
672
|
transform: translateY(-50%);
|
|
673
673
|
}
|
|
674
|
-
._teddy-card__slot--
|
|
674
|
+
._teddy-card__slot--bottom_1h4hf_16 {
|
|
675
675
|
transform: translateY(50%);
|
|
676
676
|
}
|
|
677
|
-
._teddy-card__slot--
|
|
677
|
+
._teddy-card__slot--center_1h4hf_19 {
|
|
678
678
|
transform: translate(-50%, -50%);
|
|
679
679
|
}
|
|
680
|
-
._teddy-card__slot--
|
|
680
|
+
._teddy-card__slot--bottom_1h4hf_16._teddy-card__slot--center_1h4hf_19 {
|
|
681
681
|
transform: translate(-50%, 50%);
|
|
682
682
|
}
|
|
683
|
-
._teddy-
|
|
683
|
+
._teddy-card_1h4hf_3::before {
|
|
684
684
|
content: "";
|
|
685
685
|
display: block;
|
|
686
686
|
position: absolute;
|
|
@@ -691,106 +691,110 @@
|
|
|
691
691
|
box-shadow: var(--teddy-shadow-md);
|
|
692
692
|
}
|
|
693
693
|
@media (prefers-reduced-motion: no-preference) {
|
|
694
|
-
._teddy-
|
|
694
|
+
._teddy-card_1h4hf_3::before {
|
|
695
695
|
transition: opacity var(--teddy-motion-duration-300) ease;
|
|
696
696
|
}
|
|
697
697
|
}
|
|
698
|
-
._teddy-
|
|
698
|
+
._teddy-card_1h4hf_3:has(._teddy-card__action_1h4hf_40:not(._teddy-card__action--disabled_1h4hf_40)) {
|
|
699
699
|
cursor: pointer;
|
|
700
700
|
}
|
|
701
|
-
._teddy-
|
|
701
|
+
._teddy-card_1h4hf_3:has(._teddy-card__action_1h4hf_40:not(._teddy-card__action--disabled_1h4hf_40)):hover:not(:has(button:hover), :has(a:hover))::before, ._teddy-card_1h4hf_3:has(._teddy-card__action_1h4hf_40:not(._teddy-card__action--disabled_1h4hf_40)):has(._teddy-card__action_1h4hf_40:not(._teddy-card__action--disabled_1h4hf_40))::before {
|
|
702
702
|
opacity: 1;
|
|
703
703
|
}
|
|
704
|
-
._teddy-card--
|
|
704
|
+
._teddy-card--border_1h4hf_46 {
|
|
705
705
|
border: var(--teddy-border-width-xs) solid transparent;
|
|
706
706
|
}
|
|
707
|
-
._teddy-
|
|
707
|
+
._teddy-card__line_1h4hf_49 {
|
|
708
|
+
border: 0;
|
|
709
|
+
border-top: var(--teddy-border-width-xs) solid var(--teddy-color-border-weak);
|
|
710
|
+
}
|
|
711
|
+
._teddy-card--purple-light_1h4hf_53 {
|
|
708
712
|
background-color: var(--teddy-color-background-interactive-primary-negative);
|
|
709
713
|
color: var(--teddy-color-text-default);
|
|
710
714
|
border-color: var(--teddy-color-background-interactive-primary-negative);
|
|
711
715
|
}
|
|
712
|
-
._teddy-card--purple-
|
|
716
|
+
._teddy-card--purple-light_1h4hf_53:hover:has(._teddy-card__action_1h4hf_40:not(._teddy-card__action--disabled_1h4hf_40)) {
|
|
713
717
|
background-color: var(--teddy-color-background-interactive-primary-negative-hover);
|
|
714
718
|
}
|
|
715
|
-
._teddy-card--purple-
|
|
719
|
+
._teddy-card--purple-light_1h4hf_53:active:has(._teddy-card__action_1h4hf_40:not(._teddy-card__action--disabled_1h4hf_40)) {
|
|
716
720
|
background-color: var(--teddy-color-background-interactive-primary-negative-active);
|
|
717
721
|
}
|
|
718
|
-
._teddy-card--purple-
|
|
722
|
+
._teddy-card--purple-light_1h4hf_53:has(._teddy-card__action--disabled_1h4hf_40) {
|
|
719
723
|
background-color: var(--teddy-color-background-interactive-disabled);
|
|
720
724
|
}
|
|
721
|
-
._teddy-card--purple-
|
|
725
|
+
._teddy-card--purple-dark_1h4hf_67 {
|
|
722
726
|
background-color: var(--teddy-color-brand-deep-purple);
|
|
723
727
|
color: var(--teddy-color-text-default-negative);
|
|
724
728
|
border-color: var(--teddy-color-brand-deep-purple);
|
|
725
729
|
}
|
|
726
|
-
._teddy-card--purple-
|
|
730
|
+
._teddy-card--purple-dark_1h4hf_67:hover:has(._teddy-card__action_1h4hf_40:not(._teddy-card__action--disabled_1h4hf_40)) {
|
|
727
731
|
background-color: var(--teddy-color-background-interactive-transparent-negative-hover);
|
|
728
732
|
}
|
|
729
|
-
._teddy-card--purple-
|
|
733
|
+
._teddy-card--purple-dark_1h4hf_67:active:has(._teddy-card__action_1h4hf_40:not(._teddy-card__action--disabled_1h4hf_40)) {
|
|
730
734
|
background-color: var(--teddy-color-background-interactive-transparent-negative-active);
|
|
731
735
|
}
|
|
732
|
-
._teddy-card--purple-
|
|
736
|
+
._teddy-card--purple-dark_1h4hf_67:has(._teddy-card__action--disabled_1h4hf_40) {
|
|
733
737
|
color: var(--teddy-color-text-default);
|
|
734
738
|
background-color: var(--teddy-color-background-interactive-disabled);
|
|
735
739
|
}
|
|
736
|
-
._teddy-card--purple-
|
|
740
|
+
._teddy-card--purple-dark_1h4hf_67:has(._teddy-card__action--disabled_1h4hf_40) ._teddy-card__action_1h4hf_40 {
|
|
737
741
|
color: var(--teddy-color-text-weak);
|
|
738
742
|
background-color: var(--teddy-color-background-interactive-disabled);
|
|
739
743
|
}
|
|
740
|
-
._teddy-card--
|
|
744
|
+
._teddy-card--white_1h4hf_86 {
|
|
741
745
|
background-color: var(--teddy-color-brand-white);
|
|
742
746
|
color: var(--teddy-color-text-default);
|
|
743
747
|
border-color: var(--teddy-color-border-interactive-subtle);
|
|
744
748
|
}
|
|
745
|
-
._teddy-card--
|
|
749
|
+
._teddy-card--white_1h4hf_86:hover:has(._teddy-card__action_1h4hf_40:not(._teddy-card__action--disabled_1h4hf_40)) {
|
|
746
750
|
background-color: var(--teddy-color-background-interactive-transparent-hover);
|
|
747
751
|
}
|
|
748
|
-
._teddy-card--
|
|
752
|
+
._teddy-card--white_1h4hf_86:active:has(._teddy-card__action_1h4hf_40:not(._teddy-card__action--disabled_1h4hf_40)) {
|
|
749
753
|
background-color: var(--teddy-color-background-interactive-transparent-active);
|
|
750
754
|
}
|
|
751
|
-
._teddy-card--
|
|
755
|
+
._teddy-card--white_1h4hf_86:has(._teddy-card__action--disabled_1h4hf_40) {
|
|
752
756
|
background-color: var(--teddy-color-background-interactive-disabled);
|
|
753
757
|
}
|
|
754
|
-
._teddy-card--
|
|
758
|
+
._teddy-card--gray_1h4hf_100 {
|
|
755
759
|
background-color: var(--teddy-color-background-secondary);
|
|
756
760
|
color: var(--teddy-color-text-default);
|
|
757
761
|
border-color: var(--teddy-color-border-interactive-subtle);
|
|
758
762
|
}
|
|
759
|
-
._teddy-card--
|
|
763
|
+
._teddy-card--gray_1h4hf_100:hover:has(._teddy-card__action_1h4hf_40:not(._teddy-card__action--disabled_1h4hf_40)) {
|
|
760
764
|
background-color: var(--teddy-color-gray-100);
|
|
761
765
|
}
|
|
762
|
-
._teddy-card--
|
|
766
|
+
._teddy-card--gray_1h4hf_100:active:has(._teddy-card__action_1h4hf_40:not(._teddy-card__action--disabled_1h4hf_40)) {
|
|
763
767
|
background-color: var(--teddy-color-gray-200);
|
|
764
768
|
}
|
|
765
|
-
._teddy-card--
|
|
769
|
+
._teddy-card--gray_1h4hf_100:has(._teddy-card__action--disabled_1h4hf_40) {
|
|
766
770
|
background-color: var(--teddy-color-background-interactive-disabled);
|
|
767
771
|
}
|
|
768
|
-
._teddy-card--
|
|
772
|
+
._teddy-card--beige_1h4hf_114 {
|
|
769
773
|
background-color: var(--teddy-color-beige-100);
|
|
770
774
|
color: var(--teddy-color-text-default);
|
|
771
775
|
border-color: var(--teddy-color-beige-300);
|
|
772
776
|
}
|
|
773
|
-
._teddy-card--
|
|
777
|
+
._teddy-card--beige_1h4hf_114:hover:has(._teddy-card__action_1h4hf_40:not(._teddy-card__action--disabled_1h4hf_40)) {
|
|
774
778
|
background-color: var(--teddy-color-beige-200);
|
|
775
779
|
}
|
|
776
|
-
._teddy-card--
|
|
780
|
+
._teddy-card--beige_1h4hf_114:active:has(._teddy-card__action_1h4hf_40:not(._teddy-card__action--disabled_1h4hf_40)) {
|
|
777
781
|
background-color: var(--teddy-color-beige-300);
|
|
778
782
|
}
|
|
779
|
-
._teddy-card--
|
|
783
|
+
._teddy-card--beige_1h4hf_114:has(._teddy-card__action--disabled_1h4hf_40) {
|
|
780
784
|
background-color: var(--teddy-color-background-interactive-disabled);
|
|
781
785
|
}
|
|
782
|
-
._teddy-
|
|
786
|
+
._teddy-card_1h4hf_3:has(._teddy-card__image--as-background_1h4hf_128) {
|
|
783
787
|
background-color: transparent;
|
|
784
788
|
}
|
|
785
|
-
._teddy-
|
|
789
|
+
._teddy-card__heading_1h4hf_131 {
|
|
786
790
|
color: inherit;
|
|
787
791
|
}
|
|
788
|
-
._teddy-card--background-
|
|
792
|
+
._teddy-card--background-image_1h4hf_134 {
|
|
789
793
|
background-repeat: no-repeat;
|
|
790
794
|
background-size: cover;
|
|
791
795
|
background-position: center;
|
|
792
796
|
}
|
|
793
|
-
._teddy-
|
|
797
|
+
._teddy-card__image_1h4hf_128 {
|
|
794
798
|
height: auto;
|
|
795
799
|
vertical-align: middle;
|
|
796
800
|
font-style: italic;
|
|
@@ -800,19 +804,19 @@
|
|
|
800
804
|
border-radius: inherit;
|
|
801
805
|
padding-bottom: var(--teddy-spacing-200);
|
|
802
806
|
}
|
|
803
|
-
._teddy-card__image--inset-
|
|
807
|
+
._teddy-card__image--inset-top_1h4hf_149 {
|
|
804
808
|
margin-top: calc(var(--teddy-spacing-250) * -1);
|
|
805
809
|
}
|
|
806
|
-
._teddy-card__image--inset-
|
|
810
|
+
._teddy-card__image--inset-bottom_1h4hf_152 {
|
|
807
811
|
margin-bottom: calc(var(--teddy-spacing-250) * -1);
|
|
808
812
|
}
|
|
809
|
-
._teddy-card__image--inset-
|
|
813
|
+
._teddy-card__image--inset-left_1h4hf_155 {
|
|
810
814
|
margin-left: calc(var(--teddy-spacing-250) * -1);
|
|
811
815
|
}
|
|
812
|
-
._teddy-card__image--inset-
|
|
816
|
+
._teddy-card__image--inset-right_1h4hf_158 {
|
|
813
817
|
margin-right: calc(var(--teddy-spacing-250) * -1);
|
|
814
818
|
}
|
|
815
|
-
._teddy-card__image--inset-
|
|
819
|
+
._teddy-card__image--inset-left_1h4hf_155 ._teddy-card__image--inset-right_1h4hf_158 {
|
|
816
820
|
width: calc(100% + var(--teddy-spacing-250) * 2);
|
|
817
821
|
}
|
|
818
822
|
}@layer heading, button, card, notification;
|