@zitadel/components 0.1.0-alpha.0 → 0.1.0-alpha.11
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/README.md +76 -55
- package/dist/atoms/index.d.mts +1 -1
- package/dist/atoms/index.mjs +1 -1
- package/dist/{atoms-B9yd0c-i.mjs → atoms-BHSt5lSe.mjs} +229 -88
- package/dist/atoms-BHSt5lSe.mjs.map +1 -0
- package/dist/default-Cpl78hQN.mjs +6 -0
- package/dist/default-Cpl78hQN.mjs.map +1 -0
- package/dist/{index-B74_igDN.d.mts → index-Bv62se8F.d.mts} +92 -21
- package/dist/index-Bv62se8F.d.mts.map +1 -0
- package/dist/{index-Dd8hfOWt.d.mts → index-DVDCrfkv.d.mts} +1515 -827
- package/dist/index-DVDCrfkv.d.mts.map +1 -0
- package/dist/{index-EJengPPu.d.mts → index-EC-BnGsx.d.mts} +3 -3
- package/dist/{index-EJengPPu.d.mts.map → index-EC-BnGsx.d.mts.map} +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +4 -4
- package/dist/manifests.mjs +1 -1
- package/dist/orchestrator/index.d.mts +2 -2
- package/dist/orchestrator/index.mjs +2 -2
- package/dist/{orchestrator-B8eXcPRi.mjs → orchestrator-BeTmVk54.mjs} +486 -173
- package/dist/orchestrator-BeTmVk54.mjs.map +1 -0
- package/dist/standalone.mjs +12187 -0
- package/dist/tokens/index.d.mts +1 -1
- package/dist/tokens/index.mjs +1 -1
- package/dist/{tokens-TXmurodq.mjs → tokens-C0j4iCrs.mjs} +4 -4
- package/dist/tokens-C0j4iCrs.mjs.map +1 -0
- package/package.json +8 -16
- package/dist/atoms/index.d.ts +0 -9
- package/dist/atoms/index.d.ts.map +0 -1
- package/dist/atoms/zl-alert.d.ts +0 -56
- package/dist/atoms/zl-alert.d.ts.map +0 -1
- package/dist/atoms/zl-button.d.ts +0 -83
- package/dist/atoms/zl-button.d.ts.map +0 -1
- package/dist/atoms/zl-card.d.ts +0 -46
- package/dist/atoms/zl-card.d.ts.map +0 -1
- package/dist/atoms/zl-field.d.ts +0 -80
- package/dist/atoms/zl-field.d.ts.map +0 -1
- package/dist/atoms/zl-icon.d.ts +0 -48
- package/dist/atoms/zl-icon.d.ts.map +0 -1
- package/dist/atoms/zl-page-shell.d.ts +0 -42
- package/dist/atoms/zl-page-shell.d.ts.map +0 -1
- package/dist/atoms/zl-passkey.d.ts +0 -123
- package/dist/atoms/zl-passkey.d.ts.map +0 -1
- package/dist/atoms/zl-pill.d.ts +0 -55
- package/dist/atoms/zl-pill.d.ts.map +0 -1
- package/dist/atoms-B9yd0c-i.mjs.map +0 -1
- package/dist/default-DP74t2io.mjs +0 -6
- package/dist/default-DP74t2io.mjs.map +0 -1
- package/dist/index-B74_igDN.d.mts.map +0 -1
- package/dist/index-Dd8hfOWt.d.mts.map +0 -1
- package/dist/index.d.ts +0 -16
- package/dist/index.d.ts.map +0 -1
- package/dist/internal/base64url.d.ts +0 -18
- package/dist/internal/base64url.d.ts.map +0 -1
- package/dist/internal/unique-id.d.ts +0 -2
- package/dist/internal/unique-id.d.ts.map +0 -1
- package/dist/manifest.d.ts +0 -36
- package/dist/manifest.d.ts.map +0 -1
- package/dist/manifests.d.ts +0 -6
- package/dist/manifests.d.ts.map +0 -1
- package/dist/orchestrator/api-client.d.ts +0 -33
- package/dist/orchestrator/api-client.d.ts.map +0 -1
- package/dist/orchestrator/branding-to-tokens.d.ts +0 -28
- package/dist/orchestrator/branding-to-tokens.d.ts.map +0 -1
- package/dist/orchestrator/branding-validator.d.ts +0 -7
- package/dist/orchestrator/branding-validator.d.ts.map +0 -1
- package/dist/orchestrator/branding.d.ts +0 -76
- package/dist/orchestrator/branding.d.ts.map +0 -1
- package/dist/orchestrator/font-loader.d.ts +0 -2
- package/dist/orchestrator/font-loader.d.ts.map +0 -1
- package/dist/orchestrator/index.d.ts +0 -23
- package/dist/orchestrator/index.d.ts.map +0 -1
- package/dist/orchestrator/liquid.d.ts +0 -31
- package/dist/orchestrator/liquid.d.ts.map +0 -1
- package/dist/orchestrator/locales/de.d.ts +0 -16
- package/dist/orchestrator/locales/de.d.ts.map +0 -1
- package/dist/orchestrator/locales/en.d.ts +0 -19
- package/dist/orchestrator/locales/en.d.ts.map +0 -1
- package/dist/orchestrator/locales/index.d.ts +0 -13
- package/dist/orchestrator/locales/index.d.ts.map +0 -1
- package/dist/orchestrator/locales/it.d.ts +0 -14
- package/dist/orchestrator/locales/it.d.ts.map +0 -1
- package/dist/orchestrator/mandatory-gates.d.ts +0 -26
- package/dist/orchestrator/mandatory-gates.d.ts.map +0 -1
- package/dist/orchestrator/sanitiser.d.ts +0 -6
- package/dist/orchestrator/sanitiser.d.ts.map +0 -1
- package/dist/orchestrator/template-context.d.ts +0 -55
- package/dist/orchestrator/template-context.d.ts.map +0 -1
- package/dist/orchestrator/template-names.d.ts +0 -16
- package/dist/orchestrator/template-names.d.ts.map +0 -1
- package/dist/orchestrator/theme-controller.d.ts +0 -30
- package/dist/orchestrator/theme-controller.d.ts.map +0 -1
- package/dist/orchestrator/zitadel-login.d.ts +0 -185
- package/dist/orchestrator/zitadel-login.d.ts.map +0 -1
- package/dist/orchestrator/zitadel-logout.d.ts +0 -86
- package/dist/orchestrator/zitadel-logout.d.ts.map +0 -1
- package/dist/orchestrator-B8eXcPRi.mjs.map +0 -1
- package/dist/styles/base.d.ts +0 -7
- package/dist/styles/base.d.ts.map +0 -1
- package/dist/styles/focus-ring.d.ts +0 -7
- package/dist/styles/focus-ring.d.ts.map +0 -1
- package/dist/styles/index.d.ts +0 -5
- package/dist/styles/index.d.ts.map +0 -1
- package/dist/styles/surface.d.ts +0 -8
- package/dist/styles/surface.d.ts.map +0 -1
- package/dist/styles/tokens.d.ts +0 -11
- package/dist/styles/tokens.d.ts.map +0 -1
- package/dist/tokens/index.d.ts +0 -9
- package/dist/tokens/index.d.ts.map +0 -1
- package/dist/tokens-TXmurodq.mjs.map +0 -1
- package/dist/tsconfig.lib.tsbuildinfo +0 -1
package/dist/tokens/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as tokens, n as Tokens, r as cssVars, t as CssVars } from "../index-
|
|
1
|
+
import { i as tokens, n as Tokens, r as cssVars, t as CssVars } from "../index-EC-BnGsx.mjs";
|
|
2
2
|
export { CssVars, Tokens, cssVars, tokens };
|
package/dist/tokens/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as tokens, t as cssVars } from "../tokens-
|
|
1
|
+
import { n as tokens, t as cssVars } from "../tokens-C0j4iCrs.mjs";
|
|
2
2
|
export { cssVars, tokens };
|
|
@@ -81,8 +81,8 @@ const tokens = {
|
|
|
81
81
|
"xl": "1.5rem"
|
|
82
82
|
},
|
|
83
83
|
"font": { "family": {
|
|
84
|
-
"sans": "\"Arimo\",
|
|
85
|
-
"heading": "\"
|
|
84
|
+
"sans": "\"Arimo\", system-ui, -apple-system, \"Segoe UI\", Helvetica, Arial, sans-serif",
|
|
85
|
+
"heading": "\"Arimo\", system-ui, -apple-system, \"Segoe UI\", Helvetica, Arial, sans-serif",
|
|
86
86
|
"mono": "ui-monospace, SFMono-Regular, \"SF Mono\", Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace"
|
|
87
87
|
} },
|
|
88
88
|
"motion": {
|
|
@@ -237,8 +237,8 @@ const cssVars = {
|
|
|
237
237
|
"page": "var(--zl-container-page)"
|
|
238
238
|
}
|
|
239
239
|
};
|
|
240
|
-
const tokensCss = "/* AUTOGENERATED by packages/design-tokens/scripts/build.ts — do not edit by hand.\n Source: src/generated/figma.tokens.json + src/overrides.ts.\n Re-run:
|
|
240
|
+
const tokensCss = "/* AUTOGENERATED by packages/design-tokens/scripts/build.ts — do not edit by hand.\n Source: src/generated/figma.tokens.json + src/overrides.ts.\n Re-run: moon run design-tokens:generate */\n\n:root,\n[data-theme=\"dark\"] {\n --zl-color-surface-default-black: #0f0f11;\n --zl-color-surface-default-white: #f4f4f6;\n --zl-color-surface-default-primary-gray: #252528;\n --zl-color-surface-default-secondary-gray: #37373a;\n --zl-color-text-primary-white: #f4f4f6;\n --zl-color-text-secondary-gray: #bfbfcf;\n --zl-color-text-button-default: #0f0f11;\n --zl-color-text-button-invert: #f4f4f6;\n --zl-color-text-disabled: #686883;\n --zl-color-text-error: #ea4f70;\n --zl-color-text-success: #33a779;\n --zl-color-text-subtitle-pink: #f48aa0;\n --zl-color-text-subtitle-purple: #bba5e4;\n --zl-color-text-subtitle-gray: #bfbfcf;\n --zl-color-text-subtitle-orange: #f25543;\n --zl-color-icon-default-black: #0f0f11;\n --zl-color-icon-default-white: #f4f4f6;\n --zl-color-icon-default-gray: #bfbfcf;\n --zl-color-icon-default-pink: #f48aa0;\n --zl-color-icon-default-purple: #bba5e4;\n --zl-color-icon-default-orange: #f25543;\n --zl-color-icon-disabled: #686883;\n --zl-color-icon-error: #ea4f70;\n --zl-color-icon-success: #33a779;\n --zl-color-border-default-black: #252528;\n --zl-color-border-default-white: #f4f4f6;\n --zl-color-border-default-gray-100: #37373a;\n --zl-color-border-default-gray-200: #484a57;\n --zl-color-border-default-gray-300: #686883;\n --zl-color-border-default-gray-400: #82829c;\n --zl-color-border-error: #ea4f70;\n --zl-color-border-success: #33a779;\n --zl-color-gray-50: #0f0f11;\n --zl-color-gray-75: #252528;\n --zl-color-gray-100: #37373a;\n --zl-color-gray-200: #484a57;\n --zl-color-gray-300: #686883;\n --zl-color-gray-400: #82829c;\n --zl-color-gray-500: #9e9eb2;\n --zl-color-gray-600: #cfcfde;\n --zl-color-gray-700: #bfbfcf;\n --zl-color-gray-800: #e1e1e7;\n --zl-color-gray-900: #f4f4f6;\n --zl-spacing-01: 0.25rem;\n --zl-spacing-02: 0.5rem;\n --zl-spacing-03: 1rem;\n --zl-spacing-04: 1.5rem;\n --zl-spacing-05: 2rem;\n --zl-spacing-06: 1.5rem;\n --zl-spacing-07: 2.5rem;\n --zl-spacing-08: 3rem;\n --zl-spacing-09: 3.5rem;\n --zl-spacing-10: 4rem;\n --zl-spacing-11: 5rem;\n --zl-spacing-12: 5.5rem;\n --zl-spacing-13: 6rem;\n --zl-spacing-14: 6.5rem;\n --zl-spacing-15: 7rem;\n --zl-spacing-16: 7.5rem;\n --zl-radius-xs: 0.25rem;\n --zl-radius-s: 0.5rem;\n --zl-radius-m: 0.75rem;\n --zl-radius-l: 1rem;\n --zl-radius-xl: 1.5rem;\n --zl-font-family-sans: \"Arimo\", system-ui, -apple-system, \"Segoe UI\", Helvetica, Arial, sans-serif;\n --zl-font-family-heading: \"Arimo\", system-ui, -apple-system, \"Segoe UI\", Helvetica, Arial, sans-serif;\n --zl-font-family-mono: ui-monospace, SFMono-Regular, \"SF Mono\", Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n --zl-duration-instant: 0ms;\n --zl-duration-fast: 120ms;\n --zl-duration-base: 200ms;\n --zl-duration-slow: 320ms;\n --zl-easing-standard: cubic-bezier(0.2, 0, 0, 1);\n --zl-easing-decelerate: cubic-bezier(0, 0, 0, 1);\n --zl-easing-accelerate: cubic-bezier(0.3, 0, 1, 1);\n --zl-focus-width: 2px;\n --zl-focus-offset: 2px;\n --zl-focus-color: #f4f4f6;\n --zl-breakpoint-xs: 26.5625rem;\n --zl-breakpoint-sm: 40rem;\n --zl-breakpoint-md: 48rem;\n --zl-breakpoint-lg: 64rem;\n --zl-breakpoint-xl: 80rem;\n --zl-breakpoint-2xl: 96rem;\n --zl-breakpoint-3xl: 120rem;\n --zl-breakpoint-4xl: 160rem;\n --zl-container-auth-card: 24rem;\n --zl-container-page: 80rem;\n}\n\n[data-theme=\"light\"] {\n /* Reserved. Light mode lands when the Figma design system publishes\n a light variable mode; the next sync will populate this block. */\n}\n";
|
|
241
241
|
//#endregion
|
|
242
242
|
export { tokens as n, tokensCss as r, cssVars as t };
|
|
243
243
|
|
|
244
|
-
//# sourceMappingURL=tokens-
|
|
244
|
+
//# sourceMappingURL=tokens-C0j4iCrs.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens-C0j4iCrs.mjs","names":[],"sources":["../../design-tokens/dist/tokens.mjs"],"sourcesContent":["//#region src/generated/tokens.ts\nconst tokens = {\n\t\"color\": {\n\t\t\"surface\": {\n\t\t\t\"defaultBlack\": \"#0f0f11\",\n\t\t\t\"defaultWhite\": \"#f4f4f6\",\n\t\t\t\"defaultPrimaryGray\": \"#252528\",\n\t\t\t\"defaultSecondaryGray\": \"#37373a\"\n\t\t},\n\t\t\"text\": {\n\t\t\t\"primaryWhite\": \"#f4f4f6\",\n\t\t\t\"secondaryGray\": \"#bfbfcf\",\n\t\t\t\"buttonDefault\": \"#0f0f11\",\n\t\t\t\"buttonInvert\": \"#f4f4f6\",\n\t\t\t\"disabled\": \"#686883\",\n\t\t\t\"error\": \"#ea4f70\",\n\t\t\t\"success\": \"#33a779\",\n\t\t\t\"subtitlePink\": \"#f48aa0\",\n\t\t\t\"subtitlePurple\": \"#bba5e4\",\n\t\t\t\"subtitleGray\": \"#bfbfcf\",\n\t\t\t\"subtitleOrange\": \"#f25543\"\n\t\t},\n\t\t\"icon\": {\n\t\t\t\"defaultBlack\": \"#0f0f11\",\n\t\t\t\"defaultWhite\": \"#f4f4f6\",\n\t\t\t\"defaultGray\": \"#bfbfcf\",\n\t\t\t\"defaultPink\": \"#f48aa0\",\n\t\t\t\"defaultPurple\": \"#bba5e4\",\n\t\t\t\"defaultOrange\": \"#f25543\",\n\t\t\t\"disabled\": \"#686883\",\n\t\t\t\"error\": \"#ea4f70\",\n\t\t\t\"success\": \"#33a779\"\n\t\t},\n\t\t\"border\": {\n\t\t\t\"defaultBlack\": \"#252528\",\n\t\t\t\"defaultWhite\": \"#f4f4f6\",\n\t\t\t\"defaultGray100\": \"#37373a\",\n\t\t\t\"defaultGray200\": \"#484a57\",\n\t\t\t\"defaultGray300\": \"#686883\",\n\t\t\t\"defaultGray400\": \"#82829c\",\n\t\t\t\"error\": \"#ea4f70\",\n\t\t\t\"success\": \"#33a779\"\n\t\t},\n\t\t\"gray\": {\n\t\t\t\"50\": \"#0f0f11\",\n\t\t\t\"75\": \"#252528\",\n\t\t\t\"100\": \"#37373a\",\n\t\t\t\"200\": \"#484a57\",\n\t\t\t\"300\": \"#686883\",\n\t\t\t\"400\": \"#82829c\",\n\t\t\t\"500\": \"#9e9eb2\",\n\t\t\t\"600\": \"#cfcfde\",\n\t\t\t\"700\": \"#bfbfcf\",\n\t\t\t\"800\": \"#e1e1e7\",\n\t\t\t\"900\": \"#f4f4f6\"\n\t\t}\n\t},\n\t\"spacing\": {\n\t\t\"10\": \"4rem\",\n\t\t\"11\": \"5rem\",\n\t\t\"12\": \"5.5rem\",\n\t\t\"13\": \"6rem\",\n\t\t\"14\": \"6.5rem\",\n\t\t\"15\": \"7rem\",\n\t\t\"16\": \"7.5rem\",\n\t\t\"01\": \"0.25rem\",\n\t\t\"02\": \"0.5rem\",\n\t\t\"03\": \"1rem\",\n\t\t\"04\": \"1.5rem\",\n\t\t\"05\": \"2rem\",\n\t\t\"06\": \"1.5rem\",\n\t\t\"07\": \"2.5rem\",\n\t\t\"08\": \"3rem\",\n\t\t\"09\": \"3.5rem\"\n\t},\n\t\"radius\": {\n\t\t\"xs\": \"0.25rem\",\n\t\t\"s\": \"0.5rem\",\n\t\t\"m\": \"0.75rem\",\n\t\t\"l\": \"1rem\",\n\t\t\"xl\": \"1.5rem\"\n\t},\n\t\"font\": { \"family\": {\n\t\t\"sans\": \"\\\"Arimo\\\", system-ui, -apple-system, \\\"Segoe UI\\\", Helvetica, Arial, sans-serif\",\n\t\t\"heading\": \"\\\"Arimo\\\", system-ui, -apple-system, \\\"Segoe UI\\\", Helvetica, Arial, sans-serif\",\n\t\t\"mono\": \"ui-monospace, SFMono-Regular, \\\"SF Mono\\\", Menlo, Monaco, Consolas, \\\"Liberation Mono\\\", \\\"Courier New\\\", monospace\"\n\t} },\n\t\"motion\": {\n\t\t\"duration\": {\n\t\t\t\"instant\": \"0ms\",\n\t\t\t\"fast\": \"120ms\",\n\t\t\t\"base\": \"200ms\",\n\t\t\t\"slow\": \"320ms\"\n\t\t},\n\t\t\"easing\": {\n\t\t\t\"standard\": \"cubic-bezier(0.2, 0, 0, 1)\",\n\t\t\t\"decelerate\": \"cubic-bezier(0, 0, 0, 1)\",\n\t\t\t\"accelerate\": \"cubic-bezier(0.3, 0, 1, 1)\"\n\t\t}\n\t},\n\t\"focus\": {\n\t\t\"width\": \"2px\",\n\t\t\"offset\": \"2px\",\n\t\t\"color\": \"#f4f4f6\"\n\t},\n\t\"breakpoint\": {\n\t\t\"xs\": \"26.5625rem\",\n\t\t\"sm\": \"40rem\",\n\t\t\"md\": \"48rem\",\n\t\t\"lg\": \"64rem\",\n\t\t\"xl\": \"80rem\",\n\t\t\"2xl\": \"96rem\",\n\t\t\"3xl\": \"120rem\",\n\t\t\"4xl\": \"160rem\"\n\t},\n\t\"container\": {\n\t\t\"authCard\": \"24rem\",\n\t\t\"page\": \"80rem\"\n\t}\n};\nconst cssVars = {\n\t\"color\": {\n\t\t\"surface\": {\n\t\t\t\"defaultBlack\": \"var(--zl-color-surface-default-black)\",\n\t\t\t\"defaultWhite\": \"var(--zl-color-surface-default-white)\",\n\t\t\t\"defaultPrimaryGray\": \"var(--zl-color-surface-default-primary-gray)\",\n\t\t\t\"defaultSecondaryGray\": \"var(--zl-color-surface-default-secondary-gray)\"\n\t\t},\n\t\t\"text\": {\n\t\t\t\"primaryWhite\": \"var(--zl-color-text-primary-white)\",\n\t\t\t\"secondaryGray\": \"var(--zl-color-text-secondary-gray)\",\n\t\t\t\"buttonDefault\": \"var(--zl-color-text-button-default)\",\n\t\t\t\"buttonInvert\": \"var(--zl-color-text-button-invert)\",\n\t\t\t\"disabled\": \"var(--zl-color-text-disabled)\",\n\t\t\t\"error\": \"var(--zl-color-text-error)\",\n\t\t\t\"success\": \"var(--zl-color-text-success)\",\n\t\t\t\"subtitlePink\": \"var(--zl-color-text-subtitle-pink)\",\n\t\t\t\"subtitlePurple\": \"var(--zl-color-text-subtitle-purple)\",\n\t\t\t\"subtitleGray\": \"var(--zl-color-text-subtitle-gray)\",\n\t\t\t\"subtitleOrange\": \"var(--zl-color-text-subtitle-orange)\"\n\t\t},\n\t\t\"icon\": {\n\t\t\t\"defaultBlack\": \"var(--zl-color-icon-default-black)\",\n\t\t\t\"defaultWhite\": \"var(--zl-color-icon-default-white)\",\n\t\t\t\"defaultGray\": \"var(--zl-color-icon-default-gray)\",\n\t\t\t\"defaultPink\": \"var(--zl-color-icon-default-pink)\",\n\t\t\t\"defaultPurple\": \"var(--zl-color-icon-default-purple)\",\n\t\t\t\"defaultOrange\": \"var(--zl-color-icon-default-orange)\",\n\t\t\t\"disabled\": \"var(--zl-color-icon-disabled)\",\n\t\t\t\"error\": \"var(--zl-color-icon-error)\",\n\t\t\t\"success\": \"var(--zl-color-icon-success)\"\n\t\t},\n\t\t\"border\": {\n\t\t\t\"defaultBlack\": \"var(--zl-color-border-default-black)\",\n\t\t\t\"defaultWhite\": \"var(--zl-color-border-default-white)\",\n\t\t\t\"defaultGray100\": \"var(--zl-color-border-default-gray-100)\",\n\t\t\t\"defaultGray200\": \"var(--zl-color-border-default-gray-200)\",\n\t\t\t\"defaultGray300\": \"var(--zl-color-border-default-gray-300)\",\n\t\t\t\"defaultGray400\": \"var(--zl-color-border-default-gray-400)\",\n\t\t\t\"error\": \"var(--zl-color-border-error)\",\n\t\t\t\"success\": \"var(--zl-color-border-success)\"\n\t\t},\n\t\t\"gray\": {\n\t\t\t\"50\": \"var(--zl-color-gray-50)\",\n\t\t\t\"75\": \"var(--zl-color-gray-75)\",\n\t\t\t\"100\": \"var(--zl-color-gray-100)\",\n\t\t\t\"200\": \"var(--zl-color-gray-200)\",\n\t\t\t\"300\": \"var(--zl-color-gray-300)\",\n\t\t\t\"400\": \"var(--zl-color-gray-400)\",\n\t\t\t\"500\": \"var(--zl-color-gray-500)\",\n\t\t\t\"600\": \"var(--zl-color-gray-600)\",\n\t\t\t\"700\": \"var(--zl-color-gray-700)\",\n\t\t\t\"800\": \"var(--zl-color-gray-800)\",\n\t\t\t\"900\": \"var(--zl-color-gray-900)\"\n\t\t}\n\t},\n\t\"spacing\": {\n\t\t\"10\": \"var(--zl-spacing-10)\",\n\t\t\"11\": \"var(--zl-spacing-11)\",\n\t\t\"12\": \"var(--zl-spacing-12)\",\n\t\t\"13\": \"var(--zl-spacing-13)\",\n\t\t\"14\": \"var(--zl-spacing-14)\",\n\t\t\"15\": \"var(--zl-spacing-15)\",\n\t\t\"16\": \"var(--zl-spacing-16)\",\n\t\t\"01\": \"var(--zl-spacing-01)\",\n\t\t\"02\": \"var(--zl-spacing-02)\",\n\t\t\"03\": \"var(--zl-spacing-03)\",\n\t\t\"04\": \"var(--zl-spacing-04)\",\n\t\t\"05\": \"var(--zl-spacing-05)\",\n\t\t\"06\": \"var(--zl-spacing-06)\",\n\t\t\"07\": \"var(--zl-spacing-07)\",\n\t\t\"08\": \"var(--zl-spacing-08)\",\n\t\t\"09\": \"var(--zl-spacing-09)\"\n\t},\n\t\"radius\": {\n\t\t\"xs\": \"var(--zl-radius-xs)\",\n\t\t\"s\": \"var(--zl-radius-s)\",\n\t\t\"m\": \"var(--zl-radius-m)\",\n\t\t\"l\": \"var(--zl-radius-l)\",\n\t\t\"xl\": \"var(--zl-radius-xl)\"\n\t},\n\t\"font\": { \"family\": {\n\t\t\"sans\": \"var(--zl-font-family-sans)\",\n\t\t\"heading\": \"var(--zl-font-family-heading)\",\n\t\t\"mono\": \"var(--zl-font-family-mono)\"\n\t} },\n\t\"motion\": {\n\t\t\"duration\": {\n\t\t\t\"instant\": \"var(--zl-duration-instant)\",\n\t\t\t\"fast\": \"var(--zl-duration-fast)\",\n\t\t\t\"base\": \"var(--zl-duration-base)\",\n\t\t\t\"slow\": \"var(--zl-duration-slow)\"\n\t\t},\n\t\t\"easing\": {\n\t\t\t\"standard\": \"var(--zl-easing-standard)\",\n\t\t\t\"decelerate\": \"var(--zl-easing-decelerate)\",\n\t\t\t\"accelerate\": \"var(--zl-easing-accelerate)\"\n\t\t}\n\t},\n\t\"focus\": {\n\t\t\"width\": \"var(--zl-focus-width)\",\n\t\t\"offset\": \"var(--zl-focus-offset)\",\n\t\t\"color\": \"var(--zl-focus-color)\"\n\t},\n\t\"breakpoint\": {\n\t\t\"xs\": \"var(--zl-breakpoint-xs)\",\n\t\t\"sm\": \"var(--zl-breakpoint-sm)\",\n\t\t\"md\": \"var(--zl-breakpoint-md)\",\n\t\t\"lg\": \"var(--zl-breakpoint-lg)\",\n\t\t\"xl\": \"var(--zl-breakpoint-xl)\",\n\t\t\"2xl\": \"var(--zl-breakpoint-2xl)\",\n\t\t\"3xl\": \"var(--zl-breakpoint-3xl)\",\n\t\t\"4xl\": \"var(--zl-breakpoint-4xl)\"\n\t},\n\t\"container\": {\n\t\t\"authCard\": \"var(--zl-container-auth-card)\",\n\t\t\"page\": \"var(--zl-container-page)\"\n\t}\n};\nconst tokensCss = \"/* AUTOGENERATED by packages/design-tokens/scripts/build.ts — do not edit by hand.\\n Source: src/generated/figma.tokens.json + src/overrides.ts.\\n Re-run: moon run design-tokens:generate */\\n\\n:root,\\n[data-theme=\\\"dark\\\"] {\\n --zl-color-surface-default-black: #0f0f11;\\n --zl-color-surface-default-white: #f4f4f6;\\n --zl-color-surface-default-primary-gray: #252528;\\n --zl-color-surface-default-secondary-gray: #37373a;\\n --zl-color-text-primary-white: #f4f4f6;\\n --zl-color-text-secondary-gray: #bfbfcf;\\n --zl-color-text-button-default: #0f0f11;\\n --zl-color-text-button-invert: #f4f4f6;\\n --zl-color-text-disabled: #686883;\\n --zl-color-text-error: #ea4f70;\\n --zl-color-text-success: #33a779;\\n --zl-color-text-subtitle-pink: #f48aa0;\\n --zl-color-text-subtitle-purple: #bba5e4;\\n --zl-color-text-subtitle-gray: #bfbfcf;\\n --zl-color-text-subtitle-orange: #f25543;\\n --zl-color-icon-default-black: #0f0f11;\\n --zl-color-icon-default-white: #f4f4f6;\\n --zl-color-icon-default-gray: #bfbfcf;\\n --zl-color-icon-default-pink: #f48aa0;\\n --zl-color-icon-default-purple: #bba5e4;\\n --zl-color-icon-default-orange: #f25543;\\n --zl-color-icon-disabled: #686883;\\n --zl-color-icon-error: #ea4f70;\\n --zl-color-icon-success: #33a779;\\n --zl-color-border-default-black: #252528;\\n --zl-color-border-default-white: #f4f4f6;\\n --zl-color-border-default-gray-100: #37373a;\\n --zl-color-border-default-gray-200: #484a57;\\n --zl-color-border-default-gray-300: #686883;\\n --zl-color-border-default-gray-400: #82829c;\\n --zl-color-border-error: #ea4f70;\\n --zl-color-border-success: #33a779;\\n --zl-color-gray-50: #0f0f11;\\n --zl-color-gray-75: #252528;\\n --zl-color-gray-100: #37373a;\\n --zl-color-gray-200: #484a57;\\n --zl-color-gray-300: #686883;\\n --zl-color-gray-400: #82829c;\\n --zl-color-gray-500: #9e9eb2;\\n --zl-color-gray-600: #cfcfde;\\n --zl-color-gray-700: #bfbfcf;\\n --zl-color-gray-800: #e1e1e7;\\n --zl-color-gray-900: #f4f4f6;\\n --zl-spacing-01: 0.25rem;\\n --zl-spacing-02: 0.5rem;\\n --zl-spacing-03: 1rem;\\n --zl-spacing-04: 1.5rem;\\n --zl-spacing-05: 2rem;\\n --zl-spacing-06: 1.5rem;\\n --zl-spacing-07: 2.5rem;\\n --zl-spacing-08: 3rem;\\n --zl-spacing-09: 3.5rem;\\n --zl-spacing-10: 4rem;\\n --zl-spacing-11: 5rem;\\n --zl-spacing-12: 5.5rem;\\n --zl-spacing-13: 6rem;\\n --zl-spacing-14: 6.5rem;\\n --zl-spacing-15: 7rem;\\n --zl-spacing-16: 7.5rem;\\n --zl-radius-xs: 0.25rem;\\n --zl-radius-s: 0.5rem;\\n --zl-radius-m: 0.75rem;\\n --zl-radius-l: 1rem;\\n --zl-radius-xl: 1.5rem;\\n --zl-font-family-sans: \\\"Arimo\\\", system-ui, -apple-system, \\\"Segoe UI\\\", Helvetica, Arial, sans-serif;\\n --zl-font-family-heading: \\\"Arimo\\\", system-ui, -apple-system, \\\"Segoe UI\\\", Helvetica, Arial, sans-serif;\\n --zl-font-family-mono: ui-monospace, SFMono-Regular, \\\"SF Mono\\\", Menlo, Monaco, Consolas, \\\"Liberation Mono\\\", \\\"Courier New\\\", monospace;\\n --zl-duration-instant: 0ms;\\n --zl-duration-fast: 120ms;\\n --zl-duration-base: 200ms;\\n --zl-duration-slow: 320ms;\\n --zl-easing-standard: cubic-bezier(0.2, 0, 0, 1);\\n --zl-easing-decelerate: cubic-bezier(0, 0, 0, 1);\\n --zl-easing-accelerate: cubic-bezier(0.3, 0, 1, 1);\\n --zl-focus-width: 2px;\\n --zl-focus-offset: 2px;\\n --zl-focus-color: #f4f4f6;\\n --zl-breakpoint-xs: 26.5625rem;\\n --zl-breakpoint-sm: 40rem;\\n --zl-breakpoint-md: 48rem;\\n --zl-breakpoint-lg: 64rem;\\n --zl-breakpoint-xl: 80rem;\\n --zl-breakpoint-2xl: 96rem;\\n --zl-breakpoint-3xl: 120rem;\\n --zl-breakpoint-4xl: 160rem;\\n --zl-container-auth-card: 24rem;\\n --zl-container-page: 80rem;\\n}\\n\\n[data-theme=\\\"light\\\"] {\\n /* Reserved. Light mode lands when the Figma design system publishes\\n a light variable mode; the next sync will populate this block. */\\n}\\n\";\n//#endregion\nexport { cssVars, tokens, tokensCss };\n\n//# sourceMappingURL=tokens.mjs.map"],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zitadel/components",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.11",
|
|
4
4
|
"description": "Lit-based atomic web components and the <zitadel-login> orchestrator for the Zitadel auth UI.",
|
|
5
5
|
"homepage": "https://github.com/zitadel/nextgen/tree/main/packages/components#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
"main": "./dist/index.mjs",
|
|
20
20
|
"module": "./dist/index.mjs",
|
|
21
21
|
"types": "./dist/index.d.mts",
|
|
22
|
+
"unpkg": "./dist/standalone.mjs",
|
|
23
|
+
"jsdelivr": "./dist/standalone.mjs",
|
|
22
24
|
"exports": {
|
|
23
25
|
"./package.json": "./package.json",
|
|
24
26
|
".": {
|
|
@@ -26,6 +28,10 @@
|
|
|
26
28
|
"import": "./dist/index.mjs",
|
|
27
29
|
"default": "./dist/index.mjs"
|
|
28
30
|
},
|
|
31
|
+
"./standalone": {
|
|
32
|
+
"types": "./dist/index.d.mts",
|
|
33
|
+
"import": "./dist/standalone.mjs"
|
|
34
|
+
},
|
|
29
35
|
"./atoms": {
|
|
30
36
|
"types": "./dist/atoms/index.d.mts",
|
|
31
37
|
"import": "./dist/atoms/index.mjs"
|
|
@@ -52,20 +58,6 @@
|
|
|
52
58
|
"lit": "^3.3.2",
|
|
53
59
|
"lucide": "^1.16.0"
|
|
54
60
|
},
|
|
55
|
-
"nx": {
|
|
56
|
-
"targets": {
|
|
57
|
-
"build": {
|
|
58
|
-
"outputs": [
|
|
59
|
-
"{projectRoot}/dist"
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
|
-
"typecheck": {
|
|
63
|
-
"dependsOn": [
|
|
64
|
-
"build"
|
|
65
|
-
]
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
61
|
"devDependencies": {
|
|
70
62
|
"@tsdown/css": "^0.21.10",
|
|
71
63
|
"@vitest/browser": "^4.1.7",
|
|
@@ -79,7 +71,7 @@
|
|
|
79
71
|
"tsdown": "^0.21.10",
|
|
80
72
|
"tslib": "^2.8.1",
|
|
81
73
|
"@zitadel/api-mock": "0.0.0",
|
|
82
|
-
"@zitadel/api": "0.1.0-alpha.
|
|
74
|
+
"@zitadel/api": "0.1.0-alpha.11",
|
|
83
75
|
"@zitadel/design-tokens": "0.1.0-alpha.0",
|
|
84
76
|
"@zitadel/shared-component-styles": "0.0.0"
|
|
85
77
|
},
|
package/dist/atoms/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { ZlAlert, zlAlertManifest } from "./zl-alert.js";
|
|
2
|
-
export { ZlButton, zlButtonManifest } from "./zl-button.js";
|
|
3
|
-
export { ZlCard, zlCardManifest } from "./zl-card.js";
|
|
4
|
-
export { ZlField, zlFieldManifest, type ZlFieldType } from "./zl-field.js";
|
|
5
|
-
export { ZlIcon, zlIconManifest, type IconName } from "./zl-icon.js";
|
|
6
|
-
export { ZlPageShell, zlPageShellManifest } from "./zl-page-shell.js";
|
|
7
|
-
export { ZlPasskey, zlPasskeyManifest, type ZlPasskeyResultDetail, type ZlPasskeyErrorDetail } from "./zl-passkey.js";
|
|
8
|
-
export { ZlPill, zlPillManifest } from "./zl-pill.js";
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/atoms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,KAAK,qBAAqB,EAAE,KAAK,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACtH,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC"}
|
package/dist/atoms/zl-alert.d.ts
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { LitElement } from "lit";
|
|
2
|
-
import type { AtomManifest } from "../manifest.js";
|
|
3
|
-
import "./zl-icon.js";
|
|
4
|
-
/**
|
|
5
|
-
* Atom: `<zl-alert>` — inline status message replacing the legacy
|
|
6
|
-
* `<zl-error>`.
|
|
7
|
-
*
|
|
8
|
-
* Spec lineage (file `8UjCXw8yemgljmbkWGrSfE`):
|
|
9
|
-
* - design-system master: node `6593:2640` (Alert/Error). Screen instance
|
|
10
|
-
* `6596:132779` matches the same chrome. Severity is conveyed by icon
|
|
11
|
-
* shape and colour, not by tinting the background.
|
|
12
|
-
*
|
|
13
|
-
* Per-state Figma values:
|
|
14
|
-
*
|
|
15
|
-
* Layout
|
|
16
|
-
* surface bg surface.default-primary-gray (#252528), no border
|
|
17
|
-
* padding 16px (spacing-03)
|
|
18
|
-
* gap 16px between icon and content
|
|
19
|
-
* radius 12px (radius.m)
|
|
20
|
-
* shadow 0 1px 2px rgba(16,24,40,0.05) (shadow-xs)
|
|
21
|
-
*
|
|
22
|
-
* Icon (16px)
|
|
23
|
-
* error alert-circle, color text.error (#ea4f70)
|
|
24
|
-
* warning alert-circle, color text.subtitle-orange (#f25543)
|
|
25
|
-
* success check, color text.success (#33a779)
|
|
26
|
-
* info info, color text.subtitle-gray (#bfbfcf)
|
|
27
|
-
*
|
|
28
|
-
* Text
|
|
29
|
-
* heading Arimo SemiBold 14/20, color text.button-invert (#f4f4f6)
|
|
30
|
-
* body Arimo Regular 14/20, color text.button-invert
|
|
31
|
-
* gap (heading→body) 4px (spacing-01)
|
|
32
|
-
*
|
|
33
|
-
* Close button (when dismissible)
|
|
34
|
-
* 36 × 36 hit target, padding 8px, radius 8px (radius.s)
|
|
35
|
-
* icon `cross` at 20px, color text.secondary-gray
|
|
36
|
-
* placed at the end of the flex row (icon · content · close)
|
|
37
|
-
*
|
|
38
|
-
* Templates render one per step when the flow returns errors; the
|
|
39
|
-
* orchestrator surfaces flow-level errors through `errors` in the Liquid
|
|
40
|
-
* context.
|
|
41
|
-
*/
|
|
42
|
-
export declare class ZlAlert extends LitElement {
|
|
43
|
-
static styles: import("lit").CSSResult[];
|
|
44
|
-
accessor severity: "error" | "success" | "warning" | "info";
|
|
45
|
-
accessor heading: string | undefined;
|
|
46
|
-
accessor dismissible: boolean;
|
|
47
|
-
render(): import("lit").TemplateResult<1>;
|
|
48
|
-
private handleDismiss;
|
|
49
|
-
}
|
|
50
|
-
export declare const zlAlertManifest: AtomManifest;
|
|
51
|
-
declare global {
|
|
52
|
-
interface HTMLElementTagNameMap {
|
|
53
|
-
"zl-alert": ZlAlert;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
//# sourceMappingURL=zl-alert.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"zl-alert.d.ts","sourceRoot":"","sources":["../../src/atoms/zl-alert.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,OAAO,cAAc,CAAC;AAGtB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,qBACa,OAAQ,SAAQ,UAAU;IACrC,OAAgB,MAAM,4BAGpB;IAE2B,QAAQ,CAAC,QAAQ,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,CAAW;IAEvF,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAa;IAEjB,QAAQ,CAAC,WAAW,UAAS;IAEhE,MAAM,oCA6Bd;IAED,OAAO,CAAC,aAAa,CAKnB;CACH;AASD,eAAO,MAAM,eAAe,EAAE,YAMpB,CAAC;AAEX,OAAO,CAAC,MAAM,CAAC,CAAC;IACd,UAAU,qBAAqB;QAC7B,UAAU,EAAE,OAAO,CAAC;KACrB;CACF"}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { LitElement } from "lit";
|
|
2
|
-
import type { AtomManifest } from "../manifest.js";
|
|
3
|
-
import "./zl-icon.js";
|
|
4
|
-
/**
|
|
5
|
-
* Atom: `<zl-button>` — the entire Figma button matrix in a single atom.
|
|
6
|
-
*
|
|
7
|
-
* Spec lineage (file `8UjCXw8yemgljmbkWGrSfE`, "Zitadel - Design System - External"):
|
|
8
|
-
* - master variant set: node `6598:292`
|
|
9
|
-
* - icon-leading instance reference: node `6598:143281` (passkey upsell)
|
|
10
|
-
*
|
|
11
|
-
* Variant axes (matches Figma directly):
|
|
12
|
-
* - hierarchy: primary | secondary | text
|
|
13
|
-
* - size: medium (48 × auto) | small (40 × auto)
|
|
14
|
-
* - state: enabled / hovered / focused / pressed / disabled
|
|
15
|
-
* (derived from interaction, not props)
|
|
16
|
-
* - slots: `leading` icon, `trailing` icon, default for the label.
|
|
17
|
-
* When `loading` is set the trailing slot is replaced with a
|
|
18
|
-
* spinning ring (Figma shows the spinner trailing).
|
|
19
|
-
*
|
|
20
|
-
* Per-state Figma values (resolved from `figma.tokens.json` primitives):
|
|
21
|
-
*
|
|
22
|
-
* Primary
|
|
23
|
-
* enabled bg=#f4f4f6 (surface.default-white) fg=#0f0f11 border=transparent
|
|
24
|
-
* hover/pressed bg=#cfcfde (gray.600) fg=#0f0f11 border=1px #252528
|
|
25
|
-
* focus-visible bg=#cfcfde + native outline ring
|
|
26
|
-
* disabled bg=#f4f4f6 fg=#686883 (text.disabled)
|
|
27
|
-
*
|
|
28
|
-
* Secondary
|
|
29
|
-
* enabled bg=#252528 (border.default-black) fg=#f4f4f6 (text.button-invert)
|
|
30
|
-
* hover/pressed bg=#484a57 (gray.200) fg=#f4f4f6
|
|
31
|
-
* focus-visible bg=#252528 + native outline ring fg=#f4f4f6
|
|
32
|
-
* disabled bg=#252528 fg=#686883
|
|
33
|
-
*
|
|
34
|
-
* Text
|
|
35
|
-
* enabled bg=transparent fg=#f4f4f6
|
|
36
|
-
* hover/pressed bg=#484a57 fg=#f4f4f6
|
|
37
|
-
* focus-visible bg=#252528 + native outline ring fg=#f4f4f6
|
|
38
|
-
* disabled bg=transparent fg=#686883
|
|
39
|
-
*
|
|
40
|
-
* Common
|
|
41
|
-
* padding 10px (block) / 16px (inline) radius=8px
|
|
42
|
-
* gap 8px between icon/label/icon
|
|
43
|
-
* font Arimo SemiBold (600)
|
|
44
|
-
* medium: 16/24 small: 14/20
|
|
45
|
-
* icon 24px medium, 16px small
|
|
46
|
-
* focus ring 2px solid #f4f4f6, 2px offset
|
|
47
|
-
* transition background-color / color / border-color, fast standard
|
|
48
|
-
*
|
|
49
|
-
* Form-associated so it can participate in the orchestrator's `<form>`
|
|
50
|
-
* exactly like a native `<button>`. Setting `type="submit"` triggers
|
|
51
|
-
* `form.requestSubmit()` on click; setting `type="reset"` calls
|
|
52
|
-
* `form.reset()`. Otherwise the click event bubbles for SPA listeners.
|
|
53
|
-
*
|
|
54
|
-
* The atom always renders a real `<button>` inside the shadow root —
|
|
55
|
-
* `delegatesFocus` ensures Tab lands on it and `<zl-field>`'s
|
|
56
|
-
* Enter-to-submit pipe still fires the host form.
|
|
57
|
-
*/
|
|
58
|
-
export declare class ZlButton extends LitElement {
|
|
59
|
-
static formAssociated: boolean;
|
|
60
|
-
static shadowRootOptions: ShadowRootInit;
|
|
61
|
-
static styles: import("lit").CSSResult[];
|
|
62
|
-
accessor hierarchy: "primary" | "secondary" | "text";
|
|
63
|
-
accessor size: "medium" | "small";
|
|
64
|
-
accessor type: "button" | "submit" | "reset";
|
|
65
|
-
accessor action: string | undefined;
|
|
66
|
-
accessor loading: boolean;
|
|
67
|
-
accessor disabled: boolean;
|
|
68
|
-
accessor block: boolean;
|
|
69
|
-
accessor label: string | undefined;
|
|
70
|
-
private readonly internals;
|
|
71
|
-
constructor();
|
|
72
|
-
focus(options?: FocusOptions): void;
|
|
73
|
-
private surfaceClasses;
|
|
74
|
-
render(): import("lit").TemplateResult<1>;
|
|
75
|
-
private handleClick;
|
|
76
|
-
}
|
|
77
|
-
export declare const zlButtonManifest: AtomManifest;
|
|
78
|
-
declare global {
|
|
79
|
-
interface HTMLElementTagNameMap {
|
|
80
|
-
"zl-button": ZlButton;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
//# sourceMappingURL=zl-button.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"zl-button.d.ts","sourceRoot":"","sources":["../../src/atoms/zl-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAiB,MAAM,KAAK,CAAC;AAMhD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,OAAO,cAAc,CAAC;AAEtB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,qBACa,QAAS,SAAQ,UAAU;IACtC,MAAM,CAAC,cAAc,UAAQ;IAE7B,OAAgB,iBAAiB,EAAE,cAAc,CAG/C;IAEF,OAAgB,MAAM,4BAGpB;IAE2B,QAAQ,CAAC,SAAS,EAAE,SAAS,GAAG,WAAW,GAAG,MAAM,CAAa;IAEjE,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAY;IAE9D,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAY;IAExD,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAa;IAE/B,QAAQ,CAAC,OAAO,UAAS;IAEV,QAAQ,CAAC,QAAQ,UAAS;IAE1B,QAAQ,CAAC,KAAK,UAAS;IAEvD,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAa;IAE3D,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAmB;IAE7C,cAGC;IAEQ,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI,CAE3C;IAED,OAAO,CAAC,cAAc;IAYb,MAAM,oCAyBd;IAED,OAAO,CAAC,WAAW,CAuBjB;CACH;AAED,eAAO,MAAM,gBAAgB,EAAE,YAOrB,CAAC;AAEX,OAAO,CAAC,MAAM,CAAC,CAAC;IACd,UAAU,qBAAqB;QAC7B,WAAW,EAAE,QAAQ,CAAC;KACvB;CACF"}
|
package/dist/atoms/zl-card.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { LitElement } from "lit";
|
|
2
|
-
import type { AtomManifest } from "../manifest.js";
|
|
3
|
-
/**
|
|
4
|
-
* Atom: `<zl-card>` — the auth-card surface used by every flow screen.
|
|
5
|
-
*
|
|
6
|
-
* Spec lineage (file `xkvBjkOJ8ENuHdTGZHXezK`):
|
|
7
|
-
* - sign-in: node `6593:141985` (combined sign-in card, 32px gap)
|
|
8
|
-
* - sign-up: node `6593:141743` / frame `6593:141741` (title only, 32px gap)
|
|
9
|
-
* - passkey-upsell: node `6594:632` (288h, heading+subtitle, 24px gap)
|
|
10
|
-
* - signed-in: node `6596:132846` (272h, heading+subtitle, 24px gap)
|
|
11
|
-
*
|
|
12
|
-
* Per-state Figma values (constant across all four screens unless noted):
|
|
13
|
-
*
|
|
14
|
-
* width 384px fixed (container.auth-card token; xs collapses
|
|
15
|
-
* to full-width via the surrounding page-shell)
|
|
16
|
-
* background transparent — the page (surface.default-black) shows
|
|
17
|
-
* through; the card is *not* an elevated surface, only
|
|
18
|
-
* outlined
|
|
19
|
-
* border 1px solid surface.default-primary-gray (#252528)
|
|
20
|
-
* radius 16px (radius.l)
|
|
21
|
-
* padding 32px all sides (spacing-05)
|
|
22
|
-
* gap 32px between header / body / footer slots (sign-in,
|
|
23
|
-
* sign-up). Passkey-upsell + signed-in tighten to 24px
|
|
24
|
-
* (spacing-04) via `compact` because their heading group
|
|
25
|
-
* carries a subtitle.
|
|
26
|
-
*
|
|
27
|
-
* Internal slot gaps:
|
|
28
|
-
* header 8px (spacing-02) — heading → subtitle stack
|
|
29
|
-
* body 16px (spacing-03) — fields/buttons stack (matches
|
|
30
|
-
* Figma "Field+CTAs" gap)
|
|
31
|
-
* footer 8px (spacing-02) — auxiliary links
|
|
32
|
-
*/
|
|
33
|
-
export declare class ZlCard extends LitElement {
|
|
34
|
-
static styles: import("lit").CSSResult[];
|
|
35
|
-
accessor compact: boolean;
|
|
36
|
-
render(): import("lit").TemplateResult<1>;
|
|
37
|
-
/** Slotted nodes are always light-DOM children of the host in our templates. */
|
|
38
|
-
private lightDomSlotFilled;
|
|
39
|
-
}
|
|
40
|
-
export declare const zlCardManifest: AtomManifest;
|
|
41
|
-
declare global {
|
|
42
|
-
interface HTMLElementTagNameMap {
|
|
43
|
-
"zl-card": ZlCard;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
//# sourceMappingURL=zl-card.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"zl-card.d.ts","sourceRoot":"","sources":["../../src/atoms/zl-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,qBACa,MAAO,SAAQ,UAAU;IACpC,OAAgB,MAAM,4BAA6D;IAEvC,QAAQ,CAAC,OAAO,UAAS;IAE5D,MAAM,oCAmBd;IAED,gFAAgF;IAChF,OAAO,CAAC,kBAAkB;CAM3B;AAED,eAAO,MAAM,cAAc,EAAE,YAMnB,CAAC;AAEX,OAAO,CAAC,MAAM,CAAC,CAAC;IACd,UAAU,qBAAqB;QAC7B,SAAS,EAAE,MAAM,CAAC;KACnB;CACF"}
|
package/dist/atoms/zl-field.d.ts
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import type { CreateFlow201StepFieldsType } from "@zitadel/api/generated/model";
|
|
2
|
-
import { LitElement, type PropertyValues } from "lit";
|
|
3
|
-
import type { AtomManifest } from "../manifest.js";
|
|
4
|
-
import "./zl-icon.js";
|
|
5
|
-
/**
|
|
6
|
-
* Alias of the orval-generated wire enum for field types so the atom's
|
|
7
|
-
* accepted `type` values track the API contract exactly.
|
|
8
|
-
*/
|
|
9
|
-
export type ZlFieldType = CreateFlow201StepFieldsType;
|
|
10
|
-
/**
|
|
11
|
-
* Atom: `<zl-field>` — labelled input bound to a step `field`. Visual
|
|
12
|
-
* spec lineage:
|
|
13
|
-
* - design-system master variant set: node `4390:1404` (file
|
|
14
|
-
* `8UjCXw8yemgljmbkWGrSfE`) — Enabled / Hovered / Focused / Filled /
|
|
15
|
-
* Disabled / Error / Success / Password forgot
|
|
16
|
-
*
|
|
17
|
-
* Per-state Figma values (master `4390:1404`):
|
|
18
|
-
*
|
|
19
|
-
* Layout
|
|
20
|
-
* root flex-column, gap=8px (spacing-02)
|
|
21
|
-
* label row optional "Forgot password?" link (#bba5e4, 14/20)
|
|
22
|
-
* input-wrap 40px, padding 8/16, trailing icon at right 15px
|
|
23
|
-
* trailing cross (clear) | alert-circle (error) | check (success)
|
|
24
|
-
*
|
|
25
|
-
* Form participation: `<zl-field>` is a form-associated custom element.
|
|
26
|
-
*/
|
|
27
|
-
export declare class ZlField extends LitElement {
|
|
28
|
-
static formAssociated: boolean;
|
|
29
|
-
static shadowRootOptions: ShadowRootInit;
|
|
30
|
-
static styles: import("lit").CSSResult[];
|
|
31
|
-
/**
|
|
32
|
-
* Field name — used as the key in form submission and in `zl-input` event
|
|
33
|
-
* detail. For form-associated custom elements the browser owns a native
|
|
34
|
-
* `name` property; using `@property()` would create a conflicting accessor
|
|
35
|
-
* that loses sync with the DOM attribute. We therefore manage it manually.
|
|
36
|
-
*/
|
|
37
|
-
get name(): string;
|
|
38
|
-
set name(value: string);
|
|
39
|
-
accessor label: string;
|
|
40
|
-
accessor type: ZlFieldType;
|
|
41
|
-
accessor value: string;
|
|
42
|
-
accessor placeholder: string;
|
|
43
|
-
accessor autocomplete: string | undefined;
|
|
44
|
-
accessor pattern: string | undefined;
|
|
45
|
-
accessor error: string;
|
|
46
|
-
accessor success: string;
|
|
47
|
-
accessor forgotPasswordHref: string | undefined;
|
|
48
|
-
accessor forgotPasswordLabel: string;
|
|
49
|
-
accessor trailingIcon: boolean;
|
|
50
|
-
accessor required: boolean;
|
|
51
|
-
accessor disabled: boolean;
|
|
52
|
-
accessor invalid: boolean;
|
|
53
|
-
private accessor hasHelp;
|
|
54
|
-
private accessor hasSuffixSlot;
|
|
55
|
-
private readonly inputId;
|
|
56
|
-
private readonly internals;
|
|
57
|
-
constructor();
|
|
58
|
-
connectedCallback(): void;
|
|
59
|
-
willUpdate(changed: PropertyValues<this>): void;
|
|
60
|
-
formResetCallback(): void;
|
|
61
|
-
formStateRestoreCallback(state: string | null): void;
|
|
62
|
-
focus(options?: FocusOptions): void;
|
|
63
|
-
render(): import("lit").TemplateResult<1>;
|
|
64
|
-
private renderLabelRow;
|
|
65
|
-
private renderTrailingIcon;
|
|
66
|
-
private syncFormState;
|
|
67
|
-
private handleHelpSlotChange;
|
|
68
|
-
private handleSuffixSlotChange;
|
|
69
|
-
private handleClear;
|
|
70
|
-
private handleInput;
|
|
71
|
-
private handleChange;
|
|
72
|
-
private handleKeyDown;
|
|
73
|
-
}
|
|
74
|
-
export declare const zlFieldManifest: AtomManifest;
|
|
75
|
-
declare global {
|
|
76
|
-
interface HTMLElementTagNameMap {
|
|
77
|
-
"zl-field": ZlField;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
//# sourceMappingURL=zl-field.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"zl-field.d.ts","sourceRoot":"","sources":["../../src/atoms/zl-field.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAE,UAAU,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAOrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,OAAO,cAAc,CAAC;AAGtB;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,2BAA2B,CAAC;AAEtD;;;;;;;;;;;;;;;;GAgBG;AACH,qBACa,OAAQ,SAAQ,UAAU;IACrC,MAAM,CAAC,cAAc,UAAQ;IAE7B,OAAgB,iBAAiB,EAAE,cAAc,CAG/C;IAEF,OAAgB,MAAM,4BAGpB;IAEF;;;;;OAKG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,IAAI,IAAI,CAAC,KAAK,EAAE,MAAM,EAErB;IACW,QAAQ,CAAC,KAAK,SAAM;IACpB,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAU;IACpC,QAAQ,CAAC,KAAK,SAAM;IACpB,QAAQ,CAAC,WAAW,SAAM;IAC1B,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,SAAS,CAAa;IACtD,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAa;IACjD,QAAQ,CAAC,KAAK,SAAM;IACpB,QAAQ,CAAC,OAAO,SAAM;IACe,QAAQ,CAAC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CACpF;IACsC,QAAQ,CAAC,mBAAmB,SACzD;IACoC,QAAQ,CAAC,YAAY,UAAQ;IACzD,QAAQ,CAAC,QAAQ,UAAS;IACX,QAAQ,CAAC,QAAQ,UAAS;IAC1B,QAAQ,CAAC,OAAO,UAAS;IAE5D,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IACjC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAS;IAEhD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAuB;IAC/C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAmB;IAE7C,cAGC;IAEQ,iBAAiB,IAAI,IAAI,CAGjC;IAEQ,UAAU,CAAC,OAAO,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI,CAIvD;IAED,iBAAiB,IAAI,IAAI,CAExB;IAED,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAEnD;IAEQ,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI,CAE3C;IAEQ,MAAM,oCA2Ed;IAED,OAAO,CAAC,cAAc;IA6BtB,OAAO,CAAC,kBAAkB;IAqC1B,OAAO,CAAC,aAAa;IAWrB,OAAO,CAAC,oBAAoB,CAG1B;IAEF,OAAO,CAAC,sBAAsB,CAG5B;IAEF,OAAO,CAAC,WAAW,CAWjB;IAEF,OAAO,CAAC,WAAW,CAUjB;IAEF,OAAO,CAAC,YAAY,CAIlB;IAEF,OAAO,CAAC,aAAa,CAenB;CACH;AAED,eAAO,MAAM,eAAe,EAAE,YAmCpB,CAAC;AAEX,OAAO,CAAC,MAAM,CAAC,CAAC;IACd,UAAU,qBAAqB;QAC7B,UAAU,EAAE,OAAO,CAAC;KACrB;CACF"}
|
package/dist/atoms/zl-icon.d.ts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { LitElement } from "lit";
|
|
2
|
-
import type { AtomManifest } from "../manifest.js";
|
|
3
|
-
/**
|
|
4
|
-
* Atom: `<zl-icon>` — renders a curated glyph from the Lucide icon library.
|
|
5
|
-
*
|
|
6
|
-
* The Figma design system (file `8UjCXw8yemgljmbkWGrSfE`, Icons set
|
|
7
|
-
* `4103:10466`, sizes `16 | 24`) is explicitly built on Lucide. Rather than redrawing every glyph as an
|
|
8
|
-
* inline `<path>` (which inevitably drifts), we curate the auth surface's
|
|
9
|
-
* subset by importing each canonical Lucide node and exposing a stable
|
|
10
|
-
* kebab-case `name` API. To add a glyph: import it from `lucide`, add an
|
|
11
|
-
* entry to {@link ICON_NODES}, and extend the {@link IconName} union.
|
|
12
|
-
*
|
|
13
|
-
* Colour: by default the icon inherits `currentColor`. Set `tone` to one
|
|
14
|
-
* of the semantic states to pick up `--zl-color-icon-{error|success|disabled}`
|
|
15
|
-
* directly. The "palette" colour tokens (`--zl-color-icon-default-*`) are
|
|
16
|
-
* not exposed as `tone` values; consumers wanting those set `color:` on
|
|
17
|
-
* the host.
|
|
18
|
-
*
|
|
19
|
-
* Accessibility: glyphs with an entry in {@link DEFAULT_LABELS} expose an
|
|
20
|
-
* `aria-label` so they're meaningful when used standalone. When the icon
|
|
21
|
-
* is purely decorative (e.g. sitting next to a visible button label),
|
|
22
|
-
* pass `decorative` to force `aria-hidden="true"` and `role="presentation"`,
|
|
23
|
-
* which prevents the icon's name from leaking into the parent's
|
|
24
|
-
* accessible name (e.g. avoids "Loading Loading" on a loading button).
|
|
25
|
-
*/
|
|
26
|
-
export declare class ZlIcon extends LitElement {
|
|
27
|
-
static styles: import("lit").CSSResult[];
|
|
28
|
-
accessor name: IconName;
|
|
29
|
-
accessor size: IconSize;
|
|
30
|
-
accessor tone: IconTone;
|
|
31
|
-
accessor spin: boolean;
|
|
32
|
-
accessor decorative: boolean;
|
|
33
|
-
accessor label: string | undefined;
|
|
34
|
-
render(): import("lit").TemplateResult<1>;
|
|
35
|
-
}
|
|
36
|
-
/** Public, kebab-case glyph IDs. Add a new one by extending both this union and {@link ICON_NODES}. */
|
|
37
|
-
export type IconName = "plus" | "arrow-right" | "arrow-left" | "spinner" | "check" | "cross" | "warning" | "alert-circle" | "info" | "passkey" | "user" | "eye" | "eye-off";
|
|
38
|
-
/** Auth-surface glyph list — keep playgrounds and parity tests in sync. */
|
|
39
|
-
export declare const SHIPPED_ICON_NAMES: readonly ["plus", "arrow-right", "arrow-left", "spinner", "check", "cross", "warning", "alert-circle", "info", "passkey", "user", "eye", "eye-off"];
|
|
40
|
-
export type IconSize = "16" | "24";
|
|
41
|
-
export type IconTone = "default" | "error" | "success" | "disabled";
|
|
42
|
-
export declare const zlIconManifest: AtomManifest;
|
|
43
|
-
declare global {
|
|
44
|
-
interface HTMLElementTagNameMap {
|
|
45
|
-
"zl-icon": ZlIcon;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
//# sourceMappingURL=zl-icon.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"zl-icon.d.ts","sourceRoot":"","sources":["../../src/atoms/zl-icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAiB,MAAM,KAAK,CAAC;AAuBhD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,qBACa,MAAO,SAAQ,UAAU;IAEpC,OAAgB,MAAM,4BAAwC;IAElD,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAU;IAEhB,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAQ;IAE/B,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAa;IAErB,QAAQ,CAAC,IAAI,UAAS;IAEtB,QAAQ,CAAC,UAAU,UAAS;IAE5D,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAa;IAElD,MAAM,oCA0Bd;CACF;AAED,uGAAuG;AACvG,MAAM,MAAM,QAAQ,GAChB,MAAM,GACN,aAAa,GACb,YAAY,GACZ,SAAS,GACT,OAAO,GACP,OAAO,GACP,SAAS,GACT,cAAc,GACd,MAAM,GACN,SAAS,GACT,MAAM,GACN,KAAK,GACL,SAAS,CAAC;AAEd,2EAA2E;AAC3E,eAAO,MAAM,kBAAkB,qJAcS,CAAC;AAEzC,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,IAAI,CAAC;AAEnC,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAAC;AAoDpE,eAAO,MAAM,cAAc,EAAE,YAMnB,CAAC;AAEX,OAAO,CAAC,MAAM,CAAC,CAAC;IACd,UAAU,qBAAqB;QAC7B,SAAS,EAAE,MAAM,CAAC;KACnB;CACF"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { LitElement } from "lit";
|
|
2
|
-
import type { AtomManifest } from "../manifest.js";
|
|
3
|
-
/**
|
|
4
|
-
* Atom: `<zl-page-shell>` — the full-bleed auth-page chrome the
|
|
5
|
-
* orchestrator injects around every flow template. Responsible for the
|
|
6
|
-
* dark background, vertical centring, responsive padding, and footer
|
|
7
|
-
* attribution slot.
|
|
8
|
-
*
|
|
9
|
-
* Spec lineage (file `xkvBjkOJ8ENuHdTGZHXezK`):
|
|
10
|
-
* - 2xl frames (1536 × 960), e.g. sign-up `6593:141741`, passkey
|
|
11
|
-
* `6594:630`, signed-in `6596:132844`. The outer wrapper uses
|
|
12
|
-
* `py-[52px]` (vertical padding) with `p-[16px]` (spacing-03) on
|
|
13
|
-
* the inner Form container, giving 52px / 16px at 2xl.
|
|
14
|
-
*
|
|
15
|
-
* Per-state Figma values:
|
|
16
|
-
*
|
|
17
|
-
* background surface.default-black (#0f0f11)
|
|
18
|
-
* color text.primary-white (#f4f4f6) inherited
|
|
19
|
-
* min-height 100vh — anchors footer to the viewport bottom even on
|
|
20
|
-
* short cards
|
|
21
|
-
* padding @md+ padding-block 52px, padding-inline 16px (matches
|
|
22
|
-
* Figma 2xl wrapper). 52px isn't a token; use raw value.
|
|
23
|
-
* padding @xs (< 48rem)
|
|
24
|
-
* padding-block 32px (spacing-05), padding-inline 16px
|
|
25
|
-
* (spacing-03) — tighter so the card breathes on
|
|
26
|
-
* narrow phones.
|
|
27
|
-
* gap 24px (spacing-04) between header / main / footer slots
|
|
28
|
-
* footer min-height 1.5rem to reserve room for the attribution
|
|
29
|
-
* pill even when the slot is empty (prevents jitter).
|
|
30
|
-
*/
|
|
31
|
-
export declare class ZlPageShell extends LitElement {
|
|
32
|
-
static styles: import("lit").CSSResult[];
|
|
33
|
-
render(): import("lit").TemplateResult<1>;
|
|
34
|
-
private lightDomSlotFilled;
|
|
35
|
-
}
|
|
36
|
-
export declare const zlPageShellManifest: AtomManifest;
|
|
37
|
-
declare global {
|
|
38
|
-
interface HTMLElementTagNameMap {
|
|
39
|
-
"zl-page-shell": ZlPageShell;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
//# sourceMappingURL=zl-page-shell.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"zl-page-shell.d.ts","sourceRoot":"","sources":["../../src/atoms/zl-page-shell.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,qBACa,WAAY,SAAQ,UAAU;IACzC,OAAgB,MAAM,4BAGpB;IAEO,MAAM,oCAsBd;IAED,OAAO,CAAC,kBAAkB;CAM3B;AAED,eAAO,MAAM,mBAAmB,EAAE,YAMxB,CAAC;AAEX,OAAO,CAAC,MAAM,CAAC,CAAC;IACd,UAAU,qBAAqB;QAC7B,eAAe,EAAE,WAAW,CAAC;KAC9B;CACF"}
|