mirror of
https://github.com/logseq/logseq.git
synced 2026-05-28 06:34:34 +00:00
* enhance(plugin): call apis with the sdk ns * enhance(plugin): types * enhance(api): get value from the computed style * enhance(api): types * enhance(plugin): types * enhance(plugin): types * fix: lint * fix(apis): incorrect shortcut command registion for block editing mode #10392 * fix(api): types * enhance(apis): support register shortcuts with multi binding vals * fix(plugins): normalize command key to make the internal keyword legal * chore(plugin): build libs core * chore(plugin): bump version * enhance(apis): normalize apis cljs data * chore(plugin): update libs user sdk * chore(plugin): CHANGELOG.md * fix: typo * feat(ui): add package * Update .gitignore * feat(ui): set up shui infrastructure * feat(ui): add storybook macro * enhance(ui): storybook themes * feat(ui): adapt ui button to classic * enhance(ui): shui story * feat(ui): shui toaster * enhance(ui): shui toaster * feat(ui): imperative API for shui toaster * enhance(shui): update API for shui toaster * enhance(shui): update hooks for shui toaster * enhance(shui): remove debug * feat(ui): story for the shui toaster * feat(ui): story * feat(ui): story docs * feat(ui): more variants for the shui toaster * feat(ui): story * fix(ux): support querying plugins with right space chars * feat(ui): add shui `Alert` component * enhance(ui): shui demo * feat(ui): add logseq UI readme * enhance(ui): default shui theme * feat(ui): add shui `Badge` component & demo * fix(ui): outline theme for shui button * feat(ui): custom icon for the toaster item * feat(ui): add shui dropdown & demo * feat(ui): WIP shui form related components * feat(ui): WIP shui form-related components * feat(ui): WIP shui form * feat(ui): WIP shui form state for validation * fix(ui): missing rounded for ui button * feat(ui): add yup for shui form as default validation resolver * enhance(ui): simplify validation schema input for the shui form * fix(ui): accent ring color for input * feat(ui): add shui switch * feat(ui): add shui checkbox & switch * feat(ui): add shui radio group * fix(ui): missing file * feat(ui): add Textarea component * feat(ui): add shui card & skeleton * feat(ui): add shui context menu component & demo * fix(ui): accent color for the context menu item * feat(ui): add shui select component & demo * enhance(ui): ui css priority * feat(ui): add shui calendar & ui details * feat(ui): add shui popover * feat(ui): add date picker & demo * feat(ui): add shui dialog * feat(ui): WIP add shui dialog * feat(ui): WIP shui dialog as modal * feat(ui): WIP imperative APIs for the shui modal * feat(ui): imperative APIs for the shui modal/alert * feat(ui): support imperative API alert!/confirm! return promise * feat(ui): simplify shui components resources * feat(ui): response layout for the demo ui page * feat(ui): simplify colors * feat(ui): simplify colors * feat(ui): simplify colors * refactor(ui): WIP Adapt to the new button component * refactor(ui): polish new button & colors * fix(ui): the new theme color for the plugin settings nav item link * fix(ui): blockquote colors * enhance(ui): more custom colors for shui button * feat(ui): WIP make logseq green as a theme color * enhance(ui): polish logseq classical theme color * fix(ui): theme details of all pages * enhance(ui): polish logseq theme color for dark mode * fix(ui): missing table style * refactor(ui): simplify the all shui buttons & shortcuts for the cmdk component * fix(ui): missing file * refactor(ui): clear up stuff * fix(ui): theme color related issues * enhance(ui): polish button style * enhance(ui): polish the keymap setting pane * fix(ui): hint button from the cmdk pane footer * fix(ui): logseq colors for the storybook * enhance(ui): stories for the shui components * fix(ui): active color for the old toggle component * enhance(ui): keep the constant size of the settings pane * fix(ui): polish search input for the plugins pane * enhance(ui): polish number list bullet colors * feat(ui): add shui tooltip component * chore: build ui * chore(ui): clean up resources * fix: lint * fix: lint * fix: lint * fix(ui): alignment of the keymap title from the settings pane * fix: tests * fix(ui): close button for the classic notification tip * fix(ui): polish toaster viewport * enhance(ui): polish the ghost button colors * enhance(ui): demos for tips * fix(ui): accent colors for the rc-datepicker * fix(ui): accent color for the menu item * refactor(ui): remove unless code for the accent colors * enhance(ui): polish pdf viewer background color for the accent color mode * fix: lint * fix: lint * fix: lint * enhance(ui): support button with the custom href link * enhance(ui): polish aside setting items * enhance(ui): polish accent color for buttons * enhance(ui): polish all pages --------- Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
102 lines
3.0 KiB
JSON
102 lines
3.0 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 --no-source-maps",
|
|
"build:ui": "rm -rf .parcel-cache && yarn build:ui:only && cp dist/index.js ../../resources/js/ui.js",
|
|
"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.0.5",
|
|
"@radix-ui/react-checkbox": "^1.0.4",
|
|
"@radix-ui/react-context-menu": "^2.1.5",
|
|
"@radix-ui/react-dialog": "^1.0.5",
|
|
"@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-slider": "^1.1.2",
|
|
"@radix-ui/react-slot": "^1.0.2",
|
|
"@radix-ui/react-switch": "^1.0.3",
|
|
"@radix-ui/react-toast": "^1.1.5",
|
|
"@radix-ui/react-tooltip": "^1.0.7",
|
|
"class-variance-authority": "^0.7.0",
|
|
"clsx": "^2.0.0",
|
|
"cmdk": "^0.2.0",
|
|
"date-fns": "^2.30.0",
|
|
"lucide-react": "^0.292.0",
|
|
"react": "^18",
|
|
"react-day-picker": "^8.9.1",
|
|
"react-dom": "^18",
|
|
"react-hook-form": "^7.48.2",
|
|
"tailwind-merge": "^2.0.0",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"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"
|
|
},
|
|
"targets": {
|
|
"main": false,
|
|
"ui": {
|
|
"source": "src/index.ts",
|
|
"outputFormat": "global",
|
|
"includeNodeModules": {
|
|
"react": false,
|
|
"react-dom": false
|
|
}
|
|
}
|
|
},
|
|
"resolutions": {
|
|
"jackspeak": "^2",
|
|
"string-width": "^4",
|
|
"strip-ansi": "^6"
|
|
},
|
|
"license": "MIT"
|
|
}
|