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: fac9689210b6815bf6ad86a7e7b58a15b45adb1b201c53f6d942c4fdac7e04b6
4
- data.tar.gz: da09acc4db0ed923fc852afda548f822de4e0a5f8d45e77b30527434f6d3a677
3
+ metadata.gz: c45c1a8e7a83e1dd336010e7676114066afe5a7a20b5e20bd3da4a4fbae5c73e
4
+ data.tar.gz: 22043400ee35ec6812daf502464ae0a1ea2f343c27f3ef3195875b8441ed78a7
5
5
  SHA512:
6
- metadata.gz: 7e1b3d57a06acf391d06116121a9555601adc51fd21ef537c9f5fe7d0ad19fb8d9841868f88c12b8ad9f63286d8dd3fee273e3842812fcddb1f6449dc822b8e8
7
- data.tar.gz: 111b283d891c7d803b9e6f40eb7eaca8044f633901024bc566dba3a4157cd8d230c4d7c1d33e551b53a0783f53751ecc6261277152b8049d524f28a0fcc63293
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: {
@@ -1,3 +1,3 @@
1
1
  module PolarisViewHelpers
2
- VERSION = "1.2.5"
2
+ VERSION = "1.2.7"
3
3
  end
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.5
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-08-11 00:00:00.000000000 Z
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: