idea-react 2.0.0-rc.11 → 2.0.0-rc.12
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.css.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/source/Dialog.tsx +41 -41
- package/source/Editor.tsx +46 -46
- package/source/HorizontalMarquee/index.module.less +52 -52
- package/source/HorizontalMarquee/index.tsx +67 -67
- package/source/Loading.tsx +21 -21
- package/source/PageNav.tsx +102 -102
- package/source/Select.tsx +84 -84
- package/source/ShareBox.tsx +99 -99
- package/source/TableSpinner.tsx +24 -24
- package/source/Time.tsx +14 -14
- package/source/TimeDistance.tsx +41 -41
- package/source/Timeline/index.module.less +53 -53
- package/source/TypeEcho.tsx +49 -49
- package/source/VerticalMarquee/index.module.less +43 -43
- package/source/VerticalMarquee/index.tsx +27 -27
- package/source/index.ts +25 -25
- package/tsconfig.build.json +11 -11
- package/eslint.config.ts +0 -69
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AEAA,+FAUA,8FAWA,8EAAA,kGAKI,oGAQJ,2EAAA,mLAAA,kJAAA,oIClCA,+DAII,yBAAA,iCAGA,8HAWJ,2EAKI,oJAYJ,8CAII,0JAUA,2BCjDJ,qHAeA,wLAAA,qDAAA,2CASQ,gFATR,8MAuBQ,8KAvBR,kFAAA,qTAiDgB,6KAMA,+KAvDhB,yRA8EY,+RA9EZ,2CAAA,qEAAA,iGAAA,qIAiHY,0EAAA,0KAAA,0QAAA,gGAyBA,0EAAA,mLAAA,oIAAA,+FAkBA,4EAAA,wKAAA,uIAAA,iGAmBA,oFAOA,iKAWA,oEAjMZ,iFAAA,8DA2MgB,+FC1NhB,gGAUA,+FAWA,+MAQI,iGARJ","sources":["index.css","203c51ccd4fc600b","source/HorizontalMarquee/index.module.less","source/Timeline/index.module.less","source/UserRank/index.module.less","source/VerticalMarquee/index.module.less"],"sourcesContent":["@keyframes _4_3lnG_scrollItem {\n 0%, 10% {\n transform: translateX(0);\n }\n\n 90%, 100% {\n transform: translateX(-100%);\n }\n}\n\n@keyframes _4_3lnG_scrollWrap {\n 0%, 10% {\n transform: translateX(0);\n }\n\n 90%, 100% {\n transform: translateX(100%);\n }\n}\n\n._4_3lnG_scrollWrap {\n animation: 4s linear infinite alternate _4_3lnG_scrollWrap;\n}\n\n._4_3lnG_scrollWrap ._4_3lnG_scrollItem {\n animation: 4s linear infinite alternate _4_3lnG_scrollItem;\n}\n\n._4_3lnG_scrollWrap:hover, ._4_3lnG_scrollWrap:hover ._4_3lnG_scrollItem {\n animation-play-state: paused;\n}\n\n._4_3lnG_scrollHeightWrap {\n --scroll-height: 20px;\n height: var(--scroll-height);\n}\n\n._4_3lnG_scrollHeightWrap ._4_3lnG_scrollContainer {\n transform: translateY(calc(calc(-100% + var(--scroll-height) + var(--scroll-height)) * 2));\n max-height: calc(var(--scroll-height) * 3);\n}\n\n._4_3lnG_scrollHeightWrap ._4_3lnG_scrollContainer ._4_3lnG_unScrollItem {\n max-height: calc(var(--scroll-height) * 2);\n line-height: var(--scroll-height);\n}\n\n._4_3lnG_scrollHeightWrap ._4_3lnG_scrollContainer ._4_3lnG_scrollItem {\n height: var(--scroll-height);\n line-height: var(--scroll-height);\n}\n\n.TOztta_timeline {\n max-width: 50%;\n margin: 0 auto;\n position: relative;\n}\n\n@media (width <= 991px) {\n .TOztta_timeline {\n max-width: 100%;\n }\n}\n\n.TOztta_timeline:after {\n content: \"\";\n background-color: #fff;\n width: 3px;\n margin-left: -3px;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 10px;\n}\n\n.TOztta_timelineItem {\n background-color: inherit;\n width: 100%;\n position: relative;\n}\n\n.TOztta_timelineItem:after {\n z-index: 1;\n content: \"\";\n background-color: #fff;\n border-radius: 50%;\n width: 17px;\n height: 17px;\n position: absolute;\n top: 18px;\n right: 1px;\n}\n\n.TOztta_right {\n padding: 0 0 20px 40px;\n left: auto;\n}\n\n.TOztta_right:before {\n z-index: 1;\n content: \" \";\n border: 10px solid #0000;\n border-left-width: 0;\n border-right-color: #fff;\n position: absolute;\n top: 18px;\n left: 30px;\n}\n\n.TOztta_right:after {\n left: 0;\n}\n\n@keyframes WavURG_suspension {\n 0% {\n position: relative;\n top: 0;\n }\n\n 50% {\n position: relative;\n top: -.8rem;\n }\n\n 100% {\n position: relative;\n top: 0;\n }\n}\n\n.WavURG_rankBox {\n --logo-image: url(\"https://github.com/idea2app.png\");\n --title-background-image: url(\"https://hackathon-api.static.kaiyuanshe.cn/6342619375fa1817e0f56ce1/2022/10/09/rrrr.png\");\n}\n\n.WavURG_rankBox a {\n color: inherit;\n text-decoration: none;\n}\n\n.WavURG_rankBox .WavURG_image {\n width: 2.1rem;\n}\n\n.WavURG_rankBox .WavURG_image:hover img {\n transition: all .3s;\n transform: scale(1.1);\n}\n\n.WavURG_rankBox .WavURG_title {\n z-index: 4;\n background-image: var(--title-background-image);\n background-size: 21rem;\n background-attachment: fixed;\n height: 4.8rem;\n margin-top: 1.5rem;\n padding-top: 1.2rem;\n position: relative;\n}\n\n.WavURG_rankBox .WavURG_title:before {\n content: \"\";\n background-color: #a1a098b3;\n border-radius: .3rem;\n width: 100%;\n height: 100%;\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n}\n\n.WavURG_rankBox .WavURG_title .WavURG_medal {\n position: absolute;\n top: -1.2rem;\n left: 5%;\n}\n\n.WavURG_rankBox .WavURG_title .WavURG_medal i {\n background-image: var(--logo-image), linear-gradient(#ffd83a, #fdeba0);\n background-blend-mode: lighten;\n background-position: center;\n background-repeat: no-repeat;\n background-size: 1.5rem 1.5rem;\n border: .1rem solid #ffd83a;\n width: 1.7rem;\n height: 1.7rem;\n box-shadow: 0 0 .5rem #ffd83a;\n}\n\n.WavURG_rankBox .WavURG_title .WavURG_medal i:first-child {\n background-image: var(--logo-image), linear-gradient(#d8d8d8, #eee);\n border-color: #d8d8d8;\n box-shadow: 0 0 .5rem #d8d8d8;\n}\n\n.WavURG_rankBox .WavURG_title .WavURG_medal i:last-child {\n background-image: var(--logo-image), linear-gradient(#fab36e, #fbe7d3);\n border-color: #fab36e;\n box-shadow: 0 0 .5rem #fab36e;\n}\n\n.WavURG_rankBox .WavURG_title h3 {\n z-index: 2;\n cursor: default;\n color: #0000;\n letter-spacing: .4rem;\n text-shadow: 0 1px silver, 0 2px #b0b0b0, 0 3px #a0a0a0, 0 4px #909090, 0 5px 10px #0009;\n width: 10rem;\n font-family: \"'book antiqua', palatino, serif\";\n font-size: 2rem;\n position: relative;\n}\n\n.WavURG_rankBox .WavURG_title h3:after {\n z-index: 1;\n content: attr(data-text);\n width: 10rem;\n text-shadow: none;\n background-image: linear-gradient(to right, #d8d8d8 10%, #ffd83a 60%, #fab36e 75%);\n -webkit-background-clip: text;\n background-clip: text;\n margin: 0 auto;\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n}\n\n.WavURG_rankBox .WavURG_topUsers {\n z-index: 5;\n}\n\n.WavURG_rankBox .WavURG_topUsers li {\n cursor: default;\n text-align: center;\n}\n\n.WavURG_rankBox .WavURG_topUsers li .WavURG_topUser {\n z-index: 3;\n letter-spacing: 1px;\n min-height: 6rem;\n}\n\n.WavURG_rankBox .WavURG_topUsers li .WavURG_image {\n z-index: 2;\n transition: all .6s;\n animation: 3.5s ease-in-out infinite WavURG_suspension;\n}\n\n.WavURG_rankBox .WavURG_topUsers li:first-child {\n order: 2;\n padding-top: .3rem;\n}\n\n.WavURG_rankBox .WavURG_topUsers li:first-child .WavURG_topUser {\n color: #ffd83a;\n text-shadow: 0 1px #969653, 0 2px 5px #f0db6466;\n border-bottom: 1.5rem solid #ffd83a;\n}\n\n.WavURG_rankBox .WavURG_topUsers li:first-child .WavURG_topUser i {\n background-image: var(--logo-image), linear-gradient(#ffd83a, #fdeba0);\n background-blend-mode: lighten;\n background-position: center;\n background-repeat: no-repeat;\n background-size: 2.5rem;\n width: 2.5rem;\n height: 2.6rem;\n}\n\n.WavURG_rankBox .WavURG_topUsers li:first-child .WavURG_image {\n width: 6.4rem;\n animation-delay: 3.5s;\n}\n\n.WavURG_rankBox .WavURG_topUsers li:nth-child(2) {\n order: 1;\n padding-top: 1rem;\n}\n\n.WavURG_rankBox .WavURG_topUsers li:nth-child(2) .WavURG_topUser {\n color: #d8d8d8;\n text-shadow: 0px 1px 0px #d9cdcd 0px 2px 5px #85848266;\n border-bottom: 1.2rem solid #d8d8d8;\n}\n\n.WavURG_rankBox .WavURG_topUsers li:nth-child(2) .WavURG_topUser i {\n background-image: var(--logo-image), linear-gradient(#d8d8d8, #eee);\n}\n\n.WavURG_rankBox .WavURG_topUsers li:nth-child(2) .WavURG_image {\n width: 6rem;\n animation-delay: 1.4s;\n}\n\n.WavURG_rankBox .WavURG_topUsers li:nth-child(3) {\n order: 3;\n padding-top: 1.5rem;\n}\n\n.WavURG_rankBox .WavURG_topUsers li:nth-child(3) .WavURG_topUser {\n color: #fab36e;\n text-shadow: 0 1px #aa8865, 0 2px 5px #a7814366;\n border-bottom: 1rem solid #fab36e;\n}\n\n.WavURG_rankBox .WavURG_topUsers li:nth-child(3) .WavURG_topUser i {\n background-image: var(--logo-image), linear-gradient(#fab36e, #fbe7d3);\n}\n\n.WavURG_rankBox .WavURG_topUsers li:nth-child(3) .WavURG_image {\n width: 5.6rem;\n animation-delay: 2.4s;\n}\n\n.WavURG_rankBox .WavURG_topUsers li:hover .WavURG_image {\n animation-play-state: paused;\n}\n\n.WavURG_rankBox .WavURG_restUsers tr:before {\n content: \"\";\n background: #9fc2ef;\n width: 0;\n height: 2px;\n transition: all .5s;\n display: block;\n position: absolute;\n bottom: 0;\n right: 0;\n}\n\n.WavURG_rankBox .WavURG_restUsers tr:hover:before {\n width: 100%;\n left: 0;\n}\n\n.WavURG_rankBox .WavURG_restUsers td {\n cursor: default;\n background-color: #0000;\n}\n\n.WavURG_rankBox .WavURG_restUsers td .WavURG_name {\n font-size: 0;\n}\n\n.WavURG_rankBox .WavURG_restUsers td .WavURG_name:hover .WavURG_image > img {\n transform: scale(1.2);\n}\n\n@keyframes QSMqAq_scrollItem {\n 0%, 10% {\n transform: translateY(0);\n }\n\n 90%, 100% {\n transform: translateY(-100%);\n }\n}\n\n@keyframes QSMqAq_scrollWrap {\n 0%, 10% {\n transform: translateY(0);\n }\n\n 90%, 100% {\n transform: translateY(100%);\n }\n}\n\n.QSMqAq_scrollWrap {\n --duration: 10s;\n animation: QSMqAq_scrollWrap;\n animation-duration: var(--duration);\n font-size: 0;\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n animation-direction: alternate;\n}\n\n.QSMqAq_scrollWrap:hover, .QSMqAq_scrollWrap:hover .QSMqAq_scrollItem {\n animation-play-state: paused;\n}\n\n.QSMqAq_scrollWrap .QSMqAq_scrollItem {\n animation: QSMqAq_scrollItem;\n animation-duration: var(--duration);\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n animation-direction: alternate;\n}\n/*# sourceMappingURL=index.css.map */\n","@import \"f6a6e44f9c2a9640\";\n@import \"732a71507fbf2403\";\n@import \"189c6fc71bd238f8\";\n@import \"14615fe74dadfaac\";\n","@keyframes scrollItem {\r\n 0%,\r\n 10% {\r\n transform: translateX(0);\r\n }\r\n 90%,\r\n 100% {\r\n transform: translateX(-100%);\r\n }\r\n}\r\n@keyframes scrollWrap {\r\n 0%,\r\n 10% {\r\n transform: translateX(0);\r\n }\r\n 90%,\r\n 100% {\r\n transform: translateX(100%);\r\n }\r\n}\r\n\r\n.scrollWrap {\r\n animation: scrollWrap linear 4s alternate infinite;\r\n .scrollItem {\r\n animation: scrollItem linear 4s alternate infinite;\r\n }\r\n &:hover {\r\n animation-play-state: paused;\r\n .scrollItem {\r\n animation-play-state: paused;\r\n }\r\n }\r\n}\r\n\r\n.scrollHeightWrap {\r\n --scroll-height: 20px;\r\n height: var(--scroll-height);\r\n .scrollContainer {\r\n transform: translateY(\r\n calc(calc(-100% + var(--scroll-height) + var(--scroll-height)) * 2)\r\n );\r\n max-height: calc(var(--scroll-height) * 3);\r\n .unScrollItem {\r\n max-height: calc(var(--scroll-height) * 2);\r\n line-height: var(--scroll-height);\r\n }\r\n .scrollItem {\r\n height: var(--scroll-height);\r\n line-height: var(--scroll-height);\r\n }\r\n }\r\n}\r\n",".timeline {\r\n position: relative;\r\n margin: 0 auto;\r\n max-width: 50%;\r\n @media (max-width: 991px) {\r\n max-width: 100%;\r\n }\r\n &::after {\r\n position: absolute;\r\n top: 0;\r\n bottom: 0;\r\n left: 10px;\r\n margin-left: -3px;\r\n background-color: #fff;\r\n width: 3px;\r\n content: '';\r\n }\r\n}\r\n.timelineItem {\r\n position: relative;\r\n background-color: inherit;\r\n width: 100%;\r\n\r\n &::after {\r\n position: absolute;\r\n top: 18px;\r\n right: 1px;\r\n z-index: 1;\r\n border-radius: 50%;\r\n background-color: #fff;\r\n width: 17px;\r\n height: 17px;\r\n content: '';\r\n }\r\n}\r\n.right {\r\n left: auto;\r\n padding: 0px 0px 20px 40px;\r\n\r\n &::before {\r\n position: absolute;\r\n top: 18px;\r\n left: 30px;\r\n z-index: 1;\r\n border: medium solid #fff;\r\n border-width: 10px 10px 10px 0;\r\n border-color: transparent #fff transparent transparent;\r\n content: ' ';\r\n }\r\n &::after {\r\n left: 0;\r\n }\r\n}\r\n","@keyframes suspension {\n 0% {\n position: relative;\n top: 0px;\n }\n 50% {\n position: relative;\n top: -0.8rem;\n }\n 100% {\n position: relative;\n top: 0px;\n }\n}\n\n.rankBox {\n --logo-image: url('https://github.com/idea2app.png');\n --title-background-image: url('https://hackathon-api.static.kaiyuanshe.cn/6342619375fa1817e0f56ce1/2022/10/09/rrrr.png');\n a {\n color: inherit;\n text-decoration: none;\n }\n .image {\n width: 2.1rem;\n &:hover img {\n transform: scale(1.1);\n transition: all 0.3s;\n }\n }\n .title {\n position: relative;\n z-index: 4;\n margin-top: 1.5rem;\n background-image: var(--title-background-image);\n background-size: 21rem auto;\n background-attachment: fixed;\n padding-top: 1.2rem;\n height: 4.8rem;\n &::before {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n border-radius: 0.3rem;\n background-color: rgba(161, 160, 152, 0.7);\n width: 100%;\n height: 100%;\n content: '';\n }\n .medal {\n position: absolute;\n top: -1.2rem;\n left: 5%;\n i {\n box-shadow: 0 0 0.5rem 0 #ffd83a;\n border: 0.1rem solid #ffd83a;\n background-image: var(--logo-image),\n linear-gradient(#ffd83a, #fdeba0);\n background-position: center;\n background-size: 1.5rem 1.5rem;\n background-repeat: no-repeat;\n background-blend-mode: lighten;\n width: 1.7rem;\n height: 1.7rem;\n &:first-child {\n box-shadow: 0 0 0.5rem 0 #d8d8d8;\n border-color: #d8d8d8;\n background-image: var(--logo-image),\n linear-gradient(#d8d8d8, #eeeeee);\n }\n &:last-child {\n box-shadow: 0 0 0.5rem 0 #fab36e;\n border-color: #fab36e;\n background-image: var(--logo-image),\n linear-gradient(#fab36e, #fbe7d3);\n }\n }\n }\n h3 {\n position: relative;\n z-index: 2;\n cursor: default;\n width: 10rem;\n color: transparent;\n font-size: 2rem;\n font-family: \"'book antiqua', palatino, serif\";\n letter-spacing: 0.4rem;\n text-shadow:\n 0px 1px 0px #c0c0c0,\n 0px 2px 0px #b0b0b0,\n 0px 3px 0px #a0a0a0,\n 0px 4px 0px #909090,\n 0px 5px 10px rgba(0, 0, 0, 0.6);\n &::after {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1;\n margin: 0 auto;\n background-image: linear-gradient(\n to right,\n #d8d8d8 10%,\n #ffd83a 60%,\n #fab36e 75%\n );\n background-clip: text;\n width: 10rem;\n content: attr(data-text);\n text-shadow: none;\n }\n }\n }\n .topUsers {\n z-index: 5;\n li {\n cursor: default;\n text-align: center;\n .topUser {\n z-index: 3;\n min-height: 6rem;\n letter-spacing: 1px;\n }\n .image {\n z-index: 2;\n animation: 3.5s suspension ease-in-out infinite;\n transition: all 0.6s;\n }\n &:nth-child(1) {\n order: 2;\n padding-top: 0.3rem;\n .topUser {\n border-bottom: 1.5rem solid #ffd83a;\n color: #ffd83a;\n text-shadow:\n 0px 1px 0px #969653,\n 0px 2px 5px rgba(240, 219, 100, 0.4);\n i {\n background-image: var(--logo-image),\n linear-gradient(#ffd83a, #fdeba0);\n background-position: center;\n background-size: 2.5rem auto;\n background-repeat: no-repeat;\n background-blend-mode: lighten;\n width: 2.5rem;\n height: 2.6rem;\n }\n }\n .image {\n animation-delay: 3.5s;\n width: 6.4rem;\n }\n }\n &:nth-child(2) {\n order: 1;\n padding-top: 1rem;\n .topUser {\n border-bottom: 1.2rem solid #d8d8d8;\n color: #d8d8d8;\n text-shadow: 0px 1px 0px #d9cdcd 0px 2px 5px\n rgba(133, 132, 130, 0.4);\n i {\n background-image: var(--logo-image),\n linear-gradient(#d8d8d8, #eeeeee);\n }\n }\n .image {\n animation-delay: 1.4s;\n width: 6rem;\n }\n }\n &:nth-child(3) {\n order: 3;\n padding-top: 1.5rem;\n .topUser {\n border-bottom: 1rem solid #fab36e;\n color: #fab36e;\n text-shadow:\n 0px 1px 0px #aa8865,\n 0px 2px 5px rgba(167, 129, 67, 0.4);\n i {\n background-image: var(--logo-image),\n linear-gradient(#fab36e, #fbe7d3);\n }\n }\n .image {\n animation-delay: 2.4s;\n width: 5.6rem;\n }\n }\n &:hover .image {\n animation-play-state: paused;\n }\n }\n }\n .restUsers {\n tr {\n &::before {\n display: block;\n position: absolute;\n right: 0;\n bottom: 0;\n transition: all 0.5s;\n background: #9fc2ef;\n width: 0;\n height: 2px;\n content: '';\n }\n &:hover::before {\n left: 0;\n width: 100%;\n }\n }\n td {\n cursor: default;\n background-color: transparent;\n .name {\n font-size: 0;\n &:hover {\n .image > img {\n transform: scale(1.2);\n }\n }\n }\n }\n }\n}\n","@keyframes scrollItem {\r\n 0%,\r\n 10% {\r\n transform: translateY(0);\r\n }\r\n 90%,\r\n 100% {\r\n transform: translateY(-100%);\r\n }\r\n}\r\n@keyframes scrollWrap {\r\n 0%,\r\n 10% {\r\n transform: translateY(0);\r\n }\r\n 90%,\r\n 100% {\r\n transform: translateY(100%);\r\n }\r\n}\r\n\r\n.scrollWrap {\r\n --duration: 10s;\r\n animation: scrollWrap;\r\n animation-duration: var(--duration);\r\n animation-timing-function: linear;\r\n animation-iteration-count: infinite;\r\n animation-direction: alternate;\r\n font-size: 0;\r\n &:hover {\r\n animation-play-state: paused;\r\n .scrollItem {\r\n animation-play-state: paused;\r\n }\r\n }\r\n .scrollItem {\r\n animation: scrollItem;\r\n animation-duration: var(--duration);\r\n animation-timing-function: linear;\r\n animation-iteration-count: infinite;\r\n animation-direction: alternate;\r\n }\r\n}\r\n"],"names":[],"version":3,"file":"index.css.map"}
|
|
1
|
+
{"mappings":"AEAA,+FAUA,8FAWA,8EAAA,kGAKI,oGAQJ,2EAAA,mLAAA,kJAAA,oIClCA,+DAII,yBAAA,iCAGA,8HAWJ,2EAKI,oJAYJ,8CAII,0JAUA,2BCjDJ,qHAeA,wLAAA,qDAAA,2CASQ,gFATR,8MAuBQ,8KAvBR,kFAAA,qTAiDgB,6KAMA,+KAvDhB,yRA8EY,+RA9EZ,2CAAA,qEAAA,iGAAA,qIAiHY,0EAAA,0KAAA,0QAAA,gGAyBA,0EAAA,mLAAA,oIAAA,+FAkBA,4EAAA,wKAAA,uIAAA,iGAmBA,oFAOA,iKAWA,oEAjMZ,iFAAA,8DA2MgB,+FC1NhB,gGAUA,+FAWA,+MAQI,iGARJ","sources":["index.css","203c51ccd4fc600b","source/HorizontalMarquee/index.module.less","source/Timeline/index.module.less","source/UserRank/index.module.less","source/VerticalMarquee/index.module.less"],"sourcesContent":["@keyframes _4_3lnG_scrollItem {\n 0%, 10% {\n transform: translateX(0);\n }\n\n 90%, 100% {\n transform: translateX(-100%);\n }\n}\n\n@keyframes _4_3lnG_scrollWrap {\n 0%, 10% {\n transform: translateX(0);\n }\n\n 90%, 100% {\n transform: translateX(100%);\n }\n}\n\n._4_3lnG_scrollWrap {\n animation: 4s linear infinite alternate _4_3lnG_scrollWrap;\n}\n\n._4_3lnG_scrollWrap ._4_3lnG_scrollItem {\n animation: 4s linear infinite alternate _4_3lnG_scrollItem;\n}\n\n._4_3lnG_scrollWrap:hover, ._4_3lnG_scrollWrap:hover ._4_3lnG_scrollItem {\n animation-play-state: paused;\n}\n\n._4_3lnG_scrollHeightWrap {\n --scroll-height: 20px;\n height: var(--scroll-height);\n}\n\n._4_3lnG_scrollHeightWrap ._4_3lnG_scrollContainer {\n transform: translateY(calc(calc(-100% + var(--scroll-height) + var(--scroll-height)) * 2));\n max-height: calc(var(--scroll-height) * 3);\n}\n\n._4_3lnG_scrollHeightWrap ._4_3lnG_scrollContainer ._4_3lnG_unScrollItem {\n max-height: calc(var(--scroll-height) * 2);\n line-height: var(--scroll-height);\n}\n\n._4_3lnG_scrollHeightWrap ._4_3lnG_scrollContainer ._4_3lnG_scrollItem {\n height: var(--scroll-height);\n line-height: var(--scroll-height);\n}\n\n.TOztta_timeline {\n max-width: 50%;\n margin: 0 auto;\n position: relative;\n}\n\n@media (width <= 991px) {\n .TOztta_timeline {\n max-width: 100%;\n }\n}\n\n.TOztta_timeline:after {\n content: \"\";\n background-color: #fff;\n width: 3px;\n margin-left: -3px;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 10px;\n}\n\n.TOztta_timelineItem {\n background-color: inherit;\n width: 100%;\n position: relative;\n}\n\n.TOztta_timelineItem:after {\n z-index: 1;\n content: \"\";\n background-color: #fff;\n border-radius: 50%;\n width: 17px;\n height: 17px;\n position: absolute;\n top: 18px;\n right: 1px;\n}\n\n.TOztta_right {\n padding: 0 0 20px 40px;\n left: auto;\n}\n\n.TOztta_right:before {\n z-index: 1;\n content: \" \";\n border: 10px solid #0000;\n border-left-width: 0;\n border-right-color: #fff;\n position: absolute;\n top: 18px;\n left: 30px;\n}\n\n.TOztta_right:after {\n left: 0;\n}\n\n@keyframes WavURG_suspension {\n 0% {\n position: relative;\n top: 0;\n }\n\n 50% {\n position: relative;\n top: -.8rem;\n }\n\n 100% {\n position: relative;\n top: 0;\n }\n}\n\n.WavURG_rankBox {\n --logo-image: url(\"https://github.com/idea2app.png\");\n --title-background-image: url(\"https://hackathon-api.static.kaiyuanshe.cn/6342619375fa1817e0f56ce1/2022/10/09/rrrr.png\");\n}\n\n.WavURG_rankBox a {\n color: inherit;\n text-decoration: none;\n}\n\n.WavURG_rankBox .WavURG_image {\n width: 2.1rem;\n}\n\n.WavURG_rankBox .WavURG_image:hover img {\n transition: all .3s;\n transform: scale(1.1);\n}\n\n.WavURG_rankBox .WavURG_title {\n z-index: 4;\n background-image: var(--title-background-image);\n background-size: 21rem;\n background-attachment: fixed;\n height: 4.8rem;\n margin-top: 1.5rem;\n padding-top: 1.2rem;\n position: relative;\n}\n\n.WavURG_rankBox .WavURG_title:before {\n content: \"\";\n background-color: #a1a098b3;\n border-radius: .3rem;\n width: 100%;\n height: 100%;\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n}\n\n.WavURG_rankBox .WavURG_title .WavURG_medal {\n position: absolute;\n top: -1.2rem;\n left: 5%;\n}\n\n.WavURG_rankBox .WavURG_title .WavURG_medal i {\n background-image: var(--logo-image), linear-gradient(#ffd83a, #fdeba0);\n background-blend-mode: lighten;\n background-position: center;\n background-repeat: no-repeat;\n background-size: 1.5rem 1.5rem;\n border: .1rem solid #ffd83a;\n width: 1.7rem;\n height: 1.7rem;\n box-shadow: 0 0 .5rem #ffd83a;\n}\n\n.WavURG_rankBox .WavURG_title .WavURG_medal i:first-child {\n background-image: var(--logo-image), linear-gradient(#d8d8d8, #eee);\n border-color: #d8d8d8;\n box-shadow: 0 0 .5rem #d8d8d8;\n}\n\n.WavURG_rankBox .WavURG_title .WavURG_medal i:last-child {\n background-image: var(--logo-image), linear-gradient(#fab36e, #fbe7d3);\n border-color: #fab36e;\n box-shadow: 0 0 .5rem #fab36e;\n}\n\n.WavURG_rankBox .WavURG_title h3 {\n z-index: 2;\n cursor: default;\n color: #0000;\n letter-spacing: .4rem;\n text-shadow: 0 1px silver, 0 2px #b0b0b0, 0 3px #a0a0a0, 0 4px #909090, 0 5px 10px #0009;\n width: 10rem;\n font-family: \"'book antiqua', palatino, serif\";\n font-size: 2rem;\n position: relative;\n}\n\n.WavURG_rankBox .WavURG_title h3:after {\n z-index: 1;\n content: attr(data-text);\n width: 10rem;\n text-shadow: none;\n background-image: linear-gradient(to right, #d8d8d8 10%, #ffd83a 60%, #fab36e 75%);\n -webkit-background-clip: text;\n background-clip: text;\n margin: 0 auto;\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n}\n\n.WavURG_rankBox .WavURG_topUsers {\n z-index: 5;\n}\n\n.WavURG_rankBox .WavURG_topUsers li {\n cursor: default;\n text-align: center;\n}\n\n.WavURG_rankBox .WavURG_topUsers li .WavURG_topUser {\n z-index: 3;\n letter-spacing: 1px;\n min-height: 6rem;\n}\n\n.WavURG_rankBox .WavURG_topUsers li .WavURG_image {\n z-index: 2;\n transition: all .6s;\n animation: 3.5s ease-in-out infinite WavURG_suspension;\n}\n\n.WavURG_rankBox .WavURG_topUsers li:first-child {\n order: 2;\n padding-top: .3rem;\n}\n\n.WavURG_rankBox .WavURG_topUsers li:first-child .WavURG_topUser {\n color: #ffd83a;\n text-shadow: 0 1px #969653, 0 2px 5px #f0db6466;\n border-bottom: 1.5rem solid #ffd83a;\n}\n\n.WavURG_rankBox .WavURG_topUsers li:first-child .WavURG_topUser i {\n background-image: var(--logo-image), linear-gradient(#ffd83a, #fdeba0);\n background-blend-mode: lighten;\n background-position: center;\n background-repeat: no-repeat;\n background-size: 2.5rem;\n width: 2.5rem;\n height: 2.6rem;\n}\n\n.WavURG_rankBox .WavURG_topUsers li:first-child .WavURG_image {\n width: 6.4rem;\n animation-delay: 3.5s;\n}\n\n.WavURG_rankBox .WavURG_topUsers li:nth-child(2) {\n order: 1;\n padding-top: 1rem;\n}\n\n.WavURG_rankBox .WavURG_topUsers li:nth-child(2) .WavURG_topUser {\n color: #d8d8d8;\n text-shadow: 0px 1px 0px #d9cdcd 0px 2px 5px #85848266;\n border-bottom: 1.2rem solid #d8d8d8;\n}\n\n.WavURG_rankBox .WavURG_topUsers li:nth-child(2) .WavURG_topUser i {\n background-image: var(--logo-image), linear-gradient(#d8d8d8, #eee);\n}\n\n.WavURG_rankBox .WavURG_topUsers li:nth-child(2) .WavURG_image {\n width: 6rem;\n animation-delay: 1.4s;\n}\n\n.WavURG_rankBox .WavURG_topUsers li:nth-child(3) {\n order: 3;\n padding-top: 1.5rem;\n}\n\n.WavURG_rankBox .WavURG_topUsers li:nth-child(3) .WavURG_topUser {\n color: #fab36e;\n text-shadow: 0 1px #aa8865, 0 2px 5px #a7814366;\n border-bottom: 1rem solid #fab36e;\n}\n\n.WavURG_rankBox .WavURG_topUsers li:nth-child(3) .WavURG_topUser i {\n background-image: var(--logo-image), linear-gradient(#fab36e, #fbe7d3);\n}\n\n.WavURG_rankBox .WavURG_topUsers li:nth-child(3) .WavURG_image {\n width: 5.6rem;\n animation-delay: 2.4s;\n}\n\n.WavURG_rankBox .WavURG_topUsers li:hover .WavURG_image {\n animation-play-state: paused;\n}\n\n.WavURG_rankBox .WavURG_restUsers tr:before {\n content: \"\";\n background: #9fc2ef;\n width: 0;\n height: 2px;\n transition: all .5s;\n display: block;\n position: absolute;\n bottom: 0;\n right: 0;\n}\n\n.WavURG_rankBox .WavURG_restUsers tr:hover:before {\n width: 100%;\n left: 0;\n}\n\n.WavURG_rankBox .WavURG_restUsers td {\n cursor: default;\n background-color: #0000;\n}\n\n.WavURG_rankBox .WavURG_restUsers td .WavURG_name {\n font-size: 0;\n}\n\n.WavURG_rankBox .WavURG_restUsers td .WavURG_name:hover .WavURG_image > img {\n transform: scale(1.2);\n}\n\n@keyframes QSMqAq_scrollItem {\n 0%, 10% {\n transform: translateY(0);\n }\n\n 90%, 100% {\n transform: translateY(-100%);\n }\n}\n\n@keyframes QSMqAq_scrollWrap {\n 0%, 10% {\n transform: translateY(0);\n }\n\n 90%, 100% {\n transform: translateY(100%);\n }\n}\n\n.QSMqAq_scrollWrap {\n --duration: 10s;\n animation: QSMqAq_scrollWrap;\n animation-duration: var(--duration);\n font-size: 0;\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n animation-direction: alternate;\n}\n\n.QSMqAq_scrollWrap:hover, .QSMqAq_scrollWrap:hover .QSMqAq_scrollItem {\n animation-play-state: paused;\n}\n\n.QSMqAq_scrollWrap .QSMqAq_scrollItem {\n animation: QSMqAq_scrollItem;\n animation-duration: var(--duration);\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n animation-direction: alternate;\n}\n/*# sourceMappingURL=index.css.map */\n","@import \"f6a6e44f9c2a9640\";\n@import \"732a71507fbf2403\";\n@import \"189c6fc71bd238f8\";\n@import \"14615fe74dadfaac\";\n","@keyframes scrollItem {\n 0%,\n 10% {\n transform: translateX(0);\n }\n 90%,\n 100% {\n transform: translateX(-100%);\n }\n}\n@keyframes scrollWrap {\n 0%,\n 10% {\n transform: translateX(0);\n }\n 90%,\n 100% {\n transform: translateX(100%);\n }\n}\n\n.scrollWrap {\n animation: scrollWrap linear 4s alternate infinite;\n .scrollItem {\n animation: scrollItem linear 4s alternate infinite;\n }\n &:hover {\n animation-play-state: paused;\n .scrollItem {\n animation-play-state: paused;\n }\n }\n}\n\n.scrollHeightWrap {\n --scroll-height: 20px;\n height: var(--scroll-height);\n .scrollContainer {\n transform: translateY(\n calc(calc(-100% + var(--scroll-height) + var(--scroll-height)) * 2)\n );\n max-height: calc(var(--scroll-height) * 3);\n .unScrollItem {\n max-height: calc(var(--scroll-height) * 2);\n line-height: var(--scroll-height);\n }\n .scrollItem {\n height: var(--scroll-height);\n line-height: var(--scroll-height);\n }\n }\n}\n",".timeline {\n position: relative;\n margin: 0 auto;\n max-width: 50%;\n @media (max-width: 991px) {\n max-width: 100%;\n }\n &::after {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 10px;\n margin-left: -3px;\n background-color: #fff;\n width: 3px;\n content: '';\n }\n}\n.timelineItem {\n position: relative;\n background-color: inherit;\n width: 100%;\n\n &::after {\n position: absolute;\n top: 18px;\n right: 1px;\n z-index: 1;\n border-radius: 50%;\n background-color: #fff;\n width: 17px;\n height: 17px;\n content: '';\n }\n}\n.right {\n left: auto;\n padding: 0px 0px 20px 40px;\n\n &::before {\n position: absolute;\n top: 18px;\n left: 30px;\n z-index: 1;\n border: medium solid #fff;\n border-width: 10px 10px 10px 0;\n border-color: transparent #fff transparent transparent;\n content: ' ';\n }\n &::after {\n left: 0;\n }\n}\n","@keyframes suspension {\n 0% {\n position: relative;\n top: 0px;\n }\n 50% {\n position: relative;\n top: -0.8rem;\n }\n 100% {\n position: relative;\n top: 0px;\n }\n}\n\n.rankBox {\n --logo-image: url('https://github.com/idea2app.png');\n --title-background-image: url('https://hackathon-api.static.kaiyuanshe.cn/6342619375fa1817e0f56ce1/2022/10/09/rrrr.png');\n a {\n color: inherit;\n text-decoration: none;\n }\n .image {\n width: 2.1rem;\n &:hover img {\n transform: scale(1.1);\n transition: all 0.3s;\n }\n }\n .title {\n position: relative;\n z-index: 4;\n margin-top: 1.5rem;\n background-image: var(--title-background-image);\n background-size: 21rem auto;\n background-attachment: fixed;\n padding-top: 1.2rem;\n height: 4.8rem;\n &::before {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n border-radius: 0.3rem;\n background-color: rgba(161, 160, 152, 0.7);\n width: 100%;\n height: 100%;\n content: '';\n }\n .medal {\n position: absolute;\n top: -1.2rem;\n left: 5%;\n i {\n box-shadow: 0 0 0.5rem 0 #ffd83a;\n border: 0.1rem solid #ffd83a;\n background-image: var(--logo-image),\n linear-gradient(#ffd83a, #fdeba0);\n background-position: center;\n background-size: 1.5rem 1.5rem;\n background-repeat: no-repeat;\n background-blend-mode: lighten;\n width: 1.7rem;\n height: 1.7rem;\n &:first-child {\n box-shadow: 0 0 0.5rem 0 #d8d8d8;\n border-color: #d8d8d8;\n background-image: var(--logo-image),\n linear-gradient(#d8d8d8, #eeeeee);\n }\n &:last-child {\n box-shadow: 0 0 0.5rem 0 #fab36e;\n border-color: #fab36e;\n background-image: var(--logo-image),\n linear-gradient(#fab36e, #fbe7d3);\n }\n }\n }\n h3 {\n position: relative;\n z-index: 2;\n cursor: default;\n width: 10rem;\n color: transparent;\n font-size: 2rem;\n font-family: \"'book antiqua', palatino, serif\";\n letter-spacing: 0.4rem;\n text-shadow:\n 0px 1px 0px #c0c0c0,\n 0px 2px 0px #b0b0b0,\n 0px 3px 0px #a0a0a0,\n 0px 4px 0px #909090,\n 0px 5px 10px rgba(0, 0, 0, 0.6);\n &::after {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1;\n margin: 0 auto;\n background-image: linear-gradient(\n to right,\n #d8d8d8 10%,\n #ffd83a 60%,\n #fab36e 75%\n );\n background-clip: text;\n width: 10rem;\n content: attr(data-text);\n text-shadow: none;\n }\n }\n }\n .topUsers {\n z-index: 5;\n li {\n cursor: default;\n text-align: center;\n .topUser {\n z-index: 3;\n min-height: 6rem;\n letter-spacing: 1px;\n }\n .image {\n z-index: 2;\n animation: 3.5s suspension ease-in-out infinite;\n transition: all 0.6s;\n }\n &:nth-child(1) {\n order: 2;\n padding-top: 0.3rem;\n .topUser {\n border-bottom: 1.5rem solid #ffd83a;\n color: #ffd83a;\n text-shadow:\n 0px 1px 0px #969653,\n 0px 2px 5px rgba(240, 219, 100, 0.4);\n i {\n background-image: var(--logo-image),\n linear-gradient(#ffd83a, #fdeba0);\n background-position: center;\n background-size: 2.5rem auto;\n background-repeat: no-repeat;\n background-blend-mode: lighten;\n width: 2.5rem;\n height: 2.6rem;\n }\n }\n .image {\n animation-delay: 3.5s;\n width: 6.4rem;\n }\n }\n &:nth-child(2) {\n order: 1;\n padding-top: 1rem;\n .topUser {\n border-bottom: 1.2rem solid #d8d8d8;\n color: #d8d8d8;\n text-shadow: 0px 1px 0px #d9cdcd 0px 2px 5px\n rgba(133, 132, 130, 0.4);\n i {\n background-image: var(--logo-image),\n linear-gradient(#d8d8d8, #eeeeee);\n }\n }\n .image {\n animation-delay: 1.4s;\n width: 6rem;\n }\n }\n &:nth-child(3) {\n order: 3;\n padding-top: 1.5rem;\n .topUser {\n border-bottom: 1rem solid #fab36e;\n color: #fab36e;\n text-shadow:\n 0px 1px 0px #aa8865,\n 0px 2px 5px rgba(167, 129, 67, 0.4);\n i {\n background-image: var(--logo-image),\n linear-gradient(#fab36e, #fbe7d3);\n }\n }\n .image {\n animation-delay: 2.4s;\n width: 5.6rem;\n }\n }\n &:hover .image {\n animation-play-state: paused;\n }\n }\n }\n .restUsers {\n tr {\n &::before {\n display: block;\n position: absolute;\n right: 0;\n bottom: 0;\n transition: all 0.5s;\n background: #9fc2ef;\n width: 0;\n height: 2px;\n content: '';\n }\n &:hover::before {\n left: 0;\n width: 100%;\n }\n }\n td {\n cursor: default;\n background-color: transparent;\n .name {\n font-size: 0;\n &:hover {\n .image > img {\n transform: scale(1.2);\n }\n }\n }\n }\n }\n}\n","@keyframes scrollItem {\n 0%,\n 10% {\n transform: translateY(0);\n }\n 90%,\n 100% {\n transform: translateY(-100%);\n }\n}\n@keyframes scrollWrap {\n 0%,\n 10% {\n transform: translateY(0);\n }\n 90%,\n 100% {\n transform: translateY(100%);\n }\n}\n\n.scrollWrap {\n --duration: 10s;\n animation: scrollWrap;\n animation-duration: var(--duration);\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n animation-direction: alternate;\n font-size: 0;\n &:hover {\n animation-play-state: paused;\n .scrollItem {\n animation-play-state: paused;\n }\n }\n .scrollItem {\n animation: scrollItem;\n animation-duration: var(--duration);\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n animation-direction: alternate;\n }\n}\n"],"names":[],"version":3,"file":"index.css.map"}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;AAEA,wBAAwB,IAAI,EAAE,MAAM,GAAG,YAAY,OAAO,CAAC,CAiB1D;AChBD,4BAA6B,SAAQ,kBAAkB,gBAAgB,CAAC;IACpE,IAAI,CAAC,EAAE,MAAM,CAAC;CAC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,OAAO,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC;ACE5E,yBAA0B,SAAQ,gBAAgB;IAC9C,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,kCAAmC,SAAQ,QAAQ;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,QAAQ,EAAE,CAAC;IACjB,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,MAAM,CAAC;CACvC;AAED,yBAA0B,SAAQ,cAAc,iBAAiB,CAAC;IAC9D,MAAM,CAAC,WAAW,SAAkB;IAEpC,WAAW,GAAI,MAAM,QAAQ,iBAmB3B;IAEF,SAAS,GAAI,MAAM,QAAQ,EAAE,OAAO,MAAM,EAAE,YAAY,QAAQ,EAAE,iBA4BhE;IAEF,MAAM;CAkCT;ACvGD,qCAAsC,SAAQ,eAAe,cAAc,CAAC;IACxE,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,OAAO,MAAM,iBAAiB,GAAG,oBAAoB,CAiBpD,CAAC","sources":["source/source/animate.ts","source/source/Avatar.tsx","source/source/ClickBoundary.tsx","source/source/CodeBlock.tsx","source/source/color.ts","source/source/Dialog.tsx","source/source/Editor.tsx","source/source/EditorHTML.tsx","source/source/HorizontalMarquee/index.tsx","source/source/Icon.tsx","source/source/Loading.tsx","source/source/OverlayBox.tsx","source/source/MonthCalendar.tsx","source/source/Nameplate.tsx","source/source/PageNav.tsx","source/source/Select.tsx","source/source/ShareBox.tsx","source/source/SpinnerButton.tsx","source/source/TableSpinner.tsx","source/source/Time.tsx","source/source/TimeDistance.tsx","source/source/Timeline/index.tsx","source/source/TypeEcho.tsx","source/source/UserRank/Address.tsx","source/source/UserRank/index.tsx","source/source/VerticalMarquee/index.tsx","source/source/index.ts","source/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"export * from './animate';\
|
|
1
|
+
{"mappings":";;;;;;;;;AAEA,wBAAwB,IAAI,EAAE,MAAM,GAAG,YAAY,OAAO,CAAC,CAiB1D;AChBD,4BAA6B,SAAQ,kBAAkB,gBAAgB,CAAC;IACpE,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,OAAO,MAAM,QAAQ,GAAG,WAAW,CAelC,CAAC;ACdF,iCAAiC,kBAC7B;IACI,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,GAAG,CAAC;IAC1C,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,GAAG,CAAC;CAC7C,GAAG,kBAAkB,eAAe,cAAc,CAAC,EAAE,cAAc,CAAC,CACxE,CAAC;AAEF,0BAA2B,SAAQ,cAAc,kBAAkB,CAAC;IAChE,IAAI,4BAA+B;IAEnC,WAAW,GAAI,OAAO,UAAU,UAM9B;IAEF,iBAAiB;IAIjB,oBAAoB;IAIpB,MAAM;CAST;ACvCD,+BAAgC,SAAQ,eAAe,cAAc,CAAC;IAClE,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,OAAO,MAAM,WAAW,GAAG,cAAc,CAYxC,CAAC;AClBF,2BAA2B,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC;AAE7D,OAAO,MAAM,eAAe,YAAY,EASvC,CAAC;AAEF,2BAA2B,GAAG,EAAE,MAAM,EAAE,aAAa,GAAE,YAAY,EAAO,gBASzE;ACnBD,wBAAyB,SAAQ,KAAK;gBACtB,OAAO,SAAkB;CAGxC;AAED,6BAA6B,CAAC,GAAG,GAAG;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;CACpB;AAED,oBAAoB,CAAC,SAAS,MAAM,GAAG,EAAE,EAAE,CAAC,GAAG,GAAG;IAE9C,QAAQ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+B,SAAQ,eAAe,cAAc,CAAC;IACjE,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,qBACsB,SAAQ,UAAU,aAAa,CAAC;IAClD,MAAM,CAAC,WAAW,SAAc;IAGhC,QAAQ,CAAC,MAAM,SAAM;IAErB,IAAI,EAAE,YAAY,cAAc,CAAC,CAcZ;IAErB,MAAM;CAcT;AC5CD,wBAA+B,OAAO,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC;ACE5E,yBAA0B,SAAQ,gBAAgB;IAC9C,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,kCAAmC,SAAQ,QAAQ;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,QAAQ,EAAE,CAAC;IACjB,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,MAAM,CAAC;CACvC;AAED,yBAA0B,SAAQ,cAAc,iBAAiB,CAAC;IAC9D,MAAM,CAAC,WAAW,SAAkB;IAEpC,WAAW,GAAI,MAAM,QAAQ,iBAmB3B;IAEF,SAAS,GAAI,MAAM,QAAQ,EAAE,OAAO,MAAM,EAAE,YAAY,QAAQ,EAAE,iBA4BhE;IAEF,MAAM;CAkCT;ACvGD,qCAAsC,SAAQ,eAAe,cAAc,CAAC;IACxE,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,OAAO,MAAM,iBAAiB,GAAG,oBAAoB,CAiBpD,CAAC","sources":["source/source/animate.ts","source/source/Avatar.tsx","source/source/ClickBoundary.tsx","source/source/CodeBlock.tsx","source/source/color.ts","source/source/Dialog.tsx","source/source/Editor.tsx","source/source/EditorHTML.tsx","source/source/HorizontalMarquee/index.tsx","source/source/Icon.tsx","source/source/Loading.tsx","source/source/OverlayBox.tsx","source/source/MonthCalendar.tsx","source/source/Nameplate.tsx","source/source/PageNav.tsx","source/source/Select.tsx","source/source/ShareBox.tsx","source/source/SpinnerButton.tsx","source/source/TableSpinner.tsx","source/source/Time.tsx","source/source/TimeDistance.tsx","source/source/Timeline/index.tsx","source/source/TypeEcho.tsx","source/source/UserRank/Address.tsx","source/source/UserRank/index.tsx","source/source/VerticalMarquee/index.tsx","source/source/index.ts","source/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"export * from './animate';\nexport * from './Avatar';\nexport * from './ClickBoundary';\nexport * from './CodeBlock';\nexport * from './color';\nexport * from './Dialog';\nexport * from './Editor';\nexport * from './EditorHTML';\nexport * from './HorizontalMarquee';\nexport * from './Icon';\nexport * from './Loading';\nexport * from './MonthCalendar';\nexport * from './Nameplate';\nexport * from './OverlayBox';\nexport * from './PageNav';\nexport * from './Select';\nexport * from './ShareBox';\nexport * from './SpinnerButton';\nexport * from './TableSpinner';\nexport * from './Time';\nexport * from './TimeDistance';\nexport * from './Timeline';\nexport * from './TypeEcho';\nexport * from './UserRank';\nexport * from './VerticalMarquee';\n"],"names":[],"version":3,"file":"index.d.ts.map"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "idea-react",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.12",
|
|
4
4
|
"license": "LGPL-3.0-or-later",
|
|
5
5
|
"author": "shiy2008@gmail.com",
|
|
6
6
|
"description": "A React advanced components library based on TypeScript & Bootstrap, built by idea2app remote developers team.",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"lodash": "^4.17.21",
|
|
34
34
|
"mobx": "^6.13.7",
|
|
35
35
|
"mobx-react": "^9.2.0",
|
|
36
|
-
"mobx-react-helper": "^0.4.0
|
|
36
|
+
"mobx-react-helper": "^0.4.0",
|
|
37
37
|
"prismjs": "^1.30.0",
|
|
38
38
|
"react-bootstrap": "^2.10.9",
|
|
39
39
|
"react-editor-js": "^2.1.0",
|
package/source/Dialog.tsx
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { Defer } from 'iterable-observer';
|
|
2
|
-
import { observable } from 'mobx';
|
|
3
|
-
import { observer } from 'mobx-react';
|
|
4
|
-
import { FC } from 'react';
|
|
5
|
-
|
|
6
|
-
export class DialogClose extends Error {
|
|
7
|
-
constructor(message = 'Dialog closed') {
|
|
8
|
-
super(message);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export interface DialogProps<T = any> {
|
|
13
|
-
defer?: Defer<T>;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export class Dialog<I extends object = {}, O = any> {
|
|
17
|
-
@observable
|
|
18
|
-
accessor input = {} as I;
|
|
19
|
-
|
|
20
|
-
@observable
|
|
21
|
-
accessor defer: Defer<O> | undefined;
|
|
22
|
-
|
|
23
|
-
Component: FC<I>;
|
|
24
|
-
|
|
25
|
-
constructor(Factory: FC<I & DialogProps<O>>) {
|
|
26
|
-
this.Component = observer(props => (
|
|
27
|
-
<Factory {...props} {...this.input} defer={this.defer} />
|
|
28
|
-
));
|
|
29
|
-
this.Component.displayName = 'DialogComponent';
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
open(input?: I) {
|
|
33
|
-
if (input) this.input = input;
|
|
34
|
-
|
|
35
|
-
this.defer = new Defer();
|
|
36
|
-
|
|
37
|
-
this.defer.promise.finally(() => (this.defer = undefined));
|
|
38
|
-
|
|
39
|
-
return this.defer.promise;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
1
|
+
import { Defer } from 'iterable-observer';
|
|
2
|
+
import { observable } from 'mobx';
|
|
3
|
+
import { observer } from 'mobx-react';
|
|
4
|
+
import { FC } from 'react';
|
|
5
|
+
|
|
6
|
+
export class DialogClose extends Error {
|
|
7
|
+
constructor(message = 'Dialog closed') {
|
|
8
|
+
super(message);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface DialogProps<T = any> {
|
|
13
|
+
defer?: Defer<T>;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export class Dialog<I extends object = {}, O = any> {
|
|
17
|
+
@observable
|
|
18
|
+
accessor input = {} as I;
|
|
19
|
+
|
|
20
|
+
@observable
|
|
21
|
+
accessor defer: Defer<O> | undefined;
|
|
22
|
+
|
|
23
|
+
Component: FC<I>;
|
|
24
|
+
|
|
25
|
+
constructor(Factory: FC<I & DialogProps<O>>) {
|
|
26
|
+
this.Component = observer(props => (
|
|
27
|
+
<Factory {...props} {...this.input} defer={this.defer} />
|
|
28
|
+
));
|
|
29
|
+
this.Component.displayName = 'DialogComponent';
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
open(input?: I) {
|
|
33
|
+
if (input) this.input = input;
|
|
34
|
+
|
|
35
|
+
this.defer = new Defer();
|
|
36
|
+
|
|
37
|
+
this.defer.promise.finally(() => (this.defer = undefined));
|
|
38
|
+
|
|
39
|
+
return this.defer.promise;
|
|
40
|
+
}
|
|
41
|
+
}
|
package/source/Editor.tsx
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { EditorCore, WrapperProps } from '@react-editor-js/core';
|
|
2
|
-
import { observable } from 'mobx';
|
|
3
|
-
import { observer } from 'mobx-react';
|
|
4
|
-
import { Component, InputHTMLAttributes, PropsWithoutRef } from 'react';
|
|
5
|
-
import { createReactEditorJS } from 'react-editor-js';
|
|
6
|
-
|
|
7
|
-
const ReactEditorJS = createReactEditorJS();
|
|
8
|
-
|
|
9
|
-
export type EditorProps = PropsWithoutRef<
|
|
10
|
-
WrapperProps &
|
|
11
|
-
Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'required'>
|
|
12
|
-
>;
|
|
13
|
-
|
|
14
|
-
@observer
|
|
15
|
-
export class Editor extends Component<EditorProps> {
|
|
16
|
-
static displayName = 'Editor';
|
|
17
|
-
|
|
18
|
-
private core?: EditorCore;
|
|
19
|
-
|
|
20
|
-
@observable
|
|
21
|
-
accessor innerValue = this.props.defaultValue;
|
|
22
|
-
|
|
23
|
-
save = async () => this.core && (this.innerValue = await this.core.save());
|
|
24
|
-
|
|
25
|
-
render() {
|
|
26
|
-
const { name, required, children, ...editorProps } = this.props,
|
|
27
|
-
{ innerValue } = this;
|
|
28
|
-
|
|
29
|
-
return (
|
|
30
|
-
<div className="form-control" tabIndex={-1} onBlur={this.save}>
|
|
31
|
-
<input
|
|
32
|
-
hidden
|
|
33
|
-
{...{ name, required }}
|
|
34
|
-
value={JSON.stringify(innerValue)}
|
|
35
|
-
/>
|
|
36
|
-
<ReactEditorJS
|
|
37
|
-
{...editorProps}
|
|
38
|
-
onInitialize={core => {
|
|
39
|
-
this.core = core;
|
|
40
|
-
editorProps.onInitialize?.(core);
|
|
41
|
-
}}
|
|
42
|
-
/>
|
|
43
|
-
</div>
|
|
44
|
-
);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
1
|
+
import { EditorCore, WrapperProps } from '@react-editor-js/core';
|
|
2
|
+
import { observable } from 'mobx';
|
|
3
|
+
import { observer } from 'mobx-react';
|
|
4
|
+
import { Component, InputHTMLAttributes, PropsWithoutRef } from 'react';
|
|
5
|
+
import { createReactEditorJS } from 'react-editor-js';
|
|
6
|
+
|
|
7
|
+
const ReactEditorJS = createReactEditorJS();
|
|
8
|
+
|
|
9
|
+
export type EditorProps = PropsWithoutRef<
|
|
10
|
+
WrapperProps &
|
|
11
|
+
Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'required'>
|
|
12
|
+
>;
|
|
13
|
+
|
|
14
|
+
@observer
|
|
15
|
+
export class Editor extends Component<EditorProps> {
|
|
16
|
+
static displayName = 'Editor';
|
|
17
|
+
|
|
18
|
+
private core?: EditorCore;
|
|
19
|
+
|
|
20
|
+
@observable
|
|
21
|
+
accessor innerValue = this.props.defaultValue;
|
|
22
|
+
|
|
23
|
+
save = async () => this.core && (this.innerValue = await this.core.save());
|
|
24
|
+
|
|
25
|
+
render() {
|
|
26
|
+
const { name, required, children, ...editorProps } = this.props,
|
|
27
|
+
{ innerValue } = this;
|
|
28
|
+
|
|
29
|
+
return (
|
|
30
|
+
<div className="form-control" tabIndex={-1} onBlur={this.save}>
|
|
31
|
+
<input
|
|
32
|
+
hidden
|
|
33
|
+
{...{ name, required }}
|
|
34
|
+
value={JSON.stringify(innerValue)}
|
|
35
|
+
/>
|
|
36
|
+
<ReactEditorJS
|
|
37
|
+
{...editorProps}
|
|
38
|
+
onInitialize={core => {
|
|
39
|
+
this.core = core;
|
|
40
|
+
editorProps.onInitialize?.(core);
|
|
41
|
+
}}
|
|
42
|
+
/>
|
|
43
|
+
</div>
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
@keyframes scrollItem {
|
|
2
|
-
0%,
|
|
3
|
-
10% {
|
|
4
|
-
transform: translateX(0);
|
|
5
|
-
}
|
|
6
|
-
90%,
|
|
7
|
-
100% {
|
|
8
|
-
transform: translateX(-100%);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
@keyframes scrollWrap {
|
|
12
|
-
0%,
|
|
13
|
-
10% {
|
|
14
|
-
transform: translateX(0);
|
|
15
|
-
}
|
|
16
|
-
90%,
|
|
17
|
-
100% {
|
|
18
|
-
transform: translateX(100%);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.scrollWrap {
|
|
23
|
-
animation: scrollWrap linear 4s alternate infinite;
|
|
24
|
-
.scrollItem {
|
|
25
|
-
animation: scrollItem linear 4s alternate infinite;
|
|
26
|
-
}
|
|
27
|
-
&:hover {
|
|
28
|
-
animation-play-state: paused;
|
|
29
|
-
.scrollItem {
|
|
30
|
-
animation-play-state: paused;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.scrollHeightWrap {
|
|
36
|
-
--scroll-height: 20px;
|
|
37
|
-
height: var(--scroll-height);
|
|
38
|
-
.scrollContainer {
|
|
39
|
-
transform: translateY(
|
|
40
|
-
calc(calc(-100% + var(--scroll-height) + var(--scroll-height)) * 2)
|
|
41
|
-
);
|
|
42
|
-
max-height: calc(var(--scroll-height) * 3);
|
|
43
|
-
.unScrollItem {
|
|
44
|
-
max-height: calc(var(--scroll-height) * 2);
|
|
45
|
-
line-height: var(--scroll-height);
|
|
46
|
-
}
|
|
47
|
-
.scrollItem {
|
|
48
|
-
height: var(--scroll-height);
|
|
49
|
-
line-height: var(--scroll-height);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
1
|
+
@keyframes scrollItem {
|
|
2
|
+
0%,
|
|
3
|
+
10% {
|
|
4
|
+
transform: translateX(0);
|
|
5
|
+
}
|
|
6
|
+
90%,
|
|
7
|
+
100% {
|
|
8
|
+
transform: translateX(-100%);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
@keyframes scrollWrap {
|
|
12
|
+
0%,
|
|
13
|
+
10% {
|
|
14
|
+
transform: translateX(0);
|
|
15
|
+
}
|
|
16
|
+
90%,
|
|
17
|
+
100% {
|
|
18
|
+
transform: translateX(100%);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.scrollWrap {
|
|
23
|
+
animation: scrollWrap linear 4s alternate infinite;
|
|
24
|
+
.scrollItem {
|
|
25
|
+
animation: scrollItem linear 4s alternate infinite;
|
|
26
|
+
}
|
|
27
|
+
&:hover {
|
|
28
|
+
animation-play-state: paused;
|
|
29
|
+
.scrollItem {
|
|
30
|
+
animation-play-state: paused;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.scrollHeightWrap {
|
|
36
|
+
--scroll-height: 20px;
|
|
37
|
+
height: var(--scroll-height);
|
|
38
|
+
.scrollContainer {
|
|
39
|
+
transform: translateY(
|
|
40
|
+
calc(calc(-100% + var(--scroll-height) + var(--scroll-height)) * 2)
|
|
41
|
+
);
|
|
42
|
+
max-height: calc(var(--scroll-height) * 3);
|
|
43
|
+
.unScrollItem {
|
|
44
|
+
max-height: calc(var(--scroll-height) * 2);
|
|
45
|
+
line-height: var(--scroll-height);
|
|
46
|
+
}
|
|
47
|
+
.scrollItem {
|
|
48
|
+
height: var(--scroll-height);
|
|
49
|
+
line-height: var(--scroll-height);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
import { FC, HTMLAttributes } from 'react';
|
|
2
|
-
|
|
3
|
-
import * as style from './index.module.less';
|
|
4
|
-
|
|
5
|
-
export type HorizontalMarqueeProps = HTMLAttributes<HTMLDivElement> &
|
|
6
|
-
Partial<Record<'maxWidth' | 'duration' | 'height', string>>;
|
|
7
|
-
|
|
8
|
-
export const HorizontalMarquee: FC<HorizontalMarqueeProps> = ({
|
|
9
|
-
className = '',
|
|
10
|
-
children,
|
|
11
|
-
maxWidth = '100%',
|
|
12
|
-
duration,
|
|
13
|
-
height,
|
|
14
|
-
...props
|
|
15
|
-
}) => (
|
|
16
|
-
<div className={`overflow-hidden mw-100 ${className}`} {...props}>
|
|
17
|
-
<div
|
|
18
|
-
className={`d-inline-block align-top text-nowrap ${style.scrollWrap}`}
|
|
19
|
-
style={{
|
|
20
|
-
maxWidth,
|
|
21
|
-
animationDuration: duration,
|
|
22
|
-
height,
|
|
23
|
-
lineHeight: height
|
|
24
|
-
}}
|
|
25
|
-
>
|
|
26
|
-
<div
|
|
27
|
-
className={`d-inline-block ${style.scrollItem}`}
|
|
28
|
-
style={{ animationDuration: duration }}
|
|
29
|
-
>
|
|
30
|
-
{children}
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
);
|
|
35
|
-
|
|
36
|
-
export const HorizontalMarqueeBox: FC<HorizontalMarqueeProps> = ({
|
|
37
|
-
children,
|
|
38
|
-
maxWidth,
|
|
39
|
-
duration,
|
|
40
|
-
height
|
|
41
|
-
}) =>
|
|
42
|
-
height ? (
|
|
43
|
-
<div
|
|
44
|
-
className={`overflow-hidden ${style.scrollHeightWrap}`}
|
|
45
|
-
// @ts-expect-error remove after React 19 released
|
|
46
|
-
style={{ maxWidth: maxWidth, '--scroll-height': height }}
|
|
47
|
-
>
|
|
48
|
-
<div
|
|
49
|
-
className={`d-inline-block overflow-hidden mw-100 ${style.scrollContainer}`}
|
|
50
|
-
>
|
|
51
|
-
<div
|
|
52
|
-
className={`d-block overflow-hidden text-wrap text-break ${style.unScrollItem}`}
|
|
53
|
-
>
|
|
54
|
-
{children}
|
|
55
|
-
</div>
|
|
56
|
-
<HorizontalMarquee duration={duration}>
|
|
57
|
-
{children}
|
|
58
|
-
</HorizontalMarquee>
|
|
59
|
-
</div>
|
|
60
|
-
</div>
|
|
61
|
-
) : (
|
|
62
|
-
<HorizontalMarquee {...{ maxWidth, duration, height }}>
|
|
63
|
-
{children}
|
|
64
|
-
</HorizontalMarquee>
|
|
65
|
-
);
|
|
66
|
-
|
|
67
|
-
HorizontalMarquee.displayName = 'HorizontalMarquee';
|
|
1
|
+
import { FC, HTMLAttributes } from 'react';
|
|
2
|
+
|
|
3
|
+
import * as style from './index.module.less';
|
|
4
|
+
|
|
5
|
+
export type HorizontalMarqueeProps = HTMLAttributes<HTMLDivElement> &
|
|
6
|
+
Partial<Record<'maxWidth' | 'duration' | 'height', string>>;
|
|
7
|
+
|
|
8
|
+
export const HorizontalMarquee: FC<HorizontalMarqueeProps> = ({
|
|
9
|
+
className = '',
|
|
10
|
+
children,
|
|
11
|
+
maxWidth = '100%',
|
|
12
|
+
duration,
|
|
13
|
+
height,
|
|
14
|
+
...props
|
|
15
|
+
}) => (
|
|
16
|
+
<div className={`overflow-hidden mw-100 ${className}`} {...props}>
|
|
17
|
+
<div
|
|
18
|
+
className={`d-inline-block align-top text-nowrap ${style.scrollWrap}`}
|
|
19
|
+
style={{
|
|
20
|
+
maxWidth,
|
|
21
|
+
animationDuration: duration,
|
|
22
|
+
height,
|
|
23
|
+
lineHeight: height
|
|
24
|
+
}}
|
|
25
|
+
>
|
|
26
|
+
<div
|
|
27
|
+
className={`d-inline-block ${style.scrollItem}`}
|
|
28
|
+
style={{ animationDuration: duration }}
|
|
29
|
+
>
|
|
30
|
+
{children}
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
);
|
|
35
|
+
|
|
36
|
+
export const HorizontalMarqueeBox: FC<HorizontalMarqueeProps> = ({
|
|
37
|
+
children,
|
|
38
|
+
maxWidth,
|
|
39
|
+
duration,
|
|
40
|
+
height
|
|
41
|
+
}) =>
|
|
42
|
+
height ? (
|
|
43
|
+
<div
|
|
44
|
+
className={`overflow-hidden ${style.scrollHeightWrap}`}
|
|
45
|
+
// @ts-expect-error remove after React 19 released
|
|
46
|
+
style={{ maxWidth: maxWidth, '--scroll-height': height }}
|
|
47
|
+
>
|
|
48
|
+
<div
|
|
49
|
+
className={`d-inline-block overflow-hidden mw-100 ${style.scrollContainer}`}
|
|
50
|
+
>
|
|
51
|
+
<div
|
|
52
|
+
className={`d-block overflow-hidden text-wrap text-break ${style.unScrollItem}`}
|
|
53
|
+
>
|
|
54
|
+
{children}
|
|
55
|
+
</div>
|
|
56
|
+
<HorizontalMarquee duration={duration}>
|
|
57
|
+
{children}
|
|
58
|
+
</HorizontalMarquee>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
) : (
|
|
62
|
+
<HorizontalMarquee {...{ maxWidth, duration, height }}>
|
|
63
|
+
{children}
|
|
64
|
+
</HorizontalMarquee>
|
|
65
|
+
);
|
|
66
|
+
|
|
67
|
+
HorizontalMarquee.displayName = 'HorizontalMarquee';
|
package/source/Loading.tsx
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { FC, HTMLAttributes } from 'react';
|
|
2
|
-
import { Spinner } from 'react-bootstrap';
|
|
3
|
-
|
|
4
|
-
export type LoadingProps = HTMLAttributes<HTMLDivElement>;
|
|
5
|
-
|
|
6
|
-
export const Loading: FC<LoadingProps> = ({
|
|
7
|
-
className = '',
|
|
8
|
-
children = 'Loading...',
|
|
9
|
-
...props
|
|
10
|
-
}) => (
|
|
11
|
-
<div
|
|
12
|
-
className={`fixed-top h-100 w-100 d-flex justify-content-center align-items-center opacity-25 bg-black ${className}`}
|
|
13
|
-
{...props}
|
|
14
|
-
>
|
|
15
|
-
<Spinner animation="border" variant="success" />
|
|
16
|
-
|
|
17
|
-
<span className="ml-3 text-white">{children}</span>
|
|
18
|
-
</div>
|
|
19
|
-
);
|
|
20
|
-
|
|
21
|
-
Loading.displayName = 'Loading';
|
|
1
|
+
import { FC, HTMLAttributes } from 'react';
|
|
2
|
+
import { Spinner } from 'react-bootstrap';
|
|
3
|
+
|
|
4
|
+
export type LoadingProps = HTMLAttributes<HTMLDivElement>;
|
|
5
|
+
|
|
6
|
+
export const Loading: FC<LoadingProps> = ({
|
|
7
|
+
className = '',
|
|
8
|
+
children = 'Loading...',
|
|
9
|
+
...props
|
|
10
|
+
}) => (
|
|
11
|
+
<div
|
|
12
|
+
className={`fixed-top h-100 w-100 d-flex justify-content-center align-items-center opacity-25 bg-black ${className}`}
|
|
13
|
+
{...props}
|
|
14
|
+
>
|
|
15
|
+
<Spinner animation="border" variant="success" />
|
|
16
|
+
|
|
17
|
+
<span className="ml-3 text-white">{children}</span>
|
|
18
|
+
</div>
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
Loading.displayName = 'Loading';
|