@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
package/dist/storybook/assets/{IconButton.stories-KjN28hfc.js → IconButton.stories-eAU6vNiX.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as p,x as e}from"./iframe-
|
|
1
|
+
import{g as p,x as e}from"./iframe-D5Uwm8Zd.js";import{o as b}from"./if-defined-C1_PRAyA.js";import{L as d}from"./LucideDynamicLoader-jmdq8YDM.js";import"./preload-helper-PPVm8Dsz.js";const{events:u,args:y,argTypes:o}=p("btu-icon-button"),x={title:"Components/Icon Button",component:"btu-icon-button",tags:["autodocs"],parameters:{docs:{subtitle:"Combines button styles with the icon component along with an opinionated API",description:{component:`
|
|
2
2
|
<h3>When to use:</h3>
|
|
3
3
|
<ul>
|
|
4
4
|
<li>For actions in compact or space-constrained interfaces (toolbars, tables, cards)</li>
|
|
@@ -15,11 +15,11 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
15
15
|
|
|
16
16
|
<h3>CSS Customization:</h3>
|
|
17
17
|
<p>Icons are powered by the <a href="?path=/docs/components-icon--docs">Icon component</a>. and the button styles are from the <a href="?path=/docs/css-plugins-button--docs">Button plugin</a>. Visit their docs for all available CSS property overrides.</p>
|
|
18
|
-
`}},actions:{handles:u},controls:{expanded:!0}},args:{...y,
|
|
18
|
+
`}},actions:{handles:u},controls:{expanded:!0}},args:{...y,symbol:"pencil",type:"primary",size:"md",destructive:!1,tooltip:"Edit item"},argTypes:{...o,tooltip:{...o.tooltip,control:{type:"text"},description:"Tooltip text shown on hover (via TooltipMixin)",table:{category:"Tooltip"}},"tooltip-position":{...o["tooltip-position"],control:{type:"select"},options:["top","bottom","left","right"],description:"Tooltip placement",table:{category:"Tooltip"}},symbol:{...o.symbol,control:{type:"text"},description:'<a href="https://lucide.dev/icons/" target="_blank">Lucide</a> icon name. Note that only icons available in Lucide v'+d+" are supported."},size:{...o.size,control:{type:"select"},options:["sm","md","lg"]},type:{...o.type,control:{type:"select"},options:["primary","primary-clear","primary-stroke","secondary","secondary-clear","secondary-stroke","tertiary","tertiary-clear","tertiary-stroke"]}},render:t=>e`
|
|
19
19
|
<btu-icon-button
|
|
20
|
-
|
|
20
|
+
symbol="${t.symbol??"circle-dashed"}"
|
|
21
21
|
type="${t.type??"primary"}"
|
|
22
|
-
size="${t.size??"
|
|
22
|
+
size="${t.size??"md"}"
|
|
23
23
|
aria-label="Edit"
|
|
24
24
|
name=${b(t.name||void 0)}
|
|
25
25
|
tooltip=${b(t.tooltip||void 0)}
|
|
@@ -29,46 +29,41 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
29
29
|
></btu-icon-button>
|
|
30
30
|
`},n={parameters:{docs:{description:{story:"Default icon button with primary type. Always pair with an `aria-label` or `tooltip` for accessibility."}}}},i={render:()=>e`
|
|
31
31
|
<div style="display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;">
|
|
32
|
-
<btu-icon-button
|
|
32
|
+
<btu-icon-button symbol="pencil" type="primary" tooltip="primary" aria-label="primary"></btu-icon-button>
|
|
33
33
|
<btu-icon-button
|
|
34
|
-
|
|
34
|
+
symbol="pencil"
|
|
35
35
|
type="primary-clear"
|
|
36
36
|
tooltip="primary-clear"
|
|
37
37
|
aria-label="primary-clear"
|
|
38
38
|
></btu-icon-button>
|
|
39
39
|
<btu-icon-button
|
|
40
|
-
|
|
40
|
+
symbol="pencil"
|
|
41
41
|
type="primary-stroke"
|
|
42
42
|
tooltip="primary-stroke"
|
|
43
43
|
aria-label="primary-stroke"
|
|
44
44
|
></btu-icon-button>
|
|
45
|
+
<btu-icon-button symbol="pencil" type="secondary" tooltip="secondary" aria-label="secondary"></btu-icon-button>
|
|
45
46
|
<btu-icon-button
|
|
46
|
-
|
|
47
|
-
type="secondary"
|
|
48
|
-
tooltip="secondary"
|
|
49
|
-
aria-label="secondary"
|
|
50
|
-
></btu-icon-button>
|
|
51
|
-
<btu-icon-button
|
|
52
|
-
icon-symbol="pencil"
|
|
47
|
+
symbol="pencil"
|
|
53
48
|
type="secondary-clear"
|
|
54
49
|
tooltip="secondary-clear"
|
|
55
50
|
aria-label="secondary-clear"
|
|
56
51
|
></btu-icon-button>
|
|
57
52
|
<btu-icon-button
|
|
58
|
-
|
|
53
|
+
symbol="pencil"
|
|
59
54
|
type="secondary-stroke"
|
|
60
55
|
tooltip="secondary-stroke"
|
|
61
56
|
aria-label="secondary-stroke"
|
|
62
57
|
></btu-icon-button>
|
|
63
|
-
<btu-icon-button
|
|
58
|
+
<btu-icon-button symbol="pencil" type="tertiary" tooltip="tertiary" aria-label="tertiary"></btu-icon-button>
|
|
64
59
|
<btu-icon-button
|
|
65
|
-
|
|
60
|
+
symbol="pencil"
|
|
66
61
|
type="tertiary-clear"
|
|
67
62
|
tooltip="tertiary-clear"
|
|
68
63
|
aria-label="tertiary-clear"
|
|
69
64
|
></btu-icon-button>
|
|
70
65
|
<btu-icon-button
|
|
71
|
-
|
|
66
|
+
symbol="pencil"
|
|
72
67
|
type="tertiary-stroke"
|
|
73
68
|
tooltip="tertiary-stroke"
|
|
74
69
|
aria-label="tertiary-stroke"
|
|
@@ -76,76 +71,71 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
76
71
|
</div>
|
|
77
72
|
`,parameters:{docs:{description:{story:"All available types. Solid variants have a filled background; `-clear` removes the fill; `-stroke` adds an outline."}}}},a={render:()=>e`
|
|
78
73
|
<div style="display: flex; gap: 1rem; align-items: center;">
|
|
79
|
-
<btu-icon-button
|
|
80
|
-
<btu-icon-button
|
|
81
|
-
<btu-icon-button
|
|
74
|
+
<btu-icon-button symbol="pencil" size="sm" tooltip="small" aria-label="small"></btu-icon-button>
|
|
75
|
+
<btu-icon-button symbol="pencil" size="md" tooltip="medium" aria-label="medium"></btu-icon-button>
|
|
76
|
+
<btu-icon-button symbol="pencil" size="lg" tooltip="large" aria-label="large"></btu-icon-button>
|
|
82
77
|
</div>
|
|
83
|
-
`,parameters:{docs:{description:{story:"Available in three sizes: `
|
|
78
|
+
`,parameters:{docs:{description:{story:"Available in three sizes: `sm`, `md` (default), and `lg`."}}}},r={render:()=>e`
|
|
84
79
|
<div style="display: flex; gap: 1rem; align-items: center;">
|
|
85
80
|
<btu-icon-button
|
|
86
|
-
|
|
81
|
+
symbol="trash-2"
|
|
87
82
|
type="primary"
|
|
88
83
|
destructive
|
|
89
84
|
tooltip="Delete (primary)"
|
|
90
85
|
aria-label="Delete"
|
|
91
86
|
></btu-icon-button>
|
|
92
87
|
<btu-icon-button
|
|
93
|
-
|
|
88
|
+
symbol="trash-2"
|
|
94
89
|
type="primary-clear"
|
|
95
90
|
destructive
|
|
96
91
|
tooltip="Delete (primary-clear)"
|
|
97
92
|
aria-label="Delete"
|
|
98
93
|
></btu-icon-button>
|
|
99
94
|
<btu-icon-button
|
|
100
|
-
|
|
95
|
+
symbol="trash-2"
|
|
101
96
|
type="secondary"
|
|
102
97
|
destructive
|
|
103
98
|
tooltip="Delete (secondary)"
|
|
104
99
|
aria-label="Delete"
|
|
105
100
|
></btu-icon-button>
|
|
106
101
|
<btu-icon-button
|
|
107
|
-
|
|
102
|
+
symbol="trash-2"
|
|
108
103
|
type="secondary-stroke"
|
|
109
104
|
destructive
|
|
110
105
|
tooltip="Delete (secondary-stroke)"
|
|
111
106
|
aria-label="Delete"
|
|
112
107
|
></btu-icon-button>
|
|
113
108
|
</div>
|
|
114
|
-
`,parameters:{docs:{description:{story:"The `destructive` flag overrides the type color with the error color. Use for actions that cannot be undone."}}}},
|
|
109
|
+
`,parameters:{docs:{description:{story:"The `destructive` flag overrides the type color with the error color. Use for actions that cannot be undone."}}}},s={render:()=>e`
|
|
115
110
|
<div style="display: flex; gap: 2rem; align-items: center; padding: 3rem;">
|
|
111
|
+
<btu-icon-button symbol="pencil" tooltip="Edit item" tooltip-position="top" aria-label="Edit"></btu-icon-button>
|
|
116
112
|
<btu-icon-button
|
|
117
|
-
|
|
118
|
-
tooltip="Edit item"
|
|
119
|
-
tooltip-position="top"
|
|
120
|
-
aria-label="Edit"
|
|
121
|
-
></btu-icon-button>
|
|
122
|
-
<btu-icon-button
|
|
123
|
-
icon-symbol="copy"
|
|
113
|
+
symbol="copy"
|
|
124
114
|
tooltip="Copy to clipboard"
|
|
125
115
|
tooltip-position="bottom"
|
|
126
116
|
aria-label="Copy"
|
|
127
117
|
></btu-icon-button>
|
|
128
118
|
<btu-icon-button
|
|
129
|
-
|
|
119
|
+
symbol="share-2"
|
|
130
120
|
tooltip="Share"
|
|
131
121
|
tooltip-position="left"
|
|
132
122
|
aria-label="Share"
|
|
133
123
|
type="secondary"
|
|
134
124
|
></btu-icon-button>
|
|
135
125
|
<btu-icon-button
|
|
136
|
-
|
|
126
|
+
symbol="download"
|
|
137
127
|
tooltip="Download"
|
|
138
128
|
tooltip-position="right"
|
|
139
129
|
aria-label="Download"
|
|
140
130
|
type="secondary"
|
|
141
131
|
></btu-icon-button>
|
|
142
132
|
</div>
|
|
143
|
-
`,parameters:{docs:{description:{story:"Tooltip position can be set with `tooltip-position`. Defaults to `top`. Hover over each button to see the tooltip."}}}},
|
|
133
|
+
`,parameters:{docs:{description:{story:"Tooltip position can be set with `tooltip-position`. Defaults to `top`. Hover over each button to see the tooltip."}}}},l={render:()=>e`
|
|
144
134
|
<div style="display: flex; gap: 0.5rem; align-items: center;">
|
|
145
|
-
<btu-icon-button
|
|
146
|
-
<btu-icon-button
|
|
135
|
+
<btu-icon-button symbol="pencil" type="secondary-clear" tooltip="Edit" aria-label="Edit"></btu-icon-button>
|
|
136
|
+
<btu-icon-button symbol="copy" type="secondary-clear" tooltip="Copy" aria-label="Copy"></btu-icon-button>
|
|
147
137
|
<btu-icon-button
|
|
148
|
-
|
|
138
|
+
symbol="trash-2"
|
|
149
139
|
type="secondary-clear"
|
|
150
140
|
destructive
|
|
151
141
|
tooltip="Delete"
|
|
@@ -158,22 +148,22 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
158
148
|
<strong>Custom border radius:</strong>
|
|
159
149
|
<div class="flex items-center gap-3">
|
|
160
150
|
<btu-icon-button
|
|
161
|
-
|
|
151
|
+
symbol="circle-play"
|
|
162
152
|
type="primary"
|
|
163
153
|
style="--button-border-radius: 50%"
|
|
164
154
|
tooltip="Play"
|
|
165
155
|
aria-label="Play"
|
|
166
156
|
></btu-icon-button>
|
|
167
157
|
<btu-icon-button
|
|
168
|
-
|
|
158
|
+
symbol="circle-play"
|
|
169
159
|
type="secondary"
|
|
170
|
-
size="
|
|
160
|
+
size="lg"
|
|
171
161
|
style="--button-border-radius: 50%"
|
|
172
162
|
tooltip="Play"
|
|
173
163
|
aria-label="Play"
|
|
174
164
|
></btu-icon-button>
|
|
175
165
|
<btu-icon-button
|
|
176
|
-
|
|
166
|
+
symbol="settings"
|
|
177
167
|
type="tertiary-clear"
|
|
178
168
|
style="--button-border-radius: 0"
|
|
179
169
|
tooltip="Settings"
|
|
@@ -189,45 +179,45 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
189
179
|
style="width: fit-content"
|
|
190
180
|
>
|
|
191
181
|
<btu-icon-button
|
|
192
|
-
|
|
182
|
+
symbol="bold"
|
|
193
183
|
type="secondary-clear"
|
|
194
|
-
size="
|
|
184
|
+
size="sm"
|
|
195
185
|
aria-label="Bold"
|
|
196
186
|
style="--button-border-radius: 0.25rem"
|
|
197
187
|
></btu-icon-button>
|
|
198
188
|
<btu-icon-button
|
|
199
|
-
|
|
189
|
+
symbol="italic"
|
|
200
190
|
type="secondary-clear"
|
|
201
|
-
size="
|
|
191
|
+
size="sm"
|
|
202
192
|
aria-label="Italic"
|
|
203
193
|
style="--button-border-radius: 0.25rem"
|
|
204
194
|
></btu-icon-button>
|
|
205
195
|
<btu-icon-button
|
|
206
|
-
|
|
196
|
+
symbol="underline"
|
|
207
197
|
type="secondary-clear"
|
|
208
|
-
size="
|
|
198
|
+
size="sm"
|
|
209
199
|
aria-label="Underline"
|
|
210
200
|
style="--button-border-radius: 0.25rem"
|
|
211
201
|
></btu-icon-button>
|
|
212
202
|
<div style="width: 1px; height: 1.25rem; background: oklch(var(--btu-theme-gray-200))"></div>
|
|
213
203
|
<btu-icon-button
|
|
214
|
-
|
|
204
|
+
symbol="align-left"
|
|
215
205
|
type="secondary-clear"
|
|
216
|
-
size="
|
|
206
|
+
size="sm"
|
|
217
207
|
aria-label="Align left"
|
|
218
208
|
style="--button-border-radius: 0.25rem"
|
|
219
209
|
></btu-icon-button>
|
|
220
210
|
<btu-icon-button
|
|
221
|
-
|
|
211
|
+
symbol="align-center"
|
|
222
212
|
type="secondary-clear"
|
|
223
|
-
size="
|
|
213
|
+
size="sm"
|
|
224
214
|
aria-label="Align center"
|
|
225
215
|
style="--button-border-radius: 0.25rem"
|
|
226
216
|
></btu-icon-button>
|
|
227
217
|
<btu-icon-button
|
|
228
|
-
|
|
218
|
+
symbol="align-right"
|
|
229
219
|
type="secondary-clear"
|
|
230
|
-
size="
|
|
220
|
+
size="sm"
|
|
231
221
|
aria-label="Align right"
|
|
232
222
|
style="--button-border-radius: 0.25rem"
|
|
233
223
|
></btu-icon-button>
|
|
@@ -238,17 +228,17 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
238
228
|
<strong>Destructive confirmation pair:</strong>
|
|
239
229
|
<div class="flex items-center gap-2">
|
|
240
230
|
<btu-icon-button
|
|
241
|
-
|
|
231
|
+
symbol="x"
|
|
242
232
|
type="secondary-clear"
|
|
243
|
-
size="
|
|
233
|
+
size="sm"
|
|
244
234
|
tooltip="Cancel"
|
|
245
235
|
aria-label="Cancel"
|
|
246
236
|
></btu-icon-button>
|
|
247
237
|
<btu-icon-button
|
|
248
|
-
|
|
238
|
+
symbol="trash-2"
|
|
249
239
|
type="primary"
|
|
250
240
|
destructive
|
|
251
|
-
size="
|
|
241
|
+
size="sm"
|
|
252
242
|
tooltip="Confirm delete"
|
|
253
243
|
aria-label="Confirm delete"
|
|
254
244
|
></btu-icon-button>
|
|
@@ -262,23 +252,23 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
262
252
|
<span class="text-sm font-semibold text-gray-900">Recent Activity</span>
|
|
263
253
|
<div class="flex items-center gap-1">
|
|
264
254
|
<btu-icon-button
|
|
265
|
-
|
|
255
|
+
symbol="refresh-cw"
|
|
266
256
|
type="secondary-clear"
|
|
267
|
-
size="
|
|
257
|
+
size="sm"
|
|
268
258
|
tooltip="Refresh"
|
|
269
259
|
aria-label="Refresh"
|
|
270
260
|
></btu-icon-button>
|
|
271
261
|
<btu-icon-button
|
|
272
|
-
|
|
262
|
+
symbol="maximize-2"
|
|
273
263
|
type="secondary-clear"
|
|
274
|
-
size="
|
|
264
|
+
size="sm"
|
|
275
265
|
tooltip="Expand"
|
|
276
266
|
aria-label="Expand"
|
|
277
267
|
></btu-icon-button>
|
|
278
268
|
<btu-icon-button
|
|
279
|
-
|
|
269
|
+
symbol="x"
|
|
280
270
|
type="secondary-clear"
|
|
281
|
-
size="
|
|
271
|
+
size="sm"
|
|
282
272
|
tooltip="Close"
|
|
283
273
|
aria-label="Close"
|
|
284
274
|
></btu-icon-button>
|
|
@@ -293,7 +283,7 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
293
283
|
<div class="flex items-end gap-4">
|
|
294
284
|
<div class="flex flex-col items-center gap-1">
|
|
295
285
|
<btu-icon-button
|
|
296
|
-
|
|
286
|
+
symbol="bookmark"
|
|
297
287
|
type="primary"
|
|
298
288
|
aria-label="Bookmark"
|
|
299
289
|
aria-pressed="true"
|
|
@@ -303,7 +293,7 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
303
293
|
</div>
|
|
304
294
|
<div class="flex flex-col items-center gap-1">
|
|
305
295
|
<btu-icon-button
|
|
306
|
-
|
|
296
|
+
symbol="bookmark"
|
|
307
297
|
type="secondary-clear"
|
|
308
298
|
aria-label="Bookmark"
|
|
309
299
|
aria-pressed="false"
|
|
@@ -313,7 +303,7 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
313
303
|
</div>
|
|
314
304
|
<div class="flex flex-col items-center gap-1">
|
|
315
305
|
<btu-icon-button
|
|
316
|
-
|
|
306
|
+
symbol="bell"
|
|
317
307
|
type="primary"
|
|
318
308
|
aria-label="Notifications on"
|
|
319
309
|
aria-pressed="true"
|
|
@@ -323,7 +313,7 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
323
313
|
</div>
|
|
324
314
|
<div class="flex flex-col items-center gap-1">
|
|
325
315
|
<btu-icon-button
|
|
326
|
-
|
|
316
|
+
symbol="bell-off"
|
|
327
317
|
type="secondary-clear"
|
|
328
318
|
aria-label="Notifications off"
|
|
329
319
|
aria-pressed="false"
|
|
@@ -338,21 +328,21 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
338
328
|
<strong>Size comparison across types:</strong>
|
|
339
329
|
<div class="flex items-end gap-4">
|
|
340
330
|
<div class="flex flex-col items-center gap-1">
|
|
341
|
-
<btu-icon-button
|
|
331
|
+
<btu-icon-button symbol="plus" type="primary" size="sm" aria-label="Add"></btu-icon-button>
|
|
342
332
|
<span class="text-xs text-gray-400">sm</span>
|
|
343
333
|
</div>
|
|
344
334
|
<div class="flex flex-col items-center gap-1">
|
|
345
|
-
<btu-icon-button
|
|
335
|
+
<btu-icon-button symbol="plus" type="primary-stroke" size="md" aria-label="Add"></btu-icon-button>
|
|
346
336
|
<span class="text-xs text-gray-400">md</span>
|
|
347
337
|
</div>
|
|
348
338
|
<div class="flex flex-col items-center gap-1">
|
|
349
|
-
<btu-icon-button
|
|
339
|
+
<btu-icon-button symbol="plus" type="tertiary" size="lg" aria-label="Add"></btu-icon-button>
|
|
350
340
|
<span class="text-xs text-gray-400">lg</span>
|
|
351
341
|
</div>
|
|
352
342
|
</div>
|
|
353
343
|
</div>
|
|
354
344
|
</div>
|
|
355
|
-
`,parameters:{docs:{description:{story:"\n- **Custom border radius** via `--button-border-radius` CSS property — use `50%` for circular buttons or `0` for sharp corners.\n- **Toolbar pattern** uses `secondary-clear` with `
|
|
345
|
+
`,parameters:{docs:{description:{story:"\n- **Custom border radius** via `--button-border-radius` CSS property — use `50%` for circular buttons or `0` for sharp corners.\n- **Toolbar pattern** uses `secondary-clear` with `sm` size and reduced border-radius for a compact grouped layout.\n- **Destructive confirmation pair** combines a cancel action with a destructive confirm for inline delete flows.\n- **Card header actions** show a common pattern of icon buttons in a card/panel header for refresh, expand, and close.\n- **Toggle states** use `aria-pressed` to indicate on/off state — the button plugin provides pressed styling automatically.\n- **Size comparison** shows all three sizes side-by-side across different types for visual reference."}}}};n.parameters={...n.parameters,docs:{...n.parameters?.docs,source:{originalSource:`{
|
|
356
346
|
parameters: {
|
|
357
347
|
docs: {
|
|
358
348
|
description: {
|
|
@@ -363,46 +353,41 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
363
353
|
}`,...n.parameters?.docs?.source}}};i.parameters={...i.parameters,docs:{...i.parameters?.docs,source:{originalSource:`{
|
|
364
354
|
render: () => html\`
|
|
365
355
|
<div style="display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;">
|
|
366
|
-
<btu-icon-button
|
|
356
|
+
<btu-icon-button symbol="pencil" type="primary" tooltip="primary" aria-label="primary"></btu-icon-button>
|
|
367
357
|
<btu-icon-button
|
|
368
|
-
|
|
358
|
+
symbol="pencil"
|
|
369
359
|
type="primary-clear"
|
|
370
360
|
tooltip="primary-clear"
|
|
371
361
|
aria-label="primary-clear"
|
|
372
362
|
></btu-icon-button>
|
|
373
363
|
<btu-icon-button
|
|
374
|
-
|
|
364
|
+
symbol="pencil"
|
|
375
365
|
type="primary-stroke"
|
|
376
366
|
tooltip="primary-stroke"
|
|
377
367
|
aria-label="primary-stroke"
|
|
378
368
|
></btu-icon-button>
|
|
369
|
+
<btu-icon-button symbol="pencil" type="secondary" tooltip="secondary" aria-label="secondary"></btu-icon-button>
|
|
379
370
|
<btu-icon-button
|
|
380
|
-
|
|
381
|
-
type="secondary"
|
|
382
|
-
tooltip="secondary"
|
|
383
|
-
aria-label="secondary"
|
|
384
|
-
></btu-icon-button>
|
|
385
|
-
<btu-icon-button
|
|
386
|
-
icon-symbol="pencil"
|
|
371
|
+
symbol="pencil"
|
|
387
372
|
type="secondary-clear"
|
|
388
373
|
tooltip="secondary-clear"
|
|
389
374
|
aria-label="secondary-clear"
|
|
390
375
|
></btu-icon-button>
|
|
391
376
|
<btu-icon-button
|
|
392
|
-
|
|
377
|
+
symbol="pencil"
|
|
393
378
|
type="secondary-stroke"
|
|
394
379
|
tooltip="secondary-stroke"
|
|
395
380
|
aria-label="secondary-stroke"
|
|
396
381
|
></btu-icon-button>
|
|
397
|
-
<btu-icon-button
|
|
382
|
+
<btu-icon-button symbol="pencil" type="tertiary" tooltip="tertiary" aria-label="tertiary"></btu-icon-button>
|
|
398
383
|
<btu-icon-button
|
|
399
|
-
|
|
384
|
+
symbol="pencil"
|
|
400
385
|
type="tertiary-clear"
|
|
401
386
|
tooltip="tertiary-clear"
|
|
402
387
|
aria-label="tertiary-clear"
|
|
403
388
|
></btu-icon-button>
|
|
404
389
|
<btu-icon-button
|
|
405
|
-
|
|
390
|
+
symbol="pencil"
|
|
406
391
|
type="tertiary-stroke"
|
|
407
392
|
tooltip="tertiary-stroke"
|
|
408
393
|
aria-label="tertiary-stroke"
|
|
@@ -419,15 +404,15 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
419
404
|
}`,...i.parameters?.docs?.source}}};a.parameters={...a.parameters,docs:{...a.parameters?.docs,source:{originalSource:`{
|
|
420
405
|
render: () => html\`
|
|
421
406
|
<div style="display: flex; gap: 1rem; align-items: center;">
|
|
422
|
-
<btu-icon-button
|
|
423
|
-
<btu-icon-button
|
|
424
|
-
<btu-icon-button
|
|
407
|
+
<btu-icon-button symbol="pencil" size="sm" tooltip="small" aria-label="small"></btu-icon-button>
|
|
408
|
+
<btu-icon-button symbol="pencil" size="md" tooltip="medium" aria-label="medium"></btu-icon-button>
|
|
409
|
+
<btu-icon-button symbol="pencil" size="lg" tooltip="large" aria-label="large"></btu-icon-button>
|
|
425
410
|
</div>
|
|
426
411
|
\`,
|
|
427
412
|
parameters: {
|
|
428
413
|
docs: {
|
|
429
414
|
description: {
|
|
430
|
-
story: 'Available in three sizes: \`
|
|
415
|
+
story: 'Available in three sizes: \`sm\`, \`md\` (default), and \`lg\`.'
|
|
431
416
|
}
|
|
432
417
|
}
|
|
433
418
|
}
|
|
@@ -435,28 +420,28 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
435
420
|
render: () => html\`
|
|
436
421
|
<div style="display: flex; gap: 1rem; align-items: center;">
|
|
437
422
|
<btu-icon-button
|
|
438
|
-
|
|
423
|
+
symbol="trash-2"
|
|
439
424
|
type="primary"
|
|
440
425
|
destructive
|
|
441
426
|
tooltip="Delete (primary)"
|
|
442
427
|
aria-label="Delete"
|
|
443
428
|
></btu-icon-button>
|
|
444
429
|
<btu-icon-button
|
|
445
|
-
|
|
430
|
+
symbol="trash-2"
|
|
446
431
|
type="primary-clear"
|
|
447
432
|
destructive
|
|
448
433
|
tooltip="Delete (primary-clear)"
|
|
449
434
|
aria-label="Delete"
|
|
450
435
|
></btu-icon-button>
|
|
451
436
|
<btu-icon-button
|
|
452
|
-
|
|
437
|
+
symbol="trash-2"
|
|
453
438
|
type="secondary"
|
|
454
439
|
destructive
|
|
455
440
|
tooltip="Delete (secondary)"
|
|
456
441
|
aria-label="Delete"
|
|
457
442
|
></btu-icon-button>
|
|
458
443
|
<btu-icon-button
|
|
459
|
-
|
|
444
|
+
symbol="trash-2"
|
|
460
445
|
type="secondary-stroke"
|
|
461
446
|
destructive
|
|
462
447
|
tooltip="Delete (secondary-stroke)"
|
|
@@ -471,30 +456,25 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
471
456
|
}
|
|
472
457
|
}
|
|
473
458
|
}
|
|
474
|
-
}`,...r.parameters?.docs?.source}}};
|
|
459
|
+
}`,...r.parameters?.docs?.source}}};s.parameters={...s.parameters,docs:{...s.parameters?.docs,source:{originalSource:`{
|
|
475
460
|
render: () => html\`
|
|
476
461
|
<div style="display: flex; gap: 2rem; align-items: center; padding: 3rem;">
|
|
462
|
+
<btu-icon-button symbol="pencil" tooltip="Edit item" tooltip-position="top" aria-label="Edit"></btu-icon-button>
|
|
477
463
|
<btu-icon-button
|
|
478
|
-
|
|
479
|
-
tooltip="Edit item"
|
|
480
|
-
tooltip-position="top"
|
|
481
|
-
aria-label="Edit"
|
|
482
|
-
></btu-icon-button>
|
|
483
|
-
<btu-icon-button
|
|
484
|
-
icon-symbol="copy"
|
|
464
|
+
symbol="copy"
|
|
485
465
|
tooltip="Copy to clipboard"
|
|
486
466
|
tooltip-position="bottom"
|
|
487
467
|
aria-label="Copy"
|
|
488
468
|
></btu-icon-button>
|
|
489
469
|
<btu-icon-button
|
|
490
|
-
|
|
470
|
+
symbol="share-2"
|
|
491
471
|
tooltip="Share"
|
|
492
472
|
tooltip-position="left"
|
|
493
473
|
aria-label="Share"
|
|
494
474
|
type="secondary"
|
|
495
475
|
></btu-icon-button>
|
|
496
476
|
<btu-icon-button
|
|
497
|
-
|
|
477
|
+
symbol="download"
|
|
498
478
|
tooltip="Download"
|
|
499
479
|
tooltip-position="right"
|
|
500
480
|
aria-label="Download"
|
|
@@ -509,13 +489,13 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
509
489
|
}
|
|
510
490
|
}
|
|
511
491
|
}
|
|
512
|
-
}`,...
|
|
492
|
+
}`,...s.parameters?.docs?.source}}};l.parameters={...l.parameters,docs:{...l.parameters?.docs,source:{originalSource:`{
|
|
513
493
|
render: () => html\`
|
|
514
494
|
<div style="display: flex; gap: 0.5rem; align-items: center;">
|
|
515
|
-
<btu-icon-button
|
|
516
|
-
<btu-icon-button
|
|
495
|
+
<btu-icon-button symbol="pencil" type="secondary-clear" tooltip="Edit" aria-label="Edit"></btu-icon-button>
|
|
496
|
+
<btu-icon-button symbol="copy" type="secondary-clear" tooltip="Copy" aria-label="Copy"></btu-icon-button>
|
|
517
497
|
<btu-icon-button
|
|
518
|
-
|
|
498
|
+
symbol="trash-2"
|
|
519
499
|
type="secondary-clear"
|
|
520
500
|
destructive
|
|
521
501
|
tooltip="Delete"
|
|
@@ -530,29 +510,29 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
530
510
|
}
|
|
531
511
|
}
|
|
532
512
|
}
|
|
533
|
-
}`,...
|
|
513
|
+
}`,...l.parameters?.docs?.source}}};c.parameters={...c.parameters,docs:{...c.parameters?.docs,source:{originalSource:`{
|
|
534
514
|
render: () => html\`
|
|
535
515
|
<div class="flex flex-col gap-6">
|
|
536
516
|
<div class="flex flex-col gap-2">
|
|
537
517
|
<strong>Custom border radius:</strong>
|
|
538
518
|
<div class="flex items-center gap-3">
|
|
539
519
|
<btu-icon-button
|
|
540
|
-
|
|
520
|
+
symbol="circle-play"
|
|
541
521
|
type="primary"
|
|
542
522
|
style="--button-border-radius: 50%"
|
|
543
523
|
tooltip="Play"
|
|
544
524
|
aria-label="Play"
|
|
545
525
|
></btu-icon-button>
|
|
546
526
|
<btu-icon-button
|
|
547
|
-
|
|
527
|
+
symbol="circle-play"
|
|
548
528
|
type="secondary"
|
|
549
|
-
size="
|
|
529
|
+
size="lg"
|
|
550
530
|
style="--button-border-radius: 50%"
|
|
551
531
|
tooltip="Play"
|
|
552
532
|
aria-label="Play"
|
|
553
533
|
></btu-icon-button>
|
|
554
534
|
<btu-icon-button
|
|
555
|
-
|
|
535
|
+
symbol="settings"
|
|
556
536
|
type="tertiary-clear"
|
|
557
537
|
style="--button-border-radius: 0"
|
|
558
538
|
tooltip="Settings"
|
|
@@ -568,45 +548,45 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
568
548
|
style="width: fit-content"
|
|
569
549
|
>
|
|
570
550
|
<btu-icon-button
|
|
571
|
-
|
|
551
|
+
symbol="bold"
|
|
572
552
|
type="secondary-clear"
|
|
573
|
-
size="
|
|
553
|
+
size="sm"
|
|
574
554
|
aria-label="Bold"
|
|
575
555
|
style="--button-border-radius: 0.25rem"
|
|
576
556
|
></btu-icon-button>
|
|
577
557
|
<btu-icon-button
|
|
578
|
-
|
|
558
|
+
symbol="italic"
|
|
579
559
|
type="secondary-clear"
|
|
580
|
-
size="
|
|
560
|
+
size="sm"
|
|
581
561
|
aria-label="Italic"
|
|
582
562
|
style="--button-border-radius: 0.25rem"
|
|
583
563
|
></btu-icon-button>
|
|
584
564
|
<btu-icon-button
|
|
585
|
-
|
|
565
|
+
symbol="underline"
|
|
586
566
|
type="secondary-clear"
|
|
587
|
-
size="
|
|
567
|
+
size="sm"
|
|
588
568
|
aria-label="Underline"
|
|
589
569
|
style="--button-border-radius: 0.25rem"
|
|
590
570
|
></btu-icon-button>
|
|
591
571
|
<div style="width: 1px; height: 1.25rem; background: oklch(var(--btu-theme-gray-200))"></div>
|
|
592
572
|
<btu-icon-button
|
|
593
|
-
|
|
573
|
+
symbol="align-left"
|
|
594
574
|
type="secondary-clear"
|
|
595
|
-
size="
|
|
575
|
+
size="sm"
|
|
596
576
|
aria-label="Align left"
|
|
597
577
|
style="--button-border-radius: 0.25rem"
|
|
598
578
|
></btu-icon-button>
|
|
599
579
|
<btu-icon-button
|
|
600
|
-
|
|
580
|
+
symbol="align-center"
|
|
601
581
|
type="secondary-clear"
|
|
602
|
-
size="
|
|
582
|
+
size="sm"
|
|
603
583
|
aria-label="Align center"
|
|
604
584
|
style="--button-border-radius: 0.25rem"
|
|
605
585
|
></btu-icon-button>
|
|
606
586
|
<btu-icon-button
|
|
607
|
-
|
|
587
|
+
symbol="align-right"
|
|
608
588
|
type="secondary-clear"
|
|
609
|
-
size="
|
|
589
|
+
size="sm"
|
|
610
590
|
aria-label="Align right"
|
|
611
591
|
style="--button-border-radius: 0.25rem"
|
|
612
592
|
></btu-icon-button>
|
|
@@ -617,17 +597,17 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
617
597
|
<strong>Destructive confirmation pair:</strong>
|
|
618
598
|
<div class="flex items-center gap-2">
|
|
619
599
|
<btu-icon-button
|
|
620
|
-
|
|
600
|
+
symbol="x"
|
|
621
601
|
type="secondary-clear"
|
|
622
|
-
size="
|
|
602
|
+
size="sm"
|
|
623
603
|
tooltip="Cancel"
|
|
624
604
|
aria-label="Cancel"
|
|
625
605
|
></btu-icon-button>
|
|
626
606
|
<btu-icon-button
|
|
627
|
-
|
|
607
|
+
symbol="trash-2"
|
|
628
608
|
type="primary"
|
|
629
609
|
destructive
|
|
630
|
-
size="
|
|
610
|
+
size="sm"
|
|
631
611
|
tooltip="Confirm delete"
|
|
632
612
|
aria-label="Confirm delete"
|
|
633
613
|
></btu-icon-button>
|
|
@@ -641,23 +621,23 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
641
621
|
<span class="text-sm font-semibold text-gray-900">Recent Activity</span>
|
|
642
622
|
<div class="flex items-center gap-1">
|
|
643
623
|
<btu-icon-button
|
|
644
|
-
|
|
624
|
+
symbol="refresh-cw"
|
|
645
625
|
type="secondary-clear"
|
|
646
|
-
size="
|
|
626
|
+
size="sm"
|
|
647
627
|
tooltip="Refresh"
|
|
648
628
|
aria-label="Refresh"
|
|
649
629
|
></btu-icon-button>
|
|
650
630
|
<btu-icon-button
|
|
651
|
-
|
|
631
|
+
symbol="maximize-2"
|
|
652
632
|
type="secondary-clear"
|
|
653
|
-
size="
|
|
633
|
+
size="sm"
|
|
654
634
|
tooltip="Expand"
|
|
655
635
|
aria-label="Expand"
|
|
656
636
|
></btu-icon-button>
|
|
657
637
|
<btu-icon-button
|
|
658
|
-
|
|
638
|
+
symbol="x"
|
|
659
639
|
type="secondary-clear"
|
|
660
|
-
size="
|
|
640
|
+
size="sm"
|
|
661
641
|
tooltip="Close"
|
|
662
642
|
aria-label="Close"
|
|
663
643
|
></btu-icon-button>
|
|
@@ -672,7 +652,7 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
672
652
|
<div class="flex items-end gap-4">
|
|
673
653
|
<div class="flex flex-col items-center gap-1">
|
|
674
654
|
<btu-icon-button
|
|
675
|
-
|
|
655
|
+
symbol="bookmark"
|
|
676
656
|
type="primary"
|
|
677
657
|
aria-label="Bookmark"
|
|
678
658
|
aria-pressed="true"
|
|
@@ -682,7 +662,7 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
682
662
|
</div>
|
|
683
663
|
<div class="flex flex-col items-center gap-1">
|
|
684
664
|
<btu-icon-button
|
|
685
|
-
|
|
665
|
+
symbol="bookmark"
|
|
686
666
|
type="secondary-clear"
|
|
687
667
|
aria-label="Bookmark"
|
|
688
668
|
aria-pressed="false"
|
|
@@ -692,7 +672,7 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
692
672
|
</div>
|
|
693
673
|
<div class="flex flex-col items-center gap-1">
|
|
694
674
|
<btu-icon-button
|
|
695
|
-
|
|
675
|
+
symbol="bell"
|
|
696
676
|
type="primary"
|
|
697
677
|
aria-label="Notifications on"
|
|
698
678
|
aria-pressed="true"
|
|
@@ -702,7 +682,7 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
702
682
|
</div>
|
|
703
683
|
<div class="flex flex-col items-center gap-1">
|
|
704
684
|
<btu-icon-button
|
|
705
|
-
|
|
685
|
+
symbol="bell-off"
|
|
706
686
|
type="secondary-clear"
|
|
707
687
|
aria-label="Notifications off"
|
|
708
688
|
aria-pressed="false"
|
|
@@ -717,15 +697,15 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
717
697
|
<strong>Size comparison across types:</strong>
|
|
718
698
|
<div class="flex items-end gap-4">
|
|
719
699
|
<div class="flex flex-col items-center gap-1">
|
|
720
|
-
<btu-icon-button
|
|
700
|
+
<btu-icon-button symbol="plus" type="primary" size="sm" aria-label="Add"></btu-icon-button>
|
|
721
701
|
<span class="text-xs text-gray-400">sm</span>
|
|
722
702
|
</div>
|
|
723
703
|
<div class="flex flex-col items-center gap-1">
|
|
724
|
-
<btu-icon-button
|
|
704
|
+
<btu-icon-button symbol="plus" type="primary-stroke" size="md" aria-label="Add"></btu-icon-button>
|
|
725
705
|
<span class="text-xs text-gray-400">md</span>
|
|
726
706
|
</div>
|
|
727
707
|
<div class="flex flex-col items-center gap-1">
|
|
728
|
-
<btu-icon-button
|
|
708
|
+
<btu-icon-button symbol="plus" type="tertiary" size="lg" aria-label="Add"></btu-icon-button>
|
|
729
709
|
<span class="text-xs text-gray-400">lg</span>
|
|
730
710
|
</div>
|
|
731
711
|
</div>
|
|
@@ -737,7 +717,7 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
737
717
|
description: {
|
|
738
718
|
story: \`
|
|
739
719
|
- **Custom border radius** via \\\`--button-border-radius\\\` CSS property — use \\\`50%\\\` for circular buttons or \\\`0\\\` for sharp corners.
|
|
740
|
-
- **Toolbar pattern** uses \\\`secondary-clear\\\` with \\\`
|
|
720
|
+
- **Toolbar pattern** uses \\\`secondary-clear\\\` with \\\`sm\\\` size and reduced border-radius for a compact grouped layout.
|
|
741
721
|
- **Destructive confirmation pair** combines a cancel action with a destructive confirm for inline delete flows.
|
|
742
722
|
- **Card header actions** show a common pattern of icon buttons in a card/panel header for refresh, expand, and close.
|
|
743
723
|
- **Toggle states** use \\\`aria-pressed\\\` to indicate on/off state — the button plugin provides pressed styling automatically.
|
|
@@ -745,4 +725,4 @@ import{g as p,x as e}from"./iframe-DloIUNZz.js";import{o as b}from"./if-defined-
|
|
|
745
725
|
}
|
|
746
726
|
}
|
|
747
727
|
}
|
|
748
|
-
}`,...c.parameters?.docs?.source}}};const h=["Default","Types","Sizes","Destructive","WithTooltip","CommonActions","AdvancedUsage"];export{c as AdvancedUsage,
|
|
728
|
+
}`,...c.parameters?.docs?.source}}};const h=["Default","Types","Sizes","Destructive","WithTooltip","CommonActions","AdvancedUsage"];export{c as AdvancedUsage,l as CommonActions,n as Default,r as Destructive,a as Sizes,i as Types,s as WithTooltip,h as __namedExportsOrder,x as default};
|