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,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: 'mobile/components/CardList',
|
|
35
|
-
component: CardList_1.default,
|
|
36
|
-
subcomponents: { Card: Card_1.default },
|
|
37
|
-
parameters: {
|
|
38
|
-
docs: {
|
|
39
|
-
description: {
|
|
40
|
-
component: 'mobile 환경에 최적화 된 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>;
|
|
@@ -1,68 +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.LongText = exports.Primary = exports.Grey01 = exports.Default = void 0;
|
|
22
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
23
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
24
|
-
var TextLabel_1 = require("../TextLabel");
|
|
25
|
-
var ChatBubble_1 = __importDefault(require("./ChatBubble"));
|
|
26
|
-
exports.default = {
|
|
27
|
-
title: 'test/mobile/ChatBubble',
|
|
28
|
-
component: ChatBubble_1.default,
|
|
29
|
-
parameters: {
|
|
30
|
-
docs: {
|
|
31
|
-
description: {
|
|
32
|
-
component: 'mobile환경에 최적화 된 ChatBubble 컴포넌트'
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
argTypes: {
|
|
37
|
-
colorTheme: {
|
|
38
|
-
description: 'ChatBubble의 색상을 결정합니다.',
|
|
39
|
-
control: { type: 'inline-radio' }
|
|
40
|
-
},
|
|
41
|
-
tailType: {
|
|
42
|
-
description: 'ChatBubble의 tail 유형을 결정합니다.',
|
|
43
|
-
control: { type: 'inline-radio' }
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
var S_Spacing = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n margin: 24px;\n"], ["\n margin: 24px;\n"])));
|
|
48
|
-
var Template = function (args) { return ((0, jsx_runtime_1.jsx)(S_Spacing, { children: (0, jsx_runtime_1.jsx)(ChatBubble_1.default, __assign({}, args), void 0) }, void 0)); };
|
|
49
|
-
exports.Default = Template.bind({});
|
|
50
|
-
exports.Default.args = {
|
|
51
|
-
children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: "Default" }, void 0)
|
|
52
|
-
};
|
|
53
|
-
exports.Grey01 = Template.bind({});
|
|
54
|
-
exports.Grey01.args = {
|
|
55
|
-
colorTheme: 'grey',
|
|
56
|
-
children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: "grey_01" }, void 0)
|
|
57
|
-
};
|
|
58
|
-
exports.Primary = Template.bind({});
|
|
59
|
-
exports.Primary.args = {
|
|
60
|
-
colorTheme: 'brand_primary',
|
|
61
|
-
children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: "primary" }, void 0),
|
|
62
|
-
tailType: 'right_top'
|
|
63
|
-
};
|
|
64
|
-
exports.LongText = Template.bind({});
|
|
65
|
-
exports.LongText.args = {
|
|
66
|
-
children: ((0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book." }, void 0))
|
|
67
|
-
};
|
|
68
|
-
var templateObject_1;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import ChatBubbleListItem from './ChatBubbleListItem';
|
|
2
|
-
import type { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const _default: ComponentMeta<typeof ChatBubbleListItem>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const OtherAvatarImpact: ComponentStory<typeof ChatBubbleListItem>;
|
|
6
|
-
export declare const OtherAvatar: ComponentStory<typeof ChatBubbleListItem>;
|
|
7
|
-
export declare const OtherAvatarSub: ComponentStory<typeof ChatBubbleListItem>;
|
|
8
|
-
export declare const Other: ComponentStory<typeof ChatBubbleListItem>;
|
|
9
|
-
export declare const OtherSub: ComponentStory<typeof ChatBubbleListItem>;
|
|
10
|
-
export declare const Me: ComponentStory<typeof ChatBubbleListItem>;
|
|
11
|
-
export declare const MeSub: ComponentStory<typeof ChatBubbleListItem>;
|
|
12
|
-
export declare const GreyColorChildrenTextLabel: ComponentStory<typeof ChatBubbleListItem>;
|
|
13
|
-
export declare const BrandPrimaryColorChildrenTextLabel: ComponentStory<typeof ChatBubbleListItem>;
|
|
14
|
-
export declare const TranslucentWhiteColorChildrenTextLabel: ComponentStory<typeof ChatBubbleListItem>;
|
|
15
|
-
export declare const TranslucentBlackColorChildrenTextLabel: ComponentStory<typeof ChatBubbleListItem>;
|
|
16
|
-
export declare const WithImage: ComponentStory<typeof ChatBubbleListItem>;
|
|
17
|
-
export declare const AllVariation: ComponentStory<typeof ChatBubbleListItem>;
|
|
@@ -1,133 +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.AllVariation = exports.WithImage = exports.TranslucentBlackColorChildrenTextLabel = exports.TranslucentWhiteColorChildrenTextLabel = exports.BrandPrimaryColorChildrenTextLabel = exports.GreyColorChildrenTextLabel = exports.MeSub = exports.Me = exports.OtherSub = exports.Other = exports.OtherAvatarSub = exports.OtherAvatar = exports.OtherAvatarImpact = void 0;
|
|
18
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
-
var hybrid_1 = require("../../../hybrid");
|
|
20
|
-
var TextLabel_1 = require("../TextLabel");
|
|
21
|
-
var ChatBubbleListItem_1 = __importDefault(require("./ChatBubbleListItem"));
|
|
22
|
-
exports.default = {
|
|
23
|
-
title: 'mobile/components/ChatBubbleListItem',
|
|
24
|
-
component: ChatBubbleListItem_1.default,
|
|
25
|
-
parameters: {
|
|
26
|
-
docs: {
|
|
27
|
-
description: {
|
|
28
|
-
component: 'mobile환경에 최적화 된 ChatBubbleListItem 컴포넌트'
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
argTypes: {
|
|
33
|
-
titleText: {
|
|
34
|
-
description: '주요 텍스트입니다. 주로 Chat을 보내는 대상을 표시하는 역할을 합니다.',
|
|
35
|
-
control: { type: 'text' }
|
|
36
|
-
},
|
|
37
|
-
imageSrc: {
|
|
38
|
-
description: '이미지 사용 시 주소 값입니다.',
|
|
39
|
-
control: { type: 'text' }
|
|
40
|
-
},
|
|
41
|
-
hoverMode: {
|
|
42
|
-
description: '호버 시, 더 보기 아이콘 버튼 노출 여부를 결정합니다. (셀러나 다른 구독자가 전송한 경우에만 표시)',
|
|
43
|
-
control: { type: 'inline-radio' }
|
|
44
|
-
},
|
|
45
|
-
styleTheme: {
|
|
46
|
-
description: '메세지를 전송하는 대상에 따른 스타일 프리셋입니다.',
|
|
47
|
-
control: { type: 'inline-radio' }
|
|
48
|
-
},
|
|
49
|
-
colorTheme: {
|
|
50
|
-
description: '아이템의 색상 테마를 결정합니다.',
|
|
51
|
-
control: { type: 'inline-radio' }
|
|
52
|
-
},
|
|
53
|
-
timeMode: {
|
|
54
|
-
description: '메세지 전송 시간 사용 여부를 결정합니다.',
|
|
55
|
-
control: { type: 'inline-radio' }
|
|
56
|
-
},
|
|
57
|
-
timeText: {
|
|
58
|
-
description: '메세지 전송 시간 텍스트입니다.',
|
|
59
|
-
control: { type: 'text' }
|
|
60
|
-
},
|
|
61
|
-
contextMenuOptionArray: {
|
|
62
|
-
description: 'iBtn 클릭 시, 표시되는 ContextMenu 속 텍스트와 고유값 객체입니다.',
|
|
63
|
-
control: { type: 'none' }
|
|
64
|
-
},
|
|
65
|
-
contextMenuState: {
|
|
66
|
-
description: 'ContextMenu의 상태를 결정합니다.',
|
|
67
|
-
control: { type: 'inline-radio' }
|
|
68
|
-
},
|
|
69
|
-
children: {
|
|
70
|
-
description: '말풍선 메세지의 내용을 표시하는 용도로 사용됩니다.'
|
|
71
|
-
},
|
|
72
|
-
onClickContextMenuItem: {
|
|
73
|
-
action: 'onClickContextMenuItem'
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
var Template = function (args) { return ((0, jsx_runtime_1.jsx)(ChatBubbleListItem_1.default, __assign({}, args), void 0)); };
|
|
78
|
-
var defaultArgs = {
|
|
79
|
-
titleText: 'titleText',
|
|
80
|
-
imageSrc: 'https://placekitten.com/300/300',
|
|
81
|
-
contextMenuOptionArray: [
|
|
82
|
-
{
|
|
83
|
-
text: 'contextMenuItem1',
|
|
84
|
-
value: 1
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
text: 'contextMenuItem2',
|
|
88
|
-
value: 2
|
|
89
|
-
}
|
|
90
|
-
],
|
|
91
|
-
timeText: '01:02',
|
|
92
|
-
children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: "children TextLabel" }, void 0)
|
|
93
|
-
};
|
|
94
|
-
exports.OtherAvatarImpact = Template.bind({});
|
|
95
|
-
exports.OtherAvatarImpact.args = __assign(__assign({}, defaultArgs), { styleTheme: 'other_avatar_impact' });
|
|
96
|
-
exports.OtherAvatar = Template.bind({});
|
|
97
|
-
exports.OtherAvatar.args = __assign(__assign({}, defaultArgs), { styleTheme: 'other_avatar' });
|
|
98
|
-
exports.OtherAvatarSub = Template.bind({});
|
|
99
|
-
exports.OtherAvatarSub.args = __assign(__assign({}, defaultArgs), { styleTheme: 'other_avatar_sub' });
|
|
100
|
-
exports.Other = Template.bind({});
|
|
101
|
-
exports.Other.args = __assign(__assign({}, defaultArgs), { styleTheme: 'other' });
|
|
102
|
-
exports.OtherSub = Template.bind({});
|
|
103
|
-
exports.OtherSub.args = __assign(__assign({}, defaultArgs), { styleTheme: 'other_sub' });
|
|
104
|
-
exports.Me = Template.bind({});
|
|
105
|
-
exports.Me.args = __assign(__assign({}, defaultArgs), { styleTheme: 'me' });
|
|
106
|
-
exports.MeSub = Template.bind({});
|
|
107
|
-
exports.MeSub.args = __assign(__assign({}, defaultArgs), { styleTheme: 'me_sub' });
|
|
108
|
-
exports.GreyColorChildrenTextLabel = Template.bind({});
|
|
109
|
-
exports.GreyColorChildrenTextLabel.args = __assign(__assign({}, defaultArgs), { styleTheme: 'other_avatar_impact', colorTheme: 'grey', children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { colorTheme: "sysTextPrimary", text: "children TextLabel" }, void 0) });
|
|
110
|
-
exports.BrandPrimaryColorChildrenTextLabel = Template.bind({});
|
|
111
|
-
exports.BrandPrimaryColorChildrenTextLabel.args = __assign(__assign({}, defaultArgs), { styleTheme: 'other_avatar_impact', colorTheme: 'brand_primary', children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { colorTheme: "usrTextBrandOnPrimary", text: "children TextLabel" }, void 0) });
|
|
112
|
-
exports.TranslucentWhiteColorChildrenTextLabel = Template.bind({});
|
|
113
|
-
exports.TranslucentWhiteColorChildrenTextLabel.args = __assign(__assign({}, defaultArgs), { styleTheme: 'other_avatar_impact', colorTheme: 'translucent_white', children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { colorTheme: "sysTextBlack", text: "children TextLabel" }, void 0) });
|
|
114
|
-
exports.TranslucentBlackColorChildrenTextLabel = Template.bind({});
|
|
115
|
-
exports.TranslucentBlackColorChildrenTextLabel.args = __assign(__assign({}, defaultArgs), { styleTheme: 'other_avatar_impact', colorTheme: 'translucent_black', children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { colorTheme: "sysTextWhite", text: "children TextLabel" }, void 0) });
|
|
116
|
-
exports.WithImage = Template.bind({});
|
|
117
|
-
exports.WithImage.args = __assign(__assign({}, defaultArgs), { styleTheme: 'other_avatar_impact', children: (0, jsx_runtime_1.jsx)(hybrid_1.ImageView, { src: "https://placekitten.com/240", width: 240 }, void 0) });
|
|
118
|
-
var AllTemplate = function (args) { return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(ChatBubbleListItem_1.default, __assign({}, args, { styleTheme: "other_avatar_impact", titleText: "other_avatar_impact", imageSrc: "https://placekitten.com/300/300", timeMode: "none" }, { children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: "other_avatar_impact" }, void 0) }), void 0), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b" }, void 0), (0, jsx_runtime_1.jsx)(ChatBubbleListItem_1.default, __assign({}, args, { styleTheme: "other_avatar", titleText: "other_avatar", imageSrc: "https://placedog.net/300/300", timeMode: "none" }, { children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: "other_avatar" }, void 0) }), void 0), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_c" }, void 0), (0, jsx_runtime_1.jsx)(ChatBubbleListItem_1.default, __assign({}, args, { styleTheme: "other_avatar_sub", titleText: "other_avatar_sub", imageSrc: "https://placedog.net/300/300", timeMode: "none" }, { children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: "other_avatar_sub" }, void 0) }), void 0), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b" }, void 0), (0, jsx_runtime_1.jsx)(ChatBubbleListItem_1.default, __assign({}, args, { styleTheme: "other" }, { children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: "other" }, void 0) }), void 0), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_c" }, void 0), (0, jsx_runtime_1.jsx)(ChatBubbleListItem_1.default, __assign({}, args, { styleTheme: "other_sub", timeMode: "none" }, { children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: "other_sub" }, void 0) }), void 0), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b" }, void 0), (0, jsx_runtime_1.jsx)(ChatBubbleListItem_1.default, __assign({}, args, { styleTheme: "me" }, { children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: "me" }, void 0) }), void 0), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b" }, void 0), (0, jsx_runtime_1.jsx)(ChatBubbleListItem_1.default, __assign({}, args, { styleTheme: "me_sub" }, { children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: "me_sub" }, void 0) }), void 0)] }, void 0)); };
|
|
119
|
-
exports.AllVariation = AllTemplate.bind({});
|
|
120
|
-
exports.AllVariation.parameters = { controls: { include: ['timeText'] } };
|
|
121
|
-
exports.AllVariation.args = {
|
|
122
|
-
contextMenuOptionArray: [
|
|
123
|
-
{
|
|
124
|
-
text: 'contextMenuItem1',
|
|
125
|
-
value: 1
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
text: 'contextMenuItem2',
|
|
129
|
-
value: 2
|
|
130
|
-
}
|
|
131
|
-
],
|
|
132
|
-
timeText: '01:02'
|
|
133
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const _default: ComponentMeta<import("react").ForwardRefExoticComponent<import("./ChatList").Props & import("react").RefAttributes<HTMLDivElement>>>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: ComponentStory<import("react").ForwardRefExoticComponent<import("./ChatList").Props & import("react").RefAttributes<HTMLDivElement>>>;
|
|
6
|
-
export declare const AllIcon: ComponentStory<import("react").ForwardRefExoticComponent<import("./ChatList").Props & import("react").RefAttributes<HTMLDivElement>>>;
|
|
7
|
-
export declare const WithChatBubbleListItem: ComponentStory<import("react").ForwardRefExoticComponent<import("./ChatList").Props & import("react").RefAttributes<HTMLDivElement>>>;
|
|
@@ -1,235 +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 __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
14
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
15
|
-
if (ar || !(i in from)) {
|
|
16
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
17
|
-
ar[i] = from[i];
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
21
|
-
};
|
|
22
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
23
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.WithChatBubbleListItem = exports.AllIcon = exports.Default = void 0;
|
|
27
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var react_1 = require("react");
|
|
29
|
-
var hybrid_1 = require("../../../hybrid");
|
|
30
|
-
var BasicChatListItem_1 = require("../BasicChatListItem");
|
|
31
|
-
var ChatBubbleListItem_1 = require("../ChatBubbleListItem");
|
|
32
|
-
var TextLabel_1 = require("../TextLabel");
|
|
33
|
-
var ChatList_1 = __importDefault(require("./ChatList"));
|
|
34
|
-
exports.default = {
|
|
35
|
-
title: 'mobile/components/ChatList',
|
|
36
|
-
component: ChatList_1.default,
|
|
37
|
-
parameters: {
|
|
38
|
-
docs: {
|
|
39
|
-
description: {
|
|
40
|
-
component: 'mobile환경에 최적화 된 ChatList 컴포넌트.'
|
|
41
|
-
},
|
|
42
|
-
source: { type: 'code' }
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
argTypes: {
|
|
46
|
-
colorTheme: {
|
|
47
|
-
description: '채팅 전역의 스타일을 교체할 수 있는 테마를 결정합니다.'
|
|
48
|
-
},
|
|
49
|
-
headerMode: {
|
|
50
|
-
description: 'header 영역의 사용여부를 결정합니다.'
|
|
51
|
-
},
|
|
52
|
-
titleText: {
|
|
53
|
-
description: '리스트의 제목을 입력합니다.',
|
|
54
|
-
control: { type: 'text' }
|
|
55
|
-
},
|
|
56
|
-
descText: {
|
|
57
|
-
description: '리스트의 간단 설명을 입력합니다.',
|
|
58
|
-
control: { type: 'text' }
|
|
59
|
-
},
|
|
60
|
-
captionText: {
|
|
61
|
-
description: '리스트의 세부 설명, 옵션용 텍스트를 입력합니다.',
|
|
62
|
-
control: { type: 'text' }
|
|
63
|
-
},
|
|
64
|
-
titleStyleTheme: {
|
|
65
|
-
description: 'titleText 영역의 스타일을 결정 합니다.'
|
|
66
|
-
},
|
|
67
|
-
headerDisplayType: {
|
|
68
|
-
description: 'header 영역의 표시방법을 결정 합니다.'
|
|
69
|
-
},
|
|
70
|
-
headerIBtn1IconName: {
|
|
71
|
-
description: 'header 영역에 우측 영역의 아이콘 이름을 결정합니다.',
|
|
72
|
-
control: { type: 'select' }
|
|
73
|
-
},
|
|
74
|
-
headerIBtn1IconFillType: {
|
|
75
|
-
description: '우측 영역의 아이콘 유형을 결정합니다.'
|
|
76
|
-
},
|
|
77
|
-
children: {
|
|
78
|
-
description: 'ChatList에 들어갈 자식 요소입니다. 현재는 ChatListItem 컴포넌트만 위치시킬 수 있습니다.',
|
|
79
|
-
control: { type: 'none' }
|
|
80
|
-
},
|
|
81
|
-
bodyChildren: {
|
|
82
|
-
description: 'ChatList의 body 영역에 들어갈 자식 요소입니다.',
|
|
83
|
-
control: { type: 'none' }
|
|
84
|
-
},
|
|
85
|
-
textFieldState: {
|
|
86
|
-
description: '텍스트 필드의 상태를 정합니다.'
|
|
87
|
-
},
|
|
88
|
-
textFieldHintText: {
|
|
89
|
-
description: '입력하기 전 미리 보여주는 텍스트 값입니다.',
|
|
90
|
-
control: { type: 'text' }
|
|
91
|
-
},
|
|
92
|
-
textFieldDefaultText: {
|
|
93
|
-
description: '하단 입력폼 내 텍스트 필드의 기본 값을 입력합니다.',
|
|
94
|
-
control: { type: 'text' }
|
|
95
|
-
},
|
|
96
|
-
textFieldMaxLength: {
|
|
97
|
-
description: '하단 입력폼 내 텍스트 필드의 최대 길이을 입력합니다.',
|
|
98
|
-
control: { type: 'number' }
|
|
99
|
-
},
|
|
100
|
-
scrollVisibleType: {
|
|
101
|
-
description: '스크롤을 표시할 지 여부를 결정합니다.'
|
|
102
|
-
},
|
|
103
|
-
footerChildren: {
|
|
104
|
-
description: 'TextField 아래에 위치할 자식 요소입니다. 여러가지 컴포넌트를 조합하여 위치시킬 수 있습니다.',
|
|
105
|
-
control: { type: 'none' }
|
|
106
|
-
},
|
|
107
|
-
submitIBtnState: {
|
|
108
|
-
description: '메세지 전송 버튼의 상태를 정합니다.'
|
|
109
|
-
},
|
|
110
|
-
bodyMBtnText: {
|
|
111
|
-
description: '바디 영역에 떠있는 버튼의 텍스트를 입력합니다.',
|
|
112
|
-
control: { type: 'text' }
|
|
113
|
-
},
|
|
114
|
-
bodySpacingMode: {
|
|
115
|
-
description: 'body 영역의 양 옆 여백 사용 여부를 결정합니다.',
|
|
116
|
-
control: { type: 'inline-radio' }
|
|
117
|
-
},
|
|
118
|
-
submitIBtnIconName: {
|
|
119
|
-
description: 'TextField 전송버튼의 아이콘 이름을 입력합니다',
|
|
120
|
-
control: { type: 'select' }
|
|
121
|
-
},
|
|
122
|
-
submitIBtnIconFillType: {
|
|
123
|
-
description: '우측 영역의 아이콘 유형을 결정합니다.'
|
|
124
|
-
},
|
|
125
|
-
footerIBtn1State: {
|
|
126
|
-
description: '우측 영역의 아이콘의 상태를 정합니다.'
|
|
127
|
-
},
|
|
128
|
-
footerIBtn1IconName: {
|
|
129
|
-
description: 'TextField 우측 첫번째 영역의 아이콘 이름을 결정합니다.',
|
|
130
|
-
control: { type: 'select' }
|
|
131
|
-
},
|
|
132
|
-
footerIBtn1IconFillType: {
|
|
133
|
-
description: '우측 영역의 아이콘 유형을 결정합니다.'
|
|
134
|
-
},
|
|
135
|
-
footerIBtn1Type: {
|
|
136
|
-
description: '우측 영역의 아이콘 버튼의 타입을 결정합니다.'
|
|
137
|
-
},
|
|
138
|
-
onClickFooterIBtn1: {
|
|
139
|
-
action: 'onClickFooterIBtn1'
|
|
140
|
-
},
|
|
141
|
-
footerIBtn2State: {
|
|
142
|
-
description: '좌측 두번째 영역의 아이콘 상태를 정합니다'
|
|
143
|
-
},
|
|
144
|
-
footerIBtn2IconName: {
|
|
145
|
-
description: 'TextField 좌측 두번째 영역의 아이콘 이름을 결정합니다.',
|
|
146
|
-
control: { type: 'select' }
|
|
147
|
-
},
|
|
148
|
-
footerIBtn2IconFillType: {
|
|
149
|
-
description: '좌측 영역의 아이콘 유형을 결정합니다.'
|
|
150
|
-
},
|
|
151
|
-
footerIBtn2Type: {
|
|
152
|
-
description: '좌측 영역의 아이콘 버튼의 타입을 결정합니다.'
|
|
153
|
-
},
|
|
154
|
-
onClickFooterIBtn2: {
|
|
155
|
-
action: 'onClickFooterIBtn2'
|
|
156
|
-
},
|
|
157
|
-
footerIBtn3State: {
|
|
158
|
-
description: '좌측 첫번째 영역의 아이콘 상태를 정합니다'
|
|
159
|
-
},
|
|
160
|
-
footerIBtn3IconName: {
|
|
161
|
-
description: 'TextField 좌측 첫번째 영역의 아이콘 이름을 결정합니다.',
|
|
162
|
-
control: { type: 'select' }
|
|
163
|
-
},
|
|
164
|
-
footerIBtn3IconFillType: {
|
|
165
|
-
description: '좌측 영역의 아이콘 유형을 결정합니다.'
|
|
166
|
-
},
|
|
167
|
-
footerIBtn3Type: {
|
|
168
|
-
description: '좌측 영역의 아이콘 버튼의 타입을 결정합니다.'
|
|
169
|
-
},
|
|
170
|
-
footerIBtn3Accept: {
|
|
171
|
-
description: '특정 확장자 혹은 타입의 파일만 선택할 수 있게 합니다.'
|
|
172
|
-
},
|
|
173
|
-
onClickFooterIBtn3: {
|
|
174
|
-
action: 'onClickFooterIBtn3'
|
|
175
|
-
},
|
|
176
|
-
onSubmit: {
|
|
177
|
-
action: 'onSubmit'
|
|
178
|
-
},
|
|
179
|
-
onClickHeaderIBtn1: {
|
|
180
|
-
action: 'onClickHeaderIBtn1'
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
};
|
|
184
|
-
var defaultArgs = {
|
|
185
|
-
colorTheme: 'solid',
|
|
186
|
-
headerMode: 'use',
|
|
187
|
-
titleStyleTheme: 'subTitleBold',
|
|
188
|
-
headerDisplayType: 'none',
|
|
189
|
-
headerIBtn1IconName: 'ic_xmark',
|
|
190
|
-
headerIBtn1IconFillType: 'line',
|
|
191
|
-
textFieldState: 'normal',
|
|
192
|
-
scrollVisibleType: 'moving',
|
|
193
|
-
submitIBtnState: 'normal',
|
|
194
|
-
submitIBtnIconName: 'ic_paper_plane',
|
|
195
|
-
submitIBtnIconFillType: 'fill',
|
|
196
|
-
footerIBtn1State: 'normal',
|
|
197
|
-
footerIBtn2State: 'normal',
|
|
198
|
-
footerIBtn3State: 'normal'
|
|
199
|
-
};
|
|
200
|
-
var DefaultChatList = function (args) {
|
|
201
|
-
var _a = (0, react_1.useState)(Array(50).fill('message')), messages = _a[0], setMessages = _a[1];
|
|
202
|
-
var ref = (0, react_1.useRef)(null);
|
|
203
|
-
var handleSubmit = function (message) {
|
|
204
|
-
setMessages(function (prev) { return __spreadArray(__spreadArray([], prev, true), [message], false); });
|
|
205
|
-
};
|
|
206
|
-
return ((0, jsx_runtime_1.jsx)(ChatList_1.default, __assign({}, args, { onSubmit: handleSubmit, ref: ref }, { children: messages.map(function (message, index) { return ((0, jsx_runtime_1.jsx)(BasicChatListItem_1.BasicChatListItem, { titleText: "titleText", contentText: "" + message + index, contextMenuOptionArray: [
|
|
207
|
-
{ text: 'contextMenu1', value: 1 },
|
|
208
|
-
{ text: 'contextMenu2', value: 2 }
|
|
209
|
-
] }, index)); }) }), void 0));
|
|
210
|
-
};
|
|
211
|
-
exports.Default = DefaultChatList.bind({});
|
|
212
|
-
exports.Default.args = __assign(__assign({}, defaultArgs), { titleText: 'titleText', descText: 'descText', captionText: 'captionText', textFieldHintText: 'hintText', footerChildren: ((0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: "footer children", colorTheme: "sysTextWhite", styleTheme: "body2Regular" }, void 0)), bodyMBtnText: 'bodyBtnText', bodyChildren: ((0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: "body children", colorTheme: "sysTextWhite", styleTheme: "body2Regular" }, void 0)) });
|
|
213
|
-
exports.AllIcon = DefaultChatList.bind({});
|
|
214
|
-
exports.AllIcon.args = __assign(__assign({}, defaultArgs), { titleText: 'titleText', captionText: 'captionText', textFieldHintText: 'hintText', footerChildren: ((0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: "footer children", colorTheme: "sysTextWhite", styleTheme: "body2Regular" }, void 0)), bodyMBtnText: 'bodyBtnText', footerIBtn1IconName: 'ic_face', footerIBtn2IconName: 'ic_menu', footerIBtn2State: 'disabled', footerIBtn3IconName: 'ic_plus', footerIBtn3Type: 'upload' });
|
|
215
|
-
var BubbleChatList = function (args) {
|
|
216
|
-
var _a = (0, react_1.useState)(Array(20).fill('message')), messages = _a[0], setMessages = _a[1];
|
|
217
|
-
var handleSubmit = function (message) {
|
|
218
|
-
setMessages(function (prev) { return __spreadArray(__spreadArray([], prev, true), [message], false); });
|
|
219
|
-
};
|
|
220
|
-
var today = new Date();
|
|
221
|
-
var hours = today.getHours();
|
|
222
|
-
var minutes = today.getMinutes();
|
|
223
|
-
return ((0, jsx_runtime_1.jsx)(ChatList_1.default, __assign({}, args, { onSubmit: handleSubmit }, { children: messages.map(function (message, index) { return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(ChatBubbleListItem_1.ChatBubbleListItem, __assign({ styleTheme: "other_avatar_impact", titleText: "seller", imageSrc: "https://placekitten.com/300/300", timeText: hours + ":" + minutes, contextMenuOptionArray: [
|
|
224
|
-
{ text: 'contextMenu1', value: 1 },
|
|
225
|
-
{ text: 'contextMenu2 contextMenu2 contextMenu2', value: 2 }
|
|
226
|
-
] }, { children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: "" + message + index, wordBreak: "break_all" }, void 0) }), index), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_c" }, void 0), (0, jsx_runtime_1.jsx)(ChatBubbleListItem_1.ChatBubbleListItem, __assign({ styleTheme: "other_avatar", titleText: "subscriber", imageSrc: "https://placedog.net/300/300", timeText: hours + ":" + minutes, contextMenuOptionArray: [
|
|
227
|
-
{ text: 'contextMenu1', value: 1 },
|
|
228
|
-
{ text: 'contextMenu2 contextMenu2 contextMenu2', value: 2 }
|
|
229
|
-
] }, { children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: "" + message + index, wordBreak: "break_all" }, void 0) }), index), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_c" }, void 0), (0, jsx_runtime_1.jsx)(ChatBubbleListItem_1.ChatBubbleListItem, __assign({ styleTheme: "me", timeText: hours + ":" + minutes, contextMenuOptionArray: [
|
|
230
|
-
{ text: 'contextMenu1', value: 1 },
|
|
231
|
-
{ text: 'contextMenu2 contextMenu2 contextMenu2', value: 2 }
|
|
232
|
-
] }, { children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: "" + message + index, wordBreak: "break_all" }, void 0) }), index), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_c" }, void 0)] }, void 0)); }) }), void 0));
|
|
233
|
-
};
|
|
234
|
-
exports.WithChatBubbleListItem = BubbleChatList.bind({});
|
|
235
|
-
exports.WithChatBubbleListItem.args = __assign(__assign({}, exports.Default.args), { bodySpacingMode: 'use' });
|
|
@@ -1,59 +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 react_hook_form_1 = require("react-hook-form");
|
|
20
|
-
var components_1 = require("../../../common/components");
|
|
21
|
-
var hybrid_1 = require("../../../hybrid");
|
|
22
|
-
var TextLabel_1 = require("../TextLabel");
|
|
23
|
-
var Checkbox_1 = __importDefault(require("./Checkbox"));
|
|
24
|
-
exports.default = {
|
|
25
|
-
title: 'mobile/components/Checkbox',
|
|
26
|
-
component: Checkbox_1.default,
|
|
27
|
-
parameters: {
|
|
28
|
-
docs: {
|
|
29
|
-
description: {
|
|
30
|
-
component: 'mobile환경에 최적화 된 Checkbox 컴포넌트. react-hook-form의 FormProvider와 pds-dev-kit의 Form 컴포넌트로 감싸서 사용해야 작동합니다.'
|
|
31
|
-
},
|
|
32
|
-
source: { type: 'code' }
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
argTypes: {
|
|
36
|
-
text: {
|
|
37
|
-
description: '체크박스 옆의 텍스트입니다.'
|
|
38
|
-
},
|
|
39
|
-
fontWeight: {
|
|
40
|
-
description: '텍스트의 두께를 결정합니다.'
|
|
41
|
-
},
|
|
42
|
-
state: {
|
|
43
|
-
description: '체크박스의 활성화 상태입니다.'
|
|
44
|
-
},
|
|
45
|
-
name: {
|
|
46
|
-
description: '체크박스의 이름으로 고유한 값입니다.'
|
|
47
|
-
},
|
|
48
|
-
onChange: {
|
|
49
|
-
action: 'onChange'
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
var DefaultCheckbox = function () {
|
|
54
|
-
var methods = (0, react_hook_form_1.useForm)({
|
|
55
|
-
defaultValues: { disabledSelectedCheckbox: true, boldDisabledSelectedCheckbox: true }
|
|
56
|
-
});
|
|
57
|
-
return ((0, jsx_runtime_1.jsx)(react_hook_form_1.FormProvider, __assign({}, methods, { children: (0, jsx_runtime_1.jsxs)(components_1.Form, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: "Regular", styleTheme: "leadParaBold" }, void 0), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_d" }, void 0), (0, jsx_runtime_1.jsx)(Checkbox_1.default, { text: "Checkbox", name: "checkbox" }, void 0), (0, jsx_runtime_1.jsx)(Checkbox_1.default, { text: "Disabled and Selected Checkbox", name: "disabledSelectedCheckbox", state: "disabled" }, void 0), (0, jsx_runtime_1.jsx)(Checkbox_1.default, { text: "Disabled and Unselected Checkbox", name: "disabledUnselectedCheckbox", state: "disabled" }, void 0), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_f" }, void 0), (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: "Bold", styleTheme: "leadParaBold" }, void 0), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_d" }, void 0), (0, jsx_runtime_1.jsx)(Checkbox_1.default, { text: "Checkbox", name: "boldCheckbox", fontWeight: "bold" }, void 0), (0, jsx_runtime_1.jsx)(Checkbox_1.default, { text: "Disabled and Selected Checkbox", name: "boldDisabledSelectedCheckbox", state: "disabled", fontWeight: "bold" }, void 0), (0, jsx_runtime_1.jsx)(Checkbox_1.default, { text: "Disabled and Unselected Checkbox", name: "boldDisabledUnselectedCheckbox", state: "disabled", fontWeight: "bold" }, void 0)] }, void 0) }), void 0));
|
|
58
|
-
};
|
|
59
|
-
exports.Default = DefaultCheckbox.bind({});
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import Chip from './Chip';
|
|
2
|
-
import type { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const _default: ComponentMeta<typeof Chip>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const CategoryChoice: ComponentStory<typeof Chip>;
|
|
6
|
-
export declare const FilterSingle: ComponentStory<typeof Chip>;
|
|
7
|
-
export declare const FilterMulti: ComponentStory<typeof Chip>;
|
|
8
|
-
export declare const Removable: ComponentStory<typeof Chip>;
|
|
9
|
-
export declare const Label: ComponentStory<typeof Chip>;
|
|
10
|
-
export declare const Time: ComponentStory<typeof Chip>;
|
|
11
|
-
export declare const Information: ComponentStory<typeof Chip>;
|