@ably/ui 13.3.0 → 14.0.0-dev.0ed6be7
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/.DS_Store +0 -0
- package/core/Accordion/.DS_Store +0 -0
- package/core/Accordion.js +1 -0
- package/core/Code/.DS_Store +0 -0
- package/core/Code/component.css +1 -72
- package/core/Code/component.js +1 -1
- package/core/Code.js +1 -0
- package/core/ConnectStateWrapper/component.js +0 -1
- package/core/ConnectStateWrapper.js +1 -0
- package/core/ContactFooter/.DS_Store +0 -0
- package/core/ContactFooter/component.css +7 -10
- package/core/ContactFooter/component.js +1 -1
- package/core/ContactFooter.js +1 -0
- package/core/CookieMessage/.DS_Store +0 -0
- package/core/CookieMessage/component.css +10 -13
- package/core/CookieMessage/component.js +1 -1
- package/core/CookieMessage.js +1 -0
- package/core/CustomerLogos/.DS_Store +0 -0
- package/core/CustomerLogos/component.js +0 -1
- package/core/CustomerLogos.js +1 -0
- package/core/DropdownMenu/.DS_Store +0 -0
- package/core/DropdownMenu/component.js +0 -1
- package/core/DropdownMenu.js +1 -0
- package/core/FeaturedLink/.DS_Store +0 -0
- package/core/FeaturedLink/component.js +0 -1
- package/core/FeaturedLink.js +1 -0
- package/core/Flash/.DS_Store +0 -0
- package/core/Flash/component.css +19 -22
- package/core/Flash/component.js +1 -1
- package/core/Flash.js +1 -0
- package/core/Footer/.DS_Store +0 -0
- package/core/Footer/component.css +22 -25
- package/core/Footer/component.js +1 -1
- package/core/Footer.js +1 -0
- package/core/Icon/.DS_Store +0 -0
- package/core/Icon/component.js +0 -1
- package/core/Icon.js +1 -0
- package/core/Loader/.DS_Store +0 -0
- package/core/Loader/component.js +0 -1
- package/core/Loader.js +13 -0
- package/core/Logo/.DS_Store +0 -0
- package/core/Logo/component.js +0 -1
- package/core/Logo.js +1 -0
- package/core/Meganav/.DS_Store +0 -0
- package/core/Meganav/component.css +103 -106
- package/core/Meganav/component.js +1 -1
- package/core/Meganav.js +1 -0
- package/core/MeganavBlogPostsList/.DS_Store +0 -0
- package/core/MeganavBlogPostsList/component.js +1 -2
- package/core/MeganavBlogPostsList.js +1 -0
- package/core/MeganavContentCompany/.DS_Store +0 -0
- package/core/MeganavContentCompany/component.js +0 -1
- package/core/MeganavContentCompany.js +1 -0
- package/core/MeganavContentDevelopers/.DS_Store +0 -0
- package/core/MeganavContentDevelopers/component.js +0 -1
- package/core/MeganavContentDevelopers.js +1 -0
- package/core/MeganavContentProducts/.DS_Store +0 -0
- package/core/MeganavContentProducts/component.js +0 -1
- package/core/MeganavContentProducts.js +1 -0
- package/core/MeganavContentUseCases/.DS_Store +0 -0
- package/core/MeganavContentUseCases/component.js +0 -1
- package/core/MeganavContentUseCases.js +1 -0
- package/core/MeganavControl/.DS_Store +0 -0
- package/core/MeganavControl/component.js +1 -1
- package/core/MeganavControl.js +1 -0
- package/core/MeganavControlMobileDropdown/.DS_Store +0 -0
- package/core/MeganavControlMobileDropdown/component.js +1 -1
- package/core/MeganavControlMobileDropdown.js +1 -0
- package/core/MeganavControlMobilePanelClose/.DS_Store +0 -0
- package/core/MeganavControlMobilePanelClose/component.js +1 -1
- package/core/MeganavControlMobilePanelClose.js +1 -0
- package/core/MeganavControlMobilePanelOpen/.DS_Store +0 -0
- package/core/MeganavControlMobilePanelOpen/component.js +1 -1
- package/core/MeganavControlMobilePanelOpen.js +1 -0
- package/core/MeganavItemsDesktop/.DS_Store +0 -0
- package/core/MeganavItemsDesktop/component.js +0 -1
- package/core/MeganavItemsDesktop.js +1 -0
- package/core/MeganavItemsMobile/.DS_Store +0 -0
- package/core/MeganavItemsMobile/component.js +0 -1
- package/core/MeganavItemsMobile.js +1 -0
- package/core/MeganavItemsSignedIn/.DS_Store +0 -0
- package/core/MeganavItemsSignedIn/component.js +0 -1
- package/core/MeganavItemsSignedIn.js +1 -0
- package/core/MeganavSearch/.DS_Store +0 -0
- package/core/MeganavSearch/component.js +0 -1
- package/core/MeganavSearch.js +1 -0
- package/core/MeganavSearchAutocomplete/.DS_Store +0 -0
- package/core/MeganavSearchAutocomplete/component.js +1 -1
- package/core/MeganavSearchAutocomplete.js +1 -0
- package/core/MeganavSearchPanel/.DS_Store +0 -0
- package/core/MeganavSearchPanel/component.js +0 -1
- package/core/MeganavSearchPanel.js +1 -0
- package/core/MeganavSearchSuggestions/.DS_Store +0 -0
- package/core/MeganavSearchSuggestions/component.js +1 -1
- package/core/MeganavSearchSuggestions.js +1 -0
- package/core/Notice/.DS_Store +0 -0
- package/core/Notice/component.css +4 -7
- package/core/Notice/component.js +1 -1
- package/core/Notice.js +1 -0
- package/core/SignOutLink/.DS_Store +0 -0
- package/core/SignOutLink/component.js +0 -1
- package/core/SignOutLink.js +1 -0
- package/core/Slider/.DS_Store +0 -0
- package/core/Slider/component.css +4 -7
- package/core/Slider/component.js +1 -1
- package/core/Slider.js +1 -0
- package/core/Table/.DS_Store +0 -0
- package/core/Table/Table.js +1 -0
- package/core/Table/TableCell.js +7 -0
- package/core/Table/TableRow.js +1 -0
- package/core/Table/data.js +1 -0
- package/core/Table.js +1 -0
- package/core/Tooltip.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 +38 -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/.DS_Store +0 -0
- package/src/core/.DS_Store +0 -0
- package/src/core/Accordion/.DS_Store +0 -0
- package/src/core/Accordion/Accordion.stories.tsx +39 -0
- package/src/core/Accordion.tsx +147 -0
- package/src/core/Code/.DS_Store +0 -0
- package/src/core/Code/Code.stories.tsx +71 -0
- package/src/core/Code.tsx +45 -0
- package/src/core/{ConnectStateWrapper/component.jsx → ConnectStateWrapper.tsx} +7 -3
- package/src/core/ContactFooter/.DS_Store +0 -0
- package/src/core/ContactFooter/ContactFooter.stories.tsx +11 -0
- package/src/core/ContactFooter/component.css +7 -9
- package/src/core/ContactFooter.tsx +92 -0
- package/src/core/CookieMessage/.DS_Store +0 -0
- package/src/core/CookieMessage/CookieMessage.stories.tsx +12 -0
- package/src/core/CookieMessage/component.css +10 -12
- package/src/core/{CookieMessage/component.jsx → CookieMessage.tsx} +15 -10
- package/src/core/CustomerLogos/.DS_Store +0 -0
- package/src/core/CustomerLogos/CustomerLogos.stories.tsx +43 -0
- package/src/core/CustomerLogos.tsx +35 -0
- package/src/core/DropdownMenu/.DS_Store +0 -0
- package/src/core/DropdownMenu/DropdownMenu.stories.tsx +48 -0
- package/src/core/{DropdownMenu/component.jsx → DropdownMenu.tsx} +64 -36
- package/src/core/FeaturedLink/.DS_Store +0 -0
- package/src/core/FeaturedLink/FeaturedLink.stories.tsx +43 -0
- package/src/core/{FeaturedLink/component.jsx → FeaturedLink.tsx} +26 -18
- package/src/core/Flash/.DS_Store +0 -0
- package/src/core/Flash/Flash.stories.tsx +37 -0
- package/src/core/Flash/component.css +19 -21
- package/src/core/{Flash/component.jsx → Flash.tsx} +78 -39
- package/src/core/Footer/.DS_Store +0 -0
- package/src/core/Footer/Footer.stories.tsx +26 -0
- package/src/core/Footer/component.css +22 -24
- package/src/core/{Footer/component.jsx → Footer.tsx} +237 -70
- package/src/core/Icon/.DS_Store +0 -0
- package/src/core/Icon/Icon.stories.tsx +150 -0
- package/src/core/Icon.tsx +26 -0
- package/src/core/Loader/.DS_Store +0 -0
- package/src/core/Loader/Loader.stories.tsx +21 -0
- package/src/core/{Loader/component.jsx → Loader.tsx} +11 -8
- package/src/core/Logo/.DS_Store +0 -0
- package/src/core/Logo/Logo.stories.tsx +12 -0
- package/src/core/Logo.tsx +29 -0
- package/src/core/Meganav/.DS_Store +0 -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.tsx +228 -0
- package/src/core/MeganavBlogPostsList/.DS_Store +0 -0
- package/src/core/{MeganavBlogPostsList/component.jsx → MeganavBlogPostsList.tsx} +15 -14
- package/src/core/MeganavContentCompany/.DS_Store +0 -0
- package/src/core/{MeganavContentCompany/component.jsx → MeganavContentCompany.tsx} +82 -33
- package/src/core/MeganavContentDevelopers/.DS_Store +0 -0
- package/src/core/{MeganavContentDevelopers/component.jsx → MeganavContentDevelopers.tsx} +98 -34
- package/src/core/MeganavContentProducts/.DS_Store +0 -0
- package/src/core/MeganavContentProducts.tsx +165 -0
- package/src/core/MeganavContentUseCases/.DS_Store +0 -0
- package/src/core/MeganavContentUseCases.tsx +244 -0
- package/src/core/MeganavControl/.DS_Store +0 -0
- package/src/core/{MeganavControl/component.jsx → MeganavControl.tsx} +18 -12
- package/src/core/MeganavControlMobileDropdown/.DS_Store +0 -0
- package/src/core/{MeganavControlMobileDropdown/component.jsx → MeganavControlMobileDropdown.tsx} +3 -7
- package/src/core/MeganavControlMobilePanelClose/.DS_Store +0 -0
- package/src/core/{MeganavControlMobilePanelClose/component.jsx → MeganavControlMobilePanelClose.tsx} +16 -9
- package/src/core/MeganavControlMobilePanelOpen/.DS_Store +0 -0
- package/src/core/MeganavControlMobilePanelOpen.tsx +32 -0
- package/src/core/MeganavItemsDesktop/.DS_Store +0 -0
- package/src/core/MeganavItemsDesktop.tsx +68 -0
- package/src/core/MeganavItemsMobile/.DS_Store +0 -0
- package/src/core/MeganavItemsMobile.tsx +197 -0
- package/src/core/MeganavItemsSignedIn/.DS_Store +0 -0
- package/src/core/{MeganavItemsSignedIn/component.jsx → MeganavItemsSignedIn.tsx} +59 -23
- package/src/core/MeganavSearch/.DS_Store +0 -0
- package/src/core/MeganavSearch.tsx +36 -0
- package/src/core/MeganavSearchAutocomplete/.DS_Store +0 -0
- package/src/core/MeganavSearchAutocomplete.tsx +12 -0
- package/src/core/MeganavSearchPanel/.DS_Store +0 -0
- package/src/core/MeganavSearchPanel.tsx +52 -0
- package/src/core/MeganavSearchSuggestions/.DS_Store +0 -0
- package/src/core/MeganavSearchSuggestions.tsx +62 -0
- package/src/core/Notice/.DS_Store +0 -0
- package/src/core/Notice/component.css +4 -6
- package/src/core/Notice/component.js +1 -1
- package/src/core/Notice.tsx +104 -0
- package/src/core/SignOutLink/.DS_Store +0 -0
- package/src/core/SignOutLink.tsx +51 -0
- package/src/core/Slider/.DS_Store +0 -0
- package/src/core/Slider/Slider.stories.tsx +45 -0
- package/src/core/Slider/component.css +4 -6
- package/src/core/Slider.tsx +112 -0
- package/src/core/Table/.DS_Store +0 -0
- package/src/core/Table/Table.stories.tsx +12 -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/data.tsx +113 -0
- package/src/core/Table.tsx +24 -0
- package/src/core/Tooltip/Tooltip.stories.tsx +27 -0
- package/src/core/Tooltip.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 -241
- 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 -4151
- package/core/MeganavBlogPostsList/component.js.LICENSE.txt +0 -1
- package/core/MeganavBlogPostsList.jsx +0 -296
- package/core/MeganavContentCompany.jsx +0 -1058
- package/core/MeganavContentDevelopers.jsx +0 -334
- package/core/MeganavContentProducts.jsx +0 -373
- 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 -689
- package/core/MeganavItemsSignedIn.jsx +0 -643
- package/core/MeganavSearch.jsx +0 -434
- package/core/MeganavSearchAutocomplete.jsx +0 -117
- package/core/MeganavSearchPanel.jsx +0 -386
- package/core/MeganavSearchSuggestions.jsx +0 -299
- 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 -895
- package/core/scripts.js.LICENSE.txt +0 -1
- 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 → core/Accordion/component.js} +0 -0
- /package/{preview/tmp/.keep → src/core/Accordion/component.js} +0 -0
package/src/core/styles/text.css
CHANGED
|
@@ -1,168 +1,166 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
@apply font-mono text-p3 text-neutral-800;
|
|
167
|
-
}
|
|
1
|
+
.ui-text-title {
|
|
2
|
+
@apply font-sans font-extrabold text-cool-black;
|
|
3
|
+
@apply text-title-xs xs:text-title xl:text-title-xl;
|
|
4
|
+
@apply tracking-tighten-0.015 xs:tracking-tighten-0.02 xl:tracking-tighten-0.02;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.ui-text-h1 {
|
|
8
|
+
@apply font-sans font-extrabold text-cool-black;
|
|
9
|
+
@apply text-h1-xs xs:text-h1 xl:text-h1-xl;
|
|
10
|
+
@apply tracking-tighten-0.0125 xs:tracking-tighten-0.015;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.ui-text-h2 {
|
|
14
|
+
@apply font-sans font-extrabold text-cool-black;
|
|
15
|
+
@apply text-h2-xs xs:text-h2 xl:text-h2-xl;
|
|
16
|
+
@apply tracking-tighten-0.015 xs:tracking-tighten-0.01;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ui-text-h3 {
|
|
20
|
+
@apply font-sans font-extrabold text-cool-black;
|
|
21
|
+
@apply text-h3;
|
|
22
|
+
@apply tracking-tighten-0.005;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.ui-text-h4 {
|
|
26
|
+
@apply font-sans font-extrabold text-cool-black;
|
|
27
|
+
@apply text-h4;
|
|
28
|
+
@apply tracking-tighten-0.0015;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ui-text-h5 {
|
|
32
|
+
@apply font-sans font-extrabold text-cool-black;
|
|
33
|
+
@apply text-h5;
|
|
34
|
+
@apply tracking-tighten-0.0025;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.ui-text-p1 {
|
|
38
|
+
@apply font-sans font-medium text-charcoal-grey;
|
|
39
|
+
@apply text-p1;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.ui-text-p2 {
|
|
43
|
+
@apply font-sans font-medium text-charcoal-grey;
|
|
44
|
+
@apply text-p2;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.ui-text-p3 {
|
|
48
|
+
@apply font-sans font-medium text-charcoal-grey;
|
|
49
|
+
@apply text-p3;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.ui-text-standfirst {
|
|
53
|
+
@apply font-sans font-light text-active-orange;
|
|
54
|
+
@apply text-standfirst xl:text-standfirst-xl;
|
|
55
|
+
@apply tracking-tighten-0.025 xl:tracking-tighten-0.015;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.ui-text-quote {
|
|
59
|
+
@apply font-sans font-normal text-cool-black;
|
|
60
|
+
@apply text-quote leading-normal;
|
|
61
|
+
@apply tracking-tighten-0.0015;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.ui-text-sub-header {
|
|
65
|
+
@apply font-sans font-semibold text-neutral-800;
|
|
66
|
+
@apply text-sub-header-xs xs:text-sub-header leading-normal;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.ui-text-overline1 {
|
|
70
|
+
@apply font-mono font-medium text-active-orange uppercase;
|
|
71
|
+
@apply text-overline1 leading-normal;
|
|
72
|
+
@apply tracking-widen-0.16;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.ui-text-overline2 {
|
|
76
|
+
@apply font-mono font-medium text-active-orange uppercase;
|
|
77
|
+
@apply text-overline2 leading-normal;
|
|
78
|
+
@apply tracking-widen-0.16;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.ui-text-menu1 {
|
|
82
|
+
@apply font-sans font-medium text-cool-black;
|
|
83
|
+
@apply text-menu1 leading-snug;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.ui-text-menu2 {
|
|
87
|
+
@apply font-sans font-medium text-cool-black;
|
|
88
|
+
@apply text-menu2 leading-snug;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.ui-text-menu3 {
|
|
92
|
+
@apply font-sans font-medium text-cool-black;
|
|
93
|
+
@apply text-menu3 leading-snug;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.ui-text-code {
|
|
97
|
+
@apply font-mono font-normal text-code;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.ui-text-code2 {
|
|
101
|
+
@apply font-mono font-normal text-code2;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.ui-text-code-inline {
|
|
105
|
+
@apply font-mono font-normal text-code text-charcoal-grey bg-light-grey p-inline-code rounded-sm mx-1;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.ui-unordered-list {
|
|
109
|
+
@apply text-p1 font-medium text-charcoal-grey;
|
|
110
|
+
@apply ml-32 my-16;
|
|
111
|
+
@apply list-disc;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.ui-ordered-list {
|
|
115
|
+
@apply text-p1 font-medium text-charcoal-grey;
|
|
116
|
+
@apply ml-32 my-16;
|
|
117
|
+
@apply list-decimal;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.ui-ordered-list li,
|
|
121
|
+
.ui-unordered-list li {
|
|
122
|
+
@apply mb-8;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.ui-unordered-list li > *:last-of-type:not(ul):not(ol),
|
|
126
|
+
.ui-ordered-list li > *:last-of-type:not(ul):not(ol) {
|
|
127
|
+
margin-bottom: 0;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.ui-unordered-list ul {
|
|
131
|
+
@apply ml-24 my-8 list-circle;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.ui-ordered-list ol {
|
|
135
|
+
@apply ml-24 my-16 list-decimal;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.ui-unordered-list ul ul {
|
|
139
|
+
@apply list-square my-8;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.ui-unordered-list ul ul {
|
|
143
|
+
@apply my-8;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.ui-link {
|
|
147
|
+
@apply text-gui-default;
|
|
148
|
+
@apply hover:text-gui-hover active:text-gui-active disabled:text-gui-unavailable;
|
|
149
|
+
@apply focus:text-gui-default focus:outline-gui-focus;
|
|
150
|
+
@apply no-underline;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.ui-link-neutral {
|
|
154
|
+
@apply hover:text-dark-grey active:text-cool-black disabled:text-gui-unavailable;
|
|
155
|
+
@apply focus:text-charcoal-grey;
|
|
156
|
+
@apply underline;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/* focus:outline-gui-focus-neutral does not get created under Tailwind 3.3.5, not sure why */
|
|
160
|
+
.ui-link-neutral:focus {
|
|
161
|
+
outline: 2px solid var(--color-neutral-000);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.ui-figcaption {
|
|
165
|
+
@apply font-mono text-p3 text-neutral-800;
|
|
168
166
|
}
|
|
@@ -3,33 +3,31 @@
|
|
|
3
3
|
@import "./styles/text.css";
|
|
4
4
|
@import "./styles/forms.css";
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
6
|
+
.ui-input {
|
|
7
|
+
@apply text-p2 font-medium bg-light-grey rounded p-input w-full leading-none appearance-none border border-mid-grey transition-input;
|
|
8
|
+
@apply hover:bg-white hover:shadow-input hover:border-transparent;
|
|
9
|
+
@apply focus:bg-white focus:shadow-input focus:border-transparent focus:outline-gui-focus;
|
|
10
|
+
@apply max-w-screen-sm;
|
|
11
|
+
}
|
|
13
12
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
/* Basis for icon component */
|
|
14
|
+
.ui-icon-cool-black {
|
|
15
|
+
stroke: var(--color-cool-black);
|
|
16
|
+
}
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
.ui-icon-white {
|
|
19
|
+
stroke: var(--color-white);
|
|
20
|
+
}
|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
.ui-icon-dark-grey {
|
|
23
|
+
stroke: var(--color-dark-grey);
|
|
24
|
+
}
|
|
26
25
|
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
.ui-version-tag {
|
|
27
|
+
@apply inline-block absolute align-top uppercase font-bold whitespace-nowrap;
|
|
29
28
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
29
|
+
position: relative;
|
|
30
|
+
vertical-align: super;
|
|
31
|
+
margin-left: 3px;
|
|
32
|
+
font-size: 8px;
|
|
35
33
|
}
|
|
@@ -1,71 +1,67 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap");
|
|
5
|
-
}
|
|
1
|
+
@import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,600;0,700;1,600;1,700&display=swap");
|
|
2
|
+
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100;200;300;400;500;600;700;800&display=swap");
|
|
3
|
+
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap");
|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
5
|
+
.hljs {
|
|
6
|
+
background: var(--syntax-black);
|
|
7
|
+
color: var(--syntax-light-grey);
|
|
8
|
+
}
|
|
12
9
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
.hljs-emphasis {
|
|
11
|
+
@apply italic;
|
|
12
|
+
}
|
|
16
13
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
.hljs-strong {
|
|
15
|
+
@apply font-bold;
|
|
16
|
+
}
|
|
20
17
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
.hljs-comment,
|
|
19
|
+
.hljs-quote {
|
|
20
|
+
color: var(--syntax-dark-grey);
|
|
21
|
+
}
|
|
25
22
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
23
|
+
.hljs-variable,
|
|
24
|
+
.hljs-template-variable,
|
|
25
|
+
.hljs-tag,
|
|
26
|
+
.hljs-name,
|
|
27
|
+
.hljs-selector-id,
|
|
28
|
+
.hljs-selector-class,
|
|
29
|
+
.hljs-regexp,
|
|
30
|
+
.hljs-deletion {
|
|
31
|
+
color: var(--syntax-red);
|
|
32
|
+
}
|
|
36
33
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
34
|
+
.hljs-number,
|
|
35
|
+
.hljs-built_in,
|
|
36
|
+
.hljs-literal,
|
|
37
|
+
.hljs-type,
|
|
38
|
+
.hljs-params,
|
|
39
|
+
.hljs-meta,
|
|
40
|
+
.hljs-link {
|
|
41
|
+
color: var(--syntax-orange);
|
|
42
|
+
}
|
|
46
43
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
44
|
+
.hljs-attribute {
|
|
45
|
+
color: var(--syntax-yellow);
|
|
46
|
+
}
|
|
50
47
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
48
|
+
.hljs-string,
|
|
49
|
+
.hljs-symbol,
|
|
50
|
+
.hljs-bullet,
|
|
51
|
+
.hljs-addition {
|
|
52
|
+
color: var(--syntax-green);
|
|
53
|
+
}
|
|
57
54
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
55
|
+
.hljs-title,
|
|
56
|
+
.hljs-section {
|
|
57
|
+
color: var(--syntax-blue);
|
|
58
|
+
}
|
|
62
59
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
60
|
+
.hljs-keyword,
|
|
61
|
+
.hljs-selector-tag {
|
|
62
|
+
color: var(--syntax-lilac);
|
|
63
|
+
}
|
|
67
64
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
65
|
+
.hljs-subst {
|
|
66
|
+
color: var(--syntax-mid-grey);
|
|
71
67
|
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { Meta, Unstyled } from "@storybook/blocks";
|
|
2
|
+
import Icon from "../core/Icon/component.tsx";
|
|
3
|
+
|
|
4
|
+
<Meta title="Brand/Buttons" />
|
|
5
|
+
|
|
6
|
+
<Unstyled>
|
|
7
|
+
<h2 className="ui-text-h1 mb-32">Buttons</h2>
|
|
8
|
+
<div className="flex flex-wrap">
|
|
9
|
+
<p className="ui-text-p1 mb-32">Different size buttons can be achieved by using padding and text utilities, see
|
|
10
|
+
examples below.</p>
|
|
11
|
+
|
|
12
|
+
<div className="p-16 mb-16 mr-16 border rounded grid justify-items-start auto-rows-min gap-16">
|
|
13
|
+
<h3 className="ui-text-h3">Standard</h3>
|
|
14
|
+
<button type="button" className="ui-btn">
|
|
15
|
+
Primary button
|
|
16
|
+
</button>
|
|
17
|
+
<button type="button" className="ui-btn-alt">
|
|
18
|
+
Primary button alternative
|
|
19
|
+
</button>
|
|
20
|
+
<button type="button" className="ui-btn-secondary">
|
|
21
|
+
Secondary button
|
|
22
|
+
</button>
|
|
23
|
+
<button type="button" className="ui-btn" disabled>
|
|
24
|
+
Unavailable primary button
|
|
25
|
+
</button>
|
|
26
|
+
<button type="button" className="ui-btn-alt" disabled>
|
|
27
|
+
Unavailable primary button alternative
|
|
28
|
+
</button>
|
|
29
|
+
<button type="button" className="ui-btn-secondary" disabled>
|
|
30
|
+
Unavailable secondary button
|
|
31
|
+
</button>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
<div className="p-16 mb-16 mr-16 border rounded grid justify-items-start auto-rows-min gap-16 bg-cool-black">
|
|
35
|
+
<h3 className="ui-text-h3 text-white">Inverted</h3>
|
|
36
|
+
<button type="button" className="ui-btn-invert">
|
|
37
|
+
Primary button
|
|
38
|
+
</button>
|
|
39
|
+
<button type="button" className="ui-btn-secondary-invert">
|
|
40
|
+
Secondary button
|
|
41
|
+
</button>
|
|
42
|
+
<button type="button" className="ui-btn-invert" disabled>
|
|
43
|
+
Unavailable primary button
|
|
44
|
+
</button>
|
|
45
|
+
<button type="button" className="ui-btn-secondary-invert" disabled>
|
|
46
|
+
Unavailable secondary button
|
|
47
|
+
</button>
|
|
48
|
+
</div>
|
|
49
|
+
|
|
50
|
+
<div className="p-16 mb-16 mr-16 border rounded grid justify-items-start auto-rows-min gap-16">
|
|
51
|
+
<h3 className="ui-text-h3">With icons</h3>
|
|
52
|
+
<button type="button" className="ui-btn">
|
|
53
|
+
<Icon name="icon-gui-search" size="1rem" additionalCSS="ui-btn-icon" />
|
|
54
|
+
Primary button with icon
|
|
55
|
+
</button>
|
|
56
|
+
<button type="button" className="ui-btn-alt">
|
|
57
|
+
<Icon name="icon-gui-search" size="1rem" additionalCSS="ui-btn-icon" />
|
|
58
|
+
Primary button alternative with icon
|
|
59
|
+
</button>
|
|
60
|
+
<button type="button" className="ui-btn-secondary">
|
|
61
|
+
<Icon name="icon-gui-search" size="1rem" additionalCSS="ui-btn-icon" />
|
|
62
|
+
Secondary button with icon
|
|
63
|
+
</button>
|
|
64
|
+
<button type="button" className="ui-btn" disabled>
|
|
65
|
+
<Icon name="icon-gui-search" size="1rem" additionalCSS="ui-btn-icon" />
|
|
66
|
+
Unavailable primary button with icon
|
|
67
|
+
</button>
|
|
68
|
+
<button type="button" className="ui-btn-alt" disabled>
|
|
69
|
+
<Icon name="icon-gui-search" size="1rem" additionalCSS="ui-btn-icon" />
|
|
70
|
+
Unavailable primary button alternative with icon
|
|
71
|
+
</button>
|
|
72
|
+
<button type="button" className="ui-btn-secondary" disabled>
|
|
73
|
+
<Icon name="icon-gui-search" size="1rem" additionalCSS="ui-btn-icon" />
|
|
74
|
+
Unavailable secondary button with icon
|
|
75
|
+
</button>
|
|
76
|
+
</div>
|
|
77
|
+
|
|
78
|
+
</div>
|
|
79
|
+
|
|
80
|
+
<div className="flex flex-wrap">
|
|
81
|
+
<div className="p-16 mb-16 mr-16 border rounded grid justify-items-start auto-rows-min gap-16">
|
|
82
|
+
<h3 className="ui-text-h3">Extra small</h3>
|
|
83
|
+
<button type="button" className="ui-btn p-btn-xsmall text-btn4">Primary button</button>
|
|
84
|
+
<button type="button" className="ui-btn p-btn-xsmall text-btn4">
|
|
85
|
+
<Icon name="icon-gui-search" size="1rem" additionalCSS="ui-btn-icon-xsmall" />
|
|
86
|
+
Primary button with icon
|
|
87
|
+
</button>
|
|
88
|
+
<button type="button" className="ui-btn-alt p-btn-xsmall text-btn4">Primary button alternative</button>
|
|
89
|
+
<button type="button" className="ui-btn-secondary p-btn-xsmall text-btn4">Secondary button</button>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
<div className="p-16 mb-16 mr-16 border rounded grid justify-items-start auto-rows-min gap-16">
|
|
93
|
+
<h3 className="ui-text-h3">Small</h3>
|
|
94
|
+
<button type="button" className="ui-btn p-btn-small text-btn3">
|
|
95
|
+
Primary button
|
|
96
|
+
</button>
|
|
97
|
+
<button type="button" className="ui-btn p-btn-small text-btn3">
|
|
98
|
+
<Icon name="icon-gui-search" size="1rem" additionalCSS="ui-btn-icon-small" />
|
|
99
|
+
Primary button with icon
|
|
100
|
+
</button>
|
|
101
|
+
<button type="button" className="ui-btn-alt p-btn-small text-btn3">
|
|
102
|
+
Primary button alternative
|
|
103
|
+
</button>
|
|
104
|
+
<button type="button" className="ui-btn-secondary p-btn-small text-btn3">
|
|
105
|
+
Secondary button
|
|
106
|
+
</button>
|
|
107
|
+
</div>
|
|
108
|
+
|
|
109
|
+
<div className="p-16 mb-16 mr-16 border rounded grid justify-items-start auto-rows-min gap-16">
|
|
110
|
+
<h3 className="ui-text-h3">Large</h3>
|
|
111
|
+
<button type="button" className="ui-btn p-btn-large text-btn1">Primary button</button>
|
|
112
|
+
<button type="button" className="ui-btn p-btn-large text-btn1">
|
|
113
|
+
<Icon name="icon-gui-search" size="1rem" additionalCSS="ui-btn-icon" />
|
|
114
|
+
Primary button with icon
|
|
115
|
+
</button>
|
|
116
|
+
<button type="button" className="ui-btn-alt p-btn-large text-btn1">Primary button alternative</button>
|
|
117
|
+
<button type="button" className="ui-btn-secondary p-btn-large text-btn1">Secondary button</button>
|
|
118
|
+
</div>
|
|
119
|
+
|
|
120
|
+
</div>
|
|
121
|
+
</Unstyled>
|