@unlk/keymaster 1.7.2 → 1.7.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/CHANGELOG.md +14 -0
- package/dist/css/keymaster.css +65 -46
- package/dist/css/keymaster.css.map +1 -1
- package/dist/css/keymaster.min.css +1 -1
- package/dist/js/keymaster.js +1 -1
- package/dist/js/keymaster.min.js +1 -1
- package/package.json +1 -1
- package/scss/theme/_modal.scss +40 -2
- package/scss/theme/_variables-overrides.scss +2 -6
- package/scss/theme/_version.scss +1 -1
- package/scss/theme/forms/_floating-labels.scss +9 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [1.7.4] - 2026-09-21
|
|
6
|
+
|
|
7
|
+
### Add
|
|
8
|
+
- Placeholder for Floating Inputs
|
|
9
|
+
- Input Group for Floating Inputs and Standard Inputs
|
|
10
|
+
|
|
11
|
+
### Updated
|
|
12
|
+
- Input border width and color
|
|
13
|
+
|
|
14
|
+
## [1.7.3] - 2026-09-14
|
|
15
|
+
|
|
16
|
+
### Updated
|
|
17
|
+
- Modal & Modal Fullscreen style
|
|
18
|
+
|
|
5
19
|
## [1.7.2] - 2026-09-02
|
|
6
20
|
|
|
7
21
|
### Updated
|
package/dist/css/keymaster.css
CHANGED
|
@@ -18806,9 +18806,9 @@
|
|
|
18806
18806
|
--bs-code-color: #d63384;
|
|
18807
18807
|
--bs-highlight-color: #1c1d1e;
|
|
18808
18808
|
--bs-highlight-bg: #fff3cd;
|
|
18809
|
-
--bs-border-width:
|
|
18809
|
+
--bs-border-width: 1px;
|
|
18810
18810
|
--bs-border-style: solid;
|
|
18811
|
-
--bs-border-color: #
|
|
18811
|
+
--bs-border-color: #b9bcc1;
|
|
18812
18812
|
--bs-border-color-translucent: #0000002d;
|
|
18813
18813
|
--bs-border-radius: .5rem;
|
|
18814
18814
|
--bs-border-radius-sm: .375rem;
|
|
@@ -21173,22 +21173,22 @@ progress {
|
|
|
21173
21173
|
}
|
|
21174
21174
|
|
|
21175
21175
|
.col-form-label {
|
|
21176
|
+
padding-top: calc(.375rem + var(--bs-border-width));
|
|
21177
|
+
padding-bottom: calc(.375rem + var(--bs-border-width));
|
|
21176
21178
|
font-size: inherit;
|
|
21177
21179
|
margin-bottom: 0;
|
|
21178
|
-
padding-top: .5rem;
|
|
21179
|
-
padding-bottom: .5rem;
|
|
21180
21180
|
line-height: 1.5;
|
|
21181
21181
|
}
|
|
21182
21182
|
|
|
21183
21183
|
.col-form-label-lg {
|
|
21184
|
-
padding-top: .
|
|
21185
|
-
padding-bottom: .
|
|
21184
|
+
padding-top: calc(.5rem + var(--bs-border-width));
|
|
21185
|
+
padding-bottom: calc(.5rem + var(--bs-border-width));
|
|
21186
21186
|
font-size: 1.125rem;
|
|
21187
21187
|
}
|
|
21188
21188
|
|
|
21189
21189
|
.col-form-label-sm {
|
|
21190
|
-
padding-top: .
|
|
21191
|
-
padding-bottom: .
|
|
21190
|
+
padding-top: calc(.25rem + var(--bs-border-width));
|
|
21191
|
+
padding-bottom: calc(.25rem + var(--bs-border-width));
|
|
21192
21192
|
font-size: .875rem;
|
|
21193
21193
|
}
|
|
21194
21194
|
|
|
@@ -21203,10 +21203,10 @@ progress {
|
|
|
21203
21203
|
color: var(--bs-body-color);
|
|
21204
21204
|
appearance: none;
|
|
21205
21205
|
background-color: var(--bs-body-bg);
|
|
21206
|
+
border: var(--bs-border-width) solid var(--bs-border-color);
|
|
21206
21207
|
border-radius: var(--bs-border-radius-xs);
|
|
21207
21208
|
box-shadow: var(--bs-box-shadow-inset);
|
|
21208
21209
|
background-clip: padding-box;
|
|
21209
|
-
border: .125rem solid #6e727a;
|
|
21210
21210
|
padding: .375rem .75rem;
|
|
21211
21211
|
font-size: 1rem;
|
|
21212
21212
|
font-weight: 400;
|
|
@@ -21266,7 +21266,7 @@ progress {
|
|
|
21266
21266
|
border-color: inherit;
|
|
21267
21267
|
border-style: solid;
|
|
21268
21268
|
border-width: 0;
|
|
21269
|
-
border-inline-end-width:
|
|
21269
|
+
border-inline-end-width: var(--bs-border-width);
|
|
21270
21270
|
border-radius: 0;
|
|
21271
21271
|
margin-inline-end: .75rem;
|
|
21272
21272
|
padding: .375rem .75rem;
|
|
@@ -21287,8 +21287,8 @@ progress {
|
|
|
21287
21287
|
width: 100%;
|
|
21288
21288
|
color: var(--bs-body-color);
|
|
21289
21289
|
border: solid #0000;
|
|
21290
|
+
border-width: var(--bs-border-width) 0;
|
|
21290
21291
|
background-color: #0000;
|
|
21291
|
-
border-width: .125rem 0;
|
|
21292
21292
|
margin-bottom: 0;
|
|
21293
21293
|
padding: .375rem 0;
|
|
21294
21294
|
line-height: 1.5;
|
|
@@ -21305,8 +21305,8 @@ progress {
|
|
|
21305
21305
|
}
|
|
21306
21306
|
|
|
21307
21307
|
.form-control-sm {
|
|
21308
|
+
min-height: calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));
|
|
21308
21309
|
border-radius: var(--bs-border-radius-xs);
|
|
21309
|
-
min-height: calc(1.5em + .75rem);
|
|
21310
21310
|
padding: .25rem .5rem;
|
|
21311
21311
|
font-size: .875rem;
|
|
21312
21312
|
}
|
|
@@ -21318,8 +21318,8 @@ progress {
|
|
|
21318
21318
|
}
|
|
21319
21319
|
|
|
21320
21320
|
.form-control-lg {
|
|
21321
|
+
min-height: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));
|
|
21321
21322
|
border-radius: var(--bs-border-radius-sm);
|
|
21322
|
-
min-height: calc(1.5em + 1.25rem);
|
|
21323
21323
|
padding: .5rem 1rem;
|
|
21324
21324
|
font-size: 1.125rem;
|
|
21325
21325
|
}
|
|
@@ -21331,20 +21331,20 @@ progress {
|
|
|
21331
21331
|
}
|
|
21332
21332
|
|
|
21333
21333
|
textarea.form-control {
|
|
21334
|
-
min-height: calc(1.5em +
|
|
21334
|
+
min-height: calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));
|
|
21335
21335
|
}
|
|
21336
21336
|
|
|
21337
21337
|
textarea.form-control-sm {
|
|
21338
|
-
min-height: calc(1.5em + .
|
|
21338
|
+
min-height: calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));
|
|
21339
21339
|
}
|
|
21340
21340
|
|
|
21341
21341
|
textarea.form-control-lg {
|
|
21342
|
-
min-height: calc(1.5em +
|
|
21342
|
+
min-height: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));
|
|
21343
21343
|
}
|
|
21344
21344
|
|
|
21345
21345
|
.form-control-color {
|
|
21346
21346
|
width: 3rem;
|
|
21347
|
-
height: calc(1.5em +
|
|
21347
|
+
height: calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));
|
|
21348
21348
|
padding: .375rem;
|
|
21349
21349
|
}
|
|
21350
21350
|
|
|
@@ -21363,11 +21363,11 @@ textarea.form-control-lg {
|
|
|
21363
21363
|
}
|
|
21364
21364
|
|
|
21365
21365
|
.form-control-color.form-control-sm {
|
|
21366
|
-
height: calc(1.5em + .
|
|
21366
|
+
height: calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));
|
|
21367
21367
|
}
|
|
21368
21368
|
|
|
21369
21369
|
.form-control-color.form-control-lg {
|
|
21370
|
-
height: calc(1.5em +
|
|
21370
|
+
height: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));
|
|
21371
21371
|
}
|
|
21372
21372
|
|
|
21373
21373
|
.form-select {
|
|
@@ -21377,12 +21377,12 @@ textarea.form-control-lg {
|
|
|
21377
21377
|
appearance: none;
|
|
21378
21378
|
background-color: var(--bs-body-bg);
|
|
21379
21379
|
background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
|
|
21380
|
+
border: var(--bs-border-width) solid var(--bs-border-color);
|
|
21380
21381
|
border-radius: var(--bs-border-radius-xs);
|
|
21381
21382
|
box-shadow: var(--bs-box-shadow-inset);
|
|
21382
21383
|
background-position: right .75rem center;
|
|
21383
21384
|
background-repeat: no-repeat;
|
|
21384
21385
|
background-size: 16px 12px;
|
|
21385
|
-
border: .125rem solid #6e727a;
|
|
21386
21386
|
padding: .375rem 2.25rem .375rem .75rem;
|
|
21387
21387
|
font-size: 1rem;
|
|
21388
21388
|
font-weight: 400;
|
|
@@ -21692,8 +21692,8 @@ textarea.form-control-lg {
|
|
|
21692
21692
|
}
|
|
21693
21693
|
|
|
21694
21694
|
.form-floating > .form-control, .form-floating > .form-control-plaintext, .form-floating > .form-select {
|
|
21695
|
-
height: 3.
|
|
21696
|
-
min-height: 3.
|
|
21695
|
+
height: calc(3.5rem + calc(var(--bs-border-width) * 2));
|
|
21696
|
+
min-height: calc(3.5rem + calc(var(--bs-border-width) * 2));
|
|
21697
21697
|
line-height: 1.25;
|
|
21698
21698
|
}
|
|
21699
21699
|
|
|
@@ -21706,8 +21706,8 @@ textarea.form-control-lg {
|
|
|
21706
21706
|
text-overflow: ellipsis;
|
|
21707
21707
|
white-space: nowrap;
|
|
21708
21708
|
pointer-events: none;
|
|
21709
|
+
border: var(--bs-border-width) solid transparent;
|
|
21709
21710
|
transform-origin: 0 0;
|
|
21710
|
-
border: .125rem solid #0000;
|
|
21711
21711
|
padding: 1rem .75rem;
|
|
21712
21712
|
transition: opacity .1s ease-in-out, transform .1s ease-in-out;
|
|
21713
21713
|
position: absolute;
|
|
@@ -21769,7 +21769,7 @@ textarea.form-control-lg {
|
|
|
21769
21769
|
}
|
|
21770
21770
|
|
|
21771
21771
|
.form-floating > .form-control-plaintext ~ label {
|
|
21772
|
-
border-width:
|
|
21772
|
+
border-width: var(--bs-border-width) 0;
|
|
21773
21773
|
}
|
|
21774
21774
|
|
|
21775
21775
|
.form-floating > :disabled ~ label, .form-floating > .form-control:disabled ~ label {
|
|
@@ -21809,8 +21809,8 @@ textarea.form-control-lg {
|
|
|
21809
21809
|
text-align: center;
|
|
21810
21810
|
white-space: nowrap;
|
|
21811
21811
|
background-color: var(--bs-tertiary-bg);
|
|
21812
|
+
border: var(--bs-border-width) solid var(--bs-border-color);
|
|
21812
21813
|
border-radius: var(--bs-border-radius-xs);
|
|
21813
|
-
border: .125rem solid #6e727a;
|
|
21814
21814
|
align-items: center;
|
|
21815
21815
|
padding: .375rem .75rem;
|
|
21816
21816
|
font-size: 1rem;
|
|
@@ -21841,9 +21841,9 @@ textarea.form-control-lg {
|
|
|
21841
21841
|
}
|
|
21842
21842
|
|
|
21843
21843
|
.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
|
|
21844
|
+
margin-left: calc(-1 * var(--bs-border-width));
|
|
21844
21845
|
border-top-left-radius: 0;
|
|
21845
21846
|
border-bottom-left-radius: 0;
|
|
21846
|
-
margin-left: -.125rem;
|
|
21847
21847
|
}
|
|
21848
21848
|
|
|
21849
21849
|
.input-group > .form-floating:not(:first-child) > .form-control, .input-group > .form-floating:not(:first-child) > .form-select {
|
|
@@ -21996,7 +21996,7 @@ textarea.form-control-lg {
|
|
|
21996
21996
|
--bs-btn-line-height: 1.5;
|
|
21997
21997
|
--bs-btn-color: var(--bs-body-color);
|
|
21998
21998
|
--bs-btn-bg: transparent;
|
|
21999
|
-
--bs-btn-border-width:
|
|
21999
|
+
--bs-btn-border-width: var(--bs-border-width);
|
|
22000
22000
|
--bs-btn-border-color: transparent;
|
|
22001
22001
|
--bs-btn-border-radius: var(--bs-border-radius);
|
|
22002
22002
|
--bs-btn-hover-border-color: transparent;
|
|
@@ -22549,7 +22549,7 @@ textarea.form-control-lg {
|
|
|
22549
22549
|
}
|
|
22550
22550
|
|
|
22551
22551
|
.btn-group > :not(.btn-check:first-child) + .btn, .btn-group > .btn-group:not(:first-child) {
|
|
22552
|
-
margin-left:
|
|
22552
|
+
margin-left: calc(-1 * var(--bs-border-width));
|
|
22553
22553
|
}
|
|
22554
22554
|
|
|
22555
22555
|
.btn-group > .btn:not(:last-child):not(.dropdown-toggle), .btn-group > .btn.dropdown-toggle-split:first-child, .btn-group > .btn-group:not(:last-child) > .btn {
|
|
@@ -22604,7 +22604,7 @@ textarea.form-control-lg {
|
|
|
22604
22604
|
}
|
|
22605
22605
|
|
|
22606
22606
|
.btn-group-vertical > .btn:not(:first-child), .btn-group-vertical > .btn-group:not(:first-child) {
|
|
22607
|
-
margin-top:
|
|
22607
|
+
margin-top: calc(-1 * var(--bs-border-width));
|
|
22608
22608
|
}
|
|
22609
22609
|
|
|
22610
22610
|
.btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle), .btn-group-vertical > .btn-group:not(:last-child) > .btn {
|
|
@@ -24479,12 +24479,12 @@ textarea.form-control-lg {
|
|
|
24479
24479
|
--bs-modal-header-padding-y: 1rem;
|
|
24480
24480
|
--bs-modal-header-padding: 1rem 1rem;
|
|
24481
24481
|
--bs-modal-header-border-color: var(--bs-border-color);
|
|
24482
|
-
--bs-modal-header-border-width:
|
|
24482
|
+
--bs-modal-header-border-width: 0;
|
|
24483
24483
|
--bs-modal-title-line-height: 1.5;
|
|
24484
24484
|
--bs-modal-footer-gap: .5rem;
|
|
24485
24485
|
--bs-modal-footer-bg: ;
|
|
24486
24486
|
--bs-modal-footer-border-color: var(--bs-border-color);
|
|
24487
|
-
--bs-modal-footer-border-width:
|
|
24487
|
+
--bs-modal-footer-border-width: 0;
|
|
24488
24488
|
z-index: var(--bs-modal-zindex);
|
|
24489
24489
|
outline: 0;
|
|
24490
24490
|
width: 100%;
|
|
@@ -34893,6 +34893,11 @@ textarea.form-control-lg {
|
|
|
34893
34893
|
}
|
|
34894
34894
|
}
|
|
34895
34895
|
|
|
34896
|
+
.modal .modal-dialog:not(.modal-dialog-content):not(.modal-dialog-media) .modal-body {
|
|
34897
|
+
padding-top: 0;
|
|
34898
|
+
padding-bottom: 0;
|
|
34899
|
+
}
|
|
34900
|
+
|
|
34896
34901
|
.modal-backdrop, .offcanvas-backdrop {
|
|
34897
34902
|
backdrop-filter: blur(3px) saturate();
|
|
34898
34903
|
}
|
|
@@ -35484,6 +35489,20 @@ textarea.form-control-lg {
|
|
|
35484
35489
|
background-color: #e6e9ff;
|
|
35485
35490
|
}
|
|
35486
35491
|
|
|
35492
|
+
.form-floating > .form-control::placeholder, .form-floating > .form-control-plaintext::placeholder {
|
|
35493
|
+
transition: color .2s;
|
|
35494
|
+
}
|
|
35495
|
+
|
|
35496
|
+
@media (prefers-reduced-motion: reduce) {
|
|
35497
|
+
.form-floating > .form-control::placeholder, .form-floating > .form-control-plaintext::placeholder {
|
|
35498
|
+
transition: none;
|
|
35499
|
+
}
|
|
35500
|
+
}
|
|
35501
|
+
|
|
35502
|
+
.form-floating > .form-control:focus::placeholder, .form-floating > .form-control-plaintext:focus::placeholder {
|
|
35503
|
+
color: rgba(var(--bs-body-color-rgb), .4);
|
|
35504
|
+
}
|
|
35505
|
+
|
|
35487
35506
|
.form-floating > .form-select:not(:focus):has(option[value=""]:checked) {
|
|
35488
35507
|
text-indent: 100%;
|
|
35489
35508
|
white-space: nowrap;
|
|
@@ -35495,9 +35514,9 @@ textarea.form-control-lg {
|
|
|
35495
35514
|
}
|
|
35496
35515
|
|
|
35497
35516
|
.form-floating > .form-control-sm {
|
|
35517
|
+
height: calc(2.5rem + calc(var(--bs-border-width) * 2));
|
|
35518
|
+
min-height: calc(2.5rem + calc(var(--bs-border-width) * 2));
|
|
35498
35519
|
border-radius: var(--bs-border-radius-xs);
|
|
35499
|
-
height: 2.75rem;
|
|
35500
|
-
min-height: 2.75rem;
|
|
35501
35520
|
padding: .625rem .5rem;
|
|
35502
35521
|
line-height: 1.25;
|
|
35503
35522
|
}
|
|
@@ -35526,9 +35545,9 @@ textarea.form-control-lg {
|
|
|
35526
35545
|
}
|
|
35527
35546
|
|
|
35528
35547
|
.form-floating > .form-select-sm {
|
|
35548
|
+
height: calc(2.5rem + calc(var(--bs-border-width) * 2));
|
|
35549
|
+
min-height: calc(2.5rem + calc(var(--bs-border-width) * 2));
|
|
35529
35550
|
border-radius: var(--bs-border-radius-xs);
|
|
35530
|
-
height: 2.75rem;
|
|
35531
|
-
min-height: 2.75rem;
|
|
35532
35551
|
padding-top: 1.125rem;
|
|
35533
35552
|
padding-bottom: .25rem;
|
|
35534
35553
|
padding-left: .5rem;
|
|
@@ -35578,12 +35597,12 @@ textarea.form-control-lg {
|
|
|
35578
35597
|
}
|
|
35579
35598
|
|
|
35580
35599
|
.otp .otp-slot {
|
|
35581
|
-
width: calc(1.5em +
|
|
35582
|
-
height: calc(1.5em +
|
|
35600
|
+
width: calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));
|
|
35601
|
+
height: calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));
|
|
35583
35602
|
color: var(--bs-body-color);
|
|
35584
35603
|
background-color: var(--bs-body-bg);
|
|
35604
|
+
border: var(--bs-border-width) solid var(--bs-border-color);
|
|
35585
35605
|
border-radius: var(--bs-border-radius-xs);
|
|
35586
|
-
border: .125rem solid #6e727a;
|
|
35587
35606
|
justify-content: center;
|
|
35588
35607
|
align-items: center;
|
|
35589
35608
|
font-size: 1rem;
|
|
@@ -35625,10 +35644,10 @@ textarea.form-control-lg {
|
|
|
35625
35644
|
}
|
|
35626
35645
|
|
|
35627
35646
|
.otp .otp-separator {
|
|
35647
|
+
font-size: 1rem;
|
|
35648
|
+
line-height: calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));
|
|
35628
35649
|
color: var(--bs-secondary-color);
|
|
35629
35650
|
margin: 0 .25rem;
|
|
35630
|
-
font-size: 1rem;
|
|
35631
|
-
line-height: calc(1.5em + 1rem);
|
|
35632
35651
|
}
|
|
35633
35652
|
|
|
35634
35653
|
.otp:has(.otp-slots.disabled) .otp-slots {
|
|
@@ -35641,27 +35660,27 @@ textarea.form-control-lg {
|
|
|
35641
35660
|
}
|
|
35642
35661
|
|
|
35643
35662
|
.otp.otp-sm .otp-slot {
|
|
35663
|
+
width: calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));
|
|
35664
|
+
height: calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));
|
|
35644
35665
|
border-radius: var(--bs-border-radius-xs);
|
|
35645
|
-
width: calc(1.5em + .75rem);
|
|
35646
|
-
height: calc(1.5em + .75rem);
|
|
35647
35666
|
font-size: .875rem;
|
|
35648
35667
|
}
|
|
35649
35668
|
|
|
35650
35669
|
.otp.otp-sm .otp-separator {
|
|
35651
35670
|
font-size: .875rem;
|
|
35652
|
-
line-height: calc(1.5em + .
|
|
35671
|
+
line-height: calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));
|
|
35653
35672
|
}
|
|
35654
35673
|
|
|
35655
35674
|
.otp.otp-lg .otp-slot {
|
|
35675
|
+
width: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));
|
|
35676
|
+
height: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));
|
|
35656
35677
|
border-radius: var(--bs-border-radius-sm);
|
|
35657
|
-
width: calc(1.5em + 1.25rem);
|
|
35658
|
-
height: calc(1.5em + 1.25rem);
|
|
35659
35678
|
font-size: 1.125rem;
|
|
35660
35679
|
}
|
|
35661
35680
|
|
|
35662
35681
|
.otp.otp-lg .otp-separator {
|
|
35663
35682
|
font-size: 1.125rem;
|
|
35664
|
-
line-height: calc(1.5em +
|
|
35683
|
+
line-height: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));
|
|
35665
35684
|
}
|
|
35666
35685
|
|
|
35667
35686
|
@keyframes otp-blink {
|