@chem-po/react-web 0.0.7 → 0.0.9
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/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +46 -48
- package/dist/index.d.ts +46 -48
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/components/auth/SignIn.tsx +1 -1
- package/src/components/box/CollapseHorizontal.tsx +1 -0
- package/src/components/box/ContentBox.tsx +1 -1
- package/src/components/box/ExpandOnMount.tsx +1 -1
- package/src/components/box/FullSizeContainer.tsx +1 -1
- package/src/components/box/MobileFrame/index.tsx +1 -1
- package/src/components/button/Toggle.tsx +1 -1
- package/src/components/button/ViewButton.tsx +1 -1
- package/src/components/feed/FeedContentPane.tsx +1 -1
- package/src/components/feed/MediaFeedBackground.tsx +1 -1
- package/src/components/feed/MediaFeedRefresh.tsx +1 -1
- package/src/components/feed/MediaFeedSwipeUp.tsx +1 -0
- package/src/components/feed/context.tsx +1 -1
- package/src/components/form/Condition.tsx +1 -1
- package/src/components/form/Field.tsx +1 -1
- package/src/components/form/Form.tsx +1 -1
- package/src/components/form/FormFooter.tsx +1 -0
- package/src/components/form/UploadProgress/index.tsx +1 -1
- package/src/components/form/input/Editable.tsx +1 -1
- package/src/components/form/input/InputSlider.tsx +1 -0
- package/src/components/form/input/OptionalTag.tsx +1 -1
- package/src/components/form/input/StandaloneInput.tsx +1 -1
- package/src/components/form/input/boolean/index.tsx +1 -1
- package/src/components/form/input/color/index.tsx +1 -1
- package/src/components/form/input/date/index.tsx +1 -1
- package/src/components/form/input/datetime/index.tsx +1 -1
- package/src/components/form/input/file.tsx +4 -4
- package/src/components/form/input/input.tsx +1 -1
- package/src/components/form/input/multipleSelect/index.tsx +1 -1
- package/src/components/form/input/number/index.tsx +1 -1
- package/src/components/form/input/select/index.tsx +1 -1
- package/src/components/form/input/socialMedia/index.tsx +8 -1
- package/src/components/form/input/text/index.tsx +1 -1
- package/src/components/form/input/text/textarea.tsx +1 -1
- package/src/components/form/input/time/index.tsx +1 -1
- package/src/components/form/view/file.tsx +1 -1
- package/src/components/form/view/index.tsx +1 -1
- package/src/components/form/view/multipleSelect.tsx +1 -1
- package/src/components/form/view/select.tsx +1 -1
- package/src/components/list/Body/InfiniteScrollGridBody.tsx +1 -1
- package/src/components/list/Body/InfiniteScrollListBody.tsx +1 -1
- package/src/components/list/Body/ListBody.tsx +1 -0
- package/src/components/list/Body/PagedGridBody.tsx +1 -1
- package/src/components/list/Body/PagedListBody.tsx +1 -1
- package/src/components/list/DataList.tsx +1 -0
- package/src/components/list/ListContainer.tsx +1 -0
- package/src/components/list/ListContent.tsx +1 -1
- package/src/components/list/ListCreate.tsx +1 -1
- package/src/components/list/ListFilters.tsx +1 -1
- package/src/components/list/ListFooter.tsx +1 -1
- package/src/components/list/ListHeader.tsx +1 -1
- package/src/components/list/ListItem/ListCell.tsx +1 -1
- package/src/components/list/ListItem/ListRow.tsx +1 -1
- package/src/components/list/ListItemView.tsx +1 -1
- package/src/components/list/ListSort.tsx +1 -1
- package/src/components/list/NoItems.tsx +1 -1
- package/src/components/loading/CircularProgress.tsx +1 -0
- package/src/components/loading/Loading.tsx +1 -1
- package/src/components/loading/LoadingImage.tsx +1 -1
- package/src/components/loading/LoadingSwitch.tsx +1 -1
- package/src/components/media/PlayButton.tsx +1 -0
- package/src/components/modal/DefaultModal.tsx +1 -1
- package/src/components/modal/DesktopModal.tsx +1 -0
- package/src/components/modal/MobileModal.tsx +1 -1
- package/src/components/nav/NavBar.tsx +1 -1
- package/src/components/overlay/ImageViewOverlay.tsx +1 -1
- package/src/components/overlay/MobileOverlay.tsx +1 -0
- package/src/components/text/GradientText/index.tsx +1 -0
- package/src/components/text/NumberTicker.tsx +1 -1
- package/src/components/theme/colorMode/DarkModeToggle.tsx +1 -1
- package/src/components/view/ErrorView.tsx +1 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ButtonProps, Center, IconButton, Image } from '@chakra-ui/react'
|
|
2
2
|
import { SpotifyTrack, WithId } from '@chem-po/core'
|
|
3
3
|
import { usePlaylist } from '@chem-po/react'
|
|
4
|
+
import React from 'react'
|
|
4
5
|
import { useActiveMedia, usePlayer } from '../../store/usePlayer'
|
|
5
6
|
|
|
6
7
|
export const PlayButton = ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Flex, useColorModeValue } from '@chakra-ui/react'
|
|
2
2
|
import { useMobileFrame } from '@chem-po/react'
|
|
3
|
-
import { useEffect, useRef, useState } from 'react'
|
|
3
|
+
import React, { useEffect, useRef, useState } from 'react'
|
|
4
4
|
import { MobileOverlay } from '../overlay/MobileOverlay'
|
|
5
5
|
import { DefaultModalProps } from './type'
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Button, Flex, Image, useColorModeValue } from '@chakra-ui/react'
|
|
2
2
|
import { palette } from '@chem-po/core'
|
|
3
3
|
import { useViews, View } from '@chem-po/react'
|
|
4
|
-
import { PropsWithChildren, useMemo } from 'react'
|
|
4
|
+
import React, { PropsWithChildren, useMemo } from 'react'
|
|
5
5
|
import { Link, useLocation } from 'react-router-dom'
|
|
6
6
|
|
|
7
7
|
export const NAV_BAR_HEIGHT = 50
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CloseIcon } from '@chakra-ui/icons'
|
|
2
2
|
import { Center, IconButton, Image, Modal, ModalContent, ModalOverlay } from '@chakra-ui/react'
|
|
3
3
|
import { useScreen } from '@chem-po/react'
|
|
4
|
-
import { SyntheticEvent, useCallback, useMemo, useState } from 'react'
|
|
4
|
+
import React, { SyntheticEvent, useCallback, useMemo, useState } from 'react'
|
|
5
5
|
import { LoadingLogo } from '../loading/Loading'
|
|
6
6
|
|
|
7
7
|
export const ImageViewOverlay = ({ src, onClose }: { src: string; onClose: () => void }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MoonIcon, SunIcon } from '@chakra-ui/icons'
|
|
2
2
|
import { Flex, FlexProps, IconButton, useColorMode, useColorModeValue } from '@chakra-ui/react'
|
|
3
|
-
|
|
3
|
+
import React from 'react'
|
|
4
4
|
export const DarkModeToggle = () => {
|
|
5
5
|
const { colorMode, toggleColorMode } = useColorMode()
|
|
6
6
|
const bg = useColorModeValue('gray.200', 'whiteAlpha.200')
|