@amiceli/papierjs 0.12.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -3
- package/dist/cjs/feather-hhpdTUdS.js +0 -3
- package/dist/cjs/{index-BLkeAjdP.js → index-BPI196cE.js} +436 -238
- package/dist/cjs/index.cjs.js +0 -3
- package/dist/cjs/loader.cjs.js +2 -5
- package/dist/cjs/p-accordion.cjs.entry.js +10 -9
- package/dist/cjs/p-alert.cjs.entry.js +4 -7
- package/dist/cjs/p-badge.cjs.entry.js +4 -7
- package/dist/cjs/p-breadcrumb-item.cjs.entry.js +3 -6
- package/dist/cjs/p-breadcrumb.cjs.entry.js +4 -7
- package/dist/cjs/p-button_4.cjs.entry.js +11 -14
- package/dist/cjs/p-card.cjs.entry.js +5 -8
- package/dist/cjs/p-icon.cjs.entry.js +804 -493
- package/dist/cjs/p-input-text.cjs.entry.js +5 -8
- package/dist/cjs/p-leaf.cjs.entry.js +4 -7
- package/dist/cjs/p-modal.cjs.entry.js +4 -7
- package/dist/cjs/p-navbar-item.cjs.entry.js +26 -0
- package/dist/cjs/p-navbar.cjs.entry.js +44 -0
- package/dist/cjs/p-notification-preview.cjs.entry.js +11 -14
- package/dist/cjs/p-notification.cjs.entry.js +5 -8
- package/dist/cjs/p-progress-bar.cjs.entry.js +4 -7
- package/dist/cjs/p-slider.cjs.entry.js +5 -8
- package/dist/cjs/p-spinner.cjs.entry.js +5 -8
- package/dist/cjs/p-switch-tile.cjs.entry.js +4 -7
- package/dist/cjs/p-switch.cjs.entry.js +4 -7
- package/dist/cjs/p-tab.cjs.entry.js +5 -8
- package/dist/cjs/p-tabs.cjs.entry.js +6 -9
- package/dist/cjs/p-tooltip.cjs.entry.js +4 -7
- package/dist/cjs/papierjs.cjs.js +3 -6
- package/dist/collection/collection-manifest.json +4 -2
- package/dist/collection/components/breadcrumb/p-breadcrumb/p-breadcrumb.js +2 -3
- package/dist/collection/components/breadcrumb/p-breadcrumb-item/p-breadcrumb-item.js +4 -5
- package/dist/collection/components/dropdown/p-dropdown/p-dropdown.css +2 -1
- package/dist/collection/components/dropdown/p-dropdown/p-dropdown.js +5 -6
- package/dist/collection/components/dropdown/p-dropdown-item/p-dropdown-item.js +4 -5
- package/dist/collection/components/form/p-input-text/input-text.css +6 -0
- package/dist/collection/components/form/p-input-text/input-text.js +16 -17
- package/dist/collection/components/form/p-slider/sliders.js +8 -9
- package/dist/collection/components/form/p-slider/sliders.preview.js +0 -1
- package/dist/collection/components/form/p-switch/switch.js +5 -6
- package/dist/collection/components/form/p-switch-tile/switch-tile.js +6 -7
- package/dist/collection/components/navigation/p-navbar/p-navbar.css +3233 -0
- package/dist/collection/components/navigation/p-navbar/p-navbar.js +151 -0
- package/dist/collection/components/navigation/p-navbar-item/p-navbar-item.css +3248 -0
- package/dist/collection/components/navigation/p-navbar-item/p-navbar-item.js +111 -0
- package/dist/collection/components/notification/p-notification/p-notification.js +6 -7
- package/dist/collection/components/notification/p-notification-handler/p-notification-handler.js +1 -2
- package/dist/collection/components/notification/p-notification-handler/stories/p-notification-preview.js +10 -11
- package/dist/collection/components/p-accordion/p-accordion.css +3 -0
- package/dist/collection/components/p-accordion/p-accordion.js +30 -7
- package/dist/collection/components/p-alert/p-alert.css +2 -1
- package/dist/collection/components/p-alert/p-alert.js +4 -5
- package/dist/collection/components/p-badge/p-badge.js +3 -4
- package/dist/collection/components/p-button/p-button.js +9 -10
- package/dist/collection/components/p-card/p-card.css +4 -2
- package/dist/collection/components/p-card/p-card.js +6 -7
- package/dist/collection/components/p-icon/icons.js +800 -487
- package/dist/collection/components/p-icon/p-icon.js +5 -6
- package/dist/collection/components/p-leaf/p-leaf.js +2 -3
- package/dist/collection/components/p-modal/p-modal.js +1 -2
- package/dist/collection/components/p-progress-bar/p-progress-bar.js +7 -8
- package/dist/collection/components/p-spinner/p-spinner.js +7 -8
- package/dist/collection/components/p-tooltip/p-tooltip.js +8 -9
- package/dist/collection/components/tabs/p-tab/p-tab.js +6 -7
- package/dist/collection/components/tabs/p-tabs/p-tabs.css +2 -1
- package/dist/collection/components/tabs/p-tabs/p-tabs.js +4 -5
- package/dist/collection/index.js +0 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -1598
- package/dist/components/p-5-w_S81x.js +1 -0
- package/dist/components/p-BGN4QYf2.js +1 -0
- package/dist/components/p-C5tpu5nv.js +1 -0
- package/dist/components/p-DLeZLI07.js +1 -0
- package/dist/components/p-DQalURmG.js +1 -0
- package/dist/components/p-DYFuR0tp.js +1 -0
- package/dist/components/p-accordion.js +1 -49
- package/dist/components/p-alert.js +1 -76
- package/dist/components/p-badge.js +1 -52
- package/dist/components/p-breadcrumb-item.js +1 -54
- package/dist/components/p-breadcrumb.js +1 -58
- package/dist/components/p-button.js +1 -9
- package/dist/components/p-card.js +1 -59
- package/dist/components/p-dropdown-item.js +1 -9
- package/dist/components/p-dropdown.js +1 -9
- package/dist/components/p-fjnyWEDB.js +165 -2246
- package/dist/components/p-icon.js +1 -9
- package/dist/components/p-input-text.js +1 -85
- package/dist/components/p-leaf.js +1 -42
- package/dist/components/p-modal.js +1 -50
- package/dist/components/p-navbar-item.d.ts +11 -0
- package/dist/components/p-navbar-item.js +1 -0
- package/dist/components/p-navbar.d.ts +11 -0
- package/dist/components/p-navbar.js +1 -0
- package/dist/components/p-notification-handler.js +1 -9
- package/dist/components/p-notification-preview.js +1 -104
- package/dist/components/p-notification.js +1 -9
- package/dist/components/p-progress-bar.js +1 -87
- package/dist/components/p-slider.js +1 -57
- package/dist/components/p-spinner.js +1 -9
- package/dist/components/p-switch-tile.js +1 -69
- package/dist/components/p-switch.js +1 -61
- package/dist/components/p-tab.js +1 -47
- package/dist/components/p-tabs.js +1 -85
- package/dist/components/p-tooltip.js +1 -49
- package/dist/components/p-wCnrlyQl.js +1 -0
- package/dist/esm/app-globals-DQuL1Twl.js +0 -3
- package/dist/esm/feather-fjnyWEDB.js +0 -3
- package/dist/esm/{index-D_9dM54j.js → index-B4NZTtB_.js} +437 -239
- package/dist/esm/index.js +0 -3
- package/dist/esm/loader.js +3 -6
- package/dist/esm/p-accordion.entry.js +10 -9
- package/dist/esm/p-alert.entry.js +4 -7
- package/dist/esm/p-badge.entry.js +4 -7
- package/dist/esm/p-breadcrumb-item.entry.js +3 -6
- package/dist/esm/p-breadcrumb.entry.js +4 -7
- package/dist/esm/p-button_4.entry.js +11 -14
- package/dist/esm/p-card.entry.js +5 -8
- package/dist/esm/p-icon.entry.js +804 -493
- package/dist/esm/p-input-text.entry.js +5 -8
- package/dist/esm/p-leaf.entry.js +4 -7
- package/dist/esm/p-modal.entry.js +4 -7
- package/dist/esm/p-navbar-item.entry.js +24 -0
- package/dist/esm/p-navbar.entry.js +42 -0
- package/dist/esm/p-notification-preview.entry.js +11 -14
- package/dist/esm/p-notification.entry.js +5 -8
- package/dist/esm/p-progress-bar.entry.js +4 -7
- package/dist/esm/p-slider.entry.js +5 -8
- package/dist/esm/p-spinner.entry.js +5 -8
- package/dist/esm/p-switch-tile.entry.js +4 -7
- package/dist/esm/p-switch.entry.js +4 -7
- package/dist/esm/p-tab.entry.js +5 -8
- package/dist/esm/p-tabs.entry.js +6 -9
- package/dist/esm/p-tooltip.entry.js +4 -7
- package/dist/esm/papierjs.js +4 -7
- package/dist/papierjs/index.esm.js +0 -2
- package/dist/papierjs/p-049a4106.entry.js +1 -0
- package/dist/papierjs/p-0d6ba9a4.entry.js +1 -0
- package/dist/papierjs/p-1071b445.entry.js +1 -0
- package/dist/papierjs/p-18e2b807.entry.js +1 -0
- package/dist/papierjs/p-1e0a94d9.entry.js +1 -0
- package/dist/papierjs/p-3654bad6.entry.js +1 -0
- package/dist/papierjs/p-3be660f1.entry.js +1 -0
- package/dist/papierjs/p-57dc9248.entry.js +1 -0
- package/dist/papierjs/p-59d1a95c.entry.js +1 -0
- package/dist/papierjs/p-6178a41a.entry.js +1 -0
- package/dist/papierjs/p-67ec8731.entry.js +1 -0
- package/dist/papierjs/p-6b73ff84.entry.js +1 -0
- package/dist/papierjs/p-72477120.entry.js +1 -0
- package/dist/papierjs/p-8d4911ee.entry.js +1 -0
- package/dist/papierjs/p-8dfc72ce.entry.js +1 -0
- package/dist/papierjs/p-B4NZTtB_.js +2 -0
- package/dist/papierjs/p-DQuL1Twl.js +1 -2
- package/dist/papierjs/p-a0a5a5f8.entry.js +1 -0
- package/dist/papierjs/p-a2a46625.entry.js +1 -0
- package/dist/papierjs/p-b3ff9364.entry.js +1 -0
- package/dist/papierjs/p-c7d6c23a.entry.js +1 -0
- package/dist/papierjs/p-d6e3f78d.entry.js +1 -0
- package/dist/papierjs/p-d6fa2cc2.entry.js +1 -0
- package/dist/papierjs/p-d8f96a15.entry.js +1 -0
- package/dist/papierjs/p-d9520b51.entry.js +1 -0
- package/dist/papierjs/p-fjnyWEDB.js +79 -80
- package/dist/papierjs/papierjs.esm.js +1 -2
- package/dist/types/components/form/p-input-text/input-text.d.ts +3 -0
- package/dist/types/components/navigation/p-navbar/p-navbar.d.ts +16 -0
- package/dist/types/components/navigation/p-navbar-item/p-navbar-item.d.ts +12 -0
- package/dist/types/components/p-accordion/p-accordion.d.ts +1 -0
- package/dist/types/components.d.ts +282 -45
- package/dist/types/stencil-public-runtime.d.ts +155 -6
- package/package.json +26 -25
- package/readme.md +3 -4
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +0 -1
- package/dist/cjs/feather-hhpdTUdS.js.map +0 -1
- package/dist/cjs/index-BLkeAjdP.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/p-accordion.cjs.entry.js.map +0 -1
- package/dist/cjs/p-accordion.entry.cjs.js.map +0 -1
- package/dist/cjs/p-alert.cjs.entry.js.map +0 -1
- package/dist/cjs/p-alert.entry.cjs.js.map +0 -1
- package/dist/cjs/p-badge.cjs.entry.js.map +0 -1
- package/dist/cjs/p-badge.entry.cjs.js.map +0 -1
- package/dist/cjs/p-breadcrumb-item.cjs.entry.js.map +0 -1
- package/dist/cjs/p-breadcrumb-item.entry.cjs.js.map +0 -1
- package/dist/cjs/p-breadcrumb.cjs.entry.js.map +0 -1
- package/dist/cjs/p-breadcrumb.entry.cjs.js.map +0 -1
- package/dist/cjs/p-button.p-dropdown.p-dropdown-item.p-notification-handler.entry.cjs.js.map +0 -1
- package/dist/cjs/p-button_4.cjs.entry.js.map +0 -1
- package/dist/cjs/p-card.cjs.entry.js.map +0 -1
- package/dist/cjs/p-card.entry.cjs.js.map +0 -1
- package/dist/cjs/p-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/p-icon.entry.cjs.js.map +0 -1
- package/dist/cjs/p-input-text.cjs.entry.js.map +0 -1
- package/dist/cjs/p-input-text.entry.cjs.js.map +0 -1
- package/dist/cjs/p-leaf.cjs.entry.js.map +0 -1
- package/dist/cjs/p-leaf.entry.cjs.js.map +0 -1
- package/dist/cjs/p-modal.cjs.entry.js.map +0 -1
- package/dist/cjs/p-modal.entry.cjs.js.map +0 -1
- package/dist/cjs/p-notification-preview.cjs.entry.js.map +0 -1
- package/dist/cjs/p-notification-preview.entry.cjs.js.map +0 -1
- package/dist/cjs/p-notification.cjs.entry.js.map +0 -1
- package/dist/cjs/p-notification.entry.cjs.js.map +0 -1
- package/dist/cjs/p-progress-bar.cjs.entry.js.map +0 -1
- package/dist/cjs/p-progress-bar.entry.cjs.js.map +0 -1
- package/dist/cjs/p-slider.cjs.entry.js.map +0 -1
- package/dist/cjs/p-slider.entry.cjs.js.map +0 -1
- package/dist/cjs/p-spinner.cjs.entry.js.map +0 -1
- package/dist/cjs/p-spinner.entry.cjs.js.map +0 -1
- package/dist/cjs/p-switch-tile.cjs.entry.js.map +0 -1
- package/dist/cjs/p-switch-tile.entry.cjs.js.map +0 -1
- package/dist/cjs/p-switch.cjs.entry.js.map +0 -1
- package/dist/cjs/p-switch.entry.cjs.js.map +0 -1
- package/dist/cjs/p-tab.cjs.entry.js.map +0 -1
- package/dist/cjs/p-tab.entry.cjs.js.map +0 -1
- package/dist/cjs/p-tabs.cjs.entry.js.map +0 -1
- package/dist/cjs/p-tabs.entry.cjs.js.map +0 -1
- package/dist/cjs/p-tooltip.cjs.entry.js.map +0 -1
- package/dist/cjs/p-tooltip.entry.cjs.js.map +0 -1
- package/dist/cjs/papierjs.cjs.js.map +0 -1
- package/dist/collection/components/breadcrumb/p-breadcrumb/p-breadcrumb.js.map +0 -1
- package/dist/collection/components/breadcrumb/p-breadcrumb-item/p-breadcrumb-item.js.map +0 -1
- package/dist/collection/components/dropdown/p-dropdown/p-dropdown.js.map +0 -1
- package/dist/collection/components/dropdown/p-dropdown-item/p-dropdown-item.js.map +0 -1
- package/dist/collection/components/form/p-input-text/input-text.js.map +0 -1
- package/dist/collection/components/form/p-slider/sliders.js.map +0 -1
- package/dist/collection/components/form/p-slider/sliders.preview.js.map +0 -1
- package/dist/collection/components/form/p-switch/switch.js.map +0 -1
- package/dist/collection/components/form/p-switch-tile/switch-tile.js.map +0 -1
- package/dist/collection/components/notification/p-notification/p-notification.js.map +0 -1
- package/dist/collection/components/notification/p-notification-handler/p-notification-handler.js.map +0 -1
- package/dist/collection/components/notification/p-notification-handler/stories/p-notification-preview.js.map +0 -1
- package/dist/collection/components/p-accordion/p-accordion.js.map +0 -1
- package/dist/collection/components/p-alert/p-alert.js.map +0 -1
- package/dist/collection/components/p-badge/p-badge.js.map +0 -1
- package/dist/collection/components/p-button/p-button.js.map +0 -1
- package/dist/collection/components/p-card/p-card.js.map +0 -1
- package/dist/collection/components/p-icon/icons.js.map +0 -1
- package/dist/collection/components/p-icon/p-icon.js.map +0 -1
- package/dist/collection/components/p-leaf/p-leaf.js.map +0 -1
- package/dist/collection/components/p-modal/p-modal.js.map +0 -1
- package/dist/collection/components/p-modal/stories/modal.preview.js +0 -19
- package/dist/collection/components/p-progress-bar/p-progress-bar.js.map +0 -1
- package/dist/collection/components/p-progress-bar/stories/progress-bar.preview.js +0 -23
- package/dist/collection/components/p-progress-bar/stories/progress-bar.preview.js.map +0 -1
- package/dist/collection/components/p-spinner/p-spinner.js.map +0 -1
- package/dist/collection/components/p-tooltip/p-tooltip.js.map +0 -1
- package/dist/collection/components/tabs/p-tab/p-tab.js.map +0 -1
- package/dist/collection/components/tabs/p-tabs/p-tabs.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/components/p-BG8QQjTj.js +0 -81
- package/dist/components/p-BG8QQjTj.js.map +0 -1
- package/dist/components/p-BoXBUJUF.js +0 -53
- package/dist/components/p-BoXBUJUF.js.map +0 -1
- package/dist/components/p-C1WiDOUO.js +0 -533
- package/dist/components/p-C1WiDOUO.js.map +0 -1
- package/dist/components/p-D-0lSopu.js +0 -78
- package/dist/components/p-D-0lSopu.js.map +0 -1
- package/dist/components/p-DTXRchKU.js +0 -93
- package/dist/components/p-DTXRchKU.js.map +0 -1
- package/dist/components/p-Dfl1qwUC.js +0 -49
- package/dist/components/p-Dfl1qwUC.js.map +0 -1
- package/dist/components/p-Ixyl16zU.js +0 -102
- package/dist/components/p-Ixyl16zU.js.map +0 -1
- package/dist/components/p-accordion.js.map +0 -1
- package/dist/components/p-alert.js.map +0 -1
- package/dist/components/p-badge.js.map +0 -1
- package/dist/components/p-breadcrumb-item.js.map +0 -1
- package/dist/components/p-breadcrumb.js.map +0 -1
- package/dist/components/p-button.js.map +0 -1
- package/dist/components/p-card.js.map +0 -1
- package/dist/components/p-dropdown-item.js.map +0 -1
- package/dist/components/p-dropdown.js.map +0 -1
- package/dist/components/p-fjnyWEDB.js.map +0 -1
- package/dist/components/p-icon.js.map +0 -1
- package/dist/components/p-input-text.js.map +0 -1
- package/dist/components/p-leaf.js.map +0 -1
- package/dist/components/p-modal.js.map +0 -1
- package/dist/components/p-notification-handler.js.map +0 -1
- package/dist/components/p-notification-preview.js.map +0 -1
- package/dist/components/p-notification.js.map +0 -1
- package/dist/components/p-progress-bar.js.map +0 -1
- package/dist/components/p-slider.js.map +0 -1
- package/dist/components/p-spinner.js.map +0 -1
- package/dist/components/p-switch-tile.js.map +0 -1
- package/dist/components/p-switch.js.map +0 -1
- package/dist/components/p-tab.js.map +0 -1
- package/dist/components/p-tabs.js.map +0 -1
- package/dist/components/p-tooltip.js.map +0 -1
- package/dist/esm/app-globals-DQuL1Twl.js.map +0 -1
- package/dist/esm/feather-fjnyWEDB.js.map +0 -1
- package/dist/esm/index-D_9dM54j.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/p-accordion.entry.js.map +0 -1
- package/dist/esm/p-alert.entry.js.map +0 -1
- package/dist/esm/p-badge.entry.js.map +0 -1
- package/dist/esm/p-breadcrumb-item.entry.js.map +0 -1
- package/dist/esm/p-breadcrumb.entry.js.map +0 -1
- package/dist/esm/p-button.p-dropdown.p-dropdown-item.p-notification-handler.entry.js.map +0 -1
- package/dist/esm/p-button_4.entry.js.map +0 -1
- package/dist/esm/p-card.entry.js.map +0 -1
- package/dist/esm/p-icon.entry.js.map +0 -1
- package/dist/esm/p-input-text.entry.js.map +0 -1
- package/dist/esm/p-leaf.entry.js.map +0 -1
- package/dist/esm/p-modal.entry.js.map +0 -1
- package/dist/esm/p-notification-preview.entry.js.map +0 -1
- package/dist/esm/p-notification.entry.js.map +0 -1
- package/dist/esm/p-progress-bar.entry.js.map +0 -1
- package/dist/esm/p-slider.entry.js.map +0 -1
- package/dist/esm/p-spinner.entry.js.map +0 -1
- package/dist/esm/p-switch-tile.entry.js.map +0 -1
- package/dist/esm/p-switch.entry.js.map +0 -1
- package/dist/esm/p-tab.entry.js.map +0 -1
- package/dist/esm/p-tabs.entry.js.map +0 -1
- package/dist/esm/p-tooltip.entry.js.map +0 -1
- package/dist/esm/papierjs.js.map +0 -1
- package/dist/papierjs/index.esm.js.map +0 -1
- package/dist/papierjs/loader.esm.js.map +0 -1
- package/dist/papierjs/p-06e2ec9e.entry.js +0 -2
- package/dist/papierjs/p-06e2ec9e.entry.js.map +0 -1
- package/dist/papierjs/p-0cf51930.entry.js +0 -2
- package/dist/papierjs/p-0cf51930.entry.js.map +0 -1
- package/dist/papierjs/p-143bbaaa.entry.js +0 -2
- package/dist/papierjs/p-143bbaaa.entry.js.map +0 -1
- package/dist/papierjs/p-145622ef.entry.js +0 -2
- package/dist/papierjs/p-145622ef.entry.js.map +0 -1
- package/dist/papierjs/p-2edc68be.entry.js +0 -2
- package/dist/papierjs/p-2edc68be.entry.js.map +0 -1
- package/dist/papierjs/p-4661561e.entry.js +0 -2
- package/dist/papierjs/p-4661561e.entry.js.map +0 -1
- package/dist/papierjs/p-47711f14.entry.js +0 -2
- package/dist/papierjs/p-47711f14.entry.js.map +0 -1
- package/dist/papierjs/p-4b20a14f.entry.js +0 -2
- package/dist/papierjs/p-4b20a14f.entry.js.map +0 -1
- package/dist/papierjs/p-55ab1a5c.entry.js +0 -2
- package/dist/papierjs/p-55ab1a5c.entry.js.map +0 -1
- package/dist/papierjs/p-584a8668.entry.js +0 -2
- package/dist/papierjs/p-584a8668.entry.js.map +0 -1
- package/dist/papierjs/p-76da6759.entry.js +0 -2
- package/dist/papierjs/p-76da6759.entry.js.map +0 -1
- package/dist/papierjs/p-7ff3b05b.entry.js +0 -2
- package/dist/papierjs/p-7ff3b05b.entry.js.map +0 -1
- package/dist/papierjs/p-8ab5c78c.entry.js +0 -2
- package/dist/papierjs/p-8ab5c78c.entry.js.map +0 -1
- package/dist/papierjs/p-8f7beefb.entry.js +0 -2
- package/dist/papierjs/p-8f7beefb.entry.js.map +0 -1
- package/dist/papierjs/p-DQuL1Twl.js.map +0 -1
- package/dist/papierjs/p-D_9dM54j.js +0 -3
- package/dist/papierjs/p-D_9dM54j.js.map +0 -1
- package/dist/papierjs/p-accordion.entry.esm.js.map +0 -1
- package/dist/papierjs/p-alert.entry.esm.js.map +0 -1
- package/dist/papierjs/p-badge.entry.esm.js.map +0 -1
- package/dist/papierjs/p-breadcrumb-item.entry.esm.js.map +0 -1
- package/dist/papierjs/p-breadcrumb.entry.esm.js.map +0 -1
- package/dist/papierjs/p-button.p-dropdown.p-dropdown-item.p-notification-handler.entry.esm.js.map +0 -1
- package/dist/papierjs/p-c2525bb6.entry.js +0 -2
- package/dist/papierjs/p-c2525bb6.entry.js.map +0 -1
- package/dist/papierjs/p-c28e86c9.entry.js +0 -2
- package/dist/papierjs/p-c28e86c9.entry.js.map +0 -1
- package/dist/papierjs/p-card.entry.esm.js.map +0 -1
- package/dist/papierjs/p-ce23e06d.entry.js +0 -2
- package/dist/papierjs/p-ce23e06d.entry.js.map +0 -1
- package/dist/papierjs/p-d0848378.entry.js +0 -2
- package/dist/papierjs/p-d0848378.entry.js.map +0 -1
- package/dist/papierjs/p-e656b497.entry.js +0 -2
- package/dist/papierjs/p-e656b497.entry.js.map +0 -1
- package/dist/papierjs/p-f1d4da9a.entry.js +0 -2
- package/dist/papierjs/p-f1d4da9a.entry.js.map +0 -1
- package/dist/papierjs/p-f56b1321.entry.js +0 -2
- package/dist/papierjs/p-f56b1321.entry.js.map +0 -1
- package/dist/papierjs/p-fjnyWEDB.js.map +0 -1
- package/dist/papierjs/p-icon.entry.esm.js.map +0 -1
- package/dist/papierjs/p-input-text.entry.esm.js.map +0 -1
- package/dist/papierjs/p-leaf.entry.esm.js.map +0 -1
- package/dist/papierjs/p-modal.entry.esm.js.map +0 -1
- package/dist/papierjs/p-notification-preview.entry.esm.js.map +0 -1
- package/dist/papierjs/p-notification.entry.esm.js.map +0 -1
- package/dist/papierjs/p-progress-bar.entry.esm.js.map +0 -1
- package/dist/papierjs/p-slider.entry.esm.js.map +0 -1
- package/dist/papierjs/p-spinner.entry.esm.js.map +0 -1
- package/dist/papierjs/p-switch-tile.entry.esm.js.map +0 -1
- package/dist/papierjs/p-switch.entry.esm.js.map +0 -1
- package/dist/papierjs/p-tab.entry.esm.js.map +0 -1
- package/dist/papierjs/p-tabs.entry.esm.js.map +0 -1
- package/dist/papierjs/p-tooltip.entry.esm.js.map +0 -1
- package/dist/papierjs/papierjs.esm.js.map +0 -1
- package/dist/types/components/p-progress-bar/stories/progress-bar.preview.d.ts +0 -1
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
type CustomMethodDecorator<T> = (target: object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
|
|
2
|
+
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
3
|
+
type MixinInstance<F> = F extends (base: MixedInCtor) => MixedInCtor<infer I> ? I : never;
|
|
2
4
|
export interface ComponentDecorator {
|
|
3
5
|
(opts?: ComponentOptions): ClassDecorator;
|
|
4
6
|
}
|
|
@@ -61,6 +63,12 @@ export interface ShadowRootOptions {
|
|
|
61
63
|
* focusable part is given focus, and the shadow host is given any available `:focus` styling.
|
|
62
64
|
*/
|
|
63
65
|
delegatesFocus?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Sets the slot assignment mode for the shadow root. When set to `'manual'`, enables imperative
|
|
68
|
+
* slotting using the `HTMLSlotElement.assign()` method. Defaults to `'named'` for standard
|
|
69
|
+
* declarative slotting behavior.
|
|
70
|
+
*/
|
|
71
|
+
slotAssignment?: 'manual' | 'named';
|
|
64
72
|
}
|
|
65
73
|
export interface ModeStyles {
|
|
66
74
|
[modeName: string]: string | string[];
|
|
@@ -117,12 +125,34 @@ export interface EventOptions {
|
|
|
117
125
|
*/
|
|
118
126
|
composed?: boolean;
|
|
119
127
|
}
|
|
128
|
+
export interface AttachInternalsOptions {
|
|
129
|
+
/**
|
|
130
|
+
* Initial custom states to set on the ElementInternals.states CustomStateSet.
|
|
131
|
+
* Each key is the state name and the value is the initial boolean state.
|
|
132
|
+
*
|
|
133
|
+
* These states can be targeted with the CSS `:state()` pseudo-class.
|
|
134
|
+
*
|
|
135
|
+
* @example
|
|
136
|
+
* ```tsx
|
|
137
|
+
* @AttachInternals({ states: { open: true, active: false } })
|
|
138
|
+
* internals: ElementInternals;
|
|
139
|
+
* ```
|
|
140
|
+
*
|
|
141
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/CustomStateSet
|
|
142
|
+
*/
|
|
143
|
+
states?: {
|
|
144
|
+
[stateName: string]: boolean;
|
|
145
|
+
};
|
|
146
|
+
}
|
|
120
147
|
export interface AttachInternalsDecorator {
|
|
121
|
-
(): PropertyDecorator;
|
|
148
|
+
(opts?: AttachInternalsOptions): PropertyDecorator;
|
|
122
149
|
}
|
|
123
150
|
export interface ListenDecorator {
|
|
124
151
|
(eventName: string, opts?: ListenOptions): CustomMethodDecorator<any>;
|
|
125
152
|
}
|
|
153
|
+
export interface ResolveVarFunction {
|
|
154
|
+
<T>(variable: T): string;
|
|
155
|
+
}
|
|
126
156
|
export interface ListenOptions {
|
|
127
157
|
/**
|
|
128
158
|
* Handlers can also be registered for an event other than the host itself.
|
|
@@ -151,7 +181,15 @@ export interface StateDecorator {
|
|
|
151
181
|
(): PropertyDecorator;
|
|
152
182
|
}
|
|
153
183
|
export interface WatchDecorator {
|
|
154
|
-
(propName:
|
|
184
|
+
(propName: any, watchOptions?: {
|
|
185
|
+
immediate?: boolean;
|
|
186
|
+
}): CustomMethodDecorator<(newValue?: any, oldValue?: any, propName?: any, ...args: any[]) => any | void>;
|
|
187
|
+
}
|
|
188
|
+
export interface PropSerializeDecorator {
|
|
189
|
+
(propName: any): CustomMethodDecorator<(newValue?: any, propName?: string, ...args: any[]) => string | null>;
|
|
190
|
+
}
|
|
191
|
+
export interface AttrDeserializeDecorator {
|
|
192
|
+
(propName: any): CustomMethodDecorator<(newValue?: any, propName?: string, ...args: any[]) => any>;
|
|
155
193
|
}
|
|
156
194
|
export interface UserBuildConditionals {
|
|
157
195
|
isDev: boolean;
|
|
@@ -200,6 +238,24 @@ export declare const AttachInternals: AttachInternalsDecorator;
|
|
|
200
238
|
* https://stenciljs.com/docs/events#listen-decorator
|
|
201
239
|
*/
|
|
202
240
|
export declare const Listen: ListenDecorator;
|
|
241
|
+
/**
|
|
242
|
+
* The `resolveVar()` function is a compile-time utility that resolves const variables
|
|
243
|
+
* and object properties to their string literal values. This allows variables to be
|
|
244
|
+
* used in `@Listen` and `@Event` decorators instead of hardcoded strings.
|
|
245
|
+
*
|
|
246
|
+
* @example
|
|
247
|
+
* ```ts
|
|
248
|
+
* const MY_EVENT = 'myEvent';
|
|
249
|
+
* @Listen(resolveVar(MY_EVENT))
|
|
250
|
+
* ```
|
|
251
|
+
*
|
|
252
|
+
* @example
|
|
253
|
+
* ```ts
|
|
254
|
+
* const EVENTS = { MY_EVENT: 'myEvent' } as const;
|
|
255
|
+
* @Event({ eventName: resolveVar(EVENTS.MY_EVENT) })
|
|
256
|
+
* ```
|
|
257
|
+
*/
|
|
258
|
+
export declare const resolveVar: ResolveVarFunction;
|
|
203
259
|
/**
|
|
204
260
|
* The `@Method()` decorator is used to expose methods on the public API.
|
|
205
261
|
* Class methods decorated with the @Method() decorator can be called directly
|
|
@@ -233,6 +289,14 @@ export declare const State: StateDecorator;
|
|
|
233
289
|
* https://stenciljs.com/docs/reactive-data#watch-decorator
|
|
234
290
|
*/
|
|
235
291
|
export declare const Watch: WatchDecorator;
|
|
292
|
+
/**
|
|
293
|
+
* Decorator to serialize a property to an attribute string.
|
|
294
|
+
*/
|
|
295
|
+
export declare const PropSerialize: PropSerializeDecorator;
|
|
296
|
+
/**
|
|
297
|
+
* Decorator to deserialize an attribute string to a property.
|
|
298
|
+
*/
|
|
299
|
+
export declare const AttrDeserialize: AttrDeserializeDecorator;
|
|
236
300
|
export type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
|
|
237
301
|
export type ErrorHandler = (err: any, element?: HTMLElement) => void;
|
|
238
302
|
/**
|
|
@@ -349,6 +413,58 @@ export declare function readTask(task: RafCallback): void;
|
|
|
349
413
|
* Unhandled exception raised while rendering, during event handling, or lifecycles will trigger the custom event handler.
|
|
350
414
|
*/
|
|
351
415
|
export declare const setErrorHandler: (handler: ErrorHandler) => void;
|
|
416
|
+
export type TagTransformer = (tag: string) => string;
|
|
417
|
+
/**
|
|
418
|
+
* Sets a tag transformer to be used when rendering your custom elements.
|
|
419
|
+
* ```ts
|
|
420
|
+
* setTagTransformer((tag) => {
|
|
421
|
+
* if (tag.startsWith('my-')) return `new-${tag}`
|
|
422
|
+
* return tag;
|
|
423
|
+
* });
|
|
424
|
+
* ```
|
|
425
|
+
* Will mean all your components that start with `my-` are defined instead with `new-my-` prefix.
|
|
426
|
+
*
|
|
427
|
+
* @param transformer the transformer function to use which must return a string.
|
|
428
|
+
*/
|
|
429
|
+
export declare function setTagTransformer(transformer: TagTransformer): void;
|
|
430
|
+
/**
|
|
431
|
+
* Transforms a tag name using a transformer set via `setTagTransformer`
|
|
432
|
+
*
|
|
433
|
+
* @param tag - the tag to transform e.g. `my-tag`
|
|
434
|
+
* @returns the transformed tag e.g. `new-my-tag`
|
|
435
|
+
*/
|
|
436
|
+
export declare function transformTag(tag: string): string;
|
|
437
|
+
/**
|
|
438
|
+
* @deprecated - Use `MixedInCtor` instead:
|
|
439
|
+
* ```ts
|
|
440
|
+
* import { MixedInCtor } from '@stencil/core';
|
|
441
|
+
*
|
|
442
|
+
* const AFactoryFn = <B extends MixedInCtor>(Base: B) => {class A extends Base { propA = A }; return A;}
|
|
443
|
+
* ```
|
|
444
|
+
*/
|
|
445
|
+
export type MixinFactory = (base: MixedInCtor) => MixedInCtor;
|
|
446
|
+
export type MixedInCtor<T = {}> = new (...args: any[]) => T;
|
|
447
|
+
/**
|
|
448
|
+
* Compose multiple mixin classes into a single constructor.
|
|
449
|
+
* The resulting class has the combined instance types of all mixed-in classes.
|
|
450
|
+
*
|
|
451
|
+
* Example:
|
|
452
|
+
* ```ts
|
|
453
|
+
* import { Mixin, MixedInCtor } from '@stencil/core';
|
|
454
|
+
*
|
|
455
|
+
* const AWrap = <B extends MixedInCtor>(Base: B) => {class A extends Base { propA = A }; return A;}
|
|
456
|
+
* const BWrap = <B extends MixedInCtor>(Base: B) => {class B extends Base { propB = B }; return B;}
|
|
457
|
+
* const CWrap = <B extends MixedInCtor>(Base: B) => {class C extends Base { propC = C }; return C;}
|
|
458
|
+
*
|
|
459
|
+
* class X extends Mixin(AWrap, BWrap, CWrap) {
|
|
460
|
+
* render() { return <div>{this.propA} {this.propB} {this.propC}</div>; }
|
|
461
|
+
* }
|
|
462
|
+
* ```
|
|
463
|
+
*
|
|
464
|
+
* @param mixinFactories mixin factory functions that return a class which extends from the provided class.
|
|
465
|
+
* @returns a class that is composed from extending each of the provided classes in the order they were provided.
|
|
466
|
+
*/
|
|
467
|
+
export declare function Mixin<const TMixins extends readonly MixinFactory[]>(...mixinFactories: TMixins): abstract new (...args: any[]) => UnionToIntersection<MixinInstance<TMixins[number]>>;
|
|
352
468
|
/**
|
|
353
469
|
* This file gets copied to all distributions of stencil component collections.
|
|
354
470
|
* - no imports
|
|
@@ -521,7 +637,7 @@ export interface FunctionalUtilities {
|
|
|
521
637
|
map: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => ChildNode) => VNode[];
|
|
522
638
|
}
|
|
523
639
|
export interface FunctionalComponent<T = {}> {
|
|
524
|
-
(props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[];
|
|
640
|
+
(props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[] | null;
|
|
525
641
|
}
|
|
526
642
|
/**
|
|
527
643
|
* A Child VDOM node
|
|
@@ -576,6 +692,35 @@ export declare function h(sel: any, text: string): VNode;
|
|
|
576
692
|
export declare function h(sel: any, children: Array<VNode | undefined | null>): VNode;
|
|
577
693
|
export declare function h(sel: any, data: VNodeData | null, text: string): VNode;
|
|
578
694
|
export declare function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
|
|
695
|
+
/**
|
|
696
|
+
* Automatic JSX runtime functions for TypeScript's react-jsx mode.
|
|
697
|
+
* These functions are called automatically by TypeScript when using "jsx": "react-jsx".
|
|
698
|
+
* @param type type of node
|
|
699
|
+
* @param props properties of node
|
|
700
|
+
* @param key optional key for the node
|
|
701
|
+
* @returns a jsx vnode
|
|
702
|
+
*/
|
|
703
|
+
export declare function jsx(type: any, props: any, key?: string): VNode;
|
|
704
|
+
/**
|
|
705
|
+
* Automatic JSX runtime functions for TypeScript's react-jsxmode with multiple children.
|
|
706
|
+
* @param type type of node
|
|
707
|
+
* @param props properties of node
|
|
708
|
+
* @param key optional key for the node
|
|
709
|
+
* @returns a jsx vnode
|
|
710
|
+
*/
|
|
711
|
+
export declare function jsxs(type: any, props: any, key?: string): VNode;
|
|
712
|
+
/**
|
|
713
|
+
* Automatic JSX runtime functions for TypeScript's react-jsxdev mode.
|
|
714
|
+
* These functions are called automatically by TypeScript when using "jsx": "react-jsxdev".
|
|
715
|
+
* @param type type of node
|
|
716
|
+
* @param props properties of node
|
|
717
|
+
* @param key optional key for the node
|
|
718
|
+
* @param isStaticChildren indicates if the children are static
|
|
719
|
+
* @param source source information
|
|
720
|
+
* @param self reference to the component instance
|
|
721
|
+
* @returns a jsx vnode
|
|
722
|
+
*/
|
|
723
|
+
export declare function jsxDEV(type: any, props: any, key?: string | number, isStaticChildren?: boolean, source?: any, self?: any): VNode;
|
|
579
724
|
export declare function h(sel: any, data: VNodeData | null, children: VNode): VNode;
|
|
580
725
|
/**
|
|
581
726
|
* A virtual DOM node
|
|
@@ -606,7 +751,7 @@ declare namespace LocalJSX {
|
|
|
606
751
|
export { LocalJSX as JSX };
|
|
607
752
|
export declare namespace JSXBase {
|
|
608
753
|
interface IntrinsicElements {
|
|
609
|
-
slot: JSXBase.SlotAttributes
|
|
754
|
+
slot: JSXBase.SlotAttributes<HTMLSlotElement>;
|
|
610
755
|
a: JSXBase.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
611
756
|
abbr: JSXBase.HTMLAttributes;
|
|
612
757
|
address: JSXBase.HTMLAttributes;
|
|
@@ -776,7 +921,7 @@ export declare namespace JSXBase {
|
|
|
776
921
|
use: JSXBase.SVGAttributes;
|
|
777
922
|
view: JSXBase.SVGAttributes;
|
|
778
923
|
}
|
|
779
|
-
interface SlotAttributes extends JSXAttributes {
|
|
924
|
+
interface SlotAttributes<T = HTMLSlotElement> extends JSXAttributes<T> {
|
|
780
925
|
name?: string;
|
|
781
926
|
slot?: string;
|
|
782
927
|
onSlotchange?: (event: Event) => void;
|
|
@@ -832,6 +977,9 @@ export declare namespace JSXBase {
|
|
|
832
977
|
popoverTargetAction?: string;
|
|
833
978
|
popoverTargetElement?: Element | null;
|
|
834
979
|
popoverTarget?: string;
|
|
980
|
+
command?: string;
|
|
981
|
+
commandFor?: string;
|
|
982
|
+
commandfor?: string;
|
|
835
983
|
}
|
|
836
984
|
interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
837
985
|
height?: number | string;
|
|
@@ -1700,6 +1848,7 @@ export interface CustomElementsDefineOptions {
|
|
|
1700
1848
|
exclude?: string[];
|
|
1701
1849
|
resourcesUrl?: string;
|
|
1702
1850
|
syncQueue?: boolean;
|
|
1851
|
+
/** @deprecated in-favour of `setTagTransformer` and `transformTag` */
|
|
1703
1852
|
transformTagName?: (tagName: string) => string;
|
|
1704
1853
|
jmp?: (c: Function) => any;
|
|
1705
1854
|
raf?: (c: FrameRequestCallback) => number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amiceli/papierjs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "Papercss web components",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -40,45 +40,46 @@
|
|
|
40
40
|
"loader/"
|
|
41
41
|
],
|
|
42
42
|
"scripts": {
|
|
43
|
+
"build:all": "npm run build && npm run build:histoire",
|
|
44
|
+
"dev": "npx histoire dev",
|
|
43
45
|
"build:icon": "node scripts/copy-svg.js",
|
|
44
|
-
"build": "npm run build:icon && stencil build",
|
|
46
|
+
"build": "npm run build:icon && stencil build --doc",
|
|
45
47
|
"build:watch": "npm run build:icon && stencil build --watch",
|
|
48
|
+
"build:histoire": "npx histoire build",
|
|
46
49
|
"start": "stencil build --dev --watch --serve",
|
|
47
50
|
"test": "stencil test --spec --e2e",
|
|
48
51
|
"test.watch": "stencil test --spec --e2e --watchAll",
|
|
49
52
|
"generate": "stencil generate",
|
|
50
|
-
"
|
|
51
|
-
"build-storybook": "storybook build",
|
|
52
|
-
"lint": "biome check ."
|
|
53
|
+
"lint": "biome check --write."
|
|
53
54
|
},
|
|
54
55
|
"overrides": {
|
|
55
56
|
"@types/node": "*"
|
|
56
57
|
},
|
|
57
58
|
"devDependencies": {
|
|
58
|
-
"@biomejs/biome": "2.
|
|
59
|
-
"@commitlint/cli": "
|
|
60
|
-
"@commitlint/config-conventional": "
|
|
61
|
-
"@
|
|
62
|
-
"@stencil/
|
|
63
|
-
"@
|
|
64
|
-
"@
|
|
65
|
-
"@types/
|
|
66
|
-
"@
|
|
67
|
-
"dotenv": "
|
|
68
|
-
"
|
|
69
|
-
"jest
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"vite-plugin-live-reload": "^3.0.5"
|
|
59
|
+
"@biomejs/biome": "2.4.9",
|
|
60
|
+
"@commitlint/cli": "20.5.0",
|
|
61
|
+
"@commitlint/config-conventional": "20.5.0",
|
|
62
|
+
"@histoire/plugin-vue": "1.0.0-beta.1",
|
|
63
|
+
"@stencil/core": "4.43.0",
|
|
64
|
+
"@stencil/sass": "3.2.3",
|
|
65
|
+
"@types/jest": "29.5.14",
|
|
66
|
+
"@types/node": "22.16.5",
|
|
67
|
+
"@vitejs/plugin-vue": "6.0.4",
|
|
68
|
+
"dotenv": "17.3.1",
|
|
69
|
+
"histoire": "1.0.0-beta.1",
|
|
70
|
+
"jest": "29.7.0",
|
|
71
|
+
"jest-cli": "29.7.0",
|
|
72
|
+
"lefthook": "2.1.1",
|
|
73
|
+
"stencil-inline-svg": "1.1.0"
|
|
74
74
|
},
|
|
75
75
|
"optionalDependencies": {
|
|
76
|
-
"puppeteer": "
|
|
76
|
+
"puppeteer": "24.40.0"
|
|
77
77
|
},
|
|
78
78
|
"license": "MIT",
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"feather-icons": "
|
|
81
|
-
"
|
|
82
|
-
"
|
|
80
|
+
"feather-icons": "4.29.2",
|
|
81
|
+
"markstream-vue": "0.0.7-beta.8",
|
|
82
|
+
"papercss": "1.9.2",
|
|
83
|
+
"pixelarticons": "2.0.2"
|
|
83
84
|
}
|
|
84
85
|
}
|
package/readme.md
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app-globals-V2Kpy_OQ.js","sources":["@stencil/core/internal/app-globals"],"sourcesContent":["export const globalScripts = () => {};\nexport const globalStyles = \"\";\n"],"names":[],"mappings":";;AAAY,MAAC,aAAa,GAAG,MAAM;;;;"}
|