Skip to content

Commit

Permalink
Merge pull request #3 from williamtroup/1.1.1
Browse files Browse the repository at this point in the history
1.1.1
  • Loading branch information
William Troup authored Jul 10, 2024
2 parents 310d72e + a20852c commit 02ddb29
Show file tree
Hide file tree
Showing 22 changed files with 183 additions and 172 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
Peek.js

[![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Peek.js%2C%20a%20free%20JavaScript%json%20converter&url=https://github.com/williamtroup/Peek.js&hashtags=javascript,element,property,viewer)
[![npm](https://img.shields.io/badge/npmjs-v1.1.0-blue)](https://www.npmjs.com/package/jpeek.js)
[![nuget](https://img.shields.io/badge/nuget-v1.1.0-purple)](https://www.nuget.org/packages/Peek.js/)
[![npm](https://img.shields.io/badge/npmjs-v1.1.1-blue)](https://www.npmjs.com/package/jpeek.js)
[![nuget](https://img.shields.io/badge/nuget-v1.1.1-purple)](https://www.nuget.org/packages/Peek.js/)
[![license](https://img.shields.io/badge/license-MIT-green)](https://github.com/williamtroup/Peek.js/blob/main/LICENSE.txt)
[![discussions Welcome](https://img.shields.io/badge/discussions-Welcome-red)](https://github.com/williamtroup/Peek.js/discussions)
[![coded by William Troup](https://img.shields.io/badge/coded_by-William_Troup-yellow)](https://william-troup.com/)
</h1>

> <p align="center">🐛 A lightweight JavaScript library that attaches a viewer to a specific node type, allowing you to view the CSS properties, attributes, and size/position.</p>
> <p align="center">v1.1.0</p>
> <p align="center">v1.1.1</p>
<br />
![Peek.js - CSS Mode](docs/images/css-mode.png)
Expand Down Expand Up @@ -59,8 +59,8 @@ npm install jpeek.js
You can also use the following CDN links:

```markdown
https://cdn.jsdelivr.net/gh/williamtroup/[email protected].0/dist/peek.min.js
https://cdn.jsdelivr.net/gh/williamtroup/[email protected].0/dist/peek.js.min.css
https://cdn.jsdelivr.net/gh/williamtroup/[email protected].1/dist/peek.min.js
https://cdn.jsdelivr.net/gh/williamtroup/[email protected].1/dist/peek.js.min.css
```
<br>
<br>
Expand Down
10 changes: 5 additions & 5 deletions README_NUGET.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Peek.js v1.1.0
# Peek.js v1.1.1

[![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Peek.js%2C%20a%20free%20JavaScript%json%20converter&url=https://github.com/williamtroup/Peek.js&hashtags=javascript,element,property,viewer)
[![npm](https://img.shields.io/badge/npmjs-v1.1.0-blue)](https://www.npmjs.com/package/jpeek.js)
[![nuget](https://img.shields.io/badge/nuget-v1.1.0-purple)](https://www.nuget.org/packages/Peek.js/)
[![npm](https://img.shields.io/badge/npmjs-v1.1.1-blue)](https://www.npmjs.com/package/jpeek.js)
[![nuget](https://img.shields.io/badge/nuget-v1.1.1-purple)](https://www.nuget.org/packages/Peek.js/)
[![license](https://img.shields.io/badge/license-MIT-green)](https://github.com/williamtroup/Peek.js/blob/main/LICENSE.txt)
[![discussions Welcome](https://img.shields.io/badge/discussions-Welcome-red)](https://github.com/williamtroup/Peek.js/discussions)
[![coded by William Troup](https://img.shields.io/badge/coded_by-William_Troup-yellow)](https://william-troup.com/)
Expand Down Expand Up @@ -43,8 +43,8 @@ npm install jpeek.js
You can also use the following CDN links:

```markdown
https://cdn.jsdelivr.net/gh/williamtroup/[email protected].0/dist/peek.min.js
https://cdn.jsdelivr.net/gh/williamtroup/[email protected].0/dist/peek.js.min.css
https://cdn.jsdelivr.net/gh/williamtroup/[email protected].1/dist/peek.min.js
https://cdn.jsdelivr.net/gh/williamtroup/[email protected].1/dist/peek.js.min.css
```


Expand Down
8 changes: 6 additions & 2 deletions dist/peek.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,11 @@ var o;
}
function A(e, t, n, o) {
if (e.code === "Enter") {
o.style.setProperty(t, n.value);
if (a.mode === 1) {
o.style.setProperty(t, n.value);
} else if (a.mode === 2) {
o.setAttribute(t, n.value);
}
}
}
function S() {
Expand Down Expand Up @@ -367,7 +371,7 @@ var o;
return L;
},
getVersion: function() {
return "1.1.0";
return "1.1.1";
}
};
(() => {
Expand Down
2 changes: 1 addition & 1 deletion dist/peek.esm.js.map

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions dist/peek.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,11 @@ var o;
}
function A(e, t, n, o) {
if (e.code === "Enter") {
o.style.setProperty(t, n.value);
if (a.mode === 1) {
o.style.setProperty(t, n.value);
} else if (a.mode === 2) {
o.setAttribute(t, n.value);
}
}
}
function S() {
Expand Down Expand Up @@ -369,7 +373,7 @@ var o;
return L;
},
getVersion: function() {
return "1.1.0";
return "1.1.1";
}
};
(() => {
Expand Down
2 changes: 1 addition & 1 deletion dist/peek.js.css

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

2 changes: 1 addition & 1 deletion dist/peek.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/peek.min.js

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

8 changes: 8 additions & 0 deletions docs/CHANGE_LOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Peek.js - Change Log:

## Version 1.1.1:
- Updated NPM packages to the latest versions.
- Fixed a fault that caused attribute values to assign their values to CSS properties when "allowEditing" is enabled.

<br>


## Version 1.1.0:
- Added a new binding option called "showOnly" (excepts a string, or string array), which states the properties that should be shown in the dialog.
- Added a new binding option called "allowEditing" (defaults to false), which allows CSS and Attribute values to be entered (simply type and press Enter).
Expand All @@ -8,5 +15,6 @@

<br>


## Version 1.0.0:
- Everything :)
Loading

0 comments on commit 02ddb29

Please sign in to comment.