@oliasoft-open-source/react-ui-library 3.1.2 → 3.1.4
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 +54 -56
- package/dist/index.js +24 -24
- package/package.json +1 -1
package/dist/global.css
CHANGED
|
@@ -7632,72 +7632,72 @@ html[data-theme='dark'] {
|
|
|
7632
7632
|
/*
|
|
7633
7633
|
Z-INDEX
|
|
7634
7634
|
*/
|
|
7635
|
-
.
|
|
7635
|
+
._inputInTable_16teh_326 {
|
|
7636
7636
|
background-color: transparent;
|
|
7637
7637
|
border-radius: inherit !important;
|
|
7638
7638
|
height: 38px;
|
|
7639
7639
|
min-height: 100%;
|
|
7640
7640
|
}
|
|
7641
|
-
.
|
|
7642
|
-
.
|
|
7641
|
+
._inputInTable_16teh_326:hover,
|
|
7642
|
+
._inputInTable_16teh_326:focus {
|
|
7643
7643
|
position: relative;
|
|
7644
7644
|
}
|
|
7645
|
-
.
|
|
7645
|
+
._inputInTable_16teh_326:hover {
|
|
7646
7646
|
z-index: 2;
|
|
7647
7647
|
}
|
|
7648
|
-
.
|
|
7648
|
+
._inputInTable_16teh_326:focus {
|
|
7649
7649
|
z-index: 3;
|
|
7650
7650
|
}
|
|
7651
|
-
.
|
|
7651
|
+
._inputFocus_16teh_342 {
|
|
7652
7652
|
outline: none !important;
|
|
7653
7653
|
border: 1px solid var(--color-border-focus) !important;
|
|
7654
7654
|
box-shadow: var(--shadow-focus);
|
|
7655
7655
|
}
|
|
7656
|
-
.
|
|
7657
|
-
.
|
|
7656
|
+
._inputError_16teh_347,
|
|
7657
|
+
._inputWarning_16teh_348 {
|
|
7658
7658
|
position: relative;
|
|
7659
7659
|
}
|
|
7660
|
-
.
|
|
7660
|
+
._inputError_16teh_347 {
|
|
7661
7661
|
z-index: 2;
|
|
7662
7662
|
border-color: var(--color-border-error) !important;
|
|
7663
7663
|
color: var(--color-text-error) !important;
|
|
7664
7664
|
background-color: var(--color-background-error);
|
|
7665
7665
|
}
|
|
7666
|
-
.
|
|
7666
|
+
._inputError_16teh_347:hover {
|
|
7667
7667
|
border-color: var(--color-border-error-hover) !important;
|
|
7668
7668
|
}
|
|
7669
|
-
.
|
|
7669
|
+
._inputError_16teh_347:focus {
|
|
7670
7670
|
outline: none !important;
|
|
7671
7671
|
border: 1px solid var(--color-border-focus) !important;
|
|
7672
7672
|
box-shadow: var(--shadow-focus);
|
|
7673
7673
|
}
|
|
7674
|
-
.
|
|
7674
|
+
._inputWarning_16teh_348 {
|
|
7675
7675
|
z-index: 1;
|
|
7676
7676
|
border-color: var(--color-border-warning) !important;
|
|
7677
7677
|
color: var(--color-text-warning) !important;
|
|
7678
7678
|
background-color: var(--color-background-warning);
|
|
7679
7679
|
}
|
|
7680
|
-
.
|
|
7680
|
+
._inputWarning_16teh_348:hover {
|
|
7681
7681
|
border-color: var(--color-border-warning-hover) !important;
|
|
7682
7682
|
}
|
|
7683
|
-
.
|
|
7683
|
+
._inputWarning_16teh_348:focus {
|
|
7684
7684
|
outline: none !important;
|
|
7685
7685
|
border: 1px solid var(--color-border-focus) !important;
|
|
7686
7686
|
box-shadow: var(--shadow-focus);
|
|
7687
7687
|
}
|
|
7688
|
-
.
|
|
7688
|
+
._inputDisabled_16teh_379 {
|
|
7689
7689
|
pointer-events: none;
|
|
7690
7690
|
background-color: var(--color-background-disabled);
|
|
7691
7691
|
color: var(--color-text-muted);
|
|
7692
7692
|
}
|
|
7693
|
-
.
|
|
7693
|
+
._hideScrollbars_16teh_384 {
|
|
7694
7694
|
/* Firefox */
|
|
7695
7695
|
scrollbar-width: none;
|
|
7696
7696
|
/* IE 10+ */
|
|
7697
7697
|
-ms-overflow-style: none;
|
|
7698
7698
|
/* Chrome, Safari and Opera */
|
|
7699
7699
|
}
|
|
7700
|
-
.
|
|
7700
|
+
._hideScrollbars_16teh_384::-webkit-scrollbar {
|
|
7701
7701
|
display: none;
|
|
7702
7702
|
}
|
|
7703
7703
|
:root {
|
|
@@ -7712,39 +7712,37 @@ html[data-theme='dark'] {
|
|
|
7712
7712
|
--color-background-drawer-tab-hover: var(--color-primary-muted-700);
|
|
7713
7713
|
--color-border-drawer-tab: var(--color-border);
|
|
7714
7714
|
}
|
|
7715
|
-
.
|
|
7715
|
+
._inline_16teh_406 {
|
|
7716
7716
|
position: relative;
|
|
7717
7717
|
}
|
|
7718
|
-
.
|
|
7718
|
+
._inline_16teh_406._left_16teh_409 {
|
|
7719
7719
|
order: -1;
|
|
7720
|
-
margin-left: -1px;
|
|
7721
7720
|
}
|
|
7722
|
-
.
|
|
7721
|
+
._inline_16teh_406._right_16teh_412 {
|
|
7723
7722
|
order: 9999;
|
|
7724
|
-
margin-right: -1px;
|
|
7725
7723
|
}
|
|
7726
|
-
.
|
|
7724
|
+
._fixed_16teh_415 {
|
|
7727
7725
|
position: fixed;
|
|
7728
7726
|
top: 0;
|
|
7729
7727
|
bottom: 0;
|
|
7730
7728
|
z-index: 99;
|
|
7731
7729
|
}
|
|
7732
|
-
.
|
|
7730
|
+
._fixed_16teh_415._left_16teh_409 {
|
|
7733
7731
|
left: 0;
|
|
7734
7732
|
}
|
|
7735
|
-
.
|
|
7733
|
+
._fixed_16teh_415._right_16teh_412 {
|
|
7736
7734
|
right: 0;
|
|
7737
7735
|
}
|
|
7738
|
-
.
|
|
7736
|
+
._left_16teh_409 ._border_16teh_427 {
|
|
7739
7737
|
border-right: 1px solid var(--color-border);
|
|
7740
7738
|
}
|
|
7741
|
-
.
|
|
7739
|
+
._right_16teh_412 ._border_16teh_427 {
|
|
7742
7740
|
border-left: 1px solid var(--color-border);
|
|
7743
7741
|
}
|
|
7744
|
-
.
|
|
7742
|
+
._shadow_16teh_433 {
|
|
7745
7743
|
box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
|
|
7746
7744
|
}
|
|
7747
|
-
.
|
|
7745
|
+
._drawerContent_16teh_436 {
|
|
7748
7746
|
overflow-x: hidden;
|
|
7749
7747
|
overflow-y: auto;
|
|
7750
7748
|
max-height: 100%;
|
|
@@ -7756,40 +7754,40 @@ html[data-theme='dark'] {
|
|
|
7756
7754
|
-ms-overflow-style: none;
|
|
7757
7755
|
/* Chrome, Safari and Opera */
|
|
7758
7756
|
}
|
|
7759
|
-
.
|
|
7757
|
+
._isResizing_16teh_448 ._drawerContent_16teh_436 {
|
|
7760
7758
|
transition: none;
|
|
7761
7759
|
}
|
|
7762
7760
|
@media print {
|
|
7763
|
-
.
|
|
7761
|
+
._drawerContent_16teh_436 {
|
|
7764
7762
|
background: transparent !important;
|
|
7765
7763
|
}
|
|
7766
7764
|
}
|
|
7767
|
-
.
|
|
7765
|
+
._drawerContent_16teh_436::-webkit-scrollbar {
|
|
7768
7766
|
display: none;
|
|
7769
7767
|
}
|
|
7770
|
-
.
|
|
7768
|
+
._toggleButton_16teh_459 {
|
|
7771
7769
|
transition: transform 0.4s;
|
|
7772
7770
|
display: inline-block;
|
|
7773
7771
|
transform: rotate(180deg);
|
|
7774
7772
|
position: absolute;
|
|
7775
7773
|
z-index: 102;
|
|
7776
7774
|
}
|
|
7777
|
-
.
|
|
7775
|
+
._left_16teh_409 ._toggleButton_16teh_459 {
|
|
7778
7776
|
right: -19px;
|
|
7779
7777
|
}
|
|
7780
|
-
.
|
|
7778
|
+
._right_16teh_412 ._toggleButton_16teh_459 {
|
|
7781
7779
|
left: -19px;
|
|
7782
7780
|
}
|
|
7783
|
-
.
|
|
7781
|
+
._toggleButton_16teh_459._top_16teh_472 {
|
|
7784
7782
|
top: 20px;
|
|
7785
7783
|
}
|
|
7786
|
-
.
|
|
7784
|
+
._toggleButton_16teh_459._bottom_16teh_475 {
|
|
7787
7785
|
bottom: 20px;
|
|
7788
7786
|
}
|
|
7789
|
-
.
|
|
7787
|
+
._toggleButton_16teh_459._toggleButtonOpen_16teh_478 {
|
|
7790
7788
|
transform: rotate(0deg);
|
|
7791
7789
|
}
|
|
7792
|
-
.
|
|
7790
|
+
._tabs_16teh_481 {
|
|
7793
7791
|
position: absolute;
|
|
7794
7792
|
top: 0;
|
|
7795
7793
|
bottom: 0;
|
|
@@ -7799,13 +7797,13 @@ html[data-theme='dark'] {
|
|
|
7799
7797
|
border-left: 1px solid var(--color-border);
|
|
7800
7798
|
border-right: 1px solid var(--color-border);
|
|
7801
7799
|
}
|
|
7802
|
-
.
|
|
7800
|
+
._left_16teh_409 ._tabs_16teh_481 {
|
|
7803
7801
|
right: 0;
|
|
7804
7802
|
}
|
|
7805
|
-
.
|
|
7803
|
+
._right_16teh_412 ._tabs_16teh_481 {
|
|
7806
7804
|
left: 0;
|
|
7807
7805
|
}
|
|
7808
|
-
.
|
|
7806
|
+
._tabs_16teh_481 ._tab_16teh_481 {
|
|
7809
7807
|
height: 38px;
|
|
7810
7808
|
width: 38px;
|
|
7811
7809
|
display: flex;
|
|
@@ -7816,39 +7814,39 @@ html[data-theme='dark'] {
|
|
|
7816
7814
|
transition: color 0.3s, background-color 0.3s;
|
|
7817
7815
|
border: 1px solid var(--color-border-drawer-tab);
|
|
7818
7816
|
}
|
|
7819
|
-
.
|
|
7817
|
+
._left_16teh_409 ._tabs_16teh_481 ._tab_16teh_481 {
|
|
7820
7818
|
border-top-left-radius: 0;
|
|
7821
7819
|
border-bottom-left-radius: 0;
|
|
7822
7820
|
}
|
|
7823
|
-
.
|
|
7821
|
+
._left_16teh_409 ._tabs_16teh_481 ._tab_16teh_481._active_16teh_512 {
|
|
7824
7822
|
border-left-color: transparent;
|
|
7825
7823
|
}
|
|
7826
|
-
.
|
|
7824
|
+
._right_16teh_412 ._tabs_16teh_481 ._tab_16teh_481 {
|
|
7827
7825
|
border-top-right-radius: 0;
|
|
7828
7826
|
border-bottom-right-radius: 0;
|
|
7829
7827
|
}
|
|
7830
|
-
.
|
|
7828
|
+
._right_16teh_412 ._tabs_16teh_481 ._tab_16teh_481._active_16teh_512 {
|
|
7831
7829
|
border-right-color: transparent;
|
|
7832
7830
|
}
|
|
7833
|
-
.
|
|
7831
|
+
._tabs_16teh_481 ._tab_16teh_481:not(._active_16teh_512) {
|
|
7834
7832
|
color: var(--color-text-primary);
|
|
7835
7833
|
background-color: var(--color-background-drawer-tab) !important;
|
|
7836
7834
|
}
|
|
7837
|
-
.
|
|
7835
|
+
._tabs_16teh_481 ._tab_16teh_481:not(._active_16teh_512):hover {
|
|
7838
7836
|
color: var(--color-text);
|
|
7839
7837
|
background-color: var(--color-background-drawer-tab-hover) !important;
|
|
7840
7838
|
}
|
|
7841
|
-
.
|
|
7839
|
+
._tabs_16teh_481 ._tab_16teh_481._active_16teh_512 {
|
|
7842
7840
|
color: var(--color-text);
|
|
7843
7841
|
border-color: var(--color-border);
|
|
7844
7842
|
}
|
|
7845
|
-
.
|
|
7843
|
+
._left_16teh_409 ._tabsContent_16teh_534 {
|
|
7846
7844
|
padding-right: 36px;
|
|
7847
7845
|
}
|
|
7848
|
-
.
|
|
7846
|
+
._right_16teh_412 ._tabsContent_16teh_534 {
|
|
7849
7847
|
padding-left: 36px;
|
|
7850
7848
|
}
|
|
7851
|
-
.
|
|
7849
|
+
._resizeHandle_16teh_540 {
|
|
7852
7850
|
position: absolute;
|
|
7853
7851
|
top: 0;
|
|
7854
7852
|
bottom: 0;
|
|
@@ -7861,18 +7859,18 @@ html[data-theme='dark'] {
|
|
|
7861
7859
|
font-size: 12px;
|
|
7862
7860
|
transition: all 0.2s;
|
|
7863
7861
|
}
|
|
7864
|
-
.
|
|
7862
|
+
._resizeHandle_16teh_540:hover {
|
|
7865
7863
|
background: rgba(235, 100, 41, 0.15);
|
|
7866
7864
|
color: var(--color-text-primary);
|
|
7867
7865
|
}
|
|
7868
|
-
.
|
|
7866
|
+
._resizeHandle_16teh_540:active {
|
|
7869
7867
|
background: var(--color-text-primary);
|
|
7870
7868
|
color: white;
|
|
7871
7869
|
}
|
|
7872
|
-
.
|
|
7870
|
+
._left_16teh_409 ._resizeHandle_16teh_540 {
|
|
7873
7871
|
right: 0;
|
|
7874
7872
|
}
|
|
7875
|
-
.
|
|
7873
|
+
._right_16teh_412 ._resizeHandle_16teh_540 {
|
|
7876
7874
|
left: 0;
|
|
7877
7875
|
}
|
|
7878
7876
|
/*
|
package/dist/index.js
CHANGED
|
@@ -12734,29 +12734,29 @@ const dialogShape = propTypes$1.exports.shape({
|
|
|
12734
12734
|
Dialog.propTypes = {
|
|
12735
12735
|
dialog: dialogShape.isRequired
|
|
12736
12736
|
};
|
|
12737
|
-
const inputInTable$9 = "
|
|
12738
|
-
const inputFocus$9 = "
|
|
12739
|
-
const inputError$9 = "
|
|
12740
|
-
const inputWarning$9 = "
|
|
12741
|
-
const inputDisabled$9 = "
|
|
12742
|
-
const hideScrollbars$9 = "
|
|
12743
|
-
const inline$1 = "
|
|
12744
|
-
const left$2 = "
|
|
12745
|
-
const right$6 = "
|
|
12746
|
-
const fixed$1 = "
|
|
12747
|
-
const border = "
|
|
12748
|
-
const shadow = "
|
|
12749
|
-
const drawerContent = "
|
|
12750
|
-
const isResizing = "
|
|
12751
|
-
const toggleButton = "
|
|
12752
|
-
const top = "
|
|
12753
|
-
const bottom = "
|
|
12754
|
-
const toggleButtonOpen = "
|
|
12755
|
-
const tabs$1 = "
|
|
12756
|
-
const tab$1 = "
|
|
12757
|
-
const active$4 = "
|
|
12758
|
-
const tabsContent = "
|
|
12759
|
-
const resizeHandle = "
|
|
12737
|
+
const inputInTable$9 = "_inputInTable_16teh_326";
|
|
12738
|
+
const inputFocus$9 = "_inputFocus_16teh_342";
|
|
12739
|
+
const inputError$9 = "_inputError_16teh_347";
|
|
12740
|
+
const inputWarning$9 = "_inputWarning_16teh_348";
|
|
12741
|
+
const inputDisabled$9 = "_inputDisabled_16teh_379";
|
|
12742
|
+
const hideScrollbars$9 = "_hideScrollbars_16teh_384";
|
|
12743
|
+
const inline$1 = "_inline_16teh_406";
|
|
12744
|
+
const left$2 = "_left_16teh_409";
|
|
12745
|
+
const right$6 = "_right_16teh_412";
|
|
12746
|
+
const fixed$1 = "_fixed_16teh_415";
|
|
12747
|
+
const border = "_border_16teh_427";
|
|
12748
|
+
const shadow = "_shadow_16teh_433";
|
|
12749
|
+
const drawerContent = "_drawerContent_16teh_436";
|
|
12750
|
+
const isResizing = "_isResizing_16teh_448";
|
|
12751
|
+
const toggleButton = "_toggleButton_16teh_459";
|
|
12752
|
+
const top = "_top_16teh_472";
|
|
12753
|
+
const bottom = "_bottom_16teh_475";
|
|
12754
|
+
const toggleButtonOpen = "_toggleButtonOpen_16teh_478";
|
|
12755
|
+
const tabs$1 = "_tabs_16teh_481";
|
|
12756
|
+
const tab$1 = "_tab_16teh_481";
|
|
12757
|
+
const active$4 = "_active_16teh_512";
|
|
12758
|
+
const tabsContent = "_tabsContent_16teh_534";
|
|
12759
|
+
const resizeHandle = "_resizeHandle_16teh_540";
|
|
12760
12760
|
const styles$z = {
|
|
12761
12761
|
inputInTable: inputInTable$9,
|
|
12762
12762
|
inputFocus: inputFocus$9,
|
|
@@ -14945,7 +14945,7 @@ const Drawer = ({
|
|
|
14945
14945
|
const [open, setOpen] = isStandardButton || tabs2 ? useState(openProp) : [openProp, null];
|
|
14946
14946
|
const [activeTab, setActiveTab] = useState(open ? defaultTabIndex : null);
|
|
14947
14947
|
const openWidth = Array.isArray(width) ? width[activeTab] : width;
|
|
14948
|
-
const TABS_WIDTH =
|
|
14948
|
+
const TABS_WIDTH = 37;
|
|
14949
14949
|
const currentWidth = open ? openWidth : tabs2 ? TABS_WIDTH : closedWidth;
|
|
14950
14950
|
const handleTabClick = (index2) => {
|
|
14951
14951
|
if (activeTab === index2) {
|