@hh.ru/magritte-ui-picker-wheel 2.0.17 → 2.0.19

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