@telia/teddy 0.5.1 → 0.6.1

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.
Files changed (84) hide show
  1. package/dist/components/avatar/avatar-root.cjs +34 -0
  2. package/dist/components/avatar/avatar-root.d.ts +17 -0
  3. package/dist/components/avatar/avatar-root.js +34 -0
  4. package/dist/components/avatar/index.cjs +6 -0
  5. package/dist/components/avatar/index.d.ts +9 -0
  6. package/dist/components/avatar/index.js +6 -0
  7. package/dist/components/avatar/utils.cjs +10 -0
  8. package/dist/components/avatar/utils.d.ts +1 -0
  9. package/dist/components/avatar/utils.js +10 -0
  10. package/dist/components/breadcrumbs/breadcrumbs-link.d.ts +1 -1
  11. package/dist/components/breadcrumbs/index.d.ts +1 -1
  12. package/dist/components/card/card-carousel.cjs +57 -21
  13. package/dist/components/card/card-carousel.d.ts +1 -0
  14. package/dist/components/card/card-carousel.js +58 -22
  15. package/dist/components/card/card-illustration.d.ts +1 -1
  16. package/dist/components/card/card-link.d.ts +1 -1
  17. package/dist/components/card/card.d.ts +1 -1
  18. package/dist/components/carousel/carousel-root.cjs +4 -4
  19. package/dist/components/carousel/carousel-root.js +4 -4
  20. package/dist/components/channel-button/channel-button-root.d.ts +6 -6
  21. package/dist/components/channel-button/index.d.ts +6 -6
  22. package/dist/components/checkbox/checkbox-group-list.d.ts +1 -1
  23. package/dist/components/checkbox/checkbox-group.d.ts +1 -1
  24. package/dist/components/checkbox/index.d.ts +2 -2
  25. package/dist/components/chip/chip-indicator.d.ts +2 -2
  26. package/dist/components/chip/index.d.ts +2 -2
  27. package/dist/components/expandable-card/expandable-card-button.d.ts +4 -4
  28. package/dist/components/expandable-card/index.d.ts +5 -5
  29. package/dist/components/flip-card/flip-card-trigger.d.ts +4 -4
  30. package/dist/components/icon/utils.d.ts +1 -1
  31. package/dist/components/index.cjs +4 -0
  32. package/dist/components/index.d.ts +2 -0
  33. package/dist/components/index.js +4 -0
  34. package/dist/components/modal/modal-close.cjs +2 -0
  35. package/dist/components/modal/modal-close.js +2 -0
  36. package/dist/components/modal/modal-title.d.ts +1 -1
  37. package/dist/components/navigation-menu/navigation-menu.cjs +2 -0
  38. package/dist/components/navigation-menu/navigation-menu.d.ts +1 -1
  39. package/dist/components/navigation-menu/navigation-menu.js +2 -0
  40. package/dist/components/notabene/notabene-icon.d.ts +2 -2
  41. package/dist/components/notification/index.d.ts +8 -8
  42. package/dist/components/notification/notification-icon.d.ts +2 -2
  43. package/dist/components/notification/notification-root.d.ts +8 -8
  44. package/dist/components/radio-card-group/radio-card-group-content.cjs +2 -0
  45. package/dist/components/radio-card-group/radio-card-group-content.js +2 -0
  46. package/dist/components/radio-card-group/radio-card-group-item-title.cjs +2 -0
  47. package/dist/components/radio-card-group/radio-card-group-item-title.js +2 -0
  48. package/dist/components/radio-card-group/radio-card-group-item.cjs +2 -0
  49. package/dist/components/radio-card-group/radio-card-group-item.js +2 -0
  50. package/dist/components/scroll-area/index.d.ts +5 -5
  51. package/dist/components/scroll-area/scroll-area-button.d.ts +4 -4
  52. package/dist/components/subscription-card/index.cjs +18 -0
  53. package/dist/components/subscription-card/index.d.ts +74 -0
  54. package/dist/components/subscription-card/index.js +18 -0
  55. package/dist/components/subscription-card/subscription-card-avatar.cjs +25 -0
  56. package/dist/components/subscription-card/subscription-card-avatar.d.ts +10 -0
  57. package/dist/components/subscription-card/subscription-card-avatar.js +25 -0
  58. package/dist/components/subscription-card/subscription-card-content.cjs +13 -0
  59. package/dist/components/subscription-card/subscription-card-content.d.ts +4 -0
  60. package/dist/components/subscription-card/subscription-card-content.js +13 -0
  61. package/dist/components/subscription-card/subscription-card-heading.cjs +24 -0
  62. package/dist/components/subscription-card/subscription-card-heading.d.ts +5 -0
  63. package/dist/components/subscription-card/subscription-card-heading.js +24 -0
  64. package/dist/components/subscription-card/subscription-card-root.cjs +60 -0
  65. package/dist/components/subscription-card/subscription-card-root.d.ts +20 -0
  66. package/dist/components/subscription-card/subscription-card-root.js +60 -0
  67. package/dist/components/subscription-card/subscription-card-subtitle.cjs +15 -0
  68. package/dist/components/subscription-card/subscription-card-subtitle.d.ts +5 -0
  69. package/dist/components/subscription-card/subscription-card-subtitle.js +15 -0
  70. package/dist/components/tabs/index.d.ts +1 -1
  71. package/dist/components/tabs/tabs-root.d.ts +1 -1
  72. package/dist/components/tabs/tabs-scroll-button.d.ts +4 -4
  73. package/dist/components/tabs/tabs-scroll.d.ts +1 -1
  74. package/dist/components/text-field/index.d.ts +4 -4
  75. package/dist/components/text-field/text-field-button.d.ts +4 -4
  76. package/dist/components/toggle/toggle.d.ts +2 -2
  77. package/dist/components/tooltip/index.d.ts +1 -1
  78. package/dist/main.cjs +4 -0
  79. package/dist/main.js +4 -0
  80. package/dist/style.css +384 -235
  81. package/dist/utils/generate-styling/grid.d.ts +24 -24
  82. package/dist/utils/generate-styling/index.d.ts +16 -16
  83. package/dist/utils/generate-styling/util.d.ts +2 -2
  84. package/package.json +2 -1
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const jsxRuntime = require("react/jsx-runtime");
4
+ const React = require("react");
5
+ const clsx = require("clsx");
6
+ require("../../assets/sprite.c3af21af-teddy.svg");
7
+ const components_icon_icon = require("../icon/icon.cjs");
8
+ const components_text_text = require("../text/text.cjs");
9
+ const components_avatar_utils = require("./utils.cjs");
10
+ const styles = {
11
+ "teddy-avatar": "_teddy-avatar_e3370_1",
12
+ "teddy-avatar--beige": "_teddy-avatar--beige_e3370_12",
13
+ "teddy-avatar--grey": "_teddy-avatar--grey_e3370_15",
14
+ "teddy-avatar--purple-light": "_teddy-avatar--purple-light_e3370_18",
15
+ "teddy-avatar--white": "_teddy-avatar--white_e3370_21",
16
+ "teddy-avatar--orange": "_teddy-avatar--orange_e3370_24",
17
+ "teddy-avatar--blue": "_teddy-avatar--blue_e3370_27",
18
+ "teddy-avatar--green": "_teddy-avatar--green_e3370_30"
19
+ };
20
+ const rootClassName = "teddy-avatar";
21
+ const Root = React.forwardRef(
22
+ ({ className, variant = "grey", icon, firstName, lastName, ...props }, forwardRef) => {
23
+ const classes = clsx(
24
+ [styles[`${rootClassName}`]],
25
+ {
26
+ [styles[`${rootClassName}--${variant}`]]: variant
27
+ },
28
+ className
29
+ );
30
+ const initials = components_avatar_utils.getInitials(firstName, lastName);
31
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { ...props, ref: forwardRef, className: classes, children: initials ? /* @__PURE__ */ jsxRuntime.jsx(components_text_text.Text, { variant: "paragraph-100-medium", children: initials }) : /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { size: "md", name: icon || "end-user" }) });
32
+ }
33
+ );
34
+ exports.Root = Root;
@@ -0,0 +1,17 @@
1
+ import { default as React } from 'react';
2
+ import { IconName } from '../icon';
3
+
4
+ type Variant = 'beige' | 'grey' | 'purple-light' | 'white' | 'orange' | 'blue' | 'green';
5
+ export type RootProps = React.ComponentPropsWithoutRef<'div'> & {
6
+ variant?: Variant;
7
+ firstName?: string;
8
+ lastName?: string;
9
+ icon?: IconName;
10
+ };
11
+ export declare const Root: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
12
+ variant?: Variant | undefined;
13
+ firstName?: string | undefined;
14
+ lastName?: string | undefined;
15
+ icon?: "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" | "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" | "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" | undefined;
16
+ } & React.RefAttributes<HTMLDivElement>>;
17
+ export {};
@@ -0,0 +1,34 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import React__default from "react";
3
+ import clsx from "clsx";
4
+ import "../../assets/sprite.c3af21af-teddy.svg";
5
+ import { Icon } from "../icon/icon.js";
6
+ import { Text } from "../text/text.js";
7
+ import { getInitials } from "./utils.js";
8
+ const styles = {
9
+ "teddy-avatar": "_teddy-avatar_e3370_1",
10
+ "teddy-avatar--beige": "_teddy-avatar--beige_e3370_12",
11
+ "teddy-avatar--grey": "_teddy-avatar--grey_e3370_15",
12
+ "teddy-avatar--purple-light": "_teddy-avatar--purple-light_e3370_18",
13
+ "teddy-avatar--white": "_teddy-avatar--white_e3370_21",
14
+ "teddy-avatar--orange": "_teddy-avatar--orange_e3370_24",
15
+ "teddy-avatar--blue": "_teddy-avatar--blue_e3370_27",
16
+ "teddy-avatar--green": "_teddy-avatar--green_e3370_30"
17
+ };
18
+ const rootClassName = "teddy-avatar";
19
+ const Root = React__default.forwardRef(
20
+ ({ className, variant = "grey", icon, firstName, lastName, ...props }, forwardRef) => {
21
+ const classes = clsx(
22
+ [styles[`${rootClassName}`]],
23
+ {
24
+ [styles[`${rootClassName}--${variant}`]]: variant
25
+ },
26
+ className
27
+ );
28
+ const initials = getInitials(firstName, lastName);
29
+ return /* @__PURE__ */ jsx("div", { ...props, ref: forwardRef, className: classes, children: initials ? /* @__PURE__ */ jsx(Text, { variant: "paragraph-100-medium", children: initials }) : /* @__PURE__ */ jsx(Icon, { size: "md", name: icon || "end-user" }) });
30
+ }
31
+ );
32
+ export {
33
+ Root
34
+ };
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const components_avatar_avatarRoot = require("./avatar-root.cjs");
4
+ const Avatar = components_avatar_avatarRoot.Root;
5
+ Avatar.displayName = "Avatar";
6
+ exports.Avatar = Avatar;
@@ -0,0 +1,9 @@
1
+ import { RootProps } from './avatar-root';
2
+
3
+ export declare const Avatar: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
+ variant?: ("beige" | "blue" | "green" | "grey" | "orange" | "white" | "purple-light") | undefined;
5
+ firstName?: string | undefined;
6
+ lastName?: string | undefined;
7
+ icon?: "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" | "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" | "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" | undefined;
8
+ } & import('react').RefAttributes<HTMLDivElement>>;
9
+ export type AvatarProps = RootProps;
@@ -0,0 +1,6 @@
1
+ import { Root } from "./avatar-root.js";
2
+ const Avatar = Root;
3
+ Avatar.displayName = "Avatar";
4
+ export {
5
+ Avatar
6
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ function getInitials(firstName, lastName) {
4
+ if (!firstName && !lastName)
5
+ return "";
6
+ const firstInitial = firstName ? firstName.charAt(0).toLocaleUpperCase() : "";
7
+ const lastInitial = lastName ? lastName.charAt(0).toLocaleUpperCase() : "";
8
+ return `${firstInitial}${lastInitial}`;
9
+ }
10
+ exports.getInitials = getInitials;
@@ -0,0 +1 @@
1
+ export declare function getInitials(firstName?: string, lastName?: string): string;
@@ -0,0 +1,10 @@
1
+ function getInitials(firstName, lastName) {
2
+ if (!firstName && !lastName)
3
+ return "";
4
+ const firstInitial = firstName ? firstName.charAt(0).toLocaleUpperCase() : "";
5
+ const lastInitial = lastName ? lastName.charAt(0).toLocaleUpperCase() : "";
6
+ return `${firstInitial}${lastInitial}`;
7
+ }
8
+ export {
9
+ getInitials
10
+ };
@@ -9,7 +9,7 @@ export declare const Link: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.
9
9
  disableVisited?: boolean | undefined;
10
10
  ensureTargetArea?: boolean | undefined;
11
11
  silent?: boolean | undefined;
12
- variant: "text" | "navigation" | "text-negative" | "standalone" | "standalone-negative" | "navigation-negative";
12
+ variant: "navigation" | "text" | "text-negative" | "standalone" | "standalone-negative" | "navigation-negative";
13
13
  } & React.RefAttributes<HTMLAnchorElement>, "ref">, "variant"> & {
14
14
  home?: boolean | undefined;
15
15
  } & React.RefAttributes<HTMLAnchorElement>>;
