monobill-mintui 0.4.3 → 0.4.5
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 +207 -175
- package/dist/caret-right-C_kRPUgW.js +96 -0
- package/dist/caret-right-_3Mh6ina.cjs +1 -0
- package/dist/components/alert/Alert.d.ts +32 -0
- package/dist/components/alert/Alert.d.ts.map +1 -0
- package/dist/components/alert/index.d.ts +3 -0
- package/dist/components/alert/index.d.ts.map +1 -0
- package/dist/components/back-button/BackButton.d.ts +18 -0
- package/dist/components/back-button/BackButton.d.ts.map +1 -0
- package/dist/components/back-button/index.d.ts +3 -0
- package/dist/components/back-button/index.d.ts.map +1 -0
- package/dist/components/button/Button.d.ts +44 -0
- package/dist/components/button/Button.d.ts.map +1 -0
- package/dist/components/button/index.d.ts +3 -0
- package/dist/components/button/index.d.ts.map +1 -0
- package/dist/components/card/Card.d.ts +17 -0
- package/dist/components/card/Card.d.ts.map +1 -0
- package/dist/components/card/index.d.ts +3 -0
- package/dist/components/card/index.d.ts.map +1 -0
- package/dist/components/chart/Chart.d.ts +277 -0
- package/dist/components/chart/Chart.d.ts.map +1 -0
- package/dist/components/chart/index.d.ts +3 -0
- package/dist/components/chart/index.d.ts.map +1 -0
- package/dist/components/checkbox/Checkbox.d.ts +41 -0
- package/dist/components/checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/index.d.ts +3 -0
- package/dist/components/checkbox/index.d.ts.map +1 -0
- package/dist/components/chip/Chip.d.ts +15 -0
- package/dist/components/chip/Chip.d.ts.map +1 -0
- package/dist/components/chip/index.d.ts +3 -0
- package/dist/components/chip/index.d.ts.map +1 -0
- package/dist/components/choice/Choice.d.ts +27 -0
- package/dist/components/choice/Choice.d.ts.map +1 -0
- package/dist/components/choice/ChoiceOption.d.ts +30 -0
- package/dist/components/choice/ChoiceOption.d.ts.map +1 -0
- package/dist/components/choice/index.d.ts +5 -0
- package/dist/components/choice/index.d.ts.map +1 -0
- package/dist/components/clickable/Clickable.d.ts +14 -0
- package/dist/components/clickable/Clickable.d.ts.map +1 -0
- package/dist/components/clickable/index.d.ts +3 -0
- package/dist/components/clickable/index.d.ts.map +1 -0
- package/dist/components/date-picker/DatePicker.d.ts +130 -0
- package/dist/components/date-picker/DatePicker.d.ts.map +1 -0
- package/dist/components/date-picker/index.d.ts +3 -0
- package/dist/components/date-picker/index.d.ts.map +1 -0
- package/dist/components/dropzone/Dropzone.d.ts +59 -0
- package/dist/components/dropzone/Dropzone.d.ts.map +1 -0
- package/dist/components/dropzone/index.d.ts +3 -0
- package/dist/components/dropzone/index.d.ts.map +1 -0
- package/dist/components/form/Form.d.ts +106 -0
- package/dist/components/form/Form.d.ts.map +1 -0
- package/dist/components/form/index.d.ts +3 -0
- package/dist/components/form/index.d.ts.map +1 -0
- package/dist/components/grid/Grid.d.ts +16 -0
- package/dist/components/grid/Grid.d.ts.map +1 -0
- package/dist/components/grid/index.d.ts +3 -0
- package/dist/components/grid/index.d.ts.map +1 -0
- package/dist/components/icon/Icon.d.ts +15 -0
- package/dist/components/icon/Icon.d.ts.map +1 -0
- package/dist/components/icon/build-icons.d.ts +2 -0
- package/dist/components/icon/build-icons.d.ts.map +1 -0
- package/dist/components/icon/icons/archive.d.ts +3 -0
- package/dist/components/icon/icons/archive.d.ts.map +1 -0
- package/dist/components/icon/icons/arrow-down.d.ts +3 -0
- package/dist/components/icon/icons/arrow-down.d.ts.map +1 -0
- package/dist/components/icon/icons/arrow-left.d.ts +3 -0
- package/dist/components/icon/icons/arrow-left.d.ts.map +1 -0
- package/dist/components/icon/icons/arrow-right.d.ts +3 -0
- package/dist/components/icon/icons/arrow-right.d.ts.map +1 -0
- package/dist/components/icon/icons/arrow-up.d.ts +3 -0
- package/dist/components/icon/icons/arrow-up.d.ts.map +1 -0
- package/dist/components/icon/icons/attach.d.ts +3 -0
- package/dist/components/icon/icons/attach.d.ts.map +1 -0
- package/dist/components/icon/icons/barcode.d.ts +3 -0
- package/dist/components/icon/icons/barcode.d.ts.map +1 -0
- package/dist/components/icon/icons/bookmark.d.ts +3 -0
- package/dist/components/icon/icons/bookmark.d.ts.map +1 -0
- package/dist/components/icon/icons/calendar-day.d.ts +3 -0
- package/dist/components/icon/icons/calendar-day.d.ts.map +1 -0
- package/dist/components/icon/icons/calendar-empty.d.ts +3 -0
- package/dist/components/icon/icons/calendar-empty.d.ts.map +1 -0
- package/dist/components/icon/icons/calendar-week.d.ts +3 -0
- package/dist/components/icon/icons/calendar-week.d.ts.map +1 -0
- package/dist/components/icon/icons/calendar.d.ts +3 -0
- package/dist/components/icon/icons/calendar.d.ts.map +1 -0
- package/dist/components/icon/icons/caret-down.d.ts +3 -0
- package/dist/components/icon/icons/caret-down.d.ts.map +1 -0
- package/dist/components/icon/icons/caret-left.d.ts +3 -0
- package/dist/components/icon/icons/caret-left.d.ts.map +1 -0
- package/dist/components/icon/icons/caret-right.d.ts +3 -0
- package/dist/components/icon/icons/caret-right.d.ts.map +1 -0
- package/dist/components/icon/icons/caret-up.d.ts +3 -0
- package/dist/components/icon/icons/caret-up.d.ts.map +1 -0
- package/dist/components/icon/icons/chat.d.ts +3 -0
- package/dist/components/icon/icons/chat.d.ts.map +1 -0
- package/dist/components/icon/icons/check.d.ts +3 -0
- package/dist/components/icon/icons/check.d.ts.map +1 -0
- package/dist/components/icon/icons/clock.d.ts +3 -0
- package/dist/components/icon/icons/clock.d.ts.map +1 -0
- package/dist/components/icon/icons/close.d.ts +3 -0
- package/dist/components/icon/icons/close.d.ts.map +1 -0
- package/dist/components/icon/icons/copy.d.ts +3 -0
- package/dist/components/icon/icons/copy.d.ts.map +1 -0
- package/dist/components/icon/icons/delete.d.ts +3 -0
- package/dist/components/icon/icons/delete.d.ts.map +1 -0
- package/dist/components/icon/icons/documentation.d.ts +3 -0
- package/dist/components/icon/icons/documentation.d.ts.map +1 -0
- package/dist/components/icon/icons/download.d.ts +3 -0
- package/dist/components/icon/icons/download.d.ts.map +1 -0
- package/dist/components/icon/icons/duplicate.d.ts +3 -0
- package/dist/components/icon/icons/duplicate.d.ts.map +1 -0
- package/dist/components/icon/icons/edit.d.ts +3 -0
- package/dist/components/icon/icons/edit.d.ts.map +1 -0
- package/dist/components/icon/icons/ellipsis.d.ts +3 -0
- package/dist/components/icon/icons/ellipsis.d.ts.map +1 -0
- package/dist/components/icon/icons/error.d.ts +3 -0
- package/dist/components/icon/icons/error.d.ts.map +1 -0
- package/dist/components/icon/icons/external-link.d.ts +3 -0
- package/dist/components/icon/icons/external-link.d.ts.map +1 -0
- package/dist/components/icon/icons/file.d.ts +3 -0
- package/dist/components/icon/icons/file.d.ts.map +1 -0
- package/dist/components/icon/icons/filter.d.ts +3 -0
- package/dist/components/icon/icons/filter.d.ts.map +1 -0
- package/dist/components/icon/icons/folder.d.ts +3 -0
- package/dist/components/icon/icons/folder.d.ts.map +1 -0
- package/dist/components/icon/icons/grid.d.ts +3 -0
- package/dist/components/icon/icons/grid.d.ts.map +1 -0
- package/dist/components/icon/icons/help.d.ts +3 -0
- package/dist/components/icon/icons/help.d.ts.map +1 -0
- package/dist/components/icon/icons/home.d.ts +3 -0
- package/dist/components/icon/icons/home.d.ts.map +1 -0
- package/dist/components/icon/icons/image.d.ts +3 -0
- package/dist/components/icon/icons/image.d.ts.map +1 -0
- package/dist/components/icon/icons/index.cjs +4 -0
- package/dist/components/icon/icons/index.d.ts +75 -0
- package/dist/components/icon/icons/index.d.ts.map +1 -0
- package/dist/{icon-D8dpuFVm.js → components/icon/icons/index.js} +168 -216
- package/dist/components/icon/icons/info.d.ts +3 -0
- package/dist/components/icon/icons/info.d.ts.map +1 -0
- package/dist/components/icon/icons/language.d.ts +3 -0
- package/dist/components/icon/icons/language.d.ts.map +1 -0
- package/dist/components/icon/icons/link.d.ts +3 -0
- package/dist/components/icon/icons/link.d.ts.map +1 -0
- package/dist/components/icon/icons/list.d.ts +3 -0
- package/dist/components/icon/icons/list.d.ts.map +1 -0
- package/dist/components/icon/icons/location.d.ts +3 -0
- package/dist/components/icon/icons/location.d.ts.map +1 -0
- package/dist/components/icon/icons/lock.d.ts +3 -0
- package/dist/components/icon/icons/lock.d.ts.map +1 -0
- package/dist/components/icon/icons/login.d.ts +3 -0
- package/dist/components/icon/icons/login.d.ts.map +1 -0
- package/dist/components/icon/icons/logout.d.ts +3 -0
- package/dist/components/icon/icons/logout.d.ts.map +1 -0
- package/dist/components/icon/icons/mail.d.ts +3 -0
- package/dist/components/icon/icons/mail.d.ts.map +1 -0
- package/dist/components/icon/icons/map.d.ts +3 -0
- package/dist/components/icon/icons/map.d.ts.map +1 -0
- package/dist/components/icon/icons/menu.d.ts +3 -0
- package/dist/components/icon/icons/menu.d.ts.map +1 -0
- package/dist/components/icon/icons/moon.d.ts +3 -0
- package/dist/components/icon/icons/moon.d.ts.map +1 -0
- package/dist/components/icon/icons/notifications.d.ts +3 -0
- package/dist/components/icon/icons/notifications.d.ts.map +1 -0
- package/dist/components/icon/icons/paste.d.ts +3 -0
- package/dist/components/icon/icons/paste.d.ts.map +1 -0
- package/dist/components/icon/icons/pin.d.ts +3 -0
- package/dist/components/icon/icons/pin.d.ts.map +1 -0
- package/dist/components/icon/icons/plus.d.ts +3 -0
- package/dist/components/icon/icons/plus.d.ts.map +1 -0
- package/dist/components/icon/icons/print.d.ts +3 -0
- package/dist/components/icon/icons/print.d.ts.map +1 -0
- package/dist/components/icon/icons/refresh.d.ts +3 -0
- package/dist/components/icon/icons/refresh.d.ts.map +1 -0
- package/dist/components/icon/icons/remove.d.ts +3 -0
- package/dist/components/icon/icons/remove.d.ts.map +1 -0
- package/dist/components/icon/icons/save.d.ts +3 -0
- package/dist/components/icon/icons/save.d.ts.map +1 -0
- package/dist/components/icon/icons/search.d.ts +3 -0
- package/dist/components/icon/icons/search.d.ts.map +1 -0
- package/dist/components/icon/icons/settings.d.ts +3 -0
- package/dist/components/icon/icons/settings.d.ts.map +1 -0
- package/dist/components/icon/icons/share.d.ts +3 -0
- package/dist/components/icon/icons/share.d.ts.map +1 -0
- package/dist/components/icon/icons/sort-arrows.d.ts +3 -0
- package/dist/components/icon/icons/sort-arrows.d.ts.map +1 -0
- package/dist/components/icon/icons/sort.d.ts +3 -0
- package/dist/components/icon/icons/sort.d.ts.map +1 -0
- package/dist/components/icon/icons/star.d.ts +3 -0
- package/dist/components/icon/icons/star.d.ts.map +1 -0
- package/dist/components/icon/icons/success.d.ts +3 -0
- package/dist/components/icon/icons/success.d.ts.map +1 -0
- package/dist/components/icon/icons/sun.d.ts +3 -0
- package/dist/components/icon/icons/sun.d.ts.map +1 -0
- package/dist/components/icon/icons/table.d.ts +3 -0
- package/dist/components/icon/icons/table.d.ts.map +1 -0
- package/dist/components/icon/icons/tag.d.ts +3 -0
- package/dist/components/icon/icons/tag.d.ts.map +1 -0
- package/dist/components/icon/icons/trash.d.ts +3 -0
- package/dist/components/icon/icons/trash.d.ts.map +1 -0
- package/dist/components/icon/icons/unlock.d.ts +3 -0
- package/dist/components/icon/icons/unlock.d.ts.map +1 -0
- package/dist/components/icon/icons/upload.d.ts +3 -0
- package/dist/components/icon/icons/upload.d.ts.map +1 -0
- package/dist/components/icon/icons/user-add.d.ts +3 -0
- package/dist/components/icon/icons/user-add.d.ts.map +1 -0
- package/dist/components/icon/icons/user.d.ts +3 -0
- package/dist/components/icon/icons/user.d.ts.map +1 -0
- package/dist/components/icon/icons/users.d.ts +3 -0
- package/dist/components/icon/icons/users.d.ts.map +1 -0
- package/dist/components/icon/icons/video.d.ts +3 -0
- package/dist/components/icon/icons/video.d.ts.map +1 -0
- package/dist/components/icon/icons/warning.d.ts +3 -0
- package/dist/components/icon/icons/warning.d.ts.map +1 -0
- package/dist/components/icon/index.d.ts +3 -0
- package/dist/components/icon/index.d.ts.map +1 -0
- package/dist/components/icon/registry.d.ts +15 -0
- package/dist/components/icon/registry.d.ts.map +1 -0
- package/dist/components/input/Input.d.ts +56 -0
- package/dist/components/input/Input.d.ts.map +1 -0
- package/dist/components/input/index.d.ts +3 -0
- package/dist/components/input/index.d.ts.map +1 -0
- package/dist/components/link/Link.d.ts +16 -0
- package/dist/components/link/Link.d.ts.map +1 -0
- package/dist/components/link/index.d.ts +3 -0
- package/dist/components/link/index.d.ts.map +1 -0
- package/dist/components/modal/Modal.d.ts +32 -0
- package/dist/components/modal/Modal.d.ts.map +1 -0
- package/dist/components/modal/index.d.ts +3 -0
- package/dist/components/modal/index.d.ts.map +1 -0
- package/dist/components/off-canvas/OffCanvas.d.ts +42 -0
- package/dist/components/off-canvas/OffCanvas.d.ts.map +1 -0
- package/dist/components/off-canvas/index.d.ts +3 -0
- package/dist/components/off-canvas/index.d.ts.map +1 -0
- package/dist/components/page/Page.d.ts +29 -0
- package/dist/components/page/Page.d.ts.map +1 -0
- package/dist/components/page/index.d.ts +3 -0
- package/dist/components/page/index.d.ts.map +1 -0
- package/dist/components/popover/Popover.d.ts +48 -0
- package/dist/components/popover/Popover.d.ts.map +1 -0
- package/dist/components/popover/index.d.ts +3 -0
- package/dist/components/popover/index.d.ts.map +1 -0
- package/dist/components/resource-table/ResourceTable.d.ts +159 -0
- package/dist/components/resource-table/ResourceTable.d.ts.map +1 -0
- package/dist/components/resource-table/index.d.ts +3 -0
- package/dist/components/resource-table/index.d.ts.map +1 -0
- package/dist/components/select/Select.d.ts +34 -0
- package/dist/components/select/Select.d.ts.map +1 -0
- package/dist/components/select/index.d.ts +3 -0
- package/dist/components/select/index.d.ts.map +1 -0
- package/dist/components/spinner/Spinner.d.ts +13 -0
- package/dist/components/spinner/Spinner.d.ts.map +1 -0
- package/dist/components/spinner/index.d.ts +3 -0
- package/dist/components/spinner/index.d.ts.map +1 -0
- package/dist/components/stack/Stack.d.ts +20 -0
- package/dist/components/stack/Stack.d.ts.map +1 -0
- package/dist/components/stack/index.d.ts +3 -0
- package/dist/components/stack/index.d.ts.map +1 -0
- package/dist/components/switch/Switch.d.ts +32 -0
- package/dist/components/switch/Switch.d.ts.map +1 -0
- package/dist/components/switch/index.d.ts +3 -0
- package/dist/components/switch/index.d.ts.map +1 -0
- package/dist/components/table/Table.d.ts +15 -0
- package/dist/components/table/Table.d.ts.map +1 -0
- package/dist/components/table/index.d.ts +3 -0
- package/dist/components/table/index.d.ts.map +1 -0
- package/dist/components/tabs/Tab.d.ts +19 -0
- package/dist/components/tabs/Tab.d.ts.map +1 -0
- package/dist/components/tabs/TabContent.d.ts +13 -0
- package/dist/components/tabs/TabContent.d.ts.map +1 -0
- package/dist/components/tabs/TabList.d.ts +12 -0
- package/dist/components/tabs/TabList.d.ts.map +1 -0
- package/dist/components/tabs/Tabs.d.ts +20 -0
- package/dist/components/tabs/Tabs.d.ts.map +1 -0
- package/dist/components/tabs/index.d.ts +9 -0
- package/dist/components/tabs/index.d.ts.map +1 -0
- package/dist/components/tags/Tags.d.ts +57 -0
- package/dist/components/tags/Tags.d.ts.map +1 -0
- package/dist/components/tags/index.d.ts +3 -0
- package/dist/components/tags/index.d.ts.map +1 -0
- package/dist/components/text/Text.d.ts +25 -0
- package/dist/components/text/Text.d.ts.map +1 -0
- package/dist/components/text/index.d.ts +3 -0
- package/dist/components/text/index.d.ts.map +1 -0
- package/dist/icons/edit.svg +1 -1
- package/dist/icons/sort-arrows.svg +3 -0
- package/dist/index.cjs +196 -1
- package/dist/index.d.ts +63 -35
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +8418 -16
- package/package.json +37 -87
- package/tailwind.preset.cjs +24 -0
- package/tailwind.preset.js +24 -0
- package/dist/Icon-BTuYBm_3.cjs +0 -1
- package/dist/Icon-ByNhn8tE.js +0 -77
- package/dist/button-CAQ8mBQ2.js +0 -575
- package/dist/button-DuNZkwFV.cjs +0 -1
- package/dist/button.cjs +0 -1
- package/dist/button.d.ts +0 -1
- package/dist/button.js +0 -2
- package/dist/card-C1AqNkxK.cjs +0 -1
- package/dist/card-LNjZ86sr.js +0 -58
- package/dist/card.cjs +0 -1
- package/dist/card.d.ts +0 -1
- package/dist/card.js +0 -2
- package/dist/checkbox-Bkgxfl0k.js +0 -169
- package/dist/checkbox-DgwXHIbu.cjs +0 -1
- package/dist/checkbox.cjs +0 -1
- package/dist/checkbox.d.ts +0 -1
- package/dist/checkbox.js +0 -1
- package/dist/choice-BAk8Jd5E.cjs +0 -1
- package/dist/choice-Cs16XiRh.js +0 -204
- package/dist/choice.cjs +0 -1
- package/dist/choice.d.ts +0 -1
- package/dist/choice.js +0 -1
- package/dist/grid-ByGfCtMT.cjs +0 -1
- package/dist/grid-DhnNax_w.js +0 -62
- package/dist/grid.cjs +0 -1
- package/dist/grid.d.ts +0 -1
- package/dist/grid.js +0 -2
- package/dist/icon-Dut5ZPmM.cjs +0 -1
- package/dist/icon.cjs +0 -1
- package/dist/icon.d.ts +0 -1
- package/dist/icon.js +0 -3
- package/dist/link-B-z-io7I.cjs +0 -1
- package/dist/link-DC8l274I.js +0 -75
- package/dist/link.cjs +0 -1
- package/dist/link.d.ts +0 -1
- package/dist/link.js +0 -2
- package/dist/mintui-elements.d.ts +0 -78
- package/dist/modal-BZYcRU3i.js +0 -98
- package/dist/modal-C_ukm1We.cjs +0 -1
- package/dist/modal.cjs +0 -1
- package/dist/modal.d.ts +0 -1
- package/dist/modal.js +0 -1
- package/dist/page-CJ3M0wAd.cjs +0 -1
- package/dist/page-aBsDfG3x.js +0 -112
- package/dist/page.cjs +0 -1
- package/dist/page.d.ts +0 -1
- package/dist/page.js +0 -2
- package/dist/popover-7bn3gySt.js +0 -181
- package/dist/popover-CuSBQ8Jm.cjs +0 -1
- package/dist/popover.cjs +0 -1
- package/dist/popover.d.ts +0 -1
- package/dist/popover.js +0 -1
- package/dist/spinner-DqXU-cr-.js +0 -111
- package/dist/spinner-GtQIe8rS.cjs +0 -63
- package/dist/spinner.cjs +0 -1
- package/dist/spinner.d.ts +0 -1
- package/dist/spinner.js +0 -2
- package/dist/stack-D0noPfD1.js +0 -114
- package/dist/stack-tFy8YlX2.cjs +0 -1
- package/dist/stack.cjs +0 -1
- package/dist/stack.d.ts +0 -1
- package/dist/stack.js +0 -2
- package/dist/styles.css +0 -1
- package/dist/switch-DQ0Eaz6M.js +0 -138
- package/dist/switch-DeQNPnla.cjs +0 -1
- package/dist/switch.cjs +0 -1
- package/dist/switch.d.ts +0 -1
- package/dist/switch.js +0 -2
- package/dist/text-CoinZsjJ.cjs +0 -1
- package/dist/text-q58TQcH-.js +0 -111
- package/dist/text.cjs +0 -1
- package/dist/text.d.ts +0 -1
- package/dist/text.js +0 -2
package/package.json
CHANGED
|
@@ -1,101 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monobill-mintui",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"description": "A modern framework-agnostic UI kit built as Web Components. Requires Tailwind CSS.",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./dist/index.
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
7
|
"module": "./dist/index.js",
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"types": "./dist/index.d.ts",
|
|
12
11
|
"import": "./dist/index.js",
|
|
13
|
-
"require": "./dist/index.cjs"
|
|
12
|
+
"require": "./dist/index.cjs",
|
|
13
|
+
"types": "./dist/index.d.ts"
|
|
14
14
|
},
|
|
15
15
|
"./styles": "./dist/styles.css",
|
|
16
|
-
"./
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"require": "./dist/button.cjs"
|
|
16
|
+
"./tailwind-preset": {
|
|
17
|
+
"import": "./tailwind.preset.js",
|
|
18
|
+
"require": "./tailwind.preset.cjs"
|
|
20
19
|
},
|
|
21
|
-
"./
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
},
|
|
26
|
-
"./spinner": {
|
|
27
|
-
"types": "./dist/spinner.d.ts",
|
|
28
|
-
"import": "./dist/spinner.js",
|
|
29
|
-
"require": "./dist/spinner.cjs"
|
|
30
|
-
},
|
|
31
|
-
"./icon": {
|
|
32
|
-
"types": "./dist/icon.d.ts",
|
|
33
|
-
"import": "./dist/icon.js",
|
|
34
|
-
"require": "./dist/icon.cjs"
|
|
35
|
-
},
|
|
36
|
-
"./text": {
|
|
37
|
-
"types": "./dist/text.d.ts",
|
|
38
|
-
"import": "./dist/text.js",
|
|
39
|
-
"require": "./dist/text.cjs"
|
|
40
|
-
},
|
|
41
|
-
"./stack": {
|
|
42
|
-
"types": "./dist/stack.d.ts",
|
|
43
|
-
"import": "./dist/stack.js",
|
|
44
|
-
"require": "./dist/stack.cjs"
|
|
45
|
-
},
|
|
46
|
-
"./card": {
|
|
47
|
-
"types": "./dist/card.d.ts",
|
|
48
|
-
"import": "./dist/card.js",
|
|
49
|
-
"require": "./dist/card.cjs"
|
|
50
|
-
},
|
|
51
|
-
"./link": {
|
|
52
|
-
"types": "./dist/link.d.ts",
|
|
53
|
-
"import": "./dist/link.js",
|
|
54
|
-
"require": "./dist/link.cjs"
|
|
55
|
-
},
|
|
56
|
-
"./page": {
|
|
57
|
-
"types": "./dist/page.d.ts",
|
|
58
|
-
"import": "./dist/page.js",
|
|
59
|
-
"require": "./dist/page.cjs"
|
|
60
|
-
},
|
|
61
|
-
"./grid": {
|
|
62
|
-
"types": "./dist/grid.d.ts",
|
|
63
|
-
"import": "./dist/grid.js",
|
|
64
|
-
"require": "./dist/grid.cjs"
|
|
65
|
-
},
|
|
66
|
-
"./modal": {
|
|
67
|
-
"types": "./dist/modal.d.ts",
|
|
68
|
-
"import": "./dist/modal.js",
|
|
69
|
-
"require": "./dist/modal.cjs"
|
|
70
|
-
},
|
|
71
|
-
"./popover": {
|
|
72
|
-
"types": "./dist/popover.d.ts",
|
|
73
|
-
"import": "./dist/popover.js",
|
|
74
|
-
"require": "./dist/popover.cjs"
|
|
75
|
-
},
|
|
76
|
-
"./checkbox": {
|
|
77
|
-
"types": "./dist/checkbox.d.ts",
|
|
78
|
-
"import": "./dist/checkbox.js",
|
|
79
|
-
"require": "./dist/checkbox.cjs"
|
|
80
|
-
},
|
|
81
|
-
"./choice": {
|
|
82
|
-
"types": "./dist/choice.d.ts",
|
|
83
|
-
"import": "./dist/choice.js",
|
|
84
|
-
"require": "./dist/choice.cjs"
|
|
20
|
+
"./icons": {
|
|
21
|
+
"import": "./dist/components/icon/icons/index.js",
|
|
22
|
+
"require": "./dist/components/icon/icons/index.cjs",
|
|
23
|
+
"types": "./dist/components/icon/icons/index.d.ts"
|
|
85
24
|
}
|
|
86
25
|
},
|
|
87
26
|
"files": [
|
|
88
|
-
"dist"
|
|
27
|
+
"dist",
|
|
28
|
+
"tailwind.preset.js",
|
|
29
|
+
"tailwind.preset.cjs"
|
|
89
30
|
],
|
|
90
31
|
"scripts": {
|
|
91
|
-
"build:icons": "
|
|
92
|
-
"build": "
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"preview": "vite preview",
|
|
97
|
-
"version": "npm run sync:versions && git add -A",
|
|
98
|
-
"postversion": "npm run prepare:publish"
|
|
32
|
+
"build:icons": "tsx src/components/icon/build-icons.ts",
|
|
33
|
+
"build:types": "tsc --emitDeclarationOnly --declaration --skipLibCheck || true",
|
|
34
|
+
"build": "vite build && npm run build:types",
|
|
35
|
+
"dev": "vite --host",
|
|
36
|
+
"preview": "vite preview"
|
|
99
37
|
},
|
|
100
38
|
"keywords": [
|
|
101
39
|
"web-components",
|
|
@@ -109,16 +47,28 @@
|
|
|
109
47
|
"tailwind",
|
|
110
48
|
"components"
|
|
111
49
|
],
|
|
112
|
-
"author": "",
|
|
50
|
+
"author": "ron-vnox",
|
|
113
51
|
"license": "MIT",
|
|
114
52
|
"devDependencies": {
|
|
115
|
-
"@tailwindcss/vite": "^4.
|
|
53
|
+
"@tailwindcss/vite": "^4.0.0",
|
|
54
|
+
"@types/node": "^24.10.1",
|
|
116
55
|
"@vitejs/plugin-vue": "^6.0.5",
|
|
117
56
|
"tailwindcss": "^4.0.0",
|
|
57
|
+
"tsx": "^4.21.0",
|
|
58
|
+
"typescript": "^5.9.3",
|
|
118
59
|
"vite": "^8.0.2",
|
|
119
|
-
"vue": "^3.4.0"
|
|
60
|
+
"vue": "^3.4.0",
|
|
61
|
+
"vue-router": "^4.6.4"
|
|
62
|
+
},
|
|
63
|
+
"peerDependencies": {
|
|
64
|
+
"tailwindcss": "^4.0.0"
|
|
65
|
+
},
|
|
66
|
+
"repository": {
|
|
67
|
+
"type": "git",
|
|
68
|
+
"url": "https://github.com/vnoxco/mintui.git"
|
|
69
|
+
},
|
|
70
|
+
"bugs": {
|
|
71
|
+
"url": "https://github.com/vnoxco/mintui/issues"
|
|
120
72
|
},
|
|
121
|
-
"
|
|
122
|
-
"vue-router": "^4.6.3"
|
|
123
|
-
}
|
|
73
|
+
"homepage": "https://github.com/vnoxco/mintui#readme"
|
|
124
74
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/** @type {import('tailwindcss').Config} */
|
|
2
|
+
module.exports = {
|
|
3
|
+
theme: {
|
|
4
|
+
extend: {
|
|
5
|
+
colors: {
|
|
6
|
+
gray: {
|
|
7
|
+
50: '#f9fafb',
|
|
8
|
+
100: '#f3f4f6',
|
|
9
|
+
200: '#e5e7eb',
|
|
10
|
+
300: '#d1d5db',
|
|
11
|
+
400: '#9ca3af',
|
|
12
|
+
500: '#6b7280',
|
|
13
|
+
600: '#4b5563',
|
|
14
|
+
700: '#374151',
|
|
15
|
+
800: '#1f2937',
|
|
16
|
+
900: '#0a0a0a', // Base dark mode color - enforced by mintui
|
|
17
|
+
950: '#030712',
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/** @type {import('tailwindcss').Config} */
|
|
2
|
+
export default {
|
|
3
|
+
theme: {
|
|
4
|
+
extend: {
|
|
5
|
+
colors: {
|
|
6
|
+
gray: {
|
|
7
|
+
50: '#f9fafb',
|
|
8
|
+
100: '#f3f4f6',
|
|
9
|
+
200: '#e5e7eb',
|
|
10
|
+
300: '#d1d5db',
|
|
11
|
+
400: '#9ca3af',
|
|
12
|
+
500: '#6b7280',
|
|
13
|
+
600: '#4b5563',
|
|
14
|
+
700: '#374151',
|
|
15
|
+
800: '#1f2937',
|
|
16
|
+
900: '#0a0a0a', // Base dark mode color - enforced by mintui
|
|
17
|
+
950: '#030712',
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
package/dist/Icon-BTuYBm_3.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=new Map;function t(t){e.set(t.name,t)}function n(t){return e.get(t)}function r(t){return e.has(t)}function i(){return Array.from(e.values())}var a=class extends HTMLElement{static get observedAttributes(){return[`name`]}constructor(){super(),this._darkModeObserver=null}connectedCallback(){this.classList.add(`box-border`,`m-0`,`p-0`,`border-0`,`inline-flex`,`items-center`,`leading-none`),this.render(),this._observeDarkMode()}attributeChangedCallback(e,t,n){t!==n&&this.render()}disconnectedCallback(){this._darkModeObserver&&=(this._darkModeObserver.disconnect(),null)}_observeDarkMode(){this._darkModeObserver||(this._darkModeObserver=new MutationObserver(e=>{for(let t of e)if(t.type===`attributes`&&t.attributeName===`class`){this.render();break}}),this._darkModeObserver.observe(document.documentElement,{attributes:!0,attributeFilter:[`class`]}))}getName(){return this.getAttribute(`name`)||``}getIconUrl(){let e=document.documentElement.getAttribute(`data-icon-base-url`)||document.querySelector(`meta[name="icon-base-url"]`)?.getAttribute(`content`);return e?`${e}/${this.getName()}.svg`:`/icons/${this.getName()}.svg`}render(){let e=this.getName();if(!e){this.innerHTML=``,this.style.maskImage=``,this.style.webkitMaskImage=``;return}if(!n(e)){console.warn(`Icon "${e}" not found. Make sure you've imported the icon: import '@monobill-mintui/icon/icons/${e}'`),this.innerHTML=``,this.style.maskImage=``,this.style.webkitMaskImage=``;return}let t=this.closest(`mint-button`)||this.parentElement?.closest(`mint-button`),r=this.closest(`mint-switch`)||this.parentElement?.closest(`mint-switch`),i;i=r?`w-3 h-3`:t?`w-5 h-5`:`w-[1.3em] h-[1.3em]`,this.classList.remove(`w-4`,`h-4`,`w-5`,`h-5`,`w-[1em]`,`h-[1em]`),i.split(` `).forEach(e=>{e&&this.classList.add(e)});let a=this.getIconUrl();if(this.style.maskImage=`url(${a})`,this.style.webkitMaskImage=`url(${a})`,this.style.maskSize=`contain`,this.style.webkitMaskSize=`contain`,this.style.maskRepeat=`no-repeat`,this.style.webkitMaskRepeat=`no-repeat`,this.style.maskPosition=`center`,this.style.webkitMaskPosition=`center`,this.style.aspectRatio=`1 / 1`,this.style.backgroundColor=`currentColor`,r)this.classList.remove(`text-gray-100`,`text-gray-900`),this.classList.add(`text-gray-900`);else if(t)this.classList.remove(`text-gray-100`,`text-gray-900`);else{let e=document.documentElement.classList.contains(`dark`)?`text-gray-100`:`text-gray-900`;this.classList.remove(`text-gray-100`,`text-gray-900`),this.classList.add(e)}this.innerHTML=``}};customElements.get(`mint-icon`)||customElements.define(`mint-icon`,a),Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return a}});
|
package/dist/Icon-ByNhn8tE.js
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
//#region src/components/icon/registry.js
|
|
2
|
-
var e = /* @__PURE__ */ new Map();
|
|
3
|
-
function t(t) {
|
|
4
|
-
e.set(t.name, t);
|
|
5
|
-
}
|
|
6
|
-
function n(t) {
|
|
7
|
-
return e.get(t);
|
|
8
|
-
}
|
|
9
|
-
function r(t) {
|
|
10
|
-
return e.has(t);
|
|
11
|
-
}
|
|
12
|
-
function i() {
|
|
13
|
-
return Array.from(e.values());
|
|
14
|
-
}
|
|
15
|
-
//#endregion
|
|
16
|
-
//#region src/components/icon/Icon.js
|
|
17
|
-
var a = class extends HTMLElement {
|
|
18
|
-
static get observedAttributes() {
|
|
19
|
-
return ["name"];
|
|
20
|
-
}
|
|
21
|
-
constructor() {
|
|
22
|
-
super(), this._darkModeObserver = null;
|
|
23
|
-
}
|
|
24
|
-
connectedCallback() {
|
|
25
|
-
this.classList.add("box-border", "m-0", "p-0", "border-0", "inline-flex", "items-center", "leading-none"), this.render(), this._observeDarkMode();
|
|
26
|
-
}
|
|
27
|
-
attributeChangedCallback(e, t, n) {
|
|
28
|
-
t !== n && this.render();
|
|
29
|
-
}
|
|
30
|
-
disconnectedCallback() {
|
|
31
|
-
this._darkModeObserver &&= (this._darkModeObserver.disconnect(), null);
|
|
32
|
-
}
|
|
33
|
-
_observeDarkMode() {
|
|
34
|
-
this._darkModeObserver || (this._darkModeObserver = new MutationObserver((e) => {
|
|
35
|
-
for (let t of e) if (t.type === "attributes" && t.attributeName === "class") {
|
|
36
|
-
this.render();
|
|
37
|
-
break;
|
|
38
|
-
}
|
|
39
|
-
}), this._darkModeObserver.observe(document.documentElement, {
|
|
40
|
-
attributes: !0,
|
|
41
|
-
attributeFilter: ["class"]
|
|
42
|
-
}));
|
|
43
|
-
}
|
|
44
|
-
getName() {
|
|
45
|
-
return this.getAttribute("name") || "";
|
|
46
|
-
}
|
|
47
|
-
getIconUrl() {
|
|
48
|
-
let e = document.documentElement.getAttribute("data-icon-base-url") || document.querySelector("meta[name=\"icon-base-url\"]")?.getAttribute("content");
|
|
49
|
-
return e ? `${e}/${this.getName()}.svg` : `/icons/${this.getName()}.svg`;
|
|
50
|
-
}
|
|
51
|
-
render() {
|
|
52
|
-
let e = this.getName();
|
|
53
|
-
if (!e) {
|
|
54
|
-
this.innerHTML = "", this.style.maskImage = "", this.style.webkitMaskImage = "";
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
if (!n(e)) {
|
|
58
|
-
console.warn(`Icon "${e}" not found. Make sure you've imported the icon: import '@monobill-mintui/icon/icons/${e}'`), this.innerHTML = "", this.style.maskImage = "", this.style.webkitMaskImage = "";
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
let t = this.closest("mint-button") || this.parentElement?.closest("mint-button"), r = this.closest("mint-switch") || this.parentElement?.closest("mint-switch"), i;
|
|
62
|
-
i = r ? "w-3 h-3" : t ? "w-5 h-5" : "w-[1.3em] h-[1.3em]", this.classList.remove("w-4", "h-4", "w-5", "h-5", "w-[1em]", "h-[1em]"), i.split(" ").forEach((e) => {
|
|
63
|
-
e && this.classList.add(e);
|
|
64
|
-
});
|
|
65
|
-
let a = this.getIconUrl();
|
|
66
|
-
if (this.style.maskImage = `url(${a})`, this.style.webkitMaskImage = `url(${a})`, this.style.maskSize = "contain", this.style.webkitMaskSize = "contain", this.style.maskRepeat = "no-repeat", this.style.webkitMaskRepeat = "no-repeat", this.style.maskPosition = "center", this.style.webkitMaskPosition = "center", this.style.aspectRatio = "1 / 1", this.style.backgroundColor = "currentColor", r) this.classList.remove("text-gray-100", "text-gray-900"), this.classList.add("text-gray-900");
|
|
67
|
-
else if (t) this.classList.remove("text-gray-100", "text-gray-900");
|
|
68
|
-
else {
|
|
69
|
-
let e = document.documentElement.classList.contains("dark") ? "text-gray-100" : "text-gray-900";
|
|
70
|
-
this.classList.remove("text-gray-100", "text-gray-900"), this.classList.add(e);
|
|
71
|
-
}
|
|
72
|
-
this.innerHTML = "";
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
customElements.get("mint-icon") || customElements.define("mint-icon", a);
|
|
76
|
-
//#endregion
|
|
77
|
-
export { t as a, r as i, i as n, n as r, a as t };
|