@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
package/dist/index.d.ts
CHANGED
|
@@ -6,15 +6,16 @@ export * from './elements';
|
|
|
6
6
|
export * from './elements/settings';
|
|
7
7
|
export declare const defaultElements: {
|
|
8
8
|
dropdown: {
|
|
9
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Dropdown/Dropdown').DropdownProps>): import(
|
|
9
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Dropdown/Dropdown').DropdownProps>): import('react').JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
} & {
|
|
12
12
|
plugins: {
|
|
13
13
|
dropdownPopup: {
|
|
14
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Dropdown/DropdownPopup/DropdownPopup').DropdownPopupProps>): import(
|
|
14
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Dropdown/DropdownPopup/DropdownPopup').DropdownPopupProps>): import('react').JSX.Element;
|
|
15
15
|
displayName: string;
|
|
16
16
|
} & {
|
|
17
17
|
readonly type: "dropdownPopup";
|
|
18
|
+
readonly ancestorType: "dropdown";
|
|
18
19
|
readonly content: {
|
|
19
20
|
readonly attributes: {};
|
|
20
21
|
readonly definition: {
|
|
@@ -52,7 +53,7 @@ export declare const defaultElements: {
|
|
|
52
53
|
readonly style: {
|
|
53
54
|
readonly base: {
|
|
54
55
|
readonly default: {
|
|
55
|
-
readonly 'background-color': "white";
|
|
56
|
+
readonly 'background-color': "light-dark(white, oklch(0.21 0.006 285.885))";
|
|
56
57
|
readonly 'padding-right': "4px";
|
|
57
58
|
readonly 'padding-bottom': "4px";
|
|
58
59
|
readonly 'padding-left': "4px";
|
|
@@ -77,6 +78,9 @@ export declare const defaultElements: {
|
|
|
77
78
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<unknown>;
|
|
78
79
|
};
|
|
79
80
|
type: "dropdown";
|
|
81
|
+
attributeValues: {
|
|
82
|
+
readonly popupPlacement: readonly string[];
|
|
83
|
+
};
|
|
80
84
|
content: {
|
|
81
85
|
readonly attributes: {
|
|
82
86
|
readonly popupPlacement: "bottom";
|
|
@@ -158,7 +162,7 @@ export declare const defaultElements: {
|
|
|
158
162
|
}>;
|
|
159
163
|
};
|
|
160
164
|
notFound: {
|
|
161
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/NotFound/NotFound').NotFoundProps>): import(
|
|
165
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/NotFound/NotFound').NotFoundProps>): import('react').JSX.Element;
|
|
162
166
|
displayName: string;
|
|
163
167
|
} & {
|
|
164
168
|
readonly type: "notFound";
|
|
@@ -207,7 +211,7 @@ export declare const defaultElements: {
|
|
|
207
211
|
};
|
|
208
212
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<unknown>;
|
|
209
213
|
loading: {
|
|
210
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/Loading/Loading').LoadingProps>): import(
|
|
214
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/Loading/Loading').LoadingProps>): import('react').JSX.Element;
|
|
211
215
|
displayName: string;
|
|
212
216
|
} & {
|
|
213
217
|
readonly type: "loading";
|
|
@@ -256,7 +260,7 @@ export declare const defaultElements: {
|
|
|
256
260
|
};
|
|
257
261
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<unknown>;
|
|
258
262
|
custom: {
|
|
259
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/Custom/Custom').CustomProps>): import(
|
|
263
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/Custom/Custom').CustomProps>): import('react').JSX.Element;
|
|
260
264
|
displayName: string;
|
|
261
265
|
} & {
|
|
262
266
|
readonly type: "custom";
|
|
@@ -311,7 +315,7 @@ export declare const defaultElements: {
|
|
|
311
315
|
};
|
|
312
316
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<import('./elements/advanced/Custom/declaration').CustomAttributes>;
|
|
313
317
|
reference: {
|
|
314
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/Reference/Reference').ReferenceProps>): import(
|
|
318
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/Reference/Reference').ReferenceProps>): import('react').JSX.Element;
|
|
315
319
|
displayName: string;
|
|
316
320
|
} & {
|
|
317
321
|
readonly type: "reference";
|
|
@@ -369,7 +373,7 @@ export declare const defaultElements: {
|
|
|
369
373
|
referenceContainer: string;
|
|
370
374
|
}>>;
|
|
371
375
|
blockHtml: {
|
|
372
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/BlockHtml/BlockHtml').BlockHtmlProps>): import(
|
|
376
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/BlockHtml/BlockHtml').BlockHtmlProps>): import('react').JSX.Element;
|
|
373
377
|
displayName: string;
|
|
374
378
|
} & {
|
|
375
379
|
readonly type: "blockHtml";
|
|
@@ -422,7 +426,7 @@ export declare const defaultElements: {
|
|
|
422
426
|
content?: string | undefined;
|
|
423
427
|
}>>;
|
|
424
428
|
nodeHtml: {
|
|
425
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/NodeHtml/NodeHtml').NodeHtmlProps<"span">>): import(
|
|
429
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/NodeHtml/NodeHtml').NodeHtmlProps<"span">>): import('react').JSX.Element;
|
|
426
430
|
displayName: string;
|
|
427
431
|
} & {
|
|
428
432
|
readonly type: "nodeHtml";
|
|
@@ -493,6 +497,7 @@ export declare const defaultElements: {
|
|
|
493
497
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
494
498
|
onLoad?: import('react').ReactEventHandler<"span"> | undefined;
|
|
495
499
|
onClick?: import('react').MouseEventHandler<"span"> | undefined;
|
|
500
|
+
onPointerDown?: import('react').PointerEventHandler<"span"> | undefined;
|
|
496
501
|
onMouseEnter?: import('react').MouseEventHandler<"span"> | undefined;
|
|
497
502
|
onMouseLeave?: import('react').MouseEventHandler<"span"> | undefined;
|
|
498
503
|
onFocus?: import('react').FocusEventHandler<"span"> | undefined;
|
|
@@ -681,7 +686,6 @@ export declare const defaultElements: {
|
|
|
681
686
|
onTouchMoveCapture?: import('react').TouchEventHandler<"span"> | undefined;
|
|
682
687
|
onTouchStart?: import('react').TouchEventHandler<"span"> | undefined;
|
|
683
688
|
onTouchStartCapture?: import('react').TouchEventHandler<"span"> | undefined;
|
|
684
|
-
onPointerDown?: import('react').PointerEventHandler<"span"> | undefined;
|
|
685
689
|
onPointerDownCapture?: import('react').PointerEventHandler<"span"> | undefined;
|
|
686
690
|
onPointerMove?: import('react').PointerEventHandler<"span"> | undefined;
|
|
687
691
|
onPointerMoveCapture?: import('react').PointerEventHandler<"span"> | undefined;
|
|
@@ -766,7 +770,7 @@ export declare const defaultElements: {
|
|
|
766
770
|
subType?: "span" | undefined;
|
|
767
771
|
}>>;
|
|
768
772
|
blockJsx: {
|
|
769
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/BlockJsx/BlockJsx').BlockJsxProps>): import(
|
|
773
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/BlockJsx/BlockJsx').BlockJsxProps>): import('react').JSX.Element;
|
|
770
774
|
displayName: string;
|
|
771
775
|
} & {
|
|
772
776
|
readonly type: "blockJsx";
|
|
@@ -820,10 +824,23 @@ export declare const defaultElements: {
|
|
|
820
824
|
};
|
|
821
825
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<import('./elements/advanced/BlockJsx/declaration').BlockJsxAttributes>;
|
|
822
826
|
page: {
|
|
823
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/Page/Page').PageProps>): import(
|
|
827
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/Page/Page').PageProps>): import('react').JSX.Element;
|
|
824
828
|
displayName: string;
|
|
825
829
|
} & {
|
|
826
830
|
readonly type: "page";
|
|
831
|
+
readonly triggers: {
|
|
832
|
+
readonly onPageLoad: {
|
|
833
|
+
readonly action: "onPageLoad";
|
|
834
|
+
readonly title: "On Page Load";
|
|
835
|
+
readonly type: "trigger";
|
|
836
|
+
readonly params: {};
|
|
837
|
+
readonly preview: {
|
|
838
|
+
readonly pageId: "";
|
|
839
|
+
readonly routeParams: "";
|
|
840
|
+
readonly queryParams: "";
|
|
841
|
+
};
|
|
842
|
+
};
|
|
843
|
+
};
|
|
827
844
|
readonly content: {
|
|
828
845
|
readonly attributes: {
|
|
829
846
|
readonly enabled: true;
|
|
@@ -898,10 +915,13 @@ export declare const defaultElements: {
|
|
|
898
915
|
seoPageDescription?: string | undefined;
|
|
899
916
|
}>>;
|
|
900
917
|
container: {
|
|
901
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/Container/Container').ContainerProps>): import(
|
|
918
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/Container/Container').ContainerProps>): import('react').JSX.Element;
|
|
902
919
|
displayName: string;
|
|
903
920
|
} & {
|
|
904
921
|
readonly type: "container";
|
|
922
|
+
readonly attributeValues: {
|
|
923
|
+
readonly subType: readonly string[];
|
|
924
|
+
};
|
|
905
925
|
readonly content: {
|
|
906
926
|
readonly attributes: {
|
|
907
927
|
readonly subType: "div";
|
|
@@ -950,13 +970,18 @@ export declare const defaultElements: {
|
|
|
950
970
|
readonly settings: {};
|
|
951
971
|
};
|
|
952
972
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
953
|
-
|
|
973
|
+
label?: string | undefined;
|
|
974
|
+
subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "dl" | "dt" | "dd" | "li" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
|
|
975
|
+
decorative?: boolean | undefined;
|
|
954
976
|
}>>;
|
|
955
977
|
layoutContainer: {
|
|
956
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/LayoutContainer/LayoutContainer').LayoutContainerProps>): import(
|
|
978
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/LayoutContainer/LayoutContainer').LayoutContainerProps>): import('react').JSX.Element;
|
|
957
979
|
displayName: string;
|
|
958
980
|
} & {
|
|
959
981
|
readonly type: "layoutContainer";
|
|
982
|
+
readonly attributeValues: {
|
|
983
|
+
readonly subType: readonly string[];
|
|
984
|
+
};
|
|
960
985
|
readonly content: {
|
|
961
986
|
readonly attributes: {
|
|
962
987
|
readonly subType: "div";
|
|
@@ -1010,11 +1035,92 @@ export declare const defaultElements: {
|
|
|
1010
1035
|
layoutContainer?: string | undefined;
|
|
1011
1036
|
}>>;
|
|
1012
1037
|
dialogContainer: {
|
|
1013
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/DialogContainer/DialogContainer').DialogContainerProps>): import(
|
|
1038
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/DialogContainer/DialogContainer').DialogContainerProps>): import('react').JSX.Element;
|
|
1014
1039
|
displayName: string;
|
|
1015
1040
|
} & {
|
|
1016
1041
|
readonly type: "dialogContainer";
|
|
1017
1042
|
readonly sourceType: "dialogContainer";
|
|
1043
|
+
readonly triggers: {
|
|
1044
|
+
readonly onDialogAccept: {
|
|
1045
|
+
readonly action: "onDialogAccept";
|
|
1046
|
+
readonly title: "On Dialog Accept";
|
|
1047
|
+
readonly type: "trigger";
|
|
1048
|
+
readonly params: {
|
|
1049
|
+
readonly metadata: {
|
|
1050
|
+
readonly type: "text";
|
|
1051
|
+
readonly defaultValue: "";
|
|
1052
|
+
};
|
|
1053
|
+
};
|
|
1054
|
+
readonly preview: {
|
|
1055
|
+
readonly metadata: "";
|
|
1056
|
+
};
|
|
1057
|
+
};
|
|
1058
|
+
readonly onDialogReject: {
|
|
1059
|
+
readonly action: "onDialogReject";
|
|
1060
|
+
readonly title: "On Dialog Reject";
|
|
1061
|
+
readonly type: "trigger";
|
|
1062
|
+
readonly params: {
|
|
1063
|
+
readonly metadata: {
|
|
1064
|
+
readonly type: "text";
|
|
1065
|
+
readonly defaultValue: "";
|
|
1066
|
+
};
|
|
1067
|
+
};
|
|
1068
|
+
readonly preview: {
|
|
1069
|
+
readonly metadata: "";
|
|
1070
|
+
};
|
|
1071
|
+
};
|
|
1072
|
+
readonly onDialogOpen: {
|
|
1073
|
+
readonly action: "onDialogOpen";
|
|
1074
|
+
readonly title: "On Dialog Open";
|
|
1075
|
+
readonly type: "trigger";
|
|
1076
|
+
readonly params: {
|
|
1077
|
+
readonly metadata: {
|
|
1078
|
+
readonly type: "text";
|
|
1079
|
+
readonly defaultValue: "";
|
|
1080
|
+
};
|
|
1081
|
+
};
|
|
1082
|
+
readonly preview: {
|
|
1083
|
+
readonly metadata: "";
|
|
1084
|
+
};
|
|
1085
|
+
};
|
|
1086
|
+
readonly onDialogClose: {
|
|
1087
|
+
readonly action: "onDialogClose";
|
|
1088
|
+
readonly title: "On Dialog Close";
|
|
1089
|
+
readonly type: "trigger";
|
|
1090
|
+
readonly params: {
|
|
1091
|
+
readonly metadata: {
|
|
1092
|
+
readonly type: "text";
|
|
1093
|
+
readonly defaultValue: "";
|
|
1094
|
+
};
|
|
1095
|
+
};
|
|
1096
|
+
readonly preview: {
|
|
1097
|
+
readonly metadata: "";
|
|
1098
|
+
};
|
|
1099
|
+
};
|
|
1100
|
+
};
|
|
1101
|
+
readonly callbacks: {
|
|
1102
|
+
readonly openDialog: {
|
|
1103
|
+
readonly action: "openDialog";
|
|
1104
|
+
readonly title: "Open Dialog";
|
|
1105
|
+
readonly type: "callback";
|
|
1106
|
+
readonly params: {
|
|
1107
|
+
readonly metadata: {
|
|
1108
|
+
readonly type: "text";
|
|
1109
|
+
readonly defaultValue: "";
|
|
1110
|
+
};
|
|
1111
|
+
};
|
|
1112
|
+
readonly preview: {
|
|
1113
|
+
readonly metadata: "";
|
|
1114
|
+
};
|
|
1115
|
+
};
|
|
1116
|
+
readonly closeDialog: {
|
|
1117
|
+
readonly action: "closeDialog";
|
|
1118
|
+
readonly title: "Close Dialog";
|
|
1119
|
+
readonly type: "callback";
|
|
1120
|
+
readonly preview: {};
|
|
1121
|
+
readonly params: {};
|
|
1122
|
+
};
|
|
1123
|
+
};
|
|
1018
1124
|
readonly content: {
|
|
1019
1125
|
readonly attributes: {
|
|
1020
1126
|
readonly headerLabel: "Dialog Header";
|
|
@@ -1096,7 +1202,7 @@ export declare const defaultElements: {
|
|
|
1096
1202
|
readonly left: "50%";
|
|
1097
1203
|
readonly width: "500px";
|
|
1098
1204
|
readonly height: "300px";
|
|
1099
|
-
readonly 'background-color': "white";
|
|
1205
|
+
readonly 'background-color': "light-dark(white, oklch(0.21 0.006 285.885))";
|
|
1100
1206
|
readonly transform: "translate3d(-50%, -50%, 0px)";
|
|
1101
1207
|
readonly 'padding-top': "20px";
|
|
1102
1208
|
readonly 'padding-bottom': "20px";
|
|
@@ -1163,11 +1269,57 @@ export declare const defaultElements: {
|
|
|
1163
1269
|
autoHideAfterClick: boolean;
|
|
1164
1270
|
}>>;
|
|
1165
1271
|
modalContainer: {
|
|
1166
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/ModalContainer/ModalContainer').ModalContainerProps>): import(
|
|
1272
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/ModalContainer/ModalContainer').ModalContainerProps>): import('react').JSX.Element;
|
|
1167
1273
|
displayName: string;
|
|
1168
1274
|
} & {
|
|
1169
1275
|
readonly type: "modalContainer";
|
|
1170
1276
|
readonly sourceType: "modalContainer";
|
|
1277
|
+
readonly triggers: {
|
|
1278
|
+
readonly onModalOpen: {
|
|
1279
|
+
readonly action: "onModalOpen";
|
|
1280
|
+
readonly title: "On Modal Open";
|
|
1281
|
+
readonly type: "trigger";
|
|
1282
|
+
readonly params: {
|
|
1283
|
+
readonly metadata: {
|
|
1284
|
+
readonly type: "text";
|
|
1285
|
+
readonly defaultValue: "";
|
|
1286
|
+
};
|
|
1287
|
+
};
|
|
1288
|
+
readonly preview: {
|
|
1289
|
+
readonly metadata: "";
|
|
1290
|
+
};
|
|
1291
|
+
};
|
|
1292
|
+
readonly onModalClose: {
|
|
1293
|
+
readonly action: "onModalClose";
|
|
1294
|
+
readonly title: "On Modal Close";
|
|
1295
|
+
readonly type: "trigger";
|
|
1296
|
+
readonly preview: {};
|
|
1297
|
+
readonly params: {};
|
|
1298
|
+
};
|
|
1299
|
+
};
|
|
1300
|
+
readonly callbacks: {
|
|
1301
|
+
readonly openModal: {
|
|
1302
|
+
readonly action: "openModal";
|
|
1303
|
+
readonly title: "Open Modal";
|
|
1304
|
+
readonly type: "callback";
|
|
1305
|
+
readonly params: {
|
|
1306
|
+
readonly metadata: {
|
|
1307
|
+
readonly type: "text";
|
|
1308
|
+
readonly defaultValue: "";
|
|
1309
|
+
};
|
|
1310
|
+
};
|
|
1311
|
+
readonly preview: {
|
|
1312
|
+
readonly metadata: "";
|
|
1313
|
+
};
|
|
1314
|
+
};
|
|
1315
|
+
readonly closeModal: {
|
|
1316
|
+
readonly action: "closeModal";
|
|
1317
|
+
readonly title: "Close Modal";
|
|
1318
|
+
readonly type: "callback";
|
|
1319
|
+
readonly params: {};
|
|
1320
|
+
readonly preview: {};
|
|
1321
|
+
};
|
|
1322
|
+
};
|
|
1171
1323
|
readonly content: {
|
|
1172
1324
|
readonly attributes: {
|
|
1173
1325
|
readonly title: "Modal Header";
|
|
@@ -1244,7 +1396,7 @@ export declare const defaultElements: {
|
|
|
1244
1396
|
readonly left: "50%";
|
|
1245
1397
|
readonly width: "500px";
|
|
1246
1398
|
readonly height: "300px";
|
|
1247
|
-
readonly 'background-color': "white";
|
|
1399
|
+
readonly 'background-color': "light-dark(white, oklch(0.21 0.006 285.885))";
|
|
1248
1400
|
readonly transform: "translate3d(-50%, -50%, 0px)";
|
|
1249
1401
|
readonly 'border-top-left-radius': "8px";
|
|
1250
1402
|
readonly 'border-top-right-radius': "8px";
|
|
@@ -1258,7 +1410,7 @@ export declare const defaultElements: {
|
|
|
1258
1410
|
readonly 'align-items': "center";
|
|
1259
1411
|
readonly 'justify-content': "space-between";
|
|
1260
1412
|
readonly 'border-bottom-width': "1px";
|
|
1261
|
-
readonly 'border-bottom-color': "#d1d5db";
|
|
1413
|
+
readonly 'border-bottom-color': "light-dark(#d1d5db, oklch(0.37 0.013 285.805))";
|
|
1262
1414
|
readonly 'border-bottom-style': "solid";
|
|
1263
1415
|
readonly 'padding-left': "20px";
|
|
1264
1416
|
readonly 'padding-right': "20px";
|
|
@@ -1307,15 +1459,16 @@ export declare const defaultElements: {
|
|
|
1307
1459
|
autoHideAfterClick?: boolean | undefined;
|
|
1308
1460
|
}>>;
|
|
1309
1461
|
tabContainer: {
|
|
1310
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainer').TabContainerProps>): import(
|
|
1462
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainer').TabContainerProps>): import('react').JSX.Element;
|
|
1311
1463
|
displayName: string;
|
|
1312
1464
|
} & {
|
|
1313
1465
|
plugins: {
|
|
1314
1466
|
tabContainerHeader: {
|
|
1315
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainerHeader/TabContainerHeader').TabContainerHeaderProps>): import(
|
|
1467
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainerHeader/TabContainerHeader').TabContainerHeaderProps>): import('react').JSX.Element;
|
|
1316
1468
|
displayName: string;
|
|
1317
1469
|
} & {
|
|
1318
1470
|
readonly type: "tabContainerHeader";
|
|
1471
|
+
readonly ancestorType: "tabContainer";
|
|
1319
1472
|
readonly content: {
|
|
1320
1473
|
readonly attributes: {};
|
|
1321
1474
|
readonly definition: {
|
|
@@ -1364,10 +1517,11 @@ export declare const defaultElements: {
|
|
|
1364
1517
|
readonly initialItems: readonly ["tabContainerItem", "tabContainerItem", "tabContainerItem"];
|
|
1365
1518
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<unknown>;
|
|
1366
1519
|
tabContainerBody: {
|
|
1367
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainerBody/TabContainerBody').TabContainerBodyProps>): import(
|
|
1520
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainerBody/TabContainerBody').TabContainerBodyProps>): import('react').JSX.Element;
|
|
1368
1521
|
displayName: string;
|
|
1369
1522
|
} & {
|
|
1370
1523
|
readonly type: "tabContainerBody";
|
|
1524
|
+
readonly ancestorType: "tabContainer";
|
|
1371
1525
|
readonly content: {
|
|
1372
1526
|
readonly attributes: {};
|
|
1373
1527
|
readonly definition: {
|
|
@@ -1416,7 +1570,7 @@ export declare const defaultElements: {
|
|
|
1416
1570
|
readonly initialItems: readonly ["tabContainerItem", "tabContainerItem", "tabContainerItem"];
|
|
1417
1571
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<unknown>;
|
|
1418
1572
|
tabContainerItem: {
|
|
1419
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainerItem/TabContainerItem').TabContainerItemProps>): import(
|
|
1573
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainerItem/TabContainerItem').TabContainerItemProps>): import('react').JSX.Element;
|
|
1420
1574
|
displayName: string;
|
|
1421
1575
|
} & {
|
|
1422
1576
|
readonly type: "tabContainerItem";
|
|
@@ -1517,10 +1671,13 @@ export declare const defaultElements: {
|
|
|
1517
1671
|
__attributes: unknown;
|
|
1518
1672
|
};
|
|
1519
1673
|
heading: {
|
|
1520
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Heading/Heading').HeadingProps>): import(
|
|
1674
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Heading/Heading').HeadingProps>): import('react').JSX.Element;
|
|
1521
1675
|
displayName: string;
|
|
1522
1676
|
} & {
|
|
1523
1677
|
readonly type: "heading";
|
|
1678
|
+
readonly attributeValues: {
|
|
1679
|
+
readonly subType: readonly string[];
|
|
1680
|
+
};
|
|
1524
1681
|
readonly content: {
|
|
1525
1682
|
readonly attributes: {
|
|
1526
1683
|
readonly content: "Heading";
|
|
@@ -1575,7 +1732,7 @@ export declare const defaultElements: {
|
|
|
1575
1732
|
readonly 'margin-bottom': "25px";
|
|
1576
1733
|
readonly 'font-size': "38px";
|
|
1577
1734
|
readonly 'font-weight': 700;
|
|
1578
|
-
readonly 'line-height': "
|
|
1735
|
+
readonly 'line-height': "1.158";
|
|
1579
1736
|
};
|
|
1580
1737
|
};
|
|
1581
1738
|
};
|
|
@@ -1590,7 +1747,7 @@ export declare const defaultElements: {
|
|
|
1590
1747
|
readonly 'margin-bottom': "25px";
|
|
1591
1748
|
readonly 'font-size': "32px";
|
|
1592
1749
|
readonly 'font-weight': 700;
|
|
1593
|
-
readonly 'line-height': "
|
|
1750
|
+
readonly 'line-height': "1.125";
|
|
1594
1751
|
};
|
|
1595
1752
|
};
|
|
1596
1753
|
};
|
|
@@ -1605,7 +1762,7 @@ export declare const defaultElements: {
|
|
|
1605
1762
|
readonly 'margin-bottom': "25px";
|
|
1606
1763
|
readonly 'font-size': "24px";
|
|
1607
1764
|
readonly 'font-weight': 700;
|
|
1608
|
-
readonly 'line-height': "
|
|
1765
|
+
readonly 'line-height': "1.25";
|
|
1609
1766
|
};
|
|
1610
1767
|
};
|
|
1611
1768
|
};
|
|
@@ -1620,7 +1777,7 @@ export declare const defaultElements: {
|
|
|
1620
1777
|
readonly 'margin-bottom': "25px";
|
|
1621
1778
|
readonly 'font-size': "18px";
|
|
1622
1779
|
readonly 'font-weight': 700;
|
|
1623
|
-
readonly 'line-height': "
|
|
1780
|
+
readonly 'line-height': "1.333";
|
|
1624
1781
|
};
|
|
1625
1782
|
};
|
|
1626
1783
|
};
|
|
@@ -1635,7 +1792,7 @@ export declare const defaultElements: {
|
|
|
1635
1792
|
readonly 'margin-bottom': "25px";
|
|
1636
1793
|
readonly 'font-size': "14px";
|
|
1637
1794
|
readonly 'font-weight': 700;
|
|
1638
|
-
readonly 'line-height': "
|
|
1795
|
+
readonly 'line-height': "1.429";
|
|
1639
1796
|
};
|
|
1640
1797
|
};
|
|
1641
1798
|
};
|
|
@@ -1650,7 +1807,7 @@ export declare const defaultElements: {
|
|
|
1650
1807
|
readonly 'margin-bottom': "25px";
|
|
1651
1808
|
readonly 'font-size': "12px";
|
|
1652
1809
|
readonly 'font-weight': 700;
|
|
1653
|
-
readonly 'line-height': "
|
|
1810
|
+
readonly 'line-height': "1.5";
|
|
1654
1811
|
};
|
|
1655
1812
|
};
|
|
1656
1813
|
};
|
|
@@ -1664,14 +1821,19 @@ export declare const defaultElements: {
|
|
|
1664
1821
|
subType?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
|
|
1665
1822
|
}>>;
|
|
1666
1823
|
image: {
|
|
1667
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/media/Image/Image').ImageProps>): import(
|
|
1824
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/media/Image/Image').ImageProps>): import('react').JSX.Element;
|
|
1668
1825
|
displayName: string;
|
|
1669
1826
|
} & {
|
|
1670
1827
|
readonly type: "image";
|
|
1828
|
+
readonly attributeValues: {
|
|
1829
|
+
readonly fetchPriority: readonly string[];
|
|
1830
|
+
readonly loadMode: readonly string[];
|
|
1831
|
+
};
|
|
1671
1832
|
readonly content: {
|
|
1672
1833
|
readonly attributes: {
|
|
1673
1834
|
readonly src: "https://cdn.plitzi.com/resources/img/placeholder-img.svg";
|
|
1674
1835
|
readonly alt: "";
|
|
1836
|
+
readonly decorative: false;
|
|
1675
1837
|
readonly fetchPriority: "auto";
|
|
1676
1838
|
readonly loadMode: "auto";
|
|
1677
1839
|
};
|
|
@@ -1724,10 +1886,11 @@ export declare const defaultElements: {
|
|
|
1724
1886
|
fetchPriority?: "high" | "low" | "auto" | undefined;
|
|
1725
1887
|
src?: string | undefined;
|
|
1726
1888
|
alt?: string | undefined;
|
|
1727
|
-
|
|
1889
|
+
decorative?: boolean | undefined;
|
|
1890
|
+
loadMode?: "auto" | "eager" | "lazy" | undefined;
|
|
1728
1891
|
}>>;
|
|
1729
1892
|
video: {
|
|
1730
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/media/Video/Video').VideoProps>): import(
|
|
1893
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/media/Video/Video').VideoProps>): import('react').JSX.Element;
|
|
1731
1894
|
displayName: string;
|
|
1732
1895
|
} & {
|
|
1733
1896
|
readonly type: "video";
|
|
@@ -1792,7 +1955,7 @@ export declare const defaultElements: {
|
|
|
1792
1955
|
playsInline?: boolean | undefined;
|
|
1793
1956
|
}>>;
|
|
1794
1957
|
fontAwesome: {
|
|
1795
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/media/FontAwesome/FontAwesome').FontAwesomeProps>): import(
|
|
1958
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/media/FontAwesome/FontAwesome').FontAwesomeProps>): import('react').JSX.Element;
|
|
1796
1959
|
displayName: string;
|
|
1797
1960
|
} & {
|
|
1798
1961
|
readonly type: "fontAwesome";
|
|
@@ -1848,14 +2011,19 @@ export declare const defaultElements: {
|
|
|
1848
2011
|
};
|
|
1849
2012
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
1850
2013
|
size?: string | undefined;
|
|
2014
|
+
label?: string | undefined;
|
|
1851
2015
|
icon?: string | undefined;
|
|
1852
2016
|
iconAnimation?: string | undefined;
|
|
1853
2017
|
}>>;
|
|
1854
2018
|
button: {
|
|
1855
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Button/Button').ButtonProps>): import(
|
|
2019
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Button/Button').ButtonProps>): import('react').JSX.Element;
|
|
1856
2020
|
displayName: string;
|
|
1857
2021
|
} & {
|
|
1858
2022
|
readonly type: "button";
|
|
2023
|
+
readonly attributeValues: {
|
|
2024
|
+
readonly subType: readonly string[];
|
|
2025
|
+
readonly contentPlacement: readonly string[];
|
|
2026
|
+
};
|
|
1859
2027
|
readonly content: {
|
|
1860
2028
|
readonly attributes: {
|
|
1861
2029
|
readonly contentPlacement: "after";
|
|
@@ -1915,7 +2083,7 @@ export declare const defaultElements: {
|
|
|
1915
2083
|
readonly 'padding-bottom': "6px";
|
|
1916
2084
|
readonly cursor: "pointer";
|
|
1917
2085
|
readonly 'font-size': "16px";
|
|
1918
|
-
readonly 'line-height': "
|
|
2086
|
+
readonly 'line-height': "1.5";
|
|
1919
2087
|
readonly 'border-top-left-radius': "4px";
|
|
1920
2088
|
readonly 'border-top-right-radius': "4px";
|
|
1921
2089
|
readonly 'border-bottom-left-radius': "4px";
|
|
@@ -1936,7 +2104,7 @@ export declare const defaultElements: {
|
|
|
1936
2104
|
readonly 'padding-bottom': "6px";
|
|
1937
2105
|
readonly cursor: "pointer";
|
|
1938
2106
|
readonly 'font-size': "16px";
|
|
1939
|
-
readonly 'line-height': "
|
|
2107
|
+
readonly 'line-height': "1.5";
|
|
1940
2108
|
readonly 'border-top-left-radius': "4px";
|
|
1941
2109
|
readonly 'border-top-right-radius': "4px";
|
|
1942
2110
|
readonly 'border-bottom-left-radius': "4px";
|
|
@@ -1957,7 +2125,7 @@ export declare const defaultElements: {
|
|
|
1957
2125
|
readonly 'padding-bottom': "6px";
|
|
1958
2126
|
readonly cursor: "pointer";
|
|
1959
2127
|
readonly 'font-size': "16px";
|
|
1960
|
-
readonly 'line-height': "
|
|
2128
|
+
readonly 'line-height': "1.5";
|
|
1961
2129
|
readonly 'border-top-left-radius': "4px";
|
|
1962
2130
|
readonly 'border-top-right-radius': "4px";
|
|
1963
2131
|
readonly 'border-bottom-left-radius': "4px";
|
|
@@ -1971,6 +2139,7 @@ export declare const defaultElements: {
|
|
|
1971
2139
|
readonly settings: {};
|
|
1972
2140
|
};
|
|
1973
2141
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
2142
|
+
label?: string | undefined;
|
|
1974
2143
|
title?: string | undefined;
|
|
1975
2144
|
content?: string | undefined;
|
|
1976
2145
|
disabled?: boolean | undefined;
|
|
@@ -1980,7 +2149,7 @@ export declare const defaultElements: {
|
|
|
1980
2149
|
ariaPressed?: boolean | undefined;
|
|
1981
2150
|
}>>;
|
|
1982
2151
|
paragraph: {
|
|
1983
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Paragraph/Paragraph').ParagraphProps>): import(
|
|
2152
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Paragraph/Paragraph').ParagraphProps>): import('react').JSX.Element;
|
|
1984
2153
|
displayName: string;
|
|
1985
2154
|
} & {
|
|
1986
2155
|
readonly type: "paragraph";
|
|
@@ -2036,7 +2205,7 @@ export declare const defaultElements: {
|
|
|
2036
2205
|
content?: string | number | undefined;
|
|
2037
2206
|
}>>;
|
|
2038
2207
|
text: {
|
|
2039
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Text/Text').TextProps>): import(
|
|
2208
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Text/Text').TextProps>): import('react').JSX.Element;
|
|
2040
2209
|
displayName: string;
|
|
2041
2210
|
} & {
|
|
2042
2211
|
readonly type: "text";
|
|
@@ -2081,7 +2250,7 @@ export declare const defaultElements: {
|
|
|
2081
2250
|
readonly base: {
|
|
2082
2251
|
readonly default: {
|
|
2083
2252
|
readonly 'font-size': "14px";
|
|
2084
|
-
readonly 'line-height': "
|
|
2253
|
+
readonly 'line-height': "1.714";
|
|
2085
2254
|
readonly display: "inline";
|
|
2086
2255
|
};
|
|
2087
2256
|
};
|
|
@@ -2093,10 +2262,24 @@ export declare const defaultElements: {
|
|
|
2093
2262
|
content?: string | number | undefined;
|
|
2094
2263
|
}>>;
|
|
2095
2264
|
themeToggle: {
|
|
2096
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/ThemeToggle/ThemeToggle').ThemeToggleProps>): import(
|
|
2265
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/ThemeToggle/ThemeToggle').ThemeToggleProps>): import('react').JSX.Element;
|
|
2097
2266
|
displayName: string;
|
|
2098
2267
|
} & {
|
|
2099
2268
|
readonly type: "themeToggle";
|
|
2269
|
+
readonly attributeValues: {
|
|
2270
|
+
readonly subType: readonly string[];
|
|
2271
|
+
};
|
|
2272
|
+
readonly triggers: {
|
|
2273
|
+
readonly onThemeChange: {
|
|
2274
|
+
readonly action: "onThemeChange";
|
|
2275
|
+
readonly title: "On Theme Change";
|
|
2276
|
+
readonly type: "trigger";
|
|
2277
|
+
readonly params: {};
|
|
2278
|
+
readonly preview: {
|
|
2279
|
+
readonly theme: "dark";
|
|
2280
|
+
};
|
|
2281
|
+
};
|
|
2282
|
+
};
|
|
2100
2283
|
readonly content: {
|
|
2101
2284
|
readonly attributes: {
|
|
2102
2285
|
readonly subType: "switch";
|
|
@@ -2108,7 +2291,7 @@ export declare const defaultElements: {
|
|
|
2108
2291
|
readonly definition: {
|
|
2109
2292
|
readonly label: "Theme Toggle";
|
|
2110
2293
|
readonly type: "themeToggle";
|
|
2111
|
-
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
|
|
2294
|
+
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.";
|
|
2112
2295
|
readonly items: readonly [];
|
|
2113
2296
|
readonly bindings: {};
|
|
2114
2297
|
readonly styleSelectors: {
|
|
@@ -2162,12 +2345,12 @@ export declare const defaultElements: {
|
|
|
2162
2345
|
showSystem?: boolean | undefined;
|
|
2163
2346
|
}>>;
|
|
2164
2347
|
list: {
|
|
2165
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/List/List').ListProps<unknown>>): import(
|
|
2348
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/List/List').ListProps<unknown>>): import('react').JSX.Element;
|
|
2166
2349
|
displayName: string;
|
|
2167
2350
|
} & {
|
|
2168
2351
|
plugins: {
|
|
2169
2352
|
listItem: {
|
|
2170
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/List/ListItem/ListItem').ListItemProps>): import(
|
|
2353
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/List/ListItem/ListItem').ListItemProps>): import('react').JSX.Element;
|
|
2171
2354
|
displayName: string;
|
|
2172
2355
|
} & {
|
|
2173
2356
|
readonly type: "listItem";
|
|
@@ -2218,6 +2401,10 @@ export declare const defaultElements: {
|
|
|
2218
2401
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<unknown>;
|
|
2219
2402
|
};
|
|
2220
2403
|
type: "list";
|
|
2404
|
+
attributeValues: {
|
|
2405
|
+
readonly subType: readonly string[];
|
|
2406
|
+
readonly source: readonly string[];
|
|
2407
|
+
};
|
|
2221
2408
|
sourceType: "list";
|
|
2222
2409
|
content: {
|
|
2223
2410
|
readonly attributes: {
|
|
@@ -2303,10 +2490,14 @@ export declare const defaultElements: {
|
|
|
2303
2490
|
}>;
|
|
2304
2491
|
};
|
|
2305
2492
|
link: {
|
|
2306
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Link/Link').LinkProps>): import(
|
|
2493
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Link/Link').LinkProps>): import('react').JSX.Element;
|
|
2307
2494
|
displayName: string;
|
|
2308
2495
|
} & {
|
|
2309
2496
|
readonly type: "link";
|
|
2497
|
+
readonly attributeValues: {
|
|
2498
|
+
readonly mode: readonly string[];
|
|
2499
|
+
readonly target: readonly string[];
|
|
2500
|
+
};
|
|
2310
2501
|
readonly content: {
|
|
2311
2502
|
readonly attributes: {
|
|
2312
2503
|
readonly href: "#";
|
|
@@ -2362,12 +2553,12 @@ export declare const defaultElements: {
|
|
|
2362
2553
|
};
|
|
2363
2554
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
2364
2555
|
mode?: "page" | "internal" | "external" | undefined;
|
|
2556
|
+
href?: string | undefined;
|
|
2365
2557
|
label?: string | undefined;
|
|
2366
2558
|
target?: "self" | "blank" | "parent" | "top" | undefined;
|
|
2367
|
-
href?: string | undefined;
|
|
2368
2559
|
}>>;
|
|
2369
2560
|
markdown: {
|
|
2370
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Markdown/Markdown').MarkdownProps>): import(
|
|
2561
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Markdown/Markdown').MarkdownProps>): import('react').JSX.Element;
|
|
2371
2562
|
displayName: string;
|
|
2372
2563
|
} & {
|
|
2373
2564
|
readonly type: "markdown";
|
|
@@ -2412,7 +2603,7 @@ export declare const defaultElements: {
|
|
|
2412
2603
|
readonly base: {
|
|
2413
2604
|
readonly default: {
|
|
2414
2605
|
readonly 'font-size': "14px";
|
|
2415
|
-
readonly 'line-height': "
|
|
2606
|
+
readonly 'line-height': "1.714";
|
|
2416
2607
|
};
|
|
2417
2608
|
};
|
|
2418
2609
|
};
|
|
@@ -2423,10 +2614,13 @@ export declare const defaultElements: {
|
|
|
2423
2614
|
content: string;
|
|
2424
2615
|
}>>;
|
|
2425
2616
|
richText: {
|
|
2426
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/RichText/RichText').RichTextProps>): import(
|
|
2617
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/RichText/RichText').RichTextProps>): import('react').JSX.Element;
|
|
2427
2618
|
displayName: string;
|
|
2428
2619
|
} & {
|
|
2429
2620
|
readonly type: "richText";
|
|
2621
|
+
readonly attributeValues: {
|
|
2622
|
+
readonly format: readonly string[];
|
|
2623
|
+
};
|
|
2430
2624
|
readonly content: {
|
|
2431
2625
|
readonly attributes: {
|
|
2432
2626
|
readonly content: "";
|
|
@@ -2482,10 +2676,25 @@ export declare const defaultElements: {
|
|
|
2482
2676
|
mediaBaseUrl?: string | undefined;
|
|
2483
2677
|
}>>;
|
|
2484
2678
|
pagination: {
|
|
2485
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/Pagination/Pagination').PaginationProps>): import(
|
|
2679
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/Pagination/Pagination').PaginationProps>): import('react').JSX.Element;
|
|
2486
2680
|
displayName: string;
|
|
2487
2681
|
} & {
|
|
2488
2682
|
readonly type: "pagination";
|
|
2683
|
+
readonly attributeValues: {
|
|
2684
|
+
readonly mode: readonly string[];
|
|
2685
|
+
readonly target: readonly string[];
|
|
2686
|
+
};
|
|
2687
|
+
readonly triggers: {
|
|
2688
|
+
readonly onPageChange: {
|
|
2689
|
+
readonly action: "onPageChange";
|
|
2690
|
+
readonly title: "On Page Change";
|
|
2691
|
+
readonly type: "trigger";
|
|
2692
|
+
readonly params: {};
|
|
2693
|
+
readonly preview: {
|
|
2694
|
+
readonly page: "1";
|
|
2695
|
+
};
|
|
2696
|
+
};
|
|
2697
|
+
};
|
|
2489
2698
|
readonly content: {
|
|
2490
2699
|
readonly attributes: {
|
|
2491
2700
|
readonly pageInfo: {};
|
|
@@ -2547,6 +2756,7 @@ export declare const defaultElements: {
|
|
|
2547
2756
|
};
|
|
2548
2757
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
2549
2758
|
mode?: "pages" | "loadMore" | undefined;
|
|
2759
|
+
label?: string | undefined;
|
|
2550
2760
|
target?: "url" | "interaction" | undefined;
|
|
2551
2761
|
pageParam?: string | undefined;
|
|
2552
2762
|
pageInfo?: import('./elements/structure/Pagination/Pagination').PaginationPageInfo | undefined;
|
|
@@ -2556,12 +2766,12 @@ export declare const defaultElements: {
|
|
|
2556
2766
|
loadMoreLabel?: string | undefined;
|
|
2557
2767
|
}>>;
|
|
2558
2768
|
form: {
|
|
2559
|
-
(props: import('./Element/hocs/withElement').WithElementProps<elements.FormProps>): import(
|
|
2769
|
+
(props: import('./Element/hocs/withElement').WithElementProps<elements.FormProps>): import('react').JSX.Element;
|
|
2560
2770
|
displayName: string;
|
|
2561
2771
|
} & {
|
|
2562
2772
|
content: {
|
|
2563
2773
|
market: {
|
|
2564
|
-
icon: import(
|
|
2774
|
+
icon: import('react').JSX.Element;
|
|
2565
2775
|
category: "form";
|
|
2566
2776
|
owner: "Plitzi";
|
|
2567
2777
|
verified: true;
|
|
@@ -2611,7 +2821,67 @@ export declare const defaultElements: {
|
|
|
2611
2821
|
settings: {};
|
|
2612
2822
|
};
|
|
2613
2823
|
type: "form";
|
|
2824
|
+
attributeValues: {
|
|
2825
|
+
readonly method: readonly string[];
|
|
2826
|
+
};
|
|
2614
2827
|
sourceType: "apiContainer";
|
|
2828
|
+
triggers: {
|
|
2829
|
+
readonly onSubmit: {
|
|
2830
|
+
readonly action: "onSubmit";
|
|
2831
|
+
readonly title: "On Form Submit";
|
|
2832
|
+
readonly type: "trigger";
|
|
2833
|
+
readonly params: {};
|
|
2834
|
+
readonly preview: {
|
|
2835
|
+
readonly values: {};
|
|
2836
|
+
readonly actionUrl: "";
|
|
2837
|
+
readonly method: "";
|
|
2838
|
+
};
|
|
2839
|
+
};
|
|
2840
|
+
};
|
|
2841
|
+
callbacks: {
|
|
2842
|
+
readonly performReset: {
|
|
2843
|
+
readonly action: "performReset";
|
|
2844
|
+
readonly title: "Reset Form";
|
|
2845
|
+
readonly type: "callback";
|
|
2846
|
+
readonly params: {};
|
|
2847
|
+
};
|
|
2848
|
+
readonly setFieldValue: {
|
|
2849
|
+
readonly action: "setFieldValue";
|
|
2850
|
+
readonly title: "Set Field Value";
|
|
2851
|
+
readonly type: "callback";
|
|
2852
|
+
readonly preview: {};
|
|
2853
|
+
readonly params: {
|
|
2854
|
+
readonly name: {
|
|
2855
|
+
readonly label: "Field Name";
|
|
2856
|
+
readonly defaultValue: undefined;
|
|
2857
|
+
readonly type: "select";
|
|
2858
|
+
readonly options: [];
|
|
2859
|
+
};
|
|
2860
|
+
readonly value: {
|
|
2861
|
+
readonly type: "text";
|
|
2862
|
+
readonly defaultValue: "";
|
|
2863
|
+
};
|
|
2864
|
+
};
|
|
2865
|
+
};
|
|
2866
|
+
readonly setFieldError: {
|
|
2867
|
+
readonly action: "setFieldError";
|
|
2868
|
+
readonly title: "Set Field Error";
|
|
2869
|
+
readonly type: "callback";
|
|
2870
|
+
readonly preview: {};
|
|
2871
|
+
readonly params: {
|
|
2872
|
+
readonly name: {
|
|
2873
|
+
readonly label: "Field Name";
|
|
2874
|
+
readonly defaultValue: undefined;
|
|
2875
|
+
readonly type: "select";
|
|
2876
|
+
readonly options: [];
|
|
2877
|
+
};
|
|
2878
|
+
readonly error: {
|
|
2879
|
+
readonly type: "text";
|
|
2880
|
+
readonly defaultValue: "";
|
|
2881
|
+
};
|
|
2882
|
+
};
|
|
2883
|
+
};
|
|
2884
|
+
};
|
|
2615
2885
|
__attributes: Partial<{
|
|
2616
2886
|
values: Record<string, unknown>;
|
|
2617
2887
|
method: "get" | "post";
|
|
@@ -2622,12 +2892,12 @@ export declare const defaultElements: {
|
|
|
2622
2892
|
}>;
|
|
2623
2893
|
};
|
|
2624
2894
|
formControl: {
|
|
2625
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/form/FormControl/hocs/withFieldValue').WithFieldValueProps<import('./elements/form/FormControl/FormControl').FormControlProps>>): import(
|
|
2895
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/form/FormControl/hocs/withFieldValue').WithFieldValueProps<import('./elements/form/FormControl/FormControl').FormControlProps>>): import('react').JSX.Element;
|
|
2626
2896
|
displayName: string;
|
|
2627
2897
|
} & {
|
|
2628
2898
|
content: {
|
|
2629
2899
|
market: {
|
|
2630
|
-
icon: import(
|
|
2900
|
+
icon: import('react').JSX.Element;
|
|
2631
2901
|
category: "form";
|
|
2632
2902
|
owner: "Plitzi";
|
|
2633
2903
|
verified: true;
|
|
@@ -2639,9 +2909,11 @@ export declare const defaultElements: {
|
|
|
2639
2909
|
readonly subType: "text";
|
|
2640
2910
|
readonly name: "";
|
|
2641
2911
|
readonly label: "Label";
|
|
2912
|
+
readonly hideLabel: false;
|
|
2642
2913
|
readonly placeholder: "";
|
|
2643
2914
|
readonly defaultValue: "";
|
|
2644
2915
|
readonly autoComplete: true;
|
|
2916
|
+
readonly autoFocus: false;
|
|
2645
2917
|
readonly disabled: false;
|
|
2646
2918
|
readonly options: readonly [];
|
|
2647
2919
|
readonly required: true;
|
|
@@ -3118,14 +3390,117 @@ export declare const defaultElements: {
|
|
|
3118
3390
|
settings: {};
|
|
3119
3391
|
};
|
|
3120
3392
|
type: "formControl";
|
|
3393
|
+
attributeValues: {
|
|
3394
|
+
readonly subType: readonly string[];
|
|
3395
|
+
};
|
|
3396
|
+
triggers: {
|
|
3397
|
+
readonly onChange: {
|
|
3398
|
+
readonly action: "onChange";
|
|
3399
|
+
readonly title: "On Change";
|
|
3400
|
+
readonly type: "trigger";
|
|
3401
|
+
readonly params: {};
|
|
3402
|
+
readonly preview: {
|
|
3403
|
+
readonly value: "";
|
|
3404
|
+
readonly name: "";
|
|
3405
|
+
};
|
|
3406
|
+
};
|
|
3407
|
+
};
|
|
3121
3408
|
__attributes: import('./elements/form/FormControl/declaration').FormControlAttributes;
|
|
3122
3409
|
};
|
|
3123
3410
|
apiContainer: {
|
|
3124
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/provider/ApiContainer/ApiContainer').ApiContainerProps>): import(
|
|
3411
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/provider/ApiContainer/ApiContainer').ApiContainerProps>): import('react').JSX.Element;
|
|
3125
3412
|
displayName: string;
|
|
3126
3413
|
} & {
|
|
3127
3414
|
readonly type: "apiContainer";
|
|
3415
|
+
readonly attributeValues: {
|
|
3416
|
+
readonly subType: readonly string[];
|
|
3417
|
+
readonly method: readonly string[];
|
|
3418
|
+
readonly credentials: readonly string[];
|
|
3419
|
+
readonly pagination: readonly string[];
|
|
3420
|
+
};
|
|
3128
3421
|
readonly sourceType: "apiContainer";
|
|
3422
|
+
readonly triggers: {
|
|
3423
|
+
readonly onApiError: {
|
|
3424
|
+
readonly action: "onApiError";
|
|
3425
|
+
readonly title: "On Api Error";
|
|
3426
|
+
readonly type: "trigger";
|
|
3427
|
+
readonly params: {};
|
|
3428
|
+
readonly preview: {
|
|
3429
|
+
readonly url: "";
|
|
3430
|
+
readonly method: "";
|
|
3431
|
+
readonly status: "";
|
|
3432
|
+
readonly data: "";
|
|
3433
|
+
};
|
|
3434
|
+
};
|
|
3435
|
+
readonly onApiSuccess: {
|
|
3436
|
+
readonly action: "onApiSuccess";
|
|
3437
|
+
readonly title: "On Api Success";
|
|
3438
|
+
readonly type: "trigger";
|
|
3439
|
+
readonly params: {};
|
|
3440
|
+
readonly preview: {
|
|
3441
|
+
readonly url: "";
|
|
3442
|
+
readonly method: "";
|
|
3443
|
+
readonly status: "";
|
|
3444
|
+
readonly data: "";
|
|
3445
|
+
};
|
|
3446
|
+
};
|
|
3447
|
+
};
|
|
3448
|
+
readonly callbacks: {
|
|
3449
|
+
readonly performQuery: {
|
|
3450
|
+
readonly action: "performQuery";
|
|
3451
|
+
readonly title: "Perform Query";
|
|
3452
|
+
readonly type: "callback";
|
|
3453
|
+
readonly preview: {};
|
|
3454
|
+
readonly params: {
|
|
3455
|
+
readonly input: {
|
|
3456
|
+
readonly label: "Input (server providers)";
|
|
3457
|
+
readonly type: "codemirror-json";
|
|
3458
|
+
readonly defaultValue: "{}";
|
|
3459
|
+
readonly description: string;
|
|
3460
|
+
};
|
|
3461
|
+
};
|
|
3462
|
+
};
|
|
3463
|
+
readonly loadMore: {
|
|
3464
|
+
readonly action: "loadMore";
|
|
3465
|
+
readonly title: "Load More";
|
|
3466
|
+
readonly type: "callback";
|
|
3467
|
+
readonly preview: {};
|
|
3468
|
+
readonly params: {};
|
|
3469
|
+
};
|
|
3470
|
+
readonly goToPage: {
|
|
3471
|
+
readonly action: "goToPage";
|
|
3472
|
+
readonly title: "Go To Page";
|
|
3473
|
+
readonly type: "callback";
|
|
3474
|
+
readonly preview: {};
|
|
3475
|
+
readonly params: {
|
|
3476
|
+
readonly page: {
|
|
3477
|
+
readonly label: "Page";
|
|
3478
|
+
readonly defaultValue: "1";
|
|
3479
|
+
readonly type: "text";
|
|
3480
|
+
};
|
|
3481
|
+
};
|
|
3482
|
+
};
|
|
3483
|
+
readonly writeRecord: {
|
|
3484
|
+
readonly action: "writeRecord";
|
|
3485
|
+
readonly title: "Write Record";
|
|
3486
|
+
readonly type: "callback";
|
|
3487
|
+
readonly preview: {
|
|
3488
|
+
readonly action: "create";
|
|
3489
|
+
};
|
|
3490
|
+
readonly params: {
|
|
3491
|
+
readonly action: {
|
|
3492
|
+
readonly label: "Endpoint";
|
|
3493
|
+
readonly defaultValue: "create";
|
|
3494
|
+
readonly type: "text";
|
|
3495
|
+
};
|
|
3496
|
+
readonly recordId: {
|
|
3497
|
+
readonly label: "Record Id";
|
|
3498
|
+
readonly defaultValue: "";
|
|
3499
|
+
readonly type: "text";
|
|
3500
|
+
};
|
|
3501
|
+
};
|
|
3502
|
+
};
|
|
3503
|
+
};
|
|
3129
3504
|
readonly content: {
|
|
3130
3505
|
readonly attributes: {
|
|
3131
3506
|
readonly query: "";
|
|
@@ -3190,5 +3565,143 @@ export declare const defaultElements: {
|
|
|
3190
3565
|
readonly settings: {};
|
|
3191
3566
|
};
|
|
3192
3567
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<import('./elements/provider/ApiContainer/declaration').ApiContainerAttributes>;
|
|
3568
|
+
channel: {
|
|
3569
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/provider/Channel/Channel').ChannelProps>): import('react').JSX.Element;
|
|
3570
|
+
displayName: string;
|
|
3571
|
+
} & {
|
|
3572
|
+
readonly type: "channel";
|
|
3573
|
+
readonly attributeValues: {
|
|
3574
|
+
readonly subType: readonly string[];
|
|
3575
|
+
};
|
|
3576
|
+
readonly sourceType: "channel";
|
|
3577
|
+
readonly triggers: {
|
|
3578
|
+
readonly onMessage: {
|
|
3579
|
+
readonly action: "onMessage";
|
|
3580
|
+
readonly title: "On Message";
|
|
3581
|
+
readonly type: "trigger";
|
|
3582
|
+
readonly params: {};
|
|
3583
|
+
readonly preview: {
|
|
3584
|
+
readonly type: "";
|
|
3585
|
+
readonly data: "";
|
|
3586
|
+
readonly from: "";
|
|
3587
|
+
readonly user: "";
|
|
3588
|
+
readonly at: "";
|
|
3589
|
+
};
|
|
3590
|
+
};
|
|
3591
|
+
readonly onJoin: {
|
|
3592
|
+
readonly action: "onJoin";
|
|
3593
|
+
readonly title: "On Join";
|
|
3594
|
+
readonly type: "trigger";
|
|
3595
|
+
readonly params: {};
|
|
3596
|
+
readonly preview: {
|
|
3597
|
+
readonly from: "";
|
|
3598
|
+
readonly user: "";
|
|
3599
|
+
readonly state: {};
|
|
3600
|
+
};
|
|
3601
|
+
};
|
|
3602
|
+
readonly onLeave: {
|
|
3603
|
+
readonly action: "onLeave";
|
|
3604
|
+
readonly title: "On Leave";
|
|
3605
|
+
readonly type: "trigger";
|
|
3606
|
+
readonly params: {};
|
|
3607
|
+
readonly preview: {
|
|
3608
|
+
readonly from: "";
|
|
3609
|
+
readonly user: "";
|
|
3610
|
+
readonly state: {};
|
|
3611
|
+
};
|
|
3612
|
+
};
|
|
3613
|
+
};
|
|
3614
|
+
readonly callbacks: {
|
|
3615
|
+
readonly publish: {
|
|
3616
|
+
readonly action: "publish";
|
|
3617
|
+
readonly title: "Publish";
|
|
3618
|
+
readonly type: "callback";
|
|
3619
|
+
readonly preview: {};
|
|
3620
|
+
readonly params: {
|
|
3621
|
+
readonly type: {
|
|
3622
|
+
readonly label: "Type";
|
|
3623
|
+
readonly defaultValue: "";
|
|
3624
|
+
readonly type: "text";
|
|
3625
|
+
};
|
|
3626
|
+
readonly data: {
|
|
3627
|
+
readonly label: "Data (JSON or a template)";
|
|
3628
|
+
readonly defaultValue: "";
|
|
3629
|
+
readonly type: "text";
|
|
3630
|
+
};
|
|
3631
|
+
};
|
|
3632
|
+
};
|
|
3633
|
+
readonly setPresence: {
|
|
3634
|
+
readonly action: "setPresence";
|
|
3635
|
+
readonly title: "Set Presence";
|
|
3636
|
+
readonly type: "callback";
|
|
3637
|
+
readonly preview: {};
|
|
3638
|
+
readonly params: {
|
|
3639
|
+
readonly data: {
|
|
3640
|
+
readonly label: "State (JSON or a template)";
|
|
3641
|
+
readonly defaultValue: "";
|
|
3642
|
+
readonly type: "text";
|
|
3643
|
+
};
|
|
3644
|
+
};
|
|
3645
|
+
};
|
|
3646
|
+
};
|
|
3647
|
+
readonly content: {
|
|
3648
|
+
readonly attributes: {
|
|
3649
|
+
readonly topic: "";
|
|
3650
|
+
readonly grant: "";
|
|
3651
|
+
readonly keep: 20;
|
|
3652
|
+
readonly subType: "";
|
|
3653
|
+
};
|
|
3654
|
+
readonly definition: {
|
|
3655
|
+
readonly label: "Channel";
|
|
3656
|
+
readonly type: "channel";
|
|
3657
|
+
readonly description: string;
|
|
3658
|
+
readonly items: readonly [];
|
|
3659
|
+
readonly bindings: {};
|
|
3660
|
+
readonly styleSelectors: {
|
|
3661
|
+
readonly base: "";
|
|
3662
|
+
};
|
|
3663
|
+
readonly initialState: {
|
|
3664
|
+
readonly visibility: true;
|
|
3665
|
+
};
|
|
3666
|
+
};
|
|
3667
|
+
readonly builder: {
|
|
3668
|
+
readonly canDelete: true;
|
|
3669
|
+
readonly canSelect: true;
|
|
3670
|
+
readonly canDragDrop: true;
|
|
3671
|
+
readonly canMove: true;
|
|
3672
|
+
readonly canTemplate: true;
|
|
3673
|
+
readonly itemsAllowed: readonly [];
|
|
3674
|
+
readonly itemsNotAllowed: readonly [];
|
|
3675
|
+
};
|
|
3676
|
+
readonly market: {
|
|
3677
|
+
readonly category: "provider";
|
|
3678
|
+
readonly owner: "Plitzi";
|
|
3679
|
+
readonly verified: true;
|
|
3680
|
+
readonly license: "MIT";
|
|
3681
|
+
readonly website: "https://plitzi.com";
|
|
3682
|
+
readonly backgroundColor: "#4422ee";
|
|
3683
|
+
readonly icon: "fa-solid fa-tower-broadcast";
|
|
3684
|
+
};
|
|
3685
|
+
readonly defaultStyle: {
|
|
3686
|
+
readonly name: "Channel";
|
|
3687
|
+
readonly displayMode: "desktop";
|
|
3688
|
+
readonly style: {
|
|
3689
|
+
readonly base: {
|
|
3690
|
+
readonly default: {};
|
|
3691
|
+
};
|
|
3692
|
+
};
|
|
3693
|
+
readonly subTypes: {};
|
|
3694
|
+
};
|
|
3695
|
+
readonly settings: {};
|
|
3696
|
+
};
|
|
3697
|
+
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
3698
|
+
subType?: "" | "div" | "section" | "aside" | "main" | undefined;
|
|
3699
|
+
topic?: string | undefined;
|
|
3700
|
+
grant?: string | undefined;
|
|
3701
|
+
presence?: unknown;
|
|
3702
|
+
keep?: number | string | undefined;
|
|
3703
|
+
}>>;
|
|
3193
3704
|
};
|
|
3194
3705
|
export { useRscData, elements, elementSettings, JsxManager };
|
|
3706
|
+
export { default as useChannel } from './realtime/useChannel';
|
|
3707
|
+
export type { ChannelHandle, UseChannelOptions } from './realtime/useChannel';
|