@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.
Files changed (177) hide show
  1. package/dist/components/accordion/accordion-root.d.ts +1 -1
  2. package/dist/components/accordion/accordion-trigger.d.ts +1 -1
  3. package/dist/components/accordion/index.d.ts +1 -1
  4. package/dist/components/avatar/avatar-root.d.ts +4 -4
  5. package/dist/components/avatar/index.d.ts +4 -4
  6. package/dist/components/badge/badge.d.ts +2 -2
  7. package/dist/components/breadcrumbs/breadcrumbs-link.d.ts +5 -5
  8. package/dist/components/breadcrumbs/breadcrumbs-root.d.ts +1 -1
  9. package/dist/components/breadcrumbs/index.d.ts +6 -6
  10. package/dist/components/button/button.cjs +27 -27
  11. package/dist/components/button/button.js +27 -27
  12. package/dist/components/card/card-availability.d.ts +1 -1
  13. package/dist/components/card/card-illustration.d.ts +2 -2
  14. package/dist/components/card/card-link.d.ts +4 -4
  15. package/dist/components/card/card.cjs +52 -52
  16. package/dist/components/card/card.d.ts +2 -2
  17. package/dist/components/card/card.js +52 -52
  18. package/dist/components/card/index.d.ts +2 -2
  19. package/dist/components/carousel/carousel-root.cjs +4 -4
  20. package/dist/components/carousel/carousel-root.js +4 -4
  21. package/dist/components/channel-button/channel-button-root.d.ts +18 -18
  22. package/dist/components/channel-button/index.d.ts +2 -28
  23. package/dist/components/checkbox/checkbox-group-item.d.ts +1 -1
  24. package/dist/components/checkbox/checkbox-group-label.d.ts +2 -2
  25. package/dist/components/checkbox/checkbox-group-list.d.ts +15 -15
  26. package/dist/components/checkbox/checkbox-group.d.ts +20 -20
  27. package/dist/components/checkbox/checkbox-root.d.ts +1 -1
  28. package/dist/components/checkbox/index.d.ts +40 -40
  29. package/dist/components/checkbox-card-group/checkbox-card-group-indicator.cjs +32 -32
  30. package/dist/components/checkbox-card-group/checkbox-card-group-indicator.d.ts +3 -3
  31. package/dist/components/checkbox-card-group/checkbox-card-group-indicator.js +32 -32
  32. package/dist/components/checkbox-card-group/checkbox-card-group-item-title.d.ts +4 -4
  33. package/dist/components/checkbox-card-group/checkbox-card-group-item.d.ts +5 -5
  34. package/dist/components/checkbox-card-group/checkbox-card-group-label.d.ts +20 -20
  35. package/dist/components/checkbox-card-group/checkbox-card-group-root.d.ts +7 -7
  36. package/dist/components/checkbox-card-group/index.d.ts +39 -39
  37. package/dist/components/chip/chip-indicator.d.ts +3 -3
  38. package/dist/components/chip/chip.cjs +3 -3
  39. package/dist/components/chip/chip.js +3 -3
  40. package/dist/components/chip/index.d.ts +4 -4
  41. package/dist/components/collapsible/index.d.ts +2 -2
  42. package/dist/components/color-dot/color-dot-root.d.ts +3 -3
  43. package/dist/components/color-dot/index.d.ts +4 -4
  44. package/dist/components/dashboard-card/dashboard-card-avatar.d.ts +4 -4
  45. package/dist/components/dashboard-card/dashboard-card-root.cjs +15 -15
  46. package/dist/components/dashboard-card/dashboard-card-root.d.ts +5 -5
  47. package/dist/components/dashboard-card/dashboard-card-root.js +15 -15
  48. package/dist/components/dashboard-card/index.d.ts +2 -7
  49. package/dist/components/dashed-button/dashed-button-root.d.ts +38 -38
  50. package/dist/components/date-picker/css.cjs +38 -38
  51. package/dist/components/date-picker/css.js +38 -38
  52. package/dist/components/drawer/drawer-close.cjs +1 -1
  53. package/dist/components/drawer/drawer-close.js +1 -1
  54. package/dist/components/drawer/drawer-content.cjs +1 -1
  55. package/dist/components/drawer/drawer-content.js +1 -1
  56. package/dist/components/drawer/drawer-description.cjs +1 -1
  57. package/dist/components/drawer/drawer-description.js +1 -1
  58. package/dist/components/drawer/drawer-footer.cjs +1 -1
  59. package/dist/components/drawer/drawer-footer.js +1 -1
  60. package/dist/components/drawer/drawer-overlay.cjs +1 -1
  61. package/dist/components/drawer/drawer-overlay.d.ts +1 -1
  62. package/dist/components/drawer/drawer-overlay.js +1 -1
  63. package/dist/components/drawer/drawer-title.cjs +1 -1
  64. package/dist/components/drawer/drawer-title.js +1 -1
  65. package/dist/components/expandable-card/expandable-card-button.d.ts +18 -18
  66. package/dist/components/expandable-card/index.d.ts +20 -18
  67. package/dist/components/flip-card/flip-card-root.d.ts +4 -4
  68. package/dist/components/flip-card/flip-card-trigger.d.ts +17 -17
  69. package/dist/components/flip-card/index.d.ts +2 -7
  70. package/dist/components/icon/utils.d.ts +3 -1
  71. package/dist/components/input/index.d.ts +7 -7
  72. package/dist/components/input/input-group.d.ts +2 -2
  73. package/dist/components/input/input-indicator.d.ts +2 -2
  74. package/dist/components/input/input.d.ts +3 -3
  75. package/dist/components/label/label.d.ts +2 -2
  76. package/dist/components/link/link.d.ts +4 -4
  77. package/dist/components/list/index.d.ts +19 -19
  78. package/dist/components/list/list-illustration.d.ts +1 -1
  79. package/dist/components/list/list.d.ts +18 -18
  80. package/dist/components/meter-bar/index.d.ts +2 -2
  81. package/dist/components/meter-bar/meter-bar-indicator.d.ts +2 -2
  82. package/dist/components/modal/index.d.ts +2 -2
  83. package/dist/components/modal/modal-content.d.ts +1 -1
  84. package/dist/components/modal/modal-image.d.ts +1 -1
  85. package/dist/components/modal/modal-overlay.d.ts +1 -1
  86. package/dist/components/modal/modal-title.d.ts +8 -8
  87. package/dist/components/navigation-menu/global-navigation/global-navigation-desktop-simplified.d.ts +1 -1
  88. package/dist/components/navigation-menu/global-navigation/global-navigation-mobile.d.ts +1 -1
  89. package/dist/components/navigation-menu/global-navigation/global-navigation-search-field.d.ts +3 -3
  90. package/dist/components/navigation-menu/navigation-menu.d.ts +11 -11
  91. package/dist/components/notabene/index.d.ts +2 -2
  92. package/dist/components/notabene/notabene-icon.d.ts +3 -3
  93. package/dist/components/notification/index.d.ts +2 -81
  94. package/dist/components/notification/notification-icon.d.ts +3 -3
  95. package/dist/components/notification/notification-root.d.ts +41 -41
  96. package/dist/components/pagination/index.d.ts +2 -4
  97. package/dist/components/pagination/pagination-button.d.ts +5 -5
  98. package/dist/components/pagination/pagination-root.d.ts +1 -1
  99. package/dist/components/progress-bar/progress-bar.d.ts +1 -1
  100. package/dist/components/radio-card-group/index.d.ts +32 -32
  101. package/dist/components/radio-card-group/radio-card-group-item-title.d.ts +1 -1
  102. package/dist/components/radio-card-group/radio-card-group-item.d.ts +2 -2
  103. package/dist/components/radio-card-group/radio-card-group-label.d.ts +20 -20
  104. package/dist/components/radio-card-group/radio-card-group-root.d.ts +9 -9
  105. package/dist/components/radio-group/index.d.ts +33 -33
  106. package/dist/components/radio-group/radio-group-item-label.d.ts +3 -3
  107. package/dist/components/radio-group/radio-group-item.d.ts +1 -1
  108. package/dist/components/radio-group/radio-group-label.d.ts +20 -20
  109. package/dist/components/radio-group/radio-group-root.d.ts +9 -9
  110. package/dist/components/radio-group/radio-group-trigger.d.ts +1 -1
  111. package/dist/components/ribbon/ribbon-root.d.ts +2 -2
  112. package/dist/components/scroll-area/index.d.ts +25 -25
  113. package/dist/components/scroll-area/scroll-area-button.d.ts +18 -18
  114. package/dist/components/scroll-area/scroll-area-item.d.ts +4 -4
  115. package/dist/components/scroll-area/scroll-area-root.d.ts +3 -3
  116. package/dist/components/select/index.d.ts +16 -16
  117. package/dist/components/select/select-group.d.ts +2 -2
  118. package/dist/components/select/select-root.d.ts +11 -11
  119. package/dist/components/select/select-trigger.d.ts +2 -2
  120. package/dist/components/select/select-value.d.ts +1 -1
  121. package/dist/components/shopping-cart/shopping-cart-context.d.ts +0 -1
  122. package/dist/components/shopping-cart/shopping-cart-continue.d.ts +0 -1
  123. package/dist/components/spinner/spinner.d.ts +2 -2
  124. package/dist/components/step-by-step/index.d.ts +7 -7
  125. package/dist/components/step-by-step/step-by-step-root.d.ts +6 -6
  126. package/dist/components/step-by-step/step-by-step-step.d.ts +1 -1
  127. package/dist/components/step-indicator/index.d.ts +9 -9
  128. package/dist/components/step-indicator/step-indicator-root.d.ts +8 -8
  129. package/dist/components/step-indicator/step-indicator-step-element.d.ts +0 -1
  130. package/dist/components/table/index.d.ts +2 -5
  131. package/dist/components/table/table-cell.d.ts +5 -5
  132. package/dist/components/table/table-head.d.ts +6 -6
  133. package/dist/components/table/table-root.cjs +20 -20
  134. package/dist/components/table/table-root.d.ts +2 -2
  135. package/dist/components/table/table-root.js +20 -20
  136. package/dist/components/tabs/index.d.ts +2 -9
  137. package/dist/components/tabs/tabs-content.d.ts +1 -1
  138. package/dist/components/tabs/tabs-list.d.ts +1 -1
  139. package/dist/components/tabs/tabs-root.cjs +5 -5
  140. package/dist/components/tabs/tabs-root.d.ts +6 -6
  141. package/dist/components/tabs/tabs-root.js +5 -5
  142. package/dist/components/tabs/tabs-scroll-button.d.ts +18 -18
  143. package/dist/components/tabs/tabs-scroll.d.ts +3 -3
  144. package/dist/components/tabs/tabs-trigger.d.ts +2 -2
  145. package/dist/components/text-field/index.d.ts +25 -25
  146. package/dist/components/text-field/text-field-button.d.ts +17 -17
  147. package/dist/components/text-field/text-field-error-list.d.ts +1 -1
  148. package/dist/components/text-field/text-field-input-group.d.ts +2 -2
  149. package/dist/components/text-field/text-field-label.d.ts +2 -2
  150. package/dist/components/text-field/text-field.d.ts +3 -3
  151. package/dist/components/text-spacing/text-spacing.d.ts +1 -1
  152. package/dist/components/textarea/index.d.ts +9 -9
  153. package/dist/components/textarea/textarea-group.d.ts +2 -2
  154. package/dist/components/textarea/textarea-indicator.d.ts +2 -2
  155. package/dist/components/textarea/textarea.d.ts +5 -5
  156. package/dist/components/toast/index.d.ts +1 -1
  157. package/dist/components/toast/toast-root.cjs +75 -75
  158. package/dist/components/toast/toast-root.js +75 -75
  159. package/dist/components/toggle/toggle.cjs +4 -4
  160. package/dist/components/toggle/toggle.d.ts +4 -4
  161. package/dist/components/toggle/toggle.js +4 -4
  162. package/dist/components/toggletip/index.d.ts +1 -1
  163. package/dist/components/toggletip/toggletip-root.d.ts +3 -3
  164. package/dist/components/tooltip/index.d.ts +15 -17
  165. package/dist/components/tooltip/tooltip-content.d.ts +15 -15
  166. package/dist/components/tooltip/tooltip-root.d.ts +1 -1
  167. package/dist/components/top-row-buttons/top-row-buttons.d.ts +5 -5
  168. package/dist/components/visually-hidden/visually-hidden.d.ts +2 -2
  169. package/dist/drawer.module-CRbvc--J.js +16 -0
  170. package/dist/drawer.module-CdrdXo5o.cjs +15 -0
  171. package/dist/style.css +841 -800
  172. package/dist/utils/action.d.ts +0 -1
  173. package/dist/utils/component-props-as.d.ts +0 -1
  174. package/dist/utils/generate-styling/gap.d.ts +0 -24
  175. package/package.json +56 -57
  176. package/dist/drawer.module-C4NZoZUc.cjs +0 -15
  177. package/dist/drawer.module-jxIDBwQn.js +0 -16
@@ -22,26 +22,26 @@ function _interopNamespaceDefault(e) {
22
22
  }
23
23
  const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
24
24
  const styles = {
25
- "teddy-table": "_teddy-table_uodq1_1",
26
- "teddy-table-wrapper": "_teddy-table-wrapper_uodq1_7",
27
- "teddy-table__header": "_teddy-table__header_uodq1_15",
28
- "teddy-table__body": "_teddy-table__body_uodq1_22",
29
- "teddy-table__footer": "_teddy-table__footer_uodq1_25",
30
- "teddy-table__row": "_teddy-table__row_uodq1_28",
31
- "teddy-table__head": "_teddy-table__head_uodq1_15",
32
- "teddy-table__head--numeric": "_teddy-table__head--numeric_uodq1_46",
33
- "teddy-table__head--sticky": "_teddy-table__head--sticky_uodq1_49",
34
- "teddy-table__head--sticky-left": "_teddy-table__head--sticky-left_uodq1_53",
35
- "teddy-table__head--sticky-right": "_teddy-table__head--sticky-right_uodq1_56",
36
- "teddy-table__head--sticky-top": "_teddy-table__head--sticky-top_uodq1_59",
37
- "teddy-table__head--sticky-bottom": "_teddy-table__head--sticky-bottom_uodq1_62",
38
- "teddy-table__cell": "_teddy-table__cell_uodq1_65",
39
- "teddy-table__cell--numeric": "_teddy-table__cell--numeric_uodq1_69",
40
- "teddy-table__cell--sticky": "_teddy-table__cell--sticky_uodq1_72",
41
- "teddy-table__cell--sticky-left": "_teddy-table__cell--sticky-left_uodq1_76",
42
- "teddy-table__cell--sticky-right": "_teddy-table__cell--sticky-right_uodq1_79",
43
- "teddy-table__cell--sticky-top": "_teddy-table__cell--sticky-top_uodq1_82",
44
- "teddy-table__cell--sticky-bottom": "_teddy-table__cell--sticky-bottom_uodq1_85"
25
+ "teddy-table-wrapper": "_teddy-table-wrapper_5obes_1",
26
+ "teddy-table": "_teddy-table_5obes_1",
27
+ "teddy-table__header": "_teddy-table__header_5obes_15",
28
+ "teddy-table__body": "_teddy-table__body_5obes_22",
29
+ "teddy-table__footer": "_teddy-table__footer_5obes_25",
30
+ "teddy-table__row": "_teddy-table__row_5obes_28",
31
+ "teddy-table__head": "_teddy-table__head_5obes_15",
32
+ "teddy-table__head--numeric": "_teddy-table__head--numeric_5obes_46",
33
+ "teddy-table__head--sticky": "_teddy-table__head--sticky_5obes_49",
34
+ "teddy-table__head--sticky-left": "_teddy-table__head--sticky-left_5obes_53",
35
+ "teddy-table__head--sticky-right": "_teddy-table__head--sticky-right_5obes_56",
36
+ "teddy-table__head--sticky-top": "_teddy-table__head--sticky-top_5obes_59",
37
+ "teddy-table__head--sticky-bottom": "_teddy-table__head--sticky-bottom_5obes_62",
38
+ "teddy-table__cell": "_teddy-table__cell_5obes_65",
39
+ "teddy-table__cell--numeric": "_teddy-table__cell--numeric_5obes_69",
40
+ "teddy-table__cell--sticky": "_teddy-table__cell--sticky_5obes_72",
41
+ "teddy-table__cell--sticky-left": "_teddy-table__cell--sticky-left_5obes_76",
42
+ "teddy-table__cell--sticky-right": "_teddy-table__cell--sticky-right_5obes_79",
43
+ "teddy-table__cell--sticky-top": "_teddy-table__cell--sticky-top_5obes_82",
44
+ "teddy-table__cell--sticky-bottom": "_teddy-table__cell--sticky-bottom_5obes_85"
45
45
  };
