edu-webcomponents 1.22.0 → 1.24.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,9 +4,23 @@ 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.24.0](https://github.com/eduardocruzpalacios/edu-webcomponents/compare/v1.23.0...v1.24.0)
8
+
9
+ - docs: improve README.md [`f14c2e0`](https://github.com/eduardocruzpalacios/edu-webcomponents/commit/f14c2e0201036091fb21e1f649be85ea63f6ffaa)
10
+
11
+ #### [v1.23.0](https://github.com/eduardocruzpalacios/edu-webcomponents/compare/v1.22.0...v1.23.0)
12
+
13
+ > 8 January 2026
14
+
15
+ - docs: improve demo [`af75a42`](https://github.com/eduardocruzpalacios/edu-webcomponents/commit/af75a42432fbd667f97a1e8c05ea4a32f0bcdfa6)
16
+ - chore: release v1.23.0 [`5244437`](https://github.com/eduardocruzpalacios/edu-webcomponents/commit/5244437248594e8bf1f31985358b74c52c8ad330)
17
+
7
18
  #### [v1.22.0](https://github.com/eduardocruzpalacios/edu-webcomponents/compare/v1.21.0...v1.22.0)
8
19
 
9
- - feat: add edu-skeleton-text component [`0003c11`](https://github.com/eduardocruzpalacios/edu-webcomponents/commit/0003c1130e907cafd720e847fa994c16f88d0741)
20
+ > 7 January 2026
21
+
22
+ - feat: add edu-skeleton-text component [`8192e1c`](https://github.com/eduardocruzpalacios/edu-webcomponents/commit/8192e1c2687445369ab7c6b41eb28fcdb615c726)
23
+ - chore: release v1.22.0 [`347cf37`](https://github.com/eduardocruzpalacios/edu-webcomponents/commit/347cf37914aa1e42a90b9c1eca4963e528bdb005)
10
24
 
11
25
  #### [v1.21.0](https://github.com/eduardocruzpalacios/edu-webcomponents/compare/v1.20.0...v1.21.0)
12
26
 
package/README.md CHANGED
@@ -1,62 +1,356 @@
1
- # Edu web components library
1
+ # 🎨 Edu Web Components Library
2
2
 
3
- This web components library follows the [open-wc](https://github.com/open-wc/open-wc) recommendation.
3
+ [![npm version](https://img.shields.io/npm/v/edu-webcomponents.svg)](https://www.npmjs.com/package/edu-webcomponents)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
5
+ [![Built with Lit](https://img.shields.io/badge/Built%20with-Lit-324FFF.svg)](https://lit.dev)
4
6
 
5
- ## Installation
7
+ A modern, lightweight collection of reusable web components built with [Lit](https://lit.dev) following [open-wc](https://github.com/open-wc/open-wc) recommendations.
8
+
9
+ **[📖 View Live Demo & Documentation](https://eduardocruzpalacios.github.io/edu-webcomponents/)**
10
+
11
+ ## ✨ Features
12
+
13
+ - 🚀 **Lightweight** - Built with Lit for minimal bundle size
14
+ - ♿ **Accessible** - ARIA-compliant components with keyboard support
15
+ - 🎯 **Framework-agnostic** - Works with any JavaScript framework or vanilla JS
16
+ - 🎨 **Customizable** - CSS custom properties for easy theming
17
+ - 📦 **Tree-shakeable** - Import only what you need
18
+ - ✅ **Well-tested** - Comprehensive test coverage
19
+
20
+ ## 📦 Installation
6
21
 
7
22
  ```bash
8
- npm i edu-webcomponents
23
+ npm install edu-webcomponents
9
24
  ```
10
25
 
11
- ## Usage
26
+ ## 🚀 Quick Start
27
+
28
+ Import all components:
12
29
 
13
30
  ```html
14
31
  <script type="module">
15
32
  import 'edu-webcomponents/index.js';
16
33
  </script>
17
34
 
18
- <webcomponent-tagname></webcomponent-tagname>
35
+ <edu-button text="Click me"></edu-button>
36
+ ```
37
+
38
+ Or import individual components:
39
+
40
+ ```html
41
+ <script type="module">
42
+ import 'edu-webcomponents/src/edu-button/index.js';
43
+ </script>
44
+
45
+ <edu-button text="Click me"></edu-button>
46
+ ```
47
+
48
+ ## 📚 Components
49
+
50
+ ### 🔘 Button
51
+
52
+ A customizable button component with hover effects and disabled state.
53
+
54
+ **Properties:**
55
+ - `text` (String) - Button text content (default: `'Default text'`)
56
+ - `type` (String) - Button type attribute (default: `'button'`)
57
+ - `disabled` (Boolean) - Whether the button is disabled (default: `false`)
58
+ - `aria-label` (String) - Accessibility label
59
+
60
+ **Usage:**
61
+
62
+ ```html
63
+ <!-- Basic button -->
64
+ <edu-button text="Click me"></edu-button>
65
+
66
+ <!-- Disabled button -->
67
+ <edu-button text="Disabled" disabled></edu-button>
68
+
69
+ <!-- Submit button with aria-label -->
70
+ <edu-button
71
+ text="Submit Form"
72
+ type="submit"
73
+ aria-label="Submit the form">
74
+ </edu-button>
75
+ ```
76
+
77
+ **JavaScript:**
78
+
79
+ ```javascript
80
+ import { EduButton } from 'edu-webcomponents';
81
+
82
+ const button = document.querySelector('edu-button');
83
+ button.addEventListener('click', () => {
84
+ console.log('Button clicked!');
85
+ });
86
+ ```
87
+
88
+ ---
89
+
90
+ ### ➖ Divider
91
+
92
+ A horizontal divider to visually separate content sections.
93
+
94
+ **Properties:**
95
+ - `label` (String) - Optional text label displayed in the center (default: `''`)
96
+
97
+ **Usage:**
98
+
99
+ ```html
100
+ <!-- Simple divider -->
101
+ <edu-divider></edu-divider>
102
+
103
+ <!-- Divider with label -->
104
+ <edu-divider label="OR"></edu-divider>
105
+ ```
106
+
107
+ ---
108
+
109
+ ### ⏳ Loading Spinner
110
+
111
+ An animated circular loading spinner with smooth rotation animation.
112
+
113
+ **Properties:**
114
+ None - displays a default 60x60px spinner.
115
+
116
+ **Usage:**
117
+
118
+ ```html
119
+ <edu-loading-spinner></edu-loading-spinner>
120
+ ```
121
+
122
+ ---
123
+
124
+ ### 📊 Progress Bar
125
+
126
+ A progress bar component to visualize task completion or loading progress.
127
+
128
+ **Properties:**
129
+ - `value` (Number) - Current progress value (default: `0`)
130
+ - `max` (Number) - Maximum value (default: `100`)
131
+ - `showLabel` (Boolean) - Whether to display percentage label (default: `false`)
132
+ - `progressbarName` (String) - Accessibility label (default: `'Progress bar'`)
133
+
134
+ **Usage:**
135
+
136
+ ```html
137
+ <!-- Basic progress bar -->
138
+ <edu-progress-bar value="50" max="100"></edu-progress-bar>
139
+
140
+ <!-- With percentage label -->
141
+ <edu-progress-bar
142
+ value="75"
143
+ max="100"
144
+ showLabel>
145
+ </edu-progress-bar>
146
+
147
+ <!-- Custom accessibility label -->
148
+ <edu-progress-bar
149
+ value="3"
150
+ max="5"
151
+ showLabel
152
+ progressbarName="File upload progress">
153
+ </edu-progress-bar>
154
+ ```
155
+
156
+ **JavaScript:**
157
+
158
+ ```javascript
159
+ const progressBar = document.querySelector('edu-progress-bar');
160
+ let progress = 0;
161
+
162
+ const interval = setInterval(() => {
163
+ progress += 10;
164
+ progressBar.value = progress;
165
+
166
+ if (progress >= 100) {
167
+ clearInterval(interval);
168
+ }
169
+ }, 500);
170
+ ```
171
+
172
+ ---
173
+
174
+ ### 💀 Skeleton Text
175
+
176
+ Animated skeleton loader for content placeholders during loading states.
177
+
178
+ **Properties:**
179
+ - `width` (String) - Width of skeleton lines (default: `'100%'`)
180
+ - `lineHeight` (String) - Height of each line (default: `'1em'`)
181
+ - `lines` (Number) - Number of skeleton lines to display (default: `1`)
182
+
183
+ **Usage:**
184
+
185
+ ```html
186
+ <!-- Single line skeleton -->
187
+ <edu-skeleton-text></edu-skeleton-text>
188
+
189
+ <!-- Multiple lines -->
190
+ <edu-skeleton-text lines="3"></edu-skeleton-text>
191
+
192
+ <!-- Custom width and height -->
193
+ <edu-skeleton-text
194
+ width="60%"
195
+ lineHeight="1.5em"
196
+ lines="2">
197
+ </edu-skeleton-text>
198
+ ```
199
+
200
+ **Common Patterns:**
201
+
202
+ ```html
203
+ <!-- Loading a card -->
204
+ <div class="card">
205
+ <edu-skeleton-text width="80%" lineHeight="2em" lines="1"></edu-skeleton-text>
206
+ <edu-skeleton-text width="100%" lines="3"></edu-skeleton-text>
207
+ </div>
208
+
209
+ <!-- Loading a profile -->
210
+ <div class="profile">
211
+ <edu-skeleton-text width="150px" lineHeight="150px" lines="1"></edu-skeleton-text>
212
+ <edu-skeleton-text width="200px" lines="2"></edu-skeleton-text>
213
+ </div>
214
+ ```
215
+
216
+ ---
217
+
218
+ ### 💬 Tooltip
219
+
220
+ A flexible tooltip component that displays contextual information on hover.
221
+
222
+ **Properties:**
223
+ - `text` (String) - Tooltip content to display
224
+ - `position` (String) - Tooltip position: `'top'`, `'bottom'`, `'left'`, or `'right'` (default: `'bottom'`)
225
+
226
+ **Usage:**
227
+
228
+ ```html
229
+ <!-- Bottom tooltip (default) -->
230
+ <edu-tooltip text="This is helpful information">
231
+ <button>Hover me</button>
232
+ </edu-tooltip>
233
+
234
+ <!-- Top tooltip -->
235
+ <edu-tooltip text="Tooltip on top" position="top">
236
+ <span>🎯 Target element</span>
237
+ </edu-tooltip>
238
+
239
+ <!-- Left and right tooltips -->
240
+ <edu-tooltip text="Left side tooltip" position="left">
241
+ <edu-button text="Button with tooltip"></edu-button>
242
+ </edu-tooltip>
243
+
244
+ <edu-tooltip text="Right side tooltip" position="right">
245
+ <a href="#">Link with tooltip</a>
246
+ </edu-tooltip>
247
+ ```
248
+
249
+ ---
250
+
251
+ ## 🎨 Theming
252
+
253
+ Components use CSS custom properties for easy theming. Override these in your CSS:
254
+
255
+ ```css
256
+ :root {
257
+ --primary: #1976d2;
258
+ --primaryHover: #1565c0;
259
+ --primaryForeground: #ffffff;
260
+ --disabled: #bdbdbd;
261
+ --greyLight: #e0e0e0;
262
+ --greyDark: #757575;
263
+ --blackLight: #424242;
264
+ }
19
265
  ```
20
266
 
21
- ## Linting and formatting
267
+ ## 🧪 Development
268
+
269
+ ### Local Demo
22
270
 
23
- To scan the project for linting and formatting errors, run
271
+ Run the local development server with live demo:
24
272
 
25
273
  ```bash
26
- npm run lint
274
+ npm start
27
275
  ```
28
276
 
29
- To automatically fix linting and formatting errors, run
277
+ Opens a development server at http://localhost:8000 with the demo page.
278
+
279
+ ### Storybook
280
+
281
+ View components in Storybook with interactive controls:
30
282
 
31
283
  ```bash
32
- npm run format
284
+ npm run storybook
33
285
  ```
34
286
 
35
- ## Testing with Web Test Runner
287
+ Build Storybook for deployment:
36
288
 
37
- To execute a single test run:
289
+ ```bash
290
+ npm run build-storybook
291
+ ```
292
+
293
+ ### Testing
294
+
295
+ Run tests once:
38
296
 
39
297
  ```bash
40
298
  npm run test
41
299
  ```
42
300
 
43
- To run the tests in interactive watch mode run:
301
+ Run tests in watch mode:
44
302
 
45
303
  ```bash
46
304
  npm run test:watch
47
305
  ```
48
306
 
307
+ ### Linting & Formatting
49
308
 
50
- ## Tooling configs
51
-
52
- For most of the tools, the configuration is in the `package.json` to minimize the amount of files in your project.
309
+ Check for linting/formatting errors:
53
310
 
54
- If you customize the configuration a lot, you can consider moving them to individual files.
311
+ ```bash
312
+ npm run lint
313
+ ```
55
314
 
56
- ## Local Demo with `web-dev-server`
315
+ Auto-fix linting/formatting errors:
57
316
 
58
317
  ```bash
59
- npm start
318
+ npm run format
60
319
  ```
61
320
 
62
- To run a local development server that serves the basic demo located in `demo/index.html`
321
+ ## 📝 Browser Support
322
+
323
+ - Chrome/Edge (latest)
324
+ - Firefox (latest)
325
+ - Safari (latest)
326
+ - Modern browsers with ES2015+ support
327
+
328
+ ## 🤝 Contributing
329
+
330
+ Contributions are welcome! Please feel free to submit a Pull Request.
331
+
332
+ 1. Fork the repository
333
+ 2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
334
+ 3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
335
+ 4. Push to the branch (`git push origin feature/AmazingFeature`)
336
+ 5. Open a Pull Request
337
+
338
+ ## 📄 License
339
+
340
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
341
+
342
+ ## 🔗 Links
343
+
344
+ - 📖 [Live Demo & Storybook](https://eduardocruzpalacios.github.io/edu-webcomponents/)
345
+ - 📦 [npm Package](https://www.npmjs.com/package/edu-webcomponents)
346
+ - 💻 [GitHub Repository](https://github.com/eduardocruzpalacios/edu-webcomponents)
347
+ - 🔥 [Lit Documentation](https://lit.dev)
348
+ - 🌐 [Open Web Components](https://open-wc.org)
349
+
350
+ ## 🙏 Acknowledgments
351
+
352
+ Built with [Lit](https://lit.dev) and following [open-wc](https://github.com/open-wc/open-wc) recommendations for modern web component development.
353
+
354
+ ---
355
+
356
+ Made with ❤️ by [Eduardo de la Cruz Palacios](https://github.com/eduardocruzpalacios)
package/demo/index.html CHANGED
@@ -1,29 +1,293 @@
1
- <!doctype html>
1
+ <!DOCTYPE html>
2
2
  <html lang="en-GB">
3
- <head>
4
- <meta charset="utf-8">
5
- <style>
6
- body {
7
- background: #fafafa;
8
- }
9
- </style>
10
- </head>
11
- <body>
12
- <div id="demo"></div>
13
-
14
- <script type="module">
15
- import { html, render } from 'lit';
16
- import '../index.js';
17
-
18
- const textButton = 'This is a button';
19
- render(
20
- html`
21
- <h1>Edu web components library</h1>
22
- <edu-button .text=${textButton}>
23
- </edu-button>
24
- `,
25
- document.querySelector('#demo')
26
- );
27
- </script>
28
- </body>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <title>Edu Web Components - Demo</title>
7
+ <style>
8
+ * {
9
+ box-sizing: border-box;
10
+ }
11
+
12
+ body {
13
+ background: #fafafa;
14
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
15
+ 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
16
+ 'Helvetica Neue', sans-serif;
17
+ margin: 0;
18
+ padding: 2rem;
19
+ line-height: 1.6;
20
+ }
21
+
22
+ #demo {
23
+ max-width: 1200px;
24
+ margin: 0 auto;
25
+ }
26
+
27
+ h1 {
28
+ color: #333;
29
+ margin-bottom: 0.5rem;
30
+ }
31
+
32
+ .subtitle {
33
+ color: #666;
34
+ margin-bottom: 2rem;
35
+ font-size: 1.1rem;
36
+ }
37
+
38
+ .section {
39
+ background: white;
40
+ border-radius: 8px;
41
+ padding: 2rem;
42
+ margin-bottom: 2rem;
43
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
44
+ }
45
+
46
+ .section h2 {
47
+ color: #333;
48
+ margin-top: 0;
49
+ margin-bottom: 1rem;
50
+ font-size: 1.5rem;
51
+ border-bottom: 2px solid #e0e0e0;
52
+ padding-bottom: 0.5rem;
53
+ }
54
+
55
+ .section p {
56
+ color: #666;
57
+ margin-bottom: 1.5rem;
58
+ }
59
+
60
+ .demo-item {
61
+ margin-top: 1.5rem;
62
+ }
63
+
64
+ .demo-label {
65
+ font-weight: 600;
66
+ color: #555;
67
+ margin-bottom: 0.5rem;
68
+ }
69
+
70
+ .button-group {
71
+ display: flex;
72
+ gap: 1rem;
73
+ flex-wrap: wrap;
74
+ }
75
+
76
+ .progress-group {
77
+ display: flex;
78
+ flex-direction: column;
79
+ gap: 1rem;
80
+ }
81
+
82
+ .skeleton-group {
83
+ display: flex;
84
+ flex-direction: column;
85
+ gap: 1.5rem;
86
+ }
87
+
88
+ .tooltip-group {
89
+ display: flex;
90
+ gap: 2rem;
91
+ flex-wrap: wrap;
92
+ align-items: flex-start;
93
+ }
94
+
95
+ code {
96
+ background: #f4f4f4;
97
+ padding: 0.2rem 0.4rem;
98
+ border-radius: 3px;
99
+ font-size: 0.9em;
100
+ }
101
+ </style>
102
+ </head>
103
+ <body>
104
+ <div id="demo"></div>
105
+
106
+ <script type="module">
107
+ import { html, render } from 'lit';
108
+ import '../index.js';
109
+
110
+ render(
111
+ html`
112
+ <h1>Edu Web Components Library</h1>
113
+ <p class="subtitle">
114
+ A collection of reusable web components built with Lit
115
+ </p>
116
+
117
+ <!-- Button Component -->
118
+ <section class="section">
119
+ <h2>Button</h2>
120
+ <p>A customizable button component with different states.</p>
121
+
122
+ <div class="demo-item">
123
+ <div class="demo-label">Default Button</div>
124
+ <div class="button-group">
125
+ <edu-button .text=${'Click Me'}></edu-button>
126
+ </div>
127
+ </div>
128
+
129
+ <div class="demo-item">
130
+ <div class="demo-label">Disabled Button</div>
131
+ <div class="button-group">
132
+ <edu-button .text=${'Disabled'} .disabled=${true}></edu-button>
133
+ </div>
134
+ </div>
135
+ </section>
136
+
137
+ <!-- Divider Component -->
138
+ <section class="section">
139
+ <h2>Divider</h2>
140
+ <p>A horizontal divider to separate content sections.</p>
141
+
142
+ <div class="demo-item">
143
+ <div class="demo-label">Simple Divider</div>
144
+ <edu-divider></edu-divider>
145
+ </div>
146
+
147
+ <div class="demo-item">
148
+ <div class="demo-label">Divider with Label</div>
149
+ <edu-divider .label=${'OR'}></edu-divider>
150
+ </div>
151
+
152
+ <div class="demo-item">
153
+ <div class="demo-label">Divider with Text</div>
154
+ <edu-divider .label=${'Section Break'}></edu-divider>
155
+ </div>
156
+ </section>
157
+
158
+ <!-- Loading Spinner Component -->
159
+ <section class="section">
160
+ <h2>Loading Spinner</h2>
161
+ <p>An animated loading spinner for indicating loading states.</p>
162
+
163
+ <div class="demo-item">
164
+ <div class="demo-label">Default Spinner</div>
165
+ <edu-loading-spinner></edu-loading-spinner>
166
+ </div>
167
+ </section>
168
+
169
+ <!-- Progress Bar Component -->
170
+ <section class="section">
171
+ <h2>Progress Bar</h2>
172
+ <p>A progress bar to visualize completion or loading progress.</p>
173
+
174
+ <div class="demo-item">
175
+ <div class="demo-label">Progress at 25%</div>
176
+ <edu-progress-bar
177
+ .value=${25}
178
+ .max=${100}
179
+ .showLabel=${true}
180
+ ></edu-progress-bar>
181
+ </div>
182
+
183
+ <div class="demo-item">
184
+ <div class="demo-label">Progress at 50%</div>
185
+ <edu-progress-bar
186
+ .value=${50}
187
+ .max=${100}
188
+ .showLabel=${true}
189
+ ></edu-progress-bar>
190
+ </div>
191
+
192
+ <div class="demo-item">
193
+ <div class="demo-label">Progress at 75%</div>
194
+ <edu-progress-bar
195
+ .value=${75}
196
+ .max=${100}
197
+ .showLabel=${true}
198
+ ></edu-progress-bar>
199
+ </div>
200
+
201
+ <div class="demo-item">
202
+ <div class="demo-label">Complete (100%)</div>
203
+ <edu-progress-bar
204
+ .value=${100}
205
+ .max=${100}
206
+ .showLabel=${true}
207
+ ></edu-progress-bar>
208
+ </div>
209
+ </section>
210
+
211
+ <!-- Skeleton Text Component -->
212
+ <section class="section">
213
+ <h2>Skeleton Text</h2>
214
+ <p>Skeleton loaders to show content placeholders during loading.</p>
215
+
216
+ <div class="demo-item">
217
+ <div class="demo-label">Single Line</div>
218
+ <edu-skeleton-text
219
+ .width=${'100%'}
220
+ .lines=${1}
221
+ ></edu-skeleton-text>
222
+ </div>
223
+
224
+ <div class="demo-item">
225
+ <div class="demo-label">Three Lines</div>
226
+ <edu-skeleton-text
227
+ .width=${'100%'}
228
+ .lines=${3}
229
+ ></edu-skeleton-text>
230
+ </div>
231
+
232
+ <div class="demo-item">
233
+ <div class="demo-label">Short Width</div>
234
+ <edu-skeleton-text
235
+ .width=${'50%'}
236
+ .lines=${2}
237
+ ></edu-skeleton-text>
238
+ </div>
239
+ </section>
240
+
241
+ <!-- Tooltip Component -->
242
+ <section class="section">
243
+ <h2>Tooltip</h2>
244
+ <p>Hover over elements to see tooltips in different positions.</p>
245
+
246
+ <div class="tooltip-group">
247
+ <div class="demo-item">
248
+ <div class="demo-label">Bottom (default)</div>
249
+ <edu-tooltip
250
+ .text=${'This is a bottom tooltip'}
251
+ .position=${'bottom'}
252
+ >
253
+ <edu-button .text=${'Hover me'}></edu-button>
254
+ </edu-tooltip>
255
+ </div>
256
+
257
+ <div class="demo-item">
258
+ <div class="demo-label">Top</div>
259
+ <edu-tooltip
260
+ .text=${'This is a top tooltip'}
261
+ .position=${'top'}
262
+ >
263
+ <edu-button .text=${'Hover me'}></edu-button>
264
+ </edu-tooltip>
265
+ </div>
266
+
267
+ <div class="demo-item">
268
+ <div class="demo-label">Left</div>
269
+ <edu-tooltip
270
+ .text=${'This is a left tooltip'}
271
+ .position=${'left'}
272
+ >
273
+ <edu-button .text=${'Hover me'}></edu-button>
274
+ </edu-tooltip>
275
+ </div>
276
+
277
+ <div class="demo-item">
278
+ <div class="demo-label">Right</div>
279
+ <edu-tooltip
280
+ .text=${'This is a right tooltip'}
281
+ .position=${'right'}
282
+ >
283
+ <edu-button .text=${'Hover me'}></edu-button>
284
+ </edu-tooltip>
285
+ </div>
286
+ </div>
287
+ </section>
288
+ `,
289
+ document.querySelector('#demo')
290
+ );
291
+ </script>
292
+ </body>
29
293
  </html>
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  ],
12
12
  "license": "MIT",
13
13
  "author": "edu-webcomponents",
14
- "version": "1.22.0",
14
+ "version": "1.24.0",
15
15
  "repository": {
16
16
  "type": "git",
17
17
  "url": "https://github.com/eduardocruzpalacios/edu-webcomponents"