Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
1f632d1
First prototype to badge component
Sep 12, 2024
9ee94d4
Badge label component implementation complete
Sep 13, 2024
e96cecd
Fix conflicts
Sep 16, 2024
8d3fd95
Merge branch 'main' into feature/#213-Create-a-badge-component-to-be-…
Sep 16, 2024
5d0d82f
Merge branch 'dev' into feature/#213-Create-a-badge-component-to-be-p…
Sep 16, 2024
fef7f4d
Fix little errors of badge component
Sep 16, 2024
504af14
Fix default width
Sep 17, 2024
a2621c4
Fix conflicts
Oct 15, 2024
02b8344
Fixing the whole badge-component
Oct 15, 2024
9961059
Merge with dev
Oct 24, 2024
82f9fba
Merge branch 'dev' into feature/#213-Create-a-badge-component-to-be-p…
Oct 25, 2024
4c77562
Fix conflicts
Nov 5, 2024
1d0f125
#635 allow shortcut.hook to accept [Alt] combinations
oleojake Jan 2, 2025
5c15049
#635 implemented shortcuts for all toolbar options
oleojake Jan 2, 2025
afee479
Initial Draft for #696.
jsanzdev Mar 1, 2025
250d098
Fixed the behavior of the post it component
omarlm Mar 14, 2025
a6c57d3
Merge branch 'dev' into feature/#635-implement-shortcuts-and-add-tool…
oleojake Mar 15, 2025
f5246c5
#635 fix tooltip zindex and ease-out bug
oleojake Mar 15, 2025
b70f08f
#728-low-wireframe-section
oleojake Mar 16, 2025
5b48082
#728-correct-low-wireframe-collection
oleojake Mar 16, 2025
b81651b
#729-create-image-placeholder
oleojake Mar 16, 2025
4aa14a4
#728-clean-renderer-imports
oleojake Mar 16, 2025
91d5018
Merge pull request #737 from Lemoncode/#728-create-low-wireframe-section
brauliodiez Mar 16, 2025
2abc035
Merge branch 'dev' into feature/#721-enhance-post-it-component
brauliodiez Mar 16, 2025
defaf0c
Merge branch 'dev' into feature/#635-implement-shortcuts-and-add-tool…
brauliodiez Mar 16, 2025
e2b1d7f
Merge pull request #736 from Lemoncode/feature/#721-enhance-post-it-c…
brauliodiez Mar 16, 2025
3d8a3c7
Merge branch 'dev' into feature/#635-implement-shortcuts-and-add-tool…
brauliodiez Mar 16, 2025
3943e56
Merge pull request #647 from Lemoncode/feature/#635-implement-shortcu…
brauliodiez Mar 16, 2025
b3af9fb
fix merge conflicts
brauliodiez Mar 16, 2025
072e8b3
Merge pull request #714 from Lemoncode/696-let-the-user-select-all-sh…
brauliodiez Mar 16, 2025
e5ba791
#729-imageplaceholder-transformer-points-fix
oleojake Mar 17, 2025
4a83601
Fixed date picker height
vcamarzana Mar 17, 2025
b5c4272
Merge branch 'dev' into feature/#715-fix-date-picker-height
vcamarzana Mar 17, 2025
be67560
#740-fix-table-columns-empty
oleojake Mar 18, 2025
706a0dd
Update Badge Label component and update related exports
deletidev Mar 19, 2025
b01e0c5
Changed name to chip
deletidev Mar 19, 2025
ba9c0fa
Merge remote-tracking branch 'origin/dev' into feature/#213-Create-a-…
deletidev Mar 19, 2025
a054a1e
Merge pull request #374 from Lemoncode/feature/#213-Create-a-badge-co…
brauliodiez Mar 19, 2025
092fb8c
Merge branch 'dev' into feature/#715-fix-date-picker-height
brauliodiez Mar 19, 2025
ef18b4d
Merge branch 'dev' into fix/#740-table-issue-when-no-chars-in-column
brauliodiez Mar 19, 2025
84ff24f
Merge pull request #739 from Lemoncode/feature/#715-fix-date-picker-h…
brauliodiez Mar 19, 2025
6d3ece0
Merge branch 'dev' into fix/#740-table-issue-when-no-chars-in-column
brauliodiez Mar 19, 2025
7f220be
Merge branch 'dev' into fix/#729-imagePlaceholder-transformer-points
brauliodiez Mar 19, 2025
bcd3f84
Merge pull request #738 from Lemoncode/fix/#729-imagePlaceholder-tran…
brauliodiez Mar 19, 2025
3f25d76
Merge pull request #741 from Lemoncode/fix/#740-table-issue-when-no-c…
brauliodiez Mar 19, 2025
4b8c04d
implemented low vertical line shape component
Mar 21, 2025
9f3e319
delete lowHorizontalLine svg file
Mar 21, 2025
c39a700
implemented low horizontal shape component
Mar 21, 2025
0ed6b12
refactor vertical low shape switch case
Mar 21, 2025
c808f19
update
brauliodiez Mar 22, 2025
0e58a63
minor update
brauliodiez Mar 22, 2025
1a9f735
Merge pull request #743 from Lemoncode/feature/#734-low_wireframes_cr…
brauliodiez Mar 22, 2025
b9034fc
Merge branch 'dev' into feature/#735-low_wireframes_create_a_horizont…
brauliodiez Mar 22, 2025
33c678b
Merge pull request #744 from Lemoncode/feature/#735-low_wireframes_cr…
brauliodiez Mar 22, 2025
f3b5b85
Add new 24 icons in the set of icons
Mar 24, 2025
5d2ab21
Merge pull request #746 from Lemoncode/feature/#227-add-icons
brauliodiez Mar 25, 2025
d8e0b59
Added ellipse to low-wireframes
vcamarzana Mar 25, 2025
b37dbdd
changed transformation properties
vcamarzana Mar 25, 2025
35982a7
Add stroke style and stroke color changes
vcamarzana Mar 26, 2025
e867b94
circle placeholder
JonathanKingDev Mar 26, 2025
0c33057
Merge pull request #747 from Lemoncode/feature/#-low-wireframes-creat…
brauliodiez Mar 27, 2025
80fda56
fix feedback
antonio06 Mar 27, 2025
06fae50
merge with dev
antonio06 Mar 27, 2025
0157d33
fix feedback
antonio06 Mar 27, 2025
61db8ff
apply changes
antonio06 Mar 27, 2025
141e97a
implement changes
antonio06 Mar 27, 2025
30de27c
fix feedback
antonio06 Mar 27, 2025
1eb579e
Creating rectangle low wireframe shape
monikMononoke Mar 27, 2025
7a7b47a
adding other props
monikMononoke Mar 27, 2025
a64b554
change ShapeDisplayName
monikMononoke Mar 27, 2025
7871f43
rectangle getByAlt
monikMononoke Mar 27, 2025
8918af0
fixing rectangle issue
monikMononoke Mar 27, 2025
4091762
Changing AltText from Rectangle to Square
monikMononoke Mar 27, 2025
a61775f
fix e2e rectangle test
monikMononoke Mar 27, 2025
997dbea
updte circle shape svg
brauliodiez Mar 29, 2025
e0d8dab
update rectangle thumbnail
brauliodiez Mar 29, 2025
acc5fc5
Merge pull request #749 from Lemoncode/feature/#732-Create-thick-circ…
brauliodiez Mar 29, 2025
e07c4cf
merge resolved
brauliodiez Mar 29, 2025
41d7082
Merge pull request #750 from Lemoncode/feature/#731-Low-wireframes---…
brauliodiez Mar 29, 2025
a891624
- Component Created
jsanzdev Mar 30, 2025
f542529
Add text scribbled shape size restrictions to shape size mapper
jsanzdev Mar 30, 2025
8e994cf
wip
brauliodiez Apr 5, 2025
09dba03
wip
brauliodiez Apr 5, 2025
94d6f91
wip
brauliodiez Apr 5, 2025
2800c31
wip
brauliodiez Apr 5, 2025
dfccfcc
fix resize
brauliodiez Apr 5, 2025
e95c2ad
cleanup
brauliodiez Apr 5, 2025
e5754b9
enhancing
brauliodiez Apr 5, 2025
c8e141b
wip
brauliodiez Apr 5, 2025
31b0a72
updated to english
brauliodiez Apr 5, 2025
3528959
wip
brauliodiez Apr 5, 2025
3d5afe5
refactor
brauliodiez Apr 5, 2025
4b5a583
fix
brauliodiez Apr 5, 2025
e41374f
removed console.log
brauliodiez Apr 5, 2025
e6a967e
cleanup
brauliodiez Apr 5, 2025
b46140e
added minus one, but still some errors
brauliodiez Apr 5, 2025
5636c26
minor adjusment height
brauliodiez Apr 6, 2025
c4f22a5
Merge pull request #751 from Lemoncode/730-low-wireframes---create-sc…
brauliodiez Apr 6, 2025
1ff8abd
unit tests added
brauliodiez Apr 6, 2025
a4355e6
Merge branch 'dev' into 730-low-wireframes---create-scribbled-text-co…
brauliodiez Apr 6, 2025
851a5c0
Merge pull request #753 from Lemoncode/730-low-wireframes---create-sc…
brauliodiez Apr 6, 2025
e1b67ca
Update paragraph minWidth to allow smaller values
gustedeveloper Apr 11, 2025
b350030
Merge pull request #755 from Lemoncode/feature/#752-Paragraph-minwidt…
brauliodiez Apr 12, 2025
ee127ef
Add new set of icons (excel, word, powerpoint, teams)
gustedeveloper Apr 14, 2025
6682667
Merge branch 'dev' into feature/#756-Add-new-set-of-icons-windows-exc…
brauliodiez Apr 14, 2025
7f8b0fb
Merge pull request #758 from Lemoncode/feature/#756-Add-new-set-of-ic…
brauliodiez Apr 14, 2025
477a2b4
Add new team member to about section: Guste Gaubaite
gustedeveloper Apr 15, 2025
bd6b2b0
Change default stroke width of low wireframe shape to 4
gustedeveloper Apr 19, 2025
7df7ddf
Define strokeWidth property in Other props model and update shape oth…
gustedeveloper Apr 19, 2025
c879f70
Add strokeWidth calculation
gustedeveloper Apr 19, 2025
303d0f8
Integrate StrokeWidth control into Properties Panel
gustedeveloper Apr 19, 2025
14ee0da
Create strokeWidth component
gustedeveloper Apr 19, 2025
9d078f9
Apply strokeWidth prop to RectangleLowShape
gustedeveloper Apr 19, 2025
ee608de
Apply strokeWidth to the rest of low wireframe shapes, except image p…
gustedeveloper Apr 19, 2025
288f4ad
Add barrel for strokeWidth component and update imports in properties…
gustedeveloper Apr 19, 2025
823e5d4
Merge pull request #759 from Lemoncode/feature/add-new-member-to-about
brauliodiez Apr 19, 2025
ec7d5a4
Merge branch 'dev' into feature/#757-Add-stroke-style-properties
gustedeveloper Apr 19, 2025
e222b63
Create utility for adjusted shape dimensions based on strokeWidth
gustedeveloper Apr 21, 2025
1372ae4
Improve shape adjustment logic for circle and ellipse, and integrate …
gustedeveloper Apr 21, 2025
19dc2a4
Define types for adjusted shape dimensions
gustedeveloper Apr 21, 2025
230f62e
Rename calculateShapeAdjustedDimensions to calculateShapeAdjustedDime…
gustedeveloper Apr 22, 2025
f420ba5
Add unit tests for calculateShapeAdjustedDimensionsBasedOnStrokeHeight
gustedeveloper Apr 22, 2025
1c31323
Remove redundant local variables originalRadiusX and originalRadiusY …
gustedeveloper Apr 22, 2025
72cf941
Merge pull request #760 from Lemoncode/feature/#757-Add-stroke-style-…
brauliodiez Apr 22, 2025
6187cb7
#761-regex-modified
oleojake May 5, 2025
d130b04
Implement renderer for scribbled paragraph shape
gustedeveloper May 6, 2025
7352338
Integrate scribbled paragraph into core models and canvas renderer
gustedeveloper May 6, 2025
d3d802a
Add scribbled paragraph to low wireframe gallery data
gustedeveloper May 6, 2025
d4c3c71
Implement paragraph scribbled shape logic
gustedeveloper May 6, 2025
7fded32
Externalize paragraph paths calculation to business file
gustedeveloper May 6, 2025
2a4efaf
Extract scribbled paragraph constant to const file and create barrel …
gustedeveloper May 6, 2025
428b891
Create paragraph scribbled svg
gustedeveloper May 6, 2025
7b7d6b7
Merge pull request #762 from Lemoncode/bug/#761-fix-multi-paragraph-i…
brauliodiez May 6, 2025
beee89c
Merge branch 'dev' into feature/#754-create-scribble-paragraph-under-…
brauliodiez May 6, 2025
0cbf740
Merge pull request #763 from Lemoncode/feature/#754-create-scribble-p…
brauliodiez May 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions e2e/rectangle-shape.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ test('has rectangle component', async ({ page }) => {
await page.goto('');
await page.getByText('Basic Shapes').click();

await expect(page.getByAltText('Rectangle')).toBeVisible();
await expect(page.getByAltText(/^Rectangle$/)).toBeVisible();
});

