@opengovsg/oui 0.0.0-snapshot-20251203091804 → 0.0.0-snapshot-20251216073051

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 (206) hide show
  1. package/dist/cjs/badge/badge.cjs +5 -5
  2. package/dist/cjs/badge/use-badge.cjs +6 -6
  3. package/dist/cjs/banner/banner.cjs +6 -6
  4. package/dist/cjs/button/button.cjs +4 -4
  5. package/dist/cjs/calendar/calendar-bottom-content.cjs +3 -3
  6. package/dist/cjs/calendar/calendar-header.cjs +4 -4
  7. package/dist/cjs/calendar/calendar-month-day-selector.cjs +4 -4
  8. package/dist/cjs/calendar/calendar.cjs +4 -4
  9. package/dist/cjs/calendar/hooks/use-calendar-selectors.cjs +4 -4
  10. package/dist/cjs/calendar/utils.cjs +3 -3
  11. package/dist/cjs/checkbox/checkbox.cjs +3 -3
  12. package/dist/cjs/combo-box/combo-box-fuzzy.cjs +6 -6
  13. package/dist/cjs/combo-box/combo-box-item.cjs +2 -2
  14. package/dist/cjs/combo-box/combo-box.cjs +8 -8
  15. package/dist/cjs/date-field/date-field.cjs +4 -4
  16. package/dist/cjs/date-picker/date-picker.cjs +6 -7
  17. package/dist/cjs/date-range-picker/date-range-picker.cjs +8 -8
  18. package/dist/cjs/field/field.cjs +3 -3
  19. package/dist/cjs/file-dropzone/file-dropzone.cjs +13 -13
  20. package/dist/cjs/file-dropzone/file-info.cjs +5 -5
  21. package/dist/cjs/govt-banner/govt-banner.cjs +7 -7
  22. package/dist/cjs/hooks/use-callback-ref.cjs +4 -4
  23. package/dist/cjs/hooks/use-controllable-state.cjs +2 -2
  24. package/dist/cjs/hooks/use-draggable.cjs +8 -8
  25. package/dist/cjs/hooks/use-scroll-position.cjs +53 -0
  26. package/dist/cjs/index.cjs +33 -7
  27. package/dist/cjs/input/input.cjs +2 -2
  28. package/dist/cjs/menu/menu.cjs +9 -9
  29. package/dist/cjs/modal/modal-body.cjs +2 -2
  30. package/dist/cjs/modal/modal-content.cjs +5 -5
  31. package/dist/cjs/modal/modal-footer.cjs +2 -2
  32. package/dist/cjs/modal/modal-header.cjs +2 -2
  33. package/dist/cjs/modal/modal.cjs +3 -3
  34. package/dist/cjs/navbar/index.cjs +25 -0
  35. package/dist/cjs/navbar/navbar-brand.cjs +28 -0
  36. package/dist/cjs/navbar/navbar-content.cjs +33 -0
  37. package/dist/cjs/navbar/navbar-context.cjs +14 -0
  38. package/dist/cjs/navbar/navbar-item.cjs +29 -0
  39. package/dist/cjs/navbar/navbar-menu/i18n.cjs +23 -0
  40. package/dist/cjs/navbar/navbar-menu/item.cjs +44 -0
  41. package/dist/cjs/navbar/navbar-menu/menu.cjs +62 -0
  42. package/dist/cjs/navbar/navbar-menu/toggle.cjs +95 -0
  43. package/dist/cjs/navbar/navbar.cjs +50 -0
  44. package/dist/cjs/navbar/use-navbar.cjs +126 -0
  45. package/dist/cjs/node_modules/.pnpm/@react-aria_overlays@3.30.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@react-aria/overlays/dist/Overlay.cjs +55 -0
  46. package/dist/cjs/node_modules/.pnpm/@react-aria_overlays@3.30.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@react-aria/overlays/dist/PortalProvider.cjs +23 -0
  47. package/dist/cjs/node_modules/.pnpm/@react-aria_overlays@3.30.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@react-aria/overlays/dist/usePreventScroll.cjs +208 -0
  48. package/dist/cjs/node_modules/.pnpm/@react-aria_ssr@3.9.10_react@19.2.3/node_modules/@react-aria/ssr/dist/SSRProvider.cjs +104 -0
  49. package/dist/cjs/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/Icon.cjs +4 -4
  50. package/dist/cjs/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/createLucideIcon.cjs +3 -3
  51. package/dist/cjs/number-field/number-field.cjs +4 -4
  52. package/dist/cjs/pagination/hooks/use-pagination.cjs +7 -7
  53. package/dist/cjs/pagination/pagination.cjs +9 -9
  54. package/dist/cjs/pagination/use-pagination-item.cjs +3 -3
  55. package/dist/cjs/pagination/use-pagination.cjs +8 -8
  56. package/dist/cjs/range-calendar/range-calendar.cjs +7 -7
  57. package/dist/cjs/ripple/use-ripple.cjs +4 -4
  58. package/dist/cjs/select/select.cjs +6 -6
  59. package/dist/cjs/spinner/use-spinner.cjs +3 -3
  60. package/dist/cjs/system/react-utils/children.cjs +26 -0
  61. package/dist/cjs/system/react-utils/context.cjs +3 -3
  62. package/dist/cjs/system/react-utils/refs.cjs +3 -3
  63. package/dist/cjs/system/utils.cjs +2 -50
  64. package/dist/cjs/tabs/tabs.cjs +2 -2
  65. package/dist/cjs/tag-field/tag-field-item.cjs +2 -2
  66. package/dist/cjs/tag-field/tag-field-list.cjs +4 -4
  67. package/dist/cjs/tag-field/tag-field-root.cjs +14 -14
  68. package/dist/cjs/tag-field/tag-field-state-context.cjs +2 -2
  69. package/dist/cjs/tag-field/tag-field-tag-list.cjs +4 -4
  70. package/dist/cjs/tag-field/tag-field-trigger.cjs +2 -2
  71. package/dist/cjs/tag-field/tag-field.cjs +6 -6
  72. package/dist/cjs/tag-field/use-tag-field-state.cjs +6 -6
  73. package/dist/cjs/tag-field/use-tag-field.cjs +4 -4
  74. package/dist/cjs/text-area/text-area.cjs +2 -2
  75. package/dist/cjs/text-area-field/text-area-field.cjs +1 -1
  76. package/dist/cjs/text-field/text-field.cjs +1 -1
  77. package/dist/cjs/toast/index.cjs +13 -0
  78. package/dist/cjs/toast/toast.cjs +91 -0
  79. package/dist/cjs/toggle/toggle.cjs +3 -3
  80. package/dist/esm/badge/badge.js +1 -1
  81. package/dist/esm/banner/banner.js +3 -3
  82. package/dist/esm/button/button.js +1 -1
  83. package/dist/esm/calendar/calendar-header.js +2 -2
  84. package/dist/esm/calendar/calendar-month-day-selector.js +2 -2
  85. package/dist/esm/checkbox/checkbox.js +3 -3
  86. package/dist/esm/combo-box/combo-box.js +5 -5
  87. package/dist/esm/date-field/date-field.js +1 -1
  88. package/dist/esm/date-picker/date-picker.js +4 -5
  89. package/dist/esm/date-range-picker/date-range-picker.js +5 -5
  90. package/dist/esm/field/field.js +1 -1
  91. package/dist/esm/file-dropzone/file-dropzone.js +3 -3
  92. package/dist/esm/file-dropzone/file-info.js +2 -2
  93. package/dist/esm/govt-banner/govt-banner.js +4 -4
  94. package/dist/esm/hooks/use-scroll-position.js +51 -0
  95. package/dist/esm/index.js +13 -2
  96. package/dist/esm/menu/menu.js +3 -3
  97. package/dist/esm/modal/modal-content.js +2 -2
  98. package/dist/esm/navbar/index.js +10 -0
  99. package/dist/esm/navbar/navbar-brand.js +26 -0
  100. package/dist/esm/navbar/navbar-content.js +31 -0
  101. package/dist/esm/navbar/navbar-context.js +11 -0
  102. package/dist/esm/navbar/navbar-item.js +27 -0
  103. package/dist/esm/navbar/navbar-menu/i18n.js +21 -0
  104. package/dist/esm/navbar/navbar-menu/item.js +42 -0
  105. package/dist/esm/navbar/navbar-menu/menu.js +60 -0
  106. package/dist/esm/navbar/navbar-menu/toggle.js +93 -0
  107. package/dist/esm/navbar/navbar.js +48 -0
  108. package/dist/esm/navbar/use-navbar.js +124 -0
  109. package/dist/esm/node_modules/.pnpm/@react-aria_overlays@3.30.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@react-aria/overlays/dist/Overlay.js +52 -0
  110. package/dist/esm/node_modules/.pnpm/@react-aria_overlays@3.30.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@react-aria/overlays/dist/PortalProvider.js +20 -0
  111. package/dist/esm/node_modules/.pnpm/@react-aria_overlays@3.30.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@react-aria/overlays/dist/usePreventScroll.js +206 -0
  112. package/dist/esm/node_modules/.pnpm/@react-aria_ssr@3.9.10_react@19.2.3/node_modules/@react-aria/ssr/dist/SSRProvider.js +102 -0
  113. package/dist/esm/number-field/number-field.js +4 -4
  114. package/dist/esm/pagination/pagination.js +3 -3
  115. package/dist/esm/pagination/use-pagination-item.js +1 -1
  116. package/dist/esm/range-calendar/range-calendar.js +1 -1
  117. package/dist/esm/select/select.js +4 -4
  118. package/dist/esm/system/react-utils/children.js +23 -0
  119. package/dist/esm/system/utils.js +2 -49
  120. package/dist/esm/tag-field/tag-field-tag-list.js +1 -1
  121. package/dist/esm/tag-field/tag-field.js +4 -4
  122. package/dist/esm/text-area-field/text-area-field.js +1 -1
  123. package/dist/esm/text-field/text-field.js +1 -1
  124. package/dist/esm/toast/index.js +3 -0
  125. package/dist/esm/toast/toast.js +86 -0
  126. package/dist/types/hooks/use-scroll-position.d.ts +29 -0
  127. package/dist/types/hooks/use-scroll-position.d.ts.map +1 -0
  128. package/dist/types/index.d.mts +2 -0
  129. package/dist/types/index.d.ts +2 -0
  130. package/dist/types/index.d.ts.map +1 -1
  131. package/dist/types/navbar/index.d.ts +17 -0
  132. package/dist/types/navbar/index.d.ts.map +1 -0
  133. package/dist/types/navbar/navbar-brand.d.ts +6 -0
  134. package/dist/types/navbar/navbar-brand.d.ts.map +1 -0
  135. package/dist/types/navbar/navbar-content.d.ts +14 -0
  136. package/dist/types/navbar/navbar-content.d.ts.map +1 -0
  137. package/dist/types/navbar/navbar-context.d.ts +182 -0
  138. package/dist/types/navbar/navbar-context.d.ts.map +1 -0
  139. package/dist/types/navbar/navbar-item.d.ts +11 -0
  140. package/dist/types/navbar/navbar-item.d.ts.map +1 -0
  141. package/dist/types/navbar/navbar-menu/i18n.d.ts +3 -0
  142. package/dist/types/navbar/navbar-menu/i18n.d.ts.map +1 -0
  143. package/dist/types/navbar/navbar-menu/item.d.ts +16 -0
  144. package/dist/types/navbar/navbar-menu/item.d.ts.map +1 -0
  145. package/dist/types/navbar/navbar-menu/menu.d.ts +11 -0
  146. package/dist/types/navbar/navbar-menu/menu.d.ts.map +1 -0
  147. package/dist/types/navbar/navbar-menu/toggle.d.ts +12 -0
  148. package/dist/types/navbar/navbar-menu/toggle.d.ts.map +1 -0
  149. package/dist/types/navbar/navbar.d.ts +6 -0
  150. package/dist/types/navbar/navbar.d.ts.map +1 -0
  151. package/dist/types/navbar/use-navbar.d.ts +163 -0
  152. package/dist/types/navbar/use-navbar.d.ts.map +1 -0
  153. package/dist/types/spinner/use-spinner.d.ts +8 -8
  154. package/dist/types/system/react-utils/children.d.ts +10 -0
  155. package/dist/types/system/react-utils/children.d.ts.map +1 -0
  156. package/dist/types/system/react-utils/index.d.ts +5 -3
  157. package/dist/types/system/react-utils/index.d.ts.map +1 -1
  158. package/dist/types/system/utils.d.ts +1 -833
  159. package/dist/types/system/utils.d.ts.map +1 -1
  160. package/dist/types/toast/index.d.ts +3 -0
  161. package/dist/types/toast/index.d.ts.map +1 -0
  162. package/dist/types/toast/toast.d.ts +9 -0
  163. package/dist/types/toast/toast.d.ts.map +1 -0
  164. package/package.json +8 -7
  165. /package/dist/cjs/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/defaultAttributes.cjs +0 -0
  166. /package/dist/cjs/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/calendar.cjs +0 -0
  167. /package/dist/cjs/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/check.cjs +0 -0
  168. /package/dist/cjs/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/chevron-down.cjs +0 -0
  169. /package/dist/cjs/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/chevron-left.cjs +0 -0
  170. /package/dist/cjs/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/chevron-right.cjs +0 -0
  171. /package/dist/cjs/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/chevron-up.cjs +0 -0
  172. /package/dist/cjs/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/chevrons-right.cjs +0 -0
  173. /package/dist/cjs/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/circle-alert.cjs +0 -0
  174. /package/dist/cjs/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/ellipsis.cjs +0 -0
  175. /package/dist/cjs/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/external-link.cjs +0 -0
  176. /package/dist/cjs/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/info.cjs +0 -0
  177. /package/dist/cjs/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/landmark.cjs +0 -0
  178. /package/dist/cjs/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/lock.cjs +0 -0
  179. /package/dist/cjs/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/minus.cjs +0 -0
  180. /package/dist/cjs/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/plus.cjs +0 -0
  181. /package/dist/cjs/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/trash-2.cjs +0 -0
  182. /package/dist/cjs/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/upload.cjs +0 -0
  183. /package/dist/cjs/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/x.cjs +0 -0
  184. /package/dist/cjs/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/shared/src/utils.cjs +0 -0
  185. /package/dist/esm/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/Icon.js +0 -0
  186. /package/dist/esm/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/createLucideIcon.js +0 -0
  187. /package/dist/esm/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/defaultAttributes.js +0 -0
  188. /package/dist/esm/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/calendar.js +0 -0
  189. /package/dist/esm/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/check.js +0 -0
  190. /package/dist/esm/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/chevron-down.js +0 -0
  191. /package/dist/esm/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/chevron-left.js +0 -0
  192. /package/dist/esm/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/chevron-right.js +0 -0
  193. /package/dist/esm/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/chevron-up.js +0 -0
  194. /package/dist/esm/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/chevrons-right.js +0 -0
  195. /package/dist/esm/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/circle-alert.js +0 -0
  196. /package/dist/esm/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/ellipsis.js +0 -0
  197. /package/dist/esm/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/external-link.js +0 -0
  198. /package/dist/esm/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/info.js +0 -0
  199. /package/dist/esm/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/landmark.js +0 -0
  200. /package/dist/esm/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/lock.js +0 -0
  201. /package/dist/esm/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/minus.js +0 -0
  202. /package/dist/esm/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/plus.js +0 -0
  203. /package/dist/esm/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/trash-2.js +0 -0
  204. /package/dist/esm/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/upload.js +0 -0
  205. /package/dist/esm/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/icons/x.js +0 -0
  206. /package/dist/esm/node_modules/.pnpm/{lucide-react@0.475.0_react@19.0.0 → lucide-react@0.475.0_react@19.2.3}/node_modules/lucide-react/dist/esm/shared/src/utils.js +0 -0
