mnfst 0.5.195 → 0.5.196
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/lib/manifest.colorpicker.css +7 -2
- package/lib/manifest.colorpicker.js +8 -1
- package/lib/manifest.css +537 -189
- package/lib/manifest.d.ts +80 -1
- package/lib/manifest.datepicker.css +7 -2
- package/lib/manifest.datepicker.js +11 -2
- package/lib/manifest.dialog.css +12 -4
- package/lib/manifest.dropdown.css +7 -2
- package/lib/manifest.dropdowns.js +9 -1
- package/lib/manifest.edit.css +335 -0
- package/lib/manifest.edit.js +1373 -0
- package/lib/manifest.form.css +6 -4
- package/lib/manifest.integrity.json +6 -4
- package/lib/manifest.js +6 -1
- package/lib/manifest.min.css +1 -1
- package/lib/manifest.resize.css +81 -120
- package/lib/manifest.sidebar.css +7 -2
- package/lib/manifest.text.edit.css +204 -0
- package/lib/manifest.text.edit.js +2020 -0
- package/package.json +2 -1
package/lib/manifest.form.css
CHANGED
|
@@ -35,8 +35,10 @@
|
|
|
35
35
|
|
|
36
36
|
&>:where(button, [role=button], input:not([type=hidden]), select, textarea, .combobox, label:has(input:not([type=checkbox], [type=radio]), select, textarea), .label:has(input:not([type=checkbox], [type=radio]), select, textarea)):not([hidden]):not([popover]):not(.hidden):not([style*="display: none"]) {
|
|
37
37
|
|
|
38
|
-
/* First participant
|
|
39
|
-
|
|
38
|
+
/* First participant — only when something follows it. A lone
|
|
39
|
+
participant matched this AND the last rule, squaring all four
|
|
40
|
+
corners of what is really just a single field. */
|
|
41
|
+
&:not(:where(button, [role=button], input:not([type=hidden]), select, textarea, .combobox, label:has(input:not([type=checkbox], [type=radio]), select, textarea), .label:has(input:not([type=checkbox], [type=radio]), select, textarea)):not([hidden]):not([popover]):not(.hidden):not([style*="display: none"]) ~ &):has(~ :where(button, [role=button], input:not([type=hidden]), select, textarea, .combobox, label:has(input:not([type=checkbox], [type=radio]), select, textarea), .label:has(input:not([type=checkbox], [type=radio]), select, textarea)):not([hidden]):not([popover]):not(.hidden):not([style*="display: none"])) {
|
|
40
42
|
border-start-end-radius: 0;
|
|
41
43
|
border-end-end-radius: 0
|
|
42
44
|
}
|
|
@@ -46,8 +48,8 @@
|
|
|
46
48
|
border-radius: 0
|
|
47
49
|
}
|
|
48
50
|
|
|
49
|
-
/* Last participant */
|
|
50
|
-
&:not(:has(~ :where(button, [role=button], input:not([type=hidden]), select, textarea, .combobox, label:has(input:not([type=checkbox], [type=radio]), select, textarea), .label:has(input:not([type=checkbox], [type=radio]), select, textarea)):not([hidden]):not([popover]):not(.hidden):not([style*="display: none"]))) {
|
|
51
|
+
/* Last participant — only when something precedes it */
|
|
52
|
+
&:where(:where(button, [role=button], input:not([type=hidden]), select, textarea, .combobox, label:has(input:not([type=checkbox], [type=radio]), select, textarea), .label:has(input:not([type=checkbox], [type=radio]), select, textarea)):not([hidden]):not([popover]):not(.hidden):not([style*="display: none"]) ~ &):not(:has(~ :where(button, [role=button], input:not([type=hidden]), select, textarea, .combobox, label:has(input:not([type=checkbox], [type=radio]), select, textarea), .label:has(input:not([type=checkbox], [type=radio]), select, textarea)):not([hidden]):not([popover]):not(.hidden):not([style*="display: none"]))) {
|
|
51
53
|
border-start-start-radius: 0;
|
|
52
54
|
border-end-start-radius: 0
|
|
53
55
|
}
|
|
@@ -6,12 +6,13 @@
|
|
|
6
6
|
"manifest.chat.js": "sha384-utfSgqos5ECoW/LJqFrm8jQRZ0LblP6AS7tEGZinH1X/IkYXAHpKlH+G2tYPIFQg",
|
|
7
7
|
"manifest.code.js": "sha384-aoQ4E26vrhNe/+tL7K0h90c8/0ies7e8oIR6Ay92he2X3dnWZ+OPcn2Dna8fmc+c",
|
|
8
8
|
"manifest.color.js": "sha384-6Rv3LxyTcZNjrhtayQfqRdCx0uSZ4BiEbgEI98I62eTvp8Aw7LBIoNJ0Je1oktwL",
|
|
9
|
-
"manifest.colorpicker.js": "sha384-
|
|
9
|
+
"manifest.colorpicker.js": "sha384-1+ZV5Hhjf7WnGP7b71Cqa5h3BKW8UgGT5V14i8Q+aF5zH8Xxwowt/ibSUVsiIHSm",
|
|
10
10
|
"manifest.combobox.js": "sha384-rCSqpwzVLwr6alHPmAgW5sEVJylfK3XReyG475O1N9dkyMy/XA8hBCYILc+4qblU",
|
|
11
11
|
"manifest.components.js": "sha384-HEyeJtV20k7po8WH0LEj800MlsqgDH0vE5GTAl62SgdEhn1aJ7VfryQcA6yIi18U",
|
|
12
12
|
"manifest.data.js": "sha384-R9ksZFTOKVo+S7rs5yBos+05AXyGuP6qYuHX7aZg6bjQLDjVtqdmIqI7udg5sk+6",
|
|
13
|
-
"manifest.datepicker.js": "sha384-
|
|
14
|
-
"manifest.dropdowns.js": "sha384-
|
|
13
|
+
"manifest.datepicker.js": "sha384-O1slNn/v2SM4ZAMnoZCQ00z4Fa+cA2zQu+V3X/i2phGjjkagTQ3utE7AjEqOmIDu",
|
|
14
|
+
"manifest.dropdowns.js": "sha384-Nw1mBEtVQIcZRjCk1LSgIpQSIYZ6rUWckqaiQgKNeZJDX/pNyPxBqXmc01C3uKXX",
|
|
15
|
+
"manifest.edit.js": "sha384-ZvgV3ax7yHtSC23zdvRYJPzBsBpGFBLuBJMgfQ1IDumv97Cn2bpHOePxyQikfl5L",
|
|
15
16
|
"manifest.export.js": "sha384-HCy3n6ifrcAGIyzTRgZ5JIRvSX9q9/8ykMKRSbt1QTnhXz6PgYlV0AE2N2Yi2re+",
|
|
16
17
|
"manifest.icons.js": "sha384-kKOINpX70YzNO3FvkV6umrmO3f0KIu0DNbwB+ej55a7y/lhU7v/myQtXL0bwCTbt",
|
|
17
18
|
"manifest.localization.js": "sha384-p8MRlfpjQuMar7rerGRjfdRKqIPoU/QOwVmnwN+PjhrlEZNpetYLZhqO2i5BZn9s",
|
|
@@ -25,10 +26,11 @@
|
|
|
25
26
|
"manifest.svg.js": "sha384-qr/8H9+2cIhSXNbRWRtIdrDlTOxKlNJqwEefHvCYoiBNW/kKhPTFa109Orv/EBnb",
|
|
26
27
|
"manifest.tabs.js": "sha384-OIIcyaQnGS0eNYk4zgAFEDboNYect7THvUd9D0V6nqCeDOxQcoiqLrBEmmWVTTet",
|
|
27
28
|
"manifest.tailwind.js": "sha384-r/Jvqb+Piz21jUts10BbVAJoKkShOdJRVFpywyi4HPIi/OfOJq5CtPyWAPbdkMgt",
|
|
29
|
+
"manifest.text.edit.js": "sha384-1LsuOJyMCgab7W9w6DJEu5URzbadYxtq/cHtB8sN3hBFa/BHPnjdnTRbiKyM0FcC",
|
|
28
30
|
"manifest.toasts.js": "sha384-/OV32LLMJl0Iw8NoNQJ+5lgntLxjIJq/YNj5JAKS/+nUhVx4MMB9h1FOqP7zuj2M",
|
|
29
31
|
"manifest.tooltips.js": "sha384-uXVVQADl6pY2Pj9i/UaSclZN7dzbKhLkmevv7Ad0+wXR8LgqodALNFrc5jZJjlwm",
|
|
30
32
|
"manifest.url.parameters.js": "sha384-J2aSVBOPsoqsbafHndrWLHEDpKb4AKJAoQnVmKA4gZh5P/8HHjFWHO/lkusmG84l",
|
|
31
33
|
"manifest.utilities.js": "sha384-YcGKTEviTv9FLkw890CTociA7Rjp6xuhLyfpn3Gk4mT0fexDFqpW7VSuohcpGfsw",
|
|
32
34
|
"manifest.virtual.js": "sha384-OPHiW1zQxunoL+yJrCxFU3AzTfTlZQfUf6X3XSRrSyNDPlr3BvsYe6vZa0DlOjoY",
|
|
33
|
-
"manifest.js": "sha384-
|
|
35
|
+
"manifest.js": "sha384-bwGN8+MCvGTNqekj2L3O89FEprQ96E2xxT0HgfiLbY8R7WQTHAc0O0NXu+ARay6N"
|
|
34
36
|
}
|
package/lib/manifest.js
CHANGED
|
@@ -226,6 +226,7 @@
|
|
|
226
226
|
'dropdowns',
|
|
227
227
|
'combobox',
|
|
228
228
|
'tabs',
|
|
229
|
+
'text-edit',
|
|
229
230
|
'slides',
|
|
230
231
|
'resize',
|
|
231
232
|
'colorpicker',
|
|
@@ -237,6 +238,10 @@
|
|
|
237
238
|
'status'
|
|
238
239
|
];
|
|
239
240
|
|
|
241
|
+
// Authoring plugin — opt-in only. Visitors should never pay for editor chrome;
|
|
242
|
+
// load it with data-plugins or Manifest.loadPlugin('edit') behind your own gate.
|
|
243
|
+
const AUTHORING_PLUGINS = ['edit'];
|
|
244
|
+
|
|
240
245
|
// Appwrite integration plugins (opt-in only, never auto-loaded)
|
|
241
246
|
const APPWRITE_PLUGINS = [
|
|
242
247
|
'appwrite-auth',
|
|
@@ -605,7 +610,7 @@
|
|
|
605
610
|
// Expose API
|
|
606
611
|
window.Manifest = {
|
|
607
612
|
loadPlugin: function (pluginName, version = DEFAULT_VERSION) {
|
|
608
|
-
const allPlugins = [...AVAILABLE_PLUGINS, ...APPWRITE_PLUGINS, 'payments', 'chat', 'native'];
|
|
613
|
+
const allPlugins = [...AVAILABLE_PLUGINS, ...APPWRITE_PLUGINS, ...AUTHORING_PLUGINS, 'payments', 'chat', 'native'];
|
|
609
614
|
if (!allPlugins.includes(pluginName)) {
|
|
610
615
|
console.warn(`[Manifest Loader] Unknown plugin: ${pluginName}`);
|
|
611
616
|
return Promise.reject(new Error(`Unknown plugin: ${pluginName}`));
|