@hh.ru/magritte-ui-picker-wheel 1.0.24 → 1.0.25

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_1-0-24","pickerWheel":"magritte-picker-wheel___VaPvG_1-0-24","selected-item-background":"magritte-selected-item-background___UnBPm_1-0-24","selectedItemBackground":"magritte-selected-item-background___UnBPm_1-0-24","columns":"magritte-columns___I7bCB_1-0-24","touch-events-overlay":"magritte-touch-events-overlay___c3YOp_1-0-24","touchEventsOverlay":"magritte-touch-events-overlay___c3YOp_1-0-24","fixed-height":"magritte-fixed-height___BLw9W_1-0-24","fixedHeight":"magritte-fixed-height___BLw9W_1-0-24","column-wrapper":"magritte-column-wrapper___yRwai_1-0-24","columnWrapper":"magritte-column-wrapper___yRwai_1-0-24","column-position-wrapper":"magritte-column-position-wrapper___wQTIu_1-0-24","columnPositionWrapper":"magritte-column-position-wrapper___wQTIu_1-0-24","wide-column-wrapper":"magritte-wide-column-wrapper___nvecx_1-0-24","wideColumnWrapper":"magritte-wide-column-wrapper___nvecx_1-0-24","full-width-column-wrapper":"magritte-full-width-column-wrapper___oxhh1_1-0-24","fullWidthColumnWrapper":"magritte-full-width-column-wrapper___oxhh1_1-0-24","column":"magritte-column___IMYca_1-0-24","item":"magritte-item___4RQVs_1-0-24","align-left":"magritte-align-left___PXJt0_1-0-24","alignLeft":"magritte-align-left___PXJt0_1-0-24","align-right":"magritte-align-right___0yc2S_1-0-24","alignRight":"magritte-align-right___0yc2S_1-0-24","disabled":"magritte-disabled___d3ukm_1-0-24","selected":"magritte-selected___Nar3H_1-0-24"};
9
+ var styles = {"picker-wheel":"magritte-picker-wheel___VaPvG_1-0-25","pickerWheel":"magritte-picker-wheel___VaPvG_1-0-25","selected-item-background":"magritte-selected-item-background___UnBPm_1-0-25","selectedItemBackground":"magritte-selected-item-background___UnBPm_1-0-25","columns":"magritte-columns___I7bCB_1-0-25","touch-events-overlay":"magritte-touch-events-overlay___c3YOp_1-0-25","touchEventsOverlay":"magritte-touch-events-overlay___c3YOp_1-0-25","fixed-height":"magritte-fixed-height___BLw9W_1-0-25","fixedHeight":"magritte-fixed-height___BLw9W_1-0-25","column-wrapper":"magritte-column-wrapper___yRwai_1-0-25","columnWrapper":"magritte-column-wrapper___yRwai_1-0-25","column-position-wrapper":"magritte-column-position-wrapper___wQTIu_1-0-25","columnPositionWrapper":"magritte-column-position-wrapper___wQTIu_1-0-25","wide-column-wrapper":"magritte-wide-column-wrapper___nvecx_1-0-25","wideColumnWrapper":"magritte-wide-column-wrapper___nvecx_1-0-25","full-width-column-wrapper":"magritte-full-width-column-wrapper___oxhh1_1-0-25","fullWidthColumnWrapper":"magritte-full-width-column-wrapper___oxhh1_1-0-25","column":"magritte-column___IMYca_1-0-25","item":"magritte-item___4RQVs_1-0-25","align-left":"magritte-align-left___PXJt0_1-0-25","alignLeft":"magritte-align-left___PXJt0_1-0-25","align-right":"magritte-align-right___0yc2S_1-0-25","alignRight":"magritte-align-right___0yc2S_1-0-25","disabled":"magritte-disabled___d3ukm_1-0-25","selected":"magritte-selected___Nar3H_1-0-25"};
10
10
 
11
11
  const FIXED_HEIGHT_ITEMS = 7;
12
12
  const ITEM_HEIGHT = 48;
package/index.css CHANGED
@@ -1,93 +1,93 @@
1
1
  :root{
2
- --magritte-color-text-primary-v21-4-5:#000000;
3
- --magritte-color-text-state-primary-disabled-v21-4-5:#0000007a;
4
- --magritte-color-component-time-picker-background-selection-v21-4-5:#F1F4F9;
2
+ --magritte-color-text-primary-v21-4-6:#000000;
3
+ --magritte-color-text-state-primary-disabled-v21-4-6:#0000007a;
4
+ --magritte-color-component-time-picker-background-selection-v21-4-6:#F1F4F9;
5
5
  }
