@antimatter-audio/antimatter-ui 5.11.1 → 5.12.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/index.js +44 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2058,19 +2058,57 @@ function LinePlot(param) {
|
|
|
2058
2058
|
var line = d3.line(function(d, i) {
|
|
2059
2059
|
return x(i);
|
|
2060
2060
|
}, y);
|
|
2061
|
-
return /*#__PURE__*/ React__default.createElement("
|
|
2061
|
+
return /*#__PURE__*/ React__default.createElement("div", {
|
|
2062
|
+
style: {
|
|
2063
|
+
position: 'relative'
|
|
2064
|
+
}
|
|
2065
|
+
}, /*#__PURE__*/ React__default.createElement("svg", {
|
|
2062
2066
|
width: width,
|
|
2063
2067
|
height: height
|
|
2064
|
-
}, /*#__PURE__*/ React__default.createElement("
|
|
2068
|
+
}, /*#__PURE__*/ React__default.createElement("filter", {
|
|
2069
|
+
id: "blur"
|
|
2070
|
+
}, /*#__PURE__*/ React__default.createElement("feDropShadow", {
|
|
2071
|
+
dx: "0",
|
|
2072
|
+
dy: "0",
|
|
2073
|
+
stdDeviation: "3",
|
|
2074
|
+
floodOpacity: "1",
|
|
2075
|
+
floodColor: "#6FFFF5"
|
|
2076
|
+
})), /*#__PURE__*/ React__default.createElement("path", {
|
|
2065
2077
|
fill: "none",
|
|
2066
|
-
stroke: "#
|
|
2067
|
-
"stroke-width": "
|
|
2078
|
+
stroke: "#6FFFF5",
|
|
2079
|
+
"stroke-width": "2",
|
|
2080
|
+
filter: "url(#blur)",
|
|
2068
2081
|
// @ts-expect-error
|
|
2069
2082
|
d: line(data)
|
|
2070
|
-
}))
|
|
2083
|
+
})), /*#__PURE__*/ React__default.createElement("svg", {
|
|
2084
|
+
style: {
|
|
2085
|
+
position: 'absolute',
|
|
2086
|
+
top: 0,
|
|
2087
|
+
right: 0,
|
|
2088
|
+
bottom: 1,
|
|
2089
|
+
left: 0
|
|
2090
|
+
},
|
|
2091
|
+
width: "100%",
|
|
2092
|
+
height: "100%",
|
|
2093
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
2094
|
+
}, /*#__PURE__*/ React__default.createElement("defs", null, /*#__PURE__*/ React__default.createElement("pattern", {
|
|
2095
|
+
id: "grid",
|
|
2096
|
+
width: "40",
|
|
2097
|
+
height: "40",
|
|
2098
|
+
patternUnits: "userSpaceOnUse"
|
|
2099
|
+
}, /*#__PURE__*/ React__default.createElement("path", {
|
|
2100
|
+
d: "M 40 0 L 0 0 0 40",
|
|
2101
|
+
fill: "none",
|
|
2102
|
+
stroke: "#366F46",
|
|
2103
|
+
"stroke-width": "1"
|
|
2104
|
+
}))), /*#__PURE__*/ React__default.createElement("rect", {
|
|
2105
|
+
width: "100%",
|
|
2106
|
+
height: "100%",
|
|
2107
|
+
fill: "url(#grid)"
|
|
2108
|
+
})));
|
|
2071
2109
|
}
|
|
2072
2110
|
|
|
2073
|
-
var css_248z = ".Oscilloscope {\n background: #
|
|
2111
|
+
var css_248z = ".Oscilloscope {\n background: #0EAC8B;\n box-shadow: inset 0 0 20px #086350;\n width: 100%;\n height: 200px;\n}";
|
|
2074
2112
|
styleInject(css_248z);
|
|
2075
2113
|
|
|
2076
2114
|
function _array_like_to_array(arr, len) {
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":";;;;;;;;;AAAA,SAAS,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE;AAC/B,EAAE,KAAK,GAAG,KAAK,KAAK,CAAC,GAAG,GAAG,GAAG,EAAE,CAAC;AACjC,EAAE,IAAI,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;AAC9B;AACA,EAAE,IAAI,CAAC,GAAG,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE,EAAE,OAAO,EAAE;AAC1D;AACA,EAAE,IAAI,IAAI,GAAG,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;AACvE,EAAE,IAAI,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;AAC9C,EAAE,KAAK,CAAC,IAAI,GAAG,UAAU,CAAC;AAC1B;AACA,EAAE,IAAI,QAAQ,KAAK,KAAK,EAAE;AAC1B,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE;AACzB,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;AAChD,KAAK,MAAM;AACX,MAAM,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC9B,KAAK;AACL,GAAG,MAAM;AACT,IAAI,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5B,GAAG;AACH;AACA,EAAE,IAAI,KAAK,CAAC,UAAU,EAAE;AACxB,IAAI,KAAK,CAAC,UAAU,CAAC,OAAO,GAAG,GAAG,CAAC;AACnC,GAAG,MAAM;AACT,IAAI,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;AACpD,GAAG;AACH
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":";;;;;;;;;AAAA,SAAS,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE;AAC/B,EAAE,KAAK,GAAG,KAAK,KAAK,CAAC,GAAG,GAAG,GAAG,EAAE,CAAC;AACjC,EAAE,IAAI,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;AAC9B;AACA,EAAE,IAAI,CAAC,GAAG,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE,EAAE,OAAO,EAAE;AAC1D;AACA,EAAE,IAAI,IAAI,GAAG,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;AACvE,EAAE,IAAI,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;AAC9C,EAAE,KAAK,CAAC,IAAI,GAAG,UAAU,CAAC;AAC1B;AACA,EAAE,IAAI,QAAQ,KAAK,KAAK,EAAE;AAC1B,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE;AACzB,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;AAChD,KAAK,MAAM;AACX,MAAM,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC9B,KAAK;AACL,GAAG,MAAM;AACT,IAAI,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5B,GAAG;AACH;AACA,EAAE,IAAI,KA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