@ably/ui 13.2.2 → 14.0.0-dev.fbce38f
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/README.md +25 -152
- package/core/Accordion/component.js +1 -0
- package/core/Code/component.css +1 -72
- package/core/Code/component.js +1 -1
- package/core/ConnectStateWrapper/component.js +1 -1
- package/core/ContactFooter/component.css +7 -10
- package/core/ContactFooter/component.js +1 -1
- package/core/CookieMessage/component.css +10 -13
- package/core/CookieMessage/component.js +1 -1
- package/core/CustomerLogos/component.js +1 -1
- package/core/DropdownMenu/component.js +1 -1
- package/core/FeaturedLink/component.js +1 -1
- package/core/Flash/component.css +19 -22
- package/core/Flash/component.js +1 -1
- package/core/Footer/component.css +22 -25
- package/core/Footer/component.js +1 -1
- package/core/Icon/component.js +1 -1
- package/core/Loader/component.js +1 -1
- package/core/Logo/component.js +1 -1
- package/core/Meganav/component.css +103 -106
- package/core/Meganav/component.js +1 -1
- package/core/MeganavBlogPostsList/component.js +1 -2
- package/core/MeganavContentCompany/component.js +1 -1
- package/core/MeganavContentDevelopers/component.js +1 -1
- package/core/MeganavContentProducts/component.js +1 -1
- package/core/MeganavContentUseCases/component.js +1 -1
- package/core/MeganavControl/component.js +1 -1
- package/core/MeganavControlMobileDropdown/component.js +1 -1
- package/core/MeganavControlMobilePanelClose/component.js +1 -1
- package/core/MeganavControlMobilePanelOpen/component.js +1 -1
- package/core/MeganavItemsDesktop/component.js +1 -1
- package/core/MeganavItemsMobile/component.js +1 -1
- package/core/MeganavItemsSignedIn/component.js +1 -1
- package/core/MeganavSearch/component.js +1 -1
- package/core/MeganavSearchAutocomplete/component.js +1 -1
- package/core/MeganavSearchPanel/component.js +1 -1
- package/core/MeganavSearchSuggestions/component.js +1 -1
- package/core/Notice/component.css +4 -7
- package/core/Notice/component.js +1 -1
- package/core/SignOutLink/component.js +1 -1
- package/core/Slider/component.css +4 -7
- package/core/Slider/component.js +1 -1
- package/core/Table/Table.js +1 -0
- package/core/Table/TableCell.js +1 -0
- package/core/Table/TableRow.js +1 -0
- package/core/Table/index.js +1 -0
- package/core/Table/stories/data.js +1 -0
- package/core/Tooltip/component.js +1 -0
- package/core/css.js +1 -0
- package/core/dom-query.js +1 -0
- package/core/hubspot-chat-toggle.js +1 -0
- package/core/icons/discord.svg +10 -0
- package/core/icons/facebook.svg +4 -0
- package/core/icons/github.svg +3 -0
- package/core/icons/glassdoor.svg +3 -0
- package/core/icons/google.svg +3 -0
- package/core/icons/icon-display-48hrs.svg +3 -0
- package/core/icons/icon-display-about-ably-col.svg +4 -0
- package/core/icons/icon-display-api-keys.svg +3 -0
- package/core/icons/icon-display-api.svg +3 -0
- package/core/icons/icon-display-asset-tracking-col.svg +18 -0
- package/core/icons/icon-display-browser.svg +10 -0
- package/core/icons/icon-display-calendar.svg +3 -0
- package/core/icons/icon-display-call-mobile.svg +3 -0
- package/core/icons/icon-display-careers-col.svg +9 -0
- package/core/icons/icon-display-case-studies-col.svg +5 -0
- package/core/icons/icon-display-chat-col.svg +4 -0
- package/core/icons/icon-display-chat-stack-col.svg +4 -0
- package/core/icons/icon-display-chat-stack.svg +4 -0
- package/core/icons/icon-display-cloud-servers.svg +3 -0
- package/core/icons/icon-display-compare-tech-col.svg +9 -0
- package/core/icons/icon-display-customers-col.svg +15 -0
- package/core/icons/icon-display-data-broadcast-col.svg +26 -0
- package/core/icons/icon-display-data-synchronization-col.svg +14 -0
- package/core/icons/icon-display-docs-col.svg +7 -0
- package/core/icons/icon-display-documentation.svg +3 -0
- package/core/icons/icon-display-events-col.svg +13 -0
- package/core/icons/icon-display-examples-col.svg +11 -0
- package/core/icons/icon-display-gdpr.svg +3 -0
- package/core/icons/icon-display-general-comms.svg +3 -0
- package/core/icons/icon-display-hipaa.svg +10 -0
- package/core/icons/icon-display-integrations-col.svg +8 -0
- package/core/icons/icon-display-it-support-access.svg +3 -0
- package/core/icons/icon-display-it-support-helpdesk.svg +3 -0
- package/core/icons/icon-display-kafka-at-the-edge-col.svg +8 -0
- package/core/icons/icon-display-laptop.svg +10 -0
- package/core/icons/icon-display-lightbulb-col.svg +10 -0
- package/core/icons/icon-display-live-chat.svg +3 -0
- package/core/icons/icon-display-map-pin.svg +3 -0
- package/core/icons/icon-display-message.svg +3 -0
- package/core/icons/icon-display-padlock-closed.svg +3 -0
- package/core/icons/icon-display-platform.svg +22 -0
- package/core/icons/icon-display-play.svg +3 -0
- package/core/icons/icon-display-privacy-shield-framework.svg +7 -0
- package/core/icons/icon-display-push-notifications-col.svg +6 -0
- package/core/icons/icon-display-quickstart-guides-col.svg +8 -0
- package/core/icons/icon-display-resources-col.svg +21 -0
- package/core/icons/icon-display-sdks-col.svg +11 -0
- package/core/icons/icon-display-servers.svg +3 -0
- package/core/icons/icon-display-shopping-cart.svg +10 -0
- package/core/icons/icon-display-sla.svg +3 -0
- package/core/icons/icon-display-soc2-type2.svg +3 -0
- package/core/icons/icon-display-tech-account-comms.svg +3 -0
- package/core/icons/icon-display-tutorials-demos-col.svg +25 -0
- package/core/icons/icon-display-virtual-events-col.svg +12 -0
- package/core/icons/icon-display-virtual-events.svg +12 -0
- package/core/icons/icon-gui-ably-badge.svg +3 -0
- package/core/icons/icon-gui-arrow-bidirectional-horizontal.svg +3 -0
- package/core/icons/icon-gui-arrow-bidirectional-vertical.svg +3 -0
- package/core/icons/icon-gui-arrow-down.svg +3 -0
- package/core/icons/icon-gui-arrow-left.svg +3 -0
- package/core/icons/icon-gui-arrow-right.svg +3 -0
- package/core/icons/icon-gui-arrow-up.svg +3 -0
- package/core/icons/icon-gui-burger-menu.svg +5 -0
- package/core/icons/icon-gui-check-circled-fill-black.svg +4 -0
- package/core/icons/icon-gui-check-circled-fill.svg +4 -0
- package/core/icons/icon-gui-check-circled.svg +3 -0
- package/core/icons/icon-gui-checklist-checked.svg +3 -0
- package/core/icons/icon-gui-clock.svg +3 -0
- package/core/icons/icon-gui-close.svg +3 -0
- package/core/icons/icon-gui-copy.svg +10 -0
- package/core/icons/icon-gui-cross-circled-fill.svg +4 -0
- package/core/icons/icon-gui-cross-circled.svg +3 -0
- package/core/icons/icon-gui-dash-circled.svg +3 -0
- package/core/icons/icon-gui-disclosure-arrow.svg +3 -0
- package/core/icons/icon-gui-document-generic.svg +3 -0
- package/core/icons/icon-gui-enlarge.svg +3 -0
- package/core/icons/icon-gui-external-link.svg +3 -0
- package/core/icons/icon-gui-filter-flow-step-1.svg +5 -0
- package/core/icons/icon-gui-filter-flow-step-2.svg +5 -0
- package/core/icons/icon-gui-filter-flow-step-3.svg +5 -0
- package/core/icons/icon-gui-history.svg +3 -0
- package/core/icons/icon-gui-info.svg +3 -0
- package/core/icons/icon-gui-link-arrow.svg +3 -0
- package/core/icons/icon-gui-link.svg +4 -0
- package/core/icons/icon-gui-live-chat.svg +3 -0
- package/core/icons/icon-gui-minus.svg +3 -0
- package/core/icons/icon-gui-plus.svg +3 -0
- package/core/icons/icon-gui-quote-marks-solid.svg +3 -0
- package/core/icons/icon-gui-refresh.svg +10 -0
- package/core/icons/icon-gui-resources.svg +3 -0
- package/core/icons/icon-gui-search.svg +3 -0
- package/core/icons/icon-gui-tick.svg +3 -0
- package/core/icons/icon-gui-warning.svg +5 -0
- package/core/icons/icon-live-updates-results-metrics-col.svg +26 -0
- package/core/icons/icon-multi-user-spaces-col.svg +13 -0
- package/core/icons/icon-social-x.svg +3 -0
- package/core/icons/icon-tech-apachekafka.svg +3 -0
- package/core/icons/linkedin.svg +3 -0
- package/core/icons/quote.svg +3 -0
- package/core/icons/stackoverflow.svg +3 -0
- package/core/icons/twitter.svg +3 -0
- package/core/icons/youtube.svg +11 -0
- package/core/icons.js +1 -0
- package/core/load-sprites.js +1 -0
- package/core/react-renderer.js +1 -0
- package/core/remote-blogs-posts.js +1 -0
- package/core/remote-data-store.js +1 -0
- package/core/remote-data-util.js +1 -0
- package/core/remote-session-data.js +1 -0
- package/core/scripts.js +1 -2
- package/core/sprites.svg +1 -525
- package/core/styles/buttons.css +122 -0
- package/core/styles/forms.css +62 -0
- package/core/styles/layout.css +19 -0
- package/core/styles/properties.css +276 -0
- package/core/styles/text.css +166 -0
- package/core/styles.base.css +1 -0
- package/core/styles.components.css +33 -0
- package/core/styles.css +2 -699
- package/core/url-base.js +1 -0
- package/core/utils/syntax-highlighter-registry.js +1 -0
- package/core/utils/syntax-highlighter.css +67 -0
- package/core/utils/syntax-highlighter.js +1 -0
- package/package.json +39 -34
- package/reset/scripts.js +1 -1
- package/reset/styles/normalize.css +353 -0
- package/reset/styles/reset.css +129 -0
- package/reset/styles.css +2 -477
- package/src/core/Accordion/Accordion.stories.tsx +39 -0
- package/src/core/Accordion/component.tsx +147 -0
- package/src/core/Code/Code.stories.tsx +71 -0
- package/src/core/Code/component.tsx +45 -0
- package/src/core/ConnectStateWrapper/{component.jsx → component.tsx} +7 -3
- package/src/core/ContactFooter/ContactFooter.stories.tsx +11 -0
- package/src/core/ContactFooter/component.css +7 -9
- package/src/core/ContactFooter/component.tsx +92 -0
- package/src/core/CookieMessage/CookieMessage.stories.tsx +12 -0
- package/src/core/CookieMessage/component.css +10 -12
- package/src/core/CookieMessage/{component.jsx → component.tsx} +15 -10
- package/src/core/CustomerLogos/CustomerLogos.stories.tsx +43 -0
- package/src/core/CustomerLogos/component.tsx +35 -0
- package/src/core/DropdownMenu/DropdownMenu.stories.tsx +48 -0
- package/src/core/DropdownMenu/{component.jsx → component.tsx} +64 -36
- package/src/core/FeaturedLink/FeaturedLink.stories.tsx +43 -0
- package/src/core/FeaturedLink/{component.jsx → component.tsx} +28 -17
- package/src/core/Flash/Flash.stories.tsx +37 -0
- package/src/core/Flash/component.css +19 -21
- package/src/core/Flash/{component.jsx → component.tsx} +78 -39
- package/src/core/Footer/Footer.stories.tsx +26 -0
- package/src/core/Footer/component.css +22 -24
- package/src/core/Footer/{component.jsx → component.tsx} +237 -70
- package/src/core/Icon/Icon.stories.tsx +150 -0
- package/src/core/Icon/component.tsx +26 -0
- package/src/core/Loader/Loader.stories.tsx +21 -0
- package/src/core/Loader/{component.jsx → component.tsx} +11 -8
- package/src/core/Logo/Logo.stories.tsx +12 -0
- package/src/core/Logo/component.tsx +29 -0
- package/src/core/Meganav/Meganav.stories.tsx +86 -0
- package/src/core/Meganav/component.css +103 -105
- package/src/core/Meganav/component.js +6 -7
- package/src/core/Meganav/component.tsx +228 -0
- package/src/core/MeganavBlogPostsList/{component.jsx → component.tsx} +15 -14
- package/src/core/MeganavContentCompany/{component.jsx → component.tsx} +82 -33
- package/src/core/MeganavContentDevelopers/{component.jsx → component.tsx} +98 -34
- package/src/core/MeganavContentProducts/component.tsx +165 -0
- package/src/core/MeganavContentUseCases/component.tsx +244 -0
- package/src/core/MeganavControl/{component.jsx → component.tsx} +18 -12
- package/src/core/MeganavControlMobileDropdown/{component.jsx → component.tsx} +3 -7
- package/src/core/MeganavControlMobilePanelClose/{component.jsx → component.tsx} +16 -9
- package/src/core/MeganavControlMobilePanelOpen/component.tsx +32 -0
- package/src/core/MeganavItemsDesktop/component.tsx +68 -0
- package/src/core/MeganavItemsMobile/component.tsx +197 -0
- package/src/core/MeganavItemsSignedIn/{component.jsx → component.tsx} +59 -23
- package/src/core/MeganavSearch/component.tsx +36 -0
- package/src/core/MeganavSearchAutocomplete/component.tsx +12 -0
- package/src/core/MeganavSearchPanel/component.tsx +52 -0
- package/src/core/MeganavSearchSuggestions/component.tsx +62 -0
- package/src/core/Notice/component.css +4 -6
- package/src/core/Notice/component.js +1 -1
- package/src/core/Notice/component.tsx +104 -0
- package/src/core/SignOutLink/component.tsx +51 -0
- package/src/core/Slider/Slider.stories.tsx +45 -0
- package/src/core/Slider/component.css +4 -6
- package/src/core/Slider/component.tsx +112 -0
- package/src/core/Table/Table.tsx +30 -0
- package/src/core/Table/TableCell.tsx +84 -0
- package/src/core/Table/TableRow.tsx +25 -0
- package/src/core/Table/index.ts +24 -0
- package/src/core/Table/stories/Table.stories.tsx +12 -0
- package/src/core/Table/stories/data.tsx +113 -0
- package/src/core/Tooltip/Tooltip.stories.tsx +27 -0
- package/src/core/Tooltip/component.tsx +60 -0
- package/src/core/icons.js +6 -0
- package/src/core/{react-renderer.js → react-renderer.tsx} +9 -7
- package/src/core/styles/buttons.css +121 -123
- package/src/core/styles/forms.css +49 -51
- package/src/core/styles/layout.css +14 -16
- package/src/core/styles/properties.css +250 -259
- package/src/core/styles/text.css +165 -167
- package/src/core/styles.components.css +22 -24
- package/src/core/utils/syntax-highlighter.css +55 -59
- package/src/pages/Buttons.mdx +121 -0
- package/src/pages/Chips.mdx +136 -0
- package/src/pages/Colour.mdx +23 -0
- package/src/pages/Forms.mdx +173 -0
- package/src/pages/Layout.mdx +58 -0
- package/src/pages/Typography.mdx +206 -0
- package/src/pages/utils.ts +70 -0
- package/tailwind.config.js +1 -7
- package/tailwind.extend.js +1 -1
- package/core/.gitignore +0 -1
- package/core/Code.jsx +0 -684
- package/core/CompanyAutocomplete/component.css +0 -46
- package/core/CompanyAutocomplete/component.js +0 -2
- package/core/CompanyAutocomplete/component.js.LICENSE.txt +0 -1
- package/core/ConnectStateWrapper.jsx +0 -222
- package/core/ContactFooter.jsx +0 -342
- package/core/CookieMessage.jsx +0 -204
- package/core/CustomerLogos.jsx +0 -144
- package/core/DropdownMenu.jsx +0 -313
- package/core/FeatureFooter/component.css +0 -13
- package/core/FeatureFooter/component.js +0 -1
- package/core/FeaturedLink.jsx +0 -236
- package/core/Flash.jsx +0 -622
- package/core/Footer.jsx +0 -587
- package/core/Icon.jsx +0 -152
- package/core/Loader.jsx +0 -154
- package/core/Logo.jsx +0 -147
- package/core/Meganav.jsx +0 -4146
- package/core/MeganavBlogPostsList/component.js.LICENSE.txt +0 -1
- package/core/MeganavBlogPostsList.jsx +0 -291
- package/core/MeganavContentCompany.jsx +0 -1053
- package/core/MeganavContentDevelopers.jsx +0 -334
- package/core/MeganavContentProducts.jsx +0 -368
- package/core/MeganavContentUseCases.jsx +0 -341
- package/core/MeganavControl.jsx +0 -199
- package/core/MeganavControlMobileDropdown.jsx +0 -197
- package/core/MeganavControlMobilePanelClose.jsx +0 -198
- package/core/MeganavControlMobilePanelOpen.jsx +0 -193
- package/core/MeganavItemsDesktop.jsx +0 -279
- package/core/MeganavItemsMobile.jsx +0 -684
- package/core/MeganavItemsSignedIn.jsx +0 -638
- package/core/MeganavSearch.jsx +0 -429
- package/core/MeganavSearchAutocomplete.jsx +0 -117
- package/core/MeganavSearchPanel.jsx +0 -381
- package/core/MeganavSearchSuggestions.jsx +0 -294
- package/core/Notice.jsx +0 -914
- package/core/Showcase/component.css +0 -31
- package/core/Showcase/component.js +0 -1
- package/core/Showcase.jsx +0 -17
- package/core/SignOutLink.jsx +0 -157
- package/core/Slider.jsx +0 -400
- package/core/Uptime/component.css +0 -128
- package/core/Uptime/component.js +0 -1
- package/core/Uptime.jsx +0 -890
- package/core/scripts.js.LICENSE.txt +0 -1
- package/preview/tmp/.keep +0 -0
- package/preview/tmp/pids/.keep +0 -0
- package/reset/.gitignore +0 -1
- package/src/core/Code/component.html.erb +0 -3
- package/src/core/Code/component.jsx +0 -31
- package/src/core/Code/component.rb +0 -12
- package/src/core/CompanyAutocomplete/component.css +0 -45
- package/src/core/CompanyAutocomplete/component.js +0 -204
- package/src/core/ContactFooter/component.html.erb +0 -32
- package/src/core/ContactFooter/component.jsx +0 -66
- package/src/core/ContactFooter/component.rb +0 -13
- package/src/core/CustomerLogos/component.html.erb +0 -9
- package/src/core/CustomerLogos/component.jsx +0 -28
- package/src/core/CustomerLogos/component.rb +0 -14
- package/src/core/FeatureFooter/component.css +0 -12
- package/src/core/FeatureFooter/component.html.erb +0 -54
- package/src/core/FeatureFooter/component.js +0 -7
- package/src/core/FeatureFooter/component.rb +0 -30
- package/src/core/FeaturedLink/component.html.erb +0 -15
- package/src/core/FeaturedLink/component.rb +0 -21
- package/src/core/Footer/component.html.erb +0 -256
- package/src/core/Footer/component.rb +0 -14
- package/src/core/Icon/component.html.erb +0 -3
- package/src/core/Icon/component.jsx +0 -19
- package/src/core/Icon/component.rb +0 -25
- package/src/core/Loader/component.html.erb +0 -18
- package/src/core/Loader/component.rb +0 -19
- package/src/core/Logo/component.html.erb +0 -3
- package/src/core/Logo/component.jsx +0 -20
- package/src/core/Logo/component.rb +0 -31
- package/src/core/Meganav/component.html.erb +0 -31
- package/src/core/Meganav/component.jsx +0 -123
- package/src/core/Meganav/component.rb +0 -60
- package/src/core/MeganavBlogPostsList/component.html.erb +0 -5
- package/src/core/MeganavBlogPostsList/component.rb +0 -13
- package/src/core/MeganavContentCompany/component.html.erb +0 -90
- package/src/core/MeganavContentCompany/component.rb +0 -14
- package/src/core/MeganavContentDevelopers/component.html.erb +0 -129
- package/src/core/MeganavContentDevelopers/component.rb +0 -13
- package/src/core/MeganavContentProducts/component.html.erb +0 -83
- package/src/core/MeganavContentProducts/component.jsx +0 -105
- package/src/core/MeganavContentProducts/component.rb +0 -14
- package/src/core/MeganavContentUseCases/component.html.erb +0 -135
- package/src/core/MeganavContentUseCases/component.jsx +0 -147
- package/src/core/MeganavContentUseCases/component.rb +0 -13
- package/src/core/MeganavControl/component.html.erb +0 -6
- package/src/core/MeganavControl/component.rb +0 -20
- package/src/core/MeganavControlMobileDropdown/component.html.erb +0 -7
- package/src/core/MeganavControlMobileDropdown/component.rb +0 -11
- package/src/core/MeganavControlMobilePanelClose/component.html.erb +0 -12
- package/src/core/MeganavControlMobilePanelClose/component.rb +0 -12
- package/src/core/MeganavControlMobilePanelOpen/component.html.erb +0 -7
- package/src/core/MeganavControlMobilePanelOpen/component.jsx +0 -25
- package/src/core/MeganavControlMobilePanelOpen/component.rb +0 -9
- package/src/core/MeganavItemsDesktop/component.html.erb +0 -17
- package/src/core/MeganavItemsDesktop/component.jsx +0 -49
- package/src/core/MeganavItemsDesktop/component.rb +0 -23
- package/src/core/MeganavItemsMobile/component.html.erb +0 -75
- package/src/core/MeganavItemsMobile/component.jsx +0 -137
- package/src/core/MeganavItemsMobile/component.rb +0 -21
- package/src/core/MeganavItemsSignedIn/component.html.erb +0 -53
- package/src/core/MeganavItemsSignedIn/component.rb +0 -33
- package/src/core/MeganavSearch/component.html.erb +0 -15
- package/src/core/MeganavSearch/component.jsx +0 -33
- package/src/core/MeganavSearch/component.rb +0 -13
- package/src/core/MeganavSearchAutocomplete/component.html.erb +0 -6
- package/src/core/MeganavSearchAutocomplete/component.jsx +0 -14
- package/src/core/MeganavSearchAutocomplete/component.rb +0 -6
- package/src/core/MeganavSearchPanel/component.html.erb +0 -22
- package/src/core/MeganavSearchPanel/component.jsx +0 -39
- package/src/core/MeganavSearchPanel/component.rb +0 -13
- package/src/core/MeganavSearchSuggestions/component.html.erb +0 -22
- package/src/core/MeganavSearchSuggestions/component.jsx +0 -49
- package/src/core/MeganavSearchSuggestions/component.rb +0 -18
- package/src/core/Notice/component.html.erb +0 -16
- package/src/core/Notice/component.jsx +0 -71
- package/src/core/Notice/component.rb +0 -29
- package/src/core/Showcase/component.css +0 -30
- package/src/core/Showcase/component.html.erb +0 -76
- package/src/core/Showcase/component.js +0 -180
- package/src/core/Showcase/component.jsx +0 -0
- package/src/core/Showcase/component.rb +0 -190
- package/src/core/SignOutLink/component.html.erb +0 -1
- package/src/core/SignOutLink/component.jsx +0 -32
- package/src/core/SignOutLink/component.rb +0 -17
- package/src/core/Slider/component.html.erb +0 -28
- package/src/core/Slider/component.jsx +0 -86
- package/src/core/Slider/component.rb +0 -38
- package/src/core/Uptime/component.css +0 -127
- package/src/core/Uptime/component.html.erb +0 -0
- package/src/core/Uptime/component.js +0 -1
- package/src/core/Uptime/component.jsx +0 -183
- package/src/core/Uptime/component.rb +0 -7
- package/src/core/core.rb +0 -81
- /package/{preview/log/.keep → src/core/Accordion/component.js} +0 -0
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
|
-
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
-
module.exports = factory(require("react"), require("prop-types"));
|
|
4
|
-
else if(typeof define === 'function' && define.amd)
|
|
5
|
-
define([, ], factory);
|
|
6
|
-
else {
|
|
7
|
-
var a = typeof exports === 'object' ? factory(require("react"), require("prop-types")) : factory(root[undefined], root[undefined]);
|
|
8
|
-
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
|
-
}
|
|
10
|
-
})(this, (__WEBPACK_EXTERNAL_MODULE__5225__, __WEBPACK_EXTERNAL_MODULE__6073__) => {
|
|
11
|
-
return /******/ (() => { // webpackBootstrap
|
|
12
|
-
/******/ "use strict";
|
|
13
|
-
/******/ var __webpack_modules__ = ({
|
|
14
|
-
|
|
15
|
-
/***/ 9008:
|
|
16
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17
|
-
|
|
18
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
20
|
-
/* harmony export */ });
|
|
21
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5225);
|
|
22
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
23
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6073);
|
|
24
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
|
|
25
|
-
var _excluded = ["name", "size", "color", "additionalCSS"];
|
|
26
|
-
|
|
27
|
-
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
28
|
-
|
|
29
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
30
|
-
|
|
31
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
var Icon = function Icon(_ref) {
|
|
37
|
-
var name = _ref.name,
|
|
38
|
-
_ref$size = _ref.size,
|
|
39
|
-
size = _ref$size === void 0 ? "0.75rem" : _ref$size,
|
|
40
|
-
_ref$color = _ref.color,
|
|
41
|
-
color = _ref$color === void 0 ? "" : _ref$color,
|
|
42
|
-
_ref$additionalCSS = _ref.additionalCSS,
|
|
43
|
-
additionalCSS = _ref$additionalCSS === void 0 ? "" : _ref$additionalCSS,
|
|
44
|
-
additionalAttributes = _objectWithoutProperties(_ref, _excluded);
|
|
45
|
-
|
|
46
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("svg", _extends({
|
|
47
|
-
className: "".concat(color, " ").concat(additionalCSS),
|
|
48
|
-
style: {
|
|
49
|
-
width: size,
|
|
50
|
-
height: size
|
|
51
|
-
}
|
|
52
|
-
}, additionalAttributes), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("use", {
|
|
53
|
-
xlinkHref: "#sprite-".concat(name)
|
|
54
|
-
}));
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
Icon.propTypes = {
|
|
58
|
-
name: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string.isRequired),
|
|
59
|
-
size: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
|
60
|
-
color: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
|
61
|
-
additionalCSS: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
|
|
62
|
-
};
|
|
63
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Icon);
|
|
64
|
-
|
|
65
|
-
/***/ }),
|
|
66
|
-
|
|
67
|
-
/***/ 6073:
|
|
68
|
-
/***/ ((module) => {
|
|
69
|
-
|
|
70
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__6073__;
|
|
71
|
-
|
|
72
|
-
/***/ }),
|
|
73
|
-
|
|
74
|
-
/***/ 5225:
|
|
75
|
-
/***/ ((module) => {
|
|
76
|
-
|
|
77
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__5225__;
|
|
78
|
-
|
|
79
|
-
/***/ })
|
|
80
|
-
|
|
81
|
-
/******/ });
|
|
82
|
-
/************************************************************************/
|
|
83
|
-
/******/ // The module cache
|
|
84
|
-
/******/ var __webpack_module_cache__ = {};
|
|
85
|
-
/******/
|
|
86
|
-
/******/ // The require function
|
|
87
|
-
/******/ function __webpack_require__(moduleId) {
|
|
88
|
-
/******/ // Check if module is in cache
|
|
89
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
90
|
-
/******/ if (cachedModule !== undefined) {
|
|
91
|
-
/******/ return cachedModule.exports;
|
|
92
|
-
/******/ }
|
|
93
|
-
/******/ // Create a new module (and put it into the cache)
|
|
94
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
95
|
-
/******/ // no module.id needed
|
|
96
|
-
/******/ // no module.loaded needed
|
|
97
|
-
/******/ exports: {}
|
|
98
|
-
/******/ };
|
|
99
|
-
/******/
|
|
100
|
-
/******/ // Execute the module function
|
|
101
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
102
|
-
/******/
|
|
103
|
-
/******/ // Return the exports of the module
|
|
104
|
-
/******/ return module.exports;
|
|
105
|
-
/******/ }
|
|
106
|
-
/******/
|
|
107
|
-
/************************************************************************/
|
|
108
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
109
|
-
/******/ (() => {
|
|
110
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
111
|
-
/******/ __webpack_require__.n = (module) => {
|
|
112
|
-
/******/ var getter = module && module.__esModule ?
|
|
113
|
-
/******/ () => (module['default']) :
|
|
114
|
-
/******/ () => (module);
|
|
115
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
|
116
|
-
/******/ return getter;
|
|
117
|
-
/******/ };
|
|
118
|
-
/******/ })();
|
|
119
|
-
/******/
|
|
120
|
-
/******/ /* webpack/runtime/define property getters */
|
|
121
|
-
/******/ (() => {
|
|
122
|
-
/******/ // define getter functions for harmony exports
|
|
123
|
-
/******/ __webpack_require__.d = (exports, definition) => {
|
|
124
|
-
/******/ for(var key in definition) {
|
|
125
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
126
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
127
|
-
/******/ }
|
|
128
|
-
/******/ }
|
|
129
|
-
/******/ };
|
|
130
|
-
/******/ })();
|
|
131
|
-
/******/
|
|
132
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
133
|
-
/******/ (() => {
|
|
134
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
135
|
-
/******/ })();
|
|
136
|
-
/******/
|
|
137
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
138
|
-
/******/ (() => {
|
|
139
|
-
/******/ // define __esModule on exports
|
|
140
|
-
/******/ __webpack_require__.r = (exports) => {
|
|
141
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
142
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
143
|
-
/******/ }
|
|
144
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
145
|
-
/******/ };
|
|
146
|
-
/******/ })();
|
|
147
|
-
/******/
|
|
148
|
-
/************************************************************************/
|
|
149
|
-
var __webpack_exports__ = {};
|
|
150
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
151
|
-
(() => {
|
|
152
|
-
__webpack_require__.r(__webpack_exports__);
|
|
153
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
154
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
155
|
-
/* harmony export */ });
|
|
156
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5225);
|
|
157
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
158
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6073);
|
|
159
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
|
|
160
|
-
/* harmony import */ var _Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9008);
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
var MeganavControlMobileDropdown = function MeganavControlMobileDropdown(_ref) {
|
|
166
|
-
var theme = _ref.theme;
|
|
167
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("button", {
|
|
168
|
-
type: "button",
|
|
169
|
-
className: "block ml-24 mr-0 px-0 py-16 hover:text-gui-hover focus:text-gui-focus focus:outline-none",
|
|
170
|
-
"data-id": "meganav-control-mobile-dropdown",
|
|
171
|
-
"aria-expanded": "false",
|
|
172
|
-
"aria-controls": "meganav-mobile-dropdown"
|
|
173
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__["default"], {
|
|
174
|
-
name: "icon-gui-burger-menu",
|
|
175
|
-
size: "1.5rem",
|
|
176
|
-
color: theme.mobileMenuColor,
|
|
177
|
-
additionalCSS: "transition-colors",
|
|
178
|
-
"data-id": "meganav-control-mobile-dropdown-menu"
|
|
179
|
-
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__["default"], {
|
|
180
|
-
name: "icon-gui-close",
|
|
181
|
-
size: "1.5rem",
|
|
182
|
-
color: theme.mobileMenuColor,
|
|
183
|
-
additionalCSS: "transition-colors hidden",
|
|
184
|
-
"data-id": "meganav-control-mobile-dropdown-close"
|
|
185
|
-
}));
|
|
186
|
-
};
|
|
187
|
-
|
|
188
|
-
MeganavControlMobileDropdown.propTypes = {
|
|
189
|
-
theme: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object)
|
|
190
|
-
};
|
|
191
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MeganavControlMobileDropdown);
|
|
192
|
-
})();
|
|
193
|
-
|
|
194
|
-
/******/ return __webpack_exports__;
|
|
195
|
-
/******/ })()
|
|
196
|
-
;
|
|
197
|
-
});
|
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
|
-
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
-
module.exports = factory(require("react"), require("prop-types"));
|
|
4
|
-
else if(typeof define === 'function' && define.amd)
|
|
5
|
-
define([, ], factory);
|
|
6
|
-
else {
|
|
7
|
-
var a = typeof exports === 'object' ? factory(require("react"), require("prop-types")) : factory(root[undefined], root[undefined]);
|
|
8
|
-
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
|
-
}
|
|
10
|
-
})(this, (__WEBPACK_EXTERNAL_MODULE__5225__, __WEBPACK_EXTERNAL_MODULE__6073__) => {
|
|
11
|
-
return /******/ (() => { // webpackBootstrap
|
|
12
|
-
/******/ "use strict";
|
|
13
|
-
/******/ var __webpack_modules__ = ({
|
|
14
|
-
|
|
15
|
-
/***/ 9008:
|
|
16
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17
|
-
|
|
18
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
20
|
-
/* harmony export */ });
|
|
21
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5225);
|
|
22
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
23
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6073);
|
|
24
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
|
|
25
|
-
var _excluded = ["name", "size", "color", "additionalCSS"];
|
|
26
|
-
|
|
27
|
-
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
28
|
-
|
|
29
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
30
|
-
|
|
31
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
var Icon = function Icon(_ref) {
|
|
37
|
-
var name = _ref.name,
|
|
38
|
-
_ref$size = _ref.size,
|
|
39
|
-
size = _ref$size === void 0 ? "0.75rem" : _ref$size,
|
|
40
|
-
_ref$color = _ref.color,
|
|
41
|
-
color = _ref$color === void 0 ? "" : _ref$color,
|
|
42
|
-
_ref$additionalCSS = _ref.additionalCSS,
|
|
43
|
-
additionalCSS = _ref$additionalCSS === void 0 ? "" : _ref$additionalCSS,
|
|
44
|
-
additionalAttributes = _objectWithoutProperties(_ref, _excluded);
|
|
45
|
-
|
|
46
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("svg", _extends({
|
|
47
|
-
className: "".concat(color, " ").concat(additionalCSS),
|
|
48
|
-
style: {
|
|
49
|
-
width: size,
|
|
50
|
-
height: size
|
|
51
|
-
}
|
|
52
|
-
}, additionalAttributes), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("use", {
|
|
53
|
-
xlinkHref: "#sprite-".concat(name)
|
|
54
|
-
}));
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
Icon.propTypes = {
|
|
58
|
-
name: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string.isRequired),
|
|
59
|
-
size: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
|
60
|
-
color: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
|
61
|
-
additionalCSS: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
|
|
62
|
-
};
|
|
63
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Icon);
|
|
64
|
-
|
|
65
|
-
/***/ }),
|
|
66
|
-
|
|
67
|
-
/***/ 6073:
|
|
68
|
-
/***/ ((module) => {
|
|
69
|
-
|
|
70
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__6073__;
|
|
71
|
-
|
|
72
|
-
/***/ }),
|
|
73
|
-
|
|
74
|
-
/***/ 5225:
|
|
75
|
-
/***/ ((module) => {
|
|
76
|
-
|
|
77
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__5225__;
|
|
78
|
-
|
|
79
|
-
/***/ })
|
|
80
|
-
|
|
81
|
-
/******/ });
|
|
82
|
-
/************************************************************************/
|
|
83
|
-
/******/ // The module cache
|
|
84
|
-
/******/ var __webpack_module_cache__ = {};
|
|
85
|
-
/******/
|
|
86
|
-
/******/ // The require function
|
|
87
|
-
/******/ function __webpack_require__(moduleId) {
|
|
88
|
-
/******/ // Check if module is in cache
|
|
89
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
90
|
-
/******/ if (cachedModule !== undefined) {
|
|
91
|
-
/******/ return cachedModule.exports;
|
|
92
|
-
/******/ }
|
|
93
|
-
/******/ // Create a new module (and put it into the cache)
|
|
94
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
95
|
-
/******/ // no module.id needed
|
|
96
|
-
/******/ // no module.loaded needed
|
|
97
|
-
/******/ exports: {}
|
|
98
|
-
/******/ };
|
|
99
|
-
/******/
|
|
100
|
-
/******/ // Execute the module function
|
|
101
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
102
|
-
/******/
|
|
103
|
-
/******/ // Return the exports of the module
|
|
104
|
-
/******/ return module.exports;
|
|
105
|
-
/******/ }
|
|
106
|
-
/******/
|
|
107
|
-
/************************************************************************/
|
|
108
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
109
|
-
/******/ (() => {
|
|
110
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
111
|
-
/******/ __webpack_require__.n = (module) => {
|
|
112
|
-
/******/ var getter = module && module.__esModule ?
|
|
113
|
-
/******/ () => (module['default']) :
|
|
114
|
-
/******/ () => (module);
|
|
115
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
|
116
|
-
/******/ return getter;
|
|
117
|
-
/******/ };
|
|
118
|
-
/******/ })();
|
|
119
|
-
/******/
|
|
120
|
-
/******/ /* webpack/runtime/define property getters */
|
|
121
|
-
/******/ (() => {
|
|
122
|
-
/******/ // define getter functions for harmony exports
|
|
123
|
-
/******/ __webpack_require__.d = (exports, definition) => {
|
|
124
|
-
/******/ for(var key in definition) {
|
|
125
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
126
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
127
|
-
/******/ }
|
|
128
|
-
/******/ }
|
|
129
|
-
/******/ };
|
|
130
|
-
/******/ })();
|
|
131
|
-
/******/
|
|
132
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
133
|
-
/******/ (() => {
|
|
134
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
135
|
-
/******/ })();
|
|
136
|
-
/******/
|
|
137
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
138
|
-
/******/ (() => {
|
|
139
|
-
/******/ // define __esModule on exports
|
|
140
|
-
/******/ __webpack_require__.r = (exports) => {
|
|
141
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
142
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
143
|
-
/******/ }
|
|
144
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
145
|
-
/******/ };
|
|
146
|
-
/******/ })();
|
|
147
|
-
/******/
|
|
148
|
-
/************************************************************************/
|
|
149
|
-
var __webpack_exports__ = {};
|
|
150
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
151
|
-
(() => {
|
|
152
|
-
__webpack_require__.r(__webpack_exports__);
|
|
153
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
154
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
155
|
-
/* harmony export */ });
|
|
156
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5225);
|
|
157
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
158
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6073);
|
|
159
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
|
|
160
|
-
/* harmony import */ var _Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9008);
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
var MeganavControlMobilePanelClose = function MeganavControlMobilePanelClose(_ref) {
|
|
166
|
-
var ariaControls = _ref.ariaControls,
|
|
167
|
-
_ref$displayHr = _ref.displayHr,
|
|
168
|
-
displayHr = _ref$displayHr === void 0 ? true : _ref$displayHr;
|
|
169
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
|
170
|
-
className: "mx-24 md:mx-32"
|
|
171
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("button", {
|
|
172
|
-
type: "button",
|
|
173
|
-
className: "ui-meganav-mobile-link text-gui-default mb-16",
|
|
174
|
-
"data-id": "meganav-control-mobile-panel-close",
|
|
175
|
-
"aria-expanded": "false",
|
|
176
|
-
"aria-controls": ariaControls,
|
|
177
|
-
"aria-label": "Hide panel"
|
|
178
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__["default"], {
|
|
179
|
-
name: "icon-gui-disclosure-arrow",
|
|
180
|
-
color: "text-cool-black",
|
|
181
|
-
size: "1.5rem",
|
|
182
|
-
additionalCSS: "relative -top-1 transform rotate-180"
|
|
183
|
-
}), "Back"), displayHr ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("hr", {
|
|
184
|
-
className: "ui-meganav-hr"
|
|
185
|
-
}) : null);
|
|
186
|
-
};
|
|
187
|
-
|
|
188
|
-
MeganavControlMobilePanelClose.propTypes = {
|
|
189
|
-
ariaControls: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
|
190
|
-
displayHr: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
|
|
191
|
-
};
|
|
192
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MeganavControlMobilePanelClose);
|
|
193
|
-
})();
|
|
194
|
-
|
|
195
|
-
/******/ return __webpack_exports__;
|
|
196
|
-
/******/ })()
|
|
197
|
-
;
|
|
198
|
-
});
|
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
|
-
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
-
module.exports = factory(require("react"), require("prop-types"));
|
|
4
|
-
else if(typeof define === 'function' && define.amd)
|
|
5
|
-
define([, ], factory);
|
|
6
|
-
else {
|
|
7
|
-
var a = typeof exports === 'object' ? factory(require("react"), require("prop-types")) : factory(root[undefined], root[undefined]);
|
|
8
|
-
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
|
-
}
|
|
10
|
-
})(this, (__WEBPACK_EXTERNAL_MODULE__5225__, __WEBPACK_EXTERNAL_MODULE__6073__) => {
|
|
11
|
-
return /******/ (() => { // webpackBootstrap
|
|
12
|
-
/******/ "use strict";
|
|
13
|
-
/******/ var __webpack_modules__ = ({
|
|
14
|
-
|
|
15
|
-
/***/ 9008:
|
|
16
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17
|
-
|
|
18
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
20
|
-
/* harmony export */ });
|
|
21
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5225);
|
|
22
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
23
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6073);
|
|
24
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
|
|
25
|
-
var _excluded = ["name", "size", "color", "additionalCSS"];
|
|
26
|
-
|
|
27
|
-
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
28
|
-
|
|
29
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
30
|
-
|
|
31
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
var Icon = function Icon(_ref) {
|
|
37
|
-
var name = _ref.name,
|
|
38
|
-
_ref$size = _ref.size,
|
|
39
|
-
size = _ref$size === void 0 ? "0.75rem" : _ref$size,
|
|
40
|
-
_ref$color = _ref.color,
|
|
41
|
-
color = _ref$color === void 0 ? "" : _ref$color,
|
|
42
|
-
_ref$additionalCSS = _ref.additionalCSS,
|
|
43
|
-
additionalCSS = _ref$additionalCSS === void 0 ? "" : _ref$additionalCSS,
|
|
44
|
-
additionalAttributes = _objectWithoutProperties(_ref, _excluded);
|
|
45
|
-
|
|
46
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("svg", _extends({
|
|
47
|
-
className: "".concat(color, " ").concat(additionalCSS),
|
|
48
|
-
style: {
|
|
49
|
-
width: size,
|
|
50
|
-
height: size
|
|
51
|
-
}
|
|
52
|
-
}, additionalAttributes), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("use", {
|
|
53
|
-
xlinkHref: "#sprite-".concat(name)
|
|
54
|
-
}));
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
Icon.propTypes = {
|
|
58
|
-
name: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string.isRequired),
|
|
59
|
-
size: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
|
60
|
-
color: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
|
61
|
-
additionalCSS: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
|
|
62
|
-
};
|
|
63
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Icon);
|
|
64
|
-
|
|
65
|
-
/***/ }),
|
|
66
|
-
|
|
67
|
-
/***/ 6073:
|
|
68
|
-
/***/ ((module) => {
|
|
69
|
-
|
|
70
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__6073__;
|
|
71
|
-
|
|
72
|
-
/***/ }),
|
|
73
|
-
|
|
74
|
-
/***/ 5225:
|
|
75
|
-
/***/ ((module) => {
|
|
76
|
-
|
|
77
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__5225__;
|
|
78
|
-
|
|
79
|
-
/***/ })
|
|
80
|
-
|
|
81
|
-
/******/ });
|
|
82
|
-
/************************************************************************/
|
|
83
|
-
/******/ // The module cache
|
|
84
|
-
/******/ var __webpack_module_cache__ = {};
|
|
85
|
-
/******/
|
|
86
|
-
/******/ // The require function
|
|
87
|
-
/******/ function __webpack_require__(moduleId) {
|
|
88
|
-
/******/ // Check if module is in cache
|
|
89
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
90
|
-
/******/ if (cachedModule !== undefined) {
|
|
91
|
-
/******/ return cachedModule.exports;
|
|
92
|
-
/******/ }
|
|
93
|
-
/******/ // Create a new module (and put it into the cache)
|
|
94
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
95
|
-
/******/ // no module.id needed
|
|
96
|
-
/******/ // no module.loaded needed
|
|
97
|
-
/******/ exports: {}
|
|
98
|
-
/******/ };
|
|
99
|
-
/******/
|
|
100
|
-
/******/ // Execute the module function
|
|
101
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
102
|
-
/******/
|
|
103
|
-
/******/ // Return the exports of the module
|
|
104
|
-
/******/ return module.exports;
|
|
105
|
-
/******/ }
|
|
106
|
-
/******/
|
|
107
|
-
/************************************************************************/
|
|
108
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
109
|
-
/******/ (() => {
|
|
110
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
111
|
-
/******/ __webpack_require__.n = (module) => {
|
|
112
|
-
/******/ var getter = module && module.__esModule ?
|
|
113
|
-
/******/ () => (module['default']) :
|
|
114
|
-
/******/ () => (module);
|
|
115
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
|
116
|
-
/******/ return getter;
|
|
117
|
-
/******/ };
|
|
118
|
-
/******/ })();
|
|
119
|
-
/******/
|
|
120
|
-
/******/ /* webpack/runtime/define property getters */
|
|
121
|
-
/******/ (() => {
|
|
122
|
-
/******/ // define getter functions for harmony exports
|
|
123
|
-
/******/ __webpack_require__.d = (exports, definition) => {
|
|
124
|
-
/******/ for(var key in definition) {
|
|
125
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
126
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
127
|
-
/******/ }
|
|
128
|
-
/******/ }
|
|
129
|
-
/******/ };
|
|
130
|
-
/******/ })();
|
|
131
|
-
/******/
|
|
132
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
133
|
-
/******/ (() => {
|
|
134
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
135
|
-
/******/ })();
|
|
136
|
-
/******/
|
|
137
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
138
|
-
/******/ (() => {
|
|
139
|
-
/******/ // define __esModule on exports
|
|
140
|
-
/******/ __webpack_require__.r = (exports) => {
|
|
141
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
142
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
143
|
-
/******/ }
|
|
144
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
145
|
-
/******/ };
|
|
146
|
-
/******/ })();
|
|
147
|
-
/******/
|
|
148
|
-
/************************************************************************/
|
|
149
|
-
var __webpack_exports__ = {};
|
|
150
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
151
|
-
(() => {
|
|
152
|
-
__webpack_require__.r(__webpack_exports__);
|
|
153
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
154
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
155
|
-
/* harmony export */ });
|
|
156
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5225);
|
|
157
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
158
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6073);
|
|
159
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
|
|
160
|
-
/* harmony import */ var _Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9008);
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
var MeganavControlMobilePanelOpen = function MeganavControlMobilePanelOpen(_ref) {
|
|
166
|
-
var ariaControls = _ref.ariaControls,
|
|
167
|
-
children = _ref.children;
|
|
168
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("button", {
|
|
169
|
-
type: "button",
|
|
170
|
-
className: "ui-meganav-mobile-link",
|
|
171
|
-
"data-id": "meganav-control-mobile-panel-open",
|
|
172
|
-
"aria-expanded": "false",
|
|
173
|
-
"aria-controls": ariaControls,
|
|
174
|
-
"aria-label": "Show ".concat(children)
|
|
175
|
-
}, children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__["default"], {
|
|
176
|
-
name: "icon-gui-disclosure-arrow",
|
|
177
|
-
color: "text-cool-black",
|
|
178
|
-
size: "1.5rem",
|
|
179
|
-
additionalCSS: "relative -top-1 ml-auto float-right"
|
|
180
|
-
}));
|
|
181
|
-
};
|
|
182
|
-
|
|
183
|
-
MeganavControlMobilePanelOpen.propTypes = {
|
|
184
|
-
ariaControls: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
|
185
|
-
children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
|
|
186
|
-
};
|
|
187
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MeganavControlMobilePanelOpen);
|
|
188
|
-
})();
|
|
189
|
-
|
|
190
|
-
/******/ return __webpack_exports__;
|
|
191
|
-
/******/ })()
|
|
192
|
-
;
|
|
193
|
-
});
|