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.11 to 1.0.0-rc.12

15

cjs/index.d.ts

@@ -8,5 +8,16 @@ import type { Common } from './common';

}
export { createTranslation } from './i18n';
interface Library<Prefix extends string, Key extends string, Tag extends string> {
readonly Prefix: Prefix;
readonly Key: Key;
readonly Tag: Tag;
}
export declare class Theme<Prefix extends string, Key extends string, Tag extends string> implements Library<Prefix, Key, Tag> {
readonly Prefix: Prefix;
readonly Key: Key;
readonly Tag: Tag;
readonly createTheme: Generic.Theming.Register<string, Prefix, Tag>;
readonly createTranslation: Generic.I18n.Register<I18n.Locale.ISO_639_1, Prefix, Key>;
constructor(prefix: Prefix, keyEnum: Object, tagEnum: Object);
}
export { RobustStore, getTheme, getThemeDetails, patchTheme, patchThemeTag, register, setThemeStyle } from './lib';
export { ThemeDetails } from './theme';
export { createTheme } from './theming';

18

cjs/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createTheme = exports.setThemeStyle = exports.register = exports.patchThemeTag = exports.patchTheme = exports.getThemeDetails = exports.getTheme = exports.RobustStore = exports.createTranslation = void 0;
var i18n_1 = require("./i18n");
Object.defineProperty(exports, "createTranslation", { enumerable: true, get: function () { return i18n_1.createTranslation; } });
exports.setThemeStyle = exports.register = exports.patchThemeTag = exports.patchTheme = exports.getThemeDetails = exports.getTheme = exports.RobustStore = exports.Theme = void 0;
const i18n_1 = require("./i18n");
const theming_1 = require("./theming");
class Theme {
constructor(prefix, keyEnum, tagEnum) {
this.createTheme = (name, map) => (0, theming_1.createTheme)(name, map);
this.createTranslation = (name, map) => (0, i18n_1.createTranslation)(name, map);
this.Prefix = prefix;
this.Key = Object.getOwnPropertyNames(keyEnum);
this.Tag = Object.getOwnPropertyNames(tagEnum);
}
}
exports.Theme = Theme;
var lib_1 = require("./lib");

@@ -14,4 +24,2 @@ Object.defineProperty(exports, "RobustStore", { enumerable: true, get: function () { return lib_1.RobustStore; } });

Object.defineProperty(exports, "setThemeStyle", { enumerable: true, get: function () { return lib_1.setThemeStyle; } });
var theming_1 = require("./theming");
Object.defineProperty(exports, "createTheme", { enumerable: true, get: function () { return theming_1.createTheme; } });
//# sourceMappingURL=index.js.map

@@ -10,7 +10,5 @@ "use strict";

warrentyWarning = true;
lib_1.Log.warn(`[Theming] Der Theming-Prozess sieht vor, dass nur auditierte Themes geladen werden dürfen. Der vorgesehene Theming-Prozess wurde umgangen.
lib_1.Log.warn(`[Theming] The theme process is locked. This means that the theme "${themeName}" should not be patched.
// Theme registrieren
import { defineCustomElements } from '@kolibri/lib/dist/loader';
import { defineCustomElements } from '...';
import { register } from '@a11y-ui/core';

@@ -17,0 +15,0 @@ import { THEME } from '...';

@@ -8,5 +8,16 @@ import type { Common } from './common';

}
export { createTranslation } from './i18n';
interface Library<Prefix extends string, Key extends string, Tag extends string> {
readonly Prefix: Prefix;
readonly Key: Key;
readonly Tag: Tag;
}
export declare class Theme<Prefix extends string, Key extends string, Tag extends string> implements Library<Prefix, Key, Tag> {
readonly Prefix: Prefix;
readonly Key: Key;
readonly Tag: Tag;
readonly createTheme: Generic.Theming.Register<string, Prefix, Tag>;
readonly createTranslation: Generic.I18n.Register<I18n.Locale.ISO_639_1, Prefix, Key>;
constructor(prefix: Prefix, keyEnum: Object, tagEnum: Object);
}
export { RobustStore, getTheme, getThemeDetails, patchTheme, patchThemeTag, register, setThemeStyle } from './lib';
export { ThemeDetails } from './theme';
export { createTheme } from './theming';

