@oliasoft-open-source/react-ui-library 4.0.0-beta-23 → 4.0.0-beta-25
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 +47 -46
- package/dist/index.js +23 -21
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/global.css
CHANGED
|
@@ -8527,121 +8527,122 @@ button:active .remirror-menu-pane-shortcut,
|
|
|
8527
8527
|
min-height: 0;
|
|
8528
8528
|
flex-shrink: 0;
|
|
8529
8529
|
}
|
|
8530
|
-
.
|
|
8530
|
+
._inputInTable_19p7c_1 {
|
|
8531
8531
|
background-color: transparent;
|
|
8532
8532
|
border-radius: inherit !important;
|
|
8533
8533
|
height: var(--size);
|
|
8534
8534
|
min-height: 100%;
|
|
8535
8535
|
}
|
|
8536
|
-
.
|
|
8536
|
+
._inputInTable_19p7c_1:not(:hover) {
|
|
8537
8537
|
border-color: transparent;
|
|
8538
8538
|
}
|
|
8539
|
-
.
|
|
8539
|
+
._inputInTable_19p7c_1:not(:focus) {
|
|
8540
8540
|
box-shadow: none;
|
|
8541
8541
|
}
|
|
8542
|
-
.
|
|
8542
|
+
._inputHover_19p7c_13 {
|
|
8543
8543
|
position: relative;
|
|
8544
8544
|
border-color: var(--color-border-hover);
|
|
8545
8545
|
z-index: 2;
|
|
8546
8546
|
}
|
|
8547
|
-
.
|
|
8547
|
+
._inputFocus_19p7c_18 {
|
|
8548
8548
|
position: relative;
|
|
8549
8549
|
outline: none !important;
|
|
8550
8550
|
border-color: var(--color-border-focus) !important;
|
|
8551
8551
|
box-shadow: var(--shadow-focus);
|
|
8552
8552
|
z-index: 3;
|
|
8553
8553
|
}
|
|
8554
|
-
.
|
|
8555
|
-
.
|
|
8554
|
+
._inputError_19p7c_25,
|
|
8555
|
+
._inputWarning_19p7c_26 {
|
|
8556
8556
|
position: relative;
|
|
8557
8557
|
}
|
|
8558
|
-
.
|
|
8558
|
+
._inputError_19p7c_25 {
|
|
8559
8559
|
z-index: 2;
|
|
8560
8560
|
border-color: var(--color-border-error);
|
|
8561
8561
|
color: var(--color-text-error) !important;
|
|
8562
8562
|
background-color: var(--color-background-error);
|
|
8563
8563
|
}
|
|
8564
|
-
.
|
|
8564
|
+
._inputError_19p7c_25:hover {
|
|
8565
8565
|
border-color: var(--color-border-error-hover) !important;
|
|
8566
8566
|
}
|
|
8567
|
-
.
|
|
8567
|
+
._inputError_19p7c_25:focus {
|
|
8568
8568
|
position: relative;
|
|
8569
8569
|
outline: none !important;
|
|
8570
8570
|
border-color: var(--color-border-focus) !important;
|
|
8571
8571
|
box-shadow: var(--shadow-focus);
|
|
8572
8572
|
z-index: 3;
|
|
8573
8573
|
}
|
|
8574
|
-
.
|
|
8574
|
+
._inputWarning_19p7c_26 {
|
|
8575
8575
|
z-index: 1;
|
|
8576
8576
|
border-color: var(--color-border-warning);
|
|
8577
8577
|
color: var(--color-text-warning) !important;
|
|
8578
8578
|
background-color: var(--color-background-warning);
|
|
8579
8579
|
}
|
|
8580
|
-
.
|
|
8580
|
+
._inputWarning_19p7c_26:hover {
|
|
8581
8581
|
border-color: var(--color-border-warning-hover) !important;
|
|
8582
8582
|
}
|
|
8583
|
-
.
|
|
8583
|
+
._inputWarning_19p7c_26:focus {
|
|
8584
8584
|
position: relative;
|
|
8585
8585
|
outline: none !important;
|
|
8586
8586
|
border-color: var(--color-border-focus) !important;
|
|
8587
8587
|
box-shadow: var(--shadow-focus);
|
|
8588
8588
|
z-index: 3;
|
|
8589
8589
|
}
|
|
8590
|
-
.
|
|
8590
|
+
._inputDisabled_19p7c_61 {
|
|
8591
8591
|
pointer-events: none;
|
|
8592
8592
|
background-color: var(--color-background-disabled);
|
|
8593
8593
|
color: var(--color-text-muted);
|
|
8594
8594
|
box-shadow: none;
|
|
8595
8595
|
}
|
|
8596
|
-
.
|
|
8596
|
+
._hideScrollbars_19p7c_67 {
|
|
8597
8597
|
/* Firefox */
|
|
8598
8598
|
scrollbar-width: none;
|
|
8599
8599
|
/* IE 10+ */
|
|
8600
8600
|
-ms-overflow-style: none;
|
|
8601
8601
|
/* Chrome, Safari and Opera */
|
|
8602
8602
|
}
|
|
8603
|
-
.
|
|
8603
|
+
._hideScrollbars_19p7c_67::-webkit-scrollbar {
|
|
8604
8604
|
display: none;
|
|
8605
8605
|
}
|
|
8606
8606
|
:root {
|
|
8607
|
+
--size-sidebar: var(--size-xl);
|
|
8607
8608
|
--color-background-sidebar: var(--color-neutral-1000);
|
|
8608
8609
|
}
|
|
8609
|
-
.
|
|
8610
|
+
._sidebar_19p7c_81 {
|
|
8610
8611
|
background-color: var(--color-background-sidebar);
|
|
8611
8612
|
color: white;
|
|
8612
8613
|
position: relative;
|
|
8613
8614
|
padding: var(--padding-y) 0;
|
|
8614
8615
|
}
|
|
8615
8616
|
@media print {
|
|
8616
|
-
.
|
|
8617
|
+
._sidebar_19p7c_81 {
|
|
8617
8618
|
display: none;
|
|
8618
8619
|
}
|
|
8619
8620
|
}
|
|
8620
|
-
.
|
|
8621
|
+
._inner_19p7c_92 {
|
|
8621
8622
|
/* Firefox */
|
|
8622
8623
|
scrollbar-width: none;
|
|
8623
8624
|
/* IE 10+ */
|
|
8624
8625
|
-ms-overflow-style: none;
|
|
8625
8626
|
/* Chrome, Safari and Opera */
|
|
8626
8627
|
}
|
|
8627
|
-
.
|
|
8628
|
+
._inner_19p7c_92::-webkit-scrollbar {
|
|
8628
8629
|
display: none;
|
|
8629
8630
|
}
|
|
8630
|
-
.
|
|
8631
|
-
.
|
|
8632
|
-
.
|
|
8631
|
+
._title_19p7c_102,
|
|
8632
|
+
._subtitle_19p7c_103,
|
|
8633
|
+
._label_19p7c_104 {
|
|
8633
8634
|
transition: opacity 0.2s, max-height 0.2s, margin 0.2s, color 0.2s;
|
|
8634
8635
|
max-height: 50px;
|
|
8635
8636
|
}
|
|
8636
|
-
.
|
|
8637
|
-
.
|
|
8638
|
-
.
|
|
8637
|
+
._collapsed_19p7c_108 ._title_19p7c_102,
|
|
8638
|
+
._collapsed_19p7c_108 ._subtitle_19p7c_103,
|
|
8639
|
+
._collapsed_19p7c_108 ._label_19p7c_104 {
|
|
8639
8640
|
opacity: 0;
|
|
8640
8641
|
max-height: 0;
|
|
8641
8642
|
margin-bottom: 0;
|
|
8642
8643
|
margin-top: 0;
|
|
8643
8644
|
}
|
|
8644
|
-
.
|
|
8645
|
+
._title_19p7c_102 {
|
|
8645
8646
|
overflow: hidden;
|
|
8646
8647
|
max-width: 100%;
|
|
8647
8648
|
text-overflow: ellipsis;
|
|
@@ -8650,7 +8651,7 @@ button:active .remirror-menu-pane-shortcut,
|
|
|
8650
8651
|
font-size: var(--font-size-lg);
|
|
8651
8652
|
padding: 0 var(--padding-x);
|
|
8652
8653
|
}
|
|
8653
|
-
.
|
|
8654
|
+
._subtitle_19p7c_103 {
|
|
8654
8655
|
margin-bottom: var(--padding-y);
|
|
8655
8656
|
white-space: nowrap;
|
|
8656
8657
|
font-size: var(--font-size-sm);
|
|
@@ -8658,11 +8659,11 @@ button:active .remirror-menu-pane-shortcut,
|
|
|
8658
8659
|
opacity: 0.6;
|
|
8659
8660
|
padding: 0 var(--padding-x);
|
|
8660
8661
|
}
|
|
8661
|
-
.
|
|
8662
|
+
._list_19p7c_133 {
|
|
8662
8663
|
margin-bottom: var(--padding-y);
|
|
8663
8664
|
margin-top: 0;
|
|
8664
8665
|
}
|
|
8665
|
-
.
|
|
8666
|
+
._item_19p7c_137 {
|
|
8666
8667
|
min-height: var(--size-lg);
|
|
8667
8668
|
transition: padding 0.2s;
|
|
8668
8669
|
font-size: var(--font-size-lg);
|
|
@@ -8672,30 +8673,30 @@ button:active .remirror-menu-pane-shortcut,
|
|
|
8672
8673
|
padding: 0 var(--padding-x);
|
|
8673
8674
|
align-items: center;
|
|
8674
8675
|
}
|
|
8675
|
-
.
|
|
8676
|
+
._collapsed_19p7c_108 ._item_19p7c_137 {
|
|
8676
8677
|
padding: 0 9px;
|
|
8677
8678
|
}
|
|
8678
|
-
.
|
|
8679
|
+
._item_19p7c_137:focus {
|
|
8679
8680
|
outline: none;
|
|
8680
8681
|
}
|
|
8681
|
-
.
|
|
8682
|
+
._item_19p7c_137::-moz-focus-inner {
|
|
8682
8683
|
border: 0;
|
|
8683
8684
|
}
|
|
8684
|
-
.
|
|
8685
|
-
.
|
|
8685
|
+
._item_19p7c_137:hover,
|
|
8686
|
+
._item_19p7c_137:focus {
|
|
8686
8687
|
color: var(--color-primary-400);
|
|
8687
8688
|
}
|
|
8688
|
-
.
|
|
8689
|
+
._item_19p7c_137:active {
|
|
8689
8690
|
color: var(--color-primary-300);
|
|
8690
8691
|
}
|
|
8691
|
-
.
|
|
8692
|
+
._item_19p7c_137._active_19p7c_163 {
|
|
8692
8693
|
color: white;
|
|
8693
8694
|
background: black;
|
|
8694
8695
|
}
|
|
8695
|
-
.
|
|
8696
|
+
._item_19p7c_137._experimental_19p7c_167 {
|
|
8696
8697
|
background: #40130b;
|
|
8697
8698
|
}
|
|
8698
|
-
.
|
|
8699
|
+
._icon_19p7c_170 {
|
|
8699
8700
|
margin-right: var(--spacing-3);
|
|
8700
8701
|
line-height: 0;
|
|
8701
8702
|
flex-shrink: 0;
|
|
@@ -8703,23 +8704,23 @@ button:active .remirror-menu-pane-shortcut,
|
|
|
8703
8704
|
opacity: 0.4;
|
|
8704
8705
|
display: block;
|
|
8705
8706
|
}
|
|
8706
|
-
.
|
|
8707
|
-
.
|
|
8707
|
+
._item_19p7c_137:hover ._icon_19p7c_170,
|
|
8708
|
+
._item_19p7c_137:focus ._icon_19p7c_170 {
|
|
8708
8709
|
opacity: 0.6;
|
|
8709
8710
|
}
|
|
8710
|
-
.
|
|
8711
|
+
._item_19p7c_137:active ._icon_19p7c_170 {
|
|
8711
8712
|
opacity: 0.8;
|
|
8712
8713
|
}
|
|
8713
|
-
.
|
|
8714
|
+
._item_19p7c_137._active_19p7c_163 ._icon_19p7c_170 {
|
|
8714
8715
|
opacity: 1;
|
|
8715
8716
|
}
|
|
8716
|
-
.
|
|
8717
|
+
._icon_19p7c_170 > * {
|
|
8717
8718
|
opacity: 1;
|
|
8718
8719
|
}
|
|
8719
|
-
.
|
|
8720
|
+
._icon_19p7c_170 > span {
|
|
8720
8721
|
display: block;
|
|
8721
8722
|
}
|
|
8722
|
-
.
|
|
8723
|
+
._label_19p7c_104 {
|
|
8723
8724
|
white-space: nowrap;
|
|
8724
8725
|
overflow: hidden;
|
|
8725
8726
|
}
|
package/dist/index.js
CHANGED
|
@@ -29024,7 +29024,7 @@ const reducer = (state, action2) => {
|
|
|
29024
29024
|
}
|
|
29025
29025
|
case "ON_CHANGE_SEARCH": {
|
|
29026
29026
|
let visibleOptions = action2.options.filter(
|
|
29027
|
-
(o) => String(o.label).toLowerCase().includes(String(action2.value).toLowerCase())
|
|
29027
|
+
(o) => (String(o.label) + (o.details ? String(o.details) : "")).toLowerCase().includes(String(action2.value).toLowerCase())
|
|
29028
29028
|
);
|
|
29029
29029
|
if (action2.createAble && action2.value !== "") {
|
|
29030
29030
|
visibleOptions = visibleOptions.concat({
|
|
@@ -57019,24 +57019,24 @@ var reactFastCompare = function isEqual3(a2, b2) {
|
|
|
57019
57019
|
throw error2;
|
|
57020
57020
|
}
|
|
57021
57021
|
};
|
|
57022
|
-
const inputInTable$3 = "
|
|
57023
|
-
const inputHover$3 = "
|
|
57024
|
-
const inputFocus$3 = "
|
|
57025
|
-
const inputError$3 = "
|
|
57026
|
-
const inputWarning$3 = "
|
|
57027
|
-
const inputDisabled$3 = "
|
|
57028
|
-
const hideScrollbars$3 = "
|
|
57029
|
-
const sidebar = "
|
|
57030
|
-
const inner = "
|
|
57031
|
-
const title$2 = "
|
|
57032
|
-
const subtitle = "
|
|
57033
|
-
const label$2 = "
|
|
57034
|
-
const collapsed = "
|
|
57035
|
-
const list = "
|
|
57036
|
-
const item$2 = "
|
|
57037
|
-
const active$2 = "
|
|
57038
|
-
const experimental = "
|
|
57039
|
-
const icon$1 = "
|
|
57022
|
+
const inputInTable$3 = "_inputInTable_19p7c_1";
|
|
57023
|
+
const inputHover$3 = "_inputHover_19p7c_13";
|
|
57024
|
+
const inputFocus$3 = "_inputFocus_19p7c_18";
|
|
57025
|
+
const inputError$3 = "_inputError_19p7c_25";
|
|
57026
|
+
const inputWarning$3 = "_inputWarning_19p7c_26";
|
|
57027
|
+
const inputDisabled$3 = "_inputDisabled_19p7c_61";
|
|
57028
|
+
const hideScrollbars$3 = "_hideScrollbars_19p7c_67";
|
|
57029
|
+
const sidebar = "_sidebar_19p7c_81";
|
|
57030
|
+
const inner = "_inner_19p7c_92";
|
|
57031
|
+
const title$2 = "_title_19p7c_102";
|
|
57032
|
+
const subtitle = "_subtitle_19p7c_103";
|
|
57033
|
+
const label$2 = "_label_19p7c_104";
|
|
57034
|
+
const collapsed = "_collapsed_19p7c_108";
|
|
57035
|
+
const list = "_list_19p7c_133";
|
|
57036
|
+
const item$2 = "_item_19p7c_137";
|
|
57037
|
+
const active$2 = "_active_19p7c_163";
|
|
57038
|
+
const experimental = "_experimental_19p7c_167";
|
|
57039
|
+
const icon$1 = "_icon_19p7c_170";
|
|
57040
57040
|
const styles$c = {
|
|
57041
57041
|
inputInTable: inputInTable$3,
|
|
57042
57042
|
inputHover: inputHover$3,
|
|
@@ -57156,7 +57156,7 @@ const SideBar = memo(
|
|
|
57156
57156
|
open: isOpen2,
|
|
57157
57157
|
top: top2,
|
|
57158
57158
|
background: "var(--color-background-sidebar)",
|
|
57159
|
-
closedWidth: "var(--size-
|
|
57159
|
+
closedWidth: "var(--size-sidebar)",
|
|
57160
57160
|
enableButton: visible,
|
|
57161
57161
|
buttonPosition: "bottom",
|
|
57162
57162
|
buttonAnimate: true,
|
|
@@ -59716,7 +59716,9 @@ const NumberInput = ({
|
|
|
59716
59716
|
const onSetValue = (evt) => {
|
|
59717
59717
|
const input2 = evt.target;
|
|
59718
59718
|
const { value: value2 } = input2;
|
|
59719
|
-
const inputValue = cleanNumStr(
|
|
59719
|
+
const inputValue = cleanNumStr(
|
|
59720
|
+
value2.replaceAll(" ", "").replaceAll("|", "")
|
|
59721
|
+
);
|
|
59720
59722
|
const { valid, errors } = validateInputValue(inputValue);
|
|
59721
59723
|
if (valid) {
|
|
59722
59724
|
onChange({
|