46
46
  const rootClassName = "teddy-table";
47
47
  const Root = React__namespace.forwardRef(({ className, height, width, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(components_scrollArea_index.ScrollArea, { className: styles[`${rootClassName}-wrapper`], style: { height, width }, children: /* @__PURE__ */ jsxRuntime.jsx("table", { ref, className: clsx(styles[rootClassName], className), ...props }) }));
@@ -5,6 +5,6 @@ export type RootProps = React.HTMLAttributes<HTMLTableElement> & {
5
5
  width?: string | number;
6
6
  };
7
7
  export declare const Root: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & {
8
- height?: string | number | undefined;
9
- width?: string | number | undefined;
8
+ height?: string | number;
9
+ width?: string | number;
10
10
  } & React.RefAttributes<HTMLTableElement>>;
@@ -3,26 +3,26 @@ import * as React from "react";
3
3
  import clsx from "clsx";
4
4
  import { ScrollArea } from "../scroll-area/index.js";
5
5
  const styles = {
6
- "teddy-table": "_teddy-table_uodq1_1",
7
- "teddy-table-wrapper": "_teddy-table-wrapper_uodq1_7",
8
- "teddy-table__header": "_teddy-table__header_uodq1_15",
9
- "teddy-table__body": "_teddy-table__body_uodq1_22",
10
- "teddy-table__footer": "_teddy-table__footer_uodq1_25",
11
- "teddy-table__row": "_teddy-table__row_uodq1_28",
12
- "teddy-table__head": "_teddy-table__head_uodq1_15",
13
- "teddy-table__head--numeric": "_teddy-table__head--numeric_uodq1_46",
14
- "teddy-table__head--sticky": "_teddy-table__head--sticky_uodq1_49",
15
- "teddy-table__head--sticky-left": "_teddy-table__head--sticky-left_uodq1_53",
16
- "teddy-table__head--sticky-right": "_teddy-table__head--sticky-right_uodq1_56",
17
- "teddy-table__head--sticky-top": "_teddy-table__head--sticky-top_uodq1_59",
18
- "teddy-table__head--sticky-bottom": "_teddy-table__head--sticky-bottom_uodq1_62",
19
- "teddy-table__cell": "_teddy-table__cell_uodq1_65",
20
- "teddy-table__cell--numeric": "_teddy-table__cell--numeric_uodq1_69",
21
- "teddy-table__cell--sticky": "_teddy-table__cell--sticky_uodq1_72",
22
- "teddy-table__cell--sticky-left": "_teddy-table__cell--sticky-left_uodq1_76",
23
- "teddy-table__cell--sticky-right": "_teddy-table__cell--sticky-right_uodq1_79",
24
- "teddy-table__cell--sticky-top": "_teddy-table__cell--sticky-top_uodq1_82",
25
- "teddy-table__cell--sticky-bottom": "_teddy-table__cell--sticky-bottom_uodq1_85"
6
+ "teddy-table-wrapper": "_teddy-table-wrapper_5obes_1",
7
+ "teddy-table": "_teddy-table_5obes_1",
8
+ "teddy-table__header": "_teddy-table__header_5obes_15",
9
+ "teddy-table__body": "_teddy-table__body_5obes_22",
10
+ "teddy-table__footer": "_teddy-table__footer_5obes_25",
11
+ "teddy-table__row": "_teddy-table__row_5obes_28",
12
+ "teddy-table__head": "_teddy-table__head_5obes_15",
13
+ "teddy-table__head--numeric": "_teddy-table__head--numeric_5obes_46",
14
+ "teddy-table__head--sticky": "_teddy-table__head--sticky_5obes_49",
15
+ "teddy-table__head--sticky-left": "_teddy-table__head--sticky-left_5obes_53",
16
+ "teddy-table__head--sticky-right": "_teddy-table__head--sticky-right_5obes_56",
17
+ "teddy-table__head--sticky-top": "_teddy-table__head--sticky-top_5obes_59",
18
+ "teddy-table__head--sticky-bottom": "_teddy-table__head--sticky-bottom_5obes_62",
19
+ "teddy-table__cell": "_teddy-table__cell_5obes_65",
20
+ "teddy-table__cell--numeric": "_teddy-table__cell--numeric_5obes_69",
21
+ "teddy-table__cell--sticky": "_teddy-table__cell--sticky_5obes_72",
22
+ "teddy-table__cell--sticky-left": "_teddy-table__cell--sticky-left_5obes_76",
23
+ "teddy-table__cell--sticky-right": "_teddy-table__cell--sticky-right_5obes_79",
24
+ "teddy-table__cell--sticky-top": "_teddy-table__cell--sticky-top_5obes_82",
25
+ "teddy-table__cell--sticky-bottom": "_teddy-table__cell--sticky-bottom_5obes_85"
26
26
  };
27
27
  const rootClassName = "teddy-table";
28
28
  const Root = React.forwardRef(({ className, height, width, ...props }, ref) => /* @__PURE__ */ jsx(ScrollArea, { className: styles[`${rootClassName}-wrapper`], style: { height, width }, children: /* @__PURE__ */ jsx("table", { ref, className: clsx(styles[rootClassName], className), ...props }) }));
@@ -1,4 +1,4 @@
1
- import { RootProps } from './tabs-root';
1
+ import { Root, RootProps } from './tabs-root';
2
2
  import { List, ListProps } from './tabs-list';
3
3
  import { Trigger, TriggerProps } from './tabs-trigger';
4
4
  import { Content, ContentProps } from './tabs-content';
@@ -45,14 +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">, "defaultValue" | "value" | "onValueChange" | "activationMode"> & {
49
- value?: string | undefined;
50
- onValueChange?: ((value: string) => void) | undefined;
51
- defaultValue?: string | undefined;
52
- activationMode?: "manual" | "automatic" | undefined;
53
- fullWidth?: boolean | undefined;
54
- snapCenter?: boolean | undefined;
55
- } & import('react').RefAttributes<HTMLDivElement>> & {
48
+ declare const Tabs: typeof Root & {
56
49
  /**
57
50
  * Container for the tab triggers. Provides keyboard navigation and proper ARIA roles.
58
51
  *
@@ -8,5 +8,5 @@ export type ContentProps = Omit<React.ComponentPropsWithoutRef<typeof TabsPrimit
8
8
  /** Contains the content associated with each trigger.*/
9
9
  export declare const Content: React.ForwardRefExoticComponent<Omit<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref">, "value"> & {
10
10
  /** A unique value that associates the content with a trigger. */
11
- value: TabsPrimitive.TabsContentProps['value'];
11
+ value: TabsPrimitive.TabsContentProps["value"];
12
12
  } & React.RefAttributes<HTMLDivElement>>;
@@ -12,5 +12,5 @@ export declare const List: React.ForwardRefExoticComponent<Omit<Omit<TabsPrimiti
12
12
  /** When true, keyboard navigation will loop from last tab to first, and vice versa.
13
13
  * @default true
14
14
  */
15
- loop?: TabsPrimitive.TabsListProps['loop'];
15
+ loop?: TabsPrimitive.TabsListProps["loop"];
16
16
  } & React.RefAttributes<HTMLDivElement>>;
@@ -24,11 +24,11 @@ function _interopNamespaceDefault(e) {
24
24
  }
25
25
  const TabsPrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(TabsPrimitive);
26
26
  const styles = {
27
- "teddy-tabs__list": "_teddy-tabs__list_e9ndq_1",
28
- "teddy-tabs--full-width": "_teddy-tabs--full-width_e9ndq_28",
29
- "teddy-tabs__content": "_teddy-tabs__content_e9ndq_31",
30
- "teddy-tabs__trigger": "_teddy-tabs__trigger_e9ndq_35",
31
- "teddy-tabs__scroll-button": "_teddy-tabs__scroll-button_e9ndq_56"
27
+ "teddy-tabs__list": "_teddy-tabs__list_1o5c5_1",
28
+ "teddy-tabs--full-width": "_teddy-tabs--full-width_1o5c5_30",
29
+ "teddy-tabs__content": "_teddy-tabs__content_1o5c5_33",
30
+ "teddy-tabs__trigger": "_teddy-tabs__trigger_1o5c5_37",
31
+ "teddy-tabs__scroll-button": "_teddy-tabs__scroll-button_1o5c5_58"
32
32
  };
33
33
  const rootClassName = "teddy-tabs";
34
34
  const RootContext = React.createContext(void 0);
@@ -36,18 +36,18 @@ type RootContextType = {
36
36
  export declare const RootContext: React.Context<RootContextType | undefined>;
37
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
- value?: TabsPrimitive.TabsProps['value'];
39
+ value?: TabsPrimitive.TabsProps["value"];
40
40
  /** Event handler called when the value changes. */
41
- onValueChange?: TabsPrimitive.TabsProps['onValueChange'];
41
+ onValueChange?: TabsPrimitive.TabsProps["onValueChange"];
42
42
  /** The value of the tab that should be active when initially rendered. Use when you do not need to control the state of the tabs. */
43
- defaultValue?: TabsPrimitive.TabsProps['defaultValue'];
43
+ defaultValue?: TabsPrimitive.TabsProps["defaultValue"];
44
44
  /** Controls when tabs are activated. 'automatic' activates on focus, 'manual' activates on click. */
45
- activationMode?: TabsPrimitive.TabsProps['activationMode'];
45
+ activationMode?: TabsPrimitive.TabsProps["activationMode"];
46
46
  /** Makes the tabs span the full width of the container */
47
- fullWidth?: boolean | undefined;
47
+ fullWidth?: boolean;
48
48
  /** Snaps the tab to center on click
49
49
  * @default true
50
50
  */
51
- snapCenter?: boolean | undefined;
51
+ snapCenter?: boolean;
52
52
  } & React.RefAttributes<HTMLDivElement>>;
53
53
  export {};
@@ -5,11 +5,11 @@ import * as TabsPrimitive from "@radix-ui/react-tabs";
5
5
  import { useControllableState } from "@radix-ui/react-use-controllable-state";
6
6
  import { composeEventHandlers } from "../../utils/composeEventHandlers.js";
7
7
  const styles = {
8
- "teddy-tabs__list": "_teddy-tabs__list_e9ndq_1",
9
- "teddy-tabs--full-width": "_teddy-tabs--full-width_e9ndq_28",
10
- "teddy-tabs__content": "_teddy-tabs__content_e9ndq_31",
11
- "teddy-tabs__trigger": "_teddy-tabs__trigger_e9ndq_35",
12
- "teddy-tabs__scroll-button": "_teddy-tabs__scroll-button_e9ndq_56"
8
+ "teddy-tabs__list": "_teddy-tabs__list_1o5c5_1",
9
+ "teddy-tabs--full-width": "_teddy-tabs--full-width_1o5c5_30",
10
+ "teddy-tabs__content": "_teddy-tabs__content_1o5c5_33",
11
+ "teddy-tabs__trigger": "_teddy-tabs__trigger_1o5c5_37",
12
+ "teddy-tabs__scroll-button": "_teddy-tabs__scroll-button_1o5c5_58"
13
13
  };
14
14
  const rootClassName = "teddy-tabs";
15
15
  const RootContext = React__default.createContext(void 0);
@@ -4,30 +4,30 @@ import { ScrollArea } from '../scroll-area';
4
4
  export type ScrollButtonProps = React.ComponentPropsWithoutRef<typeof ScrollArea.Button>;
5
5
  /** */
6
6
  export declare const ScrollButton: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
7
- display?: import('../../utils/generate-styling').DisplayChildren | undefined;
7
+ display?: import('../../utils/generate-styling').DisplayChildren;
8
8
  } & {
9
- asChild?: boolean | undefined;
10
- loading?: boolean | undefined;
11
- fullWidth?: boolean | undefined;
12
- size?: "sm" | "md" | "lg" | undefined;
13
- variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
14
- borderStyle?: ("dashed" | "default") | undefined;
9
+ asChild?: boolean;
10
+ loading?: boolean;
11
+ fullWidth?: boolean;
12
+ size?: import('../button/button').Size;
13
+ variant?: import('../button/button').Variant;
14
+ borderStyle?: "dashed" | "default";
15
15
  } & {
16
16
  iconOnly: true;
17
17
  "aria-label": string;
18
18
  } & React.RefAttributes<HTMLButtonElement>, "ref"> | Omit<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
