@dmsi/wedgekit-react 0.0.498 → 0.0.500

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 (67) hide show
  1. package/dist/{chunk-3WCLGTYP.js → chunk-4LBQSSGH.js} +1 -1
  2. package/dist/{chunk-RQRR4FEF.js → chunk-5MLYAQQO.js} +1 -1
  3. package/dist/{chunk-44TH3VC7.js → chunk-G4AWTFBQ.js} +15 -6
  4. package/dist/{chunk-ZKTHUXKS.js → chunk-HIKWIY5Q.js} +1 -1
  5. package/dist/{chunk-HVNHTM3P.js → chunk-PIBHG6DH.js} +1 -1
  6. package/dist/{chunk-X67L3NZI.js → chunk-TOKS63IK.js} +5 -3
  7. package/dist/{chunk-7LKGHCVT.js → chunk-TWDH7ZDS.js} +5 -5
  8. package/dist/{chunk-G7KIKHER.js → chunk-X4UK7HE2.js} +4 -2
  9. package/dist/{chunk-4Q7T4GJ2.js → chunk-YD3HWIUJ.js} +1 -1
  10. package/dist/components/CalendarRange.cjs +20 -10
  11. package/dist/components/CalendarRange.js +9 -9
  12. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +20 -10
  13. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +9 -9
  14. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +20 -10
  15. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +9 -9
  16. package/dist/components/DataGrid/PinnedColumns.cjs +20 -10
  17. package/dist/components/DataGrid/PinnedColumns.js +9 -9
  18. package/dist/components/DataGrid/TableBody/LoadingCell.cjs +20 -10
  19. package/dist/components/DataGrid/TableBody/LoadingCell.js +9 -9
  20. package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +20 -10
  21. package/dist/components/DataGrid/TableBody/TableBodyRow.js +9 -9
  22. package/dist/components/DataGrid/TableBody/index.cjs +20 -10
  23. package/dist/components/DataGrid/TableBody/index.js +9 -9
  24. package/dist/components/DataGrid/index.cjs +20 -10
  25. package/dist/components/DataGrid/index.js +9 -9
  26. package/dist/components/DataGrid/utils.cjs +20 -10
  27. package/dist/components/DataGrid/utils.js +9 -9
  28. package/dist/components/DataGridCell.cjs +12 -6
  29. package/dist/components/DataGridCell.js +3 -3
  30. package/dist/components/DateInput.cjs +102 -92
  31. package/dist/components/DateInput.js +9 -9
  32. package/dist/components/DateRangeInput.cjs +102 -92
  33. package/dist/components/DateRangeInput.js +9 -9
  34. package/dist/components/FilterGroup.cjs +12 -6
  35. package/dist/components/FilterGroup.js +2 -2
  36. package/dist/components/Input.cjs +94 -35
  37. package/dist/components/Input.js +2 -1
  38. package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +20 -10
  39. package/dist/components/MobileDataGrid/ColumnSelector/index.js +9 -9
  40. package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +20 -10
  41. package/dist/components/MobileDataGrid/MobileDataGridHeader.js +9 -9
  42. package/dist/components/MobileDataGrid/RowDetailModalProvider/index.cjs +8 -4
  43. package/dist/components/MobileDataGrid/RowDetailModalProvider/index.js +3 -3
  44. package/dist/components/MobileDataGrid/index.cjs +20 -10
  45. package/dist/components/MobileDataGrid/index.js +9 -9
  46. package/dist/components/Modal.cjs +8 -4
  47. package/dist/components/Modal.js +2 -2
  48. package/dist/components/ModalHeader.cjs +4 -2
  49. package/dist/components/ModalHeader.js +1 -1
  50. package/dist/components/PDFViewer/index.cjs +8 -4
  51. package/dist/components/PDFViewer/index.js +3 -3
  52. package/dist/components/Password.cjs +99 -40
  53. package/dist/components/Password.js +2 -1
  54. package/dist/components/Search.cjs +97 -38
  55. package/dist/components/Search.js +3 -2
  56. package/dist/components/Select.cjs +102 -43
  57. package/dist/components/Select.js +3 -2
  58. package/dist/components/Stepper.cjs +107 -48
  59. package/dist/components/Stepper.js +2 -1
  60. package/dist/components/Time.cjs +114 -55
  61. package/dist/components/Time.js +2 -1
  62. package/dist/components/index.cjs +20 -10
  63. package/dist/components/index.js +9 -9
  64. package/package.json +1 -1
  65. package/src/components/Input.tsx +10 -4
  66. package/src/components/Modal.tsx +3 -0
  67. package/src/components/ModalHeader.tsx +6 -2
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-JUFBGNWW.js";
10
10
  import {
11
11
  Modal
12
- } from "./chunk-X67L3NZI.js";
12
+ } from "./chunk-TOKS63IK.js";
13
13
 
