@oliasoft-open-source/react-ui-library 3.9.18 → 3.9.20
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 +64 -61
- package/dist/index.js +51 -38
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/global.css
CHANGED
|
@@ -11056,116 +11056,116 @@ html[data-theme='dark'] {
|
|
|
11056
11056
|
/*
|
|
11057
11057
|
Z-INDEX
|
|
11058
11058
|
*/
|
|
11059
|
-
.
|
|
11059
|
+
._inputInTable_17npu_333 {
|
|
11060
11060
|
background-color: transparent;
|
|
11061
11061
|
border-radius: inherit !important;
|
|
11062
11062
|
height: 38px;
|
|
11063
11063
|
min-height: 100%;
|
|
11064
11064
|
}
|
|
11065
|
-
.
|
|
11065
|
+
._inputHover_17npu_339 {
|
|
11066
11066
|
position: relative;
|
|
11067
11067
|
border-color: var(--color-border-hover);
|
|
11068
11068
|
z-index: 2;
|
|
11069
11069
|
}
|
|
11070
|
-
.
|
|
11070
|
+
._inputFocus_17npu_344 {
|
|
11071
11071
|
position: relative;
|
|
11072
11072
|
outline: none !important;
|
|
11073
11073
|
border-color: var(--color-border-focus) !important;
|
|
11074
11074
|
box-shadow: var(--shadow-focus);
|
|
11075
11075
|
z-index: 3;
|
|
11076
11076
|
}
|
|
11077
|
-
.
|
|
11078
|
-
.
|
|
11077
|
+
._inputError_17npu_351,
|
|
11078
|
+
._inputWarning_17npu_352 {
|
|
11079
11079
|
position: relative;
|
|
11080
11080
|
}
|
|
11081
|
-
.
|
|
11081
|
+
._inputError_17npu_351 {
|
|
11082
11082
|
z-index: 2;
|
|
11083
11083
|
border-color: var(--color-border-error) !important;
|
|
11084
11084
|
color: var(--color-text-error) !important;
|
|
11085
11085
|
background-color: var(--color-background-error);
|
|
11086
11086
|
}
|
|
11087
|
-
.
|
|
11087
|
+
._inputError_17npu_351:hover {
|
|
11088
11088
|
border-color: var(--color-border-error-hover) !important;
|
|
11089
11089
|
}
|
|
11090
|
-
.
|
|
11090
|
+
._inputError_17npu_351:focus {
|
|
11091
11091
|
position: relative;
|
|
11092
11092
|
outline: none !important;
|
|
11093
11093
|
border-color: var(--color-border-focus) !important;
|
|
11094
11094
|
box-shadow: var(--shadow-focus);
|
|
11095
11095
|
z-index: 3;
|
|
11096
11096
|
}
|
|
11097
|
-
.
|
|
11097
|
+
._inputWarning_17npu_352 {
|
|
11098
11098
|
z-index: 1;
|
|
11099
11099
|
border-color: var(--color-border-warning) !important;
|
|
11100
11100
|
color: var(--color-text-warning) !important;
|
|
11101
11101
|
background-color: var(--color-background-warning);
|
|
11102
11102
|
}
|
|
11103
|
-
.
|
|
11103
|
+
._inputWarning_17npu_352:hover {
|
|
11104
11104
|
border-color: var(--color-border-warning-hover) !important;
|
|
11105
11105
|
}
|
|
11106
|
-
.
|
|
11106
|
+
._inputWarning_17npu_352:focus {
|
|
11107
11107
|
position: relative;
|
|
11108
11108
|
outline: none !important;
|
|
11109
11109
|
border-color: var(--color-border-focus) !important;
|
|
11110
11110
|
box-shadow: var(--shadow-focus);
|
|
11111
11111
|
z-index: 3;
|
|
11112
11112
|
}
|
|
11113
|
-
.
|
|
11113
|
+
._inputDisabled_17npu_387 {
|
|
11114
11114
|
pointer-events: none;
|
|
11115
11115
|
background-color: var(--color-background-disabled);
|
|
11116
11116
|
color: var(--color-text-muted);
|
|
11117
11117
|
}
|
|
11118
|
-
.
|
|
11118
|
+
._hideScrollbars_17npu_392 {
|
|
11119
11119
|
/* Firefox */
|
|
11120
11120
|
scrollbar-width: none;
|
|
11121
11121
|
/* IE 10+ */
|
|
11122
11122
|
-ms-overflow-style: none;
|
|
11123
11123
|
/* Chrome, Safari and Opera */
|
|
11124
11124
|
}
|
|
11125
|
-
.
|
|
11125
|
+
._hideScrollbars_17npu_392::-webkit-scrollbar {
|
|
11126
11126
|
display: none;
|
|
11127
11127
|
}
|
|
11128
|
-
.
|
|
11129
|
-
.
|
|
11128
|
+
._header_17npu_402 ._headerTitle_17npu_402,
|
|
11129
|
+
._heading_17npu_403 ._itemHeader_17npu_403 {
|
|
11130
11130
|
transition: opacity 0.3s;
|
|
11131
11131
|
}
|
|
11132
|
-
.
|
|
11133
|
-
.
|
|
11132
|
+
._narrow_17npu_406 ._header_17npu_402 ._headerTitle_17npu_402,
|
|
11133
|
+
._narrow_17npu_406 ._heading_17npu_403 ._itemHeader_17npu_403 {
|
|
11134
11134
|
opacity: 0;
|
|
11135
11135
|
}
|
|
11136
|
-
.
|
|
11136
|
+
._stickyHeader_17npu_410 {
|
|
11137
11137
|
position: sticky;
|
|
11138
11138
|
top: 0;
|
|
11139
11139
|
background-color: var(--color-background);
|
|
11140
11140
|
z-index: 10;
|
|
11141
11141
|
}
|
|
11142
|
-
.
|
|
11142
|
+
._itemHeader_17npu_403 {
|
|
11143
11143
|
padding: 12px 20px;
|
|
11144
11144
|
display: flex;
|
|
11145
11145
|
align-items: flex-start;
|
|
11146
11146
|
}
|
|
11147
|
-
.
|
|
11147
|
+
._itemHeader_17npu_403 ._title_17npu_421 {
|
|
11148
11148
|
margin: 0;
|
|
11149
11149
|
padding: 0;
|
|
11150
11150
|
flex-grow: 1;
|
|
11151
11151
|
min-width: 0;
|
|
11152
11152
|
}
|
|
11153
|
-
.
|
|
11153
|
+
._itemHeader_17npu_403 ._name_17npu_427 {
|
|
11154
11154
|
font-weight: 400;
|
|
11155
11155
|
}
|
|
11156
|
-
.
|
|
11156
|
+
._itemHeader_17npu_403 ._iconTooltipMargin_17npu_430 {
|
|
11157
11157
|
margin-left: 10px;
|
|
11158
11158
|
}
|
|
11159
|
-
.
|
|
11159
|
+
._itemHeader_17npu_403 ._bold_17npu_433 {
|
|
11160
11160
|
font-weight: 900;
|
|
11161
11161
|
}
|
|
11162
|
-
.
|
|
11162
|
+
._header_17npu_402 {
|
|
11163
11163
|
padding: 16px 20px;
|
|
11164
11164
|
display: flex;
|
|
11165
11165
|
align-items: center;
|
|
11166
11166
|
border-bottom: 1px solid var(--color-border);
|
|
11167
11167
|
}
|
|
11168
|
-
.
|
|
11168
|
+
._toggleNarrow_17npu_442 {
|
|
11169
11169
|
margin-right: 16px;
|
|
11170
11170
|
margin-left: -5px;
|
|
11171
11171
|
color: #c8c8c8;
|
|
@@ -11174,16 +11174,16 @@ html[data-theme='dark'] {
|
|
|
11174
11174
|
width: 22px;
|
|
11175
11175
|
justify-content: center;
|
|
11176
11176
|
}
|
|
11177
|
-
.
|
|
11177
|
+
._toggleNarrow_17npu_442:hover {
|
|
11178
11178
|
color: var(--color-text-primary-hover);
|
|
11179
11179
|
}
|
|
11180
|
-
.
|
|
11180
|
+
._toggleNarrow_17npu_442:active {
|
|
11181
11181
|
color: var(--color-text-primary-active);
|
|
11182
11182
|
}
|
|
11183
|
-
.
|
|
11183
|
+
._narrow_17npu_406 ._toggleNarrow_17npu_442 {
|
|
11184
11184
|
transform: scaleX(-1);
|
|
11185
11185
|
}
|
|
11186
|
-
.
|
|
11186
|
+
._drag_17npu_460 {
|
|
11187
11187
|
color: var(--color-text-faint);
|
|
11188
11188
|
display: flex;
|
|
11189
11189
|
align-items: center;
|
|
@@ -11194,31 +11194,31 @@ html[data-theme='dark'] {
|
|
|
11194
11194
|
height: 19px;
|
|
11195
11195
|
width: 19px;
|
|
11196
11196
|
}
|
|
11197
|
-
.
|
|
11197
|
+
._drag_17npu_460 path {
|
|
11198
11198
|
stroke: var(--color-text-faint);
|
|
11199
11199
|
}
|
|
11200
|
-
.
|
|
11200
|
+
._drag_17npu_460:hover path {
|
|
11201
11201
|
stroke: var(--color-text-primary-hover);
|
|
11202
11202
|
}
|
|
11203
|
-
.
|
|
11203
|
+
._drag_17npu_460:active path {
|
|
11204
11204
|
stroke: var(--color-text-primary-active);
|
|
11205
11205
|
}
|
|
11206
|
-
.
|
|
11206
|
+
._list_17npu_480 {
|
|
11207
11207
|
flex-shrink: 0;
|
|
11208
11208
|
background: var(--color-background);
|
|
11209
11209
|
}
|
|
11210
|
-
.
|
|
11211
|
-
.
|
|
11210
|
+
._list_17npu_480._bordered_17npu_484:first-child,
|
|
11211
|
+
._list_17npu_480._bordered_17npu_484:first-child > :first-child {
|
|
11212
11212
|
border-top-left-radius: inherit;
|
|
11213
11213
|
border-top-right-radius: inherit;
|
|
11214
11214
|
}
|
|
11215
|
-
.
|
|
11216
|
-
.
|
|
11215
|
+
._list_17npu_480._bordered_17npu_484:last-child,
|
|
11216
|
+
._list_17npu_480._bordered_17npu_484:last-child > :last-child {
|
|
11217
11217
|
border-bottom-left-radius: inherit;
|
|
11218
11218
|
border-bottom-right-radius: inherit;
|
|
11219
11219
|
border-bottom: 0;
|
|
11220
11220
|
}
|
|
11221
|
-
.
|
|
11221
|
+
._item_17npu_403 {
|
|
11222
11222
|
color: inherit;
|
|
11223
11223
|
display: block;
|
|
11224
11224
|
transition: background-color 0.2s;
|
|
@@ -11229,7 +11229,7 @@ html[data-theme='dark'] {
|
|
|
11229
11229
|
overflow-wrap: break-word;
|
|
11230
11230
|
hyphens: auto;
|
|
11231
11231
|
}
|
|
11232
|
-
.
|
|
11232
|
+
._item_17npu_403:not(._heading_17npu_403):after {
|
|
11233
11233
|
content: '';
|
|
11234
11234
|
position: absolute;
|
|
11235
11235
|
left: 0;
|
|
@@ -11240,94 +11240,97 @@ html[data-theme='dark'] {
|
|
|
11240
11240
|
border-bottom-left-radius: inherit;
|
|
11241
11241
|
transition: background 0.3s;
|
|
11242
11242
|
}
|
|
11243
|
-
.
|
|
11243
|
+
._item_17npu_403._action_17npu_517 {
|
|
11244
11244
|
cursor: pointer;
|
|
11245
11245
|
}
|
|
11246
|
-
.
|
|
11246
|
+
._item_17npu_403._action_17npu_517:not(._active_17npu_520):hover {
|
|
11247
11247
|
background: var(--color-background-listitem-hover);
|
|
11248
11248
|
}
|
|
11249
|
-
.
|
|
11249
|
+
._item_17npu_403._action_17npu_517:not(._active_17npu_520):hover:after {
|
|
11250
11250
|
background: rgba(0, 0, 0, 0.1);
|
|
11251
11251
|
}
|
|
11252
|
-
.
|
|
11252
|
+
._item_17npu_403._active_17npu_520 {
|
|
11253
11253
|
cursor: default;
|
|
11254
11254
|
position: relative;
|
|
11255
11255
|
z-index: 1;
|
|
11256
11256
|
background: var(--color-background-listitem-active);
|
|
11257
11257
|
}
|
|
11258
|
-
.
|
|
11258
|
+
._item_17npu_403._active_17npu_520:after {
|
|
11259
11259
|
background: var(--color-background-primary) !important;
|
|
11260
11260
|
}
|
|
11261
|
-
.
|
|
11261
|
+
._item_17npu_403._disabled_17npu_535 {
|
|
11262
11262
|
color: var(--color-text-faint);
|
|
11263
11263
|
pointer-events: none;
|
|
11264
11264
|
}
|
|
11265
|
-
.
|
|
11265
|
+
._item_17npu_403._heading_17npu_403 {
|
|
11266
11266
|
color: var(--color-text-muted);
|
|
11267
11267
|
background-color: transparent;
|
|
11268
11268
|
}
|
|
11269
|
-
.
|
|
11269
|
+
._item_17npu_403._heading_17npu_403._action_17npu_517:hover {
|
|
11270
11270
|
color: var(--color-text-primary-hover);
|
|
11271
11271
|
}
|
|
11272
|
-
.
|
|
11272
|
+
._item_17npu_403 ._label_17npu_546 {
|
|
11273
11273
|
margin-right: 15px;
|
|
11274
11274
|
margin-left: -5px;
|
|
11275
11275
|
margin-top: -2px;
|
|
11276
11276
|
margin-bottom: -2px;
|
|
11277
11277
|
flex-shrink: 0;
|
|
11278
11278
|
}
|
|
11279
|
-
.
|
|
11280
|
-
.
|
|
11279
|
+
._item_17npu_403 ._details_17npu_553,
|
|
11280
|
+
._item_17npu_403 ._metadata_17npu_554 {
|
|
11281
11281
|
display: block;
|
|
11282
11282
|
width: 100%;
|
|
11283
11283
|
font-weight: normal;
|
|
11284
11284
|
margin-top: 3px;
|
|
11285
11285
|
}
|
|
11286
|
-
.
|
|
11286
|
+
._item_17npu_403 ._metadata_17npu_554 {
|
|
11287
11287
|
color: var(--color-text-muted);
|
|
11288
11288
|
}
|
|
11289
|
-
.
|
|
11289
|
+
._item_17npu_403 ._itemContent_17npu_563 {
|
|
11290
11290
|
padding: 0 20px 12px;
|
|
11291
11291
|
cursor: auto;
|
|
11292
11292
|
}
|
|
11293
|
-
.
|
|
11293
|
+
._item_17npu_403 ._itemContent_17npu_563:empty {
|
|
11294
|
+
padding: inherit;
|
|
11295
|
+
}
|
|
11296
|
+
._indentIcon_17npu_570 {
|
|
11294
11297
|
width: 20px;
|
|
11295
11298
|
flex-shrink: 0;
|
|
11296
11299
|
}
|
|
11297
|
-
.
|
|
11300
|
+
._expandIcon_17npu_574 {
|
|
11298
11301
|
width: 20px;
|
|
11299
11302
|
flex-shrink: 0;
|
|
11300
11303
|
position: relative;
|
|
11301
11304
|
margin-top: 1px;
|
|
11302
11305
|
}
|
|
11303
|
-
.
|
|
11306
|
+
._expandIcon_17npu_574._expanded_17npu_580 svg {
|
|
11304
11307
|
transform: rotate(90deg);
|
|
11305
11308
|
}
|
|
11306
|
-
.
|
|
11309
|
+
._right_17npu_583 {
|
|
11307
11310
|
margin-left: auto;
|
|
11308
11311
|
display: flex;
|
|
11309
11312
|
align-items: center;
|
|
11310
11313
|
margin-top: -2px;
|
|
11311
11314
|
margin-bottom: -2px;
|
|
11312
11315
|
}
|
|
11313
|
-
.
|
|
11316
|
+
._actions_17npu_590 {
|
|
11314
11317
|
margin-left: 8px;
|
|
11315
11318
|
display: flex;
|
|
11316
11319
|
align-items: center;
|
|
11317
11320
|
}
|
|
11318
|
-
.
|
|
11321
|
+
._scrollableList_17npu_595 {
|
|
11319
11322
|
height: 100%;
|
|
11320
11323
|
overflow-y: auto;
|
|
11321
11324
|
scroll-behavior: smooth;
|
|
11322
11325
|
}
|
|
11323
|
-
.
|
|
11326
|
+
._hideScrollbar_17npu_392 {
|
|
11324
11327
|
/* Firefox */
|
|
11325
11328
|
scrollbar-width: none;
|
|
11326
11329
|
/* IE 10+ */
|
|
11327
11330
|
-ms-overflow-style: none;
|
|
11328
11331
|
/* Chrome, Safari and Opera */
|
|
11329
11332
|
}
|
|
11330
|
-
.
|
|
11333
|
+
._hideScrollbar_17npu_392::-webkit-scrollbar {
|
|
11331
11334
|
display: none;
|
|
11332
11335
|
}
|
|
11333
11336
|
/*
|
package/dist/index.js
CHANGED
|
@@ -13948,6 +13948,15 @@ const styles$B = {
|
|
|
13948
13948
|
tabsContent,
|
|
13949
13949
|
resizeHandle
|
|
13950
13950
|
};
|
|
13951
|
+
const TabBadge = ({ badge: badge2, children }) => {
|
|
13952
|
+
if (!badge2)
|
|
13953
|
+
return children;
|
|
13954
|
+
return /* @__PURE__ */ jsxRuntime.exports.jsx(Badge, {
|
|
13955
|
+
small: true,
|
|
13956
|
+
title: badge2,
|
|
13957
|
+
children
|
|
13958
|
+
});
|
|
13959
|
+
};
|
|
13951
13960
|
const DrawerTabs = ({
|
|
13952
13961
|
tabs: tabs2,
|
|
13953
13962
|
activeTab,
|
|
@@ -13969,7 +13978,10 @@ const DrawerTabs = ({
|
|
|
13969
13978
|
style: { background: background2 },
|
|
13970
13979
|
onClick: () => handleTabClick(index2),
|
|
13971
13980
|
"data-testid": testId && `${testId}-icon-${index2}`,
|
|
13972
|
-
children:
|
|
13981
|
+
children: /* @__PURE__ */ jsxRuntime.exports.jsx(TabBadge, {
|
|
13982
|
+
badge: tab2.badge,
|
|
13983
|
+
children: tab2.icon
|
|
13984
|
+
})
|
|
13973
13985
|
}, index2))
|
|
13974
13986
|
}),
|
|
13975
13987
|
tabs2.map((tab2, index2) => {
|
|
@@ -16224,7 +16236,8 @@ Drawer.propTypes = {
|
|
|
16224
16236
|
tabs: propTypes$1.exports.arrayOf(
|
|
16225
16237
|
propTypes$1.exports.shape({
|
|
16226
16238
|
icon: propTypes$1.exports.node,
|
|
16227
|
-
content: propTypes$1.exports.node
|
|
16239
|
+
content: propTypes$1.exports.node,
|
|
16240
|
+
badge: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number])
|
|
16228
16241
|
})
|
|
16229
16242
|
),
|
|
16230
16243
|
testId: propTypes$1.exports.string,
|
|
@@ -25880,42 +25893,42 @@ var InfiniteScroll = function(_super) {
|
|
|
25880
25893
|
};
|
|
25881
25894
|
return InfiniteScroll2;
|
|
25882
25895
|
}(Component$1);
|
|
25883
|
-
const inputInTable$8 = "
|
|
25884
|
-
const inputHover$8 = "
|
|
25885
|
-
const inputFocus$8 = "
|
|
25886
|
-
const inputError$8 = "
|
|
25887
|
-
const inputWarning$8 = "
|
|
25888
|
-
const inputDisabled$8 = "
|
|
25889
|
-
const hideScrollbars$8 = "
|
|
25890
|
-
const header$1 = "
|
|
25891
|
-
const headerTitle = "
|
|
25892
|
-
const heading$3 = "
|
|
25893
|
-
const itemHeader = "
|
|
25894
|
-
const narrow = "
|
|
25895
|
-
const stickyHeader = "
|
|
25896
|
-
const title$4 = "
|
|
25897
|
-
const name = "
|
|
25898
|
-
const iconTooltipMargin = "
|
|
25899
|
-
const bold = "
|
|
25900
|
-
const toggleNarrow = "
|
|
25901
|
-
const drag$1 = "
|
|
25902
|
-
const list$1 = "
|
|
25903
|
-
const bordered$1 = "
|
|
25904
|
-
const item$4 = "
|
|
25905
|
-
const action = "
|
|
25906
|
-
const active$3 = "
|
|
25907
|
-
const disabled$6 = "
|
|
25908
|
-
const label$6 = "
|
|
25909
|
-
const details$2 = "
|
|
25910
|
-
const metadata = "
|
|
25911
|
-
const itemContent = "
|
|
25912
|
-
const indentIcon = "
|
|
25913
|
-
const expandIcon = "
|
|
25914
|
-
const expanded = "
|
|
25915
|
-
const right$4 = "
|
|
25916
|
-
const actions = "
|
|
25917
|
-
const scrollableList = "
|
|
25918
|
-
const hideScrollbar = "
|
|
25896
|
+
const inputInTable$8 = "_inputInTable_17npu_333";
|
|
25897
|
+
const inputHover$8 = "_inputHover_17npu_339";
|
|
25898
|
+
const inputFocus$8 = "_inputFocus_17npu_344";
|
|
25899
|
+
const inputError$8 = "_inputError_17npu_351";
|
|
25900
|
+
const inputWarning$8 = "_inputWarning_17npu_352";
|
|
25901
|
+
const inputDisabled$8 = "_inputDisabled_17npu_387";
|
|
25902
|
+
const hideScrollbars$8 = "_hideScrollbars_17npu_392";
|
|
25903
|
+
const header$1 = "_header_17npu_402";
|
|
25904
|
+
const headerTitle = "_headerTitle_17npu_402";
|
|
25905
|
+
const heading$3 = "_heading_17npu_403";
|
|
25906
|
+
const itemHeader = "_itemHeader_17npu_403";
|
|
25907
|
+
const narrow = "_narrow_17npu_406";
|
|
25908
|
+
const stickyHeader = "_stickyHeader_17npu_410";
|
|
25909
|
+
const title$4 = "_title_17npu_421";
|
|
25910
|
+
const name = "_name_17npu_427";
|
|
25911
|
+
const iconTooltipMargin = "_iconTooltipMargin_17npu_430";
|
|
25912
|
+
const bold = "_bold_17npu_433";
|
|
25913
|
+
const toggleNarrow = "_toggleNarrow_17npu_442";
|
|
25914
|
+
const drag$1 = "_drag_17npu_460";
|
|
25915
|
+
const list$1 = "_list_17npu_480";
|
|
25916
|
+
const bordered$1 = "_bordered_17npu_484";
|
|
25917
|
+
const item$4 = "_item_17npu_403";
|
|
25918
|
+
const action = "_action_17npu_517";
|
|
25919
|
+
const active$3 = "_active_17npu_520";
|
|
25920
|
+
const disabled$6 = "_disabled_17npu_535";
|
|
25921
|
+
const label$6 = "_label_17npu_546";
|
|
25922
|
+
const details$2 = "_details_17npu_553";
|
|
25923
|
+
const metadata = "_metadata_17npu_554";
|
|
25924
|
+
const itemContent = "_itemContent_17npu_563";
|
|
25925
|
+
const indentIcon = "_indentIcon_17npu_570";
|
|
25926
|
+
const expandIcon = "_expandIcon_17npu_574";
|
|
25927
|
+
const expanded = "_expanded_17npu_580";
|
|
25928
|
+
const right$4 = "_right_17npu_583";
|
|
25929
|
+
const actions = "_actions_17npu_590";
|
|
25930
|
+
const scrollableList = "_scrollableList_17npu_595";
|
|
25931
|
+
const hideScrollbar = "_hideScrollbar_17npu_392";
|
|
25919
25932
|
const listStyles = {
|
|
25920
25933
|
inputInTable: inputInTable$8,
|
|
25921
25934
|
inputHover: inputHover$8,
|