@@ -15,7 +15,7 @@ export declare const Breadcrumbs: import('react').ForwardRefExoticComponent<Omit
15
15
  disableVisited?: boolean | undefined;
16
16
  ensureTargetArea?: boolean | undefined;
17
17
  silent?: boolean | undefined;
18
- variant: "text" | "navigation" | "text-negative" | "standalone" | "standalone-negative" | "navigation-negative";
18
+ variant: "navigation" | "text" | "text-negative" | "standalone" | "standalone-negative" | "navigation-negative";
19
19
  } & import('react').RefAttributes<HTMLAnchorElement>, "ref">, "variant"> & {
20
20
  home?: boolean | undefined;
21
21
  } & import('react').RefAttributes<HTMLAnchorElement>>;
@@ -8,6 +8,7 @@ const components_carousel_carouselRoot = require("../carousel/carousel-root.cjs"
8
8
  const components_colorDot_index = require("../color-dot/index.cjs");
9
9
  const utils_breakpointToNumber = require("../../utils/breakpointToNumber.cjs");
10
10
  const tokens_breakpoint_variables = require("../../tokens/breakpoint/variables.cjs");
11
+ const components_text_text = require("../text/text.cjs");
11
12
  const ImageSlider = React.forwardRef(
12
13
  ({
13
14
  sliderRef,
@@ -18,13 +19,38 @@ const ImageSlider = React.forwardRef(
18
19
  onClick = () => void 0,
19
20
  onClickNext,
20
21
  onClickPrev,
21
- onChangeVariant = () => void 0
22
+ onChangeVariant = () => void 0,
23
+ maxDotsToShow = void 0
22
24
  }, forwardRef) => {
23
25
  const [selectedSlide, setSelectedSlide] = React.useState((settings == null ? void 0 : settings.initialSlide) || 0);
24
26
  const rootCarouselClass = `${components_card_card.rootClassName}__carousel`;
25
27
  const classes = clsx([components_card_card.styles[rootCarouselClass]], className);
26
28
  const internalSliderRef = React.useRef(null);
27
29
  const innerSliderRef = sliderRef || internalSliderRef;
30
+ const appendDots = maxDotsToShow ? getAppendDotsMethod(maxDotsToShow, selectedSlide) : void 0;
31
+ const defaultDettings = {
32
+ beforeChange: (_currentSlide, nextSlide) => {
33
+ setSelectedSlide(nextSlide);
34
+ onChangeVariant(variants[nextSlide]);
35
+ },
36
+ customPaging: (index) => {
37
+ const variant = variants[index];
38
+ return /* @__PURE__ */ jsxRuntime.jsx(components_colorDot_index.ColorDot, { color: variant.color, size: "xs", bordered: true, wide: index === selectedSlide });
39
+ },
40
+ swipe: false,
41
+ responsive: [
42
+ {
43
+ breakpoint: utils_breakpointToNumber.breakpointToNumber(tokens_breakpoint_variables.teddyBreakpointMd),
44
+ settings: {
45
+ swipe: true
46
+ }
47
+ }
48
+ ],
49
+ ...settings
50
+ };
51
+ if (maxDotsToShow && appendDots) {
52
+ defaultDettings.appendDots = appendDots;
53
+ }
28
54
  return /* @__PURE__ */ jsxRuntime.jsx("div", { ref: forwardRef, className: classes, children: /* @__PURE__ */ jsxRuntime.jsx(
29
55
  components_carousel_carouselRoot.Carousel,
30
56
  {
@@ -33,30 +59,40 @@ const ImageSlider = React.forwardRef(
33
59
  onClickNext,
34
60
  onClickPrev,
35
61
  onClick,
36
- settings: {
37
- beforeChange: (_currentSlide, nextSlide) => {
38
- setSelectedSlide(nextSlide);
39
- onChangeVariant(variants[nextSlide]);
40
- },
41
- customPaging: (index) => {
42
- const variant = variants[index];
43
- return /* @__PURE__ */ jsxRuntime.jsx(components_colorDot_index.ColorDot, { color: variant.color, size: "xs", bordered: true, wide: index === selectedSlide });
44
- },
45
- swipe: false,
46
- responsive: [
47
- {
48
- breakpoint: utils_breakpointToNumber.breakpointToNumber(tokens_breakpoint_variables.teddyBreakpointMd),
49
- settings: {
50
- swipe: true
51
- }
52
- }
53
- ],
54
- ...settings
55
- },
62
+ settings: defaultDettings,
56
63
  children
57
64
  }
58
65
  ) });
59
66
  }
60
67
  );
68
+ const getAppendDotsMethod = (maxDotsToShow, selectedSlide) => {
69
+ return (dots) => {
70
+ const dotsArray = React.Children.toArray(dots);
71
+ const totalDots = dotsArray.length;
72
+ if (totalDots <= maxDotsToShow) {
73
+ return /* @__PURE__ */ jsxRuntime.jsx("ul", { children: dotsArray });
74
+ }
75
+ let startIndex = 0;
76
+ let endIndex = maxDotsToShow;
77
+ const halfMaxDots = Math.floor(maxDotsToShow / 2);
78
+ if (selectedSlide >= halfMaxDots) {
79
+ startIndex = selectedSlide - halfMaxDots;
80
+ endIndex = startIndex + maxDotsToShow;
81
+ if (endIndex > totalDots) {
82
+ endIndex = totalDots;
83
+ startIndex = totalDots - maxDotsToShow;
84
+ }
85
+ }
86
+ const visibleDots = dotsArray.slice(startIndex, endIndex);
87
+ return /* @__PURE__ */ jsxRuntime.jsxs("ul", { children: [
88
+ /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(components_text_text.Text, { variant: "paragraph-100-medium", style: { visibility: startIndex > 0 ? "visible" : "hidden" }, children: "..." }) }),
89
+ visibleDots,
90
+ /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsxs(components_text_text.Text, { variant: "paragraph-100-medium", style: { visibility: endIndex < totalDots ? "visible" : "hidden" }, children: [
91
+ "+",
92
+ endIndex < totalDots ? totalDots - endIndex : 0
93
+ ] }) })
94
+ ] });
95
+ };
96
+ };
61
97
  ImageSlider.displayName = "ImageSlider";
62
98
  exports.ImageSlider = ImageSlider;
@@ -15,5 +15,6 @@ export interface ImageSliderProps {
15
15
  onClickNext?: () => void;
16
16
  onClickPrev?: () => void;
17
17
  onChangeVariant?: (variant: ImageSliderVariant) => void;
18
+ maxDotsToShow?: number;
18
19
  }
19
20
  export declare const ImageSlider: React.ForwardRefExoticComponent<ImageSliderProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,4 @@
1
- import { jsx } from "react/jsx-runtime";
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import React__default, { useState, useRef } from "react";
3
3
  import clsx from "clsx";
4
4
  import { s as styles, rootClassName } from "./card.js";
@@ -6,6 +6,7 @@ import { Carousel } from "../carousel/carousel-root.js";
6
6
  import { ColorDot } from "../color-dot/index.js";
7
7
  import { breakpointToNumber } from "../../utils/breakpointToNumber.js";
8
8
  import { teddyBreakpointMd } from "../../tokens/breakpoint/variables.js";
9
+ import { Text } from "../text/text.js";
9
10
  const ImageSlider = React__default.forwardRef(
10
11
  ({
11
12
  sliderRef,
@@ -16,13 +17,38 @@ const ImageSlider = React__default.forwardRef(
16
17
  onClick = () => void 0,
17
18
  onClickNext,
18
19
  onClickPrev,
19
- onChangeVariant = () => void 0
20
+ onChangeVariant = () => void 0,
21
+ maxDotsToShow = void 0
20
22
  }, forwardRef) => {
21
23
  const [selectedSlide, setSelectedSlide] = useState((settings == null ? void 0 : settings.initialSlide) || 0);
22
24
  const rootCarouselClass = `${rootClassName}__carousel`;
23
25
  const classes = clsx([styles[rootCarouselClass]], className);
24
26
  const internalSliderRef = useRef(null);
25
27
  const innerSliderRef = sliderRef || internalSliderRef;
28
+ const appendDots = maxDotsToShow ? getAppendDotsMethod(maxDotsToShow, selectedSlide) : void 0;
29
+ const defaultDettings = {
30
+ beforeChange: (_currentSlide, nextSlide) => {
31
+ setSelectedSlide(nextSlide);
32
+ onChangeVariant(variants[nextSlide]);
33
+ },
34
+ customPaging: (index) => {
35
+ const variant = variants[index];
36
+ return /* @__PURE__ */ jsx(ColorDot, { color: variant.color, size: "xs", bordered: true, wide: index === selectedSlide });
37
+ },
38
+ swipe: false,
39
+ responsive: [
40
+ {
41
+ breakpoint: breakpointToNumber(teddyBreakpointMd),
42
+ settings: {
43
+ swipe: true
44
+ }
45
+ }
46
+ ],
47
+ ...settings
48
+ };
49
+ if (maxDotsToShow && appendDots) {
50
+ defaultDettings.appendDots = appendDots;
51
+ }
26
52
  return /* @__PURE__ */ jsx("div", { ref: forwardRef, className: classes, children: /* @__PURE__ */ jsx(
27
53
  Carousel,
28
54
  {
@@ -31,31 +57,41 @@ const ImageSlider = React__default.forwardRef(
31
57
  onClickNext,
32
58
  onClickPrev,
33
59
  onClick,
34
- settings: {
35
- beforeChange: (_currentSlide, nextSlide) => {
36
- setSelectedSlide(nextSlide);
37
- onChangeVariant(variants[nextSlide]);
38
- },
39
- customPaging: (index) => {
40
- const variant = variants[index];
41
- return /* @__PURE__ */ jsx(ColorDot, { color: variant.color, size: "xs", bordered: true, wide: index === selectedSlide });
42
- },
43
- swipe: false,
44
- responsive: [
45
- {
46
- breakpoint: breakpointToNumber(teddyBreakpointMd),
47
- settings: {
48
- swipe: true
49
- }
50
- }
51
- ],
52
- ...settings
53
- },
60
+ settings: defaultDettings,
54
61
  children
55
62
  }
56
63
  ) });
57
64
  }
58
65
  );
66
+ const getAppendDotsMethod = (maxDotsToShow, selectedSlide) => {
67
+ return (dots) => {
68
+ const dotsArray = React__default.Children.toArray(dots);
69
+ const totalDots = dotsArray.length;
70
+ if (totalDots <= maxDotsToShow) {
71
+ return /* @__PURE__ */ jsx("ul", { children: dotsArray });
72
+ }
73
+ let startIndex = 0;
74
+ let endIndex = maxDotsToShow;
75
+ const halfMaxDots = Math.floor(maxDotsToShow / 2);
76
+ if (selectedSlide >= halfMaxDots) {
77
+ startIndex = selectedSlide - halfMaxDots;
78
+ endIndex = startIndex + maxDotsToShow;
79
+ if (endIndex > totalDots) {
80
+ endIndex = totalDots;
81
+ startIndex = totalDots - maxDotsToShow;
82
+ }
83
+ }
84
+ const visibleDots = dotsArray.slice(startIndex, endIndex);
85
+ return /* @__PURE__ */ jsxs("ul", { children: [
86
+ /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Text, { variant: "paragraph-100-medium", style: { visibility: startIndex > 0 ? "visible" : "hidden" }, children: "..." }) }),
87
+ visibleDots,
88
+ /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(Text, { variant: "paragraph-100-medium", style: { visibility: endIndex < totalDots ? "visible" : "hidden" }, children: [
89
+ "+",
90
+ endIndex < totalDots ? totalDots - endIndex : 0
91
+ ] }) })
92
+ ] });
93
+ };
94
+ };
59
95
  ImageSlider.displayName = "ImageSlider";
