@accelint/design-toolkit 9.2.0 → 9.3.0

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 (240) hide show
  1. package/README.md +15 -22
  2. package/catalog-info.yaml +4 -4
  3. package/dist/components/accordion/group.d.ts +2 -2
  4. package/dist/components/accordion/header.d.ts +2 -2
  5. package/dist/components/accordion/index.d.ts +2 -2
  6. package/dist/components/accordion/panel.d.ts +2 -2
  7. package/dist/components/accordion/trigger.d.ts +2 -2
  8. package/dist/components/action-bar/index.d.ts +10 -2
  9. package/dist/components/action-bar/index.js +8 -1
  10. package/dist/components/action-bar/index.js.map +1 -1
  11. package/dist/components/action-bar/styles.module.css +9 -1
  12. package/dist/components/action-bar/types.d.ts +1 -0
  13. package/dist/components/avatar/context.d.ts +4 -4
  14. package/dist/components/avatar/index.d.ts +2 -2
  15. package/dist/components/badge/context.d.ts +4 -4
  16. package/dist/components/badge/index.d.ts +2 -2
  17. package/dist/components/breadcrumbs/index.d.ts +2 -2
  18. package/dist/components/breadcrumbs/item.d.ts +2 -2
  19. package/dist/components/button/context.d.ts +8 -8
  20. package/dist/components/button/index.d.ts +2 -2
  21. package/dist/components/button/link.d.ts +2 -2
  22. package/dist/components/button/toggle.d.ts +2 -2
  23. package/dist/components/checkbox/context.d.ts +3 -3
  24. package/dist/components/checkbox/group.d.ts +2 -2
  25. package/dist/components/checkbox/index.d.ts +2 -2
  26. package/dist/components/chip/context.d.ts +4 -4
  27. package/dist/components/chip/deletable.d.ts +2 -2
  28. package/dist/components/chip/index.d.ts +2 -2
  29. package/dist/components/chip/list.d.ts +4 -4
  30. package/dist/components/chip/selectable.d.ts +2 -2
  31. package/dist/components/classification-badge/context.d.ts +4 -4
  32. package/dist/components/classification-badge/index.d.ts +2 -2
  33. package/dist/components/classification-banner/context.d.ts +4 -4
  34. package/dist/components/classification-banner/index.d.ts +2 -2
  35. package/dist/components/clock/index.d.ts +2 -2
  36. package/dist/components/color-picker/index.d.ts +2 -2
  37. package/dist/components/combobox-field/context.d.ts +4 -4
  38. package/dist/components/combobox-field/index.d.ts +2 -2
  39. package/dist/components/combobox-field/index.js +44 -37
  40. package/dist/components/combobox-field/index.js.map +1 -1
  41. package/dist/components/combobox-field/styles.module.css +5 -1
  42. package/dist/components/coordinate-field/context.d.ts +6 -6
  43. package/dist/components/coordinate-field/index.d.ts +2 -2
  44. package/dist/components/coordinate-field/index.js +3 -1
  45. package/dist/components/coordinate-field/index.js.map +1 -1
  46. package/dist/components/coordinate-field/segment.d.ts +3 -2
  47. package/dist/components/coordinate-field/segment.js +3 -1
  48. package/dist/components/coordinate-field/segment.js.map +1 -1
  49. package/dist/components/coordinate-field/styles.module.css +14 -0
  50. package/dist/components/coordinate-field/types.d.ts +2 -0
  51. package/dist/components/coordinate-field/types.js.map +1 -1
  52. package/dist/components/date-field/index.d.ts +3 -2
  53. package/dist/components/date-field/index.js +4 -2
  54. package/dist/components/date-field/index.js.map +1 -1
  55. package/dist/components/date-field/styles.module.css +4 -0
  56. package/dist/components/deferred-collection/index.d.ts +43 -0
  57. package/dist/components/deferred-collection/index.js +44 -0
  58. package/dist/components/deferred-collection/index.js.map +1 -0
  59. package/dist/components/deferred-collection/types.d.ts +26 -0
  60. package/dist/components/deferred-collection/types.js +12 -0
  61. package/dist/components/details-list/context.d.ts +4 -4
  62. package/dist/components/details-list/index.d.ts +2 -2
  63. package/dist/components/details-list/label.d.ts +2 -2
  64. package/dist/components/details-list/value.d.ts +2 -2
  65. package/dist/components/dialog/content.d.ts +2 -2
  66. package/dist/components/dialog/context.d.ts +2 -2
  67. package/dist/components/dialog/footer.d.ts +2 -2
  68. package/dist/components/dialog/index.d.ts +2 -2
  69. package/dist/components/dialog/title.d.ts +2 -2
  70. package/dist/components/divider/context.d.ts +4 -4
  71. package/dist/components/divider/index.d.ts +2 -2
  72. package/dist/components/drawer/back.d.ts +2 -2
  73. package/dist/components/drawer/close.d.ts +2 -2
  74. package/dist/components/drawer/content.d.ts +2 -2
  75. package/dist/components/drawer/context.d.ts +2 -2
  76. package/dist/components/drawer/footer.d.ts +2 -2
  77. package/dist/components/drawer/header-title.d.ts +2 -2
  78. package/dist/components/drawer/header.d.ts +2 -2
  79. package/dist/components/drawer/index.d.ts +2 -2
  80. package/dist/components/drawer/layout-main.d.ts +2 -2
  81. package/dist/components/drawer/layout.d.ts +2 -2
  82. package/dist/components/drawer/menu-item.d.ts +2 -2
  83. package/dist/components/drawer/menu.d.ts +2 -2
  84. package/dist/components/drawer/panel.d.ts +2 -2
  85. package/dist/components/drawer/styles.module.css +2 -2
  86. package/dist/components/drawer/trigger.d.ts +2 -2
  87. package/dist/components/drawer/view.d.ts +2 -2
  88. package/dist/components/flashcard/index.d.ts +9 -9
  89. package/dist/components/hero/context.d.ts +2 -2
  90. package/dist/components/hero/index.d.ts +2 -2
  91. package/dist/components/hero/subtitle.d.ts +2 -2
  92. package/dist/components/hero/title.d.ts +2 -2
  93. package/dist/components/hotkey/context.d.ts +4 -4
  94. package/dist/components/hotkey/index.d.ts +2 -2
  95. package/dist/components/hotkey/set.d.ts +2 -2
  96. package/dist/components/icon/context.d.ts +4 -4
  97. package/dist/components/icon/index.d.ts +2 -2
  98. package/dist/components/input/context.d.ts +2 -2
  99. package/dist/components/input/index.d.ts +2 -2
  100. package/dist/components/input/index.js +3 -2
  101. package/dist/components/input/index.js.map +1 -1
  102. package/dist/components/input/styles.module.css +5 -1
  103. package/dist/components/kanban/card-body.d.ts +2 -2
  104. package/dist/components/kanban/card-header-actions.d.ts +2 -2
  105. package/dist/components/kanban/card-header-title.d.ts +2 -2
  106. package/dist/components/kanban/card-header.d.ts +2 -2
  107. package/dist/components/kanban/card.d.ts +2 -2
  108. package/dist/components/kanban/column-actions.d.ts +2 -2
  109. package/dist/components/kanban/column-container.d.ts +2 -2
  110. package/dist/components/kanban/column-content.d.ts +2 -2
  111. package/dist/components/kanban/column-header-actions.d.ts +2 -2
  112. package/dist/components/kanban/column-header-drag-handle.d.ts +2 -2
  113. package/dist/components/kanban/column-header-title.d.ts +2 -2
  114. package/dist/components/kanban/column-header.d.ts +2 -2
  115. package/dist/components/kanban/column.d.ts +2 -2
  116. package/dist/components/kanban/context.d.ts +2 -2
  117. package/dist/components/kanban/header-actions.d.ts +2 -2
  118. package/dist/components/kanban/header-search.d.ts +2 -2
  119. package/dist/components/kanban/header-title.d.ts +2 -2
  120. package/dist/components/kanban/header.d.ts +2 -2
  121. package/dist/components/kanban/kanban.d.ts +4 -4
  122. package/dist/components/label/context.d.ts +4 -4
  123. package/dist/components/label/index.d.ts +2 -2
  124. package/dist/components/lines/index.d.ts +2 -2
  125. package/dist/components/link/context.d.ts +2 -2
  126. package/dist/components/link/index.d.ts +2 -2
  127. package/dist/components/list/context.d.ts +2 -2
  128. package/dist/components/list/index.d.ts +2 -2
  129. package/dist/components/list/item-content.d.ts +2 -2
  130. package/dist/components/list/item-description.d.ts +2 -2
  131. package/dist/components/list/item-title.d.ts +2 -2
  132. package/dist/components/list/item.d.ts +2 -2
  133. package/dist/components/menu/context.d.ts +2 -2
  134. package/dist/components/menu/index.d.ts +2 -2
  135. package/dist/components/menu/item-description.d.ts +2 -2
  136. package/dist/components/menu/item-label.d.ts +2 -2
  137. package/dist/components/menu/item.d.ts +2 -2
  138. package/dist/components/menu/section.d.ts +2 -2
  139. package/dist/components/menu/separator.d.ts +2 -2
  140. package/dist/components/menu/styles.module.css +62 -46
  141. package/dist/components/menu/submenu.d.ts +2 -2
  142. package/dist/components/notice/index.d.ts +2 -2
  143. package/dist/components/notice/list.d.ts +2 -2
  144. package/dist/components/notice/notice-icon.d.ts +2 -2
  145. package/dist/components/options/context.d.ts +2 -2
  146. package/dist/components/options/index.d.ts +2 -2
  147. package/dist/components/options/item-content.d.ts +2 -2
  148. package/dist/components/options/item-description.d.ts +2 -2
  149. package/dist/components/options/item-label.d.ts +2 -2
  150. package/dist/components/options/item.d.ts +2 -2
  151. package/dist/components/options/section.d.ts +2 -2
  152. package/dist/components/pagination/context.d.ts +2 -2
  153. package/dist/components/pagination/index.d.ts +2 -2
  154. package/dist/components/pagination/next.d.ts +2 -2
  155. package/dist/components/pagination/pages.d.ts +2 -2
  156. package/dist/components/pagination/prev.d.ts +2 -2
  157. package/dist/components/popover/content.d.ts +2 -2
  158. package/dist/components/popover/footer.d.ts +2 -2
  159. package/dist/components/popover/index.d.ts +2 -2
  160. package/dist/components/popover/title.d.ts +2 -2
  161. package/dist/components/popover/trigger.d.ts +2 -2
  162. package/dist/components/query-builder/action-element.d.ts +2 -2
  163. package/dist/components/query-builder/actions.d.ts +4 -4
  164. package/dist/components/query-builder/combinator-selector.d.ts +2 -2
  165. package/dist/components/query-builder/index.d.ts +2 -2
  166. package/dist/components/query-builder/rule-group.d.ts +4 -4
  167. package/dist/components/query-builder/rule.d.ts +2 -2
  168. package/dist/components/query-builder/value-editor.d.ts +2 -2
  169. package/dist/components/query-builder/value-selector.d.ts +2 -2
  170. package/dist/components/radio/context.d.ts +2 -2
  171. package/dist/components/radio/group.d.ts +2 -2
  172. package/dist/components/radio/index.d.ts +2 -2
  173. package/dist/components/search-field/context.d.ts +4 -4
  174. package/dist/components/search-field/index.d.ts +2 -2
  175. package/dist/components/select-field/context.d.ts +4 -4
  176. package/dist/components/select-field/index.d.ts +2 -2
  177. package/dist/components/select-field/index.js +10 -4
  178. package/dist/components/select-field/index.js.map +1 -1
  179. package/dist/components/select-field/styles.module.css +4 -0
  180. package/dist/components/select-field/types.d.ts +1 -0
  181. package/dist/components/sidenav/avatar.d.ts +2 -2
  182. package/dist/components/sidenav/content.d.ts +2 -2
  183. package/dist/components/sidenav/context.d.ts +2 -2
  184. package/dist/components/sidenav/footer.d.ts +2 -2
  185. package/dist/components/sidenav/header.d.ts +2 -2
  186. package/dist/components/sidenav/index.d.ts +2 -2
  187. package/dist/components/sidenav/item.d.ts +2 -2
  188. package/dist/components/sidenav/link.d.ts +2 -2
  189. package/dist/components/sidenav/menu-item.d.ts +2 -2
  190. package/dist/components/sidenav/menu.d.ts +2 -2
  191. package/dist/components/sidenav/trigger.d.ts +2 -2
  192. package/dist/components/skeleton/index.d.ts +2 -2
  193. package/dist/components/slider/index.d.ts +2 -2
  194. package/dist/components/switch/context.d.ts +4 -4
  195. package/dist/components/switch/index.d.ts +2 -2
  196. package/dist/components/table/body.d.ts +2 -2
  197. package/dist/components/table/cell.d.ts +2 -2
  198. package/dist/components/table/context.d.ts +2 -2
  199. package/dist/components/table/header-cell.d.ts +2 -2
  200. package/dist/components/table/header.d.ts +2 -2
  201. package/dist/components/table/index.d.ts +2 -2
  202. package/dist/components/table/row.d.ts +2 -2
  203. package/dist/components/tabs/context.d.ts +4 -4
  204. package/dist/components/tabs/index.d.ts +2 -2
  205. package/dist/components/tabs/list.d.ts +2 -2
  206. package/dist/components/tabs/panel.d.ts +2 -2
  207. package/dist/components/tabs/tab.d.ts +2 -2
  208. package/dist/components/text-area-field/context.d.ts +4 -4
  209. package/dist/components/text-area-field/index.d.ts +2 -2
  210. package/dist/components/text-area-field/styles.module.css +4 -0
  211. package/dist/components/text-field/context.d.ts +4 -4
  212. package/dist/components/text-field/index.d.ts +2 -2
  213. package/dist/components/time-field/index.d.ts +3 -2
  214. package/dist/components/time-field/index.js +4 -2
  215. package/dist/components/time-field/index.js.map +1 -1
  216. package/dist/components/time-field/styles.module.css +5 -2
  217. package/dist/components/tooltip/context.d.ts +2 -2
  218. package/dist/components/tooltip/index.d.ts +2 -2
  219. package/dist/components/tooltip/trigger.d.ts +2 -2
  220. package/dist/components/tree/context.d.ts +3 -3
  221. package/dist/components/tree/index.d.ts +2 -2
  222. package/dist/components/tree/item-actions.d.ts +2 -2
  223. package/dist/components/tree/item-content.d.ts +2 -2
  224. package/dist/components/tree/item-description.d.ts +2 -2
  225. package/dist/components/tree/item-label.d.ts +2 -2
  226. package/dist/components/tree/item-prefix-icon.d.ts +2 -2
  227. package/dist/components/tree/item.d.ts +2 -2
  228. package/dist/components/tree/lines.d.ts +2 -2
  229. package/dist/components/view-stack/context.d.ts +2 -2
  230. package/dist/components/view-stack/index.d.ts +2 -2
  231. package/dist/components/view-stack/trigger.d.ts +2 -2
  232. package/dist/components/view-stack/view.d.ts +2 -2
  233. package/dist/hooks/use-frame-delay/index.d.ts +38 -0
  234. package/dist/hooks/use-frame-delay/index.js +61 -0
  235. package/dist/hooks/use-frame-delay/index.js.map +1 -0
  236. package/dist/index.d.ts +4 -1
  237. package/dist/index.js +3 -1
  238. package/dist/providers/portal.d.ts +2 -2
  239. package/dist/providers/theme-provider.d.ts +2 -2
  240. package/package.json +13 -10
