@algolia/satellite 2.12.0 → 2.13.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/dist/cjs/Actions/Button/styles.js +1 -1
- package/dist/cjs/Chat/ChatMessages/ChatMessages.js +2 -0
- package/dist/cjs/Icons/AmexCardIcon.d.ts +3 -2
- package/dist/cjs/Icons/AmexCardIcon.js +28 -1
- package/dist/cjs/Icons/DiscoverCardIcon.d.ts +3 -2
- package/dist/cjs/Icons/DiscoverCardIcon.js +31 -1
- package/dist/cjs/Icons/MasterCardIcon.d.ts +3 -2
- package/dist/cjs/Icons/MasterCardIcon.js +41 -1
- package/dist/cjs/Icons/VisaCardIcon.d.ts +3 -2
- package/dist/cjs/Icons/VisaCardIcon.js +27 -1
- package/dist/cjs/Icons/index.d.ts +3 -0
- package/dist/esm/Actions/Button/styles.js +1 -1
- package/dist/esm/Chat/ChatMessages/ChatMessages.js +2 -0
- package/dist/esm/Icons/AmexCardIcon.d.ts +3 -2
- package/dist/esm/Icons/AmexCardIcon.js +29 -2
- package/dist/esm/Icons/DiscoverCardIcon.d.ts +3 -2
- package/dist/esm/Icons/DiscoverCardIcon.js +32 -2
- package/dist/esm/Icons/MasterCardIcon.d.ts +3 -2
- package/dist/esm/Icons/MasterCardIcon.js +42 -2
- package/dist/esm/Icons/VisaCardIcon.d.ts +3 -2
- package/dist/esm/Icons/VisaCardIcon.js +28 -2
- package/dist/esm/Icons/index.d.ts +3 -0
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ var BUTTON_SIZE_CLASSNAMES = exports.BUTTON_SIZE_CLASSNAMES = {
|
|
|
15
15
|
};
|
|
16
16
|
var BUTTON_PADDING_CLASSNAMES = exports.BUTTON_PADDING_CLASSNAMES = {
|
|
17
17
|
small: (0, _satellitePrefixer["default"])(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2["default"])(["px-2"]))),
|
|
18
|
-
medium: (0, _satellitePrefixer["default"])(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2["default"])(["px-
|
|
18
|
+
medium: (0, _satellitePrefixer["default"])(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2["default"])(["px-3"]))),
|
|
19
19
|
large: (0, _satellitePrefixer["default"])(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2["default"])(["px-4"])))
|
|
20
20
|
};
|
|
21
21
|
var BUTTON_LOADER_ICON_SIZES = exports.BUTTON_LOADER_ICON_SIZES = {
|
|
@@ -135,6 +135,8 @@ var ChatMessagesBase = function ChatMessagesBase(_ref, forwardedRef) {
|
|
|
135
135
|
actionsExtraData: message,
|
|
136
136
|
"data-role": message.role,
|
|
137
137
|
"data-key": message.id
|
|
138
|
+
}, isAssistant && {
|
|
139
|
+
"data-ai-generated": "true"
|
|
138
140
|
}), message.id);
|
|
139
141
|
}), status === "submitted" && (renderLoader !== null && renderLoader !== void 0 ? renderLoader : /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChatMessageLoader.ChatMessageLoader, _objectSpread({}, loaderProps))), status === "error" && (renderError !== null && renderError !== void 0 ? renderError : /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChatMessageError.ChatMessageError, _objectSpread(_objectSpread({}, errorProps), {}, {
|
|
140
142
|
onReload: onReload
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const AmexCardIcon: import("react").ForwardRefExoticComponent<import(".").IconProps & {
|
|
2
|
+
variant?: "default" | "colorful";
|
|
3
|
+
} & import("react").RefAttributes<SVGSVGElement>>;
|
|
@@ -9,7 +9,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
9
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
10
|
var _react = require("react");
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
-
var _excluded = ["width", "height"];
|
|
12
|
+
var _excluded = ["width", "height", "variant"];
|
|
13
13
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
14
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
15
|
var AmexCardIcon = exports.AmexCardIcon = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
@@ -17,7 +17,34 @@ var AmexCardIcon = exports.AmexCardIcon = /*#__PURE__*/(0, _react.forwardRef)(fu
|
|
|
17
17
|
width = _ref$width === void 0 ? 24 : _ref$width,
|
|
18
18
|
_ref$height = _ref.height,
|
|
19
19
|
height = _ref$height === void 0 ? 24 : _ref$height,
|
|
20
|
+
_ref$variant = _ref.variant,
|
|
21
|
+
variant = _ref$variant === void 0 ? "default" : _ref$variant,
|
|
20
22
|
rest = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
23
|
+
if (variant === "colorful") {
|
|
24
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", _objectSpread(_objectSpread({
|
|
25
|
+
ref: ref,
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
+
width: width,
|
|
28
|
+
height: height,
|
|
29
|
+
viewBox: "0 0 640 640"
|
|
30
|
+
}, rest), {}, {
|
|
31
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
|
|
32
|
+
x: "32",
|
|
33
|
+
y: "96",
|
|
34
|
+
width: "576",
|
|
35
|
+
height: "448",
|
|
36
|
+
rx: "48",
|
|
37
|
+
fill: "#f5f5fa",
|
|
38
|
+
stroke: "#d6d6e7",
|
|
39
|
+
strokeWidth: "1",
|
|
40
|
+
vectorEffect: "non-scaling-stroke"
|
|
41
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
42
|
+
fill: "#006FCF",
|
|
43
|
+
fillRule: "evenodd",
|
|
44
|
+
d: "M472.4 474.3L514.6 428L556.6 474.3L608 474.3L540 402.2L608 330.1L557.4 330.1L515.4 376.8L473.9 330.1L422.5 330.1L490 402.6L422.6 474.2L422.6 441.1L339.6 441.1L339.6 418.9L420.5 418.9L420.5 386.6L339.6 386.6L339.6 364.2L422.6 364.2L422.6 331.1L300.6 331.1L300.6 474.3L472.4 474.3zM568.7 402.3L608 444.2L608 360.9L568.7 402.3zM532.4 310.3L569.3 209.7L569.3 310.3L608 310.3L608 167L547.8 167L515.6 256.3L483.7 167L422.5 167L422.5 310.1L359.3 167L308.1 167L245.7 310.3L288.7 310.3L300.6 281.6L366.5 281.6L378.5 310.3L461.2 310.3L461.2 210L498 310.3L532.4 310.3zM314 249.4L333.5 202.5L352.9 249.4L314 249.4z"
|
|
45
|
+
})]
|
|
46
|
+
}));
|
|
47
|
+
}
|
|
21
48
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", _objectSpread(_objectSpread({
|
|
22
49
|
ref: ref,
|
|
23
50
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const DiscoverCardIcon: import("react").ForwardRefExoticComponent<import(".").IconProps & {
|
|
2
|
+
variant?: "default" | "colorful";
|
|
3
|
+
} & import("react").RefAttributes<SVGSVGElement>>;
|
|
@@ -9,7 +9,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
9
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
10
|
var _react = require("react");
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
-
var _excluded = ["width", "height"];
|
|
12
|
+
var _excluded = ["width", "height", "variant"];
|
|
13
13
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
14
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
15
|
var DiscoverCardIcon = exports.DiscoverCardIcon = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
@@ -17,7 +17,37 @@ var DiscoverCardIcon = exports.DiscoverCardIcon = /*#__PURE__*/(0, _react.forwar
|
|
|
17
17
|
width = _ref$width === void 0 ? 24 : _ref$width,
|
|
18
18
|
_ref$height = _ref.height,
|
|
19
19
|
height = _ref$height === void 0 ? 24 : _ref$height,
|
|
20
|
+
_ref$variant = _ref.variant,
|
|
21
|
+
variant = _ref$variant === void 0 ? "default" : _ref$variant,
|
|
20
22
|
rest = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
23
|
+
if (variant === "colorful") {
|
|
24
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", _objectSpread(_objectSpread({
|
|
25
|
+
ref: ref,
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
+
width: width,
|
|
28
|
+
height: height,
|
|
29
|
+
viewBox: "0 0 640 640"
|
|
30
|
+
}, rest), {}, {
|
|
31
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
|
|
32
|
+
x: "32",
|
|
33
|
+
y: "96",
|
|
34
|
+
width: "576",
|
|
35
|
+
height: "448",
|
|
36
|
+
rx: "48",
|
|
37
|
+
fill: "#f5f5fa",
|
|
38
|
+
stroke: "#d6d6e7",
|
|
39
|
+
strokeWidth: "1",
|
|
40
|
+
vectorEffect: "non-scaling-stroke"
|
|
41
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
42
|
+
fill: "#ff6d00",
|
|
43
|
+
d: "M576 497C576 505.2 569.2 512 561 512L160 512C349.6 476.4 542.7 372.8 576 352L576 497zM335.4 321.2C310.8 321.2 290.8 301.2 290.8 276.6C290.8 252 310.8 232 335.4 232C360 232 380 252 380 276.6C380 301.2 360 321.2 335.4 321.2z"
|
|
44
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
45
|
+
fill: "#000",
|
|
46
|
+
fillRule: "evenodd",
|
|
47
|
+
d: "M552.4 260.1C552.4 252.2 546.9 248 536.8 248L531.9 248L531.9 272.9L536.6 272.9C546.9 272.9 552.4 268.5 552.4 260.1zM515.9 234.9C538.5 234.9 568.8 230.8 568.8 259.3C568.8 271.9 562.2 280 550.1 282.5L575.9 316.9L556.3 316.9L534.1 284.1L531.9 284.1L531.9 316.9L515.9 316.9L515.9 234.9zM460 235L505.3 235L505.3 249L476 249L476 267.2L504.3 267.2L504.3 281L476 281L476 303.2L505.3 303.2L505.3 317L460 317L460 235zM391.3 235L413.2 290.2L435.4 235L452.9 235L417.4 319.2L408.8 319.2L373.8 235L391.3 235zM286.1 238.1L286.1 257.1C266 237 239.3 252.4 239.3 276.1C239.3 301.1 266.8 314.6 286.1 295.3L286.1 314.3C256.4 328.6 222.8 308.6 222.8 276.1C222.8 244.9 255.9 223.1 286.1 238.1zM188.9 304.4C200.3 304.4 211.3 289.1 185.6 280C170.6 274.5 165.4 268.6 165.4 257.3C165.4 234.1 196 225.9 215.1 243L206.7 253.8C196.3 242.2 181.8 247.6 181.8 256.3C181.8 260.7 184.5 263.2 194.1 266.6C212.3 273.2 217.7 279.1 217.7 292.2C217.7 321.7 178.9 329.6 161.1 303.5L171.4 293.6C175.1 300.7 181.3 304.4 188.9 304.4zM87.4 317L64 317L64 235L87.4 235C113.5 235 131.5 252 131.5 276.1C131.5 294.6 118.3 317 87.4 317zM154.9 317L138.9 317L138.9 235L154.9 235L154.9 317zM106.1 255.6C100.9 250.7 94.5 249 84.2 249L80 249L80 303.2L84.2 303.2C94.5 303.2 101.2 301.2 106.1 296.8C111.8 291.6 115 284 115 276.1C115 268.2 111.8 260.6 106.1 255.6z"
|
|
48
|
+
})]
|
|
49
|
+
}));
|
|
50
|
+
}
|
|
21
51
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", _objectSpread(_objectSpread({
|
|
22
52
|
ref: ref,
|
|
23
53
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const MasterCardIcon: import("react").ForwardRefExoticComponent<import(".").IconProps & {
|
|
2
|
+
variant?: "default" | "colorful";
|
|
3
|
+
} & import("react").RefAttributes<SVGSVGElement>>;
|
|
@@ -9,7 +9,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
9
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
10
|
var _react = require("react");
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
-
var _excluded = ["width", "height"];
|
|
12
|
+
var _excluded = ["width", "height", "variant"];
|
|
13
13
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
14
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
15
|
var MasterCardIcon = exports.MasterCardIcon = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
@@ -17,7 +17,47 @@ var MasterCardIcon = exports.MasterCardIcon = /*#__PURE__*/(0, _react.forwardRef
|
|
|
17
17
|
width = _ref$width === void 0 ? 24 : _ref$width,
|
|
18
18
|
_ref$height = _ref.height,
|
|
19
19
|
height = _ref$height === void 0 ? 24 : _ref$height,
|
|
20
|
+
_ref$variant = _ref.variant,
|
|
21
|
+
variant = _ref$variant === void 0 ? "default" : _ref$variant,
|
|
20
22
|
rest = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
23
|
+
if (variant === "colorful") {
|
|
24
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", _objectSpread(_objectSpread({
|
|
25
|
+
ref: ref,
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
+
width: width,
|
|
28
|
+
height: height,
|
|
29
|
+
viewBox: "0 0 640 640"
|
|
30
|
+
}, rest), {}, {
|
|
31
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
|
|
32
|
+
x: "32",
|
|
33
|
+
y: "96",
|
|
34
|
+
width: "576",
|
|
35
|
+
height: "448",
|
|
36
|
+
rx: "48",
|
|
37
|
+
fill: "#f5f5fa",
|
|
38
|
+
stroke: "#d6d6e7",
|
|
39
|
+
strokeWidth: "1",
|
|
40
|
+
vectorEffect: "non-scaling-stroke"
|
|
41
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
|
|
42
|
+
cx: "234.5",
|
|
43
|
+
cy: "284.6",
|
|
44
|
+
r: "138.5",
|
|
45
|
+
fill: "#eb001b"
|
|
46
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
|
|
47
|
+
cx: "405.5",
|
|
48
|
+
cy: "284.6",
|
|
49
|
+
r: "138.5",
|
|
50
|
+
fill: "#f79e1b"
|
|
51
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
52
|
+
fill: "#ff5f00",
|
|
53
|
+
d: "M320 393.4C390.5 338.4 390.2 231.2 320 175.9C249.8 231.2 249.5 338.5 320 393.4z"
|
|
54
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
55
|
+
fill: "#000",
|
|
56
|
+
fillRule: "evenodd",
|
|
57
|
+
d: "M514.9 474.3C514.9 481.1 510.3 486 503.7 486C496.9 486 492.5 480.8 492.5 474.3C492.5 467.8 496.9 462.6 503.7 462.6C510.3 462.6 514.9 467.8 514.9 474.3zM204.1 462.6C197 462.6 192.9 467.8 192.9 474.3C192.9 480.8 197 486 204.1 486C210.6 486 215 481.1 215 474.3C214.9 467.8 210.6 462.6 204.1 462.6zM321.6 462.3C316.2 462.3 312.9 465.8 312.1 471L331.2 471C330.3 465.3 326.8 462.3 321.6 462.3zM429.4 462.6C422.6 462.6 418.5 467.8 418.5 474.3C418.5 480.8 422.6 486 429.4 486C436.2 486 440.6 481.1 440.6 474.3C440.6 467.8 436.2 462.6 429.4 462.6zM535.3 488.7C535.3 489 535.6 489.2 535.6 489.8C535.6 490.1 535.3 490.3 535.3 490.9C535 491.2 535 491.4 534.8 491.7C534.5 492 534.3 492.2 533.7 492.2C533.4 492.5 533.2 492.5 532.6 492.5C532.3 492.5 532.1 492.5 531.5 492.2C531.2 492.2 531 491.9 530.7 491.7C530.4 491.4 530.2 491.2 530.2 490.9C529.9 490.4 529.9 490.1 529.9 489.8C529.9 489.3 529.9 489 530.2 488.7C530.2 488.2 530.5 487.9 530.7 487.6C531 487.3 531.2 487.3 531.5 487.1C532 486.8 532.3 486.8 532.6 486.8C533.1 486.8 533.4 486.8 533.7 487.1C534.2 487.4 534.5 487.4 534.8 487.6C535.1 487.8 535 488.2 535.3 488.7zM533.1 490.1C533.6 490.1 533.6 489.8 533.9 489.8C534.2 489.5 534.2 489.3 534.2 489C534.2 488.7 534.2 488.5 533.9 488.2C533.6 488.2 533.4 487.9 532.8 487.9L531.2 487.9L531.2 491.4L532 491.4L532 490L532.3 490L533.4 491.4L534.2 491.4L533.1 490.1zM177.7 469.7C177.7 461 172 455.3 163 455C158.4 455 153.5 456.4 150.2 461.5C147.8 457.4 143.7 455 138 455C134.2 455 130.4 456.4 127.4 460.4L127.4 456L119.2 456L119.2 492.7L127.4 492.7C127.4 473.8 124.9 462.5 136.4 462.5C146.6 462.5 144.6 472.7 144.6 492.7L152.5 492.7C152.5 474.4 150 462.5 161.5 462.5C171.7 462.5 169.7 472.5 169.7 492.7L177.9 492.7L177.9 469.7L177.7 469.7zM222.6 456L214.7 456L214.7 460.4C212 457.1 208.2 455 203 455C192.7 455 184.8 463.2 184.8 474.3C184.8 485.5 192.7 493.6 203 493.6C208.2 493.6 212 491.7 214.7 488.2L214.7 492.8L222.6 492.8L222.6 456zM263.1 481.6C263.1 466.6 240.2 473.4 240.2 466.4C240.2 460.7 252.1 461.6 258.7 465.3L262 458.8C252.6 452.7 231.8 452.8 231.8 467C231.8 481.3 254.7 475.3 254.7 482C254.7 488.3 241.2 487.8 234 482.8L230.5 489.1C241.7 496.7 263.1 495.1 263.1 481.6zM298.5 490.9L296.3 484.1C292.5 486.2 284.1 488.5 284.1 480L284.1 463.4L297.2 463.4L297.2 456L284.1 456L284.1 444.8L275.9 444.8L275.9 456L268.3 456L268.3 463.3L275.9 463.3L275.9 480C275.9 497.6 293.2 494.4 298.5 490.9zM311.8 477.5L339.3 477.5C339.3 461.3 331.9 454.9 321.9 454.9C311.3 454.9 303.7 462.8 303.7 474.2C303.7 494.7 326.3 498.1 337.5 488.4L333.7 482.4C325.9 488.8 314.1 488.2 311.8 477.5zM370.9 456C366.3 454 359.3 454.2 355.7 460.4L355.7 456L347.5 456L347.5 492.7L355.7 492.7L355.7 472C355.7 460.4 365.2 461.9 368.5 463.6L370.9 456zM381.5 474.3C381.5 462.9 393.1 459.2 402.2 465.9L406 459.4C394.4 450.3 373.3 455.3 373.3 474.4C373.3 494.2 395.7 498.2 406 489.4L402.2 482.9C393 489.4 381.5 485.5 381.5 474.3zM448.2 456L440 456L440 460.4C431.7 449.4 410.1 455.6 410.1 474.3C410.1 493.5 432.5 499 440 488.2L440 492.8L448.2 492.8L448.2 456zM481.9 456C479.5 454.8 470.9 453.1 466.7 460.4L466.7 456L458.8 456L458.8 492.7L466.7 492.7L466.7 472C466.7 461 475.7 461.7 479.5 463.6L481.9 456zM522.2 441.1L514.3 441.1L514.3 460.4C506.1 449.5 484.4 455.3 484.4 474.3C484.4 493.7 506.9 498.9 514.3 488.2L514.3 492.8L522.2 492.8L522.2 441.1zM536.4 489.8C536.4 489.3 536.4 488.7 536.1 488.2C535.8 487.9 535.6 487.4 535.3 487.1C535 486.8 534.5 486.6 534.2 486.3C533.7 486.3 533.1 486 532.6 486C532.3 486 531.8 486.3 531.2 486.3C530.7 486.6 530.4 486.8 530.1 487.1C529.6 487.4 529.3 487.9 529.3 488.2C529 488.7 529 489.3 529 489.8C529 490.1 529 490.6 529.3 491.2C529.3 491.5 529.6 492 530.1 492.3C530.4 492.6 530.6 492.8 531.2 493.1C531.7 493.4 532.3 493.4 532.6 493.4C533.1 493.4 533.7 493.4 534.2 493.1C534.5 492.8 535 492.6 535.3 492.3C535.6 492 535.8 491.5 536.1 491.2C536.4 490.6 536.4 490.1 536.4 489.8z"
|
|
58
|
+
})]
|
|
59
|
+
}));
|
|
60
|
+
}
|
|
21
61
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", _objectSpread(_objectSpread({
|
|
22
62
|
ref: ref,
|
|
23
63
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const VisaCardIcon: import("react").ForwardRefExoticComponent<import(".").IconProps & {
|
|
2
|
+
variant?: "default" | "colorful";
|
|
3
|
+
} & import("react").RefAttributes<SVGSVGElement>>;
|
|
@@ -9,7 +9,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
9
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
10
|
var _react = require("react");
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
-
var _excluded = ["width", "height"];
|
|
12
|
+
var _excluded = ["width", "height", "variant"];
|
|
13
13
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
14
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
15
|
var VisaCardIcon = exports.VisaCardIcon = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
@@ -17,7 +17,33 @@ var VisaCardIcon = exports.VisaCardIcon = /*#__PURE__*/(0, _react.forwardRef)(fu
|
|
|
17
17
|
width = _ref$width === void 0 ? 24 : _ref$width,
|
|
18
18
|
_ref$height = _ref.height,
|
|
19
19
|
height = _ref$height === void 0 ? 24 : _ref$height,
|
|
20
|
+
_ref$variant = _ref.variant,
|
|
21
|
+
variant = _ref$variant === void 0 ? "default" : _ref$variant,
|
|
20
22
|
rest = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
23
|
+
if (variant === "colorful") {
|
|
24
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", _objectSpread(_objectSpread({
|
|
25
|
+
ref: ref,
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
+
width: width,
|
|
28
|
+
height: height,
|
|
29
|
+
viewBox: "0 0 640 640"
|
|
30
|
+
}, rest), {}, {
|
|
31
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
|
|
32
|
+
x: "32",
|
|
33
|
+
y: "96",
|
|
34
|
+
width: "576",
|
|
35
|
+
height: "448",
|
|
36
|
+
rx: "48",
|
|
37
|
+
fill: "#f5f5fa",
|
|
38
|
+
stroke: "#d6d6e7",
|
|
39
|
+
strokeWidth: "1",
|
|
40
|
+
vectorEffect: "non-scaling-stroke"
|
|
41
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
42
|
+
fill: "#1434CB",
|
|
43
|
+
d: "M502.1 295.3C502.1 295.3 509.7 332.5 511.4 340.3L478 340.3C481.3 331.4 494 296.8 494 296.8C493.8 297.1 497.3 287.7 499.3 281.9L502.1 295.3zM184.5 395.2L247.7 240L205.2 240L165.9 346L161.6 324.5L147.6 253.1C145.3 243.2 138.2 240.4 129.4 240L64.7 240L64 243.1C79.8 247.1 93.9 252.9 106.2 260.2L142 395.2L184.5 395.2zM278.9 395.4L304.1 240L263.9 240L238.8 395.4L278.9 395.4zM418.8 344.6C419 326.9 408.2 313.4 385.1 302.3C371 295.2 362.4 290.4 362.4 283.1C362.6 276.5 369.7 269.7 385.5 269.7C398.6 269.4 408.2 272.5 415.4 275.6L419 277.3L424.5 243.7C416.6 240.6 404 237.1 388.5 237.1C348.8 237.1 320.9 258.3 320.7 288.5C320.4 310.8 340.7 323.2 355.9 330.7C371.4 338.3 376.7 343.3 376.7 350C376.5 360.4 364.1 365.2 352.6 365.2C336.6 365.2 328 362.7 314.9 356.9L309.6 354.4L304 389.3C313.4 393.6 330.8 397.4 348.8 397.6C391 397.7 418.5 376.8 418.8 344.6zM560 395.4L527.6 240L496.5 240C486.9 240 479.6 242.8 475.5 252.9L415.8 395.4L458 395.4C458 395.4 464.9 376.2 466.4 372.1L518 372.1C519.2 377.6 522.8 395.4 522.8 395.4L560 395.4z"
|
|
44
|
+
})]
|
|
45
|
+
}));
|
|
46
|
+
}
|
|
21
47
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", _objectSpread(_objectSpread({
|
|
22
48
|
ref: ref,
|
|
23
49
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { ComponentClass, SVGAttributes, VoidFunctionComponent } from "react";
|
|
2
2
|
export type IconProps = SVGAttributes<SVGElement>;
|
|
3
3
|
export type IconComponentType = VoidFunctionComponent<IconProps> | ComponentClass<IconProps>;
|
|
4
|
+
export type CardIconProps = IconProps & {
|
|
5
|
+
variant?: "default" | "colorful";
|
|
6
|
+
};
|
|
4
7
|
export { DragHandleIcon } from "./DragHandleIcon";
|
|
5
8
|
export { NoFiltersIcon } from "./NoFiltersIcon";
|
|
6
9
|
export { CrawlerIcon } from "./CrawlerIcon";
|
|
@@ -8,7 +8,7 @@ export var BUTTON_SIZE_CLASSNAMES = {
|
|
|
8
8
|
};
|
|
9
9
|
export var BUTTON_PADDING_CLASSNAMES = {
|
|
10
10
|
small: stl(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["px-2"]))),
|
|
11
|
-
medium: stl(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["px-
|
|
11
|
+
medium: stl(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["px-3"]))),
|
|
12
12
|
large: stl(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["px-4"])))
|
|
13
13
|
};
|
|
14
14
|
export var BUTTON_LOADER_ICON_SIZES = {
|
|
@@ -128,6 +128,8 @@ var ChatMessagesBase = function ChatMessagesBase(_ref, forwardedRef) {
|
|
|
128
128
|
actionsExtraData: message,
|
|
129
129
|
"data-role": message.role,
|
|
130
130
|
"data-key": message.id
|
|
131
|
+
}, isAssistant && {
|
|
132
|
+
"data-ai-generated": "true"
|
|
131
133
|
}), message.id);
|
|
132
134
|
}), status === "submitted" && (renderLoader !== null && renderLoader !== void 0 ? renderLoader : /*#__PURE__*/_jsx(ChatMessageLoader, _objectSpread({}, loaderProps))), status === "error" && (renderError !== null && renderError !== void 0 ? renderError : /*#__PURE__*/_jsx(ChatMessageError, _objectSpread(_objectSpread({}, errorProps), {}, {
|
|
133
135
|
onReload: onReload
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const AmexCardIcon: import("react").ForwardRefExoticComponent<import(".").IconProps & {
|
|
2
|
+
variant?: "default" | "colorful";
|
|
3
|
+
} & import("react").RefAttributes<SVGSVGElement>>;
|
|
@@ -1,16 +1,43 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["width", "height"];
|
|
3
|
+
var _excluded = ["width", "height", "variant"];
|
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
6
|
import { forwardRef } from "react";
|
|
7
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
8
|
export var AmexCardIcon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
9
9
|
var _ref$width = _ref.width,
|
|
10
10
|
width = _ref$width === void 0 ? 24 : _ref$width,
|
|
11
11
|
_ref$height = _ref.height,
|
|
12
12
|
height = _ref$height === void 0 ? 24 : _ref$height,
|
|
13
|
+
_ref$variant = _ref.variant,
|
|
14
|
+
variant = _ref$variant === void 0 ? "default" : _ref$variant,
|
|
13
15
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
16
|
+
if (variant === "colorful") {
|
|
17
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
18
|
+
ref: ref,
|
|
19
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
+
width: width,
|
|
21
|
+
height: height,
|
|
22
|
+
viewBox: "0 0 640 640"
|
|
23
|
+
}, rest), {}, {
|
|
24
|
+
children: [/*#__PURE__*/_jsx("rect", {
|
|
25
|
+
x: "32",
|
|
26
|
+
y: "96",
|
|
27
|
+
width: "576",
|
|
28
|
+
height: "448",
|
|
29
|
+
rx: "48",
|
|
30
|
+
fill: "#f5f5fa",
|
|
31
|
+
stroke: "#d6d6e7",
|
|
32
|
+
strokeWidth: "1",
|
|
33
|
+
vectorEffect: "non-scaling-stroke"
|
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
35
|
+
fill: "#006FCF",
|
|
36
|
+
fillRule: "evenodd",
|
|
37
|
+
d: "M472.4 474.3L514.6 428L556.6 474.3L608 474.3L540 402.2L608 330.1L557.4 330.1L515.4 376.8L473.9 330.1L422.5 330.1L490 402.6L422.6 474.2L422.6 441.1L339.6 441.1L339.6 418.9L420.5 418.9L420.5 386.6L339.6 386.6L339.6 364.2L422.6 364.2L422.6 331.1L300.6 331.1L300.6 474.3L472.4 474.3zM568.7 402.3L608 444.2L608 360.9L568.7 402.3zM532.4 310.3L569.3 209.7L569.3 310.3L608 310.3L608 167L547.8 167L515.6 256.3L483.7 167L422.5 167L422.5 310.1L359.3 167L308.1 167L245.7 310.3L288.7 310.3L300.6 281.6L366.5 281.6L378.5 310.3L461.2 310.3L461.2 210L498 310.3L532.4 310.3zM314 249.4L333.5 202.5L352.9 249.4L314 249.4z"
|
|
38
|
+
})]
|
|
39
|
+
}));
|
|
40
|
+
}
|
|
14
41
|
return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
|
|
15
42
|
ref: ref,
|
|
16
43
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const DiscoverCardIcon: import("react").ForwardRefExoticComponent<import(".").IconProps & {
|
|
2
|
+
variant?: "default" | "colorful";
|
|
3
|
+
} & import("react").RefAttributes<SVGSVGElement>>;
|
|
@@ -1,16 +1,46 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["width", "height"];
|
|
3
|
+
var _excluded = ["width", "height", "variant"];
|
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
6
|
import { forwardRef } from "react";
|
|
7
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
8
|
export var DiscoverCardIcon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
9
9
|
var _ref$width = _ref.width,
|
|
10
10
|
width = _ref$width === void 0 ? 24 : _ref$width,
|
|
11
11
|
_ref$height = _ref.height,
|
|
12
12
|
height = _ref$height === void 0 ? 24 : _ref$height,
|
|
13
|
+
_ref$variant = _ref.variant,
|
|
14
|
+
variant = _ref$variant === void 0 ? "default" : _ref$variant,
|
|
13
15
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
16
|
+
if (variant === "colorful") {
|
|
17
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
18
|
+
ref: ref,
|
|
19
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
+
width: width,
|
|
21
|
+
height: height,
|
|
22
|
+
viewBox: "0 0 640 640"
|
|
23
|
+
}, rest), {}, {
|
|
24
|
+
children: [/*#__PURE__*/_jsx("rect", {
|
|
25
|
+
x: "32",
|
|
26
|
+
y: "96",
|
|
27
|
+
width: "576",
|
|
28
|
+
height: "448",
|
|
29
|
+
rx: "48",
|
|
30
|
+
fill: "#f5f5fa",
|
|
31
|
+
stroke: "#d6d6e7",
|
|
32
|
+
strokeWidth: "1",
|
|
33
|
+
vectorEffect: "non-scaling-stroke"
|
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
35
|
+
fill: "#ff6d00",
|
|
36
|
+
d: "M576 497C576 505.2 569.2 512 561 512L160 512C349.6 476.4 542.7 372.8 576 352L576 497zM335.4 321.2C310.8 321.2 290.8 301.2 290.8 276.6C290.8 252 310.8 232 335.4 232C360 232 380 252 380 276.6C380 301.2 360 321.2 335.4 321.2z"
|
|
37
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
38
|
+
fill: "#000",
|
|
39
|
+
fillRule: "evenodd",
|
|
40
|
+
d: "M552.4 260.1C552.4 252.2 546.9 248 536.8 248L531.9 248L531.9 272.9L536.6 272.9C546.9 272.9 552.4 268.5 552.4 260.1zM515.9 234.9C538.5 234.9 568.8 230.8 568.8 259.3C568.8 271.9 562.2 280 550.1 282.5L575.9 316.9L556.3 316.9L534.1 284.1L531.9 284.1L531.9 316.9L515.9 316.9L515.9 234.9zM460 235L505.3 235L505.3 249L476 249L476 267.2L504.3 267.2L504.3 281L476 281L476 303.2L505.3 303.2L505.3 317L460 317L460 235zM391.3 235L413.2 290.2L435.4 235L452.9 235L417.4 319.2L408.8 319.2L373.8 235L391.3 235zM286.1 238.1L286.1 257.1C266 237 239.3 252.4 239.3 276.1C239.3 301.1 266.8 314.6 286.1 295.3L286.1 314.3C256.4 328.6 222.8 308.6 222.8 276.1C222.8 244.9 255.9 223.1 286.1 238.1zM188.9 304.4C200.3 304.4 211.3 289.1 185.6 280C170.6 274.5 165.4 268.6 165.4 257.3C165.4 234.1 196 225.9 215.1 243L206.7 253.8C196.3 242.2 181.8 247.6 181.8 256.3C181.8 260.7 184.5 263.2 194.1 266.6C212.3 273.2 217.7 279.1 217.7 292.2C217.7 321.7 178.9 329.6 161.1 303.5L171.4 293.6C175.1 300.7 181.3 304.4 188.9 304.4zM87.4 317L64 317L64 235L87.4 235C113.5 235 131.5 252 131.5 276.1C131.5 294.6 118.3 317 87.4 317zM154.9 317L138.9 317L138.9 235L154.9 235L154.9 317zM106.1 255.6C100.9 250.7 94.5 249 84.2 249L80 249L80 303.2L84.2 303.2C94.5 303.2 101.2 301.2 106.1 296.8C111.8 291.6 115 284 115 276.1C115 268.2 111.8 260.6 106.1 255.6z"
|
|
41
|
+
})]
|
|
42
|
+
}));
|
|
43
|
+
}
|
|
14
44
|
return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
|
|
15
45
|
ref: ref,
|
|
16
46
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const MasterCardIcon: import("react").ForwardRefExoticComponent<import(".").IconProps & {
|
|
2
|
+
variant?: "default" | "colorful";
|
|
3
|
+
} & import("react").RefAttributes<SVGSVGElement>>;
|
|
@@ -1,16 +1,56 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["width", "height"];
|
|
3
|
+
var _excluded = ["width", "height", "variant"];
|
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
6
|
import { forwardRef } from "react";
|
|
7
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
8
|
export var MasterCardIcon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
9
9
|
var _ref$width = _ref.width,
|
|
10
10
|
width = _ref$width === void 0 ? 24 : _ref$width,
|
|
11
11
|
_ref$height = _ref.height,
|
|
12
12
|
height = _ref$height === void 0 ? 24 : _ref$height,
|
|
13
|
+
_ref$variant = _ref.variant,
|
|
14
|
+
variant = _ref$variant === void 0 ? "default" : _ref$variant,
|
|
13
15
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
16
|
+
if (variant === "colorful") {
|
|
17
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
18
|
+
ref: ref,
|
|
19
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
+
width: width,
|
|
21
|
+
height: height,
|
|
22
|
+
viewBox: "0 0 640 640"
|
|
23
|
+
}, rest), {}, {
|
|
24
|
+
children: [/*#__PURE__*/_jsx("rect", {
|
|
25
|
+
x: "32",
|
|
26
|
+
y: "96",
|
|
27
|
+
width: "576",
|
|
28
|
+
height: "448",
|
|
29
|
+
rx: "48",
|
|
30
|
+
fill: "#f5f5fa",
|
|
31
|
+
stroke: "#d6d6e7",
|
|
32
|
+
strokeWidth: "1",
|
|
33
|
+
vectorEffect: "non-scaling-stroke"
|
|
34
|
+
}), /*#__PURE__*/_jsx("circle", {
|
|
35
|
+
cx: "234.5",
|
|
36
|
+
cy: "284.6",
|
|
37
|
+
r: "138.5",
|
|
38
|
+
fill: "#eb001b"
|
|
39
|
+
}), /*#__PURE__*/_jsx("circle", {
|
|
40
|
+
cx: "405.5",
|
|
41
|
+
cy: "284.6",
|
|
42
|
+
r: "138.5",
|
|
43
|
+
fill: "#f79e1b"
|
|
44
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
45
|
+
fill: "#ff5f00",
|
|
46
|
+
d: "M320 393.4C390.5 338.4 390.2 231.2 320 175.9C249.8 231.2 249.5 338.5 320 393.4z"
|
|
47
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
48
|
+
fill: "#000",
|
|
49
|
+
fillRule: "evenodd",
|
|
50
|
+
d: "M514.9 474.3C514.9 481.1 510.3 486 503.7 486C496.9 486 492.5 480.8 492.5 474.3C492.5 467.8 496.9 462.6 503.7 462.6C510.3 462.6 514.9 467.8 514.9 474.3zM204.1 462.6C197 462.6 192.9 467.8 192.9 474.3C192.9 480.8 197 486 204.1 486C210.6 486 215 481.1 215 474.3C214.9 467.8 210.6 462.6 204.1 462.6zM321.6 462.3C316.2 462.3 312.9 465.8 312.1 471L331.2 471C330.3 465.3 326.8 462.3 321.6 462.3zM429.4 462.6C422.6 462.6 418.5 467.8 418.5 474.3C418.5 480.8 422.6 486 429.4 486C436.2 486 440.6 481.1 440.6 474.3C440.6 467.8 436.2 462.6 429.4 462.6zM535.3 488.7C535.3 489 535.6 489.2 535.6 489.8C535.6 490.1 535.3 490.3 535.3 490.9C535 491.2 535 491.4 534.8 491.7C534.5 492 534.3 492.2 533.7 492.2C533.4 492.5 533.2 492.5 532.6 492.5C532.3 492.5 532.1 492.5 531.5 492.2C531.2 492.2 531 491.9 530.7 491.7C530.4 491.4 530.2 491.2 530.2 490.9C529.9 490.4 529.9 490.1 529.9 489.8C529.9 489.3 529.9 489 530.2 488.7C530.2 488.2 530.5 487.9 530.7 487.6C531 487.3 531.2 487.3 531.5 487.1C532 486.8 532.3 486.8 532.6 486.8C533.1 486.8 533.4 486.8 533.7 487.1C534.2 487.4 534.5 487.4 534.8 487.6C535.1 487.8 535 488.2 535.3 488.7zM533.1 490.1C533.6 490.1 533.6 489.8 533.9 489.8C534.2 489.5 534.2 489.3 534.2 489C534.2 488.7 534.2 488.5 533.9 488.2C533.6 488.2 533.4 487.9 532.8 487.9L531.2 487.9L531.2 491.4L532 491.4L532 490L532.3 490L533.4 491.4L534.2 491.4L533.1 490.1zM177.7 469.7C177.7 461 172 455.3 163 455C158.4 455 153.5 456.4 150.2 461.5C147.8 457.4 143.7 455 138 455C134.2 455 130.4 456.4 127.4 460.4L127.4 456L119.2 456L119.2 492.7L127.4 492.7C127.4 473.8 124.9 462.5 136.4 462.5C146.6 462.5 144.6 472.7 144.6 492.7L152.5 492.7C152.5 474.4 150 462.5 161.5 462.5C171.7 462.5 169.7 472.5 169.7 492.7L177.9 492.7L177.9 469.7L177.7 469.7zM222.6 456L214.7 456L214.7 460.4C212 457.1 208.2 455 203 455C192.7 455 184.8 463.2 184.8 474.3C184.8 485.5 192.7 493.6 203 493.6C208.2 493.6 212 491.7 214.7 488.2L214.7 492.8L222.6 492.8L222.6 456zM263.1 481.6C263.1 466.6 240.2 473.4 240.2 466.4C240.2 460.7 252.1 461.6 258.7 465.3L262 458.8C252.6 452.7 231.8 452.8 231.8 467C231.8 481.3 254.7 475.3 254.7 482C254.7 488.3 241.2 487.8 234 482.8L230.5 489.1C241.7 496.7 263.1 495.1 263.1 481.6zM298.5 490.9L296.3 484.1C292.5 486.2 284.1 488.5 284.1 480L284.1 463.4L297.2 463.4L297.2 456L284.1 456L284.1 444.8L275.9 444.8L275.9 456L268.3 456L268.3 463.3L275.9 463.3L275.9 480C275.9 497.6 293.2 494.4 298.5 490.9zM311.8 477.5L339.3 477.5C339.3 461.3 331.9 454.9 321.9 454.9C311.3 454.9 303.7 462.8 303.7 474.2C303.7 494.7 326.3 498.1 337.5 488.4L333.7 482.4C325.9 488.8 314.1 488.2 311.8 477.5zM370.9 456C366.3 454 359.3 454.2 355.7 460.4L355.7 456L347.5 456L347.5 492.7L355.7 492.7L355.7 472C355.7 460.4 365.2 461.9 368.5 463.6L370.9 456zM381.5 474.3C381.5 462.9 393.1 459.2 402.2 465.9L406 459.4C394.4 450.3 373.3 455.3 373.3 474.4C373.3 494.2 395.7 498.2 406 489.4L402.2 482.9C393 489.4 381.5 485.5 381.5 474.3zM448.2 456L440 456L440 460.4C431.7 449.4 410.1 455.6 410.1 474.3C410.1 493.5 432.5 499 440 488.2L440 492.8L448.2 492.8L448.2 456zM481.9 456C479.5 454.8 470.9 453.1 466.7 460.4L466.7 456L458.8 456L458.8 492.7L466.7 492.7L466.7 472C466.7 461 475.7 461.7 479.5 463.6L481.9 456zM522.2 441.1L514.3 441.1L514.3 460.4C506.1 449.5 484.4 455.3 484.4 474.3C484.4 493.7 506.9 498.9 514.3 488.2L514.3 492.8L522.2 492.8L522.2 441.1zM536.4 489.8C536.4 489.3 536.4 488.7 536.1 488.2C535.8 487.9 535.6 487.4 535.3 487.1C535 486.8 534.5 486.6 534.2 486.3C533.7 486.3 533.1 486 532.6 486C532.3 486 531.8 486.3 531.2 486.3C530.7 486.6 530.4 486.8 530.1 487.1C529.6 487.4 529.3 487.9 529.3 488.2C529 488.7 529 489.3 529 489.8C529 490.1 529 490.6 529.3 491.2C529.3 491.5 529.6 492 530.1 492.3C530.4 492.6 530.6 492.8 531.2 493.1C531.7 493.4 532.3 493.4 532.6 493.4C533.1 493.4 533.7 493.4 534.2 493.1C534.5 492.8 535 492.6 535.3 492.3C535.6 492 535.8 491.5 536.1 491.2C536.4 490.6 536.4 490.1 536.4 489.8z"
|
|
51
|
+
})]
|
|
52
|
+
}));
|
|
53
|
+
}
|
|
14
54
|
return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
|
|
15
55
|
ref: ref,
|
|
16
56
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const VisaCardIcon: import("react").ForwardRefExoticComponent<import(".").IconProps & {
|
|
2
|
+
variant?: "default" | "colorful";
|
|
3
|
+
} & import("react").RefAttributes<SVGSVGElement>>;
|
|
@@ -1,16 +1,42 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["width", "height"];
|
|
3
|
+
var _excluded = ["width", "height", "variant"];
|
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
6
|
import { forwardRef } from "react";
|
|
7
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
8
|
export var VisaCardIcon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
9
9
|
var _ref$width = _ref.width,
|
|
10
10
|
width = _ref$width === void 0 ? 24 : _ref$width,
|
|
11
11
|
_ref$height = _ref.height,
|
|
12
12
|
height = _ref$height === void 0 ? 24 : _ref$height,
|
|
13
|
+
_ref$variant = _ref.variant,
|
|
14
|
+
variant = _ref$variant === void 0 ? "default" : _ref$variant,
|
|
13
15
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
16
|
+
if (variant === "colorful") {
|
|
17
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
18
|
+
ref: ref,
|
|
19
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
+
width: width,
|
|
21
|
+
height: height,
|
|
22
|
+
viewBox: "0 0 640 640"
|
|
23
|
+
}, rest), {}, {
|
|
24
|
+
children: [/*#__PURE__*/_jsx("rect", {
|
|
25
|
+
x: "32",
|
|
26
|
+
y: "96",
|
|
27
|
+
width: "576",
|
|
28
|
+
height: "448",
|
|
29
|
+
rx: "48",
|
|
30
|
+
fill: "#f5f5fa",
|
|
31
|
+
stroke: "#d6d6e7",
|
|
32
|
+
strokeWidth: "1",
|
|
33
|
+
vectorEffect: "non-scaling-stroke"
|
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
35
|
+
fill: "#1434CB",
|
|
36
|
+
d: "M502.1 295.3C502.1 295.3 509.7 332.5 511.4 340.3L478 340.3C481.3 331.4 494 296.8 494 296.8C493.8 297.1 497.3 287.7 499.3 281.9L502.1 295.3zM184.5 395.2L247.7 240L205.2 240L165.9 346L161.6 324.5L147.6 253.1C145.3 243.2 138.2 240.4 129.4 240L64.7 240L64 243.1C79.8 247.1 93.9 252.9 106.2 260.2L142 395.2L184.5 395.2zM278.9 395.4L304.1 240L263.9 240L238.8 395.4L278.9 395.4zM418.8 344.6C419 326.9 408.2 313.4 385.1 302.3C371 295.2 362.4 290.4 362.4 283.1C362.6 276.5 369.7 269.7 385.5 269.7C398.6 269.4 408.2 272.5 415.4 275.6L419 277.3L424.5 243.7C416.6 240.6 404 237.1 388.5 237.1C348.8 237.1 320.9 258.3 320.7 288.5C320.4 310.8 340.7 323.2 355.9 330.7C371.4 338.3 376.7 343.3 376.7 350C376.5 360.4 364.1 365.2 352.6 365.2C336.6 365.2 328 362.7 314.9 356.9L309.6 354.4L304 389.3C313.4 393.6 330.8 397.4 348.8 397.6C391 397.7 418.5 376.8 418.8 344.6zM560 395.4L527.6 240L496.5 240C486.9 240 479.6 242.8 475.5 252.9L415.8 395.4L458 395.4C458 395.4 464.9 376.2 466.4 372.1L518 372.1C519.2 377.6 522.8 395.4 522.8 395.4L560 395.4z"
|
|
37
|
+
})]
|
|
38
|
+
}));
|
|
39
|
+
}
|
|
14
40
|
return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
|
|
15
41
|
ref: ref,
|
|
16
42
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { ComponentClass, SVGAttributes, VoidFunctionComponent } from "react";
|
|
2
2
|
export type IconProps = SVGAttributes<SVGElement>;
|
|
3
3
|
export type IconComponentType = VoidFunctionComponent<IconProps> | ComponentClass<IconProps>;
|
|
4
|
+
export type CardIconProps = IconProps & {
|
|
5
|
+
variant?: "default" | "colorful";
|
|
6
|
+
};
|
|
4
7
|
export { DragHandleIcon } from "./DragHandleIcon";
|
|
5
8
|
export { NoFiltersIcon } from "./NoFiltersIcon";
|
|
6
9
|
export { CrawlerIcon } from "./CrawlerIcon";
|