@saasbase-io/core-elements 1.1.14 → 1.1.16
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/dist/components/renderers/sb-otp-renderer.d.ts +9 -3
- package/dist/index.js +2013 -1761
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11563 -14838
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +3867 -2813
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LitElement
|
|
1
|
+
import { LitElement } from '../../../node_modules/lit';
|
|
2
2
|
import { OTP, Style } from '../../types';
|
|
3
3
|
import { SaasBaseLayout } from '../wrappers';
|
|
4
4
|
export declare class SbOtpRenderer extends LitElement {
|
|
@@ -20,6 +20,12 @@ export declare class SbOtpRenderer extends LitElement {
|
|
|
20
20
|
private _onComplete;
|
|
21
21
|
private _onFocus;
|
|
22
22
|
private _onBlur;
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
/**
|
|
24
|
+
* Builds the OTP group/separator/slot structure as a plain HTML string so it
|
|
25
|
+
* can be embedded via unsafeStatic. This is required because rtg-input-otp
|
|
26
|
+
* reads this.childNodes in its constructor; Lit's dynamic ChildPart would only
|
|
27
|
+
* deliver nodes after construction, causing them to land outside the container.
|
|
28
|
+
*/
|
|
29
|
+
private _buildOTPContentHTML;
|
|
30
|
+
render(): import('../../../node_modules/lit-html').TemplateResult | null;
|
|
25
31
|
}
|