@oliasoft-open-source/react-ui-library 4.0.0-beta-30 → 4.0.0-beta-31
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 +50 -49
- package/dist/index.js +22 -22
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/global.css
CHANGED
|
@@ -8376,14 +8376,14 @@ button:active .remirror-menu-pane-shortcut,
|
|
|
8376
8376
|
margin: 0;
|
|
8377
8377
|
/* margin-bottom: var(--rmr-space-2); */
|
|
8378
8378
|
}
|
|
8379
|
-
.
|
|
8379
|
+
._richTextToolbar_8kz0p_1 {
|
|
8380
8380
|
display: flex;
|
|
8381
8381
|
gap: var(--margin-xs);
|
|
8382
8382
|
}
|
|
8383
|
-
.
|
|
8383
|
+
._richTextToolbarContainer_8kz0p_5 {
|
|
8384
8384
|
display: flex;
|
|
8385
8385
|
justify-content: space-between;
|
|
8386
|
-
|
|
8386
|
+
margin-bottom: var(--margin-sm);
|
|
8387
8387
|
align-items: flex-end;
|
|
8388
8388
|
}
|
|
8389
8389
|
._inputInTable_w2f5m_1 {
|
|
@@ -8498,122 +8498,122 @@ button:active .remirror-menu-pane-shortcut,
|
|
|
8498
8498
|
min-height: 0;
|
|
8499
8499
|
flex-shrink: 0;
|
|
8500
8500
|
}
|
|
8501
|
-
.
|
|
8501
|
+
._inputInTable_in9sh_1 {
|
|
8502
8502
|
background-color: transparent;
|
|
8503
8503
|
border-radius: inherit !important;
|
|
8504
8504
|
height: var(--size);
|
|
8505
8505
|
min-height: 100%;
|
|
8506
8506
|
}
|
|
8507
|
-
.
|
|
8507
|
+
._inputInTable_in9sh_1:not(:hover) {
|
|
8508
8508
|
border-color: transparent;
|
|
8509
8509
|
}
|
|
8510
|
-
.
|
|
8510
|
+
._inputInTable_in9sh_1:not(:focus) {
|
|
8511
8511
|
box-shadow: none;
|
|
8512
8512
|
}
|
|
8513
|
-
.
|
|
8513
|
+
._inputHover_in9sh_13 {
|
|
8514
8514
|
position: relative;
|
|
8515
8515
|
border-color: var(--color-border-hover);
|
|
8516
8516
|
z-index: 2;
|
|
8517
8517
|
}
|
|
8518
|
-
.
|
|
8518
|
+
._inputFocus_in9sh_18 {
|
|
8519
8519
|
position: relative;
|
|
8520
8520
|
outline: none !important;
|
|
8521
8521
|
border-color: var(--color-border-focus) !important;
|
|
8522
8522
|
box-shadow: var(--shadow-focus);
|
|
8523
8523
|
z-index: 3;
|
|
8524
8524
|
}
|
|
8525
|
-
.
|
|
8526
|
-
.
|
|
8525
|
+
._inputError_in9sh_25,
|
|
8526
|
+
._inputWarning_in9sh_26 {
|
|
8527
8527
|
position: relative;
|
|
8528
8528
|
}
|
|
8529
|
-
.
|
|
8529
|
+
._inputError_in9sh_25 {
|
|
8530
8530
|
z-index: 2;
|
|
8531
8531
|
border-color: var(--color-border-error);
|
|
8532
8532
|
color: var(--color-text-error) !important;
|
|
8533
8533
|
background-color: var(--color-background-error);
|
|
8534
8534
|
}
|
|
8535
|
-
.
|
|
8535
|
+
._inputError_in9sh_25:hover {
|
|
8536
8536
|
border-color: var(--color-border-error-hover) !important;
|
|
8537
8537
|
}
|
|
8538
|
-
.
|
|
8538
|
+
._inputError_in9sh_25:focus {
|
|
8539
8539
|
position: relative;
|
|
8540
8540
|
outline: none !important;
|
|
8541
8541
|
border-color: var(--color-border-focus) !important;
|
|
8542
8542
|
box-shadow: var(--shadow-focus);
|
|
8543
8543
|
z-index: 3;
|
|
8544
8544
|
}
|
|
8545
|
-
.
|
|
8545
|
+
._inputWarning_in9sh_26 {
|
|
8546
8546
|
z-index: 1;
|
|
8547
8547
|
border-color: var(--color-border-warning);
|
|
8548
8548
|
color: var(--color-text-warning) !important;
|
|
8549
8549
|
background-color: var(--color-background-warning);
|
|
8550
8550
|
}
|
|
8551
|
-
.
|
|
8551
|
+
._inputWarning_in9sh_26:hover {
|
|
8552
8552
|
border-color: var(--color-border-warning-hover) !important;
|
|
8553
8553
|
}
|
|
8554
|
-
.
|
|
8554
|
+
._inputWarning_in9sh_26:focus {
|
|
8555
8555
|
position: relative;
|
|
8556
8556
|
outline: none !important;
|
|
8557
8557
|
border-color: var(--color-border-focus) !important;
|
|
8558
8558
|
box-shadow: var(--shadow-focus);
|
|
8559
8559
|
z-index: 3;
|
|
8560
8560
|
}
|
|
8561
|
-
.
|
|
8561
|
+
._inputDisabled_in9sh_61 {
|
|
8562
8562
|
pointer-events: none;
|
|
8563
8563
|
background-color: var(--color-background-disabled);
|
|
8564
8564
|
color: var(--color-text-muted);
|
|
8565
8565
|
box-shadow: none;
|
|
8566
8566
|
}
|
|
8567
|
-
.
|
|
8567
|
+
._hideScrollbars_in9sh_67 {
|
|
8568
8568
|
/* Firefox */
|
|
8569
8569
|
scrollbar-width: none;
|
|
8570
8570
|
/* IE 10+ */
|
|
8571
8571
|
-ms-overflow-style: none;
|
|
8572
8572
|
/* Chrome, Safari and Opera */
|
|
8573
8573
|
}
|
|
8574
|
-
.
|
|
8574
|
+
._hideScrollbars_in9sh_67::-webkit-scrollbar {
|
|
8575
8575
|
display: none;
|
|
8576
8576
|
}
|
|
8577
8577
|
:root {
|
|
8578
8578
|
--size-sidebar: var(--size-xl);
|
|
8579
8579
|
--color-background-sidebar: var(--color-neutral-1000);
|
|
8580
8580
|
}
|
|
8581
|
-
.
|
|
8581
|
+
._sidebar_in9sh_81 {
|
|
8582
8582
|
background-color: var(--color-background-sidebar);
|
|
8583
8583
|
color: white;
|
|
8584
8584
|
position: relative;
|
|
8585
8585
|
padding: var(--padding-y) 0;
|
|
8586
8586
|
}
|
|
8587
8587
|
@media print {
|
|
8588
|
-
.
|
|
8588
|
+
._sidebar_in9sh_81 {
|
|
8589
8589
|
display: none;
|
|
8590
8590
|
}
|
|
8591
8591
|
}
|
|
8592
|
-
.
|
|
8592
|
+
._inner_in9sh_92 {
|
|
8593
8593
|
/* Firefox */
|
|
8594
8594
|
scrollbar-width: none;
|
|
8595
8595
|
/* IE 10+ */
|
|
8596
8596
|
-ms-overflow-style: none;
|
|
8597
8597
|
/* Chrome, Safari and Opera */
|
|
8598
8598
|
}
|
|
8599
|
-
.
|
|
8599
|
+
._inner_in9sh_92::-webkit-scrollbar {
|
|
8600
8600
|
display: none;
|
|
8601
8601
|
}
|
|
8602
|
-
.
|
|
8603
|
-
.
|
|
8604
|
-
.
|
|
8602
|
+
._title_in9sh_102,
|
|
8603
|
+
._subtitle_in9sh_103,
|
|
8604
|
+
._label_in9sh_104 {
|
|
8605
8605
|
transition: opacity 0.2s, max-height 0.2s, margin 0.2s, color 0.2s;
|
|
8606
8606
|
max-height: 50px;
|
|
8607
8607
|
}
|
|
8608
|
-
.
|
|
8609
|
-
.
|
|
8610
|
-
.
|
|
8608
|
+
._collapsed_in9sh_108 ._title_in9sh_102,
|
|
8609
|
+
._collapsed_in9sh_108 ._subtitle_in9sh_103,
|
|
8610
|
+
._collapsed_in9sh_108 ._label_in9sh_104 {
|
|
8611
8611
|
opacity: 0;
|
|
8612
8612
|
max-height: 0;
|
|
8613
8613
|
margin-bottom: 0;
|
|
8614
8614
|
margin-top: 0;
|
|
8615
8615
|
}
|
|
8616
|
-
.
|
|
8616
|
+
._title_in9sh_102 {
|
|
8617
8617
|
overflow: hidden;
|
|
8618
8618
|
max-width: 100%;
|
|
8619
8619
|
text-overflow: ellipsis;
|
|
@@ -8622,7 +8622,7 @@ button:active .remirror-menu-pane-shortcut,
|
|
|
8622
8622
|
font-size: var(--font-size-lg);
|
|
8623
8623
|
padding: 0 var(--padding-x);
|
|
8624
8624
|
}
|
|
8625
|
-
.
|
|
8625
|
+
._subtitle_in9sh_103 {
|
|
8626
8626
|
margin-bottom: var(--margin);
|
|
8627
8627
|
white-space: nowrap;
|
|
8628
8628
|
font-size: var(--font-size-sm);
|
|
@@ -8630,11 +8630,11 @@ button:active .remirror-menu-pane-shortcut,
|
|
|
8630
8630
|
opacity: 0.6;
|
|
8631
8631
|
padding: 0 var(--padding-x);
|
|
8632
8632
|
}
|
|
8633
|
-
.
|
|
8633
|
+
._list_in9sh_133 {
|
|
8634
8634
|
margin-bottom: var(--margin);
|
|
8635
8635
|
margin-top: 0;
|
|
8636
8636
|
}
|
|
8637
|
-
.
|
|
8637
|
+
._item_in9sh_137 {
|
|
8638
8638
|
min-height: var(--size-lg);
|
|
8639
8639
|
transition: padding 0.2s;
|
|
8640
8640
|
font-size: var(--font-size-lg);
|
|
@@ -8643,31 +8643,32 @@ button:active .remirror-menu-pane-shortcut,
|
|
|
8643
8643
|
display: flex;
|
|
8644
8644
|
padding: 0 var(--padding-x);
|
|
8645
8645
|
align-items: center;
|
|
8646
|
+
margin-bottom: var(--margin-xs);
|
|
8646
8647
|
}
|
|
8647
|
-
.
|
|
8648
|
+
._collapsed_in9sh_108 ._item_in9sh_137 {
|
|
8648
8649
|
padding: 0 9px;
|
|
8649
8650
|
}
|
|
8650
|
-
.
|
|
8651
|
+
._item_in9sh_137:focus {
|
|
8651
8652
|
outline: none;
|
|
8652
8653
|
}
|
|
8653
|
-
.
|
|
8654
|
+
._item_in9sh_137::-moz-focus-inner {
|
|
8654
8655
|
border: 0;
|
|
8655
8656
|
}
|
|
8656
|
-
.
|
|
8657
|
-
.
|
|
8657
|
+
._item_in9sh_137:hover,
|
|
8658
|
+
._item_in9sh_137:focus {
|
|
8658
8659
|
color: var(--color-primary-400);
|
|
8659
8660
|
}
|
|
8660
|
-
.
|
|
8661
|
+
._item_in9sh_137:active {
|
|
8661
8662
|
color: var(--color-primary-300);
|
|
8662
8663
|
}
|
|
8663
|
-
.
|
|
8664
|
+
._item_in9sh_137._active_in9sh_164 {
|
|
8664
8665
|
color: white;
|
|
8665
8666
|
background: black;
|
|
8666
8667
|
}
|
|
8667
|
-
.
|
|
8668
|
+
._item_in9sh_137._experimental_in9sh_168 {
|
|
8668
8669
|
background: #40130b;
|
|
8669
8670
|
}
|
|
8670
|
-
.
|
|
8671
|
+
._icon_in9sh_171 {
|
|
8671
8672
|
margin-right: var(--margin);
|
|
8672
8673
|
line-height: 0;
|
|
8673
8674
|
flex-shrink: 0;
|
|
@@ -8675,23 +8676,23 @@ button:active .remirror-menu-pane-shortcut,
|
|
|
8675
8676
|
opacity: 0.4;
|
|
8676
8677
|
display: block;
|
|
8677
8678
|
}
|
|
8678
|
-
.
|
|
8679
|
-
.
|
|
8679
|
+
._item_in9sh_137:hover ._icon_in9sh_171,
|
|
8680
|
+
._item_in9sh_137:focus ._icon_in9sh_171 {
|
|
8680
8681
|
opacity: 0.6;
|
|
8681
8682
|
}
|
|
8682
|
-
.
|
|
8683
|
+
._item_in9sh_137:active ._icon_in9sh_171 {
|
|
8683
8684
|
opacity: 0.8;
|
|
8684
8685
|
}
|
|
8685
|
-
.
|
|
8686
|
+
._item_in9sh_137._active_in9sh_164 ._icon_in9sh_171 {
|
|
8686
8687
|
opacity: 1;
|
|
8687
8688
|
}
|
|
8688
|
-
.
|
|
8689
|
+
._icon_in9sh_171 > * {
|
|
8689
8690
|
opacity: 1;
|
|
8690
8691
|
}
|
|
8691
|
-
.
|
|
8692
|
+
._icon_in9sh_171 > span {
|
|
8692
8693
|
display: block;
|
|
8693
8694
|
}
|
|
8694
|
-
.
|
|
8695
|
+
._label_in9sh_104 {
|
|
8695
8696
|
white-space: nowrap;
|
|
8696
8697
|
overflow: hidden;
|
|
8697
8698
|
}
|
package/dist/index.js
CHANGED
|
@@ -28631,7 +28631,7 @@ const Layer = ({
|
|
|
28631
28631
|
listRef.current.scrollToItem(firstSelectedOptionIndex, "start");
|
|
28632
28632
|
}
|
|
28633
28633
|
}, []);
|
|
28634
|
-
const optionHeight = small2 ? 24 :
|
|
28634
|
+
const optionHeight = small2 ? 24 : 30;
|
|
28635
28635
|
return /* @__PURE__ */ jsxRuntime.exports.jsx("div", {
|
|
28636
28636
|
"data-testid": testId,
|
|
28637
28637
|
className: cx$2(styles$m.layer, small2 && styles$m.small),
|
|
@@ -56734,8 +56734,8 @@ function Remirror(props) {
|
|
|
56734
56734
|
return /* @__PURE__ */ React__default.createElement(I18nProvider, { i18n: i18n2, locale, supportedLocales }, /* @__PURE__ */ React__default.createElement(RemirrorContext.Provider, { value: context2 }, /* @__PURE__ */ React__default.createElement(RemirrorPortals, { portals }), hooks.map((hook, index2) => /* @__PURE__ */ React__default.createElement(HookComponent, { hook, key: index2 })), autoRenderAtStart && /* @__PURE__ */ React__default.createElement(EditorComponent, null), children, autoRenderAtEnd && /* @__PURE__ */ React__default.createElement(EditorComponent, null)));
|
|
56735
56735
|
}
|
|
56736
56736
|
const all = "";
|
|
56737
|
-
const richTextToolbar = "
|
|
56738
|
-
const richTextToolbarContainer = "
|
|
56737
|
+
const richTextToolbar = "_richTextToolbar_8kz0p_1";
|
|
56738
|
+
const richTextToolbarContainer = "_richTextToolbarContainer_8kz0p_5";
|
|
56739
56739
|
const styles$f = {
|
|
56740
56740
|
richTextToolbar,
|
|
56741
56741
|
richTextToolbarContainer
|
|
@@ -57035,24 +57035,24 @@ var reactFastCompare = function isEqual3(a2, b2) {
|
|
|
57035
57035
|
throw error2;
|
|
57036
57036
|
}
|
|
57037
57037
|
};
|
|
57038
|
-
const inputInTable$3 = "
|
|
57039
|
-
const inputHover$3 = "
|
|
57040
|
-
const inputFocus$3 = "
|
|
57041
|
-
const inputError$3 = "
|
|
57042
|
-
const inputWarning$3 = "
|
|
57043
|
-
const inputDisabled$3 = "
|
|
57044
|
-
const hideScrollbars$3 = "
|
|
57045
|
-
const sidebar = "
|
|
57046
|
-
const inner = "
|
|
57047
|
-
const title$2 = "
|
|
57048
|
-
const subtitle = "
|
|
57049
|
-
const label$2 = "
|
|
57050
|
-
const collapsed = "
|
|
57051
|
-
const list = "
|
|
57052
|
-
const item$2 = "
|
|
57053
|
-
const active$2 = "
|
|
57054
|
-
const experimental = "
|
|
57055
|
-
const icon$1 = "
|
|
57038
|
+
const inputInTable$3 = "_inputInTable_in9sh_1";
|
|
57039
|
+
const inputHover$3 = "_inputHover_in9sh_13";
|
|
57040
|
+
const inputFocus$3 = "_inputFocus_in9sh_18";
|
|
57041
|
+
const inputError$3 = "_inputError_in9sh_25";
|
|
57042
|
+
const inputWarning$3 = "_inputWarning_in9sh_26";
|
|
57043
|
+
const inputDisabled$3 = "_inputDisabled_in9sh_61";
|
|
57044
|
+
const hideScrollbars$3 = "_hideScrollbars_in9sh_67";
|
|
57045
|
+
const sidebar = "_sidebar_in9sh_81";
|
|
57046
|
+
const inner = "_inner_in9sh_92";
|
|
57047
|
+
const title$2 = "_title_in9sh_102";
|
|
57048
|
+
const subtitle = "_subtitle_in9sh_103";
|
|
57049
|
+
const label$2 = "_label_in9sh_104";
|
|
57050
|
+
const collapsed = "_collapsed_in9sh_108";
|
|
57051
|
+
const list = "_list_in9sh_133";
|
|
57052
|
+
const item$2 = "_item_in9sh_137";
|
|
57053
|
+
const active$2 = "_active_in9sh_164";
|
|
57054
|
+
const experimental = "_experimental_in9sh_168";
|
|
57055
|
+
const icon$1 = "_icon_in9sh_171";
|
|
57056
57056
|
const styles$c = {
|
|
57057
57057
|
inputInTable: inputInTable$3,
|
|
57058
57058
|
inputHover: inputHover$3,
|
|
@@ -60671,7 +60671,7 @@ const hasRowActions = (rows, headers) => {
|
|
|
60671
60671
|
};
|
|
60672
60672
|
const TableScrollWrapper = ({ table: table2, children }) => {
|
|
60673
60673
|
const { rows, infiniteScroll } = table2;
|
|
60674
|
-
const pageSize = Math.ceil(window.innerHeight /
|
|
60674
|
+
const pageSize = Math.ceil(window.innerHeight / 30);
|
|
60675
60675
|
const [visibleRows, setVisibleRows] = infiniteScroll ? useState(pageSize) : [rows.length, null];
|
|
60676
60676
|
const [hasMore, setHasMore] = infiniteScroll ? useState(visibleRows < rows.length) : [false, null];
|
|
60677
60677
|
const loadMoreItems = () => {
|