@opengovsg/oui 0.0.40 → 0.0.41

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 (72) hide show
  1. package/dist/cjs/badge/i18n.cjs +19 -0
  2. package/dist/cjs/badge/use-badge.cjs +4 -17
  3. package/dist/cjs/banner/banner.cjs +3 -16
  4. package/dist/cjs/banner/i18n.cjs +19 -0
  5. package/dist/cjs/calendar/calendar-bottom-content.cjs +4 -3
  6. package/dist/cjs/calendar/calendar-month-day-selector.cjs +5 -4
  7. package/dist/cjs/calendar/hooks/index.cjs +0 -3
  8. package/dist/cjs/calendar/i18n.cjs +27 -0
  9. package/dist/cjs/combo-box/combo-box.cjs +5 -22
  10. package/dist/cjs/combo-box/i18n.cjs +23 -0
  11. package/dist/cjs/index.cjs +2 -0
  12. package/dist/cjs/modal/i18n.cjs +4 -4
  13. package/dist/cjs/modal/modal-content.cjs +2 -2
  14. package/dist/cjs/navbar/navbar-menu/i18n.cjs +8 -8
  15. package/dist/cjs/navbar/navbar-menu/toggle.cjs +2 -2
  16. package/dist/cjs/node_modules/.pnpm/lucide-react@0.475.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/search.cjs +22 -0
  17. package/dist/cjs/search-field/i18n.cjs +19 -0
  18. package/dist/cjs/search-field/index.cjs +8 -0
  19. package/dist/cjs/search-field/search-field.cjs +91 -0
  20. package/dist/esm/badge/i18n.js +17 -0
  21. package/dist/esm/badge/use-badge.js +5 -18
  22. package/dist/esm/banner/banner.js +4 -17
  23. package/dist/esm/banner/i18n.js +17 -0
  24. package/dist/esm/calendar/calendar-bottom-content.js +4 -3
  25. package/dist/esm/calendar/calendar-month-day-selector.js +5 -4
  26. package/dist/esm/calendar/hooks/index.js +0 -1
  27. package/dist/esm/calendar/i18n.js +25 -0
  28. package/dist/esm/combo-box/combo-box.js +6 -23
  29. package/dist/esm/combo-box/i18n.js +21 -0
  30. package/dist/esm/index.js +1 -0
  31. package/dist/esm/modal/i18n.js +4 -4
  32. package/dist/esm/modal/modal-content.js +3 -3
  33. package/dist/esm/navbar/navbar-menu/i18n.js +8 -8
  34. package/dist/esm/navbar/navbar-menu/toggle.js +3 -3
  35. package/dist/esm/node_modules/.pnpm/lucide-react@0.475.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/search.js +17 -0
  36. package/dist/esm/search-field/i18n.js +17 -0
  37. package/dist/esm/search-field/index.js +2 -0
  38. package/dist/esm/search-field/search-field.js +89 -0
  39. package/dist/types/badge/i18n.d.ts +15 -0
  40. package/dist/types/badge/i18n.d.ts.map +1 -0
  41. package/dist/types/badge/use-badge.d.ts.map +1 -1
  42. package/dist/types/banner/banner.d.ts.map +1 -1
  43. package/dist/types/banner/i18n.d.ts +15 -0
  44. package/dist/types/banner/i18n.d.ts.map +1 -0
  45. package/dist/types/calendar/calendar-bottom-content.d.ts.map +1 -1
  46. package/dist/types/calendar/calendar-month-day-selector.d.ts.map +1 -1
  47. package/dist/types/calendar/hooks/index.d.ts +0 -1
  48. package/dist/types/calendar/hooks/index.d.ts.map +1 -1
  49. package/dist/types/calendar/i18n.d.ts +23 -0
  50. package/dist/types/calendar/i18n.d.ts.map +1 -0
  51. package/dist/types/combo-box/combo-box.d.ts.map +1 -1
  52. package/dist/types/combo-box/i18n.d.ts +19 -0
  53. package/dist/types/combo-box/i18n.d.ts.map +1 -0
  54. package/dist/types/index.d.mts +1 -0
  55. package/dist/types/index.d.ts +1 -0
  56. package/dist/types/index.d.ts.map +1 -1
  57. package/dist/types/modal/i18n.d.ts +14 -2
  58. package/dist/types/modal/i18n.d.ts.map +1 -1
  59. package/dist/types/navbar/navbar-menu/i18n.d.ts +18 -2
  60. package/dist/types/navbar/navbar-menu/i18n.d.ts.map +1 -1
  61. package/dist/types/navbar/navbar-menu/toggle.d.ts.map +1 -1
  62. package/dist/types/search-field/i18n.d.ts +15 -0
  63. package/dist/types/search-field/i18n.d.ts.map +1 -0
  64. package/dist/types/search-field/index.d.ts +2 -0
  65. package/dist/types/search-field/index.d.ts.map +1 -0
  66. package/dist/types/search-field/search-field.d.ts +15 -0
  67. package/dist/types/search-field/search-field.d.ts.map +1 -0
  68. package/package.json +3 -3
  69. package/dist/cjs/calendar/hooks/use-calendar-i18n.cjs +0 -33
  70. package/dist/esm/calendar/hooks/use-calendar-i18n.js +0 -30
  71. package/dist/types/calendar/hooks/use-calendar-i18n.d.ts +0 -4
  72. package/dist/types/calendar/hooks/use-calendar-i18n.d.ts.map +0 -1
