@caratlogic/design-system 0.1.31 → 0.1.33

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 (217) hide show
  1. package/dist/components/atoms/ActionButtonWithTooltip/ActionButtonWithTooltip.d.ts.map +1 -1
  2. package/dist/components/atoms/NumberInput/NumberInput.d.ts.map +1 -1
  3. package/dist/components/atoms/NumberInput/NumberInput.types.d.ts +4 -0
  4. package/dist/components/atoms/NumberInput/NumberInput.types.d.ts.map +1 -1
  5. package/dist/components/molecules/ConfirmDialog/ConfirmDialog.d.ts.map +1 -1
  6. package/dist/components/molecules/ConfirmDialog/ConfirmDialog.parts.d.ts +1 -0
  7. package/dist/components/molecules/ConfirmDialog/ConfirmDialog.parts.d.ts.map +1 -1
  8. package/dist/components/molecules/ConfirmDialog/ConfirmDialog.types.d.ts +5 -11
  9. package/dist/components/molecules/ConfirmDialog/ConfirmDialog.types.d.ts.map +1 -1
  10. package/dist/components/molecules/DataEditableTable/DataEditableTable.d.ts +1 -1
  11. package/dist/components/molecules/DataEditableTable/DataEditableTable.d.ts.map +1 -1
  12. package/dist/components/molecules/DataEditableTable/DataEditableTable.hooks.d.ts +16 -0
  13. package/dist/components/molecules/DataEditableTable/DataEditableTable.hooks.d.ts.map +1 -1
  14. package/dist/components/molecules/DataEditableTable/DataEditableTable.parts.d.ts +8 -1
  15. package/dist/components/molecules/DataEditableTable/DataEditableTable.parts.d.ts.map +1 -1
  16. package/dist/components/molecules/DataEditableTable/DataEditableTable.types.d.ts +20 -0
  17. package/dist/components/molecules/DataEditableTable/DataEditableTable.types.d.ts.map +1 -1
  18. package/dist/components/molecules/DataEditableTable/DataEditableTable.utils.d.ts +7 -1
  19. package/dist/components/molecules/DataEditableTable/DataEditableTable.utils.d.ts.map +1 -1
  20. package/dist/components/molecules/DocumentDeleteDialog/DocumentDeleteDialog.d.ts +1 -1
  21. package/dist/components/molecules/DocumentDeleteDialog/DocumentDeleteDialog.d.ts.map +1 -1
  22. package/dist/components/molecules/FilterSelect/FilterMultiSelect.d.ts +8 -3
  23. package/dist/components/molecules/FilterSelect/FilterMultiSelect.d.ts.map +1 -1
  24. package/dist/components/molecules/FilterSelect/FilterSelect.utils.d.ts +9 -0
  25. package/dist/components/molecules/FilterSelect/FilterSelect.utils.d.ts.map +1 -1
  26. package/dist/components/molecules/Filters/ActiveFilterChips/ActiveFilterChips.accessibility.d.ts +3 -0
  27. package/dist/components/molecules/Filters/ActiveFilterChips/ActiveFilterChips.accessibility.d.ts.map +1 -0
  28. package/dist/components/molecules/Filters/ActiveFilterChips/ActiveFilterChips.d.ts +6 -0
  29. package/dist/components/molecules/Filters/ActiveFilterChips/ActiveFilterChips.d.ts.map +1 -0
  30. package/dist/components/molecules/Filters/ActiveFilterChips/ActiveFilterChips.types.d.ts +16 -0
  31. package/dist/components/molecules/Filters/ActiveFilterChips/ActiveFilterChips.types.d.ts.map +1 -0
  32. package/dist/components/molecules/Filters/ActiveFilterChips/ActiveFilterChips.utils.d.ts +7 -0
  33. package/dist/components/molecules/Filters/ActiveFilterChips/ActiveFilterChips.utils.d.ts.map +1 -0
  34. package/dist/components/molecules/Filters/ActiveFilterChips/index.d.ts +3 -0
  35. package/dist/components/molecules/Filters/ActiveFilterChips/index.d.ts.map +1 -0
  36. package/dist/components/molecules/Filters/ContainsFilter/ContainsFilter.accessibility.d.ts +2 -0
  37. package/dist/components/molecules/Filters/ContainsFilter/ContainsFilter.accessibility.d.ts.map +1 -0
  38. package/dist/components/molecules/Filters/ContainsFilter/ContainsFilter.d.ts +6 -0
  39. package/dist/components/molecules/Filters/ContainsFilter/ContainsFilter.d.ts.map +1 -0
  40. package/dist/components/molecules/Filters/ContainsFilter/ContainsFilter.hooks.d.ts +9 -0
  41. package/dist/components/molecules/Filters/ContainsFilter/ContainsFilter.hooks.d.ts.map +1 -0
  42. package/dist/components/molecules/Filters/ContainsFilter/ContainsFilter.types.d.ts +11 -0
  43. package/dist/components/molecules/Filters/ContainsFilter/ContainsFilter.types.d.ts.map +1 -0
  44. package/dist/components/molecules/Filters/ContainsFilter/ContainsFilter.utils.d.ts +3 -0
  45. package/dist/components/molecules/Filters/ContainsFilter/ContainsFilter.utils.d.ts.map +1 -0
  46. package/dist/components/molecules/Filters/ContainsFilter/index.d.ts +3 -0
  47. package/dist/components/molecules/Filters/ContainsFilter/index.d.ts.map +1 -0
  48. package/dist/components/molecules/Filters/DateRangeFilter/DateRangeFilter.accessibility.d.ts +3 -0
  49. package/dist/components/molecules/Filters/DateRangeFilter/DateRangeFilter.accessibility.d.ts.map +1 -0
  50. package/dist/components/molecules/Filters/DateRangeFilter/DateRangeFilter.d.ts +6 -0
  51. package/dist/components/molecules/Filters/DateRangeFilter/DateRangeFilter.d.ts.map +1 -0
  52. package/dist/components/molecules/Filters/DateRangeFilter/DateRangeFilter.hooks.d.ts +11 -0
  53. package/dist/components/molecules/Filters/DateRangeFilter/DateRangeFilter.hooks.d.ts.map +1 -0
  54. package/dist/components/molecules/Filters/DateRangeFilter/DateRangeFilter.types.d.ts +10 -0
  55. package/dist/components/molecules/Filters/DateRangeFilter/DateRangeFilter.types.d.ts.map +1 -0
  56. package/dist/components/molecules/Filters/DateRangeFilter/DateRangeFilter.utils.d.ts +11 -0
  57. package/dist/components/molecules/Filters/DateRangeFilter/DateRangeFilter.utils.d.ts.map +1 -0
  58. package/dist/components/molecules/Filters/DateRangeFilter/index.d.ts +3 -0
  59. package/dist/components/molecules/Filters/DateRangeFilter/index.d.ts.map +1 -0
  60. package/dist/components/molecules/Filters/FilterCellPopover/FilterCellPopover.accessibility.d.ts +3 -0
  61. package/dist/components/molecules/Filters/FilterCellPopover/FilterCellPopover.accessibility.d.ts.map +1 -0
  62. package/dist/components/molecules/Filters/FilterCellPopover/FilterCellPopover.d.ts +6 -0
  63. package/dist/components/molecules/Filters/FilterCellPopover/FilterCellPopover.d.ts.map +1 -0
  64. package/dist/components/molecules/Filters/FilterCellPopover/FilterCellPopover.types.d.ts +24 -0
  65. package/dist/components/molecules/Filters/FilterCellPopover/FilterCellPopover.types.d.ts.map +1 -0
  66. package/dist/components/molecules/Filters/FilterCellPopover/index.d.ts +3 -0
  67. package/dist/components/molecules/Filters/FilterCellPopover/index.d.ts.map +1 -0
  68. package/dist/components/molecules/Filters/FilterEmptyState/FilterEmptyState.d.ts +6 -0
  69. package/dist/components/molecules/Filters/FilterEmptyState/FilterEmptyState.d.ts.map +1 -0
  70. package/dist/components/molecules/Filters/FilterEmptyState/FilterEmptyState.types.d.ts +14 -0
  71. package/dist/components/molecules/Filters/FilterEmptyState/FilterEmptyState.types.d.ts.map +1 -0
  72. package/dist/components/molecules/Filters/FilterEmptyState/FilterEmptyState.utils.d.ts +5 -0
  73. package/dist/components/molecules/Filters/FilterEmptyState/FilterEmptyState.utils.d.ts.map +1 -0
  74. package/dist/components/molecules/Filters/FilterEmptyState/index.d.ts +3 -0
  75. package/dist/components/molecules/Filters/FilterEmptyState/index.d.ts.map +1 -0
  76. package/dist/components/molecules/Filters/FilterPanel/FilterPanel.d.ts +6 -0
  77. package/dist/components/molecules/Filters/FilterPanel/FilterPanel.d.ts.map +1 -0
  78. package/dist/components/molecules/Filters/FilterPanel/FilterPanel.types.d.ts +28 -0
  79. package/dist/components/molecules/Filters/FilterPanel/FilterPanel.types.d.ts.map +1 -0
  80. package/dist/components/molecules/Filters/FilterPanel/FilterPanel.utils.d.ts +4 -0
  81. package/dist/components/molecules/Filters/FilterPanel/FilterPanel.utils.d.ts.map +1 -0
  82. package/dist/components/molecules/Filters/FilterPanel/index.d.ts +3 -0
  83. package/dist/components/molecules/Filters/FilterPanel/index.d.ts.map +1 -0
  84. package/dist/components/molecules/Filters/Filters.hooks.d.ts +20 -0
  85. package/dist/components/molecules/Filters/Filters.hooks.d.ts.map +1 -0
  86. package/dist/components/molecules/Filters/Filters.types.d.ts +66 -0
  87. package/dist/components/molecules/Filters/Filters.types.d.ts.map +1 -0
  88. package/dist/components/molecules/Filters/Filters.utils.d.ts +53 -0
  89. package/dist/components/molecules/Filters/Filters.utils.d.ts.map +1 -0
  90. package/dist/components/molecules/Filters/IdListInput/IdListInput.accessibility.d.ts +2 -0
  91. package/dist/components/molecules/Filters/IdListInput/IdListInput.accessibility.d.ts.map +1 -0
  92. package/dist/components/molecules/Filters/IdListInput/IdListInput.d.ts +6 -0
  93. package/dist/components/molecules/Filters/IdListInput/IdListInput.d.ts.map +1 -0
  94. package/dist/components/molecules/Filters/IdListInput/IdListInput.hooks.d.ts +10 -0
  95. package/dist/components/molecules/Filters/IdListInput/IdListInput.hooks.d.ts.map +1 -0
  96. package/dist/components/molecules/Filters/IdListInput/IdListInput.types.d.ts +10 -0
  97. package/dist/components/molecules/Filters/IdListInput/IdListInput.types.d.ts.map +1 -0
  98. package/dist/components/molecules/Filters/IdListInput/IdListInput.utils.d.ts +4 -0
  99. package/dist/components/molecules/Filters/IdListInput/IdListInput.utils.d.ts.map +1 -0
  100. package/dist/components/molecules/Filters/IdListInput/index.d.ts +3 -0
  101. package/dist/components/molecules/Filters/IdListInput/index.d.ts.map +1 -0
  102. package/dist/components/molecules/Filters/NumberExpressionFilter/NumberExpressionFilter.accessibility.d.ts +5 -0
  103. package/dist/components/molecules/Filters/NumberExpressionFilter/NumberExpressionFilter.accessibility.d.ts.map +1 -0
  104. package/dist/components/molecules/Filters/NumberExpressionFilter/NumberExpressionFilter.d.ts +6 -0
  105. package/dist/components/molecules/Filters/NumberExpressionFilter/NumberExpressionFilter.d.ts.map +1 -0
  106. package/dist/components/molecules/Filters/NumberExpressionFilter/NumberExpressionFilter.hooks.d.ts +16 -0
  107. package/dist/components/molecules/Filters/NumberExpressionFilter/NumberExpressionFilter.hooks.d.ts.map +1 -0
  108. package/dist/components/molecules/Filters/NumberExpressionFilter/NumberExpressionFilter.types.d.ts +14 -0
  109. package/dist/components/molecules/Filters/NumberExpressionFilter/NumberExpressionFilter.types.d.ts.map +1 -0
  110. package/dist/components/molecules/Filters/NumberExpressionFilter/NumberExpressionFilter.utils.d.ts +8 -0
  111. package/dist/components/molecules/Filters/NumberExpressionFilter/NumberExpressionFilter.utils.d.ts.map +1 -0
  112. package/dist/components/molecules/Filters/NumberExpressionFilter/index.d.ts +3 -0
  113. package/dist/components/molecules/Filters/NumberExpressionFilter/index.d.ts.map +1 -0
  114. package/dist/components/molecules/Filters/NumberRangeInputs/NumberRangeInputs.accessibility.d.ts +3 -0
  115. package/dist/components/molecules/Filters/NumberRangeInputs/NumberRangeInputs.accessibility.d.ts.map +1 -0
  116. package/dist/components/molecules/Filters/NumberRangeInputs/NumberRangeInputs.d.ts +6 -0
  117. package/dist/components/molecules/Filters/NumberRangeInputs/NumberRangeInputs.d.ts.map +1 -0
  118. package/dist/components/molecules/Filters/NumberRangeInputs/NumberRangeInputs.hooks.d.ts +15 -0
  119. package/dist/components/molecules/Filters/NumberRangeInputs/NumberRangeInputs.hooks.d.ts.map +1 -0
  120. package/dist/components/molecules/Filters/NumberRangeInputs/NumberRangeInputs.types.d.ts +17 -0
  121. package/dist/components/molecules/Filters/NumberRangeInputs/NumberRangeInputs.types.d.ts.map +1 -0
  122. package/dist/components/molecules/Filters/NumberRangeInputs/NumberRangeInputs.utils.d.ts +12 -0
  123. package/dist/components/molecules/Filters/NumberRangeInputs/NumberRangeInputs.utils.d.ts.map +1 -0
  124. package/dist/components/molecules/Filters/NumberRangeInputs/index.d.ts +3 -0
  125. package/dist/components/molecules/Filters/NumberRangeInputs/index.d.ts.map +1 -0
  126. package/dist/components/molecules/Filters/PickListFilter/PickListFilter.accessibility.d.ts +2 -0
  127. package/dist/components/molecules/Filters/PickListFilter/PickListFilter.accessibility.d.ts.map +1 -0
  128. package/dist/components/molecules/Filters/PickListFilter/PickListFilter.d.ts +6 -0
  129. package/dist/components/molecules/Filters/PickListFilter/PickListFilter.d.ts.map +1 -0
  130. package/dist/components/molecules/Filters/PickListFilter/PickListFilter.hooks.d.ts +3 -0
  131. package/dist/components/molecules/Filters/PickListFilter/PickListFilter.hooks.d.ts.map +1 -0
  132. package/dist/components/molecules/Filters/PickListFilter/PickListFilter.types.d.ts +32 -0
  133. package/dist/components/molecules/Filters/PickListFilter/PickListFilter.types.d.ts.map +1 -0
  134. package/dist/components/molecules/Filters/PickListFilter/PickListFilter.utils.d.ts +19 -0
  135. package/dist/components/molecules/Filters/PickListFilter/PickListFilter.utils.d.ts.map +1 -0
  136. package/dist/components/molecules/Filters/PickListFilter/index.d.ts +3 -0
  137. package/dist/components/molecules/Filters/PickListFilter/index.d.ts.map +1 -0
  138. package/dist/components/molecules/Filters/ScaleRangeFilter/ScaleRangeFilter.d.ts +6 -0
  139. package/dist/components/molecules/Filters/ScaleRangeFilter/ScaleRangeFilter.d.ts.map +1 -0
  140. package/dist/components/molecules/Filters/ScaleRangeFilter/ScaleRangeFilter.hooks.d.ts +4 -0
  141. package/dist/components/molecules/Filters/ScaleRangeFilter/ScaleRangeFilter.hooks.d.ts.map +1 -0
  142. package/dist/components/molecules/Filters/ScaleRangeFilter/ScaleRangeFilter.types.d.ts +22 -0
  143. package/dist/components/molecules/Filters/ScaleRangeFilter/ScaleRangeFilter.types.d.ts.map +1 -0
  144. package/dist/components/molecules/Filters/ScaleRangeFilter/ScaleRangeFilter.utils.d.ts +7 -0
  145. package/dist/components/molecules/Filters/ScaleRangeFilter/ScaleRangeFilter.utils.d.ts.map +1 -0
  146. package/dist/components/molecules/Filters/ScaleRangeFilter/index.d.ts +3 -0
  147. package/dist/components/molecules/Filters/ScaleRangeFilter/index.d.ts.map +1 -0
  148. package/dist/components/molecules/Filters/ScrollFade/ScrollFade.d.ts +6 -0
  149. package/dist/components/molecules/Filters/ScrollFade/ScrollFade.d.ts.map +1 -0
  150. package/dist/components/molecules/Filters/ScrollFade/ScrollFade.hooks.d.ts +7 -0
  151. package/dist/components/molecules/Filters/ScrollFade/ScrollFade.hooks.d.ts.map +1 -0
  152. package/dist/components/molecules/Filters/ScrollFade/ScrollFade.types.d.ts +15 -0
  153. package/dist/components/molecules/Filters/ScrollFade/ScrollFade.types.d.ts.map +1 -0
  154. package/dist/components/molecules/Filters/ScrollFade/ScrollFade.utils.d.ts +4 -0
  155. package/dist/components/molecules/Filters/ScrollFade/ScrollFade.utils.d.ts.map +1 -0
  156. package/dist/components/molecules/Filters/ScrollFade/index.d.ts +3 -0
  157. package/dist/components/molecules/Filters/ScrollFade/index.d.ts.map +1 -0
  158. package/dist/components/molecules/Filters/TriStateFilter/TriStateFilter.accessibility.d.ts +6 -0
  159. package/dist/components/molecules/Filters/TriStateFilter/TriStateFilter.accessibility.d.ts.map +1 -0
  160. package/dist/components/molecules/Filters/TriStateFilter/TriStateFilter.d.ts +6 -0
  161. package/dist/components/molecules/Filters/TriStateFilter/TriStateFilter.d.ts.map +1 -0
  162. package/dist/components/molecules/Filters/TriStateFilter/TriStateFilter.types.d.ts +7 -0
  163. package/dist/components/molecules/Filters/TriStateFilter/TriStateFilter.types.d.ts.map +1 -0
  164. package/dist/components/molecules/Filters/TriStateFilter/TriStateFilter.utils.d.ts +3 -0
  165. package/dist/components/molecules/Filters/TriStateFilter/TriStateFilter.utils.d.ts.map +1 -0
  166. package/dist/components/molecules/Filters/TriStateFilter/index.d.ts +3 -0
  167. package/dist/components/molecules/Filters/TriStateFilter/index.d.ts.map +1 -0
  168. package/dist/components/molecules/Filters/TruncatedLabel/TruncatedLabel.d.ts +6 -0
  169. package/dist/components/molecules/Filters/TruncatedLabel/TruncatedLabel.d.ts.map +1 -0
  170. package/dist/components/molecules/Filters/TruncatedLabel/TruncatedLabel.types.d.ts +5 -0
  171. package/dist/components/molecules/Filters/TruncatedLabel/TruncatedLabel.types.d.ts.map +1 -0
  172. package/dist/components/molecules/Filters/TruncatedLabel/index.d.ts +3 -0
  173. package/dist/components/molecules/Filters/TruncatedLabel/index.d.ts.map +1 -0
  174. package/dist/components/molecules/Filters/index.d.ts +17 -0
  175. package/dist/components/molecules/Filters/index.d.ts.map +1 -0
  176. package/dist/components/molecules/InventoryFilterSelects.d.ts.map +1 -1
  177. package/dist/components/molecules/Modal/Modal.d.ts +1 -1
  178. package/dist/components/molecules/Modal/Modal.d.ts.map +1 -1
  179. package/dist/components/molecules/Modal/Modal.types.d.ts +9 -3
  180. package/dist/components/molecules/Modal/Modal.types.d.ts.map +1 -1
  181. package/dist/components/organisms/FileUploader/ImageCropModal.d.ts.map +1 -1
  182. package/dist/components/organisms/Filters/FilterField/FilterField.d.ts +11 -0
  183. package/dist/components/organisms/Filters/FilterField/FilterField.d.ts.map +1 -0
  184. package/dist/components/organisms/Filters/FilterField/FilterField.types.d.ts +66 -0
  185. package/dist/components/organisms/Filters/FilterField/FilterField.types.d.ts.map +1 -0
  186. package/dist/components/organisms/Filters/FilterField/FilterField.utils.d.ts +38 -0
  187. package/dist/components/organisms/Filters/FilterField/FilterField.utils.d.ts.map +1 -0
  188. package/dist/components/organisms/Filters/FilterField/index.d.ts +4 -0
  189. package/dist/components/organisms/Filters/FilterField/index.d.ts.map +1 -0
  190. package/dist/components/organisms/Filters/FilterSurface/FilterSurface.accessibility.d.ts +4 -0
  191. package/dist/components/organisms/Filters/FilterSurface/FilterSurface.accessibility.d.ts.map +1 -0
  192. package/dist/components/organisms/Filters/FilterSurface/FilterSurface.d.ts +9 -0
  193. package/dist/components/organisms/Filters/FilterSurface/FilterSurface.d.ts.map +1 -0
  194. package/dist/components/organisms/Filters/FilterSurface/FilterSurface.hooks.d.ts +6 -0
  195. package/dist/components/organisms/Filters/FilterSurface/FilterSurface.hooks.d.ts.map +1 -0
  196. package/dist/components/organisms/Filters/FilterSurface/FilterSurface.types.d.ts +26 -0
  197. package/dist/components/organisms/Filters/FilterSurface/FilterSurface.types.d.ts.map +1 -0
  198. package/dist/components/organisms/Filters/FilterSurface/index.d.ts +3 -0
  199. package/dist/components/organisms/Filters/FilterSurface/index.d.ts.map +1 -0
  200. package/dist/components/organisms/Filters/index.d.ts +3 -0
  201. package/dist/components/organisms/Filters/index.d.ts.map +1 -0
  202. package/dist/components/ui/button.d.ts.map +1 -1
  203. package/dist/components/ui/dialog.d.ts +23 -2
  204. package/dist/components/ui/dialog.d.ts.map +1 -1
  205. package/dist/index.cjs.js +1617 -353
  206. package/dist/index.cjs.js.map +1 -1
  207. package/dist/index.d.ts +2 -0
  208. package/dist/index.d.ts.map +1 -1
  209. package/dist/index.esm.js +1578 -355
  210. package/dist/index.esm.js.map +1 -1
  211. package/dist/ui.cjs.js +60 -14
  212. package/dist/ui.cjs.js.map +1 -1
  213. package/dist/ui.esm.js +59 -15
  214. package/dist/ui.esm.js.map +1 -1
  215. package/package.json +1 -1
  216. package/dist/components/molecules/ConfirmDialog/ConfirmDialog.hooks.d.ts +0 -3
  217. package/dist/components/molecules/ConfirmDialog/ConfirmDialog.hooks.d.ts.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PickListFilter.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/PickListFilter/PickListFilter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AA0B1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE,YAAY,EACV,mBAAmB,EACnB,cAAc,GACf,MAAM,wBAAwB,CAAC;AAsBhC,qHAAqH;AACrH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,KAAK,EACL,QAAQ,EACR,SAAS,EACT,MAAe,EACf,iBAAiB,EACjB,gBAAwB,EACxB,OAAW,EACX,IAAY,EACZ,aAAa,GACd,EAAE,mBAAmB,GAAG,YAAY,CAuJpC"}
