@hh.ru/magritte-ui-picker-wheel 1.0.17 → 1.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.
Files changed (3) hide show
  1. package/PickerWheel.js +1 -1
  2. package/index.css +40 -40
  3. package/package.json +11 -12
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-17","pickerWheel":"magritte-picker-wheel___VaPvG_1-0-17","selected-item-background":"magritte-selected-item-background___UnBPm_1-0-17","selectedItemBackground":"magritte-selected-item-background___UnBPm_1-0-17","columns":"magritte-columns___I7bCB_1-0-17","touch-events-overlay":"magritte-touch-events-overlay___c3YOp_1-0-17","touchEventsOverlay":"magritte-touch-events-overlay___c3YOp_1-0-17","fixed-height":"magritte-fixed-height___BLw9W_1-0-17","fixedHeight":"magritte-fixed-height___BLw9W_1-0-17","column-wrapper":"magritte-column-wrapper___yRwai_1-0-17","columnWrapper":"magritte-column-wrapper___yRwai_1-0-17","column-position-wrapper":"magritte-column-position-wrapper___wQTIu_1-0-17","columnPositionWrapper":"magritte-column-position-wrapper___wQTIu_1-0-17","wide-column-wrapper":"magritte-wide-column-wrapper___nvecx_1-0-17","wideColumnWrapper":"magritte-wide-column-wrapper___nvecx_1-0-17","full-width-column-wrapper":"magritte-full-width-column-wrapper___oxhh1_1-0-17","fullWidthColumnWrapper":"magritte-full-width-column-wrapper___oxhh1_1-0-17","column":"magritte-column___IMYca_1-0-17","item":"magritte-item___4RQVs_1-0-17","align-left":"magritte-align-left___PXJt0_1-0-17","alignLeft":"magritte-align-left___PXJt0_1-0-17","align-right":"magritte-align-right___0yc2S_1-0-17","alignRight":"magritte-align-right___0yc2S_1-0-17","disabled":"magritte-disabled___d3ukm_1-0-17","selected":"magritte-selected___Nar3H_1-0-17"};
9
+ var styles = {"picker-wheel":"magritte-picker-wheel___VaPvG_1-0-19","pickerWheel":"magritte-picker-wheel___VaPvG_1-0-19","selected-item-background":"magritte-selected-item-background___UnBPm_1-0-19","selectedItemBackground":"magritte-selected-item-background___UnBPm_1-0-19","columns":"magritte-columns___I7bCB_1-0-19","touch-events-overlay":"magritte-touch-events-overlay___c3YOp_1-0-19","touchEventsOverlay":"magritte-touch-events-overlay___c3YOp_1-0-19","fixed-height":"magritte-fixed-height___BLw9W_1-0-19","fixedHeight":"magritte-fixed-height___BLw9W_1-0-19","column-wrapper":"magritte-column-wrapper___yRwai_1-0-19","columnWrapper":"magritte-column-wrapper___yRwai_1-0-19","column-position-wrapper":"magritte-column-position-wrapper___wQTIu_1-0-19","columnPositionWrapper":"magritte-column-position-wrapper___wQTIu_1-0-19","wide-column-wrapper":"magritte-wide-column-wrapper___nvecx_1-0-19","wideColumnWrapper":"magritte-wide-column-wrapper___nvecx_1-0-19","full-width-column-wrapper":"magritte-full-width-column-wrapper___oxhh1_1-0-19","fullWidthColumnWrapper":"magritte-full-width-column-wrapper___oxhh1_1-0-19","column":"magritte-column___IMYca_1-0-19","item":"magritte-item___4RQVs_1-0-19","align-left":"magritte-align-left___PXJt0_1-0-19","alignLeft":"magritte-align-left___PXJt0_1-0-19","align-right":"magritte-align-right___0yc2S_1-0-19","alignRight":"magritte-align-right___0yc2S_1-0-19","disabled":"magritte-disabled___d3ukm_1-0-19","selected":"magritte-selected___Nar3H_1-0-19"};
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-2:#000000;
3
- --magritte-color-text-state-primary-disabled-v21-4-2:#0000007a;
4
- --magritte-color-component-time-picker-background-selection-v21-4-2:#F1F4F9;
2
+ --magritte-color-text-primary-v21-4-4:#000000;
3
+ --magritte-color-text-state-primary-disabled-v21-4-4:#0000007a;
4
+ --magritte-color-component-time-picker-background-selection-v21-4-4:#F1F4F9;
5
5
  }
6
6
  :root{
7
- --magritte-typography-label-1-regular-font-family-v21-4-2:"hh sans";
8
- --magritte-typography-label-1-regular-font-weight-v21-4-2:400;
9
- --magritte-typography-label-1-regular-line-height-v21-4-2:26px;
10
- --magritte-typography-label-1-regular-font-size-v21-4-2:18px;
11
- --magritte-typography-label-1-regular-letter-spacing-v21-4-2:-0.005em;
12
- --magritte-typography-label-1-regular-text-indent-v21-4-2:0px;
13
- --magritte-typography-label-1-regular-text-transform-v21-4-2:none;
14
- --magritte-typography-label-1-regular-text-decoration-v21-4-2:none;
7
+ --magritte-typography-label-1-regular-font-family-v21-4-4:"hh sans";
8
+ --magritte-typography-label-1-regular-font-weight-v21-4-4:400;
9
+ --magritte-typography-label-1-regular-line-height-v21-4-4:26px;
10
+ --magritte-typography-label-1-regular-font-size-v21-4-4:18px;
11
+ --magritte-typography-label-1-regular-letter-spacing-v21-4-4:-0.005em;
12
+ --magritte-typography-label-1-regular-text-indent-v21-4-4:0px;
13
+ --magritte-typography-label-1-regular-text-transform-v21-4-4:none;
14
+ --magritte-typography-label-1-regular-text-decoration-v21-4-4:none;
15
15
  }
16
16
  .magritte-night-theme{
17
- --magritte-color-text-primary-v21-4-2:#ffffff;
18
- --magritte-color-text-state-primary-disabled-v21-4-2:#ababab7a;
19
- --magritte-color-component-time-picker-background-selection-v21-4-2:#262626;
17
+ --magritte-color-text-primary-v21-4-4:#ffffff;
18
+ --magritte-color-text-state-primary-disabled-v21-4-4:#ababab7a;
19
+ --magritte-color-component-time-picker-background-selection-v21-4-4:#262626;
20
20
  }
