@unlk/keymaster 1.0.6 → 1.0.7
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 +10 -0
- package/dist/css/keymaster.css +98 -7
- package/dist/css/keymaster.css.map +1 -1
- package/dist/css/keymaster.min.css +2 -2
- package/dist/css/keymaster.min.css.map +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/_forms.scss +2 -0
- package/scss/theme/_variables-overrides.scss +1 -0
- package/scss/theme/forms/_floating-labels.scss +12 -0
- package/scss/theme/forms/_form-check.scss +89 -0
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,16 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
+
## [1.0.7] - 2025-05-06
|
6
|
+
|
7
|
+
### Added
|
8
|
+
- Tiled Radio and Checkbox
|
9
|
+
|
10
|
+
### Updated
|
11
|
+
- Floating label functionality for Selects
|
12
|
+
- Tooltip Border Radius
|
13
|
+
|
14
|
+
|
5
15
|
## [1.0.6] - 2025-05-02
|
6
16
|
|
7
17
|
### Updated
|
package/dist/css/keymaster.css
CHANGED
@@ -245,7 +245,7 @@ hr {
|
|
245
245
|
opacity: 0.25;
|
246
246
|
}
|
247
247
|
|
248
|
-
h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
|
248
|
+
h6, .h6, h5, .h5, .form-check-tiled .form-check-label:has(span), h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
|
249
249
|
margin-top: 0;
|
250
250
|
margin-bottom: 0.5rem;
|
251
251
|
font-family: "Neulis Neue";
|
@@ -290,7 +290,7 @@ h4, .h4 {
|
|
290
290
|
}
|
291
291
|
}
|
292
292
|
|
293
|
-
h5, .h5 {
|
293
|
+
h5, .h5, .form-check-tiled .form-check-label:has(span) {
|
294
294
|
font-size: 1.25rem;
|
295
295
|
}
|
296
296
|
|
@@ -3015,7 +3015,7 @@ textarea.form-control-lg {
|
|
3015
3015
|
font-size: 0.875rem;
|
3016
3016
|
color: #fff;
|
3017
3017
|
background-color: var(--bs-success);
|
3018
|
-
border-radius: var(--bs-border-radius);
|
3018
|
+
border-radius: var(--bs-border-radius-xs);
|
3019
3019
|
}
|
3020
3020
|
|
3021
3021
|
.was-validated :valid ~ .valid-feedback,
|
@@ -3085,7 +3085,7 @@ textarea.form-control-lg {
|
|
3085
3085
|
font-size: 0.875rem;
|
3086
3086
|
color: #fff;
|
3087
3087
|
background-color: var(--bs-danger);
|
3088
|
-
border-radius: var(--bs-border-radius);
|
3088
|
+
border-radius: var(--bs-border-radius-xs);
|
3089
3089
|
}
|
3090
3090
|
|
3091
3091
|
.was-validated :invalid ~ .invalid-feedback,
|
@@ -6124,7 +6124,7 @@ textarea.form-control-lg {
|
|
6124
6124
|
--bs-tooltip-font-size: 0.875rem;
|
6125
6125
|
--bs-tooltip-color: var(--bs-body-bg);
|
6126
6126
|
--bs-tooltip-bg: var(--bs-primary);
|
6127
|
-
--bs-tooltip-border-radius: var(--bs-border-radius);
|
6127
|
+
--bs-tooltip-border-radius: var(--bs-border-radius-xs);
|
6128
6128
|
--bs-tooltip-opacity: 0.9;
|
6129
6129
|
--bs-tooltip-arrow-width: 0.8rem;
|
6130
6130
|
--bs-tooltip-arrow-height: 0.4rem;
|
@@ -8818,7 +8818,7 @@ textarea.form-control-lg {
|
|
8818
8818
|
font-family: var(--bs-font-monospace) !important;
|
8819
8819
|
}
|
8820
8820
|
|
8821
|
-
.fs-1 {
|
8821
|
+
.fs-1, .form-check-tiled .form-check-label i {
|
8822
8822
|
font-size: 1.25rem !important;
|
8823
8823
|
}
|
8824
8824
|
|
@@ -8826,7 +8826,7 @@ textarea.form-control-lg {
|
|
8826
8826
|
font-size: 1.125rem !important;
|
8827
8827
|
}
|
8828
8828
|
|
8829
|
-
.fs-3 {
|
8829
|
+
.fs-3, .form-check-tiled .form-check-label span {
|
8830
8830
|
font-size: 1rem !important;
|
8831
8831
|
}
|
8832
8832
|
|
@@ -38969,4 +38969,95 @@ readers do not read off random characters that represent icons */
|
|
38969
38969
|
box-shadow: none;
|
38970
38970
|
}
|
38971
38971
|
|
38972
|
+
.form-check-tiled {
|
38973
|
+
position: relative;
|
38974
|
+
padding-right: 0.25rem;
|
38975
|
+
padding-left: 0.25rem;
|
38976
|
+
margin-bottom: 0.5rem;
|
38977
|
+
}
|
38978
|
+
.form-check-tiled input:checked label {
|
38979
|
+
border-color: #3e51a2;
|
38980
|
+
}
|
38981
|
+
.form-check-tiled .form-check-input {
|
38982
|
+
position: absolute;
|
38983
|
+
width: 1px;
|
38984
|
+
height: 1px;
|
38985
|
+
overflow: hidden;
|
38986
|
+
clip: rect(0 0 0 0);
|
38987
|
+
clip-path: inset(100%);
|
38988
|
+
white-space: nowrap;
|
38989
|
+
}
|
38990
|
+
.form-check-tiled .form-check-input:checked ~ .form-check-label {
|
38991
|
+
border-color: #3e51a2;
|
38992
|
+
}
|
38993
|
+
.form-check-tiled .form-check-input:checked ~ .form-check-label::before {
|
38994
|
+
background-color: #3e51a2;
|
38995
|
+
border-color: #3e51a2;
|
38996
|
+
opacity: 1;
|
38997
|
+
transform: scale(1);
|
38998
|
+
}
|
38999
|
+
.form-check-tiled .form-check-label {
|
39000
|
+
width: 100%;
|
39001
|
+
margin-bottom: 0;
|
39002
|
+
font-weight: 700;
|
39003
|
+
text-align: left;
|
39004
|
+
cursor: pointer;
|
39005
|
+
border: 0.125rem solid rgb(217.8, 220.2, 224.4);
|
39006
|
+
border-radius: 0.375rem;
|
39007
|
+
transition: all 0.15s ease-in-out;
|
39008
|
+
padding: 1rem;
|
39009
|
+
}
|
39010
|
+
@media (prefers-reduced-motion: reduce) {
|
39011
|
+
.form-check-tiled .form-check-label {
|
39012
|
+
transition: none;
|
39013
|
+
}
|
39014
|
+
}
|
39015
|
+
.form-check-tiled .form-check-label span {
|
39016
|
+
display: block;
|
39017
|
+
font-family: "Wix MadeFor Display";
|
39018
|
+
font-weight: 400;
|
39019
|
+
}
|
39020
|
+
.form-check-tiled .form-check-label::before {
|
39021
|
+
position: absolute;
|
39022
|
+
top: 8px;
|
39023
|
+
right: 12px;
|
39024
|
+
width: 18px;
|
39025
|
+
height: 18px;
|
39026
|
+
content: "";
|
39027
|
+
background-image: url("data:image/svg+xml, %3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='%23fff'%3e%3cpath d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3e%3c/svg%3e");
|
39028
|
+
background-repeat: no-repeat;
|
39029
|
+
background-position: center center;
|
39030
|
+
background-size: 11px;
|
39031
|
+
border: 0.125rem solid rgb(205.4, 208.6, 214.2);
|
39032
|
+
opacity: 0;
|
39033
|
+
transform: scale(0);
|
39034
|
+
border-radius: 50rem;
|
39035
|
+
transition: 0.25s ease;
|
39036
|
+
}
|
39037
|
+
@media (prefers-reduced-motion: reduce) {
|
39038
|
+
.form-check-tiled .form-check-label::before {
|
39039
|
+
transition: none;
|
39040
|
+
}
|
39041
|
+
}
|
39042
|
+
.form-check-tiled .form-check-label i {
|
39043
|
+
display: block;
|
39044
|
+
margin-bottom: 0.5rem;
|
39045
|
+
}
|
39046
|
+
.form-check-tiled .form-check-label:hover {
|
39047
|
+
border-color: #3e51a2;
|
39048
|
+
}
|
39049
|
+
.form-check-tiled .form-check-label:hover::before {
|
39050
|
+
opacity: 1;
|
39051
|
+
transform: scale(1);
|
39052
|
+
}
|
39053
|
+
|
39054
|
+
.form-floating > .form-select:not(:focus):has(option[value=""]:checked) {
|
39055
|
+
text-indent: 100%;
|
39056
|
+
white-space: nowrap;
|
39057
|
+
}
|
39058
|
+
.form-floating > .form-select:not(:focus):has(option[value=""]:checked) ~ label {
|
39059
|
+
opacity: 1;
|
39060
|
+
transform: none;
|
39061
|
+
}
|
39062
|
+
|
38972
39063
|
/*# sourceMappingURL=keymaster.css.map */
|