@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.
Files changed (109) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/Element/PluginManager.mjs +13 -13
  3. package/dist/Element/hooks/useElementState.d.ts +1 -1
  4. package/dist/Element/hooks/useFullscreenInteractions.d.ts +11 -0
  5. package/dist/Element/hooks/useFullscreenInteractions.mjs +14 -0
  6. package/dist/Element/hooks/useRootElementInteractions.mjs +93 -87
  7. package/dist/builder/ruleFields.d.ts +1 -1
  8. package/dist/builder/ruleFields.mjs +5 -0
  9. package/dist/dataSource/GlobalSources.mjs +121 -104
  10. package/dist/dataSource/useAudienceScope.mjs +2 -1
  11. package/dist/dataSource/usePageClock.d.ts +12 -0
  12. package/dist/dataSource/usePageClock.mjs +19 -0
  13. package/dist/elements/basic/Countdown/Countdown.d.ts +23 -0
  14. package/dist/elements/basic/Countdown/Countdown.mjs +58 -0
  15. package/dist/elements/basic/Countdown/Settings.d.ts +12 -0
  16. package/dist/elements/basic/Countdown/Settings.mjs +94 -0
  17. package/dist/elements/basic/Countdown/declaration.d.ts +72 -0
  18. package/dist/elements/basic/Countdown/declaration.mjs +58 -0
  19. package/dist/elements/basic/Countdown/index.d.ts +69 -0
  20. package/dist/elements/basic/Countdown/index.mjs +5 -0
  21. package/dist/elements/declarations/index.d.ts +508 -7
  22. package/dist/elements/declarations/index.mjs +84 -72
  23. package/dist/elements/index.d.ts +13 -3
  24. package/dist/elements/index.mjs +76 -66
  25. package/dist/elements/media/Image/Image.d.ts +6 -1
  26. package/dist/elements/media/Image/Image.mjs +44 -35
  27. package/dist/elements/media/Image/Settings.d.ts +2 -1
  28. package/dist/elements/media/Image/Settings.mjs +26 -19
  29. package/dist/elements/media/Image/declaration.d.ts +2 -0
  30. package/dist/elements/media/Image/declaration.mjs +2 -1
  31. package/dist/elements/media/Image/index.d.ts +2 -0
  32. package/dist/elements/settings.mjs +92 -80
  33. package/dist/elements/structure/Container/Container.d.ts +2 -4
  34. package/dist/elements/structure/Container/Container.mjs +5 -6
  35. package/dist/elements/structure/Container/Settings.d.ts +1 -2
  36. package/dist/elements/structure/Container/Settings.mjs +5 -19
  37. package/dist/elements/structure/Container/declaration.d.ts +1 -2
  38. package/dist/elements/structure/Container/declaration.mjs +1 -3
  39. package/dist/elements/structure/Container/index.d.ts +1 -2
  40. package/dist/elements/structure/Disclosure/Disclosure.d.ts +26 -0
  41. package/dist/elements/structure/Disclosure/Disclosure.mjs +49 -0
  42. package/dist/elements/structure/Disclosure/DisclosureSummary/DisclosureSummary.d.ts +16 -0
  43. package/dist/elements/structure/Disclosure/DisclosureSummary/DisclosureSummary.mjs +19 -0
  44. package/dist/elements/structure/Disclosure/DisclosureSummary/Settings.d.ts +7 -0
  45. package/dist/elements/structure/Disclosure/DisclosureSummary/Settings.mjs +20 -0
  46. package/dist/elements/structure/Disclosure/DisclosureSummary/declaration.d.ts +59 -0
  47. package/dist/elements/structure/Disclosure/DisclosureSummary/declaration.mjs +47 -0
  48. package/dist/elements/structure/Disclosure/DisclosureSummary/index.d.ts +57 -0
  49. package/dist/elements/structure/Disclosure/DisclosureSummary/index.mjs +5 -0
  50. package/dist/elements/structure/Disclosure/Settings.d.ts +10 -0
  51. package/dist/elements/structure/Disclosure/Settings.mjs +47 -0
  52. package/dist/elements/structure/Disclosure/declaration.d.ts +66 -0
  53. package/dist/elements/structure/Disclosure/declaration.mjs +55 -0
  54. package/dist/elements/structure/Disclosure/index.d.ts +121 -0
  55. package/dist/elements/structure/Disclosure/index.mjs +9 -0
  56. package/dist/elements/structure/Disclosure/useDetails.d.ts +27 -0
  57. package/dist/elements/structure/Disclosure/useDetails.mjs +49 -0
  58. package/dist/elements/structure/TimeWindow/TimeWindow.mjs +29 -25
  59. package/dist/elements/structure/TimeWindow/TimeWindowContext.d.ts +6 -0
  60. package/dist/elements/structure/TimeWindow/TimeWindowContext.mjs +4 -0
  61. package/dist/elements/{testing → structure}/Variants/Settings.mjs +1 -1
  62. package/dist/elements/{testing → structure}/Variants/VariantItem/Settings.mjs +1 -1
  63. package/dist/elements/{testing → structure}/Variants/VariantItem/VariantItem.mjs +1 -1
  64. package/dist/elements/{testing → structure}/Variants/VariantItem/declaration.d.ts +1 -1
  65. package/dist/elements/{testing → structure}/Variants/VariantItem/declaration.mjs +2 -2
  66. package/dist/elements/{testing → structure}/Variants/VariantItem/index.d.ts +1 -1
  67. package/dist/elements/{testing → structure}/Variants/VariantItem/index.mjs +1 -1
  68. package/dist/elements/{testing → structure}/Variants/Variants.mjs +12 -12
  69. package/dist/elements/{testing → structure/Variants}/childOfItem.mjs +1 -1
  70. package/dist/elements/{testing → structure}/Variants/declaration.d.ts +1 -1
  71. package/dist/elements/{testing → structure}/Variants/declaration.mjs +3 -3
  72. package/dist/elements/{testing → structure}/Variants/index.d.ts +2 -2
  73. package/dist/elements/{testing → structure}/Variants/index.mjs +1 -1
  74. package/dist/elements/user/Account/Account.d.ts +25 -0
  75. package/dist/elements/user/Account/Account.mjs +104 -0
  76. package/dist/elements/user/Account/Settings.d.ts +10 -0
  77. package/dist/elements/user/Account/Settings.mjs +47 -0
  78. package/dist/elements/user/Account/declaration.d.ts +143 -0
  79. package/dist/elements/user/Account/declaration.mjs +123 -0
  80. package/dist/elements/user/Account/index.d.ts +141 -0
  81. package/dist/elements/user/Account/index.mjs +5 -0
  82. package/dist/elements/user/Avatar/Avatar.d.ts +19 -0
  83. package/dist/elements/user/Avatar/Avatar.mjs +26 -0
  84. package/dist/elements/user/Avatar/AvatarFace.d.ts +15 -0
  85. package/dist/elements/user/Avatar/AvatarFace.mjs +28 -0
  86. package/dist/elements/user/Avatar/Settings.d.ts +9 -0
  87. package/dist/elements/user/Avatar/Settings.mjs +38 -0
  88. package/dist/elements/user/Avatar/declaration.d.ts +65 -0
  89. package/dist/elements/user/Avatar/declaration.mjs +53 -0
  90. package/dist/elements/user/Avatar/faces.d.ts +10 -0
  91. package/dist/elements/user/Avatar/faces.mjs +10 -0
  92. package/dist/elements/user/Avatar/index.d.ts +63 -0
  93. package/dist/elements/user/Avatar/index.mjs +5 -0
  94. package/dist/elements/user/SignInForm/Settings.d.ts +16 -0
  95. package/dist/elements/user/SignInForm/Settings.mjs +64 -0
  96. package/dist/elements/user/SignInForm/SignInForm.d.ts +34 -0
  97. package/dist/elements/user/SignInForm/SignInForm.mjs +112 -0
  98. package/dist/elements/user/SignInForm/declaration.d.ts +120 -0
  99. package/dist/elements/user/SignInForm/declaration.mjs +99 -0
  100. package/dist/elements/user/SignInForm/index.d.ts +118 -0
  101. package/dist/elements/user/SignInForm/index.mjs +5 -0
  102. package/dist/index.d.ts +514 -6
  103. package/dist/index.mjs +84 -74
  104. package/package.json +7 -7
  105. /package/dist/elements/{testing → structure}/Variants/Settings.d.ts +0 -0
  106. /package/dist/elements/{testing → structure}/Variants/VariantItem/Settings.d.ts +0 -0
  107. /package/dist/elements/{testing → structure}/Variants/VariantItem/VariantItem.d.ts +0 -0
  108. /package/dist/elements/{testing → structure}/Variants/Variants.d.ts +0 -0
  109. /package/dist/elements/{testing → structure/Variants}/childOfItem.d.ts +0 -0
@@ -5,6 +5,7 @@ import { default as NodeHtmlDeclaration } from '../advanced/NodeHtml/declaration
5
5
  import { default as PlitziSdkDeclaration } from '../advanced/PlitziSdk/declaration';
6
6
  import { default as ReferenceDeclaration } from '../advanced/Reference/declaration';
7
7
  import { default as ButtonDeclaration } from '../basic/Button/declaration';
8
+ import { default as CountdownDeclaration } from '../basic/Countdown/declaration';
8
9
  import { default as DropdownDeclaration } from '../basic/Dropdown/declaration';
9
10
  import { default as DropdownPopupDeclaration } from '../basic/Dropdown/DropdownPopup/declaration';
10
11
  import { default as HeadingDeclaration } from '../basic/Heading/declaration';
@@ -32,6 +33,8 @@ import { default as CarouselTrackDeclaration } from '../structure/Carousel/Carou
32
33
  import { default as CarouselDeclaration } from '../structure/Carousel/declaration';
33
34
  import { default as ContainerDeclaration } from '../structure/Container/declaration';
34
35
  import { default as DialogContainerDeclaration } from '../structure/DialogContainer/declaration';
36
+ import { default as DisclosureDeclaration } from '../structure/Disclosure/declaration';
37
+ import { default as DisclosureSummaryDeclaration } from '../structure/Disclosure/DisclosureSummary/declaration';
35
38
  import { default as FocusGroupDeclaration } from '../structure/FocusGroup/declaration';
