@nextui-org/react 1.0.3-beta.5 → 1.0.6-beta.5

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.
Files changed (89) hide show
  1. package/cjs/backdrop/backdrop.js +1 -1
  2. package/cjs/backdrop/backdrop.styles.js +1 -1
  3. package/cjs/button/button-group.styles.js +1 -1
  4. package/cjs/button/button-icon.js +1 -1
  5. package/cjs/button/button.js +1 -1
  6. package/cjs/button/button.styles.js +1 -1
  7. package/cjs/button/utils.js +1 -1
  8. package/cjs/css-baseline/css-baseline.js +1 -1
  9. package/cjs/index.js +1 -1
  10. package/cjs/input/input.js +1 -1
  11. package/cjs/loading/loading.js +1 -1
  12. package/cjs/loading/loading.styles.js +1 -1
  13. package/cjs/pagination/pagination.styles.js +1 -1
  14. package/cjs/progress/progress.styles.js +1 -1
  15. package/cjs/table/table-body.js +1 -1
  16. package/cjs/table/table-column-header.js +1 -1
  17. package/cjs/table/table-row.js +1 -1
  18. package/cjs/table/table.js +1 -1
  19. package/cjs/theme/common.js +1 -1
  20. package/cjs/theme/stitches.config.js +1 -1
  21. package/cjs/utils/dom.js +1 -1
  22. package/esm/backdrop/backdrop.js +1 -1
  23. package/esm/backdrop/backdrop.styles.js +1 -1
  24. package/esm/button/button-group.styles.js +1 -1
  25. package/esm/button/button-icon.js +1 -1
  26. package/esm/button/button.js +1 -1
  27. package/esm/button/button.styles.js +1 -1
  28. package/esm/button/utils.js +1 -1
  29. package/esm/css-baseline/css-baseline.js +1 -1
  30. package/esm/index.js +1 -1
  31. package/esm/input/input.js +1 -1
  32. package/esm/loading/loading.js +1 -1
  33. package/esm/loading/loading.styles.js +1 -1
  34. package/esm/pagination/pagination.styles.js +1 -1
  35. package/esm/progress/progress.styles.js +1 -1
  36. package/esm/table/table-body.js +1 -1
  37. package/esm/table/table-column-header.js +1 -1
  38. package/esm/table/table-row.js +1 -1
  39. package/esm/table/table.js +1 -1
  40. package/esm/theme/common.js +1 -1
  41. package/esm/theme/stitches.config.js +1 -1
  42. package/esm/utils/dom.js +1 -1
  43. package/package.json +6 -4
  44. package/types/avatar/avatar-group.styles.d.ts +2 -0
  45. package/types/avatar/avatar.styles.d.ts +1 -0
  46. package/types/backdrop/backdrop.styles.d.ts +6 -1
  47. package/types/button/button-group.styles.d.ts +1 -0
  48. package/types/button/button-icon.d.ts +2 -0
  49. package/types/button/button.d.ts +6 -5
  50. package/types/button/button.styles.d.ts +248 -300
  51. package/types/button/utils.d.ts +49 -0
  52. package/types/card/card.styles.d.ts +4 -0
  53. package/types/checkbox/checkbox.styles.d.ts +10 -0
  54. package/types/code/code.styles.d.ts +2 -0
  55. package/types/col/col.styles.d.ts +1 -0
  56. package/types/collapse/collapse.styles.d.ts +6 -0
  57. package/types/container/container.styles.d.ts +1 -0
  58. package/types/divider/divider.styles.d.ts +2 -0
  59. package/types/grid/grid.styles.d.ts +2 -0
  60. package/types/image/image.styles.d.ts +3 -0
  61. package/types/index.d.ts +2 -0
  62. package/types/input/input-password.d.ts +1 -1
  63. package/types/input/input.styles.d.ts +11 -0
  64. package/types/link/link.styles.d.ts +2 -0
  65. package/types/loading/loading.styles.d.ts +7 -1
  66. package/types/modal/modal.d.ts +2 -4
  67. package/types/modal/modal.styles.d.ts +6 -0
  68. package/types/pagination/pagination.styles.d.ts +6 -0
  69. package/types/progress/progress.styles.d.ts +2 -0
  70. package/types/radio/radio.styles.d.ts +6 -0
  71. package/types/row/row.styles.d.ts +1 -0
  72. package/types/snippet/snippet.styles.d.ts +4 -0
  73. package/types/spacer/spacer.styles.d.ts +1 -0
  74. package/types/switch/switch.styles.d.ts +4 -0
  75. package/types/table/table-column-header.d.ts +1 -0
  76. package/types/table/table-row.d.ts +0 -1
  77. package/types/table/table-sort-icon.d.ts +1 -0
  78. package/types/table/table.styles.d.ts +17 -0
  79. package/types/text/text.styles.d.ts +1 -0
  80. package/types/theme/common.d.ts +2 -0
  81. package/types/theme/stitches.config.d.ts +13 -0
  82. package/types/theme/types.d.ts +11 -14
  83. package/types/tooltip/tooltip.styles.d.ts +4 -0
  84. package/types/use-drip/use-drip.d.ts +2 -1
  85. package/types/user/user.styles.d.ts +5 -0
  86. package/types/utils/dom.d.ts +18 -0
  87. package/types/utils/drip.d.ts +1 -0
  88. package/umd/nextui.js +18284 -13284
  89. package/umd/nextui.min.js +1 -1