14
14
  // src/components/PDFViewer/index.tsx
15
15
  import { useCallback, useEffect, useState } from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Input
3
- } from "./chunk-44TH3VC7.js";
3
+ } from "./chunk-G4AWTFBQ.js";
4
4
  import {
5
5
  __objRest,
6
6
  __spreadValues
@@ -6,6 +6,9 @@ import {
6
6
  formatDecimalValue,
7
7
  getDecimalPlaceholder
8
8
  } from "./chunk-5UH6QUFB.js";
9
+ import {
10
+ Paragraph
11
+ } from "./chunk-ZSETMD4A.js";
9
12
  import {
10
13
  Icon
11
14
  } from "./chunk-NKUETCDA.js";
@@ -37,6 +40,7 @@ var InputBase = (_a) => {
37
40
  testid,
38
41
  before,
39
42
  after,
43
+ rightAdornment,
40
44
  type,
41
45
  label,
42
46
  error,
@@ -60,6 +64,7 @@ var InputBase = (_a) => {
60
64
  "testid",
61
65
  "before",
62
66
  "after",
67
+ "rightAdornment",
63
68
  "type",
64
69
  "label",
65
70
  "error",
@@ -201,7 +206,8 @@ var InputBase = (_a) => {
201
206
  style: __spreadProps(__spreadValues({}, props.style), { width })
202
207
  })
203
208
  ),
204
- secondaryIconColor ? /* @__PURE__ */ jsx("span", { className: "contents text-text-secondary-normal", children: after }) : after
209
+ secondaryIconColor ? /* @__PURE__ */ jsx("span", { className: "contents text-text-secondary-normal", children: after }) : after,
210
+ rightAdornment
205
211
  ]
206
212
  }
207
213
  ),
@@ -228,7 +234,8 @@ var Input = (_a) => {
228
234
  onBlur,
229
235
  onClear,
230
236
  id,
231
- testid
237
+ testid,
238
+ rightAdornment
232
239
  } = _b, props = __objRest(_b, [
233
240
  "variant",
234
241
  "decimals",
@@ -239,7 +246,8 @@ var Input = (_a) => {
239
246
  "onBlur",
240
247
  "onClear",
241
248
  "id",
242
- "testid"
249
+ "testid",
250
+ "rightAdornment"
243
251
  ]);
244
252
  const [internalValue, setInternalValue] = useState("");
245
253
  const [displayValue, setDisplayValue] = useState("");
@@ -261,7 +269,7 @@ var Input = (_a) => {
261
269
  const formatted = formatDecimalValue(stringValue, decimals != null ? decimals : 2);
262
270
  setInternalValue(formatted);
263
271
  setDisplayValue(formatCurrencyDisplay(formatted));
264
- }, []);
272
+ }, [variant, propValue, decimals]);
265
273
  const getInputProps = () => {
266
274
  var _a2;
267
275
  const baseProps = __spreadProps(__spreadValues(__spreadProps(__spreadValues({}, props), {
@@ -324,7 +332,7 @@ var Input = (_a) => {
324
332
  case "finder":
325
333
  return /* @__PURE__ */ jsx(Icon, { name: "search" });
326
334
  case "uom":
327
- return uom ? /* @__PURE__ */ jsx("span", { className: "text-text-secondary-normal uppercase", children: uom.slice(0, 4) }) : null;
335
+ return uom ? /* @__PURE__ */ jsx(Paragraph, { color: "text-secondary-normal", children: uom.toUpperCase() }) : null;
328
336
  case "percentage":
329
337
  return /* @__PURE__ */ jsx("span", { className: "text-icon-primary-normal contents", children: /* @__PURE__ */ jsx(Icon, { name: "percent" }) });
330
338
  default:
@@ -410,7 +418,8 @@ var Input = (_a) => {
410
418
  after: getAfterElement(),
411
419
  onChange: handleChange,
412
420
  onBlur: handleBlur,
413
- testid
421
+ testid,
422
+ rightAdornment
414
423
  })
415
424
  );
416
425
  };
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-5R4C5F63.js";
10
10
  import {
11
11
  Search
12
- } from "./chunk-RQRR4FEF.js";
12
+ } from "./chunk-5MLYAQQO.js";
13
13
  import {
14
14
  CSS
15
15
  } from "./chunk-WVUIIBRR.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  InputBase
3
- } from "./chunk-44TH3VC7.js";
3
+ } from "./chunk-G4AWTFBQ.js";
4
4
  import {
5
5
  Icon
6
6
  } from "./chunk-NKUETCDA.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-FG7GNGE3.js";
