mirror of
https://github.com/logseq/logseq.git
synced 2026-04-26 07:05:10 +00:00
* chore(ui): add sidebar related components * chore(shui): add sidebar core * enhance(ui): WIP polish left sidebar * enhance(ui): polish opacity value * enhance(ui): remove unnecessary css * enhance(ui): simplify the left sidebar related css * enhance(ui): polish left sidebar navigations * enhance(ui): polish navigations items * enhance(ui): polish graphs picker from the left sidebar * enhance(ui): polish graphs selector * enhance(ui): graphs dropdown content * enhance(ux): create new page for the graphs selector section * enhance(ui): remote icon for the graphs selector * enhance(ui): polish sidebar navigations filter * fix(ui): background color for the left sidebar * enhance(ui): refactor names related with the left sidebar * enhance(ux): WIP configurable navigations from the left sidebar * enhance(ux): configurable navigations popup * enhance(ux): persist user navigations from the left sidebar * fix(ui): bad graph selector type icon * fix: lint * fix: lint * enhance(ui): polish details for the left sidebar * chore: remove shadcn sidebar component * chore: remove shadcn sidebar related component * fix(ui): text overflow for the page name item
112 lines
3.5 KiB
JSON
112 lines
3.5 KiB
JSON
{
|
|
"name": "ui",
|
|
"version": "0.0.1",
|
|
"description": "UI components for Logseq.",
|
|
"author": "Logseq",
|
|
"scripts": {
|
|
"watch:ui:examples": "parcel serve ./examples/index.html",
|
|
"build:ui:only": "parcel build --target ui",
|
|
"build:ui": "rm -rf .parcel-cache && yarn build:ui:only",
|
|
"watch:storybook": "storybook dev -p 6006",
|
|
"install:primitives": "rm -rf primitives/ && git clone https://github.com/xyhp915/primitives.git --depth=1",
|
|
"build:primitives": "yarn install:primitives && cd primitives/ && yarn install && yarn build",
|
|
"preinstall": "test -f primitives/package.json || yarn build:primitives",
|
|
"postinstall": "yarn build:ui"
|
|
},
|
|
"dependencies": {
|
|
"@hookform/resolvers": "^3.3.2",
|
|
"@radix-ui/colors": "^3.0.0",
|
|
"@radix-ui/react-alert-dialog": "^1.0.5",
|
|
"@radix-ui/react-avatar": "^1.0.4",
|
|
"@radix-ui/react-checkbox": "^1.0.4",
|
|
"@radix-ui/react-context-menu": "^2.1.5",
|
|
"@radix-ui/react-dialog": "^1.1.2",
|
|
"@radix-ui/react-dropdown-menu": "^2.0.6",
|
|
"@radix-ui/react-label": "^2.0.2",
|
|
"@radix-ui/react-popover": "^1.0.7",
|
|
"@radix-ui/react-radio-group": "^1.1.3",
|
|
"@radix-ui/react-select": "^2.0.0",
|
|
"@radix-ui/react-separator": "^1.1.0",
|
|
"@radix-ui/react-slider": "^1.1.2",
|
|
"@radix-ui/react-slot": "^1.1.0",
|
|
"@radix-ui/react-switch": "^1.0.3",
|
|
"@radix-ui/react-toast": "^1.1.5",
|
|
"@radix-ui/react-toggle": "^1.0.3",
|
|
"@radix-ui/react-toggle-group": "^1.0.4",
|
|
"@radix-ui/react-tooltip": "^1.1.4",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.0.0",
|
|
"cmdk": "^0.2.0",
|
|
"date-fns": "^2.30.0",
|
|
"lucide-react": "^0.468.0",
|
|
"react": "^18",
|
|
"react-day-picker": "^8.9.1",
|
|
"react-dom": "^18",
|
|
"react-hook-form": "^7.48.2",
|
|
"react-remove-scroll": "^2.5.7",
|
|
"tailwind-merge": "^2.0.0",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"uniqolor": "1.1.1",
|
|
"yup": "^1.3.2",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.23.2",
|
|
"@babel/preset-env": "^7.23.2",
|
|
"@babel/preset-react": "^7.22.15",
|
|
"@babel/preset-typescript": "^7.23.2",
|
|
"@storybook/addon-essentials": "^7.5.3",
|
|
"@storybook/addon-interactions": "^7.5.3",
|
|
"@storybook/addon-links": "^7.5.3",
|
|
"@storybook/addon-onboarding": "^1.0.8",
|
|
"@storybook/addon-styling-webpack": "^0.0.5",
|
|
"@storybook/addon-toolbars": "^7.5.3",
|
|
"@storybook/blocks": "^7.5.3",
|
|
"@storybook/react": "^7.5.3",
|
|
"@storybook/react-webpack5": "^7.5.3",
|
|
"@storybook/testing-library": "^0.2.2",
|
|
"@types/babel__core": "^7",
|
|
"@types/babel__preset-env": "^7",
|
|
"@types/prop-types": "^15",
|
|
"@types/react": "17",
|
|
"@types/react-dom": "17",
|
|
"parcel": "2.8.3",
|
|
"postcss": "^8.4.31",
|
|
"postcss-loader": "^7.3.3",
|
|
"postcss-nesting": "^12.0.1",
|
|
"storybook": "^7.5.3",
|
|
"string-width": "4.2.0",
|
|
"strip-ansi": "^6",
|
|
"style-loader": "3.3.1"
|
|
},
|
|
"alias": {
|
|
"react": {
|
|
"global": "React"
|
|
},
|
|
"react-dom": {
|
|
"global": "ReactDOM"
|
|
},
|
|
"react/jsx-dev-runtime": "./node_modules/react/jsx-dev-runtime.js",
|
|
"react/jsx-runtime": "./node_modules/react/jsx-runtime.js",
|
|
"@/*": "./@/$1",
|
|
"@radix-ui/react-*": "./primitives/packages/react/$1"
|
|
},
|
|
"targets": {
|
|
"main": false,
|
|
"ui": {
|
|
"source": "src/ui.ts",
|
|
"outputFormat": "global",
|
|
"includeNodeModules": {
|
|
"react": false,
|
|
"react-dom": false
|
|
}
|
|
}
|
|
},
|
|
"resolutions": {
|
|
"jackspeak": "^2",
|
|
"string-width": "^4",
|
|
"strip-ansi": "^6"
|
|
},
|
|
"license": "MIT"
|
|
}
|