terra_ui_components 0.0.99__tar.gz → 0.0.101__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of terra_ui_components might be problematic. Click here for more details.
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/PKG-INFO +1 -1
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/frameworks/react.md +7 -7
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/frameworks/vue-2.md +5 -38
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/frameworks/vue.md +6 -12
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/getting-started/customizing.md +5 -5
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/getting-started/form-controls.md +10 -10
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/getting-started/installation.md +36 -27
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/getting-started/localization.md +8 -8
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/getting-started/themes.md +20 -11
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/getting-started/usage.md +9 -9
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/tutorials/integrating-with-laravel.md +11 -11
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/tutorials/integrating-with-nextjs.md +11 -15
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/tutorials/integrating-with-rails.md +9 -14
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/package-lock.json +2 -2
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/package.json +1 -1
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/pyproject.toml +1 -1
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/data-subsetter/data-subsetter.component.ts +39 -39
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/data-subsetter/notebooks/subsetter-notebook.ts +12 -2
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/plot-toolbar/notebooks/time-averaged-map-notebook.ts +1 -1
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/plot-toolbar/notebooks/time-series-notebook.ts +1 -1
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/form.ts +6 -6
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/test/form-control-base-tests.ts +4 -4
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/base.py +2 -2
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/data_subsetter/data_subsetter.py +1 -1
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/utilities/base-path.ts +1 -1
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/utilities/form.ts +2 -2
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/.editorconfig +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/.github/workflows/build_and_deploy_docs.yml +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/.github/workflows/node.js.yml +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/.github/workflows/release.yml +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/.gitignore +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/.gitpod.yml +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/.husky/pre-commit +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/.prettierignore +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/.vscode/extensions.json +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/.vscode/settings.json +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/LICENSE.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/README.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/certs/server.crt +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/certs/server.key +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/cspell.json +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/custom-elements-manifest.config.js +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/custom-elements-manifest.mjs +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/_includes/component.njk +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/_includes/default.njk +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/_includes/sidebar.njk +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/_utilities/active-links.cjs +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/_utilities/anchor-headings.cjs +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/_utilities/cem.cjs +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/_utilities/code-previews.cjs +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/_utilities/copy-code-buttons.cjs +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/_utilities/external-links.cjs +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/_utilities/highlight-code.cjs +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/_utilities/markdown.cjs +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/_utilities/prettier.cjs +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/_utilities/replacer.cjs +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/_utilities/scrolling-tables.cjs +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/_utilities/strings.cjs +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/_utilities/table-of-contents.cjs +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/_utilities/typography.cjs +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/examples/carousel/field.jpg +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/examples/carousel/mountains.jpg +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/examples/carousel/sunset.jpg +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/examples/carousel/valley.jpg +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/examples/carousel/waterfall.jpg +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/examples/include.html +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/images/NASA_logo.svg +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/images/awesome.svg +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/images/chrome.png +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/images/edge.png +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/images/firefox.png +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/images/gitpod.svg +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/images/logo.svg +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/images/logo.white.png +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/images/og-image.png +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/images/opera.png +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/images/safari.png +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/images/shoe.svg +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/images/tie.webp +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/images/touch-icon.png +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/images/twitter-card.png +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/images/undraw-content-team.svg +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/images/undraw-not-found.svg +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/images/undraw-taken.svg +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/images/walk.gif +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/images/wordmark.svg +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/scripts/code-previews.js +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/scripts/docs.js +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/scripts/search.js +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/scripts/turbo.js +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/styles/code-previews.css +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/styles/docs.css +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/assets/styles/search.css +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/eleventy.config.cjs +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/404.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/accordion.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/alert.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/browse-variables.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/button.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/chip.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/combobox.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/data-rods.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/data-subsetter-history.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/data-subsetter.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/date-picker.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/date-range-slider.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/dialog.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/icon.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/loader.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/login.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/map.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/plot-toolbar.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/plot.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/skeleton.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/spatial-picker.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/time-average-map.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/time-series.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/variable-combobox.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/components/variable-keyword-search.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/frameworks/angular.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/index.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/tokens/border-radius.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/tokens/color.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/tokens/elevation.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/tokens/more.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/tokens/spacing.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/tokens/transition.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/tokens/typography.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/tokens/z-index.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/lint-staged.config.js +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/notebooks/playground.ipynb +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/scripts/build.js +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/scripts/bump-python-version.js +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/scripts/make-assets.js +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/scripts/make-icons.js +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/scripts/make-metadata.js +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/scripts/make-react.js +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/scripts/make-themes.js +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/scripts/plop/plopfile.js +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/scripts/plop/templates/component/component.hbs +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/scripts/plop/templates/component/define.hbs +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/scripts/plop/templates/component/docs.hbs +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/scripts/plop/templates/component/styles.hbs +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/scripts/plop/templates/component/tests.hbs +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/scripts/plop/templates/widget/widget.py.hbs +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/scripts/shared.js +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/auth/auth.controller.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/auth/auth.service.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/accordion/accordion.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/accordion/accordion.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/accordion/accordion.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/accordion/accordion.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/alert/alert.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/alert/alert.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/alert/alert.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/alert/alert.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/browse-variables/browse-variables.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/browse-variables/browse-variables.controller.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/browse-variables/browse-variables.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/browse-variables/browse-variables.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/browse-variables/browse-variables.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/browse-variables/browse-variables.types.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/button/button.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/button/button.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/button/button.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/button/button.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/chip/chip.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/chip/chip.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/chip/chip.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/chip/chip.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/combobox/combobox.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/combobox/combobox.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/combobox/combobox.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/combobox/combobox.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/combobox/lib.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/combobox/type.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/data-rods/data-rods.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/data-rods/data-rods.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/data-rods/data-rods.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/data-rods/data-rods.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/data-subsetter/assets/download_subset_files.py.txt +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/data-subsetter/data-subsetter.controller.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/data-subsetter/data-subsetter.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/data-subsetter/data-subsetter.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/data-subsetter/data-subsetter.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/data-subsetter-history/data-subsetter-history.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/data-subsetter-history/data-subsetter-history.controller.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/data-subsetter-history/data-subsetter-history.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/data-subsetter-history/data-subsetter-history.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/data-subsetter-history/data-subsetter-history.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/date-picker/date-picker.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/date-picker/date-picker.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/date-picker/date-picker.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/date-picker/date-picker.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/date-range-slider/date-range-slider.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/date-range-slider/date-range-slider.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/date-range-slider/date-range-slider.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/date-range-slider/date-range-slider.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/date-range-slider/noui-slider-utilities.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/dialog/dialog.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/dialog/dialog.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/dialog/dialog.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/dialog/dialog.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/icon/icon.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/icon/icon.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/icon/icon.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/icon/icon.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/icon/library.default.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/icon/library.heroicons.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/icon/library.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/loader/loader.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/loader/loader.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/loader/loader.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/loader/loader.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/login/login.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/login/login.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/login/login.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/login/login.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/map/leaflet-draw.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/map/leaflet-utils.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/map/leaflet.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/map/map.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/map/map.controller.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/map/map.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/map/map.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/map/map.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/map/type.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/plot/plot.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/plot/plot.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/plot/plot.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/plot/plot.types.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/plot-toolbar/plot-toolbar.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/plot-toolbar/plot-toolbar.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/plot-toolbar/plot-toolbar.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/plot-toolbar/plot-toolbar.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/plot-toolbar/plot-toolbar.types.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/skeleton/skeleton.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/skeleton/skeleton.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/skeleton/skeleton.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/skeleton/skeleton.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/spatial-picker/spatial-picker.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/spatial-picker/spatial-picker.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/spatial-picker/spatial-picker.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/spatial-picker/spatial-picker.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/time-average-map/time-average-map.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/time-average-map/time-average-map.controller.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/time-average-map/time-average-map.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/time-average-map/time-average-map.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/time-average-map/time-average-map.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/time-series/time-series.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/time-series/time-series.controller.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/time-series/time-series.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/time-series/time-series.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/time-series/time-series.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/time-series/time-series.types.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/variable-combobox/lib.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/variable-combobox/variable-combobox.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/variable-combobox/variable-combobox.controller.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/variable-combobox/variable-combobox.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/variable-combobox/variable-combobox.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/variable-combobox/variable-combobox.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/variable-combobox/variable-combobox.types.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/variable-keyword-search/lib.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/variable-keyword-search/variable-keyword-search.component.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/variable-keyword-search/variable-keyword-search.controller.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/variable-keyword-search/variable-keyword-search.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/variable-keyword-search/variable-keyword-search.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/variable-keyword-search/variable-keyword-search.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/components/variable-keyword-search/variable-keyword-search.types.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/data-services/harmony-data-service.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/data-services/queries.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/data-services/types.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/declaration.d.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/events.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/terra-accordion-toggle.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/terra-after-hide.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/terra-after-show.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/terra-change.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/terra-combobox-change.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/terra-date-range-change.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/terra-dialog-hide.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/terra-dialog-show.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/terra-error.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/terra-hide.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/terra-load.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/terra-login.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/terra-map-change.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/terra-plot-relayout.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/terra-remove.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/terra-search.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/terra-show.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/terra-subset-job-complete.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/terra-time-average-map-data-change.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/terra-time-series-data-change.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/terra-variable-keyword-search-change.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/events/terra-variables-change.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/geojson/giovanni-geojson.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/geojson/queries.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/geojson/types.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/active-elements.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/animate.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/debounce.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/default-value.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/drag.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/event.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/form.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/indexeddb.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/math.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/modal.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/offset.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/scroll.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/scrollend-polyfill.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/slot.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/string.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/tabbable.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/tabbable.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/terra-element.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/terra-element.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/test/data-testid-helpers.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/test/element-visible-overflow.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/test/wait-for-scrolling.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/internal/watch.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/lib/dataset.test.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/lib/dataset.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/lib/graphql-client.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/lib/jupyter.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/metadata-catalog/cmr-catalog.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/metadata-catalog/giovanni-variable-catalog.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/metadata-catalog/queries.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/metadata-catalog/tasks.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/metadata-catalog/types.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/metadata-catalog/utilities.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/styles/component.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/styles/form-control.styles.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra-ui-components-autoloader.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra-ui-components.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/README.md +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/__init__.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/accordion/__init__.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/accordion/accordion.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/browse_variables/__init__.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/browse_variables/browse_variables.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/data_rods/__init__.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/data_rods/data_rods.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/data_subsetter/__init__.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/data_subsetter_history/__init__.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/data_subsetter_history/data_subsetter_history.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/date_picker/__init__.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/date_picker/date_picker.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/date_range_slider/__init__.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/date_range_slider/date_range_slider.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/dialog/__init__.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/dialog/dialog.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/login/__init__.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/login/login.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/plot_toolbar/__init__.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/plot_toolbar/plot_toolbar.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/time_average_map/__init__.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/time_average_map/time_average_map.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/time_series/__init__.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/time_series/time_series.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/variable_keyword_search/__init__.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/terra_ui_components/variable_keyword_search/variable_keyword_search.py +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/themes/_utility.css +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/themes/horizon-dark.css +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/themes/horizon.css +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/types.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/utilities/animation-registry.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/utilities/animation.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/utilities/date.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/utilities/debounce.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/utilities/environment.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/utilities/icon-library.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/utilities/mimetypes.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/src/utilities/number.ts +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/tsconfig.json +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/tsconfig.prod.json +0 -0
- {terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/web-test-runner.config.js +0 -0
|
@@ -58,7 +58,7 @@ Previously, it was recommended to import from a single entrypoint like so:
|
|
|
58
58
|
import { TerraButton } from '@nasa-terra/components/%NPMDIR%/react'
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
However, tree-shaking extra
|
|
61
|
+
However, tree-shaking extra Terra components proved to be a challenge. As a result, we now recommend cherry-picking components you want to use, rather than importing from a single entrypoint.
|
|
62
62
|
|
|
63
63
|
```diff
|
|
64
64
|
- import { TerraButton } from '@nasa-terra/components/%NPMDIR%/react';
|
|
@@ -69,7 +69,7 @@ You can find a copy + paste import for each component in the "importing" section
|
|
|
69
69
|
|
|
70
70
|
### Event Handling
|
|
71
71
|
|
|
72
|
-
Many
|
|
72
|
+
Many Terra components emit [custom events](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent). For example, the [input component](/components/input) emits the `terra-input` event when it receives input. In React, you can listen for the event using `onSlInput`.
|
|
73
73
|
|
|
74
74
|
Here's how you can bind the input's value to a state variable.
|
|
75
75
|
|
|
@@ -137,7 +137,7 @@ export default MyComponent
|
|
|
137
137
|
|
|
138
138
|
Testing with web components can be challenging if your test environment runs in a Node environment (i.e. it doesn't run in a real browser). Fortunately, [Jest](https://jestjs.io/) has made a number of strides to support web components and provide additional browser APIs. However, it's still not a complete replication of a browser environment.
|
|
139
139
|
|
|
140
|
-
Here are some tips that will help smooth things over if you're having trouble with Jest +
|
|
140
|
+
Here are some tips that will help smooth things over if you're having trouble with Jest + Terra.
|
|
141
141
|
|
|
142
142
|
:::tip
|
|
143
143
|
If you're looking for a fast, modern testing alternative, consider [Web Test Runner](https://modern-web.dev/docs/test-runner/overview/).
|
|
@@ -179,18 +179,18 @@ For more details, refer to Jest's [manual mocking](https://jestjs.io/docs/manual
|
|
|
179
179
|
|
|
180
180
|
### Transform ES Modules
|
|
181
181
|
|
|
182
|
-
ES Modules are a [well-supported browser standard](https://hacks.mozilla.org/2018/03/es-modules-a-cartoon-deep-dive/). This is how
|
|
182
|
+
ES Modules are a [well-supported browser standard](https://hacks.mozilla.org/2018/03/es-modules-a-cartoon-deep-dive/). This is how Terra is distributed, but most React apps expect CommonJS. As a result, you'll probably run into the following error.
|
|
183
183
|
|
|
184
184
|
```
|
|
185
185
|
Error: Unable to import outside of a module
|
|
186
186
|
```
|
|
187
187
|
|
|
188
|
-
To fix this, add the following to your `package.json` which tells the transpiler to process
|
|
188
|
+
To fix this, add the following to your `package.json` which tells the transpiler to process Terra modules.
|
|
189
189
|
|
|
190
190
|
```js
|
|
191
191
|
{
|
|
192
192
|
"jest": {
|
|
193
|
-
"transformIgnorePatterns": ["node_modules/(?!(@
|
|
193
|
+
"transformIgnorePatterns": ["node_modules/(?!(@nasa/terra-ui-components))"]
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
```
|
|
@@ -200,5 +200,5 @@ These instructions are for apps created via Create React App. If you're using Je
|
|
|
200
200
|
For more details, refer to Jest's [`transformIgnorePatterns` customization](https://jestjs.io/docs/tutorial-react-native#transformignorepatterns-customization) documentation.
|
|
201
201
|
|
|
202
202
|
:::tip
|
|
203
|
-
Are you using
|
|
203
|
+
Are you using Terra with React? [Help us improve this page!](https://github.com/nasa/terra-ui-components/blob/next/docs/frameworks/react.md)
|
|
204
204
|
:::
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
meta:
|
|
3
3
|
title: Vue (version 2)
|
|
4
|
-
description: Tips for using
|
|
4
|
+
description: Tips for using Terra in your Vue 2 app.
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Vue (version 2)
|
|
8
8
|
|
|
9
|
-
Vue [plays nice](https://custom-elements-everywhere.com/#vue) with custom elements, so you can use
|
|
9
|
+
Vue [plays nice](https://custom-elements-everywhere.com/#vue) with custom elements, so you can use Terra in your Vue apps with ease.
|
|
10
10
|
|
|
11
11
|
:::tip
|
|
12
12
|
These instructions are for Vue 2. If you're using Vue 3 or above, please see the [Vue 3 instructions](/frameworks/vue).
|
|
@@ -14,7 +14,7 @@ These instructions are for Vue 2. If you're using Vue 3 or above, please see the
|
|
|
14
14
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
|
17
|
-
To add
|
|
17
|
+
To add Terra to your Vue app, install the package from npm.
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
20
|
npm install @nasa-terra/components
|
|
@@ -35,7 +35,7 @@ If you'd rather not use the CDN for assets, you can create a build task that cop
|
|
|
35
35
|
|
|
36
36
|
## Configuration
|
|
37
37
|
|
|
38
|
-
You'll need to tell Vue to ignore
|
|
38
|
+
You'll need to tell Vue to ignore Terra components. This is pretty easy because they all start with `terra-`.
|
|
39
39
|
|
|
40
40
|
```js
|
|
41
41
|
import Vue from 'vue'
|
|
@@ -50,7 +50,7 @@ const app = new Vue({
|
|
|
50
50
|
app.$mount('#app')
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
Now you can start using
|
|
53
|
+
Now you can start using Terra components in your app!
|
|
54
54
|
|
|
55
55
|
## Usage
|
|
56
56
|
|
|
@@ -72,36 +72,3 @@ One caveat is there's currently [no support for v-model on custom elements](http
|
|
|
72
72
|
<!-- This works, but it's a bit longer -->
|
|
73
73
|
<sl-input :value="name" @input="name = $event.target.value"></sl-input>
|
|
74
74
|
```
|
|
75
|
-
|
|
76
|
-
If that's too verbose for your liking, you can use a custom directive instead. [This utility](https://www.npmjs.com/package/@shoelace-style/vue-terra-model) adds a custom directive that will work just like `v-model` but for Shoelace components. To install it, use this command.
|
|
77
|
-
|
|
78
|
-
```bash
|
|
79
|
-
npm install @shoelace-style/vue-terra-model@1
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
Next, import the directive and enable it like this.
|
|
83
|
-
|
|
84
|
-
```js
|
|
85
|
-
import Vue from 'vue'
|
|
86
|
-
import ShoelaceModelDirective from '@shoelace-style/vue-terra-model'
|
|
87
|
-
import App from './App.vue'
|
|
88
|
-
|
|
89
|
-
Vue.use(ShoelaceModelDirective)
|
|
90
|
-
Vue.config.ignoredElements = [/terra-/]
|
|
91
|
-
|
|
92
|
-
const app = new Vue({
|
|
93
|
-
render: h => h(App),
|
|
94
|
-
})
|
|
95
|
-
|
|
96
|
-
app.$mount('#app')
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
Now you can use the `v-terra-model` directive to keep your data in sync!
|
|
100
|
-
|
|
101
|
-
```html
|
|
102
|
-
<sl-input v-terra-model="name"></sl-input>
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
:::tip
|
|
106
|
-
Are you using Shoelace with Vue? [Help us improve this page!](https://github.com/nasa/terra-ui-components/blob/next/docs/frameworks/vue-2.md)
|
|
107
|
-
:::
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
meta:
|
|
3
3
|
title: Vue
|
|
4
|
-
description: Tips for using
|
|
4
|
+
description: Tips for using terra in your Vue 3 app.
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Vue
|
|
8
8
|
|
|
9
|
-
Vue [plays nice](https://custom-elements-everywhere.com/#vue) with custom elements, so you can use
|
|
9
|
+
Vue [plays nice](https://custom-elements-everywhere.com/#vue) with custom elements, so you can use Terra in your Vue apps with ease.
|
|
10
10
|
|
|
11
11
|
:::tip
|
|
12
12
|
These instructions are for Vue 3 and above. If you're using Vue 2, please see the [Vue 2 instructions](/frameworks/vue-2).
|
|
@@ -14,7 +14,7 @@ These instructions are for Vue 3 and above. If you're using Vue 2, please see th
|
|
|
14
14
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
|
17
|
-
To add
|
|
17
|
+
To add Terra to your Vue app, install the package from npm.
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
20
|
npm install @nasa-terra/components
|
|
@@ -37,11 +37,11 @@ If you'd rather not use the CDN for assets, you can create a build task that cop
|
|
|
37
37
|
|
|
38
38
|
If you haven't configured your Vue.js project to work with custom elements/web components, follow [the instructions here](https://vuejs.org/guide/extras/web-components.html#using-custom-elements-in-vue) based on your project type to ensure your project will not throw an error when it encounters a custom element.
|
|
39
39
|
|
|
40
|
-
Now you can start using
|
|
40
|
+
Now you can start using Terra components in your app!
|
|
41
41
|
|
|
42
42
|
## Types
|
|
43
43
|
|
|
44
|
-
Once you have configured your application for custom elements, you should be able to use
|
|
44
|
+
Once you have configured your application for custom elements, you should be able to use Terra in your application without it causing any errors. Unfortunately, this doesn't register the custom elements to behave like components built using Vue. To provide autocomplete information and type safety for your components, you can import the Terra Vue types into your `tsconfig.json` to get better integration in your standard Vue and JSX templates.
|
|
45
45
|
|
|
46
46
|
```json
|
|
47
47
|
{
|
|
@@ -105,15 +105,9 @@ One caveat is there's currently [no support for v-model on custom elements](http
|
|
|
105
105
|
<sl-input :value="name" @input="name = $event.target.value"></sl-input>
|
|
106
106
|
```
|
|
107
107
|
|
|
108
|
-
If that's too verbose for your liking, you can use a custom directive instead. [This utility](https://www.npmjs.com/package/@shoelace-style/vue-terra-model) adds a custom directive that will work just like `v-model` but for Shoelace components.
|
|
109
|
-
|
|
110
|
-
:::tip
|
|
111
|
-
Are you using Shoelace with Vue? [Help us improve this page!](https://github.com/nasa/terra-ui-components/blob/next/docs/frameworks/vue.md)
|
|
112
|
-
:::
|
|
113
|
-
|
|
114
108
|
### Slots
|
|
115
109
|
|
|
116
|
-
Slots in
|
|
110
|
+
Slots in Terra/web components are functionally the same as basic slots in Vue. Slots can be assigned to elements using the `slot` attribute followed by the name of the slot it is being assigned to.
|
|
117
111
|
|
|
118
112
|
Here is an example:
|
|
119
113
|
|
{terra_ui_components-0.0.99 → terra_ui_components-0.0.101}/docs/pages/getting-started/customizing.md
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
---
|
|
2
2
|
meta:
|
|
3
3
|
title: Customizing
|
|
4
|
-
description: Learn how to customize
|
|
4
|
+
description: Learn how to customize Terra through parts and custom properties.
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Customizing
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Terra components can be customized at a high level through design tokens. This gives you control over theme colors and general styling. For more advanced customizations, you can make use of CSS parts and custom properties to target individual components.
|
|
10
10
|
|
|
11
11
|
## Design Tokens
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Terra makes use of several design tokens to provide a consistent appearance across components. You can customize them and use them in your own application with pure CSS — no preprocessor required.
|
|
14
14
|
|
|
15
15
|
Design tokens offer a high-level way to customize the library with minimal effort. There are no component-specific variables, however, as design tokens are intended to be generic and highly reusable. To customize an individual component, refer to the section entitled [CSS Parts](#css-parts).
|
|
16
16
|
|
|
@@ -41,7 +41,7 @@ Many design tokens are described further along in this documentation. For a comp
|
|
|
41
41
|
|
|
42
42
|
Whereas design tokens offer a high-level way to customize the library, CSS parts offer a low-level way to customize individual components. Again, this is done with pure CSS — no preprocessor required.
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
Terra components use a [shadow DOM](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM) to encapsulate their styles and behaviors. As a result, you can't simply target their internals with the usual CSS selectors. Instead, components expose "parts" that can be targeted with the [CSS part selector](https://developer.mozilla.org/en-US/docs/Web/CSS/::part), or `::part()`.
|
|
45
45
|
|
|
46
46
|
Here's an example that modifies buttons with the `tomato-button` class.
|
|
47
47
|
|
|
@@ -112,7 +112,7 @@ Not all components expose CSS custom properties. For those that do, they can be
|
|
|
112
112
|
|
|
113
113
|
## Animations
|
|
114
114
|
|
|
115
|
-
Some components use animation, such as when a dialog is shown or hidden. Animations are performed using the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API) rather than CSS. However, you can still customize them through
|
|
115
|
+
Some components use animation, such as when a dialog is shown or hidden. Animations are performed using the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API) rather than CSS. However, you can still customize them through Terra's animation registry. If a component has customizable animations, they'll be listed in the "Animation" section of its documentation.
|
|
116
116
|
|
|
117
117
|
To customize a default animation, use the `setDefaultAnimation()` method. The function accepts an animation name (found in the component's docs) and an object with `keyframes`, and `options` or `null` to disable the animation.
|
|
118
118
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
---
|
|
2
2
|
meta:
|
|
3
3
|
title: Form Controls
|
|
4
|
-
description: Some things to note about
|
|
4
|
+
description: Some things to note about Terra and forms.
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Form Controls
|
|
8
8
|
|
|
9
|
-
Every
|
|
9
|
+
Every Terra component makes use of a [shadow DOM](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM) to encapsulate markup, styles, and behavior. One caveat of this approach is that native `<form>` elements do not recognize form controls located inside a shadow root.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Terra solves this problem by using the [`formdata`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/formdata_event) event, which is [available in all modern browsers](https://caniuse.com/mdn-api_htmlformelement_formdata_event). This means, when a form is submitted, Terra form controls will automatically append their values to the `FormData` object that's used to submit the form. In most cases, things will "just work." However, if you're using a form serialization library, it might need to be adapted to recognize Terra form controls.
|
|
12
12
|
|
|
13
13
|
:::tip
|
|
14
|
-
|
|
14
|
+
Terra uses event listeners to intercept the form's `formdata` and `submit` events. This allows it to inject data and trigger validation as necessary. If you're also attaching an event listener to the form, _you must attach it after Terra form controls are connected to the DOM_, otherwise your logic will run before Terra has a chance to inject form data and validate form controls.
|
|
15
15
|
:::
|
|
16
16
|
|
|
17
17
|
## Data Serialization
|
|
@@ -27,7 +27,7 @@ const data = new FormData(form)
|
|
|
27
27
|
// All form control data is available in a FormData object
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
However, some folks find `FormData` tricky to work with or they need to pass a JSON payload to their server. To accommodate this,
|
|
30
|
+
However, some folks find `FormData` tricky to work with or they need to pass a JSON payload to their server. To accommodate this, Terra offers a serialization utility that gathers form data and returns a simple JavaScript object instead.
|
|
31
31
|
|
|
32
32
|
```js
|
|
33
33
|
import { serialize } from '@nasa-terra/components/dist/utilities/form.js'
|
|
@@ -42,7 +42,7 @@ This results in an object with name/value pairs that map to each form control. I
|
|
|
42
42
|
|
|
43
43
|
## Constraint Validation
|
|
44
44
|
|
|
45
|
-
Client-side validation can be enabled through the browser's [Constraint Validation API](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/Constraint_validation) for
|
|
45
|
+
Client-side validation can be enabled through the browser's [Constraint Validation API](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/Constraint_validation) for Terra form controls. You can activate it using attributes such as `required`, `pattern`, `minlength`, `maxlength`, etc. Terra implements many of the same attributes as native form controls, but check the documentation for a list of supported properties for each component.
|
|
46
46
|
|
|
47
47
|
If you don't want to use client-side validation, you can suppress this behavior by adding `novalidate` to the surrounding `<form>` element.
|
|
48
48
|
|
|
@@ -319,7 +319,7 @@ Custom validation can be applied to any form control that supports the `setCusto
|
|
|
319
319
|
|
|
320
320
|
## Custom Validation Styles
|
|
321
321
|
|
|
322
|
-
Due to the many ways form controls are used,
|
|
322
|
+
Due to the many ways form controls are used, Terra doesn't provide out of the box validation styles for form controls as part of its default theme. Instead, the following attributes will be applied to reflect a control's validity as users interact with it. You can use them to create custom styles for any of the validation states you're interested in.
|
|
323
323
|
|
|
324
324
|
- `data-required` - the form control is required
|
|
325
325
|
- `data-optional` - the form control is optional
|
|
@@ -331,7 +331,7 @@ Due to the many ways form controls are used, Shoelace doesn't provide out of the
|
|
|
331
331
|
These attributes map to the browser's built-in pseudo classes for validation: [`:required`](https://developer.mozilla.org/en-US/docs/Web/CSS/:required), [`:optional`](https://developer.mozilla.org/en-US/docs/Web/CSS/:optional), [`:invalid`](https://developer.mozilla.org/en-US/docs/Web/CSS/:invalid), [`:valid`](https://developer.mozilla.org/en-US/docs/Web/CSS/:valid), and the proposed [`:user-invalid`](https://developer.mozilla.org/en-US/docs/Web/CSS/:user-invalid) and [`:user-valid`](https://developer.mozilla.org/en-US/docs/Web/CSS/:user-valid).
|
|
332
332
|
|
|
333
333
|
:::tip
|
|
334
|
-
In the future, data attributes will be replaced with custom pseudo classes such as `:--valid` and `:--invalid`.
|
|
334
|
+
In the future, data attributes will be replaced with custom pseudo classes such as `:--valid` and `:--invalid`. Terra is using data attributes as a workaround until browsers support custom states through [`ElementInternals.states`](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/states).
|
|
335
335
|
:::
|
|
336
336
|
|
|
337
337
|
### Styling Invalid Form Controls
|
|
@@ -442,7 +442,7 @@ This example demonstrates custom validation styles using `data-user-invalid` and
|
|
|
442
442
|
|
|
443
443
|
## Inline Form Validation
|
|
444
444
|
|
|
445
|
-
By default,
|
|
445
|
+
By default, Terra form controls use the browser's tooltip-style error messages. No mechanism is provided to show errors inline, as there are too many opinions on how that would work when combined with native form controls and other custom elements. You can, however, implement your own solution using the following technique.
|
|
446
446
|
|
|
447
447
|
To disable the browser's error messages, you need to cancel the `terra-invalid` event. Then you can apply your own inline validation errors. This example demonstrates a primitive way to do this.
|
|
448
448
|
|
|
@@ -554,7 +554,7 @@ This example is meant to demonstrate the concept of providing your own error mes
|
|
|
554
554
|
|
|
555
555
|
## Getting Associated Form Controls
|
|
556
556
|
|
|
557
|
-
At this time, using [`HTMLFormElement.elements`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/elements) will not return
|
|
557
|
+
At this time, using [`HTMLFormElement.elements`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/elements) will not return Terra form controls because the browser is unaware of their status as custom element form controls. Fortunately, Terra provides an `elements()` function that does something very similar. However, instead of returning an [`HTMLFormControlsCollection`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormControlsCollection), it returns an array of HTML and Terra form controls in the order they appear in the DOM.
|
|
558
558
|
|
|
559
559
|
```js
|
|
560
560
|
import { getFormControls } from '@nasa-terra/components/dist/utilities/form.js'
|
|
@@ -6,7 +6,7 @@ meta:
|
|
|
6
6
|
|
|
7
7
|
# Installation
|
|
8
8
|
|
|
9
|
-
You can load
|
|
9
|
+
You can load Terra via CDN or by installing it locally. If you're using a framework, make sure to check out the pages for [React](/frameworks/react), [Vue](/frameworks/vue), and [Angular](/frameworks/angular) for additional information.
|
|
10
10
|
|
|
11
11
|
## CDN Installation (Easiest)
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@ You can load Shoelace via CDN or by installing it locally. If you're using a fra
|
|
|
16
16
|
|
|
17
17
|
<sl-tab-panel name="autoloader">
|
|
18
18
|
|
|
19
|
-
The experimental autoloader is the easiest and most efficient way to use
|
|
19
|
+
The experimental autoloader is the easiest and most efficient way to use Terra. A lightweight script watches the DOM for unregistered Terra elements and lazy loads them for you — even if they're added dynamically.
|
|
20
20
|
|
|
21
21
|
While convenient, autoloading may lead to a [Flash of Undefined Custom Elements](https://www.abeautifulsite.net/posts/flash-of-undefined-custom-elements/). The linked article describes some ways to alleviate it.
|
|
22
22
|
|
|
@@ -30,12 +30,12 @@ While convenient, autoloading may lead to a [Flash of Undefined Custom Elements]
|
|
|
30
30
|
|
|
31
31
|
<sl-tab-panel name="traditional">
|
|
32
32
|
|
|
33
|
-
The traditional CDN loader registers all
|
|
33
|
+
The traditional CDN loader registers all Terra elements up front. Note that, if you're only using a handful of components, it will be much more efficient to stick with the autoloader. However, you can also [cherry pick](#cherry-picking) components if you want to load specific ones up front.
|
|
34
34
|
|
|
35
35
|
<!-- prettier-ignore -->
|
|
36
36
|
```html
|
|
37
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@nasa-terra/components@%VERSION%/%CDNDIR%/themes/
|
|
38
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@nasa-terra/components@%VERSION%/%CDNDIR%/
|
|
37
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@nasa-terra/components@%VERSION%/%CDNDIR%/themes/horizon.css" />
|
|
38
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@nasa-terra/components@%VERSION%/%CDNDIR%/terra-ui-components-autoloader.js" ></script>
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
</sl-tab-panel>
|
|
@@ -68,49 +68,52 @@ If you want to load the light or dark theme based on the user's `prefers-color-s
|
|
|
68
68
|
/>
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
Now you can [start using
|
|
71
|
+
Now you can [start using Terra!](/getting-started/usage)
|
|
72
72
|
|
|
73
73
|
## npm installation
|
|
74
74
|
|
|
75
|
-
If you don't want to use the CDN, you can install
|
|
75
|
+
If you don't want to use the CDN, you can install Terra from npm with the following command.
|
|
76
76
|
|
|
77
77
|
```bash
|
|
78
78
|
npm install @nasa-terra/components
|
|
79
79
|
```
|
|
80
80
|
|
|
81
|
-
It's up to you to make the source files available to your app. One way to do this is to create a route in your app called `/
|
|
81
|
+
It's up to you to make the source files available to your app. One way to do this is to create a route in your app called `/terra-ui-components` that serves static files from `node_modules/@nasa-terra/components`.
|
|
82
82
|
|
|
83
83
|
Once you've done that, add the following tags to your page. Make sure to update `href` and `src` so they point to the route you created.
|
|
84
84
|
|
|
85
85
|
```html
|
|
86
|
-
<link rel="stylesheet" href="/
|
|
87
|
-
<script
|
|
86
|
+
<link rel="stylesheet" href="/terra-ui-components/%NPMDIR%/themes/horizon.css" />
|
|
87
|
+
<script
|
|
88
|
+
type="module"
|
|
89
|
+
src="/terra-ui-components/%NPMDIR%/terra-ui-components.js"
|
|
90
|
+
></script>
|
|
88
91
|
```
|
|
89
92
|
|
|
90
93
|
Alternatively, [you can use a bundler](#bundling).
|
|
91
94
|
|
|
92
95
|
:::tip
|
|
93
|
-
For clarity, the docs will usually show imports from `@nasa-terra/components`. If you're not using a module resolver or bundler, you'll need to adjust these paths to point to the folder
|
|
96
|
+
For clarity, the docs will usually show imports from `@nasa-terra/components`. If you're not using a module resolver or bundler, you'll need to adjust these paths to point to the folder Terra is in.
|
|
94
97
|
:::
|
|
95
98
|
|
|
96
99
|
## Setting the Base Path
|
|
97
100
|
|
|
98
|
-
Some components rely on assets (icons, images, etc.) and
|
|
101
|
+
Some components rely on assets (icons, images, etc.) and Terra needs to know where they're located. For convenience, Terra will try to auto-detect the correct location based on the script you've loaded it from. This assumes assets are colocated with `terra-ui-components.js` or `terra-ui-components-autoloader.js` and will "just work" for most users.
|
|
99
102
|
|
|
100
|
-
However, if you're [cherry picking](#cherry-picking) or [bundling](#bundling)
|
|
103
|
+
However, if you're [cherry picking](#cherry-picking) or [bundling](#bundling) Terra, you'll need to set the base path. You can do this one of two ways.
|
|
101
104
|
|
|
102
105
|
```html
|
|
103
106
|
<!-- Option 1: the data-terra-ui-components attribute -->
|
|
104
107
|
<script
|
|
105
108
|
src="bundle.js"
|
|
106
|
-
data-terra-ui-components="/path/to/
|
|
109
|
+
data-terra-ui-components="/path/to/terra-ui-components/%NPMDIR%"
|
|
107
110
|
></script>
|
|
108
111
|
|
|
109
112
|
<!-- Option 2: the setBasePath() method -->
|
|
110
113
|
<script src="bundle.js"></script>
|
|
111
114
|
<script type="module">
|
|
112
115
|
import { setBasePath } from '@nasa-terra/components/%NPMDIR%/utilities/base-path.js'
|
|
113
|
-
setBasePath('/path/to/
|
|
116
|
+
setBasePath('/path/to/terra-ui-components/%NPMDIR%')
|
|
114
117
|
</script>
|
|
115
118
|
```
|
|
116
119
|
|
|
@@ -120,7 +123,7 @@ An easy way to make sure the base path is configured properly is to check if [ic
|
|
|
120
123
|
|
|
121
124
|
### Referencing Assets
|
|
122
125
|
|
|
123
|
-
Most of the magic behind assets is handled internally by
|
|
126
|
+
Most of the magic behind assets is handled internally by Terra, but if you need to reference the base path for any reason, the same module exports a function called `getBasePath()`. An optional string argument can be passed, allowing you to get the full path to any asset.
|
|
124
127
|
|
|
125
128
|
```html
|
|
126
129
|
<script type="module">
|
|
@@ -145,12 +148,18 @@ Most of the magic behind assets is handled internally by Shoelace, but if you ne
|
|
|
145
148
|
|
|
146
149
|
Cherry picking can be done from [the CDN](#cdn-installation-easiest) or from [npm](#npm-installation). This approach will load only the components you need up front, while limiting the number of files the browser has to download. The disadvantage is that you need to import each individual component.
|
|
147
150
|
|
|
148
|
-
Here's an example that loads only the button component. Again, if you're not using a module resolver, you'll need to adjust the path to point to the folder
|
|
151
|
+
Here's an example that loads only the button component. Again, if you're not using a module resolver, you'll need to adjust the path to point to the folder Terra is in.
|
|
149
152
|
|
|
150
153
|
```html
|
|
151
|
-
<link
|
|
154
|
+
<link
|
|
155
|
+
rel="stylesheet"
|
|
156
|
+
href="/path/to/terra-ui-components/%NPMDIR%/themes/light.css"
|
|
157
|
+
/>
|
|
152
158
|
|
|
153
|
-
<script
|
|
159
|
+
<script
|
|
160
|
+
type="module"
|
|
161
|
+
data-terra-ui-components="/path/to/terra-ui-components/%NPMDIR%"
|
|
162
|
+
>
|
|
154
163
|
import '@nasa-terra/components/%NPMDIR%/components/button/button.js'
|
|
155
164
|
|
|
156
165
|
// <terra-button> is ready to use!
|
|
@@ -160,7 +169,7 @@ Here's an example that loads only the button component. Again, if you're not usi
|
|
|
160
169
|
You can copy and paste the code to import a component from the "Importing" section of the component's documentation. Note that some components have dependencies that are automatically imported when you cherry pick. If a component has dependencies, they will be listed in the "Dependencies" section of its docs.
|
|
161
170
|
|
|
162
171
|
:::warning
|
|
163
|
-
Never cherry pick components or utilities from `
|
|
172
|
+
Never cherry pick components or utilities from `terra-ui-components.js` as this will cause the browser to load the entire library. Instead, cherry pick from specific modules as shown above.
|
|
164
173
|
:::
|
|
165
174
|
|
|
166
175
|
:::warning
|
|
@@ -169,9 +178,9 @@ You will see files named `chunk.[hash].js` in the `chunks` directory. Never impo
|
|
|
169
178
|
|
|
170
179
|
## Bundling
|
|
171
180
|
|
|
172
|
-
|
|
181
|
+
Terra is distributed as a collection of standard ES modules that [all modern browsers can understand](https://caniuse.com/es6-module). However, importing a lot of modules can result in a lot of HTTP requests and potentially longer load times. Using a CDN can alleviate this, but some users may wish to further optimize their imports with a bundler.
|
|
173
182
|
|
|
174
|
-
To use
|
|
183
|
+
To use Terra with a bundler, first install Terra along with your bundler of choice.
|
|
175
184
|
|
|
176
185
|
```bash
|
|
177
186
|
npm install @nasa-terra/components
|
|
@@ -182,7 +191,7 @@ Now it's time to configure your bundler. Configurations vary for each tool, but
|
|
|
182
191
|
- [Example webpack config](https://github.com/shoelace-style/webpack-example/blob/master/webpack.config.js)
|
|
183
192
|
- [Example Rollup config](https://github.com/shoelace-style/rollup-example/blob/master/rollup.config.js)
|
|
184
193
|
|
|
185
|
-
Once your bundler is configured, you'll be able to import
|
|
194
|
+
Once your bundler is configured, you'll be able to import Terra components and utilities.
|
|
186
195
|
|
|
187
196
|
```js
|
|
188
197
|
import '@nasa-terra/components/%NPMDIR%/themes/light.css'
|
|
@@ -192,8 +201,8 @@ import '@nasa-terra/components/%NPMDIR%/components/input/input.js'
|
|
|
192
201
|
import '@nasa-terra/components/%NPMDIR%/components/rating/rating.js'
|
|
193
202
|
import { setBasePath } from '@nasa-terra/components/%NPMDIR%/utilities/base-path.js'
|
|
194
203
|
|
|
195
|
-
// Set the base path to the folder you copied
|
|
196
|
-
setBasePath('/path/to/
|
|
204
|
+
// Set the base path to the folder you copied Terra's assets to
|
|
205
|
+
setBasePath('/path/to/terra-ui-components/%NPMDIR%')
|
|
197
206
|
|
|
198
207
|
// <terra-button>, <sl-icon>, <sl-input>, and <sl-rating> are ready to use!
|
|
199
208
|
```
|
|
@@ -214,7 +223,7 @@ By default, imports to components will auto-register themselves. This may not be
|
|
|
214
223
|
Notice how the import ends with `.component.js`. This is the current convention to convey the import does not register itself.
|
|
215
224
|
|
|
216
225
|
:::danger
|
|
217
|
-
While you can override the class or re-register the
|
|
226
|
+
While you can override the class or re-register the terra-ui-components class under a different tag name, if you do so, many components won’t work as expected.
|
|
218
227
|
:::
|
|
219
228
|
|
|
220
229
|
## The difference between CDN and npm
|
|
@@ -226,4 +235,4 @@ TL;DR:
|
|
|
226
235
|
- `@nasa-terra/components/%CDNDIR%` is for CDN users
|
|
227
236
|
- `@nasa-terra/components/%NPMDIR%` is for npm users
|
|
228
237
|
|
|
229
|
-
This change was introduced in `v2.5.0` to address issues around installations from npm loading multiple versions of libraries (such as the Lit) that
|
|
238
|
+
This change was introduced in `v2.5.0` to address issues around installations from npm loading multiple versions of libraries (such as the Lit) that Terra uses internally.
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
---
|
|
2
2
|
meta:
|
|
3
3
|
title: Localization
|
|
4
|
-
description: Discover how to localize
|
|
4
|
+
description: Discover how to localize Terra with minimal effort.
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Localization
|
|
8
8
|
|
|
9
|
-
Components can be localized by importing the appropriate translation file and setting the desired [`lang` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang) and/or [`dir` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir) on the `<html>` element. Here's an example that renders
|
|
9
|
+
Components can be localized by importing the appropriate translation file and setting the desired [`lang` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang) and/or [`dir` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir) on the `<html>` element. Here's an example that renders Terra components in Spanish.
|
|
10
10
|
|
|
11
11
|
```html
|
|
12
12
|
<html lang="es">
|
|
13
13
|
<head>
|
|
14
14
|
<script
|
|
15
15
|
type="module"
|
|
16
|
-
src="/path/to/
|
|
16
|
+
src="/path/to/terra-ui-components/dist/translations/es.js"
|
|
17
17
|
></script>
|
|
18
18
|
</head>
|
|
19
19
|
|
|
@@ -27,9 +27,9 @@ Through the magic of a mutation observer, changing the `lang` attribute will aut
|
|
|
27
27
|
|
|
28
28
|
## Available Translations
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
Terra ships with a number of translations. The default is English (US), which also serves as the fallback locale. As such, you do not need to import the English translation. To see a list of all available translations in the latest version, [refer to this directory](https://github.com/nasa/terra-ui-components/tree/current/src/translations).
|
|
31
31
|
|
|
32
|
-
The location of translations depends on how you're consuming
|
|
32
|
+
The location of translations depends on how you're consuming Terra.
|
|
33
33
|
|
|
34
34
|
- If you're using the CDN, [import them from the CDN](https://www.jsdelivr.com/package/npm/@nasa-terra/components?path=%CDNDIR%%2Ftranslations)
|
|
35
35
|
- If you're using a bundler, import them from `@nasa-terra/components/%NPMDIR%/translations/[lang].js`
|
|
@@ -41,7 +41,7 @@ You do not need to load translations up front. You can import them dynamically e
|
|
|
41
41
|
document.documentElement.lang = 'de'
|
|
42
42
|
|
|
43
43
|
// Import the translation
|
|
44
|
-
import('/path/to/
|
|
44
|
+
import('/path/to/terra-ui-components/dist/translations/de.js')
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
### Translation Resolution
|
|
@@ -52,7 +52,7 @@ The locale set by `<html lang="...">` is the default locale for the document. If
|
|
|
52
52
|
2. Look for `es`
|
|
53
53
|
3. Fall back to `en`
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
Terra uses English as a fallback to provide a better experience than rendering nothing or throwing an error.
|
|
56
56
|
|
|
57
57
|
### Submitting New Translations or Improvements
|
|
58
58
|
|
|
@@ -63,7 +63,7 @@ Regional translations are welcome! For example, if a German translation (`de`) e
|
|
|
63
63
|
If you have any questions, please start a [discussion](https://github.com/nasa/terra-ui-components/discussions) or ask in the [community chat](https://discord.gg/mg8f26C).
|
|
64
64
|
|
|
65
65
|
:::tip
|
|
66
|
-
|
|
66
|
+
Terra provides a localization mechanism for component internals. This is not designed to be used as localization tool for your entire application. You should use a more appropriate tool such as [i18next](https://www.i18next.com/) if you need to localize content in your app.
|
|
67
67
|
:::
|
|
68
68
|
|
|
69
69
|
## Multiple Locales Per Page
|