@citygross/components 0.8.113 → 0.8.115

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.
@@ -2,4 +2,4 @@
2
2
  export declare type TScreenReader = {
3
3
  string: string;
4
4
  };
5
- export declare const ScreenReader: ({ string }: TScreenReader) => JSX.Element;
5
+ export declare const ScreenReader: ({ string, ...props }: TScreenReader) => JSX.Element;
@@ -2,6 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var _tslib = require('../../../../_virtual/_tslib.js');
5
6
  var React = require('react');
6
7
  var ScreenReader_styles = require('./ScreenReader.styles.js');
7
8
 
@@ -10,8 +11,8 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
10
11
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
11
12
 
12
13
  var ScreenReader = function (_a) {
13
- var string = _a.string;
14
- return (React__default["default"].createElement(ScreenReader_styles.ScreenReaderSpan, null, string));
14
+ var string = _a.string, props = _tslib.__rest(_a, ["string"]);
15
+ return (React__default["default"].createElement(ScreenReader_styles.ScreenReaderSpan, _tslib.__assign({}, props), string));
15
16
  };
16
17
 
17
18
  exports.ScreenReader = ScreenReader;
@@ -1 +1 @@
1
- {"version":3,"file":"ScreenReader.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ScreenReader.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
@@ -1,9 +1,10 @@
1
+ import { __rest, __assign } from '../../../../_virtual/_tslib.js';
1
2
  import React from 'react';
2
3
  import { ScreenReaderSpan } from './ScreenReader.styles.js';
3
4
 
4
5
  var ScreenReader = function (_a) {
5
- var string = _a.string;
6
- return (React.createElement(ScreenReaderSpan, null, string));
6
+ var string = _a.string, props = __rest(_a, ["string"]);
7
+ return (React.createElement(ScreenReaderSpan, __assign({}, props), string));
7
8
  };
8
9
 
9
10
  export { ScreenReader };
@@ -1 +1 @@
1
- {"version":3,"file":"ScreenReader.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
1
+ {"version":3,"file":"ScreenReader.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citygross/components",
3
- "version": "0.8.113",
3
+ "version": "0.8.115",
4
4
  "license": "ISC",
5
5
  "sideEffects": false,
6
6
  "main": "./build/cjs/components/src/index.js",
@@ -28,7 +28,7 @@
28
28
  "access": "public"
29
29
  },
30
30
  "devDependencies": {
31
- "@storybook/addon-a11y": "^6.3.4",
31
+ "@storybook/addon-a11y": "^6.5.12",
32
32
  "@storybook/addon-actions": "^6.3.4",
33
33
  "@storybook/addon-controls": "^6.3.4",
34
34
  "@storybook/addon-docs": "^6.3.4",
@@ -76,5 +76,5 @@
76
76
  "react-slick": "^0.30.1",
77
77
  "slick-carousel": "^1.8.1"
78
78
  },
79
- "gitHead": "e090d94af2ddb2cc218e885ede7adb320c5a5e03"
79
+ "gitHead": "c91ec085938d150d0aae1b47593147f5088cba49"
80
80
  }