60
96
  export {
61
97
  ImageSlider
@@ -9,7 +9,7 @@ export type IllustrationProps = React.ComponentPropsWithoutRef<'div'> & {
9
9
  /** The illustration for the card */
10
10
  export declare const Illustration: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
11
11
  /** The inset allows make the image bleed out to the edges */
12
- inset?: "all" | "top" | "bottom" | "left" | "right" | "top-right-left" | "bottom-left-right" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top-bottom" | "left-right" | undefined;
12
+ inset?: "top" | "bottom" | "left" | "right" | "all" | "top-right-left" | "bottom-left-right" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top-bottom" | "left-right" | undefined;
13
13
  rounded?: boolean | undefined;
14
14
  } & React.RefAttributes<HTMLDivElement>>;
15
15
  export {};
@@ -7,5 +7,5 @@ export declare const Link: React.ForwardRefExoticComponent<Omit<Omit<React.Detai
7
7
  disableVisited?: boolean | undefined;
8
8
  ensureTargetArea?: boolean | undefined;
9
9
  silent?: boolean | undefined;
10
- variant: "text" | "navigation" | "text-negative" | "standalone" | "standalone-negative" | "navigation-negative";
10
+ variant: "navigation" | "text" | "text-negative" | "standalone" | "standalone-negative" | "navigation-negative";
11
11
  } & React.RefAttributes<HTMLAnchorElement>, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
