@oliasoft-open-source/react-ui-library 4.0.0-beta-68 → 4.0.0-beta-70

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 (112) hide show
  1. package/dist/assets/{index-226f11bb.css → index-be5ba6ff.css} +128 -126
  2. package/dist/assets/{index-b8aef5be.js → index-f7563196.js} +70 -113
  3. package/dist/global.css +128 -126
  4. package/dist/index.html +1 -1
  5. package/dist/index.js +118 -177
  6. package/dist/index.js.map +1 -1
  7. package/dist/storybook/assets/{Color-6VNJS4EI-9720e19b.js → Color-6VNJS4EI-d1b94c61.js} +1 -1
  8. package/dist/storybook/assets/{DocsRenderer-NNNQARDV-7d37fbdb.js → DocsRenderer-NNNQARDV-fcb91ebc.js} +1 -1
  9. package/dist/storybook/assets/{WithTooltip-4HIR6TLV-7e5c6052.js → WithTooltip-4HIR6TLV-6ac4a41c.js} +1 -1
  10. package/dist/storybook/assets/{accordion.stories-1694fc63.js → accordion.stories-94ed1e59.js} +1 -1
  11. package/dist/storybook/assets/{actions-53fa4699.js → actions-2d4e1c8e.js} +1 -1
  12. package/dist/storybook/assets/{actions.stories-bb18c924.js → actions.stories-81a7cb7a.js} +1 -1
  13. package/dist/storybook/assets/{afe.stories-2216b4e1.js → afe.stories-9cd4e73f.js} +1 -1
  14. package/dist/storybook/assets/{badge.stories-a81600c7.js → badge.stories-5ce7957f.js} +1 -1
  15. package/dist/storybook/assets/{blowout.stories-8c2be2ab.js → blowout.stories-5818edf3.js} +1 -1
  16. package/dist/storybook/assets/{button-cb591f08.js → button-74c97e4a.js} +1 -1
  17. package/dist/storybook/assets/{button-group-a5fbadf9.js → button-group-fa895d0c.js} +1 -1
  18. package/dist/storybook/assets/{button-group.stories-2afe392a.js → button-group.stories-22f072b7.js} +1 -1
  19. package/dist/storybook/assets/{button.stories-6b52b4cd.js → button.stories-531033a8.js} +1 -1
  20. package/dist/storybook/assets/{buttons-and-links-0a109bbc.js → buttons-and-links-88c3c620.js} +1 -1
  21. package/dist/storybook/assets/{casing-loads.stories-76f17dfc.js → casing-loads.stories-1296b4e2.js} +1 -1
  22. package/dist/storybook/assets/{cell.stories-6da6c15f.js → cell.stories-7ff2166a.js} +1 -1
  23. package/dist/storybook/assets/{chunk-HLWAVYOI-b1156b8d.js → chunk-HLWAVYOI-f59644ec.js} +1 -1
  24. package/dist/storybook/assets/color-49d98d66.js +25 -0
  25. package/dist/storybook/assets/{column.stories-350ea350.js → column.stories-ad365376.js} +1 -1
  26. package/dist/storybook/assets/{dialog-3a6cce13.js → dialog-795008dd.js} +1 -1
  27. package/dist/storybook/assets/{drawer-0893e7f9.js → drawer-3f83a4d2.js} +1 -1
  28. package/dist/storybook/assets/{drawer.stories-6b4f9958.js → drawer.stories-89a4e1bb.js} +1 -1
  29. package/dist/storybook/assets/{empty.stories-6bfc69b2.js → empty.stories-e0e3ac78.js} +1 -1
  30. package/dist/storybook/assets/file-input.stories-0e546123.js +55 -0
  31. package/dist/storybook/assets/{flex.stories-25588964.js → flex.stories-9d4c08a1.js} +1 -1
  32. package/dist/storybook/assets/{footer.stories-de732201.js → footer.stories-54eed51c.js} +1 -1
  33. package/dist/storybook/assets/{form.stories-c2080117.js → form.stories-d2a451c4.js} +1 -1
  34. package/dist/storybook/assets/{formation.stories-1f1a8bea.js → formation.stories-02d531b5.js} +1 -1
  35. package/dist/storybook/assets/{formatter-SWP5E3XI-edbd8b15.js → formatter-SWP5E3XI-dd19a4ce.js} +1 -1
  36. package/dist/storybook/assets/iframe-74f265ee.js +1 -0
  37. package/dist/storybook/assets/{index-7b3adecc.js → index-1ce706ae.js} +4 -4
  38. package/dist/storybook/assets/{input-group.stories-c0484ea3.js → input-group.stories-da8fc871.js} +1 -1
  39. package/dist/storybook/assets/{input-validation-4c8d810e.js → input-validation-2139dd33.js} +1 -1
  40. package/dist/storybook/assets/{inputs-0ed869d6.js → inputs-83a350ec.js} +1 -1
  41. package/dist/storybook/assets/{layout-forms-862ab444.js → layout-forms-472df822.js} +1 -1
  42. package/dist/storybook/assets/{layout-general-9967a173.js → layout-general-094cc503.js} +1 -1
  43. package/dist/storybook/assets/{list-e5f12e64.js → list-0dc3df85.js} +1 -1
  44. package/dist/storybook/assets/{list-heading-845c290a.js → list-heading-88cc8a9b.js} +1 -1
  45. package/dist/storybook/assets/list-heading-d7e578fa.css +1 -0
  46. package/dist/storybook/assets/{list.stories-31209849.js → list.stories-0f30d0b5.js} +1 -1
  47. package/dist/storybook/assets/{list.stories-data-4dcea08a.js → list.stories-data-390b28e1.js} +1 -1
  48. package/dist/storybook/assets/{loader.stories-ad42acdb.js → loader.stories-6107832a.js} +1 -1
  49. package/dist/storybook/assets/{menu.stories-db02e5b1.js → menu.stories-7a422ddf.js} +1 -1
  50. package/dist/storybook/assets/message-7e627e60.js +1 -0
  51. package/dist/storybook/assets/message-b56c617e.css +1 -0
  52. package/dist/storybook/assets/{message.stories-d17f4758.js → message.stories-f41a0c22.js} +1 -1
  53. package/dist/storybook/assets/{modal.stories-ecbef0c9.js → modal.stories-397e2742.js} +1 -1
  54. package/dist/storybook/assets/{number-input.stories-1d84f9ce.js → number-input.stories-35e68195.js} +1 -1
  55. package/dist/storybook/assets/{option-dropdown.stories-7591d25d.js → option-dropdown.stories-5030bdb8.js} +1 -1
  56. package/dist/storybook/assets/{padding-and-spacing-91619e32.js → padding-and-spacing-79dc7ab5.js} +1 -1
  57. package/dist/storybook/assets/{page.stories-2d32941d.js → page.stories-f1dbfb8f.js} +1 -1
  58. package/dist/storybook/assets/{pagination-9bf8f6d8.js → pagination-1770c959.js} +1 -1
  59. package/dist/storybook/assets/{pagination.stories-58ea6b5b.js → pagination.stories-30777543.js} +1 -1
  60. package/dist/storybook/assets/pop-confirm.stories-2cec5a7a.js +7 -0
  61. package/dist/storybook/assets/{popover-8eb441fd.js → popover-06e375a5.js} +1 -1
  62. package/dist/storybook/assets/{popover.stories-ac47f128.js → popover.stories-280851b1.js} +1 -1
  63. package/dist/storybook/assets/preview-19a3c448.js +1 -0
  64. package/dist/storybook/assets/{preview-346ae2ce.js → preview-51964541.js} +2 -2
  65. package/dist/storybook/assets/{projects.stories-0518d75c.js → projects.stories-0140f7c2.js} +1 -1
  66. package/dist/storybook/assets/{reservoirs.stories-2616a82f.js → reservoirs.stories-c919669c.js} +1 -1
  67. package/dist/storybook/assets/{rich-text-input.stories-55c3086c.js → rich-text-input.stories-0c18b94e.js} +1 -1
  68. package/dist/storybook/assets/row-699188f3.js +39 -0
  69. package/dist/storybook/assets/{row.stories-0844f68b.js → row.stories-409d804e.js} +1 -1
  70. package/dist/storybook/assets/{select-1b2bde07.js → select-27b9c44f.js} +1 -1
  71. package/dist/storybook/assets/{select.stories-35096b9f.js → select.stories-ba877386.js} +1 -1
  72. package/dist/storybook/assets/{side-bar-5db596f8.js → side-bar-3f68848d.js} +1 -1
  73. package/dist/storybook/assets/{side-bar.stories-7d22760a.js → side-bar.stories-e9280e56.js} +1 -1
  74. package/dist/storybook/assets/{site.stories-f96d3d4f.js → site.stories-dafa14f4.js} +1 -1
  75. package/dist/storybook/assets/{slider-863e5ef6.js → slider-160e2152.js} +1 -1
  76. package/dist/storybook/assets/{slider.stories-0bfd89dd.js → slider.stories-79ab0e97.js} +1 -1
  77. package/dist/storybook/assets/{spacer.stories-6ca38a60.js → spacer.stories-97086558.js} +1 -1
  78. package/dist/storybook/assets/spinner-a81ebe38.js +1 -0
  79. package/dist/storybook/assets/{spinner.stories-e6d9fe34.js → spinner.stories-07039a8c.js} +2 -2
  80. package/dist/storybook/assets/{syntaxhighlighter-NMPM6SWI-5695db48.js → syntaxhighlighter-NMPM6SWI-00f4f9b0.js} +1 -1
  81. package/dist/storybook/assets/{table-3a28ed27.js → table-b9516260.js} +1 -1
  82. package/dist/storybook/assets/{table.stories-a4f6c42f.js → table.stories-140954fe.js} +1 -1
  83. package/dist/storybook/assets/{table.stories-data-082f441e.js → table.stories-data-aefdf55f.js} +1 -1
  84. package/dist/storybook/assets/{textarea-eef180d9.js → textarea-54dd1c9a.js} +1 -1
  85. package/dist/storybook/assets/{textarea.stories-4182caf6.js → textarea.stories-4b85aa60.js} +1 -1
  86. package/dist/storybook/assets/{title.stories-9b98e384.js → title.stories-a2850e95.js} +1 -1
  87. package/dist/storybook/assets/toaster-819866ea.js +1 -0
  88. package/dist/storybook/assets/toaster.stories-a56ac738.js +34 -0
  89. package/dist/storybook/assets/toggle-35349f40.css +1 -0
  90. package/dist/storybook/assets/{toggle-fc36615a.js → toggle-bb34b2a2.js} +1 -1
  91. package/dist/storybook/assets/{toggle.stories-7166588b.js → toggle.stories-b771ed81.js} +1 -1
  92. package/dist/storybook/assets/{tooltip.test-case.stories-864dec04.js → tooltip.test-case.stories-ef78bd26.js} +1 -1
  93. package/dist/storybook/assets/{top-bar-c1052c5e.js → top-bar-a84b9365.js} +1 -1
  94. package/dist/storybook/assets/{top-bar.stories-7bac433c.js → top-bar.stories-e93330f0.js} +1 -1
  95. package/dist/storybook/assets/{top-bar.testcase.stories-c3b85a10.js → top-bar.testcase.stories-3a824a14.js} +1 -1
  96. package/dist/storybook/assets/{tree.stories-b22afcbb.js → tree.stories-b5e23d09.js} +1 -1
  97. package/dist/storybook/iframe.html +1 -1
  98. package/dist/storybook/project.json +1 -1
  99. package/package.json +1 -1
  100. package/dist/storybook/assets/color-630df727.js +0 -25
  101. package/dist/storybook/assets/file-input.stories-a5332034.js +0 -55
  102. package/dist/storybook/assets/iframe-b7409b71.js +0 -1
  103. package/dist/storybook/assets/list-heading-0cb98ab2.css +0 -1
  104. package/dist/storybook/assets/pop-confirm.stories-8b29ae51.js +0 -7
  105. package/dist/storybook/assets/preview-7d6307c0.js +0 -1
  106. package/dist/storybook/assets/row-2f12e486.js +0 -39
  107. package/dist/storybook/assets/spinner-cb92a546.js +0 -1
  108. package/dist/storybook/assets/toaster-13f753db.js +0 -1
  109. package/dist/storybook/assets/toaster.stories-3115d596.js +0 -34
  110. package/dist/storybook/assets/toggle-239108ba.css +0 -1
  111. package/dist/storybook/assets/types-6770f0e8.js +0 -1
  112. package/dist/storybook/assets/types-966a8a40.css +0 -1
