@plitzi/sdk-shared 0.38.24 → 0.39.1

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 (197) hide show
  1. package/CHANGELOG.md +153 -1
  2. package/dist/actions/functions.d.ts +22 -1
  3. package/dist/actions/functions.mjs +3 -3
  4. package/dist/actions/index.d.ts +1 -1
  5. package/dist/actions/index.mjs +7 -7
  6. package/dist/auth/failureChannel.mjs +1 -0
  7. package/dist/auth/index.d.ts +1 -1
  8. package/dist/auth/index.mjs +2 -2
  9. package/dist/auth/visitorRoles.d.ts +8 -0
  10. package/dist/auth/visitorRoles.mjs +5 -2
  11. package/dist/authoring/declare.d.ts +34 -1
  12. package/dist/authoring/elementCallbacks.d.ts +13 -0
  13. package/dist/authoring/elementCallbacks.mjs +11 -5
  14. package/dist/authoring/index.mjs +3 -3
  15. package/dist/authoring/paramSpec.d.ts +1 -0
  16. package/dist/dataSource/getBindingsDetails.d.ts +1 -1
  17. package/dist/dataSource/getBindingsDetails.mjs +1 -1
  18. package/dist/dataSource/globalSources.d.ts +1 -1
  19. package/dist/dataSource/index.d.ts +1 -2
  20. package/dist/dataSource/index.mjs +1 -1
  21. package/dist/dataSource/utility/arrayMap.mjs +1 -1
  22. package/dist/dataSource/utility/capitalize.mjs +1 -1
  23. package/dist/dataSource/utility/styleSelector.mjs +5 -3
  24. package/dist/dataSource/utility/styleVariant.mjs +17 -13
  25. package/dist/dataSource/variables/index.d.ts +2 -0
  26. package/dist/dataSource/variables/index.mjs +1 -0
  27. package/dist/dataSource/{resolveVariables.d.ts → variables/resolveVariables.d.ts} +1 -1
  28. package/dist/dataSource/{resolveVariables.mjs → variables/resolveVariables.mjs} +1 -1
  29. package/dist/devTools/chrome.d.ts +6 -0
  30. package/dist/devTools/chrome.mjs +2 -2
  31. package/dist/devTools/index.mjs +5 -5
  32. package/dist/devTools/sight/index.d.ts +1 -0
  33. package/dist/devTools/sight/index.mjs +1 -0
  34. package/dist/devTools/sight/sight.d.ts +28 -0
  35. package/dist/devTools/sight/sight.mjs +127 -0
  36. package/dist/devTools/utils/PlitziConsole.d.ts +14 -0
  37. package/dist/devTools/utils/PlitziConsole.mjs +20 -3
  38. package/dist/flags/flagsCookie.mjs +4 -4
  39. package/dist/flags/resolveFlags.d.ts +1 -1
  40. package/dist/helpers/index.mjs +19 -19
  41. package/dist/helpers/ruleEvaluator.d.ts +2 -0
  42. package/dist/helpers/ruleEvaluator.mjs +2 -2
  43. package/dist/helpers/scroll.d.ts +10 -0
  44. package/dist/helpers/scroll.mjs +2 -2
  45. package/dist/helpers/twigWrapper/Evaluator/Evaluator.mjs +90 -88
  46. package/dist/helpers/twigWrapper/Evaluator/helpers.d.ts +6 -0
  47. package/dist/helpers/twigWrapper/Evaluator/helpers.mjs +11 -2
  48. package/dist/helpers/twigWrapper/filters/arrays.d.ts +2 -0
  49. package/dist/helpers/twigWrapper/filters/arrays.mjs +66 -0
  50. package/dist/helpers/twigWrapper/filters/catalog/index.d.ts +17 -0
  51. package/dist/helpers/twigWrapper/filters/catalog/index.mjs +351 -0
  52. package/dist/helpers/twigWrapper/filters/dateParts.d.ts +25 -0
  53. package/dist/helpers/twigWrapper/filters/dateParts.mjs +56 -0
  54. package/dist/helpers/twigWrapper/filters/dates.d.ts +2 -0
  55. package/dist/helpers/twigWrapper/filters/dates.mjs +97 -0
  56. package/dist/helpers/twigWrapper/filters/filters.d.ts +3 -13
  57. package/dist/helpers/twigWrapper/filters/filters.mjs +25 -483
  58. package/dist/helpers/twigWrapper/filters/hashing.d.ts +3 -0
  59. package/dist/helpers/twigWrapper/filters/hashing.mjs +101 -0
  60. package/dist/helpers/twigWrapper/filters/index.mjs +4 -1
  61. package/dist/helpers/twigWrapper/filters/misc.d.ts +5 -0
  62. package/dist/helpers/twigWrapper/filters/misc.mjs +52 -0
  63. package/dist/helpers/twigWrapper/filters/numbers.d.ts +2 -0
  64. package/dist/helpers/twigWrapper/filters/numbers.mjs +36 -0
  65. package/dist/helpers/twigWrapper/filters/objects.d.ts +3 -0
  66. package/dist/helpers/twigWrapper/filters/objects.mjs +61 -0
  67. package/dist/helpers/twigWrapper/filters/raw.d.ts +8 -0
  68. package/dist/helpers/twigWrapper/filters/raw.mjs +7 -0
  69. package/dist/helpers/twigWrapper/filters/strings.d.ts +7 -0
  70. package/dist/helpers/twigWrapper/filters/strings.mjs +79 -0
  71. package/dist/helpers/twigWrapper/filters/types.d.ts +5 -0
  72. package/dist/helpers/twigWrapper/filters/types.mjs +4 -0
  73. package/dist/helpers/twigWrapper/filters/values.d.ts +12 -0
  74. package/dist/helpers/twigWrapper/filters/values.mjs +17 -0
  75. package/dist/helpers/twigWrapper/inspectTemplate.d.ts +5 -0
  76. package/dist/helpers/twigWrapper/inspectTemplate.mjs +39 -20
  77. package/dist/helpers/utils.d.ts +4 -0
  78. package/dist/helpers/utils.mjs +3 -5
  79. package/dist/navigation/index.d.ts +2 -0
  80. package/dist/navigation/index.mjs +2 -1
  81. package/dist/navigation/sitemap.d.ts +16 -0
  82. package/dist/navigation/sitemap.mjs +25 -0
  83. package/dist/network/entitlements.d.ts +101 -0
  84. package/dist/network/entitlements.mjs +4 -0
  85. package/dist/network/graphql/builder/Mutations/Space/SpaceRunE2eTestsMutation.d.ts +31 -0
  86. package/dist/network/graphql/builder/Mutations/Space/SpaceRunE2eTestsMutation.mjs +13 -0
  87. package/dist/network/graphql/builder/Mutations/Space/SpaceSetTestsMutation.d.ts +5 -0
  88. package/dist/network/graphql/builder/Mutations/Space/SpaceSetTestsMutation.mjs +11 -0
  89. package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateSettingsMutation.d.ts +1 -1
  90. package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateSettingsMutation.mjs +1 -1
  91. package/dist/network/graphql/builder/Mutations/index.d.ts +5 -0
  92. package/dist/network/graphql/builder/Mutations/index.mjs +150 -146
  93. package/dist/network/graphql/builder/Queries/Space/SpaceTestsQuery.d.ts +40 -0
  94. package/dist/network/graphql/builder/Queries/Space/SpaceTestsQuery.mjs +24 -0
  95. package/dist/network/graphql/builder/Queries/index.d.ts +3 -0
  96. package/dist/network/graphql/builder/Queries/index.mjs +44 -42
  97. package/dist/network/graphql/sdk/Queries/InitQuery.d.ts +3 -1
  98. package/dist/network/graphql/sdk/Queries/InitQuery.mjs +1 -1
  99. package/dist/network/index.d.ts +1 -0
  100. package/dist/network/index.mjs +9 -8
  101. package/dist/network/spaceEvents.d.ts +20 -1
  102. package/dist/network/spaceEvents.mjs +12 -0
  103. package/dist/project/index.mjs +8 -5
  104. package/dist/project/layout/check.d.ts +22 -0
  105. package/dist/project/layout/check.mjs +60 -0
  106. package/dist/project/{layout.d.ts → layout/codes.d.ts} +3 -66
  107. package/dist/project/layout/codes.mjs +108 -0
  108. package/dist/project/layout/contents.d.ts +10 -0
  109. package/dist/project/layout/contents.mjs +31 -0
  110. package/dist/project/layout/files.d.ts +31 -0
  111. package/dist/project/layout/files.mjs +49 -0
  112. package/dist/project/layout/folders.d.ts +4 -0
  113. package/dist/project/layout/folders.mjs +69 -0
  114. package/dist/project/layout/index.d.ts +16 -0
  115. package/dist/project/layout/index.mjs +5 -0
  116. package/dist/project/layout/plugins.d.ts +46 -0
  117. package/dist/project/layout/plugins.mjs +99 -0
  118. package/dist/project/layout/vendor.d.ts +15 -0
  119. package/dist/project/layout/vendor.mjs +34 -0
  120. package/dist/project/pages/index.d.ts +8 -0
  121. package/dist/project/pages/index.mjs +14 -0
  122. package/dist/project/paths/index.d.ts +52 -4
  123. package/dist/project/paths/index.mjs +2 -2
  124. package/dist/project/root.d.ts +6 -0
  125. package/dist/project/root.mjs +11 -10
  126. package/dist/realtime/client.mjs +104 -91
  127. package/dist/realtime/presence.d.ts +2 -2
  128. package/dist/realtime/presence.mjs +27 -21
  129. package/dist/runs/index.d.ts +73 -0
  130. package/dist/runs/index.mjs +6 -0
  131. package/dist/runs/report.d.ts +56 -0
  132. package/dist/runs/report.mjs +17 -0
  133. package/dist/schema/index.d.ts +6 -0
  134. package/dist/schema/index.mjs +18 -12
  135. package/dist/schema/motion.d.ts +25 -0
  136. package/dist/schema/motion.mjs +47 -19
  137. package/dist/schema/pageAccess.d.ts +6 -0
  138. package/dist/schema/pageAccess.mjs +8 -3
  139. package/dist/schema/pageHead.d.ts +64 -0
  140. package/dist/schema/pageHead.mjs +68 -0
  141. package/dist/schema/providerAnswer.d.ts +17 -0
  142. package/dist/schema/providerAnswer.mjs +4 -0
  143. package/dist/schema/providerWhen.d.ts +36 -0
  144. package/dist/schema/providerWhen.mjs +58 -0
  145. package/dist/schema/schemaSettings.d.ts +14 -0
  146. package/dist/schema/schemaSettings.mjs +4 -0
  147. package/dist/schema/serverElements.d.ts +20 -1
  148. package/dist/schema/serverElements.mjs +41 -28
  149. package/dist/schema/serverInput.d.ts +34 -0
  150. package/dist/schema/serverInput.mjs +60 -0
  151. package/dist/schema/serverQuery.d.ts +47 -0
  152. package/dist/schema/serverQuery.mjs +70 -0
  153. package/dist/server/index.mjs +5 -5
  154. package/dist/server/rsc/refreshRsc.d.ts +6 -2
  155. package/dist/server/rsc/refreshRsc.mjs +75 -59
  156. package/dist/server/rsc/useRscSync.mjs +22 -18
  157. package/dist/source/export.d.ts +1 -1
  158. package/dist/state/index.mjs +3 -3
  159. package/dist/state/paintedState.d.ts +20 -4
  160. package/dist/state/paintedState.mjs +13 -12
  161. package/dist/state/runtimeStatePersist.mjs +109 -48
  162. package/dist/store/renderSettings.d.ts +2 -0
  163. package/dist/store/renderSettings.mjs +13 -5
  164. package/dist/store/storeHooks.d.ts +45 -45
  165. package/dist/style/index.mjs +16 -16
  166. package/dist/style/styleConstants.d.ts +12 -2
  167. package/dist/style/styleConstants.mjs +20 -0
  168. package/dist/style/styleStates.d.ts +5 -0
  169. package/dist/style/styleStates.mjs +21 -5
  170. package/dist/types/ActionTypes.d.ts +26 -3
  171. package/dist/types/AuthTypes.d.ts +19 -1
  172. package/dist/types/CommonTypes.d.ts +3 -2
  173. package/dist/types/ElementTypes.d.ts +1 -1
  174. package/dist/types/InteractionTypes.d.ts +10 -1
  175. package/dist/types/JobTypes.d.ts +2 -1
  176. package/dist/types/OAuthTypes.d.ts +246 -0
  177. package/dist/types/OAuthTypes.mjs +0 -0
  178. package/dist/types/PluginTypes.d.ts +2 -0
  179. package/dist/types/PreviewTypes.d.ts +71 -0
  180. package/dist/types/PreviewTypes.mjs +0 -0
  181. package/dist/types/RealtimeTypes.d.ts +11 -0
  182. package/dist/types/SchemaTypes.d.ts +63 -0
  183. package/dist/types/ServerAdapterTypes.d.ts +345 -0
  184. package/dist/types/ServerAdapterTypes.mjs +0 -0
  185. package/dist/types/ServerConfigTypes.d.ts +527 -0
  186. package/dist/types/ServerConfigTypes.mjs +0 -0
  187. package/dist/types/ServerLogTypes.d.ts +119 -0
  188. package/dist/types/ServerLogTypes.mjs +0 -0
  189. package/dist/types/ServerTypes.d.ts +30 -1215
  190. package/dist/types/StoreTypes.d.ts +39 -1
  191. package/dist/types/TestTypes.d.ts +249 -0
  192. package/dist/types/TestTypes.mjs +0 -0
  193. package/dist/types/index.d.ts +6 -0
  194. package/eslint.config.mjs +3 -1
  195. package/package.json +2 -2
  196. package/setupTests.ts +4 -3
  197. package/dist/project/layout.mjs +0 -394
