polaris_view_helpers 1.2.5 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c45c1a8e7a83e1dd336010e7676114066afe5a7a20b5e20bd3da4a4fbae5c73e
|
4
|
+
data.tar.gz: 22043400ee35ec6812daf502464ae0a1ea2f343c27f3ef3195875b8441ed78a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80d8820ad4bfb0cd7223a1a3346d278cb3e20b162436585c7d47c62160ef76e53f88d4aac2e70156cd17b3205b5895be7d44c287de6af4517b34ac718c464140
|
7
|
+
data.tar.gz: ce8985cadc17a3137316dadee1c7e7ab317070d7a668dc23d59ea68d9bfd802eeb6b9d6f84cefad05c30fc6bc3dab44be06edf0c0626a0379b89c38cad82254e
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<span class="Polaris-Icon Polaris-Icon--colorHighlight Polaris-Icon--applyColor">
|
2
|
+
<span class="Polaris-VisuallyHidden"></span>
|
3
|
+
<svg viewBox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true">
|
4
|
+
<path fill-rule="evenodd" d="M10 20c5.514 0 10-4.486 10-10s-4.486-10-10-10-10 4.486-10 10 4.486 10 10 10zm1-6a1 1 0 1 1-2 0v-4a1 1 0 1 1 2 0v4zm-1-9a1 1 0 1 0 0 2 1 1 0 0 0 0-2z">
|
5
|
+
</path>
|
6
|
+
</svg>
|
7
|
+
</span>
|
@@ -14,7 +14,7 @@ module PolarisViewHelpers
|
|
14
14
|
"pri-#{SecureRandom.hex(8)}"
|
15
15
|
end
|
16
16
|
|
17
|
-
def polaris_choice_list(form:, attribute:, title:, selected:, choices:, data:)
|
17
|
+
def polaris_choice_list(form:, attribute:, title:, selected:, choices:, data: nil)
|
18
18
|
render(
|
19
19
|
partial: 'polaris/choice_list',
|
20
20
|
locals: {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polaris_view_helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Green
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -82,6 +82,7 @@ files:
|
|
82
82
|
- app/views/polaris/_text_field.html.erb
|
83
83
|
- app/views/polaris/_thumbnail.html.erb
|
84
84
|
- app/views/polaris/banner_icons/_critical.html.erb
|
85
|
+
- app/views/polaris/banner_icons/_info.html.erb
|
85
86
|
- app/views/polaris/banner_icons/_success.html.erb
|
86
87
|
- app/views/polaris/banner_icons/_warning.html.erb
|
87
88
|
- lib/polaris_view_helpers.rb
|
@@ -342,7 +343,7 @@ homepage: http://www.octolabs.com/
|
|
342
343
|
licenses:
|
343
344
|
- MIT
|
344
345
|
metadata: {}
|
345
|
-
post_install_message:
|
346
|
+
post_install_message:
|
346
347
|
rdoc_options: []
|
347
348
|
require_paths:
|
348
349
|
- lib
|
@@ -358,7 +359,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
358
359
|
version: '0'
|
359
360
|
requirements: []
|
360
361
|
rubygems_version: 3.1.4
|
361
|
-
signing_key:
|
362
|
+
signing_key:
|
362
363
|
specification_version: 4
|
363
364
|
summary: Rails helpers for Shopify Polaris.
|
364
365
|
test_files:
|