@hh.ru/magritte-ui-picker-wheel 2.0.20 → 2.0.21

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