@cypress-design/react-icon 0.6.0 → 0.7.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/CHANGELOG.md +11 -0
- package/dist/TreeShakableIcons.d.ts +2 -1
- package/dist/TreeShakableIcons.d.ts.map +1 -1
- package/dist/index.es.mjs +14 -3
- package/dist/index.es.mjs.map +1 -1
- package/dist/index.umd.js +15 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -498,6 +498,17 @@ var IconChevronDownLarge = function (props) {
|
|
|
498
498
|
}
|
|
499
499
|
return React__namespace.createElement('svg', compileReactIconProperties(__assign(__assign({}, props), { size: size, body: body, compiledClasses: compiledClasses })));
|
|
500
500
|
};
|
|
501
|
+
var IconChevronDownMedium = function (props) {
|
|
502
|
+
var _a = iconsRegistry__namespace.getComponentAttributes(__assign(__assign({}, props), { availableSizes: ["16"] })), size = _a.sizeWithDefault, compiledClasses = _a.compiledClasses;
|
|
503
|
+
var iconBodies = {
|
|
504
|
+
"16": "<path d=\"m4 6 4 4 4-4\" class=\"icon-dark\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>"
|
|
505
|
+
};
|
|
506
|
+
var body = iconBodies[size];
|
|
507
|
+
if (!body) {
|
|
508
|
+
throw Error("Icon \"chevron-down-medium\" is not available in size " + size);
|
|
509
|
+
}
|
|
510
|
+
return React__namespace.createElement('svg', compileReactIconProperties(__assign(__assign({}, props), { size: size, body: body, compiledClasses: compiledClasses })));
|
|
511
|
+
};
|
|
501
512
|
var IconChevronDownSmall = function (props) {
|
|
502
513
|
var _a = iconsRegistry__namespace.getComponentAttributes(__assign(__assign({}, props), { availableSizes: ["8", "16"] })), size = _a.sizeWithDefault, compiledClasses = _a.compiledClasses;
|
|
503
514
|
var iconBodies = {
|
|
@@ -623,14 +634,14 @@ var IconCurrencyEur = function (props) {
|
|
|
623
634
|
}
|
|
624
635
|
return React__namespace.createElement('svg', compileReactIconProperties(__assign(__assign({}, props), { size: size, body: body, compiledClasses: compiledClasses })));
|
|
625
636
|
};
|
|
626
|
-
var
|
|
637
|
+
var IconCurrencyGbp = function (props) {
|
|
627
638
|
var _a = iconsRegistry__namespace.getComponentAttributes(__assign(__assign({}, props), { availableSizes: ["16"] })), size = _a.sizeWithDefault, compiledClasses = _a.compiledClasses;
|
|
628
639
|
var iconBodies = {
|
|
629
640
|
"16": "<path d=\"M10 5a1 1 0 1 0 2 0h-2Zm-6 9-.79-.614a1 1 0 0 0 1.345 1.446L4 14Zm8.555.832a1 1 0 0 0-1.11-1.664l1.11 1.664ZM4 8a1 1 0 0 0 0 2V8Zm5 2a1 1 0 0 0 0-2v2ZM6 5a2 2 0 0 1 2-2V1a4 4 0 0 0-4 4h2Zm2-2a2 2 0 0 1 2 2h2a4 4 0 0 0-4-4v2ZM4 14c.555.832.554.832.554.833h-.001l-.002.002-.003.002-.005.003-.004.002.014-.008c.02-.011.06-.032.12-.058.117-.05.309-.12.568-.167.51-.093 1.319-.108 2.388.32l.742-1.857c-1.431-.573-2.622-.588-3.487-.43a4.601 4.601 0 0 0-1.01.3 3.406 3.406 0 0 0-.42.22l-.004.003-.003.002c-.001 0-.002 0 .553.833Zm3.629.928c1.431.573 2.622.588 3.487.43a4.603 4.603 0 0 0 1.01-.3 3.4 3.4 0 0 0 .408-.212l.011-.008.005-.003.003-.002c.001 0 .002 0-.553-.833-.555-.832-.554-.832-.554-.833h.001l.002-.002.003-.002a.265.265 0 0 1 .005-.003l.004-.002-.014.008c-.02.011-.06.032-.12.058-.117.05-.309.12-.568.167-.51.093-1.319.108-2.388-.32l-.742 1.857Zm-2.84-.314c1.77-2.276 2.2-4.085 2.048-5.707l-1.991.186c.095 1.022-.115 2.338-1.635 4.293l1.578 1.228Zm2.048-5.707c-.08-.863-.325-1.632-.51-2.254C6.13 5.996 6 5.498 6 5H4c0 .827.22 1.584.41 2.223.2.674.377 1.242.436 1.87l1.99-.186ZM4 10h1.841V8H4v2Zm1.841 0H9V8H5.841v2Z\" fill=\"currentColor\" class=\"icon-dark\"/>"
|
|
630
641
|
};
|
|
631
642
|
var body = iconBodies[size];
|
|
632
643
|
if (!body) {
|
|
633
|
-
throw Error("Icon \"currency-
|
|
644
|
+
throw Error("Icon \"currency-gbp\" is not available in size " + size);
|
|
634
645
|
}
|
|
635
646
|
return React__namespace.createElement('svg', compileReactIconProperties(__assign(__assign({}, props), { size: size, body: body, compiledClasses: compiledClasses })));
|
|
636
647
|
};
|
|
@@ -2166,6 +2177,7 @@ exports.IconCheckmarkSmall = IconCheckmarkSmall;
|
|
|
2166
2177
|
exports.IconCheckmarkSolid = IconCheckmarkSolid;
|
|
2167
2178
|
exports.IconChevronDownDouble = IconChevronDownDouble;
|
|
2168
2179
|
exports.IconChevronDownLarge = IconChevronDownLarge;
|
|
2180
|
+
exports.IconChevronDownMedium = IconChevronDownMedium;
|
|
2169
2181
|
exports.IconChevronDownSmall = IconChevronDownSmall;
|
|
2170
2182
|
exports.IconChevronLeftDouble = IconChevronLeftDouble;
|
|
2171
2183
|
exports.IconChevronLeftLarge = IconChevronLeftLarge;
|
|
@@ -2177,7 +2189,7 @@ exports.IconChevronUpDouble = IconChevronUpDouble;
|
|
|
2177
2189
|
exports.IconChevronUpLarge = IconChevronUpLarge;
|
|
2178
2190
|
exports.IconChevronUpSmall = IconChevronUpSmall;
|
|
2179
2191
|
exports.IconCurrencyEur = IconCurrencyEur;
|
|
2180
|
-
exports.
|
|
2192
|
+
exports.IconCurrencyGbp = IconCurrencyGbp;
|
|
2181
2193
|
exports.IconCurrencyInr = IconCurrencyInr;
|
|
2182
2194
|
exports.IconCurrencyRub = IconCurrencyRub;
|
|
2183
2195
|
exports.IconCurrencyUsd = IconCurrencyUsd;
|