@italia/dropdown 0.1.0-alpha.2

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/AUTHORS ADDED
@@ -0,0 +1,3 @@
1
+ # Autori
2
+
3
+ Vedi file AUTHORS nella root del repository principale.
package/LICENSE ADDED
@@ -0,0 +1,18 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # Dropdown Web Component
2
+
3
+ Questo package contiene il web component `<it-dropdown>`, conforme agli standard del progetto e con stili Bootstrap Italia.
4
+
5
+ ## Utilizzo
6
+
7
+ ```
8
+ <it-dropdown>
9
+ <button>Apri menu</button>
10
+ <ul popover>
11
+ <li><a href="/home">Home</a></li>
12
+ <li><a href="/about">Chi siamo</a></li>
13
+ <li><a href="/contatti">Contatti</a></li>
14
+ </ul>
15
+ </it-dropdown>
16
+ ```
17
+
18
+ ## Sviluppo
19
+
20
+ - Stili: solo SCSS, no CSS inline
21
+ - Test: web-test-runner
22
+ - Storie: Storybook
23
+
24
+ ## License
25
+
26
+ Vedi LICENSE.