@blueprintui/cli 0.0.7 → 0.0.10

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 (210) hide show
  1. package/README.md +22 -2
  2. package/package.json +21 -21
  3. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/.tsbuildinfo +1 -1
  4. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/alert/element.d.ts +1 -1
  5. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/alert/element.js +11 -10
  6. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/breadcrumb/element.d.ts +3 -3
  7. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/breadcrumb/element.js +3 -3
  8. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/button-icon/element.js +1 -1
  9. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/datalist/element.d.ts +0 -2
  10. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/datalist/element.js +0 -6
  11. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/date/element.d.ts +0 -2
  12. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/date/element.js +1 -6
  13. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/drawer/element.d.ts +1 -2
  14. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/drawer/element.js +4 -3
  15. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/file/element.d.ts +0 -1
  16. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/file/element.js +4 -7
  17. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/control/element.d.ts +7 -27
  18. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/control/element.js +39 -134
  19. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/control-group/element.d.ts +5 -17
  20. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/control-group/element.js +17 -36
  21. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/control-inline/element.d.ts +0 -9
  22. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/control-inline/element.js +6 -39
  23. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/control-label/element.d.ts +0 -1
  24. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/control-label/element.js +0 -2
  25. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/control-message/element.d.ts +3 -18
  26. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/control-message/element.js +4 -13
  27. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/form-group/element.d.ts +0 -3
  28. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/form-group/element.js +5 -8
  29. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/utils/context.d.ts +2 -7
  30. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/utils/utils.d.ts +3 -7
  31. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/utils/utils.js +28 -20
  32. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/utils/validate.d.ts +0 -1
  33. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/utils/validate.js +19 -17
  34. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/alert.d.ts +7 -7
  35. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/alert.js +7 -7
  36. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/all.d.ts +1 -4
  37. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/all.js +1 -4
  38. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/button-expand.d.ts +2 -2
  39. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/button-expand.js +2 -2
  40. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/button-handle.d.ts +2 -2
  41. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/button-handle.js +2 -2
  42. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/button-icon.d.ts +2 -2
  43. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/button-icon.js +2 -2
  44. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/button-sort.d.ts +2 -2
  45. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/button-sort.js +2 -2
  46. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/color.d.ts +1 -1
  47. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/color.js +1 -1
  48. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/date.d.ts +2 -2
  49. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/date.js +2 -2
  50. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/drawer.d.ts +1 -1
  51. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/drawer.js +1 -1
  52. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/file.d.ts +3 -3
  53. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/file.js +3 -3
  54. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/forms.d.ts +3 -3
  55. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/forms.js +5 -3
  56. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/lazy.d.ts +1 -4
  57. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/lazy.js +1 -4
  58. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/modal.d.ts +1 -1
  59. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/modal.js +1 -1
  60. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/month.d.ts +1 -1
  61. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/month.js +1 -1
  62. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/nav.d.ts +2 -2
  63. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/nav.js +2 -2
  64. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/pagination.d.ts +3 -3
  65. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/pagination.js +3 -3
  66. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/password.d.ts +3 -3
  67. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/password.js +3 -3
  68. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/search.d.ts +1 -1
  69. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/search.js +1 -1
  70. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/time.d.ts +1 -1
  71. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/time.js +1 -1
  72. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/{base → components}/button.d.ts +5 -4
  73. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/{base → components}/button.js +5 -9
  74. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/state-active.controller.d.ts +1 -0
  75. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/state-active.controller.js +8 -5
  76. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/state-control.controller.d.ts +17 -0
  77. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/state-control.controller.js +67 -0
  78. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/state-disabled.controller.d.ts +3 -3
  79. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/state-pressed.controller.d.ts +3 -3
  80. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/state-readonly.controller.d.ts +12 -0
  81. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/state-readonly.controller.js +22 -0
  82. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/state-selected.controller.d.ts +13 -0
  83. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/state-selected.controller.js +29 -0
  84. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/type-anchor.controller.d.ts +3 -3
  85. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/type-button.controller.d.ts +10 -5
  86. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/type-button.controller.js +51 -1
  87. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/type-closable.controller.d.ts +14 -0
  88. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/type-closable.controller.js +30 -0
  89. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/type-dialog.controller.js +3 -3
  90. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/type-form.controller.d.ts +27 -0
  91. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/type-form.controller.js +34 -0
  92. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/type-popup.controller.js +3 -3
  93. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/index.d.ts +6 -2
  94. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/index.js +6 -2
  95. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/services/global.service.d.ts +0 -2
  96. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/services/global.service.js +0 -1
  97. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/utils/a11y.d.ts +1 -0
  98. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/utils/a11y.js +7 -0
  99. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/utils/dom.d.ts +1 -0
  100. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/utils/dom.js +8 -0
  101. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/utils/events.d.ts +1 -1
  102. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/utils/events.js +1 -1
  103. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/month/element.d.ts +0 -2
  104. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/month/element.js +1 -6
  105. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/nav/element.d.ts +28 -0
  106. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/nav/element.js +13 -10
  107. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/nav/item/element.d.ts +0 -2
  108. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/nav/item/element.js +11 -16
  109. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/popup/element.d.ts +4 -3
  110. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/popup/element.js +4 -3
  111. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/radio/element.d.ts +0 -1
  112. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/radio/element.js +4 -13
  113. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/radio/group/element.d.ts +0 -1
  114. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/radio/group/element.js +0 -12
  115. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/range/element.d.ts +0 -4
  116. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/range/element.js +0 -15
  117. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/select/element.d.ts +0 -2
  118. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/select/element.js +1 -15
  119. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/test/index.d.ts +3 -3
  120. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/test/index.js +6 -36
  121. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/textarea/element.d.ts +0 -1
  122. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/textarea/element.js +0 -1
  123. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/time/element.d.ts +0 -2
  124. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/time/element.js +1 -6
  125. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/tooltip/element.js +1 -1
  126. package/src/index.mjs +31 -1
  127. package/src/rollup.config.mjs +14 -18
  128. package/src/utils.mjs +26 -0
  129. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icon/element.d.ts +0 -35
  130. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icon/element.js +0 -91
  131. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icon/index.d.ts +0 -1
  132. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icon/index.js +0 -1
  133. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/angle.d.ts +0 -12
  134. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/angle.js +0 -8
  135. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/calendar.d.ts +0 -12
  136. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/calendar.js +0 -8
  137. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/check-circle.d.ts +0 -12
  138. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/check-circle.js +0 -8
  139. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/clock.d.ts +0 -12
  140. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/clock.js +0 -8
  141. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/close.d.ts +0 -12
  142. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/close.js +0 -8
  143. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/cloud.d.ts +0 -12
  144. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/cloud.js +0 -8
  145. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/color-picker.d.ts +0 -12
  146. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/color-picker.js +0 -8
  147. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/drag-handle.d.ts +0 -12
  148. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/drag-handle.js +0 -8
  149. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/ellipsis-vertical.d.ts +0 -12
  150. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/ellipsis-vertical.js +0 -8
  151. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/exclamation-circle.d.ts +0 -12
  152. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/exclamation-circle.js +0 -8
  153. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/eye-hide.d.ts +0 -12
  154. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/eye-hide.js +0 -8
  155. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/eye.d.ts +0 -12
  156. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/eye.js +0 -8
  157. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/filter.d.ts +0 -12
  158. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/filter.js +0 -8
  159. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/folder.d.ts +0 -12
  160. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/folder.js +0 -8
  161. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/home.d.ts +0 -12
  162. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/home.js +0 -8
  163. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/icon.service.d.ts +0 -5
  164. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/icon.service.js +0 -17
  165. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/image.d.ts +0 -12
  166. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/image.js +0 -8
  167. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/index.d.ts +0 -25
  168. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/index.js +0 -25
  169. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/info-circle.d.ts +0 -12
  170. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/info-circle.js +0 -8
  171. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/interfaces.d.ts +0 -10
  172. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/interfaces.js +0 -1
  173. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/menu.d.ts +0 -12
  174. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/menu.js +0 -8
  175. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/search.d.ts +0 -12
  176. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/search.js +0 -8
  177. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/step-forward-two.d.ts +0 -12
  178. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/step-forward-two.js +0 -8
  179. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/times.d.ts +0 -12
  180. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/times.js +0 -8
  181. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/unknown.d.ts +0 -12
  182. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/unknown.js +0 -8
  183. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/user.d.ts +0 -12
  184. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/user.js +0 -8
  185. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/warning.d.ts +0 -12
  186. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/warning.js +0 -8
  187. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/icon.d.ts +0 -6
  188. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/icon.js +0 -2
  189. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/link.d.ts +0 -6
  190. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/link.js +0 -2
  191. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/list.d.ts +0 -7
  192. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/list.js +0 -3
  193. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/text.d.ts +0 -6
  194. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/text.js +0 -2
  195. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/type-submit.controller.d.ts +0 -15
  196. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/type-submit.controller.js +0 -64
  197. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/link/element.d.ts +0 -22
  198. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/link/element.js +0 -40
  199. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/link/index.d.ts +0 -1
  200. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/link/index.js +0 -1
  201. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/list/element.d.ts +0 -19
  202. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/list/element.js +0 -32
  203. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/list/index.d.ts +0 -2
  204. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/list/index.js +0 -2
  205. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/list/item/element.d.ts +0 -18
  206. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/list/item/element.js +0 -26
  207. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/text/element.d.ts +0 -25
  208. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/text/element.js +0 -60
  209. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/text/index.d.ts +0 -1
  210. package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/text/index.js +0 -1
