material-inspired-component-library 1.0.2 → 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 (91) hide show
  1. package/README.md +8 -8
  2. package/components/accordion/README.md +5 -2
  3. package/components/bottomsheet/README.md +5 -2
  4. package/components/button/README.md +5 -2
  5. package/components/card/README.md +4 -1
  6. package/components/checkbox/README.md +5 -2
  7. package/components/dialog/README.md +4 -1
  8. package/components/divider/README.md +4 -1
  9. package/components/iconbutton/README.md +5 -2
  10. package/components/list/README.md +5 -2
  11. package/components/menu/README.md +4 -4
  12. package/components/radio/README.md +4 -1
  13. package/components/select/README.md +5 -5
  14. package/components/sidesheet/README.md +4 -1
  15. package/components/slider/README.md +5 -2
  16. package/components/switch/README.md +4 -1
  17. package/components/textfield/README.md +5 -2
  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-awards.webp +0 -0
  22. package/docs/card-cabinet.webp +0 -0
  23. package/docs/card-city.webp +0 -0
  24. package/docs/card-fingerprint.webp +0 -0
  25. package/docs/card-holiday.webp +0 -0
  26. package/docs/card-names.webp +0 -0
  27. package/docs/card.html +6 -6
  28. package/docs/checkbox.html +3 -3
  29. package/docs/dialog.html +3 -3
  30. package/docs/divider.html +3 -3
  31. package/docs/docs.js +1 -1
  32. package/docs/iconbutton.html +3 -3
  33. package/docs/index.html +5 -5
  34. package/docs/list.html +3 -3
  35. package/docs/menu.html +3 -3
  36. package/docs/micl.css +1 -0
  37. package/docs/micl.js +1 -0
  38. package/docs/radio.html +3 -3
  39. package/docs/select.html +3 -3
  40. package/docs/sidesheet.html +3 -3
  41. package/docs/slider.html +3 -3
  42. package/docs/switch.html +3 -3
  43. package/docs/textfield.html +3 -3
  44. package/docs/themes/airblue/dark-hc.css +51 -0
  45. package/docs/themes/airblue/dark-mc.css +51 -0
  46. package/docs/themes/airblue/dark.css +51 -0
  47. package/docs/themes/airblue/light-hc.css +51 -0
  48. package/docs/themes/airblue/light-mc.css +51 -0
  49. package/docs/themes/airblue/light.css +51 -0
  50. package/docs/themes/airblue/theme.css +306 -0
  51. package/docs/themes/barnred/dark-hc.css +51 -0
  52. package/docs/themes/barnred/dark-mc.css +51 -0
  53. package/docs/themes/barnred/dark.css +51 -0
  54. package/docs/themes/barnred/light-hc.css +51 -0
  55. package/docs/themes/barnred/light-mc.css +51 -0
  56. package/docs/themes/barnred/light.css +51 -0
  57. package/docs/themes/barnred/theme.css +306 -0
  58. package/docs/themes/citrine/dark-hc.css +51 -0
  59. package/docs/themes/citrine/dark-mc.css +51 -0
  60. package/docs/themes/citrine/dark.css +51 -0
  61. package/docs/themes/citrine/light-hc.css +51 -0
  62. package/docs/themes/citrine/light-mc.css +51 -0
  63. package/docs/themes/citrine/light.css +51 -0
  64. package/docs/themes/citrine/theme.css +306 -0
  65. package/docs/themes/olivegreen/dark-hc.css +51 -0
  66. package/docs/themes/olivegreen/dark-mc.css +51 -0
  67. package/docs/themes/olivegreen/dark.css +51 -0
  68. package/docs/themes/olivegreen/light-hc.css +51 -0
  69. package/docs/themes/olivegreen/light-mc.css +51 -0
  70. package/docs/themes/olivegreen/light.css +51 -0
  71. package/docs/themes/olivegreen/theme.css +306 -0
  72. package/package.json +2 -2
  73. package/styles/README.md +5 -5
  74. package/styles.scss +15 -15
  75. package/themes/README.md +1 -1
  76. package/webpack.config.js +1 -1
  77. /package/components/bottomsheet/{bottomsheet.scss → index.scss} +0 -0
  78. /package/components/button/{button.scss → index.scss} +0 -0
  79. /package/components/card/{card.scss → index.scss} +0 -0
  80. /package/components/checkbox/{checkbox.scss → index.scss} +0 -0
  81. /package/components/dialog/{dialog.scss → index.scss} +0 -0
  82. /package/components/divider/{divider.scss → index.scss} +0 -0
  83. /package/components/iconbutton/{iconbutton.scss → index.scss} +0 -0
  84. /package/components/list/{list.scss → index.scss} +0 -0
  85. /package/components/menu/{menu.scss → index.scss} +0 -0
  86. /package/components/radio/{radio.scss → index.scss} +0 -0
  87. /package/components/select/{select.scss → index.scss} +0 -0
  88. /package/components/sidesheet/{sidesheet.scss → index.scss} +0 -0
  89. /package/components/slider/{slider.scss → index.scss} +0 -0
  90. /package/components/switch/{switch.scss → index.scss} +0 -0
  91. /package/components/textfield/{textfield.scss → index.scss} +0 -0
