@tpc-mare/mare-ui-components-react 1.0.2 → 1.0.3

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 (293) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +227 -0
  3. package/dist/accordion/index.js +1 -1
  4. package/dist/accordion.d.ts +36 -0
  5. package/dist/{avatar/Avatar.types.d.ts → avatar.d.ts} +34 -26
  6. package/dist/badge.d.ts +19 -0
  7. package/dist/banner/index.js +1 -1
  8. package/dist/banner.d.ts +23 -0
  9. package/dist/breadcrumbs/index.js +1 -1
  10. package/dist/breadcrumbs.d.ts +24 -0
  11. package/dist/button/index.js +1 -1
  12. package/dist/button.d.ts +45 -0
  13. package/dist/checkbox/index.js +1 -1
  14. package/dist/{checkbox/Checkbox.types.d.ts → checkbox.d.ts} +79 -69
  15. package/dist/combobox/index.js +1 -1
  16. package/dist/combobox.d.ts +43 -0
  17. package/dist/confirm-dialog/index.js +1 -1
  18. package/dist/confirm-dialog.d.ts +34 -0
  19. package/dist/counter/index.js +1 -1
  20. package/dist/{counter/Counter.types.d.ts → counter.d.ts} +34 -23
  21. package/dist/date-picker/index.js +1 -1
  22. package/dist/{date-picker/DatePicker.types.d.ts → date-picker.d.ts} +76 -52
  23. package/dist/dialog/index.js +2 -2
  24. package/dist/{dialog/Dialog.types.d.ts → dialog.d.ts} +74 -55
  25. package/dist/divider.d.ts +18 -0
  26. package/dist/drawer/index.js +1 -1
  27. package/dist/{drawer/Drawer.types.d.ts → drawer.d.ts} +68 -53
  28. package/dist/expandable-counter/index.js +1 -1
  29. package/dist/{expandable-counter/ExpandableCounter.types.d.ts → expandable-counter.d.ts} +25 -19
  30. package/dist/filter-chip/index.js +1 -1
  31. package/dist/filter-chip-dropdown-multiple/index.js +1 -1
  32. package/dist/filter-chip-dropdown-multiple.d.ts +42 -0
  33. package/dist/filter-chip-dropdown-single/index.js +1 -1
  34. package/dist/filter-chip-dropdown-single.d.ts +40 -0
  35. package/dist/filter-chip-group.d.ts +27 -0
  36. package/dist/{filter-chip/FilterChip.types.d.ts → filter-chip.d.ts} +49 -40
  37. package/dist/floating-action-button/index.js +1 -1
  38. package/dist/floating-action-button.d.ts +46 -0
  39. package/dist/image-item.d.ts +15 -0
  40. package/dist/image-slider/index.js +1 -1
  41. package/dist/image-slider.d.ts +12 -0
  42. package/dist/index/index.js +40 -40
  43. package/dist/index.d.ts +1693 -0
  44. package/dist/input-number/index.js +1 -1
  45. package/dist/{input-number/InputNumber.types.d.ts → input-number.d.ts} +42 -30
  46. package/dist/input-otp/index.js +1 -1
  47. package/dist/{input-otp/InputOtp.types.d.ts → input-otp.d.ts} +36 -27
  48. package/dist/input-text/index.js +2 -2
  49. package/dist/input-text.d.ts +77 -0
  50. package/dist/keyboard-commands/index.js +51 -31
  51. package/dist/keyboard-commands.d.ts +264 -0
  52. package/dist/menu/index.js +1 -1
  53. package/dist/menu.d.ts +48 -0
  54. package/dist/message/index.js +1 -1
  55. package/dist/message.d.ts +28 -0
  56. package/dist/multi-select/index.js +1 -1
  57. package/dist/{multi-select/MultiSelect.types.d.ts → multi-select.d.ts} +62 -31
  58. package/dist/overlay-badge/index.js +1 -1
  59. package/dist/{overlay-badge/OverlayBadge.types.d.ts → overlay-badge.d.ts} +25 -17
  60. package/dist/paginator/index.js +1 -1
  61. package/dist/{paginator/Paginator.types.d.ts → paginator.d.ts} +27 -21
  62. package/dist/panel-menu/index.js +1 -1
  63. package/dist/panel-menu.d.ts +29 -0
  64. package/dist/password/index.js +1 -1
  65. package/dist/{password/Password.types.d.ts → password.d.ts} +58 -39
  66. package/dist/{progress-bar/ProgressBar.types.d.ts → progress-bar.d.ts} +45 -38
  67. package/dist/{progress-spinner/ProgressSpinner.d.ts → progress-spinner.d.ts} +15 -10
  68. package/dist/radio-group/index.js +1 -1
  69. package/dist/{radio-group/RadioGroup.types.d.ts → radio-group.d.ts} +81 -62
  70. package/dist/search-field/index.js +1 -1
  71. package/dist/search-field.d.ts +55 -0
  72. package/dist/segmented-control/index.js +1 -1
  73. package/dist/{segmented-control/SegmentedControl.types.d.ts → segmented-control.d.ts} +70 -54
  74. package/dist/select-field/index.js +1 -1
  75. package/dist/select-field.d.ts +40 -0
  76. package/dist/shared/{Accordion-BSmOrxH6.js → Accordion-QSdlMSst.js} +9 -6
  77. package/dist/shared/{Banner-D4na_bM8.js → Banner-DMWwNO2K.js} +6 -3
  78. package/dist/shared/{Breadcrumbs-Cqr3Jitd.js → Breadcrumbs-bcs9_ByY.js} +4 -1
  79. package/dist/shared/{Button-C2ULmKj3.js → Button-BqFuDnSs.js} +98 -92
  80. package/dist/shared/{Checkbox-DCq3_MWz.js → Checkbox-DgZAQsbr.js} +94 -87
  81. package/dist/shared/Combobox-CiaEi_RG.js +148 -0
  82. package/dist/shared/{ConfirmDialog-cmLTBBNs.js → ConfirmDialog-DHsPafOo.js} +8 -3
  83. package/dist/shared/{Counter-0siKQRKc.js → Counter-lqywtgF6.js} +25 -27
  84. package/dist/shared/{DatePicker-DhIWE0V_.js → DatePicker-t6xP4UWu.js} +370 -346
  85. package/dist/shared/{DialogFooter-Cx7G-GHH.js → DialogFooter-DKFuHOJl.js} +4 -1
  86. package/dist/shared/{DialogHeader-DdVPFxGf.js → DialogHeader-D0dg5FBI.js} +14 -14
  87. package/dist/shared/{DrawerFooter-DEb2gqW-.js → DrawerFooter-CGrPQoLH.js} +35 -26
  88. package/dist/shared/{ExpandableCounter-pPJIrd6L.js → ExpandableCounter-BOCHfuye.js} +23 -22
  89. package/dist/shared/{FilterChip-TpKF-4vP.js → FilterChip-Cc4BBVz3.js} +21 -21
  90. package/dist/shared/{FilterChipDropdownMultiple-2mr_Z57i.js → FilterChipDropdownMultiple-DL3mHW9H.js} +20 -15
  91. package/dist/shared/{FilterChipDropdownSingle-CLmWzX9q.js → FilterChipDropdownSingle-BUrzUAmy.js} +31 -22
  92. package/dist/shared/FloatingActionButton-Dhqp98s7.js +27 -0
  93. package/dist/shared/{HelperText-zmUym82m.js → HelperText-C9TsD0wC.js} +1 -0
  94. package/dist/shared/IconField-Bp2H10B1.js +89 -0
  95. package/dist/shared/{ImageSlider-Bgb1kNQ4.js → ImageSlider-DT0B5g68.js} +5 -5
  96. package/dist/shared/InputNumber-CUNq3cPa.js +75 -0
  97. package/dist/shared/InputOtp-wTUwu1NG.js +75 -0
  98. package/dist/shared/{Menu-Cv9dU1iA.js → Menu-DBHlDgtQ.js} +5 -2
  99. package/dist/shared/{Message-CQUdM9rR.js → Message-B36kcrfu.js} +4 -4
  100. package/dist/shared/MultiSelect-CfKm_FPp.js +248 -0
  101. package/dist/shared/{OverlayBadge-Dkosm3Il.js → OverlayBadge-CnQI_NE0.js} +1 -0
  102. package/dist/shared/{Paginator-QTDpAJ-N.js → Paginator-BRQx1GRQ.js} +48 -49
  103. package/dist/shared/{PanelMenu-BpjNM7O_.js → PanelMenu-Dw-K6H2C.js} +14 -4
  104. package/dist/shared/Password-BWNvygrO.js +113 -0
  105. package/dist/shared/RadioGroup-CHgzVvZO.js +145 -0
  106. package/dist/shared/SearchField-Cuw3MVaD.js +73 -0
  107. package/dist/shared/{SegmentedControl-BfE3jNM6.js → SegmentedControl-D3znmx9l.js} +4 -1
  108. package/dist/shared/SelectField-BAuctVIF.js +120 -0
  109. package/dist/shared/Slider-D_iNiPxa.js +110 -0
  110. package/dist/shared/{Snackbar-BhORbyt-.js → Snackbar-DP-b4GWx.js} +50 -17
  111. package/dist/shared/{Stepper-DrKKSn_j.js → Stepper-CudtdHSg.js} +26 -18
  112. package/dist/shared/Switch-C1dd2rX1.js +114 -0
  113. package/dist/shared/{Tabs-DuufYBV2.js → Tabs-lGGLALGR.js} +4 -1
  114. package/dist/shared/{TagChip-CP3aX2_G.js → TagChip-QQ6p0JgU.js} +1 -1
  115. package/dist/shared/Textarea-CJfNbqGA.js +51 -0
  116. package/dist/shared/useControllableValue-DhckT_e1.js +13 -0
  117. package/dist/skeleton.d.ts +30 -0
  118. package/dist/slider/index.js +1 -1
  119. package/dist/{slider/Slider.types.d.ts → slider.d.ts} +33 -24
  120. package/dist/snackbar/index.js +1 -1
  121. package/dist/{snackbar/Snackbar.types.d.ts → snackbar.d.ts} +63 -42
  122. package/dist/stepper/index.js +1 -1
  123. package/dist/stepper.d.ts +38 -0
  124. package/dist/switch/index.js +1 -1
  125. package/dist/{switch/Switch.types.d.ts → switch.d.ts} +68 -59
  126. package/dist/tabs/index.js +1 -1
  127. package/dist/tabs.d.ts +30 -0
  128. package/dist/tag-chip/index.js +1 -1
  129. package/dist/{tag-chip/TagChip.types.d.ts → tag-chip.d.ts} +33 -21
  130. package/dist/tag.d.ts +23 -0
  131. package/dist/textarea/index.js +1 -1
  132. package/dist/textarea.d.ts +26 -0
  133. package/package.json +15 -8
  134. package/dist/.storybook/main.d.ts +0 -3
  135. package/dist/.storybook/manager.d.ts +0 -1
  136. package/dist/.storybook/preview.d.ts +0 -3
  137. package/dist/accordion/Accordion.d.ts +0 -2
  138. package/dist/accordion/Accordion.types.d.ts +0 -20
  139. package/dist/accordion/index.d.ts +0 -2
  140. package/dist/avatar/Avatar.d.ts +0 -2
  141. package/dist/avatar/index.d.ts +0 -2
  142. package/dist/badge/Badge.d.ts +0 -2
  143. package/dist/badge/Badge.types.d.ts +0 -11
  144. package/dist/badge/index.d.ts +0 -2
  145. package/dist/banner/Banner.d.ts +0 -2
  146. package/dist/banner/Banner.types.d.ts +0 -15
  147. package/dist/banner/index.d.ts +0 -2
  148. package/dist/breadcrumbs/Breadcrumbs.d.ts +0 -2
  149. package/dist/breadcrumbs/Breadcrumbs.types.d.ts +0 -11
  150. package/dist/breadcrumbs/index.d.ts +0 -2
  151. package/dist/button/Button.d.ts +0 -2
  152. package/dist/button/Button.types.d.ts +0 -24
  153. package/dist/button/index.d.ts +0 -2
  154. package/dist/checkbox/Checkbox.d.ts +0 -2
  155. package/dist/checkbox/index.d.ts +0 -2
  156. package/dist/combobox/Combobox.d.ts +0 -13
  157. package/dist/combobox/Combobox.types.d.ts +0 -16
  158. package/dist/combobox/index.d.ts +0 -2
  159. package/dist/confirm-dialog/ConfirmDialog.d.ts +0 -2
  160. package/dist/confirm-dialog/ConfirmDialog.types.d.ts +0 -21
  161. package/dist/confirm-dialog/index.d.ts +0 -2
  162. package/dist/counter/Counter.d.ts +0 -2
  163. package/dist/counter/index.d.ts +0 -2
  164. package/dist/date-picker/DatePicker.d.ts +0 -3
  165. package/dist/date-picker/index.d.ts +0 -2
  166. package/dist/dialog/Dialog.d.ts +0 -2
  167. package/dist/dialog/DialogFooter.d.ts +0 -2
  168. package/dist/dialog/DialogHeader.d.ts +0 -2
  169. package/dist/dialog/index.d.ts +0 -4
  170. package/dist/divider/Divider.d.ts +0 -2
  171. package/dist/divider/Divider.types.d.ts +0 -8
  172. package/dist/divider/index.d.ts +0 -2
  173. package/dist/drawer/Drawer.d.ts +0 -2
  174. package/dist/drawer/DrawerFooter.d.ts +0 -2
  175. package/dist/drawer/DrawerHeader.d.ts +0 -2
  176. package/dist/drawer/index.d.ts +0 -4
  177. package/dist/expandable-counter/ExpandableCounter.d.ts +0 -2
  178. package/dist/expandable-counter/index.d.ts +0 -2
  179. package/dist/filter-chip/FilterChip.d.ts +0 -2
  180. package/dist/filter-chip/index.d.ts +0 -2
  181. package/dist/filter-chip-dropdown-multiple/FilterChipDropdownMultiple.d.ts +0 -9
  182. package/dist/filter-chip-dropdown-multiple/FilterChipDropdownMultiple.types.d.ts +0 -19
  183. package/dist/filter-chip-dropdown-multiple/index.d.ts +0 -2
  184. package/dist/filter-chip-dropdown-single/FilterChipDropdownSingle.d.ts +0 -11
  185. package/dist/filter-chip-dropdown-single/FilterChipDropdownSingle.types.d.ts +0 -15
  186. package/dist/filter-chip-dropdown-single/index.d.ts +0 -2
  187. package/dist/filter-chip-group/FilterChipGroup.d.ts +0 -8
  188. package/dist/filter-chip-group/FilterChipGroup.types.d.ts +0 -12
  189. package/dist/filter-chip-group/index.d.ts +0 -2
  190. package/dist/floating-action-button/FloatingActionButton.d.ts +0 -2
  191. package/dist/floating-action-button/FloatingActionButton.types.d.ts +0 -9
  192. package/dist/floating-action-button/index.d.ts +0 -2
  193. package/dist/image-item/ImageItem.d.ts +0 -2
  194. package/dist/image-item/ImageItem.types.d.ts +0 -7
  195. package/dist/image-item/index.d.ts +0 -2
  196. package/dist/image-slider/ImageSlider.d.ts +0 -2
  197. package/dist/image-slider/ImageSlider.types.d.ts +0 -6
  198. package/dist/image-slider/index.d.ts +0 -2
  199. package/dist/index/index.d.ts +0 -94
  200. package/dist/input-number/InputNumber.d.ts +0 -2
  201. package/dist/input-number/index.d.ts +0 -2
  202. package/dist/input-otp/InputOtp.d.ts +0 -2
  203. package/dist/input-otp/index.d.ts +0 -2
  204. package/dist/input-text/CharacterCount.d.ts +0 -5
  205. package/dist/input-text/FloatLabel.d.ts +0 -6
  206. package/dist/input-text/FormField.d.ts +0 -8
  207. package/dist/input-text/HelperText.d.ts +0 -4
  208. package/dist/input-text/IconField.d.ts +0 -18
  209. package/dist/input-text/InputText.d.ts +0 -2
  210. package/dist/input-text/InputText.types.d.ts +0 -14
  211. package/dist/input-text/field-layout.d.ts +0 -12
  212. package/dist/input-text/index.d.ts +0 -11
  213. package/dist/keyboard-commands/index.d.ts +0 -5
  214. package/dist/keyboard-commands/useKeyboardCommands.d.ts +0 -27
  215. package/dist/keyboard-commands/useKeyboardNavGrid.d.ts +0 -19
  216. package/dist/keyboard-commands/useKeyboardNavList.d.ts +0 -17
  217. package/dist/keyboard-commands/useKeyboardScope.d.ts +0 -20
  218. package/dist/menu/Menu.d.ts +0 -2
  219. package/dist/menu/Menu.types.d.ts +0 -19
  220. package/dist/menu/index.d.ts +0 -2
  221. package/dist/message/Message.d.ts +0 -2
  222. package/dist/message/Message.types.d.ts +0 -17
  223. package/dist/message/index.d.ts +0 -2
  224. package/dist/multi-select/MultiSelect.d.ts +0 -12
  225. package/dist/multi-select/index.d.ts +0 -2
  226. package/dist/overlay-badge/OverlayBadge.d.ts +0 -2
  227. package/dist/overlay-badge/index.d.ts +0 -2
  228. package/dist/paginator/Paginator.d.ts +0 -2
  229. package/dist/paginator/index.d.ts +0 -2
  230. package/dist/panel-menu/PanelMenu.d.ts +0 -2
  231. package/dist/panel-menu/PanelMenu.types.d.ts +0 -12
  232. package/dist/panel-menu/index.d.ts +0 -2
  233. package/dist/password/Password.d.ts +0 -7
  234. package/dist/password/index.d.ts +0 -2
  235. package/dist/progress-bar/ProgressBar.d.ts +0 -2
  236. package/dist/progress-bar/index.d.ts +0 -2
  237. package/dist/progress-spinner/index.d.ts +0 -2
  238. package/dist/radio-group/RadioGroup.d.ts +0 -2
  239. package/dist/radio-group/index.d.ts +0 -2
  240. package/dist/search-field/SearchField.d.ts +0 -2
  241. package/dist/search-field/SearchField.types.d.ts +0 -26
  242. package/dist/search-field/index.d.ts +0 -2
  243. package/dist/segmented-control/SegmentedControl.d.ts +0 -2
  244. package/dist/segmented-control/index.d.ts +0 -2
  245. package/dist/select-field/SelectField.d.ts +0 -14
  246. package/dist/select-field/SelectField.types.d.ts +0 -11
  247. package/dist/select-field/index.d.ts +0 -2
  248. package/dist/shared/Combobox-DrkeDMW0.js +0 -139
  249. package/dist/shared/FloatingActionButton-BWB5Taeg.js +0 -28
  250. package/dist/shared/IconCheck-DzZA6b2U.js +0 -5
  251. package/dist/shared/IconChevronDown-ev2ML7Ex.js +0 -5
  252. package/dist/shared/IconChevronRight-DEIDRsvg.js +0 -7
  253. package/dist/shared/IconField-CqKydKep.js +0 -81
  254. package/dist/shared/IconMinus-fS_GL0Et.js +0 -5
  255. package/dist/shared/IconSearch-CgM6jEUh.js +0 -5
  256. package/dist/shared/IconX-CpPADKjZ.js +0 -5
  257. package/dist/shared/InputNumber-nxus9h5s.js +0 -64
  258. package/dist/shared/InputOtp-BxBc6Vhs.js +0 -73
  259. package/dist/shared/MultiSelect-DlaYWcPo.js +0 -248
  260. package/dist/shared/Password-D4PRaleH.js +0 -97
  261. package/dist/shared/RadioGroup-B8CXU8-l.js +0 -139
  262. package/dist/shared/SearchField-DIsFhJ22.js +0 -64
  263. package/dist/shared/SelectField-CcnbnPEi.js +0 -121
  264. package/dist/shared/Slider-Cl9PyH2q.js +0 -102
  265. package/dist/shared/Switch-B5DSQLFL.js +0 -106
  266. package/dist/shared/Textarea-DHJIWBRM.js +0 -42
  267. package/dist/shared/createReactComponent-Cb6Pzf10.js +0 -48
  268. package/dist/shared/useMediaQuery.d.ts +0 -5
  269. package/dist/skeleton/Skeleton.d.ts +0 -2
  270. package/dist/skeleton/Skeleton.types.d.ts +0 -20
  271. package/dist/skeleton/index.d.ts +0 -2
  272. package/dist/slider/Slider.d.ts +0 -2
  273. package/dist/slider/index.d.ts +0 -2
  274. package/dist/snackbar/Snackbar.d.ts +0 -3
  275. package/dist/snackbar/Snackbar.test.d.ts +0 -1
  276. package/dist/snackbar/index.d.ts +0 -2
  277. package/dist/stepper/Stepper.d.ts +0 -2
  278. package/dist/stepper/Stepper.types.d.ts +0 -18
  279. package/dist/stepper/index.d.ts +0 -2
  280. package/dist/switch/Switch.d.ts +0 -2
  281. package/dist/switch/index.d.ts +0 -2
  282. package/dist/tabs/Tabs.d.ts +0 -10
  283. package/dist/tabs/Tabs.types.d.ts +0 -7
  284. package/dist/tabs/index.d.ts +0 -2
  285. package/dist/tag/Tag.d.ts +0 -2
  286. package/dist/tag/Tag.types.d.ts +0 -11
  287. package/dist/tag/index.d.ts +0 -2
  288. package/dist/tag-chip/TagChip.d.ts +0 -2
  289. package/dist/tag-chip/index.d.ts +0 -2
  290. package/dist/textarea/Textarea.d.ts +0 -2
  291. package/dist/textarea/Textarea.types.d.ts +0 -15
  292. package/dist/textarea/index.d.ts +0 -2
  293. package/dist/vite.config.d.ts +0 -2
@@ -1,19 +1,25 @@
1
- export interface ExpandableCounterProperties {
2
- /** Controlled numeric value. */
3
- value?: number;
4
- /** Change handler — receives the next number. */
5
- onValueChange?: (value: number) => void;
6
- disabled?: boolean;
7
- /** Disables only the increment ("+") trigger, regardless of `max`. */
8
- disabledIncrement?: boolean;
9
- /** Disables only the decrement ("-") trigger, regardless of `min`. */
10
- disabledDecrement?: boolean;
11
- id?: string;
12
- name?: string;
13
- /** Minimum allowed value — also the threshold the "+" trigger collapses to. @default 0 */
14
- min?: number;
15
- /** Maximum allowed value. */
16
- max?: number;
17
- /** Step for the +/- triggers. @default 1 */
18
- step?: number;
19
- }
1
+ import { JSX as JSX_2 } from 'react';
2
+
3
+ export declare function ExpandableCounter({ value, onValueChange, disabled, disabledIncrement, disabledDecrement, step, id, name, min, max, }: ExpandableCounterProperties): JSX_2.Element;
4
+
5
+ export declare interface ExpandableCounterProperties {
6
+ /** Controlled numeric value. */
7
+ value?: number;
8
+ /** Change handler — receives the next number. */
9
+ onValueChange?: (value: number) => void;
10
+ disabled?: boolean;
11
+ /** Disables only the increment ("+") trigger, regardless of `max`. */
12
+ disabledIncrement?: boolean;
13
+ /** Disables only the decrement ("-") trigger, regardless of `min`. */
14
+ disabledDecrement?: boolean;
15
+ id?: string;
16
+ name?: string;
17
+ /** Minimum allowed value — also the threshold the "+" trigger collapses to. @default 0 */
18
+ min?: number;
19
+ /** Maximum allowed value. */
20
+ max?: number;
21
+ /** Step for the +/- triggers. @default 1 */
22
+ step?: number;
23
+ }
24
+
25
+ export { }
@@ -1,4 +1,4 @@
1
- import { F as i } from "../shared/FilterChip-TpKF-4vP.js";
1
+ import { F as i } from "../shared/FilterChip-Cc4BBVz3.js";
2
2
  export {
3
3
  i as FilterChip
4
4
  };
