@dile/utils 2.1.1 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,3 +1,6 @@
1
1
  # @dile/utils
2
2
 
3
- Web Components to create various user interfaces
3
+ Web Components to create several features in web sites and web applications.
4
+
5
+ Read the @dile/utils docs on [Dile Components Catalog Site](https://dile-components.polydile.com/).
6
+
@@ -1,9 +1,9 @@
1
1
  import { LitElement } from "lit";
2
- import { DileSmoothScrollMixin } from "./DileSmoothScrollMixin.js";
3
- import { DileSmoothScrollElementMixin } from "./DileSmoothScrollElementMixin.js";
2
+ import { DileSmoothScroll as SmoothScrollMixin } from "../../../mixins/smooth-scroll/index.js";
3
+ import { DileSmoothScrollElement } from "../../../mixins/smooth-scroll/index.js";
4
4
 
5
- export class DileSmoothScroll extends DileSmoothScrollMixin (
6
- DileSmoothScrollElementMixin(LitElement)
5
+ export class DileSmoothScroll extends SmoothScrollMixin (
6
+ DileSmoothScrollElement(LitElement)
7
7
  ) {
8
8
  static get properties() {
9
9
  return {
@@ -0,0 +1,2 @@
1
+ export { DileSmoothScrollElement } from "./src/DileSmoothScrollElement.js";
2
+ export { DileSmoothScroll } from "./src/DileSmoothScroll.js";
@@ -1,4 +1,4 @@
1
- export const DileSmoothScrollMixin = (Superclass) =>
1
+ export const DileSmoothScroll = (Superclass) =>
2
2
  class extends Superclass {
3
3
  smoothScrollToTop() {
4
4
  this.smoothScroll(0, 0);
@@ -1,4 +1,4 @@
1
- export const DileSmoothScrollElementMixin = (Superclass) =>
1
+ export const DileSmoothScrollElement = (Superclass) =>
2
2
  class extends Superclass {
3
3
  smoothElementScrollTop(element) {
4
4
  this.smoothElementScroll(element, 0, 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dile/utils",
3
- "version": "2.1.1",
3
+ "version": "2.1.3",
4
4
  "description": "Utility Components of Diverse Uses Based on the Lit Library and Web Components Standard.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "homepage": "https://dile-components.polydile.com/",
22
22
  "dependencies": {
23
- "@dile/ui": "^2.1.1",
23
+ "@dile/ui": "^2.1.3",
24
24
  "@lion/calendar": "^0.20.1",
25
25
  "@lion/localize": "^0.26.0",
26
26
  "linkify-string": "^4.1.3",
@@ -30,5 +30,5 @@
30
30
  "publishConfig": {
31
31
  "access": "public"
32
32
  },
33
- "gitHead": "86998576dd07b55c375671f4025eb9cb50ab13ac"
33
+ "gitHead": "d85630102d446db63ccad6cd6ea0c53ce59496f4"
34
34
  }