@brightspot/ui 1.11.0 → 3.0.1-cms-ui-migration.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/action-bar/ActionBar.d.ts +1 -1
- package/dist/components/action-bar/ActionBar.js +7 -7
- package/dist/components/action-bar/ActionBar.js.map +1 -1
- package/dist/components/action-bar/ActionItem.d.ts +5 -5
- package/dist/components/action-bar/ActionItem.d.ts.map +1 -1
- package/dist/components/action-bar/ActionItem.js +13 -13
- package/dist/components/action-bar/ActionItem.js.map +1 -1
- package/dist/components/avatar/AvatarGroup.d.ts +3 -0
- package/dist/components/avatar/AvatarGroup.d.ts.map +1 -1
- package/dist/components/avatar/AvatarGroup.js +3 -0
- package/dist/components/avatar/AvatarGroup.js.map +1 -1
- package/dist/components/badge/Badge.d.ts +3 -1
- package/dist/components/badge/Badge.d.ts.map +1 -1
- package/dist/components/badge/Badge.js +2 -0
- package/dist/components/badge/Badge.js.map +1 -1
- package/dist/components/button-group/ButtonGroup.d.ts +138 -0
- package/dist/components/button-group/ButtonGroup.d.ts.map +1 -0
- package/dist/components/button-group/ButtonGroup.js +436 -0
- package/dist/components/button-group/ButtonGroup.js.map +1 -0
- package/dist/components/checkbox/Checkbox.d.ts +107 -0
- package/dist/components/checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/Checkbox.js +224 -0
- package/dist/components/checkbox/Checkbox.js.map +1 -0
- package/dist/components/circular-progress/CircularProgress.d.ts +2 -2
- package/dist/components/circular-progress/CircularProgress.js +2 -2
- package/dist/components/copy-to-clipboard/CopyToClipboard.d.ts +7 -2
- package/dist/components/copy-to-clipboard/CopyToClipboard.d.ts.map +1 -1
- package/dist/components/copy-to-clipboard/CopyToClipboard.js +10 -5
- package/dist/components/copy-to-clipboard/CopyToClipboard.js.map +1 -1
- package/dist/components/dropdown/Dropdown.d.ts +5 -5
- package/dist/components/dropdown/Dropdown.d.ts.map +1 -1
- package/dist/components/dropdown/Dropdown.js +11 -16
- package/dist/components/dropdown/Dropdown.js.map +1 -1
- package/dist/components/dropdown/DropdownItem.d.ts +14 -6
- package/dist/components/dropdown/DropdownItem.d.ts.map +1 -1
- package/dist/components/dropdown/DropdownItem.js +21 -15
- package/dist/components/dropdown/DropdownItem.js.map +1 -1
- package/dist/components/dropdown/DropdownMenu.d.ts +4 -4
- package/dist/components/dropdown/DropdownMenu.d.ts.map +1 -1
- package/dist/components/dropdown/DropdownMenu.js +6 -6
- package/dist/components/dropdown/DropdownMenu.js.map +1 -1
- package/dist/components/empty-state/EmptyState.css +4 -0
- package/dist/components/empty-state/EmptyState.d.ts +103 -0
- package/dist/components/empty-state/EmptyState.d.ts.map +1 -0
- package/dist/components/empty-state/EmptyState.js +209 -0
- package/dist/components/empty-state/EmptyState.js.map +1 -0
- package/dist/components/icon/Icon.d.ts +23 -10
- package/dist/components/icon/Icon.d.ts.map +1 -1
- package/dist/components/icon/Icon.js +40 -9
- package/dist/components/icon/Icon.js.map +1 -1
- package/dist/components/icon-button/IconButton.d.ts +7 -21
- package/dist/components/icon-button/IconButton.d.ts.map +1 -1
- package/dist/components/icon-button/IconButton.js +12 -18
- package/dist/components/icon-button/IconButton.js.map +1 -1
- package/dist/components/linear-progress/LinearProgress.d.ts +2 -2
- package/dist/components/linear-progress/LinearProgress.js +2 -2
- package/dist/components/pagination/Pagination.js +10 -10
- package/dist/components/popover/Popover.d.ts +6 -0
- package/dist/components/popover/Popover.d.ts.map +1 -1
- package/dist/components/popover/Popover.js +6 -0
- package/dist/components/popover/Popover.js.map +1 -1
- package/dist/components/switch/Switch.d.ts +5 -1
- package/dist/components/switch/Switch.d.ts.map +1 -1
- package/dist/components/switch/Switch.js +10 -6
- package/dist/components/switch/Switch.js.map +1 -1
- package/dist/components/tabs/Tab.d.ts +4 -4
- package/dist/components/tabs/Tab.d.ts.map +1 -1
- package/dist/components/tabs/Tab.js +5 -5
- package/dist/components/tabs/Tab.js.map +1 -1
- package/dist/components/tabs/Tabs.d.ts +3 -3
- package/dist/components/tabs/Tabs.d.ts.map +1 -1
- package/dist/components/tabs/Tabs.js +20 -20
- package/dist/components/tabs/Tabs.js.map +1 -1
- package/dist/components/upload/Upload.d.ts +157 -0
- package/dist/components/upload/Upload.d.ts.map +1 -0
- package/dist/components/upload/Upload.js +538 -0
- package/dist/components/upload/Upload.js.map +1 -0
- package/dist/components/upload/UploadItem.d.ts +73 -0
- package/dist/components/upload/UploadItem.d.ts.map +1 -0
- package/dist/components/upload/UploadItem.js +180 -0
- package/dist/components/upload/UploadItem.js.map +1 -0
- package/dist/components/widget/Widget.d.ts +1 -6
- package/dist/components/widget/Widget.d.ts.map +1 -1
- package/dist/components/widget/Widget.js +1 -6
- package/dist/components/widget/Widget.js.map +1 -1
- package/dist/custom-elements.json +7527 -2115
- package/dist/storybook/assets/{ActionBar.stories--nAeDC-G.js → ActionBar.stories-CXEvFUN5.js} +65 -65
- package/dist/storybook/assets/{ActionItem.stories-BHrGjk-P.js → ActionItem.stories-8-qQmVGz.js} +41 -41
- package/dist/storybook/assets/{Avatar.stories-Da-mRj6_.js → Avatar.stories-LOTCiTgV.js} +2 -2
- package/dist/storybook/assets/{AvatarGroup.stories-BQlaC_yl.js → AvatarGroup.stories-N17TVn4O.js} +5 -5
- package/dist/storybook/assets/{Badge.stories-DnVnOrnF.js → Badge.stories-2IRfk8Ri.js} +2 -2
- package/dist/storybook/assets/{Button-CFLAI1H9.js → Button-CQ2CjiFm.js} +1 -1
- package/dist/storybook/assets/{Button.stories-DxaBOjwv.js → Button.stories-DwyviUHj.js} +1 -1
- package/dist/storybook/assets/ButtonGroup.stories-D6nkkXxD.js +588 -0
- package/dist/storybook/assets/{Celebrate.stories-CuMm15Nr.js → Celebrate.stories-DtKNptXA.js} +7 -7
- package/dist/storybook/assets/Checkbox.stories--fetKLgV.js +141 -0
- package/dist/storybook/assets/{CircularProgress.stories-DRN8Mtvj.js → CircularProgress.stories-vK3MWdEg.js} +7 -7
- package/dist/storybook/assets/{ClipboardMixin.stories-DR7Ou2Av.js → ClipboardMixin.stories-BXOX2e9A.js} +31 -28
- package/dist/storybook/assets/{Color-6BZIO3FS-Die62Y0Z.js → Color-6BZIO3FS-DIO6ExZa.js} +1 -1
- package/dist/storybook/assets/{Colors.stories-bIq_ssbI.js → Colors.stories-Z-o0Dmyi.js} +1 -1
- package/dist/storybook/assets/{CombinedEffects.stories-CtKzOUZn.js → CombinedEffects.stories-BIvRmEL2.js} +33 -33
- package/dist/storybook/assets/{ComponentStatesMixin-DMLCk9fE.js → ComponentStatesMixin-BeLIKOsg.js} +1 -1
- package/dist/storybook/assets/{ComponentStatesMixin.stories-D8UI9o-d.js → ComponentStatesMixin.stories-u03jgLUU.js} +3 -3
- package/dist/storybook/assets/{CopyToClipboard.stories-ti6CpJNp.js → CopyToClipboard.stories-D23guAYu.js} +16 -16
- package/dist/storybook/assets/{Debounce.stories-DzZUSvbk.js → Debounce.stories-Bz3JaQJY.js} +9 -9
- package/dist/storybook/assets/{DocsRenderer-LL677BLK-CIRGv5IX.js → DocsRenderer-LL677BLK-CaEKjMeC.js} +3 -3
- package/dist/storybook/assets/{Dropdown.stories-Lt4cY0Re.js → Dropdown.stories-CNxtx8UX.js} +60 -60
- package/dist/storybook/assets/EmptyState.stories-Ck5T6q1T.js +318 -0
- package/dist/storybook/assets/{Events.stories-B1ddcgpT.js → Events.stories-Cx10pvVB.js} +1 -1
- package/dist/storybook/assets/{Heading.stories-DI4w61cf.js → Heading.stories-mbkSoA5r.js} +1 -1
- package/dist/storybook/assets/{HueRipple.stories-DjhoxxEw.js → HueRipple.stories-B-DDviMh.js} +11 -11
- package/dist/storybook/assets/Icon.stories-Dodo1jjZ.js +441 -0
- package/dist/storybook/assets/{IconButton.stories-KjN28hfc.js → IconButton.stories-eAU6vNiX.js} +126 -146
- package/dist/storybook/assets/{LinearProgress.stories-DcIpdz6R.js → LinearProgress.stories-BqAUCgwy.js} +7 -7
- package/dist/storybook/assets/{Pagination.stories-BBkLEwoP.js → Pagination.stories-CVK8mlEU.js} +6 -6
- package/dist/storybook/assets/{Popover.stories-DLv48c2h.js → Popover.stories-CC2R-jiv.js} +33 -62
- package/dist/storybook/assets/ReadyMixin-CAkCCAOH.js +1 -0
- package/dist/storybook/assets/{RovingTabindexMixin.stories-BWaFx9mu.js → RovingTabindexMixin.stories-Dgm5izU_.js} +6 -6
- package/dist/storybook/assets/{Rtc.stories-Ve7Bwo_l.js → Rtc.stories-D9uVCq71.js} +3 -3
- package/dist/storybook/assets/{ScrollShadow.stories-C6XmrRLm.js → ScrollShadow.stories-D5GJ6Zes.js} +2 -2
- package/dist/storybook/assets/{Switch.stories-Cf8WM1LG.js → Switch.stories-D7HV0v6i.js} +21 -21
- package/dist/storybook/assets/{Tab.stories-CEtdEtOx.js → Tab.stories-CwHBngmO.js} +33 -33
- package/dist/storybook/assets/{Tabs.stories-CIAO1bPO.js → Tabs.stories-D87ILflp.js} +2 -2
- package/dist/storybook/assets/{Throttle.stories-BqxVIb-r.js → Throttle.stories-C13Vl7yt.js} +10 -10
- package/dist/storybook/assets/{Tooltip.stories-B6fw6875.js → Tooltip.stories-BRmAKppC.js} +2 -2
- package/dist/storybook/assets/Upload.stories-CvceXasD.js +447 -0
- package/dist/storybook/assets/UploadItem.stories-BF6c7tVM.js +167 -0
- package/dist/storybook/assets/{Welcome.stories-CfJtSM19.js → Welcome.stories-Ciht_H8A.js} +1 -1
- package/dist/storybook/assets/{Widget.stories-CiOho7lO.js → Widget.stories-30UYw1gn.js} +13 -13
- package/dist/storybook/assets/{WithTooltip-65CFNBJE-PGcopp73.js → WithTooltip-65CFNBJE-Q8AG_oZS.js} +1 -1
- package/dist/storybook/assets/{blocks-dP2DwISI.js → blocks-DIrsUt2U.js} +5 -5
- package/dist/storybook/assets/{formatter-EIJCOSYU-CZSAC3tg.js → formatter-EIJCOSYU-BcNb3EA1.js} +1 -1
- package/dist/storybook/assets/if-defined-C1_PRAyA.js +1 -0
- package/dist/storybook/assets/iframe-BgFj0b5u.css +1 -0
- package/dist/storybook/assets/{iframe-DloIUNZz.js → iframe-D5Uwm8Zd.js} +191 -191
- package/dist/storybook/assets/{index-DKF0ypu5.js → index-BOlx3-q7.js} +1 -1
- package/dist/storybook/assets/{onFind-C0l4Gew0.js → onFind-Cp2DO8R2.js} +1 -1
- package/dist/storybook/assets/{onFind.stories-DOTt9puO.js → onFind.stories-BDK06xaW.js} +53 -77
- package/dist/storybook/assets/{onRemove.stories-CQ9ZC5dm.js → onRemove.stories-TSKvqih3.js} +6 -10
- package/dist/storybook/assets/{onVisible.stories-Cbj5_Vz0.js → onVisible.stories-DiOPobn8.js} +3 -3
- package/dist/storybook/assets/{style-map-DLXysq3r.js → style-map-Cy6U2K_U.js} +1 -1
- package/dist/storybook/assets/{syntaxhighlighter-ED5Y7EFY-Bjjbl9ca.js → syntaxhighlighter-ED5Y7EFY-NNCQVsSv.js} +1 -1
- package/dist/storybook/box-illustration.svg +51 -0
- package/dist/storybook/cloud-illustration.svg +49 -0
- package/dist/storybook/docs-illustration.svg +92 -0
- package/dist/storybook/iframe.html +3 -3
- package/dist/storybook/index.json +1 -1
- package/dist/storybook/project.json +1 -1
- package/dist/tailwind-plugin-badge.js +1 -1
- package/dist/tailwind-plugin-badge.ts +1 -1
- package/dist/tailwind-plugin-button-group.d.ts +2 -0
- package/dist/tailwind-plugin-button-group.d.ts.map +1 -0
- package/dist/tailwind-plugin-button-group.js +215 -0
- package/dist/tailwind-plugin-button-group.js.map +1 -0
- package/dist/tailwind-plugin-button-group.ts +238 -0
- package/dist/tailwind-plugin-button.js +1 -1
- package/dist/tailwind-plugin-button.ts +1 -1
- package/dist/tailwind-plugin-checkbox.d.ts +2 -0
- package/dist/tailwind-plugin-checkbox.d.ts.map +1 -0
- package/dist/tailwind-plugin-checkbox.js +246 -0
- package/dist/tailwind-plugin-checkbox.js.map +1 -0
- package/dist/tailwind-plugin-checkbox.ts +281 -0
- package/dist/tailwind-plugin-empty-state.d.ts +2 -0
- package/dist/tailwind-plugin-empty-state.d.ts.map +1 -0
- package/dist/tailwind-plugin-empty-state.js +113 -0
- package/dist/tailwind-plugin-empty-state.js.map +1 -0
- package/dist/tailwind-plugin-empty-state.ts +124 -0
- package/dist/tailwind-plugin-icon.js +122 -18
- package/dist/tailwind-plugin-icon.js.map +1 -1
- package/dist/tailwind-plugin-icon.ts +131 -18
- package/dist/tailwind-plugin-loader.js +3 -3
- package/dist/tailwind-plugin-loader.ts +3 -3
- package/dist/tailwind-plugin-tabs.js +7 -0
- package/dist/tailwind-plugin-tabs.js.map +1 -1
- package/dist/tailwind-plugin-tabs.ts +7 -0
- package/dist/tailwind-plugin-upload.d.ts +2 -0
- package/dist/tailwind-plugin-upload.d.ts.map +1 -0
- package/dist/tailwind-plugin-upload.js +322 -0
- package/dist/tailwind-plugin-upload.js.map +1 -0
- package/dist/tailwind-plugin-upload.ts +362 -0
- package/dist/tailwind.config.d.ts.map +1 -1
- package/dist/tailwind.config.js +1 -0
- package/dist/tailwind.config.js.map +1 -1
- package/dist/tailwind.config.ts +1 -0
- package/dist/util/ClipboardMixin.d.ts +7 -2
- package/dist/util/ClipboardMixin.d.ts.map +1 -1
- package/dist/util/ClipboardMixin.js +15 -13
- package/dist/util/ClipboardMixin.js.map +1 -1
- package/dist/util/ComponentStatesMixin.d.ts +2 -1
- package/dist/util/ComponentStatesMixin.d.ts.map +1 -1
- package/dist/util/ComponentStatesMixin.js +4 -0
- package/dist/util/ComponentStatesMixin.js.map +1 -1
- package/dist/util/EventEmitterMixin.d.ts +42 -4
- package/dist/util/EventEmitterMixin.d.ts.map +1 -1
- package/dist/util/EventEmitterMixin.js +5 -2
- package/dist/util/EventEmitterMixin.js.map +1 -1
- package/dist/util/ProgressMixin.d.ts +9 -2
- package/dist/util/ProgressMixin.d.ts.map +1 -1
- package/dist/util/ProgressMixin.js +22 -18
- package/dist/util/ProgressMixin.js.map +1 -1
- package/dist/util/RovingTabindexMixin.d.ts +8 -0
- package/dist/util/RovingTabindexMixin.d.ts.map +1 -1
- package/dist/util/RovingTabindexMixin.js +8 -8
- package/dist/util/RovingTabindexMixin.js.map +1 -1
- package/dist/util/TetherLayout.d.ts.map +1 -1
- package/dist/util/TetherLayout.js +3 -0
- package/dist/util/TetherLayout.js.map +1 -1
- package/dist/util/TooltipMixin.d.ts.map +1 -1
- package/dist/util/TooltipMixin.js +5 -4
- package/dist/util/TooltipMixin.js.map +1 -1
- package/dist/util/upload.d.ts +53 -0
- package/dist/util/upload.d.ts.map +1 -0
- package/dist/util/upload.js +113 -0
- package/dist/util/upload.js.map +1 -0
- package/docs/adr/0001-retire-cms-ui-package-fold-under-src-legacy.md +78 -0
- package/docs/adr/0002-yarn-workspaces-preserve-cms-ui-deps.md +130 -0
- package/docs/adr/0003-bundle-equivalence-as-fold-acceptance-criterion.md +286 -0
- package/docs/components/ActionBar.md +6 -0
- package/docs/components/ActionItem.md +52 -27
- package/docs/components/Avatar.md +42 -12
- package/docs/components/AvatarGroup.md +4 -3
- package/docs/components/Badge.md +13 -1
- package/docs/components/ButtonGroup.md +91 -0
- package/docs/components/Checkbox.md +91 -0
- package/docs/components/CircularProgress.md +41 -12
- package/docs/components/CopyToClipboard.md +13 -11
- package/docs/components/Dropdown.md +44 -19
- package/docs/components/DropdownItem.md +39 -26
- package/docs/components/DropdownMenu.md +9 -9
- package/docs/components/EmptyState.md +75 -0
- package/docs/components/Icon.md +22 -14
- package/docs/components/IconButton.md +46 -21
- package/docs/components/LinearProgress.md +43 -4
- package/docs/components/Pagination.md +11 -10
- package/docs/components/Popover.md +16 -0
- package/docs/components/README.md +5 -0
- package/docs/components/Switch.md +21 -16
- package/docs/components/Tab.md +8 -2
- package/docs/components/Tabs.md +8 -0
- package/docs/components/Upload.md +112 -0
- package/docs/components/UploadItem.md +61 -0
- package/docs/components/Widget.md +12 -6
- package/package.json +9 -5
- package/src/legacy/tool-ui/src/main/webapp/dist/011a678e3efe41981754.png +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/1173.080a90c5923854fc48e6.js +2 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/1173.080a90c5923854fc48e6.js.LICENSE.txt +10 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/194137260531ee29a5f2.svg +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/1946.156c6821383df2638492.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/1950.3594aaa4f20df28f39d9.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/1e8408af1a34bdf61457.png +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/2111.3956b5196a514b2c0131.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/2111.a937b0cafa8cf7c039d2.css +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/2129.6b044e5564dd3dbb2f94.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/2314.420883b6638f35f40e70.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/2456.5bcfb782c2ec27de32ed.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/2537.e8f1359bedd328bf57f4.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/2565.4ca31a6a46de85cd3b31.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/270.3011484ff80f3093083a.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/2825.c1342ac2662d11fd4125.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/2947.f96d21c44c05980974ef.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/3532.c358dfbb2cde0f802c7f.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/3543.2d704cf9e170322468e7.js +2 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/3543.2d704cf9e170322468e7.js.LICENSE.txt +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/3611.61837ffa933f74502094.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/3790.74b7037d430ed0a47d0c.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/3995.afbec58662cafb46ec2c.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/4017.c3ed1ca3be18b5c080c8.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/4093.152620c022c3013502b7.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/4114.57fe159e416e716f8cbc.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/4168.a224af7c5c5f6f2ddd7b.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/4374.37147747a254da8f5f8a.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/4450.16dd5684292fd0a7ea7f.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/4478.93f64e6a6ccb35a6c6d4.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/44b38a404dec4643c46b.png +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/4582.243dbaa3d8a8648f6f40.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/4709.4f6b707e225e481a928e.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/4790.10d75f7c7f8e54ce83a1.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/4795.034ebc93a67b7a3d6536.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/4850.6b944738520f69c98070.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/4a4ee777ddc0d4cedee4.png +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/5001.a61ae5608398d5d98ab1.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/5030.1e8b82e1444067d492b1.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/5055.620ccb3717b4a6427f09.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/5098.33613009827cfc80aafb.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/5385.6656501b67424994820b.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/5598.d84773ca53126661bdca.js +2 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/5598.d84773ca53126661bdca.js.LICENSE.txt +11 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/5617.c81ecb679371ca302f1f.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/5718.449113ae2463a3bb8a83.js +2 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/5718.449113ae2463a3bb8a83.js.LICENSE.txt +8 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/6047.291dd2d4b3f79be2c64d.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/6086.7ca02b827506f29db590.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/6216.cf8adc1990ee1111f065.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/6497.b7d8dcbf0e7c8d8d538d.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/6565.0e5abc3bd344c53ae154.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/7033.4cd6efbe12e7aaa35745.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/7202.1e5b8f21215ea6eae20a.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/7361.793163ca71dfac69d9eb.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/75.e45c9aec6e7409bfe21d.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/7524.2990be869cf0a2988d17.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/7554.bb243c1fb06a125f6353.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/7718.a937b0cafa8cf7c039d2.css +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/7718.f5996ddd99f2353c7785.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/7741.0b2789c4e783af835763.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/7769.d47f40cc83035fc2392a.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/7863.2a1d1fd229778a47e10b.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/7923.8a92f55de8387f7a8a35.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/8684.7171c731d38a9873d6df.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/8752.3d02a0f42ec39786fdf0.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/8897.bfeed19f2a4acbb6d67c.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/8934.e90ceca8169fc25e4e1b.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/9277.88b2d89b3ba1c24e7f93.js +2 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/9277.88b2d89b3ba1c24e7f93.js.LICENSE.txt +9 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/9360.bb0352313d610cae11de.js +2 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/9360.bb0352313d610cae11de.js.LICENSE.txt +33 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/9561.64eab18c8c1bbc4ad8ec.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/9576.174d6a99544d17e7416d.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/983.eedba1cd484aa5bee0c4.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/Appetizeio.185641211f7c0e42a455.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/CISpectrum.74db7dc80b3a6797a167.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/Chart.223ea4ee9e3e32b67a26.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/ChartCompat.4dd096dd030942227ec6.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/CodeMirror.5ddffe054374f883d6f8.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/ImageEditor.14e3b3035666436f53a5.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/LocationMap.72a510c0f5ff236f596e.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/RTEProseMirror.7561297911cca56da5dd.js +500 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/RTEProseMirror.7561297911cca56da5dd.js.LICENSE.txt +8 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/RegionMap.63f3b2303ab369a05073.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/TimedContent.4bb4dc83ffbe4019dd7b.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/VideoEditor.11c89dda5cf125738a33.js +2 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/VideoEditor.11c89dda5cf125738a33.js.LICENSE.txt +23 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/c6e9c007f41bd4d26c20.png +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/iframeResizer.contentWindow.map +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/iframeResizer.contentWindow.min.js +2 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/iframeResizer.contentWindow.min.js.LICENSE.txt +7 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/lucide.woff2 +0 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/preview.d46d98e5ca9dba0a0f5a.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/v4.63bc3566a89786faeb89.js +92 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/v4.63bc3566a89786faeb89.js.LICENSE.txt +71 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/v4.a6f53058dbb04a69aa5c.css +3 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/v5.5e3fdf0f0b20b4e3c170.css +5 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/v5.702238fcabd666eba152.js +92 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/v5.702238fcabd666eba152.js.LICENSE.txt +78 -0
- package/dist/storybook/assets/Icon.stories-CpziAhae.js +0 -264
- package/dist/storybook/assets/ReadyMixin-Cw2Dfbu2.js +0 -1
- package/dist/storybook/assets/if-defined-B1RdczOE.js +0 -1
- package/dist/storybook/assets/iframe-bJgLXZKK.css +0 -1
|
@@ -18,27 +18,41 @@
|
|
|
18
18
|
|
|
19
19
|
### Fields
|
|
20
20
|
|
|
21
|
-
| Name | Privacy | Type
|
|
22
|
-
| ------------------ | ------- |
|
|
23
|
-
| `label` | | `string`
|
|
24
|
-
| `open` | | `boolean`
|
|
25
|
-
| `placement` | | `Placement`
|
|
26
|
-
| `size` | | `Size`
|
|
27
|
-
| `disabled` | | `boolean`
|
|
28
|
-
| `variant` | | `Variant`
|
|
29
|
-
| `
|
|
30
|
-
| `iconPosition` | | `'leading' \| 'trailing'`
|
|
31
|
-
| `iconOnly` | | `boolean`
|
|
32
|
-
| `stayOpenOnSelect` | | `boolean`
|
|
33
|
-
| `noChevron` | | `boolean`
|
|
21
|
+
| Name | Privacy | Type | Default | Description | Inherited From |
|
|
22
|
+
| ------------------ | ------- | ---------------------------------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | -------------- |
|
|
23
|
+
| `label` | | `string` | `''` | Trigger button text. | |
|
|
24
|
+
| `open` | | `boolean` | `false` | Panel visibility state. Can be set programmatically (e.g., for tour UIs)
— syncs to \`showPopover()\`/\`hidePopover()\` in \`updated()\`. | |
|
|
25
|
+
| `placement` | | `Placement` | `'bottom-start'` | Panel placement: 'bottom-start', 'bottom-end', 'top-start', 'top-end'. | |
|
|
26
|
+
| `size` | | `Size` | `'md'` | Button size: 'sm', 'md', 'lg'. | |
|
|
27
|
+
| `disabled` | | `boolean` | `false` | Prevents opening. | |
|
|
28
|
+
| `variant` | | `Variant` | `'secondary'` | Button variant: 'primary', 'secondary', 'tertiary', 'primary-clear', 'secondary-clear', 'tertiary-clear'. | |
|
|
29
|
+
| `symbol` | | `string` | `''` | Lucide icon symbol for the trigger. | |
|
|
30
|
+
| `iconPosition` | | `'leading' \| 'trailing'` | `'leading'` | Icon position: 'leading' or 'trailing'. | |
|
|
31
|
+
| `iconOnly` | | `boolean` | `false` | Hides label, shows icon only. | |
|
|
32
|
+
| `stayOpenOnSelect` | | `boolean` | `false` | Keeps panel open on item click. | |
|
|
33
|
+
| `noChevron` | | `boolean` | `false` | Hides the chevron icon on the trigger button. | |
|
|
34
|
+
| `tooltip` | | `string` | `''` | Tooltip text content. Set to empty string to remove the tooltip. | TooltipMixin |
|
|
35
|
+
| `tooltipPosition` | | `'top' \| 'bottom' \| 'left' \| 'right'` | `'top'` | Position relative to the host element. Auto-flips when constrained by the viewport. | TooltipMixin |
|
|
36
|
+
| `tooltipDelay` | | `number` | `300` | Show delay in milliseconds (hover trigger only). | TooltipMixin |
|
|
37
|
+
| `tooltipOffset` | | `TooltipOffset \| null` | `null` | Gap between host and tooltip (sm=4px, md=8px, lg=12px, xl=16px). | TooltipMixin |
|
|
38
|
+
| `tooltipNoArrow` | | `boolean` | `false` | Hide the arrow pseudo-element. | TooltipMixin |
|
|
39
|
+
| `tooltipTrigger` | | `string` | `'hover focus'` | Space-separated trigger types: 'hover', 'focus', 'click'. | TooltipMixin |
|
|
40
|
+
| `_onMouseLeave` | private | | | | TooltipMixin |
|
|
41
|
+
| `_onFocusIn` | private | | | | TooltipMixin |
|
|
42
|
+
| `_onFocusOut` | private | | | | TooltipMixin |
|
|
43
|
+
| `_onClick` | private | | | | TooltipMixin |
|
|
44
|
+
| `_onNativeToggle` | private | | | | TooltipMixin |
|
|
45
|
+
| `_onKeyDown` | private | | | | TooltipMixin |
|
|
46
|
+
| `_onDocumentClick` | private | `((e: MouseEvent) => void) \| null` | `null` | | TooltipMixin |
|
|
34
47
|
|
|
35
48
|
### Methods
|
|
36
49
|
|
|
37
|
-
| Name | Privacy | Description
|
|
38
|
-
| ------------------- | ------- |
|
|
39
|
-
| `_getButtonClasses` | private | Build the button class string based on variant and size
|
|
40
|
-
| `_showPanel` | private | Show the dropdown panel
|
|
41
|
-
| `_hidePanel` | private | Hide the dropdown panel
|
|
50
|
+
| Name | Privacy | Description | Parameters | Return | Inherited From |
|
|
51
|
+
| ------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | --------- | ----------------- |
|
|
52
|
+
| `_getButtonClasses` | private | Build the button class string based on variant and size | | `string` | |
|
|
53
|
+
| `_showPanel` | private | Show the dropdown panel | | `void` | |
|
|
54
|
+
| `_hidePanel` | private | Hide the dropdown panel | | `void` | |
|
|
55
|
+
| `emit` | | Dispatches a type-safe CustomEvent with standardized configuration.

All events are configured with:
- bubbles: true (event propagates up the DOM tree)
- cancelable: false (event cannot be cancelled)
- composed: true (event crosses shadow DOM boundaries) | `type: K, detail: UnpackCustomEvent<CustomEventMap[K]>` | `boolean` | EventEmitterMixin |
|
|
42
56
|
|
|
43
57
|
### Events
|
|
44
58
|
|
|
@@ -60,11 +74,22 @@
|
|
|
60
74
|
| `size` | size | |
|
|
61
75
|
| `disabled` | disabled | |
|
|
62
76
|
| `variant` | variant | |
|
|
63
|
-
| `
|
|
77
|
+
| `symbol` | symbol | |
|
|
64
78
|
| `icon-position` | iconPosition | |
|
|
65
79
|
| `icon-only` | iconOnly | |
|
|
66
80
|
| `stay-open-on-select` | stayOpenOnSelect | |
|
|
67
81
|
| `no-chevron` | noChevron | |
|
|
82
|
+
| `tooltip` | tooltip | TooltipMixin |
|
|
83
|
+
| `tooltipPosition` | tooltipPosition | TooltipMixin |
|
|
84
|
+
| `tooltipDelay` | tooltipDelay | TooltipMixin |
|
|
85
|
+
| `tooltipOffset` | tooltipOffset | TooltipMixin |
|
|
86
|
+
| `tooltipNoArrow` | tooltipNoArrow | TooltipMixin |
|
|
87
|
+
| `tooltipTrigger` | tooltipTrigger | TooltipMixin |
|
|
88
|
+
| `tooltip-position` | tooltipPosition | TooltipMixin |
|
|
89
|
+
| `tooltip-delay` | tooltipDelay | TooltipMixin |
|
|
90
|
+
| `tooltip-offset` | tooltipOffset | TooltipMixin |
|
|
91
|
+
| `tooltip-no-arrow` | tooltipNoArrow | TooltipMixin |
|
|
92
|
+
| `tooltip-trigger` | tooltipTrigger | TooltipMixin |
|
|
68
93
|
|
|
69
94
|
### CSS Properties
|
|
70
95
|
|
|
@@ -17,24 +17,25 @@
|
|
|
17
17
|
|
|
18
18
|
### Fields
|
|
19
19
|
|
|
20
|
-
| Name
|
|
21
|
-
|
|
|
22
|
-
| `label`
|
|
23
|
-
| `type`
|
|
24
|
-
| `
|
|
25
|
-
| `shortcut`
|
|
26
|
-
| `value`
|
|
27
|
-
| `disabled`
|
|
28
|
-
| `selected`
|
|
29
|
-
| `favorited`
|
|
30
|
-
| `error`
|
|
20
|
+
| Name | Privacy | Type | Default | Description | Inherited From |
|
|
21
|
+
| ----------- | ------- | ------------------------------------- | ----------- | ---------------------------------------------- | -------------- |
|
|
22
|
+
| `label` | | `string` | `''` | Display text for the item. | |
|
|
23
|
+
| `type` | | `'default' \| 'divider' \| 'subhead'` | `'default'` | Item type: 'default', 'divider', or 'subhead'. | |
|
|
24
|
+
| `symbol` | | `string` | `''` | Lucide icon symbol. | |
|
|
25
|
+
| `shortcut` | | `string` | `''` | Keyboard shortcut display text. | |
|
|
26
|
+
| `value` | | `string` | `''` | Optional data value associated with the item. | |
|
|
27
|
+
| `disabled` | | `boolean` | `false` | Whether the item is disabled. | |
|
|
28
|
+
| `selected` | | `boolean` | `false` | Whether the item is selected/checked. | |
|
|
29
|
+
| `favorited` | | `boolean` | `false` | Whether the item is favorited. | |
|
|
30
|
+
| `error` | | `boolean` | `false` | Whether the item has an error. | |
|
|
31
31
|
|
|
32
32
|
### Methods
|
|
33
33
|
|
|
34
|
-
| Name | Privacy | Description
|
|
35
|
-
| ----------------- | ------- |
|
|
36
|
-
| `_toggleFavorite` | private | Toggle favorite state
|
|
37
|
-
| `_handleClick` | private |
|
|
34
|
+
| Name | Privacy | Description | Parameters | Return | Inherited From |
|
|
35
|
+
| ----------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | --------- | ----------------- |
|
|
36
|
+
| `_toggleFavorite` | private | Toggle favorite state | `e: Event` | `void` | |
|
|
37
|
+
| `_handleClick` | private | | | `void` | |
|
|
38
|
+
| `emit` | | Dispatches a type-safe CustomEvent with standardized configuration.

All events are configured with:
- bubbles: true (event propagates up the DOM tree)
- cancelable: false (event cannot be cancelled)
- composed: true (event crosses shadow DOM boundaries) | `type: K, detail: UnpackCustomEvent<CustomEventMap[K]>` | `boolean` | EventEmitterMixin |
|
|
38
39
|
|
|
39
40
|
### Events
|
|
40
41
|
|
|
@@ -46,17 +47,29 @@
|
|
|
46
47
|
|
|
47
48
|
### Attributes
|
|
48
49
|
|
|
49
|
-
| Name
|
|
50
|
-
|
|
|
51
|
-
| `label`
|
|
52
|
-
| `type`
|
|
53
|
-
| `
|
|
54
|
-
| `shortcut`
|
|
55
|
-
| `value`
|
|
56
|
-
| `disabled`
|
|
57
|
-
| `selected`
|
|
58
|
-
| `favorited`
|
|
59
|
-
| `error`
|
|
50
|
+
| Name | Field | Inherited From |
|
|
51
|
+
| ----------- | --------- | -------------- |
|
|
52
|
+
| `label` | label | |
|
|
53
|
+
| `type` | type | |
|
|
54
|
+
| `symbol` | symbol | |
|
|
55
|
+
| `shortcut` | shortcut | |
|
|
56
|
+
| `value` | value | |
|
|
57
|
+
| `disabled` | disabled | |
|
|
58
|
+
| `selected` | selected | |
|
|
59
|
+
| `favorited` | favorited | |
|
|
60
|
+
| `error` | error | |
|
|
61
|
+
|
|
62
|
+
### CSS Properties
|
|
63
|
+
|
|
64
|
+
| Name | Default | Description |
|
|
65
|
+
| ------------------------------------- | ------- | ----------------------------------------------- |
|
|
66
|
+
| `--dropdown-item-font-size` | | Item font size (default: theme fontSize.sm) |
|
|
67
|
+
| `--dropdown-item-color` | | Item text color (default: gray-700) |
|
|
68
|
+
| `--dropdown-item-background` | | Item background color (default: transparent) |
|
|
69
|
+
| `--dropdown-item-hover-background` | | Background on hover (default: gray-100) |
|
|
70
|
+
| `--dropdown-item-hover-color` | | Text color on hover (default: gray-900) |
|
|
71
|
+
| `--dropdown-item-selected-background` | | Background when selected (default: primary-50) |
|
|
72
|
+
| `--dropdown-item-selected-color` | | Text color when selected (default: primary-700) |
|
|
60
73
|
|
|
61
74
|
<hr/>
|
|
62
75
|
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
| `header` | | `boolean` | `false` | Show header bar with menu name. | |
|
|
25
25
|
| `checkbox` | | `boolean` | `false` | Enable checkbox mode for items (menuitemcheckbox role). | |
|
|
26
26
|
| `icon` | | `boolean` | `false` | Show icons before each item. | |
|
|
27
|
-
| `
|
|
27
|
+
| `symbol` | | `string` | `''` | Fallback Lucide icon symbol for items without their own. | |
|
|
28
28
|
| `favorites` | | `boolean` | `false` | Show favorite toggle on each item. | |
|
|
29
29
|
| `shortcuts` | | `boolean` | `false` | Show keyboard shortcut text on each item. | |
|
|
30
30
|
| `emptyMessage` | | `string` | `'No items available'` | Message displayed when the menu has no focusable items. | |
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
|
|
33
33
|
### Methods
|
|
34
34
|
|
|
35
|
-
| Name | Privacy | Description
|
|
36
|
-
| -------------------- | ------- |
|
|
37
|
-
| `
|
|
38
|
-
| `
|
|
39
|
-
| `
|
|
40
|
-
| `
|
|
41
|
-
| `
|
|
35
|
+
| Name | Privacy | Description | Parameters | Return | Inherited From |
|
|
36
|
+
| -------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | ---------------- | ----------------- |
|
|
37
|
+
| `_configureItems` | private | Configure all child items with menu-level settings | | `void` | |
|
|
38
|
+
| `_getAllItems` | private | Get all btu-dropdown-item children | | `DropdownItem[]` | |
|
|
39
|
+
| `_getFocusableItems` | private | Get only focusable items (default type, skip dividers/subheads) | | `DropdownItem[]` | |
|
|
40
|
+
| `_handleTypeahead` | private | Typeahead character matching with 500ms accumulation | `char: string, focusable: DropdownItem[]` | `void` | |
|
|
41
|
+
| `emit` | | Dispatches a type-safe CustomEvent with standardized configuration.

All events are configured with:
- bubbles: true (event propagates up the DOM tree)
- cancelable: false (event cannot be cancelled)
- composed: true (event crosses shadow DOM boundaries) | `type: K, detail: UnpackCustomEvent<CustomEventMap[K]>` | `boolean` | EventEmitterMixin |
|
|
42
42
|
|
|
43
43
|
### Events
|
|
44
44
|
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
| `header` | header | |
|
|
55
55
|
| `checkbox` | checkbox | |
|
|
56
56
|
| `icon` | icon | |
|
|
57
|
-
| `
|
|
57
|
+
| `symbol` | symbol | |
|
|
58
58
|
| `favorites` | favorites | |
|
|
59
59
|
| `shortcuts` | shortcuts | |
|
|
60
60
|
| `empty-message` | emptyMessage | |
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# `src/components/empty-state/EmptyState.ts`:
|
|
2
|
+
|
|
3
|
+
## class: `EmptyState`, `btu-empty-state`
|
|
4
|
+
|
|
5
|
+
### Superclass
|
|
6
|
+
|
|
7
|
+
| Name | Module | Package |
|
|
8
|
+
| ------------ | ------ | ------- |
|
|
9
|
+
| `LitElement` | | lit |
|
|
10
|
+
|
|
11
|
+
### Mixins
|
|
12
|
+
|
|
13
|
+
| Name | Module | Package |
|
|
14
|
+
| ------------------- | ------------------------------ | ------- |
|
|
15
|
+
| `EventEmitterMixin` | /src/util/EventEmitterMixin.js | |
|
|
16
|
+
| `ReadyMixin` | /src/util/ReadyMixin.js | |
|
|
17
|
+
|
|
18
|
+
### Fields
|
|
19
|
+
|
|
20
|
+
| Name | Privacy | Type | Default | Description | Inherited From |
|
|
21
|
+
| ---------------- | ------- | ---------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- |
|
|
22
|
+
| `heading` | | `string` | `''` | Heading text displayed in the empty state. | |
|
|
23
|
+
| `description` | | `string \| undefined` | | Description text displayed below the heading. | |
|
|
24
|
+
| `size` | | `'sm' \| 'md' \| 'lg'` | `'md'` | Size variant of the empty state. Affects spacing, description text, graphic size,
and — when \`heading-level\` is unset — the default heading level (sm→5, md→4, lg→3). | |
|
|
25
|
+
| `headingLevel` | | `number \| undefined` | | Heading level (1-6). When set to a valid integer 1-6, overrides the size-based
default and drives both the semantic h1-h6 tag and the visual heading size
(btu-heading-1 through btu-heading-6). Invalid values log a warning and fall
back to the size-based default. | |
|
|
26
|
+
| `initialClasses` | private | `string[]` | `[]` | | |
|
|
27
|
+
|
|
28
|
+
### Methods
|
|
29
|
+
|
|
30
|
+
| Name | Privacy | Description | Parameters | Return | Inherited From |
|
|
31
|
+
| --------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | -------------------------- | ----------------- |
|
|
32
|
+
| `syncGraphicIconSize` | private | | | `void` | |
|
|
33
|
+
| `resolveHeadingLevel` | private | | | `HeadingLevel` | |
|
|
34
|
+
| `renderHeading` | private | | `level: HeadingLevel, className: string` | `TemplateResult \| string` | |
|
|
35
|
+
| `emit` | | Dispatches a type-safe CustomEvent with standardized configuration.

All events are configured with:
- bubbles: true (event propagates up the DOM tree)
- cancelable: false (event cannot be cancelled)
- composed: true (event crosses shadow DOM boundaries) | `type: K, detail: UnpackCustomEvent<CustomEventMap[K]>` | `boolean` | EventEmitterMixin |
|
|
36
|
+
|
|
37
|
+
### Events
|
|
38
|
+
|
|
39
|
+
| Name | Type | Description | Inherited From |
|
|
40
|
+
| ------------------------ | ------------- | ---------------------------------------------- | -------------- |
|
|
41
|
+
| `btu-empty-state-ready` | `CustomEvent` | Fired after first render and initialization | |
|
|
42
|
+
| `btu-button-group-ready` | `CustomEvent` | Bubbles from the internal actions button-group | |
|
|
43
|
+
|
|
44
|
+
### Attributes
|
|
45
|
+
|
|
46
|
+
| Name | Field | Inherited From |
|
|
47
|
+
| --------------- | ------------ | -------------- |
|
|
48
|
+
| `heading` | heading | |
|
|
49
|
+
| `description` | description | |
|
|
50
|
+
| `size` | size | |
|
|
51
|
+
| `heading-level` | headingLevel | |
|
|
52
|
+
|
|
53
|
+
### CSS Properties
|
|
54
|
+
|
|
55
|
+
| Name | Default | Description |
|
|
56
|
+
| --------------------------------- | ------- | --------------------------------------------------------------- |
|
|
57
|
+
| `--empty-state-max-width` | | Maximum width of the content block (default: min(75cqw, 360px)) |
|
|
58
|
+
| `--empty-state-color-heading` | | Heading text color (default: gray-900) |
|
|
59
|
+
| `--empty-state-color-description` | | Description text color (default: gray-500) |
|
|
60
|
+
|
|
61
|
+
### Slots
|
|
62
|
+
|
|
63
|
+
| Name | Description |
|
|
64
|
+
| --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
65
|
+
| `graphic` | Pseudo-slot for icon, image, picture, or SVG graphic. When the child is a \`btu-icon\`, the component overrides its \`size\` attribute based on the empty-state \`size\` prop (sm→md, md→lg, lg→xl). Use an \`img\`, \`picture\`, or inline \`svg\` for full size control. |
|
|
66
|
+
| `actions` | Pseudo-slot for action buttons. Children are moved into an internal \`btu-button-group\` (variant="spaced"), so size and disabled state are managed by the group. |
|
|
67
|
+
|
|
68
|
+
<hr/>
|
|
69
|
+
|
|
70
|
+
## Exports
|
|
71
|
+
|
|
72
|
+
| Kind | Name | Declaration | Module | Package |
|
|
73
|
+
| --------------------------- | ----------------- | ----------- | ---------------------------------------- | ------- |
|
|
74
|
+
| `js` | `default` | EmptyState | src/components/empty-state/EmptyState.ts | |
|
|
75
|
+
| `custom-element-definition` | `btu-empty-state` | EmptyState | src/components/empty-state/EmptyState.ts | |
|
package/docs/components/Icon.md
CHANGED
|
@@ -23,11 +23,18 @@
|
|
|
23
23
|
|
|
24
24
|
### Fields
|
|
25
25
|
|
|
26
|
-
| Name
|
|
27
|
-
|
|
|
28
|
-
| `size`
|
|
29
|
-
| `symbol`
|
|
30
|
-
| `gradient`
|
|
26
|
+
| Name | Privacy | Type | Default | Description | Inherited From |
|
|
27
|
+
| ----------- | ------- | -------------------------------------- | ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- |
|
|
28
|
+
| `size` | | `'xs' \| 'sm' \| 'md' \| 'lg' \| 'xl'` | `'md'` | Size of the icon.
- 'xs': Extra small (0.75rem)
- 'sm': Small (1rem)
- 'md': Medium (1.25rem, default)
- 'lg': Large (1.5rem)
- 'xl': Extra large (1.75rem) | |
|
|
29
|
+
| `symbol` | | `string` | `'circle-dashed'` | Lucide icon name to display.
See https\://lucide.dev/icons/ for available icons. | |
|
|
30
|
+
| `gradient` | | `IconGradientColor \| undefined` | | Theme color to use for gradient fill.
When set, icon displays with gradient. When undefined, icon inherits parent text color. | |
|
|
31
|
+
| `emphasize` | | `boolean \| 'pulse' \| undefined` | | Emphasize mode — renders a tonal circle with ring behind the icon.
Colors are derived from \`currentColor\` via oklch relative color syntax.
Defaults to primary; override with Tailwind \`text-\*\` classes or \`style="color: ..."\`.
Set as a boolean for the static circle, or \`"pulse"\` for a one-shot ring animation.
Not intended for use with \`gradient\` — the two features target
conflicting rendering modes. | |
|
|
32
|
+
|
|
33
|
+
### Methods
|
|
34
|
+
|
|
35
|
+
| Name | Privacy | Description | Parameters | Return | Inherited From |
|
|
36
|
+
| ------ | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | --------- | ----------------- |
|
|
37
|
+
| `emit` | | Dispatches a type-safe CustomEvent with standardized configuration.

All events are configured with:
- bubbles: true (event propagates up the DOM tree)
- cancelable: false (event cannot be cancelled)
- composed: true (event crosses shadow DOM boundaries) | `type: K, detail: UnpackCustomEvent<CustomEventMap[K]>` | `boolean` | EventEmitterMixin |
|
|
31
38
|
|
|
32
39
|
### Events
|
|
33
40
|
|
|
@@ -37,20 +44,21 @@
|
|
|
37
44
|
|
|
38
45
|
### Attributes
|
|
39
46
|
|
|
40
|
-
| Name
|
|
41
|
-
|
|
|
42
|
-
| `size`
|
|
43
|
-
| `symbol`
|
|
44
|
-
| `gradient`
|
|
47
|
+
| Name | Field | Inherited From |
|
|
48
|
+
| ----------- | --------- | -------------- |
|
|
49
|
+
| `size` | size | |
|
|
50
|
+
| `symbol` | symbol | |
|
|
51
|
+
| `gradient` | gradient | |
|
|
52
|
+
| `emphasize` | emphasize | |
|
|
45
53
|
|
|
46
54
|
### CSS Properties
|
|
47
55
|
|
|
48
56
|
| Name | Default | Description |
|
|
49
57
|
| --------------------- | ------- | --------------------------------------------------------------------------------------------------- |
|
|
50
|
-
| `--
|
|
51
|
-
| `--
|
|
52
|
-
| `--
|
|
53
|
-
| `--
|
|
58
|
+
| `--icon-size` | | Icon size (overrides size default) |
|
|
59
|
+
| `--icon-stroke-width` | | SVG stroke width as a unitless number in viewBox units; scales visually with icon size (default: 2) |
|
|
60
|
+
| `--icon-fill` | | Icon fill color for filled icons (e.g., "currentColor") |
|
|
61
|
+
| `--icon-svg` | | SVG data URI for mask-based rendering |
|
|
54
62
|
|
|
55
63
|
<hr/>
|
|
56
64
|
|
|
@@ -18,22 +18,36 @@
|
|
|
18
18
|
|
|
19
19
|
### Fields
|
|
20
20
|
|
|
21
|
-
| Name
|
|
22
|
-
|
|
|
23
|
-
| `name`
|
|
24
|
-
| `type`
|
|
25
|
-
| `
|
|
26
|
-
| `size`
|
|
27
|
-
| `destructive`
|
|
28
|
-
| `disabled`
|
|
21
|
+
| Name | Privacy | Type | Default | Description | Inherited From |
|
|
22
|
+
| ------------------ | ------- | ---------------------------------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- |
|
|
23
|
+
| `name` | | `string \| undefined` | | Optional name for the button which can be used to identify the button in a callback. | |
|
|
24
|
+
| `type` | | `IconButtonType` | `'primary'` | Specifies the type of icon-button, controlling the visual style. | |
|
|
25
|
+
| `symbol` | | `string \| undefined` | | Lucide icon symbol. | |
|
|
26
|
+
| `size` | | `IconButtonSize` | `'md'` | Specifies the size of icon-button. | |
|
|
27
|
+
| `destructive` | | `boolean` | `false` | Specifies an icon-button will be used to take any destructive action overriding the
default color used for the icon-button type with the error color. | |
|
|
28
|
+
| `disabled` | | `boolean` | `false` | Disables the button, preventing interaction and indicating an inactive state. | |
|
|
29
|
+
| `tooltip` | | `string` | `''` | Tooltip text content. Set to empty string to remove the tooltip. | TooltipMixin |
|
|
30
|
+
| `tooltipPosition` | | `'top' \| 'bottom' \| 'left' \| 'right'` | `'top'` | Position relative to the host element. Auto-flips when constrained by the viewport. | TooltipMixin |
|
|
31
|
+
| `tooltipDelay` | | `number` | `300` | Show delay in milliseconds (hover trigger only). | TooltipMixin |
|
|
32
|
+
| `tooltipOffset` | | `TooltipOffset \| null` | `null` | Gap between host and tooltip (sm=4px, md=8px, lg=12px, xl=16px). | TooltipMixin |
|
|
33
|
+
| `tooltipNoArrow` | | `boolean` | `false` | Hide the arrow pseudo-element. | TooltipMixin |
|
|
34
|
+
| `tooltipTrigger` | | `string` | `'hover focus'` | Space-separated trigger types: 'hover', 'focus', 'click'. | TooltipMixin |
|
|
35
|
+
| `_onMouseLeave` | private | | | | TooltipMixin |
|
|
36
|
+
| `_onFocusIn` | private | | | | TooltipMixin |
|
|
37
|
+
| `_onFocusOut` | private | | | | TooltipMixin |
|
|
38
|
+
| `_onClick` | private | | | | TooltipMixin |
|
|
39
|
+
| `_onNativeToggle` | private | | | | TooltipMixin |
|
|
40
|
+
| `_onKeyDown` | private | | | | TooltipMixin |
|
|
41
|
+
| `_onDocumentClick` | private | `((e: MouseEvent) => void) \| null` | `null` | | TooltipMixin |
|
|
29
42
|
|
|
30
43
|
### Methods
|
|
31
44
|
|
|
32
|
-
| Name | Privacy | Description
|
|
33
|
-
| --------------------- | ------- |
|
|
34
|
-
| `_relayTooltipAttrs` | private |
|
|
35
|
-
| `_handleClick` | private |
|
|
36
|
-
| `_buildButtonClasses` | private |
|
|
45
|
+
| Name | Privacy | Description | Parameters | Return | Inherited From |
|
|
46
|
+
| --------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | --------- | ----------------- |
|
|
47
|
+
| `_relayTooltipAttrs` | private | | | `void` | |
|
|
48
|
+
| `_handleClick` | private | | | `void` | |
|
|
49
|
+
| `_buildButtonClasses` | private | | | `string` | |
|
|
50
|
+
| `emit` | | Dispatches a type-safe CustomEvent with standardized configuration.

