@itcase/ui 1.2.19 → 1.2.21
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/cjs/components/Accordion.js +3 -2
- package/dist/cjs/components/Choice.js +1 -1
- package/dist/cjs/components/InputPassword.js +6 -6
- package/dist/cjs/components/Radio.js +85 -8
- package/dist/cjs/components/Switch.js +12 -8
- package/dist/cjs/components/Tile.js +3 -3
- package/dist/cjs/constants/componentProps/textColor.js +1 -1
- package/dist/cjs/constants/componentProps/textColorHover.js +1 -1
- package/dist/components/Accordion.js +3 -2
- package/dist/components/Choice.js +1 -1
- package/dist/components/InputPassword.js +6 -6
- package/dist/components/Radio.js +86 -5
- package/dist/components/Switch.js +12 -4
- package/dist/components/Tile.js +3 -3
- package/dist/constants/componentProps/textColor.js +1 -1
- package/dist/constants/componentProps/textColorHover.js +1 -1
- package/dist/css/components/Accordion/Accordion.css +1 -0
- package/dist/css/components/DatePicker/DatePicker.css +12 -12
- package/dist/css/components/Icon/Icon.css +4 -2
- package/dist/css/mixins/mixin_elevation.css +0 -2
- package/dist/css/mixins/mixin_typography.css +104 -84
- package/dist/css/mixins/mixin_utils.css +1 -1
- package/dist/css/styles/border-color/border-color.css +4 -2
- package/dist/css/styles/text-gradient/text-gradient.css +9 -4
- package/dist/css/tokens/colors.css +105 -0
- package/dist/css/tokens/elevation.css +10 -0
- package/dist/css/tokens/settings.css +31 -0
- package/dist/css/tokens/typography.css +127 -0
- package/dist/stories/Accordion.mdx +11 -0
- package/dist/stories/Accordion.stories.js +49 -32
- package/dist/stories/AccordionItem.mdx +15 -0
- package/dist/stories/AccordionItem.stories.js +69 -69
- package/dist/stories/AlignContent.mdx +85 -0
- package/dist/stories/AlignItems.mdx +74 -0
- package/dist/stories/AlignItems.stories.js +88 -0
- package/dist/stories/AlignSelf.mdx +85 -0
- package/dist/stories/AlignSelf.stories.js +101 -0
- package/dist/stories/Appearance.mdx +24 -9
- package/dist/stories/Appearance.stories.js +77 -23
- package/dist/stories/Avatar.mdx +23 -0
- package/dist/stories/Avatar.stories.js +69 -64
- package/dist/stories/Badge.mdx +20 -0
- package/dist/stories/Badge.stories.js +43 -44
- package/dist/stories/Button.mdx +48 -0
- package/dist/stories/Button.stories.js +26 -186
- package/dist/stories/Cell.mdx +23 -0
- package/dist/stories/Cell.stories.js +119 -119
- package/dist/stories/Checkbox.mdx +24 -0
- package/dist/stories/Checkbox.stories.js +42 -34
- package/dist/stories/Chips.mdx +31 -0
- package/dist/stories/Chips.stories.js +22 -67
- package/dist/stories/Choice.mdx +11 -0
- package/dist/stories/Choice.stories.js +59 -61
- package/dist/stories/Code.mdx +11 -0
- package/dist/stories/Code.stories.js +37 -40
- package/dist/stories/Columns.mdx +51 -0
- package/dist/stories/Columns.stories.js +80 -0
- package/dist/stories/DatePicker.mdx +31 -0
- package/dist/stories/DatePicker.stories.js +58 -59
- package/dist/stories/Dev.mdx +9 -0
- package/dist/stories/DevMode.mdx +8 -0
- package/dist/stories/Direction.mdx +84 -0
- package/dist/stories/Direction.stories.js +93 -0
- package/dist/stories/Divider.mdx +35 -0
- package/dist/stories/Divider.stories.js +28 -29
- package/dist/stories/Dot.mdx +19 -0
- package/dist/stories/Dot.stories.js +38 -39
- package/dist/stories/Drawer.mdx +11 -0
- package/dist/stories/Drawer.stories.js +75 -0
- package/dist/stories/Dropdown.mdx +12 -0
- package/dist/stories/Dropdown.stories.js +30 -29
- package/dist/stories/DropdownItem.mdx +19 -0
- package/dist/stories/DropdownItem.stories.js +76 -78
- package/dist/stories/Flex.stories.js +47 -0
- package/dist/stories/FlexAlignContent.stories.js +102 -0
- package/dist/stories/FlexAlignItems.stories.js +91 -0
- package/dist/stories/FlexAlignSelf.stories.js +97 -0
- package/dist/stories/FlexDirection.stories.js +112 -0
- package/dist/stories/FlexGrow.stories.js +69 -0
- package/dist/stories/FlexJustifyContent.stories.js +98 -0
- package/dist/stories/FlexOrder.stories.js +76 -0
- package/dist/stories/FlexWrap.stories.js +89 -0
- package/dist/stories/Grid.stories.js +202 -0
- package/dist/stories/Group.mdx +9 -0
- package/dist/stories/{Tab.group.stories.js → Group.stories.js} +60 -56
- package/dist/stories/Grow.mdx +40 -0
- package/dist/stories/Icon.mdx +15 -0
- package/dist/stories/Icon.stories.js +84 -82
- package/dist/stories/Image.mdx +15 -0
- package/dist/stories/Image.stories.js +134 -0
- package/dist/stories/Input.mdx +31 -0
- package/dist/stories/Input.stories.js +26 -26
- package/dist/stories/InputPassword.mdx +15 -0
- package/dist/stories/InputPassword.stories.js +32 -34
- package/dist/stories/JustifyContent.mdx +89 -0
- package/dist/stories/JustifyContent.stories.js +96 -0
- package/dist/stories/Label.mdx +31 -0
- package/dist/stories/Label.stories.js +63 -53
- package/dist/stories/Loader.mdx +31 -0
- package/dist/stories/Loader.stories.js +26 -28
- package/dist/stories/Logo.mdx +19 -0
- package/dist/stories/Logo.stories.js +28 -28
- package/dist/stories/MenuItem.mdx +15 -0
- package/dist/stories/MenuItem.stories.js +156 -91
- package/dist/stories/Message.mdx +12 -0
- package/dist/stories/Message.stories.js +34 -0
- package/dist/stories/ModalConfirm.stories.js +48 -47
- package/dist/stories/ModalDefault.stories.js +21 -20
- package/dist/stories/Notification.mdx +23 -0
- package/dist/stories/Notification.stories.js +24 -47
- package/dist/stories/Order.mdx +52 -0
- package/dist/stories/Overview.mdx +1 -2
- package/dist/stories/Pagination.mdx +11 -0
- package/dist/stories/Pagination.stories.js +24 -27
- package/dist/stories/Playground.mdx +1 -2
- package/dist/stories/Radio.mdx +29 -0
- package/dist/stories/Radio.stories.js +32 -33
- package/dist/stories/Response.mdx +18 -0
- package/dist/stories/Response.stories.js +66 -0
- package/dist/stories/SearchInput.mdx +19 -0
- package/dist/stories/{Search-input.stories.js → SearchInput.stories.js} +79 -62
- package/dist/stories/Segmented.mdx +11 -0
- package/dist/stories/Segmented.stories.js +49 -50
- package/dist/stories/Select.stories.js +155 -155
- package/dist/stories/Size.mdx +35 -0
- package/dist/stories/Size.stories.js +101 -0
- package/dist/stories/Skeleton.mdx +9 -0
- package/dist/stories/State.mdx +19 -0
- package/dist/stories/State.stories.js +70 -0
- package/dist/stories/Switch.mdx +23 -0
- package/dist/stories/Switch.stories.js +23 -23
- package/dist/stories/Text.mdx +35 -0
- package/dist/stories/Text.stories.js +172 -0
- package/dist/stories/Textarea.mdx +15 -0
- package/dist/stories/Textarea.stories.js +27 -27
- package/dist/stories/Tile.mdx +19 -0
- package/dist/stories/Tile.stories.js +111 -96
- package/dist/stories/Title.mdx +31 -0
- package/dist/stories/Title.stories.js +168 -0
- package/dist/stories/Tooltip.mdx +19 -0
- package/dist/stories/Tooltip.stories.js +164 -0
- package/dist/stories/WithTooltip.mdx +9 -0
- package/dist/stories/Wrap.mdx +52 -0
- package/dist/stories/Wrap.stories.js +74 -0
- package/dist/types/components/Accordion/Accordion.interface.d.ts +4 -0
- package/dist/types/components/Choice/Choice.interface.d.ts +0 -2
- package/dist/types/components/InputPassword/InputPassword.interface.d.ts +10 -8
- package/dist/types/components/Tile/Tile.d.ts +1 -1
- package/dist/types/components/Tile/Tile.interface.d.ts +3 -1
- package/dist/types/config/forms/datepicker.d.ts +18 -0
- package/dist/types/config/forms/index.d.ts +4 -0
- package/dist/types/config/forms/input.d.ts +14 -0
- package/dist/types/config/forms/select.d.ts +50 -0
- package/package.json +36 -42
- package/dist/Radio-BQo97TZL.js +0 -89
- package/dist/Radio-oMf0vN7T.js +0 -86
- package/dist/Switch-B5yVEqxz.js +0 -14
- package/dist/Switch-DEXsrPCo.js +0 -12
- package/dist/cjs/components/FormField.js +0 -122
- package/dist/components/FormField.js +0 -116
- package/dist/css/mixins/mixin.css +0 -78
- package/dist/stories/FormFieldCheckbox.stories.js +0 -77
- package/dist/stories/FormFieldChoice.stories.js +0 -75
- package/dist/stories/FormFieldDatepicker.stories.js +0 -51
- package/dist/stories/FormFieldFileInput.stories.js +0 -58
- package/dist/stories/FormFieldInput.stories.js +0 -66
- package/dist/stories/FormFieldInputPassword.stories.js +0 -66
- package/dist/stories/FormFieldMultiBadgeSelect.stories.js +0 -132
- package/dist/stories/FormFieldMultiSelect.stories.js +0 -127
- package/dist/stories/FormFieldSelect.stories.js +0 -99
- package/dist/stories/FormFieldSelectGroup.stories.js +0 -84
- package/dist/stories/NotFound.stories.js +0 -93
- package/dist/stories/Tab.appearance.stories.js +0 -260
- package/dist/stories/Tab.size.stories.js +0 -259
- package/dist/stories/Tab.state.stories.js +0 -227
- package/dist/types/components/FormField/ChoiceField.d.ts +0 -8
- package/dist/types/components/FormField/FormField.d.ts +0 -9
- package/dist/types/components/FormField/FormFiled.interface.d.ts +0 -77
- package/dist/types/components/FormField/PasswordField.d.ts +0 -9
- package/dist/types/components/FormField/SelectField.d.ts +0 -9
- package/dist/types/components/FormField/SwitchField.d.ts +0 -8
- package/dist/types/components/FormField/index.d.ts +0 -6
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
import { Tab, tabConfig } from '@itcase/ui/components/Tab'
|
|
2
|
-
import {
|
|
3
|
-
fillHoverProps,
|
|
4
|
-
fillProps,
|
|
5
|
-
shapeProps,
|
|
6
|
-
sizeProps,
|
|
7
|
-
textColorActiveProps,
|
|
8
|
-
textColorHoverProps,
|
|
9
|
-
textColorProps,
|
|
10
|
-
textGradientProps,
|
|
11
|
-
textSizeProps,
|
|
12
|
-
textStyleProps,
|
|
13
|
-
textWeightProps,
|
|
14
|
-
textWrapProps,
|
|
15
|
-
underlineProps,
|
|
16
|
-
} from '@itcase/ui/constants'
|
|
17
|
-
|
|
18
|
-
import tabAppearance from 'src/components/Tab/appearance.json'
|
|
19
|
-
|
|
20
|
-
tabConfig.setAppearance(tabAppearance)
|
|
21
|
-
|
|
22
|
-
export default {
|
|
23
|
-
title: 'Atoms / Tab / State',
|
|
24
|
-
component: Tab,
|
|
25
|
-
parameters: {
|
|
26
|
-
controls: {
|
|
27
|
-
exclude: [
|
|
28
|
-
'fillDesktop',
|
|
29
|
-
'fillMobile',
|
|
30
|
-
'fillTablet',
|
|
31
|
-
'linkFillDesktop',
|
|
32
|
-
'linkFillMobile',
|
|
33
|
-
'linkFillTablet',
|
|
34
|
-
'shapeDesktop',
|
|
35
|
-
'shapeMobile',
|
|
36
|
-
'shapeTablet',
|
|
37
|
-
'sizeDesktop',
|
|
38
|
-
'sizeMobile',
|
|
39
|
-
'sizeTablet',
|
|
40
|
-
'typeDesktop',
|
|
41
|
-
'typeMobile',
|
|
42
|
-
'typeTablet',
|
|
43
|
-
],
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
argTypes: {
|
|
47
|
-
advancedProps: { control: 'boolean' },
|
|
48
|
-
onClick: {
|
|
49
|
-
if: { arg: 'advancedProps' },
|
|
50
|
-
},
|
|
51
|
-
onMouseEnter: {
|
|
52
|
-
if: { arg: 'advancedProps' },
|
|
53
|
-
},
|
|
54
|
-
after: {
|
|
55
|
-
if: { arg: 'advancedProps' },
|
|
56
|
-
},
|
|
57
|
-
before: {
|
|
58
|
-
if: { arg: 'advancedProps' },
|
|
59
|
-
},
|
|
60
|
-
children: {
|
|
61
|
-
if: { arg: 'advancedProps' },
|
|
62
|
-
},
|
|
63
|
-
className: {
|
|
64
|
-
if: { arg: 'advancedProps' },
|
|
65
|
-
},
|
|
66
|
-
href: {
|
|
67
|
-
if: { arg: 'advancedProps' },
|
|
68
|
-
},
|
|
69
|
-
link: {
|
|
70
|
-
if: { arg: 'advancedProps' },
|
|
71
|
-
},
|
|
72
|
-
LinkComponent: {
|
|
73
|
-
if: { arg: 'advancedProps' },
|
|
74
|
-
},
|
|
75
|
-
rel: {
|
|
76
|
-
if: { arg: 'advancedProps' },
|
|
77
|
-
},
|
|
78
|
-
target: {
|
|
79
|
-
if: { arg: 'advancedProps' },
|
|
80
|
-
},
|
|
81
|
-
isActive: {
|
|
82
|
-
control: 'boolean',
|
|
83
|
-
},
|
|
84
|
-
appearance: {
|
|
85
|
-
options: [
|
|
86
|
-
null,
|
|
87
|
-
'any',
|
|
88
|
-
'surfacePrimary',
|
|
89
|
-
'surfaceSecondary',
|
|
90
|
-
'surfaceTertiary',
|
|
91
|
-
'surfaceQuaternary',
|
|
92
|
-
'accent',
|
|
93
|
-
'primary',
|
|
94
|
-
'secondary',
|
|
95
|
-
],
|
|
96
|
-
control: 'inline-radio',
|
|
97
|
-
},
|
|
98
|
-
badge: {
|
|
99
|
-
control: 'boolean',
|
|
100
|
-
},
|
|
101
|
-
badgeSize: {
|
|
102
|
-
options: sizeProps,
|
|
103
|
-
control: 'inline-radio',
|
|
104
|
-
},
|
|
105
|
-
badgeFill: {
|
|
106
|
-
options: fillProps,
|
|
107
|
-
control: 'select',
|
|
108
|
-
},
|
|
109
|
-
badgeTextColor: {
|
|
110
|
-
options: textColorProps,
|
|
111
|
-
control: 'select',
|
|
112
|
-
},
|
|
113
|
-
badgeTextSize: {
|
|
114
|
-
options: textSizeProps,
|
|
115
|
-
control: 'inline-radio',
|
|
116
|
-
},
|
|
117
|
-
fill: {
|
|
118
|
-
options: fillProps,
|
|
119
|
-
control: 'select',
|
|
120
|
-
},
|
|
121
|
-
fillHover: {
|
|
122
|
-
options: fillHoverProps,
|
|
123
|
-
control: 'select',
|
|
124
|
-
},
|
|
125
|
-
labelColor: {
|
|
126
|
-
options: textColorProps,
|
|
127
|
-
control: 'select',
|
|
128
|
-
},
|
|
129
|
-
labelColorActive: {
|
|
130
|
-
if: { arg: 'advancedProps' },
|
|
131
|
-
options: textColorActiveProps,
|
|
132
|
-
control: 'select',
|
|
133
|
-
},
|
|
134
|
-
labelTextSize: {
|
|
135
|
-
options: textSizeProps,
|
|
136
|
-
control: 'inline-radio',
|
|
137
|
-
},
|
|
138
|
-
labelTextColorHover: {
|
|
139
|
-
if: { arg: 'advancedProps' },
|
|
140
|
-
options: textColorHoverProps,
|
|
141
|
-
control: 'inline-radio',
|
|
142
|
-
},
|
|
143
|
-
labelTextGradient: {
|
|
144
|
-
if: { arg: 'advancedProps' },
|
|
145
|
-
options: textGradientProps,
|
|
146
|
-
control: 'inline-radio',
|
|
147
|
-
},
|
|
148
|
-
labelTextStyle: {
|
|
149
|
-
options: textStyleProps,
|
|
150
|
-
control: 'inline-radio',
|
|
151
|
-
if: { arg: 'advancedProps' },
|
|
152
|
-
},
|
|
153
|
-
labelTextWeight: {
|
|
154
|
-
options: textWeightProps,
|
|
155
|
-
control: 'inline-radio',
|
|
156
|
-
},
|
|
157
|
-
labelTextWrap: {
|
|
158
|
-
options: textWrapProps,
|
|
159
|
-
control: 'inline-radio',
|
|
160
|
-
},
|
|
161
|
-
linkFill: {
|
|
162
|
-
if: { arg: 'advancedProps' },
|
|
163
|
-
options: fillProps,
|
|
164
|
-
control: 'select',
|
|
165
|
-
},
|
|
166
|
-
shape: {
|
|
167
|
-
options: shapeProps,
|
|
168
|
-
control: 'inline-radio',
|
|
169
|
-
},
|
|
170
|
-
size: {
|
|
171
|
-
options: ['xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl'],
|
|
172
|
-
control: 'inline-radio',
|
|
173
|
-
},
|
|
174
|
-
type: {
|
|
175
|
-
if: { arg: 'advancedProps' },
|
|
176
|
-
},
|
|
177
|
-
underline: {
|
|
178
|
-
if: { arg: 'advancedProps' },
|
|
179
|
-
options: underlineProps,
|
|
180
|
-
control: 'inline-radio',
|
|
181
|
-
},
|
|
182
|
-
badgeAppearance: {
|
|
183
|
-
options: [
|
|
184
|
-
'surfacePrimary',
|
|
185
|
-
'surfaceSecondary',
|
|
186
|
-
'surfaceTertiary',
|
|
187
|
-
'surfaceQuaternary',
|
|
188
|
-
'accent',
|
|
189
|
-
'primary',
|
|
190
|
-
'secondary',
|
|
191
|
-
'disabled',
|
|
192
|
-
],
|
|
193
|
-
control: 'inline-radio',
|
|
194
|
-
},
|
|
195
|
-
},
|
|
196
|
-
args: {
|
|
197
|
-
label: 'Label',
|
|
198
|
-
size: 'normal',
|
|
199
|
-
labelTextSize: 'm',
|
|
200
|
-
badge: true,
|
|
201
|
-
badgeSize: 'xs',
|
|
202
|
-
badgeAppearance: 'accent',
|
|
203
|
-
badgeTextSize: 'xs',
|
|
204
|
-
badgeValue: '3',
|
|
205
|
-
},
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
export const Normal = {
|
|
209
|
-
args: {
|
|
210
|
-
appearance: 'any',
|
|
211
|
-
},
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
export const Active = {
|
|
215
|
-
args: {
|
|
216
|
-
appearance: 'surfacePrimary',
|
|
217
|
-
isActive: true,
|
|
218
|
-
},
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
export const Disabled = {
|
|
222
|
-
args: {
|
|
223
|
-
appearance: 'surfacePrimary',
|
|
224
|
-
isDisabled: true,
|
|
225
|
-
badgeAppearance: 'disabled',
|
|
226
|
-
},
|
|
227
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IChoiceFieldProps } from './FormFiled.interface';
|
|
2
|
-
declare function ChoiceField(props: IChoiceFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare namespace ChoiceField {
|
|
4
|
-
var defaultProps: {
|
|
5
|
-
radioClassName: string;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
export { ChoiceField };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IFormFieldProps } from './FormFiled.interface';
|
|
2
|
-
declare function FormField(props: IFormFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare namespace FormField {
|
|
4
|
-
var defaultProps: {
|
|
5
|
-
dividerWidth: string;
|
|
6
|
-
dividerDirection: string;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
export { FormField };
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { tBorderColorProps, tFillProps, iconSizePropsType, tTextSizeProps, tTextColorProps, tTextWeightProps, tDirectionProps, tSizeProps, tShapeProps, tItemColorProps } from '../../types';
|
|
4
|
-
export interface IFormFieldProps extends iStyleAttributes {
|
|
5
|
-
afterItem?: ReactNode;
|
|
6
|
-
beforeItem?: ReactNode;
|
|
7
|
-
children?: ReactNode;
|
|
8
|
-
className?: string;
|
|
9
|
-
clearIcon?: string;
|
|
10
|
-
clearIconFill?: tFillProps;
|
|
11
|
-
clearIconSize?: iconSizePropsType;
|
|
12
|
-
dataTestId?: string;
|
|
13
|
-
desc?: string;
|
|
14
|
-
descSize?: tTextSizeProps;
|
|
15
|
-
descTextColor?: tTextColorProps;
|
|
16
|
-
descTextWeight?: tTextWeightProps;
|
|
17
|
-
direction?: tDirectionProps;
|
|
18
|
-
dividerDirection?: tDirectionProps;
|
|
19
|
-
dividerFill?: tFillProps;
|
|
20
|
-
dividerSize?: tSizeProps;
|
|
21
|
-
dividerWidth?: string;
|
|
22
|
-
fill?: tFillProps;
|
|
23
|
-
id?: string;
|
|
24
|
-
inputFill?: tFillProps;
|
|
25
|
-
inputShape?: tShapeProps;
|
|
26
|
-
label?: string;
|
|
27
|
-
labelTextSize?: tTextSizeProps;
|
|
28
|
-
labelTextColor?: tTextColorProps;
|
|
29
|
-
labelTextWeight?: tTextWeightProps;
|
|
30
|
-
message?: string;
|
|
31
|
-
messageSize?: tTextSizeProps;
|
|
32
|
-
messageTextColor?: tTextColorProps;
|
|
33
|
-
messageTextWeight?: tTextWeightProps;
|
|
34
|
-
set?: string;
|
|
35
|
-
shape?: tShapeProps;
|
|
36
|
-
size?: tSizeProps;
|
|
37
|
-
style?: CSSProperties;
|
|
38
|
-
}
|
|
39
|
-
export interface IChoiceFieldProps extends iStyleAttributes {
|
|
40
|
-
radioId?: string;
|
|
41
|
-
radioClassName?: string;
|
|
42
|
-
radioFillCheckmark?: tItemColorProps;
|
|
43
|
-
radioFillChecked?: tFillProps;
|
|
44
|
-
radioFill?: tFillProps;
|
|
45
|
-
radioFillDisabled?: tFillProps;
|
|
46
|
-
radioShape?: tShapeProps;
|
|
47
|
-
radioBorder?: tBorderColorProps;
|
|
48
|
-
}
|
|
49
|
-
export interface IPasswordFieldProps extends iStyleAttributes {
|
|
50
|
-
placeholder?: string;
|
|
51
|
-
passwordClassName?: string;
|
|
52
|
-
value?: string;
|
|
53
|
-
placeholderColor?: tTextColorProps;
|
|
54
|
-
valueTextColor?: tTextColorProps;
|
|
55
|
-
valueTextSize?: tTextSizeProps;
|
|
56
|
-
}
|
|
57
|
-
export interface ISelectFieldProps extends iStyleAttributes {
|
|
58
|
-
className?: string;
|
|
59
|
-
selectInputClass?: string;
|
|
60
|
-
selectFill?: tFillProps;
|
|
61
|
-
selectShape?: tShapeProps;
|
|
62
|
-
selectBorder?: tBorderColorProps;
|
|
63
|
-
selectSize?: tSizeProps;
|
|
64
|
-
selectOptionFill?: tFillProps;
|
|
65
|
-
selectOptionTextSize?: tTextSizeProps;
|
|
66
|
-
selectOptionTextColor?: tTextColorProps;
|
|
67
|
-
selectOptionBefore?: ReactNode;
|
|
68
|
-
selectOptionAfter?: ReactNode;
|
|
69
|
-
selectInputBefore?: ReactNode;
|
|
70
|
-
selectInputAfter?: ReactNode;
|
|
71
|
-
selectInputFill?: tFillProps;
|
|
72
|
-
selectInputTextSize?: tTextSizeProps;
|
|
73
|
-
selectInputTextColor?: tTextColorProps;
|
|
74
|
-
}
|
|
75
|
-
export interface ISwitchFieldProps extends iStyleAttributes {
|
|
76
|
-
className?: string;
|
|
77
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IPasswordFieldProps } from './FormFiled.interface';
|
|
2
|
-
declare function PasswordField(props: IPasswordFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare namespace PasswordField {
|
|
4
|
-
var defaultProps: {
|
|
5
|
-
set: string;
|
|
6
|
-
passwordClassName: string;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
export { PasswordField };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ISelectFieldProps } from './FormFiled.interface';
|
|
2
|
-
declare function SelectField(props: ISelectFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare namespace SelectField {
|
|
4
|
-
var defaultProps: {
|
|
5
|
-
set: string;
|
|
6
|
-
selectInputClass: string;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
export { SelectField };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ChoiceField } from './ChoiceField';
|
|
2
|
-
import { FormField } from './FormField';
|
|
3
|
-
import { PasswordField } from './PasswordField';
|
|
4
|
-
import { SelectField } from './SelectField';
|
|
5
|
-
import { SwitchField } from './SwitchField';
|
|
6
|
-
export { ChoiceField, FormField, PasswordField, SelectField, SwitchField };
|