36
39
  import { default as ListDeclaration } from '../structure/List/declaration';
37
40
  import { default as ListItemDeclaration } from '../structure/List/ListItem/declaration';
@@ -42,8 +45,11 @@ import { default as TabContainerBodyDeclaration } from '../structure/TabContaine
42
45
  import { default as TabContainerHeaderDeclaration } from '../structure/TabContainer/TabContainerHeader/declaration';
43
46
  import { default as TabContainerItemDeclaration } from '../structure/TabContainer/TabContainerItem/declaration';
44
47
  import { default as TimeWindowDeclaration } from '../structure/TimeWindow/declaration';
45
- import { default as VariantsDeclaration } from '../testing/Variants/declaration';
46
- import { default as VariantItemDeclaration } from '../testing/Variants/VariantItem/declaration';
48
+ import { default as VariantsDeclaration } from '../structure/Variants/declaration';
49
+ import { default as VariantItemDeclaration } from '../structure/Variants/VariantItem/declaration';
50
+ import { default as AccountDeclaration } from '../user/Account/declaration';
51
+ import { default as AvatarDeclaration } from '../user/Avatar/declaration';
52
+ import { default as SignInFormDeclaration } from '../user/SignInForm/declaration';
47
53
  export declare const elementDeclarations: {
48
54
  readonly ApiContainer: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
49
55
  readonly type: "apiContainer";
@@ -406,6 +412,72 @@ export declare const elementDeclarations: {
406
412
  ariaPressed?: boolean | undefined;
407
413
  controlsInRow?: boolean | undefined;
408
414
  }>>;
415
+ readonly Countdown: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
416
+ readonly type: "countdown";
417
+ readonly attributeValues: {
418
+ readonly largest: readonly string[];
419
+ readonly smallest: readonly string[];
420
+ readonly labels: readonly string[];
421
+ };
422
+ readonly triggers: {
423
+ readonly onCountdownEnd: {
424
+ readonly action: "onCountdownEnd";
425
+ readonly title: "On Countdown End";
426
+ readonly type: "trigger";
427
+ readonly params: {};
428
+ readonly preview: {};
429
+ };
430
+ };
431
+ readonly content: {
432
+ readonly attributes: {
433
+ readonly to: "";
434
+ readonly largest: "days";
435
+ readonly smallest: "seconds";
436
+ readonly labels: "long";
437
+ readonly locale: "";
438
+ };
439
+ readonly definition: {
440
+ readonly label: "Countdown";
441
+ readonly description: string;
442
+ readonly items: [];
443
+ readonly styleSelectors: {
444
+ readonly unit: "";
445
+ readonly value: "";
446
+ readonly label: "";
447
+ };
448
+ };
449
+ readonly market: {
450
+ readonly category: "basic";
451
+ readonly icon: "fa-solid fa-hourglass-half";
452
+ };
453
+ readonly defaultStyle: {
454
+ readonly style: {
455
+ readonly base: {
456
+ readonly default: {
457
+ readonly display: "inline-flex";
458
+ readonly 'flex-wrap': "wrap";
459
+ readonly gap: "0.5em";
460
+ readonly 'font-variant-numeric': "tabular-nums";
461
+ };
462
+ };
463
+ readonly unit: {
464
+ readonly default: {
465
+ readonly display: "inline-flex";
466
+ readonly 'align-items': "baseline";
467
+ readonly gap: "0.25em";
468
+ };
469
+ };
470
+ };
471
+ readonly subTypes: {};
472
+ };
473
+ };
474
+ }, Partial<{
475
+ to?: string | undefined;
476
+ largest?: import('@plitzi/sdk-shared/timeWindows').CountdownUnit | undefined;
477
+ smallest?: import('@plitzi/sdk-shared/timeWindows').CountdownUnit | undefined;
478
+ labels?: import('@plitzi/sdk-shared/timeWindows').CountdownLabels | undefined;
479
+ locale?: string | undefined;
480
+ }>>;
409
481
  readonly Carousel: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
410
482
  readonly type: "carousel";