@@ -1,4 +1,4 @@
1
- import { F as r } from "../shared/FilterChipDropdownMultiple-2mr_Z57i.js";
1
+ import { F as r } from "../shared/FilterChipDropdownMultiple-DL3mHW9H.js";
2
2
  export {
3
3
  r as FilterChipDropdownMultiple
4
4
  };
@@ -0,0 +1,42 @@
1
+ import { JSX as JSX_2 } from 'react';
2
+ import { ReactNode } from 'react';
3
+
4
+ declare const FILTER_CHIP_DROPDOWN_SIZES: readonly ["medium", "large"];
5
+
6
+ export declare function FilterChipDropdownMultiple({ value, onValueChange, options, placeholder, size, disabled, invalid, filter, headerLabel, hasCheckbox, showToggleAll, renderOption, }: FilterChipDropdownMultipleReactProperties): JSX_2.Element;
7
+
8
+ export declare interface FilterChipDropdownMultipleProperties {
9
+ options: FilterChipOptionItem[];
10
+ /** @default 'Select…' */
11
+ placeholder?: string;
12
+ /** @default 'medium' */
13
+ size?: FilterChipDropdownSize;
14
+ disabled?: boolean;
15
+ invalid?: boolean;
16
+ /** Shows a search field inside the panel. @default false */
17
+ filter?: boolean;
18
+ /** Text shown in the panel header, above the option list. */
19
+ headerLabel?: string;
20
+ /** Shows a checkbox next to each option (and in the header, when showToggleAll is on). @default true */
21
+ hasCheckbox?: boolean;
22
+ /** Shows the "select all" header row. @default false */
23
+ showToggleAll?: boolean;
24
+ }
25
+
26
+ declare interface FilterChipDropdownMultipleReactProperties extends FilterChipDropdownMultipleProperties {
27
+ value?: string[];
28
+ onValueChange?: (value: string[]) => void;
29
+ renderOption?: (option: FilterChipOptionItem) => ReactNode;
30
+ }
31
+
32
+ export declare type FilterChipDropdownSize = (typeof FILTER_CHIP_DROPDOWN_SIZES)[number];
33
+
34
+ export declare interface FilterChipOptionItem {
35
+ label: string;
36
+ value: string;
37
+ disabled?: boolean;
38
+ /** Consumer-defined extras resolved in the option render prop. */
39
+ [key: string]: unknown;
40
+ }
41
+
42
+ export { }
@@ -1,4 +1,4 @@
1
- import { F as e } from "../shared/FilterChipDropdownSingle-CLmWzX9q.js";
1
+ import { F as e } from "../shared/FilterChipDropdownSingle-BUrzUAmy.js";
2
2
  export {
3
3
  e as FilterChipDropdownSingle
4
4
  };
