@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
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { createVar, fallbackVar, globalStyle, keyframes, style } from '@vanilla-extract/css'
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import {
|
|
3
|
+
reactFlow,
|
|
4
|
+
} from '../../../LikeC4Diagram.css'
|
|
5
|
+
import { vars, whereDark, whereLight, whereNotReducedGraphics, xyvars } from '../../../theme-vars'
|
|
5
6
|
|
|
6
7
|
export const mixColor = createVar('mix-color')
|
|
7
8
|
|
|
@@ -10,20 +11,45 @@ export const edgeVars = style({
|
|
|
10
11
|
[mixColor]: `black`,
|
|
11
12
|
[xyvars.edge.stroke]: vars.relation.lineColor,
|
|
12
13
|
[xyvars.edge.strokeSelected]: `color-mix(in srgb, ${vars.relation.lineColor}, ${mixColor} 35%)`,
|
|
13
|
-
[xyvars.edge.labelColor]:
|
|
14
|
-
[xyvars.edge.labelBgColor]:
|
|
14
|
+
[xyvars.edge.labelColor]: vars.relation.labelColor,
|
|
15
|
+
[xyvars.edge.labelBgColor]: vars.relation.labelBgColor,
|
|
15
16
|
[xyvars.edge.strokeWidth]: '3',
|
|
16
17
|
},
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
[
|
|
18
|
+
selectors: {
|
|
19
|
+
[`${whereDark} &`]: {
|
|
20
|
+
vars: {
|
|
21
|
+
[mixColor]: `white`,
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
[`${whereLight} ${whereNotReducedGraphics} &`]: {
|
|
25
|
+
vars: {
|
|
26
|
+
[xyvars.edge.labelColor]: `color-mix(in srgb, ${vars.relation.labelColor}, rgba(255 255 255 / 0.85) 40%)`,
|
|
27
|
+
[xyvars.edge.labelBgColor]: `color-mix(in srgb, ${vars.relation.labelBgColor}, transparent 40%)`,
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
[`${whereDark} ${whereNotReducedGraphics} &`]: {
|
|
31
|
+
vars: {
|
|
32
|
+
[xyvars.edge.labelBgColor]: `color-mix(in srgb, ${vars.relation.labelBgColor}, transparent 50%)`,
|
|
33
|
+
},
|
|
34
|
+
},
|
|
24
35
|
},
|
|
25
36
|
})
|
|
26
37
|
|
|
38
|
+
export const edgeContainer = style([edgeVars, {
|
|
39
|
+
selectors: {
|
|
40
|
+
[`&:is([data-edge-dimmed="true"])`]: {
|
|
41
|
+
opacity: 0.6,
|
|
42
|
+
transition: 'opacity 600ms ease-in-out, filter 600ms ease-in-out',
|
|
43
|
+
transitionDelay: '200ms',
|
|
44
|
+
filter: `grayscale(0.85) ${fallbackVar(vars.safariAnimationHook, 'blur(1px)')}`,
|
|
45
|
+
},
|
|
46
|
+
[`&:is([data-edge-dimmed="immediate"])`]: {
|
|
47
|
+
opacity: 0.25,
|
|
48
|
+
transition: 'opacity 100ms ease-in-out, filter 100ms ease-in-out',
|
|
49
|
+
filter: `grayscale(0.85) ${fallbackVar(vars.safariAnimationHook, 'blur(1px)')}`,
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
}])
|
|
27
53
|
const isSelected = '.react-flow__edge.selected'
|
|
28
54
|
|
|
29
55
|
globalStyle(`:where(${isSelected}) ${edgeVars}`, {
|
|
@@ -47,23 +73,13 @@ globalStyle(`:where(${isSelected}) ${edgeVars}[data-edge-hovered='true']`, {
|
|
|
47
73
|
},
|
|
48
74
|
})
|
|
49
75
|
|
|
50
|
-
globalStyle(`${
|
|
76
|
+
globalStyle(`${reactFlow} :where(.react-flow__edges, .react-flow__edgelabel-renderer) > svg`, {
|
|
51
77
|
mixBlendMode: 'plus-lighter',
|
|
52
78
|
})
|
|
53
|
-
globalStyle(`${whereLight} ${
|
|
79
|
+
globalStyle(`${whereLight} ${reactFlow} :where(.react-flow__edges, .react-flow__edgelabel-renderer) > svg`, {
|
|
54
80
|
mixBlendMode: 'screen',
|
|
55
81
|
})
|
|
56
82
|
|
|
57
|
-
export const dimmed = style({})
|
|
58
|
-
|
|
59
|
-
globalStyle(`${cssReactFlow} .react-flow__edges > svg:has(${dimmed})`, {
|
|
60
|
-
opacity: 0.6,
|
|
61
|
-
transition: 'opacity 600ms ease-in-out, filter 600ms ease-in-out',
|
|
62
|
-
transitionDelay: '200ms',
|
|
63
|
-
filter: `grayscale(0.85) ${fallbackVar(vars.safariAnimationHook, 'blur(1px)')}`,
|
|
64
|
-
willChange: 'opacity, filter',
|
|
65
|
-
})
|
|
66
|
-
|
|
67
83
|
export const edgePathBg = style({
|
|
68
84
|
// strokeWidth: xyvars.edge.strokeWidth,
|
|
69
85
|
strokeOpacity: 0.08,
|
|
@@ -73,6 +89,9 @@ export const edgePathBg = style({
|
|
|
73
89
|
transitionDuration: '155ms',
|
|
74
90
|
transitionTimingFunction: 'ease-out',
|
|
75
91
|
selectors: {
|
|
92
|
+
[`:where([data-likec4-zoom-small="true"]) &`]: {
|
|
93
|
+
display: 'none',
|
|
94
|
+
},
|
|
76
95
|
[`:where(${isSelected}, [data-edge-active='true'], [data-edge-hovered='true']) &`]: {
|
|
77
96
|
strokeWidth: `calc(${xyvars.edge.strokeWidth} + 8)`,
|
|
78
97
|
strokeOpacity: 0.15,
|
|
@@ -96,26 +115,28 @@ const strokeKeyframes = keyframes({
|
|
|
96
115
|
})
|
|
97
116
|
|
|
98
117
|
export const cssEdgePath = style({
|
|
99
|
-
animationDuration: '800ms',
|
|
100
|
-
animationIterationCount: 'infinite',
|
|
101
|
-
animationTimingFunction: 'linear',
|
|
102
|
-
animationFillMode: 'both',
|
|
103
|
-
strokeDashoffset: 10,
|
|
104
118
|
selectors: {
|
|
105
|
-
[
|
|
119
|
+
[`${whereNotReducedGraphics} &`]: {
|
|
120
|
+
animationDuration: '800ms',
|
|
121
|
+
animationIterationCount: 'infinite',
|
|
122
|
+
animationTimingFunction: 'linear',
|
|
123
|
+
animationFillMode: 'both',
|
|
124
|
+
strokeDashoffset: 10,
|
|
125
|
+
},
|
|
126
|
+
[`${reactFlow} :where([data-edge-hovered='true']) &`]: {
|
|
106
127
|
animationName: strokeKeyframes,
|
|
107
128
|
animationDelay: '450ms',
|
|
108
129
|
transition: 'stroke 130ms ease-out,stroke-width 130ms ease-out',
|
|
109
130
|
},
|
|
110
|
-
[
|
|
131
|
+
[`${reactFlow} :where(${isSelected}, [data-edge-active='true'], [data-edge-animated='true']) &`]: {
|
|
111
132
|
animationName: strokeKeyframes,
|
|
112
133
|
animationDelay: '0ms',
|
|
113
134
|
transition: 'stroke 130ms ease-out,stroke-width 130ms ease-out',
|
|
114
135
|
},
|
|
115
|
-
[
|
|
136
|
+
[`${reactFlow} :where([data-edge-dir='back']) &`]: {
|
|
116
137
|
animationDirection: 'reverse',
|
|
117
138
|
},
|
|
118
|
-
[
|
|
139
|
+
[`:where([data-edge-dimmed]) &`]: {
|
|
119
140
|
animationPlayState: 'paused',
|
|
120
141
|
},
|
|
121
142
|
},
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { style } from '@vanilla-extract/css'
|
|
2
|
+
import { reactFlowReducedGraphics } from '../../../LikeC4Diagram.css'
|
|
2
3
|
import { transitions, vars } from '../../../theme-vars'
|
|
3
4
|
|
|
4
5
|
export const container = style({
|
|
@@ -11,7 +12,7 @@ export const container = style({
|
|
|
11
12
|
display: 'flex',
|
|
12
13
|
justifyContent: 'center',
|
|
13
14
|
alignItems: 'center',
|
|
14
|
-
zIndex: 10,
|
|
15
|
+
// zIndex: 10,
|
|
15
16
|
})
|
|
16
17
|
|
|
17
18
|
export const actionButtons = style({
|
|
@@ -41,6 +42,9 @@ export const actionIcon = style({
|
|
|
41
42
|
'--ai-bg': `var(--ai-bg-hover)`,
|
|
42
43
|
},
|
|
43
44
|
},
|
|
45
|
+
[`${reactFlowReducedGraphics} &`]: {
|
|
46
|
+
boxShadow: 'none',
|
|
47
|
+
},
|
|
44
48
|
},
|
|
45
49
|
})
|
|
46
50
|
// globalStyle(`${actionIcon} > *`, {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ActionIcon, Box } from '@mantine/core'
|
|
2
2
|
import clsx from 'clsx'
|
|
3
3
|
import { m } from 'framer-motion'
|
|
4
|
+
import { useIsZoomTooSmall } from '../../../hooks/useXYFlow'
|
|
4
5
|
import { hiddenIfZoomTooSmall } from '../../../LikeC4Diagram.css'
|
|
5
6
|
import { stopPropagation } from '../../../utils/xyflow'
|
|
6
7
|
import type { NodeProps } from '../../types'
|
|
@@ -18,11 +19,12 @@ export function ElementActionButtons({
|
|
|
18
19
|
},
|
|
19
20
|
buttons,
|
|
20
21
|
}: ElementActionButtonsProps) {
|
|
21
|
-
|
|
22
|
+
const zoomTooSmall = useIsZoomTooSmall()
|
|
23
|
+
if (!buttons.length || zoomTooSmall) {
|
|
22
24
|
return null
|
|
23
25
|
}
|
|
24
26
|
return (
|
|
25
|
-
<Box className={clsx(css.container
|
|
27
|
+
<Box className={clsx(css.container)}>
|
|
26
28
|
<Box
|
|
27
29
|
component={m.div}
|
|
28
30
|
layoutRoot
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { 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
|
selectors: {
|
|
10
10
|
[`:where([data-likec4-shape='browser']) &`]: {
|
|
11
11
|
right: 5,
|
|
@@ -32,7 +32,6 @@ export const actionIcon = style({
|
|
|
32
32
|
pointerEvents: 'all',
|
|
33
33
|
color: vars.element.loContrast,
|
|
34
34
|
cursor: 'pointer',
|
|
35
|
-
backgroundColor: 'var(--ai-bg)',
|
|
36
35
|
'vars': {
|
|
37
36
|
'--ai-bg-idle': `color-mix(in srgb , ${vars.element.fill}, transparent 99%)`,
|
|
38
37
|
'--ai-bg': `var(--ai-bg-idle)`,
|
|
@@ -43,12 +42,9 @@ export const actionIcon = style({
|
|
|
43
42
|
':hover': {
|
|
44
43
|
boxShadow: '1px 1px 3px 0px rgba(0, 0, 0, 0.15)',
|
|
45
44
|
},
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
// // },
|
|
52
|
-
// },
|
|
53
|
-
// },
|
|
45
|
+
selectors: {
|
|
46
|
+
[`${reactFlowReducedGraphics} &`]: {
|
|
47
|
+
boxShadow: 'none',
|
|
48
|
+
},
|
|
49
|
+
},
|
|
54
50
|
})
|
|
@@ -22,9 +22,9 @@ export function ElementDetailsButton({
|
|
|
22
22
|
}: ElementDetailsButtonProps) {
|
|
23
23
|
return (
|
|
24
24
|
<Box className={clsx(css.container, hiddenIfZoomTooSmall, 'details-button')}>
|
|
25
|
-
<
|
|
26
|
-
className={clsx('nodrag nopan', css.
|
|
27
|
-
component={m.
|
|
25
|
+
<ActionIcon
|
|
26
|
+
className={clsx('nodrag nopan', css.actionIcon)}
|
|
27
|
+
component={m.button}
|
|
28
28
|
initial={false}
|
|
29
29
|
style={{
|
|
30
30
|
originX: 0.45,
|
|
@@ -44,17 +44,13 @@ export function ElementDetailsButton({
|
|
|
44
44
|
opacity: 1,
|
|
45
45
|
}}
|
|
46
46
|
whileTap={{ scale: 1.15 }}
|
|
47
|
+
size={'md'}
|
|
48
|
+
radius="md"
|
|
49
|
+
onClick={onClick}
|
|
50
|
+
onDoubleClick={stopPropagation}
|
|
47
51
|
>
|
|
48
|
-
<
|
|
49
|
-
|
|
50
|
-
size={'md'}
|
|
51
|
-
radius="md"
|
|
52
|
-
onClick={onClick}
|
|
53
|
-
onDoubleClick={stopPropagation}
|
|
54
|
-
>
|
|
55
|
-
{icon ?? <IconId stroke={1.8} style={{ width: '75%' }} />}
|
|
56
|
-
</ActionIcon>
|
|
57
|
-
</Box>
|
|
52
|
+
{icon ?? <IconId stroke={1.8} style={{ width: '75%' }} />}
|
|
53
|
+
</ActionIcon>
|
|
58
54
|
</Box>
|
|
59
55
|
)
|
|
60
56
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import { defaultTheme } from '@likec4/core'
|
|
2
|
+
import { rem } from '@mantine/core'
|
|
1
3
|
import { createVar, fallbackVar, globalStyle, style } from '@vanilla-extract/css'
|
|
2
|
-
import { easings, vars } from '../../../theme-vars'
|
|
4
|
+
import { easings, vars, whereReducedGraphics } from '../../../theme-vars'
|
|
5
|
+
import { iconSize, paddingSize, textSize } from './vars.css'
|
|
3
6
|
|
|
4
7
|
export const stokeFillMix = createVar('stroke-fill-mix')
|
|
5
8
|
|
|
@@ -15,12 +18,6 @@ export const container = style({
|
|
|
15
18
|
vars: {
|
|
16
19
|
[stokeFillMix]: `color-mix(in srgb, ${vars.element.stroke} 90%, ${vars.element.fill})`,
|
|
17
20
|
},
|
|
18
|
-
// selectors: {
|
|
19
|
-
// ':where(.react-flow__node.selected) &': {
|
|
20
|
-
// willChange: 'transform',
|
|
21
|
-
// },
|
|
22
|
-
// },
|
|
23
|
-
// Catch pointer below the element
|
|
24
21
|
':after': {
|
|
25
22
|
content: ' ',
|
|
26
23
|
position: 'absolute',
|
|
@@ -31,19 +28,68 @@ export const container = style({
|
|
|
31
28
|
background: 'transparent',
|
|
32
29
|
pointerEvents: 'all',
|
|
33
30
|
},
|
|
31
|
+
|
|
32
|
+
selectors: {
|
|
33
|
+
[`&:is([data-likec4-dimmed="true"])`]: {
|
|
34
|
+
opacity: 0.25,
|
|
35
|
+
transition: `opacity 400ms ${easings.inOut}, filter 500ms ${easings.inOut}`,
|
|
36
|
+
transitionDelay: '50ms',
|
|
37
|
+
filter: `grayscale(0.85) ${fallbackVar(vars.safariAnimationHook, 'blur(2px)')}`,
|
|
38
|
+
},
|
|
39
|
+
[`&:is([data-likec4-dimmed="immediate"])`]: {
|
|
40
|
+
opacity: 0.25,
|
|
41
|
+
transition: `opacity 100ms ${easings.inOut}, filter 100ms ${easings.inOut}`,
|
|
42
|
+
filter: `grayscale(0.85) ${fallbackVar(vars.safariAnimationHook, 'blur(2px)')}`,
|
|
43
|
+
},
|
|
44
|
+
[`${whereReducedGraphics} &:after`]: {
|
|
45
|
+
display: 'none',
|
|
46
|
+
},
|
|
47
|
+
[`:where(.react-flow__node.selectable:not(.dragging)) &`]: {
|
|
48
|
+
cursor: 'pointer',
|
|
49
|
+
},
|
|
50
|
+
},
|
|
34
51
|
})
|
|
35
52
|
|
|
36
|
-
globalStyle(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
53
|
+
globalStyle(`${container}`, {
|
|
54
|
+
vars: {
|
|
55
|
+
[textSize]: rem(defaultTheme.textSizes.md),
|
|
56
|
+
[paddingSize]: rem(defaultTheme.spacing.md),
|
|
57
|
+
[iconSize]: '60px',
|
|
58
|
+
},
|
|
59
|
+
})
|
|
60
|
+
|
|
61
|
+
globalStyle(`${container}[data-likec4-shape-size="xs"]`, {
|
|
62
|
+
vars: {
|
|
63
|
+
[iconSize]: '24px',
|
|
64
|
+
},
|
|
65
|
+
})
|
|
66
|
+
globalStyle(`${container}[data-likec4-shape-size="sm"]`, {
|
|
67
|
+
vars: {
|
|
68
|
+
[iconSize]: '36px',
|
|
69
|
+
},
|
|
70
|
+
})
|
|
71
|
+
globalStyle(`${container}[data-likec4-shape-size="lg"]`, {
|
|
72
|
+
vars: {
|
|
73
|
+
[iconSize]: '82px',
|
|
74
|
+
},
|
|
42
75
|
})
|
|
76
|
+
globalStyle(`${container}[data-likec4-shape-size="xl"]`, {
|
|
77
|
+
vars: {
|
|
78
|
+
[iconSize]: '90px',
|
|
79
|
+
},
|
|
80
|
+
})
|
|
81
|
+
|
|
82
|
+
const sizes = ['xs', 'sm', 'lg', 'xl'] as const
|
|
83
|
+
sizes.forEach((size) => {
|
|
84
|
+
globalStyle(`${container}[data-likec4-text-size="${size}"]`, {
|
|
85
|
+
vars: {
|
|
86
|
+
[textSize]: rem(defaultTheme.textSizes[size]),
|
|
87
|
+
},
|
|
88
|
+
})
|
|
43
89
|
|
|
44
|
-
globalStyle(
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
90
|
+
globalStyle(`${container}[data-likec4-padding="${size}"]`, {
|
|
91
|
+
vars: {
|
|
92
|
+
[paddingSize]: rem(defaultTheme.spacing[size]),
|
|
93
|
+
},
|
|
94
|
+
})
|
|
49
95
|
})
|
|
@@ -9,6 +9,7 @@ import { type BoxProps, Box, createPolymorphicComponent } from '@mantine/core'
|
|
|
9
9
|
import clsx from 'clsx'
|
|
10
10
|
import { m } from 'framer-motion'
|
|
11
11
|
import { type PropsWithChildren, forwardRef } from 'react'
|
|
12
|
+
import { useIsReducedGraphics } from '../../../hooks/useIsReducedGraphics'
|
|
12
13
|
import type { NodeProps } from '../../types'
|
|
13
14
|
import * as css from './ElementNodeContainer.css'
|
|
14
15
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createVar, fallbackVar, globalStyle, keyframes, style } from '@vanilla-extract/css'
|
|
2
|
-
import {
|
|
2
|
+
import { hiddenIfZoomTooSmall, reactFlowReducedGraphics } from '../../../LikeC4Diagram.css'
|
|
3
|
+
import { easings, mantine, vars, whereNotReducedGraphics } from '../../../theme-vars'
|
|
3
4
|
import { container, stokeFillMix } from './ElementNodeContainer.css'
|
|
4
5
|
|
|
5
6
|
const indicatorKeyframes = keyframes({
|
|
@@ -19,7 +20,7 @@ const outlineColor = fallbackVar(
|
|
|
19
20
|
|
|
20
21
|
const indicatorStroke = createVar('indicator-stroke')
|
|
21
22
|
|
|
22
|
-
export const indicator = style({
|
|
23
|
+
export const indicator = style([hiddenIfZoomTooSmall, {
|
|
23
24
|
stroke: indicatorStroke,
|
|
24
25
|
fill: 'none',
|
|
25
26
|
transformOrigin: 'center center',
|
|
@@ -36,6 +37,8 @@ export const indicator = style({
|
|
|
36
37
|
selectors: {
|
|
37
38
|
':where(.react-flow__node.selected) &': {
|
|
38
39
|
visibility: 'visible',
|
|
40
|
+
},
|
|
41
|
+
[`${whereNotReducedGraphics} :where(.react-flow__node.selected) &`]: {
|
|
39
42
|
animationName: fallbackVar(vars.safariAnimationHook, indicatorKeyframes),
|
|
40
43
|
},
|
|
41
44
|
[`:where(.react-flow__node:focus-visible, ${container}:focus-visible) &`]: {
|
|
@@ -52,7 +55,7 @@ export const indicator = style({
|
|
|
52
55
|
},
|
|
53
56
|
},
|
|
54
57
|
},
|
|
55
|
-
})
|
|
58
|
+
}])
|
|
56
59
|
|
|
57
60
|
export const fillElementFill = style({
|
|
58
61
|
fill: vars.element.fill,
|
|
@@ -78,10 +81,12 @@ const shapeBase = style({
|
|
|
78
81
|
fill: vars.element.fill,
|
|
79
82
|
stroke: vars.element.stroke,
|
|
80
83
|
overflow: 'visible',
|
|
81
|
-
zIndex
|
|
84
|
+
// zIndex is removed to improve rendering performance
|
|
85
|
+
// this forces to keep shape in the same layer as the node
|
|
86
|
+
// zIndex: -1,
|
|
82
87
|
})
|
|
83
88
|
|
|
84
|
-
export const shapeSvgMultiple = style([shapeBase, {
|
|
89
|
+
export const shapeSvgMultiple = style([shapeBase, hiddenIfZoomTooSmall, {
|
|
85
90
|
transformOrigin: '50% 25%',
|
|
86
91
|
transform: 'translate(14px, 14px) perspective(300px) translateZ(-8px)',
|
|
87
92
|
filter: ' brightness(0.65) saturate(0.8)',
|
|
@@ -125,15 +130,26 @@ export const shapeSvg = style([shapeBase, {
|
|
|
125
130
|
`,
|
|
126
131
|
},
|
|
127
132
|
},
|
|
128
|
-
[`:where(
|
|
133
|
+
[`:where([data-likec4-level='true']) &`]: {
|
|
129
134
|
vars: {
|
|
130
|
-
[filterShadow]: `
|
|
135
|
+
[filterShadow]: `
|
|
136
|
+
drop-shadow(0 2px 1px rgba(0, 0, 0, 0.25))
|
|
137
|
+
drop-shadow(0 8px 3px rgba(0, 0, 0, 0.1))
|
|
138
|
+
drop-shadow(0 10px 10px rgba(0, 0, 0, 0.05))
|
|
139
|
+
|
|
140
|
+
`,
|
|
131
141
|
},
|
|
132
142
|
},
|
|
133
|
-
[`:where(
|
|
143
|
+
[`:where(.react-flow__node.selected, .react-flow__node:focus-visible, ${container}:focus-visible) &`]: {
|
|
134
144
|
vars: {
|
|
135
145
|
[filterShadow]: `none`,
|
|
136
146
|
},
|
|
137
147
|
},
|
|
148
|
+
[`:where([data-likec4-zoom-small="true"]) &`]: {
|
|
149
|
+
filter: 'none',
|
|
150
|
+
},
|
|
151
|
+
[`${reactFlowReducedGraphics} &`]: {
|
|
152
|
+
filter: 'none',
|
|
153
|
+
},
|
|
138
154
|
},
|
|
139
155
|
}])
|
|
@@ -185,7 +185,7 @@ export function ElementShape(
|
|
|
185
185
|
return (
|
|
186
186
|
<>
|
|
187
187
|
{isMultiple && (
|
|
188
|
-
<svg className={clsx(css.shapeSvgMultiple
|
|
188
|
+
<svg className={clsx(css.shapeSvgMultiple)} viewBox={`0 0 ${w} ${h}`}>
|
|
189
189
|
<ElementShapeSvg shape={data.shape} w={w} h={h} />
|
|
190
190
|
</svg>
|
|
191
191
|
)}
|
|
@@ -223,5 +223,5 @@ export function SelectedIndicator({ shape, w, h }: ElementShapeProps) {
|
|
|
223
223
|
break
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
|
-
return <g className={
|
|
226
|
+
return <g className={css.indicator}>{svg}</g>
|
|
227
227
|
}
|
|
@@ -2,12 +2,14 @@ import { rem } from '@mantine/core'
|
|
|
2
2
|
import { createVar, globalStyle, style } from '@vanilla-extract/css'
|
|
3
3
|
import { calc } from '@vanilla-extract/css-utils'
|
|
4
4
|
import { vars } from '../../../theme-vars'
|
|
5
|
-
import { iconSize, paddingSize, textSize } from './
|
|
5
|
+
import { iconSize, paddingSize, textSize } from './vars.css'
|
|
6
6
|
|
|
7
7
|
export const hasIcon = style({})
|
|
8
8
|
|
|
9
9
|
const textAlign = createVar('text-align')
|
|
10
10
|
|
|
11
|
+
export { iconSize, paddingSize, textSize }
|
|
12
|
+
|
|
11
13
|
export const title = style({
|
|
12
14
|
flex: '0 0 auto',
|
|
13
15
|
fontFamily: vars.element.font,
|
|
@@ -66,6 +68,7 @@ export const technology = style({
|
|
|
66
68
|
})
|
|
67
69
|
|
|
68
70
|
export const elementDataContainer = style({
|
|
71
|
+
position: 'relative',
|
|
69
72
|
flex: '1',
|
|
70
73
|
height: 'fit-content',
|
|
71
74
|
width: 'fit-content',
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { type DiagramNode } from '@likec4/core'
|
|
2
2
|
import { Box, Text } from '@mantine/core'
|
|
3
|
-
import { assignInlineVars } from '@vanilla-extract/dynamic'
|
|
4
3
|
import clsx from 'clsx'
|
|
5
4
|
import { isNumber, isTruthy } from 'remeda'
|
|
6
5
|
import { IconRenderer } from '../../../context/IconRenderer'
|
|
7
6
|
import { hiddenIfZoomTooSmall } from '../../../LikeC4Diagram.css'
|
|
7
|
+
import { getVarName } from '../../../utils/css'
|
|
8
8
|
import type { NodeProps } from '../../types'
|
|
9
9
|
import { nodeSizes } from './ElementNodeContainer'
|
|
10
10
|
import * as css from './ElementTitle.css'
|
|
11
|
-
import { iconSize as varIconSize } from './styles.css'
|
|
12
11
|
|
|
13
12
|
type Data =
|
|
14
13
|
& Pick<
|
|
@@ -27,6 +26,8 @@ type ElementTitleProps = NodeProps<Data> & {
|
|
|
27
26
|
iconSize?: number
|
|
28
27
|
}
|
|
29
28
|
|
|
29
|
+
const varIconSize = getVarName(css.iconSize)
|
|
30
|
+
|
|
30
31
|
export function ElementTitle({ id, data, iconSize }: ElementTitleProps) {
|
|
31
32
|
const elementIcon = IconRenderer({
|
|
32
33
|
element: {
|
|
@@ -47,9 +48,9 @@ export function ElementTitle({ id, data, iconSize }: ElementTitleProps) {
|
|
|
47
48
|
'likec4-element',
|
|
48
49
|
)}
|
|
49
50
|
style={{
|
|
50
|
-
...isNumber(iconSize) &&
|
|
51
|
+
...isNumber(iconSize) && {
|
|
51
52
|
[varIconSize]: `${iconSize}px`,
|
|
52
|
-
}
|
|
53
|
+
},
|
|
53
54
|
}}
|
|
54
55
|
>
|
|
55
56
|
{elementIcon}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { style } from '@vanilla-extract/css'
|
|
2
2
|
import { mantine } from '../theme-vars'
|
|
3
|
-
import { easings, transitions, whereDark } from '../theme-vars
|
|
3
|
+
import { easings, transitions, whereDark } from '../theme-vars'
|
|
4
4
|
|
|
5
5
|
export const elementLink = style({
|
|
6
6
|
display: 'flex',
|
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
import { createVar, fallbackVar, globalStyle, style } from '@vanilla-extract/css'
|
|
2
|
-
import { mantine, transitions, vars, whereDark, whereLight } from '../theme-vars'
|
|
2
|
+
import { mantine, transitions, vars, whereDark, whereLight, whereNotReducedGraphics } from '../theme-vars'
|
|
3
3
|
|
|
4
4
|
const transparent = createVar('transparent')
|
|
5
5
|
const bgColor = createVar('bgcolor')
|
|
6
6
|
export const root = style({
|
|
7
|
-
height: '
|
|
7
|
+
height: '30px',
|
|
8
8
|
paddingLeft: mantine.spacing.sm,
|
|
9
9
|
paddingRight: '4px',
|
|
10
|
-
borderRadius:
|
|
11
|
-
color: mantine.colors.placeholder,
|
|
12
|
-
boxShadow: mantine.shadows.xs,
|
|
10
|
+
borderRadius: '0px',
|
|
11
|
+
color: fallbackVar('var(--search-color)', mantine.colors.placeholder),
|
|
13
12
|
border: '1px solid',
|
|
14
13
|
cursor: 'pointer',
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
backdropFilter: fallbackVar(vars.safariAnimationHook, 'blur(8px)'),
|
|
18
|
-
backgroundColor: `color-mix(in srgb, ${bgColor}, transparent ${transparent})`,
|
|
14
|
+
backgroundColor: bgColor,
|
|
15
|
+
width: '100%',
|
|
19
16
|
vars: {
|
|
20
17
|
[transparent]: '20%',
|
|
21
18
|
[bgColor]: mantine.colors.default,
|
|
@@ -33,6 +30,14 @@ export const root = style({
|
|
|
33
30
|
[bgColor]: mantine.colors.dark[6],
|
|
34
31
|
},
|
|
35
32
|
},
|
|
33
|
+
[`${whereNotReducedGraphics} &`]: {
|
|
34
|
+
transition: transitions.fast,
|
|
35
|
+
borderRadius: fallbackVar('var(--search-border-radius)', mantine.radius.sm),
|
|
36
|
+
backgroundColor: `color-mix(in srgb, ${bgColor}, transparent ${transparent})`,
|
|
37
|
+
boxShadow: mantine.shadows.xs,
|
|
38
|
+
WebkitBackdropFilter: fallbackVar(vars.safariAnimationHook, 'blur(8px)'),
|
|
39
|
+
backdropFilter: fallbackVar(vars.safariAnimationHook, 'blur(8px)'),
|
|
40
|
+
},
|
|
36
41
|
},
|
|
37
42
|
':hover': {
|
|
38
43
|
borderColor: mantine.colors.defaultBorder,
|
|
@@ -47,17 +52,27 @@ globalStyle(`${root} .tabler-icon`, {
|
|
|
47
52
|
color: mantine.colors.text,
|
|
48
53
|
})
|
|
49
54
|
|
|
55
|
+
export const placeholder = style({
|
|
56
|
+
fontSize: mantine.fontSizes.sm,
|
|
57
|
+
fontWeight: 500,
|
|
58
|
+
paddingRight: 50,
|
|
59
|
+
flex: 1,
|
|
60
|
+
})
|
|
61
|
+
|
|
50
62
|
export const shortcut = style({
|
|
51
63
|
fontSize: '11px',
|
|
64
|
+
fontWeight: 600,
|
|
52
65
|
lineHeight: 1,
|
|
53
66
|
padding: '4px 7px',
|
|
54
67
|
borderRadius: mantine.radius.sm,
|
|
55
68
|
border: '1px solid',
|
|
56
|
-
fontWeight: 'bold',
|
|
57
69
|
selectors: {
|
|
58
70
|
[`${whereLight} &`]: {
|
|
59
71
|
color: mantine.colors.gray[7],
|
|
60
72
|
borderColor: mantine.colors.gray[2],
|
|
73
|
+
backgroundColor: mantine.colors.gray[2],
|
|
74
|
+
},
|
|
75
|
+
[`${whereLight} ${whereNotReducedGraphics} &`]: {
|
|
61
76
|
backgroundColor: `color-mix(in srgb, ${mantine.colors.gray[2]}, transparent 20%)`,
|
|
62
77
|
},
|
|
63
78
|
[`${whereDark} &`]: {
|
|
@@ -21,10 +21,10 @@ export function SearchControl({ className, ...others }: SearchControlProps) {
|
|
|
21
21
|
<UnstyledButton {...others} className={cx(classes.root, className)}>
|
|
22
22
|
<Group gap="xs">
|
|
23
23
|
<IconSearch style={{ width: rem(15), height: rem(15) }} stroke={2} />
|
|
24
|
-
<Text
|
|
24
|
+
<Text component="div" className={classes.placeholder}>
|
|
25
25
|
Search
|
|
26
26
|
</Text>
|
|
27
|
-
<Text
|
|
27
|
+
<Text component="div" className={classes.shortcut}>
|
|
28
28
|
{isMac ? '⌘ + K' : 'Ctrl + K'}
|
|
29
29
|
</Text>
|
|
30
30
|
</Group>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { createOptionalContext } from '@mantine/core'
|
|
2
|
+
import { type ReactNode } from 'react'
|
|
3
|
+
|
|
4
|
+
export type ControlsCustomLayoutProps = {
|
|
5
|
+
burgerMenu: ReactNode
|
|
6
|
+
navigationButtons: ReactNode
|
|
7
|
+
search: ReactNode
|
|
8
|
+
actionsGroup: ReactNode
|
|
9
|
+
syncInProgressBadge: ReactNode
|
|
10
|
+
}
|
|
11
|
+
export type ControlsCustomLayout = (props: ControlsCustomLayoutProps) => ReactNode
|
|
12
|
+
|
|
13
|
+
export const [
|
|
14
|
+
ControlsCustomLayoutProvider,
|
|
15
|
+
useControlsCustomLayout,
|
|
16
|
+
] = createOptionalContext<ControlsCustomLayout | null>(null)
|