carbon-components-svelte
carbon-components-svelte copied to clipboard
Draft commit for review for Popover v11 #1896
I spent a couple hours adopting the CDS React approach to the Popover element and it appears to break the previously working approach in CDS Svelte (i.e. without providing a PopoverContent component).
Please have a quick look at what I've done and let me know if we should lean into what looks like a very breaking change or have I missed something that would allow the existing syntax, as shown in the current CDS Svelte documentation, to work?
Implemented:
- added
idprop (although, I added that months ago and am now wondering if I added that correctly) - added
dropShadowoption - added
containerPropsobject - removed references to the
relativeprop because it looks like that's forced upon you now (or am I misreading the css?) - amended container to a
spanelement rather than adivper CDS React - added
contentPropstoPopoverContent - amended documentation for new syntax
Not yet implemented:
tabTip