diff --git a/packages/components/docs/sass.md b/packages/components/docs/sass.md index 71eb1ff037ec..459ca34506b4 100644 --- a/packages/components/docs/sass.md +++ b/packages/components/docs/sass.md @@ -19559,6 +19559,7 @@ Number input styles cursor: not-allowed; background-color: $disabled-background-color; color: $disabled; + border-bottom-color: transparent; } .#{$prefix}--number__input-wrapper { @@ -19707,6 +19708,51 @@ Number input styles } } + // Size Variant styles + .#{$prefix}--number--xl input[type='number'] { + height: rem(48px); + } + + .#{$prefix}--number--xl .#{$prefix}--number__control-btn { + height: rem(24px); + } + + .#{$prefix}--number--xl.#{$prefix}--number--mobile + .#{$prefix}--number__control-btn { + height: rem(48px); + width: rem(48px); + } + + .#{$prefix}--number--xl .#{$prefix}--number__control-btn.up-icon svg { + top: rem(6.6px); // Needed to maintain arrow spacing between input sizes. + } + + .#{$prefix}--number--xl .#{$prefix}--number__control-btn.down-icon svg { + top: rem(-6.6px); // Needed to maintain arrow spacing between input sizes. + } + + .#{$prefix}--number--sm input[type='number'] { + height: rem(32px); + } + + .#{$prefix}--number--sm .#{$prefix}--number__control-btn { + height: rem(16px); + } + + .#{$prefix}--number--sm.#{$prefix}--number--mobile + .#{$prefix}--number__control-btn { + height: rem(32px); + width: rem(32px); + } + + .#{$prefix}--number--sm .#{$prefix}--number__control-btn.up-icon svg { + top: rem(3.4px); // Needed to maintain arrow spacing between input sizes. + } + + .#{$prefix}--number--sm .#{$prefix}--number__control-btn.down-icon svg { + top: rem(-3.4px); // Needed to maintain arrow spacing between input sizes. + } + //No label positioning adjustment .#{$prefix}--number--nolabel .bx--label + .bx--form__helper-text { margin-top: 0;