@telia/teddy 0.6.15 → 0.6.17

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.
@@ -7,21 +7,21 @@ const reactSlot = require("@radix-ui/react-slot");
7
7
  require("../../assets/sprite.c7653d19-teddy.svg");
8
8
  const components_icon_icon = require("../icon/icon.cjs");
9
9
  const styles = {
10
- "teddy-dashboard-card": "_teddy-dashboard-card_mczi8_3",
11
- "teddy-dashboard-card__content": "_teddy-dashboard-card__content_mczi8_19",
12
- "teddy-dashboard-card__footer": "_teddy-dashboard-card__footer_mczi8_20",
13
- "teddy-dashboard-card--white": "_teddy-dashboard-card--white_mczi8_23",
14
- "teddy-dashboard-card--disabled": "_teddy-dashboard-card--disabled_mczi8_27",
15
- "teddy-dashboard-card--border": "_teddy-dashboard-card--border_mczi8_36",
16
- "teddy-dashboard-card--grey": "_teddy-dashboard-card--grey_mczi8_48",
17
- "teddy-dashboard-card--purple-light": "_teddy-dashboard-card--purple-light_mczi8_61",
18
- "teddy-dashboard-card--beige-light": "_teddy-dashboard-card--beige-light_mczi8_74",
19
- "teddy-dashboard-card__layout": "_teddy-dashboard-card__layout_mczi8_87",
20
- "teddy-dashboard-card__avatar": "_teddy-dashboard-card__avatar_mczi8_97",
21
- "teddy-dashboard-card__illustration": "_teddy-dashboard-card__illustration_mczi8_100",
22
- "teddy-dashboard-card__heading": "_teddy-dashboard-card__heading_mczi8_103",
23
- "teddy-dashboard-card__subtitle": "_teddy-dashboard-card__subtitle_mczi8_107",
24
- "teddy-dashboard-card__chevron": "_teddy-dashboard-card__chevron_mczi8_111"
10
+ "teddy-dashboard-card": "_teddy-dashboard-card_5b7hf_3",
11
+ "teddy-dashboard-card__content": "_teddy-dashboard-card__content_5b7hf_20",
12
+ "teddy-dashboard-card__footer": "_teddy-dashboard-card__footer_5b7hf_21",
13
+ "teddy-dashboard-card--white": "_teddy-dashboard-card--white_5b7hf_24",
14
+ "teddy-dashboard-card--disabled": "_teddy-dashboard-card--disabled_5b7hf_28",
15
+ "teddy-dashboard-card--border": "_teddy-dashboard-card--border_5b7hf_37",
16
+ "teddy-dashboard-card--grey": "_teddy-dashboard-card--grey_5b7hf_49",
17
+ "teddy-dashboard-card--purple-light": "_teddy-dashboard-card--purple-light_5b7hf_62",
18
+ "teddy-dashboard-card--beige-light": "_teddy-dashboard-card--beige-light_5b7hf_75",
19
+ "teddy-dashboard-card__layout": "_teddy-dashboard-card__layout_5b7hf_88",
20
+ "teddy-dashboard-card__avatar": "_teddy-dashboard-card__avatar_5b7hf_98",
21
+ "teddy-dashboard-card__illustration": "_teddy-dashboard-card__illustration_5b7hf_101",
22
+ "teddy-dashboard-card__heading": "_teddy-dashboard-card__heading_5b7hf_104",
23
+ "teddy-dashboard-card__subtitle": "_teddy-dashboard-card__subtitle_5b7hf_108",
24
+ "teddy-dashboard-card__chevron": "_teddy-dashboard-card__chevron_5b7hf_112"
25
25
  };
26
26
  const rootClassName = "teddy-dashboard-card";
27
27
  const RootContext = React.createContext(void 0);
@@ -5,21 +5,21 @@ import { Slottable, Slot } from "@radix-ui/react-slot";
5
5
  import "../../assets/sprite.c7653d19-teddy.svg";
6
6
  import { Icon } from "../icon/icon.js";
7
7
  const styles = {
8
- "teddy-dashboard-card": "_teddy-dashboard-card_mczi8_3",
9
- "teddy-dashboard-card__content": "_teddy-dashboard-card__content_mczi8_19",
10
- "teddy-dashboard-card__footer": "_teddy-dashboard-card__footer_mczi8_20",
11
- "teddy-dashboard-card--white": "_teddy-dashboard-card--white_mczi8_23",
12
- "teddy-dashboard-card--disabled": "_teddy-dashboard-card--disabled_mczi8_27",
13
- "teddy-dashboard-card--border": "_teddy-dashboard-card--border_mczi8_36",
14
- "teddy-dashboard-card--grey": "_teddy-dashboard-card--grey_mczi8_48",
15
- "teddy-dashboard-card--purple-light": "_teddy-dashboard-card--purple-light_mczi8_61",
16
- "teddy-dashboard-card--beige-light": "_teddy-dashboard-card--beige-light_mczi8_74",
17
- "teddy-dashboard-card__layout": "_teddy-dashboard-card__layout_mczi8_87",
18
- "teddy-dashboard-card__avatar": "_teddy-dashboard-card__avatar_mczi8_97",
19
- "teddy-dashboard-card__illustration": "_teddy-dashboard-card__illustration_mczi8_100",
20
- "teddy-dashboard-card__heading": "_teddy-dashboard-card__heading_mczi8_103",
21
- "teddy-dashboard-card__subtitle": "_teddy-dashboard-card__subtitle_mczi8_107",
22
- "teddy-dashboard-card__chevron": "_teddy-dashboard-card__chevron_mczi8_111"
8
+ "teddy-dashboard-card": "_teddy-dashboard-card_5b7hf_3",
9
+ "teddy-dashboard-card__content": "_teddy-dashboard-card__content_5b7hf_20",
10
+ "teddy-dashboard-card__footer": "_teddy-dashboard-card__footer_5b7hf_21",
11
+ "teddy-dashboard-card--white": "_teddy-dashboard-card--white_5b7hf_24",
12
+ "teddy-dashboard-card--disabled": "_teddy-dashboard-card--disabled_5b7hf_28",
13
+ "teddy-dashboard-card--border": "_teddy-dashboard-card--border_5b7hf_37",
14
+ "teddy-dashboard-card--grey": "_teddy-dashboard-card--grey_5b7hf_49",
15
+ "teddy-dashboard-card--purple-light": "_teddy-dashboard-card--purple-light_5b7hf_62",
16
+ "teddy-dashboard-card--beige-light": "_teddy-dashboard-card--beige-light_5b7hf_75",
17
+ "teddy-dashboard-card__layout": "_teddy-dashboard-card__layout_5b7hf_88",
18
+ "teddy-dashboard-card__avatar": "_teddy-dashboard-card__avatar_5b7hf_98",
19
+ "teddy-dashboard-card__illustration": "_teddy-dashboard-card__illustration_5b7hf_101",
20
+ "teddy-dashboard-card__heading": "_teddy-dashboard-card__heading_5b7hf_104",
21
+ "teddy-dashboard-card__subtitle": "_teddy-dashboard-card__subtitle_5b7hf_108",
22
+ "teddy-dashboard-card__chevron": "_teddy-dashboard-card__chevron_5b7hf_112"
23
23
  };
24
24
  const rootClassName = "teddy-dashboard-card";
25
25
  const RootContext = React__default.createContext(void 0);
@@ -4,6 +4,7 @@ import { AppKey } from './utils';
4
4
  export declare const rootClassName = "teddy-global-navigation";
5
5
  type User = {
6
6
  name: string;
7
+ isRetailer?: boolean;
7
8
  };
8
9
  export type RootProps = React.ComponentPropsWithoutRef<'div'> & {
9
10
  appKey: AppKey;
@@ -33,7 +34,7 @@ type RootContext = {
33
34
  setPathname: (v: string) => void;
34
35
  specifiedLink?: string;
35
36
  setSpecifiedLink: (v: string) => void;
36
- } & Pick<RootProps, 'onSearchSubmit' | 'additionalSearchContent' | 'shoppingCart' | 'shoppingCartNumberOfItems' | 'loggedInUser' | 'appKey' | 'onLogoutClick' | 'linkComponent' | 'isCartOpen' | 'onCartOpenChange' | 'drawerSize' | "onSearchInputChange" | 'onSearchKeyDown' | 'searchValue' | 'onClear'>;
37
+ } & Pick<RootProps, 'onSearchSubmit' | 'additionalSearchContent' | 'shoppingCart' | 'shoppingCartNumberOfItems' | 'loggedInUser' | 'appKey' | 'onLogoutClick' | 'linkComponent' | 'isCartOpen' | 'onCartOpenChange' | 'drawerSize' | 'onSearchInputChange' | 'onSearchKeyDown' | 'searchValue' | 'onClear'>;
37
38
  export declare const RootContext: React.Context<RootContext | null>;
