@liner-fe/icon 0.1.7 → 0.1.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @liner-fe/icon
2
2
 
3
+ ## 0.1.8
4
+
5
+ ### Patch Changes
6
+
7
+ - 35a0717: 트리쉐이킹 안되는 @liner-fe/icon 모듈 삭제
8
+
3
9
  ## 0.1.7
4
10
 
5
11
  ### Patch Changes
package/index.tsx CHANGED
@@ -647,13 +647,3 @@ export interface NewIconProps extends Omit<SVGProps<SVGSVGElement>, 'fill' | 'na
647
647
  export type IconComponentType = React.ForwardRefExoticComponent<
648
648
  Omit<NewIconProps, 'ref'> & React.RefAttributes<SVGSVGElement>
649
649
  >;
650
-
651
- export const Icon = forwardRef<SVGSVGElement, IconProps>(({name, size = "m", ...props}, ref) => {
652
- const IconComponent = IconMap[name];
653
-
654
- if (!IconComponent) {
655
- return null;
656
- }
657
-
658
- return <IconComponent {...props} ref={ref} size={size} />;
659
- });
package/lib/index.d.ts CHANGED
@@ -434,6 +434,5 @@ interface NewIconProps extends Omit<SVGProps<SVGSVGElement>, 'fill' | 'name'> {
434
434
  fillType?: BasicColorType;
435
435
  }
436
436
  type IconComponentType = React.ForwardRefExoticComponent<Omit<NewIconProps, 'ref'> & React.RefAttributes<SVGSVGElement>>;
437
- declare const Icon: React.ForwardRefExoticComponent<Omit<IconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
438
437
 
