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
108
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.1 to 1.0.0-rc.2

cjs/lib/register.d.ts

4

cjs/element.d.ts
/// <reference types="node" />
export declare namespace Element {
type Watchers<R, O> = {
readonly [Property in keyof R as `watch${Capitalize<string & Property>}`]: (newValue?: R[Property], oldValue?: R[Property]) => void;
readonly [Property in keyof R & O as `map${Capitalize<string & Property>}`]: (newValue?: (R & O)[Property], oldValue?: (R & O)[Property]) => void;
} & {
readonly [Property in keyof O as `watch${Capitalize<string & Property>}`]: (newValue?: O[Property], oldValue?: O[Property]) => void;
readonly [Property in keyof R & O as `validate${Capitalize<string & Property>}`]?: (newValue?: (R & O)[Property], oldValue?: (R & O)[Property]) => void;
};

@@ -8,0 +8,0 @@ type Props<P> = {

@@ -9,6 +9,6 @@ import { Common } from '../common';

};
export type Patch<Name extends string, Prefix extends string, Key extends string> = (name: Name, map: Map<Prefix, Key>) => Name;
export type RegisterPatch<Name extends string, Prefix extends string, Key extends string> = (patch: Patch<Name, Prefix, Key>) => Name;
export type Register<Name extends string, Prefix extends string, Key extends string> = (name: Name, map: Map<Prefix, Key>) => RegisterPatch<Name, Prefix, Key>;
export type Patch<Name extends Locale.ISO_639_1, Prefix extends string, Key extends string> = (name: Name, map: Map<Prefix, Key>) => Name;
export type RegisterPatch<Name extends Locale.ISO_639_1, Prefix extends string, Key extends string> = (patch: Patch<Name, Prefix, Key>) => Name;
export type Register<Name extends Locale.ISO_639_1, Prefix extends string, Key extends string> = (name: Name, map: Map<Prefix, Key>) => RegisterPatch<Name, Prefix, Key>;
}
export declare const createTranslation: I18n.Register<string, string, string>;
export declare const createTranslation: I18n.Register<Locale.ISO_639_1, string, string>;

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

}
export { createTranslation } from './i18n';
export { getTheme, getThemeDetails, register } from './lib/register';
export { ThemeDetails } from './theme';
export { createTheme } from './theming';
export { createTranslation } from './i18n';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createTranslation = exports.createTheme = void 0;
exports.createTheme = exports.register = exports.getThemeDetails = exports.getTheme = exports.createTranslation = void 0;
const i18n_1 = require("./i18n");
var i18n_2 = require("./i18n");
Object.defineProperty(exports, "createTranslation", { enumerable: true, get: function () { return i18n_2.createTranslation; } });
var register_1 = require("./lib/register");
Object.defineProperty(exports, "getTheme", { enumerable: true, get: function () { return register_1.getTheme; } });
Object.defineProperty(exports, "getThemeDetails", { enumerable: true, get: function () { return register_1.getThemeDetails; } });
Object.defineProperty(exports, "register", { enumerable: true, get: function () { return register_1.register; } });
var theming_1 = require("./theming");
Object.defineProperty(exports, "createTheme", { enumerable: true, get: function () { return theming_1.createTheme; } });
var i18n_2 = require("./i18n");
Object.defineProperty(exports, "createTranslation", { enumerable: true, get: function () { return i18n_2.createTranslation; } });
//# sourceMappingURL=index.js.map
/// <reference types="node" />
export declare namespace Element {
type Watchers<R, O> = {
readonly [Property in keyof R as `watch${Capitalize<string & Property>}`]: (newValue?: R[Property], oldValue?: R[Property]) => void;
readonly [Property in keyof R & O as `map${Capitalize<string & Property>}`]: (newValue?: (R & O)[Property], oldValue?: (R & O)[Property]) => void;
} & {
readonly [Property in keyof O as `watch${Capitalize<string & Property>}`]: (newValue?: O[Property], oldValue?: O[Property]) => void;
readonly [Property in keyof R & O as `validate${Capitalize<string & Property>}`]?: (newValue?: (R & O)[Property], oldValue?: (R & O)[Property]) => void;
};

@@ -8,0 +8,0 @@ type Props<P> = {

@@ -9,6 +9,6 @@ import { Common } from '../common';

};
export type Patch<Name extends string, Prefix extends string, Key extends string> = (name: Name, map: Map<Prefix, Key>) => Name;
export type RegisterPatch<Name extends string, Prefix extends string, Key extends string> = (patch: Patch<Name, Prefix, Key>) => Name;
export type Register<Name extends string, Prefix extends string, Key extends string> = (name: Name, map: Map<Prefix, Key>) => RegisterPatch<Name, Prefix, Key>;
export type Patch<Name extends Locale.ISO_639_1, Prefix extends string, Key extends string> = (name: Name, map: Map<Prefix, Key>) => Name;
export type RegisterPatch<Name extends Locale.ISO_639_1, Prefix extends string, Key extends string> = (patch: Patch<Name, Prefix, Key>) => Name;
export type Register<Name extends Locale.ISO_639_1, Prefix extends string, Key extends string> = (name: Name, map: Map<Prefix, Key>) => RegisterPatch<Name, Prefix, Key>;
}
export declare const createTranslation: I18n.Register<string, string, string>;
export declare const createTranslation: I18n.Register<Locale.ISO_639_1, string, string>;

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

}
export { createTranslation } from './i18n';
export { getTheme, getThemeDetails, register } from './lib/register';
export { ThemeDetails } from './theme';
export { createTheme } from './theming';
export { createTranslation } from './i18n';
import { I18n } from './i18n';
export { createTranslation } from './i18n';
export { getTheme, getThemeDetails, register } from './lib/register';
export { createTheme } from './theming';
export { createTranslation } from './i18n';
//# sourceMappingURL=index.js.map
{
"name": "@a11y-ui/core",
"version": "1.0.0-rc.1",
"version": "1.0.0-rc.2",
"license": "EUPL-1.2",

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

},
"dependencies": {
"@leanup/lib": "1.3.20",
"rxjs": "7.5.5"
},
"devDependencies": {

@@ -34,0 +38,0 @@ "@types/minimatch": "3.0.5",

/// <reference types="node" />
export declare namespace Element {
type Watchers<R, O> = {
readonly [Property in keyof R as `watch${Capitalize<string & Property>}`]: (newValue?: R[Property], oldValue?: R[Property]) => void;
readonly [Property in keyof R & O as `map${Capitalize<string & Property>}`]: (newValue?: (R & O)[Property], oldValue?: (R & O)[Property]) => void;
} & {
readonly [Property in keyof O as `watch${Capitalize<string & Property>}`]: (newValue?: O[Property], oldValue?: O[Property]) => void;
readonly [Property in keyof R & O as `validate${Capitalize<string & Property>}`]?: (newValue?: (R & O)[Property], oldValue?: (R & O)[Property]) => void;
};

@@ -8,0 +8,0 @@ type Props<P> = {

@@ -9,6 +9,6 @@ import { Common } from '../common';

};
export type Patch<Name extends string, Prefix extends string, Key extends string> = (name: Name, map: Map<Prefix, Key>) => Name;
export type RegisterPatch<Name extends string, Prefix extends string, Key extends string> = (patch: Patch<Name, Prefix, Key>) => Name;
export type Register<Name extends string, Prefix extends string, Key extends string> = (name: Name, map: Map<Prefix, Key>) => RegisterPatch<Name, Prefix, Key>;
export type Patch<Name extends Locale.ISO_639_1, Prefix extends string, Key extends string> = (name: Name, map: Map<Prefix, Key>) => Name;
export type RegisterPatch<Name extends Locale.ISO_639_1, Prefix extends string, Key extends string> = (patch: Patch<Name, Prefix, Key>) => Name;
export type Register<Name extends Locale.ISO_639_1, Prefix extends string, Key extends string> = (name: Name, map: Map<Prefix, Key>) => RegisterPatch<Name, Prefix, Key>;
}
export declare const createTranslation: I18n.Register<string, string, string>;
export declare const createTranslation: I18n.Register<Locale.ISO_639_1, string, string>;

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

}
export { createTranslation } from './i18n';
export { getTheme, getThemeDetails, register } from './lib/register';
export { ThemeDetails } from './theme';
export { createTheme } from './theming';
export { createTranslation } from './i18n';
/// <reference types="node" />
export declare namespace Element {
type Watchers<R, O> = {
readonly [Property in keyof R as `watch${Capitalize<string & Property>}`]: (newValue?: R[Property], oldValue?: R[Property]) => void;
readonly [Property in keyof R & O as `map${Capitalize<string & Property>}`]: (newValue?: (R & O)[Property], oldValue?: (R & O)[Property]) => void;
} & {
readonly [Property in keyof O as `watch${Capitalize<string & Property>}`]: (newValue?: O[Property], oldValue?: O[Property]) => void;
readonly [Property in keyof R & O as `validate${Capitalize<string & Property>}`]?: (newValue?: (R & O)[Property], oldValue?: (R & O)[Property]) => void;
};

@@ -8,0 +8,0 @@ type Props<P> = {

@@ -9,6 +9,6 @@ import { Common } from '../common';

};
export type Patch<Name extends string, Prefix extends string, Key extends string> = (name: Name, map: Map<Prefix, Key>) => Name;
export type RegisterPatch<Name extends string, Prefix extends string, Key extends string> = (patch: Patch<Name, Prefix, Key>) => Name;
export type Register<Name extends string, Prefix extends string, Key extends string> = (name: Name, map: Map<Prefix, Key>) => RegisterPatch<Name, Prefix, Key>;
export type Patch<Name extends Locale.ISO_639_1, Prefix extends string, Key extends string> = (name: Name, map: Map<Prefix, Key>) => Name;
export type RegisterPatch<Name extends Locale.ISO_639_1, Prefix extends string, Key extends string> = (patch: Patch<Name, Prefix, Key>) => Name;
export type Register<Name extends Locale.ISO_639_1, Prefix extends string, Key extends string> = (name: Name, map: Map<Prefix, Key>) => RegisterPatch<Name, Prefix, Key>;
}
export declare const createTranslation: I18n.Register<string, string, string>;
export declare const createTranslation: I18n.Register<Locale.ISO_639_1, string, string>;

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

}
export { createTranslation } from './i18n';
export { getTheme, getThemeDetails, register } from './lib/register';
export { ThemeDetails } from './theme';
export { createTheme } from './theming';
export { createTranslation } from './i18n';

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

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

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.createTranslation = exports.createTheme = void 0;
exports.createTheme = exports.register = exports.getThemeDetails = exports.getTheme = exports.createTranslation = void 0;
const i18n_1 = require("./i18n");
var i18n_2 = require("./i18n");
Object.defineProperty(exports, "createTranslation", { enumerable: true, get: function () { return i18n_2.createTranslation; } });
var register_1 = require("./lib/register");
Object.defineProperty(exports, "getTheme", { enumerable: true, get: function () { return register_1.getTheme; } });
Object.defineProperty(exports, "getThemeDetails", { enumerable: true, get: function () { return register_1.getThemeDetails; } });
Object.defineProperty(exports, "register", { enumerable: true, get: function () { return register_1.register; } });
var theming_1 = require("./theming");
Object.defineProperty(exports, "createTheme", { enumerable: true, get: function () { return theming_1.createTheme; } });
var i18n_2 = require("./i18n");
Object.defineProperty(exports, "createTranslation", { enumerable: true, get: function () { return i18n_2.createTranslation; } });
});
//# sourceMappingURL=index.js.map

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