@citygross/components 0.8.112 → 0.8.114
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/build/@types/components/ScreenReader/ScreenReader.d.ts +1 -1
- package/build/@types/index.d.ts +1 -0
- package/build/cjs/components/src/components/PriceTag/PriceTag.js +1 -1
- package/build/cjs/components/src/components/ScreenReader/ScreenReader.js +3 -2
- package/build/cjs/components/src/components/ScreenReader/ScreenReader.js.map +1 -1
- package/build/cjs/components/src/index.js +2 -0
- package/build/cjs/components/src/index.js.map +1 -1
- package/build/es/components/src/components/PriceTag/PriceTag.js +1 -1
- package/build/es/components/src/components/ScreenReader/ScreenReader.js +3 -2
- package/build/es/components/src/components/ScreenReader/ScreenReader.js.map +1 -1
- package/build/es/components/src/index.js +1 -0
- package/build/es/components/src/index.js.map +1 -1
- package/package.json +2 -2
package/build/@types/index.d.ts
CHANGED
|
@@ -62,6 +62,7 @@ export * from './components/RadioBox';
|
|
|
62
62
|
export * from './components/RadioGroup';
|
|
63
63
|
export * from './components/RadioListItem/RadioListItem';
|
|
64
64
|
export * from './components/RippleContainer/RippleContainer';
|
|
65
|
+
export * from './components/ScreenReader/ScreenReader';
|
|
65
66
|
export * from './components/SearchBar/SearchBar';
|
|
66
67
|
export * from './components/SearchListItem/SearchListItem';
|
|
67
68
|
export * from './components/SearchSuggestionChip/SearchSuggestionChip';
|
|
@@ -26,7 +26,7 @@ var PriceTag = function (_a) {
|
|
|
26
26
|
var showUnit = pant ||
|
|
27
27
|
(unit !== undefined &&
|
|
28
28
|
!((isMultiPrice && unit === 'st') || (isMultiPrice && unit === 'kg')));
|
|
29
|
-
var screenReaderStr = "".concat(utils.formatPrice(price$1)).concat(!isMultiPrice && showUnit ? "/".concat(unit) : '').concat(pant ? pantStr : '');
|
|
29
|
+
var screenReaderStr = "Pris ".concat(utils.formatPrice(price$1)).concat(!isMultiPrice && showUnit ? "/".concat(unit) : '').concat(pant ? pantStr : '');
|
|
30
30
|
return (React__default["default"].createElement(PriceTag_styles.PriceTagWrapper, { fontColor: variantAttributes.fontColor },
|
|
31
31
|
variant !== PriceTag_types.EPriceVariant.REGULAR && (React__default["default"].createElement(PriceTag_styles.PriceStripeContainer, null,
|
|
32
32
|
React__default["default"].createElement(PriceStripe.PriceStripe, { multiPrice: multiPrice, size: size, unit: unit, variant: variant }))),
|
|
@@ -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,
|
|
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":";;;;;;;;;;;;;;;;;;;"}
|
|
@@ -70,6 +70,7 @@ var RadioBoxList = require('./components/RadioBox/RadioBoxList.js');
|
|
|
70
70
|
var RadioGroup = require('./components/RadioGroup/RadioGroup.js');
|
|
71
71
|
var RadioListItem = require('./components/RadioListItem/RadioListItem.js');
|
|
72
72
|
var RippleContainer = require('./components/RippleContainer/RippleContainer.js');
|
|
73
|
+
var ScreenReader = require('./components/ScreenReader/ScreenReader.js');
|
|
73
74
|
var SearchBar = require('./components/SearchBar/SearchBar.js');
|
|
74
75
|
var SearchListItem = require('./components/SearchListItem/SearchListItem.js');
|
|
75
76
|
var SearchSuggestionChip = require('./components/SearchSuggestionChip/SearchSuggestionChip.js');
|
|
@@ -221,6 +222,7 @@ exports.RadioBoxList = RadioBoxList.RadioBoxList;
|
|
|
221
222
|
exports.RadioGroup = RadioGroup.RadioGroup;
|
|
222
223
|
exports.RadioListItem = RadioListItem.RadioListItem;
|
|
223
224
|
exports.RippleContainer = RippleContainer.RippleContainer;
|
|
225
|
+
exports.ScreenReader = ScreenReader.ScreenReader;
|
|
224
226
|
exports.SearchBar = SearchBar.SearchBar;
|
|
225
227
|
exports.SearchListItem = SearchListItem.SearchListItem;
|
|
226
228
|
exports.SearchSuggestionChip = SearchSuggestionChip.SearchSuggestionChip;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -18,7 +18,7 @@ var PriceTag = function (_a) {
|
|
|
18
18
|
var showUnit = pant ||
|
|
19
19
|
(unit !== undefined &&
|
|
20
20
|
!((isMultiPrice && unit === 'st') || (isMultiPrice && unit === 'kg')));
|
|
21
|
-
var screenReaderStr = "".concat(formatPrice(price)).concat(!isMultiPrice && showUnit ? "/".concat(unit) : '').concat(pant ? pantStr : '');
|
|
21
|
+
var screenReaderStr = "Pris ".concat(formatPrice(price)).concat(!isMultiPrice && showUnit ? "/".concat(unit) : '').concat(pant ? pantStr : '');
|
|
22
22
|
return (React.createElement(PriceTagWrapper, { fontColor: variantAttributes.fontColor },
|
|
23
23
|
variant !== EPriceVariant.REGULAR && (React.createElement(PriceStripeContainer, null,
|
|
24
24
|
React.createElement(PriceStripe, { multiPrice: multiPrice, size: size, unit: unit, variant: variant }))),
|
|
@@ -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,
|
|
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":";;;;;;;;;;;"}
|
|
@@ -66,6 +66,7 @@ export { RadioBoxList } from './components/RadioBox/RadioBoxList.js';
|
|
|
66
66
|
export { RadioGroup } from './components/RadioGroup/RadioGroup.js';
|
|
67
67
|
export { RadioListItem } from './components/RadioListItem/RadioListItem.js';
|
|
68
68
|
export { RippleContainer } from './components/RippleContainer/RippleContainer.js';
|
|
69
|
+
export { ScreenReader } from './components/ScreenReader/ScreenReader.js';
|
|
69
70
|
export { SearchBar } from './components/SearchBar/SearchBar.js';
|
|
70
71
|
export { SearchListItem } from './components/SearchListItem/SearchListItem.js';
|
|
71
72
|
export { SearchSuggestionChip } from './components/SearchSuggestionChip/SearchSuggestionChip.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@citygross/components",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.114",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./build/cjs/components/src/index.js",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"react-slick": "^0.30.1",
|
|
77
77
|
"slick-carousel": "^1.8.1"
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "cf173fdf2b08d0b759deef0ae23fad30a268d175"
|
|
80
80
|
}
|