@openameba/spindle-ui 0.26.1-alpha.0 → 0.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -25
- package/HeroCarousel/HeroCarousel.css +1 -1
- package/HeroCarousel/HeroCarouselItem.css +1 -1
- package/README.md +1 -3
- package/index.css +1 -1
- package/package.json +3 -11
- package/Button/Button.mjs +0 -7
- package/Button/index.mjs +0 -1
- package/ButtonGroup/ButtonGroup.mjs +0 -13
- package/ButtonGroup/index.mjs +0 -1
- package/Form/Checkbox.mjs +0 -11
- package/Form/DropDown.mjs +0 -38
- package/Form/InlineDropDown.mjs +0 -30
- package/Form/InputLabel.mjs +0 -5
- package/Form/InvalidMessage.mjs +0 -9
- package/Form/Radio.mjs +0 -11
- package/Form/TextArea.mjs +0 -5
- package/Form/TextField.mjs +0 -9
- package/Form/ToggleSwitch.mjs +0 -8
- package/Form/index.mjs +0 -8
- package/HeroCarousel/HeroCarousel.mjs +0 -27
- package/HeroCarousel/HeroCarouselItem.mjs +0 -21
- package/HeroCarousel/hooks/useAutoPlayCarousel.mjs +0 -158
- package/HeroCarousel/hooks/useAutoSlide.mjs +0 -40
- package/HeroCarousel/hooks/useCarouselFocus.mjs +0 -22
- package/HeroCarousel/hooks/useSliderMoveEvent.mjs +0 -47
- package/HeroCarousel/hooks/useSliderTransition.mjs +0 -30
- package/HeroCarousel/hooks/useValueRef.mjs +0 -8
- package/HeroCarousel/index.mjs +0 -1
- package/Icon/755.mjs +0 -6
- package/Icon/Abemakun.mjs +0 -6
- package/Icon/Abematv.mjs +0 -6
- package/Icon/Accesslink.mjs +0 -6
- package/Icon/Accesspage.mjs +0 -6
- package/Icon/AccesspageFill.mjs +0 -6
- package/Icon/AddressbookFill.mjs +0 -6
- package/Icon/AlbumAddFill.mjs +0 -6
- package/Icon/AlbumFill.mjs +0 -6
- package/Icon/AlignCenter.mjs +0 -6
- package/Icon/AlignLeft.mjs +0 -6
- package/Icon/AlignRight.mjs +0 -6
- package/Icon/AllFill.mjs +0 -6
- package/Icon/Amebacoin.mjs +0 -6
- package/Icon/Amebapick.mjs +0 -9
- package/Icon/Amegold.mjs +0 -6
- package/Icon/Amember.mjs +0 -6
- package/Icon/ArrowDown.mjs +0 -6
- package/Icon/ArrowDownBold.mjs +0 -6
- package/Icon/ArrowLeft.mjs +0 -6
- package/Icon/ArrowLeftBold.mjs +0 -6
- package/Icon/ArrowRight.mjs +0 -6
- package/Icon/ArrowRightBold.mjs +0 -6
- package/Icon/ArrowRightCircle.mjs +0 -6
- package/Icon/ArrowRightCircleFill.mjs +0 -6
- package/Icon/ArrowUp.mjs +0 -6
- package/Icon/ArrowUpBold.mjs +0 -6
- package/Icon/ArrowpagingDown.mjs +0 -6
- package/Icon/ArrowpagingDownCircle.mjs +0 -6
- package/Icon/ArrowpagingLeft.mjs +0 -6
- package/Icon/ArrowpagingLeftCircle.mjs +0 -6
- package/Icon/ArrowpagingRight.mjs +0 -6
- package/Icon/ArrowpagingRightCircle.mjs +0 -6
- package/Icon/ArrowpagingUp.mjs +0 -6
- package/Icon/ArrowpagingUpCircle.mjs +0 -6
- package/Icon/Article.mjs +0 -6
- package/Icon/ArticleSlash.mjs +0 -6
- package/Icon/Articledesign.mjs +0 -6
- package/Icon/Astrogy.mjs +0 -6
- package/Icon/AstrogyFill.mjs +0 -6
- package/Icon/Baby.mjs +0 -7
- package/Icon/Bbs.mjs +0 -6
- package/Icon/Beginner.mjs +0 -6
- package/Icon/Bell.mjs +0 -6
- package/Icon/BellFill.mjs +0 -6
- package/Icon/BellFillSlash.mjs +0 -6
- package/Icon/BellSlash.mjs +0 -6
- package/Icon/Blog.mjs +0 -6
- package/Icon/Bold.mjs +0 -6
- package/Icon/Book.mjs +0 -6
- package/Icon/BookFill.mjs +0 -6
- package/Icon/Bookmark.mjs +0 -6
- package/Icon/BookmarkFill.mjs +0 -6
- package/Icon/Bookshelf.mjs +0 -6
- package/Icon/BookshelfFill.mjs +0 -6
- package/Icon/Border.mjs +0 -6
- package/Icon/BottomnavFollowfeedActive.mjs +0 -6
- package/Icon/BottomnavFollowfeedInactive.mjs +0 -6
- package/Icon/BottomnavHomeActive.mjs +0 -6
- package/Icon/BottomnavHomeInactive.mjs +0 -6
- package/Icon/BottomnavMypageActive.mjs +0 -6
- package/Icon/BottomnavSearchActive.mjs +0 -6
- package/Icon/BottomnavSearchInactive.mjs +0 -6
- package/Icon/BottomnvavMypageInactive.mjs +0 -6
- package/Icon/Bullets.mjs +0 -6
- package/Icon/Calendar.mjs +0 -6
- package/Icon/CameraFill.mjs +0 -6
- package/Icon/CautionFill.mjs +0 -6
- package/Icon/Check.mjs +0 -6
- package/Icon/CheckBold.mjs +0 -6
- package/Icon/CheckCircle.mjs +0 -6
- package/Icon/CheckCircleFill.mjs +0 -6
- package/Icon/CheckRectangle.mjs +0 -6
- package/Icon/Checklist.mjs +0 -6
- package/Icon/ChevronDown.mjs +0 -6
- package/Icon/ChevronDownBold.mjs +0 -6
- package/Icon/ChevronLeft.mjs +0 -6
- package/Icon/ChevronLeftBold.mjs +0 -6
- package/Icon/ChevronRight.mjs +0 -6
- package/Icon/ChevronRightBold.mjs +0 -6
- package/Icon/ChevronUp.mjs +0 -6
- package/Icon/ChevronUpBold.mjs +0 -6
- package/Icon/Circle.mjs +0 -6
- package/Icon/CircleBold.mjs +0 -6
- package/Icon/CircleFill.mjs +0 -6
- package/Icon/Clock.mjs +0 -6
- package/Icon/ClockFill.mjs +0 -6
- package/Icon/Coin.mjs +0 -6
- package/Icon/Comment.mjs +0 -6
- package/Icon/CommentFill.mjs +0 -6
- package/Icon/CommentPen.mjs +0 -6
- package/Icon/CommentTwoFill.mjs +0 -6
- package/Icon/CommentTwoSlashFill.mjs +0 -6
- package/Icon/Community.mjs +0 -6
- package/Icon/Compass.mjs +0 -7
- package/Icon/Coupon.mjs +0 -6
- package/Icon/Crop.mjs +0 -6
- package/Icon/CropDin.mjs +0 -6
- package/Icon/CropLandscape.mjs +0 -6
- package/Icon/Cross.mjs +0 -6
- package/Icon/CrossBold.mjs +0 -6
- package/Icon/CrossCircle.mjs +0 -6
- package/Icon/CrossCircleFill.mjs +0 -6
- package/Icon/CrossRectangle.mjs +0 -6
- package/Icon/Cutlery.mjs +0 -6
- package/Icon/DiamondTwo.mjs +0 -11
- package/Icon/Dice.mjs +0 -7
- package/Icon/Dot.mjs +0 -6
- package/Icon/Dotmoney.mjs +0 -6
- package/Icon/Download.mjs +0 -6
- package/Icon/Embed.mjs +0 -6
- package/Icon/EmotionFill.mjs +0 -6
- package/Icon/EntryLost.mjs +0 -6
- package/Icon/Exclamationmark.mjs +0 -6
- package/Icon/ExclamationmarkBalloon.mjs +0 -6
- package/Icon/ExclamationmarkBalloonFill.mjs +0 -6
- package/Icon/ExclamationmarkBold.mjs +0 -6
- package/Icon/ExclamationmarkCircle.mjs +0 -6
- package/Icon/ExclamationmarkCircleFill.mjs +0 -6
- package/Icon/Expand.mjs +0 -6
- package/Icon/ExpandExit.mjs +0 -6
- package/Icon/Facebook.mjs +0 -6
- package/Icon/File.mjs +0 -6
- package/Icon/FileAdd.mjs +0 -6
- package/Icon/FileAddFill.mjs +0 -6
- package/Icon/FileCircle.mjs +0 -6
- package/Icon/FileCircleFill.mjs +0 -6
- package/Icon/FileFill.mjs +0 -6
- package/Icon/Filter.mjs +0 -6
- package/Icon/FilterCheck.mjs +0 -6
- package/Icon/Fit.mjs +0 -6
- package/Icon/FlagFill.mjs +0 -6
- package/Icon/FlagRanking.mjs +0 -6
- package/Icon/FlagRankingTrim.mjs +0 -10
- package/Icon/Flash.mjs +0 -6
- package/Icon/FlashAuto.mjs +0 -6
- package/Icon/FlashOff.mjs +0 -6
- package/Icon/Flowervase.mjs +0 -6
- package/Icon/Folder.mjs +0 -6
- package/Icon/FolderFill.mjs +0 -6
- package/Icon/FolderTwo.mjs +0 -6
- package/Icon/FolderTwoFill.mjs +0 -6
- package/Icon/Font.mjs +0 -6
- package/Icon/Fontstyle.mjs +0 -6
- package/Icon/Game.mjs +0 -6
- package/Icon/GameFill.mjs +0 -6
- package/Icon/GameKantan.mjs +0 -6
- package/Icon/Gear.mjs +0 -6
- package/Icon/GearFill.mjs +0 -6
- package/Icon/Genre.mjs +0 -6
- package/Icon/GenreAdd.mjs +0 -6
- package/Icon/GenreDone.mjs +0 -6
- package/Icon/GraphBar.mjs +0 -6
- package/Icon/Gruppo.mjs +0 -6
- package/Icon/HandWaveFill.mjs +0 -6
- package/Icon/Hatenabookmark.mjs +0 -6
- package/Icon/Heart.mjs +0 -6
- package/Icon/HeartFill.mjs +0 -6
- package/Icon/History.mjs +0 -6
- package/Icon/HomeFill.mjs +0 -6
- package/Icon/Hot.mjs +0 -6
- package/Icon/Htmltag.mjs +0 -6
- package/Icon/ImageAddFill.mjs +0 -6
- package/Icon/ImageBanFill.mjs +0 -6
- package/Icon/ImageFill.mjs +0 -6
- package/Icon/ImageFillSlash.mjs +0 -6
- package/Icon/ImageQuestionFill.mjs +0 -6
- package/Icon/Information.mjs +0 -6
- package/Icon/Instagram.mjs +0 -6
- package/Icon/Italic.mjs +0 -6
- package/Icon/Kaomoji.mjs +0 -6
- package/Icon/Keyboard.mjs +0 -6
- package/Icon/KeyboardDownFill.mjs +0 -6
- package/Icon/KeyboardFill.mjs +0 -6
- package/Icon/Koeblog.mjs +0 -6
- package/Icon/LineCircle.mjs +0 -6
- package/Icon/LineSquare.mjs +0 -6
- package/Icon/Link.mjs +0 -6
- package/Icon/ListBulleted.mjs +0 -6
- package/Icon/ListNumbered.mjs +0 -6
- package/Icon/Loading.mjs +0 -6
- package/Icon/LockFill.mjs +0 -6
- package/Icon/LockOpenFill.mjs +0 -6
- package/Icon/Magicwand.mjs +0 -6
- package/Icon/Mail.mjs +0 -6
- package/Icon/MailCheck.mjs +0 -6
- package/Icon/MailCircle.mjs +0 -6
- package/Icon/MailCircleFill.mjs +0 -6
- package/Icon/MailFill.mjs +0 -6
- package/Icon/Megaphone.mjs +0 -6
- package/Icon/MenuHamburger.mjs +0 -6
- package/Icon/MenuHamburgerBold.mjs +0 -6
- package/Icon/MenuHamburgerFourline.mjs +0 -6
- package/Icon/MenuHorizotal.mjs +0 -6
- package/Icon/MenuVertical.mjs +0 -6
- package/Icon/Messageboard.mjs +0 -6
- package/Icon/Microphone.mjs +0 -6
- package/Icon/MicrophoneFill.mjs +0 -6
- package/Icon/Minus.mjs +0 -6
- package/Icon/MinusBold.mjs +0 -6
- package/Icon/Moon.mjs +0 -6
- package/Icon/MoonFill.mjs +0 -6
- package/Icon/MovieCameraFill.mjs +0 -6
- package/Icon/MoviePlay.mjs +0 -6
- package/Icon/MoviePlayFill.mjs +0 -6
- package/Icon/MovieStop.mjs +0 -6
- package/Icon/MusicFill.mjs +0 -6
- package/Icon/New.mjs +0 -6
- package/Icon/Newbook.mjs +0 -6
- package/Icon/NewbookFill.mjs +0 -6
- package/Icon/News.mjs +0 -6
- package/Icon/Nice.mjs +0 -6
- package/Icon/NiceDone.mjs +0 -6
- package/Icon/Nodate.mjs +0 -6
- package/Icon/Now.mjs +0 -6
- package/Icon/Officialstar.mjs +0 -6
- package/Icon/OfficialstarFill.mjs +0 -6
- package/Icon/OnedariFill.mjs +0 -6
- package/Icon/OpenCl.mjs +0 -6
- package/Icon/Openblank.mjs +0 -6
- package/Icon/OpenblankFill.mjs +0 -6
- package/Icon/Ownd.mjs +0 -6
- package/Icon/PaletteFill.mjs +0 -6
- package/Icon/Pause.mjs +0 -6
- package/Icon/PauseBold.mjs +0 -6
- package/Icon/Pawprint.mjs +0 -6
- package/Icon/Pencil.mjs +0 -6
- package/Icon/PencilAdd.mjs +0 -6
- package/Icon/PencilBold.mjs +0 -6
- package/Icon/Person.mjs +0 -6
- package/Icon/PersonFill.mjs +0 -6
- package/Icon/PersonThreeFill.mjs +0 -6
- package/Icon/PersonTwoAddFill.mjs +0 -6
- package/Icon/PersonTwoDeleteFill.mjs +0 -6
- package/Icon/PersonTwoDoneFill.mjs +0 -6
- package/Icon/PersonTwoFill.mjs +0 -6
- package/Icon/Peta.mjs +0 -6
- package/Icon/Pigg.mjs +0 -6
- package/Icon/PinFill.mjs +0 -6
- package/Icon/PlayCircle.mjs +0 -6
- package/Icon/PlayFill.mjs +0 -6
- package/Icon/Plus.mjs +0 -6
- package/Icon/PlusBold.mjs +0 -6
- package/Icon/PlusCircle.mjs +0 -6
- package/Icon/PlusCircleFill.mjs +0 -6
- package/Icon/PremiumFill.mjs +0 -6
- package/Icon/Present.mjs +0 -6
- package/Icon/Profilecard.mjs +0 -6
- package/Icon/Qr.mjs +0 -6
- package/Icon/Question.mjs +0 -6
- package/Icon/QuestionmarkCircle.mjs +0 -6
- package/Icon/QuestionmarkCircleFill.mjs +0 -6
- package/Icon/RankingCrown.mjs +0 -6
- package/Icon/RankingCrownFill.mjs +0 -6
- package/Icon/RankingPlatformFill.mjs +0 -6
- package/Icon/Reblog.mjs +0 -6
- package/Icon/ReblogSlash.mjs +0 -6
- package/Icon/Redo.mjs +0 -6
- package/Icon/RedoBold.mjs +0 -6
- package/Icon/Refresh.mjs +0 -6
- package/Icon/ReplyCircleFill.mjs +0 -6
- package/Icon/ReplyFill.mjs +0 -6
- package/Icon/Requ.mjs +0 -6
- package/Icon/Sad.mjs +0 -6
- package/Icon/Saveblog.mjs +0 -6
- package/Icon/ScreenFull.mjs +0 -6
- package/Icon/ScreenInline.mjs +0 -6
- package/Icon/Search.mjs +0 -6
- package/Icon/Service.mjs +0 -6
- package/Icon/Share.mjs +0 -6
- package/Icon/ShineFill.mjs +0 -6
- package/Icon/Shirt.mjs +0 -6
- package/Icon/SidefaceClose.mjs +0 -6
- package/Icon/SidefaceOpen.mjs +0 -6
- package/Icon/Smartphone.mjs +0 -6
- package/Icon/SmartphoneFill.mjs +0 -6
- package/Icon/Sort.mjs +0 -6
- package/Icon/SortFeed.mjs +0 -6
- package/Icon/SortTile.mjs +0 -6
- package/Icon/SpeakerOffFill.mjs +0 -6
- package/Icon/SpeakerOnFill.mjs +0 -6
- package/Icon/Sprout.mjs +0 -6
- package/Icon/Stampside.mjs +0 -6
- package/Icon/Star.mjs +0 -6
- package/Icon/StarCircleFill.mjs +0 -6
- package/Icon/StarFaceFill.mjs +0 -6
- package/Icon/StarFill.mjs +0 -6
- package/Icon/StopFill.mjs +0 -6
- package/Icon/Strikethrough.mjs +0 -6
- package/Icon/Sun.mjs +0 -6
- package/Icon/SunFill.mjs +0 -6
- package/Icon/Switching.mjs +0 -6
- package/Icon/SwitchingCamera.mjs +0 -6
- package/Icon/TagFill.mjs +0 -6
- package/Icon/TagOfficialFill.mjs +0 -6
- package/Icon/Thumbsup.mjs +0 -6
- package/Icon/ThumbsupFill.mjs +0 -6
- package/Icon/Title.mjs +0 -6
- package/Icon/TopbloggerRibbon.mjs +0 -6
- package/Icon/TranscriptOff.mjs +0 -6
- package/Icon/TranscriptOn.mjs +0 -6
- package/Icon/Transmission.mjs +0 -6
- package/Icon/Trashcan.mjs +0 -6
- package/Icon/Trend.mjs +0 -6
- package/Icon/TrendFill.mjs +0 -6
- package/Icon/TriangleDown.mjs +0 -6
- package/Icon/TriangleLeft.mjs +0 -6
- package/Icon/TriangleRight.mjs +0 -6
- package/Icon/TriangleUp.mjs +0 -6
- package/Icon/TrianglearrowDown.mjs +0 -6
- package/Icon/TrianglearrowDownright.mjs +0 -6
- package/Icon/TrianglearrowRight.mjs +0 -6
- package/Icon/TrianglearrowUp.mjs +0 -6
- package/Icon/TrianglearrowUpright.mjs +0 -6
- package/Icon/TriangleendLeft.mjs +0 -6
- package/Icon/TriangleendRight.mjs +0 -6
- package/Icon/TrophyFill.mjs +0 -6
- package/Icon/TvFill.mjs +0 -6
- package/Icon/Twitter.mjs +0 -6
- package/Icon/Underline.mjs +0 -6
- package/Icon/Undo.mjs +0 -6
- package/Icon/UndoBold.mjs +0 -6
- package/Icon/Wallet.mjs +0 -6
- package/Icon/Webview.mjs +0 -6
- package/Icon/Youtube.mjs +0 -6
- package/Icon/index.mjs +0 -325
- package/IconButton/IconButton.mjs +0 -5
- package/IconButton/index.mjs +0 -1
- package/LinkButton/LinkButton.mjs +0 -7
- package/LinkButton/index.mjs +0 -1
- package/Toast/Toast.mjs +0 -67
- package/Toast/index.mjs +0 -1
- package/index.mjs +0 -10
- package/tsconfig.cjs.json +0 -10
- package/tsconfig.esm.json +0 -8
package/Toast/Toast.mjs
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import React, { useCallback, useEffect, useRef, useState } from 'react';
|
|
2
|
-
export const BLOCK_NAME = 'spui-Toast';
|
|
3
|
-
// Duration for css animation.
|
|
4
|
-
export const ANIMATION_DURATION = 500;
|
|
5
|
-
const MIN_DURATION = 4000;
|
|
6
|
-
const MAX_DURATION = 100000;
|
|
7
|
-
const getAnimationClassName = (isShow, animation) => {
|
|
8
|
-
return isShow ? `${BLOCK_NAME}-${animation}--in` : '';
|
|
9
|
-
};
|
|
10
|
-
const limitDuration = (duration) => {
|
|
11
|
-
if (duration < MIN_DURATION || duration > MAX_DURATION) {
|
|
12
|
-
return MIN_DURATION;
|
|
13
|
-
}
|
|
14
|
-
return duration;
|
|
15
|
-
};
|
|
16
|
-
export const Toast = ({ children, active = false, duration = 4000, animation = 'slide', position = 'top', hasError = false, onHide, }) => {
|
|
17
|
-
const [isShow, setIsShow] = useState(false);
|
|
18
|
-
const animationClassName = getAnimationClassName(isShow, animation);
|
|
19
|
-
const errorContentClassName = hasError ? `${BLOCK_NAME}-content--error` : '';
|
|
20
|
-
const formattedDuration = limitDuration(duration) - ANIMATION_DURATION;
|
|
21
|
-
const timeoutID = useRef(null);
|
|
22
|
-
const transitionElementRef = useRef(null);
|
|
23
|
-
const setIsShowWithTimeout = useCallback(() => {
|
|
24
|
-
// Out animation is executed after `formattedDuration` seconds.
|
|
25
|
-
if (timeoutID.current === null && isShow) {
|
|
26
|
-
timeoutID.current = window.setTimeout(() => {
|
|
27
|
-
setIsShow(false);
|
|
28
|
-
}, formattedDuration);
|
|
29
|
-
}
|
|
30
|
-
}, [isShow, timeoutID, setIsShow, formattedDuration]);
|
|
31
|
-
const resetTimeout = useCallback(() => {
|
|
32
|
-
if (timeoutID.current) {
|
|
33
|
-
window.clearTimeout(timeoutID.current);
|
|
34
|
-
timeoutID.current = null;
|
|
35
|
-
}
|
|
36
|
-
}, [timeoutID]);
|
|
37
|
-
const handleTransitionEnd = useCallback(() => {
|
|
38
|
-
if (onHide && !isShow) {
|
|
39
|
-
onHide();
|
|
40
|
-
timeoutID.current = null;
|
|
41
|
-
}
|
|
42
|
-
}, [isShow, setIsShow, onHide]);
|
|
43
|
-
useEffect(() => {
|
|
44
|
-
// Animation is not stopped even if `active` props is changed while running animation.
|
|
45
|
-
if (active && timeoutID.current === null) {
|
|
46
|
-
setIsShow(true);
|
|
47
|
-
}
|
|
48
|
-
}, [active]);
|
|
49
|
-
useEffect(() => {
|
|
50
|
-
setIsShowWithTimeout();
|
|
51
|
-
return resetTimeout;
|
|
52
|
-
}, [setIsShowWithTimeout, resetTimeout]);
|
|
53
|
-
useEffect(() => {
|
|
54
|
-
const transitionElement = transitionElementRef.current;
|
|
55
|
-
// When out animation is finished, `onHide` method is invoked.
|
|
56
|
-
if (transitionElement) {
|
|
57
|
-
transitionElement.addEventListener('transitionend', handleTransitionEnd);
|
|
58
|
-
}
|
|
59
|
-
return () => {
|
|
60
|
-
if (transitionElement) {
|
|
61
|
-
transitionElement.removeEventListener('transitionend', handleTransitionEnd);
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
}, [transitionElementRef, handleTransitionEnd]);
|
|
65
|
-
return (React.createElement("div", { className: `${BLOCK_NAME} ${BLOCK_NAME}--${position} ${BLOCK_NAME}--${animation} ${animationClassName}`, ref: transitionElementRef },
|
|
66
|
-
React.createElement("div", { className: `${BLOCK_NAME}--content ${errorContentClassName}`, tabIndex: 0, onMouseOver: resetTimeout, onMouseOut: setIsShowWithTimeout, onFocus: resetTimeout, onBlur: setIsShowWithTimeout }, children)));
|
|
67
|
-
};
|
package/Toast/index.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Toast } from './Toast';
|
package/index.mjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Button } from './Button';
|
|
2
|
-
import { ButtonGroup } from './ButtonGroup';
|
|
3
|
-
import * as Form from './Form';
|
|
4
|
-
import * as Icon from './Icon';
|
|
5
|
-
import { HeroCarousel } from './HeroCarousel';
|
|
6
|
-
import { IconButton } from './IconButton';
|
|
7
|
-
import { LinkButton } from './LinkButton';
|
|
8
|
-
import { Toast } from './Toast';
|
|
9
|
-
// Components are currently exported after "import" for projects using TS lower v3.8 that does not support "export * as".
|
|
10
|
-
export { Button, ButtonGroup, Form, HeroCarousel, Icon, IconButton, LinkButton, Toast, };
|
package/tsconfig.cjs.json
DELETED