@itwin/itwinui-css 0.59.2 → 0.62.0

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.
Files changed (61) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/css/alert.css +7 -2
  3. package/css/all.css +730 -271
  4. package/css/anchor.css +1 -1
  5. package/css/backdrop.css +24 -0
  6. package/css/badge.css +1 -1
  7. package/css/blockquote.css +1 -1
  8. package/css/breadcrumbs.css +5 -5
  9. package/css/button.css +13 -13
  10. package/css/carousel.css +2 -2
  11. package/css/code.css +3 -3
  12. package/css/color-picker.css +6 -6
  13. package/css/date-picker.css +6 -6
  14. package/css/dialog.css +64 -97
  15. package/css/expandable-block.css +6 -1
  16. package/css/fieldset.css +2 -2
  17. package/css/file-upload.css +6 -0
  18. package/css/footer.css +1 -1
  19. package/css/global.css +1 -1
  20. package/css/header.css +8 -3
  21. package/css/icon.css +30 -0
  22. package/css/inputs.css +201 -5
  23. package/css/keyboard.css +1 -1
  24. package/css/location-marker.css +1 -1
  25. package/css/menu.css +1 -1
  26. package/css/radio-tile.css +2 -2
  27. package/css/side-navigation.css +5 -0
  28. package/css/slider.css +161 -46
  29. package/css/table.css +1 -1
  30. package/css/tabs.css +31 -27
  31. package/css/tag.css +4 -11
  32. package/css/text.css +1 -1
  33. package/css/tile.css +102 -0
  34. package/css/time-picker.css +2 -2
  35. package/css/toast-notification.css +2 -2
  36. package/css/tooltip.css +1 -1
  37. package/css/tree.css +5 -0
  38. package/package.json +12 -8
  39. package/scss/backdrop/backdrop.scss +27 -0
  40. package/scss/backdrop/classes.scss +7 -0
  41. package/scss/backdrop/index.scss +3 -0
  42. package/scss/classes.scss +1 -0
  43. package/scss/color-picker/color-picker.scss +35 -31
  44. package/scss/dialog/classes.scss +7 -6
  45. package/scss/dialog/dialog.scss +95 -125
  46. package/scss/icon/mixins.scss +3 -0
  47. package/scss/index.scss +1 -0
  48. package/scss/inputs/classes.scss +20 -0
  49. package/scss/inputs/select.scss +66 -0
  50. package/scss/slider/classes.scss +13 -0
  51. package/scss/slider/slider.scss +146 -36
  52. package/scss/style/variables.scss +1 -1
  53. package/scss/tabs/borderless.scss +3 -4
  54. package/scss/tabs/classes.scss +4 -0
  55. package/scss/tabs/default.scss +3 -4
  56. package/scss/tabs/pill.scss +1 -1
  57. package/scss/tabs/tabs.scss +14 -13
  58. package/scss/tag/tag.scss +2 -2
  59. package/scss/tile/classes.scss +12 -0
  60. package/scss/tile/tile.scss +49 -0
  61. package/src/index.scss +1 -0
@@ -3,144 +3,137 @@
3
3
  @import '../style/index';
4
4
  @import '../icon/index';
5
5
 
