docstring_tokens
stringlengths 18
16.9k
| code_tokens
stringlengths 75
1.81M
| html_url
stringlengths 74
116
| file_name
stringlengths 3
311
|
---|---|---|---|
keep keep add keep keep keep keep keep
|
<mask> "angle": 0,
<mask> "backgroundColor": "transparent",
<mask> "boundElementIds": null,
<mask> "endBinding": null,
<mask> "fillStyle": "hachure",
<mask> "groupIds": Array [],
<mask> "height": 20,
<mask> "id": "id5",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow",
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep keep add keep keep keep keep keep
|
<mask> ],
<mask> ],
<mask> "roughness": 1,
<mask> "seed": 1505387817,
<mask> "startBinding": null,
<mask> "strokeColor": "#000000",
<mask> "strokeSharpness": "round",
<mask> "strokeStyle": "solid",
<mask> "strokeWidth": 1,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep
|
<mask> "backgroundColor": "transparent",
<mask> "boundElementIds": null,
<mask> "endBinding": null,
<mask> "fillStyle": "hachure",
<mask> "groupIds": Array [],
<mask> "height": 20,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep keep keep
|
<mask> "roughness": 1,
<mask> "seed": 760410951,
<mask> "startBinding": null,
<mask> "strokeColor": "#000000",
<mask> "strokeSharpness": "round",
<mask> "strokeStyle": "solid",
<mask> "strokeWidth": 1,
<mask> "type": "line",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep
|
<mask> "angle": 0,
<mask> "backgroundColor": "transparent",
<mask> "boundElementIds": null,
<mask> "endBinding": null,
<mask> "fillStyle": "hachure",
<mask> "groupIds": Array [],
<mask> "height": 10,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep keep add keep keep keep keep keep keep
|
<mask> ],
<mask> ],
<mask> "roughness": 1,
<mask> "seed": 941653321,
<mask> "startBinding": null,
<mask> "strokeColor": "#000000",
<mask> "strokeSharpness": "round",
<mask> "strokeStyle": "solid",
<mask> "strokeWidth": 1,
<mask> "type": "draw",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep keep add keep keep keep keep
|
<mask> exports[`regression tests given a group of selected elements with an element that is not selected inside the group common bounding box when element that is not selected is clicked should switch selection to not selected element on pointer up: [end of test] appState 1`] = `
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
},
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep keep
|
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "#fa5252",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
},
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep
|
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "#fa5252",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
},
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep keep add keep keep keep keep keep keep
|
<mask> exports[`regression tests given selected element A with lower z-index than unselected element B and given B is partially over A when dragging on intersection between A and B A should be dragged and keep being selected: [end of test] appState 1`] = `
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "#fa5252",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
<mask> "currentItemOpacity": 100,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
},
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep keep keep
|
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
<mask> "currentItemOpacity": 100,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep
|
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep keep keep
|
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
<mask> "currentItemOpacity": 100,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep keep
|
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep keep
|
<mask> "angle": 0,
<mask> "backgroundColor": "transparent",
<mask> "boundElementIds": null,
<mask> "endBinding": null,
<mask> "fillStyle": "hachure",
<mask> "groupIds": Array [],
<mask> "height": 10,
<mask> "id": "id0",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": null,
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep keep keep
|
<mask> ],
<mask> "roughness": 1,
<mask> "seed": 337897,
<mask> "startBinding": null,
<mask> "strokeColor": "#000000",
<mask> "strokeSharpness": "round",
<mask> "strokeStyle": "solid",
<mask> "strokeWidth": 1,
<mask> "type": "arrow",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep keep add keep keep keep keep
|
<mask> Object {
<mask> "angle": 0,
<mask> "backgroundColor": "transparent",
<mask> "boundElementIds": null,
<mask> "endBinding": null,
<mask> "fillStyle": "hachure",
<mask> "groupIds": Array [],
<mask> "height": 10,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null,
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep keep
|
<mask> ],
<mask> "roughness": 1,
<mask> "seed": 337897,
<mask> "startBinding": null,
<mask> "strokeColor": "#000000",
<mask> "strokeSharpness": "round",
<mask> "strokeStyle": "solid",
<mask> "strokeWidth": 1,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep keep keep
|
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
<mask> "currentItemOpacity": 100,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep keep keep
|
<mask> "angle": 0,
<mask> "backgroundColor": "transparent",
<mask> "boundElementIds": null,
<mask> "endBinding": null,
<mask> "fillStyle": "hachure",
<mask> "groupIds": Array [],
<mask> "height": 10,
<mask> "id": "id0",
<mask> "isDeleted": false,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null,
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep
|
<mask> ],
<mask> "roughness": 1,
<mask> "seed": 337897,
<mask> "startBinding": null,
<mask> "strokeColor": "#000000",
<mask> "strokeSharpness": "round",
<mask> "strokeStyle": "solid",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep keep keep
|
<mask> "backgroundColor": "transparent",
<mask> "boundElementIds": null,
<mask> "endBinding": null,
<mask> "fillStyle": "hachure",
<mask> "groupIds": Array [],
<mask> "height": 10,
<mask> "id": "id0",
<mask> "isDeleted": false,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null,
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep keep add keep keep keep keep keep keep
|
<mask> ],
<mask> ],
<mask> "roughness": 1,
<mask> "seed": 337897,
<mask> "startBinding": null,
<mask> "strokeColor": "#000000",
<mask> "strokeSharpness": "round",
<mask> "strokeStyle": "solid",
<mask> "strokeWidth": 1,
<mask> "type": "line",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep keep keep
|
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
<mask> "currentItemOpacity": 100,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep
|
<mask> "angle": 0,
<mask> "backgroundColor": "transparent",
<mask> "boundElementIds": null,
<mask> "endBinding": null,
<mask> "fillStyle": "hachure",
<mask> "groupIds": Array [],
<mask> "height": 10,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep keep add keep keep keep keep
|
<mask> ],
<mask> ],
<mask> "roughness": 1,
<mask> "seed": 337897,
<mask> "startBinding": null,
<mask> "strokeColor": "#000000",
<mask> "strokeSharpness": "round",
<mask> "strokeStyle": "solid",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep
|
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep keep keep
|
<mask> "backgroundColor": "transparent",
<mask> "boundElementIds": null,
<mask> "endBinding": null,
<mask> "fillStyle": "hachure",
<mask> "groupIds": Array [],
<mask> "height": 10,
<mask> "id": "id0",
<mask> "isDeleted": false,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep
|
<mask> ],
<mask> "roughness": 1,
<mask> "seed": 337897,
<mask> "startBinding": null,
<mask> "strokeColor": "#000000",
<mask> "strokeSharpness": "round",
<mask> "strokeStyle": "solid",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep keep keep
|
<mask> "angle": 0,
<mask> "backgroundColor": "transparent",
<mask> "boundElementIds": null,
<mask> "endBinding": null,
<mask> "fillStyle": "hachure",
<mask> "groupIds": Array [],
<mask> "height": 10,
<mask> "id": "id0",
<mask> "isDeleted": false,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep keep keep
|
<mask> "roughness": 1,
<mask> "seed": 337897,
<mask> "startBinding": null,
<mask> "strokeColor": "#000000",
<mask> "strokeSharpness": "round",
<mask> "strokeStyle": "solid",
<mask> "strokeWidth": 1,
<mask> "type": "line",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep keep keep
|
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
<mask> "currentItemOpacity": 100,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep keep add keep keep keep keep
|
<mask> exports[`regression tests key x selects draw tool: [end of test] appState 1`] = `
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
},
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep keep
|
<mask> "angle": 0,
<mask> "backgroundColor": "transparent",
<mask> "boundElementIds": null,
<mask> "endBinding": null,
<mask> "fillStyle": "hachure",
<mask> "groupIds": Array [],
<mask> "height": 10,
<mask> "id": "id0",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": null,
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep keep
|
<mask> "roughness": 1,
<mask> "seed": 337897,
<mask> "startBinding": null,
<mask> "strokeColor": "#000000",
<mask> "strokeSharpness": "round",
<mask> "strokeStyle": "solid",
<mask> "strokeWidth": 1,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep keep add keep keep keep keep
|
<mask> Object {
<mask> "angle": 0,
<mask> "backgroundColor": "transparent",
<mask> "boundElementIds": null,
<mask> "endBinding": null,
<mask> "fillStyle": "hachure",
<mask> "groupIds": Array [],
<mask> "height": 10,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep keep
|
<mask> "roughness": 1,
<mask> "seed": 337897,
<mask> "startBinding": null,
<mask> "strokeColor": "#000000",
<mask> "strokeSharpness": "round",
<mask> "strokeStyle": "solid",
<mask> "strokeWidth": 1,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep keep add keep keep keep keep keep keep
|
<mask> exports[`regression tests make a group and duplicate it: [end of test] appState 1`] = `
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
<mask> "currentItemOpacity": 100,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
},
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep
|
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep
|
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep keep add keep keep keep keep keep
|
<mask> exports[`regression tests rerenders UI on language change: [end of test] appState 1`] = `
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
},
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep keep
|
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep
|
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep keep
|
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep keep keep
|
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
<mask> "currentItemOpacity": 100,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep keep
|
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep keep
|
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep keep add keep keep keep keep
|
<mask> exports[`regression tests selecting 'Group selection' in context menu groups selected elements: [end of test] appState 1`] = `
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
},
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep keep add keep keep keep keep keep keep
|
<mask> exports[`regression tests selecting 'Paste styles' in context menu pastes styles: [end of test] appState 1`] = `
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "#e64980",
<mask> "currentItemFillStyle": "cross-hatch",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
<mask> "currentItemOpacity": 60,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
},
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep
|
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep
|
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep keep add keep keep keep keep
|
<mask> exports[`regression tests selecting 'Ungroup selection' in context menu ungroups selected group: [end of test] appState 1`] = `
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
},
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep
|
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep
|
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep keep
|
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "#fa5252",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
},
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep keep
|
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep keep keep
|
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
<mask> "currentItemOpacity": 100,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep keep
|
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep keep
|
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep keep
|
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep
|
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep keep
|
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep
|
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep
|
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep keep keep
|
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
<mask> "currentItemOpacity": 100,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep keep keep
|
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
<mask> "currentItemOpacity": 100,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep keep add keep keep keep keep keep keep
|
<mask> Object {
<mask> "angle": 0,
<mask> "backgroundColor": "transparent",
<mask> "boundElementIds": null,
<mask> "endBinding": null,
<mask> "fillStyle": "hachure",
<mask> "groupIds": Array [],
<mask> "height": 10,
<mask> "id": "id2",
<mask> "isDeleted": true,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null,
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep
|
<mask> ],
<mask> "roughness": 1,
<mask> "seed": 401146281,
<mask> "startBinding": null,
<mask> "strokeColor": "#000000",
<mask> "strokeSharpness": "round",
<mask> "strokeStyle": "solid",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep keep
|
<mask> "angle": 0,
<mask> "backgroundColor": "transparent",
<mask> "boundElementIds": null,
<mask> "endBinding": null,
<mask> "fillStyle": "hachure",
<mask> "groupIds": Array [],
<mask> "height": 20,
<mask> "id": "id2",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow",
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep keep
|
<mask> ],
<mask> "roughness": 1,
<mask> "seed": 401146281,
<mask> "startBinding": null,
<mask> "strokeColor": "#000000",
<mask> "strokeSharpness": "round",
<mask> "strokeStyle": "solid",
<mask> "strokeWidth": 1,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep keep
|
<mask> "backgroundColor": "transparent",
<mask> "boundElementIds": null,
<mask> "endBinding": null,
<mask> "fillStyle": "hachure",
<mask> "groupIds": Array [],
<mask> "height": 10,
<mask> "id": "id2",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": null,
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep keep keep
|
<mask> ],
<mask> "roughness": 1,
<mask> "seed": 401146281,
<mask> "startBinding": null,
<mask> "strokeColor": "#000000",
<mask> "strokeSharpness": "round",
<mask> "strokeStyle": "solid",
<mask> "strokeWidth": 1,
<mask> "type": "arrow",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep add keep keep keep keep keep keep
|
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 3,
<mask> "currentItemFontSize": 20,
<mask> "currentItemLinearStrokeSharpness": "round",
<mask> "currentItemOpacity": 100,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
},
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep keep add keep keep keep keep
|
<mask> exports[`regression tests zoom hotkeys: [end of test] appState 1`] = `
<mask> Object {
<mask> "appearance": "light",
<mask> "collaborators": Map {},
<mask> "currentItemBackgroundColor": "transparent",
<mask> "currentItemFillStyle": "hachure",
<mask> "currentItemFontFamily": 1,
<mask> "currentItemFontSize": 20,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
}, </s> add "currentItemArrowheads": Object {
"end": "arrow",
"start": null,
},
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/regressionTests.test.tsx.snap
|
keep keep add keep keep keep keep keep
|
<mask> "angle": 0,
<mask> "backgroundColor": "transparent",
<mask> "boundElementIds": null,
<mask> "endBinding": null,
<mask> "fillStyle": "hachure",
<mask> "groupIds": Array [],
<mask> "height": 50,
<mask> "id": "id0",
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null,
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/selection.test.tsx.snap
|
keep keep add keep keep keep keep keep
|
<mask> ],
<mask> "roughness": 1,
<mask> "seed": 337897,
<mask> "startBinding": null,
<mask> "strokeColor": "#000000",
<mask> "strokeSharpness": "round",
<mask> "strokeStyle": "solid",
<mask> "strokeWidth": 1,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/selection.test.tsx.snap
|
keep keep add keep keep keep keep keep keep
|
<mask> "angle": 0,
<mask> "backgroundColor": "transparent",
<mask> "boundElementIds": null,
<mask> "endBinding": null,
<mask> "fillStyle": "hachure",
<mask> "groupIds": Array [],
<mask> "height": 50,
<mask> "id": "id0",
<mask> "isDeleted": false,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null,
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/selection.test.tsx.snap
|
keep add keep keep keep keep keep
|
<mask> "roughness": 1,
<mask> "seed": 337897,
<mask> "startBinding": null,
<mask> "strokeColor": "#000000",
<mask> "strokeSharpness": "round",
<mask> "strokeStyle": "solid",
<mask> "strokeWidth": 1,
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]>
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/__snapshots__/selection.test.tsx.snap
|
keep add keep keep keep keep keep
|
<mask> element = newLinearElement({
<mask> type: type as "arrow" | "line" | "draw",
<mask> ...base,
<mask> });
<mask> break;
<mask> }
<mask> if (id) {
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> remove type: "arrow" | "line" | "draw";
</s> add type: "line" | "draw" | "arrow"; </s> add export type Arrowhead = "arrow";
</s> add startArrowhead: Arrowhead | null;
endArrowhead: Arrowhead | null; </s> add startArrowhead: Arrowhead | null;
endArrowhead: Arrowhead | null; </s> add const {
startArrowhead = null,
endArrowhead = element.type === "arrow" ? "arrow" : null,
} = element;
</s> remove const arrowPoints = getArrowPoints(element, shape);
if (arrowPoints) {
const [x2, y2, x3, y3, x4, y4] = arrowPoints;
// for dotted arrows caps, reduce gap to make it more legible
</s> add const { startArrowhead = null, endArrowhead = "arrow" } = element;
function getArrowheadShapes(
element: ExcalidrawLinearElement,
shape: Drawable[],
position: "start" | "end",
arrowhead: Arrowhead,
) {
const arrowheadPoints = getArrowheadPoints(
element,
shape,
position,
arrowhead,
);
if (arrowheadPoints === null) {
return [];
}
// Other arrowheads here...
// Arrow arrowheads
const [x2, y2, x3, y3, x4, y4] = arrowheadPoints;
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/tests/helpers/api.ts
|
keep add keep keep keep keep
|
<mask> GroupId,
<mask> ExcalidrawBindableElement,
<mask> } from "./element/types";
<mask> import { SHAPES } from "./shapes";
<mask> import { Point as RoughPoint } from "roughjs/bin/geometry";
<mask> import { LinearElementEditor } from "./element/linearElementEditor";
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add Arrowhead, </s> remove import { ExcalidrawElement, ExcalidrawLinearElement } from "./types";
</s> add import { ExcalidrawElement, ExcalidrawLinearElement, Arrowhead } from "./types"; </s> add canHaveArrowheads, </s> add import { ButtonIconCycle } from "../components/ButtonIconCycle"; </s> add getArrowheadPoints, </s> remove getArrowPoints,
</s> add
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/types.ts
|
keep keep keep add keep keep keep keep keep
|
<mask> currentItemFontFamily: FontFamily;
<mask> currentItemFontSize: number;
<mask> currentItemTextAlign: TextAlign;
<mask> currentItemStrokeSharpness: ExcalidrawElement["strokeSharpness"];
<mask> currentItemLinearStrokeSharpness: ExcalidrawElement["strokeSharpness"];
<mask> viewBackgroundColor: string;
<mask> scrollX: FlooredNumber;
<mask> scrollY: FlooredNumber;
<mask> cursorX: number;
</s> Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <[email protected]>
Co-authored-by: Lipis <[email protected]> </s> add currentItemArrowheads: { start: null, end: "arrow" }, </s> remove d="M0 10h40M0 10h40"
</s> add d="M6 10H34" </s> add currentItemArrowheads: { browser: true, export: false }, </s> remove actions: {
[actionName in ActionName]: Action;
};
</s> add actions: Record<ActionName, Action>; </s> add "endArrowhead": null, </s> add "startArrowhead": null,
|
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
|
src/types.ts
|
keep keep keep keep replace replace replace keep keep keep keep keep
|
<mask> "@types/estree": "*"
<mask> }
<mask> },
<mask> "@types/estree": {
<mask> "version": "0.0.45",
<mask> "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.45.tgz",
<mask> "integrity": "sha512-jnqIUKDUqJbDIUxm0Uj7bnlMnRm1T/eZ9N+AVMqhPgzrba2GhGG5o/jCTwmdPK709nEZsGoMzXEDUjcXHa3W0g==",
<mask> "dev": true
<mask> },
<mask> "@types/json-schema": {
<mask> "version": "7.0.6",
<mask> "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.6.tgz",
</s> chore(deps-dev): bump webpack from 5.15.0 to 5.17.0 in /src/packages/utils (#2846)
Bumps [webpack](https://github.com/webpack/webpack) from 5.15.0 to 5.17.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.15.0...v5.17.0)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> </s> remove "version": "14.14.21",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.21.tgz",
"integrity": "sha512-cHYfKsnwllYhjOzuC5q1VpguABBeecUp24yFluHpn/BQaVxB1CuQ1FSRZCzrPxrkIfWISXV2LbeoBthLWg0+0A==",
</s> add "version": "14.14.22",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.22.tgz",
"integrity": "sha512-g+f/qj/cNcqKkc3tFqlXOYjrmZA+jNBiDzbP3kH+B+otKFqAdPgVTGP1IeKRdMml/aE69as5S4FqtxAbl+LaMw==", </s> remove "version": "5.15.0",
"resolved": "https://registry.npmjs.org/webpack/-/webpack-5.15.0.tgz",
"integrity": "sha512-y/xG+ONDz78yn3VvP6gAvGr1/gkxOgitvHSXBmquyN8KDtrGEyE3K9WkXOPB7QmfcOBCpO4ELXwNcCYQnEmexA==",
</s> add "version": "5.17.0",
"resolved": "https://registry.npmjs.org/webpack/-/webpack-5.17.0.tgz",
"integrity": "sha512-R+IdNEaYcYaACpXZOt7reyc8txBK7J06lOPkX1SbgmeoAnUbyBZivJIksrDBnmMA3wlTWvPcX7DubxELyPB8rA==", </s> remove "@types/estree": "^0.0.45",
</s> add "@types/estree": "^0.0.46", </s> remove "webpack": "5.15.0",
</s> add "webpack": "5.17.0",
|
https://github.com/excalidraw/excalidraw/commit/c2e2bb495c76b7f8f4bda4bf077cd83e20d623db
|
src/packages/utils/package-lock.json
|
keep keep keep keep replace replace replace keep keep keep keep keep
|
<mask> "integrity": "sha512-3c+yGKvVP5Y9TYBEibGNR+kLtijnj7mYrXRg+WpFb2X9xm04g/DXYkfg4hmzJQosc9snFNUPkbYIhu+KAm6jJw==",
<mask> "dev": true
<mask> },
<mask> "@types/node": {
<mask> "version": "14.14.21",
<mask> "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.21.tgz",
<mask> "integrity": "sha512-cHYfKsnwllYhjOzuC5q1VpguABBeecUp24yFluHpn/BQaVxB1CuQ1FSRZCzrPxrkIfWISXV2LbeoBthLWg0+0A==",
<mask> "dev": true
<mask> },
<mask> "@webassemblyjs/ast": {
<mask> "version": "1.11.0",
<mask> "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.0.tgz",
</s> chore(deps-dev): bump webpack from 5.15.0 to 5.17.0 in /src/packages/utils (#2846)
Bumps [webpack](https://github.com/webpack/webpack) from 5.15.0 to 5.17.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.15.0...v5.17.0)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> </s> remove "version": "0.0.45",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.45.tgz",
"integrity": "sha512-jnqIUKDUqJbDIUxm0Uj7bnlMnRm1T/eZ9N+AVMqhPgzrba2GhGG5o/jCTwmdPK709nEZsGoMzXEDUjcXHa3W0g==",
</s> add "version": "0.0.46",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.46.tgz",
"integrity": "sha512-laIjwTQaD+5DukBZaygQ79K1Z0jb1bPEMRrkXSLjtCcZm+abyp5YbrqpSLzD42FwWW6gK/aS4NYpJ804nG2brg==", </s> remove "version": "5.15.0",
"resolved": "https://registry.npmjs.org/webpack/-/webpack-5.15.0.tgz",
"integrity": "sha512-y/xG+ONDz78yn3VvP6gAvGr1/gkxOgitvHSXBmquyN8KDtrGEyE3K9WkXOPB7QmfcOBCpO4ELXwNcCYQnEmexA==",
</s> add "version": "5.17.0",
"resolved": "https://registry.npmjs.org/webpack/-/webpack-5.17.0.tgz",
"integrity": "sha512-R+IdNEaYcYaACpXZOt7reyc8txBK7J06lOPkX1SbgmeoAnUbyBZivJIksrDBnmMA3wlTWvPcX7DubxELyPB8rA==", </s> remove "@types/estree": "^0.0.45",
</s> add "@types/estree": "^0.0.46", </s> remove "webpack": "5.15.0",
</s> add "webpack": "5.17.0",
|
https://github.com/excalidraw/excalidraw/commit/c2e2bb495c76b7f8f4bda4bf077cd83e20d623db
|
src/packages/utils/package-lock.json
|
keep keep replace replace replace keep keep keep replace keep keep keep keep
|
<mask> },
<mask> "webpack": {
<mask> "version": "5.15.0",
<mask> "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.15.0.tgz",
<mask> "integrity": "sha512-y/xG+ONDz78yn3VvP6gAvGr1/gkxOgitvHSXBmquyN8KDtrGEyE3K9WkXOPB7QmfcOBCpO4ELXwNcCYQnEmexA==",
<mask> "dev": true,
<mask> "requires": {
<mask> "@types/eslint-scope": "^3.7.0",
<mask> "@types/estree": "^0.0.45",
<mask> "@webassemblyjs/ast": "1.11.0",
<mask> "@webassemblyjs/wasm-edit": "1.11.0",
<mask> "@webassemblyjs/wasm-parser": "1.11.0",
<mask> "acorn": "^8.0.4",
</s> chore(deps-dev): bump webpack from 5.15.0 to 5.17.0 in /src/packages/utils (#2846)
Bumps [webpack](https://github.com/webpack/webpack) from 5.15.0 to 5.17.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.15.0...v5.17.0)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> </s> remove "version": "14.14.21",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.21.tgz",
"integrity": "sha512-cHYfKsnwllYhjOzuC5q1VpguABBeecUp24yFluHpn/BQaVxB1CuQ1FSRZCzrPxrkIfWISXV2LbeoBthLWg0+0A==",
</s> add "version": "14.14.22",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.22.tgz",
"integrity": "sha512-g+f/qj/cNcqKkc3tFqlXOYjrmZA+jNBiDzbP3kH+B+otKFqAdPgVTGP1IeKRdMml/aE69as5S4FqtxAbl+LaMw==", </s> remove "version": "0.0.45",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.45.tgz",
"integrity": "sha512-jnqIUKDUqJbDIUxm0Uj7bnlMnRm1T/eZ9N+AVMqhPgzrba2GhGG5o/jCTwmdPK709nEZsGoMzXEDUjcXHa3W0g==",
</s> add "version": "0.0.46",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.46.tgz",
"integrity": "sha512-laIjwTQaD+5DukBZaygQ79K1Z0jb1bPEMRrkXSLjtCcZm+abyp5YbrqpSLzD42FwWW6gK/aS4NYpJ804nG2brg==", </s> remove "webpack": "5.15.0",
</s> add "webpack": "5.17.0",
|
https://github.com/excalidraw/excalidraw/commit/c2e2bb495c76b7f8f4bda4bf077cd83e20d623db
|
src/packages/utils/package-lock.json
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> "babel-plugin-transform-class-properties": "6.24.1",
<mask> "cross-env": "7.0.3",
<mask> "file-loader": "6.2.0",
<mask> "ts-loader": "8.0.14",
<mask> "webpack": "5.15.0",
<mask> "webpack-bundle-analyzer": "4.3.0",
<mask> "webpack-cli": "4.3.1"
<mask> },
<mask> "bugs": "https://github.com/excalidraw/excalidraw/issues",
<mask> "repository": "https://github.com/excalidraw/excalidraw",
</s> chore(deps-dev): bump webpack from 5.15.0 to 5.17.0 in /src/packages/utils (#2846)
Bumps [webpack](https://github.com/webpack/webpack) from 5.15.0 to 5.17.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.15.0...v5.17.0)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> </s> remove "version": "5.15.0",
"resolved": "https://registry.npmjs.org/webpack/-/webpack-5.15.0.tgz",
"integrity": "sha512-y/xG+ONDz78yn3VvP6gAvGr1/gkxOgitvHSXBmquyN8KDtrGEyE3K9WkXOPB7QmfcOBCpO4ELXwNcCYQnEmexA==",
</s> add "version": "5.17.0",
"resolved": "https://registry.npmjs.org/webpack/-/webpack-5.17.0.tgz",
"integrity": "sha512-R+IdNEaYcYaACpXZOt7reyc8txBK7J06lOPkX1SbgmeoAnUbyBZivJIksrDBnmMA3wlTWvPcX7DubxELyPB8rA==", </s> remove "version": "0.0.45",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.45.tgz",
"integrity": "sha512-jnqIUKDUqJbDIUxm0Uj7bnlMnRm1T/eZ9N+AVMqhPgzrba2GhGG5o/jCTwmdPK709nEZsGoMzXEDUjcXHa3W0g==",
</s> add "version": "0.0.46",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.46.tgz",
"integrity": "sha512-laIjwTQaD+5DukBZaygQ79K1Z0jb1bPEMRrkXSLjtCcZm+abyp5YbrqpSLzD42FwWW6gK/aS4NYpJ804nG2brg==", </s> remove "version": "14.14.21",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.21.tgz",
"integrity": "sha512-cHYfKsnwllYhjOzuC5q1VpguABBeecUp24yFluHpn/BQaVxB1CuQ1FSRZCzrPxrkIfWISXV2LbeoBthLWg0+0A==",
</s> add "version": "14.14.22",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.22.tgz",
"integrity": "sha512-g+f/qj/cNcqKkc3tFqlXOYjrmZA+jNBiDzbP3kH+B+otKFqAdPgVTGP1IeKRdMml/aE69as5S4FqtxAbl+LaMw==", </s> remove "@types/estree": "^0.0.45",
</s> add "@types/estree": "^0.0.46",
|
https://github.com/excalidraw/excalidraw/commit/c2e2bb495c76b7f8f4bda4bf077cd83e20d623db
|
src/packages/utils/package.json
|
keep keep add keep keep keep keep keep keep
|
<mask> canvas: HTMLCanvasElement;
<mask> theme: RenderConfig["theme"];
<mask> scale: number;
<mask> canvasOffsetX: number;
<mask> canvasOffsetY: number;
<mask> boundTextElementVersion: number | null;
<mask> }
<mask>
<mask> const cappedElementCanvasSize = (
</s> fix: improperly cache-busting on canvas scale instead of zoom (#6473) </s> remove prevElementWithCanvas.scale !== zoom.value &&
</s> add prevElementWithCanvas.zoomValue !== zoom.value && </s> add zoomValue: zoom.value,
|
https://github.com/excalidraw/excalidraw/commit/c3e8ddaf580f395366ff1fded0c9592a4485c701
|
src/renderer/renderElement.ts
|
keep keep keep add keep keep keep keep
|
<mask> element,
<mask> canvas,
<mask> theme: renderConfig.theme,
<mask> scale,
<mask> canvasOffsetX,
<mask> canvasOffsetY,
<mask> boundTextElementVersion: getBoundTextElement(element)?.version || null,
<mask> };
</s> fix: improperly cache-busting on canvas scale instead of zoom (#6473) </s> add zoomValue: RenderConfig["zoom"]["value"]; </s> remove prevElementWithCanvas.scale !== zoom.value &&
</s> add prevElementWithCanvas.zoomValue !== zoom.value &&
|
https://github.com/excalidraw/excalidraw/commit/c3e8ddaf580f395366ff1fded0c9592a4485c701
|
src/renderer/renderElement.ts
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> const zoom: Zoom = renderConfig ? renderConfig.zoom : defaultAppState.zoom;
<mask> const prevElementWithCanvas = elementWithCanvasCache.get(element);
<mask> const shouldRegenerateBecauseZoom =
<mask> prevElementWithCanvas &&
<mask> prevElementWithCanvas.scale !== zoom.value &&
<mask> !renderConfig?.shouldCacheIgnoreZoom;
<mask> const boundTextElementVersion = getBoundTextElement(element)?.version || null;
<mask>
<mask> if (
<mask> !prevElementWithCanvas ||
</s> fix: improperly cache-busting on canvas scale instead of zoom (#6473) </s> add zoomValue: RenderConfig["zoom"]["value"]; </s> add zoomValue: zoom.value,
|
https://github.com/excalidraw/excalidraw/commit/c3e8ddaf580f395366ff1fded0c9592a4485c701
|
src/renderer/renderElement.ts
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> perform: (_elements, appState, value) => {
<mask> trackEvent("change", "title");
<mask> return { appState: { ...appState, name: value }, commitToHistory: false };
<mask> },
<mask> PanelComponent: ({ appState, updateData }) => (
<mask> <ProjectName
<mask> label={t("labels.fileTitle")}
<mask> value={appState.name || "Unnamed"}
<mask> onChange={(name: string) => updateData(name)}
<mask> />
</s> feat: Allow host app to update title of drawing (#3273)
* Allow updating name on updateScene
* Revert "Allow updating name on updateScene"
This reverts commit 4e07a608d38a585e0f3c04e26b9f5e0e404824b1.
* Make requested changes
* Make requested changes
* Remove customName from state
* Remove redundant if statement
* Add tests, update changelog and minor fixes
* remove eempty lines
* minor fixes
* no border and on hover no background change
* Give preference to name prop when initialData.appState.name is present and update specs
* minor fix
* Fix name input style in dark mode
Co-authored-by: Aakansha Doshi <[email protected]> </s> add isNameEditable={typeof appProps.name === "undefined"} </s> add name, </s> remove return (
</s> add return this.props.isNameEditable ? ( </s> add isNameEditable: boolean; </s> add appProps: ExcalidrawProps; </s> add appProps={this.app.props}
|
https://github.com/excalidraw/excalidraw/commit/c3ecbcb3aba4e3fe6af16cbe2f13cf31ba82a0d9
|
src/actions/actionExport.tsx
|
keep keep add keep keep keep keep
|
<mask> label={t("labels.fileTitle")}
<mask> value={appState.name || "Unnamed"}
<mask> onChange={(name: string) => updateData(name)}
<mask> />
<mask> ),
<mask> });
<mask>
</s> feat: Allow host app to update title of drawing (#3273)
* Allow updating name on updateScene
* Revert "Allow updating name on updateScene"
This reverts commit 4e07a608d38a585e0f3c04e26b9f5e0e404824b1.
* Make requested changes
* Make requested changes
* Remove customName from state
* Remove redundant if statement
* Add tests, update changelog and minor fixes
* remove eempty lines
* minor fixes
* no border and on hover no background change
* Give preference to name prop when initialData.appState.name is present and update specs
* minor fix
* Fix name input style in dark mode
Co-authored-by: Aakansha Doshi <[email protected]> </s> remove PanelComponent: ({ appState, updateData }) => (
</s> add PanelComponent: ({ appState, updateData, appProps }) => ( </s> add name, </s> add if (this.props.name && prevProps.name !== this.props.name) {
this.setState({
name: this.props.name,
});
}
</s> add let name = actionResult?.appState?.name || this.state.name; </s> add name={name} </s> add appProps={this.app.props}
|
https://github.com/excalidraw/excalidraw/commit/c3ecbcb3aba4e3fe6af16cbe2f13cf31ba82a0d9
|
src/actions/actionExport.tsx
|
keep keep add keep keep keep keep keep keep
|
<mask> appState={this.getAppState()}
<mask> updateData={updateData}
<mask> id={id}
<mask> />
<mask> );
<mask> }
<mask>
<mask> return null;
<mask> };
</s> feat: Allow host app to update title of drawing (#3273)
* Allow updating name on updateScene
* Revert "Allow updating name on updateScene"
This reverts commit 4e07a608d38a585e0f3c04e26b9f5e0e404824b1.
* Make requested changes
* Make requested changes
* Remove customName from state
* Remove redundant if statement
* Add tests, update changelog and minor fixes
* remove eempty lines
* minor fixes
* no border and on hover no background change
* Give preference to name prop when initialData.appState.name is present and update specs
* minor fix
* Fix name input style in dark mode
Co-authored-by: Aakansha Doshi <[email protected]> </s> remove return (
</s> add return this.props.isNameEditable ? ( </s> add name={name} </s> add ) : (
<span
className="TextInput TextInput--readonly"
aria-label={this.props.label}
>
{this.props.value}
</span> </s> remove PanelComponent: ({ appState, updateData }) => (
</s> add PanelComponent: ({ appState, updateData, appProps }) => ( </s> remove import { AppState } from "../types";
</s> add import { AppState, ExcalidrawProps } from "../types"; </s> add let name = actionResult?.appState?.name || this.state.name;
|
https://github.com/excalidraw/excalidraw/commit/c3ecbcb3aba4e3fe6af16cbe2f13cf31ba82a0d9
|
src/actions/manager.tsx
|
keep keep replace keep keep keep keep keep
|
<mask> import React from "react";
<mask> import { ExcalidrawElement } from "../element/types";
<mask> import { AppState } from "../types";
<mask>
<mask> /** if false, the action should be prevented */
<mask> export type ActionResult =
<mask> | {
<mask> elements?: readonly ExcalidrawElement[] | null;
</s> feat: Allow host app to update title of drawing (#3273)
* Allow updating name on updateScene
* Revert "Allow updating name on updateScene"
This reverts commit 4e07a608d38a585e0f3c04e26b9f5e0e404824b1.
* Make requested changes
* Make requested changes
* Remove customName from state
* Remove redundant if statement
* Add tests, update changelog and minor fixes
* remove eempty lines
* minor fixes
* no border and on hover no background change
* Give preference to name prop when initialData.appState.name is present and update specs
* minor fix
* Fix name input style in dark mode
Co-authored-by: Aakansha Doshi <[email protected]> </s> add import { t } from "../i18n"; </s> add name?: string; </s> add if (typeof this.props.name !== "undefined") {
name = this.props.name;
}
</s> add name = defaultAppState.name, </s> add isNameEditable: boolean; </s> add let name = actionResult?.appState?.name || this.state.name;
|
https://github.com/excalidraw/excalidraw/commit/c3ecbcb3aba4e3fe6af16cbe2f13cf31ba82a0d9
|
src/actions/types.ts
|
keep keep keep add keep keep keep keep keep
|
<mask> PanelComponent?: React.FC<{
<mask> elements: readonly ExcalidrawElement[];
<mask> appState: AppState;
<mask> updateData: (formData?: any) => void;
<mask> id?: string;
<mask> }>;
<mask> perform: ActionFn;
<mask> keyPriority?: number;
<mask> keyTest?: (
</s> feat: Allow host app to update title of drawing (#3273)
* Allow updating name on updateScene
* Revert "Allow updating name on updateScene"
This reverts commit 4e07a608d38a585e0f3c04e26b9f5e0e404824b1.
* Make requested changes
* Make requested changes
* Remove customName from state
* Remove redundant if statement
* Add tests, update changelog and minor fixes
* remove eempty lines
* minor fixes
* no border and on hover no background change
* Give preference to name prop when initialData.appState.name is present and update specs
* minor fix
* Fix name input style in dark mode
Co-authored-by: Aakansha Doshi <[email protected]> </s> remove PanelComponent: ({ appState, updateData }) => (
</s> add PanelComponent: ({ appState, updateData, appProps }) => ( </s> add isNameEditable: boolean; </s> add name?: string; </s> remove return (
</s> add return this.props.isNameEditable ? ( </s> add ) : (
<span
className="TextInput TextInput--readonly"
aria-label={this.props.label}
>
{this.props.value}
</span> </s> remove import { AppState } from "../types";
</s> add import { AppState, ExcalidrawProps } from "../types";
|
https://github.com/excalidraw/excalidraw/commit/c3ecbcb3aba4e3fe6af16cbe2f13cf31ba82a0d9
|
src/actions/types.ts
|
keep keep keep add keep keep keep keep keep keep
|
<mask> viewModeEnabled = false,
<mask> zenModeEnabled = false,
<mask> gridModeEnabled = false,
<mask> theme = defaultAppState.theme,
<mask> } = props;
<mask> this.state = {
<mask> ...defaultAppState,
<mask> theme,
<mask> isLoading: true,
<mask> width,
</s> feat: Allow host app to update title of drawing (#3273)
* Allow updating name on updateScene
* Revert "Allow updating name on updateScene"
This reverts commit 4e07a608d38a585e0f3c04e26b9f5e0e404824b1.
* Make requested changes
* Make requested changes
* Remove customName from state
* Remove redundant if statement
* Add tests, update changelog and minor fixes
* remove eempty lines
* minor fixes
* no border and on hover no background change
* Give preference to name prop when initialData.appState.name is present and update specs
* minor fix
* Fix name input style in dark mode
Co-authored-by: Aakansha Doshi <[email protected]> </s> add let name = actionResult?.appState?.name || this.state.name; </s> remove import { AppState } from "../types";
</s> add import { AppState, ExcalidrawProps } from "../types"; </s> add name, </s> add import { t } from "../i18n"; </s> add name, </s> add name,
|
https://github.com/excalidraw/excalidraw/commit/c3ecbcb3aba4e3fe6af16cbe2f13cf31ba82a0d9
|
src/components/App.tsx
|
keep add keep keep keep keep keep
|
<mask> zenModeEnabled,
<mask> gridSize: gridModeEnabled ? GRID_SIZE : null,
<mask> };
<mask> if (excalidrawRef) {
<mask> const readyPromise =
<mask> ("current" in excalidrawRef && excalidrawRef.current?.readyPromise) ||
<mask> resolvablePromise<ExcalidrawImperativeAPI>();
</s> feat: Allow host app to update title of drawing (#3273)
* Allow updating name on updateScene
* Revert "Allow updating name on updateScene"
This reverts commit 4e07a608d38a585e0f3c04e26b9f5e0e404824b1.
* Make requested changes
* Make requested changes
* Remove customName from state
* Remove redundant if statement
* Add tests, update changelog and minor fixes
* remove eempty lines
* minor fixes
* no border and on hover no background change
* Give preference to name prop when initialData.appState.name is present and update specs
* minor fix
* Fix name input style in dark mode
Co-authored-by: Aakansha Doshi <[email protected]> </s> add if (this.props.name && prevProps.name !== this.props.name) {
this.setState({
name: this.props.name,
});
}
</s> add import { t } from "../i18n"; </s> add let name = actionResult?.appState?.name || this.state.name; </s> add name, </s> remove return (
</s> add return this.props.isNameEditable ? ( </s> add name = defaultAppState.name,
|
https://github.com/excalidraw/excalidraw/commit/c3ecbcb3aba4e3fe6af16cbe2f13cf31ba82a0d9
|
src/components/App.tsx
|
keep keep add keep keep keep keep keep keep
|
<mask> let zenModeEnabled = actionResult?.appState?.zenModeEnabled || false;
<mask> let gridSize = actionResult?.appState?.gridSize || null;
<mask> let theme = actionResult?.appState?.theme || "light";
<mask>
<mask> if (typeof this.props.viewModeEnabled !== "undefined") {
<mask> viewModeEnabled = this.props.viewModeEnabled;
<mask> }
<mask>
<mask> if (typeof this.props.zenModeEnabled !== "undefined") {
</s> feat: Allow host app to update title of drawing (#3273)
* Allow updating name on updateScene
* Revert "Allow updating name on updateScene"
This reverts commit 4e07a608d38a585e0f3c04e26b9f5e0e404824b1.
* Make requested changes
* Make requested changes
* Remove customName from state
* Remove redundant if statement
* Add tests, update changelog and minor fixes
* remove eempty lines
* minor fixes
* no border and on hover no background change
* Give preference to name prop when initialData.appState.name is present and update specs
* minor fix
* Fix name input style in dark mode
Co-authored-by: Aakansha Doshi <[email protected]> </s> add if (typeof this.props.name !== "undefined") {
name = this.props.name;
}
</s> add name = defaultAppState.name, </s> add name, </s> add if (this.props.name && prevProps.name !== this.props.name) {
this.setState({
name: this.props.name,
});
}
</s> remove import { AppState } from "../types";
</s> add import { AppState, ExcalidrawProps } from "../types"; </s> add import { t } from "../i18n";
|
https://github.com/excalidraw/excalidraw/commit/c3ecbcb3aba4e3fe6af16cbe2f13cf31ba82a0d9
|
src/components/App.tsx
|
keep add keep keep keep keep keep
|
<mask> }
<mask>
<mask> this.setState(
<mask> (state) => {
<mask> // using Object.assign instead of spread to fool TS 4.2.2+ into
<mask> // regarding the resulting type as not containing undefined
<mask> // (which the following expression will never contain)
</s> feat: Allow host app to update title of drawing (#3273)
* Allow updating name on updateScene
* Revert "Allow updating name on updateScene"
This reverts commit 4e07a608d38a585e0f3c04e26b9f5e0e404824b1.
* Make requested changes
* Make requested changes
* Remove customName from state
* Remove redundant if statement
* Add tests, update changelog and minor fixes
* remove eempty lines
* minor fixes
* no border and on hover no background change
* Give preference to name prop when initialData.appState.name is present and update specs
* minor fix
* Fix name input style in dark mode
Co-authored-by: Aakansha Doshi <[email protected]> </s> add name, </s> remove import { AppState } from "../types";
</s> add import { AppState, ExcalidrawProps } from "../types"; </s> add name?: string; </s> add isNameEditable: boolean; </s> add import { t } from "../i18n"; </s> add &--readonly {
background: none;
border: none;
&:hover {
background: none;
}
}
|
https://github.com/excalidraw/excalidraw/commit/c3ecbcb3aba4e3fe6af16cbe2f13cf31ba82a0d9
|
src/components/App.tsx
|
keep keep add keep keep keep keep keep
|
<mask> zenModeEnabled,
<mask> gridSize,
<mask> theme,
<mask> });
<mask> },
<mask> () => {
<mask> if (actionResult.syncHistory) {
<mask> history.setCurrentState(
</s> feat: Allow host app to update title of drawing (#3273)
* Allow updating name on updateScene
* Revert "Allow updating name on updateScene"
This reverts commit 4e07a608d38a585e0f3c04e26b9f5e0e404824b1.
* Make requested changes
* Make requested changes
* Remove customName from state
* Remove redundant if statement
* Add tests, update changelog and minor fixes
* remove eempty lines
* minor fixes
* no border and on hover no background change
* Give preference to name prop when initialData.appState.name is present and update specs
* minor fix
* Fix name input style in dark mode
Co-authored-by: Aakansha Doshi <[email protected]> </s> add import { t } from "../i18n"; </s> add name, </s> add if (this.props.name && prevProps.name !== this.props.name) {
this.setState({
name: this.props.name,
});
}
</s> remove PanelComponent: ({ appState, updateData }) => (
</s> add PanelComponent: ({ appState, updateData, appProps }) => ( </s> add name, </s> add name = defaultAppState.name,
|
https://github.com/excalidraw/excalidraw/commit/c3ecbcb3aba4e3fe6af16cbe2f13cf31ba82a0d9
|
src/components/App.tsx
|
keep keep add keep keep keep keep
|
<mask> gridSize: this.props.gridModeEnabled ? GRID_SIZE : null,
<mask> });
<mask> }
<mask> document
<mask> .querySelector(".excalidraw")
<mask> ?.classList.toggle("theme--dark", this.state.theme === "dark");
<mask>
</s> feat: Allow host app to update title of drawing (#3273)
* Allow updating name on updateScene
* Revert "Allow updating name on updateScene"
This reverts commit 4e07a608d38a585e0f3c04e26b9f5e0e404824b1.
* Make requested changes
* Make requested changes
* Remove customName from state
* Remove redundant if statement
* Add tests, update changelog and minor fixes
* remove eempty lines
* minor fixes
* no border and on hover no background change
* Give preference to name prop when initialData.appState.name is present and update specs
* minor fix
* Fix name input style in dark mode
Co-authored-by: Aakansha Doshi <[email protected]> </s> add name, </s> add isNameEditable={typeof appProps.name === "undefined"} </s> add ) : (
<span
className="TextInput TextInput--readonly"
aria-label={this.props.label}
>
{this.props.value}
</span> </s> remove return (
</s> add return this.props.isNameEditable ? ( </s> add import { t } from "../i18n"; </s> add name,
|
https://github.com/excalidraw/excalidraw/commit/c3ecbcb3aba4e3fe6af16cbe2f13cf31ba82a0d9
|
src/components/App.tsx
|
keep keep keep add keep keep keep keep keep keep
|
<mask> margin: auto;
<mask>
<mask> .TextInput {
<mask> height: calc(1rem - 3px);
<mask> }
<mask> }
<mask>
<mask> @media #{$is-mobile-query} {
<mask> .ExportDialog {
<mask> display: flex;
</s> feat: Allow host app to update title of drawing (#3273)
* Allow updating name on updateScene
* Revert "Allow updating name on updateScene"
This reverts commit 4e07a608d38a585e0f3c04e26b9f5e0e404824b1.
* Make requested changes
* Make requested changes
* Remove customName from state
* Remove redundant if statement
* Add tests, update changelog and minor fixes
* remove eempty lines
* minor fixes
* no border and on hover no background change
* Give preference to name prop when initialData.appState.name is present and update specs
* minor fix
* Fix name input style in dark mode
Co-authored-by: Aakansha Doshi <[email protected]> </s> add import { t } from "../i18n"; </s> remove import { AppState } from "../types";
</s> add import { AppState, ExcalidrawProps } from "../types"; </s> remove return (
</s> add return this.props.isNameEditable ? ( </s> add if (typeof this.props.name !== "undefined") {
name = this.props.name;
}
</s> add if (this.props.name && prevProps.name !== this.props.name) {
this.setState({
name: this.props.name,
});
}
</s> add name?: string;
|
https://github.com/excalidraw/excalidraw/commit/c3ecbcb3aba4e3fe6af16cbe2f13cf31ba82a0d9
|
src/components/ExportDialog.scss
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.