@@ -11,13 +11,13 @@
11
11
  */
12
12
 
13
13
  import { ComponentPropsWithRef } from "react";
14
- import * as react_jsx_runtime9 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime76 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/drawer/layout-main.d.ts
17
17
  declare function DrawerLayoutMain({
18
18
  className,
19
19
  ...rest
20
- }: ComponentPropsWithRef<'main'>): react_jsx_runtime9.JSX.Element;
20
+ }: ComponentPropsWithRef<'main'>): react_jsx_runtime76.JSX.Element;
21
21
  //#endregion
22
22
  export { DrawerLayoutMain };
23
23
  //# sourceMappingURL=layout-main.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import { DrawerLayoutProps } from "./types.js";
14
- import * as react_jsx_runtime10 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime78 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/drawer/layout.d.ts
17
17
  declare function DrawerLayout({
@@ -19,7 +19,7 @@ declare function DrawerLayout({
19
19
  extend,
20
20
  push,
21
21
  ...rest
22
- }: DrawerLayoutProps): react_jsx_runtime10.JSX.Element;
22
+ }: DrawerLayoutProps): react_jsx_runtime78.JSX.Element;
23
23
  //#endregion
24
24
  export { DrawerLayout };
25
25
  //# sourceMappingURL=layout.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { DrawerMenuItemProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime11 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime80 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/drawer/menu-item.d.ts
