@telia/teddy 0.1.27 → 0.1.29
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/{sprite.269ba410-teddy.svg → sprite.1321fab0-teddy.svg} +10 -9
- package/dist/components/accordion/accordion-indicator.cjs +1 -1
- package/dist/components/accordion/accordion-indicator.js +1 -1
- package/dist/components/badge/badge.cjs +1 -1
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/breadcrumbs/breadcrumbs-link.cjs +1 -1
- package/dist/components/breadcrumbs/breadcrumbs-link.js +1 -1
- package/dist/components/carousel/carousel-root.cjs +1 -1
- package/dist/components/carousel/carousel-root.js +1 -1
- package/dist/components/checkbox/checkbox-indicator.cjs +1 -1
- package/dist/components/checkbox/checkbox-indicator.js +1 -1
- package/dist/components/chip/chip-indicator.cjs +1 -1
- package/dist/components/chip/chip-indicator.d.ts +1 -1
- package/dist/components/chip/chip-indicator.js +1 -1
- package/dist/components/chip/index.d.ts +1 -1
- package/dist/components/date-picker/date-picker-input.cjs +1 -1
- package/dist/components/date-picker/date-picker-input.js +1 -1
- package/dist/components/date-picker/date-picker.cjs +1 -1
- package/dist/components/date-picker/date-picker.js +1 -1
- package/dist/components/drawer/drawer-close.cjs +1 -1
- package/dist/components/drawer/drawer-close.js +1 -1
- package/dist/components/expandable-card/expandable-card-indicator.cjs +1 -1
- package/dist/components/expandable-card/expandable-card-indicator.js +1 -1
- package/dist/components/field-error-text/field-error-text.cjs +1 -1
- package/dist/components/field-error-text/field-error-text.js +1 -1
- package/dist/components/icon/AllIcons.cjs +10 -9
- package/dist/components/icon/AllIcons.js +10 -9
- package/dist/components/icon/icon.cjs +1 -1
- package/dist/components/icon/icon.js +1 -1
- package/dist/components/icon/index.cjs +1 -1
- package/dist/components/icon/index.js +1 -1
- package/dist/components/icon/utils.d.ts +1 -1
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input/input-clear-button.cjs +1 -1
- package/dist/components/input/input-clear-button.js +1 -1
- package/dist/components/input/input-group.cjs +1 -1
- package/dist/components/input/input-group.js +1 -1
- package/dist/components/input/input-indicator.cjs +1 -1
- package/dist/components/input/input-indicator.js +1 -1
- package/dist/components/modal/modal.cjs +1 -1
- package/dist/components/modal/modal.js +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-desktop.cjs +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-desktop.js +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile-simplified.cjs +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile-simplified.js +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile.cjs +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile.js +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-my-pages.cjs +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-my-pages.js +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-root.d.ts +1 -0
- package/dist/components/navigation-menu/global-navigation/global-navigation-search-field.cjs +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-search-field.js +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-search.cjs +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-search.js +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-shopping-cart.cjs +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-shopping-cart.js +1 -1
- package/dist/components/navigation-menu/global-navigation/utils.cjs +1 -1
- package/dist/components/navigation-menu/global-navigation/utils.d.ts +3 -3
- package/dist/components/navigation-menu/global-navigation/utils.js +1 -1
- package/dist/components/navigation-menu/navigation-menu.cjs +1 -1
- package/dist/components/navigation-menu/navigation-menu.js +1 -1
- package/dist/components/notabene/notabene-icon.cjs +1 -1
- package/dist/components/notabene/notabene-icon.d.ts +1 -1
- package/dist/components/notabene/notabene-icon.js +1 -1
- package/dist/components/notification/notification.cjs +1 -1
- package/dist/components/notification/notification.d.ts +1 -1
- package/dist/components/notification/notification.js +1 -1
- package/dist/components/radio-card-group/radio-card-group-content.cjs +1 -1
- package/dist/components/radio-card-group/radio-card-group-content.js +1 -1
- package/dist/components/radio-card-group/radio-card-group-item-title.cjs +8 -6
- package/dist/components/radio-card-group/radio-card-group-item-title.js +8 -6
- package/dist/components/radio-card-group/radio-card-group-item.cjs +1 -1
- package/dist/components/radio-card-group/radio-card-group-item.js +1 -1
- package/dist/components/scroll-area/scroll-area-bar.cjs +1 -1
- package/dist/components/scroll-area/scroll-area-bar.js +1 -1
- package/dist/components/scroll-area/scroll-area-button.cjs +1 -1
- package/dist/components/scroll-area/scroll-area-button.js +1 -1
- package/dist/components/toast/toast-root.cjs +1 -1
- package/dist/components/toast/toast-root.js +1 -1
- package/dist/components/toggle/toggle.cjs +1 -1
- package/dist/components/toggle/toggle.d.ts +1 -1
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/toggletip/toggletip-close.cjs +1 -1
- package/dist/components/toggletip/toggletip-close.js +1 -1
- package/dist/components/tooltip/tooltip-trigger.cjs +1 -1
- package/dist/components/tooltip/tooltip-trigger.js +1 -1
- package/dist/icons/category.cjs +4 -3
- package/dist/icons/category.d.ts +11 -8
- package/dist/icons/category.js +4 -3
- package/dist/icons/name.cjs +4 -3
- package/dist/icons/name.d.ts +1 -1
- package/dist/icons/name.js +4 -3
- package/dist/main.cjs +1 -1
- package/dist/main.js +1 -1
- package/package.json +1 -1
|
@@ -31,7 +31,7 @@ import { Tabs } from "../tabs/index.js";
|
|
|
31
31
|
import { Drawer } from "../drawer/index.js";
|
|
32
32
|
import "../image/image.js";
|
|
33
33
|
import "../chip/index.js";
|
|
34
|
-
import "../../assets/sprite.
|
|
34
|
+
import "../../assets/sprite.1321fab0-teddy.svg";
|
|
35
35
|
import * as DrawerPrimitive from "@radix-ui/react-dialog";
|
|
36
36
|
import { Icon } from "../icon/icon.js";
|
|
37
37
|
import "../notification/notification.js";
|
|
@@ -848,7 +848,6 @@ const Desktop = React__default.forwardRef(() => {
|
|
|
848
848
|
);
|
|
849
849
|
const topMenuSize = useSize(topMenuRef.current);
|
|
850
850
|
const topMenuHeight = (topMenuSize == null ? void 0 : topMenuSize.height) ? `${topMenuSize.height}px` : void 0;
|
|
851
|
-
const viewPortHeight = shouldShowViewport ? "293px" : void 0;
|
|
852
851
|
if (!rootContext)
|
|
853
852
|
return null;
|
|
854
853
|
function resetAndShowMenu() {
|
|
@@ -862,6 +861,7 @@ const Desktop = React__default.forwardRef(() => {
|
|
|
862
861
|
setSpecifiedLink(linkName || "");
|
|
863
862
|
setSelectedMenuItem(linkName || "", true);
|
|
864
863
|
};
|
|
864
|
+
const viewPortHeight = !hideMenu && shouldShowViewport ? "293px" : void 0;
|
|
865
865
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
866
866
|
/* @__PURE__ */ jsx("div", { className: styles[`${rootClassName}__top-menu-color`], children: /* @__PURE__ */ jsx(
|
|
867
867
|
"div",
|
|
@@ -948,7 +948,7 @@ const Desktop = React__default.forwardRef(() => {
|
|
|
948
948
|
{ ["--teddy-viewport-wrapper-height"]: viewPortHeight }
|
|
949
949
|
),
|
|
950
950
|
className: styles[`${rootClassName}__viewport-wrapper`],
|
|
951
|
-
"data-state": hideMenu
|
|
951
|
+
"data-state": hideMenu ? "closed" : "open",
|
|
952
952
|
children: /* @__PURE__ */ jsx(
|
|
953
953
|
NavigationMenu.Viewport,
|
|
954
954
|
{
|
|
@@ -966,7 +966,7 @@ const HightlightedLinksDesktop = ({ links, listName }) => {
|
|
|
966
966
|
const rootContext = React__default.useContext(RootContext);
|
|
967
967
|
if (!rootContext)
|
|
968
968
|
return null;
|
|
969
|
-
const { linkComponent: Link2, setSpecifiedLink, setSelectedMenuItem } = rootContext;
|
|
969
|
+
const { linkComponent: Link2, setSpecifiedLink, setSelectedMenuItem, setHideMenu } = rootContext;
|
|
970
970
|
const currentLocation = rootContext.pathname.endsWith("/") ? rootContext.pathname : `${rootContext.pathname}/`;
|
|
971
971
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
972
972
|
/* @__PURE__ */ jsx(Heading, { pl: "100", pb: "100", variant: "title-200", as: "h2", children: listName }),
|
|
@@ -981,6 +981,7 @@ const HightlightedLinksDesktop = ({ links, listName }) => {
|
|
|
981
981
|
rootContext.setPathname(subSubLink.link);
|
|
982
982
|
setSpecifiedLink("");
|
|
983
983
|
setSelectedMenuItem("", true);
|
|
984
|
+
setHideMenu(true);
|
|
984
985
|
},
|
|
985
986
|
children: subSubLink.appKey === rootContext.appKey || rootContext.appKey === "storybook" ? /* @__PURE__ */ jsx(Link2, { href: subSubLink.link, children: /* @__PURE__ */ jsxs(Flex, { as: "span", gap: "100", align: "center", children: [
|
|
986
987
|
subSubLink.name,
|
|
@@ -1176,7 +1177,7 @@ function Root({
|
|
|
1176
1177
|
const [selectedDomainItem, setSelectedDomainItem] = React__default.useState(getInitialDomain(currentPath));
|
|
1177
1178
|
const [pathname, setPathname] = React__default.useState(currentPath || "");
|
|
1178
1179
|
const [specifiedLink, setSpecifiedLink] = React__default.useState(getInitialMenuItem(currentPath));
|
|
1179
|
-
const [hideMenu, setHideMenu] = React__default.useState(
|
|
1180
|
+
const [hideMenu, setHideMenu] = React__default.useState(true);
|
|
1180
1181
|
const classes = clsx([styles[`${rootClassName}`]], className);
|
|
1181
1182
|
useEffect(() => {
|
|
1182
1183
|
setPathname(currentPath || "");
|
|
@@ -1216,7 +1217,8 @@ function Root({
|
|
|
1216
1217
|
drawerSize,
|
|
1217
1218
|
specifiedLink,
|
|
1218
1219
|
setSpecifiedLink,
|
|
1219
|
-
hideMenu
|
|
1220
|
+
hideMenu,
|
|
1221
|
+
setHideMenu
|
|
1220
1222
|
},
|
|
1221
1223
|
children: /* @__PURE__ */ jsx(Box, { ...props, className: classes, children: /* @__PURE__ */ jsxs(
|
|
1222
1224
|
NavigationMenu,
|
|
@@ -25,7 +25,7 @@ require("../tabs/index.cjs");
|
|
|
25
25
|
require("../drawer/index.cjs");
|
|
26
26
|
require("../image/image.cjs");
|
|
27
27
|
require("../chip/index.cjs");
|
|
28
|
-
require("../../assets/sprite.
|
|
28
|
+
require("../../assets/sprite.1321fab0-teddy.svg");
|
|
29
29
|
require("../notification/notification.cjs");
|
|
30
30
|
require("../radio-group/index.cjs");
|
|
31
31
|
require("../box/box.cjs");
|
|
@@ -23,7 +23,7 @@ import "../tabs/index.js";
|
|
|
23
23
|
import "../drawer/index.js";
|
|
24
24
|
import "../image/image.js";
|
|
25
25
|
import "../chip/index.js";
|
|
26
|
-
import "../../assets/sprite.
|
|
26
|
+
import "../../assets/sprite.1321fab0-teddy.svg";
|
|
27
27
|
import "../notification/notification.js";
|
|
28
28
|
import "../radio-group/index.js";
|
|
29
29
|
import "../box/box.js";
|
|
@@ -6,7 +6,7 @@ const clsx = require("clsx");
|
|
|
6
6
|
const ScrollAreaPrimitive = require("@radix-ui/react-scroll-area");
|
|
7
7
|
const components_button_button = require("../button/button.cjs");
|
|
8
8
|
const utils_composeEventHandlers = require("../../utils/composeEventHandlers.cjs");
|
|
9
|
-
require("../../assets/sprite.
|
|
9
|
+
require("../../assets/sprite.1321fab0-teddy.svg");
|
|
10
10
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
11
11
|
const reactSlot = require("@radix-ui/react-slot");
|
|
12
12
|
function _interopNamespaceDefault(e) {
|
|
@@ -4,7 +4,7 @@ import clsx from "clsx";
|
|
|
4
4
|
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
|
5
5
|
import { Button as Button$1 } from "../button/button.js";
|
|
6
6
|
import { composeEventHandlers } from "../../utils/composeEventHandlers.js";
|
|
7
|
-
import "../../assets/sprite.
|
|
7
|
+
import "../../assets/sprite.1321fab0-teddy.svg";
|
|
8
8
|
import { Icon } from "../icon/icon.js";
|
|
9
9
|
import { Slottable } from "@radix-ui/react-slot";
|
|
10
10
|
const styles = {
|
|
@@ -6,6 +6,6 @@ require("clsx");
|
|
|
6
6
|
const components_scrollArea_scrollAreaBar = require("./scroll-area-bar.cjs");
|
|
7
7
|
require("../button/button.cjs");
|
|
8
8
|
require("../../utils/composeEventHandlers.cjs");
|
|
9
|
-
require("../../assets/sprite.
|
|
9
|
+
require("../../assets/sprite.1321fab0-teddy.svg");
|
|
10
10
|
require("../icon/icon.cjs");
|
|
11
11
|
exports.Button = components_scrollArea_scrollAreaBar.Button;
|
|
@@ -4,7 +4,7 @@ import "clsx";
|
|
|
4
4
|
import { B } from "./scroll-area-bar.js";
|
|
5
5
|
import "../button/button.js";
|
|
6
6
|
import "../../utils/composeEventHandlers.js";
|
|
7
|
-
import "../../assets/sprite.
|
|
7
|
+
import "../../assets/sprite.1321fab0-teddy.svg";
|
|
8
8
|
import "../icon/icon.js";
|
|
9
9
|
export {
|
|
10
10
|
B as Button
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const clsx = require("clsx");
|
|
5
5
|
const sonner = require("sonner");
|
|
6
|
-
require("../../assets/sprite.
|
|
6
|
+
require("../../assets/sprite.1321fab0-teddy.svg");
|
|
7
7
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
8
8
|
const components_spinner_spinner = require("../spinner/spinner.cjs");
|
|
9
9
|
const fadeInAnimation = "_fadeInAnimation_mi6fm_1";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { Toaster } from "sonner";
|
|
4
|
-
import "../../assets/sprite.
|
|
4
|
+
import "../../assets/sprite.1321fab0-teddy.svg";
|
|
5
5
|
import { Icon } from "../icon/icon.js";
|
|
6
6
|
import { Spinner } from "../spinner/spinner.js";
|
|
7
7
|
const fadeInAnimation = "_fadeInAnimation_mi6fm_1";
|
|
@@ -4,7 +4,7 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const clsx = require("clsx");
|
|
6
6
|
const SwitchPrimitive = require("@radix-ui/react-switch");
|
|
7
|
-
require("../../assets/sprite.
|
|
7
|
+
require("../../assets/sprite.1321fab0-teddy.svg");
|
|
8
8
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
9
9
|
const components_label_label = require("../label/label.cjs");
|
|
10
10
|
function _interopNamespaceDefault(e) {
|
|
@@ -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" | "add" | "reverse" | "infinite" | "radio" | "visible" | "copy" | "help" | "zoom-out" | "zoom" | "alert" | "email" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "edit" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "play" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "
|
|
32
|
+
name: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "key" | "x" | "download" | "split" | "add" | "reverse" | "infinite" | "radio" | "visible" | "copy" | "help" | "zoom-out" | "zoom" | "alert" | "email" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "edit" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "play" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "sync" | "tv-next" | "tv-pause" | "tv-previous" | "tv-stop" | "upload" | "volume" | "connected-building" | "home" | "hospital" | "industry" | "premises-datacenter" | "premises-large" | "premises-medium" | "premises-small" | "premises" | "store" | "address-book" | "b2b-customer" | "care" | "chat-robot" | "chat" | "child-1" | "child-2" | "conversation" | "customer-dialogue" | "dsl-hub" | "end-user" | "handshake" | "headphones" | "letter" | "mms" | "new-contact" | "new-group" | "news" | "parental-guide" | "people-hub" | "people" | "portal" | "signature" | "smiley-happy" | "smiley-sad" | "sms" | "support" | "user-admin" | "vcard" | "voicemail" | "battery" | "bluetooth" | "broadband" | "broken-phone" | "cast" | "cloud-connect" | "connected" | "core-router" | "daas-device" | "data-transfer" | "desktop" | "devices" | "esim-simcard" | "esim" | "face-id" | "fiber" | "fingerprint" | "fiveg" | "fourg" | "home-installation" | "industrial-iot" | "internet" | "it-service" | "laptop" | "mobile-broadband" | "network" | "phone-recycling" | "phone-ringing" | "phone" | "rack" | "refill-card" | "remote-control" | "repair" | "roaming" | "router" | "secure-device" | "sense-car" | "server" | "service-device" | "service-supervision" | "slow-wifi" | "smart-wifi" | "smartphone" | "smartwatch" | "tablet" | "trade-phone" | "tv" | "usb" | "voice-switch" | "wallplug" | "wireless-off" | "wireless-weak" | "wireless" | "world-alert" | "world-off" | "world-question" | "bar-chart" | "doc" | "document-doc" | "document-edit" | "document-pdf" | "document-ppt" | "excel" | "folder-copy" | "folder-new" | "folder" | "gif" | "graph" | "media-content" | "org-chart" | "pie-chart" | "print" | "register" | "report" | "simcard" | "spell-check" | "credit-card" | "euro" | "invoice" | "kontantkort" | "kr" | "late-payment" | "money-back-euro" | "money-back-kr" | "money-euro" | "money-kr" | "pay-monthly-euro" | "pay-monthly-kr" | "pay-once-euro" | "pay-once-kr" | "payment-success" | "savings" | "wallet" | "airplay" | "camera" | "entertainment" | "external" | "film" | "games" | "megaphone" | "microphone" | "music" | "player-settings" | "record" | "stream" | "trailer" | "video-conference" | "activity-level" | "ai-robot" | "bag" | "basketball" | "blood-pressure" | "bulb" | "business-continuity" | "business-intelligence" | "calendar" | "cart" | "close-circle" | "cloud" | "coffee" | "compass" | "construction" | "cookie" | "delivery" | "drone" | "education" | "efficiency" | "environment" | "facemask" | "flag" | "focus" | "food" | "fraud" | "getting-started" | "home-care" | "job-search" | "layers" | "measuring-health" | "moisture" | "offering" | "offshore" | "optimization" | "pebble" | "pet-dog" | "pin" | "plane" | "plus-minus" | "police" | "power-grid" | "present" | "press-button" | "price" | "pulse" | "recycle" | "reservation" | "route" | "ruler" | "satellite" | "secured-1" | "secured-2" | "security-camera" | "shopping" | "smart-connect" | "snowflake" | "speedometer" | "spyware" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "youtube" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "info-filled" | "info" | "question-filled" | "question" | "warning" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-subdirectory" | "arrow-up" | "card-view" | "checkmark-bold" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "close" | "grid-view" | "list-view" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view";
|
|
33
33
|
size?: ("sm" | "md" | "lg" | "xl" | "xs" | "font" | "xxs") | 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/sprite.
|
|
5
|
+
import "../../assets/sprite.1321fab0-teddy.svg";
|
|
6
6
|
import { Icon } from "../icon/icon.js";
|
|
7
7
|
import { Label } from "../label/label.js";
|
|
8
8
|
const styles = {
|
|
@@ -6,7 +6,7 @@ const clsx = require("clsx");
|
|
|
6
6
|
const PopoverPrimitive = require("@radix-ui/react-popover");
|
|
7
7
|
const components_toggletip_toggletipRoot = require("./toggletip-root.cjs");
|
|
8
8
|
const components_button_button = require("../button/button.cjs");
|
|
9
|
-
require("../../assets/sprite.
|
|
9
|
+
require("../../assets/sprite.1321fab0-teddy.svg");
|
|
10
10
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
11
11
|
const toggletip_module = require("../../toggletip.module-A6XIfaD_.cjs");
|
|
12
12
|
function _interopNamespaceDefault(e) {
|
|
@@ -4,7 +4,7 @@ import clsx from "clsx";
|
|
|
4
4
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
5
5
|
import { RootContext, rootClassName } from "./toggletip-root.js";
|
|
6
6
|
import { Button } from "../button/button.js";
|
|
7
|
-
import "../../assets/sprite.
|
|
7
|
+
import "../../assets/sprite.1321fab0-teddy.svg";
|
|
8
8
|
import { Icon } from "../icon/icon.js";
|
|
9
9
|
import { s as styles } from "../../toggletip.module-BUx6_4pv.js";
|
|
10
10
|
const Close = React__default.forwardRef(
|
|
@@ -6,7 +6,7 @@ const clsx = require("clsx");
|
|
|
6
6
|
const tooltip_module = require("../../tooltip.module-D_3DOZOn.cjs");
|
|
7
7
|
const TooltipPrimitive = require("@radix-ui/react-tooltip");
|
|
8
8
|
const components_tooltip_tooltipRoot = require("./tooltip-root.cjs");
|
|
9
|
-
require("../../assets/sprite.
|
|
9
|
+
require("../../assets/sprite.1321fab0-teddy.svg");
|
|
10
10
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
11
11
|
const components_button_button = require("../button/button.cjs");
|
|
12
12
|
function _interopNamespaceDefault(e) {
|
|
@@ -4,7 +4,7 @@ import clsx from "clsx";
|
|
|
4
4
|
import { s as styles } from "../../tooltip.module-DnKU2XS4.js";
|
|
5
5
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
6
6
|
import { rootClassName, RootContext } from "./tooltip-root.js";
|
|
7
|
-
import "../../assets/sprite.
|
|
7
|
+
import "../../assets/sprite.1321fab0-teddy.svg";
|
|
8
8
|
import { Icon } from "../icon/icon.js";
|
|
9
9
|
import { Button } from "../button/button.js";
|
|
10
10
|
const Trigger = React__default.forwardRef(
|
package/dist/icons/category.cjs
CHANGED
|
@@ -35,7 +35,6 @@ const iconCategories = [
|
|
|
35
35
|
{ category: "action", name: "share" },
|
|
36
36
|
{ category: "action", name: "shortcut" },
|
|
37
37
|
{ category: "action", name: "shuffle" },
|
|
38
|
-
{ category: "action", name: "sync" },
|
|
39
38
|
{ category: "action", name: "skip-back-10sec" },
|
|
40
39
|
{ category: "action", name: "skip-back-30sec" },
|
|
41
40
|
{ category: "action", name: "skip-forward-10sec" },
|
|
@@ -43,6 +42,7 @@ const iconCategories = [
|
|
|
43
42
|
{ category: "action", name: "star-filled" },
|
|
44
43
|
{ category: "action", name: "star" },
|
|
45
44
|
{ category: "action", name: "switch-arrows" },
|
|
45
|
+
{ category: "action", name: "sync" },
|
|
46
46
|
{ category: "action", name: "tv-next" },
|
|
47
47
|
{ category: "action", name: "tv-pause" },
|
|
48
48
|
{ category: "action", name: "tv-previous" },
|
|
@@ -265,10 +265,11 @@ const iconCategories = [
|
|
|
265
265
|
{ category: "other", name: "secured-2" },
|
|
266
266
|
{ category: "other", name: "security-camera" },
|
|
267
267
|
{ category: "other", name: "shopping" },
|
|
268
|
+
{ category: "other", name: "smart-connect" },
|
|
268
269
|
{ category: "other", name: "snowflake" },
|
|
269
270
|
{ category: "other", name: "speedometer" },
|
|
270
|
-
{ category: "other", name: "spyware" },
|
|
271
271
|
{ category: "other", name: "split" },
|
|
272
|
+
{ category: "other", name: "spyware" },
|
|
272
273
|
{ category: "other", name: "stop" },
|
|
273
274
|
{ category: "other", name: "suitcase" },
|
|
274
275
|
{ category: "other", name: "sustainability" },
|
|
@@ -288,13 +289,13 @@ const iconCategories = [
|
|
|
288
289
|
{ category: "social", name: "bankid" },
|
|
289
290
|
{ category: "social", name: "facebook" },
|
|
290
291
|
{ category: "social", name: "instagram" },
|
|
291
|
-
{ category: "social", name: "youtube" },
|
|
292
292
|
{ category: "social", name: "linkedin" },
|
|
293
293
|
{ category: "social", name: "snapchat" },
|
|
294
294
|
{ category: "social", name: "telia-logo" },
|
|
295
295
|
{ category: "social", name: "whatsapp" },
|
|
296
296
|
{ category: "social", name: "windows" },
|
|
297
297
|
{ category: "social", name: "x" },
|
|
298
|
+
{ category: "social", name: "youtube" },
|
|
298
299
|
{ category: "status", name: "alert-filled" },
|
|
299
300
|
{ category: "status", name: "alert" },
|
|
300
301
|
{ category: "status", name: "check-circle-filled" },
|
package/dist/icons/category.d.ts
CHANGED
|
@@ -100,9 +100,6 @@ export declare const iconCategories: readonly [{
|
|
|
100
100
|
}, {
|
|
101
101
|
readonly category: "action";
|
|
102
102
|
readonly name: "shuffle";
|
|
103
|
-
}, {
|
|
104
|
-
readonly category: "action";
|
|
105
|
-
readonly name: "sync";
|
|
106
103
|
}, {
|
|
107
104
|
readonly category: "action";
|
|
108
105
|
readonly name: "skip-back-10sec";
|
|
@@ -124,6 +121,9 @@ export declare const iconCategories: readonly [{
|
|
|
124
121
|
}, {
|
|
125
122
|
readonly category: "action";
|
|
126
123
|
readonly name: "switch-arrows";
|
|
124
|
+
}, {
|
|
125
|
+
readonly category: "action";
|
|
126
|
+
readonly name: "sync";
|
|
127
127
|
}, {
|
|
128
128
|
readonly category: "action";
|
|
129
129
|
readonly name: "tv-next";
|
|
@@ -790,6 +790,9 @@ export declare const iconCategories: readonly [{
|
|
|
790
790
|
}, {
|
|
791
791
|
readonly category: "other";
|
|
792
792
|
readonly name: "shopping";
|
|
793
|
+
}, {
|
|
794
|
+
readonly category: "other";
|
|
795
|
+
readonly name: "smart-connect";
|
|
793
796
|
}, {
|
|
794
797
|
readonly category: "other";
|
|
795
798
|
readonly name: "snowflake";
|
|
@@ -798,10 +801,10 @@ export declare const iconCategories: readonly [{
|
|
|
798
801
|
readonly name: "speedometer";
|
|
799
802
|
}, {
|
|
800
803
|
readonly category: "other";
|
|
801
|
-
readonly name: "
|
|
804
|
+
readonly name: "split";
|
|
802
805
|
}, {
|
|
803
806
|
readonly category: "other";
|
|
804
|
-
readonly name: "
|
|
807
|
+
readonly name: "spyware";
|
|
805
808
|
}, {
|
|
806
809
|
readonly category: "other";
|
|
807
810
|
readonly name: "stop";
|
|
@@ -859,9 +862,6 @@ export declare const iconCategories: readonly [{
|
|
|
859
862
|
}, {
|
|
860
863
|
readonly category: "social";
|
|
861
864
|
readonly name: "instagram";
|
|
862
|
-
}, {
|
|
863
|
-
readonly category: "social";
|
|
864
|
-
readonly name: "youtube";
|
|
865
865
|
}, {
|
|
866
866
|
readonly category: "social";
|
|
867
867
|
readonly name: "linkedin";
|
|
@@ -880,6 +880,9 @@ export declare const iconCategories: readonly [{
|
|
|
880
880
|
}, {
|
|
881
881
|
readonly category: "social";
|
|
882
882
|
readonly name: "x";
|
|
883
|
+
}, {
|
|
884
|
+
readonly category: "social";
|
|
885
|
+
readonly name: "youtube";
|
|
883
886
|
}, {
|
|
884
887
|
readonly category: "status";
|
|
885
888
|
readonly name: "alert-filled";
|
package/dist/icons/category.js
CHANGED
|
@@ -33,7 +33,6 @@ const iconCategories = [
|
|
|
33
33
|
{ category: "action", name: "share" },
|
|
34
34
|
{ category: "action", name: "shortcut" },
|
|
35
35
|
{ category: "action", name: "shuffle" },
|
|
36
|
-
{ category: "action", name: "sync" },
|
|
37
36
|
{ category: "action", name: "skip-back-10sec" },
|
|
38
37
|
{ category: "action", name: "skip-back-30sec" },
|
|
39
38
|
{ category: "action", name: "skip-forward-10sec" },
|
|
@@ -41,6 +40,7 @@ const iconCategories = [
|
|
|
41
40
|
{ category: "action", name: "star-filled" },
|
|
42
41
|
{ category: "action", name: "star" },
|
|
43
42
|
{ category: "action", name: "switch-arrows" },
|
|
43
|
+
{ category: "action", name: "sync" },
|
|
44
44
|
{ category: "action", name: "tv-next" },
|
|
45
45
|
{ category: "action", name: "tv-pause" },
|
|
46
46
|
{ category: "action", name: "tv-previous" },
|
|
@@ -263,10 +263,11 @@ const iconCategories = [
|
|
|
263
263
|
{ category: "other", name: "secured-2" },
|
|
264
264
|
{ category: "other", name: "security-camera" },
|
|
265
265
|
{ category: "other", name: "shopping" },
|
|
266
|
+
{ category: "other", name: "smart-connect" },
|
|
266
267
|
{ category: "other", name: "snowflake" },
|
|
267
268
|
{ category: "other", name: "speedometer" },
|
|
268
|
-
{ category: "other", name: "spyware" },
|
|
269
269
|
{ category: "other", name: "split" },
|
|
270
|
+
{ category: "other", name: "spyware" },
|
|
270
271
|
{ category: "other", name: "stop" },
|
|
271
272
|
{ category: "other", name: "suitcase" },
|
|
272
273
|
{ category: "other", name: "sustainability" },
|
|
@@ -286,13 +287,13 @@ const iconCategories = [
|
|
|
286
287
|
{ category: "social", name: "bankid" },
|
|
287
288
|
{ category: "social", name: "facebook" },
|
|
288
289
|
{ category: "social", name: "instagram" },
|
|
289
|
-
{ category: "social", name: "youtube" },
|
|
290
290
|
{ category: "social", name: "linkedin" },
|
|
291
291
|
{ category: "social", name: "snapchat" },
|
|
292
292
|
{ category: "social", name: "telia-logo" },
|
|
293
293
|
{ category: "social", name: "whatsapp" },
|
|
294
294
|
{ category: "social", name: "windows" },
|
|
295
295
|
{ category: "social", name: "x" },
|
|
296
|
+
{ category: "social", name: "youtube" },
|
|
296
297
|
{ category: "status", name: "alert-filled" },
|
|
297
298
|
{ category: "status", name: "alert" },
|
|
298
299
|
{ category: "status", name: "check-circle-filled" },
|
package/dist/icons/name.cjs
CHANGED
|
@@ -35,7 +35,6 @@ const iconNames = [
|
|
|
35
35
|
"share",
|
|
36
36
|
"shortcut",
|
|
37
37
|
"shuffle",
|
|
38
|
-
"sync",
|
|
39
38
|
"skip-back-10sec",
|
|
40
39
|
"skip-back-30sec",
|
|
41
40
|
"skip-forward-10sec",
|
|
@@ -43,6 +42,7 @@ const iconNames = [
|
|
|
43
42
|
"star-filled",
|
|
44
43
|
"star",
|
|
45
44
|
"switch-arrows",
|
|
45
|
+
"sync",
|
|
46
46
|
"tv-next",
|
|
47
47
|
"tv-pause",
|
|
48
48
|
"tv-previous",
|
|
@@ -265,10 +265,11 @@ const iconNames = [
|
|
|
265
265
|
"secured-2",
|
|
266
266
|
"security-camera",
|
|
267
267
|
"shopping",
|
|
268
|
+
"smart-connect",
|
|
268
269
|
"snowflake",
|
|
269
270
|
"speedometer",
|
|
270
|
-
"spyware",
|
|
271
271
|
"split",
|
|
272
|
+
"spyware",
|
|
272
273
|
"stop",
|
|
273
274
|
"suitcase",
|
|
274
275
|
"sustainability",
|
|
@@ -288,13 +289,13 @@ const iconNames = [
|
|
|
288
289
|
"bankid",
|
|
289
290
|
"facebook",
|
|
290
291
|
"instagram",
|
|
291
|
-
"youtube",
|
|
292
292
|
"linkedin",
|
|
293
293
|
"snapchat",
|
|
294
294
|
"telia-logo",
|
|
295
295
|
"whatsapp",
|
|
296
296
|
"windows",
|
|
297
297
|
"x",
|
|
298
|
+
"youtube",
|
|
298
299
|
"alert-filled",
|
|
299
300
|
"alert",
|
|
300
301
|
"check-circle-filled",
|
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", "shortcut", "shuffle", "
|
|
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", "shortcut", "shuffle", "skip-back-10sec", "skip-back-30sec", "skip-forward-10sec", "skip-forward-30sec", "star-filled", "star", "switch-arrows", "sync", "tv-next", "tv-pause", "tv-previous", "tv-stop", "upload", "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", "smart-connect", "snowflake", "speedometer", "split", "spyware", "stop", "suitcase", "sustainability", "tag", "temperature", "thinking", "time", "train", "transfer", "undo", "wavelength", "weather", "world", "android", "apple", "bankid-norway", "bankid", "facebook", "instagram", "linkedin", "snapchat", "telia-logo", "whatsapp", "windows", "x", "youtube", "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
|
@@ -33,7 +33,6 @@ const iconNames = [
|
|
|
33
33
|
"share",
|
|
34
34
|
"shortcut",
|
|
35
35
|
"shuffle",
|
|
36
|
-
"sync",
|
|
37
36
|
"skip-back-10sec",
|
|
38
37
|
"skip-back-30sec",
|
|
39
38
|
"skip-forward-10sec",
|
|
@@ -41,6 +40,7 @@ const iconNames = [
|
|
|
41
40
|
"star-filled",
|
|
42
41
|
"star",
|
|
43
42
|
"switch-arrows",
|
|
43
|
+
"sync",
|
|
44
44
|
"tv-next",
|
|
45
45
|
"tv-pause",
|
|
46
46
|
"tv-previous",
|
|
@@ -263,10 +263,11 @@ const iconNames = [
|
|
|
263
263
|
"secured-2",
|
|
264
264
|
"security-camera",
|
|
265
265
|
"shopping",
|
|
266
|
+
"smart-connect",
|
|
266
267
|
"snowflake",
|
|
267
268
|
"speedometer",
|
|
268
|
-
"spyware",
|
|
269
269
|
"split",
|
|
270
|
+
"spyware",
|
|
270
271
|
"stop",
|
|
271
272
|
"suitcase",
|
|
272
273
|
"sustainability",
|
|
@@ -286,13 +287,13 @@ const iconNames = [
|
|
|
286
287
|
"bankid",
|
|
287
288
|
"facebook",
|
|
288
289
|
"instagram",
|
|
289
|
-
"youtube",
|
|
290
290
|
"linkedin",
|
|
291
291
|
"snapchat",
|
|
292
292
|
"telia-logo",
|
|
293
293
|
"whatsapp",
|
|
294
294
|
"windows",
|
|
295
295
|
"x",
|
|
296
|
+
"youtube",
|
|
296
297
|
"alert-filled",
|
|
297
298
|
"alert",
|
|
298
299
|
"check-circle-filled",
|
package/dist/main.cjs
CHANGED
|
@@ -36,7 +36,7 @@ const components_badge_counterBadge = require("./components/badge/counter-badge.
|
|
|
36
36
|
const components_button_button = require("./components/button/button.cjs");
|
|
37
37
|
const components_fieldErrorText_fieldErrorText = require("./components/field-error-text/field-error-text.cjs");
|
|
38
38
|
const components_helperText_helperText = require("./components/helper-text/helper-text.cjs");
|
|
39
|
-
const iconsHref = require("./assets/sprite.
|
|
39
|
+
const iconsHref = require("./assets/sprite.1321fab0-teddy.svg");
|
|
40
40
|
const components_icon_icon = require("./components/icon/icon.cjs");
|
|
41
41
|
const components_icon_utils = require("./components/icon/utils.cjs");
|
|
42
42
|
const components_icon_AllIcons = require("./components/icon/AllIcons.cjs");
|
package/dist/main.js
CHANGED
|
@@ -34,7 +34,7 @@ import { CounterBadge } from "./components/badge/counter-badge.js";
|
|
|
34
34
|
import { Button } from "./components/button/button.js";
|
|
35
35
|
import { FieldErrorText } from "./components/field-error-text/field-error-text.js";
|
|
36
36
|
import { HelperText } from "./components/helper-text/helper-text.js";
|
|
37
|
-
import { default as default2 } from "./assets/sprite.
|
|
37
|
+
import { default as default2 } from "./assets/sprite.1321fab0-teddy.svg";
|
|
38
38
|
import { Icon } from "./components/icon/icon.js";
|
|
39
39
|
import { isIconName } from "./components/icon/utils.js";
|
|
40
40
|
import { default as default3 } from "./components/icon/AllIcons.js";
|