cyberware/quartz/components/scripts
Aaron Pham a29fadb046
feat(search): experimental telescope layout (closes #718) (#722)
* feat(search): telescope-style search

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* chore(search): cleanup some basis and borders

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* fix(search): make sure to set overflow-y

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* feat(search): shows preview on desktop only search

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* perf: add options to control layout through config

cache memoize results to avoid fetching

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* chore: use the default configuration

* fix: correct minor type for search

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* fix: use datasets to query for preview

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* chore: layout changes

show preview on normal layout, and only show previous layout in list page.

* fix(type): annotate search with types

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* chore: apply jacky's suggestion

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* chore: using map API and scss

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* fix: styling on search container view on phones

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* Update quartz.layout.ts

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

---------

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2024-01-31 01:16:14 -08:00
..
callout.inline.ts fix nested callout folding 2023-08-12 21:16:43 -07:00
clipboard.inline.ts fix: ensure code exists inside pre before adding clipboard 2023-08-20 15:38:37 -07:00
darkmode.inline.ts feat: Emit custom event when theme changes (#723) 2024-01-23 14:52:41 -08:00
explorer.inline.ts fix: attempt to merge cached folder state between builds (closes #691) 2024-01-29 00:56:20 -08:00
graph.inline.ts fix(type): annotate event for nav (#761) 2024-01-29 21:55:10 -08:00
popover.inline.ts fix: don't show popovers on heading anchors 2023-12-03 09:22:16 -08:00
search.inline.ts feat(search): experimental telescope layout (closes #718) (#722) 2024-01-31 01:16:14 -08:00
spa.inline.ts fix: spa shouldn't use popover script directly 2023-11-18 18:46:58 -08:00
toc.inline.ts fix: attempt to merge cached folder state between builds (closes #691) 2024-01-29 00:56:20 -08:00
util.ts run prettier 2023-07-22 17:27:41 -07:00