@plitzi/sdk-elements 0.39.12 → 0.39.14
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/Element/PluginManager.mjs +13 -13
- package/dist/Element/hooks/useElementState.d.ts +1 -1
- package/dist/Element/hooks/useFullscreenInteractions.d.ts +11 -0
- package/dist/Element/hooks/useFullscreenInteractions.mjs +14 -0
- package/dist/Element/hooks/useRootElementInteractions.mjs +93 -87
- package/dist/builder/ruleFields.d.ts +1 -1
- package/dist/builder/ruleFields.mjs +5 -0
- package/dist/dataSource/GlobalSources.mjs +121 -104
- package/dist/dataSource/useAudienceScope.mjs +2 -1
- package/dist/dataSource/usePageClock.d.ts +12 -0
- package/dist/dataSource/usePageClock.mjs +19 -0
- package/dist/elements/basic/Countdown/Countdown.d.ts +23 -0
- package/dist/elements/basic/Countdown/Countdown.mjs +58 -0
- package/dist/elements/basic/Countdown/Settings.d.ts +12 -0
- package/dist/elements/basic/Countdown/Settings.mjs +94 -0
- package/dist/elements/basic/Countdown/declaration.d.ts +72 -0
- package/dist/elements/basic/Countdown/declaration.mjs +58 -0
- package/dist/elements/basic/Countdown/index.d.ts +69 -0
- package/dist/elements/basic/Countdown/index.mjs +5 -0
- package/dist/elements/declarations/index.d.ts +508 -7
- package/dist/elements/declarations/index.mjs +84 -72
- package/dist/elements/index.d.ts +13 -3
- package/dist/elements/index.mjs +76 -66
- package/dist/elements/media/Image/Image.d.ts +6 -1
- package/dist/elements/media/Image/Image.mjs +44 -35
- package/dist/elements/media/Image/Settings.d.ts +2 -1
- package/dist/elements/media/Image/Settings.mjs +26 -19
- package/dist/elements/media/Image/declaration.d.ts +2 -0
- package/dist/elements/media/Image/declaration.mjs +2 -1
- package/dist/elements/media/Image/index.d.ts +2 -0
- package/dist/elements/settings.mjs +92 -80
- package/dist/elements/structure/Container/Container.d.ts +2 -4
- package/dist/elements/structure/Container/Container.mjs +5 -6
- package/dist/elements/structure/Container/Settings.d.ts +1 -2
- package/dist/elements/structure/Container/Settings.mjs +5 -19
- package/dist/elements/structure/Container/declaration.d.ts +1 -2
- package/dist/elements/structure/Container/declaration.mjs +1 -3
- package/dist/elements/structure/Container/index.d.ts +1 -2
- package/dist/elements/structure/Disclosure/Disclosure.d.ts +26 -0
- package/dist/elements/structure/Disclosure/Disclosure.mjs +49 -0
- package/dist/elements/structure/Disclosure/DisclosureSummary/DisclosureSummary.d.ts +16 -0
- package/dist/elements/structure/Disclosure/DisclosureSummary/DisclosureSummary.mjs +19 -0
- package/dist/elements/structure/Disclosure/DisclosureSummary/Settings.d.ts +7 -0
- package/dist/elements/structure/Disclosure/DisclosureSummary/Settings.mjs +20 -0
- package/dist/elements/structure/Disclosure/DisclosureSummary/declaration.d.ts +59 -0
- package/dist/elements/structure/Disclosure/DisclosureSummary/declaration.mjs +47 -0
- package/dist/elements/structure/Disclosure/DisclosureSummary/index.d.ts +57 -0
- package/dist/elements/structure/Disclosure/DisclosureSummary/index.mjs +5 -0
- package/dist/elements/structure/Disclosure/Settings.d.ts +10 -0
- package/dist/elements/structure/Disclosure/Settings.mjs +47 -0
- package/dist/elements/structure/Disclosure/declaration.d.ts +66 -0
- package/dist/elements/structure/Disclosure/declaration.mjs +55 -0
- package/dist/elements/structure/Disclosure/index.d.ts +121 -0
- package/dist/elements/structure/Disclosure/index.mjs +9 -0
- package/dist/elements/structure/Disclosure/useDetails.d.ts +27 -0
- package/dist/elements/structure/Disclosure/useDetails.mjs +49 -0
- package/dist/elements/structure/TimeWindow/TimeWindow.mjs +29 -25
- package/dist/elements/structure/TimeWindow/TimeWindowContext.d.ts +6 -0
- package/dist/elements/structure/TimeWindow/TimeWindowContext.mjs +4 -0
- package/dist/elements/{testing → structure}/Variants/Settings.mjs +1 -1
- package/dist/elements/{testing → structure}/Variants/VariantItem/Settings.mjs +1 -1
- package/dist/elements/{testing → structure}/Variants/VariantItem/VariantItem.mjs +1 -1
- package/dist/elements/{testing → structure}/Variants/VariantItem/declaration.d.ts +1 -1
- package/dist/elements/{testing → structure}/Variants/VariantItem/declaration.mjs +2 -2
- package/dist/elements/{testing → structure}/Variants/VariantItem/index.d.ts +1 -1
- package/dist/elements/{testing → structure}/Variants/VariantItem/index.mjs +1 -1
- package/dist/elements/{testing → structure}/Variants/Variants.mjs +12 -12
- package/dist/elements/{testing → structure/Variants}/childOfItem.mjs +1 -1
- package/dist/elements/{testing → structure}/Variants/declaration.d.ts +1 -1
- package/dist/elements/{testing → structure}/Variants/declaration.mjs +3 -3
- package/dist/elements/{testing → structure}/Variants/index.d.ts +2 -2
- package/dist/elements/{testing → structure}/Variants/index.mjs +1 -1
- package/dist/elements/user/Account/Account.d.ts +25 -0
- package/dist/elements/user/Account/Account.mjs +104 -0
- package/dist/elements/user/Account/Settings.d.ts +10 -0
- package/dist/elements/user/Account/Settings.mjs +47 -0
- package/dist/elements/user/Account/declaration.d.ts +143 -0
- package/dist/elements/user/Account/declaration.mjs +123 -0
- package/dist/elements/user/Account/index.d.ts +141 -0
- package/dist/elements/user/Account/index.mjs +5 -0
- package/dist/elements/user/Avatar/Avatar.d.ts +19 -0
- package/dist/elements/user/Avatar/Avatar.mjs +26 -0
- package/dist/elements/user/Avatar/AvatarFace.d.ts +15 -0
- package/dist/elements/user/Avatar/AvatarFace.mjs +28 -0
- package/dist/elements/user/Avatar/Settings.d.ts +9 -0
- package/dist/elements/user/Avatar/Settings.mjs +38 -0
- package/dist/elements/user/Avatar/declaration.d.ts +65 -0
- package/dist/elements/user/Avatar/declaration.mjs +53 -0
- package/dist/elements/user/Avatar/faces.d.ts +10 -0
- package/dist/elements/user/Avatar/faces.mjs +10 -0
- package/dist/elements/user/Avatar/index.d.ts +63 -0
- package/dist/elements/user/Avatar/index.mjs +5 -0
- package/dist/elements/user/SignInForm/Settings.d.ts +16 -0
- package/dist/elements/user/SignInForm/Settings.mjs +64 -0
- package/dist/elements/user/SignInForm/SignInForm.d.ts +34 -0
- package/dist/elements/user/SignInForm/SignInForm.mjs +112 -0
- package/dist/elements/user/SignInForm/declaration.d.ts +120 -0
- package/dist/elements/user/SignInForm/declaration.mjs +99 -0
- package/dist/elements/user/SignInForm/index.d.ts +118 -0
- package/dist/elements/user/SignInForm/index.mjs +5 -0
- package/dist/index.d.ts +514 -6
- package/dist/index.mjs +84 -74
- package/package.json +7 -7
- /package/dist/elements/{testing → structure}/Variants/Settings.d.ts +0 -0
- /package/dist/elements/{testing → structure}/Variants/VariantItem/Settings.d.ts +0 -0
- /package/dist/elements/{testing → structure}/Variants/VariantItem/VariantItem.d.ts +0 -0
- /package/dist/elements/{testing → structure}/Variants/Variants.d.ts +0 -0
- /package/dist/elements/{testing → structure/Variants}/childOfItem.d.ts +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -760,8 +760,7 @@ export declare const defaultElements: {
|
|
|
760
760
|
} & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<Partial<{
|
|
761
761
|
title?: string | undefined;
|
|
762
762
|
label?: string | undefined;
|
|
763
|
-
|
|
764
|
-
subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "dl" | "dt" | "dd" | "li" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | "details" | "summary" | undefined;
|
|
763
|
+
subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "dl" | "dt" | "dd" | "li" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | undefined;
|
|
765
764
|
live?: "polite" | "assertive" | "" | undefined;
|
|
766
765
|
decorative?: boolean | undefined;
|
|
767
766
|
}>>;
|
|
@@ -1105,6 +1104,126 @@ export declare const defaultElements: {
|
|
|
1105
1104
|
acceptButtonLabelLoading?: string | undefined;
|
|
1106
1105
|
rejectButtonLabel?: string | undefined;
|
|
1107
1106
|
}>>;
|
|
1107
|
+
disclosure: import('react').FC<import('.').WithElementProps<import('./elements/structure/Disclosure/Disclosure').DisclosureProps>> & {
|
|
1108
|
+
plugins: {
|
|
1109
|
+
disclosureSummary: import('react').FC<import('.').WithElementProps<import('./elements/structure/Disclosure/DisclosureSummary/DisclosureSummary').DisclosureSummaryProps>> & {
|
|
1110
|
+
readonly type: "disclosureSummary";
|
|
1111
|
+
readonly ancestorType: "disclosure";
|
|
1112
|
+
readonly content: {
|
|
1113
|
+
readonly attributes: {
|
|
1114
|
+
readonly marker: true;
|
|
1115
|
+
};
|
|
1116
|
+
readonly definition: {
|
|
1117
|
+
readonly label: "Disclosure Summary";
|
|
1118
|
+
readonly description: string;
|
|
1119
|
+
readonly items: [];
|
|
1120
|
+
readonly styleSelectors: {
|
|
1121
|
+
readonly marker: "";
|
|
1122
|
+
};
|
|
1123
|
+
};
|
|
1124
|
+
readonly builder: {
|
|
1125
|
+
readonly canDelete: false;
|
|
1126
|
+
readonly canDragDrop: false;
|
|
1127
|
+
readonly canMove: false;
|
|
1128
|
+
readonly canSnippet: false;
|
|
1129
|
+
};
|
|
1130
|
+
readonly market: {
|
|
1131
|
+
readonly category: "structure";
|
|
1132
|
+
readonly icon: "fa-solid fa-heading";
|
|
1133
|
+
};
|
|
1134
|
+
readonly defaultStyle: {
|
|
1135
|
+
readonly style: {
|
|
1136
|
+
readonly base: {
|
|
1137
|
+
readonly default: {
|
|
1138
|
+
readonly display: "flex";
|
|
1139
|
+
readonly 'align-items': "center";
|
|
1140
|
+
readonly gap: "8px";
|
|
1141
|
+
readonly cursor: "pointer";
|
|
1142
|
+
readonly 'list-style': "none";
|
|
1143
|
+
};
|
|
1144
|
+
};
|
|
1145
|
+
readonly marker: {
|
|
1146
|
+
readonly default: {
|
|
1147
|
+
readonly 'flex-shrink': 0;
|
|
1148
|
+
readonly 'margin-left': "auto";
|
|
1149
|
+
readonly width: "0.45em";
|
|
1150
|
+
readonly height: "0.45em";
|
|
1151
|
+
readonly 'border-right': "2px solid currentColor";
|
|
1152
|
+
readonly 'border-bottom': "2px solid currentColor";
|
|
1153
|
+
readonly transform: "rotate(45deg)";
|
|
1154
|
+
};
|
|
1155
|
+
};
|
|
1156
|
+
};
|
|
1157
|
+
readonly subTypes: {};
|
|
1158
|
+
};
|
|
1159
|
+
};
|
|
1160
|
+
} & {
|
|
1161
|
+
content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
|
|
1162
|
+
} & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<Partial<{
|
|
1163
|
+
marker?: boolean | undefined;
|
|
1164
|
+
}>>;
|
|
1165
|
+
};
|
|
1166
|
+
type: "disclosure";
|
|
1167
|
+
callbacks: {
|
|
1168
|
+
readonly openDisclosure: {
|
|
1169
|
+
readonly action: "openDisclosure";
|
|
1170
|
+
readonly title: "Open Disclosure";
|
|
1171
|
+
readonly type: "callback";
|
|
1172
|
+
readonly params: {};
|
|
1173
|
+
readonly preview: {};
|
|
1174
|
+
};
|
|
1175
|
+
readonly closeDisclosure: {
|
|
1176
|
+
readonly action: "closeDisclosure";
|
|
1177
|
+
readonly title: "Close Disclosure";
|
|
1178
|
+
readonly type: "callback";
|
|
1179
|
+
readonly params: {};
|
|
1180
|
+
readonly preview: {};
|
|
1181
|
+
};
|
|
1182
|
+
readonly toggleDisclosure: {
|
|
1183
|
+
readonly action: "toggleDisclosure";
|
|
1184
|
+
readonly title: "Toggle Disclosure";
|
|
1185
|
+
readonly type: "callback";
|
|
1186
|
+
readonly params: {};
|
|
1187
|
+
readonly preview: {};
|
|
1188
|
+
};
|
|
1189
|
+
};
|
|
1190
|
+
marks: {
|
|
1191
|
+
readonly '[open]': "on the disclosure while what it holds is shown";
|
|
1192
|
+
readonly 'its summary': "lights a class’s `expanded` state while the disclosure is open — a sign inside it turns with the parent’s (`ancestors: { \">\": { states: { expanded: … } } }`)";
|
|
1193
|
+
};
|
|
1194
|
+
content: {
|
|
1195
|
+
readonly attributes: {
|
|
1196
|
+
readonly open: false;
|
|
1197
|
+
readonly name: "";
|
|
1198
|
+
readonly closeOnClickOutside: false;
|
|
1199
|
+
readonly closeOnNavigate: true;
|
|
1200
|
+
};
|
|
1201
|
+
readonly definition: {
|
|
1202
|
+
readonly label: "Disclosure";
|
|
1203
|
+
readonly description: string;
|
|
1204
|
+
readonly items: [];
|
|
1205
|
+
};
|
|
1206
|
+
readonly market: {
|
|
1207
|
+
readonly category: "structure";
|
|
1208
|
+
readonly icon: "fa-solid fa-caret-down";
|
|
1209
|
+
};
|
|
1210
|
+
readonly defaultStyle: {
|
|
1211
|
+
readonly style: {
|
|
1212
|
+
readonly base: {
|
|
1213
|
+
readonly default: {};
|
|
1214
|
+
};
|
|
1215
|
+
};
|
|
1216
|
+
readonly subTypes: {};
|
|
1217
|
+
};
|
|
1218
|
+
} & import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
|
|
1219
|
+
initialItems: readonly ["disclosureSummary"];
|
|
1220
|
+
__attributes: Partial<{
|
|
1221
|
+
name?: string | undefined;
|
|
1222
|
+
open?: boolean | undefined;
|
|
1223
|
+
closeOnClickOutside?: boolean | undefined;
|
|
1224
|
+
closeOnNavigate?: boolean | undefined;
|
|
1225
|
+
}>;
|
|
1226
|
+
};
|
|
1108
1227
|
modalContainer: import('react').FC<import('.').WithElementProps<import('./elements/structure/ModalContainer/ModalContainer').ModalContainerProps>> & {
|
|
1109
1228
|
readonly type: "modalContainer";
|
|
1110
1229
|
readonly contentAttributes: readonly ["title"];
|
|
@@ -1459,9 +1578,9 @@ export declare const defaultElements: {
|
|
|
1459
1578
|
startsAt?: string | undefined;
|
|
1460
1579
|
endsAt?: string | undefined;
|
|
1461
1580
|
}>>;
|
|
1462
|
-
variants: import('react').FC<import('.').WithElementProps<import('./elements/
|
|
1581
|
+
variants: import('react').FC<import('.').WithElementProps<import('./elements/structure/Variants/Variants').VariantsProps>> & {
|
|
1463
1582
|
plugins: {
|
|
1464
|
-
variantItem: import('react').FC<import('.').WithElementProps<import('./elements/
|
|
1583
|
+
variantItem: import('react').FC<import('.').WithElementProps<import('./elements/structure/Variants/VariantItem/VariantItem').VariantItemProps>> & {
|
|
1465
1584
|
readonly type: "variantItem";
|
|
1466
1585
|
readonly ancestorType: "variants";
|
|
1467
1586
|
readonly content: {
|
|
@@ -1478,7 +1597,7 @@ export declare const defaultElements: {
|
|
|
1478
1597
|
readonly itemsNotAllowed: ["variantItem"];
|
|
1479
1598
|
};
|
|
1480
1599
|
readonly market: {
|
|
1481
|
-
readonly category: "
|
|
1600
|
+
readonly category: "structure";
|
|
1482
1601
|
readonly icon: "fa-solid fa-code-branch";
|
|
1483
1602
|
};
|
|
1484
1603
|
readonly defaultStyle: {
|
|
@@ -1516,7 +1635,7 @@ export declare const defaultElements: {
|
|
|
1516
1635
|
readonly itemsAllowed: ["variantItem"];
|
|
1517
1636
|
};
|
|
1518
1637
|
readonly market: {
|
|
1519
|
-
readonly category: "
|
|
1638
|
+
readonly category: "structure";
|
|
1520
1639
|
readonly icon: "fa-solid fa-shuffle";
|
|
1521
1640
|
};
|
|
1522
1641
|
readonly defaultStyle: {
|
|
@@ -1535,6 +1654,325 @@ export declare const defaultElements: {
|
|
|
1535
1654
|
builderVariant?: number | undefined;
|
|
1536
1655
|
}>;
|
|
1537
1656
|
};
|
|
1657
|
+
account: import('react').FC<import('.').WithElementProps<import('./elements/user/Account/Account').AccountProps>> & {
|
|
1658
|
+
readonly type: "account";
|
|
1659
|
+
readonly contentAttributes: readonly ["signInLabel", "signOutLabel"];
|
|
1660
|
+
readonly content: {
|
|
1661
|
+
readonly attributes: {
|
|
1662
|
+
readonly signInHref: "";
|
|
1663
|
+
readonly signInLabel: "Sign in";
|
|
1664
|
+
readonly signOutLabel: "Sign out";
|
|
1665
|
+
readonly signOutHref: "";
|
|
1666
|
+
};
|
|
1667
|
+
readonly definition: {
|
|
1668
|
+
readonly label: "Account";
|
|
1669
|
+
readonly description: string;
|
|
1670
|
+
readonly items: [];
|
|
1671
|
+
readonly styleSelectors: {
|
|
1672
|
+
readonly signIn: "";
|
|
1673
|
+
readonly trigger: "";
|
|
1674
|
+
readonly panel: "";
|
|
1675
|
+
readonly identity: "";
|
|
1676
|
+
readonly signOut: "";
|
|
1677
|
+
};
|
|
1678
|
+
};
|
|
1679
|
+
readonly market: {
|
|
1680
|
+
readonly category: "user";
|
|
1681
|
+
readonly icon: "fa-solid fa-user-gear";
|
|
1682
|
+
};
|
|
1683
|
+
readonly defaultStyle: {
|
|
1684
|
+
readonly style: {
|
|
1685
|
+
readonly base: {
|
|
1686
|
+
readonly default: {
|
|
1687
|
+
readonly position: "relative";
|
|
1688
|
+
readonly display: "inline-flex";
|
|
1689
|
+
readonly 'align-items': "center";
|
|
1690
|
+
};
|
|
1691
|
+
};
|
|
1692
|
+
readonly signIn: {
|
|
1693
|
+
readonly default: {
|
|
1694
|
+
readonly display: "inline-flex";
|
|
1695
|
+
readonly 'align-items': "center";
|
|
1696
|
+
readonly 'padding-top': "8px";
|
|
1697
|
+
readonly 'padding-right': "14px";
|
|
1698
|
+
readonly 'padding-bottom': "8px";
|
|
1699
|
+
readonly 'padding-left': "14px";
|
|
1700
|
+
readonly 'border-top-width': "0px";
|
|
1701
|
+
readonly 'border-right-width': "0px";
|
|
1702
|
+
readonly 'border-bottom-width': "0px";
|
|
1703
|
+
readonly 'border-left-width': "0px";
|
|
1704
|
+
readonly 'border-top-left-radius': "8px";
|
|
1705
|
+
readonly 'border-top-right-radius': "8px";
|
|
1706
|
+
readonly 'border-bottom-left-radius': "8px";
|
|
1707
|
+
readonly 'border-bottom-right-radius': "8px";
|
|
1708
|
+
readonly 'background-color': "light-dark(oklch(0.21 0.006 285.885), oklch(0.985 0 0))";
|
|
1709
|
+
readonly color: "light-dark(oklch(0.985 0 0), oklch(0.21 0.006 285.885))";
|
|
1710
|
+
readonly font: "inherit";
|
|
1711
|
+
readonly 'font-weight': 600;
|
|
1712
|
+
readonly 'text-decoration': "none";
|
|
1713
|
+
readonly cursor: "pointer";
|
|
1714
|
+
};
|
|
1715
|
+
};
|
|
1716
|
+
readonly trigger: {
|
|
1717
|
+
readonly default: {
|
|
1718
|
+
readonly display: "flex";
|
|
1719
|
+
readonly 'border-top-left-radius': "50%";
|
|
1720
|
+
readonly 'border-top-right-radius': "50%";
|
|
1721
|
+
readonly 'border-bottom-left-radius': "50%";
|
|
1722
|
+
readonly 'border-bottom-right-radius': "50%";
|
|
1723
|
+
readonly cursor: "pointer";
|
|
1724
|
+
readonly 'list-style': "none";
|
|
1725
|
+
};
|
|
1726
|
+
};
|
|
1727
|
+
readonly panel: {
|
|
1728
|
+
readonly default: {
|
|
1729
|
+
readonly position: "absolute";
|
|
1730
|
+
readonly top: "calc(100% + 8px)";
|
|
1731
|
+
readonly right: "0px";
|
|
1732
|
+
readonly 'z-index': 50;
|
|
1733
|
+
readonly display: "flex";
|
|
1734
|
+
readonly 'flex-direction': "column";
|
|
1735
|
+
readonly gap: "2px";
|
|
1736
|
+
readonly 'min-width': "220px";
|
|
1737
|
+
readonly 'padding-top': "8px";
|
|
1738
|
+
readonly 'padding-right': "8px";
|
|
1739
|
+
readonly 'padding-bottom': "8px";
|
|
1740
|
+
readonly 'padding-left': "8px";
|
|
1741
|
+
readonly 'border-top-left-radius': "12px";
|
|
1742
|
+
readonly 'border-top-right-radius': "12px";
|
|
1743
|
+
readonly 'border-bottom-left-radius': "12px";
|
|
1744
|
+
readonly 'border-bottom-right-radius': "12px";
|
|
1745
|
+
readonly 'background-color': "light-dark(white, oklch(0.21 0.006 285.885))";
|
|
1746
|
+
readonly 'box-shadow': "rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.12) 0px 8px 24px";
|
|
1747
|
+
};
|
|
1748
|
+
};
|
|
1749
|
+
readonly identity: {
|
|
1750
|
+
readonly default: {
|
|
1751
|
+
readonly display: "flex";
|
|
1752
|
+
readonly 'flex-direction': "column";
|
|
1753
|
+
readonly gap: "2px";
|
|
1754
|
+
readonly 'padding-top': "8px";
|
|
1755
|
+
readonly 'padding-right': "10px";
|
|
1756
|
+
readonly 'padding-bottom': "10px";
|
|
1757
|
+
readonly 'padding-left': "10px";
|
|
1758
|
+
readonly 'margin-bottom': "4px";
|
|
1759
|
+
readonly 'border-bottom': "1px solid light-dark(oklch(0.92 0.004 286.32), oklch(0.32 0.006 285.885))";
|
|
1760
|
+
};
|
|
1761
|
+
};
|
|
1762
|
+
readonly signOut: {
|
|
1763
|
+
readonly default: {
|
|
1764
|
+
readonly display: "flex";
|
|
1765
|
+
readonly width: "100%";
|
|
1766
|
+
readonly 'padding-top': "8px";
|
|
1767
|
+
readonly 'padding-right': "10px";
|
|
1768
|
+
readonly 'padding-bottom': "8px";
|
|
1769
|
+
readonly 'padding-left': "10px";
|
|
1770
|
+
readonly 'border-top-width': "0px";
|
|
1771
|
+
readonly 'border-right-width': "0px";
|
|
1772
|
+
readonly 'border-bottom-width': "0px";
|
|
1773
|
+
readonly 'border-left-width': "0px";
|
|
1774
|
+
readonly 'border-top-left-radius': "8px";
|
|
1775
|
+
readonly 'border-top-right-radius': "8px";
|
|
1776
|
+
readonly 'border-bottom-left-radius': "8px";
|
|
1777
|
+
readonly 'border-bottom-right-radius': "8px";
|
|
1778
|
+
readonly 'background-color': "transparent";
|
|
1779
|
+
readonly color: "inherit";
|
|
1780
|
+
readonly font: "inherit";
|
|
1781
|
+
readonly 'text-align': "left";
|
|
1782
|
+
readonly cursor: "pointer";
|
|
1783
|
+
};
|
|
1784
|
+
};
|
|
1785
|
+
};
|
|
1786
|
+
readonly subTypes: {};
|
|
1787
|
+
};
|
|
1788
|
+
};
|
|
1789
|
+
} & {
|
|
1790
|
+
content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
|
|
1791
|
+
} & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<Partial<{
|
|
1792
|
+
signInHref?: string | undefined;
|
|
1793
|
+
signInLabel?: string | undefined;
|
|
1794
|
+
signOutLabel?: string | undefined;
|
|
1795
|
+
signOutHref?: string | undefined;
|
|
1796
|
+
}>>;
|
|
1797
|
+
avatar: import('react').FC<import('.').WithElementProps<import('./elements/user/Avatar/Avatar').AvatarProps>> & {
|
|
1798
|
+
readonly type: "avatar";
|
|
1799
|
+
readonly contentAttributes: readonly ["src", "name"];
|
|
1800
|
+
readonly content: {
|
|
1801
|
+
readonly attributes: {
|
|
1802
|
+
readonly src: "";
|
|
1803
|
+
readonly name: "";
|
|
1804
|
+
readonly decorative: false;
|
|
1805
|
+
};
|
|
1806
|
+
readonly definition: {
|
|
1807
|
+
readonly label: "Avatar";
|
|
1808
|
+
readonly description: string;
|
|
1809
|
+
readonly items: [];
|
|
1810
|
+
readonly styleSelectors: {
|
|
1811
|
+
readonly image: "";
|
|
1812
|
+
};
|
|
1813
|
+
};
|
|
1814
|
+
readonly market: {
|
|
1815
|
+
readonly category: "user";
|
|
1816
|
+
readonly icon: "fa-solid fa-circle-user";
|
|
1817
|
+
};
|
|
1818
|
+
readonly defaultStyle: {
|
|
1819
|
+
readonly style: {
|
|
1820
|
+
readonly base: {
|
|
1821
|
+
readonly default: {
|
|
1822
|
+
readonly display: "inline-flex";
|
|
1823
|
+
readonly 'align-items': "center";
|
|
1824
|
+
readonly 'justify-content': "center";
|
|
1825
|
+
readonly 'flex-shrink': 0;
|
|
1826
|
+
readonly width: "40px";
|
|
1827
|
+
readonly height: "40px";
|
|
1828
|
+
readonly overflow: "hidden";
|
|
1829
|
+
readonly 'border-top-left-radius': "50%";
|
|
1830
|
+
readonly 'border-top-right-radius': "50%";
|
|
1831
|
+
readonly 'border-bottom-left-radius': "50%";
|
|
1832
|
+
readonly 'border-bottom-right-radius': "50%";
|
|
1833
|
+
readonly 'font-size': "15px";
|
|
1834
|
+
readonly 'font-weight': 600;
|
|
1835
|
+
readonly 'line-height': 1;
|
|
1836
|
+
readonly 'user-select': "none";
|
|
1837
|
+
readonly 'background-color': "light-dark(oklch(0.9 0.06 var(--plitzi-avatar-hue, 260)), oklch(0.38 0.07 var(--plitzi-avatar-hue, 260)))";
|
|
1838
|
+
readonly color: "light-dark(oklch(0.36 0.09 var(--plitzi-avatar-hue, 260)), oklch(0.93 0.04 var(--plitzi-avatar-hue, 260)))";
|
|
1839
|
+
};
|
|
1840
|
+
};
|
|
1841
|
+
readonly image: {
|
|
1842
|
+
readonly default: {
|
|
1843
|
+
readonly width: "100%";
|
|
1844
|
+
readonly height: "100%";
|
|
1845
|
+
readonly 'object-fit': "cover";
|
|
1846
|
+
};
|
|
1847
|
+
};
|
|
1848
|
+
};
|
|
1849
|
+
readonly subTypes: {};
|
|
1850
|
+
};
|
|
1851
|
+
};
|
|
1852
|
+
} & {
|
|
1853
|
+
content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
|
|
1854
|
+
} & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<Partial<{
|
|
1855
|
+
name?: string | undefined;
|
|
1856
|
+
src?: string | undefined;
|
|
1857
|
+
decorative?: boolean | undefined;
|
|
1858
|
+
}>>;
|
|
1859
|
+
signInForm: import('react').FC<import('.').WithElementProps<import('./elements/user/SignInForm/SignInForm').SignInFormProps>> & {
|
|
1860
|
+
readonly type: "signInForm";
|
|
1861
|
+
readonly contentAttributes: readonly ["usernameLabel", "passwordLabel", "codeLabel", "submitLabel"];
|
|
1862
|
+
readonly content: {
|
|
1863
|
+
readonly attributes: {
|
|
1864
|
+
readonly usernameLabel: "Email";
|
|
1865
|
+
readonly passwordLabel: "Password";
|
|
1866
|
+
readonly codeLabel: "Code";
|
|
1867
|
+
readonly submitLabel: "Sign in";
|
|
1868
|
+
readonly redirectTo: "";
|
|
1869
|
+
readonly wrongMessage: "That email or password is not right.";
|
|
1870
|
+
readonly unverifiedMessage: "Confirm your email first: the link is in your inbox.";
|
|
1871
|
+
readonly blockedMessage: "This account cannot sign in.";
|
|
1872
|
+
readonly ssoMessage: "Your organization signs you in with its own single sign-on.";
|
|
1873
|
+
readonly networkMessage: "Signing in could not be reached. Try again in a moment.";
|
|
1874
|
+
};
|
|
1875
|
+
readonly definition: {
|
|
1876
|
+
readonly label: "Sign-in Form";
|
|
1877
|
+
readonly description: string;
|
|
1878
|
+
readonly items: [];
|
|
1879
|
+
readonly styleSelectors: {
|
|
1880
|
+
readonly field: "";
|
|
1881
|
+
readonly label: "";
|
|
1882
|
+
readonly input: "";
|
|
1883
|
+
readonly submit: "";
|
|
1884
|
+
readonly problem: "";
|
|
1885
|
+
};
|
|
1886
|
+
};
|
|
1887
|
+
readonly market: {
|
|
1888
|
+
readonly category: "user";
|
|
1889
|
+
readonly icon: "fa-solid fa-right-to-bracket";
|
|
1890
|
+
};
|
|
1891
|
+
readonly defaultStyle: {
|
|
1892
|
+
readonly style: {
|
|
1893
|
+
readonly base: {
|
|
1894
|
+
readonly default: {
|
|
1895
|
+
readonly display: "flex";
|
|
1896
|
+
readonly 'flex-direction': "column";
|
|
1897
|
+
readonly gap: "12px";
|
|
1898
|
+
readonly 'max-width': "360px";
|
|
1899
|
+
};
|
|
1900
|
+
};
|
|
1901
|
+
readonly field: {
|
|
1902
|
+
readonly default: {
|
|
1903
|
+
readonly display: "flex";
|
|
1904
|
+
readonly 'flex-direction': "column";
|
|
1905
|
+
readonly gap: "4px";
|
|
1906
|
+
};
|
|
1907
|
+
};
|
|
1908
|
+
readonly label: {
|
|
1909
|
+
readonly default: {
|
|
1910
|
+
readonly 'font-size': "0.875em";
|
|
1911
|
+
readonly 'font-weight': 500;
|
|
1912
|
+
};
|
|
1913
|
+
};
|
|
1914
|
+
readonly input: {
|
|
1915
|
+
readonly default: {
|
|
1916
|
+
readonly 'padding-top': "8px";
|
|
1917
|
+
readonly 'padding-right': "10px";
|
|
1918
|
+
readonly 'padding-bottom': "8px";
|
|
1919
|
+
readonly 'padding-left': "10px";
|
|
1920
|
+
readonly border: "1px solid light-dark(oklch(0.871 0.006 286.286), oklch(0.37 0.013 285.805))";
|
|
1921
|
+
readonly 'border-top-left-radius': "8px";
|
|
1922
|
+
readonly 'border-top-right-radius': "8px";
|
|
1923
|
+
readonly 'border-bottom-left-radius': "8px";
|
|
1924
|
+
readonly 'border-bottom-right-radius': "8px";
|
|
1925
|
+
readonly 'background-color': "light-dark(white, oklch(0.21 0.006 285.885))";
|
|
1926
|
+
readonly color: "inherit";
|
|
1927
|
+
readonly font: "inherit";
|
|
1928
|
+
};
|
|
1929
|
+
};
|
|
1930
|
+
readonly submit: {
|
|
1931
|
+
readonly default: {
|
|
1932
|
+
readonly 'padding-top': "10px";
|
|
1933
|
+
readonly 'padding-right': "14px";
|
|
1934
|
+
readonly 'padding-bottom': "10px";
|
|
1935
|
+
readonly 'padding-left': "14px";
|
|
1936
|
+
readonly 'border-top-width': "0px";
|
|
1937
|
+
readonly 'border-right-width': "0px";
|
|
1938
|
+
readonly 'border-bottom-width': "0px";
|
|
1939
|
+
readonly 'border-left-width': "0px";
|
|
1940
|
+
readonly 'border-top-left-radius': "8px";
|
|
1941
|
+
readonly 'border-top-right-radius': "8px";
|
|
1942
|
+
readonly 'border-bottom-left-radius': "8px";
|
|
1943
|
+
readonly 'border-bottom-right-radius': "8px";
|
|
1944
|
+
readonly 'background-color': "light-dark(oklch(0.21 0.006 285.885), oklch(0.985 0 0))";
|
|
1945
|
+
readonly color: "light-dark(oklch(0.985 0 0), oklch(0.21 0.006 285.885))";
|
|
1946
|
+
readonly font: "inherit";
|
|
1947
|
+
readonly 'font-weight': 600;
|
|
1948
|
+
readonly cursor: "pointer";
|
|
1949
|
+
};
|
|
1950
|
+
};
|
|
1951
|
+
readonly problem: {
|
|
1952
|
+
readonly default: {
|
|
1953
|
+
readonly margin: "0px";
|
|
1954
|
+
readonly color: "light-dark(oklch(0.505 0.213 27.518), oklch(0.704 0.191 22.216))";
|
|
1955
|
+
readonly 'font-size': "0.875em";
|
|
1956
|
+
};
|
|
1957
|
+
};
|
|
1958
|
+
};
|
|
1959
|
+
readonly subTypes: {};
|
|
1960
|
+
};
|
|
1961
|
+
};
|
|
1962
|
+
} & {
|
|
1963
|
+
content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
|
|
1964
|
+
} & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<Partial<{
|
|
1965
|
+
wrongMessage?: string | undefined;
|
|
1966
|
+
unverifiedMessage?: string | undefined;
|
|
1967
|
+
blockedMessage?: string | undefined;
|
|
1968
|
+
ssoMessage?: string | undefined;
|
|
1969
|
+
networkMessage?: string | undefined;
|
|
1970
|
+
usernameLabel?: string | undefined;
|
|
1971
|
+
passwordLabel?: string | undefined;
|
|
1972
|
+
codeLabel?: string | undefined;
|
|
1973
|
+
submitLabel?: string | undefined;
|
|
1974
|
+
redirectTo?: string | undefined;
|
|
1975
|
+
}>>;
|
|
1538
1976
|
carousel: import('react').FC<import('.').WithElementProps<import('./elements/structure/Carousel/Carousel').CarouselProps>> & {
|
|
1539
1977
|
plugins: {
|
|
1540
1978
|
carouselTrack: import('react').FC<import('.').WithElementProps<import('./elements/structure/Carousel/CarouselTrack/CarouselTrack').CarouselTrackProps>> & {
|
|
@@ -1857,6 +2295,7 @@ export declare const defaultElements: {
|
|
|
1857
2295
|
readonly content: {
|
|
1858
2296
|
readonly attributes: {
|
|
1859
2297
|
readonly src: "";
|
|
2298
|
+
readonly fallbackSrc: "";
|
|
1860
2299
|
readonly alt: "";
|
|
1861
2300
|
readonly decorative: false;
|
|
1862
2301
|
readonly fetchPriority: "auto";
|
|
@@ -1894,6 +2333,7 @@ export declare const defaultElements: {
|
|
|
1894
2333
|
alt?: string | undefined;
|
|
1895
2334
|
fetchPriority?: "high" | "low" | "auto" | undefined;
|
|
1896
2335
|
decorative?: boolean | undefined;
|
|
2336
|
+
fallbackSrc?: string | undefined;
|
|
1897
2337
|
loadMode?: "auto" | "eager" | "lazy" | undefined;
|
|
1898
2338
|
}>>;
|
|
1899
2339
|
video: import('react').FC<import('.').WithElementProps<import('./elements/media/Video/Video').VideoProps>> & {
|
|
@@ -2332,6 +2772,74 @@ export declare const defaultElements: {
|
|
|
2332
2772
|
ariaPressed?: boolean | undefined;
|
|
2333
2773
|
controlsInRow?: boolean | undefined;
|
|
2334
2774
|
}>>;
|
|
2775
|
+
countdown: import('react').FC<import('.').WithElementProps<import('./elements/basic/Countdown/Countdown').CountdownProps>> & {
|
|
2776
|
+
readonly type: "countdown";
|
|
2777
|
+
readonly attributeValues: {
|
|
2778
|
+
readonly largest: readonly string[];
|
|
2779
|
+
readonly smallest: readonly string[];
|
|
2780
|
+
readonly labels: readonly string[];
|
|
2781
|
+
};
|
|
2782
|
+
readonly triggers: {
|
|
2783
|
+
readonly onCountdownEnd: {
|
|
2784
|
+
readonly action: "onCountdownEnd";
|
|
2785
|
+
readonly title: "On Countdown End";
|
|
2786
|
+
readonly type: "trigger";
|
|
2787
|
+
readonly params: {};
|
|
2788
|
+
readonly preview: {};
|
|
2789
|
+
};
|
|
2790
|
+
};
|
|
2791
|
+
readonly content: {
|
|
2792
|
+
readonly attributes: {
|
|
2793
|
+
readonly to: "";
|
|
2794
|
+
readonly largest: "days";
|
|
2795
|
+
readonly smallest: "seconds";
|
|
2796
|
+
readonly labels: "long";
|
|
2797
|
+
readonly locale: "";
|
|
2798
|
+
};
|
|
2799
|
+
readonly definition: {
|
|
2800
|
+
readonly label: "Countdown";
|
|
2801
|
+
readonly description: string;
|
|
2802
|
+
readonly items: [];
|
|
2803
|
+
readonly styleSelectors: {
|
|
2804
|
+
readonly unit: "";
|
|
2805
|
+
readonly value: "";
|
|
2806
|
+
readonly label: "";
|
|
2807
|
+
};
|
|
2808
|
+
};
|
|
2809
|
+
readonly market: {
|
|
2810
|
+
readonly category: "basic";
|
|
2811
|
+
readonly icon: "fa-solid fa-hourglass-half";
|
|
2812
|
+
};
|
|
2813
|
+
readonly defaultStyle: {
|
|
2814
|
+
readonly style: {
|
|
2815
|
+
readonly base: {
|
|
2816
|
+
readonly default: {
|
|
2817
|
+
readonly display: "inline-flex";
|
|
2818
|
+
readonly 'flex-wrap': "wrap";
|
|
2819
|
+
readonly gap: "0.5em";
|
|
2820
|
+
readonly 'font-variant-numeric': "tabular-nums";
|
|
2821
|
+
};
|
|
2822
|
+
};
|
|
2823
|
+
readonly unit: {
|
|
2824
|
+
readonly default: {
|
|
2825
|
+
readonly display: "inline-flex";
|
|
2826
|
+
readonly 'align-items': "baseline";
|
|
2827
|
+
readonly gap: "0.25em";
|
|
2828
|
+
};
|
|
2829
|
+
};
|
|
2830
|
+
};
|
|
2831
|
+
readonly subTypes: {};
|
|
2832
|
+
};
|
|
2833
|
+
};
|
|
2834
|
+
} & {
|
|
2835
|
+
content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
|
|
2836
|
+
} & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<Partial<{
|
|
2837
|
+
to?: string | undefined;
|
|
2838
|
+
largest?: import('@plitzi/sdk-shared/timeWindows').CountdownUnit | undefined;
|
|
2839
|
+
smallest?: import('@plitzi/sdk-shared/timeWindows').CountdownUnit | undefined;
|
|
2840
|
+
labels?: import('@plitzi/sdk-shared/timeWindows').CountdownLabels | undefined;
|
|
2841
|
+
locale?: string | undefined;
|
|
2842
|
+
}>>;
|
|
2335
2843
|
paragraph: import('react').FC<import('.').WithElementProps<import('./elements/basic/Paragraph/Paragraph').ParagraphProps>> & {
|
|
2336
2844
|
readonly type: "paragraph";
|
|
2337
2845
|
readonly contentAttributes: readonly ["content"];
|