6
- @mixin iui-dialog-backdrop {
7
- @include iui-reset;
8
- z-index: 999;
9
- isolation: isolate;
10
- position: fixed;
6
+ $iui-dialog-width: 380px;
7
+
8
+ @mixin iui-dialog-wrapper {
9
+ position: relative;
10
+ overflow: hidden;
11
11
  top: 0;
12
12
  left: 0;
13
13
  width: 100%;
14
14
  height: 100%;
15
- @include themed {
16
- background-color: rgba(0, 0, 0, t(iui-opacity-4));
17
- }
18
-
19
- // Small/Resizable Dialog Animations for CSS
20
- visibility: hidden;
21
- opacity: 0;
22
- transition: visibility $iui-speed-instant linear $iui-speed-fast, opacity $iui-speed-fast ease-out;
23
-
24
- &.iui-dialog-visible {
25
- visibility: visible;
26
- opacity: 1;
27
- // remove delay for entry animation so dialog is instantly visible
28
- transition-delay: $iui-speed-instant;
29
- }
30
- }
31
-
32
- @mixin iui-dialog-backdrop-relative {
33
- position: relative;
34
- overflow: hidden;
15
+ pointer-events: none;
16
+ transform: translateX(0); // creates containing block for position: fixed
35
17
  }
36
18
 
37
19
  @mixin iui-dialog {
20
+ z-index: 999;
21
+ isolation: isolate;
38
22
  border-radius: $iui-border-radius;
39
23
  box-shadow: $iui-elevation-24;
40
24
  box-sizing: border-box;
41
- position: absolute;
25
+ position: fixed;
42
26
  padding: $iui-baseline $iui-m;
43
27
  box-sizing: border-box;
44
28
  padding: $iui-baseline $iui-m;
45
29
  overflow: hidden;
46
- @include themed {
47
- background-color: t(iui-color-background-1);
48
- }
30
+ pointer-events: auto;
31
+ background-color: #FFF; // IE fallback
32
+ background-color: var(--iui-color-background-1);
49
33
  @media (forced-colors: active) {
50
34
  border: 1px solid;
51
35
  }
36
+
37
+ &:not(.iui-dialog-visible) {
38
+ visibility: hidden;
39
+ opacity: 0;
40
+ }
41
+
42
+ transition: visibility $iui-speed-instant linear, opacity $iui-speed-fast ease-out;
43
+ transition-delay: $iui-speed-fast, $iui-speed-instant;
44
+
45
+ &.iui-dialog-visible {
46
+ transition-delay: $iui-speed-instant; // remove delay for entry animation
47
+ }
52
48
  }
53
49
 
54
50
  @mixin iui-dialog-default {
55
- .iui-dialog {
51
+ max-width: Max(50%, $iui-dialog-width);
52
+ min-width: $iui-dialog-width;
53
+ max-height: 100vh;
54
+ }
55
+
56
+ @mixin iui-dialog-placement {
57
+ &:not([data-iui-placement]) {
56
58
  left: 50%;
57
59
  top: 33%;
58
60
  transform: translate(-50%, -33%);
59
- max-width: 50%;
60
- min-width: 380px;
61
- max-height: 100vh;
62
-
63
- @media screen and (max-width: 400px) {
64
- max-width: 95%;
65
- width: 95%;
66
- min-width: 95%;
67
- }
68
61
  }
69
- }
70
62
 
71
- @mixin iui-dialog-full-page {
72
- @media (prefers-reduced-motion: no-preference) {
73
- transition: visibility $iui-speed-instant linear $iui-speed-slow, opacity $iui-speed ease-out $iui-speed-fast;
63
+ &[data-iui-placement='top-left'] {
64
+ top: 0;
65
+ left: 0;
66
+ margin-left: $iui-baseline;
67
+ margin-top: $iui-m;
74
68
  }
75
69
 
76
- .iui-dialog {
77
- border-radius: 0;
78
- height: 100vh;
79
- width: 100vw;
70
+ &[data-iui-placement='top-right'] {
80
71
  top: 0;
72
+ right: 0;
73
+ margin-right: $iui-baseline;
74
+ margin-top: $iui-m;
75
+ }
76
+
77
+ &[data-iui-placement='bottom-left'] {
78
+ bottom: 0;
81
79
  left: 0;
82
- max-width: initial;
83
- min-width: initial;
84
- display: flex;
85
- flex-direction: column;
86
- will-change: transform;
87
- @media (prefers-reduced-motion: no-preference) {
88
- transform: translateY(100%);
89
- transition: visibility $iui-speed-instant linear $iui-speed, opacity $iui-speed-instant linear $iui-speed,
90
- transform $iui-speed-fast ease-in;
91
- }
80
+ margin-left: $iui-baseline;
81
+ margin-bottom: $iui-m;
92
82
  }
93
83
 
94
- &.iui-dialog-visible .iui-dialog {
95
- transform: translateY(0);
96
- @media (prefers-reduced-motion: no-preference) {
84
+ &[data-iui-placement='bottom-right'] {
85
+ bottom: 0;
86
+ right: 0;
87
+ margin-right: $iui-baseline;
88
+ margin-bottom: $iui-m;
89
+ }
90
+ }
91
+
92
+ @mixin iui-dialog-full-page {
93
+ border-radius: 0;
94
+ height: 100vh;
95
+ height: 100dvh;
96
+ width: 100vw;
97
+ top: 0;
98
+ left: 0;
99
+ display: flex;
100
+ flex-direction: column;
101
+ will-change: transform;
102
+
103
+ &:not(.iui-dialog-visible) {
104
+ transform: translateY(100%);
105
+ }
106
+
107
+ @media (prefers-reduced-motion: no-preference) {
108
+ transition: visibility $iui-speed-instant linear $iui-speed, opacity $iui-speed-instant linear $iui-speed,
109
+ transform $iui-speed-fast ease-in;
110
+
111
+ &.iui-dialog-visible {
97
112
  transition: transform $iui-speed ease-out;
98
113
  }
99
114
  }
100
115
  }
101
116
 
102
117
  @mixin iui-dialog-draggable {
103
- background-color: transparent;
104
- pointer-events: none;
105
- z-index: 998;
106
-
107
- .iui-dialog {
108
- pointer-events: initial;
109
- max-width: 100vw;
110
- max-height: 100vh;
111
- min-width: 380px;
112
- min-height: 144px;
113
- display: flex;
114
- flex-direction: column;
115
- padding: 0;
116
- @include themed {
117
- border: 1px solid t(iui-color-background-border);
118
- }
119
- }
118
+ max-width: 100%;
119
+ max-height: 100vh;
120
+ min-width: $iui-dialog-width;
121
+ min-height: 144px;
122
+ display: flex;
123
+ flex-direction: column;
124
+ border: 1px solid var(--iui-color-background-border);
120
125
  }
121
126
 
122
127
  @mixin iui-dialog-animation {
123
- // Full Page Dialog Animations for React
124
- &-enter .iui-dialog-full-page .iui-dialog {
128
+ &-enter {
125
129
  transform: translateY(100%);
126
130
  opacity: 0;
127
131
  }
128
132
 
129
- &-enter-active .iui-dialog-full-page .iui-dialog {
133
+ &-enter-active {
130
134
  transform: translateY(0);
131
135
  opacity: 1;
132
136
  }
133
-
134
- // Small Dialog Animations for React
135
- &-enter .iui-dialog-backdrop {
136
- visibility: hidden;
137
- opacity: 0;
138
- }
139
-
140
- &-enter-active .iui-dialog-backdrop {
141
- visibility: visible;
142
- opacity: 1;
143
- }
144
137
  }
145
138
 
146
139
  @mixin iui-dialog-title {
@@ -158,20 +151,18 @@
158
151
  justify-content: space-between;
159
152
  box-sizing: border-box;
160
153
  font-size: $iui-font-size-subheading;
154
+ }
161
155
 
162
- @at-root .iui-dialog-draggable & {
163
- user-select: none;
164
- font-size: $iui-font-size-leading;
165
- padding: round($iui-baseline * 0.5) $iui-m;
166
- cursor: grab;
167
- @include themed {
168
- background-color: t(iui-color-background-3);
169
- border-bottom: 1px solid t(iui-color-background-border);
170
- }
156
+ @mixin iui-dialog-title-bar-filled {
157
+ font-size: $iui-font-size-leading;
158
+ padding: round($iui-baseline * 0.5) $iui-m;
159
+ margin: -#{$iui-baseline} -#{$iui-m} $iui-baseline -#{$iui-m}; // negative margin to counteract dialog padding
160
+ cursor: grab;
161
+ background-color: var(--iui-color-background-3);
162
+ border-bottom: 1px solid var(--iui-color-background-border);
171
163
 
172
- &:active {
173
- cursor: grabbing;
174
- }
164
+ &:active {
165
+ cursor: grabbing;
175
166
  }
176
167
  }
177
168
 
@@ -181,10 +172,6 @@
181
172
  padding: 0 $iui-m;
182
173
  overflow-y: auto;
183
174
  overflow-y: overlay;
184
-
185
- @at-root .iui-dialog-draggable & {
186
- margin: 0;
187
- }
188
175
  }
189
176
 
190
177
  @mixin iui-dialog-button-bar {
@@ -192,22 +179,5 @@
192
179
  display: flex;
193
180
  align-items: center;
194
181
  justify-content: flex-end;
195
-
196
- @at-root .iui-dialog-draggable & {
197
- padding: 0 $iui-m $iui-baseline $iui-m;
198
- }
199
-
200
- // #region IE support
201
- > .iui-button:not(:last-child) {
202
- margin-right: $iui-s;
203
- }
204
-
205
- @supports (column-gap: $iui-s) {
206
- column-gap: $iui-s;
207
-
208
- > .iui-button:not(:last-child) {
209
- margin-right: 0;
210
- }
211
- }
212
- // #endregion IE support
182
+ gap: $iui-s;
213
183
  }
@@ -48,6 +48,9 @@
48
48
  @include themed {
49
49
  fill: t(iui-icons-color);
50
50
  }
51
+ @media (forced-colors: active) {
52
+ fill: CanvasText;
53
+ }
51
54
 
52
55
  &.iui-informational {
53
56
  @include themed {
package/scss/index.scss CHANGED
@@ -4,6 +4,7 @@
4
4
  @import './alert/index';
5
5
  @import './anchor/index';
6
6
  @import './badge/index';
7
+ @import './backdrop/index';
7
8
  @import './blockquote/index';
8
9
  @import './breadcrumbs/index';
9
10
  @import './button/index';
@@ -46,6 +46,26 @@
46
46
  @include iui-select-button;
47
47
  }
48
48
 
49
+ .iui-select-tag-container {
50
+ @include iui-select-tag-container;
51
+ }
52
+
53
+ .iui-select-tag {
54
+ @include iui-select-tag;
55
+ }
56
+
57
+ .iui-select-tag-label {
58
+ @include iui-select-tag-label;
59
+ }
60
+
61
+ .iui-select-tag-button {
62
+ @include iui-select-tag-button;
63
+ }
64
+
65
+ .iui-select-tag-button-icon {
66
+ @include iui-select-tag-button-icon;
67
+ }
68
+
49
69
  .iui-textarea {
50
70
  @include iui-textarea;
51
71
  }
@@ -2,6 +2,8 @@
2
2
  // See LICENSE.md in the project root for license terms and full copyright notice.
3
3
  @import '../style/index';
4
4
  @import '../menu/index';
5
+ @import '../tag/index';
6
+ @import '../button/index';
5
7
 
6
8
  @mixin iui-select-button {
7
9
  @include iui-focus($offset: -2px, $thickness: 2px);
@@ -64,3 +66,67 @@
64
66
  }
65
67
  }
66
68
  }
69
+
70
+ @mixin iui-select-tag-container {
71
+ position: absolute;
72
+ // align wth Select's padding
73
+ inset: 0 $iui-icons-default + $iui-l 0 $iui-sm;
74
+ height: 100%;
75
+ display: flex;
76
+ align-items: center;
77
+ gap: $iui-xs;
78
+ overflow: hidden;
79
+
80
+ > * + * {
81
+ margin-left: $iui-xs;
82
+ @supports (gap: $iui-xs) {
83
+ margin-left: 0;
84
+ }
85
+ }
86
+ }
87
+
88
+ @mixin iui-select-tag {
89
+ @include iui-tag;
90
+ // Override hardcoded Tag margin
91
+ margin-top: 0;
92
+ margin-bottom: 0;
93
+ display: inline-flex;
94
+ align-items: center;
95
+ height: 80%;
96
+ max-height: $iui-baseline * 3;
97
+ }
98
+
99
+ @mixin iui-select-tag-label {
100
+ @include iui-tag-label;
101
+ display: inline-flex;
102
+ align-items: center;
103
+
104
+ @at-root .iui-select-button.iui-small & {
105
+ font-size: $iui-font-size-small;
106
+ line-height: floor($iui-baseline * 1.5);
107
+ }
108
+ }
109
+
110
+ @mixin iui-select-tag-button {
111
+ @include iui-button;
112
+ @include iui-button-borderless;
113
+ @include iui-tag-button;
114
+ padding: 0 $iui-xs;
115
+ height: 100%;
116
+ aspect-ratio: 1 / 1;
117
+
118
+ @at-root .iui-select-button.iui-small & {
119
+ font-size: $iui-font-size-small;
120
+ line-height: floor($iui-baseline * 1.5);
121
+ }
122
+ }
123
+
124
+ @mixin iui-select-tag-button-icon {
125
+ @include iui-button-icon;
126
+ flex-shrink: 0;
127
+
128
+ @at-root .iui-select-button.iui-small & {
129
+ width: $iui-icons-small;
130
+ height: $iui-icons-small;
131
+ }
132
+ }
@@ -2,6 +2,14 @@
2
2
  // See LICENSE.md in the project root for license terms and full copyright notice.
3
3
  @import './index';
4
4
 
5
+ .iui-slider-horizontal {
6
+ @include iui-slider-horizontal;
7
+ }
8
+
9
+ .iui-slider-vertical {
10
+ @include iui-slider-vertical;
11
+ }
12
+
5
13
  .iui-slider-component-container {
6
14
  @include iui-slider-component-container;
7
15
  }
@@ -25,3 +33,8 @@
25
33
  .iui-slider-track {
26
34
  @include iui-slider-track;
27
35
  }
36
+
37
+ .iui-slider-min,
38
+ .iui-slider-max {
39
+ @include iui-slider-endpoints;
40
+ }
@@ -9,30 +9,18 @@ $tick-height: $iui-baseline; // 11px
9
9
 
10
10
  @mixin iui-slider-component-container {
11
11
  display: flex;
12
- min-height: $iui-baseline * 2;
13
-
14
- .iui-slider-min,
15
- .iui-slider-max {
16
- user-select: all;
17
- margin-top: $iui-xxs;
18
12
 
19
- svg {
20
- @include iui-icons-default;
21
- margin-top: $iui-xs;
22
- }
23
- }
24
-
25
- .iui-slider-min {
26
- margin-right: $iui-sm;
27
- text-align: right;
13
+ &.iui-disabled {
14
+ @include iui-slider-disabled;
28
15
  }
16
+ }
29
17
 
30
- .iui-slider-max {
31
- margin-left: $iui-sm;
32
- }
18
+ @mixin iui-slider-endpoints {
19
+ user-select: all;
33
20
 
34
- &.iui-disabled {
35
- @include iui-slider-disabled;
21
+ svg {
22
+ @include iui-icons-default;
23
+ margin-top: $iui-xs;
36
24
  }
37
25
  }
38
26
 
@@ -49,12 +37,12 @@ $tick-height: $iui-baseline; // 11px
49
37
 
50
38
  @mixin iui-slider-rail {
51
39
  position: absolute;
52
- width: 100%;
53
- height: $track-height;
54
- top: $iui-sm;
55
40
  @include themed {
56
41
  background-color: t(iui-color-background-border);
57
42
  }
43
+ @media (forced-colors: active) {
44
+ background-color: CanvasText;
45
+ }
58
46
  }
59
47
 
60
48
  @mixin iui-slider-thumb {
@@ -62,10 +50,6 @@ $tick-height: $iui-baseline; // 11px
62
50
  height: $thumb-height;
63
51
  width: $thumb-height;
64
52
  border-radius: 100%;
65
- top: $track-height + 1; // position center of thumb in center of track
66
- transform: translateX(
67
- (-$thumb-height - 2) * 0.5
68
- ); // Adjust the left (set in code) by radius of thumb so thumb center is at value position
69
53
  z-index: 1;
70
54
  cursor: grab;
71
55
  @include iui-focus($thickness: 2px);
@@ -73,6 +57,10 @@ $tick-height: $iui-baseline; // 11px
73
57
  background: t(iui-color-background-1);
74
58
  border: 1px solid t(iui-color-background-border);
75
59
  }
60
+ @media (forced-colors: active) {
61
+ background: Canvas;
62
+ border: 1px solid CanvasText;
63
+ }
76
64
 
77
65
  &:active {
78
66
  cursor: grabbing;
@@ -82,17 +70,17 @@ $tick-height: $iui-baseline; // 11px
82
70
  @mixin iui-slider-track {
83
71
  pointer-events: none;
84
72
  position: absolute;
85
- height: $track-height;
86
- left: 0;
87
73
  top: $iui-sm;
88
74
  @include themed {
89
75
  background-color: t(iui-color-foreground-primary);
90
76
  }
77
+ @media (forced-colors: active) {
78
+ background-color: Highlight;
79
+ }
91
80
  }
92
81
 
93
82
  @mixin iui-slider-ticks {
94
83
  position: relative;
95
- padding-top: $iui-m;
96
84
  display: flex;
97
85
  pointer-events: none;
98
86
  justify-content: space-between;
@@ -103,12 +91,15 @@ $tick-height: $iui-baseline; // 11px
103
91
  display: flex;
104
92
  pointer-events: none;
105
93
  justify-content: center;
106
- width: 1px;
107
- height: $tick-height;
108
- line-height: $tick-height * 4;
109
- margin-bottom: $tick-height * 2;
110
- @include themed {
111
- background-color: t(iui-color-background-4);
94
+ align-items: center;
95
+
96
+ &::before {
97
+ @include themed {
98
+ background-color: t(iui-color-background-4);
99
+ }
100
+ @media (forced-colors: active) {
101
+ background-color: CanvasText;
102
+ }
112
103
  }
113
104
  }
114
105
  }
@@ -127,12 +118,19 @@ $tick-height: $iui-baseline; // 11px
127
118
  background-color: t(iui-color-background-4);
128
119
  border-color: t(iui-color-background-4);
129
120
  }
121
+ @media (forced-colors: active) {
122
+ background-color: GrayText;
123
+ border-color: GrayText;
124
+ }
130
125
  }
131
126
 
132
127
  .iui-slider-track {
133
128
  @include themed {
134
129
  background-color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-4));
135
130
  }
131
+ @media (forced-colors: active) {
132
+ background-color: GrayText;
133
+ }
136
134
  }
137
135
 
138
136
  .iui-slider-min,
@@ -142,5 +140,117 @@ $tick-height: $iui-baseline; // 11px
142
140
  @include themed {
143
141
  color: t(iui-text-color-muted);
144
142
  }
143
+ @media (forced-colors: active) {
144
+ color: GrayText;
145
+ }
146
+ }
147
+ }
148
+
149
+ @mixin iui-slider-horizontal {
150
+ min-height: $iui-baseline * 2;
151
+
152
+ .iui-slider-rail {
153
+ width: 100%;
154
+ height: $track-height;
155
+ top: $iui-sm;
156
+ }
157
+
158
+ .iui-slider-thumb {
159
+ top: $track-height + 1; // position center of thumb in center of track
160
+ transform: translateX(
161
+ -50%
162
+ ); // Adjust the left (set in code) by radius of thumb so thumb center is at value position
163
+ }
164
+
165
+ .iui-slider-track {
166
+ height: $track-height;
167
+ left: 0;
168
+ }
169
+
170
+ .iui-slider-ticks {
171
+ padding-top: $iui-m;
172
+
173
+ .iui-slider-tick {
174
+ flex-direction: column;
175
+ width: 1px;
176
+
177
+ &::before {
178
+ content: '';
179
+ width: 1px;
180
+ height: $tick-height;
181
+ }
182
+ }
183
+ }
184
+
185
+ .iui-slider-min,
186
+ .iui-slider-max {
187
+ margin-top: $iui-xxs;
188
+ }
189
+
190
+ .iui-slider-min {
191
+ margin-right: $iui-sm;
192
+ text-align: right;
193
+ }
194
+
195
+ .iui-slider-max {
196
+ margin-left: $iui-sm;
197
+ }
198
+ }
199
+
200
+ @mixin iui-slider-vertical {
201
+ flex-direction: column-reverse;
202
+ min-width: $iui-baseline * 2;
203
+ height: 100%;
204
+
205
+ .iui-slider-rail {
206
+ width: $track-height;
207
+ height: 100%;
208
+ left: $iui-sm;
209
+ }
210
+
211
+ .iui-slider-thumb {
212
+ transform: translateY(
213
+ 50%
214
+ ); // Adjust the bottom (set in code) by radius of thumb so thumb center is at value position
215
+ left: $track-height + 1;
216
+ }
217
+
218
+ .iui-slider-track {
219
+ width: $track-height;
220
+ bottom: 0;
221
+ left: $iui-sm;
222
+ }
223
+
224
+ .iui-slider-ticks {
225
+ padding-left: $iui-m;
226
+ flex-direction: column-reverse;
227
+ align-items: flex-start;
228
+ height: 100%;
229
+
230
+ .iui-slider-tick {
231
+ flex: row;
232
+ height: 1px;
233
+
234
+ &::before {
235
+ content: '';
236
+ width: $tick-height;
237
+ height: 1px;
238
+ margin-right: $tick-height * 1;
239
+ }
240
+ }
241
+ }
242
+
243
+ .iui-slider-min,
244
+ .iui-slider-max {
245
+ margin-left: $iui-xxs;
246
+ text-align: center;
247
+ }
248
+
249
+ .iui-slider-min {
250
+ margin-top: $iui-sm;
251
+ }
252
+
253
+ .iui-slider-max {
254
+ margin-bottom: $iui-sm;
145
255
  }
146
256
  }
@@ -4,7 +4,7 @@
4
4
  @import './baseline';
5
5
  @import '../icon/variables';
6
6
 
7
- $iui-border-radius: 3px;
7
+ $iui-border-radius: 4px;
8
8
  $iui-border-radius-round: 9999px;
9
9
  $iui-blur-filter: blur(5px);
10
10