6
6
  :root{
7
- --magritte-typography-label-1-regular-font-family-v21-4-5:"hh sans";
8
- --magritte-typography-label-1-regular-font-weight-v21-4-5:400;
9
- --magritte-typography-label-1-regular-line-height-v21-4-5:26px;
10
- --magritte-typography-label-1-regular-font-size-v21-4-5:18px;
11
- --magritte-typography-label-1-regular-letter-spacing-v21-4-5:-0.005em;
12
- --magritte-typography-label-1-regular-text-indent-v21-4-5:0px;
13
- --magritte-typography-label-1-regular-text-transform-v21-4-5:none;
14
- --magritte-typography-label-1-regular-text-decoration-v21-4-5:none;
7
+ --magritte-typography-label-1-regular-font-family-v21-4-6:"hh sans";
8
+ --magritte-typography-label-1-regular-font-weight-v21-4-6:400;
9
+ --magritte-typography-label-1-regular-line-height-v21-4-6:26px;
10
+ --magritte-typography-label-1-regular-font-size-v21-4-6:18px;
11
+ --magritte-typography-label-1-regular-letter-spacing-v21-4-6:-0.005em;
12
+ --magritte-typography-label-1-regular-text-indent-v21-4-6:0px;
13
+ --magritte-typography-label-1-regular-text-transform-v21-4-6:none;
14
+ --magritte-typography-label-1-regular-text-decoration-v21-4-6:none;
15
15
  }
16
16
  .magritte-night-theme{
17
- --magritte-color-text-primary-v21-4-5:#ffffff;
18
- --magritte-color-text-state-primary-disabled-v21-4-5:#ababab7a;
19
- --magritte-color-component-time-picker-background-selection-v21-4-5:#262626;
17
+ --magritte-color-text-primary-v21-4-6:#ffffff;
18
+ --magritte-color-text-state-primary-disabled-v21-4-6:#ababab7a;
19
+ --magritte-color-component-time-picker-background-selection-v21-4-6:#262626;
20
20
  }
