@kubex/zinc 1.0.104 → 1.0.106
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/custom-elements.json +604 -115
- package/dist/vscode.html-custom-data.json +33 -13
- package/dist/web-types.json +73 -26
- package/dist/zn.d.ts +24 -3
- package/dist/zn.min.js +347 -294
- package/docs/pages/components/translation-group.md +25 -0
- package/docs/pages/components/translations.md +17 -1
- package/package.json +1 -1
- package/src/components/inline-edit/inline-edit.component.ts +2 -1
- package/src/components/inline-edit/inline-edit.scss +9 -11
- package/src/components/markdown-editor/markdown-editor.component.ts +107 -64
- package/src/components/markdown-editor/markdown-editor.scss +23 -24
- package/src/components/textarea/textarea.component.ts +1 -1
- package/src/components/translation-group/translation-group.component.ts +113 -2
- package/src/components/translations/translations.component.ts +120 -3
|
@@ -13,6 +13,17 @@
|
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
|
+
{
|
|
17
|
+
"name": "zn-action-bar",
|
|
18
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
19
|
+
"attributes": [],
|
|
20
|
+
"references": [
|
|
21
|
+
{
|
|
22
|
+
"name": "Documentation",
|
|
23
|
+
"url": "https://zinc.style/components/action-bar"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
},
|
|
16
27
|
{
|
|
17
28
|
"name": "zn-alert",
|
|
18
29
|
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
@@ -48,17 +59,6 @@
|
|
|
48
59
|
}
|
|
49
60
|
]
|
|
50
61
|
},
|
|
51
|
-
{
|
|
52
|
-
"name": "zn-action-bar",
|
|
53
|
-
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
54
|
-
"attributes": [],
|
|
55
|
-
"references": [
|
|
56
|
-
{
|
|
57
|
-
"name": "Documentation",
|
|
58
|
-
"url": "https://zinc.style/components/action-bar"
|
|
59
|
-
}
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
62
|
{
|
|
63
63
|
"name": "zn-animated-button",
|
|
64
64
|
"description": "\n---\n\n\n### **Methods:**\n - **purchase(): _void_** - Programmatically trigger the purchase flow\n- **setSuccess(): _void_** - Set the button to success state manually\n- **setFailure(message): _void_** - Set the button to failure state manually with optional error message\n- **reset(): _void_** - Reset the button to idle state",
|
|
@@ -1557,6 +1557,7 @@
|
|
|
1557
1557
|
{ "name": "textarea" }
|
|
1558
1558
|
]
|
|
1559
1559
|
},
|
|
1560
|
+
{ "name": "textarea-rows", "values": [{ "name": "1" }] },
|
|
1560
1561
|
{
|
|
1561
1562
|
"name": "options",
|
|
1562
1563
|
"values": [{ "name": "{ [key: string]: string }" }]
|
|
@@ -1956,7 +1957,7 @@
|
|
|
1956
1957
|
},
|
|
1957
1958
|
{
|
|
1958
1959
|
"name": "zn-markdown-editor",
|
|
1959
|
-
"description": "A markdown editor with live preview, split view, and a fullscreen mode.\n---\n\n\n### **Events:**\n - **zn-view-mode-change** - Emitted when the user switches between editor / split / preview.\n- **zn-change** - Emitted when the markdown content changes.\n- **zn-input** - Emitted on each keystroke in the editor.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the editor.\n- **blur()** - Removes focus from the editor.\n\n### **Slots:**\n - **label** - The editor label. Alternatively, use the `label` attribute.\n- **help-text** - Help text shown below the editor. Alternatively, use the `help-text` attribute.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **toolbar** - The toolbar containing the view-mode and fullscreen controls.\n- **editor** - The textarea wrapper.\n- **preview** - The rendered markdown preview.",
|
|
1960
|
+
"description": "A markdown editor with live preview, split view, and a fullscreen mode.\n---\n\n\n### **Events:**\n - **zn-view-mode-change** - Emitted when the user switches between editor / split / preview.\n- **zn-change** - Emitted when the markdown content changes.\n- **zn-input** - Emitted on each keystroke in the editor.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the editor.\n- **blur()** - Removes focus from the editor.\n\n### **Slots:**\n - **label** - The editor label. Alternatively, use the `label` attribute.\n- **help-text** - Help text shown below the editor. Alternatively, use the `help-text` attribute.\n- _default_ - The panel's main content.\n- **actions** - Actions displayed in the panel header (buttons, chips, etc).\n- **footer** - Content displayed in the panel footer.\n\n### **CSS Properties:**\n - **--zn-panel-basis** - The flex-basis of the panel. Can be set using the basis-px attribute. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **toolbar** - The toolbar containing the view-mode and fullscreen controls.\n- **editor** - The textarea wrapper.\n- **preview** - The rendered markdown preview.",
|
|
1960
1961
|
"attributes": [
|
|
1961
1962
|
{
|
|
1962
1963
|
"name": "name",
|
|
@@ -2012,7 +2013,25 @@
|
|
|
2012
2013
|
"name": "disabled",
|
|
2013
2014
|
"description": "Disables the editor.",
|
|
2014
2015
|
"values": []
|
|
2015
|
-
}
|
|
2016
|
+
},
|
|
2017
|
+
{
|
|
2018
|
+
"name": "expanded",
|
|
2019
|
+
"description": "Whether the editor is currently expanded to cover its containing positioned ancestor.",
|
|
2020
|
+
"values": []
|
|
2021
|
+
},
|
|
2022
|
+
{ "name": "basis-px", "values": [] },
|
|
2023
|
+
{ "name": "caption", "values": [] },
|
|
2024
|
+
{ "name": "icon", "values": [] },
|
|
2025
|
+
{ "name": "description", "values": [] },
|
|
2026
|
+
{ "name": "tabbed", "values": [] },
|
|
2027
|
+
{ "name": "header-underline", "values": [] },
|
|
2028
|
+
{ "name": "cosmic", "values": [] },
|
|
2029
|
+
{ "name": "flush", "values": [] },
|
|
2030
|
+
{ "name": "flush-x", "values": [] },
|
|
2031
|
+
{ "name": "flush-y", "values": [] },
|
|
2032
|
+
{ "name": "flush-footer", "values": [] },
|
|
2033
|
+
{ "name": "transparent", "values": [] },
|
|
2034
|
+
{ "name": "shadow", "values": [] }
|
|
2016
2035
|
],
|
|
2017
2036
|
"references": [
|
|
2018
2037
|
{
|
|
@@ -3621,6 +3640,7 @@
|
|
|
3621
3640
|
{ "name": "textarea" }
|
|
3622
3641
|
]
|
|
3623
3642
|
},
|
|
3643
|
+
{ "name": "textarea-rows", "values": [] },
|
|
3624
3644
|
{
|
|
3625
3645
|
"name": "grouped",
|
|
3626
3646
|
"description": "When true, hides the individual language navbar and defers language control to a parent zn-translation-group.",
|
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@kubex/zinc",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.106",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -15,6 +15,28 @@
|
|
|
15
15
|
"events": [],
|
|
16
16
|
"js": { "properties": [], "events": [] }
|
|
17
17
|
},
|
|
18
|
+
{
|
|
19
|
+
"name": "zn-action-bar",
|
|
20
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
21
|
+
"doc-url": "",
|
|
22
|
+
"attributes": [],
|
|
23
|
+
"slots": [
|
|
24
|
+
{ "name": "", "description": "The default slot." },
|
|
25
|
+
{ "name": "example", "description": "An example slot." }
|
|
26
|
+
],
|
|
27
|
+
"events": [
|
|
28
|
+
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
29
|
+
],
|
|
30
|
+
"js": {
|
|
31
|
+
"properties": [],
|
|
32
|
+
"events": [
|
|
33
|
+
{
|
|
34
|
+
"name": "zn-event-name",
|
|
35
|
+
"description": "Emitted as an example."
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
18
40
|
{
|
|
19
41
|
"name": "zn-alert",
|
|
20
42
|
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
@@ -70,28 +92,6 @@
|
|
|
70
92
|
]
|
|
71
93
|
}
|
|
72
94
|
},
|
|
73
|
-
{
|
|
74
|
-
"name": "zn-action-bar",
|
|
75
|
-
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
76
|
-
"doc-url": "",
|
|
77
|
-
"attributes": [],
|
|
78
|
-
"slots": [
|
|
79
|
-
{ "name": "", "description": "The default slot." },
|
|
80
|
-
{ "name": "example", "description": "An example slot." }
|
|
81
|
-
],
|
|
82
|
-
"events": [
|
|
83
|
-
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
84
|
-
],
|
|
85
|
-
"js": {
|
|
86
|
-
"properties": [],
|
|
87
|
-
"events": [
|
|
88
|
-
{
|
|
89
|
-
"name": "zn-event-name",
|
|
90
|
-
"description": "Emitted as an example."
|
|
91
|
-
}
|
|
92
|
-
]
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
95
|
{
|
|
96
96
|
"name": "zn-animated-button",
|
|
97
97
|
"description": "\n---\n\n\n### **Methods:**\n - **purchase(): _void_** - Programmatically trigger the purchase flow\n- **setSuccess(): _void_** - Set the button to success state manually\n- **setFailure(message): _void_** - Set the button to failure state manually with optional error message\n- **reset(): _void_** - Reset the button to idle state",
|
|
@@ -3593,6 +3593,7 @@
|
|
|
3593
3593
|
"default": "'text'"
|
|
3594
3594
|
}
|
|
3595
3595
|
},
|
|
3596
|
+
{ "name": "textarea-rows", "value": { "type": "1" } },
|
|
3596
3597
|
{
|
|
3597
3598
|
"name": "options",
|
|
3598
3599
|
"value": { "type": "{ [key: string]: string }", "default": "{}" }
|
|
@@ -3671,6 +3672,7 @@
|
|
|
3671
3672
|
"name": "inputType",
|
|
3672
3673
|
"type": "'select' | 'text' | 'data-select' | 'number' | 'textarea'"
|
|
3673
3674
|
},
|
|
3675
|
+
{ "name": "textareaRows", "type": "1" },
|
|
3674
3676
|
{ "name": "options", "type": "{ [key: string]: string }" },
|
|
3675
3677
|
{ "name": "selectProvider", "type": "string" },
|
|
3676
3678
|
{ "name": "iconPosition", "type": "'start' | 'end' | 'none'" },
|
|
@@ -4481,7 +4483,7 @@
|
|
|
4481
4483
|
},
|
|
4482
4484
|
{
|
|
4483
4485
|
"name": "zn-markdown-editor",
|
|
4484
|
-
"description": "A markdown editor with live preview, split view, and a fullscreen mode.\n---\n\n\n### **Events:**\n - **zn-view-mode-change** - Emitted when the user switches between editor / split / preview.\n- **zn-change** - Emitted when the markdown content changes.\n- **zn-input** - Emitted on each keystroke in the editor.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the editor.\n- **blur()** - Removes focus from the editor.\n\n### **Slots:**\n - **label** - The editor label. Alternatively, use the `label` attribute.\n- **help-text** - Help text shown below the editor. Alternatively, use the `help-text` attribute.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **toolbar** - The toolbar containing the view-mode and fullscreen controls.\n- **editor** - The textarea wrapper.\n- **preview** - The rendered markdown preview.",
|
|
4486
|
+
"description": "A markdown editor with live preview, split view, and a fullscreen mode.\n---\n\n\n### **Events:**\n - **zn-view-mode-change** - Emitted when the user switches between editor / split / preview.\n- **zn-change** - Emitted when the markdown content changes.\n- **zn-input** - Emitted on each keystroke in the editor.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the editor.\n- **blur()** - Removes focus from the editor.\n\n### **Slots:**\n - **label** - The editor label. Alternatively, use the `label` attribute.\n- **help-text** - Help text shown below the editor. Alternatively, use the `help-text` attribute.\n- _default_ - The panel's main content.\n- **actions** - Actions displayed in the panel header (buttons, chips, etc).\n- **footer** - Content displayed in the panel footer.\n\n### **CSS Properties:**\n - **--zn-panel-basis** - The flex-basis of the panel. Can be set using the basis-px attribute. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **toolbar** - The toolbar containing the view-mode and fullscreen controls.\n- **editor** - The textarea wrapper.\n- **preview** - The rendered markdown preview.",
|
|
4485
4487
|
"doc-url": "",
|
|
4486
4488
|
"attributes": [
|
|
4487
4489
|
{
|
|
@@ -4544,7 +4546,25 @@
|
|
|
4544
4546
|
"name": "disabled",
|
|
4545
4547
|
"description": "Disables the editor.",
|
|
4546
4548
|
"value": { "type": "boolean", "default": "false" }
|
|
4547
|
-
}
|
|
4549
|
+
},
|
|
4550
|
+
{
|
|
4551
|
+
"name": "expanded",
|
|
4552
|
+
"description": "Whether the editor is currently expanded to cover its containing positioned ancestor.",
|
|
4553
|
+
"value": { "type": "boolean", "default": "false" }
|
|
4554
|
+
},
|
|
4555
|
+
{ "name": "basis-px", "value": { "type": "number" } },
|
|
4556
|
+
{ "name": "caption", "value": { "type": "string" } },
|
|
4557
|
+
{ "name": "icon", "value": { "type": "string" } },
|
|
4558
|
+
{ "name": "description", "value": { "type": "string" } },
|
|
4559
|
+
{ "name": "tabbed", "value": { "type": "boolean" } },
|
|
4560
|
+
{ "name": "header-underline", "value": { "type": "boolean" } },
|
|
4561
|
+
{ "name": "cosmic", "value": { "type": "boolean" } },
|
|
4562
|
+
{ "name": "flush", "value": { "type": "boolean" } },
|
|
4563
|
+
{ "name": "flush-x", "value": { "type": "boolean" } },
|
|
4564
|
+
{ "name": "flush-y", "value": { "type": "boolean" } },
|
|
4565
|
+
{ "name": "flush-footer", "value": { "type": "boolean" } },
|
|
4566
|
+
{ "name": "transparent", "value": { "type": "boolean" } },
|
|
4567
|
+
{ "name": "shadow", "value": { "type": "boolean" } }
|
|
4548
4568
|
],
|
|
4549
4569
|
"slots": [
|
|
4550
4570
|
{
|
|
@@ -4554,6 +4574,15 @@
|
|
|
4554
4574
|
{
|
|
4555
4575
|
"name": "help-text",
|
|
4556
4576
|
"description": "Help text shown below the editor. Alternatively, use the `help-text` attribute."
|
|
4577
|
+
},
|
|
4578
|
+
{ "name": "", "description": "The panel's main content." },
|
|
4579
|
+
{
|
|
4580
|
+
"name": "actions",
|
|
4581
|
+
"description": "Actions displayed in the panel header (buttons, chips, etc)."
|
|
4582
|
+
},
|
|
4583
|
+
{
|
|
4584
|
+
"name": "footer",
|
|
4585
|
+
"description": "Content displayed in the panel footer."
|
|
4557
4586
|
}
|
|
4558
4587
|
],
|
|
4559
4588
|
"events": [
|
|
@@ -4641,7 +4670,20 @@
|
|
|
4641
4670
|
"type": "boolean"
|
|
4642
4671
|
},
|
|
4643
4672
|
{ "name": "validity", "type": "ValidityState" },
|
|
4644
|
-
{ "name": "validationMessage", "type": "string" }
|
|
4673
|
+
{ "name": "validationMessage", "type": "string" },
|
|
4674
|
+
{ "name": "basis", "type": "number" },
|
|
4675
|
+
{ "name": "caption", "type": "string" },
|
|
4676
|
+
{ "name": "icon", "type": "string" },
|
|
4677
|
+
{ "name": "description", "type": "string" },
|
|
4678
|
+
{ "name": "tabbed", "type": "boolean" },
|
|
4679
|
+
{ "name": "underlineHeader", "type": "boolean" },
|
|
4680
|
+
{ "name": "cosmic", "type": "boolean" },
|
|
4681
|
+
{ "name": "flush", "type": "boolean" },
|
|
4682
|
+
{ "name": "flushX", "type": "boolean" },
|
|
4683
|
+
{ "name": "flushY", "type": "boolean" },
|
|
4684
|
+
{ "name": "flushFooter", "type": "boolean" },
|
|
4685
|
+
{ "name": "transparent", "type": "boolean" },
|
|
4686
|
+
{ "name": "shadow", "type": "boolean" }
|
|
4645
4687
|
],
|
|
4646
4688
|
"events": [
|
|
4647
4689
|
{
|
|
@@ -8426,6 +8468,10 @@
|
|
|
8426
8468
|
"default": "'text'"
|
|
8427
8469
|
}
|
|
8428
8470
|
},
|
|
8471
|
+
{
|
|
8472
|
+
"name": "textarea-rows",
|
|
8473
|
+
"value": { "type": "number | undefined" }
|
|
8474
|
+
},
|
|
8429
8475
|
{
|
|
8430
8476
|
"name": "grouped",
|
|
8431
8477
|
"description": "When true, hides the individual language navbar and defers language control to a parent zn-translation-group.",
|
|
@@ -8456,6 +8502,7 @@
|
|
|
8456
8502
|
"name": "inputType",
|
|
8457
8503
|
"type": "'select' | 'text' | 'number' | 'textarea'"
|
|
8458
8504
|
},
|
|
8505
|
+
{ "name": "textareaRows", "type": "number | undefined" },
|
|
8459
8506
|
{
|
|
8460
8507
|
"name": "grouped",
|
|
8461
8508
|
"description": "When true, hides the individual language navbar and defers language control to a parent zn-translation-group.",
|
package/dist/zn.d.ts
CHANGED
|
@@ -3769,6 +3769,7 @@ declare module "components/inline-edit/inline-edit.component" {
|
|
|
3769
3769
|
max: string | number;
|
|
3770
3770
|
step: number | 'any';
|
|
3771
3771
|
inputType: 'select' | 'text' | 'data-select' | 'number' | 'textarea';
|
|
3772
|
+
textareaRows: 1;
|
|
3772
3773
|
options: {
|
|
3773
3774
|
[key: string]: string;
|
|
3774
3775
|
};
|
|
@@ -7275,11 +7276,16 @@ declare module "components/translations/translations.component" {
|
|
|
7275
7276
|
required: boolean;
|
|
7276
7277
|
flush: boolean;
|
|
7277
7278
|
inputType: 'select' | 'text' | 'number' | 'textarea';
|
|
7279
|
+
textareaRows: number | undefined;
|
|
7278
7280
|
/** When true, hides the individual language navbar and defers language control to a parent zn-translation-group. */
|
|
7279
7281
|
grouped: boolean;
|
|
7280
7282
|
languages: Record<string, string>;
|
|
7281
7283
|
values: Record<string, string>;
|
|
7282
7284
|
private _activeLanguage;
|
|
7285
|
+
private _overflowIndex;
|
|
7286
|
+
private _resizeObserver?;
|
|
7287
|
+
private _lastObservedWidth;
|
|
7288
|
+
private _measureRafId;
|
|
7283
7289
|
get validity(): ValidityState;
|
|
7284
7290
|
get validationMessage(): string;
|
|
7285
7291
|
checkValidity(): boolean;
|
|
@@ -7294,9 +7300,15 @@ declare module "components/translations/translations.component" {
|
|
|
7294
7300
|
addLanguageKey(languageCode: string): void;
|
|
7295
7301
|
/** Returns all language codes that have values. */
|
|
7296
7302
|
getValueLanguages(): string[];
|
|
7303
|
+
connectedCallback(): void;
|
|
7304
|
+
disconnectedCallback(): void;
|
|
7297
7305
|
protected firstUpdated(): void;
|
|
7306
|
+
protected updated(changedProperties: PropertyValues): void;
|
|
7307
|
+
private _scheduleLangOverflow;
|
|
7308
|
+
private _computeLangOverflow;
|
|
7298
7309
|
willUpdate(changedProperties: PropertyValues): void;
|
|
7299
7310
|
private handleLanguageAdd;
|
|
7311
|
+
private handleOverflowSelect;
|
|
7300
7312
|
private switchLanguage;
|
|
7301
7313
|
private handleValueUpdate;
|
|
7302
7314
|
private updateValue;
|
|
@@ -7488,8 +7500,16 @@ declare module "components/translation-group/translation-group.component" {
|
|
|
7488
7500
|
private _activeLanguage;
|
|
7489
7501
|
/** Tracks all language codes that have been activated across children. */
|
|
7490
7502
|
private _activatedLanguages;
|
|
7503
|
+
private _overflowIndex;
|
|
7504
|
+
private _resizeObserver?;
|
|
7505
|
+
private _lastObservedWidth;
|
|
7506
|
+
private _measureRafId;
|
|
7507
|
+
connectedCallback(): void;
|
|
7508
|
+
disconnectedCallback(): void;
|
|
7491
7509
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
7492
7510
|
protected updated(changedProperties: PropertyValues): void;
|
|
7511
|
+
private _scheduleLangOverflow;
|
|
7512
|
+
private _computeLangOverflow;
|
|
7493
7513
|
private getAllTranslations;
|
|
7494
7514
|
/** Sync grouped state, languages, and active language to all children. */
|
|
7495
7515
|
private syncChildren;
|
|
@@ -7497,6 +7517,7 @@ declare module "components/translation-group/translation-group.component" {
|
|
|
7497
7517
|
private handleSlotChange;
|
|
7498
7518
|
private switchLanguage;
|
|
7499
7519
|
private handleLanguageAdd;
|
|
7520
|
+
private handleOverflowSelect;
|
|
7500
7521
|
render(): import("lit").TemplateResult<1>;
|
|
7501
7522
|
}
|
|
7502
7523
|
}
|
|
@@ -7677,9 +7698,9 @@ declare module "components/priority-list/index" {
|
|
|
7677
7698
|
}
|
|
7678
7699
|
declare module "components/markdown-editor/markdown-editor.component" {
|
|
7679
7700
|
import { type CSSResultGroup, type PropertyValues } from 'lit';
|
|
7680
|
-
import ZincElement from "internal/zinc-element";
|
|
7681
7701
|
import type { ZincFormControl } from "internal/zinc-element";
|
|
7682
7702
|
import type ZnTextarea from "components/textarea/index";
|
|
7703
|
+
import ZnPanel from "components/panel/panel.component";
|
|
7683
7704
|
type ViewMode = 'editor' | 'split' | 'preview';
|
|
7684
7705
|
/**
|
|
7685
7706
|
* @summary A markdown editor with live preview, split view, and a fullscreen mode.
|
|
@@ -7703,10 +7724,10 @@ declare module "components/markdown-editor/markdown-editor.component" {
|
|
|
7703
7724
|
* @csspart editor - The textarea wrapper.
|
|
7704
7725
|
* @csspart preview - The rendered markdown preview.
|
|
7705
7726
|
*/
|
|
7706
|
-
export default class ZnMarkdownEditor extends
|
|
7727
|
+
export default class ZnMarkdownEditor extends ZnPanel implements ZincFormControl {
|
|
7707
7728
|
static styles: CSSResultGroup;
|
|
7708
7729
|
private readonly formControlController;
|
|
7709
|
-
private readonly
|
|
7730
|
+
private readonly markdownSlotController;
|
|
7710
7731
|
private debounceTimer;
|
|
7711
7732
|
textarea: ZnTextarea;
|
|
7712
7733
|
previewEl: HTMLDivElement;
|