smoothly 0.3.56 → 0.3.57
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/{Listenable-0b92b362.js → Listenable-fcea5136.js} +41 -21
- package/dist/cjs/getLanguage-7991c46a.js +6041 -0
- package/dist/cjs/{index-8352a4e0.js → index-48630c3c.js} +3 -0
- package/dist/cjs/{index-679a68de.js → index-5c256daf.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/smoothly-accordion_53.cjs.entry.js +311 -19080
- package/dist/cjs/smoothly-country.cjs.entry.js +9 -9
- 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 +2 -2
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +2 -2
- package/dist/cjs/smoothly.cjs.js +1 -1
- package/dist/custom-elements/index.js +919 -25750
- package/dist/esm/{Listenable-79ce5567.js → Listenable-10f48463.js} +41 -21
- package/dist/esm/getLanguage-225b37b0.js +6039 -0
- package/dist/esm/{index-990cc22d.js → index-62de77e7.js} +1 -1
- package/dist/esm/{index-7b57a52c.js → index-e9e4cadb.js} +3 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/loader.js +2 -2
- package/dist/esm/smoothly-accordion_53.entry.js +311 -19080
- package/dist/esm/smoothly-country.entry.js +9 -9
- 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 +2 -2
- package/dist/esm/smoothly-trigger-source.entry.js +2 -2
- package/dist/esm/smoothly.js +2 -2
- package/dist/smoothly/index.esm.js +1 -1
- package/dist/smoothly/p-44420b1e.entry.js +1 -0
- package/dist/smoothly/p-4f3b0e6d.entry.js +1 -0
- package/dist/smoothly/{p-675a8d09.js → p-73bcae40.js} +1 -1
- package/dist/smoothly/p-a14dfd75.js +1 -0
- package/dist/smoothly/{p-0ed63b7b.entry.js → p-b3d699d2.entry.js} +1 -1
- package/dist/smoothly/p-bb57ff51.js +1 -0
- package/dist/smoothly/p-cab954af.entry.js +1 -0
- package/dist/smoothly/{p-29f0b550.entry.js → p-d7f00399.entry.js} +1 -1
- package/dist/smoothly/{p-0c7edd4c.entry.js → p-df8af5a2.entry.js} +1 -1
- package/dist/smoothly/{p-c88ae468.js → p-e5d867e5.js} +2 -2
- package/dist/smoothly/{p-5fb08944.entry.js → p-fe4520be.entry.js} +1 -1
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/package.json +97 -97
- package/dist/cjs/getLanguage-892e255f.js +0 -12123
- package/dist/esm/getLanguage-bff35c81.js +0 -12121
- package/dist/smoothly/p-607abd83.entry.js +0 -1
- package/dist/smoothly/p-8878611c.js +0 -1
- package/dist/smoothly/p-8f1d86ff.js +0 -1
- package/dist/smoothly/p-ad6e177e.entry.js +0 -1
- package/dist/smoothly/p-fb0577c9.entry.js +0 -1
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const getLanguage = require('./getLanguage-
|
|
5
|
+
const index = require('./index-48630c3c.js');
|
|
6
|
+
const getLanguage = require('./getLanguage-7991c46a.js');
|
|
7
7
|
|
|
8
8
|
function from$K(country) {
|
|
9
9
|
return names$J[country] || from$K(getLanguage.Alpha2.from(country));
|
|
@@ -2594,7 +2594,7 @@ const names$z = {
|
|
|
2594
2594
|
BJ: "Benin",
|
|
2595
2595
|
BM: "Bermuda",
|
|
2596
2596
|
BT: "Bhutan",
|
|
2597
|
-
BO: "Bolivia",
|
|
2597
|
+
BO: "Bolivia Plurinational State of",
|
|
2598
2598
|
BA: "Bosnia and Herzegovina",
|
|
2599
2599
|
BW: "Botswana",
|
|
2600
2600
|
BV: "Bouvet Island",
|
|
@@ -2607,7 +2607,7 @@ const names$z = {
|
|
|
2607
2607
|
KH: "Cambodia",
|
|
2608
2608
|
CM: "Cameroon",
|
|
2609
2609
|
CA: "Canada",
|
|
2610
|
-
CV: "
|
|
2610
|
+
CV: "Cabo Verde",
|
|
2611
2611
|
KY: "Cayman Islands",
|
|
2612
2612
|
CF: "Central African Republic",
|
|
2613
2613
|
TD: "Chad",
|
|
@@ -2625,7 +2625,7 @@ const names$z = {
|
|
|
2625
2625
|
HR: "Croatia",
|
|
2626
2626
|
CU: "Cuba",
|
|
2627
2627
|
CY: "Cyprus",
|
|
2628
|
-
CZ: "
|
|
2628
|
+
CZ: "Czechia",
|
|
2629
2629
|
DK: "Denmark",
|
|
2630
2630
|
DJ: "Djibouti",
|
|
2631
2631
|
DM: "Dominica",
|
|
@@ -2694,7 +2694,7 @@ const names$z = {
|
|
|
2694
2694
|
LT: "Lithuania",
|
|
2695
2695
|
LU: "Luxembourg",
|
|
2696
2696
|
MO: "Macao",
|
|
2697
|
-
MK: "Macedonia
|
|
2697
|
+
MK: "North Macedonia",
|
|
2698
2698
|
MG: "Madagascar",
|
|
2699
2699
|
MW: "Malawi",
|
|
2700
2700
|
MY: "Malaysia",
|
|
@@ -2731,7 +2731,7 @@ const names$z = {
|
|
|
2731
2731
|
OM: "Oman",
|
|
2732
2732
|
PK: "Pakistan",
|
|
2733
2733
|
PW: "Palau",
|
|
2734
|
-
PS: "
|
|
2734
|
+
PS: "Palestine, State of",
|
|
2735
2735
|
PA: "Panama",
|
|
2736
2736
|
PG: "Papua New Guinea",
|
|
2737
2737
|
PY: "Paraguay",
|
|
@@ -2746,7 +2746,7 @@ const names$z = {
|
|
|
2746
2746
|
RO: "Romania",
|
|
2747
2747
|
RU: "Russian Federation",
|
|
2748
2748
|
RW: "Rwanda",
|
|
2749
|
-
SH: "Saint Helena",
|
|
2749
|
+
SH: "Saint Helena Ascension Island Tristan da Cunha",
|
|
2750
2750
|
KN: "Saint Kitts and Nevis",
|
|
2751
2751
|
LC: "Saint Lucia",
|
|
2752
2752
|
PM: "Saint Pierre and Miquelon",
|
|
@@ -2770,7 +2770,7 @@ const names$z = {
|
|
|
2770
2770
|
SD: "Sudan",
|
|
2771
2771
|
SR: "Suriname",
|
|
2772
2772
|
SJ: "Svalbard and Jan Mayen",
|
|
2773
|
-
SZ: "
|
|
2773
|
+
SZ: "Eswatini",
|
|
2774
2774
|
SE: "Sweden",
|
|
2775
2775
|
CH: "Switzerland",
|
|
2776
2776
|
SY: "Syrian Arab Republic",
|
|
@@ -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-48630c3c.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-48630c3c.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 = 0; index < this.element.children.length; index++) {
|
|
20
|
-
const element = this.element.children[index];
|
|
21
|
-
if (element instanceof
|
|
19
|
+
for (let index$1 = 0; index$1 < this.element.children.length; index$1++) {
|
|
20
|
+
const element = this.element.children[index$1];
|
|
21
|
+
if (element instanceof index.H) {
|
|
22
22
|
const bounds = element.getBoundingClientRect();
|
|
23
23
|
result.push({
|
|
24
24
|
top: bounds.top,
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const Listenable = require('./Listenable-
|
|
5
|
+
const index = require('./index-48630c3c.js');
|
|
6
|
+
const Listenable = require('./Listenable-fcea5136.js');
|
|
7
7
|
require('./GoogleFont-6c4f0da1.js');
|
|
8
8
|
|
|
9
9
|
const styleCss = ".sc-smoothly-trigger-sink-h{display:block}[hidden].sc-smoothly-trigger-sink-h{display:none}";
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const Listenable = require('./Listenable-
|
|
5
|
+
const index = require('./index-48630c3c.js');
|
|
6
|
+
const Listenable = require('./Listenable-fcea5136.js');
|
|
7
7
|
require('./GoogleFont-6c4f0da1.js');
|
|
8
8
|
|
|
9
9
|
const styleCss = ".sc-smoothly-trigger-source-h{display:block}[hidden].sc-smoothly-trigger-source-h{display:none}";
|
package/dist/cjs/smoothly.cjs.js
CHANGED