lookbook 0.9.6 → 0.9.7

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07ac7a807c773f61e8cdd20c1e15555942c353b4df72ad5c3ddc508ac6fcb2b3
4
- data.tar.gz: 0f79a3eed3f148cef2443b881a3ec1adab876b1f916d665cf83e0aa6783505a9
3
+ metadata.gz: 5e37b94615d684a28d33c6e058e62511007997df7ac6fc834a524e87aac05180
4
+ data.tar.gz: 81888f9888ada74bef21cc7f9ff37842e568789d9892aafd17e6c95b131e70f8
5
5
  SHA512:
6
- metadata.gz: 8937407314598d4a04510a5e2b1d905b42664a183480de571410b7655643a4e13806f11300e9cc84679c161404d4054063712f8cbd718463c627dfe8599dca0b
7
- data.tar.gz: 20a00588effcfa3ea55c10d1d8c45fcd1e496dc6632d6d8ab5274fe35a6d74e035a0024c851a936384c68379635a91a138139ae98e79cf63df6cd28650956073
6
+ metadata.gz: b70b963ad24e380ca914a28bb7456a490ac8ad1de6cc87fe8afda2cfc48f7219cc73a864e74dfab05795f3ee16c0b935a1f283f76e4b7fc809400845eb695e40
7
+ data.tar.gz: b3c4da6fe93b94bdd2c7b58d1a9d21451e4e12ebdbe550b529203859518bf50a77edc80c7284e2d6de35bde22b6fef77bff9993c644662c59d7f489340f75526
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <div align="center">
2
- <h1>👀 Lookbook 👀</h1>
2
+ <h1>Lookbook</h1>
3
3
 
4
4
  <p>A native development UI for <a href="http://viewcomponent.org/">ViewComponent</a></p>
5
5
 
@@ -13,7 +13,9 @@
13
13
  ---
14
14
 
15
15
  <div align="center">
16
- <a href="#installing">Installing</a> • <a href="#previews">Previews</a> • <a href="#pages">Pages</a> • <a href="#deployment">Deployment</a> • <a href="#config">Config</a>
16
+
17
+ <p><a href="#installing">Installing</a> • <a href="#previews">Previews</a> • <a href="#pages">Pages</a> • <a href="#deployment">Deployment</a> • <a href="#config">Config</a></p>
18
+ <p><a href="#beta-info">🚨 Lookbook v1.0 (beta) - testers wanted! 🚨</a></p>
17
19
  </div>
18
20
 
19
21
  ---
@@ -26,16 +28,32 @@ Lookbook uses [RDoc/Yard-style comment tags](#annotating-preview-files) to exten
26
28
 
27
29
  ![Lookbook UI](.github/assets/lookbook_screenshot.png)
28
30
 
29
- ### Features
30
31
 
31
- - Tree-style navigation menu with live search/filter
32
- - Resizable preview window for responsive testing
33
- - Highlighted preview source code and HTML output
34
- - Auto-updating UI when component or preview files are updated _(Rails v6.0+ only)_
35
- - Use comment tag annotations for granular customisation of the preview experience
36
- - Fully compatible with standard the ViewComponent preview system
37
- - In-browser live-editable preview parameters (similar to basic Storybook Controls/Knobs)
38
- - [**Experimental**] Markdown-powerered documentation pages with embeddable previews
32
+ <h2 id="beta-info">🚨 Lookbook v1.0 (beta)</h3>
33
+
34
+ The Lookbook v1.0 release is coming soon with a bunch of new features and under-the hood improvements.
35
+
36
+ ### Testing out the beta
37
+
38
+ If you are already using Lookbook in your project, just update the Lookbook gem to the latest beta release and then head over to the [beta documentation site](https://beta.lookbook.build/) to read more about the new features.
39
+
40
+ ```ruby
41
+ gem "lookbook", ">= 1.0.0.beta.7"
42
+ ```
43
+
44
+ If you are **new to Lookbook** then check out the <a href="https://beta.lookbook.build/guide/quick-start/">v1.0 quick start guide</a> for more detailed instructions on installing Lookbook in your project
45
+
46
+ > Please do <a href="https://github.com/allmarkedup/lookbook/issues">open an issue</a> or <a href="https://github.com/allmarkedup/lookbook/discussions">start a discussion</a> if you need any help with anything. Comments, feedback and suggestions are always appreciated!
47
+
48
+ <h4>Useful Resources</h4>
49
+
50
+ * 👉 <a href="https://lookbook-demo-app-v1-0-beta.herokuapp.com/lookbook">v1.0 demo app</a> <em>(The repo for the demo app <a href="https://github.com/allmarkedup/lookbook-demo/tree/v1.0-beta">is here</a> if you want to dig in further)</em>
51
+ * 👉 <a href="https://beta.lookbook.build/">v1.0 documentation site</a> _(work in progress!)_
52
+ * 👉 <a href="https://github.com/allmarkedup/lookbook/tree/v1.0-beta">v1.0-beta branch</a>
53
+
54
+ ---
55
+
56
+ **⚠️ Note: The rest of the documentation on this page is related to the current, stable `v0.9.x` branch.**
39
57
 
40
58
  ## Lookbook demo
41
59
 
@@ -1,5 +1,6 @@
1
1
  module Lookbook
2
2
  class ApplicationController < ActionController::Base
3
+ content_security_policy false, if: -> { Rails.env.development? }
3
4
  protect_from_forgery with: :exception
4
5
 
5
6
  helper Lookbook::ApplicationHelper
@@ -1,3 +1,3 @@
1
1
  module Lookbook
2
- VERSION = "0.9.6"
2
+ VERSION = "0.9.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lookbook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6
4
+ version: 0.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Perkins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-26 00:00:00.000000000 Z
11
+ date: 2022-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actioncable