@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as default2 } from "../../assets/sprite.
|
|
1
|
+
import { default as default2 } from "../../assets/sprite.1321fab0-teddy.svg";
|
|
2
2
|
import { Icon } from "./icon.js";
|
|
3
3
|
import { isIconName } from "./utils.js";
|
|
4
4
|
import { default as default3 } from "./AllIcons.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const isIconName: (value: string | null) => value is "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" | "
|
|
1
|
+
export declare const isIconName: (value: string | null) => value is "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";
|
|
@@ -36,7 +36,7 @@ const components_badge_counterBadge = require("./badge/counter-badge.cjs");
|
|
|
36
36
|
const components_button_button = require("./button/button.cjs");
|
|
37
37
|
const components_fieldErrorText_fieldErrorText = require("./field-error-text/field-error-text.cjs");
|
|
38
38
|
const components_helperText_helperText = require("./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("./icon/icon.cjs");
|
|
41
41
|
const components_icon_utils = require("./icon/utils.cjs");
|
|
42
42
|
const components_icon_AllIcons = require("./icon/AllIcons.cjs");
|
package/dist/components/index.js
CHANGED
|
@@ -34,7 +34,7 @@ import { CounterBadge } from "./badge/counter-badge.js";
|
|
|
34
34
|
import { Button } from "./button/button.js";
|
|
35
35
|
import { FieldErrorText } from "./field-error-text/field-error-text.js";
|
|
36
36
|
import { HelperText } from "./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 "./icon/icon.js";
|
|
39
39
|
import { isIconName } from "./icon/utils.js";
|
|
40
40
|
import { default as default3 } from "./icon/AllIcons.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const React = require("react");
|
|
5
|
-
require("../../assets/sprite.
|
|
5
|
+
require("../../assets/sprite.1321fab0-teddy.svg");
|
|
6
6
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
7
7
|
const components_button_button = require("../button/button.cjs");
|
|
8
8
|
const clsx = require("clsx");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import "../../assets/sprite.
|
|
3
|
+
import "../../assets/sprite.1321fab0-teddy.svg";
|
|
4
4
|
import { Icon } from "../icon/icon.js";
|
|
5
5
|
import { Button } from "../button/button.js";
|
|
6
6
|
import clsx from "clsx";
|
|
@@ -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 React = require("react");
|
|
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 utils_composeRefs = require("../../utils/composeRefs.cjs");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import React__default, { useEffect } from "react";
|
|
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
|
import { useComposedRefs } from "../../utils/composeRefs.js";
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
require("react/jsx-runtime");
|
|
4
4
|
require("clsx");
|
|
5
5
|
require("react");
|
|
6
|
-
require("../../assets/sprite.
|
|
6
|
+
require("../../assets/sprite.1321fab0-teddy.svg");
|
|
7
7
|
require("../icon/icon.cjs");
|
|
8
8
|
require("../spinner/spinner.cjs");
|
|
9
9
|
const components_input_inputGroup = require("./input-group.cjs");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "clsx";
|
|
3
3
|
import "react";
|
|
4
|
-
import "../../assets/sprite.
|
|
4
|
+
import "../../assets/sprite.1321fab0-teddy.svg";
|
|
5
5
|
import "../icon/icon.js";
|
|
6
6
|
import "../spinner/spinner.js";
|
|
7
7
|
import { a } from "./input-group.js";
|
|
@@ -23,7 +23,7 @@ require("../tabs/index.cjs");
|
|
|
23
23
|
require("../drawer/index.cjs");
|
|
24
24
|
require("../image/image.cjs");
|
|
25
25
|
require("../chip/index.cjs");
|
|
26
|
-
require("../../assets/sprite.
|
|
26
|
+
require("../../assets/sprite.1321fab0-teddy.svg");
|
|
27
27
|
require("../icon/icon.cjs");
|
|
28
28
|
require("clsx");
|
|
29
29
|
require("../notification/notification.cjs");
|
|
@@ -21,7 +21,7 @@ import "../tabs/index.js";
|
|
|
21
21
|
import "../drawer/index.js";
|
|
22
22
|
import "../image/image.js";
|
|
23
23
|
import "../chip/index.js";
|
|
24
|
-
import "../../assets/sprite.
|
|
24
|
+
import "../../assets/sprite.1321fab0-teddy.svg";
|
|
25
25
|
import "../icon/icon.js";
|
|
26
26
|
import "clsx";
|
|
27
27
|
import "../notification/notification.js";
|
|
@@ -7,7 +7,7 @@ require("./utils.cjs");
|
|
|
7
7
|
require("../../box/box.cjs");
|
|
8
8
|
require("../../../utils/useSize.cjs");
|
|
9
9
|
require("../../../utils/generate-styling/index.cjs");
|
|
10
|
-
require("../../../assets/sprite.
|
|
10
|
+
require("../../../assets/sprite.1321fab0-teddy.svg");
|
|
11
11
|
require("../../icon/icon.cjs");
|
|
12
12
|
require("../../flex/flex.cjs");
|
|
13
13
|
require("../../list/index.cjs");
|
|
@@ -5,7 +5,7 @@ import "./utils.js";
|
|
|
5
5
|
import "../../box/box.js";
|
|
6
6
|
import "../../../utils/useSize.js";
|
|
7
7
|
import "../../../utils/generate-styling/index.js";
|
|
8
|
-
import "../../../assets/sprite.
|
|
8
|
+
import "../../../assets/sprite.1321fab0-teddy.svg";
|
|
9
9
|
import "../../icon/icon.js";
|
|
10
10
|
import "../../flex/flex.js";
|
|
11
11
|
import "../../list/index.js";
|
package/dist/components/navigation-menu/global-navigation/global-navigation-mobile-simplified.cjs
CHANGED
|
@@ -6,6 +6,6 @@ const components_radioCardGroup_radioCardGroupItemTitle = require("../../radio-c
|
|
|
6
6
|
require("clsx");
|
|
7
7
|
require("../../flex/flex.cjs");
|
|
8
8
|
require("../../box/box.cjs");
|
|
9
|
-
require("../../../assets/sprite.
|
|
9
|
+
require("../../../assets/sprite.1321fab0-teddy.svg");
|
|
10
10
|
require("../../icon/icon.cjs");
|
|
11
11
|
exports.MobileSimplified = components_radioCardGroup_radioCardGroupItemTitle.MobileSimplified;
|
package/dist/components/navigation-menu/global-navigation/global-navigation-mobile-simplified.js
CHANGED
|
@@ -4,7 +4,7 @@ import { h } from "../../radio-card-group/radio-card-group-item-title.js";
|
|
|
4
4
|
import "clsx";
|
|
5
5
|
import "../../flex/flex.js";
|
|
6
6
|
import "../../box/box.js";
|
|
7
|
-
import "../../../assets/sprite.
|
|
7
|
+
import "../../../assets/sprite.1321fab0-teddy.svg";
|
|
8
8
|
import "../../icon/icon.js";
|
|
9
9
|
export {
|
|
10
10
|
h as MobileSimplified
|
|
@@ -8,7 +8,7 @@ require("../../flex/flex.cjs");
|
|
|
8
8
|
require("../../box/box.cjs");
|
|
9
9
|
require("../../drawer/index.cjs");
|
|
10
10
|
require("../../button/button.cjs");
|
|
11
|
-
require("../../../assets/sprite.
|
|
11
|
+
require("../../../assets/sprite.1321fab0-teddy.svg");
|
|
12
12
|
require("../../icon/icon.cjs");
|
|
13
13
|
require("../../tabs/index.cjs");
|
|
14
14
|
require("./utils.cjs");
|
|
@@ -6,7 +6,7 @@ import "../../flex/flex.js";
|
|
|
6
6
|
import "../../box/box.js";
|
|
7
7
|
import "../../drawer/index.js";
|
|
8
8
|
import "../../button/button.js";
|
|
9
|
-
import "../../../assets/sprite.
|
|
9
|
+
import "../../../assets/sprite.1321fab0-teddy.svg";
|
|
10
10
|
import "../../icon/icon.js";
|
|
11
11
|
import "../../tabs/index.js";
|
|
12
12
|
import "./utils.js";
|
|
@@ -4,7 +4,7 @@ require("react/jsx-runtime");
|
|
|
4
4
|
require("react");
|
|
5
5
|
require("../../drawer/index.cjs");
|
|
6
6
|
const components_radioCardGroup_radioCardGroupItemTitle = require("../../radio-card-group/radio-card-group-item-title.cjs");
|
|
7
|
-
require("../../../assets/sprite.
|
|
7
|
+
require("../../../assets/sprite.1321fab0-teddy.svg");
|
|
8
8
|
require("../../icon/icon.cjs");
|
|
9
9
|
require("../../button/button.cjs");
|
|
10
10
|
require("../../grid/grid.cjs");
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../drawer/index.js";
|
|
4
4
|
import { b } from "../../radio-card-group/radio-card-group-item-title.js";
|
|
5
|
-
import "../../../assets/sprite.
|
|
5
|
+
import "../../../assets/sprite.1321fab0-teddy.svg";
|
|
6
6
|
import "../../icon/icon.js";
|
|
7
7
|
import "../../button/button.js";
|
|
8
8
|
import "../../grid/grid.js";
|
|
@@ -30,6 +30,7 @@ type RootContext = {
|
|
|
30
30
|
specifiedLink?: string;
|
|
31
31
|
setSpecifiedLink: (v: string) => void;
|
|
32
32
|
hideMenu?: boolean | null;
|
|
33
|
+
setHideMenu: (v: boolean) => void;
|
|
33
34
|
} & Pick<RootProps, 'onSearchSubmit' | 'additionalSearchContent' | 'shoppingCart' | 'shoppingCartNumberOfItems' | 'loggedInUser' | 'appKey' | 'onLogoutClick' | 'linkComponent' | 'isCartOpen' | 'onCartOpenChange' | 'drawerSize'>;
|
|
34
35
|
export declare const RootContext: React.Context<RootContext | null>;
|
|
35
36
|
export declare function Root({ className, appKey, loggedInUser, linkComponent, onLogoutClick, shoppingCart, shoppingCartNumberOfItems, onSearchSubmit, additionalSearchContent, isCartOpen, onCartOpenChange, drawerSize, isSimplified, currentPath, ...props }: RootProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/components/navigation-menu/global-navigation/global-navigation-search-field.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
require("react/jsx-runtime");
|
|
4
4
|
require("react");
|
|
5
|
-
require("../../../assets/sprite.
|
|
5
|
+
require("../../../assets/sprite.1321fab0-teddy.svg");
|
|
6
6
|
require("../../icon/icon.cjs");
|
|
7
7
|
require("../../text-field/index.cjs");
|
|
8
8
|
require("../../../utils/composeRefs.cjs");
|
|
@@ -4,7 +4,7 @@ require("react/jsx-runtime");
|
|
|
4
4
|
require("react");
|
|
5
5
|
require("../../drawer/index.cjs");
|
|
6
6
|
const components_radioCardGroup_radioCardGroupItemTitle = require("../../radio-card-group/radio-card-group-item-title.cjs");
|
|
7
|
-
require("../../../assets/sprite.
|
|
7
|
+
require("../../../assets/sprite.1321fab0-teddy.svg");
|
|
8
8
|
require("../../icon/icon.cjs");
|
|
9
9
|
require("../../button/button.cjs");
|
|
10
10
|
exports.Search = components_radioCardGroup_radioCardGroupItemTitle.Search;
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../drawer/index.js";
|
|
4
4
|
import { d } from "../../radio-card-group/radio-card-group-item-title.js";
|
|
5
|
-
import "../../../assets/sprite.
|
|
5
|
+
import "../../../assets/sprite.1321fab0-teddy.svg";
|
|
6
6
|
import "../../icon/icon.js";
|
|
7
7
|
import "../../button/button.js";
|
|
8
8
|
export {
|
package/dist/components/navigation-menu/global-navigation/global-navigation-shopping-cart.cjs
CHANGED
|
@@ -5,7 +5,7 @@ require("clsx");
|
|
|
5
5
|
require("react");
|
|
6
6
|
require("../../drawer/index.cjs");
|
|
7
7
|
const components_radioCardGroup_radioCardGroupItemTitle = require("../../radio-card-group/radio-card-group-item-title.cjs");
|
|
8
|
-
require("../../../assets/sprite.
|
|
8
|
+
require("../../../assets/sprite.1321fab0-teddy.svg");
|
|
9
9
|
require("../../icon/icon.cjs");
|
|
10
10
|
require("../../button/button.cjs");
|
|
11
11
|
require("../../badge/badge.cjs");
|
package/dist/components/navigation-menu/global-navigation/global-navigation-shopping-cart.js
CHANGED
|
@@ -3,7 +3,7 @@ import "clsx";
|
|
|
3
3
|
import "react";
|
|
4
4
|
import "../../drawer/index.js";
|
|
5
5
|
import { e } from "../../radio-card-group/radio-card-group-item-title.js";
|
|
6
|
-
import "../../../assets/sprite.
|
|
6
|
+
import "../../../assets/sprite.1321fab0-teddy.svg";
|
|
7
7
|
import "../../icon/icon.js";
|
|
8
8
|
import "../../button/button.js";
|
|
9
9
|
import "../../badge/badge.js";
|
|
@@ -70,7 +70,7 @@ export declare const SMART_CONNECT_LINKS: {
|
|
|
70
70
|
readonly link: "https://teliasmartconnect.com/";
|
|
71
71
|
readonly appKey: "open-pages";
|
|
72
72
|
readonly links: [];
|
|
73
|
-
readonly icon: "
|
|
73
|
+
readonly icon: "smart-connect";
|
|
74
74
|
};
|
|
75
75
|
export declare const LOGGED_IN_LINKS_BUSINESS: [{
|
|
76
76
|
readonly name: "Min bedrift";
|
|
@@ -89,7 +89,7 @@ export declare const LOGGED_IN_LINKS_BUSINESS: [{
|
|
|
89
89
|
readonly link: "https://teliasmartconnect.com/";
|
|
90
90
|
readonly appKey: "open-pages";
|
|
91
91
|
readonly links: [];
|
|
92
|
-
readonly icon: "
|
|
92
|
+
readonly icon: "smart-connect";
|
|
93
93
|
}, {
|
|
94
94
|
readonly name: "Bedriftsnett";
|
|
95
95
|
readonly link: "https://sb.telia.no";
|
|
@@ -139,7 +139,7 @@ export declare const LOGGED_IN_LINKS: [{
|
|
|
139
139
|
readonly link: "https://teliasmartconnect.com/";
|
|
140
140
|
readonly appKey: "open-pages";
|
|
141
141
|
readonly links: [];
|
|
142
|
-
readonly icon: "
|
|
142
|
+
readonly icon: "smart-connect";
|
|
143
143
|
}, {
|
|
144
144
|
readonly name: "Bedriftsnett";
|
|
145
145
|
readonly link: "https://sb.telia.no";
|
|
@@ -31,7 +31,7 @@ require("../tabs/index.cjs");
|
|
|
31
31
|
require("../drawer/index.cjs");
|
|
32
32
|
require("../image/image.cjs");
|
|
33
33
|
require("../chip/index.cjs");
|
|
34
|
-
require("../../assets/sprite.
|
|
34
|
+
require("../../assets/sprite.1321fab0-teddy.svg");
|
|
35
35
|
require("../notification/notification.cjs");
|
|
36
36
|
require("../radio-group/index.cjs");
|
|
37
37
|
require("../box/box.cjs");
|
|
@@ -29,7 +29,7 @@ import "../tabs/index.js";
|
|
|
29
29
|
import "../drawer/index.js";
|
|
30
30
|
import "../image/image.js";
|
|
31
31
|
import "../chip/index.js";
|
|
32
|
-
import "../../assets/sprite.
|
|
32
|
+
import "../../assets/sprite.1321fab0-teddy.svg";
|
|
33
33
|
import "../notification/notification.js";
|
|
34
34
|
import "../radio-group/index.js";
|
|
35
35
|
import "../box/box.js";
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const clsx = require("clsx");
|
|
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_notabene_notabeneRoot = require("./notabene-root.cjs");
|
|
9
9
|
const Icon = React.forwardRef(
|
|
@@ -3,7 +3,7 @@ import { Icon as PrimitiveIcon } from '../icon';
|
|
|
3
3
|
|
|
4
4
|
export type IconProps = Partial<React.ComponentPropsWithoutRef<typeof PrimitiveIcon>>;
|
|
5
5
|
export declare const Icon: React.ForwardRefExoticComponent<Partial<Omit<React.SVGProps<SVGSVGElement> & {
|
|
6
|
-
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" | "
|
|
6
|
+
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";
|
|
7
7
|
size?: ("sm" | "md" | "lg" | "xl" | "xs" | "font" | "xxs") | undefined;
|
|
8
8
|
children?: React.ReactNode;
|
|
9
9
|
}, "ref">> & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
-
import "../../assets/sprite.
|
|
4
|
+
import "../../assets/sprite.1321fab0-teddy.svg";
|
|
5
5
|
import { Icon as Icon$1 } from "../icon/icon.js";
|
|
6
6
|
import { s as styles, rootClassName } from "./notabene-root.js";
|
|
7
7
|
const Icon = React__default.forwardRef(
|
|
@@ -7,7 +7,7 @@ const Collapsible = require("@radix-ui/react-collapsible");
|
|
|
7
7
|
const reactUseControllableState = require("@radix-ui/react-use-controllable-state");
|
|
8
8
|
const components_text_text = require("../text/text.cjs");
|
|
9
9
|
const components_button_button = require("../button/button.cjs");
|
|
10
|
-
require("../../assets/sprite.
|
|
10
|
+
require("../../assets/sprite.1321fab0-teddy.svg");
|
|
11
11
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
12
12
|
const components_heading_heading = require("../heading/heading.cjs");
|
|
13
13
|
const components_card_index = require("../card/index.cjs");
|
|
@@ -89,7 +89,7 @@ declare const Notification: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<
|
|
|
89
89
|
Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLSpanElement>>;
|
|
90
90
|
Heading: React.ForwardRefExoticComponent<HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
91
91
|
Icon: React.ForwardRefExoticComponent<Partial<Omit<React.SVGProps<SVGSVGElement> & {
|
|
92
|
-
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" | "
|
|
92
|
+
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";
|
|
93
93
|
size?: ("sm" | "md" | "lg" | "xl" | "xs" | "font" | "xxs") | undefined;
|
|
94
94
|
children?: React.ReactNode;
|
|
95
95
|
}, "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/sprite.
|
|
8
|
+
import "../../assets/sprite.1321fab0-teddy.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/index.js";
|
|
@@ -24,7 +24,7 @@ require("../tabs/index.cjs");
|
|
|
24
24
|
require("../drawer/index.cjs");
|
|
25
25
|
require("../image/image.cjs");
|
|
26
26
|
require("../chip/index.cjs");
|
|
27
|
-
require("../../assets/sprite.
|
|
27
|
+
require("../../assets/sprite.1321fab0-teddy.svg");
|
|
28
28
|
require("../notification/notification.cjs");
|
|
29
29
|
require("../radio-group/index.cjs");
|
|
30
30
|
require("../box/box.cjs");
|
|
@@ -22,7 +22,7 @@ import "../tabs/index.js";
|
|
|
22
22
|
import "../drawer/index.js";
|
|
23
23
|
import "../image/image.js";
|
|
24
24
|
import "../chip/index.js";
|
|
25
|
-
import "../../assets/sprite.
|
|
25
|
+
import "../../assets/sprite.1321fab0-teddy.svg";
|
|
26
26
|
import "../notification/notification.js";
|
|
27
27
|
import "../radio-group/index.js";
|
|
28
28
|
import "../box/box.js";
|
|
@@ -33,7 +33,7 @@ const components_tabs_index = require("../tabs/index.cjs");
|
|
|
33
33
|
const components_drawer_index = require("../drawer/index.cjs");
|
|
34
34
|
require("../image/image.cjs");
|
|
35
35
|
require("../chip/index.cjs");
|
|
36
|
-
require("../../assets/sprite.
|
|
36
|
+
require("../../assets/sprite.1321fab0-teddy.svg");
|
|
37
37
|
const DrawerPrimitive = require("@radix-ui/react-dialog");
|
|
38
38
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
39
39
|
require("../notification/notification.cjs");
|
|
@@ -869,7 +869,6 @@ const Desktop = React.forwardRef(() => {
|
|
|
869
869
|
);
|
|
870
870
|
const topMenuSize = utils_useSize.useSize(topMenuRef.current);
|
|
871
871
|
const topMenuHeight = (topMenuSize == null ? void 0 : topMenuSize.height) ? `${topMenuSize.height}px` : void 0;
|
|
872
|
-
const viewPortHeight = shouldShowViewport ? "293px" : void 0;
|
|
873
872
|
if (!rootContext)
|
|
874
873
|
return null;
|
|
875
874
|
function resetAndShowMenu() {
|
|
@@ -883,6 +882,7 @@ const Desktop = React.forwardRef(() => {
|
|
|
883
882
|
setSpecifiedLink(linkName || "");
|
|
884
883
|
setSelectedMenuItem(linkName || "", true);
|
|
885
884
|
};
|
|
885
|
+
const viewPortHeight = !hideMenu && shouldShowViewport ? "293px" : void 0;
|
|
886
886
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
887
887
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: styles[`${rootClassName}__top-menu-color`], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
888
888
|
"div",
|
|
@@ -969,7 +969,7 @@ const Desktop = React.forwardRef(() => {
|
|
|
969
969
|
{ ["--teddy-viewport-wrapper-height"]: viewPortHeight }
|
|
970
970
|
),
|
|
971
971
|
className: styles[`${rootClassName}__viewport-wrapper`],
|
|
972
|
-
"data-state": hideMenu
|
|
972
|
+
"data-state": hideMenu ? "closed" : "open",
|
|
973
973
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
974
974
|
NavigationMenu.Viewport,
|
|
975
975
|
{
|
|
@@ -987,7 +987,7 @@ const HightlightedLinksDesktop = ({ links, listName }) => {
|
|
|
987
987
|
const rootContext = React.useContext(RootContext);
|
|
988
988
|
if (!rootContext)
|
|
989
989
|
return null;
|
|
990
|
-
const { linkComponent: Link2, setSpecifiedLink, setSelectedMenuItem } = rootContext;
|
|
990
|
+
const { linkComponent: Link2, setSpecifiedLink, setSelectedMenuItem, setHideMenu } = rootContext;
|
|
991
991
|
const currentLocation = rootContext.pathname.endsWith("/") ? rootContext.pathname : `${rootContext.pathname}/`;
|
|
992
992
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
993
993
|
/* @__PURE__ */ jsxRuntime.jsx(components_heading_heading.Heading, { pl: "100", pb: "100", variant: "title-200", as: "h2", children: listName }),
|
|
@@ -1002,6 +1002,7 @@ const HightlightedLinksDesktop = ({ links, listName }) => {
|
|
|
1002
1002
|
rootContext.setPathname(subSubLink.link);
|
|
1003
1003
|
setSpecifiedLink("");
|
|
1004
1004
|
setSelectedMenuItem("", true);
|
|
1005
|
+
setHideMenu(true);
|
|
1005
1006
|
},
|
|
1006
1007
|
children: subSubLink.appKey === rootContext.appKey || rootContext.appKey === "storybook" ? /* @__PURE__ */ jsxRuntime.jsx(Link2, { href: subSubLink.link, children: /* @__PURE__ */ jsxRuntime.jsxs(components_flex_flex.Flex, { as: "span", gap: "100", align: "center", children: [
|
|
1007
1008
|
subSubLink.name,
|
|
@@ -1197,7 +1198,7 @@ function Root({
|
|
|
1197
1198
|
const [selectedDomainItem, setSelectedDomainItem] = React.useState(getInitialDomain(currentPath));
|
|
1198
1199
|
const [pathname, setPathname] = React.useState(currentPath || "");
|
|
1199
1200
|
const [specifiedLink, setSpecifiedLink] = React.useState(getInitialMenuItem(currentPath));
|
|
1200
|
-
const [hideMenu, setHideMenu] = React.useState(
|
|
1201
|
+
const [hideMenu, setHideMenu] = React.useState(true);
|
|
1201
1202
|
const classes = clsx([styles[`${rootClassName}`]], className);
|
|
1202
1203
|
React.useEffect(() => {
|
|
1203
1204
|
setPathname(currentPath || "");
|
|
@@ -1237,7 +1238,8 @@ function Root({
|
|
|
1237
1238
|
drawerSize,
|
|
1238
1239
|
specifiedLink,
|
|
1239
1240
|
setSpecifiedLink,
|
|
1240
|
-
hideMenu
|
|
1241
|
+
hideMenu,
|
|
1242
|
+
setHideMenu
|
|
1241
1243
|
},
|
|
1242
1244
|
children: /* @__PURE__ */ jsxRuntime.jsx(components_box_box.Box, { ...props, className: classes, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1243
1245
|
NavigationMenu,
|