mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
* enhance(ui): login form * enhance(ui): add localization support with translate and locale management * enhance(ui): WIP implement new authentication forms with context management * enhance(ui): add password visibility toggle to input row * enhance(ui): adjust padding for password visibility toggle * enhance(i18n): implement internationalization support for authentication UI * enhance(ui): implement sign in and sign up functionality with loading state * enhance(ui): add session management and error handling in login form * enhance(ui): add confirm code form and enhance authentication flow * enhance(ui): improve sign-in flow and confirm code handling * enhance(ui): add warning variant to alerts and improve error handling * enhance(ui): implement countdown timer for code resend functionality * enhance(ui): implement countdown timer for password reset and enhance login flow * enhance(ui): export authentication and enhance UI components * enhance(ui): integrate new login component and refresh token handling * chore: clear amplify related codes * enhance(i18n): normalize language codes and update locale handling * enhance(auth): add multilingual support for signup and password reset flows * enhance(ui): update login styles to inherit text color * enhance(ui): adjust input color variables for improved accessibility * enhance(auth): add password policy validation and tips in multiple languages * enhance(ui): improve localization handling and update alert styles * enhance(mobile): enhance login modal styling and accessibility * fix(ui): update password validation regex for special characters * enhance(ui): add padding to card header in login dialog --------- Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
121 lines
3.6 KiB
JSON
121 lines
3.6 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:silkhq:only": "parcel build --target silkhq",
|
|
"build:ui": "rm -rf .parcel-cache && yarn build:ui:only && yarn build:silkhq:only",
|
|
"watch:storybook": "storybook dev -p 6006",
|
|
"postinstall": "yarn build:ui"
|
|
},
|
|
"dependencies": {
|
|
"@hookform/resolvers": "^3.3.2",
|
|
"@radix-ui/colors": "^3.0.0",
|
|
"@radix-ui/react-alert-dialog": "^1.1.11",
|
|
"@radix-ui/react-avatar": "^1.1.7",
|
|
"@radix-ui/react-checkbox": "^1.2.3",
|
|
"@radix-ui/react-context-menu": "^2.2.12",
|
|
"@radix-ui/react-dialog": "^1.1.11",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.12",
|
|
"@radix-ui/react-label": "^2.1.4",
|
|
"@radix-ui/react-popover": "^1.1.11",
|
|
"@radix-ui/react-radio-group": "^1.3.4",
|
|
"@radix-ui/react-select": "^2.2.2",
|
|
"@radix-ui/react-separator": "^1.1.4",
|
|
"@radix-ui/react-slider": "^1.3.2",
|
|
"@radix-ui/react-slot": "^1.2.0",
|
|
"@radix-ui/react-switch": "^1.2.2",
|
|
"@radix-ui/react-tabs": "^1.1.9",
|
|
"@radix-ui/react-toast": "^1.2.11",
|
|
"@radix-ui/react-toggle": "^1.1.6",
|
|
"@radix-ui/react-toggle-group": "^1.1.7",
|
|
"@radix-ui/react-tooltip": "^1.2.4",
|
|
"@silk-hq/components": "^0.9.10",
|
|
"aws-amplify": "^6.15.6",
|
|
"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",
|
|
"buffer": "^5.5.0",
|
|
"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"
|
|
},
|
|
"targets": {
|
|
"main": false,
|
|
"ui": {
|
|
"source": "src/ui.ts",
|
|
"outputFormat": "global",
|
|
"includeNodeModules": {
|
|
"react": false,
|
|
"react-dom": false
|
|
}
|
|
},
|
|
"silkhq": {
|
|
"source": "src/silkhq/silkhq.ts",
|
|
"outputFormat": "global",
|
|
"includeNodeModules": {
|
|
"react": false,
|
|
"react-dom": false
|
|
}
|
|
}
|
|
},
|
|
"resolutions": {
|
|
"jackspeak": "^2",
|
|
"string-width": "^4",
|
|
"strip-ansi": "^6"
|
|
},
|
|
"license": "MIT"
|
|
}
|