@hh.ru/magritte-ui-picker-wheel 2.0.14 → 2.0.16

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-14","pickerWheel":"magritte-picker-wheel___VaPvG_2-0-14","selected-item-background":"magritte-selected-item-background___UnBPm_2-0-14","selectedItemBackground":"magritte-selected-item-background___UnBPm_2-0-14","columns":"magritte-columns___I7bCB_2-0-14","touch-events-overlay":"magritte-touch-events-overlay___c3YOp_2-0-14","touchEventsOverlay":"magritte-touch-events-overlay___c3YOp_2-0-14","fixed-height":"magritte-fixed-height___BLw9W_2-0-14","fixedHeight":"magritte-fixed-height___BLw9W_2-0-14","column-wrapper":"magritte-column-wrapper___yRwai_2-0-14","columnWrapper":"magritte-column-wrapper___yRwai_2-0-14","column-position-wrapper":"magritte-column-position-wrapper___wQTIu_2-0-14","columnPositionWrapper":"magritte-column-position-wrapper___wQTIu_2-0-14","wide-column-wrapper":"magritte-wide-column-wrapper___nvecx_2-0-14","wideColumnWrapper":"magritte-wide-column-wrapper___nvecx_2-0-14","full-width-column-wrapper":"magritte-full-width-column-wrapper___oxhh1_2-0-14","fullWidthColumnWrapper":"magritte-full-width-column-wrapper___oxhh1_2-0-14","column":"magritte-column___IMYca_2-0-14","item":"magritte-item___4RQVs_2-0-14","align-left":"magritte-align-left___PXJt0_2-0-14","alignLeft":"magritte-align-left___PXJt0_2-0-14","align-right":"magritte-align-right___0yc2S_2-0-14","alignRight":"magritte-align-right___0yc2S_2-0-14","disabled":"magritte-disabled___d3ukm_2-0-14","selected":"magritte-selected___Nar3H_2-0-14"};
9
+ var styles = {"picker-wheel":"magritte-picker-wheel___VaPvG_2-0-16","pickerWheel":"magritte-picker-wheel___VaPvG_2-0-16","selected-item-background":"magritte-selected-item-background___UnBPm_2-0-16","selectedItemBackground":"magritte-selected-item-background___UnBPm_2-0-16","columns":"magritte-columns___I7bCB_2-0-16","touch-events-overlay":"magritte-touch-events-overlay___c3YOp_2-0-16","touchEventsOverlay":"magritte-touch-events-overlay___c3YOp_2-0-16","fixed-height":"magritte-fixed-height___BLw9W_2-0-16","fixedHeight":"magritte-fixed-height___BLw9W_2-0-16","column-wrapper":"magritte-column-wrapper___yRwai_2-0-16","columnWrapper":"magritte-column-wrapper___yRwai_2-0-16","column-position-wrapper":"magritte-column-position-wrapper___wQTIu_2-0-16","columnPositionWrapper":"magritte-column-position-wrapper___wQTIu_2-0-16","wide-column-wrapper":"magritte-wide-column-wrapper___nvecx_2-0-16","wideColumnWrapper":"magritte-wide-column-wrapper___nvecx_2-0-16","full-width-column-wrapper":"magritte-full-width-column-wrapper___oxhh1_2-0-16","fullWidthColumnWrapper":"magritte-full-width-column-wrapper___oxhh1_2-0-16","column":"magritte-column___IMYca_2-0-16","item":"magritte-item___4RQVs_2-0-16","align-left":"magritte-align-left___PXJt0_2-0-16","alignLeft":"magritte-align-left___PXJt0_2-0-16","align-right":"magritte-align-right___0yc2S_2-0-16","alignRight":"magritte-align-right___0yc2S_2-0-16","disabled":"magritte-disabled___d3ukm_2-0-16","selected":"magritte-selected___Nar3H_2-0-16"};
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-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;
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;
5
5
  }
6
6
 
7
7
  :root{
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;
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;
16
16
  }
17
17
 
18
18
  .magritte-night-theme{
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;
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;
22
22
  }
23
23
 
24
24
  .magritte-zp-day-theme{
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
+ --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;
28
28
  }