@@ -0,0 +1,3 @@
1
+ import type { UsePickListFilterArgs, UsePickListFilterResult } from './PickListFilter.types';
2
+ export declare function usePickListFilter({ options, value, layout, }: UsePickListFilterArgs): UsePickListFilterResult;
3
+ //# sourceMappingURL=PickListFilter.hooks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PickListFilter.hooks.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/PickListFilter/PickListFilter.hooks.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,wBAAwB,CAAC;AAEhC,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,KAAK,EACL,MAAM,GACP,EAAE,qBAAqB,GAAG,uBAAuB,CAcjD"}
@@ -0,0 +1,32 @@
1
+ import type { FilterFieldOption } from '../Filters.types';
2
+ /** `list` — searchable checkbox list. `chips` / `tiles` — pill or tile toggles. All scroll within a max height. */
3
+ export type PickListLayout = 'list' | 'chips' | 'tiles';
4
+ export interface PickListFilterProps {
5
+ options: FilterFieldOption[];
6
+ value: string[];
7
+ onChange: (values: string[]) => void;
8
+ ariaLabel: string;
9
+ layout?: PickListLayout;
10
+ /** List layout only: shows a search box filtering options by label. */
11
+ searchPlaceholder?: string;
12
+ /** Show the search box even for a short list (it otherwise appears from `SEARCH_MIN_OPTIONS`). */
13
+ alwaysSearchable?: boolean;
14
+ /** Tiles only: grid columns. */
15
+ columns?: number;
16
+ /** Extra classes on the scrolling option list, e.g. a different max height. */
17
+ listClassName?: string;
18
+ /** Grow into the free height of a stretched card instead of stopping at the usual max height. */
19
+ fill?: boolean;
20
+ }
21
+ export interface UsePickListFilterArgs {
22
+ options: FilterFieldOption[];
23
+ value: string[];
24
+ layout: PickListLayout;
25
+ }
26
+ export interface UsePickListFilterResult {
27
+ query: string;
28
+ setQuery: (query: string) => void;
29
+ visibleOptions: FilterFieldOption[];
30
+ selectedCount: number;
31
+ }
32
+ //# sourceMappingURL=PickListFilter.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PickListFilter.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/PickListFilter/PickListFilter.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE1D,mHAAmH;AACnH,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;AAExD,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC7B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,uEAAuE;IACvE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,kGAAkG;IAClG,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gCAAgC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,+EAA+E;IAC/E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iGAAiG;IACjG,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC7B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,EAAE,cAAc,CAAC;CACxB;AAED,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,cAAc,EAAE,iBAAiB,EAAE,CAAC;IACpC,aAAa,EAAE,MAAM,CAAC;CACvB"}
@@ -0,0 +1,19 @@
1
+ import type { FilterFieldOption } from '../Filters.types';
2
+ export declare function filterOptionsByQuery(options: readonly FilterFieldOption[], query: string): FilterFieldOption[];
3
+ export declare function getChipClassName(selected: boolean): string;
4
+ export declare function getTileClassName(selected: boolean): string;
5
+ /** The list's search box only appears once there are enough options to need it. */
6
+ export declare const SEARCH_MIN_OPTIONS = 9;
7
+ /** Long option sets scroll inside the card or popover instead of growing it. */
8
+ export declare const OPTIONS_SCROLL_CLASS_NAME = "max-h-48 overflow-y-auto";
9
+ /** Fills a stretched card: at least the usual height, growing into any space the row gives it (never driving the row height). */
10
+ export declare const OPTIONS_FILL_CLASS_NAME = "min-h-48 flex-1 basis-0 overflow-y-auto";
11
+ export declare const FILL_WRAPPER_CLASS_NAME = "flex min-h-0 flex-1 flex-col";
12
+ /** Card lists flow into as many columns as fit; popover lists stay one column. */
13
+ export declare const LIST_COLUMN_MIN_WIDTH = "10rem";
14
+ export declare const getOptionsScrollClassName: (fill: boolean) => string;
15
+ export declare const LIST_ROW_CLASS_NAME = "flex w-full cursor-pointer items-center gap-3 rounded-md px-2 py-2 text-sm text-foreground hover:bg-muted/50";
16
+ /** Outlined (not filled) box until checked; the border is dark enough to read on white. */
17
+ export declare const LIST_CHECKBOX_CLASS_NAME = "size-4.5 border-muted-foreground/50 bg-card dark:border-muted-foreground/60 dark:bg-transparent";
18
+ export declare const SEARCH_BOX_CLASS_NAME = "flex h-9 items-center gap-2 rounded-lg border border-input bg-card px-3 focus-within:border-primary focus-within:ring-2 focus-within:ring-primary/30";
19
+ //# sourceMappingURL=PickListFilter.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PickListFilter.utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/PickListFilter/PickListFilter.utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE1D,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,SAAS,iBAAiB,EAAE,EACrC,KAAK,EAAE,MAAM,GACZ,iBAAiB,EAAE,CAMrB;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,OAAO,GAAG,MAAM,CAK1D;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,OAAO,GAAG,MAAM,CAK1D;AAED,mFAAmF;AACnF,eAAO,MAAM,kBAAkB,IAAI,CAAC;AAEpC,gFAAgF;AAChF,eAAO,MAAM,yBAAyB,6BAA6B,CAAC;AAEpE,iIAAiI;AACjI,eAAO,MAAM,uBAAuB,4CACO,CAAC;AAC5C,eAAO,MAAM,uBAAuB,iCAAiC,CAAC;AAEtE,kFAAkF;AAClF,eAAO,MAAM,qBAAqB,UAAU,CAAC;AAE7C,eAAO,MAAM,yBAAyB,GAAI,MAAM,OAAO,KAAG,MACE,CAAC;AAE7D,eAAO,MAAM,mBAAmB,iHACgF,CAAC;AAEjH,2FAA2F;AAC3F,eAAO,MAAM,wBAAwB,oGAC8D,CAAC;AAEpG,eAAO,MAAM,qBAAqB,yJACsH,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { PickListFilter } from './PickListFilter';
2
+ export type { PickListFilterProps, PickListLayout } from './PickListFilter';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/PickListFilter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { ReactElement } from 'react';
2
+ import type { ScaleRangeFilterProps } from './ScaleRangeFilter.types';
3
+ export type { ScaleRangeFilterProps, ScalePosition, } from './ScaleRangeFilter.types';
4
+ /** Ordered-scale filter: click a start option, then an end option. */
5
+ export declare function ScaleRangeFilter({ options, value, onChange, ariaLabel, columns, fill, }: ScaleRangeFilterProps): ReactElement;
6
+ //# sourceMappingURL=ScaleRangeFilter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScaleRangeFilter.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/ScaleRangeFilter/ScaleRangeFilter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAO1C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAEtE,YAAY,EACV,qBAAqB,EACrB,aAAa,GACd,MAAM,0BAA0B,CAAC;AAElC,sEAAsE;AACtE,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,KAAK,EACL,QAAQ,EACR,SAAS,EACT,OAAO,EACP,IAAY,GACb,EAAE,qBAAqB,GAAG,YAAY,CA2BtC"}
@@ -0,0 +1,4 @@
1
+ import type { UseScaleRangeFilterArgs, UseScaleRangeFilterResult } from './ScaleRangeFilter.types';
2
+ /** First click picks the start option, the next click the end option; a click after that starts over. */
3
+ export declare function useScaleRangeFilter({ value, onChange, }: UseScaleRangeFilterArgs): UseScaleRangeFilterResult;
4
+ //# sourceMappingURL=ScaleRangeFilter.hooks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScaleRangeFilter.hooks.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/ScaleRangeFilter/ScaleRangeFilter.hooks.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,uBAAuB,EACvB,yBAAyB,EAC1B,MAAM,0BAA0B,CAAC;AAElC,yGAAyG;AACzG,wBAAgB,mBAAmB,CAAC,EAClC,KAAK,EACL,QAAQ,GACT,EAAE,uBAAuB,GAAG,yBAAyB,CAiBrD"}
@@ -0,0 +1,22 @@
1
+ import type { FilterFieldOption, ScaleRangeValue } from '../Filters.types';
2
+ export interface ScaleRangeFilterProps {
3
+ /** Scales in scale order. */
4
+ options: FilterFieldOption[];
5
+ value?: ScaleRangeValue;
6
+ onChange: (value: ScaleRangeValue | undefined) => void;
7
+ ariaLabel: string;
8
+ /** Fixed column count; omit to fit as many tiles as the width allows. */
9
+ columns?: number;
10
+ /** Larger tiles, for a roomy card; the compact size suits popovers. */
11
+ fill?: boolean;
12
+ }
13
+ /** Where an option sits relative to the selected range. */
14
+ export type ScalePosition = 'end' | 'between' | 'outside';
15
+ export interface UseScaleRangeFilterArgs {
16
+ value: ScaleRangeValue | undefined;
17
+ onChange: (value: ScaleRangeValue | undefined) => void;
18
+ }
19
+ export interface UseScaleRangeFilterResult {
20
+ selectOption: (option: string) => void;
21
+ }
22
+ //# sourceMappingURL=ScaleRangeFilter.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScaleRangeFilter.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/ScaleRangeFilter/ScaleRangeFilter.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAE3E,MAAM,WAAW,qBAAqB;IACpC,6BAA6B;IAC7B,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC7B,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,QAAQ,EAAE,CAAC,KAAK,EAAE,eAAe,GAAG,SAAS,KAAK,IAAI,CAAC;IACvD,SAAS,EAAE,MAAM,CAAC;IAClB,yEAAyE;IACzE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,uEAAuE;IACvE,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,2DAA2D;AAC3D,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,SAAS,GAAG,SAAS,CAAC;AAE1D,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,eAAe,GAAG,SAAS,CAAC;IACnC,QAAQ,EAAE,CAAC,KAAK,EAAE,eAAe,GAAG,SAAS,KAAK,IAAI,CAAC;CACxD;AAED,MAAM,WAAW,yBAAyB;IACxC,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC"}
@@ -0,0 +1,7 @@
1
+ import type { FilterFieldOption, ScaleRangeValue } from '../Filters.types';
2
+ import type { ScalePosition } from './ScaleRangeFilter.types';
3
+ export declare function getScalePosition(options: readonly FilterFieldOption[], value: ScaleRangeValue | undefined, option: string): ScalePosition;
4
+ /** Next range after clicking `scale`: a fresh single-option range, or the end of the pending one. */
5
+ export declare function getNextScaleRange(anchor: string | null, option: string): ScaleRangeValue;
6
+ export declare function getScaleButtonClassName(position: ScalePosition, fill?: boolean): string;
7
+ //# sourceMappingURL=ScaleRangeFilter.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScaleRangeFilter.utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/ScaleRangeFilter/ScaleRangeFilter.utils.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAE9D,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,SAAS,iBAAiB,EAAE,EACrC,KAAK,EAAE,eAAe,GAAG,SAAS,EAClC,MAAM,EAAE,MAAM,GACb,aAAa,CAMf;AAED,qGAAqG;AACrG,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,GAAG,IAAI,EACrB,MAAM,EAAE,MAAM,GACb,eAAe,CAIjB;AAED,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,aAAa,EACvB,IAAI,UAAQ,GACX,MAAM,CAYR"}
@@ -0,0 +1,3 @@
1
+ export { ScaleRangeFilter } from './ScaleRangeFilter';
2
+ export type { ScaleRangeFilterProps, ScalePosition } from './ScaleRangeFilter';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/ScaleRangeFilter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { ReactElement } from 'react';
2
+ import type { ScrollFadeProps } from './ScrollFade.types';
3
+ export type { ScrollFadeProps } from './ScrollFade.types';
4
+ /** Scroll container that fades its top / bottom edge while more content is hidden there, so it reads as scrollable. */
5
+ export declare function ScrollFade({ className, wrapperClassName, children, ...props }: ScrollFadeProps): ReactElement;
6
+ //# sourceMappingURL=ScrollFade.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScrollFade.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/ScrollFade/ScrollFade.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAG1D,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,uHAAuH;AACvH,wBAAgB,UAAU,CAAC,EACzB,SAAS,EACT,gBAAgB,EAChB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,eAAe,GAAG,YAAY,CAqBhC"}
@@ -0,0 +1,7 @@
1
+ import type { RefObject } from 'react';
2
+ import type { ScrollFadeState } from './ScrollFade.types';
3
+ export declare function useScrollFade(): ScrollFadeState & {
4
+ ref: RefObject<HTMLDivElement | null>;
5
+ update: () => void;
6
+ };
7
+ //# sourceMappingURL=ScrollFade.hooks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScrollFade.hooks.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/ScrollFade/ScrollFade.hooks.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAG1D,wBAAgB,aAAa,IAAI,eAAe,GAAG;IACjD,GAAG,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IACtC,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB,CAiCA"}
@@ -0,0 +1,15 @@
1
+ import type { HTMLAttributes, ReactNode } from 'react';
2
+ export interface ScrollFadeProps extends HTMLAttributes<HTMLDivElement> {
3
+ /** Classes for the scrolling element itself (max height, layout). */
4
+ className?: string;
5
+ /** Classes for the outer positioning wrapper, e.g. to let it grow in a flex column. */
6
+ wrapperClassName?: string;
7
+ children: ReactNode;
8
+ }
9
+ export interface ScrollFadeState {
10
+ /** More content above the visible area. */
11
+ top: boolean;
12
+ /** More content below the visible area. */
13
+ bottom: boolean;
14
+ }
15
+ //# sourceMappingURL=ScrollFade.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScrollFade.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/ScrollFade/ScrollFade.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACrE,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uFAAuF;IACvF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC9B,2CAA2C;IAC3C,GAAG,EAAE,OAAO,CAAC;IACb,2CAA2C;IAC3C,MAAM,EAAE,OAAO,CAAC;CACjB"}
@@ -0,0 +1,4 @@
1
+ import type { ScrollFadeState } from './ScrollFade.types';
2
+ export declare function getScrollFadeState(el: HTMLElement): ScrollFadeState;
3
+ export declare const FADE_BASE_CLASS_NAME = "pointer-events-none absolute inset-x-0 h-8 from-card to-transparent";
4
+ //# sourceMappingURL=ScrollFade.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScrollFade.utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/ScrollFade/ScrollFade.utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAK1D,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,WAAW,GAAG,eAAe,CAMnE;AAED,eAAO,MAAM,oBAAoB,wEACsC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { ScrollFade } from './ScrollFade';
2
+ export type { ScrollFadeProps } from './ScrollFade';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/ScrollFade/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { KeyboardEvent } from 'react';
2
+ import type { TriStateValue } from '../Filters.types';
3
+ /** Arrow keys move and select within the radio group, wrapping at either end. */
4
+ export declare function getArrowKeyTarget(current: TriStateValue, key: string): TriStateValue | null;
5
+ export declare function createRadioGroupKeyDownHandler(current: TriStateValue, onChange: (value: TriStateValue) => void): (event: KeyboardEvent<HTMLDivElement>) => void;
6
+ //# sourceMappingURL=TriStateFilter.accessibility.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TriStateFilter.accessibility.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/TriStateFilter/TriStateFilter.accessibility.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKtD,iFAAiF;AACjF,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,aAAa,EACtB,GAAG,EAAE,MAAM,GACV,aAAa,GAAG,IAAI,CAStB;AAED,wBAAgB,8BAA8B,CAC5C,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,GACvC,CAAC,KAAK,EAAE,aAAa,CAAC,cAAc,CAAC,KAAK,IAAI,CAUhD"}
@@ -0,0 +1,6 @@
1
+ import type { ReactElement } from 'react';
2
+ import type { TriStateFilterProps } from './TriStateFilter.types';
3
+ export type { TriStateFilterProps } from './TriStateFilter.types';
4
+ /** Any / Yes / No radio group for boolean columns (e.g. Active). */
5
+ export declare function TriStateFilter({ value, onChange, ariaLabel, }: TriStateFilterProps): ReactElement;
6
+ //# sourceMappingURL=TriStateFilter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TriStateFilter.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/TriStateFilter/TriStateFilter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAO1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE,YAAY,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE,oEAAoE;AACpE,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,QAAQ,EACR,SAAS,GACV,EAAE,mBAAmB,GAAG,YAAY,CAiCpC"}
@@ -0,0 +1,7 @@
1
+ import type { TriStateValue } from '../Filters.types';
2
+ export interface TriStateFilterProps {
3
+ value: TriStateValue;
4
+ onChange: (value: TriStateValue) => void;
5
+ ariaLabel: string;
6
+ }
7
+ //# sourceMappingURL=TriStateFilter.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TriStateFilter.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/TriStateFilter/TriStateFilter.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,aAAa,CAAC;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IACzC,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,3 @@
1
+ export declare function getRadioRowClassName(checked: boolean): string;
2
+ export declare function getRadioCircleClassName(checked: boolean): string;
3
+ //# sourceMappingURL=TriStateFilter.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TriStateFilter.utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/TriStateFilter/TriStateFilter.utils.ts"],"names":[],"mappings":"AAGA,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAM7D;AAED,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAKhE"}
@@ -0,0 +1,3 @@
1
+ export { TriStateFilter } from './TriStateFilter';
2
+ export type { TriStateFilterProps } from './TriStateFilter';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/TriStateFilter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { ReactElement } from 'react';
2
+ import type { TruncatedLabelProps } from './TruncatedLabel.types';
3
+ export type { TruncatedLabelProps } from './TruncatedLabel.types';
4
+ /** Single-line label that shows its full text in a tooltip, only while it is cut off. */
5
+ export declare function TruncatedLabel({ text, className, }: TruncatedLabelProps): ReactElement;
6
+ //# sourceMappingURL=TruncatedLabel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TruncatedLabel.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/TruncatedLabel/TruncatedLabel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAS1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE,YAAY,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE,yFAAyF;AACzF,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,SAAS,GACV,EAAE,mBAAmB,GAAG,YAAY,CAepC"}
@@ -0,0 +1,5 @@
1
+ export interface TruncatedLabelProps {
2
+ text: string;
3
+ className?: string;
4
+ }
5
+ //# sourceMappingURL=TruncatedLabel.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TruncatedLabel.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/TruncatedLabel/TruncatedLabel.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,3 @@
1
+ export { TruncatedLabel } from './TruncatedLabel';
2
+ export type { TruncatedLabelProps } from './TruncatedLabel';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Filters/TruncatedLabel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,17 @@
1
+ export * from './ActiveFilterChips';
2
+ export * from './ContainsFilter';
3
+ export * from './DateRangeFilter';
4
+ export * from './FilterCellPopover';
5
+ export * from './FilterEmptyState';
6
+ export * from './FilterPanel';
7
+ export * from './ScaleRangeFilter';
8
+ export * from './IdListInput';
9
+ export * from './NumberExpressionFilter';
10
+ export * from './NumberRangeInputs';
11
+ export * from './PickListFilter';
12
+ export * from './ScrollFade';
13
+ export * from './TriStateFilter';
14
+ export * from './TruncatedLabel';
15
+ export type { DatePreset, DateRangeValue, FilterControlType, FilterFieldOption, FilterFieldState, FilterValue, ScaleRangeValue, NumberRangeValue, TriStateValue, } from './Filters.types';
16
+ export { DATE_PRESET_OPTIONS, expandScaleRange, formatDateRange, formatScaleRange, formatNumberRange, formatSelectedCount, isFilterValueActive, parseNumberExpression, resolveDatePreset, resolveDateRange, splitIdList, } from './Filters.utils';
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Filters/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,YAAY,EACV,UAAU,EACV,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,aAAa,GACd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,gBAAgB,EAChB,WAAW,GACZ,MAAM,iBAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"InventoryFilterSelects.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/InventoryFilterSelects.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,UAAU,gBAAgB;IACxB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACnC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB;IAC5D,gBAAgB,EAAE,MAAM,OAAO,CAAC,SAAS,EAAE,CAAC,CAAC;CAC9C;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAUtD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAWtD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAWnD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAuB1D,CAAC"}
1
+ {"version":3,"file":"InventoryFilterSelects.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/InventoryFilterSelects.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,UAAU,gBAAgB;IACxB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACnC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB;IAC5D,gBAAgB,EAAE,MAAM,OAAO,CAAC,SAAS,EAAE,CAAC,CAAC;CAC9C;AA+BD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAOtD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAOtD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAOnD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAuB1D,CAAC"}
@@ -5,5 +5,5 @@ export type { ModalProps, ModalSize } from './Modal.types';
5
5
  * Built on top of shadcn DialogContent, so it inherits viewport-centered
