Skip to content

Commit

Permalink
Deploying to gh-pages from @ e146ee0 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
tnrich committed Mar 8, 2024
1 parent 6cd9fcd commit 1246d64
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 34 deletions.
46 changes: 23 additions & 23 deletions ove/assets/index-ee9e3012.js → ove/assets/index-ab0b5c5c.js
Original file line number Diff line number Diff line change
Expand Up @@ -26461,6 +26461,7 @@ let clearMe;
});
el22.classList.add(id2);
const inst = tippy$1(`.${id2}`, __spreadValues(__spreadProps(__spreadValues({
theme: "teselagen",
plugins: [followCursor],
content: content2,
delay: dataTitle && !recentlyHidden ? [1300, 1300] : dataTitle ? [150, 150] : [0, 0],
Expand Down Expand Up @@ -45368,25 +45369,16 @@ var toString$4 = {}.toString;
var _cof = /* @__PURE__ */ __name(function(it) {
return toString$4.call(it).slice(8, -1);
}, "_cof");
var _iobject;
var hasRequired_iobject;
function require_iobject() {
if (hasRequired_iobject)
return _iobject;
hasRequired_iobject = 1;
var cof2 = _cof;
_iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
return cof2(it) == "String" ? it.split("") : Object(it);
};
return _iobject;
}
__name(require_iobject, "require_iobject");
var cof$2 = _cof;
var _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
return cof$2(it) == "String" ? it.split("") : Object(it);
};
var _defined = /* @__PURE__ */ __name(function(it) {
if (it == void 0)
throw TypeError("Can't call method on " + it);
return it;
}, "_defined");
var IObject = require_iobject();
var IObject = _iobject;
var defined$2 = _defined;
var _toIobject = /* @__PURE__ */ __name(function(it) {
return IObject(defined$2(it));
Expand Down Expand Up @@ -45507,7 +45499,7 @@ function require_objectAssign() {
var gOPS2 = _objectGops;
var pIE2 = require_objectPie();
var toObject2 = _toObject;
var IObject2 = require_iobject();
var IObject2 = _iobject;
var $assign = Object.assign;
_objectAssign = !$assign || _fails(function() {
var A2 = {};
Expand Down Expand Up @@ -1738912,7 +1738904,7 @@ const __variableDynamicImportRuntimeHelper = /* @__PURE__ */ __name((glob, path2
(typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(reject.bind(null, new Error("Unknown variable dynamic import: " + path2)));
});
}, "__variableDynamicImportRuntimeHelper");
function VersionSwitcher({ packageName = "ove" }) {
function VersionSwitcher({ packageName = "ove", testBadge }) {
const [options, setOptions] = reactExports.useState([]);
const pjson = reactExports.useRef({});
reactExports.useEffect(() => {
Expand All @@ -1738925,6 +1738917,7 @@ function VersionSwitcher({ packageName = "ove" }) {
let res = yield (yield window.fetch(
"https://api.github.com/repos/teselagen/tg-oss/git/trees/gh-pages"
)).json();
console.log(`res:`, res);
const packageNode = res.tree.find((e2) => {
return e2.path.toLowerCase() === packageName;
});
Expand Down Expand Up @@ -1738956,24 +1738949,24 @@ function VersionSwitcher({ packageName = "ove" }) {
});
}, "fetchData"))();
}, ["packageName"]);
return options.length ? /* @__PURE__ */ React$3.createElement("div", { style: { display: "flex", alignItems: "center" } }, /* @__PURE__ */ React$3.createElement("div", { style: { paddingTop: 3 } }, /* @__PURE__ */ React$3.createElement(
return options.length ? /* @__PURE__ */ React$3.createElement("div", { style: { display: "flex", alignItems: "center" } }, /* @__PURE__ */ React$3.createElement("div", { style: { paddingTop: 13, display: "flex", marginRight: 20 } }, /* @__PURE__ */ React$3.createElement(
"iframe",
{
src: "https://ghbtns.com/github-btn.html?user=teselagen&repo=tg-oss&type=star&count=true",
frameBorder: "0",
scrolling: "0",
width: "150",
width: "100",
height: "20",
title: "GitHub"
}
)), /* @__PURE__ */ React$3.createElement("div", null, "Version:"), " ", /* @__PURE__ */ React$3.createElement(
), testBadge && /* @__PURE__ */ React$3.createElement(ReactMarkdown, { children: testBadge })), /* @__PURE__ */ React$3.createElement(
HTMLSelect,
{
minimal: true,
onChange: /* @__PURE__ */ __name(function onChange(e2) {
window.location.href = `https://teselagen.github.io/tg-oss/${packageName}/version/${e2.currentTarget.value}/#/Editor`;
}, "onChange"),
value: pjson.version,
value: pjson.current.version,
options
}
), /* @__PURE__ */ React$3.createElement(
Expand All @@ -1738987,7 +1738980,7 @@ function VersionSwitcher({ packageName = "ove" }) {
"Changelog"
)) : (
//fallback to just showing the version
/* @__PURE__ */ React$3.createElement("div", { style: { marginTop: 5 } }, "Version: ", pjson.version)
/* @__PURE__ */ React$3.createElement("div", { style: { marginTop: 13 } }, pjson.current.version)
);
}
__name(VersionSwitcher, "VersionSwitcher");
Expand Down Expand Up @@ -1739091,12 +1739084,18 @@ const Demo = /* @__PURE__ */ __name(() => {
icon: "menu"
}
),
/* @__PURE__ */ React$3.createElement(VersionSwitcher, { packageName: "ove" }),
/* @__PURE__ */ React$3.createElement(
VersionSwitcher,
{
packageName: "ove",
testBadge: `[![@teselagen/ove](https://img.shields.io/endpoint?url=https://cloud.cypress.io/badge/simple/mp89gp/master&style=flat&logo=cypress)](https://cloud.cypress.io/projects/mp89gp/runs)`
}
),
/* @__PURE__ */ React$3.createElement(
"a",
{
href: "https://github.com/TeselaGen/ove-electron#installation-instructions",
style: { marginTop: 5, marginLeft: 10 }
style: { marginTop: 13, marginLeft: 10 }
},
"This is a developer demo. Get the App?"
),
Expand All @@ -1739110,6 +1739109,7 @@ const Demo = /* @__PURE__ */ __name(() => {
/* @__PURE__ */ React$3.createElement(
Button,
{
style: { marginTop: 3, marginRight: 3 },
"data-test": "tg-toggle-dark-mode",
icon: isDarkMode ? "flash" : "moon",
intent: isDarkMode ? "warning" : void 0,
Expand Down
20 changes: 11 additions & 9 deletions ove/assets/index-247d3a7a.css → ove/assets/index-d03923c4.css
Original file line number Diff line number Diff line change
Expand Up @@ -8975,10 +8975,10 @@ code {
display: none;
}

.isDataTitle .tippy-arrow {
.isDataTitle .tippy-box[data-theme~="teselagen"] .tippy-arrow {
opacity: 0 !important;
}
.isDataTitle .tippy-box {
.isDataTitle .tippy-box[data-theme~="teselagen"] {
background-color: #4f4a50f4 !important;
border-radius: 0 !important;
color: #f3f3f3 !important;
Expand All @@ -8987,24 +8987,24 @@ code {
padding: 0px 0px !important;
}

[data-tippy-root] {
[data-tippy-root]:has(.tippy-box[data-theme~="teselagen"]) {
z-index: 100000 !important;
}

[data-tippy-root] .tippy-box {
[data-tippy-root] .tippy-box[data-theme~="teselagen"] {
background-color: #394b59;
color: #f5f8fa;
padding: 4px 4px;
word-break: break-word;
}
[data-tippy-root] .tippy-arrow {
[data-tippy-root] .tippy-box[data-theme~="teselagen"] .tippy-arrow {
color: #394b59;
}
.bp3-dark [data-tippy-root] .tippy-box {
.bp3-dark [data-tippy-root] .tippy-box[data-theme~="teselagen"] {
background-color: #e1e8ed;
color: #394b59;
}
.bp3-dark [data-tippy-root] .tippy-arrow {
.bp3-dark [data-tippy-root] .tippy-box[data-theme~="teselagen"] .tippy-arrow {
/* background-color: #e1e8ed; */
color: #e1e8ed;
}
Expand Down Expand Up @@ -9410,7 +9410,7 @@ body:not(.drag-active)
}

.ReactTable .rt-tr-group.selected {
background: lightblue !important;
background: #e4f3f8 !important;
}

.ReactTable .rt-tr-group.disabled {
Expand Down Expand Up @@ -9634,7 +9634,9 @@ body:not(.drag-active)
.bp3-dark .ReactTable .rt-tbody {
background: #30404d !important;
}

.ReactTable .rt-thead.-header {
box-shadow: none;
}
.bp3-dark .ReactTable .rt-thead.-header {
color: #f5f8fa !important;
}
Expand Down
4 changes: 2 additions & 2 deletions ove/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<meta charset="UTF-8">
<title>ove demo</title>

<script type="module" crossorigin src="./assets/index-ee9e3012.js"></script>
<link rel="stylesheet" href="./assets/index-247d3a7a.css">
<script type="module" crossorigin src="./assets/index-ab0b5c5c.js"></script>
<link rel="stylesheet" href="./assets/index-d03923c4.css">
</head>
<body>

Expand Down

0 comments on commit 1246d64

Please sign in to comment.