pds-dev-kit-web-test 0.1.5 → 0.1.6
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/package.json +1 -1
- package/release-note.md +3 -8
- package/.commitlintrc.js +0 -65
- package/.husky/.eslintrc.prepush +0 -7
- package/.husky/commit-msg +0 -13
- package/.husky/pre-commit +0 -9
- package/.husky/pre-push +0 -4
- package/.lintstagedrc.json +0 -7
- package/.vscode/settings.json +0 -50
- package/bitbucket-pipelines.yml +0 -114
- package/dist/src/common/components/CircularProgress/CircularProgress.stories.d.ts +0 -5
- package/dist/src/common/components/CircularProgress/CircularProgress.stories.js +0 -45
- package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.stories.d.ts +0 -5
- package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.stories.js +0 -38
- package/dist/src/common/styles/ToneTest/ToneTest.stories.d.ts +0 -5
- package/dist/src/common/styles/ToneTest/ToneTest.stories.js +0 -14
- package/dist/src/common/styles/colorSet/Color.stories.d.ts +0 -5
- package/dist/src/common/styles/colorSet/Color.stories.js +0 -125
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.stories.d.ts +0 -9
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.stories.js +0 -150
- package/dist/src/desktop/components/AdminList/AdminList.stories.d.ts +0 -8
- package/dist/src/desktop/components/AdminList/AdminList.stories.js +0 -462
- package/dist/src/desktop/components/AdminListHeader/AdminListHeader.stories.d.ts +0 -5
- package/dist/src/desktop/components/AdminListHeader/AdminListHeader.stories.js +0 -85
- package/dist/src/desktop/components/AdminListItem/AdminListItem.stories.d.ts +0 -5
- package/dist/src/desktop/components/AdminListItem/AdminListItem.stories.js +0 -247
- package/dist/src/desktop/components/BasicChatListItem/BasicChatListItem.stories.d.ts +0 -5
- package/dist/src/desktop/components/BasicChatListItem/BasicChatListItem.stories.js +0 -87
- package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.stories.d.ts +0 -8
- package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.stories.js +0 -107
- package/dist/src/desktop/components/BasicList/BasicList.stories.d.ts +0 -5
- package/dist/src/desktop/components/BasicList/BasicList.stories.js +0 -79
- package/dist/src/desktop/components/BasicListItem/BasicListItem.stories.d.ts +0 -10
- package/dist/src/desktop/components/BasicListItem/BasicListItem.stories.js +0 -188
- package/dist/src/desktop/components/BlogTextField/BlogTextField.stories.d.ts +0 -10
- package/dist/src/desktop/components/BlogTextField/BlogTextField.stories.js +0 -102
- package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.stories.d.ts +0 -8
- package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.stories.js +0 -80
- package/dist/src/desktop/components/Card/Card.stories.d.ts +0 -6
- package/dist/src/desktop/components/Card/Card.stories.js +0 -81
- package/dist/src/desktop/components/CardList/CardList.stories.d.ts +0 -6
- package/dist/src/desktop/components/CardList/CardList.stories.js +0 -90
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubble.stories.d.ts +0 -8
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubble.stories.js +0 -68
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.stories.d.ts +0 -17
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.stories.js +0 -132
- package/dist/src/desktop/components/ChatList/ChatList.stories.d.ts +0 -7
- package/dist/src/desktop/components/ChatList/ChatList.stories.js +0 -234
- package/dist/src/desktop/components/Checkbox/Checkbox.stories.d.ts +0 -5
- package/dist/src/desktop/components/Checkbox/Checkbox.stories.js +0 -59
- package/dist/src/desktop/components/Chip/Chip.stories.d.ts +0 -11
- package/dist/src/desktop/components/Chip/Chip.stories.js +0 -126
- package/dist/src/desktop/components/ContextMenu/ContextMenu.stories.d.ts +0 -6
- package/dist/src/desktop/components/ContextMenu/ContextMenu.stories.js +0 -71
- package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.stories.d.ts +0 -5
- package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.stories.js +0 -68
- package/dist/src/desktop/components/DesktopAlertDialog/DesktopAlertDialog.stories.d.ts +0 -9
- package/dist/src/desktop/components/DesktopAlertDialog/DesktopAlertDialog.stories.js +0 -128
- package/dist/src/desktop/components/DesktopHeaderBar/DesktopHeaderBar.stories.d.ts +0 -8
- package/dist/src/desktop/components/DesktopHeaderBar/DesktopHeaderBar.stories.js +0 -121
- package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.stories.d.ts +0 -7
- package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.stories.js +0 -205
- package/dist/src/desktop/components/Dropdown/Dropdown.stories.d.ts +0 -5
- package/dist/src/desktop/components/Dropdown/Dropdown.stories.js +0 -164
- package/dist/src/desktop/components/DynamicDesktopNavBar/DynamicDesktopNavBar.stories.d.ts +0 -8
- package/dist/src/desktop/components/DynamicDesktopNavBar/DynamicDesktopNavBar.stories.js +0 -649
- package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.stories.d.ts +0 -17
- package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.stories.js +0 -222
- package/dist/src/desktop/components/FilterBar/FilterBar.stories.d.ts +0 -7
- package/dist/src/desktop/components/FilterBar/FilterBar.stories.js +0 -119
- package/dist/src/desktop/components/FloatingActionButton/FloatingActionButton.stories.d.ts +0 -5
- package/dist/src/desktop/components/FloatingActionButton/FloatingActionButton.stories.js +0 -74
- package/dist/src/desktop/components/Hero/Hero.stories.d.ts +0 -5
- package/dist/src/desktop/components/Hero/Hero.stories.js +0 -51
- package/dist/src/desktop/components/HorizontalFormGroup/HorizontalFormGroup.stories.d.ts +0 -8
- package/dist/src/desktop/components/HorizontalFormGroup/HorizontalFormGroup.stories.js +0 -82
- package/dist/src/desktop/components/IconButton/IconButton.stories.d.ts +0 -5
- package/dist/src/desktop/components/IconButton/IconButton.stories.js +0 -109
- package/dist/src/desktop/components/ImageSlide/ImageSlide.stories.d.ts +0 -5
- package/dist/src/desktop/components/ImageSlide/ImageSlide.stories.js +0 -73
- package/dist/src/desktop/components/LottieReactionButton/LottieReactionButton.stories.d.ts +0 -6
- package/dist/src/desktop/components/LottieReactionButton/LottieReactionButton.stories.js +0 -99
- package/dist/src/desktop/components/MainButton/MainButton.stories.d.ts +0 -5
- package/dist/src/desktop/components/MainButton/MainButton.stories.js +0 -112
- package/dist/src/desktop/components/PageTitleTextGroup/PageTitleTextGroup.stories.d.ts +0 -7
- package/dist/src/desktop/components/PageTitleTextGroup/PageTitleTextGroup.stories.js +0 -83
- package/dist/src/desktop/components/Radio/Radio.stories.d.ts +0 -7
- package/dist/src/desktop/components/Radio/Radio.stories.js +0 -100
- package/dist/src/desktop/components/ReactionButton/ReactionButton.stories.d.ts +0 -7
- package/dist/src/desktop/components/ReactionButton/ReactionButton.stories.js +0 -71
- package/dist/src/desktop/components/Select/Select.stories.d.ts +0 -8
- package/dist/src/desktop/components/Select/Select.stories.js +0 -139
- package/dist/src/desktop/components/StatusBlock/StatusBlock.stories.d.ts +0 -6
- package/dist/src/desktop/components/StatusBlock/StatusBlock.stories.js +0 -60
- package/dist/src/desktop/components/TextButton/TextButton.stories.d.ts +0 -5
- package/dist/src/desktop/components/TextButton/TextButton.stories.js +0 -73
- package/dist/src/desktop/components/TextField/TextField.stories.d.ts +0 -22
- package/dist/src/desktop/components/TextField/TextField.stories.js +0 -278
- package/dist/src/desktop/components/TextLabel/TextLabel.stories.d.ts +0 -7
- package/dist/src/desktop/components/TextLabel/TextLabel.stories.js +0 -127
- package/dist/src/desktop/components/UploadIconButton/UploadIconButton.stories.d.ts +0 -5
- package/dist/src/desktop/components/UploadIconButton/UploadIconButton.stories.js +0 -106
- package/dist/src/desktop/components/UploadMainButton/UploadMainButton.stories.d.ts +0 -5
- package/dist/src/desktop/components/UploadMainButton/UploadMainButton.stories.js +0 -117
- package/dist/src/desktop/components/UploadTextButton/UploadTextButton.stories.d.ts +0 -5
- package/dist/src/desktop/components/UploadTextButton/UploadTextButton.stories.js +0 -78
- package/dist/src/desktop/components/UserDesktopNavBar/UserDesktopNavBar.stories.d.ts +0 -7
- package/dist/src/desktop/components/UserDesktopNavBar/UserDesktopNavBar.stories.js +0 -106
- package/dist/src/desktop/components/UserDesktopSideTab/UserDesktopSideTab.stories.d.ts +0 -5
- package/dist/src/desktop/components/UserDesktopSideTab/UserDesktopSideTab.stories.js +0 -64
- package/dist/src/desktop/components/UserDesktopTabBar/UserDesktopTabBar.stories.d.ts +0 -5
- package/dist/src/desktop/components/UserDesktopTabBar/UserDesktopTabBar.stories.js +0 -79
- package/dist/src/desktop/layout/LayoutWF/LayoutWF.stories.d.ts +0 -32
- package/dist/src/desktop/layout/LayoutWF/LayoutWF.stories.js +0 -166
- package/dist/src/desktop/layout/LayoutWF/LayoutWFLoading.stories.d.ts +0 -32
- package/dist/src/desktop/layout/LayoutWF/LayoutWFLoading.stories.js +0 -166
- package/dist/src/desktop/layout/LayoutWH/LayoutWH.stories.d.ts +0 -20
- package/dist/src/desktop/layout/LayoutWH/LayoutWH.stories.js +0 -122
- package/dist/src/desktop/layout/LayoutWH/LayoutWHLoading.stories.d.ts +0 -20
- package/dist/src/desktop/layout/LayoutWH/LayoutWHLoading.stories.js +0 -122
- package/dist/src/desktop/layout/LayoutWS/LayoutWS.stories.d.ts +0 -23
- package/dist/src/desktop/layout/LayoutWS/LayoutWS.stories.js +0 -134
- package/dist/src/desktop/layout/LayoutWS/LayoutWSLoading.stories.d.ts +0 -23
- package/dist/src/desktop/layout/LayoutWS/LayoutWSLoading.stories.js +0 -134
- package/dist/src/desktop/layout/LayoutWT/LayoutWT.stories.d.ts +0 -48
- package/dist/src/desktop/layout/LayoutWT/LayoutWT.stories.js +0 -238
- package/dist/src/desktop/layout/LayoutWT/LayoutWTLoading.stories.d.ts +0 -48
- package/dist/src/desktop/layout/LayoutWT/LayoutWTLoading.stories.js +0 -238
- package/dist/src/desktop/panels/AnnotationSheet/AnnotationSheet.stories.d.ts +0 -6
- package/dist/src/desktop/panels/AnnotationSheet/AnnotationSheet.stories.js +0 -108
- package/dist/src/desktop/panels/ContentSheet/ContentSheet.stories.d.ts +0 -7
- package/dist/src/desktop/panels/ContentSheet/ContentSheet.stories.js +0 -145
- package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.stories.d.ts +0 -7
- package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.stories.js +0 -128
- package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.stories.d.ts +0 -9
- package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.stories.js +0 -106
- package/dist/src/desktop/panels/DesktopTutorialModal/Components/SideTab/SideTab.stories.d.ts +0 -5
- package/dist/src/desktop/panels/DesktopTutorialModal/Components/SideTab/SideTab.stories.js +0 -74
- package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.stories.d.ts +0 -8
- package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.stories.js +0 -148
- package/dist/src/desktop/panels/SectionSheet/SectionSheet.stories.d.ts +0 -6
- package/dist/src/desktop/panels/SectionSheet/SectionSheet.stories.js +0 -112
- package/dist/src/hybrid/components/Divider/Divider.stories.d.ts +0 -5
- package/dist/src/hybrid/components/Divider/Divider.stories.js +0 -55
- package/dist/src/hybrid/components/Icon/Icon.stories.d.ts +0 -8
- package/dist/src/hybrid/components/Icon/Icon.stories.js +0 -166
- package/dist/src/hybrid/components/ImageView/ImageView.stories.d.ts +0 -15
- package/dist/src/hybrid/components/ImageView/ImageView.stories.js +0 -111
- package/dist/src/hybrid/components/LinearProgress/LinearProgress.stories.d.ts +0 -5
- package/dist/src/hybrid/components/LinearProgress/LinearProgress.stories.js +0 -38
- package/dist/src/hybrid/components/LottieIcon/LottieIcon.stories.d.ts +0 -6
- package/dist/src/hybrid/components/LottieIcon/LottieIcon.stories.js +0 -69
- package/dist/src/hybrid/components/Spacing/Spacing.stories.d.ts +0 -5
- package/dist/src/hybrid/components/Spacing/Spacing.stories.js +0 -46
- package/dist/src/hybrid/components/Switch/Switch.stories.d.ts +0 -5
- package/dist/src/hybrid/components/Switch/Switch.stories.js +0 -58
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.stories.d.ts +0 -9
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.stories.js +0 -150
- package/dist/src/mobile/components/BasicChatListItem/BasicChatListItem.stories.d.ts +0 -5
- package/dist/src/mobile/components/BasicChatListItem/BasicChatListItem.stories.js +0 -87
- package/dist/src/mobile/components/BasicFormGroup/BasicFormGroup.stories.d.ts +0 -8
- package/dist/src/mobile/components/BasicFormGroup/BasicFormGroup.stories.js +0 -107
- package/dist/src/mobile/components/BasicList/BasicList.stories.d.ts +0 -5
- package/dist/src/mobile/components/BasicList/BasicList.stories.js +0 -79
- package/dist/src/mobile/components/BasicListItem/BasicListItem.stories.d.ts +0 -10
- package/dist/src/mobile/components/BasicListItem/BasicListItem.stories.js +0 -189
- package/dist/src/mobile/components/BlogTextField/BlogTextField.stories.d.ts +0 -10
- package/dist/src/mobile/components/BlogTextField/BlogTextField.stories.js +0 -102
- package/dist/src/mobile/components/BodyTextGroup/BodyTextGroup.stories.d.ts +0 -8
- package/dist/src/mobile/components/BodyTextGroup/BodyTextGroup.stories.js +0 -81
- package/dist/src/mobile/components/Card/Card.stories.d.ts +0 -6
- package/dist/src/mobile/components/Card/Card.stories.js +0 -81
- package/dist/src/mobile/components/CardList/CardList.stories.d.ts +0 -6
- package/dist/src/mobile/components/CardList/CardList.stories.js +0 -90
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubble.stories.d.ts +0 -8
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubble.stories.js +0 -68
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.stories.d.ts +0 -17
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.stories.js +0 -133
- package/dist/src/mobile/components/ChatList/ChatList.stories.d.ts +0 -7
- package/dist/src/mobile/components/ChatList/ChatList.stories.js +0 -235
- package/dist/src/mobile/components/Checkbox/Checkbox.stories.d.ts +0 -5
- package/dist/src/mobile/components/Checkbox/Checkbox.stories.js +0 -59
- package/dist/src/mobile/components/Chip/Chip.stories.d.ts +0 -11
- package/dist/src/mobile/components/Chip/Chip.stories.js +0 -95
- package/dist/src/mobile/components/ContextMenu/ContextMenu.stories.d.ts +0 -6
- package/dist/src/mobile/components/ContextMenu/ContextMenu.stories.js +0 -66
- package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.stories.d.ts +0 -5
- package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.stories.js +0 -66
- package/dist/src/mobile/components/Dropdown/Dropdown.stories.d.ts +0 -5
- package/dist/src/mobile/components/Dropdown/Dropdown.stories.js +0 -168
- package/dist/src/mobile/components/FloatingActionButton/FloatingActionButton.stories.d.ts +0 -5
- package/dist/src/mobile/components/FloatingActionButton/FloatingActionButton.stories.js +0 -74
- package/dist/src/mobile/components/HorizontalFormGroup/HorizontalFormGroup.stories.d.ts +0 -7
- package/dist/src/mobile/components/HorizontalFormGroup/HorizontalFormGroup.stories.js +0 -89
- package/dist/src/mobile/components/IconButton/IconButton.stories.d.ts +0 -5
- package/dist/src/mobile/components/IconButton/IconButton.stories.js +0 -108
- package/dist/src/mobile/components/ImageSlide/ImageSlide.stories.d.ts +0 -5
- package/dist/src/mobile/components/ImageSlide/ImageSlide.stories.js +0 -72
- package/dist/src/mobile/components/LottieReactionButton/LottieReactionButton.stories.d.ts +0 -6
- package/dist/src/mobile/components/LottieReactionButton/LottieReactionButton.stories.js +0 -99
- package/dist/src/mobile/components/MainButton/MainButton.stories.d.ts +0 -5
- package/dist/src/mobile/components/MainButton/MainButton.stories.js +0 -112
- package/dist/src/mobile/components/MobileAlertDialog/MobileAlertDialog.stories.d.ts +0 -9
- package/dist/src/mobile/components/MobileAlertDialog/MobileAlertDialog.stories.js +0 -137
- package/dist/src/mobile/components/MobileHeaderBar/MobileHeaderBar.stories.d.ts +0 -7
- package/dist/src/mobile/components/MobileHeaderBar/MobileHeaderBar.stories.js +0 -139
- package/dist/src/mobile/components/MobileTabBar/MobileTabBar.stories.d.ts +0 -5
- package/dist/src/mobile/components/MobileTabBar/MobileTabBar.stories.js +0 -79
- package/dist/src/mobile/components/Radio/Radio.stories.d.ts +0 -7
- package/dist/src/mobile/components/Radio/Radio.stories.js +0 -100
- package/dist/src/mobile/components/ReactionButton/ReactionButton.stories.d.ts +0 -7
- package/dist/src/mobile/components/ReactionButton/ReactionButton.stories.js +0 -71
- package/dist/src/mobile/components/Select/Select.stories.d.ts +0 -8
- package/dist/src/mobile/components/Select/Select.stories.js +0 -139
- package/dist/src/mobile/components/StatusBlock/StatusBlock.stories.d.ts +0 -6
- package/dist/src/mobile/components/StatusBlock/StatusBlock.stories.js +0 -60
- package/dist/src/mobile/components/TextButton/TextButton.stories.d.ts +0 -5
- package/dist/src/mobile/components/TextButton/TextButton.stories.js +0 -73
- package/dist/src/mobile/components/TextField/TextField.stories.d.ts +0 -22
- package/dist/src/mobile/components/TextField/TextField.stories.js +0 -279
- package/dist/src/mobile/components/TextLabel/TextLabel.stories.d.ts +0 -7
- package/dist/src/mobile/components/TextLabel/TextLabel.stories.js +0 -115
- package/dist/src/mobile/components/UploadIconButton/UploadIconButton.stories.d.ts +0 -5
- package/dist/src/mobile/components/UploadIconButton/UploadIconButton.stories.js +0 -105
- package/dist/src/mobile/components/UploadMainButton/UploadMainButton.stories.d.ts +0 -5
- package/dist/src/mobile/components/UploadMainButton/UploadMainButton.stories.js +0 -117
- package/dist/src/mobile/components/UploadTextButton/UploadTextButton.stories.d.ts +0 -5
- package/dist/src/mobile/components/UploadTextButton/UploadTextButton.stories.js +0 -78
- package/dist/src/mobile/layout/LayoutMF/LayoutMF.stories.d.ts +0 -11
- package/dist/src/mobile/layout/LayoutMF/LayoutMF.stories.js +0 -77
- package/dist/src/mobile/layout/LayoutMF/LayoutMFLoading.stories.d.ts +0 -11
- package/dist/src/mobile/layout/LayoutMF/LayoutMFLoading.stories.js +0 -77
- package/dist/src/mobile/layout/LayoutMM/LayoutMM.stories.d.ts +0 -6
- package/dist/src/mobile/layout/LayoutMM/LayoutMM.stories.js +0 -64
- package/dist/src/mobile/layout/LayoutMM/LayoutMMLoading.stories.d.ts +0 -6
- package/dist/src/mobile/layout/LayoutMM/LayoutMMLoading.stories.js +0 -64
- package/dist/src/mobile/layout/LayoutMP/LayoutMP.stories.d.ts +0 -12
- package/dist/src/mobile/layout/LayoutMP/LayoutMP.stories.js +0 -90
- package/dist/src/mobile/layout/LayoutMP/LayoutMPLoading.stories.d.ts +0 -12
- package/dist/src/mobile/layout/LayoutMP/LayoutMPLoading.stories.js +0 -90
- package/dist/src/mobile/layout/LayoutMS/LayoutMS.stories.d.ts +0 -15
- package/dist/src/mobile/layout/LayoutMS/LayoutMS.stories.js +0 -104
- package/dist/src/mobile/layout/LayoutMS/LayoutMSLoading.stories.d.ts +0 -15
- package/dist/src/mobile/layout/LayoutMS/LayoutMSLoading.stories.js +0 -104
- package/dist/src/mobile/panels/AnnotationSheet/AnnotationSheet.stories.d.ts +0 -6
- package/dist/src/mobile/panels/AnnotationSheet/AnnotationSheet.stories.js +0 -108
- package/dist/src/mobile/panels/ContentSheet/ContentSheet.stories.d.ts +0 -7
- package/dist/src/mobile/panels/ContentSheet/ContentSheet.stories.js +0 -145
- package/dist/src/mobile/panels/MobileBasicModal/MobileBasicModal.stories.d.ts +0 -8
- package/dist/src/mobile/panels/MobileBasicModal/MobileBasicModal.stories.js +0 -99
- package/dist/src/mobile/panels/SectionSheet/SectionSheet.stories.d.ts +0 -5
- package/dist/src/mobile/panels/SectionSheet/SectionSheet.stories.js +0 -100
- package/dist/src/sub/DynamicLayout/DynamicLayout.stories.d.ts +0 -5
- package/dist/src/sub/DynamicLayout/DynamicLayout.stories.js +0 -1158
- package/dist/src/sub/DynamicLayout/components/YouTubeIframe/YouTubeIframe.stories.d.ts +0 -5
- package/dist/src/sub/DynamicLayout/components/YouTubeIframe/YouTubeIframe.stories.js +0 -36
- package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/ContentsCarouselSection.stories.d.ts +0 -8
- package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/ContentsCarouselSection.stories.js +0 -60
- package/dist/src/sub/DynamicLayout/sections/ContentsSection/ContentsSection.stories.d.ts +0 -8
- package/dist/src/sub/DynamicLayout/sections/ContentsSection/ContentsSection.stories.js +0 -60
- package/dist/src/sub/DynamicLayout/sections/FooterSection/FooterSection.stories.d.ts +0 -8
- package/dist/src/sub/DynamicLayout/sections/FooterSection/FooterSection.stories.js +0 -60
- package/dist/src/sub/DynamicLayout/sections/InfoBoxSection/InfoBoxSection.stories.d.ts +0 -6
- package/dist/src/sub/DynamicLayout/sections/InfoBoxSection/InfoBoxSection.stories.js +0 -50
- package/dist/src/sub/DynamicLayout/sections/IntroSection/IntroSection.stories.d.ts +0 -12
- package/dist/src/sub/DynamicLayout/sections/IntroSection/IntroSection.stories.js +0 -80
- package/tsconfig.extend.json +0 -13
package/package.json
CHANGED
package/release-note.md
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
# PDS-DEV-KIT-WEB-TEST Release Notes
|
|
2
|
-
## [v0.1.
|
|
2
|
+
## [v0.1.6]
|
|
3
3
|
## 기준 pds-dev-kit-web 버전 @1.9.18
|
|
4
4
|
|
|
5
5
|
### Package
|
|
6
|
-
*
|
|
7
|
-
|
|
8
|
-
* styled-components order lint가 적용되도록 eslint-plugin-better-styled-components 추가
|
|
9
|
-
* husky 추가
|
|
10
|
-
* commitlint 라이브러리의 의존성 이슈로 기능을 구현해서 추가
|
|
11
|
-
* 스토리북 북마크 작성시 타입 전달이 잘 되도록 수정
|
|
12
|
-
* export const Default = Template.bind({}); 부분에서 bind이후에 Default에도 타입이 이어지도록 수정
|
|
6
|
+
* 패키지화를 시킬시 스토리 파일이 포함되지 않도록 조치
|
|
7
|
+
* npmignore 수정
|
package/.commitlintrc.js
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
const types = {
|
|
2
|
-
feature: '<feature>',
|
|
3
|
-
fix: '<fix>',
|
|
4
|
-
chore: '<chore>',
|
|
5
|
-
refactor: '<refactor>',
|
|
6
|
-
style: '<style>',
|
|
7
|
-
other: '<other>',
|
|
8
|
-
wip: '<wip>',
|
|
9
|
-
deploy: '<deploy>',
|
|
10
|
-
merge1: 'merge',
|
|
11
|
-
merge2: 'Merge',
|
|
12
|
-
merge3: 'merged',
|
|
13
|
-
merge4: 'Merged',
|
|
14
|
-
none: '.'
|
|
15
|
-
};
|
|
16
|
-
const allowTypes = [
|
|
17
|
-
types.feature,
|
|
18
|
-
types.fix,
|
|
19
|
-
types.chore,
|
|
20
|
-
types.refactor,
|
|
21
|
-
types.style,
|
|
22
|
-
types.deploy,
|
|
23
|
-
types.other,
|
|
24
|
-
types.merge1,
|
|
25
|
-
types.merge2,
|
|
26
|
-
types.merge3,
|
|
27
|
-
types.merge4
|
|
28
|
-
];
|
|
29
|
-
const ignoreTypes = [types.wip, types.none];
|
|
30
|
-
|
|
31
|
-
const [, , type, subject] = process.argv;
|
|
32
|
-
|
|
33
|
-
if (!type) {
|
|
34
|
-
return console.log('Aborting commit due to empty commit message.');
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
if (ignoreTypes.includes(type)) {
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
if (!allowTypes.includes(type)) {
|
|
42
|
-
return console.log(
|
|
43
|
-
'type must be one of [<feature>, <fix>, <chore>, <refactor>, <style>, <deploy>, <other>, merge, Merge, merged, Merged]'
|
|
44
|
-
);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
if (!subject) {
|
|
48
|
-
return console.log('subject may not be empty');
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
if (type === types.feature) {
|
|
52
|
-
if (!/PDS-\d*/.test(subject)) {
|
|
53
|
-
return console.log(
|
|
54
|
-
`${types.feature} tag should include task number. ex) ${types.feature} PDS-123 subject...`
|
|
55
|
-
);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
if (type === types.other) {
|
|
60
|
-
if (!/\[\w*\]/.test(subject)) {
|
|
61
|
-
return console.log(
|
|
62
|
-
`${types.other} tag should include temporary tag. ex) ${types.other} [temp] subject...`
|
|
63
|
-
);
|
|
64
|
-
}
|
|
65
|
-
}
|
package/.husky/.eslintrc.prepush
DELETED
package/.husky/commit-msg
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env sh
|
|
2
|
-
. "$(dirname -- "$0")/_/husky.sh"
|
|
3
|
-
|
|
4
|
-
commit_msg=$(cat .git/COMMIT_EDITMSG)
|
|
5
|
-
|
|
6
|
-
result=$(node .commitlintrc.js $commit_msg)
|
|
7
|
-
|
|
8
|
-
if [ -n "$result" ]; then
|
|
9
|
-
echo "\n\033[1;30m⧗ \033[0m input: \033[01m$commit_msg\033[0m"
|
|
10
|
-
echo "\033[1;31m✖ \033[0m $result\n"
|
|
11
|
-
echo "ⓘ Get help: https://publ.atlassian.net/wiki/spaces/GUIDE101/pages/2780398791/How+to+commit\n"
|
|
12
|
-
exit 1
|
|
13
|
-
fi
|
package/.husky/pre-commit
DELETED
package/.husky/pre-push
DELETED
package/.lintstagedrc.json
DELETED
package/.vscode/settings.json
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"editor.minimap.enabled": false,
|
|
3
|
-
"javascript.validate.enable": false,
|
|
4
|
-
"javascript.format.enable": false,
|
|
5
|
-
"typescript.format.enable": false,
|
|
6
|
-
"editor.formatOnSave": false,
|
|
7
|
-
"stylelint.syntax": "css-in-js",
|
|
8
|
-
"[javascript]": {
|
|
9
|
-
"editor.formatOnSave": true,
|
|
10
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
11
|
-
"editor.codeActionsOnSave": {
|
|
12
|
-
"source.fixAll.stylelint": true
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"[typescript]": {
|
|
16
|
-
"editor.formatOnSave": true,
|
|
17
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
18
|
-
"editor.codeActionsOnSave": {
|
|
19
|
-
"source.fixAll.stylelint": true,
|
|
20
|
-
"source.fixAll.eslint": true
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"[typescriptreact]": {
|
|
24
|
-
"editor.formatOnSave": true,
|
|
25
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
26
|
-
"editor.codeActionsOnSave": {
|
|
27
|
-
"source.fixAll.stylelint": true,
|
|
28
|
-
"source.fixAll.eslint": true
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"[css]": {
|
|
32
|
-
"editor.formatOnSave": true,
|
|
33
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
34
|
-
"editor.codeActionsOnSave": {
|
|
35
|
-
"source.fixAll.stylelint": true
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"[json]": {
|
|
39
|
-
"editor.formatOnSave": true,
|
|
40
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
41
|
-
},
|
|
42
|
-
"[jsonc]": {
|
|
43
|
-
"editor.formatOnSave": true,
|
|
44
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
45
|
-
},
|
|
46
|
-
"files.associations": {
|
|
47
|
-
"*.stylelintrc": "jsonc"
|
|
48
|
-
},
|
|
49
|
-
"cSpell.words": ["lotties", "singleline"]
|
|
50
|
-
}
|
package/bitbucket-pipelines.yml
DELETED
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
# Template React Deploy
|
|
2
|
-
|
|
3
|
-
# This template allows you to deploy your React app to an AWS S3 bucket and invalidate the old AWS Cloudfront distribution.
|
|
4
|
-
# The workflow allows running tests, code linting and security scans on feature branches (as well as master).
|
|
5
|
-
# The react app will be validated, deployed to S3 and trigger an AWS Cloudfront distribution invalidation to refresh the CDN caches after the code is merged to master.
|
|
6
|
-
|
|
7
|
-
# Prerequisites: $AWS_ACCESS_KEY_ID, $AWS_SECRET_ACCESS_KEY setup in the Deployment variables.
|
|
8
|
-
# For advanced cases, please, follow examples from the pipe's:
|
|
9
|
-
# README https://bitbucket.org/atlassian/aws-s3-deploy/src/master/README.md
|
|
10
|
-
# README https://bitbucket.org/atlassian/aws-cloudfront-invalidate/src/master/README.md
|
|
11
|
-
|
|
12
|
-
image: node:10.15.3
|
|
13
|
-
|
|
14
|
-
# Workflow Configuration
|
|
15
|
-
|
|
16
|
-
options:
|
|
17
|
-
size: 2x
|
|
18
|
-
|
|
19
|
-
definitions:
|
|
20
|
-
services:
|
|
21
|
-
docker:
|
|
22
|
-
memory: 7128
|
|
23
|
-
|
|
24
|
-
pipelines:
|
|
25
|
-
pull-requests:
|
|
26
|
-
'**':
|
|
27
|
-
- step:
|
|
28
|
-
script:
|
|
29
|
-
- npm install
|
|
30
|
-
- npm run build:storybook
|
|
31
|
-
- if [ "${BITBUCKET_PR_DESTINATION_BRANCH}" != "staging" ]; then printf 'not a target branch we want to check'; exit; fi
|
|
32
|
-
- printf 'running storybook'
|
|
33
|
-
- npm run chromatic
|
|
34
|
-
tags:
|
|
35
|
-
version-*:
|
|
36
|
-
- step:
|
|
37
|
-
name: Deploy to Production
|
|
38
|
-
deployment: Production
|
|
39
|
-
caches:
|
|
40
|
-
- node
|
|
41
|
-
script:
|
|
42
|
-
- npm install
|
|
43
|
-
- npm run build:storybook
|
|
44
|
-
# sync your files to S3
|
|
45
|
-
- pipe: atlassian/aws-s3-deploy:0.4.4
|
|
46
|
-
variables:
|
|
47
|
-
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
|
|
48
|
-
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
|
|
49
|
-
AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION
|
|
50
|
-
S3_BUCKET: 'proto2.publishingkit.net'
|
|
51
|
-
LOCAL_PATH: 'storybook-static'
|
|
52
|
-
EXTRA_ARGS: '--delete'
|
|
53
|
-
# triggering a distribution invalidation to refresh the CDN caches
|
|
54
|
-
- pipe: atlassian/aws-cloudfront-invalidate:0.1.1
|
|
55
|
-
variables:
|
|
56
|
-
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
|
|
57
|
-
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
|
|
58
|
-
AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION
|
|
59
|
-
DISTRIBUTION_ID: $DISTRIBUTION_ID
|
|
60
|
-
|
|
61
|
-
branches:
|
|
62
|
-
staging:
|
|
63
|
-
- step:
|
|
64
|
-
name: Deploy to Staging
|
|
65
|
-
deployment: Staging
|
|
66
|
-
caches:
|
|
67
|
-
- node
|
|
68
|
-
script:
|
|
69
|
-
- npm install
|
|
70
|
-
- npm run build:storybook
|
|
71
|
-
# sync your files to S3
|
|
72
|
-
- pipe: atlassian/aws-s3-deploy:0.4.4
|
|
73
|
-
variables:
|
|
74
|
-
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
|
|
75
|
-
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
|
|
76
|
-
AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION
|
|
77
|
-
S3_BUCKET: $S3_BUCKET_STAGING
|
|
78
|
-
LOCAL_PATH: 'storybook-static'
|
|
79
|
-
EXTRA_ARGS: '--delete'
|
|
80
|
-
# triggering a distribution invalidation to refresh the CDN caches
|
|
81
|
-
- pipe: atlassian/aws-cloudfront-invalidate:0.1.1
|
|
82
|
-
variables:
|
|
83
|
-
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
|
|
84
|
-
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
|
|
85
|
-
AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION
|
|
86
|
-
DISTRIBUTION_ID: $DISTRIBUTION_ID_STAGING
|
|
87
|
-
master:
|
|
88
|
-
- step:
|
|
89
|
-
name: Deploy to Production
|
|
90
|
-
deployment: Production
|
|
91
|
-
caches:
|
|
92
|
-
- node
|
|
93
|
-
script:
|
|
94
|
-
- npm install
|
|
95
|
-
- npm run build:storybook
|
|
96
|
-
# sync your files to S3
|
|
97
|
-
- pipe: atlassian/aws-s3-deploy:0.4.4
|
|
98
|
-
variables:
|
|
99
|
-
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
|
|
100
|
-
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
|
|
101
|
-
AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION
|
|
102
|
-
S3_BUCKET: $S3_BUCKET_PROD
|
|
103
|
-
LOCAL_PATH: 'storybook-static'
|
|
104
|
-
EXTRA_ARGS: '--delete'
|
|
105
|
-
# triggering a distribution invalidation to refresh the CDN caches
|
|
106
|
-
- pipe: atlassian/aws-cloudfront-invalidate:0.1.1
|
|
107
|
-
variables:
|
|
108
|
-
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
|
|
109
|
-
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
|
|
110
|
-
AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION
|
|
111
|
-
DISTRIBUTION_ID: $DISTRIBUTION_ID_PROD
|
|
112
|
-
definitions:
|
|
113
|
-
caches:
|
|
114
|
-
node: src/node_modules
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import CircularProgress from './CircularProgress';
|
|
2
|
-
import type { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const _default: ComponentMeta<typeof CircularProgress>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: ComponentStory<typeof CircularProgress>;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.Default = void 0;
|
|
18
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
-
var CircularProgress_1 = __importDefault(require("./CircularProgress"));
|
|
20
|
-
exports.default = {
|
|
21
|
-
title: 'test/common/components/CircularProgress',
|
|
22
|
-
component: CircularProgress_1.default,
|
|
23
|
-
parameters: {
|
|
24
|
-
docs: {
|
|
25
|
-
description: {
|
|
26
|
-
component: '컴포넌트 내부에서 쓸 수 있는 CircularProgress 공용 컴포넌트'
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
argTypes: {
|
|
31
|
-
colorKey: {
|
|
32
|
-
description: '디자인 가이드에 명시되어있는 컬러 중 ui_형태의 컬러를 사용합니다.',
|
|
33
|
-
control: { type: 'select' }
|
|
34
|
-
},
|
|
35
|
-
size: {
|
|
36
|
-
description: 'width와 height의 크기를 한번에 결정합니다.',
|
|
37
|
-
control: { type: 'inline-radio' }
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
var Template = function (args) { return (0, jsx_runtime_1.jsx)(CircularProgress_1.default, __assign({}, args), void 0); };
|
|
42
|
-
exports.Default = Template.bind({});
|
|
43
|
-
exports.Default.args = {
|
|
44
|
-
colorKey: 'ui_cpnt_icon_sys_grey_01'
|
|
45
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import ThreeBarProgress from './ThreeBarProgress';
|
|
2
|
-
import type { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const _default: ComponentMeta<typeof ThreeBarProgress>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: ComponentStory<typeof ThreeBarProgress>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.Default = void 0;
|
|
18
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
-
var ThreeBarProgress_1 = __importDefault(require("./ThreeBarProgress"));
|
|
20
|
-
exports.default = {
|
|
21
|
-
title: 'test/common/components/ThreeBarProgress',
|
|
22
|
-
component: ThreeBarProgress_1.default,
|
|
23
|
-
parameters: {
|
|
24
|
-
docs: {
|
|
25
|
-
description: {
|
|
26
|
-
component: '레이아웃 내부에서 쓸 수 있는 ThreeBarProgress 공용 컴포넌트'
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
argTypes: {
|
|
31
|
-
colorKey: {
|
|
32
|
-
description: '디자인 가이드에 명시되어있는 컬러 중 ui_형태의 컬러를 사용합니다.',
|
|
33
|
-
control: { type: 'select' }
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
var Template = function (args) { return (0, jsx_runtime_1.jsx)(ThreeBarProgress_1.default, __assign({}, args), void 0); };
|
|
38
|
-
exports.Default = Template.bind({});
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ToggleTone = void 0;
|
|
7
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
-
var ToneTest_1 = __importDefault(require("./ToneTest"));
|
|
9
|
-
exports.default = {
|
|
10
|
-
title: 'test/tone',
|
|
11
|
-
component: ToneTest_1.default
|
|
12
|
-
};
|
|
13
|
-
var Template = function () { return (0, jsx_runtime_1.jsx)(ToneTest_1.default, {}, void 0); };
|
|
14
|
-
exports.ToggleTone = Template.bind({});
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __assign = (this && this.__assign) || function () {
|
|
7
|
-
__assign = Object.assign || function(t) {
|
|
8
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
9
|
-
s = arguments[i];
|
|
10
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
11
|
-
t[p] = s[p];
|
|
12
|
-
}
|
|
13
|
-
return t;
|
|
14
|
-
};
|
|
15
|
-
return __assign.apply(this, arguments);
|
|
16
|
-
};
|
|
17
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
18
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
19
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
20
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
21
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
22
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
23
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
27
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
28
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
29
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
30
|
-
function step(op) {
|
|
31
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
32
|
-
while (_) try {
|
|
33
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
34
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
35
|
-
switch (op[0]) {
|
|
36
|
-
case 0: case 1: t = op; break;
|
|
37
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
38
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
39
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
40
|
-
default:
|
|
41
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
42
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
43
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
44
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
45
|
-
if (t[2]) _.ops.pop();
|
|
46
|
-
_.trys.pop(); continue;
|
|
47
|
-
}
|
|
48
|
-
op = body.call(thisArg, _);
|
|
49
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
50
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
54
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
55
|
-
};
|
|
56
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57
|
-
exports.ColorKey = exports.AllColorKeys = void 0;
|
|
58
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
59
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
60
|
-
var components_1 = require("../../../desktop/components");
|
|
61
|
-
var panels_1 = require("../../../desktop/panels");
|
|
62
|
-
var ui_colors_1 = require("../ui-colors");
|
|
63
|
-
exports.default = {
|
|
64
|
-
title: 'test/Color',
|
|
65
|
-
parameters: {
|
|
66
|
-
docs: {
|
|
67
|
-
description: {
|
|
68
|
-
component: '모든 color key를 확인할 수 있습니다.'
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
controls: { hideNoControlsWarning: true }
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
var S_Grid = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: grid;\n grid-gap: 8px;\n grid-template-columns: repeat(auto-fill, minmax(400px, auto));\n margin: 24px;\n"], ["\n display: grid;\n grid-gap: 8px;\n grid-template-columns: repeat(auto-fill, minmax(400px, auto));\n margin: 24px;\n"])));
|
|
75
|
-
var S_TextWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n border-top: 1px solid ", ";\n bottom: 0;\n left: 0;\n padding: 8px 0;\n position: absolute;\n right: 0;\n"], ["\n background-color: ", ";\n border-top: 1px solid ", ";\n bottom: 0;\n left: 0;\n padding: 8px 0;\n position: absolute;\n right: 0;\n"])), function (_a) {
|
|
76
|
-
var theme = _a.theme;
|
|
77
|
-
return theme.ui_cpnt_sheet_base_01;
|
|
78
|
-
}, function (_a) {
|
|
79
|
-
var theme = _a.theme;
|
|
80
|
-
return theme.ui_profile_image_border;
|
|
81
|
-
});
|
|
82
|
-
var S_ContentSheetWrapper = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n & > div {\n background-color: ", ";\n }\n"], ["\n & > div {\n background-color: ", ";\n }\n"])), function (_a) {
|
|
83
|
-
var theme = _a.theme, colorKey = _a.colorKey;
|
|
84
|
-
return theme[colorKey];
|
|
85
|
-
});
|
|
86
|
-
var AllColorKeysTemplate = function () {
|
|
87
|
-
var colorKeys = Object.keys(ui_colors_1.uiColors);
|
|
88
|
-
return ((0, jsx_runtime_1.jsx)(S_Grid, { children: colorKeys.map(function (key) {
|
|
89
|
-
var handleCopyUrl = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
90
|
-
return __generator(this, function (_a) {
|
|
91
|
-
switch (_a.label) {
|
|
92
|
-
case 0: return [4 /*yield*/, navigator.clipboard.writeText(key)];
|
|
93
|
-
case 1:
|
|
94
|
-
_a.sent();
|
|
95
|
-
return [2 /*return*/];
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
}); };
|
|
99
|
-
return ((0, jsx_runtime_1.jsx)(S_ContentSheetWrapper, __assign({ colorKey: key }, { children: (0, jsx_runtime_1.jsx)(panels_1.ContentSheet, __assign({ width: "auto", height: "160px", borderMode: "use", overrideBorderColorKey: "ui_cpnt_divider", onClick: handleCopyUrl, overrideCSS: {
|
|
100
|
-
display: 'flex',
|
|
101
|
-
justifyContent: 'center',
|
|
102
|
-
alignItems: 'center',
|
|
103
|
-
position: 'relative'
|
|
104
|
-
} }, { children: (0, jsx_runtime_1.jsx)(S_TextWrapper, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: key, styleTheme: "caption2Bold", textAlign: "center", userSelectMode: "use" }, void 0) }, void 0) }), void 0) }), key));
|
|
105
|
-
}) }, void 0));
|
|
106
|
-
};
|
|
107
|
-
exports.AllColorKeys = AllColorKeysTemplate.bind({});
|
|
108
|
-
var ColorKeyTemplate = function (args) {
|
|
109
|
-
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsxs)(panels_1.ContentSheet, __assign({ width: "auto", height: "500px", borderMode: "use", overrideBorderColorKey: "ui_cpnt_divider", overrideCSS: {
|
|
110
|
-
display: 'flex',
|
|
111
|
-
justifyContent: 'center',
|
|
112
|
-
alignItems: 'center',
|
|
113
|
-
position: 'relative',
|
|
114
|
-
margin: '24px'
|
|
115
|
-
} }, { children: [(0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: "controls\uC5D0 \uBCF4\uACE0 \uC2F6\uC740 colorKey\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694.", styleTheme: "caption2Bold", textAlign: "center" }, void 0), (0, jsx_runtime_1.jsx)(S_ContentSheetWrapper, __assign({}, args, { children: (0, jsx_runtime_1.jsx)(panels_1.ContentSheet, __assign({ width: "100%", height: "100%", backgroundColorTheme: "transparent", overrideCSS: {
|
|
116
|
-
position: 'absolute',
|
|
117
|
-
top: '0',
|
|
118
|
-
left: '0'
|
|
119
|
-
} }, { children: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}, void 0) }), void 0) }), void 0)] }), void 0) }, void 0));
|
|
120
|
-
};
|
|
121
|
-
exports.ColorKey = ColorKeyTemplate.bind({});
|
|
122
|
-
exports.ColorKey.args = {
|
|
123
|
-
colorKey: 'ui_cpnt_button_fill_base_primary'
|
|
124
|
-
};
|
|
125
|
-
var templateObject_1, templateObject_2, templateObject_3;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import TextFieldBase from './TextFieldBase';
|
|
2
|
-
import type { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const _default: ComponentMeta<typeof TextFieldBase>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Single: ComponentStory<typeof TextFieldBase>;
|
|
6
|
-
export declare const Multi: ComponentStory<typeof TextFieldBase>;
|
|
7
|
-
export declare const Auto: ComponentStory<typeof TextFieldBase>;
|
|
8
|
-
export declare const readOnly: ComponentStory<typeof TextFieldBase>;
|
|
9
|
-
export declare const disabled: ComponentStory<typeof TextFieldBase>;
|