@nextui-org/react 1.0.2-beta.3 → 1.0.2-beta.4
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 +2 -2
- package/cjs/avatar/avatar-group.js +1 -35
- package/cjs/avatar/avatar-group.styles.js +1 -52
- package/cjs/avatar/avatar.js +1 -75
- package/cjs/avatar/avatar.styles.js +1 -334
- package/cjs/avatar/index.js +1 -22
- package/cjs/backdrop/backdrop.js +1 -137
- package/cjs/backdrop/backdrop.styles.js +1 -119
- package/cjs/backdrop/index.js +1 -16
- package/cjs/button/button-group-context.js +1 -21
- package/cjs/button/button-group.js +1 -81
- package/cjs/button/button-group.styles.js +1 -136
- package/cjs/button/button-icon.js +1 -68
- package/cjs/button/button.js +1 -145
- package/cjs/button/button.styles.js +1 -726
- package/cjs/button/index.js +1 -25
- package/cjs/button/utils.js +1 -27
- package/cjs/card/card.js +1 -117
- package/cjs/card/card.styles.js +1 -267
- package/cjs/card/index.js +1 -24
- package/cjs/checkbox/checkbox-context.js +1 -25
- package/cjs/checkbox/checkbox-group.js +1 -89
- package/cjs/checkbox/checkbox.js +1 -192
- package/cjs/checkbox/checkbox.styles.js +1 -563
- package/cjs/checkbox/index.js +1 -26
- package/cjs/code/code.js +1 -42
- package/cjs/code/code.styles.js +1 -14
- package/cjs/code/index.js +1 -15
- package/cjs/col/col.js +1 -46
- package/cjs/col/col.styles.js +1 -16
- package/cjs/col/index.js +1 -14
- package/cjs/collapse/collapse-context.js +1 -20
- package/cjs/collapse/collapse-group.js +1 -90
- package/cjs/collapse/collapse-icon.js +1 -41
- package/cjs/collapse/collapse.js +1 -196
- package/cjs/collapse/collapse.styles.js +1 -256
- package/cjs/collapse/index.js +1 -22
- package/cjs/container/container.js +1 -91
- package/cjs/container/container.styles.js +1 -45
- package/cjs/container/index.js +1 -14
- package/cjs/css-baseline/css-baseline.js +1 -247
- package/cjs/css-baseline/index.js +1 -11
- package/cjs/divider/divider.js +1 -82
- package/cjs/divider/divider.styles.js +1 -77
- package/cjs/divider/index.js +1 -15
- package/cjs/grid/grid-container.js +1 -60
- package/cjs/grid/grid-item.js +1 -123
- package/cjs/grid/grid.js +1 -29
- package/cjs/grid/grid.styles.js +1 -15
- package/cjs/grid/index.js +1 -18
- package/cjs/image/image.js +1 -150
- package/cjs/image/image.skeleton.js +1 -50
- package/cjs/image/image.styles.js +1 -57
- package/cjs/image/index.js +1 -16
- package/cjs/index.js +1 -435
- package/cjs/input/index.js +1 -30
- package/cjs/input/input-password.js +1 -80
- package/cjs/input/input-props.js +1 -30
- package/cjs/input/input.js +1 -318
- package/cjs/input/input.styles.js +1 -878
- package/cjs/input/password-icon.js +1 -51
- package/cjs/link/icon.js +1 -42
- package/cjs/link/index.js +1 -15
- package/cjs/link/link.js +1 -42
- package/cjs/link/link.styles.js +1 -135
- package/cjs/loading/index.js +1 -24
- package/cjs/loading/loading.js +1 -80
- package/cjs/loading/loading.styles.js +1 -438
- package/cjs/loading/spinner.js +1 -47
- package/cjs/modal/index.js +1 -28
- package/cjs/modal/modal-body.js +1 -62
- package/cjs/modal/modal-close-button.js +1 -49
- package/cjs/modal/modal-context.js +1 -18
- package/cjs/modal/modal-footer.js +1 -69
- package/cjs/modal/modal-header.js +1 -69
- package/cjs/modal/modal-wrapper.js +1 -153
- package/cjs/modal/modal.js +1 -159
- package/cjs/modal/modal.styles.js +1 -243
- package/cjs/modal/use-modal.js +1 -25
- package/cjs/pagination/index.js +1 -19
- package/cjs/pagination/pagination-ellipsis.js +1 -86
- package/cjs/pagination/pagination-highlight.js +1 -52
- package/cjs/pagination/pagination-icon.js +1 -59
- package/cjs/pagination/pagination-item.js +1 -104
- package/cjs/pagination/pagination.js +1 -169
- package/cjs/pagination/pagination.styles.js +1 -361
- package/cjs/progress/index.js +1 -15
- package/cjs/progress/progress.js +1 -101
- package/cjs/progress/progress.styles.js +1 -165
- package/cjs/radio/index.js +1 -24
- package/cjs/radio/radio-context.js +1 -24
- package/cjs/radio/radio-group.js +1 -78
- package/cjs/radio/radio.js +1 -156
- package/cjs/radio/radio.styles.js +1 -240
- package/cjs/row/index.js +1 -14
- package/cjs/row/row.js +1 -54
- package/cjs/row/row.styles.js +1 -25
- package/cjs/snippet/index.js +1 -16
- package/cjs/snippet/snippet-icon.js +1 -52
- package/cjs/snippet/snippet.js +1 -137
- package/cjs/snippet/snippet.styles.js +1 -141
- package/cjs/spacer/index.js +1 -14
- package/cjs/spacer/spacer.js +1 -49
- package/cjs/spacer/spacer.styles.js +1 -24
- package/cjs/switch/index.js +1 -17
- package/cjs/switch/switch.js +1 -142
- package/cjs/switch/switch.styles.js +1 -283
- package/cjs/text/child.js +1 -83
- package/cjs/text/index.js +1 -14
- package/cjs/text/text.js +1 -124
- package/cjs/text/text.styles.js +1 -41
- package/cjs/textarea/index.js +1 -12
- package/cjs/textarea/textarea.js +1 -126
- package/cjs/textarea/utils.js +1 -126
- package/cjs/theme/common.js +1 -503
- package/cjs/theme/dark-theme.js +1 -38
- package/cjs/theme/index.js +1 -31
- package/cjs/theme/light-theme.js +1 -33
- package/cjs/theme/stitches.config.js +1 -88
- package/cjs/theme/theme-context.js +1 -22
- package/cjs/theme/theme-provider.js +1 -111
- package/cjs/theme/types.js +1 -3
- package/cjs/theme/utils.js +1 -113
- package/cjs/tooltip/index.js +1 -17
- package/cjs/tooltip/placement.js +1 -193
- package/cjs/tooltip/tooltip-content.js +1 -135
- package/cjs/tooltip/tooltip.js +1 -143
- package/cjs/tooltip/tooltip.styles.js +1 -159
- package/cjs/use-body-scroll/index.js +1 -12
- package/cjs/use-body-scroll/use-body-scroll.js +1 -77
- package/cjs/use-click-anywhere/index.js +1 -12
- package/cjs/use-click-anywhere/use-click-anywhere.js +1 -19
- package/cjs/use-click-away/index.js +1 -12
- package/cjs/use-click-away/use-click-away.js +1 -23
- package/cjs/use-clipboard/index.js +1 -12
- package/cjs/use-clipboard/use-clipboard.js +1 -57
- package/cjs/use-current-state/index.js +1 -12
- package/cjs/use-current-state/use-current-state.js +1 -28
- package/cjs/use-drip/index.js +1 -12
- package/cjs/use-drip/use-drip.js +1 -38
- package/cjs/use-input/index.js +1 -12
- package/cjs/use-input/use-input.js +1 -32
- package/cjs/use-keyboard/codes.js +1 -104
- package/cjs/use-keyboard/helper.js +1 -35
- package/cjs/use-keyboard/index.js +1 -15
- package/cjs/use-keyboard/use-keyboard.js +1 -76
- package/cjs/use-pagination/index.js +1 -88
- package/cjs/use-portal/index.js +1 -12
- package/cjs/use-portal/use-portal.js +1 -43
- package/cjs/use-real-shape/index.js +1 -12
- package/cjs/use-real-shape/use-real-shape.js +1 -55
- package/cjs/use-resize/index.js +1 -12
- package/cjs/use-resize/use-resize.js +1 -23
- package/cjs/use-ssr/index.js +1 -12
- package/cjs/use-ssr/use-ssr.js +1 -25
- package/cjs/use-theme/index.js +1 -12
- package/cjs/use-theme/use-theme.js +1 -16
- package/cjs/use-warning/index.js +1 -12
- package/cjs/use-warning/use-warning.js +1 -23
- package/cjs/user/index.js +1 -21
- package/cjs/user/user-link.js +1 -46
- package/cjs/user/user.js +1 -63
- package/cjs/user/user.styles.js +1 -56
- package/cjs/utils/assertion.js +1 -42
- package/cjs/utils/clear-icon.js +1 -70
- package/cjs/utils/clsx.js +1 -57
- package/cjs/utils/collections.js +1 -110
- package/cjs/utils/color.js +1 -187
- package/cjs/utils/css-transition.js +1 -76
- package/cjs/utils/deep-merge.js +1 -33
- package/cjs/utils/dimensions.js +1 -10
- package/cjs/utils/dom.js +1 -110
- package/cjs/utils/drip.js +1 -116
- package/cjs/utils/expand.js +1 -109
- package/cjs/utils/icons.js +1 -481
- package/cjs/utils/numbers.js +1 -23
- package/cjs/utils/object.js +1 -40
- package/cjs/utils/prop-types.js +1 -56
- package/cjs/utils/react.js +1 -24
- package/cjs/utils/strings.js +1 -18
- package/cjs/utils/types.d.js +1 -3
- package/cjs/utils/with-defaults.js +1 -13
- package/esm/avatar/avatar-group.js +1 -35
- package/esm/avatar/avatar-group.styles.js +1 -52
- package/esm/avatar/avatar.js +1 -75
- package/esm/avatar/avatar.styles.js +1 -334
- package/esm/avatar/index.js +1 -22
- package/esm/backdrop/backdrop.js +1 -137
- package/esm/backdrop/backdrop.styles.js +1 -119
- package/esm/backdrop/index.js +1 -16
- package/esm/button/button-group-context.js +1 -21
- package/esm/button/button-group.js +1 -81
- package/esm/button/button-group.styles.js +1 -136
- package/esm/button/button-icon.js +1 -68
- package/esm/button/button.js +1 -145
- package/esm/button/button.styles.js +1 -726
- package/esm/button/index.js +1 -25
- package/esm/button/utils.js +1 -27
- package/esm/card/card.js +1 -117
- package/esm/card/card.styles.js +1 -267
- package/esm/card/index.js +1 -24
- package/esm/checkbox/checkbox-context.js +1 -25
- package/esm/checkbox/checkbox-group.js +1 -89
- package/esm/checkbox/checkbox.js +1 -192
- package/esm/checkbox/checkbox.styles.js +1 -563
- package/esm/checkbox/index.js +1 -26
- package/esm/code/code.js +1 -42
- package/esm/code/code.styles.js +1 -14
- package/esm/code/index.js +1 -15
- package/esm/col/col.js +1 -46
- package/esm/col/col.styles.js +1 -16
- package/esm/col/index.js +1 -14
- package/esm/collapse/collapse-context.js +1 -20
- package/esm/collapse/collapse-group.js +1 -90
- package/esm/collapse/collapse-icon.js +1 -41
- package/esm/collapse/collapse.js +1 -196
- package/esm/collapse/collapse.styles.js +1 -256
- package/esm/collapse/index.js +1 -22
- package/esm/container/container.js +1 -91
- package/esm/container/container.styles.js +1 -45
- package/esm/container/index.js +1 -14
- package/esm/css-baseline/css-baseline.js +1 -247
- package/esm/css-baseline/index.js +1 -11
- package/esm/divider/divider.js +1 -82
- package/esm/divider/divider.styles.js +1 -77
- package/esm/divider/index.js +1 -15
- package/esm/grid/grid-container.js +1 -60
- package/esm/grid/grid-item.js +1 -123
- package/esm/grid/grid.js +1 -29
- package/esm/grid/grid.styles.js +1 -15
- package/esm/grid/index.js +1 -18
- package/esm/image/image.js +1 -150
- package/esm/image/image.skeleton.js +1 -50
- package/esm/image/image.styles.js +1 -57
- package/esm/image/index.js +1 -16
- package/esm/index.js +1 -435
- package/esm/input/index.js +1 -30
- package/esm/input/input-password.js +1 -80
- package/esm/input/input-props.js +1 -30
- package/esm/input/input.js +1 -318
- package/esm/input/input.styles.js +1 -878
- package/esm/input/password-icon.js +1 -51
- package/esm/link/icon.js +1 -42
- package/esm/link/index.js +1 -15
- package/esm/link/link.js +1 -42
- package/esm/link/link.styles.js +1 -135
- package/esm/loading/index.js +1 -24
- package/esm/loading/loading.js +1 -80
- package/esm/loading/loading.styles.js +1 -438
- package/esm/loading/spinner.js +1 -47
- package/esm/modal/index.js +1 -28
- package/esm/modal/modal-body.js +1 -62
- package/esm/modal/modal-close-button.js +1 -49
- package/esm/modal/modal-context.js +1 -18
- package/esm/modal/modal-footer.js +1 -69
- package/esm/modal/modal-header.js +1 -69
- package/esm/modal/modal-wrapper.js +1 -153
- package/esm/modal/modal.js +1 -159
- package/esm/modal/modal.styles.js +1 -243
- package/esm/modal/use-modal.js +1 -25
- package/esm/pagination/index.js +1 -19
- package/esm/pagination/pagination-ellipsis.js +1 -86
- package/esm/pagination/pagination-highlight.js +1 -52
- package/esm/pagination/pagination-icon.js +1 -59
- package/esm/pagination/pagination-item.js +1 -104
- package/esm/pagination/pagination.js +1 -169
- package/esm/pagination/pagination.styles.js +1 -361
- package/esm/progress/index.js +1 -15
- package/esm/progress/progress.js +1 -101
- package/esm/progress/progress.styles.js +1 -165
- package/esm/radio/index.js +1 -24
- package/esm/radio/radio-context.js +1 -24
- package/esm/radio/radio-group.js +1 -78
- package/esm/radio/radio.js +1 -156
- package/esm/radio/radio.styles.js +1 -240
- package/esm/row/index.js +1 -14
- package/esm/row/row.js +1 -54
- package/esm/row/row.styles.js +1 -25
- package/esm/snippet/index.js +1 -16
- package/esm/snippet/snippet-icon.js +1 -52
- package/esm/snippet/snippet.js +1 -137
- package/esm/snippet/snippet.styles.js +1 -141
- package/esm/spacer/index.js +1 -14
- package/esm/spacer/spacer.js +1 -49
- package/esm/spacer/spacer.styles.js +1 -24
- package/esm/switch/index.js +1 -17
- package/esm/switch/switch.js +1 -142
- package/esm/switch/switch.styles.js +1 -283
- package/esm/text/child.js +1 -83
- package/esm/text/index.js +1 -14
- package/esm/text/text.js +1 -124
- package/esm/text/text.styles.js +1 -41
- package/esm/textarea/index.js +1 -12
- package/esm/textarea/textarea.js +1 -126
- package/esm/textarea/utils.js +1 -126
- package/esm/theme/common.js +1 -503
- package/esm/theme/dark-theme.js +1 -38
- package/esm/theme/index.js +1 -31
- package/esm/theme/light-theme.js +1 -33
- package/esm/theme/stitches.config.js +1 -88
- package/esm/theme/theme-context.js +1 -22
- package/esm/theme/theme-provider.js +1 -111
- package/esm/theme/types.js +1 -3
- package/esm/theme/utils.js +1 -113
- package/esm/tooltip/index.js +1 -17
- package/esm/tooltip/placement.js +1 -193
- package/esm/tooltip/tooltip-content.js +1 -135
- package/esm/tooltip/tooltip.js +1 -143
- package/esm/tooltip/tooltip.styles.js +1 -159
- package/esm/use-body-scroll/index.js +1 -12
- package/esm/use-body-scroll/use-body-scroll.js +1 -77
- package/esm/use-click-anywhere/index.js +1 -12
- package/esm/use-click-anywhere/use-click-anywhere.js +1 -19
- package/esm/use-click-away/index.js +1 -12
- package/esm/use-click-away/use-click-away.js +1 -23
- package/esm/use-clipboard/index.js +1 -12
- package/esm/use-clipboard/use-clipboard.js +1 -57
- package/esm/use-current-state/index.js +1 -12
- package/esm/use-current-state/use-current-state.js +1 -28
- package/esm/use-drip/index.js +1 -12
- package/esm/use-drip/use-drip.js +1 -38
- package/esm/use-input/index.js +1 -12
- package/esm/use-input/use-input.js +1 -32
- package/esm/use-keyboard/codes.js +1 -104
- package/esm/use-keyboard/helper.js +1 -35
- package/esm/use-keyboard/index.js +1 -15
- package/esm/use-keyboard/use-keyboard.js +1 -76
- package/esm/use-pagination/index.js +1 -88
- package/esm/use-portal/index.js +1 -12
- package/esm/use-portal/use-portal.js +1 -43
- package/esm/use-real-shape/index.js +1 -12
- package/esm/use-real-shape/use-real-shape.js +1 -55
- package/esm/use-resize/index.js +1 -12
- package/esm/use-resize/use-resize.js +1 -23
- package/esm/use-ssr/index.js +1 -12
- package/esm/use-ssr/use-ssr.js +1 -25
- package/esm/use-theme/index.js +1 -12
- package/esm/use-theme/use-theme.js +1 -16
- package/esm/use-warning/index.js +1 -12
- package/esm/use-warning/use-warning.js +1 -23
- package/esm/user/index.js +1 -21
- package/esm/user/user-link.js +1 -46
- package/esm/user/user.js +1 -63
- package/esm/user/user.styles.js +1 -56
- package/esm/utils/assertion.js +1 -42
- package/esm/utils/clear-icon.js +1 -70
- package/esm/utils/clsx.js +1 -57
- package/esm/utils/collections.js +1 -110
- package/esm/utils/color.js +1 -187
- package/esm/utils/css-transition.js +1 -76
- package/esm/utils/deep-merge.js +1 -33
- package/esm/utils/dimensions.js +1 -10
- package/esm/utils/dom.js +1 -110
- package/esm/utils/drip.js +1 -116
- package/esm/utils/expand.js +1 -109
- package/esm/utils/icons.js +1 -481
- package/esm/utils/numbers.js +1 -23
- package/esm/utils/object.js +1 -40
- package/esm/utils/prop-types.js +1 -56
- package/esm/utils/react.js +1 -24
- package/esm/utils/strings.js +1 -18
- package/esm/utils/types.d.js +1 -3
- package/esm/utils/with-defaults.js +1 -13
- package/package.json +7 -3
- package/{cjs → types}/avatar/avatar-group.d.ts +0 -0
- package/{cjs → types}/avatar/avatar-group.styles.d.ts +16 -0
- package/{cjs → types}/avatar/avatar.d.ts +0 -0
- package/{esm → types}/avatar/avatar.styles.d.ts +8 -0
- package/{cjs → types}/avatar/index.d.ts +0 -0
- package/{cjs → types}/backdrop/backdrop.d.ts +0 -0
- package/{cjs → types}/backdrop/backdrop.styles.d.ts +24 -0
- package/{cjs → types}/backdrop/index.d.ts +0 -0
- package/{cjs → types}/button/button-group-context.d.ts +0 -0
- package/{cjs → types}/button/button-group.d.ts +0 -0
- package/{cjs → types}/button/button-group.styles.d.ts +8 -0
- package/{esm → types}/button/button-icon.d.ts +9 -0
- package/{cjs → types}/button/button.d.ts +1 -0
- package/{esm/backdrop/backdrop.styles.d.ts → types/button/button.styles.d.ts} +1220 -931
- package/{cjs → types}/button/index.d.ts +0 -0
- package/{cjs → types}/button/utils.d.ts +0 -0
- package/{cjs → types}/card/card.d.ts +0 -0
- package/{cjs → types}/card/card.styles.d.ts +32 -0
- package/{cjs → types}/card/index.d.ts +0 -0
- package/{cjs → types}/checkbox/checkbox-context.d.ts +0 -0
- package/{cjs → types}/checkbox/checkbox-group.d.ts +0 -0
- package/{cjs → types}/checkbox/checkbox.d.ts +0 -0
- package/{cjs → types}/checkbox/checkbox.styles.d.ts +72 -0
- package/{cjs → types}/checkbox/index.d.ts +0 -0
- package/{cjs → types}/code/code.d.ts +0 -0
- package/{esm → types}/code/code.styles.d.ts +16 -0
- package/{cjs → types}/code/index.d.ts +0 -0
- package/{cjs → types}/col/col.d.ts +0 -0
- package/{esm → types}/col/col.styles.d.ts +8 -0
- package/{cjs → types}/col/index.d.ts +0 -0
- package/{cjs → types}/collapse/collapse-context.d.ts +0 -0
- package/{cjs → types}/collapse/collapse-group.d.ts +0 -0
- package/{cjs → types}/collapse/collapse-icon.d.ts +0 -0
- package/{cjs → types}/collapse/collapse.d.ts +0 -0
- package/{esm → types}/collapse/collapse.styles.d.ts +40 -0
- package/{cjs → types}/collapse/index.d.ts +0 -0
- package/{cjs → types}/container/container.d.ts +0 -0
- package/{esm → types}/container/container.styles.d.ts +8 -0
- package/{cjs → types}/container/index.d.ts +0 -0
- package/{cjs → types}/css-baseline/css-baseline.d.ts +0 -0
- package/{cjs → types}/css-baseline/index.d.ts +0 -0
- package/{cjs → types}/divider/divider.d.ts +0 -0
- package/{esm → types}/divider/divider.styles.d.ts +16 -0
- package/{cjs → types}/divider/index.d.ts +0 -0
- package/{cjs → types}/grid/grid-container.d.ts +0 -0
- package/{cjs → types}/grid/grid-item.d.ts +0 -0
- package/{cjs → types}/grid/grid.d.ts +0 -0
- package/{cjs → types}/grid/grid.styles.d.ts +16 -0
- package/{cjs → types}/grid/index.d.ts +0 -0
- package/{cjs → types}/image/image.d.ts +0 -0
- package/{cjs → types}/image/image.skeleton.d.ts +0 -0
- package/{esm → types}/image/image.styles.d.ts +24 -0
- package/{cjs → types}/image/index.d.ts +0 -0
- package/{cjs → types}/index.d.ts +0 -0
- package/{cjs → types}/input/index.d.ts +0 -0
- package/{cjs → types}/input/input-password.d.ts +0 -0
- package/{cjs → types}/input/input-props.d.ts +0 -0
- package/{cjs → types}/input/input.d.ts +0 -0
- package/{cjs → types}/input/input.styles.d.ts +88 -0
- package/{cjs → types}/input/password-icon.d.ts +0 -0
- package/{cjs → types}/link/icon.d.ts +0 -0
- package/{cjs → types}/link/index.d.ts +0 -0
- package/{cjs → types}/link/link.d.ts +1 -1
- package/{cjs → types}/link/link.styles.d.ts +17 -1
- package/{cjs → types}/loading/index.d.ts +0 -0
- package/{cjs → types}/loading/loading.d.ts +0 -0
- package/{esm → types}/loading/loading.styles.d.ts +48 -0
- package/{cjs → types}/loading/spinner.d.ts +0 -0
- package/{cjs → types}/modal/index.d.ts +0 -0
- package/{cjs → types}/modal/modal-body.d.ts +0 -0
- package/{cjs → types}/modal/modal-close-button.d.ts +0 -0
- package/{cjs → types}/modal/modal-context.d.ts +0 -0
- package/{cjs → types}/modal/modal-footer.d.ts +0 -0
- package/{cjs → types}/modal/modal-header.d.ts +0 -0
- package/{cjs → types}/modal/modal-wrapper.d.ts +0 -0
- package/{cjs → types}/modal/modal.d.ts +0 -0
- package/{cjs → types}/modal/modal.styles.d.ts +48 -0
- package/{cjs → types}/modal/use-modal.d.ts +0 -0
- package/{cjs → types}/pagination/index.d.ts +0 -0
- package/{cjs → types}/pagination/pagination-ellipsis.d.ts +0 -0
- package/{cjs → types}/pagination/pagination-highlight.d.ts +0 -0
- package/{cjs → types}/pagination/pagination-icon.d.ts +0 -0
- package/{cjs → types}/pagination/pagination-item.d.ts +0 -0
- package/{cjs → types}/pagination/pagination.d.ts +0 -0
- package/{esm → types}/pagination/pagination.styles.d.ts +48 -0
- package/{cjs → types}/progress/index.d.ts +0 -0
- package/{esm → types}/progress/progress.d.ts +1 -1
- package/{esm → types}/progress/progress.styles.d.ts +17 -1
- package/{cjs → types}/radio/index.d.ts +0 -0
- package/{cjs → types}/radio/radio-context.d.ts +0 -0
- package/{cjs → types}/radio/radio-group.d.ts +0 -0
- package/{cjs → types}/radio/radio.d.ts +0 -0
- package/{cjs → types}/radio/radio.styles.d.ts +48 -0
- package/{cjs → types}/row/index.d.ts +0 -0
- package/{cjs → types}/row/row.d.ts +0 -0
- package/{esm → types}/row/row.styles.d.ts +8 -0
- package/{cjs → types}/snippet/index.d.ts +0 -0
- package/{cjs → types}/snippet/snippet-icon.d.ts +0 -0
- package/{cjs → types}/snippet/snippet.d.ts +0 -0
- package/{esm → types}/snippet/snippet.styles.d.ts +32 -0
- package/{cjs → types}/spacer/index.d.ts +0 -0
- package/{cjs → types}/spacer/spacer.d.ts +0 -0
- package/{cjs → types}/spacer/spacer.styles.d.ts +8 -0
- package/{cjs → types}/switch/index.d.ts +0 -0
- package/{cjs → types}/switch/switch.d.ts +0 -0
- package/{cjs → types}/switch/switch.styles.d.ts +32 -0
- package/{cjs → types}/text/child.d.ts +0 -0
- package/{cjs → types}/text/index.d.ts +0 -0
- package/{cjs → types}/text/text.d.ts +0 -0
- package/{cjs → types}/text/text.styles.d.ts +8 -0
- package/{cjs → types}/textarea/index.d.ts +0 -0
- package/{cjs → types}/textarea/textarea.d.ts +0 -0
- package/{cjs → types}/textarea/utils.d.ts +0 -0
- package/{cjs → types}/theme/common.d.ts +16 -0
- package/{cjs → types}/theme/dark-theme.d.ts +10 -0
- package/{cjs → types}/theme/light-theme.d.ts +0 -0
- package/{cjs → types}/theme/stitches.config.d.ts +1021 -1
- package/{cjs → types}/theme/theme-context.d.ts +0 -0
- package/{cjs → types}/theme/theme-provider.d.ts +0 -0
- package/{cjs → types}/theme/types.d.ts +0 -0
- package/{cjs → types}/theme/utils.d.ts +0 -0
- package/{cjs → types}/tooltip/index.d.ts +0 -0
- package/{cjs → types}/tooltip/placement.d.ts +0 -0
- package/{cjs → types}/tooltip/tooltip-content.d.ts +0 -0
- package/{cjs → types}/tooltip/tooltip.d.ts +0 -0
- package/{esm → types}/tooltip/tooltip.styles.d.ts +32 -0
- package/{cjs → types}/use-body-scroll/index.d.ts +0 -0
- package/{cjs → types}/use-body-scroll/use-body-scroll.d.ts +0 -0
- package/{cjs → types}/use-click-anywhere/index.d.ts +0 -0
- package/{cjs → types}/use-click-anywhere/use-click-anywhere.d.ts +0 -0
- package/{cjs → types}/use-click-away/index.d.ts +0 -0
- package/{cjs → types}/use-click-away/use-click-away.d.ts +0 -0
- package/{cjs → types}/use-clipboard/index.d.ts +0 -0
- package/{cjs → types}/use-clipboard/use-clipboard.d.ts +0 -0
- package/{cjs → types}/use-current-state/index.d.ts +0 -0
- package/{cjs → types}/use-current-state/use-current-state.d.ts +0 -0
- package/{cjs → types}/use-drip/index.d.ts +0 -0
- package/{cjs → types}/use-drip/use-drip.d.ts +0 -0
- package/{cjs → types}/use-input/index.d.ts +0 -0
- package/{cjs → types}/use-input/use-input.d.ts +0 -0
- package/{cjs → types}/use-keyboard/codes.d.ts +0 -0
- package/{cjs → types}/use-keyboard/helper.d.ts +0 -0
- package/{cjs → types}/use-keyboard/index.d.ts +0 -0
- package/{cjs → types}/use-keyboard/use-keyboard.d.ts +0 -0
- package/{cjs → types}/use-pagination/index.d.ts +0 -0
- package/{cjs → types}/use-portal/index.d.ts +0 -0
- package/{cjs → types}/use-portal/use-portal.d.ts +0 -0
- package/{cjs → types}/use-real-shape/index.d.ts +0 -0
- package/{cjs → types}/use-real-shape/use-real-shape.d.ts +0 -0
- package/{cjs → types}/use-resize/index.d.ts +0 -0
- package/{cjs → types}/use-resize/use-resize.d.ts +0 -0
- package/{cjs → types}/use-ssr/index.d.ts +0 -0
- package/{cjs → types}/use-ssr/use-ssr.d.ts +0 -0
- package/{cjs → types}/use-theme/index.d.ts +0 -0
- package/{cjs → types}/use-theme/use-theme.d.ts +0 -0
- package/{cjs → types}/use-warning/index.d.ts +0 -0
- package/{cjs → types}/use-warning/use-warning.d.ts +0 -0
- package/{cjs → types}/user/index.d.ts +0 -0
- package/{cjs → types}/user/user-link.d.ts +0 -0
- package/{cjs → types}/user/user.d.ts +0 -0
- package/{cjs → types}/user/user.styles.d.ts +40 -0
- package/{cjs → types}/utils/assertion.d.ts +0 -0
- package/{cjs → types}/utils/clear-icon.d.ts +0 -0
- package/{cjs → types}/utils/clsx.d.ts +0 -0
- package/{cjs → types}/utils/collections.d.ts +0 -0
- package/{cjs → types}/utils/color.d.ts +0 -0
- package/{cjs → types}/utils/css-transition.d.ts +0 -0
- package/{cjs → types}/utils/deep-merge.d.ts +0 -0
- package/{cjs → types}/utils/dimensions.d.ts +0 -0
- package/{cjs → types}/utils/drip.d.ts +8 -0
- package/{cjs → types}/utils/expand.d.ts +0 -0
- package/{cjs → types}/utils/numbers.d.ts +0 -0
- package/{cjs → types}/utils/object.d.ts +0 -0
- package/{cjs → types}/utils/prop-types.d.ts +0 -0
- package/{cjs → types}/utils/with-defaults.d.ts +0 -0
- package/umd/nextui.js +4436 -512
- package/umd/nextui.min.js +1 -1
- package/cjs/avatar/avatar.styles.d.ts +0 -937
- package/cjs/button/button-icon.d.ts +0 -942
- package/cjs/button/button.styles.d.ts +0 -940
- package/cjs/code/code.styles.d.ts +0 -1848
- package/cjs/col/col.styles.d.ts +0 -926
- package/cjs/collapse/collapse.styles.d.ts +0 -4637
- package/cjs/container/container.styles.d.ts +0 -929
- package/cjs/divider/divider.styles.d.ts +0 -1853
- package/cjs/image/image.styles.d.ts +0 -2775
- package/cjs/loading/loading.styles.d.ts +0 -5554
- package/cjs/pagination/pagination.styles.d.ts +0 -5567
- package/cjs/progress/progress.d.ts +0 -65
- package/cjs/progress/progress.styles.d.ts +0 -1859
- package/cjs/row/row.styles.d.ts +0 -928
- package/cjs/snippet/snippet.styles.d.ts +0 -3702
- package/cjs/tooltip/tooltip.styles.d.ts +0 -3703
- package/esm/avatar/avatar-group.d.ts +0 -13
- package/esm/avatar/avatar-group.styles.d.ts +0 -1851
- package/esm/avatar/avatar.d.ts +0 -21
- package/esm/avatar/index.d.ts +0 -7
- package/esm/backdrop/backdrop.d.ts +0 -37
- package/esm/backdrop/index.d.ts +0 -5
- package/esm/button/button-group-context.d.ts +0 -20
- package/esm/button/button-group.d.ts +0 -34
- package/esm/button/button-group.styles.d.ts +0 -932
- package/esm/button/button.d.ts +0 -30
- package/esm/button/button.styles.d.ts +0 -940
- package/esm/button/index.d.ts +0 -10
- package/esm/button/utils.d.ts +0 -4
- package/esm/card/card.d.ts +0 -23
- package/esm/card/card.styles.d.ts +0 -3707
- package/esm/card/index.d.ts +0 -5
- package/esm/checkbox/checkbox-context.d.ts +0 -13
- package/esm/checkbox/checkbox-group.d.ts +0 -29
- package/esm/checkbox/checkbox.d.ts +0 -58
- package/esm/checkbox/checkbox.styles.d.ts +0 -8351
- package/esm/checkbox/index.d.ts +0 -6
- package/esm/code/code.d.ts +0 -15
- package/esm/code/index.d.ts +0 -5
- package/esm/col/col.d.ts +0 -20
- package/esm/col/index.d.ts +0 -5
- package/esm/collapse/collapse-context.d.ts +0 -9
- package/esm/collapse/collapse-group.d.ts +0 -18
- package/esm/collapse/collapse-icon.d.ts +0 -19
- package/esm/collapse/collapse.d.ts +0 -43
- package/esm/collapse/index.d.ts +0 -6
- package/esm/container/container.d.ts +0 -40
- package/esm/container/index.d.ts +0 -5
- package/esm/css-baseline/css-baseline.d.ts +0 -9
- package/esm/css-baseline/index.d.ts +0 -1
- package/esm/divider/divider.d.ts +0 -22
- package/esm/divider/index.d.ts +0 -5
- package/esm/grid/grid-container.d.ts +0 -22
- package/esm/grid/grid-item.d.ts +0 -37
- package/esm/grid/grid.d.ts +0 -9
- package/esm/grid/grid.styles.d.ts +0 -1849
- package/esm/grid/index.d.ts +0 -7
- package/esm/image/image.d.ts +0 -29
- package/esm/image/image.skeleton.d.ts +0 -19
- package/esm/image/index.d.ts +0 -5
- package/esm/index.d.ts +0 -79
- package/esm/input/index.d.ts +0 -7
- package/esm/input/input-password.d.ts +0 -98
- package/esm/input/input-props.d.ts +0 -66
- package/esm/input/input.d.ts +0 -18
- package/esm/input/input.styles.d.ts +0 -10217
- package/esm/input/password-icon.d.ts +0 -6
- package/esm/link/icon.d.ts +0 -4
- package/esm/link/index.d.ts +0 -5
- package/esm/link/link.d.ts +0 -43
- package/esm/link/link.styles.d.ts +0 -1854
- package/esm/loading/index.d.ts +0 -7
- package/esm/loading/loading.d.ts +0 -24
- package/esm/loading/spinner.d.ts +0 -17
- package/esm/modal/index.d.ts +0 -8
- package/esm/modal/modal-body.d.ts +0 -45
- package/esm/modal/modal-close-button.d.ts +0 -13
- package/esm/modal/modal-context.d.ts +0 -8
- package/esm/modal/modal-footer.d.ts +0 -24
- package/esm/modal/modal-header.d.ts +0 -24
- package/esm/modal/modal-wrapper.d.ts +0 -24
- package/esm/modal/modal.d.ts +0 -42
- package/esm/modal/modal.styles.d.ts +0 -5560
- package/esm/modal/use-modal.d.ts +0 -11
- package/esm/pagination/index.d.ts +0 -7
- package/esm/pagination/pagination-ellipsis.d.ts +0 -11
- package/esm/pagination/pagination-highlight.d.ts +0 -14
- package/esm/pagination/pagination-icon.d.ts +0 -16
- package/esm/pagination/pagination-item.d.ts +0 -22
- package/esm/pagination/pagination.d.ts +0 -46
- package/esm/progress/index.d.ts +0 -5
- package/esm/radio/index.d.ts +0 -4
- package/esm/radio/radio-context.d.ts +0 -13
- package/esm/radio/radio-group.d.ts +0 -30
- package/esm/radio/radio.d.ts +0 -45
- package/esm/radio/radio.styles.d.ts +0 -5555
- package/esm/row/index.d.ts +0 -5
- package/esm/row/row.d.ts +0 -21
- package/esm/snippet/index.d.ts +0 -5
- package/esm/snippet/snippet-icon.d.ts +0 -21
- package/esm/snippet/snippet.d.ts +0 -35
- package/esm/spacer/index.d.ts +0 -5
- package/esm/spacer/spacer.d.ts +0 -41
- package/esm/spacer/spacer.styles.d.ts +0 -927
- package/esm/switch/index.d.ts +0 -5
- package/esm/switch/switch.d.ts +0 -82
- package/esm/switch/switch.styles.d.ts +0 -3708
- package/esm/text/child.d.ts +0 -23
- package/esm/text/index.d.ts +0 -4
- package/esm/text/text.d.ts +0 -59
- package/esm/text/text.styles.d.ts +0 -927
- package/esm/textarea/index.d.ts +0 -3
- package/esm/textarea/textarea.d.ts +0 -42
- package/esm/textarea/utils.d.ts +0 -13
- package/esm/theme/common.d.ts +0 -1644
- package/esm/theme/dark-theme.d.ts +0 -33
- package/esm/theme/light-theme.d.ts +0 -28
- package/esm/theme/stitches.config.d.ts +0 -9004
- package/esm/theme/theme-context.d.ts +0 -5
- package/esm/theme/theme-provider.d.ts +0 -14
- package/esm/theme/types.d.ts +0 -76
- package/esm/theme/utils.d.ts +0 -16
- package/esm/tooltip/index.d.ts +0 -6
- package/esm/tooltip/placement.d.ts +0 -39
- package/esm/tooltip/tooltip-content.d.ts +0 -27
- package/esm/tooltip/tooltip.d.ts +0 -59
- package/esm/use-body-scroll/index.d.ts +0 -3
- package/esm/use-body-scroll/use-body-scroll.d.ts +0 -9
- package/esm/use-click-anywhere/index.d.ts +0 -2
- package/esm/use-click-anywhere/use-click-anywhere.d.ts +0 -2
- package/esm/use-click-away/index.d.ts +0 -2
- package/esm/use-click-away/use-click-away.d.ts +0 -3
- package/esm/use-clipboard/index.d.ts +0 -3
- package/esm/use-clipboard/use-clipboard.d.ts +0 -8
- package/esm/use-current-state/index.d.ts +0 -2
- package/esm/use-current-state/use-current-state.d.ts +0 -8
- package/esm/use-drip/index.d.ts +0 -2
- package/esm/use-drip/use-drip.d.ts +0 -9
- package/esm/use-input/index.d.ts +0 -2
- package/esm/use-input/use-input.d.ts +0 -13
- package/esm/use-keyboard/codes.d.ts +0 -92
- package/esm/use-keyboard/helper.d.ts +0 -3
- package/esm/use-keyboard/index.d.ts +0 -5
- package/esm/use-keyboard/use-keyboard.d.ts +0 -22
- package/esm/use-pagination/index.d.ts +0 -20
- package/esm/use-portal/index.d.ts +0 -2
- package/esm/use-portal/use-portal.d.ts +0 -2
- package/esm/use-real-shape/index.d.ts +0 -2
- package/esm/use-real-shape/use-real-shape.d.ts +0 -9
- package/esm/use-resize/index.d.ts +0 -2
- package/esm/use-resize/use-resize.d.ts +0 -2
- package/esm/use-ssr/index.d.ts +0 -2
- package/esm/use-ssr/use-ssr.d.ts +0 -6
- package/esm/use-theme/index.d.ts +0 -2
- package/esm/use-theme/use-theme.d.ts +0 -3
- package/esm/use-warning/index.d.ts +0 -2
- package/esm/use-warning/use-warning.d.ts +0 -2
- package/esm/user/index.d.ts +0 -6
- package/esm/user/user-link.d.ts +0 -32
- package/esm/user/user.d.ts +0 -35
- package/esm/user/user.styles.d.ts +0 -4621
- package/esm/utils/assertion.d.ts +0 -8
- package/esm/utils/clear-icon.d.ts +0 -16
- package/esm/utils/clsx.d.ts +0 -1
- package/esm/utils/collections.d.ts +0 -12
- package/esm/utils/color.d.ts +0 -28
- package/esm/utils/css-transition.d.ts +0 -27
- package/esm/utils/deep-merge.d.ts +0 -1
- package/esm/utils/dimensions.d.ts +0 -1
- package/esm/utils/drip.d.ts +0 -969
- package/esm/utils/expand.d.ts +0 -20
- package/esm/utils/numbers.d.ts +0 -9
- package/esm/utils/object.d.ts +0 -11
- package/esm/utils/prop-types.d.ts +0 -54
- package/esm/utils/with-defaults.d.ts +0 -3
package/esm/utils/strings.js
CHANGED
|
@@ -1,18 +1 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.kebabCase = exports.includes = void 0;
|
|
5
|
-
|
|
6
|
-
const kebabCase = text => {
|
|
7
|
-
var _text$replace, _text$replace$replace, _text$replace$replace2;
|
|
8
|
-
|
|
9
|
-
return text == null ? void 0 : text.replace == null ? void 0 : (_text$replace = text.replace(/([a-z])([A-Z])/g, '$1-$2')) == null ? void 0 : _text$replace.replace == null ? void 0 : (_text$replace$replace = (_text$replace$replace2 = _text$replace.replace(/\s+/g, '-')).toLowerCase) == null ? void 0 : _text$replace$replace.call(_text$replace$replace2);
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
exports.kebabCase = kebabCase;
|
|
13
|
-
|
|
14
|
-
const includes = (text, search) => {
|
|
15
|
-
return search == null ? void 0 : search.some(item => text == null ? void 0 : text.includes(item));
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
exports.includes = includes;
|
|
1
|
+
export const kebabCase=l=>{var e,n,a;return null==l||null==l.replace||null==(e=l.replace(/([a-z])([A-Z])/g,"$1-$2"))||null==e.replace||null==(n=(a=e.replace(/\s+/g,"-")).toLowerCase)?void 0:n.call(a)};export const includes=(l,e)=>null==e?void 0:e.some((e=>null==l?void 0:l.includes(e)));
|
package/esm/utils/types.d.js
CHANGED
|
@@ -1,13 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.default = void 0;
|
|
5
|
-
|
|
6
|
-
const withDefaults = (component, defaultProps) => {
|
|
7
|
-
component.defaultProps = defaultProps;
|
|
8
|
-
return component;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
var _default = withDefaults;
|
|
12
|
-
exports.default = _default;
|
|
13
|
-
module.exports = exports.default;
|
|
1
|
+
export default(e,t)=>(e.defaultProps=t,e);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextui-org/react",
|
|
3
|
-
"version": "1.0.2-beta.
|
|
3
|
+
"version": "1.0.2-beta.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "🚀 Beautiful and modern React UI library.",
|
|
6
6
|
"homepage": "https://nextui.org",
|
|
@@ -27,12 +27,16 @@
|
|
|
27
27
|
"main": "cjs/index.js",
|
|
28
28
|
"module": "esm/index.js",
|
|
29
29
|
"unpkg": "umd/nextui.min.js",
|
|
30
|
-
"types": "
|
|
30
|
+
"types": "types/index.d.ts",
|
|
31
31
|
"sideEffects": false,
|
|
32
32
|
"scripts": {},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "7.9.6",
|
|
35
|
-
"@stitches/react": "1.2.6"
|
|
35
|
+
"@stitches/react": "1.2.6",
|
|
36
|
+
"@react-aria/focus": "3.5.0",
|
|
37
|
+
"@react-aria/label": "3.2.1",
|
|
38
|
+
"@react-aria/ssr": "3.1.0",
|
|
39
|
+
"@react-aria/utils": "3.11.0"
|
|
36
40
|
},
|
|
37
41
|
"peerDependencies": {
|
|
38
42
|
"react": ">=16.8.0",
|
|
File without changes
|
|
@@ -133,18 +133,23 @@ export declare const StyledAvatarGroupCount: import("@stitches/react/types/style
|
|
|
133
133
|
primaryLight: string;
|
|
134
134
|
primary: string;
|
|
135
135
|
primaryDark: string;
|
|
136
|
+
primaryShadow: string;
|
|
136
137
|
secondaryLight: string;
|
|
137
138
|
secondary: string;
|
|
138
139
|
secondaryDark: string;
|
|
140
|
+
secondaryShadow: string;
|
|
139
141
|
successLight: string;
|
|
140
142
|
success: string;
|
|
141
143
|
successDark: string;
|
|
144
|
+
successShadow: string;
|
|
142
145
|
warningLight: string;
|
|
143
146
|
warning: string;
|
|
144
147
|
warningDark: string;
|
|
148
|
+
warningShadow: string;
|
|
145
149
|
errorLight: string;
|
|
146
150
|
error: string;
|
|
147
151
|
errorDark: string;
|
|
152
|
+
errorShadow: string;
|
|
148
153
|
gradient: string;
|
|
149
154
|
link: string;
|
|
150
155
|
};
|
|
@@ -920,6 +925,9 @@ export declare const StyledAvatarGroupCount: import("@stitches/react/types/style
|
|
|
920
925
|
backgroundImage: string;
|
|
921
926
|
WebkitBackgroundClip: string;
|
|
922
927
|
WebkitTextFillColor: string;
|
|
928
|
+
'&::selection': {
|
|
929
|
+
WebkitTextFillColor: string;
|
|
930
|
+
};
|
|
923
931
|
};
|
|
924
932
|
}>>;
|
|
925
933
|
export declare const StyledAvatarGroup: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
@@ -1058,18 +1066,23 @@ export declare const StyledAvatarGroup: import("@stitches/react/types/styled-com
|
|
|
1058
1066
|
primaryLight: string;
|
|
1059
1067
|
primary: string;
|
|
1060
1068
|
primaryDark: string;
|
|
1069
|
+
primaryShadow: string;
|
|
1061
1070
|
secondaryLight: string;
|
|
1062
1071
|
secondary: string;
|
|
1063
1072
|
secondaryDark: string;
|
|
1073
|
+
secondaryShadow: string;
|
|
1064
1074
|
successLight: string;
|
|
1065
1075
|
success: string;
|
|
1066
1076
|
successDark: string;
|
|
1077
|
+
successShadow: string;
|
|
1067
1078
|
warningLight: string;
|
|
1068
1079
|
warning: string;
|
|
1069
1080
|
warningDark: string;
|
|
1081
|
+
warningShadow: string;
|
|
1070
1082
|
errorLight: string;
|
|
1071
1083
|
error: string;
|
|
1072
1084
|
errorDark: string;
|
|
1085
|
+
errorShadow: string;
|
|
1073
1086
|
gradient: string;
|
|
1074
1087
|
link: string;
|
|
1075
1088
|
};
|
|
@@ -1845,6 +1858,9 @@ export declare const StyledAvatarGroup: import("@stitches/react/types/styled-com
|
|
|
1845
1858
|
backgroundImage: string;
|
|
1846
1859
|
WebkitBackgroundClip: string;
|
|
1847
1860
|
WebkitTextFillColor: string;
|
|
1861
|
+
'&::selection': {
|
|
1862
|
+
WebkitTextFillColor: string;
|
|
1863
|
+
};
|
|
1848
1864
|
};
|
|
1849
1865
|
}>>;
|
|
1850
1866
|
export declare type AvatarGroupVariants = VariantProps<typeof StyledAvatarGroup>;
|
|
File without changes
|
|
@@ -144,18 +144,23 @@ export declare const StyledAvatar: import("@stitches/react/types/styled-componen
|
|
|
144
144
|
primaryLight: string;
|
|
145
145
|
primary: string;
|
|
146
146
|
primaryDark: string;
|
|
147
|
+
primaryShadow: string;
|
|
147
148
|
secondaryLight: string;
|
|
148
149
|
secondary: string;
|
|
149
150
|
secondaryDark: string;
|
|
151
|
+
secondaryShadow: string;
|
|
150
152
|
successLight: string;
|
|
151
153
|
success: string;
|
|
152
154
|
successDark: string;
|
|
155
|
+
successShadow: string;
|
|
153
156
|
warningLight: string;
|
|
154
157
|
warning: string;
|
|
155
158
|
warningDark: string;
|
|
159
|
+
warningShadow: string;
|
|
156
160
|
errorLight: string;
|
|
157
161
|
error: string;
|
|
158
162
|
errorDark: string;
|
|
163
|
+
errorShadow: string;
|
|
159
164
|
gradient: string;
|
|
160
165
|
link: string;
|
|
161
166
|
};
|
|
@@ -931,6 +936,9 @@ export declare const StyledAvatar: import("@stitches/react/types/styled-componen
|
|
|
931
936
|
backgroundImage: string;
|
|
932
937
|
WebkitBackgroundClip: string;
|
|
933
938
|
WebkitTextFillColor: string;
|
|
939
|
+
'&::selection': {
|
|
940
|
+
WebkitTextFillColor: string;
|
|
941
|
+
};
|
|
934
942
|
};
|
|
935
943
|
}>>;
|
|
936
944
|
export declare type AvatarVariantsProps = VariantProps<typeof StyledAvatar>;
|
|
File without changes
|
|
File without changes
|
|
@@ -133,18 +133,23 @@ export declare const StyledBackdropContent: import("@stitches/react/types/styled
|
|
|
133
133
|
primaryLight: string;
|
|
134
134
|
primary: string;
|
|
135
135
|
primaryDark: string;
|
|
136
|
+
primaryShadow: string;
|
|
136
137
|
secondaryLight: string;
|
|
137
138
|
secondary: string;
|
|
138
139
|
secondaryDark: string;
|
|
140
|
+
secondaryShadow: string;
|
|
139
141
|
successLight: string;
|
|
140
142
|
success: string;
|
|
141
143
|
successDark: string;
|
|
144
|
+
successShadow: string;
|
|
142
145
|
warningLight: string;
|
|
143
146
|
warning: string;
|
|
144
147
|
warningDark: string;
|
|
148
|
+
warningShadow: string;
|
|
145
149
|
errorLight: string;
|
|
146
150
|
error: string;
|
|
147
151
|
errorDark: string;
|
|
152
|
+
errorShadow: string;
|
|
148
153
|
gradient: string;
|
|
149
154
|
link: string;
|
|
150
155
|
};
|
|
@@ -920,6 +925,9 @@ export declare const StyledBackdropContent: import("@stitches/react/types/styled
|
|
|
920
925
|
backgroundImage: string;
|
|
921
926
|
WebkitBackgroundClip: string;
|
|
922
927
|
WebkitTextFillColor: string;
|
|
928
|
+
'&::selection': {
|
|
929
|
+
WebkitTextFillColor: string;
|
|
930
|
+
};
|
|
923
931
|
};
|
|
924
932
|
}>>;
|
|
925
933
|
export declare const StyledBackdropLayer: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
@@ -1059,18 +1067,23 @@ export declare const StyledBackdropLayer: import("@stitches/react/types/styled-c
|
|
|
1059
1067
|
primaryLight: string;
|
|
1060
1068
|
primary: string;
|
|
1061
1069
|
primaryDark: string;
|
|
1070
|
+
primaryShadow: string;
|
|
1062
1071
|
secondaryLight: string;
|
|
1063
1072
|
secondary: string;
|
|
1064
1073
|
secondaryDark: string;
|
|
1074
|
+
secondaryShadow: string;
|
|
1065
1075
|
successLight: string;
|
|
1066
1076
|
success: string;
|
|
1067
1077
|
successDark: string;
|
|
1078
|
+
successShadow: string;
|
|
1068
1079
|
warningLight: string;
|
|
1069
1080
|
warning: string;
|
|
1070
1081
|
warningDark: string;
|
|
1082
|
+
warningShadow: string;
|
|
1071
1083
|
errorLight: string;
|
|
1072
1084
|
error: string;
|
|
1073
1085
|
errorDark: string;
|
|
1086
|
+
errorShadow: string;
|
|
1074
1087
|
gradient: string;
|
|
1075
1088
|
link: string;
|
|
1076
1089
|
};
|
|
@@ -1846,6 +1859,9 @@ export declare const StyledBackdropLayer: import("@stitches/react/types/styled-c
|
|
|
1846
1859
|
backgroundImage: string;
|
|
1847
1860
|
WebkitBackgroundClip: string;
|
|
1848
1861
|
WebkitTextFillColor: string;
|
|
1862
|
+
'&::selection': {
|
|
1863
|
+
WebkitTextFillColor: string;
|
|
1864
|
+
};
|
|
1849
1865
|
};
|
|
1850
1866
|
}>>;
|
|
1851
1867
|
export declare const StyledBackdrop: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
@@ -1984,18 +2000,23 @@ export declare const StyledBackdrop: import("@stitches/react/types/styled-compon
|
|
|
1984
2000
|
primaryLight: string;
|
|
1985
2001
|
primary: string;
|
|
1986
2002
|
primaryDark: string;
|
|
2003
|
+
primaryShadow: string;
|
|
1987
2004
|
secondaryLight: string;
|
|
1988
2005
|
secondary: string;
|
|
1989
2006
|
secondaryDark: string;
|
|
2007
|
+
secondaryShadow: string;
|
|
1990
2008
|
successLight: string;
|
|
1991
2009
|
success: string;
|
|
1992
2010
|
successDark: string;
|
|
2011
|
+
successShadow: string;
|
|
1993
2012
|
warningLight: string;
|
|
1994
2013
|
warning: string;
|
|
1995
2014
|
warningDark: string;
|
|
2015
|
+
warningShadow: string;
|
|
1996
2016
|
errorLight: string;
|
|
1997
2017
|
error: string;
|
|
1998
2018
|
errorDark: string;
|
|
2019
|
+
errorShadow: string;
|
|
1999
2020
|
gradient: string;
|
|
2000
2021
|
link: string;
|
|
2001
2022
|
};
|
|
@@ -2771,6 +2792,9 @@ export declare const StyledBackdrop: import("@stitches/react/types/styled-compon
|
|
|
2771
2792
|
backgroundImage: string;
|
|
2772
2793
|
WebkitBackgroundClip: string;
|
|
2773
2794
|
WebkitTextFillColor: string;
|
|
2795
|
+
'&::selection': {
|
|
2796
|
+
WebkitTextFillColor: string;
|
|
2797
|
+
};
|
|
2774
2798
|
};
|
|
2775
2799
|
}>>;
|
|
2776
2800
|
export declare type BackdropVariantsProps = VariantProps<typeof StyledBackdrop>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -139,18 +139,23 @@ export declare const StyledButtonGroup: import("@stitches/react/types/styled-com
|
|
|
139
139
|
primaryLight: string;
|
|
140
140
|
primary: string;
|
|
141
141
|
primaryDark: string;
|
|
142
|
+
primaryShadow: string;
|
|
142
143
|
secondaryLight: string;
|
|
143
144
|
secondary: string;
|
|
144
145
|
secondaryDark: string;
|
|
146
|
+
secondaryShadow: string;
|
|
145
147
|
successLight: string;
|
|
146
148
|
success: string;
|
|
147
149
|
successDark: string;
|
|
150
|
+
successShadow: string;
|
|
148
151
|
warningLight: string;
|
|
149
152
|
warning: string;
|
|
150
153
|
warningDark: string;
|
|
154
|
+
warningShadow: string;
|
|
151
155
|
errorLight: string;
|
|
152
156
|
error: string;
|
|
153
157
|
errorDark: string;
|
|
158
|
+
errorShadow: string;
|
|
154
159
|
gradient: string;
|
|
155
160
|
link: string;
|
|
156
161
|
};
|
|
@@ -926,6 +931,9 @@ export declare const StyledButtonGroup: import("@stitches/react/types/styled-com
|
|
|
926
931
|
backgroundImage: string;
|
|
927
932
|
WebkitBackgroundClip: string;
|
|
928
933
|
WebkitTextFillColor: string;
|
|
934
|
+
'&::selection': {
|
|
935
|
+
WebkitTextFillColor: string;
|
|
936
|
+
};
|
|
929
937
|
};
|
|
930
938
|
}>>;
|
|
931
939
|
export declare type ButtonGroupVariantsProps = Omit<VariantProps<typeof StyledButtonGroup>, 'gradient'>;
|
|
@@ -9,6 +9,7 @@ declare const defaultProps: {
|
|
|
9
9
|
className: string;
|
|
10
10
|
};
|
|
11
11
|
export declare const StyledButtonIcon: import("@stitches/react/types/styled-component").StyledComponent<"span", {
|
|
12
|
+
isAuto?: boolean | "true" | undefined;
|
|
12
13
|
isRight?: boolean | "true" | undefined;
|
|
13
14
|
isSingle?: boolean | "true" | undefined;
|
|
14
15
|
}, {
|
|
@@ -145,18 +146,23 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
|
|
|
145
146
|
primaryLight: string;
|
|
146
147
|
primary: string;
|
|
147
148
|
primaryDark: string;
|
|
149
|
+
primaryShadow: string;
|
|
148
150
|
secondaryLight: string;
|
|
149
151
|
secondary: string;
|
|
150
152
|
secondaryDark: string;
|
|
153
|
+
secondaryShadow: string;
|
|
151
154
|
successLight: string;
|
|
152
155
|
success: string;
|
|
153
156
|
successDark: string;
|
|
157
|
+
successShadow: string;
|
|
154
158
|
warningLight: string;
|
|
155
159
|
warning: string;
|
|
156
160
|
warningDark: string;
|
|
161
|
+
warningShadow: string;
|
|
157
162
|
errorLight: string;
|
|
158
163
|
error: string;
|
|
159
164
|
errorDark: string;
|
|
165
|
+
errorShadow: string;
|
|
160
166
|
gradient: string;
|
|
161
167
|
link: string;
|
|
162
168
|
};
|
|
@@ -932,6 +938,9 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
|
|
|
932
938
|
backgroundImage: string;
|
|
933
939
|
WebkitBackgroundClip: string;
|
|
934
940
|
WebkitTextFillColor: string;
|
|
941
|
+
'&::selection': {
|
|
942
|
+
WebkitTextFillColor: string;
|
|
943
|
+
};
|
|
935
944
|
};
|
|
936
945
|
}>>;
|
|
937
946
|
declare type ButtonIconVariants = VariantProps<typeof StyledButtonIcon>;
|