@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
@@ -11,6 +11,7 @@ interface Props {
11
11
  as?: keyof JSX.IntrinsicElements;
12
12
  className?: string;
13
13
  onCloseButtonClick?: () => void;
14
+ children?: React.ReactNode;
14
15
  }
15
16
  declare type NativeAttrs = Omit<React.DialogHTMLAttributes<unknown>, keyof Props>;
16
17
  export declare type ModalWrapperProps = Props & NativeAttrs & ModalVariantsProps & {
@@ -20,5 +21,5 @@ declare const _default: React.ComponentType<Partial<{
20
21
  className: string;
21
22
  visible: boolean;
22
23
  rebound: boolean;
23
- }> & Omit<React.PropsWithChildren<ModalWrapperProps>, "visible" | "className" | "rebound">>;
24
+ }> & Omit<ModalWrapperProps, "visible" | "className" | "rebound">>;
24
25
  export default _default;
@@ -17,6 +17,7 @@ interface Props {
17
17
  onOpen?: () => void;
18
18
  onClose?: () => void;
19
19
  className?: string;
20
+ children?: React.ReactNode;
20
21
  }
21
22
  declare const defaultProps: {
22
23
  width: string;
@@ -57,7 +57,9 @@ export declare const StyledModalHideTab: import("@stitches/react/types/styled-co
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 StyledModalCloseButton: import("@stitches/react/types/style
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;
@@ -2206,7 +2210,9 @@ export declare const StyledModalHeader: import("@stitches/react/types/styled-com
2206
2210
  xl: string;
2207
2211
  };
2208
2212
  colors: {
2213
+ textLight: string;
2209
2214
  text: string;
2215
+ linkLight: string;
2210
2216
  link: string;
2211
2217
  codeLight: string;
2212
2218
  code: string;
@@ -3281,7 +3287,9 @@ export declare const StyledModalBody: import("@stitches/react/types/styled-compo
3281
3287
  xl: string;
3282
3288
  };
3283
3289
  colors: {
3290
+ textLight: string;
3284
3291
  text: string;
3292
+ linkLight: string;
3285
3293
  link: string;
3286
3294
  codeLight: string;
3287
3295
  code: string;
@@ -4356,7 +4364,9 @@ export declare const StyledModalFooter: import("@stitches/react/types/styled-com
4356
4364
  xl: string;
4357
4365
  };
4358
4366
  colors: {
4367
+ textLight: string;
4359
4368
  text: string;
4369
+ linkLight: string;
4360
4370
  link: string;
4361
4371
  codeLight: string;
4362
4372
  code: string;
@@ -5432,7 +5442,9 @@ export declare const StyledModal: import("@stitches/react/types/styled-component
5432
5442
  xl: string;
5433
5443
  };
5434
5444
  colors: {
5445
+ textLight: string;
5435
5446
  text: string;
5447
+ linkLight: string;
5436
5448
  link: string;
5437
5449
  codeLight: string;
5438
5450
  code: string;