@@ -3,7 +3,7 @@
3
3
  'use strict';
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
- var react = require('react');
6
+ var $670gB$react = require('react');
7
7
  var reactAriaComponents = require('react-aria-components');
8
8
  var ouiTheme = require('@opengovsg/oui-theme');
9
9
  var utils = require('../system/utils.cjs');
@@ -51,7 +51,7 @@ const TabList = utils.forwardRefGeneric(function TabList2(originalProps, ref) {
51
51
  }
52
52
  );
53
53
  });
54
- const Tab = react.forwardRef(function Tab2(originalProps, ref) {
54
+ const Tab = $670gB$react.forwardRef(function Tab2(originalProps, ref) {
55
55
  [originalProps, ref] = reactAriaComponents.useContextProps(
56
56
  originalProps,
57
57
  ref,
@@ -3,13 +3,13 @@
3
3
  'use strict';
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
- var react = require('react');
6
+ var $670gB$react = require('react');
7
7
  var ouiTheme = require('@opengovsg/oui-theme');
8
8
  var utils = require('../system/utils.cjs');
9
9
  var tagFieldStateContext = require('./tag-field-state-context.cjs');
10
10
 
11
11
  const TagFieldItemInner = ({ item, isHighlighted, classNames, ...itemProps }, ref) => {
12
- const { itemToText, size } = react.useContext(tagFieldStateContext.TagFieldStateContext);
12
+ const { itemToText, size } = $670gB$react.useContext(tagFieldStateContext.TagFieldStateContext);
13
13
  const styles = ouiTheme.listBoxItemStyles({ size });
14
14
  return /* @__PURE__ */ jsxRuntime.jsx(
15
15
  "li",
@@ -3,16 +3,16 @@
3
3
  'use strict';
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
- var react = require('react');
6
+ var $670gB$react = require('react');
7
7
  var reactAriaComponents = require('react-aria-components');
8
8
  var utils = require('../system/utils.cjs');
9
9
  var tagFieldItem = require('./tag-field-item.cjs');
10
10
  var tagFieldStateContext = require('./tag-field-state-context.cjs');
11
11
 
12
- const TagFieldListContext = react.createContext(null);
12
+ const TagFieldListContext = $670gB$react.createContext(null);
13
13
  const TagFieldListInner = (props, ref) => {
14
14
  [props, ref] = reactAriaComponents.useContextProps(props, ref, TagFieldListContext);
15
- const { items, getItemProps, highlightedIndex } = react.useContext(tagFieldStateContext.TagFieldStateContext);
15
+ const { items, getItemProps, highlightedIndex } = $670gB$react.useContext(tagFieldStateContext.TagFieldStateContext);
16
16
  const { slot, rowVirtualizer, itemClassNames, ...rest } = props;
17
17
  return /* @__PURE__ */ jsxRuntime.jsx("ul", { slot: slot ?? void 0, ref, ...rest, children: props.children !== void 0 && typeof props.children !== "function" ? props.children : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
18
18
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -46,7 +46,7 @@ const TagFieldListInner = (props, ref) => {
46
46
  if (typeof props.children === "function") {
47
47
  return props.children({ ...childProps, itemProps });
48
48
  }
49
- return /* @__PURE__ */ react.createElement(
49
+ return /* @__PURE__ */ $670gB$react.createElement(
50
50
  tagFieldItem.TagFieldItem,
51
51
  {
52
52
  ...childProps,
@@ -2,7 +2,7 @@
2
2
  'use strict';
3
3
 
4
4
  var jsxRuntime = require('react/jsx-runtime');
5
- var react = require('react');
5
+ var $670gB$react = require('react');
6
6
  var utils$1 = require('@react-aria/utils');
7
7
  var lodashEs = require('lodash-es');
8
8
  var reactAria = require('react-aria');
@@ -30,26 +30,26 @@ function TagFieldRoot({
30
30
  ...props
31
31
  }) {
32
32
  const { itemToKey: defaultItemToKey, itemToText: defaultItemToText } = props;
33
- const virtualRowHeight = react.useMemo(
33
+ const virtualRowHeight = $670gB$react.useMemo(
34
34
  () => _virtualRowHeight ?? calculateEstimatedRowHeight(props.size ?? "md"),
35
35
  [_virtualRowHeight, props.size]
36
36
  );
37
37
  const { contains } = reactAria.useFilter({ sensitivity: "base" });
38
- const itemToText = react.useCallback(
38
+ const itemToText = $670gB$react.useCallback(
39
39
  (item) => {
40
40
  if (defaultItemToText) return defaultItemToText(item);
41
41
  return String(lodashEs.get(item, "textValue") ?? String(item));
42
42
  },
43
43
  [defaultItemToText]
44
44
  );
45
- const itemToKey = react.useCallback(
45
+ const itemToKey = $670gB$react.useCallback(
46
46
  (item) => {
47
47
  if (defaultItemToKey) return defaultItemToKey(item);
48
48
  return String(lodashEs.get(item, "id") ?? String(item));
49
49
  },
50
50
  [defaultItemToKey]
51
51
  );
52
- const onSelectionChange = react.useCallback(
52
+ const onSelectionChange = $670gB$react.useCallback(
53
53
  (nextItems) => {
54
54
  if (props.onSelectionChange) {
55
55
  props.onSelectionChange(new Set(nextItems.map(itemToKey)));
@@ -66,12 +66,12 @@ function TagFieldRoot({
66
66
  });
67
67
  const { validationBehavior: formValidationBehavior } = reactAriaComponents.useSlottedContext(reactAriaComponents.FormContext) || {};
68
68
  props.validationBehavior ?? formValidationBehavior ?? "native";
69
- const fieldRef = react.useRef(null);
70
- const popoverRef = react.useRef(null);
71
- const listBoxRef = react.useRef(null);
72
- const labelRef = react.useRef(null);
73
- const inputRef = react.useRef(null);
74
- const buttonRef = react.useRef(null);
69
+ const fieldRef = $670gB$react.useRef(null);
70
+ const popoverRef = $670gB$react.useRef(null);
71
+ const listBoxRef = $670gB$react.useRef(null);
72
+ const labelRef = $670gB$react.useRef(null);
73
+ const inputRef = $670gB$react.useRef(null);
74
+ const buttonRef = $670gB$react.useRef(null);
75
75
  const {
76
76
  tagFieldProps,
77
77
  buttonProps,
@@ -94,8 +94,8 @@ function TagFieldRoot({
94
94
  buttonRef},
95
95
  state
96
96
  );
97
- const [menuWidth, setMenuWidth] = react.useState(null);
98
- const onResize = react.useCallback(() => {
97
+ const [menuWidth, setMenuWidth] = $670gB$react.useState(null);
98
+ const onResize = $670gB$react.useCallback(() => {
99
99
  if (fieldRef.current) {
100
100
  const fieldRect = fieldRef.current.getBoundingClientRect();
101
101
  setMenuWidth(fieldRect.right - fieldRect.left + "px");
@@ -105,7 +105,7 @@ function TagFieldRoot({
105
105
  ref: fieldRef,
106
106
  onResize
107
107
  });
108
- const renderPropsState = react.useMemo(
108
+ const renderPropsState = $670gB$react.useMemo(
109
109
  () => ({
110
110
  isOpen: tagFieldProps.isOpen,
111
111
  isDisabled: props.isDisabled || false,
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  'use strict';
3
3
 
4
- var react = require('react');
4
+ var $670gB$react = require('react');
5
5
 
6
6
  const TagFieldStateContext = (
7
7
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
8
- react.createContext(null)
8
+ $670gB$react.createContext(null)
9
9
  );
10
10
 
11
11
  exports.TagFieldStateContext = TagFieldStateContext;
@@ -2,9 +2,9 @@
2
2
  'use strict';
3
3
 
4
4
  var jsxRuntime = require('react/jsx-runtime');
5
- var react = require('react');
5
+ var $670gB$react = require('react');
6
6
  var tagFieldStateContext = require('./tag-field-state-context.cjs');
7
- var x = require('../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/dist/esm/icons/x.cjs');
7
+ var x = require('../node_modules/.pnpm/lucide-react@0.475.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/x.cjs');
8
8
 
9
9
  const TagFieldTagList = ({
10
10
  classNames,
@@ -17,8 +17,8 @@ const TagFieldTagList = ({
17
17
  isDisabled,
18
18
  isReadOnly,
19
19
  itemToText
20
- } = react.useContext(tagFieldStateContext.TagFieldStateContext);
21
- const handleRemoveSelectedItem = react.useCallback(
20
+ } = $670gB$react.useContext(tagFieldStateContext.TagFieldStateContext);
21
+ const handleRemoveSelectedItem = $670gB$react.useCallback(
22
22
  (item) => () => {
23
23
  if (isDisabled || isReadOnly) return;
24
24
  removeSelectedItem(item);
@@ -3,11 +3,11 @@
3
3
  'use strict';
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
- var react = require('react');
6
+ var $670gB$react = require('react');
7
7
  var reactAriaComponents = require('react-aria-components');
8
8
  var utils = require('../system/utils.cjs');
9
9
 
10
- const TagFieldTriggerContext = react.createContext({});
10
+ const TagFieldTriggerContext = $670gB$react.createContext({});
11
11
  const TagFieldTrigger = utils.forwardRef(
12
12
  (props, ref) => {
13
13
  [props, ref] = reactAriaComponents.useContextProps(props, ref, TagFieldTriggerContext);
@@ -3,18 +3,18 @@
3
3
  'use strict';
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
- var react = require('react');
6
+ var $670gB$react = require('react');
7
7
  var reactAriaComponents = require('react-aria-components');
8
8
  var ouiTheme = require('@opengovsg/oui-theme');
9
- var field = require('../field/field.cjs');
10
- var input = require('../input/input.cjs');
11
- var popover = require('../popover/popover.cjs');
12
9
  var tagFieldItem = require('./tag-field-item.cjs');
13
10
  var tagFieldList = require('./tag-field-list.cjs');
14
11
  var tagFieldRoot = require('./tag-field-root.cjs');
15
12
  var tagFieldTagList = require('./tag-field-tag-list.cjs');
16
13
  var tagFieldTrigger = require('./tag-field-trigger.cjs');
17
- var chevronDown = require('../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/dist/esm/icons/chevron-down.cjs');
14
+ var chevronDown = require('../node_modules/.pnpm/lucide-react@0.475.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/chevron-down.cjs');
15
+ var field = require('../field/field.cjs');
16
+ var input = require('../input/input.cjs');
17
+ var popover = require('../popover/popover.cjs');
18
18
 
19
19
  function TagField({
20
20
  classNames,
@@ -99,7 +99,7 @@ function TagField({
99
99
  {
100
100
  className: styles.list({ className: classNames?.list }),
101
101
  itemClassNames: props.itemClassNames,
102
- children: ({ key, itemProps, ...props2 }) => children ? children({ key, itemProps, ...props2 }) : /* @__PURE__ */ react.createElement(tagFieldItem.TagFieldItem, { ...props2, ...itemProps, key })
102
+ children: ({ key, itemProps, ...props2 }) => children ? children({ key, itemProps, ...props2 }) : /* @__PURE__ */ $670gB$react.createElement(tagFieldItem.TagFieldItem, { ...props2, ...itemProps, key })
103
103
  }
104
104
  ) })
105
105
  ] });
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  'use strict';
3
3
 
4
- var react = require('react');
4
+ var $670gB$react = require('react');
5
5
  var form = require('@react-stately/form');
6
6
  var utils = require('@react-stately/utils');
7
7
  var useControllableState = require('../hooks/use-controllable-state.cjs');
8
8
 
9
9
  function useTagFieldState(props) {
10
10
  const { itemToText, itemToKey, defaultFilter } = props;
11
- const itemsByKey = react.useMemo(() => {
11
+ const itemsByKey = $670gB$react.useMemo(() => {
12
12
  const items = props.items ?? props.defaultItems ?? [];
13
13
  return items.reduce(
14
14
  (acc, item) => {
@@ -18,7 +18,7 @@ function useTagFieldState(props) {
18
18
  {}
19
19
  ) ?? {};
20
20
  }, [itemToKey, props.defaultItems, props.items]);
21
- const getSelectedItemsByKey = react.useCallback(
21
+ const getSelectedItemsByKey = $670gB$react.useCallback(
22
22
  (keys) => {
23
23
  if (!keys) return;
24
24
  return [...keys].map((key) => itemsByKey[key]);
@@ -36,13 +36,13 @@ function useTagFieldState(props) {
36
36
  defaultInputValue,
37
37
  props.onInputChange
38
38
  );
39
- const controlledSelectedKeys = react.useMemo(
39
+ const controlledSelectedKeys = $670gB$react.useMemo(
40
40
  () => new Set(selectedItems.map(itemToKey)),
41
41
  [itemToKey, selectedItems]
42
42
  );
43
43
  const validation = form.useFormValidationState({
44
44
  ...props,
45
- value: react.useMemo(
45
+ value: $670gB$react.useMemo(
46
46
  () => ({
47
47
  inputValue,
48
48
  selectedKeys: controlledSelectedKeys
@@ -50,7 +50,7 @@ function useTagFieldState(props) {
50
50
  [controlledSelectedKeys, inputValue]
51
51
  )
52
52
  });
53
- const filteredItems = react.useMemo(
53
+ const filteredItems = $670gB$react.useMemo(
54
54
  () => (
55
55
  // No default filter if items are controlled.
56
56
  !!props.items || !defaultFilter ? props.items ?? [] : filterItems({
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  'use strict';
3
3
 
4
- var react = require('react');
4
+ var $670gB$react = require('react');
5
5
  var utils = require('@react-aria/utils');
6
6
  var reactVirtual = require('@tanstack/react-virtual');
7
7
  var downshift = require('downshift');
@@ -23,7 +23,7 @@ function useTagField(props, state) {
23
23
  label,
24
24
  virtualRowHeight = 40
25
25
  } = props;
26
- const backupBtnRef = react.useRef(null);
26
+ const backupBtnRef = $670gB$react.useRef(null);
27
27
  buttonRef = buttonRef ?? backupBtnRef;
28
28
  const {
29
29
  selectedItems,
@@ -48,14 +48,14 @@ function useTagField(props, state) {
48
48
  }
49
49
  }
50
50
  });
51
- const disabledKeysSet = react.useMemo(() => {
51
+ const disabledKeysSet = $670gB$react.useMemo(() => {
52
52
  return new Set(disabledKeys);
53
53
  }, [disabledKeys]);
54
54
  const rowVirtualizer = reactVirtual.useVirtualizer({
55
55
  count: items.length,
56
56
  getScrollElement: () => listBoxRef.current,
57
57
  estimateSize: () => virtualRowHeight,
58
- getItemKey: react.useCallback(
58
+ getItemKey: $670gB$react.useCallback(
59
59
  (index) => itemToKey(items[index]),
60
60
  [itemToKey, items]
61
61
  ),
@@ -3,11 +3,11 @@
3
3
  'use strict';
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
- var react = require('react');
6
+ var $670gB$react = require('react');
7
7
  var reactAriaComponents = require('react-aria-components');
8
8
  var ouiTheme = require('@opengovsg/oui-theme');
9
9
 
10
- const TextArea = react.forwardRef(
10
+ const TextArea = $670gB$react.forwardRef(
11
11
  ({ size, variant, isDisabled, ...props }, ref) => {
12
12
  return /* @__PURE__ */ jsxRuntime.jsx(
13
13
  reactAriaComponents.TextArea,
@@ -5,8 +5,8 @@
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
  var reactAriaComponents = require('react-aria-components');
7
7
  var ouiTheme = require('@opengovsg/oui-theme');
8
- var field = require('../field/field.cjs');
9
8
  var textArea = require('../text-area/text-area.cjs');
9
+ var field = require('../field/field.cjs');
10
10
 
11
11
  function TextAreaField({
12
12
  label,
@@ -5,8 +5,8 @@
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
  var reactAriaComponents = require('react-aria-components');
7
7
  var ouiTheme = require('@opengovsg/oui-theme');
8
- var field = require('../field/field.cjs');
9
8
  var input = require('../input/input.cjs');
9
+ var field = require('../field/field.cjs');
10
10
 
11
11
  function TextField({
12
12
  label,
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ 'use strict';
3
+
4
+ var toast = require('./toast.cjs');
5
+ var sonner = require('sonner');
6
+
7
+
8
+
9
+ exports.Toaster = toast.Toaster;
10
+ Object.defineProperty(exports, "toast", {
11
+ enumerable: true,
12
+ get: function () { return sonner.toast; }
13
+ });
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+ "use client";
3
+ 'use strict';
4
+
5
+ var jsxRuntime = require('react/jsx-runtime');
6
+ var sonner = require('sonner');
7
+ var ouiTheme = require('@opengovsg/oui-theme');
8
+ var utils = require('../system/utils.cjs');
9
+ var x = require('../node_modules/.pnpm/lucide-react@0.475.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/x.cjs');
10
+ var spinner = require('../spinner/spinner.cjs');
11
+
12
+ function Toaster(originalProps) {
13
+ const [{ toastOptions, closeButton = true, ...props }, variantProps] = utils.mapPropsVariants(originalProps, ouiTheme.toastStyles.variantKeys);
14
+ const styles = ouiTheme.toastStyles(variantProps);
15
+ return /* @__PURE__ */ jsxRuntime.jsx(
16
+ sonner.Toaster,
17
+ {
18
+ className: styles.base({
19
+ className: props.className ?? props.classNames?.base
20
+ }),
21
+ position: "top-center",
22
+ icons: {
23
+ loading: /* @__PURE__ */ jsxRuntime.jsx(spinner.Spinner, { size: "xs" }),
24
+ close: /* @__PURE__ */ jsxRuntime.jsx(x.default, {})
25
+ },
26
+ mobileOffset: 8,
27
+ offset: {
28
+ top: 8
29
+ },
30
+ closeButton,
31
+ toastOptions: {
32
+ classNames: {
33
+ toast: styles.toast({
34
+ className: props.classNames?.toast
35
+ }),
36
+ title: styles.title({
37
+ className: props.classNames?.title
38
+ }),
39
+ description: styles.description({
40
+ className: props.classNames?.description
41
+ }),
42
+ loader: styles.loader({
43
+ className: props.classNames?.loader
44
+ }),
45
+ closeButton: styles.closeButton({
46
+ className: props.classNames?.closeButton
47
+ }),
48
+ success: styles.success({
49
+ className: props.classNames?.success
50
+ }),
51
+ error: styles.error({
52
+ className: props.classNames?.error
53
+ }),
54
+ info: styles.info({
55
+ className: props.classNames?.info
56
+ }),
57
+ warning: styles.warning({
58
+ className: props.classNames?.warning
59
+ }),
60
+ loading: styles.loading({
61
+ className: props.classNames?.loading
62
+ }),
63
+ default: styles.default({
64
+ className: props.classNames?.default
65
+ }),
66
+ content: styles.content({
67
+ className: props.classNames?.content
68
+ }),
69
+ icon: styles.icon({
70
+ className: props.classNames?.icon
71
+ }),
72
+ actionButton: styles.actionButton({
73
+ className: props.classNames?.actionButton
74
+ }),
75
+ cancelButton: styles.cancelButton({
76
+ className: props.classNames?.cancelButton
77
+ })
78
+ },
79
+ unstyled: true,
80
+ ...toastOptions
81
+ },
82
+ ...props
83
+ }
84
+ );
85
+ }
86
+
87
+ Object.defineProperty(exports, "toast", {
88
+ enumerable: true,
89
+ get: function () { return sonner.toast; }
90
+ });
91
+ exports.Toaster = Toaster;
@@ -3,7 +3,7 @@
3
3
  'use strict';
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
- var react = require('react');
6
+ var $670gB$react = require('react');
7
7
  var reactAria = require('react-aria');
8
8
  var reactAriaComponents = require('react-aria-components');
9
9
  var ouiTheme = require('@opengovsg/oui-theme');
@@ -21,12 +21,12 @@ const Toggle = ({
21
21
  ouiTheme.toggleStyles.variantKeys
22
22
  );
23
23
  const slots = ouiTheme.toggleStyles(variantProps);
24
- const clonedThumbIcon = react.useCallback(
24
+ const clonedThumbIcon = $670gB$react.useCallback(
25
25
  (renderProps) => {
26
26
  const baseProps = {
27
27
  className: slots.thumbIcon({ className: classNames?.thumbIcon })
28
28
  };
29
- return typeof thumbIcon === "function" ? thumbIcon(reactAria.mergeProps(baseProps, renderProps)) : thumbIcon && react.cloneElement(thumbIcon, baseProps);
29
+ return typeof thumbIcon === "function" ? thumbIcon(reactAria.mergeProps(baseProps, renderProps)) : thumbIcon && $670gB$react.cloneElement(thumbIcon, baseProps);
30
30
  },
31
31
  [classNames?.thumbIcon, slots, thumbIcon]
32
32
  );
@@ -3,7 +3,7 @@
3
3
  import { jsx, jsxs } from 'react/jsx-runtime';
4
4
  import { forwardRef, useMemo } from 'react';
5
5
  import { useBadge } from './use-badge.js';
6
- import X from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/dist/esm/icons/x.js';
6
+ import X from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/x.js';
7
7
 
8
8
  const Badge = forwardRef((props, ref) => {
9
9
  const {
@@ -5,10 +5,10 @@ import { useMemo, useRef } from 'react';
5
5
  import { useMessageFormatter, useDisclosure } from 'react-aria';
6
6
  import { useDisclosureState } from 'react-stately';
7
7
  import { bannerStyles } from '@opengovsg/oui-theme';
8
+ import CircleAlert from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/circle-alert.js';
9
+ import Info from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/info.js';
8
10
  import { Button } from '../button/button.js';
9
- import CircleAlert from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/dist/esm/icons/circle-alert.js';
10
- import Info from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/dist/esm/icons/info.js';
11
- import X from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/dist/esm/icons/x.js';
11
+ import X from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/x.js';
12
12
 
13
13
  const i18nStrings = {
14
14
  "en-SG": {
@@ -5,9 +5,9 @@ import { forwardRef, useMemo } from 'react';
5
5
  import { chain } from '@react-aria/utils';
6
6
  import { Button as Button$1, composeRenderProps } from 'react-aria-components';
7
7
  import { buttonStyles } from '@opengovsg/oui-theme';
8
- import { Ripple } from '../ripple/ripple.js';
9
8
  import { useRipple } from '../ripple/use-ripple.js';
10
9
  import { Spinner } from '../spinner/spinner.js';
10
+ import { Ripple } from '../ripple/ripple.js';
11
11
 
12
12
  const Button = forwardRef(
13
13
  ({
@@ -8,8 +8,8 @@ import { AgnosticCalendarStateContext } from './agnostic-calendar-state-context.
8
8
  import { CalendarMonthDaySelector } from './calendar-month-day-selector.js';
9
9
  import { useCalendarStyleContext } from './calendar-style-context.js';
10
10
  import { useLocalizedMonthYear } from './utils.js';
11
- import ChevronRight from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/dist/esm/icons/chevron-right.js';
12
- import ChevronLeft from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/dist/esm/icons/chevron-left.js';
11
+ import ChevronRight from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/chevron-right.js';
12
+ import ChevronLeft from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/chevron-left.js';
13
13
 
14
14
  function CalendarHeader({ offsetMonths = 0 }) {
15
15
  const { direction } = useLocale();
@@ -4,11 +4,11 @@ import { jsx } from 'react/jsx-runtime';
4
4
  import { useContext } from 'react';
5
5
  import { CalendarDate } from '@internationalized/date';
6
6
  import { Group } from 'react-aria-components';
7
- import { Select } from '../select/select.js';
8
- import { SelectItem } from '../select/select-item.js';
9
7
  import { AgnosticCalendarStateContext } from './agnostic-calendar-state-context.js';
10
8
  import { useCalendarStyleContext } from './calendar-style-context.js';
11
9
  import { useCalendarSelectors } from './hooks/use-calendar-selectors.js';
10
+ import { Select } from '../select/select.js';
11
+ import { SelectItem } from '../select/select-item.js';
12
12
  import { useCalendarI18n } from './hooks/use-calendar-i18n.js';
13
13
 
14
14
  const CalendarMonthDaySelector = () => {
@@ -3,11 +3,11 @@
3
3
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
4
4
  import { Checkbox as Checkbox$1, composeRenderProps, Provider, CheckboxGroup as CheckboxGroup$1 } from 'react-aria-components';
5
5
  import { checkboxStyles, checkboxGroupStyles } from '@opengovsg/oui-theme';
6
- import { Label, Description, FieldError } from '../field/field.js';
7
6
  import { mapPropsVariants } from '../system/utils.js';
8
7
  import { useCheckboxGroupStyleContext, CheckboxGroupStyleContext } from './checkbox-group-style-context.js';
9
- import Minus from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/dist/esm/icons/minus.js';
10
- import Check from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/dist/esm/icons/check.js';
8
+ import Minus from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/minus.js';
9
+ import Check from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/check.js';
10
+ import { Label, Description, FieldError } from '../field/field.js';
11
11
 
12
12
  const Checkbox = ({
13
13
  classNames,
@@ -5,13 +5,13 @@ import { useMemo, useCallback } from 'react';
5
5
  import { useMessageFormatter } from 'react-aria';
6
6
  import { ListLayout, Provider, ComboBox as ComboBox$1, Input, Button, Virtualizer, ListBox } from 'react-aria-components';
7
7
  import { listBoxItemStyles, cn, comboBoxStyles, composeTailwindRenderProps, composeRenderProps, comboBoxClearButtonStyles } from '@opengovsg/oui-theme';
8
- import { Label, FieldGroup, Description, FieldError } from '../field/field.js';
9
- import { Popover } from '../popover/popover.js';
10
8
  import { mapPropsVariants } from '../system/utils.js';
11
9
  import { ComboBoxVariantContext } from './combo-box-variant-context.js';
12
- import ChevronUp from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/dist/esm/icons/chevron-up.js';
13
- import ChevronDown from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/dist/esm/icons/chevron-down.js';
14
- import X from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/dist/esm/icons/x.js';
10
+ import { Label, FieldGroup, Description, FieldError } from '../field/field.js';
11
+ import ChevronUp from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/chevron-up.js';
12
+ import ChevronDown from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/chevron-down.js';
13
+ import X from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/x.js';
14
+ import { Popover } from '../popover/popover.js';
15
15
 
16
16
  const calculateEstimatedRowHeight = (size) => {
17
17
  switch (size) {
@@ -4,8 +4,8 @@ import { jsxs, jsx } from 'react/jsx-runtime';
4
4
  import { useMemo } from 'react';
5
5
  import { DateField as DateField$1, DateInput as DateInput$1, DateSegment } from 'react-aria-components';
6
6
  import { dateFieldStyles, composeTailwindRenderProps, dateInputStyles, composeRenderProps } from '@opengovsg/oui-theme';
7
- import { Label, Description, FieldError } from '../field/field.js';
8
7
  import { mapPropsVariants } from '../system/utils.js';
8
+ import { Label, Description, FieldError } from '../field/field.js';
9
9
 
10
10
  function DateField(originalProps) {
11
11
  const [
@@ -4,14 +4,13 @@ import { jsxs, jsx } from 'react/jsx-runtime';
4
4
  import { useMemo } from 'react';
5
5
  import { DatePicker as DatePicker$1, Dialog } from 'react-aria-components';
6
6
  import { datePickerStyles, composeTailwindRenderProps } from '@opengovsg/oui-theme';
7
- import { Button } from '../button/button.js';
8
- import { Calendar as Calendar$1 } from '../calendar/calendar.js';
9
- import '@internationalized/date';
7
+ import { mapPropsVariants } from '../system/utils.js';
10
8
  import { DateInput } from '../date-field/date-field.js';
9
+ import Calendar from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/calendar.js';
10
+ import { Calendar as Calendar$1 } from '../calendar/calendar.js';
11
11
  import { Label, FieldGroup, Description, FieldError } from '../field/field.js';
12
+ import { Button } from '../button/button.js';
12
13
  import { Popover } from '../popover/popover.js';
13
- import { mapPropsVariants } from '../system/utils.js';
14
- import Calendar from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/dist/esm/icons/calendar.js';
15
14
 
16
15
  function DatePicker(originalProps) {
17
16
  const [
@@ -5,13 +5,13 @@ import { useMemo } from 'react';
5
5
  import { CalendarDate } from '@internationalized/date';
6
6
  import { DateRangePicker as DateRangePicker$1, Dialog } from 'react-aria-components';
7
7
  import { dateRangePickerStyles, composeTailwindRenderProps } from '@opengovsg/oui-theme';
8
- import { Button } from '../button/button.js';
9
- import { DateInput } from '../date-field/date-field.js';
8
+ import { mapPropsVariants } from '../system/utils.js';
9
+ import Calendar from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/calendar.js';
10
+ import { RangeCalendar } from '../range-calendar/range-calendar.js';
10
11
  import { Label, FieldGroup, Description, FieldError } from '../field/field.js';
12
+ import { DateInput } from '../date-field/date-field.js';
13
+ import { Button } from '../button/button.js';
11
14
  import { Popover } from '../popover/popover.js';
12
- import { RangeCalendar } from '../range-calendar/range-calendar.js';
13
- import { mapPropsVariants } from '../system/utils.js';
14
- import Calendar from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/dist/esm/icons/calendar.js';
15
15
 
16
16
  function DateRangePicker(originalProps) {
17
17
  const [