status-web/packages/status-react/package.json

94 lines
2.6 KiB
JSON
Raw Normal View History

{
"name": "@status-im/react",
2022-10-09 23:58:52 +00:00
"version": "0.1.1",
"license": "MIT OR Apache-2.0",
"type": "module",
"exports": {
"types": "./dist/types/index.d.ts",
"import": "./dist/index.es.js",
"default": "./dist/index.es.js"
},
"module": "dist/index.es.js",
"types": "dist/types/index.d.ts",
"repository": {
"url": "https://github.com/status-im/status-web.git",
"directory": "packages/status-react",
"type": "git"
},
"bugs": {
"url": "https://github.com/status-im/status-web/issues"
},
"scripts": {
2023-03-13 20:48:42 +00:00
"#test": "vitest",
2022-06-28 14:54:21 +00:00
"dev": "vite build --watch --mode development",
"build": "vite build",
2023-03-14 12:49:33 +00:00
"postbuild": "yarn build:types",
"build:types": "tsc --noEmit false --emitDeclarationOnly || true",
"lint": "eslint src",
2023-03-13 20:48:42 +00:00
"typecheck": "tsc",
2023-01-20 14:18:44 +00:00
"clean": "rimraf dist node_modules .turbo"
},
"dependencies": {
"@hcaptcha/react-hcaptcha": "^1.0.0",
"@radix-ui/react-accessible-icon": "^0.1.4",
"@radix-ui/react-alert-dialog": "^0.1.7",
2022-04-11 19:29:58 +00:00
"@radix-ui/react-checkbox": "^0.1.5",
"@radix-ui/react-collapsible": "^0.1.6",
2022-04-11 19:04:05 +00:00
"@radix-ui/react-compose-refs": "^0.1.0",
"@radix-ui/react-context-menu": "^0.1.6",
"@radix-ui/react-dialog": "^0.1.7",
"@radix-ui/react-dropdown-menu": "^0.1.6",
2022-04-11 19:29:58 +00:00
"@radix-ui/react-label": "^0.1.5",
2022-03-31 13:15:24 +00:00
"@radix-ui/react-popover": "^0.1.6",
2022-03-18 13:31:56 +00:00
"@radix-ui/react-separator": "^0.1.4",
Add Activity Center (#312) * add activityCenter.ts * use activityCenter.ts * add "Launch via Vite Node" * remove comments * add comments * type hook * reverse order of notifications * remove `activityCenter` from `provider.tsx` * set `count`'s default value * ref `ChatMessage` by id instead of object reference * Revert "ref `ChatMessage` by id instead of object reference" This reverts commit 1284386d22146345d1778b92bf104b49781bd4cb. * add badge `totalCount` * add `@radix-ui/react-tabs` * skip non-mentions * update comments * add `member` to `ChatMessage` * add `MarkAllAsReadIcon` * add `40` avatar variant * add `initialsCount` to `Avatar` * add `TinyReplyIcon` * use `Popover` * move components * move components * wip * ignore clicks on tags themselves * add root route * use chat display name * fix icons * use `asChild` for tabs * remove `vertical` * use `value` and `onValueChange` * use active state with `compoundVariants` * use `&[data-state]...` instead of `compoundVarinats` and `active` prop * fixup `chatDisplayName` * postion badge * prevent dragging of the whole page in either direction * add tooltips * change message's background on hover * change navigation style * add `category` to `removeNotifications` * prevent deleting of messages that are not mentions or replies from activity center * show members sidebar by default * fix members layout * add comment * add `date-fns` * add date separator * comment * move `Badge` to `/system` * move `Tag` to `/system` * comment `Text` * replace `Link` for `useNavigate` * move `Activity` to `/system` * comment * export `Notification` * update fixtures in `activityCenter` * remove fixtures * movet `Tabs` to `/system` * update `mapChatMessage` * update `.eslintignore` * resolve typecheck errors * update `.prettierignore` * resolve formatting error * upgrade tooltip * use `scrollIntoView` * remove comments * rename `close` to `onNavigateChange` * revert scrolling changes in `/member-sidebar` * rename members label from `Online` to `All` * rename `initialsCount` and use union * rename `MarkAllAsReadIcon` * rename `selected` * fix typo * revert formatting * close `Avatar` * use `css` where possible without changing elements * extract props types to interfaces * rename `ActivityCenter` * remove `overflow` * replace `style` for not yet stitched elements * revert global style changes
2022-10-07 18:02:17 +00:00
"@radix-ui/react-tabs": "^1.0.0",
2023-03-13 21:24:39 +00:00
"@radix-ui/react-toast": "^0.1.1",
2022-04-11 19:04:05 +00:00
"@radix-ui/react-toggle-group": "^0.1.5",
Add Activity Center (#312) * add activityCenter.ts * use activityCenter.ts * add "Launch via Vite Node" * remove comments * add comments * type hook * reverse order of notifications * remove `activityCenter` from `provider.tsx` * set `count`'s default value * ref `ChatMessage` by id instead of object reference * Revert "ref `ChatMessage` by id instead of object reference" This reverts commit 1284386d22146345d1778b92bf104b49781bd4cb. * add badge `totalCount` * add `@radix-ui/react-tabs` * skip non-mentions * update comments * add `member` to `ChatMessage` * add `MarkAllAsReadIcon` * add `40` avatar variant * add `initialsCount` to `Avatar` * add `TinyReplyIcon` * use `Popover` * move components * move components * wip * ignore clicks on tags themselves * add root route * use chat display name * fix icons * use `asChild` for tabs * remove `vertical` * use `value` and `onValueChange` * use active state with `compoundVariants` * use `&[data-state]...` instead of `compoundVarinats` and `active` prop * fixup `chatDisplayName` * postion badge * prevent dragging of the whole page in either direction * add tooltips * change message's background on hover * change navigation style * add `category` to `removeNotifications` * prevent deleting of messages that are not mentions or replies from activity center * show members sidebar by default * fix members layout * add comment * add `date-fns` * add date separator * comment * move `Badge` to `/system` * move `Tag` to `/system` * comment `Text` * replace `Link` for `useNavigate` * move `Activity` to `/system` * comment * export `Notification` * update fixtures in `activityCenter` * remove fixtures * movet `Tabs` to `/system` * update `mapChatMessage` * update `.eslintignore` * resolve typecheck errors * update `.prettierignore` * resolve formatting error * upgrade tooltip * use `scrollIntoView` * remove comments * rename `close` to `onNavigateChange` * revert scrolling changes in `/member-sidebar` * rename members label from `Online` to `All` * rename `initialsCount` and use union * rename `MarkAllAsReadIcon` * rename `selected` * fix typo * revert formatting * close `Avatar` * use `css` where possible without changing elements * extract props types to interfaces * rename `ActivityCenter` * remove `overflow` * replace `style` for not yet stitched elements * revert global style changes
2022-10-07 18:02:17 +00:00
"@radix-ui/react-tooltip": "^1.0.0",
"@radix-ui/react-visually-hidden": "^0.1.4",
2022-10-09 23:58:52 +00:00
"@status-im/js": "0.1.1",
2022-06-09 12:48:54 +00:00
"@stitches/react": "^1.2.8",
Add Activity Center (#312) * add activityCenter.ts * use activityCenter.ts * add "Launch via Vite Node" * remove comments * add comments * type hook * reverse order of notifications * remove `activityCenter` from `provider.tsx` * set `count`'s default value * ref `ChatMessage` by id instead of object reference * Revert "ref `ChatMessage` by id instead of object reference" This reverts commit 1284386d22146345d1778b92bf104b49781bd4cb. * add badge `totalCount` * add `@radix-ui/react-tabs` * skip non-mentions * update comments * add `member` to `ChatMessage` * add `MarkAllAsReadIcon` * add `40` avatar variant * add `initialsCount` to `Avatar` * add `TinyReplyIcon` * use `Popover` * move components * move components * wip * ignore clicks on tags themselves * add root route * use chat display name * fix icons * use `asChild` for tabs * remove `vertical` * use `value` and `onValueChange` * use active state with `compoundVariants` * use `&[data-state]...` instead of `compoundVarinats` and `active` prop * fixup `chatDisplayName` * postion badge * prevent dragging of the whole page in either direction * add tooltips * change message's background on hover * change navigation style * add `category` to `removeNotifications` * prevent deleting of messages that are not mentions or replies from activity center * show members sidebar by default * fix members layout * add comment * add `date-fns` * add date separator * comment * move `Badge` to `/system` * move `Tag` to `/system` * comment `Text` * replace `Link` for `useNavigate` * move `Activity` to `/system` * comment * export `Notification` * update fixtures in `activityCenter` * remove fixtures * movet `Tabs` to `/system` * update `mapChatMessage` * update `.eslintignore` * resolve typecheck errors * update `.prettierignore` * resolve formatting error * upgrade tooltip * use `scrollIntoView` * remove comments * rename `close` to `onNavigateChange` * revert scrolling changes in `/member-sidebar` * rename members label from `Online` to `All` * rename `initialsCount` and use union * rename `MarkAllAsReadIcon` * rename `selected` * fix typo * revert formatting * close `Avatar` * use `css` where possible without changing elements * extract props types to interfaces * rename `ActivityCenter` * remove `overflow` * replace `style` for not yet stitched elements * revert global style changes
2022-10-07 18:02:17 +00:00
"date-fns": "^2.29.3",
"emoji-mart": "^3.0.1",
"html-entities": "^2.3.2",
2022-04-11 19:03:41 +00:00
"qrcode.react": "^3.0.1",
2022-06-04 11:09:49 +00:00
"react-content-loader": "^6.2.0",
"react-is": "^17.0.2",
2022-04-11 19:04:05 +00:00
"react-router-dom": "^6.3.0",
"tinykeys": "^1.4.0"
},
"devDependencies": {
"@types/emoji-mart": "^3.0.6",
"@types/hcaptcha__react-hcaptcha": "^0.1.5",
"@types/node": "^16.9.6",
2023-03-13 21:24:39 +00:00
"@types/react": "^18.0.28",
"@vitejs/plugin-react": "^1.3.2",
[website] Add blog (#417) * add ghost api * connect blog overview page * connect and render post detail * add processing to server * update blog detail page * add eslint-plugin-tailwindcss * add @tanstack/react-query * truncate text by numberOfLines * use ComponentPropsWithRef to infer style prop type * update ghost fns * update index * add tag page * add author page * update / * update /tag * update /author * update detail page * fix posts type * disable redirect * remove global background - not found pages - pages without common layout (preview) * tmp: hide nav on smaller screens * update app layout spacing * remove text truncating * update / spacing and sizing * update .vscode/settings.json * update .eslintrc * update prettier-plugin-tailwindcss * sort tailwind classes * add packages/eslint-config-custom * use turbo lint * use tailwind.config.cjs see https://github.com/francoismassart/eslint-plugin-tailwindcss/issues/212 * reset global line-height * fix lint-staged * update color tokens * update spacing and sizes * Update apps/website/src/lib/ghost.ts Co-authored-by: Pavel <14926950+prichodko@users.noreply.github.com> * update layout max width * update card min width * set line-height * set overflow on pre * use flex for markdown content to prevent overflow * collect follow-ups * add visibility filter * update page count * rename var * remove filter * use prod ghost api key * update ghost api * revert line-height * add limit to getPosts params * update visible posts * add related articles * add env vars to gh * rename eslint config package * update gh vars * rename envs * set emtpy array to related posts * fix lint-staged * prevent importing server envs on client * set limit --------- Co-authored-by: Felicio Mununga <felicio@users.noreply.github.com>
2023-06-21 10:35:48 +00:00
"@status-im/eslint-config": "*",
"happy-dom": "^5.3.1"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0"
2022-06-30 13:31:50 +00:00
},
"files": [
"dist/",
"!dist/**/*.map",
"!dist/tsconfig.tsbuildinfo",
"LICENSE-MIT",
"LICENSE-APACHE-v2",
"package.json"
],
"publishConfig": {
"access": "public"
[website] Add documentation (#403) * setup md/mdx * add test page * setup mdx provider * Add breadcrumbs * links -> routes * add information box * add more remark plugins * text InformationBox * setup contentlayer * add testing docs folder * setup docs static generation * add ssg to blog too * add Shortcut component * add SearchButton * add hook for keyboard shortcuts * update main docs page * update main learn page content * side-bar -> sidebar-menu * rename docs pages * add heading anchors, use new components * add table of contents to docs * move styling to breadcrumbs * cleanup markdown examples * change slugify fn * update getting-started.md * add highlight matches component * update learn pages * rename website InformationBox to Admonition * ?enable user-select * add static helpers to epics * simplify components structure * update insights layout * add link tree utils * add search engine * update docs import * update contenlayer * add docs indexer * support code block highlighting * search index * fix types * remove supporting files * update tree builder * make build work * update docs * update label * update toc * add config.json * update menu * search index import * learn -> help * fix md file * update toc * fix code snippets * add help index route * remove testing files * add original docs * migrate getting started * migrate messaging-and-web3-browser docs * migrate network-nodes-and-statistics docs * handle empty content * add navigation config * wip * migrate status-wallet docs * migrate to new admonitions format * migrate your-profile-and-preferences docs * migrate part of status-communities docs * mv * rm log * index * fix lint * fix warn * fix title * fix docs layout * udpate next.config * use lowercase lang * generate contentlayer types before typechecking * update docs images * update help routes --------- Co-authored-by: Felicio Mununga <felicio@users.noreply.github.com>
2023-06-27 20:30:11 +00:00
},
"lint-staged": {
"*.{ts,tsx,js,jsx,mjs}": [
"eslint",
"prettier --write"
],
"*.{md,mdx,yml,yaml,json}": [
"prettier --write"
]
}
}