@mmb-digital/design-system-web 0.1.8 → 0.1.10

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.
@@ -0,0 +1,271 @@
1
+ .rc-slider {
2
+ position: relative;
3
+ width: 100%;
4
+ height: 14px;
5
+ padding: 5px 0;
6
+ border-radius: 6px;
7
+ touch-action: none;
8
+ box-sizing: border-box;
9
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
10
+ }
11
+ .rc-slider * {
12
+ box-sizing: border-box;
13
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
14
+ }
15
+ .rc-slider-rail {
16
+ position: absolute;
17
+ width: 100%;
18
+ height: 4px;
19
+ background-color: #e9e9e9;
20
+ border-radius: 6px;
21
+ }
22
+ .rc-slider-track,
23
+ .rc-slider-tracks {
24
+ position: absolute;
25
+ height: 4px;
26
+ background-color: #abe2fb;
27
+ border-radius: 6px;
28
+ }
29
+ .rc-slider-track-draggable {
30
+ z-index: 1;
31
+ box-sizing: content-box;
32
+ background-clip: content-box;
33
+ border-top: 5px solid rgba(0, 0, 0, 0);
34
+ border-bottom: 5px solid rgba(0, 0, 0, 0);
35
+ transform: translateY(-5px);
36
+ }
37
+ .rc-slider-handle {
38
+ position: absolute;
39
+ z-index: 1;
40
+ width: 14px;
41
+ height: 14px;
42
+ margin-top: -5px;
43
+ background-color: #fff;
44
+ border: solid 2px #96dbfa;
45
+ border-radius: 50%;
46
+ cursor: pointer;
47
+ cursor: -webkit-grab;
48
+ cursor: grab;
49
+ opacity: 0.8;
50
+ touch-action: pan-x;
51
+ }
52
+ .rc-slider-handle-dragging.rc-slider-handle-dragging.rc-slider-handle-dragging {
53
+ border-color: #57c5f7;
54
+ box-shadow: 0 0 0 5px #96dbfa;
55
+ }
56
+ .rc-slider-handle:focus {
57
+ outline: none;
58
+ box-shadow: none;
59
+ }
60
+ .rc-slider-handle:focus-visible {
61
+ border-color: #2db7f5;
62
+ box-shadow: 0 0 0 3px #96dbfa;
63
+ }
64
+ .rc-slider-handle-click-focused:focus {
65
+ border-color: #96dbfa;
66
+ box-shadow: unset;
67
+ }
68
+ .rc-slider-handle:hover {
69
+ border-color: #57c5f7;
70
+ }
71
+ .rc-slider-handle:active {
72
+ border-color: #57c5f7;
73
+ box-shadow: 0 0 5px #57c5f7;
74
+ cursor: -webkit-grabbing;
75
+ cursor: grabbing;
76
+ }
77
+ .rc-slider-mark {
78
+ position: absolute;
79
+ top: 18px;
80
+ left: 0;
81
+ width: 100%;
82
+ font-size: 12px;
83
+ }
84
+ .rc-slider-mark-text {
85
+ position: absolute;
86
+ display: inline-block;
87
+ color: #999;
88
+ text-align: center;
89
+ vertical-align: middle;
90
+ cursor: pointer;
91
+ }
92
+ .rc-slider-mark-text-active {
93
+ color: #666;
94
+ }
95
+ .rc-slider-step {
96
+ position: absolute;
97
+ width: 100%;
98
+ height: 4px;
99
+ background: transparent;
100
+ }
101
+ .rc-slider-dot {
102
+ position: absolute;
103
+ bottom: -2px;
104
+ width: 8px;
105
+ height: 8px;
106
+ vertical-align: middle;
107
+ background-color: #fff;
108
+ border: 2px solid #e9e9e9;
109
+ border-radius: 50%;
110
+ cursor: pointer;
111
+ }
112
+ .rc-slider-dot-active {
113
+ border-color: #96dbfa;
114
+ }
115
+ .rc-slider-dot-reverse {
116
+ margin-right: -4px;
117
+ }
118
+ .rc-slider-disabled {
119
+ background-color: #e9e9e9;
120
+ }
121
+ .rc-slider-disabled .rc-slider-track {
122
+ background-color: #ccc;
123
+ }
124
+ .rc-slider-disabled .rc-slider-handle,
125
+ .rc-slider-disabled .rc-slider-dot {
126
+ background-color: #fff;
127
+ border-color: #ccc;
128
+ box-shadow: none;
129
+ cursor: not-allowed;
130
+ }
131
+ .rc-slider-disabled .rc-slider-mark-text,
132
+ .rc-slider-disabled .rc-slider-dot {
133
+ cursor: not-allowed !important;
134
+ }
135
+ .rc-slider-vertical {
136
+ width: 14px;
137
+ height: 100%;
138
+ padding: 0 5px;
139
+ }
140
+ .rc-slider-vertical .rc-slider-rail {
141
+ width: 4px;
142
+ height: 100%;
143
+ }
144
+ .rc-slider-vertical .rc-slider-track {
145
+ bottom: 0;
146
+ left: 5px;
147
+ width: 4px;
148
+ }
149
+ .rc-slider-vertical .rc-slider-track-draggable {
150
+ border-top: 0;
151
+ border-bottom: 0;
152
+ border-right: 5px solid rgba(0, 0, 0, 0);
153
+ border-left: 5px solid rgba(0, 0, 0, 0);
154
+ transform: translateX(-5px);
155
+ }
156
+ .rc-slider-vertical .rc-slider-handle {
157
+ position: absolute;
158
+ z-index: 1;
159
+ margin-top: 0;
160
+ margin-left: -5px;
161
+ touch-action: pan-y;
162
+ }
163
+ .rc-slider-vertical .rc-slider-mark {
164
+ top: 0;
165
+ left: 18px;
166
+ height: 100%;
167
+ }
168
+ .rc-slider-vertical .rc-slider-step {
169
+ width: 4px;
170
+ height: 100%;
171
+ }
172
+ .rc-slider-vertical .rc-slider-dot {
173
+ margin-left: -2px;
174
+ }
175
+ .rc-slider-tooltip-zoom-down-enter,
176
+ .rc-slider-tooltip-zoom-down-appear {
177
+ display: block !important;
178
+ animation-duration: 0.3s;
179
+ animation-fill-mode: both;
180
+ animation-play-state: paused;
181
+ }
182
+ .rc-slider-tooltip-zoom-down-leave {
183
+ display: block !important;
184
+ animation-duration: 0.3s;
185
+ animation-fill-mode: both;
186
+ animation-play-state: paused;
187
+ }
188
+ .rc-slider-tooltip-zoom-down-enter.rc-slider-tooltip-zoom-down-enter-active,
189
+ .rc-slider-tooltip-zoom-down-appear.rc-slider-tooltip-zoom-down-appear-active {
190
+ animation-name: rcSliderTooltipZoomDownIn;
191
+ animation-play-state: running;
192
+ }
193
+ .rc-slider-tooltip-zoom-down-leave.rc-slider-tooltip-zoom-down-leave-active {
194
+ animation-name: rcSliderTooltipZoomDownOut;
195
+ animation-play-state: running;
196
+ }
197
+ .rc-slider-tooltip-zoom-down-enter,
198
+ .rc-slider-tooltip-zoom-down-appear {
199
+ transform: scale(0, 0);
200
+ animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
201
+ }
202
+ .rc-slider-tooltip-zoom-down-leave {
203
+ animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
204
+ }
205
+ @keyframes rcSliderTooltipZoomDownIn {
206
+ 0% {
207
+ transform: scale(0, 0);
208
+ transform-origin: 50% 100%;
209
+ opacity: 0;
210
+ }
211
+ 100% {
212
+ transform: scale(1, 1);
213
+ transform-origin: 50% 100%;
214
+ }
215
+ }
216
+ @keyframes rcSliderTooltipZoomDownOut {
217
+ 0% {
218
+ transform: scale(1, 1);
219
+ transform-origin: 50% 100%;
220
+ }
221
+ 100% {
222
+ transform: scale(0, 0);
223
+ transform-origin: 50% 100%;
224
+ opacity: 0;
225
+ }
226
+ }
227
+ .rc-slider-tooltip {
228
+ position: absolute;
229
+ top: -9999px;
230
+ left: -9999px;
231
+ visibility: visible;
232
+ box-sizing: border-box;
233
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
234
+ }
235
+ .rc-slider-tooltip * {
236
+ box-sizing: border-box;
237
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
238
+ }
239
+ .rc-slider-tooltip-hidden {
240
+ display: none;
241
+ }
242
+ .rc-slider-tooltip-placement-top {
243
+ padding: 4px 0 8px 0;
244
+ }
245
+ .rc-slider-tooltip-inner {
246
+ min-width: 24px;
247
+ height: 24px;
248
+ padding: 6px 2px;
249
+ color: #fff;
250
+ font-size: 12px;
251
+ line-height: 1;
252
+ text-align: center;
253
+ text-decoration: none;
254
+ background-color: #6c6c6c;
255
+ border-radius: 6px;
256
+ box-shadow: 0 0 4px #d9d9d9;
257
+ }
258
+ .rc-slider-tooltip-arrow {
259
+ position: absolute;
260
+ width: 0;
261
+ height: 0;
262
+ border-color: transparent;
263
+ border-style: solid;
264
+ }
265
+ .rc-slider-tooltip-placement-top .rc-slider-tooltip-arrow {
266
+ bottom: 4px;
267
+ left: 50%;
268
+ margin-left: -4px;
269
+ border-width: 4px 4px 0;
270
+ border-top-color: #6c6c6c;
271
+ }
@@ -0,0 +1,271 @@
1
+ .rc-slider {
2
+ position: relative;
3
+ width: 100%;
4
+ height: 14px;
5
+ padding: 5px 0;
6
+ border-radius: 6px;
7
+ touch-action: none;
8
+ box-sizing: border-box;
9
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
10
+ }
11
+ .rc-slider * {
12
+ box-sizing: border-box;
13
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
14
+ }
15
+ .rc-slider-rail {
16
+ position: absolute;
17
+ width: 100%;
18
+ height: 4px;
19
+ background-color: #e9e9e9;
20
+ border-radius: 6px;
21
+ }
22
+ .rc-slider-track,
23
+ .rc-slider-tracks {
24
+ position: absolute;
25
+ height: 4px;
26
+ background-color: #abe2fb;
27
+ border-radius: 6px;
28
+ }
29
+ .rc-slider-track-draggable {
30
+ z-index: 1;
31
+ box-sizing: content-box;
32
+ background-clip: content-box;
33
+ border-top: 5px solid rgba(0, 0, 0, 0);
34
+ border-bottom: 5px solid rgba(0, 0, 0, 0);
35
+ transform: translateY(-5px);
36
+ }
37
+ .rc-slider-handle {
38
+ position: absolute;
39
+ z-index: 1;
40
+ width: 14px;
41
+ height: 14px;
42
+ margin-top: -5px;
43
+ background-color: #fff;
44
+ border: solid 2px #96dbfa;
45
+ border-radius: 50%;
46
+ cursor: pointer;
47
+ cursor: -webkit-grab;
48
+ cursor: grab;
49
+ opacity: 0.8;
50
+ touch-action: pan-x;
51
+ }
52
+ .rc-slider-handle-dragging.rc-slider-handle-dragging.rc-slider-handle-dragging {
53
+ border-color: #57c5f7;
54
+ box-shadow: 0 0 0 5px #96dbfa;
55
+ }
56
+ .rc-slider-handle:focus {
57
+ outline: none;
58
+ box-shadow: none;
59
+ }
60
+ .rc-slider-handle:focus-visible {
61
+ border-color: #2db7f5;
62
+ box-shadow: 0 0 0 3px #96dbfa;
63
+ }
64
+ .rc-slider-handle-click-focused:focus {
65
+ border-color: #96dbfa;
66
+ box-shadow: unset;
67
+ }
68
+ .rc-slider-handle:hover {
69
+ border-color: #57c5f7;
70
+ }
71
+ .rc-slider-handle:active {
72
+ border-color: #57c5f7;
73
+ box-shadow: 0 0 5px #57c5f7;
74
+ cursor: -webkit-grabbing;
75
+ cursor: grabbing;
76
+ }
77
+ .rc-slider-mark {
78
+ position: absolute;
79
+ top: 18px;
80
+ left: 0;
81
+ width: 100%;
82
+ font-size: 12px;
83
+ }
84
+ .rc-slider-mark-text {
85
+ position: absolute;
86
+ display: inline-block;
87
+ color: #999;
88
+ text-align: center;
89
+ vertical-align: middle;
90
+ cursor: pointer;
91
+ }
92
+ .rc-slider-mark-text-active {
93
+ color: #666;
94
+ }
95
+ .rc-slider-step {
96
+ position: absolute;
97
+ width: 100%;
98
+ height: 4px;
99
+ background: transparent;
100
+ }
101
+ .rc-slider-dot {
102
+ position: absolute;
103
+ bottom: -2px;
104
+ width: 8px;
105
+ height: 8px;
106
+ vertical-align: middle;
107
+ background-color: #fff;
108
+ border: 2px solid #e9e9e9;
109
+ border-radius: 50%;
110
+ cursor: pointer;
111
+ }
112
+ .rc-slider-dot-active {
113
+ border-color: #96dbfa;
114
+ }
115
+ .rc-slider-dot-reverse {
116
+ margin-right: -4px;
117
+ }
118
+ .rc-slider-disabled {
119
+ background-color: #e9e9e9;
120
+ }
121
+ .rc-slider-disabled .rc-slider-track {
122
+ background-color: #ccc;
123
+ }
124
+ .rc-slider-disabled .rc-slider-handle,
125
+ .rc-slider-disabled .rc-slider-dot {
126
+ background-color: #fff;
127
+ border-color: #ccc;
128
+ box-shadow: none;
129
+ cursor: not-allowed;
130
+ }
131
+ .rc-slider-disabled .rc-slider-mark-text,
132
+ .rc-slider-disabled .rc-slider-dot {
133
+ cursor: not-allowed !important;
134
+ }
135
+ .rc-slider-vertical {
136
+ width: 14px;
137
+ height: 100%;
138
+ padding: 0 5px;
139
+ }
140
+ .rc-slider-vertical .rc-slider-rail {
141
+ width: 4px;
142
+ height: 100%;
143
+ }
144
+ .rc-slider-vertical .rc-slider-track {
145
+ bottom: 0;
146
+ left: 5px;
147
+ width: 4px;
148
+ }
149
+ .rc-slider-vertical .rc-slider-track-draggable {
150
+ border-top: 0;
151
+ border-bottom: 0;
152
+ border-right: 5px solid rgba(0, 0, 0, 0);
153
+ border-left: 5px solid rgba(0, 0, 0, 0);
154
+ transform: translateX(-5px);
155
+ }
156
+ .rc-slider-vertical .rc-slider-handle {
157
+ position: absolute;
158
+ z-index: 1;
159
+ margin-top: 0;
160
+ margin-left: -5px;
161
+ touch-action: pan-y;
162
+ }
163
+ .rc-slider-vertical .rc-slider-mark {
164
+ top: 0;
165
+ left: 18px;
166
+ height: 100%;
167
+ }
168
+ .rc-slider-vertical .rc-slider-step {
169
+ width: 4px;
170
+ height: 100%;
171
+ }
172
+ .rc-slider-vertical .rc-slider-dot {
173
+ margin-left: -2px;
174
+ }
175
+ .rc-slider-tooltip-zoom-down-enter,
176
+ .rc-slider-tooltip-zoom-down-appear {
177
+ display: block !important;
178
+ animation-duration: 0.3s;
179
+ animation-fill-mode: both;
180
+ animation-play-state: paused;
181
+ }
182
+ .rc-slider-tooltip-zoom-down-leave {
183
+ display: block !important;
184
+ animation-duration: 0.3s;
185
+ animation-fill-mode: both;
186
+ animation-play-state: paused;
187
+ }
188
+ .rc-slider-tooltip-zoom-down-enter.rc-slider-tooltip-zoom-down-enter-active,
189
+ .rc-slider-tooltip-zoom-down-appear.rc-slider-tooltip-zoom-down-appear-active {
190
+ animation-name: rcSliderTooltipZoomDownIn;
191
+ animation-play-state: running;
192
+ }
193
+ .rc-slider-tooltip-zoom-down-leave.rc-slider-tooltip-zoom-down-leave-active {
194
+ animation-name: rcSliderTooltipZoomDownOut;
195
+ animation-play-state: running;
196
+ }
197
+ .rc-slider-tooltip-zoom-down-enter,
198
+ .rc-slider-tooltip-zoom-down-appear {
199
+ transform: scale(0, 0);
200
+ animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
201
+ }
202
+ .rc-slider-tooltip-zoom-down-leave {
203
+ animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
204
+ }
205
+ @keyframes rcSliderTooltipZoomDownIn {
206
+ 0% {
207
+ transform: scale(0, 0);
208
+ transform-origin: 50% 100%;
209
+ opacity: 0;
210
+ }
211
+ 100% {
212
+ transform: scale(1, 1);
213
+ transform-origin: 50% 100%;
214
+ }
215
+ }
216
+ @keyframes rcSliderTooltipZoomDownOut {
217
+ 0% {
218
+ transform: scale(1, 1);
219
+ transform-origin: 50% 100%;
220
+ }
221
+ 100% {
222
+ transform: scale(0, 0);
223
+ transform-origin: 50% 100%;
224
+ opacity: 0;
225
+ }
226
+ }
227
+ .rc-slider-tooltip {
228
+ position: absolute;
229
+ top: -9999px;
230
+ left: -9999px;
231
+ visibility: visible;
232
+ box-sizing: border-box;
233
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
234
+ }
235
+ .rc-slider-tooltip * {
236
+ box-sizing: border-box;
237
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
238
+ }
239
+ .rc-slider-tooltip-hidden {
240
+ display: none;
241
+ }
242
+ .rc-slider-tooltip-placement-top {
243
+ padding: 4px 0 8px 0;
244
+ }
245
+ .rc-slider-tooltip-inner {
246
+ min-width: 24px;
247
+ height: 24px;
248
+ padding: 6px 2px;
249
+ color: #fff;
250
+ font-size: 12px;
251
+ line-height: 1;
252
+ text-align: center;
253
+ text-decoration: none;
254
+ background-color: #6c6c6c;
255
+ border-radius: 6px;
256
+ box-shadow: 0 0 4px #d9d9d9;
257
+ }
258
+ .rc-slider-tooltip-arrow {
259
+ position: absolute;
260
+ width: 0;
261
+ height: 0;
262
+ border-color: transparent;
263
+ border-style: solid;
264
+ }
265
+ .rc-slider-tooltip-placement-top .rc-slider-tooltip-arrow {
266
+ bottom: 4px;
267
+ left: 50%;
268
+ margin-left: -4px;
269
+ border-width: 4px 4px 0;
270
+ border-top-color: #6c6c6c;
271
+ }
@@ -1,2 +1,3 @@
1
1
  import Button from './button';
2
2
  export { Button };
3
+ export { ButtonType, ButtonSize, ButtonStyle, Props } from './button.types';
@@ -0,0 +1,3 @@
1
+ import Slider from './slider';
2
+ export { Slider };
3
+ export { SliderStepType, SliderSteps, SliderBreakpoint } from './slider.types';