@telia/teddy 0.7.39 → 0.7.41
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/components/avatar/avatar-root.d.ts +1 -1
- package/dist/components/avatar/index.d.ts +2 -2
- package/dist/components/breadcrumbs/breadcrumbs-link.d.ts +1 -1
- package/dist/components/breadcrumbs/index.d.ts +1 -1
- package/dist/components/card/card-link.d.ts +1 -1
- package/dist/components/card/card.d.ts +1 -1
- package/dist/components/channel-button/channel-button-root.d.ts +4 -4
- package/dist/components/channel-button/index.d.ts +4 -4
- package/dist/components/checkbox/checkbox-group.d.ts +1 -1
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/checkbox-card-group/checkbox-card-group-content.cjs +1 -0
- package/dist/components/checkbox-card-group/checkbox-card-group-content.js +1 -0
- package/dist/components/checkbox-card-group/checkbox-card-group-indicator.cjs +1 -0
- package/dist/components/checkbox-card-group/checkbox-card-group-indicator.js +1 -0
- package/dist/components/checkbox-card-group/checkbox-card-group-item-title.cjs +1 -0
- package/dist/components/checkbox-card-group/checkbox-card-group-item-title.js +1 -0
- package/dist/components/checkbox-card-group/checkbox-card-group-item.cjs +1 -0
- package/dist/components/checkbox-card-group/checkbox-card-group-item.js +1 -0
- package/dist/components/chip/chip-indicator.d.ts +2 -2
- package/dist/components/chip/index.d.ts +2 -2
- package/dist/components/dashboard-card/dashboard-card-avatar.d.ts +2 -2
- package/dist/components/dashed-button/dashed-button-root.d.ts +4 -4
- package/dist/components/expandable-card/expandable-card-button.d.ts +2 -2
- package/dist/components/expandable-card/index.d.ts +3 -3
- package/dist/components/flip-card/flip-card-trigger.d.ts +2 -2
- package/dist/components/icon/utils.d.ts +1 -1
- package/dist/components/index.cjs +2 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +2 -0
- package/dist/components/input/index.d.ts +1 -1
- package/dist/components/modal/modal-close.cjs +1 -0
- package/dist/components/modal/modal-close.js +1 -0
- package/dist/components/navigation-menu/navigation-menu.cjs +1 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +1 -1
- package/dist/components/navigation-menu/navigation-menu.js +1 -0
- package/dist/components/notabene/notabene-icon.d.ts +2 -2
- package/dist/components/notification/index.d.ts +4 -4
- package/dist/components/notification/notification-icon.d.ts +2 -2
- package/dist/components/notification/notification-root.d.ts +4 -4
- package/dist/components/radio-card-group/radio-card-group-content.cjs +1 -0
- package/dist/components/radio-card-group/radio-card-group-content.js +1 -0
- package/dist/components/radio-card-group/radio-card-group-item-title.cjs +1 -0
- package/dist/components/radio-card-group/radio-card-group-item-title.js +1 -0
- package/dist/components/radio-card-group/radio-card-group-item.cjs +1 -0
- package/dist/components/radio-card-group/radio-card-group-item.js +1 -0
- package/dist/components/scroll-area/index.d.ts +2 -2
- package/dist/components/scroll-area/scroll-area-button.d.ts +2 -2
- package/dist/components/shopping-cart/index.d.ts +5 -5
- package/dist/components/shopping-cart/shopping-cart-continue.cjs +3 -2
- package/dist/components/shopping-cart/shopping-cart-continue.d.ts +2 -1
- package/dist/components/shopping-cart/shopping-cart-continue.js +3 -2
- package/dist/components/shopping-cart/shopping-cart-disclaimer.cjs +13 -12
- package/dist/components/shopping-cart/shopping-cart-disclaimer.d.ts +2 -1
- package/dist/components/shopping-cart/shopping-cart-disclaimer.js +13 -12
- package/dist/components/shopping-cart/shopping-cart-item.cjs +35 -34
- package/dist/components/shopping-cart/shopping-cart-item.d.ts +2 -1
- package/dist/components/shopping-cart/shopping-cart-item.js +35 -34
- package/dist/components/shopping-cart/shopping-cart-items.cjs +3 -2
- package/dist/components/shopping-cart/shopping-cart-items.d.ts +2 -1
- package/dist/components/shopping-cart/shopping-cart-items.js +3 -2
- package/dist/components/shopping-cart/shopping-cart-payment.cjs +4 -2
- package/dist/components/shopping-cart/shopping-cart-payment.d.ts +2 -1
- package/dist/components/shopping-cart/shopping-cart-payment.js +4 -2
- package/dist/components/shopping-cart/shopping-cart-root.cjs +3 -2
- package/dist/components/shopping-cart/shopping-cart-root.d.ts +2 -1
- package/dist/components/shopping-cart/shopping-cart-root.js +3 -2
- package/dist/components/tabs/index.d.ts +1 -1
- package/dist/components/tabs/tabs-root.d.ts +1 -1
- package/dist/components/tabs/tabs-scroll-button.d.ts +2 -2
- package/dist/components/text-field/index.d.ts +2 -2
- package/dist/components/text-field/text-field-button.d.ts +2 -2
- package/dist/components/textarea/index.d.ts +1 -1
- package/dist/components/toggle/toggle.d.ts +2 -2
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/components/top-row-buttons/index.cjs +4 -0
- package/dist/components/top-row-buttons/index.d.ts +2 -0
- package/dist/components/top-row-buttons/index.js +4 -0
- package/dist/components/top-row-buttons/top-row-buttons.cjs +72 -0
- package/dist/components/top-row-buttons/top-row-buttons.d.ts +48 -0
- package/dist/components/top-row-buttons/top-row-buttons.js +72 -0
- package/dist/main.cjs +2 -0
- package/dist/main.js +2 -0
- package/dist/style.css +225 -106
- package/package.json +3 -3
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const components_topRowButtons_topRowButtons = require("./top-row-buttons/top-row-buttons.cjs");
|
|
3
4
|
const components_dashedButton_dashedButtonRoot = require("./dashed-button/dashed-button-root.cjs");
|
|
4
5
|
const components_shoppingCart_index = require("./shopping-cart/index.cjs");
|
|
5
6
|
const components_stepIndicator_index = require("./step-indicator/index.cjs");
|
|
@@ -70,6 +71,7 @@ const components_shoppingCart_types = require("./shopping-cart/types.cjs");
|
|
|
70
71
|
const sonner = require("sonner");
|
|
71
72
|
const components_input_inputGroup = require("./input/input-group.cjs");
|
|
72
73
|
const components_textarea_textareaGroup = require("./textarea/textarea-group.cjs");
|
|
74
|
+
exports.TopRowButtons = components_topRowButtons_topRowButtons.TopRowButtons;
|
|
73
75
|
exports.DashedButton = components_dashedButton_dashedButtonRoot.DashedButton;
|
|
74
76
|
exports.ShoppingCart = components_shoppingCart_index.ShoppingCart;
|
|
75
77
|
exports.StepIndicator = components_stepIndicator_index.StepIndicator;
|
package/dist/components/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TopRowButtons } from "./top-row-buttons/top-row-buttons.js";
|
|
1
2
|
import { DashedButton } from "./dashed-button/dashed-button-root.js";
|
|
2
3
|
import { ShoppingCart } from "./shopping-cart/index.js";
|
|
3
4
|
import { StepIndicator } from "./step-indicator/index.js";
|
|
@@ -139,6 +140,7 @@ export {
|
|
|
139
140
|
Toggle,
|
|
140
141
|
Toggletip,
|
|
141
142
|
Tooltip,
|
|
143
|
+
TopRowButtons,
|
|
142
144
|
default3 as Video,
|
|
143
145
|
VisuallyHidden,
|
|
144
146
|
isIconName,
|
|
@@ -8,7 +8,7 @@ declare const InputGroup: import('react').ForwardRefExoticComponent<Omit<import(
|
|
|
8
8
|
preventGroupClickSelect?: boolean | undefined;
|
|
9
9
|
} & import('react').RefAttributes<HTMLDivElement>> & {
|
|
10
10
|
Input: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "children"> & {
|
|
11
|
-
validationState?: ("
|
|
11
|
+
validationState?: ("invalid" | "valid") | undefined;
|
|
12
12
|
isLoading?: boolean | undefined;
|
|
13
13
|
onValueChange?: ((value: string) => void) | undefined;
|
|
14
14
|
} & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
require("react/jsx-runtime");
|
|
4
4
|
require("react");
|
|
5
5
|
require("@radix-ui/react-dialog");
|
|
6
|
+
require("../top-row-buttons/top-row-buttons.cjs");
|
|
6
7
|
require("../dashed-button/dashed-button-root.cjs");
|
|
7
8
|
require("../shopping-cart/index.cjs");
|
|
8
9
|
require("../step-indicator/index.cjs");
|
|
@@ -12,6 +12,7 @@ require("@radix-ui/react-slot");
|
|
|
12
12
|
require("@radix-ui/react-use-controllable-state");
|
|
13
13
|
require("../../utils/generate-styling/index.cjs");
|
|
14
14
|
require("../../tokens/motion/variables.cjs");
|
|
15
|
+
require("../top-row-buttons/top-row-buttons.cjs");
|
|
15
16
|
require("../dashed-button/dashed-button-root.cjs");
|
|
16
17
|
require("../shopping-cart/index.cjs");
|
|
17
18
|
require("../step-indicator/index.cjs");
|
|
@@ -113,7 +113,7 @@ declare const NavigationMenu: React.ForwardRefExoticComponent<Omit<NavigationMen
|
|
|
113
113
|
variant?: "default" | "float" | undefined;
|
|
114
114
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
115
115
|
Link: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>, "ref"> & {
|
|
116
|
-
variant?: "
|
|
116
|
+
variant?: "small" | "button" | "default" | undefined;
|
|
117
117
|
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
118
118
|
Indicator: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
119
119
|
Viewport: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -10,6 +10,7 @@ import "@radix-ui/react-slot";
|
|
|
10
10
|
import "@radix-ui/react-use-controllable-state";
|
|
11
11
|
import "../../utils/generate-styling/index.js";
|
|
12
12
|
import "../../tokens/motion/variables.js";
|
|
13
|
+
import "../top-row-buttons/top-row-buttons.js";
|
|
13
14
|
import "../dashed-button/dashed-button-root.js";
|
|
14
15
|
import "../shopping-cart/index.js";
|
|
15
16
|
import "../step-indicator/index.js";
|
|
@@ -3,8 +3,8 @@ 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: "
|
|
7
|
-
size?: ("xxs" | "xs" | "sm" | "md" | "lg" | "xl"
|
|
6
|
+
name: "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-neutral" | "smiley-sad" | "smiley-very-happy" | "smiley-very-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" | "AI-star" | "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";
|
|
7
|
+
size?: ("font" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl") | undefined;
|
|
8
8
|
title?: string | undefined;
|
|
9
9
|
children?: React.ReactNode;
|
|
10
10
|
}, "ref">> & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -44,7 +44,7 @@ declare const Notification: import('react').ForwardRefExoticComponent<Omit<Omit<
|
|
|
44
44
|
* @example
|
|
45
45
|
* <Notification.Footer">Notification Footer</Notification.Footer>
|
|
46
46
|
*/
|
|
47
|
-
variant?: "beige" | "
|
|
47
|
+
variant?: "beige" | "white" | "gray" | "purple-light" | "beige-light" | "purple-dark" | undefined;
|
|
48
48
|
bordered?: boolean | undefined;
|
|
49
49
|
shadow?: boolean | undefined;
|
|
50
50
|
backgroundImageSrc?: string | undefined;
|
|
@@ -68,7 +68,7 @@ declare const Notification: import('react').ForwardRefExoticComponent<Omit<Omit<
|
|
|
68
68
|
* @example
|
|
69
69
|
* <Notification.Footer">Notification Footer</Notification.Footer>
|
|
70
70
|
*/
|
|
71
|
-
variant?: "beige" | "
|
|
71
|
+
variant?: "beige" | "white" | "gray" | "purple-light" | "beige-light" | "purple-dark" | undefined;
|
|
72
72
|
bordered?: boolean | undefined;
|
|
73
73
|
shadow?: boolean | undefined;
|
|
74
74
|
backgroundImageSrc?: string | undefined;
|
|
@@ -92,14 +92,14 @@ declare const Notification: import('react').ForwardRefExoticComponent<Omit<Omit<
|
|
|
92
92
|
* @example
|
|
93
93
|
* <Notification.Footer">Notification Footer</Notification.Footer>
|
|
94
94
|
*/
|
|
95
|
-
variant?: "beige" | "
|
|
95
|
+
variant?: "beige" | "white" | "gray" | "purple-light" | "beige-light" | "purple-dark" | undefined;
|
|
96
96
|
bordered?: boolean | undefined;
|
|
97
97
|
shadow?: boolean | undefined;
|
|
98
98
|
backgroundImageSrc?: string | undefined;
|
|
99
99
|
imageGradient?: ("dark" | "light" | "default") | undefined;
|
|
100
100
|
layout?: import('../card/card').Layout | undefined;
|
|
101
101
|
} & import('react').RefAttributes<HTMLDivElement>, "ref">, "variant" | "layout" | "as"> & {
|
|
102
|
-
variant?: "
|
|
102
|
+
variant?: "error" | "warning" | "beige" | "gray" | "teal" | "information" | "success" | undefined;
|
|
103
103
|
type?: "card" | "tile" | undefined;
|
|
104
104
|
open?: boolean | undefined;
|
|
105
105
|
defaultOpen?: boolean | undefined;
|
|
@@ -3,8 +3,8 @@ import { Icon as IconPrimitives } from '../icon';
|
|
|
3
3
|
|
|
4
4
|
export type IconProps = Partial<React.ComponentPropsWithoutRef<typeof IconPrimitives>>;
|
|
5
5
|
export declare const Icon: React.ForwardRefExoticComponent<Partial<Omit<React.SVGProps<SVGSVGElement> & {
|
|
6
|
-
name: "
|
|
7
|
-
size?: ("xxs" | "xs" | "sm" | "md" | "lg" | "xl"
|
|
6
|
+
name: "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-neutral" | "smiley-sad" | "smiley-very-happy" | "smiley-very-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" | "AI-star" | "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";
|
|
7
|
+
size?: ("font" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl") | undefined;
|
|
8
8
|
title?: string | undefined;
|
|
9
9
|
children?: React.ReactNode;
|
|
10
10
|
}, "ref">> & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -30,7 +30,7 @@ export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<R
|
|
|
30
30
|
as?: undefined;
|
|
31
31
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
32
32
|
asChild?: boolean | undefined;
|
|
33
|
-
variant?: "beige" | "
|
|
33
|
+
variant?: "beige" | "white" | "gray" | "purple-light" | "beige-light" | "purple-dark" | undefined;
|
|
34
34
|
bordered?: boolean | undefined;
|
|
35
35
|
shadow?: boolean | undefined;
|
|
36
36
|
backgroundImageSrc?: string | undefined;
|
|
@@ -46,7 +46,7 @@ export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<R
|
|
|
46
46
|
asChild?: false | undefined;
|
|
47
47
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
48
48
|
asChild?: boolean | undefined;
|
|
49
|
-
variant?: "beige" | "
|
|
49
|
+
variant?: "beige" | "white" | "gray" | "purple-light" | "beige-light" | "purple-dark" | undefined;
|
|
50
50
|
bordered?: boolean | undefined;
|
|
51
51
|
shadow?: boolean | undefined;
|
|
52
52
|
backgroundImageSrc?: string | undefined;
|
|
@@ -62,7 +62,7 @@ export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<R
|
|
|
62
62
|
asChild?: false | undefined;
|
|
63
63
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
64
64
|
asChild?: boolean | undefined;
|
|
65
|
-
variant?: "beige" | "
|
|
65
|
+
variant?: "beige" | "white" | "gray" | "purple-light" | "beige-light" | "purple-dark" | undefined;
|
|
66
66
|
bordered?: boolean | undefined;
|
|
67
67
|
shadow?: boolean | undefined;
|
|
68
68
|
backgroundImageSrc?: string | undefined;
|
|
@@ -73,7 +73,7 @@ export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<R
|
|
|
73
73
|
* The variant of the notification.
|
|
74
74
|
*
|
|
75
75
|
*/
|
|
76
|
-
variant?: "
|
|
76
|
+
variant?: "error" | "warning" | "beige" | "gray" | "teal" | "information" | "success" | undefined;
|
|
77
77
|
/**
|
|
78
78
|
* The tyoe of the notification.
|
|
79
79
|
*
|
|
@@ -4,6 +4,7 @@ require("react/jsx-runtime");
|
|
|
4
4
|
require("clsx");
|
|
5
5
|
require("react");
|
|
6
6
|
require("./radio-card-group-root.cjs");
|
|
7
|
+
require("../top-row-buttons/top-row-buttons.cjs");
|
|
7
8
|
require("../dashed-button/dashed-button-root.cjs");
|
|
8
9
|
require("../shopping-cart/index.cjs");
|
|
9
10
|
require("../step-indicator/index.cjs");
|
|
@@ -2,6 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "clsx";
|
|
3
3
|
import "react";
|
|
4
4
|
import "./radio-card-group-root.js";
|
|
5
|
+
import "../top-row-buttons/top-row-buttons.js";
|
|
5
6
|
import "../dashed-button/dashed-button-root.js";
|
|
6
7
|
import "../shopping-cart/index.js";
|
|
7
8
|
import "../step-indicator/index.js";
|
|
@@ -5,6 +5,7 @@ require("clsx");
|
|
|
5
5
|
require("react");
|
|
6
6
|
require("./radio-card-group-root.cjs");
|
|
7
7
|
require("@radix-ui/react-slot");
|
|
8
|
+
require("../top-row-buttons/top-row-buttons.cjs");
|
|
8
9
|
require("../dashed-button/dashed-button-root.cjs");
|
|
9
10
|
require("../shopping-cart/index.cjs");
|
|
10
11
|
require("../step-indicator/index.cjs");
|
|
@@ -3,6 +3,7 @@ import "clsx";
|
|
|
3
3
|
import "react";
|
|
4
4
|
import "./radio-card-group-root.js";
|
|
5
5
|
import "@radix-ui/react-slot";
|
|
6
|
+
import "../top-row-buttons/top-row-buttons.js";
|
|
6
7
|
import "../dashed-button/dashed-button-root.js";
|
|
7
8
|
import "../shopping-cart/index.js";
|
|
8
9
|
import "../step-indicator/index.js";
|
|
@@ -5,6 +5,7 @@ require("clsx");
|
|
|
5
5
|
require("react");
|
|
6
6
|
require("./radio-card-group-root.cjs");
|
|
7
7
|
require("@radix-ui/react-radio-group");
|
|
8
|
+
require("../top-row-buttons/top-row-buttons.cjs");
|
|
8
9
|
require("../dashed-button/dashed-button-root.cjs");
|
|
9
10
|
require("../shopping-cart/index.cjs");
|
|
10
11
|
require("../step-indicator/index.cjs");
|
|
@@ -3,6 +3,7 @@ import "clsx";
|
|
|
3
3
|
import "react";
|
|
4
4
|
import "./radio-card-group-root.js";
|
|
5
5
|
import "@radix-ui/react-radio-group";
|
|
6
|
+
import "../top-row-buttons/top-row-buttons.js";
|
|
6
7
|
import "../dashed-button/dashed-button-root.js";
|
|
7
8
|
import "../shopping-cart/index.js";
|
|
8
9
|
import "../step-indicator/index.js";
|
|
@@ -21,7 +21,7 @@ export declare const ScrollArea: import('react').ForwardRefExoticComponent<Omit<
|
|
|
21
21
|
loading?: boolean | undefined;
|
|
22
22
|
fullWidth?: boolean | undefined;
|
|
23
23
|
size?: "sm" | "md" | "lg" | undefined;
|
|
24
|
-
variant?: "
|
|
24
|
+
variant?: "list-item" | "text" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
25
25
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
26
26
|
} & {
|
|
27
27
|
iconOnly: true;
|
|
@@ -33,7 +33,7 @@ export declare const ScrollArea: import('react').ForwardRefExoticComponent<Omit<
|
|
|
33
33
|
loading?: boolean | undefined;
|
|
34
34
|
fullWidth?: boolean | undefined;
|
|
35
35
|
size?: "sm" | "md" | "lg" | undefined;
|
|
36
|
-
variant?: "
|
|
36
|
+
variant?: "list-item" | "text" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
37
37
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
38
38
|
} & {
|
|
39
39
|
iconOnly?: false | undefined;
|
|
@@ -17,7 +17,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
|
|
|
17
17
|
loading?: boolean | undefined;
|
|
18
18
|
fullWidth?: boolean | undefined;
|
|
19
19
|
size?: "sm" | "md" | "lg" | undefined;
|
|
20
|
-
variant?: "
|
|
20
|
+
variant?: "list-item" | "text" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
21
21
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
22
22
|
} & {
|
|
23
23
|
iconOnly: true;
|
|
@@ -29,7 +29,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
|
|
|
29
29
|
loading?: boolean | undefined;
|
|
30
30
|
fullWidth?: boolean | undefined;
|
|
31
31
|
size?: "sm" | "md" | "lg" | undefined;
|
|
32
|
-
variant?: "
|
|
32
|
+
variant?: "list-item" | "text" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
33
33
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
34
34
|
} & {
|
|
35
35
|
iconOnly?: false | undefined;
|
|
@@ -5,23 +5,23 @@ import { DisclaimerProps } from './shopping-cart-disclaimer';
|
|
|
5
5
|
import { ContinueProps } from './shopping-cart-continue';
|
|
6
6
|
|
|
7
7
|
export declare const ShoppingCart: {
|
|
8
|
-
({ heading, children, formatPrice, hasPaid, isAllowedToDelete }: RootProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
({ heading, children, formatPrice, hasPaid, isAllowedToDelete, className }: RootProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
} & {
|
|
11
11
|
Items: {
|
|
12
|
-
({ cartItems, onChangeQuantity, onRemoveItem }: ItemsProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
({ cartItems, onChangeQuantity, onRemoveItem, className }: ItemsProps): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
displayName: string;
|
|
14
14
|
};
|
|
15
15
|
Payment: {
|
|
16
|
-
({ delivery, totalPriceUpfront, totalPriceMonthly, totalPriceFirstInvoice, paymentTooltip, monthlyPriceDetails, totalVAT, totalPriceWithoutVAT, }: PaymentProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
({ delivery, totalPriceUpfront, totalPriceMonthly, totalPriceFirstInvoice, paymentTooltip, monthlyPriceDetails, totalVAT, totalPriceWithoutVAT, className, }: PaymentProps): import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
displayName: string;
|
|
18
18
|
};
|
|
19
19
|
Disclaimer: {
|
|
20
|
-
({ disclaimer, onOpenDisclaimer }: DisclaimerProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
({ disclaimer, onOpenDisclaimer, className }: DisclaimerProps): import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
displayName: string;
|
|
22
22
|
};
|
|
23
23
|
Continue: {
|
|
24
|
-
({ children }: ContinueProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
({ children, className }: ContinueProps): import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
displayName: string;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const clsx = require("clsx");
|
|
4
5
|
const shoppingCart_module = require("../../shopping-cart.module-BCoLrcMI.cjs");
|
|
5
|
-
const Continue = ({ children }) => {
|
|
6
|
-
return /* @__PURE__ */ jsxRuntime.jsx("section", { children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${shoppingCart_module.styles.sectionInner} ${shoppingCart_module.styles.continueContainer}`, children }) });
|
|
6
|
+
const Continue = ({ children, className }) => {
|
|
7
|
+
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: clsx.clsx(className), children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${shoppingCart_module.styles.sectionInner} ${shoppingCart_module.styles.continueContainer}`, children }) });
|
|
7
8
|
};
|
|
8
9
|
Continue.displayName = "Continue";
|
|
9
10
|
exports.Continue = Continue;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export interface ContinueProps {
|
|
3
3
|
children: React.ReactNode;
|
|
4
|
+
className?: string;
|
|
4
5
|
}
|
|
5
6
|
export declare const Continue: {
|
|
6
|
-
({ children }: ContinueProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
({ children, className }: ContinueProps): import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
displayName: string;
|
|
8
9
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { clsx } from "clsx";
|
|
2
3
|
import { s as styles } from "../../shopping-cart.module-DA25l2hr.js";
|
|
3
|
-
const Continue = ({ children }) => {
|
|
4
|
-
return /* @__PURE__ */ jsx("section", { children: /* @__PURE__ */ jsx("div", { className: `${styles.sectionInner} ${styles.continueContainer}`, children }) });
|
|
4
|
+
const Continue = ({ children, className }) => {
|
|
5
|
+
return /* @__PURE__ */ jsx("section", { className: clsx(className), children: /* @__PURE__ */ jsx("div", { className: `${styles.sectionInner} ${styles.continueContainer}`, children }) });
|
|
5
6
|
};
|
|
6
7
|
Continue.displayName = "Continue";
|
|
7
8
|
export {
|
|
@@ -2,18 +2,19 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const React = require("react");
|
|
5
|
+
const clsx = require("clsx");
|
|
5
6
|
require("../../assets/sprite.6511e521-teddy.svg");
|
|
6
7
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
7
8
|
const components_collapsible_index = require("../collapsible/index.cjs");
|
|
8
|
-
const singleDisclaimer = "
|
|
9
|
-
const disclaimer = "
|
|
10
|
-
const disclaimerHeader = "
|
|
11
|
-
const disclaimerHeaderLeft = "
|
|
12
|
-
const disclaimerIcon = "
|
|
13
|
-
const disclaimerItem = "
|
|
14
|
-
const disclaimerItemTotal = "
|
|
15
|
-
const disclaimerItemSubtitle = "
|
|
16
|
-
const disclaimerTotal = "
|
|
9
|
+
const singleDisclaimer = "_singleDisclaimer_1995d_1";
|
|
10
|
+
const disclaimer = "_disclaimer_1995d_6";
|
|
11
|
+
const disclaimerHeader = "_disclaimerHeader_1995d_12";
|
|
12
|
+
const disclaimerHeaderLeft = "_disclaimerHeaderLeft_1995d_17";
|
|
13
|
+
const disclaimerIcon = "_disclaimerIcon_1995d_25";
|
|
14
|
+
const disclaimerItem = "_disclaimerItem_1995d_30";
|
|
15
|
+
const disclaimerItemTotal = "_disclaimerItemTotal_1995d_38";
|
|
16
|
+
const disclaimerItemSubtitle = "_disclaimerItemSubtitle_1995d_42";
|
|
17
|
+
const disclaimerTotal = "_disclaimerTotal_1995d_47";
|
|
17
18
|
const styles = {
|
|
18
19
|
singleDisclaimer,
|
|
19
20
|
disclaimer,
|
|
@@ -25,10 +26,10 @@ const styles = {
|
|
|
25
26
|
disclaimerItemSubtitle,
|
|
26
27
|
disclaimerTotal
|
|
27
28
|
};
|
|
28
|
-
const Disclaimer = ({ disclaimer: disclaimer2, onOpenDisclaimer }) => {
|
|
29
|
+
const Disclaimer = ({ disclaimer: disclaimer2, onOpenDisclaimer, className }) => {
|
|
29
30
|
const [isExpanded, setIsExpanded] = React.useState(false);
|
|
30
31
|
if (typeof disclaimer2 === "string") {
|
|
31
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.singleDisclaimer, children: disclaimer2 });
|
|
32
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx.clsx(styles.singleDisclaimer, className), children: disclaimer2 });
|
|
32
33
|
}
|
|
33
34
|
const minimumTotalPrice = disclaimer2.reduce((acc, cur) => acc + cur.total, 0);
|
|
34
35
|
const handleOpenChange = (open) => {
|
|
@@ -37,7 +38,7 @@ const Disclaimer = ({ disclaimer: disclaimer2, onOpenDisclaimer }) => {
|
|
|
37
38
|
onOpenDisclaimer();
|
|
38
39
|
}
|
|
39
40
|
};
|
|
40
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(components_collapsible_index.Collapsible, { open: isExpanded, onOpenChange: handleOpenChange, children: [
|
|
41
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(components_collapsible_index.Collapsible, { open: isExpanded, onOpenChange: handleOpenChange, className, children: [
|
|
41
42
|
/* @__PURE__ */ jsxRuntime.jsx(components_collapsible_index.Collapsible.Trigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.disclaimer, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.disclaimerHeader, children: [
|
|
42
43
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.disclaimerHeaderLeft, children: [
|
|
43
44
|
/* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: isExpanded ? "chevron-up" : "chevron-down", className: styles.disclaimerIcon }),
|
|
@@ -3,8 +3,9 @@ import { DisclaimerItem } from './types';
|
|
|
3
3
|
export interface DisclaimerProps {
|
|
4
4
|
disclaimer: string | DisclaimerItem[];
|
|
5
5
|
onOpenDisclaimer?: () => void;
|
|
6
|
+
className?: string;
|
|
6
7
|
}
|
|
7
8
|
export declare const Disclaimer: {
|
|
8
|
-
({ disclaimer, onOpenDisclaimer }: DisclaimerProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
({ disclaimer, onOpenDisclaimer, className }: DisclaimerProps): import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
displayName: string;
|
|
10
11
|
};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from "react";
|
|
3
|
+
import { clsx } from "clsx";
|
|
3
4
|
import "../../assets/sprite.6511e521-teddy.svg";
|
|
4
5
|
import { Icon } from "../icon/icon.js";
|
|
5
6
|
import { Collapsible } from "../collapsible/index.js";
|
|
6
|
-
const singleDisclaimer = "
|
|
7
|
-
const disclaimer = "
|
|
8
|
-
const disclaimerHeader = "
|
|
9
|
-
const disclaimerHeaderLeft = "
|
|
10
|
-
const disclaimerIcon = "
|
|
11
|
-
const disclaimerItem = "
|
|
12
|
-
const disclaimerItemTotal = "
|
|
13
|
-
const disclaimerItemSubtitle = "
|
|
14
|
-
const disclaimerTotal = "
|
|
7
|
+
const singleDisclaimer = "_singleDisclaimer_1995d_1";
|
|
8
|
+
const disclaimer = "_disclaimer_1995d_6";
|
|
9
|
+
const disclaimerHeader = "_disclaimerHeader_1995d_12";
|
|
10
|
+
const disclaimerHeaderLeft = "_disclaimerHeaderLeft_1995d_17";
|
|
11
|
+
const disclaimerIcon = "_disclaimerIcon_1995d_25";
|
|
12
|
+
const disclaimerItem = "_disclaimerItem_1995d_30";
|
|
13
|
+
const disclaimerItemTotal = "_disclaimerItemTotal_1995d_38";
|
|
14
|
+
const disclaimerItemSubtitle = "_disclaimerItemSubtitle_1995d_42";
|
|
15
|
+
const disclaimerTotal = "_disclaimerTotal_1995d_47";
|
|
15
16
|
const styles = {
|
|
16
17
|
singleDisclaimer,
|
|
17
18
|
disclaimer,
|
|
@@ -23,10 +24,10 @@ const styles = {
|
|
|
23
24
|
disclaimerItemSubtitle,
|
|
24
25
|
disclaimerTotal
|
|
25
26
|
};
|
|
26
|
-
const Disclaimer = ({ disclaimer: disclaimer2, onOpenDisclaimer }) => {
|
|
27
|
+
const Disclaimer = ({ disclaimer: disclaimer2, onOpenDisclaimer, className }) => {
|
|
27
28
|
const [isExpanded, setIsExpanded] = useState(false);
|
|
28
29
|
if (typeof disclaimer2 === "string") {
|
|
29
|
-
return /* @__PURE__ */ jsx("div", { className: styles.singleDisclaimer, children: disclaimer2 });
|
|
30
|
+
return /* @__PURE__ */ jsx("div", { className: clsx(styles.singleDisclaimer, className), children: disclaimer2 });
|
|
30
31
|
}
|
|
31
32
|
const minimumTotalPrice = disclaimer2.reduce((acc, cur) => acc + cur.total, 0);
|
|
32
33
|
const handleOpenChange = (open) => {
|
|
@@ -35,7 +36,7 @@ const Disclaimer = ({ disclaimer: disclaimer2, onOpenDisclaimer }) => {
|
|
|
35
36
|
onOpenDisclaimer();
|
|
36
37
|
}
|
|
37
38
|
};
|
|
38
|
-
return /* @__PURE__ */ jsxs(Collapsible, { open: isExpanded, onOpenChange: handleOpenChange, children: [
|
|
39
|
+
return /* @__PURE__ */ jsxs(Collapsible, { open: isExpanded, onOpenChange: handleOpenChange, className, children: [
|
|
39
40
|
/* @__PURE__ */ jsx(Collapsible.Trigger, { asChild: true, children: /* @__PURE__ */ jsx("div", { className: styles.disclaimer, children: /* @__PURE__ */ jsxs("div", { className: styles.disclaimerHeader, children: [
|
|
40
41
|
/* @__PURE__ */ jsxs("div", { className: styles.disclaimerHeaderLeft, children: [
|
|
41
42
|
/* @__PURE__ */ jsx(Icon, { name: isExpanded ? "chevron-up" : "chevron-down", className: styles.disclaimerIcon }),
|