Skip to content

Commit

Permalink
chore(v2) release 2.0.0-rc.3
Browse files Browse the repository at this point in the history
  • Loading branch information
allmarkedup committed Apr 27, 2023
1 parent 1ebdd07 commit f131a26
Show file tree
Hide file tree
Showing 7 changed files with 94 additions and 94 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
lookbook (2.0.0.rc.2)
lookbook (2.0.0.rc.3)
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.rc.2",
"version": "2.0.0.rc.3",
"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.rc.2"
VERSION = "2.0.0.rc.3"
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-rc.2",
"version": "2.0.0-rc.3",
"description": "A native development UI for ViewComponent",
"targets": {
"app": {
Expand Down
174 changes: 87 additions & 87 deletions public/lookbook-assets/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7815,49 +7815,7 @@ function $12b7aa006b8a97e1$var$toCamel(s) {
}


var $57df4ec1d6bb80f5$exports = {};
var $47a1c62621be0c54$exports = {};

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

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

$parcel$defineInteropFlag($4e31c85e11272811$exports);

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

function $4e31c85e11272811$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, $fb8f79f7dd40b68f$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 $4e31c85e11272811$export$2e2bcd8739ae039() {
return $4e31c85e11272811$export$c6684e6159b21de3({});
}


var $52abf2efa3492135$exports = {};
var $cbd28b10fa9798c7$exports = {};

$parcel$defineInteropFlag($cbd28b10fa9798c7$exports);
Expand Down Expand Up @@ -11388,6 +11346,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 $4e31c85e11272811$exports = {};

$parcel$defineInteropFlag($4e31c85e11272811$exports);

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

function $4e31c85e11272811$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, $fb8f79f7dd40b68f$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 $4e31c85e11272811$export$2e2bcd8739ae039() {
return $4e31c85e11272811$export$c6684e6159b21de3({});
}



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



var $99486586f6691564$exports = {};

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

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


var $e398acaded942bbe$exports = {};

$parcel$defineInteropFlag($e398acaded942bbe$exports);
Expand Down Expand Up @@ -12336,10 +12336,10 @@ function $6d64716f0b34fdf4$export$2e2bcd8739ae039(store) {
}


$57df4ec1d6bb80f5$exports = {
"copy_button": $47a1c62621be0c54$exports,
$52abf2efa3492135$exports = {
"button": $cbd28b10fa9798c7$exports,
"code": $99486586f6691564$exports,
"copy_button": $47a1c62621be0c54$exports,
"dimensions_display": $e398acaded942bbe$exports,
"embed_code_dropdown": $216ef7001f59f21d$exports,
"filter": $e9904a14dabf652d$exports,
Expand All @@ -12351,7 +12351,7 @@ $57df4ec1d6bb80f5$exports = {
};


var $3b154185c6273749$exports = {};
var $f3e1e32f4a1bd6da$exports = {};
var $6a9b69d9cc7f810f$exports = {};

$parcel$defineInteropFlag($6a9b69d9cc7f810f$exports);
Expand Down Expand Up @@ -12379,12 +12379,12 @@ var $cdfeaa1e0e8d642c$exports = {};
}
};
/* eslint-enable no-var */ /* eslint-disable no-var */ function init(converter, defaultAttributes) {
function set(key, value, attributes) {
function set(name, value, attributes) {
if (typeof document === "undefined") return;
attributes = assign({}, defaultAttributes, attributes);
if (typeof attributes.expires === "number") attributes.expires = new Date(Date.now() + attributes.expires * 864e5);
if (attributes.expires) attributes.expires = attributes.expires.toUTCString();
key = encodeURIComponent(key).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
name = encodeURIComponent(name).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
var stringifiedAttributes = "";
for(var attributeName in attributes){
if (!attributes[attributeName]) continue;
Expand All @@ -12399,10 +12399,10 @@ var $cdfeaa1e0e8d642c$exports = {};
// ...
stringifiedAttributes += "=" + attributes[attributeName].split(";")[0];
}
return document.cookie = key + "=" + converter.write(value, key) + stringifiedAttributes;
return document.cookie = name + "=" + converter.write(value, name) + stringifiedAttributes;
}
function get(key) {
if (typeof document === "undefined" || arguments.length && !key) return;
function get(name) {
if (typeof document === "undefined" || arguments.length && !name) return;
// To prevent the for loop in the first place assign an empty array
// in case there are no cookies at all.
var cookies = document.cookie ? document.cookie.split("; ") : [];
Expand All @@ -12411,18 +12411,18 @@ var $cdfeaa1e0e8d642c$exports = {};
var parts = cookies[i].split("=");
var value = parts.slice(1).join("=");
try {
var foundKey = decodeURIComponent(parts[0]);
jar[foundKey] = converter.read(value, foundKey);
if (key === foundKey) break;
var found = decodeURIComponent(parts[0]);
jar[found] = converter.read(value, found);
if (name === found) break;
} catch (e) {}
}
return key ? jar[key] : jar;
return name ? jar[name] : jar;
}
return Object.create({
set: set,
get: get,
remove: function(key, attributes) {
set(key, "", assign({}, attributes, {
remove: function(name, attributes) {
set(name, "", assign({}, attributes, {
expires: -1
}));
},
Expand Down Expand Up @@ -13409,20 +13409,6 @@ function $9b24cbeb3a465447$export$2e2bcd8739ae039({ id: id , matchers: matchers
}


var $e773f8ef556b41ff$exports = {};

$parcel$defineInteropFlag($e773f8ef556b41ff$exports);

$parcel$export($e773f8ef556b41ff$exports, "default", () => $e773f8ef556b41ff$export$2e2bcd8739ae039);
function $e773f8ef556b41ff$export$2e2bcd8739ae039() {
return {
get isNarrowLayout () {
return this.narrow || false;
}
};
}


var $1a7a7298eec5b755$exports = {};

$parcel$defineInteropFlag($1a7a7298eec5b755$exports);
Expand All @@ -13441,7 +13427,21 @@ function $1a7a7298eec5b755$export$2e2bcd8739ae039() {
}


$3b154185c6273749$exports = {
var $e773f8ef556b41ff$exports = {};

$parcel$defineInteropFlag($e773f8ef556b41ff$exports);

$parcel$export($e773f8ef556b41ff$exports, "default", () => $e773f8ef556b41ff$export$2e2bcd8739ae039);
function $e773f8ef556b41ff$export$2e2bcd8739ae039() {
return {
get isNarrowLayout () {
return this.narrow || false;
}
};
}


$f3e1e32f4a1bd6da$exports = {
"display_options": {
"field": $6a9b69d9cc7f810f$exports
},
Expand All @@ -13452,8 +13452,8 @@ $3b154185c6273749$exports = {
"item": $9b24cbeb3a465447$exports
},
"params": {
"field": $e773f8ef556b41ff$exports,
"editor": $1a7a7298eec5b755$exports
"editor": $1a7a7298eec5b755$exports,
"field": $e773f8ef556b41ff$exports
}
};

Expand Down Expand Up @@ -13521,8 +13521,8 @@ const $22969b543678f572$var$prefix = window.APP_NAME;
// Components
(0, $caa9439642c6336c$export$2e2bcd8739ae039).data("app", (0, $5792afa4170ed552$export$2e2bcd8739ae039));
[
$57df4ec1d6bb80f5$exports,
$3b154185c6273749$exports,
$52abf2efa3492135$exports,
$f3e1e32f4a1bd6da$exports,
$338da9a25bc5c332$exports
].forEach((scripts)=>{
const components = (0, $12b7aa006b8a97e1$export$4e811121b221213b)(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 f131a26

Please sign in to comment.