38
39
  export declare function Root({ className, appKey, loggedInUser, linkComponent, onLogoutClick, shoppingCart, shoppingCartNumberOfItems, onSearchSubmit, additionalSearchContent, isCartOpen, onCartOpenChange, drawerSize, isSimplified, currentPath, onSearchInputChange, onSearchKeyDown, searchValue, onClear, ...props }: RootProps): import("react/jsx-runtime").JSX.Element;
39
40
  export declare namespace Root {
@@ -41,6 +41,37 @@ const MY_PAGE_LINKS = {
41
41
  }
42
42
  ]
43
43
  };
44
+ const MY_PAGE_RETAILER_LINKS = {
45
+ name: "Min Side",
46
+ link: "/forhandler",
47
+ appKey: APP_KEYS["web-shop"],
48
+ links: [
49
+ {
50
+ name: "Velg Butikk",
51
+ link: "/forhandler/butikk",
52
+ appKey: APP_KEYS["web-shop"],
53
+ icon: "store"
54
+ },
55
+ {
56
+ name: "Mine Ordre",
57
+ link: "/forhandler/mine-ordre",
58
+ appKey: APP_KEYS["web-shop"],
59
+ icon: "report"
60
+ },
61
+ {
62
+ name: "Administrasjon",
63
+ link: "/forhandler/administrasjon",
64
+ appKey: APP_KEYS["web-shop"],
65
+ icon: "settings"
66
+ },
67
+ {
68
+ name: "Se kundeopplysninger",
69
+ link: "/forhandler/kunde",
70
+ appKey: APP_KEYS["web-shop"],
71
+ icon: "end-user"
72
+ }
73
+ ]
74
+ };
44
75
  const MY_BUSINESS_LINKS = {
45
76
  name: "Min bedrift",
46
77
  link: "https://beta.minbedrift.telia.no",
@@ -1085,6 +1116,7 @@ exports.LOGGED_IN_LINKS_BUSINESS = LOGGED_IN_LINKS_BUSINESS;
1085
1116
  exports.MDU_LINKS = MDU_LINKS;
1086
1117
  exports.MY_BUSINESS_LINKS = MY_BUSINESS_LINKS;
1087
1118
  exports.MY_PAGE_LINKS = MY_PAGE_LINKS;
1119
+ exports.MY_PAGE_RETAILER_LINKS = MY_PAGE_RETAILER_LINKS;
1088
1120
  exports.MY_PORTAL_LINKS = MY_PORTAL_LINKS;
1089
1121
  exports.PRIVATE_LINKS = PRIVATE_LINKS;
1090
1122
  exports.SMART_CONNECT_LINKS = SMART_CONNECT_LINKS;
@@ -45,6 +45,32 @@ export declare const MY_PAGE_LINKS: {
45
45
  readonly icon: "secured-1";
46
46
  }];
47
47
  };
48
+ export declare const MY_PAGE_RETAILER_LINKS: {
49
+ readonly name: "Min Side";
50
+ readonly link: "/forhandler";
51
+ readonly appKey: "web-shop";
52
+ readonly links: [{
53
+ readonly name: "Velg Butikk";
54
+ readonly link: "/forhandler/butikk";
55
+ readonly appKey: "web-shop";
56
+ readonly icon: "store";
57
+ }, {
58
+ readonly name: "Mine Ordre";
59
+ readonly link: "/forhandler/mine-ordre";
60
+ readonly appKey: "web-shop";
61
+ readonly icon: "report";
62
+ }, {
63
+ readonly name: "Administrasjon";
64
+ readonly link: "/forhandler/administrasjon";
65
+ readonly appKey: "web-shop";
66
+ readonly icon: "settings";
67
+ }, {
68
+ readonly name: "Se kundeopplysninger";
69
+ readonly link: "/forhandler/kunde";
70
+ readonly appKey: "web-shop";
71
+ readonly icon: "end-user";
72
+ }];
73
+ };
48
74
  export declare const MY_BUSINESS_LINKS: {
49
75
  readonly name: "Min bedrift";
50
76
  readonly link: "https://beta.minbedrift.telia.no";
@@ -39,6 +39,37 @@ const MY_PAGE_LINKS = {
39
39
  }
40
40
  ]
41
41
  };
