From 7747cdd75ed736ab1af62a9ed61ea9b46b6c9998 Mon Sep 17 00:00:00 2001 From: "charcoal-bot[bot]" <102140162+charcoal-bot[bot]@users.noreply.github.com> Date: Mon, 22 Jan 2024 01:30:46 +0000 Subject: [PATCH 1/5] [icons-cli] Update icons Mon Jan 22 2024 --- packages/icon-files/src/16/Warning.js | 2 ++ packages/icon-files/src/index.cjs | 1 + packages/icon-files/src/index.d.ts | 1 + packages/icon-files/src/index.js | 1 + packages/icon-files/svg/16/Warning.svg | 1 + 5 files changed, 6 insertions(+) create mode 100644 packages/icon-files/src/16/Warning.js create mode 100644 packages/icon-files/svg/16/Warning.svg diff --git a/packages/icon-files/src/16/Warning.js b/packages/icon-files/src/16/Warning.js new file mode 100644 index 000000000..4af00499c --- /dev/null +++ b/packages/icon-files/src/16/Warning.js @@ -0,0 +1,2 @@ +/** This file is auto generated. DO NOT EDIT BY HAND. */ +export default '' diff --git a/packages/icon-files/src/index.cjs b/packages/icon-files/src/index.cjs index 947ca91e7..fa06483fc 100644 --- a/packages/icon-files/src/index.cjs +++ b/packages/icon-files/src/index.cjs @@ -28,6 +28,7 @@ module.exports = { '16/Smile': () => import('./16/Smile.js').then(m => m.default), '16/Speaker': () => import('./16/Speaker.js').then(m => m.default), '16/View': () => import('./16/View.js').then(m => m.default), + '16/Warning': () => import('./16/Warning.js').then(m => m.default), '24/Add': () => import('./24/Add.js').then(m => m.default), '24/AddImage': () => import('./24/AddImage.js').then(m => m.default), '24/AddModel': () => import('./24/AddModel.js').then(m => m.default), diff --git a/packages/icon-files/src/index.d.ts b/packages/icon-files/src/index.d.ts index 720e1a936..91c6fc541 100644 --- a/packages/icon-files/src/index.d.ts +++ b/packages/icon-files/src/index.d.ts @@ -28,6 +28,7 @@ declare var _default: { '16/Smile': () => Promise; '16/Speaker': () => Promise; '16/View': () => Promise; + '16/Warning': () => Promise; '24/Add': () => Promise; '24/AddImage': () => Promise; '24/AddModel': () => Promise; diff --git a/packages/icon-files/src/index.js b/packages/icon-files/src/index.js index 6aa307fac..1e6dec8ef 100644 --- a/packages/icon-files/src/index.js +++ b/packages/icon-files/src/index.js @@ -28,6 +28,7 @@ export default { '16/Smile': () => import('./16/Smile.js').then(m => m.default), '16/Speaker': () => import('./16/Speaker.js').then(m => m.default), '16/View': () => import('./16/View.js').then(m => m.default), + '16/Warning': () => import('./16/Warning.js').then(m => m.default), '24/Add': () => import('./24/Add.js').then(m => m.default), '24/AddImage': () => import('./24/AddImage.js').then(m => m.default), '24/AddModel': () => import('./24/AddModel.js').then(m => m.default), diff --git a/packages/icon-files/svg/16/Warning.svg b/packages/icon-files/svg/16/Warning.svg new file mode 100644 index 000000000..e0545936b --- /dev/null +++ b/packages/icon-files/svg/16/Warning.svg @@ -0,0 +1 @@ + \ No newline at end of file From c32d6def7f5ab6a11e31dd9729ed4a2127aca784 Mon Sep 17 00:00:00 2001 From: mimo Date: Wed, 24 Jan 2024 14:58:48 +0900 Subject: [PATCH 2/5] chore: ignore charcoal-ui/icons snapshot test --- storyshots.config.mjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/storyshots.config.mjs b/storyshots.config.mjs index f2aa55e36..461ff3e6b 100644 --- a/storyshots.config.mjs +++ b/storyshots.config.mjs @@ -14,4 +14,7 @@ export default { '\\.(mdx)$': '/__mocks__/mdx.ts', }, testMatch: ['/**/storyshots.test.(js|jsx|ts|tsx)'], + testPathIgnorePatterns: [ + '/packages/icons/src/__snapshots__/PixivIcon.story.storyshot', + ], } From c3b2e6379024566f043318c9b768406a8fc1547e Mon Sep 17 00:00:00 2001 From: naporin0624 Date: Wed, 24 Jan 2024 15:42:16 +0900 Subject: [PATCH 3/5] chore: ignore charcoal-ui/icons snapshot test --- storyshots.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/storyshots.test.js b/storyshots.test.js index 15bd5c735..5f01c8774 100644 --- a/storyshots.test.js +++ b/storyshots.test.js @@ -6,4 +6,5 @@ import { styleSheetSerializer } from 'jest-styled-components' initStoryshots({ test: multiSnapshotWithOptions(), snapshotSerializers: [styleSheetSerializer], + storyKindRegex: /^((?!Icons\/).)*$/ }) From 01055915ea0e16ef7b127c540e01180b8093a95c Mon Sep 17 00:00:00 2001 From: naporin0624 Date: Wed, 24 Jan 2024 15:46:25 +0900 Subject: [PATCH 4/5] chore: ignore charcoal-ui/icons snapshot test --- storyshots.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storyshots.test.js b/storyshots.test.js index 5f01c8774..e5c03e7a7 100644 --- a/storyshots.test.js +++ b/storyshots.test.js @@ -6,5 +6,5 @@ import { styleSheetSerializer } from 'jest-styled-components' initStoryshots({ test: multiSnapshotWithOptions(), snapshotSerializers: [styleSheetSerializer], - storyKindRegex: /^((?!Icons\/).)*$/ + storyKindRegex: /^((?!Icons\/).)*$/, }) From 1473f7f90d1d70ef4975c0b73882804a4806a064 Mon Sep 17 00:00:00 2001 From: naporin0624 Date: Wed, 24 Jan 2024 15:57:45 +0900 Subject: [PATCH 5/5] chore: limit to only PixivIcon --- .../__snapshots__/PixivIcon.story.storyshot | 3346 ----------------- storyshots.config.mjs | 3 - storyshots.test.js | 2 +- 3 files changed, 1 insertion(+), 3350 deletions(-) delete mode 100644 packages/icons/src/__snapshots__/PixivIcon.story.storyshot diff --git a/packages/icons/src/__snapshots__/PixivIcon.story.storyshot b/packages/icons/src/__snapshots__/PixivIcon.story.storyshot deleted file mode 100644 index fcdea450e..000000000 --- a/packages/icons/src/__snapshots__/PixivIcon.story.storyshot +++ /dev/null @@ -1,3346 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots Icons/PixivIcon () Default 1`] = ` -.c2 { - display: grid; - gap: 8px; - grid-template-columns: 1fr 1fr 1fr; -} - -.c0 + .c0 { - margin-top: 64px; -} - -.c3 { - color: #000000; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 32px; -} - -.c3 pixiv-icon { - display: block; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; -} - -.c3 pixiv-icon + div { - -webkit-flex: 1 0; - -ms-flex: 1 0; - flex: 1 0; - margin-left: 8px; - font-size: 14px; - line-height: 22px; -} - -.c1 { - font-size: 20px; - line-height: 28px; - font-weight: bold; - margin: 16px 0; -} - -
-
-

- 16 - (scale: - 1 - ) -

-
-
- -
- 16/Add -
-
-
- -
- 16/Archive -
-
-
- -
- 16/ArrowDown -
-
-
- -
- 16/Artwork -
-
-
- -
- 16/Back -
-
-
- -
- 16/Book -
-
-
- -
- 16/BookmarkOff -
-
-
- -
- 16/BookmarkOn -
-
-
- -
- 16/Check -
-
-
- -
- 16/Comment -
-
-
- -
- 16/Dot -
-
-
- -
- 16/Error -
-
-
- -
- 16/Filter -
-
-
- -
- 16/ImageResponse -
-
-
- -
- 16/Info -
-
-
- -
- 16/Like -
-
-
- -
- 16/Menu -
-
-
- -
- 16/More -
-
-
- -
- 16/Nextworks -
-
-
- -
- 16/Pencil -
-
-
- -
- 16/Question -
-
-
- -
- 16/Ranking -
-
-
- -
- 16/Remove -
-
-
- -
- 16/Search -
-
-
- -
- 16/Smile -
-
-
- -
- 16/Speaker -
-
-
- -
- 16/View -
-
-
-
-
-

- 24 - (scale: - 1 - ) -

-
-
- -
- 24/Add -
-
-
- -
- 24/AddImage -
-
-
- -
- 24/AddModel -
-
-
- -
- 24/AddPeople -
-
-
- -
- 24/AddRubi -
-
-
- -
- 24/AddText -
-
-
- -
- 24/Alart -
-
-
- -
- 24/Announcement -
-
-
- -
- 24/Ar -
-
-
- -
- 24/Archive -
-
-
- -
- 24/ArrowDown -
-
-
- -
- 24/ArrowUp -
-
-
- -
- 24/Binet -
-
-
- -
- 24/Body -
-
-
- -
- 24/BodyEdit -
-
-
- -
- 24/Book -
-
-
- -
- 24/BringBackward -
-
-
- -
- 24/BringForward -
-
-
- -
- 24/Calendar -
-
-
- -
- 24/Camera -
-
-
- -
- 24/CameraVideo -
-
-
- -
- 24/ChangeCharactor -
-
-
- -
- 24/ChatBot -
-
-
- -
- 24/Check -
-
-
- -
- 24/ChromaticAberration -
-
-
- -
- 24/Close -
-
-
- -
- 24/Codes -
-
-
- -
- 24/Collapse -
-
-
- -
- 24/CommentFill -
-
-
- -
- 24/CommentOutline -
-
-
- -
- 24/Contest -
-
-
- -
- 24/Contrast -
-
-
- -
- 24/Description -
-
-
- -
- 24/DeviceRotation -
-
-
- -
- 24/Discovery -
-
-
- -
- 24/Dot -
-
-
- -
- 24/DotAlt -
-
-
- -
- 24/Down -
-
-
- -
- 24/DownloadAlt -
-
-
- -
- 24/Duplicate -
-
-
- -
- 24/Dust -
-
-
- -
- 24/Emoji -
-
-
- -
- 24/Error -
-
-
- -
- 24/ErrorOctagon -
-
-
- -
- 24/Events -
-
-
- -
- 24/Expand -
-
-
- -
- 24/FaceEdit -
-
-
- -
- 24/Fashion -
-
-
- -
- 24/Feed -
-
-
- -
- 24/File -
-
-
- -
- 24/Filter -
-
-
- -
- 24/Flare -
-
-
- -
- 24/FormatAlignCenter -
-
-
- -
- 24/FormatAlignLeft -
-
-
- -
- 24/FormatAlignRight -
-
-
- -
- 24/FormatColorFill -
-
-
- -
- 24/FormatColorFillNoColor -
-
-
- -
- 24/FormatFontFamily -
-
-
- -
- 24/FormatFontSize -
-
-
- -
- 24/FormatLetterSpacing -
-
-
- -
- 24/FormatLineSpacing -
-
-
- -
- 24/Fov -
-
-
- -
- 24/FrameEffect -
-
-
- -
- 24/FrameSize -
-
-
- -
- 24/Gift -
-
-
- -
- 24/Glow -
-
-
- -
- 24/Groups -
-
-
- -
- 24/HairEdit -
-
-
- -
- 24/Hashtag -
-
-
- -
- 24/Hide -
-
-
- -
- 24/Home -
-
-
- -
- 24/Hue -
-
-
- -
- 24/Idea -
-
-
- -
- 24/Image -
-
-
- -
- 24/ImageAlt -
-
-
- -
- 24/ImageHidden -
-
-
- -
- 24/ImageReplace -
-
-
- -
- 24/Images -
-
-
- -
- 24/ImgContain -
-
-
- -
- 24/ImgCover -
-
-
- -
- 24/Index -
-
-
- -
- 24/Info -
-
-
- -
- 24/Invalid -
-
-
- -
- 24/Invoice -
-
-
- -
- 24/ItemRemove -
-
-
- -
- 24/LatestWorks -
-
-
- -
- 24/LikeOff -
-
-
- -
- 24/LikeOn -
-
-
- -
- 24/Link -
-
-
- -
- 24/List -
-
-
- -
- 24/LockLock -
-
-
- -
- 24/LockUnlock -
-
-
- -
- 24/Logout -
-
-
- -
- 24/Manga -
-
-
- -
- 24/Menu -
-
-
- -
- 24/Message -
-
-
- -
- 24/Microphone -
-
-
- -
- 24/MobilePhone -
-
-
- -
- 24/Move1 -
-
-
- -
- 24/Next -
-
-
- -
- 24/NoImage -
-
-
- -
- 24/Notification -
-
-
- -
- 24/NotificationOff -
-
-
- -
- 24/Novels -
-
-
- -
- 24/OpenInNew -
-
-
- -
- 24/Options -
-
-
- -
- 24/OptionsAlt -
-
-
- -
- 24/Overlay -
-
-
- -
- 24/Palette -
-
-
- -
- 24/Pause -
-
-
- -
- 24/PauseAlt -
-
-
- -
- 24/Pencil -
-
-
- -
- 24/PencilDraw -
-
-
- -
- 24/PencilLive -
-
-
- -
- 24/PencilText -
-
-
- -
- 24/Person -
-
-
- -
- 24/Play -
-
-
- -
- 24/Pose -
-
-
- -
- 24/Prev -
-
-
- -
- 24/Projects -
-
-
- -
- 24/PullDown -
-
-
- -
- 24/PullUp -
-
-
- -
- 24/Question -
-
-
- -
- 24/QuestionOutline -
-
-
- -
- 24/Ranking -
-
-
- -
- 24/ReadHorizontalLeft -
-
-
- -
- 24/ReadHorizontalRight -
-
-
- -
- 24/ReadVertical -
-
-
- -
- 24/Reload -
-
-
- -
- 24/ReloadLoop -
-
-
- -
- 24/Reorder -
-
-
- -
- 24/Roll -
-
-
- -
- 24/Rotate90DegreesC -
-
-
- -
- 24/Rotate90DegreesCc -
-
-
- -
- 24/RotateRight -
-
-
- -
- 24/Saturation -
-
-
- -
- 24/Save -
-
-
- -
- 24/Search -
-
-
- -
- 24/Send -
-
-
- -
- 24/Services -
-
-
- -
- 24/Set -
-
-
- -
- 24/Settings -
-
-
- -
- 24/ShareAndroid -
-
-
- -
- 24/ShareIos -
-
-
- -
- 24/Shopping -
-
-
- -
- 24/Show -
-
-
- -
- 24/ShowOutline -
-
-
- -
- 24/Shutter -
-
-
- -
- 24/Star -
-
-
- -
- 24/Subtract -
-
-
- -
- 24/Sun -
-
-
- -
- 24/Temperature -
-
-
- -
- 24/Text -
-
-
- -
- 24/Trash -
-
-
- -
- 24/TrashAlt -
-
-
- -
- 24/Up -
-
-
- -
- 24/Upload -
-
-
- -
- 24/UploadAlt -
-
-
- -
- 24/Usagi -
-
-
- -
- 24/UsagiAlt -
-
-
- -
- 24/Users -
-
-
- -
- 24/Video -
-
-
- -
- 24/ViewGrid2Columns -
-
-
- -
- 24/ViewGrid3Columns -
-
-
- -
- 24/ViewList -
-
-
- -
- 24/Warning -
-
-
-
-
-

- 32 - (scale: - 1 - ) -

-
-
- -
- 32/BookmarkOff -
-
-
- -
- 32/BookmarkOn -
-
-
- -
- 32/Camera -
-
-
- -
- 32/Close -
-
-
- -
- 32/Collapse -
-
-
- -
- 32/CommentOff -
-
-
- -
- 32/CommentOn -
-
-
- -
- 32/Delete -
-
-
- -
- 32/Dot -
-
-
- -
- 32/Edit -
-
-
- -
- 32/Expand -
-
-
- -
- 32/Gift -
-
-
- -
- 32/Home -
-
-
- -
- 32/HorizontalWriting -
-
-
- -
- 32/Index -
-
-
- -
- 32/LikeOff -
-
-
- -
- 32/LikeOn -
-
-
- -
- 32/LikeOnPrivate -
-
-
- -
- 32/Message -
-
-
- -
- 32/Next -
-
-
- -
- 32/Notification -
-
-
- -
- 32/NotificationOff -
-
-
- -
- 32/NovelViewerSettings -
-
-
- -
- 32/Pan -
-
-
- -
- 32/Prev -
-
-
- -
- 32/PullDown -
-
-
- -
- 32/PullUp -
-
-
- -
- 32/ReadHorizontalLeft -
-
-
- -
- 32/ReadHorizontalRight -
-
-
- -
- 32/ReadVertical -
-
-
- -
- 32/RollHorizontal -
-
-
- -
- 32/RollVertical -
-
-
- -
- 32/SansSerif -
-
-
- -
- 32/Serif -
-
-
- -
- 32/ShareAndroid -
-
-
- -
- 32/ShareIos -
-
-
- -
- 32/Shopping -
-
-
- -
- 32/Upload -
-
-
- -
- 32/User -
-
-
- -
- 32/VerticalWriting -
-
-
- -
- 32/ZoomIn -
-
-
-
-
-

- Inline - (scale: - 1 - ) -

-
-
- -
- Inline/Add -
-
-
- -
- Inline/BookmarkOff -
-
-
- -
- Inline/BookmarkOn -
-
-
- -
- Inline/Breadcrumbs -
-
-
- -
- Inline/Check -
-
-
- -
- Inline/Comment -
-
-
- -
- Inline/ContextMenu -
-
-
- -
- Inline/External -
-
-
- -
- Inline/Filter -
-
-
- -
- Inline/Folder -
-
-
- -
- Inline/ImageResponse -
-
-
- -
- Inline/Images -
-
-
- -
- Inline/Like -
-
-
- -
- Inline/LikeOff -
-
-
- -
- Inline/List -
-
-
- -
- Inline/Location -
-
-
- -
- Inline/Lock -
-
-
- -
- Inline/More -
-
-
- -
- Inline/Nextworks -
-
-
- -
- Inline/OpenInNew -
-
-
- -
- Inline/Pencil -
-
-
- -
- Inline/Remove -
-
-
- -
- Inline/Smile -
-
-
- -
- Inline/SmileOn -
-
-
- -
- Inline/Users -
-
-
- -
- Inline/View -
-
-
- -
- Inline/ViewOutline -
-
-
-
-
-`; - -exports[`Storyshots Icons/PixivIcon () With Attributes 1`] = ` -.c0 { - color: #000000; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 32px; -} - -.c0 pixiv-icon { - display: block; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; -} - -.c0 pixiv-icon + div { - -webkit-flex: 1 0; - -ms-flex: 1 0; - flex: 1 0; - margin-left: 8px; - font-size: 14px; - line-height: 22px; -} - -
-
- -
- アイコンと文字 -
-
-
-`; - -exports[`Storyshots Icons/PixivIcon () With Unsafe 1`] = ` -.c0 { - color: #000000; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 32px; -} - -.c0 pixiv-icon { - display: block; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; -} - -.c0 pixiv-icon + div { - -webkit-flex: 1 0; - -ms-flex: 1 0; - flex: 1 0; - margin-left: 8px; - font-size: 14px; - line-height: 22px; -} - -
-
- - アイコンと文字 -
-
-`; diff --git a/storyshots.config.mjs b/storyshots.config.mjs index 461ff3e6b..f2aa55e36 100644 --- a/storyshots.config.mjs +++ b/storyshots.config.mjs @@ -14,7 +14,4 @@ export default { '\\.(mdx)$': '/__mocks__/mdx.ts', }, testMatch: ['/**/storyshots.test.(js|jsx|ts|tsx)'], - testPathIgnorePatterns: [ - '/packages/icons/src/__snapshots__/PixivIcon.story.storyshot', - ], } diff --git a/storyshots.test.js b/storyshots.test.js index e5c03e7a7..0139206d6 100644 --- a/storyshots.test.js +++ b/storyshots.test.js @@ -6,5 +6,5 @@ import { styleSheetSerializer } from 'jest-styled-components' initStoryshots({ test: multiSnapshotWithOptions(), snapshotSerializers: [styleSheetSerializer], - storyKindRegex: /^((?!Icons\/).)*$/, + storyKindRegex: /^((?!Icons\/PixivIcon \(\)).)*$/, })