test('can add rectangle component to canvas', async ({ page }) => {
await page.goto('');
await page.getByText('Basic Shapes').click();
const component = page.getByAltText('Rectangle');
const component = page.getByAltText(/^Rectangle$/);

const position = await getLocatorPosition(component);
await dragAndDrop(page, position, {
Expand Down
Binary file added public/assets/guste-gaubaite.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/circleeight.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/circlefive.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/circlefour.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/circlenine.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/circleone.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/circleseven.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/circlesix.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/circlethree.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/circletwo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/circlezero.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/excel.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/microsoftexcel.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/microsoftpowerpoint.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/microsoftword.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/powerpoint.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/rectangledashed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/rectangleeight.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/rectanglefive.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/rectanglefour.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/rectanglenine.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/rectangleone.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/rectangleseven.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/rectanglesix.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/rectanglethree.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/rectangletwo.svg
1 change: 1 addition & 0 deletions public/icons/rectanglezero.svg
1 change: 1 addition & 0 deletions public/icons/teams.svg
1 change: 1 addition & 0 deletions public/icons/word.svg
3 changes: 3 additions & 0 deletions public/low-wireframes/circleLow.svg
3 changes: 3 additions & 0 deletions public/low-wireframes/ellipseLow.svg
4 changes: 4 additions & 0 deletions public/low-wireframes/horizontalLineLow.svg
5 changes: 5 additions & 0 deletions public/low-wireframes/imagePlaceholder.svg
27 changes: 27 additions & 0 deletions public/low-wireframes/paragraphScribbled.svg
3 changes: 3 additions & 0 deletions public/low-wireframes/rectangleLow.svg
28 changes: 28 additions & 0 deletions public/low-wireframes/textScribbled.svg
4 changes: 4 additions & 0 deletions public/low-wireframes/verticalLineLow.svg
4 changes: 4 additions & 0 deletions public/widgets/chip.svg
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,22 @@ export const PostItShape = forwardRef<any, ShapeProps>((props, ref) => {

const postItWidth = restrictedWidth;
const postItHeight = restrictedHeight;
const tapeWidth = postItWidth * 0.4;
const tapeHeight = postItHeight * 0.18;

const fixedTapeWidth = 90;
const fixedTapeHeight = 40;

const minPostItWidthForFixedTape = 120;
const minPostItHeightForFixedTape = 120;

const tapeWidth =
postItWidth >= minPostItWidthForFixedTape
? fixedTapeWidth
: (postItWidth / minPostItWidthForFixedTape) * fixedTapeWidth;

const tapeHeight =
postItHeight >= minPostItHeightForFixedTape
? fixedTapeHeight
: (postItHeight / minPostItHeightForFixedTape) * fixedTapeHeight;

const tapeX = (width - tapeWidth) / 2;
const tapeY = 0;
Expand Down
Loading