@@ -151,6 +151,11 @@ const sassdoc: PackageSassDoc = {
151
151
{ name : "rmd-button" , type : "mixin" , packageName : "button" } ,
152
152
{ name : "rmd-chip" , type : "mixin" , packageName : "chip" } ,
153
153
{ name : "rmd-switch" , type : "mixin" , packageName : "form" } ,
154
+ {
155
+ name : "rmd-circular-progress" ,
156
+ type : "mixin" ,
157
+ packageName : "progress" ,
158
+ } ,
154
159
] ,
155
160
requires : [
156
161
{
@@ -347,18 +352,28 @@ const sassdoc: PackageSassDoc = {
347
352
"rmd-circular-progress" : {
348
353
name : "rmd-circular-progress" ,
349
354
description : "" ,
350
- source : "packages/progress/src/_mixins.scss#L221-L283 " ,
355
+ source : "packages/progress/src/_mixins.scss#L221-L289 " ,
351
356
usedBy : [
352
357
{ name : "react-md-progress" , type : "mixin" , packageName : "progress" } ,
353
358
] ,
354
359
requires : [
355
360
{ name : "rmd-progress-theme" , type : "mixin" , packageName : "progress" } ,
361
+ {
362
+ name : "rmd-progress-theme-update-var" ,
363
+ type : "mixin" ,
364
+ packageName : "progress" ,
365
+ } ,
356
366
{ name : "rmd-transition" , type : "mixin" , packageName : "transition" } ,
357
367
{
358
368
name : "rmd-progress-animation" ,
359
369
type : "mixin" ,
360
370
packageName : "progress" ,
361
371
} ,
372
+ {
373
+ name : "rmd-circular-progress-small-size" ,
374
+ type : "variable" ,
375
+ packageName : "progress" ,
376
+ } ,
362
377
{
363
378
name : "rmd-circular-progress-transition-duration" ,
364
379
type : "variable" ,
@@ -383,13 +398,13 @@ const sassdoc: PackageSassDoc = {
383
398
packageName : "progress" ,
384
399
code : "@mixin rmd-circular-progress { … }" ,
385
400
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" ,
387
402
type : "mixin" ,
388
403
} ,
389
404
"react-md-progress" : {
390
405
name : "react-md-progress" ,
391
406
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 " ,
393
408
usedBy : [ { name : "react-md-utils" , type : "mixin" , packageName : "utils" } ] ,
394
409
requires : [
395
410
{
@@ -652,11 +667,29 @@ const sassdoc: PackageSassDoc = {
652
667
value : "3rem" ,
653
668
overridable : true ,
654
669
} ,
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
+ } ,
655
688
"rmd-circular-progress-stroke-width" : {
656
689
name : "rmd-circular-progress-stroke-width" ,
657
690
description :
658
691
"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 " ,
660
693
packageName : "progress" ,
661
694
type : "Number" ,
662
695
value : "6" ,
@@ -666,7 +699,7 @@ const sassdoc: PackageSassDoc = {
666
699
name : "rmd-circular-progress-dasharray" ,
667
700
description :
668
701
"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 " ,
670
703
usedBy : [
671
704
{
672
705
name : "rmd-circular-progress" ,
@@ -683,7 +716,7 @@ const sassdoc: PackageSassDoc = {
683
716
name : "rmd-circular-progress-transition-duration" ,
684
717
description :
685
718
"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 " ,
687
720
usedBy : [
688
721
{
689
722
name : "rmd-circular-progress" ,
@@ -700,7 +733,7 @@ const sassdoc: PackageSassDoc = {
700
733
name : "rmd-circular-progress-start-offset" ,
701
734
description :
702
735
"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 " ,
704
737
packageName : "progress" ,
705
738
type : "Number" ,
706
739
value : "$rmd-circular-progress-dasharray" ,
@@ -711,7 +744,7 @@ const sassdoc: PackageSassDoc = {
711
744
name : "rmd-circular-progress-end-offset" ,
712
745
description :
713
746
"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 " ,
715
748
packageName : "progress" ,
716
749
type : "Number" ,
717
750
value : "$rmd-circular-progress-dasharray / 4" ,
@@ -722,7 +755,7 @@ const sassdoc: PackageSassDoc = {
722
755
name : "rmd-circular-progress-rotate-styles" ,
723
756
description :
724
757
"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 " ,
726
759
usedBy : [
727
760
{
728
761
name : "rmd-circular-progress" ,
@@ -740,7 +773,7 @@ const sassdoc: PackageSassDoc = {
740
773
name : "rmd-circular-progress-dash-styles" ,
741
774
description :
742
775
"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 " ,
744
777
usedBy : [
745
778
{
746
779
name : "rmd-circular-progress" ,
@@ -760,7 +793,7 @@ const sassdoc: PackageSassDoc = {
760
793
name : "rmd-progress-theme-values" ,
761
794
description :
762
795
'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 " ,
764
797
usedBy : [
765
798
{
766
799
name : "rmd-progress-theme" ,
0 commit comments