19
- display?: import('../../utils/generate-styling').DisplayChildren | undefined;
19
+ display?: import('../../utils/generate-styling').DisplayChildren;
20
20
  } & {
21
- asChild?: boolean | undefined;
22
- loading?: boolean | undefined;
23
- fullWidth?: boolean | undefined;
24
- size?: "sm" | "md" | "lg" | undefined;
25
- variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
26
- borderStyle?: ("dashed" | "default") | undefined;
21
+ asChild?: boolean;
22
+ loading?: boolean;
23
+ fullWidth?: boolean;
24
+ size?: import('../button/button').Size;
25
+ variant?: import('../button/button').Variant;
26
+ borderStyle?: "dashed" | "default";
27
27
  } & {
28
- iconOnly?: false | undefined;
29
- "aria-label"?: string | undefined;
28
+ iconOnly?: false;
29
+ "aria-label"?: string;
30
30
  } & React.RefAttributes<HTMLButtonElement>, "ref">, "hidden"> & {
31
- direction?: "left" | "right" | "up" | "down" | undefined;
32
- hidden?: boolean | undefined;
31
+ direction?: "up" | "down" | "left" | "right";
32
+ hidden?: boolean;
33
33
  } & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
@@ -6,7 +6,7 @@ export declare const ScrollContext: React.Context<boolean>;
6
6
  /** */
7
7
  export declare const Scroll: React.ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-scroll-area').ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
8
8
  variant?: ("button" | "hidden" | "scrollbar") | undefined;
9
- scrollBehavior?: "auto" | "smooth" | undefined;
10
- viewPortClassName?: string | undefined;
11
- barClassName?: string | undefined;
9
+ scrollBehavior?: "smooth" | "auto";
10
+ viewPortClassName?: string;
11
+ barClassName?: string;
12
12
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -10,7 +10,7 @@ export type TriggerProps = Omit<React.ComponentPropsWithoutRef<typeof TabsPrimit
10
10
  /** The button that activates its associated content.*/
11
11
  export declare const Trigger: React.ForwardRefExoticComponent<Omit<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref">, "value" | "disabled"> & {
12
12
  /** A unique value that associates the trigger with a content. */
13
- value: TabsPrimitive.TabsTriggerProps['value'];
13
+ value: TabsPrimitive.TabsTriggerProps["value"];
14
14
  /** When true, prevents the user from interacting with the tab. */
15
- disabled?: TabsPrimitive.TabsTriggerProps['disabled'];
15
+ disabled?: TabsPrimitive.TabsTriggerProps["disabled"];
16
16
  } & React.RefAttributes<HTMLButtonElement>>;
@@ -10,52 +10,52 @@ import { TextFieldClearButtonProps } from './text-field-clear-button';
10
10
  import { TextFieldTextareaProps } from './text-field-textarea';
11
11
 
12
12
  export declare const TextField: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Pick<import('../input/input-indicator').InputIndicatorProps, "isLoading" | "isValid"> & {
13
- disabled?: boolean | undefined;
14
- readOnly?: boolean | undefined;
13
+ disabled?: boolean;
14
+ readOnly?: boolean;
15
15
  errors?: (string | null | undefined)[] | null | undefined;
16
- isRequired?: boolean | undefined;
16
+ isRequired?: boolean;
17
17
  } & import('react').RefAttributes<HTMLDivElement>> & {
18
18
  Input: import('react').ForwardRefExoticComponent<TextFieldInputProps & import('react').RefAttributes<HTMLInputElement>>;
19
19
  Textarea: import('react').ForwardRefExoticComponent<TextFieldTextareaProps & import('react').RefAttributes<HTMLTextAreaElement>>;
20
20
  Label: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-label').LabelProps & import('react').RefAttributes<HTMLLabelElement>, "ref"> & {
21
- disabled?: boolean | undefined;
22
- isRequired?: boolean | undefined;
21
+ disabled?: boolean;
22
+ isRequired?: boolean;
23
23
  } & import('react').RefAttributes<HTMLLabelElement>>;
24
24
  InputGroup: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
25
- frameClassName?: string | undefined;
26
- preventGroupClickSelect?: boolean | undefined;
25
+ frameClassName?: string;
26
+ preventGroupClickSelect?: boolean;
27
27
  } & import('react').RefAttributes<HTMLDivElement>>;
28
28
  HelperText: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
29
29
  ErrorList: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref">, "children"> & {
30
- children?: import('react').ReactNode | ((args: Pick<import('./text-field').TextFieldContextValue, "errors">) => import('react').ReactNode);
30
+ children?: ((args: Pick<import('./text-field').TextFieldContextValue, "errors">) => React.ReactNode) | React.ReactNode;
31
31
  } & import('react').RefAttributes<HTMLUListElement>>;