42
+ const MY_PAGE_RETAILER_LINKS = {
43
+ name: "Min Side",
44
+ link: "/forhandler",
45
+ appKey: APP_KEYS["web-shop"],
46
+ links: [
47
+ {
48
+ name: "Velg Butikk",
49
+ link: "/forhandler/butikk",
50
+ appKey: APP_KEYS["web-shop"],
51
+ icon: "store"
52
+ },
53
+ {
54
+ name: "Mine Ordre",
55
+ link: "/forhandler/mine-ordre",
56
+ appKey: APP_KEYS["web-shop"],
57
+ icon: "report"
58
+ },
59
+ {
60
+ name: "Administrasjon",
61
+ link: "/forhandler/administrasjon",
62
+ appKey: APP_KEYS["web-shop"],
63
+ icon: "settings"
64
+ },
65
+ {
66
+ name: "Se kundeopplysninger",
67
+ link: "/forhandler/kunde",
68
+ appKey: APP_KEYS["web-shop"],
69
+ icon: "end-user"
70
+ }
71
+ ]
72
+ };
42
73
  const MY_BUSINESS_LINKS = {
43
74
  name: "Min bedrift",
44
75
  link: "https://beta.minbedrift.telia.no",
@@ -1084,6 +1115,7 @@ export {
1084
1115
  MDU_LINKS,
1085
1116
  MY_BUSINESS_LINKS,
1086
1117
  MY_PAGE_LINKS,
1118
+ MY_PAGE_RETAILER_LINKS,
1087
1119
  MY_PORTAL_LINKS,
1088
1120
  PRIVATE_LINKS,
1089
1121
  SMART_CONNECT_LINKS,
@@ -643,8 +643,16 @@ function LoggedOutContent() {
643
643
  ] });
644
644
  }
645
645
  function LoggedInContent() {
646
- var _a;
646
+ var _a, _b, _c;
647
647
  const rootContext = React.useContext(RootContext);
648
+ const isRetailerLoggedIn = (_a = rootContext == null ? void 0 : rootContext.loggedInUser) == null ? void 0 : _a.isRetailer;
649
+ if (isRetailerLoggedIn) {
650
+ return /* @__PURE__ */ jsxRuntime.jsxs(components_textSpacing_textSpacing.TextSpacing, { children: [
651
+ /* @__PURE__ */ jsxRuntime.jsx(components_heading_heading.Heading, { variant: "title-100", as: "h3", mb: "100", mt: "400", children: "Min Side" }),
652
+ (_b = components_navigationMenu_globalNavigation_utils.MY_PAGE_RETAILER_LINKS.links) == null ? void 0 : _b.map((link) => /* @__PURE__ */ jsxRuntime.jsx(components_button_button.Button, { variant: "list-item", fullWidth: true, asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: link.link, children: /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: link.icon, children: link.name }) }) }, link.link)),
653
+ /* @__PURE__ */ jsxRuntime.jsx(components_button_button.Button, { mt: "200", onClick: () => rootContext == null ? void 0 : rootContext.onLogoutClick(), variant: "secondary", children: /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: "logout", children: "Logg ut" }) })
654
+ ] });
655
+ }
648
656
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
649
657
  /* @__PURE__ */ jsxRuntime.jsx(components_drawer_index.Drawer.Title, { children: "Mine sider" }),
650
658
  /* @__PURE__ */ jsxRuntime.jsxs(components_tabs_index.Tabs, { defaultValue: "private", children: [
@@ -655,7 +663,7 @@ function LoggedInContent() {
655
663
  /* @__PURE__ */ jsxRuntime.jsxs(components_textSpacing_textSpacing.TextSpacing, { children: [
656
664
  /* @__PURE__ */ jsxRuntime.jsxs(components_tabs_index.Tabs.Content, { value: "private", children: [
657
665
  /* @__PURE__ */ jsxRuntime.jsx(components_heading_heading.Heading, { variant: "title-100", as: "h3", mb: "100", mt: "400", children: "Min Side" }),
658
- (_a = components_navigationMenu_globalNavigation_utils.MY_PAGE_LINKS.links) == null ? void 0 : _a.map((link) => /* @__PURE__ */ jsxRuntime.jsx(components_button_button.Button, { variant: "list-item", fullWidth: true, asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: link.link, children: /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: link.icon, children: link.name }) }) }, link.link))
666
+ (_c = components_navigationMenu_globalNavigation_utils.MY_PAGE_LINKS.links) == null ? void 0 : _c.map((link) => /* @__PURE__ */ jsxRuntime.jsx(components_button_button.Button, { variant: "list-item", fullWidth: true, asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: link.link, children: /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: link.icon, children: link.name }) }) }, link.link))
659
667
  ] }),
