@zitadel/components 0.0.0
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/LICENSE +21 -0
- package/README.md +346 -0
- package/dist/atoms/index.d.mts +2 -0
- package/dist/atoms/index.d.ts +9 -0
- package/dist/atoms/index.d.ts.map +1 -0
- package/dist/atoms/index.mjs +2 -0
- package/dist/atoms/zl-alert.d.ts +56 -0
- package/dist/atoms/zl-alert.d.ts.map +1 -0
- package/dist/atoms/zl-button.d.ts +83 -0
- package/dist/atoms/zl-button.d.ts.map +1 -0
- package/dist/atoms/zl-card.d.ts +46 -0
- package/dist/atoms/zl-card.d.ts.map +1 -0
- package/dist/atoms/zl-field.d.ts +73 -0
- package/dist/atoms/zl-field.d.ts.map +1 -0
- package/dist/atoms/zl-icon.d.ts +48 -0
- package/dist/atoms/zl-icon.d.ts.map +1 -0
- package/dist/atoms/zl-page-shell.d.ts +42 -0
- package/dist/atoms/zl-page-shell.d.ts.map +1 -0
- package/dist/atoms/zl-passkey.d.ts +118 -0
- package/dist/atoms/zl-passkey.d.ts.map +1 -0
- package/dist/atoms/zl-pill.d.ts +55 -0
- package/dist/atoms/zl-pill.d.ts.map +1 -0
- package/dist/atoms-CmOTltTH.mjs +1311 -0
- package/dist/atoms-CmOTltTH.mjs.map +1 -0
- package/dist/index-7FDHEpv5.d.mts +996 -0
- package/dist/index-7FDHEpv5.d.mts.map +1 -0
- package/dist/index-DIUFZjXw.d.mts +6696 -0
- package/dist/index-DIUFZjXw.d.mts.map +1 -0
- package/dist/index-DaOSCm0T.d.mts +249 -0
- package/dist/index-DaOSCm0T.d.mts.map +1 -0
- package/dist/index-bZEvwHtq.d.mts +996 -0
- package/dist/index-bZEvwHtq.d.mts.map +1 -0
- package/dist/index.d.mts +31 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +6 -0
- package/dist/internal/base64url.d.ts +18 -0
- package/dist/internal/base64url.d.ts.map +1 -0
- package/dist/internal/unique-id.d.ts +2 -0
- package/dist/internal/unique-id.d.ts.map +1 -0
- package/dist/manifest-DCC2FxCE.d.mts +39 -0
- package/dist/manifest-DCC2FxCE.d.mts.map +1 -0
- package/dist/manifest.d.ts +36 -0
- package/dist/manifest.d.ts.map +1 -0
- package/dist/manifests.d.mts +9 -0
- package/dist/manifests.d.mts.map +1 -0
- package/dist/manifests.d.ts +6 -0
- package/dist/manifests.d.ts.map +1 -0
- package/dist/manifests.mjs +30 -0
- package/dist/manifests.mjs.map +1 -0
- package/dist/orchestrator/api-client.d.ts +33 -0
- package/dist/orchestrator/api-client.d.ts.map +1 -0
- package/dist/orchestrator/branding-to-tokens.d.ts +28 -0
- package/dist/orchestrator/branding-to-tokens.d.ts.map +1 -0
- package/dist/orchestrator/branding-validator.d.ts +7 -0
- package/dist/orchestrator/branding-validator.d.ts.map +1 -0
- package/dist/orchestrator/branding.d.ts +76 -0
- package/dist/orchestrator/branding.d.ts.map +1 -0
- package/dist/orchestrator/font-loader.d.ts +2 -0
- package/dist/orchestrator/font-loader.d.ts.map +1 -0
- package/dist/orchestrator/index.d.mts +2 -0
- package/dist/orchestrator/index.d.ts +25 -0
- package/dist/orchestrator/index.d.ts.map +1 -0
- package/dist/orchestrator/index.mjs +2 -0
- package/dist/orchestrator/liquid.d.ts +28 -0
- package/dist/orchestrator/liquid.d.ts.map +1 -0
- package/dist/orchestrator/locales/de.d.ts +9 -0
- package/dist/orchestrator/locales/de.d.ts.map +1 -0
- package/dist/orchestrator/locales/en.d.ts +13 -0
- package/dist/orchestrator/locales/en.d.ts.map +1 -0
- package/dist/orchestrator/locales/index.d.ts +12 -0
- package/dist/orchestrator/locales/index.d.ts.map +1 -0
- package/dist/orchestrator/mandatory-gates.d.ts +26 -0
- package/dist/orchestrator/mandatory-gates.d.ts.map +1 -0
- package/dist/orchestrator/sanitiser.d.ts +6 -0
- package/dist/orchestrator/sanitiser.d.ts.map +1 -0
- package/dist/orchestrator/template-context.d.ts +55 -0
- package/dist/orchestrator/template-context.d.ts.map +1 -0
- package/dist/orchestrator/template-names.d.ts +16 -0
- package/dist/orchestrator/template-names.d.ts.map +1 -0
- package/dist/orchestrator/templates/auth-form.liquid.d.ts +14 -0
- package/dist/orchestrator/templates/auth-form.liquid.d.ts.map +1 -0
- package/dist/orchestrator/templates/default.liquid.d.ts +23 -0
- package/dist/orchestrator/templates/default.liquid.d.ts.map +1 -0
- package/dist/orchestrator/templates/passkey-upsell.liquid.d.ts +15 -0
- package/dist/orchestrator/templates/passkey-upsell.liquid.d.ts.map +1 -0
- package/dist/orchestrator/templates/signed-in.liquid.d.ts +20 -0
- package/dist/orchestrator/templates/signed-in.liquid.d.ts.map +1 -0
- package/dist/orchestrator/theme-controller.d.ts +30 -0
- package/dist/orchestrator/theme-controller.d.ts.map +1 -0
- package/dist/orchestrator/zitadel-login.d.ts +182 -0
- package/dist/orchestrator/zitadel-login.d.ts.map +1 -0
- package/dist/orchestrator/zitadel-logout.d.ts +86 -0
- package/dist/orchestrator/zitadel-logout.d.ts.map +1 -0
- package/dist/orchestrator-CNKo2WQG.mjs +3336 -0
- package/dist/orchestrator-CNKo2WQG.mjs.map +1 -0
- package/dist/styles/base.d.ts +7 -0
- package/dist/styles/base.d.ts.map +1 -0
- package/dist/styles/focus-ring.d.ts +7 -0
- package/dist/styles/focus-ring.d.ts.map +1 -0
- package/dist/styles/index.d.ts +5 -0
- package/dist/styles/index.d.ts.map +1 -0
- package/dist/styles/surface.d.ts +8 -0
- package/dist/styles/surface.d.ts.map +1 -0
- package/dist/styles/tokens.d.ts +11 -0
- package/dist/styles/tokens.d.ts.map +1 -0
- package/dist/tokens/index.d.mts +2 -0
- package/dist/tokens/index.d.ts +9 -0
- package/dist/tokens/index.d.ts.map +1 -0
- package/dist/tokens/index.mjs +2 -0
- package/dist/tokens-TXmurodq.mjs +244 -0
- package/dist/tokens-TXmurodq.mjs.map +1 -0
- package/dist/tsconfig.lib.tsbuildinfo +1 -0
- package/package.json +94 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-bZEvwHtq.d.mts","names":["$a","CreateUserBody","$n","GetUserByIDParams","$t","ListUsersParams","A","UpdateFlowDefinition200","Bo","CreateSchema201","Bs","CreateAuthAttemptBody","Ca","ExchangeHandoffParams","Ci","GetLiveDefault","Ea","ExchangeHandoffBody","Fo","CreateSchemaBody","Ir","GetSchemaByIdParams","It","RevokeSessionParams","Jo","CreateHandoff200","Ko","CreateProject201","Mo","CreateSchemaParams","N","SubmitFlowStepBody","Na","ExchangeHandoff200","Ni","GetHealthDefault","Nt","RevokeTokenBody","Pn","IssueChallengeBody","Qs","AuthorizeGetDefault","Rn","IssueChallenge201","Sr","GetSessionParams","Tn","ListFlowDefinitionsParams","Ui","GetFlowStep200","Uo","CreateProjectBody","Ur","GetSchemaById200","Va","EndSessionParams","Vs","CreateAuthAttempt201","Wn","IntrospectBody","Wr","GetReadyDefault","Xa","CreateUserParams","Xn","GetUserInfo200","Zo","CreateFlowDefinitionBody","Zs","AuthorizeGetParams","_n","ListSessions200","_o","CreateTeam201","bo","CreateSessionBody","co","CreateUser201","da","GetFlowDefinition200","dr","GetToken200","ei","GetProject200","fo","CreateTeamBody","gi","GetMySession200","gs","CreateFlowBody","h","UpdateFlowDefinitionBody","it","SubmitFlowStep200","jn","ListFlowDefinitions200","ki","GetKeys200","kr","GetSession200","lo","CreateTeamParams","lr","GetTokenBody","mr","GetTeamParams","n","VerifyChallengeProofBody","nc","AuthorizeDeviceParams","on","ListUsers200Item","or","GetUserByID200","pa","GetAuthAttempt200","ps","CreateFlowDefinition201","qn","Introspect200","r","VerifyChallengeProof200","ri","GetOpenIDConfiguration200","sc","AuthorizeDevice200","sn","ListSessionsParams","wo","CreateSession201","wt","SubmitFlowEventBody","xr","GetTeam200","xs","CreateFlow201","zitadelNextGen_d_exports","authorizeDevice","authorizeGet","createAuthAttempt","createFlow","createFlowDefinition","createHandoff","createProject","createSchema","createSession","createTeam","createUser","deleteFlowDefinition","endSession","exchangeHandoff","getAuthAttempt","getAuthorizeDeviceUrl","getAuthorizeGetUrl","getCreateAuthAttemptUrl","getCreateFlowDefinitionUrl","getCreateFlowUrl","getCreateHandoffUrl","getCreateProjectUrl","getCreateSchemaUrl","getCreateSessionUrl","getCreateTeamUrl","getCreateUserUrl","getDeleteFlowDefinitionUrl","getEndSessionUrl","getExchangeHandoffUrl","getFlowDefinition","getFlowStep","getGetAuthAttemptUrl","getGetFlowDefinitionUrl","getGetFlowStepUrl","getGetHealthUrl","getGetKeysUrl","getGetLiveUrl","getGetMySessionUrl","getGetOpenIDConfigurationUrl","getGetProjectUrl","getGetReadyUrl","getGetSchemaByIdUrl","getGetSessionUrl","getGetTeamUrl","getGetTokenUrl","getGetUserByIDUrl","getGetUserInfoUrl","getHealth","getIntrospectUrl","getIssueChallengeUrl","getKeys","getListFlowDefinitionsUrl","getListSessionsUrl","getListUsersUrl","getLive","getMySession","getOpenIDConfiguration","getProject","getReady","getRevokeMySessionUrl","getRevokeSessionUrl","getRevokeTokenUrl","getSchemaById","getSession","getSubmitFlowEventUrl","getSubmitFlowStepUrl","getTeam","getToken","getUpdateFlowDefinitionUrl","getUserByID","getUserInfo","getVerifyChallengeProofUrl","introspect","issueChallenge","listFlowDefinitions","listSessions","listUsers","revokeMySession","revokeSession","revokeToken","submitFlowEvent","submitFlowStep","updateFlowDefinition","verifyChallengeProof","RequestInit","Promise","options","params","introspectBody","revokeTokenBody","getTokenBody","createUserBody","userId","createFlowBody","id","submitFlowStepBody","submitFlowEventBody","createAuthAttemptBody","attemptId","issueChallengeBody","challengeId","verifyChallengeProofBody","createProjectBody","projectId","createSessionBody","exchangeHandoffBody","sessionId","createSchemaBody","createFlowDefinitionBody","updateFlowDefinitionBody","createTeamBody","teamId","$","At","B","C","Ct","D","Dt","E","Et","F","G","H","I","J","K","L","M","O","Ot","P","Q","R","S","St","T","Tt","U","V","W","X","Y","Z","_","_t","a","at","b","bt","c","ct","d","dt","et","f","ft","g","gt","ht","i","j","jt","k","kt","l","lt","m","mt","nt","o","ot","p","pt","q","rt","s","st","t","tt","u","ut","v","vt","w","x","xt","y","yt","z","jt","zitadelNextGen_d_exports","ZitadelClient","ZitadelApi","ZitadelClientOptions","baseUrl","token","createZitadelClient","opts","createApi","apiBase","ZitadelApi","ZitadelConfig","proxyPath","projectId","url","ZitadelProject","configureZitadel","config","getApi","project","getZitadelConfig","_resetConfigForTesting"],"sources":["../../api/dist/zitadelNextGen-C-fBEgnH.d.mts","../../api/dist/runtime/api-factory.d.mts","../../api/dist/runtime/config.d.mts","../src/orchestrator/locales/en.ts","../src/orchestrator/locales/de.ts","../src/orchestrator/locales/index.ts","../src/orchestrator/zitadel-login.ts","../src/orchestrator/zitadel-logout.ts","../src/orchestrator/branding.ts","../src/orchestrator/theme-controller.ts","../src/orchestrator/branding-to-tokens.ts","../src/orchestrator/font-loader.ts","../src/orchestrator/template-names.ts","../src/orchestrator/mandatory-gates.ts","../src/orchestrator/sanitiser.ts","../src/orchestrator/templates/default.liquid.ts","../src/orchestrator/templates/auth-form.liquid.ts","../src/orchestrator/templates/passkey-upsell.liquid.ts","../src/orchestrator/templates/signed-in.liquid.ts","../src/orchestrator/api-client.ts","../src/orchestrator/branding-validator.ts","../src/orchestrator/template-context.ts"],"mappings":";;;;;;kBAGkBwI,wBAAAA;EAAAA,SACPC,eAAAA,EAAiBC,YAAAA,EAAcC,iBAAAA,EAAmBC,UAAAA,EAAYC,oBAAAA,EAAsBC,aAAAA,EAAeC,aAAAA,EAAeC,YAAAA,EAAcC,aAAAA,EAAeC,UAAAA,EAAYC,UAAAA,EAAYC,oBAAAA,EAAsBC,UAAAA,EAAYC,eAAAA,EAAiBC,cAAAA,EAAgBC,qBAAAA,EAAuBC,kBAAAA,EAAoBC,uBAAAA,EAAyBC,0BAAAA,EAA4BC,gBAAAA,EAAkBC,mBAAAA,EAAqBC,mBAAAA,EAAqBC,kBAAAA,EAAoBC,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AAiB,OAAA,CAAQ,aAAA;AAAA,iBAO3D,UAAA,CACpB,GAAA,EAAK,UAAA,EACL,EAAA,UACA,IAAA,EAAM,kBAAA,GACL,OAAA,CAAQ,aAAA;AAAA,iBAeW,cAAA,CAAe,GAAA,EAAK,UAAA,EAAY,EAAA,WAAa,OAAA,CAAQ,aAAA;;;KCrC/D,wBAAA;EACV,QAAA,EAAU,QAAA;EACV,MAAA;AAAA;AAAA,iBAGc,gBAAA,CAAiB,KAAA,EAAO,QAAA,eAAuB,wBAAA;;;KCEnD,WAAA;EACV,KAAA;EACA,QAAA;AAAA;AAAA,KAGU,SAAA;EACV,IAAA;EACA,QAAA;EACA,OAAA;AAAA;AAAA,KAGU,YAAA;EACV,YAAA;EACA,aAAA;EACA,UAAA;AAAA;;;;;;;;;KAWU,aAAA;EACV,IAAA,EAAM,IAAA,CAAK,iBAAA;EACX,MAAA,EAAQ,uBAAA;EACR,OAAA,EAAS,wBAAA;EACT,KAAA,EAAO,sBAAA;EACP,aAAA,WAAwB,iCAAA;EACxB,SAAA,EAAW,0BAAA;EACX,QAAA,WAAmB,WAAA;EACnB,QAAA,EAAU,YAAA;EACV,MAAA,WAAiB,SAAA;EACjB,QAAA,EAAU,QAAA,GAAW,MAAA;EACrB,OAAA;AAAA"}
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { t as AtomManifest } from "./manifest-DCC2FxCE.mjs";
|
|
2
|
+
import { Bt as zlAlertManifest, Ft as ZlCard, Ht as ZlIcon, It as zlCardManifest, Lt as ZlButton, Rt as zlButtonManifest, Ut as zlIconManifest, Vt as IconName, c as zlPageShellManifest, d as zlFieldManifest, l as ZlField, n as zlPillManifest, s as ZlPageShell, t as ZlPill, u as ZlFieldType, zt as ZlAlert } from "./index-DIUFZjXw.mjs";
|
|
3
|
+
import { A as BrandingShape, C as resolveTheme, D as BrandingAssets, E as Branding, F as ZitadelLogin, I as builtinLocales, L as de, M as BrandingTypography, N as FlowLayout, O as BrandingAttribution, P as ZitadelLogout, R as Locale, S as buildBrandingStylesheet, T as ThemeController, a as BrandingValidationResult, b as applyFontUrl, c as startFlow, d as passkeyUpsellTemplate, f as authFormTemplate, h as createSanitiser, i as LiquidContext, j as BrandingTheme, k as BrandingPalette, l as submitStep, m as layoutChromeCss, n as FlowIdentity, o as validateBranding, p as defaultTemplate, r as FlowMessage, s as getCurrentStep, t as FlowError, u as signedInTemplate, v as patchMandatoryGates, w as ResolvedTheme, x as applyBrandingTokens, y as TEMPLATE_NAMES, z as en } from "./index-bZEvwHtq.mjs";
|
|
4
|
+
import { findManifest, listKnownTags, manifestRegistry } from "./manifests.mjs";
|
|
5
|
+
import { i as tokens, n as Tokens, r as cssVars, t as CssVars } from "./index-DaOSCm0T.mjs";
|
|
6
|
+
import * as _$lit from "lit";
|
|
7
|
+
import { CSSResult } from "lit";
|
|
8
|
+
|
|
9
|
+
//#region src/styles/base.d.ts
|
|
10
|
+
/**
|
|
11
|
+
* Shared shadow-root base styles. Each atom prepends this fragment to its own
|
|
12
|
+
* `static styles` so font/colour inheritance, box-sizing, and resets stay
|
|
13
|
+
* consistent without forcing a global stylesheet on the host page.
|
|
14
|
+
*/
|
|
15
|
+
declare const baseHostStyles: _$lit.CSSResult;
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region src/styles/focus-ring.d.ts
|
|
18
|
+
/**
|
|
19
|
+
* Visible focus indicator shared across interactive atoms. Mirrors the
|
|
20
|
+
* Figma button "Focused" state — a 2px white outline offset by 2px from
|
|
21
|
+
* the element edge. Atoms apply via `&:focus-visible { ${focusVisibleStyles} }`.
|
|
22
|
+
*/
|
|
23
|
+
declare const focusVisibleStyles: _$lit.CSSResult;
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region src/styles/tokens.d.ts
|
|
26
|
+
type CssTree = { [K in keyof typeof cssVars]: WrapTree<(typeof cssVars)[K]> };
|
|
27
|
+
type WrapTree<T> = T extends string ? CSSResult : T extends Record<string, unknown> ? { [K in keyof T]: WrapTree<T[K]> } : never;
|
|
28
|
+
declare const t: CssTree;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { type AtomManifest, type Branding, type BrandingAssets, type BrandingAttribution, type BrandingPalette, type BrandingShape, type BrandingTheme, type BrandingTypography, type BrandingValidationResult, type CssVars, type FlowError, type FlowIdentity, type FlowLayout, type FlowMessage, type IconName, type LiquidContext, type Locale, type ResolvedTheme, TEMPLATE_NAMES, ThemeController, type Tokens, ZitadelLogin, ZitadelLogout, ZlAlert, ZlButton, ZlCard, ZlField, type ZlFieldType, ZlIcon, ZlPageShell, ZlPill, applyBrandingTokens, applyFontUrl, authFormTemplate, baseHostStyles, buildBrandingStylesheet, builtinLocales, createSanitiser, cssVars, de, defaultTemplate, en, findManifest, focusVisibleStyles, getCurrentStep, layoutChromeCss, listKnownTags, manifestRegistry, passkeyUpsellTemplate, patchMandatoryGates, resolveTheme, signedInTemplate, startFlow, submitStep, t, tokens, validateBranding, zlAlertManifest, zlButtonManifest, zlCardManifest, zlFieldManifest, zlIconManifest, zlPageShellManifest, zlPillManifest };
|
|
31
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/styles/base.ts","../src/styles/focus-ring.ts","../src/styles/tokens.ts"],"mappings":";;;;;;;;;;;;;;cASa,cAAA,EAaZ,KAAA,CAb0B,SAAA;;;;;;;;cCAd,kBAAA,EAGZ,KAAA,CAH8B,SAAA;;;KCW1B,OAAA,wBACgB,OAAA,GAAM,QAAA,SAAiB,OAAA,EAAK,CAAA;AAAA,KAE5C,QAAA,MAAc,CAAA,kBACf,SAAA,GACA,CAAA,SAAU,MAAA,kCACM,CAAA,GAAI,QAAA,CAAS,CAAA,CAAE,CAAA;AAAA,cAYtB,CAAA,EAA4B,OAAA"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@zitadel/components` — Lit-based atomic web components for the
|
|
3
|
+
* Zitadel auth UI.
|
|
4
|
+
*
|
|
5
|
+
* Importing this module side-effect-registers every shipped `<zl-*>` atom and
|
|
6
|
+
* the `<zitadel-login>` orchestrator. Tree-shake by importing the leaf
|
|
7
|
+
* subpaths instead (e.g. `@zitadel/components/atoms`).
|
|
8
|
+
*/
|
|
9
|
+
import "./atoms/index.js";
|
|
10
|
+
import "./orchestrator/index.js";
|
|
11
|
+
export { ZlAlert, ZlButton, ZlCard, ZlField, ZlIcon, ZlPageShell, ZlPill, type IconName, type ZlFieldType, zlAlertManifest, zlButtonManifest, zlCardManifest, zlFieldManifest, zlIconManifest, zlPageShellManifest, zlPillManifest, } from "./atoms/index.js";
|
|
12
|
+
export { manifestRegistry, findManifest, listKnownTags, type AtomManifest } from "./manifests.js";
|
|
13
|
+
export { tokens, cssVars, type Tokens, type CssVars } from "./tokens/index.js";
|
|
14
|
+
export { baseHostStyles, focusVisibleStyles, t } from "./styles/index.js";
|
|
15
|
+
export { ZitadelLogin, ZitadelLogout, applyBrandingTokens, buildBrandingStylesheet, resolveTheme, ThemeController, applyFontUrl, createSanitiser, validateBranding, patchMandatoryGates, defaultTemplate, layoutChromeCss, authFormTemplate, passkeyUpsellTemplate, signedInTemplate, TEMPLATE_NAMES, en, de, builtinLocales, startFlow, submitStep, getCurrentStep, type Branding, type BrandingAssets, type BrandingAttribution, type BrandingPalette, type BrandingShape, type BrandingTheme, type BrandingTypography, type BrandingValidationResult, type FlowError, type FlowIdentity, type FlowLayout, type FlowMessage, type LiquidContext, type Locale, type ResolvedTheme, } from "./orchestrator/index.js";
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,kBAAkB,CAAC;AAC1B,OAAO,yBAAyB,CAAC;AAEjC,OAAO,EACL,OAAO,EACP,QAAQ,EACR,MAAM,EACN,OAAO,EACP,MAAM,EACN,WAAW,EACX,MAAM,EACN,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,cAAc,GACf,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,aAAa,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAElG,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAE1E,OAAO,EACL,YAAY,EACZ,aAAa,EACb,mBAAmB,EACnB,uBAAuB,EACvB,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACnB,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,cAAc,EACd,EAAE,EACF,EAAE,EACF,cAAc,EACd,SAAS,EACT,UAAU,EACV,cAAc,EACd,KAAK,QAAQ,EACb,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,MAAM,EACX,KAAK,aAAa,GACnB,MAAM,yBAAyB,CAAC"}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { a as ZlPageShell, b as t, c as zlFieldManifest, d as ZlButton, f as zlButtonManifest, g as zlIconManifest, h as ZlIcon, l as ZlCard, m as zlAlertManifest, n as zlPillManifest, o as zlPageShellManifest, p as ZlAlert, s as ZlField, t as ZlPill, u as zlCardManifest, v as focusVisibleStyles, y as baseHostStyles } from "./atoms-CmOTltTH.mjs";
|
|
2
|
+
import { n as tokens, t as cssVars } from "./tokens-TXmurodq.mjs";
|
|
3
|
+
import { C as startFlow, S as getCurrentStep, _ as applyFontUrl, a as builtinLocales, b as buildBrandingStylesheet, c as TEMPLATE_NAMES, d as defaultTemplate, f as layoutChromeCss, g as patchMandatoryGates, i as createSanitiser, l as signedInTemplate, n as ZitadelLogin, o as de, p as authFormTemplate, r as ThemeController, s as en, t as ZitadelLogout, u as passkeyUpsellTemplate, v as validateBranding, w as submitStep, x as resolveTheme, y as applyBrandingTokens } from "./orchestrator-CNKo2WQG.mjs";
|
|
4
|
+
import { findManifest, listKnownTags, manifestRegistry } from "./manifests.mjs";
|
|
5
|
+
import "./tokens/index.mjs";
|
|
6
|
+
export { TEMPLATE_NAMES, ThemeController, ZitadelLogin, ZitadelLogout, ZlAlert, ZlButton, ZlCard, ZlField, ZlIcon, ZlPageShell, ZlPill, applyBrandingTokens, applyFontUrl, authFormTemplate, baseHostStyles, buildBrandingStylesheet, builtinLocales, createSanitiser, cssVars, de, defaultTemplate, en, findManifest, focusVisibleStyles, getCurrentStep, layoutChromeCss, listKnownTags, manifestRegistry, passkeyUpsellTemplate, patchMandatoryGates, resolveTheme, signedInTemplate, startFlow, submitStep, t, tokens, validateBranding, zlAlertManifest, zlButtonManifest, zlCardManifest, zlFieldManifest, zlIconManifest, zlPageShellManifest, zlPillManifest };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Base64URL encoding/decoding for WebAuthn binary fields.
|
|
3
|
+
*
|
|
4
|
+
* WebAuthn's `ArrayBuffer` values (`rawId`, `clientDataJSON`,
|
|
5
|
+
* `authenticatorData`, `signature`, `attestationObject`, `userHandle`)
|
|
6
|
+
* must be base64url-encoded before sending as JSON. The WebAuthn JSON
|
|
7
|
+
* serialization spec (https://www.w3.org/TR/webauthn-3/) requires
|
|
8
|
+
* Base64URL (RFC 4648 §5) — no padding, URL-safe alphabet.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Encode an `ArrayBuffer` to a Base64URL string (no padding).
|
|
12
|
+
*/
|
|
13
|
+
export declare function bufferToBase64Url(buffer: ArrayBuffer): string;
|
|
14
|
+
/**
|
|
15
|
+
* Decode a Base64URL string to an `ArrayBuffer`.
|
|
16
|
+
*/
|
|
17
|
+
export declare function base64UrlToBuffer(base64url: string): ArrayBuffer;
|
|
18
|
+
//# sourceMappingURL=base64url.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base64url.d.ts","sourceRoot":"","sources":["../../src/internal/base64url.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CAO7D;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW,CAShE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unique-id.d.ts","sourceRoot":"","sources":["../../src/internal/unique-id.ts"],"names":[],"mappings":"AAaA,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAG9C"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
//#region src/manifest.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Atom manifest contract.
|
|
4
|
+
*
|
|
5
|
+
* Each `<zl-*>` atom ships a machine-readable manifest that the structural
|
|
6
|
+
* validator and editor consume. Names follow the schema in
|
|
7
|
+
* `docs/design/branding/validator.md`.
|
|
8
|
+
*
|
|
9
|
+
* The manifest is the single source of truth for:
|
|
10
|
+
* - which step capability the atom binds to (`consumes` / `satisfies_gate`),
|
|
11
|
+
* - the public attribute surface (`attrs`),
|
|
12
|
+
* - the public `::part()` hooks (`parts`) — tier 2 of the override ladder,
|
|
13
|
+
* - the public named slot set (`slots`) — tier 3 of the override ladder,
|
|
14
|
+
* - the `CustomEvent` names the atom emits (`events`).
|
|
15
|
+
*
|
|
16
|
+
* Renaming any value here is a breaking change to the override contract.
|
|
17
|
+
*/
|
|
18
|
+
type ConsumesField = {
|
|
19
|
+
readonly required?: boolean;
|
|
20
|
+
};
|
|
21
|
+
type ConsumesAction = {
|
|
22
|
+
readonly kind: string;
|
|
23
|
+
readonly required?: boolean;
|
|
24
|
+
};
|
|
25
|
+
type AtomManifest = {
|
|
26
|
+
readonly tag: `zl-${string}`;
|
|
27
|
+
readonly consumes?: {
|
|
28
|
+
readonly field?: ConsumesField;
|
|
29
|
+
readonly action?: ConsumesAction;
|
|
30
|
+
};
|
|
31
|
+
readonly satisfies_gate?: string;
|
|
32
|
+
readonly attrs: readonly string[];
|
|
33
|
+
readonly parts: readonly string[];
|
|
34
|
+
readonly slots: readonly string[];
|
|
35
|
+
readonly events: readonly string[];
|
|
36
|
+
};
|
|
37
|
+
//#endregion
|
|
38
|
+
export { AtomManifest as t };
|
|
39
|
+
//# sourceMappingURL=manifest-DCC2FxCE.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifest-DCC2FxCE.d.mts","names":[],"sources":["../src/manifest.ts"],"mappings":";;AAgBA;;;;;AAIA;;;;;AAKA;;;;;KATY,aAAA;EAAA,SACD,QAAA;AAAA;AAAA,KAGC,cAAA;EAAA,SACD,IAAA;EAAA,SACA,QAAA;AAAA;AAAA,KAGC,YAAA;EAAA,SACD,GAAA;EAAA,SACA,QAAA;IAAA,SACE,KAAA,GAAQ,aAAA;IAAA,SACR,MAAA,GAAS,cAAA;EAAA;EAAA,SAEX,cAAA;EAAA,SACA,KAAA;EAAA,SACA,KAAA;EAAA,SACA,KAAA;EAAA,SACA,MAAA;AAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Atom manifest contract.
|
|
3
|
+
*
|
|
4
|
+
* Each `<zl-*>` atom ships a machine-readable manifest that the structural
|
|
5
|
+
* validator and editor consume. Names follow the schema in
|
|
6
|
+
* `docs/design/branding/validator.md`.
|
|
7
|
+
*
|
|
8
|
+
* The manifest is the single source of truth for:
|
|
9
|
+
* - which step capability the atom binds to (`consumes` / `satisfies_gate`),
|
|
10
|
+
* - the public attribute surface (`attrs`),
|
|
11
|
+
* - the public `::part()` hooks (`parts`) — tier 2 of the override ladder,
|
|
12
|
+
* - the public named slot set (`slots`) — tier 3 of the override ladder,
|
|
13
|
+
* - the `CustomEvent` names the atom emits (`events`).
|
|
14
|
+
*
|
|
15
|
+
* Renaming any value here is a breaking change to the override contract.
|
|
16
|
+
*/
|
|
17
|
+
export type ConsumesField = {
|
|
18
|
+
readonly required?: boolean;
|
|
19
|
+
};
|
|
20
|
+
export type ConsumesAction = {
|
|
21
|
+
readonly kind: string;
|
|
22
|
+
readonly required?: boolean;
|
|
23
|
+
};
|
|
24
|
+
export type AtomManifest = {
|
|
25
|
+
readonly tag: `zl-${string}`;
|
|
26
|
+
readonly consumes?: {
|
|
27
|
+
readonly field?: ConsumesField;
|
|
28
|
+
readonly action?: ConsumesAction;
|
|
29
|
+
};
|
|
30
|
+
readonly satisfies_gate?: string;
|
|
31
|
+
readonly attrs: readonly string[];
|
|
32
|
+
readonly parts: readonly string[];
|
|
33
|
+
readonly slots: readonly string[];
|
|
34
|
+
readonly events: readonly string[];
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=manifest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../src/manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,CAAC,GAAG,EAAE,MAAM,MAAM,EAAE,CAAC;IAC7B,QAAQ,CAAC,QAAQ,CAAC,EAAE;QAClB,QAAQ,CAAC,KAAK,CAAC,EAAE,aAAa,CAAC;QAC/B,QAAQ,CAAC,MAAM,CAAC,EAAE,cAAc,CAAC;KAClC,CAAC;IACF,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;CACpC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { t as AtomManifest } from "./manifest-DCC2FxCE.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/manifests.d.ts
|
|
4
|
+
declare const manifestRegistry: readonly AtomManifest[];
|
|
5
|
+
declare function findManifest(tag: string): AtomManifest | undefined;
|
|
6
|
+
declare function listKnownTags(): readonly string[];
|
|
7
|
+
//#endregion
|
|
8
|
+
export { type AtomManifest, findManifest, listKnownTags, manifestRegistry };
|
|
9
|
+
//# sourceMappingURL=manifests.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifests.d.mts","names":[],"sources":["../src/manifests.ts"],"mappings":";;;cAoBa,gBAAA,WAA2B,YAAA;AAAA,iBAWxB,YAAA,CAAa,GAAA,WAAc,YAAA;AAAA,iBAI3B,aAAA,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { AtomManifest } from "./manifest.js";
|
|
2
|
+
export declare const manifestRegistry: readonly AtomManifest[];
|
|
3
|
+
export declare function findManifest(tag: string): AtomManifest | undefined;
|
|
4
|
+
export declare function listKnownTags(): readonly string[];
|
|
5
|
+
export type { AtomManifest } from "./manifest.js";
|
|
6
|
+
//# sourceMappingURL=manifests.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifests.d.ts","sourceRoot":"","sources":["../src/manifests.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,eAAO,MAAM,gBAAgB,EAAE,SAAS,YAAY,EAS1C,CAAC;AAEX,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAElE;AAED,wBAAgB,aAAa,IAAI,SAAS,MAAM,EAAE,CAEjD;AAED,YAAY,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { c as zlFieldManifest, f as zlButtonManifest, g as zlIconManifest, i as zlPasskeyManifest, m as zlAlertManifest, n as zlPillManifest, o as zlPageShellManifest, u as zlCardManifest } from "./atoms-CmOTltTH.mjs";
|
|
2
|
+
//#region src/manifests.ts
|
|
3
|
+
/**
|
|
4
|
+
* Aggregate registry of every shipped `<zl-*>` atom's manifest.
|
|
5
|
+
*
|
|
6
|
+
* The structural validator (`docs/design/branding/validator.md`) rejects any
|
|
7
|
+
* `<zl-*>` tag not registered here. Editor tooling drives autocomplete from
|
|
8
|
+
* this same registry. Adding a new atom = exporting it from `./atoms/` and
|
|
9
|
+
* adding its manifest to {@link manifestRegistry}.
|
|
10
|
+
*/
|
|
11
|
+
const manifestRegistry = [
|
|
12
|
+
zlAlertManifest,
|
|
13
|
+
zlButtonManifest,
|
|
14
|
+
zlCardManifest,
|
|
15
|
+
zlFieldManifest,
|
|
16
|
+
zlIconManifest,
|
|
17
|
+
zlPageShellManifest,
|
|
18
|
+
zlPasskeyManifest,
|
|
19
|
+
zlPillManifest
|
|
20
|
+
];
|
|
21
|
+
function findManifest(tag) {
|
|
22
|
+
return manifestRegistry.find((manifest) => manifest.tag === tag);
|
|
23
|
+
}
|
|
24
|
+
function listKnownTags() {
|
|
25
|
+
return manifestRegistry.map((manifest) => manifest.tag);
|
|
26
|
+
}
|
|
27
|
+
//#endregion
|
|
28
|
+
export { findManifest, listKnownTags, manifestRegistry };
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=manifests.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifests.mjs","names":[],"sources":["../src/manifests.ts"],"sourcesContent":["/**\n * Aggregate registry of every shipped `<zl-*>` atom's manifest.\n *\n * The structural validator (`docs/design/branding/validator.md`) rejects any\n * `<zl-*>` tag not registered here. Editor tooling drives autocomplete from\n * this same registry. Adding a new atom = exporting it from `./atoms/` and\n * adding its manifest to {@link manifestRegistry}.\n */\nimport {\n zlAlertManifest,\n zlButtonManifest,\n zlCardManifest,\n zlFieldManifest,\n zlIconManifest,\n zlPageShellManifest,\n zlPasskeyManifest,\n zlPillManifest,\n} from \"./atoms/index.js\";\nimport type { AtomManifest } from \"./manifest.js\";\n\nexport const manifestRegistry: readonly AtomManifest[] = [\n zlAlertManifest,\n zlButtonManifest,\n zlCardManifest,\n zlFieldManifest,\n zlIconManifest,\n zlPageShellManifest,\n zlPasskeyManifest,\n zlPillManifest,\n] as const;\n\nexport function findManifest(tag: string): AtomManifest | undefined {\n return manifestRegistry.find((manifest) => manifest.tag === tag);\n}\n\nexport function listKnownTags(): readonly string[] {\n return manifestRegistry.map((manifest) => manifest.tag);\n}\n\nexport type { AtomManifest } from \"./manifest.js\";\n"],"mappings":";;;;;;;;;;AAoBA,MAAa,mBAA4C;CACvD;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAED,SAAgB,aAAa,KAAuC;AAClE,QAAO,iBAAiB,MAAM,aAAa,SAAS,QAAQ,IAAI;;AAGlE,SAAgB,gBAAmC;AACjD,QAAO,iBAAiB,KAAK,aAAa,SAAS,IAAI"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin wrappers around the orval-generated `@zitadel/api` fetch
|
|
3
|
+
* functions for the API operations the orchestrator drives:
|
|
4
|
+
*
|
|
5
|
+
* - `POST /flow` — `createFlow`
|
|
6
|
+
* - `POST /flow/{id}/submit` — `submitFlowStep`
|
|
7
|
+
* - `GET /flow/{id}` — `getFlowStep`
|
|
8
|
+
* - `POST /sessions/exchange` — `exchangeHandoff`
|
|
9
|
+
*
|
|
10
|
+
* The wrappers exist for one reason: every API call must run with
|
|
11
|
+
* `credentials: "include"` so the stateless `_zflow` HttpOnly cookie
|
|
12
|
+
* round-trips. Centralising that here keeps every call site honest.
|
|
13
|
+
*
|
|
14
|
+
* Types come straight from `@zitadel/api/generated/model`. Orval
|
|
15
|
+
* emits per-operation aliases (`CreateFlow201`, `GetFlowStep200`,
|
|
16
|
+
* `SubmitFlowStep200`) for what is structurally the same response; the
|
|
17
|
+
* orchestrator stores them as `CreateFlow201` because that is the alias
|
|
18
|
+
* orval gives the start-of-flow response.
|
|
19
|
+
*/
|
|
20
|
+
import type { ZitadelApi } from "@zitadel/api/config";
|
|
21
|
+
import type { CreateFlow201, CreateFlowBody, ExchangeHandoff200, ExchangeHandoffBody, ExchangeHandoffParams, SubmitFlowStepBody } from "@zitadel/api/generated/model";
|
|
22
|
+
export declare function startFlow(api: ZitadelApi, input: CreateFlowBody): Promise<CreateFlow201>;
|
|
23
|
+
export declare function submitStep(api: ZitadelApi, id: string, body: SubmitFlowStepBody): Promise<CreateFlow201>;
|
|
24
|
+
export declare function getCurrentStep(api: ZitadelApi, id: string): Promise<CreateFlow201>;
|
|
25
|
+
/**
|
|
26
|
+
* Exchange a terminal-flow `handoff_token` for an authenticated session.
|
|
27
|
+
* The server sets the `__nextgen_session` HttpOnly cookie on success.
|
|
28
|
+
*
|
|
29
|
+
* Uses the generated `exchangeHandoff` client which handles the
|
|
30
|
+
* `project_id` query parameter via {@link ExchangeHandoffParams}.
|
|
31
|
+
*/
|
|
32
|
+
export declare function exchangeSession(api: ZitadelApi, body: ExchangeHandoffBody, params: ExchangeHandoffParams): Promise<ExchangeHandoff200>;
|
|
33
|
+
//# sourceMappingURL=api-client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-client.d.ts","sourceRoot":"","sources":["../../src/orchestrator/api-client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,8BAA8B,CAAC;AAKtC,wBAAsB,SAAS,CAAC,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC,CAE9F;AAKD,wBAAsB,UAAU,CAC9B,GAAG,EAAE,UAAU,EACf,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,kBAAkB,GACvB,OAAO,CAAC,aAAa,CAAC,CASxB;AAMD,wBAAsB,cAAc,CAAC,GAAG,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAExF;AAED;;;;;;GAMG;AACH,wBAAsB,eAAe,CACnC,GAAG,EAAE,UAAU,EACf,IAAI,EAAE,mBAAmB,EACzB,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,kBAAkB,CAAC,CAE7B"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ResolvedTheme } from "./theme-controller.js";
|
|
2
|
+
import type { Branding } from "./branding.js";
|
|
3
|
+
export type BrandingToTokensOptions = {
|
|
4
|
+
resolvedTheme?: ResolvedTheme;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Build a CSS string of `:host { --zl-* }` declarations from a Branding
|
|
8
|
+
* payload. Light values land on `:host`; dark overrides land on
|
|
9
|
+
* `:host([data-theme="dark"])`.
|
|
10
|
+
*/
|
|
11
|
+
export declare function buildBrandingStylesheet(branding: Branding | undefined, options?: BrandingToTokensOptions): string;
|
|
12
|
+
/**
|
|
13
|
+
* Adopt the design-system base token layer onto a `ShadowRoot`. Safe to call
|
|
14
|
+
* many times — the underlying constructable sheet is shared across every
|
|
15
|
+
* orchestrator instance and de-duplicated in the adopted list.
|
|
16
|
+
*/
|
|
17
|
+
export declare function applyBaseTokens(shadowRoot: ShadowRoot): void;
|
|
18
|
+
/**
|
|
19
|
+
* Apply a branding payload as a `--zl-*` overrides layer on top of the base
|
|
20
|
+
* token sheet. Subsequent calls replace the previous override sheet so a new
|
|
21
|
+
* branding payload paints cleanly without leaking older declarations.
|
|
22
|
+
*
|
|
23
|
+
* Callers should run `applyBaseTokens(shadowRoot)` first (once per shadow
|
|
24
|
+
* root) so the base values exist before branding patches them.
|
|
25
|
+
*/
|
|
26
|
+
export declare function applyBrandingTokens(shadowRoot: ShadowRoot, branding: Branding | undefined, resolvedTheme: ResolvedTheme): void;
|
|
27
|
+
export declare function resolveTheme(branding: Branding | undefined): ResolvedTheme;
|
|
28
|
+
//# sourceMappingURL=branding-to-tokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"branding-to-tokens.d.ts","sourceRoot":"","sources":["../../src/orchestrator/branding-to-tokens.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAE,QAAQ,EAAsD,MAAM,eAAe,CAAC;AA8ClG,MAAM,MAAM,uBAAuB,GAAG;IACpC,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,QAAQ,GAAG,SAAS,EAC9B,OAAO,GAAE,uBAA4B,GACpC,MAAM,CAuBR;AAgGD;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,UAAU,EAAE,UAAU,GAAG,IAAI,CAa5D;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,QAAQ,GAAG,SAAS,EAC9B,aAAa,EAAE,aAAa,GAC3B,IAAI,CAaN;AAED,wBAAgB,YAAY,CAAC,QAAQ,EAAE,QAAQ,GAAG,SAAS,GAAG,aAAa,CAa1E"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Branding } from "./branding.js";
|
|
2
|
+
export type BrandingValidationResult = {
|
|
3
|
+
branding: Branding | undefined;
|
|
4
|
+
issues: readonly string[];
|
|
5
|
+
};
|
|
6
|
+
export declare function validateBranding(input: Branding | undefined): BrandingValidationResult;
|
|
7
|
+
//# sourceMappingURL=branding-validator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"branding-validator.d.ts","sourceRoot":"","sources":["../../src/orchestrator/branding-validator.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAI9C,MAAM,MAAM,wBAAwB,GAAG;IACrC,QAAQ,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC/B,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;CAC3B,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,QAAQ,GAAG,SAAS,GAAG,wBAAwB,CA6BtF"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Client-side branding shape consumed by the orchestrator.
|
|
3
|
+
*
|
|
4
|
+
* The five baseline wire fields (`layout`, `liquid_template`, `logo_url`,
|
|
5
|
+
* `font_url`, `hero_url`) come straight from the orval-generated
|
|
6
|
+
* `CreateFlow201Branding`. The v2 "structured extension" blocks (palette /
|
|
7
|
+
* typography / shape / assets / theme) are deliberately client-only — see
|
|
8
|
+
* `docs/design/branding/schema.md` "Proposed structured extension". Once
|
|
9
|
+
* those land on the wire we drop the extension blocks here too.
|
|
10
|
+
*
|
|
11
|
+
* The validator (`branding-validator.ts`) strips fields the OpenAPI doesn't
|
|
12
|
+
* model if a misconfigured tenant ever leaks them down through the wire.
|
|
13
|
+
*/
|
|
14
|
+
import type { CreateFlow201Branding, CreateFlow201BrandingLayout } from "@zitadel/api/generated/model";
|
|
15
|
+
export type FlowLayout = CreateFlow201BrandingLayout;
|
|
16
|
+
export type BrandingPalette = {
|
|
17
|
+
primary?: string;
|
|
18
|
+
on_primary?: string;
|
|
19
|
+
background?: string;
|
|
20
|
+
surface?: string;
|
|
21
|
+
muted?: string;
|
|
22
|
+
border?: string;
|
|
23
|
+
text?: string;
|
|
24
|
+
text_muted?: string;
|
|
25
|
+
link?: string;
|
|
26
|
+
success?: string;
|
|
27
|
+
warning?: string;
|
|
28
|
+
error?: string;
|
|
29
|
+
};
|
|
30
|
+
export type BrandingTypography = {
|
|
31
|
+
font_family?: string;
|
|
32
|
+
font_family_mono?: string;
|
|
33
|
+
scale?: number;
|
|
34
|
+
};
|
|
35
|
+
export type BrandingShape = {
|
|
36
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
37
|
+
density?: "compact" | "regular" | "comfortable";
|
|
38
|
+
};
|
|
39
|
+
export type BrandingTheme = {
|
|
40
|
+
mode?: "light" | "dark" | "auto";
|
|
41
|
+
dark?: {
|
|
42
|
+
palette?: BrandingPalette;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export type BrandingAssets = {
|
|
46
|
+
logo_dark?: string;
|
|
47
|
+
favicon?: string;
|
|
48
|
+
background_image?: string;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Wire shape (`CreateFlow201Branding`) plus the v2 client-only extension.
|
|
52
|
+
* Structurally a superset, so any `CreateFlow201Branding` payload from the
|
|
53
|
+
* wire is assignable to `Branding` without a cast.
|
|
54
|
+
*
|
|
55
|
+
* `attribution.show_zitadel` controls the "Secured with Zitadel" pill in
|
|
56
|
+
* the orchestrator footer. Tenants set it to `false` only when they have a
|
|
57
|
+
* licence that permits removing attribution (community / OSS deployments
|
|
58
|
+
* always show it). The flag intentionally lives on `Branding` so it can
|
|
59
|
+
* be overridden per-flow alongside the rest of the visual surface.
|
|
60
|
+
*/
|
|
61
|
+
export type Branding = CreateFlow201Branding & {
|
|
62
|
+
palette?: BrandingPalette;
|
|
63
|
+
typography?: BrandingTypography;
|
|
64
|
+
shape?: BrandingShape;
|
|
65
|
+
assets?: BrandingAssets;
|
|
66
|
+
theme?: BrandingTheme;
|
|
67
|
+
attribution?: BrandingAttribution;
|
|
68
|
+
};
|
|
69
|
+
export type BrandingAttribution = {
|
|
70
|
+
show_zitadel?: boolean;
|
|
71
|
+
custom_link?: {
|
|
72
|
+
label: string;
|
|
73
|
+
href: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
//# sourceMappingURL=branding.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"branding.d.ts","sourceRoot":"","sources":["../../src/orchestrator/branding.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EACV,qBAAqB,EACrB,2BAA2B,EAC5B,MAAM,8BAA8B,CAAC;AAEtC,MAAM,MAAM,UAAU,GAAG,2BAA2B,CAAC;AAErD,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,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A;KAAE,CAAC;CAC/C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"font-loader.d.ts","sourceRoot":"","sources":["../../src/orchestrator/font-loader.ts"],"names":[],"mappings":"AAaA,wBAAgB,YAAY,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,CAgB7F"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { A as BrandingShape, C as resolveTheme, D as BrandingAssets, E as Branding, F as ZitadelLogin, I as builtinLocales, L as de, M as BrandingTypography, N as FlowLayout, O as BrandingAttribution, P as ZitadelLogout, R as Locale, S as buildBrandingStylesheet, T as ThemeController, _ as mandatoryGatesMarkerComment, a as BrandingValidationResult, b as applyFontUrl, c as startFlow, d as passkeyUpsellTemplate, f as authFormTemplate, g as MANDATORY_GATES_MARKER, h as createSanitiser, i as LiquidContext, j as BrandingTheme, k as BrandingPalette, l as submitStep, m as layoutChromeCss, n as FlowIdentity, o as validateBranding, p as defaultTemplate, r as FlowMessage, s as getCurrentStep, t as FlowError, u as signedInTemplate, v as patchMandatoryGates, w as ResolvedTheme, x as applyBrandingTokens, y as TEMPLATE_NAMES, z as en } from "../index-bZEvwHtq.mjs";
|
|
2
|
+
export { Branding, BrandingAssets, BrandingAttribution, BrandingPalette, BrandingShape, BrandingTheme, BrandingTypography, BrandingValidationResult, FlowError, FlowIdentity, FlowLayout, FlowMessage, LiquidContext, Locale, MANDATORY_GATES_MARKER, ResolvedTheme, TEMPLATE_NAMES, ThemeController, ZitadelLogin, ZitadelLogout, applyBrandingTokens, applyFontUrl, authFormTemplate, buildBrandingStylesheet, builtinLocales, createSanitiser, de, defaultTemplate, en, getCurrentStep, layoutChromeCss, mandatoryGatesMarkerComment, passkeyUpsellTemplate, patchMandatoryGates, resolveTheme, signedInTemplate, startFlow, submitStep, validateBranding };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Orchestrator surface: the `<zitadel-login>` and `<zitadel-logout>`
|
|
3
|
+
* elements and their supporting primitives. Importing this barrel
|
|
4
|
+
* side-effect-registers the elements.
|
|
5
|
+
*/
|
|
6
|
+
import "./zitadel-login.js";
|
|
7
|
+
import "./zitadel-logout.js";
|
|
8
|
+
export { ZitadelLogin } from "./zitadel-login.js";
|
|
9
|
+
export { ZitadelLogout } from "./zitadel-logout.js";
|
|
10
|
+
export { applyBrandingTokens, buildBrandingStylesheet, resolveTheme, } from "./branding-to-tokens.js";
|
|
11
|
+
export { ThemeController, type ResolvedTheme } from "./theme-controller.js";
|
|
12
|
+
export { applyFontUrl } from "./font-loader.js";
|
|
13
|
+
export { TEMPLATE_NAMES } from "./template-names.js";
|
|
14
|
+
export { en, de, builtinLocales, type Locale } from "./locales/index.js";
|
|
15
|
+
export { patchMandatoryGates, mandatoryGatesMarkerComment, MANDATORY_GATES_MARKER, } from "./mandatory-gates.js";
|
|
16
|
+
export { createSanitiser } from "./sanitiser.js";
|
|
17
|
+
export { defaultTemplate, layoutChromeCss } from "./templates/default.liquid.js";
|
|
18
|
+
export { authFormTemplate } from "./templates/auth-form.liquid.js";
|
|
19
|
+
export { passkeyUpsellTemplate } from "./templates/passkey-upsell.liquid.js";
|
|
20
|
+
export { signedInTemplate } from "./templates/signed-in.liquid.js";
|
|
21
|
+
export { startFlow, submitStep, getCurrentStep } from "./api-client.js";
|
|
22
|
+
export { validateBranding, type BrandingValidationResult } from "./branding-validator.js";
|
|
23
|
+
export type { Branding, BrandingAssets, BrandingAttribution, BrandingPalette, BrandingShape, BrandingTheme, BrandingTypography, FlowLayout, } from "./branding.js";
|
|
24
|
+
export type { FlowError, FlowIdentity, FlowMessage, LiquidContext, } from "./template-context.js";
|
|
25
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/orchestrator/index.ts"],"names":[],"mappings":"AAAA;;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 -0,0 +1,2 @@
|
|
|
1
|
+
import { C as startFlow, S as getCurrentStep, _ as applyFontUrl, a as builtinLocales, b as buildBrandingStylesheet, c as TEMPLATE_NAMES, d as defaultTemplate, f as layoutChromeCss, g as patchMandatoryGates, h as mandatoryGatesMarkerComment, i as createSanitiser, l as signedInTemplate, m as MANDATORY_GATES_MARKER, n as ZitadelLogin, o as de, p as authFormTemplate, r as ThemeController, s as en, t as ZitadelLogout, u as passkeyUpsellTemplate, v as validateBranding, w as submitStep, x as resolveTheme, y as applyBrandingTokens } from "../orchestrator-CNKo2WQG.mjs";
|
|
2
|
+
export { MANDATORY_GATES_MARKER, TEMPLATE_NAMES, ThemeController, ZitadelLogin, ZitadelLogout, applyBrandingTokens, applyFontUrl, authFormTemplate, buildBrandingStylesheet, builtinLocales, createSanitiser, de, defaultTemplate, en, getCurrentStep, layoutChromeCss, mandatoryGatesMarkerComment, passkeyUpsellTemplate, patchMandatoryGates, resolveTheme, signedInTemplate, startFlow, submitStep, validateBranding };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LiquidJS engine factory for the `<zitadel-login>` orchestrator.
|
|
3
|
+
*
|
|
4
|
+
* Configures the engine per the security pipeline in
|
|
5
|
+
* `docs/design/flowengine/template-security.md` and registers the
|
|
6
|
+
* `| t` filter and `{% mandatory_gates %}` tag from
|
|
7
|
+
* `docs/design/branding/templates.md`.
|
|
8
|
+
*
|
|
9
|
+
* Hard rules:
|
|
10
|
+
*
|
|
11
|
+
* - `{{ }}` output is HTML-escaped (LiquidJS default since v10).
|
|
12
|
+
* - The `| raw` filter is overridden to a no-op string passthrough that still
|
|
13
|
+
* escapes (Layer 1 of the security pipeline).
|
|
14
|
+
* - Partials are loaded from an in-memory map; no filesystem access.
|
|
15
|
+
*/
|
|
16
|
+
import { Liquid } from "liquidjs";
|
|
17
|
+
import type { Locale } from "./locales/en.js";
|
|
18
|
+
export type CreateLiquidOptions = {
|
|
19
|
+
locale: Locale;
|
|
20
|
+
/**
|
|
21
|
+
* Additional in-memory templates merged on top of the bundled defaults.
|
|
22
|
+
* Useful for tests and for tenant-supplied `branding.liquid_template`
|
|
23
|
+
* (registered under {@link TEMPLATE_NAMES.default}).
|
|
24
|
+
*/
|
|
25
|
+
templates?: Record<string, string>;
|
|
26
|
+
};
|
|
27
|
+
export declare function createLiquidEngine(options: CreateLiquidOptions): Liquid;
|
|
28
|
+
//# sourceMappingURL=liquid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"liquid.d.ts","sourceRoot":"","sources":["../../src/orchestrator/liquid.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAQ9C,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACpC,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,mBAAmB,GAAG,MAAM,CAyGvE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* German locale dictionary.
|
|
3
|
+
*
|
|
4
|
+
* Structure mirrors {@link en} — same keys, translated values.
|
|
5
|
+
* Copy aligned to Figma screens file `xkvBjkOJ8ENuHdTGZHXezK` (May 2026).
|
|
6
|
+
*/
|
|
7
|
+
import type { Locale } from "./en.js";
|
|
8
|
+
export declare const de: Locale;
|
|
9
|
+
//# sourceMappingURL=de.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../src/orchestrator/locales/de.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEtC,eAAO,MAAM,EAAE,EAAE,MA+EhB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Minimal English locale dictionary.
|
|
3
|
+
*
|
|
4
|
+
* The `| t` filter looks up `text_key` strings here. Missing keys fall through
|
|
5
|
+
* to the raw key (matches the spec in
|
|
6
|
+
* `docs/design/flowengine/flow-engine-guide.md`).
|
|
7
|
+
*
|
|
8
|
+
* Copy aligned to Figma screens file `xkvBjkOJ8ENuHdTGZHXezK` (May 2026).
|
|
9
|
+
* MVP only — multi-locale support is deferred.
|
|
10
|
+
*/
|
|
11
|
+
export declare const en: Record<string, string>;
|
|
12
|
+
export type Locale = Record<string, string>;
|
|
13
|
+
//# sourceMappingURL=en.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/orchestrator/locales/en.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,eAAO,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA6ErC,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Built-in locale registry.
|
|
3
|
+
*
|
|
4
|
+
* Re-exports the individual dictionaries and provides a `builtinLocales`
|
|
5
|
+
* map so the orchestrator can resolve a BCP 47 language tag to the
|
|
6
|
+
* matching dictionary at runtime.
|
|
7
|
+
*/
|
|
8
|
+
export { en, type Locale } from "./en.js";
|
|
9
|
+
export { de } from "./de.js";
|
|
10
|
+
import { type Locale } from "./en.js";
|
|
11
|
+
export declare const builtinLocales: Readonly<Record<string, Locale>>;
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/orchestrator/locales/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,EAAE,EAAE,KAAK,MAAM,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAE7B,OAAO,EAAM,KAAK,MAAM,EAAE,MAAM,SAAS,CAAC;AAG1C,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAc,CAAC"}
|