@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
@@ -0,0 +1,48 @@
1
+ import { default as React } from 'react';
2
+ import { IconName } from '../icon';
3
+
4
+ export declare const rootClassName = "teddy-top-row-buttons";
5
+ export type TopRowButtonColor = 'beige' | 'grey' | 'white' | 'purple';
6
+ /** ------------------------------------------------------------------------------------------------
7
+ * Root
8
+ * -----------------------------------------------------------------------------------------------*/
9
+ export type RootProps = React.ComponentPropsWithoutRef<'div'> & {
10
+ /** Controls the default background color of all child items */
11
+ color?: TopRowButtonColor;
12
+ /** Whether items should overflow and scroll horizontally when they don't fit */
13
+ scrollable?: boolean;
14
+ };
15
+ /** ------------------------------------------------------------------------------------------------
16
+ * Item
17
+ * -----------------------------------------------------------------------------------------------*/
18
+ export type ItemProps = React.ComponentPropsWithoutRef<'a'> & {
19
+ /** Icon name from the Teddy icon set */
20
+ icon?: IconName;
21
+ /** Emoji to display instead of an icon */
22
+ emoji?: string;
23
+ /** Visible label text */
24
+ label: string;
25
+ /** Overrides the color set on the Root */
26
+ color?: TopRowButtonColor;
27
+ };
28
+ /** ------------------------------------------------------------------------------------------------
29
+ * Export
30
+ * -----------------------------------------------------------------------------------------------*/
31
+ declare const TopRowButtons: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
32
+ /** Controls the default background color of all child items */
33
+ color?: TopRowButtonColor | undefined;
34
+ /** Whether items should overflow and scroll horizontally when they don't fit */
35
+ scrollable?: boolean | undefined;
36
+ } & React.RefAttributes<HTMLDivElement>> & {
37
+ Item: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
38
+ /** Icon name from the Teddy icon set */
39
+ 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" | "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" | undefined;
40
+ /** Emoji to display instead of an icon */
41
+ emoji?: string | undefined;
42
+ /** Visible label text */
43
+ label: string;
44
+ /** Overrides the color set on the Root */
45
+ color?: TopRowButtonColor | undefined;
46
+ } & React.RefAttributes<HTMLAnchorElement>>;
47
+ };
48
+ export { TopRowButtons };
@@ -0,0 +1,72 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import clsx from "clsx";
3
+ import React__default from "react";
4
+ import "../../assets/sprite.6511e521-teddy.svg";
5
+ import { Icon } from "../icon/icon.js";
6
+ const styles = {
7
+ "teddy-top-row-buttons": "_teddy-top-row-buttons_1ytqf_1",
8
+ "teddy-top-row-buttons__track": "_teddy-top-row-buttons__track_1ytqf_4",
9
+ "teddy-top-row-buttons__track--centered": "_teddy-top-row-buttons__track--centered_1ytqf_17",
10
+ "teddy-top-row-buttons__track--scroll": "_teddy-top-row-buttons__track--scroll_1ytqf_20",
11
+ "teddy-top-row-buttons__item": "_teddy-top-row-buttons__item_1ytqf_23",
12
+ "teddy-top-row-buttons__button": "_teddy-top-row-buttons__button_1ytqf_27",
13
+ "teddy-top-row-buttons__label": "_teddy-top-row-buttons__label_1ytqf_109",
14
+ "teddy-top-row-buttons__emoji": "_teddy-top-row-buttons__emoji_1ytqf_112"
15
+ };
16
+ const rootClassName = "teddy-top-row-buttons";
17
+ const Root = React__default.forwardRef(
18
+ ({ className, color = "grey", scrollable, children, ...props }, forwardRef) => {
19
+ const trackRef = React__default.useRef(null);
20
+ const [isOverflowing, setIsOverflowing] = React__default.useState(false);
21
+ React__default.useLayoutEffect(() => {
22
+ const el = trackRef.current;
23
+ if (!el) return;
24
+ const checkOverflow = () => {
25
+ setIsOverflowing(el.scrollWidth > el.clientWidth);
26
+ };
27
+ checkOverflow();
28
+ window.addEventListener("resize", checkOverflow);
29
+ return () => window.removeEventListener("resize", checkOverflow);
30
+ }, [children]);
31
+ const isScrollable = scrollable ?? isOverflowing;
32
+ return /* @__PURE__ */ jsx("div", { ref: forwardRef, className: clsx(styles[rootClassName], className), ...props, children: /* @__PURE__ */ jsx(
33
+ "div",
34
+ {
35
+ ref: trackRef,
36
+ className: clsx(styles[`${rootClassName}__track`], {
37
+ [styles[`${rootClassName}__track--scroll`]]: isScrollable,
38
+ [styles[`${rootClassName}__track--centered`]]: !isScrollable
39
+ }),
40
+ role: "list",
41
+ "data-color": color,
42
+ children
43
+ }
44
+ ) });
45
+ }
46
+ );
47
+ Root.displayName = "TopRowButtons";
48
+ const Item = React__default.forwardRef(
49
+ ({ className, icon, emoji, label, color, href, "aria-label": ariaLabel, ...props }, forwardRef) => {
50
+ return /* @__PURE__ */ jsx("div", { className: styles[`${rootClassName}__item`], role: "listitem", children: /* @__PURE__ */ jsxs(
51
+ "a",
52
+ {
53
+ ref: forwardRef,
54
+ href,
55
+ className: clsx(styles[`${rootClassName}__button`], className),
56
+ "aria-label": ariaLabel ?? label,
57
+ "data-color": color,
58
+ ...props,
59
+ children: [
60
+ emoji ? /* @__PURE__ */ jsx("span", { className: styles[`${rootClassName}__emoji`], "aria-hidden": "true", children: emoji }) : icon ? /* @__PURE__ */ jsx(Icon, { size: "md", name: icon, "aria-hidden": "true" }) : null,
61
+ /* @__PURE__ */ jsx("span", { className: styles[`${rootClassName}__label`], "aria-hidden": !!(emoji || icon), children: label })
62
+ ]
63
+ }
64
+ ) });
65
+ }
66
+ );
67
+ Item.displayName = "TopRowButtons.Item";
68
+ const TopRowButtons = Object.assign(Root, { Item });
69
+ export {
70
+ TopRowButtons,
71
+ rootClassName
72
+ };
package/dist/main.cjs CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const components_topRowButtons_topRowButtons = require("./components/top-row-buttons/top-row-buttons.cjs");
3
4
  const components_dashedButton_dashedButtonRoot = require("./components/dashed-button/dashed-button-root.cjs");
