@taiga-ui/core 4.4.1 → 4.5.0-canary.49229f4
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/components/calendar/calendar-sheet.component.d.ts +1 -1
- package/components/data-list/data-list.component.d.ts +1 -1
- package/components/dialog/dialog.component.d.ts +1 -1
- package/components/notification/notification.directive.d.ts +1 -1
- package/components/spin-button/spin-button.component.d.ts +1 -1
- package/components/textfield/index.d.ts +1 -0
- package/components/textfield/textfield-content.directive.d.ts +6 -0
- package/components/textfield/textfield.component.d.ts +7 -6
- package/components/textfield/textfield.directive.d.ts +0 -1
- package/directives/appearance/appearance.directive.d.ts +7 -3
- package/directives/appearance/appearance.options.d.ts +6 -1
- package/directives/dropdown/dropdown.directive.d.ts +1 -1
- package/directives/hint/hint.component.d.ts +1 -1
- package/esm2022/components/alert/alert.component.mjs +6 -6
- package/esm2022/components/alert/alerts.component.mjs +4 -3
- package/esm2022/components/button/button.directive.mjs +2 -2
- package/esm2022/components/calendar/calendar-sheet.component.mjs +6 -6
- package/esm2022/components/calendar/calendar-spin.component.mjs +3 -3
- package/esm2022/components/calendar/calendar-year.component.mjs +4 -4
- package/esm2022/components/calendar/calendar.component.mjs +6 -6
- package/esm2022/components/data-list/data-list.component.mjs +6 -6
- package/esm2022/components/dialog/dialog.component.mjs +7 -6
- package/esm2022/components/dialog/dialogs.component.mjs +3 -3
- package/esm2022/components/expand/expand.component.mjs +3 -3
- package/esm2022/components/icon/icon.component.mjs +3 -3
- package/esm2022/components/label/label.directive.mjs +2 -2
- package/esm2022/components/loader/loader.component.mjs +3 -3
- package/esm2022/components/notification/notification.directive.mjs +2 -2
- package/esm2022/components/root/root.component.mjs +8 -8
- package/esm2022/components/scrollbar/scroll-controls.component.mjs +6 -6
- package/esm2022/components/scrollbar/scrollbar.component.mjs +4 -4
- package/esm2022/components/scrollbar/scrollbar.directive.mjs +5 -5
- package/esm2022/components/scrollbar/scrollbar.service.mjs +3 -3
- package/esm2022/components/spin-button/spin-button.component.mjs +3 -3
- package/esm2022/components/textfield/index.mjs +2 -1
- package/esm2022/components/textfield/select.directive.mjs +3 -3
- package/esm2022/components/textfield/textfield-content.directive.mjs +19 -0
- package/esm2022/components/textfield/textfield.component.mjs +18 -13
- package/esm2022/components/textfield/textfield.directive.mjs +3 -5
- package/esm2022/directives/appearance/appearance.bindings.mjs +4 -4
- package/esm2022/directives/appearance/appearance.directive.mjs +19 -9
- package/esm2022/directives/appearance/appearance.options.mjs +1 -1
- package/esm2022/directives/dropdown/dropdown-hover.directive.mjs +3 -3
- package/esm2022/directives/dropdown/dropdown.bindings.mjs +3 -3
- package/esm2022/directives/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/directives/dropdown/dropdown.directive.mjs +4 -2
- package/esm2022/directives/group/group.directive.mjs +5 -5
- package/esm2022/directives/hint/hint-describe.directive.mjs +3 -3
- package/esm2022/directives/hint/hint-unstyled.component.mjs +3 -3
- package/esm2022/directives/hint/hint.component.mjs +6 -5
- package/esm2022/directives/hint/hints.component.mjs +4 -4
- package/esm2022/directives/icons/icons.directive.mjs +2 -2
- package/esm2022/directives/surface/surface.directive.mjs +2 -2
- package/esm2022/directives/title/title.directive.mjs +2 -2
- package/esm2022/pipes/order-week-days/order-week-days.pipe.mjs +2 -5
- package/esm2022/services/breakpoint.service.mjs +3 -3
- package/fesm2022/taiga-ui-core-components-alert.mjs +7 -7
- package/fesm2022/taiga-ui-core-components-alert.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-button.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-calendar.mjs +16 -16
- package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-data-list.mjs +5 -5
- package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-dialog.mjs +8 -8
- package/fesm2022/taiga-ui-core-components-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-expand.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-expand.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-icon.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-label.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-loader.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-notification.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-root.mjs +8 -8
- package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs +12 -12
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-spin-button.mjs +3 -3
- package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-textfield.mjs +39 -19
- package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-appearance.mjs +21 -11
- package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-dropdown.mjs +8 -8
- package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-group.mjs +4 -4
- package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-hint.mjs +10 -10
- package/fesm2022/taiga-ui-core-directives-hint.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-icons.mjs +2 -2
- package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-surface.mjs +2 -2
- package/fesm2022/taiga-ui-core-directives-surface.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-title.mjs +2 -2
- package/fesm2022/taiga-ui-core-directives-title.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +1 -4
- package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-services.mjs +2 -2
- package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
- package/package.json +324 -324
- package/pipes/order-week-days/order-week-days.pipe.d.ts +1 -3
- package/styles/components/button.less +5 -5
- package/styles/components/group.less +12 -35
- package/styles/components/icon.less +10 -3
- package/styles/components/icons.less +2 -2
- package/styles/components/label.less +2 -2
- package/styles/components/notification.less +2 -2
- package/styles/components/textfield.less +23 -16
- package/styles/components/title.less +1 -1
- package/styles/mixins/mixins.less +5 -5
- package/styles/mixins/picker.less +18 -18
- package/styles/mixins/slider.less +2 -2
- package/styles/mixins/slider.scss +2 -2
- package/styles/theme/appearance/floating.less +2 -2
- package/styles/theme/appearance/glass.less +3 -3
- package/styles/theme/appearance/opposite.less +2 -2
- package/styles/theme/appearance/textfield.less +8 -4
- package/styles/theme/palette.less +62 -60
- package/styles/theme/wrapper.less +3 -3
- package/tokens/i18n.d.ts +3 -3
|
@@ -2,40 +2,41 @@
|
|
|
2
2
|
// Backgrounds
|
|
3
3
|
--tui-background-base: #222;
|
|
4
4
|
--tui-background-base-alt: #333;
|
|
5
|
-
--tui-background-neutral-1:
|
|
6
|
-
--tui-background-neutral-1-hover:
|
|
7
|
-
--tui-background-neutral-1-pressed:
|
|
8
|
-
--tui-background-neutral-2:
|
|
9
|
-
--tui-background-neutral-2-hover:
|
|
10
|
-
--tui-background-neutral-2-pressed:
|
|
5
|
+
--tui-background-neutral-1: rgb(255 255 255 / 8%);
|
|
6
|
+
--tui-background-neutral-1-hover: rgb(255 255 255 / 16%);
|
|
7
|
+
--tui-background-neutral-1-pressed: rgb(255 255 255 / 24%);
|
|
8
|
+
--tui-background-neutral-2: rgb(255 255 255 / 24%);
|
|
9
|
+
--tui-background-neutral-2-hover: rgb(255 255 255 / 32%);
|
|
10
|
+
--tui-background-neutral-2-pressed: rgb(255 255 255 / 40%);
|
|
11
11
|
--tui-background-accent-opposite: #fff;
|
|
12
12
|
--tui-background-accent-opposite-hover: #f6f6f6;
|
|
13
13
|
--tui-background-accent-opposite-pressed: #ededed;
|
|
14
|
-
--tui-background-elevation-1: #
|
|
15
|
-
--tui-background-elevation-2: #
|
|
14
|
+
--tui-background-elevation-1: #292929;
|
|
15
|
+
--tui-background-elevation-2: #333;
|
|
16
|
+
--tui-background-elevation-3: #333;
|
|
16
17
|
// Other
|
|
17
|
-
--tui-service-autofill-background: rgb(85
|
|
18
|
-
--tui-border-normal:
|
|
19
|
-
--tui-border-hover:
|
|
20
|
-
--tui-border-focus:
|
|
18
|
+
--tui-service-autofill-background: rgb(85 74 42);
|
|
19
|
+
--tui-border-normal: rgb(255 255 255 / 14%);
|
|
20
|
+
--tui-border-hover: rgb(255 255 255 / 60%);
|
|
21
|
+
--tui-border-focus: rgb(255 255 255 / 64%);
|
|
21
22
|
// Statuses
|
|
22
|
-
--tui-status-negative:
|
|
23
|
-
--tui-status-negative-pale:
|
|
24
|
-
--tui-status-negative-pale-hover:
|
|
25
|
-
--tui-status-positive: rgb(74
|
|
26
|
-
--tui-status-positive-pale:
|
|
27
|
-
--tui-status-positive-pale-hover:
|
|
28
|
-
--tui-status-warning: rgb(255
|
|
29
|
-
--tui-status-warning-pale:
|
|
30
|
-
--tui-status-warning-pale-hover:
|
|
31
|
-
--tui-status-info: rgb(112
|
|
32
|
-
--tui-status-info-pale:
|
|
33
|
-
--tui-status-info-pale-hover:
|
|
34
|
-
--tui-status-neutral: rgb(149
|
|
23
|
+
--tui-status-negative: rgb(255 140 103 / 100%);
|
|
24
|
+
--tui-status-negative-pale: rgb(244 87 37 / 32%);
|
|
25
|
+
--tui-status-negative-pale-hover: rgb(244 87 37 / 40%);
|
|
26
|
+
--tui-status-positive: rgb(74 201 155);
|
|
27
|
+
--tui-status-positive-pale: rgb(74 201 155 / 32%);
|
|
28
|
+
--tui-status-positive-pale-hover: rgb(74 201 155 / 40%);
|
|
29
|
+
--tui-status-warning: rgb(255 199 0);
|
|
30
|
+
--tui-status-warning-pale: rgb(255 199 0 / 32%);
|
|
31
|
+
--tui-status-warning-pale-hover: rgb(255 199 0 / 40%);
|
|
32
|
+
--tui-status-info: rgb(112 182 246);
|
|
33
|
+
--tui-status-info-pale: rgb(112 182 246 / 32%);
|
|
34
|
+
--tui-status-info-pale-hover: rgb(112 182 246 / 40%);
|
|
35
|
+
--tui-status-neutral: rgb(149 155 164);
|
|
35
36
|
// Text
|
|
36
|
-
--tui-text-primary:
|
|
37
|
-
--tui-text-secondary:
|
|
38
|
-
--tui-text-tertiary:
|
|
37
|
+
--tui-text-primary: rgb(255 255 255 / 100%);
|
|
38
|
+
--tui-text-secondary: rgb(255 255 255 / 72%);
|
|
39
|
+
--tui-text-tertiary: rgb(255 255 255 / 60%);
|
|
39
40
|
--tui-text-action: #6788ff;
|
|
40
41
|
--tui-text-action-hover: #526ed3;
|
|
41
42
|
--tui-text-positive: #44c596;
|
|
@@ -49,12 +50,12 @@
|
|
|
49
50
|
// Backgrounds
|
|
50
51
|
--tui-background-base: #fff;
|
|
51
52
|
--tui-background-base-alt: #f6f6f6;
|
|
52
|
-
--tui-background-neutral-1:
|
|
53
|
-
--tui-background-neutral-1-hover:
|
|
54
|
-
--tui-background-neutral-1-pressed:
|
|
55
|
-
--tui-background-neutral-2:
|
|
56
|
-
--tui-background-neutral-2-hover:
|
|
57
|
-
--tui-background-neutral-2-pressed:
|
|
53
|
+
--tui-background-neutral-1: rgb(0 0 0 / 4%);
|
|
54
|
+
--tui-background-neutral-1-hover: rgb(0 0 0 / 8%);
|
|
55
|
+
--tui-background-neutral-1-pressed: rgb(0 0 0 / 12%);
|
|
56
|
+
--tui-background-neutral-2: rgb(0 0 0 / 8%);
|
|
57
|
+
--tui-background-neutral-2-hover: rgb(0 0 0 / 10%);
|
|
58
|
+
--tui-background-neutral-2-pressed: rgb(0 0 0 / 14%);
|
|
58
59
|
--tui-background-accent-1: #526ed3;
|
|
59
60
|
--tui-background-accent-1-hover: #6c86e2;
|
|
60
61
|
--tui-background-accent-1-pressed: #314692;
|
|
@@ -66,31 +67,32 @@
|
|
|
66
67
|
--tui-background-accent-opposite-pressed: #808080;
|
|
67
68
|
--tui-background-elevation-1: #fff;
|
|
68
69
|
--tui-background-elevation-2: #fff;
|
|
70
|
+
--tui-background-elevation-3: #fff;
|
|
69
71
|
// Other
|
|
70
72
|
--tui-service-autofill-background: #fff5c0;
|
|
71
|
-
--tui-service-selection-background:
|
|
72
|
-
--tui-service-backdrop:
|
|
73
|
-
--tui-border-normal:
|
|
74
|
-
--tui-border-hover:
|
|
75
|
-
--tui-border-focus:
|
|
73
|
+
--tui-service-selection-background: rgb(112 182 246 / 12%);
|
|
74
|
+
--tui-service-backdrop: rgb(0 0 0 / 75%);
|
|
75
|
+
--tui-border-normal: rgb(0 0 0 / 10%);
|
|
76
|
+
--tui-border-hover: rgb(0 0 0 / 16%);
|
|
77
|
+
--tui-border-focus: rgb(51 51 51 / 64%);
|
|
76
78
|
// Statuses
|
|
77
|
-
--tui-status-negative:
|
|
78
|
-
--tui-status-negative-pale:
|
|
79
|
-
--tui-status-negative-pale-hover:
|
|
80
|
-
--tui-status-positive:
|
|
81
|
-
--tui-status-positive-pale:
|
|
82
|
-
--tui-status-positive-pale-hover:
|
|
83
|
-
--tui-status-warning:
|
|
84
|
-
--tui-status-warning-pale:
|
|
85
|
-
--tui-status-warning-pale-hover:
|
|
86
|
-
--tui-status-info:
|
|
87
|
-
--tui-status-info-pale:
|
|
88
|
-
--tui-status-info-pale-hover:
|
|
89
|
-
--tui-status-neutral: rgb(121
|
|
79
|
+
--tui-status-negative: rgb(244 87 37 / 100%);
|
|
80
|
+
--tui-status-negative-pale: rgb(244 87 37 / 12%);
|
|
81
|
+
--tui-status-negative-pale-hover: rgb(244 87 37 / 24%);
|
|
82
|
+
--tui-status-positive: rgb(74 201 155 / 100%);
|
|
83
|
+
--tui-status-positive-pale: rgb(74 201 155 / 12%);
|
|
84
|
+
--tui-status-positive-pale-hover: rgb(74 201 155 / 24%);
|
|
85
|
+
--tui-status-warning: rgb(255 199 0 / 100%);
|
|
86
|
+
--tui-status-warning-pale: rgb(255 199 0 / 12%);
|
|
87
|
+
--tui-status-warning-pale-hover: rgb(255 199 0 / 24%);
|
|
88
|
+
--tui-status-info: rgb(112 182 246 / 100%);
|
|
89
|
+
--tui-status-info-pale: rgb(112 182 246 / 12%);
|
|
90
|
+
--tui-status-info-pale-hover: rgb(112 182 246 / 24%);
|
|
91
|
+
--tui-status-neutral: rgb(121 129 140);
|
|
90
92
|
// Text
|
|
91
|
-
--tui-text-primary:
|
|
92
|
-
--tui-text-secondary:
|
|
93
|
-
--tui-text-tertiary:
|
|
93
|
+
--tui-text-primary: rgb(27 31 59 / 100%);
|
|
94
|
+
--tui-text-secondary: rgb(27 31 59 / 65%);
|
|
95
|
+
--tui-text-tertiary: rgb(27 31 59 / 40%);
|
|
94
96
|
--tui-text-primary-on-accent-1: #fff;
|
|
95
97
|
--tui-text-primary-on-accent-2: #fff;
|
|
96
98
|
--tui-text-action: #526ed3;
|
|
@@ -124,9 +126,9 @@
|
|
|
124
126
|
--tui-chart-categorical-21: #3682db;
|
|
125
127
|
--tui-chart-categorical-22: #34b41f;
|
|
126
128
|
// Shadows
|
|
127
|
-
--tui-shadow-small: 0 0.25rem 1.25rem
|
|
128
|
-
--tui-shadow-small-hover: 0 1rem 2.5rem
|
|
129
|
-
--tui-shadow-medium: 0 0.375rem 2rem
|
|
130
|
-
--tui-shadow-medium-hover: 0 1.25rem 4rem
|
|
131
|
-
--tui-shadow-popup: 0 1.25rem 3rem
|
|
129
|
+
--tui-shadow-small: 0 0.25rem 1.25rem rgb(0 0 0 / 10%);
|
|
130
|
+
--tui-shadow-small-hover: 0 1rem 2.5rem rgb(0 0 0 / 14%);
|
|
131
|
+
--tui-shadow-medium: 0 0.375rem 2rem rgb(0 0 0 / 12%);
|
|
132
|
+
--tui-shadow-medium-hover: 0 1.25rem 4rem rgb(0 0 0 / 18%);
|
|
133
|
+
--tui-shadow-popup: 0 1.25rem 3rem rgb(0 0 0 / 20%);
|
|
132
134
|
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
|
|
10
10
|
position: relative;
|
|
11
11
|
display: block;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
block-size: 100%;
|
|
13
|
+
inline-size: 100%;
|
|
14
14
|
appearance: none;
|
|
15
15
|
border-radius: inherit;
|
|
16
16
|
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
|
|
52
52
|
background: var(--tui-background-base);
|
|
53
53
|
color: var(--tui-text-primary);
|
|
54
|
-
box-shadow: 0 0.125rem 0.1875rem
|
|
54
|
+
box-shadow: 0 0.125rem 0.1875rem rgb(0 0 0 / 10%);
|
|
55
55
|
|
|
56
56
|
&::after {
|
|
57
57
|
.transition(color);
|
package/tokens/i18n.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Localized months names
|
|
3
3
|
*/
|
|
4
|
-
export declare const TUI_MONTHS: import("@angular/core").InjectionToken<import("rxjs").Observable<[January: string, February: string, March: string, April: string, May: string, June: string, July: string, August: string, September: string, October: string, November: string, December: string]>>;
|
|
4
|
+
export declare const TUI_MONTHS: import("@angular/core").InjectionToken<import("rxjs").Observable<readonly [January: string, February: string, March: string, April: string, May: string, June: string, July: string, August: string, September: string, October: string, November: string, December: string]>>;
|
|
5
5
|
/**
|
|
6
6
|
* i18n 'close' word
|
|
7
7
|
*/
|
|
@@ -17,8 +17,8 @@ export declare const TUI_DEFAULT_ERROR_MESSAGE: import("@angular/core").Injectio
|
|
|
17
17
|
/**
|
|
18
18
|
* spin i18n texts
|
|
19
19
|
*/
|
|
20
|
-
export declare const TUI_SPIN_TEXTS: import("@angular/core").InjectionToken<import("rxjs").Observable<[previous: string, next: string]>>;
|
|
20
|
+
export declare const TUI_SPIN_TEXTS: import("@angular/core").InjectionToken<import("rxjs").Observable<readonly [previous: string, next: string]>>;
|
|
21
21
|
/**
|
|
22
22
|
* calendars i18n texts
|
|
23
23
|
*/
|
|
24
|
-
export declare const TUI_SHORT_WEEK_DAYS: import("@angular/core").InjectionToken<import("rxjs").Observable<[Monday: string, Tuesday: string, Wednesday: string, Thursday: string, Friday: string, Saturday: string, Sunday: string]>>;
|
|
24
|
+
export declare const TUI_SHORT_WEEK_DAYS: import("@angular/core").InjectionToken<import("rxjs").Observable<readonly [Monday: string, Tuesday: string, Wednesday: string, Thursday: string, Friday: string, Saturday: string, Sunday: string]>>;
|