660
668
  /* @__PURE__ */ jsxRuntime.jsxs(components_tabs_index.Tabs.Content, { value: "business", children: [
661
669
  /* @__PURE__ */ jsxRuntime.jsx(components_heading_heading.Heading, { variant: "title-100", as: "h3", mb: "100", mt: "400", children: "Bedriftsportaler" }),
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import React__default, { useEffect } from "react";
3
3
  import clsx from "clsx";
4
- import { MY_PAGE_LINKS, LOGGED_IN_LINKS_BUSINESS, PRIVATE_LINKS, BUSINESS_LINKS, BUSINESS_UKKO_LINKS, MDU_LINKS, getLinks, getActiveSubLink } from "../navigation-menu/global-navigation/utils.js";
4
+ import { MY_PAGE_LINKS, LOGGED_IN_LINKS_BUSINESS, MY_PAGE_RETAILER_LINKS, PRIVATE_LINKS, BUSINESS_LINKS, BUSINESS_UKKO_LINKS, MDU_LINKS, getLinks, getActiveSubLink } from "../navigation-menu/global-navigation/utils.js";
5
5
  import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
6
6
  import { useComposedRefs } from "../../utils/composeRefs.js";
7
7
  import { VisuallyHidden } from "../visually-hidden/visually-hidden.js";
@@ -622,8 +622,16 @@ function LoggedOutContent() {
622
622
  ] });
623
623
  }
