Eric Nguyen
18cbacaca1
Merged PR 196: Implement Vertical orientation + Upgrade Heroicons to 2.0
...
Implémenter l'orientation verticale
Modifier l'effet de append
Implementer RigidBody
Implementer Flex et simplex
Implémenter Push
Implémenter Swap
Implement MinMaxHeight without behaviors
Fix Margin for Height
Implement PositionReference
Fix dimension vertical position inside children
Add orientation change in form
Implement sortChildren
Implement Anchor
Fix warning message on overlapping
Fix minimap when root container is vertical
#7287
#7288
#7289
#7290
#7291
#7292
#7294
#7295
#7296
#7297
#7298
#7299
#7300
#7301
#7302
2022-09-28 16:07:56 +00:00
Guillaume Tauzin
320d68e27f
Text cotation css modified + no decimal display on text
2022-09-16 10:07:01 +02:00
Eric NGUYEN
9f58203c86
Set dimensions text above the dimension
2022-09-14 11:53:31 +02:00
Eric NGUYEN
910aa4479b
Fix dimension spacing depending on scale
2022-09-13 09:46:36 +02:00
Eric Nguyen
063467fb58
Merged PR 182: Implement Scale for text, Selector and Dimension
2022-09-09 16:00:13 +00:00
Eric NGUYEN
5aaf1f4745
Set dimension to fixed 2
2022-08-30 17:45:00 +02:00
Eric NGUYEN
5fa9db931f
Implement borrower dimension
2022-08-30 17:36:48 +02:00
Eric Nguyen
ad126c6c28
Merged PR 170: Add new eslint rules
...
- naming-convention
- prefer-arrow-callback
- func-style
- import/no-default-export
2022-08-26 16:13:21 +00:00
Eric Nguyen
3f58c5ba5e
Merged PR 169: Fix bugs with flex + Disable obnoxious swals + Add selector text + Sort SVG scss to different files
...
- Disable PushBehavior and set it in a different file
- Fix behviors when parent === undefined
- Fix flex behavrios when using anchors
- Fix siblings not applying flex to theirs children on container delete
- Fix flex behavior when using anchors
- Enable flex by default
- Disable obnoxious swals
- Add selector text
- Sort SVG scss to different files
Others: Add some todos
2022-08-26 13:59:03 +00:00
Eric Nguyen
7f3f6a489a
Merged PR 167: Add Flex and fix bugs (read desc)
...
Note: The branch name does not fit the new features.
- Implement Flex with simplex
- Enable rigid body by default (removed IsRigidBody property) <=== possibly a bad idea
- Sort children in add and update properties
- Implement MaxWidth
- Add more docs
Fixes :
- .env.production url
- Symbols: not blocking the linked container when the parent is moving
2022-08-25 13:28:32 +00:00
Eric Nguyen
8b8d88f885
Merged PR 162: Implement symbols and other stuff (see desc)
...
Implement symbols
- Add, Remove, Select Container
- Form
- Link with container
- Symbol behavior application to container (move to x with xpositionreference)
Important changes
- Remove SelectedContainer from HistoryState, meaning that it will be slower for each load but will be faster for each operations* (SetHistory, SelectContainer, DeleteContainer, SymbolOperations)
- ElementsSidebar now opens with isSidebarOpen meaning that both sidebar will open on toggle
- Moved camelize, transformX, restoreX to different modules (stringtools.ts, svg.ts)
2022-08-22 13:58:32 +00:00
f268011315
Implement more options + Add depth dimension (revert DimensionLayer) ( #37 )
...
continuous-integration/drone/push Build is passing
- Displayed text
- Enable Shortcuts
- Hide text
- Disable Dimension
- Depth dimension
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/37
2022-08-18 08:46:50 -04:00
Eric Nguyen
e96e4f123b
Merged PR 18: Add support for custom SVG
...
continuous-integration/drone/push Build is failing
Add support for custom SVG
Add userData back into IProperties
Added library interweave
Update example
2022-08-17 13:43:24 +00:00
Eric NGUYEN
1622816035
Final fix for XPositionReference : We are now lying to the user in the form. The transformation is applied to the value that is shown but the transformation is restored for the computing afterward
2022-08-16 16:34:32 +02:00
5f8e011bc6
Unrefactor Properties form to allow more freedom on the input types and form ( #32 )
...
continuous-integration/drone/push Build is passing
- The css style is now in IProperties.Style again.
- Forms are divided in DynamicForm and StaticForm
- Faster because less logic
- Add RadioGroupButton
- Add InputGroup
- Fix Children Dimensions not using x for their origin
Co-authored-by: Eric NGUYEN <enguyen@techform.fr>
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/32
2022-08-16 08:57:54 -04:00
3c164581ce
Remove Number() calls
continuous-integration/drone/push Build is failing
2022-08-15 22:57:08 +02:00
4fbc67835c
XPositionReference: Fix Selector and Append
continuous-integration/drone/push Build is passing
2022-08-15 22:26:59 +02:00
b8bd179167
Added Dimension of all children under the container ( #30 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/30
2022-08-15 15:12:35 -04:00
5b20e4f2dc
Revert "Replace sqrt in Dimension by Fast inverse square root"
...
continuous-integration/drone/push Build is passing
This reverts commit 497d2173e8
.
2022-08-15 16:00:04 +02:00
497d2173e8
Replace sqrt in Dimension by Fast inverse square root
continuous-integration/drone/push Build is passing
2022-08-15 15:41:38 +02:00
c81a6fe44b
Implement events for external use + Rename interfaces with a I prefix + add some documentation ( #26 )
...
continuous-integration/drone/push Build is passing
Implement events for external use
Rename interfaces with a I prefix
Add some documentation
Co-authored-by: Eric NGUYEN <enguyen@techform.fr>
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/26
2022-08-12 06:36:14 -04:00
Hydroxycarbamide
6c601429b9
Import NOTCHES_LENGTH for the default value of the notches
continuous-integration/drone/push Build is passing
2022-08-11 23:45:16 +02:00
faa058e57d
Implement new features for svg components + improve form properties ( #25 )
...
continuous-integration/drone/push Build is passing
- Make Dimension an actual svg line
- Implement XPositionReference
- Select the container above after delete
- Remove DimensionLayer
- Improve form properties
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/25
2022-08-11 11:48:31 -04:00
Eric Nguyen
d9e06537e8
Merged PR 16: Transform every single class components into functional component
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
This improve greatly the performance and the code cleaning.
It allows us to separate the inseparable class methods into modules functions
2022-08-09 15:15:56 +00:00
293af45144
Refactor Editor and module functions ( #15 )
...
continuous-integration/drone/push Build is passing
Moved all module functions to separate utils modules
Replaced standard with standard with typescript
Extracted UI elements to separate component
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/15
2022-08-05 15:38:44 -04:00
e3228ccffa
Moved ContainerModel to Interfaces + replace all components to purecomponent ( #12 )
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/12
2022-08-05 10:36:40 -04:00
b5aa002877
Replaced usage of render() by their JSX constructor
continuous-integration/drone/push Build is passing
2022-08-05 16:23:33 +02:00
415318a81c
Fix Error message when string empty in input
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-08-05 13:03:00 +02:00
cf49ad644a
Implement revive of json after load + Added parentId
continuous-integration/drone/push Build is failing
2022-08-04 18:02:27 +02:00
e2a099457c
Separated the model and the Container entity in order to remove any mutation operation
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-08-04 12:57:34 +02:00
767afb230d
Add selector an animation
continuous-integration/drone/push Build is passing
2022-08-04 00:22:39 +02:00
d959945da7
Dev docs Container
continuous-integration/drone/push Build is passing
2022-08-04 00:12:06 +02:00
7236fc85bf
Implement basic selector + fix text position
continuous-integration/drone/push Build is passing
2022-08-03 23:59:53 +02:00
5f312b9ff7
Add text to container
2022-08-03 22:43:42 +02:00
c5171caaaa
Moved usage of Dimension directly inside the Container class and disable DimensionLayer
continuous-integration/drone/push Build is passing
2022-08-03 22:38:55 +02:00
c54e9ff3cb
Implement dimension
2022-08-03 00:02:41 +02:00
be00496581
Moved static GetDepth to getDepth class method
2022-08-02 23:36:31 +02:00
8792c8bee5
Moved ElementsSidebar dfs to iterator in Container
2022-08-02 23:31:53 +02:00
05622c3a64
Fix type check + moved width and height to rect property
2022-08-01 19:42:28 +02:00
6ac76f6619
Add animation to container
2022-08-01 19:21:13 +02:00
d2492520b4
Big refactoring with properties + Implement Property
2022-08-01 16:16:31 +02:00
893b525d45
Implement add on selected container
2022-08-01 11:02:44 +02:00
092b156cc0
Implement selected container
2022-08-01 10:50:58 +02:00
ea156060c4
Add Container to SVGSidebar + disable Symbol for userdata
2022-08-01 00:30:43 +02:00
63d72b883b
Remove MainContainer as it is the same as Container
2022-07-31 23:40:04 +02:00
87baffefff
Add style and userdata to Container
2022-07-31 19:24:24 +02:00
90dac41a04
Move SVG folder to Components
2022-07-31 19:13:52 +02:00