@@ -1,64 +0,0 @@
1
- import { stopEvent, onKeys } from '../utils/events.js';
2
- export function typeSubmit() {
3
- return (target) => target.addInitializer((instance) => new TypeSubmitController(instance));
4
- }
5
- export class TypeSubmitController {
6
- host;
7
- #button;
8
- constructor(host) {
9
- this.host = host;
10
- this.host.addController(this);
11
- }
12
- hostUpdated() {
13
- this.#setButtonType();
14
- this.#setupSubmitButton();
15
- this.#setupNativeButtonBehavior();
16
- }
17
- #setButtonType() {
18
- if (!this.host.type && this.host.closest('form')) {
19
- this.host.type = 'submit';
20
- }
21
- }
22
- #setupSubmitButton() {
23
- if (!this.#button) {
24
- this.#button = document.createElement('button');
25
- this.#button.inert = true;
26
- }
27
- this.#button.value = this.host.value;
28
- this.#button.name = this.host.name;
29
- this.#button.type = this.host.type;
30
- }
31
- #setupNativeButtonBehavior() {
32
- if (this.host.readonly || this.host.disabled) {
33
- this.host.removeEventListener('click', this.#triggerNativeButtonBehavior.bind(this));
34
- this.host.removeEventListener('keyup', this.#emulateKeyBoardEventBehavior.bind(this));
35
- }
36
- else {
37
- this.host.addEventListener('click', this.#triggerNativeButtonBehavior.bind(this));
38
- this.host.addEventListener('keyup', this.#emulateKeyBoardEventBehavior.bind(this));
39
- }
40
- }
41
- #emulateKeyBoardEventBehavior(event) {
42
- onKeys(['Enter', 'Space'], event, () => {
43
- // When submitting forms with Enter key, the default submit button receives a click event from the form
44
- if (this.host.type === 'submit') {
45
- this.#triggerNativeButtonBehavior(event);
46
- }
47
- else {
48
- this.host.click();
49
- }
50
- stopEvent(event);
51
- });
52
- }
53
- /** hidden button enables native "submit" events within a form element */
54
- #triggerNativeButtonBehavior(event) {
55
- if (this.host.disabled) {
56
- stopEvent(event);
57
- }
58
- else if (!event.defaultPrevented) {
59
- this.host.appendChild(this.#button);
60
- this.#button.dispatchEvent(new MouseEvent('click', { relatedTarget: this.host, composed: true }));
61
- this.#button.remove();
62
- }
63
- }
64
- }
@@ -1,22 +0,0 @@
1
- import { LitElement } from 'lit';
2
- /**
3
- * ```typescript
4
- * import '@blueprintui/components/include/link.js';
5
- * ```
6
- *
7
- * ```html
8
- * <bp-link href=""></bp-link>
9
- * ```
10
- *
11
- * @element bp-link
12
- * @slot - text content
13
- * @cssprop --background
14
- */
15
- export declare class BpLink extends LitElement {
16
- href: string;
17
- disabled: boolean;
18
- readonly: boolean;
19
- target: '_blank' | '_parent' | '_self' | '_top';
20
- static styles: CSSStyleSheet[];
21
- render(): import("lit-html").TemplateResult<1>;
22
- }
@@ -1,40 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { html, LitElement } from 'lit';
3
- import { ifDefined } from 'lit/directives/if-defined.js';
4
- import { typeAnchor, baseStyles } from '@blueprintui/components/internals';
5
- import styles from './element.css' assert { type: 'css' };
6
- /**
7
- * ```typescript
8
- * import '@blueprintui/components/include/link.js';
9
- * ```
10
- *
11
- * ```html
12
- * <bp-link href=""></bp-link>
13
- * ```
14
- *
15
- * @element bp-link
16
- * @slot - text content
17
- * @cssprop --background
18
- */
19
- let BpLink = class BpLink extends LitElement {
20
- static properties = {
21
- href: { type: String },
22
- disabled: { type: Boolean },
23
- readonly: { type: Boolean },
24
- target: { type: String }
25
- };
26
- constructor() {
27
- super(...arguments);
28
- this.target = '_self';
29
- }
30
- static styles = [baseStyles, styles];
31
- render() {
32
- return html `<div interaction class="private-host" part="private-host">
33
- ${this.href ? html `<a href=${this.href} target=${ifDefined(this.target)}><slot></slot></a>` : html `<slot></slot>`}
34
- </div>`;
35
- }
36
- };
37
- BpLink = __decorate([
38
- typeAnchor()
39
- ], BpLink);
40
- export { BpLink };
@@ -1,19 +0,0 @@
1
- import { LitElement } from 'lit';
2
- /**
3
- * ```typescript
4
- * import '@blueprintui/components/include/list.js';
5
- * ```
6
- *
7
- * ```html
8
- * <bp-list></bp-list>
9
- * ```
10
- *
11
- * @element bp-list
12
- * @slot - content
13
- * @cssprop --background
14
- */
15
- export declare class BpList extends LitElement {
16
- type: 'unordered' | 'ordered';
17
- static styles: CSSStyleSheet[];
18
- render(): import("lit-html").TemplateResult<1>;
19
- }
@@ -1,32 +0,0 @@
1
- import { html, LitElement } from 'lit';
2
- import { baseStyles } from '@blueprintui/components/internals';
3
- import styles from './element.css' assert { type: 'css' };
4
- /**
5
- * ```typescript
6
- * import '@blueprintui/components/include/list.js';
7
- * ```
8
- *
9
- * ```html
10
- * <bp-list></bp-list>
11
- * ```
12
- *
13
- * @element bp-list
14
- * @slot - content
15
- * @cssprop --background
16
- */
17
- export class BpList extends LitElement {
18
- static properties = {
19
- type: { type: String }
20
- };
21
- static styles = [baseStyles, styles];
22
- //__BLANK_LINE_PLACEHOLDER_G1JVXUEBNCL6YN5NFE13MD1PT3H9OIHB__
23
- constructor() {
24
- super();
25
- this.type = 'unordered';
26
- }
27
- render() {
28
- return html `
29
- ${this.type === 'unordered' ? html `<ul class="private-host"><slot></slot></ul>` : html `<ol class="private-host"><slot></slot></ol>`}
30
- `;
31
- }
32
- }
@@ -1,2 +0,0 @@
1
- export * from './element.js';
2
- export * from './item/element.js';
@@ -1,2 +0,0 @@
1
- export * from './element.js';
2
- export * from './item/element.js';
@@ -1,18 +0,0 @@
1
- import { LitElement } from 'lit';
2
- /**
3
- * ```typescript
4
- * import '@blueprintui/components/include/list.js';
5
- * ```
6
- *
7
- * ```html
8
- * <bp-list-item></bp-list-item>
9
- * ```
10
- *
11
- * @element bp-list
12
- * @slot - content
13
- * @cssprop --background
14
- */
15
- export declare class BpListItem extends LitElement {
16
- static styles: CSSStyleSheet[];
17
- render(): import("lit-html").TemplateResult<1>;
18
- }
@@ -1,26 +0,0 @@
1
- import { html, LitElement } from 'lit';
2
- import { baseStyles } from '@blueprintui/components/internals';
3
- import styles from './element.css' assert { type: 'css' };
4
- /**
5
- * ```typescript
6
- * import '@blueprintui/components/include/list.js';
7
- * ```
8
- *
9
- * ```html
10
- * <bp-list-item></bp-list-item>
11
- * ```
12
- *
13
- * @element bp-list
14
- * @slot - content
15
- * @cssprop --background
16
- */
17
- export class BpListItem extends LitElement {
18
- static styles = [baseStyles, styles];
19
- render() {
20
- return html `
21
- <li class="private-host">
22
- <slot></slot>
23
- </li>
24
- `;
25
- }
26
- }
@@ -1,25 +0,0 @@
1
- import { LitElement, PropertyValues } from 'lit';
2
- /**
3
- * ```typescript
4
- * import '@blueprintui/components/include/text.js';
5
- * ```
6
- *
7
- * ```html
8
- * <bp-text></bp-text>
9
- * ```
10
- *
11
- * @element bp-text
12
- * @slot - text content
13
- * @cssprop --background
14
- */
15
- export declare class BpText extends LitElement {
16
- #private;
17
- static styles: CSSStyleSheet[];
18
- type: 'display' | 'heading' | 'section' | 'subsection' | 'content' | 'message' | 'caption';
19
- as: 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
20
- href?: string;
21
- target: '_blank' | '_parent' | '_self' | '_top';
22
- render(): import("lit-html").TemplateResult<1>;
23
- connectedCallback(): void;
24
- updated(props: PropertyValues<this>): void;
25
- }
@@ -1,60 +0,0 @@
1
- import { html, LitElement } from 'lit';
2
- import { baseStyles } from '@blueprintui/components/internals';
3
- import styles from './element.css' assert { type: 'css' };
4
- /**
5
- * ```typescript
6
- * import '@blueprintui/components/include/text.js';
7
- * ```
8
- *
9
- * ```html
10
- * <bp-text></bp-text>
11
- * ```
12
- *
13
- * @element bp-text
14
- * @slot - text content
15
- * @cssprop --background
16
- */
17
- export class BpText extends LitElement {
18
- static properties = {
19
- type: { type: String, reflect: true },
20
- as: { type: String },
21
- href: { type: String },
22
- target: { type: String }
23
- };
24
- static styles = [baseStyles, styles];
25
- //__BLANK_LINE_PLACEHOLDER_G1JVXUEBNCL6YN5NFE13MD1PT3H9OIHB__
26
- constructor() {
27
- super();
28
- this.type = 'content';
29
- this.as = 'p';
30
- this.target = '_self';
31
- }
32
- #internals = this.attachInternals();
33
- render() {
34
- return html `${this.href ? html `<a href=${this.href} target=${this.target}><slot></slot></a>` : html `<slot></slot>`}`;
35
- }
36
- connectedCallback() {
37
- super.connectedCallback();
38
- this.#setAria();
39
- }
40
- updated(props) {
41
- super.updated(props);
42
- this.#setAria();
43
- }
44
- #setAria() {
45
- if (this.as !== 'p') {
46
- this.#setHeading();
47
- }
48
- else if (!this.href) {
49
- this.#setParagraph();
50
- }
51
- }
52
- #setHeading() {
53
- this.#internals.role = 'heading';
54
- this.#internals.ariaLevel = `${this.as.split('')[1]}`;
55
- }
56
- #setParagraph() {
57
- this.#internals.role = 'paragraph';
58
- this.#internals.ariaLevel = null;
59
- }
60
- }