@nextui-org/react 1.0.0-beta.10 → 1.0.0-beta.11

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 (198) hide show
  1. package/README.md +3 -0
  2. package/cjs/avatar/avatar.js +1 -1
  3. package/cjs/backdrop/backdrop.styles.js +1 -1
  4. package/cjs/button/button-icon.js +1 -1
  5. package/cjs/button/utils.js +1 -1
  6. package/cjs/card/card.styles.js +1 -1
  7. package/cjs/checkbox/checkbox.js +1 -1
  8. package/cjs/checkbox/checkbox.styles.js +1 -1
  9. package/cjs/checkbox/use-checkbox.js +1 -1
  10. package/cjs/divider/divider.js +1 -1
  11. package/cjs/dropdown/dropdown-menu.js +1 -1
  12. package/cjs/dropdown/dropdown.js +1 -1
  13. package/cjs/dropdown/use-dropdown.js +1 -1
  14. package/cjs/grid/grid.js +1 -1
  15. package/cjs/input/index.js +1 -1
  16. package/cjs/input/input.js +1 -1
  17. package/cjs/input/input.styles.js +1 -1
  18. package/cjs/link/link.js +1 -1
  19. package/cjs/link/link.styles.js +1 -1
  20. package/cjs/loading/loading.js +1 -1
  21. package/cjs/navbar/navbar-link.js +1 -1
  22. package/cjs/navbar/navbar.styles.js +1 -1
  23. package/cjs/pagination/pagination.js +1 -1
  24. package/cjs/popover/popover-content.js +1 -1
  25. package/cjs/popover/popover-trigger.js +1 -1
  26. package/cjs/popover/popover.styles.js +1 -1
  27. package/cjs/popover/use-popover.js +1 -1
  28. package/cjs/radio/radio.js +1 -1
  29. package/cjs/radio/use-radio-group.js +1 -1
  30. package/cjs/radio/use-radio.js +1 -1
  31. package/cjs/spacer/spacer.js +1 -1
  32. package/cjs/switch/switch.js +1 -1
  33. package/cjs/table/table-body.js +1 -1
  34. package/cjs/table/table-cell.js +1 -1
  35. package/cjs/table/table.js +1 -1
  36. package/cjs/table/table.styles.js +1 -1
  37. package/cjs/textarea/textarea.js +1 -1
  38. package/cjs/theme/dark-theme.js +1 -1
  39. package/cjs/theme/light-theme.js +1 -1
  40. package/cjs/theme/shared-css.js +1 -1
  41. package/cjs/theme/utils.js +1 -1
  42. package/cjs/tooltip/tooltip.js +1 -1
  43. package/cjs/use-pagination/index.js +1 -1
  44. package/cjs/user/user.js +1 -1
  45. package/cjs/user/user.styles.js +1 -1
  46. package/cjs/utils/checkmark.js +1 -1
  47. package/cjs/utils/css-transition.js +1 -1
  48. package/esm/avatar/avatar.js +1 -1
  49. package/esm/backdrop/backdrop.styles.js +1 -1
  50. package/esm/button/button-icon.js +1 -1
  51. package/esm/button/utils.js +1 -1
  52. package/esm/card/card.styles.js +1 -1
  53. package/esm/checkbox/checkbox.js +1 -1
  54. package/esm/checkbox/checkbox.styles.js +1 -1
  55. package/esm/checkbox/use-checkbox.js +1 -1
  56. package/esm/divider/divider.js +1 -1
  57. package/esm/dropdown/dropdown-menu.js +1 -1
  58. package/esm/dropdown/dropdown.js +1 -1
  59. package/esm/dropdown/use-dropdown.js +1 -1
  60. package/esm/grid/grid.js +1 -1
  61. package/esm/input/index.js +1 -1
  62. package/esm/input/input.js +1 -1
  63. package/esm/input/input.styles.js +1 -1
  64. package/esm/link/link.js +1 -1
  65. package/esm/link/link.styles.js +1 -1
  66. package/esm/loading/loading.js +1 -1
  67. package/esm/navbar/navbar-link.js +1 -1
  68. package/esm/navbar/navbar.styles.js +1 -1
  69. package/esm/pagination/pagination.js +1 -1
  70. package/esm/popover/popover-content.js +1 -1
  71. package/esm/popover/popover-trigger.js +1 -1
  72. package/esm/popover/popover.styles.js +1 -1
  73. package/esm/popover/use-popover.js +1 -1
  74. package/esm/radio/radio.js +1 -1
  75. package/esm/radio/use-radio-group.js +1 -1
  76. package/esm/radio/use-radio.js +1 -1
  77. package/esm/spacer/spacer.js +1 -1
  78. package/esm/switch/switch.js +1 -1
  79. package/esm/table/table-body.js +1 -1
  80. package/esm/table/table-cell.js +1 -1
  81. package/esm/table/table.js +1 -1
  82. package/esm/table/table.styles.js +1 -1
  83. package/esm/textarea/textarea.js +1 -1
  84. package/esm/theme/dark-theme.js +1 -1
  85. package/esm/theme/light-theme.js +1 -1
  86. package/esm/theme/shared-css.js +1 -1
  87. package/esm/theme/utils.js +1 -1
  88. package/esm/tooltip/tooltip.js +1 -1
  89. package/esm/use-pagination/index.js +1 -1
  90. package/esm/user/user.js +1 -1
  91. package/esm/user/user.styles.js +1 -1
  92. package/esm/utils/checkmark.js +1 -1
  93. package/esm/utils/css-transition.js +1 -1
  94. package/package.json +31 -29
  95. package/types/avatar/avatar-group.styles.d.ts +4 -0
  96. package/types/avatar/avatar.d.ts +5 -1
  97. package/types/avatar/avatar.styles.d.ts +4 -0
  98. package/types/backdrop/backdrop.d.ts +3 -2
  99. package/types/backdrop/backdrop.styles.d.ts +7 -1
  100. package/types/badge/badge.styles.d.ts +6 -0
  101. package/types/button/button-group.d.ts +8 -1
  102. package/types/button/button-group.styles.d.ts +2 -0
  103. package/types/button/button-icon.d.ts +35 -2
  104. package/types/button/button.d.ts +1 -1
  105. package/types/button/button.styles.d.ts +4 -0
  106. package/types/button/utils.d.ts +3 -51
  107. package/types/card/card.d.ts +1 -1
  108. package/types/card/card.styles.d.ts +40 -0
  109. package/types/checkbox/checkbox.styles.d.ts +21 -1
  110. package/types/checkbox/use-checkbox-group.d.ts +2 -2
  111. package/types/checkbox/use-checkbox.d.ts +3 -0
  112. package/types/code/code.d.ts +25 -1
  113. package/types/code/code.styles.d.ts +4 -0
  114. package/types/col/col.d.ts +27 -2
  115. package/types/col/col.styles.d.ts +2 -0
  116. package/types/collapse/collapse-group.d.ts +2 -1
  117. package/types/collapse/collapse.d.ts +1 -0
  118. package/types/collapse/collapse.styles.d.ts +12 -0
  119. package/types/container/container.d.ts +2 -1
  120. package/types/container/container.styles.d.ts +2 -0
  121. package/types/divider/divider.d.ts +26 -2
  122. package/types/divider/divider.styles.d.ts +4 -0
  123. package/types/dropdown/dropdown-context.d.ts +58 -14
  124. package/types/dropdown/dropdown-menu.d.ts +2 -1
  125. package/types/dropdown/dropdown.styles.d.ts +22 -0
  126. package/types/dropdown/use-dropdown.d.ts +29 -7
  127. package/types/grid/grid-container.d.ts +2 -1
  128. package/types/grid/grid-item.d.ts +2 -1
  129. package/types/grid/grid.styles.d.ts +4 -0
  130. package/types/image/image.d.ts +1 -1
  131. package/types/image/image.skeleton.d.ts +1 -1
  132. package/types/image/image.styles.d.ts +6 -0
  133. package/types/input/input-password.d.ts +2 -1
  134. package/types/input/input.d.ts +1 -3
  135. package/types/input/input.styles.d.ts +22 -0
  136. package/types/link/link.styles.d.ts +6 -0
  137. package/types/loading/loading.d.ts +32 -2
  138. package/types/loading/loading.styles.d.ts +12 -0
  139. package/types/loading/spinner.d.ts +2 -1
  140. package/types/modal/modal-footer.d.ts +31 -2
  141. package/types/modal/modal-header.d.ts +31 -2
  142. package/types/modal/modal-wrapper.d.ts +2 -1
  143. package/types/modal/modal.d.ts +1 -0
  144. package/types/modal/modal.styles.d.ts +12 -0
  145. package/types/navbar/navbar.styles.d.ts +277 -196
  146. package/types/pagination/pagination-highlight.d.ts +1 -1
  147. package/types/pagination/pagination-item.d.ts +2 -1
  148. package/types/pagination/pagination.d.ts +1 -0
  149. package/types/pagination/pagination.styles.d.ts +12 -0
  150. package/types/popover/popover-content.d.ts +1 -1
  151. package/types/popover/popover-context.d.ts +8 -6
  152. package/types/popover/popover-trigger.d.ts +1 -1
  153. package/types/popover/popover.styles.d.ts +27 -0
  154. package/types/popover/use-popover.d.ts +4 -3
  155. package/types/progress/progress.d.ts +1 -1
  156. package/types/progress/progress.styles.d.ts +4 -0
  157. package/types/radio/index.d.ts +2 -0
  158. package/types/radio/radio-context.d.ts +4 -4
  159. package/types/radio/radio.styles.d.ts +16 -0
  160. package/types/radio/use-radio-group.d.ts +2 -2
  161. package/types/radio/use-radio.d.ts +2 -1
  162. package/types/row/row.d.ts +26 -2
  163. package/types/row/row.styles.d.ts +2 -0
  164. package/types/snippet/snippet.d.ts +37 -1
  165. package/types/snippet/snippet.styles.d.ts +8 -0
  166. package/types/spacer/spacer.d.ts +1 -1
  167. package/types/spacer/spacer.styles.d.ts +2 -0
  168. package/types/switch/switch.d.ts +1 -0
  169. package/types/switch/switch.styles.d.ts +8 -0
  170. package/types/table/table-body.d.ts +4 -2
  171. package/types/table/table-cell.d.ts +1 -0
  172. package/types/table/table-column-header.d.ts +5 -3
  173. package/types/table/table-context.d.ts +1 -1
  174. package/types/table/table-footer.d.ts +5 -4
  175. package/types/table/table-header-row.d.ts +1 -2
  176. package/types/table/table-row-group.d.ts +2 -1
  177. package/types/table/table-row.d.ts +1 -2
  178. package/types/table/table-sort-icon.d.ts +2 -0
  179. package/types/table/table.d.ts +1 -1
  180. package/types/table/table.styles.d.ts +48 -7
  181. package/types/text/child.d.ts +17 -1
  182. package/types/text/text.styles.d.ts +10 -0
  183. package/types/textarea/textarea.d.ts +1 -1
  184. package/types/theme/dark-theme.d.ts +2 -0
  185. package/types/theme/light-theme.d.ts +2 -0
  186. package/types/theme/shared-css.d.ts +20 -0
  187. package/types/theme/stitches.config.d.ts +20 -0
  188. package/types/theme/theme-provider.d.ts +2 -1
  189. package/types/tooltip/tooltip-content.d.ts +3 -2
  190. package/types/tooltip/tooltip.d.ts +6 -2
  191. package/types/tooltip/tooltip.styles.d.ts +8 -0
  192. package/types/user/user.d.ts +1 -1
  193. package/types/user/user.styles.d.ts +8 -0
  194. package/types/utils/css-transition.d.ts +6 -20
  195. package/types/utils/drip.d.ts +2 -0
  196. package/types/utils/expand.d.ts +2 -1
  197. package/umd/nextui.js +27257 -12247
  198. package/umd/nextui.min.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextui-org/react",
