@unlk/keymaster 1.0.7 → 1.0.9

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.
@@ -35,7 +35,7 @@ class CarouselCaption extends BaseComponent {
35
35
  const activeItem = SelectorEngine.findOne('.carousel-item.active', this._element);
36
36
  const newCaption = activeItem?.getAttribute('data-caption');
37
37
  if (this._captionEl && newCaption) {
38
- this._captionEl.textContent = newCaption;
38
+ this._captionEl.textContent = newCaption || '';
39
39
  }
40
40
  }
41
41
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unlk/keymaster",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -53,28 +53,28 @@
53
53
  "bootstrap": "^5.3.0"
54
54
  },
55
55
  "devDependencies": {
56
- "@babel/core": "^7.16.0",
57
- "@babel/preset-env": "^7.16.4",
58
- "@fortawesome/fontawesome-pro": "^6.1.1",
59
- "@popperjs/core": "^2.11.0",
60
- "@rollup/plugin-babel": "^5.3.0",
61
- "@rollup/plugin-commonjs": "^21.0.0",
62
- "@rollup/plugin-multi-entry": "^4.1.0",
63
- "@rollup/plugin-node-resolve": "^13.0.6",
64
- "@rollup/plugin-replace": "^3.0.0",
65
- "autoprefixer": "^10.4.0",
66
- "bootstrap": "^5.3.0",
67
- "browser-sync": "^3.0.3",
68
- "browserslist": "^4.18.1",
69
- "caniuse-lite": "^1.0.30001283",
70
- "clean-css-cli": "^5.4.2",
71
- "del": "^6.0.0",
72
- "nodemon": "^2.0.15",
56
+ "@babel/core": "^7.27.1",
57
+ "@babel/preset-env": "^7.27.2",
58
+ "@fortawesome/fontawesome-pro": "^6.7.2",
59
+ "@popperjs/core": "^2.11.8",
60
+ "@rollup/plugin-babel": "^6.0.4",
61
+ "@rollup/plugin-commonjs": "^28.0.3",
62
+ "@rollup/plugin-multi-entry": "^6.0.1",
63
+ "@rollup/plugin-node-resolve": "^16.0.1",
64
+ "@rollup/plugin-replace": "^6.0.2",
65
+ "autoprefixer": "^10.4.21",
66
+ "bootstrap": "^5.3.6",
67
+ "browser-sync": "^3.0.4",
68
+ "browserslist": "^4.24.5",
69
+ "caniuse-lite": "^1.0.30001718",
70
+ "clean-css-cli": "^5.6.3",
71
+ "del": "^8.0.0",
72
+ "nodemon": "^3.1.10",
73
73
  "npm-run-all": "^4.1.5",
74
- "postcss": "^8.4.4",
75
- "postcss-cli": "^9.0.2",
76
- "rollup": "^2.60.2",
77
- "sass": "^1.87.0",
78
- "terser": "^5.10.0"
74
+ "postcss": "^8.5.3",
75
+ "postcss-cli": "^11.0.1",
76
+ "rollup": "^4.40.2",
77
+ "sass": "^1.88.0",
78
+ "terser": "^5.39.1"
79
79
  }
80
80
  }
@@ -20,6 +20,7 @@
20
20
  // Mixins
21
21
  @import "theme/mixins/buttons";
22
22
  @import "theme/mixins/badge";
23
+ @import "theme/mixins/forms";
23
24
 
24
25
  // Theme
25
26
  @import "theme/variables";
@@ -1,3 +1,4 @@
1
+ @import "forms/validation";
1
2
  @import "forms/form-control";
2
3
  @import "forms/form-check";
3
4
  @import "forms/floating-labels";
@@ -0,0 +1,5 @@
1
+ @each $state, $data in $form-validation-states {
2
+ $color: map-get($data, color);
3
+ $border-color: $color;
4
+ @include form-check-tiled-validation-state($state, $color, $border-color);
5
+ }
@@ -0,0 +1,11 @@
1
+ @mixin form-check-tiled-validation-state($state, $color, $border-color: $color) {
2
+ .form-check.form-check-tiled > .form-check-input:#{$state} ~ .form-check-label,
3
+ .form-check.form-check-tiled > .form-check-input.is-#{$state} ~ .form-check-label {
4
+ color: $color;
5
+ border-color: $border-color;
6
+
7
+ &::before {
8
+ border-color: $border-color;
9
+ }
10
+ }
11
+ }