@aurodesignsystem/auro-avatar
Advanced tools
Comparing version 4.2.1 to 4.2.2
# Semantic Release Automated Changelog | ||
## [4.2.2](https://github.com/AlaskaAirlines/auro-avatar/compare/v4.2.1...v4.2.2) (2023-03-22) | ||
### Performance Improvements | ||
* **ie:** remove additional legacy resources ([14402d7](https://github.com/AlaskaAirlines/auro-avatar/commit/14402d7f62bb4520b339fb76be4ab5f9b32db61f)) | ||
## [4.2.1](https://github.com/AlaskaAirlines/auro-avatar/compare/v4.2.0...v4.2.1) (2022-12-01) | ||
@@ -4,0 +11,0 @@ |
import {css} from 'lit-element'; | ||
export default css`*,*:before,*:after{box-sizing:border-box}@media (prefers-reduced-motion: reduce){*,*:before,*:after{transition:none !important;animation:none !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.js-focus-visible :focus:not(.focus-visible){outline:3px solid transparent}img{display:block;width:100%;height:100%;object-fit:cover}:host{--sm:3.75rem;--md:6rem;--lg:8.375rem;display:inline-block;width:var(--lg);height:var(--lg)}:host img{border-radius:50%}:host([sm]),:host([type=sm]){width:var(--sm);height:var(--sm)}:host([md]),:host([type=md]){width:var(--md);height:var(--md)}:host([tail]){text-align:center}:host([tail]) p{text-align:center;white-space:nowrap}:host([tail]) div{position:relative;overflow:hidden;width:100%;height:100%;margin:0 auto;background:linear-gradient(180deg, #569ed7 0%, rgba(255,255,255,0.9) 100%);background:linear-gradient(180deg, var(--auro-color-brand-midnight-200) 0%, rgba(255,255,255,0.9) 100%);border-radius:50%}:host([tail]) auro-icon{position:absolute;top:-1%;left:-25%;width:118%}:host([type=sm][tail]),:host([sm][tail]){display:none}:host([type=md][tail]),:host([md][tail]){width:var(--lg)}:host([type=md][tail]) div,:host([md][tail]) div{width:var(--md)}.tailTitle{display:block;margin:0.75rem 0;margin:var(--auro-size-sm) 0} | ||
`; | ||
export default css`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}img{display:block;width:100%;height:100%;object-fit:cover}:host{--sm:3.75rem;--md:6rem;--lg:8.375rem;display:inline-block;width:8.375rem;width:var(--lg);height:8.375rem;height:var(--lg)}:host img{border-radius:50%}:host([sm]),:host([type=sm]){width:var(--sm);height:var(--sm)}:host([md]),:host([type=md]){width:var(--md);height:var(--md)}:host([tail]){text-align:center}:host([tail]) p{text-align:center;white-space:nowrap}:host([tail]) div{position:relative;overflow:hidden;width:100%;height:100%;margin:0 auto;background:linear-gradient(180deg, #569ed7 0%, rgba(255, 255, 255, 0.9) 100%);background:linear-gradient(180deg, var(--auro-color-brand-midnight-200) 0%, rgba(255, 255, 255, 0.9) 100%);border-radius:50%}:host([tail]) auro-icon{position:absolute;top:-1%;left:-25%;width:118%}:host([type=sm][tail]),:host([sm][tail]){display:none}:host([type=md][tail]),:host([md][tail]){width:var(--lg)}:host([type=md][tail]) div,:host([md][tail]) div{width:var(--md)}.tailTitle{display:block;margin:.75rem 0;margin:var(--auro-size-sm) 0}`; |
@@ -11,3 +11,3 @@ { | ||
"name": "@aurodesignsystem/auro-avatar", | ||
"version": "4.2.1", | ||
"version": "4.2.2", | ||
"description": "auro-avatar HTML custom element", | ||
@@ -25,6 +25,4 @@ "repository": { | ||
"peerDependencies": { | ||
"@alaskaairux/auro-icon": "^3.1.0", | ||
"@alaskaairux/design-tokens": "^3.3.0", | ||
"@alaskaairux/icons": "^4.7.0", | ||
"@alaskaairux/webcorestylesheets": "^3.4.0", | ||
"@webcomponents/webcomponentsjs": "^2.5.0", | ||
@@ -34,51 +32,47 @@ "focus-visible": "^5.2.0" | ||
"devDependencies": { | ||
"@alaskaairux/auro-icon": "^3.1.1", | ||
"@alaskaairux/design-tokens": "^3.3.0", | ||
"@alaskaairux/icons": "^4.8.4", | ||
"@alaskaairux/webcorestylesheets": "^3.6.3", | ||
"@aurodesignsystem/eslint-config": "^1.2.0", | ||
"@babel/core": "^7.15.5", | ||
"@alaskaairux/auro-icon": "^3.4.0", | ||
"@alaskaairux/design-tokens": "^3.12.2", | ||
"@alaskaairux/icons": "^4.21.2", | ||
"@aurodesignsystem/eslint-config": "^1.3.0", | ||
"@aurodesignsystem/webcorestylesheets": "^4.3.0", | ||
"@babel/core": "^7.21.0", | ||
"@babel/plugin-syntax-dynamic-import": "^7.8.3", | ||
"@babel/plugin-transform-runtime": "^7.15.0", | ||
"@babel/preset-env": "^7.15.6", | ||
"@babel/runtime": "^7.15.4", | ||
"@commitlint/cli": "^13.1.0", | ||
"@commitlint/config-conventional": "^13.1.0", | ||
"@open-wc/testing": "^2.5.33", | ||
"@rollup/plugin-alias": "^3.1.5", | ||
"@rollup/plugin-babel": "^5.3.0", | ||
"@rollup/plugin-commonjs": "^20.0.0", | ||
"@rollup/plugin-node-resolve": "^13.0.4", | ||
"@semantic-release/changelog": "^5.0.1", | ||
"@semantic-release/git": "^9.0.1", | ||
"@semantic-release/npm": "^7.1.3", | ||
"@web/dev-server": "^0.1.22", | ||
"@web/test-runner": "^0.13.17", | ||
"@webcomponents/webcomponentsjs": "^2.6.0", | ||
"autoprefixer": "^10.3.4", | ||
"babel-loader": "^8.2.2", | ||
"@babel/plugin-transform-runtime": "^7.21.0", | ||
"@babel/preset-env": "^7.20.2", | ||
"@babel/runtime": "^7.21.0", | ||
"@commitlint/cli": "^17.4.4", | ||
"@commitlint/config-conventional": "^17.4.4", | ||
"@open-wc/testing": "^3.1.7", | ||
"@rollup/plugin-node-resolve": "^15.0.1", | ||
"@semantic-release/changelog": "^6.0.2", | ||
"@semantic-release/git": "^10.0.1", | ||
"@semantic-release/npm": "^9.0.2", | ||
"@web/dev-server": "^0.1.35", | ||
"@web/test-runner": "^0.15.0", | ||
"@webcomponents/webcomponentsjs": "^2.7.0", | ||
"autoprefixer": "^10.4.13", | ||
"babel-loader": "^9.1.2", | ||
"compression": "^1.7.4", | ||
"concat": "^1.0.3", | ||
"copyfiles": "^2.4.1", | ||
"core-js": "^3.17.3", | ||
"eslint": "^7.32.0", | ||
"core-js": "^3.28.0", | ||
"eslint": "^8.34.0", | ||
"eslint-plugin-jsdoc": "^40.0.0", | ||
"focus-visible": "^5.2.0", | ||
"husky": "^6.0.0", | ||
"husky": "^8.0.3", | ||
"lodash": "^4.17.21", | ||
"marked": "^3.0.4", | ||
"nodemon": "^2.0.12", | ||
"marked": "^4.2.12", | ||
"nodemon": "^2.0.20", | ||
"npm-run-all": "^4.1.5", | ||
"postcss": "^8.3.6", | ||
"postcss-custom-properties": "^12.0.0", | ||
"postcss-discard-comments": "^5.0.1", | ||
"postcss": "^8.4.21", | ||
"postcss-custom-properties": "^13.1.3", | ||
"postcss-discard-comments": "^5.1.2", | ||
"postcss-rem-to-pixel": "^4.1.2", | ||
"postcss-remove-rules": "^1.0.0", | ||
"postcss-selector-replace": "^1.0.2", | ||
"prismjs": "^1.25.0", | ||
"rollup": "^2.56.3", | ||
"rollup-plugin-minify-html-literals": "^1.2.6", | ||
"rollup-plugin-serve": "^1.1.0", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"sass": "^1.41.1", | ||
"semantic-release": "^17.4.7", | ||
"prismjs": "^1.29.0", | ||
"rollup": "^2.79.1", | ||
"rollup-plugin-serve": "^2.0.2", | ||
"sass": "^1.58.3", | ||
"semantic-release": "^20.1.0", | ||
"stylelint": "^13.13.1", | ||
@@ -89,6 +83,6 @@ "stylelint-config-idiomatic-order": "^8.1.0", | ||
"stylelint-scss": "^3.21.0", | ||
"wc-sass-render": "^1.2.3", | ||
"wc-sass-render": "^1.4.0", | ||
"web-component-analyzer": "^1.1.6", | ||
"whatwg-fetch": "^3.6.2", | ||
"yaml-lint": "^1.2.4" | ||
"yaml-lint": "^1.7.0" | ||
}, | ||
@@ -98,3 +92,2 @@ "browserslist": [ | ||
"last 2 iOS major versions", | ||
"ie 11", | ||
"last 2 Firefox versions", | ||
@@ -152,6 +145,5 @@ "last 2 Edge versions", | ||
"build:demo": "npm-run-all build demo:rm:build demo:new:build demo:copy:index demo:copy:demo demo:update:index", | ||
"build:dev:assets": "npm-run-all build:sass:demo build:sass:component postCss:component sass:render", | ||
"build:sass": "npm-run-all build:sass:demo build:sass:component postCss:component sass:render", | ||
"build:sass:demo": "sass demo:demo", | ||
"build:sass:component": "sass src:src", | ||
"build:dev:assets": "npm-run-all build:sass:component postCss:component sass:render", | ||
"build:sass": "npm-run-all build:sass:component postCss:component sass:render", | ||
"build:sass:component": "sass --no-source-map src:src", | ||
"build:watch": "nodemon -e scss,js --watch src --exec npm run build:dev:assets", | ||
@@ -158,0 +150,0 @@ "bundler": "rollup -c", |
@@ -56,7 +56,7 @@ # Avatar | ||
```html | ||
<link rel="stylesheet" href="https://unpkg.com/@alaskaairux/design-tokens@latest/dist/tokens/CSSCustomProperties.css" /> | ||
<link rel="stylesheet" href="https://unpkg.com/@alaskaairux/webcorestylesheets@latest/dist/bundled/essentials.css" /> | ||
<link rel="stylesheet" href="https://unpkg.com/@aurodesignsystem/design-tokens@latest/dist/tokens/CSSCustomProperties.css" /> | ||
<link rel="stylesheet" href="https://unpkg.com/@aurodesignsystem/webcorestylesheets@latest/dist/bundled/essentials.css" /> | ||
<script src="https://unpkg.com/@alaskaairux/auro-avatar@latest/dist/auro-avatar__bundled.js" type="module"></script> | ||
<script src="https://unpkg.com/@alaskaairux/auro-avatar@latest/dist/auro-avatar__bundled.es5.js" nomodule></script> | ||
<script src="https://unpkg.com/@aurodesignsystem/auro-avatar@latest/dist/auro-avatar__bundled.js" type="module"></script> | ||
<script src="https://unpkg.com/@aurodesignsystem/auro-avatar@latest/dist/auro-avatar__bundled.es5.js" nomodule></script> | ||
``` | ||
@@ -106,4 +106,4 @@ | ||
To deploy a demo version of the component for review, run `npm run demo:build` to create a `./build` directory that can be pushed to any static server. | ||
To deploy a demo version of the component for review, run `npm run build:demo` to create a `./build` directory that can be pushed to any static server. | ||
<small>Built from WC-Generator v3.6.2</small> |
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
173303
6
54
3352
14
2