21
- .magritte-picker-wheel___VaPvG_1-0-24{
21
+ .magritte-picker-wheel___VaPvG_1-0-25{
22
22
  position:relative;
23
23
  height:100%;
24
24
  }
25
- .magritte-selected-item-background___UnBPm_1-0-24{
25
+ .magritte-selected-item-background___UnBPm_1-0-25{
26
26
  position:absolute;
27
27
  inset:calc(50% - 48px / 2) 0;
28
- background-color:var(--magritte-color-component-time-picker-background-selection-v21-4-5);
28
+ background-color:var(--magritte-color-component-time-picker-background-selection-v21-4-6);
29
29
  }
30
- .magritte-columns___I7bCB_1-0-24{
30
+ .magritte-columns___I7bCB_1-0-25{
31
31
  position:relative;
32
32
  height:100%;
33
33
  display:flex;
34
34
  align-items:stretch;
35
35
  justify-content:center;
36
36
  }
37
- .magritte-touch-events-overlay___c3YOp_1-0-24{
37
+ .magritte-touch-events-overlay___c3YOp_1-0-25{
38
38
  position:absolute;
39
39
  inset:0;
40
40
  }
41
- .magritte-fixed-height___BLw9W_1-0-24{
41
+ .magritte-fixed-height___BLw9W_1-0-25{
42
42
  height:336px;
43
43
  }
44
- .magritte-column-wrapper___yRwai_1-0-24{
44
+ .magritte-column-wrapper___yRwai_1-0-25{
45
45
  flex:0 0 64px;
46
46
  position:relative;
47
47
  }
48
- .magritte-column-position-wrapper___wQTIu_1-0-24{
48
+ .magritte-column-position-wrapper___wQTIu_1-0-25{
49
49
  position:relative;
50
50
  top:50%;
51
51
  margin-top:-24px;
52
52
  }
53
- .magritte-wide-column-wrapper___nvecx_1-0-24{
53
+ .magritte-wide-column-wrapper___nvecx_1-0-25{
54
54
  flex:0 0 105px;
55
55
  }
56
- .magritte-full-width-column-wrapper___oxhh1_1-0-24{
56
+ .magritte-full-width-column-wrapper___oxhh1_1-0-25{
57
57
  flex:0 0 100%;
58
58
  }
59
- .magritte-column___IMYca_1-0-24{
59
+ .magritte-column___IMYca_1-0-25{
60
60
  will-change:transform;
61
61
  transform:translate3d(0, 0, 0);
62
62
  }
63
- .magritte-item___4RQVs_1-0-24{
64
- font-family:var(--magritte-typography-label-1-regular-font-family-v21-4-5);
65
- font-weight:var(--magritte-typography-label-1-regular-font-weight-v21-4-5);
66
- line-height:var(--magritte-typography-label-1-regular-line-height-v21-4-5);
67
- font-size:var(--magritte-typography-label-1-regular-font-size-v21-4-5);
68
- letter-spacing:var(--magritte-typography-label-1-regular-letter-spacing-v21-4-5);
69
- text-indent:var(--magritte-typography-label-1-regular-text-indent-v21-4-5);
70
- text-transform:var(--magritte-typography-label-1-regular-text-transform-v21-4-5);
71
- text-decoration:var(--magritte-typography-label-1-regular-text-decoration-v21-4-5);
72
- color:var(--magritte-color-text-primary-v21-4-5);
63
+ .magritte-item___4RQVs_1-0-25{
64
+ font-family:var(--magritte-typography-label-1-regular-font-family-v21-4-6);
65
+ font-weight:var(--magritte-typography-label-1-regular-font-weight-v21-4-6);
66
+ line-height:var(--magritte-typography-label-1-regular-line-height-v21-4-6);
67
+ font-size:var(--magritte-typography-label-1-regular-font-size-v21-4-6);
68
+ letter-spacing:var(--magritte-typography-label-1-regular-letter-spacing-v21-4-6);
69
+ text-indent:var(--magritte-typography-label-1-regular-text-indent-v21-4-6);
70
+ text-transform:var(--magritte-typography-label-1-regular-text-transform-v21-4-6);
71
+ text-decoration:var(--magritte-typography-label-1-regular-text-decoration-v21-4-6);
72
+ color:var(--magritte-color-text-primary-v21-4-6);
73
73
  height:18px;
74
74
  line-height:18px;
75
75
  padding:calc((48px - 18px) / 2) 0;
76
76
  text-align:center;
77
77
  transform-origin:center center;
78
78
  }
79
- .magritte-item___4RQVs_1-0-24.magritte-align-left___PXJt0_1-0-24{
79
+ .magritte-item___4RQVs_1-0-25.magritte-align-left___PXJt0_1-0-25{
80
80
  text-align:left;
81
81
  transform-origin:left center;
82
82
  }
83
- .magritte-item___4RQVs_1-0-24.magritte-align-right___0yc2S_1-0-24{
83
+ .magritte-item___4RQVs_1-0-25.magritte-align-right___0yc2S_1-0-25{
84
84
  text-align:right;
85
85
  transform-origin:right center;
86
86
  }
87
- .magritte-item___4RQVs_1-0-24.magritte-disabled___d3ukm_1-0-24{
88
- color:var(--magritte-color-text-state-primary-disabled-v21-4-5);
87
+ .magritte-item___4RQVs_1-0-25.magritte-disabled___d3ukm_1-0-25{
88
+ color:var(--magritte-color-text-state-primary-disabled-v21-4-6);
89
89
  }
90
- .magritte-item___4RQVs_1-0-24.magritte-selected___Nar3H_1-0-24{
90
+ .magritte-item___4RQVs_1-0-25.magritte-selected___Nar3H_1-0-25{
91
91
  font-weight:500;
92
92
  height:22px;
93
93
  line-height:22px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hh.ru/magritte-ui-picker-wheel",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -19,13 +19,13 @@
19
19
  "watch": "yarn root:watch $(pwd)"
20
20
  },
21
21
  "dependencies": {
22
- "@hh.ru/magritte-design-tokens": "21.4.5",
22
+ "@hh.ru/magritte-design-tokens": "21.4.6",
23
23
  "@hh.ru/magritte-internal-custom-scroll": "1.4.2",
24
24
  "@hh.ru/magritte-types": "5.0.3",
25
- "@hh.ru/magritte-ui-bottom-sheet": "7.2.4",
25
+ "@hh.ru/magritte-ui-bottom-sheet": "7.2.5",
26
26
  "@hh.ru/magritte-ui-breakpoint": "5.0.2",
27
- "@hh.ru/magritte-ui-theme-provider": "1.1.47",
28
- "@hh.ru/magritte-ui-typography": "3.0.38"
27
+ "@hh.ru/magritte-ui-theme-provider": "1.1.48",
28
+ "@hh.ru/magritte-ui-typography": "3.0.39"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "classnames": ">=2.3.2",
@@ -34,5 +34,5 @@
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  },
37
- "gitHead": "f9dfca47951bc523b16f5e48d28f77c37f8d30f9"
37
+ "gitHead": "262c3a6147cbd372187e5f86c28d93f7c462b502"
38
38
  }