@telia/teddy 0.7.40 → 0.7.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/dist/components/avatar/avatar-root.d.ts +1 -1
  2. package/dist/components/avatar/index.d.ts +2 -2
  3. package/dist/components/breadcrumbs/breadcrumbs-link.d.ts +1 -1
  4. package/dist/components/breadcrumbs/index.d.ts +1 -1
  5. package/dist/components/card/card-link.d.ts +1 -1
  6. package/dist/components/card/card.d.ts +1 -1
  7. package/dist/components/channel-button/channel-button-root.d.ts +4 -4
  8. package/dist/components/channel-button/index.d.ts +4 -4
  9. package/dist/components/checkbox/checkbox-group.d.ts +1 -1
  10. package/dist/components/checkbox/index.d.ts +1 -1
  11. package/dist/components/checkbox-card-group/checkbox-card-group-content.cjs +1 -0
  12. package/dist/components/checkbox-card-group/checkbox-card-group-content.js +1 -0
  13. package/dist/components/checkbox-card-group/checkbox-card-group-indicator.cjs +1 -0
  14. package/dist/components/checkbox-card-group/checkbox-card-group-indicator.js +1 -0
  15. package/dist/components/checkbox-card-group/checkbox-card-group-item-title.cjs +1 -0
  16. package/dist/components/checkbox-card-group/checkbox-card-group-item-title.js +1 -0
  17. package/dist/components/checkbox-card-group/checkbox-card-group-item.cjs +1 -0
  18. package/dist/components/checkbox-card-group/checkbox-card-group-item.js +1 -0
  19. package/dist/components/chip/chip-indicator.d.ts +2 -2
  20. package/dist/components/chip/index.d.ts +2 -2
  21. package/dist/components/dashboard-card/dashboard-card-avatar.d.ts +2 -2
  22. package/dist/components/dashed-button/dashed-button-root.d.ts +4 -4
  23. package/dist/components/expandable-card/expandable-card-button.d.ts +2 -2
  24. package/dist/components/expandable-card/index.d.ts +3 -3
  25. package/dist/components/flip-card/flip-card-trigger.d.ts +2 -2
  26. package/dist/components/icon/utils.d.ts +1 -1
  27. package/dist/components/index.cjs +2 -0
  28. package/dist/components/index.d.ts +1 -0
  29. package/dist/components/index.js +2 -0
  30. package/dist/components/input/index.d.ts +1 -1
  31. package/dist/components/modal/modal-close.cjs +1 -0
  32. package/dist/components/modal/modal-close.js +1 -0
  33. package/dist/components/navigation-menu/navigation-menu.cjs +1 -0
  34. package/dist/components/navigation-menu/navigation-menu.d.ts +1 -1
  35. package/dist/components/navigation-menu/navigation-menu.js +1 -0
  36. package/dist/components/notabene/notabene-icon.d.ts +2 -2
  37. package/dist/components/notification/index.d.ts +4 -4
  38. package/dist/components/notification/notification-icon.d.ts +2 -2
  39. package/dist/components/notification/notification-root.d.ts +4 -4
  40. package/dist/components/radio-card-group/radio-card-group-content.cjs +1 -0
  41. package/dist/components/radio-card-group/radio-card-group-content.js +1 -0
  42. package/dist/components/radio-card-group/radio-card-group-item-title.cjs +1 -0
  43. package/dist/components/radio-card-group/radio-card-group-item-title.js +1 -0
  44. package/dist/components/radio-card-group/radio-card-group-item.cjs +1 -0
  45. package/dist/components/radio-card-group/radio-card-group-item.js +1 -0
  46. package/dist/components/scroll-area/index.d.ts +2 -2
  47. package/dist/components/scroll-area/scroll-area-button.d.ts +2 -2
  48. package/dist/components/tabs/index.d.ts +1 -1
  49. package/dist/components/tabs/tabs-root.d.ts +1 -1
  50. package/dist/components/tabs/tabs-scroll-button.d.ts +2 -2
  51. package/dist/components/text-field/index.d.ts +2 -2
  52. package/dist/components/text-field/text-field-button.d.ts +2 -2
  53. package/dist/components/textarea/index.d.ts +1 -1
  54. package/dist/components/toggle/toggle.d.ts +2 -2
  55. package/dist/components/tooltip/index.d.ts +1 -1
  56. package/dist/components/top-row-buttons/index.cjs +4 -0
  57. package/dist/components/top-row-buttons/index.d.ts +2 -0
  58. package/dist/components/top-row-buttons/index.js +4 -0
  59. package/dist/components/top-row-buttons/top-row-buttons.cjs +72 -0
  60. package/dist/components/top-row-buttons/top-row-buttons.d.ts +48 -0
  61. package/dist/components/top-row-buttons/top-row-buttons.js +72 -0
  62. package/dist/main.cjs +2 -0
  63. package/dist/main.js +2 -0
  64. package/dist/style.css +159 -42
  65. package/package.json +3 -3
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const components_topRowButtons_topRowButtons = require("./top-row-buttons/top-row-buttons.cjs");
3
4
  const components_dashedButton_dashedButtonRoot = require("./dashed-button/dashed-button-root.cjs");
4
5
  const components_shoppingCart_index = require("./shopping-cart/index.cjs");
5
6
  const components_stepIndicator_index = require("./step-indicator/index.cjs");
@@ -70,6 +71,7 @@ const components_shoppingCart_types = require("./shopping-cart/types.cjs");
70
71
  const sonner = require("sonner");
71
72
  const components_input_inputGroup = require("./input/input-group.cjs");
72
73
  const components_textarea_textareaGroup = require("./textarea/textarea-group.cjs");
74
+ exports.TopRowButtons = components_topRowButtons_topRowButtons.TopRowButtons;
73
75
  exports.DashedButton = components_dashedButton_dashedButtonRoot.DashedButton;
74
76
  exports.ShoppingCart = components_shoppingCart_index.ShoppingCart;
75
77
  exports.StepIndicator = components_stepIndicator_index.StepIndicator;
@@ -1,3 +1,4 @@
1
+ export * from './top-row-buttons';
1
2
  export * from './dashed-button';
2
3
  export * from './shopping-cart';
3
4
  export * from './step-indicator';
@@ -1,3 +1,4 @@
1
+ import { TopRowButtons } from "./top-row-buttons/top-row-buttons.js";
1
2
  import { DashedButton } from "./dashed-button/dashed-button-root.js";