7
7
  import {
8
8
  ModalHeader
9
- } from "./chunk-G7KIKHER.js";
9
+ } from "./chunk-X4UK7HE2.js";
10
10
  import {
11
11
  ModalScrim
12
12
  } from "./chunk-AG43RS4Q.js";
@@ -105,7 +105,8 @@ var Modal = ({
105
105
  customActions,
106
106
  headerClassname,
107
107
  customFooter,
108
- noWrapper
108
+ noWrapper,
109
+ titleAs: TitleComponent
109
110
  }) => {
110
111
  var _a;
111
112
  const mounted = useMounted();
@@ -231,7 +232,8 @@ var Modal = ({
231
232
  hideCloseIcon,
232
233
  headerIcon,
233
234
  headerIconAlign,
234
- headerClassname
235
+ headerClassname,
236
+ titleAs: TitleComponent
235
237
  }
236
238
  ),
237
239
  children && (size !== "screen" || noWrapper) ? /* @__PURE__ */ jsx(
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-M7INAUAJ.js";
4
4
  import {
5
5
  RowDetailModalProvider
6
- } from "./chunk-4Q7T4GJ2.js";
6
+ } from "./chunk-YD3HWIUJ.js";
7
7
  import {
8
8
  ColumnList
9
9
  } from "./chunk-QMSPTD6L.js";
@@ -18,13 +18,13 @@ import {
18
18
  } from "./chunk-EWGHVZL5.js";
19
19
  import {
20
20
  Select
21
- } from "./chunk-HVNHTM3P.js";
21
+ } from "./chunk-PIBHG6DH.js";
22
22
  import {
23
23
  DataCellHeader,
24
24
  DataGridCell,
25
25
  DragAlongCell,
26
26
  DraggableCellHeader
27
- } from "./chunk-ZKTHUXKS.js";
27
+ } from "./chunk-HIKWIY5Q.js";
28
28
  import {
29
29
  Menu
30
30
  } from "./chunk-TCMOGTPB.js";
@@ -33,11 +33,11 @@ import {
33
33
  } from "./chunk-5R4C5F63.js";
34
34
  import {
35
35
  Search
36
- } from "./chunk-RQRR4FEF.js";
36
+ } from "./chunk-5MLYAQQO.js";
37
37
  import {
38
38
  Input,
39
39
  InputBase
40
- } from "./chunk-44TH3VC7.js";
40
+ } from "./chunk-G4AWTFBQ.js";
41
41
  import {
42
42
  Label
43
43
  } from "./chunk-AL5QIRY3.js";
