@hh.ru/magritte-ui-picker-wheel 1.0.2 → 1.0.3
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.
- package/PickerWheel.js +1 -1
- package/index.css +15 -15
- package/package.json +3 -3
package/PickerWheel.js
CHANGED
|
@@ -5,7 +5,7 @@ import classnames from 'classnames';
|
|
|
5
5
|
import { initScrollHandlers } from '@hh.ru/magritte-internal-custom-scroll';
|
|
6
6
|
import { useBreakpoint } from '@hh.ru/magritte-ui-breakpoint';
|
|
7
7
|
|
|
8
|
-
var styles = {"picker-wheel":"magritte-picker-wheel___VaPvG_1-0-
|
|
8
|
+
var styles = {"picker-wheel":"magritte-picker-wheel___VaPvG_1-0-3","pickerWheel":"magritte-picker-wheel___VaPvG_1-0-3","selected-item-background":"magritte-selected-item-background___UnBPm_1-0-3","selectedItemBackground":"magritte-selected-item-background___UnBPm_1-0-3","columns":"magritte-columns___I7bCB_1-0-3","touch-events-overlay":"magritte-touch-events-overlay___c3YOp_1-0-3","touchEventsOverlay":"magritte-touch-events-overlay___c3YOp_1-0-3","fixed-height":"magritte-fixed-height___BLw9W_1-0-3","fixedHeight":"magritte-fixed-height___BLw9W_1-0-3","column-wrapper":"magritte-column-wrapper___yRwai_1-0-3","columnWrapper":"magritte-column-wrapper___yRwai_1-0-3","circular-column-wrapper":"magritte-circular-column-wrapper___4KG7c_1-0-3","circularColumnWrapper":"magritte-circular-column-wrapper___4KG7c_1-0-3","wide-column-wrapper":"magritte-wide-column-wrapper___nvecx_1-0-3","wideColumnWrapper":"magritte-wide-column-wrapper___nvecx_1-0-3","full-width-column-wrapper":"magritte-full-width-column-wrapper___oxhh1_1-0-3","fullWidthColumnWrapper":"magritte-full-width-column-wrapper___oxhh1_1-0-3","column":"magritte-column___IMYca_1-0-3","item":"magritte-item___4RQVs_1-0-3","align-left":"magritte-align-left___PXJt0_1-0-3","alignLeft":"magritte-align-left___PXJt0_1-0-3","align-right":"magritte-align-right___0yc2S_1-0-3","alignRight":"magritte-align-right___0yc2S_1-0-3","disabled":"magritte-disabled___d3ukm_1-0-3","selected":"magritte-selected___Nar3H_1-0-3"};
|
|
9
9
|
|
|
10
10
|
const ITEM_HEIGHT = 48;
|
|
11
11
|
const COLUMN_WIDTH = 64;
|
package/index.css
CHANGED
|
@@ -26,47 +26,47 @@
|
|
|
26
26
|
--magritte-color-text-state-primary-disabled-v21-3-2:#ababab7a;
|
|
27
27
|
--magritte-color-component-time-picker-background-selection-v21-3-2:#262626;
|
|
28
28
|
}
|
|
29
|
-
.magritte-picker-wheel___VaPvG_1-0-
|
|
29
|
+
.magritte-picker-wheel___VaPvG_1-0-3{
|
|
30
30
|
position:relative;
|
|
31
31
|
}
|
|
32
|
-
.magritte-selected-item-background___UnBPm_1-0-
|
|
32
|
+
.magritte-selected-item-background___UnBPm_1-0-3{
|
|
33
33
|
position:absolute;
|
|
34
34
|
inset:calc(50% - 48px / 2) 16px;
|
|
35
35
|
background-color:var(--magritte-color-component-time-picker-background-selection-v21-3-2);
|
|
36
36
|
}
|
|
37
|
-
.magritte-columns___I7bCB_1-0-
|
|
37
|
+
.magritte-columns___I7bCB_1-0-3{
|
|
38
38
|
position:relative;
|
|
39
39
|
display:flex;
|
|
40
40
|
align-items:center;
|
|
41
41
|
justify-content:center;
|
|
42
42
|
overflow:clip;
|
|
43
43
|
}
|
|
44
|
-
.magritte-touch-events-overlay___c3YOp_1-0-
|
|
44
|
+
.magritte-touch-events-overlay___c3YOp_1-0-3{
|
|
45
45
|
position:absolute;
|
|
46
46
|
inset:0;
|
|
47
47
|
}
|
|
48
|
-
.magritte-fixed-height___BLw9W_1-0-
|
|
48
|
+
.magritte-fixed-height___BLw9W_1-0-3{
|
|
49
49
|
height:336px;
|
|
50
50
|
}
|
|
51
|
-
.magritte-column-wrapper___yRwai_1-0-
|
|
51
|
+
.magritte-column-wrapper___yRwai_1-0-3{
|
|
52
52
|
position:relative;
|
|
53
53
|
flex:0 0 64px;
|
|
54
54
|
max-height:100%;
|
|
55
55
|
}
|
|
56
|
-
.magritte-circular-column-wrapper___4KG7c_1-0-
|
|
56
|
+
.magritte-circular-column-wrapper___4KG7c_1-0-3{
|
|
57
57
|
overflow:clip;
|
|
58
58
|
}
|
|
59
|
-
.magritte-wide-column-wrapper___nvecx_1-0-
|
|
59
|
+
.magritte-wide-column-wrapper___nvecx_1-0-3{
|
|
60
60
|
flex:0 0 105px;
|
|
61
61
|
}
|
|
62
|
-
.magritte-full-width-column-wrapper___oxhh1_1-0-
|
|
62
|
+
.magritte-full-width-column-wrapper___oxhh1_1-0-3{
|
|
63
63
|
flex:0 0 100%;
|
|
64
64
|
}
|
|
65
|
-
.magritte-column___IMYca_1-0-
|
|
65
|
+
.magritte-column___IMYca_1-0-3{
|
|
66
66
|
will-change:transform;
|
|
67
67
|
transform:translate3d(0, 0, 0);
|
|
68
68
|
}
|
|
69
|
-
.magritte-item___4RQVs_1-0-
|
|
69
|
+
.magritte-item___4RQVs_1-0-3{
|
|
70
70
|
font-family:var(--magritte-typography-label-1-regular-font-family-v21-3-2);
|
|
71
71
|
font-weight:var(--magritte-typography-label-1-regular-font-weight-v21-3-2);
|
|
72
72
|
line-height:var(--magritte-typography-label-1-regular-line-height-v21-3-2);
|
|
@@ -80,16 +80,16 @@
|
|
|
80
80
|
line-height:48px;
|
|
81
81
|
text-align:center;
|
|
82
82
|
}
|
|
83
|
-
.magritte-item___4RQVs_1-0-
|
|
83
|
+
.magritte-item___4RQVs_1-0-3.magritte-align-left___PXJt0_1-0-3{
|
|
84
84
|
text-align:left;
|
|
85
85
|
}
|
|
86
|
-
.magritte-item___4RQVs_1-0-
|
|
86
|
+
.magritte-item___4RQVs_1-0-3.magritte-align-right___0yc2S_1-0-3{
|
|
87
87
|
text-align:right;
|
|
88
88
|
}
|
|
89
|
-
.magritte-item___4RQVs_1-0-
|
|
89
|
+
.magritte-item___4RQVs_1-0-3.magritte-disabled___d3ukm_1-0-3{
|
|
90
90
|
color:var(--magritte-color-text-state-primary-disabled-v21-3-2);
|
|
91
91
|
}
|
|
92
|
-
.magritte-item___4RQVs_1-0-
|
|
92
|
+
.magritte-item___4RQVs_1-0-3.magritte-selected___Nar3H_1-0-3{
|
|
93
93
|
font-family:var(--magritte-typography-title-4-semibold-font-family-v21-3-2);
|
|
94
94
|
font-weight:var(--magritte-typography-title-4-semibold-font-weight-v21-3-2);
|
|
95
95
|
line-height:var(--magritte-typography-title-4-semibold-line-height-v21-3-2);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-picker-wheel",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@hh.ru/magritte-design-tokens": "21.3.2",
|
|
24
|
-
"@hh.ru/magritte-internal-custom-scroll": "1.
|
|
24
|
+
"@hh.ru/magritte-internal-custom-scroll": "1.4.0",
|
|
25
25
|
"@hh.ru/magritte-ui-breakpoint": "5.0.0",
|
|
26
26
|
"@hh.ru/magritte-ui-theme-provider": "1.1.41",
|
|
27
27
|
"@hh.ru/magritte-ui-typography": "3.0.31"
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "701d9de63f5201fe61f21bbc9f0252a59201c9e3"
|
|
37
37
|
}
|