From 346993156bd849f0c626c74566cf02963d0a5512 Mon Sep 17 00:00:00 2001 From: jaredcbaum <61951482+jaredcbaum@users.noreply.github.com> Date: Tue, 7 Dec 2021 10:11:13 -0600 Subject: [PATCH] Feat/docs update (#2108) * init commit * feat(): Custom navbar type working * feat(): Theme switch styled, other small changes * feat(): Added docs demo, centered content * chore(): Remove duplicate styles, etc * chore(navbar): styled icons * fix(): Get search bar to show up * chore(): style toc, markdown width styles, encap pill styles * chore(): Get rid of local theme * chore(styles): Break out style to component partials * chore(): remove docusaurus-theme for now * chore(navbar): Style search * chore(): Style back to top button and sidebar * chore(navbar): spacing * chore(sidebar): Styles * chore(navbar): Styles * fix(api): Link code tabs * chore(sidebar): Styles, mostly spacing * chore(): sidebar/navbar styles * chore(): Navbar/sidebar styles * chore(): Delete legacy files * feat(): Add option to style pages * chore(): Move page styles to components * chore(config): Abstract base url to var * chore(): New Logos * chore(): Delete old logos * chore(meta): Prefer head over frontmatter * chore(meta): Prefer head over frontmatter v2 * chore(): Updated release notes * fix(api): Inline TOC * feat(): Resizable container width from md * chore(navbar): Style navbar-sidebar * chore(): Edit url in TOC and more styles * chore(): Restructure theming components directory * fix(LayeredColorsSelect): Regular Select Box * feat(): Done with NewColorGenerator * chore(): Themed styles for theming components * chore(): Done with input abstraction * chore(): CodeColor API find and replace * chore(): Stepped Color Generator done * chore(): Finished ColorGenerator component * fix(code tabs): GroupIds and v5 docs changes * chore(): Style table of contents * chore(toc): font size * chore(navbar): styles * chore(navbar): style fixes * chore(): styles * chore(): styles * chore(): Warning on swizzle styles, prettierignore * chore(): Small fixes * chore(api list): Make multi version compatible * chore(): Folder structure, pare down theme and separate to components * chore(): Better names for page styles and components * chore(gitignore): No longer worry about src/pages * chore(): Remove src/assets * chore(): contributing.md update * chore(): Delete legacy stencil components and legacy styles * chore(): Remove legacy stencil components pt 2 * chore(): Clean up package.json and unneeded packages * chore(): Remove nojekyll * chore(): Typings * chore(): readme update * chore(): Add back crowdin * chore(): READMES * fix(tsconfig): Don't pass compilerOptions * chore(): Fix docs demo layout * fix(api): encapsulation pill filtering * chore(): Small styles fixes * chore(): mobile style container fix * fix(api script): Better admonition detection * chore(): Better docs demo placement * chore(): Update version dropdown * feat(): Prettier config * chore(): Prettier format all * chore(): Update image paths * chore(): Update styles README * chore(): Ionic framework -> Ionic on landing page * chore(): Page through and fix misc stuff * chore(): Titan updates * fix(): No trailing slash * Revert "fix(): No trailing slash" This reverts commit ec82b1a346672211a5189cdc729ba6bf97b1a68f. * chore(homepage): Manually add canonical --- .gitignore | 2 +- .prettierignore | 13 + .prettierrc.js | 11 + CONTRIBUTING.md | 120 +- README.md | 6 +- docs/README.md | 17 + docs/angular/config.md | 80 +- docs/angular/lifecycle.md | 9 +- docs/angular/navigation.md | 12 +- docs/angular/overview.md | 11 +- docs/angular/platform.md | 47 +- docs/angular/pwa.md | 35 +- docs/angular/slides.md | 84 +- docs/angular/storage.md | 9 +- docs/angular/testing.md | 60 +- docs/angular/virtual-scroll.md | 25 +- docs/angular/your-first-app.md | 29 +- .../angular/your-first-app/2-taking-photos.md | 12 +- docs/angular/your-first-app/7-live-reload.md | 5 +- docs/api.md | 14 +- docs/cli.md | 11 +- docs/cli/configuration.md | 42 +- docs/components.md | 220 +- docs/contributing/how-to-contribute.md | 86 +- docs/core-concepts/cross-platform.md | 6 +- docs/core-concepts/fundamentals.md | 4 - docs/core-concepts/webview.md | 4 +- .../what-are-progressive-web-apps.md | 6 +- docs/deployment/app-store.md | 17 +- docs/deployment/desktop-app.md | 12 +- docs/deployment/play-store.md | 11 +- docs/deployment/progressive-web-app.md | 15 +- docs/developer-resources/books.md | 9 - docs/developer-resources/courses.md | 5 +- docs/developer-resources/guides.md | 2 + .../creating-photo-gallery-device-storage.md | 11 +- .../guides/first-app-v3/intro.md | 9 +- .../guides/first-app-v3/ios-android-camera.md | 8 +- .../realtime-updates-ionic-deploy.md | 58 +- .../track-bugs-ionic-monitoring.md | 27 +- .../creating-photo-gallery-device-storage.md | 11 +- .../guides/first-app-v4/intro.md | 19 +- .../guides/first-app-v4/ios-android-camera.md | 10 +- .../guides/first-app-v4/theming.md | 8 +- docs/developing/android.md | 18 +- docs/developing/hardware-back-button.md | 21 +- docs/developing/ios.md | 9 +- docs/developing/keyboard.md | 5 +- docs/developing/previewing.md | 18 +- docs/developing/tips.md | 36 +- docs/index.md | 75 +- docs/intro/cdn.md | 29 +- docs/intro/cli.md | 21 +- docs/intro/environment.md | 24 +- docs/intro/first-app.md | 10 +- docs/intro/next.md | 10 +- docs/layout/css-utilities.md | 41 +- docs/layout/global-stylesheets.md | 12 +- docs/layout/grid.md | 14 +- docs/layout/structure.md | 13 +- docs/native-community.md | 22 +- docs/native-faq.md | 18 +- docs/native.md | 210 +- docs/react.md | 49 +- docs/react/config.md | 68 +- docs/react/lifecycle.md | 18 +- docs/react/navigation.md | 23 +- docs/react/overlays.md | 28 +- docs/react/overview.md | 6 +- docs/react/platform.md | 38 +- docs/react/pwa.md | 15 +- docs/react/quickstart.md | 37 +- docs/react/slides.md | 103 +- docs/react/testing.md | 1 - docs/react/virtual-scroll.md | 10 +- docs/react/your-first-app.md | 60 +- docs/react/your-first-app/2-taking-photos.md | 7 +- docs/react/your-first-app/3-saving-photos.md | 5 +- docs/react/your-first-app/5-adding-mobile.md | 5 +- docs/react/your-first-app/7-live-reload.md | 2 +- docs/reference/browser-support.md | 29 +- docs/reference/glossary.md | 762 +- docs/reference/migration.md | 14 +- docs/reference/release-notes.md | 2 +- docs/reference/support.md | 103 +- docs/reference/versioning.md | 1 - docs/studio.md | 10 +- docs/studio/code.md | 22 +- docs/studio/designer.md | 28 +- docs/studio/running.md | 9 +- docs/studio/settings.md | 13 +- docs/studio/setup/installation.md | 6 +- docs/studio/setup/native.md | 12 +- docs/studio/support.md | 6 +- docs/studio/terminal.md | 1 - docs/techniques/security.md | 1 + docs/theming/advanced.md | 36 +- docs/theming/basics.md | 15 +- .../theming/color-generator.md | 6 +- docs/theming/colors.md | 22 +- docs/theming/css-shadow-parts.md | 27 +- docs/theming/css-variables.md | 15 +- docs/theming/dark-mode.md | 25 +- docs/theming/platform-styles.md | 13 +- docs/theming/themes.md | 23 +- docs/troubleshooting/cors.md | 20 +- docs/troubleshooting/debugging.md | 23 +- docs/troubleshooting/native.md | 36 +- docs/utilities/animations.md | 27 +- docs/utilities/gestures.md | 17 +- docs/vue/config.md | 68 +- docs/vue/lifecycle.md | 8 +- docs/vue/navigation.md | 27 +- docs/vue/overview.md | 16 +- docs/vue/performance.md | 40 +- docs/vue/platform.md | 41 +- docs/vue/pwa.md | 7 +- docs/vue/quickstart.md | 42 +- docs/vue/slides.md | 124 +- docs/vue/storage.md | 9 +- docs/vue/troubleshooting.md | 35 +- docs/vue/utility-functions.md | 41 +- docs/vue/virtual-scroll.md | 25 +- docs/vue/your-first-app.md | 20 +- docs/vue/your-first-app/2-taking-photos.md | 7 +- docs/vue/your-first-app/3-saving-photos.md | 5 +- docs/vue/your-first-app/5-adding-mobile.md | 5 +- docs/vue/your-first-app/7-live-reload.md | 2 +- .../.gitignore | 0 docusaurus-theme-classic/package-lock.json | 23149 ++++++++++++++++ docusaurus-theme-classic/package.json | 14 + docusaurus-theme-classic/src/index.js | 48 + docusaurus-theme/package-lock.json | 106 - docusaurus-theme/package.json | 25 - .../src/css/components/_pagination.scss | 53 - docusaurus-theme/src/css/custom.scss | 72 - docusaurus-theme/src/index.js | 15 - docusaurus-theme/src/theme/Backdrop/index.tsx | 17 - .../src/theme/Backdrop/styles.module.scss | 18 - docusaurus-theme/src/theme/DocItem/index.tsx | 156 - .../src/theme/DocItem/styles.module.scss | 70 - .../src/theme/DocSidebar/index.tsx | 357 - .../src/theme/DocSidebar/styles.module.scss | 274 - docusaurus-theme/src/theme/DocStateContext.ts | 12 - .../src/theme/DocStateProvider/index.tsx | 38 - .../src/theme/EditThisPage/index.tsx | 38 - .../src/theme/EditThisPage/styles.module.scss | 6 - .../FrameworkSelector/assets/icon-angular.svg | 5 - .../assets/icon-javascript.svg | 4 - .../FrameworkSelector/assets/icon-react.svg | 5 - .../FrameworkSelector/assets/icon-vue.svg | 5 - .../src/theme/FrameworkSelector/index.tsx | 129 - .../FrameworkSelector/styles.module.scss | 199 - docusaurus-theme/src/theme/Layout/index.tsx | 52 - docusaurus-theme/src/theme/Layout/styles.css | 12 - .../DocSearchButton/DocSearchButton.tsx | 43 - .../DocSearchButton/styles.module.scss | 68 - docusaurus-theme/src/theme/SearchBar/index.js | 209 - .../src/theme/SearchBar/styles.css | 22 - .../src/theme/SearchBar/styles.module.css | 14 - docusaurus-theme/src/theme/TOC/index.tsx | 76 - .../src/theme/TOC/styles.module.scss | 104 - docusaurus-theme/src/theme/Tabs/index.tsx | 172 - .../src/theme/Tabs/styles.module.css | 23 - .../src/theme/VersionSelector/index.tsx | 151 - .../theme/VersionSelector/styles.module.scss | 157 - .../src/theme/hooks/useDocStateContext.ts | 16 - .../src/theme/hooks/useLocalStorage.ts | 37 - docusaurus-theme/src/theme/icons.tsx | 223 - docusaurus-theme/src/theme/mdxOverride.tsx | 20 - docusaurus-theme/src/theme/tokens.ts | 3 - docusaurus.config.js | 198 +- index.d.ts | 10 + legacy-stencil-components/button/button.css | 45 - legacy-stencil-components/button/button.tsx | 36 - legacy-stencil-components/code/code.css | 92 - legacy-stencil-components/code/code.tsx | 51 - .../code/prismjs-shell-theme.css | 26 - .../code/prismjs-theme.css | 127 - .../color-accordion/color-accordion.css | 87 - .../color-accordion/color-accordion.tsx | 94 - .../color-generator/color-generator.css | 24 - .../color-generator/color-generator.tsx | 150 - .../color-gen/color-variables.ts | 50 - legacy-stencil-components/color-gen/color.ts | 188 - .../color-gen/css-text/color-gen-css-text.css | 99 - .../color-gen/css-text/color-gen-css-text.tsx | 81 - .../color-gen/parse-css.ts | 77 - .../color-gen/preview/color-gen-preview.css | 15 - .../color-gen/preview/color-gen-preview.tsx | 48 - .../select-colors/color-gen-select-colors.css | 57 - .../select-colors/color-gen-select-colors.tsx | 78 - .../color-gen-variable-selector.css | 146 - .../color-gen-variable-selector.tsx | 182 - .../command-line/command-cursor.css | 13 - .../command-line/command-cursor.tsx | 19 - .../command-line/command-line.css | 35 - .../command-line/command-line.tsx | 26 - .../command-line/command-output.css | 18 - .../command-line/command-output.tsx | 11 - .../command-line/command-prompt.css | 9 - .../command-line/command-prompt.tsx | 11 - .../contributor-list/contributor-list.css | 36 - .../contributor-list/contributor-list.tsx | 28 - legacy-stencil-components/demo/demo.css | 185 - legacy-stencil-components/demo/demo.tsx | 101 - .../dropdown/dropdown.css | 111 - .../dropdown/dropdown.tsx | 93 - .../header-mobile-collapse.css | 264 - .../header-mobile-collapse.tsx | 104 - legacy-stencil-components/header/header.css | 159 - legacy-stencil-components/header/header.tsx | 155 - .../internal-ad/ad-service.ts | 37 - .../internal-ad/internal-ad.css | 25 - .../internal-ad/internal-ad.tsx | 64 - .../internal-ad/tracking-service.ts | 58 - .../item-list/item-list.css | 31 - .../item-list/item-list.tsx | 11 - legacy-stencil-components/item/item.css | 95 - legacy-stencil-components/item/item.tsx | 64 - legacy-stencil-components/l10n.ts | 32 - .../layered-colors-select.css | 77 - .../layered-colors-select.tsx | 138 - legacy-stencil-components/local-storage.ts | 49 - .../menu/collapsible.css | 47 - .../menu/collapsible.tsx | 53 - .../menu/framework-select.tsx | 69 - legacy-stencil-components/menu/menu.css | 71 - legacy-stencil-components/menu/menu.tsx | 45 - .../menu/templates/cli.tsx | 16 - .../menu/templates/components.tsx | 168 - .../menu/templates/main.tsx | 156 - .../menu/templates/native.css | 5 - .../menu/templates/native.tsx | 36 - .../menu/templates/studio.tsx | 30 - legacy-stencil-components/menu/toggle.css | 25 - legacy-stencil-components/menu/toggle.tsx | 21 - legacy-stencil-components/nav/link.tsx | 44 - legacy-stencil-components/nav/nav.css | 107 - legacy-stencil-components/nav/nav.tsx | 87 - .../new-color-generator.css | 26 - .../new-color-generator.tsx | 96 - .../page-footer/page-footer.css | 21 - .../page-footer/page-footer.tsx | 56 - legacy-stencil-components/page/page.css | 158 - legacy-stencil-components/page/page.tsx | 155 - .../page/templates/api-index.tsx | 28 - .../page/templates/api.tsx | 296 - .../page/templates/cli.tsx | 176 - .../page/templates/default.tsx | 21 - .../page/templates/error.css | 32 - .../page/templates/error.tsx | 45 - .../page/templates/index.ts | 17 - .../page/templates/native.tsx | 215 - .../page/templates/release-notes.tsx | 89 - .../page/to-hypertext.ts | 29 - .../pagination/pagination.css | 88 - .../pagination/pagination.tsx | 62 - .../reference/reference.css | 43 - .../reference/reference.tsx | 47 - legacy-stencil-components/root/root.scss | 37 - legacy-stencil-components/root/root.tsx | 78 - .../search/search-defaults.css | 66 - legacy-stencil-components/search/search.css | 473 - legacy-stencil-components/search/search.tsx | 368 - legacy-stencil-components/select/select.css | 52 - legacy-stencil-components/select/select.tsx | 81 - .../stepped-color-generator/parse-css.ts | 18 - .../stepped-color-generator.css | 42 - .../stepped-color-generator.tsx | 96 - .../table-of-contents/table-of-contents.css | 36 - .../table-of-contents/table-of-contents.tsx | 84 - legacy-stencil-components/tabs/tab.tsx | 22 - legacy-stencil-components/tabs/tabs.css | 64 - legacy-stencil-components/tabs/tabs.tsx | 78 - package-lock.json | 22498 ++------------- package.json | 74 +- scripts/api.js | 68 +- scripts/cli.js | 53 +- scripts/data/cli.json | 1160 +- scripts/data/meta-override.json | 348 + scripts/native.js | 35 +- scripts/release-notes.js | 35 +- scripts/utils.js | 70 +- sidebars.js | 57 +- src/assets/locales/en/messages.json | 243 - src/assets/locales/es/messages.json | 184 - src/assets/locales/fr/messages.json | 184 - src/assets/locales/pt/messages.json | 184 - src/assets/locales/zh/messages.json | 184 - src/components/README.md | 11 + .../global}/Codepen/index.tsx | 2 +- .../global}/DocDemo/android-device-skin.png | Bin .../components/global}/DocDemo/demo.css | 0 .../components/global}/DocDemo/index.js | 15 +- .../global}/DocDemo/iphone-device-skin.png | Bin .../global}/DocsCard/index.tsx | 39 +- .../global}/DocsCard/styles.module.scss | 12 +- .../global}/DocsCards/cards.css | 2 +- .../global}/DocsCards/index.tsx | 0 .../page/api}/APIList/index.tsx | 10 +- .../page/api}/EncapsulationPill/index.tsx | 10 +- .../api}/EncapsulationPill/styles.module.scss | 5 +- .../page/intro/AppWizard/index.module.scss} | 90 +- src/components/page/intro/AppWizard/index.tsx | 23 + .../page/native}/DocsButton/index.tsx | 6 +- .../page/native}/DocsButton/styles.module.css | 2 +- .../NativeEnterpriseCard/index.module.scss | 135 + .../native/NativeEnterpriseCard/index.tsx | 22 + .../page/react/PageStyles/index.module.scss | 71 + .../page/react/PageStyles/index.tsx | 7 + .../page/reference}/ReleaseNotes/index.tsx | 51 +- .../reference/ReleaseNotes/release-notes.json | 182 + .../reference}/ReleaseNotes/styles.module.css | 3 +- .../page/theming/CodeColor/index.module.scss} | 2 +- .../page/theming/CodeColor/index.tsx | 21 + .../page/theming}/ColorAccordion/index.tsx | 49 +- .../theming}/ColorAccordion/styles.module.css | 0 .../page/theming/ColorDot/index.module.scss | 14 + .../page/theming/ColorDot/index.tsx | 23 + .../page/theming/ColorGenerator/index.tsx | 138 + .../theming/ColorGenerator/styles.module.scss | 134 + .../page/theming/ColorInput/index.module.scss | 46 + .../page/theming/ColorInput/index.tsx | 35 + .../theming/InputWrapper/index.module.scss | 57 + .../page/theming/InputWrapper/index.tsx | 22 + .../theming/LayeredColorsSelect/index.tsx | 111 + .../LayeredColorsSelect/styles.module.scss} | 71 +- .../NewColorGenerator/index.module.scss | 46 + .../page/theming/NewColorGenerator/index.tsx | 61 + .../SteppedColorGenerator/index.module.scss | 28 + .../theming/SteppedColorGenerator/index.tsx | 57 + .../page/theming/_utils}/color-variables.ts | 0 .../page/theming/_utils}/color.ts | 56 +- .../page/theming/_utils/index.tsx} | 23 +- src/definitions.ts | 21 - src/manifest.json | 12 +- src/styles.bak/base.css | 298 - src/styles.bak/global.scss | 13 - src/styles.bak/ionic.css | 115 - src/styles.bak/pages/appflow.css | 27 - src/styles.bak/pages/browser-support.css | 3 - src/styles.bak/pages/components.css | 8 - src/styles.bak/pages/frameworks.css | 85 - src/styles.bak/pages/guides.css | 22 - src/styles.bak/pages/index.css | 0 src/styles.bak/pages/native-ee.css | 326 - src/styles.bak/pages/native.css | 37 - src/styles.bak/pages/release-notes.css | 211 - src/styles.bak/pages/studio.css | 3 - src/styles/README.md | 6 + src/styles/components/README.md | 37 + .../styles}/components/_admonition.scss | 0 .../components/_back-to-top-button.scss | 8 + .../css => src/styles}/components/_code.scss | 40 +- src/styles/components/_doc-item.scss | 72 + src/styles/components/_doc-page.scss | 21 + src/styles/components/_doc-sidebar.scss | 166 + src/styles/components/_edit-this-page.scss | 24 + .../styles}/components/_markdown.scss | 16 +- src/styles/components/_navbar-sidebar.scss | 62 + src/styles/components/_navbar.scss | 222 + src/styles/components/_pagination.scss | 56 + src/styles/components/_search.scss | 91 + .../css => src/styles}/components/_table.scss | 6 +- .../css => src/styles}/components/_tabs.scss | 0 .../styles}/components/_theme-toggle.scss | 41 +- src/styles/components/_toc.scss | 81 + src/styles/custom.scss | 111 +- src/styles/pages/browser-support.css | 3 - src/styles/pages/components.css | 8 - src/styles/pages/frameworks.css | 85 - src/styles/pages/guides.css | 17 - src/styles/pages/studio.scss | 8 - src/theme/CodeColor/index.tsx | 22 - .../ColorGenerator/LiveCodeBlock/index.tsx | 73 - .../LiveCodeBlock/styles.module.css | 36 - .../ColorGenerator/SelectColors/index.tsx | 95 - .../SelectColors/styles.module.css | 83 - .../ColorGenerator/VariableSelector/index.tsx | 113 - .../VariableSelector/styles.module.css | 131 - src/theme/ColorGenerator/index.tsx | 164 - src/theme/ColorGenerator/styles.module.css | 19 - src/theme/DocItem/index.tsx | 158 + src/theme/DocItem/styles.module.css | 26 + .../src => src}/theme/DocPage/index.tsx | 145 +- .../theme/DocPage/styles.module.css | 57 +- src/theme/DocSidebar/index.tsx | 14 + src/theme/IconEdit/index.module.scss | 3 + src/theme/IconEdit/index.tsx | 23 + src/theme/LayeredColorsSelect/index.tsx | 146 - src/theme/Logo/index.tsx | 34 - src/theme/Logo/styles.module.css | 3 - src/theme/MDXComponents/index.tsx | 17 + src/theme/Navbar/index.tsx | 243 - src/theme/Navbar/styles.module.scss | 251 - src/theme/NavbarItem/IconLinkNavbarItem.tsx | 56 - src/theme/NavbarItem/NavbarIconLink.tsx | 12 + src/theme/NavbarItem/NavbarSeparator.tsx | 6 + src/theme/NavbarItem/index.tsx | 52 +- src/theme/README.md | 3 + src/theme/ReleaseNotes/release-notes.json | 242 - src/theme/TOC/index.tsx | 17 + src/utils.ts | 23 - src/utils/README.md | 3 + src/{ => utils}/hooks.ts | 38 +- static/.nojekyll | 0 static/README.md | 3 + static/demos/api/accordion/index.html | 618 +- static/demos/api/action-sheet/index.html | 94 +- static/demos/api/alert/index.html | 86 +- static/demos/api/avatar/index.html | 177 +- static/demos/api/back-button/index.html | 77 +- static/demos/api/backdrop/index.html | 64 +- static/demos/api/badge/index.html | 128 +- static/demos/api/breadcrumbs/index.html | 513 +- static/demos/api/button/index.html | 134 +- static/demos/api/card/index.html | 71 +- static/demos/api/checkbox/index.html | 54 +- static/demos/api/chip/index.html | 229 +- static/demos/api/content/index.html | 97 +- static/demos/api/datetime/index.html | 243 +- static/demos/api/fab/index.html | 244 +- static/demos/api/grid/index.html | 206 +- static/demos/api/icon/index.html | 313 +- static/demos/api/infinite-scroll/data.js | 284 +- static/demos/api/infinite-scroll/index.html | 133 +- static/demos/api/input/index.html | 154 +- static/demos/api/item/index.html | 294 +- static/demos/api/list/index.html | 226 +- static/demos/api/loading/index.html | 78 +- static/demos/api/menu/index.html | 153 +- static/demos/api/modal/index.html | 139 +- static/demos/api/nav/index.html | 202 +- static/demos/api/note/index.html | 226 +- static/demos/api/picker/index.html | 169 +- static/demos/api/popover/index.html | 126 +- static/demos/api/progress-bar/index.html | 133 +- static/demos/api/radio/index.html | 149 +- static/demos/api/range/index.html | 114 +- static/demos/api/refresher/index.html | 213 +- static/demos/api/reorder/index.html | 204 +- static/demos/api/router-link/index.html | 202 +- static/demos/api/searchbar/index.html | 160 +- static/demos/api/segment/index.html | 251 +- static/demos/api/select/index.html | 222 +- static/demos/api/skeleton-text/index.html | 533 +- static/demos/api/slides/index.html | 157 +- static/demos/api/spinner/index.html | 142 +- static/demos/api/tabs/index.html | 129 +- static/demos/api/text/index.html | 109 +- static/demos/api/thumbnail/index.html | 167 +- static/demos/api/toast/index.html | 86 +- static/demos/api/toggle/index.html | 129 +- static/demos/api/toolbar/index.html | 213 +- static/img/framework-logo-dark.svg | 19 - static/img/framework-logo.svg | 19 - static/logos/github.svg | 3 + static/logos/ionic-text-docs-dark.svg | 1 + static/logos/ionic-text-docs-light.svg | 1 + static/logos/twitter.svg | 3 + tsconfig.json | 3 +- vercel.json | 60 +- .../version-v5/angular/navigation.md | 3 +- versioned_docs/version-v5/angular/pwa.md | 26 +- versioned_docs/version-v5/angular/testing.md | 48 +- .../version-v5/angular/your-first-app.md | 20 +- .../angular/your-first-app/2-taking-photos.md | 12 +- .../angular/your-first-app/7-live-reload.md | 5 +- versioned_docs/version-v5/api.md | 4 +- versioned_docs/version-v5/api/action-sheet.md | 36 +- versioned_docs/version-v5/api/alert.md | 159 +- versioned_docs/version-v5/api/app.md | 3 +- versioned_docs/version-v5/api/avatar.md | 62 +- versioned_docs/version-v5/api/back-button.md | 229 +- versioned_docs/version-v5/api/backdrop.md | 14 +- versioned_docs/version-v5/api/badge.md | 76 +- versioned_docs/version-v5/api/button.md | 365 +- versioned_docs/version-v5/api/buttons.md | 84 +- versioned_docs/version-v5/api/card-content.md | 17 +- versioned_docs/version-v5/api/card-header.md | 41 +- .../version-v5/api/card-subtitle.md | 33 +- versioned_docs/version-v5/api/card-title.md | 34 +- versioned_docs/version-v5/api/card.md | 248 +- versioned_docs/version-v5/api/checkbox.md | 15 +- versioned_docs/version-v5/api/chip.md | 121 +- versioned_docs/version-v5/api/col.md | 303 +- versioned_docs/version-v5/api/content.md | 261 +- versioned_docs/version-v5/api/datetime.md | 244 +- versioned_docs/version-v5/api/fab-button.md | 289 +- versioned_docs/version-v5/api/fab-list.md | 69 +- versioned_docs/version-v5/api/fab.md | 263 +- versioned_docs/version-v5/api/footer.md | 64 +- versioned_docs/version-v5/api/grid.md | 683 +- versioned_docs/version-v5/api/header.md | 110 +- versioned_docs/version-v5/api/img.md | 131 +- .../version-v5/api/infinite-scroll-content.md | 55 +- .../version-v5/api/infinite-scroll.md | 36 +- versioned_docs/version-v5/api/input.md | 456 +- versioned_docs/version-v5/api/item-divider.md | 262 +- versioned_docs/version-v5/api/item-group.md | 169 +- versioned_docs/version-v5/api/item-option.md | 143 +- versioned_docs/version-v5/api/item-options.md | 25 +- versioned_docs/version-v5/api/item-sliding.md | 541 +- versioned_docs/version-v5/api/item.md | 794 +- versioned_docs/version-v5/api/label.md | 129 +- versioned_docs/version-v5/api/list-header.md | 82 +- versioned_docs/version-v5/api/list.md | 137 +- versioned_docs/version-v5/api/loading.md | 15 +- versioned_docs/version-v5/api/menu-button.md | 117 +- versioned_docs/version-v5/api/menu-toggle.md | 28 +- versioned_docs/version-v5/api/menu.md | 42 +- versioned_docs/version-v5/api/modal.md | 10 +- versioned_docs/version-v5/api/nav-link.md | 53 +- versioned_docs/version-v5/api/nav.md | 197 +- versioned_docs/version-v5/api/note.md | 81 +- versioned_docs/version-v5/api/picker.md | 235 +- versioned_docs/version-v5/api/popover.md | 31 +- versioned_docs/version-v5/api/progress-bar.md | 155 +- versioned_docs/version-v5/api/radio-group.md | 116 +- versioned_docs/version-v5/api/radio.md | 165 +- versioned_docs/version-v5/api/range.md | 295 +- .../version-v5/api/refresher-content.md | 56 +- versioned_docs/version-v5/api/refresher.md | 21 +- .../version-v5/api/reorder-group.md | 305 +- versioned_docs/version-v5/api/reorder.md | 194 +- .../version-v5/api/ripple-effect.md | 50 +- .../version-v5/api/route-redirect.md | 43 +- versioned_docs/version-v5/api/route.md | 35 +- versioned_docs/version-v5/api/router-link.md | 91 +- .../version-v5/api/router-outlet.md | 46 +- versioned_docs/version-v5/api/router.md | 60 +- versioned_docs/version-v5/api/row.md | 5 +- versioned_docs/version-v5/api/searchbar.md | 397 +- .../version-v5/api/segment-button.md | 10 +- versioned_docs/version-v5/api/segment.md | 66 +- .../version-v5/api/select-option.md | 154 +- versioned_docs/version-v5/api/select.md | 152 +- .../version-v5/api/skeleton-text.md | 127 +- versioned_docs/version-v5/api/slide.md | 4 +- versioned_docs/version-v5/api/slides.md | 129 +- versioned_docs/version-v5/api/spinner.md | 93 +- versioned_docs/version-v5/api/split-pane.md | 129 +- versioned_docs/version-v5/api/tab-bar.md | 95 +- versioned_docs/version-v5/api/tab-button.md | 201 +- versioned_docs/version-v5/api/tab.md | 39 +- versioned_docs/version-v5/api/tabs.md | 41 +- versioned_docs/version-v5/api/text.md | 43 +- versioned_docs/version-v5/api/textarea.md | 402 +- versioned_docs/version-v5/api/thumbnail.md | 54 +- versioned_docs/version-v5/api/title.md | 178 +- versioned_docs/version-v5/api/toast.md | 15 +- versioned_docs/version-v5/api/toggle.md | 242 +- versioned_docs/version-v5/api/toolbar.md | 240 +- .../version-v5/api/virtual-scroll.md | 13 +- versioned_docs/version-v5/cli.md | 2 +- .../version-v5/cli/commands/build.md | 276 +- .../version-v5/cli/commands/capacitor-add.md | 42 +- .../cli/commands/capacitor-build.md | 301 +- .../version-v5/cli/commands/capacitor-copy.md | 260 +- .../version-v5/cli/commands/capacitor-open.md | 42 +- .../version-v5/cli/commands/capacitor-run.md | 699 +- .../version-v5/cli/commands/capacitor-sync.md | 260 +- .../cli/commands/capacitor-update.md | 42 +- .../version-v5/cli/commands/completion.md | 6 +- .../version-v5/cli/commands/config-get.md | 180 +- .../version-v5/cli/commands/config-set.md | 251 +- .../version-v5/cli/commands/config-unset.md | 140 +- .../version-v5/cli/commands/cordova-build.md | 412 +- .../cli/commands/cordova-compile.md | 242 +- .../cli/commands/cordova-emulate.md | 1014 +- .../cli/commands/cordova-platform.md | 125 +- .../version-v5/cli/commands/cordova-plugin.md | 165 +- .../cli/commands/cordova-prepare.md | 261 +- .../cli/commands/cordova-requirements.md | 41 +- .../cli/commands/cordova-resources.md | 150 +- .../version-v5/cli/commands/cordova-run.md | 1014 +- .../version-v5/cli/commands/deploy-add.md | 231 +- .../version-v5/cli/commands/deploy-build.md | 137 +- .../cli/commands/deploy-configure.md | 250 +- .../cli/commands/deploy-manifest.md | 4 +- .../version-v5/cli/commands/docs.md | 62 +- .../version-v5/cli/commands/doctor-check.md | 41 +- .../version-v5/cli/commands/doctor-list.md | 6 +- .../version-v5/cli/commands/doctor-treat.md | 41 +- .../cli/commands/enterprise-register.md | 86 +- .../version-v5/cli/commands/generate.md | 79 +- .../version-v5/cli/commands/git-remote.md | 5 +- .../version-v5/cli/commands/info.md | 46 +- .../version-v5/cli/commands/init.md | 260 +- .../cli/commands/integrations-disable.md | 41 +- .../cli/commands/integrations-enable.md | 160 +- .../cli/commands/integrations-list.md | 5 +- .../version-v5/cli/commands/link.md | 43 +- .../version-v5/cli/commands/login.md | 72 +- .../version-v5/cli/commands/logout.md | 5 +- .../version-v5/cli/commands/package-build.md | 367 +- .../version-v5/cli/commands/package-deploy.md | 70 +- .../version-v5/cli/commands/repair.md | 46 +- .../version-v5/cli/commands/serve.md | 790 +- .../version-v5/cli/commands/signup.md | 5 +- .../version-v5/cli/commands/ssh-add.md | 81 +- .../version-v5/cli/commands/ssh-delete.md | 39 +- .../version-v5/cli/commands/ssh-generate.md | 219 +- .../version-v5/cli/commands/ssh-list.md | 46 +- .../version-v5/cli/commands/ssh-setup.md | 5 +- .../version-v5/cli/commands/ssh-use.md | 39 +- .../version-v5/cli/commands/ssl-generate.md | 419 +- .../version-v5/cli/commands/start.md | 496 +- .../version-v5/cli/configuration.md | 42 +- versioned_docs/version-v5/components.md | 218 +- .../contributing/how-to-contribute.md | 88 +- .../core-concepts/cross-platform.md | 6 +- .../version-v5/core-concepts/fundamentals.md | 4 - .../version-v5/core-concepts/webview.md | 4 +- .../what-are-progressive-web-apps.md | 6 +- .../version-v5/deployment/app-store.md | 8 +- .../version-v5/deployment/desktop-app.md | 12 +- .../version-v5/deployment/play-store.md | 2 - .../deployment/progressive-web-app.md | 4 +- .../version-v5/developer-resources/books.md | 9 - .../version-v5/developer-resources/courses.md | 5 +- .../version-v5/developer-resources/guides.md | 2 + .../creating-photo-gallery-device-storage.md | 11 +- .../guides/first-app-v3/intro.md | 9 +- .../guides/first-app-v3/ios-android-camera.md | 8 +- .../realtime-updates-ionic-deploy.md | 58 +- .../track-bugs-ionic-monitoring.md | 27 +- .../creating-photo-gallery-device-storage.md | 11 +- .../guides/first-app-v4/intro.md | 19 +- .../guides/first-app-v4/ios-android-camera.md | 10 +- .../guides/first-app-v4/theming.md | 8 +- .../version-v5/developing/android.md | 64 +- .../developing/hardware-back-button.md | 9 +- versioned_docs/version-v5/developing/ios.md | 76 +- .../version-v5/developing/keyboard.md | 5 +- .../version-v5/developing/previewing.md | 6 +- versioned_docs/version-v5/developing/tips.md | 36 +- versioned_docs/version-v5/index.md | 46 +- versioned_docs/version-v5/intro/cdn.md | 20 +- versioned_docs/version-v5/intro/cli.md | 12 +- .../version-v5/intro/environment.md | 10 +- versioned_docs/version-v5/intro/first-app.md | 10 +- versioned_docs/version-v5/intro/next.md | 10 +- .../version-v5/layout/css-utilities.md | 32 +- .../version-v5/layout/global-stylesheets.md | 3 - versioned_docs/version-v5/layout/structure.md | 4 +- versioned_docs/version-v5/native-community.md | 11 +- versioned_docs/version-v5/native-faq.md | 18 +- versioned_docs/version-v5/native.md | 211 +- versioned_docs/version-v5/native/abbyy-rtr.md | 60 +- .../version-v5/native/action-sheet.md | 65 +- versioned_docs/version-v5/native/adjust.md | 60 +- .../version-v5/native/admob-free.md | 60 +- .../version-v5/native/admob-plus.md | 60 +- versioned_docs/version-v5/native/admob-pro.md | 60 +- versioned_docs/version-v5/native/admob.md | 60 +- versioned_docs/version-v5/native/aes-256.md | 60 +- versioned_docs/version-v5/native/alipay.md | 60 +- .../version-v5/native/all-in-one-sdk.md | 65 +- .../version-v5/native/analytics-firebase.md | 60 +- .../version-v5/native/android-exoplayer.md | 60 +- .../version-v5/native/android-full-screen.md | 66 +- .../version-v5/native/android-notch.md | 65 +- .../version-v5/native/android-permissions.md | 67 +- versioned_docs/version-v5/native/anyline.md | 60 +- .../version-v5/native/app-availability.md | 61 +- .../version-v5/native/app-center-analytics.md | 67 +- .../version-v5/native/app-center-crashes.md | 66 +- .../version-v5/native/app-center-push.md | 66 +- .../version-v5/native/app-launcher.md | 65 +- .../version-v5/native/app-minimize.md | 60 +- .../version-v5/native/app-preferences.md | 61 +- versioned_docs/version-v5/native/app-rate.md | 60 +- .../version-v5/native/app-version.md | 65 +- versioned_docs/version-v5/native/apple-pay.md | 60 +- .../version-v5/native/apple-wallet.md | 60 +- versioned_docs/version-v5/native/appodeal.md | 63 +- versioned_docs/version-v5/native/appsflyer.md | 65 +- .../version-v5/native/audio-management.md | 66 +- versioned_docs/version-v5/native/autostart.md | 60 +- .../version-v5/native/background-fetch.md | 66 +- .../native/background-geolocation.md | 67 +- .../version-v5/native/background-mode.md | 66 +- .../version-v5/native/background-upload.md | 66 +- versioned_docs/version-v5/native/backlight.md | 60 +- versioned_docs/version-v5/native/badge.md | 60 +- .../version-v5/native/baidu-push.md | 65 +- .../version-v5/native/barcode-scanner.md | 66 +- .../version-v5/native/base64-to-gallery.md | 60 +- versioned_docs/version-v5/native/base64.md | 60 +- .../version-v5/native/battery-status.md | 61 +- versioned_docs/version-v5/native/biocatch.md | 60 +- .../version-v5/native/biometric-wrapper.md | 59 +- versioned_docs/version-v5/native/ble.md | 60 +- versioned_docs/version-v5/native/blinkid.md | 60 +- versioned_docs/version-v5/native/blinkup.md | 60 +- .../version-v5/native/bluetooth-le.md | 65 +- .../version-v5/native/bluetooth-serial.md | 61 +- versioned_docs/version-v5/native/braintree.md | 60 +- versioned_docs/version-v5/native/branch-io.md | 65 +- .../version-v5/native/brightness.md | 60 +- .../version-v5/native/broadcaster.md | 60 +- .../version-v5/native/browser-tab.md | 60 +- .../version-v5/native/build-info.md | 60 +- versioned_docs/version-v5/native/calendar.md | 65 +- .../version-v5/native/call-directory.md | 66 +- versioned_docs/version-v5/native/call-log.md | 60 +- .../version-v5/native/call-number.md | 60 +- .../version-v5/native/camera-preview.md | 66 +- versioned_docs/version-v5/native/camera.md | 60 +- versioned_docs/version-v5/native/card-io.md | 60 +- versioned_docs/version-v5/native/chooser.md | 60 +- versioned_docs/version-v5/native/class-kit.md | 65 +- versioned_docs/version-v5/native/clevertap.md | 60 +- versioned_docs/version-v5/native/clipboard.md | 60 +- .../version-v5/native/cloud-settings.md | 61 +- versioned_docs/version-v5/native/clover-go.md | 60 +- versioned_docs/version-v5/native/code-push.md | 60 +- .../version-v5/native/colored-browser-tabs.md | 67 +- versioned_docs/version-v5/native/contacts.md | 60 +- .../version-v5/native/couchbase-lite.md | 66 +- versioned_docs/version-v5/native/crop.md | 60 +- .../version-v5/native/custom-uisdk.md | 60 +- .../version-v5/native/date-picker.md | 65 +- versioned_docs/version-v5/native/db-meter.md | 60 +- versioned_docs/version-v5/native/deeplinks.md | 66 +- .../version-v5/native/device-accounts.md | 60 +- .../version-v5/native/device-feedback.md | 61 +- .../version-v5/native/device-motion.md | 60 +- .../version-v5/native/device-orientation.md | 66 +- versioned_docs/version-v5/native/device.md | 60 +- .../version-v5/native/dfu-update.md | 65 +- .../version-v5/native/diagnostic.md | 60 +- versioned_docs/version-v5/native/dialogs.md | 60 +- versioned_docs/version-v5/native/dns.md | 60 +- .../version-v5/native/document-picker.md | 63 +- .../version-v5/native/document-scanner.md | 66 +- .../version-v5/native/document-viewer.md | 66 +- .../version-v5/native/downloader.md | 66 +- .../version-v5/native/email-composer.md | 61 +- .../version-v5/native/emm-app-config.md | 61 +- .../version-v5/native/estimote-beacons.md | 60 +- .../native/extended-device-information.md | 67 +- versioned_docs/version-v5/native/fabric.md | 60 +- versioned_docs/version-v5/native/facebook.md | 65 +- versioned_docs/version-v5/native/fcm.md | 66 +- .../version-v5/native/file-chooser.md | 60 +- .../version-v5/native/file-encryption.md | 60 +- .../version-v5/native/file-opener.md | 60 +- versioned_docs/version-v5/native/file-path.md | 60 +- .../version-v5/native/file-picker.md | 65 +- .../version-v5/native/file-transfer.md | 60 +- versioned_docs/version-v5/native/file.md | 60 +- .../version-v5/native/firebase-analytics.md | 66 +- .../native/firebase-authentication.md | 68 +- .../version-v5/native/firebase-config.md | 66 +- .../version-v5/native/firebase-crash.md | 66 +- .../version-v5/native/firebase-crashlytics.md | 67 +- .../native/firebase-dynamic-links.md | 65 +- .../version-v5/native/firebase-messaging.md | 66 +- .../version-v5/native/firebase-vision.md | 66 +- .../version-v5/native/firebase-x.md | 60 +- versioned_docs/version-v5/native/firebase.md | 60 +- .../version-v5/native/flashlight.md | 65 +- .../version-v5/native/flurry-analytics.md | 66 +- .../version-v5/native/foreground-service.md | 66 +- versioned_docs/version-v5/native/ftp.md | 60 +- .../version-v5/native/full-screen-image.md | 66 +- .../version-v5/native/gao-de-location.md | 66 +- .../version-v5/native/ge-tui-sdk-plugin.md | 65 +- versioned_docs/version-v5/native/geofence.md | 60 +- .../version-v5/native/geolocation.md | 60 +- .../version-v5/native/globalization.md | 60 +- .../version-v5/native/google-analytics.md | 61 +- .../version-v5/native/google-nearby.md | 65 +- .../native/google-play-games-services.md | 68 +- .../version-v5/native/google-plus.md | 65 +- versioned_docs/version-v5/native/gyroscope.md | 60 +- versioned_docs/version-v5/native/hce.md | 60 +- .../version-v5/native/header-color.md | 60 +- .../version-v5/native/health-kit.md | 60 +- versioned_docs/version-v5/native/health.md | 60 +- versioned_docs/version-v5/native/hotspot.md | 60 +- versioned_docs/version-v5/native/http.md | 65 +- versioned_docs/version-v5/native/httpd.md | 60 +- .../version-v5/native/iamport-cordova.md | 60 +- versioned_docs/version-v5/native/ibeacon.md | 60 +- .../version-v5/native/image-picker.md | 61 +- .../version-v5/native/image-resizer.md | 65 +- versioned_docs/version-v5/native/imap.md | 65 +- .../version-v5/native/in-app-browser.md | 60 +- .../version-v5/native/in-app-purchase-2.md | 60 +- .../version-v5/native/in-app-purchase.md | 66 +- .../version-v5/native/in-app-review.md | 60 +- .../version-v5/native/index-app-content.md | 66 +- versioned_docs/version-v5/native/insomnia.md | 65 +- versioned_docs/version-v5/native/instagram.md | 60 +- .../version-v5/native/intel-security.md | 66 +- versioned_docs/version-v5/native/intercom.md | 60 +- .../version-v5/native/ionic-webview.md | 65 +- .../ios-aswebauthenticationsession-api.md | 67 +- versioned_docs/version-v5/native/is-debug.md | 60 +- .../version-v5/native/janalytics.md | 60 +- versioned_docs/version-v5/native/jins-meme.md | 60 +- versioned_docs/version-v5/native/jumio.md | 60 +- versioned_docs/version-v5/native/keyboard.md | 65 +- .../version-v5/native/keychain-touch-id.md | 66 +- versioned_docs/version-v5/native/keychain.md | 65 +- .../version-v5/native/kommunicate.md | 65 +- versioned_docs/version-v5/native/last-cam.md | 60 +- .../version-v5/native/launch-navigator.md | 62 +- .../version-v5/native/launch-review.md | 60 +- .../version-v5/native/line-login.md | 60 +- .../version-v5/native/local-notifications.md | 67 +- .../version-v5/native/location-accuracy.md | 67 +- .../version-v5/native/lottie-splash-screen.md | 67 +- versioned_docs/version-v5/native/luxand.md | 60 +- .../version-v5/native/magnetometer.md | 60 +- versioned_docs/version-v5/native/market.md | 60 +- .../version-v5/native/media-capture.md | 60 +- versioned_docs/version-v5/native/media.md | 60 +- versioned_docs/version-v5/native/metrix.md | 60 +- versioned_docs/version-v5/native/mixpanel.md | 65 +- .../version-v5/native/mlkit-translate.md | 66 +- .../version-v5/native/mobile-accessibility.md | 67 +- .../version-v5/native/mobile-messaging.md | 66 +- versioned_docs/version-v5/native/ms-adal.md | 65 +- .../native/multiple-document-picker.md | 68 +- .../version-v5/native/music-controls.md | 66 +- .../version-v5/native/native-audio.md | 65 +- .../version-v5/native/native-geocoder.md | 66 +- .../version-v5/native/native-keyboard.md | 66 +- .../native/native-page-transitions.md | 68 +- .../version-v5/native/native-ringtones.md | 66 +- .../version-v5/native/native-storage.md | 65 +- .../version-v5/native/navigation-bar.md | 65 +- .../version-v5/native/network-interface.md | 66 +- versioned_docs/version-v5/native/network.md | 65 +- versioned_docs/version-v5/native/nfc.md | 60 +- versioned_docs/version-v5/native/ocr.md | 65 +- versioned_docs/version-v5/native/onesignal.md | 60 +- .../version-v5/native/open-native-settings.md | 61 +- versioned_docs/version-v5/native/openalpr.md | 60 +- versioned_docs/version-v5/native/paypal.md | 60 +- .../version-v5/native/pdf-generator.md | 60 +- versioned_docs/version-v5/native/pedometer.md | 60 +- .../native/phonegap-local-notification.md | 68 +- .../version-v5/native/photo-library.md | 60 +- .../version-v5/native/photo-viewer.md | 60 +- versioned_docs/version-v5/native/pin-check.md | 60 +- .../version-v5/native/pin-dialog.md | 60 +- versioned_docs/version-v5/native/pinterest.md | 60 +- .../version-v5/native/power-management.md | 66 +- .../version-v5/native/preview-any-file.md | 61 +- versioned_docs/version-v5/native/printer.md | 60 +- .../version-v5/native/pspdfkit-cordova.md | 60 +- versioned_docs/version-v5/native/purchases.md | 60 +- versioned_docs/version-v5/native/push.md | 60 +- .../version-v5/native/pushape-push.md | 60 +- versioned_docs/version-v5/native/qqsdk.md | 60 +- .../version-v5/native/qr-scanner.md | 60 +- versioned_docs/version-v5/native/quikkly.md | 60 +- .../native/regula-document-reader.md | 68 +- versioned_docs/version-v5/native/rollbar.md | 60 +- .../native/safari-view-controller.md | 67 +- .../version-v5/native/screen-orientation.md | 66 +- .../version-v5/native/screenshot.md | 61 +- versioned_docs/version-v5/native/sensors.md | 67 +- versioned_docs/version-v5/native/serial.md | 60 +- .../version-v5/native/service-discovery.md | 65 +- versioned_docs/version-v5/native/shake.md | 60 +- .../version-v5/native/shop-checkout.md | 60 +- .../version-v5/native/sign-in-with-apple.md | 66 +- versioned_docs/version-v5/native/sim.md | 60 +- .../version-v5/native/siri-shortcuts.md | 66 +- versioned_docs/version-v5/native/smartlook.md | 63 +- .../version-v5/native/sms-retriever.md | 66 +- versioned_docs/version-v5/native/sms.md | 60 +- .../version-v5/native/social-sharing.md | 66 +- .../version-v5/native/speech-recognition.md | 66 +- versioned_docs/version-v5/native/speechkit.md | 65 +- .../version-v5/native/spinner-dialog.md | 66 +- .../version-v5/native/splash-screen.md | 60 +- .../version-v5/native/spotify-auth.md | 60 +- .../version-v5/native/sqlite-db-copy.md | 60 +- .../version-v5/native/sqlite-porter.md | 60 +- versioned_docs/version-v5/native/sqlite.md | 60 +- .../version-v5/native/ssh-connect.md | 65 +- versioned_docs/version-v5/native/star-prnt.md | 60 +- .../version-v5/native/status-bar.md | 60 +- .../version-v5/native/stepcounter.md | 60 +- .../version-v5/native/streaming-media.md | 66 +- versioned_docs/version-v5/native/stripe.md | 60 +- versioned_docs/version-v5/native/sum-up.md | 60 +- .../version-v5/native/taptic-engine.md | 65 +- .../version-v5/native/tealium-adidentifier.md | 61 +- .../native/tealium-installreferrer.md | 62 +- versioned_docs/version-v5/native/tealium.md | 60 +- .../version-v5/native/text-to-speech.md | 60 +- .../version-v5/native/theme-detection.md | 66 +- .../version-v5/native/themeable-browser.md | 66 +- .../version-v5/native/three-dee-touch.md | 65 +- versioned_docs/version-v5/native/toast.md | 60 +- versioned_docs/version-v5/native/touch-id.md | 65 +- .../version-v5/native/twitter-connect.md | 60 +- versioned_docs/version-v5/native/uid.md | 60 +- .../version-v5/native/unique-device-id.md | 61 +- .../version-v5/native/unvired-cordova-sdk.md | 62 +- versioned_docs/version-v5/native/uptime.md | 60 +- .../version-v5/native/urbanairship.md | 60 +- .../version-v5/native/usabilla-cordova-sdk.md | 60 +- .../version-v5/native/user-agent.md | 60 +- versioned_docs/version-v5/native/vibes.md | 60 +- versioned_docs/version-v5/native/vibration.md | 60 +- .../version-v5/native/video-capture-plus.md | 66 +- .../version-v5/native/video-editor.md | 60 +- .../version-v5/native/video-player.md | 62 +- .../version-v5/native/web-intent.md | 66 +- .../version-v5/native/web-server.md | 60 +- .../version-v5/native/web-socket-server.md | 66 +- versioned_docs/version-v5/native/webengage.md | 60 +- versioned_docs/version-v5/native/wechat.md | 60 +- .../version-v5/native/wheel-selector.md | 66 +- .../version-v5/native/wifi-wizard-2.md | 60 +- .../version-v5/native/wonderpush.md | 60 +- .../version-v5/native/youtube-video-player.md | 62 +- versioned_docs/version-v5/native/zbar.md | 60 +- versioned_docs/version-v5/native/zeroconf.md | 60 +- versioned_docs/version-v5/native/zip.md | 60 +- versioned_docs/version-v5/native/zoom.md | 60 +- versioned_docs/version-v5/react.md | 38 +- versioned_docs/version-v5/react/lifecycle.md | 9 +- versioned_docs/version-v5/react/navigation.md | 12 +- versioned_docs/version-v5/react/overlays.md | 28 +- versioned_docs/version-v5/react/overview.md | 6 +- versioned_docs/version-v5/react/pwa.md | 15 +- versioned_docs/version-v5/react/quickstart.md | 33 +- versioned_docs/version-v5/react/testing.md | 1 - .../version-v5/react/your-first-app.md | 20 +- .../react/your-first-app/2-taking-photos.md | 7 +- .../react/your-first-app/3-saving-photos.md | 5 +- .../react/your-first-app/5-adding-mobile.md | 5 +- .../react/your-first-app/7-live-reload.md | 2 +- .../version-v5/reference/browser-support.md | 27 +- .../version-v5/reference/glossary.md | 752 +- .../version-v5/reference/migration.md | 5 +- .../version-v5/reference/release-notes.md | 2 +- .../version-v5/reference/support.md | 96 +- .../version-v5/reference/versioning.md | 1 - versioned_docs/version-v5/studio.md | 10 +- versioned_docs/version-v5/studio/code.md | 22 +- versioned_docs/version-v5/studio/designer.md | 28 +- versioned_docs/version-v5/studio/running.md | 9 +- versioned_docs/version-v5/studio/settings.md | 13 +- .../version-v5/studio/setup/installation.md | 6 +- .../version-v5/studio/setup/native.md | 12 +- versioned_docs/version-v5/studio/support.md | 6 +- versioned_docs/version-v5/studio/terminal.md | 1 - .../version-v5/techniques/security.md | 1 + versioned_docs/version-v5/theming/advanced.md | 18 +- versioned_docs/version-v5/theming/basics.md | 4 +- .../version-v5/theming/color-generator.md | 2 +- versioned_docs/version-v5/theming/colors.md | 10 +- .../version-v5/theming/css-shadow-parts.md | 15 +- .../version-v5/theming/css-variables.md | 3 +- .../version-v5/theming/dark-mode.md | 16 +- versioned_docs/version-v5/theming/themes.md | 6 +- .../version-v5/troubleshooting/cors.md | 11 +- .../version-v5/troubleshooting/debugging.md | 26 +- .../version-v5/troubleshooting/native.md | 36 +- .../version-v5/utilities/animations.md | 11 +- .../version-v5/utilities/gestures.md | 5 +- versioned_docs/version-v5/vue/lifecycle.md | 8 +- versioned_docs/version-v5/vue/navigation.md | 20 +- versioned_docs/version-v5/vue/overview.md | 16 +- versioned_docs/version-v5/vue/performance.md | 40 +- versioned_docs/version-v5/vue/pwa.md | 7 +- versioned_docs/version-v5/vue/quickstart.md | 33 +- .../version-v5/vue/troubleshooting.md | 35 +- .../version-v5/vue/your-first-app.md | 20 +- .../vue/your-first-app/2-taking-photos.md | 7 +- .../vue/your-first-app/3-saving-photos.md | 5 +- .../vue/your-first-app/5-adding-mobile.md | 5 +- .../vue/your-first-app/7-live-reload.md | 2 +- versions.json | 4 +- 986 files changed, 59855 insertions(+), 62024 deletions(-) create mode 100644 .prettierignore create mode 100644 .prettierrc.js create mode 100644 docs/README.md rename versioned_docs/version-v5/theming/color-generator.mdx => docs/theming/color-generator.md (77%) rename {docusaurus-theme => docusaurus-theme-classic}/.gitignore (100%) create mode 100644 docusaurus-theme-classic/package-lock.json create mode 100644 docusaurus-theme-classic/package.json create mode 100644 docusaurus-theme-classic/src/index.js delete mode 100644 docusaurus-theme/package-lock.json delete mode 100644 docusaurus-theme/package.json delete mode 100644 docusaurus-theme/src/css/components/_pagination.scss delete mode 100644 docusaurus-theme/src/css/custom.scss delete mode 100644 docusaurus-theme/src/index.js delete mode 100644 docusaurus-theme/src/theme/Backdrop/index.tsx delete mode 100644 docusaurus-theme/src/theme/Backdrop/styles.module.scss delete mode 100644 docusaurus-theme/src/theme/DocItem/index.tsx delete mode 100644 docusaurus-theme/src/theme/DocItem/styles.module.scss delete mode 100644 docusaurus-theme/src/theme/DocSidebar/index.tsx delete mode 100644 docusaurus-theme/src/theme/DocSidebar/styles.module.scss delete mode 100644 docusaurus-theme/src/theme/DocStateContext.ts delete mode 100644 docusaurus-theme/src/theme/DocStateProvider/index.tsx delete mode 100644 docusaurus-theme/src/theme/EditThisPage/index.tsx delete mode 100644 docusaurus-theme/src/theme/EditThisPage/styles.module.scss delete mode 100644 docusaurus-theme/src/theme/FrameworkSelector/assets/icon-angular.svg delete mode 100644 docusaurus-theme/src/theme/FrameworkSelector/assets/icon-javascript.svg delete mode 100644 docusaurus-theme/src/theme/FrameworkSelector/assets/icon-react.svg delete mode 100644 docusaurus-theme/src/theme/FrameworkSelector/assets/icon-vue.svg delete mode 100644 docusaurus-theme/src/theme/FrameworkSelector/index.tsx delete mode 100644 docusaurus-theme/src/theme/FrameworkSelector/styles.module.scss delete mode 100644 docusaurus-theme/src/theme/Layout/index.tsx delete mode 100644 docusaurus-theme/src/theme/Layout/styles.css delete mode 100644 docusaurus-theme/src/theme/SearchBar/DocSearchButton/DocSearchButton.tsx delete mode 100644 docusaurus-theme/src/theme/SearchBar/DocSearchButton/styles.module.scss delete mode 100644 docusaurus-theme/src/theme/SearchBar/index.js delete mode 100644 docusaurus-theme/src/theme/SearchBar/styles.css delete mode 100644 docusaurus-theme/src/theme/SearchBar/styles.module.css delete mode 100644 docusaurus-theme/src/theme/TOC/index.tsx delete mode 100644 docusaurus-theme/src/theme/TOC/styles.module.scss delete mode 100644 docusaurus-theme/src/theme/Tabs/index.tsx delete mode 100644 docusaurus-theme/src/theme/Tabs/styles.module.css delete mode 100644 docusaurus-theme/src/theme/VersionSelector/index.tsx delete mode 100644 docusaurus-theme/src/theme/VersionSelector/styles.module.scss delete mode 100644 docusaurus-theme/src/theme/hooks/useDocStateContext.ts delete mode 100644 docusaurus-theme/src/theme/hooks/useLocalStorage.ts delete mode 100644 docusaurus-theme/src/theme/icons.tsx delete mode 100644 docusaurus-theme/src/theme/mdxOverride.tsx delete mode 100644 docusaurus-theme/src/theme/tokens.ts create mode 100644 index.d.ts delete mode 100644 legacy-stencil-components/button/button.css delete mode 100644 legacy-stencil-components/button/button.tsx delete mode 100644 legacy-stencil-components/code/code.css delete mode 100644 legacy-stencil-components/code/code.tsx delete mode 100644 legacy-stencil-components/code/prismjs-shell-theme.css delete mode 100644 legacy-stencil-components/code/prismjs-theme.css delete mode 100755 legacy-stencil-components/color-accordion/color-accordion.css delete mode 100755 legacy-stencil-components/color-accordion/color-accordion.tsx delete mode 100755 legacy-stencil-components/color-gen/color-generator/color-generator.css delete mode 100755 legacy-stencil-components/color-gen/color-generator/color-generator.tsx delete mode 100755 legacy-stencil-components/color-gen/color-variables.ts delete mode 100755 legacy-stencil-components/color-gen/color.ts delete mode 100755 legacy-stencil-components/color-gen/css-text/color-gen-css-text.css delete mode 100755 legacy-stencil-components/color-gen/css-text/color-gen-css-text.tsx delete mode 100755 legacy-stencil-components/color-gen/parse-css.ts delete mode 100755 legacy-stencil-components/color-gen/preview/color-gen-preview.css delete mode 100755 legacy-stencil-components/color-gen/preview/color-gen-preview.tsx delete mode 100755 legacy-stencil-components/color-gen/select-colors/color-gen-select-colors.css delete mode 100755 legacy-stencil-components/color-gen/select-colors/color-gen-select-colors.tsx delete mode 100755 legacy-stencil-components/color-gen/variable-selector/color-gen-variable-selector.css delete mode 100755 legacy-stencil-components/color-gen/variable-selector/color-gen-variable-selector.tsx delete mode 100755 legacy-stencil-components/command-line/command-cursor.css delete mode 100755 legacy-stencil-components/command-line/command-cursor.tsx delete mode 100755 legacy-stencil-components/command-line/command-line.css delete mode 100755 legacy-stencil-components/command-line/command-line.tsx delete mode 100755 legacy-stencil-components/command-line/command-output.css delete mode 100755 legacy-stencil-components/command-line/command-output.tsx delete mode 100755 legacy-stencil-components/command-line/command-prompt.css delete mode 100755 legacy-stencil-components/command-line/command-prompt.tsx delete mode 100644 legacy-stencil-components/contributor-list/contributor-list.css delete mode 100644 legacy-stencil-components/contributor-list/contributor-list.tsx delete mode 100644 legacy-stencil-components/demo/demo.css delete mode 100644 legacy-stencil-components/demo/demo.tsx delete mode 100644 legacy-stencil-components/dropdown/dropdown.css delete mode 100644 legacy-stencil-components/dropdown/dropdown.tsx delete mode 100644 legacy-stencil-components/header-mobile-collapse/header-mobile-collapse.css delete mode 100644 legacy-stencil-components/header-mobile-collapse/header-mobile-collapse.tsx delete mode 100644 legacy-stencil-components/header/header.css delete mode 100644 legacy-stencil-components/header/header.tsx delete mode 100644 legacy-stencil-components/internal-ad/ad-service.ts delete mode 100644 legacy-stencil-components/internal-ad/internal-ad.css delete mode 100644 legacy-stencil-components/internal-ad/internal-ad.tsx delete mode 100644 legacy-stencil-components/internal-ad/tracking-service.ts delete mode 100644 legacy-stencil-components/item-list/item-list.css delete mode 100644 legacy-stencil-components/item-list/item-list.tsx delete mode 100644 legacy-stencil-components/item/item.css delete mode 100644 legacy-stencil-components/item/item.tsx delete mode 100644 legacy-stencil-components/l10n.ts delete mode 100755 legacy-stencil-components/layered-colors-select/layered-colors-select.css delete mode 100755 legacy-stencil-components/layered-colors-select/layered-colors-select.tsx delete mode 100644 legacy-stencil-components/local-storage.ts delete mode 100644 legacy-stencil-components/menu/collapsible.css delete mode 100644 legacy-stencil-components/menu/collapsible.tsx delete mode 100644 legacy-stencil-components/menu/framework-select.tsx delete mode 100644 legacy-stencil-components/menu/menu.css delete mode 100644 legacy-stencil-components/menu/menu.tsx delete mode 100644 legacy-stencil-components/menu/templates/cli.tsx delete mode 100644 legacy-stencil-components/menu/templates/components.tsx delete mode 100644 legacy-stencil-components/menu/templates/main.tsx delete mode 100644 legacy-stencil-components/menu/templates/native.css delete mode 100644 legacy-stencil-components/menu/templates/native.tsx delete mode 100644 legacy-stencil-components/menu/templates/studio.tsx delete mode 100644 legacy-stencil-components/menu/toggle.css delete mode 100644 legacy-stencil-components/menu/toggle.tsx delete mode 100644 legacy-stencil-components/nav/link.tsx delete mode 100644 legacy-stencil-components/nav/nav.css delete mode 100644 legacy-stencil-components/nav/nav.tsx delete mode 100755 legacy-stencil-components/new-color-generator/new-color-generator.css delete mode 100755 legacy-stencil-components/new-color-generator/new-color-generator.tsx delete mode 100644 legacy-stencil-components/page-footer/page-footer.css delete mode 100644 legacy-stencil-components/page-footer/page-footer.tsx delete mode 100644 legacy-stencil-components/page/page.css delete mode 100644 legacy-stencil-components/page/page.tsx delete mode 100644 legacy-stencil-components/page/templates/api-index.tsx delete mode 100644 legacy-stencil-components/page/templates/api.tsx delete mode 100644 legacy-stencil-components/page/templates/cli.tsx delete mode 100644 legacy-stencil-components/page/templates/default.tsx delete mode 100644 legacy-stencil-components/page/templates/error.css delete mode 100644 legacy-stencil-components/page/templates/error.tsx delete mode 100644 legacy-stencil-components/page/templates/index.ts delete mode 100644 legacy-stencil-components/page/templates/native.tsx delete mode 100644 legacy-stencil-components/page/templates/release-notes.tsx delete mode 100644 legacy-stencil-components/page/to-hypertext.ts delete mode 100644 legacy-stencil-components/pagination/pagination.css delete mode 100644 legacy-stencil-components/pagination/pagination.tsx delete mode 100644 legacy-stencil-components/reference/reference.css delete mode 100644 legacy-stencil-components/reference/reference.tsx delete mode 100644 legacy-stencil-components/root/root.scss delete mode 100644 legacy-stencil-components/root/root.tsx delete mode 100644 legacy-stencil-components/search/search-defaults.css delete mode 100644 legacy-stencil-components/search/search.css delete mode 100644 legacy-stencil-components/search/search.tsx delete mode 100644 legacy-stencil-components/select/select.css delete mode 100644 legacy-stencil-components/select/select.tsx delete mode 100755 legacy-stencil-components/stepped-color-generator/parse-css.ts delete mode 100755 legacy-stencil-components/stepped-color-generator/stepped-color-generator.css delete mode 100755 legacy-stencil-components/stepped-color-generator/stepped-color-generator.tsx delete mode 100644 legacy-stencil-components/table-of-contents/table-of-contents.css delete mode 100644 legacy-stencil-components/table-of-contents/table-of-contents.tsx delete mode 100644 legacy-stencil-components/tabs/tab.tsx delete mode 100755 legacy-stencil-components/tabs/tabs.css delete mode 100755 legacy-stencil-components/tabs/tabs.tsx delete mode 100644 src/assets/locales/en/messages.json delete mode 100644 src/assets/locales/es/messages.json delete mode 100644 src/assets/locales/fr/messages.json delete mode 100644 src/assets/locales/pt/messages.json delete mode 100644 src/assets/locales/zh/messages.json create mode 100644 src/components/README.md rename src/{theme => components/global}/Codepen/index.tsx (91%) rename {docusaurus-theme/src/theme => src/components/global}/DocDemo/android-device-skin.png (100%) rename {docusaurus-theme/src/theme => src/components/global}/DocDemo/demo.css (100%) rename {docusaurus-theme/src/theme => src/components/global}/DocDemo/index.js (91%) rename {docusaurus-theme/src/theme => src/components/global}/DocDemo/iphone-device-skin.png (100%) rename src/{theme => components/global}/DocsCard/index.tsx (65%) rename src/{theme => components/global}/DocsCard/styles.module.scss (92%) rename src/{theme => components/global}/DocsCards/cards.css (89%) rename src/{theme => components/global}/DocsCards/index.tsx (100%) rename src/{theme => components/page/api}/APIList/index.tsx (71%) rename src/{theme => components/page/api}/EncapsulationPill/index.tsx (67%) rename src/{theme => components/page/api}/EncapsulationPill/styles.module.scss (90%) rename src/{styles/pages/cli.css => components/page/intro/AppWizard/index.module.scss} (63%) create mode 100644 src/components/page/intro/AppWizard/index.tsx rename src/{theme => components/page/native}/DocsButton/index.tsx (77%) rename src/{theme => components/page/native}/DocsButton/styles.module.css (96%) create mode 100644 src/components/page/native/NativeEnterpriseCard/index.module.scss create mode 100644 src/components/page/native/NativeEnterpriseCard/index.tsx create mode 100644 src/components/page/react/PageStyles/index.module.scss create mode 100644 src/components/page/react/PageStyles/index.tsx rename src/{theme => components/page/reference}/ReleaseNotes/index.tsx (61%) create mode 100644 src/components/page/reference/ReleaseNotes/release-notes.json rename src/{theme => components/page/reference}/ReleaseNotes/styles.module.css (98%) rename src/{theme/CodeColor/code-color.module.css => components/page/theming/CodeColor/index.module.scss} (86%) mode change 100755 => 100644 create mode 100644 src/components/page/theming/CodeColor/index.tsx rename src/{theme => components/page/theming}/ColorAccordion/index.tsx (74%) rename src/{theme => components/page/theming}/ColorAccordion/styles.module.css (100%) create mode 100644 src/components/page/theming/ColorDot/index.module.scss create mode 100644 src/components/page/theming/ColorDot/index.tsx create mode 100644 src/components/page/theming/ColorGenerator/index.tsx create mode 100644 src/components/page/theming/ColorGenerator/styles.module.scss create mode 100644 src/components/page/theming/ColorInput/index.module.scss create mode 100644 src/components/page/theming/ColorInput/index.tsx create mode 100644 src/components/page/theming/InputWrapper/index.module.scss create mode 100644 src/components/page/theming/InputWrapper/index.tsx create mode 100755 src/components/page/theming/LayeredColorsSelect/index.tsx rename src/{theme/LayeredColorsSelect/styles.module.css => components/page/theming/LayeredColorsSelect/styles.module.scss} (71%) create mode 100755 src/components/page/theming/NewColorGenerator/index.module.scss create mode 100755 src/components/page/theming/NewColorGenerator/index.tsx create mode 100755 src/components/page/theming/SteppedColorGenerator/index.module.scss create mode 100755 src/components/page/theming/SteppedColorGenerator/index.tsx rename src/{theme/ColorGenerator/util => components/page/theming/_utils}/color-variables.ts (100%) rename src/{theme/ColorGenerator/util => components/page/theming/_utils}/color.ts (81%) rename src/{theme/ColorGenerator/util/parse-css.ts => components/page/theming/_utils/index.tsx} (75%) mode change 100755 => 100644 delete mode 100644 src/definitions.ts delete mode 100644 src/styles.bak/base.css delete mode 100644 src/styles.bak/global.scss delete mode 100644 src/styles.bak/ionic.css delete mode 100644 src/styles.bak/pages/appflow.css delete mode 100644 src/styles.bak/pages/browser-support.css delete mode 100644 src/styles.bak/pages/components.css delete mode 100644 src/styles.bak/pages/frameworks.css delete mode 100644 src/styles.bak/pages/guides.css delete mode 100644 src/styles.bak/pages/index.css delete mode 100644 src/styles.bak/pages/native-ee.css delete mode 100644 src/styles.bak/pages/native.css delete mode 100644 src/styles.bak/pages/release-notes.css delete mode 100644 src/styles.bak/pages/studio.css create mode 100644 src/styles/README.md create mode 100644 src/styles/components/README.md rename {docusaurus-theme/src/css => src/styles}/components/_admonition.scss (100%) create mode 100644 src/styles/components/_back-to-top-button.scss rename {docusaurus-theme/src/css => src/styles}/components/_code.scss (79%) create mode 100644 src/styles/components/_doc-item.scss create mode 100644 src/styles/components/_doc-page.scss create mode 100644 src/styles/components/_doc-sidebar.scss create mode 100644 src/styles/components/_edit-this-page.scss rename {docusaurus-theme/src/css => src/styles}/components/_markdown.scss (90%) create mode 100644 src/styles/components/_navbar-sidebar.scss create mode 100644 src/styles/components/_navbar.scss create mode 100644 src/styles/components/_pagination.scss create mode 100644 src/styles/components/_search.scss rename {docusaurus-theme/src/css => src/styles}/components/_table.scss (89%) rename {docusaurus-theme/src/css => src/styles}/components/_tabs.scss (100%) rename {docusaurus-theme/src/css => src/styles}/components/_theme-toggle.scss (69%) create mode 100644 src/styles/components/_toc.scss delete mode 100644 src/styles/pages/browser-support.css delete mode 100644 src/styles/pages/components.css delete mode 100644 src/styles/pages/frameworks.css delete mode 100644 src/styles/pages/guides.css delete mode 100644 src/styles/pages/studio.scss delete mode 100755 src/theme/CodeColor/index.tsx delete mode 100644 src/theme/ColorGenerator/LiveCodeBlock/index.tsx delete mode 100644 src/theme/ColorGenerator/LiveCodeBlock/styles.module.css delete mode 100755 src/theme/ColorGenerator/SelectColors/index.tsx delete mode 100755 src/theme/ColorGenerator/SelectColors/styles.module.css delete mode 100755 src/theme/ColorGenerator/VariableSelector/index.tsx delete mode 100755 src/theme/ColorGenerator/VariableSelector/styles.module.css delete mode 100644 src/theme/ColorGenerator/index.tsx delete mode 100644 src/theme/ColorGenerator/styles.module.css create mode 100644 src/theme/DocItem/index.tsx create mode 100644 src/theme/DocItem/styles.module.css rename {docusaurus-theme/src => src}/theme/DocPage/index.tsx (51%) rename {docusaurus-theme/src => src}/theme/DocPage/styles.module.css (52%) create mode 100644 src/theme/DocSidebar/index.tsx create mode 100644 src/theme/IconEdit/index.module.scss create mode 100644 src/theme/IconEdit/index.tsx delete mode 100755 src/theme/LayeredColorsSelect/index.tsx delete mode 100644 src/theme/Logo/index.tsx delete mode 100644 src/theme/Logo/styles.module.css create mode 100644 src/theme/MDXComponents/index.tsx delete mode 100644 src/theme/Navbar/index.tsx delete mode 100644 src/theme/Navbar/styles.module.scss delete mode 100644 src/theme/NavbarItem/IconLinkNavbarItem.tsx create mode 100644 src/theme/NavbarItem/NavbarIconLink.tsx create mode 100644 src/theme/NavbarItem/NavbarSeparator.tsx create mode 100644 src/theme/README.md delete mode 100644 src/theme/ReleaseNotes/release-notes.json create mode 100644 src/theme/TOC/index.tsx delete mode 100644 src/utils.ts create mode 100644 src/utils/README.md rename src/{ => utils}/hooks.ts (60%) delete mode 100644 static/.nojekyll create mode 100644 static/README.md delete mode 100644 static/img/framework-logo-dark.svg delete mode 100644 static/img/framework-logo.svg create mode 100644 static/logos/github.svg create mode 100644 static/logos/ionic-text-docs-dark.svg create mode 100644 static/logos/ionic-text-docs-light.svg create mode 100644 static/logos/twitter.svg rename docs/theming/color-generator.mdx => versioned_docs/version-v5/theming/color-generator.md (82%) diff --git a/.gitignore b/.gitignore index b62ada0a0ae..aecb6b48f3a 100644 --- a/.gitignore +++ b/.gitignore @@ -18,4 +18,4 @@ npm-debug.log* yarn-debug.log* -yarn-error.log* +yarn-error.log* \ No newline at end of file diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 00000000000..85fee6b4234 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,13 @@ +src/theme/DocItem +src/theme/DocPage +legacy-stencil-components +node_modules +scripts/bak +src/styles.bak +src/pages +docs/api +docs/native +docs/cli/commands + +.docusaurus +.github \ No newline at end of file diff --git a/.prettierrc.js b/.prettierrc.js new file mode 100644 index 00000000000..4122fc68e28 --- /dev/null +++ b/.prettierrc.js @@ -0,0 +1,11 @@ +module.exports = { + ...require("@ionic/prettier-config"), + overrides: [ + { + files: "*.md", + options: { + "parser": "mdx" + } + } + ] +}; \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 48461475332..7184cf5f7d7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -7,15 +7,12 @@ Thanks for your interest in contributing to Ionic's documentation! :tada: Check - [Using VS Code on Windows](#using-vs-code-on-windows) - [Project Structure](#project-structure) - [Directories](#directories) - - [Page Templates](#page-templates) - - [Menu Templates](#menu-templates) - [Authoring Content](#authoring-content) - [Authoring Locally](#authoring-locally) - - [Reference Content](#reference-content) - [Translation](#translation) - [Reporting Issues](#reporting-issues) - [Pull Request Guidelines](#pull-request-guidelines) - - [Project Management](#project-management) + - [Deploying](#deploying) - [License](#license) @@ -44,50 +41,25 @@ The Ionic docs were originally built in a Mac-based environment, so Mac-focused ## Project Structure -Ionic's documentation is built using [Stencil](https://stenciljs.com). The content is written as Markdown or pulled in as JSON data from other Ionic repositories. - -At a high level, the production documentation works like this: - -1. At build time, the `build-pages` script reads the Markdown in `src/pages/` and creates a JSON representation of each page at the same path - ``` - pages/ - ├── index.json - └── index.md - ``` -2. At runtime, the `docs-page` component receives the current path (e.g. `/docs`) -3. The `docs-page` component fetches and parses the [JSON representation](https://ionicframework.com/docs/pages/index.json) of that page -4. The `docs-page` component renders that data using a [template](https://github.com/ionic-team/ionic-docs/tree/master/src/components/page/templates) - -> **Note**: most reference content (e.g. APIs, native plugins, CLI commands) is not stored as Markdown. Those pages are created using data provided by other repositories to the `build-pages` script. +Ionic's documentation is built using [Docusaurus](https://docusaurus.io/). The content is either written or generated as Markdown. ### Directories -- `scripts/` - build scripts used to generate JSON representations of each page and other data used in the docs +- `scripts/` - build scripts used to generate markdown or json files - `src/` - source code and content of the docs - - `assets/` - static assets used on the site, like images and fonts - - `components/` - Stencil components used in the documentation UI - - `demos/` - Self-contained demos, optionally presented by pages via `demoUrl` YAML frontmatter - - `pages/` - Markdown content organized by route and uncommitted JSON representation of each page - - `styles/` - Global and page-specific styles (non-component styles) - -### Page Templates - -The [`docs-page`](https://github.com/ionic-team/ionic-docs/blob/master/src/components/page/page.tsx) component is responsible for loading and rendering page content. Page content is rendered using one of the templates exported [here](https://github.com/ionic-team/ionic-docs/blob/master/src/components/page/templates/index.ts). Pages can specify a template via the `template` key in their frontmatter, or the default template will be used. - -```tsx -const Template = templates[page.template] || template.default; -return ; -``` - -### Menu Templates - -The [`docs-menu`](https://github.com/ionic-team/ionic-docs/blob/master/src/components/menu/menu.tsx) component is responsible for rendering the side menu. The menu content differs by path and is specified in [per-section templates](https://github.com/ionic-team/ionic-docs/tree/master/src/components/menu/templates). - ---- + - `components/` - components used across the site + - `global/` - components used globally + - `page/` - components used on a single page or in a limited scope + - `styles/` - global styles and variables + - `components/` - styles split out into the components they target +- `static/` + - `demos/` - self-contained demos, optionally presented by pages via `demoUrl` YAML frontmatter +- `versioned_docs/` - versions of the docs created by the docusaurus versioning command +- `versioned_sitebars/` - versions of the docs sidebars created by the docusaurus versioning command ## Authoring Content -The content of the Ionic docs is written as [Markdown](https://commonmark.org/) in `src/pages`. Each Markdown file corresponds to a route. +The content of the Ionic docs is written as [Markdown](https://commonmark.org/) in `docs/`. Each Markdown file corresponds to a route unless explicitly changed in the frontmatter. ``` /docs/ => src/pages/index.md @@ -98,50 +70,14 @@ The content of the Ionic docs is written as [Markdown](https://commonmark.org/) You can make copy edits to the site by [editing the Markdown files directly on GitHub](https://help.github.com/articles/editing-files-in-another-user-s-repository/). In your pull request, please explain what was missing from or inaccurate about the content. -### Authoring Locally - -To edit or create content locally, you'll need to [run the development server](#development-workflow). By default, the pages are only built once while starting the server. You can rebuild the pages continuously as you edit them by concurrently running the `watch-pages` script: - -```sh -$ npm run watch-pages -``` - -> **Note**: the `watch-pages` script won't reload the page. You will need to reload the page manually after your page is rebuilt. - ### Reference Content -The Markdown in `src/pages` does not contain all of the Ionic documentation's content: +The Markdown in `docs/` does not only contain manually written markdown files: - Paths matching `/docs/api/*` are built from the [Ionic Framework](https://github.com/ionic-team/ionic) source code - Paths matching `/docs/native/*` are built from the [Ionic Native](https://github.com/ionic-team/ionic-native) source code - Paths matching `/docs/cli/commands/*` are built from the [Ionic CLI](https://github.com/ionic-team/ionic-cli) source code -#### Updating Ionic Native Community Plugins - -To add or update an Ionic Native [community plugin](/docs/native/community): -1) Open a pull request on the [Ionic Native](https://github.com/ionic-team/ionic-native) repository (both code or documentation). -2) Once the change has been approved and merged into master by the Ionic team, do the following steps: - -```shell -# Clone Ionic Native repo -git clone git@github.com:ionic-team/ionic-native.git -cd ionic-native - -# Build the Ionic Native project -npm run build - -# Run scripts to generate the plugin JSON file -npm ci -npm run docs-json - -# Overwrite the ionic-docs native.json file with the new changes -mv scripts/docs-json/plugins.json /path/to/docs/scripts/data/native.json -``` - -3) Open a PR in the `ionic-docs` repo, submitting the new `native.json` file. - ---- - ## Translation The Ionic docs have been translated into Japanese and are in the process of being translated into Chinese, French, Portuguese, and Spanish. We've chosen these languages because we believe they have the greatest number of developers where English-only documentation would be a barrier. @@ -152,26 +88,6 @@ _Please submit translation issues to the Crowdin page and not the Ionic Docs Git The Japanese translation of the docs were built by an independent team, lead by [rdlabo](https://github.com/rdlabo) and can be found and contributed to on the [ionic-jp group's `ionic-docs` project page](https://github.com/ionic-jp/ionic-docs). -### Add new pages / Updating sidebar menus - -When adding new pages to the docs, add a new token representing the page name to the appropriate Menu template (`src/components/menu/templates`). - -For example, in `src/components/menu/templates/main.tsx`: - -```javascript -// 'token': 'path' -'menu-intro-cli': '/docs/intro/cli', -``` - -Then, add the token and its translation to each file within the `src/assets/locales` folder: - -For example, in `src/assets/locales/en/messages.json`: - -```javascript -// 'token': 'translated text' -"menu-intro-cli": "CLI Installation", -``` - ## Reporting Issues Before submitting an issue to the Ionic docs repo, please search [existing issues](https://github.com/ionic-team/ionic-docs/issues) to avoid duplicate reports. @@ -191,11 +107,9 @@ If the issue you're reporting is a bug, please be sure it is an issue with the I When submitting pull requests, please keep the scope of your change contained to a single feature or bug. When in doubt, err on the side of smaller pull requests. If your pull request is a new feature, we would recommend opening an issue first to come to an agreement about the feature before putting in significant time. -> **Note**: `tslint` will run automatically when you attempt to commit. Our lint rules extend [tslint-ionic-rules](https://github.com/ionic-team/tslint-ionic-rules). - --- -## Project Management + ## Deploying -The Ionic documentation's `master` branch is deployed automatically and separately from the [Ionic site](https://github.com/ionic-team/ionic-site) itself. The Ionic site then uses a proxy for paths under `/docs` to request the deployed documentation. +The Ionic documentation's `main` branch is deployed automatically and separately from the [Ionic site](https://github.com/ionic-team/ionic-site) itself. The Ionic site then uses a proxy for paths under `/docs` to request the deployed documentation. --- diff --git a/README.md b/README.md index b9989e6131a..a82f4da1ca6 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # Ionic Docs -The official [Ionic](https://ionicframework.com) documentation, built with [Stencil](https://stenciljs.com). +The official [Ionic](https://ionicframework.com) documentation, built with [Docusaurus](https://docusaurus.io/). [](https://crowdin.com/project/ionic-docs) --- -- [Contributing Guide](https://github.com/ionic-team/ionic-docs/blob/master/CONTRIBUTING.md) :flashlight: -- [Project Board](https://github.com/ionic-team/ionic-docs/projects/3) :pushpin: +- [Contributing Guide](./CONTRIBUTING.md) :flashlight: + diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 00000000000..2da29748116 --- /dev/null +++ b/docs/README.md @@ -0,0 +1,17 @@ +# Docs folder + +The `/docs` folder houses all markdown files. The page structure loosely maps to the routing on the site since paths can be changed in the frontmatter. + +## Versioning + +This folder can also contain components, assets, and whatever else is meant to be versioned when the docusaurus versioning script is run. For example, if there is a page component that is only relevant to the `layout` section in the current version of Ionic, it could be added to a `_components/` folder in `docs/layout/`. When the versioning script is run, the component will be copied to `versioned_docs/verion-{X}/layout/_components/` and there will now be a separate component in `docs/layout/_components/` that can be deleted or updated to the latest version. The same concept applies to images and other files. + +If components are meant to be shared across versions, they can be put in `src/components/`. If images and other served files are meant to be shared across versions they can be put in `static/`. + +## Auto Generated Files + +All markdown files in these directories are generated from [scripts](/scripts): + +- `docs/api/` +- `docs/cli/commands/` +- `docs/native/` diff --git a/docs/angular/config.md b/docs/angular/config.md index 966023617a7..9af23a5d02b 100644 --- a/docs/angular/config.md +++ b/docs/angular/config.md @@ -1,4 +1,14 @@ -# Config +--- +title: Config +--- + +
+Action Sheets display a set of options with the ability to confirm or cancel an action.
-Alerts are a great way to offer the user the ability to choose a specific action or list of actions.
-Badges are a small component that typically communicate a numerical value to the user.
-Buttons let your users take action. They're an essential way to interact with and navigate through an app.
-Cards are a great way to display an important piece of content, and can contain images, buttons, text, and more.
-Checkboxes can be used to let the user know they need to make a binary decision.
-Alerts are a great way to offer the user the ability to choose a specific action or list of actions.
+Chips are a compact way to display data or actions.
-Badges are a small component that typically communicate a numerical value to the user.
+Content is the quintessential way to interact with and navigate through an app.
-Buttons let your users take action. They're an essential way to interact with and navigate through an app.
+Date & time pickers are used to present an interface that makes it easy for users to select dates and times.
-+ Cards are a great way to display an important piece of content, and can contain images, buttons, text, and more. +
+Floating action buttons are circular buttons that perform a primary action on a screen.
-Checkboxes can be used to let the user know they need to make a binary decision.
+Beautifully designed icons for use in web, iOS, Android, and desktop apps.
-Chips are a compact way to display data or actions.
+The grid is a powerful mobile-first system for building custom layouts.
-Content is the quintessential way to interact with and navigate through an app.
+Infinite scroll allows you to load new data as the user scrolls through your app.
-Date & time pickers are used to present an interface that makes it easy for users to select dates and times.
+Inputs provides a way for users to enter data in your app.
-Floating action buttons are circular buttons that perform a primary action on a screen.
+Items are an all-purpose UI container that can be used as part of a list.
-Beautifully designed icons for use in web, iOS, Android, and desktop apps.
+Lists can display rows of information, such as a contact list, playlist, or menu.
-The grid is a powerful mobile-first system for building custom layouts.
+Navigation is how users move between different pages in your app.
-Infinite scroll allows you to load new data as the user scrolls through your app.
+Menus are a common navigation pattern. They can be permanently on-screen, or revealed when needed.
-Inputs provides a way for users to enter data in your app.
+Modals slide in and off screen to display a temporary UI and are often used for login or sign-up pages.
-Items are an all-purpose UI container that can be used as part of a list.
+Popover provides an easy way to present information or options without changing contexts.
-Lists can display rows of information, such as a contact list, playlist, or menu.
+Progress indicators visualize the progression of an operation or activity.
-Navigation is how users move between different pages in your app.
+Radio inputs allow you to present a set of exclusive options.
-Menus are a common navigation pattern. They can be permanently on-screen, or revealed when needed.
+Refresher provides pull-to-refresh functionality on a content component.
-Modals slide in and off screen to display a temporary UI and are often used for login or sign-up pages.
+Searchbar is used to search or filter items, usually from a toolbar.
-Popover provides an easy way to present information or options without changing contexts.
+Reorder lets users drag and drop to reorder a list of items.
-Progress indicators visualize the progression of an operation or activity.
+Routing allows navigation based on the current path.
-Radio inputs allow you to present a set of exclusive options.
+Segments provide a set of exclusive buttons that can be used as a filter or view switcher.
-Refresher provides pull-to-refresh functionality on a content component.
+Select is similar to the native HTML select, with a few improvements to sorting and selecting.
-Searchbar is used to search or filter items, usually from a toolbar.
+Slides make it easy to create complex UI such as galleries, tutorials, and page-based layouts.
-Reorder lets users drag and drop to reorder a list of items.
+Tabs enable tabbed navigation, a standard navigation pattern in modern apps.
-Routing allows navigation based on the current path.
+Segments provide a set of exclusive buttons that can be used as a filter or view switcher.
+Select is similar to the native HTML select, with a few improvements to sorting and selecting.
+Slides make it easy to create complex UI such as galleries, tutorials, and page-based layouts.
+Tabs enable tabbed navigation, a standard navigation pattern in modern apps.
+Toast is used to show a notification over the top of an app's content. It can be temporary or dismissable.
-Toast is used to show a notification over the top of an app's content. It can be temporary or dismissable.
+Toggles are an input for binary options, often used for options and switches.
-Toggles are an input for binary options, often used for options and switches.
+Toolbars are used to house information and actions relating to your app.
diff --git a/docs/contributing/how-to-contribute.md b/docs/contributing/how-to-contribute.md index d9272215750..df5f6efbd23 100644 --- a/docs/contributing/how-to-contribute.md +++ b/docs/contributing/how-to-contribute.md @@ -10,21 +10,19 @@ Thanks for the interest in contributing to Ionic Framework! Please see the [Contributor Code of Conduct](coc.md) for information on the rules of conduct. - ## Creating an Issue -* If you have a question about using the framework, please ask on the [Ionic Forum](http://forum.ionicframework.com/). - -* It is required that you clearly describe the steps necessary to reproduce the issue you are running into. Although we would love to help our users as much as possible, diagnosing issues without clear reproduction steps is extremely time-consuming and simply not sustainable. +- If you have a question about using the framework, please ask on the [Ionic Forum](http://forum.ionicframework.com/). -* The issue list of the [Ionic](https://github.com/ionic-team/ionic) repository is exclusively for bug reports and feature requests. Non-conforming issues will be closed immediately. +- It is required that you clearly describe the steps necessary to reproduce the issue you are running into. Although we would love to help our users as much as possible, diagnosing issues without clear reproduction steps is extremely time-consuming and simply not sustainable. -* Issues with no clear steps to reproduce will not be triaged. If an issue is labeled with "needs: reply" and receives no further replies from the author of the issue for more than 14 days, it will be closed. +- The issue list of the [Ionic](https://github.com/ionic-team/ionic) repository is exclusively for bug reports and feature requests. Non-conforming issues will be closed immediately. -* If you think you have found a bug, or have a new feature idea, please start by making sure it hasn't already been [reported](https://github.com/ionic-team/ionic/issues?utf8=%E2%9C%93&q=is%3Aissue). You can search through existing issues to see if there is a similar one reported. Include closed issues as it may have been closed with a solution. +- Issues with no clear steps to reproduce will not be triaged. If an issue is labeled with "needs: reply" and receives no further replies from the author of the issue for more than 14 days, it will be closed. -* Next, [create a new issue](https://github.com/ionic-team/ionic/issues/new/choose) that thoroughly explains the problem. Please fill out the populated issue form before submitting the issue. +- If you think you have found a bug, or have a new feature idea, please start by making sure it hasn't already been [reported](https://github.com/ionic-team/ionic/issues?utf8=%E2%9C%93&q=is%3Aissue). You can search through existing issues to see if there is a similar one reported. Include closed issues as it may have been closed with a solution. +- Next, [create a new issue](https://github.com/ionic-team/ionic/issues/new/choose) that thoroughly explains the problem. Please fill out the populated issue form before submitting the issue. ## Creating a Good Code Reproduction @@ -40,25 +38,23 @@ Without a reliable code reproduction, it is unlikely we will be able to resolve ### How to Create a Reproduction -* Create a new Ionic application using one of our starter templates. The `blank` starter application is a great choice for this. You can create one using the following Ionic CLI command: `ionic start myApp blank` -* Add the minimum amount of code needed to recreate the issue you are experiencing. Do not include anything that is not required to reproduce the issue. This includes any 3rd party plugins you have installed. -* Publish the application on GitHub and include a link to it when [creating an issue](#creating-an-issue). -* Be sure to include steps to reproduce the issue. These steps should be clear and easy to follow. +- Create a new Ionic application using one of our starter templates. The `blank` starter application is a great choice for this. You can create one using the following Ionic CLI command: `ionic start myApp blank` +- Add the minimum amount of code needed to recreate the issue you are experiencing. Do not include anything that is not required to reproduce the issue. This includes any 3rd party plugins you have installed. +- Publish the application on GitHub and include a link to it when [creating an issue](#creating-an-issue). +- Be sure to include steps to reproduce the issue. These steps should be clear and easy to follow. ### Benefits of Creating a Reproduction -* **Uses the latest version of Ionic:** By creating a new Ionic application, you are ensuring that you are testing against the latest version of the framework. Sometimes the issues you are experiencing have already been resolved in a newer version of the framework! -* **Minimal surface area:** By removing code that is not needed in order to reproduce the issue, it makes it easier to identify the cause of the issue. -* **No secret code needed:** Creating a minimal reproduction of the issue prevents you from having to publish any proprietary code used in your project. -* **Get help fixing the issue:** If we can reliably reproduce an issue, there is a good chance we will be able to address it. - +- **Uses the latest version of Ionic:** By creating a new Ionic application, you are ensuring that you are testing against the latest version of the framework. Sometimes the issues you are experiencing have already been resolved in a newer version of the framework! +- **Minimal surface area:** By removing code that is not needed in order to reproduce the issue, it makes it easier to identify the cause of the issue. +- **No secret code needed:** Creating a minimal reproduction of the issue prevents you from having to publish any proprietary code used in your project. +- **Get help fixing the issue:** If we can reliably reproduce an issue, there is a good chance we will be able to address it. ## Creating a Pull Request -* We appreciate you taking the time to contribute! Before submitting a pull request, we ask that you please [create an issue](#creating-an-issue) that explains the bug or feature request and let us know that you plan on creating a pull request for it. If an issue already exists, please comment on that issue letting us know you would like to submit a pull request for it. This helps us to keep track of the pull request and make sure there isn't duplicated effort. - -* Looking for an issue to fix? Make sure to look through our issues with the [help wanted](https://github.com/ionic-team/ionic/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) label! +- We appreciate you taking the time to contribute! Before submitting a pull request, we ask that you please [create an issue](#creating-an-issue) that explains the bug or feature request and let us know that you plan on creating a pull request for it. If an issue already exists, please comment on that issue letting us know you would like to submit a pull request for it. This helps us to keep track of the pull request and make sure there isn't duplicated effort. +- Looking for an issue to fix? Make sure to look through our issues with the [help wanted](https://github.com/ionic-team/ionic/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) label! ### Setup @@ -70,7 +66,6 @@ Without a reliable code reproduction, it is unlikely we will be able to resolve 6. Run `npm install` to install dependencies for this package. 7. Follow the steps for the specific package below. - ### Core #### Modifying Components @@ -85,7 +80,6 @@ Without a reliable code reproduction, it is unlikely we will be able to resolve 8. After the build is finished, commit the changes. Please follow the [commit message format](#commit-message-format) for every commit. 9. [Submit a Pull Request](#submit-pull-request) of your changes. - #### Preview Changes 1. Run `npm start` from within the `core` directory. @@ -94,7 +88,6 @@ Without a reliable code reproduction, it is unlikely we will be able to resolve 4. If a test showing your change doesn't exist, [add a new test or update an existing one](#modifying-tests). 5. To test in RTL mode, once you are in the desired component's test, add `?rtl=true` at the end of the url; for example: `http://localhost:3333/src/components/alert/test/basic?rtl=true`. - #### Lint Changes 1. Run `npm run lint` to lint the TypeScript and Sass. @@ -102,16 +95,15 @@ Without a reliable code reproduction, it is unlikely we will be able to resolve 3. To lint and fix only TypeScript errors, run `npm run lint.ts` and `npm run lint.ts.fix`, respectively. 4. To lint and fix only Sass errors, run `npm run lint.sass` and `npm run lint.sass.fix`, respectively. - #### Modifying Documentation 1. Locate the `readme.md` file in the component's directory. 2. Modify the documentation **above** the line that says `` in this file. 3. To update any of the auto generated documentation below that line, make the relevant changes in the following places: - - `Usage`: update the component's usage examples in the component's `usage/` directory - - `Properties`, `Events`, or `Methods`: update the component's TypeScript file (`*.tsx`) - - `CSS Custom Properties`: update the component's main Sass file (`*.scss`) +- `Usage`: update the component's usage examples in the component's `usage/` directory +- `Properties`, `Events`, or `Methods`: update the component's TypeScript file (`*.tsx`) +- `CSS Custom Properties`: update the component's main Sass file (`*.scss`) #### Modifying Tests @@ -126,10 +118,9 @@ Without a reliable code reproduction, it is unlikely we will be able to resolve 2. A screenshot test can be added by including this file and adding one or more `test()` calls that include a call to `page.compareScreenshot()`. See [Stencil end-to-end testing](https://stenciljs.com/docs/end-to-end-testing) and existing tests in `core/` for examples. 3. **Important:** each `test()` should have only one screenshot (`page.compareScreenshot()`) call **or** it should check the expect at the end of each test. If there is a mismatch it will fail the test which will prevent the rest of the test from running, i.e. if the first screenshot fails the remaining screenshot calls would not be called _unless_ they are in a separate test or all of the expects are called at the end. 4. To run screenshot locally, use the following command: `npm run test.screenshot`. - - To run screenshot for a specific test, pass the path to the test or a string to search for. - - For example, running all `alert` tests: `npm run test.screenshot alert`. - - Or, running the basic `alert` tests: `npm run test.screenshot src/components/alert/test/basic/e2e.ts`. - + - To run screenshot for a specific test, pass the path to the test or a string to search for. + - For example, running all `alert` tests: `npm run test.screenshot alert`. + - Or, running the basic `alert` tests: `npm run test.screenshot src/components/alert/test/basic/e2e.ts`. #### Building Changes @@ -138,21 +129,19 @@ Without a reliable code reproduction, it is unlikely we will be able to resolve 3. Make sure the build has finished before committing. If you made changes to the documentation, properties, methods, or anything else that requires an update to a generate file, this needs to be committed. 4. After the changes have been pushed, publish the branch and [create a pull request](#creating-a-pull-request). - ### Submit Pull Request 1. [Create a new pull request](https://github.com/ionic-team/ionic/compare) with the `master` branch as the `base`. You may need to click on `compare across forks` to find your changes. 2. See the [Creating a pull request from a fork](https://help.github.com/articles/creating-a-pull-request-from-a-fork/) GitHub help article for more information. 3. Please fill out the provided Pull Request template to the best of your ability and include any issues that are related. - ## Commit Message Guidelines We have very precise rules over how our git commit messages should be formatted. This leads to readable messages that are easy to follow when looking through the project history. We also use the git commit messages to generate our [changelog](https://github.com/ionic-team/ionic/blob/master/CHANGELOG.md). Our format closely resembles Angular's [commit message guidelines](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit). ### Commit Message Format -We follow the [Conventional Commits specification](https://www.conventionalcommits.org/). A commit message consists of a **header**, **body** and **footer**. The header has a **type**, **scope** and **subject**: +We follow the [Conventional Commits specification](https://www.conventionalcommits.org/). A commit message consists of a **header**, **body** and **footer**. The header has a **type**, **scope** and **subject**: ```