@hh.ru/magritte-ui-picker-wheel 2.0.8 → 2.0.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.
- package/PickerWheel.js +1 -1
- package/index.css +15 -15
- package/package.json +3 -3
package/PickerWheel.js
CHANGED
|
@@ -6,7 +6,7 @@ import { initScrollHandlers } from '@hh.ru/magritte-internal-custom-scroll';
|
|
|
6
6
|
import { BottomSheetContext } from '@hh.ru/magritte-ui-bottom-sheet';
|
|
7
7
|
import { useBreakpoint } from '@hh.ru/magritte-ui-breakpoint';
|
|
8
8
|
|
|
9
|
-
var styles = {"picker-wheel":"magritte-picker-wheel___VaPvG_2-0-
|
|
9
|
+
var styles = {"picker-wheel":"magritte-picker-wheel___VaPvG_2-0-10","pickerWheel":"magritte-picker-wheel___VaPvG_2-0-10","selected-item-background":"magritte-selected-item-background___UnBPm_2-0-10","selectedItemBackground":"magritte-selected-item-background___UnBPm_2-0-10","columns":"magritte-columns___I7bCB_2-0-10","touch-events-overlay":"magritte-touch-events-overlay___c3YOp_2-0-10","touchEventsOverlay":"magritte-touch-events-overlay___c3YOp_2-0-10","fixed-height":"magritte-fixed-height___BLw9W_2-0-10","fixedHeight":"magritte-fixed-height___BLw9W_2-0-10","column-wrapper":"magritte-column-wrapper___yRwai_2-0-10","columnWrapper":"magritte-column-wrapper___yRwai_2-0-10","column-position-wrapper":"magritte-column-position-wrapper___wQTIu_2-0-10","columnPositionWrapper":"magritte-column-position-wrapper___wQTIu_2-0-10","wide-column-wrapper":"magritte-wide-column-wrapper___nvecx_2-0-10","wideColumnWrapper":"magritte-wide-column-wrapper___nvecx_2-0-10","full-width-column-wrapper":"magritte-full-width-column-wrapper___oxhh1_2-0-10","fullWidthColumnWrapper":"magritte-full-width-column-wrapper___oxhh1_2-0-10","column":"magritte-column___IMYca_2-0-10","item":"magritte-item___4RQVs_2-0-10","align-left":"magritte-align-left___PXJt0_2-0-10","alignLeft":"magritte-align-left___PXJt0_2-0-10","align-right":"magritte-align-right___0yc2S_2-0-10","alignRight":"magritte-align-right___0yc2S_2-0-10","disabled":"magritte-disabled___d3ukm_2-0-10","selected":"magritte-selected___Nar3H_2-0-10"};
|
|
10
10
|
|
|
11
11
|
const FIXED_HEIGHT_ITEMS = 7;
|
|
12
12
|
const ITEM_HEIGHT = 48;
|
package/index.css
CHANGED
|
@@ -26,49 +26,49 @@
|
|
|
26
26
|
--magritte-color-text-state-primary-disabled-v23-0-0:#0000007a;
|
|
27
27
|
--magritte-color-component-time-picker-background-selection-v23-0-0:#F1F4F9;
|
|
28
28
|
}
|
|
29
|
-
.magritte-picker-wheel___VaPvG_2-0-
|
|
29
|
+
.magritte-picker-wheel___VaPvG_2-0-10{
|
|
30
30
|
position:relative;
|
|
31
31
|
height:100%;
|
|
32
32
|
}
|
|
33
|
-
.magritte-selected-item-background___UnBPm_2-0-
|
|
33
|
+
.magritte-selected-item-background___UnBPm_2-0-10{
|
|
34
34
|
position:absolute;
|
|
35
35
|
inset:calc(50% - 48px / 2) 0;
|
|
36
36
|
background-color:var(--magritte-color-component-time-picker-background-selection-v23-0-0);
|
|
37
37
|
}
|
|
38
|
-
.magritte-columns___I7bCB_2-0-
|
|
38
|
+
.magritte-columns___I7bCB_2-0-10{
|
|
39
39
|
position:relative;
|
|
40
40
|
height:100%;
|
|
41
41
|
display:flex;
|
|
42
42
|
align-items:stretch;
|
|
43
43
|
justify-content:center;
|
|
44
44
|
}
|
|
45
|
-
.magritte-touch-events-overlay___c3YOp_2-0-
|
|
45
|
+
.magritte-touch-events-overlay___c3YOp_2-0-10{
|
|
46
46
|
position:absolute;
|
|
47
47
|
inset:0;
|
|
48
48
|
}
|
|
49
|
-
.magritte-fixed-height___BLw9W_2-0-
|
|
49
|
+
.magritte-fixed-height___BLw9W_2-0-10{
|
|
50
50
|
height:336px;
|
|
51
51
|
}
|
|
52
|
-
.magritte-column-wrapper___yRwai_2-0-
|
|
52
|
+
.magritte-column-wrapper___yRwai_2-0-10{
|
|
53
53
|
flex:0 0 64px;
|
|
54
54
|
position:relative;
|
|
55
55
|
}
|
|
56
|
-
.magritte-column-position-wrapper___wQTIu_2-0-
|
|
56
|
+
.magritte-column-position-wrapper___wQTIu_2-0-10{
|
|
57
57
|
position:relative;
|
|
58
58
|
top:50%;
|
|
59
59
|
margin-top:-24px;
|
|
60
60
|
}
|
|
61
|
-
.magritte-wide-column-wrapper___nvecx_2-0-
|
|
61
|
+
.magritte-wide-column-wrapper___nvecx_2-0-10{
|
|
62
62
|
flex:0 0 105px;
|
|
63
63
|
}
|
|
64
|
-
.magritte-full-width-column-wrapper___oxhh1_2-0-
|
|
64
|
+
.magritte-full-width-column-wrapper___oxhh1_2-0-10{
|
|
65
65
|
flex:0 0 100%;
|
|
66
66
|
}
|
|
67
|
-
.magritte-column___IMYca_2-0-
|
|
67
|
+
.magritte-column___IMYca_2-0-10{
|
|
68
68
|
will-change:transform;
|
|
69
69
|
transform:translate3d(0, 0, 0);
|
|
70
70
|
}
|
|
71
|
-
.magritte-item___4RQVs_2-0-
|
|
71
|
+
.magritte-item___4RQVs_2-0-10{
|
|
72
72
|
font-family:var(--magritte-typography-label-1-regular-font-family-v23-0-0);
|
|
73
73
|
font-weight:var(--magritte-typography-label-1-regular-font-weight-v23-0-0);
|
|
74
74
|
line-height:var(--magritte-typography-label-1-regular-line-height-v23-0-0);
|
|
@@ -84,18 +84,18 @@
|
|
|
84
84
|
text-align:center;
|
|
85
85
|
transform-origin:center center;
|
|
86
86
|
}
|
|
87
|
-
.magritte-item___4RQVs_2-0-
|
|
87
|
+
.magritte-item___4RQVs_2-0-10.magritte-align-left___PXJt0_2-0-10{
|
|
88
88
|
text-align:left;
|
|
89
89
|
transform-origin:left center;
|
|
90
90
|
}
|
|
91
|
-
.magritte-item___4RQVs_2-0-
|
|
91
|
+
.magritte-item___4RQVs_2-0-10.magritte-align-right___0yc2S_2-0-10{
|
|
92
92
|
text-align:right;
|
|
93
93
|
transform-origin:right center;
|
|
94
94
|
}
|
|
95
|
-
.magritte-item___4RQVs_2-0-
|
|
95
|
+
.magritte-item___4RQVs_2-0-10.magritte-disabled___d3ukm_2-0-10{
|
|
96
96
|
color:var(--magritte-color-text-state-primary-disabled-v23-0-0);
|
|
97
97
|
}
|
|
98
|
-
.magritte-item___4RQVs_2-0-
|
|
98
|
+
.magritte-item___4RQVs_2-0-10.magritte-selected___Nar3H_2-0-10{
|
|
99
99
|
font-weight:500;
|
|
100
100
|
height:22px;
|
|
101
101
|
line-height:22px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-picker-wheel",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.10",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@hh.ru/magritte-design-tokens": "23.0.0",
|
|
23
23
|
"@hh.ru/magritte-internal-custom-scroll": "1.4.3",
|
|
24
24
|
"@hh.ru/magritte-types": "5.0.4",
|
|
25
|
-
"@hh.ru/magritte-ui-bottom-sheet": "8.1.
|
|
25
|
+
"@hh.ru/magritte-ui-bottom-sheet": "8.1.9",
|
|
26
26
|
"@hh.ru/magritte-ui-breakpoint": "6.0.0",
|
|
27
27
|
"@hh.ru/magritte-ui-typography": "4.1.1"
|
|
28
28
|
},
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "195120715c60ddd17f5b43c579c15a7457983504"
|
|
37
37
|
}
|