411
483
  readonly contentAttributes: readonly ["label"];
@@ -737,8 +809,7 @@ export declare const elementDeclarations: {
737
809
  }, Partial<{
738
810
  title?: string | undefined;
739
811
  label?: string | undefined;
740
- open?: boolean | undefined;
741
- 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;
812
+ subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "dl" | "dt" | "dd" | "li" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | undefined;
742
813
  live?: "polite" | "assertive" | "" | undefined;
743
814
  decorative?: boolean | undefined;
744
815
  }>>;
@@ -1042,6 +1113,121 @@ export declare const elementDeclarations: {
1042
1113
  acceptButtonLabelLoading?: string | undefined;
1043
1114
  rejectButtonLabel?: string | undefined;
1044
1115
  }>>;
1116
+ readonly Disclosure: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
1117
+ readonly type: "disclosure";
1118
+ readonly callbacks: {
1119
+ readonly openDisclosure: {
1120
+ readonly action: "openDisclosure";
1121
+ readonly title: "Open Disclosure";
1122
+ readonly type: "callback";
1123
+ readonly params: {};
1124
+ readonly preview: {};
1125
+ };
1126
+ readonly closeDisclosure: {
1127
+ readonly action: "closeDisclosure";
1128
+ readonly title: "Close Disclosure";
1129
+ readonly type: "callback";
1130
+ readonly params: {};
1131
+ readonly preview: {};
1132
+ };
1133
+ readonly toggleDisclosure: {
1134
+ readonly action: "toggleDisclosure";
1135
+ readonly title: "Toggle Disclosure";
1136
+ readonly type: "callback";
1137
+ readonly params: {};
1138
+ readonly preview: {};
1139
+ };
1140
+ };
1141
+ readonly marks: {
1142
+ readonly '[open]': "on the disclosure while what it holds is shown";
1143
+ 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: … } } }`)";
1144
+ };
1145
+ readonly content: {
1146
+ readonly attributes: {
1147
+ readonly open: false;
1148
+ readonly name: "";
1149
+ readonly closeOnClickOutside: false;
1150
+ readonly closeOnNavigate: true;
1151
+ };
1152
+ readonly definition: {
1153
+ readonly label: "Disclosure";
1154
+ readonly description: string;
1155
+ readonly items: [];
1156
+ };
1157
+ readonly market: {
1158
+ readonly category: "structure";
1159
+ readonly icon: "fa-solid fa-caret-down";
1160
+ };
1161
+ readonly defaultStyle: {
1162
+ readonly style: {
1163
+ readonly base: {
1164
+ readonly default: {};
1165
+ };
1166
+ };
1167
+ readonly subTypes: {};
1168
+ };
1169
+ };
1170
+ readonly initialItems: readonly ["disclosureSummary"];
1171
+ }, Partial<{
1172
+ name?: string | undefined;
1173
+ open?: boolean | undefined;
1174
+ closeOnClickOutside?: boolean | undefined;
1175
+ closeOnNavigate?: boolean | undefined;
1176
+ }>>;
1177
+ readonly DisclosureSummary: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
1178
+ readonly type: "disclosureSummary";
1179
+ readonly ancestorType: "disclosure";
1180
+ readonly content: {
1181
+ readonly attributes: {
1182
+ readonly marker: true;
1183
+ };
1184
+ readonly definition: {
1185
+ readonly label: "Disclosure Summary";
1186
+ readonly description: string;
1187
+ readonly items: [];
1188
+ readonly styleSelectors: {
1189
+ readonly marker: "";
1190
+ };
1191
+ };
1192
+ readonly builder: {
1193
+ readonly canDelete: false;
1194
+ readonly canDragDrop: false;
1195
+ readonly canMove: false;
1196
+ readonly canSnippet: false;
1197
+ };
1198
+ readonly market: {
1199
+ readonly category: "structure";
1200
+ readonly icon: "fa-solid fa-heading";
1201
+ };
1202
+ readonly defaultStyle: {
1203
+ readonly style: {
1204
+ readonly base: {
1205
+ readonly default: {
1206
+ readonly display: "flex";
1207
+ readonly 'align-items': "center";
1208
+ readonly gap: "8px";
1209
+ readonly cursor: "pointer";
1210
+ readonly 'list-style': "none";
1211
+ };
1212
+ };
1213
+ readonly marker: {
1214
+ readonly default: {
1215
+ readonly 'flex-shrink': 0;
1216
+ readonly 'margin-left': "auto";
1217
+ readonly width: "0.45em";
1218
+ readonly height: "0.45em";
1219
+ readonly 'border-right': "2px solid currentColor";
1220
+ readonly 'border-bottom': "2px solid currentColor";
1221
+ readonly transform: "rotate(45deg)";
1222
+ };
1223
+ };
1224
+ };
1225
+ readonly subTypes: {};
1226
+ };
1227
+ };
1228
+ }, Partial<{
1229
+ marker?: boolean | undefined;
1230
+ }>>;
1045
1231
  readonly FocusGroup: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
1046
1232
  readonly type: "focusGroup";
1047
1233
  readonly attributeValues: {
@@ -2328,6 +2514,7 @@ export declare const elementDeclarations: {
2328
2514
  readonly content: {
2329
2515
  readonly attributes: {
2330
2516
  readonly src: "";
2517
+ readonly fallbackSrc: "";
2331
2518
  readonly alt: "";
2332
2519
  readonly decorative: false;
2333
2520
  readonly fetchPriority: "auto";
@@ -2363,6 +2550,7 @@ export declare const elementDeclarations: {
2363
2550
  alt?: string | undefined;
2364
2551
  fetchPriority?: "high" | "low" | "auto" | undefined;
2365
2552
  decorative?: boolean | undefined;
2553
+ fallbackSrc?: string | undefined;
2366
2554
  loadMode?: "auto" | "eager" | "lazy" | undefined;
2367
2555
  }>>;
2368
2556
  readonly LayoutContainer: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
@@ -3961,7 +4149,7 @@ export declare const elementDeclarations: {
3961
4149
  readonly itemsAllowed: ["variantItem"];
3962
4150
  };
3963
4151
  readonly market: {
3964
- readonly category: "testing";
4152
+ readonly category: "structure";
3965
4153
  readonly icon: "fa-solid fa-shuffle";
3966
4154
  };
3967
4155
  readonly defaultStyle: {
@@ -3996,7 +4184,7 @@ export declare const elementDeclarations: {
3996
4184
  readonly itemsNotAllowed: ["variantItem"];
3997
4185
  };
3998
4186
  readonly market: {
3999
- readonly category: "testing";
4187
+ readonly category: "structure";
4000
4188
  readonly icon: "fa-solid fa-code-branch";
4001
4189
  };
4002
4190
  readonly defaultStyle: {
@@ -4012,6 +4200,319 @@ export declare const elementDeclarations: {
4012
4200
  when?: import('@plitzi/sdk-shared').RuleGroup | undefined;
4013
4201
  weight?: number | undefined;
4014
4202
  }>>;
4203
+ readonly Account: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
4204
+ readonly type: "account";
4205
+ readonly contentAttributes: readonly ["signInLabel", "signOutLabel"];
4206
+ readonly content: {
4207
+ readonly attributes: {
4208
+ readonly signInHref: "";
4209
+ readonly signInLabel: "Sign in";
4210
+ readonly signOutLabel: "Sign out";
4211
+ readonly signOutHref: "";
4212
+ };
4213
+ readonly definition: {
4214
+ readonly label: "Account";
4215
+ readonly description: string;
4216
+ readonly items: [];
4217
+ readonly styleSelectors: {
4218
+ readonly signIn: "";
4219
+ readonly trigger: "";
4220
+ readonly panel: "";
4221
+ readonly identity: "";
4222
+ readonly signOut: "";
4223
+ };
4224
+ };
4225
+ readonly market: {
4226
+ readonly category: "user";
4227
+ readonly icon: "fa-solid fa-user-gear";
4228
+ };
4229
+ readonly defaultStyle: {
4230
+ readonly style: {
4231
+ readonly base: {
4232
+ readonly default: {
4233
+ readonly position: "relative";
4234
+ readonly display: "inline-flex";
4235
+ readonly 'align-items': "center";
4236
+ };
4237
+ };
4238
+ readonly signIn: {
4239
+ readonly default: {
4240
+ readonly display: "inline-flex";
4241
+ readonly 'align-items': "center";
4242
+ readonly 'padding-top': "8px";
4243
+ readonly 'padding-right': "14px";
4244
+ readonly 'padding-bottom': "8px";
4245
+ readonly 'padding-left': "14px";
4246
+ readonly 'border-top-width': "0px";
4247
+ readonly 'border-right-width': "0px";
4248
+ readonly 'border-bottom-width': "0px";
4249
+ readonly 'border-left-width': "0px";
4250
+ readonly 'border-top-left-radius': "8px";
4251
+ readonly 'border-top-right-radius': "8px";
4252
+ readonly 'border-bottom-left-radius': "8px";
4253
+ readonly 'border-bottom-right-radius': "8px";
4254
+ readonly 'background-color': "light-dark(oklch(0.21 0.006 285.885), oklch(0.985 0 0))";
4255
+ readonly color: "light-dark(oklch(0.985 0 0), oklch(0.21 0.006 285.885))";
4256
+ readonly font: "inherit";
4257
+ readonly 'font-weight': 600;
4258
+ readonly 'text-decoration': "none";
4259
+ readonly cursor: "pointer";
4260
+ };
4261
+ };
4262
+ readonly trigger: {
4263
+ readonly default: {
4264
+ readonly display: "flex";
4265
+ readonly 'border-top-left-radius': "50%";
4266
+ readonly 'border-top-right-radius': "50%";
4267
+ readonly 'border-bottom-left-radius': "50%";
4268
+ readonly 'border-bottom-right-radius': "50%";
4269
+ readonly cursor: "pointer";
4270
+ readonly 'list-style': "none";
4271
+ };
4272
+ };
4273
+ readonly panel: {
4274
+ readonly default: {
4275
+ readonly position: "absolute";
4276
+ readonly top: "calc(100% + 8px)";
4277
+ readonly right: "0px";
4278
+ readonly 'z-index': 50;
4279
+ readonly display: "flex";
4280
+ readonly 'flex-direction': "column";
4281
+ readonly gap: "2px";
4282
+ readonly 'min-width': "220px";
4283
+ readonly 'padding-top': "8px";
4284
+ readonly 'padding-right': "8px";
4285
+ readonly 'padding-bottom': "8px";
4286
+ readonly 'padding-left': "8px";
4287
+ readonly 'border-top-left-radius': "12px";
4288
+ readonly 'border-top-right-radius': "12px";
4289
+ readonly 'border-bottom-left-radius': "12px";
4290
+ readonly 'border-bottom-right-radius': "12px";
4291
+ readonly 'background-color': "light-dark(white, oklch(0.21 0.006 285.885))";
4292
+ readonly 'box-shadow': "rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.12) 0px 8px 24px";
4293
+ };
4294
+ };
4295
+ readonly identity: {
4296
+ readonly default: {
4297
+ readonly display: "flex";
4298
+ readonly 'flex-direction': "column";
4299
+ readonly gap: "2px";
4300
+ readonly 'padding-top': "8px";
4301
+ readonly 'padding-right': "10px";
4302
+ readonly 'padding-bottom': "10px";
4303
+ readonly 'padding-left': "10px";
4304
+ readonly 'margin-bottom': "4px";
4305
+ readonly 'border-bottom': "1px solid light-dark(oklch(0.92 0.004 286.32), oklch(0.32 0.006 285.885))";
4306
+ };
4307
+ };
4308
+ readonly signOut: {
4309
+ readonly default: {
4310
+ readonly display: "flex";
4311
+ readonly width: "100%";
4312
+ readonly 'padding-top': "8px";
4313
+ readonly 'padding-right': "10px";
4314
+ readonly 'padding-bottom': "8px";
4315
+ readonly 'padding-left': "10px";
4316
+ readonly 'border-top-width': "0px";
4317
+ readonly 'border-right-width': "0px";
4318
+ readonly 'border-bottom-width': "0px";
4319
+ readonly 'border-left-width': "0px";
4320
+ readonly 'border-top-left-radius': "8px";
4321
+ readonly 'border-top-right-radius': "8px";
4322
+ readonly 'border-bottom-left-radius': "8px";
4323
+ readonly 'border-bottom-right-radius': "8px";
4324
+ readonly 'background-color': "transparent";
4325
+ readonly color: "inherit";
4326
+ readonly font: "inherit";
4327
+ readonly 'text-align': "left";
4328
+ readonly cursor: "pointer";
4329
+ };
4330
+ };
4331
+ };
4332
+ readonly subTypes: {};
4333
+ };
4334
+ };
4335
+ }, Partial<{
4336
+ signInHref?: string | undefined;
4337
+ signInLabel?: string | undefined;
4338
+ signOutLabel?: string | undefined;
4339
+ signOutHref?: string | undefined;
4340
+ }>>;
4341
+ readonly Avatar: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
4342
+ readonly type: "avatar";
4343
+ readonly contentAttributes: readonly ["src", "name"];
4344
+ readonly content: {
4345
+ readonly attributes: {
4346
+ readonly src: "";
4347
+ readonly name: "";
4348
+ readonly decorative: false;
4349
+ };
4350
+ readonly definition: {
4351
+ readonly label: "Avatar";
4352
+ readonly description: string;
4353
+ readonly items: [];
4354
+ readonly styleSelectors: {
4355
+ readonly image: "";
4356
+ };
4357
+ };
4358
+ readonly market: {
4359
+ readonly category: "user";
4360
+ readonly icon: "fa-solid fa-circle-user";
4361
+ };
4362
+ readonly defaultStyle: {
4363
+ readonly style: {
4364
+ readonly base: {
4365
+ readonly default: {
4366
+ readonly display: "inline-flex";
4367
+ readonly 'align-items': "center";
4368
+ readonly 'justify-content': "center";
4369
+ readonly 'flex-shrink': 0;
4370
+ readonly width: "40px";
4371
+ readonly height: "40px";
4372
+ readonly overflow: "hidden";
4373
+ readonly 'border-top-left-radius': "50%";
4374
+ readonly 'border-top-right-radius': "50%";
4375
+ readonly 'border-bottom-left-radius': "50%";
4376
+ readonly 'border-bottom-right-radius': "50%";
4377
+ readonly 'font-size': "15px";
4378
+ readonly 'font-weight': 600;
4379
+ readonly 'line-height': 1;
4380
+ readonly 'user-select': "none";
4381
+ 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)))";
4382
+ readonly color: "light-dark(oklch(0.36 0.09 var(--plitzi-avatar-hue, 260)), oklch(0.93 0.04 var(--plitzi-avatar-hue, 260)))";
4383
+ };
4384
+ };
4385
+ readonly image: {
4386
+ readonly default: {
4387
+ readonly width: "100%";
4388
+ readonly height: "100%";
4389
+ readonly 'object-fit': "cover";
4390
+ };
4391
+ };
4392
+ };
4393
+ readonly subTypes: {};
4394
+ };
4395
+ };
4396
+ }, Partial<{
4397
+ name?: string | undefined;
4398
+ src?: string | undefined;
4399
+ decorative?: boolean | undefined;
4400
+ }>>;
4401
+ readonly SignInForm: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
4402
+ readonly type: "signInForm";
4403
+ readonly contentAttributes: readonly ["usernameLabel", "passwordLabel", "codeLabel", "submitLabel"];
4404
+ readonly content: {
4405
+ readonly attributes: {
4406
+ readonly usernameLabel: "Email";
4407
+ readonly passwordLabel: "Password";
4408
+ readonly codeLabel: "Code";
4409
+ readonly submitLabel: "Sign in";
4410
+ readonly redirectTo: "";
4411
+ readonly wrongMessage: "That email or password is not right.";
4412
+ readonly unverifiedMessage: "Confirm your email first: the link is in your inbox.";
4413
+ readonly blockedMessage: "This account cannot sign in.";
4414
+ readonly ssoMessage: "Your organization signs you in with its own single sign-on.";
4415
+ readonly networkMessage: "Signing in could not be reached. Try again in a moment.";
4416
+ };
4417
+ readonly definition: {
4418
+ readonly label: "Sign-in Form";
4419
+ readonly description: string;
4420
+ readonly items: [];
4421
+ readonly styleSelectors: {
4422
+ readonly field: "";
4423
+ readonly label: "";
4424
+ readonly input: "";
4425
+ readonly submit: "";
4426
+ readonly problem: "";
4427
+ };
4428
+ };
4429
+ readonly market: {
4430
+ readonly category: "user";
4431
+ readonly icon: "fa-solid fa-right-to-bracket";
4432
+ };
4433
+ readonly defaultStyle: {
4434
+ readonly style: {
4435
+ readonly base: {
4436
+ readonly default: {
4437
+ readonly display: "flex";
4438
+ readonly 'flex-direction': "column";
4439
+ readonly gap: "12px";
4440
+ readonly 'max-width': "360px";
4441
+ };
4442
+ };
4443
+ readonly field: {
4444
+ readonly default: {
4445
+ readonly display: "flex";
4446
+ readonly 'flex-direction': "column";
4447
+ readonly gap: "4px";
4448
+ };
4449
+ };
4450
+ readonly label: {
4451
+ readonly default: {
4452
+ readonly 'font-size': "0.875em";
4453
+ readonly 'font-weight': 500;
4454
+ };
4455
+ };
4456
+ readonly input: {
4457
+ readonly default: {
4458
+ readonly 'padding-top': "8px";
4459
+ readonly 'padding-right': "10px";
4460
+ readonly 'padding-bottom': "8px";
4461
+ readonly 'padding-left': "10px";
4462
+ readonly border: "1px solid light-dark(oklch(0.871 0.006 286.286), oklch(0.37 0.013 285.805))";
4463
+ readonly 'border-top-left-radius': "8px";
4464
+ readonly 'border-top-right-radius': "8px";
4465
+ readonly 'border-bottom-left-radius': "8px";
4466
+ readonly 'border-bottom-right-radius': "8px";
4467
+ readonly 'background-color': "light-dark(white, oklch(0.21 0.006 285.885))";
4468
+ readonly color: "inherit";
4469
+ readonly font: "inherit";
4470
+ };
4471
+ };
4472
+ readonly submit: {
4473
+ readonly default: {
4474
+ readonly 'padding-top': "10px";
4475
+ readonly 'padding-right': "14px";
4476
+ readonly 'padding-bottom': "10px";
4477
+ readonly 'padding-left': "14px";
4478
+ readonly 'border-top-width': "0px";
4479
+ readonly 'border-right-width': "0px";
4480
+ readonly 'border-bottom-width': "0px";
4481
+ readonly 'border-left-width': "0px";
4482
+ readonly 'border-top-left-radius': "8px";
4483
+ readonly 'border-top-right-radius': "8px";
4484
+ readonly 'border-bottom-left-radius': "8px";
4485
+ readonly 'border-bottom-right-radius': "8px";
4486
+ readonly 'background-color': "light-dark(oklch(0.21 0.006 285.885), oklch(0.985 0 0))";
4487
+ readonly color: "light-dark(oklch(0.985 0 0), oklch(0.21 0.006 285.885))";
4488
+ readonly font: "inherit";
4489
+ readonly 'font-weight': 600;
4490
+ readonly cursor: "pointer";
4491
+ };
4492
+ };
4493
+ readonly problem: {
4494
+ readonly default: {
4495
+ readonly margin: "0px";
4496
+ readonly color: "light-dark(oklch(0.505 0.213 27.518), oklch(0.704 0.191 22.216))";
4497
+ readonly 'font-size': "0.875em";
4498
+ };
4499
+ };
4500
+ };
4501
+ readonly subTypes: {};
4502
+ };
4503
+ };
4504
+ }, Partial<{
4505
+ wrongMessage?: string | undefined;
4506
+ unverifiedMessage?: string | undefined;
4507
+ blockedMessage?: string | undefined;
4508
+ ssoMessage?: string | undefined;
4509
+ networkMessage?: string | undefined;
4510
+ usernameLabel?: string | undefined;
4511
+ passwordLabel?: string | undefined;
4512
+ codeLabel?: string | undefined;
4513
+ submitLabel?: string | undefined;
4514
+ redirectTo?: string | undefined;
4515
+ }>>;
4015
4516
  readonly Video: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
4016
4517
  readonly type: "video";
4017
4518
  readonly contentAttributes: readonly ["src"];
@@ -4052,7 +4553,7 @@ export declare const elementDeclarations: {
4052
4553
  }>>;
4053
4554
  };
4054
4555
  export type ElementDeclarationName = keyof typeof elementDeclarations;
4055
- export { ApiContainerDeclaration, BlockHtmlDeclaration, BlockJsxDeclaration, ButtonDeclaration, CarouselDeclaration, CarouselTrackDeclaration, ChannelDeclaration, ContainerDeclaration, CustomDeclaration, DialogContainerDeclaration, FocusGroupDeclaration, DropdownDeclaration, DropdownPopupDeclaration, EmbedDeclaration, FontAwesomeDeclaration, FormControlDeclaration, FormDeclaration, HeadingDeclaration, ImageDeclaration, LayoutContainerDeclaration, LinkDeclaration, ListDeclaration, ListItemDeclaration, LoadingDeclaration, MarkdownDeclaration, ModalContainerDeclaration, NodeHtmlDeclaration, NotFoundDeclaration, PageDeclaration, PaginationDeclaration, ParagraphDeclaration, PlitziSdkDeclaration, ReferenceDeclaration, RichTextDeclaration, ChartDeclaration, SvgDeclaration, TabContainerBodyDeclaration, TabContainerDeclaration, TabContainerHeaderDeclaration, TabContainerItemDeclaration, TextDeclaration, ThemeToggleDeclaration, TimeWindowDeclaration, VariantsDeclaration, VariantItemDeclaration, VideoDeclaration };
4556
+ export { ApiContainerDeclaration, BlockHtmlDeclaration, BlockJsxDeclaration, ButtonDeclaration, CountdownDeclaration, CarouselDeclaration, CarouselTrackDeclaration, ChannelDeclaration, ContainerDeclaration, CustomDeclaration, DialogContainerDeclaration, DisclosureDeclaration, DisclosureSummaryDeclaration, FocusGroupDeclaration, DropdownDeclaration, DropdownPopupDeclaration, EmbedDeclaration, FontAwesomeDeclaration, FormControlDeclaration, FormDeclaration, HeadingDeclaration, ImageDeclaration, LayoutContainerDeclaration, LinkDeclaration, ListDeclaration, ListItemDeclaration, LoadingDeclaration, MarkdownDeclaration, ModalContainerDeclaration, NodeHtmlDeclaration, NotFoundDeclaration, PageDeclaration, PaginationDeclaration, ParagraphDeclaration, PlitziSdkDeclaration, ReferenceDeclaration, RichTextDeclaration, ChartDeclaration, SvgDeclaration, TabContainerBodyDeclaration, TabContainerDeclaration, TabContainerHeaderDeclaration, TabContainerItemDeclaration, TextDeclaration, ThemeToggleDeclaration, TimeWindowDeclaration, VariantsDeclaration, VariantItemDeclaration, AccountDeclaration, AvatarDeclaration, SignInFormDeclaration, VideoDeclaration };
4056
4557
  /**
4057
4558
  * Each type's `serverTemplates`, by the type a document names: the attributes the page server evaluates against a
4058
4559
  * context of its own, which the element runtime leaves as written and the authoring lint holds to that context.