@a11y-ui/core
Advanced tools
Comparing version 1.0.0-rc.22 to 1.0.1-rc.0
{ | ||
"name": "@a11y-ui/core", | ||
"version": "1.0.0-rc.22", | ||
"license": "EUPL-1.2", | ||
"description": "Contains the generic types and utils to provide an overall web component architecture.", | ||
"author": { | ||
"email": "github@martinoppitz.com", | ||
"name": "Martin Oppitz", | ||
"url": "https://martinoppitz.com" | ||
}, | ||
"browser": true, | ||
"sideEffects": false, | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"import": "./ems/index.js", | ||
"require": "./cjs/index.js" | ||
} | ||
}, | ||
"main": "cjs/index.js", | ||
"module": "ems/index.js", | ||
"types": "types/index.d.ts", | ||
"scripts": { | ||
"clean": "lerna exec --stream -- git clean -f -d -X && git clean -f -d -X", | ||
"build:cjs": "tsc -m commonjs --outDir cjs", | ||
"build:clean": "rimraf cjs esm types umd", | ||
"build:esm": "tsc -m esnext --outDir esm", | ||
"build:types": "tsc -d --outDir types && rimraf types/*.js types/*.map types/**/*.js types/**/*.map", | ||
"build:umd": "tsc -m umd --outDir umd", | ||
"build": "npm run build:cjs && npm run build:esm && npm run build:types && npm run build:umd", | ||
"prepack": "npm run build:clean && npm run build", | ||
"unbuild": "unbuild", | ||
":install": "pnpm i && pnpm update", | ||
":publish": "npm run :install && npm publish --registry=http://localhost:4873 || true", | ||
":republish": "npm run :unpublish && npm run :publish", | ||
":unpublish": "npm unpublish -f --registry=http://localhost:4873" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "18.0.0", | ||
"rimraf": "3.0.2", | ||
"typescript": "4.8.4", | ||
"unbuild": "0.8.11" | ||
}, | ||
"files": [ | ||
"cjs", | ||
"esm", | ||
"types", | ||
"umd" | ||
] | ||
} | ||
"name": "@a11y-ui/core", | ||
"version": "1.0.1-rc.0", | ||
"license": "EUPL-1.2", | ||
"description": "Contains the generic types and utils to provide an overall web component architecture.", | ||
"author": { | ||
"email": "github@martinoppitz.com", | ||
"name": "Martin Oppitz", | ||
"url": "https://martinoppitz.com" | ||
}, | ||
"contributors": [ | ||
{ | ||
"email": "github@martinoppitz.com", | ||
"name": "Martin Oppitz", | ||
"url": "https://martinoppitz.com" | ||
} | ||
], | ||
"dependencies": { | ||
"@leanup/lib": "1.3.39" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "18.11.9", | ||
"@typescript-eslint/eslint-plugin": "5.43.0", | ||
"@typescript-eslint/parser": "5.43.0", | ||
"typescript": "4.9.3", | ||
"eslint": "8.28.0", | ||
"prettier": "2.7.1", | ||
"unbuild": "1.0.1" | ||
}, | ||
"sideEffects": false, | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.cjs" | ||
} | ||
}, | ||
"main": "./dist/index.cjs", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"build": "unbuild", | ||
":install": "pnpm i && pnpm update", | ||
":publish": "npm run :install && npm publish --registry=http://localhost:4873 || true", | ||
":republish": "npm run :unpublish && npm run :publish", | ||
":unpublish": "npm unpublish -f --registry=http://localhost:4873" | ||
} | ||
} |
@@ -1,74 +0,5 @@ | ||
``` | ||
,---. ,--. ,--. ,--. ,--. ,--. | ||
/ O \ / | / | ,--. ,--. ,-----. | | | | | | | ||
| .-. | `| | `| | \ ' / '-----' | | | | | | | ||
| | | | | | | | \ ' ' '-' ' | | | ||
`--' `--' `--' `--' .-' / `-----' `--' | ||
the accessible `---' web component library | ||
``` | ||
# Web Component Core-Library | ||
![Dependencies](https://img.shields.io/librariesio/release/npm/@a11y-ui/core?style=for-the-badge) | ||
![Vulnerabilities](https://img.shields.io/snyk/vulnerabilities/npm/@a11y-ui/core?style=for-the-badge) | ||
![Version](https://img.shields.io/npm/v/@a11y-ui/core?style=for-the-badge) | ||
![Downloads](https://img.shields.io/npm/dt/@a11y-ui/core?style=for-the-badge) | ||
![Size](https://img.shields.io/bundlephobia/min/@a11y-ui/core?style=for-the-badge) | ||
![Lerna](https://img.shields.io/badge/managed%20with-lerna-blueviolet?style=for-the-badge) | ||
This library decouple the web component markup fully from the style sheets. | ||
# A11y-UI Core | ||
## Components | ||
```mermaid | ||
flowchart LR | ||
Generic --> Element | ||
Generic --> I18n | ||
Generic --> Theming | ||
subgraph Common | ||
PrefixedKey | ||
end | ||
subgraph Element | ||
Watchers | ||
Props | ||
Members | ||
StateHooks | ||
StateHooksCallback | ||
NextStateHooksCallback | ||
Component --> StateHooks | ||
Component --> StateHooksCallback | ||
Component --> NextStateHooksCallback | ||
ComponentApi --> Component | ||
ComponentApi --> Members | ||
ComponentApi --> Watchers | ||
end | ||
subgraph I18n | ||
TranslationKey --> PrefixedKey | ||
TranslationMap --> TranslationKey | ||
PatchTranslation --> ISO_639_1 | ||
PatchTranslation --> TranslationMap | ||
RegisterPatchTranslation --> PatchTranslation | ||
RegisterPatchTranslation --> ISO_639_1 | ||
subgraph Locale | ||
ISO_639_1 | ||
ISO_639_2 | ||
end | ||
end | ||
subgraph Theming | ||
CssProps --> PrefixedKey | ||
ThemeCss --> CssProps | ||
PatchTheme --> ThemeCss | ||
RegisterPatchTheme --> PatchTheme | ||
end | ||
``` | ||
## Pattern | ||
```mermaid | ||
flowchart LR | ||
Schema --> Core | ||
subgraph Component-Lib | ||
Themes --> Schema | ||
Components --> Schema | ||
Adapters --> Components | ||
end | ||
``` | ||
You have a register method to register some component loader and style themes. About dataset in the HTML you can switch between registered style themes over the same components. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
1
57554
1
7
6
918
6
+ Added@leanup/lib@1.3.39
+ Added@leanup/lib@1.3.39(transitive)
+ Addedloglevel@1.8.0(transitive)
+ Addedtslib@2.4.1(transitive)