@oliasoft-open-source/react-ui-library 4.0.0-beta-34 → 4.0.0-beta-36

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.
package/dist/index.js CHANGED
@@ -3414,7 +3414,7 @@ Accordion.propTypes = {
3414
3414
  };
3415
3415
  const checkbox = "_checkbox_d2sgw_1";
3416
3416
  const noLabel = "_noLabel_d2sgw_17";
3417
- const small$e = "_small_d2sgw_20";
3417
+ const small$d = "_small_d2sgw_20";
3418
3418
  const checkmark = "_checkmark_d2sgw_43";
3419
3419
  const disabled$9 = "_disabled_d2sgw_67";
3420
3420
  const noMargin$2 = "_noMargin_d2sgw_81";
@@ -3422,7 +3422,7 @@ const isInTable$4 = "_isInTable_d2sgw_84";
3422
3422
  const styles$Q = {
3423
3423
  checkbox,
3424
3424
  noLabel,
3425
- small: small$e,
3425
+ small: small$d,
3426
3426
  checkmark,
3427
3427
  disabled: disabled$9,
3428
3428
  noMargin: noMargin$2,
@@ -5632,7 +5632,7 @@ HelpIcon.propTypes = {
5632
5632
  maxWidth: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number]),
5633
5633
  onClick: propTypes$1.exports.func,
5634
5634
  testId: propTypes$1.exports.string,
5635
- text: propTypes$1.exports.string
5635
+ text: propTypes$1.exports.oneOfType([propTypes$1.exports.node, propTypes$1.exports.string])
5636
5636
  };
