@taiga-ui/kit 4.0.0-rc.8 → 4.0.0

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 (90) hide show
  1. package/components/calendar-range/calendar-range.component.d.ts +4 -2
  2. package/components/elastic-container/elastic-container.directive.d.ts +0 -2
  3. package/components/input-phone-international/input-phone-international.component.d.ts +3 -3
  4. package/components/progress/progress-bar/progress-color-segments.directive.d.ts +0 -1
  5. package/components/push/index.d.ts +1 -0
  6. package/components/push/push.component.d.ts +3 -3
  7. package/components/push/push.d.ts +4 -0
  8. package/components/rating/rating.component.d.ts +3 -3
  9. package/components/stepper/stepper.component.d.ts +0 -1
  10. package/directives/connected/connected.directive.d.ts +6 -0
  11. package/directives/connected/index.d.ts +1 -0
  12. package/directives/fluid-typography/fluid-typography.directive.d.ts +12 -0
  13. package/directives/fluid-typography/fluid-typography.options.d.ts +8 -0
  14. package/directives/fluid-typography/index.d.ts +2 -0
  15. package/directives/index.d.ts +2 -1
  16. package/esm2022/components/badge/badge.directive.mjs +2 -2
  17. package/esm2022/components/block/block.directive.mjs +2 -2
  18. package/esm2022/components/calendar-range/calendar-range.component.mjs +14 -1
  19. package/esm2022/components/chip/chip.directive.mjs +2 -2
  20. package/esm2022/components/elastic-container/elastic-container.directive.mjs +2 -4
  21. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +8 -8
  22. package/esm2022/components/progress/progress-bar/progress-bar.component.mjs +4 -4
  23. package/esm2022/components/progress/progress-bar/progress-color-segments.directive.mjs +5 -6
  24. package/esm2022/components/push/index.mjs +2 -1
  25. package/esm2022/components/push/push-alert.component.mjs +4 -4
  26. package/esm2022/components/push/push.component.mjs +6 -6
  27. package/esm2022/components/push/push.mjs +5 -0
  28. package/esm2022/components/rating/rating.component.mjs +6 -6
  29. package/esm2022/components/stepper/step.component.mjs +3 -3
  30. package/esm2022/components/stepper/stepper.component.mjs +4 -5
  31. package/esm2022/directives/connected/connected.directive.mjs +32 -0
  32. package/esm2022/directives/connected/index.mjs +2 -0
  33. package/esm2022/directives/connected/taiga-ui-kit-directives-connected.mjs +5 -0
  34. package/esm2022/directives/fluid-typography/fluid-typography.directive.mjs +63 -0
  35. package/esm2022/directives/fluid-typography/fluid-typography.options.mjs +10 -0
  36. package/esm2022/directives/fluid-typography/index.mjs +3 -0
  37. package/esm2022/directives/fluid-typography/taiga-ui-kit-directives-fluid-typography.mjs +5 -0
  38. package/esm2022/directives/index.mjs +3 -2
  39. package/esm2022/directives/sensitive/sensitive.directive.mjs +6 -6
  40. package/esm2022/tokens/date-inputs-value-transformers.mjs +5 -1
  41. package/fesm2022/taiga-ui-kit-components-badge.mjs +2 -2
  42. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  43. package/fesm2022/taiga-ui-kit-components-block.mjs +2 -2
  44. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  45. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +13 -0
  46. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  47. package/fesm2022/taiga-ui-kit-components-chip.mjs +2 -2
  48. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  49. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +1 -3
  50. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +1 -1
  51. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +7 -7
  52. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  53. package/fesm2022/taiga-ui-kit-components-progress.mjs +6 -7
  54. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  55. package/fesm2022/taiga-ui-kit-components-push.mjs +9 -7
  56. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  57. package/fesm2022/taiga-ui-kit-components-rating.mjs +5 -5
  58. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  59. package/fesm2022/taiga-ui-kit-components-stepper.mjs +5 -6
  60. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  61. package/fesm2022/taiga-ui-kit-directives-connected.mjs +38 -0
  62. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -0
  63. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +78 -0
  64. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -0
  65. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +5 -5
  66. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
  67. package/fesm2022/taiga-ui-kit-directives.mjs +2 -1
  68. package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
  69. package/fesm2022/taiga-ui-kit-tokens.mjs +5 -1
  70. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  71. package/package.json +20 -14
  72. package/styles/components/badge.less +19 -25
  73. package/styles/components/block.less +11 -15
  74. package/styles/components/checkbox.less +4 -4
  75. package/styles/components/chip.less +12 -18
  76. package/styles/components/comment.less +5 -5
  77. package/styles/components/compass.less +2 -2
  78. package/styles/components/pin.less +7 -7
  79. package/styles/components/progress-bar.less +117 -0
  80. package/styles/components/radio.less +3 -3
  81. package/styles/components/status.less +1 -1
  82. package/styles/components/switch.less +10 -10
  83. package/tokens/date-inputs-value-transformers.d.ts +4 -0
  84. package/directives/button-vertical/button-vertical.directive.d.ts +0 -6
  85. package/directives/button-vertical/index.d.ts +0 -1
  86. package/esm2022/directives/button-vertical/button-vertical.directive.mjs +0 -29
  87. package/esm2022/directives/button-vertical/index.mjs +0 -2
  88. package/esm2022/directives/button-vertical/taiga-ui-kit-directives-button-vertical.mjs +0 -5
  89. package/fesm2022/taiga-ui-kit-directives-button-vertical.mjs +0 -35
  90. package/fesm2022/taiga-ui-kit-directives-button-vertical.mjs.map +0 -1
@@ -8,7 +8,7 @@
8
8
  * A general purpose container, typically used for labels and inputs
9
9
  *
10
10
  * @attributes
11
- * data-size — size ('s' | 'm' | 'l')
11
+ * data-size — size (default: 'l') ('s' | 'm' | 'l')
12
12
  *
13
13
  * @example
14
14
  * <label tuiBlock>
@@ -20,9 +20,12 @@
20
20
  * Icons, Appearance, Link, Button
21
21
  */
22
22
  [tuiBlock] {
23
+ --t-height: var(--tui-height-l);
24
+ --t-radius: var(--tui-radius-l);
25
+
23
26
  position: relative;
24
27
  display: inline-flex;
25
- gap: 1rem;
28
+ gap: 0.75rem;
26
29
  color: var(--tui-text-primary);
27
30
  border-radius: var(--t-radius);
28
31
  min-height: var(--t-height);
@@ -30,6 +33,12 @@
30
33
  box-sizing: border-box;
31
34
  cursor: pointer;
32
35
  overflow: hidden;
36
+ font: var(--tui-font-text-m);
37
+ padding: var(--tui-padding-l);
38
+
39
+ [tuiTooltip] {
40
+ margin: 0.25rem;
41
+ }
33
42
 
34
43
  &[data-size='s'] {
35
44
  gap: 0.5rem;
@@ -65,19 +74,6 @@
65
74
  }
66
75
  }
67
76
 
68
- &[data-size='l'] {
69
- gap: 0.75rem;
70
- font: var(--tui-font-text-m);
71
- padding: var(--tui-padding-l);
72
-
73
- --t-height: var(--tui-height-l);
74
- --t-radius: var(--tui-radius-l);
75
-
76
- [tuiTooltip] {
77
- margin: 0.25rem;
78
- }
79
- }
80
-
81
77
  &._disabled {
82
78
  pointer-events: none;
83
79
  opacity: var(--tui-disabled-opacity);
@@ -8,7 +8,7 @@
8
8
  * A stylized input type="checkbox"
9
9
  *
10
10
  * @attributes
11
- * data-size — size ('s' | 'm')
11
+ * data-size — size (default: 'm') ('s' | 'm')
12
12
  *
13
13
  * @vars
14
14
  * --t-checked-icon-icon — checkmark icon
@@ -31,7 +31,7 @@
31
31
  margin: 0;
32
32
  flex-shrink: 0;
33
33
 
34
- &:before {
34
+ &::before {
35
35
  .fullsize();
36
36
 
37
37
  content: '';
@@ -49,7 +49,7 @@
49
49
 
50
50
  &:checked,
51
51
  &:indeterminate {
52
- &:before {
52
+ &::before {
53
53
  mask-image: var(--t-checked-icon);
54
54
  transform: scale(1);
55
55
  transition:
@@ -58,7 +58,7 @@
58
58
  }
59
59
  }
60
60
 
61
- &:indeterminate:before {
61
+ &:indeterminate::before {
62
62
  mask-image: var(--t-indeterminate-icon);
63
63
  }
64
64
 
@@ -8,7 +8,7 @@
8
8
  * A chip component that can be used on it's own or on buttons/links/inputs
9
9
  *
10
10
  * @attributes
11
- * data-size — size ('xxs' | 'xs' | 's' | 'm')
11
+ * data-size — size (default: 's') ('xxs' | 'xs' | 's' | 'm')
12
12
  *
13
13
  * @example
14
14
  * <tui-chip>Sale</tui-badge>
@@ -21,6 +21,8 @@ tui-chip,
21
21
  --t-gap: 0.125rem;
22
22
  --t-margin: -0.125rem;
23
23
  --t-icon-size: 1rem;
24
+ --t-padding: 0 0.625rem;
25
+ --t-size: var(--tui-height-s);
24
26
 
25
27
  .button-base();
26
28
 
@@ -35,11 +37,15 @@ tui-chip,
35
37
  });
36
38
 
37
39
  > tui-icon,
38
- &[tuiIcons]:before,
39
- &[tuiIcons]:after {
40
+ &[tuiIcons]::before,
41
+ &[tuiIcons]::after {
40
42
  font-size: var(--t-icon-size) !important;
41
43
  }
42
44
 
45
+ & > [tuiIconButton] {
46
+ margin: -0.375rem;
47
+ }
48
+
43
49
  &[data-size='xxs'] {
44
50
  --t-gap: 0rem;
45
51
  --t-padding: 0 0.25rem;
@@ -66,20 +72,6 @@ tui-chip,
66
72
  }
67
73
  }
68
74
 
69
- &[data-size='s'] {
70
- --t-padding: 0 0.625rem;
71
- --t-size: var(--tui-height-s);
72
-
73
- & > [tuiIconButton] {
74
- margin: -0.375rem;
75
- }
76
-
77
- & > img,
78
- tui-avatar {
79
- margin-inline-start: -0.375rem;
80
- }
81
- }
82
-
83
75
  &[data-size='m'] {
84
76
  --t-margin: -0.375rem;
85
77
  --t-icon-size: 1.5rem;
@@ -93,8 +85,10 @@ tui-chip,
93
85
  }
94
86
  }
95
87
 
96
- & > img {
88
+ & > img,
89
+ tui-avatar {
97
90
  width: 1.5rem;
91
+ margin-inline-start: -0.375rem;
98
92
  }
99
93
 
100
94
  & > input[tuiChip] {
@@ -8,7 +8,7 @@
8
8
  * A comment bubble with an arrow
9
9
  *
10
10
  * @attributes
11
- * data-direction — arrow direction ('top' | 'bottom' | 'left' | 'right')
11
+ * data-direction — arrow direction (default: 'top') ('top' | 'bottom' | 'left' | 'right')
12
12
  *
13
13
  * @example
14
14
  * <label data-direction="top" tuiComment>Amazing product!</label>
@@ -25,7 +25,7 @@
25
25
  align-items: center;
26
26
  justify-content: center;
27
27
 
28
- &:before {
28
+ &::before {
29
29
  content: '';
30
30
  position: absolute;
31
31
  bottom: 100%;
@@ -39,7 +39,7 @@
39
39
  }
40
40
 
41
41
  &[data-direction='bottom'] {
42
- &:before {
42
+ &::before {
43
43
  top: 100%;
44
44
  bottom: auto;
45
45
  transform: translate(-50%) rotate(180deg);
@@ -47,7 +47,7 @@
47
47
  }
48
48
 
49
49
  &[data-direction='left'] {
50
- &:before {
50
+ &::before {
51
51
  left: auto;
52
52
  top: 50%;
53
53
  right: 100%;
@@ -56,7 +56,7 @@
56
56
  }
57
57
 
58
58
  &[data-direction='right'] {
59
- &:before {
59
+ &::before {
60
60
  top: 50%;
61
61
  left: 100%;
62
62
  transform: translate(-0.785rem, -50%) rotate(90deg);
@@ -27,7 +27,7 @@ tui-compass {
27
27
  box-shadow: 0 0 0.1875rem rgba(0, 0, 0, 0.3);
28
28
  transform-style: preserve-3d; // z-index doesn't work on pseudo-element
29
29
 
30
- &:before {
30
+ &::before {
31
31
  content: '';
32
32
  position: absolute;
33
33
  top: 0;
@@ -39,7 +39,7 @@ tui-compass {
39
39
  background: currentColor;
40
40
  }
41
41
 
42
- &:after {
42
+ &::after {
43
43
  .fullsize(absolute, inset);
44
44
 
45
45
  content: '';
@@ -45,7 +45,7 @@ tui-pin,
45
45
  &:empty {
46
46
  --t-size: 0.75rem;
47
47
 
48
- &:before {
48
+ &::before {
49
49
  display: none;
50
50
  }
51
51
  }
@@ -91,12 +91,12 @@ tui-pin,
91
91
  height: 2.125rem;
92
92
  }
93
93
 
94
- &:before {
94
+ &::before {
95
95
  transform: scale(0.99) translate(-1.875rem, -1.875rem);
96
96
  opacity: 1;
97
97
  }
98
98
 
99
- &:after {
99
+ &::after {
100
100
  top: 4.5rem;
101
101
  opacity: 1;
102
102
  }
@@ -121,18 +121,18 @@ tui-pin,
121
121
  height: 2.125rem;
122
122
  }
123
123
 
124
- &:before {
124
+ &::before {
125
125
  transform: scale(0.99) translate(-1.875rem, -1.875rem);
126
126
  opacity: 1;
127
127
  }
128
128
 
129
- &:after {
129
+ &::after {
130
130
  top: 4.5rem;
131
131
  opacity: 1;
132
132
  }
133
133
  }
134
134
 
135
- &:before {
135
+ &::before {
136
136
  .transition(~'transform, opacity');
137
137
 
138
138
  content: '';
@@ -153,7 +153,7 @@ tui-pin,
153
153
  no-repeat;
154
154
  }
155
155
 
156
- &:after {
156
+ &::after {
157
157
  .transition(~'top, opacity');
158
158
 
159
159
  content: '';
@@ -0,0 +1,117 @@
1
+ @import '@taiga-ui/core/styles/taiga-ui-local.less';
2
+
3
+ /**
4
+ * @name ProgressBar
5
+ * @selector [tuiProgressBar]
6
+ *
7
+ * @description
8
+ * A stylized native progress element
9
+ *
10
+ * @attributes
11
+ * data-size — size (default: 'm') ('xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' )
12
+ *
13
+ * @example
14
+ * <progress tuiProgressBar value="33"></progress>
15
+ */
16
+ .clearProgress() {
17
+ -webkit-appearance: none;
18
+ -moz-appearance: none;
19
+ appearance: none;
20
+ border: none;
21
+ }
22
+
23
+ /* used to style inner value bar */
24
+ .progressValue(@ruleset) {
25
+ &::-webkit-progress-value {
26
+ @ruleset(); // Chromium Edge | Chrome | Opera | Safari
27
+ }
28
+
29
+ &::-moz-progress-bar {
30
+ @ruleset(); // Mozilla
31
+ }
32
+ }
33
+
34
+ /*
35
+ * Edge and IE animate the progress bar right out of the box
36
+ * Chrome | Opera | Safari animation is controlled by its mixins
37
+ * No possibility for firefox animation (https://snook.ca/archives/html_and_css/animating-progress)
38
+ */
39
+ .progressAnimation() {
40
+ &::-webkit-progress-value {
41
+ transition: width var(--tui-duration) linear;
42
+ }
43
+ }
44
+
45
+ @keyframes tuiIndeterminateAnimation {
46
+ 50% {
47
+ background-position: left;
48
+ }
49
+ }
50
+
51
+ [tuiProgressBar] {
52
+ @track-color: var(--tui-background-neutral-1);
53
+ @progress-color: var(--tui-progress-color, currentColor);
54
+
55
+ .clearProgress();
56
+ .progressAnimation();
57
+ .progressValue({ background: @progress-color; border-radius: inherit });
58
+
59
+ --t-height: 0.75rem;
60
+
61
+ display: block;
62
+ width: 100%;
63
+ height: var(--t-height);
64
+ color: var(--tui-background-accent-1);
65
+ background: @track-color;
66
+ clip-path: inset(0 0.5px round var(--tui-radius-m)); // 0.5px is a hack to prevent jagged edges on low dpi screens
67
+ overflow: hidden;
68
+ border-radius: 1rem;
69
+ flex-shrink: 0;
70
+
71
+ &[data-size='xxs'] {
72
+ --t-height: 0.125rem;
73
+ }
74
+
75
+ &[data-size='xs'] {
76
+ --t-height: 0.25rem;
77
+ }
78
+
79
+ &[data-size='s'] {
80
+ --t-height: 0.5rem;
81
+ }
82
+
83
+ &[data-size='l'] {
84
+ --t-height: 1rem;
85
+ }
86
+
87
+ &[data-size='xl'] {
88
+ --t-height: 1.25rem;
89
+ }
90
+
91
+ &[data-size='xxl'] {
92
+ --t-height: 1.5rem;
93
+ }
94
+
95
+ &:indeterminate {
96
+ .progressValue({ background: transparent });
97
+
98
+ background: linear-gradient(to right, @track-color 0 45%, @progress-color 45% 55%, @track-color 55% 100%) right;
99
+ background-size: 225%;
100
+ animation: tuiIndeterminateAnimation 3s infinite ease-in-out;
101
+ }
102
+
103
+ &::-webkit-progress-inner-element {
104
+ border-radius: inherit;
105
+ }
106
+
107
+ &::-webkit-progress-bar {
108
+ background: transparent;
109
+ border-radius: inherit;
110
+ }
111
+
112
+ label[tuiProgressLabel] &:not(:first-child) {
113
+ .fullsize();
114
+
115
+ background: transparent;
116
+ }
117
+ }
@@ -8,7 +8,7 @@
8
8
  * A stylized input type="radio"
9
9
  *
10
10
  * @attributes
11
- * data-size — size ('s' | 'm')
11
+ * data-size — size (default: 'm') ('s' | 'm')
12
12
  *
13
13
  * @example
14
14
  * <input type="radio" tuiRadio />
@@ -33,7 +33,7 @@
33
33
  opacity: 1;
34
34
  }
35
35
 
36
- &:before {
36
+ &::before {
37
37
  .fullsize();
38
38
  .transition(transform);
39
39
 
@@ -43,7 +43,7 @@
43
43
  transform: scale(0);
44
44
  }
45
45
 
46
- &:checked:before {
46
+ &:checked::before {
47
47
  transform: scale(0.5);
48
48
  }
49
49
 
@@ -19,7 +19,7 @@
19
19
  align-items: center;
20
20
  gap: 0.5rem;
21
21
 
22
- &:before {
22
+ &::before {
23
23
  content: '';
24
24
  display: var(--t-status, none);
25
25
  width: 0.5rem;
@@ -8,7 +8,7 @@
8
8
  * A stylized input type="checkbox" switch
9
9
  *
10
10
  * @attributes
11
- * data-size — size ('s' | 'm')
11
+ * data-size — size (default: 'm') ('s' | 'm')
12
12
  *
13
13
  * @vars
14
14
  * --t-checked-icon — checkmark icon
@@ -35,30 +35,30 @@
35
35
  height: 1rem;
36
36
  width: 2rem;
37
37
 
38
- &:before {
38
+ &::before {
39
39
  width: 1rem;
40
40
  transform: translateX(-1rem);
41
41
  mask-size: 0.75rem;
42
42
  }
43
43
 
44
- &:after {
44
+ &::after {
45
45
  width: 1rem;
46
46
  box-shadow: -2.625rem 0 0 0.5rem currentColor;
47
47
  outline-width: 0.167rem;
48
48
  transform: scale(0.375);
49
49
  }
50
50
 
51
- &:checked:after {
51
+ &:checked::after {
52
52
  transform: scale(0.375) translateX(2.625rem);
53
53
  }
54
54
  }
55
55
 
56
56
  &:checked {
57
- &:before {
57
+ &::before {
58
58
  transform: none;
59
59
  }
60
60
 
61
- &:after {
61
+ &::after {
62
62
  transform: scale(0.33333) translateX(4.5rem);
63
63
  }
64
64
  }
@@ -67,8 +67,8 @@
67
67
  opacity: 1;
68
68
  }
69
69
 
70
- &:before,
71
- &:after {
70
+ &::before,
71
+ &::after {
72
72
  .transition(transform);
73
73
 
74
74
  content: '';
@@ -77,7 +77,7 @@
77
77
  width: 1.5rem;
78
78
  }
79
79
 
80
- &:before {
80
+ &::before {
81
81
  display: var(--t-checked-icon, none);
82
82
  background: currentColor;
83
83
  mask: var(--t-checked-icon) no-repeat center;
@@ -85,7 +85,7 @@
85
85
  transform: translateX(-1.5rem);
86
86
  }
87
87
 
88
- &:after {
88
+ &::after {
89
89
  right: 0;
90
90
  border-radius: 100%;
91
91
  transform: scale(0.33333);
@@ -13,3 +13,7 @@ export declare const TUI_DATE_RANGE_VALUE_TRANSFORMER: InjectionToken<TuiValueTr
13
13
  * Control value transformer for InputDateTime component
14
14
  */
15
15
  export declare const TUI_DATE_TIME_VALUE_TRANSFORMER: InjectionToken<TuiValueTransformer<[TuiDay | null, TuiTime | null], unknown>>;
16
+ /**
17
+ * Control value transformer for InputTime component
18
+ */
19
+ export declare const TUI_TIME_VALUE_TRANSFORMER: InjectionToken<TuiValueTransformer<TuiTime | null, unknown>>;
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TuiButtonVertical {
3
- protected readonly nothing: undefined;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiButtonVertical, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiButtonVertical, "[tuiButtonVertical]", never, {}, {}, never, never, true, never>;
6
- }
@@ -1 +0,0 @@
1
- export * from './button-vertical.directive';
@@ -1,29 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Directive, ViewEncapsulation, } from '@angular/core';
2
- import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
3
- import * as i0 from "@angular/core";
4
- class TuiButtonVerticalStyles {
5
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiButtonVerticalStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiButtonVerticalStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-button-vertical-styles" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiButton][tuiButtonVertical]{--t-line-height: 1rem;--t-margin: 0rem !important;flex-direction:column;height:auto;padding:.75rem;gap:.375rem;min-width:5rem;white-space:pre-line;font:var(--tui-font-text-ui-s)}[tuiButton][tuiButtonVertical]>*{max-height:calc(var(--t-line-height) * 2)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
7
- }
8
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiButtonVerticalStyles, decorators: [{
9
- type: Component,
10
- args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
11
- class: 'tui-button-vertical-styles',
12
- }, styles: ["[tuiButton][tuiButtonVertical]{--t-line-height: 1rem;--t-margin: 0rem !important;flex-direction:column;height:auto;padding:.75rem;gap:.375rem;min-width:5rem;white-space:pre-line;font:var(--tui-font-text-ui-s)}[tuiButton][tuiButtonVertical]>*{max-height:calc(var(--t-line-height) * 2)}\n"] }]
13
- }] });
14
- class TuiButtonVertical {
15
- constructor() {
16
- this.nothing = tuiWithStyles(TuiButtonVerticalStyles);
17
- }
18
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiButtonVertical, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
19
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiButtonVertical, isStandalone: true, selector: "[tuiButtonVertical]", ngImport: i0 }); }
20
- }
21
- export { TuiButtonVertical };
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiButtonVertical, decorators: [{
23
- type: Directive,
24
- args: [{
25
- standalone: true,
26
- selector: '[tuiButtonVertical]',
27
- }]
28
- }] });
29
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLXZlcnRpY2FsLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9kaXJlY3RpdmVzL2J1dHRvbi12ZXJ0aWNhbC9idXR0b24tdmVydGljYWwuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFNBQVMsRUFDVCxpQkFBaUIsR0FDcEIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLGFBQWEsRUFBQyxNQUFNLG1DQUFtQyxDQUFDOztBQUVoRSxNQVVNLHVCQUF1QjsrR0FBdkIsdUJBQXVCO21HQUF2Qix1QkFBdUIsZ0lBUmYsRUFBRTs7NEZBUVYsdUJBQXVCO2tCQVY1QixTQUFTO2lDQUNNLElBQUksWUFDTixFQUFFLGlCQUVHLGlCQUFpQixDQUFDLElBQUksbUJBQ3BCLHVCQUF1QixDQUFDLE1BQU0sUUFDekM7d0JBQ0YsS0FBSyxFQUFFLDRCQUE0QjtxQkFDdEM7O0FBSUwsTUFJYSxpQkFBaUI7SUFKOUI7UUFLdUIsWUFBTyxHQUFHLGFBQWEsQ0FBQyx1QkFBdUIsQ0FBQyxDQUFDO0tBQ3ZFOytHQUZZLGlCQUFpQjttR0FBakIsaUJBQWlCOztTQUFqQixpQkFBaUI7NEZBQWpCLGlCQUFpQjtrQkFKN0IsU0FBUzttQkFBQztvQkFDUCxVQUFVLEVBQUUsSUFBSTtvQkFDaEIsUUFBUSxFQUFFLHFCQUFxQjtpQkFDbEMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1xuICAgIENoYW5nZURldGVjdGlvblN0cmF0ZWd5LFxuICAgIENvbXBvbmVudCxcbiAgICBEaXJlY3RpdmUsXG4gICAgVmlld0VuY2Fwc3VsYXRpb24sXG59IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHt0dWlXaXRoU3R5bGVzfSBmcm9tICdAdGFpZ2EtdWkvY2RrL3V0aWxzL21pc2NlbGxhbmVvdXMnO1xuXG5AQ29tcG9uZW50KHtcbiAgICBzdGFuZGFsb25lOiB0cnVlLFxuICAgIHRlbXBsYXRlOiAnJyxcbiAgICBzdHlsZVVybHM6IFsnLi9idXR0b24tdmVydGljYWwuc3R5bGUubGVzcyddLFxuICAgIGVuY2Fwc3VsYXRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmUsXG4gICAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG4gICAgaG9zdDoge1xuICAgICAgICBjbGFzczogJ3R1aS1idXR0b24tdmVydGljYWwtc3R5bGVzJyxcbiAgICB9LFxufSlcbmNsYXNzIFR1aUJ1dHRvblZlcnRpY2FsU3R5bGVzIHt9XG5cbkBEaXJlY3RpdmUoe1xuICAgIHN0YW5kYWxvbmU6IHRydWUsXG4gICAgc2VsZWN0b3I6ICdbdHVpQnV0dG9uVmVydGljYWxdJyxcbn0pXG5leHBvcnQgY2xhc3MgVHVpQnV0dG9uVmVydGljYWwge1xuICAgIHByb3RlY3RlZCByZWFkb25seSBub3RoaW5nID0gdHVpV2l0aFN0eWxlcyhUdWlCdXR0b25WZXJ0aWNhbFN0eWxlcyk7XG59XG4iXX0=
@@ -1,2 +0,0 @@
1
- export * from './button-vertical.directive';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvZGlyZWN0aXZlcy9idXR0b24tdmVydGljYWwvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw2QkFBNkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYnV0dG9uLXZlcnRpY2FsLmRpcmVjdGl2ZSc7XG4iXX0=
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWkta2l0LWRpcmVjdGl2ZXMtYnV0dG9uLXZlcnRpY2FsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2RpcmVjdGl2ZXMvYnV0dG9uLXZlcnRpY2FsL3RhaWdhLXVpLWtpdC1kaXJlY3RpdmVzLWJ1dHRvbi12ZXJ0aWNhbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,35 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, ViewEncapsulation, ChangeDetectionStrategy, Directive } from '@angular/core';
3
- import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
4
-
5
- class TuiButtonVerticalStyles {
6
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiButtonVerticalStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiButtonVerticalStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-button-vertical-styles" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiButton][tuiButtonVertical]{--t-line-height: 1rem;--t-margin: 0rem !important;flex-direction:column;height:auto;padding:.75rem;gap:.375rem;min-width:5rem;white-space:pre-line;font:var(--tui-font-text-ui-s)}[tuiButton][tuiButtonVertical]>*{max-height:calc(var(--t-line-height) * 2)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
8
- }
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiButtonVerticalStyles, decorators: [{
10
- type: Component,
11
- args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
12
- class: 'tui-button-vertical-styles',
13
- }, styles: ["[tuiButton][tuiButtonVertical]{--t-line-height: 1rem;--t-margin: 0rem !important;flex-direction:column;height:auto;padding:.75rem;gap:.375rem;min-width:5rem;white-space:pre-line;font:var(--tui-font-text-ui-s)}[tuiButton][tuiButtonVertical]>*{max-height:calc(var(--t-line-height) * 2)}\n"] }]
14
- }] });
15
- class TuiButtonVertical {
16
- constructor() {
17
- this.nothing = tuiWithStyles(TuiButtonVerticalStyles);
18
- }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiButtonVertical, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
20
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiButtonVertical, isStandalone: true, selector: "[tuiButtonVertical]", ngImport: i0 }); }
21
- }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiButtonVertical, decorators: [{
23
- type: Directive,
24
- args: [{
25
- standalone: true,
26
- selector: '[tuiButtonVertical]',
27
- }]
28
- }] });
29
-
30
- /**
31
- * Generated bundle index. Do not edit.
32
- */
33
-
34
- export { TuiButtonVertical };
35
- //# sourceMappingURL=taiga-ui-kit-directives-button-vertical.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-kit-directives-button-vertical.mjs","sources":["../../../projects/kit/directives/button-vertical/button-vertical.directive.ts","../../../projects/kit/directives/button-vertical/taiga-ui-kit-directives-button-vertical.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\n\n@Component({\n standalone: true,\n template: '',\n styleUrls: ['./button-vertical.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-button-vertical-styles',\n },\n})\nclass TuiButtonVerticalStyles {}\n\n@Directive({\n standalone: true,\n selector: '[tuiButtonVertical]',\n})\nexport class TuiButtonVertical {\n protected readonly nothing = tuiWithStyles(TuiButtonVerticalStyles);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAQA,MAUM,uBAAuB,CAAA;+GAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAvB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,uBAAuB,gIARf,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,gSAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;4FAQV,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAV5B,SAAS;iCACM,IAAI,EAAA,QAAA,EACN,EAAE,EAAA,aAAA,EAEG,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACzC,IAAA,EAAA;AACF,wBAAA,KAAK,EAAE,4BAA4B;AACtC,qBAAA,EAAA,MAAA,EAAA,CAAA,gSAAA,CAAA,EAAA,CAAA;;AAIL,MAIa,iBAAiB,CAAA;AAJ9B,IAAA,WAAA,GAAA;AAKuB,QAAA,IAAA,CAAA,OAAO,GAAG,aAAa,CAAC,uBAAuB,CAAC,CAAC;AACvE,KAAA;+GAFY,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,qBAAqB;AAClC,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}