@likec4/diagram 1.24.1 → 1.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LikeC4Diagram.css.d.ts +0 -2
- package/dist/LikeC4Diagram.css.js +0 -1
- package/dist/LikeC4Diagram.d.ts +3 -2
- package/dist/LikeC4Diagram.js +71 -61
- package/dist/LikeC4Diagram.props.d.ts +5 -0
- package/dist/StaticLikeC4Diagram.d.ts +1 -1
- package/dist/base/BaseXYFlow.js +14 -3
- package/dist/base/const.d.ts +3 -3
- package/dist/base/const.js +3 -3
- package/dist/base/primitives/compound/CompoundActionButton.css.d.ts +0 -1
- package/dist/base/primitives/compound/CompoundActionButton.css.js +1 -4
- package/dist/base/primitives/compound/CompoundActionButton.js +9 -15
- package/dist/base/primitives/compound/CompoundDetailsButton.css.js +0 -3
- package/dist/base/primitives/compound/CompoundDetailsButton.js +8 -14
- package/dist/base/primitives/compound/CompoundNodeContainer.css.js +0 -2
- package/dist/base/primitives/compound/CompoundNodeContainer.js +2 -2
- package/dist/base/primitives/compound/CompoundTitle.css.js +0 -1
- package/dist/base/primitives/compound/CompoundTitle.js +1 -1
- package/dist/base/primitives/customNode.js +1 -1
- package/dist/base/primitives/edge/EdgeContainer.d.ts +2 -1
- package/dist/base/primitives/edge/EdgeContainer.js +20 -17
- package/dist/base/primitives/edge/EdgeLabel.css.js +0 -1
- package/dist/base/primitives/edge/EdgeLabel.js +5 -8
- package/dist/base/primitives/edge/EdgePath.js +13 -5
- package/dist/base/primitives/edge/edge.css.js +1 -2
- package/dist/base/primitives/element/ElementActionButtons.css.js +0 -1
- package/dist/base/primitives/element/ElementDetailsButton.css.js +0 -3
- package/dist/base/primitives/element/ElementDetailsButton.js +9 -15
- package/dist/base/primitives/element/ElementNodeContainer.css.js +1 -2
- package/dist/base/primitives/element/ElementNodeContainer.js +1 -3
- package/dist/base/primitives/element/ElementShape.css.js +0 -1
- package/dist/base/primitives/element/ElementTitle.css.d.ts +2 -0
- package/dist/base/primitives/element/ElementTitle.css.js +2 -4
- package/dist/base/primitives/element/ElementTitle.js +7 -7
- package/dist/components/SearchControl.css.d.ts +1 -0
- package/dist/components/SearchControl.css.js +3 -3
- package/dist/components/SearchControl.js +3 -3
- package/dist/context/ControlsCustomLayout.d.ts +13 -0
- package/dist/context/ControlsCustomLayout.js +10 -0
- package/dist/context/RootContainer.d.ts +2 -1
- package/dist/context/RootContainer.js +2 -3
- package/dist/diagram.css +1 -1
- package/dist/hooks/useDiagram.d.ts +155 -756
- package/dist/hooks/useDiagram.js +6 -1
- package/dist/index.d.ts +1 -0
- package/dist/likec4diagram/XYFlow.d.ts +3 -7
- package/dist/likec4diagram/XYFlow.js +13 -6
- package/dist/likec4diagram/custom/edges/RelationshipEdge.js +30 -25
- package/dist/likec4diagram/custom/edges/edges.css.d.ts +1 -0
- package/dist/likec4diagram/custom/edges/edges.css.js +5 -3
- package/dist/likec4diagram/custom/index.d.ts +9 -1
- package/dist/likec4diagram/custom/index.js +10 -1
- package/dist/likec4diagram/custom/nodes/nodeTypes.d.ts +5 -7
- package/dist/likec4diagram/custom/nodes/nodeTypes.js +60 -58
- package/dist/likec4diagram/ui/controls/Controls.js +110 -71
- package/dist/likec4diagram/ui/controls/NavigationButtons.js +14 -22
- package/dist/likec4diagram/ui/controls/_shared.js +1 -1
- package/dist/likec4diagram/ui/controls/styles.css.js +0 -2
- package/dist/likec4diagram/ui/diagram-title/DiagramTitlePanel.css.d.ts +0 -1
- package/dist/likec4diagram/ui/diagram-title/DiagramTitlePanel.css.js +3 -7
- package/dist/likec4diagram/ui/diagram-title/DiagramTitlePanel.js +2 -3
- package/dist/likec4diagram/ui/notation/NotationPanel.css.d.ts +1 -0
- package/dist/likec4diagram/ui/notation/NotationPanel.css.js +6 -4
- package/dist/likec4diagram/ui/notation/NotationPanel.js +2 -2
- package/dist/likec4diagram/ui/search/LikeC4Search.css.js +0 -2
- package/dist/likec4diagram/ui/search/SearchInput.js +1 -1
- package/dist/likec4diagram/ui/search/ViewsColum.js +1 -2
- package/dist/likec4diagram/ui/search/ViewsColumn.css.d.ts +1 -1
- package/dist/likec4diagram/ui/search/ViewsColumn.css.js +2 -0
- package/dist/likec4model/useLikeC4Model.js +0 -1
- package/dist/node_modules/.pnpm/@mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/VisuallyHidden/VisuallyHidden.module.css.mjs.vanilla.css.js +1 -0
- package/dist/overlays/element-details/ElementDetailsCard.css.d.ts +2 -0
- package/dist/overlays/element-details/ElementDetailsCard.css.js +18 -14
- package/dist/overlays/element-details/ElementDetailsCard.js +10 -7
- package/dist/overlays/overlay/Overlay.css.d.ts +2 -0
- package/dist/overlays/overlay/Overlay.css.js +93 -89
- package/dist/overlays/overlay/Overlay.js +10 -7
- package/dist/overlays/relationship-details/useLayoutedDetails.js +4 -3
- package/dist/state/assign.js +15 -1
- package/dist/state/diagram-machine.d.ts +159 -756
- package/dist/state/diagram-machine.js +46 -41
- package/dist/state/persistence.js +1 -1
- package/dist/theme-vars.css.d.ts +0 -9
- package/dist/theme-vars.d.ts +13 -1
- package/dist/theme-vars.js +3 -1
- package/dist/utils/css.d.ts +1 -0
- package/dist/utils/css.js +10 -0
- package/package.json +16 -8
- package/src/LikeC4Diagram.css.ts +134 -4
- package/src/LikeC4Diagram.props.ts +6 -0
- package/src/LikeC4Diagram.tsx +21 -11
- package/src/StaticLikeC4Diagram.tsx +1 -0
- package/src/base/BaseXYFlow.tsx +18 -3
- package/src/base/const.ts +3 -3
- package/src/base/primitives/compound/CompoundActionButton.css.ts +5 -14
- package/src/base/primitives/compound/CompoundActionButton.tsx +10 -14
- package/src/base/primitives/compound/CompoundDetailsButton.css.ts +0 -2
- package/src/base/primitives/compound/CompoundDetailsButton.tsx +8 -12
- package/src/base/primitives/compound/CompoundNodeContainer.css.ts +4 -3
- package/src/base/primitives/compound/CompoundNodeContainer.tsx +2 -2
- package/src/base/primitives/compound/CompoundTitle.css.ts +2 -2
- package/src/base/primitives/customNode.ts +1 -1
- package/src/base/primitives/edge/EdgeContainer.tsx +27 -14
- package/src/base/primitives/edge/EdgeLabel.css.ts +19 -15
- package/src/base/primitives/edge/EdgeLabel.tsx +6 -9
- package/src/base/primitives/edge/EdgePath.tsx +28 -16
- package/src/base/primitives/edge/edge.css.ts +18 -17
- package/src/base/primitives/element/ElementActionButtons.css.ts +1 -1
- package/src/base/primitives/element/ElementDetailsButton.css.ts +0 -2
- package/src/base/primitives/element/ElementDetailsButton.tsx +9 -13
- package/src/base/primitives/element/ElementNodeContainer.css.ts +53 -4
- package/src/base/primitives/element/ElementNodeContainer.tsx +1 -2
- package/src/base/primitives/element/ElementShape.css.ts +15 -3
- package/src/base/primitives/element/ElementTitle.css.ts +4 -1
- package/src/base/primitives/element/ElementTitle.tsx +5 -4
- package/src/base/primitives/element/vars.css.ts +5 -0
- package/src/components/Link.css.ts +1 -1
- package/src/components/SearchControl.css.ts +15 -7
- package/src/components/SearchControl.tsx +2 -2
- package/src/context/ControlsCustomLayout.ts +16 -0
- package/src/context/RootContainer.tsx +6 -4
- package/src/index.ts +1 -0
- package/src/likec4diagram/XYFlow.tsx +9 -3
- package/src/likec4diagram/custom/edges/RelationshipEdge.tsx +32 -21
- package/src/likec4diagram/custom/edges/RelationshipsDropdownMenu.tsx +1 -1
- package/src/likec4diagram/custom/edges/edges.css.ts +15 -0
- package/src/likec4diagram/custom/index.tsx +14 -1
- package/src/likec4diagram/custom/nodes/nodeTypes.tsx +61 -59
- package/src/likec4diagram/ui/controls/Controls.tsx +102 -61
- package/src/likec4diagram/ui/controls/NavigationButtons.tsx +19 -20
- package/src/likec4diagram/ui/controls/styles.css.ts +8 -3
- package/src/likec4diagram/ui/diagram-title/DiagramTitlePanel.css.ts +4 -9
- package/src/likec4diagram/ui/diagram-title/DiagramTitlePanel.tsx +1 -2
- package/src/likec4diagram/ui/notation/NotationPanel.css.ts +14 -1
- package/src/likec4diagram/ui/notation/NotationPanel.tsx +1 -1
- package/src/likec4diagram/ui/search/ElementsColumn.css.ts +1 -2
- package/src/likec4diagram/ui/search/ElementsColumn.tsx +1 -1
- package/src/likec4diagram/ui/search/LikeC4Search.css.ts +1 -3
- package/src/likec4diagram/ui/search/SearchInput.tsx +1 -1
- package/src/likec4diagram/ui/search/ViewsColum.tsx +1 -2
- package/src/likec4diagram/ui/search/ViewsColumn.css.ts +1 -1
- package/src/likec4diagram/ui/search/_shared.css.ts +2 -3
- package/src/likec4model/useLikeC4Model.ts +1 -1
- package/src/overlays/element-details/ElementDetailsCard.css.ts +8 -5
- package/src/overlays/element-details/ElementDetailsCard.tsx +11 -7
- package/src/overlays/overlay/Overlay.css.ts +11 -7
- package/src/overlays/overlay/Overlay.tsx +10 -6
- package/src/overlays/relationship-details/RelationshipDetails.tsx +1 -5
- package/src/overlays/relationship-details/useLayoutedDetails.ts +4 -4
- package/src/state/DiagramActorProvider.tsx +0 -1
- package/src/state/assign.ts +15 -1
- package/src/state/diagram-machine.ts +45 -38
- package/src/state/persistence.ts +1 -1
- package/src/theme-vars.css.ts +0 -12
- package/src/theme-vars.ts +16 -4
- package/src/utils/css.ts +7 -0
- package/dist/base/primitives/element/styles.css.js +0 -8
- package/dist/globals.css.d.ts +0 -3
- package/dist/globals.css.js +0 -5
- package/dist/likec4diagram/ui/search/_shared.css.js +0 -5
- package/src/base/primitives/element/styles.css.ts +0 -52
- package/src/globals.css.ts +0 -131
- /package/dist/base/primitives/element/{styles.css.d.ts → vars.css.d.ts} +0 -0
- /package/dist/{node_modules/.pnpm/@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Accordion/Accordion.module.css.mjs.vanilla.css.js → base/primitives/element/vars.css.ts.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ActionIcon/ActionIcon.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Accordion/Accordion.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Affix/Affix.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ActionIcon/ActionIcon.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Alert/Alert.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Affix/Affix.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Anchor/Anchor.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Alert/Alert.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/AngleSlider/AngleSlider.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Anchor/Anchor.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/AppShell/AppShell.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/AngleSlider/AngleSlider.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/AspectRatio/AspectRatio.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/AppShell/AppShell.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Avatar/Avatar.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/AspectRatio/AspectRatio.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/BackgroundImage/BackgroundImage.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Avatar/Avatar.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Badge/Badge.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/BackgroundImage/BackgroundImage.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Blockquote/Blockquote.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Badge/Badge.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Breadcrumbs/Breadcrumbs.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Blockquote/Blockquote.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Burger/Burger.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Breadcrumbs/Breadcrumbs.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Button/Button.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Burger/Burger.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Card/Card.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Button/Button.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Center/Center.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Card/Card.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Checkbox/Checkbox.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Center/Center.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Checkbox/CheckboxCard/CheckboxCard.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Checkbox/Checkbox.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Checkbox/CheckboxIndicator/CheckboxIndicator.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Checkbox/CheckboxCard/CheckboxCard.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Chip/Chip.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Checkbox/CheckboxIndicator/CheckboxIndicator.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/CloseButton/CloseButton.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Chip/Chip.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Code/Code.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/CloseButton/CloseButton.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ColorInput/ColorInput.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Code/Code.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ColorPicker/ColorPicker.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ColorInput/ColorInput.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ColorSwatch/ColorSwatch.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ColorPicker/ColorPicker.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Combobox/Combobox.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ColorSwatch/ColorSwatch.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Container/Container.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Combobox/Combobox.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Dialog/Dialog.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Container/Container.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Divider/Divider.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Dialog/Dialog.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Drawer/Drawer.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Divider/Divider.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Fieldset/Fieldset.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Drawer/Drawer.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Flex/Flex.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Fieldset/Fieldset.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/FloatingIndicator/FloatingIndicator.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Flex/Flex.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Grid/Grid.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/FloatingIndicator/FloatingIndicator.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Group/Group.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Grid/Grid.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Image/Image.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Group/Group.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Indicator/Indicator.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Image/Image.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/InlineInput/InlineInput.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Indicator/Indicator.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Input/Input.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/InlineInput/InlineInput.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Kbd/Kbd.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Input/Input.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/List/List.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Kbd/Kbd.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Loader/Loader.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/List/List.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/LoadingOverlay/LoadingOverlay.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Loader/Loader.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Mark/Mark.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/LoadingOverlay/LoadingOverlay.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Menu/Menu.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Mark/Mark.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Modal/Modal.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Menu/Menu.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ModalBase/ModalBase.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Modal/Modal.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/NavLink/NavLink.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ModalBase/ModalBase.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Notification/Notification.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/NavLink/NavLink.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/NumberInput/NumberInput.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Notification/Notification.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Overlay/Overlay.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/NumberInput/NumberInput.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Pagination/Pagination.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Overlay/Overlay.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Paper/Paper.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Pagination/Pagination.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/PasswordInput/PasswordInput.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Paper/Paper.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Pill/Pill.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/PasswordInput/PasswordInput.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/PillsInput/PillsInput.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Pill/Pill.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/PinInput/PinInput.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/PillsInput/PillsInput.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Popover/Popover.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/PinInput/PinInput.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Progress/Progress.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Popover/Popover.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Radio/Radio.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Progress/Progress.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Radio/RadioCard/RadioCard.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Radio/Radio.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Radio/RadioIndicator/RadioIndicator.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Radio/RadioCard/RadioCard.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Rating/Rating.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Radio/RadioIndicator/RadioIndicator.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/RingProgress/RingProgress.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Rating/Rating.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ScrollArea/ScrollArea.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/RingProgress/RingProgress.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/SegmentedControl/SegmentedControl.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ScrollArea/ScrollArea.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/SemiCircleProgress/SemiCircleProgress.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/SegmentedControl/SegmentedControl.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/SimpleGrid/SimpleGrid.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/SemiCircleProgress/SemiCircleProgress.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Skeleton/Skeleton.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/SimpleGrid/SimpleGrid.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Slider/Slider.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Skeleton/Skeleton.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Spoiler/Spoiler.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Slider/Slider.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Stack/Stack.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Spoiler/Spoiler.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Stepper/Stepper.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Stack/Stack.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Switch/Switch.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Stepper/Stepper.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Table/Table.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Switch/Switch.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/TableOfContents/TableOfContents.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Table/Table.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Tabs/Tabs.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/TableOfContents/TableOfContents.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Text/Text.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Tabs/Tabs.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ThemeIcon/ThemeIcon.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Text/Text.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Timeline/Timeline.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ThemeIcon/ThemeIcon.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Title/Title.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Timeline/Timeline.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Tooltip/Tooltip.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Title/Title.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Tree/Tree.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Tooltip/Tooltip.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/TypographyStylesProvider/TypographyStylesProvider.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Tree/Tree.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/UnstyledButton/UnstyledButton.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/TypographyStylesProvider/TypographyStylesProvider.module.css.mjs.vanilla.css.js} +0 -0
- /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/VisuallyHidden/VisuallyHidden.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/UnstyledButton/UnstyledButton.module.css.mjs.vanilla.css.js} +0 -0
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { whereNotReducedGraphics, whereReducedGraphics } from './globals.css';
|
|
2
1
|
export declare const cssReactFlow: string;
|
|
3
2
|
export declare const reactFlowReducedGraphics: string;
|
|
4
3
|
export declare const reactFlow: string;
|
|
5
|
-
export { whereNotReducedGraphics, whereReducedGraphics };
|
|
6
4
|
export declare const notInitialized: string;
|
|
7
5
|
export declare const cssDisablePan: string;
|
|
8
6
|
export declare const cssTransparentBg: string;
|
package/dist/LikeC4Diagram.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
1
2
|
import { LikeC4DiagramEventHandlers, LikeC4DiagramProperties } from './LikeC4Diagram.props';
|
|
2
|
-
export type LikeC4DiagramProps = LikeC4DiagramProperties & LikeC4DiagramEventHandlers
|
|
3
|
-
export declare function LikeC4Diagram({ view, className, fitView, fitViewPadding, readonly, pannable, zoomable, background, enableFocusMode, enableElementDetails, enableRelationshipDetails, enableRelationshipBrowser, nodesSelectable, nodesDraggable, controls, showDiagramTitle, showNotations, enableDynamicViewWalkthrough, enableSearch, initialWidth, initialHeight, experimentalEdgeEditing, reduceGraphics, onCanvasClick, onCanvasContextMenu, onCanvasDblClick, onEdgeClick, onChange, onEdgeContextMenu, onNavigateTo, onNodeClick, onNodeContextMenu, onOpenSource, onBurgerMenuClick, renderIcon, where, showNavigationButtons, }: LikeC4DiagramProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export type LikeC4DiagramProps = PropsWithChildren<LikeC4DiagramProperties & LikeC4DiagramEventHandlers>;
|
|
4
|
+
export declare function LikeC4Diagram({ view, className, fitView, fitViewPadding, readonly, pannable, zoomable, background, enableFocusMode, enableElementDetails, enableRelationshipDetails, enableRelationshipBrowser, nodesSelectable, nodesDraggable, controls, showDiagramTitle, showNotations, enableDynamicViewWalkthrough, enableSearch, initialWidth, initialHeight, experimentalEdgeEditing, reduceGraphics, onCanvasClick, onCanvasContextMenu, onCanvasDblClick, onEdgeClick, onChange, onEdgeContextMenu, onNavigateTo, onNodeClick, onNodeContextMenu, onOpenSource, onBurgerMenuClick, renderIcon, renderControls, where, showNavigationButtons, children, }: LikeC4DiagramProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/LikeC4Diagram.js
CHANGED
|
@@ -2,6 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { ReactFlowProvider } from "@xyflow/react";
|
|
3
3
|
import { useRef } from "react";
|
|
4
4
|
import { isEmpty } from "remeda";
|
|
5
|
+
import { ControlsCustomLayoutProvider } from "./context/ControlsCustomLayout.js";
|
|
5
6
|
import { ReducedGraphicsContext } from "./hooks/useIsReducedGraphics.js";
|
|
6
7
|
import { LikeC4CustomColors } from "./LikeC4CustomColors.js";
|
|
7
8
|
import { useViewToNodesEdges } from "./likec4diagram/useViewToNodesEdges.js";
|
|
@@ -50,8 +51,10 @@ function LikeC4Diagram({
|
|
|
50
51
|
onOpenSource,
|
|
51
52
|
onBurgerMenuClick,
|
|
52
53
|
renderIcon,
|
|
54
|
+
renderControls,
|
|
53
55
|
where,
|
|
54
|
-
showNavigationButtons = !!onNavigateTo
|
|
56
|
+
showNavigationButtons = !!onNavigateTo,
|
|
57
|
+
children
|
|
55
58
|
}) {
|
|
56
59
|
var _a, _b;
|
|
57
60
|
const hasLikec4model = !!useLikeC4Model();
|
|
@@ -70,78 +73,85 @@ function LikeC4Diagram({
|
|
|
70
73
|
initialHeight: initialHeight ?? view.bounds.height
|
|
71
74
|
};
|
|
72
75
|
}
|
|
73
|
-
const isReducedGraphicsMode = reduceGraphics === "auto" ? (((_a = view.bounds) == null ? void 0 : _a.width) ?? 1) * (((_b = view.bounds) == null ? void 0 : _b.height) ?? 1) > 6e6 : reduceGraphics;
|
|
74
|
-
return /* @__PURE__ */ jsx(EnsureMantine, { children: /* @__PURE__ */ jsx(
|
|
75
|
-
|
|
76
|
+
const isReducedGraphicsMode = reduceGraphics === "auto" ? pannable && (((_a = view.bounds) == null ? void 0 : _a.width) ?? 1) * (((_b = view.bounds) == null ? void 0 : _b.height) ?? 1) > 6e6 : reduceGraphics;
|
|
77
|
+
return /* @__PURE__ */ jsx(EnsureMantine, { children: /* @__PURE__ */ jsx(
|
|
78
|
+
FramerMotionConfig,
|
|
76
79
|
{
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
enableFocusMode,
|
|
81
|
-
enableNavigateTo: !!onNavigateTo,
|
|
82
|
-
enableElementDetails,
|
|
83
|
-
enableRelationshipDetails,
|
|
84
|
-
enableRelationshipBrowser,
|
|
85
|
-
enableSearch,
|
|
86
|
-
enableNavigationButtons: showNavigationButtons && !!onNavigateTo,
|
|
87
|
-
enableDynamicViewWalkthrough: isDynamicView && enableDynamicViewWalkthrough,
|
|
88
|
-
enableEdgeEditing: experimentalEdgeEditing,
|
|
89
|
-
enableNotations: showNotations,
|
|
90
|
-
enableVscode: !!onOpenSource,
|
|
91
|
-
enableControls: controls,
|
|
92
|
-
enableViewTitle: showDiagramTitle,
|
|
93
|
-
enableLikeC4Model: hasLikec4model
|
|
94
|
-
},
|
|
95
|
-
children: /* @__PURE__ */ jsx(
|
|
96
|
-
DiagramEventHandlers,
|
|
80
|
+
...isReducedGraphicsMode && { reducedMotion: "always" },
|
|
81
|
+
children: /* @__PURE__ */ jsx(IconRendererProvider, { value: renderIcon ?? null, children: /* @__PURE__ */ jsx(
|
|
82
|
+
DiagramFeatures,
|
|
97
83
|
{
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
84
|
+
features: {
|
|
85
|
+
enableFitView: fitView,
|
|
86
|
+
enableReadOnly: readonly,
|
|
87
|
+
enableFocusMode,
|
|
88
|
+
enableNavigateTo: !!onNavigateTo,
|
|
89
|
+
enableElementDetails,
|
|
90
|
+
enableRelationshipDetails,
|
|
91
|
+
enableRelationshipBrowser,
|
|
92
|
+
enableSearch,
|
|
93
|
+
enableNavigationButtons: showNavigationButtons && !!onNavigateTo,
|
|
94
|
+
enableDynamicViewWalkthrough: isDynamicView && enableDynamicViewWalkthrough,
|
|
95
|
+
enableEdgeEditing: experimentalEdgeEditing,
|
|
96
|
+
enableNotations: showNotations,
|
|
97
|
+
enableVscode: !!onOpenSource,
|
|
98
|
+
enableControls: controls,
|
|
99
|
+
enableViewTitle: showDiagramTitle,
|
|
100
|
+
enableLikeC4Model: hasLikec4model
|
|
110
101
|
},
|
|
111
|
-
children: /* @__PURE__ */ jsx(
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
102
|
+
children: /* @__PURE__ */ jsx(
|
|
103
|
+
DiagramEventHandlers,
|
|
104
|
+
{
|
|
105
|
+
handlers: {
|
|
106
|
+
onCanvasClick,
|
|
107
|
+
onCanvasContextMenu,
|
|
108
|
+
onCanvasDblClick,
|
|
109
|
+
onEdgeClick,
|
|
110
|
+
onChange,
|
|
111
|
+
onEdgeContextMenu,
|
|
112
|
+
onNavigateTo,
|
|
113
|
+
onNodeClick,
|
|
114
|
+
onNodeContextMenu,
|
|
115
|
+
onOpenSource,
|
|
116
|
+
onBurgerMenuClick
|
|
117
|
+
},
|
|
118
|
+
children: /* @__PURE__ */ jsx(ReducedGraphicsContext, { value: isReducedGraphicsMode, children: /* @__PURE__ */ jsxs(RootContainer, { className, reduceGraphics: isReducedGraphicsMode, children: [
|
|
119
|
+
!isEmpty(view.customColorDefinitions) && /* @__PURE__ */ jsx(LikeC4CustomColors, { customColors: view.customColorDefinitions }),
|
|
120
|
+
/* @__PURE__ */ jsx(
|
|
121
|
+
ReactFlowProvider,
|
|
120
122
|
{
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
pannable,
|
|
124
|
-
zoomable,
|
|
125
|
-
fitViewPadding,
|
|
126
|
-
...xyNodesEdges
|
|
127
|
-
},
|
|
123
|
+
fitView,
|
|
124
|
+
...initialRef.current,
|
|
128
125
|
children: /* @__PURE__ */ jsx(
|
|
129
|
-
|
|
126
|
+
DiagramActorProvider,
|
|
130
127
|
{
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
128
|
+
input: {
|
|
129
|
+
view,
|
|
130
|
+
pannable,
|
|
131
|
+
zoomable,
|
|
132
|
+
fitViewPadding,
|
|
133
|
+
...xyNodesEdges
|
|
134
|
+
},
|
|
135
|
+
children: /* @__PURE__ */ jsx(ControlsCustomLayoutProvider, { value: renderControls ?? null, children: /* @__PURE__ */ jsx(
|
|
136
|
+
LikeC4DiagramXYFlow,
|
|
137
|
+
{
|
|
138
|
+
nodesDraggable,
|
|
139
|
+
nodesSelectable,
|
|
140
|
+
background,
|
|
141
|
+
children
|
|
142
|
+
}
|
|
143
|
+
) })
|
|
134
144
|
}
|
|
135
145
|
)
|
|
136
146
|
}
|
|
137
147
|
)
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
|
|
148
|
+
] }) })
|
|
149
|
+
}
|
|
150
|
+
)
|
|
141
151
|
}
|
|
142
|
-
)
|
|
152
|
+
) })
|
|
143
153
|
}
|
|
144
|
-
) })
|
|
154
|
+
) });
|
|
145
155
|
}
|
|
146
156
|
export {
|
|
147
157
|
LikeC4Diagram
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DiagramEdge, DiagramNode, DiagramView, Fqn, RelationId, ViewChange, ViewId, WhereOperator } from '@likec4/core';
|
|
2
2
|
import { MouseEvent as ReactMouseEvent, ReactNode } from 'react';
|
|
3
|
+
import { ControlsCustomLayout } from './context/ControlsCustomLayout';
|
|
3
4
|
export type { WhereOperator };
|
|
4
5
|
export type DiagramNodeWithNavigate<ID = ViewId> = Omit<DiagramNode, 'navigateTo'> & {
|
|
5
6
|
navigateTo: ID;
|
|
@@ -135,6 +136,10 @@ export interface LikeC4DiagramProperties {
|
|
|
135
136
|
* By default, if icon is http:// or https://, it will be rendered as an image
|
|
136
137
|
*/
|
|
137
138
|
renderIcon?: ElementIconRenderer | undefined;
|
|
139
|
+
/**
|
|
140
|
+
* Customize layout of the controls on the top left
|
|
141
|
+
*/
|
|
142
|
+
renderControls?: ControlsCustomLayout | undefined;
|
|
138
143
|
/**
|
|
139
144
|
* Dynamic filter, applies both to nodes and edges
|
|
140
145
|
*/
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { LikeC4DiagramProperties } from './LikeC4Diagram.props';
|
|
2
|
-
export type StaticLikeC4DiagramProps = Pick<LikeC4DiagramProperties, 'view' | 'className' | 'fitView' | 'fitViewPadding' | 'background' | 'enableElementDetails' | 'enableRelationshipDetails' | 'enableRelationshipBrowser' | 'initialWidth' | 'initialHeight' | 'renderIcon' | 'where'>;
|
|
2
|
+
export type StaticLikeC4DiagramProps = Pick<LikeC4DiagramProperties, 'view' | 'className' | 'fitView' | 'fitViewPadding' | 'background' | 'enableElementDetails' | 'enableRelationshipDetails' | 'enableRelationshipBrowser' | 'reduceGraphics' | 'initialWidth' | 'initialHeight' | 'renderIcon' | 'where'>;
|
|
3
3
|
export declare function StaticLikeC4Diagram({ view, fitView, fitViewPadding, enableElementDetails, enableRelationshipDetails, enableRelationshipBrowser, background, ...rest }: StaticLikeC4DiagramProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/base/BaseXYFlow.js
CHANGED
|
@@ -3,10 +3,10 @@ import { useCallbackRef } from "@mantine/hooks";
|
|
|
3
3
|
import { ReactFlow, useStoreApi, useOnViewportChange, useStore } from "@xyflow/react";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { shallowEqual } from "fast-equals";
|
|
6
|
-
import { useMemo } from "react";
|
|
6
|
+
import { useRef, useEffect, useMemo } from "react";
|
|
7
7
|
import { useIsReducedGraphics } from "../hooks/useIsReducedGraphics.js";
|
|
8
8
|
import { useUpdateEffect } from "../hooks/useUpdateEffect.js";
|
|
9
|
-
import { useIsZoomTooSmall } from "../hooks/useXYFlow.js";
|
|
9
|
+
import { useIsZoomTooSmall, useXYStoreApi } from "../hooks/useXYFlow.js";
|
|
10
10
|
import { cssReactFlow, cssDisablePan, cssTransparentBg } from "../LikeC4Diagram.css.js";
|
|
11
11
|
import { stopPropagation } from "../utils/xyflow.js";
|
|
12
12
|
import { Background } from "./Background.js";
|
|
@@ -34,6 +34,13 @@ const BaseXYFlow = ({
|
|
|
34
34
|
const isBgWithPattern = background !== "transparent" && background !== "solid";
|
|
35
35
|
const isZoomTooSmall = useIsZoomTooSmall();
|
|
36
36
|
const reduceGraphics = useIsReducedGraphics();
|
|
37
|
+
const isPanningRef = useRef(false);
|
|
38
|
+
const xystore = useXYStoreApi();
|
|
39
|
+
useEffect(() => {
|
|
40
|
+
return xystore.subscribe((state) => {
|
|
41
|
+
isPanningRef.current = state.paneDragging;
|
|
42
|
+
});
|
|
43
|
+
}, [xystore]);
|
|
37
44
|
return /* @__PURE__ */ jsxs(
|
|
38
45
|
ReactFlow,
|
|
39
46
|
{
|
|
@@ -73,10 +80,10 @@ const BaseXYFlow = ({
|
|
|
73
80
|
noPanClassName: "nopan",
|
|
74
81
|
panOnScroll: pannable,
|
|
75
82
|
panOnDrag: pannable,
|
|
83
|
+
panActivationKeyCode: null,
|
|
76
84
|
...!pannable && {
|
|
77
85
|
selectionKeyCode: null
|
|
78
86
|
},
|
|
79
|
-
onlyRenderVisibleElements: reduceGraphics,
|
|
80
87
|
elementsSelectable: nodesSelectable,
|
|
81
88
|
nodesFocusable: nodesDraggable || nodesSelectable,
|
|
82
89
|
edgesFocusable: false,
|
|
@@ -89,6 +96,7 @@ const BaseXYFlow = ({
|
|
|
89
96
|
onNodesChange,
|
|
90
97
|
onEdgesChange,
|
|
91
98
|
onNodeMouseEnter: useCallbackRef((_event, node) => {
|
|
99
|
+
if (isPanningRef.current) return;
|
|
92
100
|
onNodesChange([{
|
|
93
101
|
id: node.id,
|
|
94
102
|
type: "replace",
|
|
@@ -96,6 +104,7 @@ const BaseXYFlow = ({
|
|
|
96
104
|
}]);
|
|
97
105
|
}),
|
|
98
106
|
onNodeMouseLeave: useCallbackRef((_event, node) => {
|
|
107
|
+
if (node.data.hovered !== true) return;
|
|
99
108
|
onNodesChange([{
|
|
100
109
|
id: node.id,
|
|
101
110
|
type: "replace",
|
|
@@ -103,6 +112,7 @@ const BaseXYFlow = ({
|
|
|
103
112
|
}]);
|
|
104
113
|
}),
|
|
105
114
|
onEdgeMouseEnter: useCallbackRef((_event, edge) => {
|
|
115
|
+
if (isPanningRef.current) return;
|
|
106
116
|
onEdgesChange([{
|
|
107
117
|
id: edge.id,
|
|
108
118
|
type: "replace",
|
|
@@ -110,6 +120,7 @@ const BaseXYFlow = ({
|
|
|
110
120
|
}]);
|
|
111
121
|
}),
|
|
112
122
|
onEdgeMouseLeave: useCallbackRef((_event, edge) => {
|
|
123
|
+
if (edge.data.hovered !== true) return;
|
|
113
124
|
onEdgesChange([{
|
|
114
125
|
id: edge.id,
|
|
115
126
|
type: "replace",
|
package/dist/base/const.d.ts
CHANGED
package/dist/base/const.js
CHANGED
|
@@ -5,7 +5,7 @@ import clsx from "clsx";
|
|
|
5
5
|
import { m } from "framer-motion";
|
|
6
6
|
import { hiddenIfZoomTooSmall } from "../../../LikeC4Diagram.css.js";
|
|
7
7
|
import { stopPropagation } from "../../../utils/xyflow.js";
|
|
8
|
-
import { actionIcon,
|
|
8
|
+
import { actionIcon, container } from "./CompoundActionButton.css.js";
|
|
9
9
|
function CompoundActionButton({
|
|
10
10
|
data: {
|
|
11
11
|
hovered: isHovered = false
|
|
@@ -14,10 +14,10 @@ function CompoundActionButton({
|
|
|
14
14
|
onClick
|
|
15
15
|
}) {
|
|
16
16
|
return /* @__PURE__ */ jsx(Box, { className: clsx(container, hiddenIfZoomTooSmall, "compound-action"), children: /* @__PURE__ */ jsx(
|
|
17
|
-
|
|
17
|
+
ActionIcon,
|
|
18
18
|
{
|
|
19
|
-
className: clsx("nodrag nopan",
|
|
20
|
-
component: m.
|
|
19
|
+
className: clsx("nodrag nopan", actionIcon),
|
|
20
|
+
component: m.button,
|
|
21
21
|
initial: false,
|
|
22
22
|
animate: {
|
|
23
23
|
scale: isHovered ? 1.2 : 1,
|
|
@@ -30,17 +30,11 @@ function CompoundActionButton({
|
|
|
30
30
|
// y: 1,
|
|
31
31
|
},
|
|
32
32
|
whileTap: { scale: 1 },
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
radius: "md",
|
|
39
|
-
onClick,
|
|
40
|
-
onDoubleClick: stopPropagation,
|
|
41
|
-
children: icon ?? /* @__PURE__ */ jsx(IconZoomScan, { stroke: 2 })
|
|
42
|
-
}
|
|
43
|
-
)
|
|
33
|
+
size: "md",
|
|
34
|
+
radius: "md",
|
|
35
|
+
onClick,
|
|
36
|
+
onDoubleClick: stopPropagation,
|
|
37
|
+
children: icon ?? /* @__PURE__ */ jsx(IconZoomScan, { stroke: 2 })
|
|
44
38
|
}
|
|
45
39
|
) });
|
|
46
40
|
}
|
|
@@ -5,7 +5,7 @@ import clsx from "clsx";
|
|
|
5
5
|
import { m } from "framer-motion";
|
|
6
6
|
import { hiddenIfZoomTooSmall } from "../../../LikeC4Diagram.css.js";
|
|
7
7
|
import { stopPropagation } from "../../../utils/xyflow.js";
|
|
8
|
-
import { actionIcon,
|
|
8
|
+
import { actionIcon, container } from "./CompoundDetailsButton.css.js";
|
|
9
9
|
function CompoundDetailsButton({
|
|
10
10
|
data: {
|
|
11
11
|
hovered: isHovered = false
|
|
@@ -14,10 +14,10 @@ function CompoundDetailsButton({
|
|
|
14
14
|
onClick
|
|
15
15
|
}) {
|
|
16
16
|
return /* @__PURE__ */ jsx(Box, { className: clsx(container, hiddenIfZoomTooSmall, "details-button"), onClick: stopPropagation, children: /* @__PURE__ */ jsx(
|
|
17
|
-
|
|
17
|
+
ActionIcon,
|
|
18
18
|
{
|
|
19
19
|
component: m.div,
|
|
20
|
-
className: clsx("nodrag nopan",
|
|
20
|
+
className: clsx("nodrag nopan", actionIcon),
|
|
21
21
|
initial: false,
|
|
22
22
|
style: {
|
|
23
23
|
originX: 0.45,
|
|
@@ -32,17 +32,11 @@ function CompoundDetailsButton({
|
|
|
32
32
|
scale: 1.42
|
|
33
33
|
},
|
|
34
34
|
whileTap: { scale: 1.15 },
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
radius: "md",
|
|
41
|
-
onClick,
|
|
42
|
-
onDoubleClick: stopPropagation,
|
|
43
|
-
children: icon ?? /* @__PURE__ */ jsx(IconId, { stroke: 1.8, style: { width: "75%" } })
|
|
44
|
-
}
|
|
45
|
-
)
|
|
35
|
+
size: "md",
|
|
36
|
+
radius: "md",
|
|
37
|
+
onClick,
|
|
38
|
+
onDoubleClick: stopPropagation,
|
|
39
|
+
children: icon ?? /* @__PURE__ */ jsx(IconId, { stroke: 1.8, style: { width: "75%" } })
|
|
46
40
|
}
|
|
47
41
|
) });
|
|
48
42
|
}
|
|
@@ -40,8 +40,8 @@ const CompoundNodeContainer = createPolymorphicComponent(
|
|
|
40
40
|
_opacity = Math.min(_opacity + 0.11, 1);
|
|
41
41
|
}
|
|
42
42
|
const [opacity] = useDebouncedValue(Math.round(_opacity * 100) / 100, isHovered ? 200 : 50);
|
|
43
|
-
const MAX_TRANSPARENCY =
|
|
44
|
-
const borderTransparency = clamp(MAX_TRANSPARENCY - opacity * MAX_TRANSPARENCY, {
|
|
43
|
+
const MAX_TRANSPARENCY = 65;
|
|
44
|
+
const borderTransparency = clamp(MAX_TRANSPARENCY - 0.8 * opacity * MAX_TRANSPARENCY, {
|
|
45
45
|
min: 0,
|
|
46
46
|
max: MAX_TRANSPARENCY
|
|
47
47
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Box, Text } from "@mantine/core";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
-
import {
|
|
4
|
+
import { title, compoundTitle, icon } from "./CompoundTitle.css.js";
|
|
5
5
|
import { IconRenderer } from "../../../context/IconRenderer.js";
|
|
6
6
|
function CompoundTitle({ id, data }) {
|
|
7
7
|
const elementIcon = IconRenderer({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { deepEqual } from "fast-equals";
|
|
2
2
|
import { memo } from "react";
|
|
3
|
-
const nodePropsEqual = (prev, next) => prev.id === next.id && deepEqual(prev.selected ?? false, next.selected ?? false) && deepEqual(prev.dragging ?? false, next.dragging ?? false) && deepEqual(prev.width ?? 0, next.width ?? 0) && deepEqual(prev.height ?? 0, next.height ?? 0) && deepEqual(prev.zIndex, next.zIndex) && deepEqual(prev.data, next.data);
|
|
3
|
+
const nodePropsEqual = (prev, next) => prev.id === next.id && deepEqual(prev.selected ?? false, next.selected ?? false) && deepEqual(prev.dragging ?? false, next.dragging ?? false) && deepEqual(prev.width ?? 0, next.width ?? 0) && deepEqual(prev.height ?? 0, next.height ?? 0) && deepEqual(prev.zIndex ?? 0, next.zIndex ?? 0) && deepEqual(prev.data, next.data);
|
|
4
4
|
function customNode(Node) {
|
|
5
5
|
return memo(Node, nodePropsEqual);
|
|
6
6
|
}
|
|
@@ -4,7 +4,8 @@ import { UndefinedOnPartialDeep } from 'type-fest';
|
|
|
4
4
|
import { EdgeProps } from '../../types';
|
|
5
5
|
type Data = UndefinedOnPartialDeep<Pick<DiagramEdge, 'dir' | 'color'>>;
|
|
6
6
|
type EdgeContainerProps = PropsWithChildren<EdgeProps<Data> & {
|
|
7
|
+
component?: 'g' | 'svg' | undefined;
|
|
7
8
|
className?: string | undefined;
|
|
8
9
|
}>;
|
|
9
|
-
export declare function EdgeContainer({ className, data: { hovered: isHovered, active: isActive, dimmed: isDimmed, ...data }, children, }: EdgeContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare function EdgeContainer({ className, component, data: { hovered: isHovered, active: isActive, dimmed: isDimmed, ...data }, children, }: EdgeContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export {};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { invariant } from "@likec4/core";
|
|
2
3
|
import clsx from "clsx";
|
|
3
4
|
import "react";
|
|
4
5
|
import { edgeContainer } from "./edge.css.js";
|
|
5
6
|
function EdgeContainer({
|
|
6
7
|
className,
|
|
8
|
+
component = "g",
|
|
7
9
|
data: {
|
|
8
10
|
hovered: isHovered = false,
|
|
9
11
|
active: isActive = false,
|
|
@@ -12,24 +14,25 @@ function EdgeContainer({
|
|
|
12
14
|
},
|
|
13
15
|
children
|
|
14
16
|
}) {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
className
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"data-edge-
|
|
27
|
-
...isDimmed !== false && {
|
|
28
|
-
"data-edge-dimmed": isDimmed
|
|
29
|
-
},
|
|
30
|
-
children
|
|
17
|
+
const props = {
|
|
18
|
+
className: clsx(
|
|
19
|
+
edgeContainer,
|
|
20
|
+
className
|
|
21
|
+
),
|
|
22
|
+
"data-likec4-color": data.color ?? "gray",
|
|
23
|
+
"data-edge-dir": data.dir ?? "forward",
|
|
24
|
+
"data-edge-active": isActive,
|
|
25
|
+
"data-edge-animated": isActive,
|
|
26
|
+
"data-edge-hovered": isHovered,
|
|
27
|
+
...isDimmed !== false && {
|
|
28
|
+
"data-edge-dimmed": isDimmed
|
|
31
29
|
}
|
|
32
|
-
|
|
30
|
+
};
|
|
31
|
+
if (component === "svg") {
|
|
32
|
+
return /* @__PURE__ */ jsx("svg", { ...props, children });
|
|
33
|
+
}
|
|
34
|
+
invariant(component === "g", 'EdgeContainer: component must be "g" or "svg"');
|
|
35
|
+
return /* @__PURE__ */ jsx("g", { ...props, children });
|
|
33
36
|
}
|
|
34
37
|
export {
|
|
35
38
|
EdgeContainer
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { isStepEdgeId, extractStep } from "@likec4/core";
|
|
3
3
|
import { createPolymorphicComponent, Box, Text } from "@mantine/core";
|
|
4
|
-
import { assignInlineVars } from "@vanilla-extract/dynamic";
|
|
5
4
|
import { EdgeLabelRenderer } from "@xyflow/react";
|
|
6
5
|
import clsx from "clsx";
|
|
7
6
|
import { forwardRef } from "react";
|
|
8
7
|
import { isTruthy, isNumber } from "remeda";
|
|
9
8
|
import { useIsZoomTooSmall } from "../../../hooks/useXYFlow.js";
|
|
9
|
+
import { getVarName } from "../../../utils/css.js";
|
|
10
10
|
import { ZIndexes } from "../../const.js";
|
|
11
|
-
import { edgeLabel, stepEdgeNumber, secondColumn, edgeLabelText, edgeLabelTechnology,
|
|
11
|
+
import { edgeLabel, stepEdgeNumber, secondColumn, edgeLabelText, edgeLabelTechnology, edgeLabelContainer, varTranslate as varTranslate$1 } from "./EdgeLabel.css.js";
|
|
12
12
|
const toCssVarValue = (value) => {
|
|
13
13
|
if (value === void 0) return void 0;
|
|
14
14
|
return isNumber(value) ? `${value}px` : value;
|
|
15
15
|
};
|
|
16
|
+
const varTranslate = getVarName(varTranslate$1);
|
|
16
17
|
const EdgeLabel = createPolymorphicComponent(
|
|
17
18
|
forwardRef(({
|
|
18
19
|
edgeProps: {
|
|
@@ -61,13 +62,9 @@ const EdgeLabel = createPolymorphicComponent(
|
|
|
61
62
|
style: {
|
|
62
63
|
top: toCssVarValue(labelY),
|
|
63
64
|
left: toCssVarValue(labelX),
|
|
64
|
-
|
|
65
|
-
// [css.varLabelX]: toCssVarValue(labelX),
|
|
66
|
-
// [css.varLabelY]: toCssVarValue(labelY),
|
|
67
|
-
// }),
|
|
68
|
-
...translate && assignInlineVars({
|
|
65
|
+
...translate && {
|
|
69
66
|
[varTranslate]: translate
|
|
70
|
-
}
|
|
67
|
+
},
|
|
71
68
|
...labelBBox && {
|
|
72
69
|
maxWidth: labelBBox.width + 18
|
|
73
70
|
},
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { forwardRef } from "react";
|
|
4
|
+
import { useIsReducedGraphics } from "../../../hooks/useIsReducedGraphics.js";
|
|
4
5
|
import { markerContext, edgePathBg, cssEdgePath } from "./edge.css.js";
|
|
5
6
|
import { arrowTypeToMarker, EdgeMarkers } from "./EdgeMarkers.js";
|
|
6
7
|
const EdgePath = forwardRef(({
|
|
@@ -17,6 +18,7 @@ const EdgePath = forwardRef(({
|
|
|
17
18
|
interactionWidth,
|
|
18
19
|
onEdgePointerDown
|
|
19
20
|
}, svgPathRef) => {
|
|
21
|
+
const isReducedGraphicsMode = useIsReducedGraphics();
|
|
20
22
|
let markerStartName = arrowTypeToMarker(tail);
|
|
21
23
|
let markerEndName = arrowTypeToMarker(head ?? "normal");
|
|
22
24
|
if (dir === "back") {
|
|
@@ -33,7 +35,7 @@ const EdgePath = forwardRef(({
|
|
|
33
35
|
strokeDasharray = "8,10";
|
|
34
36
|
}
|
|
35
37
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
36
|
-
/* @__PURE__ */ jsx(
|
|
38
|
+
!isReducedGraphicsMode && /* @__PURE__ */ jsx(
|
|
37
39
|
"path",
|
|
38
40
|
{
|
|
39
41
|
className: clsx("react-flow__edge-interaction"),
|
|
@@ -48,7 +50,7 @@ const EdgePath = forwardRef(({
|
|
|
48
50
|
MarkerStart && /* @__PURE__ */ jsx(MarkerStart, { id: "start" + id }),
|
|
49
51
|
MarkerEnd && /* @__PURE__ */ jsx(MarkerEnd, { id: "end" + id })
|
|
50
52
|
] }),
|
|
51
|
-
/* @__PURE__ */ jsx(
|
|
53
|
+
!isReducedGraphicsMode && /* @__PURE__ */ jsx(
|
|
52
54
|
"path",
|
|
53
55
|
{
|
|
54
56
|
className: clsx("react-flow__edge-path", edgePathBg),
|
|
@@ -61,12 +63,18 @@ const EdgePath = forwardRef(({
|
|
|
61
63
|
"path",
|
|
62
64
|
{
|
|
63
65
|
ref: svgPathRef,
|
|
64
|
-
className: clsx(
|
|
66
|
+
className: clsx(
|
|
67
|
+
"react-flow__edge-path",
|
|
68
|
+
isReducedGraphicsMode && "react-flow__edge-interaction",
|
|
69
|
+
cssEdgePath
|
|
70
|
+
),
|
|
65
71
|
d: svgPath,
|
|
66
72
|
style,
|
|
67
73
|
strokeWidth,
|
|
68
|
-
|
|
69
|
-
|
|
74
|
+
...!isReducedGraphicsMode && {
|
|
75
|
+
strokeLinecap: "round",
|
|
76
|
+
strokeDasharray
|
|
77
|
+
},
|
|
70
78
|
markerStart: MarkerStart ? `url(#start${id})` : void 0,
|
|
71
79
|
markerEnd: MarkerEnd ? `url(#end${id})` : void 0
|
|
72
80
|
}
|