material-inspired-component-library 1.0.0 → 1.0.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.
Files changed (72) hide show
  1. package/README.md +2 -2
  2. package/components/accordion/README.md +0 -3
  3. package/components/bottomsheet/README.md +0 -3
  4. package/components/button/README.md +0 -3
  5. package/components/card/README.md +0 -3
  6. package/components/checkbox/README.md +0 -3
  7. package/components/dialog/README.md +0 -3
  8. package/components/divider/README.md +0 -3
  9. package/components/iconbutton/README.md +0 -3
  10. package/components/list/README.md +0 -3
  11. package/components/menu/README.md +1 -1
  12. package/components/radio/README.md +0 -3
  13. package/components/select/README.md +1 -1
  14. package/components/sidesheet/README.md +0 -3
  15. package/components/slider/README.md +0 -3
  16. package/components/switch/README.md +0 -3
  17. package/components/textfield/README.md +0 -3
  18. package/docs/accordion.html +3 -3
  19. package/docs/bottomsheet.html +11 -11
  20. package/docs/button.html +3 -3
  21. package/docs/card.html +6 -6
  22. package/docs/checkbox.html +3 -3
  23. package/docs/dialog.html +3 -3
  24. package/docs/divider.html +3 -3
  25. package/docs/docs.js +1 -1
  26. package/docs/iconbutton.html +3 -3
  27. package/docs/index.html +5 -5
  28. package/docs/list.html +3 -3
  29. package/docs/menu.html +3 -3
  30. package/docs/radio.html +3 -3
  31. package/docs/select.html +3 -3
  32. package/docs/sidesheet.html +3 -3
  33. package/docs/slider.html +3 -3
  34. package/docs/switch.html +3 -3
  35. package/docs/textfield.html +3 -3
  36. package/package.json +2 -5
  37. package/docs/card-awards.webp +0 -0
  38. package/docs/card-cabinet.webp +0 -0
  39. package/docs/card-city.webp +0 -0
  40. package/docs/card-fingerprint.webp +0 -0
  41. package/docs/card-holiday.webp +0 -0
  42. package/docs/card-names.webp +0 -0
  43. package/docs/micl.css +0 -1
  44. package/docs/micl.js +0 -1
  45. package/docs/themes/airblue/dark-hc.css +0 -51
  46. package/docs/themes/airblue/dark-mc.css +0 -51
  47. package/docs/themes/airblue/dark.css +0 -51
  48. package/docs/themes/airblue/light-hc.css +0 -51
  49. package/docs/themes/airblue/light-mc.css +0 -51
  50. package/docs/themes/airblue/light.css +0 -51
  51. package/docs/themes/airblue/theme.css +0 -306
  52. package/docs/themes/barnred/dark-hc.css +0 -51
  53. package/docs/themes/barnred/dark-mc.css +0 -51
  54. package/docs/themes/barnred/dark.css +0 -51
  55. package/docs/themes/barnred/light-hc.css +0 -51
  56. package/docs/themes/barnred/light-mc.css +0 -51
  57. package/docs/themes/barnred/light.css +0 -51
  58. package/docs/themes/barnred/theme.css +0 -306
  59. package/docs/themes/citrine/dark-hc.css +0 -51
  60. package/docs/themes/citrine/dark-mc.css +0 -51
  61. package/docs/themes/citrine/dark.css +0 -51
  62. package/docs/themes/citrine/light-hc.css +0 -51
  63. package/docs/themes/citrine/light-mc.css +0 -51
  64. package/docs/themes/citrine/light.css +0 -51
  65. package/docs/themes/citrine/theme.css +0 -306
  66. package/docs/themes/olivegreen/dark-hc.css +0 -51
  67. package/docs/themes/olivegreen/dark-mc.css +0 -51
  68. package/docs/themes/olivegreen/dark.css +0 -51
  69. package/docs/themes/olivegreen/light-hc.css +0 -51
  70. package/docs/themes/olivegreen/light-mc.css +0 -51
  71. package/docs/themes/olivegreen/light.css +0 -51
  72. package/docs/themes/olivegreen/theme.css +0 -306
package/README.md CHANGED
@@ -14,14 +14,14 @@ The Material-Inspired Component Library (MICL) offers a free and open-source col
14
14
  ## Demo & Documentation 📖
15
15
  Explore the components in a live environment and see how they work.
16
16
 
