kui-basic 1.1.113 → 1.1.115
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/Button/cjs/index.js +4 -4
- package/Button/cjs/index.js.map +1 -1
- package/Button/index.d.ts +55 -54
- package/Button/index.js +4 -4
- package/Button/index.js.map +1 -1
- package/Modal/cjs/index.js +4 -4
- package/Modal/cjs/index.js.map +1 -1
- package/Modal/index.js +4 -4
- package/Modal/index.js.map +1 -1
- package/Tooltip/cjs/index.js +2 -2
- package/Tooltip/cjs/index.js.map +1 -1
- package/Tooltip/index.js +2 -2
- package/Tooltip/index.js.map +1 -1
- package/cjs/index.js +4 -4
- package/cjs/index.js.map +1 -1
- package/index.d.ts +55 -54
- package/index.js +4 -4
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -184,60 +184,61 @@ type CaptionType = (props: CaptionProps) => React.ReactElement
|
|
|
184
184
|
|
|
185
185
|
declare const Caption: CaptionType
|
|
186
186
|
|
|
187
|
-
type ButtonThemes =
|
|
188
|
-
| "primary"
|
|
189
|
-
| "orange"
|
|
190
|
-
| "orangeWithHoverLight"
|
|
191
|
-
| "orangeWithBorder"
|
|
192
|
-
| "white"
|
|
193
|
-
| "whiteWithOrangeHover"
|
|
194
|
-
| "whiteWithBrand"
|
|
195
|
-
| "blur"
|
|
196
|
-
| "blurDark"
|
|
197
|
-
| "whiteWithGray"
|
|
198
|
-
| "grayLightWithBorder"
|
|
199
|
-
| "
|
|
200
|
-
| "
|
|
201
|
-
| "
|
|
202
|
-
| "
|
|
203
|
-
| "
|
|
204
|
-
| "
|
|
205
|
-
| "
|
|
206
|
-
| "
|
|
207
|
-
| "
|
|
208
|
-
| "
|
|
209
|
-
| "
|
|
210
|
-
| "
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
HTMLButtonElement
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
187
|
+
type ButtonThemes =
|
|
188
|
+
| "primary"
|
|
189
|
+
| "orange"
|
|
190
|
+
| "orangeWithHoverLight"
|
|
191
|
+
| "orangeWithBorder"
|
|
192
|
+
| "white"
|
|
193
|
+
| "whiteWithOrangeHover"
|
|
194
|
+
| "whiteWithBrand"
|
|
195
|
+
| "blur"
|
|
196
|
+
| "blurDark"
|
|
197
|
+
| "whiteWithGray"
|
|
198
|
+
| "grayLightWithBorder"
|
|
199
|
+
| "gray"
|
|
200
|
+
| "grayLight"
|
|
201
|
+
| "grayDark"
|
|
202
|
+
| "green"
|
|
203
|
+
| "red"
|
|
204
|
+
| "error"
|
|
205
|
+
| "transparent"
|
|
206
|
+
| "transparentLight"
|
|
207
|
+
| "transparentWithBorder"
|
|
208
|
+
| "transparentWithDarkBorder"
|
|
209
|
+
| "transparentWithBoldBorder"
|
|
210
|
+
| "backgroundLight"
|
|
211
|
+
| "backgroundWithBorder"
|
|
212
|
+
|
|
213
|
+
type ButtonSizes = "xs" | "s" | "m" | "l"
|
|
214
|
+
|
|
215
|
+
type ButtonTypes = "button" | "submit"
|
|
216
|
+
|
|
217
|
+
type ButtonBorder = "brand" | "lightGray" | "lightOrange"
|
|
218
|
+
|
|
219
|
+
interface ButtonProps
|
|
220
|
+
extends React.DetailedHTMLProps<
|
|
221
|
+
React.ButtonHTMLAttributes<HTMLButtonElement>,
|
|
222
|
+
HTMLButtonElement
|
|
223
|
+
>,
|
|
224
|
+
React.AriaAttributes {
|
|
225
|
+
variant?: ButtonThemes
|
|
226
|
+
size?: ButtonSizes
|
|
227
|
+
type?: ButtonTypes
|
|
228
|
+
fullWidth?: boolean
|
|
229
|
+
endIcon?: React.ReactElement
|
|
230
|
+
startIcon?: React.ReactElement
|
|
231
|
+
disabled?: boolean
|
|
232
|
+
isCircle?: boolean
|
|
233
|
+
captionSize?: CaptionSizes
|
|
234
|
+
captionWeight?: CaptionWeight
|
|
235
|
+
disabledStyle?: string
|
|
236
|
+
border?: ButtonBorder
|
|
237
|
+
withoutChildrenWrapper?: boolean
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
type ButtonType = (props: ButtonProps) => React.ReactElement
|
|
241
|
+
|
|
241
242
|
declare const Button: ButtonType
|
|
242
243
|
|
|
243
244
|
interface CheckboxProps
|