@pontive/pontkit-core 1.21.1 → 1.21.2
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/catalog.json +1 -1
- package/custom-elements.json +1 -1
- package/dist/components/renderers/auth/recovery-codes/index.d.ts +1 -7
- package/dist/components/renderers/feedback/countdown/_countdown.d.ts +38 -13
- package/dist/components/renderers/feedback/countdown/countdown.defs.d.ts +9 -0
- package/dist/components/renderers/feedback/countdown/index.d.ts +1 -7
- package/dist/components/renderers/typography/subtitle/_subtitle.d.ts +14 -4
- package/dist/components/renderers/typography/subtitle/index.d.ts +1 -7
- package/dist/components/renderers/typography/subtitle/subtitle.defs.d.ts +4 -0
- package/dist/components/renderers/typography/title/_title.d.ts +19 -9
- package/dist/components/renderers/typography/title/index.d.ts +1 -7
- package/dist/components/renderers/typography/title/title.defs.d.ts +7 -0
- package/dist/components/renderers/typography/title/title.stories.d.ts +1 -0
- package/dist/element-tag-map.d.ts +2 -0
- package/dist/index.js +530 -537
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5366 -5359
- package/dist/index.mjs.map +1 -1
- package/dist/primitives/components/ui/input-otp/_input-otp-group.d.ts +6 -16
- package/dist/primitives/components/ui/input-otp/_input-otp-separator.d.ts +7 -7
- package/dist/primitives/components/ui/input-otp/_input-otp-slot.d.ts +9 -14
- package/dist/primitives/components/ui/input-otp/_input-otp.d.ts +20 -48
- package/dist/primitives/components/ui/input-otp/input-otp.d.ts +9 -9
- package/dist/primitives/components/ui/input-otp/input-otp.defs.d.ts +3 -3
- package/dist/styles.css +698 -178
- package/package.json +1 -1
- package/dist/components/renderers/feedback/countdown/countdown.types.d.ts +0 -6
- package/dist/components/renderers/typography/subtitle/subtitle.types.d.ts +0 -4
- package/dist/components/renderers/typography/title/title.types.d.ts +0 -4
|
@@ -1,20 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CountdownProps as Props } from './countdown.
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { CountdownProps as Props, CountdownPart } from './countdown.defs';
|
|
3
|
+
/**
|
|
4
|
+
* Displays remaining seconds and redirects once the timer has finished.
|
|
5
|
+
*
|
|
6
|
+
* @element pont-countdown
|
|
7
|
+
* - data-pont-countdown (`div`): root
|
|
8
|
+
*/
|
|
9
|
+
export declare class PontCountdown extends LitElement implements Props {
|
|
10
|
+
static readonly ROOT = "countdown";
|
|
11
|
+
static readonly TAG: string;
|
|
12
|
+
static readonly PARTS: Record<CountdownPart, string>;
|
|
13
|
+
/**
|
|
14
|
+
* Substring used in generated part IDs.
|
|
15
|
+
*/
|
|
16
|
+
seed: string;
|
|
17
|
+
/**
|
|
18
|
+
* Custom ID used as the root part ID and as the base of subpart IDs.
|
|
19
|
+
*/
|
|
20
|
+
customId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The countdown duration in seconds before redirecting.
|
|
23
|
+
*/
|
|
6
24
|
duration: number;
|
|
25
|
+
/**
|
|
26
|
+
* The URL used for navigation when the countdown completes.
|
|
27
|
+
*/
|
|
7
28
|
redirectUrl: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
29
|
+
/**
|
|
30
|
+
* The text displayed before the countdown timer value.
|
|
31
|
+
*/
|
|
32
|
+
content: string;
|
|
33
|
+
private _seconds;
|
|
34
|
+
private _timerId;
|
|
11
35
|
protected createRenderRoot(): this;
|
|
36
|
+
get rootId(): string;
|
|
37
|
+
get rootEl(): HTMLElement | null;
|
|
12
38
|
connectedCallback(): void;
|
|
13
39
|
disconnectedCallback(): void;
|
|
14
|
-
private
|
|
15
|
-
private
|
|
16
|
-
private
|
|
17
|
-
private
|
|
18
|
-
private renderContent;
|
|
40
|
+
private _initCountdown;
|
|
41
|
+
private _startTimer;
|
|
42
|
+
private _completeCountdown;
|
|
43
|
+
private _clearTimer;
|
|
19
44
|
render(): import('lit-html').TemplateResult<1>;
|
|
20
45
|
}
|
|
@@ -1,7 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { SubtitleProps as Props } from './subtitle.defs';
|
|
3
|
+
/**
|
|
4
|
+
* A typography component for page, section, and widget subtitles.
|
|
5
|
+
*
|
|
6
|
+
* @element pont-subtitle
|
|
7
|
+
* - data-pont-subtitle (`p`): root/paragraph
|
|
8
|
+
*/
|
|
9
|
+
export declare class PontSubtitle extends LitElement implements Props {
|
|
10
|
+
static readonly ROOT = "subtitle";
|
|
11
|
+
static readonly TAG: string;
|
|
12
|
+
/**
|
|
13
|
+
* The text content rendered inside the subtitle/paragraph.
|
|
14
|
+
*/
|
|
5
15
|
content: string;
|
|
6
16
|
protected createRenderRoot(): this;
|
|
7
17
|
render(): import('lit-html').TemplateResult<1>;
|
|
@@ -1,13 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { TitleProps as Props, TitleLevel } from './title.defs';
|
|
3
|
+
/**
|
|
4
|
+
* A typography component for page, section, and widget headings.
|
|
5
|
+
*
|
|
6
|
+
* @element pont-title
|
|
7
|
+
* - data-pont-title (`h1`/`h2`/`h3`/`h4`): root/heading
|
|
8
|
+
*/
|
|
9
|
+
export declare class PontTitle extends LitElement implements Props {
|
|
10
|
+
static readonly ROOT = "title";
|
|
11
|
+
static readonly TAG: string;
|
|
12
|
+
/**
|
|
13
|
+
* The heading level, determining whether `h1`, `h2`, `h3`, or `h4` is
|
|
14
|
+
* rendered.
|
|
15
|
+
*/
|
|
16
|
+
level: TitleLevel;
|
|
17
|
+
/**
|
|
18
|
+
* The text content rendered inside the title/heading.
|
|
19
|
+
*/
|
|
5
20
|
content: string;
|
|
6
21
|
protected createRenderRoot(): this;
|
|
7
22
|
render(): import('lit-html').TemplateResult<1>;
|
|
8
23
|
}
|
|
9
|
-
declare global {
|
|
10
|
-
interface HTMLElementTagNameMap {
|
|
11
|
-
"pont-title": PontTitle;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -42,6 +42,7 @@ import { PontSignIn } from './components/widgets/pont-signin/pont-signin';
|
|
|
42
42
|
import { PontSignUp } from './components/widgets/pont-signup/pont-signup';
|
|
43
43
|
import { PontSubmitButton } from './components/renderers/auth/button/_submit-button';
|
|
44
44
|
import { PontSubtitle } from './components/renderers/typography/subtitle/_subtitle';
|
|
45
|
+
import { PontTitle } from './components/renderers/typography/title/_title';
|
|
45
46
|
import { PontUsernameField } from './components/renderers/auth/field/_username-field';
|
|
46
47
|
import { PontWatermark } from './components/renderers/visuals/watermark/_watermark';
|
|
47
48
|
declare global {
|
|
@@ -90,6 +91,7 @@ declare global {
|
|
|
90
91
|
"pont-signup": PontSignUp;
|
|
91
92
|
"pont-submit-button": PontSubmitButton;
|
|
92
93
|
"pont-subtitle": PontSubtitle;
|
|
94
|
+
"pont-title": PontTitle;
|
|
93
95
|
"pont-user-snippet": PontUserSnippet;
|
|
94
96
|
"pont-username-field": PontUsernameField;
|
|
95
97
|
"pont-watermark": PontWatermark;
|