@hh.ru/magritte-ui-picker-wheel 2.1.116 → 2.1.117
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 +24 -24
- package/package.json +9 -8
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-1-
|
|
9
|
+
var styles = {"picker-wheel":"magritte-picker-wheel___VaPvG_2-1-117","pickerWheel":"magritte-picker-wheel___VaPvG_2-1-117","selected-item-background":"magritte-selected-item-background___UnBPm_2-1-117","selectedItemBackground":"magritte-selected-item-background___UnBPm_2-1-117","columns":"magritte-columns___I7bCB_2-1-117","touch-events-overlay":"magritte-touch-events-overlay___c3YOp_2-1-117","touchEventsOverlay":"magritte-touch-events-overlay___c3YOp_2-1-117","fixed-height":"magritte-fixed-height___BLw9W_2-1-117","fixedHeight":"magritte-fixed-height___BLw9W_2-1-117","column-wrapper":"magritte-column-wrapper___yRwai_2-1-117","columnWrapper":"magritte-column-wrapper___yRwai_2-1-117","column-position-wrapper":"magritte-column-position-wrapper___wQTIu_2-1-117","columnPositionWrapper":"magritte-column-position-wrapper___wQTIu_2-1-117","wide-column-wrapper":"magritte-wide-column-wrapper___nvecx_2-1-117","wideColumnWrapper":"magritte-wide-column-wrapper___nvecx_2-1-117","full-width-column-wrapper":"magritte-full-width-column-wrapper___oxhh1_2-1-117","fullWidthColumnWrapper":"magritte-full-width-column-wrapper___oxhh1_2-1-117","column":"magritte-column___IMYca_2-1-117","item":"magritte-item___4RQVs_2-1-117","align-left":"magritte-align-left___PXJt0_2-1-117","alignLeft":"magritte-align-left___PXJt0_2-1-117","align-right":"magritte-align-right___0yc2S_2-1-117","alignRight":"magritte-align-right___0yc2S_2-1-117","disabled":"magritte-disabled___d3ukm_2-1-117","selected":"magritte-selected___Nar3H_2-1-117"};
|
|
10
10
|
|
|
11
11
|
const FIXED_HEIGHT_ITEMS = 7;
|
|
12
12
|
const ITEM_HEIGHT = 48;
|
package/index.css
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
:root{
|
|
2
|
-
--magritte-color-text-primary-v26-0-
|
|
3
|
-
--magritte-color-text-state-primary-disabled-v26-0-
|
|
4
|
-
--magritte-color-component-time-picker-background-selection-v26-0-
|
|
2
|
+
--magritte-color-text-primary-v26-0-2:#000000;
|
|
3
|
+
--magritte-color-text-state-primary-disabled-v26-0-2:#0000007a;
|
|
4
|
+
--magritte-color-component-time-picker-background-selection-v26-0-2:#F1F4F9;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.magritte-night-theme{
|
|
8
|
-
--magritte-color-text-primary-v26-0-
|
|
9
|
-
--magritte-color-text-state-primary-disabled-v26-0-
|
|
10
|
-
--magritte-color-component-time-picker-background-selection-v26-0-
|
|
8
|
+
--magritte-color-text-primary-v26-0-2:#ffffff;
|
|
9
|
+
--magritte-color-text-state-primary-disabled-v26-0-2:#ababab7a;
|
|
10
|
+
--magritte-color-component-time-picker-background-selection-v26-0-2:#262626;
|
|
11
11
|
}
|
|
12
|
-
.magritte-picker-wheel___VaPvG_2-1-
|
|
12
|
+
.magritte-picker-wheel___VaPvG_2-1-117{
|
|
13
13
|
position:relative;
|
|
14
14
|
height:100%;
|
|
15
15
|
}
|
|
16
|
-
.magritte-selected-item-background___UnBPm_2-1-
|
|
16
|
+
.magritte-selected-item-background___UnBPm_2-1-117{
|
|
17
17
|
position:absolute;
|
|
18
18
|
inset:calc(50% - 48px / 2) 0;
|
|
19
|
-
background-color:var(--magritte-color-component-time-picker-background-selection-v26-0-
|
|
19
|
+
background-color:var(--magritte-color-component-time-picker-background-selection-v26-0-2);
|
|
20
20
|
}
|
|
21
|
-
.magritte-columns___I7bCB_2-1-
|
|
21
|
+
.magritte-columns___I7bCB_2-1-117{
|
|
22
22
|
position:relative;
|
|
23
23
|
height:100%;
|
|
24
24
|
display:flex;
|
|
25
25
|
align-items:stretch;
|
|
26
26
|
justify-content:center;
|
|
27
27
|
}
|
|
28
|
-
.magritte-touch-events-overlay___c3YOp_2-1-
|
|
28
|
+
.magritte-touch-events-overlay___c3YOp_2-1-117{
|
|
29
29
|
position:absolute;
|
|
30
30
|
inset:0;
|
|
31
31
|
}
|
|
32
|
-
.magritte-fixed-height___BLw9W_2-1-
|
|
32
|
+
.magritte-fixed-height___BLw9W_2-1-117{
|
|
33
33
|
height:336px;
|
|
34
34
|
}
|
|
35
|
-
.magritte-column-wrapper___yRwai_2-1-
|
|
35
|
+
.magritte-column-wrapper___yRwai_2-1-117{
|
|
36
36
|
flex:0 0 64px;
|
|
37
37
|
position:relative;
|
|
38
38
|
}
|
|
39
|
-
.magritte-column-position-wrapper___wQTIu_2-1-
|
|
39
|
+
.magritte-column-position-wrapper___wQTIu_2-1-117{
|
|
40
40
|
position:relative;
|
|
41
41
|
top:50%;
|
|
42
42
|
margin-top:-24px;
|
|
43
43
|
}
|
|
44
|
-
.magritte-wide-column-wrapper___nvecx_2-1-
|
|
44
|
+
.magritte-wide-column-wrapper___nvecx_2-1-117{
|
|
45
45
|
flex:0 0 105px;
|
|
46
46
|
}
|
|
47
|
-
.magritte-full-width-column-wrapper___oxhh1_2-1-
|
|
47
|
+
.magritte-full-width-column-wrapper___oxhh1_2-1-117{
|
|
48
48
|
flex:0 0 100%;
|
|
49
49
|
}
|
|
50
|
-
.magritte-column___IMYca_2-1-
|
|
50
|
+
.magritte-column___IMYca_2-1-117{
|
|
51
51
|
will-change:transform;
|
|
52
52
|
transform:translate3d(0, 0, 0);
|
|
53
53
|
}
|
|
54
|
-
.magritte-item___4RQVs_2-1-
|
|
54
|
+
.magritte-item___4RQVs_2-1-117{
|
|
55
55
|
font-family:"hh sans";
|
|
56
56
|
font-weight:400;
|
|
57
57
|
line-height:26px;
|
|
@@ -60,25 +60,25 @@
|
|
|
60
60
|
text-indent:0px;
|
|
61
61
|
text-transform:none;
|
|
62
62
|
text-decoration:none;
|
|
63
|
-
color:var(--magritte-color-text-primary-v26-0-
|
|
63
|
+
color:var(--magritte-color-text-primary-v26-0-2);
|
|
64
64
|
height:18px;
|
|
65
65
|
line-height:18px;
|
|
66
66
|
padding:calc((48px - 18px) / 2) 0;
|
|
67
67
|
text-align:center;
|
|
68
68
|
transform-origin:center center;
|
|
69
69
|
}
|
|
70
|
-
.magritte-item___4RQVs_2-1-
|
|
70
|
+
.magritte-item___4RQVs_2-1-117.magritte-align-left___PXJt0_2-1-117{
|
|
71
71
|
text-align:left;
|
|
72
72
|
transform-origin:left center;
|
|
73
73
|
}
|
|
74
|
-
.magritte-item___4RQVs_2-1-
|
|
74
|
+
.magritte-item___4RQVs_2-1-117.magritte-align-right___0yc2S_2-1-117{
|
|
75
75
|
text-align:right;
|
|
76
76
|
transform-origin:right center;
|
|
77
77
|
}
|
|
78
|
-
.magritte-item___4RQVs_2-1-
|
|
79
|
-
color:var(--magritte-color-text-state-primary-disabled-v26-0-
|
|
78
|
+
.magritte-item___4RQVs_2-1-117.magritte-disabled___d3ukm_2-1-117{
|
|
79
|
+
color:var(--magritte-color-text-state-primary-disabled-v26-0-2);
|
|
80
80
|
}
|
|
81
|
-
.magritte-item___4RQVs_2-1-
|
|
81
|
+
.magritte-item___4RQVs_2-1-117.magritte-selected___Nar3H_2-1-117{
|
|
82
82
|
font-weight:500;
|
|
83
83
|
height:22px;
|
|
84
84
|
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.1.
|
|
3
|
+
"version": "2.1.117",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -16,15 +16,16 @@
|
|
|
16
16
|
"ts-config": "yarn root:ts-config $(pwd)",
|
|
17
17
|
"ts-check": "yarn root:ts-check $(pwd)",
|
|
18
18
|
"test": "yarn root:test $(pwd)",
|
|
19
|
+
"test:types": "yarn root:test:types $(pwd)",
|
|
19
20
|
"watch": "yarn root:watch $(pwd)"
|
|
20
21
|
},
|
|
21
22
|
"dependencies": {
|
|
22
|
-
"@hh.ru/magritte-design-tokens": "26.0.
|
|
23
|
-
"@hh.ru/magritte-internal-custom-scroll": "2.1.
|
|
24
|
-
"@hh.ru/magritte-types": "5.0.
|
|
25
|
-
"@hh.ru/magritte-ui-bottom-sheet": "9.4.
|
|
26
|
-
"@hh.ru/magritte-ui-breakpoint": "6.1.
|
|
27
|
-
"@hh.ru/magritte-ui-typography": "5.3.
|
|
23
|
+
"@hh.ru/magritte-design-tokens": "26.0.2",
|
|
24
|
+
"@hh.ru/magritte-internal-custom-scroll": "2.1.3",
|
|
25
|
+
"@hh.ru/magritte-types": "5.0.9",
|
|
26
|
+
"@hh.ru/magritte-ui-bottom-sheet": "9.4.50",
|
|
27
|
+
"@hh.ru/magritte-ui-breakpoint": "6.1.3",
|
|
28
|
+
"@hh.ru/magritte-ui-typography": "5.3.17"
|
|
28
29
|
},
|
|
29
30
|
"peerDependencies": {
|
|
30
31
|
"classnames": ">=2.3.2",
|
|
@@ -33,5 +34,5 @@
|
|
|
33
34
|
"publishConfig": {
|
|
34
35
|
"access": "public"
|
|
35
36
|
},
|
|
36
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "33dbaa1dc9b9705e925ffc9f6fcc7a0dc153bd36"
|
|
37
38
|
}
|