@threadlabs/looma 0.13.5 → 0.14.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.
Files changed (65) hide show
  1. package/components/ui-button/ui-button.html +2 -1
  2. package/components/ui-checkbox/ui-checkbox.html +35 -0
  3. package/components/ui-combobox/ui-combobox.html +38 -3
  4. package/components/ui-icon/ui-icon.html +67 -7
  5. package/components/ui-input/ui-input.html +27 -0
  6. package/components/ui-input-group/ui-input-group.html +15 -0
  7. package/components/ui-radio/ui-radio.html +35 -0
  8. package/components/ui-select/ui-select.html +29 -3
  9. package/components/ui-switch/ui-switch.html +36 -0
  10. package/components/ui-textarea/ui-textarea.html +20 -0
  11. package/dist/index.js +17 -18
  12. package/package.json +1 -1
  13. package/styles/ui-button.css +3 -1
  14. package/styles/ui-checkbox.css +38 -0
  15. package/styles/ui-combobox.css +38 -1
  16. package/styles/ui-input-group.css +20 -0
  17. package/styles/ui-input.css +29 -0
  18. package/styles/ui-radio.css +38 -0
  19. package/styles/ui-select.css +29 -3
  20. package/styles/ui-switch.css +41 -0
  21. package/styles/ui-textarea.css +21 -0
  22. package/vanilla/UiCheckbox.d.ts +1 -0
  23. package/vanilla/UiCheckbox.js +1 -1
  24. package/vanilla/UiCombobox.d.ts +1 -1
  25. package/vanilla/UiCombobox.js +1 -1
  26. package/vanilla/UiIcon.js +1 -3
  27. package/vanilla/UiInput.d.ts +1 -0
  28. package/vanilla/UiInput.js +1 -1
  29. package/vanilla/UiRadio.d.ts +1 -0
  30. package/vanilla/UiRadio.js +1 -1
  31. package/vanilla/UiSelect.d.ts +1 -0
  32. package/vanilla/UiSelect.js +1 -1
  33. package/vanilla/UiSwitch.d.ts +1 -0
  34. package/vanilla/UiSwitch.js +1 -1
  35. package/vanilla/UiTextarea.d.ts +1 -0
  36. package/vanilla/UiTextarea.js +1 -1
  37. package/vue/UiButton.vue +2 -1
  38. package/vue/UiCheckbox.d.ts +2 -0
  39. package/vue/UiCheckbox.vue +34 -0
  40. package/vue/UiCombobox.d.ts +2 -2
  41. package/vue/UiCombobox.vue +39 -2
  42. package/vue/UiIcon.vue +337 -42
  43. package/vue/UiInput.d.ts +2 -0
  44. package/vue/UiInput.vue +41 -0
  45. package/vue/UiInputGroup.vue +15 -0
  46. package/vue/UiRadio.d.ts +2 -0
  47. package/vue/UiRadio.vue +34 -0
  48. package/vue/UiSelect.d.ts +2 -0
  49. package/vue/UiSelect.vue +34 -3
  50. package/vue/UiSwitch.d.ts +2 -0
  51. package/vue/UiSwitch.vue +35 -0
  52. package/vue/UiTextarea.d.ts +2 -0
  53. package/vue/UiTextarea.vue +27 -0
  54. package/vue/chunks/UiButton.js +1 -1
  55. package/vue/chunks/UiCheckbox.js +3 -2
  56. package/vue/chunks/UiCombobox.js +1 -1
  57. package/vue/chunks/UiIcon.js +950 -32
  58. package/vue/chunks/UiInput.js +7 -2
  59. package/vue/chunks/UiInputGroup.js +1 -1
  60. package/vue/chunks/UiRadio.js +3 -2
  61. package/vue/chunks/UiSelect.js +7 -2
  62. package/vue/chunks/UiSwitch.js +3 -2
  63. package/vue/chunks/UiTextarea.js +7 -2
  64. package/vue/components.css +368 -168
  65. package/components/ui-icon/ui-icon.js +0 -8
@@ -1,8 +0,0 @@
1
- import { icons } from "../shared/icons.js";
2
-
3
- // The icon's shapes, from Looma's icon set, for the template to draw.
4
- export default function controller(host) {
5
- return host.effect(() => {
6
- host.state.shapes = (icons[host.state.name] ?? []).map(([tag, attributes]) => ({ tag, ...attributes }));
7
- });
8
- }