@apolitical/component-library 8.2.0-bht.0 → 8.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apolitical/component-library",
3
- "version": "8.2.0-bht.0",
3
+ "version": "8.2.0",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
package/styles/README.md CHANGED
@@ -127,7 +127,7 @@ Buttons can have an icon but - because we can't mix pre-processing and data pass
127
127
 
128
128
  To add an icon to a button, add the class name `icon [file name of icon without file extension]`, e.g. `icon heart_empty`.
129
129
 
130
- The icon file, with a matching name, should be uploaded to the `apolitical-assets` bucket on Google Cloud Platform. (Referred to as `$assets-bucket` in the styling.)
130
+ The icon file, with a matching name, should be uploaded to the `apolitical-assets` bucket on Google Cloud Platform. (Referred to as `$assets-url` in the styling.)
131
131
 
132
132
  You can also pass `left` or `right` to position the icon - this will add margin between the text and the icon. e.g. `icon heart_empty right`.
133
133
 
@@ -16,7 +16,7 @@
16
16
  @if string.index($image, 'http') {
17
17
  $image: $image;
18
18
  } @else {
19
- $image: $assets-bucket + $image;
19
+ $image: $assets-url + $image;
20
20
  }
21
21
 
22
22
  @if $is-mask {
@@ -1 +1 @@
1
- $assets-bucket: 'https://assets.apolitical.co/';
1
+ $assets-url: 'https://assets.apolitical.co/';