@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
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{x as i}from"./iframe-
|
|
1
|
+
import{x as i}from"./iframe-D5Uwm8Zd.js";import{b as d}from"./celebrate-KwPoF1K3.js";import{b as l}from"./ripple-DQbyyRUw.js";import{B as r}from"./Button-CQ2CjiFm.js";import"./preload-helper-PPVm8Dsz.js";import"./position-CFNQy3J6.js";const v={title:"Effects/Combined Effects",tags:["autodocs"],parameters:{docs:{subtitle:"Ripple + Sparkle via Houdini Paint API inside the View Transition",description:{component:"Triggers `btuRipple` with the `sparkle` option. When the CSS Paint API is available (Chrome/Edge), sparkle particles render directly on the View Transition pseudo-element via a paint worklet — synchronized with the ripple ring. Falls back to DOM-based `btuCelebrate` in other browsers."}},controls:{expanded:!0}},argTypes:{rippleDuration:{control:{type:"range",min:500,max:5e3,step:100},description:"Ripple animation duration (ms)"},ringWidth:{control:{type:"range",min:10,max:100,step:5},description:"Width of the hue-shifted band (px)"},feather:{control:{type:"range",min:10,max:120,step:5},description:"Feathered edge transition width (px)"},hueShift:{control:{type:"range",min:0,max:330,step:30},description:"OKLCH hue rotation (degrees)"},contrast:{control:{type:"range",min:.5,max:3,step:.1},description:"Contrast multiplier"},saturate:{control:{type:"range",min:0,max:5,step:.5},description:"Saturation multiplier"},sparkle:{control:"boolean",description:"Enable sparkle particles via CSS Paint API (Chrome/Edge). Falls back to DOM celebrate when off."},sparkleDuration:{control:{type:"range",min:500,max:5e3,step:100},description:"Sparkle animation duration (ms) — independent from ripple duration"},sparkleSize:{control:{type:"range",min:100,max:600,step:50},description:"Sparkle burst area size (px)"}},args:{rippleDuration:1200,ringWidth:40,feather:75,hueShift:0,contrast:1.8,saturate:1.5,sparkle:!0,sparkleDuration:2e3,sparkleSize:300}},s={args:{rippleDuration:1e3,ringWidth:35,hueShift:0,sparkleDuration:1300,sparkleSize:300,contrast:1.5,saturate:2.5,feather:115},render:e=>i`
|
|
2
2
|
<div @click=${async a=>{const{ready:t}=l({position:a,duration:e.rippleDuration,ringWidth:e.ringWidth,feather:e.feather,hueShift:e.hueShift,contrast:e.contrast,saturate:e.saturate,sparkle:e.sparkle?{size:e.sparkleSize,duration:e.sparkleDuration}:!1});e.sparkle||(await t,d({position:a,size:e.sparkleSize}))}} class="flex" style="min-height: 100vh;">
|
|
3
3
|
<!-- Left Nav Rail -->
|
|
4
4
|
<div class="flex w-16 flex-shrink-0 flex-col items-center gap-4 border-r border-gray-200 bg-white py-4">
|
|
5
|
-
<div class="
|
|
5
|
+
<div class="h-8 w-8 rounded-lg bg-primary-500"></div>
|
|
6
6
|
<div class="mt-2 h-5 w-5 rounded bg-gray-300"></div>
|
|
7
7
|
<div class="h-5 w-5 rounded bg-gray-300"></div>
|
|
8
8
|
<div class="h-5 w-5 rounded bg-gray-300"></div>
|
|
@@ -18,7 +18,7 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
18
18
|
<div class="flex items-center gap-3">
|
|
19
19
|
<span class="text-sm font-semibold text-gray-900">Lorem Ipsum</span>
|
|
20
20
|
<div class="h-5 w-5 rounded bg-gray-200"></div>
|
|
21
|
-
<span class="bg-primary-100
|
|
21
|
+
<span class="rounded bg-primary-100 px-2 py-0.5 text-xs font-medium text-primary-700">EN</span>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="flex items-center gap-3">
|
|
24
24
|
<div class="h-8 w-64 rounded-md bg-gray-100"></div>
|
|
@@ -28,7 +28,7 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
28
28
|
|
|
29
29
|
<!-- Tabs -->
|
|
30
30
|
<div class="flex gap-6 border-b border-gray-200 bg-white px-6">
|
|
31
|
-
<span class="border-
|
|
31
|
+
<span class="border-b-2 border-primary-500 py-3 text-sm font-medium text-primary-600">Dolor</span>
|
|
32
32
|
<span class="py-3 text-sm text-gray-500">Amet</span>
|
|
33
33
|
<span class="py-3 text-sm text-gray-500">Consectetur</span>
|
|
34
34
|
<span class="py-3 text-sm text-gray-500">Adipiscing</span>
|
|
@@ -38,7 +38,7 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
38
38
|
<!-- Page Content -->
|
|
39
39
|
<div class="flex flex-col gap-6 p-6">
|
|
40
40
|
<!-- Warning -->
|
|
41
|
-
<p class="
|
|
41
|
+
<p class="rounded-md border border-warning-200 bg-warning-50 px-3 py-2 text-xs text-warning-700">
|
|
42
42
|
⚠ Click anywhere — the hue ripple sweeps outward while sparkles burst from the click point. The UI is
|
|
43
43
|
non-interactive during the view transition.
|
|
44
44
|
</p>
|
|
@@ -46,16 +46,16 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
46
46
|
<!-- Quick Start -->
|
|
47
47
|
<div class="flex gap-3">
|
|
48
48
|
<div class="flex w-44 flex-col gap-2 rounded-lg border border-gray-200 bg-white p-4">
|
|
49
|
-
<div class="
|
|
49
|
+
<div class="h-8 w-8 rounded-md bg-primary-100"></div>
|
|
50
50
|
<span class="text-sm font-medium text-gray-700">Sed Do</span>
|
|
51
|
-
<div class="
|
|
51
|
+
<div class="h-1 w-full rounded bg-primary-500"></div>
|
|
52
52
|
</div>
|
|
53
53
|
<div class="flex w-44 flex-col gap-2 rounded-lg border border-gray-200 bg-white p-4">
|
|
54
|
-
<div class="
|
|
54
|
+
<div class="h-8 w-8 rounded-md bg-primary-100"></div>
|
|
55
55
|
<span class="text-sm font-medium text-gray-700">Eiusmod</span>
|
|
56
56
|
</div>
|
|
57
57
|
<div class="flex w-44 flex-col gap-2 rounded-lg border border-gray-200 bg-white p-4">
|
|
58
|
-
<div class="
|
|
58
|
+
<div class="h-8 w-8 rounded-md bg-primary-100"></div>
|
|
59
59
|
<span class="text-sm font-medium text-gray-700">Tempor</span>
|
|
60
60
|
</div>
|
|
61
61
|
</div>
|
|
@@ -75,7 +75,7 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
75
75
|
<div class="h-3 w-3/4 rounded bg-gray-200"></div>
|
|
76
76
|
<div class="h-2 w-1/3 rounded bg-gray-100"></div>
|
|
77
77
|
</div>
|
|
78
|
-
<span class="bg-success-100
|
|
78
|
+
<span class="rounded-full bg-success-100 px-2 py-0.5 text-xs text-success-700">Ipsum</span>
|
|
79
79
|
</div>
|
|
80
80
|
<div class="flex items-center gap-3 border-b border-gray-50 px-5 py-3">
|
|
81
81
|
<div class="h-8 w-8 rounded bg-gray-100"></div>
|
|
@@ -83,7 +83,7 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
83
83
|
<div class="h-3 w-2/3 rounded bg-gray-200"></div>
|
|
84
84
|
<div class="h-2 w-1/4 rounded bg-gray-100"></div>
|
|
85
85
|
</div>
|
|
86
|
-
<span class="bg-warning-100
|
|
86
|
+
<span class="rounded-full bg-warning-100 px-2 py-0.5 text-xs text-warning-700">Dolor</span>
|
|
87
87
|
</div>
|
|
88
88
|
<div class="flex items-center gap-3 border-b border-gray-50 px-5 py-3">
|
|
89
89
|
<div class="h-8 w-8 rounded bg-gray-100"></div>
|
|
@@ -91,7 +91,7 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
91
91
|
<div class="h-3 w-1/2 rounded bg-gray-200"></div>
|
|
92
92
|
<div class="h-2 w-1/3 rounded bg-gray-100"></div>
|
|
93
93
|
</div>
|
|
94
|
-
<span class="bg-error-100
|
|
94
|
+
<span class="rounded-full bg-error-100 px-2 py-0.5 text-xs text-error-700">Amet</span>
|
|
95
95
|
</div>
|
|
96
96
|
<div class="flex items-center gap-3 px-5 py-3">
|
|
97
97
|
<div class="h-8 w-8 rounded bg-gray-100"></div>
|
|
@@ -99,7 +99,7 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
99
99
|
<div class="h-3 w-3/5 rounded bg-gray-200"></div>
|
|
100
100
|
<div class="h-2 w-1/4 rounded bg-gray-100"></div>
|
|
101
101
|
</div>
|
|
102
|
-
<span class="bg-success-100
|
|
102
|
+
<span class="rounded-full bg-success-100 px-2 py-0.5 text-xs text-success-700">Ipsum</span>
|
|
103
103
|
</div>
|
|
104
104
|
</div>
|
|
105
105
|
</div>
|
|
@@ -114,7 +114,7 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
114
114
|
<div class="rounded-lg border border-gray-100 p-4">
|
|
115
115
|
<div class="flex items-center gap-2">
|
|
116
116
|
<span class="text-xs text-gray-500">Magna Aliqua</span>
|
|
117
|
-
<span class="bg-success-100
|
|
117
|
+
<span class="rounded-full bg-success-100 px-2 py-0.5 text-xs text-success-700">Sit</span>
|
|
118
118
|
</div>
|
|
119
119
|
<p class="mt-1 text-sm font-medium text-gray-900">Ut enim ad minim veniam</p>
|
|
120
120
|
<p class="mt-0.5 text-xs text-gray-500">Quis nostrud exercitation ullamco...</p>
|
|
@@ -122,12 +122,12 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
122
122
|
<span class="text-xs text-gray-500">60%</span>
|
|
123
123
|
${r({color:"primary",fill:!0,contained:!0,size:"sm",label:"View"})}
|
|
124
124
|
</div>
|
|
125
|
-
<div class="
|
|
125
|
+
<div class="mt-2 h-1.5 w-3/5 rounded-full bg-primary-500"></div>
|
|
126
126
|
</div>
|
|
127
127
|
<div class="rounded-lg border border-gray-100 p-4">
|
|
128
128
|
<div class="flex items-center gap-2">
|
|
129
129
|
<span class="text-xs text-gray-500">Magna Aliqua</span>
|
|
130
|
-
<span class="bg-warning-100
|
|
130
|
+
<span class="rounded-full bg-warning-100 px-2 py-0.5 text-xs text-warning-700">Sed</span>
|
|
131
131
|
</div>
|
|
132
132
|
<p class="mt-1 text-sm font-medium text-gray-900">Duis aute irure dolor</p>
|
|
133
133
|
<p class="mt-0.5 text-xs text-gray-500">Excepteur sint occaecat cupidatat...</p>
|
|
@@ -135,7 +135,7 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
135
135
|
<span class="text-xs text-gray-500">30%</span>
|
|
136
136
|
${r({color:"primary",fill:!0,contained:!0,size:"sm",label:"View"})}
|
|
137
137
|
</div>
|
|
138
|
-
<div class="
|
|
138
|
+
<div class="mt-2 h-1.5 w-1/3 rounded-full bg-primary-500"></div>
|
|
139
139
|
</div>
|
|
140
140
|
</div>
|
|
141
141
|
</div>
|
|
@@ -183,7 +183,7 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
183
183
|
<div @click=\${onClick} class="flex" style="min-height: 100vh;">
|
|
184
184
|
<!-- Left Nav Rail -->
|
|
185
185
|
<div class="flex w-16 flex-shrink-0 flex-col items-center gap-4 border-r border-gray-200 bg-white py-4">
|
|
186
|
-
<div class="
|
|
186
|
+
<div class="h-8 w-8 rounded-lg bg-primary-500"></div>
|
|
187
187
|
<div class="mt-2 h-5 w-5 rounded bg-gray-300"></div>
|
|
188
188
|
<div class="h-5 w-5 rounded bg-gray-300"></div>
|
|
189
189
|
<div class="h-5 w-5 rounded bg-gray-300"></div>
|
|
@@ -199,7 +199,7 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
199
199
|
<div class="flex items-center gap-3">
|
|
200
200
|
<span class="text-sm font-semibold text-gray-900">Lorem Ipsum</span>
|
|
201
201
|
<div class="h-5 w-5 rounded bg-gray-200"></div>
|
|
202
|
-
<span class="bg-primary-100
|
|
202
|
+
<span class="rounded bg-primary-100 px-2 py-0.5 text-xs font-medium text-primary-700">EN</span>
|
|
203
203
|
</div>
|
|
204
204
|
<div class="flex items-center gap-3">
|
|
205
205
|
<div class="h-8 w-64 rounded-md bg-gray-100"></div>
|
|
@@ -216,7 +216,7 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
216
216
|
|
|
217
217
|
<!-- Tabs -->
|
|
218
218
|
<div class="flex gap-6 border-b border-gray-200 bg-white px-6">
|
|
219
|
-
<span class="border-
|
|
219
|
+
<span class="border-b-2 border-primary-500 py-3 text-sm font-medium text-primary-600">Dolor</span>
|
|
220
220
|
<span class="py-3 text-sm text-gray-500">Amet</span>
|
|
221
221
|
<span class="py-3 text-sm text-gray-500">Consectetur</span>
|
|
222
222
|
<span class="py-3 text-sm text-gray-500">Adipiscing</span>
|
|
@@ -226,7 +226,7 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
226
226
|
<!-- Page Content -->
|
|
227
227
|
<div class="flex flex-col gap-6 p-6">
|
|
228
228
|
<!-- Warning -->
|
|
229
|
-
<p class="
|
|
229
|
+
<p class="rounded-md border border-warning-200 bg-warning-50 px-3 py-2 text-xs text-warning-700">
|
|
230
230
|
⚠ Click anywhere — the hue ripple sweeps outward while sparkles burst from the click point. The UI is
|
|
231
231
|
non-interactive during the view transition.
|
|
232
232
|
</p>
|
|
@@ -234,16 +234,16 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
234
234
|
<!-- Quick Start -->
|
|
235
235
|
<div class="flex gap-3">
|
|
236
236
|
<div class="flex w-44 flex-col gap-2 rounded-lg border border-gray-200 bg-white p-4">
|
|
237
|
-
<div class="
|
|
237
|
+
<div class="h-8 w-8 rounded-md bg-primary-100"></div>
|
|
238
238
|
<span class="text-sm font-medium text-gray-700">Sed Do</span>
|
|
239
|
-
<div class="
|
|
239
|
+
<div class="h-1 w-full rounded bg-primary-500"></div>
|
|
240
240
|
</div>
|
|
241
241
|
<div class="flex w-44 flex-col gap-2 rounded-lg border border-gray-200 bg-white p-4">
|
|
242
|
-
<div class="
|
|
242
|
+
<div class="h-8 w-8 rounded-md bg-primary-100"></div>
|
|
243
243
|
<span class="text-sm font-medium text-gray-700">Eiusmod</span>
|
|
244
244
|
</div>
|
|
245
245
|
<div class="flex w-44 flex-col gap-2 rounded-lg border border-gray-200 bg-white p-4">
|
|
246
|
-
<div class="
|
|
246
|
+
<div class="h-8 w-8 rounded-md bg-primary-100"></div>
|
|
247
247
|
<span class="text-sm font-medium text-gray-700">Tempor</span>
|
|
248
248
|
</div>
|
|
249
249
|
</div>
|
|
@@ -263,7 +263,7 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
263
263
|
<div class="h-3 w-3/4 rounded bg-gray-200"></div>
|
|
264
264
|
<div class="h-2 w-1/3 rounded bg-gray-100"></div>
|
|
265
265
|
</div>
|
|
266
|
-
<span class="bg-success-100
|
|
266
|
+
<span class="rounded-full bg-success-100 px-2 py-0.5 text-xs text-success-700">Ipsum</span>
|
|
267
267
|
</div>
|
|
268
268
|
<div class="flex items-center gap-3 border-b border-gray-50 px-5 py-3">
|
|
269
269
|
<div class="h-8 w-8 rounded bg-gray-100"></div>
|
|
@@ -271,7 +271,7 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
271
271
|
<div class="h-3 w-2/3 rounded bg-gray-200"></div>
|
|
272
272
|
<div class="h-2 w-1/4 rounded bg-gray-100"></div>
|
|
273
273
|
</div>
|
|
274
|
-
<span class="bg-warning-100
|
|
274
|
+
<span class="rounded-full bg-warning-100 px-2 py-0.5 text-xs text-warning-700">Dolor</span>
|
|
275
275
|
</div>
|
|
276
276
|
<div class="flex items-center gap-3 border-b border-gray-50 px-5 py-3">
|
|
277
277
|
<div class="h-8 w-8 rounded bg-gray-100"></div>
|
|
@@ -279,7 +279,7 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
279
279
|
<div class="h-3 w-1/2 rounded bg-gray-200"></div>
|
|
280
280
|
<div class="h-2 w-1/3 rounded bg-gray-100"></div>
|
|
281
281
|
</div>
|
|
282
|
-
<span class="bg-error-100
|
|
282
|
+
<span class="rounded-full bg-error-100 px-2 py-0.5 text-xs text-error-700">Amet</span>
|
|
283
283
|
</div>
|
|
284
284
|
<div class="flex items-center gap-3 px-5 py-3">
|
|
285
285
|
<div class="h-8 w-8 rounded bg-gray-100"></div>
|
|
@@ -287,7 +287,7 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
287
287
|
<div class="h-3 w-3/5 rounded bg-gray-200"></div>
|
|
288
288
|
<div class="h-2 w-1/4 rounded bg-gray-100"></div>
|
|
289
289
|
</div>
|
|
290
|
-
<span class="bg-success-100
|
|
290
|
+
<span class="rounded-full bg-success-100 px-2 py-0.5 text-xs text-success-700">Ipsum</span>
|
|
291
291
|
</div>
|
|
292
292
|
</div>
|
|
293
293
|
</div>
|
|
@@ -302,7 +302,7 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
302
302
|
<div class="rounded-lg border border-gray-100 p-4">
|
|
303
303
|
<div class="flex items-center gap-2">
|
|
304
304
|
<span class="text-xs text-gray-500">Magna Aliqua</span>
|
|
305
|
-
<span class="bg-success-100
|
|
305
|
+
<span class="rounded-full bg-success-100 px-2 py-0.5 text-xs text-success-700">Sit</span>
|
|
306
306
|
</div>
|
|
307
307
|
<p class="mt-1 text-sm font-medium text-gray-900">Ut enim ad minim veniam</p>
|
|
308
308
|
<p class="mt-0.5 text-xs text-gray-500">Quis nostrud exercitation ullamco...</p>
|
|
@@ -316,12 +316,12 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
316
316
|
label: 'View'
|
|
317
317
|
})}
|
|
318
318
|
</div>
|
|
319
|
-
<div class="
|
|
319
|
+
<div class="mt-2 h-1.5 w-3/5 rounded-full bg-primary-500"></div>
|
|
320
320
|
</div>
|
|
321
321
|
<div class="rounded-lg border border-gray-100 p-4">
|
|
322
322
|
<div class="flex items-center gap-2">
|
|
323
323
|
<span class="text-xs text-gray-500">Magna Aliqua</span>
|
|
324
|
-
<span class="bg-warning-100
|
|
324
|
+
<span class="rounded-full bg-warning-100 px-2 py-0.5 text-xs text-warning-700">Sed</span>
|
|
325
325
|
</div>
|
|
326
326
|
<p class="mt-1 text-sm font-medium text-gray-900">Duis aute irure dolor</p>
|
|
327
327
|
<p class="mt-0.5 text-xs text-gray-500">Excepteur sint occaecat cupidatat...</p>
|
|
@@ -335,7 +335,7 @@ import{x as i}from"./iframe-DloIUNZz.js";import{b as d}from"./celebrate-KwPoF1K3
|
|
|
335
335
|
label: 'View'
|
|
336
336
|
})}
|
|
337
337
|
</div>
|
|
338
|
-
<div class="
|
|
338
|
+
<div class="mt-2 h-1.5 w-1/3 rounded-full bg-primary-500"></div>
|
|
339
339
|
</div>
|
|
340
340
|
</div>
|
|
341
341
|
</div>
|
package/dist/storybook/assets/{ComponentStatesMixin-DMLCk9fE.js → ComponentStatesMixin-BeLIKOsg.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./iframe-
|
|
1
|
+
import"./iframe-D5Uwm8Zd.js";const a=t=>{class s extends t{constructor(){super(...arguments),this.internals=this.attachInternals(),this.states=this.internals.states}}return s};export{a as C};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{x as c,i as g}from"./iframe-
|
|
1
|
+
import{x as c,i as g}from"./iframe-D5Uwm8Zd.js";import{t as m}from"./custom-element-UsVr97OX.js";import{C as u}from"./ComponentStatesMixin-BeLIKOsg.js";import"./preload-helper-PPVm8Dsz.js";var r=Object.freeze,b=Object.defineProperty,h=Object.getOwnPropertyDescriptor,x=(e,o,p,d)=>{for(var t=d>1?void 0:d?h(o,p):o,s=e.length-1,n;s>=0;s--)(n=e[s])&&(t=n(t)||t);return t},f=(e,o)=>r(b(e,"raw",{value:r(e.slice())})),l;const C={title:"Mixins/Component States",tags:["autodocs"],parameters:{docs:{description:{component:`
|
|
2
2
|
\`ComponentStatesMixin\` provides access to the **Custom State API** for managing component-specific states that can be styled with the \`:state()\` pseudo-class in CSS.
|
|
3
3
|
|
|
4
4
|
Uses \`ElementInternals.states\` (\`CustomStateSet\`) to manage component states that are separate from attributes, providing better encapsulation and performance.
|
|
@@ -138,7 +138,7 @@ my-component:state(btu-expanded) {
|
|
|
138
138
|
<input type="checkbox" id="toggle-expanded" />
|
|
139
139
|
<span>Expanded State</span>
|
|
140
140
|
</label>
|
|
141
|
-
<button id="clear-states" class="btu-button btu-button-
|
|
141
|
+
<button id="clear-states" class="btu-button-gray btu-button-md btu-button">Clear All States</button>
|
|
142
142
|
</div>
|
|
143
143
|
|
|
144
144
|
<style>
|
|
@@ -236,7 +236,7 @@ my-component:state(btu-expanded) {
|
|
|
236
236
|
<input type="checkbox" id="toggle-expanded" />
|
|
237
237
|
<span>Expanded State</span>
|
|
238
238
|
</label>
|
|
239
|
-
<button id="clear-states" class="btu-button btu-button-
|
|
239
|
+
<button id="clear-states" class="btu-button-gray btu-button-md btu-button">Clear All States</button>
|
|
240
240
|
</div>
|
|
241
241
|
|
|
242
242
|
<style>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as s,x as i}from"./iframe-
|
|
1
|
+
import{g as s,x as i}from"./iframe-D5Uwm8Zd.js";import"./preload-helper-PPVm8Dsz.js";var r=Object.freeze,c=Object.defineProperty,p=(e,l)=>r(c(e,"raw",{value:r(l||e.slice())})),d;const{events:b,args:u,argTypes:a}=s("btu-copy-to-clipboard"),f={title:"Components/Copy to Clipboard",component:"btu-copy-to-clipboard",tags:["autodocs"],parameters:{docs:{subtitle:"btu-copy-to-clipboard",description:{component:`
|
|
2
2
|
A button component for copying text to the clipboard. The button becomes disabled and displays a success state for 3 seconds after copying.
|
|
3
3
|
|
|
4
4
|
<h3>When to use:</h3>
|
|
@@ -23,7 +23,7 @@ A button component for copying text to the clipboard. The button becomes disable
|
|
|
23
23
|
<h3>Behavior Notes:</h3>
|
|
24
24
|
<ul>
|
|
25
25
|
<li>The button is disabled when there is no text to copy (<code>copydata</code> is empty or not set)</li>
|
|
26
|
-
<li>Success styles are dependent on the <code>btu-clipboard-copied</code> state, which can be styled using the <code>:state()</code> pseudo-class</li>
|
|
26
|
+
<li>Success styles are dependent on the <code>btu-copy-to-clipboard-copied</code> state, which can be styled using the <code>:state()</code> pseudo-class</li>
|
|
27
27
|
</ul>
|
|
28
28
|
`}},actions:{handles:b},controls:{expanded:!0}},args:{...u,copydata:"https://example.com/cms/content/edit",buttonClasses:""},argTypes:{...a,copydata:{...a.copydata,control:{type:"text"},description:"The text to copy to clipboard"},buttonClasses:{...a.buttonClasses,control:{type:"text"},description:"Custom CSS classes for the button. If provided, replaces the default classes."}},render:e=>i`
|
|
29
29
|
<div style="display: flex; flex-direction: column; gap: 1rem;">
|
|
@@ -65,9 +65,9 @@ A button component for copying text to the clipboard. The button becomes disable
|
|
|
65
65
|
const button = document.getElementById('event-demo-button')
|
|
66
66
|
const log = document.getElementById('event-log')
|
|
67
67
|
if (button && log) {
|
|
68
|
-
button.addEventListener('btu-clipboard-copied', e => {
|
|
68
|
+
button.addEventListener('btu-copy-to-clipboard-copied', e => {
|
|
69
69
|
const timestamp = new Date().toLocaleTimeString()
|
|
70
|
-
log.textContent = \`Event Log: btu-clipboard-copied fired at \${timestamp}\`
|
|
70
|
+
log.textContent = \`Event Log: btu-copy-to-clipboard-copied fired at \${timestamp}\`
|
|
71
71
|
console.log('Event fired:', e)
|
|
72
72
|
})
|
|
73
73
|
}
|
|
@@ -98,16 +98,16 @@ A button component for copying text to the clipboard. The button becomes disable
|
|
|
98
98
|
const button = document.getElementById('event-demo-button')
|
|
99
99
|
const log = document.getElementById('event-log')
|
|
100
100
|
if (button && log) {
|
|
101
|
-
button.addEventListener('btu-clipboard-copied', e => {
|
|
101
|
+
button.addEventListener('btu-copy-to-clipboard-copied', e => {
|
|
102
102
|
const timestamp = new Date().toLocaleTimeString()
|
|
103
|
-
log.textContent = \\\`Event Log: btu-clipboard-copied fired at \\\${timestamp}\\\`
|
|
103
|
+
log.textContent = \\\`Event Log: btu-copy-to-clipboard-copied fired at \\\${timestamp}\\\`
|
|
104
104
|
console.log('Event fired:', e)
|
|
105
105
|
})
|
|
106
106
|
}
|
|
107
107
|
})()
|
|
108
108
|
<\/script>
|
|
109
109
|
</div>
|
|
110
|
-
`]))),parameters:{docs:{description:{story:"You can listen for the `btu-clipboard-copied` event to perform custom actions when text is copied. This example displays an event log that updates with a timestamp each time the button is clicked."}}}},n={render:()=>i`
|
|
110
|
+
`]))),parameters:{docs:{description:{story:"You can listen for the `btu-copy-to-clipboard-copied` event to perform custom actions when text is copied. This example displays an event log that updates with a timestamp each time the button is clicked."}}}},n={render:()=>i`
|
|
111
111
|
<div class="flex flex-col gap-6">
|
|
112
112
|
<div class="flex flex-col gap-2">
|
|
113
113
|
<strong>Custom Button Styling:</strong>
|
|
@@ -151,16 +151,16 @@ A button component for copying text to the clipboard. The button becomes disable
|
|
|
151
151
|
style="padding: 0.5rem; border: 1px solid #d1d5db; border-radius: 4px; font-family: monospace; font-size: 0.875rem;"
|
|
152
152
|
></textarea>
|
|
153
153
|
<style>
|
|
154
|
-
#icon-only-demo:state(btu-clipboard-copied) button {
|
|
154
|
+
#icon-only-demo:state(btu-copy-to-clipboard-copied) button {
|
|
155
155
|
background-color: oklch(68.59% 0.167 157);
|
|
156
156
|
}
|
|
157
|
-
#icon-only-demo:state(btu-clipboard-copied) button::before {
|
|
157
|
+
#icon-only-demo:state(btu-copy-to-clipboard-copied) button::before {
|
|
158
158
|
content: '\\e168';
|
|
159
159
|
}
|
|
160
160
|
</style>
|
|
161
161
|
</div>
|
|
162
162
|
</div>
|
|
163
|
-
`,parameters:{docs:{description:{story:"\n**Custom Button Styling:** Use the `buttonClasses` attribute to override default button classes with your own styling.\n\n**Icon-Only Button:** An icon-only button for a minimal style. Uses `buttonClasses` for initial styles, notably `btu-button-text-hidden` to hide the text. The `aria-label` attribute is passed from the host element to the inner button for accessibility. CSS `:state(btu-clipboard-copied)` is used to change styles when copied.\n "}}}};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`{
|
|
163
|
+
`,parameters:{docs:{description:{story:"\n**Custom Button Styling:** Use the `buttonClasses` attribute to override default button classes with your own styling.\n\n**Icon-Only Button:** An icon-only button for a minimal style. Uses `buttonClasses` for initial styles, notably `btu-button-text-hidden` to hide the text. The `aria-label` attribute is passed from the host element to the inner button for accessibility. CSS `:state(btu-copy-to-clipboard-copied)` is used to change styles when copied.\n "}}}};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`{
|
|
164
164
|
args: {}
|
|
165
165
|
}`,...t.parameters?.docs?.source}}};o.parameters={...o.parameters,docs:{...o.parameters?.docs,source:{originalSource:`{
|
|
166
166
|
render: () => {
|
|
@@ -188,9 +188,9 @@ A button component for copying text to the clipboard. The button becomes disable
|
|
|
188
188
|
const button = document.getElementById('event-demo-button')
|
|
189
189
|
const log = document.getElementById('event-log')
|
|
190
190
|
if (button && log) {
|
|
191
|
-
button.addEventListener('btu-clipboard-copied', e => {
|
|
191
|
+
button.addEventListener('btu-copy-to-clipboard-copied', e => {
|
|
192
192
|
const timestamp = new Date().toLocaleTimeString()
|
|
193
|
-
log.textContent = \\\`Event Log: btu-clipboard-copied fired at \\\${timestamp}\\\`
|
|
193
|
+
log.textContent = \\\`Event Log: btu-copy-to-clipboard-copied fired at \\\${timestamp}\\\`
|
|
194
194
|
console.log('Event fired:', e)
|
|
195
195
|
})
|
|
196
196
|
}
|
|
@@ -202,7 +202,7 @@ A button component for copying text to the clipboard. The button becomes disable
|
|
|
202
202
|
parameters: {
|
|
203
203
|
docs: {
|
|
204
204
|
description: {
|
|
205
|
-
story: \`You can listen for the \\\`btu-clipboard-copied\\\` event to perform custom actions when text is copied. This example displays an event log that updates with a timestamp each time the button is clicked.\`
|
|
205
|
+
story: \`You can listen for the \\\`btu-copy-to-clipboard-copied\\\` event to perform custom actions when text is copied. This example displays an event log that updates with a timestamp each time the button is clicked.\`
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
}
|
|
@@ -252,10 +252,10 @@ A button component for copying text to the clipboard. The button becomes disable
|
|
|
252
252
|
style="padding: 0.5rem; border: 1px solid #d1d5db; border-radius: 4px; font-family: monospace; font-size: 0.875rem;"
|
|
253
253
|
></textarea>
|
|
254
254
|
<style>
|
|
255
|
-
#icon-only-demo:state(btu-clipboard-copied) button {
|
|
255
|
+
#icon-only-demo:state(btu-copy-to-clipboard-copied) button {
|
|
256
256
|
background-color: oklch(68.59% 0.167 157);
|
|
257
257
|
}
|
|
258
|
-
#icon-only-demo:state(btu-clipboard-copied) button::before {
|
|
258
|
+
#icon-only-demo:state(btu-copy-to-clipboard-copied) button::before {
|
|
259
259
|
content: '\\\\e168';
|
|
260
260
|
}
|
|
261
261
|
</style>
|
|
@@ -269,7 +269,7 @@ A button component for copying text to the clipboard. The button becomes disable
|
|
|
269
269
|
story: \`
|
|
270
270
|
**Custom Button Styling:** Use the \\\`buttonClasses\\\` attribute to override default button classes with your own styling.
|
|
271
271
|
|
|
272
|
-
**Icon-Only Button:** An icon-only button for a minimal style. Uses \\\`buttonClasses\\\` for initial styles, notably \\\`btu-button-text-hidden\\\` to hide the text. The \\\`aria-label\\\` attribute is passed from the host element to the inner button for accessibility. CSS \\\`:state(btu-clipboard-copied)\\\` is used to change styles when copied.
|
|
272
|
+
**Icon-Only Button:** An icon-only button for a minimal style. Uses \\\`buttonClasses\\\` for initial styles, notably \\\`btu-button-text-hidden\\\` to hide the text. The \\\`aria-label\\\` attribute is passed from the host element to the inner button for accessibility. CSS \\\`:state(btu-copy-to-clipboard-copied)\\\` is used to change styles when copied.
|
|
273
273
|
\`
|
|
274
274
|
}
|
|
275
275
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{x as c}from"./iframe-
|
|
1
|
+
import{x as c}from"./iframe-D5Uwm8Zd.js";import"./preload-helper-PPVm8Dsz.js";function p(n,e){if(n<=0)return e;let t;return function(){clearTimeout(t),t=setTimeout(()=>{t=void 0,e.apply(this,[...arguments])},n)}}const h={title:"Utilities/Debounce",tags:["autodocs"],parameters:{docs:{subtitle:"The `debounce` utility delays function execution until a specified wait period has elapsed since the last invocation. Useful for search inputs, form validation, and window resize handlers."},controls:{expanded:!0}},argTypes:{wait:{control:{type:"number",min:0,max:2e3,step:50},description:"Debounce wait time in milliseconds"}},args:{wait:300}},o={render:n=>{const e=`debounce-${Math.random().toString(36).substring(2,9)}`;let t=0,i=0;const a=()=>{const d=document.getElementById(`${e}-normal-count`),r=document.getElementById(`${e}-debounced-count`);d&&(d.textContent=String(t)),r&&(r.textContent=String(i))},l=p(n.wait,()=>{i++,a()}),u=()=>{t++,a(),l()};return c`
|
|
2
2
|
<div class="space-y-4">
|
|
3
3
|
<div class="text-base">
|
|
4
4
|
<p class="mb-2">
|
|
@@ -11,7 +11,7 @@ import{x as c}from"./iframe-DloIUNZz.js";import"./preload-helper-PPVm8Dsz.js";fu
|
|
|
11
11
|
@input=${u}
|
|
12
12
|
type="text"
|
|
13
13
|
placeholder="Start typing..."
|
|
14
|
-
class="w-full rounded border-2 border-gray-300 px-4 py-2 focus:
|
|
14
|
+
class="focus:border-blue-500 w-full rounded border-2 border-gray-300 px-4 py-2 focus:outline-none"
|
|
15
15
|
/>
|
|
16
16
|
|
|
17
17
|
<div class="flex justify-around">
|
|
@@ -21,13 +21,13 @@ import{x as c}from"./iframe-DloIUNZz.js";import"./preload-helper-PPVm8Dsz.js";fu
|
|
|
21
21
|
</div>
|
|
22
22
|
<div>
|
|
23
23
|
<div class="text-xs text-gray-500">Debounced calls (${n.wait}ms)</div>
|
|
24
|
-
<div id="${e}-debounced-count" class="text-
|
|
24
|
+
<div id="${e}-debounced-count" class="text-2xl font-bold text-primary-600">0</div>
|
|
25
25
|
</div>
|
|
26
26
|
</div>
|
|
27
27
|
|
|
28
28
|
<button
|
|
29
|
-
@click=${()=>{t=0,i=0,
|
|
30
|
-
class="
|
|
29
|
+
@click=${()=>{t=0,i=0,a()}}
|
|
30
|
+
class="btu-button-gray btu-button-sm btu-button"
|
|
31
31
|
>
|
|
32
32
|
Reset Counters
|
|
33
33
|
</button>
|
|
@@ -109,7 +109,7 @@ input.addEventListener('input', handleSearch)</code></pre>
|
|
|
109
109
|
@input=\${handleInput}
|
|
110
110
|
type="text"
|
|
111
111
|
placeholder="Start typing..."
|
|
112
|
-
class="w-full rounded border-2 border-gray-300 px-4 py-2 focus:
|
|
112
|
+
class="focus:border-blue-500 w-full rounded border-2 border-gray-300 px-4 py-2 focus:outline-none"
|
|
113
113
|
/>
|
|
114
114
|
|
|
115
115
|
<div class="flex justify-around">
|
|
@@ -119,7 +119,7 @@ input.addEventListener('input', handleSearch)</code></pre>
|
|
|
119
119
|
</div>
|
|
120
120
|
<div>
|
|
121
121
|
<div class="text-xs text-gray-500">Debounced calls (\${args.wait}ms)</div>
|
|
122
|
-
<div id="\${instanceId}-debounced-count" class="text-
|
|
122
|
+
<div id="\${instanceId}-debounced-count" class="text-2xl font-bold text-primary-600">0</div>
|
|
123
123
|
</div>
|
|
124
124
|
</div>
|
|
125
125
|
|
|
@@ -129,7 +129,7 @@ input.addEventListener('input', handleSearch)</code></pre>
|
|
|
129
129
|
debouncedCount = 0;
|
|
130
130
|
updateCounts();
|
|
131
131
|
}}
|
|
132
|
-
class="
|
|
132
|
+
class="btu-button-gray btu-button-sm btu-button"
|
|
133
133
|
>
|
|
134
134
|
Reset Counters
|
|
135
135
|
</button>
|
|
@@ -196,4 +196,4 @@ input.addEventListener('input', handleSearch)</code></pre>
|
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
}`,...s.parameters?.docs?.source}}};const
|
|
199
|
+
}`,...s.parameters?.docs?.source}}};const g=["Interactive","UsageExample"];export{o as Interactive,s as UsageExample,g as __namedExportsOrder,h as default};
|