@@ -10,7 +10,7 @@ export type CardType = 'regular' | 'product';
10
10
  export declare const RootContext: React.Context<{
11
11
  buttonRef: React.RefObject<HTMLButtonElement>;
12
12
  linkRef: React.RefObject<HTMLAnchorElement>;
13
- variant?: "beige" | "gray" | "white" | "purple-light" | "purple-dark" | "beige-light" | undefined;
13
+ variant?: "beige" | "gray" | "white" | "purple-light" | "beige-light" | "purple-dark" | undefined;
14
14
  layout?: Layout | undefined;
15
15
  } | undefined>;
16
16
  /** -------------------------------------------------------------------------------------------------
@@ -7,10 +7,10 @@ const Slider = require("react-slick");
7
7
  require("../../assets/sprite.c3af21af-teddy.svg");
8
8
  const components_icon_icon = require("../icon/icon.cjs");
9
9
  const styles = {
10
- "teddy-carousel": "_teddy-carousel_8pf7z_2",
11
- "teddy-carousel__arrow": "_teddy-carousel__arrow_8pf7z_9",
12
- "teddy-carousel__item": "_teddy-carousel__item_8pf7z_21",
13
- "teddy-carousel--sm": "_teddy-carousel--sm_8pf7z_99"
10
+ "teddy-carousel": "_teddy-carousel_xzfbe_2",
11
+ "teddy-carousel__arrow": "_teddy-carousel__arrow_xzfbe_9",
12
+ "teddy-carousel__item": "_teddy-carousel__item_xzfbe_21",
13
+ "teddy-carousel--sm": "_teddy-carousel--sm_xzfbe_102"
14
14
  };
15
15
  const rootClassName = "teddy-carousel";
16
16
  const CustomArrow = ({
@@ -5,10 +5,10 @@ import Slider from "react-slick";
5
5
  import "../../assets/sprite.c3af21af-teddy.svg";
6
6
  import { Icon } from "../icon/icon.js";
7
7
  const styles = {
8
- "teddy-carousel": "_teddy-carousel_8pf7z_2",
9
- "teddy-carousel__arrow": "_teddy-carousel__arrow_8pf7z_9",
10
- "teddy-carousel__item": "_teddy-carousel__item_8pf7z_21",
11
- "teddy-carousel--sm": "_teddy-carousel--sm_8pf7z_99"
8
+ "teddy-carousel": "_teddy-carousel_xzfbe_2",
9
+ "teddy-carousel__arrow": "_teddy-carousel__arrow_xzfbe_9",
10
+ "teddy-carousel__item": "_teddy-carousel__item_xzfbe_21",
11
+ "teddy-carousel--sm": "_teddy-carousel--sm_xzfbe_102"
12
12
  };
13
13
  const rootClassName = "teddy-carousel";
14
14
  const CustomArrow = ({
@@ -12,8 +12,8 @@ export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.
12
12
  loading?: boolean | undefined;
13
13
  fullWidth?: boolean | undefined;
14
14
  size?: "sm" | "md" | "lg" | undefined;
15
- variant?: "text" | "primary" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
16
- borderStyle?: ("default" | "dashed") | undefined;
15
+ variant?: "list-item" | "text" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
16
+ borderStyle?: ("dashed" | "default") | undefined;
17
17
  } & {
18
18
  iconOnly: true;
19
19
  "aria-label": string;
@@ -24,11 +24,11 @@ export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.
24
24
  loading?: boolean | undefined;
25
25
  fullWidth?: boolean | undefined;
26
26
  size?: "sm" | "md" | "lg" | undefined;
27
- variant?: "text" | "primary" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
28
- borderStyle?: ("default" | "dashed") | undefined;
27
+ variant?: "list-item" | "text" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
28
+ borderStyle?: ("dashed" | "default") | undefined;
29
29
  } & {
30
30
  iconOnly?: false | undefined;
31
31
  "aria-label"?: string | undefined;
32
- } & React.RefAttributes<HTMLButtonElement>, "ref">, "aria-label" | "loading" | "size" | "variant" | "borderStyle" | "fullWidth" | "iconOnly"> & {
33
- as?: "div" | "span" | undefined;
32
+ } & React.RefAttributes<HTMLButtonElement>, "ref">, "size" | "aria-label" | "borderStyle" | "loading" | "variant" | "fullWidth" | "iconOnly"> & {
33
+ as?: "span" | "div" | undefined;
34
34
  } & React.RefAttributes<HTMLButtonElement>>;
@@ -35,8 +35,8 @@ declare const ChannelButton: import('react').ForwardRefExoticComponent<Omit<Omit
35
35
  loading?: boolean | undefined;
36
36
  fullWidth?: boolean | undefined;
37
37
  size?: "sm" | "md" | "lg" | undefined;
38
- variant?: "text" | "primary" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
39
- borderStyle?: ("default" | "dashed") | undefined;
38
+ variant?: "list-item" | "text" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
39
+ borderStyle?: ("dashed" | "default") | undefined;
40
40
  } & {
41
41
  iconOnly: true;
42
42
  "aria-label": string;
@@ -47,13 +47,13 @@ declare const ChannelButton: import('react').ForwardRefExoticComponent<Omit<Omit
47
47
  loading?: boolean | undefined;
48
48
  fullWidth?: boolean | undefined;
49
49
  size?: "sm" | "md" | "lg" | undefined;
50
- variant?: "text" | "primary" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
51
- borderStyle?: ("default" | "dashed") | undefined;
50
+ variant?: "list-item" | "text" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
51
+ borderStyle?: ("dashed" | "default") | undefined;
52
52
  } & {
53
53
  iconOnly?: false | undefined;
54
54
  "aria-label"?: string | undefined;
55
- } & import('react').RefAttributes<HTMLButtonElement>, "ref">, "aria-label" | "loading" | "size" | "variant" | "borderStyle" | "fullWidth" | "iconOnly"> & {
56
- as?: "div" | "span" | undefined;
55
+ } & import('react').RefAttributes<HTMLButtonElement>, "ref">, "size" | "aria-label" | "borderStyle" | "loading" | "variant" | "fullWidth" | "iconOnly"> & {
56
+ as?: "span" | "div" | undefined;
57
57
  } & import('react').RefAttributes<HTMLButtonElement>> & {
58
58
  /**
59
59
  * The Illustration component is used to wrap the image in the ChannelButton.
@@ -32,7 +32,7 @@ declare const List: React.ForwardRefExoticComponent<Omit<Omit<import('../../util
32
32
  } & import('../../utils/generate-styling/flex').FlexLayout & {
33
33
  as: "div";
34
34
  asChild?: false | undefined;
35
- } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref">, "asChild" | "as"> & {
35
+ } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref">, "as" | "asChild"> & {
36
36
  parentValue?: string | undefined;
37
37
  } & React.RefAttributes<HTMLDivElement>>;
38
38
  export { List };
@@ -34,7 +34,7 @@ export declare const Group: React.ForwardRefExoticComponent<Omit<Omit<import('..
34
34
  } & import('../../utils/generate-styling/flex').FlexLayout & {
35
35
  as: "div";
36
36
  asChild?: false | undefined;
37
- } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref">, "defaultValue" | "direction" | "value" | "onValueChange"> & {
37
+ } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref">, "direction" | "value" | "defaultValue" | "onValueChange"> & {
38
38
  name?: string | undefined;
39
39
  required?: boolean | undefined;
40
40
  disabled?: boolean | undefined;
@@ -41,7 +41,7 @@ export declare const CheckboxGroup: import('react').ForwardRefExoticComponent<Om
41
41
  } & import('../../utils/generate-styling/flex.ts').FlexLayout & {
42
42
  as: "div";
43
43
  asChild?: false | undefined;
44
- } & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref">, "defaultValue" | "direction" | "value" | "onValueChange"> & {
44
+ } & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref">, "direction" | "value" | "defaultValue" | "onValueChange"> & {
45
45
  name?: string | undefined;
46
46
  required?: boolean | undefined;
47
47
  disabled?: boolean | undefined;
@@ -79,7 +79,7 @@ export declare const CheckboxGroup: import('react').ForwardRefExoticComponent<Om
79
79
  } & import('../../utils/generate-styling/flex.ts').FlexLayout & {
80
80
  as: "div";
81
81
  asChild?: false | undefined;
82
- } & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref">, "asChild" | "as"> & {
82
+ } & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref">, "as" | "asChild"> & {
83
83
  parentValue?: string | undefined;
84
84
  } & import('react').RefAttributes<HTMLDivElement>>;
85
85
  GroupLabel: import('react').ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-label').LabelProps & import('react').RefAttributes<HTMLLabelElement>, "ref"> & {