6
6
  * positioning, focus trapping, portal rendering, and overlay handling.
7
7
  */
8
- export declare function Modal({ open, onClose, title, icon, children, footer, size, hideCloseButton, className, bodyClassName, }: ModalProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Modal({ open, onClose, title, description, icon, children, footer, size, hideCloseButton, className, bodyClassName, }: ModalProps): import("react/jsx-runtime").JSX.Element;
9
9
  //# sourceMappingURL=Modal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Modal/Modal.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAa,MAAM,eAAe,CAAC;AAE3D,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAS3D;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,EACpB,IAAI,EACJ,OAAO,EACP,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,IAAW,EACX,eAAuB,EACvB,SAAS,EACT,aAAa,GACd,EAAE,UAAU,2CA8CZ"}
1
+ {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Modal/Modal.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE3D;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,EACpB,IAAI,EACJ,OAAO,EACP,KAAK,EACL,WAAW,EACX,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,IAAgB,EAChB,eAAuB,EACvB,SAAS,EACT,aAAa,GACd,EAAE,UAAU,2CAmDZ"}
@@ -1,17 +1,23 @@
1
1
  import type { ReactNode } from 'react';
2
- export type ModalSize = 'sm' | 'md' | 'lg' | 'xl';
2
+ /**
3
+ * `default` (32rem) for every modal; `wide` (50rem) only for content that needs it.
4
+ * @deprecated 'sm' | 'md' | 'lg' | 'xl' — kept for old callers, all render at the default width.
5
+ */
6
+ export type ModalSize = 'default' | 'wide' | 'sm' | 'md' | 'lg' | 'xl';
3
7
  export interface ModalProps {
4
8
  open: boolean;
5
9
  onClose: () => void;
6
10
  /** Title shown in the header. Use a string, or pass a node (icon + text). */
7
11
  title: ReactNode;
8
- /** Optional icon rendered before the title text. */
12
+ /** Under the title, e.g. what happens on confirm. */
13
+ description?: ReactNode;
14
+ /** Names the action in a tinted tile beside the title. */
9
15
  icon?: ReactNode;
10
16
  /** Body content. Scrolls internally when content exceeds the available height. */
11
17
  children: ReactNode;
12
18
  /** Footer content (typically Cancel / primary action buttons). Hidden when omitted. */
13
19
  footer?: ReactNode;
14
- /** Max width preset. @default 'md' */
20
+ /** Width preset. @default 'default' */
15
21
  size?: ModalSize;
16
22
  /** Hide the close (X) button in the header. @default false */
17
23
  hideCloseButton?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.types.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Modal/Modal.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAElD,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,6EAA6E;IAC7E,KAAK,EAAE,SAAS,CAAC;IACjB,oDAAoD;IACpD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,kFAAkF;IAClF,QAAQ,EAAE,SAAS,CAAC;IACpB,uFAAuF;IACvF,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,sCAAsC;IACtC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,8DAA8D;IAC9D,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mDAAmD;IACnD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
1
+ {"version":3,"file":"Modal.types.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Modal/Modal.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEvE,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,6EAA6E;IAC7E,KAAK,EAAE,SAAS,CAAC;IACjB,qDAAqD;IACrD,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,0DAA0D;IAC1D,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,kFAAkF;IAClF,QAAQ,EAAE,SAAS,CAAC;IACpB,uFAAuF;IACvF,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,uCAAuC;IACvC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,8DAA8D;IAC9D,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mDAAmD;IACnD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ImageCropModal.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/FileUploader/ImageCropModal.tsx"],"names":[],"mappings":"AAOA,OAAO,qCAAqC,CAAC;AAkD7C,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,CAAC,WAAW,EAAE,IAAI,KAAK,IAAI,CAAC;CACxC;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,SAAS,GACV,EAAE,mBAAmB,2CAwJrB"}
1
+ {"version":3,"file":"ImageCropModal.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/FileUploader/ImageCropModal.tsx"],"names":[],"mappings":"AAOA,OAAO,qCAAqC,CAAC;AAkD7C,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,CAAC,WAAW,EAAE,IAAI,KAAK,IAAI,CAAC;CACxC;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,SAAS,GACV,EAAE,mBAAmB,2CAuJrB"}
@@ -0,0 +1,11 @@
1
+ import type { ReactElement } from 'react';
2
+ import type { FilterFieldCardProps, FilterFieldControlProps, FilterFieldProps } from './FilterField.types';
3
+ export type { FilterFieldCardProps, FilterFieldConfig, FilterFieldControlProps, FilterFieldMode, FilterFieldProps, } from './FilterField.types';
4
+ /** The control alone — identical in a filter-row popover and on a card, except the list layout. Compose it into custom cards. */
5
+ export declare function FilterFieldControl({ field, value, onChange, fiscalYearStartMonth, fill, inPopover, }: FilterFieldControlProps): ReactElement;
6
+ /** Filter-row cell: inline input for number/contains, otherwise a trigger that opens the control in a popover. */
7
+ export declare function FilterFieldCell({ field, value, onChange, fiscalYearStartMonth, className, }: Omit<FilterFieldProps, 'mode'>): ReactElement;
8
+ /** The filter's card: on a full-page surface (`card`), in a filter-row popover (`popover`), or as a titled block inside a composite card (`section`). */
9
+ export declare function FilterFieldCard({ field, value, onChange, fiscalYearStartMonth, action, className, mode, }: FilterFieldCardProps): ReactElement;
10
+ export declare function FilterField(props: FilterFieldProps): ReactElement;
11
+ //# sourceMappingURL=FilterField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterField.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/Filters/FilterField/FilterField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAe1C,OAAO,KAAK,EACV,oBAAoB,EAEpB,uBAAuB,EACvB,gBAAgB,EACjB,MAAM,qBAAqB,CAAC;AAsB7B,YAAY,EACV,oBAAoB,EACpB,iBAAiB,EACjB,uBAAuB,EACvB,eAAe,EACf,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AA0B7B,iIAAiI;AACjI,wBAAgB,kBAAkB,CAAC,EACjC,KAAK,EACL,KAAK,EACL,QAAQ,EACR,oBAAoB,EACpB,IAAI,EACJ,SAAS,GACV,EAAE,uBAAuB,GAAG,YAAY,CAwFxC;AAED,kHAAkH;AAClH,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,KAAK,EACL,QAAQ,EACR,oBAAoB,EACpB,SAAS,GACV,EAAE,IAAI,CAAC,gBAAgB,EAAE,MAAM,CAAC,GAAG,YAAY,CAsD/C;AAED,yJAAyJ;AACzJ,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,KAAK,EACL,QAAQ,EACR,oBAAoB,EACpB,MAAM,EACN,SAAS,EACT,IAAI,GACL,EAAE,oBAAoB,GAAG,YAAY,CAoCrC;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,YAAY,CAOjE"}
@@ -0,0 +1,66 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { PickListLayout } from '@/components/molecules/Filters/PickListFilter';
3
+ import type { FilterControlType, FilterFieldOption, FilterValue } from '@/components/molecules/Filters/Filters.types';
4
+ /** Everything needed to render one filter anywhere: filter-row cell, card, or section inside a card. */
5
+ export interface FilterFieldConfig {
6
+ key: string;
7
+ label: string;
8
+ type: FilterControlType;
9
+ /** `list` options, or the ordered scale for `scale`. */
10
+ options?: FilterFieldOption[];
11
+ /** Filter-row placeholder, e.g. `>2000`; each type has a default. */
12
+ placeholder?: string;
13
+ /** Example text inside the ID-list / contains box, or the empty single-select dropdown (the filter-row pill keeps `placeholder`). */
14
+ inputPlaceholder?: string;
15
+ /** `list`: one value at a time — a dropdown on cards (e.g. Vendor). */
16
+ single?: boolean;
17
+ /** `list` popover search box placeholder, e.g. `Search colors`. */
18
+ searchPlaceholder?: string;
19
+ /** `list` layout on cards; the filter-row popover always uses `list`. Above 10 options the card also switches to `list`, even when set (intended: long chip/tile sets don't scale). */
20
+ layout?: PickListLayout;
21
+ /** Grid columns for `scale` and `tiles`. */
22
+ columns?: number;
23
+ /** `scale`: the filter-row pill summarises with initials (VG – F). */
24
+ shortLabels?: boolean;
25
+ /** Extra info in the number popover (e.g. how stored ranges are matched). */
26
+ note?: ReactNode;
27
+ /** Helper text under a card's body. */
28
+ hint?: ReactNode;
29
+ /** `number` card presets, e.g. common sizes. */
30
+ presets?: {
31
+ label: string;
32
+ range: {
33
+ min?: number;
34
+ max?: number;
35
+ };
36
+ }[];
37
+ presetsLabel?: string;
38
+ /** Renders the "Not filterable" cell and no card. */
39
+ disabled?: boolean;
40
+ /** Tooltip on the disabled filter-row cell. */
41
+ disabledLabel?: string;
42
+ /** Helper under the ID-list box in the filter-row popover. */
43
+ helperText?: string;
44
+ }
45
+ export type FilterFieldMode = 'cell' | 'card' | 'section';
46
+ export interface FilterFieldProps {
47
+ field: FilterFieldConfig;
48
+ value?: FilterValue;
49
+ onChange: (value: FilterValue | undefined) => void;
50
+ mode: FilterFieldMode;
51
+ /** 1–12, for the "This fiscal year" date preset. */
52
+ fiscalYearStartMonth?: number;
53
+ /** Card mode: header extra content such as a toggle. */
54
+ action?: ReactNode;
55
+ className?: string;
56
+ }
57
+ export interface FilterFieldControlProps extends Pick<FilterFieldProps, 'field' | 'value' | 'onChange' | 'fiscalYearStartMonth'> {
58
+ /** Option lists grow into a stretched card's free height (single-filter cards). */
59
+ fill?: boolean;
60
+ /** Inside a filter-row popover: single-selects stay a list, ID lists keep their helper text. */
61
+ inPopover?: boolean;
62
+ }
63
+ export interface FilterFieldCardProps extends Omit<FilterFieldProps, 'mode'> {
64
+ mode: 'card' | 'popover' | 'section';
65
+ }
66
+ //# sourceMappingURL=FilterField.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterField.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/Filters/FilterField/FilterField.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AACpF,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EACjB,WAAW,EACZ,MAAM,8CAA8C,CAAC;AAEtD,wGAAwG;AACxG,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,iBAAiB,CAAC;IACxB,wDAAwD;IACxD,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC9B,qEAAqE;IACrE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qIAAqI;IACrI,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,uEAAuE;IACvE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mEAAmE;IACnE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,uLAAuL;IACvL,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,4CAA4C;IAC5C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sEAAsE;IACtE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,6EAA6E;IAC7E,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,uCAAuC;IACvC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,gDAAgD;IAChD,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE;YAAE,GAAG,CAAC,EAAE,MAAM,CAAC;YAAC,GAAG,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,EAAE,CAAC;IACrE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qDAAqD;IACrD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+CAA+C;IAC/C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,8DAA8D;IAC9D,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;AAE1D,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,iBAAiB,CAAC;IACzB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG,SAAS,KAAK,IAAI,CAAC;IACnD,IAAI,EAAE,eAAe,CAAC;IACtB,oDAAoD;IACpD,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,wDAAwD;IACxD,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,uBAAwB,SAAQ,IAAI,CACnD,gBAAgB,EAChB,OAAO,GAAG,OAAO,GAAG,UAAU,GAAG,sBAAsB,CACxD;IACC,mFAAmF;IACnF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,gGAAgG;IAChG,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAC1E,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;CACtC"}
@@ -0,0 +1,38 @@
1
+ import type { DateRangeValue, FilterControlType, FilterFieldState, FilterValue, ScaleRangeValue, NumberRangeValue, TriStateValue } from '@/components/molecules/Filters/Filters.types';
2
+ import type { PickListLayout } from '@/components/molecules/Filters/PickListFilter';
3
+ import type { FilterFieldConfig } from './FilterField.types';
4
+ type ValueOf<T extends FilterControlType> = Extract<FilterValue, {
5
+ type: T;
6
+ }>;
7
+ /** The value narrowed to one control type, or undefined when it holds another (or none). */
8
+ export declare function valueOfType<T extends FilterControlType>(value: FilterValue | undefined, type: T): ValueOf<T> | undefined;
9
+ /** Each builder returns `undefined` for an empty selection so cleared filters drop out of state. */
10
+ export declare const toListValue: (values: string[]) => FilterValue | undefined;
11
+ export declare const toScaleValue: (range: ScaleRangeValue | undefined) => FilterValue | undefined;
12
+ export declare const toNumberValue: (range: NumberRangeValue | undefined) => FilterValue | undefined;
13
+ export declare const toIdsValue: (ids: string[]) => FilterValue | undefined;
14
+ export declare const toContainsValue: (text: string) => FilterValue | undefined;
15
+ export declare const toDateValue: (range: DateRangeValue | undefined) => FilterValue | undefined;
16
+ export declare const toBoolValue: (value: TriStateValue) => FilterValue | undefined;
17
+ export declare const DEFAULT_CELL_PLACEHOLDERS: Record<FilterControlType, string>;
18
+ export declare function getCellState(field: FilterFieldConfig, value: FilterValue | undefined): FilterFieldState;
19
+ /** Human-readable value for chips and card summaries, e.g. `Red, Blue`, `1–3`, `Last 30 days`. */
20
+ export declare function describeFilterValue(field: FilterFieldConfig, value: FilterValue | undefined): string;
21
+ /** Short value shown on the filter-row trigger, e.g. `Red +1`, `VG – F`, `3 IDs`. */
22
+ export declare function getCellLabel(field: FilterFieldConfig, value: FilterValue | undefined): string;
23
+ /** Filter-row popovers hold the filter's card at a compact, fixed width. */
24
+ export declare function getPopoverWidthClassName(field: FilterFieldConfig): string;
25
+ /** Above this many options, chips / tiles give way to the searchable checkbox list. */
26
+ export declare const MAX_PILL_OPTIONS = 10;
27
+ /** The list layout actually used: the configured one, or the checkbox list once there are too many options for pills. */
28
+ export declare function resolveListLayout(field: FilterFieldConfig): PickListLayout;
29
+ /** Popover variant: tile and option grids drop to two columns; chip lists become the checkbox list. */
30
+ export declare function toPopoverField(field: FilterFieldConfig): FilterFieldConfig;
31
+ /** ID lists and searchable lists carry their own "x selected · Clear" row, so the card skips its Clear (and, in a popover, its title). */
32
+ export declare const ownsClearRow: (field: FilterFieldConfig) => boolean;
33
+ /** Popover header text in place of the title: `2 of 17 selected`, or the applied value (`VG – F`, `Last 30 days`). */
34
+ export declare function getPopoverStatus(field: FilterFieldConfig, value: FilterValue | undefined): string | undefined;
35
+ /** The empty single-select trigger: `inputPlaceholder`, else `Any <label>` (lowercased — set `inputPlaceholder` for acronyms). */
36
+ export declare const getSingleSelectPlaceholder: (field: FilterFieldConfig) => string;
37
+ export {};
38
+ //# sourceMappingURL=FilterField.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterField.utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/Filters/FilterField/FilterField.utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EACjB,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,aAAa,EACd,MAAM,8CAA8C,CAAC;AAUtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AACpF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,KAAK,OAAO,CAAC,CAAC,SAAS,iBAAiB,IAAI,OAAO,CAAC,WAAW,EAAE;IAAE,IAAI,EAAE,CAAC,CAAA;CAAE,CAAC,CAAC;AAE9E,4FAA4F;AAC5F,wBAAgB,WAAW,CAAC,CAAC,SAAS,iBAAiB,EACrD,KAAK,EAAE,WAAW,GAAG,SAAS,EAC9B,IAAI,EAAE,CAAC,GACN,OAAO,CAAC,CAAC,CAAC,GAAG,SAAS,CAExB;AAED,oGAAoG;AACpG,eAAO,MAAM,WAAW,GAAI,QAAQ,MAAM,EAAE,KAAG,WAAW,GAAG,SACP,CAAC;AAEvD,eAAO,MAAM,YAAY,GACvB,OAAO,eAAe,GAAG,SAAS,KACjC,WAAW,GAAG,SAA2D,CAAC;AAE7E,eAAO,MAAM,aAAa,GACxB,OAAO,gBAAgB,GAAG,SAAS,KAClC,WAAW,GAAG,SAGF,CAAC;AAEhB,eAAO,MAAM,UAAU,GAAI,KAAK,MAAM,EAAE,KAAG,WAAW,GAAG,SACV,CAAC;AAEhD,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,KAAG,WAAW,GAAG,SACM,CAAC;AAEpE,eAAO,MAAM,WAAW,GACtB,OAAO,cAAc,GAAG,SAAS,KAChC,WAAW,GAAG,SAGF,CAAC;AAEhB,eAAO,MAAM,WAAW,GAAI,OAAO,aAAa,KAAG,WAAW,GAAG,SACV,CAAC;AAExD,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAQvE,CAAC;AAEF,wBAAgB,YAAY,CAC1B,KAAK,EAAE,iBAAiB,EACxB,KAAK,EAAE,WAAW,GAAG,SAAS,GAC7B,gBAAgB,CAGlB;AAED,kGAAkG;AAClG,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,iBAAiB,EACxB,KAAK,EAAE,WAAW,GAAG,SAAS,GAC7B,MAAM,CAiCR;AAED,qFAAqF;AACrF,wBAAgB,YAAY,CAC1B,KAAK,EAAE,iBAAiB,EACxB,KAAK,EAAE,WAAW,GAAG,SAAS,GAC7B,MAAM,CAYR;AAED,4EAA4E;AAC5E,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,CAIzE;AAID,uFAAuF;AACvF,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAEnC,yHAAyH;AACzH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,GAAG,cAAc,CAI1E;AAED,uGAAuG;AACvG,wBAAgB,cAAc,CAAC,KAAK,EAAE,iBAAiB,GAAG,iBAAiB,CAS1E;AAED,0IAA0I;AAC1I,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,KAAG,OAEQ,CAAC;AAEjE,sHAAsH;AACtH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,iBAAiB,EACxB,KAAK,EAAE,WAAW,GAAG,SAAS,GAC7B,MAAM,GAAG,SAAS,CASpB;AAED,kIAAkI;AAClI,eAAO,MAAM,0BAA0B,GAAI,OAAO,iBAAiB,KAAG,MACR,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { FilterField, FilterFieldCard, FilterFieldCell, FilterFieldControl, } from './FilterField';
2
+ export type { FilterFieldCardProps, FilterFieldConfig, FilterFieldControlProps, FilterFieldMode, FilterFieldProps, } from './FilterField';
3
+ export { describeFilterValue, toBoolValue, toContainsValue, toDateValue, toScaleValue, toIdsValue, toListValue, toNumberValue, valueOfType, } from './FilterField.utils';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/Filters/FilterField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,eAAe,EACf,eAAe,EACf,kBAAkB,GACnB,MAAM,eAAe,CAAC;AACvB,YAAY,EACV,oBAAoB,EACpB,iBAAiB,EACjB,uBAAuB,EACvB,eAAe,EACf,gBAAgB,GACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,mBAAmB,EACnB,WAAW,EACX,eAAe,EACf,WAAW,EACX,YAAY,EACZ,UAAU,EACV,WAAW,EACX,aAAa,EACb,WAAW,GACZ,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,4 @@
1
+ /** Both leave without applying — the draft is discarded. */
2
+ export declare const BACK_LABEL = "Back without applying";
3
+ export declare const CLOSE_LABEL = "Close without applying";
4
+ //# sourceMappingURL=FilterSurface.accessibility.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterSurface.accessibility.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/Filters/FilterSurface/FilterSurface.accessibility.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,eAAO,MAAM,UAAU,0BAA0B,CAAC;AAClD,eAAO,MAAM,WAAW,2BAA2B,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { ReactElement } from 'react';
2
+ import type { FilterSurfaceGroupProps, FilterSurfaceMoreProps, FilterSurfaceProps } from './FilterSurface.types';
3
+ export type { FilterSurfaceGroupProps, FilterSurfaceMoreProps, FilterSurfaceProps, } from './FilterSurface.types';
4
+ /** Full-page filter screen (e.g. an advanced search): header, scrolling card grid, sticky apply footer. */
5
+ export declare function FilterSurface({ title, headerActions, footerChips, footerActions, onClose, children, }: FilterSurfaceProps): ReactElement;
6
+ export declare function FilterSurfaceGroup({ title, className, children, }: FilterSurfaceGroupProps): ReactElement;
7
+ /** Collapsed "More filters" divider that reveals extra cards. */
8
+ export declare function FilterSurfaceMore({ label, defaultExpanded, children, }: FilterSurfaceMoreProps): ReactElement;
9
+ //# sourceMappingURL=FilterSurface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterSurface.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/Filters/FilterSurface/FilterSurface.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAM1C,OAAO,KAAK,EACV,uBAAuB,EACvB,sBAAsB,EACtB,kBAAkB,EACnB,MAAM,uBAAuB,CAAC;AAE/B,YAAY,EACV,uBAAuB,EACvB,sBAAsB,EACtB,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAE/B,2GAA2G;AAC3G,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,aAAa,EACb,WAAW,EACX,aAAa,EACb,OAAO,EACP,QAAQ,GACT,EAAE,kBAAkB,GAAG,YAAY,CAiDnC;AAED,wBAAgB,kBAAkB,CAAC,EACjC,KAAK,EACL,SAAS,EACT,QAAQ,GACT,EAAE,uBAAuB,GAAG,YAAY,CAaxC;AAED,iEAAiE;AACjE,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,eAAe,EACf,QAAQ,GACT,EAAE,sBAAsB,GAAG,YAAY,CA0BvC"}
@@ -0,0 +1,6 @@
1
+ export declare function useCloseOnEscape(onClose: () => void): void;
2
+ export declare function useFilterSurfaceMore(defaultExpanded?: boolean): {
3
+ expanded: boolean;
4
+ toggle: () => void;
5
+ };
6
+ //# sourceMappingURL=FilterSurface.hooks.d.ts.map