material 0.7.2 → 0.7.4

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 (51) hide show
  1. package/LICENSE +9 -18
  2. package/index.js +25 -48
  3. package/package.json +2 -10
  4. package/src/checkbox.js +48 -52
  5. package/src/element/insert.js +4 -4
  6. package/src/list.js +1 -3
  7. package/src/module/build.js +1 -3
  8. package/src/module/dom.js +1 -0
  9. package/src/module/request.js +33 -0
  10. package/src/navigation.js +7 -1
  11. package/src/skin/material/button/action.sass +6 -6
  12. package/src/skin/material/button/button.sass +6 -6
  13. package/src/skin/material/button/file.sass +1 -1
  14. package/src/skin/material/button/floating.sass +5 -5
  15. package/src/skin/material/button/raised.sass +5 -5
  16. package/src/skin/material/button/stroked.sass +5 -5
  17. package/src/skin/material/component/navigation.sass +6 -2
  18. package/src/skin/material/control/checkbox.sass +21 -21
  19. package/src/skin/material/module/ripple.sass +1 -1
  20. package/src/snackbar.js +4 -2
  21. package/src/styles/M3/abstracts/variables.sass +44 -0
  22. package/src/styles/M3/components/button.sass +26 -0
  23. package/src/styles/M3/modules/ripple.sass +9 -0
  24. package/src/styles/M3/themes/classic.sass +2 -0
  25. package/src/tabs.js +2 -3
  26. package/dist/demo-bundle.js +0 -2281
  27. package/dist/demo-bundle.js.map +0 -7
  28. package/dist/demo.css +0 -93
  29. package/dist/demo.css.map +0 -7
  30. package/dist/demo.html +0 -24
  31. package/dist/demo.js +0 -159
  32. package/dist/icon/accessibility.svg +0 -5
  33. package/dist/icon/apps.svg +0 -5
  34. package/dist/icon/happy.svg +0 -6
  35. package/dist/icon/link.svg +0 -5
  36. package/dist/icon/more.svg +0 -5
  37. package/dist/icon/navi.svg +0 -5
  38. package/dist/icon/phone.svg +0 -6
  39. package/dist/icon/share.svg +0 -6
  40. package/dist/icon/side.svg +0 -5
  41. package/dist/icon/star.svg +0 -7
  42. package/dist/icon/star_border.svg +0 -6
  43. package/dist/material.css +0 -2429
  44. package/dist/material.css.map +0 -7
  45. package/dist/styles/demo.sass +0 -110
  46. package/dist/styles.css +0 -23
  47. package/esbuild.js +0 -22
  48. package/esbuild.watch.js +0 -25
  49. package/src/container.js +0 -66
  50. package/src/field/email.js +0 -24
  51. package/src/field/image.js +0 -59
@@ -1,5 +0,0 @@
1
- export default `
2
- <svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
3
- <path d="M0 0h24v24H0z" fill="none"/>
4
- <path d="M12 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm9 7h-6v13h-2v-6h-2v6H9V9H3V7h18v2z"/>
5
- </svg>`
@@ -1,5 +0,0 @@
1
- export default `
2
- <svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
3
- <path d="M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z" />
4
- <path d="M0 0h24v24H0z" fill="none" />
5
- </svg>`
@@ -1,6 +0,0 @@
1
- export default `
2
- <svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
3
- <path d="M11.99 2C6.47 2 2 6.47 2 12s4.47 10 9.99 10S22 17.53 22 12 17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm1-10.06L14.06 11l1.06-1.06L16.18 11l1.06-1.06-2.12-2.12zm-4.12 0L9.94 11 11 9.94 8.88 7.82 6.76 9.94 7.82 11zM12 17.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5z"/>
4
- <path d="M0 0h24v24H0z" fill="none"/>
5
- </svg>
6
- `
@@ -1,5 +0,0 @@
1
- export default `
2
- <svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
3
- <path d="M0 0h24v24H0z" fill="none"/>
4
- <path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/>
5
- </svg>`
@@ -1,5 +0,0 @@
1
- export default `
2
- <svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
3
- <path d="M0 0h24v24H0z" fill="none" />
4
- <path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" />
5
- </svg>`
@@ -1,5 +0,0 @@
1
- export default `
2
- <svg height="24" viewBox="0 0 24 24" width="24">
3
- <path d="M0 0h24v24H0z" fill="none" />
4
- <path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" />
5
- </svg>`;
@@ -1,6 +0,0 @@
1
- export default `
2
- <svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
3
- <path d="M0 0h24v24H0z" fill="none"/>
4
- <path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/>
5
- </svg>
6
- `
@@ -1,6 +0,0 @@
1
- export default `
2
- <svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
3
- <path d="M0 0h24v24H0z" fill="none"/>
4
- <path d="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"/>
5
- </svg>
6
- `
@@ -1,5 +0,0 @@
1
- export default `
2
- <svg fill="#FFFFFF" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
3
- <path d="M-74 29h48v48h-48V29zM0 0h24v24H0V0zm0 0h24v24H0V0z" fill="none" />
4
- <path d="M13 12h7v1.5h-7zm0-2.5h7V11h-7zm0 5h7V16h-7zM21 4H3c-1.1 0-2 .9-2 2v13c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 15h-9V6h9v13z" />
5
- </svg>`;
@@ -1,7 +0,0 @@
1
- export default `
2
- <svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
3
- <path d="M0 0h24v24H0z" fill="none"/>
4
- <path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/>
5
- <path d="M0 0h24v24H0z" fill="none"/>
6
- </svg>
7
- `;
@@ -1,6 +0,0 @@
1
- export default `
2
- <svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
3
- <path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"/>
4
- <path d="M0 0h24v24H0z" fill="none"/>
5
- </svg>
6
- `