app_rail-steps 0.2.9 → 0.2.10

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: 7ac3df232c2bfd0cd864c8ab1491b6d1191906fa1e0397fc91b184342150c7d6
4
- data.tar.gz: c0152ca0568590771013c85efa8d625240ca417b68c6bde0214e8e6a05fbe5f8
3
+ metadata.gz: d5fba719c7fcaba7cf8b1e18177ce7ec359927de8827208939589d6c6edfb79b
4
+ data.tar.gz: 4031c6d33e27f2644364dd8f89fdd4f1c396ad0e607afeaf9417bfa863a7f772
5
5
  SHA512:
6
- metadata.gz: 2389db830f322a8beb9367eee628ebcc5b2b69594c743ed846e9ad592e2731c953e0bd9c9f723ca906c1faa4de8065d57f69b0cdf86f7f588165e5e5fad20328
7
- data.tar.gz: e45e8cf553d0ab2e31d95ad9e022fdb2ab7336f117b79a47cb9dc44b5ad744de69956d4d05f9c0e17a75842b472fba8873c4d9b4004df0b23eba4a6aad1d5eaa
6
+ metadata.gz: 52574338b664bbd3e95607227fb0f3d215685debb49822f688bdd8e5cfef68ba3334b7d43093f554511467c935480d3b0aca6fd8aafaa547e7d8f43447d190e8
7
+ data.tar.gz: 9ff0bd79331d79e5863d57b5729652f06e66b3ba45a3925c3905a99cb722221b25c6af8aac1afec2a9f094f7e9c6c040d177cdce9a61bee0216e104eade0a80b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- app_rail-steps (0.2.9)
4
+ app_rail-steps (0.2.10)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -7,11 +7,17 @@ module AppRail
7
7
  CONTENT_MODE_OPTIONS = %i[scale_aspect_fill scale_aspect_fit].freeze
8
8
  IMAGE_STYLE_OPTIONS = %i[full_width profile].freeze
9
9
 
10
- def ar_core_stack_text(text:, label: nil)
11
- { type: :text, label: label, text: text.to_s }.compact
10
+ def ar_core_stack_text(text:, label: nil, sf_symbol_name: nil, material_icon_name: nil)
11
+ {
12
+ type: :text,
13
+ label: label,
14
+ text: text.to_s,
15
+ sfSymbolName: sf_symbol_name,
16
+ materialIconName: material_icon_name
17
+ }.compact
12
18
  end
13
19
 
14
- def ar_core_stack_image(preview_url:, attachment_url:, image_style: :full_width, content_mode: :scale_aspect_fill)
20
+ def ar_core_stack_image(preview_url:, attachment_url: preview_url, image_style: :full_width, content_mode: :scale_aspect_fill)
15
21
  validate_content_mode!(content_mode)
16
22
  validate_image_style!(image_style)
17
23
 
@@ -4,6 +4,10 @@ module AppRail
4
4
  module Steps
5
5
  module CoreForms
6
6
  module Form
7
+ #
8
+ # MBS - Note - ID on forms should be the value on the customOutput in the app.json for this field
9
+ #
10
+
7
11
  def ar_core_forms_form_section(label:, id:)
8
12
  raise "Missing label" if label.nil?
9
13
  raise "Missing id" if id.nil?
@@ -2,6 +2,6 @@
2
2
 
3
3
  module AppRail
4
4
  module Steps
5
- VERSION = "0.2.9"
5
+ VERSION = "0.2.10"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app_rail-steps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brooke-Smith
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-25 00:00:00.000000000 Z
11
+ date: 2022-05-10 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: