@rc-component/steps
Advanced tools
| "use strict";(self.webpackChunk_rc_component_steps=self.webpackChunk_rc_component_steps||[]).push([[923],{26520:function(P,r,e){e.r(r),e.d(r,{default:function(){return j}});var g=e(5574),y=e.n(g),n=e(67294),o=e(53683),C=e(38024),x=e(64236),s=null,a=e(90482),T=e(85893),l={},i={name:"@rc-component/steps",description:"steps ui component for react",version:"1.2.0-alpha.0",license:"MIT",repository:{type:"git",url:" git+ssh://git@github.com/react-component/steps.git"}},u="browser",c=void 0,m={footer:'Copyright \xA9 2025 | Powered by <a href="https://d.umijs.org" target="_blank" rel="noreferrer">dumi</a>',prefersColor:{default:"light",switch:!0},nprogress:!0,lastUpdated:!0,name:"Steps",logo:"https://avatars0.githubusercontent.com/u/9441414?s=200&v=4"},p=!1;function j(){var E=(0,o.pC)(),S=(0,n.useState)(!1),v=y()(S,2),d=v[0],f=v[1],h=(0,n.useRef)(o.m8.location.pathname);(0,n.useEffect)(function(){return o.m8.listen(function(t){t.location.pathname!==h.current&&(h.current=t.location.pathname,document.documentElement.scrollTo(0,0))})},[]);var D=n.useMemo(function(){var t={pkg:i,historyType:u,entryExports:l,demos:null,components:s,locales:a.k,loading:d,setLoading:f,hostname:c,themeConfig:m,_2_level_nav_available:p};return Object.defineProperty(t,"demos",{get:function(){return(0,C.Kp)(!1,"`demos` return empty in latest version, please use `useDemo` instead."),{}}}),t},[i,u,l,s,a.k,d,f,c,m,p]);return(0,T.jsx)(x.D.Provider,{value:D,children:E})}}}]); |
| @font-face{font-family:anticon;src:url(//at.alicdn.com/t/font_1434092639_4910953.eot);src:url(//at.alicdn.com/t/font_1434092639_4910953.eot?#iefix) format("embedded-opentype"),url(//at.alicdn.com/t/font_1434092639_4910953.woff) format("woff"),url(//at.alicdn.com/t/font_1434092639_4910953.ttf) format("truetype"),url(//at.alicdn.com/t/font_1434092639_4910953.svg#iconfont) format("svg")}.rcicon{position:relative;display:inline-block;font-style:normal;vertical-align:baseline;text-align:center;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-webkit-text-stroke-width:0px;-moz-osx-font-smoothing:grayscale}.rcicon:before{display:block;font-family:anticon!important}.rcicon-step-backward:before{content:"\e662"}.rcicon-step-forward{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.rcicon-step-forward:before{content:"\e662";transform:rotate(180deg)}.rcicon-fast-backward:before{content:"\e62a"}.rcicon-fast-forward{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.rcicon-fast-forward:before{content:"\e62a";transform:rotate(180deg)}.rcicon-shrink:before{content:"\e65f"}.rcicon-arrow-salt:before{content:"\e608"}.rcicon-caret-down:before{content:"\e60f"}.rcicon-caret-left{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1)}.rcicon-caret-left:before{content:"\e60f";transform:rotate(90deg)}.rcicon-caret-up{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.rcicon-caret-up:before{content:"\e60f";transform:rotate(180deg)}.rcicon-caret-right{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3)}.rcicon-caret-right:before{content:"\e60f";transform:rotate(270deg)}.rcicon-caret-circle-right:before{content:"\e60d"}.rcicon-caret-circle-left{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.rcicon-caret-circle-left:before{content:"\e60d";transform:rotate(180deg)}.rcicon-caret-circle-o-right:before{content:"\e60e"}.rcicon-caret-circle-o-left{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.rcicon-caret-circle-o-left:before{content:"\e60e";transform:rotate(180deg)}.rcicon-circle-right:before{content:"\e602"}.rcicon-circle-left{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.rcicon-circle-left:before{content:"\e602";transform:rotate(180deg)}.rcicon-circle-o-right:before{content:"\e603"}.rcicon-circle-o-left{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.rcicon-circle-o-left:before{content:"\e603";transform:rotate(180deg)}.rcicon-double-right:before{content:"\e604"}.rcicon-double-left{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.rcicon-double-left:before{content:"\e604";transform:rotate(180deg)}.rcicon-verticle-right:before{content:"\e605"}.rcicon-verticle-left{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.rcicon-verticle-left:before{content:"\e605";transform:rotate(180deg)}.rcicon-forward:before{content:"\e630"}.rcicon-backward{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.rcicon-backward:before{content:"\e630";transform:rotate(180deg)}.rcicon-rollback:before{content:"\e65a"}.rcicon-retweet:before{content:"\e659"}.rcicon-right:before{content:"\e611"}.rcicon-down{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1)}.rcicon-down:before{content:"\e611";transform:rotate(90deg)}.rcicon-left{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.rcicon-left:before{content:"\e611";transform:rotate(180deg)}.rcicon-up{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3)}.rcicon-up:before{content:"\e611";transform:rotate(270deg)}.rcicon-question:before{content:"\e655"}.rcicon-question-circle:before{content:"\e656"}.rcicon-question-circle-o:before{content:"\e657"}.rcicon-plus:before{content:"\e651"}.rcicon-plus-circle:before{content:"\e652"}.rcicon-plus-circle-o:before{content:"\e653"}.rcicon-pause:before{content:"\e64c"}.rcicon-pause-circle:before{content:"\e64d"}.rcicon-pause-circle-o:before{content:"\e64e"}.rcicon-minus:before{content:"\e646"}.rcicon-minus-circle:before{content:"\e647"}.rcicon-minus-circle-o:before{content:"\e648"}.rcicon-info-circle:before{content:"\e637"}.rcicon-info-circle-o:before{content:"\e638"}.rcicon-info:before{content:"\e63a"}.rcicon-exclamation:before{content:"\e627"}.rcicon-exclamation-circle:before{content:"\e628"}.rcicon-exclamation-circle-o:before{content:"\e629"}.rcicon-cross:before{content:"\e61e"}.rcicon-cross-circle:before{content:"\e61f"}.rcicon-cross-circle-o:before{content:"\e620"}.rcicon-check:before{content:"\e613"}.rcicon-check-circle:before{content:"\e614"}.rcicon-check-circle-o:before{content:"\e615"}.rcicon-clock-circle:before{content:"\e616"}.rcicon-clock-circle-o:before{content:"\e617"}.rcicon-lock:before{content:"\e641"}.rcicon-android:before{content:"\e601"}.rcicon-apple:before{content:"\e606"}.rcicon-area-chart:before{content:"\e607"}.rcicon-bar-chart:before{content:"\e609"}.rcicon-bars:before{content:"\e60a"}.rcicon-book:before{content:"\e60b"}.rcicon-calendar:before{content:"\e60c"}.rcicon-cloud:before{content:"\e618"}.rcicon-cloud-download:before{content:"\e619"}.rcicon-code:before{content:"\e61a"}.rcicon-copy:before{content:"\e61c"}.rcicon-credit-card:before{content:"\e61d"}.rcicon-delete:before{content:"\e621"}.rcicon-desktop:before{content:"\e622"}.rcicon-download-line:before{content:"\e623"}.rcicon-edit:before{content:"\e624"}.rcicon-ellipsis:before{content:"\e625"}.rcicon-environment:before{content:"\e626"}.rcicon-file:before{content:"\e62c"}.rcicon-file-text:before{content:"\e62d"}.rcicon-folder:before{content:"\e62e"}.rcicon-folder-open:before{content:"\e62f"}.rcicon-github:before{content:"\e631"}.rcicon-hdd:before{content:"\e632"}.rcicon-frown:before{content:"\e633"}.rcicon-meh:before{content:"\e634"}.rcicon-inbox:before{content:"\e635"}.rcicon-laptop:before{content:"\e63d"}.rcicon-large:before{content:"\e63e"}.rcicon-line-chart:before{content:"\e63f"}.rcicon-link:before{content:"\e640"}.rcicon-logout:before{content:"\e642"}.rcicon-mail:before{content:"\e643"}.rcicon-menu-fold:before{content:"\e644"}.rcicon-menu-unfold:before{content:"\e645"}.rcicon-mobile:before{content:"\e649"}.rcicon-notification:before{content:"\e64a"}.rcicon-paper-clip:before{content:"\e64b"}.rcicon-picture:before{content:"\e64f"}.rcicon-pie-chart:before{content:"\e650"}.rcicon-poweroff:before{content:"\e654"}.rcicon-reload:before{content:"\e658"}.rcicon-search:before{content:"\e65b"}.rcicon-setting:before{content:"\e65c"}.rcicon-share-alt:before{content:"\e65d"}.rcicon-shopping-cart:before{content:"\e65e"}.rcicon-smile:before{content:"\e661"}.rcicon-tablet:before{content:"\e664"}.rcicon-tag:before{content:"\e665"}.rcicon-tags:before{content:"\e666"}.rcicon-to-top:before{content:"\e667"}.rcicon-unlock:before{content:"\e668"}.rcicon-upload:before{content:"\e669"}.rcicon-user:before{content:"\e66a"}.rcicon-video-camera:before{content:"\e66b"}.rcicon-windows:before{content:"\e66c"}.rcicon-loading:before{display:inline-block;animation:loadingCircle 1s infinite linear;content:"\e610"}:root .rcicon-step-forward,:root .rcicon-fast-forward,:root .rcicon-left,:root .rcicon-up,:root .rcicon-down,:root .rcicon-caret-left,:root .rcicon-caret-up,:root .rcicon-caret-right,:root .rcicon-caret-circle-left,:root .rcicon-caret-circle-o-left,:root .rcicon-circle-left,:root .rcicon-circle-o-left,:root .rcicon-double-left,:root .rcicon-verticle-left,:root .rcicon-backward{filter:none}.rc-steps{font-size:0;width:100%;line-height:1.5;display:flex}.rc-steps,.rc-steps *{box-sizing:border-box}.rc-steps-item{position:relative;display:inline-block;vertical-align:top;flex:1 1}.rc-steps-item:last-child{flex:none}.rc-steps-item:last-child .rc-steps-item-title:after{display:none}.rc-steps-item-icon,.rc-steps-item-section{display:inline-block;vertical-align:top}.rc-steps-item-icon{flex:none;border:1px solid #ccc;width:26px;height:26px;line-height:26px;text-align:center;border-radius:26px;font-size:14px;transition:background-color .3s,border-color .3s}.rc-steps-item-icon>.rc-steps-icon{line-height:1;top:-1px;color:#108ee9;position:relative}.rc-steps-item-icon>.rc-steps-icon.rcicon{font-size:12px;position:relative;top:-2px}.rc-steps-item-section{margin-top:3px}.rc-steps-item-title{font-size:14px;color:#666;font-weight:700;display:inline-block;position:relative}.rc-steps-item-subtitle{font-size:12px;display:inline-block;color:#999}.rc-steps-item-description{font-size:12px;color:#999}.rc-steps-item-wait .rc-steps-item-icon{border-color:#ccc;background-color:#fff}.rc-steps-item-wait .rc-steps-item-icon>.rc-steps-icon{color:#ccc}.rc-steps-item-wait .rc-steps-item-icon>.rc-steps-icon .rc-steps-icon-dot{background:#ccc}.rc-steps-item-wait .rc-steps-item-title,.rc-steps-item-wait .rc-steps-item-description{color:#0000006e}.rc-steps-item-process .rc-steps-item-icon{border-color:#108ee9;background-color:#fff}.rc-steps-item-process .rc-steps-item-icon>.rc-steps-icon{color:#108ee9}.rc-steps-item-process .rc-steps-item-icon>.rc-steps-icon .rc-steps-icon-dot{background:#108ee9}.rc-steps-item-process .rc-steps-item-title,.rc-steps-item-process .rc-steps-item-description{color:#000000a6}.rc-steps-item-process .rc-steps-item-icon{background:#108ee9}.rc-steps-item-process .rc-steps-item-icon>.rc-steps-icon{color:#fff}.rc-steps-item-finish .rc-steps-item-icon{border-color:#108ee9;background-color:#fff}.rc-steps-item-finish .rc-steps-item-icon>.rc-steps-icon{color:#108ee9}.rc-steps-item-finish .rc-steps-item-icon>.rc-steps-icon .rc-steps-icon-dot{background:#108ee9}.rc-steps-item-finish .rc-steps-item-title,.rc-steps-item-finish .rc-steps-item-description{color:#0000006e}.rc-steps-item-error .rc-steps-item-icon{border-color:#f50;background-color:#fff}.rc-steps-item-error .rc-steps-item-icon>.rc-steps-icon{color:#f50}.rc-steps-item-error .rc-steps-item-icon>.rc-steps-icon .rc-steps-icon-dot{background:#f50}.rc-steps-item-error .rc-steps-item-title,.rc-steps-item-error .rc-steps-item-description{color:#f50}.rc-steps-item.rc-steps-next-error .rc-steps-item-title:after{background:#f50}.rc-steps-horizontal:not(.rc-steps-label-vertical) .rc-steps-item-description{max-width:100px}.rc-steps .rc-steps-item-section{min-width:0}.rc-steps .rc-steps-item-header{display:flex;gap:8px;align-items:center}.rc-steps .rc-steps-item-title,.rc-steps .rc-steps-item-subtitle,.rc-steps .rc-steps-item-description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rc-steps-horizontal .rc-steps-item{flex:1 1;position:relative;min-width:0}.rc-steps-horizontal .rc-steps-item-rail{height:1px;background:#e9e9e9}.rc-steps-horizontal.rc-steps-label-vertical .rc-steps-item{display:flex;flex-direction:column;align-items:center;padding-inline:8px}.rc-steps-horizontal.rc-steps-label-vertical .rc-steps-item-section{display:flex;flex-direction:column;align-items:center}.rc-steps-horizontal.rc-steps-label-vertical .rc-steps-item-rail{position:absolute;top:13px;left:calc(50% + 13px);width:100%}.rc-steps-horizontal.rc-steps-label-horizontal .rc-steps-item{display:flex}.rc-steps-horizontal.rc-steps-label-horizontal .rc-steps-item:last-child{flex:none}.rc-steps-horizontal.rc-steps-label-horizontal .rc-steps-item-section{flex:1 1}.rc-steps-horizontal.rc-steps-label-horizontal .rc-steps-item-rail{flex:1 1;min-width:0}.my-step-form{width:100%}.my-step-form>div{margin-bottom:20px}.my-step-container{width:100%} |
Sorry, the diff of this file is too big to display
| !function(){"use strict";var t="/".replace(/([^/])$/,"$1/"),e=location.pathname,n=e.startsWith(t)&&decodeURI("/".concat(e.slice(t.length)));if(n){var a=document,c=a.head,r=a.createElement.bind(a),i=function(t,e,n){var a,c=e.r[t]||(null===(a=Object.entries(e.r).find((function(e){var n=e[0];return new RegExp("^".concat(n.replace(/\/:[^/]+/g,"/[^/]+").replace("/*","/.+"),"$")).test(t)})))||void 0===a?void 0:a[1]);return null==c?void 0:c.map((function(t){var a=e.f[t][1],c=e.f[t][0];return{type:c.split(".").pop(),url:"".concat(n.publicPath).concat(c),attrs:[["data-".concat(e.b),"".concat(e.p,":").concat(a)]]}}))}(n,{"p":"@rc-component/steps","b":"webpack","f":[["nm__dumi__dist__client__pages__Demo__index.578aa5c0.chunk.css",9],["nm__dumi__dist__client__pages__Demo__index.7c088c5b.async.js",9],["nm__dumi__dist__client__pages__404.8b85f2d9.chunk.css",65],["nm__dumi__dist__client__pages__404.f32ed690.async.js",65],["docs__demo__stepIcon.md.33be0665.chunk.css",68],["docs__demo__stepIcon.md.672a50aa.async.js",68],["docs__demo__nav-base.md.33be0665.chunk.css",138],["docs__demo__nav-base.md.607db000.async.js",138],["docs__demo__custom-svg-icon.md.33be0665.chunk.css",145],["docs__demo__custom-svg-icon.md.ed3e7546.async.js",145],["docs__demo__alternativeLabel.md.33be0665.chunk.css",147],["docs__demo__alternativeLabel.md.23211483.async.js",147],["docs__demo__progressDot.md.33be0665.chunk.css",343],["docs__demo__progressDot.md.9af8f887.async.js",343],["docs__demo__inline.md.33be0665.chunk.css",398],["docs__demo__inline.md.0f043b8e.async.js",398],["docs__demo__verticalSmall.md.33be0665.chunk.css",505],["docs__demo__verticalSmall.md.da618aed.async.js",505],["docs__demo__customIcon.md.33be0665.chunk.css",506],["docs__demo__customIcon.md.192900c7.async.js",506],["nm__dumi__theme-default__layouts__DocLayout__index.cec00151.async.js",519],["docs__demo__vertical.md.33be0665.chunk.css",536],["docs__demo__vertical.md.8fa1a11f.async.js",536],["docs__demo__composable.md.33be0665.chunk.css",555],["docs__demo__composable.md.26e627fc.async.js",555],["574.e8c51481.chunk.css",574],["574.df2b6bcf.async.js",574],["docs__demo__dynamic.md.33be0665.chunk.css",599],["docs__demo__dynamic.md.77f70aeb.async.js",599],["docs__demo__errorStep.md.33be0665.chunk.css",636],["docs__demo__errorStep.md.c493a05b.async.js",636],["docs__demo__nextStep.md.33be0665.chunk.css",639],["docs__demo__nextStep.md.4063bd3d.async.js",639],["docs__demo__simple.md.33be0665.chunk.css",714],["docs__demo__simple.md.b595be88.async.js",714],["dumi__tmp-production__dumi__theme__ContextWrapper.d97d9542.async.js",923],["docs__index.md.33be0665.chunk.css",935],["docs__index.md.1a2118bd.async.js",935],["972.c85cf207.async.js",972],["docs__demo__smallSize.md.33be0665.chunk.css",998],["docs__demo__smallSize.md.a8a7d158.async.js",998]],"r":{"/*":[2,3,20,25,26,35],"/":[36,37,38,20,25,26,35],"/~demos/:id":[0,1,35],"/demo/alternative-label":[10,11,38,20,25,26,35],"/demo/custom-svg-icon":[8,9,38,20,25,26,35],"/demo/vertical-small":[16,17,38,20,25,26,35],"/demo/progress-dot":[12,13,38,20,25,26,35],"/demo/composable":[23,24,38,20,25,26,35],"/demo/custom-icon":[18,19,38,20,25,26,35],"/demo/error-step":[29,30,38,20,25,26,35],"/demo/small-size":[38,39,40,20,25,26,35],"/demo/nav-base":[6,7,38,20,25,26,35],"/demo/next-step":[31,32,38,20,25,26,35],"/demo/step-icon":[4,5,38,20,25,26,35],"/demo/vertical":[21,22,38,20,25,26,35],"/demo/dynamic":[27,28,38,20,25,26,35],"/demo/inline":[14,15,38,20,25,26,35],"/demo/simple":[33,34,38,20,25,26,35]}},{publicPath:"/"});null==i||i.forEach((function(t){var e,n=t.type,a=t.url;if("js"===n)(e=r("script")).src=a,e.async=!0;else{if("css"!==n)return;(e=r("link")).href=a,e.rel="preload",e.as="style"}t.attrs.forEach((function(t){e.setAttribute(t[0],t[1]||"")})),c.appendChild(e)}))}}(); |
Sorry, the diff of this file is too big to display
| import * as React from 'react'; | ||
| export interface UnstableContextProps { | ||
| /** | ||
| * Used for Timeline component `reverse` prop. | ||
| * Safe to remove if refactor. | ||
| */ | ||
| railFollowPrevStatus?: boolean; | ||
| } | ||
| export declare const UnstableContext: React.Context<UnstableContextProps>; |
| import * as React from 'react'; | ||
| export const UnstableContext = /*#__PURE__*/React.createContext({}); |
| import * as React from 'react'; | ||
| export interface UnstableContextProps { | ||
| /** | ||
| * Used for Timeline component `reverse` prop. | ||
| * Safe to remove if refactor. | ||
| */ | ||
| railFollowPrevStatus?: boolean; | ||
| } | ||
| export declare const UnstableContext: React.Context<UnstableContextProps>; |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { | ||
| value: true | ||
| }); | ||
| exports.UnstableContext = void 0; | ||
| var React = _interopRequireWildcard(require("react")); | ||
| function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); } | ||
| function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | ||
| const UnstableContext = exports.UnstableContext = /*#__PURE__*/React.createContext({}); |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
+2
-2
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
+2
-2
@@ -9,8 +9,8 @@ <!DOCTYPE html> | ||
| <link rel="stylesheet" href="/umi.4e0bcd92.css"> | ||
| <script src="/preload_helper.3ce91e01.js"></script> | ||
| <script src="/preload_helper.a52cd2b9.js"></script> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script src="/umi.50b65889.js"></script> | ||
| <script src="/umi.678d305d.js"></script> | ||
| </body> | ||
| </html> |
+1
-0
@@ -5,2 +5,3 @@ import Steps, { type StepsProps } from './Steps'; | ||
| export type { StepsProps }; | ||
| export { UnstableContext } from './UnstableContext'; | ||
| export default Steps; |
+1
-0
| import Steps from "./Steps"; | ||
| import Step from "./Step"; | ||
| export { Step }; | ||
| export { UnstableContext } from "./UnstableContext"; | ||
| export default Steps; |
+7
-4
@@ -7,2 +7,3 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
| import Rail from "./Rail"; | ||
| import { UnstableContext } from "./UnstableContext"; | ||
| function hasContent(value) { | ||
@@ -32,2 +33,7 @@ return value !== undefined && value !== null; | ||
| // ==================== Internal Context ==================== | ||
| const { | ||
| railFollowPrevStatus | ||
| } = React.useContext(UnstableContext); | ||
| // ========================== Data ========================== | ||
@@ -87,5 +93,2 @@ const { | ||
| }, className, classNames.item); | ||
| // !hasContent(title) && !hasContent(subTitle) && `${itemCls}-header-empty` | ||
| const wrapperNode = /*#__PURE__*/React.createElement("div", { | ||
@@ -114,3 +117,3 @@ className: cls(`${itemCls}-wrapper`, classNames.itemWrapper), | ||
| styles: styles, | ||
| status: nextStatus | ||
| status: railFollowPrevStatus ? status : nextStatus | ||
| })), hasContent(mergedContent) && /*#__PURE__*/React.createElement("div", { | ||
@@ -117,0 +120,0 @@ className: cls(`${itemCls}-content`, classNames.itemContent), |
+1
-0
@@ -5,2 +5,3 @@ import Steps, { type StepsProps } from './Steps'; | ||
| export type { StepsProps }; | ||
| export { UnstableContext } from './UnstableContext'; | ||
| export default Steps; |
+7
-0
@@ -12,6 +12,13 @@ "use strict"; | ||
| }); | ||
| Object.defineProperty(exports, "UnstableContext", { | ||
| enumerable: true, | ||
| get: function () { | ||
| return _UnstableContext.UnstableContext; | ||
| } | ||
| }); | ||
| exports.default = void 0; | ||
| var _Steps = _interopRequireDefault(require("./Steps")); | ||
| var _Step = _interopRequireDefault(require("./Step")); | ||
| var _UnstableContext = require("./UnstableContext"); | ||
| function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
| var _default = exports.default = _Steps.default; |
+7
-4
@@ -11,2 +11,3 @@ "use strict"; | ||
| var _Rail = _interopRequireDefault(require("./Rail")); | ||
| var _UnstableContext = require("./UnstableContext"); | ||
| function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -40,2 +41,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); } | ||
| // ==================== Internal Context ==================== | ||
| const { | ||
| railFollowPrevStatus | ||
| } = React.useContext(_UnstableContext.UnstableContext); | ||
| // ========================== Data ========================== | ||
@@ -95,5 +101,2 @@ const { | ||
| }, className, classNames.item); | ||
| // !hasContent(title) && !hasContent(subTitle) && `${itemCls}-header-empty` | ||
| const wrapperNode = /*#__PURE__*/React.createElement("div", { | ||
@@ -122,3 +125,3 @@ className: (0, _classnames.default)(`${itemCls}-wrapper`, classNames.itemWrapper), | ||
| styles: styles, | ||
| status: nextStatus | ||
| status: railFollowPrevStatus ? status : nextStatus | ||
| })), hasContent(mergedContent) && /*#__PURE__*/React.createElement("div", { | ||
@@ -125,0 +128,0 @@ className: (0, _classnames.default)(`${itemCls}-content`, classNames.itemContent), |
+1
-1
| { | ||
| "name": "@rc-component/steps", | ||
| "version": "1.2.0-alpha.0", | ||
| "version": "1.2.0-alpha.1", | ||
| "description": "steps ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
| "use strict";(self.webpackChunk_rc_component_steps=self.webpackChunk_rc_component_steps||[]).push([[923],{26520:function(P,r,e){e.r(r),e.d(r,{default:function(){return j}});var h=e(5574),y=e.n(h),n=e(67294),o=e(53683),C=e(38024),x=e(64236),s=null,a=e(90482),T=e(85893),l={},i={name:"@rc-component/steps",description:"steps ui component for react",version:"1.1.0",license:"MIT",repository:{type:"git",url:" git+ssh://git@github.com/react-component/steps.git"}},u="browser",c=void 0,m={footer:'Copyright \xA9 2025 | Powered by <a href="https://d.umijs.org" target="_blank" rel="noreferrer">dumi</a>',prefersColor:{default:"light",switch:!0},nprogress:!0,lastUpdated:!0,name:"Steps",logo:"https://avatars0.githubusercontent.com/u/9441414?s=200&v=4"},p=!1;function j(){var E=(0,o.pC)(),S=(0,n.useState)(!1),v=y()(S,2),d=v[0],f=v[1],g=(0,n.useRef)(o.m8.location.pathname);(0,n.useEffect)(function(){return o.m8.listen(function(t){t.location.pathname!==g.current&&(g.current=t.location.pathname,document.documentElement.scrollTo(0,0))})},[]);var D=n.useMemo(function(){var t={pkg:i,historyType:u,entryExports:l,demos:null,components:s,locales:a.k,loading:d,setLoading:f,hostname:c,themeConfig:m,_2_level_nav_available:p};return Object.defineProperty(t,"demos",{get:function(){return(0,C.Kp)(!1,"`demos` return empty in latest version, please use `useDemo` instead."),{}}}),t},[i,u,l,s,a.k,d,f,c,m,p]);return(0,T.jsx)(x.D.Provider,{value:D,children:E})}}}]); |
Sorry, the diff of this file is too big to display
| .rc-steps{font-size:0;width:100%;line-height:1.5;display:flex}.rc-steps,.rc-steps *{box-sizing:border-box}.rc-steps-item{position:relative;display:inline-block;vertical-align:top;flex:1 1}.rc-steps-item:last-child{flex:none}.rc-steps-item:last-child .rc-steps-item-title:after{display:none}.rc-steps-item-icon,.rc-steps-item-section{display:inline-block;vertical-align:top}.rc-steps-item-icon{flex:none;border:1px solid #ccc;width:26px;height:26px;line-height:26px;text-align:center;border-radius:26px;font-size:14px;transition:background-color .3s,border-color .3s}.rc-steps-item-icon>.rc-steps-icon{line-height:1;top:-1px;color:#108ee9;position:relative}.rc-steps-item-icon>.rc-steps-icon.rcicon{font-size:12px;position:relative;top:-2px}.rc-steps-item-section{margin-top:3px}.rc-steps-item-title{font-size:14px;color:#666;font-weight:700;display:inline-block;position:relative}.rc-steps-item-subtitle{font-size:12px;display:inline-block;color:#999}.rc-steps-item-description{font-size:12px;color:#999}.rc-steps-item-wait .rc-steps-item-icon{border-color:#ccc;background-color:#fff}.rc-steps-item-wait .rc-steps-item-icon>.rc-steps-icon{color:#ccc}.rc-steps-item-wait .rc-steps-item-icon>.rc-steps-icon .rc-steps-icon-dot{background:#ccc}.rc-steps-item-wait .rc-steps-item-title,.rc-steps-item-wait .rc-steps-item-description{color:#0000006e}.rc-steps-item-process .rc-steps-item-icon{border-color:#108ee9;background-color:#fff}.rc-steps-item-process .rc-steps-item-icon>.rc-steps-icon{color:#108ee9}.rc-steps-item-process .rc-steps-item-icon>.rc-steps-icon .rc-steps-icon-dot{background:#108ee9}.rc-steps-item-process .rc-steps-item-title,.rc-steps-item-process .rc-steps-item-description{color:#000000a6}.rc-steps-item-process .rc-steps-item-icon{background:#108ee9}.rc-steps-item-process .rc-steps-item-icon>.rc-steps-icon{color:#fff}.rc-steps-item-finish .rc-steps-item-icon{border-color:#108ee9;background-color:#fff}.rc-steps-item-finish .rc-steps-item-icon>.rc-steps-icon{color:#108ee9}.rc-steps-item-finish .rc-steps-item-icon>.rc-steps-icon .rc-steps-icon-dot{background:#108ee9}.rc-steps-item-finish .rc-steps-item-title,.rc-steps-item-finish .rc-steps-item-description{color:#0000006e}.rc-steps-item-error .rc-steps-item-icon{border-color:#f50;background-color:#fff}.rc-steps-item-error .rc-steps-item-icon>.rc-steps-icon{color:#f50}.rc-steps-item-error .rc-steps-item-icon>.rc-steps-icon .rc-steps-icon-dot{background:#f50}.rc-steps-item-error .rc-steps-item-title,.rc-steps-item-error .rc-steps-item-description{color:#f50}.rc-steps-item.rc-steps-next-error .rc-steps-item-title:after{background:#f50}.rc-steps-horizontal:not(.rc-steps-label-vertical) .rc-steps-item-description{max-width:100px}.rc-steps .rc-steps-item-section{min-width:0}.rc-steps .rc-steps-item-header{display:flex;gap:8px;align-items:center}.rc-steps .rc-steps-item-title,.rc-steps .rc-steps-item-subtitle,.rc-steps .rc-steps-item-description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rc-steps-horizontal .rc-steps-item{flex:1 1;position:relative;min-width:0}.rc-steps-horizontal .rc-steps-item-rail{height:1px;background:#e9e9e9}.rc-steps-horizontal.rc-steps-label-vertical .rc-steps-item{display:flex;flex-direction:column;align-items:center;padding-inline:8px}.rc-steps-horizontal.rc-steps-label-vertical .rc-steps-item-section{display:flex;flex-direction:column;align-items:center}.rc-steps-horizontal.rc-steps-label-vertical .rc-steps-item-rail{position:absolute;top:13px;left:calc(50% + 13px);width:100%}.rc-steps-horizontal.rc-steps-label-horizontal .rc-steps-item{display:flex}.rc-steps-horizontal.rc-steps-label-horizontal .rc-steps-item:last-child{flex:none}.rc-steps-horizontal.rc-steps-label-horizontal .rc-steps-item-section{flex:1 1}.rc-steps-horizontal.rc-steps-label-horizontal .rc-steps-item-rail{flex:1 1;min-width:0}@font-face{font-family:anticon;src:url(//at.alicdn.com/t/font_1434092639_4910953.eot);src:url(//at.alicdn.com/t/font_1434092639_4910953.eot?#iefix) format("embedded-opentype"),url(//at.alicdn.com/t/font_1434092639_4910953.woff) format("woff"),url(//at.alicdn.com/t/font_1434092639_4910953.ttf) format("truetype"),url(//at.alicdn.com/t/font_1434092639_4910953.svg#iconfont) format("svg")}.rcicon{position:relative;display:inline-block;font-style:normal;vertical-align:baseline;text-align:center;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-webkit-text-stroke-width:0px;-moz-osx-font-smoothing:grayscale}.rcicon:before{display:block;font-family:anticon!important}.rcicon-step-backward:before{content:"\e662"}.rcicon-step-forward{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.rcicon-step-forward:before{content:"\e662";transform:rotate(180deg)}.rcicon-fast-backward:before{content:"\e62a"}.rcicon-fast-forward{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.rcicon-fast-forward:before{content:"\e62a";transform:rotate(180deg)}.rcicon-shrink:before{content:"\e65f"}.rcicon-arrow-salt:before{content:"\e608"}.rcicon-caret-down:before{content:"\e60f"}.rcicon-caret-left{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1)}.rcicon-caret-left:before{content:"\e60f";transform:rotate(90deg)}.rcicon-caret-up{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.rcicon-caret-up:before{content:"\e60f";transform:rotate(180deg)}.rcicon-caret-right{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3)}.rcicon-caret-right:before{content:"\e60f";transform:rotate(270deg)}.rcicon-caret-circle-right:before{content:"\e60d"}.rcicon-caret-circle-left{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.rcicon-caret-circle-left:before{content:"\e60d";transform:rotate(180deg)}.rcicon-caret-circle-o-right:before{content:"\e60e"}.rcicon-caret-circle-o-left{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.rcicon-caret-circle-o-left:before{content:"\e60e";transform:rotate(180deg)}.rcicon-circle-right:before{content:"\e602"}.rcicon-circle-left{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.rcicon-circle-left:before{content:"\e602";transform:rotate(180deg)}.rcicon-circle-o-right:before{content:"\e603"}.rcicon-circle-o-left{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.rcicon-circle-o-left:before{content:"\e603";transform:rotate(180deg)}.rcicon-double-right:before{content:"\e604"}.rcicon-double-left{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.rcicon-double-left:before{content:"\e604";transform:rotate(180deg)}.rcicon-verticle-right:before{content:"\e605"}.rcicon-verticle-left{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.rcicon-verticle-left:before{content:"\e605";transform:rotate(180deg)}.rcicon-forward:before{content:"\e630"}.rcicon-backward{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.rcicon-backward:before{content:"\e630";transform:rotate(180deg)}.rcicon-rollback:before{content:"\e65a"}.rcicon-retweet:before{content:"\e659"}.rcicon-right:before{content:"\e611"}.rcicon-down{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1)}.rcicon-down:before{content:"\e611";transform:rotate(90deg)}.rcicon-left{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.rcicon-left:before{content:"\e611";transform:rotate(180deg)}.rcicon-up{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3)}.rcicon-up:before{content:"\e611";transform:rotate(270deg)}.rcicon-question:before{content:"\e655"}.rcicon-question-circle:before{content:"\e656"}.rcicon-question-circle-o:before{content:"\e657"}.rcicon-plus:before{content:"\e651"}.rcicon-plus-circle:before{content:"\e652"}.rcicon-plus-circle-o:before{content:"\e653"}.rcicon-pause:before{content:"\e64c"}.rcicon-pause-circle:before{content:"\e64d"}.rcicon-pause-circle-o:before{content:"\e64e"}.rcicon-minus:before{content:"\e646"}.rcicon-minus-circle:before{content:"\e647"}.rcicon-minus-circle-o:before{content:"\e648"}.rcicon-info-circle:before{content:"\e637"}.rcicon-info-circle-o:before{content:"\e638"}.rcicon-info:before{content:"\e63a"}.rcicon-exclamation:before{content:"\e627"}.rcicon-exclamation-circle:before{content:"\e628"}.rcicon-exclamation-circle-o:before{content:"\e629"}.rcicon-cross:before{content:"\e61e"}.rcicon-cross-circle:before{content:"\e61f"}.rcicon-cross-circle-o:before{content:"\e620"}.rcicon-check:before{content:"\e613"}.rcicon-check-circle:before{content:"\e614"}.rcicon-check-circle-o:before{content:"\e615"}.rcicon-clock-circle:before{content:"\e616"}.rcicon-clock-circle-o:before{content:"\e617"}.rcicon-lock:before{content:"\e641"}.rcicon-android:before{content:"\e601"}.rcicon-apple:before{content:"\e606"}.rcicon-area-chart:before{content:"\e607"}.rcicon-bar-chart:before{content:"\e609"}.rcicon-bars:before{content:"\e60a"}.rcicon-book:before{content:"\e60b"}.rcicon-calendar:before{content:"\e60c"}.rcicon-cloud:before{content:"\e618"}.rcicon-cloud-download:before{content:"\e619"}.rcicon-code:before{content:"\e61a"}.rcicon-copy:before{content:"\e61c"}.rcicon-credit-card:before{content:"\e61d"}.rcicon-delete:before{content:"\e621"}.rcicon-desktop:before{content:"\e622"}.rcicon-download-line:before{content:"\e623"}.rcicon-edit:before{content:"\e624"}.rcicon-ellipsis:before{content:"\e625"}.rcicon-environment:before{content:"\e626"}.rcicon-file:before{content:"\e62c"}.rcicon-file-text:before{content:"\e62d"}.rcicon-folder:before{content:"\e62e"}.rcicon-folder-open:before{content:"\e62f"}.rcicon-github:before{content:"\e631"}.rcicon-hdd:before{content:"\e632"}.rcicon-frown:before{content:"\e633"}.rcicon-meh:before{content:"\e634"}.rcicon-inbox:before{content:"\e635"}.rcicon-laptop:before{content:"\e63d"}.rcicon-large:before{content:"\e63e"}.rcicon-line-chart:before{content:"\e63f"}.rcicon-link:before{content:"\e640"}.rcicon-logout:before{content:"\e642"}.rcicon-mail:before{content:"\e643"}.rcicon-menu-fold:before{content:"\e644"}.rcicon-menu-unfold:before{content:"\e645"}.rcicon-mobile:before{content:"\e649"}.rcicon-notification:before{content:"\e64a"}.rcicon-paper-clip:before{content:"\e64b"}.rcicon-picture:before{content:"\e64f"}.rcicon-pie-chart:before{content:"\e650"}.rcicon-poweroff:before{content:"\e654"}.rcicon-reload:before{content:"\e658"}.rcicon-search:before{content:"\e65b"}.rcicon-setting:before{content:"\e65c"}.rcicon-share-alt:before{content:"\e65d"}.rcicon-shopping-cart:before{content:"\e65e"}.rcicon-smile:before{content:"\e661"}.rcicon-tablet:before{content:"\e664"}.rcicon-tag:before{content:"\e665"}.rcicon-tags:before{content:"\e666"}.rcicon-to-top:before{content:"\e667"}.rcicon-unlock:before{content:"\e668"}.rcicon-upload:before{content:"\e669"}.rcicon-user:before{content:"\e66a"}.rcicon-video-camera:before{content:"\e66b"}.rcicon-windows:before{content:"\e66c"}.rcicon-loading:before{display:inline-block;animation:loadingCircle 1s infinite linear;content:"\e610"}:root .rcicon-step-forward,:root .rcicon-fast-forward,:root .rcicon-left,:root .rcicon-up,:root .rcicon-down,:root .rcicon-caret-left,:root .rcicon-caret-up,:root .rcicon-caret-right,:root .rcicon-caret-circle-left,:root .rcicon-caret-circle-o-left,:root .rcicon-circle-left,:root .rcicon-circle-o-left,:root .rcicon-double-left,:root .rcicon-verticle-left,:root .rcicon-backward{filter:none}.my-step-form{width:100%}.my-step-form>div{margin-bottom:20px}.my-step-container{width:100%} |
| !function(){"use strict";var t="/".replace(/([^/])$/,"$1/"),e=location.pathname,n=e.startsWith(t)&&decodeURI("/".concat(e.slice(t.length)));if(n){var a=document,c=a.head,r=a.createElement.bind(a),i=function(t,e,n){var a,c=e.r[t]||(null===(a=Object.entries(e.r).find((function(e){var n=e[0];return new RegExp("^".concat(n.replace(/\/:[^/]+/g,"/[^/]+").replace("/*","/.+"),"$")).test(t)})))||void 0===a?void 0:a[1]);return null==c?void 0:c.map((function(t){var a=e.f[t][1],c=e.f[t][0];return{type:c.split(".").pop(),url:"".concat(n.publicPath).concat(c),attrs:[["data-".concat(e.b),"".concat(e.p,":").concat(a)]]}}))}(n,{"p":"@rc-component/steps","b":"webpack","f":[["nm__dumi__dist__client__pages__Demo__index.578aa5c0.chunk.css",9],["nm__dumi__dist__client__pages__Demo__index.7c088c5b.async.js",9],["nm__dumi__dist__client__pages__404.8b85f2d9.chunk.css",65],["nm__dumi__dist__client__pages__404.f32ed690.async.js",65],["docs__demo__stepIcon.md.33be0665.chunk.css",68],["docs__demo__stepIcon.md.672a50aa.async.js",68],["docs__demo__nav-base.md.33be0665.chunk.css",138],["docs__demo__nav-base.md.607db000.async.js",138],["docs__demo__custom-svg-icon.md.33be0665.chunk.css",145],["docs__demo__custom-svg-icon.md.ed3e7546.async.js",145],["docs__demo__alternativeLabel.md.33be0665.chunk.css",147],["docs__demo__alternativeLabel.md.23211483.async.js",147],["docs__demo__progressDot.md.33be0665.chunk.css",343],["docs__demo__progressDot.md.9af8f887.async.js",343],["docs__demo__inline.md.33be0665.chunk.css",398],["docs__demo__inline.md.0f043b8e.async.js",398],["docs__demo__verticalSmall.md.33be0665.chunk.css",505],["docs__demo__verticalSmall.md.da618aed.async.js",505],["docs__demo__customIcon.md.33be0665.chunk.css",506],["docs__demo__customIcon.md.192900c7.async.js",506],["nm__dumi__theme-default__layouts__DocLayout__index.cec00151.async.js",519],["docs__demo__vertical.md.33be0665.chunk.css",536],["docs__demo__vertical.md.8fa1a11f.async.js",536],["docs__demo__composable.md.33be0665.chunk.css",555],["docs__demo__composable.md.26e627fc.async.js",555],["574.e8c51481.chunk.css",574],["574.df2b6bcf.async.js",574],["docs__demo__dynamic.md.33be0665.chunk.css",599],["docs__demo__dynamic.md.77f70aeb.async.js",599],["docs__demo__errorStep.md.33be0665.chunk.css",636],["docs__demo__errorStep.md.c493a05b.async.js",636],["docs__demo__nextStep.md.33be0665.chunk.css",639],["docs__demo__nextStep.md.4063bd3d.async.js",639],["docs__demo__simple.md.33be0665.chunk.css",714],["docs__demo__simple.md.b595be88.async.js",714],["dumi__tmp-production__dumi__theme__ContextWrapper.a7ac6e25.async.js",923],["docs__index.md.33be0665.chunk.css",935],["docs__index.md.1a2118bd.async.js",935],["972.c85cf207.async.js",972],["docs__demo__smallSize.md.33be0665.chunk.css",998],["docs__demo__smallSize.md.a8a7d158.async.js",998]],"r":{"/*":[2,3,20,25,26,35],"/":[36,37,38,20,25,26,35],"/~demos/:id":[0,1,35],"/demo/alternative-label":[10,11,38,20,25,26,35],"/demo/custom-svg-icon":[8,9,38,20,25,26,35],"/demo/vertical-small":[16,17,38,20,25,26,35],"/demo/progress-dot":[12,13,38,20,25,26,35],"/demo/composable":[23,24,38,20,25,26,35],"/demo/custom-icon":[18,19,38,20,25,26,35],"/demo/error-step":[29,30,38,20,25,26,35],"/demo/small-size":[38,39,40,20,25,26,35],"/demo/nav-base":[6,7,38,20,25,26,35],"/demo/next-step":[31,32,38,20,25,26,35],"/demo/step-icon":[4,5,38,20,25,26,35],"/demo/vertical":[21,22,38,20,25,26,35],"/demo/dynamic":[27,28,38,20,25,26,35],"/demo/inline":[14,15,38,20,25,26,35],"/demo/simple":[33,34,38,20,25,26,35]}},{publicPath:"/"});null==i||i.forEach((function(t){var e,n=t.type,a=t.url;if("js"===n)(e=r("script")).src=a,e.async=!0;else{if("css"!==n)return;(e=r("link")).href=a,e.rel="preload",e.as="style"}t.attrs.forEach((function(t){e.setAttribute(t[0],t[1]||"")})),c.appendChild(e)}))}}(); |
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1796827
0.15%110
3.77%8985
0.53%