@taiga-ui/addon-mobile 5.0.0 → 5.1.0-canary.3c76bbc

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 (24) hide show
  1. package/fesm2022/taiga-ui-addon-mobile-components-bottom-sheet.mjs +3 -3
  2. package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar-dropdown.mjs +6 -6
  3. package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar-sheet.mjs +3 -3
  4. package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar.mjs +3 -3
  5. package/fesm2022/taiga-ui-addon-mobile-components-pull-to-refresh.mjs +12 -12
  6. package/fesm2022/taiga-ui-addon-mobile-components-sheet-dialog.mjs +9 -9
  7. package/fesm2022/taiga-ui-addon-mobile-components-swipe-actions.mjs +13 -13
  8. package/fesm2022/taiga-ui-addon-mobile-components-swipe-actions.mjs.map +1 -1
  9. package/fesm2022/taiga-ui-addon-mobile-components-tab-bar.mjs +10 -10
  10. package/fesm2022/taiga-ui-addon-mobile-components-tab-bar.mjs.map +1 -1
  11. package/fesm2022/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs +8 -8
  12. package/fesm2022/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs.map +1 -1
  13. package/fesm2022/taiga-ui-addon-mobile-directives-dropdown-sheet.mjs +6 -6
  14. package/fesm2022/taiga-ui-addon-mobile-directives-elastic-sticky.mjs +9 -9
  15. package/fesm2022/taiga-ui-addon-mobile-directives-elastic-sticky.mjs.map +1 -1
  16. package/fesm2022/taiga-ui-addon-mobile-directives-responsive-dialog.mjs +6 -6
  17. package/fesm2022/taiga-ui-addon-mobile-directives-ripple.mjs +7 -7
  18. package/fesm2022/taiga-ui-addon-mobile-directives-ripple.mjs.map +1 -1
  19. package/fesm2022/taiga-ui-addon-mobile-directives-touchable.mjs +6 -6
  20. package/fesm2022/taiga-ui-addon-mobile-directives-touchable.mjs.map +1 -1
  21. package/fesm2022/taiga-ui-addon-mobile-services.mjs +6 -6
  22. package/package.json +39 -39
  23. package/styles/common/card-large.less +6 -1
  24. package/styles/common/header.less +16 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/addon-mobile",
3
- "version": "5.0.0",
3
+ "version": "5.1.0-canary.3c76bbc",
4
4
  "description": "Extension package for Taiga UI that adds support for mobile specific behaviors such as custom data pickers, dropdowns, etc.",