439
- export { Icon, IconAddClock, IconAddToFolder, IconAi, IconAirplane, IconAndroid, IconApple, IconArrowBack, IconArrowBackward, IconArrowDown, IconArrowDownLeft, IconArrowDownward, IconArrowDropRight, IconArrowForward, IconArrowLeft, IconArrowRight, IconArrowTurn, IconArrowUp, IconArrowUpDown, IconArrowUpLeft, IconArrowUpRight, IconArrowUpward, IconAtSign, IconBag, IconBalance, IconBell, IconBlock, IconBolt, IconBook, IconBookmark, IconBookmarkCancel, IconBooks, IconBrain, IconBulb, IconBulbExclamtionmark, IconCamera, IconCar, IconCasualShoe, IconChartBar, IconChartLineUptrend, IconCheckMark, IconCheckMarkFill, IconCheckMarkInCircle, IconChrome, IconClock, IconClose, IconCloseFill, IconCollectionAdd, IconCollections, IconColorCitationRecommender, IconColorDocx, IconColorExcel, IconColorFacebook, IconColorFire, IconColorGoogle, IconColorHtml, IconColorHypothesisGenerator, IconColorLiner, IconColorLinerVariation, IconColorLink, IconColorLiteratureReview, IconColorPdf, IconColorPeerReview, IconColorPowerpoint, IconColorResearchTracer, IconColorSurveySimulator, IconColorTxt, type IconComponentType, IconCopy, IconCredit, IconCreditAdd, IconCreditcard, IconDarkMode, IconDescription, IconDesktop, IconDesktopOnCursor, IconDocument, IconDocumentAdd, IconDocumentCheck, IconDocumentWarning, IconDoubleArrowBackward, IconDoubleArrowForward, IconDownload, IconDropDown, IconDropUp, IconEmail, IconEnd, IconEssay, IconExclamationmark, IconExclamationmarkFill, IconExpand, IconExpandClose, IconExtend, IconFacebook, IconFeedback, IconFilter, IconFire, IconFlowchart, IconFocus, IconFolder, IconFolderAdd, IconFolderOpen, IconFolderOpenShare, IconFolderShare, IconFormalBag, IconGlobe, IconGoogle, IconGoogleExport, IconGraduationcap, IconHelp, IconHideAll, IconHighlightEdit, IconHighlighter, IconHistory, IconHome, IconHourglass, IconInfo, IconLight, IconLightMode, IconLiner, IconLink, IconList, IconLiteratureReview, IconLocation, IconLock, IconMNewTab, IconMagicPencil, IconMagicWand, IconMakeEasy, IconMap, IconMembers, IconMemo, IconMenu, IconMicroscope, IconMindmap, IconMinus, IconMobile, IconMore, IconMoreHorizontal, IconMoreVertical, IconMove, IconMoveToFolder, type IconName, IconNewChromeExtension, IconNewTab, IconNewThread, IconNewThreadFolder, IconPalette, IconPaperclip, IconParagraph, IconParaphrase, IconPencil, IconPerson, IconPersonAdd, IconPersonFill, IconPhoto, IconPlayButton, IconPlus, IconPower, type IconProps, IconQuestionBox, IconQuestionMessage, IconQuote, IconRedo, IconRegenerate, IconRemoveFromFolder, IconReport, IconRestaurant, IconRetry, IconRocket, IconSearch, IconSecretMode, IconSend, IconSetting, IconShare, IconSheetExport, IconShield, IconShieldPerson, IconShieldUsage, IconShorten, IconShowAll, IconSignOut, type IconSizeKey, IconSource, IconSpeaker, IconSpinner, IconStack, IconStar, IconStart, IconStep, IconStop, IconSummarize, IconSurvey, IconTarget, IconTeams, IconTextSelect, IconThumbDown, IconThumbUp, IconTimer, IconTranslate, IconTrash, IconTune, IconTwitter, IconUndo, IconVerificationBadge, IconViewList, IconVisibility, IconVisibilityOff, IconVolume, IconVolumeUp, IconZoomIn, IconZoomOut, type NewIconProps };
438
+ export { IconAddClock, IconAddToFolder, IconAi, IconAirplane, IconAndroid, IconApple, IconArrowBack, IconArrowBackward, IconArrowDown, IconArrowDownLeft, IconArrowDownward, IconArrowDropRight, IconArrowForward, IconArrowLeft, IconArrowRight, IconArrowTurn, IconArrowUp, IconArrowUpDown, IconArrowUpLeft, IconArrowUpRight, IconArrowUpward, IconAtSign, IconBag, IconBalance, IconBell, IconBlock, IconBolt, IconBook, IconBookmark, IconBookmarkCancel, IconBooks, IconBrain, IconBulb, IconBulbExclamtionmark, IconCamera, IconCar, IconCasualShoe, IconChartBar, IconChartLineUptrend, IconCheckMark, IconCheckMarkFill, IconCheckMarkInCircle, IconChrome, IconClock, IconClose, IconCloseFill, IconCollectionAdd, IconCollections, IconColorCitationRecommender, IconColorDocx, IconColorExcel, IconColorFacebook, IconColorFire, IconColorGoogle, IconColorHtml, IconColorHypothesisGenerator, IconColorLiner, IconColorLinerVariation, IconColorLink, IconColorLiteratureReview, IconColorPdf, IconColorPeerReview, IconColorPowerpoint, IconColorResearchTracer, IconColorSurveySimulator, IconColorTxt, type IconComponentType, IconCopy, IconCredit, IconCreditAdd, IconCreditcard, IconDarkMode, IconDescription, IconDesktop, IconDesktopOnCursor, IconDocument, IconDocumentAdd, IconDocumentCheck, IconDocumentWarning, IconDoubleArrowBackward, IconDoubleArrowForward, IconDownload, IconDropDown, IconDropUp, IconEmail, IconEnd, IconEssay, IconExclamationmark, IconExclamationmarkFill, IconExpand, IconExpandClose, IconExtend, IconFacebook, IconFeedback, IconFilter, IconFire, IconFlowchart, IconFocus, IconFolder, IconFolderAdd, IconFolderOpen, IconFolderOpenShare, IconFolderShare, IconFormalBag, IconGlobe, IconGoogle, IconGoogleExport, IconGraduationcap, IconHelp, IconHideAll, IconHighlightEdit, IconHighlighter, IconHistory, IconHome, IconHourglass, IconInfo, IconLight, IconLightMode, IconLiner, IconLink, IconList, IconLiteratureReview, IconLocation, IconLock, IconMNewTab, IconMagicPencil, IconMagicWand, IconMakeEasy, IconMap, IconMembers, IconMemo, IconMenu, IconMicroscope, IconMindmap, IconMinus, IconMobile, IconMore, IconMoreHorizontal, IconMoreVertical, IconMove, IconMoveToFolder, type IconName, IconNewChromeExtension, IconNewTab, IconNewThread, IconNewThreadFolder, IconPalette, IconPaperclip, IconParagraph, IconParaphrase, IconPencil, IconPerson, IconPersonAdd, IconPersonFill, IconPhoto, IconPlayButton, IconPlus, IconPower, type IconProps, IconQuestionBox, IconQuestionMessage, IconQuote, IconRedo, IconRegenerate, IconRemoveFromFolder, IconReport, IconRestaurant, IconRetry, IconRocket, IconSearch, IconSecretMode, IconSend, IconSetting, IconShare, IconSheetExport, IconShield, IconShieldPerson, IconShieldUsage, IconShorten, IconShowAll, IconSignOut, type IconSizeKey, IconSource, IconSpeaker, IconSpinner, IconStack, IconStar, IconStart, IconStep, IconStop, IconSummarize, IconSurvey, IconTarget, IconTeams, IconTextSelect, IconThumbDown, IconThumbUp, IconTimer, IconTranslate, IconTrash, IconTune, IconTwitter, IconUndo, IconVerificationBadge, IconViewList, IconVisibility, IconVisibilityOff, IconVolume, IconVolumeUp, IconZoomIn, IconZoomOut, type NewIconProps };
package/lib/index.js CHANGED
@@ -1302,7 +1302,7 @@ var require_react_development = __commonJS({
1302
1302
  return lazyType;
1303
1303
  }
1304
1304
  __name(lazy, "lazy");
1305
- function forwardRef208(render) {
1305
+ function forwardRef207(render) {
1306
1306
  {
1307
1307
  if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
1308
1308
  error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).");
@@ -1341,7 +1341,7 @@ var require_react_development = __commonJS({
1341
1341
  }
1342
1342
  return elementType;
1343
1343
  }
1344
- __name(forwardRef208, "forwardRef");
1344
+ __name(forwardRef207, "forwardRef");
1345
1345
  var REACT_MODULE_REFERENCE;
1346
1346
  {
1347
1347
  REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
@@ -2247,7 +2247,7 @@ var require_react_development = __commonJS({
2247
2247
  exports.createElement = createElement$1;
2248
2248
  exports.createFactory = createFactory;
2249
2249
  exports.createRef = createRef;
2250
- exports.forwardRef = forwardRef208;
2250
+ exports.forwardRef = forwardRef207;
2251
2251
  exports.isValidElement = isValidElement;
2252
2252
  exports.lazy = lazy;
2253
2253
  exports.memo = memo;
@@ -2322,7 +2322,7 @@ var require_react_jsx_runtime_development = __commonJS({
2322
2322
  if (process.env.NODE_ENV !== "production") {
2323
2323
  (function() {
2324
2324
  "use strict";
2325
- var React208 = require_react();
2325
+ var React207 = require_react();
2326
2326
  var REACT_ELEMENT_TYPE = Symbol.for("react.element");
2327
2327
  var REACT_PORTAL_TYPE = Symbol.for("react.portal");
2328
2328
  var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
@@ -2349,7 +2349,7 @@ var require_react_jsx_runtime_development = __commonJS({
2349
2349
  return null;
2350
2350
  }
2351
2351
  __name(getIteratorFn, "getIteratorFn");
2352
- var ReactSharedInternals = React208.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
2352
+ var ReactSharedInternals = React207.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
2353
2353
  function error(format) {
2354
2354
  {
2355
2355
  {
@@ -3238,10 +3238,10 @@ var require_react_jsx_runtime_development = __commonJS({
3238
3238
  }
3239
3239
  }
3240
3240
  __name(jsxWithValidationDynamic, "jsxWithValidationDynamic");
3241
- var jsx208 = jsxWithValidationDynamic;
3241
+ var jsx207 = jsxWithValidationDynamic;
3242
3242
  var jsxs146 = jsxWithValidationStatic;
3243
3243
  exports.Fragment = REACT_FRAGMENT_TYPE;
3244
- exports.jsx = jsx208;
3244
+ exports.jsx = jsx207;
3245
3245
  exports.jsxs = jsxs146;
3246
3246
  })();
3247
3247
  }
@@ -3263,7 +3263,6 @@ var require_jsx_runtime = __commonJS({
3263
3263
  // index.tsx
3264
3264
  var index_exports = {};
3265
3265
  __export(index_exports, {
3266
- Icon: () => Icon,
3267
3266
  IconAddClock: () => IconAddClock,
3268
3267
  IconAddToFolder: () => IconAddToFolder,
3269
3268
  IconAi: () => IconAi,
@@ -3473,7 +3472,6 @@ __export(index_exports, {
3473
3472
  IconZoomOut: () => IconZoomOut
3474
3473
  });
3475
3474
  module.exports = __toCommonJS(index_exports);
3476
- var import_react207 = __toESM(require_react());
3477
3475
 
3478
3476
  // assets/arrow-upward/index.tsx
3479
3477
  var import_react = __toESM(require_react());
@@ -9085,7 +9083,6 @@ var IconAtSign = (0, import_react206.forwardRef)(
9085
9083
  );
9086
9084
 
9087
9085
  // index.tsx
9088
- var import_jsx_runtime207 = __toESM(require_jsx_runtime());
9089
9086
  var IconMap = {
9090
9087
  "arrow-upward": IconArrowUpward,
9091
9088
  "arrow-downward": IconArrowDownward,
@@ -9294,13 +9291,6 @@ var IconMap = {
9294
9291
  "color-research-tracer": IconColorResearchTracer,
9295
9292
  "at-sign": IconAtSign
9296
9293
  };
9297
- var Icon = (0, import_react207.forwardRef)(({ name, size = "m", ...props }, ref) => {
9298
- const IconComponent = IconMap[name];
9299
- if (!IconComponent) {
9300
- return null;
9301
- }
9302
- return /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(IconComponent, { ...props, ref, size });
9303
- });
9304
9294
  /*! Bundled license information:
9305
9295
 
9306
9296
  react/cjs/react.production.min.js:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liner-fe/icon",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "scripts": {
5
5
  "build": "yarn tsup --config ./config/tsup/tsup.config.ts"
6
6
  },