Skip to content

Commit

Permalink
chore(v2) release 2.0.0-beta.2
Browse files Browse the repository at this point in the history
  • Loading branch information
allmarkedup committed Feb 14, 2023
1 parent 427aeca commit fc08506
Show file tree
Hide file tree
Showing 7 changed files with 109 additions and 109 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
lookbook (2.0.0.beta.1)
lookbook (2.0.0.beta.2)
activemodel
css_parser
htmlbeautifier (~> 1.3)
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lookbook-docs",
"version": "2.0.0.beta.1",
"version": "2.0.0.beta.2",
"private": true,
"scripts": {
"esbuild": "node esbuild.config.js --minify",
Expand Down
2 changes: 1 addition & 1 deletion lib/lookbook/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Lookbook
VERSION = "2.0.0.beta.1"
VERSION = "2.0.0.beta.2"
end
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lookbook",
"version": "2.0.0-beta.1",
"version": "2.0.0-beta.2",
"description": "A native development UI for ViewComponent",
"targets": {
"app": {
Expand Down
204 changes: 102 additions & 102 deletions public/lookbook-assets/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7831,59 +7831,7 @@ function $5439cede634b2921$var$toCamel(s) {
}


var $073a57739c7e41e2$exports = {};
var $99486586f6691564$exports = {};

$parcel$defineInteropFlag($99486586f6691564$exports);

$parcel$export($99486586f6691564$exports, "default", () => $99486586f6691564$export$2e2bcd8739ae039);
function $99486586f6691564$export$2e2bcd8739ae039() {
return {};
}


var $47a1c62621be0c54$exports = {};

$parcel$defineInteropFlag($47a1c62621be0c54$exports);

$parcel$export($47a1c62621be0c54$exports, "default", () => $47a1c62621be0c54$export$2e2bcd8739ae039);
var $122263eab94cad08$exports = {};

$parcel$defineInteropFlag($122263eab94cad08$exports);

$parcel$export($122263eab94cad08$exports, "initClipboard", () => $122263eab94cad08$export$c6684e6159b21de3);
$parcel$export($122263eab94cad08$exports, "default", () => $122263eab94cad08$export$2e2bcd8739ae039);

function $122263eab94cad08$export$c6684e6159b21de3(context = {}) {
let copyTimeout = null;
return Object.assign(context, {
copied: false,
async copyToClipboard (target = null) {
let targetEl;
if (this.$refs.copyTarget) targetEl = this.$refs.copyTarget;
else if (typeof target === "string") targetEl = document.querySelector(target);
if (!targetEl) {
this.warn("Could not find copy target");
return false;
}
const content = (0, $7ae6ae39c2ec9059$export$6cb344a21ca18aec)(targetEl.innerHTML.trim());
await window.navigator.clipboard.writeText(content);
this.copied = true;
if (copyTimeout) clearTimeout(copyTimeout);
copyTimeout = setTimeout(()=>{
this.copied = false;
this.onCopyComplete();
}, 1000);
return content;
},
onCopyComplete () {}
});
}
function $122263eab94cad08$export$2e2bcd8739ae039() {
return $122263eab94cad08$export$c6684e6159b21de3({});
}


var $69e9934f1d83bbc4$exports = {};
var $cbd28b10fa9798c7$exports = {};

$parcel$defineInteropFlag($cbd28b10fa9798c7$exports);
Expand Down Expand Up @@ -11414,6 +11362,59 @@ function $cbd28b10fa9798c7$export$2e2bcd8739ae039() {
}


var $99486586f6691564$exports = {};

$parcel$defineInteropFlag($99486586f6691564$exports);

$parcel$export($99486586f6691564$exports, "default", () => $99486586f6691564$export$2e2bcd8739ae039);
function $99486586f6691564$export$2e2bcd8739ae039() {
return {};
}


var $47a1c62621be0c54$exports = {};

$parcel$defineInteropFlag($47a1c62621be0c54$exports);

$parcel$export($47a1c62621be0c54$exports, "default", () => $47a1c62621be0c54$export$2e2bcd8739ae039);
var $122263eab94cad08$exports = {};

$parcel$defineInteropFlag($122263eab94cad08$exports);

$parcel$export($122263eab94cad08$exports, "initClipboard", () => $122263eab94cad08$export$c6684e6159b21de3);
$parcel$export($122263eab94cad08$exports, "default", () => $122263eab94cad08$export$2e2bcd8739ae039);

function $122263eab94cad08$export$c6684e6159b21de3(context = {}) {
let copyTimeout = null;
return Object.assign(context, {
copied: false,
async copyToClipboard (target = null) {
let targetEl;
if (this.$refs.copyTarget) targetEl = this.$refs.copyTarget;
else if (typeof target === "string") targetEl = document.querySelector(target);
if (!targetEl) {
this.warn("Could not find copy target");
return false;
}
const content = (0, $7ae6ae39c2ec9059$export$6cb344a21ca18aec)(targetEl.innerHTML.trim());
await window.navigator.clipboard.writeText(content);
this.copied = true;
if (copyTimeout) clearTimeout(copyTimeout);
copyTimeout = setTimeout(()=>{
this.copied = false;
this.onCopyComplete();
}, 1000);
return content;
},
onCopyComplete () {}
});
}
function $122263eab94cad08$export$2e2bcd8739ae039() {
return $122263eab94cad08$export$c6684e6159b21de3({});
}



function $47a1c62621be0c54$export$2e2bcd8739ae039() {
const button = (0, $cbd28b10fa9798c7$export$2e2bcd8739ae039)();
return {
Expand All @@ -11427,7 +11428,6 @@ function $47a1c62621be0c54$export$2e2bcd8739ae039() {
}



var $e398acaded942bbe$exports = {};

$parcel$defineInteropFlag($e398acaded942bbe$exports);
Expand Down Expand Up @@ -11523,50 +11523,6 @@ function $36506012e0c6e9e3$export$2e2bcd8739ae039(iconName) {
}


var $d92d9d5253f84566$exports = {};

$parcel$defineInteropFlag($d92d9d5253f84566$exports);

$parcel$export($d92d9d5253f84566$exports, "default", () => $d92d9d5253f84566$export$2e2bcd8739ae039);
function $d92d9d5253f84566$export$2e2bcd8739ae039(store) {
return {
empty: false,
children: [],
init () {
this.children = this.$refs.items ? Array.from(this.$refs.items.children) : [];
},
isOpen (id) {
return store.open.includes(id);
},
setOpen (id) {
store.open.push(id);
},
setClosed (id) {
const index = store.open.indexOf(id);
if (index > -1) store.open.splice(index, 1);
},
closeAll () {
store.open.length = 0;
},
toggleOpen (id) {
this.isOpen(id) ? this.setClosed(id) : this.setOpen(id);
},
async filter (text) {
this.debug(`Filter text: ${text}`);
await this.$nextTick();
const filteredStates = await Promise.all(this.children.map(async (child)=>{
const data = Alpine.$data(child);
await data.filter(text);
return data.filteredOut;
}));
const matchedChildCount = filteredStates.filter((s)=>!s).length;
this.empty = matchedChildCount === 0;
this.debug(`Children matching filter: ${matchedChildCount}/${this.children.length}`);
}
};
}


var $506dabb2bf255b38$exports = {};

$parcel$defineInteropFlag($506dabb2bf255b38$exports);
Expand Down Expand Up @@ -12144,6 +12100,50 @@ function $a87dacf5139b5e2f$export$2e2bcd8739ae039(store) {
}


var $d92d9d5253f84566$exports = {};

$parcel$defineInteropFlag($d92d9d5253f84566$exports);

$parcel$export($d92d9d5253f84566$exports, "default", () => $d92d9d5253f84566$export$2e2bcd8739ae039);
function $d92d9d5253f84566$export$2e2bcd8739ae039(store) {
return {
empty: false,
children: [],
init () {
this.children = this.$refs.items ? Array.from(this.$refs.items.children) : [];
},
isOpen (id) {
return store.open.includes(id);
},
setOpen (id) {
store.open.push(id);
},
setClosed (id) {
const index = store.open.indexOf(id);
if (index > -1) store.open.splice(index, 1);
},
closeAll () {
store.open.length = 0;
},
toggleOpen (id) {
this.isOpen(id) ? this.setClosed(id) : this.setOpen(id);
},
async filter (text) {
this.debug(`Filter text: ${text}`);
await this.$nextTick();
const filteredStates = await Promise.all(this.children.map(async (child)=>{
const data = Alpine.$data(child);
await data.filter(text);
return data.filteredOut;
}));
const matchedChildCount = filteredStates.filter((s)=>!s).length;
this.empty = matchedChildCount === 0;
this.debug(`Children matching filter: ${matchedChildCount}/${this.children.length}`);
}
};
}


var $0db07828cadc68e0$exports = {};

$parcel$defineInteropFlag($0db07828cadc68e0$exports);
Expand Down Expand Up @@ -12364,17 +12364,17 @@ function $6d64716f0b34fdf4$export$2e2bcd8739ae039(store) {
}


$073a57739c7e41e2$exports = {
$69e9934f1d83bbc4$exports = {
"button": $cbd28b10fa9798c7$exports,
"code": $99486586f6691564$exports,
"copy_button": $47a1c62621be0c54$exports,
"button": $cbd28b10fa9798c7$exports,
"dimensions_display": $e398acaded942bbe$exports,
"embed_code_dropdown": $216ef7001f59f21d$exports,
"filter": $e9904a14dabf652d$exports,
"icon": $36506012e0c6e9e3$exports,
"nav": $d92d9d5253f84566$exports,
"split_layout": $506dabb2bf255b38$exports,
"tab_panels": $a87dacf5139b5e2f$exports,
"nav": $d92d9d5253f84566$exports,
"tabs": $0db07828cadc68e0$exports,
"viewport": $6d64716f0b34fdf4$exports
};
Expand Down Expand Up @@ -13549,7 +13549,7 @@ const $939f2ad3cd685486$var$prefix = window.APP_NAME;
// Components
(0, $caa9439642c6336c$export$2e2bcd8739ae039).data("app", (0, $d709d0f4027033b2$export$2e2bcd8739ae039));
[
$073a57739c7e41e2$exports,
$69e9934f1d83bbc4$exports,
$f3e1e32f4a1bd6da$exports,
$6c10158820e535ef$exports
].forEach((scripts)=>{
Expand Down
2 changes: 1 addition & 1 deletion public/lookbook-assets/js/index.js.map

Large diffs are not rendered by default.

0 comments on commit fc08506

Please sign in to comment.