@oliasoft-open-source/react-ui-library 4.10.1-beta-2 → 4.10.1

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 (24) hide show
  1. package/dist/404.html +1 -0
  2. package/dist/assets/{index-CnfDrmnZ.js → index-DoFa61ar.js} +79 -137
  3. package/dist/global.css +60 -53
  4. package/dist/index.html +1 -1
  5. package/dist/index.js +53 -42
  6. package/dist/index.js.map +1 -1
  7. package/dist/storybook/assets/{Color-KGDBMAHA-DlQqI8Tk.js → Color-KGDBMAHA-BmSw_KzG.js} +1 -1
  8. package/dist/storybook/assets/{DocsRenderer-PKQXORMH-C-eDrY_1.js → DocsRenderer-PKQXORMH-BlNdGnnl.js} +1 -1
  9. package/dist/storybook/assets/{buttons-and-links-wb-Y9p6x.js → buttons-and-links-CjXB4s8x.js} +1 -1
  10. package/dist/storybook/assets/{chunk-HLWAVYOI-Lxbmzwgp.js → chunk-HLWAVYOI-CdqYwoch.js} +1 -1
  11. package/dist/storybook/assets/{color-I4_Y9LFJ.js → color-D1ekPWgj.js} +1 -1
  12. package/dist/storybook/assets/{iframe-DG9U1Bn6.js → iframe-DMfzIqb1.js} +2 -2
  13. package/dist/storybook/assets/{index-Cfibu2ua.js → index-BwF9tkX6.js} +88 -88
  14. package/dist/storybook/assets/{index-CINwEN_P.js → index-CJinQmTJ.js} +1 -1
  15. package/dist/storybook/assets/{input-validation-B5UoupeG.js → input-validation-V4RLAMGW.js} +1 -1
  16. package/dist/storybook/assets/{inputs-ChYYqRCq.js → inputs-DYObX2US.js} +1 -1
  17. package/dist/storybook/assets/{layout-forms-P7QfwIXF.js → layout-forms-DOSlFuR7.js} +1 -1
  18. package/dist/storybook/assets/{layout-general-CiIRqFmO.js → layout-general-DjipRId4.js} +1 -1
  19. package/dist/storybook/assets/{padding-and-spacing-BxAEU1k1.js → padding-and-spacing-CBfXtGz2.js} +1 -1
  20. package/dist/storybook/assets/{preview-AQiRsl0e.js → preview-C6ImNE9L.js} +2 -2
  21. package/dist/storybook/assets/{preview-DyPtloVR.js → preview-CxrHbcEF.js} +1 -1
  22. package/dist/storybook/iframe.html +1 -1
  23. package/dist/storybook/project.json +1 -1
  24. package/package.json +1 -1