@@ -0,0 +1,40 @@
1
+ import { JSX as JSX_2 } from 'react';
2
+ import { ReactNode } from 'react';
3
+
4
+ declare const FILTER_CHIP_DROPDOWN_SIZES: readonly ["medium", "large"];
5
+
6
+ export declare function FilterChipDropdownSingle({ value, onValueChange, options, placeholder, size, disabled, invalid, filter, clearable, renderOption, checkIcon, clearIcon, }: FilterChipDropdownSingleReactProperties): JSX_2.Element;
7
+
8
+ export declare interface FilterChipDropdownSingleProperties {
9
+ options: FilterChipOptionItem[];
10
+ /** @default 'Select…' */
11
+ placeholder?: string;
12
+ /** @default 'medium' */
13
+ size?: FilterChipDropdownSize;
14
+ disabled?: boolean;
15
+ invalid?: boolean;
16
+ /** Shows a search field inside the panel. @default false */
17
+ filter?: boolean;
18
+ /** Shows a '×' button in the trigger to clear the selected value. @default false */
19
+ clearable?: boolean;
20
+ }
21
+
22
+ declare interface FilterChipDropdownSingleReactProperties extends FilterChipDropdownSingleProperties {
23
+ value?: string | null;
24
+ onValueChange?: (value: string | null) => void;
25
+ renderOption?: (option: FilterChipOptionItem) => ReactNode;
26
+ checkIcon?: ReactNode;
27
+ clearIcon?: ReactNode;
28
+ }
29
+
30
+ export declare type FilterChipDropdownSize = (typeof FILTER_CHIP_DROPDOWN_SIZES)[number];
31
+
32
+ export declare interface FilterChipOptionItem {
33
+ label: string;
34
+ value: string;
35
+ disabled?: boolean;
36
+ /** Consumer-defined extras resolved in the option render prop. */
37
+ [key: string]: unknown;
38
+ }
39
+
40
+ export { }
@@ -0,0 +1,27 @@
1
+ import { Context } from 'react';
2
+ import { JSX as JSX_2 } from 'react';
3
+ import { ReactNode } from 'react';
4
+
5
+ export declare function FilterChipGroup({ multiple, value, onValueChange, children, }: FilterChipGroupProperties): JSX_2.Element;
6
+
7
+ export declare const FilterChipGroupContext: Context<FilterChipGroupContextValue | null>;
8
+
9
+ declare interface FilterChipGroupContextValue {
10
+ isSelected: (value: string) => boolean;
11
+ toggle: (value: string) => void;
12
+ }
13
+
14
+ export declare interface FilterChipGroupProperties {
15
+ /** @default false */
16
+ multiple?: boolean;
17
+ /** String (or undefined) when multiple is false; string[] when multiple is true. */
18
+ value?: FilterChipGroupValue;
19
+ onValueChange?: (value: FilterChipGroupValue) => void;
20
+ /** The FilterChip children. Each needs a distinct `value` (or string children) to be identified within the group. */
21
+ children?: ReactNode;
22
+ }
23
+
24
+ /** String (or undefined) in single-selection mode; string[] in multiple mode. */
25
+ export declare type FilterChipGroupValue = string | string[] | undefined;
26
+
27
+ export { }
@@ -1,40 +1,49 @@
1
- import { MouseEvent, ReactNode } from 'react';
2
- import { FilterChipSize } from '@tpc-development/mare-ui-components-core/filter-chip';
3
- export type { FilterChipSize } from '@tpc-development/mare-ui-components-core/filter-chip';
4
- export interface FilterChipProperties {
5
- /**
6
- * Identity within a FilterChipGroup. Falls back to `children` when
7
- * omitted and children is a plain string.
8
- */
9
- value?: string;
10
- /** @default 'medium' */
11
- size?: FilterChipSize;
12
- /** Blocks the click entirely, not just the styling. @default false */
13
- disabled?: boolean;
14
- /**
15
- * Switches the chip from "removable filter" mode to "dropdown trigger"
16
- * mode: shows a chevron instead of a remove icon, and click toggles
17
- * `dropdownOpen` (firing onToggleDropdown) instead of the selection.
18
- * Takes priority over a FilterChipGroup context — a dropdown chip inside
19
- * a group does not participate in that group's selection.
20
- * @default false
21
- */
22
- dropdown?: boolean;
23
- /** Standalone selected state. Ignored when inside a FilterChipGroup
24
- * there the group controls selection. */
25
- selected?: boolean;
26
- onSelectedChange?: (selected: boolean) => void;
27
- /**
28
- * Only relevant when dropdown is true: whether the chevron points up
29
- * (open) or down (closed). FilterChip renders no panel of its own — this
30
- * exists so the consumer can sync their own popover with the chevron.
31
- * @default false
32
- */
33
- dropdownOpen?: boolean;
34
- onDropdownOpenChange?: (open: boolean) => void;
35
- /** Fires on click while dropdown is true. `target` is the chip button —
36
- * useful to position a consumer-owned panel/popover; FilterChip includes
37
- * none itself. */
38
- onToggleDropdown?: (event: MouseEvent<HTMLButtonElement>, target: HTMLElement) => void;
39
- children?: ReactNode;
40
- }
1
+ import { JSX as JSX_2 } from 'react';
2
+ import { MouseEvent as MouseEvent_2 } from 'react';
3
+ import { ReactNode } from 'react';
4
+
5
+ declare const FILTER_CHIP_SIZES: readonly ["medium", "large"];
6
+
7
+ export declare function FilterChip({ value, size, disabled, dropdown, selected: selectedProperty, onSelectedChange, dropdownOpen, onDropdownOpenChange, onToggleDropdown, children, }: FilterChipProperties): JSX_2.Element;
8
+
9
+ export declare interface FilterChipProperties {
10
+ /**
11
+ * Identity within a FilterChipGroup. Falls back to `children` when
12
+ * omitted and children is a plain string.
13
+ */
14
+ value?: string;
15
+ /** @default 'medium' */
16
+ size?: FilterChipSize;
17
+ /** Blocks the click entirely, not just the styling. @default false */
18
+ disabled?: boolean;
19
+ /**
20
+ * Switches the chip from "removable filter" mode to "dropdown trigger"
21
+ * mode: shows a chevron instead of a remove icon, and click toggles
22
+ * `dropdownOpen` (firing onToggleDropdown) instead of the selection.
23
+ * Takes priority over a FilterChipGroup context a dropdown chip inside
24
+ * a group does not participate in that group's selection.
25
+ * @default false
26
+ */
27
+ dropdown?: boolean;
28
+ /** Standalone selected state. Ignored when inside a FilterChipGroup
29
+ * there the group controls selection. */
30
+ selected?: boolean;
31
+ onSelectedChange?: (selected: boolean) => void;
32
+ /**
33
+ * Only relevant when dropdown is true: whether the chevron points up
34
+ * (open) or down (closed). FilterChip renders no panel of its own — this
35
+ * exists so the consumer can sync their own popover with the chevron.
36
+ * @default false
37
+ */
38
+ dropdownOpen?: boolean;
39
+ onDropdownOpenChange?: (open: boolean) => void;
40
+ /** Fires on click while dropdown is true. `target` is the chip button —
41
+ * useful to position a consumer-owned panel/popover; FilterChip includes
42
+ * none itself. */
43
+ onToggleDropdown?: (event: MouseEvent_2<HTMLButtonElement>, target: HTMLElement) => void;
44
+ children?: ReactNode;
45
+ }
46
+
47
+ export declare type FilterChipSize = (typeof FILTER_CHIP_SIZES)[number];
48
+
49
+ export { }
@@ -1,4 +1,4 @@
1
- import { F as n } from "../shared/FloatingActionButton-BWB5Taeg.js";
1
+ import { F as n } from "../shared/FloatingActionButton-Dhqp98s7.js";
2
2
  export {
3
3
  n as FloatingActionButton
4
4
  };