@@ -23,8 +23,10 @@ var ModalHeader = ({
23
23
  onClose,
24
24
  id,
25
25
  testid,
26
- headerClassname
26
+ headerClassname,
27
+ titleAs: TitleComponent
27
28
  }) => {
29
+ const Title = TitleComponent || Heading2;
28
30
  return /* @__PURE__ */ jsxs(
29
31
  "div",
30
32
  {
@@ -43,7 +45,7 @@ var ModalHeader = ({
43
45
  /* @__PURE__ */ jsxs("div", { className: clsx("flex items-center flex-1", layoutGroupGap), children: [
44
46
  headerIcon,
45
47
  title && /* @__PURE__ */ jsx(
46
- Heading2,
48
+ Title,
47
49
  {
48
50
  id: id ? `${id}-title` : void 0,
49
51
  testid: testid ? `${testid}-title` : void 0,
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-5IFPG6TS.js";
7
7
  import {
8
8
  Modal
9
- } from "./chunk-X67L3NZI.js";
9
+ } from "./chunk-TOKS63IK.js";
10
10
  import {
11
11
  Heading2
12
12
  } from "./chunk-H2KC5XUY.js";
@@ -1630,6 +1630,7 @@ var InputBase = (_a) => {
1630
1630
  testid,
1631
1631
  before,
1632
1632
  after,
1633
+ rightAdornment,
1633
1634
  type,
1634
1635
  label,
1635
1636
  error,
@@ -1653,6 +1654,7 @@ var InputBase = (_a) => {
1653
1654
  "testid",
1654
1655
  "before",
1655
1656
  "after",
1657
+ "rightAdornment",
1656
1658
  "type",
1657
1659
  "label",
1658
1660
  "error",
@@ -1794,7 +1796,8 @@ var InputBase = (_a) => {
1794
1796
  style: __spreadProps(__spreadValues({}, props.style), { width })
1795
1797
  })
1796
1798
  ),
1797
- secondaryIconColor ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "contents text-text-secondary-normal", children: after }) : after
1799
+ secondaryIconColor ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "contents text-text-secondary-normal", children: after }) : after,
1800
+ rightAdornment
1798
1801
  ]
1799
1802
  }
1800
1803
  ),
@@ -1821,7 +1824,8 @@ var Input = (_a) => {
1821
1824
  onBlur,
1822
1825
  onClear,
1823
1826
  id,
1824
- testid
1827
+ testid,
1828
+ rightAdornment
1825
1829
  } = _b, props = __objRest(_b, [
1826
1830
  "variant",
1827
1831
  "decimals",
@@ -1832,7 +1836,8 @@ var Input = (_a) => {
1832
1836
  "onBlur",
1833
1837
  "onClear",
1834
1838
  "id",
1835
- "testid"
1839
+ "testid",
1840
+ "rightAdornment"
1836
1841
  ]);
1837
1842
  const [internalValue, setInternalValue] = (0, import_react9.useState)("");
1838
1843
  const [displayValue, setDisplayValue] = (0, import_react9.useState)("");
@@ -1854,7 +1859,7 @@ var Input = (_a) => {
1854
1859
  const formatted = formatDecimalValue(stringValue, decimals != null ? decimals : 2);
1855
1860
  setInternalValue(formatted);
1856
1861
  setDisplayValue(formatCurrencyDisplay(formatted));
1857
- }, []);
1862
+ }, [variant, propValue, decimals]);
1858
1863
  const getInputProps = () => {
1859
1864
  var _a2;
1860
1865
  const baseProps = __spreadProps(__spreadValues(__spreadProps(__spreadValues({}, props), {
@@ -1917,7 +1922,7 @@ var Input = (_a) => {
1917
1922
  case "finder":
1918
1923
  return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Icon, { name: "search" });
1919
1924
  case "uom":
1920
- return uom ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "text-text-secondary-normal uppercase", children: uom.slice(0, 4) }) : null;
1925
+ return uom ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Paragraph, { color: "text-secondary-normal", children: uom.toUpperCase() }) : null;
1921
1926
  case "percentage":
1922
1927
  return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Icon, { name: "percent" }) });
1923
1928
  default:
@@ -2003,7 +2008,8 @@ var Input = (_a) => {
2003
2008
  after: getAfterElement(),
2004
2009
  onChange: handleChange,
2005
2010
  onBlur: handleBlur,
2006
- testid
2011
+ testid,
2012
+ rightAdornment
2007
2013
  })
2008
2014
  );
2009
2015
  };
@@ -4592,8 +4598,10 @@ var ModalHeader = ({
4592
4598
  onClose,
4593
4599
  id,
4594
4600
  testid,
4595
- headerClassname
4601
+ headerClassname,
4602
+ titleAs: TitleComponent
4596
4603
  }) => {
4604
+ const Title = TitleComponent || Heading2;
4597
4605
  return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
4598
4606
  "div",
4599
4607
  {
@@ -4612,7 +4620,7 @@ var ModalHeader = ({
4612
4620
  /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: (0, import_clsx24.default)("flex items-center flex-1", layoutGroupGap), children: [
4613
4621
  headerIcon,
4614
4622
  title && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
4615
- Heading2,
4623
+ Title,
4616
4624
  {
4617
4625
  id: id ? `${id}-title` : void 0,
4618
4626
  testid: testid ? `${testid}-title` : void 0,
@@ -4842,7 +4850,8 @@ var Modal = ({
4842
4850
  customActions,
4843
4851
  headerClassname,
4844
4852
  customFooter,
4845
- noWrapper
4853
+ noWrapper,
4854
+ titleAs: TitleComponent
4846
4855
  }) => {
4847
4856
  var _a;
4848
4857
  const mounted = useMounted();
@@ -4968,7 +4977,8 @@ var Modal = ({
4968
4977
  hideCloseIcon,
4969
4978
  headerIcon,
4970
4979
  headerIconAlign,
4971
- headerClassname
4980
+ headerClassname,
4981
+ titleAs: TitleComponent
4972
4982
  }
4973
4983
  ),
4974
4984
  children && (size !== "screen" || noWrapper) ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
@@ -2,14 +2,14 @@ import {
2
2
  CalendarRange,
3
3
  CalendarRange_default,
4
4
  isWeekend
5
- } from "../chunk-7LKGHCVT.js";
5
+ } from "../chunk-TWDH7ZDS.js";
6
6
  import "../chunk-M7INAUAJ.js";
7
- import "../chunk-4Q7T4GJ2.js";
7
+ import "../chunk-YD3HWIUJ.js";
8
8
  import "../chunk-3DEYCNUE.js";
9
9
  import "../chunk-XHQOTLG6.js";
10
10
  import "../chunk-BQNPOGD5.js";
11
11
  import "../chunk-Y5GD2FJA.js";
12
- import "../chunk-3WCLGTYP.js";
12
+ import "../chunk-4LBQSSGH.js";
13
13
  import "../chunk-YEZBNQZI.js";
14
14
  import "../chunk-B53XDCLO.js";
15
15
  import "../chunk-S5ZJ3Q7P.js";
@@ -30,23 +30,23 @@ import "../chunk-7BVUTFZ5.js";
30
30
  import "../chunk-L3BXRDLP.js";
31
31
  import "../chunk-34VEVX5H.js";
32
32
  import "../chunk-GRGDX7JC.js";
33
- import "../chunk-HVNHTM3P.js";
34
- import "../chunk-X67L3NZI.js";
33
+ import "../chunk-PIBHG6DH.js";
34
+ import "../chunk-TOKS63IK.js";
35
35
  import "../chunk-4RJKB7LC.js";
36
36
  import "../chunk-FG7GNGE3.js";
37
- import "../chunk-G7KIKHER.js";
37
+ import "../chunk-X4UK7HE2.js";
38
38
  import "../chunk-AG43RS4Q.js";
39
39
  import "../chunk-ZQJMNPCF.js";
40
40
  import "../chunk-6TYWM26K.js";
41
41
  import "../chunk-SBRRNFOP.js";
42
42
  import "../chunk-Y2GK27RX.js";
43
43
  import "../chunk-QVWYTQKL.js";
44
- import "../chunk-ZKTHUXKS.js";
44
+ import "../chunk-HIKWIY5Q.js";
45
45
  import "../chunk-TCMOGTPB.js";
46
46
  import "../chunk-DVU5XV7L.js";
47
47
  import "../chunk-5R4C5F63.js";
48
- import "../chunk-RQRR4FEF.js";
49
- import "../chunk-44TH3VC7.js";
48
+ import "../chunk-5MLYAQQO.js";
49
+ import "../chunk-G4AWTFBQ.js";
50
50
  import "../chunk-AL5QIRY3.js";
51
51
  import "../chunk-WVUIIBRR.js";
52
52
  import "../chunk-75USUR3I.js";
@@ -1624,6 +1624,7 @@ var InputBase = (_a) => {
1624
1624
  testid,
1625
1625
  before,
1626
1626
  after,
1627
+ rightAdornment,
1627
1628
  type,
1628
1629
  label,
1629
1630
  error,
@@ -1647,6 +1648,7 @@ var InputBase = (_a) => {
1647
1648
  "testid",
1648
1649
  "before",
1649
1650
  "after",
1651
+ "rightAdornment",
1650
1652
  "type",
1651
1653
  "label",
1652
1654
  "error",
@@ -1788,7 +1790,8 @@ var InputBase = (_a) => {
1788
1790
  style: __spreadProps(__spreadValues({}, props.style), { width })
1789
1791
  })
1790
1792
  ),
1791
- secondaryIconColor ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "contents text-text-secondary-normal", children: after }) : after
1793
+ secondaryIconColor ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "contents text-text-secondary-normal", children: after }) : after,
1794
+ rightAdornment
1792
1795
  ]
1793
1796
  }
1794
1797
  ),
@@ -1815,7 +1818,8 @@ var Input = (_a) => {
1815
1818
  onBlur,
1816
1819
  onClear,
1817
1820
  id,
1818
- testid
1821
+ testid,
1822
+ rightAdornment
1819
1823
  } = _b, props = __objRest(_b, [
1820
1824
  "variant",
1821
1825
  "decimals",
@@ -1826,7 +1830,8 @@ var Input = (_a) => {
1826
1830
  "onBlur",
1827
1831
  "onClear",
1828
1832
  "id",
1829
- "testid"
1833
+ "testid",
1834
+ "rightAdornment"
1830
1835
  ]);
1831
1836
  const [internalValue, setInternalValue] = (0, import_react9.useState)("");
1832
1837
  const [displayValue, setDisplayValue] = (0, import_react9.useState)("");
@@ -1848,7 +1853,7 @@ var Input = (_a) => {
1848
1853
  const formatted = formatDecimalValue(stringValue, decimals != null ? decimals : 2);
1849
1854
  setInternalValue(formatted);
1850
1855
  setDisplayValue(formatCurrencyDisplay(formatted));
1851
- }, []);
1856
+ }, [variant, propValue, decimals]);
1852
1857
  const getInputProps = () => {
1853
1858
  var _a2;
1854
1859
  const baseProps = __spreadProps(__spreadValues(__spreadProps(__spreadValues({}, props), {
@@ -1911,7 +1916,7 @@ var Input = (_a) => {
1911
1916
  case "finder":
1912
1917
  return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Icon, { name: "search" });
1913
1918
  case "uom":
1914
- return uom ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "text-text-secondary-normal uppercase", children: uom.slice(0, 4) }) : null;
1919
+ return uom ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Paragraph, { color: "text-secondary-normal", children: uom.toUpperCase() }) : null;
1915
1920
  case "percentage":
1916
1921
  return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Icon, { name: "percent" }) });
1917
1922
  default:
@@ -1997,7 +2002,8 @@ var Input = (_a) => {
1997
2002
  after: getAfterElement(),
1998
2003
  onChange: handleChange,
1999
2004
  onBlur: handleBlur,
2000
- testid
2005
+ testid,
2006
+ rightAdornment
2001
2007
  })
2002
2008
  );
2003
2009
  };
@@ -5025,8 +5031,10 @@ var ModalHeader = ({
5025
5031
  onClose,
5026
5032
  id,
5027
5033
  testid,
5028
- headerClassname
5034
+ headerClassname,
5035
+ titleAs: TitleComponent
5029
5036
  }) => {
5037
+ const Title = TitleComponent || Heading2;
5030
5038
  return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
5031
5039
  "div",
5032
5040
  {
@@ -5045,7 +5053,7 @@ var ModalHeader = ({
5045
5053
  /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: (0, import_clsx25.default)("flex items-center flex-1", layoutGroupGap), children: [
5046
5054
  headerIcon,
5047
5055
  title && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5048
- Heading2,
5056
+ Title,
5049
5057
  {
5050
5058
  id: id ? `${id}-title` : void 0,
5051
5059
  testid: testid ? `${testid}-title` : void 0,
@@ -5275,7 +5283,8 @@ var Modal = ({
5275
5283
  customActions,
5276
5284
  headerClassname,
5277
5285
  customFooter,
5278
- noWrapper
5286
+ noWrapper,
5287
+ titleAs: TitleComponent
5279
5288
  }) => {
5280
5289
  var _a;
5281
5290
  const mounted = useMounted();
@@ -5401,7 +5410,8 @@ var Modal = ({
5401
5410
  hideCloseIcon,
5402
5411
  headerIcon,
5403
5412
  headerIconAlign,
5404
- headerClassname
5413
+ headerClassname,
5414
+ titleAs: TitleComponent
5405
5415
  }
5406
5416
  ),
5407
5417
  children && (size !== "screen" || noWrapper) ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ColumnSelectorMenuOption
3
- } from "../../../chunk-7LKGHCVT.js";
3
+ } from "../../../chunk-TWDH7ZDS.js";
4
4
  import "../../../chunk-M7INAUAJ.js";
5
- import "../../../chunk-4Q7T4GJ2.js";
5
+ import "../../../chunk-YD3HWIUJ.js";
6
6
  import "../../../chunk-3DEYCNUE.js";
7
7
  import "../../../chunk-XHQOTLG6.js";
8
8
  import "../../../chunk-BQNPOGD5.js";
9
9
  import "../../../chunk-Y5GD2FJA.js";
10
- import "../../../chunk-3WCLGTYP.js";
10
+ import "../../../chunk-4LBQSSGH.js";
11
11
  import "../../../chunk-YEZBNQZI.js";
12
12
  import "../../../chunk-B53XDCLO.js";
13
13
  import "../../../chunk-S5ZJ3Q7P.js";
@@ -28,23 +28,23 @@ import "../../../chunk-7BVUTFZ5.js";
28
28
  import "../../../chunk-L3BXRDLP.js";
29
29
  import "../../../chunk-34VEVX5H.js";
30
30
  import "../../../chunk-GRGDX7JC.js";
31
- import "../../../chunk-HVNHTM3P.js";
32
- import "../../../chunk-X67L3NZI.js";
31
+ import "../../../chunk-PIBHG6DH.js";
32
+ import "../../../chunk-TOKS63IK.js";
33
33
  import "../../../chunk-4RJKB7LC.js";
34
34
  import "../../../chunk-FG7GNGE3.js";
35
- import "../../../chunk-G7KIKHER.js";
35
+ import "../../../chunk-X4UK7HE2.js";
36
36
  import "../../../chunk-AG43RS4Q.js";
37
37
  import "../../../chunk-ZQJMNPCF.js";
38
38
  import "../../../chunk-6TYWM26K.js";
39
39
  import "../../../chunk-SBRRNFOP.js";
40
40
  import "../../../chunk-Y2GK27RX.js";
41
41
  import "../../../chunk-QVWYTQKL.js";
42
- import "../../../chunk-ZKTHUXKS.js";
42
+ import "../../../chunk-HIKWIY5Q.js";
43
43
  import "../../../chunk-TCMOGTPB.js";
44
44
  import "../../../chunk-DVU5XV7L.js";
45
45
  import "../../../chunk-5R4C5F63.js";
46
- import "../../../chunk-RQRR4FEF.js";
47
- import "../../../chunk-44TH3VC7.js";
46
+ import "../../../chunk-5MLYAQQO.js";
47
+ import "../../../chunk-G4AWTFBQ.js";
48
48
  import "../../../chunk-AL5QIRY3.js";
49
49
  import "../../../chunk-WVUIIBRR.js";
50
50
  import "../../../chunk-75USUR3I.js";
@@ -1624,6 +1624,7 @@ var InputBase = (_a) => {
1624
1624
  testid,
1625
1625
  before,
1626
1626
  after,
1627
+ rightAdornment,
1627
1628
  type,
1628
1629
  label,
1629
1630
  error,
@@ -1647,6 +1648,7 @@ var InputBase = (_a) => {
1647
1648
  "testid",
1648
1649
  "before",
1649
1650
  "after",
1651
+ "rightAdornment",
1650
1652
  "type",
1651
1653
  "label",
1652
1654
  "error",
@@ -1788,7 +1790,8 @@ var InputBase = (_a) => {
1788
1790
  style: __spreadProps(__spreadValues({}, props.style), { width })
1789
1791
  })
1790
1792
  ),
1791
- secondaryIconColor ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "contents text-text-secondary-normal", children: after }) : after
1793
+ secondaryIconColor ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "contents text-text-secondary-normal", children: after }) : after,
1794
+ rightAdornment
1792
1795
  ]