29
- .magritte-picker-wheel___VaPvG_2-0-14{
29
+ .magritte-picker-wheel___VaPvG_2-0-16{
30
30
  position:relative;
31
31
  height:100%;
32
32
  }
33
- .magritte-selected-item-background___UnBPm_2-0-14{
33
+ .magritte-selected-item-background___UnBPm_2-0-16{
34
34
  position:absolute;
35
35
  inset:calc(50% - 48px / 2) 0;
36
- background-color:var(--magritte-color-component-time-picker-background-selection-v23-0-0);
36
+ background-color:var(--magritte-color-component-time-picker-background-selection-v23-1-0);
37
37
  }
38
- .magritte-columns___I7bCB_2-0-14{
38
+ .magritte-columns___I7bCB_2-0-16{
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-14{
45
+ .magritte-touch-events-overlay___c3YOp_2-0-16{
46
46
  position:absolute;
47
47
  inset:0;
48
48
  }
49
- .magritte-fixed-height___BLw9W_2-0-14{
49
+ .magritte-fixed-height___BLw9W_2-0-16{
50
50
  height:336px;
51
51
  }
52
- .magritte-column-wrapper___yRwai_2-0-14{
52
+ .magritte-column-wrapper___yRwai_2-0-16{
53
53
  flex:0 0 64px;
54
54
  position:relative;
55
55
  }
56
- .magritte-column-position-wrapper___wQTIu_2-0-14{
56
+ .magritte-column-position-wrapper___wQTIu_2-0-16{
57
57
  position:relative;
58
58
  top:50%;
59
59
  margin-top:-24px;
60
60
  }
61
- .magritte-wide-column-wrapper___nvecx_2-0-14{
61
+ .magritte-wide-column-wrapper___nvecx_2-0-16{
62
62
  flex:0 0 105px;
63
63
  }
64
- .magritte-full-width-column-wrapper___oxhh1_2-0-14{
64
+ .magritte-full-width-column-wrapper___oxhh1_2-0-16{
65
65
  flex:0 0 100%;
66
66
  }
67
- .magritte-column___IMYca_2-0-14{
67
+ .magritte-column___IMYca_2-0-16{
68
68
  will-change:transform;
69
69
  transform:translate3d(0, 0, 0);
70
70
  }
71
- .magritte-item___4RQVs_2-0-14{
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);
71
+ .magritte-item___4RQVs_2-0-16{
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);
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-14.magritte-align-left___PXJt0_2-0-14{
87
+ .magritte-item___4RQVs_2-0-16.magritte-align-left___PXJt0_2-0-16{
88
88
  text-align:left;
89
89
  transform-origin:left center;
90
90
  }
91
- .magritte-item___4RQVs_2-0-14.magritte-align-right___0yc2S_2-0-14{
91
+ .magritte-item___4RQVs_2-0-16.magritte-align-right___0yc2S_2-0-16{
92
92
  text-align:right;
93
93
  transform-origin:right center;
94
94
  }
95
- .magritte-item___4RQVs_2-0-14.magritte-disabled___d3ukm_2-0-14{
96
- color:var(--magritte-color-text-state-primary-disabled-v23-0-0);
95
+ .magritte-item___4RQVs_2-0-16.magritte-disabled___d3ukm_2-0-16{
96
+ color:var(--magritte-color-text-state-primary-disabled-v23-1-0);
97
97
  }
98
- .magritte-item___4RQVs_2-0-14.magritte-selected___Nar3H_2-0-14{
98
+ .magritte-item___4RQVs_2-0-16.magritte-selected___Nar3H_2-0-16{
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.14",
3
+ "version": "2.0.16",
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.0.0",
22
+ "@hh.ru/magritte-design-tokens": "23.1.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.13",
25
+ "@hh.ru/magritte-ui-bottom-sheet": "8.1.15",
26
26
  "@hh.ru/magritte-ui-breakpoint": "6.0.0",
27
- "@hh.ru/magritte-ui-typography": "4.1.1"
27
+ "@hh.ru/magritte-ui-typography": "4.2.0"
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": "707fbae6688a1c35f8f9ef8d91c8a8341a75a4a0"
36
+ "gitHead": "8394869b0fcf1a65e854af99d8f614a67f0cea7d"
37
37
  }