@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,6 +1,7 @@
|
|
|
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
|
require("../../assets/sprite.6511e521-teddy.svg");
|
|
5
6
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
6
7
|
const components_text_text = require("../text/text.cjs");
|
|
@@ -13,40 +14,41 @@ const components_tooltip_index = require("../tooltip/index.cjs");
|
|
|
13
14
|
const components_shoppingCart_types = require("./types.cjs");
|
|
14
15
|
const components_shoppingCart_shoppingCartContext = require("./shopping-cart-context.cjs");
|
|
15
16
|
const components_shoppingCart_utils = require("./utils.cjs");
|
|
16
|
-
const item = "
|
|
17
|
-
const breakageFeeInfo = "
|
|
18
|
-
const nameWrapper = "
|
|
19
|
-
const link = "
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
const
|
|
29
|
-
const
|
|
30
|
-
const
|
|
31
|
-
const
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
const
|
|
35
|
-
const
|
|
36
|
-
const
|
|
37
|
-
const
|
|
38
|
-
const
|
|
39
|
-
const
|
|
40
|
-
const
|
|
41
|
-
const
|
|
42
|
-
const
|
|
43
|
-
const
|
|
44
|
-
const
|
|
17
|
+
const item = "_item_16o96_1";
|
|
18
|
+
const breakageFeeInfo = "_breakageFeeInfo_16o96_7";
|
|
19
|
+
const nameWrapper = "_nameWrapper_16o96_26";
|
|
20
|
+
const link = "_link_16o96_33";
|
|
21
|
+
const cartLink = "_cartLink_16o96_51";
|
|
22
|
+
const discountDescription = "_discountDescription_16o96_59";
|
|
23
|
+
const name = "_name_16o96_26";
|
|
24
|
+
const nameContainer = "_nameContainer_16o96_72";
|
|
25
|
+
const subtitle = "_subtitle_16o96_76";
|
|
26
|
+
const quantityPickerWrapper = "_quantityPickerWrapper_16o96_84";
|
|
27
|
+
const pricePer = "_pricePer_16o96_91";
|
|
28
|
+
const quantityPicker = "_quantityPicker_16o96_84";
|
|
29
|
+
const priceContainer = "_priceContainer_16o96_103";
|
|
30
|
+
const priceCost = "_priceCost_16o96_109";
|
|
31
|
+
const priceLabel = "_priceLabel_16o96_117";
|
|
32
|
+
const priceLinethrough = "_priceLinethrough_16o96_122";
|
|
33
|
+
const priceLinethroughDisclaimer = "_priceLinethroughDisclaimer_16o96_132";
|
|
34
|
+
const imageContainer = "_imageContainer_16o96_141";
|
|
35
|
+
const noImageContainer = "_noImageContainer_16o96_153";
|
|
36
|
+
const image = "_image_16o96_141";
|
|
37
|
+
const iconImage = "_iconImage_16o96_166";
|
|
38
|
+
const deleteButtonContainer = "_deleteButtonContainer_16o96_172";
|
|
39
|
+
const uniqueDiscount = "_uniqueDiscount_16o96_199";
|
|
40
|
+
const uniqueDiscountLabel = "_uniqueDiscountLabel_16o96_206";
|
|
41
|
+
const uniqueDiscountPrice = "_uniqueDiscountPrice_16o96_212";
|
|
42
|
+
const onlyInShops = "_onlyInShops_16o96_217";
|
|
43
|
+
const onlyInShopsLabel = "_onlyInShopsLabel_16o96_224";
|
|
44
|
+
const tooltipTrigger = "_tooltipTrigger_16o96_243";
|
|
45
|
+
const priceWrapper = "_priceWrapper_16o96_251";
|
|
45
46
|
const styles = {
|
|
46
47
|
item,
|
|
47
48
|
breakageFeeInfo,
|
|
48
49
|
nameWrapper,
|
|
49
50
|
link,
|
|
51
|
+
cartLink,
|
|
50
52
|
discountDescription,
|
|
51
53
|
name,
|
|
52
54
|
nameContainer,
|
|
@@ -70,8 +72,7 @@ const styles = {
|
|
|
70
72
|
onlyInShops,
|
|
71
73
|
onlyInShopsLabel,
|
|
72
74
|
tooltipTrigger,
|
|
73
|
-
|
|
74
|
-
cartLink
|
|
75
|
+
priceWrapper
|
|
75
76
|
};
|
|
76
77
|
const QuantityPicker = ({
|
|
77
78
|
quantity,
|
|
@@ -185,7 +186,7 @@ const CartItemPriceDisplay = ({ cartItem, hasPaid, onChangeQuantity }) => {
|
|
|
185
186
|
)
|
|
186
187
|
] }),
|
|
187
188
|
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { position: "relative" }, children: /* @__PURE__ */ jsxRuntime.jsxs("span", { className: styles.priceCost, children: [
|
|
188
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.
|
|
189
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.priceWrapper, children: [
|
|
189
190
|
discountPriceText && /* @__PURE__ */ jsxRuntime.jsxs(components_tooltip_index.Tooltip, { defaultOpen: true, children: [
|
|
190
191
|
/* @__PURE__ */ jsxRuntime.jsx(components_tooltip_index.Tooltip.Trigger, { className: styles.tooltipTrigger }),
|
|
191
192
|
/* @__PURE__ */ jsxRuntime.jsx(components_tooltip_index.Tooltip.Content, { children: /* @__PURE__ */ jsxRuntime.jsx(components_text_text.Text, { variant: "paragraph-100", dangerouslySetInnerHTML: { __html: discountPriceText } }) })
|
|
@@ -249,11 +250,11 @@ const CartItemName = ({ cartItem }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntim
|
|
|
249
250
|
cartItem.modelSize ? ", " + cartItem.modelSize : ""
|
|
250
251
|
] })
|
|
251
252
|
] });
|
|
252
|
-
const Item = ({ cartItem, onChangeQuantity, onRemoveItem }) => {
|
|
253
|
+
const Item = ({ cartItem, onChangeQuantity, onRemoveItem, className }) => {
|
|
253
254
|
var _a;
|
|
254
255
|
const { hasPaid, isAllowedToDelete } = components_shoppingCart_shoppingCartContext.useShoppingCart();
|
|
255
256
|
const isRemovable = !!((_a = cartItem.quantity) == null ? void 0 : _a.removable);
|
|
256
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.item, children: [
|
|
257
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx.clsx(styles.item, className), children: [
|
|
257
258
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.nameContainer, children: [
|
|
258
259
|
/* @__PURE__ */ jsxRuntime.jsx(CartItemImage, { cartItem }),
|
|
259
260
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.name, children: [
|
|
@@ -4,8 +4,9 @@ export interface ItemProps {
|
|
|
4
4
|
cartItem: CartItem;
|
|
5
5
|
onChangeQuantity: (cartItem: CartItem, quantity: number) => void;
|
|
6
6
|
onRemoveItem: (cartItem: CartItem) => void;
|
|
7
|
+
className?: string;
|
|
7
8
|
}
|
|
8
9
|
export declare const Item: {
|
|
9
|
-
({ cartItem, onChangeQuantity, onRemoveItem }: ItemProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
({ cartItem, onChangeQuantity, onRemoveItem, className }: ItemProps): import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
displayName: string;
|
|
11
12
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { clsx } from "clsx";
|
|
2
3
|
import "../../assets/sprite.6511e521-teddy.svg";
|
|
3
4
|
import { Icon } from "../icon/icon.js";
|
|
4
5
|
import { Text } from "../text/text.js";
|
|
@@ -11,40 +12,41 @@ import { Tooltip } from "../tooltip/index.js";
|
|
|
11
12
|
import { CART_ITEM_TYPE } from "./types.js";
|
|
12
13
|
import { useShoppingCart } from "./shopping-cart-context.js";
|
|
13
14
|
import { getDiscountPrice, getPrice, defaultFormatPrice } from "./utils.js";
|
|
14
|
-
const item = "
|
|
15
|
-
const breakageFeeInfo = "
|
|
16
|
-
const nameWrapper = "
|
|
17
|
-
const link = "
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
const
|
|
29
|
-
const
|
|
30
|
-
const
|
|
31
|
-
const
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
const
|
|
35
|
-
const
|
|
36
|
-
const
|
|
37
|
-
const
|
|
38
|
-
const
|
|
39
|
-
const
|
|
40
|
-
const
|
|
41
|
-
const
|
|
42
|
-
const
|
|
15
|
+
const item = "_item_16o96_1";
|
|
16
|
+
const breakageFeeInfo = "_breakageFeeInfo_16o96_7";
|
|
17
|
+
const nameWrapper = "_nameWrapper_16o96_26";
|
|
18
|
+
const link = "_link_16o96_33";
|
|
19
|
+
const cartLink = "_cartLink_16o96_51";
|
|
20
|
+
const discountDescription = "_discountDescription_16o96_59";
|
|
21
|
+
const name = "_name_16o96_26";
|
|
22
|
+
const nameContainer = "_nameContainer_16o96_72";
|
|
23
|
+
const subtitle = "_subtitle_16o96_76";
|
|
24
|
+
const quantityPickerWrapper = "_quantityPickerWrapper_16o96_84";
|
|
25
|
+
const pricePer = "_pricePer_16o96_91";
|
|
26
|
+
const quantityPicker = "_quantityPicker_16o96_84";
|
|
27
|
+
const priceContainer = "_priceContainer_16o96_103";
|
|
28
|
+
const priceCost = "_priceCost_16o96_109";
|
|
29
|
+
const priceLabel = "_priceLabel_16o96_117";
|
|
30
|
+
const priceLinethrough = "_priceLinethrough_16o96_122";
|
|
31
|
+
const priceLinethroughDisclaimer = "_priceLinethroughDisclaimer_16o96_132";
|
|
32
|
+
const imageContainer = "_imageContainer_16o96_141";
|
|
33
|
+
const noImageContainer = "_noImageContainer_16o96_153";
|
|
34
|
+
const image = "_image_16o96_141";
|
|
35
|
+
const iconImage = "_iconImage_16o96_166";
|
|
36
|
+
const deleteButtonContainer = "_deleteButtonContainer_16o96_172";
|
|
37
|
+
const uniqueDiscount = "_uniqueDiscount_16o96_199";
|
|
38
|
+
const uniqueDiscountLabel = "_uniqueDiscountLabel_16o96_206";
|
|
39
|
+
const uniqueDiscountPrice = "_uniqueDiscountPrice_16o96_212";
|
|
40
|
+
const onlyInShops = "_onlyInShops_16o96_217";
|
|
41
|
+
const onlyInShopsLabel = "_onlyInShopsLabel_16o96_224";
|
|
42
|
+
const tooltipTrigger = "_tooltipTrigger_16o96_243";
|
|
43
|
+
const priceWrapper = "_priceWrapper_16o96_251";
|
|
43
44
|
const styles = {
|
|
44
45
|
item,
|
|
45
46
|
breakageFeeInfo,
|
|
46
47
|
nameWrapper,
|
|
47
48
|
link,
|
|
49
|
+
cartLink,
|
|
48
50
|
discountDescription,
|
|
49
51
|
name,
|
|
50
52
|
nameContainer,
|
|
@@ -68,8 +70,7 @@ const styles = {
|
|
|
68
70
|
onlyInShops,
|
|
69
71
|
onlyInShopsLabel,
|
|
70
72
|
tooltipTrigger,
|
|
71
|
-
|
|
72
|
-
cartLink
|
|
73
|
+
priceWrapper
|
|
73
74
|
};
|
|
74
75
|
const QuantityPicker = ({
|
|
75
76
|
quantity,
|
|
@@ -183,7 +184,7 @@ const CartItemPriceDisplay = ({ cartItem, hasPaid, onChangeQuantity }) => {
|
|
|
183
184
|
)
|
|
184
185
|
] }),
|
|
185
186
|
/* @__PURE__ */ jsx("div", { style: { position: "relative" }, children: /* @__PURE__ */ jsxs("span", { className: styles.priceCost, children: [
|
|
186
|
-
/* @__PURE__ */ jsxs("div", { className: styles.
|
|
187
|
+
/* @__PURE__ */ jsxs("div", { className: styles.priceWrapper, children: [
|
|
187
188
|
discountPriceText && /* @__PURE__ */ jsxs(Tooltip, { defaultOpen: true, children: [
|
|
188
189
|
/* @__PURE__ */ jsx(Tooltip.Trigger, { className: styles.tooltipTrigger }),
|
|
189
190
|
/* @__PURE__ */ jsx(Tooltip.Content, { children: /* @__PURE__ */ jsx(Text, { variant: "paragraph-100", dangerouslySetInnerHTML: { __html: discountPriceText } }) })
|
|
@@ -247,11 +248,11 @@ const CartItemName = ({ cartItem }) => /* @__PURE__ */ jsxs(Fragment, { children
|
|
|
247
248
|
cartItem.modelSize ? ", " + cartItem.modelSize : ""
|
|
248
249
|
] })
|
|
249
250
|
] });
|
|
250
|
-
const Item = ({ cartItem, onChangeQuantity, onRemoveItem }) => {
|
|
251
|
+
const Item = ({ cartItem, onChangeQuantity, onRemoveItem, className }) => {
|
|
251
252
|
var _a;
|
|
252
253
|
const { hasPaid, isAllowedToDelete } = useShoppingCart();
|
|
253
254
|
const isRemovable = !!((_a = cartItem.quantity) == null ? void 0 : _a.removable);
|
|
254
|
-
return /* @__PURE__ */ jsxs("div", { className: styles.item, children: [
|
|
255
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx(styles.item, className), children: [
|
|
255
256
|
/* @__PURE__ */ jsxs("div", { className: styles.nameContainer, children: [
|
|
256
257
|
/* @__PURE__ */ jsx(CartItemImage, { cartItem }),
|
|
257
258
|
/* @__PURE__ */ jsxs("div", { className: styles.name, children: [
|
|
@@ -2,6 +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
|
+
const clsx = require("clsx");
|
|
5
6
|
const components_shoppingCart_shoppingCartItem = require("./shopping-cart-item.cjs");
|
|
6
7
|
const shoppingCart_module = require("../../shopping-cart.module-BCoLrcMI.cjs");
|
|
7
8
|
const components_shoppingCart_utils = require("./utils.cjs");
|
|
@@ -12,8 +13,8 @@ const ItemGroup = ({ cartItem, onChangeQuantity, onRemoveItem }) => {
|
|
|
12
13
|
] }, item.id);
|
|
13
14
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: shoppingCart_module.styles.sectionBody, children: renderCartItem(cartItem) });
|
|
14
15
|
};
|
|
15
|
-
const Items = ({ cartItems, onChangeQuantity, onRemoveItem }) => {
|
|
16
|
-
return /* @__PURE__ */ jsxRuntime.jsx("section", { children: components_shoppingCart_utils.sortByType(cartItems).map((item) => /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(ItemGroup, { cartItem: item, onChangeQuantity, onRemoveItem }) }, `${item.id}-${item.bundleId}`)) });
|
|
16
|
+
const Items = ({ cartItems, onChangeQuantity, onRemoveItem, className }) => {
|
|
17
|
+
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: clsx.clsx(className), children: components_shoppingCart_utils.sortByType(cartItems).map((item) => /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(ItemGroup, { cartItem: item, onChangeQuantity, onRemoveItem }) }, `${item.id}-${item.bundleId}`)) });
|
|
17
18
|
};
|
|
18
19
|
Items.displayName = "Items";
|
|
19
20
|
exports.Items = Items;
|
|
@@ -4,8 +4,9 @@ export interface ItemsProps {
|
|
|
4
4
|
cartItems: CartItem[];
|
|
5
5
|
onChangeQuantity: (item: CartItem, quantity: number) => void;
|
|
6
6
|
onRemoveItem: (item: CartItem) => void;
|
|
7
|
+
className?: string;
|
|
7
8
|
}
|
|
8
9
|
export declare const Items: {
|
|
9
|
-
({ cartItems, onChangeQuantity, onRemoveItem }: ItemsProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
({ cartItems, onChangeQuantity, onRemoveItem, className }: ItemsProps): import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
displayName: string;
|
|
11
12
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Fragment } from "react";
|
|
3
|
+
import { clsx } from "clsx";
|
|
3
4
|
import { Item } from "./shopping-cart-item.js";
|
|
4
5
|
import { s as styles } from "../../shopping-cart.module-DA25l2hr.js";
|
|
5
6
|
import { sortByType } from "./utils.js";
|
|
@@ -10,8 +11,8 @@ const ItemGroup = ({ cartItem, onChangeQuantity, onRemoveItem }) => {
|
|
|
10
11
|
] }, item.id);
|
|
11
12
|
return /* @__PURE__ */ jsx("div", { className: styles.sectionBody, children: renderCartItem(cartItem) });
|
|
12
13
|
};
|
|
13
|
-
const Items = ({ cartItems, onChangeQuantity, onRemoveItem }) => {
|
|
14
|
-
return /* @__PURE__ */ jsx("section", { children: sortByType(cartItems).map((item) => /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(ItemGroup, { cartItem: item, onChangeQuantity, onRemoveItem }) }, `${item.id}-${item.bundleId}`)) });
|
|
14
|
+
const Items = ({ cartItems, onChangeQuantity, onRemoveItem, className }) => {
|
|
15
|
+
return /* @__PURE__ */ jsx("section", { className: clsx(className), children: sortByType(cartItems).map((item) => /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(ItemGroup, { cartItem: item, onChangeQuantity, onRemoveItem }) }, `${item.id}-${item.bundleId}`)) });
|
|
15
16
|
};
|
|
16
17
|
Items.displayName = "Items";
|
|
17
18
|
export {
|
|
@@ -1,6 +1,7 @@
|
|
|
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
|
require("../../assets/sprite.6511e521-teddy.svg");
|
|
5
6
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
6
7
|
const components_tooltip_index = require("../tooltip/index.cjs");
|
|
@@ -34,11 +35,12 @@ const Payment = ({
|
|
|
34
35
|
paymentTooltip,
|
|
35
36
|
monthlyPriceDetails,
|
|
36
37
|
totalVAT,
|
|
37
|
-
totalPriceWithoutVAT
|
|
38
|
+
totalPriceWithoutVAT,
|
|
39
|
+
className
|
|
38
40
|
}) => {
|
|
39
41
|
const { formatPrice, hasPaid } = components_shoppingCart_shoppingCartContext.useShoppingCart();
|
|
40
42
|
const hasDelivery = delivery && Object.keys(delivery).length > 0;
|
|
41
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: shoppingCart_module.styles.section, children: [
|
|
43
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: clsx.clsx(shoppingCart_module.styles.section, className), children: [
|
|
42
44
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: shoppingCart_module.styles.sectionInner, children: [
|
|
43
45
|
hasDelivery && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: shoppingCart_module.styles.deliveryContainer, children: [
|
|
44
46
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: shoppingCart_module.styles.deliveryLeft, children: [
|
|
@@ -12,8 +12,9 @@ export interface PaymentProps {
|
|
|
12
12
|
totalPriceUpfront?: number;
|
|
13
13
|
totalVAT?: number;
|
|
14
14
|
totalPriceWithoutVAT?: number;
|
|
15
|
+
className?: string;
|
|
15
16
|
}
|
|
16
17
|
export declare const Payment: {
|
|
17
|
-
({ delivery, totalPriceUpfront, totalPriceMonthly, totalPriceFirstInvoice, paymentTooltip, monthlyPriceDetails, totalVAT, totalPriceWithoutVAT, }: PaymentProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
({ delivery, totalPriceUpfront, totalPriceMonthly, totalPriceFirstInvoice, paymentTooltip, monthlyPriceDetails, totalVAT, totalPriceWithoutVAT, className, }: PaymentProps): import("react/jsx-runtime").JSX.Element;
|
|
18
19
|
displayName: string;
|
|
19
20
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { clsx } from "clsx";
|
|
2
3
|
import "../../assets/sprite.6511e521-teddy.svg";
|
|
3
4
|
import { Icon } from "../icon/icon.js";
|
|
4
5
|
import { Tooltip } from "../tooltip/index.js";
|
|
@@ -32,11 +33,12 @@ const Payment = ({
|
|
|
32
33
|
paymentTooltip,
|
|
33
34
|
monthlyPriceDetails,
|
|
34
35
|
totalVAT,
|
|
35
|
-
totalPriceWithoutVAT
|
|
36
|
+
totalPriceWithoutVAT,
|
|
37
|
+
className
|
|
36
38
|
}) => {
|
|
37
39
|
const { formatPrice, hasPaid } = useShoppingCart();
|
|
38
40
|
const hasDelivery = delivery && Object.keys(delivery).length > 0;
|
|
39
|
-
return /* @__PURE__ */ jsxs("section", { className: styles.section, children: [
|
|
41
|
+
return /* @__PURE__ */ jsxs("section", { className: clsx(styles.section, className), children: [
|
|
40
42
|
/* @__PURE__ */ jsxs("div", { className: styles.sectionInner, children: [
|
|
41
43
|
hasDelivery && /* @__PURE__ */ jsxs("div", { className: styles.deliveryContainer, children: [
|
|
42
44
|
/* @__PURE__ */ jsxs("div", { className: styles.deliveryLeft, children: [
|
|
@@ -1,11 +1,12 @@
|
|
|
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 components_heading_heading = require("../heading/heading.cjs");
|
|
5
6
|
const components_shoppingCart_shoppingCartContext = require("./shopping-cart-context.cjs");
|
|
6
7
|
const shoppingCart_module = require("../../shopping-cart.module-BCoLrcMI.cjs");
|
|
7
|
-
const Root = ({ heading, children, formatPrice, hasPaid, isAllowedToDelete }) => {
|
|
8
|
-
return /* @__PURE__ */ jsxRuntime.jsx(components_shoppingCart_shoppingCartContext.ShoppingCartProvider, { value: { formatPrice, hasPaid, isAllowedToDelete }, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: shoppingCart_module.styles.shoppingCart, children: [
|
|
8
|
+
const Root = ({ heading, children, formatPrice, hasPaid, isAllowedToDelete, className }) => {
|
|
9
|
+
return /* @__PURE__ */ jsxRuntime.jsx(components_shoppingCart_shoppingCartContext.ShoppingCartProvider, { value: { formatPrice, hasPaid, isAllowedToDelete }, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx.clsx(shoppingCart_module.styles.shoppingCart, className), children: [
|
|
9
10
|
heading && /* @__PURE__ */ jsxRuntime.jsx("div", { className: shoppingCart_module.styles.sectionInner, children: /* @__PURE__ */ jsxRuntime.jsx(components_heading_heading.Heading, { className: shoppingCart_module.styles.heading, as: "h2", variant: "title-100", children: heading }) }),
|
|
10
11
|
children
|
|
11
12
|
] }) });
|
|
@@ -3,8 +3,9 @@ import { ShoppingCartContextValue } from './shopping-cart-context';
|
|
|
3
3
|
export interface RootProps extends ShoppingCartContextValue {
|
|
4
4
|
heading?: string;
|
|
5
5
|
children: React.ReactNode;
|
|
6
|
+
className?: string;
|
|
6
7
|
}
|
|
7
8
|
export declare const Root: {
|
|
8
|
-
({ heading, children, formatPrice, hasPaid, isAllowedToDelete }: RootProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
({ heading, children, formatPrice, hasPaid, isAllowedToDelete, className }: RootProps): import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
displayName: string;
|
|
10
11
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { clsx } from "clsx";
|
|
2
3
|
import { Heading } from "../heading/heading.js";
|
|
3
4
|
import { ShoppingCartProvider } from "./shopping-cart-context.js";
|
|
4
5
|
import { s as styles } from "../../shopping-cart.module-DA25l2hr.js";
|
|
5
|
-
const Root = ({ heading, children, formatPrice, hasPaid, isAllowedToDelete }) => {
|
|
6
|
-
return /* @__PURE__ */ jsx(ShoppingCartProvider, { value: { formatPrice, hasPaid, isAllowedToDelete }, children: /* @__PURE__ */ jsxs("div", { className: styles.shoppingCart, children: [
|
|
6
|
+
const Root = ({ heading, children, formatPrice, hasPaid, isAllowedToDelete, className }) => {
|
|
7
|
+
return /* @__PURE__ */ jsx(ShoppingCartProvider, { value: { formatPrice, hasPaid, isAllowedToDelete }, children: /* @__PURE__ */ jsxs("div", { className: clsx(styles.shoppingCart, className), children: [
|
|
7
8
|
heading && /* @__PURE__ */ jsx("div", { className: styles.sectionInner, children: /* @__PURE__ */ jsx(Heading, { className: styles.heading, as: "h2", variant: "title-100", children: heading }) }),
|
|
8
9
|
children
|
|
9
10
|
] }) });
|
|
@@ -45,7 +45,7 @@ type TabsProps = {
|
|
|
45
45
|
* <Tabs.Content value="tab2">Content for second tab</Tabs.Content>
|
|
46
46
|
* </Tabs>
|
|
47
47
|
*/
|
|
48
|
-
declare const Tabs: import('react').ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-tabs').TabsProps & import('react').RefAttributes<HTMLDivElement>, "ref">, "
|
|
48
|
+
declare const Tabs: import('react').ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-tabs').TabsProps & import('react').RefAttributes<HTMLDivElement>, "ref">, "defaultValue" | "value" | "onValueChange" | "activationMode"> & {
|
|
49
49
|
value?: string | undefined;
|
|
50
50
|
onValueChange?: ((value: string) => void) | undefined;
|
|
51
51
|
defaultValue?: string | undefined;
|
|
@@ -34,7 +34,7 @@ type RootContextType = {
|
|
|
34
34
|
value: string | undefined;
|
|
35
35
|
};
|
|
36
36
|
export declare const RootContext: React.Context<RootContextType | undefined>;
|
|
37
|
-
export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>, "ref">, "
|
|
37
|
+
export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>, "ref">, "defaultValue" | "value" | "onValueChange" | "activationMode"> & {
|
|
38
38
|
/** The controlled value of the tab to activate. Should be used in conjunction with onValueChange. */
|
|
39
39
|
value?: TabsPrimitive.TabsProps['value'];
|
|
40
40
|
/** Event handler called when the value changes. */
|
|
@@ -10,7 +10,7 @@ export declare const ScrollButton: React.ForwardRefExoticComponent<Omit<Omit<Omi
|
|
|
10
10
|
loading?: boolean | undefined;
|
|
11
11
|
fullWidth?: boolean | undefined;
|
|
12
12
|
size?: "sm" | "md" | "lg" | undefined;
|
|
13
|
-
variant?: "
|
|
13
|
+
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;
|
|
14
14
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
15
15
|
} & {
|
|
16
16
|
iconOnly: true;
|
|
@@ -22,7 +22,7 @@ export declare const ScrollButton: React.ForwardRefExoticComponent<Omit<Omit<Omi
|
|
|
22
22
|
loading?: boolean | undefined;
|
|
23
23
|
fullWidth?: boolean | undefined;
|
|
24
24
|
size?: "sm" | "md" | "lg" | undefined;
|
|
25
|
-
variant?: "
|
|
25
|
+
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;
|
|
26
26
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
27
27
|
} & {
|
|
28
28
|
iconOnly?: false | undefined;
|
|
@@ -37,7 +37,7 @@ export declare const TextField: import('react').ForwardRefExoticComponent<Omit<i
|
|
|
37
37
|
loading?: boolean | undefined;
|
|
38
38
|
fullWidth?: boolean | undefined;
|
|
39
39
|
size?: "sm" | "md" | "lg" | undefined;
|
|
40
|
-
variant?: "
|
|
40
|
+
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;
|
|
41
41
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
42
42
|
} & {
|
|
43
43
|
iconOnly: true;
|
|
@@ -49,7 +49,7 @@ export declare const TextField: import('react').ForwardRefExoticComponent<Omit<i
|
|
|
49
49
|
loading?: boolean | undefined;
|
|
50
50
|
fullWidth?: boolean | undefined;
|
|
51
51
|
size?: "sm" | "md" | "lg" | undefined;
|
|
52
|
-
variant?: "
|
|
52
|
+
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;
|
|
53
53
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
54
54
|
} & {
|
|
55
55
|
iconOnly?: false | undefined;
|
|
@@ -11,7 +11,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
|
|
|
11
11
|
loading?: boolean | undefined;
|
|
12
12
|
fullWidth?: boolean | undefined;
|
|
13
13
|
size?: "sm" | "md" | "lg" | undefined;
|
|
14
|
-
variant?: "
|
|
14
|
+
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;
|
|
15
15
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
16
16
|
} & {
|
|
17
17
|
iconOnly: true;
|
|
@@ -23,7 +23,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
|
|
|
23
23
|
loading?: boolean | undefined;
|
|
24
24
|
fullWidth?: boolean | undefined;
|
|
25
25
|
size?: "sm" | "md" | "lg" | undefined;
|
|
26
|
-
variant?: "
|
|
26
|
+
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;
|
|
27
27
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
28
28
|
} & {
|
|
29
29
|
iconOnly?: false | undefined;
|
|
@@ -8,7 +8,7 @@ declare const TextareaGroup: import('react').ForwardRefExoticComponent<Omit<impo
|
|
|
8
8
|
preventGroupClickSelect?: boolean | undefined;
|
|
9
9
|
} & import('react').RefAttributes<HTMLDivElement>> & {
|
|
10
10
|
Textarea: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref">, "children"> & {
|
|
11
|
-
validationState?: ("
|
|
11
|
+
validationState?: ("invalid" | "valid") | undefined;
|
|
12
12
|
isLoading?: boolean | undefined;
|
|
13
13
|
autosize?: boolean | undefined;
|
|
14
14
|
charactersLimit?: number | undefined;
|
|
@@ -29,8 +29,8 @@ 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: "
|
|
33
|
-
size?: ("xxs" | "xs" | "sm" | "md" | "lg" | "xl"
|
|
32
|
+
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";
|
|
33
|
+
size?: ("font" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl") | undefined;
|
|
34
34
|
title?: string | undefined;
|
|
35
35
|
children?: React.ReactNode;
|
|
36
36
|
}, "ref">> & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -17,7 +17,7 @@ export declare const Tooltip: typeof Root & {
|
|
|
17
17
|
}>) => void) | undefined;
|
|
18
18
|
side?: "top" | "bottom" | "left" | "right" | undefined;
|
|
19
19
|
sideOffset?: number | undefined;
|
|
20
|
-
align?: "
|
|
20
|
+
align?: "end" | "center" | "start" | undefined;
|
|
21
21
|
alignOffset?: number | undefined;
|
|
22
22
|
arrowPadding?: number | undefined;
|
|
23
23
|
avoidCollisions?: boolean | undefined;
|