@@ -0,0 +1,46 @@
1
+ import { ButtonHTMLAttributes } from 'react';
2
+ import { ForwardRefExoticComponent } from 'react';
3
+ import { ReactNode } from 'react';
4
+ import { RefAttributes } from 'react';
5
+
6
+ declare const BUTTON_SIZES: readonly ["xsmall", "small", "medium", "large"];
7
+
8
+ declare type ButtonSize = (typeof BUTTON_SIZES)[number];
9
+
10
+ declare type ButtonVariant = 'solid' | 'bordered';
11
+
12
+ /** A floating primary action is never destructive nor invisible: the FAB
13
+ * excludes Button's 'ghost' and 'danger'. Hardcoded rather than derived
14
+ * from ButtonSeverity via Exclude<> — that indirection made rollupTypes
15
+ * (vite-plugin-dts/api-extractor) leave an unresolved cross-entry import
16
+ * in the React package's dist. Keep in sync with BUTTON_SEVERITIES by hand. */
17
+ declare const FLOATING_ACTION_BUTTON_SEVERITIES: readonly ["primary", "secondary"];
18
+
19
+ export declare const FloatingActionButton: ForwardRefExoticComponent<FloatingActionButtonProperties & RefAttributes<HTMLButtonElement>>;
20
+
21
+ export declare interface FloatingActionButtonProperties extends ForwardedNativeProperties {
22
+ label?: string;
23
+ /** Visual hierarchy. Unlike Button, 'ghost' and 'danger' are excluded.
24
+ * @default 'primary' */
25
+ severity?: FloatingActionButtonSeverity;
26
+ size?: ButtonSize;
27
+ variant?: ButtonVariant;
28
+ iconOnly?: boolean;
29
+ disabled?: boolean;
30
+ loading?: boolean;
31
+ link?: boolean;
32
+ linkAnimation?: boolean;
33
+ icon?: ReactNode;
34
+ iconPos?: IconPosition;
35
+ children?: ReactNode;
36
+ }
37
+
38
+ export declare type FloatingActionButtonSeverity = (typeof FLOATING_ACTION_BUTTON_SEVERITIES)[number];
39
+
40
+ declare type ForwardedNativeProperties = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'className' | 'style' | 'children' | 'color'>;
41
+
42
+ declare const ICON_POSITIONS: readonly ["left", "right", "top", "bottom"];
43
+
44
+ declare type IconPosition = (typeof ICON_POSITIONS)[number];
45
+
46
+ export { }
@@ -0,0 +1,15 @@
1
+ import { JSX as JSX_2 } from 'react';
2
+ import { ReactNode } from 'react';
3
+
4
+ declare const IMAGE_ITEM_RATIOS: readonly ["4:3", "1:1", "5:4", "3:2", "free"];
5
+
6
+ export declare function ImageItem({ ratio, children }: ImageItemProperties): JSX_2.Element;
7
+
8
+ export declare interface ImageItemProperties {
9
+ ratio?: ImageItemRatio;
10
+ children: ReactNode;
11
+ }
12
+
13
+ export declare type ImageItemRatio = (typeof IMAGE_ITEM_RATIOS)[number];
14
+
15
+ export { }
@@ -1,4 +1,4 @@
1
- import { I as a } from "../shared/ImageSlider-Bgb1kNQ4.js";
1
+ import { I as a } from "../shared/ImageSlider-DT0B5g68.js";
2
2
  export {
3
3
  a as ImageSlider
4
4
  };
