@plitzi/sdk-authoring 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.
- package/CHANGELOG.md +153 -1
- package/dist/index-src.js +21951 -10820
- package/dist/index.d.ts +2963 -774
- package/dist/index.js +2 -2
- package/dist/node.d.ts +1299 -558
- package/dist/node.js +511 -289
- package/dist/plugin.d.ts +57 -1
- package/package.json +8 -8
- package/skills/plitzi-authoring/CHEATSHEET.md +6 -6
- package/skills/plitzi-authoring/SKILL.md +4 -2
- package/skills/plitzi-authoring/recipes/accordion.ts +2 -1
- package/skills/plitzi-authoring/recipes/carousel.ts +24 -3
- package/skills/plitzi-authoring/recipes/detail-page.ts +0 -1
- package/skills/plitzi-authoring/recipes/embed-and-svg.ts +3 -1
- package/skills/plitzi-authoring/recipes/filter-a-list.ts +0 -1
- package/skills/plitzi-authoring/recipes/show-data.ts +0 -1
- package/skills/plitzi-authoring/recipes/typed-data.ts +0 -1
- package/skills/plitzi-authoring/reference/accessibility.md +10 -2
- package/skills/plitzi-authoring/reference/auth.md +15 -4
- package/skills/plitzi-authoring/reference/authoring-errors.md +55 -12
- package/skills/plitzi-authoring/reference/colours-and-motion.md +7 -1
- package/skills/plitzi-authoring/reference/components.md +4 -1
- package/skills/plitzi-authoring/reference/data-and-visibility.md +31 -22
- package/skills/plitzi-authoring/reference/efficiency.md +2 -1
- package/skills/plitzi-authoring/reference/elements-and-styles.md +16 -15
- package/skills/plitzi-authoring/reference/flows.md +29 -17
- package/skills/plitzi-authoring/reference/kept-state.md +20 -0
- package/skills/plitzi-authoring/reference/layouts.md +18 -2
- package/skills/plitzi-authoring/reference/lists.md +20 -4
- package/skills/plitzi-authoring/reference/plugin-reach.md +12 -0
- package/skills/plitzi-authoring/reference/plugins.md +17 -3
- package/skills/plitzi-authoring/reference/realtime.md +8 -5
- package/skills/plitzi-authoring/reference/structure.md +17 -1
- package/skills/plitzi-authoring/reference/templates.md +11 -3
- package/skills/plitzi-authoring/reference/testing.md +82 -5
- package/skills/plitzi-authoring/reference/typed-sources.md +6 -0
- package/skills/plitzi-authoring/reference/validation.md +1 -1
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as readDevToolsInPage, $a as embed, $i as onDialogClose, $n as isRuleSetSpec, $o as AUTHORING_CODES, $r as addNotification, $t as journeyStartWarnings, A as pressShortcut, Aa as scrollBy, Ai as whileRunning, An as pressFailure, Ao as element, As as t$2, At as actionToSource, B as alignPictures, Ba as apiContainer, Bi as carouselPrevious, Bn as row, Bo as hasVisibilityBinding, Br as locate, Bs as t, Bt as suggestClassOverrides, C as unquoted, Ca as onThemeChange, Ci as authorFlow, Cn as HYDRATION_MS, Co as themeToggle, Cs as t$1, Ct as searchWords, D as readSpaceTests, Da as publishOn, Di as when, Dn as hoverElement, Do as defaultAttributes, Ds as i$2, Dt as specFromSpace, E as e2eStepProblems, Ea as openModal, Ei as named, En as fieldsOf, Eo as declaresAttribute, Es as e, Et as specToSource, F as compareTexts, Fa as updateElement, Fi as cancelApi, Fn as tokens, Fo as activeWhen, Fs as s, Ft as transformerCatalog, G as loadImages, Ga as carouselTrack, Gi as focus, Gn as isClassRef, Go as variantFrom, Gr as authoringCodesTable, Gt as familyOf, H as diffPictures, Ha as blockJsx, Hi as closeModal, Hn as classNames, Ho as resolveSource, Hr as selectorFor, Hs as i$3, Ht as PAGE_SPEC_FIELDS, I as pageTexts, Ia as elementsFromManifest, Ii as carouselGoTo, In as createTw, Io as authorBinding, Ir as digest, Is as c$1, It as assertSnippetValid, J as inspectPage, Ja as container, Ji as onApiSuccess, Jn as splitClassList, Jo as actionSource, Jt as withNotificationsCss, K as unrollPage, Ka as channel, Ki as on, Kn as isStyleDeclaration, Ko as visibleWhen, Kr as defineAction, Kt as pageFamily, L as PAGE_DECORATION_LIMIT, La as withPluginCatalogs, Li as carouselNext, Ln as tw, Lo as bindTemplate, Lr as slugify, Ls as n$2, Lt as assertSpaceValid, M as inspectRenders, Ma as scrollTo, Mi as applyBuiltinCallback, Mn as settle, Mo as COMPONENT_SOURCES, Ms as c, Mt as BUILTIN_TRANSFORMERS, N as summariseRenders, Na as setFieldValue, Ni as getGlobalCallback, Nn as targetId, No as GLOBAL_SOURCES, Ns as i$1, Nt as getTransformer, O as singlePageSpace, Oa as reloadApi, Oi as whenFailed, On as locateField, Oo as defaultLabel, Os as n$3, Ot as compareSpaces, P as PAGE_TEXT_LIMIT, Pa as toggleElement, Pi as announceOn, Pn as targetOf, Po as activeOn, Ps as o, Pt as suggestTransformer, Q as readDevTools, Qa as dropdownPopup, Qi as onDialogAccept, Qn as css, Qo as scope, Qr as SET_STATE_TYPES, Qt as e2eTestProblems, R as compareDecorations, Ra as d, Ri as carouselPause, Rn as column, Ro as boundAttribute, Rr as buildHandles, Rs as r$4, Rt as suggestSpace, S as stepLines, Sa as onSubmit, Si as webHook, Sn as FIELD, So as text, Ss as r, St as searchScore, T as unit, Ta as openDialog, Ti as flowStepIds, Tn as endlesslyMovedInPage, To as component, Ts as elementAttributeNames, Tt as SPACE_FIELDS, U as pageRegions, Ua as button, Ui as declaredCallback, Un as classRefs, Uo as scopedHint, Ur as flagGateOf, Us as o$1, Ut as SpaceRefusedError, V as comparePictures, Va as blockHtml, Vi as closeDialog, Vn as className, Vo as hiddenWhen, Vr as pathForSlug, Vs as a$2, Vt as unusedDeclarations, W as profilePictures, Wa as carousel, Wi as declaredTrigger, Wn as isClassModifier, Wo as toBindingSpecs, Wr as flagSpecOf, Wt as refusalOf, X as onScreenIfChosen, Xa as dialogContainer, Xi as onChange, Xn as BREAKPOINTS, Xo as twig, Xr as applyUtility, Xt as FIXABLE_CODES, Y as onScreen, Ya as custom, Yi as onBlur, Yn as styles, Yo as source, Yr as BUILTIN_UTILITIES, Yt as navOf, Z as failedFlowText, Za as dropdown, Zi as onClick, Zn as STYLE_STATES, Zo as closest, Zr as getUtility, Zt as unitTestProblems, _ as e2eStepText, _a as onMouseLeave, _i as setState, _n as dragElement, _o as svg, _s as typeTriggerDefinitions, _t as explain, a as locateClasses, aa as onFocus, ai as cancelServerAction, an as playE2eStep, ao as image, ar as expandShorthandPatch, as as elementCallbacks, at as catalogTemplateFiles, b as parseE2eStep, ba as onPointerDown, bi as toggleState, bn as shownCopy, bo as tabContainerHeader, bs as r$3, bt as explainSearch, c as validateSnippet, ca as onInvalid, ci as cycleState, cn as unitReportText, co as listItem, cr as ambiguousShorthands, cs as elementLeafTypes, ct as space$1, d as e2eResultText, da as onLeave, di as invalidateQueries, dn as EDGES, do as nodeHtml, dr as cssProperties, ds as elementPublishes, dt as importSlug, ea as onDialogOpen, ei as appendState, en as testAccountWarnings, eo as focusGroup, er as sameBlocks, es as AuthoringError, et as dataIssues, f as journeyAccount, fa as onLoad, fi as moveState, fn as parseRelation, fo as pagination, fr as cssPropertyName, fs as elementSlots, ft as importedFiles, g as durationMs, ga as onMouseEnter, gi as runServerActionOrNotify, gn as answered, go as richText, gr as suggestCssProperty, gs as typeCallbackDefinitions, gt as GLOBAL_CALLBACK_BUILDERS, h as MAX_WAIT_FOR_MS, ha as onModalOpen, hi as runServerAction, hn as sidePx, ho as reference, hr as replacedCssProperty, hs as elementTypeNames, ht as EXPLAIN_KINDS, i as lintSpace, ia as onFlowProgress, ii as authRefreshDetails, in as isExpectation, io as heading, ir as expandShorthand, is as elementAttributeValues, it as blankTemplateFiles, j as shortcutKey, ja as scrollIntoView, ji as BUILTIN_GLOBAL_CALLBACKS, jn as pressOnce, jo as inferredLinkMode, js as a, jt as withNamedIds, k as withElement, ka as resetForm, ki as whenSucceeded, kn as locateTarget, ko as defineElement, ks as r$1, kt as actionSpecFromEntry, l as validateSpace, la as onJoin, li as delay, ln as resolveElement, lo as markdown, lr as fontUnread, ls as elementMarks, lt as space, m as E2E_STEP_USAGE, ma as onModalClose, mi as removeState, mn as relationHolds, mo as plitziSdk, mr as isCustomProperty, ms as elementTriggers, mt as BUILDER_NAMES, n as authorSpace, na as onFlowEnd, ni as authLogout, nn as pageAt, no as form, nr as toResponsive, ns as isSuggestionCode, nt as CATALOG_TEMPLATE_IDENTITY, o as locateElements, oa as onHover, oi as clearState, on as runUnitTest, oo as link, or as expandShorthandTraced, os as elementCatalog, ot as emptyTemplateFiles, p as runE2eTest, pa as onMessage, pi as navigate, pn as relationElements, po as paragraph, pr as isCssProperty, ps as elementSourceTypes, pt as importProbe, q as inspectDocument, qa as chart, qi as onApiError, qn as modifierClassName, qo as withVisibility, qr as taskAction, qt as notificationsCss, r as fixSpace, ra as onFlowError, ri as authLogoutEverywhere, rn as bridge, ro as formControl, rr as cssShorthands, rs as elementAncestorTypes, rt as blankSpace, s as planFixes, sa as onInterval, si as copyToClipboard, sn as runUnitTests, so as list, sr as shorthandLonghands, ss as elementDefaultAttributes, st as toPortableSource, t as authorSnippet, ta as onDialogReject, ti as authLogin, tn as audienceAt, to as fontAwesome, tr as toBlocks, ts as authoringCodeEntry, tt as answerAction, u as compactSvg, ua as onKey, ui as hostAction, un as openPage, uo as modalContainer, ur as cssNumberValue, us as elementPartTypes, ut as darkScheme, v as isE2eStepWord, va as onPageChange, vi as stepState, vn as giveValue, vo as tabContainer, vt as explainKindOf, w as e2e, wa as onView, wi as authorFlows, wn as awaitHydration, wo as video, wt as ELEMENT_FIELDS, x as parseE2eSteps, xa as onScroll, xi as twigTemplate, xn as valueFieldIn, xo as tabContainerItem, xs as n$1, xt as explanationText, y as leadingTarget, ya as onPageLoad, yi as toggleInState, yn as hiddenAtWidth, yo as tabContainerBody, ys as n, yt as explainList, z as pageDecorations, za as i, zi as carouselPlay, zn as grid, zo as groupBindings, zr as instanceSelectorFor, zs as s$1, zt as withoutQuieted } from "./index-src.js";
|
|
2
2
|
import { n as e$1, r as r$2, t as a$1 } from "./index-declare.js";
|
|
3
|
-
export { AUTHORING_CODES, AuthoringError, BREAKPOINTS, BUILDER_NAMES,
|
|
3
|
+
export { AUTHORING_CODES, AuthoringError, BREAKPOINTS, BUILDER_NAMES, o as BUILTIN_ELEMENT_CALLBACKS, BUILTIN_GLOBAL_CALLBACKS, t as BUILTIN_PARAM_TYPES, BUILTIN_TRANSFORMERS, BUILTIN_UTILITIES, CATALOG_TEMPLATE_IDENTITY, COMPONENT_SOURCES, n as DOCUMENT_SCROLLS, E2E_STEP_USAGE, EDGES, ELEMENT_FIELDS, EXPLAIN_KINDS, FIELD, FIXABLE_CODES, a as FOCUS_CALLBACKS, GLOBAL_CALLBACK_BUILDERS, GLOBAL_SOURCES, HYDRATION_MS, MAX_WAIT_FOR_MS, t$1 as MOTION_ENTERS, r as MOTION_LOOPS, n$1 as MOTION_TRIGGERS, i as NOTIFICATIONS_FIELDS, t$2 as NOTIFICATION_APPEARANCES, r$1 as NOTIFICATION_DEFAULTS, e as NOTIFICATION_PLACEMENTS, PAGE_DECORATION_LIMIT, PAGE_SPEC_FIELDS, PAGE_TEXT_LIMIT, i$1 as SCROLL_CALLBACKS, SET_STATE_TYPES, SPACE_FIELDS, STYLE_STATES, SpaceRefusedError, actionSource, actionSpecFromEntry, actionToSource, activeOn, activeWhen, addNotification, alignPictures, ambiguousShorthands, announceOn, answerAction, answered, apiContainer, appendState, applyBuiltinCallback, c as applyElementCallback, applyUtility, assertSnippetValid, assertSpaceValid, audienceAt, authLogin, authLogout, authLogoutEverywhere, authRefreshDetails, authorBinding, authorFlow, authorFlows, authorSnippet, authorSpace, authoringCodeEntry, authoringCodesTable, awaitHydration, bindTemplate, blankSpace, space as blankSpaceSpec, blankTemplateFiles, blockHtml, blockJsx, boundAttribute, bridge, buildHandles, button, cancelApi, cancelServerAction, carousel, carouselGoTo, carouselNext, carouselPause, carouselPlay, carouselPrevious, carouselTrack, catalogTemplateFiles, channel, chart, className, classNames, classRefs, clearState, closeDialog, closeModal, closest, column, compactSvg, compareDecorations, comparePictures, compareSpaces, compareTexts, component, container, copyToClipboard, createTw, css, cssNumberValue, cssProperties, cssPropertyName, cssShorthands, custom, cycleState, darkScheme, dataIssues, declaredCallback, declaredTrigger, declaresAttribute, defaultAttributes, defaultLabel, defineAction, defineElement, a$1 as definePlugin, delay, dialogContainer, diffPictures, digest, dragElement, dropdown, dropdownPopup, durationMs, e2e, e2eResultText, e2eStepProblems, e2eStepText, e2eTestProblems, element, elementAncestorTypes, elementAttributeNames, elementAttributeValues, elementCallbacks, elementCatalog, r$2 as elementDeclaration, elementDefaultAttributes, elementLeafTypes, elementMarks, elementPartTypes, elementPublishes, elementSlots, elementSourceTypes, elementTriggers, elementTypeNames, elementsFromManifest, embed, space$1 as emptySpaceSpec, emptyTemplateFiles, endlesslyMovedInPage, expandShorthand, expandShorthandPatch, expandShorthandTraced, explain, explainKindOf, explainList, explainSearch, explanationText, failedFlowText, familyOf, fieldsOf, fixSpace, flagGateOf, flagSpecOf, flowStepIds, focus, focusGroup, fontAwesome, fontUnread, form, formControl, s as getElementCallback, getGlobalCallback, getTransformer, getUtility, giveValue, grid, groupBindings, hasVisibilityBinding, heading, hiddenAtWidth, n$2 as hiddenParams, hiddenWhen, hostAction, hoverElement, image, importProbe, importSlug, importedFiles, inferredLinkMode, inspectDocument, inspectPage, inspectRenders, instanceSelectorFor, s$1 as invalidParams, invalidateQueries, isClassModifier, isClassRef, isCssProperty, isCustomProperty, r$3 as isDocumentScroll, isE2eStepWord, isExpectation, isRuleSetSpec, isStyleDeclaration, isSuggestionCode, journeyAccount, journeyStartWarnings, leadingTarget, link, lintSpace, list, listItem, loadImages, locate, locateClasses, locateElements, locateField, locateTarget, markdown, r$4 as missingRequiredParams, modalContainer, modifierClassName, moveState, named, navOf, navigate, nodeHtml, notificationsCss, on, onApiError, onApiSuccess, onBlur, onChange, onClick, onDialogAccept, onDialogClose, onDialogOpen, onDialogReject, onFlowEnd, onFlowError, onFlowProgress, onFocus, onHover, onInterval, onInvalid, onJoin, onKey, onLeave, onLoad, onMessage, onModalClose, onModalOpen, onMouseEnter, onMouseLeave, onPageChange, onPageLoad, onPointerDown, onScreen, onScreenIfChosen, onScroll, onSubmit, onThemeChange, onView, openDialog, openModal, openPage, pageAt, pageDecorations, pageFamily, pageRegions, pageTexts, pagination, paragraph, parseE2eStep, parseE2eSteps, parseRelation, pathForSlug, planFixes, playE2eStep, plitziSdk, pressFailure, pressOnce, pressShortcut, profilePictures, publishOn, readDevTools, readDevToolsInPage, n$3 as readNotificationOptions, readSpaceTests, c$1 as reconcileParams, reference, refusalOf, relationElements, relationHolds, reloadApi, removeState, replacedCssProperty, resetForm, resolveElement, resolveSource, richText, row, runE2eTest, runServerAction, runServerActionOrNotify, runUnitTest, runUnitTests, sameBlocks, scope, scopedHint, scrollBy, scrollIntoView, scrollTo, searchScore, searchWords, selectorFor, setFieldValue, setState, settle, shortcutKey, shorthandLonghands, shownCopy, sidePx, singlePageSpace, slugify, source, i$2 as spaceCallbacks, specFromSpace, specToSource, splitClassList, d as splitNotificationsCss, stepLines, stepState, styles, suggestClassOverrides, suggestCssProperty, suggestSpace, suggestTransformer, summariseRenders, svg, tabContainer, tabContainerBody, tabContainerHeader, tabContainerItem, targetId, targetOf, taskAction, testAccountWarnings, text, themeToggle, toBindingSpecs, toBlocks, i$3 as toBuilderParams, a$2 as toInteractionCallback, o$1 as toInteractionCallbacks, toPortableSource, toResponsive, toggleElement, toggleInState, toggleState, tokens, transformerCatalog, tw, twig, twigTemplate, typeCallbackDefinitions, typeTriggerDefinitions, unit, unitReportText, unitTestProblems, unquoted, unrollPage, unusedDeclarations, updateElement, validateSnippet, validateSpace, valueFieldIn, e$1 as valuesOf, variantFrom, video, visibleWhen, webHook, when, whenFailed, whenSucceeded, whileRunning, withElement, withNamedIds, withNotificationsCss, withPluginCatalogs, withVisibility, withoutQuieted };
|