Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor the Popover component #2864

Merged
merged 6 commits into from
Jan 16, 2025
Merged

Refactor the Popover component #2864

merged 6 commits into from
Jan 16, 2025

Conversation

sirineJ
Copy link
Contributor

@sirineJ sirineJ commented Jan 13, 2025

Addresses #DSYS-886

Purpose

Describe what you are trying to accomplish

Approach and changes

Describe how you solved the problem

Definition of done

  • Development completed
  • Reviewers assigned
  • Unit and integration tests
  • Meets minimum browser support
  • Meets accessibility requirements

@sirineJ sirineJ self-assigned this Jan 13, 2025
Copy link

changeset-bot bot commented Jan 13, 2025

⚠️ No Changeset found

Latest commit: 1e0e086

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Jan 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
oss-circuit-ui ✅ Ready (Inspect) Visit Preview Jan 16, 2025 10:07am

@sirineJ sirineJ changed the base branch from main to next January 13, 2025 23:19
@sirineJ sirineJ changed the title Feat/dsys 886/refactor popover Refactor the Popover component Jan 13, 2025
@sirineJ sirineJ force-pushed the feat/DSYS-886/refactor-popover branch from ece7699 to 3863326 Compare January 13, 2025 23:22
Copy link
Contributor

github-actions bot commented Jan 13, 2025

Size Change: +106 B (+0.02%)

Total Size: 678 kB