@@ -0,0 +1,12 @@
1
+ import { JSX as JSX_2 } from 'react';
2
+ import { ReactNode } from 'react';
3
+
4
+ export declare function ImageSlider({ pagination, navigation, children, }: ImageSliderProperties): JSX_2.Element;
5
+
6
+ export declare interface ImageSliderProperties {
7
+ pagination?: boolean;
8
+ navigation?: boolean;
9
+ children: ReactNode;
10
+ }
11
+
12
+ export { }
@@ -1,51 +1,51 @@
1
- import { A as e } from "../shared/Accordion-BSmOrxH6.js";
1
+ import { A as e } from "../shared/Accordion-QSdlMSst.js";
2
2
  import { A as t } from "../shared/Avatar-BpJDY1wm.js";
3
3
  import { B as p } from "../shared/Badge-CGotZzok.js";
4
- import { O as x } from "../shared/OverlayBadge-Dkosm3Il.js";
4
+ import { O as x } from "../shared/OverlayBadge-CnQI_NE0.js";
5
5
  import { T as i } from "../shared/Tag-uIK_GPrs.js";
6
- import { T as l } from "../shared/TagChip-CP3aX2_G.js";
7
- import { F as d } from "../shared/FilterChip-TpKF-4vP.js";
6
+ import { T as l } from "../shared/TagChip-QQ6p0JgU.js";
7
+ import { F as d } from "../shared/FilterChip-Cc4BBVz3.js";
8
8
  import { F as C } from "../shared/FilterChipGroup-BzE-EQsA.js";