@@ -2,3 +2,52 @@ import React from 'react';
2
2
  import { ButtonProps } from './button';
3
3
  import { ButtonGroupConfig } from './button-group-context';
4
4
  export declare const filterPropsWithGroup: (props: React.PropsWithChildren<ButtonProps>, config: ButtonGroupConfig) => ButtonProps;
5
+ export declare const getCssColors: (props: React.PropsWithChildren<ButtonProps>) => {
6
+ bg: string;
7
+ color: string;
8
+ transform: string;
9
+ boxShadow: string;
10
+ pe: string;
11
+ } | {
12
+ px: string;
13
+ py: string;
14
+ color?: undefined;
15
+ backgroundImage?: undefined;
16
+ transform?: undefined;
17
+ boxShadow?: undefined;
18
+ pe?: undefined;
19
+ pl?: undefined;
20
+ pr?: undefined;
21
+ } | {
22
+ px?: undefined;
23
+ py?: undefined;
24
+ color?: undefined;
25
+ backgroundImage?: undefined;
26
+ transform?: undefined;
27
+ boxShadow?: undefined;
28
+ pe?: undefined;
29
+ pl?: undefined;
30
+ pr?: undefined;
31
+ } | {
32
+ color: string;
33
+ backgroundImage: string;
34
+ transform: string;
35
+ boxShadow: string;
36
+ pe: string;
37
+ pl: string;
38
+ pr: string;
39
+ px?: undefined;
40
+ py?: undefined;
41
+ } | {
42
+ bg: string;
43
+ borderColor: string;
44
+ color: string;
45
+ transform: string;
46
+ boxShadow: string;
47
+ pe: string;
48
+ px?: undefined;
49
+ py?: undefined;
50
+ backgroundImage?: undefined;
51
+ pl?: undefined;
52
+ pr?: undefined;
53
+ };
@@ -263,6 +263,7 @@ export declare const StyledCardBody: import("@stitches/react/types/styled-compon
263
263
  };
264
264
  transitions: {
265
265
  default: string;
266
+ button: string;
266
267
  };