All events are configured with:
- bubbles: true (event propagates up the DOM tree)
- cancelable: false (event cannot be cancelled)
- composed: true (event crosses shadow DOM boundaries) | `type: K, detail: UnpackCustomEvent<CustomEventMap[K]>` | `boolean` | EventEmitterMixin |
|
|
37
51
|
|
|
38
52
|
### Events
|
|
39
53
|
|
|
@@ -44,14 +58,25 @@
|
|
|
44
58
|
|
|
45
59
|
### Attributes
|
|
46
60
|
|
|
47
|
-
| Name
|
|
48
|
-
|
|
|
49
|
-
| `name`
|
|
50
|
-
| `type`
|
|
51
|
-
| `
|
|
52
|
-
| `size`
|
|
53
|
-
| `destructive`
|
|
54
|
-
| `disabled`
|
|
61
|
+
| Name | Field | Inherited From |
|
|
62
|
+
| ------------------ | --------------- | -------------- |
|
|
63
|
+
| `name` | name | |
|
|
64
|
+
| `type` | type | |
|
|
65
|
+
| `symbol` | symbol | |
|
|
66
|
+
| `size` | size | |
|
|
67
|
+
| `destructive` | destructive | |
|
|
68
|
+
| `disabled` | disabled | |
|
|
69
|
+
| `tooltip` | tooltip | TooltipMixin |
|
|
70
|
+
| `tooltipPosition` | tooltipPosition | TooltipMixin |
|
|
71
|
+
| `tooltipDelay` | tooltipDelay | TooltipMixin |
|
|
72
|
+
| `tooltipOffset` | tooltipOffset | TooltipMixin |
|
|
73
|
+
| `tooltipNoArrow` | tooltipNoArrow | TooltipMixin |
|
|
74
|
+
| `tooltipTrigger` | tooltipTrigger | TooltipMixin |
|
|
75
|
+
| `tooltip-position` | tooltipPosition | TooltipMixin |
|
|
76
|
+
| `tooltip-delay` | tooltipDelay | TooltipMixin |
|
|
77
|
+
| `tooltip-offset` | tooltipOffset | TooltipMixin |
|
|
78
|
+
| `tooltip-no-arrow` | tooltipNoArrow | TooltipMixin |
|
|
79
|
+
| `tooltip-trigger` | tooltipTrigger | TooltipMixin |
|
|
55
80
|
|
|
56
81
|
<hr/>
|
|
57
82
|
|
|
@@ -16,12 +16,51 @@
|
|
|
16
16
|
| `EventEmitterMixin` | /src/util/EventEmitterMixin.js | |
|
|
17
17
|
| `ReadyMixin` | /src/util/ReadyMixin.js | |
|
|
18
18
|
|
|
19
|
+
### Fields
|
|
20
|
+
|
|
21
|
+
| Name | Privacy | Type | Default | Description | Inherited From |
|
|
22
|
+
| ------------------------- | ------- | -------------------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------- | -------------- |
|
|
23
|
+
| `color` | | `ProgressColors` | `'primary'` | Color theme of the progress indicator.
Supports: black, white, primary, teal, gray, purple, rose, error, warning, success | ProgressMixin |
|
|
24
|
+
| `thickness` | | `number \| undefined` | | Stroke width of the progress indicator. | ProgressMixin |
|
|
25
|
+
| `_progress` | private | `number` | `0` | | ProgressMixin |
|
|
26
|
+
| `progress` | | | | Progress value for determinate variant. Clamped to 0–100. | ProgressMixin |
|
|
27
|
+
| `label` | | `string \| undefined` | | Optional label text to display with the progress indicator. | ProgressMixin |
|
|
28
|
+
| `initialAnimation` | | `boolean` | `true` | Whether to animate progress from 0 to target value when component first becomes visible. | ProgressMixin |
|
|
29
|
+
| `ariaLabel` | | `string \| null` | `null` | Optional aria-label attribute for screen readers.
Describes what the progress indicator represents. | ProgressMixin |
|
|
30
|
+
| `ariaLabelledBy` | | `string \| null` | `null` | Optional aria-labelledby attribute for screen readers.
References the ID of an element that labels the progress indicator. | ProgressMixin |
|
|
31
|
+
| `ariaValueText` | | `string \| null` | `null` | Optional aria-valuetext attribute for screen readers.
Provides human-readable text alternative for progress value. | ProgressMixin |
|
|
32
|
+
| `completionAnnouncement` | | `string \| undefined` | | Optional message to announce to screen readers when progress reaches 100%.
If not provided, no announcement will be made on completion. | ProgressMixin |
|
|
33
|
+
| `_isAnimationInitialized` | private | `boolean` | `false` | | ProgressMixin |
|
|
34
|
+
| `_intersectionObserver` | private | `IntersectionObserver \| undefined` | | | ProgressMixin |
|
|
35
|
+
| `_hasCompletedAt100` | private | `boolean` | `false` | | ProgressMixin |
|
|
36
|
+
| `_hostTag` | private | `'btu-linear-progress' \| 'btu-circular-progress'` | | | ProgressMixin |
|
|
37
|
+
|
|
38
|
+
### Methods
|
|
39
|
+
|
|
40
|
+
| Name | Privacy | Description | Parameters | Return | Inherited From |
|
|
41
|
+
| ------ | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | --------- | ----------------- |
|
|
42
|
+
| `emit` | | Dispatches a type-safe CustomEvent with standardized configuration.

All events are configured with:
- bubbles: true (event propagates up the DOM tree)
- cancelable: false (event cannot be cancelled)
- composed: true (event crosses shadow DOM boundaries) | `type: K, detail: UnpackCustomEvent<CustomEventMap[K]>` | `boolean` | EventEmitterMixin |
|
|
43
|
+
|
|
19
44
|
### Events
|
|
20
45
|
|
|
21
|
-
| Name
|
|
22
|
-
|
|
|
23
|
-
| `btu-progress-ready` | `CustomEvent` | Fired after first render and initialization | |
|
|
24
|
-
| `btu-progress-complete` | `CustomEvent` | Fired when progress reaches 100 | |
|
|
46
|
+
| Name | Type | Description | Inherited From |
|
|
47
|
+
| ------------------------------ | ------------- | ------------------------------------------- | -------------- |
|
|
48
|
+
| `btu-linear-progress-ready` | `CustomEvent` | Fired after first render and initialization | |
|
|
49
|
+
| `btu-linear-progress-complete` | `CustomEvent` | Fired when progress reaches 100 | |
|
|
50
|
+
|
|
51
|
+
### Attributes
|
|
52
|
+
|
|
53
|
+
| Name | Field | Inherited From |
|
|
54
|
+
| ------------------------- | ---------------------- | -------------- |
|
|
55
|
+
| `color` | color | ProgressMixin |
|
|
56
|
+
| `thickness` | thickness | ProgressMixin |
|
|
57
|
+
| `progress` | progress | ProgressMixin |
|
|
58
|
+
| `label` | label | ProgressMixin |
|
|
59
|
+
| `initial-animation` | initialAnimation | ProgressMixin |
|
|
60
|
+
| `aria-label` | ariaLabel | ProgressMixin |
|
|
61
|
+
| `aria-labelledby` | ariaLabelledBy | ProgressMixin |
|
|
62
|
+
| `aria-valuetext` | ariaValueText | ProgressMixin |
|
|
63
|
+
| `completion-announcement` | completionAnnouncement | ProgressMixin |
|
|
25
64
|
|
|
26
65
|
### CSS Properties
|
|
27
66
|
|
|
@@ -38,16 +38,17 @@
|
|
|
38
38
|
|
|
39
39
|
### Methods
|
|
40
40
|
|
|
41
|
-
| Name | Privacy | Description
|
|
42
|
-
| -------------------------- | ------- |
|
|
43
|
-
| `_setupSlots` | private |
|
|
44
|
-
| `_goToFirstPage` | private |
|
|
45
|
-
| `_goToPreviousPage` | private |
|
|
46
|
-
| `_goToNextPage` | private |
|
|
47
|
-
| `_goToLastPage` | private |
|
|
48
|
-
| `_manageBoundaryFocus` | private |
|
|
49
|
-
| `_onBuiltinPageSizeSelect` | private |
|
|
50
|
-
| `_onBuiltinJumperSelect` | private |
|
|
41
|
+
| Name | Privacy | Description | Parameters | Return | Inherited From |
|
|
42
|
+
| -------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | --------- | ----------------- |
|
|
43
|
+
| `_setupSlots` | private | | | `void` | |
|
|
44
|
+
| `_goToFirstPage` | private | | `e: Event` | `void` | |
|
|
45
|
+
| `_goToPreviousPage` | private | | `e: Event` | `void` | |
|
|
46
|
+
| `_goToNextPage` | private | | `e: Event` | `void` | |
|
|
47
|
+
| `_goToLastPage` | private | | `e: Event` | `void` | |
|
|
48
|
+
| `_manageBoundaryFocus` | private | | `clickedButton: IconButton` | `void` | |
|
|
49
|
+
| `_onBuiltinPageSizeSelect` | private | | `e: Event` | `void` | |
|
|
50
|
+
| `_onBuiltinJumperSelect` | private | | `e: Event` | `void` | |
|
|
51
|
+
| `emit` | | Dispatches a type-safe CustomEvent with standardized configuration.

All events are configured with:
- bubbles: true (event propagates up the DOM tree)
- cancelable: false (event cannot be cancelled)
- composed: true (event crosses shadow DOM boundaries) | `type: K, detail: UnpackCustomEvent<CustomEventMap[K]>` | `boolean` | EventEmitterMixin |
|
|
51
52
|
|
|
52
53
|
### Events
|
|
53
54
|
|