package/dist/index.js CHANGED
@@ -11414,23 +11414,16 @@ const spinner = "_spinner_156m4_1";
11414
11414
  const styles$M = {
11415
11415
  spinner
11416
11416
  };
11417
- const Spinner$1 = ({ small: small2, colored: colored2, dark: dark2, tiny }) => {
11418
- const color2 = colored2 ? "var(--color-primary)" : dark2 ? "var(--color-text-muted)" : "white";
11417
+ const Spinner$1 = ({
11418
+ small: small2 = false,
11419
+ colored: colored2 = false,
11420
+ dark: dark2 = false,
11421
+ tiny = false
11422
+ }) => {
11423
+ const color2 = colored2 ? "var(--color-text-primary)" : dark2 ? "var(--color-text-muted)" : "white";
11419
11424
  const fontSize = small2 ? "var(--font-size)" : tiny ? "var(--font-size-xs)" : "var(--size)";
11420
11425
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$M.spinner, style: { color: color2, fontSize } });
11421
11426
  };
11422
- Spinner$1.defaultProps = {
11423
- colored: false,
11424
- dark: false,
11425
- small: false,
11426
- tiny: false
11427
- };
11428
- Spinner$1.propTypes = {
11429
- colored: PropTypes.bool,
11430
- dark: PropTypes.bool,
11431
- small: PropTypes.bool,
11432
- tiny: PropTypes.bool
11433
- };
11434
11427
  var ButtonType = /* @__PURE__ */ ((ButtonType2) => {
11435
11428
  ButtonType2["SUBMIT"] = "submit";
11436
11429
  ButtonType2["BUTTON"] = "button";
@@ -26105,43 +26098,43 @@ var InfiniteScroll = (
26105
26098
  return InfiniteScroll2;
26106
26099
  }(Component$1)
26107
26100
  );
26108
- const inputInTable$8 = "_inputInTable_327v8_1";
26109
- const inputHover$8 = "_inputHover_327v8_13";
26110
- const inputFocus$8 = "_inputFocus_327v8_18";
26111
- const inputError$8 = "_inputError_327v8_25";
26112
- const inputWarning$8 = "_inputWarning_327v8_26";
26113
- const inputDisabled$8 = "_inputDisabled_327v8_61";
26114
- const hideScrollbars$8 = "_hideScrollbars_327v8_67";
26115
- const header$1 = "_header_327v8_77";
26116
- const headerTitle = "_headerTitle_327v8_77";
26117
- const heading$3 = "_heading_327v8_78";
26118
- const itemHeader = "_itemHeader_327v8_78";
26119
- const narrow = "_narrow_327v8_81";
26120
- const stickyHeader = "_stickyHeader_327v8_85";
26121
- const title$3 = "_title_327v8_96";
26122
- const name = "_name_327v8_102";
26123
- const iconTooltipMargin = "_iconTooltipMargin_327v8_105";
26124
- const bold = "_bold_327v8_108";
26125
- const toggleNarrow = "_toggleNarrow_327v8_117";
26126
- const drag$1 = "_drag_327v8_135";
26127
- const list$1 = "_list_327v8_152";
26128
- const bordered$1 = "_bordered_327v8_156";
26129
- const item$4 = "_item_327v8_78";
26130
- const action = "_action_327v8_189";
26131
- const active$3 = "_active_327v8_192";
26132
- const indented = "_indented_327v8_199";
26133
- const disabled$5 = "_disabled_327v8_212";
26134
- const label$6 = "_label_327v8_223";
26135
- const details$2 = "_details_327v8_234";
26136
- const metadata = "_metadata_327v8_235";
26137
- const itemContent = "_itemContent_327v8_243";
26138
- const indentIcon = "_indentIcon_327v8_250";
26139
- const expandIcon = "_expandIcon_327v8_255";
26140
- const expanded = "_expanded_327v8_262";
26141
- const right$4 = "_right_327v8_265";
26142
- const actions = "_actions_327v8_273";
26143
- const scrollableList = "_scrollableList_327v8_278";
26144
- const hideScrollbar = "_hideScrollbar_327v8_67";
26101
+ const inputInTable$8 = "_inputInTable_1jod2_1";
26102
+ const inputHover$8 = "_inputHover_1jod2_13";
26103
+ const inputFocus$8 = "_inputFocus_1jod2_18";
26104
+ const inputError$8 = "_inputError_1jod2_25";
26105
+ const inputWarning$8 = "_inputWarning_1jod2_26";
26106
+ const inputDisabled$8 = "_inputDisabled_1jod2_61";
26107
+ const hideScrollbars$8 = "_hideScrollbars_1jod2_67";
26108
+ const header$1 = "_header_1jod2_77";
26109
+ const headerTitle = "_headerTitle_1jod2_77";
26110
+ const heading$3 = "_heading_1jod2_78";
26111
+ const itemHeader = "_itemHeader_1jod2_78";
26112
+ const narrow = "_narrow_1jod2_81";
26113
+ const stickyHeader = "_stickyHeader_1jod2_85";
26114
+ const title$3 = "_title_1jod2_96";
26115
+ const name = "_name_1jod2_102";
26116
+ const iconTooltipMargin = "_iconTooltipMargin_1jod2_105";
26117
+ const bold = "_bold_1jod2_108";
26118
+ const toggleNarrow = "_toggleNarrow_1jod2_117";
26119
+ const drag$1 = "_drag_1jod2_135";
26120
+ const list$1 = "_list_1jod2_154";
26121
+ const bordered$1 = "_bordered_1jod2_158";
26122
+ const item$4 = "_item_1jod2_78";
26123
+ const action = "_action_1jod2_191";
26124
+ const active$3 = "_active_1jod2_194";
26125
+ const indented = "_indented_1jod2_201";
26126
+ const disabled$5 = "_disabled_1jod2_214";
26127
+ const label$6 = "_label_1jod2_225";
26128
+ const details$2 = "_details_1jod2_236";
26129
+ const metadata = "_metadata_1jod2_237";
26130
+ const itemContent = "_itemContent_1jod2_245";
26131
+ const indentIcon = "_indentIcon_1jod2_252";
26132
+ const expandIcon = "_expandIcon_1jod2_257";
26133
+ const expanded = "_expanded_1jod2_264";
26134
+ const right$4 = "_right_1jod2_267";
26135
+ const actions = "_actions_1jod2_275";
26136
+ const scrollableList = "_scrollableList_1jod2_280";
26137
+ const hideScrollbar = "_hideScrollbar_1jod2_67";
26145
26138
  const listStyles = {
26146
26139
  inputInTable: inputInTable$8,
26147
26140
  inputHover: inputHover$8,
@@ -26632,27 +26625,27 @@ const List = ({
26632
26625
  }
26633
26626
  );
26634
26627
  };
26635
- const inputInTable$7 = "_inputInTable_iuvy3_1";
26636
- const inputHover$7 = "_inputHover_iuvy3_13";
26637
- const inputFocus$7 = "_inputFocus_iuvy3_18";
26638
- const inputError$7 = "_inputError_iuvy3_25";
26639
- const inputWarning$7 = "_inputWarning_iuvy3_26";
26640
- const inputDisabled$7 = "_inputDisabled_iuvy3_61";
26641
- const hideScrollbars$7 = "_hideScrollbars_iuvy3_67";
26642
- const container$1 = "_container_iuvy3_83";
26643
- const block$1 = "_block_iuvy3_102";
26644
- const info = "_info_iuvy3_105";
26645
- const success = "_success_iuvy3_109";
26646
- const warning$6 = "_warning_iuvy3_113";
26647
- const error$4 = "_error_iuvy3_117";
26648
- const content$1 = "_content_iuvy3_121";
26649
- const heading$2 = "_heading_iuvy3_125";
26650
- const icon$3 = "_icon_iuvy3_132";
26651
- const dismiss$1 = "_dismiss_iuvy3_140";
26652
- const absolute = "_absolute_iuvy3_144";
26653
- const legendToggle = "_legendToggle_iuvy3_156";
26654
- const detailsText = "_detailsText_iuvy3_166";
26655
- const footer$1 = "_footer_iuvy3_170";
26628
+ const inputInTable$7 = "_inputInTable_s49vk_1";
26629
+ const inputHover$7 = "_inputHover_s49vk_13";
26630
+ const inputFocus$7 = "_inputFocus_s49vk_18";
26631
+ const inputError$7 = "_inputError_s49vk_25";
26632
+ const inputWarning$7 = "_inputWarning_s49vk_26";
26633
+ const inputDisabled$7 = "_inputDisabled_s49vk_61";
26634
+ const hideScrollbars$7 = "_hideScrollbars_s49vk_67";
26635
+ const container$1 = "_container_s49vk_83";
26636
+ const block$1 = "_block_s49vk_101";
26637
+ const info = "_info_s49vk_104";
26638
+ const success = "_success_s49vk_108";
26639
+ const warning$6 = "_warning_s49vk_112";
26640
+ const error$4 = "_error_s49vk_116";
26641
+ const content$1 = "_content_s49vk_120";
26642
+ const heading$2 = "_heading_s49vk_124";
26643
+ const icon$3 = "_icon_s49vk_131";
26644
+ const dismiss$1 = "_dismiss_s49vk_139";
26645
+ const absolute = "_absolute_s49vk_143";
26646
+ const legendToggle = "_legendToggle_s49vk_155";
26647
+ const detailsText = "_detailsText_s49vk_165";
26648
+ const footer$1 = "_footer_s49vk_169";
26656
26649
  const styles$r = {
26657
26650
  inputInTable: inputInTable$7,
26658
26651
  inputHover: inputHover$7,
@@ -26676,63 +26669,67 @@ const styles$r = {
26676
26669
  detailsText,
26677
26670
  footer: footer$1
26678
26671
  };
26679
- const Dismiss = ({ onClose, isInToast }) => {
26680
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cx$2(styles$r.dismiss, isInToast ? styles$r.absolute : ""), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
26681
- Button$1,
26672
+ var MessageType = /* @__PURE__ */ ((MessageType2) => {
26673
+ MessageType2["INFO"] = "Info";
26674
+ MessageType2["SUCCESS"] = "Success";
26675
+ MessageType2["WARNING"] = "Warning";
26676
+ MessageType2["ERROR"] = "Error";
26677
+ return MessageType2;
26678
+ })(MessageType || {});
26679
+ var MessageToggle = /* @__PURE__ */ ((MessageToggle2) => {
26680
+ MessageToggle2["TOGGLE_DETAILS"] = "TOGGLE_DETAILS";
26681
+ return MessageToggle2;
26682
+ })(MessageToggle || {});
26683
+ const Dismiss = ({ type, onClose, isInToast }) => {
26684
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
26685
+ "div",
26682
26686
  {
26683
- small: true,
26684
- round: true,
26685
- basic: true,
26686
- colored: "muted",
26687
- icon: "close",
26688
- onClick: onClose
26687
+ className: cx$2(
26688
+ styles$r.dismiss,
26689
+ isInToast ? styles$r.absolute : "",
26690
+ type === MessageType.INFO ? styles$r.info : type === MessageType.SUCCESS ? styles$r.success : type === MessageType.WARNING ? styles$r.warning : type === MessageType.ERROR ? styles$r.error : null
26691
+ ),
26692
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: IconType.CLOSE, onClick: onClose })
26689
26693
  }
26690
- ) });
26694
+ );
26691
26695
  };
