aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Layout.mjs
Commit message (Collapse)AuthorAge
* style: standardjsHsieh Chin Fan2024-10-23
|
* fix(CSS): display of utils in draggable-blockHsieh Chin Fan2024-10-19
| | | | | | * remove trivial implementation for case about font resizing, to make hover works * add rules for dragging
* refactor: use replaceWith() to swap elementsHsieh Chin Fan2024-10-19
|
* fix(lint): mutable variable in LayoutHsieh Chin Fan2024-10-17
|
* feat: set "sticky" as one of default layoutsHsieh Chin Fan2024-10-17
| | | | | | | * move function addDraggable() into module scope * showcase in sticky layout is draggable now * add query paramerter for "use" * FIX: set initialLayout after observer is set
* docs: jsdocHsieh Chin Fan2024-10-14
|
* feat(neat): set blocks visible anyway in overlay layoutHsieh Chin Fan2024-10-12
|
* refactor: remove unnecessary name of Layout ClassHsieh Chin Fan2024-10-11
|
* [WIP] jsdocHsieh Chin Fan2024-10-10
|
* docs(jsdoc): update jsdocHsieh Chin Fan2024-10-10
|
* refactor: Attribute -> datasetHsieh Chin Fan2024-10-09
|
* chore: apply standardjs with trailing commaHsieh Chin Fan2024-10-09
|
* docs: add jsdocHsieh Chin Fan2024-10-04
|
* feat: use focus to decide display in overlay layoutHsieh Chin Fan2024-10-02
|
* style: switch to standardjsHsieh Chin Fan2024-10-02
|
* style: prettierHsieh Chin Fan2024-09-29
|
* style: prettierHsieh Chin Fan2024-09-28
|
* chore(CSS): improve lookingHsieh Chin Fan2024-09-26
|
* feat: close draggable block by middle clickHsieh Chin Fan2024-09-26
|
* chore: reformat codeHsieh Chin Fan2024-09-25
|
* feat: add timer for z-index change of draggable blockHsieh Chin Fan2024-09-24
|
* feat: make utils stable when user is managingHsieh Chin Fan2024-09-22
|
* refactor: logic about overlap of draggable blockHsieh Chin Fan2024-09-22
|
* feat: add padding for plus/minus buttonHsieh Chin Fan2024-09-22
|
* feat: animation for creating draggable blockHsieh Chin Fan2024-09-22
| | | | | | * rename class name: draggable -> draggable-part * code refactor: separate logic about working with plain-draggable * get original rect before creating blocks
* feat(CSS): use class name to hide draggable blockHsieh Chin Fan2024-09-22
|
* feat(layout): remove unnecessary observerHsieh Chin Fan2024-09-22
|
* refactor: remove inline style anyway when layer switchHsieh Chin Fan2024-09-22
|
* feat(layout): keep handle be active when on dragHsieh Chin Fan2024-09-22
| | | | Even if cursor is not hovering handle element
* feat: add close button for draggable blockHsieh Chin Fan2024-09-22
|
* feat: add resize bar for side-by-side layoutHsieh Chin Fan2024-09-22
| | | | | * SVG comes from maplibre-gl-compare * plain-draggable is awesome!
* fix: middle click to hide draggable blockHsieh Chin Fan2024-09-21
|
* refactor: layout classHsieh Chin Fan2024-09-21
* put class Layout and OverlayLayout together * apply extend on OverlayLayout * rename layouts: "none" -> "normal", "side" -> "side-by-side"