17
- - **Live Demo:** [The MICL Showcase](https://henkpb.github.io/micl/)
17
+ - **Live Demo:** [The MICL Showcase]()
18
18
  - **Component Documentation:** [View all component documentation](components/README.md)
19
19
 
20
20
  ## Quick start 🚀
21
21
 
22
22
  ### 1. Install via NPM
23
23
  ```shell
24
- npm install micl
24
+ npm install material-inspired-component-library
25
25
  ```
26
26
 
27
27
  ### 2. Add the CSS
@@ -45,9 +45,6 @@ import miclAccordion from 'micl/components/list';
45
45
  miclAccordion.initialize(document.querySelector('.micl-list'));
46
46
  ```
47
47
 
48
- ### Demo
49
- A live example of the [Accordion component](https://henkpb.github.io/micl/accordion.html) is available for you to interact with.
50
-
51
48
  ## Variants
52
49
  To ensure that only one accordion item within a group can be open at a time, add a matching `name` attribute to all the `<details>` elements you want to group together.
53
50
 
@@ -32,9 +32,6 @@ import miclBottomSheet from 'micl/components/bottomsheet';
32
32
  miclBottomSheet.initialize(document.querySelector('.micl-bottomsheet'));
33
33
  ```
34
34
 
35
- ### Demo
36
- A live example of the [Bottom sheet component](https://henkpb.github.io/micl/bottomsheet.html) is available for you to interact with.
37
-
38
35
  ## Variants
39
36
  A **modal** bottom sheet blocks access to the rest of the page and must be dismissed explicitly by the user. This is suitable for critical tasks or information that requires a user's full attention.
40
37
 
@@ -28,9 +28,6 @@ import miclButton from 'micl/components/button';
28
28
  miclButton.initialize(document.querySelector('.micl-button-text-s'));
29
29
  ```
30
30
 
31
- ### Demo
32
- A live example of the [Button component](https://henkpb.github.io/micl/button.html) is available for you to interact with.
33
-
34
31
  ## Variants
35
32
  Buttons come in **five sizes**: extra small (`xs`), small (`s`), medium (`m`), large (`l`), and extra large (`xl`). To specify a size, append the appropriate postfix to the button's style class:
36
33
 
@@ -22,9 +22,6 @@ Import the card styles into your project:
22
22
  ### TypeScript
23
23
  No custom TypeScript is required for the core functionality of this component.
24
24
 
25
- ### Demo
26
- A live example of the [Card component](https://henkpb.github.io/micl/card.html) is available for you to interact with.
27
-
28
25
  ## Variants
29
26
  Cards come in **three distinct styles**:
30
27
 
@@ -29,9 +29,6 @@ import miclCheckbox from 'micl/components/checkbox';
29
29
  miclCheckbox.initialize(document.querySelector('.micl-checkbox'));
30
30
  ```
31
31
 
32
- ### Demo
33
- A live example of the [Checkbox component](https://henkpb.github.io/micl/checkbox.html) is available for you to interact with.
34
-
35
32
  ## Variants
36
33
  Adding the `micl-checkbox--error` CSS class to the `<input>` element will create an error-checkbox as specified by the Material Design 3 specification.
37
34
 
@@ -31,9 +31,6 @@ Import the dialog styles into your project:
31
31
  ### TypeScript
32
32
  No custom TypeScript is required for the core functionality of this component, as the native popover attribute handles the open/close behavior.
33
33
 
34
- ### Demo
35
- A live example of the [Dialog component](https://henkpb.github.io/micl/dialog.html) is available for you to interact with.
36
-
37
34
  ## Variants
38
35
  When dialogs with the `popover` attribute are opened, they animate from the control element to the center of the screen. They can be easily dismissed by clicking outside or pressing <kbd>Esc</kbd>.
39
36
 
@@ -20,9 +20,6 @@ Import the divider styles into your project:
20
20
  ### TypeScript
21
21
  No custom TypeScript is required for the core functionality of this component.
22
22
 
23
- ### Demo
24
- A live example of the [Divider component](https://henkpb.github.io/micl/divider.html) is available for you to interact with.
25
-
26
23
  ## Variants
27
24
  The Divider component offers five CSS classes for different divider styles:
28
25
 
@@ -30,9 +30,6 @@ import miclIconButton from 'micl/components/button';
30
30
  miclIconButton.initialize(document.querySelector('.micl-iconbutton-standard-s'));
31
31
  ```
32
32
 
33
- ### Demo
34
- A live example of the [Icon button component](https://henkpb.github.io/micl/iconbutton.html) is available for you to interact with.
35
-
36
33
  ## Variants
37
34
  Icon buttons come in **five sizes**: extra small (`xs`), small (`s`), medium (`m`), large (`l`), and extra large (`xl`). To specify a size, append the appropriate postfix to the button's style class:
38
35
 
@@ -38,9 +38,6 @@ import miclList from 'micl/components/list';
38
38
  miclList.initialize(document.querySelector('.micl-list'));
39
39
  ```
40
40
 
41
- ### Demo
42
- A live example of the [List component](https://henkpb.github.io/micl/list.html) is available for you to interact with.
43
-
44
41
  ## Variants
45
42
  The List component offers three CSS classes to control the height and content capacity of individual list items:
46
43
 
@@ -40,7 +40,7 @@ miclMenu.initialize(document.querySelector('.micl-menu'));
40
40
  ```
41
41
 
42
42
  ### Demo
43
- A live example of the [Menu component](https://henkpb.github.io/micl/menu.html) is available for you to interact with.
43
+ A live example of the [Menu component]() is available for you to interact with.
44
44
 
45
45
  ## Variants
46
46
  Since the Menu component is based on the **List component**, all of its list item variants and content features can be used. You can incorporate icons, avatars, images, multiple lines of text, and more.
@@ -21,9 +21,6 @@ Import the radio button styles into your project:
21
21
  ### TypeScript
22
22
  No custom TypeScript is required for the core functionality of this component. However, to enable the ripple effect on interaction, include the Ripple TypeScript in your project.
23
23
 
24
- ### Demo
25
- A live example of the [Radio button component](https://henkpb.github.io/micl/radio.html) is available for you to interact with.
26
-
27
24
  ## Variants
28
25
  A radio button can be disabled by adding the `disabled` attribute to the `<input>` element.
29
26
 
@@ -41,7 +41,7 @@ miclTextField.initialize(document.querySelector('.micl-textfield-filled'));
41
41
  ```
42
42
 
43
43
  ### Demo
44
- A live example of the [Select component](https://henkpb.github.io/micl/select.html) is available for you to interact with.
44
+ A live example of the [Select componen]() is available for you to interact with.
45
45
 
46
46
  ## Variants
47
47
  To display extra information for an option, add the `aria-description` attribute to the `<option>` element. In a two-line list item (`micl-list-item-two`), this displays the attribute's content as supporting text. Do not add a separate text element to the `<option>`, as this will change the text of the selected option.
@@ -33,9 +33,6 @@ Import the side sheet styles into your project:
33
33
  ### TypeScript
34
34
  No custom TypeScript is required for the core functionality of the side sheet component.
35
35
 
36
- ### Demo
37
- A live example of the [Side sheet component](https://henkpb.github.io/micl/sidesheet.html) is available for you to interact with.
38
-
39
36
  ## Variants
40
37
  A **modal** side sheet blocks access to the rest of the page and must be dismissed explicitly by the user. This is suitable for critical tasks or information that requires a user's full attention.
41
38
 
@@ -28,9 +28,6 @@ import miclSlider from 'micl/components/slider';
28
28
  miclSlider.initialize(document.querySelector('.micl-slider-m'));
29
29
  ```
30
30
 
31
- ### Demo
32
- A live example of the [Slider component](https://henkpb.github.io/micl/slider.html) is available for you to interact with.
33
-
34
31
  ## Variants
35
32
  Sliders come in **five different sizes**: extra small (`xs`), small (`s`), medium (`m`), large (`l`), and extra large (`xl`). To set a specific size, append the appropriate postfix to the `micl-slider` CSS class name:
36
33
 
@@ -21,9 +21,6 @@ Import the switch styles into your project:
21
21
  ### TypeScript
22
22
  No custom TypeScript is required for the core functionality of this component.
23
23
 
24
- ### Demo
25
- A live example of the [Switch component](https://henkpb.github.io/micl/switch.html) is available for you to interact with.
26
-
27
24
  ## Variants
28
25
  By default, the component displays an icon on the switch handle in both the selected and unselected state. To remove the icon in the unselected state, assign an empty string to the following CSS variable:
29
26
 
@@ -33,9 +33,6 @@ miclTextField.initialize(document.querySelector('.micl-textfield-filled'));
33
33
  document.querySelector('.micl-textfield-outlined').addEventListener('input', miclTextField.input);
34
34
  ```
35
35
 
36
- ### Demo
37
- A live example of the [Text field component](https://henkpb.github.io/micl/textfield.html) is available for you to interact with.
38
-
39
36
  ## Variants
40
37
  The following example shows a text field with every available feature. You can include any combination of these elements. The order of elements inside the `<div>` does not change the layout.
41
38
 
@@ -6,8 +6,8 @@
6
6
  <title>MICL Accordions</title>
7
7
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap">
8
8
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:FILL@0..1&icon_names=confirmation_number,dark_mode,person,search,settings&display=block">
9
- <link rel="stylesheet" href="themes/citrine/theme.css" id="theme-link">
10
- <link rel="stylesheet" href="micl.css">
9
+ <link rel="stylesheet" href="../themes/citrine/theme.css" id="theme-link">
10
+ <link rel="stylesheet" href="../dist/micl.css">
11
11
  <link rel="stylesheet" href="docs.css">
12
12
  <style>
13
13
  .micl-card__content {
@@ -279,7 +279,7 @@
279
279
  </div>
280
280
  </div>
281
281
 
282
- <script src="micl.js"></script>
282
+ <script src="../dist/micl.js"></script>
283
283
  <script src="docs.js"></script>
284
284
  </body>
285
285
  </html>
@@ -6,8 +6,8 @@
6
6
  <title>MICL Bottom Sheets</title>
7
7
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap">
8
8
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:FILL@0..1&icon_names=dark_mode,edit,link,share&display=block">
9
- <link rel="stylesheet" href="themes/citrine/theme.css" id="theme-link">
10
- <link rel="stylesheet" href="micl.css">
9
+ <link rel="stylesheet" href="../themes/citrine/theme.css" id="theme-link">
10
+ <link rel="stylesheet" href="../dist/micl.css">
11
11
  <link rel="stylesheet" href="docs.css">
12
12
  <style>
13
13
  .micl-card__content {
@@ -55,16 +55,16 @@
55
55
  <h3 class="md-sys-typescale-title-large">Send</h3>
56
56
  <div class="figures">
57
57
  <figure>
58
- <img alt="John" src="card-names.webp">
58
+ <img alt="John" src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/35/Portrait-Person-Old-Man-Man-Head-1615262.jpg/330px-Portrait-Person-Old-Man-Man-Head-1615262.jpg">
59
59
  <figcaption class="md-sys-typescale-body-small">John Reeves</figcaption>
60
60
  </figure>
61
61
  <figure>
62
- <img alt="Carol" src="card-awards.webp">
62
+ <img alt="Carol" src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Gambia_girl.jpg/250px-Gambia_girl.jpg">
63
63
  <figcaption class="md-sys-typescale-body-small">Carol Glass</figcaption>
64
64
  </figure>
65
65
  <figure>
66
- <img alt="Bill" src="card-fingerprint.webp">
67
- <figcaption class="md-sys-typescale-body-small">Bill Graves</figcaption>
66
+ <img alt="Lucy" src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/49/Mosuo_Woman_-_42723465920.jpg/250px-Mosuo_Woman_-_42723465920.jpg">
67
+ <figcaption class="md-sys-typescale-body-small">Lucy Hue</figcaption>
68
68
  </figure>
69
69
  <figure>
70
70
  <img alt="Knut" src="https://upload.wikimedia.org/wikipedia/commons/thumb/0/05/KnutSteen.1.jpg/250px-KnutSteen.1.jpg">
@@ -133,16 +133,16 @@
133
133
  <h3 class="md-sys-typescale-title-large">Send</h3>
134
134
  <div class="figures">
135
135
  <figure>
136
- <img alt="John" src="card-names.webp">
136
+ <img alt="John" src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/35/Portrait-Person-Old-Man-Man-Head-1615262.jpg/330px-Portrait-Person-Old-Man-Man-Head-1615262.jpg">
137
137
  <figcaption class="md-sys-typescale-body-small">John Reeves</figcaption>
138
138
  </figure>
139
139
  <figure>
140
- <img alt="Carol" src="card-awards.webp">
140
+ <img alt="Carol" src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Gambia_girl.jpg/250px-Gambia_girl.jpg">
141
141
  <figcaption class="md-sys-typescale-body-small">Carol Glass</figcaption>
142
142
  </figure>
143
143
  <figure>
144
- <img alt="Bill" src="card-fingerprint.webp">
145
- <figcaption class="md-sys-typescale-body-small">Bill Graves</figcaption>
144
+ <img alt="Lucy" src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/49/Mosuo_Woman_-_42723465920.jpg/250px-Mosuo_Woman_-_42723465920.jpg">
145
+ <figcaption class="md-sys-typescale-body-small">Lucy Hue</figcaption>
146
146
  </figure>
147
147
  <figure>
148
148
  <img alt="Knut" src="https://upload.wikimedia.org/wikipedia/commons/thumb/0/05/KnutSteen.1.jpg/250px-KnutSteen.1.jpg">
@@ -156,7 +156,7 @@
156
156
  </div>
157
157
  </div>
158
158
 
159
- <script src="micl.js"></script>
159
+ <script src="../dist/micl.js"></script>
160
160
  <script src="docs.js"></script>
161
161
  </body>
162
162
  </html>
package/docs/button.html CHANGED
@@ -6,8 +6,8 @@
6
6
  <title>MICL Buttons</title>
7
7
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap">
8
8
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:FILL@0..1&icon_names=dark_mode,edit&display=block">
9
- <link rel="stylesheet" href="themes/citrine/theme.css" id="theme-link">
10
- <link rel="stylesheet" href="micl.css">
9
+ <link rel="stylesheet" href="../themes/citrine/theme.css" id="theme-link">
10
+ <link rel="stylesheet" href="../dist/micl.css">
11
11
  <link rel="stylesheet" href="docs.css">
12
12
  </head>
13
13
  <body class="light">
@@ -200,7 +200,7 @@
200
200
  </div>
201
201
  </div>
202
202
 
203
- <script src="micl.js"></script>
203
+ <script src="../dist/micl.js"></script>
204
204
  <script src="docs.js"></script>
205
205
  </body>
206
206
  </html>
package/docs/card.html CHANGED
@@ -6,8 +6,8 @@
6
6
  <title>MICL Cards</title>
7
7
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap">
8
8
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:FILL@0..1&icon_names=dark_mode&display=block">
9
- <link rel="stylesheet" href="themes/citrine/theme.css" id="theme-link">
10
- <link rel="stylesheet" href="micl.css">
9
+ <link rel="stylesheet" href="../themes/citrine/theme.css" id="theme-link">
10
+ <link rel="stylesheet" href="../dist/micl.css">
11
11
  <link rel="stylesheet" href="docs.css">
12
12
  </head>
13
13
  <body class="light">
@@ -47,7 +47,7 @@
47
47
 
48
48
  <details class="micl-card-elevated">
49
49
  <summary>
50
- <img alt="holiday" class="micl-card__image" src="card-holiday.webp">
50
+ <img alt="Large cloud over landscape" class="micl-card__image" src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/fb/Large_cloud_over_Mexican_landscape.jpg/330px-Large_cloud_over_Mexican_landscape.jpg">
51
51
  <span class="micl-card__headline-s">
52
52
  <span class="micl-heading">Lorem ipsum dolor sit amet consectetur adipiscing elit</span>
53
53
  </span>
@@ -62,7 +62,7 @@
62
62
  </details>
63
63
  <details class="micl-card-filled">
64
64
  <summary>
65
- <img alt="cabinet" class="micl-card__image" src="card-cabinet.webp">
65
+ <img alt="Butterfly" class="micl-card__image" src="https://upload.wikimedia.org/wikipedia/commons/thumb/d/df/Old_World_swallowtail_%28Papilio_machaon_gorganus%29_underside_Italy.jpg/330px-Old_World_swallowtail_%28Papilio_machaon_gorganus%29_underside_Italy.jpg">
66
66
  <span class="micl-card__headline-m">
67
67
  <span class="micl-heading">Lorem ipsum</span>
68
68
  </span>
@@ -74,7 +74,7 @@
74
74
  </details>
75
75
  <details class="micl-card-outlined">
76
76
  <summary>
77
- <img alt="city" class="micl-card__image" src="card-city.webp">
77
+ <img alt="Balloons" class="micl-card__image" src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/24/San_Juan_River_at_Pagosa_Springs_with_balloons.jpg/330px-San_Juan_River_at_Pagosa_Springs_with_balloons.jpg">
78
78
  <span class="micl-card__headline-l">
79
79
  <span class="micl-heading">Lorem</span>
80
80
  </span>
@@ -85,7 +85,7 @@
85
85
  </details>
86
86
  </div>
87
87
 
88
- <script src="micl.js"></script>
88
+ <script src="../dist/micl.js"></script>
89
89
  <script src="docs.js"></script>
90
90
  </body>
91
91
  </html>
@@ -6,8 +6,8 @@
6
6
  <title>MICL Checkboxes</title>
7
7
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap">
8
8
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:FILL@0..1&icon_names=dark_mode&display=block">
9
- <link rel="stylesheet" href="themes/citrine/theme.css" id="theme-link">
10
- <link rel="stylesheet" href="micl.css">
9
+ <link rel="stylesheet" href="../themes/citrine/theme.css" id="theme-link">
10
+ <link rel="stylesheet" href="../dist/micl.css">
11
11
  <link rel="stylesheet" href="docs.css">
12
12
  <style>
13
13
  label {
@@ -93,7 +93,7 @@
93
93
  </div>
94
94
  </div>
95
95
 
96
- <script src="micl.js"></script>
96
+ <script src="../dist/micl.js"></script>
97
97
  <script src="docs.js"></script>
98
98
  </body>
99
99
  </html>
package/docs/dialog.html CHANGED
@@ -6,8 +6,8 @@
6
6
  <title>MICL Dialogs</title>
7
7
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap">
8
8
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:FILL@0..1&icon_names=close,dark_mode,info,logout,person,restart_alt&display=block">
9
- <link rel="stylesheet" href="themes/citrine/theme.css" id="theme-link">
10
- <link rel="stylesheet" href="micl.css">
9
+ <link rel="stylesheet" href="../themes/citrine/theme.css" id="theme-link">
10
+ <link rel="stylesheet" href="../dist/micl.css">
11
11
  <link rel="stylesheet" href="docs.css">
12
12
  <style>
13
13
  label {
@@ -147,7 +147,7 @@
147
147
  </div>
148
148
  </div>
149
149
 
150
- <script src="micl.js"></script>
150
+ <script src="../dist/micl.js"></script>
151
151
  <script src="docs.js"></script>
152
152
  </body>
153
153
  </html>
package/docs/divider.html CHANGED
@@ -6,8 +6,8 @@
6
6
  <title>MICL Dividers</title>
7
7
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap">
8
8
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:FILL@0..1&icon_names=dark_mode&display=block">
9
- <link rel="stylesheet" href="themes/citrine/theme.css" id="theme-link">
10
- <link rel="stylesheet" href="micl.css">
9
+ <link rel="stylesheet" href="../themes/citrine/theme.css" id="theme-link">
10
+ <link rel="stylesheet" href="../dist/micl.css">
11
11
  <link rel="stylesheet" href="docs.css">
12
12
  <style>
13
13
  p {
@@ -97,7 +97,7 @@
97
97
  </div>
98
98
  </div>
99
99
 
100
- <script src="micl.js"></script>
100
+ <script src="../dist/micl.js"></script>
101
101
  <script src="docs.js"></script>
102
102
  </body>
103
103
  </html>
package/docs/docs.js CHANGED
@@ -58,7 +58,7 @@ document.getElementById('settings-placeholder').innerHTML =
58
58
  document.getElementById('theme').addEventListener('change', event => {
59
59
  const themelink = document.getElementById('theme-link');
60
60
  if (themelink) {
61
- themelink.href = `themes/${event.target.value}/theme.css`
61
+ themelink.href = `../themes/${event.target.value}/theme.css`
62
62
  }
63
63
  });
64
64
  document.getElementById('mode').addEventListener('change', event => {
@@ -8,8 +8,8 @@
8
8
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
9
9
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap">
10
10
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:FILL@0..1&icon_names=dark_mode,settings&display=block">
11
- <link rel="stylesheet" href="themes/citrine/theme.css" id="theme-link">
12
- <link rel="stylesheet" href="micl.css">
11
+ <link rel="stylesheet" href="../themes/citrine/theme.css" id="theme-link">
12
+ <link rel="stylesheet" href="../dist/micl.css">
13
13
  <link rel="stylesheet" href="docs.css">
14
14
  <style>
15
15
  .micl-card__content {
@@ -191,7 +191,7 @@
191
191
  <!-- </div> -->
192
192
  <!-- </div> -->
193
193
 
194
- <script src="micl.js"></script>
194
+ <script src="../dist/micl.js"></script>
195
195
  <script src="docs.js"></script>
196
196
  </body>
197
197
  </html>
package/docs/index.html CHANGED
@@ -6,8 +6,8 @@
6
6
  <title>MICL Showcase</title>
7
7
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap">
8
8
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:FILL@0..1&icon_names=close,dark_mode,edit,globe,link,more_vert,newspaper,person,share&display=block">
9
- <link rel="stylesheet" href="themes/citrine/theme.css" id="theme-link">
10
- <link rel="stylesheet" href="micl.css">
9
+ <link rel="stylesheet" href="../themes/citrine/theme.css" id="theme-link">
10
+ <link rel="stylesheet" href="../dist/micl.css">
11
11
  <link rel="stylesheet" href="docs.css">
12
12
  <style>
13
13
  a {
@@ -86,7 +86,7 @@
86
86
  </div>
87
87
 
88
88
  <div class="micl-card-outlined">
89
- <img class="micl-card__image" alt="city" src="card-city.webp">
89
+ <a title="Alexander Gerst, CC BY-SA 2.0 &lt;https://creativecommons.org/licenses/by-sa/2.0&gt;, via Wikimedia Commons" href="https://commons.wikimedia.org/wiki/File:Atmosphere_-_2.jpg"><img class="micl-card__image" alt="atmosphere" src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Atmosphere_-_2.jpg/256px-Atmosphere_-_2.jpg?20200310200715"></a>
90
90
  <div class="micl-card__headline-l">
91
91
  <h2>Card</h2>
92
92
  </div>
@@ -147,7 +147,7 @@
147
147
  </span>
148
148
  </li>
149
149
  <li class="micl-list-item-three" tabindex="0">
150
- <span class="micl-list-item__image" style="background-image:url(card-names.webp);background-position:center"></span>
150
+ <span class="micl-list-item__image" style="background-image:url(https://upload.wikimedia.org/wikipedia/commons/thumb/2/24/San_Juan_River_at_Pagosa_Springs_with_balloons.jpg/330px-San_Juan_River_at_Pagosa_Springs_with_balloons.jpg)"></span>
151
151
  <span class="micl-list-item__text">
152
152
  <span class="micl-list-item__headline">Three-line list item</span>
153
153
  <span class="micl-list-item__supporting-text">Supporting text</span>
@@ -313,7 +313,7 @@
313
313
  </div>
314
314
  </div>
315
315
 
316
- <script src="micl.js"></script>
316
+ <script src="../dist/micl.js"></script>
317
317
  <script src="docs.js"></script>
318
318
  </body>
319
319
  </html>
package/docs/list.html CHANGED
@@ -6,8 +6,8 @@
6
6
  <title>MICL Lists</title>
7
7
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap">
8
8
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:FILL@0..1&icon_names=confirmation_number,dark_mode,person,search,settings&display=block">
9
- <link rel="stylesheet" href="themes/citrine/theme.css" id="theme-link">
10
- <link rel="stylesheet" href="micl.css">
9
+ <link rel="stylesheet" href="../themes/citrine/theme.css" id="theme-link">
10
+ <link rel="stylesheet" href="../dist/micl.css">
11
11
  <link rel="stylesheet" href="docs.css">
12
12
  <style>
13
13
  .micl-card__content {
@@ -218,7 +218,7 @@
218
218
  </div>
219
219
  </div>
220
220
 
221
- <script src="micl.js"></script>
221
+ <script src="../dist/micl.js"></script>
222
222
  <script src="docs.js"></script>
223
223
  </body>
224
224
  </html>
package/docs/menu.html CHANGED
@@ -6,8 +6,8 @@
6
6
  <title>MICL Menus</title>
7
7
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap">
8
8
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:FILL@0..1&icon_names=check,confirmation_number,dark_mode,group,home,newspaper,person,settings&display=block">
9
- <link rel="stylesheet" href="themes/citrine/theme.css" id="theme-link">
10
- <link rel="stylesheet" href="micl.css">
9
+ <link rel="stylesheet" href="../themes/citrine/theme.css" id="theme-link">
10
+ <link rel="stylesheet" href="../dist/micl.css">
11
11
  <link rel="stylesheet" href="docs.css">
12
12
  <style>
13
13
  .micl-list-item-three:has(.micl-checkbox) .micl-list-item__icon {
@@ -137,7 +137,7 @@
137
137
  </div>
138
138
  </div>
139
139
 
140
- <script src="micl.js"></script>
140
+ <script src="../dist/micl.js"></script>
141
141
  <script src="docs.js"></script>
142
142
  </body>
143
143
  </html>
package/docs/radio.html CHANGED
@@ -5,8 +5,8 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>MICL Radio Buttons</title>
7
7
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:FILL@0..1&icon_names=arrow_back,close,dark_mode&display=block">
8
- <link rel="stylesheet" href="themes/citrine/theme.css" id="theme-link">
9
- <link rel="stylesheet" href="micl.css">
8
+ <link rel="stylesheet" href="../themes/citrine/theme.css" id="theme-link">
9
+ <link rel="stylesheet" href="../dist/micl.css">
10
10
  <link rel="stylesheet" href="docs.css">
11
11
  <style>
12
12
  label {
@@ -95,7 +95,7 @@
95
95
  </div>
96
96
  </div>
97
97
 
98
- <script src="micl.js"></script>
98
+ <script src="../dist/micl.js"></script>
99
99
  <script src="docs.js"></script>
100
100
  </body>
101
101
  </html>
package/docs/select.html CHANGED
@@ -6,8 +6,8 @@
6
6
  <title>MICL Selects</title>
7
7
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap">
8
8
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:FILL@0..1&icon_names=check,confirmation_number,dark_mode,group,home,newspaper,person,settings&display=block">
9
- <link rel="stylesheet" href="themes/citrine/theme.css" id="theme-link">
10
- <link rel="stylesheet" href="micl.css">
9
+ <link rel="stylesheet" href="../themes/citrine/theme.css" id="theme-link">
10
+ <link rel="stylesheet" href="../dist/micl.css">
11
11
  <link rel="stylesheet" href="docs.css">
12
12
  <style>
13
13
  .micl-card__content > .micl-textfield-outlined, .micl-card__content > .micl-textfield-filled {
@@ -199,7 +199,7 @@
199
199
  </div>
200
200
  </div>
201
201
 
202
- <script src="micl.js"></script>
202
+ <script src="../dist/micl.js"></script>
203
203
  <script src="docs.js"></script>
204
204
  </body>
205
205
  </html>
@@ -6,8 +6,8 @@
6
6
  <title>MICL Side Sheets</title>
7
7
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap">
8
8
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:FILL@0..1&icon_names=arrow_back,close,dark_mode&display=block">
9
- <link rel="stylesheet" href="themes/citrine/theme.css" id="theme-link">
10
- <link rel="stylesheet" href="micl.css">
9
+ <link rel="stylesheet" href="../themes/citrine/theme.css" id="theme-link">
10
+ <link rel="stylesheet" href="../dist/micl.css">
11
11
  <link rel="stylesheet" href="docs.css">
12
12
  <style>
13
13
  .micl-card__content {
@@ -109,7 +109,7 @@
109
109
  </div>
110
110
  </div>
111
111
 
112
- <script src="micl.js"></script>
112
+ <script src="../dist/micl.js"></script>
113
113
  <script src="docs.js"></script>
114
114
  </body>
115
115
  </html>
package/docs/slider.html CHANGED
@@ -8,8 +8,8 @@
8
8
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
9
9
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap">
10
10
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:FILL@0..1&icon_names=dark_mode,volume_up&display=block">
11
- <link rel="stylesheet" href="themes/citrine/theme.css" id="theme-link">
12
- <link rel="stylesheet" href="micl.css">
11
+ <link rel="stylesheet" href="../themes/citrine/theme.css" id="theme-link">
12
+ <link rel="stylesheet" href="../dist/micl.css">
13
13
  <link rel="stylesheet" href="docs.css">
14
14
  <style>
15
15
  .micl-card-elevated, .micl-card-filled, .micl-card-outlined {
@@ -66,7 +66,7 @@
66
66
  </div>
67
67
  </div>
68
68
 
69
- <script src="micl.js"></script>
69
+ <script src="../dist/micl.js"></script>
70
70
  <script src="docs.js"></script>
71
71
  </body>
72
72
  </html>