26692
26696
  const initialState$4 = {
26693
26697
  detailsVisible: false
26694
26698
  };
26695
26699
  const reducer$1 = (state, action2) => {
26696
26700
  switch (action2.type) {
26697
- case "TOGGLE_DETAILS": {
26701
+ case MessageToggle.TOGGLE_DETAILS:
26698
26702
  return {
26699
26703
  ...state,
26700
26704
  detailsVisible: !state.detailsVisible
26701
26705
  };
26702
- }
26703
26706
  default:
26704
26707
  return state;
26705
26708
  }
26706
26709
  };
26707
26710
  const Details = ({ details: details2, visible, dispatch }) => {
26708
26711
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
26709
- /* @__PURE__ */ jsxRuntimeExports.jsx(
26710
- "div",
26711
- {
26712
- className: cx$2(styles$r.legendToggle),
26713
- onClick: () => dispatch({ type: "TOGGLE_DETAILS" }),
26714
- children: visible ? "Hide details" : "Show details"
26715
- }
26716
- ),
26712
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cx$2(styles$r.legendToggle), onClick: dispatch, children: visible ? "Hide details" : "Show details" }),
26717
26713
  visible ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$r.detailsText, children: details2 }) : null
26718
26714
  ] });
26719
26715
  };
26720
26716
  const DialogIcon = ({ type }) => {
26717
+ const size2 = 16;
26721
26718
  switch (type) {
26722
- case "Success":
26723
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: "success" });
26724
- case "Warning":
26725
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: "warning" });
26726
- case "Error":
26727
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: "error" });
26719
+ case MessageType.SUCCESS:
26720
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: IconType.SUCCESS, size: size2 });
26721
+ case MessageType.WARNING:
26722
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: IconType.WARNING, size: size2 });
26723
+ case MessageType.ERROR:
26724
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: IconType.ERROR, size: size2 });
26728
26725
  default:
