@nextui-org/react 1.0.2-beta.3 → 1.0.2-beta.5-dbg2
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/table/base/index.js +1 -0
- package/cjs/table/base/table-body.js +1 -0
- package/cjs/table/base/table-cell.js +1 -0
- package/cjs/table/base/table-column.js +1 -0
- package/cjs/table/base/table-header.js +1 -0
- package/cjs/table/base/table-row.js +1 -0
- package/cjs/table/index.js +1 -0
- package/cjs/table/table-body.js +1 -0
- package/cjs/table/table-cell.js +1 -0
- package/cjs/table/table-checkbox-cell.js +1 -0
- package/cjs/table/table-column-header.js +1 -0
- package/cjs/table/table-context.js +1 -0
- package/cjs/table/table-footer.js +1 -0
- package/cjs/table/table-header-row.js +1 -0
- package/cjs/table/table-pagination.js +1 -0
- package/cjs/table/table-row-group.js +1 -0
- package/cjs/table/table-row.js +1 -0
- package/cjs/table/table-select-all-checkbox.js +1 -0
- package/cjs/table/table-sort-icon.js +1 -0
- package/cjs/table/table.js +1 -0
- package/cjs/table/table.styles.js +1 -0
- package/cjs/table/utils.js +1 -0
- 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/table/base/index.js +1 -0
- package/esm/table/base/table-body.js +1 -0
- package/esm/table/base/table-cell.js +1 -0
- package/esm/table/base/table-column.js +1 -0
- package/esm/table/base/table-header.js +1 -0
- package/esm/table/base/table-row.js +1 -0
- package/esm/table/index.js +1 -0
- package/esm/table/table-body.js +1 -0
- package/esm/table/table-cell.js +1 -0
- package/esm/table/table-checkbox-cell.js +1 -0
- package/esm/table/table-column-header.js +1 -0
- package/esm/table/table-context.js +1 -0
- package/esm/table/table-footer.js +1 -0
- package/esm/table/table-header-row.js +1 -0
- package/esm/table/table-pagination.js +1 -0
- package/esm/table/table-row-group.js +1 -0
- package/esm/table/table-row.js +1 -0
- package/esm/table/table-select-all-checkbox.js +1 -0
- package/esm/table/table-sort-icon.js +1 -0
- package/esm/table/table.js +1 -0
- package/esm/table/table.styles.js +1 -0
- package/esm/table/utils.js +1 -0
- 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 +17 -3
- package/table/package.json +6 -0
- 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 +1 -1
- package/{cjs → types}/backdrop/backdrop.styles.d.ts +25 -1
- 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 +9 -1
- 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 -930
- 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 +35 -3
- 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 +3 -3
- package/{esm/input/input.styles.d.ts → types/checkbox/checkbox.styles.d.ts} +181 -986
- package/{cjs → types}/checkbox/index.d.ts +1 -1
- 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 +42 -2
- 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 +25 -1
- package/{cjs → types}/image/index.d.ts +0 -0
- package/{cjs → types}/index.d.ts +4 -0
- package/{cjs → types}/input/index.d.ts +0 -0
- package/{esm → types}/input/input-password.d.ts +1 -1
- 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 +93 -5
- 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 +49 -1
- 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/{esm → types}/pagination/pagination-highlight.d.ts +2 -1
- 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 +53 -5
- package/{cjs → types}/progress/index.d.ts +0 -0
- package/{esm → types}/progress/progress.d.ts +2 -2
- 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 +51 -3
- 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 +33 -1
- package/{cjs → types}/spacer/index.d.ts +0 -0
- package/{esm → types}/spacer/spacer.d.ts +1 -1
- package/{cjs → types}/spacer/spacer.styles.d.ts +9 -1
- package/{cjs → types}/switch/index.d.ts +0 -0
- package/{esm → types}/switch/switch.d.ts +1 -1
- package/{cjs → types}/switch/switch.styles.d.ts +33 -1
- package/types/table/base/index.d.ts +5 -0
- package/types/table/base/table-body.d.ts +8 -0
- package/types/table/base/table-cell.d.ts +8 -0
- package/types/table/base/table-column.d.ts +8 -0
- package/types/table/base/table-header.d.ts +4 -0
- package/types/table/base/table-row.d.ts +8 -0
- package/types/table/index.d.ts +12 -0
- package/types/table/table-body.d.ts +20 -0
- package/types/table/table-cell-old.d.ts +22 -0
- package/types/table/table-cell.d.ts +20 -0
- package/types/table/table-checkbox-cell.d.ts +23 -0
- package/{esm/utils/drip.d.ts → types/table/table-column-header.d.ts} +79 -30
- package/types/table/table-column.d.ts +17 -0
- package/types/table/table-context.d.ts +29 -0
- package/types/table/table-footer.d.ts +31 -0
- package/types/table/table-header-row.d.ts +19 -0
- package/types/table/table-old.d.ts +49 -0
- package/types/table/table-pagination.d.ts +16 -0
- package/{esm/code/code.d.ts → types/table/table-row-group.d.ts} +4 -5
- package/types/table/table-row.d.ts +20 -0
- package/types/table/table-select-all-checkbox.d.ts +20 -0
- package/{cjs/button/button-icon.d.ts → types/table/table-sort-icon.d.ts} +20 -18
- package/types/table/table-types.d.ts +30 -0
- package/types/table/table.d.ts +28 -0
- package/{cjs/checkbox/checkbox.styles.d.ts → types/table/table.styles.d.ts} +6795 -48
- package/types/table/utils.d.ts +2 -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/types/theme/ssr-provider.d.ts +7 -0
- package/{cjs → types}/theme/stitches.config.d.ts +1022 -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/{esm → types}/tooltip/tooltip.d.ts +1 -1
- package/{esm → types}/tooltip/tooltip.styles.d.ts +34 -2
- 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/types/use-keyboard/codes.d.ts +92 -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/types/user/index.d.ts +5 -0
- package/types/user/user-link.d.ts +15 -0
- package/{esm → types}/user/user.d.ts +2 -2
- package/{cjs → types}/user/user.styles.d.ts +41 -7
- 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 +2 -1
- 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 +4 -0
- package/{esm → types}/utils/prop-types.d.ts +7 -0
- package/{cjs → types}/utils/with-defaults.d.ts +0 -0
- package/umd/nextui.js +30819 -10604
- package/umd/nextui.min.js +1 -1
- package/umd/nextui.min.js.LICENSE.txt +15 -0
- package/cjs/avatar/avatar.styles.d.ts +0 -937
- 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/input/input-password.d.ts +0 -98
- package/cjs/loading/loading.styles.d.ts +0 -5554
- package/cjs/pagination/pagination-highlight.d.ts +0 -14
- 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/spacer/spacer.d.ts +0 -41
- package/cjs/switch/switch.d.ts +0 -82
- package/cjs/tooltip/tooltip.d.ts +0 -59
- package/cjs/tooltip/tooltip.styles.d.ts +0 -3703
- package/cjs/use-keyboard/codes.d.ts +0 -92
- package/cjs/user/index.d.ts +0 -6
- package/cjs/user/user-link.d.ts +0 -32
- package/cjs/user/user.d.ts +0 -35
- package/cjs/utils/prop-types.d.ts +0 -54
- 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/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-props.d.ts +0 -66
- package/esm/input/input.d.ts +0 -18
- 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-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.styles.d.ts +0 -927
- package/esm/switch/index.d.ts +0 -5
- 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/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.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/expand.d.ts +0 -20
- package/esm/utils/numbers.d.ts +0 -9
- package/esm/utils/object.d.ts +0 -11
- package/esm/utils/with-defaults.d.ts +0 -3
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -55,5 +55,5 @@ declare const _default: React.ComponentType<Partial<{
|
|
|
55
55
|
className: string;
|
|
56
56
|
portalClassName: string;
|
|
57
57
|
onVisibleChange: TooltipOnVisibleChange;
|
|
58
|
-
}> & Omit<React.PropsWithChildren<TooltipProps>, "rounded" | "
|
|
58
|
+
}> & Omit<React.PropsWithChildren<TooltipProps>, "rounded" | "animated" | "className" | "shadow" | "hideArrow" | "initialVisible" | "trigger" | "enterDelay" | "leaveDelay" | "keepMounted" | "portalClassName" | "onVisibleChange">>;
|
|
59
59
|
export default _default;
|
|
@@ -133,18 +133,23 @@ export declare const StyledTooltipTrigger: 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 StyledTooltipTrigger: 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 StyledTooltipArrow: import("@stitches/react/types/styled-component").StyledComponent<"span", {}, {
|
|
@@ -1056,18 +1064,23 @@ export declare const StyledTooltipArrow: import("@stitches/react/types/styled-co
|
|
|
1056
1064
|
primaryLight: string;
|
|
1057
1065
|
primary: string;
|
|
1058
1066
|
primaryDark: string;
|
|
1067
|
+
primaryShadow: string;
|
|
1059
1068
|
secondaryLight: string;
|
|
1060
1069
|
secondary: string;
|
|
1061
1070
|
secondaryDark: string;
|
|
1071
|
+
secondaryShadow: string;
|
|
1062
1072
|
successLight: string;
|
|
1063
1073
|
success: string;
|
|
1064
1074
|
successDark: string;
|
|
1075
|
+
successShadow: string;
|
|
1065
1076
|
warningLight: string;
|
|
1066
1077
|
warning: string;
|
|
1067
1078
|
warningDark: string;
|
|
1079
|
+
warningShadow: string;
|
|
1068
1080
|
errorLight: string;
|
|
1069
1081
|
error: string;
|
|
1070
1082
|
errorDark: string;
|
|
1083
|
+
errorShadow: string;
|
|
1071
1084
|
gradient: string;
|
|
1072
1085
|
link: string;
|
|
1073
1086
|
};
|
|
@@ -1843,6 +1856,9 @@ export declare const StyledTooltipArrow: import("@stitches/react/types/styled-co
|
|
|
1843
1856
|
backgroundImage: string;
|
|
1844
1857
|
WebkitBackgroundClip: string;
|
|
1845
1858
|
WebkitTextFillColor: string;
|
|
1859
|
+
'&::selection': {
|
|
1860
|
+
WebkitTextFillColor: string;
|
|
1861
|
+
};
|
|
1846
1862
|
};
|
|
1847
1863
|
}>>;
|
|
1848
1864
|
export declare const StyledTooltip: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
@@ -1981,18 +1997,23 @@ export declare const StyledTooltip: import("@stitches/react/types/styled-compone
|
|
|
1981
1997
|
primaryLight: string;
|
|
1982
1998
|
primary: string;
|
|
1983
1999
|
primaryDark: string;
|
|
2000
|
+
primaryShadow: string;
|
|
1984
2001
|
secondaryLight: string;
|
|
1985
2002
|
secondary: string;
|
|
1986
2003
|
secondaryDark: string;
|
|
2004
|
+
secondaryShadow: string;
|
|
1987
2005
|
successLight: string;
|
|
1988
2006
|
success: string;
|
|
1989
2007
|
successDark: string;
|
|
2008
|
+
successShadow: string;
|
|
1990
2009
|
warningLight: string;
|
|
1991
2010
|
warning: string;
|
|
1992
2011
|
warningDark: string;
|
|
2012
|
+
warningShadow: string;
|
|
1993
2013
|
errorLight: string;
|
|
1994
2014
|
error: string;
|
|
1995
2015
|
errorDark: string;
|
|
2016
|
+
errorShadow: string;
|
|
1996
2017
|
gradient: string;
|
|
1997
2018
|
link: string;
|
|
1998
2019
|
};
|
|
@@ -2768,14 +2789,17 @@ export declare const StyledTooltip: import("@stitches/react/types/styled-compone
|
|
|
2768
2789
|
backgroundImage: string;
|
|
2769
2790
|
WebkitBackgroundClip: string;
|
|
2770
2791
|
WebkitTextFillColor: string;
|
|
2792
|
+
'&::selection': {
|
|
2793
|
+
WebkitTextFillColor: string;
|
|
2794
|
+
};
|
|
2771
2795
|
};
|
|
2772
2796
|
}>>;
|
|
2773
2797
|
export declare const StyledTooltipContent: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
2774
2798
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "error" | "invert" | undefined;
|
|
2775
|
-
contentColor?: "default" | "primary" | "secondary" | "success" | "warning" | "error" | undefined;
|
|
2799
|
+
contentColor?: "default" | "primary" | "secondary" | "success" | "warning" | "error" | "invert" | undefined;
|
|
2776
2800
|
rounded?: boolean | "true" | undefined;
|
|
2777
2801
|
shadow?: boolean | "true" | undefined;
|
|
2778
|
-
animated?: boolean | "
|
|
2802
|
+
animated?: boolean | "false" | "true" | undefined;
|
|
2779
2803
|
}, {
|
|
2780
2804
|
xs: string;
|
|
2781
2805
|
sm: string;
|
|
@@ -2910,18 +2934,23 @@ export declare const StyledTooltipContent: import("@stitches/react/types/styled-
|
|
|
2910
2934
|
primaryLight: string;
|
|
2911
2935
|
primary: string;
|
|
2912
2936
|
primaryDark: string;
|
|
2937
|
+
primaryShadow: string;
|
|
2913
2938
|
secondaryLight: string;
|
|
2914
2939
|
secondary: string;
|
|
2915
2940
|
secondaryDark: string;
|
|
2941
|
+
secondaryShadow: string;
|
|
2916
2942
|
successLight: string;
|
|
2917
2943
|
success: string;
|
|
2918
2944
|
successDark: string;
|
|
2945
|
+
successShadow: string;
|
|
2919
2946
|
warningLight: string;
|
|
2920
2947
|
warning: string;
|
|
2921
2948
|
warningDark: string;
|
|
2949
|
+
warningShadow: string;
|
|
2922
2950
|
errorLight: string;
|
|
2923
2951
|
error: string;
|
|
2924
2952
|
errorDark: string;
|
|
2953
|
+
errorShadow: string;
|
|
2925
2954
|
gradient: string;
|
|
2926
2955
|
link: string;
|
|
2927
2956
|
};
|
|
@@ -3697,6 +3726,9 @@ export declare const StyledTooltipContent: import("@stitches/react/types/styled-
|
|
|
3697
3726
|
backgroundImage: string;
|
|
3698
3727
|
WebkitBackgroundClip: string;
|
|
3699
3728
|
WebkitTextFillColor: string;
|
|
3729
|
+
'&::selection': {
|
|
3730
|
+
WebkitTextFillColor: string;
|
|
3731
|
+
};
|
|
3700
3732
|
};
|
|
3701
3733
|
}>>;
|
|
3702
3734
|
export declare type TooltipTriggerVariantsProps = VariantProps<typeof StyledTooltipTrigger>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* KeyBinding Codes
|
|
3
|
+
* The content of this file is based on the design of the open source project "microsoft/vscode",
|
|
4
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5
|
+
*
|
|
6
|
+
* We inherit the KeyMod values from "microsoft/vscode",
|
|
7
|
+
* but use the Browser's KeyboardEvent event implementation, and all values are used only as identification.
|
|
8
|
+
*/
|
|
9
|
+
export declare const KeyCode: {
|
|
10
|
+
Unknown: number;
|
|
11
|
+
Backspace: number;
|
|
12
|
+
Tab: number;
|
|
13
|
+
Enter: number;
|
|
14
|
+
Shift: number;
|
|
15
|
+
Ctrl: number;
|
|
16
|
+
Alt: number;
|
|
17
|
+
PauseBreak: number;
|
|
18
|
+
CapsLock: number;
|
|
19
|
+
Escape: number;
|
|
20
|
+
Space: number;
|
|
21
|
+
PageUp: number;
|
|
22
|
+
PageDown: number;
|
|
23
|
+
End: number;
|
|
24
|
+
Home: number;
|
|
25
|
+
LeftArrow: number;
|
|
26
|
+
UpArrow: number;
|
|
27
|
+
RightArrow: number;
|
|
28
|
+
DownArrow: number;
|
|
29
|
+
Insert: number;
|
|
30
|
+
Delete: number;
|
|
31
|
+
KEY_0: number;
|
|
32
|
+
KEY_1: number;
|
|
33
|
+
KEY_2: number;
|
|
34
|
+
KEY_3: number;
|
|
35
|
+
KEY_4: number;
|
|
36
|
+
KEY_5: number;
|
|
37
|
+
KEY_6: number;
|
|
38
|
+
KEY_7: number;
|
|
39
|
+
KEY_8: number;
|
|
40
|
+
KEY_9: number;
|
|
41
|
+
KEY_A: number;
|
|
42
|
+
KEY_B: number;
|
|
43
|
+
KEY_C: number;
|
|
44
|
+
KEY_D: number;
|
|
45
|
+
KEY_E: number;
|
|
46
|
+
KEY_F: number;
|
|
47
|
+
KEY_G: number;
|
|
48
|
+
KEY_H: number;
|
|
49
|
+
KEY_I: number;
|
|
50
|
+
KEY_J: number;
|
|
51
|
+
KEY_K: number;
|
|
52
|
+
KEY_L: number;
|
|
53
|
+
KEY_M: number;
|
|
54
|
+
KEY_N: number;
|
|
55
|
+
KEY_O: number;
|
|
56
|
+
KEY_P: number;
|
|
57
|
+
KEY_Q: number;
|
|
58
|
+
KEY_R: number;
|
|
59
|
+
KEY_S: number;
|
|
60
|
+
KEY_T: number;
|
|
61
|
+
KEY_U: number;
|
|
62
|
+
KEY_V: number;
|
|
63
|
+
KEY_W: number;
|
|
64
|
+
KEY_X: number;
|
|
65
|
+
KEY_Y: number;
|
|
66
|
+
KEY_Z: number;
|
|
67
|
+
Meta: number;
|
|
68
|
+
F1: number;
|
|
69
|
+
F2: number;
|
|
70
|
+
F3: number;
|
|
71
|
+
F4: number;
|
|
72
|
+
F5: number;
|
|
73
|
+
F6: number;
|
|
74
|
+
F7: number;
|
|
75
|
+
F8: number;
|
|
76
|
+
F9: number;
|
|
77
|
+
F10: number;
|
|
78
|
+
F11: number;
|
|
79
|
+
F12: number;
|
|
80
|
+
NumLock: number;
|
|
81
|
+
ScrollLock: number;
|
|
82
|
+
Equal: number;
|
|
83
|
+
Minus: number;
|
|
84
|
+
Backquote: number;
|
|
85
|
+
Backslash: number;
|
|
86
|
+
};
|
|
87
|
+
export declare const KeyMod: {
|
|
88
|
+
CtrlCmd: number;
|
|
89
|
+
Shift: number;
|
|
90
|
+
Alt: number;
|
|
91
|
+
WinCtrl: number;
|
|
92
|
+
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CSS } from '../theme/stitches.config';
|
|
3
|
+
interface Props {
|
|
4
|
+
href?: string;
|
|
5
|
+
}
|
|
6
|
+
declare type NativeAttrs = Omit<React.AnchorHTMLAttributes<unknown>, keyof Props>;
|
|
7
|
+
export declare type UserLinkProps = Props & NativeAttrs & {
|
|
8
|
+
css?: CSS;
|
|
9
|
+
};
|
|
10
|
+
declare const MemoUserLink: React.MemoExoticComponent<React.ForwardRefExoticComponent<Props & NativeAttrs & {
|
|
11
|
+
css?: CSS | undefined;
|
|
12
|
+
} & {
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
} & React.RefAttributes<HTMLAnchorElement>>>;
|
|
15
|
+
export default MemoUserLink;
|
|
@@ -2,7 +2,6 @@ import React, { ReactNode } from 'react';
|
|
|
2
2
|
import UserLink from './user-link';
|
|
3
3
|
import { NormalColors, NormalSizes } from '../utils/prop-types';
|
|
4
4
|
import { CSS } from '../theme/stitches.config';
|
|
5
|
-
import { UserVariantsProps } from './user.styles';
|
|
6
5
|
interface Props {
|
|
7
6
|
name: ReactNode | string;
|
|
8
7
|
color?: NormalColors;
|
|
@@ -13,6 +12,7 @@ interface Props {
|
|
|
13
12
|
pointer?: boolean;
|
|
14
13
|
altText?: string;
|
|
15
14
|
text?: string;
|
|
15
|
+
description?: string;
|
|
16
16
|
squared?: boolean;
|
|
17
17
|
as?: keyof JSX.IntrinsicElements;
|
|
18
18
|
}
|
|
@@ -22,7 +22,7 @@ declare const defaultProps: {
|
|
|
22
22
|
bordered: boolean;
|
|
23
23
|
};
|
|
24
24
|
declare type NativeAttrs = Omit<React.HTMLAttributes<unknown>, keyof Props>;
|
|
25
|
-
export declare type UserProps = Props & typeof defaultProps & NativeAttrs &
|
|
25
|
+
export declare type UserProps = Props & typeof defaultProps & NativeAttrs & {
|
|
26
26
|
css?: CSS;
|
|
27
27
|
};
|
|
28
28
|
declare type MemoUserComponent<P = {}> = React.NamedExoticComponent<P> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { VariantProps } from '../theme/stitches.config';
|
|
2
1
|
export declare const StyledUser: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
3
2
|
xs: string;
|
|
4
3
|
sm: string;
|
|
@@ -133,18 +132,23 @@ export declare const StyledUser: import("@stitches/react/types/styled-component"
|
|
|
133
132
|
primaryLight: string;
|
|
134
133
|
primary: string;
|
|
135
134
|
primaryDark: string;
|
|
135
|
+
primaryShadow: string;
|
|
136
136
|
secondaryLight: string;
|
|
137
137
|
secondary: string;
|
|
138
138
|
secondaryDark: string;
|
|
139
|
+
secondaryShadow: string;
|
|
139
140
|
successLight: string;
|
|
140
141
|
success: string;
|
|
141
142
|
successDark: string;
|
|
143
|
+
successShadow: string;
|
|
142
144
|
warningLight: string;
|
|
143
145
|
warning: string;
|
|
144
146
|
warningDark: string;
|
|
147
|
+
warningShadow: string;
|
|
145
148
|
errorLight: string;
|
|
146
149
|
error: string;
|
|
147
150
|
errorDark: string;
|
|
151
|
+
errorShadow: string;
|
|
148
152
|
gradient: string;
|
|
149
153
|
link: string;
|
|
150
154
|
};
|
|
@@ -920,6 +924,9 @@ export declare const StyledUser: import("@stitches/react/types/styled-component"
|
|
|
920
924
|
backgroundImage: string;
|
|
921
925
|
WebkitBackgroundClip: string;
|
|
922
926
|
WebkitTextFillColor: string;
|
|
927
|
+
'&::selection': {
|
|
928
|
+
WebkitTextFillColor: string;
|
|
929
|
+
};
|
|
923
930
|
};
|
|
924
931
|
}>>;
|
|
925
932
|
export declare const StyledUserInfo: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
@@ -1056,18 +1063,23 @@ export declare const StyledUserInfo: import("@stitches/react/types/styled-compon
|
|
|
1056
1063
|
primaryLight: string;
|
|
1057
1064
|
primary: string;
|
|
1058
1065
|
primaryDark: string;
|
|
1066
|
+
primaryShadow: string;
|
|
1059
1067
|
secondaryLight: string;
|
|
1060
1068
|
secondary: string;
|
|
1061
1069
|
secondaryDark: string;
|
|
1070
|
+
secondaryShadow: string;
|
|
1062
1071
|
successLight: string;
|
|
1063
1072
|
success: string;
|
|
1064
1073
|
successDark: string;
|
|
1074
|
+
successShadow: string;
|
|
1065
1075
|
warningLight: string;
|
|
1066
1076
|
warning: string;
|
|
1067
1077
|
warningDark: string;
|
|
1078
|
+
warningShadow: string;
|
|
1068
1079
|
errorLight: string;
|
|
1069
1080
|
error: string;
|
|
1070
1081
|
errorDark: string;
|
|
1082
|
+
errorShadow: string;
|
|
1071
1083
|
gradient: string;
|
|
1072
1084
|
link: string;
|
|
1073
1085
|
};
|
|
@@ -1843,6 +1855,9 @@ export declare const StyledUserInfo: import("@stitches/react/types/styled-compon
|
|
|
1843
1855
|
backgroundImage: string;
|
|
1844
1856
|
WebkitBackgroundClip: string;
|
|
1845
1857
|
WebkitTextFillColor: string;
|
|
1858
|
+
'&::selection': {
|
|
1859
|
+
WebkitTextFillColor: string;
|
|
1860
|
+
};
|
|
1846
1861
|
};
|
|
1847
1862
|
}>>;
|
|
1848
1863
|
export declare const StyledUserName: import("@stitches/react/types/styled-component").StyledComponent<"span", {}, {
|
|
@@ -1979,18 +1994,23 @@ export declare const StyledUserName: import("@stitches/react/types/styled-compon
|
|
|
1979
1994
|
primaryLight: string;
|
|
1980
1995
|
primary: string;
|
|
1981
1996
|
primaryDark: string;
|
|
1997
|
+
primaryShadow: string;
|
|
1982
1998
|
secondaryLight: string;
|
|
1983
1999
|
secondary: string;
|
|
1984
2000
|
secondaryDark: string;
|
|
2001
|
+
secondaryShadow: string;
|
|
1985
2002
|
successLight: string;
|
|
1986
2003
|
success: string;
|
|
1987
2004
|
successDark: string;
|
|
2005
|
+
successShadow: string;
|
|
1988
2006
|
warningLight: string;
|
|
1989
2007
|
warning: string;
|
|
1990
2008
|
warningDark: string;
|
|
2009
|
+
warningShadow: string;
|
|
1991
2010
|
errorLight: string;
|
|
1992
2011
|
error: string;
|
|
1993
2012
|
errorDark: string;
|
|
2013
|
+
errorShadow: string;
|
|
1994
2014
|
gradient: string;
|
|
1995
2015
|
link: string;
|
|
1996
2016
|
};
|
|
@@ -2766,9 +2786,12 @@ export declare const StyledUserName: import("@stitches/react/types/styled-compon
|
|
|
2766
2786
|
backgroundImage: string;
|
|
2767
2787
|
WebkitBackgroundClip: string;
|
|
2768
2788
|
WebkitTextFillColor: string;
|
|
2789
|
+
'&::selection': {
|
|
2790
|
+
WebkitTextFillColor: string;
|
|
2791
|
+
};
|
|
2769
2792
|
};
|
|
2770
2793
|
}>>;
|
|
2771
|
-
export declare const
|
|
2794
|
+
export declare const StyledUserDesc: import("@stitches/react/types/styled-component").StyledComponent<"span", {}, {
|
|
2772
2795
|
xs: string;
|
|
2773
2796
|
sm: string;
|
|
2774
2797
|
md: string;
|
|
@@ -2902,18 +2925,23 @@ export declare const StyledUserSocial: import("@stitches/react/types/styled-comp
|
|
|
2902
2925
|
primaryLight: string;
|
|
2903
2926
|
primary: string;
|
|
2904
2927
|
primaryDark: string;
|
|
2928
|
+
primaryShadow: string;
|
|
2905
2929
|
secondaryLight: string;
|
|
2906
2930
|
secondary: string;
|
|
2907
2931
|
secondaryDark: string;
|
|
2932
|
+
secondaryShadow: string;
|
|
2908
2933
|
successLight: string;
|
|
2909
2934
|
success: string;
|
|
2910
2935
|
successDark: string;
|
|
2936
|
+
successShadow: string;
|
|
2911
2937
|
warningLight: string;
|
|
2912
2938
|
warning: string;
|
|
2913
2939
|
warningDark: string;
|
|
2940
|
+
warningShadow: string;
|
|
2914
2941
|
errorLight: string;
|
|
2915
2942
|
error: string;
|
|
2916
2943
|
errorDark: string;
|
|
2944
|
+
errorShadow: string;
|
|
2917
2945
|
gradient: string;
|
|
2918
2946
|
link: string;
|
|
2919
2947
|
};
|
|
@@ -3689,6 +3717,9 @@ export declare const StyledUserSocial: import("@stitches/react/types/styled-comp
|
|
|
3689
3717
|
backgroundImage: string;
|
|
3690
3718
|
WebkitBackgroundClip: string;
|
|
3691
3719
|
WebkitTextFillColor: string;
|
|
3720
|
+
'&::selection': {
|
|
3721
|
+
WebkitTextFillColor: string;
|
|
3722
|
+
};
|
|
3692
3723
|
};
|
|
3693
3724
|
}>>;
|
|
3694
3725
|
export declare const StyledUserLink: import("@stitches/react/types/styled-component").StyledComponent<"a", {}, {
|
|
@@ -3825,18 +3856,23 @@ export declare const StyledUserLink: import("@stitches/react/types/styled-compon
|
|
|
3825
3856
|
primaryLight: string;
|
|
3826
3857
|
primary: string;
|
|
3827
3858
|
primaryDark: string;
|
|
3859
|
+
primaryShadow: string;
|
|
3828
3860
|
secondaryLight: string;
|
|
3829
3861
|
secondary: string;
|
|
3830
3862
|
secondaryDark: string;
|
|
3863
|
+
secondaryShadow: string;
|
|
3831
3864
|
successLight: string;
|
|
3832
3865
|
success: string;
|
|
3833
3866
|
successDark: string;
|
|
3867
|
+
successShadow: string;
|
|
3834
3868
|
warningLight: string;
|
|
3835
3869
|
warning: string;
|
|
3836
3870
|
warningDark: string;
|
|
3871
|
+
warningShadow: string;
|
|
3837
3872
|
errorLight: string;
|
|
3838
3873
|
error: string;
|
|
3839
3874
|
errorDark: string;
|
|
3875
|
+
errorShadow: string;
|
|
3840
3876
|
gradient: string;
|
|
3841
3877
|
link: string;
|
|
3842
3878
|
};
|
|
@@ -4612,10 +4648,8 @@ export declare const StyledUserLink: import("@stitches/react/types/styled-compon
|
|
|
4612
4648
|
backgroundImage: string;
|
|
4613
4649
|
WebkitBackgroundClip: string;
|
|
4614
4650
|
WebkitTextFillColor: string;
|
|
4651
|
+
'&::selection': {
|
|
4652
|
+
WebkitTextFillColor: string;
|
|
4653
|
+
};
|
|
4615
4654
|
};
|
|
4616
4655
|
}>>;
|
|
4617
|
-
export declare type UserVariantsProps = VariantProps<typeof StyledUser>;
|
|
4618
|
-
export declare type UserInfoVariantsProps = VariantProps<typeof StyledUserInfo>;
|
|
4619
|
-
export declare type UserNameVariantsProps = VariantProps<typeof StyledUserName>;
|
|
4620
|
-
export declare type UserSocialVariantsProps = VariantProps<typeof StyledUserSocial>;
|
|
4621
|
-
export declare type UserLinkVariantsProps = VariantProps<typeof StyledUserLink>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -4,7 +4,8 @@ export declare const hasChild: (children: ReactNode | undefined, child: React.El
|
|
|
4
4
|
export declare const pick: <Obj extends {
|
|
5
5
|
[key: string]: any;
|
|
6
6
|
}, Key extends keyof Obj>(props: Key[], obj: Obj) => Pick<Obj, Key>;
|
|
7
|
-
export declare const pickChild: (children: ReactNode | undefined, targetChild: React.ElementType) => [ReactNode |
|
|
7
|
+
export declare const pickChild: <T = React.ReactNode>(children: ReactNode | undefined, targetChild: React.ElementType) => [React.ReactNode | T, React.ReactNode[] | undefined];
|
|
8
|
+
export declare const pickSingleChild: <T = React.ReactNode>(children: ReactNode | undefined, targetChild: React.ElementType) => [T, React.ReactNode];
|
|
8
9
|
export declare const isChildElement: (parent: Element | null | undefined, child: Element | null | undefined) => boolean;
|
|
9
10
|
export declare const isBrowser: () => boolean;
|
|
10
11
|
export declare const isMac: () => boolean;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -148,18 +148,23 @@ export declare const StyledDrip: import("@stitches/react/types/styled-component"
|
|
|
148
148
|
primaryLight: string;
|
|
149
149
|
primary: string;
|
|
150
150
|
primaryDark: string;
|
|
151
|
+
primaryShadow: string;
|
|
151
152
|
secondaryLight: string;
|
|
152
153
|
secondary: string;
|
|
153
154
|
secondaryDark: string;
|
|
155
|
+
secondaryShadow: string;
|
|
154
156
|
successLight: string;
|
|
155
157
|
success: string;
|
|
156
158
|
successDark: string;
|
|
159
|
+
successShadow: string;
|
|
157
160
|
warningLight: string;
|
|
158
161
|
warning: string;
|
|
159
162
|
warningDark: string;
|
|
163
|
+
warningShadow: string;
|
|
160
164
|
errorLight: string;
|
|
161
165
|
error: string;
|
|
162
166
|
errorDark: string;
|
|
167
|
+
errorShadow: string;
|
|
163
168
|
gradient: string;
|
|
164
169
|
link: string;
|
|
165
170
|
};
|
|
@@ -935,6 +940,9 @@ export declare const StyledDrip: import("@stitches/react/types/styled-component"
|
|
|
935
940
|
backgroundImage: string;
|
|
936
941
|
WebkitBackgroundClip: string;
|
|
937
942
|
WebkitTextFillColor: string;
|
|
943
|
+
'&::selection': {
|
|
944
|
+
WebkitTextFillColor: string;
|
|
945
|
+
};
|
|
938
946
|
};
|
|
939
947
|
}>>;
|
|
940
948
|
declare type DripVariants = VariantProps<typeof StyledDrip>;
|
|
File without changes
|
|
File without changes
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Key } from 'react';
|
|
1
2
|
export declare const isObject: (target: unknown) => unknown;
|
|
2
3
|
export interface MergeObject {
|
|
3
4
|
[key: string]: any;
|
|
@@ -9,3 +10,6 @@ export declare const renameProp: (oldProp: string, newProp: string, { [oldProp]:
|
|
|
9
10
|
};
|
|
10
11
|
export declare const copyObject: (obj: any) => any;
|
|
11
12
|
export declare const omitObject: (obj: any, omitKeys: string[]) => any;
|
|
13
|
+
export declare const cleanObject: (obj: any) => any;
|
|
14
|
+
export declare const cleanObjectKeys: (obj: any, keys?: string[]) => any;
|
|
15
|
+
export declare const getKeyValue: (obj: any, key: Key) => any;
|