stratosphere-ui 2.0.2 → 2.1.1

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.
@@ -1 +1,2 @@
1
1
  export declare const COLORS: readonly ["base-100", "base-200", "base-300", "base-content", "primary", "primary-content", "secondary", "secondary-content", "accent", "accent-content", "neutral", "neutral-content", "info", "info-content", "success", "success-content", "warning", "warning-content", "error", "error-content"];
2
+ export declare const DIGIT_REGEX: RegExp;
@@ -0,0 +1,9 @@
1
+ import { RefObject } from 'react';
2
+ export interface SecurityCodeInputProps<NextElement> {
3
+ className?: string;
4
+ inputRef: RefObject<HTMLInputElement>;
5
+ inputClassName?: string;
6
+ name: string;
7
+ nextFocusRef: RefObject<NextElement>;
8
+ }
9
+ export declare const SecurityCodeInput: <NextElement extends HTMLElement>({ className, inputRef, inputClassName, name, nextFocusRef, }: SecurityCodeInputProps<NextElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { SecurityCodeInput } from './SecurityCodeInput';
3
+ declare const meta: Meta<typeof SecurityCodeInput>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof SecurityCodeInput>;
6
+ export declare const Default: Story;
@@ -0,0 +1 @@
1
+ export * from './SecurityCodeInput';
@@ -0,0 +1,2 @@
1
+ import { KeyboardEvent, RefObject } from 'react';
2
+ export declare const getKeyUpHandler: (nextElement: RefObject<HTMLElement>) => ({ key }: KeyboardEvent<HTMLInputElement>) => void;
@@ -21,6 +21,7 @@ export * from './Pagination';
21
21
  export * from './PasswordInput';
22
22
  export * from './Popover';
23
23
  export * from './Progress';
24
+ export * from './SecurityCodeInput';
24
25
  export * from './Select';
25
26
  export * from './Stat';
26
27
  export * from './Steps';
@@ -1,3 +1,4 @@
1
1
  import { Transform } from '../common/types';
2
+ export declare const digitInputTransformer: Transform<string>;
2
3
  export declare const integerInputTransformer: Transform<number | null>;
3
4
  export declare const nullEmptyStringTransformer: Transform<string | null>;