@mw-kit/mw-ui 1.7.115 → 1.7.116
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/Input/components/Tags/index.d.ts +1 -1
- package/dist/components/Input/components/Tags/interfaces.d.ts +10 -3
- package/dist/components/Input/components/Tags/styles.d.ts +1 -1
- package/dist/index.js +169 -123
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +169 -123
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ReactNode } from '../../../../interfaces';
|
|
3
|
-
import { InputProps } from './components/Input/interfaces';
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { ReactNode } from '../../../../interfaces';
|
|
3
|
+
import type { InputProps } from './components/Input/interfaces';
|
|
4
4
|
export interface LabelProps extends React.HTMLAttributes<HTMLLabelElement> {
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
width?: string;
|
|
7
7
|
}
|
|
8
8
|
export interface TagContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
9
9
|
invalid?: boolean;
|
|
10
|
+
borderless?: boolean;
|
|
11
|
+
paddingless?: boolean;
|
|
10
12
|
}
|
|
11
13
|
export interface TagsProps {
|
|
12
14
|
type: 'tags';
|
|
@@ -22,4 +24,9 @@ export interface TagsProps {
|
|
|
22
24
|
validate?: (value: string) => boolean;
|
|
23
25
|
onBeforeAdd?: (value: string) => string;
|
|
24
26
|
unique?: boolean;
|
|
27
|
+
maxTags?: number;
|
|
28
|
+
borderless?: boolean;
|
|
29
|
+
paddingless?: boolean;
|
|
30
|
+
placeholder?: string;
|
|
31
|
+
onBlur?: () => void;
|
|
25
32
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { LabelProps, TagContainerProps } from './interfaces';
|
|
1
|
+
import type { LabelProps, TagContainerProps } from './interfaces';
|
|
2
2
|
export declare const Label: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, LabelProps, never>;
|
|
3
3
|
export declare const TagContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TagContainerProps, never>;
|