@unlk/keymaster 1.0.2 → 1.0.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.
Files changed (48) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/README.md +157 -0
  3. package/dist/css/keymaster.css +642 -588
  4. package/dist/css/keymaster.css.map +1 -1
  5. package/dist/css/keymaster.min.css +5 -5
  6. package/dist/css/keymaster.min.css.map +1 -1
  7. package/dist/js/keymaster.js +180 -80
  8. package/dist/js/keymaster.js.map +1 -1
  9. package/dist/js/keymaster.min.js +65 -65
  10. package/dist/js/keymaster.min.js.map +1 -1
  11. package/js/bootstrap.js +1 -0
  12. package/js/video-modal.js +123 -0
  13. package/package.json +3 -2
  14. package/scss/assets/bootstrap5/_accordion.scss +4 -9
  15. package/scss/assets/bootstrap5/_button-group.scss +8 -3
  16. package/scss/assets/bootstrap5/_card.scss +1 -2
  17. package/scss/assets/bootstrap5/_carousel.scss +15 -25
  18. package/scss/assets/bootstrap5/_close.scss +9 -6
  19. package/scss/assets/bootstrap5/_functions.scss +1 -1
  20. package/scss/assets/bootstrap5/_list-group.scss +27 -25
  21. package/scss/assets/bootstrap5/_modal.scss +6 -2
  22. package/scss/assets/bootstrap5/_nav.scss +1 -1
  23. package/scss/assets/bootstrap5/_navbar.scss +1 -1
  24. package/scss/assets/bootstrap5/_offcanvas.scss +5 -1
  25. package/scss/assets/bootstrap5/_pagination.scss +1 -1
  26. package/scss/assets/bootstrap5/_progress.scss +1 -1
  27. package/scss/assets/bootstrap5/_reboot.scss +1 -1
  28. package/scss/assets/bootstrap5/_type.scss +1 -1
  29. package/scss/assets/bootstrap5/_variables-dark.scss +17 -2
  30. package/scss/assets/bootstrap5/_variables.scss +16 -16
  31. package/scss/assets/bootstrap5/forms/_floating-labels.scss +18 -16
  32. package/scss/assets/bootstrap5/forms/_input-group.scss +1 -1
  33. package/scss/assets/bootstrap5/mixins/_banner.scss +2 -2
  34. package/scss/assets/bootstrap5/mixins/_grid.scss +1 -1
  35. package/scss/assets/bootstrap5/mixins/_visually-hidden.scss +1 -1
  36. package/scss/keymaster.scss +3 -0
  37. package/scss/theme/_accordion.scss +13 -3
  38. package/scss/theme/_alert.scss +2 -0
  39. package/scss/theme/_badge.scss +1 -1
  40. package/scss/theme/_buttons.scss +5 -5
  41. package/scss/theme/_carousel.scss +3 -6
  42. package/scss/theme/_close.scss +3 -0
  43. package/scss/theme/_modal.scss +35 -0
  44. package/scss/theme/_spinners.scss +9 -0
  45. package/scss/theme/_typography.scss +8 -13
  46. package/scss/theme/_utilities-overrides.scss +33 -33
  47. package/scss/theme/_variables-overrides.scss +15 -8
  48. package/scss/theme/_variables.scss +12 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,48 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ ## [1.0.4] - 2025-04-25
