@codecademy/gamut-icons 9.32.1 → 9.32.2-alpha.02bcda.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 +20 -30
- package/dist/icons/mini/MiniArrowDownIcon.js +20 -30
- package/dist/icons/mini/MiniArrowLeftIcon.js +20 -30
- package/dist/icons/mini/MiniArrowRightIcon.js +20 -30
- package/dist/icons/mini/MiniArrowUpIcon.js +20 -30
- package/dist/icons/mini/MiniCheckCircleIcon.js +20 -30
- package/dist/icons/mini/MiniChevronDownIcon.js +20 -30
- package/dist/icons/mini/MiniChevronLeftIcon.js +20 -30
- package/dist/icons/mini/MiniChevronRightIcon.js +20 -30
- package/dist/icons/mini/MiniChevronUpIcon.js +20 -30
- package/dist/icons/mini/MiniCircleIcon.js +20 -30
- package/dist/icons/mini/MiniCopyIcon.js +20 -30
- package/dist/icons/mini/MiniDeleteIcon.js +20 -30
- package/dist/icons/mini/MiniEditIcon.js +20 -30
- package/dist/icons/mini/MiniInfoCircleIcon.js +20 -30
- package/dist/icons/mini/MiniInfoOutlineIcon.js +20 -30
- package/dist/icons/mini/MiniKebabMenuIcon.js +20 -30
- package/dist/icons/mini/MiniOpenIcon.js +20 -30
- package/dist/icons/mini/MiniPinIcon.js +20 -30
- package/dist/icons/mini/MiniRemoveCircleIcon.js +20 -30
- package/dist/icons/mini/MiniRibbonIcon.js +20 -30
- package/dist/icons/mini/MiniStarIcon.js +20 -30
- package/dist/icons/mini/MiniThumbsDownIcon.js +20 -30
- package/dist/icons/mini/MiniThumbsUpIcon.js +20 -30
- package/dist/icons/mini/MiniUndoIcon.js +20 -30
- package/dist/icons/mini/MiniWarningTriangleIcon.js +20 -30
- package/dist/icons/regular/AccountingCoinsIcon.js +20 -30
- package/dist/icons/regular/AddBoldIcon.js +20 -30
- package/dist/icons/regular/AddIcon.js +20 -30
- package/dist/icons/regular/AiChatSparkFilledIcon.js +20 -30
- package/dist/icons/regular/AiChatSparkIcon.js +20 -30
- package/dist/icons/regular/AlarmClockIcon.js +20 -30
- package/dist/icons/regular/AlertIcon.js +20 -30
- package/dist/icons/regular/AmexIcon.js +20 -30
- package/dist/icons/regular/AnalyticsGraphIcon.js +20 -30
- package/dist/icons/regular/ArrowChevronDownFilledIcon.js +20 -30
- package/dist/icons/regular/ArrowChevronDownIcon.js +20 -30
- package/dist/icons/regular/ArrowChevronLeftIcon.js +20 -30
- package/dist/icons/regular/ArrowChevronRightIcon.js +20 -30
- package/dist/icons/regular/ArrowChevronUpIcon.js +20 -30
- package/dist/icons/regular/ArrowDownIcon.js +20 -30
- package/dist/icons/regular/ArrowLeftIcon.js +20 -30
- package/dist/icons/regular/ArrowRightIcon.js +20 -30
- package/dist/icons/regular/ArrowThickCircleRightIcon.js +20 -30
- package/dist/icons/regular/ArrowThickCircleUpIcon.js +20 -30
- package/dist/icons/regular/ArrowUpIcon.js +20 -30
- package/dist/icons/regular/ArticleIcon.js +20 -30
- package/dist/icons/regular/ArtificialIntelligenceIcon.js +20 -30
- package/dist/icons/regular/AssessmentsIcon.js +20 -30
- package/dist/icons/regular/BadgeIcon.js +20 -30
- package/dist/icons/regular/BashShellIcon.js +20 -30
- package/dist/icons/regular/BellIcon.js +20 -30
- package/dist/icons/regular/BookBookmarkIcon.js +20 -30
- package/dist/icons/regular/BookClosedBookmarkIcon.js +20 -30
- package/dist/icons/regular/BookFlipPageIcon.js +20 -30
- package/dist/icons/regular/BriefcaseIcon.js +20 -30
- package/dist/icons/regular/BrowserPageLayoutIcon.js +20 -30
- package/dist/icons/regular/BugIcon.js +20 -30
- package/dist/icons/regular/BulbIcon.js +20 -30
- package/dist/icons/regular/CIcon.js +20 -30
- package/dist/icons/regular/CPlusIcon.js +20 -30
- package/dist/icons/regular/CSharpIcon.js +20 -30
- package/dist/icons/regular/CalendarIcon.js +20 -30
- package/dist/icons/regular/CallIcon.js +20 -30
- package/dist/icons/regular/CertificateIcon.js +20 -30
- package/dist/icons/regular/ChallengeProjectIcon.js +20 -30
- package/dist/icons/regular/ChatIcon.js +20 -30
- package/dist/icons/regular/CheckCircledIcon.js +20 -30
- package/dist/icons/regular/CheckFilledIcon.js +20 -30
- package/dist/icons/regular/CheckHeavyIcon.js +20 -30
- package/dist/icons/regular/CheckIcon.js +20 -30
- package/dist/icons/regular/ChecklistIcon.js +20 -30
- package/dist/icons/regular/ClockIcon.js +20 -30
- package/dist/icons/regular/CloseCircleIcon.js +20 -30
- package/dist/icons/regular/CloseIcon.js +20 -30
- package/dist/icons/regular/CloseSquareIcon.js +20 -30
- package/dist/icons/regular/CloudCheckIcon.js +20 -30
- package/dist/icons/regular/CloudComputingIcon.js +20 -30
- package/dist/icons/regular/CloudIcon.js +20 -30
- package/dist/icons/regular/CommentsIcon.js +20 -30
- package/dist/icons/regular/CommunityIcon.js +20 -30
- package/dist/icons/regular/ComputerScienceIcon.js +20 -30
- package/dist/icons/regular/ConversationChatIcon.js +20 -30
- package/dist/icons/regular/CopyIcon.js +20 -30
- package/dist/icons/regular/CreditCard1Icon.js +20 -30
- package/dist/icons/regular/CreditCardIcon.js +20 -30
- package/dist/icons/regular/CubeIcon.js +20 -30
- package/dist/icons/regular/CybersecurityIcon.js +20 -30
- package/dist/icons/regular/DataAnalyticsIcon.js +20 -30
- package/dist/icons/regular/DataEngineeringIcon.js +20 -30
- package/dist/icons/regular/DataFileBarsShareIcon.js +20 -30
- package/dist/icons/regular/DataScienceIcon.js +20 -30
- package/dist/icons/regular/DataTransferVerticalIcon.js +20 -30
- package/dist/icons/regular/DataVisualizationIcon.js +20 -30
- package/dist/icons/regular/DeleteFilledIcon.js +20 -30
- package/dist/icons/regular/DeleteIcon.js +20 -30
- package/dist/icons/regular/DevopsIcon.js +20 -30
- package/dist/icons/regular/DiamondIcon.js +20 -30
- package/dist/icons/regular/DiscordIcon.js +20 -30
- package/dist/icons/regular/DiscordOutlineIcon.js +20 -30
- package/dist/icons/regular/DiscountStarPremiumFilledIcon.js +20 -30
- package/dist/icons/regular/DownloadIcon.js +20 -30
- package/dist/icons/regular/EarthIcon.js +20 -30
- package/dist/icons/regular/EditIcon.js +20 -30
- package/dist/icons/regular/EditorIcon.js +20 -30
- package/dist/icons/regular/EmailFilledIcon.js +20 -30
- package/dist/icons/regular/EmailIcon.js +20 -30
- package/dist/icons/regular/ExperienceIcon.js +20 -30
- package/dist/icons/regular/ExploreIcon.js +20 -30
- package/dist/icons/regular/FacebookIcon.js +20 -30
- package/dist/icons/regular/FallbackSkillIcon.js +20 -30
- package/dist/icons/regular/FaviconIcon.js +20 -30
- package/dist/icons/regular/FaviconSolidIcon.js +20 -30
- package/dist/icons/regular/FileAddIcon.js +20 -30
- package/dist/icons/regular/FileCodeAdd1Icon.js +20 -30
- package/dist/icons/regular/FileDownloadIcon.js +20 -30
- package/dist/icons/regular/FileEditIcon.js +20 -30
- package/dist/icons/regular/FileIcon.js +20 -30
- package/dist/icons/regular/FileLockIcon.js +20 -30
- package/dist/icons/regular/FilePyIcon.js +20 -30
- package/dist/icons/regular/FileSearchIcon.js +20 -30
- package/dist/icons/regular/FilterIcon.js +20 -30
- package/dist/icons/regular/FitNormalIcon.js +20 -30
- package/dist/icons/regular/FitShrinkIcon.js +20 -30
- package/dist/icons/regular/FitnessDumbbellIcon.js +20 -30
- package/dist/icons/regular/FlutterIcon.js +20 -30
- package/dist/icons/regular/FolderAddIcon.js +20 -30
- package/dist/icons/regular/FolderIcon.js +20 -30
- package/dist/icons/regular/ForkIcon.js +20 -30
- package/dist/icons/regular/ForumsChatIcon.js +20 -30
- package/dist/icons/regular/FullscreenIcon.js +20 -30
- package/dist/icons/regular/FullscreenSquareIcon.js +20 -30
- package/dist/icons/regular/GameDevelopmentIcon.js +20 -30
- package/dist/icons/regular/GaugeDashboardIcon.js +20 -30
- package/dist/icons/regular/GearIcon.js +20 -30
- package/dist/icons/regular/GithubIcon.js +20 -30
- package/dist/icons/regular/GithubOutlineIcon.js +20 -30
- package/dist/icons/regular/GlassesIcon.js +20 -30
- package/dist/icons/regular/GoIcon.js +20 -30
- package/dist/icons/regular/GplusIcon.js +20 -30
- package/dist/icons/regular/GraphStatsAscendIcon.js +20 -30
- package/dist/icons/regular/GrowthIcon.js +20 -30
- package/dist/icons/regular/HalloweenBroomIcon.js +20 -30
- package/dist/icons/regular/HouseEntranceIcon.js +20 -30
- package/dist/icons/regular/HtmlCssIcon.js +20 -30
- package/dist/icons/regular/HyperlinkIcon.js +20 -30
- package/dist/icons/regular/ImageIcon.js +20 -30
- package/dist/icons/regular/InProgressIcon.js +20 -30
- package/dist/icons/regular/InfoCircleIcon.js +20 -30
- package/dist/icons/regular/InformationalIcon.js +20 -30
- package/dist/icons/regular/InstagramIcon.js +20 -30
- package/dist/icons/regular/InstructionsIcon.js +20 -30
- package/dist/icons/regular/IntersectionIcon.js +20 -30
- package/dist/icons/regular/ItIcon.js +20 -30
- package/dist/icons/regular/JavaIcon.js +20 -30
- package/dist/icons/regular/JavascriptIcon.js +20 -30
- package/dist/icons/regular/JiraIcon.js +20 -30
- package/dist/icons/regular/KeyboardIcon.js +20 -30
- package/dist/icons/regular/KotlinIcon.js +20 -30
- package/dist/icons/regular/LearnIcon.js +20 -30
- package/dist/icons/regular/LessonIcon.js +20 -30
- package/dist/icons/regular/LevelIcon.js +20 -30
- package/dist/icons/regular/LifePreserverIcon.js +20 -30
- package/dist/icons/regular/LinkIcon.js +20 -30
- package/dist/icons/regular/LinkedinIcon.js +20 -30
- package/dist/icons/regular/LinkedinOutlineIcon.js +20 -30
- package/dist/icons/regular/ListIcon.js +20 -30
- package/dist/icons/regular/ListeningIcon.js +20 -30
- package/dist/icons/regular/LocationPinIcon.js +20 -30
- package/dist/icons/regular/Lock1Icon.js +20 -30
- package/dist/icons/regular/LockHeavyIcon.js +20 -30
- package/dist/icons/regular/LockIcon.js +20 -30
- package/dist/icons/regular/MachineLearningIcon.js +20 -30
- package/dist/icons/regular/MaintenanceIcon.js +20 -30
- package/dist/icons/regular/MapFingerIcon.js +20 -30
- package/dist/icons/regular/MapPinIcon.js +20 -30
- package/dist/icons/regular/MarkerIcon.js +20 -30
- package/dist/icons/regular/MastercardIcon.js +20 -30
- package/dist/icons/regular/MathIcon.js +20 -30
- package/dist/icons/regular/MediumIcon.js +20 -30
- package/dist/icons/regular/MegaphoneIcon.js +20 -30
- package/dist/icons/regular/MenuIcon.js +20 -30
- package/dist/icons/regular/MicrophoneIcon.js +20 -30
- package/dist/icons/regular/MinimizeBarIcon.js +20 -30
- package/dist/icons/regular/MinimizeIcon.js +20 -30
- package/dist/icons/regular/MobileDevelopmentIcon.js +20 -30
- package/dist/icons/regular/MoneyWalletIcon.js +20 -30
- package/dist/icons/regular/MonitorBookIcon.js +20 -30
- package/dist/icons/regular/MultipleActionsViewIcon.js +20 -30
- package/dist/icons/regular/MultipleUsersIcon.js +20 -30
- package/dist/icons/regular/NarrativeIcon.js +20 -30
- package/dist/icons/regular/NetworkUserIcon.js +20 -30
- package/dist/icons/regular/NotebookIcon.js +20 -30
- package/dist/icons/regular/ObjectiveIcon.js +20 -30
- package/dist/icons/regular/OfficeBuildingDoubleIcon.js +20 -30
- package/dist/icons/regular/OneTimeIcon.js +20 -30
- package/dist/icons/regular/OpenAiFullIcon.js +20 -30
- package/dist/icons/regular/OpenAiIcon.js +20 -30
- package/dist/icons/regular/OpenIcon.js +20 -30
- package/dist/icons/regular/OptimizationClockIcon.js +20 -30
- package/dist/icons/regular/OverviewIcon.js +20 -30
- package/dist/icons/regular/PathChangeIcon.js +20 -30
- package/dist/icons/regular/PathCompleteIcon.js +20 -30
- package/dist/icons/regular/PathIcon.js +20 -30
- package/dist/icons/regular/PauseIcon.js +20 -30
- package/dist/icons/regular/PaypalLogoIcon.js +20 -30
- package/dist/icons/regular/PdfIcon.js +20 -30
- package/dist/icons/regular/PeopleIcon.js +20 -30
- package/dist/icons/regular/PersonChatIcon.js +20 -30
- package/dist/icons/regular/PersonFilledIcon.js +20 -30
- package/dist/icons/regular/PersonIcon.js +20 -30
- package/dist/icons/regular/PersonPonytailIcon.js +20 -30
- package/dist/icons/regular/PhoneIcon.js +20 -30
- package/dist/icons/regular/PhpIcon.js +20 -30
- package/dist/icons/regular/PieLineGraphIcon.js +20 -30
- package/dist/icons/regular/PinIcon.js +20 -30
- package/dist/icons/regular/PlayCircledIcon.js +20 -30
- package/dist/icons/regular/PlayIcon.js +20 -30
- package/dist/icons/regular/PortfolioProjectIcon.js +20 -30
- package/dist/icons/regular/ProfessionalCertificateIcon.js +20 -30
- package/dist/icons/regular/ProgrammingBrowserIcon.js +20 -30
- package/dist/icons/regular/ProgrammingTeamChatIcon.js +20 -30
- package/dist/icons/regular/ProjectsIcon.js +20 -30
- package/dist/icons/regular/PythonIcon.js +20 -30
- package/dist/icons/regular/QrCodeScanIcon.js +20 -30
- package/dist/icons/regular/QuestionMarkIcon.js +20 -30
- package/dist/icons/regular/QuizIcon.js +20 -30
- package/dist/icons/regular/RIcon.js +20 -30
- package/dist/icons/regular/RadarIcon.js +20 -30
- package/dist/icons/regular/RailsIcon.js +20 -30
- package/dist/icons/regular/RatingStarCircleIcon.js +20 -30
- package/dist/icons/regular/RatingStarGiveIcon.js +20 -30
- package/dist/icons/regular/ReactIcon.js +20 -30
- package/dist/icons/regular/RecordingIcon.js +20 -30
- package/dist/icons/regular/RedditIcon.js +20 -30
- package/dist/icons/regular/RefreshIcon.js +20 -30
- package/dist/icons/regular/ResetIcon.js +20 -30
- package/dist/icons/regular/ResponsiveIcon.js +20 -30
- package/dist/icons/regular/RibbonDoubleFilledIcon.js +20 -30
- package/dist/icons/regular/RibbonDoubleIcon.js +20 -30
- package/dist/icons/regular/RibbonFilledIcon.js +20 -30
- package/dist/icons/regular/RibbonIcon.js +20 -30
- package/dist/icons/regular/RoadmapIcon.js +20 -30
- package/dist/icons/regular/RocketIcon.js +20 -30
- package/dist/icons/regular/RoundPinIcon.js +20 -30
- package/dist/icons/regular/RubyIcon.js +20 -30
- package/dist/icons/regular/RulerTriangleIcon.js +20 -30
- package/dist/icons/regular/SavingBankIcon.js +20 -30
- package/dist/icons/regular/SearchIcon.js +20 -30
- package/dist/icons/regular/SendIcon.js +20 -30
- package/dist/icons/regular/SettingsSliderVerticalIcon.js +20 -30
- package/dist/icons/regular/ShareIcon.js +20 -30
- package/dist/icons/regular/SlackIcon.js +20 -30
- package/dist/icons/regular/SmallCheckIcon.js +20 -30
- package/dist/icons/regular/SmileyHappyIcon.js +20 -30
- package/dist/icons/regular/SmileyIndifferentIcon.js +20 -30
- package/dist/icons/regular/SmileySadIcon.js +20 -30
- package/dist/icons/regular/SmileyStarEyesIcon.js +20 -30
- package/dist/icons/regular/SparkleIcon.js +20 -30
- package/dist/icons/regular/SparkleOutlineIcon.js +20 -30
- package/dist/icons/regular/SqlIcon.js +20 -30
- package/dist/icons/regular/StackedSquaresIcon.js +20 -30
- package/dist/icons/regular/StarCircleIcon.js +20 -30
- package/dist/icons/regular/StarFilledCircleIcon.js +20 -30
- package/dist/icons/regular/StarFilledIcon.js +20 -30
- package/dist/icons/regular/StarIcon.js +20 -30
- package/dist/icons/regular/StopSignIcon.js +20 -30
- package/dist/icons/regular/StreakIcon.js +20 -30
- package/dist/icons/regular/StudyBookIcon.js +20 -30
- package/dist/icons/regular/SupportFilledIcon.js +20 -30
- package/dist/icons/regular/SupportIcon.js +20 -30
- package/dist/icons/regular/SwiftIcon.js +20 -30
- package/dist/icons/regular/TagIcon.js +20 -30
- package/dist/icons/regular/TerminalIcon.js +20 -30
- package/dist/icons/regular/ThumbsDownFilledIcon.js +20 -30
- package/dist/icons/regular/ThumbsDownIcon.js +20 -30
- package/dist/icons/regular/ThumbsUpFilledIcon.js +20 -30
- package/dist/icons/regular/ThumbsUpIcon.js +20 -30
- package/dist/icons/regular/TikTokIcon.js +20 -30
- package/dist/icons/regular/TrackIcon.js +20 -30
- package/dist/icons/regular/TrashIcon.js +20 -30
- package/dist/icons/regular/TrophyFilledIcon.js +20 -30
- package/dist/icons/regular/TrophyIcon.js +20 -30
- package/dist/icons/regular/TwitterIcon.js +20 -30
- package/dist/icons/regular/TwitterOutlineIcon.js +20 -30
- package/dist/icons/regular/TypeIcon.js +20 -30
- package/dist/icons/regular/UnlockHeavyIcon.js +20 -30
- package/dist/icons/regular/UnlockIcon.js +20 -30
- package/dist/icons/regular/UploadIcon.js +20 -30
- package/dist/icons/regular/VideoPlayerMovieIcon.js +20 -30
- package/dist/icons/regular/ViewIcon.js +20 -30
- package/dist/icons/regular/ViewOffIcon.js +20 -30
- package/dist/icons/regular/VisaIcon.js +20 -30
- package/dist/icons/regular/WebDesignIcon.js +20 -30
- package/dist/icons/regular/WebDevelopmentIcon.js +20 -30
- package/dist/icons/regular/WhatsAppFilledIcon.js +20 -30
- package/dist/icons/regular/XIcon.js +20 -30
- package/dist/icons/regular/YoutubeIcon.js +20 -30
- package/dist/icons/regular/YoutubePlayIcon.js +20 -30
- package/dist/icons/regular/ZoomIcon.js +20 -30
- package/dist/props.d.ts +2 -2
- package/dist/props.js +2 -2
- package/dist/useIconId.js +3 -3
- package/package.json +4 -4
|
@@ -1,28 +1,18 @@
|
|
|
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
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
titleId
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
var maskId = useIconId('YoutubePlayIcon');
|
|
25
|
-
return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
|
|
4
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
+
export const YoutubePlayIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
|
|
6
|
+
let {
|
|
7
|
+
title,
|
|
8
|
+
titleId,
|
|
9
|
+
size = 16,
|
|
10
|
+
height = size,
|
|
11
|
+
width = size,
|
|
12
|
+
...props
|
|
13
|
+
} = _ref;
|
|
14
|
+
const maskId = useIconId('YoutubePlayIcon');
|
|
15
|
+
return /*#__PURE__*/_jsxs(Svg, {
|
|
26
16
|
viewBox: "0 0 24 24",
|
|
27
17
|
xmlns: "http://www.w3.org/2000/svg",
|
|
28
18
|
fill: "#fff",
|
|
@@ -32,13 +22,13 @@ export var YoutubePlayIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRe
|
|
|
32
22
|
width: width,
|
|
33
23
|
height: height,
|
|
34
24
|
ref: svgRef,
|
|
35
|
-
"aria-labelledby": titleId
|
|
36
|
-
|
|
25
|
+
"aria-labelledby": titleId,
|
|
26
|
+
...props,
|
|
37
27
|
children: [title ? /*#__PURE__*/_jsx("title", {
|
|
38
28
|
id: titleId,
|
|
39
29
|
children: title
|
|
40
30
|
}) : null, /*#__PURE__*/_jsx("mask", {
|
|
41
|
-
id:
|
|
31
|
+
id: `${maskId}`,
|
|
42
32
|
children: /*#__PURE__*/_jsx("path", {
|
|
43
33
|
d: "M23.25 7.44A3.44 3.44 0 0019.81 4H4.19A3.44 3.44 0 00.75 7.44v9.12A3.44 3.44 0 004.19 20h15.62a3.44 3.44 0 003.44-3.44zM9.5 15.94V7.28l6.77 4.33z",
|
|
44
34
|
fill: "none",
|
|
@@ -48,12 +38,12 @@ export var YoutubePlayIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRe
|
|
|
48
38
|
strokeWidth: 1.5
|
|
49
39
|
})
|
|
50
40
|
}), /*#__PURE__*/_jsx("g", {
|
|
51
|
-
mask:
|
|
41
|
+
mask: `url(#${maskId})`,
|
|
52
42
|
children: /*#__PURE__*/_jsx("rect", {
|
|
53
|
-
width:
|
|
54
|
-
height:
|
|
55
|
-
fill:
|
|
43
|
+
width: `100%`,
|
|
44
|
+
height: `100%`,
|
|
45
|
+
fill: `currentColor`
|
|
56
46
|
})
|
|
57
47
|
})]
|
|
58
|
-
})
|
|
48
|
+
});
|
|
59
49
|
});
|
|
@@ -1,28 +1,18 @@
|
|
|
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
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
titleId
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
var maskId = useIconId('ZoomIcon');
|
|
25
|
-
return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
|
|
4
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
+
export const ZoomIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
|
|
6
|
+
let {
|
|
7
|
+
title,
|
|
8
|
+
titleId,
|
|
9
|
+
size = 16,
|
|
10
|
+
height = size,
|
|
11
|
+
width = size,
|
|
12
|
+
...props
|
|
13
|
+
} = _ref;
|
|
14
|
+
const maskId = useIconId('ZoomIcon');
|
|
15
|
+
return /*#__PURE__*/_jsxs(Svg, {
|
|
26
16
|
xmlns: "http://www.w3.org/2000/svg",
|
|
27
17
|
viewBox: "0 0 24 24",
|
|
28
18
|
fill: "#fff",
|
|
@@ -32,13 +22,13 @@ export var ZoomIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
|
32
22
|
width: width,
|
|
33
23
|
height: height,
|
|
34
24
|
ref: svgRef,
|
|
35
|
-
"aria-labelledby": titleId
|
|
36
|
-
|
|
25
|
+
"aria-labelledby": titleId,
|
|
26
|
+
...props,
|
|
37
27
|
children: [title ? /*#__PURE__*/_jsx("title", {
|
|
38
28
|
id: titleId,
|
|
39
29
|
children: title
|
|
40
30
|
}) : null, /*#__PURE__*/_jsx("mask", {
|
|
41
|
-
id:
|
|
31
|
+
id: `${maskId}`,
|
|
42
32
|
children: /*#__PURE__*/_jsx("path", {
|
|
43
33
|
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",
|
|
44
34
|
fill: "none",
|
|
@@ -48,12 +38,12 @@ export var ZoomIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
|
48
38
|
strokeWidth: 1.5
|
|
49
39
|
})
|
|
50
40
|
}), /*#__PURE__*/_jsx("g", {
|
|
51
|
-
mask:
|
|
41
|
+
mask: `url(#${maskId})`,
|
|
52
42
|
children: /*#__PURE__*/_jsx("rect", {
|
|
53
|
-
width:
|
|
54
|
-
height:
|
|
55
|
-
fill:
|
|
43
|
+
width: `100%`,
|
|
44
|
+
height: `100%`,
|
|
45
|
+
fill: `currentColor`
|
|
56
46
|
})
|
|
57
47
|
})]
|
|
58
|
-
})
|
|
48
|
+
});
|
|
59
49
|
});
|
package/dist/props.d.ts
CHANGED
|
@@ -369,7 +369,7 @@ export declare const iconProps: import("@codecademy/variance/dist/types/config")
|
|
|
369
369
|
}>>]>>;
|
|
370
370
|
export declare const Svg: import("@emotion/styled").StyledComponent<{
|
|
371
371
|
theme?: import("@emotion/react").Theme | undefined;
|
|
372
|
-
as?: import("react").ElementType<any> | undefined;
|
|
372
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
373
373
|
} & {
|
|
374
374
|
flexBasis?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
375
375
|
readonly property: "flexBasis";
|
|
@@ -704,5 +704,5 @@ export declare const Svg: import("@emotion/styled").StyledComponent<{
|
|
|
704
704
|
}>;
|
|
705
705
|
} & {
|
|
706
706
|
theme?: import("@emotion/react").Theme | undefined;
|
|
707
|
-
}, Pick<import("react").SVGProps<SVGSVGElement>, "string" | "scale" | "filter" | "fill" | "values" | "spacing" | "clipPath" | "cursor" | "direction" | "fontSizeAdjust" | "fontStretch" | "fontVariant" | "imageRendering" | "paintOrder" | "pointerEvents" | "rotate" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "wordSpacing" | "writingMode" | "mask" | "offset" | "min" | "max" | "end" | "clip" | "className" | "id" | "lang" | "media" | "method" | "name" | "style" | "target" | "type" | "role" | "tabIndex" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "exponent" | "externalResourcesRequired" | "fillOpacity" | "fillRule" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "href" | "ideographic" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "numOctaves" | "operator" | "orient" | "orientation" | "origin" | "overlinePosition" | "overlineThickness" | "panose1" | "path" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "shapeRendering" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "
|
|
707
|
+
}, Pick<import("react").SVGProps<SVGSVGElement>, "string" | "scale" | "filter" | "fill" | "values" | "spacing" | "clipPath" | "cursor" | "direction" | "fontSizeAdjust" | "fontStretch" | "fontVariant" | "imageRendering" | "paintOrder" | "pointerEvents" | "rotate" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "wordSpacing" | "writingMode" | "mask" | "offset" | "min" | "max" | "end" | "clip" | "suppressHydrationWarning" | "className" | "id" | "lang" | "media" | "method" | "name" | "style" | "target" | "type" | "role" | "tabIndex" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "exponent" | "externalResourcesRequired" | "fillOpacity" | "fillRule" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "href" | "ideographic" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "numOctaves" | "operator" | "orient" | "orientation" | "origin" | "overlinePosition" | "overlineThickness" | "panose1" | "path" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "shapeRendering" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "ref" | "key">, {}>;
|
|
708
708
|
export {};
|
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,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/gamut-icons",
|
|
3
3
|
"description": "Icon library for codecademy.com",
|
|
4
|
-
"version": "9.32.
|
|
4
|
+
"version": "9.32.2-alpha.02bcda.0",
|
|
5
5
|
"author": "Codecademy <dev@codecademy.com>",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@codecademy/gamut-styles": "17.1.
|
|
8
|
-
"@codecademy/variance": "0.21.
|
|
7
|
+
"@codecademy/gamut-styles": "17.1.2-alpha.02bcda.0",
|
|
8
|
+
"@codecademy/variance": "0.21.5-alpha.02bcda.0"
|
|
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": "0e97e75adbccf81b803e7b9acc75c0d1853114ab"
|
|
33
33
|
}
|