package/dist/global.css CHANGED
@@ -9708,125 +9708,132 @@ tbody tr {
9708
9708
  ._dragIcon_1ki29_34:active {
9709
9709
  color: var(--color-text-primary-active);
9710
9710
  }
9711
- ._inputInTable_1rtjr_1 {
9711
+ ._inputInTable_9hq13_1 {
9712
9712
  background-color: transparent;
9713
9713
  border-radius: inherit !important;
9714
9714
  height: var(--size);
9715
9715
  min-height: 100%;
9716
9716
  }
9717
- ._inputInTable_1rtjr_1:not(:hover):not(._error_1rtjr_7):not(._warning_1rtjr_7) {
9717
+ ._inputInTable_9hq13_1:not(:hover):not(._error_9hq13_7):not(._warning_9hq13_7) {
9718
9718
  border-color: transparent;
9719
9719
  }
9720
- ._inputInTable_1rtjr_1:not(:focus) {
9720
+ ._inputInTable_9hq13_1:not(:focus) {
9721
9721
  box-shadow: none;
9722
9722
  }
9723
- ._inputHover_1rtjr_13 {
9723
+ ._inputHover_9hq13_13 {
9724
9724
  position: relative;
9725
9725
  border-color: var(--color-border-hover);
9726
9726
  z-index: 2;
9727
9727
  }
9728
- ._inputFocus_1rtjr_18 {
9728
+ ._inputFocus_9hq13_18 {
9729
9729
  position: relative;
9730
9730
  outline: none !important;
9731
9731
  border-color: var(--color-border-focus) !important;
9732
9732
  box-shadow: var(--shadow-focus);
9733
9733
  z-index: 3;
9734
9734
  }
9735
- ._inputError_1rtjr_25,
9736
- ._inputWarning_1rtjr_26 {
9735
+ ._inputError_9hq13_25,
9736
+ ._inputWarning_9hq13_26 {
9737
9737
  position: relative;
9738
9738
  }
9739
- ._inputError_1rtjr_25 {
9739
+ ._inputError_9hq13_25 {
9740
9740
  z-index: 2;
9741
9741
  border-color: var(--color-border-error);
9742
9742
  color: var(--color-text-error) !important;
9743
9743
  background-color: var(--color-background-error-muted);
9744
9744
  }
9745
- ._inputError_1rtjr_25:hover {
9745
+ ._inputError_9hq13_25:hover {
9746
9746
  border-color: var(--color-border-error-hover) !important;
9747
9747
  }
9748
- ._inputError_1rtjr_25:focus {
9748
+ ._inputError_9hq13_25:focus {
9749
9749
  position: relative;
9750
9750
  outline: none !important;
9751
9751
  border-color: var(--color-border-focus) !important;
9752
9752
  box-shadow: var(--shadow-focus);
9753
9753
  z-index: 3;
9754
9754
  }
9755
- ._inputWarning_1rtjr_26 {
9755
+ ._inputWarning_9hq13_26 {
9756
9756
  z-index: 1;
9757
9757
  border-color: var(--color-border-warning);
9758
9758
  color: var(--color-text-warning) !important;
9759
9759
  background-color: var(--color-background-warning-muted);
9760
9760
  }
9761
- ._inputWarning_1rtjr_26:hover {
9761
+ ._inputWarning_9hq13_26:hover {
9762
9762
  border-color: var(--color-border-warning-hover) !important;
9763
9763
  }
9764
- ._inputWarning_1rtjr_26:focus {
9764
+ ._inputWarning_9hq13_26:focus {
9765
9765
  position: relative;
9766
9766
  outline: none !important;
9767
9767
  border-color: var(--color-border-focus) !important;
9768
9768
  box-shadow: var(--shadow-focus);
9769
9769
  z-index: 3;
9770
9770
  }
9771
- ._inputDisabled_1rtjr_61 {
9771
+ ._inputDisabled_9hq13_61 {
9772
9772
  pointer-events: none;
9773
9773
  background-color: var(--color-background-disabled);
9774
9774
  color: var(--color-text-muted);
9775
9775
  box-shadow: none;
9776
9776
  }
9777
- ._hideScrollbars_1rtjr_67 {
9777
+ ._hideScrollbars_9hq13_67 {
9778
9778
  /* Firefox */
9779
9779
  scrollbar-width: none;
9780
9780
  /* IE 10+ */
9781
9781
  -ms-overflow-style: none;
9782
9782
  /* Chrome, Safari and Opera */
9783
9783
  }
9784
- ._hideScrollbars_1rtjr_67::-webkit-scrollbar {
9784
+ ._hideScrollbars_9hq13_67::-webkit-scrollbar {
9785
9785
  display: none;
9786
9786
  }
9787
- ._cell_1rtjr_77 a {
9787
+ ._cell_9hq13_77 a {
9788
9788
  cursor: pointer;
9789
9789
  color: var(--color-text-primary);
9790
9790
  }
9791
- ._cell_1rtjr_77 a:hover {
9791
+ ._cell_9hq13_77 a:hover {
9792
9792
  color: var(--color-text-primary-hover);
9793
9793
  }
9794
- ._cell_1rtjr_77 a:active {
9794
+ ._cell_9hq13_77 a:active {
9795
9795
  color: var(--color-text-primary-active);
9796
9796
  }
9797
- ._cell_1rtjr_77 a._disabledLink_1rtjr_87 {
9797
+ ._cell_9hq13_77 a._disabledLink_9hq13_87 {
9798
9798
  color: var(--color-text-faint) !important;
9799
9799
  cursor: default !important;
9800
9800
  }
9801
- ._inputWrapper_1rtjr_91 {
9801
+ ._inputWrapper_9hq13_91 {
9802
9802
  height: 100%;
9803
9803
  border-radius: inherit;
9804
9804
  }
9805
- ._inputWrapper_1rtjr_91 > span,
9806
- ._inputWrapper_1rtjr_91 > span > span,
9807
- ._inputWrapper_1rtjr_91 > span > span > div {
9805
+ ._inputWrapper_9hq13_91 > span,
9806
+ ._inputWrapper_9hq13_91 > span > span,
9807
+ ._inputWrapper_9hq13_91 > span > span > div {
9808
9808
  height: 100%;
9809
9809
  border-radius: inherit;
9810
9810
  }
9811
- ._inputWrapper_1rtjr_91 > div,
9812
- ._inputWrapper_1rtjr_91 > div > span {
9811
+ ._inputWrapper_9hq13_91 > div,
9812
+ ._inputWrapper_9hq13_91 > div > span {
9813
9813
  height: 100%;
9814
9814
  border-radius: inherit;
9815
9815
  }
9816
- ._breakWord_1rtjr_106 {
9816
+ ._numberInputWrapper_9hq13_106 > span,
9817
+ ._numberInputWrapper_9hq13_106 > span > div,
9818
+ ._numberInputWrapper_9hq13_106 > span > div > span {
9819
+ display: block;
9820
+ height: 100%;
9821
+ border-radius: inherit;
9822
+ }
9823
+ ._breakWord_9hq13_113 {
9817
9824
  word-break: break-word;
9818
9825
  }
9819
- ._inputCell_1rtjr_109 {
9826
+ ._inputCell_9hq13_116 {
9820
9827
  padding: 0 !important;
9821
9828
  }
9822
- ._sliderCell_1rtjr_112 {
9829
+ ._sliderCell_9hq13_119 {
9823
9830
  padding-top: 0 !important;
9824
9831
  padding-bottom: 0 !important;
9825
9832
  }
9826
- ._staticCell_1rtjr_116 {
9833
+ ._staticCell_9hq13_123 {
9827
9834
  padding: 0 !important;
9828
9835
  }
9829
- ._staticCell_1rtjr_116 ._staticCellContent_1rtjr_119 {
9836
+ ._staticCell_9hq13_123 ._staticCellContent_9hq13_126 {
9830
9837
  line-height: 1.25;
9831
9838
  min-height: 100%;
9832
9839
  padding: var(--padding-input);
@@ -9835,34 +9842,34 @@ tbody tr {
9835
9842
  display: flex;
9836
9843
  align-items: center;
9837
9844
  }
9838
- tbody ._staticCell_1rtjr_116 ._staticCellContent_1rtjr_119 {
9845
+ tbody ._staticCell_9hq13_123 ._staticCellContent_9hq13_126 {
9839
9846
  color: var(--color-text-muted);
9840
9847
  }
9841
- ._staticCell_1rtjr_116 ._staticCellContent_1rtjr_119._error_1rtjr_7,
9842
- ._staticCell_1rtjr_116 ._staticCellContent_1rtjr_119._warning_1rtjr_7 {
9848
+ ._staticCell_9hq13_123 ._staticCellContent_9hq13_126._error_9hq13_7,
9849
+ ._staticCell_9hq13_123 ._staticCellContent_9hq13_126._warning_9hq13_7 {
9843
9850
  border: 1px solid transparent;
9844
9851
  }
9845
- ._staticCell_1rtjr_116 ._staticCellContent_1rtjr_119._error_1rtjr_7 {
9852
+ ._staticCell_9hq13_123 ._staticCellContent_9hq13_126._error_9hq13_7 {
9846
9853
  background-color: var(--color-background-error-muted);
9847
9854
  }
9848
- ._staticCell_1rtjr_116 ._staticCellContent_1rtjr_119._warning_1rtjr_7 {
9855
+ ._staticCell_9hq13_123 ._staticCellContent_9hq13_126._warning_9hq13_7 {
9849
9856
  background-color: var(--color-background-warning-muted);
9850
9857
  }
9851
- ._staticCell_1rtjr_116 ._staticCellContent_1rtjr_119._unit_1rtjr_141 {
9858
+ ._staticCell_9hq13_123 ._staticCellContent_9hq13_126._unit_9hq13_148 {
9852
9859
  font-weight: normal;
9853
9860
  }
9854
- ._sortingCell_1rtjr_144 ._staticCellContent_1rtjr_119 {
9861
+ ._sortingCell_9hq13_151 ._staticCellContent_9hq13_126 {
9855
9862
  position: relative;
9856
9863
  padding-right: calc(var(--size) + var(--padding-xxs)) !important;
9857
9864
  cursor: pointer !important;
9858
9865
  }
9859
- ._sortingCell_1rtjr_144 ._staticCellContent_1rtjr_119:hover {
9866
+ ._sortingCell_9hq13_151 ._staticCellContent_9hq13_126:hover {
9860
9867
  background-color: rgba(0, 0, 0, 0.05) !important;
9861
9868
  }
9862
- [data-theme='dark'] ._sortingCell_1rtjr_144 ._staticCellContent_1rtjr_119:hover {
9869
+ [data-theme='dark'] ._sortingCell_9hq13_151 ._staticCellContent_9hq13_126:hover {
9863
9870
  background-color: rgba(255, 255, 255, 0.1) !important;
9864
9871
  }
9865
- ._sortingCell_1rtjr_144 ._sortingCellIcon_1rtjr_155 {
9872
+ ._sortingCell_9hq13_151 ._sortingCellIcon_9hq13_162 {
9866
9873
  font-size: var(--size-xs);
9867
9874
  position: absolute;
9868
9875
  right: var(--padding-input-x);
@@ -9870,22 +9877,22 @@ tbody ._staticCell_1rtjr_116 ._staticCellContent_1rtjr_119 {
9870
9877
  transform: translateY(-50%);
9871
9878
  display: flex;
9872
9879
  }
9873
- ._sortingCell_1rtjr_144 ._sortingCellIcon_1rtjr_155 > * {
9880
+ ._sortingCell_9hq13_151 ._sortingCellIcon_9hq13_162 > * {
9874
9881
  display: flex;
9875
9882
  }
9876
- ._icon_1rtjr_166 {
9883
+ ._icon_9hq13_173 {
9877
9884
  display: inline-flex;
9878
9885
  margin-left: var(--padding-xxs);
9879
9886
  }
9880
- ._checkBoxCell_1rtjr_170 {
9887
+ ._checkBoxCell_9hq13_177 {
9881
9888
  padding-block: 0 !important;
9882
9889
  width: var(--size);
9883
9890
  }
9884
- ._iconCellWrapper_1rtjr_174 {
9891
+ ._iconCellWrapper_9hq13_181 {
9885
9892
  display: flex;
9886
9893
  justify-content: center;
9887
9894
  }
9888
- ._actionsCell_1rtjr_178 {
9895
+ ._actionsCell_9hq13_185 {
9889
9896
  width: var(--size-sm);
9890
9897
  padding: 0 calc((var(--size) - var(--size-sm)) / 2) !important;
9891
9898
  position: sticky;
@@ -9893,25 +9900,25 @@ tbody ._staticCell_1rtjr_116 ._staticCellContent_1rtjr_119 {
9893
9900
  background: inherit;
9894
9901
  z-index: 4;
9895
9902
  }
9896
- ._rightAligned_1rtjr_186 {
9903
+ ._rightAligned_9hq13_193 {
9897
9904
  text-align: right !important;
9898
9905
  }
9899
- ._rightAligned_1rtjr_186 ._staticCellContent_1rtjr_119 {
9906
+ ._rightAligned_9hq13_193 ._staticCellContent_9hq13_126 {
9900
9907
  justify-content: flex-end;
9901
9908
  }
9902
- ._centerAligned_1rtjr_192 {
9909
+ ._centerAligned_9hq13_199 {
9903
9910
  text-align: center !important;
9904
9911
  }
9905
- ._centerAligned_1rtjr_192 ._staticCellContent_1rtjr_119 {
9912
+ ._centerAligned_9hq13_199 ._staticCellContent_9hq13_126 {
9906
9913
  justify-content: center;
9907
9914
  }
9908
- ._leftAligned_1rtjr_198 {
9915
+ ._leftAligned_9hq13_205 {
9909
9916
  text-align: left !important;
9910
9917
  }
9911
- ._popover_1rtjr_201 {
9918
+ ._popover_9hq13_208 {
9912
9919
  padding: var(--padding-input);
9913
9920
  }
9914
- ._disabledPointerEvents_1rtjr_204 {
9921
+ ._disabledPointerEvents_9hq13_211 {
9915
9922
  pointer-events: none;
9916
9923
  }
9917
9924
  ._tabs_1y79t_1 {
package/dist/index.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><head><title>React UI Library</title><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1" user-scalable="no"><meta name="apple-mobile-web-app-capable" content="yes"><script type="module" crossorigin src="/react-ui-library/assets/index-CnfDrmnZ.js"></script><link rel="stylesheet" crossorigin href="/react-ui-library/assets/index-BpSdrNXy.css"></head><body><div id="content"></div></body>
1
+ <!doctype html><head><title>React UI Library</title><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1" user-scalable="no"><meta name="apple-mobile-web-app-capable" content="yes"><script type="module" crossorigin src="/react-ui-library/assets/index-DoFa61ar.js"></script><link rel="stylesheet" crossorigin href="/react-ui-library/assets/index-BpSdrNXy.css"></head><body><div id="content"></div></body>
package/dist/index.js CHANGED
@@ -55543,35 +55543,36 @@ const getHeaderAlignment = (alignments, isHeader = false, rowIndex = 0) => {
55543
55543
  return [];
55544
55544
  }
55545
55545
  };
55546
- const inputInTable$1 = "_inputInTable_1rtjr_1";
55547
- const error$1 = "_error_1rtjr_7";
55548
- const warning$2 = "_warning_1rtjr_7";
55549
- const inputHover$1 = "_inputHover_1rtjr_13";
55550
- const inputFocus$1 = "_inputFocus_1rtjr_18";
55551
- const inputError$1 = "_inputError_1rtjr_25";
55552
- const inputWarning$1 = "_inputWarning_1rtjr_26";
55553
- const inputDisabled$1 = "_inputDisabled_1rtjr_61";
55554
- const hideScrollbars$1 = "_hideScrollbars_1rtjr_67";
55555
- const cell = "_cell_1rtjr_77";
55556
- const disabledLink = "_disabledLink_1rtjr_87";
55557
- const inputWrapper$1 = "_inputWrapper_1rtjr_91";
55558
- const breakWord = "_breakWord_1rtjr_106";
55559
- const inputCell = "_inputCell_1rtjr_109";
55560
- const sliderCell = "_sliderCell_1rtjr_112";
55561
- const staticCell = "_staticCell_1rtjr_116";
55562
- const staticCellContent = "_staticCellContent_1rtjr_119";
55563
- const unit = "_unit_1rtjr_141";
55564
- const sortingCell = "_sortingCell_1rtjr_144";
55565
- const sortingCellIcon = "_sortingCellIcon_1rtjr_155";
55566
- const icon = "_icon_1rtjr_166";
55567
- const checkBoxCell = "_checkBoxCell_1rtjr_170";
55568
- const iconCellWrapper = "_iconCellWrapper_1rtjr_174";
55569
- const actionsCell = "_actionsCell_1rtjr_178";
55570
- const rightAligned = "_rightAligned_1rtjr_186";
55571
- const centerAligned = "_centerAligned_1rtjr_192";
55572
- const leftAligned = "_leftAligned_1rtjr_198";
55573
- const popover = "_popover_1rtjr_201";
55574
- const disabledPointerEvents = "_disabledPointerEvents_1rtjr_204";
55546
+ const inputInTable$1 = "_inputInTable_9hq13_1";
55547
+ const error$1 = "_error_9hq13_7";
55548
+ const warning$2 = "_warning_9hq13_7";
55549
+ const inputHover$1 = "_inputHover_9hq13_13";
55550
+ const inputFocus$1 = "_inputFocus_9hq13_18";
55551
+ const inputError$1 = "_inputError_9hq13_25";
55552
+ const inputWarning$1 = "_inputWarning_9hq13_26";
55553
+ const inputDisabled$1 = "_inputDisabled_9hq13_61";
55554
+ const hideScrollbars$1 = "_hideScrollbars_9hq13_67";
55555
+ const cell = "_cell_9hq13_77";
55556
+ const disabledLink = "_disabledLink_9hq13_87";
55557
+ const inputWrapper$1 = "_inputWrapper_9hq13_91";
55558
+ const numberInputWrapper = "_numberInputWrapper_9hq13_106";
55559
+ const breakWord = "_breakWord_9hq13_113";
55560
+ const inputCell = "_inputCell_9hq13_116";
55561
+ const sliderCell = "_sliderCell_9hq13_119";
55562
+ const staticCell = "_staticCell_9hq13_123";
55563
+ const staticCellContent = "_staticCellContent_9hq13_126";
55564
+ const unit = "_unit_9hq13_148";
55565
+ const sortingCell = "_sortingCell_9hq13_151";
55566
+ const sortingCellIcon = "_sortingCellIcon_9hq13_162";
55567
+ const icon = "_icon_9hq13_173";
55568
+ const checkBoxCell = "_checkBoxCell_9hq13_177";
55569
+ const iconCellWrapper = "_iconCellWrapper_9hq13_181";
55570
+ const actionsCell = "_actionsCell_9hq13_185";
55571
+ const rightAligned = "_rightAligned_9hq13_193";
55572
+ const centerAligned = "_centerAligned_9hq13_199";
55573
+ const leftAligned = "_leftAligned_9hq13_205";
55574
+ const popover = "_popover_9hq13_208";
55575
+ const disabledPointerEvents = "_disabledPointerEvents_9hq13_211";
55575
55576
  const styles$7 = {
55576
55577
  inputInTable: inputInTable$1,
55577
55578
  error: error$1,
@@ -55585,6 +55586,7 @@ const styles$7 = {
55585
55586
  cell,
55586
55587
  disabledLink,
55587
55588
  inputWrapper: inputWrapper$1,
55589
+ numberInputWrapper,
55588
55590
  breakWord,
55589
55591
  inputCell,
55590
55592
  sliderCell,
@@ -55864,21 +55866,30 @@ const InputCellWrapper = ({
55864
55866
  columnAlignment,
55865
55867
  testId
55866
55868
  }) => {
55867
- return /* @__PURE__ */ jsx("div", { className: styles$7.inputWrapper, children: cell2.type === "Input" ? /* @__PURE__ */ jsx(
55868
- InputCell,
55869
- {
55870
- cell: cell2,
55871
- columnAlignment,
55872
- testId
55873
- }
55874
- ) : cell2.type === "NumberInput" ? /* @__PURE__ */ jsx(NumberInputCell, { cell: cell2, testId }) : cell2.type === "DateInput" ? /* @__PURE__ */ jsx(InputCell, { cell: cell2, testId, type: "date" }) : cell2.type === "Select" ? /* @__PURE__ */ jsx(
55875
- SelectCell,
55869
+ return /* @__PURE__ */ jsx(
55870
+ "div",
55876
55871
  {
55877
- cell: cell2,
55878
- columnAlignment,
55879
- testId
55872
+ className: cx$2(
55873
+ styles$7.inputWrapper,
55874
+ cell2.type === "NumberInput" ? styles$7.numberInputWrapper : ""
55875
+ ),
55876
+ children: cell2.type === "Input" ? /* @__PURE__ */ jsx(
55877
+ InputCell,
55878
+ {
55879
+ cell: cell2,
55880
+ columnAlignment,
55881
+ testId
55882
+ }
55883
+ ) : cell2.type === "NumberInput" ? /* @__PURE__ */ jsx(NumberInputCell, { cell: cell2, testId }) : cell2.type === "DateInput" ? /* @__PURE__ */ jsx(InputCell, { cell: cell2, testId, type: "date" }) : cell2.type === "Select" ? /* @__PURE__ */ jsx(
55884
+ SelectCell,
55885
+ {
55886
+ cell: cell2,
55887
+ columnAlignment,
55888
+ testId
55889
+ }
55890
+ ) : null
55880
55891
  }
55881
- ) : null });
55892
+ );
55882
55893
  };
55883
55894
  const LinkCell = ({ cell: cell2, testId }) => {
55884
55895
  const disabledContext = useContext(DisabledContext);