@oliasoft-open-source/react-ui-library 5.0.5 → 5.0.7-beta-1

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 CHANGED
@@ -9143,80 +9143,80 @@ button:active .remirror-menu-pane-shortcut,
9143
9143
  width: 8px;
9144
9144
  height: 14px;
9145
9145
  }
9146
- ._inputInTable_9c21g_1 {
9146
+ ._inputInTable_dw6a5_1 {
9147
9147
  background-color: transparent;
9148
9148
  border-radius: inherit !important;
9149
9149
  height: var(--size);
9150
9150
  min-height: 100%;
9151
9151
  }
9152
- ._inputInTable_9c21g_1:not(:hover):not([data-error]):not([data-warning]) {
9152
+ ._inputInTable_dw6a5_1:not(:hover):not([data-error]):not([data-warning]) {
9153
9153
  border-color: transparent;
9154
9154
  }
9155
- ._inputInTable_9c21g_1:not(:focus) {
9155
+ ._inputInTable_dw6a5_1:not(:focus) {
9156
9156
  box-shadow: none;
9157
9157
  }
9158
- ._inputHover_9c21g_13 {
9158
+ ._inputHover_dw6a5_13 {
9159
9159
  position: relative;
9160
9160
  border-color: var(--color-border-hover);
9161
9161
  z-index: 2;
9162
9162
  }
9163
- ._inputFocus_9c21g_18 {
9163
+ ._inputFocus_dw6a5_18 {
9164
9164
  position: relative;
9165
9165
  outline: none !important;
9166
9166
  border-color: var(--color-border-focus) !important;
9167
9167
  box-shadow: var(--shadow-focus);
9168
9168
  z-index: 3;
9169
9169
  }
9170
- ._inputError_9c21g_25,
9171
- ._inputWarning_9c21g_26 {
9170
+ ._inputError_dw6a5_25,
9171
+ ._inputWarning_dw6a5_26 {
9172
9172
  position: relative;
9173
9173
  }
9174
- ._inputError_9c21g_25 {
9174
+ ._inputError_dw6a5_25 {
9175
9175
  z-index: 2;
9176
9176
  border-color: var(--color-border-error);
9177
9177
  color: var(--color-text-error) !important;
9178
9178
  background-color: var(--color-background-error-muted);
9179
9179
  }
9180
- ._inputError_9c21g_25:hover {
9180
+ ._inputError_dw6a5_25:hover {
9181
9181
  border-color: var(--color-border-error-hover) !important;
9182
9182
  }
9183
- ._inputError_9c21g_25:focus {
9183
+ ._inputError_dw6a5_25:focus {
9184
9184
  position: relative;
9185
9185
  outline: none !important;
9186
9186
  border-color: var(--color-border-focus) !important;
9187
9187
  box-shadow: var(--shadow-focus);
9188
9188
  z-index: 3;
9189
9189
  }
9190
- ._inputWarning_9c21g_26 {
9190
+ ._inputWarning_dw6a5_26 {
9191
9191
  z-index: 1;
9192
9192
  border-color: var(--color-border-warning);
9193
9193
  color: var(--color-text-warning) !important;
9194
9194
  background-color: var(--color-background-warning-muted);
9195
9195
  }
9196
- ._inputWarning_9c21g_26:hover {
9196
+ ._inputWarning_dw6a5_26:hover {
9197
9197
  border-color: var(--color-border-warning-hover) !important;
9198
9198
  }
9199
- ._inputWarning_9c21g_26:focus {
9199
+ ._inputWarning_dw6a5_26:focus {
9200
9200
  position: relative;
9201
9201
  outline: none !important;
9202
9202
  border-color: var(--color-border-focus) !important;
9203
9203
  box-shadow: var(--shadow-focus);
9204
9204
  z-index: 3;
9205
9205
  }
9206
- ._inputDisabled_9c21g_61 {
9206
+ ._inputDisabled_dw6a5_61 {
9207
9207
  pointer-events: none;
9208
9208
  background-color: var(--color-background-disabled);
9209
9209
  color: var(--color-text-muted);
9210
9210
  box-shadow: none;
9211
9211
  }
9212
- ._hideScrollbars_9c21g_67 {
9212
+ ._hideScrollbars_dw6a5_67 {
9213
9213
  /* Firefox */
9214
9214
  scrollbar-width: none;
9215
9215
  /* IE 10+ */
9216
9216
  -ms-overflow-style: none;
9217
9217
  /* Chrome, Safari and Opera */
9218
9218
  }
9219
- ._hideScrollbars_9c21g_67::-webkit-scrollbar {
9219
+ ._hideScrollbars_dw6a5_67::-webkit-scrollbar {
9220
9220
  display: none;
9221
9221
  }
9222
9222
  :root {
@@ -9227,7 +9227,7 @@ html[data-theme='dark'] {
9227
9227
  --color-background-table-header: var(--color-neutral-800);
9228
9228
  --color-background-table-row-tinted: var(--color-neutral-800);
9229
9229
  }
9230
- ._wrapper_9c21g_85 {
9230
+ ._wrapper_dw6a5_85 {
9231
9231
  border-radius: inherit;
9232
9232
  max-height: 100%;
9233
9233
  max-width: 100%;
@@ -9235,23 +9235,23 @@ html[data-theme='dark'] {
9235
9235
  flex-direction: column;
9236
9236
  overflow: hidden;
9237
9237
  }
9238
- ._wrapper_9c21g_85._bordered_9c21g_93 {
9238
+ ._wrapper_dw6a5_85._bordered_dw6a5_93 {
9239
9239
  border-radius: var(--border-radius);
9240
9240
  border: 1px solid var(--color-border);
9241
9241
  box-shadow: var(--shadow-card);
9242
9242
  }
9243
- ._scroll_9c21g_98 {
9243
+ ._scroll_dw6a5_98 {
9244
9244
  background: var(--color-background);
9245
9245
  overflow-y: auto;
9246
9246
  border-radius: inherit;
9247
9247
  flex: 1;
9248
9248
  min-height: 0;
9249
9249
  }
9250
- ._scroll_9c21g_98:not(:first-child) {
9250
+ ._scroll_dw6a5_98:not(:first-child) {
9251
9251
  border-top-left-radius: 0;
9252
9252
  border-top-right-radius: 0;
9253
9253
  }
9254
- ._table_9c21g_109 {
9254
+ ._table_dw6a5_109 {
9255
9255
  color: var(--color-text);
9256
9256
  border-collapse: separate;
9257
9257
  border-spacing: 0;
@@ -9259,35 +9259,35 @@ html[data-theme='dark'] {
9259
9259
  width: 100%;
9260
9260
  font-variant-numeric: tabular-nums;
9261
9261
  }
9262
- ._table_9c21g_109 > :first-child {
9262
+ ._table_dw6a5_109 > :first-child {
9263
9263
  border-top-left-radius: inherit;
9264
9264
  border-top-right-radius: inherit;
9265
9265
  }
9266
- ._table_9c21g_109 > :first-child > :first-child {
9266
+ ._table_dw6a5_109 > :first-child > :first-child {
9267
9267
  border-top-left-radius: inherit;
9268
9268
  border-top-right-radius: inherit;
9269
9269
  }
9270
- ._table_9c21g_109 > :first-child > :first-child > :first-child {
9270
+ ._table_dw6a5_109 > :first-child > :first-child > :first-child {
9271
9271
  border-top-left-radius: inherit;
9272
9272
  }
9273
- ._table_9c21g_109 > :first-child > :first-child > :last-child {
9273
+ ._table_dw6a5_109 > :first-child > :first-child > :last-child {
9274
9274
  border-top-right-radius: inherit;
9275
9275
  }
9276
- ._table_9c21g_109 > :last-child {
9276
+ ._table_dw6a5_109 > :last-child {
9277
9277
  border-bottom-left-radius: inherit;
9278
9278
  border-bottom-right-radius: inherit;
9279
9279
  }
9280
- ._table_9c21g_109 > :last-child > :last-child {
9280
+ ._table_dw6a5_109 > :last-child > :last-child {
9281
9281
  border-bottom-left-radius: inherit;
9282
9282
  border-bottom-right-radius: inherit;
9283
9283
  }
9284
- ._table_9c21g_109 > :last-child > :last-child > :first-child {
9284
+ ._table_dw6a5_109 > :last-child > :last-child > :first-child {
9285
9285
  border-bottom-left-radius: inherit;
9286
9286
  }
9287
- ._table_9c21g_109 > :last-child > :last-child > :last-child {
9287
+ ._table_dw6a5_109 > :last-child > :last-child > :last-child {
9288
9288
  border-bottom-right-radius: inherit;
9289
9289
  }
9290
- ._dragOverlay_9c21g_145 {
9290
+ ._dragOverlay_dw6a5_145 {
9291
9291
  box-shadow: var(--shadow-layer);
9292
9292
  border-radius: var(--border-radius);
9293
9293
  overflow: hidden;
@@ -9306,10 +9306,10 @@ th:not(:first-child),
9306
9306
  td:not(:first-child) {
9307
9307
  border-left-width: 1px;
9308
9308
  }
9309
- ._table_9c21g_109 > *:not(:last-child) > tr th,
9310
- ._table_9c21g_109 > *:not(:last-child) > tr td,
9311
- ._table_9c21g_109 > *:last-child > tr:not(:last-child) th,
9312
- ._table_9c21g_109 > *:last-child > tr:not(:last-child) td {
9309
+ ._table_dw6a5_109 > *:not(:last-child) > tr th,
9310
+ ._table_dw6a5_109 > *:not(:last-child) > tr td,
9311
+ ._table_dw6a5_109 > *:last-child > tr:not(:last-child) th,
9312
+ ._table_dw6a5_109 > *:last-child > tr:not(:last-child) td {
9313
9313
  border-bottom-width: 1px;
9314
9314
  }
9315
9315
  @-moz-document url-prefix() {
@@ -9318,6 +9318,10 @@ td:not(:first-child) {
9318
9318
  }
9319
9319
  td,
9320
9320
  th {
9321
+ height: 100%;
9322
+ }
9323
+ ._virtualScroll_dw6a5_178 td,
9324
+ ._virtualScroll_dw6a5_178 th {
9321
9325
  height: auto;
9322
9326
  }
9323
9327
  }
@@ -9336,7 +9340,7 @@ tbody {
9336
9340
  tbody tr {
9337
9341
  background-color: var(--color-background-raised);
9338
9342
  }
9339
- ._striped_9c21g_194 tbody [data-even='true'] {
9343
+ ._striped_dw6a5_198 tbody [data-even='true'] {
9340
9344
  background-color: var(--color-background-table-row-tinted);
9341
9345
  }
9342
9346
  tbody:before {
package/dist/index.js CHANGED
@@ -9431,7 +9431,11 @@ const Input$1 = forwardRef(
9431
9431
  const handleFocus = (e2) => {
9432
9432
  onFocus(e2);
9433
9433
  if (selectOnFocus) {
9434
- setTimeout(() => e2.target.select(), 0);
9434
+ setTimeout(() => {
9435
+ if (e2.target === document.activeElement) {
9436
+ e2.target.select();
9437
+ }
9438
+ }, 0);
9435
9439
  }
9436
9440
  };
9437
9441
  return /* @__PURE__ */ jsx("div", { style: { width }, className: order, children: /* @__PURE__ */ jsx(
@@ -168411,18 +168415,20 @@ const Spacer = ({
168411
168415
  }
168412
168416
  }
168413
168417
  );
168414
- const wrapper = "_wrapper_9c21g_85";
168415
- const bordered = "_bordered_9c21g_93";
168416
- const scroll = "_scroll_9c21g_98";
168417
- const table = "_table_9c21g_109";
168418
- const dragOverlay = "_dragOverlay_9c21g_145";
168419
- const striped = "_striped_9c21g_194";
168418
+ const wrapper = "_wrapper_dw6a5_85";
168419
+ const bordered = "_bordered_dw6a5_93";
168420
+ const scroll = "_scroll_dw6a5_98";
168421
+ const table = "_table_dw6a5_109";
168422
+ const dragOverlay = "_dragOverlay_dw6a5_145";
168423
+ const virtualScroll = "_virtualScroll_dw6a5_178";
168424
+ const striped = "_striped_dw6a5_198";
168420
168425
  const styles$c = {
168421
168426
  wrapper,
168422
168427
  bordered,
168423
168428
  scroll,
168424
168429
  table,
168425
168430
  dragOverlay,
168431
+ virtualScroll,
168426
168432
  striped
168427
168433
  };
168428
168434
  const title$1 = "_title_zn5s7_1";
@@ -169478,7 +169484,15 @@ const TableVirtualScrollWrapper = ({
169478
169484
  height: totalHeight
169479
169485
  };
169480
169486
  };
169481
- return /* @__PURE__ */ jsx("div", { id: "scrollWrapper", className: styles$c.scroll, ref: containerRef, children: children({ virtualizer, tableStyle: getVirtualTableStyle() }) });
169487
+ return /* @__PURE__ */ jsx(
169488
+ "div",
169489
+ {
169490
+ id: "scrollWrapper",
169491
+ className: cx$2(styles$c.scroll, styles$c.virtualScroll),
169492
+ ref: containerRef,
169493
+ children: children({ virtualizer, tableStyle: getVirtualTableStyle() })
169494
+ }
169495
+ );
169482
169496
  };
169483
169497
  const TableScrollWrapper = ({
169484
169498
  table: table2,