@re-code/aurora 0.0.0-stage → 0.3.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/LICENSE +21 -0
- package/README.md +92 -2
- package/dist/aurora/aurora.esm.js +1 -0
- package/dist/aurora/index.esm.js +1 -0
- package/dist/aurora/p-01ff4d34.entry.js +1 -0
- package/dist/aurora/p-0554ffea.entry.js +1 -0
- package/dist/aurora/p-0a0a2bfe.entry.js +1 -0
- package/dist/aurora/p-0a7e9e8e.entry.js +1 -0
- package/dist/aurora/p-1670a9bd.entry.js +1 -0
- package/dist/aurora/p-17210bb6.entry.js +1 -0
- package/dist/aurora/p-17c6de2c.entry.js +1 -0
- package/dist/aurora/p-21786a68.entry.js +1 -0
- package/dist/aurora/p-23e57d65.entry.js +1 -0
- package/dist/aurora/p-24ff90e0.entry.js +1 -0
- package/dist/aurora/p-27da7b8a.entry.js +1 -0
- package/dist/aurora/p-380d8ebe.entry.js +1 -0
- package/dist/aurora/p-3cfccef1.entry.js +1 -0
- package/dist/aurora/p-4fd71d14.entry.js +1 -0
- package/dist/aurora/p-5606ed9c.entry.js +1 -0
- package/dist/aurora/p-56fc4315.entry.js +1 -0
- package/dist/aurora/p-57512cd7.entry.js +1 -0
- package/dist/aurora/p-5a027df1.entry.js +1 -0
- package/dist/aurora/p-5dd73182.entry.js +1 -0
- package/dist/aurora/p-62ccacf0.entry.js +1 -0
- package/dist/aurora/p-62d79933.entry.js +1 -0
- package/dist/aurora/p-6a1363da.entry.js +1 -0
- package/dist/aurora/p-6e9c8e27.entry.js +1 -0
- package/dist/aurora/p-742abb2c.entry.js +1 -0
- package/dist/aurora/p-7a9bc20f.entry.js +1 -0
- package/dist/aurora/p-7cc6bb71.entry.js +1 -0
- package/dist/aurora/p-7fa0ee48.entry.js +1 -0
- package/dist/aurora/p-815611f9.entry.js +1 -0
- package/dist/aurora/p-8800c466.entry.js +1 -0
- package/dist/aurora/p-8de508c7.entry.js +1 -0
- package/dist/aurora/p-9e9377b5.entry.js +1 -0
- package/dist/aurora/p-B3rlZvSP.js +7 -0
- package/dist/aurora/p-B71krpcd.js +1 -0
- package/dist/aurora/p-BTRtOC1j.js +1 -0
- package/dist/aurora/p-BTZwl4uD.js +7 -0
- package/dist/aurora/p-BvnCPjl5.js +1 -0
- package/dist/aurora/p-C-bRwiWx.js +1 -0
- package/dist/aurora/p-C2iVoG0G.js +1 -0
- package/dist/aurora/p-C48ks26E.js +1 -0
- package/dist/aurora/p-C6E5E18W.js +7 -0
- package/dist/aurora/p-CA3n-tpF.js +7 -0
- package/dist/aurora/p-CIZeCYao.js +1 -0
- package/dist/aurora/p-CJtRxiuh.js +7 -0
- package/dist/aurora/p-CU9sZ49I.js +7 -0
- package/dist/aurora/p-CfazOBmW.js +1 -0
- package/dist/aurora/p-Ci-XzGE3.js +1 -0
- package/dist/aurora/p-CnJOd66V.js +7 -0
- package/dist/aurora/p-Cq5N0E4D.js +7 -0
- package/dist/aurora/p-CrKUXDm4.js +1 -0
- package/dist/aurora/p-DBHfOAQc.js +1 -0
- package/dist/aurora/p-DD6GCVQb.js +1 -0
- package/dist/aurora/p-DMeUBbqF.js +7 -0
- package/dist/aurora/p-DNpzZvak.js +1 -0
- package/dist/aurora/p-DQuL1Twl.js +1 -0
- package/dist/aurora/p-DTEnois3.js +7 -0
- package/dist/aurora/p-DVGjumbs.js +1 -0
- package/dist/aurora/p-DgfWQsck.js +1 -0
- package/dist/aurora/p-DjW6oMgu.js +7 -0
- package/dist/aurora/p-Dogh3-Bf.js +1 -0
- package/dist/aurora/p-DqAwSryz.js +1 -0
- package/dist/aurora/p-DqqWqhAT.js +1 -0
- package/dist/aurora/p-Dv3Jcvbc.js +1 -0
- package/dist/aurora/p-JU60IJxn.js +1 -0
- package/dist/aurora/p-KLUZmSN-.js +3 -0
- package/dist/aurora/p-NvNa2Iiu.js +1 -0
- package/dist/aurora/p-TdUs41zm.js +1 -0
- package/dist/aurora/p-a376a248.entry.js +1 -0
- package/dist/aurora/p-a63d1f80.entry.js +1 -0
- package/dist/aurora/p-a72596b4.entry.js +1 -0
- package/dist/aurora/p-b0ebcc51.entry.js +1 -0
- package/dist/aurora/p-be98a1d7.entry.js +1 -0
- package/dist/aurora/p-bf922703.entry.js +1 -0
- package/dist/aurora/p-c1422894.entry.js +1 -0
- package/dist/aurora/p-c2164ffe.entry.js +1 -0
- package/dist/aurora/p-cb63ca43.entry.js +1 -0
- package/dist/aurora/p-cc1015fe.entry.js +1 -0
- package/dist/aurora/p-cf16464e.entry.js +1 -0
- package/dist/aurora/p-cfa0166b.entry.js +1 -0
- package/dist/aurora/p-d85e1d60.entry.js +1 -0
- package/dist/aurora/p-ec96e6ff.entry.js +1 -0
- package/dist/aurora/p-efa289c1.entry.js +1 -0
- package/dist/aurora/p-f176be8b.entry.js +1 -0
- package/dist/aurora/p-f3383f3c.entry.js +1 -0
- package/dist/aurora/p-f5d3aefa.entry.js +1 -0
- package/dist/aurora/p-f85687a5.entry.js +1 -0
- package/dist/aurora/p-fe143404.entry.js +1 -0
- package/dist/aurora/p-gvyxpLwV.js +1 -0
- package/dist/aurora/p-kEvQ5xF7.js +1 -0
- package/dist/aurora/p-kbAXs-sG.js +7 -0
- package/dist/aurora/p-klxij34W.js +1 -0
- package/dist/aurora/p-kpQFQ7bu.js +7 -0
- package/dist/aurora/p-tdx7CCkD.js +7 -0
- package/dist/aurora/p-vjn4H-yX.js +1 -0
- package/dist/cjs/accordion-DlPfFEHE.js +37 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
- package/dist/cjs/attributes-Bn886Odj.js +30 -0
- package/dist/cjs/au-accordion-item.cjs.entry.js +88 -0
- package/dist/cjs/au-accordion.cjs.entry.js +100 -0
- package/dist/cjs/au-alert.cjs.entry.js +117 -0
- package/dist/cjs/au-avatar.cjs.entry.js +177 -0
- package/dist/cjs/au-badge.cjs.entry.js +60 -0
- package/dist/cjs/au-breadcrumb-item.cjs.entry.js +84 -0
- package/dist/cjs/au-breadcrumb.cjs.entry.js +80 -0
- package/dist/cjs/au-button.cjs.entry.js +328 -0
- package/dist/cjs/au-card.cjs.entry.js +76 -0
- package/dist/cjs/au-checkbox.cjs.entry.js +183 -0
- package/dist/cjs/au-chip.cjs.entry.js +249 -0
- package/dist/cjs/au-code-block.cjs.entry.js +678 -0
- package/dist/cjs/au-combobox.cjs.entry.js +755 -0
- package/dist/cjs/au-container.cjs.entry.js +58 -0
- package/dist/cjs/au-dialog.cjs.entry.js +377 -0
- package/dist/cjs/au-divider.cjs.entry.js +106 -0
- package/dist/cjs/au-field.cjs.entry.js +185 -0
- package/dist/cjs/au-icon-0-khGfX2.js +350 -0
- package/dist/cjs/au-icon.cjs.entry.js +9 -0
- package/dist/cjs/au-input.cjs.entry.js +312 -0
- package/dist/cjs/au-kbd.cjs.entry.js +355 -0
- package/dist/cjs/au-label.cjs.entry.js +45 -0
- package/dist/cjs/au-list-item.cjs.entry.js +195 -0
- package/dist/cjs/au-list.cjs.entry.js +78 -0
- package/dist/cjs/au-menu-item.cjs.entry.js +71 -0
- package/dist/cjs/au-menu.cjs.entry.js +347 -0
- package/dist/cjs/au-nav-group.cjs.entry.js +50 -0
- package/dist/cjs/au-nav-link.cjs.entry.js +84 -0
- package/dist/cjs/au-navbar.cjs.entry.js +306 -0
- package/dist/cjs/au-number-input.cjs.entry.js +350 -0
- package/dist/cjs/au-popover.cjs.entry.js +130 -0
- package/dist/cjs/au-progress.cjs.entry.js +107 -0
- package/dist/cjs/au-radio-group.cjs.entry.js +348 -0
- package/dist/cjs/au-radio.cjs.entry.js +45 -0
- package/dist/cjs/au-segmented-control.cjs.entry.js +544 -0
- package/dist/cjs/au-segmented-option.cjs.entry.js +78 -0
- package/dist/cjs/au-select.cjs.entry.js +336 -0
- package/dist/cjs/au-sidebar-nav.cjs.entry.js +178 -0
- package/dist/cjs/au-skeleton.cjs.entry.js +106 -0
- package/dist/cjs/au-slider.cjs.entry.js +286 -0
- package/dist/cjs/au-splitter.cjs.entry.js +230 -0
- package/dist/cjs/au-stat.cjs.entry.js +262 -0
- package/dist/cjs/au-switch.cjs.entry.js +175 -0
- package/dist/cjs/au-tab-panel.cjs.entry.js +63 -0
- package/dist/cjs/au-tab.cjs.entry.js +41 -0
- package/dist/cjs/au-table.cjs.entry.js +337 -0
- package/dist/cjs/au-tabs.cjs.entry.js +406 -0
- package/dist/cjs/au-textarea.cjs.entry.js +245 -0
- package/dist/cjs/au-toast-region.cjs.entry.js +692 -0
- package/dist/cjs/au-toast.cjs.entry.js +63 -0
- package/dist/cjs/au-toc.cjs.entry.js +445 -0
- package/dist/cjs/au-tooltip.cjs.entry.js +395 -0
- package/dist/cjs/aurora.cjs.js +25 -0
- package/dist/cjs/check-D8fNlWlh.js +16 -0
- package/dist/cjs/checkable-DhECpB9t.js +8 -0
- package/dist/cjs/circle-check-B3FqDucz.js +20 -0
- package/dist/cjs/circle-x-Tf2qIuBI.js +21 -0
- package/dist/cjs/constants.generated-CnWw9jDb.js +134 -0
- package/dist/cjs/control-id-CcdWN8_D.js +16 -0
- package/dist/cjs/copy-DJmgvzQq.js +19 -0
- package/dist/cjs/copy-check-Bktgfkg4.js +20 -0
- package/dist/cjs/deep-active-element-CoEYUbhF.js +11 -0
- package/dist/cjs/group-validity-D2brpooM.js +11 -0
- package/dist/cjs/icon-loader-Dij7pYkP.js +113 -0
- package/dist/cjs/index-B8lDYTMv.js +2314 -0
- package/dist/cjs/index-DI4bia-1.js +159 -0
- package/dist/cjs/index.cjs.js +358 -0
- package/dist/cjs/info-BLcxKacU.js +20 -0
- package/dist/cjs/initial-value-CfGBZMr4.js +13 -0
- package/dist/cjs/item-update-DZTXbDLY.js +15 -0
- package/dist/cjs/link-state-B3rIWSPS.js +40 -0
- package/dist/cjs/live-announcer-vcS-BUxR.js +400 -0
- package/dist/cjs/loader.cjs.js +13 -0
- package/dist/cjs/menu-CSfWKlaI.js +41 -0
- package/dist/cjs/minus-6XziUaOZ.js +16 -0
- package/dist/cjs/navigation-lpcPjVEI.js +63 -0
- package/dist/cjs/octagon-alert-CFrlltqZ.js +27 -0
- package/dist/cjs/plus-D3o9M7Mi.js +19 -0
- package/dist/cjs/popover-controller-B95YfF3I.js +237 -0
- package/dist/cjs/popover-support-CmR5F5K2.js +250 -0
- package/dist/cjs/resolve-size-LxALRdcg.js +13 -0
- package/dist/cjs/restore-DQu6RpSH.js +148 -0
- package/dist/cjs/reveal-BTJffR-G.js +69 -0
- package/dist/cjs/roving-CFu47frk.js +70 -0
- package/dist/cjs/segmented-CfUI9Mjx.js +53 -0
- package/dist/cjs/slider-DX8MuU0y.js +84 -0
- package/dist/cjs/toast-request-C-x_BbsL.js +67 -0
- package/dist/cjs/trending-down-BKjmYE1H.js +19 -0
- package/dist/cjs/trending-up-CoWuXxqz.js +19 -0
- package/dist/cjs/triangle-alert-VJkqaFrl.js +27 -0
- package/dist/cjs/user-round-Bb69LiUK.js +20 -0
- package/dist/cjs/warn-once-lHF-gQZp.js +21 -0
- package/dist/cjs/x-BmyhNJrF.js +19 -0
- package/dist/collection/collection-manifest.json +63 -0
- package/dist/collection/components/actions/au-button/au-button.constants.js +65 -0
- package/dist/collection/components/actions/au-button/au-button.css +224 -0
- package/dist/collection/components/actions/au-button/au-button.js +636 -0
- package/dist/collection/components/actions/au-button/au-button.types.js +1 -0
- package/dist/collection/components/actions/au-button/index.js +2 -0
- package/dist/collection/components/data-display/au-accordion/au-accordion.constants.js +11 -0
- package/dist/collection/components/data-display/au-accordion/au-accordion.css +7 -0
- package/dist/collection/components/data-display/au-accordion/au-accordion.js +143 -0
- package/dist/collection/components/data-display/au-accordion/au-accordion.types.js +1 -0
- package/dist/collection/components/data-display/au-accordion/index.js +2 -0
- package/dist/collection/components/data-display/au-accordion-item/au-accordion-item.css +156 -0
- package/dist/collection/components/data-display/au-accordion-item/au-accordion-item.js +186 -0
- package/dist/collection/components/data-display/au-accordion-item/index.js +1 -0
- package/dist/collection/components/data-display/au-avatar/au-avatar.constants.js +26 -0
- package/dist/collection/components/data-display/au-avatar/au-avatar.css +93 -0
- package/dist/collection/components/data-display/au-avatar/au-avatar.js +308 -0
- package/dist/collection/components/data-display/au-avatar/au-avatar.types.js +1 -0
- package/dist/collection/components/data-display/au-avatar/index.js +2 -0
- package/dist/collection/components/data-display/au-avatar/internal/initials.js +41 -0
- package/dist/collection/components/data-display/au-badge/au-badge.constants.js +29 -0
- package/dist/collection/components/data-display/au-badge/au-badge.css +152 -0
- package/dist/collection/components/data-display/au-badge/au-badge.js +142 -0
- package/dist/collection/components/data-display/au-badge/au-badge.types.js +1 -0
- package/dist/collection/components/data-display/au-badge/index.js +2 -0
- package/dist/collection/components/data-display/au-card/au-card.constants.js +20 -0
- package/dist/collection/components/data-display/au-card/au-card.css +125 -0
- package/dist/collection/components/data-display/au-card/au-card.js +127 -0
- package/dist/collection/components/data-display/au-card/au-card.types.js +1 -0
- package/dist/collection/components/data-display/au-card/index.js +2 -0
- package/dist/collection/components/data-display/au-chip/au-chip.constants.js +22 -0
- package/dist/collection/components/data-display/au-chip/au-chip.css +207 -0
- package/dist/collection/components/data-display/au-chip/au-chip.js +371 -0
- package/dist/collection/components/data-display/au-chip/au-chip.types.js +1 -0
- package/dist/collection/components/data-display/au-chip/index.js +2 -0
- package/dist/collection/components/data-display/au-chip/internal/neighbor.js +48 -0
- package/dist/collection/components/data-display/au-chip/internal/remove-key.js +13 -0
- package/dist/collection/components/data-display/au-code-block/au-code-block.constants.js +31 -0
- package/dist/collection/components/data-display/au-code-block/au-code-block.css +331 -0
- package/dist/collection/components/data-display/au-code-block/au-code-block.js +576 -0
- package/dist/collection/components/data-display/au-code-block/au-code-block.types.js +1 -0
- package/dist/collection/components/data-display/au-code-block/index.js +2 -0
- package/dist/collection/components/data-display/au-code-block/internal/highlight-lines.js +29 -0
- package/dist/collection/components/data-display/au-code-block/internal/highlight-result.js +42 -0
- package/dist/collection/components/data-display/au-code-block/internal/light-source.js +30 -0
- package/dist/collection/components/data-display/au-code-block/internal/normalize-code.js +48 -0
- package/dist/collection/components/data-display/au-kbd/au-kbd.constants.js +85 -0
- package/dist/collection/components/data-display/au-kbd/au-kbd.css +98 -0
- package/dist/collection/components/data-display/au-kbd/au-kbd.js +189 -0
- package/dist/collection/components/data-display/au-kbd/au-kbd.types.js +1 -0
- package/dist/collection/components/data-display/au-kbd/index.js +2 -0
- package/dist/collection/components/data-display/au-kbd/internal/describe.js +67 -0
- package/dist/collection/components/data-display/au-kbd/internal/parse.js +85 -0
- package/dist/collection/components/data-display/au-kbd/internal/platform.js +19 -0
- package/dist/collection/components/data-display/au-list/au-list.constants.js +8 -0
- package/dist/collection/components/data-display/au-list/au-list.css +30 -0
- package/dist/collection/components/data-display/au-list/au-list.js +132 -0
- package/dist/collection/components/data-display/au-list/au-list.types.js +1 -0
- package/dist/collection/components/data-display/au-list/index.js +2 -0
- package/dist/collection/components/data-display/au-list-item/au-list-item.css +196 -0
- package/dist/collection/components/data-display/au-list-item/au-list-item.js +305 -0
- package/dist/collection/components/data-display/au-list-item/index.js +1 -0
- package/dist/collection/components/data-display/au-list-item/internal/interactive-content.js +29 -0
- package/dist/collection/components/data-display/au-stat/au-stat.constants.js +44 -0
- package/dist/collection/components/data-display/au-stat/au-stat.css +139 -0
- package/dist/collection/components/data-display/au-stat/au-stat.js +491 -0
- package/dist/collection/components/data-display/au-stat/au-stat.types.js +1 -0
- package/dist/collection/components/data-display/au-stat/index.js +2 -0
- package/dist/collection/components/data-display/au-stat/internal/announcement.js +13 -0
- package/dist/collection/components/data-display/au-table/au-table.constants.js +21 -0
- package/dist/collection/components/data-display/au-table/au-table.css +20 -0
- package/dist/collection/components/data-display/au-table/au-table.js +482 -0
- package/dist/collection/components/data-display/au-table/au-table.types.js +1 -0
- package/dist/collection/components/data-display/au-table/index.js +2 -0
- package/dist/collection/components/data-display/au-table/internal/scroller-label.js +11 -0
- package/dist/collection/components/data-display/au-table/internal/sort.js +17 -0
- package/dist/collection/components/data-display/internal/accordion.js +31 -0
- package/dist/collection/components/feedback/au-alert/au-alert.constants.js +20 -0
- package/dist/collection/components/feedback/au-alert/au-alert.css +171 -0
- package/dist/collection/components/feedback/au-alert/au-alert.js +241 -0
- package/dist/collection/components/feedback/au-alert/au-alert.types.js +1 -0
- package/dist/collection/components/feedback/au-alert/index.js +2 -0
- package/dist/collection/components/feedback/au-progress/au-progress.constants.js +38 -0
- package/dist/collection/components/feedback/au-progress/au-progress.css +201 -0
- package/dist/collection/components/feedback/au-progress/au-progress.js +226 -0
- package/dist/collection/components/feedback/au-progress/au-progress.types.js +1 -0
- package/dist/collection/components/feedback/au-progress/index.js +2 -0
- package/dist/collection/components/feedback/au-skeleton/au-skeleton.constants.js +33 -0
- package/dist/collection/components/feedback/au-skeleton/au-skeleton.css +108 -0
- package/dist/collection/components/feedback/au-skeleton/au-skeleton.js +159 -0
- package/dist/collection/components/feedback/au-skeleton/au-skeleton.types.js +1 -0
- package/dist/collection/components/feedback/au-skeleton/index.js +2 -0
- package/dist/collection/components/feedback/au-toast/au-toast.constants.js +1 -0
- package/dist/collection/components/feedback/au-toast/au-toast.css +150 -0
- package/dist/collection/components/feedback/au-toast/au-toast.js +145 -0
- package/dist/collection/components/feedback/au-toast/au-toast.service.js +140 -0
- package/dist/collection/components/feedback/au-toast/au-toast.types.js +1 -0
- package/dist/collection/components/feedback/au-toast/index.js +2 -0
- package/dist/collection/components/feedback/au-toast-region/au-toast-region.css +71 -0
- package/dist/collection/components/feedback/au-toast-region/au-toast-region.js +653 -0
- package/dist/collection/components/feedback/au-toast-region/index.js +2 -0
- package/dist/collection/components/feedback/internal/toast-announcer.js +5 -0
- package/dist/collection/components/feedback/internal/toast-constants.js +52 -0
- package/dist/collection/components/feedback/internal/toast-options.js +64 -0
- package/dist/collection/components/feedback/internal/toast-popover.js +22 -0
- package/dist/collection/components/feedback/internal/toast-queue.js +74 -0
- package/dist/collection/components/feedback/internal/toast-registry.js +24 -0
- package/dist/collection/components/feedback/internal/toast-request.js +6 -0
- package/dist/collection/components/feedback/internal/toast-timers.js +61 -0
- package/dist/collection/components/feedback/internal/toast-timing.js +5 -0
- package/dist/collection/components/feedback/internal/toast-types.js +1 -0
- package/dist/collection/components/forms/au-checkbox/au-checkbox.constants.js +2 -0
- package/dist/collection/components/forms/au-checkbox/au-checkbox.css +212 -0
- package/dist/collection/components/forms/au-checkbox/au-checkbox.js +468 -0
- package/dist/collection/components/forms/au-checkbox/au-checkbox.types.js +1 -0
- package/dist/collection/components/forms/au-checkbox/index.js +2 -0
- package/dist/collection/components/forms/au-combobox/au-combobox.constants.js +26 -0
- package/dist/collection/components/forms/au-combobox/au-combobox.css +374 -0
- package/dist/collection/components/forms/au-combobox/au-combobox.js +1165 -0
- package/dist/collection/components/forms/au-combobox/au-combobox.types.js +1 -0
- package/dist/collection/components/forms/au-combobox/index.js +2 -0
- package/dist/collection/components/forms/au-field/au-field.css +78 -0
- package/dist/collection/components/forms/au-field/au-field.js +195 -0
- package/dist/collection/components/forms/au-field/index.js +1 -0
- package/dist/collection/components/forms/au-input/au-input.constants.js +35 -0
- package/dist/collection/components/forms/au-input/au-input.css +195 -0
- package/dist/collection/components/forms/au-input/au-input.js +845 -0
- package/dist/collection/components/forms/au-input/au-input.types.js +1 -0
- package/dist/collection/components/forms/au-input/index.js +2 -0
- package/dist/collection/components/forms/au-label/au-label.constants.js +7 -0
- package/dist/collection/components/forms/au-label/au-label.css +38 -0
- package/dist/collection/components/forms/au-label/au-label.js +109 -0
- package/dist/collection/components/forms/au-label/au-label.types.js +1 -0
- package/dist/collection/components/forms/au-label/index.js +2 -0
- package/dist/collection/components/forms/au-number-input/au-number-input.constants.js +15 -0
- package/dist/collection/components/forms/au-number-input/au-number-input.css +276 -0
- package/dist/collection/components/forms/au-number-input/au-number-input.js +711 -0
- package/dist/collection/components/forms/au-number-input/au-number-input.types.js +1 -0
- package/dist/collection/components/forms/au-number-input/index.js +2 -0
- package/dist/collection/components/forms/au-radio/au-radio.constants.js +2 -0
- package/dist/collection/components/forms/au-radio/au-radio.css +126 -0
- package/dist/collection/components/forms/au-radio/au-radio.js +129 -0
- package/dist/collection/components/forms/au-radio/au-radio.types.js +1 -0
- package/dist/collection/components/forms/au-radio/index.js +2 -0
- package/dist/collection/components/forms/au-radio-group/au-radio-group.constants.js +6 -0
- package/dist/collection/components/forms/au-radio-group/au-radio-group.css +67 -0
- package/dist/collection/components/forms/au-radio-group/au-radio-group.js +643 -0
- package/dist/collection/components/forms/au-radio-group/au-radio-group.types.js +1 -0
- package/dist/collection/components/forms/au-radio-group/index.js +2 -0
- package/dist/collection/components/forms/au-segmented-control/au-segmented-control.constants.js +26 -0
- package/dist/collection/components/forms/au-segmented-control/au-segmented-control.css +92 -0
- package/dist/collection/components/forms/au-segmented-control/au-segmented-control.js +916 -0
- package/dist/collection/components/forms/au-segmented-control/au-segmented-control.types.js +1 -0
- package/dist/collection/components/forms/au-segmented-control/index.js +2 -0
- package/dist/collection/components/forms/au-segmented-option/au-segmented-option.css +103 -0
- package/dist/collection/components/forms/au-segmented-option/au-segmented-option.js +191 -0
- package/dist/collection/components/forms/au-segmented-option/au-segmented-option.types.js +1 -0
- package/dist/collection/components/forms/au-segmented-option/index.js +1 -0
- package/dist/collection/components/forms/au-select/au-select.constants.js +7 -0
- package/dist/collection/components/forms/au-select/au-select.css +194 -0
- package/dist/collection/components/forms/au-select/au-select.js +589 -0
- package/dist/collection/components/forms/au-select/au-select.types.js +1 -0
- package/dist/collection/components/forms/au-select/index.js +2 -0
- package/dist/collection/components/forms/au-select/internal/read-select-options.js +45 -0
- package/dist/collection/components/forms/au-slider/au-slider.constants.js +11 -0
- package/dist/collection/components/forms/au-slider/au-slider.css +296 -0
- package/dist/collection/components/forms/au-slider/au-slider.js +675 -0
- package/dist/collection/components/forms/au-slider/au-slider.types.js +1 -0
- package/dist/collection/components/forms/au-slider/index.js +2 -0
- package/dist/collection/components/forms/au-switch/au-switch.constants.js +2 -0
- package/dist/collection/components/forms/au-switch/au-switch.css +201 -0
- package/dist/collection/components/forms/au-switch/au-switch.js +440 -0
- package/dist/collection/components/forms/au-switch/au-switch.types.js +1 -0
- package/dist/collection/components/forms/au-switch/index.js +2 -0
- package/dist/collection/components/forms/au-textarea/au-textarea.constants.js +16 -0
- package/dist/collection/components/forms/au-textarea/au-textarea.css +187 -0
- package/dist/collection/components/forms/au-textarea/au-textarea.js +694 -0
- package/dist/collection/components/forms/au-textarea/au-textarea.types.js +1 -0
- package/dist/collection/components/forms/au-textarea/index.js +2 -0
- package/dist/collection/components/forms/internal/combobox.js +86 -0
- package/dist/collection/components/forms/internal/number-input.js +54 -0
- package/dist/collection/components/forms/internal/segmented.js +43 -0
- package/dist/collection/components/forms/internal/slider.js +76 -0
- package/dist/collection/components/layout/au-container/au-container.constants.js +22 -0
- package/dist/collection/components/layout/au-container/au-container.css +109 -0
- package/dist/collection/components/layout/au-container/au-container.js +144 -0
- package/dist/collection/components/layout/au-container/au-container.types.js +1 -0
- package/dist/collection/components/layout/au-container/index.js +2 -0
- package/dist/collection/components/layout/au-divider/au-divider.constants.js +23 -0
- package/dist/collection/components/layout/au-divider/au-divider.css +73 -0
- package/dist/collection/components/layout/au-divider/au-divider.js +194 -0
- package/dist/collection/components/layout/au-divider/au-divider.types.js +1 -0
- package/dist/collection/components/layout/au-divider/index.js +2 -0
- package/dist/collection/components/layout/au-splitter/au-splitter.constants.js +9 -0
- package/dist/collection/components/layout/au-splitter/au-splitter.css +168 -0
- package/dist/collection/components/layout/au-splitter/au-splitter.js +376 -0
- package/dist/collection/components/layout/au-splitter/au-splitter.types.js +1 -0
- package/dist/collection/components/layout/au-splitter/index.js +2 -0
- package/dist/collection/components/layout/internal/splitter.js +27 -0
- package/dist/collection/components/navigation/au-breadcrumb/au-breadcrumb.constants.js +4 -0
- package/dist/collection/components/navigation/au-breadcrumb/au-breadcrumb.css +20 -0
- package/dist/collection/components/navigation/au-breadcrumb/au-breadcrumb.js +110 -0
- package/dist/collection/components/navigation/au-breadcrumb/index.js +2 -0
- package/dist/collection/components/navigation/au-breadcrumb-item/au-breadcrumb-item.css +127 -0
- package/dist/collection/components/navigation/au-breadcrumb-item/au-breadcrumb-item.js +186 -0
- package/dist/collection/components/navigation/au-breadcrumb-item/index.js +1 -0
- package/dist/collection/components/navigation/au-nav-group/au-nav-group.css +137 -0
- package/dist/collection/components/navigation/au-nav-group/au-nav-group.js +96 -0
- package/dist/collection/components/navigation/au-nav-group/index.js +1 -0
- package/dist/collection/components/navigation/au-nav-link/au-nav-link.css +128 -0
- package/dist/collection/components/navigation/au-nav-link/au-nav-link.js +205 -0
- package/dist/collection/components/navigation/au-nav-link/index.js +1 -0
- package/dist/collection/components/navigation/au-navbar/au-navbar.constants.js +40 -0
- package/dist/collection/components/navigation/au-navbar/au-navbar.css +185 -0
- package/dist/collection/components/navigation/au-navbar/au-navbar.js +409 -0
- package/dist/collection/components/navigation/au-navbar/au-navbar.types.js +1 -0
- package/dist/collection/components/navigation/au-navbar/index.js +2 -0
- package/dist/collection/components/navigation/au-navbar/internal/collapse.js +14 -0
- package/dist/collection/components/navigation/au-sidebar-nav/au-sidebar-nav.constants.js +2 -0
- package/dist/collection/components/navigation/au-sidebar-nav/au-sidebar-nav.css +29 -0
- package/dist/collection/components/navigation/au-sidebar-nav/au-sidebar-nav.js +251 -0
- package/dist/collection/components/navigation/au-sidebar-nav/index.js +2 -0
- package/dist/collection/components/navigation/au-tab/au-tab.css +84 -0
- package/dist/collection/components/navigation/au-tab/au-tab.js +107 -0
- package/dist/collection/components/navigation/au-tab/index.js +1 -0
- package/dist/collection/components/navigation/au-tab-panel/au-tab-panel.css +20 -0
- package/dist/collection/components/navigation/au-tab-panel/au-tab-panel.js +134 -0
- package/dist/collection/components/navigation/au-tab-panel/index.js +1 -0
- package/dist/collection/components/navigation/au-tabs/au-tabs.constants.js +12 -0
- package/dist/collection/components/navigation/au-tabs/au-tabs.css +107 -0
- package/dist/collection/components/navigation/au-tabs/au-tabs.js +554 -0
- package/dist/collection/components/navigation/au-tabs/au-tabs.types.js +1 -0
- package/dist/collection/components/navigation/au-tabs/index.js +2 -0
- package/dist/collection/components/navigation/au-tabs/internal/indicator-geometry.js +18 -0
- package/dist/collection/components/navigation/au-toc/au-toc.constants.js +6 -0
- package/dist/collection/components/navigation/au-toc/au-toc.css +107 -0
- package/dist/collection/components/navigation/au-toc/au-toc.js +462 -0
- package/dist/collection/components/navigation/au-toc/index.js +2 -0
- package/dist/collection/components/navigation/au-toc/internal/toc-model.js +89 -0
- package/dist/collection/components/navigation/internal/reveal.js +65 -0
- package/dist/collection/components/overlays/au-dialog/au-dialog.constants.js +29 -0
- package/dist/collection/components/overlays/au-dialog/au-dialog.css +324 -0
- package/dist/collection/components/overlays/au-dialog/au-dialog.js +618 -0
- package/dist/collection/components/overlays/au-dialog/au-dialog.types.js +1 -0
- package/dist/collection/components/overlays/au-dialog/index.js +2 -0
- package/dist/collection/components/overlays/au-menu/au-menu.constants.js +37 -0
- package/dist/collection/components/overlays/au-menu/au-menu.css +163 -0
- package/dist/collection/components/overlays/au-menu/au-menu.js +507 -0
- package/dist/collection/components/overlays/au-menu/au-menu.types.js +1 -0
- package/dist/collection/components/overlays/au-menu/index.js +2 -0
- package/dist/collection/components/overlays/au-menu-item/au-menu-item.css +127 -0
- package/dist/collection/components/overlays/au-menu-item/au-menu-item.js +185 -0
- package/dist/collection/components/overlays/au-menu-item/au-menu-item.types.js +1 -0
- package/dist/collection/components/overlays/au-menu-item/index.js +1 -0
- package/dist/collection/components/overlays/au-popover/au-popover.constants.js +24 -0
- package/dist/collection/components/overlays/au-popover/au-popover.css +149 -0
- package/dist/collection/components/overlays/au-popover/au-popover.js +253 -0
- package/dist/collection/components/overlays/au-popover/au-popover.types.js +1 -0
- package/dist/collection/components/overlays/au-popover/index.js +2 -0
- package/dist/collection/components/overlays/au-tooltip/au-tooltip.constants.js +19 -0
- package/dist/collection/components/overlays/au-tooltip/au-tooltip.css +144 -0
- package/dist/collection/components/overlays/au-tooltip/au-tooltip.js +517 -0
- package/dist/collection/components/overlays/au-tooltip/index.js +2 -0
- package/dist/collection/components/overlays/internal/menu.js +34 -0
- package/dist/collection/components/overlays/internal/popover-controller.js +233 -0
- package/dist/collection/components/overlays/internal/typeahead.js +28 -0
- package/dist/collection/components/primitives/au-icon/au-icon.constants.js +3 -0
- package/dist/collection/components/primitives/au-icon/au-icon.css +36 -0
- package/dist/collection/components/primitives/au-icon/au-icon.js +367 -0
- package/dist/collection/components/primitives/au-icon/au-icon.types.js +1 -0
- package/dist/collection/components/primitives/au-icon/core-icons.js +22 -0
- package/dist/collection/components/primitives/au-icon/icon-loader.js +76 -0
- package/dist/collection/components/primitives/au-icon/index.js +1 -0
- package/dist/collection/foundations/constants/constants.generated.mjs +119 -0
- package/dist/collection/foundations/constants/index.js +2 -0
- package/dist/collection/foundations/constants/resolve-size.js +9 -0
- package/dist/collection/foundations/icons/autoload.js +21 -0
- package/dist/collection/foundations/icons/icon-autoload-hook.js +13 -0
- package/dist/collection/foundations/icons/icon-registry.js +147 -0
- package/dist/collection/foundations/icons/icon-sizes.js +8 -0
- package/dist/collection/foundations/icons/icon-slug.js +26 -0
- package/dist/collection/foundations/icons/icon.constants.generated.js +2284 -0
- package/dist/collection/foundations/icons/icon.constants.js +18 -0
- package/dist/collection/foundations/icons/icon.types.js +1 -0
- package/dist/collection/foundations/icons/index.js +3 -0
- package/dist/collection/foundations/icons/mdi-map.js +86 -0
- package/dist/collection/foundations/icons/register-lucide-icons.js +30 -0
- package/dist/collection/foundations/themes/theme.js +161 -0
- package/dist/collection/foundations/tokens/index.js +2 -0
- package/dist/collection/foundations/tokens/tokens.generated.mjs +178 -0
- package/dist/collection/index.js +10 -0
- package/dist/collection/integrations/basics/index.js +2 -0
- package/dist/collection/integrations/basics/is-plain-object.js +1 -0
- package/dist/collection/integrations/flux/index.js +1 -0
- package/dist/collection/integrations/flux/loader.js +66 -0
- package/dist/collection/integrations/flux/provide.js +16 -0
- package/dist/collection/integrations/flux/registry.js +42 -0
- package/dist/collection/shared/anchored/anchor-position.js +101 -0
- package/dist/collection/shared/anchored/js-positioning.js +113 -0
- package/dist/collection/shared/anchored/popover-support.js +30 -0
- package/dist/collection/shared/clipboard/clipboard.js +14 -0
- package/dist/collection/shared/clipboard/copy-procedure.js +189 -0
- package/dist/collection/shared/clipboard/copy-types.js +15 -0
- package/dist/collection/shared/focus/deep-active-element.js +7 -0
- package/dist/collection/shared/focus/index.js +1 -0
- package/dist/collection/shared/form-control/attributes.js +25 -0
- package/dist/collection/shared/form-control/checkable.js +4 -0
- package/dist/collection/shared/form-control/control-id.js +11 -0
- package/dist/collection/shared/form-control/described-by.js +5 -0
- package/dist/collection/shared/form-control/form-control-controller.js +88 -0
- package/dist/collection/shared/form-control/group-validity.js +7 -0
- package/dist/collection/shared/form-control/host-events.js +19 -0
- package/dist/collection/shared/form-control/index.js +10 -0
- package/dist/collection/shared/form-control/initial-value.js +9 -0
- package/dist/collection/shared/form-control/restore.js +12 -0
- package/dist/collection/shared/form-control/validation-message.js +12 -0
- package/dist/collection/shared/live-announcer/announce-queue.js +141 -0
- package/dist/collection/shared/live-announcer/announce-timing.js +12 -0
- package/dist/collection/shared/live-announcer/index.js +1 -0
- package/dist/collection/shared/live-announcer/live-announcer.js +150 -0
- package/dist/collection/shared/live-announcer/public.js +6 -0
- package/dist/collection/shared/modal-placement.js +42 -0
- package/dist/collection/shared/modal-target.js +59 -0
- package/dist/collection/shared/navigation/index.js +2 -0
- package/dist/collection/shared/navigation/link-state.js +34 -0
- package/dist/collection/shared/navigation/navigation.js +56 -0
- package/dist/collection/shared/observers/index.js +180 -0
- package/dist/collection/shared/roving-focus/index.js +2 -0
- package/dist/collection/shared/roving-focus/item-update.js +11 -0
- package/dist/collection/shared/roving-focus/roving.js +65 -0
- package/dist/collection/shared/warn-once.js +17 -0
- package/dist/components/au-accordion-item.d.ts +11 -0
- package/dist/components/au-accordion-item.js +1 -0
- package/dist/components/au-accordion.d.ts +11 -0
- package/dist/components/au-accordion.js +1 -0
- package/dist/components/au-alert.d.ts +11 -0
- package/dist/components/au-alert.js +1 -0
- package/dist/components/au-avatar.d.ts +11 -0
- package/dist/components/au-avatar.js +1 -0
- package/dist/components/au-badge.d.ts +11 -0
- package/dist/components/au-badge.js +1 -0
- package/dist/components/au-breadcrumb-item.d.ts +11 -0
- package/dist/components/au-breadcrumb-item.js +1 -0
- package/dist/components/au-breadcrumb.d.ts +11 -0
- package/dist/components/au-breadcrumb.js +1 -0
- package/dist/components/au-button.d.ts +11 -0
- package/dist/components/au-button.js +1 -0
- package/dist/components/au-card.d.ts +11 -0
- package/dist/components/au-card.js +1 -0
- package/dist/components/au-checkbox.d.ts +11 -0
- package/dist/components/au-checkbox.js +1 -0
- package/dist/components/au-chip.d.ts +11 -0
- package/dist/components/au-chip.js +1 -0
- package/dist/components/au-code-block.d.ts +11 -0
- package/dist/components/au-code-block.js +1 -0
- package/dist/components/au-combobox.d.ts +11 -0
- package/dist/components/au-combobox.js +1 -0
- package/dist/components/au-container.d.ts +11 -0
- package/dist/components/au-container.js +1 -0
- package/dist/components/au-dialog.d.ts +11 -0
- package/dist/components/au-dialog.js +1 -0
- package/dist/components/au-divider.d.ts +11 -0
- package/dist/components/au-divider.js +1 -0
- package/dist/components/au-field.d.ts +11 -0
- package/dist/components/au-field.js +1 -0
- package/dist/components/au-icon.d.ts +11 -0
- package/dist/components/au-icon.js +1 -0
- package/dist/components/au-input.d.ts +11 -0
- package/dist/components/au-input.js +1 -0
- package/dist/components/au-kbd.d.ts +11 -0
- package/dist/components/au-kbd.js +1 -0
- package/dist/components/au-label.d.ts +11 -0
- package/dist/components/au-label.js +1 -0
- package/dist/components/au-list-item.d.ts +11 -0
- package/dist/components/au-list-item.js +1 -0
- package/dist/components/au-list.d.ts +11 -0
- package/dist/components/au-list.js +1 -0
- package/dist/components/au-menu-item.d.ts +11 -0
- package/dist/components/au-menu-item.js +1 -0
- package/dist/components/au-menu.d.ts +11 -0
- package/dist/components/au-menu.js +1 -0
- package/dist/components/au-nav-group.d.ts +11 -0
- package/dist/components/au-nav-group.js +1 -0
- package/dist/components/au-nav-link.d.ts +11 -0
- package/dist/components/au-nav-link.js +1 -0
- package/dist/components/au-navbar.d.ts +11 -0
- package/dist/components/au-navbar.js +1 -0
- package/dist/components/au-number-input.d.ts +11 -0
- package/dist/components/au-number-input.js +1 -0
- package/dist/components/au-popover.d.ts +11 -0
- package/dist/components/au-popover.js +1 -0
- package/dist/components/au-progress.d.ts +11 -0
- package/dist/components/au-progress.js +1 -0
- package/dist/components/au-radio-group.d.ts +11 -0
- package/dist/components/au-radio-group.js +1 -0
- package/dist/components/au-radio.d.ts +11 -0
- package/dist/components/au-radio.js +1 -0
- package/dist/components/au-segmented-control.d.ts +11 -0
- package/dist/components/au-segmented-control.js +1 -0
- package/dist/components/au-segmented-option.d.ts +11 -0
- package/dist/components/au-segmented-option.js +1 -0
- package/dist/components/au-select.d.ts +11 -0
- package/dist/components/au-select.js +1 -0
- package/dist/components/au-sidebar-nav.d.ts +11 -0
- package/dist/components/au-sidebar-nav.js +1 -0
- package/dist/components/au-skeleton.d.ts +11 -0
- package/dist/components/au-skeleton.js +1 -0
- package/dist/components/au-slider.d.ts +11 -0
- package/dist/components/au-slider.js +1 -0
- package/dist/components/au-splitter.d.ts +11 -0
- package/dist/components/au-splitter.js +1 -0
- package/dist/components/au-stat.d.ts +11 -0
- package/dist/components/au-stat.js +1 -0
- package/dist/components/au-switch.d.ts +11 -0
- package/dist/components/au-switch.js +1 -0
- package/dist/components/au-tab-panel.d.ts +11 -0
- package/dist/components/au-tab-panel.js +1 -0
- package/dist/components/au-tab.d.ts +11 -0
- package/dist/components/au-tab.js +1 -0
- package/dist/components/au-table.d.ts +11 -0
- package/dist/components/au-table.js +1 -0
- package/dist/components/au-tabs.d.ts +11 -0
- package/dist/components/au-tabs.js +1 -0
- package/dist/components/au-textarea.d.ts +11 -0
- package/dist/components/au-textarea.js +1 -0
- package/dist/components/au-toast-region.d.ts +11 -0
- package/dist/components/au-toast-region.js +1 -0
- package/dist/components/au-toast.d.ts +11 -0
- package/dist/components/au-toast.js +1 -0
- package/dist/components/au-toc.d.ts +11 -0
- package/dist/components/au-toc.js +1 -0
- package/dist/components/au-tooltip.d.ts +11 -0
- package/dist/components/au-tooltip.js +1 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +1 -0
- package/dist/components/p-B3rlZvSP.js +7 -0
- package/dist/components/p-B5BhPkwP.js +1 -0
- package/dist/components/p-B71krpcd.js +1 -0
- package/dist/components/p-BTRtOC1j.js +1 -0
- package/dist/components/p-BTZwl4uD.js +7 -0
- package/dist/components/p-BvnCPjl5.js +1 -0
- package/dist/components/p-C-bRwiWx.js +1 -0
- package/dist/components/p-C2iVoG0G.js +1 -0
- package/dist/components/p-C48ks26E.js +1 -0
- package/dist/components/p-C6E5E18W.js +7 -0
- package/dist/components/p-CA3n-tpF.js +7 -0
- package/dist/components/p-CIZeCYao.js +1 -0
- package/dist/components/p-CJtRxiuh.js +7 -0
- package/dist/components/p-CU9sZ49I.js +7 -0
- package/dist/components/p-CfazOBmW.js +1 -0
- package/dist/components/p-Ci-XzGE3.js +1 -0
- package/dist/components/p-CnJOd66V.js +7 -0
- package/dist/components/p-Cq5N0E4D.js +7 -0
- package/dist/components/p-CrKUXDm4.js +1 -0
- package/dist/components/p-DBHfOAQc.js +1 -0
- package/dist/components/p-DD6GCVQb.js +1 -0
- package/dist/components/p-DMeUBbqF.js +7 -0
- package/dist/components/p-DTEnois3.js +7 -0
- package/dist/components/p-DTeHrc-Q.js +1 -0
- package/dist/components/p-DgfWQsck.js +1 -0
- package/dist/components/p-DjW6oMgu.js +7 -0
- package/dist/components/p-Dogh3-Bf.js +1 -0
- package/dist/components/p-DqAwSryz.js +1 -0
- package/dist/components/p-DqqWqhAT.js +1 -0
- package/dist/components/p-Dv3Jcvbc.js +1 -0
- package/dist/components/p-Dw0zb4x_.js +1 -0
- package/dist/components/p-JU60IJxn.js +1 -0
- package/dist/components/p-TdUs41zm.js +1 -0
- package/dist/components/p-ZpauIcNt.js +1 -0
- package/dist/components/p-gvyxpLwV.js +1 -0
- package/dist/components/p-kEvQ5xF7.js +1 -0
- package/dist/components/p-kbAXs-sG.js +7 -0
- package/dist/components/p-klxij34W.js +1 -0
- package/dist/components/p-kpQFQ7bu.js +7 -0
- package/dist/components/p-tdx7CCkD.js +7 -0
- package/dist/components/p-vjn4H-yX.js +1 -0
- package/dist/custom-elements.json +11216 -0
- package/dist/esm/accordion-CfazOBmW.js +33 -0
- package/dist/esm/app-globals-DQuL1Twl.js +3 -0
- package/dist/esm/attributes-CrKUXDm4.js +27 -0
- package/dist/esm/au-accordion-item.entry.js +86 -0
- package/dist/esm/au-accordion.entry.js +98 -0
- package/dist/esm/au-alert.entry.js +115 -0
- package/dist/esm/au-avatar.entry.js +175 -0
- package/dist/esm/au-badge.entry.js +58 -0
- package/dist/esm/au-breadcrumb-item.entry.js +82 -0
- package/dist/esm/au-breadcrumb.entry.js +78 -0
- package/dist/esm/au-button.entry.js +326 -0
- package/dist/esm/au-card.entry.js +74 -0
- package/dist/esm/au-checkbox.entry.js +181 -0
- package/dist/esm/au-chip.entry.js +247 -0
- package/dist/esm/au-code-block.entry.js +676 -0
- package/dist/esm/au-combobox.entry.js +753 -0
- package/dist/esm/au-container.entry.js +56 -0
- package/dist/esm/au-dialog.entry.js +375 -0
- package/dist/esm/au-divider.entry.js +104 -0
- package/dist/esm/au-field.entry.js +183 -0
- package/dist/esm/au-icon-6iJTkDID.js +344 -0
- package/dist/esm/au-icon.entry.js +3 -0
- package/dist/esm/au-input.entry.js +310 -0
- package/dist/esm/au-kbd.entry.js +353 -0
- package/dist/esm/au-label.entry.js +43 -0
- package/dist/esm/au-list-item.entry.js +193 -0
- package/dist/esm/au-list.entry.js +76 -0
- package/dist/esm/au-menu-item.entry.js +69 -0
- package/dist/esm/au-menu.entry.js +345 -0
- package/dist/esm/au-nav-group.entry.js +48 -0
- package/dist/esm/au-nav-link.entry.js +82 -0
- package/dist/esm/au-navbar.entry.js +304 -0
- package/dist/esm/au-number-input.entry.js +348 -0
- package/dist/esm/au-popover.entry.js +128 -0
- package/dist/esm/au-progress.entry.js +105 -0
- package/dist/esm/au-radio-group.entry.js +346 -0
- package/dist/esm/au-radio.entry.js +43 -0
- package/dist/esm/au-segmented-control.entry.js +542 -0
- package/dist/esm/au-segmented-option.entry.js +76 -0
- package/dist/esm/au-select.entry.js +334 -0
- package/dist/esm/au-sidebar-nav.entry.js +176 -0
- package/dist/esm/au-skeleton.entry.js +104 -0
- package/dist/esm/au-slider.entry.js +284 -0
- package/dist/esm/au-splitter.entry.js +228 -0
- package/dist/esm/au-stat.entry.js +260 -0
- package/dist/esm/au-switch.entry.js +173 -0
- package/dist/esm/au-tab-panel.entry.js +61 -0
- package/dist/esm/au-tab.entry.js +39 -0
- package/dist/esm/au-table.entry.js +335 -0
- package/dist/esm/au-tabs.entry.js +404 -0
- package/dist/esm/au-textarea.entry.js +243 -0
- package/dist/esm/au-toast-region.entry.js +690 -0
- package/dist/esm/au-toast.entry.js +61 -0
- package/dist/esm/au-toc.entry.js +443 -0
- package/dist/esm/au-tooltip.entry.js +393 -0
- package/dist/esm/aurora.js +21 -0
- package/dist/esm/check-CnJOd66V.js +14 -0
- package/dist/esm/checkable-kEvQ5xF7.js +6 -0
- package/dist/esm/circle-check-kpQFQ7bu.js +18 -0
- package/dist/esm/circle-x-tdx7CCkD.js +19 -0
- package/dist/esm/constants.generated-DqqWqhAT.js +120 -0
- package/dist/esm/control-id-C48ks26E.js +13 -0
- package/dist/esm/copy-B3rlZvSP.js +17 -0
- package/dist/esm/copy-check-Cq5N0E4D.js +18 -0
- package/dist/esm/deep-active-element-C-bRwiWx.js +9 -0
- package/dist/esm/group-validity-C2iVoG0G.js +9 -0
- package/dist/esm/icon-loader-B2WSNZ27.js +111 -0
- package/dist/esm/index-JU60IJxn.js +155 -0
- package/dist/esm/index-KLUZmSN-.js +2304 -0
- package/dist/esm/index.js +321 -0
- package/dist/esm/info-CA3n-tpF.js +18 -0
- package/dist/esm/initial-value-B71krpcd.js +11 -0
- package/dist/esm/item-update-DgfWQsck.js +13 -0
- package/dist/esm/link-state-DhPKwPml.js +37 -0
- package/dist/esm/live-announcer-IAjNBWYI.js +391 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/menu-vjn4H-yX.js +35 -0
- package/dist/esm/minus-kbAXs-sG.js +14 -0
- package/dist/esm/navigation-TdUs41zm.js +58 -0
- package/dist/esm/octagon-alert-DTEnois3.js +25 -0
- package/dist/esm/plus-CU9sZ49I.js +17 -0
- package/dist/esm/popover-controller-DUrPFfIx.js +235 -0
- package/dist/esm/popover-support-DBHfOAQc.js +247 -0
- package/dist/esm/resolve-size-DD6GCVQb.js +11 -0
- package/dist/esm/restore-gvyxpLwV.js +141 -0
- package/dist/esm/reveal-BvnCPjl5.js +67 -0
- package/dist/esm/roving-Dogh3-Bf.js +67 -0
- package/dist/esm/segmented-BTRtOC1j.js +45 -0
- package/dist/esm/slider-CIZeCYao.js +78 -0
- package/dist/esm/toast-request-Kwv9rt06.js +55 -0
- package/dist/esm/trending-down-DjW6oMgu.js +17 -0
- package/dist/esm/trending-up-DMeUBbqF.js +17 -0
- package/dist/esm/triangle-alert-CJtRxiuh.js +25 -0
- package/dist/esm/user-round-C6E5E18W.js +18 -0
- package/dist/esm/warn-once-Ci-XzGE3.js +19 -0
- package/dist/esm/x-BTZwl4uD.js +17 -0
- package/dist/foundations/accessibility/_index.scss +34 -0
- package/dist/foundations/constants/_config.scss +119 -0
- package/dist/foundations/constants/_index.scss +1 -0
- package/dist/foundations/interactions/_index.scss +19 -0
- package/dist/foundations/responsive/_breakpoints.scss +104 -0
- package/dist/foundations/responsive/_index.scss +1 -0
- package/dist/foundations/themes/_dark.scss +60 -0
- package/dist/foundations/themes/_default.scss +37 -0
- package/dist/foundations/themes/_glass.scss +98 -0
- package/dist/foundations/themes/_index.scss +2 -0
- package/dist/foundations/themes/_minimal.scss +54 -0
- package/dist/foundations/tokens/_config.scss +186 -0
- package/dist/foundations/tokens/_functions.scss +19 -0
- package/dist/foundations/tokens/_index.scss +3 -0
- package/dist/foundations/tokens/_runtime.scss +102 -0
- package/dist/foundations/utilities/_borders.scss +116 -0
- package/dist/foundations/utilities/_colors.scss +17 -0
- package/dist/foundations/utilities/_flex.scss +144 -0
- package/dist/foundations/utilities/_grid.scss +105 -0
- package/dist/foundations/utilities/_index.scss +92 -0
- package/dist/foundations/utilities/_positioning.scss +44 -0
- package/dist/foundations/utilities/_sizing.scss +38 -0
- package/dist/foundations/utilities/_spacing.scss +119 -0
- package/dist/foundations/utilities/_typography.scss +85 -0
- package/dist/icons/foundations/icons/autoload.d.ts +9 -0
- package/dist/icons/foundations/icons/autoload.js +21 -0
- package/dist/icons/foundations/icons/icon-autoload-hook.d.ts +14 -0
- package/dist/icons/foundations/icons/icon-autoload-hook.js +13 -0
- package/dist/icons/foundations/icons/icon-registry.d.ts +11 -0
- package/dist/icons/foundations/icons/icon-registry.js +147 -0
- package/dist/icons/foundations/icons/icon-sizes.d.ts +8 -0
- package/dist/icons/foundations/icons/icon-sizes.js +8 -0
- package/dist/icons/foundations/icons/icon-slug.d.ts +6 -0
- package/dist/icons/foundations/icons/icon-slug.js +26 -0
- package/dist/icons/foundations/icons/icon.constants.d.ts +14 -0
- package/dist/icons/foundations/icons/icon.constants.generated.d.ts +2281 -0
- package/dist/icons/foundations/icons/icon.constants.generated.js +2284 -0
- package/dist/icons/foundations/icons/icon.constants.js +18 -0
- package/dist/icons/foundations/icons/icon.types.d.ts +21 -0
- package/dist/icons/foundations/icons/icon.types.js +1 -0
- package/dist/icons/foundations/icons/index.d.ts +5 -0
- package/dist/icons/foundations/icons/index.js +3 -0
- package/dist/icons/foundations/icons/mdi-map.d.ts +92 -0
- package/dist/icons/foundations/icons/mdi-map.js +86 -0
- package/dist/icons/foundations/icons/register-lucide-icons.d.ts +14 -0
- package/dist/icons/foundations/icons/register-lucide-icons.js +30 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.js +2 -0
- package/dist/icons/integrations/basics/index.d.ts +2 -0
- package/dist/icons/integrations/basics/index.js +2 -0
- package/dist/icons/integrations/basics/is-plain-object.d.ts +1 -0
- package/dist/icons/integrations/basics/is-plain-object.js +1 -0
- package/dist/icons/package.json +3 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/scss/index.scss +4 -0
- package/dist/scss/interactions.scss +1 -0
- package/dist/scss/responsive.scss +2 -0
- package/dist/scss/themes/dark.scss +1 -0
- package/dist/scss/themes/default.scss +1 -0
- package/dist/scss/themes/glass.scss +1 -0
- package/dist/scss/themes/minimal.scss +1 -0
- package/dist/scss/tokens.scss +1 -0
- package/dist/scss/utilities/_index.scss +5 -0
- package/dist/scss/utilities/borders.scss +3 -0
- package/dist/scss/utilities/colors.scss +2 -0
- package/dist/scss/utilities/flex.scss +1 -0
- package/dist/scss/utilities/grid.scss +1 -0
- package/dist/scss/utilities/positioning.scss +2 -0
- package/dist/scss/utilities/sizing.scss +3 -0
- package/dist/scss/utilities/spacing.scss +3 -0
- package/dist/scss/utilities/typography.scss +3 -0
- package/dist/styles.css +402 -0
- package/dist/themes/glass.css +88 -0
- package/dist/themes/minimal.css +50 -0
- package/dist/tokens.cjs +38 -0
- package/dist/tokens.d.ts +337 -0
- package/dist/tokens.mjs +35 -0
- package/dist/types/components/actions/au-button/au-button.constants.d.ts +57 -0
- package/dist/types/components/actions/au-button/au-button.d.ts +93 -0
- package/dist/types/components/actions/au-button/au-button.types.d.ts +9 -0
- package/dist/types/components/actions/au-button/index.d.ts +2 -0
- package/dist/types/components/data-display/au-accordion/au-accordion.constants.d.ts +12 -0
- package/dist/types/components/data-display/au-accordion/au-accordion.d.ts +27 -0
- package/dist/types/components/data-display/au-accordion/au-accordion.types.d.ts +1 -0
- package/dist/types/components/data-display/au-accordion/index.d.ts +3 -0
- package/dist/types/components/data-display/au-accordion-item/au-accordion-item.d.ts +31 -0
- package/dist/types/components/data-display/au-accordion-item/index.d.ts +1 -0
- package/dist/types/components/data-display/au-avatar/au-avatar.constants.d.ts +26 -0
- package/dist/types/components/data-display/au-avatar/au-avatar.d.ts +39 -0
- package/dist/types/components/data-display/au-avatar/au-avatar.types.d.ts +1 -0
- package/dist/types/components/data-display/au-avatar/index.d.ts +3 -0
- package/dist/types/components/data-display/au-avatar/internal/initials.d.ts +7 -0
- package/dist/types/components/data-display/au-badge/au-badge.constants.d.ts +43 -0
- package/dist/types/components/data-display/au-badge/au-badge.d.ts +15 -0
- package/dist/types/components/data-display/au-badge/au-badge.types.d.ts +1 -0
- package/dist/types/components/data-display/au-badge/index.d.ts +3 -0
- package/dist/types/components/data-display/au-card/au-card.constants.d.ts +29 -0
- package/dist/types/components/data-display/au-card/au-card.d.ts +17 -0
- package/dist/types/components/data-display/au-card/au-card.types.d.ts +1 -0
- package/dist/types/components/data-display/au-card/index.d.ts +3 -0
- package/dist/types/components/data-display/au-chip/au-chip.constants.d.ts +23 -0
- package/dist/types/components/data-display/au-chip/au-chip.d.ts +46 -0
- package/dist/types/components/data-display/au-chip/au-chip.types.d.ts +10 -0
- package/dist/types/components/data-display/au-chip/index.d.ts +3 -0
- package/dist/types/components/data-display/au-chip/internal/neighbor.d.ts +6 -0
- package/dist/types/components/data-display/au-chip/internal/remove-key.d.ts +16 -0
- package/dist/types/components/data-display/au-code-block/au-code-block.constants.d.ts +32 -0
- package/dist/types/components/data-display/au-code-block/au-code-block.d.ts +89 -0
- package/dist/types/components/data-display/au-code-block/au-code-block.types.d.ts +17 -0
- package/dist/types/components/data-display/au-code-block/index.d.ts +3 -0
- package/dist/types/components/data-display/au-code-block/internal/highlight-lines.d.ts +10 -0
- package/dist/types/components/data-display/au-code-block/internal/highlight-result.d.ts +22 -0
- package/dist/types/components/data-display/au-code-block/internal/light-source.d.ts +10 -0
- package/dist/types/components/data-display/au-code-block/internal/normalize-code.d.ts +9 -0
- package/dist/types/components/data-display/au-kbd/au-kbd.constants.d.ts +41 -0
- package/dist/types/components/data-display/au-kbd/au-kbd.d.ts +36 -0
- package/dist/types/components/data-display/au-kbd/au-kbd.types.d.ts +1 -0
- package/dist/types/components/data-display/au-kbd/index.d.ts +3 -0
- package/dist/types/components/data-display/au-kbd/internal/describe.d.ts +13 -0
- package/dist/types/components/data-display/au-kbd/internal/parse.d.ts +18 -0
- package/dist/types/components/data-display/au-kbd/internal/platform.d.ts +13 -0
- package/dist/types/components/data-display/au-list/au-list.constants.d.ts +8 -0
- package/dist/types/components/data-display/au-list/au-list.d.ts +29 -0
- package/dist/types/components/data-display/au-list/au-list.types.d.ts +1 -0
- package/dist/types/components/data-display/au-list/index.d.ts +3 -0
- package/dist/types/components/data-display/au-list-item/au-list-item.d.ts +61 -0
- package/dist/types/components/data-display/au-list-item/index.d.ts +1 -0
- package/dist/types/components/data-display/au-list-item/internal/interactive-content.d.ts +2 -0
- package/dist/types/components/data-display/au-stat/au-stat.constants.d.ts +44 -0
- package/dist/types/components/data-display/au-stat/au-stat.d.ts +67 -0
- package/dist/types/components/data-display/au-stat/au-stat.types.d.ts +1 -0
- package/dist/types/components/data-display/au-stat/index.d.ts +3 -0
- package/dist/types/components/data-display/au-stat/internal/announcement.d.ts +16 -0
- package/dist/types/components/data-display/au-table/au-table.constants.d.ts +26 -0
- package/dist/types/components/data-display/au-table/au-table.d.ts +86 -0
- package/dist/types/components/data-display/au-table/au-table.types.d.ts +1 -0
- package/dist/types/components/data-display/au-table/index.d.ts +3 -0
- package/dist/types/components/data-display/au-table/internal/scroller-label.d.ts +9 -0
- package/dist/types/components/data-display/au-table/internal/sort.d.ts +11 -0
- package/dist/types/components/data-display/internal/accordion.d.ts +26 -0
- package/dist/types/components/feedback/au-alert/au-alert.constants.d.ts +24 -0
- package/dist/types/components/feedback/au-alert/au-alert.d.ts +37 -0
- package/dist/types/components/feedback/au-alert/au-alert.types.d.ts +1 -0
- package/dist/types/components/feedback/au-alert/index.d.ts +3 -0
- package/dist/types/components/feedback/au-progress/au-progress.constants.d.ts +31 -0
- package/dist/types/components/feedback/au-progress/au-progress.d.ts +32 -0
- package/dist/types/components/feedback/au-progress/au-progress.types.d.ts +1 -0
- package/dist/types/components/feedback/au-progress/index.d.ts +3 -0
- package/dist/types/components/feedback/au-skeleton/au-skeleton.constants.d.ts +27 -0
- package/dist/types/components/feedback/au-skeleton/au-skeleton.d.ts +31 -0
- package/dist/types/components/feedback/au-skeleton/au-skeleton.types.d.ts +1 -0
- package/dist/types/components/feedback/au-skeleton/index.d.ts +3 -0
- package/dist/types/components/feedback/au-toast/au-toast.constants.d.ts +2 -0
- package/dist/types/components/feedback/au-toast/au-toast.d.ts +25 -0
- package/dist/types/components/feedback/au-toast/au-toast.service.d.ts +8 -0
- package/dist/types/components/feedback/au-toast/au-toast.types.d.ts +1 -0
- package/dist/types/components/feedback/au-toast/index.d.ts +3 -0
- package/dist/types/components/feedback/au-toast-region/au-toast-region.d.ts +106 -0
- package/dist/types/components/feedback/au-toast-region/index.d.ts +4 -0
- package/dist/types/components/feedback/internal/toast-announcer.d.ts +5 -0
- package/dist/types/components/feedback/internal/toast-constants.d.ts +70 -0
- package/dist/types/components/feedback/internal/toast-options.d.ts +28 -0
- package/dist/types/components/feedback/internal/toast-popover.d.ts +4 -0
- package/dist/types/components/feedback/internal/toast-queue.d.ts +39 -0
- package/dist/types/components/feedback/internal/toast-registry.d.ts +11 -0
- package/dist/types/components/feedback/internal/toast-request.d.ts +10 -0
- package/dist/types/components/feedback/internal/toast-timers.d.ts +19 -0
- package/dist/types/components/feedback/internal/toast-timing.d.ts +5 -0
- package/dist/types/components/feedback/internal/toast-types.d.ts +37 -0
- package/dist/types/components/forms/au-checkbox/au-checkbox.constants.d.ts +2 -0
- package/dist/types/components/forms/au-checkbox/au-checkbox.d.ts +63 -0
- package/dist/types/components/forms/au-checkbox/au-checkbox.types.d.ts +23 -0
- package/dist/types/components/forms/au-checkbox/index.d.ts +3 -0
- package/dist/types/components/forms/au-combobox/au-combobox.constants.d.ts +26 -0
- package/dist/types/components/forms/au-combobox/au-combobox.d.ts +167 -0
- package/dist/types/components/forms/au-combobox/au-combobox.types.d.ts +49 -0
- package/dist/types/components/forms/au-combobox/index.d.ts +4 -0
- package/dist/types/components/forms/au-field/au-field.d.ts +31 -0
- package/dist/types/components/forms/au-field/index.d.ts +1 -0
- package/dist/types/components/forms/au-input/au-input.constants.d.ts +35 -0
- package/dist/types/components/forms/au-input/au-input.d.ts +104 -0
- package/dist/types/components/forms/au-input/au-input.types.d.ts +35 -0
- package/dist/types/components/forms/au-input/index.d.ts +4 -0
- package/dist/types/components/forms/au-label/au-label.constants.d.ts +7 -0
- package/dist/types/components/forms/au-label/au-label.d.ts +12 -0
- package/dist/types/components/forms/au-label/au-label.types.d.ts +7 -0
- package/dist/types/components/forms/au-label/index.d.ts +2 -0
- package/dist/types/components/forms/au-number-input/au-number-input.constants.d.ts +15 -0
- package/dist/types/components/forms/au-number-input/au-number-input.d.ts +93 -0
- package/dist/types/components/forms/au-number-input/au-number-input.types.d.ts +35 -0
- package/dist/types/components/forms/au-number-input/index.d.ts +4 -0
- package/dist/types/components/forms/au-radio/au-radio.constants.d.ts +2 -0
- package/dist/types/components/forms/au-radio/au-radio.d.ts +13 -0
- package/dist/types/components/forms/au-radio/au-radio.types.d.ts +11 -0
- package/dist/types/components/forms/au-radio/index.d.ts +3 -0
- package/dist/types/components/forms/au-radio-group/au-radio-group.constants.d.ts +6 -0
- package/dist/types/components/forms/au-radio-group/au-radio-group.d.ts +89 -0
- package/dist/types/components/forms/au-radio-group/au-radio-group.types.d.ts +23 -0
- package/dist/types/components/forms/au-radio-group/index.d.ts +4 -0
- package/dist/types/components/forms/au-segmented-control/au-segmented-control.constants.d.ts +26 -0
- package/dist/types/components/forms/au-segmented-control/au-segmented-control.d.ts +113 -0
- package/dist/types/components/forms/au-segmented-control/au-segmented-control.types.d.ts +30 -0
- package/dist/types/components/forms/au-segmented-control/index.d.ts +4 -0
- package/dist/types/components/forms/au-segmented-option/au-segmented-option.d.ts +23 -0
- package/dist/types/components/forms/au-segmented-option/au-segmented-option.types.d.ts +14 -0
- package/dist/types/components/forms/au-segmented-option/index.d.ts +2 -0
- package/dist/types/components/forms/au-select/au-select.constants.d.ts +7 -0
- package/dist/types/components/forms/au-select/au-select.d.ts +91 -0
- package/dist/types/components/forms/au-select/au-select.types.d.ts +25 -0
- package/dist/types/components/forms/au-select/index.d.ts +4 -0
- package/dist/types/components/forms/au-select/internal/read-select-options.d.ts +28 -0
- package/dist/types/components/forms/au-slider/au-slider.constants.d.ts +11 -0
- package/dist/types/components/forms/au-slider/au-slider.d.ts +84 -0
- package/dist/types/components/forms/au-slider/au-slider.types.d.ts +41 -0
- package/dist/types/components/forms/au-slider/index.d.ts +4 -0
- package/dist/types/components/forms/au-switch/au-switch.constants.d.ts +2 -0
- package/dist/types/components/forms/au-switch/au-switch.d.ts +61 -0
- package/dist/types/components/forms/au-switch/au-switch.types.d.ts +21 -0
- package/dist/types/components/forms/au-switch/index.d.ts +3 -0
- package/dist/types/components/forms/au-textarea/au-textarea.constants.d.ts +16 -0
- package/dist/types/components/forms/au-textarea/au-textarea.d.ts +87 -0
- package/dist/types/components/forms/au-textarea/au-textarea.types.d.ts +33 -0
- package/dist/types/components/forms/au-textarea/index.d.ts +4 -0
- package/dist/types/components/forms/internal/combobox.d.ts +51 -0
- package/dist/types/components/forms/internal/number-input.d.ts +18 -0
- package/dist/types/components/forms/internal/segmented.d.ts +34 -0
- package/dist/types/components/forms/internal/slider.d.ts +42 -0
- package/dist/types/components/layout/au-container/au-container.constants.d.ts +24 -0
- package/dist/types/components/layout/au-container/au-container.d.ts +15 -0
- package/dist/types/components/layout/au-container/au-container.types.d.ts +1 -0
- package/dist/types/components/layout/au-container/index.d.ts +3 -0
- package/dist/types/components/layout/au-divider/au-divider.constants.d.ts +23 -0
- package/dist/types/components/layout/au-divider/au-divider.d.ts +23 -0
- package/dist/types/components/layout/au-divider/au-divider.types.d.ts +1 -0
- package/dist/types/components/layout/au-divider/index.d.ts +3 -0
- package/dist/types/components/layout/au-splitter/au-splitter.constants.d.ts +9 -0
- package/dist/types/components/layout/au-splitter/au-splitter.d.ts +53 -0
- package/dist/types/components/layout/au-splitter/au-splitter.types.d.ts +19 -0
- package/dist/types/components/layout/au-splitter/index.d.ts +4 -0
- package/dist/types/components/layout/internal/splitter.d.ts +22 -0
- package/dist/types/components/navigation/au-breadcrumb/au-breadcrumb.constants.d.ts +4 -0
- package/dist/types/components/navigation/au-breadcrumb/au-breadcrumb.d.ts +23 -0
- package/dist/types/components/navigation/au-breadcrumb/index.d.ts +2 -0
- package/dist/types/components/navigation/au-breadcrumb-item/au-breadcrumb-item.d.ts +28 -0
- package/dist/types/components/navigation/au-breadcrumb-item/index.d.ts +1 -0
- package/dist/types/components/navigation/au-nav-group/au-nav-group.d.ts +16 -0
- package/dist/types/components/navigation/au-nav-group/index.d.ts +1 -0
- package/dist/types/components/navigation/au-nav-link/au-nav-link.d.ts +25 -0
- package/dist/types/components/navigation/au-nav-link/index.d.ts +1 -0
- package/dist/types/components/navigation/au-navbar/au-navbar.constants.d.ts +40 -0
- package/dist/types/components/navigation/au-navbar/au-navbar.d.ts +74 -0
- package/dist/types/components/navigation/au-navbar/au-navbar.types.d.ts +9 -0
- package/dist/types/components/navigation/au-navbar/index.d.ts +4 -0
- package/dist/types/components/navigation/au-navbar/internal/collapse.d.ts +6 -0
- package/dist/types/components/navigation/au-sidebar-nav/au-sidebar-nav.constants.d.ts +2 -0
- package/dist/types/components/navigation/au-sidebar-nav/au-sidebar-nav.d.ts +49 -0
- package/dist/types/components/navigation/au-sidebar-nav/index.d.ts +2 -0
- package/dist/types/components/navigation/au-tab/au-tab.d.ts +11 -0
- package/dist/types/components/navigation/au-tab/index.d.ts +1 -0
- package/dist/types/components/navigation/au-tab-panel/au-tab-panel.d.ts +20 -0
- package/dist/types/components/navigation/au-tab-panel/index.d.ts +1 -0
- package/dist/types/components/navigation/au-tabs/au-tabs.constants.d.ts +12 -0
- package/dist/types/components/navigation/au-tabs/au-tabs.d.ts +79 -0
- package/dist/types/components/navigation/au-tabs/au-tabs.types.d.ts +7 -0
- package/dist/types/components/navigation/au-tabs/index.d.ts +4 -0
- package/dist/types/components/navigation/au-tabs/internal/indicator-geometry.d.ts +31 -0
- package/dist/types/components/navigation/au-toc/au-toc.constants.d.ts +6 -0
- package/dist/types/components/navigation/au-toc/au-toc.d.ts +84 -0
- package/dist/types/components/navigation/au-toc/index.d.ts +2 -0
- package/dist/types/components/navigation/au-toc/internal/toc-model.d.ts +41 -0
- package/dist/types/components/navigation/internal/reveal.d.ts +24 -0
- package/dist/types/components/overlays/au-dialog/au-dialog.constants.d.ts +33 -0
- package/dist/types/components/overlays/au-dialog/au-dialog.d.ts +103 -0
- package/dist/types/components/overlays/au-dialog/au-dialog.types.d.ts +11 -0
- package/dist/types/components/overlays/au-dialog/index.d.ts +3 -0
- package/dist/types/components/overlays/au-menu/au-menu.constants.d.ts +37 -0
- package/dist/types/components/overlays/au-menu/au-menu.d.ts +67 -0
- package/dist/types/components/overlays/au-menu/au-menu.types.d.ts +12 -0
- package/dist/types/components/overlays/au-menu/index.d.ts +4 -0
- package/dist/types/components/overlays/au-menu-item/au-menu-item.d.ts +19 -0
- package/dist/types/components/overlays/au-menu-item/au-menu-item.types.d.ts +14 -0
- package/dist/types/components/overlays/au-menu-item/index.d.ts +2 -0
- package/dist/types/components/overlays/au-popover/au-popover.constants.d.ts +33 -0
- package/dist/types/components/overlays/au-popover/au-popover.d.ts +28 -0
- package/dist/types/components/overlays/au-popover/au-popover.types.d.ts +10 -0
- package/dist/types/components/overlays/au-popover/index.d.ts +3 -0
- package/dist/types/components/overlays/au-tooltip/au-tooltip.constants.d.ts +28 -0
- package/dist/types/components/overlays/au-tooltip/au-tooltip.d.ts +80 -0
- package/dist/types/components/overlays/au-tooltip/index.d.ts +3 -0
- package/dist/types/components/overlays/internal/menu.d.ts +34 -0
- package/dist/types/components/overlays/internal/popover-controller.d.ts +102 -0
- package/dist/types/components/overlays/internal/typeahead.d.ts +17 -0
- package/dist/types/components/primitives/au-icon/au-icon.constants.d.ts +5 -0
- package/dist/types/components/primitives/au-icon/au-icon.d.ts +37 -0
- package/dist/types/components/primitives/au-icon/au-icon.types.d.ts +13 -0
- package/dist/types/components/primitives/au-icon/core-icons.d.ts +9 -0
- package/dist/types/components/primitives/au-icon/icon-loader.d.ts +8 -0
- package/dist/types/components/primitives/au-icon/index.d.ts +3 -0
- package/dist/types/components.d.ts +5131 -0
- package/dist/types/foundations/constants/constants.generated.d.mts +136 -0
- package/dist/types/foundations/constants/index.d.ts +3 -0
- package/dist/types/foundations/constants/resolve-size.d.ts +5 -0
- package/dist/types/foundations/icons/autoload.d.ts +9 -0
- package/dist/types/foundations/icons/icon-autoload-hook.d.ts +14 -0
- package/dist/types/foundations/icons/icon-registry.d.ts +11 -0
- package/dist/types/foundations/icons/icon-sizes.d.ts +8 -0
- package/dist/types/foundations/icons/icon-slug.d.ts +6 -0
- package/dist/types/foundations/icons/icon.constants.d.ts +14 -0
- package/dist/types/foundations/icons/icon.constants.generated.d.ts +2281 -0
- package/dist/types/foundations/icons/icon.types.d.ts +21 -0
- package/dist/types/foundations/icons/index.d.ts +5 -0
- package/dist/types/foundations/icons/mdi-map.d.ts +92 -0
- package/dist/types/foundations/icons/register-lucide-icons.d.ts +14 -0
- package/dist/types/foundations/themes/theme.d.ts +68 -0
- package/dist/types/foundations/tokens/index.d.ts +4 -0
- package/dist/types/foundations/tokens/tokens.generated.d.mts +199 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/integrations/basics/index.d.ts +2 -0
- package/dist/types/integrations/basics/is-plain-object.d.ts +1 -0
- package/dist/types/integrations/flux/index.d.ts +2 -0
- package/dist/types/integrations/flux/loader.d.ts +21 -0
- package/dist/types/integrations/flux/provide.d.ts +12 -0
- package/dist/types/integrations/flux/registry.d.ts +25 -0
- package/dist/types/shared/anchored/anchor-position.d.ts +43 -0
- package/dist/types/shared/anchored/js-positioning.d.ts +36 -0
- package/dist/types/shared/anchored/popover-support.d.ts +15 -0
- package/dist/types/shared/clipboard/clipboard.d.ts +13 -0
- package/dist/types/shared/clipboard/copy-procedure.d.ts +17 -0
- package/dist/types/shared/clipboard/copy-types.d.ts +33 -0
- package/dist/types/shared/focus/deep-active-element.d.ts +2 -0
- package/dist/types/shared/focus/index.d.ts +1 -0
- package/dist/types/shared/form-control/attributes.d.ts +11 -0
- package/dist/types/shared/form-control/checkable.d.ts +5 -0
- package/dist/types/shared/form-control/control-id.d.ts +7 -0
- package/dist/types/shared/form-control/described-by.d.ts +2 -0
- package/dist/types/shared/form-control/form-control-controller.d.ts +40 -0
- package/dist/types/shared/form-control/group-validity.d.ts +5 -0
- package/dist/types/shared/form-control/host-events.d.ts +13 -0
- package/dist/types/shared/form-control/index.d.ts +11 -0
- package/dist/types/shared/form-control/initial-value.d.ts +5 -0
- package/dist/types/shared/form-control/restore.d.ts +4 -0
- package/dist/types/shared/form-control/validation-message.d.ts +11 -0
- package/dist/types/shared/live-announcer/announce-queue.d.ts +51 -0
- package/dist/types/shared/live-announcer/announce-timing.d.ts +12 -0
- package/dist/types/shared/live-announcer/index.d.ts +2 -0
- package/dist/types/shared/live-announcer/live-announcer.d.ts +31 -0
- package/dist/types/shared/live-announcer/public.d.ts +7 -0
- package/dist/types/shared/modal-placement.d.ts +14 -0
- package/dist/types/shared/modal-target.d.ts +22 -0
- package/dist/types/shared/navigation/index.d.ts +4 -0
- package/dist/types/shared/navigation/link-state.d.ts +34 -0
- package/dist/types/shared/navigation/navigation.d.ts +28 -0
- package/dist/types/shared/observers/index.d.ts +42 -0
- package/dist/types/shared/roving-focus/index.d.ts +3 -0
- package/dist/types/shared/roving-focus/item-update.d.ts +8 -0
- package/dist/types/shared/roving-focus/roving.d.ts +22 -0
- package/dist/types/shared/warn-once.d.ts +5 -0
- package/dist/types/stencil-public-runtime.d.ts +1879 -0
- package/dist/types/vue.d.ts +75 -0
- package/dist/utilities/base.css +3160 -0
- package/dist/utilities/responsive.css +11165 -0
- package/dist/utilities.css +14326 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +545 -4
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { IconName } from '../../../foundations/icons/icon.constants';
|
|
2
|
+
import type { AvatarLoading, AvatarShape, AvatarSize } from './au-avatar.types';
|
|
3
|
+
export declare class AuAvatar {
|
|
4
|
+
host: HTMLElement;
|
|
5
|
+
/** Image address. Trimmed; blank means no image. */
|
|
6
|
+
src?: string;
|
|
7
|
+
/** The accessible name and the source of the derived initials. Trimmed. */
|
|
8
|
+
label?: string;
|
|
9
|
+
/** Explicit initials: trimmed, at most three graphemes, kept as written. Blank falls back to the label. */
|
|
10
|
+
initials?: string;
|
|
11
|
+
/** Fallback icon when there is neither an image nor initials. */
|
|
12
|
+
icon: IconName;
|
|
13
|
+
/** Removes the name and hides the avatar. For an avatar beside a visible name. */
|
|
14
|
+
decorative: boolean;
|
|
15
|
+
/** Preset size. Unsupported values render `medium` and warn once. */
|
|
16
|
+
size: AvatarSize;
|
|
17
|
+
/** Shape. Unsupported values render `circle` and warn once. */
|
|
18
|
+
shape: AvatarShape;
|
|
19
|
+
/** How the image is loaded. Unsupported values render `lazy`. */
|
|
20
|
+
loading: AvatarLoading;
|
|
21
|
+
/** The state of the current image (the host's `image-state` attribute, with a non-blank `src`). */
|
|
22
|
+
private imageState;
|
|
23
|
+
private imageElement;
|
|
24
|
+
private loaded;
|
|
25
|
+
onSrcChange(next: unknown, previous: unknown): void;
|
|
26
|
+
connectedCallback(): void;
|
|
27
|
+
componentWillRender(): void;
|
|
28
|
+
componentDidLoad(): void;
|
|
29
|
+
private warn;
|
|
30
|
+
private warnAboutProperties;
|
|
31
|
+
/**
|
|
32
|
+
* An image that settled before the listeners ran (prerender, hydration, a moved element) never
|
|
33
|
+
* fires an event the component can see. A deferred lazy image is not `complete`, so it stays loading.
|
|
34
|
+
*/
|
|
35
|
+
private classifySettledImage;
|
|
36
|
+
private handleLoad;
|
|
37
|
+
private handleError;
|
|
38
|
+
render(): any;
|
|
39
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { AvatarLoading, AvatarShape, AvatarSize } from './au-avatar.constants';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** An explicit `initials` value: trimmed, at most `AVATAR_MAX_INITIALS` whole graphemes, case kept. */
|
|
2
|
+
export declare function normalizeInitials(value: unknown): string;
|
|
3
|
+
/**
|
|
4
|
+
* Initials from a name: the first grapheme of the first word, and of the last word when there are
|
|
5
|
+
* two or more. Words whose first grapheme has no letter or number (emoji, punctuation) are skipped.
|
|
6
|
+
*/
|
|
7
|
+
export declare function deriveInitials(label: unknown): string;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export declare const BADGE_VARIANT: {
|
|
2
|
+
readonly soft: "soft";
|
|
3
|
+
readonly solid: "solid";
|
|
4
|
+
readonly outline: "outline";
|
|
5
|
+
};
|
|
6
|
+
export declare const BADGE_COLOR: {
|
|
7
|
+
readonly neutral: "neutral";
|
|
8
|
+
readonly primary: "primary";
|
|
9
|
+
readonly secondary: "secondary";
|
|
10
|
+
readonly info: "info";
|
|
11
|
+
readonly success: "success";
|
|
12
|
+
readonly warning: "warning";
|
|
13
|
+
readonly danger: "danger";
|
|
14
|
+
};
|
|
15
|
+
export declare const BADGE_SIZE: {
|
|
16
|
+
readonly small: "small";
|
|
17
|
+
readonly medium: "medium";
|
|
18
|
+
};
|
|
19
|
+
/** Plural aliases follow the naming convention used by existing component APIs. */
|
|
20
|
+
export declare const BADGE_VARIANTS: {
|
|
21
|
+
readonly soft: "soft";
|
|
22
|
+
readonly solid: "solid";
|
|
23
|
+
readonly outline: "outline";
|
|
24
|
+
};
|
|
25
|
+
export declare const BADGE_COLORS: {
|
|
26
|
+
readonly neutral: "neutral";
|
|
27
|
+
readonly primary: "primary";
|
|
28
|
+
readonly secondary: "secondary";
|
|
29
|
+
readonly info: "info";
|
|
30
|
+
readonly success: "success";
|
|
31
|
+
readonly warning: "warning";
|
|
32
|
+
readonly danger: "danger";
|
|
33
|
+
};
|
|
34
|
+
export declare const BADGE_SIZES: {
|
|
35
|
+
readonly small: "small";
|
|
36
|
+
readonly medium: "medium";
|
|
37
|
+
};
|
|
38
|
+
export type BadgeVariant = (typeof BADGE_VARIANT)[keyof typeof BADGE_VARIANT];
|
|
39
|
+
export type BadgeColor = (typeof BADGE_COLOR)[keyof typeof BADGE_COLOR];
|
|
40
|
+
export type BadgeSize = (typeof BADGE_SIZE)[keyof typeof BADGE_SIZE];
|
|
41
|
+
export declare const isBadgeVariant: (value: unknown) => value is BadgeVariant;
|
|
42
|
+
export declare const isBadgeColor: (value: unknown) => value is BadgeColor;
|
|
43
|
+
export declare const isBadgeSize: (value: unknown) => value is BadgeSize;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { BadgeColor, BadgeSize, BadgeVariant } from './au-badge.types';
|
|
2
|
+
export declare class AuBadge {
|
|
3
|
+
/** Visual treatment. Unsupported values fall back to `soft`. */
|
|
4
|
+
variant: BadgeVariant;
|
|
5
|
+
/** Semantic color intent. Unsupported values fall back to `neutral`. */
|
|
6
|
+
color: BadgeColor;
|
|
7
|
+
/** Compact or regular badge sizing. Unsupported values fall back to `small`. */
|
|
8
|
+
size: BadgeSize;
|
|
9
|
+
/** Use a fully rounded shape for compact labels. */
|
|
10
|
+
pill: boolean;
|
|
11
|
+
private get safeVariant();
|
|
12
|
+
private get safeColor();
|
|
13
|
+
private get safeSize();
|
|
14
|
+
render(): any;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { BadgeColor, BadgeSize, BadgeVariant } from './au-badge.constants';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { PADDING } from '../../../foundations/constants';
|
|
2
|
+
export declare const CARD_VARIANT: {
|
|
3
|
+
readonly surface: "surface";
|
|
4
|
+
readonly outlined: "outlined";
|
|
5
|
+
readonly elevated: "elevated";
|
|
6
|
+
readonly glass: "glass";
|
|
7
|
+
};
|
|
8
|
+
/** @deprecated Prefer the singular `CARD_VARIANT` constant. */
|
|
9
|
+
export declare const CARD_VARIANTS: {
|
|
10
|
+
readonly surface: "surface";
|
|
11
|
+
readonly outlined: "outlined";
|
|
12
|
+
readonly elevated: "elevated";
|
|
13
|
+
readonly glass: "glass";
|
|
14
|
+
};
|
|
15
|
+
/** @deprecated Prefer the shared `PADDING` constant from foundations. */
|
|
16
|
+
export declare const CARD_PADDINGS: Readonly<{
|
|
17
|
+
readonly none: "none";
|
|
18
|
+
readonly extraSmall: "extraSmall";
|
|
19
|
+
readonly small: "small";
|
|
20
|
+
readonly medium: "medium";
|
|
21
|
+
readonly large: "large";
|
|
22
|
+
readonly extraLarge: "extraLarge";
|
|
23
|
+
readonly doubleExtraLarge: "doubleExtraLarge";
|
|
24
|
+
}>;
|
|
25
|
+
export type CardVariant = (typeof CARD_VARIANT)[keyof typeof CARD_VARIANT];
|
|
26
|
+
export type CardPadding = (typeof PADDING)[keyof typeof PADDING];
|
|
27
|
+
export declare function isCardVariant(value: unknown): value is (typeof CARD_VARIANT)[keyof typeof CARD_VARIANT];
|
|
28
|
+
export declare function isCardPadding(value: unknown): value is (typeof PADDING)[keyof typeof PADDING];
|
|
29
|
+
export declare function getCardPaddingClass(value: (typeof PADDING)[keyof typeof PADDING]): string;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { CardPadding, CardVariant } from './au-card.types';
|
|
2
|
+
export declare class AuCard {
|
|
3
|
+
host: HTMLElement;
|
|
4
|
+
/** Visual treatment of the card surface. Unknown values fall back to `surface`. */
|
|
5
|
+
variant: CardVariant;
|
|
6
|
+
/** Internal spacing for the default, header, and footer slots. Unknown values fall back to `medium`. */
|
|
7
|
+
padding: CardPadding;
|
|
8
|
+
private hasHeaderContent;
|
|
9
|
+
private hasFooterContent;
|
|
10
|
+
componentDidLoad(): void;
|
|
11
|
+
private get safeVariant();
|
|
12
|
+
private get safePadding();
|
|
13
|
+
private hasAssignedContent;
|
|
14
|
+
private refreshSlotPresence;
|
|
15
|
+
private handleSlotChange;
|
|
16
|
+
render(): any;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { CardPadding, CardVariant } from './au-card.constants';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/** Size names written as literals: no import of `BADGE_*` or the generated constants (CH-D12). */
|
|
2
|
+
export declare const CHIP_SIZE: {
|
|
3
|
+
readonly small: "small";
|
|
4
|
+
readonly medium: "medium";
|
|
5
|
+
};
|
|
6
|
+
export declare const CHIP_VARIANT: {
|
|
7
|
+
readonly soft: "soft";
|
|
8
|
+
readonly outline: "outline";
|
|
9
|
+
};
|
|
10
|
+
/** Why a user removal started (the `reason` of `au-before-remove`). */
|
|
11
|
+
export declare const CHIP_REMOVE_REASON: {
|
|
12
|
+
readonly removeButton: "remove-button";
|
|
13
|
+
readonly keyboard: "keyboard";
|
|
14
|
+
};
|
|
15
|
+
/** The visible-to-assistive-technology verb of the remove button's name. */
|
|
16
|
+
export declare const CHIP_DEFAULT_REMOVE_LABEL = "Remove";
|
|
17
|
+
export type ChipSize = (typeof CHIP_SIZE)[keyof typeof CHIP_SIZE];
|
|
18
|
+
export type ChipVariant = (typeof CHIP_VARIANT)[keyof typeof CHIP_VARIANT];
|
|
19
|
+
export type ChipRemoveReason = (typeof CHIP_REMOVE_REASON)[keyof typeof CHIP_REMOVE_REASON];
|
|
20
|
+
export declare const isChipSize: (value: unknown) => value is ChipSize;
|
|
21
|
+
export declare const isChipVariant: (value: unknown) => value is ChipVariant;
|
|
22
|
+
export declare const isChipRemoveReason: (value: unknown) => value is ChipRemoveReason;
|
|
23
|
+
export type { AuChipBeforeRemoveDetail, AuChipChangeDetail } from './au-chip.types';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import type { AuChipChangeDetail, ChipSize, ChipVariant } from './au-chip.types';
|
|
3
|
+
export declare class AuChip {
|
|
4
|
+
host: HTMLElement;
|
|
5
|
+
/** Renders the toggle button (`aria-pressed`). */
|
|
6
|
+
selectable: boolean;
|
|
7
|
+
/** Pressed state of a selectable chip. Ignored unless `selectable`. */
|
|
8
|
+
selected: boolean;
|
|
9
|
+
/** Renders the remove button. */
|
|
10
|
+
removable: boolean;
|
|
11
|
+
/** Hides the chip. Set by a user removal (unless canceled) or by the consumer. */
|
|
12
|
+
removed: boolean;
|
|
13
|
+
/** Disables both buttons. A static chip only dims. */
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
/** The verb of the remove button's name. Trimmed; blank falls back to `Remove`. */
|
|
16
|
+
removeLabel: string;
|
|
17
|
+
/** Preset size. Unsupported values render `medium` and warn once. */
|
|
18
|
+
size: ChipSize;
|
|
19
|
+
/** Visual treatment. Unsupported values render `soft` and warn once. */
|
|
20
|
+
variant: ChipVariant;
|
|
21
|
+
/**
|
|
22
|
+
* Fires after a user activation of the toggle button flipped `selected` (already updated when
|
|
23
|
+
* listeners run). Programmatic writes dispatch nothing. Not cancelable.
|
|
24
|
+
*/
|
|
25
|
+
chipChange: EventEmitter<AuChipChangeDetail>;
|
|
26
|
+
componentWillRender(): void;
|
|
27
|
+
private warn;
|
|
28
|
+
private warnAboutProperties;
|
|
29
|
+
/** Whether the default slot has content. Whitespace-only text and `slot="start"` children are not a label. */
|
|
30
|
+
private hasLabel;
|
|
31
|
+
private get safeRemoveLabel();
|
|
32
|
+
private handleToggle;
|
|
33
|
+
private handleRemoveClick;
|
|
34
|
+
/** Delete or Backspace on either button (CH-D7). */
|
|
35
|
+
private handleKeydown;
|
|
36
|
+
private button;
|
|
37
|
+
/**
|
|
38
|
+
* A user removal (CH-D6, CH-D8). Records where focus is and who the neighbor is **before** the
|
|
39
|
+
* before-event, so a handler that deletes the element at once still gets the focus move; then
|
|
40
|
+
* hides the chip unless the event is canceled.
|
|
41
|
+
*/
|
|
42
|
+
private startRemoval;
|
|
43
|
+
/** Dispatched by hand: the document-derived `CustomEvent` constructor, like `au-before-close`. */
|
|
44
|
+
private dispatchBeforeRemove;
|
|
45
|
+
render(): any;
|
|
46
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ChipRemoveReason } from './au-chip.constants';
|
|
2
|
+
export type { ChipRemoveReason, ChipSize, ChipVariant } from './au-chip.constants';
|
|
3
|
+
/** `detail` of `au-chip-change`: the new value of `selected`. */
|
|
4
|
+
export interface AuChipChangeDetail {
|
|
5
|
+
selected: boolean;
|
|
6
|
+
}
|
|
7
|
+
/** `detail` of `au-before-remove`. */
|
|
8
|
+
export interface AuChipBeforeRemoveDetail {
|
|
9
|
+
reason: ChipRemoveReason;
|
|
10
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { AuChip } from './au-chip';
|
|
2
|
+
export { CHIP_DEFAULT_REMOVE_LABEL, CHIP_REMOVE_REASON, CHIP_SIZE, CHIP_VARIANT, } from './au-chip.constants';
|
|
3
|
+
export type { AuChipBeforeRemoveDetail, AuChipChangeDetail, ChipRemoveReason, ChipSize, ChipVariant, } from './au-chip.types';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The chip that should take focus when `host` goes away: the next reachable chip of its set in DOM
|
|
3
|
+
* order, else the previous one, else `null` (CH-D8). Call it before the removal starts, so a
|
|
4
|
+
* handler that deletes the element at once does not hide the answer.
|
|
5
|
+
*/
|
|
6
|
+
export declare function findNeighborChip(host: HTMLElement): HTMLElement | null;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** The parts of a `KeyboardEvent` that decide whether a key starts a removal. */
|
|
2
|
+
export interface RemoveKeyInput {
|
|
3
|
+
key: string;
|
|
4
|
+
altKey?: boolean;
|
|
5
|
+
/** Shift does not change the meaning of Delete or Backspace. */
|
|
6
|
+
shiftKey?: boolean;
|
|
7
|
+
ctrlKey?: boolean;
|
|
8
|
+
metaKey?: boolean;
|
|
9
|
+
repeat?: boolean;
|
|
10
|
+
isComposing?: boolean;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Delete or Backspace with no Alt, Ctrl or Meta, that is not an auto-repeat and not part of an IME
|
|
14
|
+
* composition (CH-D7). A held key must not walk along a row removing one chip after another.
|
|
15
|
+
*/
|
|
16
|
+
export declare function isRemoveKey(input: RemoveKeyInput): boolean;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/** Closed set of token scopes that have a published part name and a default color (spec D6). */
|
|
2
|
+
export declare const CODE_TOKEN_SCOPE: {
|
|
3
|
+
readonly comment: "comment";
|
|
4
|
+
readonly keyword: "keyword";
|
|
5
|
+
readonly tag: "tag";
|
|
6
|
+
readonly string: "string";
|
|
7
|
+
readonly inserted: "inserted";
|
|
8
|
+
readonly number: "number";
|
|
9
|
+
readonly constant: "constant";
|
|
10
|
+
readonly regexp: "regexp";
|
|
11
|
+
readonly attribute: "attribute";
|
|
12
|
+
readonly function: "function";
|
|
13
|
+
readonly type: "type";
|
|
14
|
+
readonly builtin: "builtin";
|
|
15
|
+
readonly deleted: "deleted";
|
|
16
|
+
readonly variable: "variable";
|
|
17
|
+
readonly property: "property";
|
|
18
|
+
readonly operator: "operator";
|
|
19
|
+
readonly punctuation: "punctuation";
|
|
20
|
+
readonly meta: "meta";
|
|
21
|
+
};
|
|
22
|
+
/** How long the copy feedback (state, status text and icon) stays, in milliseconds. */
|
|
23
|
+
export declare const CODE_BLOCK_FEEDBACK_DURATION = 2000;
|
|
24
|
+
/** Code longer than this (UTF-16 units) is never passed to the highlighter (spec D14). */
|
|
25
|
+
export declare const CODE_BLOCK_HIGHLIGHT_MAX_LENGTH = 100000;
|
|
26
|
+
/** The dedupe key of the copy announcement (foundations F11). */
|
|
27
|
+
export declare const CODE_BLOCK_ANNOUNCE_KEY = "au-code-block:copy";
|
|
28
|
+
export declare const CODE_BLOCK_DEFAULT_COPY_LABEL = "Copy";
|
|
29
|
+
export declare const CODE_BLOCK_DEFAULT_COPIED_LABEL = "Copied";
|
|
30
|
+
export declare const CODE_BLOCK_DEFAULT_COPY_FAILED_LABEL = "Copy failed";
|
|
31
|
+
export declare const CODE_BLOCK_DEFAULT_CODE_LABEL = "Code";
|
|
32
|
+
export type { CodeCopyState, CodeHighlightRequest, CodeHighlightResult, CodeHighlighter, CodeToken, CodeTokenScope, } from './au-code-block.types';
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import type { CodeHighlighter } from './au-code-block.types';
|
|
2
|
+
export declare class AuCodeBlock {
|
|
3
|
+
host: HTMLElement;
|
|
4
|
+
/**
|
|
5
|
+
* The source when it is a string (an empty string included); otherwise the light DOM is the
|
|
6
|
+
* source. It is declared `unknown`, not `string`: Stencil coerces a value into a `string` prop, so a
|
|
7
|
+
* number would arrive as text instead of being rejected. A value that is not a string is read as unset.
|
|
8
|
+
*/
|
|
9
|
+
code?: unknown;
|
|
10
|
+
/** Language name shown in the header and passed to the highlighter. Blank falls back to the light-DOM class. */
|
|
11
|
+
language?: string;
|
|
12
|
+
/** Header caption, for example a file name. Blank shows the language instead. */
|
|
13
|
+
label?: string;
|
|
14
|
+
/** Turns code into tokens. A JavaScript property only (no attribute). */
|
|
15
|
+
highlighter?: CodeHighlighter;
|
|
16
|
+
/** Shows a line-number gutter (not copied, not read by screen readers). */
|
|
17
|
+
lineNumbers: boolean;
|
|
18
|
+
/** Highlights lines: `1,3-5`. */
|
|
19
|
+
highlightLines?: string;
|
|
20
|
+
/** Wraps long lines instead of scrolling horizontally. */
|
|
21
|
+
wrap: boolean;
|
|
22
|
+
/** Hides the copy button. */
|
|
23
|
+
noCopy: boolean;
|
|
24
|
+
/** Keeps the common indentation of the source. */
|
|
25
|
+
noDedent: boolean;
|
|
26
|
+
/** Visible text and accessible name of the copy button. */
|
|
27
|
+
copyLabel: string;
|
|
28
|
+
/** Status text and announcement after a successful copy. */
|
|
29
|
+
copiedLabel: string;
|
|
30
|
+
/** Status text and announcement after a failed copy. */
|
|
31
|
+
copyFailedLabel: string;
|
|
32
|
+
/** Accessible name of the scroll region when `label` is blank. */
|
|
33
|
+
codeLabel: string;
|
|
34
|
+
/** The highlighter's tokens for the current code, split into lines. Undefined means plain. */
|
|
35
|
+
private tokenLines;
|
|
36
|
+
/** The copy feedback, present only while it is shown (`copy-state` on the host). */
|
|
37
|
+
private copyState;
|
|
38
|
+
/** True while the scroller overflows (or still has focus after it stopped): it is then a focusable region. */
|
|
39
|
+
private scrollable;
|
|
40
|
+
private stopMutations;
|
|
41
|
+
private loaded;
|
|
42
|
+
/** The effective source of the current render (spec D2, D3, D4). */
|
|
43
|
+
private view;
|
|
44
|
+
private marked;
|
|
45
|
+
/** What the last highlight run was started for. A run starts when any of them changes. */
|
|
46
|
+
private runCode;
|
|
47
|
+
private runLanguage;
|
|
48
|
+
private runHighlighter;
|
|
49
|
+
private runId;
|
|
50
|
+
private controller;
|
|
51
|
+
private scroller;
|
|
52
|
+
private codeElement;
|
|
53
|
+
private stopSize;
|
|
54
|
+
private scrollerFocused;
|
|
55
|
+
private copySequence;
|
|
56
|
+
private feedbackTimer;
|
|
57
|
+
connectedCallback(): void;
|
|
58
|
+
disconnectedCallback(): void;
|
|
59
|
+
componentWillRender(): void;
|
|
60
|
+
componentDidLoad(): void;
|
|
61
|
+
componentDidRender(): void;
|
|
62
|
+
private warn;
|
|
63
|
+
private warnAboutProperties;
|
|
64
|
+
/**
|
|
65
|
+
* Watches the scroller and the code element (wrapping, font loading and highlighting change the
|
|
66
|
+
* overflow without resizing the scroller, spec D11). Without `ResizeObserver` the overflow is
|
|
67
|
+
* measured after each render only.
|
|
68
|
+
*/
|
|
69
|
+
private observeSize;
|
|
70
|
+
/** The scroller is a focusable region only while it overflows; it keeps the attributes while focused. */
|
|
71
|
+
private measure;
|
|
72
|
+
private handleScrollerFocus;
|
|
73
|
+
private handleScrollerBlur;
|
|
74
|
+
private clearFeedbackTimer;
|
|
75
|
+
/**
|
|
76
|
+
* Copies the normalized source (spec D7, D8). Only the latest click counts: each click takes a
|
|
77
|
+
* sequence number, and a result that arrives after a later click has started changes neither the
|
|
78
|
+
* state nor the announcement (its `au-copy` still fires, because the service owns it).
|
|
79
|
+
*/
|
|
80
|
+
private handleCopy;
|
|
81
|
+
/** One highlight run (spec section 3.2): the previous one is aborted and the code is plain meanwhile. */
|
|
82
|
+
private startRun;
|
|
83
|
+
private settleRun;
|
|
84
|
+
private failRun;
|
|
85
|
+
/** Re-reads the light DOM when it changes, but only while it is the source (spec D2). */
|
|
86
|
+
private observe;
|
|
87
|
+
private renderLines;
|
|
88
|
+
render(): any;
|
|
89
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { CODE_TOKEN_SCOPE } from './au-code-block.constants';
|
|
2
|
+
export interface CodeToken {
|
|
3
|
+
text: string;
|
|
4
|
+
scope?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface CodeHighlightRequest {
|
|
7
|
+
/** The normalized code, exactly what is displayed and copied. */
|
|
8
|
+
code: string;
|
|
9
|
+
/** The effective language, `''` when none. */
|
|
10
|
+
language: string;
|
|
11
|
+
/** Aborted when this result is no longer wanted. */
|
|
12
|
+
signal: AbortSignal;
|
|
13
|
+
}
|
|
14
|
+
export type CodeHighlightResult = readonly CodeToken[] | null | undefined;
|
|
15
|
+
export type CodeHighlighter = (request: CodeHighlightRequest) => CodeHighlightResult | PromiseLike<CodeHighlightResult>;
|
|
16
|
+
export type CodeTokenScope = (typeof CODE_TOKEN_SCOPE)[keyof typeof CODE_TOKEN_SCOPE];
|
|
17
|
+
export type CodeCopyState = 'copied' | 'failed';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { AuCodeBlock } from './au-code-block';
|
|
2
|
+
export { CODE_BLOCK_ANNOUNCE_KEY, CODE_BLOCK_DEFAULT_CODE_LABEL, CODE_BLOCK_DEFAULT_COPIED_LABEL, CODE_BLOCK_DEFAULT_COPY_FAILED_LABEL, CODE_BLOCK_DEFAULT_COPY_LABEL, CODE_BLOCK_FEEDBACK_DURATION, CODE_BLOCK_HIGHLIGHT_MAX_LENGTH, CODE_TOKEN_SCOPE, } from './au-code-block.constants';
|
|
3
|
+
export type { CodeCopyState, CodeHighlightRequest, CodeHighlightResult, CodeHighlighter, CodeToken, CodeTokenScope, } from './au-code-block.types';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Parses the `highlight-lines` grammar (spec section 3.3): `N` and `N-M` items separated by commas,
|
|
3
|
+
* 1-based over the normalized code. Empty items and numbers beyond `lineCount` are ignored
|
|
4
|
+
* silently, anything else that does not parse is listed in `invalid`. A range is clamped to
|
|
5
|
+
* `lineCount` before it is expanded.
|
|
6
|
+
*/
|
|
7
|
+
export declare function parseHighlightLines(value: unknown, lineCount: number): {
|
|
8
|
+
lines: ReadonlySet<number>;
|
|
9
|
+
invalid: string[];
|
|
10
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A run of text on one line. `scope` is the validated token scope: a segment with a `scope` renders
|
|
3
|
+
* a token element, and a segment without one (an absent or an invalid scope alike) is plain text.
|
|
4
|
+
*/
|
|
5
|
+
export interface LineSegment {
|
|
6
|
+
text: string;
|
|
7
|
+
scope?: string;
|
|
8
|
+
}
|
|
9
|
+
export type HighlightFailure = 'none' | 'not-array' | 'invalid-token' | 'mismatch';
|
|
10
|
+
export type HighlightOutcome = {
|
|
11
|
+
ok: true;
|
|
12
|
+
lines: LineSegment[][];
|
|
13
|
+
} | {
|
|
14
|
+
ok: false;
|
|
15
|
+
reason: HighlightFailure;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Validates a highlighter result against the code it was asked about and splits it into lines
|
|
19
|
+
* (spec section 3.2, step 6). `reason: 'none'` is the highlighter declining (not a failure). Token
|
|
20
|
+
* text is only ever kept as a string; a scope that fails D6 is dropped, like an absent one.
|
|
21
|
+
*/
|
|
22
|
+
export declare function toHighlightedLines(result: unknown, code: string): HighlightOutcome;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reads the light-DOM source of a block (spec D2): the first `pre` element child's text, else the
|
|
3
|
+
* first `code` element child's, else the host's own text. The language is the first class that
|
|
4
|
+
* matches `language-*` or `lang-*` on the source `code`, then on the source `pre`. The text is not
|
|
5
|
+
* normalized here.
|
|
6
|
+
*/
|
|
7
|
+
export declare function readLightSource(host: Element): {
|
|
8
|
+
text: string;
|
|
9
|
+
language: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The one normalization of the code a block displays and copies (spec D3). CRLF and CR become LF,
|
|
3
|
+
* whitespace-only lines are removed at both edges (so there is no trailing newline) and, with
|
|
4
|
+
* `dedent`, the exact common leading-whitespace string of the non-blank lines is removed. Anything
|
|
5
|
+
* that is not a string is `''`. It is idempotent.
|
|
6
|
+
*/
|
|
7
|
+
export declare function normalizeCode(text: unknown, options: {
|
|
8
|
+
dedent: boolean;
|
|
9
|
+
}): string;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/** Literals only: no import from the foundations, so the `/constants` subpath stays standalone. */
|
|
2
|
+
/** `auto` detects the platform at render time; `apple` is macOS, iOS and iPadOS; `other` is the rest. */
|
|
3
|
+
export declare const KBD_PLATFORM: {
|
|
4
|
+
readonly auto: "auto";
|
|
5
|
+
readonly apple: "apple";
|
|
6
|
+
readonly other: "other";
|
|
7
|
+
};
|
|
8
|
+
/** The known key ids. A letter, a digit, a function key or an unknown token has no id. */
|
|
9
|
+
export declare const KBD_KEY: {
|
|
10
|
+
readonly mod: "mod";
|
|
11
|
+
readonly meta: "meta";
|
|
12
|
+
readonly ctrl: "ctrl";
|
|
13
|
+
readonly alt: "alt";
|
|
14
|
+
readonly shift: "shift";
|
|
15
|
+
readonly enter: "enter";
|
|
16
|
+
readonly escape: "escape";
|
|
17
|
+
readonly tab: "tab";
|
|
18
|
+
readonly backspace: "backspace";
|
|
19
|
+
readonly delete: "delete";
|
|
20
|
+
readonly space: "space";
|
|
21
|
+
readonly up: "up";
|
|
22
|
+
readonly down: "down";
|
|
23
|
+
readonly left: "left";
|
|
24
|
+
readonly right: "right";
|
|
25
|
+
readonly home: "home";
|
|
26
|
+
readonly end: "end";
|
|
27
|
+
readonly pageup: "pageup";
|
|
28
|
+
readonly pagedown: "pagedown";
|
|
29
|
+
readonly capslock: "capslock";
|
|
30
|
+
readonly plus: "plus";
|
|
31
|
+
};
|
|
32
|
+
export type KbdPlatform = (typeof KBD_PLATFORM)[keyof typeof KBD_PLATFORM];
|
|
33
|
+
export type KbdResolvedPlatform = Exclude<KbdPlatform, 'auto'>;
|
|
34
|
+
export type KbdKeyId = (typeof KBD_KEY)[keyof typeof KBD_KEY];
|
|
35
|
+
/** Overrides of the visually hidden key names (never the glyphs), by key id. */
|
|
36
|
+
export type KbdKeyNames = Partial<Record<KbdKeyId, string>>;
|
|
37
|
+
/** The English names read for each key, per platform. `keyNames` overrides them per element. */
|
|
38
|
+
export declare const KBD_DEFAULT_NAMES: Record<KbdResolvedPlatform, Record<KbdKeyId, string>>;
|
|
39
|
+
export declare const isKbdPlatform: (value: unknown) => value is KbdPlatform;
|
|
40
|
+
export declare const isKbdResolvedPlatform: (value: unknown) => value is KbdResolvedPlatform;
|
|
41
|
+
export declare const isKbdKeyId: (value: unknown) => value is KbdKeyId;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { type KbdKeyNames, type KbdPlatform } from './au-kbd.constants';
|
|
2
|
+
/**
|
|
3
|
+
* A keyboard shortcut hint: one key combination drawn as nested native `kbd` elements. The
|
|
4
|
+
* `Mod` key and the modifier glyphs follow the platform, symbols get a visually hidden name,
|
|
5
|
+
* and the separator is silent. It presents a shortcut; it never listens for it.
|
|
6
|
+
*
|
|
7
|
+
* @slot - The text of one key, used only when `keys` is blank (a label with no meaning to the component, such as `Fn`). Plain text, never interactive.
|
|
8
|
+
*/
|
|
9
|
+
export declare class AuKbd {
|
|
10
|
+
host: HTMLElement;
|
|
11
|
+
/** One key combination written with `+` (`Mod+K`, `Shift+Alt+ArrowUp`, `Ctrl++`). Blank shows the default slot instead. */
|
|
12
|
+
keys: string;
|
|
13
|
+
/** `auto` detects the platform when rendering. `apple` (macOS, iOS, iPadOS) and `other` are deterministic. An unsupported value acts as `auto` and warns once. */
|
|
14
|
+
platform: KbdPlatform;
|
|
15
|
+
/** JavaScript property only: overrides the visually hidden names (never the glyphs) of known keys, by key id. Blank values are ignored. */
|
|
16
|
+
keyNames?: KbdKeyNames;
|
|
17
|
+
private parsed;
|
|
18
|
+
componentWillLoad(): void;
|
|
19
|
+
componentWillRender(): void;
|
|
20
|
+
private warn;
|
|
21
|
+
private warnAboutProperties;
|
|
22
|
+
/** `apple` or `other` as written; anything else is detected from `navigator`, so it is read at render time. */
|
|
23
|
+
private resolvePlatform;
|
|
24
|
+
private get usesKeys();
|
|
25
|
+
/**
|
|
26
|
+
* The component-owned `empty` attribute (KD-D13): blank `keys` and no content in the host. It is
|
|
27
|
+
* set imperatively, not through `<Host>`, so a consumer-written `empty` is removed as well.
|
|
28
|
+
*/
|
|
29
|
+
private syncEmpty;
|
|
30
|
+
private handleSlotChange;
|
|
31
|
+
private get names();
|
|
32
|
+
private renderKey;
|
|
33
|
+
/** Keys, with one literal space between a key and what follows (KD-D6), and a silent `+` outside Apple (KD-D7). */
|
|
34
|
+
private renderKeys;
|
|
35
|
+
render(): any;
|
|
36
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { KbdKeyId, KbdKeyNames, KbdPlatform, KbdResolvedPlatform } from './au-kbd.constants';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type KbdKeyNames, type KbdResolvedPlatform } from '../au-kbd.constants';
|
|
2
|
+
import { type KbdToken } from './parse';
|
|
3
|
+
export interface KbdKeyDescription {
|
|
4
|
+
/** What is drawn. */
|
|
5
|
+
glyph: string;
|
|
6
|
+
/** What is read. Equal to `glyph` when the key is plain text. */
|
|
7
|
+
name: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* The glyph and the name of one key (KD-D4). Pure. `names` overrides the default **names** of
|
|
11
|
+
* known keys; a blank override is ignored. Any other token reads as it is drawn.
|
|
12
|
+
*/
|
|
13
|
+
export declare function describeKbdKey(token: KbdToken, platform: KbdResolvedPlatform, names?: KbdKeyNames): KbdKeyDescription;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type KbdKeyId } from '../au-kbd.constants';
|
|
2
|
+
/** One key of a combination. A known key has an `id`; any other token keeps its text as written (letters and F-keys normalized). */
|
|
3
|
+
export interface KbdToken {
|
|
4
|
+
id: KbdKeyId | null;
|
|
5
|
+
text: string;
|
|
6
|
+
}
|
|
7
|
+
export interface KbdParseResult {
|
|
8
|
+
tokens: KbdToken[];
|
|
9
|
+
/** True when an empty token was dropped (`Ctrl+`, `+K`, `Ctrl++K`). */
|
|
10
|
+
malformed: boolean;
|
|
11
|
+
}
|
|
12
|
+
/** A single character and an F-key are upper-cased; any other text is kept as written. */
|
|
13
|
+
export declare function normalizeKbdText(raw: string): string;
|
|
14
|
+
/**
|
|
15
|
+
* Parse one key combination (KD-D2). Pure. `+` separates keys; a lone `+` and a trailing `++`
|
|
16
|
+
* are the plus key. Empty tokens are dropped and flag the input as malformed. Order is kept.
|
|
17
|
+
*/
|
|
18
|
+
export declare function parseKbdKeys(input: unknown): KbdParseResult;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type KbdResolvedPlatform } from '../au-kbd.constants';
|
|
2
|
+
/** The part of `navigator` this reads, so a test can pass a plain object. */
|
|
3
|
+
export interface KbdNavigatorLike {
|
|
4
|
+
userAgentData?: {
|
|
5
|
+
platform?: string;
|
|
6
|
+
} | undefined;
|
|
7
|
+
platform?: string | undefined;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Resolve `auto` (KD-D3). Pure. A non-blank `userAgentData.platform` decides alone; otherwise
|
|
11
|
+
* `navigator.platform` (iPadOS reports `MacIntel`). With no navigator (SSR, a Node test) it is `other`.
|
|
12
|
+
*/
|
|
13
|
+
export declare function detectKbdPlatform(navigatorLike: KbdNavigatorLike | undefined): KbdResolvedPlatform;
|