@touchtech/baselayer-ui 8.1.17 → 8.1.18

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.
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ import { Size, TextInputMode, TextInputType } from "../../types";
3
+ type TagsInputProps = {
4
+ className?: string;
5
+ onChange?: (values: string[]) => void;
6
+ placeholder?: string;
7
+ value?: string[];
8
+ name?: string;
9
+ pattern?: string;
10
+ type?: TextInputType;
11
+ size?: Size;
12
+ noBorder?: boolean;
13
+ autoFocus?: boolean;
14
+ inputRef?: React.RefObject<HTMLInputElement>;
15
+ inputMode?: TextInputMode;
16
+ };
17
+ declare function TagsInput({ className, onChange, placeholder, value, name, pattern, inputRef, size, type, autoFocus, noBorder, inputMode, }: TagsInputProps): JSX.Element;
18
+ export default TagsInput;
@@ -0,0 +1,8 @@
1
+ declare namespace _default {
2
+ export { TagsInput as component };
3
+ export const title: string;
4
+ }
5
+ export default _default;
6
+ export function Default(): JSX.Element;
7
+ export function WithValues(): JSX.Element;
8
+ import TagsInput from "./TagsInput";
@@ -0,0 +1 @@
1
+ export { default as TagsInput } from "./TagsInput";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@touchtech/baselayer-ui",
3
- "version": "8.1.17",
3
+ "version": "8.1.18",
4
4
  "description": "React UI component library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",