@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/constants/assets.d.ts +1 -1
- package/index.js +27 -27
- package/index.mjs +1371 -1350
- package/package.json +1 -1
- package/styles/README.md +1 -1
- package/styles/mixins/_backgrounds.scss +1 -1
- package/styles/variables/assets/_assets.scss +1 -1
package/package.json
CHANGED
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-
|
|
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
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
$assets-
|
|
1
|
+
$assets-url: 'https://assets.apolitical.co/';
|