@oliasoft-open-source/react-ui-library 4.3.0-beta-2 → 4.3.0
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/404.html +1 -0
- package/dist/assets/{index-0d78a198.css → index-2b7aaa8d.css} +65 -64
- package/dist/assets/{index-26f804a8.js → index-326366e3.js} +37 -37
- package/dist/global.css +65 -64
- package/dist/index.d.ts +5 -56
- package/dist/index.html +1 -1
- package/dist/index.js +79 -240
- package/dist/index.js.map +1 -1
- package/dist/storybook/assets/Color-6VNJS4EI-811ca6f0.js +1 -0
- package/dist/storybook/assets/DocsRenderer-NNNQARDV-13015b39.js +1 -0
- package/dist/storybook/assets/WithTooltip-4HIR6TLV-fe3aa2ab.js +1 -0
- package/dist/storybook/assets/{accordion-1b587708.js → accordion-168fa7c5.js} +1 -1
- package/dist/storybook/assets/accordion.stories-0f8af16e.js +170 -0
- package/dist/storybook/assets/{actions-83a2a04e.js → actions-2d4e1c8e.js} +1 -1
- package/dist/storybook/assets/{actions.stories-a38cd26e.js → actions.stories-81a7cb7a.js} +1 -1
- package/dist/storybook/assets/{afe.stories-e25ea064.js → afe.stories-41970a5c.js} +2 -2
- package/dist/storybook/assets/{badge.stories-1cbf35f9.js → badge.stories-5ce7957f.js} +1 -1
- package/dist/storybook/assets/{blowout.stories-af7f9432.js → blowout.stories-ee7f932b.js} +1 -1
- package/dist/storybook/assets/breadcrumb.stories-e4334a75.js +1 -0
- package/dist/storybook/assets/{button-050c998a.js → button-74c97e4a.js} +1 -1
- package/dist/storybook/assets/{button-group-0176fca3.js → button-group-fa895d0c.js} +1 -1
- package/dist/storybook/assets/{button-group.stories-7659a587.js → button-group.stories-22f072b7.js} +1 -1
- package/dist/storybook/assets/{button.stories-5f73ddef.js → button.stories-9b954335.js} +1 -1
- package/dist/storybook/assets/buttons-and-links-236ef744.js +14 -0
- package/dist/storybook/assets/{card.stories-0437a4e2.js → card.stories-537a1772.js} +1 -1
- package/dist/storybook/assets/casing-loads.stories-d3994990.js +209 -0
- package/dist/storybook/assets/{cell.stories-0ae4bf08.js → cell.stories-524a7418.js} +2 -2
- package/dist/storybook/assets/{check-box-b38490e5.js → check-box-e21258d5.js} +1 -1
- package/dist/storybook/assets/{check-box.stories-9bf1c260.js → check-box.stories-5f7d06e0.js} +1 -1
- package/dist/storybook/assets/{chunk-HLWAVYOI-64001074.js → chunk-HLWAVYOI-f143d329.js} +1 -1
- package/dist/storybook/assets/color-915dd9da.js +25 -0
- package/dist/storybook/assets/{column.stories-d5ca2c42.js → column.stories-ae7588c5.js} +1 -1
- package/dist/storybook/assets/dialog-8e840c50.css +1 -0
- package/dist/storybook/assets/dialog-cd58dd09.js +1 -0
- package/dist/storybook/assets/{drawer-308b0a03.js → drawer-7f450988.js} +1 -1
- package/dist/storybook/assets/{drawer.stories-724ec941.js → drawer.stories-948b5e8b.js} +2 -2
- package/dist/storybook/assets/empty.stories-e0e3ac78.js +1 -0
- package/dist/storybook/assets/{field-248df38c.js → field-a094cd72.js} +1 -1
- package/dist/storybook/assets/{field.stories-60d1a82f.js → field.stories-f1318053.js} +1 -1
- package/dist/storybook/assets/file-input.stories-d855942a.js +66 -0
- package/dist/storybook/assets/{flex.stories-6a278b40.js → flex.stories-09e9c602.js} +1 -1
- package/dist/storybook/assets/footer.stories-57f07ea2.js +3 -0
- package/dist/storybook/assets/form.stories-d6c8da7e.js +49 -0
- package/dist/storybook/assets/formation.stories-5eeaa826.js +74 -0
- package/dist/storybook/assets/{formatter-SWP5E3XI-598bdf16.js → formatter-SWP5E3XI-a0191e1f.js} +2 -2
- package/dist/storybook/assets/{heading-39e599c8.js → heading-d29eb744.js} +1 -1
- package/dist/storybook/assets/{heading.stories-6ff7f5ed.js → heading.stories-9689bddc.js} +1 -1
- package/dist/storybook/assets/{help-icon-c0abd380.js → help-icon-d4189b1b.js} +1 -1
- package/dist/storybook/assets/{help-icon.stories-a30b7058.js → help-icon.stories-15d1620d.js} +1 -1
- package/dist/storybook/assets/icon-e9cbb4d7.js +8 -0
- package/dist/storybook/assets/{icon.stories-466d158f.js → icon.stories-8dae69e1.js} +1 -1
- package/dist/storybook/assets/iframe-e6f0bd3c.js +1 -0
- package/dist/storybook/assets/{index-85e6b336.js → index-58f3d19c.js} +4 -4
- package/dist/storybook/assets/{index.es-37e2ce0d.js → index.es-85cc7dfc.js} +4 -4
- package/dist/storybook/assets/inheritsLoose-d4851ab8.js +1 -0
- package/dist/storybook/assets/{input-05f21b51.js → input-d68625a5.js} +1 -1
- package/dist/storybook/assets/{input-group.stories-602e1e93.js → input-group.stories-a2a3400e.js} +2 -2
- package/dist/storybook/assets/{input-validation-83a841e7.js → input-validation-566bbbb7.js} +2 -2
- package/dist/storybook/assets/{input.stories-bf58ba7c.js → input.stories-164d93ab.js} +1 -1
- package/dist/storybook/assets/{inputs-679d81e4.js → inputs-230d0995.js} +14 -14
- package/dist/storybook/assets/{label-e6d15b59.js → label-13d490a3.js} +1 -1
- package/dist/storybook/assets/{label.stories-1c98204a.js → label.stories-427ba162.js} +1 -1
- package/dist/storybook/assets/layout-forms-36d75e93.js +16 -0
- package/dist/storybook/assets/{layout-general-cab7e55d.js → layout-general-af624016.js} +2 -2
- package/dist/storybook/assets/{list-d40713ca.js → list-31b815b8.js} +1 -1
- package/dist/storybook/assets/list-heading-58edcddc.css +1 -0
- package/dist/storybook/assets/list-heading-5a293d8b.js +1 -0
- package/dist/storybook/assets/{list.stories-5daa007f.js → list.stories-4850aa29.js} +3 -3
- package/dist/storybook/assets/{list.stories-data-ba40864f.js → list.stories-data-94f7c623.js} +1 -1
- package/dist/storybook/assets/{loader.stories-4e8e8df7.js → loader.stories-6107832a.js} +1 -1
- package/dist/storybook/assets/{menu.stories-8d724757.js → menu.stories-927adf3d.js} +1 -1
- package/dist/storybook/assets/{message-f4352d69.js → message-7e627e60.js} +1 -1
- package/dist/storybook/assets/{message.stories-bb7952c5.js → message.stories-f41a0c22.js} +1 -1
- package/dist/storybook/assets/{modal.stories-24646454.js → modal.stories-0e068cc1.js} +2 -2
- package/dist/storybook/assets/{number-input-cfbd9eb7.js → number-input-7d49b0b3.js} +1 -1
- package/dist/storybook/assets/{number-input.stories-8137782e.js → number-input.stories-02528124.js} +2 -2
- package/dist/storybook/assets/option-dropdown.stories-5030bdb8.js +21 -0
- package/dist/storybook/assets/{padding-and-spacing-89974d3f.js → padding-and-spacing-37bd345b.js} +2 -2
- package/dist/storybook/assets/page.stories-7cb68fed.js +57 -0
- package/dist/storybook/assets/{pagination-443065a8.js → pagination-8aade846.js} +1 -1
- package/dist/storybook/assets/{pagination.stories-985230f7.js → pagination.stories-423b4938.js} +2 -2
- package/dist/storybook/assets/pop-confirm.stories-81b30901.js +7 -0
- package/dist/storybook/assets/{popover-c1234faa.js → popover-06e375a5.js} +1 -1
- package/dist/storybook/assets/popover.stories-f651a81c.js +1 -0
- package/dist/storybook/assets/preview-564d3c1d.js +1 -0
- package/dist/storybook/assets/{preview-a99e63ce.js → preview-b5fa6b4e.js} +3 -3
- package/dist/storybook/assets/{global-aa71ac9c.css → preview-d47a2f40.css} +1 -1
- package/dist/storybook/assets/projects.stories-222ad869.js +47 -0
- package/dist/storybook/assets/{radio-button-d69b72e4.js → radio-button-135a9615.js} +1 -1
- package/dist/storybook/assets/{radio-button.stories-6ff0dc9b.js → radio-button.stories-0e8377ea.js} +1 -1
- package/dist/storybook/assets/{reservoirs.stories-80ad2f26.js → reservoirs.stories-8e7035a5.js} +2 -2
- package/dist/storybook/assets/{rich-text-input-a0f4a598.js → rich-text-input.stories-661f34f1.js} +127 -52
- package/dist/storybook/assets/{row.stories-c12a3e52.js → row.stories-d5b6b4a6.js} +2 -2
- package/dist/storybook/assets/select-205cd538.js +1 -0
- package/dist/storybook/assets/{select.stories-6651d3f2.js → select.stories-60f055e6.js} +2 -2
- package/dist/storybook/assets/{side-bar-10cceacd.js → side-bar-88e8cf41.js} +1 -1
- package/dist/storybook/assets/{side-bar.stories-02211e0d.js → side-bar.stories-2c06f8a6.js} +1 -1
- package/dist/storybook/assets/{site.stories-284e27be.js → site.stories-8b3718ce.js} +2 -2
- package/dist/storybook/assets/slider-160e2152.js +7 -0
- package/dist/storybook/assets/{slider.stories-a55df653.js → slider.stories-79ab0e97.js} +2 -2
- package/dist/storybook/assets/{spacer.stories-a2798d47.js → spacer.stories-38071af8.js} +1 -1
- package/dist/storybook/assets/syntaxhighlighter-NMPM6SWI-9f2334eb.js +1 -0
- package/dist/storybook/assets/{table-134da40b.js → table-da6f6045.js} +1 -1
- package/dist/storybook/assets/{table.stories-8dd2a568.js → table.stories-67a3023a.js} +2 -2
- package/dist/storybook/assets/{table.stories-data-ddbcf8c3.js → table.stories-data-8a836b92.js} +1 -1
- package/dist/storybook/assets/text-link.stories-c1227c6f.js +1 -0
- package/dist/storybook/assets/{textarea-820c62b6.js → textarea-d48efea2.js} +1 -1
- package/dist/storybook/assets/{textarea.stories-aeaa9aa0.js → textarea.stories-89c8afd7.js} +1 -1
- package/dist/storybook/assets/{title.stories-2ba6aa87.js → title.stories-5b4a226c.js} +2 -2
- package/dist/storybook/assets/{toaster-55ac121d.js → toaster-541ce85b.js} +1 -1
- package/dist/storybook/assets/{toaster.stories-28d11f39.js → toaster.stories-5e4d95b1.js} +1 -1
- package/dist/storybook/assets/toggle-01690c44.js +1 -0
- package/dist/storybook/assets/toggle.stories-bc686ae1.js +117 -0
- package/dist/storybook/assets/{tooltip-856042a7.js → tooltip-23e84186.js} +1 -1
- package/dist/storybook/assets/{tooltip.stories-666868d0.js → tooltip.stories-e8ba5fff.js} +1 -1
- package/dist/storybook/assets/{tooltip.test-case.stories-4c1ea273.js → tooltip.test-case.stories-9817078b.js} +1 -1
- package/dist/storybook/assets/{top-bar-38689fe2.js → top-bar-a84b9365.js} +1 -1
- package/dist/storybook/assets/{top-bar.stories-3d9a6da1.js → top-bar.stories-e93330f0.js} +1 -1
- package/dist/storybook/assets/{top-bar.testcase.stories-dc051455.js → top-bar.testcase.stories-3a824a14.js} +1 -1
- package/dist/storybook/assets/tree.stories-3422a0bc.js +128 -0
- package/dist/storybook/assets/unit-input.stories-65984064.js +273 -0
- package/dist/storybook/iframe.html +1 -1
- package/dist/storybook/index.json +1 -1
- package/dist/storybook/project.json +1 -1
- package/dist/storybook/stories.json +1 -1
- package/package.json +3 -3
- package/dist/storybook/assets/Color-6VNJS4EI-e16af034.js +0 -1
- package/dist/storybook/assets/DocsRenderer-NNNQARDV-eaf66766.js +0 -1
- package/dist/storybook/assets/WithTooltip-4HIR6TLV-86dbd99d.js +0 -1
- package/dist/storybook/assets/accordion-with-default-toggle-775c8135.js +0 -1
- package/dist/storybook/assets/accordion.stories-a9cecbe0.js +0 -170
- package/dist/storybook/assets/breadcrumb-f8742fbd.js +0 -1
- package/dist/storybook/assets/breadcrumb.stories-b5582cfb.js +0 -1
- package/dist/storybook/assets/buttons-and-links-153efc05.js +0 -14
- package/dist/storybook/assets/casing-loads.stories-90bc0b91.js +0 -209
- package/dist/storybook/assets/color-e82f5009.js +0 -25
- package/dist/storybook/assets/empty-2d83d50b.js +0 -1
- package/dist/storybook/assets/empty.stories-1871df42.js +0 -1
- package/dist/storybook/assets/extends-98964cd2.js +0 -1
- package/dist/storybook/assets/file-input-31a9b5bf.js +0 -1
- package/dist/storybook/assets/file-input.stories-dbedc9fc.js +0 -55
- package/dist/storybook/assets/footer.stories-50a2e3db.js +0 -3
- package/dist/storybook/assets/form.stories-2184d699.js +0 -49
- package/dist/storybook/assets/formation.stories-e27935eb.js +0 -74
- package/dist/storybook/assets/icon-8acf9925.js +0 -8
- package/dist/storybook/assets/iframe-2ec6fd1b.js +0 -1
- package/dist/storybook/assets/inheritsLoose-c82a83d4.js +0 -1
- package/dist/storybook/assets/layout-forms-9382a8d3.js +0 -16
- package/dist/storybook/assets/meta-content-c2771b33.js +0 -1
- package/dist/storybook/assets/meta-content-d7e578fa.css +0 -1
- package/dist/storybook/assets/modal-90ebced9.js +0 -1
- package/dist/storybook/assets/modal-f1e8e468.css +0 -1
- package/dist/storybook/assets/option-dropdown-14e7d023.js +0 -1
- package/dist/storybook/assets/option-dropdown.stories-f251610f.js +0 -21
- package/dist/storybook/assets/page.stories-7a6f330e.js +0 -57
- package/dist/storybook/assets/pop-confirm-ce206de8.js +0 -1
- package/dist/storybook/assets/pop-confirm.stories-5772f622.js +0 -7
- package/dist/storybook/assets/popover.stories-7542a367.js +0 -1
- package/dist/storybook/assets/preview-65e4021c.js +0 -1
- package/dist/storybook/assets/preview-a5b25924.css +0 -1
- package/dist/storybook/assets/print-header-bd013690.js +0 -1
- package/dist/storybook/assets/projects.stories-f8294ed5.js +0 -47
- package/dist/storybook/assets/rich-text-input.stories-988bbe20.js +0 -76
- package/dist/storybook/assets/select-d4593fc0.js +0 -1
- package/dist/storybook/assets/slider-5d5442fe.js +0 -7
- package/dist/storybook/assets/syntaxhighlighter-NMPM6SWI-007a6982.js +0 -1
- package/dist/storybook/assets/text-link-f4589768.js +0 -1
- package/dist/storybook/assets/text-link.stories-6b7c8329.js +0 -1
- package/dist/storybook/assets/toggle-6f4d5797.js +0 -1
- package/dist/storybook/assets/toggle.stories-a289f544.js +0 -108
- package/dist/storybook/assets/tree-a2bbc2e4.js +0 -6
- package/dist/storybook/assets/tree.stories-0e132447.js +0 -123
- package/dist/storybook/assets/unit-input-c16535f7.js +0 -1
- package/dist/storybook/assets/unit-input.stories-0f7705d6.js +0 -273
- package/dist/storybook/assets/unit-table.stories-71ef347c.js +0 -229
- /package/dist/storybook/assets/{accordion-with-default-toggle-e92bccf3.css → accordion.stories-e92bccf3.css} +0 -0
- /package/dist/storybook/assets/{breadcrumb-a644544e.css → breadcrumb.stories-a644544e.css} +0 -0
- /package/dist/storybook/assets/{empty-9914c767.css → empty.stories-9914c767.css} +0 -0
- /package/dist/storybook/assets/{file-input-f40408e6.css → file-input.stories-f40408e6.css} +0 -0
- /package/dist/storybook/assets/{option-dropdown-ddc96b15.css → option-dropdown.stories-ddc96b15.css} +0 -0
- /package/dist/storybook/assets/{print-header-dd8c1b35.css → page.stories-dd8c1b35.css} +0 -0
- /package/dist/storybook/assets/{pop-confirm-c9faec6b.css → pop-confirm.stories-c9faec6b.css} +0 -0
- /package/dist/storybook/assets/{rich-text-input-023a1c99.css → rich-text-input.stories-023a1c99.css} +0 -0
- /package/dist/storybook/assets/{tree-3406c5f6.css → tree.stories-3406c5f6.css} +0 -0
- /package/dist/storybook/assets/{unit-input-c251e2c8.css → unit-input.stories-c251e2c8.css} +0 -0
package/dist/global.css
CHANGED
|
@@ -2745,123 +2745,123 @@ html[data-theme='dark'] {
|
|
|
2745
2745
|
border-top-left-radius: 0 !important;
|
|
2746
2746
|
border-bottom-left-radius: 0 !important;
|
|
2747
2747
|
}
|
|
2748
|
-
.
|
|
2748
|
+
._inputInTable_1qlur_1 {
|
|
2749
2749
|
background-color: transparent;
|
|
2750
2750
|
border-radius: inherit !important;
|
|
2751
2751
|
height: var(--size);
|
|
2752
2752
|
min-height: 100%;
|
|
2753
2753
|
}
|
|
2754
|
-
.
|
|
2754
|
+
._inputInTable_1qlur_1:not(:hover) {
|
|
2755
2755
|
border-color: transparent;
|
|
2756
2756
|
}
|
|
2757
|
-
.
|
|
2757
|
+
._inputInTable_1qlur_1:not(:focus) {
|
|
2758
2758
|
box-shadow: none;
|
|
2759
2759
|
}
|
|
2760
|
-
.
|
|
2760
|
+
._inputHover_1qlur_13 {
|
|
2761
2761
|
position: relative;
|
|
2762
2762
|
border-color: var(--color-border-hover);
|
|
2763
2763
|
z-index: 2;
|
|
2764
2764
|
}
|
|
2765
|
-
.
|
|
2765
|
+
._inputFocus_1qlur_18 {
|
|
2766
2766
|
position: relative;
|
|
2767
2767
|
outline: none !important;
|
|
2768
2768
|
border-color: var(--color-border-focus) !important;
|
|
2769
2769
|
box-shadow: var(--shadow-focus);
|
|
2770
2770
|
z-index: 3;
|
|
2771
2771
|
}
|
|
2772
|
-
.
|
|
2773
|
-
.
|
|
2772
|
+
._inputError_1qlur_25,
|
|
2773
|
+
._inputWarning_1qlur_26 {
|
|
2774
2774
|
position: relative;
|
|
2775
2775
|
}
|
|
2776
|
-
.
|
|
2776
|
+
._inputError_1qlur_25 {
|
|
2777
2777
|
z-index: 2;
|
|
2778
2778
|
border-color: var(--color-border-error);
|
|
2779
2779
|
color: var(--color-text-error) !important;
|
|
2780
2780
|
background-color: var(--color-background-error-muted);
|
|
2781
2781
|
}
|
|
2782
|
-
.
|
|
2782
|
+
._inputError_1qlur_25:hover {
|
|
2783
2783
|
border-color: var(--color-border-error-hover) !important;
|
|
2784
2784
|
}
|
|
2785
|
-
.
|
|
2785
|
+
._inputError_1qlur_25:focus {
|
|
2786
2786
|
position: relative;
|
|
2787
2787
|
outline: none !important;
|
|
2788
2788
|
border-color: var(--color-border-focus) !important;
|
|
2789
2789
|
box-shadow: var(--shadow-focus);
|
|
2790
2790
|
z-index: 3;
|
|
2791
2791
|
}
|
|
2792
|
-
.
|
|
2792
|
+
._inputWarning_1qlur_26 {
|
|
2793
2793
|
z-index: 1;
|
|
2794
2794
|
border-color: var(--color-border-warning);
|
|
2795
2795
|
color: var(--color-text-warning) !important;
|
|
2796
2796
|
background-color: var(--color-background-warning-muted);
|
|
2797
2797
|
}
|
|
2798
|
-
.
|
|
2798
|
+
._inputWarning_1qlur_26:hover {
|
|
2799
2799
|
border-color: var(--color-border-warning-hover) !important;
|
|
2800
2800
|
}
|
|
2801
|
-
.
|
|
2801
|
+
._inputWarning_1qlur_26:focus {
|
|
2802
2802
|
position: relative;
|
|
2803
2803
|
outline: none !important;
|
|
2804
2804
|
border-color: var(--color-border-focus) !important;
|
|
2805
2805
|
box-shadow: var(--shadow-focus);
|
|
2806
2806
|
z-index: 3;
|
|
2807
2807
|
}
|
|
2808
|
-
.
|
|
2808
|
+
._inputDisabled_1qlur_61 {
|
|
2809
2809
|
pointer-events: none;
|
|
2810
2810
|
background-color: var(--color-background-disabled);
|
|
2811
2811
|
color: var(--color-text-muted);
|
|
2812
2812
|
box-shadow: none;
|
|
2813
2813
|
}
|
|
2814
|
-
.
|
|
2814
|
+
._hideScrollbars_1qlur_67 {
|
|
2815
2815
|
/* Firefox */
|
|
2816
2816
|
scrollbar-width: none;
|
|
2817
2817
|
/* IE 10+ */
|
|
2818
2818
|
-ms-overflow-style: none;
|
|
2819
2819
|
/* Chrome, Safari and Opera */
|
|
2820
2820
|
}
|
|
2821
|
-
.
|
|
2821
|
+
._hideScrollbars_1qlur_67::-webkit-scrollbar {
|
|
2822
2822
|
display: none;
|
|
2823
2823
|
}
|
|
2824
|
-
.
|
|
2825
|
-
.
|
|
2824
|
+
._header_1qlur_77 ._headerTitle_1qlur_77,
|
|
2825
|
+
._heading_1qlur_78 ._itemHeader_1qlur_78 {
|
|
2826
2826
|
transition: opacity 0.3s;
|
|
2827
2827
|
}
|
|
2828
|
-
.
|
|
2829
|
-
.
|
|
2828
|
+
._narrow_1qlur_81 ._header_1qlur_77 ._headerTitle_1qlur_77,
|
|
2829
|
+
._narrow_1qlur_81 ._heading_1qlur_78 ._itemHeader_1qlur_78 {
|
|
2830
2830
|
opacity: 0;
|
|
2831
2831
|
}
|
|
2832
|
-
.
|
|
2832
|
+
._stickyHeader_1qlur_85 {
|
|
2833
2833
|
position: sticky;
|
|
2834
2834
|
top: 0;
|
|
2835
2835
|
background-color: var(--color-background);
|
|
2836
2836
|
z-index: 10;
|
|
2837
2837
|
}
|
|
2838
|
-
.
|
|
2838
|
+
._itemHeader_1qlur_78 {
|
|
2839
2839
|
padding: var(--padding-xs) var(--padding);
|
|
2840
2840
|
display: flex;
|
|
2841
2841
|
align-items: flex-start;
|
|
2842
2842
|
}
|
|
2843
|
-
.
|
|
2843
|
+
._itemHeader_1qlur_78 ._title_1qlur_96 {
|
|
2844
2844
|
margin: 0;
|
|
2845
2845
|
padding: 0;
|
|
2846
2846
|
flex-grow: 1;
|
|
2847
2847
|
min-width: 0;
|
|
2848
2848
|
}
|
|
2849
|
-
.
|
|
2849
|
+
._itemHeader_1qlur_78 ._name_1qlur_102 {
|
|
2850
2850
|
font-weight: 400;
|
|
2851
2851
|
}
|
|
2852
|
-
.
|
|
2852
|
+
._itemHeader_1qlur_78 ._iconTooltipMargin_1qlur_105 {
|
|
2853
2853
|
margin-left: var(--padding-xs);
|
|
2854
2854
|
}
|
|
2855
|
-
.
|
|
2855
|
+
._itemHeader_1qlur_78 ._bold_1qlur_108 {
|
|
2856
2856
|
font-weight: bold;
|
|
2857
2857
|
}
|
|
2858
|
-
.
|
|
2858
|
+
._header_1qlur_77 {
|
|
2859
2859
|
padding: var(--padding);
|
|
2860
2860
|
display: flex;
|
|
2861
2861
|
align-items: center;
|
|
2862
2862
|
border-bottom: 1px solid var(--color-border);
|
|
2863
2863
|
}
|
|
2864
|
-
.
|
|
2864
|
+
._toggleNarrow_1qlur_117 {
|
|
2865
2865
|
margin-right: 16px;
|
|
2866
2866
|
margin-left: -5px;
|
|
2867
2867
|
color: #c8c8c8;
|
|
@@ -2870,16 +2870,16 @@ html[data-theme='dark'] {
|
|
|
2870
2870
|
width: 22px;
|
|
2871
2871
|
justify-content: center;
|
|
2872
2872
|
}
|
|
2873
|
-
.
|
|
2873
|
+
._toggleNarrow_1qlur_117:hover {
|
|
2874
2874
|
color: var(--color-text-primary-hover);
|
|
2875
2875
|
}
|
|
2876
|
-
.
|
|
2876
|
+
._toggleNarrow_1qlur_117:active {
|
|
2877
2877
|
color: var(--color-text-primary-active);
|
|
2878
2878
|
}
|
|
2879
|
-
.
|
|
2879
|
+
._narrow_1qlur_81 ._toggleNarrow_1qlur_117 {
|
|
2880
2880
|
transform: scaleX(-1);
|
|
2881
2881
|
}
|
|
2882
|
-
.
|
|
2882
|
+
._drag_1qlur_135 {
|
|
2883
2883
|
color: var(--color-text-faint);
|
|
2884
2884
|
display: flex;
|
|
2885
2885
|
align-items: center;
|
|
@@ -2891,29 +2891,30 @@ html[data-theme='dark'] {
|
|
|
2891
2891
|
cursor: move;
|
|
2892
2892
|
height: var(--size-sm);
|
|
2893
2893
|
width: var(--size-sm);
|
|
2894
|
+
flex-shrink: 0;
|
|
2894
2895
|
}
|
|
2895
|
-
.
|
|
2896
|
+
._drag_1qlur_135:hover {
|
|
2896
2897
|
color: var(--color-text-primary-hover);
|
|
2897
2898
|
}
|
|
2898
|
-
.
|
|
2899
|
+
._drag_1qlur_135:active {
|
|
2899
2900
|
color: var(--color-text-primary-active);
|
|
2900
2901
|
}
|
|
2901
|
-
.
|
|
2902
|
+
._list_1qlur_155 {
|
|
2902
2903
|
flex-shrink: 0;
|
|
2903
2904
|
background: var(--color-background);
|
|
2904
2905
|
}
|
|
2905
|
-
.
|
|
2906
|
-
.
|
|
2906
|
+
._list_1qlur_155._bordered_1qlur_159:first-child,
|
|
2907
|
+
._list_1qlur_155._bordered_1qlur_159:first-child > :first-child {
|
|
2907
2908
|
border-top-left-radius: inherit;
|
|
2908
2909
|
border-top-right-radius: inherit;
|
|
2909
2910
|
}
|
|
2910
|
-
.
|
|
2911
|
-
.
|
|
2911
|
+
._list_1qlur_155._bordered_1qlur_159:last-child,
|
|
2912
|
+
._list_1qlur_155._bordered_1qlur_159:last-child > :last-child {
|
|
2912
2913
|
border-bottom-left-radius: inherit;
|
|
2913
2914
|
border-bottom-right-radius: inherit;
|
|
2914
2915
|
border-bottom: 0;
|
|
2915
2916
|
}
|
|
2916
|
-
.
|
|
2917
|
+
._item_1qlur_78 {
|
|
2917
2918
|
color: inherit;
|
|
2918
2919
|
display: block;
|
|
2919
2920
|
transition: background-color 0.2s;
|
|
@@ -2924,7 +2925,7 @@ html[data-theme='dark'] {
|
|
|
2924
2925
|
overflow-wrap: break-word;
|
|
2925
2926
|
hyphens: auto;
|
|
2926
2927
|
}
|
|
2927
|
-
.
|
|
2928
|
+
._item_1qlur_78:not(._heading_1qlur_78):after {
|
|
2928
2929
|
content: '';
|
|
2929
2930
|
position: absolute;
|
|
2930
2931
|
left: 0;
|
|
@@ -2935,41 +2936,41 @@ html[data-theme='dark'] {
|
|
|
2935
2936
|
border-bottom-left-radius: inherit;
|
|
2936
2937
|
transition: background 0.3s, width 0.3s;
|
|
2937
2938
|
}
|
|
2938
|
-
.
|
|
2939
|
+
._item_1qlur_78._action_1qlur_192 {
|
|
2939
2940
|
cursor: pointer;
|
|
2940
2941
|
}
|
|
2941
|
-
.
|
|
2942
|
+
._item_1qlur_78._action_1qlur_192:not(._active_1qlur_195):hover {
|
|
2942
2943
|
background: var(--color-background-listitem-hover);
|
|
2943
2944
|
}
|
|
2944
|
-
.
|
|
2945
|
+
._item_1qlur_78._action_1qlur_192:not(._active_1qlur_195):hover:after {
|
|
2945
2946
|
width: 5px;
|
|
2946
2947
|
background: rgba(0, 0, 0, 0.1);
|
|
2947
2948
|
}
|
|
2948
|
-
.
|
|
2949
|
+
._item_1qlur_78._indented_1qlur_202:after {
|
|
2949
2950
|
width: 3px;
|
|
2950
2951
|
background: rgba(0, 0, 0, 0.1);
|
|
2951
2952
|
}
|
|
2952
|
-
.
|
|
2953
|
+
._item_1qlur_78._active_1qlur_195 {
|
|
2953
2954
|
cursor: default;
|
|
2954
2955
|
position: relative;
|
|
2955
2956
|
z-index: 1;
|
|
2956
2957
|
background: var(--color-background-listitem-active);
|
|
2957
2958
|
}
|
|
2958
|
-
.
|
|
2959
|
+
._item_1qlur_78._active_1qlur_195:after {
|
|
2959
2960
|
background: var(--color-background-primary) !important;
|
|
2960
2961
|
}
|
|
2961
|
-
.
|
|
2962
|
+
._item_1qlur_78._disabled_1qlur_215 {
|
|
2962
2963
|
color: var(--color-text-faint);
|
|
2963
2964
|
pointer-events: none;
|
|
2964
2965
|
}
|
|
2965
|
-
.
|
|
2966
|
+
._item_1qlur_78._heading_1qlur_78 {
|
|
2966
2967
|
color: var(--color-text-muted);
|
|
2967
2968
|
background-color: var(--color-background-cardheader);
|
|
2968
2969
|
}
|
|
2969
|
-
.
|
|
2970
|
+
._item_1qlur_78._heading_1qlur_78._action_1qlur_192:hover {
|
|
2970
2971
|
color: var(--color-text-primary-hover);
|
|
2971
2972
|
}
|
|
2972
|
-
.
|
|
2973
|
+
._item_1qlur_78 ._label_1qlur_226 {
|
|
2973
2974
|
margin-right: var(--padding-xs);
|
|
2974
2975
|
flex-shrink: 0;
|
|
2975
2976
|
width: var(--size-sm);
|
|
@@ -2980,38 +2981,38 @@ html[data-theme='dark'] {
|
|
|
2980
2981
|
align-items: center;
|
|
2981
2982
|
justify-content: center;
|
|
2982
2983
|
}
|
|
2983
|
-
.
|
|
2984
|
-
.
|
|
2984
|
+
._item_1qlur_78 ._details_1qlur_237,
|
|
2985
|
+
._item_1qlur_78 ._metadata_1qlur_238 {
|
|
2985
2986
|
display: block;
|
|
2986
2987
|
width: 100%;
|
|
2987
2988
|
font-weight: normal;
|
|
2988
2989
|
}
|
|
2989
|
-
.
|
|
2990
|
+
._item_1qlur_78 ._metadata_1qlur_238 {
|
|
2990
2991
|
color: var(--color-text-muted);
|
|
2991
2992
|
}
|
|
2992
|
-
.
|
|
2993
|
+
._item_1qlur_78 ._itemContent_1qlur_246 {
|
|
2993
2994
|
padding: 0 var(--padding) var(--padding-sm);
|
|
2994
2995
|
cursor: auto;
|
|
2995
2996
|
}
|
|
2996
|
-
.
|
|
2997
|
+
._item_1qlur_78 ._itemContent_1qlur_246:empty {
|
|
2997
2998
|
padding: inherit;
|
|
2998
2999
|
}
|
|
2999
|
-
.
|
|
3000
|
+
._indentIcon_1qlur_253 {
|
|
3000
3001
|
color: var(--color-text-faint);
|
|
3001
3002
|
flex-shrink: 0;
|
|
3002
3003
|
margin-right: var(--padding-xxs);
|
|
3003
3004
|
}
|
|
3004
|
-
.
|
|
3005
|
+
._expandIcon_1qlur_258 {
|
|
3005
3006
|
flex-shrink: 0;
|
|
3006
3007
|
position: relative;
|
|
3007
3008
|
display: flex;
|
|
3008
3009
|
height: var(--line-height);
|
|
3009
3010
|
margin-right: var(--padding-xs);
|
|
3010
3011
|
}
|
|
3011
|
-
.
|
|
3012
|
+
._expandIcon_1qlur_258._expanded_1qlur_265 svg {
|
|
3012
3013
|
transform: rotate(90deg);
|
|
3013
3014
|
}
|
|
3014
|
-
.
|
|
3015
|
+
._right_1qlur_268 {
|
|
3015
3016
|
margin-left: auto;
|
|
3016
3017
|
display: flex;
|
|
3017
3018
|
align-items: center;
|
|
@@ -3019,24 +3020,24 @@ html[data-theme='dark'] {
|
|
|
3019
3020
|
margin-bottom: calc((var(--line-height) - var(--size-sm)) / 2);
|
|
3020
3021
|
min-height: var(--size-sm);
|
|
3021
3022
|
}
|
|
3022
|
-
.
|
|
3023
|
+
._actions_1qlur_276 {
|
|
3023
3024
|
margin-left: var(--padding-xs);
|
|
3024
3025
|
display: flex;
|
|
3025
3026
|
align-items: center;
|
|
3026
3027
|
}
|
|
3027
|
-
.
|
|
3028
|
+
._scrollableList_1qlur_281 {
|
|
3028
3029
|
height: 100%;
|
|
3029
3030
|
overflow-y: auto;
|
|
3030
3031
|
scroll-behavior: smooth;
|
|
3031
3032
|
}
|
|
3032
|
-
.
|
|
3033
|
+
._hideScrollbar_1qlur_67 {
|
|
3033
3034
|
/* Firefox */
|
|
3034
3035
|
scrollbar-width: none;
|
|
3035
3036
|
/* IE 10+ */
|
|
3036
3037
|
-ms-overflow-style: none;
|
|
3037
3038
|
/* Chrome, Safari and Opera */
|
|
3038
3039
|
}
|
|
3039
|
-
.
|
|
3040
|
+
._hideScrollbar_1qlur_67::-webkit-scrollbar {
|
|
3040
3041
|
display: none;
|
|
3041
3042
|
}
|
|
3042
3043
|
._loader_477i5_1 {
|
package/dist/index.d.ts
CHANGED
|
@@ -158,8 +158,6 @@ export declare interface IActionProps {
|
|
|
158
158
|
closeLayer?: TEmpty;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
declare type IActionsType = (IAction | ISubAction | IChildComponent)[];
|
|
162
|
-
|
|
163
161
|
export declare interface IBadgeProps {
|
|
164
162
|
children?: ReactNode;
|
|
165
163
|
color?: string;
|
|
@@ -233,20 +231,6 @@ export declare interface ICardProps {
|
|
|
233
231
|
children?: ReactNode;
|
|
234
232
|
}
|
|
235
233
|
|
|
236
|
-
declare interface ICell {
|
|
237
|
-
value: number | string;
|
|
238
|
-
type: string;
|
|
239
|
-
onChange: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
240
|
-
placeholder?: string;
|
|
241
|
-
testId?: string;
|
|
242
|
-
disabled?: boolean;
|
|
243
|
-
style?: object;
|
|
244
|
-
options?: {
|
|
245
|
-
label: string;
|
|
246
|
-
value: string | number;
|
|
247
|
-
}[];
|
|
248
|
-
}
|
|
249
|
-
|
|
250
234
|
declare interface ICheckBoxCell extends TCommonCell {
|
|
251
235
|
label?: string | null;
|
|
252
236
|
checked: boolean;
|
|
@@ -273,11 +257,6 @@ export declare interface ICheckBoxProps {
|
|
|
273
257
|
onClickHelp?: TEmpty;
|
|
274
258
|
}
|
|
275
259
|
|
|
276
|
-
declare interface IChildComponent {
|
|
277
|
-
childComponent: ReactNode | (() => ReactNode);
|
|
278
|
-
testId?: string;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
260
|
/**
|
|
282
261
|
* Icon wrapper component to support different icon formats:
|
|
283
262
|
* - string names (default recommendation)
|
|
@@ -1292,25 +1271,6 @@ declare interface ISubAction_2 {
|
|
|
1292
1271
|
onClick: TEmpty;
|
|
1293
1272
|
}
|
|
1294
1273
|
|
|
1295
|
-
declare interface ITableActions {
|
|
1296
|
-
addRow?: () => void;
|
|
1297
|
-
reorderComponents?: () => void;
|
|
1298
|
-
}
|
|
1299
|
-
|
|
1300
|
-
declare interface ITableDefinition {
|
|
1301
|
-
key: string;
|
|
1302
|
-
header: string;
|
|
1303
|
-
translationKey: string;
|
|
1304
|
-
type: string;
|
|
1305
|
-
convertible: boolean;
|
|
1306
|
-
unitKey: string;
|
|
1307
|
-
columnAlignment: string;
|
|
1308
|
-
columnWidth: string;
|
|
1309
|
-
defaultValue?: number | string | null;
|
|
1310
|
-
options?: Array<any>;
|
|
1311
|
-
placeholder?: string;
|
|
1312
|
-
}
|
|
1313
|
-
|
|
1314
1274
|
export declare interface ITableProps {
|
|
1315
1275
|
onListReorder?: (obj: {
|
|
1316
1276
|
from: number;
|
|
@@ -1428,6 +1388,7 @@ export declare interface IToggleProps {
|
|
|
1428
1388
|
label?: string | React_2.ReactElement | null;
|
|
1429
1389
|
checked?: boolean;
|
|
1430
1390
|
disabled?: boolean;
|
|
1391
|
+
display?: string;
|
|
1431
1392
|
small?: boolean;
|
|
1432
1393
|
onChange: (evt: React_2.ChangeEvent<HTMLInputElement>) => void;
|
|
1433
1394
|
noMargin?: boolean;
|
|
@@ -1561,18 +1522,6 @@ export declare interface IUnitInputProps {
|
|
|
1561
1522
|
unitTemplate?: Record<string, any>;
|
|
1562
1523
|
}
|
|
1563
1524
|
|
|
1564
|
-
declare interface IUnitTableProps {
|
|
1565
|
-
data: Array<any>;
|
|
1566
|
-
unitTemplate: Record<string, any>;
|
|
1567
|
-
tableDef: ITableDefinition[];
|
|
1568
|
-
convertToCells: (displayedData: Array<any>, displayedUnits: Record<string, any>) => {
|
|
1569
|
-
cells: ICell[];
|
|
1570
|
-
actions: IActionsType;
|
|
1571
|
-
}[];
|
|
1572
|
-
tableActions: ITableActions;
|
|
1573
|
-
testId: string;
|
|
1574
|
-
}
|
|
1575
|
-
|
|
1576
1525
|
export declare const Label: ({ label, width, helpText, helpTextMaxWidth, onClickHelp, lock, info, libraryIcon, labelLeft, }: ILabelProps) => JSX_2.Element;
|
|
1577
1526
|
|
|
1578
1527
|
export declare const List: ({ list, bordered, expanding, narrow, toggleNarrow, onToggleNarrow, invokeEditOnRowClick, noHeader, stickyHeader, draggable, onListReorder, marginBottom, height, testId, scrollDetails, }: IListProps) => JSX_2.Element;
|
|
@@ -1658,7 +1607,7 @@ export declare type TAlign = 'left' | 'right' | 'center';
|
|
|
1658
1607
|
declare type TBaseElementProps = {
|
|
1659
1608
|
label?: string | null;
|
|
1660
1609
|
icon?: ReactNode;
|
|
1661
|
-
onClick?:
|
|
1610
|
+
onClick?: TMouseEventHandler;
|
|
1662
1611
|
testId?: string;
|
|
1663
1612
|
};
|
|
1664
1613
|
|
|
@@ -1739,11 +1688,13 @@ export declare type TMenuType = 'Heading' | 'Divider' | 'Option' | 'Menu';
|
|
|
1739
1688
|
|
|
1740
1689
|
export declare type TMessageType = 'Info' | 'Success' | 'Warning' | 'Error';
|
|
1741
1690
|
|
|
1691
|
+
declare type TMouseEventHandler = (evt: MouseEvent_2) => void;
|
|
1692
|
+
|
|
1742
1693
|
export declare const toast: ({ id, message, autoClose, onClose, }: IToastProps) => void | React_2.ReactText;
|
|
1743
1694
|
|
|
1744
1695
|
export { Toaster }
|
|
1745
1696
|
|
|
1746
|
-
export declare const Toggle: ({ name, label, checked, disabled, small, onChange, noMargin, testId, helpText, onClickHelp, }: IToggleProps) => JSX_2.Element;
|
|
1697
|
+
export declare const Toggle: ({ name, label, checked, disabled, display, small, onChange, noMargin, testId, helpText, onClickHelp, }: IToggleProps) => JSX_2.Element;
|
|
1747
1698
|
|
|
1748
1699
|
export declare const Tooltip: ({ children, text, error, placement, possiblePlacements, enabled, warning, maxWidth, triggerOffset, fontSize, padding, display, flex, forceOpen, }: ITooltipProps) => JSX_2.Element;
|
|
1749
1700
|
|
|
@@ -1787,8 +1738,6 @@ export declare type TTriggerType = 'Text' | 'Button' | 'DropDownButton' | 'Compo
|
|
|
1787
1738
|
|
|
1788
1739
|
export declare const UnitInput: ({ name, placeholder, disabled, disabledUnit, error, left, small, width, value, unitkey, initUnit, noConversion, onChange, onClick, onFocus, onSwitchUnit, unitTemplate, doNotConvertValue, testId, warning, predefinedOptions, initialPredefinedOption, shouldLinkAutomaticly, selectedPredefinedOptionKey, validationCallback, disabledValidation, allowEmpty, autoValue, }: IUnitInputProps) => JSX_2.Element;
|
|
1789
1740
|
|
|
1790
|
-
export declare const UnitTable: ({ data, unitTemplate, tableDef, convertToCells, tableActions, testId, }: IUnitTableProps) => JSX_2.Element;
|
|
1791
|
-
|
|
1792
1741
|
export declare const useFocus: () => UseFocusReturnType;
|
|
1793
1742
|
|
|
1794
1743
|
declare type UseFocusReturnType = [MutableRefObject<HTMLInputElement | null>, TEmpty];
|
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-
|
|
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-326366e3.js"></script><link rel="stylesheet" href="/react-ui-library/assets/index-2b7aaa8d.css"></head><body><div id="content"></div></body>
|