@unlk/keymaster 1.0.4 → 1.0.5

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Unlock Keymaster v1.0.4 (https://unlock-com.github.io/keymaster)
2
+ * Unlock Keymaster v1.0.5 (https://unlock-com.github.io/keymaster)
3
3
  * Copyright 2022-2025 Unlk Developers
4
4
  */
5
5
  (function (global, factory) {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Unlock Keymaster v1.0.4 (https://unlock-com.github.io/keymaster)
2
+ * Unlock Keymaster v1.0.5 (https://unlock-com.github.io/keymaster)
3
3
  * Copyright 2022-2025 Unlk Developers
4
4
  */
5
5
  !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).keymaster={})}(this,(function(t){"use strict";"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function e(t){if(t.__esModule)return t;var e=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach((function(i){var n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:function(){return t[i]}})})),e}var i={exports:{}},n={exports:{}},s={exports:{}};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unlk/keymaster",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -76,10 +76,5 @@
76
76
  "rollup": "^2.60.2",
77
77
  "sass": "^1.87.0",
78
78
  "terser": "^5.10.0"
79
- },
80
- "config": {
81
- "commitizen": {
82
- "path": "./node_modules/cz-conventional-changelog"
83
- }
84
79
  }
85
80
  }
@@ -23,6 +23,7 @@
23
23
 
24
24
  // Theme
25
25
  @import "theme/variables";
26
+ @import "theme/root";
26
27
  @import "theme/type";
27
28
  @import "theme/buttons";
28
29
  @import "theme/accordion";
@@ -32,3 +33,4 @@
32
33
  @import "theme/spinners";
33
34
  @import "theme/modal";
34
35
  @import "theme/close";
36
+ @import "theme/forms";
@@ -0,0 +1 @@
1
+ @import "forms/form-control";
@@ -0,0 +1,6 @@
1
+ :root,
2
+ [data-bs-theme="light"] {
3
+ --#{$prefix}border-radius-xs: #{$border-radius-xs};
4
+ --#{$prefix}font-weight-medium: #{$font-weight-medium};
5
+ --#{$prefix}font-weight-bold: #{$font-weight-bold};
6
+ }
@@ -1,7 +1,6 @@
1
1
  @import "../assets/bootstrap5/functions";
2
- @import "../assets/bootstrap5/variables";
3
2
 
4
- $enable-shadows: true;
3
+ $prefix: bs-;
5
4
  $enable-validation-icons: false;
6
5
 
7
6
  // Fontawesome
@@ -337,11 +336,11 @@ $body-color: $foundation-500;
337
336
  // Headings
338
337
  $headings-color: $foundation-500;
339
338
  $headings-font-family: "Neulis Neue";
340
- $headings-font-weight: $font-weight-medium;
339
+ $headings-font-weight: var(--#{$prefix}font-weight-medium);
341
340
 
342
341
  // Display Headings
343
342
  $display-font-family: "Neulis Neue";
344
- $display-font-weight: $font-weight-medium;
343
+ $display-font-weight: var(--#{$prefix}font-weight-medium);
345
344
  $display-line-height: 1.1;
346
345
 
347
346
  $font-sizes: (
@@ -370,6 +369,7 @@ $table-variants: (
370
369
 
371
370
  // Borders
372
371
  $border-width: 2px;
372
+ $border-color: $gray-400;
373
373
 
374
374
  // Buttons + Forms
375
375
  $input-btn-border-width: .125rem;
@@ -395,9 +395,9 @@ $blockquote-font-size: $font-size-base * 3.5;
395
395
 
396
396
  // Accordion
397
397
  $accordion-border-radius: var(--#{$prefix}border-radius-sm);
398
- $accordion-inner-border-radius: subtract($accordion-border-radius, $accordion-border-width);
399
398
  $accordion-button-active-bg: var(--#{$prefix}primary);
400
399
  $accordion-button-active-color: var(--#{$prefix}light);
400
+ $accordion-icon-color: $body-color;
401
401
  $accordion-icon-active-color: $light;
402
402
  $accordion-button-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='#{$accordion-icon-color}'><path d='M11.1,18.3c0.5,0.5,1.4,0.5,1.9,0L23.6,7.6c0.5-0.5,0.5-1.4,0-1.9c-0.5-0.5-1.4-0.5-1.9,0L12,15.5L2.3,5.7c-0.5-0.5-1.4-0.5-1.9,0s-0.5,1.4,0,1.9L11.1,18.3z'/></svg>");
403
403
  $accordion-button-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='#{$accordion-icon-active-color}'><path d='M11.1,18.3c0.5,0.5,1.4,0.5,1.9,0L23.6,7.6c0.5-0.5,0.5-1.4,0-1.9c-0.5-0.5-1.4-0.5-1.9,0L12,15.5L2.3,5.7c-0.5-0.5-1.4-0.5-1.9,0s-0.5,1.4,0,1.9L11.1,18.3z'/></svg>");
@@ -422,3 +422,15 @@ $carousel-control-next-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w
422
422
 
423
423
  // Tooltips
424
424
  $tooltip-bg: var(--#{$prefix}primary);
425
+
426
+ // Progress
427
+ $progress-border-radius: var(--#{$prefix}border-radius-xs);
428
+
429
+ // Inputs
430
+ $input-border-color: $gray-600;
431
+ $input-placeholder-color: $gray-600;
432
+ $input-focus-border-color: $tertiary;
433
+ $input-focus-box-shadow: 0 0 0 .25rem rgba($tertiary, .75);
434
+ $input-border-radius: var(--#{$prefix}border-radius-xs);
435
+ $input-border-radius-sm: var(--#{$prefix}border-radius-xs);
436
+ $input-border-radius-lg: var(--#{$prefix}border-radius-sm);
@@ -6,7 +6,6 @@ $blockquote-font-family: "STIXTwoText";
6
6
 
7
7
  // scss-docs-start border-radius-variables
8
8
  $border-radius-xs: rfs-value(4px);
9
-
10
9
  // scss-docs-end border-radius-variables
11
10
 
12
11
  // Accordion
@@ -0,0 +1,3 @@
1
+ .form-control {
2
+ @include box-shadow(none);
3
+ }