@unlk/keymaster 1.0.1 → 1.0.3

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