@oliasoft-open-source/react-ui-library 3.9.6 → 3.9.8

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/global.css CHANGED
@@ -14063,10 +14063,13 @@ html[data-theme='dark'] {
14063
14063
  /*
14064
14064
  Z-INDEX
14065
14065
  */
14066
- ._layerContainer_18lrn_333 {
14066
+ ._wrapper_w3cwc_333 {
14067
+ flex-shrink: 0;
14068
+ }
14069
+ ._layerContainer_w3cwc_336 {
14067
14070
  z-index: 2002;
14068
14071
  }
14069
- ._layer_18lrn_333 {
14072
+ ._layer_w3cwc_336 {
14070
14073
  border: 1px solid var(--color-border);
14071
14074
  border-radius: 4px;
14072
14075
  overflow: hidden;
@@ -14076,29 +14079,29 @@ html[data-theme='dark'] {
14076
14079
  position: relative;
14077
14080
  font-size: 14px;
14078
14081
  }
14079
- ._layer_18lrn_333 ul {
14082
+ ._layer_w3cwc_336 ul {
14080
14083
  margin: 0;
14081
14084
  padding: 0;
14082
14085
  list-style-type: none;
14083
14086
  }
14084
- ._layer_18lrn_333 ul li {
14087
+ ._layer_w3cwc_336 ul li {
14085
14088
  list-style: none;
14086
14089
  display: block;
14087
14090
  }
14088
- ._layer_18lrn_333._small_18lrn_355 {
14091
+ ._layer_w3cwc_336._small_w3cwc_358 {
14089
14092
  font-size: 12px;
14090
14093
  }
14091
- ._heading_18lrn_358,
14092
- ._option_18lrn_359,
14093
- ._message_18lrn_360 {
14094
+ ._heading_w3cwc_361,
14095
+ ._option_w3cwc_362,
14096
+ ._message_w3cwc_363 {
14094
14097
  padding: 9.5px 0 9.5px 14px;
14095
14098
  }
14096
- ._small_18lrn_355 ._heading_18lrn_358,
14097
- ._small_18lrn_355 ._option_18lrn_359,
14098
- ._small_18lrn_355 ._message_18lrn_360 {
14099
+ ._small_w3cwc_358 ._heading_w3cwc_361,
14100
+ ._small_w3cwc_358 ._option_w3cwc_362,
14101
+ ._small_w3cwc_358 ._message_w3cwc_363 {
14099
14102
  padding: 3.5px 0 3.5px 7px;
14100
14103
  }
14101
- ._heading_18lrn_358 {
14104
+ ._heading_w3cwc_361 {
14102
14105
  color: var(--color-text-muted);
14103
14106
  letter-spacing: 0.1em;
14104
14107
  text-transform: uppercase;
@@ -14109,13 +14112,13 @@ html[data-theme='dark'] {
14109
14112
  text-overflow: ellipsis;
14110
14113
  white-space: nowrap;
14111
14114
  }
14112
- ._small_18lrn_355 ._heading_18lrn_358 {
14115
+ ._small_w3cwc_358 ._heading_w3cwc_361 {
14113
14116
  font-size: 10px;
14114
14117
  }
14115
- ._message_18lrn_360 {
14118
+ ._message_w3cwc_363 {
14116
14119
  color: var(--color-text-faint);
14117
14120
  }
14118
- ._option_18lrn_359 {
14121
+ ._option_w3cwc_362 {
14119
14122
  line-height: 20px;
14120
14123
  display: flex;
14121
14124
  align-items: center;
@@ -14124,22 +14127,22 @@ html[data-theme='dark'] {
14124
14127
  height: 100%;
14125
14128
  cursor: pointer;
14126
14129
  }
14127
- ._option_18lrn_359._focused_18lrn_394,
14128
- ._option_18lrn_359:hover {
14130
+ ._option_w3cwc_362._focused_w3cwc_397,
14131
+ ._option_w3cwc_362:hover {
14129
14132
  background-color: var(--color-background-menuitem-hover);
14130
14133
  }
14131
- ._option_18lrn_359._selected_18lrn_398 {
14134
+ ._option_w3cwc_362._selected_w3cwc_401 {
14132
14135
  background-color: var(--color-background-menuitem-active);
14133
14136
  }
14134
- ._option_18lrn_359._selected_18lrn_398._focused_18lrn_394,
14135
- ._option_18lrn_359._selected_18lrn_398:hover {
14137
+ ._option_w3cwc_362._selected_w3cwc_401._focused_w3cwc_397,
14138
+ ._option_w3cwc_362._selected_w3cwc_401:hover {
14136
14139
  background-color: var(--color-background-menuitem-activehover);
14137
14140
  }
14138
- ._option_18lrn_359._disabled_18lrn_405 {
14141
+ ._option_w3cwc_362._disabled_w3cwc_408 {
14139
14142
  opacity: 0.2;
14140
14143
  cursor: inherit;
14141
14144
  }
14142
- ._option_18lrn_359 ._check_18lrn_409 {
14145
+ ._option_w3cwc_362 ._check_w3cwc_412 {
14143
14146
  color: var(--color-text-primary);
14144
14147
  font-size: 0.75em;
14145
14148
  width: var(--size);
@@ -14147,29 +14150,29 @@ html[data-theme='dark'] {
14147
14150
  justify-content: center;
14148
14151
  flex-shrink: 0;
14149
14152
  }
14150
- ._small_18lrn_355 ._option_18lrn_359 ._check_18lrn_409 {
14153
+ ._small_w3cwc_358 ._option_w3cwc_362 ._check_w3cwc_412 {
14151
14154
  width: var(--size-sm);
14152
14155
  }
14153
- ._option_18lrn_359 ._check_18lrn_409 svg {
14156
+ ._option_w3cwc_362 ._check_w3cwc_412 svg {
14154
14157
  display: block;
14155
14158
  }
14156
- ._option_18lrn_359 ._optionContent_18lrn_423 {
14159
+ ._option_w3cwc_362 ._optionContent_w3cwc_426 {
14157
14160
  flex-wrap: wrap;
14158
14161
  margin-right: auto;
14159
14162
  overflow: hidden;
14160
14163
  }
14161
- ._option_18lrn_359 ._optionContent_18lrn_423 ._label_18lrn_428 {
14164
+ ._option_w3cwc_362 ._optionContent_w3cwc_426 ._label_w3cwc_431 {
14162
14165
  max-width: 100%;
14163
14166
  display: block;
14164
14167
  overflow: hidden;
14165
14168
  text-overflow: ellipsis;
14166
14169
  white-space: nowrap;
14167
14170
  }
14168
- ._option_18lrn_359 ._optionContent_18lrn_423 ._icon_18lrn_435 {
14171
+ ._option_w3cwc_362 ._optionContent_w3cwc_426 ._icon_w3cwc_438 {
14169
14172
  margin-left: 8px;
14170
14173
  line-height: 0;
14171
14174
  }
14172
- ._details_18lrn_439 {
14175
+ ._details_w3cwc_442 {
14173
14176
  float: right;
14174
14177
  display: inline;
14175
14178
  white-space: nowrap;
package/dist/index.js CHANGED
@@ -8994,12 +8994,12 @@ const DeprecatedIcon = ({ icon: icon2 }) => {
8994
8994
  return /* @__PURE__ */ jsx(FaRegCircle, {});
8995
8995
  }
8996
8996
  };
8997
- const wrapper$4 = "_wrapper_xr2gg_333";
8997
+ const wrapper$5 = "_wrapper_xr2gg_333";
8998
8998
  const customSvg = "_customSvg_xr2gg_340";
8999
8999
  const customPng = "_customPng_xr2gg_343";
9000
9000
  const clickable = "_clickable_xr2gg_348";
9001
9001
  const styles$N = {
9002
- wrapper: wrapper$4,
9002
+ wrapper: wrapper$5,
9003
9003
  customSvg,
9004
9004
  customPng,
9005
9005
  clickable
@@ -9052,7 +9052,7 @@ Icon.propTypes = {
9052
9052
  clickable: PropTypes__default.bool,
9053
9053
  testId: PropTypes__default.string
9054
9054
  };
9055
- const wrapper$3 = "_wrapper_4b1ge_333";
9055
+ const wrapper$4 = "_wrapper_4b1ge_333";
9056
9056
  const layer$1 = "_layer_4b1ge_337";
9057
9057
  const layerContainer$1 = "_layerContainer_4b1ge_340";
9058
9058
  const nested = "_nested_4b1ge_355";
@@ -9081,7 +9081,7 @@ const component = "_component_4b1ge_520";
9081
9081
  const right$7 = "_right_4b1ge_526";
9082
9082
  const actions$2 = "_actions_4b1ge_531";
9083
9083
  const styles$M = {
9084
- wrapper: wrapper$3,
9084
+ wrapper: wrapper$4,
9085
9085
  layer: layer$1,
9086
9086
  layerContainer: layerContainer$1,
9087
9087
  nested,
@@ -9330,7 +9330,7 @@ const placementOptions$1 = (placement, isNested = false) => ({
9330
9330
  preferY: "bottom",
9331
9331
  placement: placement || (isNested ? "right-start" : "bottom-start")
9332
9332
  });
9333
- const wrapper$2 = "_wrapper_1n3f1_333";
9333
+ const wrapper$3 = "_wrapper_1n3f1_333";
9334
9334
  const badge = "_badge_1n3f1_337";
9335
9335
  const label$9 = "_label_1n3f1_342";
9336
9336
  const dark$1 = "_dark_1n3f1_354";
@@ -9339,7 +9339,7 @@ const small$d = "_small_1n3f1_360";
9339
9339
  const dot = "_dot_1n3f1_366";
9340
9340
  const hasChildren = "_hasChildren_1n3f1_371";
9341
9341
  const styles$L = {
9342
- wrapper: wrapper$2,
9342
+ wrapper: wrapper$3,
9343
9343
  badge,
9344
9344
  label: label$9,
9345
9345
  dark: dark$1,
@@ -25184,12 +25184,12 @@ const Portal = ({ id: id2, children }) => {
25184
25184
  Portal.propTypes = {
25185
25185
  id: PropTypes__default.string.isRequired
25186
25186
  };
25187
- const wrapper$1 = "_wrapper_1d6pq_333";
25187
+ const wrapper$2 = "_wrapper_1d6pq_333";
25188
25188
  const contentContainer = "_contentContainer_1d6pq_347";
25189
25189
  const centered = "_centered_1d6pq_359";
25190
25190
  const newLine = "_newLine_1d6pq_363";
25191
25191
  const styles$q = {
25192
- wrapper: wrapper$1,
25192
+ wrapper: wrapper$2,
25193
25193
  contentContainer,
25194
25194
  centered,
25195
25195
  newLine
@@ -26381,21 +26381,23 @@ var FixedSizeList = /* @__PURE__ */ createListComponent({
26381
26381
  }
26382
26382
  }
26383
26383
  });
26384
- const layerContainer = "_layerContainer_18lrn_333";
26385
- const layer = "_layer_18lrn_333";
26386
- const small$5 = "_small_18lrn_355";
26387
- const heading = "_heading_18lrn_358";
26388
- const option = "_option_18lrn_359";
26389
- const message = "_message_18lrn_360";
26390
- const focused = "_focused_18lrn_394";
26391
- const selected = "_selected_18lrn_398";
26392
- const disabled$5 = "_disabled_18lrn_405";
26393
- const check = "_check_18lrn_409";
26394
- const optionContent = "_optionContent_18lrn_423";
26395
- const label$5 = "_label_18lrn_428";
26396
- const icon$2 = "_icon_18lrn_435";
26397
- const details = "_details_18lrn_439";
26384
+ const wrapper$1 = "_wrapper_w3cwc_333";
26385
+ const layerContainer = "_layerContainer_w3cwc_336";
26386
+ const layer = "_layer_w3cwc_336";
26387
+ const small$5 = "_small_w3cwc_358";
26388
+ const heading = "_heading_w3cwc_361";
26389
+ const option = "_option_w3cwc_362";
26390
+ const message = "_message_w3cwc_363";
26391
+ const focused = "_focused_w3cwc_397";
26392
+ const selected = "_selected_w3cwc_401";
26393
+ const disabled$5 = "_disabled_w3cwc_408";
26394
+ const check = "_check_w3cwc_412";
26395
+ const optionContent = "_optionContent_w3cwc_426";
26396
+ const label$5 = "_label_w3cwc_431";
26397
+ const icon$2 = "_icon_w3cwc_438";
26398
+ const details = "_details_w3cwc_442";
26398
26399
  const styles$m = {
26400
+ wrapper: wrapper$1,
26399
26401
  layerContainer,
26400
26402
  layer,
26401
26403
  small: small$5,
@@ -27270,6 +27272,7 @@ const CustomSelect = ({
27270
27272
  };
27271
27273
  return /* @__PURE__ */ jsx("div", {
27272
27274
  style: { width: getTriggerWidth() },
27275
+ className: styles$m.wrapper,
27273
27276
  children: /* @__PURE__ */ jsxs(KeyboardEventHandler, {
27274
27277
  handleKeys: ["tab", "up", "down", "left", "right", "enter", "esc"],
27275
27278
  onKeyEvent,
@@ -57688,7 +57691,8 @@ const NumberInput = ({
57688
57691
  warning: warning2,
57689
57692
  validationCallback,
57690
57693
  allowEmpty,
57691
- isInTable: isInTable2
57694
+ isInTable: isInTable2,
57695
+ groupOrder
57692
57696
  }) => {
57693
57697
  const [displayValue, setDisplayValue] = useState(value);
57694
57698
  const [validationError, setValidationError] = useState(null);
@@ -57751,7 +57755,8 @@ const NumberInput = ({
57751
57755
  right: !left2,
57752
57756
  small: small2,
57753
57757
  width,
57754
- isInTable: isInTable2
57758
+ isInTable: isInTable2,
57759
+ groupOrder
57755
57760
  }, stringName);
57756
57761
  };
57757
57762
  NumberInput.defaultProps = {
@@ -72425,6 +72430,7 @@ const Tree = ({
72425
72430
  list: list2,
72426
72431
  draggable: draggable2,
72427
72432
  onListReorder,
72433
+ onChangeOpen,
72428
72434
  testId,
72429
72435
  isInitialOpen,
72430
72436
  treeRef
@@ -72434,6 +72440,11 @@ const Tree = ({
72434
72440
  onListReorder(newTree);
72435
72441
  }
72436
72442
  };
72443
+ const handleOpen = (id2) => {
72444
+ if (onListReorder) {
72445
+ onChangeOpen(id2);
72446
+ }
72447
+ };
72437
72448
  return /* @__PURE__ */ jsxs("div", {
72438
72449
  "data-testid": testId,
72439
72450
  children: [
@@ -72469,6 +72480,7 @@ const Tree = ({
72469
72480
  });
72470
72481
  },
72471
72482
  onDrop: handleDrop,
72483
+ onChangeOpen: handleOpen,
72472
72484
  dropTargetOffset: 5,
72473
72485
  placeholderRender: (node, { depth }) => /* @__PURE__ */ jsx(TreePlaceholder, {
72474
72486
  depth