@liner-fe/icon 0.1.15 → 0.1.16

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.16
4
+
5
+ ### Patch Changes
6
+
7
+ - 8ee79d8: fix: icon dual package
8
+
3
9
  ## 0.1.15
4
10
 
5
11
  ### Patch Changes
@@ -6,39 +6,39 @@ export const IconColorPeerReview = forwardRef<SVGSVGElement, IconProps>(
6
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
7
7
  if (fill && thick) {
8
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
9
- <path d="M44.3984 39.5996H3.59863V34.7998H44.3984V39.5996Z" fill="#0C893B" fill-opacity="0.7"/>
10
- <path d="M24.7588 26.3994H3.59863V21.5986H23.417L24.7588 26.3994Z" fill="#0C893B" fill-opacity="0.7"/>
11
- <path d="M44.3994 26.3994H33.6074L33.7451 26.1445L44.3994 22.3027V26.3994Z" fill="#0C893B" fill-opacity="0.7"/>
12
- <path d="M20.3994 14.3994H3.59863V9.59863H20.3994V14.3994Z" fill="#0C893B" fill-opacity="0.7"/>
13
- <path d="M45.6002 21.8702L33.7448 26.1447L27.776 37.2003L20.4 10.7999L45.6002 21.8702ZM28.6656 29.2365L31.65 23.7111L37.5153 21.5958L24.9948 16.0948L28.6656 29.2365Z" fill="#0C893B"/>
9
+ <path d="M4 10.668L20.4 10.8013L21.6 14.668L4 14.668V10.668Z" fill="#0C893B" fill-opacity="0.7"/>
10
+ <path d="M4 34.668H44V38.668H4V34.668Z" fill="#0C893B" fill-opacity="0.7"/>
11
+ <path d="M24.8336 26.6687H4V22.668H23.7156L24.8336 26.6687Z" fill="#0C893B" fill-opacity="0.7"/>
12
+ <path d="M44.0008 26.6687H33.4633L33.7457 26.1461L43.3938 22.668H44.0008V26.6687Z" fill="#0C893B" fill-opacity="0.7"/>
13
+ <path d="M45.6004 21.8715L33.7457 26.1453L27.7762 37.2008L20.4004 10.8008L45.6004 21.8715ZM28.6656 29.2367L31.6504 23.7125L37.5168 21.5961L24.9941 16.0953L28.6656 29.2367Z" fill="#0C893B"/>
14
14
  </svg>
15
15
  ;
16
16
  } else if (fill) {
17
17
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
18
- <path d="M44.3984 39.5996H3.59863V34.7998H44.3984V39.5996Z" fill="#0C893B" fill-opacity="0.7"/>
19
- <path d="M24.7588 26.3994H3.59863V21.5986H23.417L24.7588 26.3994Z" fill="#0C893B" fill-opacity="0.7"/>
20
- <path d="M44.3994 26.3994H33.6074L33.7451 26.1445L44.3994 22.3027V26.3994Z" fill="#0C893B" fill-opacity="0.7"/>
21
- <path d="M20.3994 14.3994H3.59863V9.59863H20.3994V14.3994Z" fill="#0C893B" fill-opacity="0.7"/>
22
- <path d="M45.6002 21.8702L33.7448 26.1447L27.776 37.2003L20.4 10.7999L45.6002 21.8702ZM28.6656 29.2365L31.65 23.7111L37.5153 21.5958L24.9948 16.0948L28.6656 29.2365Z" fill="#0C893B"/>
18
+ <path d="M4 10.668L20.4 10.8013L21.6 14.668L4 14.668V10.668Z" fill="#0C893B" fill-opacity="0.7"/>
19
+ <path d="M4 34.668H44V38.668H4V34.668Z" fill="#0C893B" fill-opacity="0.7"/>
20
+ <path d="M24.8336 26.6687H4V22.668H23.7156L24.8336 26.6687Z" fill="#0C893B" fill-opacity="0.7"/>
21
+ <path d="M44.0008 26.6687H33.4633L33.7457 26.1461L43.3938 22.668H44.0008V26.6687Z" fill="#0C893B" fill-opacity="0.7"/>
22
+ <path d="M45.6004 21.8715L33.7457 26.1453L27.7762 37.2008L20.4004 10.8008L45.6004 21.8715ZM28.6656 29.2367L31.6504 23.7125L37.5168 21.5961L24.9941 16.0953L28.6656 29.2367Z" fill="#0C893B"/>
23
23
  </svg>
24
24
  ;
25
25
  } else if (thick) {
26
26
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
27
- <path d="M44.3984 39.5996H3.59863V34.7998H44.3984V39.5996Z" fill="#0C893B" fill-opacity="0.7"/>
28
- <path d="M24.7588 26.3994H3.59863V21.5986H23.417L24.7588 26.3994Z" fill="#0C893B" fill-opacity="0.7"/>
29
- <path d="M44.3994 26.3994H33.6074L33.7451 26.1445L44.3994 22.3027V26.3994Z" fill="#0C893B" fill-opacity="0.7"/>
30
- <path d="M20.3994 14.3994H3.59863V9.59863H20.3994V14.3994Z" fill="#0C893B" fill-opacity="0.7"/>
31
- <path d="M45.6002 21.8702L33.7448 26.1447L27.776 37.2003L20.4 10.7999L45.6002 21.8702ZM28.6656 29.2365L31.65 23.7111L37.5153 21.5958L24.9948 16.0948L28.6656 29.2365Z" fill="#0C893B"/>
27
+ <path d="M4 10.668L20.4 10.8013L21.6 14.668L4 14.668V10.668Z" fill="#0C893B" fill-opacity="0.7"/>
28
+ <path d="M4 34.668H44V38.668H4V34.668Z" fill="#0C893B" fill-opacity="0.7"/>
29
+ <path d="M24.8336 26.6687H4V22.668H23.7156L24.8336 26.6687Z" fill="#0C893B" fill-opacity="0.7"/>
30
+ <path d="M44.0008 26.6687H33.4633L33.7457 26.1461L43.3938 22.668H44.0008V26.6687Z" fill="#0C893B" fill-opacity="0.7"/>
31
+ <path d="M45.6004 21.8715L33.7457 26.1453L27.7762 37.2008L20.4004 10.8008L45.6004 21.8715ZM28.6656 29.2367L31.6504 23.7125L37.5168 21.5961L24.9941 16.0953L28.6656 29.2367Z" fill="#0C893B"/>
32
32
  </svg>
33
33
  ;
34
34
  }
35
35
 
36
36
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
37
- <path d="M44.3984 39.5996H3.59863V34.7998H44.3984V39.5996Z" fill="#0C893B" fill-opacity="0.7"/>
38
- <path d="M24.7588 26.3994H3.59863V21.5986H23.417L24.7588 26.3994Z" fill="#0C893B" fill-opacity="0.7"/>
39
- <path d="M44.3994 26.3994H33.6074L33.7451 26.1445L44.3994 22.3027V26.3994Z" fill="#0C893B" fill-opacity="0.7"/>
40
- <path d="M20.3994 14.3994H3.59863V9.59863H20.3994V14.3994Z" fill="#0C893B" fill-opacity="0.7"/>
41
- <path d="M45.6002 21.8702L33.7448 26.1447L27.776 37.2003L20.4 10.7999L45.6002 21.8702ZM28.6656 29.2365L31.65 23.7111L37.5153 21.5958L24.9948 16.0948L28.6656 29.2365Z" fill="#0C893B"/>
37
+ <path d="M4 10.668L20.4 10.8013L21.6 14.668L4 14.668V10.668Z" fill="#0C893B" fill-opacity="0.7"/>
38
+ <path d="M4 34.668H44V38.668H4V34.668Z" fill="#0C893B" fill-opacity="0.7"/>
39
+ <path d="M24.8336 26.6687H4V22.668H23.7156L24.8336 26.6687Z" fill="#0C893B" fill-opacity="0.7"/>
40
+ <path d="M44.0008 26.6687H33.4633L33.7457 26.1461L43.3938 22.668H44.0008V26.6687Z" fill="#0C893B" fill-opacity="0.7"/>
41
+ <path d="M45.6004 21.8715L33.7457 26.1453L27.7762 37.2008L20.4004 10.8008L45.6004 21.8715ZM28.6656 29.2367L31.6504 23.7125L37.5168 21.5961L24.9941 16.0953L28.6656 29.2367Z" fill="#0C893B"/>
42
42
  </svg>
43
43
  ;
44
44
  }