Filename Size Change
packages/circuit-ui/dist/components/Dialog/Dialog.js 1.8 kB +68 B (+3.94%)
packages/circuit-ui/dist/components/Popover/Popover.js 1.93 kB -61 B (-3.06%)
packages/circuit-ui/dist/components/Portal/Portal.js 0 B -221 B (removed) 🏆
packages/circuit-ui/dist/style.css 20.9 kB -104 B (-0.49%)
packages/circuit-ui/dist/components/Popover/components/PopoverItem.js 424 B +424 B (new file) 🆕
ℹ️ View Unchanged
Filename Size
packages/circuit-ui/dist/components/Anchor/Anchor.js 440 B
packages/circuit-ui/dist/components/AspectRatio/AspectRatio.js 427 B
packages/circuit-ui/dist/components/Avatar/Avatar.js 920 B
packages/circuit-ui/dist/components/Badge/Badge.js 451 B
packages/circuit-ui/dist/components/Body/Body.js 737 B
packages/circuit-ui/dist/components/BodyLarge/BodyLarge.js 325 B
packages/circuit-ui/dist/components/Button/base.js 1.18 kB
packages/circuit-ui/dist/components/Button/Button.js 540 B
packages/circuit-ui/dist/components/Button/IconButton.js 710 B
packages/circuit-ui/dist/components/Button/translations/bg-BG.json.js 107 B
packages/circuit-ui/dist/components/Button/translations/cs-CZ.json.js 98 B
packages/circuit-ui/dist/components/Button/translations/da-DK.json.js 93 B
packages/circuit-ui/dist/components/Button/translations/de-AT.json.js 91 B
packages/circuit-ui/dist/components/Button/translations/de-CH.json.js 91 B
packages/circuit-ui/dist/components/Button/translations/de-DE.json.js 91 B
packages/circuit-ui/dist/components/Button/translations/de-LU.json.js 91 B
packages/circuit-ui/dist/components/Button/translations/el-CY.json.js 102 B
packages/circuit-ui/dist/components/Button/translations/el-GR.json.js 102 B
packages/circuit-ui/dist/components/Button/translations/en-AU.json.js 90 B
packages/circuit-ui/dist/components/Button/translations/en-GB.json.js 90 B
packages/circuit-ui/dist/components/Button/translations/en-IE.json.js 90 B
packages/circuit-ui/dist/components/Button/translations/en-MT.json.js 90 B
packages/circuit-ui/dist/components/Button/translations/en-US.json.js 90 B
packages/circuit-ui/dist/components/Button/translations/es-CL.json.js 95 B
packages/circuit-ui/dist/components/Button/translations/es-CO.json.js 95 B
packages/circuit-ui/dist/components/Button/translations/es-ES.json.js 95 B
packages/circuit-ui/dist/components/Button/translations/es-MX.json.js 95 B
packages/circuit-ui/dist/components/Button/translations/es-PE.json.js 95 B
packages/circuit-ui/dist/components/Button/translations/es-US.json.js 95 B
packages/circuit-ui/dist/components/Button/translations/et-EE.json.js 91 B
packages/circuit-ui/dist/components/Button/translations/fi-FI.json.js 95 B
packages/circuit-ui/dist/components/Button/translations/fr-BE.json.js 97 B
packages/circuit-ui/dist/components/Button/translations/fr-CH.json.js 97 B
packages/circuit-ui/dist/components/Button/translations/fr-FR.json.js 97 B
packages/circuit-ui/dist/components/Button/translations/fr-LU.json.js 97 B
packages/circuit-ui/dist/components/Button/translations/hr-HR.json.js 98 B
packages/circuit-ui/dist/components/Button/translations/hu-HU.json.js 97 B
packages/circuit-ui/dist/components/Button/translations/index.js 881 B
packages/circuit-ui/dist/components/Button/translations/it-CH.json.js 101 B
packages/circuit-ui/dist/components/Button/translations/it-IT.json.js 101 B
packages/circuit-ui/dist/components/Button/translations/lt-LT.json.js 95 B
packages/circuit-ui/dist/components/Button/translations/lv-LV.json.js 94 B
packages/circuit-ui/dist/components/Button/translations/nb-NO.json.js 93 B
packages/circuit-ui/dist/components/Button/translations/nl-BE.json.js 92 B
packages/circuit-ui/dist/components/Button/translations/nl-NL.json.js 92 B
packages/circuit-ui/dist/components/Button/translations/pl-PL.json.js 100 B
packages/circuit-ui/dist/components/Button/translations/pt-BR.json.js 97 B
packages/circuit-ui/dist/components/Button/translations/pt-PT.json.js 97 B
packages/circuit-ui/dist/components/Button/translations/ro-RO.json.js 99 B
packages/circuit-ui/dist/components/Button/translations/sk-SK.json.js 113 B
packages/circuit-ui/dist/components/Button/translations/sl-SI.json.js 96 B
packages/circuit-ui/dist/components/Button/translations/sv-SE.json.js 94 B
packages/circuit-ui/dist/components/ButtonGroup/ButtonGroup.js 586 B
packages/circuit-ui/dist/components/Calendar/Calendar.js 2.92 kB
packages/circuit-ui/dist/components/Calendar/CalendarService.js 1.63 kB
packages/circuit-ui/dist/components/Calendar/translations/bg-BG.json.js 158 B
packages/circuit-ui/dist/components/Calendar/translations/cs-CZ.json.js 139 B
packages/circuit-ui/dist/components/Calendar/translations/da-DK.json.js 133 B
packages/circuit-ui/dist/components/Calendar/translations/de-AT.json.js 137 B
packages/circuit-ui/dist/components/Calendar/translations/de-CH.json.js 137 B
packages/circuit-ui/dist/components/Calendar/translations/de-DE.json.js 137 B
packages/circuit-ui/dist/components/Calendar/translations/de-LU.json.js 136 B
packages/circuit-ui/dist/components/Calendar/translations/el-CY.json.js 158 B
packages/circuit-ui/dist/components/Calendar/translations/el-GR.json.js 158 B
packages/circuit-ui/dist/components/Calendar/translations/en-AU.json.js 130 B
packages/circuit-ui/dist/components/Calendar/translations/en-GB.json.js 129 B
packages/circuit-ui/dist/components/Calendar/translations/en-IE.json.js 130 B
packages/circuit-ui/dist/components/Calendar/translations/en-MT.json.js 129 B
packages/circuit-ui/dist/components/Calendar/translations/en-US.json.js 130 B
packages/circuit-ui/dist/components/Calendar/translations/es-CL.json.js 128 B
packages/circuit-ui/dist/components/Calendar/translations/es-CO.json.js 129 B
packages/circuit-ui/dist/components/Calendar/translations/es-ES.json.js 130 B
packages/circuit-ui/dist/components/Calendar/translations/es-MX.json.js 128 B
packages/circuit-ui/dist/components/Calendar/translations/es-PE.json.js 130 B
packages/circuit-ui/dist/components/Calendar/translations/es-US.json.js 130 B
packages/circuit-ui/dist/components/Calendar/translations/et-EE.json.js 130 B
packages/circuit-ui/dist/components/Calendar/translations/fi-FI.json.js 135 B
packages/circuit-ui/dist/components/Calendar/translations/fr-BE.json.js 135 B
packages/circuit-ui/dist/components/Calendar/translations/fr-CH.json.js 135 B
packages/circuit-ui/dist/components/Calendar/translations/fr-FR.json.js 135 B
packages/circuit-ui/dist/components/Calendar/translations/fr-LU.json.js 135 B
packages/circuit-ui/dist/components/Calendar/translations/hr-HR.json.js 138 B
packages/circuit-ui/dist/components/Calendar/translations/hu-HU.json.js 137 B
packages/circuit-ui/dist/components/Calendar/translations/index.js 881 B
packages/circuit-ui/dist/components/Calendar/translations/it-CH.json.js 132 B
packages/circuit-ui/dist/components/Calendar/translations/it-IT.json.js 132 B
packages/circuit-ui/dist/components/Calendar/translations/lt-LT.json.js 134 B
packages/circuit-ui/dist/components/Calendar/translations/lv-LV.json.js 145 B
packages/circuit-ui/dist/components/Calendar/translations/nb-NO.json.js 131 B
packages/circuit-ui/dist/components/Calendar/translations/nl-BE.json.js 126 B
packages/circuit-ui/dist/components/Calendar/translations/nl-NL.json.js 126 B
packages/circuit-ui/dist/components/Calendar/translations/pl-PL.json.js 141 B
packages/circuit-ui/dist/components/Calendar/translations/pt-BR.json.js 133 B
packages/circuit-ui/dist/components/Calendar/translations/pt-PT.json.js 134 B
packages/circuit-ui/dist/components/Calendar/translations/ro-RO.json.js 135 B
packages/circuit-ui/dist/components/Calendar/translations/sk-SK.json.js 144 B
packages/circuit-ui/dist/components/Calendar/translations/sl-SI.json.js 135 B
packages/circuit-ui/dist/components/Calendar/translations/sv-SE.json.js 140 B
packages/circuit-ui/dist/components/Card/Card.js 284 B
packages/circuit-ui/dist/components/Card/components/Footer/Footer.js 300 B
packages/circuit-ui/dist/components/Card/components/Header/Header.js 427 B
packages/circuit-ui/dist/components/Carousel/Carousel.js 1.24 kB
packages/circuit-ui/dist/components/Carousel/components/Buttons/Buttons.js 377 B
packages/circuit-ui/dist/components/Carousel/components/Container/Container.js 204 B
packages/circuit-ui/dist/components/Carousel/components/Controls/Controls.js 203 B
packages/circuit-ui/dist/components/Carousel/components/Slide/Slide.js 619 B
packages/circuit-ui/dist/components/Carousel/components/Slide/SlideService.js 350 B
packages/circuit-ui/dist/components/Carousel/components/SlideImage/SlideImage.js 294 B
packages/circuit-ui/dist/components/Carousel/components/Slides/Slides.js 224 B
packages/circuit-ui/dist/components/Carousel/components/Status/Status.js 279 B
packages/circuit-ui/dist/components/Carousel/constants.js 223 B
packages/circuit-ui/dist/components/Carousel/index.js 235 B
packages/circuit-ui/dist/components/Checkbox/Checkbox.js 1.02 kB
packages/circuit-ui/dist/components/Checkbox/IndeterminateIcon.js 270 B
packages/circuit-ui/dist/components/CheckboxGroup/CheckboxGroup.js 904 B
packages/circuit-ui/dist/components/CloseButton/CloseButton.js 286 B
packages/circuit-ui/dist/components/ColorInput/ColorInput.js 1.38 kB
packages/circuit-ui/dist/components/ColorInput/ColorInputService.js 291 B
packages/circuit-ui/dist/components/Compact/Compact.js 317 B
packages/circuit-ui/dist/components/ComponentsContext/components/Link/Link.js 191 B
packages/circuit-ui/dist/components/ComponentsContext/ComponentsContext.js 154 B
packages/circuit-ui/dist/components/ComponentsContext/useComponents.js 172 B
packages/circuit-ui/dist/components/CurrencyInput/CurrencyInput.js 914 B
packages/circuit-ui/dist/components/CurrencyInput/CurrencyInputService.js 165 B
packages/circuit-ui/dist/components/DateInput/components/DateSegment.js 1.17 kB
packages/circuit-ui/dist/components/DateInput/DateInput.js 3 kB
packages/circuit-ui/dist/components/DateInput/DateInputService.js 333 B
packages/circuit-ui/dist/components/DateInput/hooks/usePlainDateState.js 1.16 kB
packages/circuit-ui/dist/components/DateInput/hooks/useSegmentFocus.js 391 B
packages/circuit-ui/dist/components/DateInput/translations/bg-BG.json.js 288 B
packages/circuit-ui/dist/components/DateInput/translations/cs-CZ.json.js 240 B
packages/circuit-ui/dist/components/DateInput/translations/da-DK.json.js 222 B
packages/circuit-ui/dist/components/DateInput/translations/de-AT.json.js 237 B
packages/circuit-ui/dist/components/DateInput/translations/de-CH.json.js 235 B
packages/circuit-ui/dist/components/DateInput/translations/de-DE.json.js 236 B
packages/circuit-ui/dist/components/DateInput/translations/de-LU.json.js 237 B
packages/circuit-ui/dist/components/DateInput/translations/el-CY.json.js 296 B
packages/circuit-ui/dist/components/DateInput/translations/el-GR.json.js 296 B
packages/circuit-ui/dist/components/DateInput/translations/en-AU.json.js 212 B
packages/circuit-ui/dist/components/DateInput/translations/en-GB.json.js 212 B
packages/circuit-ui/dist/components/DateInput/translations/en-IE.json.js 212 B
packages/circuit-ui/dist/components/DateInput/translations/en-MT.json.js 212 B
packages/circuit-ui/dist/components/DateInput/translations/en-US.json.js 213 B
packages/circuit-ui/dist/components/DateInput/translations/es-CL.json.js 227 B
packages/circuit-ui/dist/components/DateInput/translations/es-CO.json.js 225 B
packages/circuit-ui/dist/components/DateInput/translations/es-ES.json.js 226 B
packages/circuit-ui/dist/components/DateInput/translations/es-MX.json.js 225 B
packages/circuit-ui/dist/components/DateInput/translations/es-PE.json.js 226 B
packages/circuit-ui/dist/components/DateInput/translations/es-US.json.js 226 B
packages/circuit-ui/dist/components/DateInput/translations/et-EE.json.js 235 B
packages/circuit-ui/dist/components/DateInput/translations/fi-FI.json.js 245 B
packages/circuit-ui/dist/components/DateInput/translations/fr-BE.json.js 236 B
packages/circuit-ui/dist/components/DateInput/translations/fr-CH.json.js 236 B
packages/circuit-ui/dist/components/DateInput/translations/fr-FR.json.js 237 B
packages/circuit-ui/dist/components/DateInput/translations/fr-LU.json.js 237 B
packages/circuit-ui/dist/components/DateInput/translations/hr-HR.json.js 234 B
packages/circuit-ui/dist/components/DateInput/translations/hu-HU.json.js 248 B
packages/circuit-ui/dist/components/DateInput/translations/index.js 881 B
packages/circuit-ui/dist/components/DateInput/translations/it-CH.json.js 226 B
packages/circuit-ui/dist/components/DateInput/translations/it-IT.json.js 226 B
packages/circuit-ui/dist/components/DateInput/translations/lt-LT.json.js 242 B
packages/circuit-ui/dist/components/DateInput/translations/lv-LV.json.js 244 B
packages/circuit-ui/dist/components/DateInput/translations/nb-NO.json.js 223 B
packages/circuit-ui/dist/components/DateInput/translations/nl-BE.json.js 219 B
packages/circuit-ui/dist/components/DateInput/translations/nl-NL.json.js 219 B
packages/circuit-ui/dist/components/DateInput/translations/pl-PL.json.js 232 B
packages/circuit-ui/dist/components/DateInput/translations/pt-BR.json.js 221 B
packages/circuit-ui/dist/components/DateInput/translations/pt-PT.json.js 226 B
packages/circuit-ui/dist/components/DateInput/translations/ro-RO.json.js 235 B
packages/circuit-ui/dist/components/DateInput/translations/sk-SK.json.js 238 B
packages/circuit-ui/dist/components/DateInput/translations/sl-SI.json.js 229 B
packages/circuit-ui/dist/components/DateInput/translations/sv-SE.json.js 229 B
packages/circuit-ui/dist/components/Dialog/DialogService.js 328 B
packages/circuit-ui/dist/components/Display/Display.js 617 B
packages/circuit-ui/dist/components/Field/Field.js 1.03 kB
packages/circuit-ui/dist/components/Field/FieldService.js 173 B
packages/circuit-ui/dist/components/Hamburger/Hamburger.js 786 B
packages/circuit-ui/dist/components/Headline/Headline.js 603 B
packages/circuit-ui/dist/components/Hr/Hr.js 290 B
packages/circuit-ui/dist/components/Image/Image.js 320 B
packages/circuit-ui/dist/components/ImageInput/ImageInput.js 1.66 kB
packages/circuit-ui/dist/components/Input/Input.js 1.03 kB
packages/circuit-ui/dist/components/legacy/Grid/Col/Col.js 672 B
packages/circuit-ui/dist/components/legacy/Grid/constants.js 93 B
packages/circuit-ui/dist/components/legacy/Grid/Grid/Grid.js 325 B
packages/circuit-ui/dist/components/legacy/Grid/Row/Row.js 319 B
packages/circuit-ui/dist/components/legacy/Grid/utils.js 499 B
packages/circuit-ui/dist/components/legacy/InlineElements/InlineElements.js 718 B
packages/circuit-ui/dist/components/legacy/Tooltip/Tooltip.js 759 B
packages/circuit-ui/dist/components/List/List.js 476 B
packages/circuit-ui/dist/components/ListItem/ListItem.js 1.12 kB
packages/circuit-ui/dist/components/ListItemGroup/ListItemGroup.js 1.01 kB
packages/circuit-ui/dist/components/Modal/createUseModal.js 351 B
packages/circuit-ui/dist/components/Modal/index.js 114 B
packages/circuit-ui/dist/components/Modal/Modal.js 869 B
packages/circuit-ui/dist/components/Modal/ModalContext.js 684 B
packages/circuit-ui/dist/components/Modal/translations/bg-BG.json.js 108 B
packages/circuit-ui/dist/components/Modal/translations/cs-CZ.json.js 100 B
packages/circuit-ui/dist/components/Modal/translations/da-DK.json.js 96 B
packages/circuit-ui/dist/components/Modal/translations/de-AT.json.js 103 B
packages/circuit-ui/dist/components/Modal/translations/de-CH.json.js 103 B
packages/circuit-ui/dist/components/Modal/translations/de-DE.json.js 103 B
packages/circuit-ui/dist/components/Modal/translations/de-LU.json.js 103 B
packages/circuit-ui/dist/components/Modal/translations/el-CY.json.js 111 B
packages/circuit-ui/dist/components/Modal/translations/el-GR.json.js 111 B
packages/circuit-ui/dist/components/Modal/translations/en-AU.json.js 96 B
packages/circuit-ui/dist/components/Modal/translations/en-GB.json.js 96 B
packages/circuit-ui/dist/components/Modal/translations/en-IE.json.js 96 B
packages/circuit-ui/dist/components/Modal/translations/en-MT.json.js 96 B
packages/circuit-ui/dist/components/Modal/translations/en-US.json.js 96 B
packages/circuit-ui/dist/components/Modal/translations/es-CL.json.js 99 B
packages/circuit-ui/dist/components/Modal/translations/es-CO.json.js 99 B
packages/circuit-ui/dist/components/Modal/translations/es-ES.json.js 99 B
packages/circuit-ui/dist/components/Modal/translations/es-MX.json.js 99 B
packages/circuit-ui/dist/components/Modal/translations/es-PE.json.js 99 B
packages/circuit-ui/dist/components/Modal/translations/es-US.json.js 99 B
packages/circuit-ui/dist/components/Modal/translations/et-EE.json.js 98 B
packages/circuit-ui/dist/components/Modal/translations/fi-FI.json.js 98 B
packages/circuit-ui/dist/components/Modal/translations/fr-BE.json.js 99 B
packages/circuit-ui/dist/components/Modal/translations/fr-CH.json.js 99 B
packages/circuit-ui/dist/components/Modal/translations/fr-FR.json.js 99 B
packages/circuit-ui/dist/components/Modal/translations/fr-LU.json.js 99 B
packages/circuit-ui/dist/components/Modal/translations/hr-HR.json.js 100 B
packages/circuit-ui/dist/components/Modal/translations/hu-HU.json.js 102 B
packages/circuit-ui/dist/components/Modal/translations/index.js 881 B
packages/circuit-ui/dist/components/Modal/translations/it-CH.json.js 99 B
packages/circuit-ui/dist/components/Modal/translations/it-IT.json.js 99 B
packages/circuit-ui/dist/components/Modal/translations/lt-LT.json.js 102 B
packages/circuit-ui/dist/components/Modal/translations/lv-LV.json.js 101 B
packages/circuit-ui/dist/components/Modal/translations/nb-NO.json.js 97 B
packages/circuit-ui/dist/components/Modal/translations/nl-BE.json.js 98 B
packages/circuit-ui/dist/components/Modal/translations/nl-NL.json.js 100 B
packages/circuit-ui/dist/components/Modal/translations/pl-PL.json.js 100 B
packages/circuit-ui/dist/components/Modal/translations/pt-BR.json.js 99 B
packages/circuit-ui/dist/components/Modal/translations/pt-PT.json.js 99 B
packages/circuit-ui/dist/components/Modal/translations/ro-RO.json.js 101 B
packages/circuit-ui/dist/components/Modal/translations/sk-SK.json.js 102 B
packages/circuit-ui/dist/components/Modal/translations/sl-SI.json.js 98 B
packages/circuit-ui/dist/components/Modal/translations/sv-SE.json.js 99 B
packages/circuit-ui/dist/components/ModalContext/createUseModal.js 323 B
packages/circuit-ui/dist/components/ModalContext/ModalContext.js 513 B
packages/circuit-ui/dist/components/Notification/constants.js 169 B
packages/circuit-ui/dist/components/NotificationBanner/NotificationBanner.js 1.19 kB
packages/circuit-ui/dist/components/NotificationFullscreen/NotificationFullscreen.js 626 B
packages/circuit-ui/dist/components/NotificationInline/NotificationInline.js 1.12 kB
packages/circuit-ui/dist/components/NotificationModal/NotificationModal.js 1.05 kB
packages/circuit-ui/dist/components/NotificationModal/useNotificationModal.js 131 B
packages/circuit-ui/dist/components/NotificationToast/NotificationToast.js 1.06 kB
packages/circuit-ui/dist/components/Numeral/Numeral.js 294 B
packages/circuit-ui/dist/components/Pagination/components/PageList/PageList.js 470 B
packages/circuit-ui/dist/components/Pagination/components/PageSelect/PageSelect.js 505 B
packages/circuit-ui/dist/components/Pagination/Pagination.js 842 B
packages/circuit-ui/dist/components/Pagination/PaginationService.js 133 B
packages/circuit-ui/dist/components/PercentageInput/PercentageInput.js 805 B
packages/circuit-ui/dist/components/PercentageInput/PercentageInputService.js 165 B
packages/circuit-ui/dist/components/PhoneNumberInput/PhoneNumberInput.js 1.79 kB
packages/circuit-ui/dist/components/PhoneNumberInput/PhoneNumberInputService.js 665 B
packages/circuit-ui/dist/components/ProgressBar/ProgressBar.js 1 kB
packages/circuit-ui/dist/components/RadioButton/RadioButton.js 879 B
packages/circuit-ui/dist/components/RadioButtonGroup/RadioButtonGroup.js 1.02 kB
packages/circuit-ui/dist/components/SearchInput/SearchInput.js 746 B
packages/circuit-ui/dist/components/Select/Select.js 1.14 kB
packages/circuit-ui/dist/components/Selector/Selector.js 1.15 kB
packages/circuit-ui/dist/components/SelectorGroup/SelectorGroup.js 1.09 kB
packages/circuit-ui/dist/components/SideNavigation/components/DesktopNavigation/DesktopNavigation.js 729 B
packages/circuit-ui/dist/components/SideNavigation/components/MobileNavigation/MobileNavigation.js 1.25 kB
packages/circuit-ui/dist/components/SideNavigation/components/PrimaryLink/PrimaryLink.js 997 B
packages/circuit-ui/dist/components/SideNavigation/components/SecondaryLinks/SecondaryLinks.js 895 B
packages/circuit-ui/dist/components/SideNavigation/SideNavigation.js 698 B
packages/circuit-ui/dist/components/SidePanel/components/DesktopSidePanel/DesktopSidePanel.js 442 B
packages/circuit-ui/dist/components/SidePanel/components/Header/Header.js 466 B
packages/circuit-ui/dist/components/SidePanel/components/MobileSidePanel/MobileSidePanel.js 434 B
packages/circuit-ui/dist/components/SidePanel/constants.js 114 B
packages/circuit-ui/dist/components/SidePanel/SidePanel.js 1.14 kB
packages/circuit-ui/dist/components/SidePanel/SidePanelContext.js 1.71 kB
packages/circuit-ui/dist/components/SidePanel/useSidePanel.js 511 B
packages/circuit-ui/dist/components/Skeleton/Skeleton.js 521 B
packages/circuit-ui/dist/components/SkipLink/SkipLink.js 202 B
packages/circuit-ui/dist/components/Spinner/Spinner.js 458 B
packages/circuit-ui/dist/components/StackContext/StackContext.js 133 B
packages/circuit-ui/dist/components/Step/hooks/useStep.js 1.16 kB
packages/circuit-ui/dist/components/Step/Step.js 248 B
packages/circuit-ui/dist/components/Step/StepService.js 625 B
packages/circuit-ui/dist/components/SubHeadline/SubHeadline.js 328 B
packages/circuit-ui/dist/components/Table/components/SortArrow/SortArrow.js 405 B
packages/circuit-ui/dist/components/Table/components/TableBody/TableBody.js 521 B
packages/circuit-ui/dist/components/Table/components/TableCell/TableCell.js 383 B
packages/circuit-ui/dist/components/Table/components/TableHead/TableHead.js 653 B
packages/circuit-ui/dist/components/Table/components/TableHeader/TableHeader.js 650 B
packages/circuit-ui/dist/components/Table/components/TableRow/TableRow.js 260 B
packages/circuit-ui/dist/components/Table/Table.js 1.43 kB
packages/circuit-ui/dist/components/Table/utils.js 675 B
packages/circuit-ui/dist/components/Tabs/components/Tab/Tab.js 406 B
packages/circuit-ui/dist/components/Tabs/components/TabList/TabList.js 499 B
packages/circuit-ui/dist/components/Tabs/components/TabPanel/TabPanel.js 265 B
packages/circuit-ui/dist/components/Tabs/Tabs.js 978 B
packages/circuit-ui/dist/components/Tag/Tag.js 917 B
packages/circuit-ui/dist/components/TextArea/TextArea.js 388 B
packages/circuit-ui/dist/components/TextArea/useAutoExpand.js 576 B
packages/circuit-ui/dist/components/Title/Title.js 295 B
packages/circuit-ui/dist/components/ToastContext/createUseToast.js 256 B
packages/circuit-ui/dist/components/ToastContext/ToastContext.js 944 B
packages/circuit-ui/dist/components/Toggle/Toggle.js 897 B
packages/circuit-ui/dist/components/Toggletip/Toggletip.js 1.57 kB
packages/circuit-ui/dist/components/Toggletip/translations/bg-BG.json.js 108 B
packages/circuit-ui/dist/components/Toggletip/translations/cs-CZ.json.js 100 B
packages/circuit-ui/dist/components/Toggletip/translations/da-DK.json.js 96 B
packages/circuit-ui/dist/components/Toggletip/translations/de-AT.json.js 103 B
packages/circuit-ui/dist/components/Toggletip/translations/de-CH.json.js 103 B
packages/circuit-ui/dist/components/Toggletip/translations/de-DE.json.js 103 B
packages/circuit-ui/dist/components/Toggletip/translations/de-LU.json.js 103 B
packages/circuit-ui/dist/components/Toggletip/translations/el-CY.json.js 111 B
packages/circuit-ui/dist/components/Toggletip/translations/el-GR.json.js 111 B
packages/circuit-ui/dist/components/Toggletip/translations/en-AU.json.js 96 B
packages/circuit-ui/dist/components/Toggletip/translations/en-GB.json.js 96 B
packages/circuit-ui/dist/components/Toggletip/translations/en-IE.json.js 96 B
packages/circuit-ui/dist/components/Toggletip/translations/en-MT.json.js 96 B
packages/circuit-ui/dist/components/Toggletip/translations/en-US.json.js 96 B
packages/circuit-ui/dist/components/Toggletip/translations/es-CL.json.js 99 B
packages/circuit-ui/dist/components/Toggletip/translations/es-CO.json.js 99 B
packages/circuit-ui/dist/components/Toggletip/translations/es-ES.json.js 99 B
packages/circuit-ui/dist/components/Toggletip/translations/es-MX.json.js 99 B
packages/circuit-ui/dist/components/Toggletip/translations/es-PE.json.js 99 B
packages/circuit-ui/dist/components/Toggletip/translations/es-US.json.js 99 B
packages/circuit-ui/dist/components/Toggletip/translations/et-EE.json.js 98 B
packages/circuit-ui/dist/components/Toggletip/translations/fi-FI.json.js 98 B
packages/circuit-ui/dist/components/Toggletip/translations/fr-BE.json.js 99 B
packages/circuit-ui/dist/components/Toggletip/translations/fr-CH.json.js 99 B
packages/circuit-ui/dist/components/Toggletip/translations/fr-FR.json.js 99 B
packages/circuit-ui/dist/components/Toggletip/translations/fr-LU.json.js 99 B
packages/circuit-ui/dist/components/Toggletip/translations/hr-HR.json.js 100 B
packages/circuit-ui/dist/components/Toggletip/translations/hu-HU.json.js 102 B
packages/circuit-ui/dist/components/Toggletip/translations/index.js 881 B
packages/circuit-ui/dist/components/Toggletip/translations/it-CH.json.js 99 B
packages/circuit-ui/dist/components/Toggletip/translations/it-IT.json.js 99 B
packages/circuit-ui/dist/components/Toggletip/translations/lt-LT.json.js 102 B
packages/circuit-ui/dist/components/Toggletip/translations/lv-LV.json.js 101 B
packages/circuit-ui/dist/components/Toggletip/translations/nb-NO.json.js 97 B
packages/circuit-ui/dist/components/Toggletip/translations/nl-BE.json.js 98 B
packages/circuit-ui/dist/components/Toggletip/translations/nl-NL.json.js 100 B
packages/circuit-ui/dist/components/Toggletip/translations/pl-PL.json.js 100 B
packages/circuit-ui/dist/components/Toggletip/translations/pt-BR.json.js 99 B
packages/circuit-ui/dist/components/Toggletip/translations/pt-PT.json.js 99 B
packages/circuit-ui/dist/components/Toggletip/translations/ro-RO.json.js 101 B
packages/circuit-ui/dist/components/Toggletip/translations/sk-SK.json.js 102 B
packages/circuit-ui/dist/components/Toggletip/translations/sl-SI.json.js 98 B
packages/circuit-ui/dist/components/Toggletip/translations/sv-SE.json.js 99 B
packages/circuit-ui/dist/components/Tooltip/Tooltip.js 1.69 kB
packages/circuit-ui/dist/components/TopNavigation/components/ProfileMenu/ProfileMenu.js 989 B
packages/circuit-ui/dist/components/TopNavigation/components/UtilityLinks/UtilityLinks.js 646 B
packages/circuit-ui/dist/components/TopNavigation/TopNavigation.js 724 B
packages/circuit-ui/dist/experimental.js 34 B
packages/circuit-ui/dist/hooks/useAnimation/useAnimation.js 311 B
packages/circuit-ui/dist/hooks/useClickOutside/useClickOutside.js 412 B
packages/circuit-ui/dist/hooks/useCollapsible/useCollapsible.js 754 B
packages/circuit-ui/dist/hooks/useComponentSize/useComponentSize.js 472 B
packages/circuit-ui/dist/hooks/useEscapeKey/useEscapeKey.js 278 B
packages/circuit-ui/dist/hooks/useFocusList/useFocusList.js 436 B
packages/circuit-ui/dist/hooks/useI18n/useI18n.js 297 B
packages/circuit-ui/dist/hooks/useLatest/useLatest.js 211 B
packages/circuit-ui/dist/hooks/useLocale/useLocale.js 389 B
packages/circuit-ui/dist/hooks/useMedia/useMedia.js 254 B
packages/circuit-ui/dist/hooks/usePrevious/usePrevious.js 214 B
packages/circuit-ui/dist/hooks/useScrollLock/useScrollLock.js 434 B
packages/circuit-ui/dist/hooks/useStack/useStack.js 620 B
packages/circuit-ui/dist/hooks/useSwipe/useSwipe.js 455 B
packages/circuit-ui/dist/index.js 1.42 kB
packages/circuit-ui/dist/legacy.js 356 B
packages/circuit-ui/dist/styles/clsx.js 126 B
packages/circuit-ui/dist/styles/is-prop-valid.js 114 B
packages/circuit-ui/dist/styles/shared.js 209 B
packages/circuit-ui/dist/styles/style-mixins.js 1.39 kB
packages/circuit-ui/dist/styles/styled.js 100 B
packages/circuit-ui/dist/styles/utility.js 188 B
packages/circuit-ui/dist/util/date.js 685 B
packages/circuit-ui/dist/util/env.js 166 B
packages/circuit-ui/dist/util/errors.js 658 B
packages/circuit-ui/dist/util/helpers.js 699 B
packages/circuit-ui/dist/util/i18n.js 708 B
packages/circuit-ui/dist/util/id.js 127 B
packages/circuit-ui/dist/util/input-value.js 254 B
packages/circuit-ui/dist/util/key-codes.js 185 B
packages/circuit-ui/dist/util/logger.js 237 B
packages/circuit-ui/dist/util/promises.js 93 B
packages/circuit-ui/dist/util/refs.js 176 B
packages/circuit-ui/dist/util/type-check.js 205 B
packages/circuit-ui/dist/vendor/dialog-polyfill/index.js 5.76 kB
packages/design-tokens/dist/cjs/index.js 1.27 kB
packages/design-tokens/dist/cjs/scripts/build.js 1.79 kB
packages/design-tokens/dist/cjs/themes/dark.js 1.55 kB
packages/design-tokens/dist/cjs/themes/fonts.js 1.06 kB
packages/design-tokens/dist/cjs/themes/legacy/light.js 1.5 kB
packages/design-tokens/dist/cjs/themes/light.js 1.62 kB
packages/design-tokens/dist/cjs/themes/schema.js 1.93 kB
packages/design-tokens/dist/cjs/themes/shared.js 1.55 kB
packages/design-tokens/dist/cjs/types/index.js 439 B
packages/design-tokens/dist/cjs/utils/theme-prop-type.js 1.29 kB
packages/design-tokens/dist/es/index.js 676 B
packages/design-tokens/dist/es/scripts/build.js 1.61 kB
packages/design-tokens/dist/es/themes/dark.js 1.49 kB
packages/design-tokens/dist/es/themes/fonts.js 1 kB
packages/design-tokens/dist/es/themes/legacy/light.js 1.4 kB
packages/design-tokens/dist/es/themes/light.js 1.56 kB
packages/design-tokens/dist/es/themes/schema.js 1.87 kB
packages/design-tokens/dist/es/themes/shared.js 1.49 kB
packages/design-tokens/dist/es/types/index.js 392 B
packages/design-tokens/dist/es/utils/theme-prop-type.js 1.14 kB
packages/icons/dist/Accessibility.js 1.19 kB
packages/icons/dist/Account.js 1.39 kB
packages/icons/dist/Accounting.js 1.25 kB
packages/icons/dist/ActivateCard.js 1.47 kB
packages/icons/dist/Active.js 1.09 kB
packages/icons/dist/Add.js 1.2 kB
packages/icons/dist/AddEmployees.js 1.07 kB
packages/icons/dist/AddItems.js 1.02 kB
packages/icons/dist/Alarm.js 1.59 kB
packages/icons/dist/Alelo.js 1.66 kB
packages/icons/dist/Alert.js 1.19 kB
packages/icons/dist/AlternativePaymentMethod.js 1.9 kB
packages/icons/dist/AmericanExpress.js 2.73 kB
packages/icons/dist/Apm.js 1.4 kB
packages/icons/dist/ApplePay.js 2.23 kB
packages/icons/dist/Apps.js 1.26 kB
packages/icons/dist/Archive.js 960 B
packages/icons/dist/Area.js 1.06 kB
packages/icons/dist/ArrowDown.js 1.01 kB
packages/icons/dist/ArrowLeft.js 1.1 kB
packages/icons/dist/ArrowRight.js 1.13 kB
packages/icons/dist/ArrowSlanted.js 1.36 kB
packages/icons/dist/ArrowUp.js 1.01 kB
packages/icons/dist/Article.js 1.39 kB
packages/icons/dist/Atm.js 1.04 kB
packages/icons/dist/Attachment.js 1.14 kB
packages/icons/dist/AutomaticBalanceTransfer.js 1.1 kB
packages/icons/dist/BancoEstado.js 2.53 kB
packages/icons/dist/Bancontact.js 4.64 kB
packages/icons/dist/Bank.js 978 B
packages/icons/dist/Barcode.js 1.06 kB
packages/icons/dist/Basket.js 1.07 kB
packages/icons/dist/Battery.js 1.25 kB
packages/icons/dist/BatteryAlert.js 1.1 kB
packages/icons/dist/Bitcoin.js 1.42 kB
packages/icons/dist/Blik.js 2.3 kB
packages/icons/dist/Bluetooth.js 1.59 kB
packages/icons/dist/Boleto.js 3.08 kB
packages/icons/dist/Briefcase.js 1.11 kB
packages/icons/dist/BrowserSecure.js 1.08 kB
packages/icons/dist/Cafe.js 1.03 kB
packages/icons/dist/Calendar.js 1.02 kB
packages/icons/dist/Callback.js 1.73 kB
packages/icons/dist/Camera.js 1.12 kB
packages/icons/dist/CardIn.js 1.52 kB
packages/icons/dist/CardOut.js 1.47 kB
packages/icons/dist/CardReaderAir.js 1 kB
packages/icons/dist/CardReaderSolo.js 967 B
packages/icons/dist/CardReaderSoloLite.js 1.02 kB
packages/icons/dist/CardSecurity.js 1.08 kB
packages/icons/dist/CardUnknown.js 1.74 kB
packages/icons/dist/Cash.js 1.04 kB
packages/icons/dist/CashAdvance.js 1.14 kB
packages/icons/dist/CashStack.js 1.04 kB
packages/icons/dist/Challenge.js 1.01 kB
packages/icons/dist/Checkmark.js 1.26 kB
packages/icons/dist/Checkout.js 988 B
packages/icons/dist/Cheque.js 1.36 kB
packages/icons/dist/ChevronDown.js 1.08 kB
packages/icons/dist/ChevronLeft.js 1.07 kB
packages/icons/dist/ChevronRight.js 1.08 kB
packages/icons/dist/ChevronUp.js 1.09 kB
packages/icons/dist/Close.js 1.08 kB
packages/icons/dist/Clothing.js 1.16 kB
packages/icons/dist/ColorCorrection.js 1.1 kB
packages/icons/dist/ColorInversion.js 1.11 kB
packages/icons/dist/Company.js 1.02 kB
packages/icons/dist/Conecs.js 2.55 kB
packages/icons/dist/Confirm.js 1.13 kB
packages/icons/dist/ContactPicker.js 1.37 kB
packages/icons/dist/Cookie.js 1.14 kB
packages/icons/dist/CookiePreferences.js 1.19 kB
packages/icons/dist/Copy.js 979 B
packages/icons/dist/CreditNote.js 1.23 kB
packages/icons/dist/Crop.js 978 B
packages/icons/dist/CustomAmount.js 1.32 kB
packages/icons/dist/Customize.js 1.05 kB
packages/icons/dist/Dankort.js 1.17 kB
packages/icons/dist/Delete.js 1.1 kB
packages/icons/dist/DeliveryNote.js 1.45 kB
packages/icons/dist/DinersClub.js 9.19 kB
packages/icons/dist/DirectDebit.js 1.41 kB
packages/icons/dist/Discount.js 1.64 kB
packages/icons/dist/Discover.js 2.54 kB
packages/icons/dist/Download.js 1.33 kB
packages/icons/dist/DownloadCloud.js 1.08 kB
packages/icons/dist/Drag.js 1.14 kB
packages/icons/dist/DriverLicense.js 1.14 kB
packages/icons/dist/Ec.js 2.82 kB
packages/icons/dist/Edit.js 1.23 kB
packages/icons/dist/Eftpos.js 3.82 kB
packages/icons/dist/ElectronicInvoice.js 1.26 kB
packages/icons/dist/Elo.js 2.13 kB
packages/icons/dist/Elv.js 1.48 kB
packages/icons/dist/Email.js 1.02 kB
packages/icons/dist/EmailChat.js 1.06 kB
packages/icons/dist/Employees.js 1.88 kB
packages/icons/dist/Eps.js 4.12 kB
packages/icons/dist/Expenses.js 1.46 kB
packages/icons/dist/ExternalLink.js 1.13 kB
packages/icons/dist/Facebook.js 1.08 kB
packages/icons/dist/FacebookMessenger.js 1.07 kB
packages/icons/dist/FasterPayments.js 2.4 kB
packages/icons/dist/Favorite.js 1.24 kB
packages/icons/dist/FeeCalculator.js 1.07 kB
packages/icons/dist/FeesSummary.js 1.04 kB
packages/icons/dist/File.js 930 B
packages/icons/dist/Filter.js 1.2 kB
packages/icons/dist/FilterApplied.js 1.49 kB
packages/icons/dist/FlagAe.js 1.21 kB
packages/icons/dist/FlagAr.js 3.61 kB
packages/icons/dist/FlagAt.js 1.2 kB
packages/icons/dist/FlagAu.js 1.67 kB
packages/icons/dist/FlagBe.js 1.21 kB
packages/icons/dist/FlagBg.js 1.2 kB
packages/icons/dist/FlagBr.js 1.43 kB
packages/icons/dist/FlagCa.js 1.46 kB
packages/icons/dist/FlagCh.js 1.25 kB
packages/icons/dist/FlagCl.js 1.26 kB
packages/icons/dist/FlagCo.js 1.16 kB
packages/icons/dist/FlagCy.js 2.19 kB
packages/icons/dist/FlagCz.js 1.24 kB
packages/icons/dist/FlagDe.js 1.22 kB
packages/icons/dist/FlagDk.js 1.21 kB
packages/icons/dist/FlagEe.js 1.19 kB
packages/icons/dist/FlagEs.js 1.19 kB
packages/icons/dist/FlagFi.js 1.21 kB
packages/icons/dist/FlagFr.js 1.22 kB
packages/icons/dist/FlagGb.js 1.83 kB
packages/icons/dist/FlagGr.js 1.2 kB
packages/icons/dist/FlagHk.js 1.48 kB
packages/icons/dist/FlagHr.js 3.37 kB
packages/icons/dist/FlagHu.js 1.2 kB
packages/icons/dist/FlagIe.js 1.21 kB
packages/icons/dist/FlagIt.js 1.22 kB
packages/icons/dist/FlagJa.js 1.19 kB
packages/icons/dist/FlagJp.js 1.16 kB
packages/icons/dist/FlagLt.js 1.2 kB
packages/icons/dist/FlagLu.js 1.2 kB
packages/icons/dist/FlagLv.js 1.17 kB
packages/icons/dist/FlagMt.js 1.67 kB
packages/icons/dist/FlagMx.js 1.24 kB
packages/icons/dist/FlagMy.js 1.3 kB
packages/icons/dist/FlagNl.js 1.21 kB
packages/icons/dist/FlagNo.js 1.31 kB
packages/icons/dist/FlagNz.js 1.41 kB
packages/icons/dist/FlagPe.js 1.11 kB
packages/icons/dist/FlagPl.js 1.19 kB
packages/icons/dist/FlagPt.js 1.42 kB
packages/icons/dist/FlagRo.js 1.15 kB
packages/icons/dist/FlagSe.js 1.26 kB
packages/icons/dist/FlagSg.js 1.21 kB
packages/icons/dist/FlagSi.js 1.71 kB
packages/icons/dist/FlagSk.js 1.63 kB
packages/icons/dist/FlagUs.js 2.01 kB
packages/icons/dist/Flashlight.js 1.13 kB
packages/icons/dist/FlashOff.js 1.13 kB
packages/icons/dist/FlashOn.js 1.03 kB
packages/icons/dist/FlipCamera.js 1.44 kB
packages/icons/dist/Freeze.js 1.94 kB
packages/icons/dist/Gauge.js 1.12 kB
packages/icons/dist/GeneralSettings.js 2.25 kB
packages/icons/dist/GiftCard.js 1.03 kB
packages/icons/dist/Giropay.js 2.34 kB
packages/icons/dist/Globe.js 1.31 kB
packages/icons/dist/GooglePay.js 2.43 kB
packages/icons/dist/Grid.js 959 B
packages/icons/dist/HamburgerMenu.js 937 B
packages/icons/dist/Health.js 1.32 kB
packages/icons/dist/Help.js 1.37 kB
packages/icons/dist/Hide.js 1.19 kB
packages/icons/dist/Hiper.js 1.56 kB
packages/icons/dist/Hipercard.js 3.84 kB
packages/icons/dist/History.js 972 B
packages/icons/dist/Home.js 1 kB
packages/icons/dist/Hospitality.js 1.01 kB
packages/icons/dist/Id.js 1.28 kB
packages/icons/dist/Ideal.js 2.31 kB
packages/icons/dist/Image.js 1.07 kB
packages/icons/dist/index.js 2.68 kB
packages/icons/dist/Info.js 1.05 kB
packages/icons/dist/Instagram.js 1.3 kB
packages/icons/dist/Insurance.js 1.07 kB
packages/icons/dist/InterestOnBalance.js 1.07 kB
packages/icons/dist/Inventory.js 1.27 kB
packages/icons/dist/Invoice.js 989 B
packages/icons/dist/Items.js 1.36 kB
packages/icons/dist/Jcb.js 2.58 kB
packages/icons/dist/Key.js 1.16 kB
packages/icons/dist/Klarna.js 1.88 kB
packages/icons/dist/Language.js 1.16 kB
packages/icons/dist/Laptop.js 969 B
packages/icons/dist/Legal.js 1.08 kB
packages/icons/dist/Like.js 951 B
packages/icons/dist/Link.js 1.16 kB
packages/icons/dist/Linkedin.js 1.12 kB
packages/icons/dist/List.js 980 B
packages/icons/dist/LiveChat.js 977 B
packages/icons/dist/Location.js 1.03 kB
packages/icons/dist/Login.js 1 kB
packages/icons/dist/Logout.js 1.01 kB
packages/icons/dist/Loja.js 1.01 kB
packages/icons/dist/Maestro.js 2.63 kB
packages/icons/dist/Manage.js 1.05 kB
packages/icons/dist/Mastercard.js 2.5 kB
packages/icons/dist/Mcc.js 1.13 kB
packages/icons/dist/MealVoucher.js 1.54 kB
packages/icons/dist/Messenger.js 1.11 kB
packages/icons/dist/Minus.js 994 B
packages/icons/dist/MobilePhone.js 962 B
packages/icons/dist/Moon.js 985 B
packages/icons/dist/More.js 931 B
packages/icons/dist/MoreCircle.js 1.67 kB
packages/icons/dist/Mybank.js 2.56 kB
packages/icons/dist/Nfc.js 1.27 kB
packages/icons/dist/NfcPayment.js 2.68 kB
packages/icons/dist/NoCosts.js 1.67 kB
packages/icons/dist/NoSim.js 1.11 kB
packages/icons/dist/NotificationCenter.js 989 B
packages/icons/dist/Notify.js 1.22 kB
packages/icons/dist/NotifyCircle.js 1.07 kB
packages/icons/dist/OnlinePayments.js 1.22 kB
packages/icons/dist/OnlineStore.js 1.03 kB
packages/icons/dist/Orders.js 1.58 kB
packages/icons/dist/Package.js 1.06 kB
packages/icons/dist/PaidOut.js 1.25 kB
packages/icons/dist/ParcelLocker.js 1.21 kB
packages/icons/dist/Passport.js 993 B
packages/icons/dist/Pause.js 1.18 kB
packages/icons/dist/Paused.js 1.03 kB
packages/icons/dist/PaymentLink.js 1.21 kB
packages/icons/dist/PaymentMethods.js 1.09 kB
packages/icons/dist/Payouts.js 1.69 kB
packages/icons/dist/PayoutSettings.js 2.38 kB
packages/icons/dist/PayPal.js 6.01 kB
packages/icons/dist/Percentage.js 2.17 kB
packages/icons/dist/Phone.js 1.04 kB
packages/icons/dist/PhoneChat.js 1.09 kB
packages/icons/dist/Pinterest.js 1.32 kB
packages/icons/dist/Pix.js 1.69 kB
packages/icons/dist/PixFull.js 4.01 kB
packages/icons/dist/Play.js 1.17 kB
packages/icons/dist/Plus.js 1.04 kB
packages/icons/dist/PostFinance.js 2.35 kB
packages/icons/dist/Printer.js 995 B
packages/icons/dist/PrintFailed.js 1.33 kB
packages/icons/dist/Profile.js 990 B
packages/icons/dist/Promote.js 1.23 kB
packages/icons/dist/Przelewy24.js 2.32 kB
packages/icons/dist/QrCode.js 1.55 kB
packages/icons/dist/Random.js 1.85 kB
packages/icons/dist/Receipt.js 1.2 kB
packages/icons/dist/ReceiptAttached.js 1.23 kB
packages/icons/dist/ReceiptMissing.js 1.19 kB
packages/icons/dist/ReceiptSmart.js 1.34 kB
packages/icons/dist/ReceiptUnreviewed.js 1.15 kB
packages/icons/dist/RecurringInvoice.js 1.22 kB
packages/icons/dist/RedCompra.js 4.45 kB
packages/icons/dist/Refer.js 1.15 kB
packages/icons/dist/ReferAFriend.js 2.13 kB
packages/icons/dist/Refresh.js 1.1 kB
packages/icons/dist/Refunded.js 1.15 kB
packages/icons/dist/Remove.js 921 B
packages/icons/dist/Reports.js 1.21 kB
packages/icons/dist/ResidencePermit.js 1.04 kB
packages/icons/dist/Reward.js 1.1 kB
packages/icons/dist/Sales.js 1.48 kB
packages/icons/dist/SamsungPay.js 2.48 kB
packages/icons/dist/Satispay.js 3.16 kB
packages/icons/dist/Search.js 1.16 kB
packages/icons/dist/Secure.js 1.04 kB
packages/icons/dist/SecurePayments.js 1.01 kB
packages/icons/dist/SelectAll.js 1.47 kB
packages/icons/dist/Send.js 1.27 kB
packages/icons/dist/Sepa.js 1.99 kB
packages/icons/dist/Services.js 1.07 kB
packages/icons/dist/Settings.js 1.22 kB
packages/icons/dist/Share.js 1.1 kB
packages/icons/dist/Shop.js 1.04 kB
packages/icons/dist/SimCard.js 1.04 kB
packages/icons/dist/Sodexo.js 1.96 kB
packages/icons/dist/Sofort.js 2.39 kB
packages/icons/dist/Sort.js 1.68 kB
packages/icons/dist/Sparkles.js 1.76 kB
packages/icons/dist/Stop.js 969 B
packages/icons/dist/Stopped.js 1.03 kB
packages/icons/dist/StoreEditor.js 1.6 kB
packages/icons/dist/SumUpCard.js 958 B
packages/icons/dist/SumUpConnect.js 1.28 kB
packages/icons/dist/SumUpLogo.js 2.13 kB
packages/icons/dist/SumUpLogomark.js 1.07 kB
packages/icons/dist/Sun.js 1.25 kB
packages/icons/dist/Support.js 1.13 kB
packages/icons/dist/Swile.js 3.21 kB
packages/icons/dist/Tablet.js 976 B
packages/icons/dist/TapToPay.js 1.31 kB
packages/icons/dist/Taxes.js 1.34 kB
packages/icons/dist/ThumbDown.js 990 B
packages/icons/dist/ThumbUp.js 993 B
packages/icons/dist/Ticket.js 1.67 kB
packages/icons/dist/Time.js 1.37 kB
packages/icons/dist/Tipping.js 1.01 kB
packages/icons/dist/Transactions.js 1.47 kB
packages/icons/dist/TransferIn.js 1.15 kB
packages/icons/dist/TransferOut.js 1.15 kB
packages/icons/dist/Transit.js 1.46 kB
packages/icons/dist/Truck.js 1.09 kB
packages/icons/dist/Twitter.js 1.03 kB
packages/icons/dist/Unfavorite.js 1.59 kB
packages/icons/dist/UnionPay.js 6.84 kB
packages/icons/dist/Upgrade.js 1.14 kB
packages/icons/dist/Upload.js 1.15 kB
packages/icons/dist/UploadCloud.js 1.1 kB
packages/icons/dist/View.js 1.4 kB
packages/icons/dist/VirtualTerminal.js 974 B
packages/icons/dist/Visa.js 1.8 kB
packages/icons/dist/VisaElectron.js 3.93 kB
packages/icons/dist/Volume.js 1.22 kB
packages/icons/dist/Vpay.js 1.86 kB
packages/icons/dist/Vr.js 1.25 kB
packages/icons/dist/Webspace.js 1.39 kB
packages/icons/dist/WhatsApp.js 1.45 kB
packages/icons/dist/Wifi.js 1.19 kB
packages/icons/dist/WireTransfer.js 1.77 kB
packages/icons/dist/Youtube.js 1.07 kB
packages/icons/dist/ZipFile.js 1.03 kB

