@telia/teddy 0.7.53 → 0.7.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/accordion-root.d.ts +1 -1
- package/dist/components/accordion/accordion-trigger.d.ts +1 -1
- package/dist/components/accordion/index.d.ts +1 -1
- package/dist/components/avatar/avatar-root.d.ts +4 -4
- package/dist/components/avatar/index.d.ts +4 -4
- package/dist/components/badge/badge.d.ts +2 -2
- package/dist/components/breadcrumbs/breadcrumbs-link.d.ts +5 -5
- package/dist/components/breadcrumbs/breadcrumbs-root.d.ts +1 -1
- package/dist/components/breadcrumbs/index.d.ts +6 -6
- package/dist/components/button/button.cjs +27 -27
- package/dist/components/button/button.js +27 -27
- package/dist/components/card/card-availability.d.ts +1 -1
- package/dist/components/card/card-illustration.d.ts +2 -2
- package/dist/components/card/card-link.d.ts +4 -4
- package/dist/components/card/card.cjs +52 -52
- package/dist/components/card/card.d.ts +2 -2
- package/dist/components/card/card.js +52 -52
- package/dist/components/card/index.d.ts +2 -2
- package/dist/components/carousel/carousel-root.cjs +4 -4
- package/dist/components/carousel/carousel-root.js +4 -4
- package/dist/components/channel-button/channel-button-root.d.ts +18 -18
- package/dist/components/channel-button/index.d.ts +2 -28
- package/dist/components/checkbox/checkbox-group-item.d.ts +1 -1
- package/dist/components/checkbox/checkbox-group-label.d.ts +2 -2
- package/dist/components/checkbox/checkbox-group-list.d.ts +15 -15
- package/dist/components/checkbox/checkbox-group.d.ts +20 -20
- package/dist/components/checkbox/checkbox-root.d.ts +1 -1
- package/dist/components/checkbox/index.d.ts +40 -40
- package/dist/components/checkbox-card-group/checkbox-card-group-indicator.cjs +32 -32
- package/dist/components/checkbox-card-group/checkbox-card-group-indicator.d.ts +3 -3
- package/dist/components/checkbox-card-group/checkbox-card-group-indicator.js +32 -32
- package/dist/components/checkbox-card-group/checkbox-card-group-item-title.d.ts +4 -4
- package/dist/components/checkbox-card-group/checkbox-card-group-item.d.ts +5 -5
- package/dist/components/checkbox-card-group/checkbox-card-group-label.d.ts +20 -20
- package/dist/components/checkbox-card-group/checkbox-card-group-root.d.ts +7 -7
- package/dist/components/checkbox-card-group/index.d.ts +39 -39
- package/dist/components/chip/chip-indicator.d.ts +3 -3
- package/dist/components/chip/chip.cjs +3 -3
- package/dist/components/chip/chip.js +3 -3
- package/dist/components/chip/index.d.ts +4 -4
- package/dist/components/collapsible/index.d.ts +2 -2
- package/dist/components/color-dot/color-dot-root.d.ts +3 -3
- package/dist/components/color-dot/index.d.ts +4 -4
- package/dist/components/dashboard-card/dashboard-card-avatar.d.ts +4 -4
- package/dist/components/dashboard-card/dashboard-card-root.cjs +15 -15
- package/dist/components/dashboard-card/dashboard-card-root.d.ts +5 -5
- package/dist/components/dashboard-card/dashboard-card-root.js +15 -15
- package/dist/components/dashboard-card/index.d.ts +2 -7
- package/dist/components/dashed-button/dashed-button-root.d.ts +38 -38
- package/dist/components/date-picker/css.cjs +38 -38
- package/dist/components/date-picker/css.js +38 -38
- package/dist/components/drawer/drawer-close.cjs +1 -1
- package/dist/components/drawer/drawer-close.js +1 -1
- package/dist/components/drawer/drawer-content.cjs +1 -1
- package/dist/components/drawer/drawer-content.js +1 -1
- package/dist/components/drawer/drawer-description.cjs +1 -1
- package/dist/components/drawer/drawer-description.js +1 -1
- package/dist/components/drawer/drawer-footer.cjs +1 -1
- package/dist/components/drawer/drawer-footer.js +1 -1
- package/dist/components/drawer/drawer-overlay.cjs +1 -1
- package/dist/components/drawer/drawer-overlay.d.ts +1 -1
- package/dist/components/drawer/drawer-overlay.js +1 -1
- package/dist/components/drawer/drawer-title.cjs +1 -1
- package/dist/components/drawer/drawer-title.js +1 -1
- package/dist/components/expandable-card/expandable-card-button.d.ts +18 -18
- package/dist/components/expandable-card/index.d.ts +20 -18
- package/dist/components/flip-card/flip-card-root.d.ts +4 -4
- package/dist/components/flip-card/flip-card-trigger.d.ts +17 -17
- package/dist/components/flip-card/index.d.ts +2 -7
- package/dist/components/icon/utils.d.ts +3 -1
- package/dist/components/input/index.d.ts +7 -7
- package/dist/components/input/input-group.d.ts +2 -2
- package/dist/components/input/input-indicator.d.ts +2 -2
- package/dist/components/input/input.d.ts +3 -3
- package/dist/components/label/label.d.ts +2 -2
- package/dist/components/link/link.d.ts +4 -4
- package/dist/components/list/index.d.ts +19 -19
- package/dist/components/list/list-illustration.d.ts +1 -1
- package/dist/components/list/list.d.ts +18 -18
- package/dist/components/meter-bar/index.d.ts +2 -2
- package/dist/components/meter-bar/meter-bar-indicator.d.ts +2 -2
- package/dist/components/modal/index.d.ts +2 -2
- package/dist/components/modal/modal-content.d.ts +1 -1
- package/dist/components/modal/modal-image.d.ts +1 -1
- package/dist/components/modal/modal-overlay.d.ts +1 -1
- package/dist/components/modal/modal-title.d.ts +8 -8
- package/dist/components/navigation-menu/global-navigation/global-navigation-desktop-simplified.d.ts +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile.d.ts +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-search-field.d.ts +3 -3
- package/dist/components/navigation-menu/navigation-menu.d.ts +11 -11
- package/dist/components/notabene/index.d.ts +2 -2
- package/dist/components/notabene/notabene-icon.d.ts +3 -3
- package/dist/components/notification/index.d.ts +2 -81
- package/dist/components/notification/notification-icon.d.ts +3 -3
- package/dist/components/notification/notification-root.d.ts +41 -41
- package/dist/components/pagination/index.d.ts +2 -4
- package/dist/components/pagination/pagination-button.d.ts +5 -5
- package/dist/components/pagination/pagination-root.d.ts +1 -1
- package/dist/components/progress-bar/progress-bar.d.ts +1 -1
- package/dist/components/radio-card-group/index.d.ts +32 -32
- package/dist/components/radio-card-group/radio-card-group-item-title.d.ts +1 -1
- package/dist/components/radio-card-group/radio-card-group-item.d.ts +2 -2
- package/dist/components/radio-card-group/radio-card-group-label.d.ts +20 -20
- package/dist/components/radio-card-group/radio-card-group-root.d.ts +9 -9
- package/dist/components/radio-group/index.d.ts +33 -33
- package/dist/components/radio-group/radio-group-item-label.d.ts +3 -3
- package/dist/components/radio-group/radio-group-item.d.ts +1 -1
- package/dist/components/radio-group/radio-group-label.d.ts +20 -20
- package/dist/components/radio-group/radio-group-root.d.ts +9 -9
- package/dist/components/radio-group/radio-group-trigger.d.ts +1 -1
- package/dist/components/ribbon/ribbon-root.d.ts +2 -2
- package/dist/components/scroll-area/index.d.ts +25 -25
- package/dist/components/scroll-area/scroll-area-button.d.ts +18 -18
- package/dist/components/scroll-area/scroll-area-item.d.ts +4 -4
- package/dist/components/scroll-area/scroll-area-root.d.ts +3 -3
- package/dist/components/select/index.d.ts +16 -16
- package/dist/components/select/select-group.d.ts +2 -2
- package/dist/components/select/select-root.d.ts +11 -11
- package/dist/components/select/select-trigger.d.ts +2 -2
- package/dist/components/select/select-value.d.ts +1 -1
- package/dist/components/shopping-cart/shopping-cart-context.d.ts +0 -1
- package/dist/components/shopping-cart/shopping-cart-continue.d.ts +0 -1
- package/dist/components/spinner/spinner.d.ts +2 -2
- package/dist/components/step-by-step/index.d.ts +7 -7
- package/dist/components/step-by-step/step-by-step-root.d.ts +6 -6
- package/dist/components/step-by-step/step-by-step-step.d.ts +1 -1
- package/dist/components/step-indicator/index.d.ts +9 -9
- package/dist/components/step-indicator/step-indicator-root.d.ts +8 -8
- package/dist/components/step-indicator/step-indicator-step-element.d.ts +0 -1
- package/dist/components/table/index.d.ts +2 -5
- package/dist/components/table/table-cell.d.ts +5 -5
- package/dist/components/table/table-head.d.ts +6 -6
- package/dist/components/table/table-root.cjs +20 -20
- package/dist/components/table/table-root.d.ts +2 -2
- package/dist/components/table/table-root.js +20 -20
- package/dist/components/tabs/index.d.ts +2 -9
- package/dist/components/tabs/tabs-content.d.ts +1 -1
- package/dist/components/tabs/tabs-list.d.ts +1 -1
- package/dist/components/tabs/tabs-root.cjs +5 -5
- package/dist/components/tabs/tabs-root.d.ts +6 -6
- package/dist/components/tabs/tabs-root.js +5 -5
- package/dist/components/tabs/tabs-scroll-button.d.ts +18 -18
- package/dist/components/tabs/tabs-scroll.d.ts +3 -3
- package/dist/components/tabs/tabs-trigger.d.ts +2 -2
- package/dist/components/text-field/index.d.ts +25 -25
- package/dist/components/text-field/text-field-button.d.ts +17 -17
- package/dist/components/text-field/text-field-error-list.d.ts +1 -1
- package/dist/components/text-field/text-field-input-group.d.ts +2 -2
- package/dist/components/text-field/text-field-label.d.ts +2 -2
- package/dist/components/text-field/text-field.d.ts +3 -3
- package/dist/components/text-spacing/text-spacing.d.ts +1 -1
- package/dist/components/textarea/index.d.ts +9 -9
- package/dist/components/textarea/textarea-group.d.ts +2 -2
- package/dist/components/textarea/textarea-indicator.d.ts +2 -2
- package/dist/components/textarea/textarea.d.ts +5 -5
- package/dist/components/toast/index.d.ts +1 -1
- package/dist/components/toast/toast-root.cjs +75 -75
- package/dist/components/toast/toast-root.js +75 -75
- package/dist/components/toggle/toggle.cjs +4 -4
- package/dist/components/toggle/toggle.d.ts +4 -4
- package/dist/components/toggle/toggle.js +4 -4
- package/dist/components/toggletip/index.d.ts +1 -1
- package/dist/components/toggletip/toggletip-root.d.ts +3 -3
- package/dist/components/tooltip/index.d.ts +15 -17
- package/dist/components/tooltip/tooltip-content.d.ts +15 -15
- package/dist/components/tooltip/tooltip-root.d.ts +1 -1
- package/dist/components/top-row-buttons/top-row-buttons.d.ts +5 -5
- package/dist/components/visually-hidden/visually-hidden.d.ts +2 -2
- package/dist/drawer.module-CRbvc--J.js +16 -0
- package/dist/drawer.module-CdrdXo5o.cjs +15 -0
- package/dist/style.css +841 -800
- package/dist/utils/action.d.ts +0 -1
- package/dist/utils/component-props-as.d.ts +0 -1
- package/dist/utils/generate-styling/gap.d.ts +0 -24
- package/package.json +56 -57
- package/dist/drawer.module-C4NZoZUc.cjs +0 -15
- package/dist/drawer.module-jxIDBwQn.js +0 -16
|
@@ -6,83 +6,83 @@ const sonner = require("sonner");
|
|
|
6
6
|
require("../../assets/sprite.44b293a1-teddy.svg");
|
|
7
7
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
8
8
|
const components_spinner_spinner = require("../spinner/spinner.cjs");
|
|
9
|
-
const fadeInAnimation = "
|
|
10
|
-
const scaleInAnimation = "
|
|
9
|
+
const fadeInAnimation = "_fadeInAnimation_1l5l7_1";
|
|
10
|
+
const scaleInAnimation = "_scaleInAnimation_1l5l7_1";
|
|
11
11
|
const styles = {
|
|
12
|
-
"teddy-button": "_teddy-
|
|
13
|
-
"teddy-button--sm": "_teddy-button--
|
|
14
|
-
"teddy-button--icon-only": "_teddy-button--icon-
|
|
15
|
-
"teddy-button--md": "_teddy-button--
|
|
16
|
-
"teddy-button--lg": "_teddy-button--
|
|
17
|
-
"teddy-button--full-width": "_teddy-button--full-
|
|
18
|
-
"teddy-button--primary": "_teddy-button--
|
|
19
|
-
"teddy-button--disabled": "_teddy-button--
|
|
20
|
-
"teddy-button--primary-negative": "_teddy-button--primary-
|
|
21
|
-
"teddy-button--secondary": "_teddy-button--
|
|
22
|
-
"teddy-button--secondary-negative": "_teddy-button--secondary-
|
|
23
|
-
"teddy-button--expressive": "_teddy-button--
|
|
24
|
-
"teddy-button--expressive-negative": "_teddy-button--expressive-
|
|
25
|
-
"teddy-button--negative": "_teddy-button--
|
|
26
|
-
"teddy-button--destructive": "_teddy-button--
|
|
27
|
-
"teddy-button--destructive-negative": "_teddy-button--destructive-
|
|
28
|
-
"teddy-button--tertiary-purple": "_teddy-button--tertiary-
|
|
29
|
-
"teddy-button--tertiary-purple-negative": "_teddy-button--tertiary-purple-
|
|
30
|
-
"teddy-button--list-item": "_teddy-button--list-
|
|
31
|
-
"teddy-button--text-negative": "_teddy-button--text-
|
|
32
|
-
"teddy-button--text": "_teddy-button--
|
|
33
|
-
"teddy-button--text-underline": "_teddy-button--text-
|
|
34
|
-
"teddy-button--dashed-border": "_teddy-button--dashed-
|
|
35
|
-
"teddy-button__loading": "_teddy-
|
|
12
|
+
"teddy-button": "_teddy-button_1l5l7_18",
|
|
13
|
+
"teddy-button--sm": "_teddy-button--sm_1l5l7_53",
|
|
14
|
+
"teddy-button--icon-only": "_teddy-button--icon-only_1l5l7_56",
|
|
15
|
+
"teddy-button--md": "_teddy-button--md_1l5l7_59",
|
|
16
|
+
"teddy-button--lg": "_teddy-button--lg_1l5l7_65",
|
|
17
|
+
"teddy-button--full-width": "_teddy-button--full-width_1l5l7_71",
|
|
18
|
+
"teddy-button--primary": "_teddy-button--primary_1l5l7_74",
|
|
19
|
+
"teddy-button--disabled": "_teddy-button--disabled_1l5l7_78",
|
|
20
|
+
"teddy-button--primary-negative": "_teddy-button--primary-negative_1l5l7_84",
|
|
21
|
+
"teddy-button--secondary": "_teddy-button--secondary_1l5l7_96",
|
|
22
|
+
"teddy-button--secondary-negative": "_teddy-button--secondary-negative_1l5l7_107",
|
|
23
|
+
"teddy-button--expressive": "_teddy-button--expressive_1l5l7_118",
|
|
24
|
+
"teddy-button--expressive-negative": "_teddy-button--expressive-negative_1l5l7_128",
|
|
25
|
+
"teddy-button--negative": "_teddy-button--negative_1l5l7_140",
|
|
26
|
+
"teddy-button--destructive": "_teddy-button--destructive_1l5l7_147",
|
|
27
|
+
"teddy-button--destructive-negative": "_teddy-button--destructive-negative_1l5l7_157",
|
|
28
|
+
"teddy-button--tertiary-purple": "_teddy-button--tertiary-purple_1l5l7_167",
|
|
29
|
+
"teddy-button--tertiary-purple-negative": "_teddy-button--tertiary-purple-negative_1l5l7_180",
|
|
30
|
+
"teddy-button--list-item": "_teddy-button--list-item_1l5l7_195",
|
|
31
|
+
"teddy-button--text-negative": "_teddy-button--text-negative_1l5l7_214",
|
|
32
|
+
"teddy-button--text": "_teddy-button--text_1l5l7_214",
|
|
33
|
+
"teddy-button--text-underline": "_teddy-button--text-underline_1l5l7_259",
|
|
34
|
+
"teddy-button--dashed-border": "_teddy-button--dashed-border_1l5l7_289",
|
|
35
|
+
"teddy-button__loading": "_teddy-button__loading_1l5l7_293",
|
|
36
36
|
fadeInAnimation,
|
|
37
|
-
"teddy-button__spinner": "_teddy-
|
|
38
|
-
"teddy-toast": "_teddy-
|
|
39
|
-
"teddy-toast__title": "_teddy-
|
|
40
|
-
"teddy-toast__description": "_teddy-
|
|
41
|
-
"teddy-toast__icon": "_teddy-
|
|
42
|
-
"teddy-toast__close-button": "_teddy-toast__close-
|
|
43
|
-
"teddy-toast__close-button--sm": "_teddy-toast__close-button--
|
|
44
|
-
"teddy-toast__close-button--icon-only": "_teddy-toast__close-button--icon-
|
|
45
|
-
"teddy-toast__close-button--md": "_teddy-toast__close-button--
|
|
46
|
-
"teddy-toast__close-button--lg": "_teddy-toast__close-button--
|
|
47
|
-
"teddy-toast__close-button--full-width": "_teddy-toast__close-button--full-
|
|
48
|
-
"teddy-toast__close-button--primary": "_teddy-toast__close-button--
|
|
49
|
-
"teddy-toast__close-button--disabled": "_teddy-toast__close-button--
|
|
50
|
-
"teddy-toast__close-button--primary-negative": "_teddy-toast__close-button--primary-
|
|
51
|
-
"teddy-toast__close-button--secondary": "_teddy-toast__close-button--
|
|
52
|
-
"teddy-toast__close-button--secondary-negative": "_teddy-toast__close-button--secondary-
|
|
53
|
-
"teddy-toast__close-button--expressive": "_teddy-toast__close-button--
|
|
54
|
-
"teddy-toast__close-button--expressive-negative": "_teddy-toast__close-button--expressive-
|
|
55
|
-
"teddy-toast--disabled": "_teddy-toast--
|
|
56
|
-
"teddy-toast__content": "_teddy-
|
|
57
|
-
"teddy-toast__loading": "_teddy-
|
|
58
|
-
"teddy-toast--success": "_teddy-toast--
|
|
59
|
-
"teddy-toast--info": "_teddy-toast--
|
|
60
|
-
"teddy-toast--warning": "_teddy-toast--
|
|
61
|
-
"teddy-toast--error": "_teddy-toast--
|
|
62
|
-
"teddy-toast__action-button": "_teddy-toast__action-
|
|
63
|
-
"teddy-toast__cancel-button": "_teddy-toast__cancel-
|
|
64
|
-
"teddy-toast__action-button--sm": "_teddy-toast__action-button--
|
|
65
|
-
"teddy-toast__cancel-button--sm": "_teddy-toast__cancel-button--
|
|
66
|
-
"teddy-toast__cancel-button--icon-only": "_teddy-toast__cancel-button--icon-
|
|
67
|
-
"teddy-toast__action-button--md": "_teddy-toast__action-button--
|
|
68
|
-
"teddy-toast__cancel-button--md": "_teddy-toast__cancel-button--
|
|
69
|
-
"teddy-toast__action-button--lg": "_teddy-toast__action-button--
|
|
70
|
-
"teddy-toast__cancel-button--lg": "_teddy-toast__cancel-button--
|
|
71
|
-
"teddy-toast__action-button--full-width": "_teddy-toast__action-button--full-
|
|
72
|
-
"teddy-toast__cancel-button--full-width": "_teddy-toast__cancel-button--full-
|
|
73
|
-
"teddy-toast__action-button--primary": "_teddy-toast__action-button--
|
|
74
|
-
"teddy-toast__cancel-button--primary": "_teddy-toast__cancel-button--
|
|
75
|
-
"teddy-toast__cancel-button--disabled": "_teddy-toast__cancel-button--
|
|
76
|
-
"teddy-toast__action-button--primary-negative": "_teddy-toast__action-button--primary-
|
|
77
|
-
"teddy-toast__cancel-button--primary-negative": "_teddy-toast__cancel-button--primary-
|
|
78
|
-
"teddy-toast__action-button--secondary": "_teddy-toast__action-button--
|
|
79
|
-
"teddy-toast__cancel-button--secondary": "_teddy-toast__cancel-button--
|
|
80
|
-
"teddy-toast__action-button--secondary-negative": "_teddy-toast__action-button--secondary-
|
|
81
|
-
"teddy-toast__cancel-button--secondary-negative": "_teddy-toast__cancel-button--secondary-
|
|
82
|
-
"teddy-toast__action-button--expressive": "_teddy-toast__action-button--
|
|
83
|
-
"teddy-toast__cancel-button--expressive": "_teddy-toast__cancel-button--
|
|
84
|
-
"teddy-toast__action-button--expressive-negative": "_teddy-toast__action-button--expressive-
|
|
85
|
-
"teddy-toast__cancel-button--expressive-negative": "_teddy-toast__cancel-button--expressive-
|
|
37
|
+
"teddy-button__spinner": "_teddy-button__spinner_1l5l7_304",
|
|
38
|
+
"teddy-toast": "_teddy-toast_1l5l7_311",
|
|
39
|
+
"teddy-toast__title": "_teddy-toast__title_1l5l7_323",
|
|
40
|
+
"teddy-toast__description": "_teddy-toast__description_1l5l7_327",
|
|
41
|
+
"teddy-toast__icon": "_teddy-toast__icon_1l5l7_332",
|
|
42
|
+
"teddy-toast__close-button": "_teddy-toast__close-button_1l5l7_341",
|
|
43
|
+
"teddy-toast__close-button--sm": "_teddy-toast__close-button--sm_1l5l7_376",
|
|
44
|
+
"teddy-toast__close-button--icon-only": "_teddy-toast__close-button--icon-only_1l5l7_379",
|
|
45
|
+
"teddy-toast__close-button--md": "_teddy-toast__close-button--md_1l5l7_382",
|
|
46
|
+
"teddy-toast__close-button--lg": "_teddy-toast__close-button--lg_1l5l7_388",
|
|
47
|
+
"teddy-toast__close-button--full-width": "_teddy-toast__close-button--full-width_1l5l7_394",
|
|
48
|
+
"teddy-toast__close-button--primary": "_teddy-toast__close-button--primary_1l5l7_397",
|
|
49
|
+
"teddy-toast__close-button--disabled": "_teddy-toast__close-button--disabled_1l5l7_401",
|
|
50
|
+
"teddy-toast__close-button--primary-negative": "_teddy-toast__close-button--primary-negative_1l5l7_407",
|
|
51
|
+
"teddy-toast__close-button--secondary": "_teddy-toast__close-button--secondary_1l5l7_419",
|
|
52
|
+
"teddy-toast__close-button--secondary-negative": "_teddy-toast__close-button--secondary-negative_1l5l7_430",
|
|
53
|
+
"teddy-toast__close-button--expressive": "_teddy-toast__close-button--expressive_1l5l7_441",
|
|
54
|
+
"teddy-toast__close-button--expressive-negative": "_teddy-toast__close-button--expressive-negative_1l5l7_451",
|
|
55
|
+
"teddy-toast--disabled": "_teddy-toast--disabled_1l5l7_467",
|
|
56
|
+
"teddy-toast__content": "_teddy-toast__content_1l5l7_492",
|
|
57
|
+
"teddy-toast__loading": "_teddy-toast__loading_1l5l7_495",
|
|
58
|
+
"teddy-toast--success": "_teddy-toast--success_1l5l7_499",
|
|
59
|
+
"teddy-toast--info": "_teddy-toast--info_1l5l7_511",
|
|
60
|
+
"teddy-toast--warning": "_teddy-toast--warning_1l5l7_523",
|
|
61
|
+
"teddy-toast--error": "_teddy-toast--error_1l5l7_535",
|
|
62
|
+
"teddy-toast__action-button": "_teddy-toast__action-button_1l5l7_547",
|
|
63
|
+
"teddy-toast__cancel-button": "_teddy-toast__cancel-button_1l5l7_548",
|
|
64
|
+
"teddy-toast__action-button--sm": "_teddy-toast__action-button--sm_1l5l7_586",
|
|
65
|
+
"teddy-toast__cancel-button--sm": "_teddy-toast__cancel-button--sm_1l5l7_587",
|
|
66
|
+
"teddy-toast__cancel-button--icon-only": "_teddy-toast__cancel-button--icon-only_1l5l7_590",
|
|
67
|
+
"teddy-toast__action-button--md": "_teddy-toast__action-button--md_1l5l7_595",
|
|
68
|
+
"teddy-toast__cancel-button--md": "_teddy-toast__cancel-button--md_1l5l7_596",
|
|
69
|
+
"teddy-toast__action-button--lg": "_teddy-toast__action-button--lg_1l5l7_604",
|
|
70
|
+
"teddy-toast__cancel-button--lg": "_teddy-toast__cancel-button--lg_1l5l7_605",
|
|
71
|
+
"teddy-toast__action-button--full-width": "_teddy-toast__action-button--full-width_1l5l7_613",
|
|
72
|
+
"teddy-toast__cancel-button--full-width": "_teddy-toast__cancel-button--full-width_1l5l7_614",
|
|
73
|
+
"teddy-toast__action-button--primary": "_teddy-toast__action-button--primary_1l5l7_617",
|
|
74
|
+
"teddy-toast__cancel-button--primary": "_teddy-toast__cancel-button--primary_1l5l7_618",
|
|
75
|
+
"teddy-toast__cancel-button--disabled": "_teddy-toast__cancel-button--disabled_1l5l7_622",
|
|
76
|
+
"teddy-toast__action-button--primary-negative": "_teddy-toast__action-button--primary-negative_1l5l7_630",
|
|
77
|
+
"teddy-toast__cancel-button--primary-negative": "_teddy-toast__cancel-button--primary-negative_1l5l7_631",
|
|
78
|
+
"teddy-toast__action-button--secondary": "_teddy-toast__action-button--secondary_1l5l7_645",
|
|
79
|
+
"teddy-toast__cancel-button--secondary": "_teddy-toast__cancel-button--secondary_1l5l7_646",
|
|
80
|
+
"teddy-toast__action-button--secondary-negative": "_teddy-toast__action-button--secondary-negative_1l5l7_659",
|
|
81
|
+
"teddy-toast__cancel-button--secondary-negative": "_teddy-toast__cancel-button--secondary-negative_1l5l7_660",
|
|
82
|
+
"teddy-toast__action-button--expressive": "_teddy-toast__action-button--expressive_1l5l7_673",
|
|
83
|
+
"teddy-toast__cancel-button--expressive": "_teddy-toast__cancel-button--expressive_1l5l7_674",
|
|
84
|
+
"teddy-toast__action-button--expressive-negative": "_teddy-toast__action-button--expressive-negative_1l5l7_686",
|
|
85
|
+
"teddy-toast__cancel-button--expressive-negative": "_teddy-toast__cancel-button--expressive-negative_1l5l7_687",
|
|
86
86
|
scaleInAnimation
|
|
87
87
|
};
|
|
88
88
|
const rootClassName = "teddy-toast";
|
|
@@ -4,83 +4,83 @@ import { Toaster } from "sonner";
|
|
|
4
4
|
import "../../assets/sprite.44b293a1-teddy.svg";
|
|
5
5
|
import { Icon } from "../icon/icon.js";
|
|
6
6
|
import { Spinner } from "../spinner/spinner.js";
|
|
7
|
-
const fadeInAnimation = "
|
|
8
|
-
const scaleInAnimation = "
|
|
7
|
+
const fadeInAnimation = "_fadeInAnimation_1l5l7_1";
|
|
8
|
+
const scaleInAnimation = "_scaleInAnimation_1l5l7_1";
|
|
9
9
|
const styles = {
|
|
10
|
-
"teddy-button": "_teddy-
|
|
11
|
-
"teddy-button--sm": "_teddy-button--
|
|
12
|
-
"teddy-button--icon-only": "_teddy-button--icon-
|
|
13
|
-
"teddy-button--md": "_teddy-button--
|
|
14
|
-
"teddy-button--lg": "_teddy-button--
|
|
15
|
-
"teddy-button--full-width": "_teddy-button--full-
|
|
16
|
-
"teddy-button--primary": "_teddy-button--
|
|
17
|
-
"teddy-button--disabled": "_teddy-button--
|
|
18
|
-
"teddy-button--primary-negative": "_teddy-button--primary-
|
|
19
|
-
"teddy-button--secondary": "_teddy-button--
|
|
20
|
-
"teddy-button--secondary-negative": "_teddy-button--secondary-
|
|
21
|
-
"teddy-button--expressive": "_teddy-button--
|
|
22
|
-
"teddy-button--expressive-negative": "_teddy-button--expressive-
|
|
23
|
-
"teddy-button--negative": "_teddy-button--
|
|
24
|
-
"teddy-button--destructive": "_teddy-button--
|
|
25
|
-
"teddy-button--destructive-negative": "_teddy-button--destructive-
|
|
26
|
-
"teddy-button--tertiary-purple": "_teddy-button--tertiary-
|
|
27
|
-
"teddy-button--tertiary-purple-negative": "_teddy-button--tertiary-purple-
|
|
28
|
-
"teddy-button--list-item": "_teddy-button--list-
|
|
29
|
-
"teddy-button--text-negative": "_teddy-button--text-
|
|
30
|
-
"teddy-button--text": "_teddy-button--
|
|
31
|
-
"teddy-button--text-underline": "_teddy-button--text-
|
|
32
|
-
"teddy-button--dashed-border": "_teddy-button--dashed-
|
|
33
|
-
"teddy-button__loading": "_teddy-
|
|
10
|
+
"teddy-button": "_teddy-button_1l5l7_18",
|
|
11
|
+
"teddy-button--sm": "_teddy-button--sm_1l5l7_53",
|
|
12
|
+
"teddy-button--icon-only": "_teddy-button--icon-only_1l5l7_56",
|
|
13
|
+
"teddy-button--md": "_teddy-button--md_1l5l7_59",
|
|
14
|
+
"teddy-button--lg": "_teddy-button--lg_1l5l7_65",
|
|
15
|
+
"teddy-button--full-width": "_teddy-button--full-width_1l5l7_71",
|
|
16
|
+
"teddy-button--primary": "_teddy-button--primary_1l5l7_74",
|
|
17
|
+
"teddy-button--disabled": "_teddy-button--disabled_1l5l7_78",
|
|
18
|
+
"teddy-button--primary-negative": "_teddy-button--primary-negative_1l5l7_84",
|
|
19
|
+
"teddy-button--secondary": "_teddy-button--secondary_1l5l7_96",
|
|
20
|
+
"teddy-button--secondary-negative": "_teddy-button--secondary-negative_1l5l7_107",
|
|
21
|
+
"teddy-button--expressive": "_teddy-button--expressive_1l5l7_118",
|
|
22
|
+
"teddy-button--expressive-negative": "_teddy-button--expressive-negative_1l5l7_128",
|
|
23
|
+
"teddy-button--negative": "_teddy-button--negative_1l5l7_140",
|
|
24
|
+
"teddy-button--destructive": "_teddy-button--destructive_1l5l7_147",
|
|
25
|
+
"teddy-button--destructive-negative": "_teddy-button--destructive-negative_1l5l7_157",
|
|
26
|
+
"teddy-button--tertiary-purple": "_teddy-button--tertiary-purple_1l5l7_167",
|
|
27
|
+
"teddy-button--tertiary-purple-negative": "_teddy-button--tertiary-purple-negative_1l5l7_180",
|
|
28
|
+
"teddy-button--list-item": "_teddy-button--list-item_1l5l7_195",
|
|
29
|
+
"teddy-button--text-negative": "_teddy-button--text-negative_1l5l7_214",
|
|
30
|
+
"teddy-button--text": "_teddy-button--text_1l5l7_214",
|
|
31
|
+
"teddy-button--text-underline": "_teddy-button--text-underline_1l5l7_259",
|
|
32
|
+
"teddy-button--dashed-border": "_teddy-button--dashed-border_1l5l7_289",
|
|
33
|
+
"teddy-button__loading": "_teddy-button__loading_1l5l7_293",
|
|
34
34
|
fadeInAnimation,
|
|
35
|
-
"teddy-button__spinner": "_teddy-
|
|
36
|
-
"teddy-toast": "_teddy-
|
|
37
|
-
"teddy-toast__title": "_teddy-
|
|
38
|
-
"teddy-toast__description": "_teddy-
|
|
39
|
-
"teddy-toast__icon": "_teddy-
|
|
40
|
-
"teddy-toast__close-button": "_teddy-toast__close-
|
|
41
|
-
"teddy-toast__close-button--sm": "_teddy-toast__close-button--
|
|
42
|
-
"teddy-toast__close-button--icon-only": "_teddy-toast__close-button--icon-
|
|
43
|
-
"teddy-toast__close-button--md": "_teddy-toast__close-button--
|
|
44
|
-
"teddy-toast__close-button--lg": "_teddy-toast__close-button--
|
|
45
|
-
"teddy-toast__close-button--full-width": "_teddy-toast__close-button--full-
|
|
46
|
-
"teddy-toast__close-button--primary": "_teddy-toast__close-button--
|
|
47
|
-
"teddy-toast__close-button--disabled": "_teddy-toast__close-button--
|
|
48
|
-
"teddy-toast__close-button--primary-negative": "_teddy-toast__close-button--primary-
|
|
49
|
-
"teddy-toast__close-button--secondary": "_teddy-toast__close-button--
|
|
50
|
-
"teddy-toast__close-button--secondary-negative": "_teddy-toast__close-button--secondary-
|
|
51
|
-
"teddy-toast__close-button--expressive": "_teddy-toast__close-button--
|
|
52
|
-
"teddy-toast__close-button--expressive-negative": "_teddy-toast__close-button--expressive-
|
|
53
|
-
"teddy-toast--disabled": "_teddy-toast--
|
|
54
|
-
"teddy-toast__content": "_teddy-
|
|
55
|
-
"teddy-toast__loading": "_teddy-
|
|
56
|
-
"teddy-toast--success": "_teddy-toast--
|
|
57
|
-
"teddy-toast--info": "_teddy-toast--
|
|
58
|
-
"teddy-toast--warning": "_teddy-toast--
|
|
59
|
-
"teddy-toast--error": "_teddy-toast--
|
|
60
|
-
"teddy-toast__action-button": "_teddy-toast__action-
|
|
61
|
-
"teddy-toast__cancel-button": "_teddy-toast__cancel-
|
|
62
|
-
"teddy-toast__action-button--sm": "_teddy-toast__action-button--
|
|
63
|
-
"teddy-toast__cancel-button--sm": "_teddy-toast__cancel-button--
|
|
64
|
-
"teddy-toast__cancel-button--icon-only": "_teddy-toast__cancel-button--icon-
|
|
65
|
-
"teddy-toast__action-button--md": "_teddy-toast__action-button--
|
|
66
|
-
"teddy-toast__cancel-button--md": "_teddy-toast__cancel-button--
|
|
67
|
-
"teddy-toast__action-button--lg": "_teddy-toast__action-button--
|
|
68
|
-
"teddy-toast__cancel-button--lg": "_teddy-toast__cancel-button--
|
|
69
|
-
"teddy-toast__action-button--full-width": "_teddy-toast__action-button--full-
|
|
70
|
-
"teddy-toast__cancel-button--full-width": "_teddy-toast__cancel-button--full-
|
|
71
|
-
"teddy-toast__action-button--primary": "_teddy-toast__action-button--
|
|
72
|
-
"teddy-toast__cancel-button--primary": "_teddy-toast__cancel-button--
|
|
73
|
-
"teddy-toast__cancel-button--disabled": "_teddy-toast__cancel-button--
|
|
74
|
-
"teddy-toast__action-button--primary-negative": "_teddy-toast__action-button--primary-
|
|
75
|
-
"teddy-toast__cancel-button--primary-negative": "_teddy-toast__cancel-button--primary-
|
|
76
|
-
"teddy-toast__action-button--secondary": "_teddy-toast__action-button--
|
|
77
|
-
"teddy-toast__cancel-button--secondary": "_teddy-toast__cancel-button--
|
|
78
|
-
"teddy-toast__action-button--secondary-negative": "_teddy-toast__action-button--secondary-
|
|
79
|
-
"teddy-toast__cancel-button--secondary-negative": "_teddy-toast__cancel-button--secondary-
|
|
80
|
-
"teddy-toast__action-button--expressive": "_teddy-toast__action-button--
|
|
81
|
-
"teddy-toast__cancel-button--expressive": "_teddy-toast__cancel-button--
|
|
82
|
-
"teddy-toast__action-button--expressive-negative": "_teddy-toast__action-button--expressive-
|
|
83
|
-
"teddy-toast__cancel-button--expressive-negative": "_teddy-toast__cancel-button--expressive-
|
|
35
|
+
"teddy-button__spinner": "_teddy-button__spinner_1l5l7_304",
|
|
36
|
+
"teddy-toast": "_teddy-toast_1l5l7_311",
|
|
37
|
+
"teddy-toast__title": "_teddy-toast__title_1l5l7_323",
|
|
38
|
+
"teddy-toast__description": "_teddy-toast__description_1l5l7_327",
|
|
39
|
+
"teddy-toast__icon": "_teddy-toast__icon_1l5l7_332",
|
|
40
|
+
"teddy-toast__close-button": "_teddy-toast__close-button_1l5l7_341",
|
|
41
|
+
"teddy-toast__close-button--sm": "_teddy-toast__close-button--sm_1l5l7_376",
|
|
42
|
+
"teddy-toast__close-button--icon-only": "_teddy-toast__close-button--icon-only_1l5l7_379",
|
|
43
|
+
"teddy-toast__close-button--md": "_teddy-toast__close-button--md_1l5l7_382",
|
|
44
|
+
"teddy-toast__close-button--lg": "_teddy-toast__close-button--lg_1l5l7_388",
|
|
45
|
+
"teddy-toast__close-button--full-width": "_teddy-toast__close-button--full-width_1l5l7_394",
|
|
46
|
+
"teddy-toast__close-button--primary": "_teddy-toast__close-button--primary_1l5l7_397",
|
|
47
|
+
"teddy-toast__close-button--disabled": "_teddy-toast__close-button--disabled_1l5l7_401",
|
|
48
|
+
"teddy-toast__close-button--primary-negative": "_teddy-toast__close-button--primary-negative_1l5l7_407",
|
|
49
|
+
"teddy-toast__close-button--secondary": "_teddy-toast__close-button--secondary_1l5l7_419",
|
|
50
|
+
"teddy-toast__close-button--secondary-negative": "_teddy-toast__close-button--secondary-negative_1l5l7_430",
|
|
51
|
+
"teddy-toast__close-button--expressive": "_teddy-toast__close-button--expressive_1l5l7_441",
|
|
52
|
+
"teddy-toast__close-button--expressive-negative": "_teddy-toast__close-button--expressive-negative_1l5l7_451",
|
|
53
|
+
"teddy-toast--disabled": "_teddy-toast--disabled_1l5l7_467",
|
|
54
|
+
"teddy-toast__content": "_teddy-toast__content_1l5l7_492",
|
|
55
|
+
"teddy-toast__loading": "_teddy-toast__loading_1l5l7_495",
|
|
56
|
+
"teddy-toast--success": "_teddy-toast--success_1l5l7_499",
|
|
57
|
+
"teddy-toast--info": "_teddy-toast--info_1l5l7_511",
|
|
58
|
+
"teddy-toast--warning": "_teddy-toast--warning_1l5l7_523",
|
|
59
|
+
"teddy-toast--error": "_teddy-toast--error_1l5l7_535",
|
|
60
|
+
"teddy-toast__action-button": "_teddy-toast__action-button_1l5l7_547",
|
|
61
|
+
"teddy-toast__cancel-button": "_teddy-toast__cancel-button_1l5l7_548",
|
|
62
|
+
"teddy-toast__action-button--sm": "_teddy-toast__action-button--sm_1l5l7_586",
|
|
63
|
+
"teddy-toast__cancel-button--sm": "_teddy-toast__cancel-button--sm_1l5l7_587",
|
|
64
|
+
"teddy-toast__cancel-button--icon-only": "_teddy-toast__cancel-button--icon-only_1l5l7_590",
|
|
65
|
+
"teddy-toast__action-button--md": "_teddy-toast__action-button--md_1l5l7_595",
|
|
66
|
+
"teddy-toast__cancel-button--md": "_teddy-toast__cancel-button--md_1l5l7_596",
|
|
67
|
+
"teddy-toast__action-button--lg": "_teddy-toast__action-button--lg_1l5l7_604",
|
|
68
|
+
"teddy-toast__cancel-button--lg": "_teddy-toast__cancel-button--lg_1l5l7_605",
|
|
69
|
+
"teddy-toast__action-button--full-width": "_teddy-toast__action-button--full-width_1l5l7_613",
|
|
70
|
+
"teddy-toast__cancel-button--full-width": "_teddy-toast__cancel-button--full-width_1l5l7_614",
|
|
71
|
+
"teddy-toast__action-button--primary": "_teddy-toast__action-button--primary_1l5l7_617",
|
|
72
|
+
"teddy-toast__cancel-button--primary": "_teddy-toast__cancel-button--primary_1l5l7_618",
|
|
73
|
+
"teddy-toast__cancel-button--disabled": "_teddy-toast__cancel-button--disabled_1l5l7_622",
|
|
74
|
+
"teddy-toast__action-button--primary-negative": "_teddy-toast__action-button--primary-negative_1l5l7_630",
|
|
75
|
+
"teddy-toast__cancel-button--primary-negative": "_teddy-toast__cancel-button--primary-negative_1l5l7_631",
|
|
76
|
+
"teddy-toast__action-button--secondary": "_teddy-toast__action-button--secondary_1l5l7_645",
|
|
77
|
+
"teddy-toast__cancel-button--secondary": "_teddy-toast__cancel-button--secondary_1l5l7_646",
|
|
78
|
+
"teddy-toast__action-button--secondary-negative": "_teddy-toast__action-button--secondary-negative_1l5l7_659",
|
|
79
|
+
"teddy-toast__cancel-button--secondary-negative": "_teddy-toast__cancel-button--secondary-negative_1l5l7_660",
|
|
80
|
+
"teddy-toast__action-button--expressive": "_teddy-toast__action-button--expressive_1l5l7_673",
|
|
81
|
+
"teddy-toast__cancel-button--expressive": "_teddy-toast__cancel-button--expressive_1l5l7_674",
|
|
82
|
+
"teddy-toast__action-button--expressive-negative": "_teddy-toast__action-button--expressive-negative_1l5l7_686",
|
|
83
|
+
"teddy-toast__cancel-button--expressive-negative": "_teddy-toast__cancel-button--expressive-negative_1l5l7_687",
|
|
84
84
|
scaleInAnimation
|
|
85
85
|
};
|
|
86
86
|
const rootClassName = "teddy-toast";
|
|
@@ -25,10 +25,10 @@ function _interopNamespaceDefault(e) {
|
|
|
25
25
|
}
|
|
26
26
|
const SwitchPrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(SwitchPrimitive);
|
|
27
27
|
const styles = {
|
|
28
|
-
"teddy-toggle__input": "_teddy-
|
|
29
|
-
"teddy-toggle": "_teddy-
|
|
30
|
-
"teddy-toggle__thumb": "_teddy-
|
|
31
|
-
"teddy-toggle__indicator": "_teddy-
|
|
28
|
+
"teddy-toggle__input": "_teddy-toggle__input_1vhz7_2",
|
|
29
|
+
"teddy-toggle": "_teddy-toggle_1vhz7_2",
|
|
30
|
+
"teddy-toggle__thumb": "_teddy-toggle__thumb_1vhz7_81",
|
|
31
|
+
"teddy-toggle__indicator": "_teddy-toggle__indicator_1vhz7_109"
|
|
32
32
|
};
|
|
33
33
|
const rootClassName = "teddy-toggle";
|
|
34
34
|
const ToggleContext = React.createContext(void 0);
|
|
@@ -23,15 +23,15 @@ type ToggleInputProps = Omit<React.ComponentPropsWithoutRef<typeof SwitchPrimiti
|
|
|
23
23
|
type ToggleThumbProps = React.ComponentPropsWithoutRef<typeof SwitchPrimitive.Thumb>;
|
|
24
24
|
declare const Toggle: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "id"> & {
|
|
25
25
|
/** The id you want to use to connect the label to the toggle. If not provided, it will be generated */
|
|
26
|
-
id?: string
|
|
26
|
+
id?: string;
|
|
27
27
|
} & React.RefAttributes<HTMLDivElement>> & {
|
|
28
28
|
Label: React.ForwardRefExoticComponent<ToggleLabelProps & React.RefAttributes<HTMLLabelElement>>;
|
|
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:
|
|
33
|
-
size?:
|
|
34
|
-
title?: string
|
|
32
|
+
name: import('..').IconName;
|
|
33
|
+
size?: "xs" | "sm" | "md" | "lg" | "font" | "xxs" | "xl";
|
|
34
|
+
title?: string;
|
|
35
35
|
children?: React.ReactNode;
|
|
36
36
|
}, "ref">> & React.RefAttributes<SVGSVGElement>>;
|
|
37
37
|
};
|
|
@@ -6,10 +6,10 @@ import "../../assets/sprite.44b293a1-teddy.svg";
|
|
|
6
6
|
import { Icon } from "../icon/icon.js";
|
|
7
7
|
import { Label } from "../label/label.js";
|
|
8
8
|
const styles = {
|
|
9
|
-
"teddy-toggle__input": "_teddy-
|
|
10
|
-
"teddy-toggle": "_teddy-
|
|
11
|
-
"teddy-toggle__thumb": "_teddy-
|
|
12
|
-
"teddy-toggle__indicator": "_teddy-
|
|
9
|
+
"teddy-toggle__input": "_teddy-toggle__input_1vhz7_2",
|
|
10
|
+
"teddy-toggle": "_teddy-toggle_1vhz7_2",
|
|
11
|
+
"teddy-toggle__thumb": "_teddy-toggle__thumb_1vhz7_81",
|
|
12
|
+
"teddy-toggle__indicator": "_teddy-toggle__indicator_1vhz7_109"
|
|
13
13
|
};
|
|
14
14
|
const rootClassName = "teddy-toggle";
|
|
15
15
|
const ToggleContext = React__default.createContext(void 0);
|
|
@@ -10,7 +10,7 @@ import { FooterProps } from './toggletip-footer';
|
|
|
10
10
|
|
|
11
11
|
export declare const Toggletip: typeof Root & {
|
|
12
12
|
Trigger: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-popover').PopoverTriggerProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
13
|
-
children:
|
|
13
|
+
children: React.ReactNode;
|
|
14
14
|
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
15
15
|
Anchor: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-popover').PopoverAnchorProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
16
16
|
Arrow: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-popover').PopoverArrowProps & import('react').RefAttributes<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
@@ -3,9 +3,9 @@ import { default as React } from 'react';
|
|
|
3
3
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
4
4
|
export declare const rootClassName = "teddy-toggletip";
|
|
5
5
|
export declare const RootContext: React.Context<{
|
|
6
|
-
negative?: boolean
|
|
7
|
-
hideClose?: boolean
|
|
8
|
-
hideArrow?: boolean
|
|
6
|
+
negative?: boolean;
|
|
7
|
+
hideClose?: boolean;
|
|
8
|
+
hideArrow?: boolean;
|
|
9
9
|
}>;
|
|
10
10
|
export type RootProps = Omit<React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Root>, 'open' | 'onOpenChange' | 'modal' | 'defaultOpen'> & {
|
|
11
11
|
open?: PopoverPrimitive.PopoverProps['open'];
|
|
@@ -9,23 +9,21 @@ export declare const Tooltip: typeof Root & {
|
|
|
9
9
|
Trigger: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-tooltip').TooltipTriggerProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
10
10
|
Arrow: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-tooltip').TooltipArrowProps & import('react').RefAttributes<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
11
11
|
Content: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-tooltip').TooltipContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
|
|
12
|
-
hideArrow?: boolean
|
|
13
|
-
'aria-label'?: string
|
|
14
|
-
onEscapeKeyDown?: (
|
|
15
|
-
onPointerDownOutside?: (
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
hideWhenDetached?: boolean | undefined;
|
|
28
|
-
updatePositionStrategy?: "always" | "optimized" | undefined;
|
|
12
|
+
hideArrow?: boolean;
|
|
13
|
+
'aria-label'?: string;
|
|
14
|
+
onEscapeKeyDown?: import('@radix-ui/react-tooltip').TooltipContentProps["onEscapeKeyDown"];
|
|
15
|
+
onPointerDownOutside?: import('@radix-ui/react-tooltip').TooltipContentProps["onPointerDownOutside"];
|
|
16
|
+
side?: import('@radix-ui/react-tooltip').TooltipContentProps["side"];
|
|
17
|
+
sideOffset?: import('@radix-ui/react-tooltip').TooltipContentProps["sideOffset"];
|
|
18
|
+
align?: import('@radix-ui/react-tooltip').TooltipContentProps["align"];
|
|
19
|
+
alignOffset?: import('@radix-ui/react-tooltip').TooltipContentProps["alignOffset"];
|
|
20
|
+
arrowPadding?: import('@radix-ui/react-tooltip').TooltipContentProps["arrowPadding"];
|
|
21
|
+
avoidCollisions?: import('@radix-ui/react-tooltip').TooltipContentProps["avoidCollisions"];
|
|
22
|
+
collisionBoundary?: import('@radix-ui/react-tooltip').TooltipContentProps["collisionBoundary"];
|
|
23
|
+
collisionPadding?: import('@radix-ui/react-tooltip').TooltipContentProps["collisionPadding"];
|
|
24
|
+
sticky?: import('@radix-ui/react-tooltip').TooltipContentProps["sticky"];
|
|
25
|
+
hideWhenDetached?: import('@radix-ui/react-tooltip').TooltipContentProps["hideWhenDetached"];
|
|
26
|
+
updatePositionStrategy?: import('@radix-ui/react-tooltip').TooltipContentProps["updatePositionStrategy"];
|
|
29
27
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
30
28
|
Portal: typeof Portal;
|
|
31
29
|
Provider: typeof Provider;
|
|
@@ -41,40 +41,40 @@ export type ContentProps = React.ComponentPropsWithoutRef<typeof TooltipPrimitiv
|
|
|
41
41
|
};
|
|
42
42
|
/** The component that pops out when the tooltip is open. */
|
|
43
43
|
export declare const Content: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
44
|
-
hideArrow?: boolean
|
|
44
|
+
hideArrow?: boolean;
|
|
45
45
|
/**
|
|
46
46
|
* A more descriptive label for accessibility purpose
|
|
47
47
|
*/
|
|
48
|
-
'aria-label'?: string
|
|
48
|
+
'aria-label'?: string;
|
|
49
49
|
/**
|
|
50
50
|
* Event handler called when the escape key is down.
|
|
51
51
|
* Can be prevented.
|
|
52
52
|
*/
|
|
53
|
-
onEscapeKeyDown?: TooltipPrimitive.TooltipContentProps[
|
|
53
|
+
onEscapeKeyDown?: TooltipPrimitive.TooltipContentProps["onEscapeKeyDown"];
|
|
54
54
|
/**
|
|
55
55
|
* Event handler called when the a `pointerdown` event happens outside of the `Tooltip`.
|
|
56
56
|
* Can be prevented.
|
|
57
57
|
*/
|
|
58
|
-
onPointerDownOutside?: TooltipPrimitive.TooltipContentProps[
|
|
58
|
+
onPointerDownOutside?: TooltipPrimitive.TooltipContentProps["onPointerDownOutside"];
|
|
59
59
|
/** The preferred side of the trigger to render against when open. Will be reversed when collisions occur and avoidCollisions is enabled. */
|
|
60
|
-
side?: TooltipPrimitive.TooltipContentProps[
|
|
60
|
+
side?: TooltipPrimitive.TooltipContentProps["side"];
|
|
61
61
|
/** The distance in pixels from the trigger. */
|
|
62
|
-
sideOffset?: TooltipPrimitive.TooltipContentProps[
|
|
62
|
+
sideOffset?: TooltipPrimitive.TooltipContentProps["sideOffset"];
|
|
63
63
|
/** The preferred alignment against the trigger. May change when collisions occur. */
|
|
64
|
-
align?: TooltipPrimitive.TooltipContentProps[
|
|
64
|
+
align?: TooltipPrimitive.TooltipContentProps["align"];
|
|
65
65
|
/** An offset in pixels from the `"start"` or `"end"` alignment options. */
|
|
66
|
-
alignOffset?: TooltipPrimitive.TooltipContentProps[
|
|
66
|
+
alignOffset?: TooltipPrimitive.TooltipContentProps["alignOffset"];
|
|
67
67
|
/** The padding between the arrow and the edges of the content. If your content has border-radius, this will prevent it from overflowing the corners. */
|
|
68
|
-
arrowPadding?: TooltipPrimitive.TooltipContentProps[
|
|
68
|
+
arrowPadding?: TooltipPrimitive.TooltipContentProps["arrowPadding"];
|
|
69
69
|
/** When `true`, overrides the side andalign preferences to prevent collisions with boundary edges. */
|
|
70
|
-
avoidCollisions?: TooltipPrimitive.TooltipContentProps[
|
|
70
|
+
avoidCollisions?: TooltipPrimitive.TooltipContentProps["avoidCollisions"];
|
|
71
71
|
/** The element used as the collision boundary. By default this is the viewport, though you can provide additional element(s) to be included in this check. */
|
|
72
|
-
collisionBoundary?: TooltipPrimitive.TooltipContentProps[
|
|
72
|
+
collisionBoundary?: TooltipPrimitive.TooltipContentProps["collisionBoundary"];
|
|
73
73
|
/** The distance in pixels from the boundary edges where collision detection should occur. Accepts a number (same for all sides), or a partial padding object, for example: `{ top: 20, left: 20 }`. */
|
|
74
|
-
collisionPadding?: TooltipPrimitive.TooltipContentProps[
|
|
74
|
+
collisionPadding?: TooltipPrimitive.TooltipContentProps["collisionPadding"];
|
|
75
75
|
/** The sticky behavior on the align axis. `"partial"` will keep the content in the boundary as long as the trigger is at least partially in the boundary whilst `"always"` will keep the content in the boundary regardless. */
|
|
76
|
-
sticky?: TooltipPrimitive.TooltipContentProps[
|
|
76
|
+
sticky?: TooltipPrimitive.TooltipContentProps["sticky"];
|
|
77
77
|
/** Whether to hide the content when the trigger becomes fully occluded. */
|
|
78
|
-
hideWhenDetached?: TooltipPrimitive.TooltipContentProps[
|
|
79
|
-
updatePositionStrategy?: TooltipPrimitive.TooltipContentProps[
|
|
78
|
+
hideWhenDetached?: TooltipPrimitive.TooltipContentProps["hideWhenDetached"];
|
|
79
|
+
updatePositionStrategy?: TooltipPrimitive.TooltipContentProps["updatePositionStrategy"];
|
|
80
80
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -3,7 +3,7 @@ import { default as React } from 'react';
|
|
|
3
3
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
4
4
|
export declare const rootClassName = "teddy-tooltip";
|
|
5
5
|
export declare const RootContext: React.Context<{
|
|
6
|
-
negative?: boolean
|
|
6
|
+
negative?: boolean;
|
|
7
7
|
} | undefined>;
|
|
8
8
|
export type RootProps = React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Root> & {
|
|
9
9
|
/** The open state of the tooltip when it is initially rendered. Use when you do not need to control its open state. */
|
|
@@ -30,19 +30,19 @@ export type ItemProps = React.ComponentPropsWithoutRef<'a'> & {
|
|
|
30
30
|
* -----------------------------------------------------------------------------------------------*/
|
|
31
31
|
declare const TopRowButtons: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
32
32
|
/** Controls the default background color of all child items */
|
|
33
|
-
color?: TopRowButtonColor
|
|
33
|
+
color?: TopRowButtonColor;
|
|
34
34
|
/** Whether items should overflow and scroll horizontally when they don't fit */
|
|
35
|
-
scrollable?: boolean
|
|
35
|
+
scrollable?: boolean;
|
|
36
36
|
} & React.RefAttributes<HTMLDivElement>> & {
|
|
37
37
|
Item: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
38
38
|
/** Icon name from the Teddy icon set */
|
|
39
|
-
icon?:
|
|
39
|
+
icon?: IconName;
|
|
40
40
|
/** Emoji to display instead of an icon */
|
|
41
|
-
emoji?: string
|
|
41
|
+
emoji?: string;
|
|
42
42
|
/** Visible label text */
|
|
43
43
|
label: string;
|
|
44
44
|
/** Overrides the color set on the Root */
|
|
45
|
-
color?: TopRowButtonColor
|
|
45
|
+
color?: TopRowButtonColor;
|
|
46
46
|
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
47
47
|
};
|
|
48
48
|
export { TopRowButtons };
|
|
@@ -8,8 +8,8 @@ type VisuallyHiddenProps = React.ComponentPropsWithoutRef<'span'> & {
|
|
|
8
8
|
* This component is used to hide content visually, but still accessible to screen readers
|
|
9
9
|
* */
|
|
10
10
|
declare const VisuallyHidden: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
11
|
-
visibleOnFocus?: boolean
|
|
12
|
-
asChild?: boolean
|
|
11
|
+
visibleOnFocus?: boolean;
|
|
12
|
+
asChild?: boolean;
|
|
13
13
|
} & React.RefAttributes<HTMLSpanElement>>;
|
|
14
14
|
export { VisuallyHidden };
|
|
15
15
|
export type { VisuallyHiddenProps };
|