@sps-woodland/progress-indicators 8.7.4 → 8.7.5

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/lib/index.cjs.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const j=require("react"),m=require("@sps-woodland/core"),N=require("@sps-woodland/buttons"),r=require("@spscommerce/ds-react"),d=require("@sps-woodland/tokens"),g=require("@spscommerce/utils");function q(t){if(t&&t.__esModule)return t;const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const a in t)if(a!=="default"){const l=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(s,a,l.get?l:{enumerable:!0,get:()=>t[a]})}}return s.default=t,Object.freeze(s)}const e=q(j);function O(t,s,a){return s in t?Object.defineProperty(t,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[s]=a,t}function T(t,s){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);s&&(l=l.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),a.push.apply(a,l)}return a}function _(t){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?T(Object(a),!0).forEach(function(l){O(t,l,a[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):T(Object(a)).forEach(function(l){Object.defineProperty(t,l,Object.getOwnPropertyDescriptor(a,l))})}return t}var k=(t,s,a)=>{for(var l of Object.keys(t)){var o;if(t[l]!==((o=s[l])!==null&&o!==void 0?o:a[l]))return!1}return!0},b=t=>s=>{var a=t.defaultClassName,l=_(_({},t.defaultVariants),s);for(var o in l){var n,p=(n=l[o])!==null&&n!==void 0?n:t.defaultVariants[o];if(p!=null){var c=p;typeof c=="boolean"&&(c=c===!0?"true":"false");var i=t.variantClassNames[o][c];i&&(a+=" "+i)}}for(var[f,B]of t.compoundVariants)k(f,l,t.defaultVariants)&&(a+=" "+B);return a},D="_1890qme0",V=b({defaultClassName:"_1890qmef",variantClassNames:{disabled:{true:"_1890qmeg",false:"_1890qmeh"}},defaultVariants:{disabled:!1},compoundVariants:[]}),x="_1890qme2",R="_1890qme1",F="_1890qmet",H="_1890qme3",M=b({defaultClassName:"_1890qme5",variantClassNames:{completed:{true:"_1890qme6",false:"_1890qme7"},disabled:{true:"_1890qme8",false:"_1890qme9"},color:{purple:"_1890qmea",blue:"_1890qmeb",red:"_1890qmec",orange:"_1890qmed",grey:"_1890qmee"}},defaultVariants:{completed:!1,disabled:!1,color:"purple"},compoundVariants:[]}),I=b({defaultClassName:"_1890qmei",variantClassNames:{completed:{true:"_1890qmej",false:"_1890qmek"},disabled:{true:"_1890qmel",false:"_1890qmem"},color:{purple:"_1890qmen",blue:"_1890qmeo",red:"_1890qmep",orange:"_1890qmeq",grey:"_1890qmer"}},defaultVariants:{completed:!1,disabled:!1,color:"purple"},compoundVariants:[[{completed:!0,disabled:!0},"_1890qmes"]]}),A="_1890qme4";var $=b({defaultClassName:"_17lj0goj",variantClassNames:{stepCompleted:{true:"_17lj0gok",false:"_17lj0gol"}},defaultVariants:{stepCompleted:!1},compoundVariants:[]}),G=b({defaultClassName:"_17lj0gom",variantClassNames:{stepCompleted:{true:"_17lj0gon",false:"_17lj0goo"},disabled:{true:"_17lj0gop",false:"_17lj0goq"},barCompleted:{true:"_17lj0gor",false:"_17lj0gos"},color:{purple:"_17lj0got",red:"_17lj0gou",blue:"_17lj0gov",orange:"_17lj0gow",grey:"_17lj0gox"}},defaultVariants:{stepCompleted:!1,disabled:!1,barCompleted:!1,color:"purple"},compoundVariants:[[{barCompleted:!0,disabled:!0},"_17lj0goy"],[{barCompleted:!0,disabled:!1},"_17lj0goz"],[{stepCompleted:!0,disabled:!0},"_17lj0go10"],[{barCompleted:!1,disabled:!1,stepCompleted:!0,color:"purple"},"_17lj0go11"],[{barCompleted:!1,disabled:!1,stepCompleted:!0,color:"red"},"_17lj0go12"],[{barCompleted:!1,disabled:!1,stepCompleted:!0,color:"blue"},"_17lj0go13"],[{barCompleted:!1,disabled:!1,stepCompleted:!0,color:"orange"},"_17lj0go14"],[{barCompleted:!1,disabled:!1,stepCompleted:!0,color:"grey"},"_17lj0go15"]]}),U=b({defaultClassName:"",variantClassNames:{barCompleted:{true:"_17lj0goa",false:"_17lj0gob"},color:{purple:"_17lj0goc",blue:"_17lj0god",red:"_17lj0goe",orange:"_17lj0gof",grey:"_17lj0gog"},disabled:{true:"_17lj0goh",false:"_17lj0goi"}},defaultVariants:{barCompleted:!1,color:"purple",disabled:!1},compoundVariants:[]}),W=b({defaultClassName:"_17lj0go0",variantClassNames:{barCompleted:{true:"_17lj0go1",false:"_17lj0go2"},disabled:{true:"_17lj0go3",false:"_17lj0go4"},color:{purple:"_17lj0go5",blue:"_17lj0go6",red:"_17lj0go7",orange:"_17lj0go8",grey:"_17lj0go9"}},defaultVariants:{barCompleted:!1,disabled:!1,color:"purple"},compoundVariants:[]});function C({className:t,title:s,description:a,icon:l,complete:o=!1,disabled:n,barCompleted:p,progressColor:c,...i}){const f=m.useElementId().current||void 0;return e.createElement("li",{id:f,className:m.cl(G({stepCompleted:o,disabled:n,barCompleted:p,color:c}),t),...i},l&&e.createElement(m.Icon,{icon:l,size:"sm",className:$({stepCompleted:o})}),s&&f&&e.createElement(r.SpsTooltip,{for:f,title:s},a))}m.Metadata.set(C,{name:"ProgressBarStep",props:{icon:{type:"IconName"},complete:{type:"boolean"},title:{type:"string"},description:{type:"string"}}});function h({className:t,children:s,detail:a,disabled:l,onClose:o,percentComplete:n=0,title:p,showStepsCounter:c,progressColor:i="purple",...f}){const{t:B}=e.useContext(m.I18nContext),[P,v]=e.useState([]),[u]=m.selectChildren(s,[{type:C}]);e.useEffect(()=>{let S=[];u.forEach(E=>{E.hasOwnProperty("props")&&E.props.complete===!0&&S.push(E),v(S)})},[]),n&&u&&console.warn(["The percentComplete prop can't be used with the ProgressBarStep subcomponent.","The progress will be determined by how many nested ProgressBarStep components have the completed prop."].join(" "));const y=e.Children.map(s,S=>e.isValidElement(S)?e.cloneElement(S,{disabled:l,barCompleted:P.length===u.length,progressColor:i}):S);return e.createElement("div",{className:m.cl(D,t),...f},e.createElement("div",{className:R},p&&e.createElement("div",{className:H},e.createElement("div",{className:A},p),u.length>0?e.createElement(e.Fragment,null,c===!0&&e.createElement("div",{className:W({barCompleted:P.length===u.length,disabled:l,color:i})},`${P.length} of ${u.length} Complete`)):e.createElement("div",{className:M({completed:n===1,disabled:l,color:i})},`${Math.floor(n*100)}%`)),u.length>0?e.createElement("ul",{className:m.cl(U({barCompleted:P.length===u.length,disabled:l,color:i}),"d-flex align-items-center list-unstyled mb-0")},y):e.createElement("div",{className:V({disabled:l})},e.createElement("div",{className:I({completed:n===1,disabled:l,color:i}),style:{width:`${n*100}%`}})),a&&e.createElement("div",{className:F},a)),o&&n!==1&&e.createElement("div",{className:x},e.createElement(N.Button,{kind:"icon",icon:"x",onClick:o,title:B("design-system:progressBar.closeButtonTitle")})))}m.Metadata.set(h,{name:"Progress Bar",props:{detail:{type:"string"},disabled:{type:"boolean"},onClose:{type:"() => void"},percentComplete:{type:"number",default:"0"},progressColor:{type:'"purple" | "blue" | "red" | "orange" | "grey"',default:'"purple"'}}});function w({className:t,size:s="sm",progress:a=0,...l}){const n=d.Tokens.component["progress-ring"][s]-4,p=n*2*Math.PI,c=p-a/100*p;return e.createElement("div",{className:t,...l},e.createElement("svg",{height:d.Tokens.component["progress-ring"][s]*2,width:d.Tokens.component["progress-ring"][s]*2,style:{transform:"rotate(-90deg)"}},e.createElement("circle",{stroke:d.Tokens.color.grey["medium-light"],fill:"transparent",strokeWidth:4,strokeDasharray:`${p} ${p}`,r:n,cx:d.Tokens.component["progress-ring"][s],cy:d.Tokens.component["progress-ring"][s]}),e.createElement("circle",{stroke:d.Tokens.color.purple.medium,fill:"transparent",strokeWidth:4,strokeDasharray:`${p} ${p}`,style:{strokeDashoffset:c},r:n,cx:d.Tokens.component["progress-ring"][s],cy:d.Tokens.component["progress-ring"][s]})))}m.Metadata.set(w,{name:"Progress Ring",props:{size:{type:'"sm" | "md" | "lg"',default:'"sm"'},progress:{type:"number",default:"0"}}});const Y={description:()=>e.createElement("p",null,"Progress Bars are used to visualize the progression of a process (such as a file upload) or series of related tasks that take place over a longer period of time. Progress Bars can be accompanied by a variety of additional content to provide more context regarding the processes being performed."),components:[h,C],examples:{general:{label:"General Usage",description:()=>e.createElement(e.Fragment,null,e.createElement("p",null,"Progress Bars can be used in a variety of situations, but the most common use case is to show the live progress of a process such as a file upload or the processing of a digital payload."),e.createElement("p",null,"For processes that typically complete within minutes or less, opt for the Standard Progress Bar."),e.createElement("p",null,"For processes that are divided into specific steps that are accomplished over a longer period of time, opt for the Stepped Progress Bar."))},standard:{label:"Standard Progress Bar",description:()=>e.createElement(e.Fragment,null,e.createElement("p",null,"Standard Progress Bars are comprised of the following Required and Optional elements."),e.createElement("img",{src:"assets/images/progress-bar-example.svg",alt:"A Progress Bar with labels on each section",className:"w-100 mb-3"}),e.createElement(r.SpsTable,null,e.createElement(r.SpsTableHead,null,e.createElement(r.SpsTableHeader,null,"Section"),e.createElement(r.SpsTableHeader,null,"Content Type"),e.createElement(r.SpsTableHeader,null,"Required"),e.createElement(r.SpsTableHeader,null,"Description/Guidelines")),e.createElement(r.SpsTableBody,null,e.createElement(r.SpsTableRow,null,e.createElement(r.SpsTableCell,null,e.createElement("span",{className:"sps-tag sps-tag--info"},"1")),e.createElement(r.SpsTableCell,null,"Title"),e.createElement(r.SpsTableCell,null,"No"),e.createElement(r.SpsTableCell,{wrap:400},"Use the Title when it provides necessary or helpful detail about the file or action that is being processed.")),e.createElement(r.SpsTableRow,null,e.createElement(r.SpsTableCell,null,e.createElement("span",{className:"sps-tag sps-tag--info"},"2")),e.createElement(r.SpsTableCell,null,"Progress Meter"),e.createElement(r.SpsTableCell,null,"Yes"),e.createElement(r.SpsTableCell,null)),e.createElement(r.SpsTableRow,null,e.createElement(r.SpsTableCell,null,e.createElement("span",{className:"sps-tag sps-tag--info"},"3")),e.createElement(r.SpsTableCell,null,"Progress Counter"),e.createElement(r.SpsTableCell,null,"No"),e.createElement(r.SpsTableCell,{wrap:400},"The Progress Counter should not be used without the existence of a Title.")),e.createElement(r.SpsTableRow,null,e.createElement(r.SpsTableCell,null,e.createElement("span",{className:"sps-tag sps-tag--info"},"4")),e.createElement(r.SpsTableCell,null,"Clear Button"),e.createElement(r.SpsTableCell,null,"No"),e.createElement(r.SpsTableCell,{wrap:400},"If the process requires the option to be cancelled or removed from a list the clear button can be used.")),e.createElement(r.SpsTableRow,null,e.createElement(r.SpsTableCell,null,e.createElement("span",{className:"sps-tag sps-tag--info"},"5")),e.createElement(r.SpsTableCell,null,"Progress Details"),e.createElement(r.SpsTableCell,null,"No"),e.createElement(r.SpsTableCell,{wrap:400},"Progress Details provide more context for the user and are especially useful when the process includes multiple steps."))))),examples:{standard:{description:()=>e.createElement("p",null,"The Standard Progress Bar is designed to expand to fit the entire width of its container. View the diagram above for rules regarding including or excluding certain elements."),react:g.code`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const j=require("react"),m=require("@sps-woodland/core"),N=require("@sps-woodland/buttons"),r=require("@spscommerce/ds-react"),d=require("@sps-woodland/tokens"),u=require("@spscommerce/utils");function q(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const a in t)if(a!=="default"){const l=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(s,a,l.get?l:{enumerable:!0,get:()=>t[a]})}}return s.default=t,Object.freeze(s)}const e=q(j);function O(t,s,a){return s in t?Object.defineProperty(t,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[s]=a,t}function T(t,s){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);s&&(l=l.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),a.push.apply(a,l)}return a}function w(t){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?T(Object(a),!0).forEach(function(l){O(t,l,a[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):T(Object(a)).forEach(function(l){Object.defineProperty(t,l,Object.getOwnPropertyDescriptor(a,l))})}return t}var k=(t,s,a)=>{for(var l of Object.keys(t)){var o;if(t[l]!==((o=s[l])!==null&&o!==void 0?o:a[l]))return!1}return!0},b=t=>s=>{var a=t.defaultClassName,l=w(w({},t.defaultVariants),s);for(var o in l){var n,p=(n=l[o])!==null&&n!==void 0?n:t.defaultVariants[o];if(p!=null){var c=p;typeof c=="boolean"&&(c=c===!0?"true":"false");var i=t.variantClassNames[o][c];i&&(a+=" "+i)}}for(var[f,B]of t.compoundVariants)k(f,l,t.defaultVariants)&&(a+=" "+B);return a},D="_1890qme0",V=b({defaultClassName:"_1890qmef",variantClassNames:{disabled:{true:"_1890qmeg",false:"_1890qmeh"}},defaultVariants:{disabled:!1},compoundVariants:[]}),x="_1890qme2",R="_1890qme1",F="_1890qmet",H="_1890qme3",M=b({defaultClassName:"_1890qme5",variantClassNames:{completed:{true:"_1890qme6",false:"_1890qme7"},disabled:{true:"_1890qme8",false:"_1890qme9"},color:{purple:"_1890qmea",blue:"_1890qmeb",red:"_1890qmec",orange:"_1890qmed",grey:"_1890qmee"}},defaultVariants:{completed:!1,disabled:!1,color:"purple"},compoundVariants:[]}),I=b({defaultClassName:"_1890qmei",variantClassNames:{completed:{true:"_1890qmej",false:"_1890qmek"},disabled:{true:"_1890qmel",false:"_1890qmem"},color:{purple:"_1890qmen",blue:"_1890qmeo",red:"_1890qmep",orange:"_1890qmeq",grey:"_1890qmer"}},defaultVariants:{completed:!1,disabled:!1,color:"purple"},compoundVariants:[[{completed:!0,disabled:!0},"_1890qmes"]]}),A="_1890qme4",$=b({defaultClassName:"_17lj0goj",variantClassNames:{stepCompleted:{true:"_17lj0gok",false:"_17lj0gol"}},defaultVariants:{stepCompleted:!1},compoundVariants:[]}),G=b({defaultClassName:"_17lj0gom",variantClassNames:{stepCompleted:{true:"_17lj0gon",false:"_17lj0goo"},disabled:{true:"_17lj0gop",false:"_17lj0goq"},barCompleted:{true:"_17lj0gor",false:"_17lj0gos"},color:{purple:"_17lj0got",red:"_17lj0gou",blue:"_17lj0gov",orange:"_17lj0gow",grey:"_17lj0gox"}},defaultVariants:{stepCompleted:!1,disabled:!1,barCompleted:!1,color:"purple"},compoundVariants:[[{barCompleted:!0,disabled:!0},"_17lj0goy"],[{barCompleted:!0,disabled:!1},"_17lj0goz"],[{stepCompleted:!0,disabled:!0},"_17lj0go10"],[{barCompleted:!1,disabled:!1,stepCompleted:!0,color:"purple"},"_17lj0go11"],[{barCompleted:!1,disabled:!1,stepCompleted:!0,color:"red"},"_17lj0go12"],[{barCompleted:!1,disabled:!1,stepCompleted:!0,color:"blue"},"_17lj0go13"],[{barCompleted:!1,disabled:!1,stepCompleted:!0,color:"orange"},"_17lj0go14"],[{barCompleted:!1,disabled:!1,stepCompleted:!0,color:"grey"},"_17lj0go15"]]}),U=b({defaultClassName:"",variantClassNames:{barCompleted:{true:"_17lj0goa",false:"_17lj0gob"},color:{purple:"_17lj0goc",blue:"_17lj0god",red:"_17lj0goe",orange:"_17lj0gof",grey:"_17lj0gog"},disabled:{true:"_17lj0goh",false:"_17lj0goi"}},defaultVariants:{barCompleted:!1,color:"purple",disabled:!1},compoundVariants:[]}),W=b({defaultClassName:"_17lj0go0",variantClassNames:{barCompleted:{true:"_17lj0go1",false:"_17lj0go2"},disabled:{true:"_17lj0go3",false:"_17lj0go4"},color:{purple:"_17lj0go5",blue:"_17lj0go6",red:"_17lj0go7",orange:"_17lj0go8",grey:"_17lj0go9"}},defaultVariants:{barCompleted:!1,disabled:!1,color:"purple"},compoundVariants:[]});function P({className:t,title:s,description:a,icon:l,complete:o=!1,disabled:n,barCompleted:p,progressColor:c,...i}){const f=m.useElementId().current||void 0;return e.createElement("li",{id:f,className:m.cl(G({stepCompleted:o,disabled:n,barCompleted:p,color:c}),t),...i},l&&e.createElement(m.Icon,{icon:l,size:"sm",className:$({stepCompleted:o})}),s&&f&&e.createElement(r.SpsTooltip,{for:f,title:s},a))}m.Metadata.set(P,{name:"ProgressBarStep",props:{icon:{type:"IconName"},complete:{type:"boolean"},title:{type:"string"},description:{type:"string"}}});function h({className:t,children:s,detail:a,disabled:l,onClose:o,percentComplete:n=0,title:p,showStepsCounter:c,progressColor:i="purple",...f}){const{t:B}=e.useContext(m.I18nContext),[C,_]=e.useState([]),[g]=m.selectChildren(s,[{type:P}]);e.useEffect(()=>{let S=[];g.forEach(E=>{E.hasOwnProperty("props")&&E.props.complete===!0&&S.push(E),_(S)})},[]),n&&g&&console.warn(["The percentComplete prop can't be used with the ProgressBarStep subcomponent.","The progress will be determined by how many nested ProgressBarStep components have the completed prop."].join(" "));const y=e.Children.map(s,S=>e.isValidElement(S)?e.cloneElement(S,{disabled:l,barCompleted:C.length===g.length,progressColor:i}):S);return e.createElement("div",{className:m.cl(D,t),...f},e.createElement("div",{className:R},p&&e.createElement("div",{className:H},e.createElement("div",{className:A},p),g.length>0?e.createElement(e.Fragment,null,c===!0&&e.createElement("div",{className:W({barCompleted:C.length===g.length,disabled:l,color:i})},`${C.length} of ${g.length} Complete`)):e.createElement("div",{className:M({completed:n===1,disabled:l,color:i})},`${Math.floor(n*100)}%`)),g.length>0?e.createElement("ul",{className:m.cl(U({barCompleted:C.length===g.length,disabled:l,color:i}),"d-flex align-items-center list-unstyled mb-0")},y):e.createElement("div",{className:V({disabled:l})},e.createElement("div",{className:I({completed:n===1,disabled:l,color:i}),style:{width:`${n*100}%`}})),a&&e.createElement("div",{className:F},a)),o&&n!==1&&e.createElement("div",{className:x},e.createElement(N.Button,{kind:"icon",icon:"x",onClick:o,title:B("design-system:progressBar.closeButtonTitle")})))}m.Metadata.set(h,{name:"Progress Bar",props:{detail:{type:"string"},disabled:{type:"boolean"},onClose:{type:"() => void"},percentComplete:{type:"number",default:"0"},progressColor:{type:'"purple" | "blue" | "red" | "orange" | "grey"',default:'"purple"'}}});function v({className:t,size:s="sm",progress:a=0,...l}){const n=d.Tokens.component["progress-ring"][s]-4,p=n*2*Math.PI,c=p-a/100*p;return e.createElement("div",{className:t,...l},e.createElement("svg",{height:d.Tokens.component["progress-ring"][s]*2,width:d.Tokens.component["progress-ring"][s]*2,style:{transform:"rotate(-90deg)"}},e.createElement("circle",{stroke:d.Tokens.color.grey["medium-light"],fill:"transparent",strokeWidth:4,strokeDasharray:`${p} ${p}`,r:n,cx:d.Tokens.component["progress-ring"][s],cy:d.Tokens.component["progress-ring"][s]}),e.createElement("circle",{stroke:d.Tokens.color.purple.medium,fill:"transparent",strokeWidth:4,strokeDasharray:`${p} ${p}`,style:{strokeDashoffset:c},r:n,cx:d.Tokens.component["progress-ring"][s],cy:d.Tokens.component["progress-ring"][s]})))}m.Metadata.set(v,{name:"Progress Ring",props:{size:{type:'"sm" | "md" | "lg"',default:'"sm"'},progress:{type:"number",default:"0"}}});const Y={description:()=>e.createElement("p",null,"Progress Bars are used to visualize the progression of a process (such as a file upload) or series of related tasks that take place over a longer period of time. Progress Bars can be accompanied by a variety of additional content to provide more context regarding the processes being performed."),components:[h,P],examples:{general:{label:"General Usage",description:()=>e.createElement(e.Fragment,null,e.createElement("p",null,"Progress Bars can be used in a variety of situations, but the most common use case is to show the live progress of a process such as a file upload or the processing of a digital payload."),e.createElement("p",null,"For processes that typically complete within minutes or less, opt for the Standard Progress Bar."),e.createElement("p",null,"For processes that are divided into specific steps that are accomplished over a longer period of time, opt for the Stepped Progress Bar."))},standard:{label:"Standard Progress Bar",description:()=>e.createElement(e.Fragment,null,e.createElement("p",null,"Standard Progress Bars are comprised of the following Required and Optional elements."),e.createElement("img",{src:"assets/images/progress-bar-example.svg",alt:"A Progress Bar with labels on each section",className:"w-100 mb-3"}),e.createElement(r.SpsTable,null,e.createElement(r.SpsTableHead,null,e.createElement(r.SpsTableHeader,null,"Section"),e.createElement(r.SpsTableHeader,null,"Content Type"),e.createElement(r.SpsTableHeader,null,"Required"),e.createElement(r.SpsTableHeader,null,"Description/Guidelines")),e.createElement(r.SpsTableBody,null,e.createElement(r.SpsTableRow,null,e.createElement(r.SpsTableCell,null,e.createElement("span",{className:"sps-tag sps-tag--info"},"1")),e.createElement(r.SpsTableCell,null,"Title"),e.createElement(r.SpsTableCell,null,"No"),e.createElement(r.SpsTableCell,{wrap:400},"Use the Title when it provides necessary or helpful detail about the file or action that is being processed.")),e.createElement(r.SpsTableRow,null,e.createElement(r.SpsTableCell,null,e.createElement("span",{className:"sps-tag sps-tag--info"},"2")),e.createElement(r.SpsTableCell,null,"Progress Meter"),e.createElement(r.SpsTableCell,null,"Yes"),e.createElement(r.SpsTableCell,null)),e.createElement(r.SpsTableRow,null,e.createElement(r.SpsTableCell,null,e.createElement("span",{className:"sps-tag sps-tag--info"},"3")),e.createElement(r.SpsTableCell,null,"Progress Counter"),e.createElement(r.SpsTableCell,null,"No"),e.createElement(r.SpsTableCell,{wrap:400},"The Progress Counter should not be used without the existence of a Title.")),e.createElement(r.SpsTableRow,null,e.createElement(r.SpsTableCell,null,e.createElement("span",{className:"sps-tag sps-tag--info"},"4")),e.createElement(r.SpsTableCell,null,"Clear Button"),e.createElement(r.SpsTableCell,null,"No"),e.createElement(r.SpsTableCell,{wrap:400},"If the process requires the option to be cancelled or removed from a list the clear button can be used.")),e.createElement(r.SpsTableRow,null,e.createElement(r.SpsTableCell,null,e.createElement("span",{className:"sps-tag sps-tag--info"},"5")),e.createElement(r.SpsTableCell,null,"Progress Details"),e.createElement(r.SpsTableCell,null,"No"),e.createElement(r.SpsTableCell,{wrap:400},"Progress Details provide more context for the user and are especially useful when the process includes multiple steps."))))),examples:{standard:{description:()=>e.createElement("p",null,"The Standard Progress Bar is designed to expand to fit the entire width of its container. View the diagram above for rules regarding including or excluding certain elements."),react:u.code`
2
2
  import { ProgressBar } from "@sps-woodland/progress-indicators";
3
3
  import { Card } from "@sps-woodland/cards";
4
4
 
@@ -18,7 +18,7 @@
18
18
  </Card>
19
19
  )
20
20
  }
21
- `},completed:{description:()=>e.createElement("p",null,"Once complete, the progress bar appears in green and the clear button (if included) disappears from view."),react:g.code`
21
+ `},completed:{description:()=>e.createElement("p",null,"Once complete, the progress bar appears in green and the clear button (if included) disappears from view."),react:u.code`
22
22
  import { ProgressBar } from "@sps-woodland/progress-indicators";
23
23
  import { Card } from "@sps-woodland/cards";
24
24
 
@@ -33,7 +33,7 @@
33
33
  </Card>
34
34
  )
35
35
  }
36
- `},disabled:{description:()=>e.createElement("p",null,"A disabled state is available for cases when progress is intentionally paused or user interaction needs to be restricted."),react:g.code`
36
+ `},disabled:{description:()=>e.createElement("p",null,"A disabled state is available for cases when progress is intentionally paused or user interaction needs to be restricted."),react:u.code`
37
37
  import { ProgressBar } from "@sps-woodland/progress-indicators";
38
38
  import { Card } from "@sps-woodland/cards";
39
39
 
@@ -54,7 +54,7 @@
54
54
  </Card>
55
55
  )
56
56
  }
57
- `}}},stepped:{label:"Stepped Progress Bar",description:()=>e.createElement(e.Fragment,null,e.createElement("p",null,"Stepped Progress Bars are comprised of the following Required and Optional elements."),e.createElement("img",{src:"assets/images/stepped-progress-bar-example.svg",alt:"A Progress Bar with labels on each section",className:"w-100 mb-3"}),e.createElement(r.SpsTable,null,e.createElement(r.SpsTableHead,null,e.createElement(r.SpsTableHeader,null,"Section"),e.createElement(r.SpsTableHeader,null,"Content Type"),e.createElement(r.SpsTableHeader,null,"Required"),e.createElement(r.SpsTableHeader,null,"Description/Guidelines")),e.createElement(r.SpsTableBody,null,e.createElement(r.SpsTableRow,null,e.createElement(r.SpsTableCell,null,e.createElement("span",{className:"sps-tag sps-tag--info"},"1")),e.createElement(r.SpsTableCell,null,"Title"),e.createElement(r.SpsTableCell,null,"No"),e.createElement(r.SpsTableCell,{wrap:400},"Use the Title when it provides necessary or helpful detail about the file or action that is being processed.")),e.createElement(r.SpsTableRow,null,e.createElement(r.SpsTableCell,null,e.createElement("span",{className:"sps-tag sps-tag--info"},"2")),e.createElement(r.SpsTableCell,null,"Progress Meter"),e.createElement(r.SpsTableCell,null,"Yes"),e.createElement(r.SpsTableCell,null)),e.createElement(r.SpsTableRow,null,e.createElement(r.SpsTableCell,null,e.createElement("span",{className:"sps-tag sps-tag--info"},"3")),e.createElement(r.SpsTableCell,null,"Progress Counter"),e.createElement(r.SpsTableCell,null,"No"),e.createElement(r.SpsTableCell,{wrap:400},"The Progress Counter should not be used without the existence of a Title.")),e.createElement(r.SpsTableRow,null,e.createElement(r.SpsTableCell,null,e.createElement("span",{className:"sps-tag sps-tag--info"},"4")),e.createElement(r.SpsTableCell,null,"Step icons"),e.createElement(r.SpsTableCell,null,"No"),e.createElement(r.SpsTableCell,{wrap:400},"Icons can be set inside of steps for visual emphasis.")),e.createElement(r.SpsTableRow,null,e.createElement(r.SpsTableCell,null,e.createElement("span",{className:"sps-tag sps-tag--info"},"5")),e.createElement(r.SpsTableCell,null,"Step Tooltips"),e.createElement(r.SpsTableCell,null,"No"),e.createElement(r.SpsTableCell,{wrap:400},"Tooltips can be utilized to provide more details about each specific step. Tooltips can be exposed on click or hover."))))),examples:{standard:{description:()=>e.createElement(e.Fragment,null,e.createElement("h4",null,"Building Stepped Progress Bars"),e.createElement("p",null,"The Stepped Progress Bar is designed to expand to fit the entire width of its container. View the diagram above for rules regarding including or excluding certain elements.")),react:g.code`
57
+ `}}},stepped:{label:"Stepped Progress Bar",description:()=>e.createElement(e.Fragment,null,e.createElement("p",null,"Stepped Progress Bars are comprised of the following Required and Optional elements."),e.createElement("img",{src:"assets/images/stepped-progress-bar-example.svg",alt:"A Progress Bar with labels on each section",className:"w-100 mb-3"}),e.createElement(r.SpsTable,null,e.createElement(r.SpsTableHead,null,e.createElement(r.SpsTableHeader,null,"Section"),e.createElement(r.SpsTableHeader,null,"Content Type"),e.createElement(r.SpsTableHeader,null,"Required"),e.createElement(r.SpsTableHeader,null,"Description/Guidelines")),e.createElement(r.SpsTableBody,null,e.createElement(r.SpsTableRow,null,e.createElement(r.SpsTableCell,null,e.createElement("span",{className:"sps-tag sps-tag--info"},"1")),e.createElement(r.SpsTableCell,null,"Title"),e.createElement(r.SpsTableCell,null,"No"),e.createElement(r.SpsTableCell,{wrap:400},"Use the Title when it provides necessary or helpful detail about the file or action that is being processed.")),e.createElement(r.SpsTableRow,null,e.createElement(r.SpsTableCell,null,e.createElement("span",{className:"sps-tag sps-tag--info"},"2")),e.createElement(r.SpsTableCell,null,"Progress Meter"),e.createElement(r.SpsTableCell,null,"Yes"),e.createElement(r.SpsTableCell,null)),e.createElement(r.SpsTableRow,null,e.createElement(r.SpsTableCell,null,e.createElement("span",{className:"sps-tag sps-tag--info"},"3")),e.createElement(r.SpsTableCell,null,"Progress Counter"),e.createElement(r.SpsTableCell,null,"No"),e.createElement(r.SpsTableCell,{wrap:400},"The Progress Counter should not be used without the existence of a Title.")),e.createElement(r.SpsTableRow,null,e.createElement(r.SpsTableCell,null,e.createElement("span",{className:"sps-tag sps-tag--info"},"4")),e.createElement(r.SpsTableCell,null,"Step icons"),e.createElement(r.SpsTableCell,null,"No"),e.createElement(r.SpsTableCell,{wrap:400},"Icons can be set inside of steps for visual emphasis.")),e.createElement(r.SpsTableRow,null,e.createElement(r.SpsTableCell,null,e.createElement("span",{className:"sps-tag sps-tag--info"},"5")),e.createElement(r.SpsTableCell,null,"Step Tooltips"),e.createElement(r.SpsTableCell,null,"No"),e.createElement(r.SpsTableCell,{wrap:400},"Tooltips can be utilized to provide more details about each specific step. Tooltips can be exposed on click or hover."))))),examples:{standard:{description:()=>e.createElement(e.Fragment,null,e.createElement("h4",null,"Building Stepped Progress Bars"),e.createElement("p",null,"The Stepped Progress Bar is designed to expand to fit the entire width of its container. View the diagram above for rules regarding including or excluding certain elements.")),react:u.code`
58
58
  import { Card } from "@sps-woodland/cards";
59
59
  import { ProgressBar, ProgressBarStep } from "@sps-woodland/progress-indicators";
60
60
 
@@ -96,7 +96,7 @@
96
96
  </Card>
97
97
  )
