Commit Graph

348 Commits (8fe21b24054d6161f202fee3c8f6fc13e85ffaf9)

Author SHA1 Message Date
charlie 9ff589b6b9 enhance(ui): inherit global color for the popup foreground color 2024-07-22 13:28:19 +08:00
charlie e4a1f723e2 enhance(ux): WIP page preview with the shui popups 2024-07-16 17:14:21 +08:00
charlie d278067f8c enhance(ui): support hide close button option for the shui dialog 2024-06-26 10:01:54 +08:00
charlie 946499ad56 enhance(ui): support auto width for the shui dialog content 2024-06-25 18:06:13 +08:00
Tienson Qin 721a9e14ad fix: arrow color 2024-06-03 19:20:50 +08:00
charlie ee51887265 enhance(ux): improve accessibility for the property creation 2024-05-29 22:47:37 +08:00
charlie 71a1929983 enhance(ui): WIP refactor the editor commands modals with the shui popups 2024-04-23 12:23:54 +08:00
charlie 4face39381 fix(ui): z-index of the shui select content 2024-04-15 20:14:34 +08:00
charlie 57af873bf4 enhance(ux): support more align position for the shui dialog 2024-04-08 11:40:36 +08:00
charlie 76f8fbffd0 enhance(ui): refactor the dropdown with the shui popup 2024-04-01 11:46:59 +08:00
charlie bd26d0db0e fix(ui): the confirm dialog to uninstall plugin 2024-03-21 19:03:34 +08:00
charlie b898a39ff2 enhance(ui): polish ui details for the property rows 2024-03-20 12:19:07 +08:00
charlie 78ffbaf456 enhance(ui): refactor the plugins modal with the shui dialog 2024-03-18 21:30:25 +08:00
charlie 26b7eac65d enhance(ux): polish property editor interaction 2024-03-14 23:57:21 +08:00
charlie 947e839180 enhance(ui): demos for the multi select 2024-03-12 18:00:47 +08:00
charlie fd533cc41a enhance(ui): update demo 2024-03-12 16:53:51 +08:00
charlie c681c6be8f enhance(ux): enhance hooks
for the multi select
2024-03-11 18:10:54 +08:00
charlie 44a4ecdcd0 enhance(ui): WIP enhance the multi select component for shui 2024-03-08 11:35:13 +08:00
charlie 2e33352ded fix(ui): text border color for the logseq classic color 2024-02-08 11:39:50 +08:00
charlie 74e3da3c48 enhance(ui): polish details for the accent color theme 2024-02-05 17:50:26 +08:00
charlie 87016eec15 enhance(ui): polish logseq accent colors 2024-01-27 13:51:55 +08:00
charlie d905dbfe4b enhance(ui): polish logseq accent colors 2024-01-27 11:24:01 +08:00
charlie 976885a34a enhance(ui): polish whiteboard colors for the non-accent colors 2024-01-25 17:03:06 +08:00
charlie 1bfa802a56 enhance(ui): polish colors list for the non-accent colors 2024-01-25 14:46:42 +08:00
charlie c32a569270 enhance(ui): polish toggle button for the non-accent colors 2024-01-23 18:09:58 +08:00
charlie 388e9f33fc enhance(ui): polish the non-accent colors 2024-01-23 16:36:45 +08:00
charlie c697a10d5a enhance(ui): polish the non-accent colors 2024-01-23 14:42:27 +08:00
charlie 8f0c4faec7 enhance(ui): polish the non-accent colors 2024-01-22 18:41:55 +08:00
charlie a0eab81c75 enhance(ui): polish the default accent color 2024-01-22 11:42:38 +08:00
charlie 252d3b4f27 enhance(ui): replace the hard color to radix and shadcn vars color 2024-01-21 18:25:03 +08:00
charlie a0298266ba enhance(ui): polish logseq color vars 2024-01-19 11:43:53 +08:00
charlie e5dac02c35 fix(ui): background color for the references links container from the right sidebar 2024-01-18 21:10:15 +08:00
charlie 2edaf457e4 enhance(ui): polish popover related colors 2024-01-18 15:11:18 +08:00
charlie 91c54a6189 enhance(ui): polish popover accent color 2024-01-17 17:49:43 +08:00
charlie 33cf0340cf enhance(ux): accent background for the document 2024-01-15 17:52:14 +08:00
charlie e7b9d58bd9 enhance(ui): polish accent colors 2024-01-12 17:34:35 +08:00
charlie 2abe280fb6 fix(ui): colors for the codemirror editor 2024-01-10 17:44:14 +08:00
charlie 8be15476ab enhance(ui): make consistent accent colors for all the popover dropdown 2024-01-05 15:20:12 +08:00
charlie a27f360cd8 enhance(ui): make consistent accent colors for all the popover dropdown 2024-01-05 12:47:31 +08:00
charlie 3c26fbfe07 enhance(ui): polish the accent color of the popover 2024-01-04 12:29:29 +08:00
charlie 8b668c16ae enhance(ui): polish the accent color of the popover 2024-01-03 21:52:16 +08:00
Charlie 8040168d1e
Feat: New UI components (#10694)
* 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>
2023-12-26 16:31:37 +08:00
Tienson Qin ecde2c3bfc
fix: cross-platform shotcuts (#10590)
This PR also simplifies the implementation of shui/shortcut a lot.

* fix: consistent char for the Enter key

* fix: show ctrl instead of ⌘ for copy ref

* fix: "Ctrl" should be split from "Ctrl X"
2023-12-03 12:40:08 +08:00
Tienson Qin 2a62767f34 chore: replace shui__ with ui__
Theme creators don't need to know about shui.
2023-11-13 22:39:53 +08:00
Tienson Qin 96693439d0
Feat/cmdk radix tweaks (#10493)
* prefer --lx-gray-11

* Fix sidebar item color

* Update theme mode images

* Update shortcuts globally

* Assets updated to support radix

* fix: add missing keyboard-shortcut class

* fix: custom button background

* fix: lower case shortcuts

* chore: remove old shortcut list

* fix: shortcut ns

* enhance: shortcut accepts both sequence and string

* fix: shortcut remap ux

* fix: remove codemirror box shadow

---------

Co-authored-by: Ben Yorke <ben@yorke.io>
2023-11-12 20:43:10 +08:00
Tienson Qin 5ff69286be fix: hover text color 2023-11-09 13:43:48 +08:00
Tienson Qin 4402dcd38a chore: replace --logseq-og with --ls 2023-11-09 13:37:33 +08:00
Tienson Qin 086e25b236 fix: button default background color 2023-11-09 13:31:53 +08:00
Ben Yorke 1896d372b1 fix highlighted text color 2023-11-07 16:35:31 +01:00
Ben Yorke 0453b19e04 Fix white color buttons on ls theme 2023-11-07 15:22:06 +01:00