@nextui-org/react 1.0.2-alpha.2 → 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 +10 -5
- 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 -695
- 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 -190
- package/cjs/collapse/collapse.styles.js +1 -254
- 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 -317
- 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 -490
- 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 -115
- 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 -141
- 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 -695
- 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 -190
- package/esm/collapse/collapse.styles.js +1 -254
- 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 -317
- 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 -490
- 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 -115
- 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 -141
- 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 +8 -3
- package/{cjs → types}/avatar/avatar-group.d.ts +0 -0
- package/{cjs → types}/avatar/avatar-group.styles.d.ts +82 -0
- package/{cjs → types}/avatar/avatar.d.ts +0 -0
- package/{esm → types}/avatar/avatar.styles.d.ts +41 -0
- package/{cjs → types}/avatar/index.d.ts +0 -0
- package/{cjs → types}/backdrop/backdrop.d.ts +1 -1
- package/{cjs → types}/backdrop/backdrop.styles.d.ts +123 -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 +41 -0
- package/{esm → types}/button/button-icon.d.ts +42 -0
- package/{cjs → types}/button/button.d.ts +1 -0
- package/{esm/backdrop/backdrop.styles.d.ts → types/button/button.styles.d.ts} +1286 -898
- 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 +164 -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 +369 -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 +82 -0
- package/{cjs → types}/code/index.d.ts +0 -0
- package/{cjs → types}/col/col.d.ts +0 -0
- package/{cjs → types}/col/col.styles.d.ts +41 -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/{esm → types}/collapse/collapse.d.ts +5 -3
- package/{esm → types}/collapse/collapse.styles.d.ts +205 -0
- package/{cjs → types}/collapse/index.d.ts +0 -0
- package/{cjs → types}/container/container.d.ts +0 -0
- package/{cjs → types}/container/container.styles.d.ts +41 -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 +82 -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 +82 -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 +123 -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 +451 -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 +83 -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 +246 -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 +246 -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 +246 -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 +83 -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 +246 -0
- package/{cjs → types}/row/index.d.ts +0 -0
- package/{cjs → types}/row/row.d.ts +0 -0
- package/{cjs → types}/row/row.styles.d.ts +41 -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 +164 -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 +41 -0
- package/{cjs → types}/switch/index.d.ts +1 -1
- package/{cjs → types}/switch/switch.d.ts +0 -0
- package/{cjs → types}/switch/switch.styles.d.ts +164 -0
- package/{esm → types}/text/child.d.ts +2 -0
- package/{cjs → types}/text/index.d.ts +0 -0
- package/{cjs → types}/text/text.d.ts +3 -3
- package/{cjs → types}/text/text.styles.d.ts +41 -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 +76 -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 +5411 -4087
- 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 +1 -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/{esm → types}/tooltip/tooltip.d.ts +4 -1
- package/{esm → types}/tooltip/tooltip.styles.d.ts +164 -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 +205 -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 +41 -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 +4532 -602
- package/umd/nextui.min.js +1 -1
- package/cjs/avatar/avatar.styles.d.ts +0 -904
- package/cjs/button/button-icon.d.ts +0 -909
- package/cjs/button/button.styles.d.ts +0 -907
- package/cjs/code/code.styles.d.ts +0 -1782
- package/cjs/collapse/collapse.d.ts +0 -41
- package/cjs/collapse/collapse.styles.d.ts +0 -4472
- package/cjs/divider/divider.styles.d.ts +0 -1787
- package/cjs/image/image.styles.d.ts +0 -2676
- package/cjs/loading/loading.styles.d.ts +0 -5356
- package/cjs/pagination/pagination.styles.d.ts +0 -5369
- package/cjs/progress/progress.d.ts +0 -65
- package/cjs/progress/progress.styles.d.ts +0 -1793
- package/cjs/snippet/snippet.styles.d.ts +0 -3570
- package/cjs/text/child.d.ts +0 -21
- package/cjs/theme/ssr-provider.d.ts +0 -7
- package/cjs/theme/ssr-provider.js +0 -51
- package/cjs/tooltip/tooltip.d.ts +0 -56
- package/cjs/tooltip/tooltip.styles.d.ts +0 -3571
- package/esm/avatar/avatar-group.d.ts +0 -13
- package/esm/avatar/avatar-group.styles.d.ts +0 -1785
- 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 -899
- package/esm/button/button.d.ts +0 -30
- package/esm/button/button.styles.d.ts +0 -907
- 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 -3575
- 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 -8054
- 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/col.styles.d.ts +0 -893
- 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/index.d.ts +0 -6
- package/esm/container/container.d.ts +0 -40
- package/esm/container/container.styles.d.ts +0 -896
- 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 -1783
- 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 -9854
- 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 -1788
- 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 -5362
- 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 -5357
- package/esm/row/index.d.ts +0 -5
- package/esm/row/row.d.ts +0 -21
- package/esm/row/row.styles.d.ts +0 -895
- 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 -894
- package/esm/switch/index.d.ts +0 -5
- package/esm/switch/switch.d.ts +0 -82
- package/esm/switch/switch.styles.d.ts +0 -3576
- package/esm/text/index.d.ts +0 -4
- package/esm/text/text.d.ts +0 -59
- package/esm/text/text.styles.d.ts +0 -894
- 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 -1584
- package/esm/theme/dark-theme.d.ts +0 -33
- package/esm/theme/light-theme.d.ts +0 -28
- package/esm/theme/ssr-provider.d.ts +0 -7
- package/esm/theme/ssr-provider.js +0 -51
- package/esm/theme/stitches.config.d.ts +0 -8700
- 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 -75
- 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/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 -4456
- 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 -936
- 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
|
@@ -138,18 +138,23 @@ export declare const StyledSnippet: import("@stitches/react/types/styled-compone
|
|
|
138
138
|
primaryLight: string;
|
|
139
139
|
primary: string;
|
|
140
140
|
primaryDark: string;
|
|
141
|
+
primaryShadow: string;
|
|
141
142
|
secondaryLight: string;
|
|
142
143
|
secondary: string;
|
|
143
144
|
secondaryDark: string;
|
|
145
|
+
secondaryShadow: string;
|
|
144
146
|
successLight: string;
|
|
145
147
|
success: string;
|
|
146
148
|
successDark: string;
|
|
149
|
+
successShadow: string;
|
|
147
150
|
warningLight: string;
|
|
148
151
|
warning: string;
|
|
149
152
|
warningDark: string;
|
|
153
|
+
warningShadow: string;
|
|
150
154
|
errorLight: string;
|
|
151
155
|
error: string;
|
|
152
156
|
errorDark: string;
|
|
157
|
+
errorShadow: string;
|
|
153
158
|
gradient: string;
|
|
154
159
|
link: string;
|
|
155
160
|
};
|
|
@@ -840,6 +845,22 @@ export declare const StyledSnippet: import("@stitches/react/types/styled-compone
|
|
|
840
845
|
readonly [$$PropertyValue]: "width";
|
|
841
846
|
};
|
|
842
847
|
};
|
|
848
|
+
minSize: (value: {
|
|
849
|
+
readonly [$$PropertyValue]: "width";
|
|
850
|
+
}) => {
|
|
851
|
+
minWidth: {
|
|
852
|
+
readonly [$$PropertyValue]: "width";
|
|
853
|
+
};
|
|
854
|
+
minHeight: {
|
|
855
|
+
readonly [$$PropertyValue]: "width";
|
|
856
|
+
};
|
|
857
|
+
width: {
|
|
858
|
+
readonly [$$PropertyValue]: "width";
|
|
859
|
+
};
|
|
860
|
+
height: {
|
|
861
|
+
readonly [$$PropertyValue]: "width";
|
|
862
|
+
};
|
|
863
|
+
};
|
|
843
864
|
sizeMin: (value: {
|
|
844
865
|
readonly [$$PropertyValue]: "width";
|
|
845
866
|
}) => {
|
|
@@ -856,6 +877,16 @@ export declare const StyledSnippet: import("@stitches/react/types/styled-compone
|
|
|
856
877
|
readonly [$$PropertyValue]: "width";
|
|
857
878
|
};
|
|
858
879
|
};
|
|
880
|
+
maxSize: (value: {
|
|
881
|
+
readonly [$$PropertyValue]: "width";
|
|
882
|
+
}) => {
|
|
883
|
+
maxWidth: {
|
|
884
|
+
readonly [$$PropertyValue]: "width";
|
|
885
|
+
};
|
|
886
|
+
maxHeight: {
|
|
887
|
+
readonly [$$PropertyValue]: "width";
|
|
888
|
+
};
|
|
889
|
+
};
|
|
859
890
|
sizeMax: (value: {
|
|
860
891
|
readonly [$$PropertyValue]: "width";
|
|
861
892
|
}) => {
|
|
@@ -886,12 +917,22 @@ export declare const StyledSnippet: import("@stitches/react/types/styled-compone
|
|
|
886
917
|
}) => {
|
|
887
918
|
backgroundImage: string;
|
|
888
919
|
};
|
|
920
|
+
tdl: (value: {
|
|
921
|
+
readonly [$$PropertyValue]: "textDecorationLine";
|
|
922
|
+
}) => {
|
|
923
|
+
textDecorationLine: {
|
|
924
|
+
readonly [$$PropertyValue]: "textDecorationLine";
|
|
925
|
+
};
|
|
926
|
+
};
|
|
889
927
|
textGradient: (value: {
|
|
890
928
|
readonly [$$PropertyValue]: "backgroundImage";
|
|
891
929
|
}) => {
|
|
892
930
|
backgroundImage: string;
|
|
893
931
|
WebkitBackgroundClip: string;
|
|
894
932
|
WebkitTextFillColor: string;
|
|
933
|
+
'&::selection': {
|
|
934
|
+
WebkitTextFillColor: string;
|
|
935
|
+
};
|
|
895
936
|
};
|
|
896
937
|
}>>;
|
|
897
938
|
export declare const StyledSnippetPre: import("@stitches/react/types/styled-component").StyledComponent<"pre", {
|
|
@@ -1030,18 +1071,23 @@ export declare const StyledSnippetPre: import("@stitches/react/types/styled-comp
|
|
|
1030
1071
|
primaryLight: string;
|
|
1031
1072
|
primary: string;
|
|
1032
1073
|
primaryDark: string;
|
|
1074
|
+
primaryShadow: string;
|
|
1033
1075
|
secondaryLight: string;
|
|
1034
1076
|
secondary: string;
|
|
1035
1077
|
secondaryDark: string;
|
|
1078
|
+
secondaryShadow: string;
|
|
1036
1079
|
successLight: string;
|
|
1037
1080
|
success: string;
|
|
1038
1081
|
successDark: string;
|
|
1082
|
+
successShadow: string;
|
|
1039
1083
|
warningLight: string;
|
|
1040
1084
|
warning: string;
|
|
1041
1085
|
warningDark: string;
|
|
1086
|
+
warningShadow: string;
|
|
1042
1087
|
errorLight: string;
|
|
1043
1088
|
error: string;
|
|
1044
1089
|
errorDark: string;
|
|
1090
|
+
errorShadow: string;
|
|
1045
1091
|
gradient: string;
|
|
1046
1092
|
link: string;
|
|
1047
1093
|
};
|
|
@@ -1732,6 +1778,22 @@ export declare const StyledSnippetPre: import("@stitches/react/types/styled-comp
|
|
|
1732
1778
|
readonly [$$PropertyValue]: "width";
|
|
1733
1779
|
};
|
|
1734
1780
|
};
|
|
1781
|
+
minSize: (value: {
|
|
1782
|
+
readonly [$$PropertyValue]: "width";
|
|
1783
|
+
}) => {
|
|
1784
|
+
minWidth: {
|
|
1785
|
+
readonly [$$PropertyValue]: "width";
|
|
1786
|
+
};
|
|
1787
|
+
minHeight: {
|
|
1788
|
+
readonly [$$PropertyValue]: "width";
|
|
1789
|
+
};
|
|
1790
|
+
width: {
|
|
1791
|
+
readonly [$$PropertyValue]: "width";
|
|
1792
|
+
};
|
|
1793
|
+
height: {
|
|
1794
|
+
readonly [$$PropertyValue]: "width";
|
|
1795
|
+
};
|
|
1796
|
+
};
|
|
1735
1797
|
sizeMin: (value: {
|
|
1736
1798
|
readonly [$$PropertyValue]: "width";
|
|
1737
1799
|
}) => {
|
|
@@ -1748,6 +1810,16 @@ export declare const StyledSnippetPre: import("@stitches/react/types/styled-comp
|
|
|
1748
1810
|
readonly [$$PropertyValue]: "width";
|
|
1749
1811
|
};
|
|
1750
1812
|
};
|
|
1813
|
+
maxSize: (value: {
|
|
1814
|
+
readonly [$$PropertyValue]: "width";
|
|
1815
|
+
}) => {
|
|
1816
|
+
maxWidth: {
|
|
1817
|
+
readonly [$$PropertyValue]: "width";
|
|
1818
|
+
};
|
|
1819
|
+
maxHeight: {
|
|
1820
|
+
readonly [$$PropertyValue]: "width";
|
|
1821
|
+
};
|
|
1822
|
+
};
|
|
1751
1823
|
sizeMax: (value: {
|
|
1752
1824
|
readonly [$$PropertyValue]: "width";
|
|
1753
1825
|
}) => {
|
|
@@ -1778,12 +1850,22 @@ export declare const StyledSnippetPre: import("@stitches/react/types/styled-comp
|
|
|
1778
1850
|
}) => {
|
|
1779
1851
|
backgroundImage: string;
|
|
1780
1852
|
};
|
|
1853
|
+
tdl: (value: {
|
|
1854
|
+
readonly [$$PropertyValue]: "textDecorationLine";
|
|
1855
|
+
}) => {
|
|
1856
|
+
textDecorationLine: {
|
|
1857
|
+
readonly [$$PropertyValue]: "textDecorationLine";
|
|
1858
|
+
};
|
|
1859
|
+
};
|
|
1781
1860
|
textGradient: (value: {
|
|
1782
1861
|
readonly [$$PropertyValue]: "backgroundImage";
|
|
1783
1862
|
}) => {
|
|
1784
1863
|
backgroundImage: string;
|
|
1785
1864
|
WebkitBackgroundClip: string;
|
|
1786
1865
|
WebkitTextFillColor: string;
|
|
1866
|
+
'&::selection': {
|
|
1867
|
+
WebkitTextFillColor: string;
|
|
1868
|
+
};
|
|
1787
1869
|
};
|
|
1788
1870
|
}>>;
|
|
1789
1871
|
export declare const StyledSnippetCopyButtonIcon: import("@stitches/react/types/styled-component").StyledComponent<"svg", {}, {
|
|
@@ -1920,18 +2002,23 @@ export declare const StyledSnippetCopyButtonIcon: import("@stitches/react/types/
|
|
|
1920
2002
|
primaryLight: string;
|
|
1921
2003
|
primary: string;
|
|
1922
2004
|
primaryDark: string;
|
|
2005
|
+
primaryShadow: string;
|
|
1923
2006
|
secondaryLight: string;
|
|
1924
2007
|
secondary: string;
|
|
1925
2008
|
secondaryDark: string;
|
|
2009
|
+
secondaryShadow: string;
|
|
1926
2010
|
successLight: string;
|
|
1927
2011
|
success: string;
|
|
1928
2012
|
successDark: string;
|
|
2013
|
+
successShadow: string;
|
|
1929
2014
|
warningLight: string;
|
|
1930
2015
|
warning: string;
|
|
1931
2016
|
warningDark: string;
|
|
2017
|
+
warningShadow: string;
|
|
1932
2018
|
errorLight: string;
|
|
1933
2019
|
error: string;
|
|
1934
2020
|
errorDark: string;
|
|
2021
|
+
errorShadow: string;
|
|
1935
2022
|
gradient: string;
|
|
1936
2023
|
link: string;
|
|
1937
2024
|
};
|
|
@@ -2622,6 +2709,22 @@ export declare const StyledSnippetCopyButtonIcon: import("@stitches/react/types/
|
|
|
2622
2709
|
readonly [$$PropertyValue]: "width";
|
|
2623
2710
|
};
|
|
2624
2711
|
};
|
|
2712
|
+
minSize: (value: {
|
|
2713
|
+
readonly [$$PropertyValue]: "width";
|
|
2714
|
+
}) => {
|
|
2715
|
+
minWidth: {
|
|
2716
|
+
readonly [$$PropertyValue]: "width";
|
|
2717
|
+
};
|
|
2718
|
+
minHeight: {
|
|
2719
|
+
readonly [$$PropertyValue]: "width";
|
|
2720
|
+
};
|
|
2721
|
+
width: {
|
|
2722
|
+
readonly [$$PropertyValue]: "width";
|
|
2723
|
+
};
|
|
2724
|
+
height: {
|
|
2725
|
+
readonly [$$PropertyValue]: "width";
|
|
2726
|
+
};
|
|
2727
|
+
};
|
|
2625
2728
|
sizeMin: (value: {
|
|
2626
2729
|
readonly [$$PropertyValue]: "width";
|
|
2627
2730
|
}) => {
|
|
@@ -2638,6 +2741,16 @@ export declare const StyledSnippetCopyButtonIcon: import("@stitches/react/types/
|
|
|
2638
2741
|
readonly [$$PropertyValue]: "width";
|
|
2639
2742
|
};
|
|
2640
2743
|
};
|
|
2744
|
+
maxSize: (value: {
|
|
2745
|
+
readonly [$$PropertyValue]: "width";
|
|
2746
|
+
}) => {
|
|
2747
|
+
maxWidth: {
|
|
2748
|
+
readonly [$$PropertyValue]: "width";
|
|
2749
|
+
};
|
|
2750
|
+
maxHeight: {
|
|
2751
|
+
readonly [$$PropertyValue]: "width";
|
|
2752
|
+
};
|
|
2753
|
+
};
|
|
2641
2754
|
sizeMax: (value: {
|
|
2642
2755
|
readonly [$$PropertyValue]: "width";
|
|
2643
2756
|
}) => {
|
|
@@ -2668,12 +2781,22 @@ export declare const StyledSnippetCopyButtonIcon: import("@stitches/react/types/
|
|
|
2668
2781
|
}) => {
|
|
2669
2782
|
backgroundImage: string;
|
|
2670
2783
|
};
|
|
2784
|
+
tdl: (value: {
|
|
2785
|
+
readonly [$$PropertyValue]: "textDecorationLine";
|
|
2786
|
+
}) => {
|
|
2787
|
+
textDecorationLine: {
|
|
2788
|
+
readonly [$$PropertyValue]: "textDecorationLine";
|
|
2789
|
+
};
|
|
2790
|
+
};
|
|
2671
2791
|
textGradient: (value: {
|
|
2672
2792
|
readonly [$$PropertyValue]: "backgroundImage";
|
|
2673
2793
|
}) => {
|
|
2674
2794
|
backgroundImage: string;
|
|
2675
2795
|
WebkitBackgroundClip: string;
|
|
2676
2796
|
WebkitTextFillColor: string;
|
|
2797
|
+
'&::selection': {
|
|
2798
|
+
WebkitTextFillColor: string;
|
|
2799
|
+
};
|
|
2677
2800
|
};
|
|
2678
2801
|
}>>;
|
|
2679
2802
|
export declare const StyledSnippetCopyButton: import("@stitches/react/types/styled-component").StyledComponent<"button", {}, {
|
|
@@ -2810,18 +2933,23 @@ export declare const StyledSnippetCopyButton: import("@stitches/react/types/styl
|
|
|
2810
2933
|
primaryLight: string;
|
|
2811
2934
|
primary: string;
|
|
2812
2935
|
primaryDark: string;
|
|
2936
|
+
primaryShadow: string;
|
|
2813
2937
|
secondaryLight: string;
|
|
2814
2938
|
secondary: string;
|
|
2815
2939
|
secondaryDark: string;
|
|
2940
|
+
secondaryShadow: string;
|
|
2816
2941
|
successLight: string;
|
|
2817
2942
|
success: string;
|
|
2818
2943
|
successDark: string;
|
|
2944
|
+
successShadow: string;
|
|
2819
2945
|
warningLight: string;
|
|
2820
2946
|
warning: string;
|
|
2821
2947
|
warningDark: string;
|
|
2948
|
+
warningShadow: string;
|
|
2822
2949
|
errorLight: string;
|
|
2823
2950
|
error: string;
|
|
2824
2951
|
errorDark: string;
|
|
2952
|
+
errorShadow: string;
|
|
2825
2953
|
gradient: string;
|
|
2826
2954
|
link: string;
|
|
2827
2955
|
};
|
|
@@ -3512,6 +3640,22 @@ export declare const StyledSnippetCopyButton: import("@stitches/react/types/styl
|
|
|
3512
3640
|
readonly [$$PropertyValue]: "width";
|
|
3513
3641
|
};
|
|
3514
3642
|
};
|
|
3643
|
+
minSize: (value: {
|
|
3644
|
+
readonly [$$PropertyValue]: "width";
|
|
3645
|
+
}) => {
|
|
3646
|
+
minWidth: {
|
|
3647
|
+
readonly [$$PropertyValue]: "width";
|
|
3648
|
+
};
|
|
3649
|
+
minHeight: {
|
|
3650
|
+
readonly [$$PropertyValue]: "width";
|
|
3651
|
+
};
|
|
3652
|
+
width: {
|
|
3653
|
+
readonly [$$PropertyValue]: "width";
|
|
3654
|
+
};
|
|
3655
|
+
height: {
|
|
3656
|
+
readonly [$$PropertyValue]: "width";
|
|
3657
|
+
};
|
|
3658
|
+
};
|
|
3515
3659
|
sizeMin: (value: {
|
|
3516
3660
|
readonly [$$PropertyValue]: "width";
|
|
3517
3661
|
}) => {
|
|
@@ -3528,6 +3672,16 @@ export declare const StyledSnippetCopyButton: import("@stitches/react/types/styl
|
|
|
3528
3672
|
readonly [$$PropertyValue]: "width";
|
|
3529
3673
|
};
|
|
3530
3674
|
};
|
|
3675
|
+
maxSize: (value: {
|
|
3676
|
+
readonly [$$PropertyValue]: "width";
|
|
3677
|
+
}) => {
|
|
3678
|
+
maxWidth: {
|
|
3679
|
+
readonly [$$PropertyValue]: "width";
|
|
3680
|
+
};
|
|
3681
|
+
maxHeight: {
|
|
3682
|
+
readonly [$$PropertyValue]: "width";
|
|
3683
|
+
};
|
|
3684
|
+
};
|
|
3531
3685
|
sizeMax: (value: {
|
|
3532
3686
|
readonly [$$PropertyValue]: "width";
|
|
3533
3687
|
}) => {
|
|
@@ -3558,12 +3712,22 @@ export declare const StyledSnippetCopyButton: import("@stitches/react/types/styl
|
|
|
3558
3712
|
}) => {
|
|
3559
3713
|
backgroundImage: string;
|
|
3560
3714
|
};
|
|
3715
|
+
tdl: (value: {
|
|
3716
|
+
readonly [$$PropertyValue]: "textDecorationLine";
|
|
3717
|
+
}) => {
|
|
3718
|
+
textDecorationLine: {
|
|
3719
|
+
readonly [$$PropertyValue]: "textDecorationLine";
|
|
3720
|
+
};
|
|
3721
|
+
};
|
|
3561
3722
|
textGradient: (value: {
|
|
3562
3723
|
readonly [$$PropertyValue]: "backgroundImage";
|
|
3563
3724
|
}) => {
|
|
3564
3725
|
backgroundImage: string;
|
|
3565
3726
|
WebkitBackgroundClip: string;
|
|
3566
3727
|
WebkitTextFillColor: string;
|
|
3728
|
+
'&::selection': {
|
|
3729
|
+
WebkitTextFillColor: string;
|
|
3730
|
+
};
|
|
3567
3731
|
};
|
|
3568
3732
|
}>>;
|
|
3569
3733
|
export declare type SnippetVariantsProps = VariantProps<typeof StyledSnippet>;
|
|
File without changes
|
|
File without changes
|
|
@@ -135,18 +135,23 @@ export declare const StyledSpacer: import("@stitches/react/types/styled-componen
|
|
|
135
135
|
primaryLight: string;
|
|
136
136
|
primary: string;
|
|
137
137
|
primaryDark: string;
|
|
138
|
+
primaryShadow: string;
|
|
138
139
|
secondaryLight: string;
|
|
139
140
|
secondary: string;
|
|
140
141
|
secondaryDark: string;
|
|
142
|
+
secondaryShadow: string;
|
|
141
143
|
successLight: string;
|
|
142
144
|
success: string;
|
|
143
145
|
successDark: string;
|
|
146
|
+
successShadow: string;
|
|
144
147
|
warningLight: string;
|
|
145
148
|
warning: string;
|
|
146
149
|
warningDark: string;
|
|
150
|
+
warningShadow: string;
|
|
147
151
|
errorLight: string;
|
|
148
152
|
error: string;
|
|
149
153
|
errorDark: string;
|
|
154
|
+
errorShadow: string;
|
|
150
155
|
gradient: string;
|
|
151
156
|
link: string;
|
|
152
157
|
};
|
|
@@ -837,6 +842,22 @@ export declare const StyledSpacer: import("@stitches/react/types/styled-componen
|
|
|
837
842
|
readonly [$$PropertyValue]: "width";
|
|
838
843
|
};
|
|
839
844
|
};
|
|
845
|
+
minSize: (value: {
|
|
846
|
+
readonly [$$PropertyValue]: "width";
|
|
847
|
+
}) => {
|
|
848
|
+
minWidth: {
|
|
849
|
+
readonly [$$PropertyValue]: "width";
|
|
850
|
+
};
|
|
851
|
+
minHeight: {
|
|
852
|
+
readonly [$$PropertyValue]: "width";
|
|
853
|
+
};
|
|
854
|
+
width: {
|
|
855
|
+
readonly [$$PropertyValue]: "width";
|
|
856
|
+
};
|
|
857
|
+
height: {
|
|
858
|
+
readonly [$$PropertyValue]: "width";
|
|
859
|
+
};
|
|
860
|
+
};
|
|
840
861
|
sizeMin: (value: {
|
|
841
862
|
readonly [$$PropertyValue]: "width";
|
|
842
863
|
}) => {
|
|
@@ -853,6 +874,16 @@ export declare const StyledSpacer: import("@stitches/react/types/styled-componen
|
|
|
853
874
|
readonly [$$PropertyValue]: "width";
|
|
854
875
|
};
|
|
855
876
|
};
|
|
877
|
+
maxSize: (value: {
|
|
878
|
+
readonly [$$PropertyValue]: "width";
|
|
879
|
+
}) => {
|
|
880
|
+
maxWidth: {
|
|
881
|
+
readonly [$$PropertyValue]: "width";
|
|
882
|
+
};
|
|
883
|
+
maxHeight: {
|
|
884
|
+
readonly [$$PropertyValue]: "width";
|
|
885
|
+
};
|
|
886
|
+
};
|
|
856
887
|
sizeMax: (value: {
|
|
857
888
|
readonly [$$PropertyValue]: "width";
|
|
858
889
|
}) => {
|
|
@@ -883,12 +914,22 @@ export declare const StyledSpacer: import("@stitches/react/types/styled-componen
|
|
|
883
914
|
}) => {
|
|
884
915
|
backgroundImage: string;
|
|
885
916
|
};
|
|
917
|
+
tdl: (value: {
|
|
918
|
+
readonly [$$PropertyValue]: "textDecorationLine";
|
|
919
|
+
}) => {
|
|
920
|
+
textDecorationLine: {
|
|
921
|
+
readonly [$$PropertyValue]: "textDecorationLine";
|
|
922
|
+
};
|
|
923
|
+
};
|
|
886
924
|
textGradient: (value: {
|
|
887
925
|
readonly [$$PropertyValue]: "backgroundImage";
|
|
888
926
|
}) => {
|
|
889
927
|
backgroundImage: string;
|
|
890
928
|
WebkitBackgroundClip: string;
|
|
891
929
|
WebkitTextFillColor: string;
|
|
930
|
+
'&::selection': {
|
|
931
|
+
WebkitTextFillColor: string;
|
|
932
|
+
};
|
|
892
933
|
};
|
|
893
934
|
}>>;
|
|
894
935
|
export declare type SpacerVariantsProps = VariantProps<typeof StyledSpacer>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Switch from './switch';
|
|
2
|
-
export type { SwitchProps } from './switch';
|
|
2
|
+
export type { SwitchProps, SwitchEvent } from './switch';
|
|
3
3
|
export { StyledSwitchContainer, StyledSwitchInput, StyledSwitchCircle, StyledSwitch } from './switch.styles';
|
|
4
4
|
export type { SwitchVariantsProps, SwitchContainerVariantsProps } from './switch.styles';
|
|
5
5
|
export default Switch;
|
|
File without changes
|