edu-webcomponents 1.19.24 → 1.20.0

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
@@ -4,8 +4,16 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ #### [v1.20.0](https://github.com/eduardocruzpalacios/edu-webcomponents/compare/v1.19.24...v1.20.0)
8
+
9
+ - feat: add edu-loading-button component [`ae19314`](https://github.com/eduardocruzpalacios/edu-webcomponents/commit/ae19314aefc2bf5112b743854fbb44bc53c98b52)
10
+
7
11
  #### [v1.19.24](https://github.com/eduardocruzpalacios/edu-webcomponents/compare/v1.19.23...v1.19.24)
8
12
 
13
+ > 5 January 2026
14
+
15
+ - chore: release v1.19.24 [`5d069ba`](https://github.com/eduardocruzpalacios/edu-webcomponents/commit/5d069ba71b1183b05b75f4ca9b4dc3fb3ead85d6)
16
+
9
17
  #### [v1.19.23](https://github.com/eduardocruzpalacios/edu-webcomponents/compare/v1.19.22...v1.19.23)
10
18
 
11
19
  > 5 January 2026
package/index.js CHANGED
@@ -1,3 +1,4 @@
1
1
  export { EduButton } from './src/edu-button/index.js';
2
+ export { EduLoadingSpinner } from './src/edu-loading-spinner/index.js';
2
3
  export { EduProgressBar } from './src/edu-progress-bar/index.js';
3
4
  export { EduTooltip } from './src/edu-tooltip/index.js';
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  ],
12
12
  "license": "MIT",
13
13
  "author": "edu-webcomponents",
14
- "version": "1.19.24",
14
+ "version": "1.20.0",
15
15
  "repository": {
16
16
  "type": "git",
17
17
  "url": "https://github.com/eduardocruzpalacios/edu-webcomponents"
@@ -0,0 +1,22 @@
1
+ import { html } from 'lit';
2
+ import './index.js';
3
+
4
+ export default {
5
+ title: 'Edu web components/EduLoadingSpinner',
6
+ tags: ['autodocs'],
7
+ };
8
+
9
+ const createStory = args => {
10
+ const story = () => html` <edu-loading-spinner></edu-loading-spinner> `;
11
+ story.parameters = {
12
+ controls: { expanded: true },
13
+ docs: { source: { type: 'code' } },
14
+ };
15
+ story.argTypes = {};
16
+ story.args = args;
17
+ return story;
18
+ };
19
+
20
+ const defaultArgs = {};
21
+
22
+ export const EduLoadingSpinnerDefault = createStory({ ...defaultArgs });
@@ -0,0 +1,3 @@
1
+ import { EduLoadingSpinner } from './src/EduLoadingSpinner.js';
2
+
3
+ export { EduLoadingSpinner };
@@ -0,0 +1,33 @@
1
+ import { html, css, LitElement } from 'lit';
2
+ import { colorsConstants } from '../../stylesConstants.js';
3
+
4
+ export class EduLoadingSpinner extends LitElement {
5
+ static styles = [
6
+ colorsConstants,
7
+ css`
8
+ .spinner {
9
+ border: 8px solid var(--primaryForeground);
10
+ border-top: 8px solid var(--primary);
11
+ border-radius: 50%;
12
+ width: 60px;
13
+ height: 60px;
14
+ animation: spin 1.5s linear infinite;
15
+ }
16
+
17
+ @keyframes spin {
18
+ 0% {
19
+ transform: rotate(0deg);
20
+ }
21
+ 100% {
22
+ transform: rotate(360deg);
23
+ }
24
+ }
25
+ `,
26
+ ];
27
+
28
+ render() {
29
+ return html` <div class="spinner"></div> `;
30
+ }
31
+ }
32
+
33
+ customElements.define('edu-loading-spinner', EduLoadingSpinner);