3
- "version": "1.0.0-beta.10",
3
+ "version": "1.0.0-beta.11",
4
4
  "license": "MIT",
5
5
  "description": "🚀 Beautiful and modern React UI library.",
6
6
  "homepage": "https://nextui.org",
@@ -31,36 +31,38 @@
31
31
  "sideEffects": false,
32
32
  "scripts": {},
33
33
  "dependencies": {
34
- "@babel/runtime": "^7.6.2",
35
- "@react-aria/button": "3.6.0",
36
- "@react-aria/checkbox": "3.5.0",
37
- "@react-aria/dialog": "3.3.0",
34
+ "@babel/runtime": "^7.20.1",
35
+ "@react-aria/button": "3.6.2",
36
+ "@react-aria/checkbox": "3.6.0",
37
+ "@react-aria/dialog": "3.4.0",
38
38
  "@react-aria/focus": "3.7.0",
39
- "@react-aria/i18n": "3.5.1",
40
- "@react-aria/interactions": "3.10.0",
41
- "@react-aria/label": "3.4.0",
42
- "@react-aria/link": "3.3.1",
43
- "@react-aria/menu": "3.6.0",
44
- "@react-aria/overlays": "3.10.0",
45
- "@react-aria/radio": "3.3.0",
39
+ "@react-aria/i18n": "3.6.1",
40
+ "@react-aria/interactions": "3.12.0",
41
+ "@react-aria/label": "3.4.2",
42
+ "@react-aria/link": "3.3.4",
43
+ "@react-aria/menu": "3.6.2",
44
+ "@react-aria/overlays": "3.11.0",
45
+ "@react-aria/radio": "3.4.0",
46
46
  "@react-aria/ssr": "3.3.0",
47
- "@react-aria/table": "3.4.0",
48
- "@react-aria/utils": "3.13.2",
49
- "@react-aria/visually-hidden": "3.4.0",
50
- "@react-stately/checkbox": "3.2.0",
51
- "@react-stately/data": "3.6.0",
52
- "@react-stately/overlays": "3.4.0",
53
- "@react-stately/radio": "3.5.0",
54
- "@react-stately/table": "3.3.0",
55
- "@react-stately/toggle": "3.4.0",
56
- "@react-stately/tree": "3.3.2",
57
- "@react-types/button": "^3.6.0",
58
- "@react-types/checkbox": "3.3.2",
59
- "@react-types/grid": "3.1.2",
60
- "@react-types/menu": "3.7.0",
61
- "@react-types/overlays": "3.6.2",
62
- "@react-types/shared": "3.14.0",
63
- "@stitches/react": "1.2.8"
47
+ "@react-aria/table": "3.5.0",
48
+ "@react-aria/utils": "3.14.0",
49
+ "@react-aria/visually-hidden": "3.5.0",
50
+ "@react-stately/checkbox": "3.3.0",
51
+ "@react-stately/collections": "3.4.4",
52
+ "@react-stately/data": "3.7.0",
53
+ "@react-stately/menu": "3.4.2",
54
+ "@react-stately/overlays": "3.4.2",
55
+ "@react-stately/radio": "3.6.0",
56
+ "@react-stately/table": "3.5.0",
57
+ "@react-stately/toggle": "3.4.2",
58
+ "@react-stately/tree": "3.3.4",
59
+ "@react-types/button": "^3.6.2",
60
+ "@react-types/checkbox": "3.4.0",
61
+ "@react-types/grid": "3.1.4",
62
+ "@react-types/menu": "3.7.2",
63
+ "@react-types/overlays": "3.6.4",
64
+ "@stitches/react": "1.2.8",
65
+ "@react-types/shared": "3.15.0"
64
66
  },
