@oliasoft-open-source/react-ui-library 4.1.2 → 4.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.
Files changed (49) hide show
  1. package/dist/404.html +1 -1
  2. package/dist/assets/{index-8ad0a531.css → index-4e076e2d.css} +61 -54
  3. package/dist/assets/{index-c1fad522.js → index-b17ea451.js} +37 -34
  4. package/dist/index.d.ts +4 -2
  5. package/dist/index.html +1 -1
  6. package/dist/index.js +5 -1
  7. package/dist/index.js.map +1 -1
  8. package/dist/storybook/assets/{Color-6VNJS4EI-fcadb840.js → Color-6VNJS4EI-d27e5bb5.js} +1 -1
  9. package/dist/storybook/assets/{DocsRenderer-NNNQARDV-2533de58.js → DocsRenderer-NNNQARDV-6a6b4a3d.js} +1 -1
  10. package/dist/storybook/assets/{WithTooltip-4HIR6TLV-f11e9381.js → WithTooltip-4HIR6TLV-ee9133da.js} +1 -1
  11. package/dist/storybook/assets/{afe.stories-81d98513.js → afe.stories-86276073.js} +1 -1
  12. package/dist/storybook/assets/{blowout.stories-2af165bb.js → blowout.stories-0584fa9e.js} +1 -1
  13. package/dist/storybook/assets/{buttons-and-links-1c8ae7a6.js → buttons-and-links-7ae5425e.js} +1 -1
  14. package/dist/storybook/assets/{casing-loads.stories-28b26c48.js → casing-loads.stories-e5e1eaa9.js} +1 -1
  15. package/dist/storybook/assets/{chunk-HLWAVYOI-9bc2e116.js → chunk-HLWAVYOI-2bef6b9b.js} +1 -1
  16. package/dist/storybook/assets/{color-4443720e.js → color-13e423e2.js} +1 -1
  17. package/dist/storybook/assets/{drawer-3f83a4d2.js → drawer-7f450988.js} +2 -2
  18. package/dist/storybook/assets/drawer-e350211a.css +1 -0
  19. package/dist/storybook/assets/{drawer.stories-89a4e1bb.js → drawer.stories-2512fef1.js} +1 -1
  20. package/dist/storybook/assets/{file-input.stories-0e546123.js → file-input.stories-b496f4ea.js} +1 -1
  21. package/dist/storybook/assets/{form.stories-c02bea64.js → form.stories-431b9233.js} +1 -1
  22. package/dist/storybook/assets/{formation.stories-425327da.js → formation.stories-262bd728.js} +1 -1
  23. package/dist/storybook/assets/{formatter-SWP5E3XI-47836cd9.js → formatter-SWP5E3XI-5228d2cc.js} +1 -1
  24. package/dist/storybook/assets/iframe-a2fe9ab2.js +1 -0
  25. package/dist/storybook/assets/{index-5b92cd01.js → index-8cfd8772.js} +4 -4
  26. package/dist/storybook/assets/{input-validation-3a6661e4.js → input-validation-ded4be10.js} +1 -1
  27. package/dist/storybook/assets/{inputs-10a539e4.js → inputs-7cd3baeb.js} +1 -1
  28. package/dist/storybook/assets/{layout-forms-659a3050.js → layout-forms-23e415b3.js} +1 -1
  29. package/dist/storybook/assets/{layout-general-47c0a175.js → layout-general-10455156.js} +1 -1
  30. package/dist/storybook/assets/{padding-and-spacing-7aa7701c.js → padding-and-spacing-622b1fd7.js} +1 -1
  31. package/dist/storybook/assets/{page.stories-f1dbfb8f.js → page.stories-87c7b257.js} +1 -1
  32. package/dist/storybook/assets/preview-327d400b.js +1 -0
  33. package/dist/storybook/assets/{preview-c8f75f89.js → preview-d06c675f.js} +1 -1
  34. package/dist/storybook/assets/{reservoirs.stories-947b8763.js → reservoirs.stories-457be056.js} +1 -1
  35. package/dist/storybook/assets/{side-bar-3f68848d.js → side-bar-f26ab0ce.js} +1 -1
  36. package/dist/storybook/assets/{side-bar.stories-e9280e56.js → side-bar.stories-d5504e52.js} +1 -1
  37. package/dist/storybook/assets/{site.stories-e9c1c143.js → site.stories-46091c50.js} +1 -1
  38. package/dist/storybook/assets/{syntaxhighlighter-NMPM6SWI-87964e94.js → syntaxhighlighter-NMPM6SWI-f9c29eb0.js} +1 -1
  39. package/dist/storybook/assets/{table.stories-bc0b72fb.js → table.stories-4b91e144.js} +63 -16
  40. package/dist/storybook/assets/{textarea-54dd1c9a.js → textarea-eef180d9.js} +1 -1
  41. package/dist/storybook/assets/{textarea.stories-4b85aa60.js → textarea.stories-4182caf6.js} +1 -1
  42. package/dist/storybook/iframe.html +1 -1
  43. package/dist/storybook/index.json +1 -1
  44. package/dist/storybook/project.json +1 -1
  45. package/dist/storybook/stories.json +1 -1
  46. package/package.json +1 -1
  47. package/dist/storybook/assets/drawer-21c7feed.css +0 -1
  48. package/dist/storybook/assets/iframe-39743b5e.js +0 -1
  49. package/dist/storybook/assets/preview-56b87e3d.js +0 -1
