@salla.sa/twilight-components 2.11.17 → 2.11.19
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/{app-globals-f49969d2.js → app-globals-f18513f9.js} +39 -2232
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/salla-button_37.cjs.entry.js +14 -16
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/collection/components/salla-comment-form/salla-comment-form.js +16 -26
- package/dist/collection/components/salla-file-upload/salla-file-upload.js +3 -0
- package/dist/collection/components/salla-slider/salla-slider.js +4 -2
- package/dist/components/index.js +39 -2232
- package/dist/components/salla-comment-form.js +9 -16
- package/dist/components/salla-file-upload2.js +3 -0
- package/dist/components/salla-slider2.js +4 -2
- package/dist/esm/{app-globals-fc703675.js → app-globals-9127a6ae.js} +39 -2232
- package/dist/esm/loader.js +2 -2
- package/dist/esm/salla-button_37.entry.js +14 -16
- package/dist/esm/twilight.js +2 -2
- package/dist/esm-es5/app-globals-9127a6ae.js +24 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/salla-button_37.entry.js +4 -4
- package/dist/esm-es5/twilight.js +1 -1
- package/dist/twilight/p-1f8a386e.system.entry.js +53 -0
- package/dist/twilight/p-5fc3f873.system.js +4 -0
- package/dist/twilight/p-a6b1a735.js +24 -0
- package/dist/twilight/p-d67689ce.entry.js +36 -0
- package/dist/twilight/p-dddd2139.system.js +24 -0
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/twilight/twilight.js +1 -1
- package/dist/types/components/salla-comment-form/salla-comment-form.d.ts +5 -5
- package/dist/types/components/salla-slider/salla-slider.d.ts +1 -0
- package/dist/types/components.d.ts +5 -5
- package/package.json +4 -4
- package/dist/esm-es5/app-globals-fc703675.js +0 -30
- package/dist/twilight/p-81cd0627.entry.js +0 -36
- package/dist/twilight/p-83516eab.js +0 -24
- package/dist/twilight/p-a2bd5187.system.js +0 -30
- package/dist/twilight/p-c71ec183.system.js +0 -4
- package/dist/twilight/p-cef45bd3.system.entry.js +0 -53
|
@@ -165,15 +165,15 @@ export namespace Components {
|
|
|
165
165
|
}
|
|
166
166
|
interface SallaCommentForm {
|
|
167
167
|
/**
|
|
168
|
-
* The ID of the item(as defined in the type), where the comment is for.
|
|
168
|
+
* The ID of the item(as defined in the type), where the comment is for. defaults to `salla.config.get('page.id')`
|
|
169
169
|
*/
|
|
170
|
-
"itemId"
|
|
170
|
+
"itemId"?: string | number;
|
|
171
171
|
/**
|
|
172
172
|
* To show the avatar or not in the comment form
|
|
173
173
|
*/
|
|
174
174
|
"showAvatar": boolean;
|
|
175
175
|
/**
|
|
176
|
-
* Type of entity the
|
|
176
|
+
* Type of entity the comment is being submitted for. Defaults to `salla.url.is_page('page-single') ? 'page' : 'product'`
|
|
177
177
|
*/
|
|
178
178
|
"type": 'product' | 'page';
|
|
179
179
|
}
|
|
@@ -1905,7 +1905,7 @@ declare namespace LocalJSX {
|
|
|
1905
1905
|
}
|
|
1906
1906
|
interface SallaCommentForm {
|
|
1907
1907
|
/**
|
|
1908
|
-
* The ID of the item(as defined in the type), where the comment is for.
|
|
1908
|
+
* The ID of the item(as defined in the type), where the comment is for. defaults to `salla.config.get('page.id')`
|
|
1909
1909
|
*/
|
|
1910
1910
|
"itemId"?: string | number;
|
|
1911
1911
|
/**
|
|
@@ -1913,7 +1913,7 @@ declare namespace LocalJSX {
|
|
|
1913
1913
|
*/
|
|
1914
1914
|
"showAvatar"?: boolean;
|
|
1915
1915
|
/**
|
|
1916
|
-
* Type of entity the
|
|
1916
|
+
* Type of entity the comment is being submitted for. Defaults to `salla.url.is_page('page-single') ? 'page' : 'product'`
|
|
1917
1917
|
*/
|
|
1918
1918
|
"type"?: 'product' | 'page';
|
|
1919
1919
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salla.sa/twilight-components",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.19",
|
|
4
4
|
"license": "GPL-3.0",
|
|
5
5
|
"author": "Salla Team <support@salla.dev> (https://salla.dev)",
|
|
6
6
|
"bugs": {
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"typescript": "^4.4.3"
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@salla.sa/twilight": "^2.11.
|
|
80
|
-
"@salla.sa/twilight-tailwind-theme": "^2.11.
|
|
79
|
+
"@salla.sa/twilight": "^2.11.19",
|
|
80
|
+
"@salla.sa/twilight-tailwind-theme": "^2.11.19",
|
|
81
81
|
"animejs": "^3.2.1",
|
|
82
82
|
"filepond": "^4.30.4",
|
|
83
83
|
"filepond-plugin-file-poster": "^2.5.1",
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
"vanilla-lazyload": "^17.8.3",
|
|
94
94
|
"vanilla-picker": "^2.12.1"
|
|
95
95
|
},
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "158ad641fbf486584d9eb10556a7ca66a4db3d34"
|
|
97
97
|
}
|