@trafilea/afrodita-components 5.0.0-beta.190 → 5.0.0-beta.192
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/index.d.ts +4 -0
- package/build/index.esm.js +7 -1
- package/build/index.esm.js.map +1 -1
- package/build/index.js +7 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -206,6 +206,8 @@ interface CopyProps extends IconProps {
|
|
|
206
206
|
}
|
|
207
207
|
declare const Copy: ({ height, width, fill, stroke }: CopyProps) => JSX.Element;
|
|
208
208
|
|
|
209
|
+
declare const CopyOutlined: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
210
|
+
|
|
209
211
|
declare const CheckboxEmpty: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
210
212
|
|
|
211
213
|
declare const CheckboxLight: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
@@ -272,6 +274,7 @@ declare const Actions_SignOut: typeof SignOut;
|
|
|
272
274
|
declare const Actions_Add: typeof Add;
|
|
273
275
|
type Actions_CopyProps = CopyProps;
|
|
274
276
|
declare const Actions_Copy: typeof Copy;
|
|
277
|
+
declare const Actions_CopyOutlined: typeof CopyOutlined;
|
|
275
278
|
declare const Actions_CheckboxEmpty: typeof CheckboxEmpty;
|
|
276
279
|
declare const Actions_CheckboxLight: typeof CheckboxLight;
|
|
277
280
|
declare const Actions_CheckboxSolid: typeof CheckboxSolid;
|
|
@@ -313,6 +316,7 @@ declare namespace Actions {
|
|
|
313
316
|
Actions_Add as Add,
|
|
314
317
|
Actions_CopyProps as CopyProps,
|
|
315
318
|
Actions_Copy as Copy,
|
|
319
|
+
Actions_CopyOutlined as CopyOutlined,
|
|
316
320
|
Actions_CheckboxEmpty as CheckboxEmpty,
|
|
317
321
|
Actions_CheckboxLight as CheckboxLight,
|
|
318
322
|
Actions_CheckboxSolid as CheckboxSolid,
|
package/build/index.esm.js
CHANGED
|
@@ -173,6 +173,11 @@ var Copy = function (_a) {
|
|
|
173
173
|
return (jsxs$1(IconWrapper$1, __assign$1({ width: width, height: height, viewBoxX: 18, viewBoxY: 22, title: "copy" }, { children: [jsx$1("rect", { x: "0.5", y: "0.5", width: "13", height: "17", rx: "1.5", fill: fill, stroke: stroke }, void 0), jsx$1("rect", { x: "4.5", y: "4.5", width: "13", height: "17", rx: "1.5", fill: fill, stroke: stroke }, void 0)] }), void 0));
|
|
174
174
|
};
|
|
175
175
|
|
|
176
|
+
var CopyOutlined = function (_a) {
|
|
177
|
+
var height = _a.height, width = _a.width, _b = _a.fill, fill = _b === void 0 ? '#292929' : _b;
|
|
178
|
+
return (jsx$1(IconWrapper$1, __assign$1({ width: width, height: height, viewBoxX: 21, viewBoxY: 20, title: "copy" }, { children: jsx$1("path", { d: "M8 14.9998C7.54167 14.9998 7.14944 14.8368 6.82333 14.5107C6.49667 14.184 6.33333 13.7915 6.33333 13.3332V3.33317C6.33333 2.87484 6.49667 2.48234 6.82333 2.15567C7.14944 1.82956 7.54167 1.6665 8 1.6665H15.5C15.9583 1.6665 16.3508 1.82956 16.6775 2.15567C17.0036 2.48234 17.1667 2.87484 17.1667 3.33317V13.3332C17.1667 13.7915 17.0036 14.184 16.6775 14.5107C16.3508 14.8368 15.9583 14.9998 15.5 14.9998H8ZM8 13.3332H15.5V3.33317H8V13.3332ZM4.66667 18.3332C4.20833 18.3332 3.81583 18.1701 3.48917 17.844C3.16306 17.5173 3 17.1248 3 16.6665V5.83317C3 5.59706 3.08 5.399 3.24 5.239C3.39944 5.07956 3.59722 4.99984 3.83333 4.99984C4.06944 4.99984 4.2675 5.07956 4.4275 5.239C4.58694 5.399 4.66667 5.59706 4.66667 5.83317V16.6665H13C13.2361 16.6665 13.4342 16.7465 13.5942 16.9065C13.7536 17.0659 13.8333 17.2637 13.8333 17.4998C13.8333 17.7359 13.7536 17.9337 13.5942 18.0932C13.4342 18.2532 13.2361 18.3332 13 18.3332H4.66667ZM8 3.33317V13.3332V3.33317Z", fill: fill }, void 0) }), void 0));
|
|
179
|
+
};
|
|
180
|
+
|
|
176
181
|
var CheckboxEmpty = function (_a) {
|
|
177
182
|
var height = _a.height, width = _a.width, fill = _a.fill;
|
|
178
183
|
return (jsx$1(IconWrapper$1, __assign$1({ width: width, height: height, viewBoxX: 40, viewBoxY: 40, fill: "none", title: "checkbox empty" }, { children: jsx$1("rect", { x: "3", y: "3", width: "34", height: "34", rx: "3", stroke: "#292929", strokeWidth: "2", fill: fill }, void 0) }), void 0));
|
|
@@ -317,6 +322,7 @@ var Actions = /*#__PURE__*/Object.freeze({
|
|
|
317
322
|
SignOut: SignOut,
|
|
318
323
|
Add: Add,
|
|
319
324
|
Copy: Copy,
|
|
325
|
+
CopyOutlined: CopyOutlined,
|
|
320
326
|
CheckboxEmpty: CheckboxEmpty,
|
|
321
327
|
CheckboxLight: CheckboxLight,
|
|
322
328
|
CheckboxSolid: CheckboxSolid,
|
|
@@ -5155,7 +5161,7 @@ var PriceLabelV2 = function (_a) {
|
|
|
5155
5161
|
var isDiffFinalAndOriginalPrice = originalPrice !== finalPrice;
|
|
5156
5162
|
var isOriginalPrice = originalPrice && isDiffFinalAndOriginalPrice;
|
|
5157
5163
|
var isDiscount = discount && isDiffFinalAndOriginalPrice;
|
|
5158
|
-
var supportedCurrencies = ['CA$'];
|
|
5164
|
+
var supportedCurrencies = ['A$', 'CA$', '£'];
|
|
5159
5165
|
var currencySymbol = '$';
|
|
5160
5166
|
if (typeof finalPrice === 'string') {
|
|
5161
5167
|
supportedCurrencies.forEach(function (availableCurrency) {
|