@xplortech/apollo-core 1.0.0-beta.8 → 2.4.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/.typings/apollo-components.html-data.json +4396 -0
- package/README.md +57 -25
- package/build/style.css +4374 -3359
- package/dist/apollo-core/apollo-core.css +50 -24
- package/dist/apollo-core/apollo-core.esm.js +1 -1
- package/dist/apollo-core/p-0ac33b3a.entry.js +1 -0
- package/dist/apollo-core/p-23ef2717.entry.js +6 -0
- package/dist/apollo-core/p-31461db7.entry.js +1 -0
- package/dist/apollo-core/p-3b5f8989.entry.js +1 -0
- package/dist/apollo-core/p-4fab8172.entry.js +1 -0
- package/dist/apollo-core/p-576ce90f.entry.js +1 -0
- package/dist/apollo-core/p-5ec45742.entry.js +1 -0
- package/dist/apollo-core/p-7b7db57a.entry.js +1 -0
- package/dist/apollo-core/p-7f8e5cd0.entry.js +1 -0
- package/dist/apollo-core/p-812bb0e4.entry.js +1 -0
- package/dist/apollo-core/p-845eef0d.entry.js +1 -0
- package/dist/apollo-core/p-8c1f73ea.entry.js +1 -0
- package/dist/apollo-core/p-94209785.entry.js +1 -0
- package/dist/apollo-core/p-9853028c.entry.js +1 -0
- package/dist/apollo-core/p-9d65ece7.entry.js +1 -0
- package/dist/apollo-core/p-CH4yJ6Qx.js +1 -0
- package/dist/apollo-core/p-Cqlsd6nf.js +1 -0
- package/dist/apollo-core/p-DQuL1Twl.js +1 -0
- package/dist/apollo-core/p-DhZas3eX.js +2 -0
- package/dist/apollo-core/p-b1f4604d.entry.js +1 -0
- package/dist/apollo-core/p-be292555.entry.js +1 -0
- package/dist/cjs/apollo-core.cjs.js +15 -13
- package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
- package/dist/{esm/xpl-input.entry.js → cjs/index-BvmWjxWc.js} +2 -94
- package/dist/cjs/index-D__N_vw2.js +2160 -0
- package/dist/cjs/loader.cjs.js +6 -15
- package/dist/cjs/{v4-14140ff3.js → v4-D4KzFnn8.js} +1 -11
- package/dist/cjs/xpl-accordion.cjs.entry.js +73 -0
- package/dist/cjs/xpl-application-shell.cjs.entry.js +41 -46
- package/dist/cjs/xpl-avatar_41.cjs.entry.js +5521 -0
- package/dist/cjs/xpl-button-row.cjs.entry.js +13 -18
- package/dist/cjs/xpl-calendar.cjs.entry.js +66 -0
- package/dist/cjs/xpl-dynamic-table-cell.cjs.entry.js +33 -0
- package/dist/cjs/xpl-dynamic-table-row.cjs.entry.js +37 -0
- package/dist/cjs/xpl-dynamic-table.cjs.entry.js +64 -0
- package/dist/cjs/xpl-grid-item.cjs.entry.js +16 -18
- package/dist/cjs/xpl-grid.cjs.entry.js +29 -28
- package/dist/cjs/xpl-large-card.cjs.entry.js +27 -0
- package/dist/cjs/xpl-list.cjs.entry.js +23 -30
- package/dist/cjs/xpl-main-nav.cjs.entry.js +18 -20
- package/dist/cjs/xpl-table-header-cell.cjs.entry.js +57 -0
- package/dist/cjs/xpl-table-header.cjs.entry.js +14 -0
- package/dist/cjs/xpl-toggle.cjs.entry.js +22 -30
- package/dist/cjs/xpl-toolbar.cjs.entry.js +28 -0
- package/dist/collection/collection-manifest.json +59 -32
- package/dist/collection/components/xpl-accordion/accordion.stories.js +76 -0
- package/dist/collection/components/xpl-accordion/xpl-accordion.js +236 -0
- package/dist/collection/components/xpl-application-shell/application-shell.stories.js +733 -0
- package/dist/collection/components/xpl-application-shell/xpl-application-shell.js +163 -158
- package/dist/collection/components/xpl-avatar/avatar.stories.js +128 -0
- package/dist/collection/components/xpl-avatar/xpl-avatar.js +171 -162
- package/dist/collection/components/xpl-backdrop/backdrop.stories.js +20 -0
- package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +39 -37
- package/dist/collection/components/xpl-badge/badge.stories.js +48 -0
- package/dist/collection/components/xpl-badge/xpl-badge.js +52 -52
- package/dist/collection/components/xpl-breadcrumbs/breadcrumbs.stories.js +130 -0
- package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js +8 -12
- package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js +5 -8
- package/dist/collection/components/xpl-button/button.stories.js +133 -0
- package/dist/collection/components/xpl-button/xpl-button.js +272 -245
- package/dist/collection/components/xpl-button-row/button-row.stories.js +69 -0
- package/dist/collection/components/xpl-button-row/xpl-button-row.js +119 -116
- package/dist/collection/components/xpl-calendar/calendar.stories.js +59 -0
- package/dist/collection/components/xpl-calendar/xpl-calendar.js +224 -0
- package/dist/collection/components/xpl-checkbox/checkbox.stories.js +79 -0
- package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +226 -193
- package/dist/collection/components/xpl-choicelist/choicelist.stories.js +134 -0
- package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +220 -154
- package/dist/collection/components/xpl-content-area/content-area.stories.js +55 -0
- package/dist/collection/components/xpl-content-area/xpl-content-area.js +35 -33
- package/dist/collection/components/xpl-dashboard/dashboard.stories.js +48 -0
- package/dist/collection/components/xpl-dashboard/xpl-dashboard.js +7 -0
- package/dist/collection/components/xpl-data-card/data-card.stories.js +111 -0
- package/dist/collection/components/xpl-data-card/xpl-data-card.js +316 -0
- package/dist/collection/components/xpl-divider/divider.stories.js +32 -0
- package/dist/collection/components/xpl-divider/xpl-divider.js +30 -31
- package/dist/collection/components/xpl-dropdown/dropdown.stories.js +383 -0
- package/dist/collection/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.js +68 -66
- package/dist/collection/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.js +28 -29
- package/dist/collection/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.js +148 -114
- package/dist/collection/components/xpl-dropdown/xpl-dropdown.js +438 -256
- package/dist/collection/components/xpl-dynamic-table/dynamic-table.stories.js +161 -0
- package/dist/collection/components/xpl-dynamic-table/xpl-dynamic-table.js +97 -0
- package/dist/collection/components/xpl-dynamic-table-cell/xpl-dynamic-table-cell.js +52 -0
- package/dist/collection/components/xpl-dynamic-table-row/xpl-dynamic-table-row.js +81 -0
- package/dist/{stories → collection/components/xpl-grid}/grid.stories.js +44 -68
- package/dist/collection/components/xpl-grid/xpl-grid.js +27 -24
- package/dist/collection/components/xpl-grid-item/xpl-grid-item.js +100 -92
- package/dist/collection/components/xpl-header-accordion/header-accordion.stories.js +48 -0
- package/dist/collection/components/xpl-header-accordion/xpl-header-accordion.js +200 -0
- package/dist/collection/components/xpl-icon/icons.stories.js +107 -0
- package/dist/collection/components/xpl-icon/xpl-icon.css +5 -0
- package/dist/collection/components/xpl-icon/xpl-icon.js +101 -0
- package/dist/collection/components/xpl-input/input.stories.js +531 -0
- package/dist/collection/components/xpl-input/xpl-input-color/color-utils.js +167 -0
- package/dist/collection/components/xpl-input/xpl-input-color/xpl-input-color.js +387 -0
- package/dist/collection/components/xpl-input/xpl-input-date/xpl-input-date.js +377 -0
- package/dist/collection/components/xpl-input/xpl-input-file/xpl-input-file.js +276 -0
- package/dist/collection/components/xpl-input/xpl-input-time/time-utils.js +63 -0
- package/dist/collection/components/xpl-input/xpl-input-time/xpl-input-time.js +425 -0
- package/dist/collection/components/xpl-input/xpl-input.js +729 -460
- package/dist/collection/components/xpl-large-card/large-card.stories.js +127 -0
- package/dist/collection/components/xpl-large-card/xpl-large-card.js +81 -0
- package/dist/collection/components/xpl-list/list.stories.js +148 -0
- package/dist/collection/components/xpl-list/xpl-list.js +51 -53
- package/dist/collection/components/xpl-main-nav/main-nav.stories.js +307 -0
- package/dist/collection/components/xpl-main-nav/xpl-main-nav.js +65 -63
- package/dist/collection/components/xpl-modal/modal.stories.js +87 -0
- package/dist/collection/components/xpl-modal/xpl-modal.js +139 -0
- package/dist/collection/components/xpl-nav-item/xpl-nav-item.js +63 -61
- package/dist/collection/components/xpl-pagination/pagination.stories.js +35 -0
- package/dist/collection/components/xpl-pagination/xpl-pagination.js +217 -172
- package/dist/collection/components/xpl-popover/popover.stories.js +164 -0
- package/dist/collection/components/xpl-popover/xpl-popover.js +346 -0
- package/dist/collection/components/xpl-progress/progress.stories.js +102 -0
- package/dist/collection/components/xpl-progress/xpl-progress.js +60 -0
- package/dist/collection/components/xpl-radio/radio.stories.js +91 -0
- package/dist/collection/components/xpl-radio/xpl-radio.js +188 -175
- package/dist/collection/components/xpl-secondary-nav/secondary-nav.stories.js +78 -0
- package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js +5 -5
- package/dist/collection/components/xpl-select/select.stories.js +293 -0
- package/dist/collection/components/xpl-select/xpl-select.js +660 -308
- package/dist/collection/components/xpl-skeleton/skeleton.stories.js +67 -0
- package/dist/collection/components/xpl-skeleton/xpl-skeleton.js +175 -0
- package/dist/collection/components/xpl-slideout/slideout.stories.js +103 -0
- package/dist/collection/components/xpl-slideout/xpl-slideout.js +150 -0
- package/dist/collection/components/xpl-tab/xpl-tab.js +77 -0
- package/dist/collection/components/xpl-tab-panel/xpl-tab-panel.js +56 -0
- package/dist/collection/components/xpl-table/table.stories.js +143 -0
- package/dist/collection/components/xpl-table/xpl-table.js +379 -214
- package/dist/collection/components/xpl-table-header/table-header.stories.js +122 -0
- package/dist/collection/components/xpl-table-header/xpl-table-header.js +7 -0
- package/dist/collection/components/xpl-table-header-cell/table-header-cell.stories.js +71 -0
- package/dist/collection/components/xpl-table-header-cell/xpl-table-header-cell.js +198 -0
- package/dist/collection/components/xpl-tabs/tabs.stories.js +77 -0
- package/dist/collection/components/xpl-tabs/xpl-tabs.js +206 -0
- package/dist/collection/components/xpl-tag/xpl-tag.js +27 -27
- package/dist/collection/components/xpl-toast/toast.stories.js +82 -0
- package/dist/collection/components/xpl-toast/xpl-toast.js +162 -0
- package/dist/collection/components/xpl-toggle/toggle.stories.js +84 -0
- package/dist/collection/components/xpl-toggle/xpl-toggle.js +165 -157
- package/dist/collection/components/xpl-toolbar/xpl-toolbar.js +56 -0
- package/dist/collection/components/xpl-tooltip/tooltip-arrow.js +2 -0
- package/dist/collection/components/xpl-tooltip/tooltip.stories.js +85 -0
- package/dist/collection/components/xpl-tooltip/xpl-tooltip.js +75 -0
- package/dist/collection/components/xpl-utility-bar/utility-bar.stories.js +87 -0
- package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +89 -93
- package/dist/components/_commonjsHelpers.js +1 -0
- package/dist/components/index.d.ts +45 -0
- package/dist/components/index.js +1 -0
- package/dist/components/index2.js +1 -0
- package/dist/components/index3.js +1 -0
- package/dist/components/v4.js +1 -0
- package/dist/components/xpl-accordion.d.ts +11 -0
- package/dist/components/xpl-accordion.js +1 -0
- package/dist/components/xpl-application-shell.d.ts +11 -0
- package/dist/components/xpl-application-shell.js +1 -0
- package/dist/components/xpl-avatar.d.ts +11 -0
- package/dist/components/xpl-avatar.js +1 -0
- package/dist/components/xpl-avatar2.js +1 -0
- package/dist/components/xpl-backdrop.d.ts +11 -0
- package/dist/components/xpl-backdrop.js +1 -0
- package/dist/components/xpl-backdrop2.js +1 -0
- package/dist/components/xpl-badge.d.ts +11 -0
- package/dist/components/xpl-badge.js +1 -0
- package/dist/components/xpl-badge2.js +1 -0
- package/dist/components/xpl-breadcrumb-item.d.ts +11 -0
- package/dist/components/xpl-breadcrumb-item.js +1 -0
- package/dist/components/xpl-breadcrumbs.d.ts +11 -0
- package/dist/components/xpl-breadcrumbs.js +1 -0
- package/dist/components/xpl-button-row.d.ts +11 -0
- package/dist/components/xpl-button-row.js +1 -0
- package/dist/components/xpl-button.d.ts +11 -0
- package/dist/components/xpl-button.js +1 -0
- package/dist/components/xpl-button2.js +1 -0
- package/dist/components/xpl-calendar.d.ts +11 -0
- package/dist/components/xpl-calendar.js +1 -0
- package/dist/components/xpl-checkbox.d.ts +11 -0
- package/dist/components/xpl-checkbox.js +1 -0
- package/dist/components/xpl-checkbox2.js +1 -0
- package/dist/components/xpl-choicelist.d.ts +11 -0
- package/dist/components/xpl-choicelist.js +1 -0
- package/dist/components/xpl-content-area.d.ts +11 -0
- package/dist/components/xpl-content-area.js +1 -0
- package/dist/components/xpl-dashboard.d.ts +11 -0
- package/dist/components/xpl-dashboard.js +1 -0
- package/dist/components/xpl-data-card.d.ts +11 -0
- package/dist/components/xpl-data-card.js +1 -0
- package/dist/components/xpl-divider.d.ts +11 -0
- package/dist/components/xpl-divider.js +1 -0
- package/dist/components/xpl-divider2.js +1 -0
- package/dist/components/xpl-dropdown-group.d.ts +11 -0
- package/dist/components/xpl-dropdown-group.js +1 -0
- package/dist/components/xpl-dropdown-group2.js +1 -0
- package/dist/components/xpl-dropdown-heading.d.ts +11 -0
- package/dist/components/xpl-dropdown-heading.js +1 -0
- package/dist/components/xpl-dropdown-heading2.js +1 -0
- package/dist/components/xpl-dropdown-option.d.ts +11 -0
- package/dist/components/xpl-dropdown-option.js +1 -0
- package/dist/components/xpl-dropdown-option2.js +1 -0
- package/dist/components/xpl-dropdown.d.ts +11 -0
- package/dist/components/xpl-dropdown.js +1 -0
- package/dist/components/xpl-dropdown2.js +1 -0
- package/dist/components/xpl-dynamic-table-cell.d.ts +11 -0
- package/dist/components/xpl-dynamic-table-cell.js +1 -0
- package/dist/components/xpl-dynamic-table-row.d.ts +11 -0
- package/dist/components/xpl-dynamic-table-row.js +1 -0
- package/dist/components/xpl-dynamic-table.d.ts +11 -0
- package/dist/components/xpl-dynamic-table.js +1 -0
- package/dist/components/xpl-grid-item.d.ts +11 -0
- package/dist/components/xpl-grid-item.js +1 -0
- package/dist/components/xpl-grid.d.ts +11 -0
- package/dist/components/xpl-grid.js +1 -0
- package/dist/components/xpl-header-accordion.d.ts +11 -0
- package/dist/components/xpl-header-accordion.js +1 -0
- package/dist/components/xpl-icon.d.ts +11 -0
- package/dist/components/xpl-icon.js +1 -0
- package/dist/components/xpl-icon2.js +6 -0
- package/dist/components/xpl-input-color.d.ts +11 -0
- package/dist/components/xpl-input-color.js +1 -0
- package/dist/components/xpl-input-date.d.ts +11 -0
- package/dist/components/xpl-input-date.js +1 -0
- package/dist/components/xpl-input-date2.js +1 -0
- package/dist/components/xpl-input-file.d.ts +11 -0
- package/dist/components/xpl-input-file.js +1 -0
- package/dist/components/xpl-input-file2.js +1 -0
- package/dist/components/xpl-input-time.d.ts +11 -0
- package/dist/components/xpl-input-time.js +1 -0
- package/dist/components/xpl-input.d.ts +11 -0
- package/dist/components/xpl-input.js +1 -0
- package/dist/components/xpl-input2.js +1 -0
- package/dist/components/xpl-large-card.d.ts +11 -0
- package/dist/components/xpl-large-card.js +1 -0
- package/dist/components/xpl-list.d.ts +11 -0
- package/dist/components/xpl-list.js +1 -0
- package/dist/components/xpl-main-nav.d.ts +11 -0
- package/dist/components/xpl-main-nav.js +1 -0
- package/dist/components/xpl-modal.d.ts +11 -0
- package/dist/components/xpl-modal.js +1 -0
- package/dist/components/xpl-nav-item.d.ts +11 -0
- package/dist/components/xpl-nav-item.js +1 -0
- package/dist/components/xpl-pagination.d.ts +11 -0
- package/dist/components/xpl-pagination.js +1 -0
- package/dist/components/xpl-popover.d.ts +11 -0
- package/dist/components/xpl-popover.js +1 -0
- package/dist/components/xpl-popover2.js +1 -0
- package/dist/components/xpl-progress.d.ts +11 -0
- package/dist/components/xpl-progress.js +1 -0
- package/dist/components/xpl-radio.d.ts +11 -0
- package/dist/components/xpl-radio.js +1 -0
- package/dist/components/xpl-radio2.js +1 -0
- package/dist/components/xpl-secondary-nav.d.ts +11 -0
- package/dist/components/xpl-secondary-nav.js +1 -0
- package/dist/components/xpl-select.d.ts +11 -0
- package/dist/components/xpl-select.js +1 -0
- package/dist/components/xpl-select2.js +1 -0
- package/dist/components/xpl-skeleton.d.ts +11 -0
- package/dist/components/xpl-skeleton.js +1 -0
- package/dist/components/xpl-slideout.d.ts +11 -0
- package/dist/components/xpl-slideout.js +1 -0
- package/dist/components/xpl-tab-panel.d.ts +11 -0
- package/dist/components/xpl-tab-panel.js +1 -0
- package/dist/components/xpl-tab.d.ts +11 -0
- package/dist/components/xpl-tab.js +1 -0
- package/dist/components/xpl-table-header-cell.d.ts +11 -0
- package/dist/components/xpl-table-header-cell.js +1 -0
- package/dist/components/xpl-table-header.d.ts +11 -0
- package/dist/components/xpl-table-header.js +1 -0
- package/dist/components/xpl-table.d.ts +11 -0
- package/dist/components/xpl-table.js +1 -0
- package/dist/components/xpl-tabs.d.ts +11 -0
- package/dist/components/xpl-tabs.js +1 -0
- package/dist/components/xpl-tag.d.ts +11 -0
- package/dist/components/xpl-tag.js +1 -0
- package/dist/components/xpl-tag2.js +1 -0
- package/dist/components/xpl-toast.d.ts +11 -0
- package/dist/components/xpl-toast.js +1 -0
- package/dist/components/xpl-toggle.d.ts +11 -0
- package/dist/components/xpl-toggle.js +1 -0
- package/dist/components/xpl-toolbar.d.ts +11 -0
- package/dist/components/xpl-toolbar.js +1 -0
- package/dist/components/xpl-tooltip.d.ts +11 -0
- package/dist/components/xpl-tooltip.js +1 -0
- package/dist/components/xpl-tooltip2.js +1 -0
- package/dist/components/xpl-utility-bar.d.ts +11 -0
- package/dist/components/xpl-utility-bar.js +1 -0
- package/dist/css/typography.stories.js +144 -0
- package/dist/esm/apollo-core.js +15 -12
- package/dist/esm/app-globals-DQuL1Twl.js +3 -0
- package/dist/{cjs/xpl-input.cjs.entry.js → esm/index-CH4yJ6Qx.js} +1 -99
- package/dist/esm/index-DhZas3eX.js +2132 -0
- package/dist/esm/loader.js +7 -14
- package/dist/esm/{v4-929670b7.js → v4-Cqlsd6nf.js} +1 -11
- package/dist/esm/xpl-accordion.entry.js +71 -0
- package/dist/esm/xpl-application-shell.entry.js +41 -44
- package/dist/esm/xpl-avatar_41.entry.js +5479 -0
- package/dist/esm/xpl-button-row.entry.js +13 -16
- package/dist/esm/xpl-calendar.entry.js +64 -0
- package/dist/esm/xpl-dynamic-table-cell.entry.js +31 -0
- package/dist/esm/xpl-dynamic-table-row.entry.js +35 -0
- package/dist/esm/xpl-dynamic-table.entry.js +62 -0
- package/dist/esm/xpl-grid-item.entry.js +16 -16
- package/dist/esm/xpl-grid.entry.js +29 -26
- package/dist/esm/xpl-large-card.entry.js +25 -0
- package/dist/esm/xpl-list.entry.js +23 -28
- package/dist/esm/xpl-main-nav.entry.js +18 -18
- package/dist/esm/xpl-table-header-cell.entry.js +55 -0
- package/dist/esm/xpl-table-header.entry.js +12 -0
- package/dist/esm/xpl-toggle.entry.js +22 -28
- package/dist/esm/xpl-toolbar.entry.js +26 -0
- package/dist/types/components/xpl-accordion/accordion.stories.d.ts +37 -0
- package/dist/types/components/xpl-accordion/xpl-accordion.d.ts +16 -0
- package/dist/types/components/xpl-application-shell/application-shell.stories.d.ts +60 -0
- package/dist/types/components/xpl-application-shell/xpl-application-shell.d.ts +12 -27
- package/dist/types/components/xpl-avatar/avatar.stories.d.ts +75 -0
- package/dist/types/components/xpl-avatar/xpl-avatar.d.ts +9 -9
- package/dist/types/components/xpl-backdrop/backdrop.stories.d.ts +17 -0
- package/dist/types/components/xpl-backdrop/xpl-backdrop.d.ts +2 -6
- package/dist/types/components/xpl-badge/badge.stories.d.ts +44 -0
- package/dist/types/components/xpl-badge/xpl-badge.d.ts +3 -3
- package/dist/types/components/xpl-breadcrumbs/breadcrumbs.stories.d.ts +53 -0
- package/dist/types/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.d.ts +2 -5
- package/dist/types/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.d.ts +1 -4
- package/dist/types/components/xpl-button/button.stories.d.ts +92 -0
- package/dist/types/components/xpl-button/xpl-button.d.ts +14 -43
- package/dist/types/components/xpl-button-row/button-row.stories.d.ts +45 -0
- package/dist/types/components/xpl-button-row/xpl-button-row.d.ts +10 -32
- package/dist/types/components/xpl-calendar/calendar.stories.d.ts +58 -0
- package/dist/types/components/xpl-calendar/xpl-calendar.d.ts +18 -0
- package/dist/types/components/xpl-checkbox/checkbox.stories.d.ts +65 -0
- package/dist/types/components/xpl-checkbox/xpl-checkbox.d.ts +13 -13
- package/dist/types/components/xpl-choicelist/choice.d.ts +5 -4
- package/dist/types/components/xpl-choicelist/choicelist.stories.d.ts +40 -0
- package/dist/types/components/xpl-choicelist/xpl-choicelist.d.ts +16 -32
- package/dist/types/components/xpl-content-area/content-area.stories.d.ts +13 -0
- package/dist/types/components/xpl-content-area/xpl-content-area.d.ts +2 -5
- package/dist/types/components/xpl-dashboard/dashboard.stories.d.ts +31 -0
- package/dist/types/components/xpl-dashboard/xpl-dashboard.d.ts +3 -0
- package/dist/types/components/xpl-data-card/data-card.stories.d.ts +114 -0
- package/dist/types/components/xpl-data-card/xpl-data-card.d.ts +21 -0
- package/dist/types/components/xpl-divider/divider.stories.d.ts +37 -0
- package/dist/types/components/xpl-divider/xpl-divider.d.ts +2 -7
- package/dist/types/components/xpl-dropdown/dropdown-option.d.ts +12 -0
- package/dist/types/components/xpl-dropdown/dropdown.stories.d.ts +25 -0
- package/dist/types/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.d.ts +4 -6
- package/dist/types/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.d.ts +2 -3
- package/dist/types/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.d.ts +13 -14
- package/dist/types/components/xpl-dropdown/xpl-dropdown.d.ts +34 -35
- package/dist/types/components/xpl-dynamic-table/dynamic-table.stories.d.ts +41 -0
- package/dist/types/components/xpl-dynamic-table/xpl-dynamic-table.d.ts +14 -0
- package/dist/types/components/xpl-dynamic-table-cell/xpl-dynamic-table-cell.d.ts +9 -0
- package/dist/types/components/xpl-dynamic-table-row/xpl-dynamic-table-row.d.ts +11 -0
- package/dist/types/components/xpl-grid/grid.stories.d.ts +133 -0
- package/dist/types/components/xpl-grid/xpl-grid.d.ts +3 -3
- package/dist/types/components/xpl-grid-item/xpl-grid-item.d.ts +5 -5
- package/dist/types/components/xpl-header-accordion/header-accordion.stories.d.ts +44 -0
- package/dist/types/components/xpl-header-accordion/xpl-header-accordion.d.ts +20 -0
- package/dist/types/components/xpl-icon/icons.stories.d.ts +54 -0
- package/dist/types/components/xpl-icon/xpl-icon.d.ts +8 -0
- package/dist/types/components/xpl-input/input.stories.d.ts +206 -0
- package/dist/types/components/xpl-input/xpl-input-color/color-utils.d.ts +41 -0
- package/dist/types/components/xpl-input/xpl-input-color/xpl-input-color.d.ts +30 -0
- package/dist/types/components/xpl-input/xpl-input-date/xpl-input-date.d.ts +30 -0
- package/dist/types/components/xpl-input/xpl-input-file/xpl-input-file.d.ts +24 -0
- package/dist/types/components/xpl-input/xpl-input-time/time-utils.d.ts +5 -0
- package/dist/types/components/xpl-input/xpl-input-time/xpl-input-time.d.ts +39 -0
- package/dist/types/components/xpl-input/xpl-input.d.ts +45 -85
- package/dist/types/components/xpl-large-card/large-card.stories.d.ts +71 -0
- package/dist/types/components/xpl-large-card/xpl-large-card.d.ts +8 -0
- package/dist/types/components/xpl-list/list.stories.d.ts +63 -0
- package/dist/types/components/xpl-list/listitem.d.ts +14 -14
- package/dist/types/components/xpl-list/xpl-list.d.ts +2 -26
- package/dist/types/components/xpl-main-nav/main-nav.stories.d.ts +13 -0
- package/dist/types/components/xpl-main-nav/xpl-main-nav.d.ts +6 -13
- package/dist/types/components/xpl-modal/modal.stories.d.ts +99 -0
- package/dist/types/components/xpl-modal/xpl-modal.d.ts +15 -0
- package/dist/types/components/xpl-nav-item/xpl-nav-item.d.ts +4 -10
- package/dist/types/components/xpl-pagination/pagination.stories.d.ts +35 -0
- package/dist/types/components/xpl-pagination/xpl-pagination.d.ts +19 -22
- package/dist/types/components/xpl-popover/popover.stories.d.ts +12 -0
- package/dist/types/components/xpl-popover/xpl-popover.d.ts +24 -0
- package/dist/types/components/xpl-progress/progress.stories.d.ts +34 -0
- package/dist/types/components/xpl-progress/xpl-progress.d.ts +6 -0
- package/dist/types/components/xpl-radio/radio.stories.d.ts +79 -0
- package/dist/types/components/xpl-radio/xpl-radio.d.ts +11 -11
- package/dist/types/components/xpl-secondary-nav/secondary-nav.stories.d.ts +5 -0
- package/dist/types/components/xpl-secondary-nav/xpl-secondary-nav.d.ts +1 -1
- package/dist/types/components/xpl-select/select.stories.d.ts +164 -0
- package/dist/types/components/xpl-select/xpl-select.d.ts +59 -55
- package/dist/types/components/xpl-skeleton/skeleton.stories.d.ts +26 -0
- package/dist/types/components/xpl-skeleton/xpl-skeleton.d.ts +10 -0
- package/dist/types/components/xpl-slideout/slideout.stories.d.ts +114 -0
- package/dist/types/components/xpl-slideout/xpl-slideout.d.ts +14 -0
- package/dist/types/components/xpl-tab/xpl-tab.d.ts +8 -0
- package/dist/types/components/xpl-tab-panel/xpl-tab-panel.d.ts +5 -0
- package/dist/types/components/xpl-table/table.stories.d.ts +84 -0
- package/dist/types/components/xpl-table/xpl-table.d.ts +37 -23
- package/dist/types/components/xpl-table-header/table-header.stories.d.ts +103 -0
- package/dist/types/components/xpl-table-header/xpl-table-header.d.ts +3 -0
- package/dist/types/components/xpl-table-header-cell/table-header-cell.stories.d.ts +55 -0
- package/dist/types/components/xpl-table-header-cell/xpl-table-header-cell.d.ts +14 -0
- package/dist/types/components/xpl-tabs/tabs.stories.d.ts +40 -0
- package/dist/types/components/xpl-tabs/xpl-tabs.d.ts +28 -0
- package/dist/types/components/xpl-tag/xpl-tag.d.ts +2 -2
- package/dist/types/components/xpl-toast/toast.stories.d.ts +62 -0
- package/dist/types/components/xpl-toast/xpl-toast.d.ts +14 -0
- package/dist/types/components/xpl-toggle/toggle.stories.d.ts +67 -0
- package/dist/types/components/xpl-toggle/xpl-toggle.d.ts +9 -21
- package/dist/types/components/xpl-toolbar/xpl-toolbar.d.ts +7 -0
- package/dist/types/components/xpl-tooltip/tooltip-arrow.d.ts +2 -0
- package/dist/types/components/xpl-tooltip/tooltip.stories.d.ts +39 -0
- package/dist/types/components/xpl-tooltip/xpl-tooltip.d.ts +6 -0
- package/dist/types/components/xpl-utility-bar/utility-bar.stories.d.ts +20 -0
- package/dist/types/components/xpl-utility-bar/xpl-utility-bar.d.ts +7 -17
- package/dist/types/components.d.ts +3060 -498
- package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/css/typography.stories.d.ts +90 -0
- package/dist/types/stencil-public-runtime.d.ts +236 -34
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.d.ts +5 -2
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/package.json +110 -61
- package/CHANGELOG.md +0 -106
- package/dist/apollo-core/p-10f00380.entry.js +0 -1
- package/dist/apollo-core/p-26ec64fe.entry.js +0 -1
- package/dist/apollo-core/p-2f90296c.js +0 -10
- package/dist/apollo-core/p-31acfdb4.entry.js +0 -1
- package/dist/apollo-core/p-4184ac44.entry.js +0 -1
- package/dist/apollo-core/p-4fa14839.entry.js +0 -1
- package/dist/apollo-core/p-55b87345.js +0 -2
- package/dist/apollo-core/p-63a6c98a.entry.js +0 -1
- package/dist/apollo-core/p-68c33b77.entry.js +0 -1
- package/dist/apollo-core/p-78d07caf.entry.js +0 -1
- package/dist/apollo-core/p-796957d3.entry.js +0 -1
- package/dist/apollo-core/p-88160d68.entry.js +0 -1
- package/dist/apollo-core/p-9ec318bb.entry.js +0 -1
- package/dist/apollo-core/p-a2a34e44.entry.js +0 -1
- package/dist/apollo-core/p-ad90fe4d.js +0 -1
- package/dist/apollo-core/p-beea2502.entry.js +0 -1
- package/dist/apollo-core/p-d499e43f.entry.js +0 -1
- package/dist/apollo-core/p-d8a3d94c.entry.js +0 -1
- package/dist/apollo-core/p-e047b446.entry.js +0 -1
- package/dist/cjs/index-2ab4832e.js +0 -2003
- package/dist/cjs/regular-872f5226.js +0 -16043
- package/dist/cjs/xpl-avatar_12.cjs.entry.js +0 -362
- package/dist/cjs/xpl-backdrop.cjs.entry.js +0 -21
- package/dist/cjs/xpl-choicelist.cjs.entry.js +0 -50
- package/dist/cjs/xpl-divider.cjs.entry.js +0 -19
- package/dist/cjs/xpl-dropdown-group_3.cjs.entry.js +0 -113
- package/dist/cjs/xpl-dropdown_2.cjs.entry.js +0 -121
- package/dist/cjs/xpl-pagination.cjs.entry.js +0 -79
- package/dist/cjs/xpl-select.cjs.entry.js +0 -610
- package/dist/collection/components/xpl-select/selectchoice.js +0 -1
- package/dist/custom-elements/index.d.ts +0 -219
- package/dist/custom-elements/index.js +0 -20353
- package/dist/esm/index-392b5b96.js +0 -1973
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/regular-86225e9d.js +0 -16041
- package/dist/esm/xpl-avatar_12.entry.js +0 -347
- package/dist/esm/xpl-backdrop.entry.js +0 -17
- package/dist/esm/xpl-choicelist.entry.js +0 -46
- package/dist/esm/xpl-divider.entry.js +0 -15
- package/dist/esm/xpl-dropdown-group_3.entry.js +0 -107
- package/dist/esm/xpl-dropdown_2.entry.js +0 -116
- package/dist/esm/xpl-pagination.entry.js +0 -75
- package/dist/esm/xpl-select.entry.js +0 -606
- package/dist/stories/application-shell.stories.js +0 -776
- package/dist/stories/avatar.stories.js +0 -173
- package/dist/stories/backdrop.stories.js +0 -18
- package/dist/stories/badge.stories.js +0 -48
- package/dist/stories/breadcrumbs.stories.js +0 -117
- package/dist/stories/button-row.stories.js +0 -68
- package/dist/stories/button.stories.js +0 -122
- package/dist/stories/checkbox.stories.js +0 -78
- package/dist/stories/choicelist.stories.js +0 -112
- package/dist/stories/content-area.stories.js +0 -53
- package/dist/stories/divider.stories.js +0 -34
- package/dist/stories/dropdown.stories.js +0 -377
- package/dist/stories/input.stories.js +0 -268
- package/dist/stories/list.stories.js +0 -154
- package/dist/stories/main-nav.stories.js +0 -308
- package/dist/stories/pagination.stories.js +0 -84
- package/dist/stories/radio.stories.js +0 -68
- package/dist/stories/secondary-nav.stories.js +0 -76
- package/dist/stories/select.stories.js +0 -119
- package/dist/stories/table.stories.js +0 -107
- package/dist/stories/tabs.stories.js +0 -24
- package/dist/stories/toggle.stories.js +0 -84
- package/dist/stories/utility-bar.stories.js +0 -94
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/application-shell.stories.d.ts +0 -71
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/avatar.stories.d.ts +0 -91
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/backdrop.stories.d.ts +0 -16
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/badge.stories.d.ts +0 -48
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/breadcrumbs.stories.d.ts +0 -53
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/button-row.stories.d.ts +0 -49
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/button.stories.d.ts +0 -91
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/checkbox.stories.d.ts +0 -72
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/choicelist.stories.d.ts +0 -41
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/content-area.stories.d.ts +0 -29
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/divider.stories.d.ts +0 -40
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/dropdown.stories.d.ts +0 -135
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/grid.stories.d.ts +0 -150
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/input.stories.d.ts +0 -190
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/list.stories.d.ts +0 -71
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/main-nav.stories.d.ts +0 -30
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/pagination.stories.d.ts +0 -0
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/radio.stories.d.ts +0 -64
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/secondary-nav.stories.d.ts +0 -16
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/select.stories.d.ts +0 -74
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/table.stories.d.ts +0 -49
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/tabs.stories.d.ts +0 -0
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/toggle.stories.d.ts +0 -74
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/utility-bar.stories.d.ts +0 -20
- package/dist/types/components/xpl-dropdown/dropdownoption.d.ts +0 -10
- package/dist/types/components/xpl-select/selectchoice.d.ts +0 -4
- package/loader/package.json +0 -11
- /package/dist/collection/components/xpl-dropdown/{dropdownoption.js → dropdown-option.js} +0 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
argTypes: {
|
|
4
|
+
headingOne: {
|
|
5
|
+
type: {
|
|
6
|
+
name: string;
|
|
7
|
+
required: boolean;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
headingTwo: {
|
|
11
|
+
type: {
|
|
12
|
+
name: string;
|
|
13
|
+
required: boolean;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
headingThree: {
|
|
17
|
+
type: {
|
|
18
|
+
name: string;
|
|
19
|
+
required: boolean;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
headingFour: {
|
|
23
|
+
type: {
|
|
24
|
+
name: string;
|
|
25
|
+
required: boolean;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
headingFive: {
|
|
29
|
+
type: {
|
|
30
|
+
name: string;
|
|
31
|
+
required: boolean;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
textBody: {
|
|
35
|
+
type: {
|
|
36
|
+
name: string;
|
|
37
|
+
required: boolean;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
textCalloutBold: {
|
|
41
|
+
type: {
|
|
42
|
+
name: string;
|
|
43
|
+
required: boolean;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
textCallout: {
|
|
47
|
+
type: {
|
|
48
|
+
name: string;
|
|
49
|
+
required: boolean;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
textCaption: {
|
|
53
|
+
type: {
|
|
54
|
+
name: string;
|
|
55
|
+
required: boolean;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
export default _default;
|
|
61
|
+
export declare const Typography: {
|
|
62
|
+
({ headingOne, headingTwo, headingThree, headingFour, headingFive, textBody, textCalloutBold, textCallout, textCaption, }: {
|
|
63
|
+
headingOne: any;
|
|
64
|
+
headingTwo: any;
|
|
65
|
+
headingThree: any;
|
|
66
|
+
headingFour: any;
|
|
67
|
+
headingFive: any;
|
|
68
|
+
textBody: any;
|
|
69
|
+
textCalloutBold: any;
|
|
70
|
+
textCallout: any;
|
|
71
|
+
textCaption: any;
|
|
72
|
+
}): string;
|
|
73
|
+
args: {
|
|
74
|
+
headingOne: string;
|
|
75
|
+
headingTwo: string;
|
|
76
|
+
headingThree: string;
|
|
77
|
+
headingFour: string;
|
|
78
|
+
headingFive: string;
|
|
79
|
+
textBody: string;
|
|
80
|
+
textCalloutBold: string;
|
|
81
|
+
textCallout: string;
|
|
82
|
+
textCaption: string;
|
|
83
|
+
};
|
|
84
|
+
parameters: {
|
|
85
|
+
layout: string;
|
|
86
|
+
html: {
|
|
87
|
+
render: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
@@ -1,8 +1,20 @@
|
|
|
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
|
}
|
|
5
7
|
export interface ComponentOptions {
|
|
8
|
+
/**
|
|
9
|
+
* When set to `true` this component will be form-associated. See
|
|
10
|
+
* https://stenciljs.com/docs/next/form-associated documentation on how to
|
|
11
|
+
* build form-associated Stencil components that integrate into forms like
|
|
12
|
+
* native browser elements such as `<input>` and `<textarea>`.
|
|
13
|
+
*
|
|
14
|
+
* The {@link AttachInternals} decorator allows for access to the
|
|
15
|
+
* `ElementInternals` object to modify the associated form.
|
|
16
|
+
*/
|
|
17
|
+
formAssociated?: boolean;
|
|
6
18
|
/**
|
|
7
19
|
* Tag name of the web component. Ideally, the tag name must be globally unique,
|
|
8
20
|
* so it's recommended to choose an unique prefix for all your components within the same collection.
|
|
@@ -51,6 +63,12 @@ export interface ShadowRootOptions {
|
|
|
51
63
|
* focusable part is given focus, and the shadow host is given any available `:focus` styling.
|
|
52
64
|
*/
|
|
53
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';
|
|
54
72
|
}
|
|
55
73
|
export interface ModeStyles {
|
|
56
74
|
[modeName: string]: string | string[];
|
|
@@ -62,7 +80,7 @@ export interface PropOptions {
|
|
|
62
80
|
/**
|
|
63
81
|
* The name of the associated DOM attribute.
|
|
64
82
|
* Stencil uses different heuristics to determine the default name of the attribute,
|
|
65
|
-
* but using this property, you can override the default
|
|
83
|
+
* but using this property, you can override the default behavior.
|
|
66
84
|
*/
|
|
67
85
|
attribute?: string | null;
|
|
68
86
|
/**
|
|
@@ -107,9 +125,15 @@ export interface EventOptions {
|
|
|
107
125
|
*/
|
|
108
126
|
composed?: boolean;
|
|
109
127
|
}
|
|
128
|
+
export interface AttachInternalsDecorator {
|
|
129
|
+
(): PropertyDecorator;
|
|
130
|
+
}
|
|
110
131
|
export interface ListenDecorator {
|
|
111
132
|
(eventName: string, opts?: ListenOptions): CustomMethodDecorator<any>;
|
|
112
133
|
}
|
|
134
|
+
export interface ResolveVarFunction {
|
|
135
|
+
<T>(variable: T): string;
|
|
136
|
+
}
|
|
113
137
|
export interface ListenOptions {
|
|
114
138
|
/**
|
|
115
139
|
* Handlers can also be registered for an event other than the host itself.
|
|
@@ -128,7 +152,7 @@ export interface ListenOptions {
|
|
|
128
152
|
* By default, Stencil uses several heuristics to determine if
|
|
129
153
|
* it must attach a `passive` event listener or not.
|
|
130
154
|
*
|
|
131
|
-
* Using the `passive` option can be used to change the default
|
|
155
|
+
* Using the `passive` option can be used to change the default behavior.
|
|
132
156
|
* Please see https://developers.google.com/web/updates/2016/06/passive-event-listeners for further information.
|
|
133
157
|
*/
|
|
134
158
|
passive?: boolean;
|
|
@@ -138,7 +162,15 @@ export interface StateDecorator {
|
|
|
138
162
|
(): PropertyDecorator;
|
|
139
163
|
}
|
|
140
164
|
export interface WatchDecorator {
|
|
141
|
-
(propName:
|
|
165
|
+
(propName: any, watchOptions?: {
|
|
166
|
+
immediate?: boolean;
|
|
167
|
+
}): CustomMethodDecorator<(newValue?: any, oldValue?: any, propName?: any, ...args: any[]) => any | void>;
|
|
168
|
+
}
|
|
169
|
+
export interface PropSerializeDecorator {
|
|
170
|
+
(propName: any): CustomMethodDecorator<(newValue?: any, propName?: string, ...args: any[]) => string | null>;
|
|
171
|
+
}
|
|
172
|
+
export interface AttrDeserializeDecorator {
|
|
173
|
+
(propName: any): CustomMethodDecorator<(newValue?: any, propName?: string, ...args: any[]) => any>;
|
|
142
174
|
}
|
|
143
175
|
export interface UserBuildConditionals {
|
|
144
176
|
isDev: boolean;
|
|
@@ -175,12 +207,36 @@ export declare const Element: ElementDecorator;
|
|
|
175
207
|
* https://stenciljs.com/docs/events
|
|
176
208
|
*/
|
|
177
209
|
export declare const Event: EventDecorator;
|
|
210
|
+
/**
|
|
211
|
+
* If the `formAssociated` option is set in options passed to the
|
|
212
|
+
* `@Component()` decorator then this decorator may be used to get access to the
|
|
213
|
+
* `ElementInternals` instance associated with the component.
|
|
214
|
+
*/
|
|
215
|
+
export declare const AttachInternals: AttachInternalsDecorator;
|
|
178
216
|
/**
|
|
179
217
|
* The `Listen()` decorator is for listening DOM events, including the ones
|
|
180
218
|
* dispatched from `@Events()`.
|
|
181
219
|
* https://stenciljs.com/docs/events#listen-decorator
|
|
182
220
|
*/
|
|
183
221
|
export declare const Listen: ListenDecorator;
|
|
222
|
+
/**
|
|
223
|
+
* The `resolveVar()` function is a compile-time utility that resolves const variables
|
|
224
|
+
* and object properties to their string literal values. This allows variables to be
|
|
225
|
+
* used in `@Listen` and `@Event` decorators instead of hardcoded strings.
|
|
226
|
+
*
|
|
227
|
+
* @example
|
|
228
|
+
* ```ts
|
|
229
|
+
* const MY_EVENT = 'myEvent';
|
|
230
|
+
* @Listen(resolveVar(MY_EVENT))
|
|
231
|
+
* ```
|
|
232
|
+
*
|
|
233
|
+
* @example
|
|
234
|
+
* ```ts
|
|
235
|
+
* const EVENTS = { MY_EVENT: 'myEvent' } as const;
|
|
236
|
+
* @Event({ eventName: resolveVar(EVENTS.MY_EVENT) })
|
|
237
|
+
* ```
|
|
238
|
+
*/
|
|
239
|
+
export declare const resolveVar: ResolveVarFunction;
|
|
184
240
|
/**
|
|
185
241
|
* The `@Method()` decorator is used to expose methods on the public API.
|
|
186
242
|
* Class methods decorated with the @Method() decorator can be called directly
|
|
@@ -214,6 +270,14 @@ export declare const State: StateDecorator;
|
|
|
214
270
|
* https://stenciljs.com/docs/reactive-data#watch-decorator
|
|
215
271
|
*/
|
|
216
272
|
export declare const Watch: WatchDecorator;
|
|
273
|
+
/**
|
|
274
|
+
* Decorator to serialize a property to an attribute string.
|
|
275
|
+
*/
|
|
276
|
+
export declare const PropSerialize: PropSerializeDecorator;
|
|
277
|
+
/**
|
|
278
|
+
* Decorator to deserialize an attribute string to a property.
|
|
279
|
+
*/
|
|
280
|
+
export declare const AttrDeserialize: AttrDeserializeDecorator;
|
|
217
281
|
export type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
|
|
218
282
|
export type ErrorHandler = (err: any, element?: HTMLElement) => void;
|
|
219
283
|
/**
|
|
@@ -241,6 +305,25 @@ export declare function setPlatformHelpers(helpers: {
|
|
|
241
305
|
* @returns the base path
|
|
242
306
|
*/
|
|
243
307
|
export declare function getAssetPath(path: string): string;
|
|
308
|
+
/**
|
|
309
|
+
* Method to render a virtual DOM tree to a container element.
|
|
310
|
+
*
|
|
311
|
+
* @example
|
|
312
|
+
* ```tsx
|
|
313
|
+
* import { render } from '@stencil/core';
|
|
314
|
+
*
|
|
315
|
+
* const vnode = (
|
|
316
|
+
* <div>
|
|
317
|
+
* <h1>Hello, world!</h1>
|
|
318
|
+
* </div>
|
|
319
|
+
* );
|
|
320
|
+
* render(vnode, document.body);
|
|
321
|
+
* ```
|
|
322
|
+
*
|
|
323
|
+
* @param vnode - The virtual DOM tree to render
|
|
324
|
+
* @param container - The container element to render the virtual DOM tree to
|
|
325
|
+
*/
|
|
326
|
+
export declare function render(vnode: VNode, container: Element): void;
|
|
244
327
|
/**
|
|
245
328
|
* Used to manually set the base path where assets can be found. For lazy-loaded
|
|
246
329
|
* builds the asset path is automatically set and assets copied to the correct
|
|
@@ -311,6 +394,58 @@ export declare function readTask(task: RafCallback): void;
|
|
|
311
394
|
* Unhandled exception raised while rendering, during event handling, or lifecycles will trigger the custom event handler.
|
|
312
395
|
*/
|
|
313
396
|
export declare const setErrorHandler: (handler: ErrorHandler) => void;
|
|
397
|
+
export type TagTransformer = (tag: string) => string;
|
|
398
|
+
/**
|
|
399
|
+
* Sets a tag transformer to be used when rendering your custom elements.
|
|
400
|
+
* ```ts
|
|
401
|
+
* setTagTransformer((tag) => {
|
|
402
|
+
* if (tag.startsWith('my-')) return `new-${tag}`
|
|
403
|
+
* return tag;
|
|
404
|
+
* });
|
|
405
|
+
* ```
|
|
406
|
+
* Will mean all your components that start with `my-` are defined instead with `new-my-` prefix.
|
|
407
|
+
*
|
|
408
|
+
* @param transformer the transformer function to use which must return a string.
|
|
409
|
+
*/
|
|
410
|
+
export declare function setTagTransformer(transformer: TagTransformer): void;
|
|
411
|
+
/**
|
|
412
|
+
* Transforms a tag name using a transformer set via `setTagTransformer`
|
|
413
|
+
*
|
|
414
|
+
* @param tag - the tag to transform e.g. `my-tag`
|
|
415
|
+
* @returns the transformed tag e.g. `new-my-tag`
|
|
416
|
+
*/
|
|
417
|
+
export declare function transformTag(tag: string): string;
|
|
418
|
+
/**
|
|
419
|
+
* @deprecated - Use `MixedInCtor` instead:
|
|
420
|
+
* ```ts
|
|
421
|
+
* import { MixedInCtor } from '@stencil/core';
|
|
422
|
+
*
|
|
423
|
+
* const AFactoryFn = <B extends MixedInCtor>(Base: B) => {class A extends Base { propA = A }; return A;}
|
|
424
|
+
* ```
|
|
425
|
+
*/
|
|
426
|
+
export type MixinFactory = (base: MixedInCtor) => MixedInCtor;
|
|
427
|
+
export type MixedInCtor<T = {}> = new (...args: any[]) => T;
|
|
428
|
+
/**
|
|
429
|
+
* Compose multiple mixin classes into a single constructor.
|
|
430
|
+
* The resulting class has the combined instance types of all mixed-in classes.
|
|
431
|
+
*
|
|
432
|
+
* Example:
|
|
433
|
+
* ```ts
|
|
434
|
+
* import { Mixin, MixedInCtor } from '@stencil/core';
|
|
435
|
+
*
|
|
436
|
+
* const AWrap = <B extends MixedInCtor>(Base: B) => {class A extends Base { propA = A }; return A;}
|
|
437
|
+
* const BWrap = <B extends MixedInCtor>(Base: B) => {class B extends Base { propB = B }; return B;}
|
|
438
|
+
* const CWrap = <B extends MixedInCtor>(Base: B) => {class C extends Base { propC = C }; return C;}
|
|
439
|
+
*
|
|
440
|
+
* class X extends Mixin(AWrap, BWrap, CWrap) {
|
|
441
|
+
* render() { return <div>{this.propA} {this.propB} {this.propC}</div>; }
|
|
442
|
+
* }
|
|
443
|
+
* ```
|
|
444
|
+
*
|
|
445
|
+
* @param mixinFactories mixin factory functions that return a class which extends from the provided class.
|
|
446
|
+
* @returns a class that is composed from extending each of the provided classes in the order they were provided.
|
|
447
|
+
*/
|
|
448
|
+
export declare function Mixin<const TMixins extends readonly MixinFactory[]>(...mixinFactories: TMixins): abstract new (...args: any[]) => UnionToIntersection<MixinInstance<TMixins[number]>>;
|
|
314
449
|
/**
|
|
315
450
|
* This file gets copied to all distributions of stencil component collections.
|
|
316
451
|
* - no imports
|
|
@@ -432,7 +567,7 @@ export interface QueueApi {
|
|
|
432
567
|
/**
|
|
433
568
|
* Host
|
|
434
569
|
*/
|
|
435
|
-
interface HostAttributes {
|
|
570
|
+
export interface HostAttributes {
|
|
436
571
|
class?: string | {
|
|
437
572
|
[className: string]: boolean;
|
|
438
573
|
};
|
|
@@ -471,7 +606,7 @@ export interface FunctionalUtilities {
|
|
|
471
606
|
/**
|
|
472
607
|
* Utility for reading the children of a functional component at runtime.
|
|
473
608
|
* Since the Stencil runtime uses a different interface for children it is
|
|
474
|
-
* not
|
|
609
|
+
* not recommended to read the children directly, and is preferable to use
|
|
475
610
|
* this utility to, for instance, perform a side effect for each child.
|
|
476
611
|
*/
|
|
477
612
|
forEach: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => void) => void;
|
|
@@ -483,7 +618,7 @@ export interface FunctionalUtilities {
|
|
|
483
618
|
map: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => ChildNode) => VNode[];
|
|
484
619
|
}
|
|
485
620
|
export interface FunctionalComponent<T = {}> {
|
|
486
|
-
(props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[];
|
|
621
|
+
(props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[] | null;
|
|
487
622
|
}
|
|
488
623
|
/**
|
|
489
624
|
* A Child VDOM node
|
|
@@ -538,6 +673,35 @@ export declare function h(sel: any, text: string): VNode;
|
|
|
538
673
|
export declare function h(sel: any, children: Array<VNode | undefined | null>): VNode;
|
|
539
674
|
export declare function h(sel: any, data: VNodeData | null, text: string): VNode;
|
|
540
675
|
export declare function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
|
|
676
|
+
/**
|
|
677
|
+
* Automatic JSX runtime functions for TypeScript's react-jsx mode.
|
|
678
|
+
* These functions are called automatically by TypeScript when using "jsx": "react-jsx".
|
|
679
|
+
* @param type type of node
|
|
680
|
+
* @param props properties of node
|
|
681
|
+
* @param key optional key for the node
|
|
682
|
+
* @returns a jsx vnode
|
|
683
|
+
*/
|
|
684
|
+
export declare function jsx(type: any, props: any, key?: string): VNode;
|
|
685
|
+
/**
|
|
686
|
+
* Automatic JSX runtime functions for TypeScript's react-jsxmode with multiple children.
|
|
687
|
+
* @param type type of node
|
|
688
|
+
* @param props properties of node
|
|
689
|
+
* @param key optional key for the node
|
|
690
|
+
* @returns a jsx vnode
|
|
691
|
+
*/
|
|
692
|
+
export declare function jsxs(type: any, props: any, key?: string): VNode;
|
|
693
|
+
/**
|
|
694
|
+
* Automatic JSX runtime functions for TypeScript's react-jsxdev mode.
|
|
695
|
+
* These functions are called automatically by TypeScript when using "jsx": "react-jsxdev".
|
|
696
|
+
* @param type type of node
|
|
697
|
+
* @param props properties of node
|
|
698
|
+
* @param key optional key for the node
|
|
699
|
+
* @param isStaticChildren indicates if the children are static
|
|
700
|
+
* @param source source information
|
|
701
|
+
* @param self reference to the component instance
|
|
702
|
+
* @returns a jsx vnode
|
|
703
|
+
*/
|
|
704
|
+
export declare function jsxDEV(type: any, props: any, key?: string | number, isStaticChildren?: boolean, source?: any, self?: any): VNode;
|
|
541
705
|
export declare function h(sel: any, data: VNodeData | null, children: VNode): VNode;
|
|
542
706
|
/**
|
|
543
707
|
* A virtual DOM node
|
|
@@ -568,7 +732,7 @@ declare namespace LocalJSX {
|
|
|
568
732
|
export { LocalJSX as JSX };
|
|
569
733
|
export declare namespace JSXBase {
|
|
570
734
|
interface IntrinsicElements {
|
|
571
|
-
slot: JSXBase.SlotAttributes
|
|
735
|
+
slot: JSXBase.SlotAttributes<HTMLSlotElement>;
|
|
572
736
|
a: JSXBase.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
573
737
|
abbr: JSXBase.HTMLAttributes;
|
|
574
738
|
address: JSXBase.HTMLAttributes;
|
|
@@ -738,7 +902,7 @@ export declare namespace JSXBase {
|
|
|
738
902
|
use: JSXBase.SVGAttributes;
|
|
739
903
|
view: JSXBase.SVGAttributes;
|
|
740
904
|
}
|
|
741
|
-
interface SlotAttributes extends JSXAttributes {
|
|
905
|
+
interface SlotAttributes<T = HTMLSlotElement> extends JSXAttributes<T> {
|
|
742
906
|
name?: string;
|
|
743
907
|
slot?: string;
|
|
744
908
|
onSlotchange?: (event: Event) => void;
|
|
@@ -749,6 +913,7 @@ export declare namespace JSXBase {
|
|
|
749
913
|
hrefLang?: string;
|
|
750
914
|
hreflang?: string;
|
|
751
915
|
media?: string;
|
|
916
|
+
ping?: string;
|
|
752
917
|
rel?: string;
|
|
753
918
|
target?: string;
|
|
754
919
|
referrerPolicy?: ReferrerPolicy;
|
|
@@ -775,7 +940,6 @@ export declare namespace JSXBase {
|
|
|
775
940
|
cite?: string;
|
|
776
941
|
}
|
|
777
942
|
interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
778
|
-
autoFocus?: boolean;
|
|
779
943
|
disabled?: boolean;
|
|
780
944
|
form?: string;
|
|
781
945
|
formAction?: string;
|
|
@@ -791,6 +955,12 @@ export declare namespace JSXBase {
|
|
|
791
955
|
name?: string;
|
|
792
956
|
type?: string;
|
|
793
957
|
value?: string | string[] | number;
|
|
958
|
+
popoverTargetAction?: string;
|
|
959
|
+
popoverTargetElement?: Element | null;
|
|
960
|
+
popoverTarget?: string;
|
|
961
|
+
command?: string;
|
|
962
|
+
commandFor?: string;
|
|
963
|
+
commandfor?: string;
|
|
794
964
|
}
|
|
795
965
|
interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
796
966
|
height?: number | string;
|
|
@@ -804,7 +974,8 @@ export declare namespace JSXBase {
|
|
|
804
974
|
}
|
|
805
975
|
interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
806
976
|
open?: boolean;
|
|
807
|
-
|
|
977
|
+
name?: string;
|
|
978
|
+
onToggle?: (event: ToggleEvent) => void;
|
|
808
979
|
}
|
|
809
980
|
interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
810
981
|
cite?: string;
|
|
@@ -812,6 +983,7 @@ export declare namespace JSXBase {
|
|
|
812
983
|
datetime?: string;
|
|
813
984
|
}
|
|
814
985
|
interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
986
|
+
onCancel?: (event: Event) => void;
|
|
815
987
|
onClose?: (event: Event) => void;
|
|
816
988
|
open?: boolean;
|
|
817
989
|
returnValue?: string;
|
|
@@ -871,6 +1043,8 @@ export declare namespace JSXBase {
|
|
|
871
1043
|
}
|
|
872
1044
|
interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
873
1045
|
alt?: string;
|
|
1046
|
+
crossOrigin?: string;
|
|
1047
|
+
crossorigin?: string;
|
|
874
1048
|
decoding?: 'async' | 'auto' | 'sync';
|
|
875
1049
|
importance?: 'low' | 'auto' | 'high';
|
|
876
1050
|
height?: number | string;
|
|
@@ -892,12 +1066,10 @@ export declare namespace JSXBase {
|
|
|
892
1066
|
accept?: string;
|
|
893
1067
|
allowdirs?: boolean;
|
|
894
1068
|
alt?: string;
|
|
895
|
-
autoCapitalize?:
|
|
896
|
-
autocapitalize?:
|
|
1069
|
+
autoCapitalize?: string;
|
|
1070
|
+
autocapitalize?: string;
|
|
897
1071
|
autoComplete?: string;
|
|
898
1072
|
autocomplete?: string;
|
|
899
|
-
autoFocus?: boolean;
|
|
900
|
-
autofocus?: boolean | string;
|
|
901
1073
|
capture?: string;
|
|
902
1074
|
checked?: boolean;
|
|
903
1075
|
crossOrigin?: string;
|
|
@@ -929,6 +1101,8 @@ export declare namespace JSXBase {
|
|
|
929
1101
|
minlength?: number | string;
|
|
930
1102
|
multiple?: boolean;
|
|
931
1103
|
name?: string;
|
|
1104
|
+
onSelect?: (event: Event) => void;
|
|
1105
|
+
onselect?: (event: Event) => void;
|
|
932
1106
|
pattern?: string;
|
|
933
1107
|
placeholder?: string;
|
|
934
1108
|
readOnly?: boolean;
|
|
@@ -947,10 +1121,11 @@ export declare namespace JSXBase {
|
|
|
947
1121
|
webkitdirectory?: boolean;
|
|
948
1122
|
webkitEntries?: any;
|
|
949
1123
|
width?: number | string;
|
|
1124
|
+
popoverTargetAction?: string;
|
|
1125
|
+
popoverTargetElement?: Element | null;
|
|
1126
|
+
popoverTarget?: string;
|
|
950
1127
|
}
|
|
951
1128
|
interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
952
|
-
autoFocus?: boolean;
|
|
953
|
-
autofocus?: boolean | string;
|
|
954
1129
|
challenge?: string;
|
|
955
1130
|
disabled?: boolean;
|
|
956
1131
|
form?: string;
|
|
@@ -963,7 +1138,6 @@ export declare namespace JSXBase {
|
|
|
963
1138
|
interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
964
1139
|
form?: string;
|
|
965
1140
|
htmlFor?: string;
|
|
966
|
-
htmlfor?: string;
|
|
967
1141
|
}
|
|
968
1142
|
interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
969
1143
|
value?: string | string[] | number;
|
|
@@ -990,6 +1164,8 @@ export declare namespace JSXBase {
|
|
|
990
1164
|
autoPlay?: boolean;
|
|
991
1165
|
autoplay?: boolean | string;
|
|
992
1166
|
controls?: boolean;
|
|
1167
|
+
controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
|
|
1168
|
+
controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
|
|
993
1169
|
crossOrigin?: string;
|
|
994
1170
|
crossorigin?: string;
|
|
995
1171
|
loop?: boolean;
|
|
@@ -1074,7 +1250,6 @@ export declare namespace JSXBase {
|
|
|
1074
1250
|
interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1075
1251
|
form?: string;
|
|
1076
1252
|
htmlFor?: string;
|
|
1077
|
-
htmlfor?: string;
|
|
1078
1253
|
name?: string;
|
|
1079
1254
|
}
|
|
1080
1255
|
interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
@@ -1099,7 +1274,6 @@ export declare namespace JSXBase {
|
|
|
1099
1274
|
type?: string;
|
|
1100
1275
|
}
|
|
1101
1276
|
interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1102
|
-
autoFocus?: boolean;
|
|
1103
1277
|
disabled?: boolean;
|
|
1104
1278
|
form?: string;
|
|
1105
1279
|
multiple?: boolean;
|
|
@@ -1110,11 +1284,13 @@ export declare namespace JSXBase {
|
|
|
1110
1284
|
autocomplete?: string;
|
|
1111
1285
|
}
|
|
1112
1286
|
interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1287
|
+
height?: number;
|
|
1113
1288
|
media?: string;
|
|
1114
1289
|
sizes?: string;
|
|
1115
1290
|
src?: string;
|
|
1116
1291
|
srcSet?: string;
|
|
1117
1292
|
type?: string;
|
|
1293
|
+
width?: number;
|
|
1118
1294
|
}
|
|
1119
1295
|
interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1120
1296
|
media?: string;
|
|
@@ -1130,8 +1306,8 @@ export declare namespace JSXBase {
|
|
|
1130
1306
|
summary?: string;
|
|
1131
1307
|
}
|
|
1132
1308
|
interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1133
|
-
|
|
1134
|
-
|
|
1309
|
+
autoComplete?: string;
|
|
1310
|
+
autocomplete?: string;
|
|
1135
1311
|
cols?: number;
|
|
1136
1312
|
disabled?: boolean;
|
|
1137
1313
|
form?: string;
|
|
@@ -1140,6 +1316,8 @@ export declare namespace JSXBase {
|
|
|
1140
1316
|
minLength?: number;
|
|
1141
1317
|
minlength?: number | string;
|
|
1142
1318
|
name?: string;
|
|
1319
|
+
onSelect?: (event: Event) => void;
|
|
1320
|
+
onselect?: (event: Event) => void;
|
|
1143
1321
|
placeholder?: string;
|
|
1144
1322
|
readOnly?: boolean;
|
|
1145
1323
|
readonly?: boolean | string;
|
|
@@ -1182,6 +1360,8 @@ export declare namespace JSXBase {
|
|
|
1182
1360
|
interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
|
|
1183
1361
|
innerHTML?: string;
|
|
1184
1362
|
accessKey?: string;
|
|
1363
|
+
autoFocus?: boolean;
|
|
1364
|
+
autofocus?: boolean | string;
|
|
1185
1365
|
class?: string | {
|
|
1186
1366
|
[className: string]: boolean;
|
|
1187
1367
|
};
|
|
@@ -1193,6 +1373,7 @@ export declare namespace JSXBase {
|
|
|
1193
1373
|
draggable?: boolean;
|
|
1194
1374
|
hidden?: boolean;
|
|
1195
1375
|
id?: string;
|
|
1376
|
+
inert?: boolean;
|
|
1196
1377
|
lang?: string;
|
|
1197
1378
|
spellcheck?: 'true' | 'false' | any;
|
|
1198
1379
|
style?: {
|
|
@@ -1201,6 +1382,7 @@ export declare namespace JSXBase {
|
|
|
1201
1382
|
tabIndex?: number;
|
|
1202
1383
|
tabindex?: number | string;
|
|
1203
1384
|
title?: string;
|
|
1385
|
+
popover?: string | null;
|
|
1204
1386
|
inputMode?: string;
|
|
1205
1387
|
inputmode?: string;
|
|
1206
1388
|
enterKeyHint?: string;
|
|
@@ -1217,8 +1399,8 @@ export declare namespace JSXBase {
|
|
|
1217
1399
|
resource?: string;
|
|
1218
1400
|
typeof?: string;
|
|
1219
1401
|
vocab?: string;
|
|
1220
|
-
autoCapitalize?:
|
|
1221
|
-
autocapitalize?:
|
|
1402
|
+
autoCapitalize?: string;
|
|
1403
|
+
autocapitalize?: string;
|
|
1222
1404
|
autoCorrect?: string;
|
|
1223
1405
|
autocorrect?: string;
|
|
1224
1406
|
autoSave?: string;
|
|
@@ -1286,7 +1468,7 @@ export declare namespace JSXBase {
|
|
|
1286
1468
|
clipPathUnits?: number | string;
|
|
1287
1469
|
'clip-rule'?: number | string;
|
|
1288
1470
|
'color-interpolation'?: number | string;
|
|
1289
|
-
'color-interpolation-filters'?: 'auto' | '
|
|
1471
|
+
'color-interpolation-filters'?: 'auto' | 'sRGB' | 'linearRGB';
|
|
1290
1472
|
'color-profile'?: number | string;
|
|
1291
1473
|
'color-rendering'?: number | string;
|
|
1292
1474
|
contentScriptType?: number | string;
|
|
@@ -1499,6 +1681,13 @@ export declare namespace JSXBase {
|
|
|
1499
1681
|
z?: number | string;
|
|
1500
1682
|
zoomAndPan?: string;
|
|
1501
1683
|
}
|
|
1684
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent) */
|
|
1685
|
+
interface ToggleEvent extends Event {
|
|
1686
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/newState) */
|
|
1687
|
+
readonly newState: string;
|
|
1688
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/oldState) */
|
|
1689
|
+
readonly oldState: string;
|
|
1690
|
+
}
|
|
1502
1691
|
interface DOMAttributes<T> extends JSXAttributes<T> {
|
|
1503
1692
|
slot?: string;
|
|
1504
1693
|
part?: string;
|
|
@@ -1509,12 +1698,16 @@ export declare namespace JSXBase {
|
|
|
1509
1698
|
onCutCapture?: (event: ClipboardEvent) => void;
|
|
1510
1699
|
onPaste?: (event: ClipboardEvent) => void;
|
|
1511
1700
|
onPasteCapture?: (event: ClipboardEvent) => void;
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1701
|
+
onCompositionend?: (event: CompositionEvent) => void;
|
|
1702
|
+
onCompositionendCapture?: (event: CompositionEvent) => void;
|
|
1703
|
+
onCompositionstart?: (event: CompositionEvent) => void;
|
|
1704
|
+
onCompositionstartCapture?: (event: CompositionEvent) => void;
|
|
1705
|
+
onCompositionupdate?: (event: CompositionEvent) => void;
|
|
1706
|
+
onCompositionupdateCapture?: (event: CompositionEvent) => void;
|
|
1707
|
+
onBeforeToggle?: (event: ToggleEvent) => void;
|
|
1708
|
+
onBeforeToggleCapture?: (event: ToggleEvent) => void;
|
|
1709
|
+
onToggle?: (event: ToggleEvent) => void;
|
|
1710
|
+
onToggleCapture?: (event: ToggleEvent) => void;
|
|
1518
1711
|
onFocus?: (event: FocusEvent) => void;
|
|
1519
1712
|
onFocusCapture?: (event: FocusEvent) => void;
|
|
1520
1713
|
onFocusin?: (event: FocusEvent) => void;
|
|
@@ -1525,8 +1718,8 @@ export declare namespace JSXBase {
|
|
|
1525
1718
|
onBlurCapture?: (event: FocusEvent) => void;
|
|
1526
1719
|
onChange?: (event: Event) => void;
|
|
1527
1720
|
onChangeCapture?: (event: Event) => void;
|
|
1528
|
-
onInput?: (event:
|
|
1529
|
-
onInputCapture?: (event:
|
|
1721
|
+
onInput?: (event: InputEvent) => void;
|
|
1722
|
+
onInputCapture?: (event: InputEvent) => void;
|
|
1530
1723
|
onReset?: (event: Event) => void;
|
|
1531
1724
|
onResetCapture?: (event: Event) => void;
|
|
1532
1725
|
onSubmit?: (event: Event) => void;
|
|
@@ -1544,7 +1737,7 @@ export declare namespace JSXBase {
|
|
|
1544
1737
|
onKeyUp?: (event: KeyboardEvent) => void;
|
|
1545
1738
|
onKeyUpCapture?: (event: KeyboardEvent) => void;
|
|
1546
1739
|
onAuxClick?: (event: MouseEvent) => void;
|
|
1547
|
-
onClick?: (event:
|
|
1740
|
+
onClick?: (event: PointerEvent) => void;
|
|
1548
1741
|
onClickCapture?: (event: MouseEvent) => void;
|
|
1549
1742
|
onContextMenu?: (event: MouseEvent) => void;
|
|
1550
1743
|
onContextMenuCapture?: (event: MouseEvent) => void;
|
|
@@ -1616,8 +1809,16 @@ export declare namespace JSXBase {
|
|
|
1616
1809
|
onAnimationEndCapture?: (event: AnimationEvent) => void;
|
|
1617
1810
|
onAnimationIteration?: (event: AnimationEvent) => void;
|
|
1618
1811
|
onAnimationIterationCapture?: (event: AnimationEvent) => void;
|
|
1812
|
+
onTransitionCancel?: (event: TransitionEvent) => void;
|
|
1813
|
+
onTransitionCancelCapture?: (event: TransitionEvent) => void;
|
|
1619
1814
|
onTransitionEnd?: (event: TransitionEvent) => void;
|
|
1620
1815
|
onTransitionEndCapture?: (event: TransitionEvent) => void;
|
|
1816
|
+
onTransitionRun?: (event: TransitionEvent) => void;
|
|
1817
|
+
onTransitionRunCapture?: (event: TransitionEvent) => void;
|
|
1818
|
+
onTransitionStart?: (event: TransitionEvent) => void;
|
|
1819
|
+
onTransitionStartCapture?: (event: TransitionEvent) => void;
|
|
1820
|
+
[key: `aria-${string}`]: string | boolean | undefined;
|
|
1821
|
+
[key: `aria${string}`]: string | boolean | undefined;
|
|
1621
1822
|
}
|
|
1622
1823
|
}
|
|
1623
1824
|
export interface JSXAttributes<T = Element> {
|
|
@@ -1628,6 +1829,7 @@ export interface CustomElementsDefineOptions {
|
|
|
1628
1829
|
exclude?: string[];
|
|
1629
1830
|
resourcesUrl?: string;
|
|
1630
1831
|
syncQueue?: boolean;
|
|
1832
|
+
/** @deprecated in-favour of `setTagTransformer` and `transformTag` */
|
|
1631
1833
|
transformTagName?: (tagName: string) => string;
|
|
1632
1834
|
jmp?: (c: Function) => any;
|
|
1633
1835
|
raf?: (c: FrameRequestCallback) => number;
|
package/loader/cdn.js
CHANGED
package/loader/index.cjs.js
CHANGED