sdr_view_components 0.1.2 → 0.1.3

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: 9a2b7362cc8e33e3efb9056117bdd8b3303cfa9df131f3af3d614b3afe8293d8
4
- data.tar.gz: 86178a05243b29b9a6a4bf6e0c4f085ac180f43fed956fecb287b6c81883c52e
3
+ metadata.gz: 16f9c65aca5c79312e48c511e61e6b5181de67e763d85b99185d6b558f726124
4
+ data.tar.gz: d1b86d685d6a82e90bfc2974906874f57d717d27d1026605ce62cc8bd33d8b9e
5
5
  SHA512:
6
- metadata.gz: 99eeb9d90b6d7d469aaaa869faa48cc3fa3054c71b25bfefbb96b3eab53c5ae5a6c45c4b4dd79633f46afc4035f83493200b23252b07d6a3588976c1e7c05215
7
- data.tar.gz: 25611e8779d1992f4828a3a71a37307e3f4f202acc32d498e179d6eed0609604987b806fd681517574ebe3aa66498c3ac894b5762f751981d33b0acf3d522abb
6
+ metadata.gz: 74181bc2ebb10bb5e0b8113041ed135c8fa2e6d3987de57b3d0e562948232a902b5d134f1fc04c1c85f49871b75cd0871efc0bf905dbfa6a5d2a3f30665d45f8
7
+ data.tar.gz: b1910536f68eafa46c193b6b94d0c2671d7f53684c40d42c0e5058bb537f4f78dff23f7785805f84594f8de9095a24ab106758027a1ade39745b1e7ae6295689
data/README.md CHANGED
@@ -7,22 +7,20 @@
7
7
  A rails gem to provide reusable view components used throughout the SDR applications and implement
8
8
  component library assets.
9
9
 
10
- # NOTE: Under Development
10
+ # Installation
11
11
 
12
- Until initial development is complete and this gem is published, it can only be used locally. Install by cloning the repository to your local system and then including it in your gemfile as:
12
+ Add to gemfile:
13
13
 
14
14
  ```
15
- gem 'sdr_view_components', path: '../sdr_view_components'
15
+ gem 'sdr_view_components'
16
16
  ```
17
17
 
18
- Or via github path
19
-
20
18
  ## Requirements
21
19
 
22
20
  This set of components relies on the component library stylesheets, add:
23
21
 
24
22
  ```
25
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/sul-dlss/component-library@v2025-09-11/styles/sul.css">
23
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/sul-dlss/component-library@v2025-09-11/styles/sul.css">
26
24
  ```
27
25
 
28
26
  with the most recent date tagged release to your `application.html.erb` layout file.
@@ -53,7 +51,7 @@ Supported header variations are `:dark`, `:light`, and `:white` (default is `:li
53
51
  <% end %>
54
52
  ```
55
53
 
56
- The `:dark` variation supports providing an rgb value via the `rgb_color_str` param in order to override the default dark background, for example:
54
+ The `:dark` variation supports providing an rgb value via the `background_color` param in order to override the default dark background, for example:
57
55
 
58
56
  ```
59
57
  <%= render SdrViewComponents::Structure::HeaderComponent.new(title: 'Test Header', subtitle: 'Test Subtitle', variant: :dark, rgb_color_str: '1, 104, 149') do |header| %>
@@ -63,14 +61,10 @@ The `:dark` variation supports providing an rgb value via the `rgb_color_str` pa
63
61
  <% end %>
64
62
  ```
65
63
 
64
+ By default, the SUL Rosette is included in the header, this can be disabled by setting `rosette: false` in the parameter list when instantiating the header.
65
+
66
66
  ### General usage:
67
67
 
68
68
  ```
69
69
  <% render SdrViewComponent::....>
70
70
  ```
71
-
72
- ## Contributing
73
- Contribution directions go here.
74
-
75
- ## License
76
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SdrViewComponents
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sdr_view_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Collier
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-12-05 00:00:00.000000000 Z
10
+ date: 2025-12-10 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: rails