18
18
  declare function DrawerMenuItem({
@@ -22,7 +22,7 @@ declare function DrawerMenuItem({
22
22
  toggle,
23
23
  textValue,
24
24
  ...rest
25
- }: DrawerMenuItemProps): react_jsx_runtime11.JSX.Element | null;
25
+ }: DrawerMenuItemProps): react_jsx_runtime80.JSX.Element | null;
26
26
  //#endregion
27
27
  export { DrawerMenuItem };
28
28
  //# sourceMappingURL=menu-item.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import { DrawerMenuProps } from "./types.js";
14
- import * as react_jsx_runtime12 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime83 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/drawer/menu.d.ts
17
17
  declare function DrawerMenu({
@@ -19,7 +19,7 @@ declare function DrawerMenu({
19
19
  position,
20
20
  children,
21
21
  ...rest
22
- }: DrawerMenuProps): react_jsx_runtime12.JSX.Element;
22
+ }: DrawerMenuProps): react_jsx_runtime83.JSX.Element;
23
23
  //#endregion
24
24
  export { DrawerMenu };
25
25
  //# sourceMappingURL=menu.d.ts.map
@@ -11,13 +11,13 @@
11
11
  */
12
12
 
13
13
  import { ComponentPropsWithRef } from "react";
14
- import * as react_jsx_runtime13 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime32 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/drawer/panel.d.ts
17
17
  declare function DrawerPanel({
18
18
  className,
19
19
  ...rest
20
- }: ComponentPropsWithRef<'div'>): react_jsx_runtime13.JSX.Element;
20
+ }: ComponentPropsWithRef<'div'>): react_jsx_runtime32.JSX.Element;
21
21
  //#endregion
22
22
  export { DrawerPanel };
23
23
  //# sourceMappingURL=panel.d.ts.map
@@ -187,7 +187,7 @@
187
187
 
188
188
  &.end {
189
189
  @variant group-placement-top/drawer {
190
- @apply right-xl;
190
+ @apply right-xl left-auto;
191
191
  }
192
192
 
193
193
  @variant group-placement-right/drawer {
@@ -195,7 +195,7 @@
195
195
  }
196
196
 
197
197
  @variant group-placement-bottom/drawer {
198
- @apply right-xl;
198
+ @apply right-xl left-auto;
199
199
  }
200
200
 
201
201
  @variant group-placement-left/drawer {
@@ -12,13 +12,13 @@
12
12
 
13
13
  import { DrawerTriggerProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime14 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime34 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/drawer/trigger.d.ts
18
18
  declare function DrawerTrigger({
19
19
  for: events,
20
20
  ...rest
21
- }: DrawerTriggerProps): react_jsx_runtime14.JSX.Element;
21
+ }: DrawerTriggerProps): react_jsx_runtime34.JSX.Element;
22
22
  //#endregion
23
23
  export { DrawerTrigger };
24
24
  //# sourceMappingURL=trigger.d.ts.map
@@ -13,7 +13,7 @@
13
13
  import { ViewStackViewProps } from "../view-stack/types.js";
14
14
  import "client-only";
15
15
  import { ComponentPropsWithRef } from "react";
16
- import * as react_jsx_runtime16 from "react/jsx-runtime";
16
+ import * as react_jsx_runtime36 from "react/jsx-runtime";
17
17
 
18
18
  //#region src/components/drawer/view.d.ts
19
19
  declare function DrawerView({
@@ -21,7 +21,7 @@ declare function DrawerView({
21
21
  children,
22
22
  className,
23
23
  ...rest
24
- }: ViewStackViewProps & ComponentPropsWithRef<'div'>): react_jsx_runtime16.JSX.Element;
24
+ }: ViewStackViewProps & ComponentPropsWithRef<'div'>): react_jsx_runtime36.JSX.Element;
25
25
  //#endregion
26
26
  export { DrawerView };
27
27
  //# sourceMappingURL=view.d.ts.map
@@ -12,11 +12,11 @@
12
12
 
13
13
  import { FlashcardComponentProps, FlashcardDetailsListProps, FlashcardProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react43 from "react";
16
- import * as react_jsx_runtime166 from "react/jsx-runtime";
15
+ import * as react14 from "react";
16
+ import * as react_jsx_runtime38 from "react/jsx-runtime";
17
17
 
18
18
  //#region src/components/flashcard/index.d.ts
19
- declare const FlashcardContext: react43.Context<FlashcardProps>;
19
+ declare const FlashcardContext: react14.Context<FlashcardProps>;
20
20
  /**
21
21
  * Example usage.
22
22
  *
@@ -41,27 +41,27 @@ declare const FlashcardContext: react43.Context<FlashcardProps>;
41
41
  * </Flashcard>
42
42
  * ```
43
43
  */
44
- declare function Flashcard(props: FlashcardProps): react_jsx_runtime166.JSX.Element;
44
+ declare function Flashcard(props: FlashcardProps): react_jsx_runtime38.JSX.Element;
45
45
  declare namespace Flashcard {
46
46
  var displayName: string;
47
47
  }
48
- declare function FlashcardHero(props: FlashcardComponentProps): react_jsx_runtime166.JSX.Element;
48
+ declare function FlashcardHero(props: FlashcardComponentProps): react_jsx_runtime38.JSX.Element;
49
49
  declare namespace FlashcardHero {
50
50
  var displayName: string;
51
51
  }
52
- declare function FlashcardAdditionalData(props: FlashcardComponentProps): react_jsx_runtime166.JSX.Element | null;
52
+ declare function FlashcardAdditionalData(props: FlashcardComponentProps): react_jsx_runtime38.JSX.Element | null;
53
53
  declare namespace FlashcardAdditionalData {
54
54
  var displayName: string;
55
55
  }
56
- declare function FlashcardDetailsList(props: FlashcardDetailsListProps): react_jsx_runtime166.JSX.Element;
56
+ declare function FlashcardDetailsList(props: FlashcardDetailsListProps): react_jsx_runtime38.JSX.Element;
57
57
  declare namespace FlashcardDetailsList {
58
58
  var displayName: string;
59
59
  }
60
- declare function FlashcardDetailsLabel(props: FlashcardComponentProps): react_jsx_runtime166.JSX.Element;
60
+ declare function FlashcardDetailsLabel(props: FlashcardComponentProps): react_jsx_runtime38.JSX.Element;
61
61
  declare namespace FlashcardDetailsLabel {
62
62
  var displayName: string;
63
63
  }
64
- declare function FlashcardDetailsValue(props: FlashcardComponentProps): react_jsx_runtime166.JSX.Element;
64
+ declare function FlashcardDetailsValue(props: FlashcardComponentProps): react_jsx_runtime38.JSX.Element;
65
65
  declare namespace FlashcardDetailsValue {
66
66
  var displayName: string;
67
67
  }
@@ -12,11 +12,11 @@
12
12
 
13
13
  import { HeroProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react4 from "react";
15
+ import * as react19 from "react";
16
16
  import { ContextValue } from "react-aria-components";
17
17
 
18
18
  //#region src/components/hero/context.d.ts
19
- declare const HeroContext: react4.Context<ContextValue<HeroProps, HTMLElement>>;
19
+ declare const HeroContext: react19.Context<ContextValue<HeroProps, HTMLElement>>;
20
20
  //#endregion
21
21
  export { HeroContext };
22
22
  //# sourceMappingURL=context.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { HeroProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime17 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime56 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/hero/index.d.ts
18
18
 
@@ -49,7 +49,7 @@ import * as react_jsx_runtime17 from "react/jsx-runtime";
49
49
  declare function Hero({
50
50
  ref,
51
51
  ...props
52
- }: HeroProps): react_jsx_runtime17.JSX.Element;
52
+ }: HeroProps): react_jsx_runtime56.JSX.Element;
53
53
  //#endregion
54
54
  export { Hero };
55
55
  //# sourceMappingURL=index.d.ts.map
@@ -11,11 +11,11 @@
11
11
  */
12
12
 
13
13
  import "client-only";
14
- import * as react0 from "react";
14
+ import * as react20 from "react";
15
15
  import * as react_aria_components0 from "react-aria-components";
16
16
 
17
17
  //#region src/components/hero/subtitle.d.ts
18
- declare const HeroSubtitle: react0.ForwardRefExoticComponent<react_aria_components0.TextProps & react0.RefAttributes<HTMLElement>>;
18
+ declare const HeroSubtitle: react20.ForwardRefExoticComponent<react_aria_components0.TextProps & react20.RefAttributes<HTMLElement>>;
19
19
  //#endregion
20
20
  export { HeroSubtitle };
21
21
  //# sourceMappingURL=subtitle.d.ts.map
@@ -11,11 +11,11 @@
11
11
  */
12
12
 
13
13
  import "client-only";
14
- import * as react9 from "react";
14
+ import * as react16 from "react";
15
15
  import * as react_aria_components0 from "react-aria-components";
16
16
 
17
17
  //#region src/components/hero/title.d.ts
18
- declare const HeroTitle: react9.ForwardRefExoticComponent<react_aria_components0.HeadingProps & react9.RefAttributes<HTMLHeadingElement>>;
18
+ declare const HeroTitle: react16.ForwardRefExoticComponent<react_aria_components0.HeadingProps & react16.RefAttributes<HTMLHeadingElement>>;
19
19
  //#endregion
20
20
  export { HeroTitle };
21
21
  //# sourceMappingURL=title.d.ts.map
@@ -13,16 +13,16 @@
13
13
  import { ProviderProps } from "../../lib/types.js";
14
14
  import { HotkeyProps } from "./types.js";
15
15
  import "client-only";
16
- import * as react16 from "react";
16
+ import * as react18 from "react";
17
17
  import { ContextValue } from "react-aria-components";
18
- import * as react_jsx_runtime58 from "react/jsx-runtime";
18
+ import * as react_jsx_runtime48 from "react/jsx-runtime";
19
19
 
20
20
  //#region src/components/hotkey/context.d.ts
21
- declare const HotkeyContext: react16.Context<ContextValue<HotkeyProps, HTMLElement>>;
21
+ declare const HotkeyContext: react18.Context<ContextValue<HotkeyProps, HTMLElement>>;
22
22
  declare function HotkeyProvider({
23
23
  children,
24
24
  ...props
25
- }: ProviderProps<HotkeyProps>): react_jsx_runtime58.JSX.Element;
25
+ }: ProviderProps<HotkeyProps>): react_jsx_runtime48.JSX.Element;
26
26
  //#endregion
27
27
  export { HotkeyContext, HotkeyProvider };
28
28
  //# sourceMappingURL=context.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { HotkeyProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime59 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime50 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/hotkey/index.d.ts
18
18
 
@@ -51,7 +51,7 @@ declare function Hotkey({
51
51
  ref,
52
52
  children,
53
53
  ...props
54
- }: HotkeyProps): react_jsx_runtime59.JSX.Element;
54
+ }: HotkeyProps): react_jsx_runtime50.JSX.Element;
55
55
  //#endregion
