@telia/teddy 0.0.35 → 0.0.37
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/badge/badge.cjs +10 -10
- package/dist/components/badge/badge.js +10 -10
- package/dist/components/card/card.cjs +18 -2
- package/dist/components/card/card.d.ts +2 -0
- package/dist/components/card/card.js +18 -2
- package/dist/components/drawer/drawer-close.cjs +1 -1
- package/dist/components/drawer/drawer-close.js +1 -1
- package/dist/components/drawer/drawer-content.cjs +2 -2
- package/dist/components/drawer/drawer-content.js +2 -2
- package/dist/components/drawer/drawer-description.cjs +1 -1
- package/dist/components/drawer/drawer-description.js +1 -1
- package/dist/components/drawer/drawer-footer.cjs +1 -1
- package/dist/components/drawer/drawer-footer.js +1 -1
- package/dist/components/drawer/drawer-overlay.cjs +1 -1
- package/dist/components/drawer/drawer-overlay.js +1 -1
- package/dist/components/drawer/drawer-title.cjs +1 -1
- package/dist/components/drawer/drawer-title.js +1 -1
- package/dist/components/expandable-card/expandable-card-indicator.cjs +0 -1
- package/dist/components/expandable-card/expandable-card-indicator.js +0 -1
- package/dist/components/expandable-card/expandable-card-root.cjs +15 -15
- package/dist/components/expandable-card/expandable-card-root.js +15 -15
- package/dist/components/expandable-card/index.cjs +4 -1
- package/dist/components/expandable-card/index.d.ts +3 -0
- package/dist/components/expandable-card/index.js +4 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-desktop-simplified.cjs +9 -0
- package/dist/components/navigation-menu/global-navigation/global-navigation-desktop-simplified.d.ts +8 -0
- package/dist/components/navigation-menu/global-navigation/global-navigation-desktop-simplified.js +9 -0
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile-simplified.cjs +12 -0
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile-simplified.d.ts +7 -0
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile-simplified.js +12 -0
- package/dist/components/navigation-menu/global-navigation/global-navigation-my-pages.cjs +52 -2
- package/dist/components/navigation-menu/global-navigation/global-navigation-my-pages.js +53 -3
- package/dist/components/navigation-menu/global-navigation/global-navigation-root.d.ts +2 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-root.js +2 -2
- package/dist/components/notification/notification.d.ts +3 -0
- package/dist/drawer.module-BNPErv-x.js +16 -0
- package/dist/drawer.module-CTowTFmf.cjs +15 -0
- package/dist/style.css +135 -116
- package/package.json +1 -1
- package/dist/drawer.module-BPXo6-Q2.js +0 -15
- package/dist/drawer.module-_pUdp_M1.cjs +0 -14
|
@@ -7,16 +7,16 @@ const reactSlot = require("@radix-ui/react-slot");
|
|
|
7
7
|
require("../../assets/sprite.269ba410-teddy.svg");
|
|
8
8
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
9
9
|
const styles = {
|
|
10
|
-
"teddy-badge": "_teddy-
|
|
11
|
-
"teddy-badge--counter-badge": "_teddy-badge--counter-
|
|
12
|
-
"teddy-badge--alert-badge": "_teddy-badge--alert-
|
|
13
|
-
"teddy-badge--attention": "_teddy-badge--
|
|
14
|
-
"teddy-badge--special": "_teddy-badge--
|
|
15
|
-
"teddy-badge--neutral": "_teddy-badge--
|
|
16
|
-
"teddy-badge--information": "_teddy-badge--
|
|
17
|
-
"teddy-badge--success": "_teddy-badge--
|
|
18
|
-
"teddy-badge--warning": "_teddy-badge--
|
|
19
|
-
"teddy-badge--error": "_teddy-badge--
|
|
10
|
+
"teddy-badge": "_teddy-badge_wlyo5_1",
|
|
11
|
+
"teddy-badge--counter-badge": "_teddy-badge--counter-badge_wlyo5_13",
|
|
12
|
+
"teddy-badge--alert-badge": "_teddy-badge--alert-badge_wlyo5_23",
|
|
13
|
+
"teddy-badge--attention": "_teddy-badge--attention_wlyo5_33",
|
|
14
|
+
"teddy-badge--special": "_teddy-badge--special_wlyo5_40",
|
|
15
|
+
"teddy-badge--neutral": "_teddy-badge--neutral_wlyo5_44",
|
|
16
|
+
"teddy-badge--information": "_teddy-badge--information_wlyo5_52",
|
|
17
|
+
"teddy-badge--success": "_teddy-badge--success_wlyo5_60",
|
|
18
|
+
"teddy-badge--warning": "_teddy-badge--warning_wlyo5_68",
|
|
19
|
+
"teddy-badge--error": "_teddy-badge--error_wlyo5_76"
|
|
20
20
|
};
|
|
21
21
|
const rootClassName = "teddy-badge";
|
|
22
22
|
function getIcon(variant) {
|
|
@@ -5,16 +5,16 @@ import { Slottable, Slot } from "@radix-ui/react-slot";
|
|
|
5
5
|
import "../../assets/sprite.269ba410-teddy.svg";
|
|
6
6
|
import { Icon } from "../icon/icon.js";
|
|
7
7
|
const styles = {
|
|
8
|
-
"teddy-badge": "_teddy-
|
|
9
|
-
"teddy-badge--counter-badge": "_teddy-badge--counter-
|
|
10
|
-
"teddy-badge--alert-badge": "_teddy-badge--alert-
|
|
11
|
-
"teddy-badge--attention": "_teddy-badge--
|
|
12
|
-
"teddy-badge--special": "_teddy-badge--
|
|
13
|
-
"teddy-badge--neutral": "_teddy-badge--
|
|
14
|
-
"teddy-badge--information": "_teddy-badge--
|
|
15
|
-
"teddy-badge--success": "_teddy-badge--
|
|
16
|
-
"teddy-badge--warning": "_teddy-badge--
|
|
17
|
-
"teddy-badge--error": "_teddy-badge--
|
|
8
|
+
"teddy-badge": "_teddy-badge_wlyo5_1",
|
|
9
|
+
"teddy-badge--counter-badge": "_teddy-badge--counter-badge_wlyo5_13",
|
|
10
|
+
"teddy-badge--alert-badge": "_teddy-badge--alert-badge_wlyo5_23",
|
|
11
|
+
"teddy-badge--attention": "_teddy-badge--attention_wlyo5_33",
|
|
12
|
+
"teddy-badge--special": "_teddy-badge--special_wlyo5_40",
|
|
13
|
+
"teddy-badge--neutral": "_teddy-badge--neutral_wlyo5_44",
|
|
14
|
+
"teddy-badge--information": "_teddy-badge--information_wlyo5_52",
|
|
15
|
+
"teddy-badge--success": "_teddy-badge--success_wlyo5_60",
|
|
16
|
+
"teddy-badge--warning": "_teddy-badge--warning_wlyo5_68",
|
|
17
|
+
"teddy-badge--error": "_teddy-badge--error_wlyo5_76"
|
|
18
18
|
};
|
|
19
19
|
const rootClassName = "teddy-badge";
|
|
20
20
|
function getIcon(variant) {
|
|
@@ -11,6 +11,7 @@ const components_button_button = require("../button/button.cjs");
|
|
|
11
11
|
const components_link_link = require("../link/link.cjs");
|
|
12
12
|
const tokens_spacing_variables = require("../../tokens/spacing/variables.cjs");
|
|
13
13
|
const components_grid_grid = require("../grid/grid.cjs");
|
|
14
|
+
const tokens_color_variables = require("../../tokens/color/variables.cjs");
|
|
14
15
|
const styles = {
|
|
15
16
|
"teddy-card": "_teddy-card_aok47_3",
|
|
16
17
|
"teddy-card__slot": "_teddy-card__slot_aok47_13",
|
|
@@ -47,7 +48,7 @@ const actionElementIdentifier = `${rootClassName}__action`;
|
|
|
47
48
|
const variantOptions = ["purple-light", "purple-dark", "gray", "white", "beige"];
|
|
48
49
|
const RootContext = React.createContext(void 0);
|
|
49
50
|
const Root = React.forwardRef(
|
|
50
|
-
({ className, children, shadow, backgroundImageSrc, layout, variant, bordered, ...props }, forwardRef) => {
|
|
51
|
+
({ className, children, shadow, backgroundImageSrc, imageGradient, layout, variant, bordered, ...props }, forwardRef) => {
|
|
51
52
|
const buttonRef = React.useRef(null);
|
|
52
53
|
const linkRef = React.useRef(null);
|
|
53
54
|
const classes = clsx(
|
|
@@ -57,17 +58,32 @@ const Root = React.forwardRef(
|
|
|
57
58
|
[styles[`${rootClassName}--border`]]: bordered,
|
|
58
59
|
[styles[`${rootClassName}--shadow`]]: shadow,
|
|
59
60
|
[styles[`${rootClassName}--background-image`]]: backgroundImageSrc,
|
|
61
|
+
[styles[`${rootClassName}--background-image--${layout}`]]: layout,
|
|
60
62
|
[styles[`${rootClassName}--layout`]]: layout,
|
|
61
63
|
[styles[`${rootClassName}--${layout}`]]: layout
|
|
62
64
|
},
|
|
63
65
|
className
|
|
64
66
|
);
|
|
67
|
+
const customStyle = backgroundImageSrc ? imageGradient === "light" ? {
|
|
68
|
+
backgroundImage: `
|
|
69
|
+
linear-gradient(${tokens_color_variables.teddyColorTransparentWhite850} 0%,
|
|
70
|
+
${tokens_color_variables.teddyColorTransparentWhite800} 50%,
|
|
71
|
+
${tokens_color_variables.teddyColorTransparentWhite100} 100%),
|
|
72
|
+
url(${backgroundImageSrc})`,
|
|
73
|
+
...props.style
|
|
74
|
+
} : {
|
|
75
|
+
backgroundImage: `
|
|
76
|
+
linear-gradient(${tokens_color_variables.teddyColorTransparentBlack600} 0%,
|
|
77
|
+
${tokens_color_variables.teddyColorTransparentBlack200} 100%),
|
|
78
|
+
url(${backgroundImageSrc})`,
|
|
79
|
+
...props.style
|
|
80
|
+
} : props.style;
|
|
65
81
|
return /* @__PURE__ */ jsxRuntime.jsx(RootContext.Provider, { value: { buttonRef, linkRef, variant, layout }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
66
82
|
components_grid_grid.Grid,
|
|
67
83
|
{
|
|
68
84
|
...props,
|
|
69
85
|
className: classes,
|
|
70
|
-
style:
|
|
86
|
+
style: customStyle,
|
|
71
87
|
onClick: utils_composeEventHandlers.composeEventHandlers(props.onClick, (e) => {
|
|
72
88
|
var _a;
|
|
73
89
|
if (e.isDefaultPrevented())
|
|
@@ -8,6 +8,7 @@ import { Grid } from '../grid';
|
|
|
8
8
|
declare const variantOptions: readonly ["purple-light", "purple-dark", "gray", "white", "beige"];
|
|
9
9
|
type Variant = (typeof variantOptions)[number];
|
|
10
10
|
type Layout = 'navigation-vertical' | 'navigation-horizontal-small' | 'navigation-horizontal-large' | 'rich-card';
|
|
11
|
+
type Gradient = 'light' | 'dark';
|
|
11
12
|
/** -------------------------------------------------------------------------------------------------
|
|
12
13
|
* Root
|
|
13
14
|
* -----------------------------------------------------------------------------------------------*/
|
|
@@ -17,6 +18,7 @@ type RootProps = React.ComponentPropsWithoutRef<typeof Grid> & {
|
|
|
17
18
|
bordered?: boolean;
|
|
18
19
|
shadow?: boolean;
|
|
19
20
|
backgroundImageSrc?: string;
|
|
21
|
+
imageGradient?: Gradient;
|
|
20
22
|
layout?: Layout;
|
|
21
23
|
};
|
|
22
24
|
/** -------------------------------------------------------------------------------------------------
|
|
@@ -9,6 +9,7 @@ import { Button as Button$1 } from "../button/button.js";
|
|
|
9
9
|
import { Link as Link$1 } from "../link/link.js";
|
|
10
10
|
import { teddySpacing50 } from "../../tokens/spacing/variables.js";
|
|
11
11
|
import { Grid } from "../grid/grid.js";
|
|
12
|
+
import { teddyColorTransparentWhite850, teddyColorTransparentWhite800, teddyColorTransparentWhite100, teddyColorTransparentBlack600, teddyColorTransparentBlack200 } from "../../tokens/color/variables.js";
|
|
12
13
|
const styles = {
|
|
13
14
|
"teddy-card": "_teddy-card_aok47_3",
|
|
14
15
|
"teddy-card__slot": "_teddy-card__slot_aok47_13",
|
|
@@ -45,7 +46,7 @@ const actionElementIdentifier = `${rootClassName}__action`;
|
|
|
45
46
|
const variantOptions = ["purple-light", "purple-dark", "gray", "white", "beige"];
|
|
46
47
|
const RootContext = React__default.createContext(void 0);
|
|
47
48
|
const Root = React__default.forwardRef(
|
|
48
|
-
({ className, children, shadow, backgroundImageSrc, layout, variant, bordered, ...props }, forwardRef) => {
|
|
49
|
+
({ className, children, shadow, backgroundImageSrc, imageGradient, layout, variant, bordered, ...props }, forwardRef) => {
|
|
49
50
|
const buttonRef = React__default.useRef(null);
|
|
50
51
|
const linkRef = React__default.useRef(null);
|
|
51
52
|
const classes = clsx(
|
|
@@ -55,17 +56,32 @@ const Root = React__default.forwardRef(
|
|
|
55
56
|
[styles[`${rootClassName}--border`]]: bordered,
|
|
56
57
|
[styles[`${rootClassName}--shadow`]]: shadow,
|
|
57
58
|
[styles[`${rootClassName}--background-image`]]: backgroundImageSrc,
|
|
59
|
+
[styles[`${rootClassName}--background-image--${layout}`]]: layout,
|
|
58
60
|
[styles[`${rootClassName}--layout`]]: layout,
|
|
59
61
|
[styles[`${rootClassName}--${layout}`]]: layout
|
|
60
62
|
},
|
|
61
63
|
className
|
|
62
64
|
);
|
|
65
|
+
const customStyle = backgroundImageSrc ? imageGradient === "light" ? {
|
|
66
|
+
backgroundImage: `
|
|
67
|
+
linear-gradient(${teddyColorTransparentWhite850} 0%,
|
|
68
|
+
${teddyColorTransparentWhite800} 50%,
|
|
69
|
+
${teddyColorTransparentWhite100} 100%),
|
|
70
|
+
url(${backgroundImageSrc})`,
|
|
71
|
+
...props.style
|
|
72
|
+
} : {
|
|
73
|
+
backgroundImage: `
|
|
74
|
+
linear-gradient(${teddyColorTransparentBlack600} 0%,
|
|
75
|
+
${teddyColorTransparentBlack200} 100%),
|
|
76
|
+
url(${backgroundImageSrc})`,
|
|
77
|
+
...props.style
|
|
78
|
+
} : props.style;
|
|
63
79
|
return /* @__PURE__ */ jsx(RootContext.Provider, { value: { buttonRef, linkRef, variant, layout }, children: /* @__PURE__ */ jsx(
|
|
64
80
|
Grid,
|
|
65
81
|
{
|
|
66
82
|
...props,
|
|
67
83
|
className: classes,
|
|
68
|
-
style:
|
|
84
|
+
style: customStyle,
|
|
69
85
|
onClick: composeEventHandlers(props.onClick, (e) => {
|
|
70
86
|
var _a;
|
|
71
87
|
if (e.isDefaultPrevented())
|
|
@@ -4,7 +4,7 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const clsx = require("clsx");
|
|
6
6
|
const DrawerPrimitive = require("@radix-ui/react-dialog");
|
|
7
|
-
const drawer_module = require("../../drawer.module-
|
|
7
|
+
const drawer_module = require("../../drawer.module-CTowTFmf.cjs");
|
|
8
8
|
const components_drawer_drawerRoot = require("./drawer-root.cjs");
|
|
9
9
|
require("../../assets/sprite.269ba410-teddy.svg");
|
|
10
10
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import * as DrawerPrimitive from "@radix-ui/react-dialog";
|
|
5
|
-
import { s as styles } from "../../drawer.module-
|
|
5
|
+
import { s as styles } from "../../drawer.module-BNPErv-x.js";
|
|
6
6
|
import { rootClassName } from "./drawer-root.js";
|
|
7
7
|
import "../../assets/sprite.269ba410-teddy.svg";
|
|
8
8
|
import { Icon } from "../icon/icon.js";
|
|
@@ -4,7 +4,7 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const clsx = require("clsx");
|
|
6
6
|
const DrawerPrimitive = require("@radix-ui/react-dialog");
|
|
7
|
-
const drawer_module = require("../../drawer.module-
|
|
7
|
+
const drawer_module = require("../../drawer.module-CTowTFmf.cjs");
|
|
8
8
|
const components_drawer_drawerRoot = require("./drawer-root.cjs");
|
|
9
9
|
const components_drawer_drawerOverlay = require("./drawer-overlay.cjs");
|
|
10
10
|
const components_flex_flex = require("../flex/flex.cjs");
|
|
@@ -36,7 +36,7 @@ const InnerContent = React.forwardRef(
|
|
|
36
36
|
],
|
|
37
37
|
className
|
|
38
38
|
);
|
|
39
|
-
return /* @__PURE__ */ jsxRuntime.jsx(DrawerPrimitive__namespace.Content, { ...props, ref: forwardedRef,
|
|
39
|
+
return /* @__PURE__ */ jsxRuntime.jsx(DrawerPrimitive__namespace.Content, { ...props, ref: forwardedRef, asChild: true, className: classes, children: /* @__PURE__ */ jsxRuntime.jsx(components_flex_flex.Flex, { children }) });
|
|
40
40
|
}
|
|
41
41
|
);
|
|
42
42
|
const Content = React.forwardRef(
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import * as DrawerPrimitive from "@radix-ui/react-dialog";
|
|
5
|
-
import { s as styles } from "../../drawer.module-
|
|
5
|
+
import { s as styles } from "../../drawer.module-BNPErv-x.js";
|
|
6
6
|
import { rootClassName } from "./drawer-root.js";
|
|
7
7
|
import { OverlayContext, Overlay } from "./drawer-overlay.js";
|
|
8
8
|
import { Flex } from "../flex/flex.js";
|
|
@@ -17,7 +17,7 @@ const InnerContent = React__default.forwardRef(
|
|
|
17
17
|
],
|
|
18
18
|
className
|
|
19
19
|
);
|
|
20
|
-
return /* @__PURE__ */ jsx(DrawerPrimitive.Content, { ...props, ref: forwardedRef,
|
|
20
|
+
return /* @__PURE__ */ jsx(DrawerPrimitive.Content, { ...props, ref: forwardedRef, asChild: true, className: classes, children: /* @__PURE__ */ jsx(Flex, { children }) });
|
|
21
21
|
}
|
|
22
22
|
);
|
|
23
23
|
const Content = React__default.forwardRef(
|
|
@@ -4,7 +4,7 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const clsx = require("clsx");
|
|
6
6
|
const DrawerPrimitive = require("@radix-ui/react-dialog");
|
|
7
|
-
const drawer_module = require("../../drawer.module-
|
|
7
|
+
const drawer_module = require("../../drawer.module-CTowTFmf.cjs");
|
|
8
8
|
const components_drawer_drawerRoot = require("./drawer-root.cjs");
|
|
9
9
|
const components_text_text = require("../text/text.cjs");
|
|
10
10
|
function _interopNamespaceDefault(e) {
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import * as DrawerPrimitive from "@radix-ui/react-dialog";
|
|
5
|
-
import { s as styles } from "../../drawer.module-
|
|
5
|
+
import { s as styles } from "../../drawer.module-BNPErv-x.js";
|
|
6
6
|
import { rootClassName } from "./drawer-root.js";
|
|
7
7
|
import { Text } from "../text/text.js";
|
|
8
8
|
const DescriptionContext = React__default.createContext(false);
|
|
@@ -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
|
-
const drawer_module = require("../../drawer.module-
|
|
6
|
+
const drawer_module = require("../../drawer.module-CTowTFmf.cjs");
|
|
7
7
|
const components_drawer_drawerRoot = require("./drawer-root.cjs");
|
|
8
8
|
const components_flex_flex = require("../flex/flex.cjs");
|
|
9
9
|
const Footer = React.forwardRef(
|
|
@@ -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 { s as styles } from "../../drawer.module-
|
|
4
|
+
import { s as styles } from "../../drawer.module-BNPErv-x.js";
|
|
5
5
|
import { rootClassName } from "./drawer-root.js";
|
|
6
6
|
import { Flex } from "../flex/flex.js";
|
|
7
7
|
const Footer = React__default.forwardRef(
|
|
@@ -4,7 +4,7 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const clsx = require("clsx");
|
|
6
6
|
const DrawerPrimitive = require("@radix-ui/react-dialog");
|
|
7
|
-
const drawer_module = require("../../drawer.module-
|
|
7
|
+
const drawer_module = require("../../drawer.module-CTowTFmf.cjs");
|
|
8
8
|
const components_drawer_drawerRoot = require("./drawer-root.cjs");
|
|
9
9
|
function _interopNamespaceDefault(e) {
|
|
10
10
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import * as DrawerPrimitive from "@radix-ui/react-dialog";
|
|
5
|
-
import { s as styles } from "../../drawer.module-
|
|
5
|
+
import { s as styles } from "../../drawer.module-BNPErv-x.js";
|
|
6
6
|
import { rootClassName } from "./drawer-root.js";
|
|
7
7
|
const OverlayContext = React__default.createContext(false);
|
|
8
8
|
const Overlay = React__default.forwardRef(
|
|
@@ -4,7 +4,7 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const clsx = require("clsx");
|
|
6
6
|
const DrawerPrimitive = require("@radix-ui/react-dialog");
|
|
7
|
-
const drawer_module = require("../../drawer.module-
|
|
7
|
+
const drawer_module = require("../../drawer.module-CTowTFmf.cjs");
|
|
8
8
|
const components_drawer_drawerRoot = require("./drawer-root.cjs");
|
|
9
9
|
const components_heading_heading = require("../heading/heading.cjs");
|
|
10
10
|
function _interopNamespaceDefault(e) {
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import * as DrawerPrimitive from "@radix-ui/react-dialog";
|
|
5
|
-
import { s as styles } from "../../drawer.module-
|
|
5
|
+
import { s as styles } from "../../drawer.module-BNPErv-x.js";
|
|
6
6
|
import { rootClassName } from "./drawer-root.js";
|
|
7
7
|
import { Heading } from "../heading/heading.js";
|
|
8
8
|
const Title = React__default.forwardRef(
|
|
@@ -12,5 +12,4 @@ const Indicator = React.forwardRef(
|
|
|
12
12
|
return /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { "aria-hidden": true, name, ...props, ref: forwardRef, className: classes, children });
|
|
13
13
|
}
|
|
14
14
|
);
|
|
15
|
-
Indicator.displayName = "Indicator";
|
|
16
15
|
exports.Indicator = Indicator;
|
|
@@ -22,21 +22,21 @@ function _interopNamespaceDefault(e) {
|
|
|
22
22
|
}
|
|
23
23
|
const AccordionPrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(AccordionPrimitive);
|
|
24
24
|
const styles = {
|
|
25
|
-
"teddy-expandable-card": "_teddy-expandable-
|
|
26
|
-
"teddy-expandable-card__item": "_teddy-expandable-
|
|
27
|
-
"teddy-expandable-card__trigger": "_teddy-expandable-
|
|
28
|
-
"teddy-expandable-card__indicator": "_teddy-expandable-
|
|
29
|
-
"teddy-expandable-card__hidden": "_teddy-expandable-
|
|
30
|
-
"teddy-expandable-card__line": "_teddy-expandable-
|
|
31
|
-
"teddy-expandable-card__content": "_teddy-expandable-
|
|
32
|
-
"teddy-expandable-card__description": "_teddy-expandable-
|
|
33
|
-
"teddy-expandable-card__price": "_teddy-expandable-
|
|
34
|
-
"teddy-expandable-card__header": "_teddy-expandable-
|
|
35
|
-
"teddy-expandable-card__slot": "_teddy-expandable-
|
|
36
|
-
"teddy-expandable-card__slot--
|
|
37
|
-
"teddy-expandable-card__slot--
|
|
38
|
-
"teddy-expandable-card__button--right": "_teddy-expandable-card__button--
|
|
39
|
-
"teddy-expandable-card__button--left": "_teddy-expandable-card__button--
|
|
25
|
+
"teddy-expandable-card": "_teddy-expandable-card_15whs_1",
|
|
26
|
+
"teddy-expandable-card__item": "_teddy-expandable-card__item_15whs_7",
|
|
27
|
+
"teddy-expandable-card__trigger": "_teddy-expandable-card__trigger_15whs_15",
|
|
28
|
+
"teddy-expandable-card__indicator": "_teddy-expandable-card__indicator_15whs_39",
|
|
29
|
+
"teddy-expandable-card__hidden": "_teddy-expandable-card__hidden_15whs_51",
|
|
30
|
+
"teddy-expandable-card__line": "_teddy-expandable-card__line_15whs_57",
|
|
31
|
+
"teddy-expandable-card__content": "_teddy-expandable-card__content_15whs_60",
|
|
32
|
+
"teddy-expandable-card__description": "_teddy-expandable-card__description_15whs_69",
|
|
33
|
+
"teddy-expandable-card__price": "_teddy-expandable-card__price_15whs_80",
|
|
34
|
+
"teddy-expandable-card__header": "_teddy-expandable-card__header_15whs_84",
|
|
35
|
+
"teddy-expandable-card__slot": "_teddy-expandable-card__slot_15whs_92",
|
|
36
|
+
"teddy-expandable-card__slot--bottom": "_teddy-expandable-card__slot--bottom_15whs_97",
|
|
37
|
+
"teddy-expandable-card__slot--center": "_teddy-expandable-card__slot--center_15whs_100",
|
|
38
|
+
"teddy-expandable-card__button--right": "_teddy-expandable-card__button--right_15whs_116",
|
|
39
|
+
"teddy-expandable-card__button--left": "_teddy-expandable-card__button--left_15whs_119"
|
|
40
40
|
};
|
|
41
41
|
const rootClassName = "teddy-expandable-card";
|
|
42
42
|
const Root = React.forwardRef(
|
|
@@ -3,21 +3,21 @@ import React__default from "react";
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
5
5
|
const styles = {
|
|
6
|
-
"teddy-expandable-card": "_teddy-expandable-
|
|
7
|
-
"teddy-expandable-card__item": "_teddy-expandable-
|
|
8
|
-
"teddy-expandable-card__trigger": "_teddy-expandable-
|
|
9
|
-
"teddy-expandable-card__indicator": "_teddy-expandable-
|
|
10
|
-
"teddy-expandable-card__hidden": "_teddy-expandable-
|
|
11
|
-
"teddy-expandable-card__line": "_teddy-expandable-
|
|
12
|
-
"teddy-expandable-card__content": "_teddy-expandable-
|
|
13
|
-
"teddy-expandable-card__description": "_teddy-expandable-
|
|
14
|
-
"teddy-expandable-card__price": "_teddy-expandable-
|
|
15
|
-
"teddy-expandable-card__header": "_teddy-expandable-
|
|
16
|
-
"teddy-expandable-card__slot": "_teddy-expandable-
|
|
17
|
-
"teddy-expandable-card__slot--
|
|
18
|
-
"teddy-expandable-card__slot--
|
|
19
|
-
"teddy-expandable-card__button--right": "_teddy-expandable-card__button--
|
|
20
|
-
"teddy-expandable-card__button--left": "_teddy-expandable-card__button--
|
|
6
|
+
"teddy-expandable-card": "_teddy-expandable-card_15whs_1",
|
|
7
|
+
"teddy-expandable-card__item": "_teddy-expandable-card__item_15whs_7",
|
|
8
|
+
"teddy-expandable-card__trigger": "_teddy-expandable-card__trigger_15whs_15",
|
|
9
|
+
"teddy-expandable-card__indicator": "_teddy-expandable-card__indicator_15whs_39",
|
|
10
|
+
"teddy-expandable-card__hidden": "_teddy-expandable-card__hidden_15whs_51",
|
|
11
|
+
"teddy-expandable-card__line": "_teddy-expandable-card__line_15whs_57",
|
|
12
|
+
"teddy-expandable-card__content": "_teddy-expandable-card__content_15whs_60",
|
|
13
|
+
"teddy-expandable-card__description": "_teddy-expandable-card__description_15whs_69",
|
|
14
|
+
"teddy-expandable-card__price": "_teddy-expandable-card__price_15whs_80",
|
|
15
|
+
"teddy-expandable-card__header": "_teddy-expandable-card__header_15whs_84",
|
|
16
|
+
"teddy-expandable-card__slot": "_teddy-expandable-card__slot_15whs_92",
|
|
17
|
+
"teddy-expandable-card__slot--bottom": "_teddy-expandable-card__slot--bottom_15whs_97",
|
|
18
|
+
"teddy-expandable-card__slot--center": "_teddy-expandable-card__slot--center_15whs_100",
|
|
19
|
+
"teddy-expandable-card__button--right": "_teddy-expandable-card__button--right_15whs_116",
|
|
20
|
+
"teddy-expandable-card__button--left": "_teddy-expandable-card__button--left_15whs_119"
|
|
21
21
|
};
|
|
22
22
|
const rootClassName = "teddy-expandable-card";
|
|
23
23
|
const Root = React__default.forwardRef(
|
|
@@ -11,6 +11,7 @@ const components_expandableCard_expandableCardHidden = require("./expandable-car
|
|
|
11
11
|
const components_expandableCard_expandableCardButton = require("./expandable-card-button.cjs");
|
|
12
12
|
const components_expandableCard_expandableCardDescription = require("./expandable-card-description.cjs");
|
|
13
13
|
const components_expandableCard_expandableCardPrice = require("./expandable-card-price.cjs");
|
|
14
|
+
const components_expandableCard_expandableCardIndicator = require("./expandable-card-indicator.cjs");
|
|
14
15
|
components_expandableCard_expandableCardRoot.Root.displayName = "ExpandableCard";
|
|
15
16
|
components_expandableCard_expandableCardItem.Item.displayName = "ExpandableCard.Item";
|
|
16
17
|
components_expandableCard_expandableCardLine.Line.displayName = "ExpandableCard.Line";
|
|
@@ -22,6 +23,7 @@ components_expandableCard_expandableCardPrice.Price.displayName = "ExpandableCar
|
|
|
22
23
|
components_expandableCard_expandableCardSlot.Slot.displayName = "ExpandableCard.Slot";
|
|
23
24
|
components_expandableCard_expandableCardHidden.HiddenContainer.displayName = "ExpandableCard.HiddenContainer";
|
|
24
25
|
components_expandableCard_expandableCardButton.Button.displayName = "ExpandableCard.Button";
|
|
26
|
+
components_expandableCard_expandableCardIndicator.Indicator.displayName = "ExpandableCard.Indicator";
|
|
25
27
|
const ExpandableCard = Object.assign(components_expandableCard_expandableCardRoot.Root, {
|
|
26
28
|
Item: components_expandableCard_expandableCardItem.Item,
|
|
27
29
|
Line: components_expandableCard_expandableCardLine.Line,
|
|
@@ -32,6 +34,7 @@ const ExpandableCard = Object.assign(components_expandableCard_expandableCardRoo
|
|
|
32
34
|
Price: components_expandableCard_expandableCardPrice.Price,
|
|
33
35
|
Slot: components_expandableCard_expandableCardSlot.Slot,
|
|
34
36
|
HiddenContainer: components_expandableCard_expandableCardHidden.HiddenContainer,
|
|
35
|
-
Button: components_expandableCard_expandableCardButton.Button
|
|
37
|
+
Button: components_expandableCard_expandableCardButton.Button,
|
|
38
|
+
Indicator: components_expandableCard_expandableCardIndicator.Indicator
|
|
36
39
|
});
|
|
37
40
|
exports.ExpandableCard = ExpandableCard;
|
|
@@ -8,6 +8,7 @@ import { HiddenContainerProps } from './expandable-card-hidden';
|
|
|
8
8
|
import { ButtonProps } from './expandable-card-button';
|
|
9
9
|
import { DescriptionProps } from './expandable-card-description';
|
|
10
10
|
import { PriceProps } from './expandable-card-price';
|
|
11
|
+
import { IndicatorProps } from './expandable-card-indicator';
|
|
11
12
|
|
|
12
13
|
export declare const ExpandableCard: import('react').ForwardRefExoticComponent<RootProps & import('react').RefAttributes<HTMLDivElement>> & {
|
|
13
14
|
Item: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-accordion').AccordionItemProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -45,6 +46,7 @@ export declare const ExpandableCard: import('react').ForwardRefExoticComponent<R
|
|
|
45
46
|
variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
46
47
|
position?: "left" | "right" | undefined;
|
|
47
48
|
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
49
|
+
Indicator: import('react').ForwardRefExoticComponent<Omit<IndicatorProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
48
50
|
};
|
|
49
51
|
export type ExpandableCardProps = {
|
|
50
52
|
Root: RootProps;
|
|
@@ -58,4 +60,5 @@ export type ExpandableCardProps = {
|
|
|
58
60
|
Slot: SlotProps;
|
|
59
61
|
HiddenContainer: HiddenContainerProps;
|
|
60
62
|
Button: ButtonProps;
|
|
63
|
+
Indicator: IndicatorProps;
|
|
61
64
|
};
|
|
@@ -9,6 +9,7 @@ import { HiddenContainer } from "./expandable-card-hidden.js";
|
|
|
9
9
|
import { Button } from "./expandable-card-button.js";
|
|
10
10
|
import { Description } from "./expandable-card-description.js";
|
|
11
11
|
import { Price } from "./expandable-card-price.js";
|
|
12
|
+
import { Indicator } from "./expandable-card-indicator.js";
|
|
12
13
|
Root.displayName = "ExpandableCard";
|
|
13
14
|
Item.displayName = "ExpandableCard.Item";
|
|
14
15
|
Line.displayName = "ExpandableCard.Line";
|
|
@@ -20,6 +21,7 @@ Price.displayName = "ExpandableCard.Price";
|
|
|
20
21
|
Slot.displayName = "ExpandableCard.Slot";
|
|
21
22
|
HiddenContainer.displayName = "ExpandableCard.HiddenContainer";
|
|
22
23
|
Button.displayName = "ExpandableCard.Button";
|
|
24
|
+
Indicator.displayName = "ExpandableCard.Indicator";
|
|
23
25
|
const ExpandableCard = Object.assign(Root, {
|
|
24
26
|
Item,
|
|
25
27
|
Line,
|
|
@@ -30,7 +32,8 @@ const ExpandableCard = Object.assign(Root, {
|
|
|
30
32
|
Price,
|
|
31
33
|
Slot,
|
|
32
34
|
HiddenContainer,
|
|
33
|
-
Button
|
|
35
|
+
Button,
|
|
36
|
+
Indicator
|
|
34
37
|
});
|
|
35
38
|
export {
|
|
36
39
|
ExpandableCard
|
package/dist/components/navigation-menu/global-navigation/global-navigation-desktop-simplified.cjs
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
require("react/jsx-runtime");
|
|
4
|
+
require("react");
|
|
5
|
+
require("../navigation-menu.cjs");
|
|
6
|
+
const components_navigationMenu_globalNavigation_globalNavigationMyPages = require("./global-navigation-my-pages.cjs");
|
|
7
|
+
require("./utils.cjs");
|
|
8
|
+
require("../../box/box.cjs");
|
|
9
|
+
exports.DesktopSimplified = components_navigationMenu_globalNavigation_globalNavigationMyPages.DesktopSimplified;
|
package/dist/components/navigation-menu/global-navigation/global-navigation-desktop-simplified.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export type DesktopProps = React.ComponentPropsWithoutRef<'div'> & {
|
|
4
|
+
isSimplified?: boolean;
|
|
5
|
+
};
|
|
6
|
+
export declare const DesktopSimplified: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7
|
+
isSimplified?: boolean | undefined;
|
|
8
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
package/dist/components/navigation-menu/global-navigation/global-navigation-mobile-simplified.cjs
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
require("react/jsx-runtime");
|
|
4
|
+
require("react");
|
|
5
|
+
const components_navigationMenu_globalNavigation_globalNavigationMyPages = require("./global-navigation-my-pages.cjs");
|
|
6
|
+
require("clsx");
|
|
7
|
+
require("../navigation-menu.cjs");
|
|
8
|
+
require("../../flex/flex.cjs");
|
|
9
|
+
require("../../box/box.cjs");
|
|
10
|
+
require("../../../assets/sprite.269ba410-teddy.svg");
|
|
11
|
+
require("../../icon/icon.cjs");
|
|
12
|
+
exports.MobileSimplified = components_navigationMenu_globalNavigation_globalNavigationMyPages.MobileSimplified;
|
package/dist/components/navigation-menu/global-navigation/global-navigation-mobile-simplified.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export type MobileProps = React.ComponentPropsWithoutRef<'div'>;
|
|
4
|
+
export declare function MobileSimplified(props: MobileProps): import("react/jsx-runtime").JSX.Element | null;
|
|
5
|
+
export declare namespace MobileSimplified {
|
|
6
|
+
var displayName: string;
|
|
7
|
+
}
|
package/dist/components/navigation-menu/global-navigation/global-navigation-mobile-simplified.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { d } from "./global-navigation-my-pages.js";
|
|
4
|
+
import "clsx";
|
|
5
|
+
import "../navigation-menu.js";
|
|
6
|
+
import "../../flex/flex.js";
|
|
7
|
+
import "../../box/box.js";
|
|
8
|
+
import "../../../assets/sprite.269ba410-teddy.svg";
|
|
9
|
+
import "../../icon/icon.js";
|
|
10
|
+
export {
|
|
11
|
+
d as MobileSimplified
|
|
12
|
+
};
|