From 5b43107c65158d706450153d9d7800dfcf801cdc Mon Sep 17 00:00:00 2001 From: Eunsun Mota Date: Wed, 23 Oct 2024 13:26:28 -0700 Subject: [PATCH] docs: use module path instead of relative src path in customization example --- demo/index.md | 20 ++++++++++---------- docs/partials/index.md | 23 +++++++++++------------ package-lock.json | 15 ++++++++++----- package.json | 2 +- 4 files changed, 32 insertions(+), 28 deletions(-) diff --git a/demo/index.md b/demo/index.md index 91d2d30..fb0f010 100644 --- a/demo/index.md +++ b/demo/index.md @@ -510,14 +510,6 @@ The following example illustrates additional data regarding departure and arriva
-## DoT regulations - -Department of Transportation regulations mandate that the arrival and departure cities' font size and color be identical to the operational disclosures (for instance, AA 3210 is operated by Envoy Air on behalf of American Airlines). - -## Accessibility - -The `` custom element is accessible by screen readers by default. Due to the style of content within, while this is accessible, it's up to the user of the element to determine if information is useable and/or necessary for a screen reader experience. If this element is being used for illustrative purposes and the details of the flight are outlined in greater detail outside the scope of this element, `aria-hidden='true'` is recommended. - ## Recommended Use and Version Control There are two important parts of every Auro component. The class and the custom element. The class is exported and then used as part of defining the Web Component. When importing this component as described in the install section, the class is imported and the `auro-flight` custom element is defined automatically. @@ -525,7 +517,7 @@ There are two important parts of every Auro component. The class and the custom element. The class is exported and then used as part of defining the Web Component. When importing this component as described in the install section, the class is imported and the `auro-flight` custom element is defined automatically. @@ -212,7 +202,7 @@ There are two important parts of every Auro component. The See code - \ No newline at end of file + + + +## DoT regulations + +Department of Transportation regulations mandate that the arrival and departure cities' font size and color be identical to the operational disclosures (for instance, AA 3210 is operated by Envoy Air on behalf of American Airlines). + +## Accessibility + +The `` custom element is accessible by screen readers by default. Due to the style of content within, while this is accessible, it's up to the user of the element to determine if information is useable and/or necessary for a screen reader experience. If this element is being used for illustrative purposes and the details of the flight are outlined in greater detail outside the scope of this element, `aria-hidden='true'` is recommended. diff --git a/package-lock.json b/package-lock.json index 313582b..72617f0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@aurodesignsystem/auro-badge": "^3.0.1", "@aurodesignsystem/auro-datetime": "^2.2.1", "@aurodesignsystem/auro-flightline": "^3.0.1", - "@aurodesignsystem/auro-library": "^2.10.1", + "@aurodesignsystem/auro-library": "^2.8.0", "chalk": "^5.3.0", "lit": "^3.2.1" }, @@ -249,12 +249,11 @@ } }, "node_modules/@aurodesignsystem/auro-library": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/@aurodesignsystem/auro-library/-/auro-library-2.10.1.tgz", - "integrity": "sha512-KFB3JbPigqYJSmEr8b0Iy924znnF07fcKx16LWf3hV9rf6fjxehWMejZce1gPHEbl5Oog1xBIdhPyjpfr9g6bQ==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/@aurodesignsystem/auro-library/-/auro-library-2.8.0.tgz", + "integrity": "sha512-oTRTd05JE3BVVQC3P11jTDGmTKXCi/Yi6XtKTp8dZVC+euJLDsySjVctAplqmOD3JqqwbJgtbNdlK7DpGRuCXg==", "license": "Apache-2.0", "dependencies": { - "handlebars": "^4.7.8", "markdown-magic": "^2.6.1", "npm-run-all": "^4.1.5" }, @@ -7898,6 +7897,7 @@ "version": "4.7.8", "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz", "integrity": "sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==", + "dev": true, "license": "MIT", "dependencies": { "minimist": "^1.2.5", @@ -7919,6 +7919,7 @@ "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" @@ -10303,6 +10304,7 @@ "version": "1.2.8", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" @@ -10520,6 +10522,7 @@ "version": "2.6.2", "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true, "license": "MIT" }, "node_modules/nerf-dart": { @@ -17721,6 +17724,7 @@ "version": "3.19.3", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz", "integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==", + "dev": true, "license": "BSD-2-Clause", "optional": true, "bin": { @@ -18337,6 +18341,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", + "dev": true, "license": "MIT" }, "node_modules/wordwrapjs": { diff --git a/package.json b/package.json index 18060d1..7e7c5c5 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "@aurodesignsystem/auro-badge": "^3.0.1", "@aurodesignsystem/auro-datetime": "^2.2.1", "@aurodesignsystem/auro-flightline": "^3.0.1", - "@aurodesignsystem/auro-library": "^2.10.1", + "@aurodesignsystem/auro-library": "^2.8.0", "chalk": "^5.3.0", "lit": "^3.2.1" },