26729
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: "info" });
26726
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: IconType.INFO, size: size2 });
26730
26727
  }
26731
26728
  };
26732
26729
  const Message = ({ message: message2 }) => {
26733
26730
  const {
26734
26731
  visible,
26735
- type,
26732
+ type = MessageType.INFO,
26736
26733
  icon: icon2,
26737
26734
  heading: heading2,
26738
26735
  content: content2,
@@ -26750,7 +26747,7 @@ const Message = ({ message: message2 }) => {
26750
26747
  className: cx$2(
26751
26748
  styles$r.container,
26752
26749
  width2 ? styles$r.block : null,
26753
- type === "Success" ? styles$r.success : type === "Warning" ? styles$r.warning : type === "Error" ? styles$r.error : styles$r.info
26750
+ type === MessageType.SUCCESS ? styles$r.success : type === MessageType.WARNING ? styles$r.warning : type === MessageType.ERROR ? styles$r.error : styles$r.info
26754
26751
  ),
26755
26752
  style: { width: width2, maxHeight },
26756
26753
  children: [
@@ -26763,7 +26760,7 @@ const Message = ({ message: message2 }) => {
26763
26760
  {
26764
26761
  details: details2,
26765
26762
  visible: state.detailsVisible,
26766
- dispatch: () => dispatch({ type: "TOGGLE_DETAILS" })
26763
+ dispatch: () => dispatch({ type: MessageToggle.TOGGLE_DETAILS })
26767
26764
  }
26768
26765
  ) : null,
26769
26766
  !!footer2 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$r.footer, children: footer2 })
@@ -26773,30 +26770,6 @@ const Message = ({ message: message2 }) => {
26773
26770
  }
26774
26771
  ) : null });
