@unlk/keymaster 1.7.3 → 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 +9 -0
- package/dist/css/keymaster.css +58 -44
- 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/_variables-overrides.scss +0 -6
- package/scss/theme/_version.scss +1 -1
- package/scss/theme/forms/_floating-labels.scss +9 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
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
|
+
|
|
5
14
|
## [1.7.3] - 2026-09-14
|
|
6
15
|
|
|
7
16
|
### 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 {
|
|
@@ -35489,6 +35489,20 @@ textarea.form-control-lg {
|
|
|
35489
35489
|
background-color: #e6e9ff;
|
|
35490
35490
|
}
|
|
35491
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
|
+
|
|
35492
35506
|
.form-floating > .form-select:not(:focus):has(option[value=""]:checked) {
|
|
35493
35507
|
text-indent: 100%;
|
|
35494
35508
|
white-space: nowrap;
|
|
@@ -35500,9 +35514,9 @@ textarea.form-control-lg {
|
|
|
35500
35514
|
}
|
|
35501
35515
|
|
|
35502
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));
|
|
35503
35519
|
border-radius: var(--bs-border-radius-xs);
|
|
35504
|
-
height: 2.75rem;
|
|
35505
|
-
min-height: 2.75rem;
|
|
35506
35520
|
padding: .625rem .5rem;
|
|
35507
35521
|
line-height: 1.25;
|
|
35508
35522
|
}
|
|
@@ -35531,9 +35545,9 @@ textarea.form-control-lg {
|
|
|
35531
35545
|
}
|
|
35532
35546
|
|
|
35533
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));
|
|
35534
35550
|
border-radius: var(--bs-border-radius-xs);
|
|
35535
|
-
height: 2.75rem;
|
|
35536
|
-
min-height: 2.75rem;
|
|
35537
35551
|
padding-top: 1.125rem;
|
|
35538
35552
|
padding-bottom: .25rem;
|
|
35539
35553
|
padding-left: .5rem;
|
|
@@ -35583,12 +35597,12 @@ textarea.form-control-lg {
|
|
|
35583
35597
|
}
|
|
35584
35598
|
|
|
35585
35599
|
.otp .otp-slot {
|
|
35586
|
-
width: calc(1.5em +
|
|
35587
|
-
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));
|
|
35588
35602
|
color: var(--bs-body-color);
|
|
35589
35603
|
background-color: var(--bs-body-bg);
|
|
35604
|
+
border: var(--bs-border-width) solid var(--bs-border-color);
|
|
35590
35605
|
border-radius: var(--bs-border-radius-xs);
|
|
35591
|
-
border: .125rem solid #6e727a;
|
|
35592
35606
|
justify-content: center;
|
|
35593
35607
|
align-items: center;
|
|
35594
35608
|
font-size: 1rem;
|
|
@@ -35630,10 +35644,10 @@ textarea.form-control-lg {
|
|
|
35630
35644
|
}
|
|
35631
35645
|
|
|
35632
35646
|
.otp .otp-separator {
|
|
35647
|
+
font-size: 1rem;
|
|
35648
|
+
line-height: calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));
|
|
35633
35649
|
color: var(--bs-secondary-color);
|
|
35634
35650
|
margin: 0 .25rem;
|
|
35635
|
-
font-size: 1rem;
|
|
35636
|
-
line-height: calc(1.5em + 1rem);
|
|
35637
35651
|
}
|
|
35638
35652
|
|
|
35639
35653
|
.otp:has(.otp-slots.disabled) .otp-slots {
|
|
@@ -35646,27 +35660,27 @@ textarea.form-control-lg {
|
|
|
35646
35660
|
}
|
|
35647
35661
|
|
|
35648
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));
|
|
35649
35665
|
border-radius: var(--bs-border-radius-xs);
|
|
35650
|
-
width: calc(1.5em + .75rem);
|
|
35651
|
-
height: calc(1.5em + .75rem);
|
|
35652
35666
|
font-size: .875rem;
|
|
35653
35667
|
}
|
|
35654
35668
|
|
|
35655
35669
|
.otp.otp-sm .otp-separator {
|
|
35656
35670
|
font-size: .875rem;
|
|
35657
|
-
line-height: calc(1.5em + .
|
|
35671
|
+
line-height: calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));
|
|
35658
35672
|
}
|
|
35659
35673
|
|
|
35660
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));
|
|
35661
35677
|
border-radius: var(--bs-border-radius-sm);
|
|
35662
|
-
width: calc(1.5em + 1.25rem);
|
|
35663
|
-
height: calc(1.5em + 1.25rem);
|
|
35664
35678
|
font-size: 1.125rem;
|
|
35665
35679
|
}
|
|
35666
35680
|
|
|
35667
35681
|
.otp.otp-lg .otp-separator {
|
|
35668
35682
|
font-size: 1.125rem;
|
|
35669
|
-
line-height: calc(1.5em +
|
|
35683
|
+
line-height: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));
|
|
35670
35684
|
}
|
|
35671
35685
|
|
|
35672
35686
|
@keyframes otp-blink {
|