56
56
  export { Hotkey };
57
57
  //# sourceMappingURL=index.d.ts.map
@@ -12,13 +12,13 @@
12
12
 
13
13
  import "client-only";
14
14
  import { ComponentPropsWithRef } from "react";
15
- import * as react_jsx_runtime61 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime51 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/hotkey/set.d.ts
18
18
  declare function HotkeySet({
19
19
  className,
20
20
  ...rest
21
- }: ComponentPropsWithRef<'div'>): react_jsx_runtime61.JSX.Element;
21
+ }: ComponentPropsWithRef<'div'>): react_jsx_runtime51.JSX.Element;
22
22
  //#endregion
23
23
  export { HotkeySet };
24
24
  //# sourceMappingURL=set.d.ts.map
@@ -13,16 +13,16 @@
13
13
  import { ProviderProps } from "../../lib/types.js";
14
14
  import { IconProps } from "./types.js";
15
15
  import "client-only";
16
- import * as react18 from "react";
16
+ import * as react22 from "react";
17
17
  import { ContextValue } from "react-aria-components";
18
- import * as react_jsx_runtime63 from "react/jsx-runtime";
18
+ import * as react_jsx_runtime53 from "react/jsx-runtime";
19
19
 
20
20
  //#region src/components/icon/context.d.ts
21
- declare const IconContext: react18.Context<ContextValue<IconProps, HTMLSpanElement>>;
21
+ declare const IconContext: react22.Context<ContextValue<IconProps, HTMLSpanElement>>;
22
22
  declare function IconProvider({
23
23
  children,
24
24
  ...props
25
- }: ProviderProps<IconProps>): react_jsx_runtime63.JSX.Element;
25
+ }: ProviderProps<IconProps>): react_jsx_runtime53.JSX.Element;
26
26
  //#endregion
27
27
  export { IconContext, IconProvider };
28
28
  //# sourceMappingURL=context.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { IconProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime65 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime59 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/icon/index.d.ts
18
18
 
@@ -48,7 +48,7 @@ import * as react_jsx_runtime65 from "react/jsx-runtime";
48
48
  declare function Icon({
49
49
  ref,
50
50
  ...props
51
- }: IconProps): react_jsx_runtime65.JSX.Element;
51
+ }: IconProps): react_jsx_runtime59.JSX.Element;
52
52
  //#endregion
53
53
  export { Icon };
54
54
  //# sourceMappingURL=index.d.ts.map
@@ -12,11 +12,11 @@
12
12
 
13
13
  import { InputProps as InputProps$1 } from "./types.js";
14
14
  import "client-only";
15
- import * as react20 from "react";
15
+ import * as react23 from "react";
16
16
  import { ContextValue } from "react-aria-components";
17
17
 
18
18
  //#region src/components/input/context.d.ts
19
- declare const InputContext: react20.Context<ContextValue<InputProps$1, HTMLInputElement>>;
19
+ declare const InputContext: react23.Context<ContextValue<InputProps$1, HTMLInputElement>>;
20
20
  //#endregion
21
21
  export { InputContext };
22
22
  //# sourceMappingURL=context.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { InputProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime71 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime95 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/input/index.d.ts
18
18
 
@@ -37,7 +37,7 @@ import * as react_jsx_runtime71 from "react/jsx-runtime";
37
37
  declare function Input({
38
38
  ref,
39
39
  ...props
40
- }: InputProps): react_jsx_runtime71.JSX.Element;
40
+ }: InputProps): react_jsx_runtime95.JSX.Element;
41
41
  //#endregion
42
42
  export { Input };
43
43
  //# sourceMappingURL=index.d.ts.map
@@ -85,11 +85,12 @@ function Input({ ref = null, ...props }) {
85
85
  children: prefixProp
86
86
  }),
87
87
  /* @__PURE__ */ jsx("div", {
88
- className: clsx(styles.sizer, classNames?.sizer),
88
+ className: clsx(styles.sizer, classNames?.sizer, autoSize && styles.autoSize),
89
89
  children: /* @__PURE__ */ jsx(Input$1, {
90
90
  ...rest,
91
91
  ref,
92
92
  className: composeRenderProps(classNames?.input, (className) => clsx(styles.input, className)),
93
+ title: value ? String(value) : "",
93
94
  disabled,
94
95
  placeholder,
95
96
  readOnly,
@@ -107,7 +108,7 @@ function Input({ ref = null, ...props }) {
107
108
  className: clsx(styles.suffix, prefix, suffix, clear, classNames?.suffix),
108
109
  children: suffixProp
109
110
  }),
110
- isClearable && /* @__PURE__ */ jsx(Button$1, {
111
+ !readOnly && isClearable && /* @__PURE__ */ jsx(Button$1, {
111
112
  className: composeRenderProps(classNames?.clear, (className) => clsx(styles.clear, prefix, suffix, clear, className)),
112
113
  excludeFromTabOrder: true,
113
114
  size: "small",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["AriaInputContext","InputContext","AriaInput","Button"],"sources":["../../../src/components/input/index.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport { CancelFill } from '@accelint/icons';\nimport { useControlledState } from '@react-stately/utils';\nimport {\n Input as AriaInput,\n InputContext as AriaInputContext,\n composeRenderProps,\n useContextProps,\n} from 'react-aria-components';\nimport { Button } from '../button';\nimport { Icon } from '../icon';\nimport { IconProvider } from '../icon/context';\nimport { InputContext } from './context';\nimport styles from './styles.module.css';\nimport type { ChangeEvent } from 'react';\nimport type { InputProps } from './types';\n\n// TODO: Improve this implementation so it is more of a realistic event\nconst clearInputEvent = {\n target: { value: '' },\n} as ChangeEvent<HTMLInputElement>;\n\n/**\n * Input - A flexible text input component with enhanced features\n *\n * Provides a customizable text input with automatic sizing, clear functionality,\n * and integrated validation states. Supports various styling options and integrates\n * seamlessly with form field components for comprehensive form experiences.\n *\n * @example\n * // Basic input\n * <Input placeholder=\"Enter text...\" />\n *\n * @example\n * // Input with clear button\n * <Input\n * defaultValue=\"Clearable text\"\n * classNames={{ clear: \"hover:bg-info-bold\" }}\n * />\n */\n\n// biome-ignore lint/complexity/noExcessiveCognitiveComplexity: just a little bit over, not worth refactoring\nexport function Input({ ref = null, ...props }: InputProps) {\n /**\n * It is necessary to pull in the AriaInputContext to capture defaultValue,\n * value & onChange props that may be supplied by a Field component\n *\n * These are necessary due to the implementation of useControlledState for\n * the purposes of supporting the clear button and to capture the length\n * of the current value for the autoSize feature\n */\n [props, ref] = useContextProps(props, ref, AriaInputContext);\n [props, ref] = useContextProps({ ...props }, ref, InputContext);\n\n const {\n classNames,\n autoSize,\n defaultValue = '',\n disabled,\n placeholder,\n prefix: prefixProp,\n readOnly,\n required,\n size = 'medium',\n suffix: suffixProp,\n type = 'text',\n value: valueProp,\n isClearable = true,\n isInvalid,\n onChange,\n onKeyDown,\n ...rest\n } = props;\n\n const [value, setValue] = useControlledState(valueProp, defaultValue);\n const length = (`${value ?? ''}`.length || placeholder?.length) ?? 0;\n const prefix = !!prefixProp && styles.hasPrefix;\n const suffix = !!suffixProp && styles.hasSuffix;\n const clear = isClearable && styles.isClearable;\n const isEmpty = value == null || value === '';\n\n function handleChange(event: ChangeEvent<HTMLInputElement>) {\n onChange?.(event);\n\n if (!event.defaultPrevented) {\n setValue(event.target.value);\n }\n }\n\n return (\n <IconProvider size='small'>\n <div\n className={clsx(\n 'group/input',\n styles.container,\n prefix,\n suffix,\n clear,\n classNames?.container,\n )}\n data-disabled={disabled || null}\n data-empty={isEmpty || null}\n data-invalid={isInvalid || null}\n data-length={length}\n data-placeholder={(!!placeholder && isEmpty) || null}\n data-readonly={readOnly || null}\n data-required={required || null}\n data-size={size}\n >\n {prefix && (\n <span className={clsx(styles.prefix, classNames?.prefix)}>\n {prefixProp}\n </span>\n )}\n <div className={clsx(styles.sizer, classNames?.sizer)}>\n <AriaInput\n {...rest}\n ref={ref}\n className={composeRenderProps(classNames?.input, (className) =>\n clsx(styles.input, className),\n )}\n disabled={disabled}\n placeholder={placeholder}\n readOnly={readOnly}\n required={required}\n type={type}\n value={value}\n onChange={handleChange}\n onKeyDown={(event) => {\n onKeyDown?.(event);\n\n if (\n isClearable &&\n !event.defaultPrevented &&\n event.key === 'Escape'\n ) {\n handleChange(clearInputEvent);\n }\n }}\n />\n </div>\n {suffix && (\n <span\n className={clsx(\n styles.suffix,\n prefix,\n suffix,\n clear,\n classNames?.suffix,\n )}\n >\n {suffixProp}\n </span>\n )}\n {isClearable && (\n <Button\n className={composeRenderProps(classNames?.clear, (className) =>\n clsx(styles.clear, prefix, suffix, clear, className),\n )}\n excludeFromTabOrder\n size='small'\n variant='icon'\n isDisabled={disabled}\n onPress={() => {\n handleChange(clearInputEvent);\n\n ref?.current?.focus();\n }}\n >\n <Icon>\n <CancelFill />\n </Icon>\n </Button>\n )}\n </div>\n </IconProvider>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCA,MAAM,kBAAkB,EACtB,QAAQ,EAAE,OAAO,IAAI,EACtB;;;;;;;;;;;;;;;;;;;AAsBD,SAAgB,MAAM,EAAE,MAAM,MAAM,GAAG,SAAqB;;;;;;;;;AAS1D,EAAC,OAAO,OAAO,gBAAgB,OAAO,KAAKA,aAAiB;AAC5D,EAAC,OAAO,OAAO,gBAAgB,EAAE,GAAG,OAAO,EAAE,KAAKC,eAAa;CAE/D,MAAM,EACJ,YACA,UACA,eAAe,IACf,UACA,aACA,QAAQ,YACR,UACA,UACA,OAAO,UACP,QAAQ,YACR,OAAO,QACP,OAAO,WACP,cAAc,MACd,WACA,UACA,WACA,GAAG,SACD;CAEJ,MAAM,CAAC,OAAO,YAAY,mBAAmB,WAAW,aAAa;CACrE,MAAM,UAAU,GAAG,SAAS,KAAK,UAAU,aAAa,WAAW;CACnE,MAAM,SAAS,CAAC,CAAC,cAAc,OAAO;CACtC,MAAM,SAAS,CAAC,CAAC,cAAc,OAAO;CACtC,MAAM,QAAQ,eAAe,OAAO;CACpC,MAAM,UAAU,SAAS,QAAQ,UAAU;CAE3C,SAAS,aAAa,OAAsC;AAC1D,aAAW,MAAM;AAEjB,MAAI,CAAC,MAAM,iBACT,UAAS,MAAM,OAAO,MAAM;;AAIhC,QACE,oBAAC;EAAa,MAAK;YACjB,qBAAC;GACC,WAAW,KACT,eACA,OAAO,WACP,QACA,QACA,OACA,YAAY,UACb;GACD,iBAAe,YAAY;GAC3B,cAAY,WAAW;GACvB,gBAAc,aAAa;GAC3B,eAAa;GACb,oBAAmB,CAAC,CAAC,eAAe,WAAY;GAChD,iBAAe,YAAY;GAC3B,iBAAe,YAAY;GAC3B,aAAW;;IAEV,UACC,oBAAC;KAAK,WAAW,KAAK,OAAO,QAAQ,YAAY,OAAO;eACrD;MACI;IAET,oBAAC;KAAI,WAAW,KAAK,OAAO,OAAO,YAAY,MAAM;eACnD,oBAACC;MACC,GAAI;MACC;MACL,WAAW,mBAAmB,YAAY,QAAQ,cAChD,KAAK,OAAO,OAAO,UAAU,CAC9B;MACS;MACG;MACH;MACA;MACJ;MACC;MACP,UAAU;MACV,YAAY,UAAU;AACpB,mBAAY,MAAM;AAElB,WACE,eACA,CAAC,MAAM,oBACP,MAAM,QAAQ,SAEd,cAAa,gBAAgB;;OAGjC;MACE;IACL,UACC,oBAAC;KACC,WAAW,KACT,OAAO,QACP,QACA,QACA,OACA,YAAY,OACb;eAEA;MACI;IAER,eACC,oBAACC;KACC,WAAW,mBAAmB,YAAY,QAAQ,cAChD,KAAK,OAAO,OAAO,QAAQ,QAAQ,OAAO,UAAU,CACrD;KACD;KACA,MAAK;KACL,SAAQ;KACR,YAAY;KACZ,eAAe;AACb,mBAAa,gBAAgB;AAE7B,WAAK,SAAS,OAAO;;eAGvB,oBAAC,kBACC,oBAAC,eAAa,GACT;MACA;;IAEP;GACO"}
1
+ {"version":3,"file":"index.js","names":["AriaInputContext","InputContext","AriaInput","Button"],"sources":["../../../src/components/input/index.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport { CancelFill } from '@accelint/icons';\nimport { useControlledState } from '@react-stately/utils';\nimport {\n Input as AriaInput,\n InputContext as AriaInputContext,\n composeRenderProps,\n useContextProps,\n} from 'react-aria-components';\nimport { Button } from '../button';\nimport { Icon } from '../icon';\nimport { IconProvider } from '../icon/context';\nimport { InputContext } from './context';\nimport styles from './styles.module.css';\nimport type { ChangeEvent } from 'react';\nimport type { InputProps } from './types';\n\n// TODO: Improve this implementation so it is more of a realistic event\nconst clearInputEvent = {\n target: { value: '' },\n} as ChangeEvent<HTMLInputElement>;\n\n/**\n * Input - A flexible text input component with enhanced features\n *\n * Provides a customizable text input with automatic sizing, clear functionality,\n * and integrated validation states. Supports various styling options and integrates\n * seamlessly with form field components for comprehensive form experiences.\n *\n * @example\n * // Basic input\n * <Input placeholder=\"Enter text...\" />\n *\n * @example\n * // Input with clear button\n * <Input\n * defaultValue=\"Clearable text\"\n * classNames={{ clear: \"hover:bg-info-bold\" }}\n * />\n */\n\n// biome-ignore lint/complexity/noExcessiveCognitiveComplexity: just a little bit over, not worth refactoring\nexport function Input({ ref = null, ...props }: InputProps) {\n /**\n * It is necessary to pull in the AriaInputContext to capture defaultValue,\n * value & onChange props that may be supplied by a Field component\n *\n * These are necessary due to the implementation of useControlledState for\n * the purposes of supporting the clear button and to capture the length\n * of the current value for the autoSize feature\n */\n [props, ref] = useContextProps(props, ref, AriaInputContext);\n [props, ref] = useContextProps({ ...props }, ref, InputContext);\n\n const {\n classNames,\n autoSize,\n defaultValue = '',\n disabled,\n placeholder,\n prefix: prefixProp,\n readOnly,\n required,\n size = 'medium',\n suffix: suffixProp,\n type = 'text',\n value: valueProp,\n isClearable = true,\n isInvalid,\n onChange,\n onKeyDown,\n ...rest\n } = props;\n\n const [value, setValue] = useControlledState(valueProp, defaultValue);\n const length = (`${value ?? ''}`.length || placeholder?.length) ?? 0;\n const prefix = !!prefixProp && styles.hasPrefix;\n const suffix = !!suffixProp && styles.hasSuffix;\n const clear = isClearable && styles.isClearable;\n const isEmpty = value == null || value === '';\n\n function handleChange(event: ChangeEvent<HTMLInputElement>) {\n onChange?.(event);\n\n if (!event.defaultPrevented) {\n setValue(event.target.value);\n }\n }\n\n return (\n <IconProvider size='small'>\n <div\n className={clsx(\n 'group/input',\n styles.container,\n prefix,\n suffix,\n clear,\n classNames?.container,\n )}\n data-disabled={disabled || null}\n data-empty={isEmpty || null}\n data-invalid={isInvalid || null}\n data-length={length}\n data-placeholder={(!!placeholder && isEmpty) || null}\n data-readonly={readOnly || null}\n data-required={required || null}\n data-size={size}\n >\n {prefix && (\n <span className={clsx(styles.prefix, classNames?.prefix)}>\n {prefixProp}\n </span>\n )}\n <div\n className={clsx(\n styles.sizer,\n classNames?.sizer,\n autoSize && styles.autoSize,\n )}\n >\n <AriaInput\n {...rest}\n ref={ref}\n className={composeRenderProps(classNames?.input, (className) =>\n clsx(styles.input, className),\n )}\n title={value ? String(value) : ''}\n disabled={disabled}\n placeholder={placeholder}\n readOnly={readOnly}\n required={required}\n type={type}\n value={value}\n onChange={handleChange}\n onKeyDown={(event) => {\n onKeyDown?.(event);\n\n if (\n isClearable &&\n !event.defaultPrevented &&\n event.key === 'Escape'\n ) {\n handleChange(clearInputEvent);\n }\n }}\n />\n </div>\n {suffix && (\n <span\n className={clsx(\n styles.suffix,\n prefix,\n suffix,\n clear,\n classNames?.suffix,\n )}\n >\n {suffixProp}\n </span>\n )}\n {!readOnly && isClearable && (\n <Button\n className={composeRenderProps(classNames?.clear, (className) =>\n clsx(styles.clear, prefix, suffix, clear, className),\n )}\n excludeFromTabOrder\n size='small'\n variant='icon'\n isDisabled={disabled}\n onPress={() => {\n handleChange(clearInputEvent);\n\n ref?.current?.focus();\n }}\n >\n <Icon>\n <CancelFill />\n </Icon>\n </Button>\n )}\n </div>\n </IconProvider>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCA,MAAM,kBAAkB,EACtB,QAAQ,EAAE,OAAO,IAAI,EACtB;;;;;;;;;;;;;;;;;;;AAsBD,SAAgB,MAAM,EAAE,MAAM,MAAM,GAAG,SAAqB;;;;;;;;;AAS1D,EAAC,OAAO,OAAO,gBAAgB,OAAO,KAAKA,aAAiB;AAC5D,EAAC,OAAO,OAAO,gBAAgB,EAAE,GAAG,OAAO,EAAE,KAAKC,eAAa;CAE/D,MAAM,EACJ,YACA,UACA,eAAe,IACf,UACA,aACA,QAAQ,YACR,UACA,UACA,OAAO,UACP,QAAQ,YACR,OAAO,QACP,OAAO,WACP,cAAc,MACd,WACA,UACA,WACA,GAAG,SACD;CAEJ,MAAM,CAAC,OAAO,YAAY,mBAAmB,WAAW,aAAa;CACrE,MAAM,UAAU,GAAG,SAAS,KAAK,UAAU,aAAa,WAAW;CACnE,MAAM,SAAS,CAAC,CAAC,cAAc,OAAO;CACtC,MAAM,SAAS,CAAC,CAAC,cAAc,OAAO;CACtC,MAAM,QAAQ,eAAe,OAAO;CACpC,MAAM,UAAU,SAAS,QAAQ,UAAU;CAE3C,SAAS,aAAa,OAAsC;AAC1D,aAAW,MAAM;AAEjB,MAAI,CAAC,MAAM,iBACT,UAAS,MAAM,OAAO,MAAM;;AAIhC,QACE,oBAAC;EAAa,MAAK;YACjB,qBAAC;GACC,WAAW,KACT,eACA,OAAO,WACP,QACA,QACA,OACA,YAAY,UACb;GACD,iBAAe,YAAY;GAC3B,cAAY,WAAW;GACvB,gBAAc,aAAa;GAC3B,eAAa;GACb,oBAAmB,CAAC,CAAC,eAAe,WAAY;GAChD,iBAAe,YAAY;GAC3B,iBAAe,YAAY;GAC3B,aAAW;;IAEV,UACC,oBAAC;KAAK,WAAW,KAAK,OAAO,QAAQ,YAAY,OAAO;eACrD;MACI;IAET,oBAAC;KACC,WAAW,KACT,OAAO,OACP,YAAY,OACZ,YAAY,OAAO,SACpB;eAED,oBAACC;MACC,GAAI;MACC;MACL,WAAW,mBAAmB,YAAY,QAAQ,cAChD,KAAK,OAAO,OAAO,UAAU,CAC9B;MACD,OAAO,QAAQ,OAAO,MAAM,GAAG;MACrB;MACG;MACH;MACA;MACJ;MACC;MACP,UAAU;MACV,YAAY,UAAU;AACpB,mBAAY,MAAM;AAElB,WACE,eACA,CAAC,MAAM,oBACP,MAAM,QAAQ,SAEd,cAAa,gBAAgB;;OAGjC;MACE;IACL,UACC,oBAAC;KACC,WAAW,KACT,OAAO,QACP,QACA,QACA,OACA,YAAY,OACb;eAEA;MACI;IAER,CAAC,YAAY,eACZ,oBAACC;KACC,WAAW,mBAAmB,YAAY,QAAQ,cAChD,KAAK,OAAO,OAAO,QAAQ,QAAQ,OAAO,UAAU,CACrD;KACD;KACA,MAAK;KACL,SAAQ;KACR,YAAY;KACZ,eAAe;AACb,mBAAa,gBAAgB;AAE7B,WAAK,SAAS,OAAO;;eAGvB,oBAAC,kBACC,oBAAC,eAAa,GACT;MACA;;IAEP;GACO"}
@@ -47,6 +47,10 @@
47
47
  @apply fg-disabled outline-interactive-disabled cursor-not-allowed;
48
48
  }
49
49
 
50
+ @variant read-only {
51
+ @apply px-0 outline-none;
52
+ }
53
+
50
54
  &.hasPrefix {
51
55
  grid-template-areas: 'prefix input';
52
56
  grid-template-columns: min-content 1fr;
@@ -133,7 +137,7 @@
133
137
  }
134
138
 
135
139
  .input {
136
- @apply w-full outline-none;
140
+ @apply w-full overflow-hidden text-ellipsis whitespace-nowrap outline-none;
137
141
 
138
142
  &[type='number'] {
139
143
  appearance: textfield;
@@ -12,14 +12,14 @@
12
12
 
13
13
  import { KanbanComponentProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime72 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime54 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/kanban/card-body.d.ts
18
18
  declare function KanbanCardBody({
19
19
  children,
20
20
  className,
21
21
  ...rest
22
- }: KanbanComponentProps): react_jsx_runtime72.JSX.Element;
22
+ }: KanbanComponentProps): react_jsx_runtime54.JSX.Element;
23
23
  //#endregion
24
24
  export { KanbanCardBody };
25
25
  //# sourceMappingURL=card-body.d.ts.map
@@ -12,14 +12,14 @@
12
12
 
13
13
  import { KanbanComponentProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime73 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime60 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/kanban/card-header-actions.d.ts
18
18
  declare function KanbanCardHeaderActions({
19
19
  children,
20
20
  className,
21
21
  ...rest
22
- }: KanbanComponentProps): react_jsx_runtime73.JSX.Element;
22
+ }: KanbanComponentProps): react_jsx_runtime60.JSX.Element;
23
23
  //#endregion
24
24
  export { KanbanCardHeaderActions };
25
25
  //# sourceMappingURL=card-header-actions.d.ts.map
@@ -12,14 +12,14 @@
12
12
 
13
13
  import { KanbanComponentProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime74 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime61 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/kanban/card-header-title.d.ts
18
18
  declare function KanbanCardHeaderTitle({
19
19
  className,
20
20
  children,
21
21
  ...rest
22
- }: KanbanComponentProps): react_jsx_runtime74.JSX.Element;
22
+ }: KanbanComponentProps): react_jsx_runtime61.JSX.Element;
23
23
  //#endregion
24
24
  export { KanbanCardHeaderTitle };
25
25
  //# sourceMappingURL=card-header-title.d.ts.map
@@ -12,14 +12,14 @@
12
12
 
13
13
  import { KanbanComponentProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime75 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime65 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/kanban/card-header.d.ts
18
18
  declare function KanbanCardHeader({
19
19
  className,
20
20
  children,
21
21
  ...rest
22
- }: KanbanComponentProps): react_jsx_runtime75.JSX.Element;
22
+ }: KanbanComponentProps): react_jsx_runtime65.JSX.Element;
23
23
  //#endregion
24
24
  export { KanbanCardHeader };
25
25
  //# sourceMappingURL=card-header.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { KanbanCardProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime76 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime93 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/kanban/card.d.ts
18
18
  declare function KanbanCard({
@@ -21,7 +21,7 @@ declare function KanbanCard({
21
21
  card,
22
22
  isActive,
23
23
  ...rest
24
- }: KanbanCardProps): react_jsx_runtime76.JSX.Element;
24
+ }: KanbanCardProps): react_jsx_runtime93.JSX.Element;
25
25
  //#endregion
26
26
  export { KanbanCard };
27
27
  //# sourceMappingURL=card.d.ts.map
@@ -12,14 +12,14 @@
12
12
 
13
13
  import { KanbanColContentActionProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime77 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime84 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/kanban/column-actions.d.ts
18
18
  declare function KanbanColumnActions({
19
19
  className,
20
20
  onAddCard,
21
21
  ...rest
22
- }: KanbanColContentActionProps): react_jsx_runtime77.JSX.Element;
22
+ }: KanbanColContentActionProps): react_jsx_runtime84.JSX.Element;
23
23
  //#endregion
24
24
  export { KanbanColumnActions };
25
25
  //# sourceMappingURL=column-actions.d.ts.map
@@ -12,14 +12,14 @@
12
12
 
13
13
  import { KanbanComponentProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime78 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime86 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/kanban/column-container.d.ts
18
18
  declare function KanbanColumnContainer({
19
19
  children,
20
20
  className,
21
21
  ...rest
22
- }: KanbanComponentProps): react_jsx_runtime78.JSX.Element;
22
+ }: KanbanComponentProps): react_jsx_runtime86.JSX.Element;
23
23
  //#endregion
24
24
  export { KanbanColumnContainer };
25
25
  //# sourceMappingURL=column-container.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { KanbanColContentProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime79 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime89 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/kanban/column-content.d.ts
18
18
  declare function KanbanColumnContent({
@@ -20,7 +20,7 @@ declare function KanbanColumnContent({
20
20
  className,
21
21
  column,
22
22
  ...rest
23
- }: KanbanColContentProps): react_jsx_runtime79.JSX.Element;
23
+ }: KanbanColContentProps): react_jsx_runtime89.JSX.Element;
24
24
  //#endregion
25
25
  export { KanbanColumnContent };
26
26
  //# sourceMappingURL=column-content.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { KanbanMenuProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime80 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime90 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/kanban/column-header-actions.d.ts
18
18
  declare function KanbanColumnHeaderActions({
@@ -20,7 +20,7 @@ declare function KanbanColumnHeaderActions({
20
20
  cardCount,
21
21
  children,
22
22
  ...rest
23
- }: KanbanMenuProps): react_jsx_runtime80.JSX.Element;
23
+ }: KanbanMenuProps): react_jsx_runtime90.JSX.Element;
24
24
  //#endregion
25
25
  export { KanbanColumnHeaderActions };
26
26
  //# sourceMappingURL=column-header-actions.d.ts.map