@@ -151,6 +151,11 @@ const sassdoc: PackageSassDoc = {
151151 { name : "rmd-button" , type : "mixin" , packageName : "button" } ,
152152 { name : "rmd-chip" , type : "mixin" , packageName : "chip" } ,
153153 { name : "rmd-switch" , type : "mixin" , packageName : "form" } ,
154+ {
155+ name : "rmd-circular-progress" ,
156+ type : "mixin" ,
157+ packageName : "progress" ,
158+ } ,
154159 ] ,
155160 requires : [
156161 {
@@ -347,18 +352,28 @@ const sassdoc: PackageSassDoc = {
347352 "rmd-circular-progress" : {
348353 name : "rmd-circular-progress" ,
349354 description : "" ,
350- source : "packages/progress/src/_mixins.scss#L221-L283 " ,
355+ source : "packages/progress/src/_mixins.scss#L221-L289 " ,
351356 usedBy : [
352357 { name : "react-md-progress" , type : "mixin" , packageName : "progress" } ,
353358 ] ,
354359 requires : [
355360 { name : "rmd-progress-theme" , type : "mixin" , packageName : "progress" } ,
361+ {
362+ name : "rmd-progress-theme-update-var" ,
363+ type : "mixin" ,
364+ packageName : "progress" ,
365+ } ,
356366 { name : "rmd-transition" , type : "mixin" , packageName : "transition" } ,
357367 {
358368 name : "rmd-progress-animation" ,
359369 type : "mixin" ,
360370 packageName : "progress" ,
361371 } ,
372+ {
373+ name : "rmd-circular-progress-small-size" ,
374+ type : "variable" ,
375+ packageName : "progress" ,
376+ } ,
362377 {
363378 name : "rmd-circular-progress-transition-duration" ,
364379 type : "variable" ,
@@ -383,13 +398,13 @@ const sassdoc: PackageSassDoc = {
383398 packageName : "progress" ,
384399 code : "@mixin rmd-circular-progress { … }" ,
385400 sourceCode :
386- "@mixin rmd-circular-progress {\n .rmd-circular-progress {\n @include rmd-progress-theme(height, circular-size);\n @include rmd-progress-theme(width, circular-size);\n\n // add border radius and overflow-hidden so that different stroke-widths\n // are still circular. For some reason it isn't always the case.\n align-items: center;\n border-radius: 50%;\n display: inline-flex;\n justify-content: center;\n overflow: hidden;\n\n &--centered {\n display: flex;\n margin-left: auto;\n margin-right: auto;\n }\n\n &__svg {\n height: inherit;\n width: inherit;\n\n &--animate {\n @include rmd-transition(standard);\n\n transition: transform 0.1s;\n }\n\n &--indeterminate {\n animation: rmd-progress-rotate\n $rmd-circular-progress-transition-duration linear infinite;\n }\n }\n\n &__circle {\n @include rmd-progress-theme(stroke, color);\n @include rmd-progress-theme(stroke-width, circular-width);\n\n fill: none;\n stroke-dasharray: $rmd-circular-progress-dasharray;\n stroke-linecap: round;\n\n &--animate {\n @include rmd-transition(standard);\n\n transition: stroke-dashoffset 0.1s;\n }\n\n &--indeterminate {\n animation: rmd-circular-progress-size\n $rmd-circular-progress-transition-duration ease-in-out infinite;\n }\n }\n\n @keyframes rmd-progress-rotate {\n @include rmd-progress-animation($rmd-circular-progress-rotate-styles);\n }\n\n @keyframes rmd-circular-progress-size {\n @include rmd-progress-animation($rmd-circular-progress-dash-styles);\n }\n }\n}\n" ,
401+ "@mixin rmd-circular-progress {\n .rmd-circular-progress {\n @include rmd-progress-theme(height, circular-size);\n @include rmd-progress-theme(width, circular-size);\n\n // add border radius and overflow-hidden so that different stroke-widths\n // are still circular. For some reason it isn't always the case.\n align-items: center;\n border-radius: 50%;\n display: inline-flex;\n justify-content: center;\n overflow: hidden;\n\n &--centered {\n display: flex;\n margin-left: auto;\n margin-right: auto;\n }\n\n @if $rmd-circular-progress-small-size != null {\n &--small {\n @include rmd-progress-theme-update-var(\n circular-size,\n $rmd-circular-progress-small-size\n );\n }\n }\n\n &__svg {\n height: inherit;\n width: inherit;\n\n &--animate {\n @include rmd-transition(standard);\n\n transition: transform 0.1s;\n }\n\n &--indeterminate {\n animation: rmd-progress-rotate\n $rmd-circular-progress-transition-duration linear infinite;\n }\n }\n\n &__circle {\n @include rmd-progress-theme(stroke, color);\n @include rmd-progress-theme(stroke-width, circular-width);\n\n fill: none;\n stroke-dasharray: $rmd-circular-progress-dasharray;\n stroke-linecap: round;\n\n &--animate {\n @include rmd-transition(standard);\n\n transition: stroke-dashoffset 0.1s;\n }\n\n &--indeterminate {\n animation: rmd-circular-progress-size\n $rmd-circular-progress-transition-duration ease-in-out infinite;\n }\n }\n }\n\n @keyframes rmd-progress-rotate {\n @include rmd-progress-animation($rmd-circular-progress-rotate-styles);\n }\n\n @keyframes rmd-circular-progress-size {\n @include rmd-progress-animation($rmd-circular-progress-dash-styles);\n }\n}\n" ,
387402 type : "mixin" ,
388403 } ,
389404 "react-md-progress" : {
390405 name : "react-md-progress" ,
391406 description : "Creates all the styles for the progress package.\n" ,
392- source : "packages/progress/src/_mixins.scss#L286-L296 " ,
407+ source : "packages/progress/src/_mixins.scss#L292-L302 " ,
393408 usedBy : [ { name : "react-md-utils" , type : "mixin" , packageName : "utils" } ] ,
394409 requires : [
395410 {
@@ -652,11 +667,29 @@ const sassdoc: PackageSassDoc = {
652667 value : "3rem" ,
653668 overridable : true ,
654669 } ,
670+ "rmd-circular-progress-small-size" : {
671+ name : "rmd-circular-progress-small-size" ,
672+ description :
673+ "The size for a small circular progress svg. This is really the same size as the `$rmd-icon-size` so it could be used instead if the `@react-md/icon` package has also been installed." ,
674+ source : "packages/progress/src/_variables.scss#L217" ,
675+ since : "2.3.0" ,
676+ usedBy : [
677+ {
678+ name : "rmd-circular-progress" ,
679+ type : "mixin" ,
680+ packageName : "progress" ,
681+ } ,
682+ ] ,
683+ packageName : "progress" ,
684+ type : "String|Number" ,
685+ value : "1.5rem" ,
686+ overridable : true ,
687+ } ,
655688 "rmd-circular-progress-stroke-width" : {
656689 name : "rmd-circular-progress-stroke-width" ,
657690 description :
658691 "The stroke width for the circular svg. I wouldn't change this value unless you also update the `viewbox` for the `CircularProgress` component.\n" ,
659- source : "packages/progress/src/_variables.scss#L214 " ,
692+ source : "packages/progress/src/_variables.scss#L222 " ,
660693 packageName : "progress" ,
661694 type : "Number" ,
662695 value : "6" ,
@@ -666,7 +699,7 @@ const sassdoc: PackageSassDoc = {
666699 name : "rmd-circular-progress-dasharray" ,
667700 description :
668701 "The dasharray fro the circular svg. I don't really know how this works so good luck changing it to something else. If this value is changed, you'll aslo need to update the `dasharray` prop for the `CircularProgress` component.\n" ,
669- source : "packages/progress/src/_variables.scss#L221 " ,
702+ source : "packages/progress/src/_variables.scss#L229 " ,
670703 usedBy : [
671704 {
672705 name : "rmd-circular-progress" ,
@@ -683,7 +716,7 @@ const sassdoc: PackageSassDoc = {
683716 name : "rmd-circular-progress-transition-duration" ,
684717 description :
685718 "The entire transition duration for the circular progress. This is really the full time for the change in the `stroke-dashoffset` as the default rotation will rotate `720deg` over this time.\n" ,
686- source : "packages/progress/src/_variables.scss#L227 " ,
719+ source : "packages/progress/src/_variables.scss#L235 " ,
687720 usedBy : [
688721 {
689722 name : "rmd-circular-progress" ,
@@ -700,7 +733,7 @@ const sassdoc: PackageSassDoc = {
700733 name : "rmd-circular-progress-start-offset" ,
701734 description :
702735 "The starting dashoffset for the ciruclar progress animation. This will be used for the `0%` and `100%` values in the animation keyframes by default.\n" ,
703- source : "packages/progress/src/_variables.scss#L232 " ,
736+ source : "packages/progress/src/_variables.scss#L240 " ,
704737 packageName : "progress" ,
705738 type : "Number" ,
706739 value : "$rmd-circular-progress-dasharray" ,
@@ -711,7 +744,7 @@ const sassdoc: PackageSassDoc = {
711744 name : "rmd-circular-progress-end-offset" ,
712745 description :
713746 "The ending dashoffset for the ciruclar progress animation. This will be used for the `50%` value in the animation keyframes by default.\n" ,
714- source : "packages/progress/src/_variables.scss#L237 " ,
747+ source : "packages/progress/src/_variables.scss#L245 " ,
715748 packageName : "progress" ,
716749 type : "Number" ,
717750 value : "$rmd-circular-progress-dasharray / 4" ,
@@ -722,7 +755,7 @@ const sassdoc: PackageSassDoc = {
722755 name : "rmd-circular-progress-rotate-styles" ,
723756 description :
724757 "The circular progress styles to apply for the rotation transition. Each key in this map will be set immediately at the root of the `keyframes` and then each child map will be considered a map of property: value.\n" ,
725- source : "packages/progress/src/_variables.scss#L243-L256 " ,
758+ source : "packages/progress/src/_variables.scss#L251-L264 " ,
726759 usedBy : [
727760 {
728761 name : "rmd-circular-progress" ,
@@ -740,7 +773,7 @@ const sassdoc: PackageSassDoc = {
740773 name : "rmd-circular-progress-dash-styles" ,
741774 description :
742775 "The circular progress styles to apply for the dashoffset transition. Each key in this map will be set immediately at the root of the `keyframes` and then each child map will be considered a map of property: value.\n" ,
743- source : "packages/progress/src/_variables.scss#L262-L272 " ,
776+ source : "packages/progress/src/_variables.scss#L270-L280 " ,
744777 usedBy : [
745778 {
746779 name : "rmd-circular-progress" ,
@@ -760,7 +793,7 @@ const sassdoc: PackageSassDoc = {
760793 name : "rmd-progress-theme-values" ,
761794 description :
762795 'A Map of all the "themeable" parts of the progress package. Every key in this map will be used to create a css variable to dynamically update the values of the icon as needed.\n' ,
763- source : "packages/progress/src/_variables.scss#L278-L284 " ,
796+ source : "packages/progress/src/_variables.scss#L286-L292 " ,
764797 usedBy : [
765798 {
766799 name : "rmd-progress-theme" ,
0 commit comments