package/dist/404.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-c1fad522.js"></script><link rel="stylesheet" href="/react-ui-library/assets/index-8ad0a531.css"></head><body><div id="content"></div></body>
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-b17ea451.js"></script><link rel="stylesheet" href="/react-ui-library/assets/index-4e076e2d.css"></head><body><div id="content"></div></body>
@@ -2188,80 +2188,80 @@ html[data-theme='dark'] {
2188
2188
  ._footer_18g0k_47 button:not(:last-child) {
2189
2189
  margin-right: var(--padding-sm);
2190
2190
  }
2191
- ._inputInTable_vn7pb_1 {
2191
+ ._inputInTable_khmhl_1 {
2192
2192
  background-color: transparent;
2193
2193
  border-radius: inherit !important;
2194
2194
  height: var(--size);
2195
2195
  min-height: 100%;
2196
2196
  }
2197
- ._inputInTable_vn7pb_1:not(:hover) {
2197
+ ._inputInTable_khmhl_1:not(:hover) {
2198
2198
  border-color: transparent;
2199
2199
  }
2200
- ._inputInTable_vn7pb_1:not(:focus) {
2200
+ ._inputInTable_khmhl_1:not(:focus) {
2201
2201
  box-shadow: none;
2202
2202
  }
2203
- ._inputHover_vn7pb_13 {
2203
+ ._inputHover_khmhl_13 {
2204
2204
  position: relative;
2205
2205
  border-color: var(--color-border-hover);
2206
2206
  z-index: 2;
2207
2207
  }
2208
- ._inputFocus_vn7pb_18 {
2208
+ ._inputFocus_khmhl_18 {
2209
2209
  position: relative;
2210
2210
  outline: none !important;
2211
2211
  border-color: var(--color-border-focus) !important;
2212
2212
  box-shadow: var(--shadow-focus);
2213
2213
  z-index: 3;
2214
2214
  }
2215
- ._inputError_vn7pb_25,
2216
- ._inputWarning_vn7pb_26 {
2215
+ ._inputError_khmhl_25,
2216
+ ._inputWarning_khmhl_26 {
2217
2217
  position: relative;
2218
2218
  }
2219
- ._inputError_vn7pb_25 {
2219
+ ._inputError_khmhl_25 {
2220
2220
  z-index: 2;
2221
2221
  border-color: var(--color-border-error);
2222
2222
  color: var(--color-text-error) !important;
2223
2223
  background-color: var(--color-background-error-muted);
2224
2224
  }
2225
- ._inputError_vn7pb_25:hover {
2225
+ ._inputError_khmhl_25:hover {
2226
2226
  border-color: var(--color-border-error-hover) !important;
2227
2227
  }
2228
- ._inputError_vn7pb_25:focus {
2228
+ ._inputError_khmhl_25:focus {
2229
2229
  position: relative;
2230
2230
  outline: none !important;
2231
2231
  border-color: var(--color-border-focus) !important;
2232
2232
  box-shadow: var(--shadow-focus);
2233
2233
  z-index: 3;
2234
2234
  }
2235
- ._inputWarning_vn7pb_26 {
2235
+ ._inputWarning_khmhl_26 {
2236
2236
  z-index: 1;
2237
2237
  border-color: var(--color-border-warning);
2238
2238
  color: var(--color-text-warning) !important;
2239
2239
  background-color: var(--color-background-warning-muted);
2240
2240
  }
2241
- ._inputWarning_vn7pb_26:hover {
2241
+ ._inputWarning_khmhl_26:hover {
2242
2242
  border-color: var(--color-border-warning-hover) !important;
2243
2243
  }
2244
- ._inputWarning_vn7pb_26:focus {
2244
+ ._inputWarning_khmhl_26:focus {
2245
2245
  position: relative;
2246
2246
  outline: none !important;
2247
2247
  border-color: var(--color-border-focus) !important;
2248
2248
  box-shadow: var(--shadow-focus);
2249
2249
  z-index: 3;
2250
2250
  }
2251
- ._inputDisabled_vn7pb_61 {
2251
+ ._inputDisabled_khmhl_61 {
2252
2252
  pointer-events: none;
2253
2253
  background-color: var(--color-background-disabled);
2254
2254
  color: var(--color-text-muted);
2255
2255
  box-shadow: none;
2256
2256
  }
2257
- ._hideScrollbars_vn7pb_67 {
2257
+ ._hideScrollbars_khmhl_67 {
2258
2258
  /* Firefox */
2259
2259
  scrollbar-width: none;
2260
2260
  /* IE 10+ */
2261
2261
  -ms-overflow-style: none;
2262
2262
  /* Chrome, Safari and Opera */
2263
2263
  }
2264
- ._hideScrollbars_vn7pb_67::-webkit-scrollbar {
2264
+ ._hideScrollbars_khmhl_67::-webkit-scrollbar {
2265
2265
  display: none;
2266
2266
  }
2267
2267
  :root {
@@ -2277,37 +2277,37 @@ html[data-theme='dark'] {
2277
2277
  --color-border-drawer-tab: black;
2278
2278
  --color-background-drawer-handle-hover: rgba(255, 255, 255, 0.1);
2279
2279
  }
2280
- ._inline_vn7pb_90 {
2280
+ ._inline_khmhl_90 {
2281
2281
  position: relative;
2282
2282
  }
2283
- ._inline_vn7pb_90._left_vn7pb_93 {
2283
+ ._inline_khmhl_90._left_khmhl_93 {
2284
2284
  order: -1;
2285
2285
  }
2286
- ._inline_vn7pb_90._right_vn7pb_96 {
2286
+ ._inline_khmhl_90._right_khmhl_96 {
2287
2287
  order: 9999;
2288
2288
  }
2289
- ._fixed_vn7pb_99 {
2289
+ ._fixed_khmhl_99 {
2290
2290
  position: fixed;
2291
2291
  top: 0;
2292
2292
  bottom: 0;
2293
2293
  z-index: var(--zindex-drawer);
2294
2294
  }
2295
- ._fixed_vn7pb_99._left_vn7pb_93 {
2295
+ ._fixed_khmhl_99._left_khmhl_93 {
2296
2296
  left: 0;
2297
2297
  }
2298
- ._fixed_vn7pb_99._right_vn7pb_96 {
2298
+ ._fixed_khmhl_99._right_khmhl_96 {
2299
2299
  right: 0;
2300
2300
  }
2301
- ._left_vn7pb_93 ._border_vn7pb_111 {
2301
+ ._left_khmhl_93 ._border_khmhl_111 {
2302
2302
  border-right: 1px solid var(--color-border);
2303
2303
  }
2304
- ._right_vn7pb_96 ._border_vn7pb_111 {
2304
+ ._right_khmhl_96 ._border_khmhl_111 {
2305
2305
  border-left: 1px solid var(--color-border);
2306
2306
  }
2307
- ._shadow_vn7pb_117 {
2307
+ ._shadow_khmhl_117 {
2308
2308
  box-shadow: var(--shadow-layer);
2309
2309
  }
2310
- ._drawerContent_vn7pb_120 {
2310
+ ._drawerContent_khmhl_120 {
2311
2311
  overflow-x: hidden;
2312
2312
  overflow-y: auto;
2313
2313
  max-height: 100%;
@@ -2319,40 +2319,40 @@ html[data-theme='dark'] {
2319
2319
  -ms-overflow-style: none;
2320
2320
  /* Chrome, Safari and Opera */
2321
2321
  }
2322
- ._isResizing_vn7pb_132 ._drawerContent_vn7pb_120 {
2322
+ ._isResizing_khmhl_132 ._drawerContent_khmhl_120 {
2323
2323
  transition: none;
2324
2324
  }
2325
2325
  @media print {
2326
- ._drawerContent_vn7pb_120 {
2326
+ ._drawerContent_khmhl_120 {
2327
2327
  background: transparent !important;
2328
2328
  }
2329
2329
  }
2330
- ._drawerContent_vn7pb_120::-webkit-scrollbar {
2330
+ ._drawerContent_khmhl_120::-webkit-scrollbar {
2331
2331
  display: none;
2332
2332
  }
2333
- ._toggleButton_vn7pb_143 {
2333
+ ._toggleButton_khmhl_143 {
2334
2334
  transition: transform 0.2s;
2335
2335
  display: inline-block;
2336
2336
  transform: rotate(180deg);
2337
2337
  position: absolute;
2338
2338
  z-index: calc(var(--zindex-drawer) + 3);
2339
2339
  }
2340
- ._left_vn7pb_93 ._toggleButton_vn7pb_143 {
2340
+ ._left_khmhl_93 ._toggleButton_khmhl_143 {
2341
2341
  right: calc(var(--size) / -2);
2342
2342
  }
2343
- ._right_vn7pb_96 ._toggleButton_vn7pb_143 {
2343
+ ._right_khmhl_96 ._toggleButton_khmhl_143 {
2344
2344
  left: calc(var(--size) / -2);
2345
2345
  }
2346
- ._toggleButton_vn7pb_143._top_vn7pb_156 {
2346
+ ._toggleButton_khmhl_143._top_khmhl_156 {
2347
2347
  top: var(--padding);
2348
2348
  }
2349
- ._toggleButton_vn7pb_143._bottom_vn7pb_159 {
2349
+ ._toggleButton_khmhl_143._bottom_khmhl_159 {
2350
2350
  bottom: var(--padding);
2351
2351
  }
2352
- ._toggleButton_vn7pb_143._toggleButtonOpen_vn7pb_162 {
2352
+ ._toggleButton_khmhl_143._toggleButtonOpen_khmhl_162 {
2353
2353
  transform: rotate(0deg);
2354
2354
  }
2355
- ._tabs_vn7pb_165 {
2355
+ ._tabs_khmhl_165 {
2356
2356
  position: absolute;
2357
2357
  top: 0;
2358
2358
  bottom: 0;
@@ -2362,13 +2362,13 @@ html[data-theme='dark'] {
2362
2362
  border-left: 1px solid var(--color-border);
2363
2363
  border-right: 1px solid var(--color-border);
2364
2364
  }
2365
- ._left_vn7pb_93 ._tabs_vn7pb_165 {
2365
+ ._left_khmhl_93 ._tabs_khmhl_165 {
2366
2366
  right: 0;
2367
2367
  }
2368
- ._right_vn7pb_96 ._tabs_vn7pb_165 {
2368
+ ._right_khmhl_96 ._tabs_khmhl_165 {
2369
2369
  left: 0;
2370
2370
  }
2371
- ._tabs_vn7pb_165 ._tab_vn7pb_165 {
2371
+ ._tabs_khmhl_165 ._tab_khmhl_165 {
2372
2372
  font-size: var(--size-sm);
2373
2373
  height: var(--size-drawer-tabs);
2374
2374
  width: var(--size-drawer-tabs);
@@ -2380,42 +2380,49 @@ html[data-theme='dark'] {
2380
2380
  transition: color 0.2s, background-color 0.2s;
2381
2381
  border: 1px solid var(--color-border-drawer-tab);
2382
2382
  }
2383
- ._left_vn7pb_93 ._tabs_vn7pb_165 ._tab_vn7pb_165 {
2383
+ ._left_khmhl_93 ._tabs_khmhl_165 ._tab_khmhl_165 {
2384
2384
  border-top-left-radius: 0;
2385
2385
  border-bottom-left-radius: 0;
2386
2386
  }
2387
- ._left_vn7pb_93 ._tabs_vn7pb_165 ._tab_vn7pb_165._active_vn7pb_197 {
2387
+ ._left_khmhl_93 ._tabs_khmhl_165 ._tab_khmhl_165._active_khmhl_197 {
2388
2388
  border-left-color: transparent;
2389
2389
  }
2390
- ._right_vn7pb_96 ._tabs_vn7pb_165 ._tab_vn7pb_165 {
2390
+ ._right_khmhl_96 ._tabs_khmhl_165 ._tab_khmhl_165 {
2391
2391
  border-top-right-radius: 0;
2392
2392
  border-bottom-right-radius: 0;
2393
2393
  }
2394
- ._right_vn7pb_96 ._tabs_vn7pb_165 ._tab_vn7pb_165._active_vn7pb_197 {
2394
+ ._right_khmhl_96 ._tabs_khmhl_165 ._tab_khmhl_165._active_khmhl_197 {
2395
2395
  border-right-color: transparent;
2396
2396
  }
2397
- ._tabs_vn7pb_165 ._tab_vn7pb_165:not(._active_vn7pb_197) {
2397
+ ._tabs_khmhl_165 ._tab_khmhl_165:not(._active_khmhl_197) {
2398
2398
  color: var(--color-text-primary);
2399
2399
  background-color: var(--color-background-drawer-tab) !important;
2400
2400
  }
2401
- ._tabs_vn7pb_165 ._tab_vn7pb_165:not(._active_vn7pb_197):hover {
2401
+ ._tabs_khmhl_165 ._tab_khmhl_165:not(._active_khmhl_197):hover {
2402
2402
  color: var(--color-text);
2403
2403
  background-color: var(--color-background-drawer-tab-hover) !important;
2404
2404
  }
2405
- ._tabs_vn7pb_165 ._tab_vn7pb_165._active_vn7pb_197 {
2405
+ ._tabs_khmhl_165 ._tab_khmhl_165._active_khmhl_197 {
2406
2406
  color: var(--color-text);
2407
2407
  border-color: var(--color-border);
2408
2408
  }
2409
- ._tabs_vn7pb_165 ._tab_vn7pb_165 svg {
2409
+ ._tabs_khmhl_165 ._tab_khmhl_165 svg {
2410
2410
  stroke-width: 1.125;
2411
2411
  }
2412
- ._left_vn7pb_93 ._tabsContent_vn7pb_222 {
2412
+ ._tabs_khmhl_165 ._tab_khmhl_165._disabled_khmhl_222 {
2413
+ cursor: default;
2414
+ pointer-events: none;
2415
+ color: var(--color-text-faint) !important;
2416
+ background-color: var(--color-background-disabled) !important;
2417
+ border-color: var(--color-border) !important;
2418
+ }
2419
+ ._left_khmhl_93 ._tabsContent_khmhl_229 {
2413
2420
  padding-right: calc(var(--size-drawer-tabs) - 1px);
2414
2421
  }
2415
- ._right_vn7pb_96 ._tabsContent_vn7pb_222 {
2422
+ ._right_khmhl_96 ._tabsContent_khmhl_229 {
2416
2423
  padding-left: calc(var(--size-drawer-tabs) - 1px);
2417
2424
  }
2418
- ._resizeHandle_vn7pb_228 {
2425
+ ._resizeHandle_khmhl_235 {
2419
2426
  --size-resize-handle: 10px;
2420
2427
  position: absolute;
2421
2428
  top: 0;
@@ -2429,18 +2436,18 @@ html[data-theme='dark'] {
2429
2436
  font-size: var(--size-resize-handle);
2430
2437
  transition: all 0.2s;
2431
2438
  }
2432
- ._resizeHandle_vn7pb_228:hover {
2439
+ ._resizeHandle_khmhl_235:hover {
2433
2440
  background: var(--color-background-drawer-handle-hover);
2434
2441
  color: var(--color-text-primary);
2435
2442
  }
2436
- ._resizeHandle_vn7pb_228:active {
2443
+ ._resizeHandle_khmhl_235:active {
2437
2444
  background: var(--color-text-primary);
2438
2445
  color: white;
2439
2446
  }
2440
- ._left_vn7pb_93 ._resizeHandle_vn7pb_228 {
2447
+ ._left_khmhl_93 ._resizeHandle_khmhl_235 {
2441
2448
  right: 0;
2442
2449
  }
2443
- ._right_vn7pb_96 ._resizeHandle_vn7pb_228 {
2450
+ ._right_khmhl_96 ._resizeHandle_khmhl_235 {
2444
2451
  left: 0;
2445
2452
  }
2446
2453
  ._empty_fe425_1 {
@@ -10572,7 +10572,7 @@ const checkbox = "_checkbox_1ybyr_1";
10572
10572
  const noLabel = "_noLabel_1ybyr_17";
10573
10573
  const small$d = "_small_1ybyr_20";
10574
10574
  const checkmark = "_checkmark_1ybyr_43";
10575
- const disabled$9 = "_disabled_1ybyr_67";
10575
+ const disabled$a = "_disabled_1ybyr_67";
10576
10576
  const noMargin$2 = "_noMargin_1ybyr_81";
10577
10577
  const isInTable$4 = "_isInTable_1ybyr_84";
10578
10578
  const helpIconEnabled$2 = "_helpIconEnabled_1ybyr_87";
@@ -10581,7 +10581,7 @@ const styles$S = {
10581
10581
  noLabel,
10582
10582
  small: small$d,
10583
10583
  checkmark,
10584
- disabled: disabled$9,
10584
+ disabled: disabled$a,
10585
10585
  noMargin: noMargin$2,
10586
10586
  isInTable: isInTable$4,
10587
10587
  helpIconEnabled: helpIconEnabled$2
@@ -18232,7 +18232,7 @@ const icon$5 = "_icon_1rzkf_147";
18232
18232
  const iconOnly = "_iconOnly_1rzkf_153";
18233
18233
  const basic = "_basic_1rzkf_163";
18234
18234
  const muted$2 = "_muted_1rzkf_169";
18235
- const disabled$8 = "_disabled_1rzkf_188";
18235
+ const disabled$9 = "_disabled_1rzkf_188";
18236
18236
  const small$c = "_small_1rzkf_198";
18237
18237
  const pill = "_pill_1rzkf_203";
18238
18238
  const round = "_round_1rzkf_204";
@@ -18259,7 +18259,7 @@ const buttonStyles = {
18259
18259
  iconOnly,
18260
18260
  basic,
18261
18261
  muted: muted$2,
18262
- disabled: disabled$8,
18262
+ disabled: disabled$9,
18263
18263
  small: small$c,
18264
18264
  pill,
18265
18265
  round,
@@ -18428,7 +18428,7 @@ const description$2 = "_description_uioq1_151";
18428
18428
  const arrow$1 = "_arrow_uioq1_155";
18429
18429
  const divider$1 = "_divider_uioq1_159";
18430
18430
  const deprecatedSemanticIcon = "_deprecatedSemanticIcon_uioq1_163";
18431
- const disabled$7 = "_disabled_uioq1_167";
18431
+ const disabled$8 = "_disabled_uioq1_167";
18432
18432
  const buttonLabel = "_buttonLabel_uioq1_172";
18433
18433
  const buttonCaret = "_buttonCaret_uioq1_178";
18434
18434
  const component = "_component_uioq1_182";
@@ -18457,7 +18457,7 @@ const styles$M = {
18457
18457
  arrow: arrow$1,
18458
18458
  divider: divider$1,
18459
18459
  deprecatedSemanticIcon,
18460
- disabled: disabled$7,
18460
+ disabled: disabled$8,
18461
18461
  buttonLabel,
18462
18462
  buttonCaret,
18463
18463
  component,
@@ -19257,14 +19257,14 @@ const breadcrumb = "_breadcrumb_2k0cd_1";
19257
19257
  const small$a = "_small_2k0cd_4";
19258
19258
  const labelContainer = "_labelContainer_2k0cd_7";
19259
19259
  const active$5 = "_active_2k0cd_17";
19260
- const disabled$6 = "_disabled_2k0cd_22";
19260
+ const disabled$7 = "_disabled_2k0cd_22";
19261
19261
  const separator = "_separator_2k0cd_27";
19262
19262
  const styles$K = {
19263
19263
  breadcrumb,
19264
19264
  small: small$a,
19265
19265
  labelContainer,
19266
19266
  active: active$5,
19267
- disabled: disabled$6,
19267
+ disabled: disabled$7,
19268
19268
  separator
19269
19269
  };
19270
19270
  const label$8 = "_label_iu2wi_1";
@@ -20613,30 +20613,31 @@ const styles$E = {
20613
20613
  content: content$3,
20614
20614
  footer: footer$2
20615
20615
  };
20616
- const inputInTable$a = "_inputInTable_vn7pb_1";
20617
- const inputHover$a = "_inputHover_vn7pb_13";
20618
- const inputFocus$a = "_inputFocus_vn7pb_18";
20619
- const inputError$a = "_inputError_vn7pb_25";
20620
- const inputWarning$a = "_inputWarning_vn7pb_26";
20621
- const inputDisabled$a = "_inputDisabled_vn7pb_61";
20622
- const hideScrollbars$a = "_hideScrollbars_vn7pb_67";
20623
- const inline$2 = "_inline_vn7pb_90";
20624
- const left$2 = "_left_vn7pb_93";
20625
- const right$6 = "_right_vn7pb_96";
20626
- const fixed$1 = "_fixed_vn7pb_99";
20627
- const border$1 = "_border_vn7pb_111";
20628
- const shadow = "_shadow_vn7pb_117";
20629
- const drawerContent = "_drawerContent_vn7pb_120";
20630
- const isResizing = "_isResizing_vn7pb_132";
20631
- const toggleButton = "_toggleButton_vn7pb_143";
20632
- const top = "_top_vn7pb_156";
20633
- const bottom = "_bottom_vn7pb_159";
20634
- const toggleButtonOpen = "_toggleButtonOpen_vn7pb_162";
20635
- const tabs$1 = "_tabs_vn7pb_165";
20636
- const tab$1 = "_tab_vn7pb_165";
20637
- const active$4 = "_active_vn7pb_197";
20638
- const tabsContent = "_tabsContent_vn7pb_222";
20639
- const resizeHandle = "_resizeHandle_vn7pb_228";
20616
+ const inputInTable$a = "_inputInTable_khmhl_1";
20617
+ const inputHover$a = "_inputHover_khmhl_13";
20618
+ const inputFocus$a = "_inputFocus_khmhl_18";
20619
+ const inputError$a = "_inputError_khmhl_25";
20620
+ const inputWarning$a = "_inputWarning_khmhl_26";
20621
+ const inputDisabled$a = "_inputDisabled_khmhl_61";
20622
+ const hideScrollbars$a = "_hideScrollbars_khmhl_67";
20623
+ const inline$2 = "_inline_khmhl_90";
20624
+ const left$2 = "_left_khmhl_93";
20625
+ const right$6 = "_right_khmhl_96";
20626
+ const fixed$1 = "_fixed_khmhl_99";
20627
+ const border$1 = "_border_khmhl_111";
20628
+ const shadow = "_shadow_khmhl_117";
20629
+ const drawerContent = "_drawerContent_khmhl_120";
20630
+ const isResizing = "_isResizing_khmhl_132";
20631
+ const toggleButton = "_toggleButton_khmhl_143";
20632
+ const top = "_top_khmhl_156";
20633
+ const bottom = "_bottom_khmhl_159";
20634
+ const toggleButtonOpen = "_toggleButtonOpen_khmhl_162";
20635
+ const tabs$1 = "_tabs_khmhl_165";
20636
+ const tab$1 = "_tab_khmhl_165";
20637
+ const active$4 = "_active_khmhl_197";
20638
+ const disabled$6 = "_disabled_khmhl_222";
20639
+ const tabsContent = "_tabsContent_khmhl_229";
20640
+ const resizeHandle = "_resizeHandle_khmhl_235";
20640
20641
  const styles$D = {
20641
20642
  inputInTable: inputInTable$a,
20642
20643
  inputHover: inputHover$a,
@@ -20660,6 +20661,7 @@ const styles$D = {
20660
20661
  tabs: tabs$1,
20661
20662
  tab: tab$1,
20662
20663
  active: active$4,
20664
+ disabled: disabled$6,
20663
20665
  tabsContent,
20664
20666
  resizeHandle
20665
20667
  };
@@ -20683,10 +20685,11 @@ const DrawerTabs = ({
20683
20685
  {
20684
20686
  className: cx$2(
20685
20687
  styles$D.tab,
20686
- activeTab === index2 && open ? styles$D.active : ""
20688
+ activeTab === index2 && open ? styles$D.active : "",
20689
+ tab2.disabled ? styles$D.disabled : ""
20687
20690
  ),
20688
20691
  style: { background: background2 },
20689
- onClick: () => handleTabClick(index2),
20692
+ onClick: !tab2.disabled ? () => handleTabClick(index2) : void 0,
20690
20693
  "data-testid": testId && `${testId}-icon-${index2}`,
20691
20694
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(TabBadge, { badge: tab2.badge, children: tab2.icon })
20692
20695
  },
package/dist/index.d.ts CHANGED
@@ -74,6 +74,8 @@ export declare const Dialog: ({ dialog }: IDialogProps) => JSX_2.Element;
74
74
 
75
75
  export declare const DisabledContext: React_2.Context<boolean>;
76
76
 
77
+ export declare const dismissToast: (id: Id) => void;
78
+
77
79
  export declare const Divider: ({ children, margin, color, align, }: IDividerProps) => JSX_2.Element;
78
80
 
79
81
  export declare const Drawer: ({ background, fixed, open: openProp, setOpen: setOpenProp, right, width, closedWidth, shadow, top, button, buttonAnimate, buttonPosition, border, children, tabs, defaultTabIndex, activeTab: activeTabProp, setActiveTab: setActiveTabProp, testId, onResize, getActiveTab, onClose, onOpen, }: IDrawerProps) => JSX_2.Element;
@@ -778,7 +780,7 @@ export declare interface IMessageProps {
778
780
  message: IMessage;
779
781
  }
780
782
 
781
- declare type IMessageType = {
783
+ export declare type IMessageType = {
782
784
  type?: TMessageType | string;
783
785
  icon?: boolean;
784
786
  heading?: string | number;
@@ -1359,7 +1361,7 @@ export declare interface ITextProps {
1359
1361
  export declare interface IToastProps {
1360
1362
  id?: Id;
1361
1363
  message: IMessageType;
1362
- autoClose?: number;
1364
+ autoClose?: number | false;
1363
1365
  onClose?: TEmpty;
1364
1366
  }
1365
1367
 
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-c1fad522.js"></script><link rel="stylesheet" href="/react-ui-library/assets/index-8ad0a531.css"></head><body><div id="content"></div></body>
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-b17ea451.js"></script><link rel="stylesheet" href="/react-ui-library/assets/index-4e076e2d.css"></head><body><div id="content"></div></body>
package/dist/index.js CHANGED
@@ -65194,7 +65194,7 @@ const toast = ({
65194
65194
  toastId: id2,
65195
65195
  autoClose,
65196
65196
  onClose,
65197
- hideProgressBar: false,
65197
+ hideProgressBar: autoClose === false,
65198
65198
  icon: false,
65199
65199
  closeOnClick: false,
65200
65200
  pauseOnHover: true,
@@ -65204,6 +65204,9 @@ const toast = ({
65204
65204
  type: toastType
65205
65205
  });
65206
65206
  };
65207
+ const dismissToast = (id2) => {
65208
+ toast$1.dismiss(id2);
65209
+ };
65207
65210
  const toggle$1 = "_toggle_1mo1i_9";
65208
65211
  const small = "_small_1mo1i_25";
65209
65212
  const disabled = "_disabled_1mo1i_102";
@@ -77464,6 +77467,7 @@ export {
77464
77467
  TopBar,
77465
77468
  Tree,
77466
77469
  TriggerType,
77470
+ dismissToast,
77467
77471
  readFile,
77468
77472
  toast,
77469
77473
  useFocus,