maxGraph/packages/html/stories
Thomas Bouffard ca1914b582
refactor(style)!: rename/remove properties and types (#165)
Remove the `StyleMap` class. It is not used anymore since the
introduction of the `CellStateStyle` interface.

Changes in `CellStateStyle`
- remove `defaultEdge` and `defaultVertex` that have been introduced by
mistake. They have never been used.
- rename `autosize` into `autoSize` for naming consistency. All
properties use camelCase.
- change types from "number" to "boolean" + fix default management in
the Shape classes
    - `backgroundOutline`
    - `absoluteArcSize`

Other `CellStateStyle` changes: remove a property in favor of another
property
The following properties were introduced by mistake while removing
mxConstants.STYLE_* references in
707605cedd (2021-05-02). Their counterpart
was used in `mxGraph` and is used in all
`maxGraph` examples
- `backgroundColor` in favor of `labelBackgroundColor`. The
`STYLE_LABEL_BACKGROUNDCOLOR` constant was replaced by
  'backgroundColor' instead of 'labelBackgroundColor'
- `loop` in favor of `loopStyle`. The `STYLE_LOOP` constant was replaced
by 'loop' instead of 'loopStyle'

Other types that changed
- `CellStateStyle`: better type guidance for the `indicatorShape`
property
- `CanvasState`: order properties alphabetically + add JSDoc on some
properties
- Rename `ArrowType` into `ArrowValue` for consistency with other types
(they all end with the 'Value' post-fix)

Documentation update
  - CHANGELOG.md: mention the breaking changes
- Initiate a specific document to help migration from mxGraph: start by
adding the changes on style


--------------------------------------------------------------------------------

**BREAKING CHANGES**: some `CellStateStyle` properties and types have
been removed/renamed.
2023-01-30 11:44:06 +01:00
..
css - Convert more examples. 2021-04-24 21:32:54 +09:00
stashed refactor: simplify fontStyle code checking binary mask (#174) 2023-01-17 12:08:32 +01:00
Anchors.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
Animation.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
AutoLayout.stories.js fix: use the right convertPoints function in Stories (#166) 2023-01-06 14:16:46 +01:00
Boundary.stories.js fix: use the right convertPoints function in Stories (#166) 2023-01-06 14:16:46 +01:00
Clipboard.stories.js Change CellArray to cellArrayUtils. 2022-09-17 18:58:30 +09:00
Collapse.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
Constituent.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
ContextIcons.stories.js fix: use the right convertPoints function in Stories (#166) 2023-01-06 14:16:46 +01:00
Control.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
DragSource.stories.js Fix CellArray related warnings. #96 2022-09-17 18:57:00 +09:00
Drop.stories.js fix: use the right convertPoints function in Stories (#166) 2023-01-06 14:16:46 +01:00
DynamicLoading.stories.js fix: DynamicLoading story, Codec and parseXml (#125) 2022-10-28 15:37:02 +02:00
DynamicStyle.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
DynamicToolbar.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
EdgeTolerance.stories.js fix: use the right convertPoints function in Stories (#166) 2023-01-06 14:16:46 +01:00
Editing.stories.js fix: use the right convertPoints function in Stories (#166) 2023-01-06 14:16:46 +01:00
Events.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
ExtendCanvas.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
FileIO.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
FixedIcons.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
FixedPoints.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
Folding.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
Grid.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
Groups.stories.js Change CellArray to cellArrayUtils. 2022-09-17 18:58:30 +09:00
Guides.stories.js Fixed Guides story 2022-10-04 11:47:03 +03:00
Handles.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
HelloPort.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
HelloWorld.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
HierarchicalLayout.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
HoverIcons.stories.js Fix CellArray related warnings. #96 2022-09-17 18:57:00 +09:00
HoverStyle.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
Images.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
Indicators.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
JsonData.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
LabelPosition.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
Labels.stories.js refactor(style)!: rename/remove properties and types (#165) 2023-01-30 11:44:06 +01:00
Layers.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
LoD.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
Markers.stories.js fix: correctly manage the markers fill style (#157) 2023-01-06 16:53:54 +01:00
Merge.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
Monitor.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
Morph.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
OffPage.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
OrgChart.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
Orthogonal.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
Overlays.stories.js fix: CellOverlay constructor use all parameters to set properties (#159) 2022-12-16 16:51:51 +01:00
PageBreaks.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
Perimeter.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
Permissions.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
PortRefs.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
RadialTreeLayout.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
SecondLabel.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
Shape.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
Stencils.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
Stylesheet.stories.js fix: consider default style when computing effective style properties (#152) 2022-12-17 09:16:26 +01:00
SwimLanes.stories.js fix: SwimlaneMixin handles the 'style.horizontal' `undefined` value (#156) 2023-01-06 16:59:18 +01:00
Thread.stories.js Fix stories with overlays usage 2022-10-06 10:58:33 +03:00
Toolbar.stories.js Fix CellArray related warnings. #96 2022-09-17 18:57:00 +09:00
Tree.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
UserObject.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
Validation.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
Visibility.stories.js Fixed Visibility story 2022-10-03 11:07:39 +03:00
Window.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00
Wrapping.stories.js doc: update copyright and license in source file headers (#100) 2022-08-30 17:36:33 +02:00