98
98
  }
99
- `},color:{description:()=>e.createElement("h4",null,"Alternate Color"),react:g.code`
99
+ `},color:{description:()=>e.createElement("h4",null,"Alternate Color"),react:u.code`
100
100
  import { Card } from "@sps-woodland/cards";
101
101
  import { ProgressBar, ProgressBarStep } from "@sps-woodland/progress-indicators";
102
102
 
@@ -135,7 +135,7 @@
135
135
  </Card>
136
136
  )
137
137
  }
138
- `},skippedSteps:{description:()=>e.createElement("h4",null,"Skip steps"),react:g.code`
138
+ `},skippedSteps:{description:()=>e.createElement("h4",null,"Skip steps"),react:u.code`
139
139
  import { Card } from "@sps-woodland/cards";
140
140
  import { ProgressBar, ProgressBarStep } from "@sps-woodland/progress-indicators";
141
141
 
@@ -162,7 +162,7 @@
162
162
  </Card>
163
163
  )
164
164
  }
165
- `},completed:{description:()=>e.createElement(e.Fragment,null,e.createElement("h4",null,"Completed State"),e.createElement("p",null,"Once complete, the progress bar appears in green.")),react:g.code`
165
+ `},completed:{description:()=>e.createElement(e.Fragment,null,e.createElement("h4",null,"Completed State"),e.createElement("p",null,"Once complete, the progress bar appears in green.")),react:u.code`
166
166
  import { Card } from "@sps-woodland/cards";
