pds-dev-kit-web-test 0.1.5 → 0.1.7
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/index.d.ts +1 -0
- package/dist/index.js +8 -1
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/ContentsContainer.d.ts +3 -2
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/ContentsContainer.js +2 -2
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.d.ts +3 -2
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.js +2 -2
- package/dist/src/mobile/layout/LayoutMS/ContainersBox/ContainersBox.d.ts +3 -2
- package/dist/src/mobile/layout/LayoutMS/ContainersBox/ContainersBox.js +2 -2
- package/dist/src/sub/AdminList/AdminList/AdminList.d.ts +47 -0
- package/dist/src/sub/AdminList/AdminList/AdminList.js +224 -0
- package/dist/src/sub/AdminList/AdminList/HeaderRow.d.ts +30 -0
- package/dist/src/sub/AdminList/AdminList/HeaderRow.js +84 -0
- package/dist/src/sub/AdminList/AdminList/index.d.ts +1 -0
- package/dist/src/sub/AdminList/AdminList/index.js +8 -0
- package/dist/src/sub/AdminList/AdminListHeader/AdminListHeader.d.ts +18 -0
- package/dist/src/sub/AdminList/AdminListHeader/AdminListHeader.js +60 -0
- package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.d.ts +17 -0
- package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.js +85 -0
- package/dist/src/sub/AdminList/AdminListHeader/index.d.ts +1 -0
- package/dist/src/sub/AdminList/AdminListHeader/index.js +8 -0
- package/dist/src/sub/AdminList/AdminListItem/AdminListItem.d.ts +57 -0
- package/dist/src/sub/AdminList/AdminListItem/AdminListItem.js +263 -0
- package/dist/src/sub/AdminList/AdminListItem/index.d.ts +1 -0
- package/dist/src/sub/AdminList/AdminListItem/index.js +8 -0
- package/dist/src/sub/AdminList/BulkActionBar/BulkActionBar.d.ts +31 -0
- package/dist/src/sub/AdminList/BulkActionBar/BulkActionBar.js +31 -0
- package/dist/src/sub/AdminList/BulkActionBar/index.d.ts +1 -0
- package/dist/src/sub/AdminList/BulkActionBar/index.js +8 -0
- package/dist/src/sub/AdminList/ToolBar/ChipList.d.ts +9 -0
- package/dist/src/sub/AdminList/ToolBar/ChipList.js +29 -0
- package/dist/src/sub/AdminList/ToolBar/SearchField.d.ts +15 -0
- package/dist/src/sub/AdminList/ToolBar/SearchField.js +266 -0
- package/dist/src/sub/AdminList/ToolBar/ToolBar.d.ts +26 -0
- package/dist/src/sub/AdminList/ToolBar/ToolBar.js +85 -0
- package/dist/src/sub/AdminList/ToolBar/index.d.ts +1 -0
- package/dist/src/sub/AdminList/ToolBar/index.js +8 -0
- package/dist/src/sub/AdminList/index.d.ts +5 -0
- package/dist/src/sub/AdminList/index.js +13 -0
- package/dist/src/sub/index.d.ts +1 -0
- package/dist/src/sub/index.js +11 -1
- package/package.json +1 -1
- package/release-note.md +4 -11
- 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
|
@@ -1,188 +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.Radio = exports.Checkbox = exports.Badge = exports.Icon = exports.Image = exports.Default = void 0;
|
|
18
|
-
var react_1 = require("react");
|
|
19
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
20
|
-
var react_2 = require("react");
|
|
21
|
-
var react_hook_form_1 = require("react-hook-form");
|
|
22
|
-
var BasicListItem_1 = __importDefault(require("./BasicListItem"));
|
|
23
|
-
exports.default = {
|
|
24
|
-
title: 'desktop/components/BasicListItem',
|
|
25
|
-
component: BasicListItem_1.default,
|
|
26
|
-
parameters: {
|
|
27
|
-
docs: {
|
|
28
|
-
description: {
|
|
29
|
-
component: 'desktop환경에 최적화 된 BasicListItem 컴포넌트'
|
|
30
|
-
},
|
|
31
|
-
source: { type: 'code' }
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
argTypes: {
|
|
35
|
-
selectionMode: {
|
|
36
|
-
description: "\uC88C\uCE21\uC758 \uC120\uD0DD \uC601\uC5ED\uC744 \uACB0\uC815\uD569\uB2C8\uB2E4.\n *List \uC0C1\uC5D0\uC11C \uC124\uC815\uC744 \uD558\uC9C0 \uC54A\uC558\uB2E4\uBA74 \uAE30\uD68D\uCE21, \uAC1C\uBC1C\uCE21\uC5D0\uC11C \uC9C0\uC815\uD574\uB3C4 \uC81C\uB300\uB85C \uD45C\uD604\uB418\uC9C0 \uC54A\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4."
|
|
37
|
-
},
|
|
38
|
-
titleText: {
|
|
39
|
-
description: '주요 텍스트입니다.',
|
|
40
|
-
control: { type: 'text' }
|
|
41
|
-
},
|
|
42
|
-
titleTextColorTheme: {
|
|
43
|
-
description: '주요 텍스트의 컬러 테마를 결정합니다.'
|
|
44
|
-
},
|
|
45
|
-
descText: {
|
|
46
|
-
description: '상세 설명 텍스트입니다.',
|
|
47
|
-
control: { type: 'text' }
|
|
48
|
-
},
|
|
49
|
-
badgeMode: {
|
|
50
|
-
description: '뱃지의 사용 여부입니다.'
|
|
51
|
-
},
|
|
52
|
-
badgeStatus: {
|
|
53
|
-
description: '뱃지 활성화 상태입니다.'
|
|
54
|
-
},
|
|
55
|
-
imageIconMode: {
|
|
56
|
-
description: '좌측의 이미지 또는 아이콘 사용 여부를 결정합니다.'
|
|
57
|
-
},
|
|
58
|
-
imageShapeType: {
|
|
59
|
-
description: '이미지의 shapeType을 결정합니다.'
|
|
60
|
-
},
|
|
61
|
-
imageSrc: {
|
|
62
|
-
description: '이미지 사용 시 주소 값입니다.',
|
|
63
|
-
control: { type: 'text' }
|
|
64
|
-
},
|
|
65
|
-
iconName: {
|
|
66
|
-
description: '아이콘 사용 시 이름입니다.',
|
|
67
|
-
control: { type: 'text' }
|
|
68
|
-
},
|
|
69
|
-
iconFillType: {
|
|
70
|
-
description: '아이콘의 형태를 결정합니다.'
|
|
71
|
-
},
|
|
72
|
-
displayType: {
|
|
73
|
-
description: '우측 영역의 표시 방법을 결정합니다.'
|
|
74
|
-
},
|
|
75
|
-
captionText: {
|
|
76
|
-
description: '우측 상단의 작은 글씨 값을 입력합니다. *문장 보다는 간단한 상태값을 표시하는 정도로 사용할 것을 권장합니다.',
|
|
77
|
-
control: { type: 'text' }
|
|
78
|
-
},
|
|
79
|
-
iBtn1IconName: {
|
|
80
|
-
description: 'btn1(가장 우측)영역의 아이콘 이름을 결정합니다',
|
|
81
|
-
control: { type: 'text' }
|
|
82
|
-
},
|
|
83
|
-
iBtn1IconFillType: {
|
|
84
|
-
description: 'btn1(가장 우측)영역의 아이콘 유형을 결정합니다.'
|
|
85
|
-
},
|
|
86
|
-
iBtn2IconName: {
|
|
87
|
-
description: 'btn2(우측에서 2번)영역의 아이콘 이름을 결정합니다.',
|
|
88
|
-
control: { type: 'text' }
|
|
89
|
-
},
|
|
90
|
-
iBtn2IconFillType: {
|
|
91
|
-
description: 'btn2(우측에서 2번)영역의 아이콘 유형을 결정합니다.'
|
|
92
|
-
},
|
|
93
|
-
mBtnFillType: {
|
|
94
|
-
description: '메인 버튼의 fillType를 결정합니다.'
|
|
95
|
-
},
|
|
96
|
-
mBtnText: {
|
|
97
|
-
description: '메인 버튼의 텍스트를 입력합니다.',
|
|
98
|
-
control: { type: 'text' }
|
|
99
|
-
},
|
|
100
|
-
dividerType: {
|
|
101
|
-
description: '아이템 하단의 divider 표시 유형을 결정합니다.'
|
|
102
|
-
},
|
|
103
|
-
titleFontWeight: {
|
|
104
|
-
description: '타이틀의 폰트 굵기를 결정합니다.'
|
|
105
|
-
},
|
|
106
|
-
checkboxId: {
|
|
107
|
-
description: '체크박스에 사용되는 id입니다.',
|
|
108
|
-
control: { type: 'none' }
|
|
109
|
-
},
|
|
110
|
-
radioId: {
|
|
111
|
-
description: '라디오버튼의 고유한 이름입니다.',
|
|
112
|
-
control: { type: 'none' }
|
|
113
|
-
},
|
|
114
|
-
radioValue: {
|
|
115
|
-
description: '라디오버튼에 사용되는 value입니다.',
|
|
116
|
-
control: { type: 'none' }
|
|
117
|
-
},
|
|
118
|
-
switchName: {
|
|
119
|
-
description: 'displayType이 switch일때 사용되는 고유한 이름입니다. displayType이 switch일때는 필수로 부여해줍니다.',
|
|
120
|
-
control: { type: 'none' }
|
|
121
|
-
},
|
|
122
|
-
switchState: {
|
|
123
|
-
description: 'displayType이 switch일때 비활성화 상태를 결정합니다.',
|
|
124
|
-
control: { type: 'inline-radio' }
|
|
125
|
-
},
|
|
126
|
-
switchStatus: {
|
|
127
|
-
description: 'displayType이 switch일때 on / off 상태를 나타냅니다.',
|
|
128
|
-
control: { type: 'inline-radio' }
|
|
129
|
-
},
|
|
130
|
-
spacingMode: {
|
|
131
|
-
description: '좌우 여백의 사용 여부를 결정합니다.'
|
|
132
|
-
},
|
|
133
|
-
onClick: { action: 'onClick' },
|
|
134
|
-
onClickIBtn1: { action: 'onClickIBtn1' },
|
|
135
|
-
onClickIBtn2: { action: 'onClickIBtn2' },
|
|
136
|
-
onClickMBtn: { action: 'onClickMBtn' },
|
|
137
|
-
onClickRadio: { action: 'onClickRadio' },
|
|
138
|
-
onClickSwitch: { action: 'onClickSwitch' }
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
|
-
var Template = function (args) {
|
|
142
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(BasicListItem_1.default, __assign({}, args, { displayType: "none", onClick: undefined, captionText: "captionText captionText captionText captionText captionText captionText captionText captionText captionText captionText captionText captionText captionText captionText" }), void 0), (0, jsx_runtime_1.jsx)(BasicListItem_1.default, __assign({}, args, { displayType: "text" }), void 0), (0, jsx_runtime_1.jsx)(BasicListItem_1.default, __assign({}, args, { displayType: "ibtn_text", onClick: undefined }), void 0), (0, jsx_runtime_1.jsx)(BasicListItem_1.default, __assign({}, args, { displayType: "ibtn_amount1", onClick: undefined }), void 0), (0, jsx_runtime_1.jsx)(BasicListItem_1.default, __assign({}, args, { displayType: "ibtn_amount2" }), void 0), (0, jsx_runtime_1.jsx)(BasicListItem_1.default, __assign({}, args, { displayType: "switch" }), void 0), (0, jsx_runtime_1.jsx)(BasicListItem_1.default, __assign({}, args, { displayType: "mbtn" }), void 0)] }, void 0));
|
|
143
|
-
};
|
|
144
|
-
exports.Default = Template.bind({});
|
|
145
|
-
exports.Default.args = {
|
|
146
|
-
selectionMode: 'none',
|
|
147
|
-
imageIconMode: 'none',
|
|
148
|
-
titleTextColorTheme: 'none',
|
|
149
|
-
badgeMode: 'none',
|
|
150
|
-
imageShapeType: 'round',
|
|
151
|
-
imageSrc: 'https://images.unsplash.com/photo-1502602898657-3e91760cbb34?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1173&q=80',
|
|
152
|
-
titleText: 'titleText',
|
|
153
|
-
descText: 'descText',
|
|
154
|
-
iconName: 'ic_booking',
|
|
155
|
-
iconFillType: 'line',
|
|
156
|
-
displayType: 'none',
|
|
157
|
-
captionText: 'captionText',
|
|
158
|
-
iBtn1IconName: 'ic_arrow_right',
|
|
159
|
-
iBtn1IconFillType: 'line',
|
|
160
|
-
iBtn2IconName: 'ic_bell',
|
|
161
|
-
iBtn2IconFillType: 'line',
|
|
162
|
-
mBtnFillType: 'fill',
|
|
163
|
-
dividerType: 'solid',
|
|
164
|
-
titleFontWeight: 'regular',
|
|
165
|
-
mBtnText: 'mBtnText',
|
|
166
|
-
radioValue: 'radio'
|
|
167
|
-
};
|
|
168
|
-
exports.Image = Template.bind({});
|
|
169
|
-
exports.Image.args = __assign(__assign({}, exports.Default.args), { imageIconMode: 'image' });
|
|
170
|
-
exports.Icon = Template.bind({});
|
|
171
|
-
exports.Icon.args = __assign(__assign({}, exports.Default.args), { imageIconMode: 'icon' });
|
|
172
|
-
exports.Badge = Template.bind({});
|
|
173
|
-
exports.Badge.args = __assign(__assign({}, exports.Default.args), { badgeMode: 'left', badgeStatus: 'active' });
|
|
174
|
-
var CheckboxTemplate = function (args) {
|
|
175
|
-
var methods = (0, react_hook_form_1.useForm)();
|
|
176
|
-
return ((0, jsx_runtime_1.jsxs)(react_hook_form_1.FormProvider, __assign({}, methods, { children: [(0, jsx_runtime_1.jsx)(BasicListItem_1.default, __assign({}, args, { displayType: "none", checkboxId: "1" }), void 0), (0, jsx_runtime_1.jsx)(BasicListItem_1.default, __assign({}, args, { displayType: "none", checkboxId: "2" }), void 0), (0, jsx_runtime_1.jsx)(BasicListItem_1.default, __assign({}, args, { displayType: "text", checkboxId: "3" }), void 0)] }), void 0));
|
|
177
|
-
};
|
|
178
|
-
exports.Checkbox = CheckboxTemplate.bind({});
|
|
179
|
-
exports.Checkbox.args = __assign(__assign({}, exports.Default.args), { selectionMode: 'check' });
|
|
180
|
-
var RadioTempate = function (args) {
|
|
181
|
-
var _a = (0, react_2.useState)('1'), value = _a[0], setValue = _a[1];
|
|
182
|
-
var handleRadioClick = function (value) {
|
|
183
|
-
setValue(value);
|
|
184
|
-
};
|
|
185
|
-
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: ['1', '2', '3'].map(function (el) { return ((0, react_1.createElement)(BasicListItem_1.default, __assign({}, args, { key: el, displayType: "none", radioId: el, radioValue: value, onClickRadio: handleRadioClick }))); }) }, void 0));
|
|
186
|
-
};
|
|
187
|
-
exports.Radio = RadioTempate.bind({});
|
|
188
|
-
exports.Radio.args = __assign(__assign({}, exports.Default.args), { selectionMode: 'radio' });
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import BlogTextField from './BlogTextField';
|
|
2
|
-
import type { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const _default: ComponentMeta<typeof BlogTextField>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: ComponentStory<typeof BlogTextField>;
|
|
6
|
-
export declare const Validate: ComponentStory<typeof BlogTextField>;
|
|
7
|
-
export declare const MultiState: ComponentStory<typeof BlogTextField>;
|
|
8
|
-
export declare const MultiRows: ComponentStory<typeof BlogTextField>;
|
|
9
|
-
export declare const AutoState: ComponentStory<typeof BlogTextField>;
|
|
10
|
-
export declare const AutoRows: ComponentStory<typeof BlogTextField>;
|
|
@@ -1,102 +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.AutoRows = exports.AutoState = exports.MultiRows = exports.MultiState = exports.Validate = exports.Default = void 0;
|
|
18
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
-
var react_hook_form_1 = require("react-hook-form");
|
|
20
|
-
var withFormProvider_1 = require("../../../common/decorators/withFormProvider");
|
|
21
|
-
var components_1 = require("../../../hybrid/components");
|
|
22
|
-
var MainButton_1 = __importDefault(require("../MainButton/MainButton"));
|
|
23
|
-
var TextLabel_1 = __importDefault(require("../TextLabel/TextLabel"));
|
|
24
|
-
var BlogTextField_1 = __importDefault(require("./BlogTextField"));
|
|
25
|
-
exports.default = {
|
|
26
|
-
title: 'desktop/components/BlogTextField',
|
|
27
|
-
component: BlogTextField_1.default,
|
|
28
|
-
parameters: {
|
|
29
|
-
docs: {
|
|
30
|
-
description: {
|
|
31
|
-
component: 'desktop환경에 최적화 된 BlogTextField 컴포넌트. react-hook-form의 FormProvider와 pds-dev-kit의 Form 컴포넌트로 감싸서 사용해야 작동합니다. (form계열 컴포넌트의 경우 control을 사용하여 테스트 할 수 없습니다.)'
|
|
32
|
-
},
|
|
33
|
-
source: { type: 'code' }
|
|
34
|
-
},
|
|
35
|
-
controls: { hideNoControlsWarning: true }
|
|
36
|
-
},
|
|
37
|
-
argTypes: {
|
|
38
|
-
name: {
|
|
39
|
-
description: 'form의 name을 지정해줍니다.'
|
|
40
|
-
},
|
|
41
|
-
hintText: {
|
|
42
|
-
description: 'placeholder에 표시할 텍스트 값입니다.'
|
|
43
|
-
},
|
|
44
|
-
defaultText: {
|
|
45
|
-
description: '지정된 기본 값을 보여줘야 할 때 사용합니다.'
|
|
46
|
-
},
|
|
47
|
-
validation: {
|
|
48
|
-
description: 'validation 조건을 부여할 수 있습니다.'
|
|
49
|
-
},
|
|
50
|
-
size: {
|
|
51
|
-
description: '크기를 결정합니다.'
|
|
52
|
-
},
|
|
53
|
-
textLineType: {
|
|
54
|
-
description: '텍스트의 개행 방법을 결정합니다. (multi(multiline) : 정해진 높이값을 가지고 있는 textarea, auto(multiline auto size) : 글자 수에 따라 함께 늘어나는 형태'
|
|
55
|
-
},
|
|
56
|
-
multiRows: {
|
|
57
|
-
description: 'textLineType : multi일 때, 지정할 문장의 열 수를 결정합니다. (높이값 결정)'
|
|
58
|
-
},
|
|
59
|
-
autoMinRows: {
|
|
60
|
-
description: 'textLineType : auto일 때, 보여줄 문장의 최소 열 수를 결정합니다.'
|
|
61
|
-
},
|
|
62
|
-
autoMaxRows: {
|
|
63
|
-
description: 'textLineType : auto일 때, 보여줄 문장의 최대 열 수를 결정합니다.'
|
|
64
|
-
},
|
|
65
|
-
state: {
|
|
66
|
-
description: 'textfield의 상태를 결정합니다.'
|
|
67
|
-
},
|
|
68
|
-
maxLength: {
|
|
69
|
-
description: '입력할 수 잇는 최대 문자수를 부여합니다.'
|
|
70
|
-
},
|
|
71
|
-
spacingMode: {
|
|
72
|
-
description: '문자가 타이핑 되는 영역 바깥 영역의 간격을 결정합니다.'
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
decorators: [function (story) { return (0, withFormProvider_1.withFormProvider)(story); }]
|
|
76
|
-
};
|
|
77
|
-
var Template = function (args) {
|
|
78
|
-
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)(BlogTextField_1.default, __assign({}, args), void 0) }, void 0));
|
|
79
|
-
};
|
|
80
|
-
exports.Default = Template.bind({});
|
|
81
|
-
exports.Default.args = { name: 'BlogTextField', hintText: 'BlogTextField' };
|
|
82
|
-
var ValidateTemplate = function () {
|
|
83
|
-
var methods = (0, react_hook_form_1.useForm)({ mode: 'onChange' });
|
|
84
|
-
return ((0, jsx_runtime_1.jsxs)(react_hook_form_1.FormProvider, __assign({}, methods, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.default, { text: "Required", styleTheme: "headingBold" }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }, void 0), (0, jsx_runtime_1.jsx)(BlogTextField_1.default, { name: "validate", hintText: "required", state: "normal", validation: { required: true } }, void 0), (0, jsx_runtime_1.jsx)(MainButton_1.default, { type: "submit", text: "submit", state: methods.formState.isValid ? 'normal' : 'disabled' }, void 0)] }), void 0));
|
|
85
|
-
};
|
|
86
|
-
exports.Validate = ValidateTemplate.bind({});
|
|
87
|
-
var MultiStateTemplate = function () {
|
|
88
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.default, { text: "Multi normal", styleTheme: "headingBold" }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }, void 0), (0, jsx_runtime_1.jsx)(BlogTextField_1.default, { name: "normal", hintText: "normal", state: "normal", textLineType: "multi" }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_e" }, void 0), (0, jsx_runtime_1.jsx)(TextLabel_1.default, { text: "Multi read only", styleTheme: "headingBold" }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }, void 0), (0, jsx_runtime_1.jsx)(BlogTextField_1.default, { name: "readOnly", hintText: "read only", defaultText: "read only", state: "read_only", textLineType: "multi" }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_e" }, void 0), (0, jsx_runtime_1.jsx)(TextLabel_1.default, { text: "Multi disabled", styleTheme: "headingBold" }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }, void 0), (0, jsx_runtime_1.jsx)(BlogTextField_1.default, { name: "disabled", hintText: "disabled", defaultText: "disabled", state: "disabled", textLineType: "multi" }, void 0)] }, void 0));
|
|
89
|
-
};
|
|
90
|
-
exports.MultiState = MultiStateTemplate.bind({});
|
|
91
|
-
var MultiRowsTemplate = function () {
|
|
92
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.default, { text: "multiRows: 1", styleTheme: "headingBold" }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }, void 0), (0, jsx_runtime_1.jsx)(BlogTextField_1.default, { name: "multiRows1", hintText: "multiRows1", state: "normal", textLineType: "multi", multiRows: 1 }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_e" }, void 0), (0, jsx_runtime_1.jsx)(TextLabel_1.default, { text: "multiRows: 2", styleTheme: "headingBold" }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }, void 0), (0, jsx_runtime_1.jsx)(BlogTextField_1.default, { name: "multiRows2", hintText: "multiRows2", state: "normal", textLineType: "multi", multiRows: 2 }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_e" }, void 0), (0, jsx_runtime_1.jsx)(TextLabel_1.default, { text: "multiRows: 5", styleTheme: "headingBold" }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }, void 0), (0, jsx_runtime_1.jsx)(BlogTextField_1.default, { name: "multiRow5", hintText: "multiRow5", state: "normal", textLineType: "multi", multiRows: 5 }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_e" }, void 0), (0, jsx_runtime_1.jsx)(TextLabel_1.default, { text: "multiRows: 8 (default)", styleTheme: "headingBold" }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }, void 0), (0, jsx_runtime_1.jsx)(BlogTextField_1.default, { name: "multiRows8", hintText: "multiRows8", state: "normal", textLineType: "multi", multiRows: 8 }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_e" }, void 0)] }, void 0));
|
|
93
|
-
};
|
|
94
|
-
exports.MultiRows = MultiRowsTemplate.bind({});
|
|
95
|
-
var AutoStateTemplate = function () {
|
|
96
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.default, { text: "Auto normal", styleTheme: "headingBold" }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }, void 0), (0, jsx_runtime_1.jsx)(BlogTextField_1.default, { name: "normal", hintText: "normal", state: "normal", textLineType: "auto" }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_e" }, void 0), (0, jsx_runtime_1.jsx)(TextLabel_1.default, { text: "Auto read only", styleTheme: "headingBold" }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }, void 0), (0, jsx_runtime_1.jsx)(BlogTextField_1.default, { name: "readOnly", hintText: "read only", defaultText: "read only", state: "read_only", textLineType: "auto" }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_e" }, void 0), (0, jsx_runtime_1.jsx)(TextLabel_1.default, { text: "Auto disabled", styleTheme: "headingBold" }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }, void 0), (0, jsx_runtime_1.jsx)(BlogTextField_1.default, { name: "disabled", hintText: "disabled", defaultText: "disabled", state: "disabled", textLineType: "auto" }, void 0)] }, void 0));
|
|
97
|
-
};
|
|
98
|
-
exports.AutoState = AutoStateTemplate.bind({});
|
|
99
|
-
var AutoRowsTemplate = function () {
|
|
100
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.default, { text: "autoRows: 1 to 3", styleTheme: "headingBold" }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }, void 0), (0, jsx_runtime_1.jsx)(BlogTextField_1.default, { name: "autoRows1to3", hintText: "autoRows1to3", state: "normal", textLineType: "auto", autoMinRows: 1, autoMaxRows: 3 }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_e" }, void 0), (0, jsx_runtime_1.jsx)(TextLabel_1.default, { text: "autoRows: 2 to 5", styleTheme: "headingBold" }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }, void 0), (0, jsx_runtime_1.jsx)(BlogTextField_1.default, { name: "autoRows2to5", hintText: "autoRows2to5", state: "normal", textLineType: "auto", autoMinRows: 2, autoMaxRows: 5 }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_e" }, void 0), (0, jsx_runtime_1.jsx)(TextLabel_1.default, { text: "autoRows: 5 to 8", styleTheme: "headingBold" }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }, void 0), (0, jsx_runtime_1.jsx)(BlogTextField_1.default, { name: "autoRow5to8", hintText: "autoRow5to8", state: "normal", textLineType: "auto", autoMinRows: 5, autoMaxRows: 8 }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_e" }, void 0), (0, jsx_runtime_1.jsx)(TextLabel_1.default, { text: "autoRows: 8 to infinity (default)", styleTheme: "headingBold" }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }, void 0), (0, jsx_runtime_1.jsx)(BlogTextField_1.default, { name: "autoRows8toInfinity", hintText: "autoRows8toInfinity", state: "normal", textLineType: "auto", autoMinRows: 8 }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_e" }, void 0)] }, void 0));
|
|
101
|
-
};
|
|
102
|
-
exports.AutoRows = AutoRowsTemplate.bind({});
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import BodyTextGroup from './BodyTextGroup';
|
|
2
|
-
import type { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const _default: ComponentMeta<typeof BodyTextGroup>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const TitleOnly: ComponentStory<typeof BodyTextGroup>;
|
|
6
|
-
export declare const WithDescription: ComponentStory<typeof BodyTextGroup>;
|
|
7
|
-
export declare const WithContent: ComponentStory<typeof BodyTextGroup>;
|
|
8
|
-
export declare const Both: ComponentStory<typeof BodyTextGroup>;
|
|
@@ -1,80 +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.Both = exports.WithContent = exports.WithDescription = exports.TitleOnly = void 0;
|
|
18
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
-
var BodyTextGroup_1 = __importDefault(require("./BodyTextGroup"));
|
|
20
|
-
exports.default = {
|
|
21
|
-
title: 'desktop/components/BodyTextGroup',
|
|
22
|
-
component: BodyTextGroup_1.default,
|
|
23
|
-
parameters: {
|
|
24
|
-
docs: {
|
|
25
|
-
description: {
|
|
26
|
-
component: 'desktop환경에 최적화된 BodyTextGroup 컴포넌트'
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
argTypes: {
|
|
31
|
-
titleStyleTheme: {
|
|
32
|
-
description: '타이틀 텍스트의 스타일을 결정합니다.',
|
|
33
|
-
control: { type: 'inline-radio' }
|
|
34
|
-
},
|
|
35
|
-
titleText: {
|
|
36
|
-
description: '표시할 타이틀 텍스트 값입니다.',
|
|
37
|
-
control: { type: 'text' }
|
|
38
|
-
},
|
|
39
|
-
descText: {
|
|
40
|
-
description: '상세 내용을 보여주는 텍스트 값입니다.',
|
|
41
|
-
control: { type: 'text' }
|
|
42
|
-
},
|
|
43
|
-
contentText: {
|
|
44
|
-
description: '본문 내용을 보여주는 텍스트 값입니다.',
|
|
45
|
-
control: { type: 'text' }
|
|
46
|
-
},
|
|
47
|
-
titleTextWordBreak: {
|
|
48
|
-
description: 'titleText의 줄바꿈 형식을 결정합니다.',
|
|
49
|
-
control: { type: 'inline-radio' }
|
|
50
|
-
},
|
|
51
|
-
descTextWordBreak: {
|
|
52
|
-
description: 'descText의 줄바꿈 형식을 결정합니다.',
|
|
53
|
-
control: { type: 'inline-radio' }
|
|
54
|
-
},
|
|
55
|
-
contentTextWordBreak: {
|
|
56
|
-
description: 'contentText의 줄바꿈 형식을 결정합니다.',
|
|
57
|
-
control: { type: 'inline-radio' }
|
|
58
|
-
},
|
|
59
|
-
contentFontWeight: {
|
|
60
|
-
description: '본문의 굵기를 나타냅니다.',
|
|
61
|
-
control: { type: 'inline-radio' }
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
var Template = function (args) { return (0, jsx_runtime_1.jsx)(BodyTextGroup_1.default, __assign({}, args), void 0); };
|
|
66
|
-
var defaultArgs = {
|
|
67
|
-
titleText: 'pApp 활성화',
|
|
68
|
-
titleTextWordBreak: 'keep_all',
|
|
69
|
-
descTextWordBreak: 'keep_all',
|
|
70
|
-
contentTextWordBreak: 'keep_all',
|
|
71
|
-
contentFontWeight: 'regular'
|
|
72
|
-
};
|
|
73
|
-
exports.TitleOnly = Template.bind({});
|
|
74
|
-
exports.TitleOnly.args = __assign(__assign({}, defaultArgs), { contentFontWeight: 'regular' });
|
|
75
|
-
exports.WithDescription = Template.bind({});
|
|
76
|
-
exports.WithDescription.args = __assign(__assign({}, defaultArgs), { descText: "pApp\uC744 \uD65C\uC131\uD654\uD569\uB2C8\uB2E4. \uAD6C\uB3C5\uC790\uC5D0\uAC8C \uD45C\uC2DC\uD558\uAE30 \uC704\uD574\uC11C\uB294, \uBC18\uB4DC\uC2DC \uD65C\uC131\uD654\uB418\uC5B4 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4.\npApp\uC5D0\uC11C \uD45C\uC2DC\uD560 \uCF58\uD150\uCE20 \uC5C5\uB85C\uB4DC\uB098 \uBAA8\uB4E0 \uC124\uC815\uC774 \uB05D\uB0AC\uB2E4\uBA74, \uD65C\uC131\uD654 \uC0C1\uD0DC\uB85C \uBCC0\uACBD\uD574 \uC8FC\uC138\uC694.\n\uAE30\uBCF8 pApp\uC73C\uB85C \uC124\uC815\uB41C pApp\uC740 \uBE44\uD65C\uC131\uD654\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4." });
|
|
77
|
-
exports.WithContent = Template.bind({});
|
|
78
|
-
exports.WithContent.args = __assign(__assign({}, defaultArgs), { contentText: "* \uBE44\uD65C\uC131\uD654 \uC2DC\uC5D0\uB3C4 \uB370\uC774\uD130\uB294 \uC804\uD600 \uC0AD\uC81C\uB418\uC9C0 \uC54A\uC73C\uBA70, \uC0AC\uC6A9\uB7C9\uC5D0 \uC758\uD55C \uC694\uAE08\uC740 \uBD80\uACFC\uB429\uB2C8\uB2E4.\n \uC55E\uC73C\uB85C\uB3C4 \uC774\uC6A9\uD558\uC9C0 \uC54A\uC73C\uC2E4 \uC608\uC815\uC774\uB77C\uBA74 [pApp \uC124\uCE58 \uBC0F \uC81C\uAC70] \uBA54\uB274\uC5D0\uC11C pApp\uC744 \uC644\uC804\uD788 \uC81C\uAC70\uD574 \uC8FC\uC138\uC694." });
|
|
79
|
-
exports.Both = Template.bind({});
|
|
80
|
-
exports.Both.args = __assign(__assign({}, defaultArgs), { descText: "pApp\uC744 \uD65C\uC131\uD654\uD569\uB2C8\uB2E4. \uAD6C\uB3C5\uC790\uC5D0\uAC8C \uD45C\uC2DC\uD558\uAE30 \uC704\uD574\uC11C\uB294, \uBC18\uB4DC\uC2DC \uD65C\uC131\uD654\uB418\uC5B4 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4.\npApp\uC5D0\uC11C \uD45C\uC2DC\uD560 \uCF58\uD150\uCE20 \uC5C5\uB85C\uB4DC\uB098 \uBAA8\uB4E0 \uC124\uC815\uC774 \uB05D\uB0AC\uB2E4\uBA74, \uD65C\uC131\uD654 \uC0C1\uD0DC\uB85C \uBCC0\uACBD\uD574 \uC8FC\uC138\uC694.\n\uAE30\uBCF8 pApp\uC73C\uB85C \uC124\uC815\uB41C pApp\uC740 \uBE44\uD65C\uC131\uD654\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.", contentText: "* \uBE44\uD65C\uC131\uD654 \uC2DC\uC5D0\uB3C4 \uB370\uC774\uD130\uB294 \uC804\uD600 \uC0AD\uC81C\uB418\uC9C0 \uC54A\uC73C\uBA70, \uC0AC\uC6A9\uB7C9\uC5D0 \uC758\uD55C \uC694\uAE08\uC740 \uBD80\uACFC\uB429\uB2C8\uB2E4.\n\uC55E\uC73C\uB85C\uB3C4 \uC774\uC6A9\uD558\uC9C0 \uC54A\uC73C\uC2E4 \uC608\uC815\uC774\uB77C\uBA74 [pApp \uC124\uCE58 \uBC0F \uC81C\uAC70] \uBA54\uB274\uC5D0\uC11C pApp\uC744 \uC644\uC804\uD788 \uC81C\uAC70\uD574 \uC8FC\uC138\uC694." });
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import Card from './Card';
|
|
2
|
-
import type { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const _default: ComponentMeta<typeof Card>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const DefaultCard: ComponentStory<typeof Card>;
|
|
6
|
-
export declare const ImageCard: ComponentStory<typeof Card>;
|
|
@@ -1,81 +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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
|
-
};
|
|
20
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
exports.ImageCard = exports.DefaultCard = void 0;
|
|
22
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
23
|
-
var react_1 = require("react");
|
|
24
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
25
|
-
var hybrid_1 = require("../../../hybrid");
|
|
26
|
-
var Card_1 = __importDefault(require("./Card"));
|
|
27
|
-
exports.default = {
|
|
28
|
-
title: 'desktop/components/Card',
|
|
29
|
-
component: Card_1.default,
|
|
30
|
-
parameters: {
|
|
31
|
-
docs: {
|
|
32
|
-
description: {
|
|
33
|
-
component: 'desktop 환경에 최적화된 Card 컴포넌트'
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
argTypes: {
|
|
38
|
-
titleText: {
|
|
39
|
-
description: '주요 텍스트입니다.',
|
|
40
|
-
control: { type: 'text' }
|
|
41
|
-
},
|
|
42
|
-
descText: {
|
|
43
|
-
description: '상세 설명 텍스트입니다.',
|
|
44
|
-
control: { type: 'text' }
|
|
45
|
-
},
|
|
46
|
-
imageIconMode: {
|
|
47
|
-
description: '이미지 또는 아이콘 사용 여부를 결정합니다.',
|
|
48
|
-
control: { type: 'inline-radio' }
|
|
49
|
-
},
|
|
50
|
-
imageSrc: {
|
|
51
|
-
description: '이미지 사용 시 주소 값입니다.',
|
|
52
|
-
control: { type: 'text' }
|
|
53
|
-
},
|
|
54
|
-
selectState: {
|
|
55
|
-
description: '상태를 결정합니다. *clickMode가 select인 경우 사용가능합니다.',
|
|
56
|
-
control: { type: 'none' }
|
|
57
|
-
},
|
|
58
|
-
onClick: {
|
|
59
|
-
action: 'onClick'
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
var S_CardWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n"], ["\n display: flex;\n flex-direction: row;\n"])));
|
|
64
|
-
var Template = function (args) {
|
|
65
|
-
var _a = (0, react_1.useState)('card1'), selectedCard = _a[0], setSelectedCard = _a[1];
|
|
66
|
-
return ((0, jsx_runtime_1.jsxs)(S_CardWrapper, { children: [(0, jsx_runtime_1.jsx)(Card_1.default, __assign({}, args, { selectState: selectedCard === 'card1' ? 'selected' : 'unselected', onClick: function () { return setSelectedCard('card1'); } }), void 0), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_d", spacingType: "width" }, void 0), (0, jsx_runtime_1.jsx)(Card_1.default, __assign({}, args, { selectState: selectedCard === 'card2' ? 'selected' : 'unselected', onClick: function () { return setSelectedCard('card2'); } }), void 0)] }, void 0));
|
|
67
|
-
};
|
|
68
|
-
exports.DefaultCard = Template.bind({});
|
|
69
|
-
exports.DefaultCard.args = {
|
|
70
|
-
titleText: 'Card',
|
|
71
|
-
descText: '상세 설명 텍스트입니다.',
|
|
72
|
-
imageIconMode: 'none'
|
|
73
|
-
};
|
|
74
|
-
exports.ImageCard = Template.bind({});
|
|
75
|
-
exports.ImageCard.args = {
|
|
76
|
-
titleText: 'Card',
|
|
77
|
-
descText: '상세 설명 텍스트입니다.',
|
|
78
|
-
imageIconMode: 'image',
|
|
79
|
-
imageSrc: 'https://images.unsplash.com/photo-1502602898657-3e91760cbb34?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1173&q=80'
|
|
80
|
-
};
|
|
81
|
-
var templateObject_1;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import CardList from './CardList';
|
|
2
|
-
import type { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const _default: ComponentMeta<typeof CardList>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const DefaultCardList: ComponentStory<typeof CardList>;
|
|
6
|
-
export declare const MultiCardList: ComponentStory<any>;
|
|
@@ -1,90 +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 __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
-
var t = {};
|
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
-
t[p] = s[p];
|
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
-
t[p[i]] = s[p[i]];
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
23
|
-
};
|
|
24
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
-
};
|
|
27
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.MultiCardList = exports.DefaultCardList = void 0;
|
|
29
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
30
|
-
var Card_1 = __importDefault(require("../Card/Card"));
|
|
31
|
-
var Card_stories_1 = require("../Card/Card.stories");
|
|
32
|
-
var CardList_1 = __importDefault(require("./CardList"));
|
|
33
|
-
exports.default = {
|
|
34
|
-
title: 'desktop/components/CardList',
|
|
35
|
-
component: CardList_1.default,
|
|
36
|
-
subcomponents: { Card: Card_1.default },
|
|
37
|
-
parameters: {
|
|
38
|
-
docs: {
|
|
39
|
-
description: {
|
|
40
|
-
component: 'desktop환경에 최적화 된 CardList 컴포넌트'
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
argTypes: {
|
|
45
|
-
children: {
|
|
46
|
-
description: 'ContextList에 들어갈 자식 요소입니다. 현재는 `Card`만 존재합니다.'
|
|
47
|
-
},
|
|
48
|
-
rows: {
|
|
49
|
-
description: 'Grid에 적용할 행의 값입니다.',
|
|
50
|
-
control: { type: 'number' }
|
|
51
|
-
},
|
|
52
|
-
columns: {
|
|
53
|
-
description: 'Grid에 적용할 열의 값입니다.',
|
|
54
|
-
control: { type: 'number' }
|
|
55
|
-
},
|
|
56
|
-
rowGap: {
|
|
57
|
-
description: '행 사이에 적용할 간격값입니다.',
|
|
58
|
-
control: { type: 'number' }
|
|
59
|
-
},
|
|
60
|
-
columnGap: {
|
|
61
|
-
description: '열 사이에 적용할 간격값입니다.',
|
|
62
|
-
control: { type: 'number' }
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
var Template = function (args) {
|
|
67
|
-
return (0, jsx_runtime_1.jsx)(CardList_1.default, __assign({}, args), void 0);
|
|
68
|
-
};
|
|
69
|
-
var ListTemplate = function (_a) {
|
|
70
|
-
var items = _a.items, args = __rest(_a, ["items"]);
|
|
71
|
-
return ((0, jsx_runtime_1.jsx)(CardList_1.default, __assign({}, args, { children: items.map(function (_a, index) {
|
|
72
|
-
var titleText = _a.titleText, descText = _a.descText, imageIconMode = _a.imageIconMode, imageSrc = _a.imageSrc;
|
|
73
|
-
return ((0, jsx_runtime_1.jsx)(Card_1.default, { titleText: titleText, descText: descText, imageIconMode: imageIconMode, imageSrc: imageSrc }, index));
|
|
74
|
-
}) }), void 0));
|
|
75
|
-
};
|
|
76
|
-
exports.DefaultCardList = Template.bind({});
|
|
77
|
-
exports.MultiCardList = ListTemplate.bind({});
|
|
78
|
-
exports.MultiCardList.args = {
|
|
79
|
-
columns: 3,
|
|
80
|
-
columnGap: 20,
|
|
81
|
-
rowGap: 30,
|
|
82
|
-
items: [
|
|
83
|
-
__assign({}, Card_stories_1.ImageCard.args),
|
|
84
|
-
__assign({}, Card_stories_1.ImageCard.args),
|
|
85
|
-
__assign({}, Card_stories_1.ImageCard.args),
|
|
86
|
-
__assign({}, Card_stories_1.ImageCard.args),
|
|
87
|
-
__assign({}, Card_stories_1.ImageCard.args),
|
|
88
|
-
__assign({}, Card_stories_1.ImageCard.args)
|
|
89
|
-
]
|
|
90
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import ChatBubble from './ChatBubble';
|
|
2
|
-
import type { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const _default: ComponentMeta<typeof ChatBubble>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: ComponentStory<typeof ChatBubble>;
|
|
6
|
-
export declare const Grey01: ComponentStory<typeof ChatBubble>;
|
|
7
|
-
export declare const Primary: ComponentStory<typeof ChatBubble>;
|
|
8
|
-
export declare const LongText: ComponentStory<typeof ChatBubble>;
|