@matdata/yasgui-graph-plugin 1.2.0 → 1.4.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.
@@ -0,0 +1,2 @@
1
+ :root{--yasgui-graph-uri: #97C2FC;--yasgui-graph-literal: #a6c8a6ff;--yasgui-graph-blank-node: #c5c5c5ff;--yasgui-graph-type-object: #e15b13ff;--yasgui-graph-text: #000000;--yasgui-graph-edge: #cccccc;--yasgui-graph-edge-label: #666666;--yasgui-graph-edge-label-bg: rgba(255, 255, 255, .8);--yasgui-graph-background: #ffffff;--color-blank-node: #ffff00;--color-literal: #808080;--color-rdf-type: #00ff00;--color-uri: #0000ff;--color-blank-node-dark: #ffeb3b;--color-literal-dark: #9e9e9e;--color-rdf-type-dark: #4caf50;--color-uri-dark: #2196f3;--bg-light: #ffffff;--bg-dark: #1e1e1e;--text-light: #666666;--text-dark: #cccccc;--text-error: #f44336;--button-primary-bg: #4caf50;--button-primary-bg-hover: #45a049;--button-text: #ffffff;--box-shadow: 0 2px 4px rgba(0, 0, 0, .2)}[data-theme=dark],.dark-theme{--yasgui-graph-uri: #97C2FC;--yasgui-graph-literal: #a6c8a6ff;--yasgui-graph-blank-node: #888888;--yasgui-graph-type-object: #e15b13ff;--yasgui-graph-text: #e0e0e0;--yasgui-graph-edge: #666666;--yasgui-graph-edge-label: #cccccc;--yasgui-graph-edge-label-bg: rgba(30, 30, 30, .8);--yasgui-graph-background: #1e1e1e}.yasgui-graph-plugin-container{width:100%;height:100%;position:relative;overflow:hidden}.yasgui-graph-plugin-container canvas{background-color:var(--yasgui-graph-canvas-bg, var(--bg-light))}.yasgui-graph-plugin-container[data-theme=dark] canvas,.dark-theme .yasgui-graph-plugin-container canvas{background-color:var(--yasgui-graph-canvas-bg, var(--bg-dark))}.yasgui-graph-plugin-empty-state{padding:20px;text-align:center;color:var(--text-light)}.dark-theme .yasgui-graph-plugin-empty-state{color:var(--text-dark)}.yasgui-graph-plugin-error{padding:20px;color:var(--text-error)}.yasgui-graph-controls{position:absolute;top:10px;right:10px;z-index:10000;display:flex;gap:10px;pointer-events:auto}.yasgui-graph-button{padding:8px 12px;background:var(--button-primary-bg);color:var(--button-text);border:none;border-radius:4px;cursor:pointer;font-size:14px;box-shadow:var(--box-shadow);transition:background .2s ease}.yasgui-graph-button:hover{background:var(--button-primary-bg-hover)}.yasgui-graph-button:active{transform:translateY(1px)}.yasgui-graph-icon{display:inline-flex;align-items:center;justify-content:center}.yasgui-graph-icon svg{width:16px;height:16px;fill:currentColor}
2
+ /*# sourceMappingURL=yasgui-graph-plugin.min.css.map */
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../styles/index.css"],
4
+ "sourcesContent": ["/* Color scheme variables */\r\n:root {\r\n /* Light theme colors (default) */\r\n --yasgui-graph-uri: #97C2FC;\r\n --yasgui-graph-literal: #a6c8a6ff;\r\n --yasgui-graph-blank-node: #c5c5c5ff;\r\n --yasgui-graph-type-object: #e15b13ff;\r\n --yasgui-graph-text: #000000;\r\n --yasgui-graph-edge: #cccccc;\r\n --yasgui-graph-edge-label: #666666;\r\n --yasgui-graph-edge-label-bg: rgba(255, 255, 255, 0.8);\r\n --yasgui-graph-background: #ffffff;\r\n \r\n /* Legacy variables for backward compatibility */\r\n --color-blank-node: #ffff00;\r\n --color-literal: #808080;\r\n --color-rdf-type: #00ff00;\r\n --color-uri: #0000ff;\r\n \r\n --color-blank-node-dark: #ffeb3b;\r\n --color-literal-dark: #9e9e9e;\r\n --color-rdf-type-dark: #4caf50;\r\n --color-uri-dark: #2196f3;\r\n \r\n --bg-light: #ffffff;\r\n --bg-dark: #1e1e1e;\r\n \r\n --text-light: #666666;\r\n --text-dark: #cccccc;\r\n --text-error: #f44336;\r\n \r\n --button-primary-bg: #4caf50;\r\n --button-primary-bg-hover: #45a049;\r\n --button-text: #ffffff;\r\n \r\n --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\r\n}\r\n/* Dark theme colors */\r\n[data-theme='dark'],\r\n.dark-theme {\r\n --yasgui-graph-uri: #97C2FC;\r\n --yasgui-graph-literal: #a6c8a6ff;\r\n --yasgui-graph-blank-node: #888888;\r\n --yasgui-graph-type-object: #e15b13ff;\r\n --yasgui-graph-text: #e0e0e0;\r\n --yasgui-graph-edge: #666666;\r\n --yasgui-graph-edge-label: #cccccc;\r\n --yasgui-graph-edge-label-bg: rgba(30, 30, 30, 0.8);\r\n --yasgui-graph-background: #1e1e1e;\r\n}\r\n/* Graph plugin container */\r\n.yasgui-graph-plugin-container {\r\n width: 100%;\r\n height: 100%;\r\n position: relative;\r\n overflow: hidden;\r\n}\r\n.yasgui-graph-plugin-container canvas {\r\n background-color: var(--yasgui-graph-canvas-bg, var(--bg-light));\r\n}\r\n.yasgui-graph-plugin-container[data-theme='dark'] canvas,\r\n.dark-theme .yasgui-graph-plugin-container canvas {\r\n background-color: var(--yasgui-graph-canvas-bg, var(--bg-dark));\r\n}\r\n.yasgui-graph-plugin-empty-state {\r\n padding: 20px;\r\n text-align: center;\r\n color: var(--text-light);\r\n}\r\n.dark-theme .yasgui-graph-plugin-empty-state {\r\n color: var(--text-dark);\r\n}\r\n.yasgui-graph-plugin-error {\r\n padding: 20px;\r\n color: var(--text-error);\r\n}\r\n/* Controls container */\r\n.yasgui-graph-controls {\r\n position: absolute;\r\n top: 10px;\r\n right: 10px;\r\n z-index: 10000;\r\n display: flex;\r\n gap: 10px;\r\n pointer-events: auto;\r\n}\r\n/* Button styles */\r\n.yasgui-graph-button {\r\n padding: 8px 12px;\r\n background: var(--button-primary-bg);\r\n color: var(--button-text);\r\n border: none;\r\n border-radius: 4px;\r\n cursor: pointer;\r\n font-size: 14px;\r\n box-shadow: var(--box-shadow);\r\n transition: background 0.2s ease;\r\n}\r\n.yasgui-graph-button:hover {\r\n background: var(--button-primary-bg-hover);\r\n}\r\n.yasgui-graph-button:active {\r\n transform: translateY(1px);\r\n}\r\n/* Icon styles */\r\n.yasgui-graph-icon {\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n.yasgui-graph-icon svg {\r\n width: 16px;\r\n height: 16px;\r\n fill: currentColor;\r\n}\r\n/* Main entry point for all styles */\r\n/* This file will be imported by the TypeScript code */\r\n"],
5
+ "mappings": "AACA,MAEE,oBAAoB,QACpB,wBAAwB,UACxB,2BAA2B,UAC3B,4BAA4B,UAC5B,qBAAqB,QACrB,qBAAqB,QACrB,2BAA2B,QAC3B,8BAA8B,KAAK,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAClD,2BAA2B,QAG3B,oBAAoB,QACpB,iBAAiB,QACjB,kBAAkB,QAClB,aAAa,QAEb,yBAAyB,QACzB,sBAAsB,QACtB,uBAAuB,QACvB,kBAAkB,QAElB,YAAY,QACZ,WAAW,QAEX,cAAc,QACd,aAAa,QACb,cAAc,QAEd,qBAAqB,QACrB,2BAA2B,QAC3B,eAAe,QAEf,cAAc,EAAE,IAAI,IAAI,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,GACxC,CAEA,CAAC,iBACD,CAAC,WACC,oBAAoB,QACpB,wBAAwB,UACxB,2BAA2B,QAC3B,4BAA4B,UAC5B,qBAAqB,QACrB,qBAAqB,QACrB,2BAA2B,QAC3B,8BAA8B,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,IAC/C,2BAA2B,OAC7B,CAEA,CAAC,8BACC,MAAO,KACP,OAAQ,KACR,SAAU,SACV,SAAU,MACZ,CACA,CANC,8BAM8B,OAC7B,iBAAkB,IAAI,wBAAwB,EAAE,IAAI,YACtD,CACA,CATC,6BAS6B,CAAC,iBAAmB,OAClD,CAtBC,WAsBW,CAVX,8BAU0C,OACzC,iBAAkB,IAAI,wBAAwB,EAAE,IAAI,WACtD,CACA,CAAC,gCAhED,QAiEW,KACT,WAAY,OACZ,MAAO,IAAI,aACb,CACA,CA9BC,WA8BW,CALX,gCAMC,MAAO,IAAI,YACb,CACA,CAAC,0BAxED,QAyEW,KACT,MAAO,IAAI,aACb,CAEA,CAAC,sBACC,SAAU,SACV,IAAK,KACL,MAAO,KACP,QAAS,MACT,QAAS,KACT,IAAK,KACL,eAAgB,IAClB,CAEA,CAAC,oBAvFD,QAwFW,IAAI,KACb,WAAY,IAAI,qBAChB,MAAO,IAAI,eACX,OAAQ,KA3FV,cA4FiB,IACf,OAAQ,QACR,UAAW,KACX,WAAY,IAAI,cAChB,WAAY,WAAW,IAAK,IAC9B,CACA,CAXC,mBAWmB,OAClB,WAAY,IAAI,0BAClB,CACA,CAdC,mBAcmB,QAClB,UAAW,WAAW,IACxB,CAEA,CAAC,kBACC,QAAS,YACT,YAAa,OACb,gBAAiB,MACnB,CACA,CALC,kBAKkB,IACjB,MAAO,KACP,OAAQ,KACR,KAAM,YACR",
6
+ "names": []
7
+ }