diff --git a/components/slider/index.en-US.md b/components/slider/index.en-US.md index e47f1e165..faa3b8360 100644 --- a/components/slider/index.en-US.md +++ b/components/slider/index.en-US.md @@ -32,6 +32,8 @@ To input a value in a range. | tooltipPlacement | Set Tooltip display position. Ref [`Tooltip`](/components/tooltip/). | string | | 1.5.0 | | tooltipVisible | If true, Tooltip will show always, or it will not show anyway, even if dragging or hovering. | Boolean | | | | getTooltipPopupContainer | The DOM container of the Tooltip, the default behavior is to create a div element in body. | Function | () => document.body | 1.5.0 | +| trackStyle | The style of slider track | CSSProperties | - | | +| handleStyle | The style of slider handle | CSSProperties | - | | ### events diff --git a/components/slider/style/index.less b/components/slider/style/index.less index 13ea3a2cc..d5967bb08 100644 --- a/components/slider/style/index.less +++ b/components/slider/style/index.less @@ -120,9 +120,11 @@ &:first-child { margin-left: -4px; } + &:last-child { margin-left: -4px; } + &-active { border-color: @slider-dot-border-color-active; } @@ -131,6 +133,10 @@ &-disabled { cursor: not-allowed; + .@{slider-prefix-cls}-rail { + background-color: @slider-rail-background-color !important; + } + .@{slider-prefix-cls}-track { background-color: @slider-disabled-color !important; } diff --git a/components/space/demo/vertical.vue b/components/space/demo/vertical.vue index 1eb3fa379..07a45252c 100644 --- a/components/space/demo/vertical.vue +++ b/components/space/demo/vertical.vue @@ -15,7 +15,7 @@ title: ## en-US Crowded components vertical spacing. -Can set `width: 100%` fill a row. +Can set `width: 100%` to fill a row. diff --git a/components/space/style/index.less b/components/space/style/index.less index c73c66984..842554ca2 100644 --- a/components/space/style/index.less +++ b/components/space/style/index.less @@ -6,6 +6,7 @@ .@{space-prefix-cls} { display: inline-flex; + &-vertical { flex-direction: column; } @@ -14,12 +15,15 @@ &-center { align-items: center; } + &-start { align-items: flex-start; } + &-end { align-items: flex-end; } + &-baseline { align-items: baseline; } diff --git a/components/space/style/index.ts b/components/space/style/index.tsx similarity index 100% rename from components/space/style/index.ts rename to components/space/style/index.tsx