@nextui-org/react 1.0.1-alpha.7 → 1.0.2-alpha.2
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 +53 -45
- package/avatar/package.json +6 -0
- package/backdrop/package.json +6 -0
- package/button/package.json +6 -0
- package/card/package.json +6 -0
- package/checkbox/package.json +6 -0
- package/cjs/avatar/avatar-group.d.ts +13 -0
- package/cjs/avatar/avatar-group.js +35 -0
- package/cjs/avatar/avatar-group.styles.d.ts +1785 -0
- package/cjs/avatar/avatar-group.styles.js +52 -0
- package/cjs/avatar/avatar.d.ts +21 -0
- package/cjs/avatar/avatar.js +75 -0
- package/cjs/avatar/avatar.styles.d.ts +904 -0
- package/cjs/avatar/avatar.styles.js +334 -0
- package/cjs/avatar/index.d.ts +7 -0
- package/cjs/avatar/index.js +22 -0
- package/cjs/backdrop/backdrop.d.ts +37 -0
- package/cjs/backdrop/backdrop.js +137 -0
- package/cjs/backdrop/backdrop.styles.d.ts +2677 -0
- package/cjs/backdrop/backdrop.styles.js +119 -0
- package/cjs/backdrop/index.d.ts +5 -0
- package/cjs/backdrop/index.js +16 -0
- package/{dist/components → cjs}/button/button-group-context.d.ts +3 -2
- package/cjs/button/button-group-context.js +21 -0
- package/cjs/button/button-group.d.ts +34 -0
- package/cjs/button/button-group.js +81 -0
- package/cjs/button/button-group.styles.d.ts +899 -0
- package/cjs/button/button-group.styles.js +136 -0
- package/cjs/button/button-icon.d.ts +909 -0
- package/cjs/button/button-icon.js +68 -0
- package/cjs/button/button.d.ts +30 -0
- package/cjs/button/button.js +145 -0
- package/cjs/button/button.styles.d.ts +907 -0
- package/cjs/button/button.styles.js +695 -0
- package/cjs/button/index.d.ts +10 -0
- package/cjs/button/index.js +25 -0
- package/{dist/components → cjs}/button/utils.d.ts +2 -2
- package/cjs/button/utils.js +27 -0
- package/cjs/card/card.d.ts +23 -0
- package/cjs/card/card.js +117 -0
- package/cjs/card/card.styles.d.ts +3575 -0
- package/cjs/card/card.styles.js +267 -0
- package/cjs/card/index.d.ts +5 -0
- package/cjs/card/index.js +24 -0
- package/{dist/components → cjs}/checkbox/checkbox-context.d.ts +3 -2
- package/cjs/checkbox/checkbox-context.js +25 -0
- package/cjs/checkbox/checkbox-group.d.ts +29 -0
- package/cjs/checkbox/checkbox-group.js +89 -0
- package/{dist/components → cjs}/checkbox/checkbox.d.ts +21 -10
- package/cjs/checkbox/checkbox.js +192 -0
- package/cjs/checkbox/checkbox.styles.d.ts +8054 -0
- package/cjs/checkbox/checkbox.styles.js +563 -0
- package/cjs/checkbox/index.d.ts +6 -0
- package/cjs/checkbox/index.js +26 -0
- package/cjs/code/code.d.ts +15 -0
- package/cjs/code/code.js +42 -0
- package/cjs/code/code.styles.d.ts +1782 -0
- package/cjs/code/code.styles.js +14 -0
- package/cjs/code/index.d.ts +5 -0
- package/cjs/code/index.js +15 -0
- package/{dist/components → cjs}/col/col.d.ts +5 -7
- package/cjs/col/col.js +46 -0
- package/cjs/col/col.styles.d.ts +893 -0
- package/cjs/col/col.styles.js +16 -0
- package/cjs/col/index.d.ts +5 -0
- package/cjs/col/index.js +14 -0
- package/cjs/collapse/collapse-context.d.ts +9 -0
- package/cjs/collapse/collapse-context.js +20 -0
- package/cjs/collapse/collapse-group.d.ts +18 -0
- package/cjs/collapse/collapse-group.js +90 -0
- package/cjs/collapse/collapse-icon.d.ts +19 -0
- package/cjs/collapse/collapse-icon.js +41 -0
- package/cjs/collapse/collapse.d.ts +41 -0
- package/cjs/collapse/collapse.js +190 -0
- package/cjs/collapse/collapse.styles.d.ts +4472 -0
- package/cjs/collapse/collapse.styles.js +254 -0
- package/cjs/collapse/index.d.ts +6 -0
- package/cjs/collapse/index.js +22 -0
- package/cjs/container/container.d.ts +40 -0
- package/cjs/container/container.js +91 -0
- package/cjs/container/container.styles.d.ts +896 -0
- package/cjs/container/container.styles.js +45 -0
- package/cjs/container/index.d.ts +5 -0
- package/cjs/container/index.js +14 -0
- package/{dist/components → cjs}/css-baseline/css-baseline.d.ts +2 -2
- package/cjs/css-baseline/css-baseline.js +247 -0
- package/{dist/components → cjs}/css-baseline/index.d.ts +0 -0
- package/cjs/css-baseline/index.js +11 -0
- package/cjs/divider/divider.d.ts +22 -0
- package/cjs/divider/divider.js +82 -0
- package/cjs/divider/divider.styles.d.ts +1787 -0
- package/cjs/divider/divider.styles.js +77 -0
- package/cjs/divider/index.d.ts +5 -0
- package/cjs/divider/index.js +15 -0
- package/cjs/grid/grid-container.d.ts +22 -0
- package/cjs/grid/grid-container.js +60 -0
- package/{dist/components/grid/basic-item.d.ts → cjs/grid/grid-item.d.ts} +14 -5
- package/cjs/grid/grid-item.js +123 -0
- package/cjs/grid/grid.d.ts +9 -0
- package/cjs/grid/grid.js +29 -0
- package/cjs/grid/grid.styles.d.ts +1783 -0
- package/cjs/grid/grid.styles.js +15 -0
- package/cjs/grid/index.d.ts +7 -0
- package/cjs/grid/index.js +18 -0
- package/{dist/components → cjs}/image/image.d.ts +17 -15
- package/cjs/image/image.js +150 -0
- package/cjs/image/image.skeleton.d.ts +19 -0
- package/cjs/image/image.skeleton.js +50 -0
- package/cjs/image/image.styles.d.ts +2676 -0
- package/cjs/image/image.styles.js +57 -0
- package/cjs/image/index.d.ts +5 -0
- package/cjs/image/index.js +16 -0
- package/cjs/index.d.ts +79 -0
- package/cjs/index.js +435 -0
- package/cjs/input/index.d.ts +7 -0
- package/cjs/input/index.js +30 -0
- package/cjs/input/input-password.d.ts +98 -0
- package/cjs/input/input-password.js +80 -0
- package/cjs/input/input-props.d.ts +66 -0
- package/cjs/input/input-props.js +30 -0
- package/cjs/input/input.d.ts +18 -0
- package/cjs/input/input.js +317 -0
- package/cjs/input/input.styles.d.ts +9854 -0
- package/cjs/input/input.styles.js +878 -0
- package/cjs/input/password-icon.d.ts +6 -0
- package/cjs/input/password-icon.js +51 -0
- package/{dist/components → cjs}/link/icon.d.ts +0 -0
- package/cjs/link/icon.js +42 -0
- package/cjs/link/index.d.ts +5 -0
- package/cjs/link/index.js +15 -0
- package/cjs/link/link.d.ts +43 -0
- package/cjs/link/link.js +42 -0
- package/cjs/link/link.styles.d.ts +1788 -0
- package/cjs/link/link.styles.js +135 -0
- package/cjs/loading/index.d.ts +7 -0
- package/cjs/loading/index.js +24 -0
- package/{dist/components → cjs}/loading/loading.d.ts +11 -9
- package/cjs/loading/loading.js +80 -0
- package/cjs/loading/loading.styles.d.ts +5356 -0
- package/cjs/loading/loading.styles.js +438 -0
- package/cjs/loading/spinner.d.ts +17 -0
- package/cjs/loading/spinner.js +47 -0
- package/cjs/modal/index.d.ts +8 -0
- package/cjs/modal/index.js +28 -0
- package/cjs/modal/modal-body.d.ts +45 -0
- package/cjs/modal/modal-body.js +62 -0
- package/cjs/modal/modal-close-button.d.ts +13 -0
- package/cjs/modal/modal-close-button.js +49 -0
- package/cjs/modal/modal-context.d.ts +8 -0
- package/cjs/modal/modal-context.js +18 -0
- package/cjs/modal/modal-footer.d.ts +24 -0
- package/cjs/modal/modal-footer.js +69 -0
- package/cjs/modal/modal-header.d.ts +24 -0
- package/cjs/modal/modal-header.js +69 -0
- package/cjs/modal/modal-wrapper.d.ts +24 -0
- package/cjs/modal/modal-wrapper.js +153 -0
- package/cjs/modal/modal.d.ts +42 -0
- package/cjs/modal/modal.js +159 -0
- package/cjs/modal/modal.styles.d.ts +5362 -0
- package/cjs/modal/modal.styles.js +243 -0
- package/cjs/modal/use-modal.d.ts +11 -0
- package/cjs/modal/use-modal.js +25 -0
- package/cjs/pagination/index.d.ts +7 -0
- package/cjs/pagination/index.js +19 -0
- package/cjs/pagination/pagination-ellipsis.d.ts +11 -0
- package/cjs/pagination/pagination-ellipsis.js +86 -0
- package/cjs/pagination/pagination-highlight.d.ts +14 -0
- package/cjs/pagination/pagination-highlight.js +52 -0
- package/cjs/pagination/pagination-icon.d.ts +16 -0
- package/cjs/pagination/pagination-icon.js +59 -0
- package/cjs/pagination/pagination-item.d.ts +22 -0
- package/cjs/pagination/pagination-item.js +104 -0
- package/cjs/pagination/pagination.d.ts +46 -0
- package/cjs/pagination/pagination.js +169 -0
- package/cjs/pagination/pagination.styles.d.ts +5369 -0
- package/cjs/pagination/pagination.styles.js +361 -0
- package/cjs/progress/index.d.ts +5 -0
- package/cjs/progress/index.js +15 -0
- package/cjs/progress/progress.d.ts +65 -0
- package/cjs/progress/progress.js +101 -0
- package/cjs/progress/progress.styles.d.ts +1793 -0
- package/cjs/progress/progress.styles.js +165 -0
- package/cjs/radio/index.d.ts +4 -0
- package/cjs/radio/index.js +24 -0
- package/{dist/components → cjs}/radio/radio-context.d.ts +3 -2
- package/cjs/radio/radio-context.js +24 -0
- package/cjs/radio/radio-group.d.ts +30 -0
- package/cjs/radio/radio-group.js +78 -0
- package/{dist/components → cjs}/radio/radio.d.ts +19 -16
- package/cjs/radio/radio.js +156 -0
- package/cjs/radio/radio.styles.d.ts +5357 -0
- package/cjs/radio/radio.styles.js +240 -0
- package/cjs/row/index.d.ts +5 -0
- package/cjs/row/index.js +14 -0
- package/cjs/row/row.d.ts +21 -0
- package/cjs/row/row.js +54 -0
- package/cjs/row/row.styles.d.ts +895 -0
- package/cjs/row/row.styles.js +25 -0
- package/cjs/snippet/index.d.ts +5 -0
- package/cjs/snippet/index.js +16 -0
- package/{dist/components → cjs}/snippet/snippet-icon.d.ts +5 -2
- package/cjs/snippet/snippet-icon.js +52 -0
- package/cjs/snippet/snippet.d.ts +35 -0
- package/cjs/snippet/snippet.js +137 -0
- package/cjs/snippet/snippet.styles.d.ts +3570 -0
- package/cjs/snippet/snippet.styles.js +141 -0
- package/cjs/spacer/index.d.ts +5 -0
- package/cjs/spacer/index.js +14 -0
- package/cjs/spacer/spacer.d.ts +41 -0
- package/cjs/spacer/spacer.js +49 -0
- package/cjs/spacer/spacer.styles.d.ts +894 -0
- package/cjs/spacer/spacer.styles.js +24 -0
- package/cjs/switch/index.d.ts +5 -0
- package/cjs/switch/index.js +17 -0
- package/cjs/switch/switch.d.ts +82 -0
- package/cjs/switch/switch.js +142 -0
- package/cjs/switch/switch.styles.d.ts +3576 -0
- package/cjs/switch/switch.styles.js +283 -0
- package/cjs/text/child.d.ts +21 -0
- package/cjs/text/child.js +83 -0
- package/cjs/text/index.d.ts +4 -0
- package/cjs/text/index.js +14 -0
- package/{dist/components → cjs}/text/text.d.ts +13 -17
- package/cjs/text/text.js +124 -0
- package/cjs/text/text.styles.d.ts +894 -0
- package/cjs/text/text.styles.js +41 -0
- package/cjs/textarea/index.d.ts +3 -0
- package/cjs/textarea/index.js +12 -0
- package/cjs/textarea/textarea.d.ts +42 -0
- package/cjs/textarea/textarea.js +126 -0
- package/cjs/textarea/utils.d.ts +13 -0
- package/cjs/textarea/utils.js +126 -0
- package/cjs/theme/common.d.ts +1584 -0
- package/cjs/theme/common.js +490 -0
- package/cjs/theme/dark-theme.d.ts +33 -0
- package/cjs/theme/dark-theme.js +38 -0
- package/cjs/theme/index.js +31 -0
- package/cjs/theme/light-theme.d.ts +28 -0
- package/cjs/theme/light-theme.js +33 -0
- package/cjs/theme/ssr-provider.d.ts +7 -0
- package/cjs/theme/ssr-provider.js +51 -0
- package/cjs/theme/stitches.config.d.ts +8700 -0
- package/cjs/theme/stitches.config.js +88 -0
- package/cjs/theme/theme-context.d.ts +5 -0
- package/cjs/theme/theme-context.js +22 -0
- package/cjs/theme/theme-provider.d.ts +14 -0
- package/cjs/theme/theme-provider.js +115 -0
- package/cjs/theme/types.d.ts +75 -0
- package/cjs/theme/types.js +3 -0
- package/cjs/theme/utils.d.ts +16 -0
- package/cjs/theme/utils.js +113 -0
- package/cjs/tooltip/index.d.ts +6 -0
- package/cjs/tooltip/index.js +17 -0
- package/cjs/tooltip/placement.d.ts +39 -0
- package/cjs/tooltip/placement.js +193 -0
- package/cjs/tooltip/tooltip-content.d.ts +27 -0
- package/cjs/tooltip/tooltip-content.js +135 -0
- package/cjs/tooltip/tooltip.d.ts +56 -0
- package/cjs/tooltip/tooltip.js +141 -0
- package/cjs/tooltip/tooltip.styles.d.ts +3571 -0
- package/cjs/tooltip/tooltip.styles.js +159 -0
- package/cjs/use-body-scroll/index.d.ts +3 -0
- package/cjs/use-body-scroll/index.js +12 -0
- package/cjs/use-body-scroll/use-body-scroll.d.ts +9 -0
- package/cjs/use-body-scroll/use-body-scroll.js +77 -0
- package/cjs/use-click-anywhere/index.d.ts +2 -0
- package/cjs/use-click-anywhere/index.js +12 -0
- package/cjs/use-click-anywhere/use-click-anywhere.d.ts +2 -0
- package/cjs/use-click-anywhere/use-click-anywhere.js +19 -0
- package/cjs/use-click-away/index.d.ts +2 -0
- package/cjs/use-click-away/index.js +12 -0
- package/cjs/use-click-away/use-click-away.d.ts +3 -0
- package/cjs/use-click-away/use-click-away.js +23 -0
- package/cjs/use-clipboard/index.d.ts +3 -0
- package/cjs/use-clipboard/index.js +12 -0
- package/{dist/hooks → cjs/use-clipboard}/use-clipboard.d.ts +0 -0
- package/cjs/use-clipboard/use-clipboard.js +57 -0
- package/cjs/use-current-state/index.d.ts +2 -0
- package/cjs/use-current-state/index.js +12 -0
- package/{dist/hooks → cjs/use-current-state}/use-current-state.d.ts +0 -0
- package/cjs/use-current-state/use-current-state.js +28 -0
- package/cjs/use-drip/index.d.ts +2 -0
- package/cjs/use-drip/index.js +12 -0
- package/cjs/use-drip/use-drip.d.ts +9 -0
- package/cjs/use-drip/use-drip.js +38 -0
- package/cjs/use-input/index.d.ts +2 -0
- package/cjs/use-input/index.js +12 -0
- package/cjs/use-input/use-input.d.ts +13 -0
- package/cjs/use-input/use-input.js +32 -0
- package/cjs/use-keyboard/codes.d.ts +92 -0
- package/cjs/use-keyboard/codes.js +104 -0
- package/cjs/use-keyboard/helper.d.ts +3 -0
- package/cjs/use-keyboard/helper.js +35 -0
- package/cjs/use-keyboard/index.d.ts +5 -0
- package/cjs/use-keyboard/index.js +15 -0
- package/cjs/use-keyboard/use-keyboard.d.ts +22 -0
- package/cjs/use-keyboard/use-keyboard.js +76 -0
- package/cjs/use-pagination/index.d.ts +20 -0
- package/cjs/use-pagination/index.js +88 -0
- package/cjs/use-portal/index.d.ts +2 -0
- package/cjs/use-portal/index.js +12 -0
- package/{dist/hooks → cjs/use-portal}/use-portal.d.ts +0 -0
- package/cjs/use-portal/use-portal.js +43 -0
- package/cjs/use-real-shape/index.d.ts +2 -0
- package/cjs/use-real-shape/index.js +12 -0
- package/{dist/hooks → cjs/use-real-shape}/use-real-shape.d.ts +0 -0
- package/cjs/use-real-shape/use-real-shape.js +55 -0
- package/cjs/use-resize/index.d.ts +2 -0
- package/cjs/use-resize/index.js +12 -0
- package/{dist/hooks → cjs/use-resize}/use-resize.d.ts +0 -0
- package/cjs/use-resize/use-resize.js +23 -0
- package/cjs/use-ssr/index.d.ts +2 -0
- package/cjs/use-ssr/index.js +12 -0
- package/{dist/hooks → cjs/use-ssr}/use-ssr.d.ts +0 -0
- package/cjs/use-ssr/use-ssr.js +25 -0
- package/cjs/use-theme/index.d.ts +2 -0
- package/cjs/use-theme/index.js +12 -0
- package/cjs/use-theme/use-theme.d.ts +3 -0
- package/cjs/use-theme/use-theme.js +16 -0
- package/cjs/use-warning/index.d.ts +2 -0
- package/cjs/use-warning/index.js +12 -0
- package/{dist/hooks → cjs/use-warning}/use-warning.d.ts +0 -0
- package/cjs/use-warning/use-warning.js +23 -0
- package/cjs/user/index.d.ts +6 -0
- package/cjs/user/index.js +21 -0
- package/cjs/user/user-link.d.ts +32 -0
- package/cjs/user/user-link.js +46 -0
- package/{dist/components → cjs}/user/user.d.ts +12 -7
- package/cjs/user/user.js +63 -0
- package/cjs/user/user.styles.d.ts +4456 -0
- package/cjs/user/user.styles.js +56 -0
- package/cjs/utils/assertion.d.ts +8 -0
- package/cjs/utils/assertion.js +42 -0
- package/cjs/utils/clear-icon.d.ts +16 -0
- package/cjs/utils/clear-icon.js +70 -0
- package/cjs/utils/clsx.d.ts +1 -0
- package/cjs/utils/clsx.js +57 -0
- package/cjs/utils/collections.d.ts +12 -0
- package/cjs/utils/collections.js +110 -0
- package/{dist → cjs}/utils/color.d.ts +6 -6
- package/cjs/utils/color.js +187 -0
- package/cjs/utils/css-transition.d.ts +27 -0
- package/cjs/utils/css-transition.js +76 -0
- package/cjs/utils/deep-merge.d.ts +1 -0
- package/cjs/utils/deep-merge.js +33 -0
- package/{dist → cjs}/utils/dimensions.d.ts +0 -0
- package/cjs/utils/dimensions.js +10 -0
- package/cjs/utils/dom.js +110 -0
- package/cjs/utils/drip.d.ts +936 -0
- package/cjs/utils/drip.js +116 -0
- package/cjs/utils/expand.d.ts +20 -0
- package/cjs/utils/expand.js +109 -0
- package/cjs/utils/icons.js +481 -0
- package/cjs/utils/numbers.d.ts +9 -0
- package/cjs/utils/numbers.js +23 -0
- package/cjs/utils/object.d.ts +11 -0
- package/cjs/utils/object.js +40 -0
- package/cjs/utils/prop-types.d.ts +54 -0
- package/cjs/utils/prop-types.js +56 -0
- package/cjs/utils/react.js +24 -0
- package/cjs/utils/strings.js +18 -0
- package/cjs/utils/types.d.js +3 -0
- package/{dist → cjs}/utils/with-defaults.d.ts +0 -0
- package/cjs/utils/with-defaults.js +13 -0
- package/code/package.json +6 -0
- package/col/package.json +6 -0
- package/collapse/package.json +6 -0
- package/container/package.json +6 -0
- package/css-baseline/package.json +6 -0
- package/divider/package.json +6 -0
- package/esm/avatar/avatar-group.d.ts +13 -0
- package/esm/avatar/avatar-group.js +35 -0
- package/esm/avatar/avatar-group.styles.d.ts +1785 -0
- package/esm/avatar/avatar-group.styles.js +52 -0
- package/esm/avatar/avatar.d.ts +21 -0
- package/esm/avatar/avatar.js +75 -0
- package/esm/avatar/avatar.styles.d.ts +904 -0
- package/esm/avatar/avatar.styles.js +334 -0
- package/esm/avatar/index.d.ts +7 -0
- package/esm/avatar/index.js +22 -0
- package/esm/backdrop/backdrop.d.ts +37 -0
- package/esm/backdrop/backdrop.js +137 -0
- package/esm/backdrop/backdrop.styles.d.ts +2677 -0
- package/esm/backdrop/backdrop.styles.js +119 -0
- package/esm/backdrop/index.d.ts +5 -0
- package/esm/backdrop/index.js +16 -0
- package/esm/button/button-group-context.d.ts +20 -0
- package/esm/button/button-group-context.js +21 -0
- package/esm/button/button-group.d.ts +34 -0
- package/esm/button/button-group.js +81 -0
- package/esm/button/button-group.styles.d.ts +899 -0
- package/esm/button/button-group.styles.js +136 -0
- package/esm/button/button-icon.d.ts +909 -0
- package/esm/button/button-icon.js +68 -0
- package/esm/button/button.d.ts +30 -0
- package/esm/button/button.js +145 -0
- package/esm/button/button.styles.d.ts +907 -0
- package/esm/button/button.styles.js +695 -0
- package/esm/button/index.d.ts +10 -0
- package/esm/button/index.js +25 -0
- package/esm/button/utils.d.ts +4 -0
- package/esm/button/utils.js +27 -0
- package/esm/card/card.d.ts +23 -0
- package/esm/card/card.js +117 -0
- package/esm/card/card.styles.d.ts +3575 -0
- package/esm/card/card.styles.js +267 -0
- package/esm/card/index.d.ts +5 -0
- package/esm/card/index.js +24 -0
- package/esm/checkbox/checkbox-context.d.ts +13 -0
- package/esm/checkbox/checkbox-context.js +25 -0
- package/esm/checkbox/checkbox-group.d.ts +29 -0
- package/esm/checkbox/checkbox-group.js +89 -0
- package/esm/checkbox/checkbox.d.ts +58 -0
- package/esm/checkbox/checkbox.js +192 -0
- package/esm/checkbox/checkbox.styles.d.ts +8054 -0
- package/esm/checkbox/checkbox.styles.js +563 -0
- package/esm/checkbox/index.d.ts +6 -0
- package/esm/checkbox/index.js +26 -0
- package/esm/code/code.d.ts +15 -0
- package/esm/code/code.js +42 -0
- package/esm/code/code.styles.d.ts +1782 -0
- package/esm/code/code.styles.js +14 -0
- package/esm/code/index.d.ts +5 -0
- package/esm/code/index.js +15 -0
- package/esm/col/col.d.ts +20 -0
- package/esm/col/col.js +46 -0
- package/esm/col/col.styles.d.ts +893 -0
- package/esm/col/col.styles.js +16 -0
- package/esm/col/index.d.ts +5 -0
- package/esm/col/index.js +14 -0
- package/esm/collapse/collapse-context.d.ts +9 -0
- package/esm/collapse/collapse-context.js +20 -0
- package/esm/collapse/collapse-group.d.ts +18 -0
- package/esm/collapse/collapse-group.js +90 -0
- package/esm/collapse/collapse-icon.d.ts +19 -0
- package/esm/collapse/collapse-icon.js +41 -0
- package/esm/collapse/collapse.d.ts +41 -0
- package/esm/collapse/collapse.js +190 -0
- package/esm/collapse/collapse.styles.d.ts +4472 -0
- package/esm/collapse/collapse.styles.js +254 -0
- package/esm/collapse/index.d.ts +6 -0
- package/esm/collapse/index.js +22 -0
- package/esm/container/container.d.ts +40 -0
- package/esm/container/container.js +91 -0
- package/esm/container/container.styles.d.ts +896 -0
- package/esm/container/container.styles.js +45 -0
- package/esm/container/index.d.ts +5 -0
- package/esm/container/index.js +14 -0
- package/esm/css-baseline/css-baseline.d.ts +9 -0
- package/esm/css-baseline/css-baseline.js +247 -0
- package/esm/css-baseline/index.d.ts +1 -0
- package/esm/css-baseline/index.js +11 -0
- package/esm/divider/divider.d.ts +22 -0
- package/esm/divider/divider.js +82 -0
- package/esm/divider/divider.styles.d.ts +1787 -0
- package/esm/divider/divider.styles.js +77 -0
- package/esm/divider/index.d.ts +5 -0
- package/esm/divider/index.js +15 -0
- package/esm/grid/grid-container.d.ts +22 -0
- package/esm/grid/grid-container.js +60 -0
- package/esm/grid/grid-item.d.ts +37 -0
- package/esm/grid/grid-item.js +123 -0
- package/esm/grid/grid.d.ts +9 -0
- package/esm/grid/grid.js +29 -0
- package/esm/grid/grid.styles.d.ts +1783 -0
- package/esm/grid/grid.styles.js +15 -0
- package/esm/grid/index.d.ts +7 -0
- package/esm/grid/index.js +18 -0
- package/esm/image/image.d.ts +29 -0
- package/esm/image/image.js +150 -0
- package/esm/image/image.skeleton.d.ts +19 -0
- package/esm/image/image.skeleton.js +50 -0
- package/esm/image/image.styles.d.ts +2676 -0
- package/esm/image/image.styles.js +57 -0
- package/esm/image/index.d.ts +5 -0
- package/esm/image/index.js +16 -0
- package/esm/index.d.ts +79 -0
- package/esm/index.js +435 -0
- package/esm/input/index.d.ts +7 -0
- package/esm/input/index.js +30 -0
- package/esm/input/input-password.d.ts +98 -0
- package/esm/input/input-password.js +80 -0
- package/esm/input/input-props.d.ts +66 -0
- package/esm/input/input-props.js +30 -0
- package/esm/input/input.d.ts +18 -0
- package/esm/input/input.js +317 -0
- package/esm/input/input.styles.d.ts +9854 -0
- package/esm/input/input.styles.js +878 -0
- package/esm/input/password-icon.d.ts +6 -0
- package/esm/input/password-icon.js +51 -0
- package/esm/link/icon.d.ts +4 -0
- package/esm/link/icon.js +42 -0
- package/esm/link/index.d.ts +5 -0
- package/esm/link/index.js +15 -0
- package/esm/link/link.d.ts +43 -0
- package/esm/link/link.js +42 -0
- package/esm/link/link.styles.d.ts +1788 -0
- package/esm/link/link.styles.js +135 -0
- package/esm/loading/index.d.ts +7 -0
- package/esm/loading/index.js +24 -0
- package/esm/loading/loading.d.ts +24 -0
- package/esm/loading/loading.js +80 -0
- package/esm/loading/loading.styles.d.ts +5356 -0
- package/esm/loading/loading.styles.js +438 -0
- package/esm/loading/spinner.d.ts +17 -0
- package/esm/loading/spinner.js +47 -0
- package/esm/modal/index.d.ts +8 -0
- package/esm/modal/index.js +28 -0
- package/esm/modal/modal-body.d.ts +45 -0
- package/esm/modal/modal-body.js +62 -0
- package/esm/modal/modal-close-button.d.ts +13 -0
- package/esm/modal/modal-close-button.js +49 -0
- package/esm/modal/modal-context.d.ts +8 -0
- package/esm/modal/modal-context.js +18 -0
- package/esm/modal/modal-footer.d.ts +24 -0
- package/esm/modal/modal-footer.js +69 -0
- package/esm/modal/modal-header.d.ts +24 -0
- package/esm/modal/modal-header.js +69 -0
- package/esm/modal/modal-wrapper.d.ts +24 -0
- package/esm/modal/modal-wrapper.js +153 -0
- package/esm/modal/modal.d.ts +42 -0
- package/esm/modal/modal.js +159 -0
- package/esm/modal/modal.styles.d.ts +5362 -0
- package/esm/modal/modal.styles.js +243 -0
- package/esm/modal/use-modal.d.ts +11 -0
- package/esm/modal/use-modal.js +25 -0
- package/esm/pagination/index.d.ts +7 -0
- package/esm/pagination/index.js +19 -0
- package/esm/pagination/pagination-ellipsis.d.ts +11 -0
- package/esm/pagination/pagination-ellipsis.js +86 -0
- package/esm/pagination/pagination-highlight.d.ts +14 -0
- package/esm/pagination/pagination-highlight.js +52 -0
- package/esm/pagination/pagination-icon.d.ts +16 -0
- package/esm/pagination/pagination-icon.js +59 -0
- package/esm/pagination/pagination-item.d.ts +22 -0
- package/esm/pagination/pagination-item.js +104 -0
- package/esm/pagination/pagination.d.ts +46 -0
- package/esm/pagination/pagination.js +169 -0
- package/esm/pagination/pagination.styles.d.ts +5369 -0
- package/esm/pagination/pagination.styles.js +361 -0
- package/esm/progress/index.d.ts +5 -0
- package/esm/progress/index.js +15 -0
- package/esm/progress/progress.d.ts +65 -0
- package/esm/progress/progress.js +101 -0
- package/esm/progress/progress.styles.d.ts +1793 -0
- package/esm/progress/progress.styles.js +165 -0
- package/esm/radio/index.d.ts +4 -0
- package/esm/radio/index.js +24 -0
- package/esm/radio/radio-context.d.ts +13 -0
- package/esm/radio/radio-context.js +24 -0
- package/esm/radio/radio-group.d.ts +30 -0
- package/esm/radio/radio-group.js +78 -0
- package/esm/radio/radio.d.ts +45 -0
- package/esm/radio/radio.js +156 -0
- package/esm/radio/radio.styles.d.ts +5357 -0
- package/esm/radio/radio.styles.js +240 -0
- package/esm/row/index.d.ts +5 -0
- package/esm/row/index.js +14 -0
- package/esm/row/row.d.ts +21 -0
- package/esm/row/row.js +54 -0
- package/esm/row/row.styles.d.ts +895 -0
- package/esm/row/row.styles.js +25 -0
- package/esm/snippet/index.d.ts +5 -0
- package/esm/snippet/index.js +16 -0
- package/esm/snippet/snippet-icon.d.ts +21 -0
- package/esm/snippet/snippet-icon.js +52 -0
- package/esm/snippet/snippet.d.ts +35 -0
- package/esm/snippet/snippet.js +137 -0
- package/esm/snippet/snippet.styles.d.ts +3570 -0
- package/esm/snippet/snippet.styles.js +141 -0
- package/esm/spacer/index.d.ts +5 -0
- package/esm/spacer/index.js +14 -0
- package/esm/spacer/spacer.d.ts +41 -0
- package/esm/spacer/spacer.js +49 -0
- package/esm/spacer/spacer.styles.d.ts +894 -0
- package/esm/spacer/spacer.styles.js +24 -0
- package/esm/switch/index.d.ts +5 -0
- package/esm/switch/index.js +17 -0
- package/esm/switch/switch.d.ts +82 -0
- package/esm/switch/switch.js +142 -0
- package/esm/switch/switch.styles.d.ts +3576 -0
- package/esm/switch/switch.styles.js +283 -0
- package/esm/text/child.d.ts +21 -0
- package/esm/text/child.js +83 -0
- package/esm/text/index.d.ts +4 -0
- package/esm/text/index.js +14 -0
- package/esm/text/text.d.ts +59 -0
- package/esm/text/text.js +124 -0
- package/esm/text/text.styles.d.ts +894 -0
- package/esm/text/text.styles.js +41 -0
- package/esm/textarea/index.d.ts +3 -0
- package/esm/textarea/index.js +12 -0
- package/esm/textarea/textarea.d.ts +42 -0
- package/esm/textarea/textarea.js +126 -0
- package/esm/textarea/utils.d.ts +13 -0
- package/esm/textarea/utils.js +126 -0
- package/esm/theme/common.d.ts +1584 -0
- package/esm/theme/common.js +490 -0
- package/esm/theme/dark-theme.d.ts +33 -0
- package/esm/theme/dark-theme.js +38 -0
- package/esm/theme/index.js +31 -0
- package/esm/theme/light-theme.d.ts +28 -0
- package/esm/theme/light-theme.js +33 -0
- package/esm/theme/ssr-provider.d.ts +7 -0
- package/esm/theme/ssr-provider.js +51 -0
- package/esm/theme/stitches.config.d.ts +8700 -0
- package/esm/theme/stitches.config.js +88 -0
- package/esm/theme/theme-context.d.ts +5 -0
- package/esm/theme/theme-context.js +22 -0
- package/esm/theme/theme-provider.d.ts +14 -0
- package/esm/theme/theme-provider.js +115 -0
- package/esm/theme/types.d.ts +75 -0
- package/esm/theme/types.js +3 -0
- package/esm/theme/utils.d.ts +16 -0
- package/esm/theme/utils.js +113 -0
- package/esm/tooltip/index.d.ts +6 -0
- package/esm/tooltip/index.js +17 -0
- package/esm/tooltip/placement.d.ts +39 -0
- package/esm/tooltip/placement.js +193 -0
- package/esm/tooltip/tooltip-content.d.ts +27 -0
- package/esm/tooltip/tooltip-content.js +135 -0
- package/esm/tooltip/tooltip.d.ts +56 -0
- package/esm/tooltip/tooltip.js +141 -0
- package/esm/tooltip/tooltip.styles.d.ts +3571 -0
- package/esm/tooltip/tooltip.styles.js +159 -0
- package/esm/use-body-scroll/index.d.ts +3 -0
- package/esm/use-body-scroll/index.js +12 -0
- package/esm/use-body-scroll/use-body-scroll.d.ts +9 -0
- package/esm/use-body-scroll/use-body-scroll.js +77 -0
- package/esm/use-click-anywhere/index.d.ts +2 -0
- package/esm/use-click-anywhere/index.js +12 -0
- package/esm/use-click-anywhere/use-click-anywhere.d.ts +2 -0
- package/esm/use-click-anywhere/use-click-anywhere.js +19 -0
- package/esm/use-click-away/index.d.ts +2 -0
- package/esm/use-click-away/index.js +12 -0
- package/esm/use-click-away/use-click-away.d.ts +3 -0
- package/esm/use-click-away/use-click-away.js +23 -0
- package/esm/use-clipboard/index.d.ts +3 -0
- package/esm/use-clipboard/index.js +12 -0
- package/esm/use-clipboard/use-clipboard.d.ts +8 -0
- package/esm/use-clipboard/use-clipboard.js +57 -0
- package/esm/use-current-state/index.d.ts +2 -0
- package/esm/use-current-state/index.js +12 -0
- package/esm/use-current-state/use-current-state.d.ts +8 -0
- package/esm/use-current-state/use-current-state.js +28 -0
- package/esm/use-drip/index.d.ts +2 -0
- package/esm/use-drip/index.js +12 -0
- package/esm/use-drip/use-drip.d.ts +9 -0
- package/esm/use-drip/use-drip.js +38 -0
- package/esm/use-input/index.d.ts +2 -0
- package/esm/use-input/index.js +12 -0
- package/esm/use-input/use-input.d.ts +13 -0
- package/esm/use-input/use-input.js +32 -0
- package/esm/use-keyboard/codes.d.ts +92 -0
- package/esm/use-keyboard/codes.js +104 -0
- package/esm/use-keyboard/helper.d.ts +3 -0
- package/esm/use-keyboard/helper.js +35 -0
- package/esm/use-keyboard/index.d.ts +5 -0
- package/esm/use-keyboard/index.js +15 -0
- package/esm/use-keyboard/use-keyboard.d.ts +22 -0
- package/esm/use-keyboard/use-keyboard.js +76 -0
- package/esm/use-pagination/index.d.ts +20 -0
- package/esm/use-pagination/index.js +88 -0
- package/esm/use-portal/index.d.ts +2 -0
- package/esm/use-portal/index.js +12 -0
- package/esm/use-portal/use-portal.d.ts +2 -0
- package/esm/use-portal/use-portal.js +43 -0
- package/esm/use-real-shape/index.d.ts +2 -0
- package/esm/use-real-shape/index.js +12 -0
- package/esm/use-real-shape/use-real-shape.d.ts +9 -0
- package/esm/use-real-shape/use-real-shape.js +55 -0
- package/esm/use-resize/index.d.ts +2 -0
- package/esm/use-resize/index.js +12 -0
- package/esm/use-resize/use-resize.d.ts +2 -0
- package/esm/use-resize/use-resize.js +23 -0
- package/esm/use-ssr/index.d.ts +2 -0
- package/esm/use-ssr/index.js +12 -0
- package/esm/use-ssr/use-ssr.d.ts +6 -0
- package/esm/use-ssr/use-ssr.js +25 -0
- package/esm/use-theme/index.d.ts +2 -0
- package/esm/use-theme/index.js +12 -0
- package/esm/use-theme/use-theme.d.ts +3 -0
- package/esm/use-theme/use-theme.js +16 -0
- package/esm/use-warning/index.d.ts +2 -0
- package/esm/use-warning/index.js +12 -0
- package/esm/use-warning/use-warning.d.ts +2 -0
- package/esm/use-warning/use-warning.js +23 -0
- package/esm/user/index.d.ts +6 -0
- package/esm/user/index.js +21 -0
- package/esm/user/user-link.d.ts +32 -0
- package/esm/user/user-link.js +46 -0
- package/esm/user/user.d.ts +35 -0
- package/esm/user/user.js +63 -0
- package/esm/user/user.styles.d.ts +4456 -0
- package/esm/user/user.styles.js +56 -0
- package/esm/utils/assertion.d.ts +8 -0
- package/esm/utils/assertion.js +42 -0
- package/esm/utils/clear-icon.d.ts +16 -0
- package/esm/utils/clear-icon.js +70 -0
- package/esm/utils/clsx.d.ts +1 -0
- package/esm/utils/clsx.js +57 -0
- package/esm/utils/collections.d.ts +12 -0
- package/esm/utils/collections.js +110 -0
- package/esm/utils/color.d.ts +28 -0
- package/esm/utils/color.js +187 -0
- package/esm/utils/css-transition.d.ts +27 -0
- package/esm/utils/css-transition.js +76 -0
- package/esm/utils/deep-merge.d.ts +1 -0
- package/esm/utils/deep-merge.js +33 -0
- package/esm/utils/dimensions.d.ts +1 -0
- package/esm/utils/dimensions.js +10 -0
- package/esm/utils/dom.js +110 -0
- package/esm/utils/drip.d.ts +936 -0
- package/esm/utils/drip.js +116 -0
- package/esm/utils/expand.d.ts +20 -0
- package/esm/utils/expand.js +109 -0
- package/esm/utils/icons.js +481 -0
- package/esm/utils/numbers.d.ts +9 -0
- package/esm/utils/numbers.js +23 -0
- package/esm/utils/object.d.ts +11 -0
- package/esm/utils/object.js +40 -0
- package/esm/utils/prop-types.d.ts +54 -0
- package/esm/utils/prop-types.js +56 -0
- package/esm/utils/react.js +24 -0
- package/esm/utils/strings.js +18 -0
- package/esm/utils/types.d.js +3 -0
- package/esm/utils/with-defaults.d.ts +3 -0
- package/esm/utils/with-defaults.js +13 -0
- package/grid/package.json +6 -0
- package/image/package.json +6 -0
- package/input/package.json +6 -0
- package/link/package.json +6 -0
- package/loading/package.json +6 -0
- package/modal/package.json +6 -0
- package/package.json +16 -76
- package/pagination/package.json +6 -0
- package/progress/package.json +6 -0
- package/radio/package.json +6 -0
- package/row/package.json +6 -0
- package/snippet/package.json +6 -0
- package/spacer/package.json +6 -0
- package/switch/package.json +6 -0
- package/text/package.json +6 -0
- package/textarea/package.json +6 -0
- package/tooltip/package.json +6 -0
- package/umd/nextui.js +14059 -0
- package/umd/nextui.min.js +2 -0
- package/umd/nextui.min.js.LICENSE.txt +14 -0
- package/use-body-scroll/package.json +6 -0
- package/use-click-anywhere/package.json +6 -0
- package/use-click-away/package.json +6 -0
- package/use-clipboard/package.json +6 -0
- package/use-current-state/package.json +6 -0
- package/use-drip/package.json +6 -0
- package/use-input/package.json +6 -0
- package/use-keyboard/package.json +6 -0
- package/use-portal/package.json +6 -0
- package/use-real-shape/package.json +6 -0
- package/use-resize/package.json +6 -0
- package/use-ssr/package.json +6 -0
- package/use-theme/package.json +6 -0
- package/use-warning/package.json +6 -0
- package/user/package.json +6 -0
- package/utils/package.json +6 -0
- package/dist/components/avatar/avatar-group.d.ts +0 -17
- package/dist/components/avatar/avatar.d.ts +0 -33
- package/dist/components/avatar/index.d.ts +0 -2
- package/dist/components/button/button-group.d.ts +0 -56
- package/dist/components/button/button-icon.d.ts +0 -17
- package/dist/components/button/button-loading.d.ts +0 -18
- package/dist/components/button/button.d.ts +0 -51
- package/dist/components/button/button.drip.d.ts +0 -20
- package/dist/components/button/index.d.ts +0 -2
- package/dist/components/button/styles.d.ts +0 -40
- package/dist/components/card/card-content.d.ts +0 -13
- package/dist/components/card/card-footer.d.ts +0 -16
- package/dist/components/card/card.d.ts +0 -33
- package/dist/components/card/index.d.ts +0 -2
- package/dist/components/card/styles.d.ts +0 -12
- package/dist/components/checkbox/checkbox-group.d.ts +0 -31
- package/dist/components/checkbox/index.d.ts +0 -5
- package/dist/components/checkbox/styles.d.ts +0 -4
- package/dist/components/code/code.d.ts +0 -17
- package/dist/components/code/index.d.ts +0 -4
- package/dist/components/col/index.d.ts +0 -4
- package/dist/components/container/container.d.ts +0 -39
- package/dist/components/container/index.d.ts +0 -2
- package/dist/components/divider/divider.d.ts +0 -30
- package/dist/components/divider/index.d.ts +0 -2
- package/dist/components/grid/grid-container.d.ts +0 -18
- package/dist/components/grid/grid.d.ts +0 -16
- package/dist/components/grid/index.d.ts +0 -2
- package/dist/components/image/image-browser-https-icon.d.ts +0 -3
- package/dist/components/image/image-browser.d.ts +0 -31
- package/dist/components/image/image.skeleton.d.ts +0 -12
- package/dist/components/image/index.d.ts +0 -2
- package/dist/components/image/styles.d.ts +0 -9
- package/dist/components/index.d.ts +0 -20
- package/dist/components/link/index.d.ts +0 -4
- package/dist/components/link/link.d.ts +0 -39
- package/dist/components/loading/index.d.ts +0 -2
- package/dist/components/loading/spinner.d.ts +0 -16
- package/dist/components/loading/styles.d.ts +0 -18
- package/dist/components/radio/index.d.ts +0 -2
- package/dist/components/radio/radio-description.d.ts +0 -13
- package/dist/components/radio/radio-group.d.ts +0 -33
- package/dist/components/row/index.d.ts +0 -4
- package/dist/components/row/row.d.ts +0 -32
- package/dist/components/snippet/index.d.ts +0 -2
- package/dist/components/snippet/snippet.d.ts +0 -36
- package/dist/components/snippet/styles.d.ts +0 -8
- package/dist/components/spacer/index.d.ts +0 -4
- package/dist/components/spacer/spacer.d.ts +0 -27
- package/dist/components/switch/index.d.ts +0 -2
- package/dist/components/switch/styles.d.ts +0 -6
- package/dist/components/switch/switch.d.ts +0 -50
- package/dist/components/text/child.d.ts +0 -22
- package/dist/components/text/index.d.ts +0 -4
- package/dist/components/user/index.d.ts +0 -2
- package/dist/components/user/user-link.d.ts +0 -16
- package/dist/hooks/index.d.ts +0 -5
- package/dist/hooks/use-theme.d.ts +0 -3
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -1
- package/dist/index.min.js +0 -1
- package/dist/theme/common.d.ts +0 -63
- package/dist/theme/dark.d.ts +0 -8
- package/dist/theme/default.d.ts +0 -8
- package/dist/theme/index.d.ts +0 -2
- package/dist/theme/shared.d.ts +0 -4
- package/dist/theme/theme-context.d.ts +0 -4
- package/dist/theme/theme-provider.d.ts +0 -7
- package/dist/theme/types.d.ts +0 -94
- package/dist/theme/utils.d.ts +0 -7
- package/dist/utils/collections.d.ts +0 -4
- package/dist/utils/object.d.ts +0 -5
- package/dist/utils/prop-types.d.ts +0 -37
|
@@ -0,0 +1,481 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
exports.__esModule = true;
|
|
6
|
+
exports.VolumeUp = exports.User = exports.Unlock = exports.Sun = exports.Plus = exports.Password = exports.Notification = exports.Moon = exports.Minus = exports.Mail = exports.Lock = exports.Camera = exports.Activity = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
|
|
12
|
+
const Sun = ({
|
|
13
|
+
theme,
|
|
14
|
+
fill,
|
|
15
|
+
filled,
|
|
16
|
+
size,
|
|
17
|
+
height,
|
|
18
|
+
width,
|
|
19
|
+
label,
|
|
20
|
+
...props
|
|
21
|
+
}) => {
|
|
22
|
+
if (filled) {
|
|
23
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
|
|
24
|
+
viewBox: "0 0 512 512",
|
|
25
|
+
width: size || width || 24,
|
|
26
|
+
height: size || height || 24,
|
|
27
|
+
...props,
|
|
28
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
29
|
+
fill: fill,
|
|
30
|
+
d: "M256 118a22 22 0 01-22-22V48a22 22 0 0144 0v48a22 22 0 01-22 22zM256 486a22 22 0 01-22-22v-48a22 22 0 0144 0v48a22 22 0 01-22 22zM369.14 164.86a22 22 0 01-15.56-37.55l33.94-33.94a22 22 0 0131.11 31.11l-33.94 33.94a21.93 21.93 0 01-15.55 6.44zM108.92 425.08a22 22 0 01-15.55-37.56l33.94-33.94a22 22 0 1131.11 31.11l-33.94 33.94a21.94 21.94 0 01-15.56 6.45zM464 278h-48a22 22 0 010-44h48a22 22 0 010 44zM96 278H48a22 22 0 010-44h48a22 22 0 010 44zM403.08 425.08a21.94 21.94 0 01-15.56-6.45l-33.94-33.94a22 22 0 0131.11-31.11l33.94 33.94a22 22 0 01-15.55 37.56zM142.86 164.86a21.89 21.89 0 01-15.55-6.44l-33.94-33.94a22 22 0 0131.11-31.11l33.94 33.94a22 22 0 01-15.56 37.55zM256 358a102 102 0 11102-102 102.12 102.12 0 01-102 102z"
|
|
31
|
+
})
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
|
|
36
|
+
viewBox: "0 0 512 512",
|
|
37
|
+
width: size || width || 24,
|
|
38
|
+
height: size || height || 24,
|
|
39
|
+
...props,
|
|
40
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
41
|
+
fill: "none",
|
|
42
|
+
stroke: fill,
|
|
43
|
+
strokeLinecap: "round",
|
|
44
|
+
strokeMiterlimit: 10,
|
|
45
|
+
strokeWidth: 32,
|
|
46
|
+
d: "M256 48v48M256 416v48M403.08 108.92l-33.94 33.94M142.86 369.14l-33.94 33.94M464 256h-48M96 256H48M403.08 403.08l-33.94-33.94M142.86 142.86l-33.94-33.94"
|
|
47
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
|
|
48
|
+
cx: 256,
|
|
49
|
+
cy: 256,
|
|
50
|
+
r: 80,
|
|
51
|
+
fill: "none",
|
|
52
|
+
stroke: fill,
|
|
53
|
+
strokeLinecap: "round",
|
|
54
|
+
strokeMiterlimit: 10,
|
|
55
|
+
strokeWidth: 32
|
|
56
|
+
})]
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
exports.Sun = Sun;
|
|
61
|
+
|
|
62
|
+
const Mail = ({
|
|
63
|
+
theme,
|
|
64
|
+
fill,
|
|
65
|
+
size,
|
|
66
|
+
height,
|
|
67
|
+
width,
|
|
68
|
+
...props
|
|
69
|
+
}) => {
|
|
70
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
|
|
71
|
+
width: size || width || 24,
|
|
72
|
+
height: size || height || 24,
|
|
73
|
+
viewBox: "0 0 24 24",
|
|
74
|
+
...props,
|
|
75
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
|
|
76
|
+
fill: "none",
|
|
77
|
+
stroke: fill,
|
|
78
|
+
strokeLinecap: "round",
|
|
79
|
+
strokeLinejoin: "round",
|
|
80
|
+
strokeWidth: 1.5,
|
|
81
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
82
|
+
d: "M12 20.5H7c-3 0-5-1.5-5-5v-7c0-3.5 2-5 5-5h10c3 0 5 1.5 5 5v3"
|
|
83
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
84
|
+
d: "M17 9l-3.13 2.5a3.166 3.166 0 01-3.75 0L7 9M19.21 14.77l-3.539 3.54a1.232 1.232 0 00-.3.59l-.19 1.35a.635.635 0 00.76.76l1.35-.19a1.189 1.189 0 00.59-.3l3.54-3.54a1.365 1.365 0 000-2.22 1.361 1.361 0 00-2.211.01zM18.7 15.28a3.185 3.185 0 002.22 2.22"
|
|
85
|
+
})]
|
|
86
|
+
})
|
|
87
|
+
});
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
exports.Mail = Mail;
|
|
91
|
+
|
|
92
|
+
const Moon = ({
|
|
93
|
+
theme,
|
|
94
|
+
fill,
|
|
95
|
+
filled,
|
|
96
|
+
size,
|
|
97
|
+
height,
|
|
98
|
+
width,
|
|
99
|
+
label,
|
|
100
|
+
...props
|
|
101
|
+
}) => {
|
|
102
|
+
if (filled) {
|
|
103
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
|
|
104
|
+
viewBox: "0 0 512 512",
|
|
105
|
+
width: size || width || 24,
|
|
106
|
+
height: size || height || 24,
|
|
107
|
+
...props,
|
|
108
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
109
|
+
fill: fill,
|
|
110
|
+
d: "M152.62 126.77c0-33 4.85-66.35 17.23-94.77C87.54 67.83 32 151.89 32 247.38 32 375.85 136.15 480 264.62 480c95.49 0 179.55-55.54 215.38-137.85-28.42 12.38-61.8 17.23-94.77 17.23-128.47 0-232.61-104.14-232.61-232.61z"
|
|
111
|
+
})
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
|
|
116
|
+
viewBox: "0 0 512 512",
|
|
117
|
+
width: size || width || 24,
|
|
118
|
+
height: size || height || 24,
|
|
119
|
+
...props,
|
|
120
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
121
|
+
d: "M160 136c0-30.62 4.51-61.61 16-88C99.57 81.27 48 159.32 48 248c0 119.29 96.71 216 216 216 88.68 0 166.73-51.57 200-128-26.39 11.49-57.38 16-88 16-119.29 0-216-96.71-216-216z",
|
|
122
|
+
fill: "none",
|
|
123
|
+
stroke: fill,
|
|
124
|
+
strokeLinecap: "round",
|
|
125
|
+
strokeLinejoin: "round",
|
|
126
|
+
strokeWidth: 32
|
|
127
|
+
})
|
|
128
|
+
});
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
exports.Moon = Moon;
|
|
132
|
+
|
|
133
|
+
const Lock = ({
|
|
134
|
+
theme,
|
|
135
|
+
fill,
|
|
136
|
+
filled,
|
|
137
|
+
size,
|
|
138
|
+
height,
|
|
139
|
+
width,
|
|
140
|
+
label,
|
|
141
|
+
...props
|
|
142
|
+
}) => {
|
|
143
|
+
const color = fill;
|
|
144
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
|
|
145
|
+
"data-name": "Iconly/Curved/Lock",
|
|
146
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
147
|
+
width: size || width || 24,
|
|
148
|
+
height: size || height || 24,
|
|
149
|
+
viewBox: "0 0 24 24",
|
|
150
|
+
...props,
|
|
151
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
|
|
152
|
+
transform: "translate(3.5 2)",
|
|
153
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
154
|
+
d: "M9.121,6.653V4.5A4.561,4.561,0,0,0,0,4.484V6.653",
|
|
155
|
+
transform: "translate(3.85 0.75)",
|
|
156
|
+
fill: "none",
|
|
157
|
+
stroke: color,
|
|
158
|
+
strokeLinecap: "round",
|
|
159
|
+
strokeLinejoin: "round",
|
|
160
|
+
strokeMiterlimit: "10",
|
|
161
|
+
strokeWidth: 1.5
|
|
162
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
163
|
+
d: "M.5,0V2.221",
|
|
164
|
+
transform: "translate(7.91 12.156)",
|
|
165
|
+
fill: "none",
|
|
166
|
+
stroke: color,
|
|
167
|
+
strokeLinecap: "round",
|
|
168
|
+
strokeLinejoin: "round",
|
|
169
|
+
strokeMiterlimit: "10",
|
|
170
|
+
strokeWidth: 1.5
|
|
171
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
172
|
+
d: "M7.66,0C1.915,0,0,1.568,0,6.271s1.915,6.272,7.66,6.272,7.661-1.568,7.661-6.272S13.4,0,7.66,0Z",
|
|
173
|
+
transform: "translate(0.75 6.824)",
|
|
174
|
+
fill: "none",
|
|
175
|
+
stroke: color,
|
|
176
|
+
strokeLinecap: "round",
|
|
177
|
+
strokeLinejoin: "round",
|
|
178
|
+
strokeMiterlimit: "10",
|
|
179
|
+
strokeWidth: 1.5
|
|
180
|
+
})]
|
|
181
|
+
})
|
|
182
|
+
});
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
exports.Lock = Lock;
|
|
186
|
+
|
|
187
|
+
const Unlock = ({
|
|
188
|
+
theme,
|
|
189
|
+
fill,
|
|
190
|
+
filled,
|
|
191
|
+
size,
|
|
192
|
+
height,
|
|
193
|
+
width,
|
|
194
|
+
label,
|
|
195
|
+
...props
|
|
196
|
+
}) => {
|
|
197
|
+
const color = fill;
|
|
198
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
|
|
199
|
+
"data-name": "Iconly/Curved/Lock",
|
|
200
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
201
|
+
width: size || width || 24,
|
|
202
|
+
height: size || height || 24,
|
|
203
|
+
viewBox: "0 0 24 24",
|
|
204
|
+
...props,
|
|
205
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
|
|
206
|
+
transform: "translate(3.5 2)",
|
|
207
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
208
|
+
d: "M8.927,3.237A4.562,4.562,0,0,0,0,4.484V6.653",
|
|
209
|
+
transform: "translate(3.849 0.75)",
|
|
210
|
+
fill: "none",
|
|
211
|
+
stroke: color,
|
|
212
|
+
strokeLinecap: "round",
|
|
213
|
+
strokeLinejoin: "round",
|
|
214
|
+
strokeMiterlimit: "10",
|
|
215
|
+
strokeWidth: 1.5
|
|
216
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
217
|
+
d: "M.5,0V2.221",
|
|
218
|
+
transform: "translate(7.91 12.156)",
|
|
219
|
+
fill: "none",
|
|
220
|
+
stroke: color,
|
|
221
|
+
strokeLinecap: "round",
|
|
222
|
+
strokeLinejoin: "round",
|
|
223
|
+
strokeMiterlimit: "10",
|
|
224
|
+
strokeWidth: 1.5
|
|
225
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
226
|
+
d: "M7.66,0C1.915,0,0,1.568,0,6.271s1.915,6.272,7.66,6.272,7.661-1.568,7.661-6.272S13.406,0,7.66,0Z",
|
|
227
|
+
transform: "translate(0.75 6.824)",
|
|
228
|
+
fill: "none",
|
|
229
|
+
stroke: color,
|
|
230
|
+
strokeLinecap: "round",
|
|
231
|
+
strokeLinejoin: "round",
|
|
232
|
+
strokeMiterlimit: "10",
|
|
233
|
+
strokeWidth: 1.5
|
|
234
|
+
})]
|
|
235
|
+
})
|
|
236
|
+
});
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
exports.Unlock = Unlock;
|
|
240
|
+
|
|
241
|
+
const Password = ({
|
|
242
|
+
theme,
|
|
243
|
+
fill,
|
|
244
|
+
size,
|
|
245
|
+
height,
|
|
246
|
+
width,
|
|
247
|
+
...props
|
|
248
|
+
}) => {
|
|
249
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
|
|
250
|
+
width: size || width || 24,
|
|
251
|
+
height: size || height || 24,
|
|
252
|
+
viewBox: "0 0 24 24",
|
|
253
|
+
...props,
|
|
254
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
|
|
255
|
+
fill: fill,
|
|
256
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
257
|
+
d: "M18.75 8v2.1a12.984 12.984 0 00-1.5-.1V8c0-3.15-.89-5.25-5.25-5.25S6.75 4.85 6.75 8v2a12.984 12.984 0 00-1.5.1V8c0-2.9.7-6.75 6.75-6.75S18.75 5.1 18.75 8z"
|
|
258
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
259
|
+
d: "M18.75 10.1a12.984 12.984 0 00-1.5-.1H6.75a12.984 12.984 0 00-1.5.1C2.7 10.41 2 11.66 2 15v2c0 4 1 5 5 5h10c4 0 5-1 5-5v-2c0-3.34-.7-4.59-3.25-4.9zM8.71 16.71A1.052 1.052 0 018 17a1 1 0 01-.38-.08 1.032 1.032 0 01-.33-.21A1.052 1.052 0 017 16a1 1 0 01.08-.38 1.155 1.155 0 01.21-.33 1.032 1.032 0 01.33-.21 1 1 0 011.09.21 1.155 1.155 0 01.21.33A1 1 0 019 16a1.052 1.052 0 01-.29.71zm4.21-.33a1.155 1.155 0 01-.21.33A1.052 1.052 0 0112 17a1.033 1.033 0 01-.71-.29 1.155 1.155 0 01-.21-.33A1 1 0 0111 16a1.033 1.033 0 01.29-.71 1.047 1.047 0 011.42 0A1.033 1.033 0 0113 16a1 1 0 01-.08.38zm3.79.33a1.014 1.014 0 01-1.42 0 1.014 1.014 0 010-1.42 1.047 1.047 0 011.42 0c.04.05.08.1.12.16a.556.556 0 01.09.17.636.636 0 01.06.18 1.5 1.5 0 01.02.2 1.052 1.052 0 01-.29.71z"
|
|
260
|
+
})]
|
|
261
|
+
})
|
|
262
|
+
});
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
exports.Password = Password;
|
|
266
|
+
|
|
267
|
+
const Notification = ({
|
|
268
|
+
theme,
|
|
269
|
+
fill,
|
|
270
|
+
filled,
|
|
271
|
+
size,
|
|
272
|
+
height,
|
|
273
|
+
width,
|
|
274
|
+
label,
|
|
275
|
+
...props
|
|
276
|
+
}) => {
|
|
277
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
|
|
278
|
+
width: size || width || 24,
|
|
279
|
+
height: size || height || 24,
|
|
280
|
+
viewBox: "0 0 24 24",
|
|
281
|
+
fill: "none",
|
|
282
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
283
|
+
...props,
|
|
284
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
285
|
+
fillRule: "evenodd",
|
|
286
|
+
clipRule: "evenodd",
|
|
287
|
+
d: "M18.707 8.796c0 1.256.332 1.997 1.063 2.85.553.628.73 1.435.73 2.31 0 .874-.287 1.704-.863 2.378a4.537 4.537 0 01-2.9 1.413c-1.571.134-3.143.247-4.736.247-1.595 0-3.166-.068-4.737-.247a4.532 4.532 0 01-2.9-1.413 3.616 3.616 0 01-.864-2.378c0-.875.178-1.682.73-2.31.754-.854 1.064-1.594 1.064-2.85V8.37c0-1.682.42-2.781 1.283-3.858C7.861 2.942 9.919 2 11.956 2h.09c2.08 0 4.204.987 5.466 2.625.82 1.054 1.195 2.108 1.195 3.745v.426zM9.074 20.061c0-.504.462-.734.89-.833.5-.106 3.545-.106 4.045 0 .428.099.89.33.89.833-.025.48-.306.904-.695 1.174a3.635 3.635 0 01-1.713.731 3.795 3.795 0 01-1.008 0 3.618 3.618 0 01-1.714-.732c-.39-.269-.67-.694-.695-1.173z",
|
|
288
|
+
fill: fill
|
|
289
|
+
})
|
|
290
|
+
});
|
|
291
|
+
};
|
|
292
|
+
|
|
293
|
+
exports.Notification = Notification;
|
|
294
|
+
|
|
295
|
+
const User = ({
|
|
296
|
+
theme,
|
|
297
|
+
fill,
|
|
298
|
+
filled,
|
|
299
|
+
size,
|
|
300
|
+
height,
|
|
301
|
+
width,
|
|
302
|
+
label,
|
|
303
|
+
...props
|
|
304
|
+
}) => {
|
|
305
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
|
|
306
|
+
"data-name": "Iconly/Curved/Profile",
|
|
307
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
308
|
+
viewBox: "0 0 24 24",
|
|
309
|
+
width: size || width || 24,
|
|
310
|
+
height: size || height || 24,
|
|
311
|
+
...props,
|
|
312
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
|
|
313
|
+
fill: "none",
|
|
314
|
+
stroke: fill,
|
|
315
|
+
strokeLinecap: "round",
|
|
316
|
+
strokeLinejoin: "round",
|
|
317
|
+
strokeMiterlimit: 10,
|
|
318
|
+
strokeWidth: 1.5,
|
|
319
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
320
|
+
"data-name": "Stroke 1",
|
|
321
|
+
d: "M11.845 21.662C8.153 21.662 5 21.088 5 18.787s3.133-4.425 6.845-4.425c3.692 0 6.845 2.1 6.845 4.4s-3.134 2.9-6.845 2.9z"
|
|
322
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
323
|
+
"data-name": "Stroke 3",
|
|
324
|
+
d: "M11.837 11.174a4.372 4.372 0 10-.031 0z"
|
|
325
|
+
})]
|
|
326
|
+
})
|
|
327
|
+
});
|
|
328
|
+
};
|
|
329
|
+
|
|
330
|
+
exports.User = User;
|
|
331
|
+
|
|
332
|
+
const VolumeUp = ({
|
|
333
|
+
theme,
|
|
334
|
+
fill,
|
|
335
|
+
filled,
|
|
336
|
+
size,
|
|
337
|
+
height,
|
|
338
|
+
width,
|
|
339
|
+
label,
|
|
340
|
+
...props
|
|
341
|
+
}) => {
|
|
342
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
|
|
343
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
344
|
+
viewBox: "0 0 24 24",
|
|
345
|
+
width: size || width || 24,
|
|
346
|
+
height: size || height || 24,
|
|
347
|
+
fill: "none",
|
|
348
|
+
...props,
|
|
349
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
350
|
+
fillRule: "evenodd",
|
|
351
|
+
clipRule: "evenodd",
|
|
352
|
+
d: "M13.357 6.45c-.05-.486-.103-.99-.232-1.494C12.775 3.752 11.801 3 10.758 3c-.582-.002-1.318.356-1.736.72l-3.46 2.897h-1.81c-1.333 0-2.404 1.027-2.607 2.51-.172 1.424-.214 4.11 0 5.677.186 1.567 1.21 2.579 2.607 2.579h1.81l3.527 2.94c.362.315 1 .676 1.588.676l.105.001c1.063 0 2-.78 2.35-1.98.133-.509.18-.985.224-1.445l.001-.008.047-.459c.18-1.487.18-8.739 0-10.215l-.047-.442zm4.05.045a.907.907 0 00-1.279-.237.957.957 0 00-.228 1.308c.802 1.182 1.243 2.756 1.243 4.434 0 1.677-.441 3.252-1.243 4.434a.956.956 0 00.23 1.308.905.905 0 001.277-.237c1.012-1.492 1.571-3.447 1.571-5.505s-.559-4.013-1.571-5.505zM19.29 3.22a.905.905 0 011.277.236C22.136 5.767 23 8.802 23 12c0 3.2-.864 6.234-2.433 8.544a.902.902 0 01-1.276.236.957.957 0 01-.23-1.308c1.356-1.999 2.104-4.653 2.104-7.472 0-2.818-.748-5.472-2.105-7.471a.958.958 0 01.23-1.308z",
|
|
353
|
+
fill: fill
|
|
354
|
+
})
|
|
355
|
+
});
|
|
356
|
+
};
|
|
357
|
+
|
|
358
|
+
exports.VolumeUp = VolumeUp;
|
|
359
|
+
|
|
360
|
+
const Camera = ({
|
|
361
|
+
theme,
|
|
362
|
+
fill,
|
|
363
|
+
filled,
|
|
364
|
+
size,
|
|
365
|
+
height,
|
|
366
|
+
width,
|
|
367
|
+
label,
|
|
368
|
+
...props
|
|
369
|
+
}) => {
|
|
370
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
|
|
371
|
+
width: size || width || 24,
|
|
372
|
+
height: size || height || 24,
|
|
373
|
+
viewBox: "0 0 24 24",
|
|
374
|
+
fill: "none",
|
|
375
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
376
|
+
...props,
|
|
377
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
378
|
+
fillRule: "evenodd",
|
|
379
|
+
clipRule: "evenodd",
|
|
380
|
+
d: "M17.44 6.236c.04.07.11.12.2.12 2.4 0 4.36 1.958 4.36 4.355v5.934A4.368 4.368 0 0117.64 21H6.36A4.361 4.361 0 012 16.645V10.71a4.361 4.361 0 014.36-4.355c.08 0 .16-.04.19-.12l.06-.12.106-.222a97.79 97.79 0 01.714-1.486C7.89 3.51 8.67 3.01 9.64 3h4.71c.97.01 1.76.51 2.22 1.408.157.315.397.822.629 1.31l.141.299.1.22zm-.73 3.836c0 .5.4.9.9.9s.91-.4.91-.9-.41-.909-.91-.909-.9.41-.9.91zm-6.44 1.548c.47-.47 1.08-.719 1.73-.719.65 0 1.26.25 1.72.71.46.459.71 1.068.71 1.717A2.438 2.438 0 0112 15.756c-.65 0-1.26-.25-1.72-.71a2.408 2.408 0 01-.71-1.717v-.01c-.01-.63.24-1.24.7-1.699zm4.5 4.485a3.91 3.91 0 01-2.77 1.15 3.921 3.921 0 01-3.93-3.926 3.865 3.865 0 011.14-2.767A3.921 3.921 0 0112 9.402c1.05 0 2.04.41 2.78 1.15.74.749 1.15 1.738 1.15 2.777a3.958 3.958 0 01-1.16 2.776z",
|
|
381
|
+
fill: fill
|
|
382
|
+
})
|
|
383
|
+
});
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
exports.Camera = Camera;
|
|
387
|
+
|
|
388
|
+
const Activity = ({
|
|
389
|
+
theme,
|
|
390
|
+
fill,
|
|
391
|
+
filled,
|
|
392
|
+
size,
|
|
393
|
+
height,
|
|
394
|
+
width,
|
|
395
|
+
label,
|
|
396
|
+
...props
|
|
397
|
+
}) => {
|
|
398
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
|
|
399
|
+
"data-name": "Iconly/Curved/Activity",
|
|
400
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
401
|
+
width: size || width || 24,
|
|
402
|
+
height: size || height || 24,
|
|
403
|
+
viewBox: "0 0 24 24",
|
|
404
|
+
...props,
|
|
405
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
|
|
406
|
+
fill: "none",
|
|
407
|
+
stroke: fill,
|
|
408
|
+
strokeLinecap: "round",
|
|
409
|
+
strokeLinejoin: "round",
|
|
410
|
+
strokeMiterlimit: 10,
|
|
411
|
+
strokeWidth: 1.5,
|
|
412
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
413
|
+
d: "M6.918 14.854l2.993-3.889 3.414 2.68 2.929-3.78"
|
|
414
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
415
|
+
d: "M19.668 2.35a1.922 1.922 0 11-1.922 1.922 1.921 1.921 0 011.922-1.922z"
|
|
416
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
417
|
+
d: "M20.756 9.269a20.809 20.809 0 01.194 3.034c0 6.938-2.312 9.25-9.25 9.25s-9.25-2.312-9.25-9.25 2.313-9.25 9.25-9.25a20.931 20.931 0 012.983.187"
|
|
418
|
+
})]
|
|
419
|
+
})
|
|
420
|
+
});
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
exports.Activity = Activity;
|
|
424
|
+
|
|
425
|
+
const Plus = ({
|
|
426
|
+
theme,
|
|
427
|
+
fill,
|
|
428
|
+
size,
|
|
429
|
+
height,
|
|
430
|
+
width,
|
|
431
|
+
...props
|
|
432
|
+
}) => {
|
|
433
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
|
|
434
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
435
|
+
width: size || width || 24,
|
|
436
|
+
height: size || height || 24,
|
|
437
|
+
viewBox: "0 0 24 24",
|
|
438
|
+
...props,
|
|
439
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
|
|
440
|
+
fill: "none",
|
|
441
|
+
stroke: fill,
|
|
442
|
+
strokeLinecap: "round",
|
|
443
|
+
strokeLinejoin: "round",
|
|
444
|
+
strokeWidth: 1.5,
|
|
445
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
446
|
+
d: "M6 12h12"
|
|
447
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
448
|
+
d: "M12 18V6"
|
|
449
|
+
})]
|
|
450
|
+
})
|
|
451
|
+
});
|
|
452
|
+
};
|
|
453
|
+
|
|
454
|
+
exports.Plus = Plus;
|
|
455
|
+
|
|
456
|
+
const Minus = ({
|
|
457
|
+
theme,
|
|
458
|
+
fill,
|
|
459
|
+
size,
|
|
460
|
+
height,
|
|
461
|
+
width,
|
|
462
|
+
...props
|
|
463
|
+
}) => {
|
|
464
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
|
|
465
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
466
|
+
width: size || width || 24,
|
|
467
|
+
height: size || height || 24,
|
|
468
|
+
viewBox: "0 0 24 24",
|
|
469
|
+
...props,
|
|
470
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
471
|
+
d: "M6 12h12",
|
|
472
|
+
fill: "none",
|
|
473
|
+
stroke: fill,
|
|
474
|
+
strokeLinecap: "round",
|
|
475
|
+
strokeLinejoin: "round",
|
|
476
|
+
strokeWidth: 1.5
|
|
477
|
+
})
|
|
478
|
+
});
|
|
479
|
+
};
|
|
480
|
+
|
|
481
|
+
exports.Minus = Minus;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a value to percentage based on lower and upper bound values
|
|
3
|
+
*
|
|
4
|
+
* @param value the value in number
|
|
5
|
+
* @param min the minimum value
|
|
6
|
+
* @param max the maximum value
|
|
7
|
+
*/
|
|
8
|
+
export declare function valueToPercent(value: number, min: number, max: number): number;
|
|
9
|
+
export declare function range(start: number, end: number): number[];
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.range = range;
|
|
5
|
+
exports.valueToPercent = valueToPercent;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Convert a value to percentage based on lower and upper bound values
|
|
9
|
+
*
|
|
10
|
+
* @param value the value in number
|
|
11
|
+
* @param min the minimum value
|
|
12
|
+
* @param max the maximum value
|
|
13
|
+
*/
|
|
14
|
+
function valueToPercent(value, min, max) {
|
|
15
|
+
return (value - min) * 100 / (max - min);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
function range(start, end) {
|
|
19
|
+
const length = end - start + 1;
|
|
20
|
+
return Array.from({
|
|
21
|
+
length
|
|
22
|
+
}, (_, index) => index + start);
|
|
23
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const isObject: (target: unknown) => unknown;
|
|
2
|
+
export interface MergeObject {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
}
|
|
5
|
+
export declare const renameProp: (oldProp: string, newProp: string, { [oldProp]: old, ...others }: {
|
|
6
|
+
[x: string]: any;
|
|
7
|
+
}) => {
|
|
8
|
+
[x: string]: any;
|
|
9
|
+
};
|
|
10
|
+
export declare const copyObject: (obj: any) => any;
|
|
11
|
+
export declare const omitObject: (obj: any, omitKeys: string[]) => any;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.renameProp = exports.omitObject = exports.isObject = exports.copyObject = void 0;
|
|
5
|
+
|
|
6
|
+
const isObject = target => target && typeof target === 'object';
|
|
7
|
+
|
|
8
|
+
exports.isObject = isObject;
|
|
9
|
+
|
|
10
|
+
const renameProp = (oldProp, newProp, {
|
|
11
|
+
[oldProp]: old,
|
|
12
|
+
...others
|
|
13
|
+
}) => ({
|
|
14
|
+
[newProp]: old,
|
|
15
|
+
...others
|
|
16
|
+
}); // copy an object without reference
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
exports.renameProp = renameProp;
|
|
20
|
+
|
|
21
|
+
const copyObject = obj => {
|
|
22
|
+
if (!isObject(obj)) return obj;
|
|
23
|
+
if (obj instanceof Array) return [...obj];
|
|
24
|
+
return { ...obj
|
|
25
|
+
};
|
|
26
|
+
}; // copy an object omit some keys
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
exports.copyObject = copyObject;
|
|
30
|
+
|
|
31
|
+
const omitObject = (obj, omitKeys) => {
|
|
32
|
+
if (!isObject(obj)) return obj;
|
|
33
|
+
if (obj instanceof Array) return [...obj];
|
|
34
|
+
const newObj = { ...obj
|
|
35
|
+
};
|
|
36
|
+
omitKeys.forEach(key => newObj[key] && delete newObj[key]);
|
|
37
|
+
return newObj;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
exports.omitObject = omitObject;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ElementType } from 'react';
|
|
2
|
+
export declare const tuple: <T extends string[]>(...args: T) => T;
|
|
3
|
+
declare const normalSizes: ["xs", "sm", "md", "lg", "xl"];
|
|
4
|
+
export declare const normalColors: ["default", "primary", "secondary", "success", "warning", "error", "gradient"];
|
|
5
|
+
export declare const simpleColors: ["default", "primary", "secondary", "success", "warning", "error"];
|
|
6
|
+
export declare const extendedColors: ["default", "primary", "secondary", "success", "warning", "error", "invert", "gradient"];
|
|
7
|
+
export declare const extendedColorsNoGradient: ["default", "primary", "secondary", "success", "warning", "error", "invert"];
|
|
8
|
+
export declare const extraColors: ["default", "primary", "secondary", "success", "warning", "error", "dark", "lite", "alert", "purple", "violet", "gradient", "cyan"];
|
|
9
|
+
export declare const normalLoaders: ["default", "points", "points-opacity", "gradient", "spinner"];
|
|
10
|
+
export declare const normalWeights: ["light", "normal", "bold", "extrabold", "black"];
|
|
11
|
+
export declare const textWeights: ["normal", "bold", "lighter", "bolder", "inherit", "initial", "revert", "unset"];
|
|
12
|
+
export declare const textTransforms: ["none", "capitalize", "uppercase", "lowercase", "full-width", "full-size-kana", "inherit", "initial", "revert", "unset"];
|
|
13
|
+
declare const copyTypes: ["default", "slient", "prevent"];
|
|
14
|
+
declare const triggerTypes: ["hover", "click"];
|
|
15
|
+
declare const placement: ["top", "topStart", "topEnd", "left", "leftStart", "leftEnd", "bottom", "bottomStart", "bottomEnd", "right", "rightStart", "rightEnd"];
|
|
16
|
+
declare const position: ["static", "relative", "absolute", "fixed", "sticky", "inherit", "initial", "revert", "unset"];
|
|
17
|
+
declare const objectFit: ["contain", "cover", "fill", "none", "scale-down", "inherit", "initial", "revert", "unset"];
|
|
18
|
+
declare const dividerAlign: ["start", "center", "end", "left", "right"];
|
|
19
|
+
declare const justify: ["flex-start", "center", "flex-end", "space-between", "space-around", "space-evenly"];
|
|
20
|
+
declare const alignItems: ["flex-start", "flex-end", "center", "stretch", "baseline"];
|
|
21
|
+
declare const alignContent: ["stretch", "center", "flex-start", "flex-end", "space-between", "space-around"];
|
|
22
|
+
declare const direction: ["row", "row-reverse", "column", "column-reverse"];
|
|
23
|
+
declare const wrap: ["nowrap", "wrap", "wrap-reverse"];
|
|
24
|
+
declare const display: ["flex", "block", "grid", "inline", "inline-block", "inline-flex", "inline-grid"];
|
|
25
|
+
declare const contentPosition: ["left", "right"];
|
|
26
|
+
export declare const excludedInputPropsForTextarea: ["clearable", "as", "rounded", "labelLeft", "labelRight", "contentLeft", "contentRight", "contentClickable", "contentLeftStyling", "contentRightStyling", "onContentClick", "onClearClick", "css"];
|
|
27
|
+
export declare type Display = typeof display[number];
|
|
28
|
+
export declare type Justify = typeof justify[number];
|
|
29
|
+
export declare type AlignItems = typeof alignItems[number];
|
|
30
|
+
export declare type AlignContent = typeof alignContent[number];
|
|
31
|
+
export declare type Direction = typeof direction[number];
|
|
32
|
+
export declare type Wrap = typeof wrap[number];
|
|
33
|
+
export declare type NormalSizes = typeof normalSizes[number];
|
|
34
|
+
export declare type NormalWeights = typeof normalWeights[number];
|
|
35
|
+
export declare type TextWeights = typeof textWeights[number] | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
|
|
36
|
+
export declare type TextTransforms = typeof textTransforms[number];
|
|
37
|
+
export declare type NormalColors = typeof normalColors[number];
|
|
38
|
+
export declare type SimpleColors = typeof simpleColors[number];
|
|
39
|
+
export declare type TooltipColors = typeof extendedColorsNoGradient[number];
|
|
40
|
+
export declare type NormalLoaders = typeof normalLoaders[number];
|
|
41
|
+
export declare type SnippetTypes = typeof extendedColors[number];
|
|
42
|
+
export declare type CopyTypes = typeof copyTypes[number];
|
|
43
|
+
export declare type ObjectFit = typeof objectFit[number];
|
|
44
|
+
export declare type TriggerTypes = typeof triggerTypes[number];
|
|
45
|
+
export declare type Placement = typeof placement[number];
|
|
46
|
+
export declare type Position = typeof position[number];
|
|
47
|
+
export declare type DividerAlign = typeof dividerAlign[number];
|
|
48
|
+
export declare type ContentPosition = typeof contentPosition[number];
|
|
49
|
+
export declare type BreakpointsValue = number | boolean;
|
|
50
|
+
export declare type ExcludedInputProps = typeof excludedInputPropsForTextarea[number];
|
|
51
|
+
export interface AsProp<As extends ElementType = ElementType> {
|
|
52
|
+
as?: As;
|
|
53
|
+
}
|
|
54
|
+
export {};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.tuple = exports.textWeights = exports.textTransforms = exports.simpleColors = exports.normalWeights = exports.normalLoaders = exports.normalColors = exports.extraColors = exports.extendedColorsNoGradient = exports.extendedColors = exports.excludedInputPropsForTextarea = void 0;
|
|
5
|
+
|
|
6
|
+
const tuple = (...args) => args;
|
|
7
|
+
|
|
8
|
+
exports.tuple = tuple;
|
|
9
|
+
const normalSizes = tuple('xs', 'sm', 'md', 'lg', 'xl');
|
|
10
|
+
const normalColors = tuple('default', 'primary', 'secondary', 'success', 'warning', 'error', 'gradient');
|
|
11
|
+
exports.normalColors = normalColors;
|
|
12
|
+
const simpleColors = tuple('default', 'primary', 'secondary', 'success', 'warning', 'error');
|
|
13
|
+
exports.simpleColors = simpleColors;
|
|
14
|
+
const extendedColors = tuple('default', 'primary', 'secondary', 'success', 'warning', 'error', 'invert', 'gradient');
|
|
15
|
+
exports.extendedColors = extendedColors;
|
|
16
|
+
const extendedColorsNoGradient = tuple('default', 'primary', 'secondary', 'success', 'warning', 'error', 'invert');
|
|
17
|
+
exports.extendedColorsNoGradient = extendedColorsNoGradient;
|
|
18
|
+
const extraColors = tuple('default', 'primary', 'secondary', 'success', 'warning', 'error', 'dark', 'lite', 'alert', 'purple', 'violet', 'gradient', 'cyan');
|
|
19
|
+
exports.extraColors = extraColors;
|
|
20
|
+
const normalLoaders = tuple('default', 'points', 'points-opacity', 'gradient', 'spinner');
|
|
21
|
+
exports.normalLoaders = normalLoaders;
|
|
22
|
+
const normalWeights = tuple('light', 'normal', 'bold', 'extrabold', 'black');
|
|
23
|
+
exports.normalWeights = normalWeights;
|
|
24
|
+
const textWeights = tuple(
|
|
25
|
+
/* Keyword values */
|
|
26
|
+
'normal', 'bold',
|
|
27
|
+
/* Keyword values relative to the parent */
|
|
28
|
+
'lighter', 'bolder',
|
|
29
|
+
/* Global values */
|
|
30
|
+
'inherit', 'initial', 'revert', 'unset');
|
|
31
|
+
exports.textWeights = textWeights;
|
|
32
|
+
const textTransforms = tuple(
|
|
33
|
+
/* Keyword values */
|
|
34
|
+
'none', 'capitalize', 'uppercase', 'lowercase', 'full-width', 'full-size-kana',
|
|
35
|
+
/* Global values */
|
|
36
|
+
'inherit', 'initial', 'revert', 'unset');
|
|
37
|
+
exports.textTransforms = textTransforms;
|
|
38
|
+
const copyTypes = tuple('default', 'slient', 'prevent');
|
|
39
|
+
const triggerTypes = tuple('hover', 'click');
|
|
40
|
+
const placement = tuple('top', 'topStart', 'topEnd', 'left', 'leftStart', 'leftEnd', 'bottom', 'bottomStart', 'bottomEnd', 'right', 'rightStart', 'rightEnd');
|
|
41
|
+
const position = tuple('static', 'relative', 'absolute', 'fixed', 'sticky',
|
|
42
|
+
/* Global values */
|
|
43
|
+
'inherit', 'initial', 'revert', 'unset');
|
|
44
|
+
const objectFit = tuple('contain', 'cover', 'fill', 'none', 'scale-down',
|
|
45
|
+
/* Global values */
|
|
46
|
+
'inherit', 'initial', 'revert', 'unset');
|
|
47
|
+
const dividerAlign = tuple('start', 'center', 'end', 'left', 'right');
|
|
48
|
+
const justify = tuple('flex-start', 'center', 'flex-end', 'space-between', 'space-around', 'space-evenly');
|
|
49
|
+
const alignItems = tuple('flex-start', 'flex-end', 'center', 'stretch', 'baseline');
|
|
50
|
+
const alignContent = tuple('stretch', 'center', 'flex-start', 'flex-end', 'space-between', 'space-around');
|
|
51
|
+
const direction = tuple('row', 'row-reverse', 'column', 'column-reverse');
|
|
52
|
+
const wrap = tuple('nowrap', 'wrap', 'wrap-reverse');
|
|
53
|
+
const display = tuple('flex', 'block', 'grid', 'inline', 'inline-block', 'inline-flex', 'inline-grid');
|
|
54
|
+
const contentPosition = tuple('left', 'right');
|
|
55
|
+
const excludedInputPropsForTextarea = tuple('clearable', 'as', 'rounded', 'labelLeft', 'labelRight', 'contentLeft', 'contentRight', 'contentClickable', 'contentLeftStyling', 'contentRightStyling', 'onContentClick', 'onClearClick', 'css');
|
|
56
|
+
exports.excludedInputPropsForTextarea = excludedInputPropsForTextarea;
|