aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
...
* feat(CSS): improve draggable block looking with focusHsieh Chin Fan2024-09-24
|
* feat(CSS): fix overflow of content of draggable blockHsieh Chin Fan2024-09-24
|
* patch blockHsieh Chin Fan2024-09-24
|
* feat: set focus state by CSSHsieh Chin Fan2024-09-24
| | | | data-focus -> class="focus"
* feat: add focusNextBlock utilHsieh Chin Fan2024-09-24
|
* feat: disable debounce temporarily to check performanceHsieh Chin Fan2024-09-24
|
* feat: add mapCache for rendered mapHsieh Chin Fan2024-09-24
| | | | | | | | | * apply new config option: "render", just pass function to replace "use" * check configList when render. If ID and config content are the same, use cache otherwise * remove CSS animation to prevent blinking when config changes very quick * fix method about checking showcase is visible. This prevent reused map gain focus.
* refactor: store maps as [HTMLElement, Promise]Hsieh Chin Fan2024-09-23
|
* feat: Hide draggable block when it is emptyHsieh Chin Fan2024-09-23
|
* feat: remove keydown events from dumbymapHsieh Chin Fan2024-09-23
| | | | | | | | | | | | * events now handed by editor * this fix document.onkeydown reset when generatedMaps() called more than one time * apply "bind" to remove methods about user interaction from generateMaps() * refactor focusNextmap(), using array to store rendered maps BREAKING CHANGE: generateMaps() now return dumbymap Object, contains key elements and methods
* feat(layout): transition to reduce height of empty blockHsieh Chin Fan2024-09-23
|
* fix: typoHsieh Chin Fan2024-09-23
|
* fix: patch 516aab9, this is real Animaiton do nothingHsieh Chin Fan2024-09-23
|
* chore: stylelintHsieh Chin Fan2024-09-22
|
* 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(utils): return empty Animation, not null for DOMRectHsieh Chin Fan2024-09-22
|
* feat(CSS): use class name to hide draggable blockHsieh Chin Fan2024-09-22
|
* feat(utils): allow rect transition based only on left/topHsieh Chin Fan2024-09-22
|
* feat(layout): remove unnecessary observerHsieh Chin Fan2024-09-22
|
* fix: unrenamed CSS selector for 42f7b2fHsieh 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: remove onlick event for focusing mapHsieh Chin Fan2024-09-22
| | | | | For UX, use may just want to interact with maps but not but them into showcase.
* fix(layout): cursor style on bar handleHsieh Chin Fan2024-09-22
|
* refactor: class name for content containerHsieh Chin Fan2024-09-22
| | | | | DumbyMap -> Dumby Since maps are inside it!
* refactor: rename data attribute for editorHsieh Chin Fan2024-09-22
| | | | | | data-layout -> data-mode This prevents confusing with data-layout in dumbymap
* fix: focus a map after all renderedHsieh 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: 5d0a91d, should handle default aliases nowHsieh Chin Fan2024-09-22
|
* fix: apply new layout name in editorHsieh Chin Fan2024-09-21
|
* chore(release): update mapclay to 0.6.7Hsieh Chin Fan2024-09-21
|
* style: reformat codeHsieh Chin Fan2024-09-21
|
* fix: middle click to hide draggable blockHsieh Chin Fan2024-09-21
|
* feat: improve CSS for layoutsHsieh 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"
* feat: add font-size plus/minus buttonHsieh Chin Fan2024-09-21
| | | | | * When draggable handle is on hover, they appears * Hide when drag start, show when drag end
* feat: add throttle for next map by Showcase displayHsieh Chin Fan2024-09-21
|
* fix: typo for event APIHsieh Chin Fan2024-09-21
|
* feat: allow throttle set delays by functionHsieh Chin Fan2024-09-21
|
* style: add comment for animationHsieh Chin Fan2024-09-21
|
* style: definition of link methodsHsieh Chin Fan2024-09-21
|
* refactor: apply Layout ClassHsieh Chin Fan2024-09-21
| | | | | * Use {name, enterHandler, leaverHandler} for layout switch * Move "overlay" to another module
* feat: throttle for layout and map focusHsieh Chin Fan2024-09-21
| | | | | | * add throttle for layout switch * apply throttle for 'Tab' key (focus next map) * remove throttle from DOMRect animation
* refactor: setting draggable block in one placeHsieh Chin Fan2024-09-21
|
* fix: trivial case for DOMRect animationHsieh Chin Fan2024-09-21
|
* fix: trivial case for DOMRect animationHsieh Chin Fan2024-09-20
|