blacklight-hierarchy 6.0.1 → 6.0.2

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: 034edebdb6680608499eb121c925bbb8b6b3afd15e5bc5a1d188b7d62bae5366
4
- data.tar.gz: 28e35726f9495b54ce1c076bca9b740056d999f0e1c09e1ae4b3a093c546ab0e
3
+ metadata.gz: 3415fa86520ce7eabf392993b65a8897e22af37496dc97c75d7ecde676e4a626
4
+ data.tar.gz: 5573391147e54e00060f28d0c2b5e4eb152f520640648e009a84e6e0a0302669
5
5
  SHA512:
6
- metadata.gz: dc55e59ad62e1356331ff041b1cba66150d6a2d9ff3512a1260abeb57a343463495703849f024ef8dad794ff0249939061b95362a5862f339060a6bc4f27090c
7
- data.tar.gz: c6d3b61ff654263ddf876c1005162b8f5b211af8c0477d85f9d720ed9f920d5c4ede74791420b07b8b0274e46d9510f6f33be262a4c1ab5b70dcdc3d7e46f00f
6
+ metadata.gz: 79df7ced8f2612552179ced087766cc682ef54c6adba01ebea38c31a404f43f7641c7937261f196377ec54253dac9651e96c980f0c435bcc58700b3983996785
7
+ data.tar.gz: 43eb2002ce53bf3d697c317ed9d0ace1a0c352cbe9a1cc8751779d4a2dada8b6bface7505c7fee18551118c9de45186fe4e887e3b9e9153b0f5417d5cf1d7fc0
data/README.md CHANGED
@@ -84,7 +84,7 @@ config.facet_display[:hierarchy].each{ |k,v| puts "#{k}_#{v}" }
84
84
  ```
85
85
 
86
86
  ### Changing the icons
87
- We store our closed/open icons as the SASS variables `$b-h-closed-icon` and `$b-h-closed-icon` in `hierarchy.scss`. By default we use SVGs provided by the [Font Awesome](https://github.com/FortAwesome/Font-Awesome) library. To change the icon, reassign these SASS variables with new SVG code.
87
+ We store our closed/open icons as the SASS variables `$b-h-closed-icon` and `$b-h-closed-icon` in `hierarchy.scss`. By default we use SVGs provided by the [Font Awesome](https://github.com/FortAwesome/Font-Awesome) library. To change the icon, reassign these SASS variables with new SVG code.
88
88
 
89
89
  ```scss
90
90
  /* app/assets/stylesheets/blacklight/hierarchy/hierarchy.scss */
@@ -116,9 +116,17 @@ The javascript in this project requires jquery, but it's up to you to provide it
116
116
 
117
117
  This code was ripped out of another project, and is still quite immature as a standalone project. Every effort has been made to make it as plug-and-play as possible, but it may stomp on Blacklight in unintended ways (e.g., ways that made sense in context of its former host app, but which aren't compatible with generic Blacklight). Proceed with caution, and report issues.
118
118
 
119
+ ## Release
120
+
121
+ In order to cut a new release you will need to publish simultaneously to NPM and RubyGems. Before you do that ensure that versions in `lib/blacklight/hierarchy/version.rb` and `package.json` match. Assuming you have the credentials to do it you can then:
122
+
123
+ ```
124
+ $ gem push blacklight-hiearchy-0.1.0.gem
125
+ $ npm publish
126
+ ```
127
+
119
128
  ## TODO
120
129
 
121
130
  - WRITE TESTS
122
131
  - Switch internal facet management from hack-y Hash to `Blacklight::Hierarchy::FacetGroup` class (already implemented, but not plumbed up)
123
- - Add configuration support for hierarchy delimiters other than `/\s*:\s*/` (baked into `Blacklight::Hierarchy::FacetGroup`, but again, requiring additional plumbing)
124
132
  - Clarify when suffix is applied/required/etc.
@@ -1,4 +1,4 @@
1
- import { Controller } from 'stimulus'
1
+ import { Controller } from '@hotwired/stimulus'
2
2
 
3
3
  export default class extends Controller {
4
4
  static targets = [ "list" ]
@@ -1,5 +1,5 @@
1
1
  module Blacklight
2
2
  module Hierarchy
3
- VERSION = '6.0.1'.freeze
3
+ VERSION = '6.0.2'.freeze
4
4
  end
5
5
  end
@@ -4,6 +4,6 @@
4
4
  // blacklight_hierarchy_controller instead:
5
5
  //
6
6
  // import BlacklightHierarchyController from 'blacklight-hierarchy/app/assets/javascripts/blacklight/hierarchy/blacklight_hierarchy_controller'
7
- // import { Application } from 'stimulus'
7
+ // import { Application } from '@hotwired/stimulus'
8
8
  // const application = Application.start()
9
9
  // application.register("b-h-collapsible", BlacklightHierarchyController)
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blacklight-hierarchy",
3
- "version": "5.4.0",
3
+ "version": "6.0.2",
4
4
  "description": "[![Build Status](https://github.com/sul-dlss/blacklight-hierarchy/workflows/CI/badge.svg)](https://github.com/sul-dlss/blacklight-hierarchy/actions?query=branch%3Amain)",
5
5
  "main": "app/assets/javascripts/blacklight/hierarchy/hierarchy.js",
6
6
  "files": [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight-hierarchy
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.1
4
+ version: 6.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael B. Klein
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-03-08 00:00:00.000000000 Z
11
+ date: 2022-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: blacklight