1793
1796
  }
1794
1797
  ),
@@ -1815,7 +1818,8 @@ var Input = (_a) => {
1815
1818
  onBlur,
1816
1819
  onClear,
1817
1820
  id,
1818
- testid
1821
+ testid,
1822
+ rightAdornment
1819
1823
  } = _b, props = __objRest(_b, [
1820
1824
  "variant",
1821
1825
  "decimals",
@@ -1826,7 +1830,8 @@ var Input = (_a) => {
1826
1830
  "onBlur",
1827
1831
  "onClear",
1828
1832
  "id",
1829
- "testid"
1833
+ "testid",
1834
+ "rightAdornment"
1830
1835
  ]);
1831
1836
  const [internalValue, setInternalValue] = (0, import_react9.useState)("");
1832
1837
  const [displayValue, setDisplayValue] = (0, import_react9.useState)("");
@@ -1848,7 +1853,7 @@ var Input = (_a) => {
1848
1853
  const formatted = formatDecimalValue(stringValue, decimals != null ? decimals : 2);
1849
1854
  setInternalValue(formatted);
1850
1855
  setDisplayValue(formatCurrencyDisplay(formatted));
1851
- }, []);
1856
+ }, [variant, propValue, decimals]);
1852
1857
  const getInputProps = () => {
1853
1858
  var _a2;
1854
1859
  const baseProps = __spreadProps(__spreadValues(__spreadProps(__spreadValues({}, props), {
@@ -1911,7 +1916,7 @@ var Input = (_a) => {
1911
1916
  case "finder":
1912
1917
  return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Icon, { name: "search" });
1913
1918
  case "uom":
1914
- return uom ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "text-text-secondary-normal uppercase", children: uom.slice(0, 4) }) : null;
1919
+ return uom ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Paragraph, { color: "text-secondary-normal", children: uom.toUpperCase() }) : null;
1915
1920
  case "percentage":
1916
1921
  return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Icon, { name: "percent" }) });
1917
1922
  default:
@@ -1997,7 +2002,8 @@ var Input = (_a) => {
1997
2002
  after: getAfterElement(),
1998
2003
  onChange: handleChange,
1999
2004
  onBlur: handleBlur,
2000
- testid
2005
+ testid,
2006
+ rightAdornment
2001
2007
  })
2002
2008
  );
2003
2009
  };
@@ -4947,8 +4953,10 @@ var ModalHeader = ({
4947
4953
  onClose,
4948
4954
  id,
4949
4955
  testid,
4950
- headerClassname
4956
+ headerClassname,
4957
+ titleAs: TitleComponent
4951
4958
  }) => {
4959
+ const Title = TitleComponent || Heading2;
4952
4960
  return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
4953
4961
  "div",
4954
4962
  {
@@ -4967,7 +4975,7 @@ var ModalHeader = ({
4967
4975
  /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: (0, import_clsx25.default)("flex items-center flex-1", layoutGroupGap), children: [
4968
4976
  headerIcon,
4969
4977
  title && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
4970
- Heading2,
4978
+ Title,
4971
4979
  {
4972
4980
  id: id ? `${id}-title` : void 0,
4973
4981
  testid: testid ? `${testid}-title` : void 0,
@@ -5197,7 +5205,8 @@ var Modal = ({
5197
5205
  customActions,
5198
5206
  headerClassname,
5199
5207
  customFooter,
5200
- noWrapper
5208
+ noWrapper,
5209
+ titleAs: TitleComponent
5201
5210
  }) => {
5202
5211
  var _a;
5203
5212
  const mounted = useMounted();
@@ -5323,7 +5332,8 @@ var Modal = ({
5323
5332
  hideCloseIcon,
5324
5333
  headerIcon,
5325
5334
  headerIconAlign,
5326
- headerClassname
5335
+ headerClassname,
5336
+ titleAs: TitleComponent
5327
5337
  }
5328
5338
  ),
5329
5339
  children && (size !== "screen" || noWrapper) ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(