32
32
  Indicator: import('react').ForwardRefExoticComponent<TextFieldIndicatorProps & import('react').RefAttributes<SVGSVGElement>>;
33
33
  Button: import('react').ForwardRefExoticComponent<Omit<Omit<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
34
- display?: import('../../utils/generate-styling').DisplayChildren | undefined;
34
+ display?: import('../../utils/generate-styling').DisplayChildren;
35
35
  } & {
36
- asChild?: boolean | undefined;
37
- loading?: boolean | undefined;
38
- fullWidth?: boolean | undefined;
39
- size?: "sm" | "md" | "lg" | undefined;
40
- variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
41
- borderStyle?: ("dashed" | "default") | undefined;
36
+ asChild?: boolean;
37
+ loading?: boolean;
38
+ fullWidth?: boolean;
39
+ size?: import('../button/button').Size;
40
+ variant?: import('../button/button').Variant;
41
+ borderStyle?: "dashed" | "default";
42
42
  } & {
43
43
  iconOnly: true;
44
44
  "aria-label": string;
45
45
  } & import('react').RefAttributes<HTMLButtonElement>, "ref"> | Omit<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
46
- display?: import('../../utils/generate-styling').DisplayChildren | undefined;
46
+ display?: import('../../utils/generate-styling').DisplayChildren;
47
47
  } & {
48
- asChild?: boolean | undefined;
49
- loading?: boolean | undefined;
50
- fullWidth?: boolean | undefined;
51
- size?: "sm" | "md" | "lg" | undefined;
52
- variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
53
- borderStyle?: ("dashed" | "default") | undefined;
48
+ asChild?: boolean;
49
+ loading?: boolean;
50
+ fullWidth?: boolean;
51
+ size?: import('../button/button').Size;
52
+ variant?: import('../button/button').Variant;
53
+ borderStyle?: "dashed" | "default";
54
54
  } & {
55
- iconOnly?: false | undefined;
56
- "aria-label"?: string | undefined;
55
+ iconOnly?: false;
56
+ "aria-label"?: string;
57
57
  } & import('react').RefAttributes<HTMLButtonElement>, "ref">, "variant"> & {
58
- variant?: "attached" | "separated" | undefined;
58
+ variant?: "attached" | "separated";
59
59
  } & import('react').RefAttributes<HTMLButtonElement>>;
60
60
  ClearButton: import('react').ForwardRefExoticComponent<import('../input/input-clear-button').ClearButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
61
61
  };
@@ -5,29 +5,29 @@ export type TextFieldButtonProps = Omit<React.ComponentPropsWithoutRef<typeof Pr
5
5
  variant?: 'attached' | 'separated';
6
6
  };
7
7
  export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
8
- display?: import('../../utils/generate-styling').DisplayChildren | undefined;
8
+ display?: import('../../utils/generate-styling').DisplayChildren;
9
9
  } & {
10
- asChild?: boolean | undefined;
11
- loading?: boolean | undefined;
12
- fullWidth?: boolean | undefined;
13
- size?: "sm" | "md" | "lg" | undefined;
14
- variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
15
- borderStyle?: ("dashed" | "default") | undefined;
10
+ asChild?: boolean;
11
+ loading?: boolean;
12
+ fullWidth?: boolean;
13
+ size?: import('../button/button').Size;
14
+ variant?: import('../button/button').Variant;
15
+ borderStyle?: "dashed" | "default";
16
16
  } & {
17
17
  iconOnly: true;
18
18
  "aria-label": string;
19
19
  } & React.RefAttributes<HTMLButtonElement>, "ref"> | Omit<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
20
- display?: import('../../utils/generate-styling').DisplayChildren | undefined;
20
+ display?: import('../../utils/generate-styling').DisplayChildren;
21
21
  } & {
22
- asChild?: boolean | undefined;
23
- loading?: boolean | undefined;
24
- fullWidth?: boolean | undefined;
25
- size?: "sm" | "md" | "lg" | undefined;
26
- variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
27
- borderStyle?: ("dashed" | "default") | undefined;
22
+ asChild?: boolean;
23
+ loading?: boolean;
24
+ fullWidth?: boolean;
25
+ size?: import('../button/button').Size;
26
+ variant?: import('../button/button').Variant;
27
+ borderStyle?: "dashed" | "default";
28
28
  } & {
29
- iconOnly?: false | undefined;
30
- "aria-label"?: string | undefined;
29
+ iconOnly?: false;
30
+ "aria-label"?: string;
31
31
  } & React.RefAttributes<HTMLButtonElement>, "ref">, "variant"> & {
32
- variant?: "attached" | "separated" | undefined;
32
+ variant?: "attached" | "separated";
33
33
  } & React.RefAttributes<HTMLButtonElement>>;
@@ -5,5 +5,5 @@ export type TextFieldErrorListProps = Omit<React.ComponentPropsWithoutRef<'ul'>,
5
5
  children?: ((args: Pick<TextFieldContextValue, 'errors'>) => React.ReactNode) | React.ReactNode;
6
6
  };
7
7
  export declare const ErrorList: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref">, "children"> & {
8
- children?: React.ReactNode | ((args: Pick<TextFieldContextValue, 'errors'>) => React.ReactNode);
8
+ children?: ((args: Pick<TextFieldContextValue, "errors">) => React.ReactNode) | React.ReactNode;
9
9
  } & React.RefAttributes<HTMLUListElement>>;
@@ -3,6 +3,6 @@ import { InputGroupProps } from '../input';
3
3
 
4
4
  export type TextFieldInputGroupProps = InputGroupProps['Root'];
5
5
  export declare const InputGroup: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
6
- frameClassName?: string | undefined;
7
- preventGroupClickSelect?: boolean | undefined;
6
+ frameClassName?: string;
7
+ preventGroupClickSelect?: boolean;
8
8
  } & React.RefAttributes<HTMLDivElement>>;
