@unlk/keymaster 1.0.6 → 1.0.8

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 CHANGED
@@ -2,6 +2,21 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [1.0.8] - 2025-05-12
6
+
7
+ ### Updated
8
+ - Tiled Radio and Checkbox Validation
9
+
10
+ ## [1.0.7] - 2025-05-06
11
+
12
+ ### Added
13
+ - Tiled Radio and Checkbox
14
+
15
+ ### Updated
16
+ - Floating label functionality for Selects
17
+ - Tooltip Border Radius
18
+
19
+
5
20
  ## [1.0.6] - 2025-05-02
6
21
 
7
22
  ### Updated
@@ -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
 
@@ -38965,8 +38965,119 @@ readers do not read off random characters that represent icons */
38965
38965
  --bs-btn-close-media-bg: url("data:image/svg+xml, %3csvg viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3e%3cstyle%3e.cls-1{fill:rgb%28205.4, 208.6, 214.2%29}.cls-2{fill:%23fff}.cls-3{fill:%231d1f50}%3c/style%3e%3cpath class='cls-1' d='M20 1.25C22.4623 1.25 24.9005 1.73498 27.1753 2.67726C29.4502 3.61953 31.5172 5.00065 33.2583 6.74175C34.9994 8.48285 36.3805 10.5498 37.3227 12.8247C38.265 15.0995 38.75 17.5377 38.75 20C38.75 22.4623 38.265 24.9005 37.3227 27.1753C36.3805 29.4502 34.9994 31.5172 33.2583 33.2583C31.5172 34.9994 29.4502 36.3805 27.1753 37.3227C24.9005 38.265 22.4623 38.75 20 38.75C17.5377 38.75 15.0995 38.265 12.8247 37.3227C10.5498 36.3805 8.48285 34.9994 6.74175 33.2583C5.00065 31.5172 3.61953 29.4502 2.67726 27.1753C1.73498 24.9005 1.25 22.4623 1.25 20C1.25 17.5377 1.73498 15.0995 2.67726 12.8247C3.61953 10.5498 5.00065 8.48285 6.74175 6.74175C8.48285 5.00065 10.5498 3.61953 12.8247 2.67726C15.0995 1.73498 17.5377 1.25 20 1.25ZM20 40C25.3043 40 30.3914 37.8929 34.1421 34.1421C37.8929 30.3914 40 25.3043 40 20C40 14.6957 37.8929 9.60859 34.1421 5.85786C30.3914 2.10714 25.3043 0 20 0C14.6957 0 9.60859 2.10714 5.85786 5.85786C2.10714 9.60859 0 14.6957 0 20C0 25.3043 2.10714 30.3914 5.85786 34.1421C9.60859 37.8929 14.6957 40 20 40Z'/%3e%3cpath class='cls-2' d='M1.25 20C1.25 22.4623 1.73498 24.9005 2.67726 27.1753C3.61953 29.4502 5.00065 31.5172 6.74175 33.2583C8.48285 34.9994 10.5498 36.3805 12.8247 37.3227C15.0995 38.265 17.5377 38.75 20 38.75C22.4623 38.75 24.9005 38.265 27.1753 37.3227C29.4502 36.3805 31.5172 34.9994 33.2583 33.2583C34.9994 31.5172 36.3805 29.4502 37.3227 27.1753C38.265 24.9005 38.75 22.4623 38.75 20C38.75 17.5377 38.265 15.0995 37.3227 12.8247C36.3805 10.5498 34.9994 8.48285 33.2583 6.74175C31.5172 5.00065 29.4502 3.61953 27.1753 2.67726C24.9005 1.73498 22.4623 1.25 20 1.25C17.5377 1.25 15.0995 1.73498 12.8247 2.67726C10.5498 3.61953 8.48285 5.00065 6.74175 6.74175C5.00065 8.48285 3.61953 10.5498 2.67726 12.8247C1.73498 15.0995 1.25 17.5377 1.25 20ZM13.9297 13.9297C14.1719 13.6875 14.5703 13.6875 14.8125 13.9297L20 19.1172L25.1797 13.9375C25.4219 13.6953 25.8203 13.6953 26.0625 13.9375C26.3047 14.1797 26.3047 14.5781 26.0625 14.8203L20.8828 20L26.0625 25.1797C26.3047 25.4219 26.3047 25.8203 26.0625 26.0625C25.8203 26.3047 25.4219 26.3047 25.1797 26.0625L20 20.8828L14.8203 26.0625C14.5781 26.3047 14.1797 26.3047 13.9375 26.0625C13.6953 25.8203 13.6953 25.4219 13.9375 25.1797L19.1172 20L13.9375 14.8203C13.6953 14.5781 13.6953 14.1797 13.9375 13.9375L13.9297 13.9297Z'/%3e%3cpath class='cls-3' d='M13.9297 14.8125C13.6875 14.5703 13.6875 14.1719 13.9297 13.9297L13.9375 13.9375C14.1797 13.6953 14.5781 13.6953 14.8203 13.9375L20 19.1172L25.1797 13.9375C25.4219 13.6953 25.8203 13.6953 26.0625 13.9375C26.3047 14.1797 26.3047 14.5781 26.0625 14.8203L20.8828 20L26.0625 25.1797C26.3047 25.4219 26.3047 25.8203 26.0625 26.0625C25.8203 26.3047 25.4219 26.3047 25.1797 26.0625L20 20.8828L14.8203 26.0625C14.5781 26.3047 14.1797 26.3047 13.9375 26.0625C13.6953 25.8203 13.6953 25.4219 13.9375 25.1797L19.1172 20L13.9297 14.8125Z'/%3e%3c/svg%3e");