4
5
  const components_shoppingCart_index = require("./components/shopping-cart/index.cjs");
5
6
  const components_stepIndicator_index = require("./components/step-indicator/index.cjs");
@@ -77,6 +78,7 @@ const components_shoppingCart_types = require("./components/shopping-cart/types.
77
78
  const sonner = require("sonner");
78
79
  const components_input_inputGroup = require("./components/input/input-group.cjs");
79
80
  const components_textarea_textareaGroup = require("./components/textarea/textarea-group.cjs");
81
+ exports.TopRowButtons = components_topRowButtons_topRowButtons.TopRowButtons;
80
82
  exports.DashedButton = components_dashedButton_dashedButtonRoot.DashedButton;
81
83
  exports.ShoppingCart = components_shoppingCart_index.ShoppingCart;
82
84
  exports.StepIndicator = components_stepIndicator_index.StepIndicator;
package/dist/main.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { TopRowButtons } from "./components/top-row-buttons/top-row-buttons.js";
1
2
  import { DashedButton } from "./components/dashed-button/dashed-button-root.js";
2
3
  import { ShoppingCart } from "./components/shopping-cart/index.js";
3
4
  import { StepIndicator } from "./components/step-indicator/index.js";
@@ -146,6 +147,7 @@ export {
146
147
  Toggle,
147
148
  Toggletip,
148
149
  Tooltip,
150
+ TopRowButtons,
149
151
  default3 as Video,
150
152
  VisuallyHidden,
151
153
  v as border,
package/dist/style.css CHANGED
@@ -1,4 +1,162 @@
1
- @charset 'UTF-8';._teddy-spinner--xxs_ywden_1 {
1
+ @charset 'UTF-8';@layer icon {
2
+ ._teddy-icon_1ur3a_2 {
3
+ display: inline;
4
+ align-self: center;
5
+ fill: currentColor;
6
+ flex-shrink: 0;
7
+ }
8
+ ._teddy-icon--font_1ur3a_8 {
9
+ width: 1em;
10
+ height: 1em;
11
+ }
12
+ ._teddy-icon--xxs_1ur3a_12 {
13
+ width: var(--teddy-spacing-150);
14
+ height: var(--teddy-spacing-150);
15
+ }
16
+ ._teddy-icon--xs_1ur3a_16 {
17
+ width: var(--teddy-spacing-200);
18
+ height: var(--teddy-spacing-200);
19
+ }
20
+ ._teddy-icon--sm_1ur3a_20 {
21
+ width: var(--teddy-spacing-250);
22
+ height: var(--teddy-spacing-250);
23
+ }
24
+ ._teddy-icon--md_1ur3a_24 {
25
+ width: var(--teddy-spacing-300);
26
+ height: var(--teddy-spacing-300);
27
+ }
28
+ ._teddy-icon--lg_1ur3a_28 {
29
+ width: var(--teddy-spacing-400);
30
+ height: var(--teddy-spacing-400);
31
+ }
32
+ ._teddy-icon--xl_1ur3a_32 {
33
+ width: var(--teddy-spacing-600);
34
+ height: var(--teddy-spacing-600);
35
+ }
36
+ ._teddy-icon-with-children_1ur3a_36 {
37
+ display: inline-flex;
38
+ align-items: center;
39
+ font-family: var(--teddy-typography-family-default);
40
+ gap: var(--teddy-spacing-100);
41
+ }
42
+ }._teddy-top-row-buttons_1ytqf_1 {
43
+ width: 100%;
44
+ }
45
+ ._teddy-top-row-buttons__track_1ytqf_4 {
46
+ display: flex;
47
+ gap: var(--teddy-spacing-200);
48
+ overflow-x: auto;
49
+ scroll-snap-type: x mandatory;
50
+ scroll-behavior: smooth;
51
+ scrollbar-width: none;
52
+ padding-bottom: var(--teddy-spacing-50);
53
+ width: 100%;
54
+ }
55
+ ._teddy-top-row-buttons__track_1ytqf_4::-webkit-scrollbar {
56
+ display: none;
57
+ }
58
+ ._teddy-top-row-buttons__track--centered_1ytqf_17 {
59
+ justify-content: center;
60
+ }
61
+ ._teddy-top-row-buttons__track--scroll_1ytqf_20 {
62
+ justify-content: flex-start;
63
+ }
64
+ ._teddy-top-row-buttons__item_1ytqf_23 {
65
+ flex: 0 0 auto;
66
+ scroll-snap-align: start;
67
+ }
68
+ ._teddy-top-row-buttons__button_1ytqf_27 {
69
+ display: inline-flex;
70
+ align-items: center;
71
+ gap: var(--teddy-spacing-100);
72
+ padding: var(--teddy-spacing-150) var(--teddy-spacing-200);
73
+ border-radius: var(--teddy-border-radius-md);
74
+ text-decoration: none;
75
+ color: inherit;
76
+ min-height: 44px;
77
+ white-space: nowrap;
78
+ cursor: pointer;
79
+ font-family: var(--teddy-typography-family-default);
80
+ font-size: var(--teddy-typography-scale-100);
81
+ transition-property: background-color;
82
+ transition-duration: var(--teddy-motion-duration-150);
83
+ transition-timing-function: var(--teddy-motion-easing-ease-in-out);
84
+ position: relative;
85
+ }
86
+ ._teddy-top-row-buttons__button_1ytqf_27:focus::before {
87
+ border-radius: inherit;
88
+ box-shadow: 0 0 0 var(--teddy-border-width-sm) var(--teddy-color-border-interactive-focus);
89
+ content: "";
90
+ opacity: 1;
91
+ display: block;
92
+ inset: calc(var(--teddy-spacing-25) * -1);
93
+ position: absolute;
94
+ }
95
+ ._teddy-top-row-buttons__button_1ytqf_27:focus:not(:focus-visible)::before {
96
+ opacity: 0;
97
+ }
98
+ ._teddy-top-row-buttons__track_1ytqf_4[data-color=beige] ._teddy-top-row-buttons__button_1ytqf_27:not([data-color]), ._teddy-top-row-buttons__button_1ytqf_27[data-color=beige] {
99
+ background-color: var(--teddy-color-background-beige);
100
+ color: var(--teddy-color-text-default);
101
+ }
102
+ ._teddy-top-row-buttons__track_1ytqf_4[data-color=beige] ._teddy-top-row-buttons__button_1ytqf_27:not([data-color]):hover, ._teddy-top-row-buttons__button_1ytqf_27[data-color=beige]:hover {
103
+ background-color: var(--teddy-color-background-beige-hover);
104
+ }
105
+ ._teddy-top-row-buttons__track_1ytqf_4[data-color=beige] ._teddy-top-row-buttons__button_1ytqf_27:not([data-color]):active, ._teddy-top-row-buttons__button_1ytqf_27[data-color=beige]:active {
106
+ background-color: var(--teddy-color-background-beige-active);
107
+ }
108
+ ._teddy-top-row-buttons__track_1ytqf_4[data-color=beige] ._teddy-top-row-buttons__button_1ytqf_27:not([data-color]):focus-visible, ._teddy-top-row-buttons__button_1ytqf_27[data-color=beige]:focus-visible {
109
+ background-color: var(--teddy-color-background-beige);
110
+ }
111
+ ._teddy-top-row-buttons__track_1ytqf_4[data-color=grey] ._teddy-top-row-buttons__button_1ytqf_27:not([data-color]), ._teddy-top-row-buttons__button_1ytqf_27[data-color=grey] {
112
+ background-color: var(--teddy-color-background-secondary);
113
+ color: var(--teddy-color-text-default);
114
+ }
115
+ ._teddy-top-row-buttons__track_1ytqf_4[data-color=grey] ._teddy-top-row-buttons__button_1ytqf_27:not([data-color]):hover, ._teddy-top-row-buttons__button_1ytqf_27[data-color=grey]:hover {
116
+ background-color: var(--teddy-color-background-secondary-hover);
117
+ }
118
+ ._teddy-top-row-buttons__track_1ytqf_4[data-color=grey] ._teddy-top-row-buttons__button_1ytqf_27:not([data-color]):active, ._teddy-top-row-buttons__button_1ytqf_27[data-color=grey]:active {
119
+ background-color: var(--teddy-color-background-secondary-active);
120
+ }
121
+ ._teddy-top-row-buttons__track_1ytqf_4[data-color=grey] ._teddy-top-row-buttons__button_1ytqf_27:not([data-color]):focus-visible, ._teddy-top-row-buttons__button_1ytqf_27[data-color=grey]:focus-visible {
122
+ background-color: var(--teddy-color-background-secondary);
123
+ }
124
+ ._teddy-top-row-buttons__track_1ytqf_4[data-color=white] ._teddy-top-row-buttons__button_1ytqf_27:not([data-color]), ._teddy-top-row-buttons__button_1ytqf_27[data-color=white] {
125
+ background-color: var(--teddy-color-brand-white);
126
+ color: var(--teddy-color-text-default);
127
+ }
128
+ ._teddy-top-row-buttons__track_1ytqf_4[data-color=white] ._teddy-top-row-buttons__button_1ytqf_27:not([data-color]):hover, ._teddy-top-row-buttons__button_1ytqf_27[data-color=white]:hover {
129
+ background-color: var(--teddy-color-background-interactive-transparent-hover);
130
+ }
131
+ ._teddy-top-row-buttons__track_1ytqf_4[data-color=white] ._teddy-top-row-buttons__button_1ytqf_27:not([data-color]):active, ._teddy-top-row-buttons__button_1ytqf_27[data-color=white]:active {
132
+ background-color: var(--teddy-color-background-interactive-transparent-active);
133
+ }
134
+ ._teddy-top-row-buttons__track_1ytqf_4[data-color=white] ._teddy-top-row-buttons__button_1ytqf_27:not([data-color]):focus-visible, ._teddy-top-row-buttons__button_1ytqf_27[data-color=white]:focus-visible {
135
+ background-color: var(--teddy-color-brand-white);
136
+ }
137
+ ._teddy-top-row-buttons__track_1ytqf_4[data-color=purple] ._teddy-top-row-buttons__button_1ytqf_27:not([data-color]), ._teddy-top-row-buttons__button_1ytqf_27[data-color=purple] {
138
+ background-color: var(--teddy-color-background-interactive-primary);
139
+ color: var(--teddy-color-text-interactive-on-primary);
140
+ }
141
+ ._teddy-top-row-buttons__track_1ytqf_4[data-color=purple] ._teddy-top-row-buttons__button_1ytqf_27:not([data-color]):hover, ._teddy-top-row-buttons__button_1ytqf_27[data-color=purple]:hover {
142
+ background-color: var(--teddy-color-background-interactive-primary-hover);
143
+ }
144
+ ._teddy-top-row-buttons__track_1ytqf_4[data-color=purple] ._teddy-top-row-buttons__button_1ytqf_27:not([data-color]):active, ._teddy-top-row-buttons__button_1ytqf_27[data-color=purple]:active {
145
+ background-color: var(--teddy-color-background-interactive-primary-active);
146
+ }
147
+ ._teddy-top-row-buttons__track_1ytqf_4[data-color=purple] ._teddy-top-row-buttons__button_1ytqf_27:not([data-color]):focus-visible, ._teddy-top-row-buttons__button_1ytqf_27[data-color=purple]:focus-visible {
148
+ background-color: var(--teddy-color-background-interactive-primary);
149
+ }
150
+ ._teddy-top-row-buttons__label_1ytqf_109 {
151
+ white-space: nowrap;
152
+ }
153
+ ._teddy-top-row-buttons__emoji_1ytqf_112 {
154
+ display: inline-flex;
155
+ align-items: center;
156
+ justify-content: center;
157
+ font-size: 1.25rem;
158
+ line-height: 1;
159
+ }._teddy-spinner--xxs_ywden_1 {
2
160
  height: var(--teddy-spacing-250);
3
161
  width: var(--teddy-spacing-250);
4
162
  }
@@ -361,47 +519,6 @@
361
519
  ._teddy-button--icon-only_18j14_56 ._teddy-button__loading_18j14_287 {
362
520
  background-color: var(--teddy-color-gray-100);
363
521
  }
364
- }@layer icon {
365
- ._teddy-icon_1ur3a_2 {
366
- display: inline;
367
- align-self: center;
368
- fill: currentColor;
369
- flex-shrink: 0;
370
- }
371
- ._teddy-icon--font_1ur3a_8 {
372
- width: 1em;
373
- height: 1em;
374
- }
375
- ._teddy-icon--xxs_1ur3a_12 {
376
- width: var(--teddy-spacing-150);
377
- height: var(--teddy-spacing-150);
378
- }
379
- ._teddy-icon--xs_1ur3a_16 {
380
- width: var(--teddy-spacing-200);
381
- height: var(--teddy-spacing-200);
382
- }
383
- ._teddy-icon--sm_1ur3a_20 {
384
- width: var(--teddy-spacing-250);
385
- height: var(--teddy-spacing-250);
386
- }
387
- ._teddy-icon--md_1ur3a_24 {
388
- width: var(--teddy-spacing-300);
389
- height: var(--teddy-spacing-300);
390
- }
391
- ._teddy-icon--lg_1ur3a_28 {
392
- width: var(--teddy-spacing-400);
393
- height: var(--teddy-spacing-400);
394
- }
395
- ._teddy-icon--xl_1ur3a_32 {
396
- width: var(--teddy-spacing-600);
397
- height: var(--teddy-spacing-600);
398
- }
399
- ._teddy-icon-with-children_1ur3a_36 {
400
- display: inline-flex;
401
- align-items: center;
402
- font-family: var(--teddy-typography-family-default);
403
- gap: var(--teddy-spacing-100);
404
- }
405
522
  }._teddy-dashed-button_1wq9c_1 {
406
523
  box-shadow: none;
407
524
  color: var(--teddy-color-text-default);
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "pnpm": ">=10"
21
21
  },
22
22
  "private": false,
23
- "version": "0.7.40",
23
+ "version": "0.7.41",
24
24
  "sideEffects": [
25
25
  "**/*.css",
26
26
  "**/*.svg"
@@ -44,7 +44,7 @@
44
44
  "@typescript-eslint/eslint-plugin": "6.20.0",
45
45
  "@typescript-eslint/parser": "6.20.0",
46
46
  "@vitejs/plugin-react-swc": "3.7.0",
47
- "axios": "1.12.0",
47
+ "axios": "1.13.5",
48
48
  "eslint": "8.57.0",
49
49
  "eslint-config-prettier": "9.1.0",
50
50
  "eslint-import-resolver-alias": "1.1.2",
@@ -63,7 +63,7 @@
63
63
  "react-router-dom": "6.23.0",
64
64
  "rollup-plugin-visualizer": "5.12.0",
65
65
  "sass": "1.70.0",
66
- "storybook": "9.0.17",
66
+ "storybook": "9.1.19",
67
67
  "storybook-addon-pseudo-states": "9.0.17",
68
68
  "style-dictionary": "3.9.2",
69
69
  "tsx": "4.7.0",