package/README.md CHANGED
@@ -14,7 +14,7 @@ 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]()
17
+ - **Live Demo:** [The MICL Showcase](https://henkpb.github.io/micl/)
18
18
  - **Component Documentation:** [View all component documentation](components/README.md)
19
19
 
20
20
  ## Quick start 🚀
@@ -30,18 +30,18 @@ npm install material-inspired-component-library
30
30
 
31
31
  To import the styles for a single component:
32
32
  ```SCSS
33
- @use "micl/components/card";
33
+ @use "material-inspired-component-library/components/card";
34
34
  ```
35
35
  To import all component styles:
36
36
  ```SCSS
37
- @use "micl/styles";
37
+ @use "material-inspired-component-library/styles";
38
38
  ```
39
39
 
40
40
  **Plain CSS**
41
41
 
42
42
  Add the main CSS file to your project:
43
43
  ```HTML
44
- <link rel="stylesheet" href="node_modules/micl/dist/micl.css">
44
+ <link rel="stylesheet" href="node_modules/material-inspired-component-library/dist/micl.css">
45
45
  ```
46
46
 
47
47
  ### 3. Add the HTML & JavaScript
@@ -61,22 +61,22 @@ Some components, list the **List**, require a small amount of JavaScript to hand
61
61
 
62
62
  ```TypeScript
63
63
  // For components with interactive behaviour
64
- import list from "micl/components/lists";
64
+ import list from "material-inspired-component-library/components/lists";
65
65
 
66
66
  // To import TypeScript for all components
67
- import components from "micl/components";
67
+ import components from "material-inspired-component-library/components";
68
68
  ```
69
69
 
70
70
  To import all the TypeScript into your project:
71
71
  ```TypeScript
72
- import components from "micl/components";
72
+ import components from "material-inspired-component-library/components";
73
73
  ```
74
74
 
75
75
  **Plain JavaScript**
76
76
 
77
77
  Add the main JavaScript file to your project:
78
78
  ```HTML
79
- <script src="node_modules/micl/dist/micl.js"></script>
79
+ <script src="node_modules/material-inspired-component-library/dist/micl.js"></script>
80
80
  ```
81
81
 
82
82
  ## Available components ✅
@@ -31,7 +31,7 @@ The Accordion component is an extension of the [**List** component](../list/READ
31
31
  Import the list styles into your project:
32
32
 
33
33
  ```CSS
34
- @use "micl/components/list";
34
+ @use "material-inspired-component-library/components/list";
35
35
  ```
36
36
 
37
37
  ### TypeScript
@@ -40,11 +40,14 @@ This component requires a TypeScript module to support keyboard navigation. You
40
40
  To manually initialize the component:
41
41
 
42
42
  ```TypeScript
43
- import miclAccordion from 'micl/components/list';
43
+ import miclAccordion from 'material-inspired-component-library/components/list';
44
44
 
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
+
48
51
  ## Variants
49
52
  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.
50
53
 
@@ -18,7 +18,7 @@ To create a standard bottom sheet, use the `<dialog>` element with the `popover`
18
18
  Import the bottom sheet styles into your project:
19
19
 
20
20
  ```CSS
21
- @use "micl/components/bottomsheet";
21
+ @use "material-inspired-component-library/components/bottomsheet";
22
22
  ```
23
23
 
24
24
  ### TypeScript
@@ -27,11 +27,14 @@ This component requires a TypeScript module to support **modal** and **resizable
27
27
  To manually initialize the component:
28
28
 
29
29
  ```TypeScript
30
- import miclBottomSheet from 'micl/components/bottomsheet';
30
+ import miclBottomSheet from 'material-inspired-component-library/components/bottomsheet';
31
31
 
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
+
35
38
  ## Variants
36
39
  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.
37
40
 
@@ -14,7 +14,7 @@ To create a basic button, use the `<button>` element with a class that specifies
14
14
  Import the button styles into your project:
15
15
 
16
16
  ```CSS
17
- @use "micl/components/button";
17
+ @use "material-inspired-component-library/components/button";
18
18
  ```
19
19
 
20
20
  ### TypeScript
@@ -23,11 +23,14 @@ This component requires a TypeScript module for interactive features like the **
23
23
  To manually initialize the component:
24
24
 
25
25
  ```TypeScript
26
- import miclButton from 'micl/components/button';
26
+ import miclButton from 'material-inspired-component-library/components/button';
27
27
 
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
+
31
34
  ## Variants
32
35
  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:
33
36
 
@@ -16,12 +16,15 @@ To add a basic card, use a `<div>` element with one of the primary card style cl
16
16
  Import the card styles into your project:
17
17
 
18
18
  ```CSS
19
- @use "micl/components/card";
19
+ @use "material-inspired-component-library/components/card";
20
20
  ```
21
21
 
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
+
25
28
  ## Variants
26
29
  Cards come in **three distinct styles**:
27
30
 
@@ -15,7 +15,7 @@ To add a basic checkbox, use the `<input type="checkbox">` element with the `mic
15
15
  Import the checkbox styles into your project:
16
16
 
17
17
  ```CSS
18
- @use "micl/components/checkbox";
18
+ @use "material-inspired-component-library/components/checkbox";
19
19
  ```
20
20
 
21
21
  ### TypeScript
@@ -24,11 +24,14 @@ This component requires a TypeScript module to support checking and unchecking u
24
24
  To manually initialize the component:
25
25
 
26
26
  ```TypeScript
27
- import miclCheckbox from 'micl/components/checkbox';
27
+ import miclCheckbox from 'material-inspired-component-library/components/checkbox';
28
28
 
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
+
32
35
  ## Variants
33
36
  Adding the `micl-checkbox--error` CSS class to the `<input>` element will create an error-checkbox as specified by the Material Design 3 specification.
34
37
 
@@ -25,12 +25,15 @@ To create a basic dialog, use the `<dialog>` element with the `micl-dialog` clas
25
25
  Import the dialog styles into your project:
26
26
 
27
27
  ```CSS
28
- @use "micl/components/dialog";
28
+ @use "material-inspired-component-library/components/dialog";
29
29
  ```
30
30
 
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
+
34
37
  ## Variants
35
38
  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>.
36
39
 
@@ -14,12 +14,15 @@ To add a basic divider, use the `<hr>` element with the `micl-divider` class:
14
14
  Import the divider styles into your project:
15
15
 
16
16
  ```CSS
17
- @use "micl/components/divider";
17
+ @use "material-inspired-component-library/components/divider";
18
18
  ```
19
19
 
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
+
23
26
  ## Variants
24
27
  The Divider component offers five CSS classes for different divider styles:
25
28
 
@@ -16,7 +16,7 @@ To create a basic icon button, use the `<button>` element with a class that spec
16
16
  Import the icon button styles into your project:
17
17
 
18
18
  ```CSS
19
- @use "micl/components/iconbutton";
19
+ @use "material-inspired-component-library/components/iconbutton";
20
20
  ```
21
21
 
22
22
  ### TypeScript
@@ -25,11 +25,14 @@ This component requires a TypeScript module for interactive features like the **
25
25
  To manually initialize the component:
26
26
 
27
27
  ```TypeScript
28
- import miclIconButton from 'micl/components/button';
28
+ import miclIconButton from 'material-inspired-component-library/components/button';
29
29
 
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
+
33
36
  ## Variants
34
37
  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:
35
38
 
@@ -24,7 +24,7 @@ To create a basic list, use the `<ul>` element with the `micl-list` class and in
24
24
  Import the list styles into your project:
25
25
 
26
26
  ```CSS
27
- @use "micl/components/list";
27
+ @use "material-inspired-component-library/components/list";
28
28
  ```
29
29
 
30
30
  ### TypeScript
@@ -33,11 +33,14 @@ This component requires a TypeScript module to support keyboard navigation. You
33
33
  To manually initialize the component:
34
34
 
35
35
  ```TypeScript
36
- import miclList from 'micl/components/list';
36
+ import miclList from 'material-inspired-component-library/components/list';
37
37
 
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
+
41
44
  ## Variants
42
45
  The List component offers three CSS classes to control the height and content capacity of individual list items:
43
46
 
@@ -24,8 +24,8 @@ The Menu component is an extension of the [List component](../list/README.md). I
24
24
  Import the styles for both the menu and list components into your project:
25
25
 
26
26
  ```CSS
27
- @use "micl/components/list";
28
- @use "micl/components/menu";
27
+ @use "material-inspired-component-library/components/list";
28
+ @use "material-inspired-component-library/components/menu";
29
29
  ```
30
30
 
31
31
  ### TypeScript
@@ -34,13 +34,13 @@ This component requires the **Menu** TypeScript module for functionality. You ca
34
34
  To manually initialize the component:
35
35
 
36
36
  ```TypeScript
37
- import miclMenu from 'micl/components/menu';
37
+ import miclMenu from 'material-inspired-component-library/components/menu';
38
38
 
39
39
  miclMenu.initialize(document.querySelector('.micl-menu'));
40
40
  ```
41
41
 
42
42
  ### Demo
43
- A live example of the [Menu component]() is available for you to interact with.
43
+ A live example of the [Menu component](https://henkpb.github.io/micl/menu.html) 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.
@@ -15,12 +15,15 @@ To add a basic radio button, use the `<input type="radio">` element with the `mi
15
15
  Import the radio button styles into your project:
16
16
 
17
17
  ```CSS
18
- @use "micl/components/radio";
18
+ @use "material-inspired-component-library/components/radio";
19
19
  ```
20
20
 
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
+
24
27
  ## Variants
25
28
  A radio button can be disabled by adding the `disabled` attribute to the `<input>` element.
26
29
 
@@ -24,9 +24,9 @@ The Select component is an extension of the [Text field](../textfield/README.md)
24
24
  The Select component relies on styles from the text field and list components. Be sure to import all three styles into your project.
25
25
 
26
26
  ```CSS
27
- @use "micl/components/list";
28
- @use "micl/components/textfield";
29
- @use "micl/components/select";
27
+ @use "material-inspired-component-library/components/list";
28
+ @use "material-inspired-component-library/components/textfield";
29
+ @use "material-inspired-component-library/components/select";
30
30
  ```
31
31
 
32
32
  ### TypeScript
@@ -35,13 +35,13 @@ This component requires the **Text field** TypeScript module for functionality.
35
35
  To manually initialize the component:
36
36
 
37
37
  ```TypeScript
38
- import miclTextField from 'micl/components/textfield';
38
+ import miclTextField from 'material-inspired-component-library/components/textfield';
39
39
 
40
40
  miclTextField.initialize(document.querySelector('.micl-textfield-filled'));
41
41
  ```
42
42
 
43
43
  ### Demo
44
- A live example of the [Select componen]() is available for you to interact with.
44
+ A live example of the [Select component](https://henkpb.github.io/micl/select.html) 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.
@@ -27,12 +27,15 @@ To create a standard side sheet, use the `<dialog>` element with the `popover` a
27
27
  Import the side sheet styles into your project:
28
28
 
29
29
  ```CSS
30
- @use "micl/components/sidesheet";
30
+ @use "material-inspired-component-library/components/sidesheet";
31
31
  ```
32
32
 
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
+
36
39
  ## Variants
37
40
  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.
38
41
 
@@ -14,7 +14,7 @@ To add a basic slider, use the `<input type="range">` element with one of the pr
14
14
  Import the slider styles into your project:
15
15
 
16
16
  ```CSS
17
- @use "micl/components/slider";
17
+ @use "material-inspired-component-library/components/slider";
18
18
  ```
19
19
 
20
20
  ### TypeScript
@@ -23,11 +23,14 @@ This component requires the **Slider** TypeScript module for functionality. You
23
23
  To manually initialize the component:
24
24
 
25
25
  ```TypeScript
26
- import miclSlider from 'micl/components/slider';
26
+ import miclSlider from 'material-inspired-component-library/components/slider';
27
27
 
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
+
31
34
  ## Variants
32
35
  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:
33
36
 
@@ -15,12 +15,15 @@ To add a basic switch, use the `<input type="checkbox">` element with the `micl-
15
15
  Import the switch styles into your project:
16
16
 
17
17
  ```CSS
18
- @use "micl/components/switch";
18
+ @use "material-inspired-component-library/components/switch";
19
19
  ```
20
20
 
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
+
24
27
  ## Variants
25
28
  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:
26
29
 
@@ -17,7 +17,7 @@ A basic text field can be either `filled` or `outlined`. To create one, use the
17
17
  Import the text field styles into your project:
18
18
 
19
19
  ```CSS
20
- @use "micl/components/textfield";
20
+ @use "material-inspired-component-library/components/textfield";
21
21
  ```
22
22
 
23
23
  ### TypeScript
@@ -26,13 +26,16 @@ This component requires a TypeScript module for interactive features like the **
26
26
  To manually initialize the component and attach an event listener for the `input` event:
27
27
 
28
28
  ```TypeScript
29
- import miclTextField from 'micl/components/textfield';
29
+ import miclTextField from 'material-inspired-component-library/components/textfield';
30
30
 
31
31
  miclTextField.initialize(document.querySelector('.micl-textfield-filled'));
32
32
 
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
+
36
39
  ## Variants
37
40
  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.
38
41
 
@@ -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="../dist/micl.css">
9
+ <link rel="stylesheet" href="themes/citrine/theme.css" id="theme-link">
10
+ <link rel="stylesheet" href="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="../dist/micl.js"></script>
282
+ <script src="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="../dist/micl.css">
9
+ <link rel="stylesheet" href="themes/citrine/theme.css" id="theme-link">
10
+ <link rel="stylesheet" href="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="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">
58
+ <img alt="John" src="card-names.webp">
59
59
  <figcaption class="md-sys-typescale-body-small">John Reeves</figcaption>
60
60
  </figure>
61
61
  <figure>
62
- <img alt="Carol" src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Gambia_girl.jpg/250px-Gambia_girl.jpg">
62
+ <img alt="Carol" src="card-awards.webp">
63
63
  <figcaption class="md-sys-typescale-body-small">Carol Glass</figcaption>
64
64
  </figure>
65
65
  <figure>
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>
66
+ <img alt="Bill" src="card-fingerprint.webp">
67
+ <figcaption class="md-sys-typescale-body-small">Bill Graves</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="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">
136
+ <img alt="John" src="card-names.webp">
137
137
  <figcaption class="md-sys-typescale-body-small">John Reeves</figcaption>
138
138
  </figure>
139
139
  <figure>
140
- <img alt="Carol" src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Gambia_girl.jpg/250px-Gambia_girl.jpg">
140
+ <img alt="Carol" src="card-awards.webp">
141
141
  <figcaption class="md-sys-typescale-body-small">Carol Glass</figcaption>
142
142
  </figure>
143
143
  <figure>
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>
144
+ <img alt="Bill" src="card-fingerprint.webp">
145
+ <figcaption class="md-sys-typescale-body-small">Bill Graves</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="../dist/micl.js"></script>
159
+ <script src="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="../dist/micl.css">
9
+ <link rel="stylesheet" href="themes/citrine/theme.css" id="theme-link">
10
+ <link rel="stylesheet" href="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="../dist/micl.js"></script>
203
+ <script src="micl.js"></script>
204
204
  <script src="docs.js"></script>
205
205
  </body>
206
206
  </html>
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
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="../dist/micl.css">
9
+ <link rel="stylesheet" href="themes/citrine/theme.css" id="theme-link">
10
+ <link rel="stylesheet" href="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="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">
50
+ <img alt="holiday" class="micl-card__image" src="card-holiday.webp">
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="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">
65
+ <img alt="cabinet" class="micl-card__image" src="card-cabinet.webp">
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="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">
77
+ <img alt="city" class="micl-card__image" src="card-city.webp">
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="../dist/micl.js"></script>
88
+ <script src="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="../dist/micl.css">
9
+ <link rel="stylesheet" href="themes/citrine/theme.css" id="theme-link">
10
+ <link rel="stylesheet" href="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="../dist/micl.js"></script>
96
+ <script src="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="../dist/micl.css">
9
+ <link rel="stylesheet" href="themes/citrine/theme.css" id="theme-link">
10
+ <link rel="stylesheet" href="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="../dist/micl.js"></script>
150
+ <script src="micl.js"></script>
151
151
  <script src="docs.js"></script>
152
152
  </body>
153
153
  </html>