backpack 0.4.0 → 0.4.2
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 +4 -4
- data/.gitlab-ci.yml +2 -2
- data/README.md +11 -1
- data/demo/.yarnrc.yml +4 -0
- data/demo/Gemfile.lock +2 -2
- data/demo/app/views/layouts/backpack.html.erb +2 -4
- data/demo/config/initializers/phlex.rb +9 -0
- data/demo/yarn.lock +1101 -1101
- data/lib/backpack/{components/concerns/classes.rb → classes.rb} +1 -1
- data/lib/backpack/cli.rb +39 -0
- data/lib/backpack/components/badge.rb +1 -1
- data/lib/backpack/components/base.rb +1 -1
- data/lib/backpack/components/breadcrumb.rb +2 -2
- data/lib/backpack/components/button.rb +1 -1
- data/lib/backpack/components/favicon.rb +1 -1
- data/lib/backpack/components/heading.rb +1 -1
- data/lib/backpack/components/icon.rb +1 -1
- data/lib/backpack/components/icon_button/icon_button.css +183 -0
- data/lib/backpack/components/icon_button/icon_button.js +1 -0
- data/lib/backpack/components/icon_button.rb +32 -0
- data/lib/backpack/components/icon_sprite.rb +1 -1
- data/lib/backpack/components/quotation.rb +1 -1
- data/lib/backpack/components/rich_text.rb +1 -1
- data/lib/backpack/components/skip_links.rb +1 -1
- data/lib/backpack/components.rb +2 -4
- data/lib/backpack/{components/concerns/identifier.rb → identifier.rb} +5 -1
- data/lib/backpack/version.rb +1 -1
- data/lib/backpack.rb +7 -4
- data/spec/cli/import_spec.rb +51 -0
- data/spec/components/badge_spec.rb +3 -3
- data/spec/components/breadcrumb_spec.rb +10 -4
- data/spec/components/button_spec.rb +7 -7
- data/spec/components/favicon_spec.rb +5 -3
- data/spec/components/heading_spec.rb +3 -3
- data/spec/components/icon_button_spec.rb +58 -0
- data/spec/components/icon_spec.rb +3 -3
- data/spec/components/icon_sprite_spec.rb +3 -3
- data/spec/components/previews/badge_preview/overview.html.erb +2 -2
- data/spec/components/previews/badge_preview.rb +3 -1
- data/spec/components/previews/breadcrumb_preview.rb +3 -1
- data/spec/components/previews/button_preview/overview.html.erb +3 -3
- data/spec/components/previews/button_preview.rb +2 -1
- data/spec/components/previews/heading_preview.rb +3 -1
- data/spec/components/previews/icon_button_preview/overview.html.erb +48 -0
- data/spec/components/previews/icon_button_preview.rb +14 -0
- data/spec/components/previews/icon_preview.rb +3 -1
- data/spec/components/previews/quotation_preview/overview.html.erb +2 -2
- data/spec/components/previews/quotation_preview.rb +3 -1
- data/spec/components/previews/rich_text_preview.rb +5 -1
- data/spec/components/previews/skip_links_preview.rb +3 -1
- data/spec/components/quotation_spec.rb +7 -5
- data/spec/components/rich_text_spec.rb +3 -3
- data/spec/components/skip_links_spec.rb +10 -5
- data/spec/spec_helper.rb +2 -1
- data/spec/support/cli_helpers.rb +5 -0
- data/spec/support/components.rb +8 -0
- data/{lib/backpack → spec/support}/spec_helpers.rb +1 -1
- metadata +70 -12
- data/spec/components/previews/backpack/preview.rb +0 -3
- /data/lib/backpack/{components/concerns/attributes.rb → attributes.rb} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
require 'spec_helper'
|
|
2
2
|
|
|
3
|
-
describe
|
|
3
|
+
describe Components::Icon, type: :component do
|
|
4
|
+
subject(:output) { render_fragment(component) }
|
|
5
|
+
|
|
4
6
|
let(:component) { described_class.new(key, **params) }
|
|
5
7
|
let(:key) { nil }
|
|
6
8
|
let(:params) { {} }
|
|
7
9
|
|
|
8
|
-
subject(:output) { render_fragment(component) }
|
|
9
|
-
|
|
10
10
|
context "with symbol key" do
|
|
11
11
|
let(:key) { :user }
|
|
12
12
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
require 'spec_helper'
|
|
2
2
|
|
|
3
|
-
describe
|
|
3
|
+
describe Components::IconSprite, type: :component do
|
|
4
|
+
subject(:output) { render_fragment(component) }
|
|
5
|
+
|
|
4
6
|
let(:component) { described_class.new(**params) }
|
|
5
7
|
let(:params) { {} }
|
|
6
8
|
|
|
7
|
-
subject(:output) { render_fragment(component) }
|
|
8
|
-
|
|
9
9
|
context "without Current" do
|
|
10
10
|
it "renders nothing" do
|
|
11
11
|
expect(output).to eq_html('')
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<%
|
|
2
|
-
props =
|
|
2
|
+
props = Components::Badge.literal_properties
|
|
3
3
|
%>
|
|
4
4
|
<table class="lookbook-table">
|
|
5
5
|
<thead>
|
|
@@ -24,7 +24,7 @@ props = Backpack::Components::Badge.literal_properties
|
|
|
24
24
|
<th><code><%= variant %></code></th>
|
|
25
25
|
<% props[:color].type.each do |color| %>
|
|
26
26
|
<% props[:size].type.each do |size| %>
|
|
27
|
-
<td><%= render
|
|
27
|
+
<td><%= render Components::Badge.new(variant:, size:, color:) { "Badge" } %></td>
|
|
28
28
|
<% end %>
|
|
29
29
|
<% end %>
|
|
30
30
|
</tr>
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
class BreadcrumbPreview <
|
|
1
|
+
class BreadcrumbPreview < Lookbook::Preview
|
|
2
|
+
include Components
|
|
3
|
+
|
|
2
4
|
# Markup and style based on [ARIA Breadcrumb Pattern Example](https://www.w3.org/WAI/ARIA/apg/patterns/breadcrumb/examples/breadcrumb/)
|
|
3
5
|
def default
|
|
4
6
|
Breadcrumb() do |c|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<%
|
|
2
|
-
props =
|
|
2
|
+
props = Components::Button.literal_properties
|
|
3
3
|
icon = "arrow-right"
|
|
4
4
|
%>
|
|
5
5
|
<table class="lookbook-table">
|
|
@@ -25,7 +25,7 @@ icon = "arrow-right"
|
|
|
25
25
|
<th><code><%= variant %></code></th>
|
|
26
26
|
<% props[:color].type.each do |color| %>
|
|
27
27
|
<% props[:size].type.each do |size| %>
|
|
28
|
-
<td><%= render
|
|
28
|
+
<td><%= render Components::Button.new(variant:, size:, color:, icon:) { "Button" } %></td>
|
|
29
29
|
<% end %>
|
|
30
30
|
<% end %>
|
|
31
31
|
</tr>
|
|
@@ -33,7 +33,7 @@ icon = "arrow-right"
|
|
|
33
33
|
<th><code><%= variant %></code>, <code>disabled</code></th>
|
|
34
34
|
<% props[:color].type.each do |color| %>
|
|
35
35
|
<% props[:size].type.each do |size| %>
|
|
36
|
-
<td><%= render
|
|
36
|
+
<td><%= render Components::Button.new(variant:, size:, color:, icon:, disabled: true) { "Button" } %></td>
|
|
37
37
|
<% end %>
|
|
38
38
|
<% end %>
|
|
39
39
|
</tr>
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<% props = Components::IconButton.literal_properties
|
|
2
|
+
icon = "user"
|
|
3
|
+
label = "User" %>
|
|
4
|
+
|
|
5
|
+
<table class="lookbook-table">
|
|
6
|
+
<thead>
|
|
7
|
+
<tr>
|
|
8
|
+
<th>Color</th>
|
|
9
|
+
<% props[:color].type.each do |color| %>
|
|
10
|
+
<th colspan="<%= props[:size].type.to_a.size %>">
|
|
11
|
+
<code><%= color || :default %></code>
|
|
12
|
+
</th>
|
|
13
|
+
<% end %>
|
|
14
|
+
</tr>
|
|
15
|
+
<tr>
|
|
16
|
+
<th>Size</th>
|
|
17
|
+
<% props[:color].type.each do %>
|
|
18
|
+
<% props[:size].type.each do |size| %>
|
|
19
|
+
<th><code><%= size %></code></th>
|
|
20
|
+
<% end %>
|
|
21
|
+
<% end %>
|
|
22
|
+
</tr>
|
|
23
|
+
</thead>
|
|
24
|
+
<tbody>
|
|
25
|
+
<% props[:variant].type.each do |variant| %>
|
|
26
|
+
<tr>
|
|
27
|
+
<th><code><%= variant %></code></th>
|
|
28
|
+
<% props[:color].type.each do |color| %>
|
|
29
|
+
<% props[:size].type.each do |size| %>
|
|
30
|
+
<td>
|
|
31
|
+
<%= render Components::IconButton.new(variant:, size:, color:, icon:, label:) %>
|
|
32
|
+
</td>
|
|
33
|
+
<% end %>
|
|
34
|
+
<% end %>
|
|
35
|
+
</tr>
|
|
36
|
+
<tr>
|
|
37
|
+
<th><code><%= variant %></code>, <code>disabled</code></th>
|
|
38
|
+
<% props[:color].type.each do |color| %>
|
|
39
|
+
<% props[:size].type.each do |size| %>
|
|
40
|
+
<td>
|
|
41
|
+
<%= render Components::IconButton.new(variant:, size:, color:, icon:, disabled: true, label:) %>
|
|
42
|
+
</td>
|
|
43
|
+
<% end %>
|
|
44
|
+
<% end %>
|
|
45
|
+
</tr>
|
|
46
|
+
<% end %>
|
|
47
|
+
</tbody>
|
|
48
|
+
</table>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
class IconButtonPreview < Lookbook::Preview
|
|
2
|
+
include Components
|
|
3
|
+
|
|
4
|
+
def overview; end
|
|
5
|
+
|
|
6
|
+
# @param size [Integer] range { min: 1, max: 3, step: 1 }
|
|
7
|
+
# @param variant [Symbol] select { choices: [solid, soft, surface, outline, ghost] }
|
|
8
|
+
# @param color [Symbol] select { choices: [~, green, orange, red] }
|
|
9
|
+
# @param icon [Symbol] select { choices: [arrow-right, user, close] }
|
|
10
|
+
# @param label
|
|
11
|
+
def playground(size: 2, variant: :solid, color: nil, label: "User", icon: :user)
|
|
12
|
+
IconButton(size:, variant:, color:, icon:, label:)
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<%
|
|
2
|
-
props =
|
|
2
|
+
props = Components::Quotation.literal_properties
|
|
3
3
|
%>
|
|
4
4
|
<table class="lookbook-table">
|
|
5
5
|
<thead>
|
|
@@ -15,7 +15,7 @@ props = Backpack::Components::Quotation.literal_properties
|
|
|
15
15
|
<tr>
|
|
16
16
|
<th><code><%= size %></code></th>
|
|
17
17
|
<% props[:weight].type.each do |weight| %>
|
|
18
|
-
<td><%= render
|
|
18
|
+
<td><%= render Components::Quotation.new(size:, weight:, cite: "Jan Tschichold") { "Perfect typography is certainly the most elusive of all arts. Sculpture in stone alone comes near it in obstinacy." } %></td>
|
|
19
19
|
<% end %>
|
|
20
20
|
</tr>
|
|
21
21
|
<% end %>
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
class RichTextPreview <
|
|
1
|
+
class RichTextPreview < Lookbook::Preview
|
|
2
|
+
include Components
|
|
3
|
+
|
|
2
4
|
# Content comes from [Chris Coyer's HTML Kitchen-sink](https://codepen.io/chriscoyier/pen/JpLzjd)
|
|
5
|
+
# rubocop:disable Rails/OutputSafety
|
|
3
6
|
def default
|
|
4
7
|
RichText() do
|
|
5
8
|
<<~HTML.html_safe
|
|
@@ -96,4 +99,5 @@ class RichTextPreview < Backpack::Preview
|
|
|
96
99
|
HTML
|
|
97
100
|
end
|
|
98
101
|
end
|
|
102
|
+
# rubocop:enable Rails/OutputSafety
|
|
99
103
|
end
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
require 'spec_helper'
|
|
2
2
|
|
|
3
|
-
describe
|
|
3
|
+
describe Components::Quotation, type: :component do
|
|
4
|
+
subject(:output) { render_fragment(component) }
|
|
5
|
+
|
|
4
6
|
let(:component) { described_class.new(**params) { html } }
|
|
5
7
|
let(:params) { {} }
|
|
6
8
|
let(:text) do
|
|
7
9
|
"Perfect typography is certainly the most elusive of all arts. Sculpture in stone alone comes near it in obstinacy."
|
|
8
10
|
end
|
|
9
11
|
let(:html) do
|
|
12
|
+
# rubocop:disable Rails/OutputSafety
|
|
10
13
|
"<p>#{text}</p>".html_safe
|
|
14
|
+
# rubocop:enable Rails/OutputSafety
|
|
11
15
|
end
|
|
12
16
|
|
|
13
|
-
subject(:output) { render_fragment(component) }
|
|
14
|
-
|
|
15
17
|
it "renders a blockquote element" do
|
|
16
18
|
expect(output).to have_css("blockquote.Quotation.Quotation-size-2",
|
|
17
19
|
text:)
|
|
@@ -22,8 +24,8 @@ describe Backpack::Components::Quotation, type: :component do
|
|
|
22
24
|
end
|
|
23
25
|
|
|
24
26
|
it "doesn't render a footer not a cite element" do
|
|
25
|
-
expect(output).
|
|
26
|
-
expect(output).
|
|
27
|
+
expect(output).not_to have_css("blockquote.Quotation footer")
|
|
28
|
+
expect(output).not_to have_css("blockquote.Quotation cite")
|
|
27
29
|
end
|
|
28
30
|
|
|
29
31
|
context "with a cite" do
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
require 'spec_helper'
|
|
2
2
|
|
|
3
|
-
describe
|
|
3
|
+
describe Components::RichText, type: :component do
|
|
4
|
+
subject(:output) { render_fragment(component) }
|
|
5
|
+
|
|
4
6
|
let(:component) { described_class.new(**params) { html } }
|
|
5
7
|
let(:params) { {} }
|
|
6
8
|
let(:html) { "<h1>Hello</h2> <p>World</p>".html_safe }
|
|
7
9
|
|
|
8
|
-
subject(:output) { render_fragment(component) }
|
|
9
|
-
|
|
10
10
|
it "wraps content in a div with the default class" do
|
|
11
11
|
expect(output).to have_css("div.RichText", text: "Hello World")
|
|
12
12
|
end
|
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
require 'spec_helper'
|
|
2
2
|
|
|
3
|
-
describe
|
|
3
|
+
RSpec.describe Components::SkipLinks, type: :component do
|
|
4
|
+
subject(:output) { render_fragment(component) }
|
|
5
|
+
|
|
4
6
|
let(:component) { described_class.new(**params) }
|
|
5
7
|
let(:params) { {} }
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
it "renders the skip links list" do
|
|
10
|
-
expect(output).to have_css("ul.SkipLinks")
|
|
9
|
+
it "renders 2 items" do
|
|
11
10
|
expect(output).to have_css("ul.SkipLinks > li", count: 2)
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
it "renders the first link" do
|
|
12
14
|
expect(output).to have_css(
|
|
13
15
|
"ul.SkipLinks > li:nth-child(1) > a[href='#content']",
|
|
14
16
|
text: "Aller au contenu"
|
|
15
17
|
)
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
it "renders the second link" do
|
|
16
21
|
expect(output).to have_css(
|
|
17
22
|
"ul.SkipLinks > li:nth-child(2) > a[href='#navigation']",
|
|
18
23
|
text: "Aller à la navigation"
|
data/spec/spec_helper.rb
CHANGED
|
@@ -13,7 +13,8 @@ RSpec.configure do |config|
|
|
|
13
13
|
c.syntax = :expect
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
-
config.include
|
|
16
|
+
config.include CLIHelpers, type: :cli
|
|
17
|
+
config.include ComponentSpecHelpers, type: :component
|
|
17
18
|
config.include Capybara::RSpecMatchers, type: :component
|
|
18
19
|
config.include RSpecHtmlMatchers, type: :component
|
|
19
20
|
config.include ComponentMatchers, type: :component
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: backpack
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lucas Heymès
|
|
@@ -68,19 +68,33 @@ dependencies:
|
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
69
|
version: '0'
|
|
70
70
|
- !ruby/object:Gem::Dependency
|
|
71
|
-
name:
|
|
71
|
+
name: thor
|
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
|
73
73
|
requirements:
|
|
74
|
-
- - "
|
|
74
|
+
- - ">="
|
|
75
75
|
- !ruby/object:Gem::Version
|
|
76
|
-
version: '
|
|
76
|
+
version: '0'
|
|
77
77
|
type: :runtime
|
|
78
78
|
prerelease: false
|
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
|
80
80
|
requirements:
|
|
81
|
-
- - "
|
|
81
|
+
- - ">="
|
|
82
|
+
- !ruby/object:Gem::Version
|
|
83
|
+
version: '0'
|
|
84
|
+
- !ruby/object:Gem::Dependency
|
|
85
|
+
name: rspec
|
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
|
87
|
+
requirements:
|
|
88
|
+
- - ">="
|
|
82
89
|
- !ruby/object:Gem::Version
|
|
83
|
-
version: '
|
|
90
|
+
version: '0'
|
|
91
|
+
type: :development
|
|
92
|
+
prerelease: false
|
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
94
|
+
requirements:
|
|
95
|
+
- - ">="
|
|
96
|
+
- !ruby/object:Gem::Version
|
|
97
|
+
version: '0'
|
|
84
98
|
email:
|
|
85
99
|
- team@etamin.studio
|
|
86
100
|
executables: []
|
|
@@ -561,6 +575,7 @@ files:
|
|
|
561
575
|
- demo/config/initializers/content_security_policy.rb
|
|
562
576
|
- demo/config/initializers/filter_parameter_logging.rb
|
|
563
577
|
- demo/config/initializers/inflections.rb
|
|
578
|
+
- demo/config/initializers/phlex.rb
|
|
564
579
|
- demo/config/locales/en.yml
|
|
565
580
|
- demo/config/puma.rb
|
|
566
581
|
- demo/config/routes.rb
|
|
@@ -584,6 +599,9 @@ files:
|
|
|
584
599
|
- docs/tokens-and-utilities.md.erb
|
|
585
600
|
- figma/Backpack.json
|
|
586
601
|
- lib/backpack.rb
|
|
602
|
+
- lib/backpack/attributes.rb
|
|
603
|
+
- lib/backpack/classes.rb
|
|
604
|
+
- lib/backpack/cli.rb
|
|
587
605
|
- lib/backpack/components.rb
|
|
588
606
|
- lib/backpack/components/badge.rb
|
|
589
607
|
- lib/backpack/components/badge/badge.css
|
|
@@ -595,9 +613,6 @@ files:
|
|
|
595
613
|
- lib/backpack/components/button.rb
|
|
596
614
|
- lib/backpack/components/button/button.css
|
|
597
615
|
- lib/backpack/components/button/button.js
|
|
598
|
-
- lib/backpack/components/concerns/attributes.rb
|
|
599
|
-
- lib/backpack/components/concerns/classes.rb
|
|
600
|
-
- lib/backpack/components/concerns/identifier.rb
|
|
601
616
|
- lib/backpack/components/favicon.rb
|
|
602
617
|
- lib/backpack/components/heading.rb
|
|
603
618
|
- lib/backpack/components/heading/heading.css
|
|
@@ -605,6 +620,9 @@ files:
|
|
|
605
620
|
- lib/backpack/components/icon.rb
|
|
606
621
|
- lib/backpack/components/icon/icon.css
|
|
607
622
|
- lib/backpack/components/icon/icon.js
|
|
623
|
+
- lib/backpack/components/icon_button.rb
|
|
624
|
+
- lib/backpack/components/icon_button/icon_button.css
|
|
625
|
+
- lib/backpack/components/icon_button/icon_button.js
|
|
608
626
|
- lib/backpack/components/icon_sprite.rb
|
|
609
627
|
- lib/backpack/components/quotation.rb
|
|
610
628
|
- lib/backpack/components/quotation/quotation.css
|
|
@@ -615,7 +633,7 @@ files:
|
|
|
615
633
|
- lib/backpack/components/skip_links.rb
|
|
616
634
|
- lib/backpack/components/skip_links/skip_links.css
|
|
617
635
|
- lib/backpack/components/skip_links/skip_links.js
|
|
618
|
-
- lib/backpack/
|
|
636
|
+
- lib/backpack/identifier.rb
|
|
619
637
|
- lib/backpack/stylesheets/application.css
|
|
620
638
|
- lib/backpack/stylesheets/base/_base.css
|
|
621
639
|
- lib/backpack/stylesheets/tokens/_colors.css
|
|
@@ -628,20 +646,23 @@ files:
|
|
|
628
646
|
- lib/backpack/stylesheets/utilities/_sr-only.css
|
|
629
647
|
- lib/backpack/tokens.rb
|
|
630
648
|
- lib/backpack/version.rb
|
|
649
|
+
- spec/cli/import_spec.rb
|
|
631
650
|
- spec/components/badge_spec.rb
|
|
632
651
|
- spec/components/breadcrumb_spec.rb
|
|
633
652
|
- spec/components/button_spec.rb
|
|
634
653
|
- spec/components/favicon_spec.rb
|
|
635
654
|
- spec/components/heading_spec.rb
|
|
655
|
+
- spec/components/icon_button_spec.rb
|
|
636
656
|
- spec/components/icon_spec.rb
|
|
637
657
|
- spec/components/icon_sprite_spec.rb
|
|
638
|
-
- spec/components/previews/backpack/preview.rb
|
|
639
658
|
- spec/components/previews/badge_preview.rb
|
|
640
659
|
- spec/components/previews/badge_preview/overview.html.erb
|
|
641
660
|
- spec/components/previews/breadcrumb_preview.rb
|
|
642
661
|
- spec/components/previews/button_preview.rb
|
|
643
662
|
- spec/components/previews/button_preview/overview.html.erb
|
|
644
663
|
- spec/components/previews/heading_preview.rb
|
|
664
|
+
- spec/components/previews/icon_button_preview.rb
|
|
665
|
+
- spec/components/previews/icon_button_preview/overview.html.erb
|
|
645
666
|
- spec/components/previews/icon_preview.rb
|
|
646
667
|
- spec/components/previews/quotation_preview.rb
|
|
647
668
|
- spec/components/previews/quotation_preview/overview.html.erb
|
|
@@ -654,8 +675,11 @@ files:
|
|
|
654
675
|
- spec/fixtures/icons/close.svg
|
|
655
676
|
- spec/fixtures/icons/user.svg
|
|
656
677
|
- spec/spec_helper.rb
|
|
678
|
+
- spec/support/cli_helpers.rb
|
|
679
|
+
- spec/support/components.rb
|
|
657
680
|
- spec/support/matchers/eq_html.rb
|
|
658
681
|
- spec/support/matchers/include_html.rb
|
|
682
|
+
- spec/support/spec_helpers.rb
|
|
659
683
|
- vendor/normalize.css
|
|
660
684
|
homepage: https://etamin.studio
|
|
661
685
|
licenses: []
|
|
@@ -678,4 +702,38 @@ requirements: []
|
|
|
678
702
|
rubygems_version: 3.7.2
|
|
679
703
|
specification_version: 4
|
|
680
704
|
summary: When you go on a trek, don't forget your backpack.
|
|
681
|
-
test_files:
|
|
705
|
+
test_files:
|
|
706
|
+
- spec/cli/import_spec.rb
|
|
707
|
+
- spec/components/badge_spec.rb
|
|
708
|
+
- spec/components/breadcrumb_spec.rb
|
|
709
|
+
- spec/components/button_spec.rb
|
|
710
|
+
- spec/components/favicon_spec.rb
|
|
711
|
+
- spec/components/heading_spec.rb
|
|
712
|
+
- spec/components/icon_button_spec.rb
|
|
713
|
+
- spec/components/icon_spec.rb
|
|
714
|
+
- spec/components/icon_sprite_spec.rb
|
|
715
|
+
- spec/components/previews/badge_preview.rb
|
|
716
|
+
- spec/components/previews/badge_preview/overview.html.erb
|
|
717
|
+
- spec/components/previews/breadcrumb_preview.rb
|
|
718
|
+
- spec/components/previews/button_preview.rb
|
|
719
|
+
- spec/components/previews/button_preview/overview.html.erb
|
|
720
|
+
- spec/components/previews/heading_preview.rb
|
|
721
|
+
- spec/components/previews/icon_button_preview.rb
|
|
722
|
+
- spec/components/previews/icon_button_preview/overview.html.erb
|
|
723
|
+
- spec/components/previews/icon_preview.rb
|
|
724
|
+
- spec/components/previews/quotation_preview.rb
|
|
725
|
+
- spec/components/previews/quotation_preview/overview.html.erb
|
|
726
|
+
- spec/components/previews/rich_text_preview.rb
|
|
727
|
+
- spec/components/previews/skip_links_preview.rb
|
|
728
|
+
- spec/components/quotation_spec.rb
|
|
729
|
+
- spec/components/rich_text_spec.rb
|
|
730
|
+
- spec/components/skip_links_spec.rb
|
|
731
|
+
- spec/fixtures/icons/arrow-right.svg
|
|
732
|
+
- spec/fixtures/icons/close.svg
|
|
733
|
+
- spec/fixtures/icons/user.svg
|
|
734
|
+
- spec/spec_helper.rb
|
|
735
|
+
- spec/support/cli_helpers.rb
|
|
736
|
+
- spec/support/components.rb
|
|
737
|
+
- spec/support/matchers/eq_html.rb
|
|
738
|
+
- spec/support/matchers/include_html.rb
|
|
739
|
+
- spec/support/spec_helpers.rb
|
|
File without changes
|