@hh.ru/magritte-ui-picker-wheel 2.0.7 → 2.0.9

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 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-7","pickerWheel":"magritte-picker-wheel___VaPvG_2-0-7","selected-item-background":"magritte-selected-item-background___UnBPm_2-0-7","selectedItemBackground":"magritte-selected-item-background___UnBPm_2-0-7","columns":"magritte-columns___I7bCB_2-0-7","touch-events-overlay":"magritte-touch-events-overlay___c3YOp_2-0-7","touchEventsOverlay":"magritte-touch-events-overlay___c3YOp_2-0-7","fixed-height":"magritte-fixed-height___BLw9W_2-0-7","fixedHeight":"magritte-fixed-height___BLw9W_2-0-7","column-wrapper":"magritte-column-wrapper___yRwai_2-0-7","columnWrapper":"magritte-column-wrapper___yRwai_2-0-7","column-position-wrapper":"magritte-column-position-wrapper___wQTIu_2-0-7","columnPositionWrapper":"magritte-column-position-wrapper___wQTIu_2-0-7","wide-column-wrapper":"magritte-wide-column-wrapper___nvecx_2-0-7","wideColumnWrapper":"magritte-wide-column-wrapper___nvecx_2-0-7","full-width-column-wrapper":"magritte-full-width-column-wrapper___oxhh1_2-0-7","fullWidthColumnWrapper":"magritte-full-width-column-wrapper___oxhh1_2-0-7","column":"magritte-column___IMYca_2-0-7","item":"magritte-item___4RQVs_2-0-7","align-left":"magritte-align-left___PXJt0_2-0-7","alignLeft":"magritte-align-left___PXJt0_2-0-7","align-right":"magritte-align-right___0yc2S_2-0-7","alignRight":"magritte-align-right___0yc2S_2-0-7","disabled":"magritte-disabled___d3ukm_2-0-7","selected":"magritte-selected___Nar3H_2-0-7"};
9
+ var styles = {"picker-wheel":"magritte-picker-wheel___VaPvG_2-0-9","pickerWheel":"magritte-picker-wheel___VaPvG_2-0-9","selected-item-background":"magritte-selected-item-background___UnBPm_2-0-9","selectedItemBackground":"magritte-selected-item-background___UnBPm_2-0-9","columns":"magritte-columns___I7bCB_2-0-9","touch-events-overlay":"magritte-touch-events-overlay___c3YOp_2-0-9","touchEventsOverlay":"magritte-touch-events-overlay___c3YOp_2-0-9","fixed-height":"magritte-fixed-height___BLw9W_2-0-9","fixedHeight":"magritte-fixed-height___BLw9W_2-0-9","column-wrapper":"magritte-column-wrapper___yRwai_2-0-9","columnWrapper":"magritte-column-wrapper___yRwai_2-0-9","column-position-wrapper":"magritte-column-position-wrapper___wQTIu_2-0-9","columnPositionWrapper":"magritte-column-position-wrapper___wQTIu_2-0-9","wide-column-wrapper":"magritte-wide-column-wrapper___nvecx_2-0-9","wideColumnWrapper":"magritte-wide-column-wrapper___nvecx_2-0-9","full-width-column-wrapper":"magritte-full-width-column-wrapper___oxhh1_2-0-9","fullWidthColumnWrapper":"magritte-full-width-column-wrapper___oxhh1_2-0-9","column":"magritte-column___IMYca_2-0-9","item":"magritte-item___4RQVs_2-0-9","align-left":"magritte-align-left___PXJt0_2-0-9","alignLeft":"magritte-align-left___PXJt0_2-0-9","align-right":"magritte-align-right___0yc2S_2-0-9","alignRight":"magritte-align-right___0yc2S_2-0-9","disabled":"magritte-disabled___d3ukm_2-0-9","selected":"magritte-selected___Nar3H_2-0-9"};
10
10
 
11
11
  const FIXED_HEIGHT_ITEMS = 7;
12
12
  const ITEM_HEIGHT = 48;
package/index.css CHANGED
@@ -1,98 +1,101 @@
1
1
  :root{
2
- --magritte-color-text-primary-v22-1-0:#000000;
3
- --magritte-color-text-state-primary-disabled-v22-1-0:#0000007a;
4
- --magritte-color-component-time-picker-background-selection-v22-1-0:#F1F4F9;
2
+ --magritte-color-text-primary-v23-0-0:#000000;
3
+ --magritte-color-text-state-primary-disabled-v23-0-0:#0000007a;
4
+ --magritte-color-component-time-picker-background-selection-v23-0-0:#F1F4F9;
5
5
  }
