@flipdish/ui-library 0.2.1

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 (379) hide show
  1. package/README.md +338 -0
  2. package/dist/components/atoms/Avatar/avatar.utils.d.ts +10 -0
  3. package/dist/components/atoms/Avatar/avatar.utils.d.ts.map +1 -0
  4. package/dist/components/atoms/Avatar/components/avatar-add-button.d.ts +9 -0
  5. package/dist/components/atoms/Avatar/components/avatar-add-button.d.ts.map +1 -0
  6. package/dist/components/atoms/Avatar/components/avatar-company-icon.d.ts +8 -0
  7. package/dist/components/atoms/Avatar/components/avatar-company-icon.d.ts.map +1 -0
  8. package/dist/components/atoms/Avatar/components/avatar-count.cjs +9 -0
  9. package/dist/components/atoms/Avatar/components/avatar-count.cjs.map +1 -0
  10. package/dist/components/atoms/Avatar/components/avatar-count.d.ts +7 -0
  11. package/dist/components/atoms/Avatar/components/avatar-count.d.ts.map +1 -0
  12. package/dist/components/atoms/Avatar/components/avatar-count.js +7 -0
  13. package/dist/components/atoms/Avatar/components/avatar-count.js.map +1 -0
  14. package/dist/components/atoms/Avatar/components/avatar-online-indicator.cjs +21 -0
  15. package/dist/components/atoms/Avatar/components/avatar-online-indicator.cjs.map +1 -0
  16. package/dist/components/atoms/Avatar/components/avatar-online-indicator.d.ts +8 -0
  17. package/dist/components/atoms/Avatar/components/avatar-online-indicator.d.ts.map +1 -0
  18. package/dist/components/atoms/Avatar/components/avatar-online-indicator.js +19 -0
  19. package/dist/components/atoms/Avatar/components/avatar-online-indicator.js.map +1 -0
  20. package/dist/components/atoms/Avatar/components/verified-tick.cjs +21 -0
  21. package/dist/components/atoms/Avatar/components/verified-tick.cjs.map +1 -0
  22. package/dist/components/atoms/Avatar/components/verified-tick.d.ts +7 -0
  23. package/dist/components/atoms/Avatar/components/verified-tick.d.ts.map +1 -0
  24. package/dist/components/atoms/Avatar/components/verified-tick.js +19 -0
  25. package/dist/components/atoms/Avatar/components/verified-tick.js.map +1 -0
  26. package/dist/components/atoms/Avatar/index.cjs +54 -0
  27. package/dist/components/atoms/Avatar/index.cjs.map +1 -0
  28. package/dist/components/atoms/Avatar/index.d.ts +65 -0
  29. package/dist/components/atoms/Avatar/index.d.ts.map +1 -0
  30. package/dist/components/atoms/Avatar/index.js +52 -0
  31. package/dist/components/atoms/Avatar/index.js.map +1 -0
  32. package/dist/components/atoms/Badge/badge.types.cjs +10 -0
  33. package/dist/components/atoms/Badge/badge.types.cjs.map +1 -0
  34. package/dist/components/atoms/Badge/badge.types.d.ts +22 -0
  35. package/dist/components/atoms/Badge/badge.types.d.ts.map +1 -0
  36. package/dist/components/atoms/Badge/badge.types.js +8 -0
  37. package/dist/components/atoms/Badge/badge.types.js.map +1 -0
  38. package/dist/components/atoms/Badge/index.cjs +274 -0
  39. package/dist/components/atoms/Badge/index.cjs.map +1 -0
  40. package/dist/components/atoms/Badge/index.d.ts +129 -0
  41. package/dist/components/atoms/Badge/index.d.ts.map +1 -0
  42. package/dist/components/atoms/Badge/index.js +265 -0
  43. package/dist/components/atoms/Badge/index.js.map +1 -0
  44. package/dist/components/atoms/Button/index.cjs +164 -0
  45. package/dist/components/atoms/Button/index.cjs.map +1 -0
  46. package/dist/components/atoms/Button/index.d.ts +111 -0
  47. package/dist/components/atoms/Button/index.d.ts.map +1 -0
  48. package/dist/components/atoms/Button/index.js +161 -0
  49. package/dist/components/atoms/Button/index.js.map +1 -0
  50. package/dist/components/atoms/Checkbox/index.cjs +35 -0
  51. package/dist/components/atoms/Checkbox/index.cjs.map +1 -0
  52. package/dist/components/atoms/Checkbox/index.d.ts +26 -0
  53. package/dist/components/atoms/Checkbox/index.d.ts.map +1 -0
  54. package/dist/components/atoms/Checkbox/index.js +32 -0
  55. package/dist/components/atoms/Checkbox/index.js.map +1 -0
  56. package/dist/components/atoms/Divider/index.cjs +17 -0
  57. package/dist/components/atoms/Divider/index.cjs.map +1 -0
  58. package/dist/components/atoms/Divider/index.d.ts +17 -0
  59. package/dist/components/atoms/Divider/index.d.ts.map +1 -0
  60. package/dist/components/atoms/Divider/index.js +15 -0
  61. package/dist/components/atoms/Divider/index.js.map +1 -0
  62. package/dist/components/atoms/Dot/index.cjs +29 -0
  63. package/dist/components/atoms/Dot/index.cjs.map +1 -0
  64. package/dist/components/atoms/Dot/index.d.ts +10 -0
  65. package/dist/components/atoms/Dot/index.d.ts.map +1 -0
  66. package/dist/components/atoms/Dot/index.js +27 -0
  67. package/dist/components/atoms/Dot/index.js.map +1 -0
  68. package/dist/components/atoms/FeaturedIcon/index.cjs +122 -0
  69. package/dist/components/atoms/FeaturedIcon/index.cjs.map +1 -0
  70. package/dist/components/atoms/FeaturedIcon/index.d.ts +15 -0
  71. package/dist/components/atoms/FeaturedIcon/index.d.ts.map +1 -0
  72. package/dist/components/atoms/FeaturedIcon/index.js +120 -0
  73. package/dist/components/atoms/FeaturedIcon/index.js.map +1 -0
  74. package/dist/components/atoms/Input/components/hint-text.cjs +17 -0
  75. package/dist/components/atoms/Input/components/hint-text.cjs.map +1 -0
  76. package/dist/components/atoms/Input/components/hint-text.d.ts +15 -0
  77. package/dist/components/atoms/Input/components/hint-text.d.ts.map +1 -0
  78. package/dist/components/atoms/Input/components/hint-text.js +15 -0
  79. package/dist/components/atoms/Input/components/hint-text.js.map +1 -0
  80. package/dist/components/atoms/Input/components/label.cjs +28 -0
  81. package/dist/components/atoms/Input/components/label.cjs.map +1 -0
  82. package/dist/components/atoms/Input/components/label.d.ts +16 -0
  83. package/dist/components/atoms/Input/components/label.d.ts.map +1 -0
  84. package/dist/components/atoms/Input/components/label.js +26 -0
  85. package/dist/components/atoms/Input/components/label.js.map +1 -0
  86. package/dist/components/atoms/Input/index.cjs +78 -0
  87. package/dist/components/atoms/Input/index.cjs.map +1 -0
  88. package/dist/components/atoms/Input/index.d.ts +60 -0
  89. package/dist/components/atoms/Input/index.d.ts.map +1 -0
  90. package/dist/components/atoms/Input/index.js +72 -0
  91. package/dist/components/atoms/Input/index.js.map +1 -0
  92. package/dist/components/atoms/LoadingIndicator/index.cjs +54 -0
  93. package/dist/components/atoms/LoadingIndicator/index.cjs.map +1 -0
  94. package/dist/components/atoms/LoadingIndicator/index.d.ts +24 -0
  95. package/dist/components/atoms/LoadingIndicator/index.d.ts.map +1 -0
  96. package/dist/components/atoms/LoadingIndicator/index.js +52 -0
  97. package/dist/components/atoms/LoadingIndicator/index.js.map +1 -0
  98. package/dist/components/atoms/RadioButton/index.cjs +43 -0
  99. package/dist/components/atoms/RadioButton/index.cjs.map +1 -0
  100. package/dist/components/atoms/RadioButton/index.d.ts +33 -0
  101. package/dist/components/atoms/RadioButton/index.d.ts.map +1 -0
  102. package/dist/components/atoms/RadioButton/index.js +39 -0
  103. package/dist/components/atoms/RadioButton/index.js.map +1 -0
  104. package/dist/components/atoms/Toggle/index.cjs +63 -0
  105. package/dist/components/atoms/Toggle/index.cjs.map +1 -0
  106. package/dist/components/atoms/Toggle/index.d.ts +26 -0
  107. package/dist/components/atoms/Toggle/index.d.ts.map +1 -0
  108. package/dist/components/atoms/Toggle/index.js +60 -0
  109. package/dist/components/atoms/Toggle/index.js.map +1 -0
  110. package/dist/components/atoms/Tooltip/index.cjs +22 -0
  111. package/dist/components/atoms/Tooltip/index.cjs.map +1 -0
  112. package/dist/components/atoms/Tooltip/index.d.ts +30 -0
  113. package/dist/components/atoms/Tooltip/index.d.ts.map +1 -0
  114. package/dist/components/atoms/Tooltip/index.js +19 -0
  115. package/dist/components/atoms/Tooltip/index.js.map +1 -0
  116. package/dist/components/molecules/Breadcrumbs/components/breadcrumb-account-item.cjs +22 -0
  117. package/dist/components/molecules/Breadcrumbs/components/breadcrumb-account-item.cjs.map +1 -0
  118. package/dist/components/molecules/Breadcrumbs/components/breadcrumb-account-item.d.ts +13 -0
  119. package/dist/components/molecules/Breadcrumbs/components/breadcrumb-account-item.d.ts.map +1 -0
  120. package/dist/components/molecules/Breadcrumbs/components/breadcrumb-account-item.js +20 -0
  121. package/dist/components/molecules/Breadcrumbs/components/breadcrumb-account-item.js.map +1 -0
  122. package/dist/components/molecules/Breadcrumbs/components/breadcrumb-item.cjs +44 -0
  123. package/dist/components/molecules/Breadcrumbs/components/breadcrumb-item.cjs.map +1 -0
  124. package/dist/components/molecules/Breadcrumbs/components/breadcrumb-item.d.ts +19 -0
  125. package/dist/components/molecules/Breadcrumbs/components/breadcrumb-item.d.ts.map +1 -0
  126. package/dist/components/molecules/Breadcrumbs/components/breadcrumb-item.js +42 -0
  127. package/dist/components/molecules/Breadcrumbs/components/breadcrumb-item.js.map +1 -0
  128. package/dist/components/molecules/Breadcrumbs/index.cjs +38 -0
  129. package/dist/components/molecules/Breadcrumbs/index.cjs.map +1 -0
  130. package/dist/components/molecules/Breadcrumbs/index.d.ts +25 -0
  131. package/dist/components/molecules/Breadcrumbs/index.d.ts.map +1 -0
  132. package/dist/components/molecules/Breadcrumbs/index.js +35 -0
  133. package/dist/components/molecules/Breadcrumbs/index.js.map +1 -0
  134. package/dist/components/molecules/ButtonGroup/index.cjs +64 -0
  135. package/dist/components/molecules/ButtonGroup/index.cjs.map +1 -0
  136. package/dist/components/molecules/ButtonGroup/index.d.ts +51 -0
  137. package/dist/components/molecules/ButtonGroup/index.d.ts.map +1 -0
  138. package/dist/components/molecules/ButtonGroup/index.js +60 -0
  139. package/dist/components/molecules/ButtonGroup/index.js.map +1 -0
  140. package/dist/components/molecules/Dropdown/index.cjs +66 -0
  141. package/dist/components/molecules/Dropdown/index.cjs.map +1 -0
  142. package/dist/components/molecules/Dropdown/index.d.ts +39 -0
  143. package/dist/components/molecules/Dropdown/index.d.ts.map +1 -0
  144. package/dist/components/molecules/Dropdown/index.js +64 -0
  145. package/dist/components/molecules/Dropdown/index.js.map +1 -0
  146. package/dist/components/molecules/RadioGroup/components/radio-group-avatar.cjs +14 -0
  147. package/dist/components/molecules/RadioGroup/components/radio-group-avatar.cjs.map +1 -0
  148. package/dist/components/molecules/RadioGroup/components/radio-group-avatar.d.ts +16 -0
  149. package/dist/components/molecules/RadioGroup/components/radio-group-avatar.d.ts.map +1 -0
  150. package/dist/components/molecules/RadioGroup/components/radio-group-avatar.js +12 -0
  151. package/dist/components/molecules/RadioGroup/components/radio-group-avatar.js.map +1 -0
  152. package/dist/components/molecules/RadioGroup/components/radio-group-checkbox.cjs +13 -0
  153. package/dist/components/molecules/RadioGroup/components/radio-group-checkbox.cjs.map +1 -0
  154. package/dist/components/molecules/RadioGroup/components/radio-group-checkbox.d.ts +9 -0
  155. package/dist/components/molecules/RadioGroup/components/radio-group-checkbox.d.ts.map +1 -0
  156. package/dist/components/molecules/RadioGroup/components/radio-group-checkbox.js +11 -0
  157. package/dist/components/molecules/RadioGroup/components/radio-group-checkbox.js.map +1 -0
  158. package/dist/components/molecules/RadioGroup/components/radio-group-icon-card.cjs +15 -0
  159. package/dist/components/molecules/RadioGroup/components/radio-group-icon-card.cjs.map +1 -0
  160. package/dist/components/molecules/RadioGroup/components/radio-group-icon-card.d.ts +21 -0
  161. package/dist/components/molecules/RadioGroup/components/radio-group-icon-card.d.ts.map +1 -0
  162. package/dist/components/molecules/RadioGroup/components/radio-group-icon-card.js +13 -0
  163. package/dist/components/molecules/RadioGroup/components/radio-group-icon-card.js.map +1 -0
  164. package/dist/components/molecules/RadioGroup/components/radio-group-icon-simple.cjs +14 -0
  165. package/dist/components/molecules/RadioGroup/components/radio-group-icon-simple.cjs.map +1 -0
  166. package/dist/components/molecules/RadioGroup/components/radio-group-icon-simple.d.ts +9 -0
  167. package/dist/components/molecules/RadioGroup/components/radio-group-icon-simple.d.ts.map +1 -0
  168. package/dist/components/molecules/RadioGroup/components/radio-group-icon-simple.js +12 -0
  169. package/dist/components/molecules/RadioGroup/components/radio-group-icon-simple.js.map +1 -0
  170. package/dist/components/molecules/RadioGroup/components/radio-group-payment-icon.cjs +14 -0
  171. package/dist/components/molecules/RadioGroup/components/radio-group-payment-icon.cjs.map +1 -0
  172. package/dist/components/molecules/RadioGroup/components/radio-group-payment-icon.d.ts +16 -0
  173. package/dist/components/molecules/RadioGroup/components/radio-group-payment-icon.d.ts.map +1 -0
  174. package/dist/components/molecules/RadioGroup/components/radio-group-payment-icon.js +12 -0
  175. package/dist/components/molecules/RadioGroup/components/radio-group-payment-icon.js.map +1 -0
  176. package/dist/components/molecules/RadioGroup/components/radio-group-radio-button.cjs +12 -0
  177. package/dist/components/molecules/RadioGroup/components/radio-group-radio-button.cjs.map +1 -0
  178. package/dist/components/molecules/RadioGroup/components/radio-group-radio-button.d.ts +9 -0
  179. package/dist/components/molecules/RadioGroup/components/radio-group-radio-button.d.ts.map +1 -0
  180. package/dist/components/molecules/RadioGroup/components/radio-group-radio-button.js +10 -0
  181. package/dist/components/molecules/RadioGroup/components/radio-group-radio-button.js.map +1 -0
  182. package/dist/components/molecules/RadioGroup/index.cjs +18 -0
  183. package/dist/components/molecules/RadioGroup/index.cjs.map +1 -0
  184. package/dist/components/molecules/RadioGroup/index.d.ts +7 -0
  185. package/dist/components/molecules/RadioGroup/index.d.ts.map +1 -0
  186. package/dist/components/molecules/RadioGroup/index.js +7 -0
  187. package/dist/components/molecules/RadioGroup/index.js.map +1 -0
  188. package/dist/components/molecules/RadioGroup/radioGroup.types.d.ts +12 -0
  189. package/dist/components/molecules/RadioGroup/radioGroup.types.d.ts.map +1 -0
  190. package/dist/components/molecules/SectionHeader/index.cjs +20 -0
  191. package/dist/components/molecules/SectionHeader/index.cjs.map +1 -0
  192. package/dist/components/molecules/SectionHeader/index.d.ts +9 -0
  193. package/dist/components/molecules/SectionHeader/index.d.ts.map +1 -0
  194. package/dist/components/molecules/SectionHeader/index.js +18 -0
  195. package/dist/components/molecules/SectionHeader/index.js.map +1 -0
  196. package/dist/components/molecules/Select/components/combobox.cjs +47 -0
  197. package/dist/components/molecules/Select/components/combobox.cjs.map +1 -0
  198. package/dist/components/molecules/Select/components/combobox.d.ts +15 -0
  199. package/dist/components/molecules/Select/components/combobox.d.ts.map +1 -0
  200. package/dist/components/molecules/Select/components/combobox.js +45 -0
  201. package/dist/components/molecules/Select/components/combobox.js.map +1 -0
  202. package/dist/components/molecules/Select/components/popover.cjs +14 -0
  203. package/dist/components/molecules/Select/components/popover.cjs.map +1 -0
  204. package/dist/components/molecules/Select/components/popover.d.ts +8 -0
  205. package/dist/components/molecules/Select/components/popover.d.ts.map +1 -0
  206. package/dist/components/molecules/Select/components/popover.js +12 -0
  207. package/dist/components/molecules/Select/components/popover.js.map +1 -0
  208. package/dist/components/molecules/Select/components/select-item.cjs +54 -0
  209. package/dist/components/molecules/Select/components/select-item.cjs.map +1 -0
  210. package/dist/components/molecules/Select/components/select-item.d.ts +11 -0
  211. package/dist/components/molecules/Select/components/select-item.d.ts.map +1 -0
  212. package/dist/components/molecules/Select/components/select-item.js +52 -0
  213. package/dist/components/molecules/Select/components/select-item.js.map +1 -0
  214. package/dist/components/molecules/Select/components/select-shared.cjs +20 -0
  215. package/dist/components/molecules/Select/components/select-shared.cjs.map +1 -0
  216. package/dist/components/molecules/Select/components/select-shared.d.ts +59 -0
  217. package/dist/components/molecules/Select/components/select-shared.d.ts.map +1 -0
  218. package/dist/components/molecules/Select/components/select-shared.js +17 -0
  219. package/dist/components/molecules/Select/components/select-shared.js.map +1 -0
  220. package/dist/components/molecules/Select/index.cjs +37 -0
  221. package/dist/components/molecules/Select/index.cjs.map +1 -0
  222. package/dist/components/molecules/Select/index.d.ts +19 -0
  223. package/dist/components/molecules/Select/index.d.ts.map +1 -0
  224. package/dist/components/molecules/Select/index.js +33 -0
  225. package/dist/components/molecules/Select/index.js.map +1 -0
  226. package/dist/components/organisms/PageHeader/components/page-header-simple.cjs +14 -0
  227. package/dist/components/organisms/PageHeader/components/page-header-simple.cjs.map +1 -0
  228. package/dist/components/organisms/PageHeader/components/page-header-simple.d.ts +24 -0
  229. package/dist/components/organisms/PageHeader/components/page-header-simple.d.ts.map +1 -0
  230. package/dist/components/organisms/PageHeader/components/page-header-simple.js +12 -0
  231. package/dist/components/organisms/PageHeader/components/page-header-simple.js.map +1 -0
  232. package/dist/components/organisms/PageHeader/index.cjs +8 -0
  233. package/dist/components/organisms/PageHeader/index.cjs.map +1 -0
  234. package/dist/components/organisms/PageHeader/index.d.ts +7 -0
  235. package/dist/components/organisms/PageHeader/index.d.ts.map +1 -0
  236. package/dist/components/organisms/PageHeader/index.js +2 -0
  237. package/dist/components/organisms/PageHeader/index.js.map +1 -0
  238. package/dist/components/templates/NotFoundPage/index.cjs +19 -0
  239. package/dist/components/templates/NotFoundPage/index.cjs.map +1 -0
  240. package/dist/components/templates/NotFoundPage/index.d.ts +25 -0
  241. package/dist/components/templates/NotFoundPage/index.d.ts.map +1 -0
  242. package/dist/components/templates/NotFoundPage/index.js +17 -0
  243. package/dist/components/templates/NotFoundPage/index.js.map +1 -0
  244. package/dist/components/templates/PageLayout/index.cjs +30 -0
  245. package/dist/components/templates/PageLayout/index.cjs.map +1 -0
  246. package/dist/components/templates/PageLayout/index.d.ts +43 -0
  247. package/dist/components/templates/PageLayout/index.d.ts.map +1 -0
  248. package/dist/components/templates/PageLayout/index.js +28 -0
  249. package/dist/components/templates/PageLayout/index.js.map +1 -0
  250. package/dist/hooks/useResizeObserver/index.cjs +47 -0
  251. package/dist/hooks/useResizeObserver/index.cjs.map +1 -0
  252. package/dist/hooks/useResizeObserver/index.d.ts +25 -0
  253. package/dist/hooks/useResizeObserver/index.d.ts.map +1 -0
  254. package/dist/hooks/useResizeObserver/index.js +45 -0
  255. package/dist/hooks/useResizeObserver/index.js.map +1 -0
  256. package/dist/providers/ErrorBoundary/index.cjs +36 -0
  257. package/dist/providers/ErrorBoundary/index.cjs.map +1 -0
  258. package/dist/providers/ErrorBoundary/index.d.ts +32 -0
  259. package/dist/providers/ErrorBoundary/index.d.ts.map +1 -0
  260. package/dist/providers/ErrorBoundary/index.js +34 -0
  261. package/dist/providers/ErrorBoundary/index.js.map +1 -0
  262. package/dist/src/components/atoms/Avatar/avatar.utils.d.ts +10 -0
  263. package/dist/src/components/atoms/Avatar/avatar.utils.d.ts.map +1 -0
  264. package/dist/src/components/atoms/Avatar/components/avatar-add-button.d.ts +9 -0
  265. package/dist/src/components/atoms/Avatar/components/avatar-add-button.d.ts.map +1 -0
  266. package/dist/src/components/atoms/Avatar/components/avatar-company-icon.d.ts +8 -0
  267. package/dist/src/components/atoms/Avatar/components/avatar-company-icon.d.ts.map +1 -0
  268. package/dist/src/components/atoms/Avatar/components/avatar-count.d.ts +7 -0
  269. package/dist/src/components/atoms/Avatar/components/avatar-count.d.ts.map +1 -0
  270. package/dist/src/components/atoms/Avatar/components/avatar-online-indicator.d.ts +8 -0
  271. package/dist/src/components/atoms/Avatar/components/avatar-online-indicator.d.ts.map +1 -0
  272. package/dist/src/components/atoms/Avatar/components/verified-tick.d.ts +7 -0
  273. package/dist/src/components/atoms/Avatar/components/verified-tick.d.ts.map +1 -0
  274. package/dist/src/components/atoms/Avatar/index.d.ts +65 -0
  275. package/dist/src/components/atoms/Avatar/index.d.ts.map +1 -0
  276. package/dist/src/components/atoms/Badge/badge.types.d.ts +22 -0
  277. package/dist/src/components/atoms/Badge/badge.types.d.ts.map +1 -0
  278. package/dist/src/components/atoms/Badge/index.d.ts +129 -0
  279. package/dist/src/components/atoms/Badge/index.d.ts.map +1 -0
  280. package/dist/src/components/atoms/Button/index.d.ts +111 -0
  281. package/dist/src/components/atoms/Button/index.d.ts.map +1 -0
  282. package/dist/src/components/atoms/Checkbox/index.d.ts +26 -0
  283. package/dist/src/components/atoms/Checkbox/index.d.ts.map +1 -0
  284. package/dist/src/components/atoms/Divider/index.d.ts +17 -0
  285. package/dist/src/components/atoms/Divider/index.d.ts.map +1 -0
  286. package/dist/src/components/atoms/Dot/index.d.ts +5 -0
  287. package/dist/src/components/atoms/Dot/index.d.ts.map +1 -0
  288. package/dist/src/components/atoms/FeaturedIcon/index.d.ts +15 -0
  289. package/dist/src/components/atoms/FeaturedIcon/index.d.ts.map +1 -0
  290. package/dist/src/components/atoms/Input/components/hint-text.d.ts +15 -0
  291. package/dist/src/components/atoms/Input/components/hint-text.d.ts.map +1 -0
  292. package/dist/src/components/atoms/Input/components/label.d.ts +16 -0
  293. package/dist/src/components/atoms/Input/components/label.d.ts.map +1 -0
  294. package/dist/src/components/atoms/Input/index.d.ts +60 -0
  295. package/dist/src/components/atoms/Input/index.d.ts.map +1 -0
  296. package/dist/src/components/atoms/LoadingIndicator/index.d.ts +19 -0
  297. package/dist/src/components/atoms/LoadingIndicator/index.d.ts.map +1 -0
  298. package/dist/src/components/atoms/RadioButton/index.d.ts +33 -0
  299. package/dist/src/components/atoms/RadioButton/index.d.ts.map +1 -0
  300. package/dist/src/components/atoms/Toggle/index.d.ts +21 -0
  301. package/dist/src/components/atoms/Toggle/index.d.ts.map +1 -0
  302. package/dist/src/components/atoms/Tooltip/index.d.ts +30 -0
  303. package/dist/src/components/atoms/Tooltip/index.d.ts.map +1 -0
  304. package/dist/src/components/molecules/Breadcrumbs/components/breadcrumb-account-item.d.ts +13 -0
  305. package/dist/src/components/molecules/Breadcrumbs/components/breadcrumb-account-item.d.ts.map +1 -0
  306. package/dist/src/components/molecules/Breadcrumbs/components/breadcrumb-item.d.ts +19 -0
  307. package/dist/src/components/molecules/Breadcrumbs/components/breadcrumb-item.d.ts.map +1 -0
  308. package/dist/src/components/molecules/Breadcrumbs/index.d.ts +25 -0
  309. package/dist/src/components/molecules/Breadcrumbs/index.d.ts.map +1 -0
  310. package/dist/src/components/molecules/ButtonGroup/index.d.ts +41 -0
  311. package/dist/src/components/molecules/ButtonGroup/index.d.ts.map +1 -0
  312. package/dist/src/components/molecules/Dropdown/index.d.ts +35 -0
  313. package/dist/src/components/molecules/Dropdown/index.d.ts.map +1 -0
  314. package/dist/src/components/molecules/RadioGroup/components/radio-group-avatar.d.ts +16 -0
  315. package/dist/src/components/molecules/RadioGroup/components/radio-group-avatar.d.ts.map +1 -0
  316. package/dist/src/components/molecules/RadioGroup/components/radio-group-checkbox.d.ts +9 -0
  317. package/dist/src/components/molecules/RadioGroup/components/radio-group-checkbox.d.ts.map +1 -0
  318. package/dist/src/components/molecules/RadioGroup/components/radio-group-icon-card.d.ts +21 -0
  319. package/dist/src/components/molecules/RadioGroup/components/radio-group-icon-card.d.ts.map +1 -0
  320. package/dist/src/components/molecules/RadioGroup/components/radio-group-icon-simple.d.ts +19 -0
  321. package/dist/src/components/molecules/RadioGroup/components/radio-group-icon-simple.d.ts.map +1 -0
  322. package/dist/src/components/molecules/RadioGroup/components/radio-group-payment-icon.d.ts +16 -0
  323. package/dist/src/components/molecules/RadioGroup/components/radio-group-payment-icon.d.ts.map +1 -0
  324. package/dist/src/components/molecules/RadioGroup/components/radio-group-radio-button.d.ts +9 -0
  325. package/dist/src/components/molecules/RadioGroup/components/radio-group-radio-button.d.ts.map +1 -0
  326. package/dist/src/components/molecules/RadioGroup/index.d.ts +7 -0
  327. package/dist/src/components/molecules/RadioGroup/index.d.ts.map +1 -0
  328. package/dist/src/components/molecules/RadioGroup/radioGroup.types.d.ts +12 -0
  329. package/dist/src/components/molecules/RadioGroup/radioGroup.types.d.ts.map +1 -0
  330. package/dist/src/components/molecules/SectionHeader/index.d.ts +9 -0
  331. package/dist/src/components/molecules/SectionHeader/index.d.ts.map +1 -0
  332. package/dist/src/components/molecules/Select/components/combobox.d.ts +15 -0
  333. package/dist/src/components/molecules/Select/components/combobox.d.ts.map +1 -0
  334. package/dist/src/components/molecules/Select/components/popover.d.ts +8 -0
  335. package/dist/src/components/molecules/Select/components/popover.d.ts.map +1 -0
  336. package/dist/src/components/molecules/Select/components/select-item.d.ts +11 -0
  337. package/dist/src/components/molecules/Select/components/select-item.d.ts.map +1 -0
  338. package/dist/src/components/molecules/Select/components/select-shared.d.ts +59 -0
  339. package/dist/src/components/molecules/Select/components/select-shared.d.ts.map +1 -0
  340. package/dist/src/components/molecules/Select/index.d.ts +19 -0
  341. package/dist/src/components/molecules/Select/index.d.ts.map +1 -0
  342. package/dist/src/components/organisms/PageHeader/components/page-header-simple.d.ts +24 -0
  343. package/dist/src/components/organisms/PageHeader/components/page-header-simple.d.ts.map +1 -0
  344. package/dist/src/components/organisms/PageHeader/index.d.ts +2 -0
  345. package/dist/src/components/organisms/PageHeader/index.d.ts.map +1 -0
  346. package/dist/src/components/templates/NotFoundPage/index.d.ts +25 -0
  347. package/dist/src/components/templates/NotFoundPage/index.d.ts.map +1 -0
  348. package/dist/src/components/templates/PageLayout/index.d.ts +43 -0
  349. package/dist/src/components/templates/PageLayout/index.d.ts.map +1 -0
  350. package/dist/src/hooks/useResizeObserver/index.d.ts +25 -0
  351. package/dist/src/hooks/useResizeObserver/index.d.ts.map +1 -0
  352. package/dist/src/providers/ErrorBoundary/index.d.ts +32 -0
  353. package/dist/src/providers/ErrorBoundary/index.d.ts.map +1 -0
  354. package/dist/src/utilities/cx/index.d.ts +22 -0
  355. package/dist/src/utilities/cx/index.d.ts.map +1 -0
  356. package/dist/src/utilities/isReactComponent/index.d.ts +24 -0
  357. package/dist/src/utilities/isReactComponent/index.d.ts.map +1 -0
  358. package/dist/src/utilities/renderUtils/index.d.ts +56 -0
  359. package/dist/src/utilities/renderUtils/index.d.ts.map +1 -0
  360. package/dist/styles.css +101 -0
  361. package/dist/utilities/cx/index.cjs +41 -0
  362. package/dist/utilities/cx/index.cjs.map +1 -0
  363. package/dist/utilities/cx/index.d.ts +22 -0
  364. package/dist/utilities/cx/index.d.ts.map +1 -0
  365. package/dist/utilities/cx/index.js +38 -0
  366. package/dist/utilities/cx/index.js.map +1 -0
  367. package/dist/utilities/isReactComponent/index.cjs +40 -0
  368. package/dist/utilities/isReactComponent/index.cjs.map +1 -0
  369. package/dist/utilities/isReactComponent/index.d.ts +24 -0
  370. package/dist/utilities/isReactComponent/index.d.ts.map +1 -0
  371. package/dist/utilities/isReactComponent/index.js +35 -0
  372. package/dist/utilities/isReactComponent/index.js.map +1 -0
  373. package/dist/utilities/renderUtils/index.cjs +122 -0
  374. package/dist/utilities/renderUtils/index.cjs.map +1 -0
  375. package/dist/utilities/renderUtils/index.d.ts +56 -0
  376. package/dist/utilities/renderUtils/index.d.ts.map +1 -0
  377. package/dist/utilities/renderUtils/index.js +114 -0
  378. package/dist/utilities/renderUtils/index.js.map +1 -0
  379. package/package.json +135 -0
