@uiuxicons/vue 0.1.1 → 0.1.2
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 +11 -1
- package/dist/Icon.cjs +66 -0
- package/dist/Icon.d.cts +65 -0
- package/dist/Icon.d.ts +65 -0
- package/dist/Icon.js +42 -0
- package/dist/IconProvider.cjs +48 -0
- package/dist/IconProvider.d.cts +48 -0
- package/dist/IconProvider.d.ts +48 -0
- package/dist/IconProvider.js +24 -0
- package/dist/createIcon.cjs +44 -0
- package/dist/createIcon.d.cts +57 -0
- package/dist/createIcon.d.ts +57 -0
- package/dist/createIcon.js +20 -0
- package/dist/icons/align-bottom.cjs +45 -0
- package/dist/icons/align-bottom.d.cts +56 -0
- package/dist/icons/align-bottom.d.ts +56 -0
- package/dist/icons/align-bottom.js +21 -0
- package/dist/icons/align-center-horizontal.cjs +45 -0
- package/dist/icons/align-center-horizontal.d.cts +56 -0
- package/dist/icons/align-center-horizontal.d.ts +56 -0
- package/dist/icons/align-center-horizontal.js +21 -0
- package/dist/icons/align-center-vertical.cjs +45 -0
- package/dist/icons/align-center-vertical.d.cts +56 -0
- package/dist/icons/align-center-vertical.d.ts +56 -0
- package/dist/icons/align-center-vertical.js +21 -0
- package/dist/icons/align-left.cjs +45 -0
- package/dist/icons/align-left.d.cts +56 -0
- package/dist/icons/align-left.d.ts +56 -0
- package/dist/icons/align-left.js +21 -0
- package/dist/icons/align-right.cjs +45 -0
- package/dist/icons/align-right.d.cts +56 -0
- package/dist/icons/align-right.d.ts +56 -0
- package/dist/icons/align-right.js +21 -0
- package/dist/icons/align-top.cjs +45 -0
- package/dist/icons/align-top.d.cts +56 -0
- package/dist/icons/align-top.d.ts +56 -0
- package/dist/icons/align-top.js +21 -0
- package/dist/icons/angle.cjs +45 -0
- package/dist/icons/angle.d.cts +56 -0
- package/dist/icons/angle.d.ts +56 -0
- package/dist/icons/angle.js +21 -0
- package/dist/icons/app-window.cjs +45 -0
- package/dist/icons/app-window.d.cts +56 -0
- package/dist/icons/app-window.d.ts +56 -0
- package/dist/icons/app-window.js +21 -0
- package/dist/icons/archive-x.cjs +45 -0
- package/dist/icons/archive-x.d.cts +56 -0
- package/dist/icons/archive-x.d.ts +56 -0
- package/dist/icons/archive-x.js +21 -0
- package/dist/icons/archive.cjs +45 -0
- package/dist/icons/archive.d.cts +56 -0
- package/dist/icons/archive.d.ts +56 -0
- package/dist/icons/archive.js +21 -0
- package/dist/icons/arrow-circle-down-left.cjs +45 -0
- package/dist/icons/arrow-circle-down-left.d.cts +56 -0
- package/dist/icons/arrow-circle-down-left.d.ts +56 -0
- package/dist/icons/arrow-circle-down-left.js +21 -0
- package/dist/icons/arrow-circle-down-right.cjs +45 -0
- package/dist/icons/arrow-circle-down-right.d.cts +56 -0
- package/dist/icons/arrow-circle-down-right.d.ts +56 -0
- package/dist/icons/arrow-circle-down-right.js +21 -0
- package/dist/icons/arrow-circle-down.cjs +45 -0
- package/dist/icons/arrow-circle-down.d.cts +56 -0
- package/dist/icons/arrow-circle-down.d.ts +56 -0
- package/dist/icons/arrow-circle-down.js +21 -0
- package/dist/icons/arrow-circle-left.cjs +45 -0
- package/dist/icons/arrow-circle-left.d.cts +56 -0
- package/dist/icons/arrow-circle-left.d.ts +56 -0
- package/dist/icons/arrow-circle-left.js +21 -0
- package/dist/icons/arrow-circle-right.cjs +45 -0
- package/dist/icons/arrow-circle-right.d.cts +56 -0
- package/dist/icons/arrow-circle-right.d.ts +56 -0
- package/dist/icons/arrow-circle-right.js +21 -0
- package/dist/icons/arrow-circle-up-left.cjs +45 -0
- package/dist/icons/arrow-circle-up-left.d.cts +56 -0
- package/dist/icons/arrow-circle-up-left.d.ts +56 -0
- package/dist/icons/arrow-circle-up-left.js +21 -0
- package/dist/icons/arrow-circle-up-right.cjs +45 -0
- package/dist/icons/arrow-circle-up-right.d.cts +56 -0
- package/dist/icons/arrow-circle-up-right.d.ts +56 -0
- package/dist/icons/arrow-circle-up-right.js +21 -0
- package/dist/icons/arrow-circle-up.cjs +45 -0
- package/dist/icons/arrow-circle-up.d.cts +56 -0
- package/dist/icons/arrow-circle-up.d.ts +56 -0
- package/dist/icons/arrow-circle-up.js +21 -0
- package/dist/icons/arrow-down-left.cjs +45 -0
- package/dist/icons/arrow-down-left.d.cts +56 -0
- package/dist/icons/arrow-down-left.d.ts +56 -0
- package/dist/icons/arrow-down-left.js +21 -0
- package/dist/icons/arrow-down-right.cjs +45 -0
- package/dist/icons/arrow-down-right.d.cts +56 -0
- package/dist/icons/arrow-down-right.d.ts +56 -0
- package/dist/icons/arrow-down-right.js +21 -0
- package/dist/icons/arrow-down.cjs +45 -0
- package/dist/icons/arrow-down.d.cts +56 -0
- package/dist/icons/arrow-down.d.ts +56 -0
- package/dist/icons/arrow-down.js +21 -0
- package/dist/icons/arrow-left.cjs +45 -0
- package/dist/icons/arrow-left.d.cts +56 -0
- package/dist/icons/arrow-left.d.ts +56 -0
- package/dist/icons/arrow-left.js +21 -0
- package/dist/icons/arrow-reload.cjs +45 -0
- package/dist/icons/arrow-reload.d.cts +56 -0
- package/dist/icons/arrow-reload.d.ts +56 -0
- package/dist/icons/arrow-reload.js +21 -0
- package/dist/icons/arrow-reset.cjs +45 -0
- package/dist/icons/arrow-reset.d.cts +56 -0
- package/dist/icons/arrow-reset.d.ts +56 -0
- package/dist/icons/arrow-reset.js +21 -0
- package/dist/icons/arrow-right.cjs +45 -0
- package/dist/icons/arrow-right.d.cts +56 -0
- package/dist/icons/arrow-right.d.ts +56 -0
- package/dist/icons/arrow-right.js +21 -0
- package/dist/icons/arrow-square-down-left.cjs +45 -0
- package/dist/icons/arrow-square-down-left.d.cts +56 -0
- package/dist/icons/arrow-square-down-left.d.ts +56 -0
- package/dist/icons/arrow-square-down-left.js +21 -0
- package/dist/icons/arrow-square-down-right.cjs +45 -0
- package/dist/icons/arrow-square-down-right.d.cts +56 -0
- package/dist/icons/arrow-square-down-right.d.ts +56 -0
- package/dist/icons/arrow-square-down-right.js +21 -0
- package/dist/icons/arrow-square-down.cjs +45 -0
- package/dist/icons/arrow-square-down.d.cts +56 -0
- package/dist/icons/arrow-square-down.d.ts +56 -0
- package/dist/icons/arrow-square-down.js +21 -0
- package/dist/icons/arrow-square-left.cjs +45 -0
- package/dist/icons/arrow-square-left.d.cts +56 -0
- package/dist/icons/arrow-square-left.d.ts +56 -0
- package/dist/icons/arrow-square-left.js +21 -0
- package/dist/icons/arrow-square-right.cjs +45 -0
- package/dist/icons/arrow-square-right.d.cts +56 -0
- package/dist/icons/arrow-square-right.d.ts +56 -0
- package/dist/icons/arrow-square-right.js +21 -0
- package/dist/icons/arrow-square-up-left.cjs +45 -0
- package/dist/icons/arrow-square-up-left.d.cts +56 -0
- package/dist/icons/arrow-square-up-left.d.ts +56 -0
- package/dist/icons/arrow-square-up-left.js +21 -0
- package/dist/icons/arrow-square-up-right.cjs +45 -0
- package/dist/icons/arrow-square-up-right.d.cts +56 -0
- package/dist/icons/arrow-square-up-right.d.ts +56 -0
- package/dist/icons/arrow-square-up-right.js +21 -0
- package/dist/icons/arrow-square-up.cjs +45 -0
- package/dist/icons/arrow-square-up.d.cts +56 -0
- package/dist/icons/arrow-square-up.d.ts +56 -0
- package/dist/icons/arrow-square-up.js +21 -0
- package/dist/icons/arrow-up-left.cjs +45 -0
- package/dist/icons/arrow-up-left.d.cts +56 -0
- package/dist/icons/arrow-up-left.d.ts +56 -0
- package/dist/icons/arrow-up-left.js +21 -0
- package/dist/icons/arrow-up-right.cjs +45 -0
- package/dist/icons/arrow-up-right.d.cts +56 -0
- package/dist/icons/arrow-up-right.d.ts +56 -0
- package/dist/icons/arrow-up-right.js +21 -0
- package/dist/icons/arrow-up.cjs +45 -0
- package/dist/icons/arrow-up.d.cts +56 -0
- package/dist/icons/arrow-up.d.ts +56 -0
- package/dist/icons/arrow-up.js +21 -0
- package/dist/icons/calendar-blank.cjs +45 -0
- package/dist/icons/calendar-blank.d.cts +56 -0
- package/dist/icons/calendar-blank.d.ts +56 -0
- package/dist/icons/calendar-blank.js +21 -0
- package/dist/icons/calendar-check.cjs +45 -0
- package/dist/icons/calendar-check.d.cts +56 -0
- package/dist/icons/calendar-check.d.ts +56 -0
- package/dist/icons/calendar-check.js +21 -0
- package/dist/icons/calendar-minus.cjs +45 -0
- package/dist/icons/calendar-minus.d.cts +56 -0
- package/dist/icons/calendar-minus.d.ts +56 -0
- package/dist/icons/calendar-minus.js +21 -0
- package/dist/icons/calendar-plus.cjs +45 -0
- package/dist/icons/calendar-plus.d.cts +56 -0
- package/dist/icons/calendar-plus.d.ts +56 -0
- package/dist/icons/calendar-plus.js +21 -0
- package/dist/icons/calendar-x.cjs +45 -0
- package/dist/icons/calendar-x.d.cts +56 -0
- package/dist/icons/calendar-x.d.ts +56 -0
- package/dist/icons/calendar-x.js +21 -0
- package/dist/icons/calendar.cjs +45 -0
- package/dist/icons/calendar.d.cts +56 -0
- package/dist/icons/calendar.d.ts +56 -0
- package/dist/icons/calendar.js +21 -0
- package/dist/icons/chevron-circle-down.cjs +45 -0
- package/dist/icons/chevron-circle-down.d.cts +56 -0
- package/dist/icons/chevron-circle-down.d.ts +56 -0
- package/dist/icons/chevron-circle-down.js +21 -0
- package/dist/icons/chevron-circle-left.cjs +45 -0
- package/dist/icons/chevron-circle-left.d.cts +56 -0
- package/dist/icons/chevron-circle-left.d.ts +56 -0
- package/dist/icons/chevron-circle-left.js +21 -0
- package/dist/icons/chevron-circle-right.cjs +45 -0
- package/dist/icons/chevron-circle-right.d.cts +56 -0
- package/dist/icons/chevron-circle-right.d.ts +56 -0
- package/dist/icons/chevron-circle-right.js +21 -0
- package/dist/icons/chevron-circle-up.cjs +45 -0
- package/dist/icons/chevron-circle-up.d.cts +56 -0
- package/dist/icons/chevron-circle-up.d.ts +56 -0
- package/dist/icons/chevron-circle-up.js +21 -0
- package/dist/icons/chevron-down.cjs +45 -0
- package/dist/icons/chevron-down.d.cts +56 -0
- package/dist/icons/chevron-down.d.ts +56 -0
- package/dist/icons/chevron-down.js +21 -0
- package/dist/icons/chevron-left.cjs +45 -0
- package/dist/icons/chevron-left.d.cts +56 -0
- package/dist/icons/chevron-left.d.ts +56 -0
- package/dist/icons/chevron-left.js +21 -0
- package/dist/icons/chevron-right.cjs +45 -0
- package/dist/icons/chevron-right.d.cts +56 -0
- package/dist/icons/chevron-right.d.ts +56 -0
- package/dist/icons/chevron-right.js +21 -0
- package/dist/icons/chevron-up.cjs +45 -0
- package/dist/icons/chevron-up.d.cts +56 -0
- package/dist/icons/chevron-up.d.ts +56 -0
- package/dist/icons/chevron-up.js +21 -0
- package/dist/icons/circle-dashed.cjs +45 -0
- package/dist/icons/circle-dashed.d.cts +56 -0
- package/dist/icons/circle-dashed.d.ts +56 -0
- package/dist/icons/circle-dashed.js +21 -0
- package/dist/icons/circle.cjs +45 -0
- package/dist/icons/circle.d.cts +56 -0
- package/dist/icons/circle.d.ts +56 -0
- package/dist/icons/circle.js +21 -0
- package/dist/icons/clock-am.cjs +45 -0
- package/dist/icons/clock-am.d.cts +56 -0
- package/dist/icons/clock-am.d.ts +56 -0
- package/dist/icons/clock-am.js +21 -0
- package/dist/icons/clock-ccw.cjs +45 -0
- package/dist/icons/clock-ccw.d.cts +56 -0
- package/dist/icons/clock-ccw.d.ts +56 -0
- package/dist/icons/clock-ccw.js +21 -0
- package/dist/icons/clock-cw.cjs +45 -0
- package/dist/icons/clock-cw.d.cts +56 -0
- package/dist/icons/clock-cw.d.ts +56 -0
- package/dist/icons/clock-cw.js +21 -0
- package/dist/icons/clock-minus.cjs +45 -0
- package/dist/icons/clock-minus.d.cts +56 -0
- package/dist/icons/clock-minus.d.ts +56 -0
- package/dist/icons/clock-minus.js +21 -0
- package/dist/icons/clock-plus.cjs +45 -0
- package/dist/icons/clock-plus.d.cts +56 -0
- package/dist/icons/clock-plus.d.ts +56 -0
- package/dist/icons/clock-plus.js +21 -0
- package/dist/icons/clock-pm.cjs +45 -0
- package/dist/icons/clock-pm.d.cts +56 -0
- package/dist/icons/clock-pm.d.ts +56 -0
- package/dist/icons/clock-pm.js +21 -0
- package/dist/icons/clock-z.cjs +45 -0
- package/dist/icons/clock-z.d.cts +56 -0
- package/dist/icons/clock-z.d.ts +56 -0
- package/dist/icons/clock-z.js +21 -0
- package/dist/icons/clock.cjs +45 -0
- package/dist/icons/clock.d.cts +56 -0
- package/dist/icons/clock.d.ts +56 -0
- package/dist/icons/clock.js +21 -0
- package/dist/icons/ellipsis-horizontal.cjs +45 -0
- package/dist/icons/ellipsis-horizontal.d.cts +56 -0
- package/dist/icons/ellipsis-horizontal.d.ts +56 -0
- package/dist/icons/ellipsis-horizontal.js +21 -0
- package/dist/icons/ellipsis-vertical.cjs +45 -0
- package/dist/icons/ellipsis-vertical.d.cts +56 -0
- package/dist/icons/ellipsis-vertical.d.ts +56 -0
- package/dist/icons/ellipsis-vertical.js +21 -0
- package/dist/icons/envelope-open.cjs +45 -0
- package/dist/icons/envelope-open.d.cts +56 -0
- package/dist/icons/envelope-open.d.ts +56 -0
- package/dist/icons/envelope-open.js +21 -0
- package/dist/icons/envelope.cjs +45 -0
- package/dist/icons/envelope.d.cts +56 -0
- package/dist/icons/envelope.d.ts +56 -0
- package/dist/icons/envelope.js +21 -0
- package/dist/icons/file-arrow-down.cjs +45 -0
- package/dist/icons/file-arrow-down.d.cts +56 -0
- package/dist/icons/file-arrow-down.d.ts +56 -0
- package/dist/icons/file-arrow-down.js +21 -0
- package/dist/icons/file-arrow-up.cjs +45 -0
- package/dist/icons/file-arrow-up.d.cts +56 -0
- package/dist/icons/file-arrow-up.d.ts +56 -0
- package/dist/icons/file-arrow-up.js +21 -0
- package/dist/icons/file-minus.cjs +45 -0
- package/dist/icons/file-minus.d.cts +56 -0
- package/dist/icons/file-minus.d.ts +56 -0
- package/dist/icons/file-minus.js +21 -0
- package/dist/icons/file-plus.cjs +45 -0
- package/dist/icons/file-plus.d.cts +56 -0
- package/dist/icons/file-plus.d.ts +56 -0
- package/dist/icons/file-plus.js +21 -0
- package/dist/icons/file-text.cjs +45 -0
- package/dist/icons/file-text.d.cts +56 -0
- package/dist/icons/file-text.d.ts +56 -0
- package/dist/icons/file-text.js +21 -0
- package/dist/icons/file-x.cjs +45 -0
- package/dist/icons/file-x.d.cts +56 -0
- package/dist/icons/file-x.d.ts +56 -0
- package/dist/icons/file-x.js +21 -0
- package/dist/icons/file.cjs +45 -0
- package/dist/icons/file.d.cts +56 -0
- package/dist/icons/file.d.ts +56 -0
- package/dist/icons/file.js +21 -0
- package/dist/icons/filter.cjs +45 -0
- package/dist/icons/filter.d.cts +56 -0
- package/dist/icons/filter.d.ts +56 -0
- package/dist/icons/filter.js +21 -0
- package/dist/icons/gear.cjs +45 -0
- package/dist/icons/gear.d.cts +56 -0
- package/dist/icons/gear.d.ts +56 -0
- package/dist/icons/gear.js +21 -0
- package/dist/icons/house.cjs +45 -0
- package/dist/icons/house.d.cts +56 -0
- package/dist/icons/house.d.ts +56 -0
- package/dist/icons/house.js +21 -0
- package/dist/icons/inbox-arrow-down.cjs +45 -0
- package/dist/icons/inbox-arrow-down.d.cts +56 -0
- package/dist/icons/inbox-arrow-down.d.ts +56 -0
- package/dist/icons/inbox-arrow-down.js +21 -0
- package/dist/icons/inbox-arrow-up.cjs +45 -0
- package/dist/icons/inbox-arrow-up.d.cts +56 -0
- package/dist/icons/inbox-arrow-up.d.ts +56 -0
- package/dist/icons/inbox-arrow-up.js +21 -0
- package/dist/icons/inbox.cjs +45 -0
- package/dist/icons/inbox.d.cts +56 -0
- package/dist/icons/inbox.d.ts +56 -0
- package/dist/icons/inbox.js +21 -0
- package/dist/icons/list.cjs +45 -0
- package/dist/icons/list.d.cts +56 -0
- package/dist/icons/list.d.ts +56 -0
- package/dist/icons/list.js +21 -0
- package/dist/icons/menu.cjs +45 -0
- package/dist/icons/menu.d.cts +56 -0
- package/dist/icons/menu.d.ts +56 -0
- package/dist/icons/menu.js +21 -0
- package/dist/icons/minus-circle.cjs +45 -0
- package/dist/icons/minus-circle.d.cts +56 -0
- package/dist/icons/minus-circle.d.ts +56 -0
- package/dist/icons/minus-circle.js +21 -0
- package/dist/icons/minus-square.cjs +45 -0
- package/dist/icons/minus-square.d.cts +56 -0
- package/dist/icons/minus-square.d.ts +56 -0
- package/dist/icons/minus-square.js +21 -0
- package/dist/icons/minus.cjs +45 -0
- package/dist/icons/minus.d.cts +56 -0
- package/dist/icons/minus.d.ts +56 -0
- package/dist/icons/minus.js +21 -0
- package/dist/icons/moon.cjs +45 -0
- package/dist/icons/moon.d.cts +56 -0
- package/dist/icons/moon.d.ts +56 -0
- package/dist/icons/moon.js +21 -0
- package/dist/icons/plus-circle.cjs +45 -0
- package/dist/icons/plus-circle.d.cts +56 -0
- package/dist/icons/plus-circle.d.ts +56 -0
- package/dist/icons/plus-circle.js +21 -0
- package/dist/icons/plus-square.cjs +45 -0
- package/dist/icons/plus-square.d.cts +56 -0
- package/dist/icons/plus-square.d.ts +56 -0
- package/dist/icons/plus-square.js +21 -0
- package/dist/icons/plus.cjs +45 -0
- package/dist/icons/plus.d.cts +56 -0
- package/dist/icons/plus.d.ts +56 -0
- package/dist/icons/plus.js +21 -0
- package/dist/icons/search.cjs +45 -0
- package/dist/icons/search.d.cts +56 -0
- package/dist/icons/search.d.ts +56 -0
- package/dist/icons/search.js +21 -0
- package/dist/icons/server-stack.cjs +45 -0
- package/dist/icons/server-stack.d.cts +56 -0
- package/dist/icons/server-stack.d.ts +56 -0
- package/dist/icons/server-stack.js +21 -0
- package/dist/icons/server.cjs +45 -0
- package/dist/icons/server.d.cts +56 -0
- package/dist/icons/server.d.ts +56 -0
- package/dist/icons/server.js +21 -0
- package/dist/icons/square-dashed.cjs +45 -0
- package/dist/icons/square-dashed.d.cts +56 -0
- package/dist/icons/square-dashed.d.ts +56 -0
- package/dist/icons/square-dashed.js +21 -0
- package/dist/icons/square.cjs +45 -0
- package/dist/icons/square.d.cts +56 -0
- package/dist/icons/square.d.ts +56 -0
- package/dist/icons/square.js +21 -0
- package/dist/icons/sun-dim.cjs +45 -0
- package/dist/icons/sun-dim.d.cts +56 -0
- package/dist/icons/sun-dim.d.ts +56 -0
- package/dist/icons/sun-dim.js +21 -0
- package/dist/icons/sun-horizon.cjs +45 -0
- package/dist/icons/sun-horizon.d.cts +56 -0
- package/dist/icons/sun-horizon.d.ts +56 -0
- package/dist/icons/sun-horizon.js +21 -0
- package/dist/icons/sun-moon.cjs +45 -0
- package/dist/icons/sun-moon.d.cts +56 -0
- package/dist/icons/sun-moon.d.ts +56 -0
- package/dist/icons/sun-moon.js +21 -0
- package/dist/icons/sun.cjs +45 -0
- package/dist/icons/sun.d.cts +56 -0
- package/dist/icons/sun.d.ts +56 -0
- package/dist/icons/sun.js +21 -0
- package/dist/icons/sunrise.cjs +45 -0
- package/dist/icons/sunrise.d.cts +56 -0
- package/dist/icons/sunrise.d.ts +56 -0
- package/dist/icons/sunrise.js +21 -0
- package/dist/icons/sunset.cjs +45 -0
- package/dist/icons/sunset.d.cts +56 -0
- package/dist/icons/sunset.d.ts +56 -0
- package/dist/icons/sunset.js +21 -0
- package/dist/icons/table.cjs +45 -0
- package/dist/icons/table.d.cts +56 -0
- package/dist/icons/table.d.ts +56 -0
- package/dist/icons/table.js +21 -0
- package/dist/icons/target.cjs +45 -0
- package/dist/icons/target.d.cts +56 -0
- package/dist/icons/target.d.ts +56 -0
- package/dist/icons/target.js +21 -0
- package/dist/icons/text-align-center.cjs +45 -0
- package/dist/icons/text-align-center.d.cts +56 -0
- package/dist/icons/text-align-center.d.ts +56 -0
- package/dist/icons/text-align-center.js +21 -0
- package/dist/icons/text-align-justify.cjs +45 -0
- package/dist/icons/text-align-justify.d.cts +56 -0
- package/dist/icons/text-align-justify.d.ts +56 -0
- package/dist/icons/text-align-justify.js +21 -0
- package/dist/icons/text-align-left.cjs +45 -0
- package/dist/icons/text-align-left.d.cts +56 -0
- package/dist/icons/text-align-left.d.ts +56 -0
- package/dist/icons/text-align-left.js +21 -0
- package/dist/icons/text-align-right.cjs +45 -0
- package/dist/icons/text-align-right.d.cts +56 -0
- package/dist/icons/text-align-right.d.ts +56 -0
- package/dist/icons/text-align-right.js +21 -0
- package/dist/icons/text-initial.cjs +45 -0
- package/dist/icons/text-initial.d.cts +56 -0
- package/dist/icons/text-initial.d.ts +56 -0
- package/dist/icons/text-initial.js +21 -0
- package/dist/icons/text-select.cjs +45 -0
- package/dist/icons/text-select.d.cts +56 -0
- package/dist/icons/text-select.d.ts +56 -0
- package/dist/icons/text-select.js +21 -0
- package/dist/icons/text.cjs +45 -0
- package/dist/icons/text.d.cts +56 -0
- package/dist/icons/text.d.ts +56 -0
- package/dist/icons/text.js +21 -0
- package/dist/icons/trash.cjs +45 -0
- package/dist/icons/trash.d.cts +56 -0
- package/dist/icons/trash.d.ts +56 -0
- package/dist/icons/trash.js +21 -0
- package/dist/icons/triangle-dashed.cjs +45 -0
- package/dist/icons/triangle-dashed.d.cts +56 -0
- package/dist/icons/triangle-dashed.d.ts +56 -0
- package/dist/icons/triangle-dashed.js +21 -0
- package/dist/icons/triangle.cjs +45 -0
- package/dist/icons/triangle.d.cts +56 -0
- package/dist/icons/triangle.d.ts +56 -0
- package/dist/icons/triangle.js +21 -0
- package/dist/icons/ui-ux.cjs +45 -0
- package/dist/icons/ui-ux.d.cts +56 -0
- package/dist/icons/ui-ux.d.ts +56 -0
- package/dist/icons/ui-ux.js +21 -0
- package/dist/icons/x-circle.cjs +45 -0
- package/dist/icons/x-circle.d.cts +56 -0
- package/dist/icons/x-circle.d.ts +56 -0
- package/dist/icons/x-circle.js +21 -0
- package/dist/icons/x-square.cjs +45 -0
- package/dist/icons/x-square.d.cts +56 -0
- package/dist/icons/x-square.d.ts +56 -0
- package/dist/icons/x-square.js +21 -0
- package/dist/icons/x.cjs +45 -0
- package/dist/icons/x.d.cts +56 -0
- package/dist/icons/x.d.ts +56 -0
- package/dist/icons/x.js +21 -0
- package/dist/index.cjs +228 -2350
- package/dist/index.d.cts +116 -5939
- package/dist/index.d.ts +116 -5939
- package/dist/index.js +114 -2233
- package/dist/types.cjs +28 -0
- package/dist/types.d.cts +25 -0
- package/dist/types.d.ts +25 -0
- package/dist/types.js +4 -0
- package/package.json +11 -1
package/README.md
CHANGED
|
@@ -65,7 +65,17 @@ Icons are decorative by default (`aria-hidden="true"`). Add `aria-label` or `tit
|
|
|
65
65
|
|
|
66
66
|
## Tree-shaking
|
|
67
67
|
|
|
68
|
-
The package is marked `sideEffects: false`
|
|
68
|
+
The package is marked `sideEffects: false` and ships one module per icon, so your bundler keeps only the icons you actually import:
|
|
69
|
+
|
|
70
|
+
```vue
|
|
71
|
+
<script setup>
|
|
72
|
+
// Standard (tree-shakeable)
|
|
73
|
+
import { IconGear } from "@uiuxicons/vue";
|
|
74
|
+
|
|
75
|
+
// Optional: import a single icon module directly
|
|
76
|
+
import { IconGear } from "@uiuxicons/vue/icons/gear";
|
|
77
|
+
</script>
|
|
78
|
+
```
|
|
69
79
|
|
|
70
80
|
## License
|
|
71
81
|
|
package/dist/Icon.cjs
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var Icon_exports = {};
|
|
20
|
+
__export(Icon_exports, {
|
|
21
|
+
Icon: () => Icon
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(Icon_exports);
|
|
24
|
+
var import_vue = require("vue");
|
|
25
|
+
var import_types = require("./types");
|
|
26
|
+
function escapeHtml(str) {
|
|
27
|
+
return str.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
28
|
+
}
|
|
29
|
+
const Icon = (0, import_vue.defineComponent)({
|
|
30
|
+
name: "Icon",
|
|
31
|
+
props: {
|
|
32
|
+
variants: { type: Object, required: true },
|
|
33
|
+
variant: { type: String, default: void 0 },
|
|
34
|
+
weight: { type: String, default: void 0 },
|
|
35
|
+
size: { type: [Number, String], default: void 0 },
|
|
36
|
+
color: { type: String, default: void 0 },
|
|
37
|
+
title: { type: String, default: void 0 }
|
|
38
|
+
},
|
|
39
|
+
setup(props, { attrs }) {
|
|
40
|
+
const defaults = (0, import_vue.inject)(import_types.ICON_DEFAULTS_KEY, {});
|
|
41
|
+
return () => {
|
|
42
|
+
const variant = props.variant ?? defaults.variant ?? "line";
|
|
43
|
+
const weight = props.weight ?? defaults.weight ?? "regular";
|
|
44
|
+
const size = props.size ?? defaults.size ?? 24;
|
|
45
|
+
const color = props.color ?? defaults.color;
|
|
46
|
+
const content = props.variants[variant][weight];
|
|
47
|
+
const hasLabel = !!(props.title || attrs["aria-label"] || attrs["aria-labelledby"] || attrs["aria-describedby"]);
|
|
48
|
+
const a11yAttrs = hasLabel ? { role: "img" } : { "aria-hidden": "true", focusable: "false" };
|
|
49
|
+
const style = color ? { color } : void 0;
|
|
50
|
+
return (0, import_vue.h)("svg", {
|
|
51
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
52
|
+
viewBox: "0 0 24 24",
|
|
53
|
+
width: size,
|
|
54
|
+
height: size,
|
|
55
|
+
style,
|
|
56
|
+
...a11yAttrs,
|
|
57
|
+
...attrs,
|
|
58
|
+
innerHTML: (props.title ? `<title>${escapeHtml(props.title)}</title>` : "") + content
|
|
59
|
+
});
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
64
|
+
0 && (module.exports = {
|
|
65
|
+
Icon
|
|
66
|
+
});
|
package/dist/Icon.d.cts
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { VariantMap, IconVariant, IconWeight } from './types.cjs';
|
|
4
|
+
|
|
5
|
+
declare const Icon: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
6
|
+
variants: {
|
|
7
|
+
type: PropType<VariantMap>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
variant: {
|
|
11
|
+
type: PropType<IconVariant>;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
weight: {
|
|
15
|
+
type: PropType<IconWeight>;
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
18
|
+
size: {
|
|
19
|
+
type: PropType<number | string>;
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
22
|
+
color: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: undefined;
|
|
25
|
+
};
|
|
26
|
+
title: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: undefined;
|
|
29
|
+
};
|
|
30
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
33
|
+
variants: {
|
|
34
|
+
type: PropType<VariantMap>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
variant: {
|
|
38
|
+
type: PropType<IconVariant>;
|
|
39
|
+
default: undefined;
|
|
40
|
+
};
|
|
41
|
+
weight: {
|
|
42
|
+
type: PropType<IconWeight>;
|
|
43
|
+
default: undefined;
|
|
44
|
+
};
|
|
45
|
+
size: {
|
|
46
|
+
type: PropType<number | string>;
|
|
47
|
+
default: undefined;
|
|
48
|
+
};
|
|
49
|
+
color: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: undefined;
|
|
52
|
+
};
|
|
53
|
+
title: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
}>> & Readonly<{}>, {
|
|
58
|
+
variant: IconVariant;
|
|
59
|
+
weight: IconWeight;
|
|
60
|
+
size: string | number;
|
|
61
|
+
color: string;
|
|
62
|
+
title: string;
|
|
63
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
64
|
+
|
|
65
|
+
export { Icon };
|
package/dist/Icon.d.ts
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { VariantMap, IconVariant, IconWeight } from './types.js';
|
|
4
|
+
|
|
5
|
+
declare const Icon: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
6
|
+
variants: {
|
|
7
|
+
type: PropType<VariantMap>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
variant: {
|
|
11
|
+
type: PropType<IconVariant>;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
weight: {
|
|
15
|
+
type: PropType<IconWeight>;
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
18
|
+
size: {
|
|
19
|
+
type: PropType<number | string>;
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
22
|
+
color: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: undefined;
|
|
25
|
+
};
|
|
26
|
+
title: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: undefined;
|
|
29
|
+
};
|
|
30
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
33
|
+
variants: {
|
|
34
|
+
type: PropType<VariantMap>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
variant: {
|
|
38
|
+
type: PropType<IconVariant>;
|
|
39
|
+
default: undefined;
|
|
40
|
+
};
|
|
41
|
+
weight: {
|
|
42
|
+
type: PropType<IconWeight>;
|
|
43
|
+
default: undefined;
|
|
44
|
+
};
|
|
45
|
+
size: {
|
|
46
|
+
type: PropType<number | string>;
|
|
47
|
+
default: undefined;
|
|
48
|
+
};
|
|
49
|
+
color: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: undefined;
|
|
52
|
+
};
|
|
53
|
+
title: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
}>> & Readonly<{}>, {
|
|
58
|
+
variant: IconVariant;
|
|
59
|
+
weight: IconWeight;
|
|
60
|
+
size: string | number;
|
|
61
|
+
color: string;
|
|
62
|
+
title: string;
|
|
63
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
64
|
+
|
|
65
|
+
export { Icon };
|
package/dist/Icon.js
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { defineComponent, h, inject } from "vue";
|
|
2
|
+
import { ICON_DEFAULTS_KEY } from "./types";
|
|
3
|
+
function escapeHtml(str) {
|
|
4
|
+
return str.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
5
|
+
}
|
|
6
|
+
const Icon = defineComponent({
|
|
7
|
+
name: "Icon",
|
|
8
|
+
props: {
|
|
9
|
+
variants: { type: Object, required: true },
|
|
10
|
+
variant: { type: String, default: void 0 },
|
|
11
|
+
weight: { type: String, default: void 0 },
|
|
12
|
+
size: { type: [Number, String], default: void 0 },
|
|
13
|
+
color: { type: String, default: void 0 },
|
|
14
|
+
title: { type: String, default: void 0 }
|
|
15
|
+
},
|
|
16
|
+
setup(props, { attrs }) {
|
|
17
|
+
const defaults = inject(ICON_DEFAULTS_KEY, {});
|
|
18
|
+
return () => {
|
|
19
|
+
const variant = props.variant ?? defaults.variant ?? "line";
|
|
20
|
+
const weight = props.weight ?? defaults.weight ?? "regular";
|
|
21
|
+
const size = props.size ?? defaults.size ?? 24;
|
|
22
|
+
const color = props.color ?? defaults.color;
|
|
23
|
+
const content = props.variants[variant][weight];
|
|
24
|
+
const hasLabel = !!(props.title || attrs["aria-label"] || attrs["aria-labelledby"] || attrs["aria-describedby"]);
|
|
25
|
+
const a11yAttrs = hasLabel ? { role: "img" } : { "aria-hidden": "true", focusable: "false" };
|
|
26
|
+
const style = color ? { color } : void 0;
|
|
27
|
+
return h("svg", {
|
|
28
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29
|
+
viewBox: "0 0 24 24",
|
|
30
|
+
width: size,
|
|
31
|
+
height: size,
|
|
32
|
+
style,
|
|
33
|
+
...a11yAttrs,
|
|
34
|
+
...attrs,
|
|
35
|
+
innerHTML: (props.title ? `<title>${escapeHtml(props.title)}</title>` : "") + content
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
export {
|
|
41
|
+
Icon
|
|
42
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var IconProvider_exports = {};
|
|
20
|
+
__export(IconProvider_exports, {
|
|
21
|
+
IconProvider: () => IconProvider
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(IconProvider_exports);
|
|
24
|
+
var import_vue = require("vue");
|
|
25
|
+
var import_types = require("./types");
|
|
26
|
+
const IconProvider = (0, import_vue.defineComponent)({
|
|
27
|
+
name: "IconProvider",
|
|
28
|
+
props: {
|
|
29
|
+
variant: { type: String, default: void 0 },
|
|
30
|
+
weight: { type: String, default: void 0 },
|
|
31
|
+
size: { type: [Number, String], default: void 0 },
|
|
32
|
+
color: { type: String, default: void 0 }
|
|
33
|
+
},
|
|
34
|
+
setup(props, { slots }) {
|
|
35
|
+
const parent = (0, import_vue.inject)(import_types.ICON_DEFAULTS_KEY, {});
|
|
36
|
+
(0, import_vue.provide)(import_types.ICON_DEFAULTS_KEY, {
|
|
37
|
+
variant: props.variant ?? parent.variant,
|
|
38
|
+
weight: props.weight ?? parent.weight,
|
|
39
|
+
size: props.size ?? parent.size,
|
|
40
|
+
color: props.color ?? parent.color
|
|
41
|
+
});
|
|
42
|
+
return () => slots.default?.();
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
46
|
+
0 && (module.exports = {
|
|
47
|
+
IconProvider
|
|
48
|
+
});
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { IconVariant, IconWeight } from './types.cjs';
|
|
4
|
+
|
|
5
|
+
declare const IconProvider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
6
|
+
variant: {
|
|
7
|
+
type: PropType<IconVariant>;
|
|
8
|
+
default: undefined;
|
|
9
|
+
};
|
|
10
|
+
weight: {
|
|
11
|
+
type: PropType<IconWeight>;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
size: {
|
|
15
|
+
type: PropType<number | string>;
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
18
|
+
color: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
22
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}>[] | undefined, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
25
|
+
variant: {
|
|
26
|
+
type: PropType<IconVariant>;
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
|
+
weight: {
|
|
30
|
+
type: PropType<IconWeight>;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
size: {
|
|
34
|
+
type: PropType<number | string>;
|
|
35
|
+
default: undefined;
|
|
36
|
+
};
|
|
37
|
+
color: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: undefined;
|
|
40
|
+
};
|
|
41
|
+
}>> & Readonly<{}>, {
|
|
42
|
+
variant: IconVariant;
|
|
43
|
+
weight: IconWeight;
|
|
44
|
+
size: string | number;
|
|
45
|
+
color: string;
|
|
46
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
47
|
+
|
|
48
|
+
export { IconProvider };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { IconVariant, IconWeight } from './types.js';
|
|
4
|
+
|
|
5
|
+
declare const IconProvider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
6
|
+
variant: {
|
|
7
|
+
type: PropType<IconVariant>;
|
|
8
|
+
default: undefined;
|
|
9
|
+
};
|
|
10
|
+
weight: {
|
|
11
|
+
type: PropType<IconWeight>;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
size: {
|
|
15
|
+
type: PropType<number | string>;
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
18
|
+
color: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
22
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}>[] | undefined, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
25
|
+
variant: {
|
|
26
|
+
type: PropType<IconVariant>;
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
|
+
weight: {
|
|
30
|
+
type: PropType<IconWeight>;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
size: {
|
|
34
|
+
type: PropType<number | string>;
|
|
35
|
+
default: undefined;
|
|
36
|
+
};
|
|
37
|
+
color: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: undefined;
|
|
40
|
+
};
|
|
41
|
+
}>> & Readonly<{}>, {
|
|
42
|
+
variant: IconVariant;
|
|
43
|
+
weight: IconWeight;
|
|
44
|
+
size: string | number;
|
|
45
|
+
color: string;
|
|
46
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
47
|
+
|
|
48
|
+
export { IconProvider };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineComponent, inject, provide } from "vue";
|
|
2
|
+
import { ICON_DEFAULTS_KEY } from "./types";
|
|
3
|
+
const IconProvider = defineComponent({
|
|
4
|
+
name: "IconProvider",
|
|
5
|
+
props: {
|
|
6
|
+
variant: { type: String, default: void 0 },
|
|
7
|
+
weight: { type: String, default: void 0 },
|
|
8
|
+
size: { type: [Number, String], default: void 0 },
|
|
9
|
+
color: { type: String, default: void 0 }
|
|
10
|
+
},
|
|
11
|
+
setup(props, { slots }) {
|
|
12
|
+
const parent = inject(ICON_DEFAULTS_KEY, {});
|
|
13
|
+
provide(ICON_DEFAULTS_KEY, {
|
|
14
|
+
variant: props.variant ?? parent.variant,
|
|
15
|
+
weight: props.weight ?? parent.weight,
|
|
16
|
+
size: props.size ?? parent.size,
|
|
17
|
+
color: props.color ?? parent.color
|
|
18
|
+
});
|
|
19
|
+
return () => slots.default?.();
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
export {
|
|
23
|
+
IconProvider
|
|
24
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var createIcon_exports = {};
|
|
20
|
+
__export(createIcon_exports, {
|
|
21
|
+
createIcon: () => createIcon
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(createIcon_exports);
|
|
24
|
+
var import_vue = require("vue");
|
|
25
|
+
var import_Icon = require("./Icon");
|
|
26
|
+
function createIcon(name, variants) {
|
|
27
|
+
return (0, import_vue.defineComponent)({
|
|
28
|
+
name: `Icon${name.split("-").map((s) => s.charAt(0).toUpperCase() + s.slice(1)).join("")}`,
|
|
29
|
+
props: {
|
|
30
|
+
variant: { type: String, default: void 0 },
|
|
31
|
+
weight: { type: String, default: void 0 },
|
|
32
|
+
size: { type: [Number, String], default: void 0 },
|
|
33
|
+
color: { type: String, default: void 0 },
|
|
34
|
+
title: { type: String, default: void 0 }
|
|
35
|
+
},
|
|
36
|
+
setup(props, { attrs }) {
|
|
37
|
+
return () => (0, import_vue.h)(import_Icon.Icon, { ...props, ...attrs, variants });
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
42
|
+
0 && (module.exports = {
|
|
43
|
+
createIcon
|
|
44
|
+
});
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { VariantMap, IconVariant, IconWeight } from './types.cjs';
|
|
4
|
+
|
|
5
|
+
declare function createIcon(name: string, variants: VariantMap): vue.DefineComponent<vue.ExtractPropTypes<{
|
|
6
|
+
variant: {
|
|
7
|
+
type: PropType<IconVariant>;
|
|
8
|
+
default: undefined;
|
|
9
|
+
};
|
|
10
|
+
weight: {
|
|
11
|
+
type: PropType<IconWeight>;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
size: {
|
|
15
|
+
type: PropType<number | string>;
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
18
|
+
color: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
22
|
+
title: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: undefined;
|
|
25
|
+
};
|
|
26
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
29
|
+
variant: {
|
|
30
|
+
type: PropType<IconVariant>;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
weight: {
|
|
34
|
+
type: PropType<IconWeight>;
|
|
35
|
+
default: undefined;
|
|
36
|
+
};
|
|
37
|
+
size: {
|
|
38
|
+
type: PropType<number | string>;
|
|
39
|
+
default: undefined;
|
|
40
|
+
};
|
|
41
|
+
color: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: undefined;
|
|
44
|
+
};
|
|
45
|
+
title: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: undefined;
|
|
48
|
+
};
|
|
49
|
+
}>> & Readonly<{}>, {
|
|
50
|
+
variant: IconVariant;
|
|
51
|
+
weight: IconWeight;
|
|
52
|
+
size: string | number;
|
|
53
|
+
color: string;
|
|
54
|
+
title: string;
|
|
55
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
56
|
+
|
|
57
|
+
export { createIcon };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { VariantMap, IconVariant, IconWeight } from './types.js';
|
|
4
|
+
|
|
5
|
+
declare function createIcon(name: string, variants: VariantMap): vue.DefineComponent<vue.ExtractPropTypes<{
|
|
6
|
+
variant: {
|
|
7
|
+
type: PropType<IconVariant>;
|
|
8
|
+
default: undefined;
|
|
9
|
+
};
|
|
10
|
+
weight: {
|
|
11
|
+
type: PropType<IconWeight>;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
size: {
|
|
15
|
+
type: PropType<number | string>;
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
18
|
+
color: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
22
|
+
title: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: undefined;
|
|
25
|
+
};
|
|
26
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
29
|
+
variant: {
|
|
30
|
+
type: PropType<IconVariant>;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
weight: {
|
|
34
|
+
type: PropType<IconWeight>;
|
|
35
|
+
default: undefined;
|
|
36
|
+
};
|
|
37
|
+
size: {
|
|
38
|
+
type: PropType<number | string>;
|
|
39
|
+
default: undefined;
|
|
40
|
+
};
|
|
41
|
+
color: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: undefined;
|
|
44
|
+
};
|
|
45
|
+
title: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: undefined;
|
|
48
|
+
};
|
|
49
|
+
}>> & Readonly<{}>, {
|
|
50
|
+
variant: IconVariant;
|
|
51
|
+
weight: IconWeight;
|
|
52
|
+
size: string | number;
|
|
53
|
+
color: string;
|
|
54
|
+
title: string;
|
|
55
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
56
|
+
|
|
57
|
+
export { createIcon };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent, h } from "vue";
|
|
2
|
+
import { Icon } from "./Icon";
|
|
3
|
+
function createIcon(name, variants) {
|
|
4
|
+
return defineComponent({
|
|
5
|
+
name: `Icon${name.split("-").map((s) => s.charAt(0).toUpperCase() + s.slice(1)).join("")}`,
|
|
6
|
+
props: {
|
|
7
|
+
variant: { type: String, default: void 0 },
|
|
8
|
+
weight: { type: String, default: void 0 },
|
|
9
|
+
size: { type: [Number, String], default: void 0 },
|
|
10
|
+
color: { type: String, default: void 0 },
|
|
11
|
+
title: { type: String, default: void 0 }
|
|
12
|
+
},
|
|
13
|
+
setup(props, { attrs }) {
|
|
14
|
+
return () => h(Icon, { ...props, ...attrs, variants });
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
createIcon
|
|
20
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var align_bottom_exports = {};
|
|
20
|
+
__export(align_bottom_exports, {
|
|
21
|
+
IconAlignBottom: () => IconAlignBottom
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(align_bottom_exports);
|
|
24
|
+
var import_createIcon = require("../createIcon");
|
|
25
|
+
const IconAlignBottom = /* @__PURE__ */ (0, import_createIcon.createIcon)("align-bottom", {
|
|
26
|
+
line: {
|
|
27
|
+
light: `<path fill="currentColor" d="M21 21.5H3a.5.5 0 0 1 0-1h18a.5.5 0 0 1 0 1m-6.5-5h3v-5h-3zm-8 0h3v-13h-3zm11-6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-3a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1zm-8-8a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-3a1 1 0 0 1-1-1v-13a1 1 0 0 1 1-1z"/>`,
|
|
28
|
+
regular: `<path fill="currentColor" d="M21 21.75H3a.75.75 0 0 1 0-1.5h18a.75.75 0 0 1 0 1.5m-3.75-5.5v-4.5h-2.5v4.5zm-8 0V3.75h-2.5v12.5zm8.25-6c.69 0 1.25.56 1.25 1.25v5c0 .69-.56 1.25-1.25 1.25h-3c-.69 0-1.25-.56-1.25-1.25v-5c0-.69.56-1.25 1.25-1.25zm-8-8c.69 0 1.25.56 1.25 1.25v13c0 .69-.56 1.25-1.25 1.25h-3c-.69 0-1.25-.56-1.25-1.25v-13c0-.69.56-1.25 1.25-1.25z"/>`,
|
|
29
|
+
bold: `<path fill="currentColor" d="M21 22H3a1 1 0 1 1 0-2h18a1 1 0 1 1 0 2m-4-6v-4h-2v4zm-8 0V4H7v12zm8.5-6a1.5 1.5 0 0 1 1.5 1.5v5a1.5 1.5 0 0 1-1.5 1.5h-3a1.5 1.5 0 0 1-1.5-1.5v-5a1.5 1.5 0 0 1 1.5-1.5zm-8-8A1.5 1.5 0 0 1 11 3.5v13A1.5 1.5 0 0 1 9.5 18h-3A1.5 1.5 0 0 1 5 16.5v-13A1.5 1.5 0 0 1 6.5 2z"/>`
|
|
30
|
+
},
|
|
31
|
+
duotone: {
|
|
32
|
+
light: `<path fill="var(--uiux-accent, currentColor)" fill-opacity="0.25" d="M9.5 3a.5.5 0 0 1 .5.5v13a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 .5-.5zm8 8a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-5a.5.5 0 0 1 .5-.5z"/><path fill="currentColor" d="M21 21.5H3a.5.5 0 0 1 0-1h18a.5.5 0 0 1 0 1m-6.5-5h3v-5h-3zm-8 0h3v-13h-3zm11-6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-3a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1zm-8-8a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-3a1 1 0 0 1-1-1v-13a1 1 0 0 1 1-1z"/>`,
|
|
33
|
+
regular: `<path fill="var(--uiux-accent, currentColor)" fill-opacity="0.25" d="M9.5 3a.5.5 0 0 1 .5.5v13a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 .5-.5zm8 8a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-5a.5.5 0 0 1 .5-.5z"/><path fill="currentColor" d="M21 21.75H3a.75.75 0 0 1 0-1.5h18a.75.75 0 0 1 0 1.5m-3.75-5.5v-4.5h-2.5v4.5zm-8 0V3.75h-2.5v12.5zm8.25-6c.69 0 1.25.56 1.25 1.25v5c0 .69-.56 1.25-1.25 1.25h-3c-.69 0-1.25-.56-1.25-1.25v-5c0-.69.56-1.25 1.25-1.25zm-8-8c.69 0 1.25.56 1.25 1.25v13c0 .69-.56 1.25-1.25 1.25h-3c-.69 0-1.25-.56-1.25-1.25v-13c0-.69.56-1.25 1.25-1.25z"/>`,
|
|
34
|
+
bold: `<path fill="var(--uiux-accent, currentColor)" fill-opacity="0.25" d="M9.5 3a.5.5 0 0 1 .5.5v13a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 .5-.5zm8 8a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-5a.5.5 0 0 1 .5-.5z"/><path fill="currentColor" d="M21 22H3a1 1 0 1 1 0-2h18a1 1 0 1 1 0 2m-4-6v-4h-2v4zm-8 0V4H7v12zm8.5-6a1.5 1.5 0 0 1 1.5 1.5v5a1.5 1.5 0 0 1-1.5 1.5h-3a1.5 1.5 0 0 1-1.5-1.5v-5a1.5 1.5 0 0 1 1.5-1.5zm-8-8A1.5 1.5 0 0 1 11 3.5v13A1.5 1.5 0 0 1 9.5 18h-3A1.5 1.5 0 0 1 5 16.5v-13A1.5 1.5 0 0 1 6.5 2z"/>`
|
|
35
|
+
},
|
|
36
|
+
solid: {
|
|
37
|
+
light: `<path fill="currentColor" d="M2.5 21a.5.5 0 0 1 .5-.5h18a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m11-9.5a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-3a1 1 0 0 1-1-1zm-8-8a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-3a1 1 0 0 1-1-1z"/>`,
|
|
38
|
+
regular: `<path fill="currentColor" d="M2.25 21a.75.75 0 0 1 .75-.75h18a.75.75 0 0 1 0 1.5H3a.75.75 0 0 1-.75-.75m11-9.5c0-.69.56-1.25 1.25-1.25h3c.69 0 1.25.56 1.25 1.25v5c0 .69-.56 1.25-1.25 1.25h-3c-.69 0-1.25-.56-1.25-1.25zm-8-8c0-.69.56-1.25 1.25-1.25h3c.69 0 1.25.56 1.25 1.25v13c0 .69-.56 1.25-1.25 1.25h-3c-.69 0-1.25-.56-1.25-1.25z"/>`,
|
|
39
|
+
bold: `<path fill="currentColor" d="M2 21a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1m11-9.5a1.5 1.5 0 0 1 1.5-1.5h3a1.5 1.5 0 0 1 1.5 1.5v5a1.5 1.5 0 0 1-1.5 1.5h-3a1.5 1.5 0 0 1-1.5-1.5zm-8-8A1.5 1.5 0 0 1 6.5 2h3A1.5 1.5 0 0 1 11 3.5v13A1.5 1.5 0 0 1 9.5 18h-3A1.5 1.5 0 0 1 5 16.5z"/>`
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
43
|
+
0 && (module.exports = {
|
|
44
|
+
IconAlignBottom
|
|
45
|
+
});
|