Commit graph

5 commits

Author SHA1 Message Date
Eric NGUYEN
d368641200 Revert "Move settings to public/svgld-settings.js"
This reverts commit 2cf56632155f5378c8819991b1b42ab135cbe384.
2022-10-12 18:08:35 +02:00
Eric Nguyen
c256a76e01 Merged PR 212: Optimize FindChildrenById from O(n) to O(1)
Optimize FindChildrenById from O(n) to O(1):
- Deprecate FindContainerByIdDFS
- Container: Replace Children to string[]
- Add HashMap to IHistoryState that contains all containers

To access a container by id now cost O(1) without any additional cost

+ Implement CICD for SVGLibs
2022-10-12 09:39:54 +00:00
Eric Nguyen
23ed3ed1ad Merged PR 189: Simplify usage of SmartComponent
- Added new Events :
  - AddContainer, AddContainerToSelectedContainer, AppendContainer, AppendContainerToSelectedContainer, SelectContainer, DeleteContainer
  - AddSymbol, SelectSymbol, DeleteSymbol
- Changed the component to an iframe (you only need to copy the whole dist now)
- Added callbacks to every methods in the component
- Create event listener on demand: no need to initialize the event listener!
- Update d.ts
- Added Fastboot and enable it by default on production build
2022-09-21 09:24:14 +00:00
Hydroxycarbamide
8e41fdad46 App.scss: Move public style to public css file
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-11 23:41:18 +02:00
Hydroxycarbamide
281cd92194 Initialise project with Vite, React, SCSS, Tailwind, ESLint 2022-07-30 11:38:17 +02:00