624
624
  function LoggedInContent() {
625
- var _a;
625
+ var _a, _b, _c;
626
626
  const rootContext = React__default.useContext(RootContext);
627
+ const isRetailerLoggedIn = (_a = rootContext == null ? void 0 : rootContext.loggedInUser) == null ? void 0 : _a.isRetailer;
628
+ if (isRetailerLoggedIn) {
629
+ return /* @__PURE__ */ jsxs(TextSpacing, { children: [
630
+ /* @__PURE__ */ jsx(Heading, { variant: "title-100", as: "h3", mb: "100", mt: "400", children: "Min Side" }),
631
+ (_b = MY_PAGE_RETAILER_LINKS.links) == null ? void 0 : _b.map((link) => /* @__PURE__ */ jsx(Button, { variant: "list-item", fullWidth: true, asChild: true, children: /* @__PURE__ */ jsx("a", { href: link.link, children: /* @__PURE__ */ jsx(Icon, { name: link.icon, children: link.name }) }) }, link.link)),
632
+ /* @__PURE__ */ jsx(Button, { mt: "200", onClick: () => rootContext == null ? void 0 : rootContext.onLogoutClick(), variant: "secondary", children: /* @__PURE__ */ jsx(Icon, { name: "logout", children: "Logg ut" }) })
633
+ ] });
634
+ }
627
635
  return /* @__PURE__ */ jsxs(Fragment, { children: [
628
636
  /* @__PURE__ */ jsx(Drawer.Title, { children: "Mine sider" }),
629
637
  /* @__PURE__ */ jsxs(Tabs, { defaultValue: "private", children: [
@@ -634,7 +642,7 @@ function LoggedInContent() {
634
642
  /* @__PURE__ */ jsxs(TextSpacing, { children: [
635
643
  /* @__PURE__ */ jsxs(Tabs.Content, { value: "private", children: [
636
644
  /* @__PURE__ */ jsx(Heading, { variant: "title-100", as: "h3", mb: "100", mt: "400", children: "Min Side" }),
637
- (_a = MY_PAGE_LINKS.links) == null ? void 0 : _a.map((link) => /* @__PURE__ */ jsx(Button, { variant: "list-item", fullWidth: true, asChild: true, children: /* @__PURE__ */ jsx("a", { href: link.link, children: /* @__PURE__ */ jsx(Icon, { name: link.icon, children: link.name }) }) }, link.link))
645
+ (_c = MY_PAGE_LINKS.links) == null ? void 0 : _c.map((link) => /* @__PURE__ */ jsx(Button, { variant: "list-item", fullWidth: true, asChild: true, children: /* @__PURE__ */ jsx("a", { href: link.link, children: /* @__PURE__ */ jsx(Icon, { name: link.icon, children: link.name }) }) }, link.link))
638
646
  ] }),
639
647
  /* @__PURE__ */ jsxs(Tabs.Content, { value: "business", children: [
640
648
  /* @__PURE__ */ jsx(Heading, { variant: "title-100", as: "h3", mb: "100", mt: "400", children: "Bedriftsportaler" }),
package/dist/style.css CHANGED
@@ -282,7 +282,7 @@
282
282
  background-color: var(--teddy-color-green-50);
283
283
  }@layer heading, badge, flex, grid, dashboard-card;
284
284
  @layer dashboard-card {
285
- ._teddy-dashboard-card_mczi8_3 {
285
+ ._teddy-dashboard-card_5b7hf_3 {
286
286
  outline: none;
287
287
  background: none;
288
288
  border: none;
@@ -297,76 +297,77 @@
297
297
  border: var(--teddy-border-width-xs) solid transparent;
298
298
  border-radius: var(--teddy-border-radius-md);
299
299
  width: 100%;
300
+ cursor: pointer;
300
301
  }
301
- ._teddy-dashboard-card_mczi8_3 ._teddy-dashboard-card__content_mczi8_19,
302
- ._teddy-dashboard-card_mczi8_3 ._teddy-dashboard-card__footer_mczi8_20 {
302
+ ._teddy-dashboard-card_5b7hf_3 ._teddy-dashboard-card__content_5b7hf_20,
303
+ ._teddy-dashboard-card_5b7hf_3 ._teddy-dashboard-card__footer_5b7hf_21 {
303
304
  margin-top: var(--teddy-spacing-150);
304
305
  }
305
- ._teddy-dashboard-card--white_mczi8_23 {
306
+ ._teddy-dashboard-card--white_5b7hf_24 {
306
307
  background-color: var(--teddy-color-brand-white);
307
308
  color: var(--teddy-color-text-default);
308
309
  }
309
- ._teddy-dashboard-card--white_mczi8_23._teddy-dashboard-card--disabled_mczi8_27 {
310
+ ._teddy-dashboard-card--white_5b7hf_24._teddy-dashboard-card--disabled_5b7hf_28 {
310
311
  background-color: var(--teddy-color-background-interactive-disabled);
311
312
  }
312
- ._teddy-dashboard-card--white_mczi8_23:hover:not(:has(._teddy-dashboard-card--disabled_mczi8_27)) {
313
+ ._teddy-dashboard-card--white_5b7hf_24:hover:not(:has(._teddy-dashboard-card--disabled_5b7hf_28)) {
313
314
  background-color: var(--teddy-color-purple-50);
314
315
  }
315
- ._teddy-dashboard-card--white_mczi8_23:active:not(:has(._teddy-dashboard-card--disabled_mczi8_27)) {
316
+ ._teddy-dashboard-card--white_5b7hf_24:active:not(:has(._teddy-dashboard-card--disabled_5b7hf_28)) {
316
317
  background-color: var(--teddy-color-purple-100);
317
318
  }
318
- ._teddy-dashboard-card--white_mczi8_23._teddy-dashboard-card--border_mczi8_36 {
319
+ ._teddy-dashboard-card--white_5b7hf_24._teddy-dashboard-card--border_5b7hf_37 {
319
320
  border-color: var(--teddy-color-transparent-black-300);
320
321
  }
321
- ._teddy-dashboard-card--white_mczi8_23._teddy-dashboard-card--border_mczi8_36._teddy-dashboard-card--disabled_mczi8_27 {
322
+ ._teddy-dashboard-card--white_5b7hf_24._teddy-dashboard-card--border_5b7hf_37._teddy-dashboard-card--disabled_5b7hf_28 {
322
323
  border-color: var(--teddy-color-transparent-black-300);
323
324
  }
324
- ._teddy-dashboard-card--white_mczi8_23._teddy-dashboard-card--border_mczi8_36:hover:not(:has(._teddy-dashboard-card--disabled_mczi8_27)) {
325
+ ._teddy-dashboard-card--white_5b7hf_24._teddy-dashboard-card--border_5b7hf_37:hover:not(:has(._teddy-dashboard-card--disabled_5b7hf_28)) {
325
326
  border-color: var(--teddy-color-transparent-black-300);
326
327
  }
327
- ._teddy-dashboard-card--white_mczi8_23._teddy-dashboard-card--border_mczi8_36:active:not(:has(._teddy-dashboard-card--disabled_mczi8_27)) {
328
+ ._teddy-dashboard-card--white_5b7hf_24._teddy-dashboard-card--border_5b7hf_37:active:not(:has(._teddy-dashboard-card--disabled_5b7hf_28)) {
328
329
  border-color: var(--teddy-color-transparent-black-300);
329
330
  }
330
- ._teddy-dashboard-card--grey_mczi8_48 {
331
+ ._teddy-dashboard-card--grey_5b7hf_49 {
331
332
  background-color: #f5f5fa;
332
333
  color: var(--teddy-color-text-default);
333
334
  }
334
- ._teddy-dashboard-card--grey_mczi8_48._teddy-dashboard-card--disabled_mczi8_27 {
335
+ ._teddy-dashboard-card--grey_5b7hf_49._teddy-dashboard-card--disabled_5b7hf_28 {
335
336
  background-color: var(--teddy-color-background-interactive-disabled);
336
337
  }
337
- ._teddy-dashboard-card--grey_mczi8_48:hover:not(:has(._teddy-dashboard-card--disabled_mczi8_27)) {
338
+ ._teddy-dashboard-card--grey_5b7hf_49:hover:not(:has(._teddy-dashboard-card--disabled_5b7hf_28)) {
338
339
  background-color: var(--teddy-color-gray-100);
339
340
  }
340
- ._teddy-dashboard-card--grey_mczi8_48:active:not(:has(._teddy-dashboard-card--disabled_mczi8_27)) {
341
+ ._teddy-dashboard-card--grey_5b7hf_49:active:not(:has(._teddy-dashboard-card--disabled_5b7hf_28)) {
341
342
  background-color: var(--teddy-color-gray-200);
342
343
  }
343
- ._teddy-dashboard-card--purple-light_mczi8_61 {
344
+ ._teddy-dashboard-card--purple-light_5b7hf_62 {
344
345
  background-color: var(--teddy-color-purple-50);
345
346
  color: var(--teddy-color-text-default);
346
347
  }
347
- ._teddy-dashboard-card--purple-light_mczi8_61._teddy-dashboard-card--disabled_mczi8_27 {
348
+ ._teddy-dashboard-card--purple-light_5b7hf_62._teddy-dashboard-card--disabled_5b7hf_28 {
348
349
  background-color: var(--teddy-color-background-interactive-disabled);
349
350
  }
350
- ._teddy-dashboard-card--purple-light_mczi8_61:hover:not(:has(._teddy-dashboard-card--disabled_mczi8_27)) {
351
+ ._teddy-dashboard-card--purple-light_5b7hf_62:hover:not(:has(._teddy-dashboard-card--disabled_5b7hf_28)) {
351
352
  background-color: var(--teddy-color-purple-100);
352
353
  }
353
- ._teddy-dashboard-card--purple-light_mczi8_61:active:not(:has(._teddy-dashboard-card--disabled_mczi8_27)) {
354
+ ._teddy-dashboard-card--purple-light_5b7hf_62:active:not(:has(._teddy-dashboard-card--disabled_5b7hf_28)) {
354
355
  background-color: var(--teddy-color-purple-200);
355
356
  }
356
- ._teddy-dashboard-card--beige-light_mczi8_74 {
357
+ ._teddy-dashboard-card--beige-light_5b7hf_75 {
357
358
  background-color: var(--teddy-color-beige-50);
358
359
  color: var(--teddy-color-text-default);
359
360
  }
360
- ._teddy-dashboard-card--beige-light_mczi8_74._teddy-dashboard-card--disabled_mczi8_27 {
361
+ ._teddy-dashboard-card--beige-light_5b7hf_75._teddy-dashboard-card--disabled_5b7hf_28 {
361
362
  background-color: var(--teddy-color-background-interactive-disabled);
362
363
  }
363
- ._teddy-dashboard-card--beige-light_mczi8_74:hover:not(:has(._teddy-dashboard-card--disabled_mczi8_27)) {
364
+ ._teddy-dashboard-card--beige-light_5b7hf_75:hover:not(:has(._teddy-dashboard-card--disabled_5b7hf_28)) {
364
365
  background-color: var(--teddy-color-beige-100);
365
366
  }
366
- ._teddy-dashboard-card--beige-light_mczi8_74:active:not(:has(._teddy-dashboard-card--disabled_mczi8_27)) {
367
+ ._teddy-dashboard-card--beige-light_5b7hf_75:active:not(:has(._teddy-dashboard-card--disabled_5b7hf_28)) {
367
368
  background-color: var(--teddy-color-beige-200);
368
369
  }
369
- ._teddy-dashboard-card__layout_mczi8_87 {
370
+ ._teddy-dashboard-card__layout_5b7hf_88 {
370
371
  display: grid;
371
372
  gap: 0 var(--teddy-spacing-150);
372
373
  grid-template-columns: auto 1fr auto;
@@ -376,49 +377,50 @@
376
377
  align-items: center;
377
378
  grid-template-areas: "media heading chevron" "media subtitle chevron" "content content content" "footer footer footer";
378
379
  }
379
- ._teddy-dashboard-card__layout_mczi8_87 ._teddy-dashboard-card__avatar_mczi8_97 {
380
+ ._teddy-dashboard-card__layout_5b7hf_88 ._teddy-dashboard-card__avatar_5b7hf_98 {
380
381
  grid-area: media;
381
382
  }
382
- ._teddy-dashboard-card__layout_mczi8_87 ._teddy-dashboard-card__illustration_mczi8_100 {
383
+ ._teddy-dashboard-card__layout_5b7hf_88 ._teddy-dashboard-card__illustration_5b7hf_101 {
383
384
  grid-area: media;
384
385
  }
385
- ._teddy-dashboard-card__layout_mczi8_87 ._teddy-dashboard-card__heading_mczi8_103 {
386
+ ._teddy-dashboard-card__layout_5b7hf_88 ._teddy-dashboard-card__heading_5b7hf_104 {
386
387
  grid-area: heading;
387
388
  align-self: end;
388
389
  }
389
- ._teddy-dashboard-card__layout_mczi8_87 ._teddy-dashboard-card__subtitle_mczi8_107 {
390
+ ._teddy-dashboard-card__layout_5b7hf_88 ._teddy-dashboard-card__subtitle_5b7hf_108 {
390
391
  grid-area: subtitle;
391
392
  align-self: start;
392
393
  }
393
- ._teddy-dashboard-card__layout_mczi8_87 ._teddy-dashboard-card__chevron_mczi8_111 {
394
+ ._teddy-dashboard-card__layout_5b7hf_88 ._teddy-dashboard-card__chevron_5b7hf_112 {
394
395
  grid-area: chevron;
395
396
  }
396
- ._teddy-dashboard-card__layout_mczi8_87 ._teddy-dashboard-card__content_mczi8_19 {
397
+ ._teddy-dashboard-card__layout_5b7hf_88 ._teddy-dashboard-card__content_5b7hf_20 {
397
398
  grid-area: content;
398
399
  align-self: start;
399
400
  }
400
- ._teddy-dashboard-card__layout_mczi8_87 ._teddy-dashboard-card__footer_mczi8_20 {
401
+ ._teddy-dashboard-card__layout_5b7hf_88 ._teddy-dashboard-card__footer_5b7hf_21 {
401
402
  grid-area: footer;
402
403
  align-self: end;
403
404
  }
404
- ._teddy-dashboard-card__layout_mczi8_87:not(:has(._teddy-dashboard-card__subtitle_mczi8_107)) {
405
+ ._teddy-dashboard-card__layout_5b7hf_88:not(:has(._teddy-dashboard-card__subtitle_5b7hf_108)) {
405
406
  grid-template-areas: "media heading chevron" "media heading chevron" "content content content" "footer footer footer";
406
407
  }
407
- ._teddy-dashboard-card__layout_mczi8_87:not(:has(._teddy-dashboard-card__subtitle_mczi8_107)) ._teddy-dashboard-card__heading_mczi8_103 {
408
+ ._teddy-dashboard-card__layout_5b7hf_88:not(:has(._teddy-dashboard-card__subtitle_5b7hf_108)) ._teddy-dashboard-card__heading_5b7hf_104 {
408
409
  align-self: center;
409
410
  }
410
- ._teddy-dashboard-card__illustration_mczi8_100 {
411
+ ._teddy-dashboard-card__illustration_5b7hf_101 {
411
412
  display: flex;
412
413
  align-items: center;
413
414
  justify-content: center;
414
415
  width: 40px;
415
416
  }
416
- ._teddy-dashboard-card_mczi8_3:focus-visible {
417
+ ._teddy-dashboard-card_5b7hf_3:focus-visible {
417
418
  outline: solid var(--teddy-border-width-sm) var(--teddy-color-border-interactive-focus);
418
419
  outline-offset: var(--teddy-spacing-25);
419
420
  }
420
- ._teddy-dashboard-card--disabled_mczi8_27 {
421
+ ._teddy-dashboard-card--disabled_5b7hf_28 {
421
422
  pointer-events: none;
423
+ cursor: not-allowed;
422
424
  }
423
425
  }@layer heading {
424
426
  ._teddy-heading_r8os0_2 {
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "pnpm": ">=9"
21
21
  },
22
22
  "private": false,
23
- "version": "0.6.15",
23
+ "version": "0.6.17",
24
24
  "sideEffects": [
25
25
  "**/*.css",
26
26
  "**/*.svg"