@arkyn/components 1.3.70 → 1.3.72

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. package/dist/bundle.js +1093 -1056
  2. package/dist/bundle.umd.cjs +12 -12
  3. package/dist/components/Alert/AlertButton/index.d.ts +5 -0
  4. package/dist/components/Alert/AlertButton/index.d.ts.map +1 -0
  5. package/dist/components/Alert/AlertButton/index.js +12 -0
  6. package/dist/components/Alert/AlertContainer/index.d.ts +6 -0
  7. package/dist/components/Alert/AlertContainer/index.d.ts.map +1 -0
  8. package/dist/components/Alert/AlertContainer/index.js +13 -0
  9. package/dist/components/Alert/AlertContent/index.d.ts +5 -0
  10. package/dist/components/Alert/AlertContent/index.d.ts.map +1 -0
  11. package/dist/components/Alert/AlertContent/index.js +8 -0
  12. package/dist/components/Alert/AlertDescription/index.d.ts +5 -0
  13. package/dist/components/Alert/AlertDescription/index.d.ts.map +1 -0
  14. package/dist/components/Alert/AlertDescription/index.js +8 -0
  15. package/dist/components/Alert/AlertIcon/index.d.ts +5 -0
  16. package/dist/components/Alert/AlertIcon/index.d.ts.map +1 -0
  17. package/dist/components/Alert/AlertIcon/index.js +20 -0
  18. package/dist/components/Alert/AlertTitle/index.d.ts +5 -0
  19. package/dist/components/Alert/AlertTitle/index.d.ts.map +1 -0
  20. package/dist/components/Alert/AlertTitle/index.js +8 -0
  21. package/dist/components/Alert/index.d.ts +7 -0
  22. package/dist/components/Alert/index.d.ts.map +1 -0
  23. package/dist/components/Alert/index.js +6 -0
  24. package/dist/components/Input/CpfCpnjInput/getConfig.d.ts +47 -47
  25. package/dist/components/Input/CurrencyInput/getConfig.d.ts +46 -46
  26. package/dist/components/Input/MaskInput/getConfig.d.ts +47 -47
  27. package/dist/components/Input/MaskInput/index.d.ts.map +1 -1
  28. package/dist/components/Input/MaskInput/index.js +1 -1
  29. package/dist/components/Input/SimpleInput/getConfig.d.ts +48 -48
  30. package/dist/components/Select/getConfig.d.ts +45 -46
  31. package/dist/components/Select/getConfig.d.ts.map +1 -1
  32. package/dist/components/Select/getConfig.js +1 -2
  33. package/dist/components/Select/index.js +3 -3
  34. package/dist/index.d.ts +1 -0
  35. package/dist/index.d.ts.map +1 -1
  36. package/dist/index.js +1 -0
  37. package/dist/style.css +1 -1
  38. package/package.json +1 -1
  39. package/src/components/Alert/AlertButton/index.tsx +43 -0
  40. package/src/components/Alert/AlertButton/styles.css +214 -0
  41. package/src/components/Alert/AlertContainer/index.tsx +25 -0
  42. package/src/components/Alert/AlertContainer/styles.css +29 -0
  43. package/src/components/Alert/AlertContent/index.tsx +16 -0
  44. package/src/components/Alert/AlertContent/styles.css +5 -0
  45. package/src/components/Alert/AlertDescription/index.tsx +15 -0
  46. package/src/components/Alert/AlertDescription/styles.css +8 -0
  47. package/src/components/Alert/AlertIcon/index.tsx +25 -0
  48. package/src/components/Alert/AlertIcon/styles.css +23 -0
  49. package/src/components/Alert/AlertTitle/index.tsx +15 -0
  50. package/src/components/Alert/AlertTitle/styles.css +8 -0
  51. package/src/components/Alert/index.ts +13 -0
  52. package/src/components/Input/MaskInput/index.tsx +1 -0
  53. package/src/components/Select/getConfig.tsx +2 -2
  54. package/src/components/Select/index.tsx +3 -3
  55. package/src/index.ts +8 -0
@@ -0,0 +1,6 @@
1
+ import { AlertContainer } from "./AlertContainer";
2
+ import { AlertContent } from "./AlertContent";
3
+ import { AlertDescription } from "./AlertDescription";
4
+ import { AlertIcon } from "./AlertIcon";
5
+ import { AlertTitle } from "./AlertTitle";
6
+ export { AlertContainer, AlertContent, AlertDescription, AlertIcon, AlertTitle, };
@@ -1,17 +1,49 @@
1
1
  import type { CpfCnpjInputProps } from "@arkyn/types";