167
167
  import { ProgressBar, ProgressBarStep } from "@sps-woodland/progress-indicators";
168
168
 
@@ -203,7 +203,7 @@
203
203
  </Card>
204
204
  )
205
205
  }
206
- `},disabled:{description:()=>e.createElement(e.Fragment,null,e.createElement("h4",null,"Disabled State"),e.createElement("p",null,"A disabled state is available for cases when progress is intentionally paused or user interaction needs to be restricted.")),react:g.code`
206
+ `},disabled:{description:()=>e.createElement(e.Fragment,null,e.createElement("h4",null,"Disabled State"),e.createElement("p",null,"A disabled state is available for cases when progress is intentionally paused or user interaction needs to be restricted.")),react:u.code`
207
207
  import { Card } from "@sps-woodland/cards";
208
208
  import { ProgressBar, ProgressBarStep } from "@sps-woodland/progress-indicators";
209
209
 
@@ -229,4 +229,4 @@
229
229
  </Card>
230
230
  )
231
231
  }
232
- `}}}}},z={"Progress Bar":Y};exports.MANIFEST=z;exports.ProgressBar=h;exports.ProgressBarStep=C;exports.ProgressRing=w;
232
+ `}}}}},z={"Progress Bar":Y};exports.MANIFEST=z;exports.ProgressBar=h;exports.ProgressBarStep=P;exports.ProgressRing=v;
package/lib/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as e from "react";
2
- import { Metadata as _, useElementId as D, cl as C, Icon as V, I18nContext as k, selectChildren as F } from "@sps-woodland/core";
2
+ import { Metadata as v, useElementId as D, cl as C, Icon as V, I18nContext as k, selectChildren as F } from "@sps-woodland/core";
3
3
  import { Button as R } from "@sps-woodland/buttons";
4
4
  import { SpsTooltip as I, SpsTable as w, SpsTableHead as y, SpsTableHeader as u, SpsTableBody as N, SpsTableRow as m, SpsTableCell as r } from "@spscommerce/ds-react";
5
5
  import { Tokens as d } from "@sps-woodland/tokens";
@@ -47,16 +47,18 @@ var M = (t, s, l) => {
47
47
  if (p != null) {
48
48
  var i = p;
49
49
  typeof i == "boolean" && (i = i === !0 ? "true" : "false");
50
- var c = t.variantClassNames[o][i];
50
+ var c = (
51
+ // @ts-expect-error
52
+ t.variantClassNames[o][i]
53
+ );
51
54
  c && (l += " " + c);
52
55
  }
53
56
  }
54
57
  for (var [P, b] of t.compoundVariants)
55
58
  M(P, a, t.defaultVariants) && (l += " " + b);
56
59
  return l;
57
- }, H = "_1890qme0", $ = B({ defaultClassName: "_1890qmef", variantClassNames: { disabled: { true: "_1890qmeg", false: "_1890qmeh" } }, defaultVariants: { disabled: !1 }, compoundVariants: [] }), G = "_1890qme2", U = "_1890qme1", W = "_1890qmet", Y = "_1890qme3", K = B({ defaultClassName: "_1890qme5", variantClassNames: { completed: { true: "_1890qme6", false: "_1890qme7" }, disabled: { true: "_1890qme8", false: "_1890qme9" }, color: { purple: "_1890qmea", blue: "_1890qmeb", red: "_1890qmec", orange: "_1890qmed", grey: "_1890qmee" } }, defaultVariants: { completed: !1, disabled: !1, color: "purple" }, compoundVariants: [] }), z = B({ defaultClassName: "_1890qmei", variantClassNames: { completed: { true: "_1890qmej", false: "_1890qmek" }, disabled: { true: "_1890qmel", false: "_1890qmem" }, color: { purple: "_1890qmen", blue: "_1890qmeo", red: "_1890qmep", orange: "_1890qmeq", grey: "_1890qmer" } }, defaultVariants: { completed: !1, disabled: !1, color: "purple" }, compoundVariants: [[{ completed: !0, disabled: !0 }, "_1890qmes"]] }), J = "_1890qme4";
58
- var L = B({ defaultClassName: "_17lj0goj", variantClassNames: { stepCompleted: { true: "_17lj0gok", false: "_17lj0gol" } }, defaultVariants: { stepCompleted: !1 }, compoundVariants: [] }), Q = B({ defaultClassName: "_17lj0gom", variantClassNames: { stepCompleted: { true: "_17lj0gon", false: "_17lj0goo" }, disabled: { true: "_17lj0gop", false: "_17lj0goq" }, barCompleted: { true: "_17lj0gor", false: "_17lj0gos" }, color: { purple: "_17lj0got", red: "_17lj0gou", blue: "_17lj0gov", orange: "_17lj0gow", grey: "_17lj0gox" } }, defaultVariants: { stepCompleted: !1, disabled: !1, barCompleted: !1, color: "purple" }, compoundVariants: [[{ barCompleted: !0, disabled: !0 }, "_17lj0goy"], [{ barCompleted: !0, disabled: !1 }, "_17lj0goz"], [{ stepCompleted: !0, disabled: !0 }, "_17lj0go10"], [{ barCompleted: !1, disabled: !1, stepCompleted: !0, color: "purple" }, "_17lj0go11"], [{ barCompleted: !1, disabled: !1, stepCompleted: !0, color: "red" }, "_17lj0go12"], [{ barCompleted: !1, disabled: !1, stepCompleted: !0, color: "blue" }, "_17lj0go13"], [{ barCompleted: !1, disabled: !1, stepCompleted: !0, color: "orange" }, "_17lj0go14"], [{ barCompleted: !1, disabled: !1, stepCompleted: !0, color: "grey" }, "_17lj0go15"]] }), X = B({ defaultClassName: "", variantClassNames: { barCompleted: { true: "_17lj0goa", false: "_17lj0gob" }, color: { purple: "_17lj0goc", blue: "_17lj0god", red: "_17lj0goe", orange: "_17lj0gof", grey: "_17lj0gog" }, disabled: { true: "_17lj0goh", false: "_17lj0goi" } }, defaultVariants: { barCompleted: !1, color: "purple", disabled: !1 }, compoundVariants: [] }), Z = B({ defaultClassName: "_17lj0go0", variantClassNames: { barCompleted: { true: "_17lj0go1", false: "_17lj0go2" }, disabled: { true: "_17lj0go3", false: "_17lj0go4" }, color: { purple: "_17lj0go5", blue: "_17lj0go6", red: "_17lj0go7", orange: "_17lj0go8", grey: "_17lj0go9" } }, defaultVariants: { barCompleted: !1, disabled: !1, color: "purple" }, compoundVariants: [] });
59
- function v({
60
+ }, H = "_1890qme0", $ = B({ defaultClassName: "_1890qmef", variantClassNames: { disabled: { true: "_1890qmeg", false: "_1890qmeh" } }, defaultVariants: { disabled: !1 }, compoundVariants: [] }), G = "_1890qme2", U = "_1890qme1", W = "_1890qmet", Y = "_1890qme3", K = B({ defaultClassName: "_1890qme5", variantClassNames: { completed: { true: "_1890qme6", false: "_1890qme7" }, disabled: { true: "_1890qme8", false: "_1890qme9" }, color: { purple: "_1890qmea", blue: "_1890qmeb", red: "_1890qmec", orange: "_1890qmed", grey: "_1890qmee" } }, defaultVariants: { completed: !1, disabled: !1, color: "purple" }, compoundVariants: [] }), z = B({ defaultClassName: "_1890qmei", variantClassNames: { completed: { true: "_1890qmej", false: "_1890qmek" }, disabled: { true: "_1890qmel", false: "_1890qmem" }, color: { purple: "_1890qmen", blue: "_1890qmeo", red: "_1890qmep", orange: "_1890qmeq", grey: "_1890qmer" } }, defaultVariants: { completed: !1, disabled: !1, color: "purple" }, compoundVariants: [[{ completed: !0, disabled: !0 }, "_1890qmes"]] }), J = "_1890qme4", L = B({ defaultClassName: "_17lj0goj", variantClassNames: { stepCompleted: { true: "_17lj0gok", false: "_17lj0gol" } }, defaultVariants: { stepCompleted: !1 }, compoundVariants: [] }), Q = B({ defaultClassName: "_17lj0gom", variantClassNames: { stepCompleted: { true: "_17lj0gon", false: "_17lj0goo" }, disabled: { true: "_17lj0gop", false: "_17lj0goq" }, barCompleted: { true: "_17lj0gor", false: "_17lj0gos" }, color: { purple: "_17lj0got", red: "_17lj0gou", blue: "_17lj0gov", orange: "_17lj0gow", grey: "_17lj0gox" } }, defaultVariants: { stepCompleted: !1, disabled: !1, barCompleted: !1, color: "purple" }, compoundVariants: [[{ barCompleted: !0, disabled: !0 }, "_17lj0goy"], [{ barCompleted: !0, disabled: !1 }, "_17lj0goz"], [{ stepCompleted: !0, disabled: !0 }, "_17lj0go10"], [{ barCompleted: !1, disabled: !1, stepCompleted: !0, color: "purple" }, "_17lj0go11"], [{ barCompleted: !1, disabled: !1, stepCompleted: !0, color: "red" }, "_17lj0go12"], [{ barCompleted: !1, disabled: !1, stepCompleted: !0, color: "blue" }, "_17lj0go13"], [{ barCompleted: !1, disabled: !1, stepCompleted: !0, color: "orange" }, "_17lj0go14"], [{ barCompleted: !1, disabled: !1, stepCompleted: !0, color: "grey" }, "_17lj0go15"]] }), X = B({ defaultClassName: "", variantClassNames: { barCompleted: { true: "_17lj0goa", false: "_17lj0gob" }, color: { purple: "_17lj0goc", blue: "_17lj0god", red: "_17lj0goe", orange: "_17lj0gof", grey: "_17lj0gog" }, disabled: { true: "_17lj0goh", false: "_17lj0goi" } }, defaultVariants: { barCompleted: !1, color: "purple", disabled: !1 }, compoundVariants: [] }), Z = B({ defaultClassName: "_17lj0go0", variantClassNames: { barCompleted: { true: "_17lj0go1", false: "_17lj0go2" }, disabled: { true: "_17lj0go3", false: "_17lj0go4" }, color: { purple: "_17lj0go5", blue: "_17lj0go6", red: "_17lj0go7", orange: "_17lj0go8", grey: "_17lj0go9" } }, defaultVariants: { barCompleted: !1, disabled: !1, color: "purple" }, compoundVariants: [] });
61
+ function _({
60
62
  className: t,
61
63
  title: s,
62
64
  description: l,
@@ -96,7 +98,7 @@ function v({
96
98
  s && P && /* @__PURE__ */ e.createElement(I, { for: P, title: s }, l)
97
99
  );
98
100
  }
99
- _.set(v, {
101
+ v.set(_, {
100
102
  name: "ProgressBarStep",
101
103
  props: {
102
104
  icon: { type: "IconName" },
@@ -118,7 +120,7 @@ function q({
118
120
  ...P
119
121
  }) {
120
122
  const { t: b } = e.useContext(k), [h, O] = e.useState([]), [g] = F(s, [
121
- { type: v }
123
+ { type: _ }
122
124
  ]);
123
125
  e.useEffect(() => {
124
126
  let E = [];
@@ -197,7 +199,7 @@ function q({
197
199
  }
198
200
  )));
199
201
  }
200
- _.set(q, {
202
+ v.set(q, {
201
203
  name: "Progress Bar",
202
204
  props: {
203
205
  detail: { type: "string" },
@@ -248,7 +250,7 @@ function ee({
248
250
  )
249
251
  ));
250
252
  }
251
- _.set(ee, {
253
+ v.set(ee, {
252
254
  name: "Progress Ring",
253
255
  props: {
254
256
  size: { type: '"sm" | "md" | "lg"', default: '"sm"' },
@@ -257,7 +259,7 @@ _.set(ee, {
257
259
  });
258
260
  const re = {
259
261
  description: () => /* @__PURE__ */ e.createElement("p", null, "Progress Bars are used to visualize the progression of a process (such as a file upload) or series of related tasks that take place over a longer period of time. Progress Bars can be accompanied by a variety of additional content to provide more context regarding the processes being performed."),
260
- components: [q, v],
262
+ components: [q, _],
261
263
  examples: {
262
264
  general: {
263
265
  label: "General Usage",
@@ -559,6 +561,6 @@ const re = {
559
561
  export {
560
562
  ne as MANIFEST,
561
563
  q as ProgressBar,
562
- v as ProgressBarStep,
564
+ _ as ProgressBarStep,
563
565
  ee as ProgressRing
564
566
  };
package/lib/style.css CHANGED
@@ -1 +1 @@
1
- ._1890qme0{align-items:center;display:flex}._1890qme1{flex-grow:1}._1890qme2{margin-left:.5rem;margin-top:-.375rem}._1890qme3{display:flex;font-size:.875rem;line-height:1.25rem;margin-bottom:.5rem}._1890qme4{color:oklch(26.99% .015 226.65);flex-grow:1}._1890qme5{color:oklch(50.83% .125 337.21);font-weight:600;font-size:.875rem;line-height:1.25rem}._1890qme6{color:oklch(55.21% .148 150.27)!important}._1890qme8{color:oklch(86.84% .002 197.12)!important}._1890qmea{color:oklch(50.83% .125 337.21)}._1890qmeb{color:oklch(56.21% .128 239.83)}._1890qmec{color:oklch(56.83% .229 22.94)}._1890qmed{color:oklch(68.35% .17 53.59)}._1890qmee{color:oklch(56.48% .008 219.62)}._1890qmef{background:oklch(93.43% .001 286.37);border-radius:.5rem;height:1rem;width:100%;overflow:hidden}._1890qmeg{cursor:not-allowed}._1890qmei{background-color:oklch(50.83% .125 337.21);border-radius:.5rem;height:1rem}._1890qmej{background-color:oklch(55.21% .148 150.27)!important}._1890qmel{background-color:oklch(86.84% .002 197.12)!important}._1890qmen{background:oklch(50.83% .125 337.21)}._1890qmen:hover{background:oklch(43.29% .091 334)}._1890qmeo{background:oklch(56.21% .128 239.83)}._1890qmeo:hover{background:oklch(47.39% .101 237.12)}._1890qmep{background:oklch(56.83% .229 22.94)}._1890qmep:hover{background:oklch(45.78% .177 19.02)}._1890qmeq{background:oklch(68.35% .17 53.59)}._1890qmeq:hover{background:oklch(55.93% .127 57.69)}._1890qmer{background:oklch(56.48% .008 219.62)}._1890qmer:hover{background:oklch(26.99% .015 226.65)}._1890qmes{background-color:oklch(86.84% .002 197.12)}._1890qmet{color:oklch(43.62% .011 222.24);font-size:.75rem;line-height:1.125rem;margin-top:1rem}._17lj0go0{font-weight:600}._17lj0go1{color:oklch(55.21% .148 150.27)!important}._17lj0go3{color:oklch(86.84% .002 197.12)!important}._17lj0go5{color:oklch(50.83% .125 337.21)}._17lj0go6{color:oklch(56.21% .128 239.83)}._17lj0go7{color:oklch(56.83% .229 22.94)}._17lj0go8{color:oklch(68.35% .17 53.59)}._17lj0go9{color:oklch(56.48% .008 219.62)}._17lj0goh{cursor:not-allowed}._17lj0goj{display:block}._17lj0gok{color:oklch(100% 0 0)}._17lj0gol{color:oklch(56.48% .008 219.62)}._17lj0gom{background:oklch(93.43% .001 286.37);border-radius:.125rem;margin-left:.125rem;height:1rem;display:flex;flex:1 1 8%;align-items:center;justify-content:center}._17lj0gom:last-child{border-radius:.125rem .5rem .5rem .125rem}._17lj0gom:first-child{border-radius:.5rem .125rem .125rem .5rem;margin-left:0}._17lj0gom:only-child{border-radius:.5rem}._17lj0goy{background:oklch(86.84% .002 197.12)}._17lj0goz{background:oklch(55.21% .148 150.27)}._17lj0go10{background:oklch(86.84% .002 197.12);cursor:not-allowed}._17lj0go11{background:oklch(50.83% .125 337.21)}._17lj0go11:hover{background:oklch(43.29% .091 334)}._17lj0go12{background:oklch(56.83% .229 22.94)}._17lj0go12:hover{background:oklch(45.78% .177 19.02)}._17lj0go13{background:oklch(56.21% .128 239.83)}._17lj0go13:hover{background:oklch(47.39% .101 237.12)}._17lj0go14{background:oklch(68.35% .17 53.59)}._17lj0go14:hover{background:oklch(55.93% .127 57.69)}._17lj0go15{background:oklch(56.48% .008 219.62)}._17lj0go15:hover{background:oklch(26.99% .015 226.65)}
1
+ ._1890qme0{align-items:center;display:flex}._1890qme1{flex-grow:1}._1890qme2{margin-left:.5rem;margin-top:-.375rem}._1890qme3{display:flex;font-size:.875rem;line-height:1.25rem;margin-bottom:.5rem}._1890qme4{color:#1f282c;flex-grow:1}._1890qme5{color:#91467f;font-weight:600;font-size:.875rem;line-height:1.25rem}._1890qme6{color:#0b8940!important}._1890qme8{color:#d2d4d4!important}._1890qmea{color:#91467f}._1890qmeb{color:#027db8}._1890qmec{color:#de012e}._1890qmed{color:#e77609}._1890qmee{color:#717779}._1890qmef{background:#e9e9ea;border-radius:.5rem;height:1rem;width:100%;overflow:hidden}._1890qmeg{cursor:not-allowed}._1890qmei{background-color:#91467f;border-radius:.5rem;height:1rem}._1890qmej{background-color:#0b8940!important}._1890qmel{background-color:#d2d4d4!important}._1890qmen{background:#91467f}._1890qmen:hover{background:#6e3c65}._1890qmeo{background:#027db8}._1890qmeo:hover{background:#08638d}._1890qmep{background:#de012e}._1890qmep:hover{background:#a30d2d}._1890qmeq{background:#e77609}._1890qmeq:hover{background:#aa5e13}._1890qmer{background:#717779}._1890qmer:hover{background:#1f282c}._1890qmes{background-color:#d2d4d4}._1890qmet{color:#4b5356;font-size:.75rem;line-height:1.125rem;margin-top:1rem}._17lj0go0{font-weight:600}._17lj0go1{color:#0b8940!important}._17lj0go3{color:#d2d4d4!important}._17lj0go5{color:#91467f}._17lj0go6{color:#027db8}._17lj0go7{color:#de012e}._17lj0go8{color:#e77609}._17lj0go9{color:#717779}._17lj0goh{cursor:not-allowed}._17lj0goj{display:block}._17lj0gok{color:#fff}._17lj0gol{color:#717779}._17lj0gom{background:#e9e9ea;border-radius:.125rem;margin-left:.125rem;height:1rem;display:flex;flex:1 1 8%;align-items:center;justify-content:center}._17lj0gom:last-child{border-radius:.125rem .5rem .5rem .125rem}._17lj0gom:first-child{border-radius:.5rem .125rem .125rem .5rem;margin-left:0}._17lj0gom:only-child{border-radius:.5rem}._17lj0goy{background:#d2d4d4}._17lj0goz{background:#0b8940}._17lj0go10{background:#d2d4d4;cursor:not-allowed}._17lj0go11{background:#91467f}._17lj0go11:hover{background:#6e3c65}._17lj0go12{background:#de012e}._17lj0go12:hover{background:#a30d2d}._17lj0go13{background:#027db8}._17lj0go13:hover{background:#08638d}._17lj0go14{background:#e77609}._17lj0go14:hover{background:#aa5e13}._17lj0go15{background:#717779}._17lj0go15:hover{background:#1f282c}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sps-woodland/progress-indicators",
3
3
  "description": "SPS Woodland Design System progress indicator components",
4
- "version": "8.7.4",
4
+ "version": "8.7.5",
5
5
  "author": "SPS Commerce",
6
6
  "license": "UNLICENSED",
7
7
  "repository": "https://github.com/SPSCommerce/woodland/tree/main/packages/@sps-woodland/progress-indicators",
@@ -29,10 +29,10 @@
29
29
  "@spscommerce/utils": "^6.12.1",
30
30
  "react": "^16.9.0",
31
31
  "react-dom": "^16.9.0",
32
- "@sps-woodland/core": "8.7.4",
33
- "@sps-woodland/tokens": "8.7.4",
34
- "@sps-woodland/buttons": "8.7.4",
35
- "@spscommerce/ds-react": "8.7.4"
32
+ "@sps-woodland/core": "8.7.5",
33
+ "@sps-woodland/tokens": "8.7.5",
34
+ "@sps-woodland/buttons": "8.7.5",
35
+ "@spscommerce/ds-react": "8.7.5"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@spscommerce/utils": "^6.12.1",
@@ -40,10 +40,10 @@
40
40
  "@vanilla-extract/recipes": "^0.2.5",
41
41
  "react": "^16.9.0",
42
42
  "react-dom": "^16.9.0",
43
- "@sps-woodland/core": "8.7.4",
44
- "@sps-woodland/tokens": "8.7.4",
45
- "@sps-woodland/buttons": "8.7.4",
46
- "@spscommerce/ds-react": "8.7.4"
43
+ "@sps-woodland/core": "8.7.5",
44
+ "@sps-woodland/tokens": "8.7.5",
45
+ "@sps-woodland/buttons": "8.7.5",
46
+ "@spscommerce/ds-react": "8.7.5"
47
47
  },
48
48
  "scripts": {
49
49
  "build": "pnpm run build:js && pnpm run build:types",
File without changes