@@ -1,18 +1,18 @@
1
1
  import { DISPLAY_MODES as e, isDisplayMode as t } from "./displayModes.mjs";
2
2
  import { CONTENT_PSEUDOS as n, GENERATED_PSEUDOS as r, PSEUDO_PROPERTIES as i, STYLE_PSEUDOS as a, STYLE_PSEUDO_LABELS as o, isContentValue as s, isStylePseudo as c, pseudoHonours as l, pseudoSuffix as u } from "./stylePseudos.mjs";
3
- import { CURRENT_SELECTOR as d, EXPANDED_SELECTOR as f, HIDDEN_CLASS as p, PARENT_ANCESTOR as m, STYLE_STATES as h, STYLE_STATE_LABELS as g, inCascadeOrder as _, isKnownState as v, isParentAncestor as y, isStartingState as b, stateSuffix as x } from "./styleStates.mjs";
4
- import S, { EMPTY_STYLE_SCHEMA as C, StyleBindingsAllowed as w, baseDefaultValue as T, inheritableAttributesBase as E } from "./styleConstants.mjs";
5
- import { DISPLAY_MODE_MIN_WIDTH as D, displayModeAt as O, displayModeWidthRem as k } from "./breakpoints.mjs";
6
- import { PLUGIN_CSS_LAYER as A, RUNTIME_CSS_LAYER as j, inPluginLayer as M } from "./cssLayers.mjs";
7
- import { fontLinkAssets as N } from "./fontAssets.mjs";
8
- import { SYSTEM_FONTS as P, availableFonts as F, familiesInCss as I, fontFamilyStack as L, fontUrlResolver as R, fontsToHead as z, googleCss2Url as B, googleTextSubsetUrl as V, isSafeFontUrl as H, primaryFamily as U } from "./fonts.mjs";
9
- import { FontValidationError as W, parseSpaceFont as G } from "./fontValidation.mjs";
10
- import { fallbackForFamily as K, fontsFromCss as q } from "./fontsFromCss.mjs";
11
- import { LAYOUT_GRIDS as J, layoutGridCss as Y, layoutGridLook as X } from "./layoutGrid.mjs";
12
- import { RUNTIME_STYLE_ID as Z, markStyleCache as Q, styleCacheFromDocument as $, styleCacheTravelsInDocument as ee } from "./runtimeStyle.mjs";
13
- import { mergeSnippetStyle as te, sameSelector as ne, selectorsOf as re } from "./snippetStyle.mjs";
14
- import { MOTION_CONDITIONS as ie, STYLE_CONDITION_LABELS as ae, STYLE_MOTION_CONDITIONS as oe, canonicalCondition as se, conditionAtRule as ce, conditionLabel as le, conditionOfAtRule as ue, isStyleCondition as de, parseContainerCondition as fe } from "./styleConditions.mjs";
15
- import { isStyleRules as pe, setAtKeys as me, styleTargetKeys as he, styleTargetProblem as ge, styleTargetRules as _e, valueAtKeys as ve } from "./styleTarget.mjs";
16
- import { NOTIFICATIONS_FIELDS as ye, notificationsCss as be, notificationsProblem as xe, splitNotificationsCss as Se, withNotificationsCss as Ce } from "./notifications.mjs";
17
- import { SDK_KEYFRAMES_PREFIX as we, animationNamesIn as Te, isFrameSelector as Ee, isKeyframesName as De, keyframesCss as Oe, keyframesNamesIn as ke, splitKeyframesCss as Ae, withKeyframesCss as je } from "./keyframes.mjs";
18
- export { n as CONTENT_PSEUDOS, d as CURRENT_SELECTOR, e as DISPLAY_MODES, D as DISPLAY_MODE_MIN_WIDTH, C as EMPTY_STYLE_SCHEMA, f as EXPANDED_SELECTOR, W as FontValidationError, r as GENERATED_PSEUDOS, p as HIDDEN_CLASS, J as LAYOUT_GRIDS, ie as MOTION_CONDITIONS, ye as NOTIFICATIONS_FIELDS, m as PARENT_ANCESTOR, A as PLUGIN_CSS_LAYER, i as PSEUDO_PROPERTIES, j as RUNTIME_CSS_LAYER, Z as RUNTIME_STYLE_ID, we as SDK_KEYFRAMES_PREFIX, ae as STYLE_CONDITION_LABELS, oe as STYLE_MOTION_CONDITIONS, a as STYLE_PSEUDOS, o as STYLE_PSEUDO_LABELS, h as STYLE_STATES, g as STYLE_STATE_LABELS, P as SYSTEM_FONTS, w as StyleBindingsAllowed, Te as animationNamesIn, F as availableFonts, T as baseDefaultValue, se as canonicalCondition, ce as conditionAtRule, le as conditionLabel, ue as conditionOfAtRule, O as displayModeAt, k as displayModeWidthRem, K as fallbackForFamily, I as familiesInCss, L as fontFamilyStack, N as fontLinkAssets, R as fontUrlResolver, q as fontsFromCss, z as fontsToHead, B as googleCss2Url, V as googleTextSubsetUrl, _ as inCascadeOrder, M as inPluginLayer, E as inheritableAttributesBase, s as isContentValue, t as isDisplayMode, Ee as isFrameSelector, De as isKeyframesName, v as isKnownState, y as isParentAncestor, H as isSafeFontUrl, b as isStartingState, de as isStyleCondition, c as isStylePseudo, pe as isStyleRules, Oe as keyframesCss, ke as keyframesNamesIn, Y as layoutGridCss, X as layoutGridLook, Q as markStyleCache, te as mergeSnippetStyle, be as notificationsCss, xe as notificationsProblem, fe as parseContainerCondition, G as parseSpaceFont, U as primaryFamily, l as pseudoHonours, u as pseudoSuffix, ne as sameSelector, re as selectorsOf, me as setAtKeys, Ae as splitKeyframesCss, Se as splitNotificationsCss, x as stateSuffix, $ as styleCacheFromDocument, ee as styleCacheTravelsInDocument, S as styleConstants, he as styleTargetKeys, ge as styleTargetProblem, _e as styleTargetRules, ve as valueAtKeys, je as withKeyframesCss, Ce as withNotificationsCss };
3
+ import { CURRENT_SELECTOR as d, EXPANDED_SELECTOR as f, HIDDEN_CLASS as p, PARENT_ANCESTOR as m, STYLE_STATES as h, STYLE_STATE_LABELS as g, STYLE_STATE_MEANINGS as _, inCascadeOrder as v, isKnownState as y, isParentAncestor as b, isStartingState as x, stateSuffix as S } from "./styleStates.mjs";
4
+ import C, { EMPTY_STYLE_SCHEMA as w, StyleBindingsAllowed as T, baseDefaultValue as E, inheritableAttributesBase as D } from "./styleConstants.mjs";
5
+ import { DISPLAY_MODE_MIN_WIDTH as O, displayModeAt as k, displayModeWidthRem as A } from "./breakpoints.mjs";
6
+ import { PLUGIN_CSS_LAYER as j, RUNTIME_CSS_LAYER as M, inPluginLayer as N } from "./cssLayers.mjs";
7
+ import { fontLinkAssets as P } from "./fontAssets.mjs";
8
+ import { SYSTEM_FONTS as F, availableFonts as I, familiesInCss as L, fontFamilyStack as R, fontUrlResolver as z, fontsToHead as B, googleCss2Url as V, googleTextSubsetUrl as H, isSafeFontUrl as U, primaryFamily as W } from "./fonts.mjs";
9
+ import { FontValidationError as G, parseSpaceFont as K } from "./fontValidation.mjs";
10
+ import { fallbackForFamily as q, fontsFromCss as J } from "./fontsFromCss.mjs";
11
+ import { LAYOUT_GRIDS as Y, layoutGridCss as X, layoutGridLook as Z } from "./layoutGrid.mjs";
12
+ import { RUNTIME_STYLE_ID as Q, markStyleCache as $, styleCacheFromDocument as ee, styleCacheTravelsInDocument as te } from "./runtimeStyle.mjs";
13
+ import { mergeSnippetStyle as ne, sameSelector as re, selectorsOf as ie } from "./snippetStyle.mjs";
14
+ import { MOTION_CONDITIONS as ae, STYLE_CONDITION_LABELS as oe, STYLE_MOTION_CONDITIONS as se, canonicalCondition as ce, conditionAtRule as le, conditionLabel as ue, conditionOfAtRule as de, isStyleCondition as fe, parseContainerCondition as pe } from "./styleConditions.mjs";
15
+ import { isStyleRules as me, setAtKeys as he, styleTargetKeys as ge, styleTargetProblem as _e, styleTargetRules as ve, valueAtKeys as ye } from "./styleTarget.mjs";
16
+ import { NOTIFICATIONS_FIELDS as be, notificationsCss as xe, notificationsProblem as Se, splitNotificationsCss as Ce, withNotificationsCss as we } from "./notifications.mjs";
17
+ import { SDK_KEYFRAMES_PREFIX as Te, animationNamesIn as Ee, isFrameSelector as De, isKeyframesName as Oe, keyframesCss as ke, keyframesNamesIn as Ae, splitKeyframesCss as je, withKeyframesCss as Me } from "./keyframes.mjs";
18
+ export { n as CONTENT_PSEUDOS, d as CURRENT_SELECTOR, e as DISPLAY_MODES, O as DISPLAY_MODE_MIN_WIDTH, w as EMPTY_STYLE_SCHEMA, f as EXPANDED_SELECTOR, G as FontValidationError, r as GENERATED_PSEUDOS, p as HIDDEN_CLASS, Y as LAYOUT_GRIDS, ae as MOTION_CONDITIONS, be as NOTIFICATIONS_FIELDS, m as PARENT_ANCESTOR, j as PLUGIN_CSS_LAYER, i as PSEUDO_PROPERTIES, M as RUNTIME_CSS_LAYER, Q as RUNTIME_STYLE_ID, Te as SDK_KEYFRAMES_PREFIX, oe as STYLE_CONDITION_LABELS, se as STYLE_MOTION_CONDITIONS, a as STYLE_PSEUDOS, o as STYLE_PSEUDO_LABELS, h as STYLE_STATES, g as STYLE_STATE_LABELS, _ as STYLE_STATE_MEANINGS, F as SYSTEM_FONTS, T as StyleBindingsAllowed, Ee as animationNamesIn, I as availableFonts, E as baseDefaultValue, ce as canonicalCondition, le as conditionAtRule, ue as conditionLabel, de as conditionOfAtRule, k as displayModeAt, A as displayModeWidthRem, q as fallbackForFamily, L as familiesInCss, R as fontFamilyStack, P as fontLinkAssets, z as fontUrlResolver, J as fontsFromCss, B as fontsToHead, V as googleCss2Url, H as googleTextSubsetUrl, v as inCascadeOrder, N as inPluginLayer, D as inheritableAttributesBase, s as isContentValue, t as isDisplayMode, De as isFrameSelector, Oe as isKeyframesName, y as isKnownState, b as isParentAncestor, U as isSafeFontUrl, x as isStartingState, fe as isStyleCondition, c as isStylePseudo, me as isStyleRules, ke as keyframesCss, Ae as keyframesNamesIn, X as layoutGridCss, Z as layoutGridLook, $ as markStyleCache, ne as mergeSnippetStyle, xe as notificationsCss, Se as notificationsProblem, pe as parseContainerCondition, K as parseSpaceFont, W as primaryFamily, l as pseudoHonours, u as pseudoSuffix, re as sameSelector, ie as selectorsOf, he as setAtKeys, je as splitKeyframesCss, Ce as splitNotificationsCss, S as stateSuffix, ee as styleCacheFromDocument, te as styleCacheTravelsInDocument, C as styleConstants, ge as styleTargetKeys, _e as styleTargetProblem, ve as styleTargetRules, ye as valueAtKeys, Me as withKeyframesCss, we as withNotificationsCss };
@@ -63,6 +63,7 @@ declare const styleConstants: {
63
63
  readonly BORDER_TOP_RIGHT_RADIUS: "border-top-right-radius";
64
64
  readonly BORDER_BOTTOM_LEFT_RADIUS: "border-bottom-left-radius";
65
65
  readonly BORDER_BOTTOM_RIGHT_RADIUS: "border-bottom-right-radius";
66
+ readonly BORDER_IMAGE: "border-image";
66
67
  readonly BORDER_COLLAPSE: "border-collapse";
67
68
  readonly BORDER_SPACING: "border-spacing";
68
69
  readonly TABLE_LAYOUT: "table-layout";
@@ -102,6 +103,7 @@ declare const styleConstants: {
102
103
  readonly PERSPECTIVE_ORIGIN: "perspective-origin";
103
104
  readonly BACKFACE_VISIBILITY: "backface-visibility";
104
105
  readonly WILL_CHANGE: "will-change";
106
+ readonly VIEW_TRANSITION_NAME: "view-transition-name";
105
107
  readonly OUTLINE_WIDTH: "outline-width";
106
108
  readonly OUTLINE_STYLE: "outline-style";
107
109
  readonly OUTLINE_COLOR: "outline-color";
@@ -113,11 +115,19 @@ declare const styleConstants: {
113
115
  readonly APPEARANCE: "appearance";
114
116
  readonly SCROLL_BEHAVIOR: "scroll-behavior";
115
117
  readonly OVERSCROLL_BEHAVIOR: "overscroll-behavior";
118
+ readonly OVERSCROLL_BEHAVIOR_X: "overscroll-behavior-x";
119
+ readonly OVERSCROLL_BEHAVIOR_Y: "overscroll-behavior-y";
116
120
  readonly SCROLL_SNAP_TYPE: "scroll-snap-type";
117
121
  readonly SCROLL_SNAP_ALIGN: "scroll-snap-align";
118
122
  readonly SCROLL_SNAP_STOP: "scroll-snap-stop";
119
123
  readonly SCROLL_PADDING_TOP: "scroll-padding-top";
124
+ readonly SCROLL_PADDING_RIGHT: "scroll-padding-right";
125
+ readonly SCROLL_PADDING_BOTTOM: "scroll-padding-bottom";
126
+ readonly SCROLL_PADDING_LEFT: "scroll-padding-left";
120
127
  readonly SCROLL_MARGIN_TOP: "scroll-margin-top";
128
+ readonly SCROLL_MARGIN_RIGHT: "scroll-margin-right";
129
+ readonly SCROLL_MARGIN_BOTTOM: "scroll-margin-bottom";
130
+ readonly SCROLL_MARGIN_LEFT: "scroll-margin-left";
121
131
  readonly ACCENT_COLOR: "accent-color";
122
132
  readonly CARET_COLOR: "caret-color";
123
133
  readonly COLOR_SCHEME: "color-scheme";
@@ -201,8 +211,8 @@ declare const styleConstants: {
201
211
  };
202
212
  export declare const inheritableAttributesBase: StyleCategory[];
203
213
  export declare const StyleBindingsAllowed: {
204
- path: "color" | "cursor" | "filter" | "fill" | "display" | "flex-wrap" | "flex-direction" | "align-items" | "justify-items" | "justify-content" | "align-content" | "row-gap" | "column-gap" | "grid-row-gap" | "grid-column-gap" | "grid-template-areas" | "grid-template-columns" | "grid-template-rows" | "grid-auto-flow" | "grid-auto-rows" | "grid-auto-columns" | "grid-row-start" | "grid-column-start" | "grid-row-end" | "grid-column-end" | "align-self" | "justify-self" | "order" | "flex-grow" | "flex-shrink" | "flex-basis" | "list-style" | "list-style-type" | "list-style-position" | "list-style-image" | "background-color" | "background-image" | "background-position" | "background-size" | "background-repeat" | "background-origin" | "background-clip" | "background-attachment" | "background-blend-mode" | "mask-image" | "mask-size" | "mask-position" | "mask-repeat" | "mask-composite" | "-webkit-mask-image" | "border-top-style" | "border-top-width" | "border-top-color" | "border-bottom-style" | "border-bottom-width" | "border-bottom-color" | "border-left-style" | "border-left-width" | "border-left-color" | "border-right-style" | "border-right-width" | "border-right-color" | "border-top-left-radius" | "border-top-right-radius" | "border-bottom-left-radius" | "border-bottom-right-radius" | "border-collapse" | "border-spacing" | "table-layout" | "opacity" | "visibility" | "transition" | "transition-property" | "transition-duration" | "transition-timing-function" | "transition-delay" | "transition-behavior" | "animation" | "animation-name" | "animation-duration" | "animation-timing-function" | "animation-delay" | "animation-iteration-count" | "animation-direction" | "animation-fill-mode" | "animation-play-state" | "animation-timeline" | "animation-range" | "box-shadow" | "backdrop-filter" | "mix-blend-mode" | "isolation" | "clip-path" | "transform" | "transform-origin" | "translate" | "rotate" | "scale" | "transform-style" | "perspective" | "perspective-origin" | "backface-visibility" | "will-change" | "outline-width" | "outline-style" | "outline-color" | "outline-offset" | "pointer-events" | "user-select" | "touch-action" | "resize" | "appearance" | "scroll-behavior" | "overscroll-behavior" | "scroll-snap-type" | "scroll-snap-align" | "scroll-snap-stop" | "scroll-padding-top" | "scroll-margin-top" | "accent-color" | "caret-color" | "color-scheme" | "content" | "position" | "float" | "clear" | "z-index" | "top" | "bottom" | "left" | "right" | "box-sizing" | "aspect-ratio" | "width" | "height" | "min-width" | "min-height" | "max-width" | "max-height" | "overflow" | "overflow-x" | "overflow-y" | "scrollbar-width" | "scrollbar-color" | "container-type" | "container-name" | "object-fit" | "object-position" | "column-width" | "column-count" | "margin-top" | "margin-bottom" | "margin-left" | "margin-right" | "padding-top" | "padding-bottom" | "padding-left" | "padding-right" | "font-family" | "font-weight" | "font-size" | "line-height" | "text-align" | "font-style" | "font-variant" | "font-variant-numeric" | "font-feature-settings" | "text-decoration" | "text-decoration-line" | "text-decoration-color" | "text-decoration-style" | "text-decoration-thickness" | "text-underline-offset" | "letter-spacing" | "word-spacing" | "text-indent" | "text-transform" | "direction" | "writing-mode" | "text-orientation" | "white-space" | "text-wrap" | "word-break" | "overflow-wrap" | "hyphens" | "vertical-align" | "text-overflow" | "text-shadow" | "line-clamp" | "-webkit-line-clamp" | "-webkit-box-orient" | "-webkit-text-fill-color" | "-webkit-background-clip" | "box-decoration-break" | "-webkit-box-decoration-break" | "stroke" | "stroke-width";
205
- label: "color" | "cursor" | "filter" | "fill" | "display" | "flex-wrap" | "flex-direction" | "align-items" | "justify-items" | "justify-content" | "align-content" | "row-gap" | "column-gap" | "grid-row-gap" | "grid-column-gap" | "grid-template-areas" | "grid-template-columns" | "grid-template-rows" | "grid-auto-flow" | "grid-auto-rows" | "grid-auto-columns" | "grid-row-start" | "grid-column-start" | "grid-row-end" | "grid-column-end" | "align-self" | "justify-self" | "order" | "flex-grow" | "flex-shrink" | "flex-basis" | "list-style" | "list-style-type" | "list-style-position" | "list-style-image" | "background-color" | "background-image" | "background-position" | "background-size" | "background-repeat" | "background-origin" | "background-clip" | "background-attachment" | "background-blend-mode" | "mask-image" | "mask-size" | "mask-position" | "mask-repeat" | "mask-composite" | "-webkit-mask-image" | "border-top-style" | "border-top-width" | "border-top-color" | "border-bottom-style" | "border-bottom-width" | "border-bottom-color" | "border-left-style" | "border-left-width" | "border-left-color" | "border-right-style" | "border-right-width" | "border-right-color" | "border-top-left-radius" | "border-top-right-radius" | "border-bottom-left-radius" | "border-bottom-right-radius" | "border-collapse" | "border-spacing" | "table-layout" | "opacity" | "visibility" | "transition" | "transition-property" | "transition-duration" | "transition-timing-function" | "transition-delay" | "transition-behavior" | "animation" | "animation-name" | "animation-duration" | "animation-timing-function" | "animation-delay" | "animation-iteration-count" | "animation-direction" | "animation-fill-mode" | "animation-play-state" | "animation-timeline" | "animation-range" | "box-shadow" | "backdrop-filter" | "mix-blend-mode" | "isolation" | "clip-path" | "transform" | "transform-origin" | "translate" | "rotate" | "scale" | "transform-style" | "perspective" | "perspective-origin" | "backface-visibility" | "will-change" | "outline-width" | "outline-style" | "outline-color" | "outline-offset" | "pointer-events" | "user-select" | "touch-action" | "resize" | "appearance" | "scroll-behavior" | "overscroll-behavior" | "scroll-snap-type" | "scroll-snap-align" | "scroll-snap-stop" | "scroll-padding-top" | "scroll-margin-top" | "accent-color" | "caret-color" | "color-scheme" | "content" | "position" | "float" | "clear" | "z-index" | "top" | "bottom" | "left" | "right" | "box-sizing" | "aspect-ratio" | "width" | "height" | "min-width" | "min-height" | "max-width" | "max-height" | "overflow" | "overflow-x" | "overflow-y" | "scrollbar-width" | "scrollbar-color" | "container-type" | "container-name" | "object-fit" | "object-position" | "column-width" | "column-count" | "margin-top" | "margin-bottom" | "margin-left" | "margin-right" | "padding-top" | "padding-bottom" | "padding-left" | "padding-right" | "font-family" | "font-weight" | "font-size" | "line-height" | "text-align" | "font-style" | "font-variant" | "font-variant-numeric" | "font-feature-settings" | "text-decoration" | "text-decoration-line" | "text-decoration-color" | "text-decoration-style" | "text-decoration-thickness" | "text-underline-offset" | "letter-spacing" | "word-spacing" | "text-indent" | "text-transform" | "direction" | "writing-mode" | "text-orientation" | "white-space" | "text-wrap" | "word-break" | "overflow-wrap" | "hyphens" | "vertical-align" | "text-overflow" | "text-shadow" | "line-clamp" | "-webkit-line-clamp" | "-webkit-box-orient" | "-webkit-text-fill-color" | "-webkit-background-clip" | "box-decoration-break" | "-webkit-box-decoration-break" | "stroke" | "stroke-width";
214
+ path: "color" | "cursor" | "filter" | "fill" | "display" | "flex-wrap" | "flex-direction" | "align-items" | "justify-items" | "justify-content" | "align-content" | "row-gap" | "column-gap" | "grid-row-gap" | "grid-column-gap" | "grid-template-areas" | "grid-template-columns" | "grid-template-rows" | "grid-auto-flow" | "grid-auto-rows" | "grid-auto-columns" | "grid-row-start" | "grid-column-start" | "grid-row-end" | "grid-column-end" | "align-self" | "justify-self" | "order" | "flex-grow" | "flex-shrink" | "flex-basis" | "list-style" | "list-style-type" | "list-style-position" | "list-style-image" | "background-color" | "background-image" | "background-position" | "background-size" | "background-repeat" | "background-origin" | "background-clip" | "background-attachment" | "background-blend-mode" | "mask-image" | "mask-size" | "mask-position" | "mask-repeat" | "mask-composite" | "-webkit-mask-image" | "border-top-style" | "border-top-width" | "border-top-color" | "border-bottom-style" | "border-bottom-width" | "border-bottom-color" | "border-left-style" | "border-left-width" | "border-left-color" | "border-right-style" | "border-right-width" | "border-right-color" | "border-top-left-radius" | "border-top-right-radius" | "border-bottom-left-radius" | "border-bottom-right-radius" | "border-image" | "border-collapse" | "border-spacing" | "table-layout" | "opacity" | "visibility" | "transition" | "transition-property" | "transition-duration" | "transition-timing-function" | "transition-delay" | "transition-behavior" | "animation" | "animation-name" | "animation-duration" | "animation-timing-function" | "animation-delay" | "animation-iteration-count" | "animation-direction" | "animation-fill-mode" | "animation-play-state" | "animation-timeline" | "animation-range" | "box-shadow" | "backdrop-filter" | "mix-blend-mode" | "isolation" | "clip-path" | "transform" | "transform-origin" | "translate" | "rotate" | "scale" | "transform-style" | "perspective" | "perspective-origin" | "backface-visibility" | "will-change" | "view-transition-name" | "outline-width" | "outline-style" | "outline-color" | "outline-offset" | "pointer-events" | "user-select" | "touch-action" | "resize" | "appearance" | "scroll-behavior" | "overscroll-behavior" | "overscroll-behavior-x" | "overscroll-behavior-y" | "scroll-snap-type" | "scroll-snap-align" | "scroll-snap-stop" | "scroll-padding-top" | "scroll-padding-right" | "scroll-padding-bottom" | "scroll-padding-left" | "scroll-margin-top" | "scroll-margin-right" | "scroll-margin-bottom" | "scroll-margin-left" | "accent-color" | "caret-color" | "color-scheme" | "content" | "position" | "float" | "clear" | "z-index" | "top" | "bottom" | "left" | "right" | "box-sizing" | "aspect-ratio" | "width" | "height" | "min-width" | "min-height" | "max-width" | "max-height" | "overflow" | "overflow-x" | "overflow-y" | "scrollbar-width" | "scrollbar-color" | "container-type" | "container-name" | "object-fit" | "object-position" | "column-width" | "column-count" | "margin-top" | "margin-bottom" | "margin-left" | "margin-right" | "padding-top" | "padding-bottom" | "padding-left" | "padding-right" | "font-family" | "font-weight" | "font-size" | "line-height" | "text-align" | "font-style" | "font-variant" | "font-variant-numeric" | "font-feature-settings" | "text-decoration" | "text-decoration-line" | "text-decoration-color" | "text-decoration-style" | "text-decoration-thickness" | "text-underline-offset" | "letter-spacing" | "word-spacing" | "text-indent" | "text-transform" | "direction" | "writing-mode" | "text-orientation" | "white-space" | "text-wrap" | "word-break" | "overflow-wrap" | "hyphens" | "vertical-align" | "text-overflow" | "text-shadow" | "line-clamp" | "-webkit-line-clamp" | "-webkit-box-orient" | "-webkit-text-fill-color" | "-webkit-background-clip" | "box-decoration-break" | "-webkit-box-decoration-break" | "stroke" | "stroke-width";
215
+ label: "color" | "cursor" | "filter" | "fill" | "display" | "flex-wrap" | "flex-direction" | "align-items" | "justify-items" | "justify-content" | "align-content" | "row-gap" | "column-gap" | "grid-row-gap" | "grid-column-gap" | "grid-template-areas" | "grid-template-columns" | "grid-template-rows" | "grid-auto-flow" | "grid-auto-rows" | "grid-auto-columns" | "grid-row-start" | "grid-column-start" | "grid-row-end" | "grid-column-end" | "align-self" | "justify-self" | "order" | "flex-grow" | "flex-shrink" | "flex-basis" | "list-style" | "list-style-type" | "list-style-position" | "list-style-image" | "background-color" | "background-image" | "background-position" | "background-size" | "background-repeat" | "background-origin" | "background-clip" | "background-attachment" | "background-blend-mode" | "mask-image" | "mask-size" | "mask-position" | "mask-repeat" | "mask-composite" | "-webkit-mask-image" | "border-top-style" | "border-top-width" | "border-top-color" | "border-bottom-style" | "border-bottom-width" | "border-bottom-color" | "border-left-style" | "border-left-width" | "border-left-color" | "border-right-style" | "border-right-width" | "border-right-color" | "border-top-left-radius" | "border-top-right-radius" | "border-bottom-left-radius" | "border-bottom-right-radius" | "border-image" | "border-collapse" | "border-spacing" | "table-layout" | "opacity" | "visibility" | "transition" | "transition-property" | "transition-duration" | "transition-timing-function" | "transition-delay" | "transition-behavior" | "animation" | "animation-name" | "animation-duration" | "animation-timing-function" | "animation-delay" | "animation-iteration-count" | "animation-direction" | "animation-fill-mode" | "animation-play-state" | "animation-timeline" | "animation-range" | "box-shadow" | "backdrop-filter" | "mix-blend-mode" | "isolation" | "clip-path" | "transform" | "transform-origin" | "translate" | "rotate" | "scale" | "transform-style" | "perspective" | "perspective-origin" | "backface-visibility" | "will-change" | "view-transition-name" | "outline-width" | "outline-style" | "outline-color" | "outline-offset" | "pointer-events" | "user-select" | "touch-action" | "resize" | "appearance" | "scroll-behavior" | "overscroll-behavior" | "overscroll-behavior-x" | "overscroll-behavior-y" | "scroll-snap-type" | "scroll-snap-align" | "scroll-snap-stop" | "scroll-padding-top" | "scroll-padding-right" | "scroll-padding-bottom" | "scroll-padding-left" | "scroll-margin-top" | "scroll-margin-right" | "scroll-margin-bottom" | "scroll-margin-left" | "accent-color" | "caret-color" | "color-scheme" | "content" | "position" | "float" | "clear" | "z-index" | "top" | "bottom" | "left" | "right" | "box-sizing" | "aspect-ratio" | "width" | "height" | "min-width" | "min-height" | "max-width" | "max-height" | "overflow" | "overflow-x" | "overflow-y" | "scrollbar-width" | "scrollbar-color" | "container-type" | "container-name" | "object-fit" | "object-position" | "column-width" | "column-count" | "margin-top" | "margin-bottom" | "margin-left" | "margin-right" | "padding-top" | "padding-bottom" | "padding-left" | "padding-right" | "font-family" | "font-weight" | "font-size" | "line-height" | "text-align" | "font-style" | "font-variant" | "font-variant-numeric" | "font-feature-settings" | "text-decoration" | "text-decoration-line" | "text-decoration-color" | "text-decoration-style" | "text-decoration-thickness" | "text-underline-offset" | "letter-spacing" | "word-spacing" | "text-indent" | "text-transform" | "direction" | "writing-mode" | "text-orientation" | "white-space" | "text-wrap" | "word-break" | "overflow-wrap" | "hyphens" | "vertical-align" | "text-overflow" | "text-shadow" | "line-clamp" | "-webkit-line-clamp" | "-webkit-box-orient" | "-webkit-text-fill-color" | "-webkit-background-clip" | "box-decoration-break" | "-webkit-box-decoration-break" | "stroke" | "stroke-width";
206
216
  }[];
207
217
  export declare const baseDefaultValue: Record<StyleCategory, StyleValue>;
208
218
  export default styleConstants;
@@ -76,6 +76,7 @@ var e = {
76
76
  BORDER_TOP_RIGHT_RADIUS: "border-top-right-radius",
77
77
  BORDER_BOTTOM_LEFT_RADIUS: "border-bottom-left-radius",
78
78
  BORDER_BOTTOM_RIGHT_RADIUS: "border-bottom-right-radius",
79
+ BORDER_IMAGE: "border-image",
79
80
  BORDER_COLLAPSE: "border-collapse",
80
81
  BORDER_SPACING: "border-spacing",
81
82
  TABLE_LAYOUT: "table-layout",
@@ -115,6 +116,7 @@ var e = {
115
116
  PERSPECTIVE_ORIGIN: "perspective-origin",
116
117
  BACKFACE_VISIBILITY: "backface-visibility",
117
118
  WILL_CHANGE: "will-change",
119
+ VIEW_TRANSITION_NAME: "view-transition-name",
118
120
  OUTLINE_WIDTH: "outline-width",
119
121
  OUTLINE_STYLE: "outline-style",
120
122
  OUTLINE_COLOR: "outline-color",
@@ -126,11 +128,19 @@ var e = {
126
128
  APPEARANCE: "appearance",
127
129
  SCROLL_BEHAVIOR: "scroll-behavior",
128
130
  OVERSCROLL_BEHAVIOR: "overscroll-behavior",
131
+ OVERSCROLL_BEHAVIOR_X: "overscroll-behavior-x",
132
+ OVERSCROLL_BEHAVIOR_Y: "overscroll-behavior-y",
129
133
  SCROLL_SNAP_TYPE: "scroll-snap-type",
130
134
  SCROLL_SNAP_ALIGN: "scroll-snap-align",
131
135
  SCROLL_SNAP_STOP: "scroll-snap-stop",
132
136
  SCROLL_PADDING_TOP: "scroll-padding-top",
137
+ SCROLL_PADDING_RIGHT: "scroll-padding-right",
138
+ SCROLL_PADDING_BOTTOM: "scroll-padding-bottom",
139
+ SCROLL_PADDING_LEFT: "scroll-padding-left",
133
140
  SCROLL_MARGIN_TOP: "scroll-margin-top",
141
+ SCROLL_MARGIN_RIGHT: "scroll-margin-right",
142
+ SCROLL_MARGIN_BOTTOM: "scroll-margin-bottom",
143
+ SCROLL_MARGIN_LEFT: "scroll-margin-left",
134
144
  ACCENT_COLOR: "accent-color",
135
145
  CARET_COLOR: "caret-color",
136
146
  COLOR_SCHEME: "color-scheme",
@@ -302,6 +312,7 @@ var e = {
302
312
  [t.BORDER_BOTTOM_RIGHT_RADIUS]: "0px",
303
313
  [t.BORDER_COLLAPSE]: "separate",
304
314
  [t.BORDER_SPACING]: "0px",
315
+ [t.BORDER_IMAGE]: "none",
305
316
  [t.TABLE_LAYOUT]: "auto",
306
317
  [t.OPACITY]: "1",
307
318
  [t.VISIBILITY]: "visible",
@@ -339,6 +350,7 @@ var e = {
339
350
  [t.PERSPECTIVE_ORIGIN]: "50% 50%",
340
351
  [t.BACKFACE_VISIBILITY]: "visible",
341
352
  [t.WILL_CHANGE]: "auto",
353
+ [t.VIEW_TRANSITION_NAME]: "none",
342
354
  [t.OUTLINE_WIDTH]: "medium",
343
355
  [t.OUTLINE_STYLE]: "none",
344
356
  [t.OUTLINE_COLOR]: "currentColor",
@@ -350,11 +362,19 @@ var e = {
350
362
  [t.APPEARANCE]: "none",
351
363
  [t.SCROLL_BEHAVIOR]: "auto",
352
364
  [t.OVERSCROLL_BEHAVIOR]: "auto",
365
+ [t.OVERSCROLL_BEHAVIOR_X]: "auto",
366
+ [t.OVERSCROLL_BEHAVIOR_Y]: "auto",
353
367
  [t.SCROLL_SNAP_TYPE]: "none",
354
368
  [t.SCROLL_SNAP_ALIGN]: "none",
355
369
  [t.SCROLL_SNAP_STOP]: "normal",
356
370
  [t.SCROLL_PADDING_TOP]: "auto",
371
+ [t.SCROLL_PADDING_RIGHT]: "auto",
372
+ [t.SCROLL_PADDING_BOTTOM]: "auto",
373
+ [t.SCROLL_PADDING_LEFT]: "auto",
357
374
  [t.SCROLL_MARGIN_TOP]: "0px",
375
+ [t.SCROLL_MARGIN_RIGHT]: "0px",
376
+ [t.SCROLL_MARGIN_BOTTOM]: "0px",
377
+ [t.SCROLL_MARGIN_LEFT]: "0px",
358
378
  [t.ACCENT_COLOR]: "auto",
359
379
  [t.CARET_COLOR]: "auto",
360
380
  [t.COLOR_SCHEME]: "normal",
@@ -26,6 +26,11 @@ export declare const STYLE_STATES: readonly ["hover", "focus", "focus-visible",
26
26
  /** What the SDK puts on an element whose `visible` says no: `display: none`, and what the `hidden` state selects. */
27
27
  export declare const HIDDEN_CLASS = "plitzi-component--hidden";
28
28
  export declare const STYLE_STATE_LABELS: Record<(typeof STYLE_STATES)[number], string>;
29
+ /**
30
+ * What each state is, in a line — what `plitzi explain` says of it, and where it differs from what its name suggests:
31
+ * A run's agents lit the open tab with `active`, the press, where `current` is the chosen one.
32
+ */
33
+ export declare const STYLE_STATE_MEANINGS: Record<(typeof STYLE_STATES)[number], string>;
29
34
  export declare const isKnownState: (state: string) => state is (typeof STYLE_STATES)[number];
30
35
  /**
31
36
  * A rule's states in the order they have to be written for the right one to win, whatever order they were added in.
@@ -32,6 +32,22 @@ var e = [
32
32
  odd: "Odd child",
33
33
  even: "Even child"
34
34
  }, r = {
35
+ hover: "while the pointer is over it",
36
+ focus: "while it holds the focus, from a click or the keyboard",
37
+ "focus-visible": "while it holds the focus from the keyboard — the ring a keyboard user needs",
38
+ "focus-within": "while anything inside it holds the focus — a field wrapper around its input",
39
+ active: "while it is pressed, the pointer down on it (CSS :active) — never the chosen one of a set: that is current",
40
+ disabled: "while it takes no press — a disabled control",
41
+ checked: "while a box or a radio is ticked",
42
+ visited: "a link to a page the visitor has been to",
43
+ current: "the chosen one of a set, as the element says it — the selected tab (aria-selected), the link to the page shown (aria-current), the pressed toggle (aria-pressed)",
44
+ expanded: "the control of a panel while the panel is open — a dropdown trigger, an accordion header (aria-expanded)",
45
+ hidden: "how it looks while its `visible` says no — where it goes as it hides, with a transition on the class",
46
+ first: "the first of its siblings",
47
+ last: "the last of its siblings",
48
+ odd: "an odd one among its siblings (1st, 3rd…)",
49
+ even: "an even one among its siblings (2nd, 4th…)"
50
+ }, i = {
35
51
  odd: 0,
36
52
  even: 1,
37
53
  first: 2,
@@ -47,14 +63,14 @@ var e = [
47
63
  active: 12,
48
64
  disabled: 13,
49
65
  hidden: 14
50
- }, i = (e) => Object.hasOwn(r, e), a = (t) => i(t) ? r[t] : e.length, o = (e) => Object.entries(e).sort(([e], [t]) => a(e) - a(t)), s = ":is([aria-current]:not([aria-current=\"false\"]),[aria-pressed=\"true\"],[aria-selected=\"true\"],[role=\"tabpanel\"]:not([hidden]))", c = "[aria-expanded=\"true\"]", l = {
51
- current: s,
52
- expanded: c,
66
+ }, a = (e) => Object.hasOwn(i, e), o = (t) => a(t) ? i[t] : e.length, s = (e) => Object.entries(e).sort(([e], [t]) => o(e) - o(t)), c = ":is([aria-current]:not([aria-current=\"false\"]),[aria-pressed=\"true\"],[aria-selected=\"true\"],[role=\"tabpanel\"]:not([hidden]))", l = "[aria-expanded=\"true\"]", u = {
67
+ current: c,
68
+ expanded: l,
53
69
  hidden: `.${t}`,
54
70
  first: ":first-child",
55
71
  last: ":last-child",
56
72
  odd: ":nth-child(odd)",
57
73
  even: ":nth-child(even)"
58
- }, u = (e) => (i(e) ? l[e] : void 0) ?? `:${e}`, d = (e) => e === "hidden", f = ">", p = (e) => e === ">";
74
+ }, d = (e) => (a(e) ? u[e] : void 0) ?? `:${e}`, f = (e) => e === "hidden", p = ">", m = (e) => e === ">";
59
75
  //#endregion
60
- export { s as CURRENT_SELECTOR, c as EXPANDED_SELECTOR, t as HIDDEN_CLASS, f as PARENT_ANCESTOR, e as STYLE_STATES, n as STYLE_STATE_LABELS, o as inCascadeOrder, i as isKnownState, p as isParentAncestor, d as isStartingState, u as stateSuffix };
76
+ export { c as CURRENT_SELECTOR, l as EXPANDED_SELECTOR, t as HIDDEN_CLASS, p as PARENT_ANCESTOR, e as STYLE_STATES, n as STYLE_STATE_LABELS, r as STYLE_STATE_MEANINGS, s as inCascadeOrder, a as isKnownState, m as isParentAncestor, f as isStartingState, d as stateSuffix };
@@ -16,6 +16,12 @@ export type ActionField = {
16
16
  defaultValue?: string | number | boolean;
17
17
  /** Shown in the builder, and read by the MCP agent when it wires a call. */
18
18
  label?: string;
19
+ /** A `text` field's longest value: a longer one is refused before the action runs. */
20
+ maxLength?: number;
21
+ /** A `number` field's least value: a smaller one is refused before the action runs. */
22
+ min?: number;
23
+ /** A `number` field's greatest value: a larger one is refused before the action runs. */
24
+ max?: number;
19
25
  };
20
26
  /** What a caller sends for a field of a type: text for `text`, `date` and `file`, anything parseable for `json`. */
21
27
  type ActionFieldValue<T extends ActionFieldType> = T extends 'number' ? number : T extends 'boolean' ? boolean : T extends 'json' ? unknown : string;
@@ -169,19 +175,30 @@ export type ActionTriggerParams = {
169
175
  /** `custom`: the name the deployment mounts it under. */
170
176
  name?: string;
171
177
  };
172
- /** Ceilings for one run. A per-action value may only tighten the deployment's own. */
178
+ /**
179
+ * Ceilings for one run. A per-action value may only tighten the deployment's own. Left out, the deployment's — on
180
+ * Plitzi's the defaults below.
181
+ */
173
182
  export type ActionLimits = {
183
+ /**
184
+ * How long a run may take: 10 000 ms by default. A render action that feeds a page — an `apiContainer` with
185
+ * `runtime: 'server'` — has the page's own ceiling too, and the page's wins: each section is cut at 5 000 ms by
186
+ * default (`rsc.elementTimeoutMs` of the deployment), and arrives empty. Budget a render under the smaller: a run's
187
+ * developer budgeted 8.5 s against the 10 s, and the section came out empty.
188
+ */
174
189
  timeoutMs?: number;
175
- /** Ceiling for a streaming run, which is allowed to be longer-lived than a request/response one. */
190
+ /** Ceiling for a streaming run, which is allowed to be longer-lived than a request/response one: 120 000 ms by default. */
176
191
  streamTimeoutMs?: number;
192
+ /** How many steps one run may take: 50 by default. */
177
193
  maxNodes?: number;
194
+ /** How many requests one run may make: 20 by default. */
178
195
  maxRequests?: number;
179
196
  /**
180
197
  * Bytes one outbound response may carry back into a flow.
181
198
  *
182
199
  * A timeout does not cover this: a backend answering a gigabyte quickly is a fast way to take a process down,
183
200
  * and every other ceiling here is about how LONG a run may take rather than how much it may hold. Counted per
184
- * response rather than per run, because it exists to stop one answer from being unbounded.
201
+ * response rather than per run, because it exists to stop one answer from being unbounded. 5 000 000 by default.
185
202
  */
186
203
  maxResponseBytes?: number;
187
204
  };
@@ -512,6 +529,12 @@ export type ActionCallRequest = {
512
529
  input?: Record<string, unknown>;
513
530
  /** Replaces the derived single-flight key, so a caller can make a retry provably the same run. */
514
531
  idempotencyKey?: string;
532
+ /**
533
+ * `render`: run the way a page's render runs it — its `render` way in, its checks — answered by a development server
534
+ * alone (`devMode`): a render action no page uses yet, tried with its real fetch, hosts and limits (`page play`'s
535
+ * `render` step). Anywhere else, refused: a call is a call.
536
+ */
537
+ trigger?: 'render';
515
538
  };
516
539
  export type ActionCallResult = {
517
540
  runId: string;
@@ -25,8 +25,11 @@ export type AuthState = 'init' | 'initLoading' | 'authenticating' | 'authenticat
25
25
  * It is terminal like `inactive` — there is no session to be had — but it is the only refusal a person can do
26
26
  * something about, which is why it is worth telling them apart. A sign-in screen that cannot distinguish them says
27
27
  * "that email or password was not right" to somebody whose password was fine, and they try it again.
28
+ *
29
+ * `sso-required` is the other one about the way in: the password was right, and the account's organization signs it in
30
+ * through its own single sign-on — a sign-in screen sends them there.
28
31
  */
29
- export type AuthFailureReason = 'missing' | 'expired' | 'revoked' | 'inactive' | 'unverified' | 'malformed' | 'outdated' | 'network';
32
+ export type AuthFailureReason = 'missing' | 'expired' | 'revoked' | 'inactive' | 'unverified' | 'sso-required' | 'malformed' | 'outdated' | 'network';
30
33
  /** What an auth backend hands back from a grant (login, refresh) or an identity call. Both halves are optional:
31
34
  * a backend may answer a refresh with tokens alone, or an identity call with a user alone. */
32
35
  export type AuthGrant<U = Record<string, unknown>> = {
@@ -49,6 +52,11 @@ export type AuthResult<U = Record<string, unknown>> = ({
49
52
  ok: false;
50
53
  reason: AuthFailureReason;
51
54
  };
55
+ /**
56
+ * Which sessions a sign-out everywhere ends: `site`, those signed in on this host — a space's own, its visitors'; `all`,
57
+ * every session of the account, wherever it signed in.
58
+ */
59
+ export type SessionScope = 'site' | 'all';
52
60
  /**
53
61
  * What a sign-in came to: the session it minted, or why there is none.
54
62
  *
@@ -71,6 +79,11 @@ export type AuthContextValue = {
71
79
  refresh: (params?: Record<string, unknown>) => Promise<TokenResult | undefined>;
72
80
  can: (permission: string) => boolean;
73
81
  logout: () => Promise<void>;
82
+ /**
83
+ * Signs the person out on every device: `site` of this site's sessions, `all` of every one of the account. The page
84
+ * then reads as signed out, as after `logout`. Absent where the provider has no way to.
85
+ */
86
+ logoutEverywhere?: (scope: SessionScope) => Promise<void>;
74
87
  /** Ask the backend whether the session still stands, renewing it if that is what it takes. Resolves to the
75
88
  * outcome, so a caller that needs certainty (a guarded action) can await it instead of trusting the last check. */
76
89
  revalidate: (force?: boolean) => Promise<boolean>;
@@ -95,4 +108,9 @@ export type AuthContextValue = {
95
108
  };
96
109
  accessToken?: string;
97
110
  };
111
+ /**
112
+ * The journey's test account this visitor is signed in as (`tests.accounts`, by id) — none for a real session. It holds
113
+ * no session the server knows, so nothing that asks the server who it is (a redirect off the site) is done for it.
114
+ */
115
+ testAccount?: string;
98
116
  };
@@ -1,7 +1,8 @@
1
1
  import { User } from './AuthTypes';
2
2
  import { RealtimeTransport } from './RealtimeTypes';
3
3
  import { Schema } from './SchemaTypes';
4
- import { SSRRenderResult, SSRRscData } from './ServerTypes';
4
+ import { SSRRscData } from './ServerAdapterTypes';
5
+ import { SSRRenderResult } from './ServerTypes';
5
6
  export type Environment = 'production' | 'staging' | 'development' | 'main';
6
7
  export type Server<T extends Record<string, unknown> = Record<string, unknown>> = {
7
8
  apiServer: string;
@@ -43,7 +44,7 @@ export type Server<T extends Record<string, unknown> = Record<string, unknown>>
43
44
  * `userProvider` signs in here, with nothing to declare. Whatever a space does declare wins, and a space that names
44
45
  * another provider ignores this entirely — it describes a different backend.
45
46
  */
46
- export type ServerAuth = Required<Pick<Schema['settings'], 'userProvider' | 'loginUrl'>> & Pick<Schema['settings'], 'userUrl' | 'refreshUrl' | 'logoutUrl' | 'mfaUrl' | 'sessionHintCookie'>;
47
+ export type ServerAuth = Required<Pick<Schema['settings'], 'userProvider' | 'loginUrl'>> & Pick<Schema['settings'], 'userUrl' | 'refreshUrl' | 'logoutUrl' | 'revokeUrl' | 'mfaUrl' | 'sessionHintCookie'>;
47
48
  /** What the rendering server hands over for THIS render, consumed once at the SDK root and not read from here again:
48
49
  * the RSC bootstrap is projected into the store (`rsc`), which is where the live payload lives from then on. The
49
50
  * rest of `Server` is long-lived configuration — endpoints, session — and stays readable anywhere. */
@@ -22,7 +22,7 @@ export type InternalPropsSTG1<T extends InternalPropsExtension = InternalPropsEx
22
22
  plitziElementLayout?: ElementLayout;
23
23
  attributes?: Element['attributes'];
24
24
  };
25
- export type ComponentDefinition = Pick<PluginSchema, 'attributes' | 'builder' | 'definition' | 'defaultStyle' | 'initialItems'> & {
25
+ export type ComponentDefinition = Pick<PluginSchema, 'attributes' | 'builder' | 'definition' | 'defaultStyle' | 'initialItems' | 'contentAttributes'> & {
26
26
  assets: Asset[];
27
27
  assetsSettings: Omit<Asset, 'isMain'>[];
28
28
  manifest: PluginManifest;
@@ -19,7 +19,7 @@ export type InteractionNode = {
19
19
  endTime: number;
20
20
  whenParams?: Record<string, RuleValue>;
21
21
  };
22
- export type InteractionParamType = 'boolean' | 'select' | 'text' | 'number' | 'textarea' | 'codemirror-text' | 'codemirror-json' | 'elements';
22
+ export type InteractionParamType = 'boolean' | 'select' | 'text' | 'number' | 'textarea' | 'codemirror-text' | 'codemirror-json' | 'elements' | 'list';
23
23
  export type InteractionCallbackParamValues<T extends Record<string, unknown> = Record<string, unknown>> = T;
24
24
  export type InteractionCallbackParam<T extends Record<string, unknown> = Record<string, unknown>> = {
25
25
  canBind?: boolean;
@@ -61,6 +61,15 @@ export type InteractionCallbackParam<T extends Record<string, unknown> = Record<
61
61
  } | {
62
62
  type: 'boolean';
63
63
  defaultValue?: boolean;
64
+ }
65
+ /**
66
+ * Several values, handed to a task as a list of text: bound to a list it is that list, and written by hand it is one
67
+ * a line (or separated by commas) — at most `maxItems`. A run's room took its genres as comma text before it.
68
+ */
69
+ | {
70
+ type: 'list';
71
+ defaultValue?: string[];
72
+ maxItems?: number;
64
73
  } | {
65
74
  /**
66
75
  * Several elements of the space, stored as their ids. The editor offers the elements of `elementType` to pick
@@ -1,6 +1,7 @@
1
1
  import { ActionAccess, ActionTriggerType } from './ActionTypes';
2
2
  import { Environment } from './CommonTypes';
3
- import { RunUser, SpaceRevision } from './ServerTypes';
3
+ import { SpaceRevision } from './ServerAdapterTypes';
4
+ import { RunUser } from './ServerTypes';
4
5
  /**
5
6
  * The durable queue the server's work waits in: a schedule's fires, the runs set for later, and the jobs of the spaces'
6
7
  * functions — one queue, one contract (`JobQueue`), whatever store a deployment keeps it in.