9
- import { F as c } from "../shared/FilterChipDropdownSingle-CLmWzX9q.js";
10
- import { F as D } from "../shared/FilterChipDropdownMultiple-2mr_Z57i.js";
11
- import { B as P } from "../shared/Banner-D4na_bM8.js";
12
- import { M as B } from "../shared/Message-CQUdM9rR.js";
13
- import { B as h } from "../shared/Button-C2ULmKj3.js";
14
- import { F as M } from "../shared/FloatingActionButton-BWB5Taeg.js";
15
- import { B as A } from "../shared/Breadcrumbs-Cqr3Jitd.js";
16
- import { S as v } from "../shared/SelectField-CcnbnPEi.js";
17
- import { C as E } from "../shared/Combobox-DrkeDMW0.js";
18
- import { M as R } from "../shared/MultiSelect-DlaYWcPo.js";
19
- import { T as L } from "../shared/Tabs-DuufYBV2.js";
9
+ import { F as c } from "../shared/FilterChipDropdownSingle-BUrzUAmy.js";
10
+ import { F as D } from "../shared/FilterChipDropdownMultiple-DL3mHW9H.js";
11
+ import { B as P } from "../shared/Banner-DMWwNO2K.js";
12
+ import { M as B } from "../shared/Message-B36kcrfu.js";
13
+ import { B as h } from "../shared/Button-BqFuDnSs.js";
14
+ import { F as M } from "../shared/FloatingActionButton-Dhqp98s7.js";
15
+ import { B as A } from "../shared/Breadcrumbs-bcs9_ByY.js";
16
+ import { S as v } from "../shared/SelectField-BAuctVIF.js";
17
+ import { C as E } from "../shared/Combobox-CiaEi_RG.js";
18
+ import { M as R } from "../shared/MultiSelect-CfKm_FPp.js";
19
+ import { T as L } from "../shared/Tabs-lGGLALGR.js";
20
20
  import { P as j } from "../shared/ProgressSpinner-B-lrS-tu.js";