38966
38966
  }
38967
38967
 
38968
+ .form-check.form-check-tiled > .form-check-input:valid ~ .form-check-label,
38969
+ .form-check.form-check-tiled > .form-check-input.is-valid ~ .form-check-label {
38970
+ color: var(--bs-form-valid-color);
38971
+ border-color: var(--bs-form-valid-color);
38972
+ }
38973
+ .form-check.form-check-tiled > .form-check-input:valid ~ .form-check-label::before,
38974
+ .form-check.form-check-tiled > .form-check-input.is-valid ~ .form-check-label::before {
38975
+ border-color: var(--bs-form-valid-color);
38976
+ }
38977
+
38978
+ .form-check.form-check-tiled > .form-check-input:invalid ~ .form-check-label,
38979
+ .form-check.form-check-tiled > .form-check-input.is-invalid ~ .form-check-label {
38980
+ color: var(--bs-form-invalid-color);
38981
+ border-color: var(--bs-form-invalid-color);
38982
+ }
38983
+ .form-check.form-check-tiled > .form-check-input:invalid ~ .form-check-label::before,
38984
+ .form-check.form-check-tiled > .form-check-input.is-invalid ~ .form-check-label::before {
38985
+ border-color: var(--bs-form-invalid-color);
38986
+ }
38987
+
38968
38988
  .form-control {
38969
38989
  box-shadow: none;
38970
38990
  }
38971
38991
 
38992
+ .form-check-tiled {
38993
+ position: relative;
38994
+ padding-right: 0.25rem;
38995
+ padding-left: 0.25rem;
38996
+ margin-bottom: 0.5rem;
38997
+ }
38998
+ .form-check-tiled input:checked label {
38999
+ border-color: #3e51a2;
39000
+ }
39001
+ .form-check-tiled .form-check-input {
39002
+ position: absolute;
39003
+ width: 1px;
39004
+ height: 1px;
39005
+ overflow: hidden;
39006
+ clip: rect(0 0 0 0);
39007
+ clip-path: inset(100%);
39008
+ white-space: nowrap;
39009
+ }
39010
+ .form-check-tiled .form-check-input:checked ~ .form-check-label {
39011
+ border-color: #3e51a2;
39012
+ }
39013
+ .form-check-tiled .form-check-input:checked ~ .form-check-label::before {
39014
+ background-color: #3e51a2;
39015
+ border-color: #3e51a2;
39016
+ opacity: 1;
39017
+ transform: scale(1);
39018
+ }
39019
+ .form-check-tiled .form-check-label {
39020
+ width: 100%;
39021
+ margin-bottom: 0;
39022
+ font-weight: 700;
39023
+ text-align: left;
39024
+ cursor: pointer;
39025
+ border: 0.125rem solid rgb(217.8, 220.2, 224.4);
39026
+ border-radius: 0.375rem;
39027
+ transition: all 0.15s ease-in-out;
39028
+ padding: 1rem;
39029
+ }
39030
+ @media (prefers-reduced-motion: reduce) {
39031
+ .form-check-tiled .form-check-label {
39032
+ transition: none;
39033
+ }
39034
+ }
39035
+ .form-check-tiled .form-check-label span {
39036
+ display: block;
39037
+ font-family: "Wix MadeFor Display";
39038
+ font-weight: 400;
39039
+ }
39040
+ .form-check-tiled .form-check-label::before {
39041
+ position: absolute;
39042
+ top: 8px;
39043
+ right: 12px;
39044
+ width: 18px;
39045
+ height: 18px;
39046
+ content: "";
39047
+ 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");
39048
+ background-repeat: no-repeat;
39049
+ background-position: center center;
39050
+ background-size: 11px;
39051
+ border: 0.125rem solid rgb(205.4, 208.6, 214.2);
39052
+ opacity: 0;
39053
+ transform: scale(0);
39054
+ border-radius: 50rem;
39055
+ transition: 0.25s ease;
39056
+ }
39057
+ @media (prefers-reduced-motion: reduce) {
39058
+ .form-check-tiled .form-check-label::before {
39059
+ transition: none;
39060
+ }
39061
+ }
39062
+ .form-check-tiled .form-check-label i {
39063
+ display: block;
39064
+ margin-bottom: 0.5rem;
39065
+ }
39066
+ .form-check-tiled .form-check-label:hover {
39067
+ border-color: #3e51a2;
39068
+ }
39069
+ .form-check-tiled .form-check-label:hover::before {
39070
+ opacity: 1;
39071
+ transform: scale(1);
39072
+ }
39073
+
39074
+ .form-floating > .form-select:not(:focus):has(option[value=""]:checked) {
39075
+ text-indent: 100%;
39076
+ white-space: nowrap;
39077
+ }
39078
+ .form-floating > .form-select:not(:focus):has(option[value=""]:checked) ~ label {
39079
+ opacity: 1;
39080
+ transform: none;
39081
+ }
39082
+
38972
39083
  /*# sourceMappingURL=keymaster.css.map */