@@ -2,28 +2,15 @@
2
2
  "use client";
3
3
  import { jsx, jsxs } from 'react/jsx-runtime';
4
4
  import { useMemo, useRef } from 'react';
5
- import { useMessageFormatter, useDisclosure } from 'react-aria';
5
+ import { useLocalizedStringFormatter, useDisclosure } from 'react-aria';
6
6
  import { useDisclosureState } from 'react-stately';
7
7
  import { bannerStyles } from '@opengovsg/oui-theme';
8
8
  import { Button } from '../button/button.js';
9
+ import { i18nStrings } from './i18n.js';
9
10
  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';
10
11
  import Info from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/info.js';
11
12
  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
13
 
13
- const i18nStrings = {
14
- "en-SG": {
15
- dismiss: "Close banner"
16
- },
17
- "zh-SG": {
18
- dismiss: "\u5173\u95ED\u6A2A\u5E45"
19
- },
20
- "ms-SG": {
21
- dismiss: "Tutup sepanduk"
22
- },
23
- "ta-SG": {
24
- dismiss: "\u0B89\u0B9F\u0BC8\u0B95\u0BB3\u0BC8 \u0BAE\u0BC2\u0B9F\u0BC1\u0B99\u0BCD\u0B95\u0BB3\u0BCD"
25
- }
26
- };
27
14
  const Banner = ({
28
15
  variant = "info",
29
16
  size,
@@ -35,7 +22,7 @@ const Banner = ({
35
22
  defaultExpanded = true,
36
23
  ...disclosureProps
37
24
  }) => {
38
- const formatMessage = useMessageFormatter(i18nStrings);
25
+ const stringFormatter = useLocalizedStringFormatter(i18nStrings);
39
26
  const styles = bannerStyles({ variant, size });
40
27
  const startContent = useMemo(() => {
41
28
  if (startContentProp) {
@@ -105,7 +92,7 @@ const Banner = ({
105
92
  variant: "clear",
106
93
  color: "neutral",
107
94
  isIconOnly: true,
108
- "aria-label": formatMessage("dismiss"),
95
+ "aria-label": stringFormatter.format("Close banner"),
109
96
  className: styles.dismissButton({
110
97
  className: classNames?.dismissButton
111
98
  }),
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ const i18nStrings = {
3
+ "en-SG": {
4
+ "Close banner": "Close banner"
5
+ },
6
+ "zh-SG": {
7
+ "Close banner": "\u5173\u95ED\u6A2A\u5E45"
8
+ },
9
+ "ms-SG": {
10
+ "Close banner": "Tutup sepanduk"
11
+ },
12
+ "ta-SG": {
13
+ "Close banner": "\u0B89\u0B9F\u0BC8\u0B95\u0BB3\u0BC8 \u0BAE\u0BC2\u0B9F\u0BC1\u0B99\u0BCD\u0B95\u0BB3\u0BCD"
14
+ }
15
+ };
16
+
17
+ export { i18nStrings };
@@ -3,10 +3,11 @@
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
  import { useContext, useCallback } from 'react';
5
5
  import { today, getLocalTimeZone } from '@internationalized/date';
6
+ import { useLocalizedStringFormatter } from 'react-aria';
6
7
  import { Button } from '../button/button.js';
7
8
  import { AgnosticCalendarStateContext } from './agnostic-calendar-state-context.js';
8
9
  import { useCalendarStyleContext } from './calendar-style-context.js';
9
- import { useCalendarI18n } from './hooks/use-calendar-i18n.js';
10
+ import { i18nStrings } from './i18n.js';
10
11
 
11
12
  const CalendarBottomContent = ({
12
13
  bottomContent,
@@ -15,7 +16,7 @@ const CalendarBottomContent = ({
15
16
  }) => {
16
17
  const state = useContext(AgnosticCalendarStateContext);
17
18
  const { slots, classNames, size } = useCalendarStyleContext();
18
- const formatMessage = useCalendarI18n();
19
+ const stringFormatter = useLocalizedStringFormatter(i18nStrings);
19
20
  const handleTodayClick = useCallback(() => {
20
21
  const todayDate = today(getLocalTimeZone());
21
22
  state.setFocusedDate(todayDate);
@@ -45,7 +46,7 @@ const CalendarBottomContent = ({
45
46
  slot: null,
46
47
  className: slots.todayButton({ className: classNames?.todayButton }),
47
48
  onPress: handleTodayClick,
48
- children: formatMessage("today")
49
+ children: stringFormatter.format("Today")
49
50
  }
50
51
  )
51
52
  }
@@ -3,19 +3,20 @@
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
  import { useContext } from 'react';
5
5
  import { CalendarDate } from '@internationalized/date';
6
+ import { useLocalizedStringFormatter } from 'react-aria';
6
7
  import { Group } from 'react-aria-components';
7
8
  import { Select } from '../select/select.js';
8
9
  import { SelectItem } from '../select/select-item.js';
9
10
  import { AgnosticCalendarStateContext } from './agnostic-calendar-state-context.js';
10
11
  import { useCalendarStyleContext } from './calendar-style-context.js';
12
+ import { i18nStrings } from './i18n.js';
11
13
  import { useCalendarSelectors } from './hooks/use-calendar-selectors.js';
12
- import { useCalendarI18n } from './hooks/use-calendar-i18n.js';
13
14
 
14
15
  const CalendarMonthDaySelector = () => {
15
16
  const { slots, size, classNames } = useCalendarStyleContext();
16
17
  const state = useContext(AgnosticCalendarStateContext);
17
18
  const { months, years, datePartOrder } = useCalendarSelectors(state);
18
- const formatMessage = useCalendarI18n();
19
+ const stringFormatter = useLocalizedStringFormatter(i18nStrings);
19
20
  return /* @__PURE__ */ jsx(Group, { className: slots.selectors({ className: classNames?.selectors }), children: datePartOrder.map((part) => {
20
21
  if (part === "month") {
21
22
  return /* @__PURE__ */ jsx(
@@ -36,7 +37,7 @@ const CalendarMonthDaySelector = () => {
36
37
  popover: "min-w-[12ch]"
37
38
  },
38
39
  selectedKey: state.visibleRange.start.month,
39
- "aria-label": formatMessage("selectMonth"),
40
+ "aria-label": stringFormatter.format("Select month"),
40
41
  onSelectionChange: (month) => {
41
42
  state.setFocusedDate(
42
43
  new CalendarDate(state.focusedDate.year, Number(month), 1)
@@ -65,7 +66,7 @@ const CalendarMonthDaySelector = () => {
65
66
  popover: "min-w-[8ch]"
66
67
  },
67
68
  selectedKey: state.visibleRange.start.year,
68
- "aria-label": formatMessage("selectYear"),
69
+ "aria-label": stringFormatter.format("Select year"),
69
70
  onSelectionChange: (year) => {
70
71
  state.setFocusedDate(
71
72
  new CalendarDate(
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
- export { i18nStrings, useCalendarI18n } from './use-calendar-i18n.js';
3
2
  export { useCalendarSelectors } from './use-calendar-selectors.js';
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ const i18nStrings = {
3
+ "en-SG": {
4
+ "Select month": "Select month",
5
+ "Select year": "Select year",
6
+ Today: "Today"
7
+ },
8
+ "zh-SG": {
9
+ "Select month": "\u9009\u62E9\u6708\u4EFD",
10
+ "Select year": "\u9009\u62E9\u5E74\u4EFD",
11
+ Today: "\u4ECA\u5929"
12
+ },
13
+ "ms-SG": {
14
+ "Select month": "Pilih bulan",
15
+ "Select year": "Pilih tahun",
16
+ Today: "Hari ini"
17
+ },
18
+ "ta-SG": {
19
+ "Select month": "\u0BAE\u0BBE\u0BA4\u0BA4\u0BCD\u0BA4\u0BC8 \u0BA4\u0BC7\u0BB0\u0BCD\u0BA8\u0BCD\u0BA4\u0BC6\u0B9F\u0BC1\u0B95\u0BCD\u0B95\u0BB5\u0BC1\u0BAE\u0BCD",
20
+ "Select year": "\u0B86\u0BA3\u0BCD\u0B9F\u0BC8 \u0BA4\u0BC7\u0BB0\u0BCD\u0BA8\u0BCD\u0BA4\u0BC6\u0B9F\u0BC1\u0B95\u0BCD\u0B95\u0BB5\u0BC1\u0BAE\u0BCD",
21
+ Today: "\u0B87\u0BA9\u0BCD\u0BB1\u0BC1"
22
+ }
23
+ };
24
+
25
+ export { i18nStrings };
@@ -2,13 +2,14 @@
2
2
  "use client";
3
3
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
4
4
  import { useMemo, useCallback } from 'react';
5
- import { useMessageFormatter } from 'react-aria';
5
+ import { useLocalizedStringFormatter } 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
8
  import { Label, FieldGroup, Description, FieldError } from '../field/field.js';
9
9
  import { Popover } from '../popover/popover.js';
10
10
  import { mapPropsVariants } from '../system/utils.js';
11
11
  import { ComboBoxVariantContext } from './combo-box-variant-context.js';
12
+ import { i18nStrings } from './i18n.js';
12
13
  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';
13
14
  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';
14
15
  import X from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/x.js';
@@ -23,42 +24,24 @@ const calculateEstimatedRowHeight = (size) => {
23
24
  return 48;
24
25
  }
25
26
  };
26
- const i18nStrings = {
27
- "en-SG": {
28
- clear: "Clear",
29
- empty: "No matching results"
30
- },
31
- "zh-SG": {
32
- clear: "\u6E05\u9664",
33
- empty: "\u6CA1\u6709\u5339\u914D\u7684\u7ED3\u679C"
34
- },
35
- "ms-SG": {
36
- clear: "Jelas",
37
- empty: "Tiada hasil yang sepadan"
38
- },
39
- "ta-SG": {
40
- clear: "\u0BA4\u0BC6\u0BB3\u0BBF\u0BB5\u0BC1",
41
- empty: "\u0BAA\u0BCA\u0BB0\u0BC1\u0BA8\u0BCD\u0BA4\u0BC1\u0BAE\u0BCD \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0BC1\u0B95\u0BB3\u0BCD \u0B87\u0BB2\u0BCD\u0BB2\u0BC8"
42
- }
43
- };
44
27
  function ComboBoxEmptyState({
45
28
  size,
46
29
  className
47
30
  }) {
48
31
  const styles = listBoxItemStyles({ size });
49
- const formatMessage = useMessageFormatter(i18nStrings);
32
+ const stringFormatter = useLocalizedStringFormatter(i18nStrings);
50
33
  return /* @__PURE__ */ jsx(
51
34
  "span",
52
35
  {
53
36
  className: styles.container({
54
37
  className: cn("cursor-default italic", className)
55
38
  }),
56
- children: formatMessage("empty")
39
+ children: stringFormatter.format("No matching results")
57
40
  }
58
41
  );
59
42
  }
60
43
  function ComboBox(originalProps) {
61
- const formatMessage = useMessageFormatter(i18nStrings);
44
+ const stringFormatter = useLocalizedStringFormatter(i18nStrings);
62
45
  const [_props, variantProps] = mapPropsVariants(
63
46
  originalProps,
64
47
  comboBoxStyles.variantKeys
@@ -171,7 +154,7 @@ function ComboBox(originalProps) {
171
154
  slot: null,
172
155
  onPress: onClear,
173
156
  isDisabled: isComboBoxDisabled,
174
- "aria-label": formatMessage("clear"),
157
+ "aria-label": stringFormatter.format("Clear"),
175
158
  className: composeRenderProps(
176
159
  classNames?.clearButton,
177
160
  (className, renderProps) => comboBoxClearButtonStyles({
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ const i18nStrings = {
3
+ "en-SG": {
4
+ Clear: "Clear",
5
+ "No matching results": "No matching results"
6
+ },
7
+ "zh-SG": {
8
+ Clear: "\u6E05\u9664",
9
+ "No matching results": "\u6CA1\u6709\u5339\u914D\u7684\u7ED3\u679C"
10
+ },
11
+ "ms-SG": {
12
+ Clear: "Jelas",
13
+ "No matching results": "Tiada hasil yang sepadan"
14
+ },
15
+ "ta-SG": {
16
+ Clear: "\u0BA4\u0BC6\u0BB3\u0BBF\u0BB5\u0BC1",
17
+ "No matching results": "\u0BAA\u0BCA\u0BB0\u0BC1\u0BA8\u0BCD\u0BA4\u0BC1\u0BAE\u0BCD \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0BC1\u0B95\u0BB3\u0BCD \u0B87\u0BB2\u0BCD\u0BB2\u0BC8"
18
+ }
19
+ };
20
+
21
+ export { i18nStrings };
package/dist/esm/index.js CHANGED
@@ -66,6 +66,7 @@ export { NavbarProvider, useNavbarContext } from './navbar/navbar-context.js';
66
66
  export { Avatar } from './avatar/index.js';
67
67
  export { Accordion, AccordionContent, AccordionHeader, AccordionItem, AccordionStyleContext, useAccordionStyleContext } from './accordion/accordion.js';
68
68
  export { TimeField } from './time-field/time-field.js';
69
+ export { SearchField } from './search-field/search-field.js';
69
70
  export { toast } from 'sonner';
70
71
  export { AvatarContext, useAvatarContext } from './avatar/avatar-context.js';
71
72
  export { AvatarGroup } from './avatar/avatar-group.js';
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  const i18nStrings = {
3
3
  "en-SG": {
4
- dismiss: "Dismiss"
4
+ Dismiss: "Dismiss"
5
5
  },
6
6
  "zh-SG": {
7
- dismiss: "\u53D6\u6D88"
7
+ Dismiss: "\u53D6\u6D88"
8
8
  },
9
9
  "ms-SG": {
10
- dismiss: "Tutup"
10
+ Dismiss: "Tutup"
11
11
  },
12
12
  "ta-SG": {
13
- dismiss: "\u0BAE\u0BC2\u0B9F\u0BC1"
13
+ Dismiss: "\u0BAE\u0BC2\u0B9F\u0BC1"
14
14
  }
15
15
  };
16
16
 
@@ -2,7 +2,7 @@
2
2
  "use client";
3
3
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
4
4
  import { useContext, isValidElement } from 'react';
5
- import { useMessageFormatter } from 'react-aria';
5
+ import { useLocalizedStringFormatter } from 'react-aria';
6
6
  import { Dialog } from 'react-aria-components';
7
7
  import { cn } from '@opengovsg/oui-theme';
8
8
  import { Button } from '../button/button.js';
@@ -17,7 +17,7 @@ function ModalContent({
17
17
  ...props
18
18
  }) {
19
19
  const { slots, classNames, buttonSize } = useContext(ModalVariantContext);
20
- const formatMessage = useMessageFormatter(i18nStrings);
20
+ const stringFormatter = useLocalizedStringFormatter(i18nStrings);
21
21
  const closeButtonContent = isValidElement(closeButtonContentProp) ? closeButtonContentProp : /* @__PURE__ */ jsx(X, {});
22
22
  return /* @__PURE__ */ jsx(
23
23
  Dialog,
@@ -32,7 +32,7 @@ function ModalContent({
32
32
  {
33
33
  slot: "close",
34
34
  isIconOnly: true,
35
- "aria-label": formatMessage("dismiss"),
35
+ "aria-label": stringFormatter.format("Dismiss"),
36
36
  size: buttonSize,
37
37
  variant: "clear",
38
38
  color: "neutral",
@@ -1,20 +1,20 @@
1
1
  "use strict";
2
2
  const i18nStrings = {
3
3
  "en-SG": {
4
- openMenu: "Open navigation menu",
5
- closeMenu: "Close navigation menu"
4
+ "Open navigation menu": "Open navigation menu",
5
+ "Close navigation menu": "Close navigation menu"
6
6
  },
7
7
  "zh-SG": {
8
- openMenu: "\u6253\u5F00\u5BFC\u822A\u83DC\u5355",
9
- closeMenu: "\u5173\u95ED\u5BFC\u822A\u83DC\u5355"
8
+ "Open navigation menu": "\u6253\u5F00\u5BFC\u822A\u83DC\u5355",
9
+ "Close navigation menu": "\u5173\u95ED\u5BFC\u822A\u83DC\u5355"
10
10
  },
11
11
  "ms-SG": {
12
- openMenu: "Buka menu navigasi",
13
- closeMenu: "Tutup menu navigasi"
12
+ "Open navigation menu": "Buka menu navigasi",
13
+ "Close navigation menu": "Tutup menu navigasi"
14
14
  },
15
15
  "ta-SG": {
16
- openMenu: "\u0BA8\u0BC7\u0BB5\u0BBF\u0B95\u0BC7\u0BB7\u0BA9\u0BCD \u0BAE\u0BC6\u0BA9\u0BC1\u0BB5\u0BC8\u0BA4\u0BCD \u0BA4\u0BBF\u0BB1",
17
- closeMenu: "\u0BA8\u0BC7\u0BB5\u0BBF\u0B95\u0BC7\u0BB7\u0BA9\u0BCD \u0BAE\u0BC6\u0BA9\u0BC1\u0BB5\u0BC8 \u0BAE\u0BC2\u0B9F\u0BC1"
16
+ "Open navigation menu": "\u0BA8\u0BC7\u0BB5\u0BBF\u0B95\u0BC7\u0BB7\u0BA9\u0BCD \u0BAE\u0BC6\u0BA9\u0BC1\u0BB5\u0BC8\u0BA4\u0BCD \u0BA4\u0BBF\u0BB1",
17
+ "Close navigation menu": "\u0BA8\u0BC7\u0BB5\u0BBF\u0B95\u0BC7\u0BB7\u0BA9\u0BCD \u0BAE\u0BC6\u0BA9\u0BC1\u0BB5\u0BC8 \u0BAE\u0BC2\u0B9F\u0BC1"
18
18
  }
19
19
  };
20
20
 
@@ -2,7 +2,7 @@
2
2
  "use client";
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
  import { useMemo } from 'react';
5
- import { useMessageFormatter, chain } from 'react-aria';
5
+ import { useLocalizedStringFormatter, chain } from 'react-aria';
6
6
  import { ToggleButton } from 'react-aria-components';
7
7
  import { buttonStyles, cn, dataAttr } from '@opengovsg/oui-theme';
8
8
  import { useNavbarContext } from '../navbar-context.js';
@@ -33,7 +33,7 @@ const NavbarMenuToggle = ({
33
33
  }
34
34
  window.scrollTo({ top: menuTopOffset, behavior: "instant" });
35
35
  };
36
- const formatMessage = useMessageFormatter(i18nStrings);
36
+ const stringFormatter = useLocalizedStringFormatter(i18nStrings);
37
37
  const toggleStyles = useMemo(() => {
38
38
  return buttonStyles({
39
39
  variant: "unstyled",
@@ -78,7 +78,7 @@ const NavbarMenuToggle = ({
78
78
  return /* @__PURE__ */ jsx(
79
79
  ToggleButton,
80
80
  {
81
- "aria-label": isMenuOpen ? formatMessage("closeMenu") : formatMessage("openMenu"),
81
+ "aria-label": isMenuOpen ? stringFormatter.format("Close navigation menu") : stringFormatter.format("Open navigation menu"),
82
82
  ref: menuRef,
83
83
  "data-open": dataAttr(isMenuOpen),
84
84
  className: toggleStyles,
@@ -0,0 +1,17 @@
1
+ import createLucideIcon from '../createLucideIcon.js';
2
+
3
+ /**
4
+ * @license lucide-react v0.475.0 - ISC
5
+ *
6
+ * This source code is licensed under the ISC license.
7
+ * See the LICENSE file in the root directory of this source tree.
8
+ */
9
+
10
+
11
+ const __iconNode = [
12
+ ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
13
+ ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
14
+ ];
15
+ const Search = createLucideIcon("Search", __iconNode);
16
+
17
+ export { __iconNode, Search as default };
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ const i18nStrings = {
3
+ "en-SG": {
4
+ Search: "Search"
5
+ },
6
+ "zh-SG": {
7
+ Search: "\u641C\u7D22"
8
+ },
9
+ "ms-SG": {
10
+ Search: "Cari"
11
+ },
12
+ "ta-SG": {
13
+ Search: "\u0BA4\u0BC7\u0B9F\u0BC1"
14
+ }
15
+ };
16
+
17
+ export { i18nStrings };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ export { SearchField } from './search-field.js';
@@ -0,0 +1,89 @@
1
+ "use strict";
2
+ import { jsxs, jsx } from 'react/jsx-runtime';
3
+ import { useLocalizedStringFormatter } from 'react-aria';
4
+ import { SearchField as SearchField$1 } from 'react-aria-components';
5
+ import { searchFieldStyles, composeRenderProps } from '@opengovsg/oui-theme';
6
+ import { Button } from '../button/button.js';
7
+ import { Label, FieldGroup, Description, FieldError } from '../field/field.js';
8
+ import { Input } from '../input/input.js';
9
+ import { mapPropsVariants } from '../system/utils.js';
10
+ import { i18nStrings } from './i18n.js';
11
+ import Search from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/search.js';
12
+ import X from '../node_modules/.pnpm/lucide-react@0.475.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/x.js';
13
+
14
+ function SearchField(originalProps) {
15
+ const [
16
+ {
17
+ label,
18
+ description,
19
+ errorMessage,
20
+ searchIcon,
21
+ inputProps,
22
+ classNames,
23
+ ...props
24
+ },
25
+ variantProps
26
+ ] = mapPropsVariants(originalProps, searchFieldStyles.variantKeys);
27
+ const stringFormatter = useLocalizedStringFormatter(i18nStrings);
28
+ const styles = searchFieldStyles(variantProps);
29
+ return /* @__PURE__ */ jsxs(
30
+ SearchField$1,
31
+ {
32
+ "aria-label": stringFormatter.format("Search"),
33
+ ...props,
34
+ className: composeRenderProps(
35
+ props.className,
36
+ (className, renderProps) => styles.base({
37
+ className,
38
+ ...renderProps
39
+ })
40
+ ),
41
+ children: [
42
+ label && /* @__PURE__ */ jsx(
43
+ Label,
44
+ {
45
+ size: variantProps.size,
46
+ className: styles.label({ className: classNames?.label }),
47
+ children: label
48
+ }
49
+ ),
50
+ /* @__PURE__ */ jsxs(FieldGroup, { className: styles.group({ className: classNames?.group }), children: [
51
+ searchIcon !== null && (searchIcon === void 0 ? /* @__PURE__ */ jsx(
52
+ Search,
53
+ {
54
+ "aria-hidden": true,
55
+ className: styles.searchIcon({
56
+ className: classNames?.searchIcon
57
+ })
58
+ }
59
+ ) : searchIcon),
60
+ /* @__PURE__ */ jsx(
61
+ Input,
62
+ {
63
+ size: variantProps.size,
64
+ variant: "unstyled",
65
+ className: styles.input({ className: classNames?.input }),
66
+ ...inputProps
67
+ }
68
+ ),
69
+ /* @__PURE__ */ jsx(
70
+ Button,
71
+ {
72
+ isIconOnly: true,
73
+ isAttached: true,
74
+ variant: "clear",
75
+ color: "sub",
76
+ size: variantProps.size,
77
+ className: styles.clearButton({ className: classNames?.clearButton }),
78
+ children: /* @__PURE__ */ jsx(X, { "aria-hidden": true })
79
+ }
80
+ )
81
+ ] }),
82
+ description && /* @__PURE__ */ jsx(Description, { size: variantProps.size, children: description }),
83
+ /* @__PURE__ */ jsx(FieldError, { size: variantProps.size, children: errorMessage })
84
+ ]
85
+ }
86
+ );
87
+ }
88
+
89
+ export { SearchField };
@@ -0,0 +1,15 @@
1
+ export declare const i18nStrings: {
2
+ "en-SG": {
3
+ "Close badge": string;
4
+ };
5
+ "zh-SG": {
6
+ "Close badge": string;
7
+ };
8
+ "ms-SG": {
9
+ "Close badge": string;
10
+ };
11
+ "ta-SG": {
12
+ "Close badge": string;
13
+ };
14
+ };
15
+ //# sourceMappingURL=i18n.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../src/badge/i18n.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;CAaI,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-badge.d.ts","sourceRoot":"","sources":["../../../src/badge/use-badge.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOtC,OAAO,KAAK,EACV,UAAU,EACV,iBAAiB,EACjB,cAAc,EACf,MAAM,sBAAsB,CAAA;AAG7B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AACrD,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAI9D,MAAM,WAAW,aAAc,SAAQ,WAAW,EAAE,iBAAiB;IACnE,GAAG,CAAC,EAAE,QAAQ,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IACrC;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC9B;;;;;OAKG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAE5B;;;;;;;;;;;;;OAaG;IACH,UAAU,CAAC,EAAE,cAAc,CAAC,UAAU,GAAG,aAAa,CAAC,CAAA;IACvD;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;CAClC;AAiBD,wBAAgB,QAAQ,CAAC,aAAa,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiGpD"}
1
+ {"version":3,"file":"use-badge.d.ts","sourceRoot":"","sources":["../../../src/badge/use-badge.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,EAAE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,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,IAAI,CAAA;IACrC,QAAQ,EAAE,SAAS,CAAA;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAA;CACzC;AAiBD,eAAO,MAAM,MAAM,2IAUhB,WAAW,mDAsFb,CAAA"}
1
+ {"version":3,"file":"banner.d.ts","sourceRoot":"","sources":["../../../src/banner/banner.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAMrD,OAAO,KAAK,EACV,WAAW,EACX,cAAc,EACd,YAAY,EACb,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAKnD,UAAU,WACR,SAAQ,YAAY,CAAC,OAAO,YAAY,CAAC,EACvC,mBAAmB;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,IAAI,CAAA;IACrC,QAAQ,EAAE,SAAS,CAAA;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAA;CACzC;AAED,eAAO,MAAM,MAAM,2IAUhB,WAAW,mDAsFb,CAAA"}
@@ -0,0 +1,15 @@
1
+ export declare const i18nStrings: {
2
+ "en-SG": {
3
+ "Close banner": string;
4
+ };
5
+ "zh-SG": {
6
+ "Close banner": string;
7
+ };
8
+ "ms-SG": {
9
+ "Close banner": string;
10
+ };
11
+ "ta-SG": {
12
+ "Close banner": string;
13
+ };
14
+ };
15
+ //# sourceMappingURL=i18n.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../src/banner/i18n.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;CAaI,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-bottom-content.d.ts","sourceRoot":"","sources":["../../../src/calendar/calendar-bottom-content.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAI3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAM5C,KAAK,0BAA0B,CAAC,CAAC,SAAS,YAAY,IAAI,IAAI,CAC5D,aAAa,CAAC,CAAC,CAAC,EAChB,eAAe,GAAG,iBAAiB,GAAG,iCAAiC,CACxE,CAAA;AAED,eAAO,MAAM,qBAAqB,GAAI,CAAC,SAAS,YAAY,wEAIzD,0BAA0B,CAAC,CAAC,CAAC,6VAwC/B,CAAA"}
1
+ {"version":3,"file":"calendar-bottom-content.d.ts","sourceRoot":"","sources":["../../../src/calendar/calendar-bottom-content.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAK3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAM5C,KAAK,0BAA0B,CAAC,CAAC,SAAS,YAAY,IAAI,IAAI,CAC5D,aAAa,CAAC,CAAC,CAAC,EAChB,eAAe,GAAG,iBAAiB,GAAG,iCAAiC,CACxE,CAAA;AAED,eAAO,MAAM,qBAAqB,GAAI,CAAC,SAAS,YAAY,wEAIzD,0BAA0B,CAAC,CAAC,CAAC,6VAyC/B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-month-day-selector.d.ts","sourceRoot":"","sources":["../../../src/calendar/calendar-month-day-selector.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,wBAAwB,+CA4EpC,CAAA"}
1
+ {"version":3,"file":"calendar-month-day-selector.d.ts","sourceRoot":"","sources":["../../../src/calendar/calendar-month-day-selector.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,wBAAwB,+CA4EpC,CAAA"}
@@ -1,3 +1,2 @@
1
- export * from "./use-calendar-i18n";
2
1
  export * from "./use-calendar-selectors";
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,0BAA0B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA"}
@@ -0,0 +1,23 @@
1
+ export declare const i18nStrings: {
2
+ "en-SG": {
3
+ "Select month": string;
4
+ "Select year": string;
5
+ Today: string;
6
+ };
7
+ "zh-SG": {
8
+ "Select month": string;
9
+ "Select year": string;
10
+ Today: string;
11
+ };
12
+ "ms-SG": {
13
+ "Select month": string;
14
+ "Select year": string;
15
+ Today: string;
16
+ };
17
+ "ta-SG": {
18
+ "Select month": string;
19
+ "Select year": string;
20
+ Today: string;
21
+ };
22
+ };
23
+ //# sourceMappingURL=i18n.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../src/calendar/i18n.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;CAqBI,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"combo-box.d.ts","sourceRoot":"","sources":["../../../src/combo-box/combo-box.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,aAAa,IAAI,iBAAiB,EAClC,UAAU,EACV,YAAY,EAEZ,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,uBAAuB,CAAA;AAc9B,OAAO,KAAK,EACV,aAAa,EACb,oBAAoB,EACpB,cAAc,EACf,MAAM,sBAAsB,CAAA;AAe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AU,CAAC,CAAA;CACjC;AAeD,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,SAAS,GACV,EAAE,IAAI,CAAC,oBAAoB,EAAE,MAAM,CAAC,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,2CAa7D;AAED,wBAAgB,QAAQ,CAAC,CAAC,SAAS,MAAM,EAAE,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC,2CA+JzE"}
@@ -0,0 +1,19 @@
1
+ export declare const i18nStrings: {
2
+ "en-SG": {
3
+ Clear: string;
4
+ "No matching results": string;
5
+ };
6
+ "zh-SG": {
7
+ Clear: string;
8
+ "No matching results": string;
9
+ };
10
+ "ms-SG": {
11
+ Clear: string;
12
+ "No matching results": string;
13
+ };
14
+ "ta-SG": {
15
+ Clear: string;
16
+ "No matching results": string;
17
+ };
18
+ };
19
+ //# sourceMappingURL=i18n.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../src/combo-box/i18n.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;CAiBI,CAAA"}