6
+
7
+ ### Updated
8
+ Readme Logo
9
+ Changelog function for github build
10
+
11
+ ## [1.0.3] - 2025-04-25
12
+
13
+ ### Updated
14
+ Bootstrap 5.3.5
15
+
16
+ ### Added
17
+ - Spinners
18
+ - Tooltips
19
+ - Popovers
20
+ - Modals
21
+
22
+ ## [1.0.2] - 2025-04-21
23
+
24
+ ### Added
25
+
26
+ - Shadows
27
+
28
+ ## [1.0.1] - 2025-04-21
29
+
30
+ ### Added
31
+
32
+ - Typography
33
+ - Accordion
34
+ - Alert
35
+ - Badge
36
+ - Button Group
37
+ - Button
38
+ - Carousel
39
+
40
+ ## [1.0.0] - 2025-02-05
41
+
42
+ _This is the first stable release of the design system._
43
+
44
+ ### Added
45
+
46
+ - Font Awesome 6
47
+ - Color utility classes for brand colors
48
+ - Theme colors matching the brand colors
package/README.md ADDED
@@ -0,0 +1,157 @@
1
+ <a name="readme-top"></a>
2
+
3
+ <!-- PROJECT LOGO -->
4
+
5
+ <br />
6
+ <div align="center">
7
+ <a href="https://www.unlock.com/">
8
+ <svg width="54" height="88" viewBox="0 0 54 88" fill="none" xmlns="http://www.w3.org/2000/svg">
9
+ <path d="M42.5456 70.7213H53.182L31.9092 42.5022H21.2728L42.5456 70.7213Z" fill="#CBEBF8"/>
10
+ <path d="M42.5456 70.7213H31.9092V88H42.5456V70.7213Z" fill="#CBEBF8"/>
11
+ <path d="M31.9092 70.7213H42.5456L21.2728 42.5022H10.6364L31.9092 70.7213Z" fill="#66CDF3"/>
12
+ <path d="M31.9092 70.7213V88H21.2728V70.7213H31.9092Z" fill="#66CDF3"/>
13
+ <path d="M21.2728 70.7213H31.9092L10.6364 42.5022V21.2728C10.6364 15.4119 15.4119 10.6364 21.2728 10.6364C27.1337 10.6364 31.9092 15.4119 31.9092 21.2728V25.701H42.5456V21.2728C42.5456 9.50765 33.038 0 21.2728 0C9.50765 0 0.0434132 9.50765 0.0434132 21.2294V42.4588L21.2728 70.7213Z" fill="#3A7BBE"/>
14
+ <path d="M21.2728 70.7213V88H16.2802C14.2832 88 12.4164 87.6527 10.6364 87.0015V70.7213H21.2728Z" fill="#3A7BBE"/>
15
+ <path d="M0.0434139 42.5022L21.2728 70.7647H10.6364V87.0449C4.42822 84.744 0 78.7962 0 71.8066V42.4154V42.5022H0.0434139Z" fill="#3E51A2"/>
16
+ </svg>
17
+
18
+ </a>
19
+
20
+ <h3 align="center">Keymaster</h3>
21
+
22
+ <p align="center">
23
+ The base styles for all Unlock Projects based off Bootstrap 5
24
+ <br />
25
+ <a href="https://unlock-com.github.io/keymaster"><strong>Live Demo and Docs »</strong></a>
26
+ </p>
27
+ </div>
28
+
29
+ <!-- TABLE OF CONTENTS -->
30
+ <details>
31
+ <summary>Table of Contents</summary>
32
+ <ol>
33
+ <li>
34
+ <a href="#about-the-project">About The Project</a>
35
+ <ul>
36
+ <li><a href="#built-with">Built With</a></li>
37
+ </ul>
38
+ </li>
39
+ <li>
40
+ <a href="#getting-started">Getting Started</a>
41
+ <ul>
42
+ <li><a href="#prerequisites">Prerequisites</a></li>
43
+ <li><a href="#installation">Installation</a></li>
44
+ </ul>
45
+ </li>
46
+ <li><a href="#usage">Usage</a></li>
47
+ </ol>
48
+ </details>
49
+
50
+ <!-- ABOUT THE PROJECT -->
51
+
52
+ ## About The Project
53
+
54
+ Keymaster is the shared visual and interactive language that guides how we build high-quality customer experience. It’s
55
+ intended for use both internally at Unlock and externally by third-party developers and designers.
56
+
57
+ More specifically, we aim to:
58
+
59
+ * Make it easier for our customers and partners to do business with us by obscuring organizational boundaries, channels
60
+ and technology stacks.
61
+ * Save time and money during the design and delivery phase.
62
+ * Ease collaboration and align teams.
63
+
64
+ <p align="right">(<a href="#readme-top">back to top</a>)</p>
65
+
66
+ ### Built With
67
+
68
+ [![Bootstrap][Bootstrap.com]][Bootstrap-url]
69
+ [![Storybook][Storybook.js.org]][Storybook-url]
70
+
71
+ <p align="right">(<a href="#readme-top">back to top</a>)</p>
72
+
73
+
74
+
75
+ <!-- GETTING STARTED -->
76
+
77
+ ## Getting Started
78
+
79
+ ### Prerequisites
80
+
81
+ The design system has a few dependencies that you will need to install before you can use it.
82
+
83
+ * [Bootstrap 5](https://getbootstrap.com/docs/)
84
+ * [Sass](https://sass-lang.com/) (Optional: If you want to compile the Sass files yourself.)
85
+
86
+ Symphony also requires you to have [Bootstrap 5](https://getbootstrap.com/docs/) installed in your project as a
87
+ peer-dependency.
88
+ If you do not have Bootstrap 5 installed, you can install it with the following command:
89
+
90
+ ```sh
91
+ npm install bootstrap@5
92
+ ```
93
+
94
+ Optional:
95
+ This project utilizes sass and requires you to have [sass](https://npmjs.com/package/sass) to compile our sources.
96
+ Alternatively, you can use the compiled CSS files in the `dist` folder.
97
+ If you do not have sass installed, you can install it with the following command:
98
+
99
+ ```sh
100
+ // locally
101
+ npm install --save-dev sass
102
+
103
+
104
+ // or globally
105
+ npm install -g sass
106
+ ```
107
+
108
+ ### Installation
109
+
110
+ To install `@unlk/keymaster` in your project with [npm](https://www.npmjs.com/), run the following command:
111
+
112
+ ```sh
113
+ npm install @unlk/keymaster
114
+ ```
115
+
116
+ <p align="right">(<a href="#readme-top">back to top</a>)</p>
117
+
118
+
119
+
120
+ <!-- USAGE EXAMPLES -->
121
+
122
+ ## Usage
123
+
124
+ To use the keymaster design system, you will need to import the scss file into your project.
125
+ This will import all of keymaster's styles and variables into your project.
126
+
127
+ ```scss
128
+ @import '@unlk/keymaster/scss/keymaster.scss';
129
+ ```
130
+
131
+ Alternatively, if you want to use the precompiled css, you can import the compiled css file into your project.
132
+
133
+ ```scss
134
+ @import '@unlk/keymaster/dist/css/keymaster.css';
135
+ ```
136
+
137
+ You will also need to import the keymaster's javascript dependencies into your project.
138
+
139
+ ```js
140
+ import '@unlk/keymaster/js/bootstrap.js';
141
+ ```
142
+
143
+ <p align="right">(<a href="#readme-top">back to top</a>)</p>
144
+
145
+ <!-- MARKDOWN LINKS & IMAGES -->
146
+ <!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->
147
+
148
+ [product-screenshot]: images/screenshot.png
149
+
150
+ [Bootstrap.com]: https://img.shields.io/badge/Bootstrap-563D7C?style=for-the-badge&logo=bootstrap&logoColor=white
151
+
152
+ [Bootstrap-url]: https://getbootstrap.com
153
+
154
+ [Storybook.js.org]: https://img.shields.io/badge/Storybook-ff4785?style=for-the-badge&logo=storybook&logoColor=white
155
+
156
+ [Storybook-url]: https://storybook.js.org/
157
+