@thecb/components 11.0.0 → 11.0.1

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": "@thecb/components",
3
- "version": "11.0.0",
3
+ "version": "11.0.1",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -1,13 +1,21 @@
1
+ import { props } from "ramda";
1
2
  import React from "react";
2
3
 
3
4
  // Fill color based on default "success" variant color
4
- const AutopayIcon = ({ fill = "#317D4F", color = "#317D4F" }) => (
5
+ const AutopayIcon = ({
6
+ fill = "#317D4F",
7
+ color = "#317D4F",
8
+ ariaLabel = "Autopay",
9
+ ...props
10
+ }) => (
5
11
  <svg
6
12
  width="16"
7
13
  height="16"
8
14
  viewBox="0 0 16 16"
9
15
  fill="none"
10
16
  xmlns="http://www.w3.org/2000/svg"
17
+ aria-label={ariaLabel}
18
+ {...props}
11
19
  >
12
20
  <mask
13
21
  id="mask0_5560_39870"
package/src/.DS_Store DELETED
Binary file
Binary file
Binary file
Binary file