21
21
  import { P as z } from "../shared/ProgressBar-Dxm0L3-R.js";
22
- import { I as K, a as Q } from "../shared/IconField-CqKydKep.js";
23
- import { C as V, F as W, a as X, H as Y } from "../shared/HelperText-zmUym82m.js";
24
- import { T as _ } from "../shared/Textarea-DHJIWBRM.js";
25
- import { S as rr } from "../shared/SearchField-DIsFhJ22.js";
26
- import { P as er, a as ar } from "../shared/Password-D4PRaleH.js";
27
- import { I as sr } from "../shared/InputNumber-nxus9h5s.js";
28
- import { I as mr } from "../shared/InputOtp-BxBc6Vhs.js";
29
- import { C as fr } from "../shared/Counter-0siKQRKc.js";
30
- import { E as nr } from "../shared/ExpandableCounter-pPJIrd6L.js";
31
- import { C as Sr } from "../shared/Checkbox-DCq3_MWz.js";
32
- import { R as Fr } from "../shared/RadioGroup-B8CXU8-l.js";
33
- import { S as gr } from "../shared/Switch-B5DSQLFL.js";
34
- import { D as ur, a as Dr } from "../shared/DialogFooter-Cx7G-GHH.js";
35
- import { D as Pr } from "../shared/DialogHeader-DdVPFxGf.js";
36
- import { C as Br } from "../shared/ConfirmDialog-cmLTBBNs.js";
37
- import { D as hr, a as wr, b as Mr } from "../shared/DrawerFooter-DEb2gqW-.js";
38
- import { M as Ar } from "../shared/Menu-Cv9dU1iA.js";
39
- import { P as vr } from "../shared/PanelMenu-BpjNM7O_.js";
40
- import { S as Er, c as Gr } from "../shared/Snackbar-BhORbyt-.js";
41
- import { S as yr } from "../shared/Stepper-DrKKSn_j.js";
42
- import { D as Nr } from "../shared/DatePicker-DhIWE0V_.js";
43
- import { P as qr } from "../shared/Paginator-QTDpAJ-N.js";
22
+ import { I as K, a as Q } from "../shared/IconField-Bp2H10B1.js";
23
+ import { C as V, F as W, a as X, H as Y } from "../shared/HelperText-C9TsD0wC.js";
24
+ import { T as _ } from "../shared/Textarea-CJfNbqGA.js";
25
+ import { S as rr } from "../shared/SearchField-Cuw3MVaD.js";
26
+ import { P as er, a as ar } from "../shared/Password-BWNvygrO.js";
27
+ import { I as sr } from "../shared/InputNumber-CUNq3cPa.js";
28
+ import { I as mr } from "../shared/InputOtp-wTUwu1NG.js";
29
+ import { C as fr } from "../shared/Counter-lqywtgF6.js";
30
+ import { E as nr } from "../shared/ExpandableCounter-BOCHfuye.js";
31
+ import { C as Sr } from "../shared/Checkbox-DgZAQsbr.js";
32
+ import { R as Fr } from "../shared/RadioGroup-CHgzVvZO.js";
33
+ import { S as gr } from "../shared/Switch-C1dd2rX1.js";
34
+ import { D as ur, a as Dr } from "../shared/DialogFooter-DKFuHOJl.js";
35
+ import { D as Pr } from "../shared/DialogHeader-D0dg5FBI.js";
36
+ import { C as Br } from "../shared/ConfirmDialog-DHsPafOo.js";
37
+ import { D as hr, a as wr, b as Mr } from "../shared/DrawerFooter-CGrPQoLH.js";
38
+ import { M as Ar } from "../shared/Menu-DBHlDgtQ.js";
39
+ import { P as vr } from "../shared/PanelMenu-Dw-K6H2C.js";
40
+ import { S as Er, c as Gr } from "../shared/Snackbar-DP-b4GWx.js";
41
+ import { S as yr } from "../shared/Stepper-CudtdHSg.js";
42
+ import { D as Nr } from "../shared/DatePicker-t6xP4UWu.js";
43
+ import { P as qr } from "../shared/Paginator-BRQx1GRQ.js";
44
44
  import { I as Jr } from "../shared/ImageItem-CL2VGEha.js";
45
- import { I as Qr } from "../shared/ImageSlider-Bgb1kNQ4.js";
46
- import { S as Vr } from "../shared/SegmentedControl-BfE3jNM6.js";
45
+ import { I as Qr } from "../shared/ImageSlider-DT0B5g68.js";
46
+ import { S as Vr } from "../shared/SegmentedControl-D3znmx9l.js";
47
47
  import { S as Xr } from "../shared/Skeleton-DpWtYSz4.js";
48
- import { S as Zr } from "../shared/Slider-Cl9PyH2q.js";
48
+ import { S as Zr } from "../shared/Slider-D_iNiPxa.js";
49
49
  import { D as $r } from "../shared/Divider-CSQOHeMo.js";
50
50
  export {
51
51
  e as Accordion,