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

@alwatr/element

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alwatr/element - npm Package Compare versions

Comparing version 0.27.0 to 0.28.0

helper/service-worker.d.ts

21

CHANGELOG.md

@@ -6,2 +6,23 @@ # Change Log

# [0.28.0](https://github.com/AliMD/alwatr/compare/v0.27.0...v0.28.0) (2023-01-20)
### Bug Fixes
- **element/sw-helper:** reload on new update ([b07db77](https://github.com/AliMD/alwatr/commit/b07db77bf8a9c28235cdfe9f1d0aff972feda73c))
- **pwa-element:** prevent to default import css for backward compatibility ([89591a2](https://github.com/AliMD/alwatr/commit/89591a28d1d829512200c8a0a026cbb7558e198d))
- **pwa:** debug mode scripts ([681fdc2](https://github.com/AliMD/alwatr/commit/681fdc24897b7bd4f677f26fd45ea048d5f9a675))
- version in package.json ([403baa5](https://github.com/AliMD/alwatr/commit/403baa53159db2a0fff5b3651769b85e66b13191))
### Features
- **demo-pwa:** register service worker ([ad8e2d8](https://github.com/AliMD/alwatr/commit/ad8e2d8073327d289bd069069847e98b12dba302))
- **element:** separate \_initLocale, \_initRouter and \_routeChanged ([a0af8ec](https://github.com/AliMD/alwatr/commit/a0af8ecfb6f5da24898da629de822cfe54ea5586))
- **element:** service worker register ([c98b1f6](https://github.com/AliMD/alwatr/commit/c98b1f601b7a277d2bf713637f7475b037961f3a))
- **element:** service-worker helper ([6ec8b59](https://github.com/AliMD/alwatr/commit/6ec8b59a617d514315926dac7c3e3318867782d2))
- **icon-box:** new style and layout ([2003e33](https://github.com/AliMD/alwatr/commit/2003e33e5095358e24fd4e07b3fc92a3b8a9d7d7))
- **pwa:** unresolved state for show skeleton or loading ([8c4e834](https://github.com/AliMD/alwatr/commit/8c4e834b1415df14d6c76ef4d2040c60dc638b9e))
- **type:** define constructor type ([39c5ab7](https://github.com/AliMD/alwatr/commit/39c5ab74f0a1471d5e20beff89f6885265907633))
- **ui/element:** export `unsafeHTML` ([2cb6d49](https://github.com/AliMD/alwatr/commit/2cb6d49aca60dbbda45990bf13e0b9622725a0ef))
- **ui:** new AlwatrSurfaceElement with elevation/tint/state simulation ([0877f4f](https://github.com/AliMD/alwatr/commit/0877f4f3dd780321f3c7498cffde66653a24de43))
# [0.27.0](https://github.com/AliMD/alwatr/compare/v0.26.0...v0.27.0) (2022-12-29)

@@ -8,0 +29,0 @@

4

dummy-element.d.ts
import { LitElement } from 'lit';
/**
* Alwatr Dummy Element
* Alwatr Dummy Base Element
*
* Include: LoggerMixin
*/
export declare const AlwatrDummyElement: import("./type.js").Constructor<import("./mixins/logging.js").LoggerMixinInterface> & typeof LitElement;
export declare const AlwatrDummyElement: import("@alwatr/type").Constructor<import("./mixins/logging.js").LoggerMixinInterface> & typeof LitElement;
//# sourceMappingURL=dummy-element.d.ts.map
import { LitElement } from 'lit';
import { LoggerMixin } from './mixins/logging.js';
/**
* Alwatr Dummy Element
* Alwatr Dummy Base Element
*

@@ -6,0 +6,0 @@ * Include: LoggerMixin

export * from './dummy-element.js';
export * from './smart-element.js';
export * from './root-element.js';
export * from './surface-element.js';
export * from './mixins/localize.js';

@@ -13,3 +13,4 @@ export * from './mixins/direction.js';

export { unsafeSVG } from 'lit/directives/unsafe-svg.js';
export { unsafeHTML } from 'lit/directives/unsafe-html.js';
export { cache } from 'lit/directives/cache.js';
//# sourceMappingURL=index.d.ts.map

@@ -1,5 +0,5 @@

import { alwatrRegisteredList } from '@alwatr/logger';
import { globalAlwatr } from '@alwatr/logger';
export * from './dummy-element.js';
export * from './smart-element.js';
export * from './root-element.js';
export * from './surface-element.js';
export * from './mixins/localize.js';

@@ -14,7 +14,8 @@ export * from './mixins/direction.js';

export { unsafeSVG } from 'lit/directives/unsafe-svg.js';
export { unsafeHTML } from 'lit/directives/unsafe-html.js';
export { cache } from 'lit/directives/cache.js';
alwatrRegisteredList.push({
globalAlwatr.registeredList.push({
name: '@alwatr/element',
version: '{{ALWATR_VERSION}}',
version: _ALWATR_VERSION_,
});
//# sourceMappingURL=index.js.map

@@ -1,3 +0,3 @@

import type { Constructor } from '../type.js';
import type { LoggerMixinInterface } from './logging.js';
import type { Constructor } from '@alwatr/type';
export declare class DirectionMixinInterface extends LoggerMixinInterface {

@@ -4,0 +4,0 @@ protected _signalListenerList: Array<unknown>;

import { l10n } from '@alwatr/i18n';
import type { Constructor } from '../type.js';
import type { LoggerMixinInterface } from './logging.js';
import type { Constructor } from '@alwatr/type';
export declare class LocalizeMixinInterface extends LoggerMixinInterface {

@@ -5,0 +5,0 @@ protected _signalListenerList: Array<unknown>;

@@ -1,3 +0,3 @@

import type { Constructor } from '../type.js';
import type { AlwatrLogger } from '@alwatr/logger/type.js';
import { type AlwatrLogger } from '@alwatr/logger';
import type { Constructor } from '@alwatr/type';
import type { LitElement } from 'lit';

@@ -4,0 +4,0 @@ export declare class LoggerMixinInterface extends LitElement {

@@ -1,2 +0,2 @@

import type { Constructor } from '../type.js';
import type { Constructor } from '@alwatr/type';
import type { LitElement } from 'lit';

@@ -3,0 +3,0 @@ export declare class SignalMixinInterface extends LitElement {

{
"name": "@alwatr/element",
"version": "0.27.0",
"version": "0.28.0",
"description": "Elegant powerful web component (lit-element) helper mixins written in tiny TypeScript module.",

@@ -36,10 +36,12 @@ "keywords": [

"dependencies": {
"@alwatr/i18n": "^0.27.0",
"@alwatr/logger": "^0.27.0",
"@alwatr/router": "^0.27.0",
"@alwatr/signal": "^0.27.0",
"lit": "~2.5.0",
"tslib": "~2.4.1"
"@alwatr/i18n": "^0.28.0",
"@alwatr/logger": "^0.28.0",
"@alwatr/router": "^0.28.0",
"lit": "^2.6.1",
"tslib": "^2.4.1"
},
"gitHead": "f6612d969fe49af71ab27e75fa54601071953141"
"devDependencies": {
"@alwatr/type": "^0.28.0"
},
"gitHead": "f4f63e7db916fda3ceac8b1d448068fc46da6334"
}
/**
* Alwatr Smart Element
* Alwatr Smart Base Element
*
* Include: SignalMixin, AlwatrDummyElement
*/
export declare const AlwatrSmartElement: import("./type.js").Constructor<import("./mixins/signal.js").SignalMixinInterface> & import("./type.js").Constructor<import("./mixins/logging.js").LoggerMixinInterface> & typeof import("lit").LitElement;
export declare const AlwatrSmartElement: import("@alwatr/type").Constructor<import("./mixins/signal.js").SignalMixinInterface> & import("@alwatr/type").Constructor<import("./mixins/logging.js").LoggerMixinInterface> & typeof import("lit").LitElement;
//# sourceMappingURL=smart-element.d.ts.map
import { AlwatrDummyElement } from './dummy-element.js';
import { SignalMixin } from './mixins/signal.js';
/**
* Alwatr Smart Element
* Alwatr Smart Base Element
*

@@ -6,0 +6,0 @@ * Include: SignalMixin, AlwatrDummyElement

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

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

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