Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@a11y-ui/core

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@a11y-ui/core - npm Package Compare versions

Comparing version 1.0.0-rc.22 to 1.0.1-rc.0

dist/index.cjs

99

package.json
{
"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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc