@transferwise/icons 4.4.3 → 4.4.4
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/components/sparkles.tsx +52 -0
- package/build/icons.json +7 -0
- package/build/index.ts +1 -0
- package/lib/components/sparkles.d.ts +13 -0
- package/lib/components/sparkles.d.ts.map +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.esm.js +40 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +40 -0
- package/lib/index.js.map +1 -1
- package/package.json +24 -20
package/lib/index.js
CHANGED
|
@@ -8575,6 +8575,45 @@ const SoftwareAndWebHosting = ({
|
|
|
8575
8575
|
});
|
|
8576
8576
|
};
|
|
8577
8577
|
|
|
8578
|
+
const Sparkles = ({
|
|
8579
|
+
className = undefined,
|
|
8580
|
+
isFocusable = false,
|
|
8581
|
+
filled = undefined,
|
|
8582
|
+
title = undefined,
|
|
8583
|
+
role = undefined,
|
|
8584
|
+
size = 16,
|
|
8585
|
+
...restProps
|
|
8586
|
+
}) => {
|
|
8587
|
+
if (filled) {
|
|
8588
|
+
console.warn("<Sparkles filled /> is now deprecated, please use <SparklesFill /> or refer to https://transferwise.github.io/icons/ for more info.");
|
|
8589
|
+
}
|
|
8590
|
+
return /*#__PURE__*/jsxRuntime.jsx("span", {
|
|
8591
|
+
className: `tw-icon tw-icon-sparkles ${className ? className : ''}`,
|
|
8592
|
+
"data-testid": restProps['data-testid'] || 'sparkles-icon',
|
|
8593
|
+
children: /*#__PURE__*/jsxRuntime.jsx("svg", {
|
|
8594
|
+
"aria-label": title,
|
|
8595
|
+
"aria-hidden": !title ? true : undefined,
|
|
8596
|
+
focusable: isFocusable,
|
|
8597
|
+
role: role ?? (title ? 'graphics-symbol img' : 'none'),
|
|
8598
|
+
width: String(size),
|
|
8599
|
+
height: String(size),
|
|
8600
|
+
fill: "currentColor",
|
|
8601
|
+
viewBox: "0 0 24 24",
|
|
8602
|
+
children: (Number(size) === 16 || Number(size) === 24 || Number(size) === 32) && /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
8603
|
+
children: [/*#__PURE__*/jsxRuntime.jsx("path", {
|
|
8604
|
+
d: "M17.863 15.089a.15.15 0 0 1 .274 0l.765 1.715q.024.051.076.075l1.715.766a.15.15 0 0 1 0 .274l-1.715.765a.15.15 0 0 0-.076.077l-.765 1.715a.15.15 0 0 1-.274 0l-.765-1.715a.15.15 0 0 0-.077-.076l-1.715-.766a.15.15 0 0 1 0-.274l1.715-.766a.15.15 0 0 0 .076-.075z"
|
|
8605
|
+
}), /*#__PURE__*/jsxRuntime.jsx("path", {
|
|
8606
|
+
fillRule: "evenodd",
|
|
8607
|
+
d: "M10.571 4.075c.135-.39.781-.39.916 0 .494 1.426 1.371 3.538 2.556 4.723s3.297 2.062 4.723 2.556c.39.135.39.78 0 .916l-.362.13c-1.403.51-3.273 1.337-4.361 2.425-.952.952-1.705 2.503-2.22 3.816l-.206.546-.13.362-.031.068c-.17.299-.683.299-.854 0l-.03-.068q-.062-.175-.132-.363l-.206-.546c-.515-1.313-1.267-2.863-2.219-3.815-1.036-1.036-2.783-1.838-4.159-2.352l-.563-.203c-.39-.136-.39-.781 0-.916 1.426-.494 3.538-1.371 4.722-2.556s2.062-3.297 2.556-4.723m.458 3.933c-.447.802-.978 1.582-1.6 2.204-.62.621-1.401 1.153-2.204 1.6.803.446 1.583.978 2.205 1.6.62.62 1.152 1.401 1.6 2.203.446-.802.977-1.583 1.599-2.204.621-.621 1.402-1.153 2.204-1.6-.802-.446-1.583-.978-2.204-1.6-.622-.62-1.153-1.401-1.6-2.203",
|
|
8608
|
+
clipRule: "evenodd"
|
|
8609
|
+
}), /*#__PURE__*/jsxRuntime.jsx("path", {
|
|
8610
|
+
d: "M17.863 3.089a.15.15 0 0 1 .274 0l.765 1.715a.15.15 0 0 0 .076.075l1.715.766a.15.15 0 0 1 0 .274l-1.715.766a.15.15 0 0 0-.076.076l-.765 1.715a.15.15 0 0 1-.274 0l-.765-1.715a.15.15 0 0 0-.077-.076l-1.715-.766a.15.15 0 0 1 0-.274l1.715-.766a.15.15 0 0 0 .076-.075z"
|
|
8611
|
+
})]
|
|
8612
|
+
})
|
|
8613
|
+
})
|
|
8614
|
+
});
|
|
8615
|
+
};
|
|
8616
|
+
|
|
8578
8617
|
const SpeechBubbleExclamation = ({
|
|
8579
8618
|
className = undefined,
|
|
8580
8619
|
isFocusable = false,
|
|
@@ -11134,6 +11173,7 @@ exports.Slider = Slider;
|
|
|
11134
11173
|
exports.Sofort = Sofort;
|
|
11135
11174
|
exports.SoftwareAndHosting = SoftwareAndHosting;
|
|
11136
11175
|
exports.SoftwareAndWebHosting = SoftwareAndWebHosting;
|
|
11176
|
+
exports.Sparkles = Sparkles;
|
|
11137
11177
|
exports.SpeechBubble = SpeechBubble;
|
|
11138
11178
|
exports.SpeechBubbleExclamation = SpeechBubbleExclamation;
|
|
11139
11179
|
exports.SpeechBubbleMessage = SpeechBubbleMessage;
|