2
2
  declare function getConfig(props: CpfCnpjInputProps, isFocused: boolean): {
3
+ children?: import("react").ReactNode | undefined;
4
+ defaultChecked?: boolean | undefined;
5
+ suppressContentEditableWarning?: boolean | undefined;
3
6
  suppressHydrationWarning?: boolean | undefined;
4
- color?: string | undefined;
5
- height?: number | string | undefined;
7
+ accessKey?: string | undefined;
8
+ autoFocus?: boolean | undefined;
9
+ contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
10
+ contextMenu?: string | undefined;
11
+ dir?: string | undefined;
12
+ draggable?: (boolean | "true" | "false") | undefined;
13
+ hidden?: boolean | undefined;
6
14
  id?: string | undefined;
7
15
  lang?: string | undefined;
8
- max?: number | string | undefined;
9
- min?: number | string | undefined;
10
- name: string;
11
- type: "cpf-cnpj";
12
- width?: number | string | undefined;
13
- role?: import("react").AriaRole | undefined;
16
+ nonce?: string | undefined;
17
+ slot?: string | undefined;
18
+ spellCheck?: (boolean | "true" | "false") | undefined;
14
19
  tabIndex?: number | undefined;
20
+ translate?: "yes" | "no" | undefined;
21
+ radioGroup?: string | undefined;
22
+ role?: import("react").AriaRole | undefined;
23
+ about?: string | undefined;
24
+ content?: string | undefined;
25
+ datatype?: string | undefined;
26
+ inlist?: any;
27
+ property?: string | undefined;
28
+ rel?: string | undefined;
29
+ resource?: string | undefined;
30
+ rev?: string | undefined;
31
+ typeof?: string | undefined;
32
+ vocab?: string | undefined;
33
+ autoCapitalize?: string | undefined;
34
+ autoCorrect?: string | undefined;
35
+ autoSave?: string | undefined;
36
+ color?: string | undefined;
37
+ itemProp?: string | undefined;
38
+ itemScope?: boolean | undefined;
39
+ itemType?: string | undefined;
40
+ itemID?: string | undefined;
41
+ itemRef?: string | undefined;
42
+ results?: number | undefined;
43
+ security?: string | undefined;
44
+ unselectable?: "on" | "off" | undefined;
45
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
46
+ is?: string | undefined;
15
47
  "aria-activedescendant"?: string | undefined;
16
48
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
17
49
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
@@ -65,7 +97,6 @@ declare function getConfig(props: CpfCnpjInputProps, isFocused: boolean): {
65
97
  "aria-valuemin"?: number | undefined;
66
98
  "aria-valuenow"?: number | undefined;
67
99
  "aria-valuetext"?: string | undefined;
68
- children?: import("react").ReactNode | undefined;
69
100
  dangerouslySetInnerHTML?: {
70
101
  __html: string | TrustedHTML;
71
102
  } | undefined;
@@ -226,52 +257,21 @@ declare function getConfig(props: CpfCnpjInputProps, isFocused: boolean): {
226
257
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLInputElement>;
227
258
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLInputElement>;
228
259
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLInputElement>;
229
- defaultChecked?: boolean | undefined;
230
- suppressContentEditableWarning?: boolean | undefined;
231
- accessKey?: string | undefined;
232
- autoFocus?: boolean | undefined;
233
- contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
234
- contextMenu?: string | undefined;
235
- dir?: string | undefined;
236
- draggable?: (boolean | "true" | "false") | undefined;
237
- hidden?: boolean | undefined;
238
- nonce?: string | undefined;
239
- slot?: string | undefined;
240
- spellCheck?: (boolean | "true" | "false") | undefined;
241
- translate?: "yes" | "no" | undefined;
242
- radioGroup?: string | undefined;
243
- about?: string | undefined;
244
- content?: string | undefined;
245
- datatype?: string | undefined;
246
- inlist?: any;
247
- property?: string | undefined;
248
- rel?: string | undefined;
249
- resource?: string | undefined;
250
- rev?: string | undefined;
251
- typeof?: string | undefined;
252
- vocab?: string | undefined;
253
- autoCapitalize?: string | undefined;
254
- autoCorrect?: string | undefined;
255
- autoSave?: string | undefined;
256
- itemProp?: string | undefined;
257
- itemScope?: boolean | undefined;
258
- itemType?: string | undefined;
259
- itemID?: string | undefined;
260
- itemRef?: string | undefined;
261
- results?: number | undefined;
262
- security?: string | undefined;
263
- unselectable?: "on" | "off" | undefined;
264
- inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
265
- is?: string | undefined;
266
260
  form?: string | undefined;
267
261
  list?: string | undefined;
262
+ height?: number | string | undefined;
263
+ max?: number | string | undefined;
264
+ min?: number | string | undefined;
265
+ name: string;
266
+ type: "cpf-cnpj";
267
+ width?: number | string | undefined;
268
+ step?: number | string | undefined;
268
269
  formAction?: string | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
269
270
  formEncType?: string | undefined;
270
271
  formMethod?: string | undefined;
271
272
  formNoValidate?: boolean | undefined;
272
273
  formTarget?: string | undefined;
273
274
  checked?: boolean | undefined;
274
- step?: number | string | undefined;
275
275
  accept?: string | undefined;
276
276
  alt?: string | undefined;
277
277
  autoComplete?: import("react").HTMLInputAutoCompleteAttribute | undefined;
@@ -1,16 +1,49 @@
1
1
  import type { CurrencyInputProps } from "@arkyn/types";
2
2
  declare function getConfig(props: CurrencyInputProps, isFocused: boolean): {
3
+ children?: import("react").ReactNode | undefined;
4
+ defaultChecked?: boolean | undefined;
5
+ suppressContentEditableWarning?: boolean | undefined;
3
6
  suppressHydrationWarning?: boolean | undefined;
4
- color?: string | undefined;
5
- height?: number | string | undefined;
7
+ accessKey?: string | undefined;
8
+ autoFocus?: boolean | undefined;
9
+ contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
10
+ contextMenu?: string | undefined;
11
+ dir?: string | undefined;
12
+ draggable?: (boolean | "true" | "false") | undefined;
13
+ hidden?: boolean | undefined;
6
14
  id?: string | undefined;
7
15
  lang?: string | undefined;
8
- min?: number | string | undefined;
9
- name: string;
10
- type: "currency";
11
- width?: number | string | undefined;
12
- role?: import("react").AriaRole | undefined;
16
+ nonce?: string | undefined;
17
+ slot?: string | undefined;
18
+ spellCheck?: (boolean | "true" | "false") | undefined;
13
19
  tabIndex?: number | undefined;
20
+ translate?: "yes" | "no" | undefined;
21
+ radioGroup?: string | undefined;
22
+ role?: import("react").AriaRole | undefined;
23
+ about?: string | undefined;
24
+ content?: string | undefined;
25
+ datatype?: string | undefined;
26
+ inlist?: any;
27
+ property?: string | undefined;
28
+ rel?: string | undefined;
29
+ resource?: string | undefined;
30
+ rev?: string | undefined;
31
+ typeof?: string | undefined;
32
+ vocab?: string | undefined;
33
+ autoCapitalize?: string | undefined;
34
+ autoCorrect?: string | undefined;
35
+ autoSave?: string | undefined;
36
+ color?: string | undefined;
37
+ itemProp?: string | undefined;
38
+ itemScope?: boolean | undefined;
39
+ itemType?: string | undefined;
40
+ itemID?: string | undefined;
41
+ itemRef?: string | undefined;
42
+ results?: number | undefined;
43
+ security?: string | undefined;
44
+ unselectable?: "on" | "off" | undefined;
45
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
46
+ is?: string | undefined;
14
47
  "aria-activedescendant"?: string | undefined;
15
48
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
16
49
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
@@ -64,7 +97,6 @@ declare function getConfig(props: CurrencyInputProps, isFocused: boolean): {
64
97
  "aria-valuemin"?: number | undefined;
65
98
  "aria-valuenow"?: number | undefined;
66
99
  "aria-valuetext"?: string | undefined;
67
- children?: import("react").ReactNode | undefined;
68
100
  dangerouslySetInnerHTML?: {
69
101
  __html: string | TrustedHTML;
70
102
  } | undefined;
@@ -225,52 +257,20 @@ declare function getConfig(props: CurrencyInputProps, isFocused: boolean): {
225
257
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLInputElement>;
226
258
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLInputElement>;
227
259
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLInputElement>;
228
- defaultChecked?: boolean | undefined;
229
- suppressContentEditableWarning?: boolean | undefined;
230
- accessKey?: string | undefined;
231
- autoFocus?: boolean | undefined;
232
- contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
233
- contextMenu?: string | undefined;
234
- dir?: string | undefined;
235
- draggable?: (boolean | "true" | "false") | undefined;
236
- hidden?: boolean | undefined;
237
- nonce?: string | undefined;
238
- slot?: string | undefined;
239
- spellCheck?: (boolean | "true" | "false") | undefined;
240
- translate?: "yes" | "no" | undefined;
241
- radioGroup?: string | undefined;
242
- about?: string | undefined;
243
- content?: string | undefined;
244
- datatype?: string | undefined;
245
- inlist?: any;
246
- property?: string | undefined;
247
- rel?: string | undefined;
248
- resource?: string | undefined;
249
- rev?: string | undefined;
250
- typeof?: string | undefined;
251
- vocab?: string | undefined;
252
- autoCapitalize?: string | undefined;
253
- autoCorrect?: string | undefined;
254
- autoSave?: string | undefined;
255
- itemProp?: string | undefined;
256
- itemScope?: boolean | undefined;
257
- itemType?: string | undefined;
258
- itemID?: string | undefined;
259
- itemRef?: string | undefined;
260
- results?: number | undefined;
261
- security?: string | undefined;
262
- unselectable?: "on" | "off" | undefined;
263
- inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
264
- is?: string | undefined;
265
260
  form?: string | undefined;
266
261
  list?: string | undefined;
262
+ height?: number | string | undefined;
263
+ min?: number | string | undefined;
264
+ name: string;
265
+ type: "currency";
266
+ width?: number | string | undefined;
267
+ step?: number | string | undefined;
267
268
  formAction?: string | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
268
269
  formEncType?: string | undefined;
269
270
  formMethod?: string | undefined;
270
271
  formNoValidate?: boolean | undefined;
271
272
  formTarget?: string | undefined;
272
273
  checked?: boolean | undefined;
273
- step?: number | string | undefined;
274
274
  accept?: string | undefined;
275
275
  alt?: string | undefined;
276
276
  autoComplete?: import("react").HTMLInputAutoCompleteAttribute | undefined;
@@ -1,16 +1,52 @@
1
1
  import type { MaskedInputProps } from "@arkyn/types";
2
2
  declare function getConfig(props: MaskedInputProps, isFocused: boolean): {
3
3
  name: string;
4
+ value?: string | readonly string[] | number | undefined;
5
+ children?: import("react").ReactNode | undefined;
6
+ defaultChecked?: boolean | undefined;
7
+ defaultValue?: string | number | readonly string[] | undefined;
8
+ suppressContentEditableWarning?: boolean | undefined;
4
9
  suppressHydrationWarning?: boolean | undefined;
5
- color?: string | undefined;
6
- height?: number | string | undefined;
10
+ accessKey?: string | undefined;
11
+ autoFocus?: boolean | undefined;
12
+ contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
13
+ contextMenu?: string | undefined;
14
+ dir?: string | undefined;
15
+ draggable?: (boolean | "true" | "false") | undefined;
16
+ hidden?: boolean | undefined;
7
17
  id?: string | undefined;
8
18
  lang?: string | undefined;
9
- max?: number | string | undefined;
10
- min?: number | string | undefined;
11
- width?: number | string | undefined;
12
- role?: import("react").AriaRole | undefined;
19
+ nonce?: string | undefined;
20
+ slot?: string | undefined;
21
+ spellCheck?: (boolean | "true" | "false") | undefined;
13
22
  tabIndex?: number | undefined;
23
+ translate?: "yes" | "no" | undefined;
24
+ radioGroup?: string | undefined;
25
+ role?: import("react").AriaRole | undefined;
26
+ about?: string | undefined;
27
+ content?: string | undefined;
28
+ datatype?: string | undefined;
29
+ inlist?: any;
30
+ property?: string | undefined;
31
+ rel?: string | undefined;
32
+ resource?: string | undefined;
33
+ rev?: string | undefined;
34
+ typeof?: string | undefined;
35
+ vocab?: string | undefined;
36
+ autoCapitalize?: string | undefined;
37
+ autoCorrect?: string | undefined;
38
+ autoSave?: string | undefined;
39
+ color?: string | undefined;
40
+ itemProp?: string | undefined;
41
+ itemScope?: boolean | undefined;
42
+ itemType?: string | undefined;
43
+ itemID?: string | undefined;
44
+ itemRef?: string | undefined;
45
+ results?: number | undefined;
46
+ security?: string | undefined;
47
+ unselectable?: "on" | "off" | undefined;
48
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
49
+ is?: string | undefined;
14
50
  "aria-activedescendant"?: string | undefined;
15
51
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
16
52
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
@@ -64,7 +100,6 @@ declare function getConfig(props: MaskedInputProps, isFocused: boolean): {
64
100
  "aria-valuemin"?: number | undefined;
65
101
  "aria-valuenow"?: number | undefined;
66
102
  "aria-valuetext"?: string | undefined;
67
- children?: import("react").ReactNode | undefined;
68
103
  dangerouslySetInnerHTML?: {
69
104
  __html: string | TrustedHTML;
70
105
  } | undefined;
@@ -225,54 +260,19 @@ declare function getConfig(props: MaskedInputProps, isFocused: boolean): {
225
260
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLInputElement>;
226
261
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLInputElement>;
227
262
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLInputElement>;
228
- defaultChecked?: boolean | undefined;
229
- defaultValue?: string | number | readonly string[] | undefined;
230
- suppressContentEditableWarning?: boolean | undefined;
231
- accessKey?: string | undefined;
232
- autoFocus?: boolean | undefined;
233
- contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
234
- contextMenu?: string | undefined;
235
- dir?: string | undefined;
236
- draggable?: (boolean | "true" | "false") | undefined;
237
- hidden?: boolean | undefined;
238
- nonce?: string | undefined;
239
- slot?: string | undefined;
240
- spellCheck?: (boolean | "true" | "false") | undefined;
241
- translate?: "yes" | "no" | undefined;
242
- radioGroup?: string | undefined;
243
- about?: string | undefined;
244
- content?: string | undefined;
245
- datatype?: string | undefined;
246
- inlist?: any;
247
- property?: string | undefined;
248
- rel?: string | undefined;
249
- resource?: string | undefined;
250
- rev?: string | undefined;
251
- typeof?: string | undefined;
252
- vocab?: string | undefined;
253
- autoCapitalize?: string | undefined;
254
- autoCorrect?: string | undefined;
255
- autoSave?: string | undefined;
256
- itemProp?: string | undefined;
257
- itemScope?: boolean | undefined;
258
- itemType?: string | undefined;
259
- itemID?: string | undefined;
260
- itemRef?: string | undefined;
261
- results?: number | undefined;
262
- security?: string | undefined;
263
- unselectable?: "on" | "off" | undefined;
264
- inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
265
- is?: string | undefined;
266
263
  form?: string | undefined;
267
264
  list?: string | undefined;
265
+ height?: number | string | undefined;
266
+ max?: number | string | undefined;
267
+ min?: number | string | undefined;
268
+ width?: number | string | undefined;
269
+ step?: number | string | undefined;
268
270
  formAction?: string | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
269
271
  formEncType?: string | undefined;
270
272
  formMethod?: string | undefined;
271
273
  formNoValidate?: boolean | undefined;
272
274
  formTarget?: string | undefined;
273
- value?: string | readonly string[] | number | undefined;
274
275
  checked?: boolean | undefined;
275
- step?: number | string | undefined;
276
276
  accept?: string | undefined;
277
277
  alt?: string | undefined;
278
278
  autoComplete?: import("react").HTMLInputAutoCompleteAttribute | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/MaskInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAgBrD,iBAAS,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CA2E3C;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/MaskInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAgBrD,iBAAS,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CA4E3C;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -33,6 +33,6 @@ function MaskedInput(props) {
33
33
  if (onBlur)
34
34
  onBlur(e);
35
35
  }
36
- return (_jsxs("section", { title: title, style: style, onClick: handleSectionClick, className: className, children: [prefix, showLeftSpinner && Spinner, showLeftIcon && _jsx(LeftIcon, { size: iconSize, strokeWidth: 2.5 }), _jsx(InputMask, { component: BaseInput, ref: ref, onFocus: handleFocus, onBlur: handleBlur, ...rest }), showRightIcon && _jsx(RightIcon, { size: iconSize, strokeWidth: 2.5 }), showRightSpinner && Spinner, sufix] }));
36
+ return (_jsxs("section", { title: title, style: style, onClick: handleSectionClick, className: className, children: [prefix, showLeftSpinner && Spinner, showLeftIcon && _jsx(LeftIcon, { size: iconSize, strokeWidth: 2.5 }), _jsx(InputMask, { component: BaseInput, ref: ref, onFocus: handleFocus, onBlur: handleBlur, disabled: disabled, ...rest }), showRightIcon && _jsx(RightIcon, { size: iconSize, strokeWidth: 2.5 }), showRightSpinner && Spinner, sufix] }));
37
37
  }
38
38
  export { MaskedInput };
@@ -1,17 +1,53 @@
1
1
  import type { SimpleInputProps } from "@arkyn/types";
2
2
  declare function getConfig(props: SimpleInputProps, isFocused: boolean): {
3
- type: "number" | "color" | "search" | "hidden" | "button" | "text" | "tel" | "url" | "email" | "submit" | "reset" | "date" | "time" | "datetime-local" | "file" | "image" | "month" | "password" | "range" | "week";
3
+ type: "number" | "hidden" | "color" | "search" | "button" | "text" | "tel" | "url" | "email" | "date" | "time" | "submit" | "reset" | "datetime-local" | "file" | "image" | "month" | "password" | "range" | "week";
4
4
  name: string;
5
+ value?: string | readonly string[] | number | undefined;
6
+ children?: import("react").ReactNode | undefined;
7
+ defaultChecked?: boolean | undefined;
8
+ defaultValue?: string | number | readonly string[] | undefined;
9
+ suppressContentEditableWarning?: boolean | undefined;
5
10
  suppressHydrationWarning?: boolean | undefined;
6
- color?: string | undefined;
7
- height?: number | string | undefined;
11
+ accessKey?: string | undefined;
12
+ autoFocus?: boolean | undefined;
13
+ contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
14
+ contextMenu?: string | undefined;
15
+ dir?: string | undefined;
16
+ draggable?: (boolean | "true" | "false") | undefined;
17
+ hidden?: boolean | undefined;
8
18
  id?: string | undefined;
9
19
  lang?: string | undefined;
10
- max?: number | string | undefined;
11
- min?: number | string | undefined;
12
- width?: number | string | undefined;
13
- role?: import("react").AriaRole | undefined;
20
+ nonce?: string | undefined;
21
+ slot?: string | undefined;
22
+ spellCheck?: (boolean | "true" | "false") | undefined;
14
23
  tabIndex?: number | undefined;
24
+ translate?: "yes" | "no" | undefined;
25
+ radioGroup?: string | undefined;
26
+ role?: import("react").AriaRole | undefined;
27
+ about?: string | undefined;
28
+ content?: string | undefined;
29
+ datatype?: string | undefined;
30
+ inlist?: any;
31
+ property?: string | undefined;
32
+ rel?: string | undefined;
33
+ resource?: string | undefined;
34
+ rev?: string | undefined;
35
+ typeof?: string | undefined;
36
+ vocab?: string | undefined;
37
+ autoCapitalize?: string | undefined;
38
+ autoCorrect?: string | undefined;
39
+ autoSave?: string | undefined;
40
+ color?: string | undefined;
41
+ itemProp?: string | undefined;
42
+ itemScope?: boolean | undefined;
43
+ itemType?: string | undefined;
44
+ itemID?: string | undefined;
45
+ itemRef?: string | undefined;
46
+ results?: number | undefined;
47
+ security?: string | undefined;
48
+ unselectable?: "on" | "off" | undefined;
49
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
50
+ is?: string | undefined;
15
51
  "aria-activedescendant"?: string | undefined;
16
52
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
17
53
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
@@ -65,7 +101,6 @@ declare function getConfig(props: SimpleInputProps, isFocused: boolean): {
65
101
  "aria-valuemin"?: number | undefined;
66
102
  "aria-valuenow"?: number | undefined;
67
103
  "aria-valuetext"?: string | undefined;
68
- children?: import("react").ReactNode | undefined;
69
104
  dangerouslySetInnerHTML?: {
70
105
  __html: string | TrustedHTML;
71
106
  } | undefined;
@@ -226,54 +261,19 @@ declare function getConfig(props: SimpleInputProps, isFocused: boolean): {
226
261
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLInputElement>;
227
262
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLInputElement>;
228
263
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLInputElement>;
229
- defaultChecked?: boolean | undefined;
230
- defaultValue?: string | number | readonly string[] | undefined;
231
- suppressContentEditableWarning?: boolean | undefined;
232
- accessKey?: string | undefined;
233
- autoFocus?: boolean | undefined;
234
- contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
235
- contextMenu?: string | undefined;
236
- dir?: string | undefined;
237
- draggable?: (boolean | "true" | "false") | undefined;
238
- hidden?: boolean | undefined;
239
- nonce?: string | undefined;
240
- slot?: string | undefined;
241
- spellCheck?: (boolean | "true" | "false") | undefined;
242
- translate?: "yes" | "no" | undefined;
243
- radioGroup?: string | undefined;
244
- about?: string | undefined;
245
- content?: string | undefined;
246
- datatype?: string | undefined;
247
- inlist?: any;
248
- property?: string | undefined;
249
- rel?: string | undefined;
250
- resource?: string | undefined;
251
- rev?: string | undefined;
252
- typeof?: string | undefined;
253
- vocab?: string | undefined;
254
- autoCapitalize?: string | undefined;
255
- autoCorrect?: string | undefined;
256
- autoSave?: string | undefined;
257
- itemProp?: string | undefined;
258
- itemScope?: boolean | undefined;
259
- itemType?: string | undefined;
260
- itemID?: string | undefined;
261
- itemRef?: string | undefined;
262
- results?: number | undefined;
263
- security?: string | undefined;
264
- unselectable?: "on" | "off" | undefined;
265
- inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
266
- is?: string | undefined;
267
264
  form?: string | undefined;
268
265
  list?: string | undefined;
266
+ height?: number | string | undefined;
267
+ max?: number | string | undefined;
268
+ min?: number | string | undefined;
269
+ width?: number | string | undefined;
270
+ step?: number | string | undefined;
269
271
  formAction?: string | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
270
272
  formEncType?: string | undefined;
271
273
  formMethod?: string | undefined;
272
274
  formNoValidate?: boolean | undefined;
273
275
  formTarget?: string | undefined;
274
- value?: string | readonly string[] | number | undefined;
275
276
  checked?: boolean | undefined;
276
- step?: number | string | undefined;
277
277
  accept?: string | undefined;
278
278
  alt?: string | undefined;
279
279
  autoComplete?: import("react").HTMLInputAutoCompleteAttribute | undefined;
@@ -12,16 +12,50 @@ declare function getConfig(props: SelectProps, isFocused: boolean): {
12
12
  label: string;
13
13
  value: string;
14
14
  }) => void;
15
+ children?: import("react").ReactNode | undefined;
16
+ defaultChecked?: boolean | undefined;
17
+ suppressContentEditableWarning?: boolean | undefined;
15
18
  suppressHydrationWarning?: boolean | undefined;
16
- color?: string | undefined;
17
- height?: number | string | undefined;
19
+ accessKey?: string | undefined;
20
+ autoFocus?: boolean | undefined;
21
+ contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
22
+ contextMenu?: string | undefined;
23
+ dir?: string | undefined;
24
+ draggable?: (boolean | "true" | "false") | undefined;
25
+ hidden?: boolean | undefined;
18
26
  id?: string | undefined;
19
27
  lang?: string | undefined;
20
- max?: number | string | undefined;
21
- min?: number | string | undefined;
22
- width?: number | string | undefined;
23
- role?: import("react").AriaRole | undefined;
28
+ nonce?: string | undefined;
29
+ slot?: string | undefined;
30
+ spellCheck?: (boolean | "true" | "false") | undefined;
24
31
  tabIndex?: number | undefined;
32
+ translate?: "yes" | "no" | undefined;
33
+ radioGroup?: string | undefined;
34
+ role?: import("react").AriaRole | undefined;
35
+ about?: string | undefined;
36
+ content?: string | undefined;
37
+ datatype?: string | undefined;
38
+ inlist?: any;
39
+ property?: string | undefined;
40
+ rel?: string | undefined;
41
+ resource?: string | undefined;
42
+ rev?: string | undefined;
43
+ typeof?: string | undefined;
44
+ vocab?: string | undefined;
45
+ autoCapitalize?: string | undefined;
46
+ autoCorrect?: string | undefined;
47
+ autoSave?: string | undefined;
48
+ color?: string | undefined;
49
+ itemProp?: string | undefined;
50
+ itemScope?: boolean | undefined;
51
+ itemType?: string | undefined;
52
+ itemID?: string | undefined;
53
+ itemRef?: string | undefined;
54
+ results?: number | undefined;
55
+ security?: string | undefined;
56
+ unselectable?: "on" | "off" | undefined;
57
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
58
+ is?: string | undefined;
25
59
  "aria-activedescendant"?: string | undefined;
26
60
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
27
61
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
@@ -75,7 +109,6 @@ declare function getConfig(props: SelectProps, isFocused: boolean): {
75
109
  "aria-valuemin"?: number | undefined;
76
110
  "aria-valuenow"?: number | undefined;
77
111
  "aria-valuetext"?: string | undefined;
78
- children?: import("react").ReactNode | undefined;
79
112
  dangerouslySetInnerHTML?: {
80
113
  __html: string | TrustedHTML;
81
114
  } | undefined;
@@ -235,52 +268,19 @@ declare function getConfig(props: SelectProps, isFocused: boolean): {
235
268
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLInputElement>;
236
269
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLInputElement>;
237
270
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLInputElement>;
238
- defaultChecked?: boolean | undefined;
239
- suppressContentEditableWarning?: boolean | undefined;
240
- accessKey?: string | undefined;
241
- autoFocus?: boolean | undefined;
242
- contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
243
- contextMenu?: string | undefined;
244
- dir?: string | undefined;
245
- draggable?: (boolean | "true" | "false") | undefined;
246
- hidden?: boolean | undefined;
247
- nonce?: string | undefined;
248
- slot?: string | undefined;
249
- spellCheck?: (boolean | "true" | "false") | undefined;
250
- translate?: "yes" | "no" | undefined;
251
- radioGroup?: string | undefined;
252
- about?: string | undefined;
253
- content?: string | undefined;
254
- datatype?: string | undefined;
255
- inlist?: any;
256
- property?: string | undefined;
257
- rel?: string | undefined;
258
- resource?: string | undefined;
259
- rev?: string | undefined;
260
- typeof?: string | undefined;
261
- vocab?: string | undefined;
262
- autoCapitalize?: string | undefined;
263
- autoCorrect?: string | undefined;
264
- autoSave?: string | undefined;
265
- itemProp?: string | undefined;
266
- itemScope?: boolean | undefined;
267
- itemType?: string | undefined;
268
- itemID?: string | undefined;
269
- itemRef?: string | undefined;
270
- results?: number | undefined;
271
- security?: string | undefined;
272
- unselectable?: "on" | "off" | undefined;
273
- inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
274
- is?: string | undefined;
275
271
  form?: string | undefined;
276
272
  list?: string | undefined;
273
+ height?: number | string | undefined;
274
+ max?: number | string | undefined;
275
+ min?: number | string | undefined;
276
+ width?: number | string | undefined;
277
+ step?: number | string | undefined;
277
278
  formAction?: string | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
278
279
  formEncType?: string | undefined;
279
280
  formMethod?: string | undefined;
280
281
  formNoValidate?: boolean | undefined;
281
282
  formTarget?: string | undefined;
282
283
  checked?: boolean | undefined;
283
- step?: number | string | undefined;
284
284
  accept?: string | undefined;
285
285
  alt?: string | undefined;
286
286
  autoComplete?: import("react").HTMLInputAutoCompleteAttribute | undefined;
@@ -298,7 +298,6 @@ declare function getConfig(props: SelectProps, isFocused: boolean): {
298
298
  prefix: import("react/jsx-runtime").JSX.Element;
299
299
  LeftIcon: import("lucide-react").LucideIcon;
300
300
  disabled: boolean;
301
- readOnly: boolean;
302
301
  onFocus: import("react").FocusEventHandler<HTMLInputElement>;
303
302
  onBlur: import("react").FocusEventHandler<HTMLInputElement>;
304
303
  title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"getConfig.d.ts","sourceRoot":"","sources":["../../../src/components/Select/getConfig.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAK3C,iBAAS,SAAS,CAAC,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4CxD;AAED,OAAO,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"getConfig.d.ts","sourceRoot":"","sources":["../../../src/components/Select/getConfig.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAK3C,iBAAS,SAAS,CAAC,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4CxD;AAED,OAAO,EAAE,SAAS,EAAE,CAAC"}