@oliasoft-open-source/react-ui-library 3.9.2 → 3.9.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.
package/dist/global.css CHANGED
@@ -4218,7 +4218,7 @@ html[data-theme='dark'] {
4218
4218
  --color-border-button-hover: var(--color-border);
4219
4219
  --color-text-button-muted: rgba(255, 255, 255, 0.4);
4220
4220
  }
4221
- ._button_1uuml_367 {
4221
+ ._button_1qp1u_367 {
4222
4222
  cursor: pointer;
4223
4223
  display: inline-flex;
4224
4224
  align-items: center;
@@ -4244,82 +4244,82 @@ html[data-theme='dark'] {
4244
4244
  min-height: 38px;
4245
4245
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
4246
4246
  }
4247
- ._button_1uuml_367:hover {
4247
+ ._button_1qp1u_367:hover {
4248
4248
  background: var(--color-background-button-default-hover);
4249
4249
  border-color: var(--color-border-button-hover);
4250
4250
  }
4251
- ._button_1uuml_367:focus {
4251
+ ._button_1qp1u_367:focus {
4252
4252
  box-shadow: var(--shadow-focus);
4253
4253
  }
4254
- ._button_1uuml_367:active {
4254
+ ._button_1qp1u_367:active {
4255
4255
  background: var(--color-background-button-default-active);
4256
4256
  box-shadow: none;
4257
4257
  }
4258
- ._button_1uuml_367._active_1uuml_404:not(._green_1uuml_404):not(._red_1uuml_404):not(._orange_1uuml_404) {
4258
+ ._button_1qp1u_367._active_1qp1u_404:not(._green_1qp1u_404):not(._red_1qp1u_404):not(._orange_1qp1u_404) {
4259
4259
  border-color: var(--color-background-button-primary);
4260
4260
  color: var(--color-text-primary);
4261
4261
  position: relative;
4262
4262
  z-index: 2;
4263
4263
  }
4264
- ._button_1uuml_367:hover,
4265
- ._button_1uuml_367:focus,
4266
- ._button_1uuml_367:active {
4264
+ ._button_1qp1u_367:hover,
4265
+ ._button_1qp1u_367:focus,
4266
+ ._button_1qp1u_367:active {
4267
4267
  position: relative;
4268
4268
  z-index: 1;
4269
4269
  }
4270
- ._button_1uuml_367 ._icon_1uuml_416 {
4270
+ ._button_1qp1u_367 ._icon_1qp1u_416 {
4271
4271
  margin: 0 8px 0 -4px;
4272
4272
  }
4273
- ._button_1uuml_367 ._icon_1uuml_416 svg {
4273
+ ._button_1qp1u_367 ._icon_1qp1u_416 svg {
4274
4274
  height: 14px;
4275
4275
  width: 14px;
4276
4276
  }
4277
- ._iconOnly_1uuml_423 {
4277
+ ._iconOnly_1qp1u_423 {
4278
4278
  padding: 0.78571429em 0.78571429em 0.78571429em;
4279
4279
  display: inline-flex;
4280
4280
  align-items: center;
4281
4281
  justify-content: center;
4282
4282
  }
4283
- ._iconOnly_1uuml_423 ._icon_1uuml_416 {
4283
+ ._iconOnly_1qp1u_423 ._icon_1qp1u_416 {
4284
4284
  margin: 0;
4285
4285
  line-height: 0;
4286
4286
  }
4287
- ._basic_1uuml_433 {
4287
+ ._basic_1qp1u_433 {
4288
4288
  color: var(--color-text-primary);
4289
4289
  background: transparent;
4290
4290
  box-shadow: none !important;
4291
4291
  border: none !important;
4292
4292
  }
4293
- ._basic_1uuml_433._muted_1uuml_439 {
4293
+ ._basic_1qp1u_433._muted_1qp1u_439 {
4294
4294
  color: var(--color-text-button-muted);
4295
4295
  }
4296
- ._basic_1uuml_433:hover,
4297
- ._basic_1uuml_433:focus {
4296
+ ._basic_1qp1u_433:hover,
4297
+ ._basic_1qp1u_433:focus {
4298
4298
  color: var(--color-text-primary-hover);
4299
4299
  background: rgba(0, 0, 0, 0.05);
4300
4300
  }
4301
- ._basic_1uuml_433:active,
4302
- ._basic_1uuml_433._active_1uuml_404 {
4301
+ ._basic_1qp1u_433:active,
4302
+ ._basic_1qp1u_433._active_1qp1u_404 {
4303
4303
  color: var(--color-text-primary-active);
4304
4304
  background: rgba(0, 0, 0, 0.1);
4305
4305
  }
4306
- ._disabled_1uuml_452 {
4306
+ ._disabled_1qp1u_452 {
4307
4307
  cursor: default;
4308
4308
  pointer-events: none !important;
4309
4309
  color: var(--color-text-faint) !important;
4310
4310
  box-shadow: none !important;
4311
4311
  }
4312
- ._disabled_1uuml_452:not(._active_1uuml_404):not(._basic_1uuml_433) {
4312
+ ._disabled_1qp1u_452:not(._active_1qp1u_404):not(._basic_1qp1u_433) {
4313
4313
  background: var(--color-background-disabled) !important;
4314
4314
  border: 1px solid var(--color-border) !important;
4315
4315
  }
4316
- ._small_1uuml_462 {
4316
+ ._small_1qp1u_462 {
4317
4317
  font-size: 12px;
4318
4318
  min-height: 24px;
4319
4319
  padding: 0 0.75rem;
4320
4320
  }
4321
- ._pill_1uuml_467,
4322
- ._round_1uuml_468 {
4321
+ ._pill_1qp1u_467,
4322
+ ._round_1qp1u_468 {
4323
4323
  text-transform: uppercase;
4324
4324
  letter-spacing: 0.1em;
4325
4325
  font-size: 13px;
@@ -4328,114 +4328,120 @@ html[data-theme='dark'] {
4328
4328
  display: inline-flex;
4329
4329
  align-items: center;
4330
4330
  }
4331
- ._round_1uuml_468 {
4331
+ ._round_1qp1u_468 {
4332
4332
  padding: 0;
4333
4333
  width: 38px;
4334
4334
  line-height: 1;
4335
4335
  }
4336
- ._round_1uuml_468._small_1uuml_462 {
4336
+ ._round_1qp1u_468._small_1qp1u_462 {
4337
4337
  width: 24px;
4338
4338
  }
4339
- ._orange_1uuml_404 {
4339
+ ._orange_1qp1u_404:not(._basic_1qp1u_433) {
4340
4340
  background-color: var(--color-background-button-primary);
4341
4341
  }
4342
- ._orange_1uuml_404:hover,
4343
- ._orange_1uuml_404:focus {
4342
+ ._orange_1qp1u_404:not(._basic_1qp1u_433):hover,
4343
+ ._orange_1qp1u_404:not(._basic_1qp1u_433):focus {
4344
4344
  background-color: var(--color-background-button-primary-hover);
4345
4345
  }
4346
- ._orange_1uuml_404:active,
4347
- ._orange_1uuml_404._active_1uuml_404 {
4346
+ ._orange_1qp1u_404:not(._basic_1qp1u_433):active,
4347
+ ._orange_1qp1u_404:not(._basic_1qp1u_433)._active_1qp1u_404 {
4348
4348
  background-color: var(--color-background-button-primary-active);
4349
4349
  }
4350
- ._red_1uuml_404 {
4350
+ ._red_1qp1u_404:not(._basic_1qp1u_433) {
4351
4351
  background-color: var(--color-background-button-error);
4352
4352
  }
4353
- ._red_1uuml_404:hover,
4354
- ._red_1uuml_404:focus {
4353
+ ._red_1qp1u_404:not(._basic_1qp1u_433):hover,
4354
+ ._red_1qp1u_404:not(._basic_1qp1u_433):focus {
4355
4355
  background-color: var(--color-background-button-error-hover);
4356
4356
  }
4357
- ._red_1uuml_404:active,
4358
- ._red_1uuml_404._active_1uuml_404 {
4357
+ ._red_1qp1u_404:not(._basic_1qp1u_433):active,
4358
+ ._red_1qp1u_404:not(._basic_1qp1u_433)._active_1qp1u_404 {
4359
4359
  background-color: var(--color-background-button-error-active);
4360
4360
  }
4361
- ._green_1uuml_404 {
4361
+ ._red_1qp1u_404._basic_1qp1u_433 {
4362
+ color: var(--color-text-error);
4363
+ }
4364
+ ._green_1qp1u_404:not(._basic_1qp1u_433) {
4362
4365
  background-color: var(--color-background-button-success);
4363
4366
  }
4364
- ._green_1uuml_404:hover,
4365
- ._green_1uuml_404:focus {
4367
+ ._green_1qp1u_404:not(._basic_1qp1u_433):hover,
4368
+ ._green_1qp1u_404:not(._basic_1qp1u_433):focus {
4366
4369
  background-color: var(--color-background-button-success-hover);
4367
4370
  }
4368
- ._green_1uuml_404:active,
4369
- ._green_1uuml_404._active_1uuml_404 {
4371
+ ._green_1qp1u_404:not(._basic_1qp1u_433):active,
4372
+ ._green_1qp1u_404:not(._basic_1qp1u_433)._active_1qp1u_404 {
4370
4373
  background-color: var(--color-background-button-success-active);
4371
4374
  }
4372
- ._orange_1uuml_404,
4373
- ._red_1uuml_404,
4374
- ._green_1uuml_404 {
4375
+ ._green_1qp1u_404._basic_1qp1u_433 {
4376
+ color: var(--color-text-success);
4377
+ }
4378
+ ._orange_1qp1u_404:not(._basic_1qp1u_433),
4379
+ ._red_1qp1u_404:not(._basic_1qp1u_433),
4380
+ ._green_1qp1u_404:not(._basic_1qp1u_433) {
4375
4381
  color: #fff;
4376
4382
  }
4377
- ._orange_1uuml_404:hover,
4378
- ._red_1uuml_404:hover,
4379
- ._green_1uuml_404:hover,
4380
- ._orange_1uuml_404:focus,
4381
- ._red_1uuml_404:focus,
4382
- ._green_1uuml_404:focus {
4383
+ ._orange_1qp1u_404:not(._basic_1qp1u_433):hover,
4384
+ ._red_1qp1u_404:not(._basic_1qp1u_433):hover,
4385
+ ._green_1qp1u_404:not(._basic_1qp1u_433):hover,
4386
+ ._orange_1qp1u_404:not(._basic_1qp1u_433):focus,
4387
+ ._red_1qp1u_404:not(._basic_1qp1u_433):focus,
4388
+ ._green_1qp1u_404:not(._basic_1qp1u_433):focus {
4383
4389
  color: #fff;
4384
4390
  }
4385
- ._orange_1uuml_404:active,
4386
- ._red_1uuml_404:active,
4387
- ._green_1uuml_404:active,
4388
- ._orange_1uuml_404._active_1uuml_404,
4389
- ._red_1uuml_404._active_1uuml_404,
4390
- ._green_1uuml_404._active_1uuml_404 {
4391
+ ._orange_1qp1u_404:not(._basic_1qp1u_433):active,
4392
+ ._red_1qp1u_404:not(._basic_1qp1u_433):active,
4393
+ ._green_1qp1u_404:not(._basic_1qp1u_433):active,
4394
+ ._orange_1qp1u_404:not(._basic_1qp1u_433)._active_1qp1u_404,
4395
+ ._red_1qp1u_404:not(._basic_1qp1u_433)._active_1qp1u_404,
4396
+ ._green_1qp1u_404:not(._basic_1qp1u_433)._active_1qp1u_404 {
4391
4397
  color: #fff;
4392
4398
  }
4393
- ._inverted_1uuml_539 {
4399
+ ._inverted_1qp1u_545 {
4394
4400
  background-color: transparent;
4395
4401
  border-color: var(--color-text);
4396
4402
  box-shadow: none;
4397
4403
  }
4398
- ._inverted_1uuml_539:hover,
4399
- ._inverted_1uuml_539:focus,
4400
- ._inverted_1uuml_539:active {
4404
+ ._inverted_1qp1u_545:hover,
4405
+ ._inverted_1qp1u_545:focus,
4406
+ ._inverted_1qp1u_545:active {
4401
4407
  box-shadow: none;
4402
4408
  }
4403
- ._inverted_1uuml_539._orange_1uuml_404 {
4409
+ ._inverted_1qp1u_545._orange_1qp1u_404 {
4404
4410
  color: var(--color-background-button-primary);
4405
4411
  border-color: var(--color-background-button-primary);
4406
4412
  }
4407
- ._inverted_1uuml_539._red_1uuml_404 {
4413
+ ._inverted_1qp1u_545._red_1qp1u_404 {
4408
4414
  color: var(--color-background-button-error);
4409
4415
  border-color: var(--color-background-button-error);
4410
4416
  }
4411
- ._inverted_1uuml_539._green_1uuml_404 {
4417
+ ._inverted_1qp1u_545._green_1qp1u_404 {
4412
4418
  color: var(--color-background-button-success);
4413
4419
  border-color: var(--color-background-button-success);
4414
4420
  }
4415
- ._inverted_1uuml_539._orange_1uuml_404:hover,
4416
- ._inverted_1uuml_539._red_1uuml_404:hover,
4417
- ._inverted_1uuml_539._green_1uuml_404:hover,
4418
- ._inverted_1uuml_539._orange_1uuml_404:focus,
4419
- ._inverted_1uuml_539._red_1uuml_404:focus,
4420
- ._inverted_1uuml_539._green_1uuml_404:focus,
4421
- ._inverted_1uuml_539._orange_1uuml_404:active,
4422
- ._inverted_1uuml_539._red_1uuml_404:active,
4423
- ._inverted_1uuml_539._green_1uuml_404:active {
4421
+ ._inverted_1qp1u_545._orange_1qp1u_404:hover,
4422
+ ._inverted_1qp1u_545._red_1qp1u_404:hover,
4423
+ ._inverted_1qp1u_545._green_1qp1u_404:hover,
4424
+ ._inverted_1qp1u_545._orange_1qp1u_404:focus,
4425
+ ._inverted_1qp1u_545._red_1qp1u_404:focus,
4426
+ ._inverted_1qp1u_545._green_1qp1u_404:focus,
4427
+ ._inverted_1qp1u_545._orange_1qp1u_404:active,
4428
+ ._inverted_1qp1u_545._red_1qp1u_404:active,
4429
+ ._inverted_1qp1u_545._green_1qp1u_404:active {
4424
4430
  color: white;
4425
4431
  box-shadow: none;
4426
4432
  }
4427
- ._groupOrderFirst_1uuml_573,
4428
- ._groupOrderMiddle_1uuml_574,
4429
- ._groupOrderLast_1uuml_575 {
4433
+ ._groupOrderFirst_1qp1u_579,
4434
+ ._groupOrderMiddle_1qp1u_580,
4435
+ ._groupOrderLast_1qp1u_581 {
4430
4436
  margin-right: 0;
4431
4437
  }
4432
- ._groupOrderFirst_1uuml_573,
4433
- ._groupOrderMiddle_1uuml_574 {
4438
+ ._groupOrderFirst_1qp1u_579,
4439
+ ._groupOrderMiddle_1qp1u_580 {
4434
4440
  border-top-right-radius: 0 !important;
4435
4441
  border-bottom-right-radius: 0 !important;
4436
4442
  }
4437
- ._groupOrderLast_1uuml_575,
4438
- ._groupOrderMiddle_1uuml_574 {
4443
+ ._groupOrderLast_1qp1u_581,
4444
+ ._groupOrderMiddle_1qp1u_580 {
4439
4445
  border-top-left-radius: 0 !important;
4440
4446
  border-bottom-left-radius: 0 !important;
4441
4447
  }
package/dist/index.js CHANGED
@@ -9393,23 +9393,23 @@ Badge.propTypes = {
9393
9393
  margin: PropTypes__default.string,
9394
9394
  small: PropTypes__default.bool
9395
9395
  };
9396
- const button$3 = "_button_1uuml_367";
9397
- const active$7 = "_active_1uuml_404";
9398
- const green$1 = "_green_1uuml_404";
9399
- const red$1 = "_red_1uuml_404";
9400
- const orange$1 = "_orange_1uuml_404";
9401
- const icon$4 = "_icon_1uuml_416";
9402
- const iconOnly = "_iconOnly_1uuml_423";
9403
- const basic = "_basic_1uuml_433";
9404
- const muted$2 = "_muted_1uuml_439";
9405
- const disabled$8 = "_disabled_1uuml_452";
9406
- const small$c = "_small_1uuml_462";
9407
- const pill = "_pill_1uuml_467";
9408
- const round = "_round_1uuml_468";
9409
- const inverted$1 = "_inverted_1uuml_539";
9410
- const groupOrderFirst$4 = "_groupOrderFirst_1uuml_573";
9411
- const groupOrderMiddle$4 = "_groupOrderMiddle_1uuml_574";
9412
- const groupOrderLast$4 = "_groupOrderLast_1uuml_575";
9396
+ const button$3 = "_button_1qp1u_367";
9397
+ const active$7 = "_active_1qp1u_404";
9398
+ const green$1 = "_green_1qp1u_404";
9399
+ const red$1 = "_red_1qp1u_404";
9400
+ const orange$1 = "_orange_1qp1u_404";
9401
+ const icon$4 = "_icon_1qp1u_416";
9402
+ const iconOnly = "_iconOnly_1qp1u_423";
9403
+ const basic = "_basic_1qp1u_433";
9404
+ const muted$2 = "_muted_1qp1u_439";
9405
+ const disabled$8 = "_disabled_1qp1u_452";
9406
+ const small$c = "_small_1qp1u_462";
9407
+ const pill = "_pill_1qp1u_467";
9408
+ const round = "_round_1qp1u_468";
9409
+ const inverted$1 = "_inverted_1qp1u_545";
9410
+ const groupOrderFirst$4 = "_groupOrderFirst_1qp1u_579";
9411
+ const groupOrderMiddle$4 = "_groupOrderMiddle_1qp1u_580";
9412
+ const groupOrderLast$4 = "_groupOrderLast_1qp1u_581";
9413
9413
  const buttonStyles = {
9414
9414
  button: button$3,
9415
9415
  active: active$7,
@@ -57277,7 +57277,7 @@ const Slider = ({
57277
57277
  basic: true,
57278
57278
  small: true,
57279
57279
  round: true,
57280
- onClick: () => onChangeValue(min),
57280
+ onClick: () => onChangeValue(range2 ? [min, value == null ? void 0 : value[1]] : min),
57281
57281
  disabled: disabled2 || value === min || disabledContext,
57282
57282
  icon: /* @__PURE__ */ jsx(FaFastBackward, {})
57283
57283
  })
@@ -57288,7 +57288,7 @@ const Slider = ({
57288
57288
  basic: true,
57289
57289
  small: true,
57290
57290
  round: true,
57291
- onClick: () => onChangeValue(max),
57291
+ onClick: () => onChangeValue(range2 ? [value == null ? void 0 : value[0], max] : max),
57292
57292
  disabled: disabled2 || value === max || disabledContext,
57293
57293
  icon: /* @__PURE__ */ jsx(FaFastForward, {})
57294
57294
  })