@plitzi/sdk-elements 0.38.4 → 0.38.6
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 +358 -0
- package/dist/Element/helpers/elementChildren.d.ts +29 -0
- package/dist/Element/helpers/elementChildren.mjs +16 -0
- package/dist/Element/hooks/useElementVisible.d.ts +11 -0
- package/dist/Element/hooks/useElementVisible.mjs +25 -0
- package/dist/Element/hooks/useRscData.d.ts +4 -0
- package/dist/Element/hooks/useRscData.mjs +23 -19
- package/dist/dataSource/GlobalSources.mjs +68 -57
- package/dist/elements/basic/Button/declaration.d.ts +1 -1
- package/dist/elements/basic/Button/declaration.mjs +1 -1
- package/dist/elements/basic/Button/index.d.ts +1 -1
- package/dist/elements/basic/Dropdown/DropdownPopup/declaration.d.ts +1 -1
- package/dist/elements/basic/Dropdown/DropdownPopup/declaration.mjs +1 -1
- package/dist/elements/basic/Dropdown/DropdownPopup/index.d.ts +1 -1
- package/dist/elements/basic/Dropdown/index.d.ts +1 -1
- package/dist/elements/basic/Markdown/Markdown.d.ts +3 -3
- package/dist/elements/basic/Markdown/Markdown.mjs +10 -6
- package/dist/elements/basic/Markdown/declaration.d.ts +1 -1
- package/dist/elements/basic/Markdown/index.d.ts +1 -1
- package/dist/elements/basic/RichText/declaration.d.ts +1 -1
- package/dist/elements/basic/RichText/declaration.mjs +1 -1
- package/dist/elements/basic/RichText/index.d.ts +1 -1
- package/dist/elements/basic/Text/Text.d.ts +6 -1
- package/dist/elements/basic/Text/Text.mjs +6 -5
- package/dist/elements/basic/Text/declaration.d.ts +1 -0
- package/dist/elements/basic/Text/index.d.ts +1 -0
- package/dist/elements/declarations/index.d.ts +49 -9
- package/dist/elements/form/Form/declaration.d.ts +1 -0
- package/dist/elements/form/Form/declaration.mjs +2 -1
- package/dist/elements/form/FormControl/declaration.d.ts +1 -0
- package/dist/elements/form/FormControl/declaration.mjs +3 -2
- package/dist/elements/internal/LayoutContainer/LayoutContainer.mjs +37 -29
- package/dist/elements/internal/LayoutContainer/mask.d.ts +11 -0
- package/dist/elements/internal/LayoutContainer/mask.mjs +14 -0
- package/dist/elements/provider/ApiContainer/ApiContainer.d.ts +9 -1
- package/dist/elements/provider/ApiContainer/ApiContainer.mjs +132 -107
- package/dist/elements/provider/ApiContainer/declaration.d.ts +38 -10
- package/dist/elements/provider/ApiContainer/declaration.mjs +7 -0
- package/dist/elements/provider/ApiContainer/hooks/useApi.d.ts +2 -0
- package/dist/elements/provider/ApiContainer/hooks/useApi.mjs +1 -0
- package/dist/elements/provider/ApiContainer/hooks/useInputRefresh.d.ts +20 -0
- package/dist/elements/provider/ApiContainer/hooks/useInputRefresh.mjs +16 -0
- package/dist/elements/provider/ApiContainer/index.d.ts +37 -1
- package/dist/elements/structure/Container/Container.d.ts +6 -1
- package/dist/elements/structure/Container/Container.mjs +6 -5
- package/dist/elements/structure/Container/declaration.d.ts +2 -1
- package/dist/elements/structure/Container/declaration.mjs +1 -1
- package/dist/elements/structure/Container/index.d.ts +2 -1
- package/dist/elements/structure/DialogContainer/declaration.d.ts +1 -1
- package/dist/elements/structure/DialogContainer/declaration.mjs +1 -1
- package/dist/elements/structure/DialogContainer/index.d.ts +1 -1
- package/dist/elements/structure/List/ListItem/declaration.d.ts +1 -1
- package/dist/elements/structure/List/ListItem/declaration.mjs +1 -1
- package/dist/elements/structure/List/ListItem/index.d.ts +1 -1
- package/dist/elements/structure/List/index.d.ts +1 -1
- package/dist/elements/structure/TabContainer/TabContainerItem/declaration.d.ts +1 -1
- package/dist/elements/structure/TabContainer/TabContainerItem/declaration.mjs +1 -1
- package/dist/elements/structure/TabContainer/TabContainerItem/index.d.ts +1 -1
- package/dist/elements/structure/TabContainer/index.d.ts +1 -1
- package/dist/index.d.ts +47 -9
- package/package.json +21 -9
|
@@ -51,6 +51,13 @@ declare const ApiContainer: {
|
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
|
+
readonly cancelQuery: {
|
|
55
|
+
readonly action: "cancelQuery";
|
|
56
|
+
readonly title: "Cancel Query";
|
|
57
|
+
readonly type: "callback";
|
|
58
|
+
readonly preview: {};
|
|
59
|
+
readonly params: {};
|
|
60
|
+
};
|
|
54
61
|
readonly loadMore: {
|
|
55
62
|
readonly action: "loadMore";
|
|
56
63
|
readonly title: "Load More";
|
|
@@ -155,5 +162,34 @@ declare const ApiContainer: {
|
|
|
155
162
|
};
|
|
156
163
|
readonly settings: {};
|
|
157
164
|
};
|
|
158
|
-
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<
|
|
165
|
+
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
166
|
+
when?: import('@plitzi/sdk-shared').RuleGroup | undefined;
|
|
167
|
+
action?: string | undefined;
|
|
168
|
+
cache?: boolean | undefined;
|
|
169
|
+
endpoint?: string | undefined;
|
|
170
|
+
input?: (Record<string, unknown> | string) | undefined;
|
|
171
|
+
method?: "get" | "post" | "put" | "delete" | "patch" | undefined;
|
|
172
|
+
resource?: string | undefined;
|
|
173
|
+
headers?: Record<string, string> | undefined;
|
|
174
|
+
subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "" | undefined;
|
|
175
|
+
query?: string | undefined;
|
|
176
|
+
accessToken?: string | undefined;
|
|
177
|
+
mockData?: (Record<string, unknown> | string) | undefined;
|
|
178
|
+
credentials?: RequestCredentials | undefined;
|
|
179
|
+
connector?: string | undefined;
|
|
180
|
+
limit?: string | undefined;
|
|
181
|
+
singleRecord?: boolean | undefined;
|
|
182
|
+
filters?: {
|
|
183
|
+
field: string;
|
|
184
|
+
operator: string;
|
|
185
|
+
value: string;
|
|
186
|
+
}[] | undefined;
|
|
187
|
+
pagination?: import('./hooks/useProviderPagination').ProviderPagination | undefined;
|
|
188
|
+
pageParam?: string | undefined;
|
|
189
|
+
renderWhileLoading?: boolean | undefined;
|
|
190
|
+
loadingSlot?: string | undefined;
|
|
191
|
+
staleTime?: number | string | undefined;
|
|
192
|
+
gcTime?: number | string | undefined;
|
|
193
|
+
refreshSeconds?: number | string | undefined;
|
|
194
|
+
}>>;
|
|
159
195
|
export default ApiContainer;
|
|
@@ -23,9 +23,14 @@ export type ContainerProps = {
|
|
|
23
23
|
* silent to a screen reader, which reads only what it is moved to.
|
|
24
24
|
*/
|
|
25
25
|
live?: 'polite' | 'assertive' | '';
|
|
26
|
+
/**
|
|
27
|
+
* What a pointer resting on it shows — the whole of a value cut short, what a symbol means. Not a name: a screen reader
|
|
28
|
+
* may not say it, so what matters to someone who cannot hover is in the content or in `label` too.
|
|
29
|
+
*/
|
|
30
|
+
title?: string;
|
|
26
31
|
children?: ReactNode;
|
|
27
32
|
};
|
|
28
|
-
declare const Container: ({ ref, className, subType, label, decorative, live, children }: ContainerProps) => import('react').JSX.Element;
|
|
33
|
+
declare const Container: ({ ref, className, subType, label, decorative, live, title, children }: ContainerProps) => import('react').JSX.Element;
|
|
29
34
|
declare const _default: {
|
|
30
35
|
(props: import('../../../Element/hocs/withElement').WithElementProps<ContainerProps>): import('react').JSX.Element;
|
|
31
36
|
displayName: string;
|
|
@@ -4,19 +4,20 @@ import { NAMEABLE_CONTAINER_TAGS as n } from "./declaration.mjs";
|
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
import i from "clsx";
|
|
6
6
|
//#region src/elements/structure/Container/Container.tsx
|
|
7
|
-
var a = ({ ref: e, className: a = "", subType: o = "div", label: s = "", decorative: c = !1, live: l = "",
|
|
8
|
-
let
|
|
7
|
+
var a = ({ ref: e, className: a = "", subType: o = "div", label: s = "", decorative: c = !1, live: l = "", title: u = "", children: d }) => {
|
|
8
|
+
let f = !c && s && n.includes(o) ? {
|
|
9
9
|
"aria-label": s,
|
|
10
10
|
...o === "div" ? { role: "group" } : {}
|
|
11
|
-
} : {},
|
|
11
|
+
} : {}, p = c ? { "aria-hidden": !0 } : {}, m = l ? { "aria-live": l } : {};
|
|
12
12
|
return /* @__PURE__ */ r(t, {
|
|
13
13
|
ref: e,
|
|
14
14
|
tag: o,
|
|
15
15
|
className: i(`plitzi-component__container plitzi-component__container-${o}`, a),
|
|
16
|
-
|
|
16
|
+
title: u || void 0,
|
|
17
17
|
...f,
|
|
18
18
|
...p,
|
|
19
|
-
|
|
19
|
+
...m,
|
|
20
|
+
children: d
|
|
20
21
|
});
|
|
21
22
|
}, o = e(a);
|
|
22
23
|
//#endregion
|
|
@@ -47,7 +47,7 @@ declare const declaration: {
|
|
|
47
47
|
readonly license: "MIT";
|
|
48
48
|
readonly website: "https://plitzi.com";
|
|
49
49
|
readonly backgroundColor: "#4422ee";
|
|
50
|
-
readonly icon: "fa-
|
|
50
|
+
readonly icon: "fa-solid fa-crop-simple";
|
|
51
51
|
};
|
|
52
52
|
readonly defaultStyle: {
|
|
53
53
|
readonly name: "Container";
|
|
@@ -63,6 +63,7 @@ declare const declaration: {
|
|
|
63
63
|
};
|
|
64
64
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
65
65
|
label?: string | undefined;
|
|
66
|
+
title?: string | undefined;
|
|
66
67
|
subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "dl" | "dt" | "dd" | "li" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | undefined;
|
|
67
68
|
live?: "polite" | "assertive" | "" | undefined;
|
|
68
69
|
decorative?: boolean | undefined;
|
|
@@ -40,7 +40,7 @@ declare const Container: {
|
|
|
40
40
|
readonly license: "MIT";
|
|
41
41
|
readonly website: "https://plitzi.com";
|
|
42
42
|
readonly backgroundColor: "#4422ee";
|
|
43
|
-
readonly icon: "fa-
|
|
43
|
+
readonly icon: "fa-solid fa-crop-simple";
|
|
44
44
|
};
|
|
45
45
|
readonly defaultStyle: {
|
|
46
46
|
readonly name: "Container";
|
|
@@ -56,6 +56,7 @@ declare const Container: {
|
|
|
56
56
|
};
|
|
57
57
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
58
58
|
label?: string | undefined;
|
|
59
|
+
title?: string | undefined;
|
|
59
60
|
subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "dl" | "dt" | "dd" | "li" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | undefined;
|
|
60
61
|
live?: "polite" | "assertive" | "" | undefined;
|
|
61
62
|
decorative?: boolean | undefined;
|
|
@@ -132,7 +132,7 @@ declare const declaration: {
|
|
|
132
132
|
readonly license: "MIT";
|
|
133
133
|
readonly website: "https://plitzi.com";
|
|
134
134
|
readonly backgroundColor: "#4422ee";
|
|
135
|
-
readonly icon: "fa-regular fa-
|
|
135
|
+
readonly icon: "fa-regular fa-message";
|
|
136
136
|
};
|
|
137
137
|
readonly defaultStyle: {
|
|
138
138
|
readonly name: "Dialog Container";
|
|
@@ -131,7 +131,7 @@ declare const DialogContainer: {
|
|
|
131
131
|
readonly license: "MIT";
|
|
132
132
|
readonly website: "https://plitzi.com";
|
|
133
133
|
readonly backgroundColor: "#4422ee";
|
|
134
|
-
readonly icon: "fa-regular fa-
|
|
134
|
+
readonly icon: "fa-regular fa-message";
|
|
135
135
|
};
|
|
136
136
|
readonly defaultStyle: {
|
|
137
137
|
readonly name: "Dialog Container";
|
|
@@ -35,7 +35,7 @@ declare const declaration: {
|
|
|
35
35
|
readonly license: "MIT";
|
|
36
36
|
readonly website: "https://plitzi.com";
|
|
37
37
|
readonly backgroundColor: "#4422ee";
|
|
38
|
-
readonly icon: "fa-solid fa-
|
|
38
|
+
readonly icon: "fa-solid fa-grip-lines";
|
|
39
39
|
};
|
|
40
40
|
readonly defaultStyle: {
|
|
41
41
|
readonly name: "List Item";
|
|
@@ -34,7 +34,7 @@ declare const ListItem: {
|
|
|
34
34
|
readonly license: "MIT";
|
|
35
35
|
readonly website: "https://plitzi.com";
|
|
36
36
|
readonly backgroundColor: "#4422ee";
|
|
37
|
-
readonly icon: "fa-solid fa-
|
|
37
|
+
readonly icon: "fa-solid fa-grip-lines";
|
|
38
38
|
};
|
|
39
39
|
readonly defaultStyle: {
|
|
40
40
|
readonly name: "List Item";
|
|
@@ -39,7 +39,7 @@ declare const List: {
|
|
|
39
39
|
readonly license: "MIT";
|
|
40
40
|
readonly website: "https://plitzi.com";
|
|
41
41
|
readonly backgroundColor: "#4422ee";
|
|
42
|
-
readonly icon: "fa-solid fa-
|
|
42
|
+
readonly icon: "fa-solid fa-grip-lines";
|
|
43
43
|
};
|
|
44
44
|
readonly defaultStyle: {
|
|
45
45
|
readonly name: "List Item";
|
|
@@ -35,7 +35,7 @@ declare const declaration: {
|
|
|
35
35
|
readonly license: "MIT";
|
|
36
36
|
readonly website: "https://plitzi.com";
|
|
37
37
|
readonly backgroundColor: "#4422ee";
|
|
38
|
-
readonly icon: "fa-
|
|
38
|
+
readonly icon: "fa-regular fa-folder";
|
|
39
39
|
};
|
|
40
40
|
readonly defaultStyle: {
|
|
41
41
|
readonly name: "Tab Container Item";
|
|
@@ -34,7 +34,7 @@ declare const TabContainerItem: {
|
|
|
34
34
|
readonly license: "MIT";
|
|
35
35
|
readonly website: "https://plitzi.com";
|
|
36
36
|
readonly backgroundColor: "#4422ee";
|
|
37
|
-
readonly icon: "fa-
|
|
37
|
+
readonly icon: "fa-regular fa-folder";
|
|
38
38
|
};
|
|
39
39
|
readonly defaultStyle: {
|
|
40
40
|
readonly name: "Tab Container Item";
|
|
@@ -145,7 +145,7 @@ declare const TabContainer: {
|
|
|
145
145
|
readonly license: "MIT";
|
|
146
146
|
readonly website: "https://plitzi.com";
|
|
147
147
|
readonly backgroundColor: "#4422ee";
|
|
148
|
-
readonly icon: "fa-
|
|
148
|
+
readonly icon: "fa-regular fa-folder";
|
|
149
149
|
};
|
|
150
150
|
readonly defaultStyle: {
|
|
151
151
|
readonly name: "Tab Container Item";
|
package/dist/index.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export declare const defaultElements: {
|
|
|
45
45
|
readonly license: "MIT";
|
|
46
46
|
readonly website: "https://plitzi.com";
|
|
47
47
|
readonly backgroundColor: "#4422ee";
|
|
48
|
-
readonly icon: "";
|
|
48
|
+
readonly icon: "fa-regular fa-window-restore";
|
|
49
49
|
};
|
|
50
50
|
readonly defaultStyle: {
|
|
51
51
|
readonly name: "Dropdown Popup";
|
|
@@ -954,7 +954,7 @@ export declare const defaultElements: {
|
|
|
954
954
|
readonly license: "MIT";
|
|
955
955
|
readonly website: "https://plitzi.com";
|
|
956
956
|
readonly backgroundColor: "#4422ee";
|
|
957
|
-
readonly icon: "fa-
|
|
957
|
+
readonly icon: "fa-solid fa-crop-simple";
|
|
958
958
|
};
|
|
959
959
|
readonly defaultStyle: {
|
|
960
960
|
readonly name: "Container";
|
|
@@ -970,6 +970,7 @@ export declare const defaultElements: {
|
|
|
970
970
|
};
|
|
971
971
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
972
972
|
label?: string | undefined;
|
|
973
|
+
title?: string | undefined;
|
|
973
974
|
subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "dl" | "dt" | "dd" | "li" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | undefined;
|
|
974
975
|
live?: "polite" | "assertive" | "" | undefined;
|
|
975
976
|
decorative?: boolean | undefined;
|
|
@@ -1167,7 +1168,7 @@ export declare const defaultElements: {
|
|
|
1167
1168
|
readonly license: "MIT";
|
|
1168
1169
|
readonly website: "https://plitzi.com";
|
|
1169
1170
|
readonly backgroundColor: "#4422ee";
|
|
1170
|
-
readonly icon: "fa-regular fa-
|
|
1171
|
+
readonly icon: "fa-regular fa-message";
|
|
1171
1172
|
};
|
|
1172
1173
|
readonly defaultStyle: {
|
|
1173
1174
|
readonly name: "Dialog Container";
|
|
@@ -1605,7 +1606,7 @@ export declare const defaultElements: {
|
|
|
1605
1606
|
readonly license: "MIT";
|
|
1606
1607
|
readonly website: "https://plitzi.com";
|
|
1607
1608
|
readonly backgroundColor: "#4422ee";
|
|
1608
|
-
readonly icon: "fa-
|
|
1609
|
+
readonly icon: "fa-regular fa-folder";
|
|
1609
1610
|
};
|
|
1610
1611
|
readonly defaultStyle: {
|
|
1611
1612
|
readonly name: "Tab Container Item";
|
|
@@ -2378,7 +2379,7 @@ export declare const defaultElements: {
|
|
|
2378
2379
|
readonly license: "MIT";
|
|
2379
2380
|
readonly website: "https://plitzi.com";
|
|
2380
2381
|
readonly backgroundColor: "#4422ee";
|
|
2381
|
-
readonly icon: "fa-solid fa-
|
|
2382
|
+
readonly icon: "fa-solid fa-hand-pointer";
|
|
2382
2383
|
};
|
|
2383
2384
|
readonly defaultStyle: {
|
|
2384
2385
|
readonly name: "Button";
|
|
@@ -2580,6 +2581,7 @@ export declare const defaultElements: {
|
|
|
2580
2581
|
readonly settings: {};
|
|
2581
2582
|
};
|
|
2582
2583
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
2584
|
+
title?: string | undefined;
|
|
2583
2585
|
content?: string | number | undefined;
|
|
2584
2586
|
}>>;
|
|
2585
2587
|
themeToggle: {
|
|
@@ -2706,7 +2708,7 @@ export declare const defaultElements: {
|
|
|
2706
2708
|
readonly license: "MIT";
|
|
2707
2709
|
readonly website: "https://plitzi.com";
|
|
2708
2710
|
readonly backgroundColor: "#4422ee";
|
|
2709
|
-
readonly icon: "fa-solid fa-
|
|
2711
|
+
readonly icon: "fa-solid fa-grip-lines";
|
|
2710
2712
|
};
|
|
2711
2713
|
readonly defaultStyle: {
|
|
2712
2714
|
readonly name: "List Item";
|
|
@@ -2946,7 +2948,7 @@ export declare const defaultElements: {
|
|
|
2946
2948
|
readonly settings: {};
|
|
2947
2949
|
};
|
|
2948
2950
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
2949
|
-
content
|
|
2951
|
+
content?: string | undefined;
|
|
2950
2952
|
}>>;
|
|
2951
2953
|
richText: {
|
|
2952
2954
|
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/RichText/RichText').RichTextProps>): import('react').JSX.Element;
|
|
@@ -2991,7 +2993,7 @@ export declare const defaultElements: {
|
|
|
2991
2993
|
readonly license: "MIT";
|
|
2992
2994
|
readonly website: "https://plitzi.com";
|
|
2993
2995
|
readonly backgroundColor: "#4422ee";
|
|
2994
|
-
readonly icon: "fa-solid fa-
|
|
2996
|
+
readonly icon: "fa-solid fa-file-lines";
|
|
2995
2997
|
};
|
|
2996
2998
|
readonly defaultStyle: {
|
|
2997
2999
|
readonly name: "Rich Text";
|
|
@@ -3795,6 +3797,13 @@ export declare const defaultElements: {
|
|
|
3795
3797
|
};
|
|
3796
3798
|
};
|
|
3797
3799
|
};
|
|
3800
|
+
readonly cancelQuery: {
|
|
3801
|
+
readonly action: "cancelQuery";
|
|
3802
|
+
readonly title: "Cancel Query";
|
|
3803
|
+
readonly type: "callback";
|
|
3804
|
+
readonly preview: {};
|
|
3805
|
+
readonly params: {};
|
|
3806
|
+
};
|
|
3798
3807
|
readonly loadMore: {
|
|
3799
3808
|
readonly action: "loadMore";
|
|
3800
3809
|
readonly title: "Load More";
|
|
@@ -3899,7 +3908,36 @@ export declare const defaultElements: {
|
|
|
3899
3908
|
};
|
|
3900
3909
|
readonly settings: {};
|
|
3901
3910
|
};
|
|
3902
|
-
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<
|
|
3911
|
+
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
3912
|
+
when?: import('@plitzi/sdk-shared').RuleGroup | undefined;
|
|
3913
|
+
action?: string | undefined;
|
|
3914
|
+
cache?: boolean | undefined;
|
|
3915
|
+
endpoint?: string | undefined;
|
|
3916
|
+
input?: (Record<string, unknown> | string) | undefined;
|
|
3917
|
+
method?: "get" | "post" | "put" | "delete" | "patch" | undefined;
|
|
3918
|
+
resource?: string | undefined;
|
|
3919
|
+
headers?: Record<string, string> | undefined;
|
|
3920
|
+
subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "" | undefined;
|
|
3921
|
+
query?: string | undefined;
|
|
3922
|
+
accessToken?: string | undefined;
|
|
3923
|
+
mockData?: (Record<string, unknown> | string) | undefined;
|
|
3924
|
+
credentials?: RequestCredentials | undefined;
|
|
3925
|
+
connector?: string | undefined;
|
|
3926
|
+
limit?: string | undefined;
|
|
3927
|
+
singleRecord?: boolean | undefined;
|
|
3928
|
+
filters?: {
|
|
3929
|
+
field: string;
|
|
3930
|
+
operator: string;
|
|
3931
|
+
value: string;
|
|
3932
|
+
}[] | undefined;
|
|
3933
|
+
pagination?: import('./elements/provider/ApiContainer/hooks/useProviderPagination').ProviderPagination | undefined;
|
|
3934
|
+
pageParam?: string | undefined;
|
|
3935
|
+
renderWhileLoading?: boolean | undefined;
|
|
3936
|
+
loadingSlot?: string | undefined;
|
|
3937
|
+
staleTime?: number | string | undefined;
|
|
3938
|
+
gcTime?: number | string | undefined;
|
|
3939
|
+
refreshSeconds?: number | string | undefined;
|
|
3940
|
+
}>>;
|
|
3903
3941
|
channel: {
|
|
3904
3942
|
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/provider/Channel/Channel').ChannelProps>): import('react').JSX.Element;
|
|
3905
3943
|
displayName: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plitzi/sdk-elements",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.6",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -66,6 +66,10 @@
|
|
|
66
66
|
"types": "./dist/Element/ServerStaticShell.d.ts",
|
|
67
67
|
"import": "./dist/Element/ServerStaticShell.mjs"
|
|
68
68
|
},
|
|
69
|
+
"./Element/helpers/elementChildren": {
|
|
70
|
+
"types": "./dist/Element/helpers/elementChildren.d.ts",
|
|
71
|
+
"import": "./dist/Element/helpers/elementChildren.mjs"
|
|
72
|
+
},
|
|
69
73
|
"./Element/helpers/elementConstants": {
|
|
70
74
|
"types": "./dist/Element/helpers/elementConstants.d.ts",
|
|
71
75
|
"import": "./dist/Element/helpers/elementConstants.mjs"
|
|
@@ -130,6 +134,10 @@
|
|
|
130
134
|
"types": "./dist/Element/hooks/useElementState.d.ts",
|
|
131
135
|
"import": "./dist/Element/hooks/useElementState.mjs"
|
|
132
136
|
},
|
|
137
|
+
"./Element/hooks/useElementVisible": {
|
|
138
|
+
"types": "./dist/Element/hooks/useElementVisible.d.ts",
|
|
139
|
+
"import": "./dist/Element/hooks/useElementVisible.mjs"
|
|
140
|
+
},
|
|
133
141
|
"./Element/hooks/useInternalClassName": {
|
|
134
142
|
"types": "./dist/Element/hooks/useInternalClassName.d.ts",
|
|
135
143
|
"import": "./dist/Element/hooks/useInternalClassName.mjs"
|
|
@@ -910,6 +918,10 @@
|
|
|
910
918
|
"types": "./dist/elements/provider/ApiContainer/hooks/useAutoRefresh.d.ts",
|
|
911
919
|
"import": "./dist/elements/provider/ApiContainer/hooks/useAutoRefresh.mjs"
|
|
912
920
|
},
|
|
921
|
+
"./elements/provider/ApiContainer/hooks/useInputRefresh": {
|
|
922
|
+
"types": "./dist/elements/provider/ApiContainer/hooks/useInputRefresh.d.ts",
|
|
923
|
+
"import": "./dist/elements/provider/ApiContainer/hooks/useInputRefresh.mjs"
|
|
924
|
+
},
|
|
913
925
|
"./elements/provider/ApiContainer/hooks/useProviderPagination": {
|
|
914
926
|
"types": "./dist/elements/provider/ApiContainer/hooks/useProviderPagination.d.ts",
|
|
915
927
|
"import": "./dist/elements/provider/ApiContainer/hooks/useProviderPagination.mjs"
|
|
@@ -1296,15 +1308,15 @@
|
|
|
1296
1308
|
"type": "module",
|
|
1297
1309
|
"sideEffects": false,
|
|
1298
1310
|
"dependencies": {
|
|
1311
|
+
"@dr.pogodin/react-helmet": "^3.3.2",
|
|
1299
1312
|
"@plitzi/nexus": "^1.4.0",
|
|
1300
|
-
"@plitzi/plitzi-ui": "^1.6.
|
|
1301
|
-
"@plitzi/sdk-auth": "0.38.
|
|
1302
|
-
"@plitzi/sdk-
|
|
1303
|
-
"@plitzi/sdk-
|
|
1304
|
-
"@plitzi/sdk-
|
|
1305
|
-
"@plitzi/sdk-
|
|
1306
|
-
"@plitzi/sdk-
|
|
1307
|
-
"@plitzi/sdk-shared": "0.38.4",
|
|
1313
|
+
"@plitzi/plitzi-ui": "^1.6.31",
|
|
1314
|
+
"@plitzi/sdk-auth": "0.38.6",
|
|
1315
|
+
"@plitzi/sdk-event-bridge": "0.38.6",
|
|
1316
|
+
"@plitzi/sdk-interactions": "0.38.6",
|
|
1317
|
+
"@plitzi/sdk-navigation": "0.38.6",
|
|
1318
|
+
"@plitzi/sdk-schema": "0.38.6",
|
|
1319
|
+
"@plitzi/sdk-shared": "0.38.6",
|
|
1308
1320
|
"clsx": "^2.1.1",
|
|
1309
1321
|
"immer": "^11.1.21"
|
|
1310
1322
|
},
|