21
- .magritte-picker-wheel___VaPvG_1-0-17{
21
+ .magritte-picker-wheel___VaPvG_1-0-19{
22
22
  position:relative;
23
23
  height:100%;
24
24
  }
25
- .magritte-selected-item-background___UnBPm_1-0-17{
25
+ .magritte-selected-item-background___UnBPm_1-0-19{
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-2);
28
+ background-color:var(--magritte-color-component-time-picker-background-selection-v21-4-4);
29
29
  }
30
- .magritte-columns___I7bCB_1-0-17{
30
+ .magritte-columns___I7bCB_1-0-19{
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-17{
37
+ .magritte-touch-events-overlay___c3YOp_1-0-19{
38
38
  position:absolute;
39
39
  inset:0;
40
40
  }
41
- .magritte-fixed-height___BLw9W_1-0-17{
41
+ .magritte-fixed-height___BLw9W_1-0-19{
42
42
  height:336px;
43
43
  }
44
- .magritte-column-wrapper___yRwai_1-0-17{
44
+ .magritte-column-wrapper___yRwai_1-0-19{
45
45
  flex:0 0 64px;
46
46
  position:relative;
47
47
  }
48
- .magritte-column-position-wrapper___wQTIu_1-0-17{
48
+ .magritte-column-position-wrapper___wQTIu_1-0-19{
49
49
  position:relative;
50
50
  top:50%;
51
51
  margin-top:-24px;
52
52
  }
53
- .magritte-wide-column-wrapper___nvecx_1-0-17{
53
+ .magritte-wide-column-wrapper___nvecx_1-0-19{
54
54
  flex:0 0 105px;
55
55
  }
56
- .magritte-full-width-column-wrapper___oxhh1_1-0-17{
56
+ .magritte-full-width-column-wrapper___oxhh1_1-0-19{
57
57
  flex:0 0 100%;
58
58
  }
59
- .magritte-column___IMYca_1-0-17{
59
+ .magritte-column___IMYca_1-0-19{
60
60
  will-change:transform;
61
61
  transform:translate3d(0, 0, 0);
62
62
  }
63
- .magritte-item___4RQVs_1-0-17{
64
- font-family:var(--magritte-typography-label-1-regular-font-family-v21-4-2);
65
- font-weight:var(--magritte-typography-label-1-regular-font-weight-v21-4-2);
66
- line-height:var(--magritte-typography-label-1-regular-line-height-v21-4-2);
67
- font-size:var(--magritte-typography-label-1-regular-font-size-v21-4-2);
68
- letter-spacing:var(--magritte-typography-label-1-regular-letter-spacing-v21-4-2);
69
- text-indent:var(--magritte-typography-label-1-regular-text-indent-v21-4-2);
70
- text-transform:var(--magritte-typography-label-1-regular-text-transform-v21-4-2);
71
- text-decoration:var(--magritte-typography-label-1-regular-text-decoration-v21-4-2);
72
- color:var(--magritte-color-text-primary-v21-4-2);
63
+ .magritte-item___4RQVs_1-0-19{
64
+ font-family:var(--magritte-typography-label-1-regular-font-family-v21-4-4);
65
+ font-weight:var(--magritte-typography-label-1-regular-font-weight-v21-4-4);
66
+ line-height:var(--magritte-typography-label-1-regular-line-height-v21-4-4);
67
+ font-size:var(--magritte-typography-label-1-regular-font-size-v21-4-4);
68
+ letter-spacing:var(--magritte-typography-label-1-regular-letter-spacing-v21-4-4);
69
+ text-indent:var(--magritte-typography-label-1-regular-text-indent-v21-4-4);
70
+ text-transform:var(--magritte-typography-label-1-regular-text-transform-v21-4-4);
71
+ text-decoration:var(--magritte-typography-label-1-regular-text-decoration-v21-4-4);
72
+ color:var(--magritte-color-text-primary-v21-4-4);
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-17.magritte-align-left___PXJt0_1-0-17{
79
+ .magritte-item___4RQVs_1-0-19.magritte-align-left___PXJt0_1-0-19{
80
80
  text-align:left;
81
81
  transform-origin:left center;
82
82
  }
83
- .magritte-item___4RQVs_1-0-17.magritte-align-right___0yc2S_1-0-17{
83
+ .magritte-item___4RQVs_1-0-19.magritte-align-right___0yc2S_1-0-19{
84
84
  text-align:right;
85
85
  transform-origin:right center;
86
86
  }
87
- .magritte-item___4RQVs_1-0-17.magritte-disabled___d3ukm_1-0-17{
88
- color:var(--magritte-color-text-state-primary-disabled-v21-4-2);
87
+ .magritte-item___4RQVs_1-0-19.magritte-disabled___d3ukm_1-0-19{
88
+ color:var(--magritte-color-text-state-primary-disabled-v21-4-4);
89
89
  }
90
- .magritte-item___4RQVs_1-0-17.magritte-selected___Nar3H_1-0-17{
90
+ .magritte-item___4RQVs_1-0-19.magritte-selected___Nar3H_1-0-19{
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.17",
3
+ "version": "1.0.19",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -9,24 +9,23 @@
9
9
  "scripts": {
10
10
  "build": "yarn root:build $(pwd)",
11
11
  "build-test-branch": "yarn root:build-test-branch $(pwd)",
12
- "changelog": "yarn root:changelog $(pwd)",
13
12
  "prepack": "yarn root:prepack $(pwd)",
14
13
  "postpublish": "yarn root:postpublish $(pwd)",
15
- "stylelint-test": "yarn root:stylelint-test $(pwd)",
16
- "eslint-test": "yarn root:eslint-test $(pwd)",
14
+ "stylelint-check": "yarn root:stylelint-check $(pwd)",
15
+ "eslint-check": "yarn root:eslint-check $(pwd)",
17
16
  "ts-config": "yarn root:ts-config $(pwd)",
18
17
  "ts-check": "yarn root:ts-check $(pwd)",
19
18
  "test": "yarn root:test $(pwd)",
20
19
  "watch": "yarn root:watch $(pwd)"
21
20
  },
22
21
  "dependencies": {
23
- "@hh.ru/magritte-design-tokens": "21.4.2",
24
- "@hh.ru/magritte-internal-custom-scroll": "1.4.0",
25
- "@hh.ru/magritte-types": "5.0.1",
26
- "@hh.ru/magritte-ui-bottom-sheet": "7.1.15",
27
- "@hh.ru/magritte-ui-breakpoint": "5.0.0",
28
- "@hh.ru/magritte-ui-theme-provider": "1.1.44",
29
- "@hh.ru/magritte-ui-typography": "3.0.35"
22
+ "@hh.ru/magritte-design-tokens": "21.4.4",
23
+ "@hh.ru/magritte-internal-custom-scroll": "1.4.2",
24
+ "@hh.ru/magritte-types": "5.0.3",
25
+ "@hh.ru/magritte-ui-bottom-sheet": "7.1.17",
26
+ "@hh.ru/magritte-ui-breakpoint": "5.0.2",
27
+ "@hh.ru/magritte-ui-theme-provider": "1.1.46",
28
+ "@hh.ru/magritte-ui-typography": "3.0.37"
30
29
  },
31
30
  "peerDependencies": {
32
31
  "classnames": ">=2.3.2",
@@ -35,5 +34,5 @@
35
34
  "publishConfig": {
36
35
  "access": "public"
37
36
  },
38
- "gitHead": "e402cc9c3a1c6f84ffa5651e51290e4194e564d6"
37
+ "gitHead": "06867ef491cf6de9d1c064477f70dad510e93e7b"
39
38
  }