5637
5637
  const CheckBox = ({
5638
5638
  noMargin: noMargin2,
@@ -11558,18 +11558,18 @@ const placementOptions$1 = (placement, isNested = false) => ({
11558
11558
  const wrapper$3 = "_wrapper_12awj_1";
11559
11559
  const badge = "_badge_12awj_5";
11560
11560
  const label$9 = "_label_12awj_11";
11561
- const dark$1 = "_dark_12awj_23";
11561
+ const dark = "_dark_12awj_23";
11562
11562
  const light = "_light_12awj_26";
11563
- const small$d = "_small_12awj_29";
11563
+ const small$c = "_small_12awj_29";
11564
11564
  const dot = "_dot_12awj_33";
11565
11565
  const hasChildren = "_hasChildren_12awj_38";
11566
11566
  const styles$L = {
11567
11567
  wrapper: wrapper$3,
11568
11568
  badge,
11569
11569
  label: label$9,
11570
- dark: dark$1,
11570
+ dark,
11571
11571
  light,
11572
- small: small$d,
11572
+ small: small$c,
11573
11573
  dot,
11574
11574
  hasChildren
11575
11575
  };
@@ -11635,7 +11635,7 @@ const iconOnly = "_iconOnly_1695e_157";
11635
11635
  const basic = "_basic_1695e_167";
11636
11636
  const muted$2 = "_muted_1695e_173";
11637
11637
  const disabled$7 = "_disabled_1695e_192";
11638
- const small$c = "_small_1695e_202";
11638
+ const small$b = "_small_1695e_202";
11639
11639
  const pill = "_pill_1695e_207";
11640
11640
  const round = "_round_1695e_208";
11641
11641
  const error$8 = "_error_1695e_275";
@@ -11662,7 +11662,7 @@ const buttonStyles = {
11662
11662
  basic,
11663
11663
  muted: muted$2,
11664
11664
  disabled: disabled$7,
11665
- small: small$c,
11665
+ small: small$b,
11666
11666
  pill,
11667
11667
  round,
11668
11668
  error: error$8,
@@ -11672,33 +11672,16 @@ const buttonStyles = {
11672
11672
  groupOrderMiddle: groupOrderMiddle$4,
11673
11673
  groupOrderLast: groupOrderLast$4
11674
11674
  };
11675
- const spinner = "_spinner_amhhg_1";
11676
- const small$b = "_small_amhhg_19";
11677
- const tiny = "_tiny_amhhg_22";
11678
- const colored$1 = "_colored_amhhg_25";
11679
- const dark = "_dark_amhhg_28";
11675
+ const spinner = "_spinner_156m4_1";
11680
11676
  const styles$K = {
11681
- spinner,
11682
- small: small$b,
11683
- tiny,
11684
- colored: colored$1,
11685
- dark
11677
+ spinner
11686
11678
  };
11687
- const Spinner$1 = ({ small: small2, colored: colored2, dark: dark2, tiny: tiny2 }) => {
11688
- return /* @__PURE__ */ jsxRuntime.exports.jsxs("div", {
11689
- className: cx$2(
11690
- styles$K.spinner,
11691
- small2 ? styles$K.small : "",
11692
- tiny2 ? styles$K.tiny : "",
11693
- dark2 ? styles$K.dark : "",
11694
- colored2 ? styles$K.colored : ""
11695
- ),
11696
- children: [
11697
- /* @__PURE__ */ jsxRuntime.exports.jsx("div", {}),
11698
- /* @__PURE__ */ jsxRuntime.exports.jsx("div", {}),
11699
- /* @__PURE__ */ jsxRuntime.exports.jsx("div", {}),
11700
- /* @__PURE__ */ jsxRuntime.exports.jsx("div", {})
11701
- ]
11679
+ const Spinner$1 = ({ small: small2, colored: colored2, dark: dark2, tiny }) => {
11680
+ const color2 = colored2 ? "var(--color-primary)" : dark2 ? "var(--color-text-muted)" : "white";
11681
+ const fontSize = small2 ? "var(--font-size)" : tiny ? "var(--font-size-xs)" : "var(--size)";
11682
+ return /* @__PURE__ */ jsxRuntime.exports.jsx("div", {
11683
+ className: styles$K.spinner,
11684
+ style: { color: color2, fontSize }
11702
11685
  });
11703
11686
  };
11704
11687
  Spinner$1.defaultProps = {
@@ -12048,7 +12031,7 @@ const Trigger$1 = React__default.forwardRef(
12048
12031
  }
12049
12032
  );
12050
12033
  const actionShape = propTypes$1.exports.shape({
12051
- label: propTypes$1.exports.string.isRequired,
12034
+ label: propTypes$1.exports.oneOfType([propTypes$1.exports.node, propTypes$1.exports.string]).isRequired,
12052
12035
  icon: propTypes$1.exports.oneOfType([propTypes$1.exports.node, propTypes$1.exports.string]),
12053
12036
  onClick: propTypes$1.exports.func.isRequired,
12054
12037
  disabled: propTypes$1.exports.bool,
@@ -14206,13 +14189,13 @@ Heading$2.propTypes = {
14206
14189
  top: propTypes$1.exports.bool,
14207
14190
  testId: propTypes$1.exports.string
14208
14191
  };
14209
- const dialog = "_dialog_bamra_1";
14210
- const inline$3 = "_inline_bamra_18";
14211
- const scroll$3 = "_scroll_bamra_21";
14212
- const header$2 = "_header_bamra_24";
14213
- const dismiss$2 = "_dismiss_bamra_33";
14214
- const content$3 = "_content_bamra_38";
14215
- const footer$2 = "_footer_bamra_47";
14192
+ const dialog = "_dialog_1xtuy_1";
14193
+ const inline$3 = "_inline_1xtuy_18";
14194
+ const scroll$3 = "_scroll_1xtuy_21";
14195
+ const header$2 = "_header_1xtuy_24";
14196
+ const dismiss$2 = "_dismiss_1xtuy_33";
14197
+ const content$3 = "_content_1xtuy_38";
14198
+ const footer$2 = "_footer_1xtuy_47";
14216
14199
  const styles$C = {
14217
14200
  dialog,
14218
14201
  inline: inline$3,
@@ -14224,13 +14207,13 @@ const styles$C = {
14224
14207
  };
14225
14208
  const convertStringToJsx = (children) => {
14226
14209
  if (lodash.exports.isArray(children)) {
14227
- return children.map((text2) => /* @__PURE__ */ jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment, {
14210
+ return children.map((text2, i) => /* @__PURE__ */ jsxRuntime.exports.jsxs(Fragment$1, {
14228
14211
  children: [
14229
14212
  text2,
14230
14213
  " ",
14231
14214
  /* @__PURE__ */ jsxRuntime.exports.jsx("br", {})
14232
14215
  ]
14233
- }));
14216
+ }, i));
14234
14217
  }
14235
14218
  return children;
14236
14219
  };
@@ -14311,30 +14294,30 @@ const dialogShape = propTypes$1.exports.shape({
14311
14294
  Dialog.propTypes = {
14312
14295
  dialog: dialogShape.isRequired
14313
14296
  };
14314
- const inputInTable$a = "_inputInTable_1jtrv_1";
14315
- const inputHover$a = "_inputHover_1jtrv_13";
14316
- const inputFocus$a = "_inputFocus_1jtrv_18";
14317
- const inputError$a = "_inputError_1jtrv_25";
14318
- const inputWarning$a = "_inputWarning_1jtrv_26";
14319
- const inputDisabled$a = "_inputDisabled_1jtrv_61";
14320
- const hideScrollbars$a = "_hideScrollbars_1jtrv_67";
14321
- const inline$2 = "_inline_1jtrv_92";
14322
- const left$2 = "_left_1jtrv_95";
14323
- const right$6 = "_right_1jtrv_98";
14324
- const fixed$1 = "_fixed_1jtrv_101";
14325
- const border$1 = "_border_1jtrv_113";
14326
- const shadow = "_shadow_1jtrv_119";
14327
- const drawerContent = "_drawerContent_1jtrv_122";
14328
- const isResizing = "_isResizing_1jtrv_134";
14329
- const toggleButton = "_toggleButton_1jtrv_145";
14330
- const top = "_top_1jtrv_158";
14331
- const bottom = "_bottom_1jtrv_161";
14332
- const toggleButtonOpen = "_toggleButtonOpen_1jtrv_164";
14333
- const tabs$1 = "_tabs_1jtrv_167";
14334
- const tab$1 = "_tab_1jtrv_167";
14335
- const active$4 = "_active_1jtrv_199";
14336
- const tabsContent = "_tabsContent_1jtrv_221";
14337
- const resizeHandle = "_resizeHandle_1jtrv_227";
14297
+ const inputInTable$a = "_inputInTable_1v4te_1";
14298
+ const inputHover$a = "_inputHover_1v4te_13";
14299
+ const inputFocus$a = "_inputFocus_1v4te_18";
14300
+ const inputError$a = "_inputError_1v4te_25";
14301
+ const inputWarning$a = "_inputWarning_1v4te_26";
14302
+ const inputDisabled$a = "_inputDisabled_1v4te_61";
14303
+ const hideScrollbars$a = "_hideScrollbars_1v4te_67";
14304
+ const inline$2 = "_inline_1v4te_92";
14305
+ const left$2 = "_left_1v4te_95";
14306
+ const right$6 = "_right_1v4te_98";
14307
+ const fixed$1 = "_fixed_1v4te_101";
14308
+ const border$1 = "_border_1v4te_113";
14309
+ const shadow = "_shadow_1v4te_119";
14310
+ const drawerContent = "_drawerContent_1v4te_122";
14311
+ const isResizing = "_isResizing_1v4te_134";
14312
+ const toggleButton = "_toggleButton_1v4te_145";
14313
+ const top = "_top_1v4te_158";
14314
+ const bottom = "_bottom_1v4te_161";
14315
+ const toggleButtonOpen = "_toggleButtonOpen_1v4te_164";
14316
+ const tabs$1 = "_tabs_1v4te_167";
14317
+ const tab$1 = "_tab_1v4te_167";
14318
+ const active$4 = "_active_1v4te_199";
14319
+ const tabsContent = "_tabsContent_1v4te_221";
14320
+ const resizeHandle = "_resizeHandle_1v4te_227";
14338
14321
  const styles$B = {
14339
14322
  inputInTable: inputInTable$a,
14340
14323
  inputHover: inputHover$a,
@@ -26314,42 +26297,42 @@ var InfiniteScroll = function(_super) {
26314
26297
  };
26315
26298
  return InfiniteScroll2;
26316
26299
  }(Component$1);
26317
- const inputInTable$8 = "_inputInTable_c5l8r_1";
26318
- const inputHover$8 = "_inputHover_c5l8r_13";
26319
- const inputFocus$8 = "_inputFocus_c5l8r_18";
26320
- const inputError$8 = "_inputError_c5l8r_25";
26321
- const inputWarning$8 = "_inputWarning_c5l8r_26";
26322
- const inputDisabled$8 = "_inputDisabled_c5l8r_61";
26323
- const hideScrollbars$8 = "_hideScrollbars_c5l8r_67";
26324
- const header$1 = "_header_c5l8r_77";
26325
- const headerTitle = "_headerTitle_c5l8r_77";
26326
- const heading$3 = "_heading_c5l8r_78";
26327
- const itemHeader = "_itemHeader_c5l8r_78";
26328
- const narrow = "_narrow_c5l8r_81";
26329
- const stickyHeader = "_stickyHeader_c5l8r_85";
26330
- const title$3 = "_title_c5l8r_96";
26331
- const name = "_name_c5l8r_102";
26332
- const iconTooltipMargin = "_iconTooltipMargin_c5l8r_105";
26333
- const bold = "_bold_c5l8r_108";
26334
- const toggleNarrow = "_toggleNarrow_c5l8r_117";
26335
- const drag$1 = "_drag_c5l8r_135";
26336
- const list$1 = "_list_c5l8r_152";
26337
- const bordered$1 = "_bordered_c5l8r_156";
26338
- const item$4 = "_item_c5l8r_78";
26339
- const action = "_action_c5l8r_189";
26340
- const active$3 = "_active_c5l8r_192";
26341
- const disabled$5 = "_disabled_c5l8r_207";
26342
- const label$6 = "_label_c5l8r_218";
26343
- const details$2 = "_details_c5l8r_224";
26344
- const metadata = "_metadata_c5l8r_225";
26345
- const itemContent = "_itemContent_c5l8r_233";
26346
- const indentIcon = "_indentIcon_c5l8r_240";
26347
- const expandIcon = "_expandIcon_c5l8r_245";
26348
- const expanded = "_expanded_c5l8r_252";
26349
- const right$4 = "_right_c5l8r_255";
26350
- const actions = "_actions_c5l8r_264";
26351
- const scrollableList = "_scrollableList_c5l8r_269";
26352
- const hideScrollbar = "_hideScrollbar_c5l8r_67";
26300
+ const inputInTable$8 = "_inputInTable_mu8ho_1";
26301
+ const inputHover$8 = "_inputHover_mu8ho_13";
26302
+ const inputFocus$8 = "_inputFocus_mu8ho_18";
26303
+ const inputError$8 = "_inputError_mu8ho_25";
26304
+ const inputWarning$8 = "_inputWarning_mu8ho_26";
26305
+ const inputDisabled$8 = "_inputDisabled_mu8ho_61";
26306
+ const hideScrollbars$8 = "_hideScrollbars_mu8ho_67";
26307
+ const header$1 = "_header_mu8ho_77";
26308
+ const headerTitle = "_headerTitle_mu8ho_77";
26309
+ const heading$3 = "_heading_mu8ho_78";
26310
+ const itemHeader = "_itemHeader_mu8ho_78";
26311
+ const narrow = "_narrow_mu8ho_81";
26312
+ const stickyHeader = "_stickyHeader_mu8ho_85";
26313
+ const title$3 = "_title_mu8ho_96";
26314
+ const name = "_name_mu8ho_102";
26315
+ const iconTooltipMargin = "_iconTooltipMargin_mu8ho_105";
26316
+ const bold = "_bold_mu8ho_108";
26317
+ const toggleNarrow = "_toggleNarrow_mu8ho_117";
26318
+ const drag$1 = "_drag_mu8ho_135";
26319
+ const list$1 = "_list_mu8ho_152";
26320
+ const bordered$1 = "_bordered_mu8ho_156";
26321
+ const item$4 = "_item_mu8ho_78";
26322
+ const action = "_action_mu8ho_189";
26323
+ const active$3 = "_active_mu8ho_192";
26324
+ const disabled$5 = "_disabled_mu8ho_207";
26325
+ const label$6 = "_label_mu8ho_218";
26326
+ const details$2 = "_details_mu8ho_224";
26327
+ const metadata = "_metadata_mu8ho_225";
26328
+ const itemContent = "_itemContent_mu8ho_233";
26329
+ const indentIcon = "_indentIcon_mu8ho_240";
26330
+ const expandIcon = "_expandIcon_mu8ho_245";
26331
+ const expanded = "_expanded_mu8ho_252";
26332
+ const right$4 = "_right_mu8ho_255";
26333
+ const actions = "_actions_mu8ho_264";
26334
+ const scrollableList = "_scrollableList_mu8ho_269";
26335
+ const hideScrollbar = "_hideScrollbar_mu8ho_67";
26353
26336
  const listStyles = {
26354
26337
  inputInTable: inputInTable$8,
26355
26338
  inputHover: inputHover$8,
@@ -57035,24 +57018,24 @@ var reactFastCompare = function isEqual3(a2, b2) {
57035
57018
  throw error2;
57036
57019
  }
57037
57020
  };
57038
- const inputInTable$3 = "_inputInTable_in9sh_1";
57039
- const inputHover$3 = "_inputHover_in9sh_13";
57040
- const inputFocus$3 = "_inputFocus_in9sh_18";
57041
- const inputError$3 = "_inputError_in9sh_25";
57042
- const inputWarning$3 = "_inputWarning_in9sh_26";
57043
- const inputDisabled$3 = "_inputDisabled_in9sh_61";
57044
- const hideScrollbars$3 = "_hideScrollbars_in9sh_67";
57045
- const sidebar = "_sidebar_in9sh_81";
57046
- const inner = "_inner_in9sh_92";
57047
- const title$2 = "_title_in9sh_102";
57048
- const subtitle = "_subtitle_in9sh_103";
57049
- const label$2 = "_label_in9sh_104";
57050
- const collapsed = "_collapsed_in9sh_108";
57051
- const list = "_list_in9sh_133";
57052
- const item$2 = "_item_in9sh_137";
57053
- const active$2 = "_active_in9sh_164";
57054
- const experimental = "_experimental_in9sh_168";
57055
- const icon$1 = "_icon_in9sh_171";
57021
+ const inputInTable$3 = "_inputInTable_roq5v_1";
57022
+ const inputHover$3 = "_inputHover_roq5v_13";
57023
+ const inputFocus$3 = "_inputFocus_roq5v_18";
57024
+ const inputError$3 = "_inputError_roq5v_25";
57025
+ const inputWarning$3 = "_inputWarning_roq5v_26";
57026
+ const inputDisabled$3 = "_inputDisabled_roq5v_61";
57027
+ const hideScrollbars$3 = "_hideScrollbars_roq5v_67";
57028
+ const sidebar = "_sidebar_roq5v_81";
57029
+ const inner = "_inner_roq5v_92";
57030
+ const title$2 = "_title_roq5v_102";
57031
+ const subtitle = "_subtitle_roq5v_103";
57032
+ const label$2 = "_label_roq5v_104";
57033
+ const collapsed = "_collapsed_roq5v_108";
57034
+ const list = "_list_roq5v_133";
57035
+ const item$2 = "_item_roq5v_137";
57036
+ const active$2 = "_active_roq5v_164";
57037
+ const experimental = "_experimental_roq5v_168";
57038
+ const icon$1 = "_icon_roq5v_171";
57056
57039
  const styles$c = {
57057
57040
  inputInTable: inputInTable$3,
57058
57041
  inputHover: inputHover$3,
@@ -60947,16 +60930,16 @@ Table.propTypes = {
60947
60930
  }).isRequired,
60948
60931
  onListReorder: propTypes$1.exports.func
60949
60932
  };
60950
- const tabs = "_tabs_zed53_1";
60951
- const padding = "_padding_zed53_7";
60952
- const margin = "_margin_zed53_11";
60953
- const contentPadding = "_contentPadding_zed53_14";
60954
- const item$1 = "_item_zed53_17";
60955
- const active$1 = "_active_zed53_38";
60956
- const hidden = "_hidden_zed53_57";
60957
- const disabled$1 = "_disabled_zed53_60";
60958
- const left$1 = "_left_zed53_64";
60959
- const right$1 = "_right_zed53_64";
60933
+ const tabs = "_tabs_1ajyw_1";
60934
+ const padding = "_padding_1ajyw_7";
60935
+ const margin = "_margin_1ajyw_11";
60936
+ const contentPadding = "_contentPadding_1ajyw_14";
60937
+ const item$1 = "_item_1ajyw_17";
60938
+ const active$1 = "_active_1ajyw_38";
60939
+ const hidden = "_hidden_1ajyw_57";
60940
+ const disabled$1 = "_disabled_1ajyw_60";
60941
+ const left$1 = "_left_1ajyw_64";
60942
+ const right$1 = "_right_1ajyw_64";
60960
60943
  const styles$5 = {
60961
60944
  tabs,
60962
60945
  padding,