smoothly 0.3.52 → 0.3.53
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/dist/cjs/{index-5c256daf.js → index-679a68de.js} +1 -1
- package/dist/cjs/{index-48630c3c.js → index-8352a4e0.js} +0 -3
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/smoothly-accordion_53.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-country.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-google-font.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-reorder.cjs.entry.js +4 -4
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +1 -1
- package/dist/cjs/smoothly.cjs.js +1 -1
- package/dist/collection/components/input/index.js +1 -1
- package/dist/custom-elements/index.js +1 -1
- package/dist/esm/{index-e9e4cadb.js → index-7b57a52c.js} +1 -3
- package/dist/esm/{index-62de77e7.js → index-990cc22d.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/smoothly-accordion_53.entry.js +3 -3
- package/dist/esm/smoothly-country.entry.js +1 -1
- package/dist/esm/smoothly-google-font.entry.js +1 -1
- package/dist/esm/smoothly-radio-group.entry.js +1 -1
- package/dist/esm/smoothly-reorder.entry.js +2 -2
- package/dist/esm/smoothly-trigger-sink.entry.js +1 -1
- package/dist/esm/smoothly-trigger-source.entry.js +1 -1
- package/dist/esm/smoothly.js +2 -2
- package/dist/smoothly/index.esm.js +1 -1
- package/dist/smoothly/{p-b1147a02.entry.js → p-0c7edd4c.entry.js} +1 -1
- package/dist/smoothly/{p-b3d699d2.entry.js → p-0ed63b7b.entry.js} +1 -1
- package/dist/smoothly/{p-03d4ad55.entry.js → p-1eb28ea6.entry.js} +1 -1
- package/dist/smoothly/{p-5120e158.entry.js → p-29f0b550.entry.js} +1 -1
- package/dist/smoothly/{p-fe4520be.entry.js → p-5fb08944.entry.js} +1 -1
- package/dist/smoothly/p-607abd83.entry.js +1 -0
- package/dist/smoothly/{p-73bcae40.js → p-675a8d09.js} +1 -1
- package/dist/smoothly/{p-878ee591.entry.js → p-ad6e177e.entry.js} +1 -1
- package/dist/smoothly/{p-e5d867e5.js → p-c88ae468.js} +2 -2
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/package.json +1 -1
- package/dist/smoothly/p-4f3b0e6d.entry.js +0 -1
|
@@ -2060,8 +2060,6 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2060
2060
|
const styles = /*@__PURE__*/ new Map();
|
|
2061
2061
|
const win = typeof window !== 'undefined' ? window : {};
|
|
2062
2062
|
const doc = win.document || { head: {} };
|
|
2063
|
-
const H = (win.HTMLElement || class {
|
|
2064
|
-
});
|
|
2065
2063
|
const plt = {
|
|
2066
2064
|
$flags$: 0,
|
|
2067
2065
|
$resourcesUrl$: '',
|
|
@@ -2124,7 +2122,6 @@ const flush = () => {
|
|
|
2124
2122
|
const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
|
|
2125
2123
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
2126
2124
|
|
|
2127
|
-
exports.H = H;
|
|
2128
2125
|
exports.Host = Host;
|
|
2129
2126
|
exports.bootstrapLazy = bootstrapLazy;
|
|
2130
2127
|
exports.createEvent = createEvent;
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-679a68de.js');
|
|
6
6
|
const Listenable = require('./Listenable-0b92b362.js');
|
|
7
7
|
const GoogleFont = require('./GoogleFont-6c4f0da1.js');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-8352a4e0.js');
|
|
9
9
|
|
|
10
10
|
class ClientIdentifier {
|
|
11
11
|
constructor() { }
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-8352a4e0.js');
|
|
6
|
+
const index$1 = require('./index-679a68de.js');
|
|
7
7
|
const Listenable = require('./Listenable-0b92b362.js');
|
|
8
8
|
require('./GoogleFont-6c4f0da1.js');
|
|
9
9
|
const getLanguage = require('./getLanguage-892e255f.js');
|
|
@@ -21535,7 +21535,7 @@ const SmoothlyInput = class {
|
|
|
21535
21535
|
}
|
|
21536
21536
|
onPaste(event) {
|
|
21537
21537
|
event.preventDefault();
|
|
21538
|
-
let pasted = event.clipboardData ? event.clipboardData.getData("text") : "";
|
|
21538
|
+
let pasted = event.clipboardData ? event.clipboardData.getData("text").trim() : "";
|
|
21539
21539
|
const backend = event.target;
|
|
21540
21540
|
pasted = this.expiresAutocompleteFix(backend, pasted);
|
|
21541
21541
|
this.processPaste(pasted, backend);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-8352a4e0.js');
|
|
6
6
|
|
|
7
7
|
const styleCss = "smoothly-radio-group{display:flex;position:relative;color:none !important;background:none !important;margin:0.5em 0}smoothly-radio-group[hidden]{display:none}smoothly-radio-group[orientation=vertical] *:not(:first-of-type)>input[type=radio]~label{border-top:none}smoothly-radio-group:not([orientation=vertical]) *:not(:first-of-type)>input[type=radio]~label{border-left:none}smoothly-radio-group[orientation=vertical]{flex-direction:column}smoothly-radio-group[orientation=vertical] :first-of-type>input[type=radio]~label{border-radius:4px 4px 0 0}smoothly-radio-group[orientation=vertical] :last-of-type>input[type=radio]~label{border-radius:0 0 4px 4px}smoothly-radio-group:not([orientation=vertical]){flex-direction:row}smoothly-radio-group:not([orientation=vertical]) :first-of-type>input[type=radio]~label{border-radius:4px 0 0 4px}smoothly-radio-group:not([orientation=vertical]) :last-of-type>input[type=radio]~label{border-radius:0 4px 4px 0}";
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-8352a4e0.js');
|
|
6
6
|
|
|
7
7
|
const styleCss = "smoothly-reorder>*{cursor:move;transition:transform 0.3s}smoothly-reorder>*.dragging{transition:none;box-shadow:0 0 10px rgba(var(--smoothly-dark-color));z-index:1;user-select:none}";
|
|
8
8
|
|
|
@@ -16,9 +16,9 @@ const SmoothlyReorder = class {
|
|
|
16
16
|
if (this.childrenCache)
|
|
17
17
|
result = this.childrenCache;
|
|
18
18
|
else {
|
|
19
|
-
for (let index
|
|
20
|
-
const element = this.element.children[index
|
|
21
|
-
if (element instanceof
|
|
19
|
+
for (let index = 0; index < this.element.children.length; index++) {
|
|
20
|
+
const element = this.element.children[index];
|
|
21
|
+
if (element instanceof HTMLElement) {
|
|
22
22
|
const bounds = element.getBoundingClientRect();
|
|
23
23
|
result.push({
|
|
24
24
|
top: bounds.top,
|
package/dist/cjs/smoothly.cjs.js
CHANGED
|
@@ -140,7 +140,7 @@ export class SmoothlyInput {
|
|
|
140
140
|
}
|
|
141
141
|
onPaste(event) {
|
|
142
142
|
event.preventDefault();
|
|
143
|
-
let pasted = event.clipboardData ? event.clipboardData.getData("text") : "";
|
|
143
|
+
let pasted = event.clipboardData ? event.clipboardData.getData("text").trim() : "";
|
|
144
144
|
const backend = event.target;
|
|
145
145
|
pasted = this.expiresAutocompleteFix(backend, pasted);
|
|
146
146
|
this.processPaste(pasted, backend);
|
|
@@ -47322,7 +47322,7 @@ const SmoothlyInput$1 = class extends HTMLElement {
|
|
|
47322
47322
|
}
|
|
47323
47323
|
onPaste(event) {
|
|
47324
47324
|
event.preventDefault();
|
|
47325
|
-
let pasted = event.clipboardData ? event.clipboardData.getData("text") : "";
|
|
47325
|
+
let pasted = event.clipboardData ? event.clipboardData.getData("text").trim() : "";
|
|
47326
47326
|
const backend = event.target;
|
|
47327
47327
|
pasted = this.expiresAutocompleteFix(backend, pasted);
|
|
47328
47328
|
this.processPaste(pasted, backend);
|
|
@@ -2038,8 +2038,6 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2038
2038
|
const styles = /*@__PURE__*/ new Map();
|
|
2039
2039
|
const win = typeof window !== 'undefined' ? window : {};
|
|
2040
2040
|
const doc = win.document || { head: {} };
|
|
2041
|
-
const H = (win.HTMLElement || class {
|
|
2042
|
-
});
|
|
2043
2041
|
const plt = {
|
|
2044
2042
|
$flags$: 0,
|
|
2045
2043
|
$resourcesUrl$: '',
|
|
@@ -2102,4 +2100,4 @@ const flush = () => {
|
|
|
2102
2100
|
const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
|
|
2103
2101
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
2104
2102
|
|
|
2105
|
-
export { Host as H, getElement as a, bootstrapLazy as b, createEvent as c,
|
|
2103
|
+
export { Host as H, getElement as a, bootstrapLazy as b, createEvent as c, forceUpdate as f, getRenderingRef as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
package/dist/esm/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { A as App, C as Cosmetic, N as Notice, r as redirect } from './index-
|
|
1
|
+
export { A as App, C as Cosmetic, N as Notice, r as redirect } from './index-990cc22d.js';
|
|
2
2
|
import { I as Identifier } from './Listenable-79ce5567.js';
|
|
3
3
|
export { a as Icon, L as Listenable, M as Message, T as Trigger } from './Listenable-79ce5567.js';
|
|
4
4
|
export { G as GoogleFont } from './GoogleFont-8474516b.js';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-7b57a52c.js';
|
|
6
6
|
|
|
7
7
|
class ClientIdentifier {
|
|
8
8
|
constructor() { }
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-7b57a52c.js';
|
|
2
|
+
export { s as setNonce } from './index-7b57a52c.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
5
|
Stencil Client Patch Esm v2.22.3 | MIT Licensed | https://stenciljs.com
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, a as getElement, c as createEvent, H as Host } from './index-
|
|
2
|
-
import { r as redirect, A as App, N as Notice } from './index-
|
|
1
|
+
import { r as registerInstance, h, a as getElement, c as createEvent, H as Host } from './index-7b57a52c.js';
|
|
2
|
+
import { r as redirect, A as App, N as Notice } from './index-990cc22d.js';
|
|
3
3
|
import { T as Trigger, M as Message, a as Icon } from './Listenable-79ce5567.js';
|
|
4
4
|
import './GoogleFont-8474516b.js';
|
|
5
5
|
import { D as Date$1, L as Language, g as getLanguage, a as DateTime, b as Locale, c as Language$1, C as Currency, d as DateRange } from './getLanguage-bff35c81.js';
|
|
@@ -21531,7 +21531,7 @@ const SmoothlyInput = class {
|
|
|
21531
21531
|
}
|
|
21532
21532
|
onPaste(event) {
|
|
21533
21533
|
event.preventDefault();
|
|
21534
|
-
let pasted = event.clipboardData ? event.clipboardData.getData("text") : "";
|
|
21534
|
+
let pasted = event.clipboardData ? event.clipboardData.getData("text").trim() : "";
|
|
21535
21535
|
const backend = event.target;
|
|
21536
21536
|
pasted = this.expiresAutocompleteFix(backend, pasted);
|
|
21537
21537
|
this.processPaste(pasted, backend);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-7b57a52c.js';
|
|
2
2
|
import { A as Alpha2, g as getLanguage } from './getLanguage-bff35c81.js';
|
|
3
3
|
|
|
4
4
|
function from$K(country) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-7b57a52c.js';
|
|
2
2
|
|
|
3
3
|
const styleCss = "smoothly-radio-group{display:flex;position:relative;color:none !important;background:none !important;margin:0.5em 0}smoothly-radio-group[hidden]{display:none}smoothly-radio-group[orientation=vertical] *:not(:first-of-type)>input[type=radio]~label{border-top:none}smoothly-radio-group:not([orientation=vertical]) *:not(:first-of-type)>input[type=radio]~label{border-left:none}smoothly-radio-group[orientation=vertical]{flex-direction:column}smoothly-radio-group[orientation=vertical] :first-of-type>input[type=radio]~label{border-radius:4px 4px 0 0}smoothly-radio-group[orientation=vertical] :last-of-type>input[type=radio]~label{border-radius:0 0 4px 4px}smoothly-radio-group:not([orientation=vertical]){flex-direction:row}smoothly-radio-group:not([orientation=vertical]) :first-of-type>input[type=radio]~label{border-radius:4px 0 0 4px}smoothly-radio-group:not([orientation=vertical]) :last-of-type>input[type=radio]~label{border-radius:0 4px 4px 0}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent,
|
|
1
|
+
import { r as registerInstance, c as createEvent, a as getElement } from './index-7b57a52c.js';
|
|
2
2
|
|
|
3
3
|
const styleCss = "smoothly-reorder>*{cursor:move;transition:transform 0.3s}smoothly-reorder>*.dragging{transition:none;box-shadow:0 0 10px rgba(var(--smoothly-dark-color));z-index:1;user-select:none}";
|
|
4
4
|
|
|
@@ -14,7 +14,7 @@ const SmoothlyReorder = class {
|
|
|
14
14
|
else {
|
|
15
15
|
for (let index = 0; index < this.element.children.length; index++) {
|
|
16
16
|
const element = this.element.children[index];
|
|
17
|
-
if (element instanceof
|
|
17
|
+
if (element instanceof HTMLElement) {
|
|
18
18
|
const bounds = element.getBoundingClientRect();
|
|
19
19
|
result.push({
|
|
20
20
|
top: bounds.top,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-7b57a52c.js';
|
|
2
2
|
import { M as Message, T as Trigger } from './Listenable-79ce5567.js';
|
|
3
3
|
import './GoogleFont-8474516b.js';
|
|
4
4
|
|
package/dist/esm/smoothly.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-7b57a52c.js';
|
|
2
|
+
export { s as setNonce } from './index-7b57a52c.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
5
|
Stencil Client Patch Browser v2.22.3 | MIT Licensed | https://stenciljs.com
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{A as App,C as Cosmetic,N as Notice,r as redirect}from"./p-
|
|
1
|
+
export{A as App,C as Cosmetic,N as Notice,r as redirect}from"./p-675a8d09.js";import{I as e}from"./p-8f1d86ff.js";export{a as Icon,L as Listenable,M as Message,T as Trigger}from"./p-8f1d86ff.js";export{G as GoogleFont}from"./p-bd478a53.js";import"./p-c88ae468.js";class o{constructor(){}static get value(){return o.valueCache=localStorage.getItem("clientIdentifier")||void 0,o.valueCache||(o.valueCache=e.generate(12),localStorage.setItem("clientIdentifier",o.valueCache)),o.valueCache}}export{o as ClientIdentifier}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as i}from"./p-
|
|
1
|
+
import{r as s,h as i}from"./p-c88ae468.js";import{T as t,M as r}from"./p-8f1d86ff.js";import"./p-bd478a53.js";const o=class{constructor(i){s(this,i),this.context=void 0,this.destination=void 0,this.filter=void 0}get filters(){return this.filtersValue||(this.filtersValue=this.filter?this.filter.split(" "):[]),this.filtersValue}TriggerListener(s){t.is(s.detail)&&this.filters.some((i=>i==s.detail.name))&&(r.send(this.destination,s.detail,this.context||window),s.preventDefault(),s.stopPropagation())}render(){return i("slot",null)}};o.style=".sc-smoothly-trigger-sink-h{display:block}[hidden].sc-smoothly-trigger-sink-h{display:none}";export{o as smoothly_trigger_sink}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as o}from"./p-
|
|
1
|
+
import{r as s,h as o}from"./p-c88ae468.js";import{G as t}from"./p-bd478a53.js";const r=class{constructor(o){s(this,o),this.value=void 0}render(){return t.is(this.value)?o("style",null,t.styleImportString(this.value)):""}};export{r as smoothly_google_font}
|