@skdx/web-components-blocks 0.39.0 → 0.40.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/custom-elements.json +601 -586
- package/dist/dashboard-layout/DashboardLayout.cjs +16 -16
- package/dist/dashboard-layout/DashboardLayout.d.cts +9 -3
- package/dist/dashboard-layout/DashboardLayout.d.ts +9 -3
- package/dist/dashboard-layout/DashboardLayout.js +14 -14
- package/dist/empty-state/EmptyState.cjs +2 -2
- package/dist/empty-state/EmptyState.d.cts +2 -2
- package/dist/empty-state/EmptyState.d.ts +2 -2
- package/dist/empty-state/EmptyState.js +2 -2
- package/dist/forgot-password-page/ForgotPasswordPage.cjs +1 -1
- package/dist/forgot-password-page/ForgotPasswordPage.d.cts +1 -1
- package/dist/forgot-password-page/ForgotPasswordPage.d.ts +1 -1
- package/dist/forgot-password-page/ForgotPasswordPage.js +1 -1
- package/dist/form-section/FormSection.cjs +2 -2
- package/dist/form-section/FormSection.d.cts +2 -2
- package/dist/form-section/FormSection.d.ts +2 -2
- package/dist/form-section/FormSection.js +2 -2
- package/dist/internal/define.cjs +1 -1
- package/dist/internal/define.js +1 -1
- package/dist/notification-center/NotificationCenter.cjs +1 -1
- package/dist/notification-center/NotificationCenter.d.cts +1 -1
- package/dist/notification-center/NotificationCenter.d.ts +1 -1
- package/dist/notification-center/NotificationCenter.js +1 -1
- package/dist/onboarding-checklist/OnboardingChecklist.cjs +1 -1
- package/dist/onboarding-checklist/OnboardingChecklist.d.cts +2 -2
- package/dist/onboarding-checklist/OnboardingChecklist.d.ts +2 -2
- package/dist/onboarding-checklist/OnboardingChecklist.js +1 -1
- package/dist/page-container/PageContainer.cjs +6 -6
- package/dist/page-container/PageContainer.d.cts +2 -2
- package/dist/page-container/PageContainer.d.ts +2 -2
- package/dist/page-container/PageContainer.js +2 -2
- package/dist/reset-password-page/ResetPasswordPage.cjs +1 -1
- package/dist/reset-password-page/ResetPasswordPage.d.cts +1 -1
- package/dist/reset-password-page/ResetPasswordPage.d.ts +1 -1
- package/dist/reset-password-page/ResetPasswordPage.js +1 -1
- package/dist/sign-in-page/SignInPage.cjs +3 -3
- package/dist/sign-in-page/SignInPage.d.cts +1 -1
- package/dist/sign-in-page/SignInPage.d.ts +1 -1
- package/dist/sign-in-page/SignInPage.js +3 -3
- package/dist/sign-up-page/SignUpPage.cjs +1 -1
- package/dist/sign-up-page/SignUpPage.d.cts +1 -1
- package/dist/sign-up-page/SignUpPage.d.ts +1 -1
- package/dist/sign-up-page/SignUpPage.js +1 -1
- package/dist/verification-page/VerificationPage.cjs +1 -1
- package/dist/verification-page/VerificationPage.d.cts +1 -1
- package/dist/verification-page/VerificationPage.d.ts +1 -1
- package/dist/verification-page/VerificationPage.js +1 -1
- package/dist/workspace-switcher/WorkspaceSwitcher.d.cts +0 -1
- package/dist/workspace-switcher/WorkspaceSwitcher.d.ts +0 -1
- package/package.json +3 -3
|
@@ -20,7 +20,7 @@ export interface SkdxPageContainerBreadcrumb {
|
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
22
|
* ```html
|
|
23
|
-
* <skdx-page-container
|
|
23
|
+
* <skdx-page-container heading="Billing">
|
|
24
24
|
* <skdx-button slot="actions">Export</skdx-button>
|
|
25
25
|
* <p>Invoices and payment methods.</p>
|
|
26
26
|
* </skdx-page-container>
|
|
@@ -32,7 +32,7 @@ export interface SkdxPageContainerBreadcrumb {
|
|
|
32
32
|
export declare class SkdxPageContainer extends LitElement {
|
|
33
33
|
/** Light DOM, so `@skdx/skins` and consumer CSS reach the composed core elements. */
|
|
34
34
|
createRenderRoot(): HTMLElement | DocumentFragment;
|
|
35
|
-
/** The page heading text, rendered into a derived Heading that also names the section. */
|
|
35
|
+
/** The page heading text, rendered into a derived Heading that also names the section. The JavaScript property is `title`. */
|
|
36
36
|
title: string;
|
|
37
37
|
/**
|
|
38
38
|
* Heading level of the derived title. A page container normally holds the page's only `<h1>`; lower it when the block sits inside a larger outline.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var p=Object.defineProperty;var
|
|
1
|
+
var p=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var r=(o,a,i,s)=>{for(var t=s>1?void 0:s?u(a,i):a,d=o.length-1,l;d>=0;d--)(l=o[d])&&(t=(s?l(a,i,t):l(t))||t);return s&&t&&p(a,i,t),t};import{html as c,LitElement as m,nothing as b}from"lit";import{property as n}from"lit/decorators.js";import{customElement as g}from"../internal/define.js";import{placeSlotted as h}from"../internal/slots.js";import"@skdx/web-components/breadcrumb";import"@skdx/web-components/heading";import"@skdx/web-components/toolbar";var k="data-skdx-page-container-generated",x=0,e=class extends m{constructor(){super(...arguments);this.headingLevel=1;this.breadcrumbLabel="Breadcrumb";this.actionsLabel="Page actions";this.titleId=`skdx-page-container-title-${++x}`}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.setAttribute("role","region"),this.setAttribute("aria-labelledby",this.titleId),queueMicrotask(()=>this.requestUpdate())}get hasActions(){return this.querySelector('[slot="actions"], [data-skdx-slot="actions"]')!==null}region(i){return this.querySelector(`.skdx-page-container__${i}`)}updated(){h(this,k,{actions:this.region("actions")},this.region("content"))}render(){return c`
|
|
2
2
|
<header
|
|
3
3
|
class="skdx-page-container__header"
|
|
4
4
|
data-skdx-page-container-generated
|
|
@@ -26,4 +26,4 @@ var p=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var r=(o,a,i,n
|
|
|
26
26
|
class="skdx-page-container__content"
|
|
27
27
|
data-skdx-page-container-generated
|
|
28
28
|
></div>
|
|
29
|
-
`}};r([
|
|
29
|
+
`}};r([n({type:String,attribute:"heading"})],e.prototype,"title",2),r([n({type:Number,attribute:"heading-level"})],e.prototype,"headingLevel",2),r([n({attribute:!1})],e.prototype,"breadcrumbs",2),r([n({type:String,attribute:"breadcrumb-label"})],e.prototype,"breadcrumbLabel",2),r([n({type:String,attribute:"actions-label"})],e.prototype,"actionsLabel",2),e=r([g("skdx-page-container","page-container","root")],e);export{e as SkdxPageContainer};
|
|
@@ -67,4 +67,4 @@
|
|
|
67
67
|
</skdx-form>`}
|
|
68
68
|
${this.hasSlotted("footer")?s.html`<div class="skdx-reset-password-page__footer"></div>`:s.nothing}
|
|
69
69
|
</div>
|
|
70
|
-
`}};d([(0,n.property)({type:String})],i.prototype,"title",2),d([(0,n.property)({type:String})],i.prototype,"error",2),d([(0,n.property)({type:String})],i.prototype,"success",2),d([(0,n.property)({type:Boolean})],i.prototype,"pending",2),d([(0,n.property)({type:String,attribute:"password-label"})],i.prototype,"passwordLabel",2),d([(0,n.property)({type:String,attribute:"confirm-password-label"})],i.prototype,"confirmPasswordLabel",2),d([(0,n.property)({type:String,attribute:"password-mismatch-message"})],i.prototype,"passwordMismatchMessage",2),d([(0,n.property)({type:String,attribute:"submit-label"})],i.prototype,"submitLabel",2),i=d([(0,w.customElement)("skdx-reset-password-page","reset-password-page","root")],i);function k(a,t){return a.querySelector(`[name="${t}"]`)}0&&(module.exports={SkdxResetPasswordPage});
|
|
70
|
+
`}};d([(0,n.property)({type:String,attribute:"heading"})],i.prototype,"title",2),d([(0,n.property)({type:String})],i.prototype,"error",2),d([(0,n.property)({type:String})],i.prototype,"success",2),d([(0,n.property)({type:Boolean})],i.prototype,"pending",2),d([(0,n.property)({type:String,attribute:"password-label"})],i.prototype,"passwordLabel",2),d([(0,n.property)({type:String,attribute:"confirm-password-label"})],i.prototype,"confirmPasswordLabel",2),d([(0,n.property)({type:String,attribute:"password-mismatch-message"})],i.prototype,"passwordMismatchMessage",2),d([(0,n.property)({type:String,attribute:"submit-label"})],i.prototype,"submitLabel",2),i=d([(0,w.customElement)("skdx-reset-password-page","reset-password-page","root")],i);function k(a,t){return a.querySelector(`[name="${t}"]`)}0&&(module.exports={SkdxResetPasswordPage});
|
|
@@ -44,7 +44,7 @@ export declare class SkdxResetPasswordPage extends LitElement {
|
|
|
44
44
|
/** Light DOM, so `@skdx/skins` and consumer CSS reach the composed core elements. */
|
|
45
45
|
createRenderRoot(): HTMLElement | DocumentFragment;
|
|
46
46
|
/**
|
|
47
|
-
* Heading text, rendered into a derived `<h1>` that names the section.
|
|
47
|
+
* Heading text, rendered into a derived `<h1>` that names the section. The JavaScript property is `title`.
|
|
48
48
|
* @default 'Choose a new password'
|
|
49
49
|
*/
|
|
50
50
|
title: string;
|
|
@@ -44,7 +44,7 @@ export declare class SkdxResetPasswordPage extends LitElement {
|
|
|
44
44
|
/** Light DOM, so `@skdx/skins` and consumer CSS reach the composed core elements. */
|
|
45
45
|
createRenderRoot(): HTMLElement | DocumentFragment;
|
|
46
46
|
/**
|
|
47
|
-
* Heading text, rendered into a derived `<h1>` that names the section.
|
|
47
|
+
* Heading text, rendered into a derived `<h1>` that names the section. The JavaScript property is `title`.
|
|
48
48
|
* @default 'Choose a new password'
|
|
49
49
|
*/
|
|
50
50
|
title: string;
|
|
@@ -67,4 +67,4 @@ var h=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var r=(l,n,e,a
|
|
|
67
67
|
</skdx-form>`}
|
|
68
68
|
${this.hasSlotted("footer")?o`<div class="skdx-reset-password-page__footer"></div>`:p}
|
|
69
69
|
</div>
|
|
70
|
-
`}};r([d({type:String})],t.prototype,"title",2),r([d({type:String})],t.prototype,"error",2),r([d({type:String})],t.prototype,"success",2),r([d({type:Boolean})],t.prototype,"pending",2),r([d({type:String,attribute:"password-label"})],t.prototype,"passwordLabel",2),r([d({type:String,attribute:"confirm-password-label"})],t.prototype,"confirmPasswordLabel",2),r([d({type:String,attribute:"password-mismatch-message"})],t.prototype,"passwordMismatchMessage",2),r([d({type:String,attribute:"submit-label"})],t.prototype,"submitLabel",2),t=r([x("skdx-reset-password-page","reset-password-page","root")],t);function g(l,n){return l.querySelector(`[name="${n}"]`)}export{t as SkdxResetPasswordPage};
|
|
70
|
+
`}};r([d({type:String,attribute:"heading"})],t.prototype,"title",2),r([d({type:String})],t.prototype,"error",2),r([d({type:String})],t.prototype,"success",2),r([d({type:Boolean})],t.prototype,"pending",2),r([d({type:String,attribute:"password-label"})],t.prototype,"passwordLabel",2),r([d({type:String,attribute:"confirm-password-label"})],t.prototype,"confirmPasswordLabel",2),r([d({type:String,attribute:"password-mismatch-message"})],t.prototype,"passwordMismatchMessage",2),r([d({type:String,attribute:"submit-label"})],t.prototype,"submitLabel",2),t=r([x("skdx-reset-password-page","reset-password-page","root")],t);function g(l,n){return l.querySelector(`[name="${n}"]`)}export{t as SkdxResetPasswordPage};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var m=Object.defineProperty;var
|
|
1
|
+
"use strict";var m=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var f=(s,r)=>{for(var e in r)m(s,e,{get:r[e],enumerable:!0})},_=(s,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of x(r))!h.call(s,t)&&t!==e&&m(s,t,{get:()=>r[t],enumerable:!(i=u(r,t))||i.enumerable});return s};var $=s=>_(m({},"__esModule",{value:!0}),s),l=(s,r,e,i)=>{for(var t=i>1?void 0:i?u(r,e):r,p=s.length-1,a;p>=0;p--)(a=s[p])&&(t=(i?a(r,e,t):a(t))||t);return i&&t&&m(r,e,t),t};var y={};f(y,{SkdxSignInPage:()=>d,defaultProviderLabel:()=>k});module.exports=$(y);var n=require("lit"),o=require("lit/decorators.js"),v=require("../internal/define.cjs"),g=require("../internal/events.cjs"),E=require("@skdx/web-components/alert"),S=require("@skdx/web-components/button"),I=require("@skdx/web-components/divider"),R=require("@skdx/web-components/field"),T=require("@skdx/web-components/form"),D=require("@skdx/web-components/heading"),q=require("@skdx/web-components/password-input"),M=require("@skdx/web-components/text-field");function k(s){return`Sign in with ${s.name}`}var c=new Set(["credentials","magic-link"]),L=0,d=class extends n.LitElement{constructor(){super(...arguments);this.title="Sign in";this.emailLabel="Email";this.passwordLabel="Password";this.submitLabel="Sign in";this.magicLinkLabel="Send magic link";this.titleId=`skdx-sign-in-page-title-${++L}`;this.handleSubmit=e=>{let i=e.target?.closest("skdx-form[data-provider]");if(!i)return;e.preventDefault();let t=i.getAttribute("data-provider")??"",p=b(i,"email");(0,g.emit)(this,"sign-in",t==="credentials"?{providerId:t,email:p,password:b(i,"password")}:{providerId:t,email:p})}}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.setAttribute("role","region"),this.setAttribute("aria-labelledby",this.titleId),this.addEventListener("submit",this.handleSubmit)}disconnectedCallback(){this.removeEventListener("submit",this.handleSubmit),super.disconnectedCallback()}signInWithProvider(e){(0,g.emit)(this,"sign-in",{providerId:e})}signInForm(e){let i=e.id==="credentials";return n.html`<skdx-form
|
|
2
2
|
class="skdx-sign-in-page__form"
|
|
3
3
|
data-provider=${e.id}
|
|
4
4
|
>
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
>${i?this.submitLabel:this.magicLinkLabel}</skdx-button
|
|
36
36
|
>
|
|
37
37
|
</form>
|
|
38
|
-
</skdx-form>`}render(){let e=this.providers??[],i=e.filter(a=>!
|
|
38
|
+
</skdx-form>`}render(){let e=this.providers??[],i=e.filter(a=>!c.has(a.id)),t=e.filter(a=>c.has(a.id)),p=this.getProviderLabel??k;return n.html`
|
|
39
39
|
<div class="skdx-sign-in-page__panel">
|
|
40
40
|
<skdx-heading
|
|
41
41
|
class="skdx-sign-in-page__title"
|
|
@@ -61,4 +61,4 @@
|
|
|
61
61
|
${i.length&&t.length?n.html`<skdx-divider class="skdx-sign-in-page__divider"></skdx-divider>`:n.nothing}
|
|
62
62
|
${t.map(a=>this.signInForm(a))}
|
|
63
63
|
</div>
|
|
64
|
-
`}};l([(0,o.property)({type:String})],d.prototype,"title",2),l([(0,o.property)({attribute:!1})],d.prototype,"providers",2),l([(0,o.property)({type:String})],d.prototype,"error",2),l([(0,o.property)({type:String,attribute:"email-label"})],d.prototype,"emailLabel",2),l([(0,o.property)({type:String,attribute:"password-label"})],d.prototype,"passwordLabel",2),l([(0,o.property)({type:String,attribute:"submit-label"})],d.prototype,"submitLabel",2),l([(0,o.property)({type:String,attribute:"magic-link-label"})],d.prototype,"magicLinkLabel",2),l([(0,o.property)({attribute:!1})],d.prototype,"getProviderLabel",2),d=l([(0,v.customElement)("skdx-sign-in-page","sign-in-page","root")],d);function b(s,r){return s.querySelector(`[name="${r}"]`)?.value??""}0&&(module.exports={SkdxSignInPage,defaultProviderLabel});
|
|
64
|
+
`}};l([(0,o.property)({type:String,attribute:"heading"})],d.prototype,"title",2),l([(0,o.property)({attribute:!1})],d.prototype,"providers",2),l([(0,o.property)({type:String})],d.prototype,"error",2),l([(0,o.property)({type:String,attribute:"email-label"})],d.prototype,"emailLabel",2),l([(0,o.property)({type:String,attribute:"password-label"})],d.prototype,"passwordLabel",2),l([(0,o.property)({type:String,attribute:"submit-label"})],d.prototype,"submitLabel",2),l([(0,o.property)({type:String,attribute:"magic-link-label"})],d.prototype,"magicLinkLabel",2),l([(0,o.property)({attribute:!1})],d.prototype,"getProviderLabel",2),d=l([(0,v.customElement)("skdx-sign-in-page","sign-in-page","root")],d);function b(s,r){return s.querySelector(`[name="${r}"]`)?.value??""}0&&(module.exports={SkdxSignInPage,defaultProviderLabel});
|
|
@@ -49,7 +49,7 @@ export declare class SkdxSignInPage extends LitElement {
|
|
|
49
49
|
/** Light DOM, so `@skdx/skins` and consumer CSS reach the composed core elements. */
|
|
50
50
|
createRenderRoot(): HTMLElement | DocumentFragment;
|
|
51
51
|
/**
|
|
52
|
-
* Heading text, rendered into a derived `<h1>` that names the section.
|
|
52
|
+
* Heading text, rendered into a derived `<h1>` that names the section. The JavaScript property is `title`.
|
|
53
53
|
* @default 'Sign in'
|
|
54
54
|
*/
|
|
55
55
|
title: string;
|
|
@@ -49,7 +49,7 @@ export declare class SkdxSignInPage extends LitElement {
|
|
|
49
49
|
/** Light DOM, so `@skdx/skins` and consumer CSS reach the composed core elements. */
|
|
50
50
|
createRenderRoot(): HTMLElement | DocumentFragment;
|
|
51
51
|
/**
|
|
52
|
-
* Heading text, rendered into a derived `<h1>` that names the section.
|
|
52
|
+
* Heading text, rendered into a derived `<h1>` that names the section. The JavaScript property is `title`.
|
|
53
53
|
* @default 'Sign in'
|
|
54
54
|
*/
|
|
55
55
|
title: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var b=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var n=(l,o,t,e)=>{for(var i=e>1?void 0:e?v(o,t):o,a=l.length-1,r;a>=0;a--)(r=l[a])&&(i=(e?r(o,t,i):r(i))||i);return e&&i&&b(o,t,i),i};import{html as p,LitElement as k,nothing as m}from"lit";import{property as d}from"lit/decorators.js";import{customElement as x}from"../internal/define.js";import{emit as g}from"../internal/events.js";import"@skdx/web-components/alert";import"@skdx/web-components/button";import"@skdx/web-components/divider";import"@skdx/web-components/field";import"@skdx/web-components/form";import"@skdx/web-components/heading";import"@skdx/web-components/password-input";import"@skdx/web-components/text-field";function h(l){return`Sign in with ${l.name}`}var
|
|
1
|
+
var b=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var n=(l,o,t,e)=>{for(var i=e>1?void 0:e?v(o,t):o,a=l.length-1,r;a>=0;a--)(r=l[a])&&(i=(e?r(o,t,i):r(i))||i);return e&&i&&b(o,t,i),i};import{html as p,LitElement as k,nothing as m}from"lit";import{property as d}from"lit/decorators.js";import{customElement as x}from"../internal/define.js";import{emit as g}from"../internal/events.js";import"@skdx/web-components/alert";import"@skdx/web-components/button";import"@skdx/web-components/divider";import"@skdx/web-components/field";import"@skdx/web-components/form";import"@skdx/web-components/heading";import"@skdx/web-components/password-input";import"@skdx/web-components/text-field";function h(l){return`Sign in with ${l.name}`}var u=new Set(["credentials","magic-link"]),f=0,s=class extends k{constructor(){super(...arguments);this.title="Sign in";this.emailLabel="Email";this.passwordLabel="Password";this.submitLabel="Sign in";this.magicLinkLabel="Send magic link";this.titleId=`skdx-sign-in-page-title-${++f}`;this.handleSubmit=t=>{let e=t.target?.closest("skdx-form[data-provider]");if(!e)return;t.preventDefault();let i=e.getAttribute("data-provider")??"",a=c(e,"email");g(this,"sign-in",i==="credentials"?{providerId:i,email:a,password:c(e,"password")}:{providerId:i,email:a})}}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.setAttribute("role","region"),this.setAttribute("aria-labelledby",this.titleId),this.addEventListener("submit",this.handleSubmit)}disconnectedCallback(){this.removeEventListener("submit",this.handleSubmit),super.disconnectedCallback()}signInWithProvider(t){g(this,"sign-in",{providerId:t})}signInForm(t){let e=t.id==="credentials";return p`<skdx-form
|
|
2
2
|
class="skdx-sign-in-page__form"
|
|
3
3
|
data-provider=${t.id}
|
|
4
4
|
>
|
|
@@ -35,7 +35,7 @@ var b=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var n=(l,o,t,e
|
|
|
35
35
|
>${e?this.submitLabel:this.magicLinkLabel}</skdx-button
|
|
36
36
|
>
|
|
37
37
|
</form>
|
|
38
|
-
</skdx-form>`}render(){let t=this.providers??[],e=t.filter(r=>!
|
|
38
|
+
</skdx-form>`}render(){let t=this.providers??[],e=t.filter(r=>!u.has(r.id)),i=t.filter(r=>u.has(r.id)),a=this.getProviderLabel??h;return p`
|
|
39
39
|
<div class="skdx-sign-in-page__panel">
|
|
40
40
|
<skdx-heading
|
|
41
41
|
class="skdx-sign-in-page__title"
|
|
@@ -61,4 +61,4 @@ var b=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var n=(l,o,t,e
|
|
|
61
61
|
${e.length&&i.length?p`<skdx-divider class="skdx-sign-in-page__divider"></skdx-divider>`:m}
|
|
62
62
|
${i.map(r=>this.signInForm(r))}
|
|
63
63
|
</div>
|
|
64
|
-
`}};n([d({type:String})],s.prototype,"title",2),n([d({attribute:!1})],s.prototype,"providers",2),n([d({type:String})],s.prototype,"error",2),n([d({type:String,attribute:"email-label"})],s.prototype,"emailLabel",2),n([d({type:String,attribute:"password-label"})],s.prototype,"passwordLabel",2),n([d({type:String,attribute:"submit-label"})],s.prototype,"submitLabel",2),n([d({type:String,attribute:"magic-link-label"})],s.prototype,"magicLinkLabel",2),n([d({attribute:!1})],s.prototype,"getProviderLabel",2),s=n([x("skdx-sign-in-page","sign-in-page","root")],s);function
|
|
64
|
+
`}};n([d({type:String,attribute:"heading"})],s.prototype,"title",2),n([d({attribute:!1})],s.prototype,"providers",2),n([d({type:String})],s.prototype,"error",2),n([d({type:String,attribute:"email-label"})],s.prototype,"emailLabel",2),n([d({type:String,attribute:"password-label"})],s.prototype,"passwordLabel",2),n([d({type:String,attribute:"submit-label"})],s.prototype,"submitLabel",2),n([d({type:String,attribute:"magic-link-label"})],s.prototype,"magicLinkLabel",2),n([d({attribute:!1})],s.prototype,"getProviderLabel",2),s=n([x("skdx-sign-in-page","sign-in-page","root")],s);function c(l,o){return l.querySelector(`[name="${o}"]`)?.value??""}export{s as SkdxSignInPage,h as defaultProviderLabel};
|
|
@@ -107,4 +107,4 @@
|
|
|
107
107
|
</skdx-form>
|
|
108
108
|
${this.hasSlotted("footer")?r.html`<div class="skdx-sign-up-page__footer"></div>`:r.nothing}
|
|
109
109
|
</div>
|
|
110
|
-
`}};n([(0,l.property)({type:String})],d.prototype,"title",2),n([(0,l.property)({attribute:!1})],d.prototype,"providers",2),n([(0,l.property)({type:String})],d.prototype,"error",2),n([(0,l.property)({type:Boolean})],d.prototype,"pending",2),n([(0,l.property)({type:String,attribute:"name-label"})],d.prototype,"nameLabel",2),n([(0,l.property)({type:String,attribute:"email-label"})],d.prototype,"emailLabel",2),n([(0,l.property)({type:String,attribute:"password-label"})],d.prototype,"passwordLabel",2),n([(0,l.property)({type:String,attribute:"confirm-password-label"})],d.prototype,"confirmPasswordLabel",2),n([(0,l.property)({type:String,attribute:"password-mismatch-message"})],d.prototype,"passwordMismatchMessage",2),n([(0,l.property)({type:String,attribute:"submit-label"})],d.prototype,"submitLabel",2),n([(0,l.property)({attribute:!1})],d.prototype,"getProviderLabel",2),n([(0,l.state)()],d.prototype,"termsError",2),d=n([(0,b.customElement)("skdx-sign-up-page","sign-up-page","root")],d);function v(a,t){return a.querySelector(`[name="${t}"]`)}function c(a,t){return v(a,t)?.value??""}function q(a){return a.querySelector('[name="terms"]')?.checked===!0}0&&(module.exports={SkdxSignUpPage});
|
|
110
|
+
`}};n([(0,l.property)({type:String,attribute:"heading"})],d.prototype,"title",2),n([(0,l.property)({attribute:!1})],d.prototype,"providers",2),n([(0,l.property)({type:String})],d.prototype,"error",2),n([(0,l.property)({type:Boolean})],d.prototype,"pending",2),n([(0,l.property)({type:String,attribute:"name-label"})],d.prototype,"nameLabel",2),n([(0,l.property)({type:String,attribute:"email-label"})],d.prototype,"emailLabel",2),n([(0,l.property)({type:String,attribute:"password-label"})],d.prototype,"passwordLabel",2),n([(0,l.property)({type:String,attribute:"confirm-password-label"})],d.prototype,"confirmPasswordLabel",2),n([(0,l.property)({type:String,attribute:"password-mismatch-message"})],d.prototype,"passwordMismatchMessage",2),n([(0,l.property)({type:String,attribute:"submit-label"})],d.prototype,"submitLabel",2),n([(0,l.property)({attribute:!1})],d.prototype,"getProviderLabel",2),n([(0,l.state)()],d.prototype,"termsError",2),d=n([(0,b.customElement)("skdx-sign-up-page","sign-up-page","root")],d);function v(a,t){return a.querySelector(`[name="${t}"]`)}function c(a,t){return v(a,t)?.value??""}function q(a){return a.querySelector('[name="terms"]')?.checked===!0}0&&(module.exports={SkdxSignUpPage});
|
|
@@ -55,7 +55,7 @@ export declare class SkdxSignUpPage extends LitElement {
|
|
|
55
55
|
/** Light DOM, so `@skdx/skins` and consumer CSS reach the composed core elements. */
|
|
56
56
|
createRenderRoot(): HTMLElement | DocumentFragment;
|
|
57
57
|
/**
|
|
58
|
-
* Heading text, rendered into a derived `<h1>` that names the section.
|
|
58
|
+
* Heading text, rendered into a derived `<h1>` that names the section. The JavaScript property is `title`.
|
|
59
59
|
* @default 'Create account'
|
|
60
60
|
*/
|
|
61
61
|
title: string;
|
|
@@ -55,7 +55,7 @@ export declare class SkdxSignUpPage extends LitElement {
|
|
|
55
55
|
/** Light DOM, so `@skdx/skins` and consumer CSS reach the composed core elements. */
|
|
56
56
|
createRenderRoot(): HTMLElement | DocumentFragment;
|
|
57
57
|
/**
|
|
58
|
-
* Heading text, rendered into a derived `<h1>` that names the section.
|
|
58
|
+
* Heading text, rendered into a derived `<h1>` that names the section. The JavaScript property is `title`.
|
|
59
59
|
* @default 'Create account'
|
|
60
60
|
*/
|
|
61
61
|
title: string;
|
|
@@ -107,4 +107,4 @@ var k=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var r=(n,d,e,t
|
|
|
107
107
|
</skdx-form>
|
|
108
108
|
${this.hasSlotted("footer")?l`<div class="skdx-sign-up-page__footer"></div>`:u}
|
|
109
109
|
</div>
|
|
110
|
-
`}};r([a({type:String})],s.prototype,"title",2),r([a({attribute:!1})],s.prototype,"providers",2),r([a({type:String})],s.prototype,"error",2),r([a({type:Boolean})],s.prototype,"pending",2),r([a({type:String,attribute:"name-label"})],s.prototype,"nameLabel",2),r([a({type:String,attribute:"email-label"})],s.prototype,"emailLabel",2),r([a({type:String,attribute:"password-label"})],s.prototype,"passwordLabel",2),r([a({type:String,attribute:"confirm-password-label"})],s.prototype,"confirmPasswordLabel",2),r([a({type:String,attribute:"password-mismatch-message"})],s.prototype,"passwordMismatchMessage",2),r([a({type:String,attribute:"submit-label"})],s.prototype,"submitLabel",2),r([a({attribute:!1})],s.prototype,"getProviderLabel",2),r([v()],s.prototype,"termsError",2),s=r([E("skdx-sign-up-page","sign-up-page","root")],s);function x(n,d){return n.querySelector(`[name="${d}"]`)}function m(n,d){return x(n,d)?.value??""}function M(n){return n.querySelector('[name="terms"]')?.checked===!0}export{s as SkdxSignUpPage};
|
|
110
|
+
`}};r([a({type:String,attribute:"heading"})],s.prototype,"title",2),r([a({attribute:!1})],s.prototype,"providers",2),r([a({type:String})],s.prototype,"error",2),r([a({type:Boolean})],s.prototype,"pending",2),r([a({type:String,attribute:"name-label"})],s.prototype,"nameLabel",2),r([a({type:String,attribute:"email-label"})],s.prototype,"emailLabel",2),r([a({type:String,attribute:"password-label"})],s.prototype,"passwordLabel",2),r([a({type:String,attribute:"confirm-password-label"})],s.prototype,"confirmPasswordLabel",2),r([a({type:String,attribute:"password-mismatch-message"})],s.prototype,"passwordMismatchMessage",2),r([a({type:String,attribute:"submit-label"})],s.prototype,"submitLabel",2),r([a({attribute:!1})],s.prototype,"getProviderLabel",2),r([v()],s.prototype,"termsError",2),s=r([E("skdx-sign-up-page","sign-up-page","root")],s);function x(n,d){return n.querySelector(`[name="${d}"]`)}function m(n,d){return x(n,d)?.value??""}function M(n){return n.querySelector('[name="terms"]')?.checked===!0}export{s as SkdxSignUpPage};
|
|
@@ -63,4 +63,4 @@
|
|
|
63
63
|
</div>`:n.nothing}
|
|
64
64
|
${this.hasSlotted("footer")?n.html`<div class="skdx-verification-page__footer"></div>`:n.nothing}
|
|
65
65
|
</div>
|
|
66
|
-
`}};a([(0,o.property)({type:String})],r.prototype,"title",2),a([(0,o.property)({type:String})],r.prototype,"description",2),a([(0,o.property)({type:String})],r.prototype,"error",2),a([(0,o.property)({type:Boolean})],r.prototype,"pending",2),a([(0,o.property)({type:String,attribute:"code-label"})],r.prototype,"codeLabel",2),a([(0,o.property)({type:Number})],r.prototype,"length",2),a([(0,o.property)({type:String})],r.prototype,"value",2),a([(0,o.property)({type:String,attribute:"default-value"})],r.prototype,"defaultValue",2),a([(0,o.property)({type:String,attribute:"submit-label"})],r.prototype,"submitLabel",2),a([(0,o.property)({type:String,attribute:"resend-label"})],r.prototype,"resendLabel",2),a([(0,o.property)({type:Boolean,attribute:"resend-disabled"})],r.prototype,"resendDisabled",2),a([(0,o.property)({type:String,attribute:"resend-hint"})],r.prototype,"resendHint",2),a([(0,o.state)()],r.prototype,"codeError",2),r=a([(0,m.customElement)("skdx-verification-page","verification-page","root")],r);0&&(module.exports={SkdxVerificationPage});
|
|
66
|
+
`}};a([(0,o.property)({type:String,attribute:"heading"})],r.prototype,"title",2),a([(0,o.property)({type:String})],r.prototype,"description",2),a([(0,o.property)({type:String})],r.prototype,"error",2),a([(0,o.property)({type:Boolean})],r.prototype,"pending",2),a([(0,o.property)({type:String,attribute:"code-label"})],r.prototype,"codeLabel",2),a([(0,o.property)({type:Number})],r.prototype,"length",2),a([(0,o.property)({type:String})],r.prototype,"value",2),a([(0,o.property)({type:String,attribute:"default-value"})],r.prototype,"defaultValue",2),a([(0,o.property)({type:String,attribute:"submit-label"})],r.prototype,"submitLabel",2),a([(0,o.property)({type:String,attribute:"resend-label"})],r.prototype,"resendLabel",2),a([(0,o.property)({type:Boolean,attribute:"resend-disabled"})],r.prototype,"resendDisabled",2),a([(0,o.property)({type:String,attribute:"resend-hint"})],r.prototype,"resendHint",2),a([(0,o.state)()],r.prototype,"codeError",2),r=a([(0,m.customElement)("skdx-verification-page","verification-page","root")],r);0&&(module.exports={SkdxVerificationPage});
|
|
@@ -52,7 +52,7 @@ export declare class SkdxVerificationPage extends LitElement {
|
|
|
52
52
|
/** Light DOM, so `@skdx/skins` and consumer CSS reach the composed core elements. */
|
|
53
53
|
createRenderRoot(): HTMLElement | DocumentFragment;
|
|
54
54
|
/**
|
|
55
|
-
* Heading text, rendered into a derived `<h1>` that names the section.
|
|
55
|
+
* Heading text, rendered into a derived `<h1>` that names the section. The JavaScript property is `title`.
|
|
56
56
|
* @default 'Enter your verification code'
|
|
57
57
|
*/
|
|
58
58
|
title: string;
|
|
@@ -52,7 +52,7 @@ export declare class SkdxVerificationPage extends LitElement {
|
|
|
52
52
|
/** Light DOM, so `@skdx/skins` and consumer CSS reach the composed core elements. */
|
|
53
53
|
createRenderRoot(): HTMLElement | DocumentFragment;
|
|
54
54
|
/**
|
|
55
|
-
* Heading text, rendered into a derived `<h1>` that names the section.
|
|
55
|
+
* Heading text, rendered into a derived `<h1>` that names the section. The JavaScript property is `title`.
|
|
56
56
|
* @default 'Enter your verification code'
|
|
57
57
|
*/
|
|
58
58
|
title: string;
|
|
@@ -63,4 +63,4 @@ var h=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var r=(l,d,e,t
|
|
|
63
63
|
</div>`:o}
|
|
64
64
|
${this.hasSlotted("footer")?a`<div class="skdx-verification-page__footer"></div>`:o}
|
|
65
65
|
</div>
|
|
66
|
-
`}};r([s({type:String})],i.prototype,"title",2),r([s({type:String})],i.prototype,"description",2),r([s({type:String})],i.prototype,"error",2),r([s({type:Boolean})],i.prototype,"pending",2),r([s({type:String,attribute:"code-label"})],i.prototype,"codeLabel",2),r([s({type:Number})],i.prototype,"length",2),r([s({type:String})],i.prototype,"value",2),r([s({type:String,attribute:"default-value"})],i.prototype,"defaultValue",2),r([s({type:String,attribute:"submit-label"})],i.prototype,"submitLabel",2),r([s({type:String,attribute:"resend-label"})],i.prototype,"resendLabel",2),r([s({type:Boolean,attribute:"resend-disabled"})],i.prototype,"resendDisabled",2),r([s({type:String,attribute:"resend-hint"})],i.prototype,"resendHint",2),r([b()],i.prototype,"codeError",2),i=r([E("skdx-verification-page","verification-page","root")],i);export{i as SkdxVerificationPage};
|
|
66
|
+
`}};r([s({type:String,attribute:"heading"})],i.prototype,"title",2),r([s({type:String})],i.prototype,"description",2),r([s({type:String})],i.prototype,"error",2),r([s({type:Boolean})],i.prototype,"pending",2),r([s({type:String,attribute:"code-label"})],i.prototype,"codeLabel",2),r([s({type:Number})],i.prototype,"length",2),r([s({type:String})],i.prototype,"value",2),r([s({type:String,attribute:"default-value"})],i.prototype,"defaultValue",2),r([s({type:String,attribute:"submit-label"})],i.prototype,"submitLabel",2),r([s({type:String,attribute:"resend-label"})],i.prototype,"resendLabel",2),r([s({type:Boolean,attribute:"resend-disabled"})],i.prototype,"resendDisabled",2),r([s({type:String,attribute:"resend-hint"})],i.prototype,"resendHint",2),r([b()],i.prototype,"codeError",2),i=r([E("skdx-verification-page","verification-page","root")],i);export{i as SkdxVerificationPage};
|
|
@@ -54,7 +54,6 @@ export interface SkdxWorkspaceSwitcherValueChangeDetail {
|
|
|
54
54
|
* @fires pointer-down-outside - Fires on a pointer-down outside the panel while open; `preventDefault()` keeps it open.
|
|
55
55
|
* @fires focus-outside - Fires when focus moves outside the panel while open; `preventDefault()` keeps it open.
|
|
56
56
|
* @fires interact-outside - Fires for either kind of outside interaction, just before the specific event.
|
|
57
|
-
* @fires open-auto-focus - Fires before focus moves into the panel on open; `preventDefault()` leaves focus where it is.
|
|
58
57
|
* @fires close-auto-focus - Fires before focus returns to the trigger on close; `preventDefault()` suppresses that return.
|
|
59
58
|
*/
|
|
60
59
|
export declare class SkdxWorkspaceSwitcher extends LitElement {
|
|
@@ -54,7 +54,6 @@ export interface SkdxWorkspaceSwitcherValueChangeDetail {
|
|
|
54
54
|
* @fires pointer-down-outside - Fires on a pointer-down outside the panel while open; `preventDefault()` keeps it open.
|
|
55
55
|
* @fires focus-outside - Fires when focus moves outside the panel while open; `preventDefault()` keeps it open.
|
|
56
56
|
* @fires interact-outside - Fires for either kind of outside interaction, just before the specific event.
|
|
57
|
-
* @fires open-auto-focus - Fires before focus moves into the panel on open; `preventDefault()` leaves focus where it is.
|
|
58
57
|
* @fires close-auto-focus - Fires before focus returns to the trigger on close; `preventDefault()` suppresses that return.
|
|
59
58
|
*/
|
|
60
59
|
export declare class SkdxWorkspaceSwitcher extends LitElement {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skdx/web-components-blocks",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.40.0",
|
|
4
4
|
"description": "Web Components blocks for the SkandaDX design system — page-level compositions of @skdx/web-components styled by @skdx/skins",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -343,7 +343,7 @@
|
|
|
343
343
|
],
|
|
344
344
|
"peerDependencies": {
|
|
345
345
|
"lit": "^3.3.0",
|
|
346
|
-
"@skdx/web-components": "^0.
|
|
346
|
+
"@skdx/web-components": "^0.40.0"
|
|
347
347
|
},
|
|
348
348
|
"devDependencies": {
|
|
349
349
|
"@custom-elements-manifest/analyzer": "^0.10.4",
|
|
@@ -354,7 +354,7 @@
|
|
|
354
354
|
"tsup": "^8.5.1",
|
|
355
355
|
"typescript": "^6.0.3",
|
|
356
356
|
"vitest": "^4.1.10",
|
|
357
|
-
"@skdx/web-components": "0.
|
|
357
|
+
"@skdx/web-components": "0.40.0"
|
|
358
358
|
},
|
|
359
359
|
"scripts": {
|
|
360
360
|
"lint": "eslint . --cache --cache-location node_modules/.cache/eslint/",
|