compressed-size-action

Copy link

codecov bot commented Jan 13, 2025

Codecov Report

Attention: Patch coverage is 99.46524% with 1 line in your changes missing coverage. Please review.

Project coverage is 87.96%. Comparing base (dee2aa9) to head (1e0e086).
Report is 1 commits behind head on next.

Files with missing lines Patch % Lines
packages/circuit-ui/components/Popover/Popover.tsx 99.37% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             next    #2864      +/-   ##
==========================================
+ Coverage   87.93%   87.96%   +0.03%     
==========================================
  Files         225      226       +1     
  Lines       12992    13008      +16     
  Branches     1791     1792       +1     
==========================================
+ Hits        11424    11442      +18     
+ Misses       1514     1512       -2     
  Partials       54       54              
Files with missing lines Coverage Δ
packages/circuit-ui/components/Dialog/Dialog.tsx 91.46% <100.00%> (+0.16%) ⬆️
...t-ui/components/Popover/components/PopoverItem.tsx 100.00% <100.00%> (ø)
packages/circuit-ui/components/Popover/Popover.tsx 99.44% <99.37%> (-0.04%) ⬇️

... and 1 file with indirect coverage changes

@sirineJ sirineJ force-pushed the feat/DSYS-886/refactor-popover branch from 3863326 to 20e64a4 Compare January 14, 2025 08:52
@sirineJ sirineJ force-pushed the feat/DSYS-886/refactor-popover branch from 20e64a4 to 1353d29 Compare January 14, 2025 16:23
@sirineJ sirineJ mentioned this pull request Jan 14, 2025
5 tasks
@sirineJ sirineJ marked this pull request as ready for review January 14, 2025 16:27
@sirineJ sirineJ requested a review from a team as a code owner January 14, 2025 16:27
@sirineJ sirineJ requested a review from connor-baer January 14, 2025 16:27
connor-baer
connor-baer previously approved these changes Jan 14, 2025
Copy link
Member

@connor-baer connor-baer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 👏🏻

@@ -131,7 +131,7 @@ describe('Popover', () => {

await userEvent.click(popoverTrigger);

expect(baseProps.onToggle).toHaveBeenCalledTimes(1);
expect(baseProps.onToggle).toHaveBeenCalled();
Copy link
Contributor Author

@sirineJ sirineJ Jan 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is part of why I was frustrated with onToggle 😄
The Popover closes, but in reality onToggle is called twice: first when the trigger element is clicked (and its value toggled), and then when the onCloseEnd is fired (with false, having no effect).
Having toHaveBeenCalled instead of toHaveBeenCalledTimes(1) is not enough for the test to confirm the popover was closed. I also cannot use toHaveBeenCalledWith(false) because it can get called with a function. I added a TODO to try and improve this later.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And we have to call onToggle after onCloseEnd because the Dialog might have been closed "natively" (e.g. using the escape key), right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exactly

packages/circuit-ui/components/Dialog/Dialog.tsx Outdated Show resolved Hide resolved
packages/circuit-ui/components/Popover/Popover.module.css Outdated Show resolved Hide resolved
@@ -131,7 +131,7 @@ describe('Popover', () => {

await userEvent.click(popoverTrigger);

expect(baseProps.onToggle).toHaveBeenCalledTimes(1);
expect(baseProps.onToggle).toHaveBeenCalled();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And we have to call onToggle after onCloseEnd because the Dialog might have been closed "natively" (e.g. using the escape key), right?

@sirineJ sirineJ force-pushed the feat/DSYS-886/refactor-popover branch from d8ad5c5 to 1e0e086 Compare January 16, 2025 10:05
@sirineJ sirineJ merged commit 43013d2 into next Jan 16, 2025
12 checks passed
@sirineJ sirineJ deleted the feat/DSYS-886/refactor-popover branch January 16, 2025 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants