@codecademy/gamut-icons 9.4.2-alpha.cd6532.0 → 9.4.2
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/icons/mini/MiniAddIcon.js +29 -19
- package/dist/icons/mini/MiniArrowDownIcon.js +29 -19
- package/dist/icons/mini/MiniArrowLeftIcon.js +29 -19
- package/dist/icons/mini/MiniArrowRightIcon.js +29 -19
- package/dist/icons/mini/MiniArrowUpIcon.js +29 -19
- package/dist/icons/mini/MiniCheckCircleIcon.js +29 -19
- package/dist/icons/mini/MiniChevronDownIcon.js +29 -19
- package/dist/icons/mini/MiniChevronLeftIcon.js +29 -19
- package/dist/icons/mini/MiniChevronRightIcon.js +29 -19
- package/dist/icons/mini/MiniChevronUpIcon.js +29 -19
- package/dist/icons/mini/MiniCircleIcon.js +29 -19
- package/dist/icons/mini/MiniDeleteIcon.js +29 -19
- package/dist/icons/mini/MiniInfoCircleIcon.js +29 -19
- package/dist/icons/mini/MiniInfoOutlineIcon.js +29 -19
- package/dist/icons/mini/MiniKebabMenuIcon.js +29 -19
- package/dist/icons/mini/MiniRemoveCircleIcon.js +29 -19
- package/dist/icons/mini/MiniRibbonIcon.js +29 -19
- package/dist/icons/mini/MiniStarIcon.js +29 -19
- package/dist/icons/mini/MiniWarningTriangleIcon.js +29 -19
- package/dist/icons/regular/AccountingCoinsIcon.js +29 -19
- package/dist/icons/regular/AddBoldIcon.js +29 -19
- package/dist/icons/regular/AddIcon.js +29 -19
- package/dist/icons/regular/AiChatSparkFilledIcon.js +29 -19
- package/dist/icons/regular/AiChatSparkIcon.js +29 -19
- package/dist/icons/regular/AlarmClockIcon.js +29 -19
- package/dist/icons/regular/AlertIcon.js +29 -19
- package/dist/icons/regular/AmexIcon.js +29 -19
- package/dist/icons/regular/AnalyticsGraphIcon.js +29 -19
- package/dist/icons/regular/ArrowChevronDownFilledIcon.js +29 -19
- package/dist/icons/regular/ArrowChevronDownIcon.js +29 -19
- package/dist/icons/regular/ArrowChevronLeftIcon.js +29 -19
- package/dist/icons/regular/ArrowChevronRightIcon.js +29 -19
- package/dist/icons/regular/ArrowChevronUpIcon.js +29 -19
- package/dist/icons/regular/ArrowDownIcon.js +29 -19
- package/dist/icons/regular/ArrowLeftIcon.js +29 -19
- package/dist/icons/regular/ArrowRightIcon.js +29 -19
- package/dist/icons/regular/ArrowThickCircleUpIcon.js +29 -19
- package/dist/icons/regular/ArrowUpIcon.js +29 -19
- package/dist/icons/regular/ArticleIcon.js +29 -19
- package/dist/icons/regular/BadgeIcon.js +29 -19
- package/dist/icons/regular/BellIcon.js +29 -19
- package/dist/icons/regular/BookClosedBookmarkIcon.js +29 -19
- package/dist/icons/regular/BookFlipPageIcon.js +29 -19
- package/dist/icons/regular/BriefcaseIcon.js +29 -19
- package/dist/icons/regular/BrowserPageLayoutIcon.js +29 -19
- package/dist/icons/regular/BulbIcon.js +29 -19
- package/dist/icons/regular/CalendarIcon.js +29 -19
- package/dist/icons/regular/CallIcon.js +29 -19
- package/dist/icons/regular/CertificateIcon.js +29 -19
- package/dist/icons/regular/ChallengeProjectIcon.js +29 -19
- package/dist/icons/regular/ChatIcon.js +29 -19
- package/dist/icons/regular/CheckCircledIcon.js +29 -19
- package/dist/icons/regular/CheckFilledIcon.js +29 -19
- package/dist/icons/regular/CheckHeavyIcon.js +29 -19
- package/dist/icons/regular/CheckIcon.js +29 -19
- package/dist/icons/regular/ChecklistIcon.js +29 -19
- package/dist/icons/regular/ClockIcon.js +29 -19
- package/dist/icons/regular/CloseCircleIcon.js +29 -19
- package/dist/icons/regular/CloseIcon.js +29 -19
- package/dist/icons/regular/CloseSquareIcon.js +29 -19
- package/dist/icons/regular/CloudCheckIcon.js +29 -19
- package/dist/icons/regular/CloudIcon.js +29 -19
- package/dist/icons/regular/CommentsIcon.js +29 -19
- package/dist/icons/regular/CommunityIcon.js +29 -19
- package/dist/icons/regular/ConversationChatIcon.js +29 -19
- package/dist/icons/regular/CopyIcon.js +29 -19
- package/dist/icons/regular/CreditCardIcon.js +29 -19
- package/dist/icons/regular/CubeIcon.js +29 -19
- package/dist/icons/regular/DataFileBarsShareIcon.js +29 -19
- package/dist/icons/regular/DataTransferVerticalIcon.js +29 -19
- package/dist/icons/regular/DeleteFilledIcon.js +29 -19
- package/dist/icons/regular/DeleteIcon.js +29 -19
- package/dist/icons/regular/DiamondIcon.js +29 -19
- package/dist/icons/regular/DiscountStarPremiumFilledIcon.js +29 -19
- package/dist/icons/regular/DownloadIcon.js +29 -19
- package/dist/icons/regular/EarthIcon.js +29 -19
- package/dist/icons/regular/EditIcon.js +29 -19
- package/dist/icons/regular/EditorIcon.js +29 -19
- package/dist/icons/regular/EmailIcon.js +29 -19
- package/dist/icons/regular/ExperienceIcon.js +29 -19
- package/dist/icons/regular/ExploreIcon.js +29 -19
- package/dist/icons/regular/FacebookIcon.js +29 -19
- package/dist/icons/regular/FaviconIcon.js +29 -19
- package/dist/icons/regular/FaviconSolidIcon.js +29 -19
- package/dist/icons/regular/FileAddIcon.js +29 -19
- package/dist/icons/regular/FileCodeAdd1Icon.js +29 -19
- package/dist/icons/regular/FileDownloadIcon.js +29 -19
- package/dist/icons/regular/FileEditIcon.js +29 -19
- package/dist/icons/regular/FileIcon.js +29 -19
- package/dist/icons/regular/FileLockIcon.js +29 -19
- package/dist/icons/regular/FilePyIcon.js +29 -19
- package/dist/icons/regular/FileSearchIcon.js +29 -19
- package/dist/icons/regular/FilterIcon.js +29 -19
- package/dist/icons/regular/FitNormalIcon.js +29 -19
- package/dist/icons/regular/FitShrinkIcon.js +29 -19
- package/dist/icons/regular/FitnessDumbbellIcon.js +29 -19
- package/dist/icons/regular/FolderAddIcon.js +29 -19
- package/dist/icons/regular/FolderIcon.js +29 -19
- package/dist/icons/regular/ForkIcon.js +29 -19
- package/dist/icons/regular/ForumsChatIcon.js +29 -19
- package/dist/icons/regular/FullscreenIcon.js +29 -19
- package/dist/icons/regular/FullscreenSquareIcon.js +29 -19
- package/dist/icons/regular/GearIcon.js +29 -19
- package/dist/icons/regular/GithubIcon.js +29 -19
- package/dist/icons/regular/GithubOutlineIcon.js +29 -19
- package/dist/icons/regular/GlassesIcon.js +29 -19
- package/dist/icons/regular/GplusIcon.js +29 -19
- package/dist/icons/regular/GraphStatsAscendIcon.js +29 -19
- package/dist/icons/regular/GrowthIcon.js +29 -19
- package/dist/icons/regular/HalloweenBroomIcon.js +29 -19
- package/dist/icons/regular/HouseEntranceIcon.js +29 -19
- package/dist/icons/regular/HyperlinkIcon.js +29 -19
- package/dist/icons/regular/ImageIcon.js +29 -19
- package/dist/icons/regular/InProgressIcon.js +29 -19
- package/dist/icons/regular/InfoCircleIcon.js +29 -19
- package/dist/icons/regular/InformationalIcon.js +29 -19
- package/dist/icons/regular/InstagramIcon.js +29 -19
- package/dist/icons/regular/InstructionsIcon.js +29 -19
- package/dist/icons/regular/IntersectionIcon.js +29 -19
- package/dist/icons/regular/JavaIcon.js +29 -19
- package/dist/icons/regular/JavascriptIcon.js +29 -19
- package/dist/icons/regular/JiraIcon.js +29 -19
- package/dist/icons/regular/LearnIcon.js +29 -19
- package/dist/icons/regular/LessonIcon.js +29 -19
- package/dist/icons/regular/LevelIcon.js +29 -19
- package/dist/icons/regular/LifePreserverIcon.js +29 -19
- package/dist/icons/regular/LinkIcon.js +29 -19
- package/dist/icons/regular/LinkedinIcon.js +29 -19
- package/dist/icons/regular/LinkedinOutlineIcon.js +29 -19
- package/dist/icons/regular/ListIcon.js +29 -19
- package/dist/icons/regular/LocationPinIcon.js +29 -19
- package/dist/icons/regular/Lock1Icon.js +29 -19
- package/dist/icons/regular/LockHeavyIcon.js +29 -19
- package/dist/icons/regular/LockIcon.js +29 -19
- package/dist/icons/regular/MaintenanceIcon.js +29 -19
- package/dist/icons/regular/MapFingerIcon.js +29 -19
- package/dist/icons/regular/MapPinIcon.js +29 -19
- package/dist/icons/regular/MarkerIcon.js +29 -19
- package/dist/icons/regular/MastercardIcon.js +29 -19
- package/dist/icons/regular/MediumIcon.js +29 -19
- package/dist/icons/regular/MegaphoneIcon.js +29 -19
- package/dist/icons/regular/MenuIcon.js +29 -19
- package/dist/icons/regular/MinimizeBarIcon.js +29 -19
- package/dist/icons/regular/MinimizeIcon.js +29 -19
- package/dist/icons/regular/MonitorBookIcon.js +29 -19
- package/dist/icons/regular/MultipleActionsViewIcon.js +29 -19
- package/dist/icons/regular/MultipleUsersIcon.js +29 -19
- package/dist/icons/regular/NarrativeIcon.js +29 -19
- package/dist/icons/regular/NetworkUserIcon.js +29 -19
- package/dist/icons/regular/NotebookIcon.js +29 -19
- package/dist/icons/regular/ObjectiveIcon.js +29 -19
- package/dist/icons/regular/OneTimeIcon.js +29 -19
- package/dist/icons/regular/OpenAiIcon.js +29 -19
- package/dist/icons/regular/OpenIcon.js +29 -19
- package/dist/icons/regular/OverviewIcon.js +29 -19
- package/dist/icons/regular/PathChangeIcon.js +29 -19
- package/dist/icons/regular/PathCompleteIcon.js +29 -19
- package/dist/icons/regular/PathIcon.js +29 -19
- package/dist/icons/regular/PauseIcon.js +29 -19
- package/dist/icons/regular/PdfIcon.js +29 -19
- package/dist/icons/regular/PeopleIcon.js +29 -19
- package/dist/icons/regular/PersonChatIcon.js +29 -19
- package/dist/icons/regular/PersonFilledIcon.js +29 -19
- package/dist/icons/regular/PersonIcon.js +29 -19
- package/dist/icons/regular/PhoneIcon.js +29 -19
- package/dist/icons/regular/PieLineGraphIcon.js +29 -19
- package/dist/icons/regular/PinIcon.js +29 -19
- package/dist/icons/regular/PlayCircledIcon.js +29 -19
- package/dist/icons/regular/PlayIcon.js +29 -19
- package/dist/icons/regular/PortfolioProjectIcon.js +29 -19
- package/dist/icons/regular/ProgrammingBrowserIcon.js +29 -19
- package/dist/icons/regular/ProjectsIcon.js +29 -19
- package/dist/icons/regular/PythonIcon.js +29 -19
- package/dist/icons/regular/QuizIcon.js +29 -19
- package/dist/icons/regular/RadarIcon.js +29 -19
- package/dist/icons/regular/RailsIcon.js +29 -19
- package/dist/icons/regular/RatingStarCircleIcon.js +29 -19
- package/dist/icons/regular/RatingStarGiveIcon.js +29 -19
- package/dist/icons/regular/ReactIcon.js +29 -19
- package/dist/icons/regular/RedditIcon.js +29 -19
- package/dist/icons/regular/RefreshIcon.js +29 -19
- package/dist/icons/regular/ResetIcon.js +29 -19
- package/dist/icons/regular/ResponsiveIcon.js +29 -19
- package/dist/icons/regular/RibbonDoubleFilledIcon.js +29 -19
- package/dist/icons/regular/RibbonDoubleIcon.js +29 -19
- package/dist/icons/regular/RibbonFilledIcon.js +29 -19
- package/dist/icons/regular/RibbonIcon.js +29 -19
- package/dist/icons/regular/RoadmapIcon.js +29 -19
- package/dist/icons/regular/RocketIcon.js +29 -19
- package/dist/icons/regular/RubyIcon.js +29 -19
- package/dist/icons/regular/SearchIcon.js +29 -19
- package/dist/icons/regular/SettingsSliderVerticalIcon.js +29 -19
- package/dist/icons/regular/ShareIcon.js +29 -19
- package/dist/icons/regular/SlackIcon.js +29 -19
- package/dist/icons/regular/SmallCheckIcon.js +29 -19
- package/dist/icons/regular/StackedSquaresIcon.js +29 -19
- package/dist/icons/regular/StarCircleIcon.js +29 -19
- package/dist/icons/regular/StarFilledCircleIcon.js +29 -19
- package/dist/icons/regular/StarFilledIcon.js +29 -19
- package/dist/icons/regular/StarIcon.js +29 -19
- package/dist/icons/regular/StreakIcon.js +29 -19
- package/dist/icons/regular/StudyBookIcon.js +29 -19
- package/dist/icons/regular/SupportFilledIcon.js +29 -19
- package/dist/icons/regular/SupportIcon.js +29 -19
- package/dist/icons/regular/TagIcon.js +29 -19
- package/dist/icons/regular/TerminalIcon.js +29 -19
- package/dist/icons/regular/ThumbsDownIcon.js +29 -19
- package/dist/icons/regular/ThumbsUpIcon.js +29 -19
- package/dist/icons/regular/TrackIcon.js +29 -19
- package/dist/icons/regular/TrashIcon.js +29 -19
- package/dist/icons/regular/TrophyFilledIcon.js +29 -19
- package/dist/icons/regular/TrophyIcon.js +29 -19
- package/dist/icons/regular/TwitterIcon.js +29 -19
- package/dist/icons/regular/TwitterOutlineIcon.js +29 -19
- package/dist/icons/regular/TypeIcon.js +29 -19
- package/dist/icons/regular/UploadIcon.js +29 -19
- package/dist/icons/regular/VideoPlayerMovieIcon.js +29 -19
- package/dist/icons/regular/ViewIcon.js +29 -19
- package/dist/icons/regular/ViewOffIcon.js +29 -19
- package/dist/icons/regular/VisaIcon.js +29 -19
- package/dist/icons/regular/YoutubeIcon.js +29 -19
- package/dist/icons/regular/ZoomIcon.js +29 -19
- package/dist/props.js +2 -2
- package/dist/useIconId.js +3 -3
- package/package.json +4 -4
|
@@ -1,19 +1,29 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
8
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
1
9
|
import * as React from 'react';
|
|
2
10
|
import { Svg } from '../../props';
|
|
3
11
|
import { useIconId } from '../../useIconId';
|
|
4
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
13
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
title = 'View Icon',
|
|
9
|
-
titleId,
|
|
10
|
-
size =
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
export var ViewIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
15
|
+
var _ref$title = _ref.title,
|
|
16
|
+
title = _ref$title === void 0 ? 'View Icon' : _ref$title,
|
|
17
|
+
titleId = _ref.titleId,
|
|
18
|
+
_ref$size = _ref.size,
|
|
19
|
+
size = _ref$size === void 0 ? 16 : _ref$size,
|
|
20
|
+
_ref$height = _ref.height,
|
|
21
|
+
height = _ref$height === void 0 ? size : _ref$height,
|
|
22
|
+
_ref$width = _ref.width,
|
|
23
|
+
width = _ref$width === void 0 ? size : _ref$width,
|
|
24
|
+
props = _objectWithoutProperties(_ref, ["title", "titleId", "size", "height", "width"]);
|
|
25
|
+
var maskId = useIconId('ViewIcon');
|
|
26
|
+
return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
|
|
17
27
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18
28
|
viewBox: "0 0 24 24",
|
|
19
29
|
fill: "#fff",
|
|
@@ -23,8 +33,8 @@ export const ViewIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
|
|
|
23
33
|
width: width,
|
|
24
34
|
height: height,
|
|
25
35
|
ref: svgRef,
|
|
26
|
-
"aria-labelledby": titleId
|
|
27
|
-
|
|
36
|
+
"aria-labelledby": titleId
|
|
37
|
+
}, props), {}, {
|
|
28
38
|
children: [title === undefined ? /*#__PURE__*/_jsx("title", {
|
|
29
39
|
id: titleId,
|
|
30
40
|
children: 'view-1'
|
|
@@ -32,7 +42,7 @@ export const ViewIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
|
|
|
32
42
|
id: titleId,
|
|
33
43
|
children: title
|
|
34
44
|
}) : null, /*#__PURE__*/_jsxs("mask", {
|
|
35
|
-
id:
|
|
45
|
+
id: "".concat(maskId),
|
|
36
46
|
children: [/*#__PURE__*/_jsx("path", {
|
|
37
47
|
d: "M12 5.251C7.969 5.183 3.8 8 1.179 10.885a1.663 1.663 0 000 2.226C3.743 15.935 7.9 18.817 12 18.748c4.1.069 8.258-2.813 10.824-5.637a1.663 1.663 0 000-2.226C20.2 8 16.031 5.183 12 5.251z",
|
|
38
48
|
fill: "none",
|
|
@@ -49,12 +59,12 @@ export const ViewIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
|
|
|
49
59
|
strokeWidth: 1.5
|
|
50
60
|
})]
|
|
51
61
|
}), /*#__PURE__*/_jsx("g", {
|
|
52
|
-
mask:
|
|
62
|
+
mask: "url(#".concat(maskId, ")"),
|
|
53
63
|
children: /*#__PURE__*/_jsx("rect", {
|
|
54
|
-
width:
|
|
55
|
-
height:
|
|
56
|
-
fill:
|
|
64
|
+
width: "100%",
|
|
65
|
+
height: "100%",
|
|
66
|
+
fill: "currentColor"
|
|
57
67
|
})
|
|
58
68
|
})]
|
|
59
|
-
});
|
|
69
|
+
}));
|
|
60
70
|
});
|
|
@@ -1,19 +1,29 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
8
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
1
9
|
import * as React from 'react';
|
|
2
10
|
import { Svg } from '../../props';
|
|
3
11
|
import { useIconId } from '../../useIconId';
|
|
4
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
13
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
title = 'View Off Icon',
|
|
9
|
-
titleId,
|
|
10
|
-
size =
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
export var ViewOffIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
15
|
+
var _ref$title = _ref.title,
|
|
16
|
+
title = _ref$title === void 0 ? 'View Off Icon' : _ref$title,
|
|
17
|
+
titleId = _ref.titleId,
|
|
18
|
+
_ref$size = _ref.size,
|
|
19
|
+
size = _ref$size === void 0 ? 16 : _ref$size,
|
|
20
|
+
_ref$height = _ref.height,
|
|
21
|
+
height = _ref$height === void 0 ? size : _ref$height,
|
|
22
|
+
_ref$width = _ref.width,
|
|
23
|
+
width = _ref$width === void 0 ? size : _ref$width,
|
|
24
|
+
props = _objectWithoutProperties(_ref, ["title", "titleId", "size", "height", "width"]);
|
|
25
|
+
var maskId = useIconId('ViewOffIcon');
|
|
26
|
+
return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
|
|
17
27
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18
28
|
viewBox: "0 0 24 24",
|
|
19
29
|
fill: "#fff",
|
|
@@ -23,8 +33,8 @@ export const ViewOffIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
|
|
|
23
33
|
width: width,
|
|
24
34
|
height: height,
|
|
25
35
|
ref: svgRef,
|
|
26
|
-
"aria-labelledby": titleId
|
|
27
|
-
|
|
36
|
+
"aria-labelledby": titleId
|
|
37
|
+
}, props), {}, {
|
|
28
38
|
children: [title === undefined ? /*#__PURE__*/_jsx("title", {
|
|
29
39
|
id: titleId,
|
|
30
40
|
children: 'view-off'
|
|
@@ -32,7 +42,7 @@ export const ViewOffIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
|
|
|
32
42
|
id: titleId,
|
|
33
43
|
children: title
|
|
34
44
|
}) : null, /*#__PURE__*/_jsxs("mask", {
|
|
35
|
-
id:
|
|
45
|
+
id: "".concat(maskId),
|
|
36
46
|
children: [/*#__PURE__*/_jsx("path", {
|
|
37
47
|
fill: "none",
|
|
38
48
|
stroke: "#fff",
|
|
@@ -49,12 +59,12 @@ export const ViewOffIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
|
|
|
49
59
|
strokeWidth: 1.5
|
|
50
60
|
})]
|
|
51
61
|
}), /*#__PURE__*/_jsx("g", {
|
|
52
|
-
mask:
|
|
62
|
+
mask: "url(#".concat(maskId, ")"),
|
|
53
63
|
children: /*#__PURE__*/_jsx("rect", {
|
|
54
|
-
width:
|
|
55
|
-
height:
|
|
56
|
-
fill:
|
|
64
|
+
width: "100%",
|
|
65
|
+
height: "100%",
|
|
66
|
+
fill: "currentColor"
|
|
57
67
|
})
|
|
58
68
|
})]
|
|
59
|
-
});
|
|
69
|
+
}));
|
|
60
70
|
});
|
|
@@ -1,19 +1,29 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
8
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
1
9
|
import * as React from 'react';
|
|
2
10
|
import { Svg } from '../../props';
|
|
3
11
|
import { useIconId } from '../../useIconId';
|
|
4
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
13
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
title = 'Visa Icon',
|
|
9
|
-
titleId,
|
|
10
|
-
size =
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
export var VisaIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
15
|
+
var _ref$title = _ref.title,
|
|
16
|
+
title = _ref$title === void 0 ? 'Visa Icon' : _ref$title,
|
|
17
|
+
titleId = _ref.titleId,
|
|
18
|
+
_ref$size = _ref.size,
|
|
19
|
+
size = _ref$size === void 0 ? 16 : _ref$size,
|
|
20
|
+
_ref$height = _ref.height,
|
|
21
|
+
height = _ref$height === void 0 ? size : _ref$height,
|
|
22
|
+
_ref$width = _ref.width,
|
|
23
|
+
width = _ref$width === void 0 ? size : _ref$width,
|
|
24
|
+
props = _objectWithoutProperties(_ref, ["title", "titleId", "size", "height", "width"]);
|
|
25
|
+
var maskId = useIconId('VisaIcon');
|
|
26
|
+
return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
|
|
17
27
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18
28
|
viewBox: "0 0 24 24",
|
|
19
29
|
fill: "#fff",
|
|
@@ -23,8 +33,8 @@ export const VisaIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
|
|
|
23
33
|
width: width,
|
|
24
34
|
height: height,
|
|
25
35
|
ref: svgRef,
|
|
26
|
-
"aria-labelledby": titleId
|
|
27
|
-
|
|
36
|
+
"aria-labelledby": titleId
|
|
37
|
+
}, props), {}, {
|
|
28
38
|
children: [title === undefined ? /*#__PURE__*/_jsx("title", {
|
|
29
39
|
id: titleId,
|
|
30
40
|
children: 'visa'
|
|
@@ -32,7 +42,7 @@ export const VisaIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
|
|
|
32
42
|
id: titleId,
|
|
33
43
|
children: title
|
|
34
44
|
}) : null, /*#__PURE__*/_jsxs("mask", {
|
|
35
|
-
id:
|
|
45
|
+
id: "".concat(maskId),
|
|
36
46
|
children: [/*#__PURE__*/_jsx("path", {
|
|
37
47
|
d: "M.504 3.5h23v17h-23z",
|
|
38
48
|
fill: "none",
|
|
@@ -47,12 +57,12 @@ export const VisaIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
|
|
|
47
57
|
strokeLinejoin: "round"
|
|
48
58
|
})]
|
|
49
59
|
}), /*#__PURE__*/_jsx("g", {
|
|
50
|
-
mask:
|
|
60
|
+
mask: "url(#".concat(maskId, ")"),
|
|
51
61
|
children: /*#__PURE__*/_jsx("rect", {
|
|
52
|
-
width:
|
|
53
|
-
height:
|
|
54
|
-
fill:
|
|
62
|
+
width: "100%",
|
|
63
|
+
height: "100%",
|
|
64
|
+
fill: "currentColor"
|
|
55
65
|
})
|
|
56
66
|
})]
|
|
57
|
-
});
|
|
67
|
+
}));
|
|
58
68
|
});
|
|
@@ -1,19 +1,29 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
8
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
1
9
|
import * as React from 'react';
|
|
2
10
|
import { Svg } from '../../props';
|
|
3
11
|
import { useIconId } from '../../useIconId';
|
|
4
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
13
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
title = 'Youtube Icon',
|
|
9
|
-
titleId,
|
|
10
|
-
size =
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
export var YoutubeIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
15
|
+
var _ref$title = _ref.title,
|
|
16
|
+
title = _ref$title === void 0 ? 'Youtube Icon' : _ref$title,
|
|
17
|
+
titleId = _ref.titleId,
|
|
18
|
+
_ref$size = _ref.size,
|
|
19
|
+
size = _ref$size === void 0 ? 16 : _ref$size,
|
|
20
|
+
_ref$height = _ref.height,
|
|
21
|
+
height = _ref$height === void 0 ? size : _ref$height,
|
|
22
|
+
_ref$width = _ref.width,
|
|
23
|
+
width = _ref$width === void 0 ? size : _ref$width,
|
|
24
|
+
props = _objectWithoutProperties(_ref, ["title", "titleId", "size", "height", "width"]);
|
|
25
|
+
var maskId = useIconId('YoutubeIcon');
|
|
26
|
+
return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
|
|
17
27
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18
28
|
viewBox: "0 0 24 24",
|
|
19
29
|
fill: "#fff",
|
|
@@ -23,8 +33,8 @@ export const YoutubeIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
|
|
|
23
33
|
width: width,
|
|
24
34
|
height: height,
|
|
25
35
|
ref: svgRef,
|
|
26
|
-
"aria-labelledby": titleId
|
|
27
|
-
|
|
36
|
+
"aria-labelledby": titleId
|
|
37
|
+
}, props), {}, {
|
|
28
38
|
children: [title === undefined ? /*#__PURE__*/_jsx("title", {
|
|
29
39
|
id: titleId,
|
|
30
40
|
children: 'social-video-youtube'
|
|
@@ -32,19 +42,19 @@ export const YoutubeIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
|
|
|
32
42
|
id: titleId,
|
|
33
43
|
children: title
|
|
34
44
|
}) : null, /*#__PURE__*/_jsxs("mask", {
|
|
35
|
-
id:
|
|
45
|
+
id: "".concat(maskId),
|
|
36
46
|
children: [/*#__PURE__*/_jsx("path", {
|
|
37
47
|
d: "M5.9 5.12v4.26a.75.75 0 001.5 0V5.12l2.85-3.8A.75.75 0 109 .42l-2.4 3.2L4.25.42a.75.75 0 10-1.2.9zm3.55-.24v3a2.25 2.25 0 004.5 0v-3a2.25 2.25 0 10-4.5 0zm1.5 0a.75.75 0 111.5 0v3a.75.75 0 01-1.5 0zm4.86 4.44a2.73 2.73 0 001.94.8 2.72 2.72 0 001.36-.38.74.74 0 00.64.38.75.75 0 00.75-.75v-6a.75.75 0 00-1.5 0v4a1.25 1.25 0 01-1.25 1.25 1.25 1.25 0 01-1.25-1.25v-4a.75.75 0 10-1.5 0v4a2.73 2.73 0 00.81 1.95zm2.69 8.05a.5.5 0 00-1 0v.5h1zm-4.5-.5a.5.5 0 00-.5.5v2a.5.5 0 001 0v-2a.5.5 0 00-.5-.5z"
|
|
38
48
|
}), /*#__PURE__*/_jsx("path", {
|
|
39
49
|
d: "M19 11.87H5a4.5 4.5 0 00-4.5 4.5v3a4.5 4.5 0 004.5 4.5h14a4.5 4.5 0 004.5-4.5v-3a4.5 4.5 0 00-4.5-4.5zm-11 4H6.5v4.48a.5.5 0 01-1 0v-4.48H4a.5.5 0 010-1h4a.5.5 0 110 1zm3.48 3.5v1a.5.5 0 01-.86.35 1.48 1.48 0 01-.64.15 1.5 1.5 0 01-1.5-1.5v-3a.5.5 0 011 0v3a.5.5 0 001 0v-3a.5.5 0 011 0zm4 0a1.5 1.5 0 01-1.5 1.5 1.48 1.48 0 01-.66-.16.5.5 0 01-.84-.36v-6a.5.5 0 011 0V16a1.48 1.48 0 01.5-.09 1.5 1.5 0 011.5 1.5zm2.59 1.5a1.69 1.69 0 01-1.59-1.62v-1.88a1.5 1.5 0 013 0v1a.5.5 0 01-.5.5H17.5v.38a.7.7 0 00.59.62c.23 0 .59-.1.59-.37a.5.5 0 011 0 1.46 1.46 0 01-1.59 1.37z"
|
|
40
50
|
})]
|
|
41
51
|
}), /*#__PURE__*/_jsx("g", {
|
|
42
|
-
mask:
|
|
52
|
+
mask: "url(#".concat(maskId, ")"),
|
|
43
53
|
children: /*#__PURE__*/_jsx("rect", {
|
|
44
|
-
width:
|
|
45
|
-
height:
|
|
46
|
-
fill:
|
|
54
|
+
width: "100%",
|
|
55
|
+
height: "100%",
|
|
56
|
+
fill: "currentColor"
|
|
47
57
|
})
|
|
48
58
|
})]
|
|
49
|
-
});
|
|
59
|
+
}));
|
|
50
60
|
});
|
|
@@ -1,19 +1,29 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
8
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
1
9
|
import * as React from 'react';
|
|
2
10
|
import { Svg } from '../../props';
|
|
3
11
|
import { useIconId } from '../../useIconId';
|
|
4
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
13
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
title = 'Zoom Icon',
|
|
9
|
-
titleId,
|
|
10
|
-
size =
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
export var ZoomIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
15
|
+
var _ref$title = _ref.title,
|
|
16
|
+
title = _ref$title === void 0 ? 'Zoom Icon' : _ref$title,
|
|
17
|
+
titleId = _ref.titleId,
|
|
18
|
+
_ref$size = _ref.size,
|
|
19
|
+
size = _ref$size === void 0 ? 16 : _ref$size,
|
|
20
|
+
_ref$height = _ref.height,
|
|
21
|
+
height = _ref$height === void 0 ? size : _ref$height,
|
|
22
|
+
_ref$width = _ref.width,
|
|
23
|
+
width = _ref$width === void 0 ? size : _ref$width,
|
|
24
|
+
props = _objectWithoutProperties(_ref, ["title", "titleId", "size", "height", "width"]);
|
|
25
|
+
var maskId = useIconId('ZoomIcon');
|
|
26
|
+
return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
|
|
17
27
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18
28
|
viewBox: "0 0 24 24",
|
|
19
29
|
fill: "#fff",
|
|
@@ -23,8 +33,8 @@ export const ZoomIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
|
|
|
23
33
|
width: width,
|
|
24
34
|
height: height,
|
|
25
35
|
ref: svgRef,
|
|
26
|
-
"aria-labelledby": titleId
|
|
27
|
-
|
|
36
|
+
"aria-labelledby": titleId
|
|
37
|
+
}, props), {}, {
|
|
28
38
|
children: [title === undefined ? /*#__PURE__*/_jsx("title", {
|
|
29
39
|
id: titleId,
|
|
30
40
|
children: 'zoom-in'
|
|
@@ -32,7 +42,7 @@ export const ZoomIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
|
|
|
32
42
|
id: titleId,
|
|
33
43
|
children: title
|
|
34
44
|
}) : null, /*#__PURE__*/_jsx("mask", {
|
|
35
|
-
id:
|
|
45
|
+
id: "".concat(maskId),
|
|
36
46
|
children: /*#__PURE__*/_jsx("path", {
|
|
37
47
|
d: "M18.875 9.811A9.063 9.063 0 119.813.749a9.063 9.063 0 019.062 9.062zM5.25 9.749h9m-4.5 4.5v-9m6.471 10.97l7.029 7.03",
|
|
38
48
|
fill: "none",
|
|
@@ -42,12 +52,12 @@ export const ZoomIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
|
|
|
42
52
|
strokeWidth: 1.5
|
|
43
53
|
})
|
|
44
54
|
}), /*#__PURE__*/_jsx("g", {
|
|
45
|
-
mask:
|
|
55
|
+
mask: "url(#".concat(maskId, ")"),
|
|
46
56
|
children: /*#__PURE__*/_jsx("rect", {
|
|
47
|
-
width:
|
|
48
|
-
height:
|
|
49
|
-
fill:
|
|
57
|
+
width: "100%",
|
|
58
|
+
height: "100%",
|
|
59
|
+
fill: "currentColor"
|
|
50
60
|
})
|
|
51
61
|
})]
|
|
52
|
-
});
|
|
62
|
+
}));
|
|
53
63
|
});
|
package/dist/props.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { styledOptions, system } from '@codecademy/gamut-styles';
|
|
2
2
|
import { variance } from '@codecademy/variance';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export var iconProps = variance.compose(system.layout, system.color, system.space, system.positioning, system.border);
|
|
5
|
+
export var Svg = styled('svg', styledOptions())(iconProps);
|
package/dist/useIconId.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useId } from '@reach/auto-id';
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
export function useIconId(id) {
|
|
4
|
-
|
|
5
|
-
return useMemo(()
|
|
6
|
-
return
|
|
4
|
+
var generatedId = useId();
|
|
5
|
+
return useMemo(function () {
|
|
6
|
+
return "".concat(id, "-mask-").concat(generatedId);
|
|
7
7
|
}, [id, generatedId]);
|
|
8
8
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/gamut-icons",
|
|
3
3
|
"description": "Icon library for codecademy.com",
|
|
4
|
-
"version": "9.4.2
|
|
4
|
+
"version": "9.4.2",
|
|
5
5
|
"author": "Codecademy <dev@codecademy.com>",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@codecademy/gamut-styles": "16.1.4
|
|
8
|
-
"@codecademy/variance": "0.21.2
|
|
7
|
+
"@codecademy/gamut-styles": "16.1.4",
|
|
8
|
+
"@codecademy/variance": "0.21.2"
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
11
|
"dist"
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
},
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"types": "dist/index.d.ts",
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "211364c302abe4d75af11ecabd79c9507284abdc"
|
|
33
33
|
}
|