@@ -1,4 +0,13 @@

export { createTranslation } from './i18n';
import { createTranslation as coreCreateTranslation } from './i18n';
import { createTheme as coreCreateTheme } from './theming';
export class Theme {
constructor(prefix, keyEnum, tagEnum) {
this.createTheme = (name, map) => coreCreateTheme(name, map);
this.createTranslation = (name, map) => coreCreateTranslation(name, map);
this.Prefix = prefix;
this.Key = Object.getOwnPropertyNames(keyEnum);
this.Tag = Object.getOwnPropertyNames(tagEnum);
}
}
export { RobustStore, getTheme, getThemeDetails, patchTheme, patchThemeTag, register, setThemeStyle } from './lib';
export { createTheme } from './theming';
//# sourceMappingURL=index.js.map

@@ -7,7 +7,5 @@ import { Log } from '@leanup/lib';

warrentyWarning = true;
Log.warn(`[Theming] Der Theming-Prozess sieht vor, dass nur auditierte Themes geladen werden dürfen. Der vorgesehene Theming-Prozess wurde umgangen.
Log.warn(`[Theming] The theme process is locked. This means that the theme "${themeName}" should not be patched.
// Theme registrieren
import { defineCustomElements } from '@kolibri/lib/dist/loader';
import { defineCustomElements } from '...';
import { register } from '@a11y-ui/core';

@@ -14,0 +12,0 @@ import { THEME } from '...';

{
"name": "@a11y-ui/core",
"version": "1.0.0-rc.11",
"version": "1.0.0-rc.12",
"license": "EUPL-1.2",

@@ -20,6 +20,6 @@ "description": "Contains the generic types and utils to provide an overall web component architecture.",

"prepack": "npm run build",
"reinstall": "npm run remove && npm install",
"reinstall": "npm run remove && pnpm i",
"remove": "npm run remove:lock && git clean -f -d -X",
"remove:lock": "rm -rf package-lock.json",
":publish": "npm unpublish -f --registry=http://localhost:4873 && npm publish --registry=http://localhost:4873"
":publish": "npm run reinstall && npm unpublish -f --registry=http://localhost:4873 && npm publish --registry=http://localhost:4873"
},

@@ -34,13 +34,9 @@ "main": "cjs/index.js",

"dependencies": {
"@leanup/lib": "1.3.20",
"rxjs": "7.5.5"
"@leanup/lib": "1.3.20"
},
"devDependencies": {
"@types/minimatch": "3.0.5",
"@types/minimist": "1.2.2",
"@types/node": "17.0.42",
"@types/normalize-package-data": "2.4.1",
"nodemon": "1.18.4",
"ts-node": "8.0.2",
"typescript": "4.7.3"
"@types/node": "18.0.0",
"nodemon": "2.0.18",
"ts-node": "10.8.1",
"typescript": "4.7.4"
},

@@ -47,0 +43,0 @@ "files": [

@@ -8,5 +8,16 @@ import type { Common } from './common';

}
export { createTranslation } from './i18n';
interface Library<Prefix extends string, Key extends string, Tag extends string> {
readonly Prefix: Prefix;
readonly Key: Key;
readonly Tag: Tag;
}
export declare class Theme<Prefix extends string, Key extends string, Tag extends string> implements Library<Prefix, Key, Tag> {
readonly Prefix: Prefix;
readonly Key: Key;
readonly Tag: Tag;
readonly createTheme: Generic.Theming.Register<string, Prefix, Tag>;
readonly createTranslation: Generic.I18n.Register<I18n.Locale.ISO_639_1, Prefix, Key>;
constructor(prefix: Prefix, keyEnum: Object, tagEnum: Object);
}
export { RobustStore, getTheme, getThemeDetails, patchTheme, patchThemeTag, register, setThemeStyle } from './lib';
export { ThemeDetails } from './theme';
export { createTheme } from './theming';

@@ -8,5 +8,16 @@ import type { Common } from './common';

}
export { createTranslation } from './i18n';
interface Library<Prefix extends string, Key extends string, Tag extends string> {
readonly Prefix: Prefix;
readonly Key: Key;
readonly Tag: Tag;
}
export declare class Theme<Prefix extends string, Key extends string, Tag extends string> implements Library<Prefix, Key, Tag> {
readonly Prefix: Prefix;
readonly Key: Key;
readonly Tag: Tag;
readonly createTheme: Generic.Theming.Register<string, Prefix, Tag>;
readonly createTranslation: Generic.I18n.Register<I18n.Locale.ISO_639_1, Prefix, Key>;
constructor(prefix: Prefix, keyEnum: Object, tagEnum: Object);
}
export { RobustStore, getTheme, getThemeDetails, patchTheme, patchThemeTag, register, setThemeStyle } from './lib';
export { ThemeDetails } from './theme';
export { createTheme } from './theming';

@@ -7,3 +7,3 @@ (function (factory) {

else if (typeof define === "function" && define.amd) {
define(["require", "exports", "./i18n", "./lib", "./theming"], factory);
define(["require", "exports", "./i18n", "./theming", "./lib"], factory);
}

@@ -13,5 +13,15 @@ })(function (require, exports) {

Object.defineProperty(exports, "__esModule", { value: true });
exports.createTheme = exports.setThemeStyle = exports.register = exports.patchThemeTag = exports.patchTheme = exports.getThemeDetails = exports.getTheme = exports.RobustStore = exports.createTranslation = void 0;
var i18n_1 = require("./i18n");
Object.defineProperty(exports, "createTranslation", { enumerable: true, get: function () { return i18n_1.createTranslation; } });
exports.setThemeStyle = exports.register = exports.patchThemeTag = exports.patchTheme = exports.getThemeDetails = exports.getTheme = exports.RobustStore = exports.Theme = void 0;
const i18n_1 = require("./i18n");
const theming_1 = require("./theming");
class Theme {
constructor(prefix, keyEnum, tagEnum) {
this.createTheme = (name, map) => (0, theming_1.createTheme)(name, map);
this.createTranslation = (name, map) => (0, i18n_1.createTranslation)(name, map);
this.Prefix = prefix;
this.Key = Object.getOwnPropertyNames(keyEnum);
this.Tag = Object.getOwnPropertyNames(tagEnum);
}
}
exports.Theme = Theme;
var lib_1 = require("./lib");

@@ -25,5 +35,3 @@ Object.defineProperty(exports, "RobustStore", { enumerable: true, get: function () { return lib_1.RobustStore; } });

Object.defineProperty(exports, "setThemeStyle", { enumerable: true, get: function () { return lib_1.setThemeStyle; } });
var theming_1 = require("./theming");
Object.defineProperty(exports, "createTheme", { enumerable: true, get: function () { return theming_1.createTheme; } });
});
//# sourceMappingURL=index.js.map

@@ -19,7 +19,5 @@ (function (factory) {

warrentyWarning = true;
lib_1.Log.warn(`[Theming] Der Theming-Prozess sieht vor, dass nur auditierte Themes geladen werden dürfen. Der vorgesehene Theming-Prozess wurde umgangen.
lib_1.Log.warn(`[Theming] The theme process is locked. This means that the theme "${themeName}" should not be patched.
// Theme registrieren
import { defineCustomElements } from '@kolibri/lib/dist/loader';
import { defineCustomElements } from '...';
import { register } from '@a11y-ui/core';

@@ -26,0 +24,0 @@ import { THEME } from '...';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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