5
5
  "keywords": [
6
6
  "angular",
@@ -15,16 +15,16 @@
15
15
  "license": "Apache-2.0",
16
16
  "contributors": [
17
17
  {
18
- "name": "Alex Inkin",
19
- "email": "alexander@inkin.ru"
18
+ "email": "alexander@inkin.ru",
19
+ "name": "Alex Inkin"
20
20
  },
21
21
  {
22
- "name": "Vladimir Potekhin",
23
- "email": "vladimir.potekh@gmail.com"
22
+ "email": "vladimir.potekh@gmail.com",
23
+ "name": "Vladimir Potekhin"
24
24
  },
25
25
  {
26
- "name": "Nikita Barsukov",
27
- "email": "nikita.s.barsukov@gmail.com"
26
+ "email": "nikita.s.barsukov@gmail.com",
27
+ "name": "Nikita Barsukov"
28
28
  }
29
29
  ],
30
30
  "exports": {
@@ -36,42 +36,18 @@
36
36
  "types": "./index.d.ts",
37
37
  "default": "./fesm2022/taiga-ui-addon-mobile.mjs"
38
38
  },
39
- "./directives": {
40
- "types": "./directives/index.d.ts",
41
- "default": "./fesm2022/taiga-ui-addon-mobile-directives.mjs"
42
- },
43
39
  "./components": {
44
40
  "types": "./components/index.d.ts",
45
41
  "default": "./fesm2022/taiga-ui-addon-mobile-components.mjs"
46
42
  },
43
+ "./directives": {
44
+ "types": "./directives/index.d.ts",
45
+ "default": "./fesm2022/taiga-ui-addon-mobile-directives.mjs"
46
+ },
47
47
  "./services": {
48
48
  "types": "./services/index.d.ts",
49
49
  "default": "./fesm2022/taiga-ui-addon-mobile-services.mjs"
50
50
  },
51
- "./directives/dropdown-mobile": {
52
- "types": "./directives/dropdown-mobile/index.d.ts",
53
- "default": "./fesm2022/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs"
54
- },
55
- "./directives/dropdown-sheet": {
56
- "types": "./directives/dropdown-sheet/index.d.ts",
57
- "default": "./fesm2022/taiga-ui-addon-mobile-directives-dropdown-sheet.mjs"
58
- },
59
- "./directives/elastic-sticky": {
60
- "types": "./directives/elastic-sticky/index.d.ts",
61
- "default": "./fesm2022/taiga-ui-addon-mobile-directives-elastic-sticky.mjs"
62
- },
63
- "./directives/responsive-dialog": {
64
- "types": "./directives/responsive-dialog/index.d.ts",
65
- "default": "./fesm2022/taiga-ui-addon-mobile-directives-responsive-dialog.mjs"
66
- },
67
- "./directives/ripple": {
68
- "types": "./directives/ripple/index.d.ts",
69
- "default": "./fesm2022/taiga-ui-addon-mobile-directives-ripple.mjs"
70
- },
71
- "./directives/touchable": {
72
- "types": "./directives/touchable/index.d.ts",
73
- "default": "./fesm2022/taiga-ui-addon-mobile-directives-touchable.mjs"
74
- },
75
51
  "./components/bottom-sheet": {
76
52
  "types": "./components/bottom-sheet/index.d.ts",
77
53
  "default": "./fesm2022/taiga-ui-addon-mobile-components-bottom-sheet.mjs"
@@ -103,6 +79,30 @@
103
79
  "./components/tab-bar": {
104
80
  "types": "./components/tab-bar/index.d.ts",
105
81
  "default": "./fesm2022/taiga-ui-addon-mobile-components-tab-bar.mjs"
82
+ },
83
+ "./directives/dropdown-mobile": {
84
+ "types": "./directives/dropdown-mobile/index.d.ts",
85
+ "default": "./fesm2022/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs"
86
+ },
87
+ "./directives/dropdown-sheet": {
88
+ "types": "./directives/dropdown-sheet/index.d.ts",
89
+ "default": "./fesm2022/taiga-ui-addon-mobile-directives-dropdown-sheet.mjs"
90
+ },
91
+ "./directives/elastic-sticky": {
92
+ "types": "./directives/elastic-sticky/index.d.ts",
93
+ "default": "./fesm2022/taiga-ui-addon-mobile-directives-elastic-sticky.mjs"
94
+ },
95
+ "./directives/responsive-dialog": {
96
+ "types": "./directives/responsive-dialog/index.d.ts",
97
+ "default": "./fesm2022/taiga-ui-addon-mobile-directives-responsive-dialog.mjs"
98
+ },
99
+ "./directives/ripple": {
100
+ "types": "./directives/ripple/index.d.ts",
101
+ "default": "./fesm2022/taiga-ui-addon-mobile-directives-ripple.mjs"
102
+ },
103
+ "./directives/touchable": {
104
+ "types": "./directives/touchable/index.d.ts",
105
+ "default": "./fesm2022/taiga-ui-addon-mobile-directives-touchable.mjs"
106
106
  }
107
107
  },
108
108
  "peerDependencies": {
@@ -111,10 +111,10 @@
111
111
  "@angular/core": ">=19.0.0",
112
112
  "@ng-web-apis/common": "^5.2.0",
113
113
  "@ng-web-apis/platform": "^5.2.0",
114
- "@taiga-ui/cdk": "5.0.0",
115
- "@taiga-ui/core": "5.0.0",
116
- "@taiga-ui/kit": "5.0.0",
117
- "@taiga-ui/layout": "5.0.0",
114
+ "@taiga-ui/cdk": "5.1.0",
115
+ "@taiga-ui/core": "5.1.0",
116
+ "@taiga-ui/kit": "5.1.0",
117
+ "@taiga-ui/layout": "5.1.0",
118
118
  "@taiga-ui/polymorpheus": "^5.0.0",
119
119
  "rxjs": ">=7.0.0"
120
120
  },
@@ -13,9 +13,14 @@
13
13
  [tuiHeader] {
14
14
  margin-block-end: -0.5rem;
15
15
 
16
- & + [tuiCell] {
16
+ + [tuiCell] {
17
17
  margin-block-start: 0;
18
18
  }
19
+
20
+ + [tuiDescription] {
21
+ margin-block: -0.25rem -0.5rem;
22
+ font: var(--tui-typography-body-l);
23
+ }
19
24
  }
20
25
 
21
26
  [tuiHeader] [tuiTitle],
@@ -1,17 +1,22 @@
1
1
  [tuiHeader] {
2
- &[data-size='xxl'],
3
- &[data-size='xl'],
4
- &[data-size='l'],
5
2
  &[data-size='h1'],
6
3
  &[data-size='h2'],
7
4
  &[data-size='h3'] {
8
5
  [tuiTitle] {
9
6
  gap: 1rem;
10
7
  }
8
+
9
+ [tuiSubtitle] {
10
+ font: var(--tui-typography-body-m);
11
+ }
12
+
13
+ + [tuiDescription] {
14
+ margin-block-start: 1rem;
15
+ }
11
16
  }
12
17
 
13
- &[data-size='m'],
14
- &[data-size='h4'] {
18
+ &[data-size='h4'],
19
+ &[data-size='h5'] {
15
20
  [tuiTitle] {
16
21
  gap: 0.5rem;
17
22
  }
@@ -25,13 +30,17 @@
25
30
  }
26
31
  }
27
32
 
28
- &[data-size='xxs'],
29
33
  &[data-size='h6'],
30
34
  &[data-size='body-l'],
31
- &[data-size='body-m'] {
35
+ &[data-size='body-m'],
36
+ &[data-size='body-s'] {
32
37
  [tuiTitle],
33
38
  [tuiAccessories] {
34
39
  font: var(--tui-typography-heading-h6);
35
40
  }
41
+
42
+ [tuiSubtitle] {
43
+ font: var(--tui-typography-ui-s);
44
+ }
36
45
  }
37
46
  }