@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.
Files changed (225) hide show
  1. package/dist/icons/mini/MiniAddIcon.js +19 -29
  2. package/dist/icons/mini/MiniArrowDownIcon.js +19 -29
  3. package/dist/icons/mini/MiniArrowLeftIcon.js +19 -29
  4. package/dist/icons/mini/MiniArrowRightIcon.js +19 -29
  5. package/dist/icons/mini/MiniArrowUpIcon.js +19 -29
  6. package/dist/icons/mini/MiniCheckCircleIcon.js +19 -29
  7. package/dist/icons/mini/MiniChevronDownIcon.js +19 -29
  8. package/dist/icons/mini/MiniChevronLeftIcon.js +19 -29
  9. package/dist/icons/mini/MiniChevronRightIcon.js +19 -29
  10. package/dist/icons/mini/MiniChevronUpIcon.js +19 -29
  11. package/dist/icons/mini/MiniCircleIcon.js +19 -29
  12. package/dist/icons/mini/MiniDeleteIcon.js +19 -29
  13. package/dist/icons/mini/MiniInfoCircleIcon.js +19 -29
  14. package/dist/icons/mini/MiniInfoOutlineIcon.js +19 -29
  15. package/dist/icons/mini/MiniKebabMenuIcon.js +19 -29
  16. package/dist/icons/mini/MiniRemoveCircleIcon.js +19 -29
  17. package/dist/icons/mini/MiniRibbonIcon.js +19 -29
  18. package/dist/icons/mini/MiniStarIcon.js +19 -29
  19. package/dist/icons/mini/MiniWarningTriangleIcon.js +19 -29
  20. package/dist/icons/regular/AccountingCoinsIcon.js +19 -29
  21. package/dist/icons/regular/AddBoldIcon.js +19 -29
  22. package/dist/icons/regular/AddIcon.js +19 -29
  23. package/dist/icons/regular/AiChatSparkFilledIcon.js +19 -29
  24. package/dist/icons/regular/AiChatSparkIcon.js +19 -29
  25. package/dist/icons/regular/AlarmClockIcon.js +19 -29
  26. package/dist/icons/regular/AlertIcon.js +19 -29
  27. package/dist/icons/regular/AmexIcon.js +19 -29
  28. package/dist/icons/regular/AnalyticsGraphIcon.js +19 -29
  29. package/dist/icons/regular/ArrowChevronDownFilledIcon.js +19 -29
  30. package/dist/icons/regular/ArrowChevronDownIcon.js +19 -29
  31. package/dist/icons/regular/ArrowChevronLeftIcon.js +19 -29
  32. package/dist/icons/regular/ArrowChevronRightIcon.js +19 -29
  33. package/dist/icons/regular/ArrowChevronUpIcon.js +19 -29
  34. package/dist/icons/regular/ArrowDownIcon.js +19 -29
  35. package/dist/icons/regular/ArrowLeftIcon.js +19 -29
  36. package/dist/icons/regular/ArrowRightIcon.js +19 -29
  37. package/dist/icons/regular/ArrowThickCircleUpIcon.js +19 -29
  38. package/dist/icons/regular/ArrowUpIcon.js +19 -29
  39. package/dist/icons/regular/ArticleIcon.js +19 -29
  40. package/dist/icons/regular/BadgeIcon.js +19 -29
  41. package/dist/icons/regular/BellIcon.js +19 -29
  42. package/dist/icons/regular/BookClosedBookmarkIcon.js +19 -29
  43. package/dist/icons/regular/BookFlipPageIcon.js +19 -29
  44. package/dist/icons/regular/BriefcaseIcon.js +19 -29
  45. package/dist/icons/regular/BrowserPageLayoutIcon.js +19 -29
  46. package/dist/icons/regular/BulbIcon.js +19 -29
  47. package/dist/icons/regular/CalendarIcon.js +19 -29
  48. package/dist/icons/regular/CallIcon.js +19 -29
  49. package/dist/icons/regular/CertificateIcon.js +19 -29
  50. package/dist/icons/regular/ChallengeProjectIcon.js +19 -29
  51. package/dist/icons/regular/ChatIcon.js +19 -29
  52. package/dist/icons/regular/CheckCircledIcon.js +19 -29
  53. package/dist/icons/regular/CheckFilledIcon.js +19 -29
  54. package/dist/icons/regular/CheckHeavyIcon.js +19 -29
  55. package/dist/icons/regular/CheckIcon.js +19 -29
  56. package/dist/icons/regular/ChecklistIcon.js +19 -29
  57. package/dist/icons/regular/ClockIcon.js +19 -29
  58. package/dist/icons/regular/CloseCircleIcon.js +19 -29
  59. package/dist/icons/regular/CloseIcon.js +19 -29
  60. package/dist/icons/regular/CloseSquareIcon.js +19 -29
  61. package/dist/icons/regular/CloudCheckIcon.js +19 -29
  62. package/dist/icons/regular/CloudIcon.js +19 -29
  63. package/dist/icons/regular/CommentsIcon.js +19 -29
  64. package/dist/icons/regular/CommunityIcon.js +19 -29
  65. package/dist/icons/regular/ConversationChatIcon.js +19 -29
  66. package/dist/icons/regular/CopyIcon.js +19 -29
  67. package/dist/icons/regular/CreditCardIcon.js +19 -29
  68. package/dist/icons/regular/CubeIcon.js +19 -29
  69. package/dist/icons/regular/DataFileBarsShareIcon.js +19 -29
  70. package/dist/icons/regular/DataTransferVerticalIcon.js +19 -29
  71. package/dist/icons/regular/DeleteFilledIcon.js +19 -29
  72. package/dist/icons/regular/DeleteIcon.js +19 -29
  73. package/dist/icons/regular/DiamondIcon.js +19 -29
  74. package/dist/icons/regular/DiscountStarPremiumFilledIcon.js +19 -29
  75. package/dist/icons/regular/DownloadIcon.js +19 -29
  76. package/dist/icons/regular/EarthIcon.js +19 -29
  77. package/dist/icons/regular/EditIcon.js +19 -29
  78. package/dist/icons/regular/EditorIcon.js +19 -29
  79. package/dist/icons/regular/EmailIcon.js +19 -29
  80. package/dist/icons/regular/ExperienceIcon.js +19 -29
  81. package/dist/icons/regular/ExploreIcon.js +19 -29
  82. package/dist/icons/regular/FacebookIcon.js +19 -29
  83. package/dist/icons/regular/FaviconIcon.js +19 -29
  84. package/dist/icons/regular/FaviconSolidIcon.js +19 -29
  85. package/dist/icons/regular/FileAddIcon.js +19 -29
  86. package/dist/icons/regular/FileCodeAdd1Icon.js +19 -29
  87. package/dist/icons/regular/FileDownloadIcon.js +19 -29
  88. package/dist/icons/regular/FileEditIcon.js +19 -29
  89. package/dist/icons/regular/FileIcon.js +19 -29
  90. package/dist/icons/regular/FileLockIcon.js +19 -29
  91. package/dist/icons/regular/FilePyIcon.js +19 -29
  92. package/dist/icons/regular/FileSearchIcon.js +19 -29
  93. package/dist/icons/regular/FilterIcon.js +19 -29
  94. package/dist/icons/regular/FitNormalIcon.js +19 -29
  95. package/dist/icons/regular/FitShrinkIcon.js +19 -29
  96. package/dist/icons/regular/FitnessDumbbellIcon.js +19 -29
  97. package/dist/icons/regular/FolderAddIcon.js +19 -29
  98. package/dist/icons/regular/FolderIcon.js +19 -29
  99. package/dist/icons/regular/ForkIcon.js +19 -29
  100. package/dist/icons/regular/ForumsChatIcon.js +19 -29
  101. package/dist/icons/regular/FullscreenIcon.js +19 -29
  102. package/dist/icons/regular/FullscreenSquareIcon.js +19 -29
  103. package/dist/icons/regular/GearIcon.js +19 -29
  104. package/dist/icons/regular/GithubIcon.js +19 -29
  105. package/dist/icons/regular/GithubOutlineIcon.js +19 -29
  106. package/dist/icons/regular/GlassesIcon.js +19 -29
  107. package/dist/icons/regular/GplusIcon.js +19 -29
  108. package/dist/icons/regular/GraphStatsAscendIcon.js +19 -29
  109. package/dist/icons/regular/GrowthIcon.js +19 -29
  110. package/dist/icons/regular/HalloweenBroomIcon.js +19 -29
  111. package/dist/icons/regular/HouseEntranceIcon.js +19 -29
  112. package/dist/icons/regular/HyperlinkIcon.js +19 -29
  113. package/dist/icons/regular/ImageIcon.js +19 -29
  114. package/dist/icons/regular/InProgressIcon.js +19 -29
  115. package/dist/icons/regular/InfoCircleIcon.js +19 -29
  116. package/dist/icons/regular/InformationalIcon.js +19 -29
  117. package/dist/icons/regular/InstagramIcon.js +19 -29
  118. package/dist/icons/regular/InstructionsIcon.js +19 -29
  119. package/dist/icons/regular/IntersectionIcon.js +19 -29
  120. package/dist/icons/regular/JavaIcon.js +19 -29
  121. package/dist/icons/regular/JavascriptIcon.js +19 -29
  122. package/dist/icons/regular/JiraIcon.js +19 -29
  123. package/dist/icons/regular/LearnIcon.js +19 -29
  124. package/dist/icons/regular/LessonIcon.js +19 -29
  125. package/dist/icons/regular/LevelIcon.js +19 -29
  126. package/dist/icons/regular/LifePreserverIcon.js +19 -29
  127. package/dist/icons/regular/LinkIcon.js +19 -29
  128. package/dist/icons/regular/LinkedinIcon.js +19 -29
  129. package/dist/icons/regular/LinkedinOutlineIcon.js +19 -29
  130. package/dist/icons/regular/ListIcon.js +19 -29
  131. package/dist/icons/regular/LocationPinIcon.js +19 -29
  132. package/dist/icons/regular/Lock1Icon.js +19 -29
  133. package/dist/icons/regular/LockHeavyIcon.js +19 -29
  134. package/dist/icons/regular/LockIcon.js +19 -29
  135. package/dist/icons/regular/MaintenanceIcon.js +19 -29
  136. package/dist/icons/regular/MapFingerIcon.js +19 -29
  137. package/dist/icons/regular/MapPinIcon.js +19 -29
  138. package/dist/icons/regular/MarkerIcon.js +19 -29
  139. package/dist/icons/regular/MastercardIcon.js +19 -29
  140. package/dist/icons/regular/MediumIcon.js +19 -29
  141. package/dist/icons/regular/MegaphoneIcon.js +19 -29
  142. package/dist/icons/regular/MenuIcon.js +19 -29
  143. package/dist/icons/regular/MinimizeBarIcon.js +19 -29
  144. package/dist/icons/regular/MinimizeIcon.js +19 -29
  145. package/dist/icons/regular/MonitorBookIcon.js +19 -29
  146. package/dist/icons/regular/MultipleActionsViewIcon.js +19 -29
  147. package/dist/icons/regular/MultipleUsersIcon.js +19 -29
  148. package/dist/icons/regular/NarrativeIcon.js +19 -29
  149. package/dist/icons/regular/NetworkUserIcon.js +19 -29
  150. package/dist/icons/regular/NotebookIcon.js +19 -29
  151. package/dist/icons/regular/ObjectiveIcon.js +19 -29
  152. package/dist/icons/regular/OneTimeIcon.js +19 -29
  153. package/dist/icons/regular/OpenAiIcon.js +19 -29
  154. package/dist/icons/regular/OpenIcon.js +19 -29
  155. package/dist/icons/regular/OverviewIcon.js +19 -29
  156. package/dist/icons/regular/PathChangeIcon.js +19 -29
  157. package/dist/icons/regular/PathCompleteIcon.js +19 -29
  158. package/dist/icons/regular/PathIcon.js +19 -29
  159. package/dist/icons/regular/PauseIcon.js +19 -29
  160. package/dist/icons/regular/PdfIcon.js +19 -29
  161. package/dist/icons/regular/PeopleIcon.js +19 -29
  162. package/dist/icons/regular/PersonChatIcon.js +19 -29
  163. package/dist/icons/regular/PersonFilledIcon.js +19 -29
  164. package/dist/icons/regular/PersonIcon.js +19 -29
  165. package/dist/icons/regular/PhoneIcon.js +19 -29
  166. package/dist/icons/regular/PieLineGraphIcon.js +19 -29
  167. package/dist/icons/regular/PinIcon.js +19 -29
  168. package/dist/icons/regular/PlayCircledIcon.js +19 -29
  169. package/dist/icons/regular/PlayIcon.js +19 -29
  170. package/dist/icons/regular/PortfolioProjectIcon.js +19 -29
  171. package/dist/icons/regular/ProgrammingBrowserIcon.js +19 -29
  172. package/dist/icons/regular/ProjectsIcon.js +19 -29
  173. package/dist/icons/regular/PythonIcon.js +19 -29
  174. package/dist/icons/regular/QuizIcon.js +19 -29
  175. package/dist/icons/regular/RadarIcon.js +19 -29
  176. package/dist/icons/regular/RailsIcon.js +19 -29
  177. package/dist/icons/regular/RatingStarCircleIcon.js +19 -29
  178. package/dist/icons/regular/RatingStarGiveIcon.js +19 -29
  179. package/dist/icons/regular/ReactIcon.js +19 -29
  180. package/dist/icons/regular/RedditIcon.js +19 -29
  181. package/dist/icons/regular/RefreshIcon.js +19 -29
  182. package/dist/icons/regular/ResetIcon.js +19 -29
  183. package/dist/icons/regular/ResponsiveIcon.js +19 -29
  184. package/dist/icons/regular/RibbonDoubleFilledIcon.js +19 -29
  185. package/dist/icons/regular/RibbonDoubleIcon.js +19 -29
  186. package/dist/icons/regular/RibbonFilledIcon.js +19 -29
  187. package/dist/icons/regular/RibbonIcon.js +19 -29
  188. package/dist/icons/regular/RoadmapIcon.js +19 -29
  189. package/dist/icons/regular/RocketIcon.js +19 -29
  190. package/dist/icons/regular/RubyIcon.js +19 -29
  191. package/dist/icons/regular/SearchIcon.js +19 -29
  192. package/dist/icons/regular/SettingsSliderVerticalIcon.js +19 -29
  193. package/dist/icons/regular/ShareIcon.js +19 -29
  194. package/dist/icons/regular/SlackIcon.js +19 -29
  195. package/dist/icons/regular/SmallCheckIcon.js +19 -29
  196. package/dist/icons/regular/StackedSquaresIcon.js +19 -29
  197. package/dist/icons/regular/StarCircleIcon.js +19 -29
  198. package/dist/icons/regular/StarFilledCircleIcon.js +19 -29
  199. package/dist/icons/regular/StarFilledIcon.js +19 -29
  200. package/dist/icons/regular/StarIcon.js +19 -29
  201. package/dist/icons/regular/StreakIcon.js +19 -29
  202. package/dist/icons/regular/StudyBookIcon.js +19 -29
  203. package/dist/icons/regular/SupportFilledIcon.js +19 -29
  204. package/dist/icons/regular/SupportIcon.js +19 -29
  205. package/dist/icons/regular/TagIcon.js +19 -29
  206. package/dist/icons/regular/TerminalIcon.js +19 -29
  207. package/dist/icons/regular/ThumbsDownIcon.js +19 -29
  208. package/dist/icons/regular/ThumbsUpIcon.js +19 -29
  209. package/dist/icons/regular/TrackIcon.js +19 -29
  210. package/dist/icons/regular/TrashIcon.js +19 -29
  211. package/dist/icons/regular/TrophyFilledIcon.js +19 -29
  212. package/dist/icons/regular/TrophyIcon.js +19 -29
  213. package/dist/icons/regular/TwitterIcon.js +19 -29
  214. package/dist/icons/regular/TwitterOutlineIcon.js +19 -29
  215. package/dist/icons/regular/TypeIcon.js +19 -29
  216. package/dist/icons/regular/UploadIcon.js +19 -29
  217. package/dist/icons/regular/VideoPlayerMovieIcon.js +19 -29
  218. package/dist/icons/regular/ViewIcon.js +19 -29
  219. package/dist/icons/regular/ViewOffIcon.js +19 -29
  220. package/dist/icons/regular/VisaIcon.js +19 -29
  221. package/dist/icons/regular/YoutubeIcon.js +19 -29
  222. package/dist/icons/regular/ZoomIcon.js +19 -29
  223. package/dist/props.js +2 -2
  224. package/dist/useIconId.js +3 -3
  225. 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 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({
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
- }, props), {}, {
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: "".concat(maskId),
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: "url(#".concat(maskId, ")"),
52
+ mask: `url(#${maskId})`,
63
53
  children: /*#__PURE__*/_jsx("rect", {
64
- width: "100%",
65
- height: "100%",
66
- fill: "currentColor"
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 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({
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
- }, props), {}, {
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: "".concat(maskId),
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: "url(#".concat(maskId, ")"),
52
+ mask: `url(#${maskId})`,
63
53
  children: /*#__PURE__*/_jsx("rect", {
64
- width: "100%",
65
- height: "100%",
66
- fill: "currentColor"
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 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({
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
- }, props), {}, {
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: "".concat(maskId),
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: "url(#".concat(maskId, ")"),
50
+ mask: `url(#${maskId})`,
61
51
  children: /*#__PURE__*/_jsx("rect", {
62
- width: "100%",
63
- height: "100%",
64
- fill: "currentColor"
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 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({
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
- }, props), {}, {
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: "".concat(maskId),
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: "url(#".concat(maskId, ")"),
42
+ mask: `url(#${maskId})`,
53
43
  children: /*#__PURE__*/_jsx("rect", {
54
- width: "100%",
55
- height: "100%",
56
- fill: "currentColor"
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 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({
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
- }, props), {}, {
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: "".concat(maskId),
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: "url(#".concat(maskId, ")"),
45
+ mask: `url(#${maskId})`,
56
46
  children: /*#__PURE__*/_jsx("rect", {
57
- width: "100%",
58
- height: "100%",
59
- fill: "currentColor"
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 var iconProps = variance.compose(system.layout, system.color, system.space, system.positioning, system.border);
5
- export var Svg = styled('svg', styledOptions())(iconProps);
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
- var generatedId = useId();
5
- return useMemo(function () {
6
- return "".concat(id, "-mask-").concat(generatedId);
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.1",
4
+ "version": "9.4.2-alpha.ab0105.0",
5
5
  "author": "Codecademy <dev@codecademy.com>",
6
- "main": "dist/index.js",
7
- "module": "dist/index.js",
8
- "types": "dist/index.d.ts",
9
- "sideEffects": false,
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
- "publishConfig": {
23
- "access": "public"
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
- "gitHead": "baa23988e9eb59834cafd89bbfd7923dfe1039d9"
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
  }