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/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
- | "grayLight"
200
- | "grayDark"
201
- | "green"
202
- | "red"
203
- | "error"
204
- | "transparent"
205
- | "transparentLight"
206
- | "transparentWithBorder"
207
- | "transparentWithDarkBorder"
208
- | "transparentWithBoldBorder"
209
- | "backgroundLight"
210
- | "backgroundWithBorder"
211
-
212
- type ButtonSizes = "xs" | "s" | "m" | "l"
213
-
214
- type ButtonTypes = "button" | "submit"
215
-
216
- type ButtonBorder = "brand" | "lightGray" | "lightOrange"
217
-
218
- interface ButtonProps
219
- extends React.DetailedHTMLProps<
220
- React.ButtonHTMLAttributes<HTMLButtonElement>,
221
- HTMLButtonElement
222
- >,
223
- React.AriaAttributes {
224
- variant?: ButtonThemes
225
- size?: ButtonSizes
226
- type?: ButtonTypes
227
- fullWidth?: boolean
228
- endIcon?: React.ReactElement
229
- startIcon?: React.ReactElement
230
- disabled?: boolean
231
- isCircle?: boolean
232
- captionSize?: CaptionSizes
233
- captionWeight?: CaptionWeight
234
- disabledStyle?: string
235
- border?: ButtonBorder
236
- withoutChildrenWrapper?: boolean
237
- }
238
-
239
- type ButtonType = (props: ButtonProps) => React.ReactElement
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