@@ -0,0 +1,9 @@
1
+ import type { ComponentPropsWithRef } from 'react';
2
+ export declare const SectionHeader: {
3
+ Root: (props: ComponentPropsWithRef<"div">) => import("react").JSX.Element;
4
+ Group: (props: ComponentPropsWithRef<"div">) => import("react").JSX.Element;
5
+ Actions: (props: ComponentPropsWithRef<"div">) => import("react").JSX.Element;
6
+ Heading: (props: ComponentPropsWithRef<"h2">) => import("react").JSX.Element;
7
+ Subheading: (props: ComponentPropsWithRef<"p">) => import("react").JSX.Element;
8
+ };
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SectionHeader/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAgCnD,eAAO,MAAM,aAAa;kBA9BQ,qBAAqB,CAAC,KAAK,CAAC;mBAM3B,qBAAqB,CAAC,KAAK,CAAC;qBAM1B,qBAAqB,CAAC,KAAK,CAAC;qBAM5B,qBAAqB,CAAC,IAAI,CAAC;wBAMxB,qBAAqB,CAAC,GAAG,CAAC;CAYjE,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { FC, ReactNode, RefAttributes } from 'react';
2
+ import type { ComboBoxProps as AriaComboBoxProps, ListBoxProps as AriaListBoxProps } from 'react-aria-components';
3
+ import { type CommonProps, type SelectItemType } from './select-shared';
4
+ interface ComboBoxProps extends Omit<AriaComboBoxProps<SelectItemType>, 'children' | 'items'>, RefAttributes<HTMLDivElement>, CommonProps {
5
+ shortcut?: boolean;
6
+ items?: SelectItemType[];
7
+ popoverClassName?: string;
8
+ shortcutClassName?: string;
9
+ /** Leading icon component displayed before the input. */
10
+ icon?: FC | ReactNode;
11
+ children: AriaListBoxProps<SelectItemType>['children'];
12
+ }
13
+ export declare const ComboBox: ({ placeholder, shortcut, size, children, items, shortcutClassName, icon, hideRequiredIndicator, ...otherProps }: ComboBoxProps) => import("react").JSX.Element;
14
+ export {};
15
+ //# sourceMappingURL=combobox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../../../../../src/components/molecules/Select/components/combobox.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,EAAE,EAA0C,SAAS,EAAO,aAAa,EAAE,MAAM,OAAO,CAAC;AAEvG,OAAO,KAAK,EAAE,aAAa,IAAI,iBAAiB,EAAgC,YAAY,IAAI,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAShJ,OAAO,EAAE,KAAK,WAAW,EAAiB,KAAK,cAAc,EAAS,MAAM,iBAAiB,CAAC;AAE9F,UAAU,aAAc,SAAQ,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,EAAE,WAAW;IACvI,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,cAAc,EAAE,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,yDAAyD;IACzD,IAAI,CAAC,EAAE,EAAE,GAAG,SAAS,CAAC;IACtB,QAAQ,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC,UAAU,CAAC,CAAC;CACxD;AAoFD,eAAO,MAAM,QAAQ,GAAI,iHAUtB,aAAa,gCA4Df,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { RefAttributes } from 'react';
2
+ import type { PopoverProps as AriaPopoverProps } from 'react-aria-components';
3
+ interface PopoverProps extends AriaPopoverProps, RefAttributes<HTMLElement> {
4
+ size: 'sm' | 'md' | 'lg';
5
+ }
6
+ export declare const Popover: (props: PopoverProps) => import("react").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=popover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../../../../src/components/molecules/Select/components/popover.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,YAAY,IAAI,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAG9E,UAAU,YAAa,SAAQ,gBAAgB,EAAE,aAAa,CAAC,WAAW,CAAC;IACzE,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC1B;AAED,eAAO,MAAM,OAAO,GAAI,OAAO,YAAY,gCAyB1C,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { ListBoxItemProps as AriaListBoxItemProps } from 'react-aria-components';
2
+ import type { SelectItemType } from './select-shared';
3
+ interface SelectItemProps extends Omit<AriaListBoxItemProps<SelectItemType>, 'id'>, SelectItemType {
4
+ /** The selection indicator to be displayed on the item. */
5
+ selectionIndicator?: 'checkmark' | 'checkbox' | 'none';
6
+ /** The alignment of the selection indicator. */
7
+ selectionIndicatorAlign?: 'left' | 'right';
8
+ }
9
+ export declare const SelectItem: ({ label, id, value, avatarUrl, supportingText, isDisabled, icon: Icon, className, children, selectionIndicator, selectionIndicatorAlign, ...props }: SelectItemProps) => import("react").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=select-item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select-item.d.ts","sourceRoot":"","sources":["../../../../../../src/components/molecules/Select/components/select-item.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,IAAI,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAEtF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AA2BtD,UAAU,eAAgB,SAAQ,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,EAAE,IAAI,CAAC,EAAE,cAAc;IAChG,2DAA2D;IAC3D,kBAAkB,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;IACvD,gDAAgD;IAChD,uBAAuB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC5C;AAED,eAAO,MAAM,UAAU,GAAI,qJAaxB,eAAe,gCA6EjB,CAAC"}
@@ -0,0 +1,59 @@
1
+ import type { FC, ReactNode } from 'react';
2
+ export type SelectItemType = {
3
+ /** Unique identifier for the item. */
4
+ id: string | number;
5
+ /** The primary display text. */
6
+ label?: string;
7
+ /** Avatar image URL. */
8
+ avatarUrl?: string;
9
+ /** Whether the item is disabled. */
10
+ isDisabled?: boolean;
11
+ /** Secondary text displayed alongside the label. */
12
+ supportingText?: string;
13
+ /** Leading icon component or element. */
14
+ icon?: FC | ReactNode;
15
+ };
16
+ export interface CommonProps {
17
+ /** Helper text displayed below the input. */
18
+ hint?: string;
19
+ /** Field label displayed above the input. */
20
+ label?: string;
21
+ /** Tooltip text for the help icon next to the label. */
22
+ tooltip?: string;
23
+ /**
24
+ * The size of the component.
25
+ * @default "md"
26
+ */
27
+ size?: 'sm' | 'md' | 'lg';
28
+ /** Placeholder text when no value is selected. */
29
+ placeholder?: string;
30
+ /** Whether to hide the required indicator from the label. */
31
+ hideRequiredIndicator?: boolean;
32
+ }
33
+ export declare const sizes: {
34
+ sm: {
35
+ root: string;
36
+ withIcon: string;
37
+ text: string;
38
+ textContainer: string;
39
+ shortcut: string;
40
+ };
41
+ md: {
42
+ root: string;
43
+ withIcon: string;
44
+ text: string;
45
+ textContainer: string;
46
+ shortcut: string;
47
+ };
48
+ lg: {
49
+ root: string;
50
+ withIcon: string;
51
+ text: string;
52
+ textContainer: string;
53
+ shortcut: string;
54
+ };
55
+ };
56
+ export declare const SelectContext: import("react").Context<{
57
+ size: "sm" | "md" | "lg";
58
+ }>;
59
+ //# sourceMappingURL=select-shared.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select-shared.d.ts","sourceRoot":"","sources":["../../../../../../src/components/molecules/Select/components/select-shared.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG3C,MAAM,MAAM,cAAc,GAAG;IAC3B,sCAAsC;IACtC,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wBAAwB;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oCAAoC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oDAAoD;IACpD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,yCAAyC;IACzC,IAAI,CAAC,EAAE,EAAE,GAAG,SAAS,CAAC;CACvB,CAAC;AAEF,MAAM,WAAW,WAAW;IAC1B,6CAA6C;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,6CAA6C;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wDAAwD;IACxD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,kDAAkD;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6DAA6D;IAC7D,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;CAUjB,CAAC;AAEF,eAAO,MAAM,aAAa;UAAyB,IAAI,GAAG,IAAI,GAAG,IAAI;EAAmB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import type { FC, ReactNode, RefAttributes } from 'react';
2
+ import type { SelectProps as AriaSelectProps } from 'react-aria-components';
3
+ import { ComboBox } from './components/combobox';
4
+ import { SelectItem } from './components/select-item';
5
+ import { type CommonProps, type SelectItemType } from './components/select-shared';
6
+ export { type CommonProps, SelectContext, type SelectItemType, sizes } from './components/select-shared';
7
+ export interface SelectProps extends Omit<AriaSelectProps<SelectItemType>, 'children' | 'items'>, RefAttributes<HTMLDivElement>, CommonProps {
8
+ items?: SelectItemType[];
9
+ popoverClassName?: string;
10
+ icon?: FC | ReactNode;
11
+ children: ReactNode | ((item: SelectItemType) => ReactNode);
12
+ }
13
+ declare const Select: ({ placeholder, icon, size, children, items, label, hint, tooltip, hideRequiredIndicator, className, ...rest }: SelectProps) => import("react").JSX.Element;
14
+ declare const _Select: typeof Select & {
15
+ ComboBox: typeof ComboBox;
16
+ Item: typeof SelectItem;
17
+ };
18
+ export { _Select as Select };
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Select/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAO,aAAa,EAAE,MAAM,OAAO,CAAC;AAE/D,OAAO,KAAK,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE5E,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,KAAK,WAAW,EAAiB,KAAK,cAAc,EAAS,MAAM,4BAA4B,CAAC;AAEzG,OAAO,EAAE,KAAK,WAAW,EAAE,aAAa,EAAE,KAAK,cAAc,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AAEzG,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,eAAe,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,EAAE,WAAW;IAC1I,KAAK,CAAC,EAAE,cAAc,EAAE,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,EAAE,GAAG,SAAS,CAAC;IACtB,QAAQ,EAAE,SAAS,GAAG,CAAC,CAAC,IAAI,EAAE,cAAc,KAAK,SAAS,CAAC,CAAC;CAC7D;AAwED,QAAA,MAAM,MAAM,GAAI,+GAYb,WAAW,gCA8Bb,CAAC;AAEF,QAAA,MAAM,OAAO,EAAa,OAAO,MAAM,GAAG;IACxC,QAAQ,EAAE,OAAO,QAAQ,CAAC;IAC1B,IAAI,EAAE,OAAO,UAAU,CAAC;CACzB,CAAC;AAIF,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,CAAC"}
@@ -0,0 +1,24 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface PageHeaderSimpleProps {
3
+ /** Page title (rendered as the `h1`). */
4
+ title?: string;
5
+ /** Supporting text shown beneath the title. */
6
+ description?: string;
7
+ /**
8
+ * Breadcrumb trail shown on desktop — pass a complete `<Breadcrumbs>` element so the
9
+ * caller owns the items, divider and `type`. Hidden below the `lg` breakpoint.
10
+ */
11
+ breadcrumbs?: ReactNode;
12
+ /** Mobile "back" link label. When set, a back link replaces the breadcrumbs below `lg`. */
13
+ backLabel?: string;
14
+ backHref?: string;
15
+ /** Action buttons rendered to the right of the title on desktop. */
16
+ actions?: ReactNode;
17
+ /** Render the search inputs (mobile + desktop). */
18
+ showSearch?: boolean;
19
+ /** Render the divider beneath the title row. */
20
+ withDivider?: boolean;
21
+ className?: string;
22
+ }
23
+ export declare const PageHeaderSimple: ({ title, description, breadcrumbs, backLabel, backHref, actions, showSearch, withDivider, className, }: PageHeaderSimpleProps) => import("react").JSX.Element;
24
+ //# sourceMappingURL=page-header-simple.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-header-simple.d.ts","sourceRoot":"","sources":["../../../../../../src/components/organisms/PageHeader/components/page-header-simple.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,qBAAqB;IACpC,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+CAA+C;IAC/C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,2FAA2F;IAC3F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oEAAoE;IACpE,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,mDAAmD;IACnD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gDAAgD;IAChD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,gBAAgB,GAAI,wGAU9B,qBAAqB,gCAiCvB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { PageHeaderSimple as Simple } from './components/page-header-simple';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/PageHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,IAAI,MAAM,EAAE,MAAM,iCAAiC,CAAC"}
@@ -0,0 +1,25 @@
1
+ import type { ReactElement } from 'react';
2
+ /**
3
+ * Props for the NotFoundPage component.
4
+ * @param title - The title of the page. Defaults to "404".
5
+ * @param description - The description of the page. Defaults to "The page you were looking for could not be found."
6
+ */
7
+ export interface NotFoundPageProps {
8
+ /** Heading shown above the description. Defaults to "404". */
9
+ readonly title?: string;
10
+ /** Body copy explaining the error. Defaults to "The page you were looking for could not be found." */
11
+ readonly description?: string;
12
+ }
13
+ /**
14
+ * Generic 404 page template used by consuming apps as the fallback route.
15
+ *
16
+ * Lives under `components/templates/` per the atomic-design folder structure: it composes plain HTML
17
+ * elements + Tailwind utilities into a complete page-shaped layout. Consumers (e.g. `App.routes.tsx`)
18
+ * wrap this in a `<Route path="*">` and provide localised copy via props.
19
+ *
20
+ * Doubles as the Tailwind v4 + Option A CSS-isolation smoke test for the property-service MFE —
21
+ * if these utility classes render correctly inside `#flipdish-micro-frontend` without polluting
22
+ * Portal chrome, the scoping pipeline works end-to-end.
23
+ */
24
+ export declare const NotFoundPage: ({ title, description, }: NotFoundPageProps) => ReactElement;
25
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/NotFoundPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC,8DAA8D;IAC9D,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,sGAAsG;IACtG,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY,GAAI,yBAG1B,iBAAiB,KAAG,YAKtB,CAAC"}
@@ -0,0 +1,43 @@
1
+ import type { ErrorInfo, ReactNode } from 'react';
2
+ export interface PageLayoutProps {
3
+ /**
4
+ * Stable, human-readable name of the page (e.g. "CollectionSettings"). Tags the
5
+ * page-level error boundary so a thrown error can be attributed to a specific page
6
+ * in logs/RUM, and is forwarded to `renderError` and `onError`.
7
+ */
8
+ pageName: string;
9
+ /**
10
+ * Header region. Compose `<PageHeader.Simple>` (or a feature wrapper around it)
11
+ * here. Rendered OUTSIDE the error boundary so page chrome (breadcrumbs, back link)
12
+ * stays usable when the content below throws.
13
+ */
14
+ header?: ReactNode;
15
+ /** Page content, rendered INSIDE the error boundary. */
16
+ children: ReactNode;
17
+ /**
18
+ * Replaces the default fallback shown when a child throws. Receives the thrown
19
+ * error and `pageName` so consumers can render localised copy.
20
+ */
21
+ renderError?: (props: {
22
+ error: Error;
23
+ pageName: string;
24
+ }) => ReactNode;
25
+ /** Called when a child throws — wire app-level reporting (e.g. Datadog RUM) here. */
26
+ onError?: (error: Error, info: ErrorInfo) => void;
27
+ /** Extra classes merged onto the root `<main>`. */
28
+ className?: string;
29
+ }
30
+ /**
31
+ * Page-shaped template that standardises the MFE's page chrome: the centered `<main>`
32
+ * scroll container, an optional header region, and a page-scoped error boundary keyed
33
+ * by `pageName`. Consumers drop their page content in as children.
34
+ *
35
+ * The boundary wraps `children` only, not the header: content (data-fetching, forms,
36
+ * dynamic logic) is where throws realistically happen, and keeping the header outside
37
+ * means breadcrumbs/back link stay usable so the user can navigate away when content
38
+ * fails — strictly better than blanking the whole page. A header throw (rare, since
39
+ * it's static chrome) isn't caught here, but the app-level ErrorBoundary higher up the
40
+ * tree still catches it; nothing goes unhandled.
41
+ */
42
+ export declare const PageLayout: ({ pageName, header, children, renderError, onError, className }: PageLayoutProps) => ReactNode;
43
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/PageLayout/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElD,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,wDAAwD;IACxD,QAAQ,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,KAAK,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,KAAK,SAAS,CAAC;IACvE,qFAAqF;IACrF,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IAClD,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAcD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,UAAU,GAAI,iEAAiE,eAAe,KAAG,SAU7G,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { type RefObject } from 'react';
2
+ /**
3
+ * The options for the useResizeObserver hook.
4
+ */
5
+ type useResizeObserverOptionsType<T> = {
6
+ /**
7
+ * The ref to the element to observe.
8
+ */
9
+ ref: RefObject<T | undefined | null> | undefined;
10
+ /**
11
+ * The box to observe.
12
+ */
13
+ box?: ResizeObserverBoxOptions;
14
+ /**
15
+ * The callback function to call when the size changes.
16
+ */
17
+ onResize: () => void;
18
+ };
19
+ /**
20
+ * A hook that observes the size of an element and calls a callback function when the size changes.
21
+ * @param options - The options for the hook.
22
+ */
23
+ export declare function useResizeObserver<T extends Element>(options: useResizeObserverOptionsType<T>): void;
24
+ export {};
25
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useResizeObserver/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAa,MAAM,OAAO,CAAC;AAUlD;;GAEG;AACH,KAAK,4BAA4B,CAAC,CAAC,IAAI;IACrC;;OAEG;IACH,GAAG,EAAE,SAAS,CAAC,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,GAAG,SAAS,CAAC;IACjD;;OAEG;IACH,GAAG,CAAC,EAAE,wBAAwB,CAAC;IAC/B;;OAEG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,OAAO,EAAE,OAAO,EAAE,4BAA4B,CAAC,CAAC,CAAC,QAiC5F"}
@@ -0,0 +1,32 @@
1
+ import type { ErrorInfo, ReactNode } from 'react';
2
+ export interface ErrorBoundaryProps {
3
+ /** Identifies this boundary in error logs/RUM (e.g. a page or feature name). */
4
+ identifier: string;
5
+ children: ReactNode;
6
+ /** Static fallback node. Takes precedence over `somethingWentWrongText`. */
7
+ fallback?: ReactNode;
8
+ /** Error-aware fallback. Takes precedence over `fallback` and `somethingWentWrongText`. */
9
+ renderFallback?: (error: Error) => ReactNode;
10
+ /**
11
+ * Text for the default centered fallback.
12
+ * TODO(i18n): source from ui-library's own translation layer once it exists; until
13
+ * then the consumer passes localised copy (defaults to English).
14
+ */
15
+ somethingWentWrongText?: string;
16
+ /** Forwarded after the built-in log — wire app reporting (fdlogger/Datadog) here. */
17
+ onError?: (error: Error, info: ErrorInfo) => void;
18
+ /** Classes merged onto the default fallback container. */
19
+ className?: string;
20
+ }
21
+ /**
22
+ * Thin wrapper around `react-error-boundary` so consuming apps depend on a single
23
+ * ui-library seam instead of importing `react-error-boundary` directly. Inspired by
24
+ * FlipdishUI's `FDErrorBoundary`, minus the MUI styling and the hardcoded web logger
25
+ * (reporting is injected via `onError` to keep the library cross-platform).
26
+ *
27
+ * Lives under `providers/` (not the visual atomic ladder) because it's a cross-cutting
28
+ * behavioural wrapper, not a UI primitive. The boundary logic is RN-safe; the default
29
+ * fallback renders a `<div>`, so an `index.native.tsx` sibling is needed before RN use.
30
+ */
31
+ export declare const ErrorBoundary: ({ identifier, children, fallback, renderFallback, somethingWentWrongText, onError, className, }: ErrorBoundaryProps) => ReactNode;
32
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/providers/ErrorBoundary/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlD,MAAM,WAAW,kBAAkB;IACjC,gFAAgF;IAChF,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,2FAA2F;IAC3F,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,SAAS,CAAC;IAC7C;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,qFAAqF;IACrF,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IAClD,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,GAAI,iGAQ3B,kBAAkB,KAAG,SAoBvB,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Merge Tailwind class strings, resolving conflicts (last value wins). Accepts the
3
+ * same inputs as tailwind-merge — strings, arrays, and falsy values for
4
+ * conditionals — so it composes cleanly:
5
+ *
6
+ * cx('px-2', isActive && 'bg-primary', ['text-sm', null]);
7
+ *
8
+ * Pure JS with no DOM dependency, so the same helper works on web (PostCSS) and
9
+ * React Native (NativeWind). Imported by components as
10
+ * `@flipdish/ui-library/utilities/cx`.
11
+ */
12
+ export declare const cx: (...classLists: import("tailwind-merge").ClassNameValue[]) => string;
13
+ type ClassValue = string | number;
14
+ type ClassDefinition = Record<string, ClassValue | Record<string, ClassValue | Record<string, ClassValue>>>;
15
+ /**
16
+ * Identity helper that exists only so Tailwind IntelliSense recognises and sorts
17
+ * the class strings held inside style-config objects (e.g. `tailwind-variants`
18
+ * slot maps). Returns its argument unchanged.
19
+ */
20
+ export declare const sortCx: <T extends ClassDefinition>(classes: T) => T;
21
+ export {};
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utilities/cx/index.ts"],"names":[],"mappings":"AAkBA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,EAAE,sEAAU,CAAC;AAE1B,KAAK,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;AAClC,KAAK,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;AAE5G;;;;GAIG;AACH,eAAO,MAAM,MAAM,GAAI,CAAC,SAAS,eAAe,EAAE,SAAS,CAAC,KAAG,CAAY,CAAC"}
@@ -0,0 +1,24 @@
1
+ import type React from 'react';
2
+ type ReactComponent = React.FC<any> | React.ComponentClass<any, any>;
3
+ /**
4
+ * Backs Untitled UI's `@/utils/is-react-component` import.
5
+ *
6
+ * Distinguishes a component passed as a prop (an icon `FC`, class component, or
7
+ * `forwardRef` object you instantiate) from an already-rendered element
8
+ * (handled via React's `isValidElement`). Untitled UI icon props accept either
9
+ * form; these guards select the "render it yourself" branch.
10
+ *
11
+ * Pure JS with no DOM dependency — works on web (PostCSS) and React Native
12
+ * (NativeWind). Imported by components as
13
+ * `@flipdish/ui-library/utilities/isReactComponent`.
14
+ */
15
+ /** Checks if a given value is a function component. */
16
+ export declare const isFunctionComponent: (component: any) => component is React.FC<any>;
17
+ /** Checks if a given value is a class component. */
18
+ export declare const isClassComponent: (component: any) => component is React.ComponentClass<any, any>;
19
+ /** Checks if a given value is a forward ref component. */
20
+ export declare const isForwardRefComponent: (component: any) => component is React.ForwardRefExoticComponent<any>;
21
+ /** Checks if a given value is a valid React component (FC, class, or forwardRef). */
22
+ export declare const isReactComponent: (component: any) => component is ReactComponent;
23
+ export {};
24
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utilities/isReactComponent/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,cAAc,GAAG,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,cAAc,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;AAErE;;;;;;;;;;;GAWG;AAEH,uDAAuD;AAEvD,eAAO,MAAM,mBAAmB,GAAI,WAAW,GAAG,KAAG,SAAS,IAAI,KAAK,CAAC,EAAE,CAAC,GAAG,CAE7E,CAAC;AAEF,oDAAoD;AAEpD,eAAO,MAAM,gBAAgB,GAAI,WAAW,GAAG,KAAG,SAAS,IAAI,KAAK,CAAC,cAAc,CAAC,GAAG,EAAE,GAAG,CAE3F,CAAC;AAEF,0DAA0D;AAE1D,eAAO,MAAM,qBAAqB,GAAI,WAAW,GAAG,KAAG,SAAS,IAAI,KAAK,CAAC,yBAAyB,CAAC,GAAG,CAEtG,CAAC;AAEF,qFAAqF;AAErF,eAAO,MAAM,gBAAgB,GAAI,WAAW,GAAG,KAAG,SAAS,IAAI,cAE9D,CAAC"}
@@ -0,0 +1,56 @@
1
+ /**
2
+ * Retrieves an environment variable.
3
+ *
4
+ * @param key The key of the environment variable to retrieve.
5
+ * @returns The value of the environment variable.
6
+ */
7
+ export declare const getEnvironmentVariable: (key: string) => string;
8
+ /**
9
+ * Retrieves a micro-frontend attribute.
10
+ *
11
+ * @param key The key of the attribute to retrieve.
12
+ * @returns The value of the attribute.
13
+ */
14
+ export declare const getMicroFrontendAttribute: (key: string) => string;
15
+ /**
16
+ * Retrieves the AppId.
17
+ *
18
+ * Attempts to get the value from the environment variable `VITE_APPID_OVERRIDE`.
19
+ * If the environment variable is not set, it falls back to retrieving from a micro frontend attribute `data-app-id`.
20
+ * Fallbacks to `data-appid` for backwards compatibility @flipdish/portal-library@5.1.0 and below
21
+ *
22
+ * @warning Your component will not re-render if the value changes. Use 'useMicroFrontendAttributes' custom hook instead if you care about reactivity.
23
+ */
24
+ export declare const getAppId: () => string;
25
+ /**
26
+ * Retrieves the OrgId.
27
+ *
28
+ * Attempts to get the value from the environment variable `VITE_ORGID_OVERRIDE`.
29
+ * If the environment variable is not set, it falls back to retrieving from a micro frontend attribute `data-org-id`.
30
+ * Fallbacks to `data-orgid` for backwards compatibility @flipdish/portal-library@5.1.0 and below
31
+ *
32
+ * @warning Your component will not re-render if the value changes. Use 'useMicroFrontendAttributes' custom hook instead if you care about reactivity.
33
+ */
34
+ export declare const getOrgId: () => string;
35
+ /**
36
+ * Retrieves the BrandId.
37
+ *
38
+ * Attempts to get the value from the environment variable `VITE_BRANDID_OVERRIDE`.
39
+ * If the environment variable is not set, it falls back to retrieving from a micro frontend attribute `data-brand-id`.
40
+ * Fallbacks to `data-brandid` for backwards compatibility @flipdish/portal-library@5.1.0 and below
41
+ *
42
+ * @warning Your component will not re-render if the value changes. Use 'useMicroFrontendAttributes' custom hook instead if you care about reactivity.
43
+ */
44
+ export declare const getBrandId: () => string;
45
+ /**
46
+ * Retrieves the isFlipdishStaff attribute.
47
+ *
48
+ * Attempts to get the value from the environment variable `VITE_ISFLIPDISHSTAFFOVERRIDE`.
49
+ * If the environment variable is not set, it falls back to retrieving from a micro frontend attribute `data-is-flipdish-staff`.
50
+ * Fallbacks to `data-isflipdishstaff` for backwards compatibility @flipdish/portal-library@5.1.0 and below
51
+ *
52
+ * @warning Your component will not re-render if the value changes. Use 'useMicroFrontendAttributes' custom hook instead if you care about reactivity.
53
+ */
54
+ export declare const getIsFlipdishStaff: () => boolean;
55
+ export declare const lazyWithRetry: (componentImport: () => any) => import("react").LazyExoticComponent<import("react").ComponentType<any>>;
56
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utilities/renderUtils/index.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,GAAI,KAAK,MAAM,KAAG,MAgBpD,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB,GAAI,KAAK,MAAM,KAAG,MAMvD,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,QAAQ,QAAO,MAE3B,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,QAAQ,QAAO,MAE3B,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,QAAO,MAE7B,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB,QAAO,OAMrC,CAAC;AAGF,eAAO,MAAM,aAAa,GAAI,iBAAiB,MAAM,GAAG,4EAsBpD,CAAC"}
@@ -0,0 +1,101 @@
1
+ /*
2
+ * Shared Tailwind v4 runtime for `@flipdish/ui-library`.
3
+ *
4
+ * Consumed by an app's Tailwind entry CSS via:
5
+ *
6
+ * @import "@flipdish/ui-library/styles";
7
+ *
8
+ * Centralises everything pasted Untitled UI components depend on — the Tailwind
9
+ * plugins, custom variants, `@utility` definitions, and base resets — so each MFE
10
+ * / consumer doesn't re-declare them. Tokens live separately in
11
+ * `@flipdish/ui-tokens` (`@import "@flipdish/ui-tokens/css"`).
12
+ *
13
+ * NOTE: this file declares `@plugin`s, so the plugin packages must be resolvable
14
+ * from THIS package (they are declared in ui-library's dependencies). Paths in
15
+ * `@source`/`@plugin` resolve relative to this file's real location.
16
+ *
17
+ * App-level concerns stay in the consumer's entry CSS: the `@layer` order,
18
+ * `tailwindcss` theme/preflight/utilities imports, and any PostCSS scoping
19
+ * (e.g. the `#flipdish-micro-frontend` prefix pipeline) — those are bundler /
20
+ * MFE concerns, not library concerns.
21
+ */
22
+
23
+ /*
24
+ * Self-register class scanning for this library's own sources. Tailwind ignores
25
+ * node_modules by default, so without this an app wouldn't generate classes used
26
+ * only inside ui-library. Resolves relative to this file's directory — `src` during
27
+ * dev/Storybook (scans .ts/.tsx), `dist` when shipped (scans the built .js). A bare
28
+ * directory source avoids brace globs, which Tailwind's CSS parser rejects — even in a
29
+ * comment, so don't reintroduce one here.
30
+ */
31
+ @source ".";
32
+
33
+ /*
34
+ * Untitled UI runtime plugins (per https://www.untitledui.com/react/integrations/vite).
35
+ */
36
+ @plugin "tailwindcss-animate";
37
+ @plugin "tailwindcss-react-aria-components";
38
+
39
+ /*
40
+ * `dark` is mapped to OUR `[data-theme="dark"]` attribute (NOT Untitled UI's default
41
+ * `.dark-mode` class), matching the dark block in `@flipdish/ui-tokens`. Any
42
+ * `dark:` utility therefore resolves via the same attribute the token layer cascades on.
43
+ */
44
+ @custom-variant dark (&:where([data-theme="dark"], [data-theme="dark"] *));
45
+ @custom-variant label (& [data-label]);
46
+ @custom-variant focus-input-within (&:has(input:focus));
47
+
48
+ @utility scrollbar-hide {
49
+ /* Webkit (Chrome, Safari, Opera) */
50
+ &::-webkit-scrollbar {
51
+ display: none;
52
+ -webkit-appearance: none;
53
+ }
54
+ /* IE, Edge, Firefox */
55
+ -ms-overflow-style: none;
56
+ scrollbar-width: none;
57
+ }
58
+
59
+ @utility transition-inherit-all {
60
+ transition-property: inherit;
61
+ transition-duration: inherit;
62
+ transition-timing-function: inherit;
63
+ }
64
+
65
+ /*
66
+ * Untitled UI base resets. When a consumer scopes its CSS (e.g. the property-service MFE
67
+ * rewrites `html` to `#flipdish-micro-frontend` via PostCSS), these are scoped with it.
68
+ * `var(--font-body)` is provided by `@flipdish/ui-tokens`.
69
+ */
70
+ @layer base {
71
+ html {
72
+ font-family: var(--font-body);
73
+ -webkit-font-smoothing: antialiased;
74
+ -moz-osx-font-smoothing: grayscale;
75
+ -webkit-font-variant-ligatures: contextual;
76
+ font-variant-ligatures: contextual;
77
+ -webkit-font-kerning: normal;
78
+ font-kerning: normal;
79
+ }
80
+
81
+ /* Hide Safari's default <details> expand arrow. */
82
+ details summary::-webkit-details-marker {
83
+ display: none;
84
+ }
85
+
86
+ /* Hide number-input spinners (Chrome, Safari, Edge, Opera). */
87
+ input::-webkit-outer-spin-button,
88
+ input::-webkit-inner-spin-button {
89
+ -webkit-appearance: none;
90
+ margin: 0;
91
+ }
92
+ /* Firefox */
93
+ input[type="number"] {
94
+ -moz-appearance: textfield;
95
+ }
96
+
97
+ /* Hide the default clear (X) button from search inputs. */
98
+ input[type="search"]::-webkit-search-cancel-button {
99
+ -webkit-appearance: none;
100
+ }
101
+ }
@@ -0,0 +1,41 @@
1
+ 'use strict';
2
+
3
+ var tailwindMerge = require('tailwind-merge');
4
+
5
+ /**
6
+ * tailwind-merge configured for Untitled UI's custom font-size scale, so the
7
+ * `text-display-*` utilities are treated as part of the `font-size` conflict
8
+ * group. Without this, tailwind-merge wouldn't de-dupe e.g.
9
+ * `text-display-sm text-display-lg` down to the last one.
10
+ *
11
+ * Mirrors the `cx` helper from Untitled UI's Vite integration guide.
12
+ */
13
+ const twMerge = tailwindMerge.extendTailwindMerge({
14
+ extend: {
15
+ theme: {
16
+ text: ['display-xs', 'display-sm', 'display-md', 'display-lg', 'display-xl', 'display-2xl'],
17
+ },
18
+ },
19
+ });
20
+ /**
21
+ * Merge Tailwind class strings, resolving conflicts (last value wins). Accepts the
22
+ * same inputs as tailwind-merge — strings, arrays, and falsy values for
23
+ * conditionals — so it composes cleanly:
24
+ *
25
+ * cx('px-2', isActive && 'bg-primary', ['text-sm', null]);
26
+ *
27
+ * Pure JS with no DOM dependency, so the same helper works on web (PostCSS) and
28
+ * React Native (NativeWind). Imported by components as
29
+ * `@flipdish/ui-library/utilities/cx`.
30
+ */
31
+ const cx = twMerge;
32
+ /**
33
+ * Identity helper that exists only so Tailwind IntelliSense recognises and sorts
34
+ * the class strings held inside style-config objects (e.g. `tailwind-variants`
35
+ * slot maps). Returns its argument unchanged.
36
+ */
37
+ const sortCx = (classes) => classes;
38
+
39
+ exports.cx = cx;
40
+ exports.sortCx = sortCx;
41
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../src/utilities/cx/index.ts"],"sourcesContent":[null],"names":["extendTailwindMerge"],"mappings":";;;;AAEA;;;;;;;AAOG;AACH,MAAM,OAAO,GAAGA,iCAAmB,CAAC;AAClC,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE;AACL,YAAA,IAAI,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,CAAC;AAC5F,SAAA;AACF,KAAA;AACF,CAAA,CAAC;AAEF;;;;;;;;;;AAUG;AACI,MAAM,EAAE,GAAG;AAKlB;;;;AAIG;AACI,MAAM,MAAM,GAAG,CAA4B,OAAU,KAAQ;;;;;"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Merge Tailwind class strings, resolving conflicts (last value wins). Accepts the
3
+ * same inputs as tailwind-merge — strings, arrays, and falsy values for
4
+ * conditionals — so it composes cleanly:
5
+ *
6
+ * cx('px-2', isActive && 'bg-primary', ['text-sm', null]);
7
+ *
8
+ * Pure JS with no DOM dependency, so the same helper works on web (PostCSS) and
9
+ * React Native (NativeWind). Imported by components as
10
+ * `@flipdish/ui-library/utilities/cx`.
11
+ */
12
+ export declare const cx: (...classLists: import("tailwind-merge").ClassNameValue[]) => string;
13
+ type ClassValue = string | number;
14
+ type ClassDefinition = Record<string, ClassValue | Record<string, ClassValue | Record<string, ClassValue>>>;
15
+ /**
16
+ * Identity helper that exists only so Tailwind IntelliSense recognises and sorts
17
+ * the class strings held inside style-config objects (e.g. `tailwind-variants`
18
+ * slot maps). Returns its argument unchanged.
19
+ */
20
+ export declare const sortCx: <T extends ClassDefinition>(classes: T) => T;
21
+ export {};
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utilities/cx/index.ts"],"names":[],"mappings":"AAkBA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,EAAE,sEAAU,CAAC;AAE1B,KAAK,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;AAClC,KAAK,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;AAE5G;;;;GAIG;AACH,eAAO,MAAM,MAAM,GAAI,CAAC,SAAS,eAAe,EAAE,SAAS,CAAC,KAAG,CAAY,CAAC"}