6
+
6
7
  :root{
7
- --magritte-typography-label-1-regular-font-family-v22-1-0:"hh sans";
8
- --magritte-typography-label-1-regular-font-weight-v22-1-0:400;
9
- --magritte-typography-label-1-regular-line-height-v22-1-0:26px;
10
- --magritte-typography-label-1-regular-font-size-v22-1-0:18px;
11
- --magritte-typography-label-1-regular-letter-spacing-v22-1-0:-0.005em;
12
- --magritte-typography-label-1-regular-text-indent-v22-1-0:0px;
13
- --magritte-typography-label-1-regular-text-transform-v22-1-0:none;
14
- --magritte-typography-label-1-regular-text-decoration-v22-1-0:none;
15
- }
8
+ --magritte-typography-label-1-regular-font-family-v23-0-0:"hh sans";
9
+ --magritte-typography-label-1-regular-font-weight-v23-0-0:400;
10
+ --magritte-typography-label-1-regular-line-height-v23-0-0:26px;
11
+ --magritte-typography-label-1-regular-font-size-v23-0-0:18px;
12
+ --magritte-typography-label-1-regular-letter-spacing-v23-0-0:-0.005em;
13
+ --magritte-typography-label-1-regular-text-indent-v23-0-0:0px;
14
+ --magritte-typography-label-1-regular-text-transform-v23-0-0:none;
15
+ --magritte-typography-label-1-regular-text-decoration-v23-0-0:none;
16
+ }
17
+
16
18
  .magritte-night-theme{
17
- --magritte-color-text-primary-v22-1-0:#ffffff;
18
- --magritte-color-text-state-primary-disabled-v22-1-0:#ababab7a;
19
- --magritte-color-component-time-picker-background-selection-v22-1-0:#262626;
19
+ --magritte-color-text-primary-v23-0-0:#ffffff;
20
+ --magritte-color-text-state-primary-disabled-v23-0-0:#ababab7a;
21
+ --magritte-color-component-time-picker-background-selection-v23-0-0:#262626;
20
22
  }
23
+
21
24
  .magritte-zp-day-theme{
22
- --magritte-color-text-primary-v22-1-0:#000000;
23
- --magritte-color-text-state-primary-disabled-v22-1-0:#0000007a;
24
- --magritte-color-component-time-picker-background-selection-v22-1-0:#F1F4F9;
25
+ --magritte-color-text-primary-v23-0-0:#000000;
26
+ --magritte-color-text-state-primary-disabled-v23-0-0:#0000007a;
27
+ --magritte-color-component-time-picker-background-selection-v23-0-0:#F1F4F9;
25
28
  }
