@codecademy/gamut-icons 9.4.1 → 9.4.2-alpha.ab0105.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/icons/mini/MiniAddIcon.js +19 -29
- package/dist/icons/mini/MiniArrowDownIcon.js +19 -29
- package/dist/icons/mini/MiniArrowLeftIcon.js +19 -29
- package/dist/icons/mini/MiniArrowRightIcon.js +19 -29
- package/dist/icons/mini/MiniArrowUpIcon.js +19 -29
- package/dist/icons/mini/MiniCheckCircleIcon.js +19 -29
- package/dist/icons/mini/MiniChevronDownIcon.js +19 -29
- package/dist/icons/mini/MiniChevronLeftIcon.js +19 -29
- package/dist/icons/mini/MiniChevronRightIcon.js +19 -29
- package/dist/icons/mini/MiniChevronUpIcon.js +19 -29
- package/dist/icons/mini/MiniCircleIcon.js +19 -29
- package/dist/icons/mini/MiniDeleteIcon.js +19 -29
- package/dist/icons/mini/MiniInfoCircleIcon.js +19 -29
- package/dist/icons/mini/MiniInfoOutlineIcon.js +19 -29
- package/dist/icons/mini/MiniKebabMenuIcon.js +19 -29
- package/dist/icons/mini/MiniRemoveCircleIcon.js +19 -29
- package/dist/icons/mini/MiniRibbonIcon.js +19 -29
- package/dist/icons/mini/MiniStarIcon.js +19 -29
- package/dist/icons/mini/MiniWarningTriangleIcon.js +19 -29
- package/dist/icons/regular/AccountingCoinsIcon.js +19 -29
- package/dist/icons/regular/AddBoldIcon.js +19 -29
- package/dist/icons/regular/AddIcon.js +19 -29
- package/dist/icons/regular/AiChatSparkFilledIcon.js +19 -29
- package/dist/icons/regular/AiChatSparkIcon.js +19 -29
- package/dist/icons/regular/AlarmClockIcon.js +19 -29
- package/dist/icons/regular/AlertIcon.js +19 -29
- package/dist/icons/regular/AmexIcon.js +19 -29
- package/dist/icons/regular/AnalyticsGraphIcon.js +19 -29
- package/dist/icons/regular/ArrowChevronDownFilledIcon.js +19 -29
- package/dist/icons/regular/ArrowChevronDownIcon.js +19 -29
- package/dist/icons/regular/ArrowChevronLeftIcon.js +19 -29
- package/dist/icons/regular/ArrowChevronRightIcon.js +19 -29
- package/dist/icons/regular/ArrowChevronUpIcon.js +19 -29
- package/dist/icons/regular/ArrowDownIcon.js +19 -29
- package/dist/icons/regular/ArrowLeftIcon.js +19 -29
- package/dist/icons/regular/ArrowRightIcon.js +19 -29
- package/dist/icons/regular/ArrowThickCircleUpIcon.js +19 -29
- package/dist/icons/regular/ArrowUpIcon.js +19 -29
- package/dist/icons/regular/ArticleIcon.js +19 -29
- package/dist/icons/regular/BadgeIcon.js +19 -29
- package/dist/icons/regular/BellIcon.js +19 -29
- package/dist/icons/regular/BookClosedBookmarkIcon.js +19 -29
- package/dist/icons/regular/BookFlipPageIcon.js +19 -29
- package/dist/icons/regular/BriefcaseIcon.js +19 -29
- package/dist/icons/regular/BrowserPageLayoutIcon.js +19 -29
- package/dist/icons/regular/BulbIcon.js +19 -29
- package/dist/icons/regular/CalendarIcon.js +19 -29
- package/dist/icons/regular/CallIcon.js +19 -29
- package/dist/icons/regular/CertificateIcon.js +19 -29
- package/dist/icons/regular/ChallengeProjectIcon.js +19 -29
- package/dist/icons/regular/ChatIcon.js +19 -29
- package/dist/icons/regular/CheckCircledIcon.js +19 -29
- package/dist/icons/regular/CheckFilledIcon.js +19 -29
- package/dist/icons/regular/CheckHeavyIcon.js +19 -29
- package/dist/icons/regular/CheckIcon.js +19 -29
- package/dist/icons/regular/ChecklistIcon.js +19 -29
- package/dist/icons/regular/ClockIcon.js +19 -29
- package/dist/icons/regular/CloseCircleIcon.js +19 -29
- package/dist/icons/regular/CloseIcon.js +19 -29
- package/dist/icons/regular/CloseSquareIcon.js +19 -29
- package/dist/icons/regular/CloudCheckIcon.js +19 -29
- package/dist/icons/regular/CloudIcon.js +19 -29
- package/dist/icons/regular/CommentsIcon.js +19 -29
- package/dist/icons/regular/CommunityIcon.js +19 -29
- package/dist/icons/regular/ConversationChatIcon.js +19 -29
- package/dist/icons/regular/CopyIcon.js +19 -29
- package/dist/icons/regular/CreditCardIcon.js +19 -29
- package/dist/icons/regular/CubeIcon.js +19 -29
- package/dist/icons/regular/DataFileBarsShareIcon.js +19 -29
- package/dist/icons/regular/DataTransferVerticalIcon.js +19 -29
- package/dist/icons/regular/DeleteFilledIcon.js +19 -29
- package/dist/icons/regular/DeleteIcon.js +19 -29
- package/dist/icons/regular/DiamondIcon.js +19 -29
- package/dist/icons/regular/DiscountStarPremiumFilledIcon.js +19 -29
- package/dist/icons/regular/DownloadIcon.js +19 -29
- package/dist/icons/regular/EarthIcon.js +19 -29
- package/dist/icons/regular/EditIcon.js +19 -29
- package/dist/icons/regular/EditorIcon.js +19 -29
- package/dist/icons/regular/EmailIcon.js +19 -29
- package/dist/icons/regular/ExperienceIcon.js +19 -29
- package/dist/icons/regular/ExploreIcon.js +19 -29
- package/dist/icons/regular/FacebookIcon.js +19 -29
- package/dist/icons/regular/FaviconIcon.js +19 -29
- package/dist/icons/regular/FaviconSolidIcon.js +19 -29
- package/dist/icons/regular/FileAddIcon.js +19 -29
- package/dist/icons/regular/FileCodeAdd1Icon.js +19 -29
- package/dist/icons/regular/FileDownloadIcon.js +19 -29
- package/dist/icons/regular/FileEditIcon.js +19 -29
- package/dist/icons/regular/FileIcon.js +19 -29
- package/dist/icons/regular/FileLockIcon.js +19 -29
- package/dist/icons/regular/FilePyIcon.js +19 -29
- package/dist/icons/regular/FileSearchIcon.js +19 -29
- package/dist/icons/regular/FilterIcon.js +19 -29
- package/dist/icons/regular/FitNormalIcon.js +19 -29
- package/dist/icons/regular/FitShrinkIcon.js +19 -29
- package/dist/icons/regular/FitnessDumbbellIcon.js +19 -29
- package/dist/icons/regular/FolderAddIcon.js +19 -29
- package/dist/icons/regular/FolderIcon.js +19 -29
- package/dist/icons/regular/ForkIcon.js +19 -29
- package/dist/icons/regular/ForumsChatIcon.js +19 -29
- package/dist/icons/regular/FullscreenIcon.js +19 -29
- package/dist/icons/regular/FullscreenSquareIcon.js +19 -29
- package/dist/icons/regular/GearIcon.js +19 -29
- package/dist/icons/regular/GithubIcon.js +19 -29
- package/dist/icons/regular/GithubOutlineIcon.js +19 -29
- package/dist/icons/regular/GlassesIcon.js +19 -29
- package/dist/icons/regular/GplusIcon.js +19 -29
- package/dist/icons/regular/GraphStatsAscendIcon.js +19 -29
- package/dist/icons/regular/GrowthIcon.js +19 -29
- package/dist/icons/regular/HalloweenBroomIcon.js +19 -29
- package/dist/icons/regular/HouseEntranceIcon.js +19 -29
- package/dist/icons/regular/HyperlinkIcon.js +19 -29
- package/dist/icons/regular/ImageIcon.js +19 -29
- package/dist/icons/regular/InProgressIcon.js +19 -29
- package/dist/icons/regular/InfoCircleIcon.js +19 -29
- package/dist/icons/regular/InformationalIcon.js +19 -29
- package/dist/icons/regular/InstagramIcon.js +19 -29
- package/dist/icons/regular/InstructionsIcon.js +19 -29
- package/dist/icons/regular/IntersectionIcon.js +19 -29
- package/dist/icons/regular/JavaIcon.js +19 -29
- package/dist/icons/regular/JavascriptIcon.js +19 -29
- package/dist/icons/regular/JiraIcon.js +19 -29
- package/dist/icons/regular/LearnIcon.js +19 -29
- package/dist/icons/regular/LessonIcon.js +19 -29
- package/dist/icons/regular/LevelIcon.js +19 -29
- package/dist/icons/regular/LifePreserverIcon.js +19 -29
- package/dist/icons/regular/LinkIcon.js +19 -29
- package/dist/icons/regular/LinkedinIcon.js +19 -29
- package/dist/icons/regular/LinkedinOutlineIcon.js +19 -29
- package/dist/icons/regular/ListIcon.js +19 -29
- package/dist/icons/regular/LocationPinIcon.js +19 -29
- package/dist/icons/regular/Lock1Icon.js +19 -29
- package/dist/icons/regular/LockHeavyIcon.js +19 -29
- package/dist/icons/regular/LockIcon.js +19 -29
- package/dist/icons/regular/MaintenanceIcon.js +19 -29
- package/dist/icons/regular/MapFingerIcon.js +19 -29
- package/dist/icons/regular/MapPinIcon.js +19 -29
- package/dist/icons/regular/MarkerIcon.js +19 -29
- package/dist/icons/regular/MastercardIcon.js +19 -29
- package/dist/icons/regular/MediumIcon.js +19 -29
- package/dist/icons/regular/MegaphoneIcon.js +19 -29
- package/dist/icons/regular/MenuIcon.js +19 -29
- package/dist/icons/regular/MinimizeBarIcon.js +19 -29
- package/dist/icons/regular/MinimizeIcon.js +19 -29
- package/dist/icons/regular/MonitorBookIcon.js +19 -29
- package/dist/icons/regular/MultipleActionsViewIcon.js +19 -29
- package/dist/icons/regular/MultipleUsersIcon.js +19 -29
- package/dist/icons/regular/NarrativeIcon.js +19 -29
- package/dist/icons/regular/NetworkUserIcon.js +19 -29
- package/dist/icons/regular/NotebookIcon.js +19 -29
- package/dist/icons/regular/ObjectiveIcon.js +19 -29
- package/dist/icons/regular/OneTimeIcon.js +19 -29
- package/dist/icons/regular/OpenAiIcon.js +19 -29
- package/dist/icons/regular/OpenIcon.js +19 -29
- package/dist/icons/regular/OverviewIcon.js +19 -29
- package/dist/icons/regular/PathChangeIcon.js +19 -29
- package/dist/icons/regular/PathCompleteIcon.js +19 -29
- package/dist/icons/regular/PathIcon.js +19 -29
- package/dist/icons/regular/PauseIcon.js +19 -29
- package/dist/icons/regular/PdfIcon.js +19 -29
- package/dist/icons/regular/PeopleIcon.js +19 -29
- package/dist/icons/regular/PersonChatIcon.js +19 -29
- package/dist/icons/regular/PersonFilledIcon.js +19 -29
- package/dist/icons/regular/PersonIcon.js +19 -29
- package/dist/icons/regular/PhoneIcon.js +19 -29
- package/dist/icons/regular/PieLineGraphIcon.js +19 -29
- package/dist/icons/regular/PinIcon.js +19 -29
- package/dist/icons/regular/PlayCircledIcon.js +19 -29
- package/dist/icons/regular/PlayIcon.js +19 -29
- package/dist/icons/regular/PortfolioProjectIcon.js +19 -29
- package/dist/icons/regular/ProgrammingBrowserIcon.js +19 -29
- package/dist/icons/regular/ProjectsIcon.js +19 -29
- package/dist/icons/regular/PythonIcon.js +19 -29
- package/dist/icons/regular/QuizIcon.js +19 -29
- package/dist/icons/regular/RadarIcon.js +19 -29
- package/dist/icons/regular/RailsIcon.js +19 -29
- package/dist/icons/regular/RatingStarCircleIcon.js +19 -29
- package/dist/icons/regular/RatingStarGiveIcon.js +19 -29
- package/dist/icons/regular/ReactIcon.js +19 -29
- package/dist/icons/regular/RedditIcon.js +19 -29
- package/dist/icons/regular/RefreshIcon.js +19 -29
- package/dist/icons/regular/ResetIcon.js +19 -29
- package/dist/icons/regular/ResponsiveIcon.js +19 -29
- package/dist/icons/regular/RibbonDoubleFilledIcon.js +19 -29
- package/dist/icons/regular/RibbonDoubleIcon.js +19 -29
- package/dist/icons/regular/RibbonFilledIcon.js +19 -29
- package/dist/icons/regular/RibbonIcon.js +19 -29
- package/dist/icons/regular/RoadmapIcon.js +19 -29
- package/dist/icons/regular/RocketIcon.js +19 -29
- package/dist/icons/regular/RubyIcon.js +19 -29
- package/dist/icons/regular/SearchIcon.js +19 -29
- package/dist/icons/regular/SettingsSliderVerticalIcon.js +19 -29
- package/dist/icons/regular/ShareIcon.js +19 -29
- package/dist/icons/regular/SlackIcon.js +19 -29
- package/dist/icons/regular/SmallCheckIcon.js +19 -29
- package/dist/icons/regular/StackedSquaresIcon.js +19 -29
- package/dist/icons/regular/StarCircleIcon.js +19 -29
- package/dist/icons/regular/StarFilledCircleIcon.js +19 -29
- package/dist/icons/regular/StarFilledIcon.js +19 -29
- package/dist/icons/regular/StarIcon.js +19 -29
- package/dist/icons/regular/StreakIcon.js +19 -29
- package/dist/icons/regular/StudyBookIcon.js +19 -29
- package/dist/icons/regular/SupportFilledIcon.js +19 -29
- package/dist/icons/regular/SupportIcon.js +19 -29
- package/dist/icons/regular/TagIcon.js +19 -29
- package/dist/icons/regular/TerminalIcon.js +19 -29
- package/dist/icons/regular/ThumbsDownIcon.js +19 -29
- package/dist/icons/regular/ThumbsUpIcon.js +19 -29
- package/dist/icons/regular/TrackIcon.js +19 -29
- package/dist/icons/regular/TrashIcon.js +19 -29
- package/dist/icons/regular/TrophyFilledIcon.js +19 -29
- package/dist/icons/regular/TrophyIcon.js +19 -29
- package/dist/icons/regular/TwitterIcon.js +19 -29
- package/dist/icons/regular/TwitterOutlineIcon.js +19 -29
- package/dist/icons/regular/TypeIcon.js +19 -29
- package/dist/icons/regular/UploadIcon.js +19 -29
- package/dist/icons/regular/VideoPlayerMovieIcon.js +19 -29
- package/dist/icons/regular/ViewIcon.js +19 -29
- package/dist/icons/regular/ViewOffIcon.js +19 -29
- package/dist/icons/regular/VisaIcon.js +19 -29
- package/dist/icons/regular/YoutubeIcon.js +19 -29
- package/dist/icons/regular/ZoomIcon.js +19 -29
- package/dist/props.js +2 -2
- package/dist/useIconId.js +3 -3
- package/package.json +18 -21
|
@@ -1,29 +1,19 @@
|
|
|
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; }
|
|
9
1
|
import * as React from 'react';
|
|
10
2
|
import { Svg } from '../../props';
|
|
11
3
|
import { useIconId } from '../../useIconId';
|
|
12
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
5
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
title =
|
|
17
|
-
titleId
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
var maskId = useIconId('ViewIcon');
|
|
26
|
-
return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
|
|
6
|
+
export const ViewIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
|
|
7
|
+
let {
|
|
8
|
+
title = 'View Icon',
|
|
9
|
+
titleId,
|
|
10
|
+
size = 16,
|
|
11
|
+
height = size,
|
|
12
|
+
width = size,
|
|
13
|
+
...props
|
|
14
|
+
} = _ref;
|
|
15
|
+
const maskId = useIconId('ViewIcon');
|
|
16
|
+
return /*#__PURE__*/_jsxs(Svg, {
|
|
27
17
|
xmlns: "http://www.w3.org/2000/svg",
|
|
28
18
|
viewBox: "0 0 24 24",
|
|
29
19
|
fill: "#fff",
|
|
@@ -33,8 +23,8 @@ export var ViewIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
|
33
23
|
width: width,
|
|
34
24
|
height: height,
|
|
35
25
|
ref: svgRef,
|
|
36
|
-
"aria-labelledby": titleId
|
|
37
|
-
|
|
26
|
+
"aria-labelledby": titleId,
|
|
27
|
+
...props,
|
|
38
28
|
children: [title === undefined ? /*#__PURE__*/_jsx("title", {
|
|
39
29
|
id: titleId,
|
|
40
30
|
children: 'view-1'
|
|
@@ -42,7 +32,7 @@ export var ViewIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
|
42
32
|
id: titleId,
|
|
43
33
|
children: title
|
|
44
34
|
}) : null, /*#__PURE__*/_jsxs("mask", {
|
|
45
|
-
id:
|
|
35
|
+
id: `${maskId}`,
|
|
46
36
|
children: [/*#__PURE__*/_jsx("path", {
|
|
47
37
|
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",
|
|
48
38
|
fill: "none",
|
|
@@ -59,12 +49,12 @@ export var ViewIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
|
59
49
|
strokeWidth: 1.5
|
|
60
50
|
})]
|
|
61
51
|
}), /*#__PURE__*/_jsx("g", {
|
|
62
|
-
mask:
|
|
52
|
+
mask: `url(#${maskId})`,
|
|
63
53
|
children: /*#__PURE__*/_jsx("rect", {
|
|
64
|
-
width:
|
|
65
|
-
height:
|
|
66
|
-
fill:
|
|
54
|
+
width: `100%`,
|
|
55
|
+
height: `100%`,
|
|
56
|
+
fill: `currentColor`
|
|
67
57
|
})
|
|
68
58
|
})]
|
|
69
|
-
})
|
|
59
|
+
});
|
|
70
60
|
});
|
|
@@ -1,29 +1,19 @@
|
|
|
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; }
|
|
9
1
|
import * as React from 'react';
|
|
10
2
|
import { Svg } from '../../props';
|
|
11
3
|
import { useIconId } from '../../useIconId';
|
|
12
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
5
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
title =
|
|
17
|
-
titleId
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
var maskId = useIconId('ViewOffIcon');
|
|
26
|
-
return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
|
|
6
|
+
export const ViewOffIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
|
|
7
|
+
let {
|
|
8
|
+
title = 'View Off Icon',
|
|
9
|
+
titleId,
|
|
10
|
+
size = 16,
|
|
11
|
+
height = size,
|
|
12
|
+
width = size,
|
|
13
|
+
...props
|
|
14
|
+
} = _ref;
|
|
15
|
+
const maskId = useIconId('ViewOffIcon');
|
|
16
|
+
return /*#__PURE__*/_jsxs(Svg, {
|
|
27
17
|
xmlns: "http://www.w3.org/2000/svg",
|
|
28
18
|
viewBox: "0 0 24 24",
|
|
29
19
|
fill: "#fff",
|
|
@@ -33,8 +23,8 @@ export var ViewOffIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
|
33
23
|
width: width,
|
|
34
24
|
height: height,
|
|
35
25
|
ref: svgRef,
|
|
36
|
-
"aria-labelledby": titleId
|
|
37
|
-
|
|
26
|
+
"aria-labelledby": titleId,
|
|
27
|
+
...props,
|
|
38
28
|
children: [title === undefined ? /*#__PURE__*/_jsx("title", {
|
|
39
29
|
id: titleId,
|
|
40
30
|
children: 'view-off'
|
|
@@ -42,7 +32,7 @@ export var ViewOffIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
|
42
32
|
id: titleId,
|
|
43
33
|
children: title
|
|
44
34
|
}) : null, /*#__PURE__*/_jsxs("mask", {
|
|
45
|
-
id:
|
|
35
|
+
id: `${maskId}`,
|
|
46
36
|
children: [/*#__PURE__*/_jsx("path", {
|
|
47
37
|
fill: "none",
|
|
48
38
|
stroke: "#fff",
|
|
@@ -59,12 +49,12 @@ export var ViewOffIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
|
59
49
|
strokeWidth: 1.5
|
|
60
50
|
})]
|
|
61
51
|
}), /*#__PURE__*/_jsx("g", {
|
|
62
|
-
mask:
|
|
52
|
+
mask: `url(#${maskId})`,
|
|
63
53
|
children: /*#__PURE__*/_jsx("rect", {
|
|
64
|
-
width:
|
|
65
|
-
height:
|
|
66
|
-
fill:
|
|
54
|
+
width: `100%`,
|
|
55
|
+
height: `100%`,
|
|
56
|
+
fill: `currentColor`
|
|
67
57
|
})
|
|
68
58
|
})]
|
|
69
|
-
})
|
|
59
|
+
});
|
|
70
60
|
});
|
|
@@ -1,29 +1,19 @@
|
|
|
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; }
|
|
9
1
|
import * as React from 'react';
|
|
10
2
|
import { Svg } from '../../props';
|
|
11
3
|
import { useIconId } from '../../useIconId';
|
|
12
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
5
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
title =
|
|
17
|
-
titleId
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
var maskId = useIconId('VisaIcon');
|
|
26
|
-
return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
|
|
6
|
+
export const VisaIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
|
|
7
|
+
let {
|
|
8
|
+
title = 'Visa Icon',
|
|
9
|
+
titleId,
|
|
10
|
+
size = 16,
|
|
11
|
+
height = size,
|
|
12
|
+
width = size,
|
|
13
|
+
...props
|
|
14
|
+
} = _ref;
|
|
15
|
+
const maskId = useIconId('VisaIcon');
|
|
16
|
+
return /*#__PURE__*/_jsxs(Svg, {
|
|
27
17
|
xmlns: "http://www.w3.org/2000/svg",
|
|
28
18
|
viewBox: "0 0 24 24",
|
|
29
19
|
fill: "#fff",
|
|
@@ -33,8 +23,8 @@ export var VisaIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
|
33
23
|
width: width,
|
|
34
24
|
height: height,
|
|
35
25
|
ref: svgRef,
|
|
36
|
-
"aria-labelledby": titleId
|
|
37
|
-
|
|
26
|
+
"aria-labelledby": titleId,
|
|
27
|
+
...props,
|
|
38
28
|
children: [title === undefined ? /*#__PURE__*/_jsx("title", {
|
|
39
29
|
id: titleId,
|
|
40
30
|
children: 'visa'
|
|
@@ -42,7 +32,7 @@ export var VisaIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
|
42
32
|
id: titleId,
|
|
43
33
|
children: title
|
|
44
34
|
}) : null, /*#__PURE__*/_jsxs("mask", {
|
|
45
|
-
id:
|
|
35
|
+
id: `${maskId}`,
|
|
46
36
|
children: [/*#__PURE__*/_jsx("path", {
|
|
47
37
|
d: "M.504 3.5h23v17h-23z",
|
|
48
38
|
fill: "none",
|
|
@@ -57,12 +47,12 @@ export var VisaIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
|
57
47
|
strokeLinejoin: "round"
|
|
58
48
|
})]
|
|
59
49
|
}), /*#__PURE__*/_jsx("g", {
|
|
60
|
-
mask:
|
|
50
|
+
mask: `url(#${maskId})`,
|
|
61
51
|
children: /*#__PURE__*/_jsx("rect", {
|
|
62
|
-
width:
|
|
63
|
-
height:
|
|
64
|
-
fill:
|
|
52
|
+
width: `100%`,
|
|
53
|
+
height: `100%`,
|
|
54
|
+
fill: `currentColor`
|
|
65
55
|
})
|
|
66
56
|
})]
|
|
67
|
-
})
|
|
57
|
+
});
|
|
68
58
|
});
|
|
@@ -1,29 +1,19 @@
|
|
|
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; }
|
|
9
1
|
import * as React from 'react';
|
|
10
2
|
import { Svg } from '../../props';
|
|
11
3
|
import { useIconId } from '../../useIconId';
|
|
12
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
5
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
title =
|
|
17
|
-
titleId
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
var maskId = useIconId('YoutubeIcon');
|
|
26
|
-
return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
|
|
6
|
+
export const YoutubeIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
|
|
7
|
+
let {
|
|
8
|
+
title = 'Youtube Icon',
|
|
9
|
+
titleId,
|
|
10
|
+
size = 16,
|
|
11
|
+
height = size,
|
|
12
|
+
width = size,
|
|
13
|
+
...props
|
|
14
|
+
} = _ref;
|
|
15
|
+
const maskId = useIconId('YoutubeIcon');
|
|
16
|
+
return /*#__PURE__*/_jsxs(Svg, {
|
|
27
17
|
xmlns: "http://www.w3.org/2000/svg",
|
|
28
18
|
viewBox: "0 0 24 24",
|
|
29
19
|
fill: "#fff",
|
|
@@ -33,8 +23,8 @@ export var YoutubeIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
|
33
23
|
width: width,
|
|
34
24
|
height: height,
|
|
35
25
|
ref: svgRef,
|
|
36
|
-
"aria-labelledby": titleId
|
|
37
|
-
|
|
26
|
+
"aria-labelledby": titleId,
|
|
27
|
+
...props,
|
|
38
28
|
children: [title === undefined ? /*#__PURE__*/_jsx("title", {
|
|
39
29
|
id: titleId,
|
|
40
30
|
children: 'social-video-youtube'
|
|
@@ -42,19 +32,19 @@ export var YoutubeIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
|
42
32
|
id: titleId,
|
|
43
33
|
children: title
|
|
44
34
|
}) : null, /*#__PURE__*/_jsxs("mask", {
|
|
45
|
-
id:
|
|
35
|
+
id: `${maskId}`,
|
|
46
36
|
children: [/*#__PURE__*/_jsx("path", {
|
|
47
37
|
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"
|
|
48
38
|
}), /*#__PURE__*/_jsx("path", {
|
|
49
39
|
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"
|
|
50
40
|
})]
|
|
51
41
|
}), /*#__PURE__*/_jsx("g", {
|
|
52
|
-
mask:
|
|
42
|
+
mask: `url(#${maskId})`,
|
|
53
43
|
children: /*#__PURE__*/_jsx("rect", {
|
|
54
|
-
width:
|
|
55
|
-
height:
|
|
56
|
-
fill:
|
|
44
|
+
width: `100%`,
|
|
45
|
+
height: `100%`,
|
|
46
|
+
fill: `currentColor`
|
|
57
47
|
})
|
|
58
48
|
})]
|
|
59
|
-
})
|
|
49
|
+
});
|
|
60
50
|
});
|
|
@@ -1,29 +1,19 @@
|
|
|
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; }
|
|
9
1
|
import * as React from 'react';
|
|
10
2
|
import { Svg } from '../../props';
|
|
11
3
|
import { useIconId } from '../../useIconId';
|
|
12
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
5
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
title =
|
|
17
|
-
titleId
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
var maskId = useIconId('ZoomIcon');
|
|
26
|
-
return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
|
|
6
|
+
export const ZoomIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
|
|
7
|
+
let {
|
|
8
|
+
title = 'Zoom Icon',
|
|
9
|
+
titleId,
|
|
10
|
+
size = 16,
|
|
11
|
+
height = size,
|
|
12
|
+
width = size,
|
|
13
|
+
...props
|
|
14
|
+
} = _ref;
|
|
15
|
+
const maskId = useIconId('ZoomIcon');
|
|
16
|
+
return /*#__PURE__*/_jsxs(Svg, {
|
|
27
17
|
xmlns: "http://www.w3.org/2000/svg",
|
|
28
18
|
viewBox: "0 0 24 24",
|
|
29
19
|
fill: "#fff",
|
|
@@ -33,8 +23,8 @@ export var ZoomIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
|
33
23
|
width: width,
|
|
34
24
|
height: height,
|
|
35
25
|
ref: svgRef,
|
|
36
|
-
"aria-labelledby": titleId
|
|
37
|
-
|
|
26
|
+
"aria-labelledby": titleId,
|
|
27
|
+
...props,
|
|
38
28
|
children: [title === undefined ? /*#__PURE__*/_jsx("title", {
|
|
39
29
|
id: titleId,
|
|
40
30
|
children: 'zoom-in'
|
|
@@ -42,7 +32,7 @@ export var ZoomIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
|
42
32
|
id: titleId,
|
|
43
33
|
children: title
|
|
44
34
|
}) : null, /*#__PURE__*/_jsx("mask", {
|
|
45
|
-
id:
|
|
35
|
+
id: `${maskId}`,
|
|
46
36
|
children: /*#__PURE__*/_jsx("path", {
|
|
47
37
|
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",
|
|
48
38
|
fill: "none",
|
|
@@ -52,12 +42,12 @@ export var ZoomIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
|
52
42
|
strokeWidth: 1.5
|
|
53
43
|
})
|
|
54
44
|
}), /*#__PURE__*/_jsx("g", {
|
|
55
|
-
mask:
|
|
45
|
+
mask: `url(#${maskId})`,
|
|
56
46
|
children: /*#__PURE__*/_jsx("rect", {
|
|
57
|
-
width:
|
|
58
|
-
height:
|
|
59
|
-
fill:
|
|
47
|
+
width: `100%`,
|
|
48
|
+
height: `100%`,
|
|
49
|
+
fill: `currentColor`
|
|
60
50
|
})
|
|
61
51
|
})]
|
|
62
|
-
})
|
|
52
|
+
});
|
|
63
53
|
});
|
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 const iconProps = variance.compose(system.layout, system.color, system.space, system.positioning, system.border);
|
|
5
|
+
export const 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
|
+
const generatedId = useId();
|
|
5
|
+
return useMemo(() => {
|
|
6
|
+
return `${id}-mask-${generatedId}`;
|
|
7
7
|
}, [id, generatedId]);
|
|
8
8
|
}
|
package/package.json
CHANGED
|
@@ -1,36 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/gamut-icons",
|
|
3
3
|
"description": "Icon library for codecademy.com",
|
|
4
|
-
"version": "9.4.
|
|
4
|
+
"version": "9.4.2-alpha.ab0105.0",
|
|
5
5
|
"author": "Codecademy <dev@codecademy.com>",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
"dependencies": {
|
|
7
|
+
"@codecademy/gamut-styles": "16.1.4-alpha.ab0105.0",
|
|
8
|
+
"@codecademy/variance": "0.21.2-alpha.ab0105.0"
|
|
9
|
+
},
|
|
10
10
|
"files": [
|
|
11
11
|
"dist"
|
|
12
12
|
],
|
|
13
|
-
"scripts": {
|
|
14
|
-
"format": "svgo -f ./src/svg --pretty --config=.svgo.yml",
|
|
15
|
-
"build": "nx build @codecademy/gamut-icons"
|
|
16
|
-
},
|
|
17
|
-
"repository": {
|
|
18
|
-
"type": "git",
|
|
19
|
-
"url": "git@github.com:Codecademy/gamut.git"
|
|
20
|
-
},
|
|
21
13
|
"license": "MIT",
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
},
|
|
25
|
-
"dependencies": {
|
|
26
|
-
"@codecademy/gamut-styles": "16.1.3",
|
|
27
|
-
"@codecademy/variance": "0.21.1"
|
|
28
|
-
},
|
|
14
|
+
"main": "dist/index.js",
|
|
15
|
+
"module": "dist/index.js",
|
|
29
16
|
"peerDependencies": {
|
|
30
17
|
"@emotion/react": "^11.4.0",
|
|
31
18
|
"@emotion/styled": "^11.3.0",
|
|
32
19
|
"lodash": "^4.17.5",
|
|
33
20
|
"react": "^17.0.2 || ^18.2.0"
|
|
34
21
|
},
|
|
35
|
-
"
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"access": "public"
|
|
24
|
+
},
|
|
25
|
+
"repository": "git@github.com:Codecademy/gamut.git",
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "nx build @codecademy/gamut-icons",
|
|
28
|
+
"format": "svgo -f ./src/svg --pretty --config=.svgo.yml"
|
|
29
|
+
},
|
|
30
|
+
"sideEffects": false,
|
|
31
|
+
"types": "dist/index.d.ts",
|
|
32
|
+
"gitHead": "65f4a4ec3d2cc7ff219edacc40de7bf02dcef79b"
|
|
36
33
|
}
|