arclight 1.2.0 → 1.3.0

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: cc33edce733f7fd511703a9d4b1b7fa7152dc7136a5c0ff06d6cb08891e7bdb4
4
- data.tar.gz: f698894daf2a17d75db46a8cbc8c8517aaee3168ae62caa6c21f4bb9b5b9e310
3
+ metadata.gz: 1f1e6b3f42d3537e2cf578afdac114aa0bf9809f9f331716f4cf57f2b8af84a1
4
+ data.tar.gz: dd97429213dcdb6ce394627b1494b9f327ba338aedd7a3821e901e33bdd8b5d4
5
5
  SHA512:
6
- metadata.gz: 16bbb85fa76bf4003cbc8dbcc38299ba6c7461c0fbc952ee02dbcfddc8ec19fa37f04b595de248a4bd6c39ce69a083f607a6a17a64aa043a94026b4a5249de36
7
- data.tar.gz: d176c37652331ad6b229412caaf5488cd84cb06a555bc48dd7c4184fabda4ff1f47e8927c8babe7eaeb6fc665c63faf6ec4ebfc5b16b6f89247aec9ac9b1830d
6
+ metadata.gz: c7c0794ebc3a16206ec9cd175a5ef465a8afc08a4d197149b2c4d978de37399310eb75e676f67637b612c2a5ba15383c037e8d3030392e8c51689f873b309cc9
7
+ data.tar.gz: 806b6e4c2c4e3ef9f051e9cf70592b474f9ce4bf051feffbd3b2111b472dce3e7f6bc76150e7f12a95bba6e4f50e8e86327c982217326c0c8e3001d2ce1f3e5c
@@ -1,24 +1,23 @@
1
- //< !-- ! Font Awesome Pro 6.2.0 by @fontawesome - https: //fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
2
- $hierarchy-view-expand-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='#{$navbar-light-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM200 344V280H136c-13.3 0-24-10.7-24-24s10.7-24 24-24h64V168c0-13.3 10.7-24 24-24s24 10.7 24 24v64h64c13.3 0 24 10.7 24 24s-10.7 24-24 24H248v64c0 13.3-10.7 24-24 24s-24-10.7-24-24z'/></svg>") !default;
3
- $hierarchy-view-collapse-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='#{$navbar-light-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm88 200H296c13.3 0 24 10.7 24 24s-10.7 24-24 24H152c-13.3 0-24-10.7-24-24s10.7-24 24-24z'/></svg>") !default;
1
+ :root {
2
+ --al-toggle-icon-color: #{$navbar-light-color};
3
+ /* Font Awesome Free 6.5.2 by @fontawesome - https: //fontawesome.com License - https://fontawesome.com/license/free (CC BY 4.0 License) Copyright 2024 Fonticons, Inc. */
4
+ --al-hierarchy-view-expand-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 475 512'><path stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' stroke='rgb(0, 0, 0)' fill='rgb(0, 0, 0)' d='M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM200 344V280H136c-13.3 0-24-10.7-24-24s10.7-24 24-24h64V168c0-13.3 10.7-24 24-24s24 10.7 24 24v64h64c13.3 0 24 10.7 24 24s-10.7 24-24 24H248v64c0 13.3-10.7 24-24 24s-24-10.7-24-24z'/></svg>");
5
+ --al-hierarchy-view-collapse-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 475 512'><path stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' stroke='rgb(0, 0, 0)' fill='rgb(0, 0, 0)' d='M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm88 200H296c13.3 0 24 10.7 24 24s-10.7 24-24 24H152c-13.3 0-24-10.7-24-24s10.7-24 24-24z'/></svg>");
6
+ }
4
7
 
5
8
  // Collapse +/- indicators
6
9
  .al-toggle-view-children {
7
- background-image: escape-svg($hierarchy-view-expand-icon);
8
- background-repeat: no-repeat;
9
- background-position: center;
10
- background-size: 100%;
11
- display: inline-block;
10
+ background-color: var(--al-toggle-icon-color);
12
11
  flex-shrink: 0;
13
12
  height: 1.25rem;
14
13
  margin-left: -1.25rem;
15
14
  margin-right: 0.25 * $spacer;
16
15
  margin-top: 0.1 * $spacer;
17
- vertical-align: middle;
18
- width: 1rem;
16
+ mask: var(--al-hierarchy-view-expand-icon);
17
+ width: 1.1rem;
19
18
 
20
19
  &:not(.collapsed) {
21
- background-image: escape-svg($hierarchy-view-collapse-icon);
20
+ mask: var(--al-hierarchy-view-collapse-icon);
22
21
  }
23
22
  }
24
23
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Arclight
4
- VERSION = '1.2.0'
4
+ VERSION = '1.3.0'
5
5
  end
data/package.json CHANGED
@@ -1,11 +1,9 @@
1
1
  {
2
2
  "name": "arclight",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "The frontend for arclight",
5
5
  "main": "app/assets/javascript/arclight/arclight.js",
6
- "files": [
7
- "app/assets"
8
- ],
6
+ "files": ["app/assets"],
9
7
  "devDependencies": {
10
8
  "eslint": "^8.26.0",
11
9
  "eslint-config-airbnb-base": "^15.0.0",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arclight
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darren Hardy