26
- .magritte-picker-wheel___VaPvG_2-0-7{
29
+ .magritte-picker-wheel___VaPvG_2-0-9{
27
30
  position:relative;
28
31
  height:100%;
29
32
  }
30
- .magritte-selected-item-background___UnBPm_2-0-7{
33
+ .magritte-selected-item-background___UnBPm_2-0-9{
31
34
  position:absolute;
32
35
  inset:calc(50% - 48px / 2) 0;
33
- background-color:var(--magritte-color-component-time-picker-background-selection-v22-1-0);
36
+ background-color:var(--magritte-color-component-time-picker-background-selection-v23-0-0);
34
37
  }
35
- .magritte-columns___I7bCB_2-0-7{
38
+ .magritte-columns___I7bCB_2-0-9{
36
39
  position:relative;
37
40
  height:100%;
38
41
  display:flex;
39
42
  align-items:stretch;
40
43
  justify-content:center;
41
44
  }
42
- .magritte-touch-events-overlay___c3YOp_2-0-7{
45
+ .magritte-touch-events-overlay___c3YOp_2-0-9{
43
46
  position:absolute;
44
47
  inset:0;
45
48
  }
46
- .magritte-fixed-height___BLw9W_2-0-7{
49
+ .magritte-fixed-height___BLw9W_2-0-9{
47
50
  height:336px;
48
51
  }
49
- .magritte-column-wrapper___yRwai_2-0-7{
52
+ .magritte-column-wrapper___yRwai_2-0-9{
50
53
  flex:0 0 64px;
51
54
  position:relative;
52
55
  }
53
- .magritte-column-position-wrapper___wQTIu_2-0-7{
56
+ .magritte-column-position-wrapper___wQTIu_2-0-9{
54
57
  position:relative;
55
58
  top:50%;
56
59
  margin-top:-24px;
57
60
  }
58
- .magritte-wide-column-wrapper___nvecx_2-0-7{
61
+ .magritte-wide-column-wrapper___nvecx_2-0-9{
59
62
  flex:0 0 105px;
60
63
  }
61
- .magritte-full-width-column-wrapper___oxhh1_2-0-7{
64
+ .magritte-full-width-column-wrapper___oxhh1_2-0-9{
62
65
  flex:0 0 100%;
63
66
  }
64
- .magritte-column___IMYca_2-0-7{
67
+ .magritte-column___IMYca_2-0-9{
65
68
  will-change:transform;
66
69
  transform:translate3d(0, 0, 0);
67
70
  }
68
- .magritte-item___4RQVs_2-0-7{
69
- font-family:var(--magritte-typography-label-1-regular-font-family-v22-1-0);
70
- font-weight:var(--magritte-typography-label-1-regular-font-weight-v22-1-0);
71
- line-height:var(--magritte-typography-label-1-regular-line-height-v22-1-0);
72
- font-size:var(--magritte-typography-label-1-regular-font-size-v22-1-0);
73
- letter-spacing:var(--magritte-typography-label-1-regular-letter-spacing-v22-1-0);
74
- text-indent:var(--magritte-typography-label-1-regular-text-indent-v22-1-0);
75
- text-transform:var(--magritte-typography-label-1-regular-text-transform-v22-1-0);
76
- text-decoration:var(--magritte-typography-label-1-regular-text-decoration-v22-1-0);
77
- color:var(--magritte-color-text-primary-v22-1-0);
71
+ .magritte-item___4RQVs_2-0-9{
72
+ font-family:var(--magritte-typography-label-1-regular-font-family-v23-0-0);
73
+ font-weight:var(--magritte-typography-label-1-regular-font-weight-v23-0-0);
74
+ line-height:var(--magritte-typography-label-1-regular-line-height-v23-0-0);
75
+ font-size:var(--magritte-typography-label-1-regular-font-size-v23-0-0);
76
+ letter-spacing:var(--magritte-typography-label-1-regular-letter-spacing-v23-0-0);
77
+ text-indent:var(--magritte-typography-label-1-regular-text-indent-v23-0-0);
78
+ text-transform:var(--magritte-typography-label-1-regular-text-transform-v23-0-0);
79
+ text-decoration:var(--magritte-typography-label-1-regular-text-decoration-v23-0-0);
80
+ color:var(--magritte-color-text-primary-v23-0-0);
78
81
  height:18px;
79
82
  line-height:18px;
80
83
  padding:calc((48px - 18px) / 2) 0;
81
84
  text-align:center;
82
85
  transform-origin:center center;
83
86
  }
84
- .magritte-item___4RQVs_2-0-7.magritte-align-left___PXJt0_2-0-7{
87
+ .magritte-item___4RQVs_2-0-9.magritte-align-left___PXJt0_2-0-9{
85
88
  text-align:left;
86
89
  transform-origin:left center;
87
90
  }
88
- .magritte-item___4RQVs_2-0-7.magritte-align-right___0yc2S_2-0-7{
91
+ .magritte-item___4RQVs_2-0-9.magritte-align-right___0yc2S_2-0-9{
89
92
  text-align:right;
90
93
  transform-origin:right center;
91
94
  }
92
- .magritte-item___4RQVs_2-0-7.magritte-disabled___d3ukm_2-0-7{
93
- color:var(--magritte-color-text-state-primary-disabled-v22-1-0);
95
+ .magritte-item___4RQVs_2-0-9.magritte-disabled___d3ukm_2-0-9{
96
+ color:var(--magritte-color-text-state-primary-disabled-v23-0-0);
94
97
  }
95
- .magritte-item___4RQVs_2-0-7.magritte-selected___Nar3H_2-0-7{
98
+ .magritte-item___4RQVs_2-0-9.magritte-selected___Nar3H_2-0-9{
96
99
  font-weight:500;
97
100
  height:22px;
98
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.7",
3
+ "version": "2.0.9",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -19,12 +19,12 @@
19
19
  "watch": "yarn root:watch $(pwd)"
20
20
  },
21
21
  "dependencies": {
22
- "@hh.ru/magritte-design-tokens": "22.1.0",
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.6",
25
+ "@hh.ru/magritte-ui-bottom-sheet": "8.1.8",
26
26
  "@hh.ru/magritte-ui-breakpoint": "6.0.0",
27
- "@hh.ru/magritte-ui-typography": "4.1.0"
27
+ "@hh.ru/magritte-ui-typography": "4.1.1"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "classnames": ">=2.3.2",
@@ -33,5 +33,5 @@
33
33
  "publishConfig": {
34
34
  "access": "public"
35
35
  },
36
- "gitHead": "47439eecca7941fc790be441ba065be7824490bf"
36
+ "gitHead": "169279c6b3ef0523f88f2daf07c35c908437f275"
37
37
  }