@@ -4,11 +4,13 @@ import { nodeExternalsPlugin } from 'esbuild-node-externals';
4
4
  export default defineConfig({
5
5
  entry: ['index.tsx'],
6
6
  outDir: 'lib',
7
- format: 'esm',
8
- outExtension: () => ({
9
- js: '.js',
10
- dts: '.d.ts',
11
- }),
7
+ format: ['cjs', 'esm'],
8
+ outExtension({ format }) {
9
+ return {
10
+ js: format === 'cjs' ? '.cjs' : '.js',
11
+ dts: '.d.ts',
12
+ };
13
+ },
12
14
  bundle: true,
13
15
  minify: false,
14
16
  keepNames: true,
package/index.tsx CHANGED
@@ -201,13 +201,13 @@ export { IconColorPowerpoint } from './assets/color-powerpoint';
201
201
  export { IconColorLink } from './assets/color-link';
202
202
  export { IconColorHypothesisGenerator } from './assets/color-hypothesis-generator';
203
203
  export { IconColorCitationRecommender } from './assets/color-citation-recommender';
204
- export { IconColorPeerReview } from './assets/color-peer-review';
205
204
  export { IconColorSurveySimulator } from './assets/color-survey-simulator';
206
205
  export { IconColorLiteratureReview } from './assets/color-literature-review';
207
206
  export { IconColorResearchTracer } from './assets/color-research-tracer';
208
207
  export { IconAtSign } from './assets/at-sign';
208
+ export { IconColorPeerReview } from './assets/color-peer-review';
209
209
 
210
- export type IconName = "arrow-upward" | "arrow-downward" | "arrow-back" | "arrow-forward" | "drop-up" | "drop-down" | "arrow-backward" | "arrow-drop-right" | "arrow-up" | "arrow-down" | "arrow-left" | "arrow-right" | "move" | "arrow-turn" | "start" | "end" | "extend" | "shorten" | "more" | "check-mark" | "check-mark-fill" | "exclamationmark" | "exclamationmark-fill" | "plus" | "minus" | "close" | "close-fill" | "double-arrow-forward" | "double-arrow-backward" | "arrow-up-right" | "arrow-down-left" | "arrow-up-left" | "arrow-up-down" | "redo" | "undo" | "expand" | "show-all" | "hide-all" | "help" | "zoom-in" | "zoom-out" | "retry" | "question-message" | "books" | "balance" | "chart-bar" | "chart-line-uptrend" | "folder" | "folder-open" | "folder-add" | "document" | "history" | "person" | "person-add" | "send" | "paperclip" | "share" | "sign-out" | "lock" | "ai" | "trash" | "stack" | "new-thread" | "summarize" | "search" | "memo" | "globe" | "graduationcap" | "palette" | "download" | "copy" | "regenerate" | "credit" | "feedback" | "creditcard" | "speaker" | "tune" | "shield" | "menu" | "light" | "document-add" | "thumb-up" | "thumb-down" | "document-warning" | "person-fill" | "step" | "book" | "description" | "bookmark" | "power" | "photo" | "camera" | "list" | "desktop" | "desktop-on-cursor" | "view-list" | "bolt" | "home" | "visibility" | "visibility-off" | "magic-wand" | "highlighter" | "pencil" | "essay" | "magic-pencil" | "highlight-edit" | "paraphrase" | "bulb-exclamtionmark" | "bulb" | "make-easy" | "translate" | "info" | "apple" | "android" | "twitter" | "facebook" | "google" | "car" | "airplane" | "rocket" | "source" | "liner" | "setting" | "light-mode" | "dark-mode" | "fire" | "question-box" | "target" | "new-tab" | "quote" | "document-check" | "block" | "bookmark-cancel" | "email" | "filter" | "timer" | "play-button" | "text-select" | "bell" | "secret-mode" | "add-clock" | "clock" | "spinner" | "volume-up" | "volume" | "google-export" | "link" | "sheet-export" | "shield-person" | "shield-usage" | "formal-bag" | "casual-shoe" | "folder-open-share" | "folder-share" | "verification-badge" | "report" | "brain" | "mindmap" | "flowchart" | "focus" | "paragraph" | "add-to-folder" | "remove-from-folder" | "move-to-folder" | "new-thread-folder" | "chrome" | "new-chrome-extension" | "mobile" | "members" | "teams" | "stop" | "microscope" | "literature-review" | "expand-close" | "restaurant" | "color-liner" | "color-liner-variation" | "color-facebook" | "color-google" | "color-fire" | "color-txt" | "color-pdf" | "color-docx" | "more-horizontal" | "more-vertical" | "check-mark-in-circle" | "star" | "credit-add" | "m-new-tab" | "collection-add" | "collections" | "survey" | "location" | "hourglass" | "bag" | "color-excel" | "color-html" | "color-powerpoint" | "color-link" | "color-hypothesis-generator" | "color-citation-recommender" | "color-peer-review" | "color-survey-simulator" | "color-literature-review" | "color-research-tracer" | "at-sign";
210
+ export type IconName = "arrow-upward" | "arrow-downward" | "arrow-back" | "arrow-forward" | "drop-up" | "drop-down" | "arrow-backward" | "arrow-drop-right" | "arrow-up" | "arrow-down" | "arrow-left" | "arrow-right" | "move" | "arrow-turn" | "start" | "end" | "extend" | "shorten" | "more" | "check-mark" | "check-mark-fill" | "exclamationmark" | "exclamationmark-fill" | "plus" | "minus" | "close" | "close-fill" | "double-arrow-forward" | "double-arrow-backward" | "arrow-up-right" | "arrow-down-left" | "arrow-up-left" | "arrow-up-down" | "redo" | "undo" | "expand" | "show-all" | "hide-all" | "help" | "zoom-in" | "zoom-out" | "retry" | "question-message" | "books" | "balance" | "chart-bar" | "chart-line-uptrend" | "folder" | "folder-open" | "folder-add" | "document" | "history" | "person" | "person-add" | "send" | "paperclip" | "share" | "sign-out" | "lock" | "ai" | "trash" | "stack" | "new-thread" | "summarize" | "search" | "memo" | "globe" | "graduationcap" | "palette" | "download" | "copy" | "regenerate" | "credit" | "feedback" | "creditcard" | "speaker" | "tune" | "shield" | "menu" | "light" | "document-add" | "thumb-up" | "thumb-down" | "document-warning" | "person-fill" | "step" | "book" | "description" | "bookmark" | "power" | "photo" | "camera" | "list" | "desktop" | "desktop-on-cursor" | "view-list" | "bolt" | "home" | "visibility" | "visibility-off" | "magic-wand" | "highlighter" | "pencil" | "essay" | "magic-pencil" | "highlight-edit" | "paraphrase" | "bulb-exclamtionmark" | "bulb" | "make-easy" | "translate" | "info" | "apple" | "android" | "twitter" | "facebook" | "google" | "car" | "airplane" | "rocket" | "source" | "liner" | "setting" | "light-mode" | "dark-mode" | "fire" | "question-box" | "target" | "new-tab" | "quote" | "document-check" | "block" | "bookmark-cancel" | "email" | "filter" | "timer" | "play-button" | "text-select" | "bell" | "secret-mode" | "add-clock" | "clock" | "spinner" | "volume-up" | "volume" | "google-export" | "link" | "sheet-export" | "shield-person" | "shield-usage" | "formal-bag" | "casual-shoe" | "folder-open-share" | "folder-share" | "verification-badge" | "report" | "brain" | "mindmap" | "flowchart" | "focus" | "paragraph" | "add-to-folder" | "remove-from-folder" | "move-to-folder" | "new-thread-folder" | "chrome" | "new-chrome-extension" | "mobile" | "members" | "teams" | "stop" | "microscope" | "literature-review" | "expand-close" | "restaurant" | "color-liner" | "color-liner-variation" | "color-facebook" | "color-google" | "color-fire" | "color-txt" | "color-pdf" | "color-docx" | "more-horizontal" | "more-vertical" | "check-mark-in-circle" | "star" | "credit-add" | "m-new-tab" | "collection-add" | "collections" | "survey" | "location" | "hourglass" | "bag" | "color-excel" | "color-html" | "color-powerpoint" | "color-link" | "color-hypothesis-generator" | "color-citation-recommender" | "color-survey-simulator" | "color-literature-review" | "color-research-tracer" | "at-sign" | "color-peer-review";
211
211
 
212
212
  export type IconSizeKey = keyof typeof iconSizeMap;
213
213