@plitzi/sdk-elements 0.39.14 → 0.39.16
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 +28 -0
- package/dist/elements/declarations/index.d.ts +115 -1
- package/dist/elements/declarations/index.mjs +19 -15
- package/dist/elements/index.d.ts +3 -1
- package/dist/elements/index.mjs +14 -12
- package/dist/elements/settings.mjs +18 -14
- package/dist/elements/structure/Disclosure/DisclosureSummary/DisclosureSummary.d.ts +6 -1
- package/dist/elements/structure/Disclosure/DisclosureSummary/DisclosureSummary.mjs +4 -3
- package/dist/elements/structure/Disclosure/DisclosureSummary/Settings.d.ts +3 -2
- package/dist/elements/structure/Disclosure/DisclosureSummary/Settings.mjs +23 -12
- package/dist/elements/structure/Disclosure/DisclosureSummary/declaration.d.ts +2 -0
- package/dist/elements/structure/Disclosure/DisclosureSummary/declaration.mjs +5 -2
- package/dist/elements/structure/Disclosure/DisclosureSummary/index.d.ts +2 -0
- package/dist/elements/structure/Disclosure/index.d.ts +2 -0
- package/dist/elements/structure/Table/Settings.d.ts +8 -0
- package/dist/elements/structure/Table/Settings.mjs +25 -0
- package/dist/elements/structure/Table/Table.d.ts +25 -0
- package/dist/elements/structure/Table/Table.mjs +79 -0
- package/dist/elements/structure/Table/TableColumn/Settings.d.ts +8 -0
- package/dist/elements/structure/Table/TableColumn/Settings.mjs +31 -0
- package/dist/elements/structure/Table/TableColumn/TableColumn.d.ts +20 -0
- package/dist/elements/structure/Table/TableColumn/TableColumn.mjs +25 -0
- package/dist/elements/structure/Table/TableColumn/declaration.d.ts +47 -0
- package/dist/elements/structure/Table/TableColumn/declaration.mjs +36 -0
- package/dist/elements/structure/Table/TableColumn/index.d.ts +45 -0
- package/dist/elements/structure/Table/TableColumn/index.mjs +5 -0
- package/dist/elements/structure/Table/TablePart.d.ts +6 -0
- package/dist/elements/structure/Table/TablePart.mjs +4 -0
- package/dist/elements/structure/Table/declaration.d.ts +73 -0
- package/dist/elements/structure/Table/declaration.mjs +57 -0
- package/dist/elements/structure/Table/index.d.ts +118 -0
- package/dist/elements/structure/Table/index.mjs +9 -0
- package/dist/index.d.ts +117 -0
- package/dist/index.mjs +21 -19
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -1112,6 +1112,7 @@ export declare const defaultElements: {
|
|
|
1112
1112
|
readonly content: {
|
|
1113
1113
|
readonly attributes: {
|
|
1114
1114
|
readonly marker: true;
|
|
1115
|
+
readonly label: "";
|
|
1115
1116
|
};
|
|
1116
1117
|
readonly definition: {
|
|
1117
1118
|
readonly label: "Disclosure Summary";
|
|
@@ -1160,6 +1161,7 @@ export declare const defaultElements: {
|
|
|
1160
1161
|
} & {
|
|
1161
1162
|
content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
|
|
1162
1163
|
} & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<Partial<{
|
|
1164
|
+
label?: string | undefined;
|
|
1163
1165
|
marker?: boolean | undefined;
|
|
1164
1166
|
}>>;
|
|
1165
1167
|
};
|
|
@@ -3114,6 +3116,121 @@ export declare const defaultElements: {
|
|
|
3114
3116
|
itemKey?: string | undefined;
|
|
3115
3117
|
}>;
|
|
3116
3118
|
};
|
|
3119
|
+
table: import('react').FC<import('.').WithElementProps<elements.TableProps<unknown>>> & {
|
|
3120
|
+
plugins: {
|
|
3121
|
+
tableColumn: import('react').FC<import('.').WithElementProps<elements.TableColumnProps>> & {
|
|
3122
|
+
readonly type: "tableColumn";
|
|
3123
|
+
readonly ancestorType: "table";
|
|
3124
|
+
readonly content: {
|
|
3125
|
+
readonly attributes: {
|
|
3126
|
+
readonly header: "";
|
|
3127
|
+
readonly rowHeader: false;
|
|
3128
|
+
};
|
|
3129
|
+
readonly definition: {
|
|
3130
|
+
readonly label: "Table Column";
|
|
3131
|
+
readonly description: string;
|
|
3132
|
+
readonly items: [];
|
|
3133
|
+
readonly styleSelectors: {
|
|
3134
|
+
readonly header: "";
|
|
3135
|
+
};
|
|
3136
|
+
};
|
|
3137
|
+
readonly market: {
|
|
3138
|
+
readonly category: "structure";
|
|
3139
|
+
readonly icon: "fa-solid fa-table-columns";
|
|
3140
|
+
};
|
|
3141
|
+
readonly defaultStyle: {
|
|
3142
|
+
readonly style: {
|
|
3143
|
+
readonly base: {
|
|
3144
|
+
readonly default: {
|
|
3145
|
+
readonly padding: "8px 12px";
|
|
3146
|
+
readonly 'vertical-align': "top";
|
|
3147
|
+
};
|
|
3148
|
+
};
|
|
3149
|
+
readonly header: {
|
|
3150
|
+
readonly default: {
|
|
3151
|
+
readonly 'font-weight': "600";
|
|
3152
|
+
readonly 'white-space': "nowrap";
|
|
3153
|
+
};
|
|
3154
|
+
};
|
|
3155
|
+
};
|
|
3156
|
+
readonly subTypes: {};
|
|
3157
|
+
};
|
|
3158
|
+
};
|
|
3159
|
+
} & {
|
|
3160
|
+
content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
|
|
3161
|
+
} & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<Partial<{
|
|
3162
|
+
header?: string | undefined;
|
|
3163
|
+
rowHeader?: boolean | undefined;
|
|
3164
|
+
}>>;
|
|
3165
|
+
};
|
|
3166
|
+
type: "table";
|
|
3167
|
+
sourceType: "table";
|
|
3168
|
+
publishes: {
|
|
3169
|
+
readonly items: "Every row it draws, as its items give them";
|
|
3170
|
+
readonly item: "Inside a row: that row's item";
|
|
3171
|
+
readonly index: "Inside a row: its place, from 0";
|
|
3172
|
+
};
|
|
3173
|
+
content: {
|
|
3174
|
+
readonly attributes: {
|
|
3175
|
+
readonly items: readonly [];
|
|
3176
|
+
readonly caption: "";
|
|
3177
|
+
};
|
|
3178
|
+
readonly definition: {
|
|
3179
|
+
readonly label: "Table";
|
|
3180
|
+
readonly description: string;
|
|
3181
|
+
readonly items: [];
|
|
3182
|
+
readonly styleSelectors: {
|
|
3183
|
+
readonly caption: "";
|
|
3184
|
+
readonly head: "";
|
|
3185
|
+
readonly row: "";
|
|
3186
|
+
};
|
|
3187
|
+
};
|
|
3188
|
+
readonly builder: {
|
|
3189
|
+
readonly itemsAllowed: ["tableColumn"];
|
|
3190
|
+
};
|
|
3191
|
+
readonly market: {
|
|
3192
|
+
readonly category: "structure";
|
|
3193
|
+
readonly icon: "fa-solid fa-table";
|
|
3194
|
+
};
|
|
3195
|
+
readonly defaultStyle: {
|
|
3196
|
+
readonly style: {
|
|
3197
|
+
readonly base: {
|
|
3198
|
+
readonly default: {
|
|
3199
|
+
readonly width: "100%";
|
|
3200
|
+
readonly 'border-collapse': "collapse";
|
|
3201
|
+
readonly 'text-align': "left";
|
|
3202
|
+
};
|
|
3203
|
+
};
|
|
3204
|
+
readonly caption: {
|
|
3205
|
+
readonly default: {
|
|
3206
|
+
readonly 'text-align': "left";
|
|
3207
|
+
readonly 'padding-bottom': "8px";
|
|
3208
|
+
};
|
|
3209
|
+
};
|
|
3210
|
+
readonly head: {
|
|
3211
|
+
readonly default: {
|
|
3212
|
+
readonly 'border-bottom-width': "1px";
|
|
3213
|
+
readonly 'border-bottom-style': "solid";
|
|
3214
|
+
readonly 'border-bottom-color': "currentColor";
|
|
3215
|
+
};
|
|
3216
|
+
};
|
|
3217
|
+
readonly row: {
|
|
3218
|
+
readonly default: {
|
|
3219
|
+
readonly 'border-bottom-width': "1px";
|
|
3220
|
+
readonly 'border-bottom-style': "solid";
|
|
3221
|
+
readonly 'border-bottom-color': "rgba(127, 127, 127, 0.25)";
|
|
3222
|
+
};
|
|
3223
|
+
};
|
|
3224
|
+
};
|
|
3225
|
+
readonly subTypes: {};
|
|
3226
|
+
};
|
|
3227
|
+
} & import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
|
|
3228
|
+
__attributes: Partial<{
|
|
3229
|
+
caption?: string | undefined;
|
|
3230
|
+
items?: unknown[] | undefined;
|
|
3231
|
+
itemKey?: string | undefined;
|
|
3232
|
+
}>;
|
|
3233
|
+
};
|
|
3117
3234
|
link: import('react').FC<import('.').WithElementProps<import('./elements/basic/Link/Link').LinkProps>> & {
|
|
3118
3235
|
readonly type: "link";
|
|
3119
3236
|
readonly contentAttributes: readonly ["content", "href", "label"];
|
package/dist/index.mjs
CHANGED
|
@@ -46,20 +46,21 @@ import W from "./elements/structure/List/index.mjs";
|
|
|
46
46
|
import G from "./elements/structure/ModalContainer/index.mjs";
|
|
47
47
|
import K from "./elements/structure/Pagination/index.mjs";
|
|
48
48
|
import q from "./elements/structure/TabContainer/index.mjs";
|
|
49
|
-
import J from "./elements/structure/
|
|
50
|
-
import Y from "./elements/structure/
|
|
51
|
-
import X from "./elements/
|
|
52
|
-
import Z from "./elements/user/
|
|
53
|
-
import Q from "./elements/user/
|
|
54
|
-
import $ from "./
|
|
55
|
-
import ee from "./Element/
|
|
56
|
-
import
|
|
57
|
-
import ne from "./Element/
|
|
58
|
-
import re from "./Element/
|
|
59
|
-
import ie from "./Element/hooks/
|
|
60
|
-
import ae from "./Element/
|
|
49
|
+
import J from "./elements/structure/Table/index.mjs";
|
|
50
|
+
import Y from "./elements/structure/TimeWindow/index.mjs";
|
|
51
|
+
import X from "./elements/structure/Variants/index.mjs";
|
|
52
|
+
import Z from "./elements/user/Account/index.mjs";
|
|
53
|
+
import Q from "./elements/user/Avatar/index.mjs";
|
|
54
|
+
import $ from "./elements/user/SignInForm/index.mjs";
|
|
55
|
+
import ee from "./Element/PluginRemote.mjs";
|
|
56
|
+
import te from "./Element/ReplicaProvider.mjs";
|
|
57
|
+
import { RootElement as ne } from "./Element/RootElement.mjs";
|
|
58
|
+
import re from "./Element/helpers/elementChildren.mjs";
|
|
59
|
+
import ie from "./Element/hooks/useElementVisible.mjs";
|
|
60
|
+
import ae from "./Element/hooks/usePluginTrigger.mjs";
|
|
61
|
+
import oe from "./Element/ElementContext.mjs";
|
|
61
62
|
// src/index.ts
|
|
62
|
-
var
|
|
63
|
+
var se = {
|
|
63
64
|
dropdown: g,
|
|
64
65
|
notFound: O,
|
|
65
66
|
loading: D,
|
|
@@ -76,11 +77,11 @@ var oe = {
|
|
|
76
77
|
disclosure: H,
|
|
77
78
|
modalContainer: G,
|
|
78
79
|
tabContainer: q,
|
|
79
|
-
timeWindow:
|
|
80
|
-
variants:
|
|
81
|
-
account:
|
|
82
|
-
avatar:
|
|
83
|
-
signInForm:
|
|
80
|
+
timeWindow: Y,
|
|
81
|
+
variants: X,
|
|
82
|
+
account: Z,
|
|
83
|
+
avatar: Q,
|
|
84
|
+
signInForm: $,
|
|
84
85
|
carousel: z,
|
|
85
86
|
heading: _,
|
|
86
87
|
image: N,
|
|
@@ -95,6 +96,7 @@ var oe = {
|
|
|
95
96
|
text: S,
|
|
96
97
|
themeToggle: C,
|
|
97
98
|
list: W,
|
|
99
|
+
table: J,
|
|
98
100
|
link: v,
|
|
99
101
|
markdown: y,
|
|
100
102
|
richText: x,
|
|
@@ -104,4 +106,4 @@ var oe = {
|
|
|
104
106
|
apiContainer: I,
|
|
105
107
|
channel: R
|
|
106
108
|
};
|
|
107
|
-
export {
|
|
109
|
+
export { Z as Account, I as ApiContainer, Q as Avatar, s as BlockHtml, c as BlockJsx, m as Button, z as Carousel, R as Channel, A as Chart, B as Container, h as Countdown, l as Custom, V as DialogContainer, H as Disclosure, g as Dropdown, oe as ElementContext, j as Embed, U as FocusGroup, M as FontAwesome, w as Form, T as FormControl, _ as Heading, N as Image, t as JsxManager, E as LayoutContainer, v as Link, W as List, D as Loading, y as Markdown, G as ModalContainer, u as NodeHtml, O as NotFound, k as Page, K as Pagination, b as Paragraph, L as PluginManager, ee as PluginRemote, o as PluginSource, p as Reference, te as ReplicaProvider, x as RichText, ne as RootElement, $ as SignInForm, P as Svg, q as TabContainer, J as Table, S as Text, C as ThemeToggle, Y as TimeWindow, X as Variants, F as Video, se as defaultElements, re as elementChildren, n as elements, r as useChannel, f as useElement, ie as useElementVisible, a as useFlag, i as useJob, ae as usePluginTrigger, e as useRscData, d as withElement };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plitzi/sdk-elements",
|
|
3
|
-
"version": "0.39.
|
|
3
|
+
"version": "0.39.16",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"@dr.pogodin/react-helmet": "^3.3.2",
|
|
36
36
|
"@plitzi/nexus": "^1.5.1",
|
|
37
37
|
"@plitzi/plitzi-ui": "^1.6.41",
|
|
38
|
-
"@plitzi/sdk-auth": "0.39.
|
|
39
|
-
"@plitzi/sdk-event-bridge": "0.39.
|
|
40
|
-
"@plitzi/sdk-interactions": "0.39.
|
|
41
|
-
"@plitzi/sdk-navigation": "0.39.
|
|
42
|
-
"@plitzi/sdk-schema": "0.39.
|
|
43
|
-
"@plitzi/sdk-shared": "0.39.
|
|
38
|
+
"@plitzi/sdk-auth": "0.39.16",
|
|
39
|
+
"@plitzi/sdk-event-bridge": "0.39.16",
|
|
40
|
+
"@plitzi/sdk-interactions": "0.39.16",
|
|
41
|
+
"@plitzi/sdk-navigation": "0.39.16",
|
|
42
|
+
"@plitzi/sdk-schema": "0.39.16",
|
|
43
|
+
"@plitzi/sdk-shared": "0.39.16",
|
|
44
44
|
"clsx": "^2.1.1",
|
|
45
45
|
"dompurify": "^3.4.18",
|
|
46
46
|
"immer": "^11.2.10",
|