@revotech-group/revotech-ui-kit 0.0.94 → 0.0.96
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/library.css +13 -3
- package/dist/rtg-ui-kit.js +1387 -1357
- package/dist/rtg-ui-kit.umd.cjs +88 -85
- package/dist/src/assets/icons/index.d.ts +1 -0
- package/dist/src/assets/icons/minus.icon.d.ts +1 -0
- package/dist/src/components/ui/input-otp/input-otp.d.ts +3 -0
- package/dist/src/components/ui/input-otp/input-otp.stories.d.ts +7 -2
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function minusIcon(): import('lit').TemplateResult<2>;
|
|
@@ -12,6 +12,7 @@ declare class InputOtp extends BaseElement {
|
|
|
12
12
|
maxLength: number;
|
|
13
13
|
onChange: () => void;
|
|
14
14
|
pin: any[];
|
|
15
|
+
variant: 'default' | 'with-spacing' | 'with-separator' | 'combined';
|
|
15
16
|
inputes: {
|
|
16
17
|
value: string;
|
|
17
18
|
index: number;
|
|
@@ -21,6 +22,8 @@ declare class InputOtp extends BaseElement {
|
|
|
21
22
|
raiseEvent(index: number, eventType?: 'changes' | 'focus', customIndex?: number): void;
|
|
22
23
|
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
23
24
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
25
|
+
protected updated(changedProperties: PropertyValues): void;
|
|
26
|
+
private applyVariantStyles;
|
|
24
27
|
protected render(): import('lit').TemplateResult<1>;
|
|
25
28
|
}
|
|
26
29
|
export { InputOtp, InputOtpGroup, InputOtpSeparator, InputOtpSlot };
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
import { Meta,
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
2
|
|
|
3
3
|
declare const _default: Meta;
|
|
4
4
|
export default _default;
|
|
5
|
-
|
|
5
|
+
type Story = StoryObj;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithSpacing: Story;
|
|
8
|
+
export declare const WithSeparator: Story;
|
|
9
|
+
export declare const Combined: Story;
|
|
10
|
+
export declare const InteractiveDemo: Story;
|
package/package.json
CHANGED