@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.
- package/README.md +3 -0
- package/cjs/avatar/avatar.js +1 -1
- package/cjs/backdrop/backdrop.styles.js +1 -1
- package/cjs/button/button-icon.js +1 -1
- package/cjs/button/utils.js +1 -1
- package/cjs/card/card.styles.js +1 -1
- package/cjs/checkbox/checkbox.js +1 -1
- package/cjs/checkbox/checkbox.styles.js +1 -1
- package/cjs/checkbox/use-checkbox.js +1 -1
- package/cjs/divider/divider.js +1 -1
- package/cjs/dropdown/dropdown-menu.js +1 -1
- package/cjs/dropdown/dropdown.js +1 -1
- package/cjs/dropdown/use-dropdown.js +1 -1
- package/cjs/grid/grid.js +1 -1
- package/cjs/input/index.js +1 -1
- package/cjs/input/input.js +1 -1
- package/cjs/input/input.styles.js +1 -1
- package/cjs/link/link.js +1 -1
- package/cjs/link/link.styles.js +1 -1
- package/cjs/loading/loading.js +1 -1
- package/cjs/navbar/navbar-link.js +1 -1
- package/cjs/navbar/navbar.styles.js +1 -1
- package/cjs/pagination/pagination.js +1 -1
- package/cjs/popover/popover-content.js +1 -1
- package/cjs/popover/popover-trigger.js +1 -1
- package/cjs/popover/popover.styles.js +1 -1
- package/cjs/popover/use-popover.js +1 -1
- package/cjs/radio/radio.js +1 -1
- package/cjs/radio/use-radio-group.js +1 -1
- package/cjs/radio/use-radio.js +1 -1
- package/cjs/spacer/spacer.js +1 -1
- package/cjs/switch/switch.js +1 -1
- package/cjs/table/table-body.js +1 -1
- package/cjs/table/table-cell.js +1 -1
- package/cjs/table/table.js +1 -1
- package/cjs/table/table.styles.js +1 -1
- package/cjs/textarea/textarea.js +1 -1
- package/cjs/theme/dark-theme.js +1 -1
- package/cjs/theme/light-theme.js +1 -1
- package/cjs/theme/shared-css.js +1 -1
- package/cjs/theme/utils.js +1 -1
- package/cjs/tooltip/tooltip.js +1 -1
- package/cjs/use-pagination/index.js +1 -1
- package/cjs/user/user.js +1 -1
- package/cjs/user/user.styles.js +1 -1
- package/cjs/utils/checkmark.js +1 -1
- package/cjs/utils/css-transition.js +1 -1
- package/esm/avatar/avatar.js +1 -1
- package/esm/backdrop/backdrop.styles.js +1 -1
- package/esm/button/button-icon.js +1 -1
- package/esm/button/utils.js +1 -1
- package/esm/card/card.styles.js +1 -1
- package/esm/checkbox/checkbox.js +1 -1
- package/esm/checkbox/checkbox.styles.js +1 -1
- package/esm/checkbox/use-checkbox.js +1 -1
- package/esm/divider/divider.js +1 -1
- package/esm/dropdown/dropdown-menu.js +1 -1
- package/esm/dropdown/dropdown.js +1 -1
- package/esm/dropdown/use-dropdown.js +1 -1
- package/esm/grid/grid.js +1 -1
- package/esm/input/index.js +1 -1
- package/esm/input/input.js +1 -1
- package/esm/input/input.styles.js +1 -1
- package/esm/link/link.js +1 -1
- package/esm/link/link.styles.js +1 -1
- package/esm/loading/loading.js +1 -1
- package/esm/navbar/navbar-link.js +1 -1
- package/esm/navbar/navbar.styles.js +1 -1
- package/esm/pagination/pagination.js +1 -1
- package/esm/popover/popover-content.js +1 -1
- package/esm/popover/popover-trigger.js +1 -1
- package/esm/popover/popover.styles.js +1 -1
- package/esm/popover/use-popover.js +1 -1
- package/esm/radio/radio.js +1 -1
- package/esm/radio/use-radio-group.js +1 -1
- package/esm/radio/use-radio.js +1 -1
- package/esm/spacer/spacer.js +1 -1
- package/esm/switch/switch.js +1 -1
- package/esm/table/table-body.js +1 -1
- package/esm/table/table-cell.js +1 -1
- package/esm/table/table.js +1 -1
- package/esm/table/table.styles.js +1 -1
- package/esm/textarea/textarea.js +1 -1
- package/esm/theme/dark-theme.js +1 -1
- package/esm/theme/light-theme.js +1 -1
- package/esm/theme/shared-css.js +1 -1
- package/esm/theme/utils.js +1 -1
- package/esm/tooltip/tooltip.js +1 -1
- package/esm/use-pagination/index.js +1 -1
- package/esm/user/user.js +1 -1
- package/esm/user/user.styles.js +1 -1
- package/esm/utils/checkmark.js +1 -1
- package/esm/utils/css-transition.js +1 -1
- package/package.json +31 -29
- package/types/avatar/avatar-group.styles.d.ts +4 -0
- package/types/avatar/avatar.d.ts +5 -1
- package/types/avatar/avatar.styles.d.ts +4 -0
- package/types/backdrop/backdrop.d.ts +3 -2
- package/types/backdrop/backdrop.styles.d.ts +7 -1
- package/types/badge/badge.styles.d.ts +6 -0
- package/types/button/button-group.d.ts +8 -1
- package/types/button/button-group.styles.d.ts +2 -0
- package/types/button/button-icon.d.ts +35 -2
- package/types/button/button.d.ts +1 -1
- package/types/button/button.styles.d.ts +4 -0
- package/types/button/utils.d.ts +3 -51
- package/types/card/card.d.ts +1 -1
- package/types/card/card.styles.d.ts +40 -0
- package/types/checkbox/checkbox.styles.d.ts +21 -1
- package/types/checkbox/use-checkbox-group.d.ts +2 -2
- package/types/checkbox/use-checkbox.d.ts +3 -0
- package/types/code/code.d.ts +25 -1
- package/types/code/code.styles.d.ts +4 -0
- package/types/col/col.d.ts +27 -2
- package/types/col/col.styles.d.ts +2 -0
- package/types/collapse/collapse-group.d.ts +2 -1
- package/types/collapse/collapse.d.ts +1 -0
- package/types/collapse/collapse.styles.d.ts +12 -0
- package/types/container/container.d.ts +2 -1
- package/types/container/container.styles.d.ts +2 -0
- package/types/divider/divider.d.ts +26 -2
- package/types/divider/divider.styles.d.ts +4 -0
- package/types/dropdown/dropdown-context.d.ts +58 -14
- package/types/dropdown/dropdown-menu.d.ts +2 -1
- package/types/dropdown/dropdown.styles.d.ts +22 -0
- package/types/dropdown/use-dropdown.d.ts +29 -7
- package/types/grid/grid-container.d.ts +2 -1
- package/types/grid/grid-item.d.ts +2 -1
- package/types/grid/grid.styles.d.ts +4 -0
- package/types/image/image.d.ts +1 -1
- package/types/image/image.skeleton.d.ts +1 -1
- package/types/image/image.styles.d.ts +6 -0
- package/types/input/input-password.d.ts +2 -1
- package/types/input/input.d.ts +1 -3
- package/types/input/input.styles.d.ts +22 -0
- package/types/link/link.styles.d.ts +6 -0
- package/types/loading/loading.d.ts +32 -2
- package/types/loading/loading.styles.d.ts +12 -0
- package/types/loading/spinner.d.ts +2 -1
- package/types/modal/modal-footer.d.ts +31 -2
- package/types/modal/modal-header.d.ts +31 -2
- package/types/modal/modal-wrapper.d.ts +2 -1
- package/types/modal/modal.d.ts +1 -0
- package/types/modal/modal.styles.d.ts +12 -0
- package/types/navbar/navbar.styles.d.ts +277 -196
- package/types/pagination/pagination-highlight.d.ts +1 -1
- package/types/pagination/pagination-item.d.ts +2 -1
- package/types/pagination/pagination.d.ts +1 -0
- package/types/pagination/pagination.styles.d.ts +12 -0
- package/types/popover/popover-content.d.ts +1 -1
- package/types/popover/popover-context.d.ts +8 -6
- package/types/popover/popover-trigger.d.ts +1 -1
- package/types/popover/popover.styles.d.ts +27 -0
- package/types/popover/use-popover.d.ts +4 -3
- package/types/progress/progress.d.ts +1 -1
- package/types/progress/progress.styles.d.ts +4 -0
- package/types/radio/index.d.ts +2 -0
- package/types/radio/radio-context.d.ts +4 -4
- package/types/radio/radio.styles.d.ts +16 -0
- package/types/radio/use-radio-group.d.ts +2 -2
- package/types/radio/use-radio.d.ts +2 -1
- package/types/row/row.d.ts +26 -2
- package/types/row/row.styles.d.ts +2 -0
- package/types/snippet/snippet.d.ts +37 -1
- package/types/snippet/snippet.styles.d.ts +8 -0
- package/types/spacer/spacer.d.ts +1 -1
- package/types/spacer/spacer.styles.d.ts +2 -0
- package/types/switch/switch.d.ts +1 -0
- package/types/switch/switch.styles.d.ts +8 -0
- package/types/table/table-body.d.ts +4 -2
- package/types/table/table-cell.d.ts +1 -0
- package/types/table/table-column-header.d.ts +5 -3
- package/types/table/table-context.d.ts +1 -1
- package/types/table/table-footer.d.ts +5 -4
- package/types/table/table-header-row.d.ts +1 -2
- package/types/table/table-row-group.d.ts +2 -1
- package/types/table/table-row.d.ts +1 -2
- package/types/table/table-sort-icon.d.ts +2 -0
- package/types/table/table.d.ts +1 -1
- package/types/table/table.styles.d.ts +48 -7
- package/types/text/child.d.ts +17 -1
- package/types/text/text.styles.d.ts +10 -0
- package/types/textarea/textarea.d.ts +1 -1
- package/types/theme/dark-theme.d.ts +2 -0
- package/types/theme/light-theme.d.ts +2 -0
- package/types/theme/shared-css.d.ts +20 -0
- package/types/theme/stitches.config.d.ts +20 -0
- package/types/theme/theme-provider.d.ts +2 -1
- package/types/tooltip/tooltip-content.d.ts +3 -2
- package/types/tooltip/tooltip.d.ts +6 -2
- package/types/tooltip/tooltip.styles.d.ts +8 -0
- package/types/user/user.d.ts +1 -1
- package/types/user/user.styles.d.ts +8 -0
- package/types/utils/css-transition.d.ts +6 -20
- package/types/utils/drip.d.ts +2 -0
- package/types/utils/expand.d.ts +2 -1
- package/umd/nextui.js +27257 -12247
- 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<
|
|
24
|
+
}> & Omit<ModalWrapperProps, "visible" | "className" | "rebound">>;
|
|
24
25
|
export default _default;
|
package/types/modal/modal.d.ts
CHANGED
|
@@ -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;
|