2
3
  import { ShoppingCart } from "./shopping-cart/index.js";
3
4
  import { StepIndicator } from "./step-indicator/index.js";
@@ -139,6 +140,7 @@ export {
139
140
  Toggle,
140
141
  Toggletip,
141
142
  Tooltip,
143
+ TopRowButtons,
142
144
  default3 as Video,
143
145
  VisuallyHidden,
144
146
  isIconName,
@@ -8,7 +8,7 @@ declare const InputGroup: import('react').ForwardRefExoticComponent<Omit<import(
8
8
  preventGroupClickSelect?: boolean | undefined;
9
9
  } & import('react').RefAttributes<HTMLDivElement>> & {
10
10
  Input: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "children"> & {
11
- validationState?: ("valid" | "invalid") | undefined;
11
+ validationState?: ("invalid" | "valid") | undefined;
12
12
  isLoading?: boolean | undefined;
13
13
  onValueChange?: ((value: string) => void) | undefined;
14
14
  } & import('react').RefAttributes<HTMLInputElement>>;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  require("react/jsx-runtime");
4
4
  require("react");
5
5
  require("@radix-ui/react-dialog");
6
+ require("../top-row-buttons/top-row-buttons.cjs");
6
7
  require("../dashed-button/dashed-button-root.cjs");
7
8
  require("../shopping-cart/index.cjs");
8
9
  require("../step-indicator/index.cjs");
@@ -1,6 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "@radix-ui/react-dialog";
4
+ import "../top-row-buttons/top-row-buttons.js";
4
5
  import "../dashed-button/dashed-button-root.js";
5
6
  import "../shopping-cart/index.js";
6
7
  import "../step-indicator/index.js";
@@ -12,6 +12,7 @@ require("@radix-ui/react-slot");
12
12
  require("@radix-ui/react-use-controllable-state");
13
13
  require("../../utils/generate-styling/index.cjs");
14
14
  require("../../tokens/motion/variables.cjs");
15
+ require("../top-row-buttons/top-row-buttons.cjs");
15
16
  require("../dashed-button/dashed-button-root.cjs");
16
17
  require("../shopping-cart/index.cjs");
17
18
  require("../step-indicator/index.cjs");
@@ -113,7 +113,7 @@ declare const NavigationMenu: React.ForwardRefExoticComponent<Omit<NavigationMen
113
113
  variant?: "default" | "float" | undefined;
114
114
  } & React.RefAttributes<HTMLDivElement>>;
115
115
  Link: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>, "ref"> & {
116
- variant?: "button" | "small" | "default" | undefined;
116
+ variant?: "small" | "button" | "default" | undefined;
117
117
  } & React.RefAttributes<HTMLAnchorElement>>;
118
118
  Indicator: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
119
119
  Viewport: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -10,6 +10,7 @@ import "@radix-ui/react-slot";
10
10
  import "@radix-ui/react-use-controllable-state";
11
11
  import "../../utils/generate-styling/index.js";
12
12
  import "../../tokens/motion/variables.js";
13
+ import "../top-row-buttons/top-row-buttons.js";
13
14
  import "../dashed-button/dashed-button-root.js";
14
15
  import "../shopping-cart/index.js";
15
16
  import "../step-indicator/index.js";
@@ -3,8 +3,8 @@ import { Icon as PrimitiveIcon } from '../icon';
3
3
 
4
4
  export type IconProps = Partial<React.ComponentPropsWithoutRef<typeof PrimitiveIcon>>;
5
5
  export declare const Icon: React.ForwardRefExoticComponent<Partial<Omit<React.SVGProps<SVGSVGElement> & {
6
- name: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "x" | "key" | "split" | "alert" | "radio" | "copy" | "add" | "reverse" | "infinite" | "visible" | "help" | "zoom-out" | "zoom" | "email" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "download" | "edit" | "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" | "volume" | "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" | "end-user" | "handshake" | "headphones" | "letter" | "mms" | "new-contact" | "new-group" | "news" | "parental-guide" | "people-hub" | "people" | "portal" | "signature" | "smiley-happy" | "smiley-neutral" | "smiley-sad" | "smiley-very-happy" | "smiley-very-sad" | "sms" | "support" | "user-admin" | "vcard" | "voicemail" | "battery" | "bluetooth" | "broadband" | "broken-phone" | "cast" | "cloud-connect" | "connected" | "core-router" | "daas-device" | "data-transfer" | "desktop" | "devices" | "esim-simcard" | "esim" | "face-id" | "fiber" | "fingerprint" | "fiveg" | "fourg" | "home-installation" | "industrial-iot" | "internet" | "it-service" | "laptop" | "mobile-broadband" | "network" | "phone-recycling" | "phone-ringing" | "phone" | "rack" | "refill-card" | "remote-control" | "repair" | "roaming" | "router" | "secure-device" | "sense-car" | "server" | "service-device" | "service-supervision" | "slow-wifi" | "smart-wifi" | "smartphone" | "smartwatch" | "tablet" | "trade-phone" | "tv" | "usb" | "voice-switch" | "wallplug" | "wireless-off" | "wireless-weak" | "wireless" | "world-alert" | "world-off" | "world-question" | "bar-chart" | "doc" | "document-doc" | "document-edit" | "document-pdf" | "document-ppt" | "excel" | "folder-copy" | "folder-new" | "folder" | "gif" | "graph" | "media-content" | "org-chart" | "pie-chart" | "print" | "register" | "report" | "simcard" | "spell-check" | "credit-card" | "euro" | "invoice" | "kontantkort" | "kr" | "late-payment" | "money-back-euro" | "money-back-kr" | "money-euro" | "money-kr" | "pay-monthly-euro" | "pay-monthly-kr" | "pay-once-euro" | "pay-once-kr" | "payment-success" | "savings" | "wallet" | "AI-star" | "airplay" | "camera" | "entertainment" | "external" | "film" | "games" | "megaphone" | "microphone" | "music" | "player-settings" | "record" | "stream" | "trailer" | "video-conference" | "activity-level" | "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" | "job-search" | "layers" | "measuring-health" | "moisture" | "offering" | "offshore" | "optimization" | "pebble" | "pet-dog" | "pin" | "plane" | "plus-minus" | "police" | "power-grid" | "present" | "press-button" | "price" | "pulse" | "recycle" | "reservation" | "route" | "ruler" | "satellite" | "secured-1" | "secured-2" | "security-camera" | "shopping" | "smart-connect" | "snowflake" | "speedometer" | "spyware" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "youtube" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "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" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view";
7
- size?: ("xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "font") | undefined;
6
+ name: "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "copy" | "dislike" | "download" | "edit" | "filter" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "play" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "sync" | "tv-next" | "tv-pause" | "tv-previous" | "tv-stop" | "upload" | "visible" | "volume" | "zoom-out" | "zoom" | "connected-building" | "home" | "hospital" | "industry" | "premises-datacenter" | "premises-large" | "premises-medium" | "premises-small" | "premises" | "store" | "address-book" | "b2b-customer" | "care" | "chat-robot" | "chat" | "child-1" | "child-2" | "conversation" | "customer-dialogue" | "dsl-hub" | "email" | "end-user" | "handshake" | "headphones" | "letter" | "mms" | "new-contact" | "new-group" | "news" | "parental-guide" | "people-hub" | "people" | "portal" | "signature" | "smiley-happy" | "smiley-neutral" | "smiley-sad" | "smiley-very-happy" | "smiley-very-sad" | "sms" | "support" | "user-admin" | "vcard" | "voicemail" | "battery" | "bluetooth" | "broadband" | "broken-phone" | "cast" | "cloud-connect" | "connected" | "core-router" | "daas-device" | "data-transfer" | "desktop" | "devices" | "esim-simcard" | "esim" | "face-id" | "fiber" | "fingerprint" | "fiveg" | "fourg" | "home-installation" | "industrial-iot" | "internet" | "it-service" | "laptop" | "mobile-broadband" | "network" | "phone-recycling" | "phone-ringing" | "phone" | "rack" | "refill-card" | "remote-control" | "repair" | "roaming" | "router" | "secure-device" | "sense-car" | "server" | "service-device" | "service-supervision" | "slow-wifi" | "smart-wifi" | "smartphone" | "smartwatch" | "tablet" | "trade-phone" | "tv" | "usb" | "voice-switch" | "wallplug" | "wireless-off" | "wireless-weak" | "wireless" | "world-alert" | "world-off" | "world-question" | "bar-chart" | "doc" | "document-doc" | "document-edit" | "document-pdf" | "document-ppt" | "excel" | "folder-copy" | "folder-new" | "folder" | "gif" | "graph" | "media-content" | "org-chart" | "pie-chart" | "print" | "register" | "report" | "simcard" | "spell-check" | "summary" | "credit-card" | "euro" | "invoice" | "kontantkort" | "kr" | "late-payment" | "money-back-euro" | "money-back-kr" | "money-euro" | "money-kr" | "pay-monthly-euro" | "pay-monthly-kr" | "pay-once-euro" | "pay-once-kr" | "payment-success" | "savings" | "wallet" | "AI-star" | "airplay" | "camera" | "entertainment" | "external" | "film" | "games" | "image" | "link" | "megaphone" | "microphone" | "music" | "player-settings" | "record" | "stream" | "trailer" | "video-conference" | "video" | "activity-level" | "add" | "ai-robot" | "bag" | "basketball" | "blood-pressure" | "bulb" | "business-continuity" | "business-intelligence" | "calendar" | "cart" | "close-circle" | "cloud" | "coffee" | "compass" | "construction" | "cookie" | "delivery" | "drone" | "education" | "efficiency" | "environment" | "facemask" | "flag" | "focus" | "food" | "fraud" | "getting-started" | "home-care" | "infinite" | "job-search" | "key" | "layers" | "map" | "measuring-health" | "moisture" | "offering" | "offshore" | "optimization" | "pebble" | "pet-dog" | "pin" | "plane" | "plus-minus" | "police" | "power-grid" | "present" | "press-button" | "price" | "pulse" | "radio" | "recycle" | "reservation" | "reverse" | "route" | "ruler" | "satellite" | "secured-1" | "secured-2" | "security-camera" | "shopping" | "smart-connect" | "snowflake" | "speedometer" | "split" | "spyware" | "stop" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "time" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "x" | "youtube" | "alert-filled" | "alert" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "help" | "info-filled" | "info" | "question-filled" | "question" | "warning" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-subdirectory" | "arrow-up" | "card-view" | "checkmark-bold" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "close" | "grid-view" | "list-view" | "menu" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "search" | "services" | "sorter" | "table-view";
7
+ size?: ("font" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl") | undefined;
8
8
  title?: string | undefined;
9
9
  children?: React.ReactNode;
10
10
  }, "ref">> & React.RefAttributes<SVGSVGElement>>;
@@ -44,7 +44,7 @@ declare const Notification: import('react').ForwardRefExoticComponent<Omit<Omit<
44
44
  * @example
45
45
  * <Notification.Footer">Notification Footer</Notification.Footer>
46
46
  */
47
- variant?: "beige" | "gray" | "white" | "purple-light" | "beige-light" | "purple-dark" | undefined;
47
+ variant?: "beige" | "white" | "gray" | "purple-light" | "beige-light" | "purple-dark" | undefined;
48
48
  bordered?: boolean | undefined;
49
49
  shadow?: boolean | undefined;
50
50
  backgroundImageSrc?: string | undefined;
@@ -68,7 +68,7 @@ declare const Notification: import('react').ForwardRefExoticComponent<Omit<Omit<
68
68
  * @example
69
69
  * <Notification.Footer">Notification Footer</Notification.Footer>
70
70
  */
71
- variant?: "beige" | "gray" | "white" | "purple-light" | "beige-light" | "purple-dark" | undefined;
71
+ variant?: "beige" | "white" | "gray" | "purple-light" | "beige-light" | "purple-dark" | undefined;
72
72
  bordered?: boolean | undefined;
73
73
  shadow?: boolean | undefined;
74
74
  backgroundImageSrc?: string | undefined;
@@ -92,14 +92,14 @@ declare const Notification: import('react').ForwardRefExoticComponent<Omit<Omit<
92
92
  * @example
93
93
  * <Notification.Footer">Notification Footer</Notification.Footer>
94
94
  */
95
- variant?: "beige" | "gray" | "white" | "purple-light" | "beige-light" | "purple-dark" | undefined;
95
+ variant?: "beige" | "white" | "gray" | "purple-light" | "beige-light" | "purple-dark" | undefined;
96
96
  bordered?: boolean | undefined;
97
97
  shadow?: boolean | undefined;
98
98
  backgroundImageSrc?: string | undefined;
99
99
  imageGradient?: ("dark" | "light" | "default") | undefined;
100
100
  layout?: import('../card/card').Layout | undefined;
101
101
  } & import('react').RefAttributes<HTMLDivElement>, "ref">, "variant" | "layout" | "as"> & {
102
- variant?: "beige" | "gray" | "teal" | "error" | "warning" | "information" | "success" | undefined;
102
+ variant?: "error" | "warning" | "beige" | "gray" | "teal" | "information" | "success" | undefined;
103
103
  type?: "card" | "tile" | undefined;
104
104
  open?: boolean | undefined;
105
105
  defaultOpen?: boolean | undefined;
@@ -3,8 +3,8 @@ import { Icon as IconPrimitives } from '../icon';
3
3
 
4
4
  export type IconProps = Partial<React.ComponentPropsWithoutRef<typeof IconPrimitives>>;
5
5
  export declare const Icon: React.ForwardRefExoticComponent<Partial<Omit<React.SVGProps<SVGSVGElement> & {
6
- name: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "x" | "key" | "split" | "alert" | "radio" | "copy" | "add" | "reverse" | "infinite" | "visible" | "help" | "zoom-out" | "zoom" | "email" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "download" | "edit" | "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" | "volume" | "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" | "end-user" | "handshake" | "headphones" | "letter" | "mms" | "new-contact" | "new-group" | "news" | "parental-guide" | "people-hub" | "people" | "portal" | "signature" | "smiley-happy" | "smiley-neutral" | "smiley-sad" | "smiley-very-happy" | "smiley-very-sad" | "sms" | "support" | "user-admin" | "vcard" | "voicemail" | "battery" | "bluetooth" | "broadband" | "broken-phone" | "cast" | "cloud-connect" | "connected" | "core-router" | "daas-device" | "data-transfer" | "desktop" | "devices" | "esim-simcard" | "esim" | "face-id" | "fiber" | "fingerprint" | "fiveg" | "fourg" | "home-installation" | "industrial-iot" | "internet" | "it-service" | "laptop" | "mobile-broadband" | "network" | "phone-recycling" | "phone-ringing" | "phone" | "rack" | "refill-card" | "remote-control" | "repair" | "roaming" | "router" | "secure-device" | "sense-car" | "server" | "service-device" | "service-supervision" | "slow-wifi" | "smart-wifi" | "smartphone" | "smartwatch" | "tablet" | "trade-phone" | "tv" | "usb" | "voice-switch" | "wallplug" | "wireless-off" | "wireless-weak" | "wireless" | "world-alert" | "world-off" | "world-question" | "bar-chart" | "doc" | "document-doc" | "document-edit" | "document-pdf" | "document-ppt" | "excel" | "folder-copy" | "folder-new" | "folder" | "gif" | "graph" | "media-content" | "org-chart" | "pie-chart" | "print" | "register" | "report" | "simcard" | "spell-check" | "credit-card" | "euro" | "invoice" | "kontantkort" | "kr" | "late-payment" | "money-back-euro" | "money-back-kr" | "money-euro" | "money-kr" | "pay-monthly-euro" | "pay-monthly-kr" | "pay-once-euro" | "pay-once-kr" | "payment-success" | "savings" | "wallet" | "AI-star" | "airplay" | "camera" | "entertainment" | "external" | "film" | "games" | "megaphone" | "microphone" | "music" | "player-settings" | "record" | "stream" | "trailer" | "video-conference" | "activity-level" | "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" | "job-search" | "layers" | "measuring-health" | "moisture" | "offering" | "offshore" | "optimization" | "pebble" | "pet-dog" | "pin" | "plane" | "plus-minus" | "police" | "power-grid" | "present" | "press-button" | "price" | "pulse" | "recycle" | "reservation" | "route" | "ruler" | "satellite" | "secured-1" | "secured-2" | "security-camera" | "shopping" | "smart-connect" | "snowflake" | "speedometer" | "spyware" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "youtube" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "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" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view";
7
- size?: ("xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "font") | undefined;
6
+ name: "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "copy" | "dislike" | "download" | "edit" | "filter" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "play" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "sync" | "tv-next" | "tv-pause" | "tv-previous" | "tv-stop" | "upload" | "visible" | "volume" | "zoom-out" | "zoom" | "connected-building" | "home" | "hospital" | "industry" | "premises-datacenter" | "premises-large" | "premises-medium" | "premises-small" | "premises" | "store" | "address-book" | "b2b-customer" | "care" | "chat-robot" | "chat" | "child-1" | "child-2" | "conversation" | "customer-dialogue" | "dsl-hub" | "email" | "end-user" | "handshake" | "headphones" | "letter" | "mms" | "new-contact" | "new-group" | "news" | "parental-guide" | "people-hub" | "people" | "portal" | "signature" | "smiley-happy" | "smiley-neutral" | "smiley-sad" | "smiley-very-happy" | "smiley-very-sad" | "sms" | "support" | "user-admin" | "vcard" | "voicemail" | "battery" | "bluetooth" | "broadband" | "broken-phone" | "cast" | "cloud-connect" | "connected" | "core-router" | "daas-device" | "data-transfer" | "desktop" | "devices" | "esim-simcard" | "esim" | "face-id" | "fiber" | "fingerprint" | "fiveg" | "fourg" | "home-installation" | "industrial-iot" | "internet" | "it-service" | "laptop" | "mobile-broadband" | "network" | "phone-recycling" | "phone-ringing" | "phone" | "rack" | "refill-card" | "remote-control" | "repair" | "roaming" | "router" | "secure-device" | "sense-car" | "server" | "service-device" | "service-supervision" | "slow-wifi" | "smart-wifi" | "smartphone" | "smartwatch" | "tablet" | "trade-phone" | "tv" | "usb" | "voice-switch" | "wallplug" | "wireless-off" | "wireless-weak" | "wireless" | "world-alert" | "world-off" | "world-question" | "bar-chart" | "doc" | "document-doc" | "document-edit" | "document-pdf" | "document-ppt" | "excel" | "folder-copy" | "folder-new" | "folder" | "gif" | "graph" | "media-content" | "org-chart" | "pie-chart" | "print" | "register" | "report" | "simcard" | "spell-check" | "summary" | "credit-card" | "euro" | "invoice" | "kontantkort" | "kr" | "late-payment" | "money-back-euro" | "money-back-kr" | "money-euro" | "money-kr" | "pay-monthly-euro" | "pay-monthly-kr" | "pay-once-euro" | "pay-once-kr" | "payment-success" | "savings" | "wallet" | "AI-star" | "airplay" | "camera" | "entertainment" | "external" | "film" | "games" | "image" | "link" | "megaphone" | "microphone" | "music" | "player-settings" | "record" | "stream" | "trailer" | "video-conference" | "video" | "activity-level" | "add" | "ai-robot" | "bag" | "basketball" | "blood-pressure" | "bulb" | "business-continuity" | "business-intelligence" | "calendar" | "cart" | "close-circle" | "cloud" | "coffee" | "compass" | "construction" | "cookie" | "delivery" | "drone" | "education" | "efficiency" | "environment" | "facemask" | "flag" | "focus" | "food" | "fraud" | "getting-started" | "home-care" | "infinite" | "job-search" | "key" | "layers" | "map" | "measuring-health" | "moisture" | "offering" | "offshore" | "optimization" | "pebble" | "pet-dog" | "pin" | "plane" | "plus-minus" | "police" | "power-grid" | "present" | "press-button" | "price" | "pulse" | "radio" | "recycle" | "reservation" | "reverse" | "route" | "ruler" | "satellite" | "secured-1" | "secured-2" | "security-camera" | "shopping" | "smart-connect" | "snowflake" | "speedometer" | "split" | "spyware" | "stop" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "time" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "x" | "youtube" | "alert-filled" | "alert" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "help" | "info-filled" | "info" | "question-filled" | "question" | "warning" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-subdirectory" | "arrow-up" | "card-view" | "checkmark-bold" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "close" | "grid-view" | "list-view" | "menu" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "search" | "services" | "sorter" | "table-view";
7
+ size?: ("font" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl") | undefined;
8
8
  title?: string | undefined;
9
9
  children?: React.ReactNode;
10
10
  }, "ref">> & React.RefAttributes<SVGSVGElement>>;
@@ -30,7 +30,7 @@ export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<R
30
30
  as?: undefined;
31
31
  } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
32
32
  asChild?: boolean | undefined;
33
- variant?: "beige" | "gray" | "white" | "purple-light" | "beige-light" | "purple-dark" | undefined;
33
+ variant?: "beige" | "white" | "gray" | "purple-light" | "beige-light" | "purple-dark" | undefined;
34
34
  bordered?: boolean | undefined;
35
35
  shadow?: boolean | undefined;
36
36
  backgroundImageSrc?: string | undefined;
@@ -46,7 +46,7 @@ export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<R
46
46
  asChild?: false | undefined;
47
47
  } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
48
48
  asChild?: boolean | undefined;
49
- variant?: "beige" | "gray" | "white" | "purple-light" | "beige-light" | "purple-dark" | undefined;
49
+ variant?: "beige" | "white" | "gray" | "purple-light" | "beige-light" | "purple-dark" | undefined;
50
50
  bordered?: boolean | undefined;
51
51
  shadow?: boolean | undefined;
52
52
  backgroundImageSrc?: string | undefined;
@@ -62,7 +62,7 @@ export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<R
62
62
  asChild?: false | undefined;
63
63
  } & React.RefAttributes<HTMLDivElement>, "ref"> & {
64
64
  asChild?: boolean | undefined;
65
- variant?: "beige" | "gray" | "white" | "purple-light" | "beige-light" | "purple-dark" | undefined;
65
+ variant?: "beige" | "white" | "gray" | "purple-light" | "beige-light" | "purple-dark" | undefined;
66
66
  bordered?: boolean | undefined;
67
67
  shadow?: boolean | undefined;
68
68
  backgroundImageSrc?: string | undefined;
@@ -73,7 +73,7 @@ export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<R
73
73
  * The variant of the notification.
74
74
  *
75
75
  */
76
- variant?: "beige" | "gray" | "teal" | "error" | "warning" | "information" | "success" | undefined;
76
+ variant?: "error" | "warning" | "beige" | "gray" | "teal" | "information" | "success" | undefined;
77
77
  /**
78
78
  * The tyoe of the notification.
79
79
  *
@@ -4,6 +4,7 @@ require("react/jsx-runtime");
4
4
  require("clsx");
5
5
  require("react");
6
6
  require("./radio-card-group-root.cjs");
7
+ require("../top-row-buttons/top-row-buttons.cjs");
7
8
  require("../dashed-button/dashed-button-root.cjs");
8
9
  require("../shopping-cart/index.cjs");
9
10
  require("../step-indicator/index.cjs");
@@ -2,6 +2,7 @@ import "react/jsx-runtime";
2
2
  import "clsx";
3
3
  import "react";
4
4
  import "./radio-card-group-root.js";
5
+ import "../top-row-buttons/top-row-buttons.js";
5
6
  import "../dashed-button/dashed-button-root.js";
6
7
  import "../shopping-cart/index.js";
7
8
  import "../step-indicator/index.js";
@@ -5,6 +5,7 @@ require("clsx");
5
5
  require("react");
6
6
  require("./radio-card-group-root.cjs");
7
7
  require("@radix-ui/react-slot");
8
+ require("../top-row-buttons/top-row-buttons.cjs");
8
9
  require("../dashed-button/dashed-button-root.cjs");
9
10
  require("../shopping-cart/index.cjs");
10
11
  require("../step-indicator/index.cjs");
@@ -3,6 +3,7 @@ import "clsx";
3
3
  import "react";
4
4
  import "./radio-card-group-root.js";
5
5
  import "@radix-ui/react-slot";
6
+ import "../top-row-buttons/top-row-buttons.js";
6
7
  import "../dashed-button/dashed-button-root.js";
7
8
  import "../shopping-cart/index.js";
8
9
  import "../step-indicator/index.js";
@@ -5,6 +5,7 @@ require("clsx");
5
5
  require("react");
6
6
  require("./radio-card-group-root.cjs");
7
7
  require("@radix-ui/react-radio-group");
8
+ require("../top-row-buttons/top-row-buttons.cjs");
8
9
  require("../dashed-button/dashed-button-root.cjs");
9
10
  require("../shopping-cart/index.cjs");
10
11
  require("../step-indicator/index.cjs");
@@ -3,6 +3,7 @@ import "clsx";
3
3
  import "react";
4
4
  import "./radio-card-group-root.js";
5
5
  import "@radix-ui/react-radio-group";
6
+ import "../top-row-buttons/top-row-buttons.js";
6
7
  import "../dashed-button/dashed-button-root.js";
7
8
  import "../shopping-cart/index.js";
8
9
  import "../step-indicator/index.js";
@@ -21,7 +21,7 @@ export declare const ScrollArea: import('react').ForwardRefExoticComponent<Omit<
21
21
  loading?: boolean | undefined;
22
22
  fullWidth?: boolean | undefined;
23
23
  size?: "sm" | "md" | "lg" | undefined;
24
- variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
24
+ variant?: "list-item" | "text" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
25
25
  borderStyle?: ("dashed" | "default") | undefined;
26
26
  } & {
27
27
  iconOnly: true;
@@ -33,7 +33,7 @@ export declare const ScrollArea: import('react').ForwardRefExoticComponent<Omit<
33
33
  loading?: boolean | undefined;
34
34
  fullWidth?: boolean | undefined;
35
35
  size?: "sm" | "md" | "lg" | undefined;
36
- variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
36
+ variant?: "list-item" | "text" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
37
37
  borderStyle?: ("dashed" | "default") | undefined;
38
38
  } & {
39
39
  iconOnly?: false | undefined;
@@ -17,7 +17,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
17
17
  loading?: boolean | undefined;
18
18
  fullWidth?: boolean | undefined;
19
19
  size?: "sm" | "md" | "lg" | undefined;
20
- variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
20
+ variant?: "list-item" | "text" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
21
21
  borderStyle?: ("dashed" | "default") | undefined;
22
22
  } & {
23
23
  iconOnly: true;
@@ -29,7 +29,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
29
29
  loading?: boolean | undefined;
30
30
  fullWidth?: boolean | undefined;
31
31
  size?: "sm" | "md" | "lg" | undefined;
32
- variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
32
+ variant?: "list-item" | "text" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
33
33
  borderStyle?: ("dashed" | "default") | undefined;
34
34
  } & {
35
35
  iconOnly?: false | undefined;
@@ -45,7 +45,7 @@ type TabsProps = {
45
45
  * <Tabs.Content value="tab2">Content for second tab</Tabs.Content>
46
46
  * </Tabs>
47
47
  */
48
- declare const Tabs: import('react').ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-tabs').TabsProps & import('react').RefAttributes<HTMLDivElement>, "ref">, "value" | "defaultValue" | "onValueChange" | "activationMode"> & {
48
+ declare const Tabs: import('react').ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-tabs').TabsProps & import('react').RefAttributes<HTMLDivElement>, "ref">, "defaultValue" | "value" | "onValueChange" | "activationMode"> & {
49
49
  value?: string | undefined;
50
50
  onValueChange?: ((value: string) => void) | undefined;
51
51
  defaultValue?: string | undefined;
@@ -34,7 +34,7 @@ type RootContextType = {
34
34
  value: string | undefined;
35
35
  };
36
36
  export declare const RootContext: React.Context<RootContextType | undefined>;
37
- export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>, "ref">, "value" | "defaultValue" | "onValueChange" | "activationMode"> & {
37
+ export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>, "ref">, "defaultValue" | "value" | "onValueChange" | "activationMode"> & {
38
38
  /** The controlled value of the tab to activate. Should be used in conjunction with onValueChange. */
39
39
  value?: TabsPrimitive.TabsProps['value'];
40
40
  /** Event handler called when the value changes. */
@@ -10,7 +10,7 @@ export declare const ScrollButton: React.ForwardRefExoticComponent<Omit<Omit<Omi
10
10
  loading?: boolean | undefined;
11
11
  fullWidth?: boolean | undefined;
12
12
  size?: "sm" | "md" | "lg" | undefined;
13
- variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
13
+ variant?: "list-item" | "text" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
14
14
  borderStyle?: ("dashed" | "default") | undefined;
15
15
  } & {
16
16
  iconOnly: true;
@@ -22,7 +22,7 @@ export declare const ScrollButton: React.ForwardRefExoticComponent<Omit<Omit<Omi
22
22
  loading?: boolean | undefined;
23
23
  fullWidth?: boolean | undefined;
24
24
  size?: "sm" | "md" | "lg" | undefined;
25
- variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
25
+ variant?: "list-item" | "text" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
26
26
  borderStyle?: ("dashed" | "default") | undefined;
27
27
  } & {
28
28
  iconOnly?: false | undefined;
@@ -37,7 +37,7 @@ export declare const TextField: import('react').ForwardRefExoticComponent<Omit<i
37
37
  loading?: boolean | undefined;
38
38
  fullWidth?: boolean | undefined;
39
39
  size?: "sm" | "md" | "lg" | undefined;
40
- variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
40
+ variant?: "list-item" | "text" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
41
41
  borderStyle?: ("dashed" | "default") | undefined;
42
42
  } & {
43
43
  iconOnly: true;
@@ -49,7 +49,7 @@ export declare const TextField: import('react').ForwardRefExoticComponent<Omit<i
49
49
  loading?: boolean | undefined;
50
50
  fullWidth?: boolean | undefined;
51
51
  size?: "sm" | "md" | "lg" | undefined;
52
- variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
52
+ variant?: "list-item" | "text" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
53
53
  borderStyle?: ("dashed" | "default") | undefined;
54
54
  } & {
55
55
  iconOnly?: false | undefined;
@@ -11,7 +11,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
11
11
  loading?: boolean | undefined;
12
12
  fullWidth?: boolean | undefined;
13
13
  size?: "sm" | "md" | "lg" | undefined;
14
- variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
14
+ variant?: "list-item" | "text" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
15
15
  borderStyle?: ("dashed" | "default") | undefined;
16
16
  } & {
17
17
  iconOnly: true;
@@ -23,7 +23,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
23
23
  loading?: boolean | undefined;
24
24
  fullWidth?: boolean | undefined;
25
25
  size?: "sm" | "md" | "lg" | undefined;
26
- variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
26
+ variant?: "list-item" | "text" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
27
27
  borderStyle?: ("dashed" | "default") | undefined;
28
28
  } & {
29
29
  iconOnly?: false | undefined;
@@ -8,7 +8,7 @@ declare const TextareaGroup: import('react').ForwardRefExoticComponent<Omit<impo
8
8
  preventGroupClickSelect?: boolean | undefined;
9
9
  } & import('react').RefAttributes<HTMLDivElement>> & {
10
10
  Textarea: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref">, "children"> & {
11
- validationState?: ("valid" | "invalid") | undefined;
11
+ validationState?: ("invalid" | "valid") | undefined;
12
12
  isLoading?: boolean | undefined;
13
13
  autosize?: boolean | undefined;
14
14
  charactersLimit?: number | undefined;
@@ -29,8 +29,8 @@ declare const Toggle: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHT
29
29
  Input: React.ForwardRefExoticComponent<ToggleInputProps & React.RefAttributes<HTMLButtonElement>>;
30
30
  Thumb: React.ForwardRefExoticComponent<Omit<SwitchPrimitive.SwitchThumbProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
31
31
  Indicator: React.ForwardRefExoticComponent<Partial<Omit<React.SVGProps<SVGSVGElement> & {
32
- name: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "x" | "key" | "split" | "alert" | "radio" | "copy" | "add" | "reverse" | "infinite" | "visible" | "help" | "zoom-out" | "zoom" | "email" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "download" | "edit" | "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" | "volume" | "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" | "end-user" | "handshake" | "headphones" | "letter" | "mms" | "new-contact" | "new-group" | "news" | "parental-guide" | "people-hub" | "people" | "portal" | "signature" | "smiley-happy" | "smiley-neutral" | "smiley-sad" | "smiley-very-happy" | "smiley-very-sad" | "sms" | "support" | "user-admin" | "vcard" | "voicemail" | "battery" | "bluetooth" | "broadband" | "broken-phone" | "cast" | "cloud-connect" | "connected" | "core-router" | "daas-device" | "data-transfer" | "desktop" | "devices" | "esim-simcard" | "esim" | "face-id" | "fiber" | "fingerprint" | "fiveg" | "fourg" | "home-installation" | "industrial-iot" | "internet" | "it-service" | "laptop" | "mobile-broadband" | "network" | "phone-recycling" | "phone-ringing" | "phone" | "rack" | "refill-card" | "remote-control" | "repair" | "roaming" | "router" | "secure-device" | "sense-car" | "server" | "service-device" | "service-supervision" | "slow-wifi" | "smart-wifi" | "smartphone" | "smartwatch" | "tablet" | "trade-phone" | "tv" | "usb" | "voice-switch" | "wallplug" | "wireless-off" | "wireless-weak" | "wireless" | "world-alert" | "world-off" | "world-question" | "bar-chart" | "doc" | "document-doc" | "document-edit" | "document-pdf" | "document-ppt" | "excel" | "folder-copy" | "folder-new" | "folder" | "gif" | "graph" | "media-content" | "org-chart" | "pie-chart" | "print" | "register" | "report" | "simcard" | "spell-check" | "credit-card" | "euro" | "invoice" | "kontantkort" | "kr" | "late-payment" | "money-back-euro" | "money-back-kr" | "money-euro" | "money-kr" | "pay-monthly-euro" | "pay-monthly-kr" | "pay-once-euro" | "pay-once-kr" | "payment-success" | "savings" | "wallet" | "AI-star" | "airplay" | "camera" | "entertainment" | "external" | "film" | "games" | "megaphone" | "microphone" | "music" | "player-settings" | "record" | "stream" | "trailer" | "video-conference" | "activity-level" | "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" | "job-search" | "layers" | "measuring-health" | "moisture" | "offering" | "offshore" | "optimization" | "pebble" | "pet-dog" | "pin" | "plane" | "plus-minus" | "police" | "power-grid" | "present" | "press-button" | "price" | "pulse" | "recycle" | "reservation" | "route" | "ruler" | "satellite" | "secured-1" | "secured-2" | "security-camera" | "shopping" | "smart-connect" | "snowflake" | "speedometer" | "spyware" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "youtube" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "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" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view";
33
- size?: ("xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "font") | undefined;
32
+ name: "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "copy" | "dislike" | "download" | "edit" | "filter" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "play" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "sync" | "tv-next" | "tv-pause" | "tv-previous" | "tv-stop" | "upload" | "visible" | "volume" | "zoom-out" | "zoom" | "connected-building" | "home" | "hospital" | "industry" | "premises-datacenter" | "premises-large" | "premises-medium" | "premises-small" | "premises" | "store" | "address-book" | "b2b-customer" | "care" | "chat-robot" | "chat" | "child-1" | "child-2" | "conversation" | "customer-dialogue" | "dsl-hub" | "email" | "end-user" | "handshake" | "headphones" | "letter" | "mms" | "new-contact" | "new-group" | "news" | "parental-guide" | "people-hub" | "people" | "portal" | "signature" | "smiley-happy" | "smiley-neutral" | "smiley-sad" | "smiley-very-happy" | "smiley-very-sad" | "sms" | "support" | "user-admin" | "vcard" | "voicemail" | "battery" | "bluetooth" | "broadband" | "broken-phone" | "cast" | "cloud-connect" | "connected" | "core-router" | "daas-device" | "data-transfer" | "desktop" | "devices" | "esim-simcard" | "esim" | "face-id" | "fiber" | "fingerprint" | "fiveg" | "fourg" | "home-installation" | "industrial-iot" | "internet" | "it-service" | "laptop" | "mobile-broadband" | "network" | "phone-recycling" | "phone-ringing" | "phone" | "rack" | "refill-card" | "remote-control" | "repair" | "roaming" | "router" | "secure-device" | "sense-car" | "server" | "service-device" | "service-supervision" | "slow-wifi" | "smart-wifi" | "smartphone" | "smartwatch" | "tablet" | "trade-phone" | "tv" | "usb" | "voice-switch" | "wallplug" | "wireless-off" | "wireless-weak" | "wireless" | "world-alert" | "world-off" | "world-question" | "bar-chart" | "doc" | "document-doc" | "document-edit" | "document-pdf" | "document-ppt" | "excel" | "folder-copy" | "folder-new" | "folder" | "gif" | "graph" | "media-content" | "org-chart" | "pie-chart" | "print" | "register" | "report" | "simcard" | "spell-check" | "summary" | "credit-card" | "euro" | "invoice" | "kontantkort" | "kr" | "late-payment" | "money-back-euro" | "money-back-kr" | "money-euro" | "money-kr" | "pay-monthly-euro" | "pay-monthly-kr" | "pay-once-euro" | "pay-once-kr" | "payment-success" | "savings" | "wallet" | "AI-star" | "airplay" | "camera" | "entertainment" | "external" | "film" | "games" | "image" | "link" | "megaphone" | "microphone" | "music" | "player-settings" | "record" | "stream" | "trailer" | "video-conference" | "video" | "activity-level" | "add" | "ai-robot" | "bag" | "basketball" | "blood-pressure" | "bulb" | "business-continuity" | "business-intelligence" | "calendar" | "cart" | "close-circle" | "cloud" | "coffee" | "compass" | "construction" | "cookie" | "delivery" | "drone" | "education" | "efficiency" | "environment" | "facemask" | "flag" | "focus" | "food" | "fraud" | "getting-started" | "home-care" | "infinite" | "job-search" | "key" | "layers" | "map" | "measuring-health" | "moisture" | "offering" | "offshore" | "optimization" | "pebble" | "pet-dog" | "pin" | "plane" | "plus-minus" | "police" | "power-grid" | "present" | "press-button" | "price" | "pulse" | "radio" | "recycle" | "reservation" | "reverse" | "route" | "ruler" | "satellite" | "secured-1" | "secured-2" | "security-camera" | "shopping" | "smart-connect" | "snowflake" | "speedometer" | "split" | "spyware" | "stop" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "time" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "x" | "youtube" | "alert-filled" | "alert" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "help" | "info-filled" | "info" | "question-filled" | "question" | "warning" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-subdirectory" | "arrow-up" | "card-view" | "checkmark-bold" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "close" | "grid-view" | "list-view" | "menu" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "search" | "services" | "sorter" | "table-view";
33
+ size?: ("font" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl") | undefined;
34
34
  title?: string | undefined;
35
35
  children?: React.ReactNode;
36
36
  }, "ref">> & React.RefAttributes<SVGSVGElement>>;
@@ -17,7 +17,7 @@ export declare const Tooltip: typeof Root & {
17
17
  }>) => void) | undefined;
18
18
  side?: "top" | "bottom" | "left" | "right" | undefined;
19
19
  sideOffset?: number | undefined;
20
- align?: "center" | "end" | "start" | undefined;
20
+ align?: "end" | "center" | "start" | undefined;
21
21
  alignOffset?: number | undefined;
22
22
  arrowPadding?: number | undefined;
23
23
  avoidCollisions?: boolean | undefined;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const components_topRowButtons_topRowButtons = require("./top-row-buttons.cjs");
4
+ exports.TopRowButtons = components_topRowButtons_topRowButtons.TopRowButtons;
@@ -0,0 +1,2 @@
1
+ export { TopRowButtons } from './top-row-buttons';
2
+ export type { RootProps as TopRowButtonsProps, ItemProps as TopRowButtonsItemProps, TopRowButtonColor } from './top-row-buttons';
@@ -0,0 +1,4 @@
1
+ import { TopRowButtons } from "./top-row-buttons.js";
2
+ export {
3
+ TopRowButtons
4
+ };
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const jsxRuntime = require("react/jsx-runtime");
4
+ const clsx = require("clsx");
5
+ const React = require("react");
6
+ require("../../assets/sprite.6511e521-teddy.svg");
7
+ const components_icon_icon = require("../icon/icon.cjs");
8
+ const styles = {
9
+ "teddy-top-row-buttons": "_teddy-top-row-buttons_1ytqf_1",
10
+ "teddy-top-row-buttons__track": "_teddy-top-row-buttons__track_1ytqf_4",
11
+ "teddy-top-row-buttons__track--centered": "_teddy-top-row-buttons__track--centered_1ytqf_17",
12
+ "teddy-top-row-buttons__track--scroll": "_teddy-top-row-buttons__track--scroll_1ytqf_20",
13
+ "teddy-top-row-buttons__item": "_teddy-top-row-buttons__item_1ytqf_23",
14
+ "teddy-top-row-buttons__button": "_teddy-top-row-buttons__button_1ytqf_27",
15
+ "teddy-top-row-buttons__label": "_teddy-top-row-buttons__label_1ytqf_109",
16
+ "teddy-top-row-buttons__emoji": "_teddy-top-row-buttons__emoji_1ytqf_112"
17
+ };
18
+ const rootClassName = "teddy-top-row-buttons";
19
+ const Root = React.forwardRef(
20
+ ({ className, color = "grey", scrollable, children, ...props }, forwardRef) => {
21
+ const trackRef = React.useRef(null);
22
+ const [isOverflowing, setIsOverflowing] = React.useState(false);
23
+ React.useLayoutEffect(() => {
24
+ const el = trackRef.current;
25
+ if (!el) return;
26
+ const checkOverflow = () => {
27
+ setIsOverflowing(el.scrollWidth > el.clientWidth);
28
+ };
29
+ checkOverflow();
30
+ window.addEventListener("resize", checkOverflow);
31
+ return () => window.removeEventListener("resize", checkOverflow);
32
+ }, [children]);
33
+ const isScrollable = scrollable ?? isOverflowing;
34
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { ref: forwardRef, className: clsx(styles[rootClassName], className), ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
35
+ "div",
36
+ {
37
+ ref: trackRef,
38
+ className: clsx(styles[`${rootClassName}__track`], {
39
+ [styles[`${rootClassName}__track--scroll`]]: isScrollable,
40
+ [styles[`${rootClassName}__track--centered`]]: !isScrollable
41
+ }),
42
+ role: "list",
43
+ "data-color": color,
44
+ children
45
+ }
46
+ ) });
47
+ }
48
+ );
49
+ Root.displayName = "TopRowButtons";
50
+ const Item = React.forwardRef(
51
+ ({ className, icon, emoji, label, color, href, "aria-label": ariaLabel, ...props }, forwardRef) => {
52
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles[`${rootClassName}__item`], role: "listitem", children: /* @__PURE__ */ jsxRuntime.jsxs(
53
+ "a",
54
+ {
55
+ ref: forwardRef,
56
+ href,
57
+ className: clsx(styles[`${rootClassName}__button`], className),
58
+ "aria-label": ariaLabel ?? label,
59
+ "data-color": color,
60
+ ...props,
61
+ children: [
62
+ emoji ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: styles[`${rootClassName}__emoji`], "aria-hidden": "true", children: emoji }) : icon ? /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { size: "md", name: icon, "aria-hidden": "true" }) : null,
63
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: styles[`${rootClassName}__label`], "aria-hidden": !!(emoji || icon), children: label })
64
+ ]
65
+ }
66
+ ) });
67
+ }
68
+ );
69
+ Item.displayName = "TopRowButtons.Item";
70
+ const TopRowButtons = Object.assign(Root, { Item });
71
+ exports.TopRowButtons = TopRowButtons;
72
+ exports.rootClassName = rootClassName;