65
67
  "peerDependencies": {
66
68
  "react": ">=16.8.0",
@@ -57,7 +57,9 @@ export declare const StyledAvatarGroupCount: import("@stitches/react/types/style
57
57
  xl: string;
58
58
  };
59
59
  colors: {
60
+ textLight: string;
60
61
  text: string;
62
+ linkLight: string;
61
63
  link: string;
62
64
  codeLight: string;
63
65
  code: string;
@@ -1131,7 +1133,9 @@ export declare const StyledAvatarGroup: import("@stitches/react/types/styled-com
1131
1133
  xl: string;
1132
1134
  };
1133
1135
  colors: {
1136
+ textLight: string;
1134
1137
  text: string;
1138
+ linkLight: string;
1135
1139
  link: string;
1136
1140
  codeLight: string;
1137
1141
  code: string;
@@ -1,5 +1,6 @@
1
+ import type { CSS } from "../theme/stitches.config";
1
2
  import React from "react";
2
- import { CSS } from "../theme/stitches.config";
3
+ import { ReactRef } from "../utils/refs";
3
4
  import { AvatarVariantsProps } from "./avatar.styles";
4
5
  import AvatarGroup from "./avatar-group";
5
6
  interface Props {
@@ -8,6 +9,7 @@ interface Props {
8
9
  icon?: React.ReactNode;
9
10
  alt?: string;
10
11
  className?: string;
12
+ imgRef?: ReactRef<HTMLImageElement>;
11
13
  as?: keyof JSX.IntrinsicElements;
12
14
  }
13
15
  declare type NativeAttrs = Omit<Partial<React.ImgHTMLAttributes<unknown> & React.HTMLAttributes<unknown>>, keyof Props | "sizes">;
@@ -367,7 +369,9 @@ export declare const Avatar: React.ForwardRefExoticComponent<Props & import("@st
367
369
  xl: string;
368
370
  };
369
371
  colors: {
372
+ textLight: string;
370
373
  text: string;
374
+ linkLight: string;
371
375
  link: string;
372
376
  codeLight: string;
373
377
  code: string;
@@ -352,7 +352,9 @@ export declare const StyledAvatar: import("@stitches/react/types/styled-componen
352
352
  xl: string;
353
353
  };
354
354
  colors: {
355
+ textLight: string;
355
356
  text: string;
357
+ linkLight: string;
356
358
  link: string;
357
359
  codeLight: string;
358
360
  code: string;
@@ -1423,7 +1425,9 @@ export declare const StyledAvatar: import("@stitches/react/types/styled-componen
1423
1425
  xl: string;
1424
1426
  };
1425
1427
  colors: {
1428
+ textLight: string;
1426
1429
  text: string;
1430
+ linkLight: string;
1427
1431
  link: string;
1428
1432
  codeLight: string;
1429
1433
  code: string;
@@ -1,5 +1,5 @@
1
+ import type { CSS } from "../theme/stitches.config";
1
2
  import React, { MouseEvent } from "react";
2
- import { CSS } from "../theme/stitches.config";
3
3
  import { BackdropVariantsProps } from "./backdrop.styles";
4
4
  interface Props {
5
5
  onClick?: (event: MouseEvent<HTMLElement>) => void;
@@ -13,6 +13,7 @@ interface Props {
13
13
  css?: CSS;
14
14
  className?: string;
15
15
  as?: keyof JSX.IntrinsicElements;
16
+ children?: React.ReactNode;
16
17
  }
17
18
  declare const defaultProps: {
18
19
  onClick: () => void;
@@ -33,5 +34,5 @@ declare const _default: React.ComponentType<Partial<{
33
34
  preventDefault: boolean;
34
35
  opacity: number;
35
36
  className: string;
36
- }> & Omit<React.PropsWithChildren<BackdropProps>, "blur" | "opacity" | "visible" | "className" | "preventDefault" | "onClick" | "animated">>;
37
+ }> & Omit<BackdropProps, "blur" | "opacity" | "visible" | "className" | "preventDefault" | "onClick" | "animated">>;
37
38
  export default _default;
@@ -59,7 +59,9 @@ export declare const StyledBackdropContent: import("@stitches/react/types/styled
59
59
  xl: string;
60
60
  };
61
61
  colors: {
62
+ textLight: string;
62
63
  text: string;
64
+ linkLight: string;
63
65
  link: string;
64
66
  codeLight: string;
65
67
  code: string;
@@ -1075,7 +1077,7 @@ export declare const StyledBackdropContent: import("@stitches/react/types/styled
1075
1077
  }>>;
1076
1078
  export declare const StyledBackdropLayer: import("@stitches/react/types/styled-component").StyledComponent<"div", {
1077
1079
  blur?: boolean | "true" | "false" | undefined;
1078
- animated?: boolean | "false" | undefined;
1080
+ animated?: boolean | "true" | "false" | undefined;
1079
1081
  }, {
1080
1082
  xs: string;
1081
1083
  sm: string;
@@ -1134,7 +1136,9 @@ export declare const StyledBackdropLayer: import("@stitches/react/types/styled-c
1134
1136
  xl: string;
1135
1137
  };
1136
1138
  colors: {
1139
+ textLight: string;
1137
1140
  text: string;
1141
+ linkLight: string;
1138
1142
  link: string;
1139
1143
  codeLight: string;
1140
1144
  code: string;
@@ -2208,7 +2212,9 @@ export declare const StyledBackdrop: import("@stitches/react/types/styled-compon
2208
2212
  xl: string;
2209
2213
  };
2210
2214
  colors: {
2215
+ textLight: string;
2211
2216
  text: string;
2217
+ linkLight: string;
2212
2218
  link: string;
2213
2219
  codeLight: string;
2214
2220
  code: string;
@@ -57,7 +57,9 @@ export declare const StyledBadgeRoot: import("@stitches/react/types/styled-compo
57
57
  xl: string;
58
58
  };
59
59
  colors: {
60
+ textLight: string;
60
61
  text: string;
62
+ linkLight: string;
61
63
  link: string;
62
64
  codeLight: string;
63
65
  code: string;
@@ -1145,7 +1147,9 @@ export declare const StyledBadge: import("@stitches/react/types/styled-component
1145
1147
  xl: string;
1146
1148
  };
1147
1149
  colors: {
1150
+ textLight: string;
1148
1151
  text: string;
1152
+ linkLight: string;
1149
1153
  link: string;
1150
1154
  codeLight: string;
1151
1155
  code: string;
@@ -2220,7 +2224,9 @@ export declare const StyledBadgePoints: import("@stitches/react/types/styled-com
2220
2224
  xl: string;
2221
2225
  };
2222
2226
  colors: {
2227
+ textLight: string;
2223
2228
  text: string;
2229
+ linkLight: string;
2224
2230
  link: string;
2225
2231
  codeLight: string;
2226
2232
  code: string;
@@ -16,6 +16,7 @@ interface Props {
16
16
  borderWeight?: NormalWeights;
17
17
  size?: NormalSizes;
18
18
  color?: NormalColors;
19
+ children?: React.ReactNode;
19
20
  }
20
21
  declare const defaultProps: {
21
22
  borderWeight: "light" | "normal" | "bold" | "extrabold" | "black" | undefined;
@@ -30,5 +31,11 @@ declare const _default: React.ComponentType<Partial<{
30
31
  borderWeight: "light" | "normal" | "bold" | "extrabold" | "black" | undefined;
31
32
  size: "xs" | "sm" | "md" | "lg" | "xl";
32
33
  color: "default" | "primary" | "secondary" | "success" | "warning" | "error" | "gradient";
33
- }> & Omit<ButtonGroupProps, "color" | "size" | "borderWeight">>;
34
+ }> & Omit<Props & ButtonGroupVariantsProps & NativeAttrs & {
35
+ borderWeight: "light" | "normal" | "bold" | "extrabold" | "black" | undefined;
36
+ size: "xs" | "sm" | "md" | "lg" | "xl";
37
+ color: "default" | "primary" | "secondary" | "success" | "warning" | "error" | "gradient";
38
+ } & {
39
+ css?: CSS | undefined;
40
+ }, "color" | "size" | "borderWeight">>;
34
41
  export default _default;
@@ -63,7 +63,9 @@ export declare const StyledButtonGroup: import("@stitches/react/types/styled-com
63
63
  xl: string;
64
64
  };
65
65
  colors: {
66
+ textLight: string;
66
67
  text: string;
68
+ linkLight: string;
67
69
  link: string;
68
70
  codeLight: string;
69
71
  code: string;
@@ -1,9 +1,10 @@
1
+ import type { VariantProps, CSS } from "../theme/stitches.config";
1
2
  import React from "react";
2
- import { VariantProps, CSS } from "../theme/stitches.config";
3
3
  interface Props {
4
4
  isRight?: boolean;
5
5
  isSingle?: boolean;
6
6
  className?: string;
7
+ children?: React.ReactNode;
7
8
  }
8
9
  declare const defaultProps: {
9
10
  className: string;
@@ -71,7 +72,9 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
71
72
  xl: string;
72
73
  };
73
74
  colors: {
75
+ textLight: string;
74
76
  text: string;
77
+ linkLight: string;
75
78
  link: string;
76
79
  codeLight: string;
77
80
  code: string;
@@ -1091,5 +1094,35 @@ export declare type ButtonIconProps = Props & typeof defaultProps & ButtonIconVa
1091
1094
  };
1092
1095
  declare const _default: React.ComponentType<Partial<{
1093
1096
  className: string;
1094
- }> & Omit<ButtonIconProps, "className">>;
1097
+ }> & Omit<Props & {
1098
+ className: string;
1099
+ } & import("@stitches/react/types/styled-component").TransformProps<{
1100
+ isAuto?: boolean | "true" | undefined;
1101
+ isRight?: boolean | "true" | undefined;
1102
+ isSingle?: boolean | "true" | undefined;
1103
+ isGradientButtonBorder?: boolean | "true" | undefined;
1104
+ }, {
1105
+ xs: string;
1106
+ sm: string;
1107
+ md: string;
1108
+ lg: string;
1109
+ xl: string;
1110
+ xsMin: string;
1111
+ smMin: string;
1112
+ mdMin: string;
1113
+ lgMin: string;
1114
+ xlMin: string;
1115
+ xsMax: string;
1116
+ smMax: string;
1117
+ mdMax: string;
1118
+ lgMax: string;
1119
+ xlMax: string;
1120
+ motion: string;
1121
+ safari: string;
1122
+ hover: string;
1123
+ dark: string;
1124
+ light: string;
1125
+ }> & {
1126
+ css?: CSS | undefined;
1127
+ }, "className">>;
1095
1128
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import type { AriaButtonProps } from "@react-types/button";
2
+ import type { CSS } from "../theme/stitches.config";
2
3
  import React, { PropsWithoutRef, RefAttributes } from "react";
3
- import { CSS } from "../theme/stitches.config";
4
4
  import { NormalColors } from "../utils/prop-types";
5
5
  import { HTMLNextUIProps } from "../utils/system";
6
6
  import ButtonGroup from "./button-group";
@@ -1383,7 +1383,9 @@ export declare const StyledButton: import("@stitches/react/types/styled-componen
1383
1383
  xl: string;
1384
1384
  };
1385
1385
  colors: {
1386
+ textLight: string;
1386
1387
  text: string;
1388
+ linkLight: string;
1387
1389
  link: string;
1388
1390
  codeLight: string;
1389
1391
  code: string;
@@ -2454,7 +2456,9 @@ export declare const StyledButton: import("@stitches/react/types/styled-componen
2454
2456
  xl: string;
2455
2457
  };
2456
2458
  colors: {
2459
+ textLight: string;
2457
2460
  text: string;
2461
+ linkLight: string;
2458
2462
  link: string;
2459
2463
  codeLight: string;
2460
2464
  code: string;
@@ -1,53 +1,5 @@
1
- import React from "react";
1
+ import type { CSS } from "../theme/stitches.config";
2
2
  import { ButtonProps } from "./button";
3
3
  import { ButtonGroupConfig } from "./button-group-context";
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
- };
4
+ export declare const filterPropsWithGroup: (props: ButtonProps, config: ButtonGroupConfig) => ButtonProps;
5
+ export declare const getCssColors: (props: ButtonProps) => CSS | undefined;
@@ -1,7 +1,7 @@
1
1
  import type { ReactNode } from "react";
2
2
  import type { UseCardProps } from "./use-card";
3
+ import type { CSS } from "../theme/stitches.config";
3
4
  import React, { PropsWithoutRef, RefAttributes } from "react";
4
- import { CSS } from "../theme/stitches.config";
5
5
  import { Image, Divider } from "../index";
6
6
  import { StyledCardHeader as CardHeader, StyledCardFooter as CardFooter, StyledCardBody as CardBody } from "./card.styles";
7
7
  interface Props extends Omit<UseCardProps, "ref"> {
@@ -57,7 +57,9 @@ export declare const StyledCardBody: import("@stitches/react/types/styled-compon
57
57
  xl: string;
58
58
  };
59
59
  colors: {
60
+ textLight: string;
60
61
  text: string;
62
+ linkLight: string;
61
63
  link: string;
62
64
  codeLight: string;
63
65
  code: string;
@@ -1079,6 +1081,7 @@ export declare const StyledCard: import("@stitches/react/types/styled-component"
1079
1081
  transform: string;
1080
1082
  dropShadow?: undefined;
1081
1083
  "@safari"?: undefined;
1084
+ "@-moz-document url-prefix()"?: undefined;
1082
1085
  };
1083
1086
  isHovered?: undefined;
1084
1087
  variant?: undefined;
@@ -1089,6 +1092,7 @@ export declare const StyledCard: import("@stitches/react/types/styled-component"
1089
1092
  transform: string;
1090
1093
  dropShadow?: undefined;
1091
1094
  "@safari"?: undefined;
1095
+ "@-moz-document url-prefix()"?: undefined;
1092
1096
  };
1093
1097
  isPressed?: undefined;
1094
1098
  variant?: undefined;
@@ -1101,6 +1105,10 @@ export declare const StyledCard: import("@stitches/react/types/styled-component"
1101
1105
  boxShadow: string;
1102
1106
  dropShadow: string;
1103
1107
  };
1108
+ "@-moz-document url-prefix()": {
1109
+ boxShadow: string;
1110
+ dropShadow: string;
1111
+ };
1104
1112
  transform?: undefined;
1105
1113
  };
1106
1114
  isPressed?: undefined;
@@ -1152,6 +1160,10 @@ export declare const StyledCard: import("@stitches/react/types/styled-component"
1152
1160
  boxShadow: string;
1153
1161
  dropShadow: string;
1154
1162
  };
1163
+ "@-moz-document url-prefix()": {
1164
+ boxShadow: string;
1165
+ dropShadow: string;
1166
+ };
1155
1167
  };
1156
1168
  bordered: {
1157
1169
  borderStyle: string;
@@ -1200,6 +1212,10 @@ export declare const StyledCard: import("@stitches/react/types/styled-component"
1200
1212
  boxShadow: string;
1201
1213
  dropShadow: string;
1202
1214
  };
1215
+ "@-moz-document url-prefix()": {
1216
+ boxShadow: string;
1217
+ dropShadow: string;
1218
+ };
1203
1219
  };
1204
1220
  };
1205
1221
  transition?: undefined;
@@ -1238,6 +1254,10 @@ export declare const StyledCard: import("@stitches/react/types/styled-component"
1238
1254
  boxShadow: string;
1239
1255
  dropShadow: string;
1240
1256
  };
1257
+ "@-moz-document url-prefix()": {
1258
+ boxShadow: string;
1259
+ dropShadow: string;
1260
+ };
1241
1261
  };
1242
1262
  bordered: {
1243
1263
  borderStyle: string;
@@ -1286,6 +1306,10 @@ export declare const StyledCard: import("@stitches/react/types/styled-component"
1286
1306
  boxShadow: string;
1287
1307
  dropShadow: string;
1288
1308
  };
1309
+ "@-moz-document url-prefix()": {
1310
+ boxShadow: string;
1311
+ dropShadow: string;
1312
+ };
1289
1313
  };
1290
1314
  };
1291
1315
  };
@@ -1296,6 +1320,7 @@ export declare const StyledCard: import("@stitches/react/types/styled-component"
1296
1320
  transform: string;
1297
1321
  dropShadow?: undefined;
1298
1322
  "@safari"?: undefined;
1323
+ "@-moz-document url-prefix()"?: undefined;
1299
1324
  };
1300
1325
  isHovered?: undefined;
1301
1326
  variant?: undefined;
@@ -1306,6 +1331,7 @@ export declare const StyledCard: import("@stitches/react/types/styled-component"
1306
1331
  transform: string;
1307
1332
  dropShadow?: undefined;
1308
1333
  "@safari"?: undefined;
1334
+ "@-moz-document url-prefix()"?: undefined;
1309
1335
  };
1310
1336
  isPressed?: undefined;
1311
1337
  variant?: undefined;
@@ -1318,6 +1344,10 @@ export declare const StyledCard: import("@stitches/react/types/styled-component"
1318
1344
  boxShadow: string;
1319
1345
  dropShadow: string;
1320
1346
  };
1347
+ "@-moz-document url-prefix()": {
1348
+ boxShadow: string;
1349
+ dropShadow: string;
1350
+ };
1321
1351
  transform?: undefined;
1322
1352
  };
1323
1353
  isPressed?: undefined;
@@ -1381,7 +1411,9 @@ export declare const StyledCard: import("@stitches/react/types/styled-component"
1381
1411
  xl: string;
1382
1412
  };
1383
1413
  colors: {
1414
+ textLight: string;
1384
1415
  text: string;
1416
+ linkLight: string;
1385
1417
  link: string;
1386
1418
  codeLight: string;
1387
1419
  code: string;
@@ -2454,7 +2486,9 @@ export declare const StyledCard: import("@stitches/react/types/styled-component"
2454
2486
  xl: string;
2455
2487
  };
2456
2488
  colors: {
2489
+ textLight: string;
2457
2490
  text: string;
2491
+ linkLight: string;
2458
2492
  link: string;
2459
2493
  codeLight: string;
2460
2494
  code: string;
@@ -3525,7 +3559,9 @@ export declare const StyledCard: import("@stitches/react/types/styled-component"
3525
3559
  xl: string;
3526
3560
  };
3527
3561
  colors: {
3562
+ textLight: string;
3528
3563
  text: string;
3564
+ linkLight: string;
3529
3565
  link: string;
3530
3566
  codeLight: string;
3531
3567
  code: string;
@@ -4597,7 +4633,9 @@ export declare const StyledCardHeader: import("@stitches/react/types/styled-comp
4597
4633
  xl: string;
4598
4634
  };
4599
4635
  colors: {
4636
+ textLight: string;
4600
4637
  text: string;
4638
+ linkLight: string;
4601
4639
  link: string;
4602
4640
  codeLight: string;
4603
4641
  code: string;
@@ -5671,7 +5709,9 @@ export declare const StyledCardFooter: import("@stitches/react/types/styled-comp
5671
5709
  xl: string;
5672
5710
  };
5673
5711
  colors: {
5712
+ textLight: string;
5674
5713
  text: string;
5714
+ linkLight: string;
5675
5715
  link: string;
5676
5716
  codeLight: string;
5677
5717
  code: string;