@likec4/diagram 1.24.0 → 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 +3 -0
- package/dist/LikeC4Diagram.d.ts +3 -2
- package/dist/LikeC4Diagram.js +74 -60
- package/dist/LikeC4Diagram.props.d.ts +11 -0
- package/dist/StaticLikeC4Diagram.d.ts +1 -1
- package/dist/base/BaseXYFlow.d.ts +1 -1
- package/dist/base/BaseXYFlow.js +25 -5
- package/dist/base/const.d.ts +4 -4
- package/dist/base/const.js +4 -4
- package/dist/base/primitives/compound/CompoundActionButton.css.d.ts +0 -1
- package/dist/base/primitives/compound/CompoundActionButton.css.js +2 -3
- package/dist/base/primitives/compound/CompoundActionButton.js +9 -15
- package/dist/base/primitives/compound/CompoundDetailsButton.css.js +1 -2
- package/dist/base/primitives/compound/CompoundDetailsButton.js +8 -14
- package/dist/base/primitives/compound/CompoundNodeContainer.css.d.ts +0 -1
- package/dist/base/primitives/compound/CompoundNodeContainer.css.js +2 -4
- package/dist/base/primitives/compound/CompoundNodeContainer.js +37 -24
- package/dist/base/primitives/compound/CompoundTitle.css.js +2 -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 +21 -17
- package/dist/base/primitives/edge/EdgeLabel.css.d.ts +0 -1
- package/dist/base/primitives/edge/EdgeLabel.css.js +1 -5
- package/dist/base/primitives/edge/EdgeLabel.js +9 -12
- package/dist/base/primitives/edge/EdgePath.js +13 -5
- package/dist/base/primitives/edge/edge.css.d.ts +1 -1
- package/dist/base/primitives/edge/edge.css.js +2 -4
- package/dist/base/primitives/element/ElementActionButtons.css.js +1 -0
- package/dist/base/primitives/element/ElementActionButtons.js +4 -3
- package/dist/base/primitives/element/ElementDetailsButton.css.js +1 -2
- package/dist/base/primitives/element/ElementDetailsButton.js +9 -15
- package/dist/base/primitives/element/ElementNodeContainer.css.js +1 -0
- package/dist/base/primitives/element/ElementShape.css.js +3 -2
- package/dist/base/primitives/element/ElementShape.js +2 -3
- package/dist/base/primitives/element/ElementTitle.css.d.ts +2 -0
- package/dist/base/primitives/element/ElementTitle.css.js +2 -2
- 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 -1
- 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/FramerMotionConfig.d.ts +9 -1
- package/dist/context/FramerMotionConfig.js +5 -2
- package/dist/context/RootContainer.d.ts +2 -1
- package/dist/context/RootContainer.js +13 -2
- package/dist/diagram.css +1 -1
- package/dist/hooks/safeContext.js +1 -0
- package/dist/hooks/useDiagram.d.ts +954 -1865
- package/dist/hooks/useDiagram.js +7 -1
- package/dist/hooks/useIsReducedGraphics.d.ts +4 -0
- package/dist/hooks/useIsReducedGraphics.js +8 -0
- package/dist/hooks/useXYFlow.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/likec4diagram/DiagramUI.d.ts +2 -1
- package/dist/likec4diagram/DiagramUI.js +5 -3
- 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/diagram-title/DiagramTitlePanel.css.d.ts +0 -1
- package/dist/likec4diagram/ui/diagram-title/DiagramTitlePanel.css.js +3 -5
- package/dist/likec4diagram/ui/diagram-title/DiagramTitlePanel.js +5 -7
- 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/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 +21 -14
- package/dist/overlays/element-details/actor.d.ts +9084 -2569
- 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 +16 -10
- package/dist/overlays/relationship-details/RelationshipDetails.js +31 -17
- package/dist/overlays/relationship-details/actor.d.ts +228 -3
- package/dist/overlays/relationship-details/actor.js +86 -14
- package/dist/overlays/relationship-details/hooks.d.ts +3 -0
- package/dist/overlays/relationship-details/hooks.js +6 -2
- package/dist/overlays/relationship-details/useLayoutedDetails.js +4 -3
- package/dist/overlays/relationships-browser/-useRelationshipsView.js +12 -3
- package/dist/overlays/relationships-browser/RelationshipsBrowser.js +12 -3
- package/dist/overlays/relationships-browser/actor.d.ts +271 -54
- package/dist/overlays/relationships-browser/actor.js +86 -23
- package/dist/state/DiagramActorProvider.js +12 -2
- package/dist/state/assign.js +15 -1
- package/dist/state/diagram-machine.d.ts +971 -1872
- package/dist/state/diagram-machine.js +127 -121
- package/dist/state/persistence.d.ts +5 -0
- package/dist/state/persistence.js +23 -0
- 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 +22 -14
- package/src/LikeC4Diagram.css.ts +145 -7
- package/src/LikeC4Diagram.props.ts +13 -0
- package/src/LikeC4Diagram.tsx +46 -27
- package/src/StaticLikeC4Diagram.tsx +1 -0
- package/src/base/BaseXYFlow.tsx +31 -11
- package/src/base/const.ts +4 -4
- package/src/base/primitives/compound/CompoundActionButton.css.ts +9 -12
- package/src/base/primitives/compound/CompoundActionButton.tsx +10 -14
- package/src/base/primitives/compound/CompoundDetailsButton.css.ts +4 -2
- package/src/base/primitives/compound/CompoundDetailsButton.tsx +8 -12
- package/src/base/primitives/compound/CompoundNodeContainer.css.ts +42 -59
- package/src/base/primitives/compound/CompoundNodeContainer.tsx +44 -24
- package/src/base/primitives/compound/CompoundTitle.css.ts +14 -13
- package/src/base/primitives/customNode.ts +4 -3
- package/src/base/primitives/edge/EdgeContainer.tsx +27 -13
- package/src/base/primitives/edge/EdgeLabel.css.ts +34 -24
- package/src/base/primitives/edge/EdgeLabel.tsx +10 -13
- package/src/base/primitives/edge/EdgePath.tsx +28 -16
- package/src/base/primitives/edge/edge.css.ts +54 -33
- package/src/base/primitives/element/ElementActionButtons.css.ts +5 -1
- package/src/base/primitives/element/ElementActionButtons.tsx +4 -2
- package/src/base/primitives/element/ElementDetailsButton.css.ts +6 -10
- package/src/base/primitives/element/ElementDetailsButton.tsx +9 -13
- package/src/base/primitives/element/ElementNodeContainer.css.ts +64 -18
- package/src/base/primitives/element/ElementNodeContainer.tsx +1 -0
- package/src/base/primitives/element/ElementShape.css.ts +24 -8
- package/src/base/primitives/element/ElementShape.tsx +2 -2
- 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 +25 -10
- package/src/components/SearchControl.tsx +2 -2
- package/src/context/ControlsCustomLayout.ts +16 -0
- package/src/context/FramerMotionConfig.tsx +13 -2
- package/src/context/RootContainer.tsx +13 -4
- package/src/hooks/safeContext.tsx +2 -1
- package/src/hooks/useDiagram.ts +1 -0
- package/src/hooks/useIsReducedGraphics.ts +5 -0
- package/src/hooks/useXYFlow.ts +1 -1
- package/src/index.ts +1 -0
- package/src/likec4diagram/DiagramUI.tsx +5 -3
- 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 +17 -2
- package/src/likec4diagram/ui/diagram-title/DiagramTitlePanel.css.ts +13 -11
- package/src/likec4diagram/ui/diagram-title/DiagramTitlePanel.tsx +7 -5
- 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 -2
- 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 +249 -238
- package/src/overlays/overlay/Overlay.css.ts +12 -16
- package/src/overlays/overlay/Overlay.tsx +16 -9
- package/src/overlays/relationship-details/RelationshipDetails.tsx +83 -70
- package/src/overlays/relationship-details/actor.ts +106 -13
- package/src/overlays/relationship-details/hooks.ts +6 -2
- package/src/overlays/relationship-details/useLayoutedDetails.ts +4 -4
- package/src/overlays/relationships-browser/-useRelationshipsView.ts +10 -0
- package/src/overlays/relationships-browser/RelationshipsBrowser.tsx +16 -8
- package/src/overlays/relationships-browser/actor.ts +92 -22
- package/src/state/DiagramActorProvider.tsx +13 -3
- package/src/state/assign.ts +15 -1
- package/src/state/diagram-machine.ts +124 -116
- package/src/state/persistence.ts +22 -0
- 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 -6
- package/dist/globals.css.d.ts +0 -1
- 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 -128
- /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
package/src/LikeC4Diagram.css.ts
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { defaultTheme } from '@likec4/core'
|
|
2
|
+
import { createGlobalTheme, globalStyle, style } from '@vanilla-extract/css'
|
|
3
|
+
import { scale, toHex } from 'khroma'
|
|
4
|
+
import { keys, omit } from 'remeda'
|
|
5
|
+
import {
|
|
6
|
+
mantine,
|
|
7
|
+
rootClassName,
|
|
8
|
+
vars,
|
|
9
|
+
whereDark,
|
|
10
|
+
whereNotReducedGraphics,
|
|
11
|
+
whereReducedGraphics,
|
|
12
|
+
xyvars,
|
|
13
|
+
} from './theme-vars'
|
|
3
14
|
|
|
4
15
|
export const cssReactFlow = style({
|
|
5
16
|
'@supports': {
|
|
@@ -13,6 +24,9 @@ export const cssReactFlow = style({
|
|
|
13
24
|
},
|
|
14
25
|
})
|
|
15
26
|
|
|
27
|
+
export const reactFlowReducedGraphics = `${whereReducedGraphics} ${cssReactFlow}`
|
|
28
|
+
export const reactFlow = `${whereNotReducedGraphics} ${cssReactFlow}`
|
|
29
|
+
|
|
16
30
|
export const notInitialized = style({
|
|
17
31
|
opacity: 0,
|
|
18
32
|
})
|
|
@@ -30,11 +44,6 @@ globalStyle(`.react-flow${cssReactFlow}`, {
|
|
|
30
44
|
globalStyle(`.react-flow${cssReactFlow} .react-flow__pane`, {
|
|
31
45
|
WebkitUserSelect: 'none',
|
|
32
46
|
})
|
|
33
|
-
|
|
34
|
-
globalStyle(`.react-flow${cssReactFlow} .xyflow__viewport`, {
|
|
35
|
-
willChange: 'transform',
|
|
36
|
-
})
|
|
37
|
-
|
|
38
47
|
export const cssDisablePan = style({})
|
|
39
48
|
|
|
40
49
|
export const cssTransparentBg = style({})
|
|
@@ -58,3 +67,132 @@ export const hiddenIfZoomTooSmall = style({
|
|
|
58
67
|
},
|
|
59
68
|
},
|
|
60
69
|
})
|
|
70
|
+
|
|
71
|
+
export const hiddenIfReducedGraphics = style({
|
|
72
|
+
selectors: {
|
|
73
|
+
[`${reactFlowReducedGraphics} &`]: {
|
|
74
|
+
visibility: 'hidden',
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
})
|
|
78
|
+
|
|
79
|
+
globalStyle(`.${rootClassName}`, {
|
|
80
|
+
overflow: 'hidden',
|
|
81
|
+
position: 'relative',
|
|
82
|
+
width: '100%',
|
|
83
|
+
height: '100%',
|
|
84
|
+
padding: 0,
|
|
85
|
+
margin: 0,
|
|
86
|
+
boxSizing: 'border-box',
|
|
87
|
+
WebkitFontSmoothing: mantine.webkitFontSmoothing,
|
|
88
|
+
MozOsxFontSmoothing: mantine.mozFontSmoothing,
|
|
89
|
+
})
|
|
90
|
+
globalStyle(`:where(.${rootClassName}) .mantine-ActionIcon-icon .tabler-icon`, {
|
|
91
|
+
width: '75%',
|
|
92
|
+
height: '75%',
|
|
93
|
+
})
|
|
94
|
+
|
|
95
|
+
createGlobalTheme(`.${rootClassName}`, {
|
|
96
|
+
...omit(vars, ['optionsPanel', 'navigationPanel', 'safariAnimationHook', 'default']),
|
|
97
|
+
}, {
|
|
98
|
+
likec4: {
|
|
99
|
+
font:
|
|
100
|
+
`var(--likec4-default-font-family,'ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"')`,
|
|
101
|
+
background: {
|
|
102
|
+
color: mantine.colors.body,
|
|
103
|
+
pattern: {
|
|
104
|
+
color: mantine.colors.gray[4],
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
compound: {
|
|
109
|
+
font: vars.likec4.font,
|
|
110
|
+
titleColor: vars.element.loContrast,
|
|
111
|
+
},
|
|
112
|
+
element: {
|
|
113
|
+
font: vars.likec4.font,
|
|
114
|
+
...defaultTheme.elements.primary,
|
|
115
|
+
},
|
|
116
|
+
relation: {
|
|
117
|
+
...defaultTheme.relationships.slate,
|
|
118
|
+
},
|
|
119
|
+
})
|
|
120
|
+
|
|
121
|
+
createGlobalTheme(`${whereDark} .${rootClassName}`, {
|
|
122
|
+
likec4: {
|
|
123
|
+
background: {
|
|
124
|
+
pattern: {
|
|
125
|
+
color: vars.likec4.background.pattern.color,
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
}, {
|
|
130
|
+
likec4: {
|
|
131
|
+
background: {
|
|
132
|
+
pattern: {
|
|
133
|
+
color: mantine.colors.dark[5],
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
})
|
|
138
|
+
|
|
139
|
+
for (const color of keys(defaultTheme.elements)) {
|
|
140
|
+
createGlobalTheme(`:where([data-likec4-color='${color}'])`, {
|
|
141
|
+
element: {
|
|
142
|
+
fill: vars.element.fill,
|
|
143
|
+
stroke: vars.element.stroke,
|
|
144
|
+
hiContrast: vars.element.hiContrast,
|
|
145
|
+
loContrast: vars.element.loContrast,
|
|
146
|
+
},
|
|
147
|
+
compound: {
|
|
148
|
+
titleColor: vars.compound.titleColor,
|
|
149
|
+
},
|
|
150
|
+
relation: vars.relation,
|
|
151
|
+
}, {
|
|
152
|
+
element: defaultTheme.elements[color],
|
|
153
|
+
compound: {
|
|
154
|
+
titleColor: defaultTheme.elements[color].loContrast,
|
|
155
|
+
},
|
|
156
|
+
relation: defaultTheme.relationships[color],
|
|
157
|
+
})
|
|
158
|
+
|
|
159
|
+
const compoundDarkColor = (color: string, depth: number) =>
|
|
160
|
+
toHex(
|
|
161
|
+
scale(color, {
|
|
162
|
+
l: -22 - 5 * depth,
|
|
163
|
+
s: -10 - 6 * depth,
|
|
164
|
+
}),
|
|
165
|
+
)
|
|
166
|
+
const compoundLightColor = (color: string, depth: number) =>
|
|
167
|
+
toHex(
|
|
168
|
+
scale(color, {
|
|
169
|
+
l: -20 - 3 * depth,
|
|
170
|
+
s: -3 - 6 * depth,
|
|
171
|
+
}),
|
|
172
|
+
)
|
|
173
|
+
|
|
174
|
+
const compounds = {
|
|
175
|
+
fill: vars.element.fill,
|
|
176
|
+
stroke: vars.element.stroke,
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
for (let depth = 1; depth <= 6; depth++) {
|
|
180
|
+
createGlobalTheme(
|
|
181
|
+
`:where([data-likec4-color='${color}'][data-compound-depth='${depth}'])`,
|
|
182
|
+
compounds,
|
|
183
|
+
{
|
|
184
|
+
fill: compoundLightColor(defaultTheme.elements[color].fill, depth),
|
|
185
|
+
stroke: compoundLightColor(defaultTheme.elements[color].stroke, depth),
|
|
186
|
+
},
|
|
187
|
+
)
|
|
188
|
+
|
|
189
|
+
createGlobalTheme(
|
|
190
|
+
`${whereDark} :where([data-likec4-color='${color}'][data-compound-depth='${depth}'])`,
|
|
191
|
+
compounds,
|
|
192
|
+
{
|
|
193
|
+
fill: compoundDarkColor(defaultTheme.elements[color].fill, depth),
|
|
194
|
+
stroke: compoundDarkColor(defaultTheme.elements[color].stroke, depth),
|
|
195
|
+
},
|
|
196
|
+
)
|
|
197
|
+
}
|
|
198
|
+
}
|
|
@@ -9,6 +9,7 @@ import type {
|
|
|
9
9
|
WhereOperator,
|
|
10
10
|
} from '@likec4/core'
|
|
11
11
|
import type { MouseEvent as ReactMouseEvent, ReactNode } from 'react'
|
|
12
|
+
import type { ControlsCustomLayout } from './context/ControlsCustomLayout'
|
|
12
13
|
|
|
13
14
|
export type { WhereOperator }
|
|
14
15
|
|
|
@@ -172,12 +173,24 @@ export interface LikeC4DiagramProperties {
|
|
|
172
173
|
*/
|
|
173
174
|
experimentalEdgeEditing?: boolean | undefined
|
|
174
175
|
|
|
176
|
+
/**
|
|
177
|
+
* Improve performance by hiding certain elements and reducing visual effects (disable mix-blend, shadows, animations)
|
|
178
|
+
*
|
|
179
|
+
* @default 'auto' - will be set to true if view has more then 3000 * 2000 pixels
|
|
180
|
+
*/
|
|
181
|
+
reduceGraphics?: 'auto' | boolean | undefined
|
|
182
|
+
|
|
175
183
|
/**
|
|
176
184
|
* Render icon for an element, bundled or remote
|
|
177
185
|
* By default, if icon is http:// or https://, it will be rendered as an image
|
|
178
186
|
*/
|
|
179
187
|
renderIcon?: ElementIconRenderer | undefined
|
|
180
188
|
|
|
189
|
+
/**
|
|
190
|
+
* Customize layout of the controls on the top left
|
|
191
|
+
*/
|
|
192
|
+
renderControls?: ControlsCustomLayout | undefined
|
|
193
|
+
|
|
181
194
|
/**
|
|
182
195
|
* Dynamic filter, applies both to nodes and edges
|
|
183
196
|
*/
|
package/src/LikeC4Diagram.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactFlowProvider as XYFlowProvider } from '@xyflow/react'
|
|
2
|
-
import { useRef } from 'react'
|
|
2
|
+
import { type PropsWithChildren, useRef } from 'react'
|
|
3
3
|
import { isEmpty } from 'remeda'
|
|
4
4
|
import {
|
|
5
5
|
DiagramEventHandlers,
|
|
@@ -9,6 +9,8 @@ import {
|
|
|
9
9
|
IconRendererProvider,
|
|
10
10
|
RootContainer,
|
|
11
11
|
} from './context'
|
|
12
|
+
import { ControlsCustomLayoutProvider } from './context/ControlsCustomLayout'
|
|
13
|
+
import { ReducedGraphicsContext } from './hooks/useIsReducedGraphics'
|
|
12
14
|
import { LikeC4CustomColors } from './LikeC4CustomColors'
|
|
13
15
|
import { type LikeC4DiagramEventHandlers, type LikeC4DiagramProperties } from './LikeC4Diagram.props'
|
|
14
16
|
import type { Types } from './likec4diagram/types'
|
|
@@ -17,7 +19,7 @@ import { LikeC4DiagramXYFlow } from './likec4diagram/XYFlow'
|
|
|
17
19
|
import { useLikeC4Model } from './likec4model'
|
|
18
20
|
import { DiagramActorProvider } from './state/DiagramActorProvider'
|
|
19
21
|
|
|
20
|
-
export type LikeC4DiagramProps = LikeC4DiagramProperties & LikeC4DiagramEventHandlers
|
|
22
|
+
export type LikeC4DiagramProps = PropsWithChildren<LikeC4DiagramProperties & LikeC4DiagramEventHandlers>
|
|
21
23
|
export function LikeC4Diagram({
|
|
22
24
|
view,
|
|
23
25
|
className,
|
|
@@ -41,6 +43,7 @@ export function LikeC4Diagram({
|
|
|
41
43
|
initialWidth,
|
|
42
44
|
initialHeight,
|
|
43
45
|
experimentalEdgeEditing = false,
|
|
46
|
+
reduceGraphics = 'auto',
|
|
44
47
|
onCanvasClick,
|
|
45
48
|
onCanvasContextMenu,
|
|
46
49
|
onCanvasDblClick,
|
|
@@ -53,8 +56,10 @@ export function LikeC4Diagram({
|
|
|
53
56
|
onOpenSource,
|
|
54
57
|
onBurgerMenuClick,
|
|
55
58
|
renderIcon,
|
|
59
|
+
renderControls,
|
|
56
60
|
where,
|
|
57
61
|
showNavigationButtons = !!onNavigateTo,
|
|
62
|
+
children,
|
|
58
63
|
}: LikeC4DiagramProps) {
|
|
59
64
|
const hasLikec4model = !!useLikeC4Model()
|
|
60
65
|
const initialRef = useRef<{
|
|
@@ -81,9 +86,17 @@ export function LikeC4Diagram({
|
|
|
81
86
|
}
|
|
82
87
|
}
|
|
83
88
|
|
|
89
|
+
const isReducedGraphicsMode = reduceGraphics === 'auto'
|
|
90
|
+
// If view has more then 3000 * 2000 pixels - assume it is a big diagram
|
|
91
|
+
// Enable reduced graphics mode if diagram is "big" and pannable
|
|
92
|
+
? pannable && ((view.bounds?.width ?? 1) * (view.bounds?.height ?? 1) > 6_000_000)
|
|
93
|
+
: reduceGraphics
|
|
94
|
+
|
|
84
95
|
return (
|
|
85
96
|
<EnsureMantine>
|
|
86
|
-
<FramerMotionConfig
|
|
97
|
+
<FramerMotionConfig
|
|
98
|
+
{...isReducedGraphicsMode && { reducedMotion: 'always' }}
|
|
99
|
+
>
|
|
87
100
|
<IconRendererProvider value={renderIcon ?? null}>
|
|
88
101
|
<DiagramFeatures
|
|
89
102
|
features={{
|
|
@@ -119,30 +132,36 @@ export function LikeC4Diagram({
|
|
|
119
132
|
onOpenSource,
|
|
120
133
|
onBurgerMenuClick,
|
|
121
134
|
}}>
|
|
122
|
-
<
|
|
123
|
-
{
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
135
|
+
<ReducedGraphicsContext value={isReducedGraphicsMode}>
|
|
136
|
+
<RootContainer className={className} reduceGraphics={isReducedGraphicsMode}>
|
|
137
|
+
{!isEmpty(view.customColorDefinitions) && (
|
|
138
|
+
<LikeC4CustomColors customColors={view.customColorDefinitions} />
|
|
139
|
+
)}
|
|
140
|
+
<XYFlowProvider
|
|
141
|
+
fitView={fitView}
|
|
142
|
+
{...initialRef.current}
|
|
143
|
+
>
|
|
144
|
+
<DiagramActorProvider
|
|
145
|
+
input={{
|
|
146
|
+
view,
|
|
147
|
+
pannable,
|
|
148
|
+
zoomable,
|
|
149
|
+
fitViewPadding,
|
|
150
|
+
...xyNodesEdges,
|
|
151
|
+
}}>
|
|
152
|
+
<ControlsCustomLayoutProvider value={renderControls ?? null}>
|
|
153
|
+
<LikeC4DiagramXYFlow
|
|
154
|
+
nodesDraggable={nodesDraggable}
|
|
155
|
+
nodesSelectable={nodesSelectable}
|
|
156
|
+
background={background}
|
|
157
|
+
>
|
|
158
|
+
{children}
|
|
159
|
+
</LikeC4DiagramXYFlow>
|
|
160
|
+
</ControlsCustomLayoutProvider>
|
|
161
|
+
</DiagramActorProvider>
|
|
162
|
+
</XYFlowProvider>
|
|
163
|
+
</RootContainer>
|
|
164
|
+
</ReducedGraphicsContext>
|
|
146
165
|
</DiagramEventHandlers>
|
|
147
166
|
</DiagramFeatures>
|
|
148
167
|
</IconRendererProvider>
|
package/src/base/BaseXYFlow.tsx
CHANGED
|
@@ -8,10 +8,12 @@ import {
|
|
|
8
8
|
useStoreApi,
|
|
9
9
|
} from '@xyflow/react'
|
|
10
10
|
import clsx from 'clsx'
|
|
11
|
-
import {
|
|
11
|
+
import { shallowEqual } from 'fast-equals'
|
|
12
|
+
import { useEffect, useMemo, useRef } from 'react'
|
|
12
13
|
import type { SetRequired, Simplify } from 'type-fest'
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
14
|
+
import { useIsReducedGraphics } from '../hooks/useIsReducedGraphics'
|
|
15
|
+
import { useUpdateEffect } from '../hooks/useUpdateEffect'
|
|
16
|
+
import { useIsZoomTooSmall, useXYStoreApi } from '../hooks/useXYFlow'
|
|
15
17
|
import * as css from '../LikeC4Diagram.css'
|
|
16
18
|
import { stopPropagation } from '../utils/xyflow'
|
|
17
19
|
import { type XYBackground, Background } from './Background'
|
|
@@ -41,10 +43,8 @@ export type BaseXYFlowProps<NodeType extends Base.Node, EdgeType extends Base.Ed
|
|
|
41
43
|
| 'zoomActivationKeyCode'
|
|
42
44
|
| 'zoomOnScroll'
|
|
43
45
|
| 'elementsSelectable'
|
|
44
|
-
| '
|
|
45
|
-
| '
|
|
46
|
-
| 'onEdgeMouseEnter'
|
|
47
|
-
| 'onEdgeMouseLeave'
|
|
46
|
+
| 'onNodeDoubleClick'
|
|
47
|
+
| 'onEdgeDoubleClick'
|
|
48
48
|
| 'fitViewOptions'
|
|
49
49
|
>,
|
|
50
50
|
// Required props
|
|
@@ -79,6 +79,18 @@ export const BaseXYFlow = <
|
|
|
79
79
|
}: BaseXYFlowProps<NodeType, EdgeType>) => {
|
|
80
80
|
const isBgWithPattern = background !== 'transparent' && background !== 'solid'
|
|
81
81
|
const isZoomTooSmall = useIsZoomTooSmall()
|
|
82
|
+
const reduceGraphics = useIsReducedGraphics()
|
|
83
|
+
|
|
84
|
+
const isPanningRef = useRef(false)
|
|
85
|
+
|
|
86
|
+
const xystore = useXYStoreApi()
|
|
87
|
+
|
|
88
|
+
useEffect(() => {
|
|
89
|
+
return xystore.subscribe((state) => {
|
|
90
|
+
isPanningRef.current = state.paneDragging
|
|
91
|
+
})
|
|
92
|
+
}, [xystore])
|
|
93
|
+
|
|
82
94
|
return (
|
|
83
95
|
<ReactFlow<NodeType, EdgeType>
|
|
84
96
|
colorMode={colorMode}
|
|
@@ -90,7 +102,12 @@ export const BaseXYFlow = <
|
|
|
90
102
|
background === 'transparent' && css.cssTransparentBg,
|
|
91
103
|
className,
|
|
92
104
|
)}
|
|
93
|
-
|
|
105
|
+
{...isZoomTooSmall && {
|
|
106
|
+
['data-likec4-zoom-small']: true,
|
|
107
|
+
}}
|
|
108
|
+
{...reduceGraphics && {
|
|
109
|
+
['data-likec4-reduced-graphics']: true,
|
|
110
|
+
}}
|
|
94
111
|
zoomOnPinch={zoomable}
|
|
95
112
|
zoomOnScroll={!pannable && zoomable}
|
|
96
113
|
{...(!zoomable && {
|
|
@@ -112,11 +129,10 @@ export const BaseXYFlow = <
|
|
|
112
129
|
noPanClassName="nopan"
|
|
113
130
|
panOnScroll={pannable}
|
|
114
131
|
panOnDrag={pannable}
|
|
132
|
+
panActivationKeyCode={null}
|
|
115
133
|
{...(!pannable && {
|
|
116
134
|
selectionKeyCode: null,
|
|
117
135
|
})}
|
|
118
|
-
// TODO: benchmarks first
|
|
119
|
-
//onlyRenderVisibleElements={nodes.length > 75}
|
|
120
136
|
elementsSelectable={nodesSelectable}
|
|
121
137
|
nodesFocusable={nodesDraggable || nodesSelectable}
|
|
122
138
|
edgesFocusable={false}
|
|
@@ -129,6 +145,7 @@ export const BaseXYFlow = <
|
|
|
129
145
|
onNodesChange={onNodesChange}
|
|
130
146
|
onEdgesChange={onEdgesChange}
|
|
131
147
|
onNodeMouseEnter={useCallbackRef((_event, node) => {
|
|
148
|
+
if (isPanningRef.current) return
|
|
132
149
|
onNodesChange([{
|
|
133
150
|
id: node.id,
|
|
134
151
|
type: 'replace',
|
|
@@ -136,6 +153,7 @@ export const BaseXYFlow = <
|
|
|
136
153
|
}])
|
|
137
154
|
})}
|
|
138
155
|
onNodeMouseLeave={useCallbackRef((_event, node) => {
|
|
156
|
+
if (node.data.hovered !== true) return
|
|
139
157
|
onNodesChange([{
|
|
140
158
|
id: node.id,
|
|
141
159
|
type: 'replace',
|
|
@@ -143,6 +161,7 @@ export const BaseXYFlow = <
|
|
|
143
161
|
}])
|
|
144
162
|
})}
|
|
145
163
|
onEdgeMouseEnter={useCallbackRef((_event, edge) => {
|
|
164
|
+
if (isPanningRef.current) return
|
|
146
165
|
onEdgesChange([{
|
|
147
166
|
id: edge.id,
|
|
148
167
|
type: 'replace',
|
|
@@ -150,6 +169,7 @@ export const BaseXYFlow = <
|
|
|
150
169
|
}])
|
|
151
170
|
})}
|
|
152
171
|
onEdgeMouseLeave={useCallbackRef((_event, edge) => {
|
|
172
|
+
if (edge.data.hovered !== true) return
|
|
153
173
|
onEdgesChange([{
|
|
154
174
|
id: edge.id,
|
|
155
175
|
type: 'replace',
|
|
@@ -202,7 +222,7 @@ const ViewportResizeHanlder = ({
|
|
|
202
222
|
}: {
|
|
203
223
|
onViewportResize: () => void
|
|
204
224
|
}) => {
|
|
205
|
-
const { width, height } = useStore(selectDimensions)
|
|
225
|
+
const { width, height } = useStore(selectDimensions, shallowEqual)
|
|
206
226
|
useUpdateEffect(onViewportResize, [width, height])
|
|
207
227
|
|
|
208
228
|
return <></>
|
package/src/base/const.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { style } from '@vanilla-extract/css'
|
|
2
|
-
import {
|
|
2
|
+
import { reactFlowReducedGraphics } from '../../../LikeC4Diagram.css'
|
|
3
|
+
import { vars } from '../../../theme-vars'
|
|
3
4
|
|
|
4
5
|
export const container = style({
|
|
5
6
|
position: 'absolute',
|
|
@@ -10,21 +11,12 @@ export const container = style({
|
|
|
10
11
|
// display: 'flex',
|
|
11
12
|
// justifyContent: 'center',
|
|
12
13
|
// alignItems: 'center',
|
|
13
|
-
zIndex: 10,
|
|
14
|
-
})
|
|
15
|
-
|
|
16
|
-
export const actionButton = style({
|
|
17
|
-
width: 'min-content',
|
|
18
|
-
height: 'min-content',
|
|
19
|
-
// display: 'flex',
|
|
20
|
-
// justifyContent: 'center',
|
|
21
|
-
// alignItems: 'center',
|
|
22
14
|
})
|
|
23
15
|
|
|
24
16
|
export const actionIcon = style({
|
|
25
17
|
opacity: 0.45,
|
|
26
18
|
color: `var(--_compound-title-color,${vars.element.loContrast})`,
|
|
27
|
-
transition: transitions.fast,
|
|
19
|
+
// transition: transitions.fast,
|
|
28
20
|
'vars': {
|
|
29
21
|
'--ai-color-hover': vars.element.hiContrast,
|
|
30
22
|
'--ai-bg-idle': `color-mix(in srgb , ${vars.element.fill}, transparent 99%)`,
|
|
@@ -32,7 +24,7 @@ export const actionIcon = style({
|
|
|
32
24
|
'--ai-bg-hover': `color-mix(in srgb , ${vars.element.fill} 65%, ${vars.element.stroke})`,
|
|
33
25
|
'--ai-hover': `color-mix(in srgb , ${vars.element.fill} 50%, ${vars.element.stroke})`,
|
|
34
26
|
},
|
|
35
|
-
background: `var(--ai-bg)`,
|
|
27
|
+
// background: `var(--ai-bg)`,
|
|
36
28
|
boxShadow: '1px 1px 3px 0px transparent',
|
|
37
29
|
selectors: {
|
|
38
30
|
[`:where([data-mantine-color-scheme='light'] [data-compound-transparent="true"]) &`]: {
|
|
@@ -45,11 +37,16 @@ export const actionIcon = style({
|
|
|
45
37
|
},
|
|
46
38
|
[`:where([data-hovered='true']) &`]: {
|
|
47
39
|
opacity: 1,
|
|
40
|
+
// transitionDelay: '100ms',
|
|
41
|
+
// transitionDuration: '300ms',
|
|
48
42
|
// boxShadow: '1px 1px 3px 0px rgba(0, 0, 0, 0.15)',
|
|
49
43
|
// color: `var(--ai-color-hover)`,
|
|
50
44
|
// vars: {
|
|
51
45
|
// '--ai-bg': `var(--ai-bg-hover)`,
|
|
52
46
|
// },
|
|
53
47
|
},
|
|
48
|
+
[`${reactFlowReducedGraphics} &`]: {
|
|
49
|
+
boxShadow: 'none',
|
|
50
|
+
},
|
|
54
51
|
},
|
|
55
52
|
})
|
|
@@ -21,9 +21,9 @@ export function CompoundActionButton({
|
|
|
21
21
|
}: CompoundActionButtonProps) {
|
|
22
22
|
return (
|
|
23
23
|
<Box className={clsx(css.container, hiddenIfZoomTooSmall, 'compound-action')}>
|
|
24
|
-
<
|
|
25
|
-
className={clsx('nodrag nopan', css.
|
|
26
|
-
component={m.
|
|
24
|
+
<ActionIcon
|
|
25
|
+
className={clsx('nodrag nopan', css.actionIcon)}
|
|
26
|
+
component={m.button}
|
|
27
27
|
initial={false}
|
|
28
28
|
animate={{
|
|
29
29
|
scale: isHovered ? 1.2 : 1,
|
|
@@ -36,18 +36,14 @@ export function CompoundActionButton({
|
|
|
36
36
|
// y: 1,
|
|
37
37
|
}}
|
|
38
38
|
whileTap={{ scale: 1 }}
|
|
39
|
+
size={'md'}
|
|
40
|
+
radius="md"
|
|
41
|
+
// Otherwise node receives click event and is selected
|
|
42
|
+
onClick={onClick}
|
|
43
|
+
onDoubleClick={stopPropagation}
|
|
39
44
|
>
|
|
40
|
-
<
|
|
41
|
-
|
|
42
|
-
size={'md'}
|
|
43
|
-
radius="md"
|
|
44
|
-
// Otherwise node receives click event and is selected
|
|
45
|
-
onClick={onClick}
|
|
46
|
-
onDoubleClick={stopPropagation}
|
|
47
|
-
>
|
|
48
|
-
{icon ?? <IconZoomScan stroke={2} />}
|
|
49
|
-
</ActionIcon>
|
|
50
|
-
</Box>
|
|
45
|
+
{icon ?? <IconZoomScan stroke={2} />}
|
|
46
|
+
</ActionIcon>
|
|
51
47
|
</Box>
|
|
52
48
|
)
|
|
53
49
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createVar, globalStyle, style } from '@vanilla-extract/css'
|
|
2
|
+
import { reactFlowReducedGraphics } from '../../../LikeC4Diagram.css'
|
|
2
3
|
import { vars } from '../../../theme-vars'
|
|
3
4
|
|
|
4
5
|
export const container = style({
|
|
5
6
|
position: 'absolute',
|
|
6
7
|
top: 2,
|
|
7
8
|
right: 2,
|
|
8
|
-
zIndex: 10,
|
|
9
9
|
})
|
|
10
10
|
|
|
11
11
|
const btnColor = createVar('navigateBtnColor')
|
|
@@ -25,7 +25,6 @@ export const actionIcon = style({
|
|
|
25
25
|
pointerEvents: 'all',
|
|
26
26
|
cursor: 'pointer',
|
|
27
27
|
color: `var(--_compound-title-color,${btnColor})`,
|
|
28
|
-
backgroundColor: 'var(--ai-bg)',
|
|
29
28
|
'vars': {
|
|
30
29
|
'--ai-color-hover': vars.element.hiContrast,
|
|
31
30
|
'--ai-bg-idle': `color-mix(in srgb , ${vars.element.fill}, transparent 99%)`,
|
|
@@ -47,6 +46,9 @@ export const actionIcon = style({
|
|
|
47
46
|
'--ai-bg': `color-mix(in srgb , ${vars.element.fill}, transparent 99%)`,
|
|
48
47
|
},
|
|
49
48
|
},
|
|
49
|
+
[`${reactFlowReducedGraphics} &`]: {
|
|
50
|
+
boxShadow: 'none',
|
|
51
|
+
},
|
|
50
52
|
},
|
|
51
53
|
})
|
|
52
54
|
|
|
@@ -21,9 +21,9 @@ export function CompoundDetailsButton({
|
|
|
21
21
|
}: CompoundDetailsButtonProps) {
|
|
22
22
|
return (
|
|
23
23
|
<Box className={clsx(css.container, hiddenIfZoomTooSmall, 'details-button')} onClick={stopPropagation}>
|
|
24
|
-
<
|
|
24
|
+
<ActionIcon
|
|
25
25
|
component={m.div}
|
|
26
|
-
className={clsx('nodrag nopan', css.
|
|
26
|
+
className={clsx('nodrag nopan', css.actionIcon)}
|
|
27
27
|
initial={false}
|
|
28
28
|
style={{
|
|
29
29
|
originX: 0.45,
|
|
@@ -40,16 +40,12 @@ export function CompoundDetailsButton({
|
|
|
40
40
|
scale: 1.42,
|
|
41
41
|
}}
|
|
42
42
|
whileTap={{ scale: 1.15 }}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
onDoubleClick={stopPropagation}>
|
|
50
|
-
{icon ?? <IconId stroke={1.8} style={{ width: '75%' }} />}
|
|
51
|
-
</ActionIcon>
|
|
52
|
-
</Box>
|
|
43
|
+
size={'md'}
|
|
44
|
+
radius="md"
|
|
45
|
+
onClick={onClick}
|
|
46
|
+
onDoubleClick={stopPropagation}>
|
|
47
|
+
{icon ?? <IconId stroke={1.8} style={{ width: '75%' }} />}
|
|
48
|
+
</ActionIcon>
|
|
53
49
|
</Box>
|
|
54
50
|
)
|
|
55
51
|
}
|