@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.
- package/README.md +22 -2
- package/package.json +21 -21
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/.tsbuildinfo +1 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/alert/element.d.ts +1 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/alert/element.js +11 -10
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/breadcrumb/element.d.ts +3 -3
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/breadcrumb/element.js +3 -3
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/button-icon/element.js +1 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/datalist/element.d.ts +0 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/datalist/element.js +0 -6
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/date/element.d.ts +0 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/date/element.js +1 -6
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/drawer/element.d.ts +1 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/drawer/element.js +4 -3
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/file/element.d.ts +0 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/file/element.js +4 -7
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/control/element.d.ts +7 -27
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/control/element.js +39 -134
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/control-group/element.d.ts +5 -17
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/control-group/element.js +17 -36
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/control-inline/element.d.ts +0 -9
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/control-inline/element.js +6 -39
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/control-label/element.d.ts +0 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/control-label/element.js +0 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/control-message/element.d.ts +3 -18
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/control-message/element.js +4 -13
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/form-group/element.d.ts +0 -3
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/form-group/element.js +5 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/utils/context.d.ts +2 -7
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/utils/utils.d.ts +3 -7
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/utils/utils.js +28 -20
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/utils/validate.d.ts +0 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/forms/utils/validate.js +19 -17
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/alert.d.ts +7 -7
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/alert.js +7 -7
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/all.d.ts +1 -4
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/all.js +1 -4
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/button-expand.d.ts +2 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/button-expand.js +2 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/button-handle.d.ts +2 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/button-handle.js +2 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/button-icon.d.ts +2 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/button-icon.js +2 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/button-sort.d.ts +2 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/button-sort.js +2 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/color.d.ts +1 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/color.js +1 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/date.d.ts +2 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/date.js +2 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/drawer.d.ts +1 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/drawer.js +1 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/file.d.ts +3 -3
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/file.js +3 -3
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/forms.d.ts +3 -3
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/forms.js +5 -3
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/lazy.d.ts +1 -4
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/lazy.js +1 -4
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/modal.d.ts +1 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/modal.js +1 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/month.d.ts +1 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/month.js +1 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/nav.d.ts +2 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/nav.js +2 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/pagination.d.ts +3 -3
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/pagination.js +3 -3
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/password.d.ts +3 -3
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/password.js +3 -3
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/search.d.ts +1 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/search.js +1 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/time.d.ts +1 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/time.js +1 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/{base → components}/button.d.ts +5 -4
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/{base → components}/button.js +5 -9
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/state-active.controller.d.ts +1 -0
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/state-active.controller.js +8 -5
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/state-control.controller.d.ts +17 -0
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/state-control.controller.js +67 -0
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/state-disabled.controller.d.ts +3 -3
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/state-pressed.controller.d.ts +3 -3
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/state-readonly.controller.d.ts +12 -0
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/state-readonly.controller.js +22 -0
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/state-selected.controller.d.ts +13 -0
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/state-selected.controller.js +29 -0
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/type-anchor.controller.d.ts +3 -3
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/type-button.controller.d.ts +10 -5
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/type-button.controller.js +51 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/type-closable.controller.d.ts +14 -0
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/type-closable.controller.js +30 -0
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/type-dialog.controller.js +3 -3
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/type-form.controller.d.ts +27 -0
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/type-form.controller.js +34 -0
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/type-popup.controller.js +3 -3
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/index.d.ts +6 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/index.js +6 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/services/global.service.d.ts +0 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/services/global.service.js +0 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/utils/a11y.d.ts +1 -0
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/utils/a11y.js +7 -0
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/utils/dom.d.ts +1 -0
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/utils/dom.js +8 -0
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/utils/events.d.ts +1 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/utils/events.js +1 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/month/element.d.ts +0 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/month/element.js +1 -6
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/nav/element.d.ts +28 -0
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/nav/element.js +13 -10
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/nav/item/element.d.ts +0 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/nav/item/element.js +11 -16
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/popup/element.d.ts +4 -3
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/popup/element.js +4 -3
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/radio/element.d.ts +0 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/radio/element.js +4 -13
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/radio/group/element.d.ts +0 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/radio/group/element.js +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/range/element.d.ts +0 -4
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/range/element.js +0 -15
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/select/element.d.ts +0 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/select/element.js +1 -15
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/test/index.d.ts +3 -3
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/test/index.js +6 -36
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/textarea/element.d.ts +0 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/textarea/element.js +0 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/time/element.d.ts +0 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/time/element.js +1 -6
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/tooltip/element.js +1 -1
- package/src/index.mjs +31 -1
- package/src/rollup.config.mjs +14 -18
- package/src/utils.mjs +26 -0
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icon/element.d.ts +0 -35
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icon/element.js +0 -91
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icon/index.d.ts +0 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icon/index.js +0 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/angle.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/angle.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/calendar.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/calendar.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/check-circle.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/check-circle.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/clock.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/clock.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/close.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/close.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/cloud.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/cloud.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/color-picker.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/color-picker.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/drag-handle.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/drag-handle.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/ellipsis-vertical.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/ellipsis-vertical.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/exclamation-circle.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/exclamation-circle.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/eye-hide.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/eye-hide.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/eye.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/eye.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/filter.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/filter.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/folder.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/folder.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/home.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/home.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/icon.service.d.ts +0 -5
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/icon.service.js +0 -17
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/image.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/image.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/index.d.ts +0 -25
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/index.js +0 -25
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/info-circle.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/info-circle.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/interfaces.d.ts +0 -10
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/interfaces.js +0 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/menu.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/menu.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/search.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/search.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/step-forward-two.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/step-forward-two.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/times.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/times.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/unknown.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/unknown.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/user.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/user.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/warning.d.ts +0 -12
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/icons/warning.js +0 -8
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/icon.d.ts +0 -6
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/icon.js +0 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/link.d.ts +0 -6
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/link.js +0 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/list.d.ts +0 -7
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/list.js +0 -3
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/text.d.ts +0 -6
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/include/text.js +0 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/type-submit.controller.d.ts +0 -15
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/internals/controllers/type-submit.controller.js +0 -64
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/link/element.d.ts +0 -22
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/link/element.js +0 -40
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/link/index.d.ts +0 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/link/index.js +0 -1
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/list/element.d.ts +0 -19
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/list/element.js +0 -32
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/list/index.d.ts +0 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/list/index.js +0 -2
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/list/item/element.d.ts +0 -18
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/list/item/element.js +0 -26
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/text/element.d.ts +0 -25
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/text/element.js +0 -60
- package/src/.rollup.cache/@blueprintui/components/Users/coryrylan/Repos/blueprintui/components/dist/lib/text/index.d.ts +0 -1
- 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 +0,0 @@
|
|
|
1
|
-
export * from './element.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './element.js';
|
|
@@ -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,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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './element.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './element.js';
|