@@ -3,6 +3,6 @@ import { LabelProps } from '../label';
3
3
 
4
4
  export type TextFieldLabelProps = LabelProps;
5
5
  export declare const Label: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-label').LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & {
6
- disabled?: boolean | undefined;
7
- isRequired?: boolean | undefined;
6
+ disabled?: boolean;
7
+ isRequired?: boolean;
8
8
  } & React.RefAttributes<HTMLLabelElement>>;
@@ -41,8 +41,8 @@ export declare const Root: React.ForwardRefExoticComponent<Omit<React.DetailedHT
41
41
  /**
42
42
  * Whether the input is disabled.
43
43
  */
44
- disabled?: boolean | undefined;
45
- readOnly?: boolean | undefined;
44
+ disabled?: boolean;
45
+ readOnly?: boolean;
46
46
  /**
47
47
  * List of errors
48
48
  */
@@ -50,6 +50,6 @@ export declare const Root: React.ForwardRefExoticComponent<Omit<React.DetailedHT
50
50
  /**
51
51
  * Whether the input is required.
52
52
  */
53
- isRequired?: boolean | undefined;
53
+ isRequired?: boolean;
54
54
  } & React.RefAttributes<HTMLDivElement>>;
55
55
  export {};
@@ -13,7 +13,7 @@ type TextSpacingProps = React.ComponentPropsWithoutRef<'div'> & {
13
13
  * https://www.figma.com/file/2QIcZVqP99ZKY4rNW7VuSx/Purpur-DS---Foundations-Library?type=design&node-id=9470-27984&mode=design&t=vJa9KJPym42lrLT9-4
14
14
  */
15
15
  declare const TextSpacing: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
16
- asChild?: boolean | undefined;
16
+ asChild?: boolean;
17
17
  } & React.RefAttributes<HTMLDivElement>>;
18
18
  export { TextSpacing };
19
19
  export type { TextSpacingProps };
@@ -4,19 +4,19 @@ import { TextareaGroupRootProps } from './textarea-group';
4
4
  import { TextareaClearButtonProps } from './textarea-clear-button';
5
5
 
6
6
  declare const TextareaGroup: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
7
- frameClassName?: string | undefined;
8
- preventGroupClickSelect?: boolean | undefined;
7
+ frameClassName?: string;
8
+ preventGroupClickSelect?: boolean;
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?: ("invalid" | "valid") | undefined;
12
- isLoading?: boolean | undefined;
13
- autosize?: boolean | undefined;
14
- charactersLimit?: number | undefined;
15
- onValueChange?: ((value: string) => void) | undefined;
11
+ validationState?: "invalid" | "valid";
12
+ isLoading?: boolean;
13
+ autosize?: boolean;
14
+ charactersLimit?: number;
15
+ onValueChange?: (value: string) => void;
16
16
  } & import('react').RefAttributes<HTMLTextAreaElement>>;
17
17
  TextareaIndicator: import('react').ForwardRefExoticComponent<Omit<import('react').SVGProps<SVGSVGElement>, "ref"> & {
18
- isValid?: boolean | undefined;
19
- isLoading?: boolean | undefined;
18
+ isValid?: boolean;
19
+ isLoading?: boolean;
20
20
  } & import('react').RefAttributes<SVGSVGElement>>;
21
21
  TextareaClearButton: import('react').ForwardRefExoticComponent<TextareaClearButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
22
22
  };
@@ -11,7 +11,7 @@ type TextareaGroupContextValue = {
11
11
  };
12
12
  export declare const TextareaGroupContext: React.Context<TextareaGroupContextValue | undefined>;
13
13
  export declare const Root: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
14
- frameClassName?: string | undefined;
15
- preventGroupClickSelect?: boolean | undefined;
14
+ frameClassName?: string;
15
+ preventGroupClickSelect?: boolean;
16
16
  } & React.RefAttributes<HTMLDivElement>>;
17
17
  export {};
@@ -15,9 +15,9 @@ export declare const TextareaIndicator: React.ForwardRefExoticComponent<Omit<Rea
15
15
  /**
16
16
  * Whether the input is invalid.
17
17
  */
18
- isValid?: boolean | undefined;
18
+ isValid?: boolean;
19
19
  /**
20
20
  * Whether the input is loading.
21
21
  */
22
- isLoading?: boolean | undefined;
22
+ isLoading?: boolean;
23
23
  } & React.RefAttributes<SVGSVGElement>>;
@@ -11,10 +11,10 @@ export type TextareaProps = Omit<TextareaHTML, 'children'> & {
11
11
  onValueChange?: (value: string) => void;
12
12
  };
13
13
  export declare const Textarea: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref">, "children"> & {
14
- validationState?: ValidationState | undefined;
15
- isLoading?: boolean | undefined;
16
- autosize?: boolean | undefined;
17
- charactersLimit?: number | undefined;
18
- onValueChange?: ((value: string) => void) | undefined;
14
+ validationState?: ValidationState;
15
+ isLoading?: boolean;
16
+ autosize?: boolean;
17
+ charactersLimit?: number;
18
+ onValueChange?: (value: string) => void;
19
19
  } & React.RefAttributes<HTMLTextAreaElement>>;
20
20
  export {};
@@ -2,7 +2,7 @@ import { RootProps } from './toast-root';
2
2
  import { toast } from 'sonner';
3
3
 
4
4
  export declare const Toast: {
5
- ({ className, ...props }: import('sonner').ToasterProps): import("react/jsx-runtime").JSX.Element;
5
+ ({ className, ...props }: RootProps): import("react/jsx-runtime").JSX.Element;
6
6
  displayName: string;
7
7
  };
8
8
  export { toast };