playbook_ui 5.1.0.pre.alpha4 → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/clark.jpg +0 -0
- data/app/assets/images/giant.jpg +0 -0
- data/app/assets/images/pb-caret.svg +1 -0
- data/app/assets/images/pb-check.svg +11 -0
- data/app/assets/images/pb.logo.svg +28 -0
- data/app/controllers/playbook/application_controller.rb +13 -0
- data/app/controllers/playbook/guides_controller.rb +11 -0
- data/app/controllers/playbook/pages_controller.rb +79 -0
- data/app/controllers/playbook/samples_controller.rb +40 -0
- data/app/pb_kits/playbook/config/_kit_example.html.erb +9 -0
- data/app/pb_kits/playbook/config/_kit_samples_list.html.erb +3 -0
- data/app/pb_kits/playbook/config/_kit_ui.html.erb +40 -0
- data/app/pb_kits/playbook/config/_pb_kit_api.html.erb +18 -0
- data/app/pb_kits/playbook/data/menu.yml +93 -0
- data/app/pb_kits/playbook/index.js +0 -4
- data/app/pb_kits/playbook/packs/application.js +55 -0
- data/app/pb_kits/playbook/packs/examples.js +174 -0
- data/app/pb_kits/playbook/packs/main.scss +12 -0
- data/app/pb_kits/playbook/packs/samples.js +19 -0
- data/app/pb_kits/playbook/packs/site_styles/_samples.scss +72 -0
- data/app/pb_kits/playbook/packs/site_styles/_scaffold.scss +43 -0
- data/app/pb_kits/playbook/packs/site_styles/_site-style.scss +135 -0
- data/app/pb_kits/playbook/packs/site_styles/docs/_all.scss +9 -0
- data/app/pb_kits/playbook/packs/site_styles/docs/_code_snippet.scss +531 -0
- data/app/pb_kits/playbook/packs/site_styles/docs/_color_utilities.scss +92 -0
- data/app/pb_kits/playbook/packs/site_styles/docs/_flex_examples.scss +15 -0
- data/app/pb_kits/playbook/packs/site_styles/docs/_kit_doc.scss +190 -0
- data/app/pb_kits/playbook/packs/site_styles/docs/_kits_examples.scss +18 -0
- data/app/pb_kits/playbook/packs/site_styles/docs/_markdown.scss +82 -0
- data/app/pb_kits/playbook/packs/site_styles/docs/_spacing_tokens.scss +72 -0
- data/app/pb_kits/playbook/pb_filter/docs/_description.md +3 -0
- data/app/pb_kits/playbook/pb_filter/templates/_default.html.erb +1 -1
- data/app/pb_kits/playbook/pb_popover/_popover.html.erb +2 -2
- data/app/pb_kits/playbook/pb_popover/_popover.jsx +3 -3
- data/app/pb_kits/playbook/pb_popover/_popover.scss +25 -21
- data/app/pb_kits/playbook/pb_popover/index.js +6 -1
- data/app/pb_kits/playbook/pb_radio/_radio.scss +4 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.html.erb +1 -1
- data/app/views/layouts/playbook/_mobile_hamburger.html.erb +2 -0
- data/app/views/layouts/playbook/_nav.html.erb +13 -0
- data/app/views/layouts/playbook/_sidebar.html.erb +52 -0
- data/app/views/layouts/playbook/application.html.slim +22 -0
- data/app/views/layouts/playbook/fullscreen.html.slim +10 -0
- data/app/views/layouts/playbook/grid.html.slim +10 -0
- data/app/views/layouts/playbook/samples.html.erb +18 -0
- data/app/views/playbook/guides/create_kit.html.slim +16 -0
- data/app/views/playbook/guides/create_kit/_file_naming.html.md +2 -0
- data/app/views/playbook/guides/create_kit/_generator.html.md +6 -0
- data/app/views/playbook/guides/create_kit/_kit_examples.html.md +2 -0
- data/app/views/playbook/guides/create_kit/_kit_rails.html.md +2 -0
- data/app/views/playbook/guides/create_kit/_kit_react.html.md +2 -0
- data/app/views/playbook/guides/create_kit/_layout.html.md +2 -0
- data/app/views/playbook/guides/create_kit/_view_objects.html.md +2 -0
- data/app/views/playbook/guides/create_kit/_writing_sass.md +10 -0
- data/app/views/playbook/guides/use_nitro.html.slim +6 -0
- data/app/views/playbook/guides/use_nitro/_local.html.md +2 -0
- data/app/views/playbook/guides/use_nitro/_nitro_components.html.md +2 -0
- data/app/views/playbook/guides/use_nitro/_versions.html.md +2 -0
- data/app/views/playbook/pages/fullscreen.html.slim +10 -0
- data/app/views/playbook/pages/grid.html.slim +2 -0
- data/app/views/playbook/pages/home.html.slim +4 -0
- data/app/views/playbook/pages/kit_category_show.html.erb +14 -0
- data/app/views/playbook/pages/kit_show.html.erb +33 -0
- data/app/views/playbook/pages/kits.html.erb +12 -0
- data/app/views/playbook/pages/principals/_getting_started.html.md +30 -0
- data/app/views/playbook/pages/principles.html.slim +3 -0
- data/app/views/playbook/pages/tokens.html.slim +15 -0
- data/app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim +17 -0
- data/app/views/playbook/pages/utilities.html.slim +116 -0
- data/app/views/playbook/pages/utilities/_pb_doc_color.html.slim +15 -0
- data/app/views/playbook/samples/dashboards/index.html.erb +81 -0
- data/app/views/playbook/samples/dashboards/index.jsx +130 -0
- data/app/views/playbook/samples/filter_table/index.html.erb +348 -0
- data/app/views/playbook/samples/filter_table/index.jsx +433 -0
- data/app/views/playbook/samples/registration/index.html.erb +316 -0
- data/app/views/playbook/samples/registration/index.jsx +476 -0
- data/app/views/playbook/samples/sample_show.html.erb +36 -0
- data/lib/playbook/version.rb +1 -1
- data/lib/tasks/pb_release.rake +0 -3
- metadata +74 -7
- data/app/pb_kits/playbook/tokens/index.scss +0 -12
@@ -0,0 +1,36 @@
|
|
1
|
+
<div class="pb--kit-show sample-nav">
|
2
|
+
<div class="sample-actions">
|
3
|
+
<div class="items">
|
4
|
+
<a href="/">
|
5
|
+
<%= pb_rails("circle_icon_button", props: {variant: "primary", icon: "angle-left", dark: true}) %>
|
6
|
+
</a>
|
7
|
+
</div>
|
8
|
+
</div>
|
9
|
+
<div class="pb--kit-type-nav sample">
|
10
|
+
<%= pb_rails("nav", props: { orientation: "horizontal", classname: "code-controls"}) do %>
|
11
|
+
<%= pb_rails("nav/item", props: { text: "Rails", link: "#{sample_show_rails_path(@sample)}", active: action_name == 'sample_show_rails' }) %>
|
12
|
+
<%= pb_rails("nav/item", props: { text: "React", link: "#{sample_show_reacts_path(@sample)}", active: action_name == 'sample_show_react' }) %>
|
13
|
+
<% end %>
|
14
|
+
</div>
|
15
|
+
<div class="sample-actions-right">
|
16
|
+
<div class="items">
|
17
|
+
<%= pb_rails("circle_icon_button", props: { classname:"toggle-button", variant: "secondary", icon: "code", dark: true}) %>
|
18
|
+
</div>
|
19
|
+
<div class="items">
|
20
|
+
<%= pb_rails("circle_icon_button", props:{ classname: "expand", variant: "secondary", icon: "expand", dark: true}) %>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
<%= pb_rails("circle_icon_button", props:{ classname: "compress", variant: "link", icon: "compress"}) %>
|
25
|
+
|
26
|
+
<%= render_sample_ui(@sample, @type) %>
|
27
|
+
|
28
|
+
<div class="pb--kit-show">
|
29
|
+
<div class="pb--doc light_ui">
|
30
|
+
<div class="pb--codeCopy close" >
|
31
|
+
<a class="pb--close-toggle copy-clipboard" href="#">Copy to Clipboard</a>
|
32
|
+
<div class="hiddenCodeforCopy"><%= get_raw_code(@sample, @type) %></div>
|
33
|
+
<pre class="highlight"><%= get_sample_code_content(@sample, @type) %></pre>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
</div>
|
data/lib/playbook/version.rb
CHANGED
data/lib/tasks/pb_release.rake
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.1.0
|
4
|
+
version: 5.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-06-
|
12
|
+
date: 2020-06-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -381,6 +381,15 @@ extra_rdoc_files: []
|
|
381
381
|
files:
|
382
382
|
- README.md
|
383
383
|
- Rakefile
|
384
|
+
- app/assets/images/clark.jpg
|
385
|
+
- app/assets/images/giant.jpg
|
386
|
+
- app/assets/images/pb-caret.svg
|
387
|
+
- app/assets/images/pb-check.svg
|
388
|
+
- app/assets/images/pb.logo.svg
|
389
|
+
- app/controllers/playbook/application_controller.rb
|
390
|
+
- app/controllers/playbook/guides_controller.rb
|
391
|
+
- app/controllers/playbook/pages_controller.rb
|
392
|
+
- app/controllers/playbook/samples_controller.rb
|
384
393
|
- app/helpers/playbook/application_helper.rb
|
385
394
|
- app/helpers/playbook/layout_helper.rb
|
386
395
|
- app/helpers/playbook/pb_doc_helper.rb
|
@@ -388,7 +397,27 @@ files:
|
|
388
397
|
- app/helpers/playbook/pb_sample_helper.rb
|
389
398
|
- app/helpers/playbook/redcarpet_helper.rb
|
390
399
|
- app/pb_kits/playbook/_playbook.scss
|
400
|
+
- app/pb_kits/playbook/config/_kit_example.html.erb
|
401
|
+
- app/pb_kits/playbook/config/_kit_samples_list.html.erb
|
402
|
+
- app/pb_kits/playbook/config/_kit_ui.html.erb
|
403
|
+
- app/pb_kits/playbook/config/_pb_kit_api.html.erb
|
404
|
+
- app/pb_kits/playbook/data/menu.yml
|
391
405
|
- app/pb_kits/playbook/index.js
|
406
|
+
- app/pb_kits/playbook/packs/application.js
|
407
|
+
- app/pb_kits/playbook/packs/examples.js
|
408
|
+
- app/pb_kits/playbook/packs/main.scss
|
409
|
+
- app/pb_kits/playbook/packs/samples.js
|
410
|
+
- app/pb_kits/playbook/packs/site_styles/_samples.scss
|
411
|
+
- app/pb_kits/playbook/packs/site_styles/_scaffold.scss
|
412
|
+
- app/pb_kits/playbook/packs/site_styles/_site-style.scss
|
413
|
+
- app/pb_kits/playbook/packs/site_styles/docs/_all.scss
|
414
|
+
- app/pb_kits/playbook/packs/site_styles/docs/_code_snippet.scss
|
415
|
+
- app/pb_kits/playbook/packs/site_styles/docs/_color_utilities.scss
|
416
|
+
- app/pb_kits/playbook/packs/site_styles/docs/_flex_examples.scss
|
417
|
+
- app/pb_kits/playbook/packs/site_styles/docs/_kit_doc.scss
|
418
|
+
- app/pb_kits/playbook/packs/site_styles/docs/_kits_examples.scss
|
419
|
+
- app/pb_kits/playbook/packs/site_styles/docs/_markdown.scss
|
420
|
+
- app/pb_kits/playbook/packs/site_styles/docs/_spacing_tokens.scss
|
392
421
|
- app/pb_kits/playbook/pb_avatar/_avatar.html.erb
|
393
422
|
- app/pb_kits/playbook/pb_avatar/_avatar.jsx
|
394
423
|
- app/pb_kits/playbook/pb_avatar/_avatar.scss
|
@@ -720,6 +749,7 @@ files:
|
|
720
749
|
- app/pb_kits/playbook/pb_filter/_filter.html.erb
|
721
750
|
- app/pb_kits/playbook/pb_filter/_filter.jsx
|
722
751
|
- app/pb_kits/playbook/pb_filter/_filter.scss
|
752
|
+
- app/pb_kits/playbook/pb_filter/docs/_description.md
|
723
753
|
- app/pb_kits/playbook/pb_filter/docs/_filter_default.html.erb
|
724
754
|
- app/pb_kits/playbook/pb_filter/docs/_filter_default.jsx
|
725
755
|
- app/pb_kits/playbook/pb_filter/docs/_filter_no_background.html.erb
|
@@ -1689,7 +1719,6 @@ files:
|
|
1689
1719
|
- app/pb_kits/playbook/tokens/_spacing.scss
|
1690
1720
|
- app/pb_kits/playbook/tokens/_transition.scss
|
1691
1721
|
- app/pb_kits/playbook/tokens/_typography.scss
|
1692
|
-
- app/pb_kits/playbook/tokens/index.scss
|
1693
1722
|
- app/pb_kits/playbook/types.js
|
1694
1723
|
- app/pb_kits/playbook/utilities/_background_colors.scss
|
1695
1724
|
- app/pb_kits/playbook/utilities/_colors.scss
|
@@ -1698,6 +1727,45 @@ files:
|
|
1698
1727
|
- app/pb_kits/playbook/utilities/spacing.js
|
1699
1728
|
- app/pb_kits/playbook/utilities/text.js
|
1700
1729
|
- app/pb_kits/playbook/vendor.js
|
1730
|
+
- app/views/layouts/playbook/_mobile_hamburger.html.erb
|
1731
|
+
- app/views/layouts/playbook/_nav.html.erb
|
1732
|
+
- app/views/layouts/playbook/_sidebar.html.erb
|
1733
|
+
- app/views/layouts/playbook/application.html.slim
|
1734
|
+
- app/views/layouts/playbook/fullscreen.html.slim
|
1735
|
+
- app/views/layouts/playbook/grid.html.slim
|
1736
|
+
- app/views/layouts/playbook/samples.html.erb
|
1737
|
+
- app/views/playbook/guides/create_kit.html.slim
|
1738
|
+
- app/views/playbook/guides/create_kit/_file_naming.html.md
|
1739
|
+
- app/views/playbook/guides/create_kit/_generator.html.md
|
1740
|
+
- app/views/playbook/guides/create_kit/_kit_examples.html.md
|
1741
|
+
- app/views/playbook/guides/create_kit/_kit_rails.html.md
|
1742
|
+
- app/views/playbook/guides/create_kit/_kit_react.html.md
|
1743
|
+
- app/views/playbook/guides/create_kit/_layout.html.md
|
1744
|
+
- app/views/playbook/guides/create_kit/_view_objects.html.md
|
1745
|
+
- app/views/playbook/guides/create_kit/_writing_sass.md
|
1746
|
+
- app/views/playbook/guides/use_nitro.html.slim
|
1747
|
+
- app/views/playbook/guides/use_nitro/_local.html.md
|
1748
|
+
- app/views/playbook/guides/use_nitro/_nitro_components.html.md
|
1749
|
+
- app/views/playbook/guides/use_nitro/_versions.html.md
|
1750
|
+
- app/views/playbook/pages/fullscreen.html.slim
|
1751
|
+
- app/views/playbook/pages/grid.html.slim
|
1752
|
+
- app/views/playbook/pages/home.html.slim
|
1753
|
+
- app/views/playbook/pages/kit_category_show.html.erb
|
1754
|
+
- app/views/playbook/pages/kit_show.html.erb
|
1755
|
+
- app/views/playbook/pages/kits.html.erb
|
1756
|
+
- app/views/playbook/pages/principals/_getting_started.html.md
|
1757
|
+
- app/views/playbook/pages/principles.html.slim
|
1758
|
+
- app/views/playbook/pages/tokens.html.slim
|
1759
|
+
- app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim
|
1760
|
+
- app/views/playbook/pages/utilities.html.slim
|
1761
|
+
- app/views/playbook/pages/utilities/_pb_doc_color.html.slim
|
1762
|
+
- app/views/playbook/samples/dashboards/index.html.erb
|
1763
|
+
- app/views/playbook/samples/dashboards/index.jsx
|
1764
|
+
- app/views/playbook/samples/filter_table/index.html.erb
|
1765
|
+
- app/views/playbook/samples/filter_table/index.jsx
|
1766
|
+
- app/views/playbook/samples/registration/index.html.erb
|
1767
|
+
- app/views/playbook/samples/registration/index.jsx
|
1768
|
+
- app/views/playbook/samples/sample_show.html.erb
|
1701
1769
|
- fonts/fontawesome-min.js
|
1702
1770
|
- fonts/regular-min.js
|
1703
1771
|
- lib/generators/kit/USAGE
|
@@ -1732,12 +1800,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1732
1800
|
version: '0'
|
1733
1801
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1734
1802
|
requirements:
|
1735
|
-
- - "
|
1803
|
+
- - ">="
|
1736
1804
|
- !ruby/object:Gem::Version
|
1737
|
-
version:
|
1805
|
+
version: '0'
|
1738
1806
|
requirements: []
|
1739
|
-
|
1740
|
-
rubygems_version: 2.7.3
|
1807
|
+
rubygems_version: 3.1.4
|
1741
1808
|
signing_key:
|
1742
1809
|
specification_version: 4
|
1743
1810
|
summary: Playbook Design System
|
@@ -1,12 +0,0 @@
|
|
1
|
-
@import "animation-curves";
|
2
|
-
@import "border_radius";
|
3
|
-
@import "colors";
|
4
|
-
@import "fonts";
|
5
|
-
@import "line_height";
|
6
|
-
@import "opacity";
|
7
|
-
@import "positioning";
|
8
|
-
@import "screen_sizes";
|
9
|
-
@import "shadows";
|
10
|
-
@import "spacing";
|
11
|
-
@import "transition";
|
12
|
-
@import "typography";
|