26775
26772
  };
26776
- const messageShape = PropTypes.shape({
26777
- visible: PropTypes.bool,
26778
- type: PropTypes.oneOf(["Info", "Success", "Warning", "Error"]),
26779
- icon: PropTypes.bool,
26780
- heading: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
26781
- content: PropTypes.oneOfType([
26782
- PropTypes.string,
26783
- PropTypes.number,
26784
- PropTypes.node
26785
- ]),
26786
- details: PropTypes.oneOfType([
26787
- PropTypes.string,
26788
- PropTypes.number,
26789
- PropTypes.node
26790
- ]),
26791
- footer: PropTypes.node,
26792
- withDismiss: PropTypes.bool,
26793
- onClose: PropTypes.func,
26794
- width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
26795
- maxHeight: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
26796
- });
26797
- Message.propTypes = {
26798
- message: messageShape.isRequired
26799
- };
26800
26773
  const Portal = ({ id: id2, children }) => {
26801
26774
  const parent = document.querySelector(`#${id2}`);
26802
26775
  const [mounted, setMounted] = useState(false);
@@ -59834,20 +59807,19 @@ const styles$d = {
59834
59807
  row
59835
59808
  };
59836
59809
  const Row$1 = ({
59837
- alignItems,
59838
- justifyContent,
59839
- children,
59840
- flex,
59841
- height: height2,
59842
- marginBottom,
59843
- marginTop,
59844
- spacing: spacingProp,
59845
- wrap: wrap2,
59846
- testId
59810
+ alignItems = "initial",
59811
+ justifyContent = "initial",
59812
+ children = null,
59813
+ flex = false,
59814
+ height: height2 = "auto",
59815
+ marginBottom = "0",
59816
+ marginTop = "0",
59817
+ spacing = "var(--padding)",
59818
+ wrap: wrap2 = false,
59819
+ testId = null
59847
59820
  }) => {
59848
- const spacing = typeof spacingProp === "number" ? `${spacingProp}px` : spacingProp;
59849
- const childElements = children === null || children === false ? [] : children instanceof Array ? children.filter((c2) => isValidElement(c2)) : [children];
59850
- const columns = childElements.map((item2, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(Fragment$1, { children: React__default.cloneElement(item2, { spacing }) }, index2));
59821
+ const childElements = children === null || children === false ? [] : Array.isArray(children) ? children.filter((c2) => isValidElement(c2)) : [children];
59822
+ const columns = childElements.map((item2, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(React__default.Fragment, { children: React__default.cloneElement(item2, { spacing }) }, index2));
59851
59823
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
59852
59824
  "div",
59853
59825
  {
@@ -59859,8 +59831,8 @@ const Row$1 = ({
59859
59831
  flexShrink: flex ? 1 : 0,
59860
59832
  flexWrap: wrap2 ? "wrap" : "nowrap",
59861
59833
  height: height2,
59862
- marginLeft: `calc(${spacing} / -2)`,
59863
- marginRight: `calc(${spacing} / -2)`,
59834
+ marginLeft: Number(spacing) * -0.5,
59835
+ marginRight: Number(spacing) * -0.5,
59864
59836
  marginBottom,
59865
59837
  marginTop
59866
59838
  },
@@ -59869,30 +59841,6 @@ const Row$1 = ({
59869
59841
  }
59870
59842
  );
59871
59843
  };
59872
- Row$1.defaultProps = {
59873
- alignItems: "initial",
59874
- justifyContent: "initial",
59875
- children: null,
59876
- flex: false,
59877
- height: "auto",
59878
- marginBottom: "0",
59879
- marginTop: "0",
59880
- spacing: "var(--padding)",
59881
- wrap: false,
59882
- testId: null
59883
- };
59884
- Row$1.propTypes = {
59885
- alignItems: PropTypes.string,
59886
- justifyContent: PropTypes.string,
59887
- children: PropTypes.node,
59888
- flex: PropTypes.bool,
59889
- height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
59890
- marginBottom: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
59891
- marginTop: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
59892
- spacing: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
59893
- wrap: PropTypes.bool,
59894
- testId: PropTypes.string
59895
- };
59896
59844
  var hasElementType = typeof Element !== "undefined";
59897
59845
  var hasMap = typeof Map === "function";
59898
59846
  var hasSet = typeof Set === "function";
@@ -65194,13 +65142,6 @@ eventManager.on(
65194
65142
  }
65195
65143
  );
65196
65144
  const toaster = "";
65197
- var MessageType = /* @__PURE__ */ ((MessageType2) => {
65198
- MessageType2["INFO"] = "Info";
65199
- MessageType2["SUCCESS"] = "Success";
65200
- MessageType2["WARNING"] = "Warning";
65201
- MessageType2["ERROR"] = "Error";
65202
- return MessageType2;
65203
- })(MessageType || {});
65204
65145
  const toast = ({
65205
65146
  id: id2,
65206
65147
  message: message2 = { type: MessageType.INFO, content: "" },
@@ -65257,11 +65198,11 @@ const toast = ({
65257
65198
  type: toastType
65258
65199
  });
65259
65200
  };
65260
- const toggle$1 = "_toggle_3ujcm_9";
65261
- const small = "_small_3ujcm_25";
65262
- const disabled = "_disabled_3ujcm_101";
65263
- const noMargin = "_noMargin_3ujcm_112";
65264
- const helpIconEnabled = "_helpIconEnabled_3ujcm_115";
65201
+ const toggle$1 = "_toggle_1mo1i_9";
65202
+ const small = "_small_1mo1i_25";
65203
+ const disabled = "_disabled_1mo1i_102";
65204
+ const noMargin = "_noMargin_1mo1i_113";
65205
+ const helpIconEnabled = "_helpIconEnabled_1mo1i_116";
65265
65206
  const styles$3 = {
65266
65207
  toggle: toggle$1,
65267
65208
  small,