Commit Graph

82 Commits

Author SHA1 Message Date
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
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
Ben Yorke
adc788f1c6 Fix colorization 2023-11-07 14:52:12 +01:00
Tienson Qin
f16127c80b enhance: tile sm size 2023-11-03 00:16:36 +08:00
Tienson Qin
439d08cf8a enhance: move tip to the left 2023-11-03 00:16:36 +08:00
Ben Yorke
184dfd7d54 More design tweaks 2023-10-26 14:24:12 +02:00
Ben Yorke
e3407138cd Updates 2023-09-25 16:21:41 +02:00
Ben Yorke
2ee777ae97 Updates 2023-09-24 21:31:45 +02:00
Ben Yorke
246e904457 cmdk2 updates 2023-09-15 13:30:51 +02:00
Ben Yorke
24006b3d82 updates 2023-08-25 15:54:00 +02:00
Ben Yorke
8bff0f2139 cmdk initial implementation 2023-08-02 23:07:05 +03:00
Ben Yorke
6f984d45ef cmdk 2023-06-30 20:59:05 +02:00
Ben Yorke
4e2d980955 button and cmdk 2023-06-30 09:37:07 +02:00