267
268
  breakpoints: {
268
269
  xs: string;
@@ -1204,6 +1205,7 @@ export declare const StyledCard: import("@stitches/react/types/styled-component"
1204
1205
  };
1205
1206
  transitions: {
1206
1207
  default: string;
1208
+ button: string;
1207
1209
  };
1208
1210
  breakpoints: {
1209
1211
  xs: string;
@@ -2135,6 +2137,7 @@ export declare const StyledCardHeader: import("@stitches/react/types/styled-comp
2135
2137
  };
2136
2138
  transitions: {
2137
2139
  default: string;
2140
+ button: string;
2138
2141
  };
2139
2142
  breakpoints: {
2140
2143
  xs: string;
@@ -3068,6 +3071,7 @@ export declare const StyledCardFooter: import("@stitches/react/types/styled-comp
3068
3071
  };
3069
3072
  transitions: {
3070
3073
  default: string;
3074
+ button: string;
3071
3075
  };
3072
3076
  breakpoints: {
3073
3077
  xs: string;
@@ -267,6 +267,7 @@ export declare const StyledCheckboxLabel: import("@stitches/react/types/styled-c
267
267
  };
268
268
  transitions: {
269
269
  default: string;
270
+ button: string;
270
271
  };
271
272
  breakpoints: {
272
273
  xs: string;
@@ -1261,6 +1262,7 @@ export declare const StyledCheckboxContainer: import("@stitches/react/types/styl
1261
1262
  };
1262
1263
  transitions: {
1263
1264
  default: string;
1265
+ button: string;
1264
1266
  };
1265
1267
  breakpoints: {
1266
1268
  xs: string;
@@ -2191,6 +2193,7 @@ export declare const StyledCheckboxContainer: import("@stitches/react/types/styl
2191
2193
  };
2192
2194
  transitions: {
2193
2195
  default: string;
2196
+ button: string;
2194
2197
  };
2195
2198
  breakpoints: {
2196
2199
  xs: string;
@@ -3126,6 +3129,7 @@ export declare const StyledIconCheckFirstLine: import("@stitches/react/types/sty
3126
3129
  };
3127
3130
  transitions: {
3128
3131
  default: string;
3132
+ button: string;
3129
3133
  };
3130
3134
  breakpoints: {
3131
3135
  xs: string;
@@ -4061,6 +4065,7 @@ export declare const StyledIconCheckSecondLine: import("@stitches/react/types/st
4061
4065
  };
4062
4066
  transitions: {
4063
4067
  default: string;
4068
+ button: string;
4064
4069
  };
4065
4070
  breakpoints: {
4066
4071
  xs: string;
@@ -4997,6 +5002,7 @@ export declare const StyledIconCheck: import("@stitches/react/types/styled-compo
4997
5002
  };
4998
5003
  transitions: {
4999
5004
  default: string;
5005
+ button: string;
5000
5006
  };
5001
5007
  breakpoints: {
5002
5008
  xs: string;
@@ -5931,6 +5937,7 @@ export declare const StyledCheckboxMask: import("@stitches/react/types/styled-co
5931
5937
  };
5932
5938
  transitions: {
5933
5939
  default: string;
5940
+ button: string;
5934
5941
  };
5935
5942
  breakpoints: {
5936
5943
  xs: string;
@@ -6868,6 +6875,7 @@ export declare const StyledCheckboxText: import("@stitches/react/types/styled-co
6868
6875
  };
6869
6876
  transitions: {
6870
6877
  default: string;
6878
+ button: string;
6871
6879
  };
6872
6880
  breakpoints: {
6873
6881
  xs: string;
@@ -7799,6 +7807,7 @@ export declare const StyledCheckboxInput: import("@stitches/react/types/styled-c
7799
7807
  };
7800
7808
  transitions: {
7801
7809
  default: string;
7810
+ button: string;
7802
7811
  };
7803
7812
  breakpoints: {
7804
7813
  xs: string;
@@ -8733,6 +8742,7 @@ export declare const StyledCheckboxGroup: import("@stitches/react/types/styled-c
8733
8742
  };
8734
8743
  transitions: {
8735
8744
  default: string;
8745
+ button: string;
8736
8746
  };
8737
8747
  breakpoints: {
8738
8748
  xs: string;
@@ -263,6 +263,7 @@ export declare const StyledCode: import("@stitches/react/types/styled-component"
263
263
  };
264
264
  transitions: {
265
265
  default: string;
266
+ button: string;
266
267
  };
267
268
  breakpoints: {
268
269
  xs: string;
@@ -1194,6 +1195,7 @@ export declare const StyledPre: import("@stitches/react/types/styled-component")
1194
1195
  };
1195
1196
  transitions: {
1196
1197
  default: string;
1198
+ button: string;
1197
1199
  };
1198
1200
  breakpoints: {
1199
1201
  xs: string;
@@ -263,6 +263,7 @@ export declare const StyledCol: import("@stitches/react/types/styled-component")
263
263
  };
264
264
  transitions: {
265
265
  default: string;
266
+ button: string;
266
267
  };
267
268
  breakpoints: {
268
269
  xs: string;
@@ -271,6 +271,7 @@ export declare const StyledCollapse: import("@stitches/react/types/styled-compon
271
271
  };
272
272
  transitions: {
273
273
  default: string;
274
+ button: string;
274
275
  };
275
276
  breakpoints: {
276
277
  xs: string;
@@ -1223,6 +1224,7 @@ export declare const StyledCollapseView: import("@stitches/react/types/styled-co
1223
1224
  };
1224
1225
  transitions: {
1225
1226
  default: string;
1227
+ button: string;
1226
1228
  };
1227
1229
  breakpoints: {
1228
1230
  xs: string;
@@ -2153,6 +2155,7 @@ export declare const StyledCollapseView: import("@stitches/react/types/styled-co
2153
2155
  };
2154
2156
  transitions: {
2155
2157
  default: string;
2158
+ button: string;
2156
2159
  };
2157
2160
  breakpoints: {
2158
2161
  xs: string;
@@ -3084,6 +3087,7 @@ export declare const StyledCollapseContent: import("@stitches/react/types/styled
3084
3087
  };
3085
3088
  transitions: {
3086
3089
  default: string;
3090
+ button: string;
3087
3091
  };
3088
3092
  breakpoints: {
3089
3093
  xs: string;
@@ -4015,6 +4019,7 @@ export declare const StyledCollapseIcon: import("@stitches/react/types/styled-co
4015
4019
  };
4016
4020
  transitions: {
4017
4021
  default: string;
4022
+ button: string;
4018
4023
  };
4019
4024
  breakpoints: {
4020
4025
  xs: string;
@@ -4952,6 +4957,7 @@ export declare const StyledCollapseGroup: import("@stitches/react/types/styled-c
4952
4957
  };
4953
4958
  transitions: {
4954
4959
  default: string;
4960
+ button: string;
4955
4961
  };
4956
4962
  breakpoints: {
4957
4963
  xs: string;
@@ -266,6 +266,7 @@ export declare const StyledContainer: import("@stitches/react/types/styled-compo
266
266
  };
267
267
  transitions: {
268
268
  default: string;
269
+ button: string;
269
270
  };
270
271
  breakpoints: {
271
272
  xs: string;
@@ -265,6 +265,7 @@ export declare const StyledDivider: import("@stitches/react/types/styled-compone
265
265
  };
266
266
  transitions: {
267
267
  default: string;
268
+ button: string;
268
269
  };
269
270
  breakpoints: {
270
271
  xs: string;
@@ -1198,6 +1199,7 @@ export declare const StyledDividerText: import("@stitches/react/types/styled-com
1198
1199
  };
1199
1200
  transitions: {
1200
1201
  default: string;
1202
+ button: string;
1201
1203
  };
1202
1204
  breakpoints: {
1203
1205
  xs: string;
@@ -263,6 +263,7 @@ export declare const StyledGridContainer: import("@stitches/react/types/styled-c
263
263
  };
264
264
  transitions: {
265
265
  default: string;
266
+ button: string;
266
267
  };
267
268
  breakpoints: {
268
269
  xs: string;
@@ -1194,6 +1195,7 @@ export declare const StyledGridItem: import("@stitches/react/types/styled-compon
1194
1195
  };
1195
1196
  transitions: {
1196
1197
  default: string;
1198
+ button: string;
1197
1199
  };
1198
1200
  breakpoints: {
1199
1201
  xs: string;
@@ -265,6 +265,7 @@ export declare const StyledImageContainer: import("@stitches/react/types/styled-
265
265
  };
266
266
  transitions: {
267
267
  default: string;
268
+ button: string;
268
269
  };
269
270
  breakpoints: {
270
271
  xs: string;
@@ -1196,6 +1197,7 @@ export declare const StyledImage: import("@stitches/react/types/styled-component
1196
1197
  };
1197
1198
  transitions: {
1198
1199
  default: string;
1200
+ button: string;
1199
1201
  };
1200
1202
  breakpoints: {
1201
1203
  xs: string;
@@ -2127,6 +2129,7 @@ export declare const StyledImageSkeleton: import("@stitches/react/types/styled-c
2127
2129
  };
2128
2130
  transitions: {
2129
2131
  default: string;
2132
+ button: string;
2130
2133
  };
2131
2134
  breakpoints: {
2132
2135
  xs: string;
package/types/index.d.ts CHANGED
@@ -14,6 +14,8 @@ export { default as useClickAnywhere } from './use-click-anywhere';
14
14
  export { default as useInput } from './use-input';
15
15
  export { default as useKeyboard } from './use-keyboard';
16
16
  export { default as usePagination } from './use-pagination';
17
+ export { default as useDrip } from './use-drip';
18
+ export { default as Drip } from './utils/drip';
17
19
  export type { PaginationParams } from './use-pagination';
18
20
  export type { UseKeyboardHandler, KeyboardOptions, KeyboardResult, UseKeyboard } from './use-keyboard';
19
21
  export { KeyMod, KeyCode } from './use-keyboard/codes';
@@ -94,5 +94,5 @@ declare const _default: React.ComponentType<Partial<{
94
94
  initialValue: string;
95
95
  } & NativeAttrs & {
96
96
  css?: CSS | undefined;
97
- } & React.RefAttributes<HTMLInputElement>, "clearable" | "rounded" | "contentClickable" | "contentLeftStyling" | "contentRightStyling" | "width" | "color" | "size" | "className" | "borderWeight" | "bordered" | "placeholder" | "status" | "animated" | "disabled" | "autoComplete" | "readOnly" | "required" | "shadow" | "initialValue" | "fullWidth" | "helperColor" | "underlined" | "hideToggle" | "visibleIcon" | "hiddenIcon">>;
97
+ } & React.RefAttributes<HTMLInputElement>, "clearable" | "rounded" | "contentClickable" | "contentLeftStyling" | "contentRightStyling" | "width" | "color" | "size" | "className" | "placeholder" | "status" | "borderWeight" | "bordered" | "animated" | "disabled" | "autoComplete" | "readOnly" | "required" | "shadow" | "initialValue" | "fullWidth" | "helperColor" | "underlined" | "hideToggle" | "visibleIcon" | "hiddenIcon">>;
98
98
  export default _default;
@@ -271,6 +271,7 @@ export declare const StyledInputMainContainer: import("@stitches/react/types/sty
271
271
  };
272
272
  transitions: {
273
273
  default: string;
274
+ button: string;
274
275
  };
275
276
  breakpoints: {
276
277
  xs: string;
@@ -1208,6 +1209,7 @@ export declare const StyledInputContainer: import("@stitches/react/types/styled-
1208
1209
  };
1209
1210
  transitions: {
1210
1211
  default: string;
1212
+ button: string;
1211
1213
  };
1212
1214
  breakpoints: {
1213
1215
  xs: string;
@@ -2147,6 +2149,7 @@ export declare const StyledInput: import("@stitches/react/types/styled-component
2147
2149
  };
2148
2150
  transitions: {
2149
2151
  default: string;
2152
+ button: string;
2150
2153
  };
2151
2154
  breakpoints: {
2152
2155
  xs: string;
@@ -3087,6 +3090,7 @@ export declare const StyledInputWrapper: import("@stitches/react/types/styled-co
3087
3090
  };
3088
3091
  transitions: {
3089
3092
  default: string;
3093
+ button: string;
3090
3094
  };
3091
3095
  breakpoints: {
3092
3096
  xs: string;
@@ -4021,6 +4025,7 @@ export declare const StyledHelperTextContainer: import("@stitches/react/types/st
4021
4025
  };
4022
4026
  transitions: {
4023
4027
  default: string;
4028
+ button: string;
4024
4029
  };
4025
4030
  breakpoints: {
4026
4031
  xs: string;
@@ -4952,6 +4957,7 @@ export declare const StyledHelperText: import("@stitches/react/types/styled-comp
4952
4957
  };
4953
4958
  transitions: {
4954
4959
  default: string;
4960
+ button: string;
4955
4961
  };
4956
4962
  breakpoints: {
4957
4963
  xs: string;
@@ -5883,6 +5889,7 @@ export declare const StyledInputPlaceholder: import("@stitches/react/types/style
5883
5889
  };
5884
5890
  transitions: {
5885
5891
  default: string;
5892
+ button: string;
5886
5893
  };
5887
5894
  breakpoints: {
5888
5895
  xs: string;
@@ -6824,6 +6831,7 @@ export declare const StyledInputBlockLabel: import("@stitches/react/types/styled
6824
6831
  };
6825
6832
  transitions: {
6826
6833
  default: string;
6834
+ button: string;
6827
6835
  };
6828
6836
  breakpoints: {
6829
6837
  xs: string;
@@ -7761,6 +7769,7 @@ export declare const StyledInputLabel: import("@stitches/react/types/styled-comp
7761
7769
  };
7762
7770
  transitions: {
7763
7771
  default: string;
7772
+ button: string;
7764
7773
  };
7765
7774
  breakpoints: {
7766
7775
  xs: string;
@@ -8695,6 +8704,7 @@ export declare const StyledInputContent: import("@stitches/react/types/styled-co
8695
8704
  };
8696
8705
  transitions: {
8697
8706
  default: string;
8707
+ button: string;
8698
8708
  };
8699
8709
  breakpoints: {
8700
8710
  xs: string;
@@ -9632,6 +9642,7 @@ export declare const StyledInputClearButton: import("@stitches/react/types/style
9632
9642
  };
9633
9643
  transitions: {
9634
9644
  default: string;
9645
+ button: string;
9635
9646
  };
9636
9647
  breakpoints: {
9637
9648
  xs: string;
@@ -263,6 +263,7 @@ export declare const StyledLinkIcon: import("@stitches/react/types/styled-compon
263
263
  };
264
264
  transitions: {
265
265
  default: string;
266
+ button: string;
266
267
  };
267
268
  breakpoints: {
268
269
  xs: string;
@@ -1199,6 +1200,7 @@ export declare const StyledLink: import("@stitches/react/types/styled-component"
1199
1200
  };
1200
1201
  transitions: {
1201
1202
  default: string;
1203
+ button: string;
1202
1204
  };
1203
1205
  breakpoints: {
1204
1206
  xs: string;
@@ -1,6 +1,6 @@
1
1
  import { VariantProps } from '../theme/stitches.config';
2
2
  export declare const StyledLoadingContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {
3
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "error" | "white" | undefined;
3
+ color?: "default" | "primary" | "secondary" | "success" | "warning" | "error" | "white" | "currentColor" | undefined;
4
4
  textColor?: "default" | "primary" | "secondary" | "success" | "warning" | "error" | "white" | undefined;
5
5
  }, {
6
6
  xs: string;
@@ -266,6 +266,7 @@ export declare const StyledLoadingContainer: import("@stitches/react/types/style
266
266
  };
267
267
  transitions: {
268
268
  default: string;
269
+ button: string;
269
270
  };
270
271
  breakpoints: {
271
272
  xs: string;
@@ -1197,6 +1198,7 @@ export declare const StyledSpinnerContainer: import("@stitches/react/types/style
1197
1198
  };
1198
1199
  transitions: {
1199
1200
  default: string;
1201
+ button: string;
1200
1202
  };
1201
1203
  breakpoints: {
1202
1204
  xs: string;
@@ -2130,6 +2132,7 @@ export declare const StyledSpinner: import("@stitches/react/types/styled-compone
2130
2132
  };
2131
2133
  transitions: {
2132
2134
  default: string;
2135
+ button: string;
2133
2136
  };
2134
2137
  breakpoints: {
2135
2138
  xs: string;
@@ -3061,6 +3064,7 @@ export declare const StyledSpinnerSpan: import("@stitches/react/types/styled-com
3061
3064
  };
3062
3065
  transitions: {
3063
3066
  default: string;
3067
+ button: string;
3064
3068
  };
3065
3069
  breakpoints: {
3066
3070
  xs: string;
@@ -3995,6 +3999,7 @@ export declare const StyledLoading: import("@stitches/react/types/styled-compone
3995
3999
  };
3996
4000
  transitions: {
3997
4001
  default: string;
4002
+ button: string;
3998
4003
  };
3999
4004
  breakpoints: {
4000
4005
  xs: string;
@@ -4928,6 +4933,7 @@ export declare const StyledLoadingLabel: import("@stitches/react/types/styled-co
4928
4933
  };
4929
4934
  transitions: {
4930
4935
  default: string;
4936
+ button: string;
4931
4937
  };
4932
4938
  breakpoints: {
4933
4939
  xs: string;
@@ -17,7 +17,6 @@ interface Props {
17
17
  onOpen?: () => void;
18
18
  onClose?: () => void;
19
19
  className?: string;
20
- as?: keyof JSX.IntrinsicElements;
21
20
  }
22
21
  declare const defaultProps: {
23
22
  width: string;
@@ -31,12 +30,11 @@ declare const defaultProps: {
31
30
  noPadding: boolean;
32
31
  };
33
32
  declare type NativeAttrs = Omit<React.DialogHTMLAttributes<unknown>, keyof Props>;
34
- export declare type ModalProps = Props & typeof defaultProps & NativeAttrs & ModalWrapperProps;
33
+ export declare type ModalProps = Props & NativeAttrs & Partial<typeof defaultProps> & ModalWrapperProps;
35
34
  declare type ModalComponent<P = {}> = React.FC<P> & {
36
35
  Header: typeof ModalHeader;
37
36
  Body: typeof ModalBody;
38
37
  Footer: typeof ModalFooter;
39
38
  };
40
- declare type ComponentProps = Partial<typeof defaultProps> & Omit<Props, keyof typeof defaultProps> & NativeAttrs;
41
- declare const _default: ModalComponent<ComponentProps>;
39
+ declare const _default: ModalComponent<ModalProps>;
42
40
  export default _default;
@@ -263,6 +263,7 @@ export declare const StyledModalHideTab: import("@stitches/react/types/styled-co
263
263
  };
264
264
  transitions: {
265
265
  default: string;
266
+ button: string;
266
267
  };
267
268
  breakpoints: {
268
269
  xs: string;
@@ -1196,6 +1197,7 @@ export declare const StyledModalCloseButton: import("@stitches/react/types/style
1196
1197
  };
1197
1198
  transitions: {
1198
1199
  default: string;
1200
+ button: string;
1199
1201
  };
1200
1202
  breakpoints: {
1201
1203
  xs: string;
@@ -2130,6 +2132,7 @@ export declare const StyledModalHeader: import("@stitches/react/types/styled-com
2130
2132
  };
2131
2133
  transitions: {
2132
2134
  default: string;
2135
+ button: string;
2133
2136
  };
2134
2137
  breakpoints: {
2135
2138
  xs: string;
@@ -3064,6 +3067,7 @@ export declare const StyledModalBody: import("@stitches/react/types/styled-compo
3064
3067
  };
3065
3068
  transitions: {
3066
3069
  default: string;
3070
+ button: string;
3067
3071
  };
3068
3072
  breakpoints: {
3069
3073
  xs: string;
@@ -3998,6 +4002,7 @@ export declare const StyledModalFooter: import("@stitches/react/types/styled-com
3998
4002
  };
3999
4003
  transitions: {
4000
4004
  default: string;
4005
+ button: string;
4001
4006
  };
4002
4007
  breakpoints: {
4003
4008
  xs: string;
@@ -4934,6 +4939,7 @@ export declare const StyledModal: import("@stitches/react/types/styled-component
4934
4939
  };
4935
4940
  transitions: {
4936
4941
  default: string;
4942
+ button: string;
4937
4943
  };
4938
4944
  breakpoints: {
4939
4945
  xs: string;
@@ -266,6 +266,7 @@ export declare const StyledPaginationEllipsis: import("@stitches/react/types/sty
266
266
  };
267
267
  transitions: {
268
268
  default: string;
269
+ button: string;
269
270
  };
270
271
  breakpoints: {
271
272
  xs: string;
@@ -1199,6 +1200,7 @@ export declare const StyledPaginationIcon: import("@stitches/react/types/styled-
1199
1200
  };
1200
1201
  transitions: {
1201
1202
  default: string;
1203
+ button: string;
1202
1204
  };
1203
1205
  breakpoints: {
1204
1206
  xs: string;
@@ -2130,6 +2132,7 @@ export declare const StyledPaginationItemContent: import("@stitches/react/types/
2130
2132
  };
2131
2133
  transitions: {
2132
2134
  default: string;
2135
+ button: string;
2133
2136
  };
2134
2137
  breakpoints: {
2135
2138
  xs: string;
@@ -3068,6 +3071,7 @@ export declare const StyledPaginationItem: import("@stitches/react/types/styled-
3068
3071
  };
3069
3072
  transitions: {
3070
3073
  default: string;
3074
+ button: string;
3071
3075
  };
3072
3076
  breakpoints: {
3073
3077
  xs: string;
@@ -4004,6 +4008,7 @@ export declare const StyledPaginationHighlight: import("@stitches/react/types/st
4004
4008
  };
4005
4009
  transitions: {
4006
4010
  default: string;
4011
+ button: string;
4007
4012
  };
4008
4013
  breakpoints: {
4009
4014
  xs: string;
@@ -4943,6 +4948,7 @@ export declare const StyledPagination: import("@stitches/react/types/styled-comp
4943
4948
  };
4944
4949
  transitions: {
4945
4950
  default: string;
4951
+ button: string;
4946
4952
  };
4947
4953
  breakpoints: {
4948
4954
  xs: string;
@@ -269,6 +269,7 @@ export declare const StyledProgress: import("@stitches/react/types/styled-compon
269
269
  };
270
270
  transitions: {
271
271
  default: string;
272
+ button: string;
272
273
  };
273
274
  breakpoints: {
274
275
  xs: string;
@@ -1205,6 +1206,7 @@ export declare const StyledProgressBar: import("@stitches/react/types/styled-com
1205
1206
  };
1206
1207
  transitions: {
1207
1208
  default: string;
1209
+ button: string;
1208
1210
  };
1209
1211
  breakpoints: {
1210
1212
  xs: string;
@@ -263,6 +263,7 @@ export declare const StyledRadioInput: import("@stitches/react/types/styled-comp
263
263
  };
264
264
  transitions: {
265
265
  default: string;
266
+ button: string;
266
267
  };
267
268
  breakpoints: {
268
269
  xs: string;
@@ -1197,6 +1198,7 @@ export declare const StyledRadioLabel: import("@stitches/react/types/styled-comp
1197
1198
  };
1198
1199
  transitions: {
1199
1200
  default: string;
1201
+ button: string;
1200
1202
  };
1201
1203
  breakpoints: {
1202
1204
  xs: string;
@@ -2128,6 +2130,7 @@ export declare const StyledRadioPoint: import("@stitches/react/types/styled-comp
2128
2130
  };
2129
2131
  transitions: {
2130
2132
  default: string;
2133
+ button: string;
2131
2134
  };
2132
2135
  breakpoints: {
2133
2136
  xs: string;
@@ -3066,6 +3069,7 @@ export declare const StyledRadio: import("@stitches/react/types/styled-component
3066
3069
  };
3067
3070
  transitions: {
3068
3071
  default: string;
3072
+ button: string;
3069
3073
  };
3070
3074
  breakpoints: {
3071
3075
  xs: string;
@@ -4000,6 +4004,7 @@ export declare const StyledRadioGroup: import("@stitches/react/types/styled-comp
4000
4004
  };
4001
4005
  transitions: {
4002
4006
  default: string;
4007
+ button: string;
4003
4008
  };
4004
4009
  breakpoints: {
4005
4010
  xs: string;
@@ -4931,6 +4936,7 @@ export declare const StyledRadioDescription: import("@stitches/react/types/style
4931
4936
  };
4932
4937
  transitions: {
4933
4938
  default: string;
4939
+ button: string;
4934
4940
  };
4935
4941
  breakpoints: {
4936
4942
  xs: string;
@@ -265,6 +265,7 @@ export declare const StyledRow: import("@stitches/react/types/styled-component")
265
265
  };
266
266
  transitions: {
267
267
  default: string;
268
+ button: string;
268
269
  };
269
270
  breakpoints: {
270
271
  xs: string;