@plitzi/sdk-elements 0.37.1 → 0.37.3
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/CHANGELOG.md +1306 -0
- package/dist/Component/ComponentProvider.d.ts +1 -1
- package/dist/Component/ComponentProvider.mjs +10 -5
- package/dist/Element/JsxManager.d.ts +1 -1
- package/dist/Element/JsxManager.mjs +1 -0
- package/dist/Element/LayoutBody.d.ts +1 -1
- package/dist/Element/PluginManager.d.ts +1 -1
- package/dist/Element/PluginRemote.d.ts +3 -1
- package/dist/Element/PluginRemote.mjs +9 -9
- package/dist/Element/ReplicaProvider.d.ts +1 -1
- package/dist/Element/helpers/elementConstants.mjs +28 -0
- package/dist/Element/helpers/elementUtils.mjs +1 -1
- package/dist/Element/helpers/loadComponent.d.ts +6 -1
- package/dist/Element/helpers/loadComponent.mjs +7 -7
- package/dist/Element/helpers/pluginSelector.d.ts +1 -1
- package/dist/Element/helpers/pluginSelector.mjs +1 -0
- package/dist/Element/hocs/withElement.d.ts +1 -1
- package/dist/Element/hooks/useElementDataSource.mjs +23 -16
- package/dist/Element/hooks/useElementInternal.mjs +60 -52
- package/dist/Element/hooks/useInternalClassName.mjs +19 -18
- package/dist/Element/hooks/useKeyTriggers.d.ts +18 -0
- package/dist/Element/hooks/useKeyTriggers.mjs +36 -0
- package/dist/Element/hooks/useRootElementInteractions.mjs +70 -55
- package/dist/Element/hooks/useRscData.mjs +20 -15
- package/dist/components/ElementAdvancedEditor.d.ts +1 -1
- package/dist/dataSource/GlobalSources.mjs +115 -79
- package/dist/dataSource/getSourcesByElementId.mjs +2 -2
- package/dist/elements/advanced/BlockHtml/BlockHtml.d.ts +2 -2
- package/dist/elements/advanced/BlockHtml/Settings.d.ts +1 -1
- package/dist/elements/advanced/BlockHtml/index.d.ts +1 -1
- package/dist/elements/advanced/BlockJsx/BlockJsx.d.ts +2 -2
- package/dist/elements/advanced/BlockJsx/BlockJsx.mjs +1 -1
- package/dist/elements/advanced/BlockJsx/Settings.d.ts +1 -1
- package/dist/elements/advanced/BlockJsx/index.d.ts +1 -1
- package/dist/elements/advanced/Custom/Custom.d.ts +2 -2
- package/dist/elements/advanced/Custom/Settings.d.ts +1 -1
- package/dist/elements/advanced/Custom/index.d.ts +1 -1
- package/dist/elements/advanced/NodeHtml/declaration.d.ts +1 -1
- package/dist/elements/advanced/NodeHtml/index.d.ts +2 -2
- package/dist/elements/advanced/PlitziSdk/Settings.d.ts +1 -1
- package/dist/elements/advanced/Reference/Reference.d.ts +2 -2
- package/dist/elements/advanced/Reference/Settings.d.ts +1 -1
- package/dist/elements/advanced/Reference/index.d.ts +1 -1
- package/dist/elements/basic/Button/Button.d.ts +11 -4
- package/dist/elements/basic/Button/Button.mjs +5 -5
- package/dist/elements/basic/Button/Settings.d.ts +2 -1
- package/dist/elements/basic/Button/Settings.mjs +14 -7
- package/dist/elements/basic/Button/declaration.d.ts +8 -3
- package/dist/elements/basic/Button/declaration.mjs +14 -6
- package/dist/elements/basic/Button/index.d.ts +9 -4
- package/dist/elements/basic/Dropdown/Dropdown.d.ts +2 -2
- package/dist/elements/basic/Dropdown/Dropdown.mjs +48 -39
- package/dist/elements/basic/Dropdown/DropdownPopup/DropdownPopup.d.ts +2 -2
- package/dist/elements/basic/Dropdown/DropdownPopup/Settings.d.ts +1 -1
- package/dist/elements/basic/Dropdown/DropdownPopup/declaration.d.ts +2 -1
- package/dist/elements/basic/Dropdown/DropdownPopup/declaration.mjs +2 -1
- package/dist/elements/basic/Dropdown/DropdownPopup/index.d.ts +3 -2
- package/dist/elements/basic/Dropdown/Settings.d.ts +1 -1
- package/dist/elements/basic/Dropdown/declaration.d.ts +3 -0
- package/dist/elements/basic/Dropdown/declaration.mjs +9 -3
- package/dist/elements/basic/Dropdown/index.d.ts +7 -3
- package/dist/elements/basic/Dropdown/useDropdown.d.ts +6 -1
- package/dist/elements/basic/Dropdown/useDropdown.mjs +58 -41
- package/dist/elements/basic/Dropdown/useDropdownTrigger.d.ts +26 -0
- package/dist/elements/basic/Dropdown/useDropdownTrigger.mjs +30 -0
- package/dist/elements/basic/Heading/Heading.d.ts +2 -2
- package/dist/elements/basic/Heading/Settings.d.ts +1 -1
- package/dist/elements/basic/Heading/declaration.d.ts +9 -6
- package/dist/elements/basic/Heading/declaration.mjs +17 -9
- package/dist/elements/basic/Heading/index.d.ts +10 -7
- package/dist/elements/basic/Link/Link.d.ts +2 -2
- package/dist/elements/basic/Link/Link.mjs +5 -2
- package/dist/elements/basic/Link/Settings.d.ts +2 -1
- package/dist/elements/basic/Link/Settings.mjs +31 -24
- package/dist/elements/basic/Link/declaration.d.ts +5 -1
- package/dist/elements/basic/Link/declaration.mjs +16 -3
- package/dist/elements/basic/Link/index.d.ts +6 -2
- package/dist/elements/basic/Markdown/Markdown.d.ts +2 -2
- package/dist/elements/basic/Markdown/Settings.d.ts +1 -1
- package/dist/elements/basic/Markdown/declaration.d.ts +1 -1
- package/dist/elements/basic/Markdown/declaration.mjs +1 -1
- package/dist/elements/basic/Markdown/index.d.ts +2 -2
- package/dist/elements/basic/Paragraph/Paragraph.d.ts +2 -2
- package/dist/elements/basic/Paragraph/Settings.d.ts +1 -1
- package/dist/elements/basic/Paragraph/index.d.ts +1 -1
- package/dist/elements/basic/RichText/RichText.d.ts +2 -2
- package/dist/elements/basic/RichText/Settings.d.ts +1 -1
- package/dist/elements/basic/RichText/declaration.d.ts +3 -0
- package/dist/elements/basic/RichText/declaration.mjs +8 -3
- package/dist/elements/basic/RichText/index.d.ts +4 -1
- package/dist/elements/basic/Text/Settings.d.ts +1 -1
- package/dist/elements/basic/Text/Text.d.ts +2 -2
- package/dist/elements/basic/Text/declaration.d.ts +1 -1
- package/dist/elements/basic/Text/declaration.mjs +1 -1
- package/dist/elements/basic/Text/index.d.ts +2 -2
- package/dist/elements/basic/ThemeToggle/ThemeToggle.d.ts +2 -2
- package/dist/elements/basic/ThemeToggle/ThemeToggle.mjs +58 -62
- package/dist/elements/basic/ThemeToggle/declaration.d.ts +15 -1
- package/dist/elements/basic/ThemeToggle/declaration.mjs +12 -4
- package/dist/elements/basic/ThemeToggle/index.d.ts +16 -2
- package/dist/elements/declarations/index.d.ts +530 -21
- package/dist/elements/declarations/index.mjs +24 -22
- package/dist/elements/form/Form/Form.d.ts +2 -2
- package/dist/elements/form/Form/Form.mjs +37 -57
- package/dist/elements/form/Form/Settings.d.ts +1 -1
- package/dist/elements/form/Form/declaration.d.ts +60 -0
- package/dist/elements/form/Form/declaration.mjs +59 -3
- package/dist/elements/form/Form/index.d.ts +62 -2
- package/dist/elements/form/FormControl/FormControl.d.ts +19 -7
- package/dist/elements/form/FormControl/FormControl.mjs +138 -138
- package/dist/elements/form/FormControl/Settings.d.ts +3 -1
- package/dist/elements/form/FormControl/Settings.mjs +73 -57
- package/dist/elements/form/FormControl/components/Label.d.ts +3 -1
- package/dist/elements/form/FormControl/components/Label.mjs +20 -18
- package/dist/elements/form/FormControl/components/visuallyHidden.d.ts +6 -0
- package/dist/elements/form/FormControl/components/visuallyHidden.mjs +14 -0
- package/dist/elements/form/FormControl/declaration.d.ts +17 -0
- package/dist/elements/form/FormControl/declaration.mjs +56 -30
- package/dist/elements/form/FormControl/hocs/withFieldValue.d.ts +1 -1
- package/dist/elements/form/FormControl/hocs/withFieldValue.mjs +68 -61
- package/dist/elements/form/FormControl/index.d.ts +19 -2
- package/dist/elements/form/FormControl/inputs/Checkbox.d.ts +6 -1
- package/dist/elements/form/FormControl/inputs/Checkbox.mjs +5 -3
- package/dist/elements/form/FormControl/inputs/Hidden.d.ts +1 -1
- package/dist/elements/form/FormControl/inputs/Input.d.ts +8 -1
- package/dist/elements/form/FormControl/inputs/Input.mjs +44 -38
- package/dist/elements/form/FormControl/inputs/Select.d.ts +6 -1
- package/dist/elements/form/FormControl/inputs/Select.mjs +12 -10
- package/dist/elements/form/FormControl/inputs/Textarea.d.ts +8 -1
- package/dist/elements/form/FormControl/inputs/Textarea.mjs +26 -21
- package/dist/elements/form/FormControl/inputs/useFocusWhenShown.d.ts +7 -0
- package/dist/elements/form/FormControl/inputs/useFocusWhenShown.mjs +9 -0
- package/dist/elements/index.d.ts +3 -1
- package/dist/elements/index.mjs +16 -14
- package/dist/elements/internal/LayoutContainer/LayoutContainer.d.ts +2 -2
- package/dist/elements/internal/LayoutContainer/Settings.d.ts +1 -1
- package/dist/elements/internal/LayoutContainer/declaration.d.ts +3 -0
- package/dist/elements/internal/LayoutContainer/declaration.mjs +15 -3
- package/dist/elements/internal/LayoutContainer/index.d.ts +4 -1
- package/dist/elements/internal/LayoutPicker/LayoutPicker.d.ts +1 -1
- package/dist/elements/internal/Loading/Loading.d.ts +2 -2
- package/dist/elements/internal/Loading/index.d.ts +1 -1
- package/dist/elements/internal/NotFound/NotFound.d.ts +2 -2
- package/dist/elements/internal/NotFound/index.d.ts +1 -1
- package/dist/elements/internal/Page/Page.d.ts +2 -2
- package/dist/elements/internal/Page/Page.mjs +34 -43
- package/dist/elements/internal/Page/Settings.d.ts +1 -1
- package/dist/elements/internal/Page/declaration.d.ts +13 -0
- package/dist/elements/internal/Page/declaration.mjs +11 -0
- package/dist/elements/internal/Page/index.d.ts +14 -1
- package/dist/elements/media/FontAwesome/FontAwesome.d.ts +9 -2
- package/dist/elements/media/FontAwesome/FontAwesome.mjs +12 -5
- package/dist/elements/media/FontAwesome/Settings.d.ts +2 -1
- package/dist/elements/media/FontAwesome/Settings.mjs +29 -22
- package/dist/elements/media/FontAwesome/declaration.d.ts +1 -0
- package/dist/elements/media/FontAwesome/index.d.ts +2 -1
- package/dist/elements/media/Image/Image.d.ts +14 -3
- package/dist/elements/media/Image/Image.mjs +25 -25
- package/dist/elements/media/Image/Settings.d.ts +3 -1
- package/dist/elements/media/Image/Settings.mjs +29 -15
- package/dist/elements/media/Image/declaration.d.ts +7 -1
- package/dist/elements/media/Image/declaration.mjs +16 -3
- package/dist/elements/media/Image/index.d.ts +8 -2
- package/dist/elements/media/Video/Settings.d.ts +1 -1
- package/dist/elements/media/Video/Video.d.ts +2 -2
- package/dist/elements/media/Video/index.d.ts +1 -1
- package/dist/elements/provider/ApiContainer/ApiContainer.d.ts +11 -2
- package/dist/elements/provider/ApiContainer/ApiContainer.mjs +164 -198
- package/dist/elements/provider/ApiContainer/Settings.d.ts +2 -1
- package/dist/elements/provider/ApiContainer/Settings.mjs +129 -122
- package/dist/elements/provider/ApiContainer/components/FiltersInput/FiltersInput.d.ts +1 -1
- package/dist/elements/provider/ApiContainer/declaration.d.ts +88 -0
- package/dist/elements/provider/ApiContainer/declaration.mjs +112 -4
- package/dist/elements/provider/ApiContainer/helpers/isEmptyAnswer.d.ts +16 -0
- package/dist/elements/provider/ApiContainer/helpers/isEmptyAnswer.mjs +4 -0
- package/dist/elements/provider/ApiContainer/helpers/providerOutcome.d.ts +25 -0
- package/dist/elements/provider/ApiContainer/helpers/providerOutcome.mjs +7 -0
- package/dist/elements/provider/ApiContainer/helpers/queryInput.d.ts +5 -0
- package/dist/elements/provider/ApiContainer/helpers/queryInput.mjs +12 -0
- package/dist/elements/provider/ApiContainer/hooks/useAutoRefresh.d.ts +21 -0
- package/dist/elements/provider/ApiContainer/hooks/useAutoRefresh.mjs +18 -0
- package/dist/elements/provider/ApiContainer/index.d.ts +89 -1
- package/dist/elements/provider/Channel/Channel.d.ts +26 -0
- package/dist/elements/provider/Channel/Channel.mjs +92 -0
- package/dist/elements/provider/Channel/Settings.d.ts +9 -0
- package/dist/elements/provider/Channel/Settings.mjs +38 -0
- package/dist/elements/provider/Channel/declaration.d.ts +138 -0
- package/dist/elements/provider/Channel/declaration.mjs +125 -0
- package/dist/elements/provider/Channel/index.d.ts +137 -0
- package/dist/elements/provider/Channel/index.mjs +6 -0
- package/dist/elements/settings.mjs +25 -23
- package/dist/elements/structure/Container/Container.d.ts +17 -3
- package/dist/elements/structure/Container/Container.mjs +18 -9
- package/dist/elements/structure/Container/Settings.d.ts +4 -2
- package/dist/elements/structure/Container/Settings.mjs +110 -69
- package/dist/elements/structure/Container/declaration.d.ts +12 -1
- package/dist/elements/structure/Container/declaration.mjs +35 -3
- package/dist/elements/structure/Container/index.d.ts +7 -2
- package/dist/elements/structure/Container/index.mjs +3 -3
- package/dist/elements/structure/DialogContainer/DialogContainer.d.ts +2 -2
- package/dist/elements/structure/DialogContainer/DialogContainer.mjs +126 -153
- package/dist/elements/structure/DialogContainer/Settings.d.ts +1 -1
- package/dist/elements/structure/DialogContainer/declaration.d.ts +82 -1
- package/dist/elements/structure/DialogContainer/declaration.mjs +62 -1
- package/dist/elements/structure/DialogContainer/index.d.ts +83 -2
- package/dist/elements/structure/List/List.d.ts +2 -2
- package/dist/elements/structure/List/ListItem/ListItem.d.ts +2 -2
- package/dist/elements/structure/List/ListItem/Settings.d.ts +1 -1
- package/dist/elements/structure/List/ListItem/index.d.ts +1 -1
- package/dist/elements/structure/List/Settings.d.ts +1 -1
- package/dist/elements/structure/List/declaration.d.ts +4 -0
- package/dist/elements/structure/List/declaration.mjs +7 -3
- package/dist/elements/structure/List/index.d.ts +6 -2
- package/dist/elements/structure/List/modes/ListBasic.d.ts +1 -1
- package/dist/elements/structure/List/modes/ListControlled/ListControlled.d.ts +1 -1
- package/dist/elements/structure/List/modes/ListControlled/ListControlledItem.d.ts +1 -1
- package/dist/elements/structure/ModalContainer/ModalContainer.d.ts +2 -2
- package/dist/elements/structure/ModalContainer/ModalContainer.mjs +92 -107
- package/dist/elements/structure/ModalContainer/Settings.d.ts +1 -1
- package/dist/elements/structure/ModalContainer/declaration.d.ts +48 -2
- package/dist/elements/structure/ModalContainer/declaration.mjs +40 -2
- package/dist/elements/structure/ModalContainer/index.d.ts +49 -3
- package/dist/elements/structure/ModalContainer/metadataFromText.d.ts +1 -0
- package/dist/elements/structure/ModalContainer/metadataFromText.mjs +10 -0
- package/dist/elements/structure/ModalContainer/useModalDialog.d.ts +20 -0
- package/dist/elements/structure/ModalContainer/useModalDialog.mjs +31 -0
- package/dist/elements/structure/Pagination/Pagination.d.ts +7 -2
- package/dist/elements/structure/Pagination/Pagination.mjs +49 -52
- package/dist/elements/structure/Pagination/Settings.d.ts +2 -1
- package/dist/elements/structure/Pagination/Settings.mjs +16 -9
- package/dist/elements/structure/Pagination/declaration.d.ts +16 -0
- package/dist/elements/structure/Pagination/declaration.mjs +14 -3
- package/dist/elements/structure/Pagination/index.d.ts +17 -1
- package/dist/elements/structure/TabContainer/Settings.d.ts +1 -1
- package/dist/elements/structure/TabContainer/TabContainer.d.ts +2 -2
- package/dist/elements/structure/TabContainer/TabContainer.mjs +19 -17
- package/dist/elements/structure/TabContainer/TabContainerBody/Settings.d.ts +1 -1
- package/dist/elements/structure/TabContainer/TabContainerBody/TabContainerBody.d.ts +2 -2
- package/dist/elements/structure/TabContainer/TabContainerBody/TabContainerBody.mjs +8 -6
- package/dist/elements/structure/TabContainer/TabContainerBody/declaration.d.ts +1 -0
- package/dist/elements/structure/TabContainer/TabContainerBody/declaration.mjs +1 -0
- package/dist/elements/structure/TabContainer/TabContainerBody/index.d.ts +2 -1
- package/dist/elements/structure/TabContainer/TabContainerContext.d.ts +2 -0
- package/dist/elements/structure/TabContainer/TabContainerHeader/Settings.d.ts +1 -1
- package/dist/elements/structure/TabContainer/TabContainerHeader/TabContainerHeader.d.ts +2 -2
- package/dist/elements/structure/TabContainer/TabContainerHeader/TabContainerHeader.mjs +18 -14
- package/dist/elements/structure/TabContainer/TabContainerHeader/declaration.d.ts +1 -0
- package/dist/elements/structure/TabContainer/TabContainerHeader/declaration.mjs +1 -0
- package/dist/elements/structure/TabContainer/TabContainerHeader/index.d.ts +2 -1
- package/dist/elements/structure/TabContainer/TabContainerItem/Settings.d.ts +1 -1
- package/dist/elements/structure/TabContainer/TabContainerItem/TabContainerItem.d.ts +6 -2
- package/dist/elements/structure/TabContainer/TabContainerItem/TabContainerItem.mjs +48 -13
- package/dist/elements/structure/TabContainer/TabContainerItem/declaration.d.ts +1 -1
- package/dist/elements/structure/TabContainer/TabContainerItem/index.d.ts +1 -1
- package/dist/elements/structure/TabContainer/index.d.ts +6 -4
- package/dist/index.d.ts +570 -57
- package/dist/index.mjs +20 -17
- package/dist/realtime/useChannel.d.ts +35 -0
- package/dist/realtime/useChannel.mjs +57 -0
- package/package.json +75 -11
- package/dist/elements/media/FontAwesome/FontAwesome.stories-paused.d.ts +0 -1
|
@@ -23,6 +23,7 @@ import { default as FontAwesomeDeclaration } from '../media/FontAwesome/declarat
|
|
|
23
23
|
import { default as ImageDeclaration } from '../media/Image/declaration';
|
|
24
24
|
import { default as VideoDeclaration } from '../media/Video/declaration';
|
|
25
25
|
import { default as ApiContainerDeclaration } from '../provider/ApiContainer/declaration';
|
|
26
|
+
import { default as ChannelDeclaration } from '../provider/Channel/declaration';
|
|
26
27
|
import { default as ContainerDeclaration } from '../structure/Container/declaration';
|
|
27
28
|
import { default as DialogContainerDeclaration } from '../structure/DialogContainer/declaration';
|
|
28
29
|
import { default as ListDeclaration } from '../structure/List/declaration';
|
|
@@ -36,7 +37,95 @@ import { default as TabContainerItemDeclaration } from '../structure/TabContaine
|
|
|
36
37
|
export declare const elementDeclarations: {
|
|
37
38
|
readonly ApiContainer: {
|
|
38
39
|
readonly type: "apiContainer";
|
|
40
|
+
readonly attributeValues: {
|
|
41
|
+
readonly subType: readonly string[];
|
|
42
|
+
readonly method: readonly string[];
|
|
43
|
+
readonly credentials: readonly string[];
|
|
44
|
+
readonly pagination: readonly string[];
|
|
45
|
+
};
|
|
39
46
|
readonly sourceType: "apiContainer";
|
|
47
|
+
readonly triggers: {
|
|
48
|
+
readonly onApiError: {
|
|
49
|
+
readonly action: "onApiError";
|
|
50
|
+
readonly title: "On Api Error";
|
|
51
|
+
readonly type: "trigger";
|
|
52
|
+
readonly params: {};
|
|
53
|
+
readonly preview: {
|
|
54
|
+
readonly url: "";
|
|
55
|
+
readonly method: "";
|
|
56
|
+
readonly status: "";
|
|
57
|
+
readonly data: "";
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
readonly onApiSuccess: {
|
|
61
|
+
readonly action: "onApiSuccess";
|
|
62
|
+
readonly title: "On Api Success";
|
|
63
|
+
readonly type: "trigger";
|
|
64
|
+
readonly params: {};
|
|
65
|
+
readonly preview: {
|
|
66
|
+
readonly url: "";
|
|
67
|
+
readonly method: "";
|
|
68
|
+
readonly status: "";
|
|
69
|
+
readonly data: "";
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
readonly callbacks: {
|
|
74
|
+
readonly performQuery: {
|
|
75
|
+
readonly action: "performQuery";
|
|
76
|
+
readonly title: "Perform Query";
|
|
77
|
+
readonly type: "callback";
|
|
78
|
+
readonly preview: {};
|
|
79
|
+
readonly params: {
|
|
80
|
+
readonly input: {
|
|
81
|
+
readonly label: "Input (server providers)";
|
|
82
|
+
readonly type: "codemirror-json";
|
|
83
|
+
readonly defaultValue: "{}";
|
|
84
|
+
readonly description: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
readonly loadMore: {
|
|
89
|
+
readonly action: "loadMore";
|
|
90
|
+
readonly title: "Load More";
|
|
91
|
+
readonly type: "callback";
|
|
92
|
+
readonly preview: {};
|
|
93
|
+
readonly params: {};
|
|
94
|
+
};
|
|
95
|
+
readonly goToPage: {
|
|
96
|
+
readonly action: "goToPage";
|
|
97
|
+
readonly title: "Go To Page";
|
|
98
|
+
readonly type: "callback";
|
|
99
|
+
readonly preview: {};
|
|
100
|
+
readonly params: {
|
|
101
|
+
readonly page: {
|
|
102
|
+
readonly label: "Page";
|
|
103
|
+
readonly defaultValue: "1";
|
|
104
|
+
readonly type: "text";
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
readonly writeRecord: {
|
|
109
|
+
readonly action: "writeRecord";
|
|
110
|
+
readonly title: "Write Record";
|
|
111
|
+
readonly type: "callback";
|
|
112
|
+
readonly preview: {
|
|
113
|
+
readonly action: "create";
|
|
114
|
+
};
|
|
115
|
+
readonly params: {
|
|
116
|
+
readonly action: {
|
|
117
|
+
readonly label: "Endpoint";
|
|
118
|
+
readonly defaultValue: "create";
|
|
119
|
+
readonly type: "text";
|
|
120
|
+
};
|
|
121
|
+
readonly recordId: {
|
|
122
|
+
readonly label: "Record Id";
|
|
123
|
+
readonly defaultValue: "";
|
|
124
|
+
readonly type: "text";
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
};
|
|
40
129
|
readonly content: {
|
|
41
130
|
readonly attributes: {
|
|
42
131
|
readonly query: "";
|
|
@@ -204,6 +293,10 @@ export declare const elementDeclarations: {
|
|
|
204
293
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<import('../advanced/BlockJsx/declaration').BlockJsxAttributes>;
|
|
205
294
|
readonly Button: {
|
|
206
295
|
readonly type: "button";
|
|
296
|
+
readonly attributeValues: {
|
|
297
|
+
readonly subType: readonly string[];
|
|
298
|
+
readonly contentPlacement: readonly string[];
|
|
299
|
+
};
|
|
207
300
|
readonly content: {
|
|
208
301
|
readonly attributes: {
|
|
209
302
|
readonly contentPlacement: "after";
|
|
@@ -263,7 +356,7 @@ export declare const elementDeclarations: {
|
|
|
263
356
|
readonly 'padding-bottom': "6px";
|
|
264
357
|
readonly cursor: "pointer";
|
|
265
358
|
readonly 'font-size': "16px";
|
|
266
|
-
readonly 'line-height': "
|
|
359
|
+
readonly 'line-height': "1.5";
|
|
267
360
|
readonly 'border-top-left-radius': "4px";
|
|
268
361
|
readonly 'border-top-right-radius': "4px";
|
|
269
362
|
readonly 'border-bottom-left-radius': "4px";
|
|
@@ -284,7 +377,7 @@ export declare const elementDeclarations: {
|
|
|
284
377
|
readonly 'padding-bottom': "6px";
|
|
285
378
|
readonly cursor: "pointer";
|
|
286
379
|
readonly 'font-size': "16px";
|
|
287
|
-
readonly 'line-height': "
|
|
380
|
+
readonly 'line-height': "1.5";
|
|
288
381
|
readonly 'border-top-left-radius': "4px";
|
|
289
382
|
readonly 'border-top-right-radius': "4px";
|
|
290
383
|
readonly 'border-bottom-left-radius': "4px";
|
|
@@ -305,7 +398,7 @@ export declare const elementDeclarations: {
|
|
|
305
398
|
readonly 'padding-bottom': "6px";
|
|
306
399
|
readonly cursor: "pointer";
|
|
307
400
|
readonly 'font-size': "16px";
|
|
308
|
-
readonly 'line-height': "
|
|
401
|
+
readonly 'line-height': "1.5";
|
|
309
402
|
readonly 'border-top-left-radius': "4px";
|
|
310
403
|
readonly 'border-top-right-radius': "4px";
|
|
311
404
|
readonly 'border-bottom-left-radius': "4px";
|
|
@@ -319,6 +412,7 @@ export declare const elementDeclarations: {
|
|
|
319
412
|
readonly settings: {};
|
|
320
413
|
};
|
|
321
414
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
415
|
+
label?: string | undefined;
|
|
322
416
|
title?: string | undefined;
|
|
323
417
|
content?: string | undefined;
|
|
324
418
|
disabled?: boolean | undefined;
|
|
@@ -327,8 +421,144 @@ export declare const elementDeclarations: {
|
|
|
327
421
|
ariaExpanded?: boolean | undefined;
|
|
328
422
|
ariaPressed?: boolean | undefined;
|
|
329
423
|
}>>;
|
|
424
|
+
readonly Channel: {
|
|
425
|
+
readonly type: "channel";
|
|
426
|
+
readonly attributeValues: {
|
|
427
|
+
readonly subType: readonly string[];
|
|
428
|
+
};
|
|
429
|
+
readonly sourceType: "channel";
|
|
430
|
+
readonly triggers: {
|
|
431
|
+
readonly onMessage: {
|
|
432
|
+
readonly action: "onMessage";
|
|
433
|
+
readonly title: "On Message";
|
|
434
|
+
readonly type: "trigger";
|
|
435
|
+
readonly params: {};
|
|
436
|
+
readonly preview: {
|
|
437
|
+
readonly type: "";
|
|
438
|
+
readonly data: "";
|
|
439
|
+
readonly from: "";
|
|
440
|
+
readonly user: "";
|
|
441
|
+
readonly at: "";
|
|
442
|
+
};
|
|
443
|
+
};
|
|
444
|
+
readonly onJoin: {
|
|
445
|
+
readonly action: "onJoin";
|
|
446
|
+
readonly title: "On Join";
|
|
447
|
+
readonly type: "trigger";
|
|
448
|
+
readonly params: {};
|
|
449
|
+
readonly preview: {
|
|
450
|
+
readonly from: "";
|
|
451
|
+
readonly user: "";
|
|
452
|
+
readonly state: {};
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
readonly onLeave: {
|
|
456
|
+
readonly action: "onLeave";
|
|
457
|
+
readonly title: "On Leave";
|
|
458
|
+
readonly type: "trigger";
|
|
459
|
+
readonly params: {};
|
|
460
|
+
readonly preview: {
|
|
461
|
+
readonly from: "";
|
|
462
|
+
readonly user: "";
|
|
463
|
+
readonly state: {};
|
|
464
|
+
};
|
|
465
|
+
};
|
|
466
|
+
};
|
|
467
|
+
readonly callbacks: {
|
|
468
|
+
readonly publish: {
|
|
469
|
+
readonly action: "publish";
|
|
470
|
+
readonly title: "Publish";
|
|
471
|
+
readonly type: "callback";
|
|
472
|
+
readonly preview: {};
|
|
473
|
+
readonly params: {
|
|
474
|
+
readonly type: {
|
|
475
|
+
readonly label: "Type";
|
|
476
|
+
readonly defaultValue: "";
|
|
477
|
+
readonly type: "text";
|
|
478
|
+
};
|
|
479
|
+
readonly data: {
|
|
480
|
+
readonly label: "Data (JSON or a template)";
|
|
481
|
+
readonly defaultValue: "";
|
|
482
|
+
readonly type: "text";
|
|
483
|
+
};
|
|
484
|
+
};
|
|
485
|
+
};
|
|
486
|
+
readonly setPresence: {
|
|
487
|
+
readonly action: "setPresence";
|
|
488
|
+
readonly title: "Set Presence";
|
|
489
|
+
readonly type: "callback";
|
|
490
|
+
readonly preview: {};
|
|
491
|
+
readonly params: {
|
|
492
|
+
readonly data: {
|
|
493
|
+
readonly label: "State (JSON or a template)";
|
|
494
|
+
readonly defaultValue: "";
|
|
495
|
+
readonly type: "text";
|
|
496
|
+
};
|
|
497
|
+
};
|
|
498
|
+
};
|
|
499
|
+
};
|
|
500
|
+
readonly content: {
|
|
501
|
+
readonly attributes: {
|
|
502
|
+
readonly topic: "";
|
|
503
|
+
readonly grant: "";
|
|
504
|
+
readonly keep: 20;
|
|
505
|
+
readonly subType: "";
|
|
506
|
+
};
|
|
507
|
+
readonly definition: {
|
|
508
|
+
readonly label: "Channel";
|
|
509
|
+
readonly type: "channel";
|
|
510
|
+
readonly description: string;
|
|
511
|
+
readonly items: readonly [];
|
|
512
|
+
readonly bindings: {};
|
|
513
|
+
readonly styleSelectors: {
|
|
514
|
+
readonly base: "";
|
|
515
|
+
};
|
|
516
|
+
readonly initialState: {
|
|
517
|
+
readonly visibility: true;
|
|
518
|
+
};
|
|
519
|
+
};
|
|
520
|
+
readonly builder: {
|
|
521
|
+
readonly canDelete: true;
|
|
522
|
+
readonly canSelect: true;
|
|
523
|
+
readonly canDragDrop: true;
|
|
524
|
+
readonly canMove: true;
|
|
525
|
+
readonly canTemplate: true;
|
|
526
|
+
readonly itemsAllowed: readonly [];
|
|
527
|
+
readonly itemsNotAllowed: readonly [];
|
|
528
|
+
};
|
|
529
|
+
readonly market: {
|
|
530
|
+
readonly category: "provider";
|
|
531
|
+
readonly owner: "Plitzi";
|
|
532
|
+
readonly verified: true;
|
|
533
|
+
readonly license: "MIT";
|
|
534
|
+
readonly website: "https://plitzi.com";
|
|
535
|
+
readonly backgroundColor: "#4422ee";
|
|
536
|
+
readonly icon: "fa-solid fa-tower-broadcast";
|
|
537
|
+
};
|
|
538
|
+
readonly defaultStyle: {
|
|
539
|
+
readonly name: "Channel";
|
|
540
|
+
readonly displayMode: "desktop";
|
|
541
|
+
readonly style: {
|
|
542
|
+
readonly base: {
|
|
543
|
+
readonly default: {};
|
|
544
|
+
};
|
|
545
|
+
};
|
|
546
|
+
readonly subTypes: {};
|
|
547
|
+
};
|
|
548
|
+
readonly settings: {};
|
|
549
|
+
};
|
|
550
|
+
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
551
|
+
subType?: "" | "div" | "section" | "aside" | "main" | undefined;
|
|
552
|
+
topic?: string | undefined;
|
|
553
|
+
grant?: string | undefined;
|
|
554
|
+
presence?: unknown;
|
|
555
|
+
keep?: number | string | undefined;
|
|
556
|
+
}>>;
|
|
330
557
|
readonly Container: {
|
|
331
558
|
readonly type: "container";
|
|
559
|
+
readonly attributeValues: {
|
|
560
|
+
readonly subType: readonly string[];
|
|
561
|
+
};
|
|
332
562
|
readonly content: {
|
|
333
563
|
readonly attributes: {
|
|
334
564
|
readonly subType: "div";
|
|
@@ -377,7 +607,9 @@ export declare const elementDeclarations: {
|
|
|
377
607
|
readonly settings: {};
|
|
378
608
|
};
|
|
379
609
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
380
|
-
|
|
610
|
+
label?: string | undefined;
|
|
611
|
+
subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "dl" | "dt" | "dd" | "li" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
|
|
612
|
+
decorative?: boolean | undefined;
|
|
381
613
|
}>>;
|
|
382
614
|
readonly Custom: {
|
|
383
615
|
readonly type: "custom";
|
|
@@ -434,6 +666,87 @@ export declare const elementDeclarations: {
|
|
|
434
666
|
readonly DialogContainer: {
|
|
435
667
|
readonly type: "dialogContainer";
|
|
436
668
|
readonly sourceType: "dialogContainer";
|
|
669
|
+
readonly triggers: {
|
|
670
|
+
readonly onDialogAccept: {
|
|
671
|
+
readonly action: "onDialogAccept";
|
|
672
|
+
readonly title: "On Dialog Accept";
|
|
673
|
+
readonly type: "trigger";
|
|
674
|
+
readonly params: {
|
|
675
|
+
readonly metadata: {
|
|
676
|
+
readonly type: "text";
|
|
677
|
+
readonly defaultValue: "";
|
|
678
|
+
};
|
|
679
|
+
};
|
|
680
|
+
readonly preview: {
|
|
681
|
+
readonly metadata: "";
|
|
682
|
+
};
|
|
683
|
+
};
|
|
684
|
+
readonly onDialogReject: {
|
|
685
|
+
readonly action: "onDialogReject";
|
|
686
|
+
readonly title: "On Dialog Reject";
|
|
687
|
+
readonly type: "trigger";
|
|
688
|
+
readonly params: {
|
|
689
|
+
readonly metadata: {
|
|
690
|
+
readonly type: "text";
|
|
691
|
+
readonly defaultValue: "";
|
|
692
|
+
};
|
|
693
|
+
};
|
|
694
|
+
readonly preview: {
|
|
695
|
+
readonly metadata: "";
|
|
696
|
+
};
|
|
697
|
+
};
|
|
698
|
+
readonly onDialogOpen: {
|
|
699
|
+
readonly action: "onDialogOpen";
|
|
700
|
+
readonly title: "On Dialog Open";
|
|
701
|
+
readonly type: "trigger";
|
|
702
|
+
readonly params: {
|
|
703
|
+
readonly metadata: {
|
|
704
|
+
readonly type: "text";
|
|
705
|
+
readonly defaultValue: "";
|
|
706
|
+
};
|
|
707
|
+
};
|
|
708
|
+
readonly preview: {
|
|
709
|
+
readonly metadata: "";
|
|
710
|
+
};
|
|
711
|
+
};
|
|
712
|
+
readonly onDialogClose: {
|
|
713
|
+
readonly action: "onDialogClose";
|
|
714
|
+
readonly title: "On Dialog Close";
|
|
715
|
+
readonly type: "trigger";
|
|
716
|
+
readonly params: {
|
|
717
|
+
readonly metadata: {
|
|
718
|
+
readonly type: "text";
|
|
719
|
+
readonly defaultValue: "";
|
|
720
|
+
};
|
|
721
|
+
};
|
|
722
|
+
readonly preview: {
|
|
723
|
+
readonly metadata: "";
|
|
724
|
+
};
|
|
725
|
+
};
|
|
726
|
+
};
|
|
727
|
+
readonly callbacks: {
|
|
728
|
+
readonly openDialog: {
|
|
729
|
+
readonly action: "openDialog";
|
|
730
|
+
readonly title: "Open Dialog";
|
|
731
|
+
readonly type: "callback";
|
|
732
|
+
readonly params: {
|
|
733
|
+
readonly metadata: {
|
|
734
|
+
readonly type: "text";
|
|
735
|
+
readonly defaultValue: "";
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
readonly preview: {
|
|
739
|
+
readonly metadata: "";
|
|
740
|
+
};
|
|
741
|
+
};
|
|
742
|
+
readonly closeDialog: {
|
|
743
|
+
readonly action: "closeDialog";
|
|
744
|
+
readonly title: "Close Dialog";
|
|
745
|
+
readonly type: "callback";
|
|
746
|
+
readonly preview: {};
|
|
747
|
+
readonly params: {};
|
|
748
|
+
};
|
|
749
|
+
};
|
|
437
750
|
readonly content: {
|
|
438
751
|
readonly attributes: {
|
|
439
752
|
readonly headerLabel: "Dialog Header";
|
|
@@ -515,7 +828,7 @@ export declare const elementDeclarations: {
|
|
|
515
828
|
readonly left: "50%";
|
|
516
829
|
readonly width: "500px";
|
|
517
830
|
readonly height: "300px";
|
|
518
|
-
readonly 'background-color': "white";
|
|
831
|
+
readonly 'background-color': "light-dark(white, oklch(0.21 0.006 285.885))";
|
|
519
832
|
readonly transform: "translate3d(-50%, -50%, 0px)";
|
|
520
833
|
readonly 'padding-top': "20px";
|
|
521
834
|
readonly 'padding-bottom': "20px";
|
|
@@ -583,6 +896,9 @@ export declare const elementDeclarations: {
|
|
|
583
896
|
}>>;
|
|
584
897
|
readonly Dropdown: {
|
|
585
898
|
readonly type: "dropdown";
|
|
899
|
+
readonly attributeValues: {
|
|
900
|
+
readonly popupPlacement: readonly string[];
|
|
901
|
+
};
|
|
586
902
|
readonly content: {
|
|
587
903
|
readonly attributes: {
|
|
588
904
|
readonly popupPlacement: "bottom";
|
|
@@ -664,6 +980,7 @@ export declare const elementDeclarations: {
|
|
|
664
980
|
}>>;
|
|
665
981
|
readonly DropdownPopup: {
|
|
666
982
|
readonly type: "dropdownPopup";
|
|
983
|
+
readonly ancestorType: "dropdown";
|
|
667
984
|
readonly content: {
|
|
668
985
|
readonly attributes: {};
|
|
669
986
|
readonly definition: {
|
|
@@ -701,7 +1018,7 @@ export declare const elementDeclarations: {
|
|
|
701
1018
|
readonly style: {
|
|
702
1019
|
readonly base: {
|
|
703
1020
|
readonly default: {
|
|
704
|
-
readonly 'background-color': "white";
|
|
1021
|
+
readonly 'background-color': "light-dark(white, oklch(0.21 0.006 285.885))";
|
|
705
1022
|
readonly 'padding-right': "4px";
|
|
706
1023
|
readonly 'padding-bottom': "4px";
|
|
707
1024
|
readonly 'padding-left': "4px";
|
|
@@ -778,12 +1095,73 @@ export declare const elementDeclarations: {
|
|
|
778
1095
|
};
|
|
779
1096
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
780
1097
|
size?: string | undefined;
|
|
1098
|
+
label?: string | undefined;
|
|
781
1099
|
icon?: string | undefined;
|
|
782
1100
|
iconAnimation?: string | undefined;
|
|
783
1101
|
}>>;
|
|
784
1102
|
readonly Form: {
|
|
785
1103
|
readonly type: "form";
|
|
1104
|
+
readonly attributeValues: {
|
|
1105
|
+
readonly method: readonly string[];
|
|
1106
|
+
};
|
|
786
1107
|
readonly sourceType: "apiContainer";
|
|
1108
|
+
readonly triggers: {
|
|
1109
|
+
readonly onSubmit: {
|
|
1110
|
+
readonly action: "onSubmit";
|
|
1111
|
+
readonly title: "On Form Submit";
|
|
1112
|
+
readonly type: "trigger";
|
|
1113
|
+
readonly params: {};
|
|
1114
|
+
readonly preview: {
|
|
1115
|
+
readonly values: {};
|
|
1116
|
+
readonly actionUrl: "";
|
|
1117
|
+
readonly method: "";
|
|
1118
|
+
};
|
|
1119
|
+
};
|
|
1120
|
+
};
|
|
1121
|
+
readonly callbacks: {
|
|
1122
|
+
readonly performReset: {
|
|
1123
|
+
readonly action: "performReset";
|
|
1124
|
+
readonly title: "Reset Form";
|
|
1125
|
+
readonly type: "callback";
|
|
1126
|
+
readonly params: {};
|
|
1127
|
+
};
|
|
1128
|
+
readonly setFieldValue: {
|
|
1129
|
+
readonly action: "setFieldValue";
|
|
1130
|
+
readonly title: "Set Field Value";
|
|
1131
|
+
readonly type: "callback";
|
|
1132
|
+
readonly preview: {};
|
|
1133
|
+
readonly params: {
|
|
1134
|
+
readonly name: {
|
|
1135
|
+
readonly label: "Field Name";
|
|
1136
|
+
readonly defaultValue: undefined;
|
|
1137
|
+
readonly type: "select";
|
|
1138
|
+
readonly options: [];
|
|
1139
|
+
};
|
|
1140
|
+
readonly value: {
|
|
1141
|
+
readonly type: "text";
|
|
1142
|
+
readonly defaultValue: "";
|
|
1143
|
+
};
|
|
1144
|
+
};
|
|
1145
|
+
};
|
|
1146
|
+
readonly setFieldError: {
|
|
1147
|
+
readonly action: "setFieldError";
|
|
1148
|
+
readonly title: "Set Field Error";
|
|
1149
|
+
readonly type: "callback";
|
|
1150
|
+
readonly preview: {};
|
|
1151
|
+
readonly params: {
|
|
1152
|
+
readonly name: {
|
|
1153
|
+
readonly label: "Field Name";
|
|
1154
|
+
readonly defaultValue: undefined;
|
|
1155
|
+
readonly type: "select";
|
|
1156
|
+
readonly options: [];
|
|
1157
|
+
};
|
|
1158
|
+
readonly error: {
|
|
1159
|
+
readonly type: "text";
|
|
1160
|
+
readonly defaultValue: "";
|
|
1161
|
+
};
|
|
1162
|
+
};
|
|
1163
|
+
};
|
|
1164
|
+
};
|
|
787
1165
|
readonly content: {
|
|
788
1166
|
readonly attributes: {
|
|
789
1167
|
readonly method: "get";
|
|
@@ -844,14 +1222,31 @@ export declare const elementDeclarations: {
|
|
|
844
1222
|
}>>;
|
|
845
1223
|
readonly FormControl: {
|
|
846
1224
|
readonly type: "formControl";
|
|
1225
|
+
readonly attributeValues: {
|
|
1226
|
+
readonly subType: readonly string[];
|
|
1227
|
+
};
|
|
1228
|
+
readonly triggers: {
|
|
1229
|
+
readonly onChange: {
|
|
1230
|
+
readonly action: "onChange";
|
|
1231
|
+
readonly title: "On Change";
|
|
1232
|
+
readonly type: "trigger";
|
|
1233
|
+
readonly params: {};
|
|
1234
|
+
readonly preview: {
|
|
1235
|
+
readonly value: "";
|
|
1236
|
+
readonly name: "";
|
|
1237
|
+
};
|
|
1238
|
+
};
|
|
1239
|
+
};
|
|
847
1240
|
readonly content: {
|
|
848
1241
|
readonly attributes: {
|
|
849
1242
|
readonly subType: "text";
|
|
850
1243
|
readonly name: "";
|
|
851
1244
|
readonly label: "Label";
|
|
1245
|
+
readonly hideLabel: false;
|
|
852
1246
|
readonly placeholder: "";
|
|
853
1247
|
readonly defaultValue: "";
|
|
854
1248
|
readonly autoComplete: true;
|
|
1249
|
+
readonly autoFocus: false;
|
|
855
1250
|
readonly disabled: false;
|
|
856
1251
|
readonly options: readonly [];
|
|
857
1252
|
readonly required: true;
|
|
@@ -1338,6 +1733,9 @@ export declare const elementDeclarations: {
|
|
|
1338
1733
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<import('../form/FormControl/declaration').FormControlAttributes>;
|
|
1339
1734
|
readonly Heading: {
|
|
1340
1735
|
readonly type: "heading";
|
|
1736
|
+
readonly attributeValues: {
|
|
1737
|
+
readonly subType: readonly string[];
|
|
1738
|
+
};
|
|
1341
1739
|
readonly content: {
|
|
1342
1740
|
readonly attributes: {
|
|
1343
1741
|
readonly content: "Heading";
|
|
@@ -1392,7 +1790,7 @@ export declare const elementDeclarations: {
|
|
|
1392
1790
|
readonly 'margin-bottom': "25px";
|
|
1393
1791
|
readonly 'font-size': "38px";
|
|
1394
1792
|
readonly 'font-weight': 700;
|
|
1395
|
-
readonly 'line-height': "
|
|
1793
|
+
readonly 'line-height': "1.158";
|
|
1396
1794
|
};
|
|
1397
1795
|
};
|
|
1398
1796
|
};
|
|
@@ -1407,7 +1805,7 @@ export declare const elementDeclarations: {
|
|
|
1407
1805
|
readonly 'margin-bottom': "25px";
|
|
1408
1806
|
readonly 'font-size': "32px";
|
|
1409
1807
|
readonly 'font-weight': 700;
|
|
1410
|
-
readonly 'line-height': "
|
|
1808
|
+
readonly 'line-height': "1.125";
|
|
1411
1809
|
};
|
|
1412
1810
|
};
|
|
1413
1811
|
};
|
|
@@ -1422,7 +1820,7 @@ export declare const elementDeclarations: {
|
|
|
1422
1820
|
readonly 'margin-bottom': "25px";
|
|
1423
1821
|
readonly 'font-size': "24px";
|
|
1424
1822
|
readonly 'font-weight': 700;
|
|
1425
|
-
readonly 'line-height': "
|
|
1823
|
+
readonly 'line-height': "1.25";
|
|
1426
1824
|
};
|
|
1427
1825
|
};
|
|
1428
1826
|
};
|
|
@@ -1437,7 +1835,7 @@ export declare const elementDeclarations: {
|
|
|
1437
1835
|
readonly 'margin-bottom': "25px";
|
|
1438
1836
|
readonly 'font-size': "18px";
|
|
1439
1837
|
readonly 'font-weight': 700;
|
|
1440
|
-
readonly 'line-height': "
|
|
1838
|
+
readonly 'line-height': "1.333";
|
|
1441
1839
|
};
|
|
1442
1840
|
};
|
|
1443
1841
|
};
|
|
@@ -1452,7 +1850,7 @@ export declare const elementDeclarations: {
|
|
|
1452
1850
|
readonly 'margin-bottom': "25px";
|
|
1453
1851
|
readonly 'font-size': "14px";
|
|
1454
1852
|
readonly 'font-weight': 700;
|
|
1455
|
-
readonly 'line-height': "
|
|
1853
|
+
readonly 'line-height': "1.429";
|
|
1456
1854
|
};
|
|
1457
1855
|
};
|
|
1458
1856
|
};
|
|
@@ -1467,7 +1865,7 @@ export declare const elementDeclarations: {
|
|
|
1467
1865
|
readonly 'margin-bottom': "25px";
|
|
1468
1866
|
readonly 'font-size': "12px";
|
|
1469
1867
|
readonly 'font-weight': 700;
|
|
1470
|
-
readonly 'line-height': "
|
|
1868
|
+
readonly 'line-height': "1.5";
|
|
1471
1869
|
};
|
|
1472
1870
|
};
|
|
1473
1871
|
};
|
|
@@ -1482,10 +1880,15 @@ export declare const elementDeclarations: {
|
|
|
1482
1880
|
}>>;
|
|
1483
1881
|
readonly Image: {
|
|
1484
1882
|
readonly type: "image";
|
|
1883
|
+
readonly attributeValues: {
|
|
1884
|
+
readonly fetchPriority: readonly string[];
|
|
1885
|
+
readonly loadMode: readonly string[];
|
|
1886
|
+
};
|
|
1485
1887
|
readonly content: {
|
|
1486
1888
|
readonly attributes: {
|
|
1487
1889
|
readonly src: "https://cdn.plitzi.com/resources/img/placeholder-img.svg";
|
|
1488
1890
|
readonly alt: "";
|
|
1891
|
+
readonly decorative: false;
|
|
1489
1892
|
readonly fetchPriority: "auto";
|
|
1490
1893
|
readonly loadMode: "auto";
|
|
1491
1894
|
};
|
|
@@ -1538,10 +1941,14 @@ export declare const elementDeclarations: {
|
|
|
1538
1941
|
fetchPriority?: "high" | "low" | "auto" | undefined;
|
|
1539
1942
|
src?: string | undefined;
|
|
1540
1943
|
alt?: string | undefined;
|
|
1541
|
-
|
|
1944
|
+
decorative?: boolean | undefined;
|
|
1945
|
+
loadMode?: "auto" | "eager" | "lazy" | undefined;
|
|
1542
1946
|
}>>;
|
|
1543
1947
|
readonly LayoutContainer: {
|
|
1544
1948
|
readonly type: "layoutContainer";
|
|
1949
|
+
readonly attributeValues: {
|
|
1950
|
+
readonly subType: readonly string[];
|
|
1951
|
+
};
|
|
1545
1952
|
readonly content: {
|
|
1546
1953
|
readonly attributes: {
|
|
1547
1954
|
readonly subType: "div";
|
|
@@ -1596,6 +2003,10 @@ export declare const elementDeclarations: {
|
|
|
1596
2003
|
}>>;
|
|
1597
2004
|
readonly Link: {
|
|
1598
2005
|
readonly type: "link";
|
|
2006
|
+
readonly attributeValues: {
|
|
2007
|
+
readonly mode: readonly string[];
|
|
2008
|
+
readonly target: readonly string[];
|
|
2009
|
+
};
|
|
1599
2010
|
readonly content: {
|
|
1600
2011
|
readonly attributes: {
|
|
1601
2012
|
readonly href: "#";
|
|
@@ -1651,12 +2062,16 @@ export declare const elementDeclarations: {
|
|
|
1651
2062
|
};
|
|
1652
2063
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
1653
2064
|
mode?: "page" | "internal" | "external" | undefined;
|
|
2065
|
+
href?: string | undefined;
|
|
1654
2066
|
label?: string | undefined;
|
|
1655
2067
|
target?: "self" | "blank" | "parent" | "top" | undefined;
|
|
1656
|
-
href?: string | undefined;
|
|
1657
2068
|
}>>;
|
|
1658
2069
|
readonly List: {
|
|
1659
2070
|
readonly type: "list";
|
|
2071
|
+
readonly attributeValues: {
|
|
2072
|
+
readonly subType: readonly string[];
|
|
2073
|
+
readonly source: readonly string[];
|
|
2074
|
+
};
|
|
1660
2075
|
readonly sourceType: "list";
|
|
1661
2076
|
readonly content: {
|
|
1662
2077
|
readonly attributes: {
|
|
@@ -1876,7 +2291,7 @@ export declare const elementDeclarations: {
|
|
|
1876
2291
|
readonly base: {
|
|
1877
2292
|
readonly default: {
|
|
1878
2293
|
readonly 'font-size': "14px";
|
|
1879
|
-
readonly 'line-height': "
|
|
2294
|
+
readonly 'line-height': "1.714";
|
|
1880
2295
|
};
|
|
1881
2296
|
};
|
|
1882
2297
|
};
|
|
@@ -1889,6 +2304,52 @@ export declare const elementDeclarations: {
|
|
|
1889
2304
|
readonly ModalContainer: {
|
|
1890
2305
|
readonly type: "modalContainer";
|
|
1891
2306
|
readonly sourceType: "modalContainer";
|
|
2307
|
+
readonly triggers: {
|
|
2308
|
+
readonly onModalOpen: {
|
|
2309
|
+
readonly action: "onModalOpen";
|
|
2310
|
+
readonly title: "On Modal Open";
|
|
2311
|
+
readonly type: "trigger";
|
|
2312
|
+
readonly params: {
|
|
2313
|
+
readonly metadata: {
|
|
2314
|
+
readonly type: "text";
|
|
2315
|
+
readonly defaultValue: "";
|
|
2316
|
+
};
|
|
2317
|
+
};
|
|
2318
|
+
readonly preview: {
|
|
2319
|
+
readonly metadata: "";
|
|
2320
|
+
};
|
|
2321
|
+
};
|
|
2322
|
+
readonly onModalClose: {
|
|
2323
|
+
readonly action: "onModalClose";
|
|
2324
|
+
readonly title: "On Modal Close";
|
|
2325
|
+
readonly type: "trigger";
|
|
2326
|
+
readonly preview: {};
|
|
2327
|
+
readonly params: {};
|
|
2328
|
+
};
|
|
2329
|
+
};
|
|
2330
|
+
readonly callbacks: {
|
|
2331
|
+
readonly openModal: {
|
|
2332
|
+
readonly action: "openModal";
|
|
2333
|
+
readonly title: "Open Modal";
|
|
2334
|
+
readonly type: "callback";
|
|
2335
|
+
readonly params: {
|
|
2336
|
+
readonly metadata: {
|
|
2337
|
+
readonly type: "text";
|
|
2338
|
+
readonly defaultValue: "";
|
|
2339
|
+
};
|
|
2340
|
+
};
|
|
2341
|
+
readonly preview: {
|
|
2342
|
+
readonly metadata: "";
|
|
2343
|
+
};
|
|
2344
|
+
};
|
|
2345
|
+
readonly closeModal: {
|
|
2346
|
+
readonly action: "closeModal";
|
|
2347
|
+
readonly title: "Close Modal";
|
|
2348
|
+
readonly type: "callback";
|
|
2349
|
+
readonly params: {};
|
|
2350
|
+
readonly preview: {};
|
|
2351
|
+
};
|
|
2352
|
+
};
|
|
1892
2353
|
readonly content: {
|
|
1893
2354
|
readonly attributes: {
|
|
1894
2355
|
readonly title: "Modal Header";
|
|
@@ -1965,7 +2426,7 @@ export declare const elementDeclarations: {
|
|
|
1965
2426
|
readonly left: "50%";
|
|
1966
2427
|
readonly width: "500px";
|
|
1967
2428
|
readonly height: "300px";
|
|
1968
|
-
readonly 'background-color': "white";
|
|
2429
|
+
readonly 'background-color': "light-dark(white, oklch(0.21 0.006 285.885))";
|
|
1969
2430
|
readonly transform: "translate3d(-50%, -50%, 0px)";
|
|
1970
2431
|
readonly 'border-top-left-radius': "8px";
|
|
1971
2432
|
readonly 'border-top-right-radius': "8px";
|
|
@@ -1979,7 +2440,7 @@ export declare const elementDeclarations: {
|
|
|
1979
2440
|
readonly 'align-items': "center";
|
|
1980
2441
|
readonly 'justify-content': "space-between";
|
|
1981
2442
|
readonly 'border-bottom-width': "1px";
|
|
1982
|
-
readonly 'border-bottom-color': "#d1d5db";
|
|
2443
|
+
readonly 'border-bottom-color': "light-dark(#d1d5db, oklch(0.37 0.013 285.805))";
|
|
1983
2444
|
readonly 'border-bottom-style': "solid";
|
|
1984
2445
|
readonly 'padding-left': "20px";
|
|
1985
2446
|
readonly 'padding-right': "20px";
|
|
@@ -2096,6 +2557,7 @@ export declare const elementDeclarations: {
|
|
|
2096
2557
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
2097
2558
|
onLoad?: import('react').ReactEventHandler<"span"> | undefined;
|
|
2098
2559
|
onClick?: import('react').MouseEventHandler<"span"> | undefined;
|
|
2560
|
+
onPointerDown?: import('react').PointerEventHandler<"span"> | undefined;
|
|
2099
2561
|
onMouseEnter?: import('react').MouseEventHandler<"span"> | undefined;
|
|
2100
2562
|
onMouseLeave?: import('react').MouseEventHandler<"span"> | undefined;
|
|
2101
2563
|
onFocus?: import('react').FocusEventHandler<"span"> | undefined;
|
|
@@ -2284,7 +2746,6 @@ export declare const elementDeclarations: {
|
|
|
2284
2746
|
onTouchMoveCapture?: import('react').TouchEventHandler<"span"> | undefined;
|
|
2285
2747
|
onTouchStart?: import('react').TouchEventHandler<"span"> | undefined;
|
|
2286
2748
|
onTouchStartCapture?: import('react').TouchEventHandler<"span"> | undefined;
|
|
2287
|
-
onPointerDown?: import('react').PointerEventHandler<"span"> | undefined;
|
|
2288
2749
|
onPointerDownCapture?: import('react').PointerEventHandler<"span"> | undefined;
|
|
2289
2750
|
onPointerMove?: import('react').PointerEventHandler<"span"> | undefined;
|
|
2290
2751
|
onPointerMoveCapture?: import('react').PointerEventHandler<"span"> | undefined;
|
|
@@ -2416,6 +2877,19 @@ export declare const elementDeclarations: {
|
|
|
2416
2877
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<unknown>;
|
|
2417
2878
|
readonly Page: {
|
|
2418
2879
|
readonly type: "page";
|
|
2880
|
+
readonly triggers: {
|
|
2881
|
+
readonly onPageLoad: {
|
|
2882
|
+
readonly action: "onPageLoad";
|
|
2883
|
+
readonly title: "On Page Load";
|
|
2884
|
+
readonly type: "trigger";
|
|
2885
|
+
readonly params: {};
|
|
2886
|
+
readonly preview: {
|
|
2887
|
+
readonly pageId: "";
|
|
2888
|
+
readonly routeParams: "";
|
|
2889
|
+
readonly queryParams: "";
|
|
2890
|
+
};
|
|
2891
|
+
};
|
|
2892
|
+
};
|
|
2419
2893
|
readonly content: {
|
|
2420
2894
|
readonly attributes: {
|
|
2421
2895
|
readonly enabled: true;
|
|
@@ -2491,6 +2965,21 @@ export declare const elementDeclarations: {
|
|
|
2491
2965
|
}>>;
|
|
2492
2966
|
readonly Pagination: {
|
|
2493
2967
|
readonly type: "pagination";
|
|
2968
|
+
readonly attributeValues: {
|
|
2969
|
+
readonly mode: readonly string[];
|
|
2970
|
+
readonly target: readonly string[];
|
|
2971
|
+
};
|
|
2972
|
+
readonly triggers: {
|
|
2973
|
+
readonly onPageChange: {
|
|
2974
|
+
readonly action: "onPageChange";
|
|
2975
|
+
readonly title: "On Page Change";
|
|
2976
|
+
readonly type: "trigger";
|
|
2977
|
+
readonly params: {};
|
|
2978
|
+
readonly preview: {
|
|
2979
|
+
readonly page: "1";
|
|
2980
|
+
};
|
|
2981
|
+
};
|
|
2982
|
+
};
|
|
2494
2983
|
readonly content: {
|
|
2495
2984
|
readonly attributes: {
|
|
2496
2985
|
readonly pageInfo: {};
|
|
@@ -2552,6 +3041,7 @@ export declare const elementDeclarations: {
|
|
|
2552
3041
|
};
|
|
2553
3042
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
2554
3043
|
mode?: "pages" | "loadMore" | undefined;
|
|
3044
|
+
label?: string | undefined;
|
|
2555
3045
|
target?: "url" | "interaction" | undefined;
|
|
2556
3046
|
pageParam?: string | undefined;
|
|
2557
3047
|
pageInfo?: import('../structure/Pagination/Pagination').PaginationPageInfo | undefined;
|
|
@@ -2670,6 +3160,9 @@ export declare const elementDeclarations: {
|
|
|
2670
3160
|
}>>;
|
|
2671
3161
|
readonly RichText: {
|
|
2672
3162
|
readonly type: "richText";
|
|
3163
|
+
readonly attributeValues: {
|
|
3164
|
+
readonly format: readonly string[];
|
|
3165
|
+
};
|
|
2673
3166
|
readonly content: {
|
|
2674
3167
|
readonly attributes: {
|
|
2675
3168
|
readonly content: "";
|
|
@@ -2775,6 +3268,7 @@ export declare const elementDeclarations: {
|
|
|
2775
3268
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<unknown>;
|
|
2776
3269
|
readonly TabContainerBody: {
|
|
2777
3270
|
readonly type: "tabContainerBody";
|
|
3271
|
+
readonly ancestorType: "tabContainer";
|
|
2778
3272
|
readonly content: {
|
|
2779
3273
|
readonly attributes: {};
|
|
2780
3274
|
readonly definition: {
|
|
@@ -2824,6 +3318,7 @@ export declare const elementDeclarations: {
|
|
|
2824
3318
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<unknown>;
|
|
2825
3319
|
readonly TabContainerHeader: {
|
|
2826
3320
|
readonly type: "tabContainerHeader";
|
|
3321
|
+
readonly ancestorType: "tabContainer";
|
|
2827
3322
|
readonly content: {
|
|
2828
3323
|
readonly attributes: {};
|
|
2829
3324
|
readonly definition: {
|
|
@@ -2962,7 +3457,7 @@ export declare const elementDeclarations: {
|
|
|
2962
3457
|
readonly base: {
|
|
2963
3458
|
readonly default: {
|
|
2964
3459
|
readonly 'font-size': "14px";
|
|
2965
|
-
readonly 'line-height': "
|
|
3460
|
+
readonly 'line-height': "1.714";
|
|
2966
3461
|
readonly display: "inline";
|
|
2967
3462
|
};
|
|
2968
3463
|
};
|
|
@@ -2975,6 +3470,20 @@ export declare const elementDeclarations: {
|
|
|
2975
3470
|
}>>;
|
|
2976
3471
|
readonly ThemeToggle: {
|
|
2977
3472
|
readonly type: "themeToggle";
|
|
3473
|
+
readonly attributeValues: {
|
|
3474
|
+
readonly subType: readonly string[];
|
|
3475
|
+
};
|
|
3476
|
+
readonly triggers: {
|
|
3477
|
+
readonly onThemeChange: {
|
|
3478
|
+
readonly action: "onThemeChange";
|
|
3479
|
+
readonly title: "On Theme Change";
|
|
3480
|
+
readonly type: "trigger";
|
|
3481
|
+
readonly params: {};
|
|
3482
|
+
readonly preview: {
|
|
3483
|
+
readonly theme: "dark";
|
|
3484
|
+
};
|
|
3485
|
+
};
|
|
3486
|
+
};
|
|
2978
3487
|
readonly content: {
|
|
2979
3488
|
readonly attributes: {
|
|
2980
3489
|
readonly subType: "switch";
|
|
@@ -2986,7 +3495,7 @@ export declare const elementDeclarations: {
|
|
|
2986
3495
|
readonly definition: {
|
|
2987
3496
|
readonly label: "Theme Toggle";
|
|
2988
3497
|
readonly type: "themeToggle";
|
|
2989
|
-
readonly description: "Lets a visitor choose light or dark. It writes the choice on the document root, where a space stylesheet is already looking for it, and remembers it — so the machine decides until somebody says otherwise. It ships no colours of its own: style it with the space own classes
|
|
3498
|
+
readonly description: "Lets a visitor choose light or dark. It writes the choice on the document root, where a space stylesheet is already looking for it, and remembers it — so the machine decides until somebody says otherwise. It ships no colours of its own: style it with the space own classes. It shows the icon of the scheme in use by default; key a rule off `data-theme-icon` to change that.";
|
|
2990
3499
|
readonly items: readonly [];
|
|
2991
3500
|
readonly bindings: {};
|
|
2992
3501
|
readonly styleSelectors: {
|
|
@@ -3103,4 +3612,4 @@ export declare const elementDeclarations: {
|
|
|
3103
3612
|
}>>;
|
|
3104
3613
|
};
|
|
3105
3614
|
export type ElementDeclarationName = keyof typeof elementDeclarations;
|
|
3106
|
-
export { ApiContainerDeclaration, BlockHtmlDeclaration, BlockJsxDeclaration, ButtonDeclaration, ContainerDeclaration, CustomDeclaration, DialogContainerDeclaration, DropdownDeclaration, DropdownPopupDeclaration, FontAwesomeDeclaration, FormControlDeclaration, FormDeclaration, HeadingDeclaration, ImageDeclaration, LayoutContainerDeclaration, LinkDeclaration, ListDeclaration, ListItemDeclaration, LoadingDeclaration, MarkdownDeclaration, ModalContainerDeclaration, NodeHtmlDeclaration, NotFoundDeclaration, PageDeclaration, PaginationDeclaration, ParagraphDeclaration, ReferenceDeclaration, RichTextDeclaration, TabContainerBodyDeclaration, TabContainerDeclaration, TabContainerHeaderDeclaration, TabContainerItemDeclaration, TextDeclaration, ThemeToggleDeclaration, VideoDeclaration };
|
|
3615
|
+
export { ApiContainerDeclaration, BlockHtmlDeclaration, BlockJsxDeclaration, ButtonDeclaration, ChannelDeclaration, ContainerDeclaration, CustomDeclaration, DialogContainerDeclaration, DropdownDeclaration, DropdownPopupDeclaration, FontAwesomeDeclaration, FormControlDeclaration, FormDeclaration, HeadingDeclaration, ImageDeclaration, LayoutContainerDeclaration, LinkDeclaration, ListDeclaration, ListItemDeclaration, LoadingDeclaration, MarkdownDeclaration, ModalContainerDeclaration, NodeHtmlDeclaration, NotFoundDeclaration, PageDeclaration, PaginationDeclaration, ParagraphDeclaration, ReferenceDeclaration, RichTextDeclaration, TabContainerBodyDeclaration, TabContainerDeclaration, TabContainerHeaderDeclaration, TabContainerItemDeclaration, TextDeclaration, ThemeToggleDeclaration, VideoDeclaration };
|