@oliasoft-open-source/react-ui-library 3.1.14 → 3.1.15
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 +17 -16
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/global.css
CHANGED
|
@@ -21274,7 +21274,7 @@ html[data-theme='dark'] {
|
|
|
21274
21274
|
--color-background-toggle: rgba(255, 255, 255, 0.2);
|
|
21275
21275
|
--color-background-toggle-hover: rgba(255, 255, 255, 0.3);
|
|
21276
21276
|
}
|
|
21277
|
-
.
|
|
21277
|
+
._toggle_1nenx_334 {
|
|
21278
21278
|
position: relative;
|
|
21279
21279
|
display: inline-block;
|
|
21280
21280
|
backface-visibility: hidden;
|
|
@@ -21287,11 +21287,11 @@ html[data-theme='dark'] {
|
|
|
21287
21287
|
min-width: 17px;
|
|
21288
21288
|
margin: 10px 0 11px 0;
|
|
21289
21289
|
}
|
|
21290
|
-
.
|
|
21290
|
+
._toggle_1nenx_334._small_1nenx_347 {
|
|
21291
21291
|
margin: 3px 0;
|
|
21292
21292
|
font-size: 12px;
|
|
21293
21293
|
}
|
|
21294
|
-
.
|
|
21294
|
+
._toggle_1nenx_334 input {
|
|
21295
21295
|
width: 34px;
|
|
21296
21296
|
height: 17px;
|
|
21297
21297
|
cursor: pointer;
|
|
@@ -21308,8 +21308,9 @@ html[data-theme='dark'] {
|
|
|
21308
21308
|
font-size: 100%;
|
|
21309
21309
|
line-height: 1.15;
|
|
21310
21310
|
margin: 0;
|
|
21311
|
+
pointer-events: none;
|
|
21311
21312
|
}
|
|
21312
|
-
.
|
|
21313
|
+
._toggle_1nenx_334 label {
|
|
21313
21314
|
min-height: 17px;
|
|
21314
21315
|
padding-left: 43px;
|
|
21315
21316
|
transition: color 0.1s ease;
|
|
@@ -21319,8 +21320,8 @@ html[data-theme='dark'] {
|
|
|
21319
21320
|
outline: 0;
|
|
21320
21321
|
font-size: 1em;
|
|
21321
21322
|
}
|
|
21322
|
-
.
|
|
21323
|
-
.
|
|
21323
|
+
._toggle_1nenx_334 label:before,
|
|
21324
|
+
._toggle_1nenx_334 label:after {
|
|
21324
21325
|
display: block;
|
|
21325
21326
|
position: absolute;
|
|
21326
21327
|
content: '';
|
|
@@ -21328,7 +21329,7 @@ html[data-theme='dark'] {
|
|
|
21328
21329
|
height: 17px;
|
|
21329
21330
|
border-radius: calc(17px / 2);
|
|
21330
21331
|
}
|
|
21331
|
-
.
|
|
21332
|
+
._toggle_1nenx_334 label:before {
|
|
21332
21333
|
z-index: 1;
|
|
21333
21334
|
transform: none;
|
|
21334
21335
|
background: var(--color-background-toggle);
|
|
@@ -21337,7 +21338,7 @@ html[data-theme='dark'] {
|
|
|
21337
21338
|
left: 0;
|
|
21338
21339
|
transition: background 0.3s ease, border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease;
|
|
21339
21340
|
}
|
|
21340
|
-
.
|
|
21341
|
+
._toggle_1nenx_334 label:after {
|
|
21341
21342
|
left: -0.05rem;
|
|
21342
21343
|
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
|
|
21343
21344
|
background: #fff linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
|
@@ -21346,31 +21347,31 @@ html[data-theme='dark'] {
|
|
|
21346
21347
|
width: 17px;
|
|
21347
21348
|
transition: background 0.3s ease, left 0.3s ease;
|
|
21348
21349
|
}
|
|
21349
|
-
.
|
|
21350
|
+
._toggle_1nenx_334 input:hover ~ label:before {
|
|
21350
21351
|
background: var(--color-background-toggle-hover);
|
|
21351
21352
|
}
|
|
21352
|
-
.
|
|
21353
|
+
._toggle_1nenx_334 input:checked ~ label:before {
|
|
21353
21354
|
border-color: rgba(34, 36, 38, 0.35);
|
|
21354
21355
|
background-color: var(--color-background-button-primary);
|
|
21355
21356
|
}
|
|
21356
|
-
.
|
|
21357
|
+
._toggle_1nenx_334 input:checked ~ label:after {
|
|
21357
21358
|
left: 17px;
|
|
21358
21359
|
}
|
|
21359
|
-
.
|
|
21360
|
+
._toggle_1nenx_334 input:checked:hover ~ label:before {
|
|
21360
21361
|
background-color: var(--color-background-button-primary-hover);
|
|
21361
21362
|
}
|
|
21362
|
-
.
|
|
21363
|
+
._toggle_1nenx_334._disabled_1nenx_420 {
|
|
21363
21364
|
cursor: default;
|
|
21364
21365
|
pointer-events: none;
|
|
21365
21366
|
color: var(--color-text-muted);
|
|
21366
21367
|
}
|
|
21367
|
-
.
|
|
21368
|
+
._toggle_1nenx_334._disabled_1nenx_420 label:before {
|
|
21368
21369
|
background-color: var(--color-background-disabled) !important;
|
|
21369
21370
|
}
|
|
21370
|
-
.
|
|
21371
|
+
._toggle_1nenx_334._disabled_1nenx_420 input:checked ~ label:before {
|
|
21371
21372
|
background-color: var(--color-text-faint);
|
|
21372
21373
|
}
|
|
21373
|
-
.
|
|
21374
|
+
._noMargin_1nenx_431 {
|
|
21374
21375
|
margin: 0;
|
|
21375
21376
|
}
|
|
21376
21377
|
/*
|
package/dist/index.js
CHANGED
|
@@ -37448,10 +37448,10 @@ const toast = ({
|
|
|
37448
37448
|
transition: Slide
|
|
37449
37449
|
});
|
|
37450
37450
|
};
|
|
37451
|
-
const toggle$1 = "
|
|
37452
|
-
const small = "
|
|
37453
|
-
const disabled = "
|
|
37454
|
-
const noMargin = "
|
|
37451
|
+
const toggle$1 = "_toggle_1nenx_334";
|
|
37452
|
+
const small = "_small_1nenx_347";
|
|
37453
|
+
const disabled = "_disabled_1nenx_420";
|
|
37454
|
+
const noMargin = "_noMargin_1nenx_431";
|
|
37455
37455
|
const styles$3 = {
|
|
37456
37456
|
toggle: toggle$1,
|
|
37457
37457
|
small,
|