Pavel 84ec492292
Add more components, message actions & reactions (#339)
* hide sidebar on small screen

* add reply component

* add radix dependencies

* add dropdown menu component

* add popover component

* add tooltip component

* add react button component

* add reaction popover

* update chat message actions

* add basic dialog and sheet components

* add ref to Button component

* add chat message reactions

* add reply and reactions to chat message

* remove console.log

* add dropdown menu to topbar

* add ref and support aria in IconButton

* yarn.lock

* add stylesheet reset to storybook

* add pinned state to message

* remove extraneous component

* add all button variants

* fix button icons

* use IconButton in actions

* remove erroneous character

* add reply to composer + simplify

* use correct button in reply
2023-02-14 17:36:38 +01:00

58 lines
1.7 KiB
JSON

{
"name": "@status-im/components",
"version": "0.0.1",
"sideEffects": [
"*.css"
],
"private": true,
"types": "src/index.tsx",
"main": "src/index.tsx",
"files": [
"types",
"dist"
],
"scripts": {
"dev": "tamagui-build --watch",
"build": "tamagui-build",
"typegen": "tsc --noEmit false --emitDeclarationOnly || true",
"storybook": "TAMAGUI_TARGET='web' storybook dev -p 3001",
"storybook:build": "TAMAGUI_TARGET='web' storybook build"
},
"peerDependencies": {
"react-native-web": "^0.18.0"
},
"dependencies": {
"@radix-ui/react-dropdown-menu": "^2.0.2",
"@radix-ui/react-popover": "^1.0.3",
"@radix-ui/react-tooltip": "^1.0.3",
"@status-im/icons": "*",
"@tamagui/animations-css": "1.0.15",
"@tamagui/animations-react-native": "1.0.15",
"@tamagui/core": "1.0.15",
"@tamagui/font-inter": "1.0.15",
"@tamagui/react-native-media-driver": "1.0.15",
"@tamagui/shorthands": "1.0.15",
"@tamagui/theme-base": "1.0.15",
"tamagui": "1.0.15"
},
"devDependencies": {
"@storybook/addon-essentials": "7.0.0-beta.21",
"@storybook/addon-interactions": "7.0.0-beta.21",
"@storybook/addon-links": "7.0.0-beta.21",
"@storybook/blocks": "7.0.0-beta.21",
"@storybook/react": "7.0.0-beta.21",
"@storybook/react-vite": "7.0.0-beta.21",
"@storybook/testing-library": "^0.0.13",
"@tamagui/build": "1.0.15",
"@tamagui/vite-plugin": "1.0.15",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-native-svg": "^13.7.0",
"react-native-web": "^0.18.0",
"storybook": "7.0.0-beta.21",
"storybook-addon-designs": "7.0.0-beta.2",
"storybook-dark-mode": "^2.0.5",
"vite": "^4.0.4"
}
}