@taiga-ui/core 5.0.0-canary.b5906eb → 5.0.0-canary.c343ecb
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/fesm2022/taiga-ui-core-classes.mjs +3 -3
- package/fesm2022/taiga-ui-core-components-button.mjs +6 -6
- package/fesm2022/taiga-ui-core-components-calendar.mjs +23 -33
- package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-cell.mjs +7 -7
- package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-data-list.mjs +17 -17
- package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-error.mjs +10 -12
- package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-expand.mjs +3 -3
- package/fesm2022/taiga-ui-core-components-icon.mjs +8 -12
- package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-input.mjs +6 -6
- package/fesm2022/taiga-ui-core-components-label.mjs +6 -6
- package/fesm2022/taiga-ui-core-components-link.mjs +6 -6
- package/fesm2022/taiga-ui-core-components-loader.mjs +3 -3
- package/fesm2022/taiga-ui-core-components-notification.mjs +17 -19
- package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-root.mjs +3 -3
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs +24 -30
- 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-textfield.mjs +22 -24
- package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-title.mjs +6 -6
- package/fesm2022/taiga-ui-core-directives-appearance.mjs +12 -16
- package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-button-x.mjs +3 -3
- package/fesm2022/taiga-ui-core-directives-date-format.mjs +3 -3
- package/fesm2022/taiga-ui-core-directives-group.mjs +6 -6
- package/fesm2022/taiga-ui-core-directives-icons.mjs +9 -9
- package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +12 -18
- package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-number-format.mjs +3 -3
- package/fesm2022/taiga-ui-core-pipes-format-number.mjs +3 -3
- package/fesm2022/taiga-ui-core-portals-alert.mjs +9 -9
- package/fesm2022/taiga-ui-core-portals-dialog.mjs +13 -15
- package/fesm2022/taiga-ui-core-portals-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-portals-dropdown.mjs +57 -69
- package/fesm2022/taiga-ui-core-portals-dropdown.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-portals-hint.mjs +40 -48
- package/fesm2022/taiga-ui-core-portals-hint.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-portals-modal.mjs +6 -6
- package/fesm2022/taiga-ui-core-portals-popup.mjs +11 -15
- package/fesm2022/taiga-ui-core-portals-popup.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-services.mjs +7 -9
- package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-tokens.mjs +16 -32
- package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
- package/package.json +50 -50
- package/styles/components/appearance.less +1 -0
- package/styles/components/notification.less +1 -1
- package/styles/mixins/slider.less +12 -15
- package/styles/mixins/slider.scss +12 -17
- package/styles/theme/appearance/action.less +0 -14
- package/styles/theme/appearance/floating.less +5 -0
- package/tokens/i18n.d.ts +4 -0
- package/tokens/index.d.ts +0 -1
- package/tokens/theme.d.ts +0 -2
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
$thumb-diameters: (
|
|
2
|
-
's': 0.5rem,
|
|
3
|
-
'm': 0.75rem,
|
|
4
|
-
'l': 0.75rem,
|
|
5
|
-
);
|
|
6
|
-
|
|
7
1
|
$track-inset: (
|
|
8
2
|
's': 0.625rem,
|
|
9
3
|
'm': 0.75rem,
|
|
10
4
|
'l': 1rem,
|
|
11
5
|
);
|
|
12
6
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
7
|
+
$thumb-diameter: var(--tui-thumb-size, 0.75rem);
|
|
8
|
+
$thumb-radius: calc($thumb-diameter / 2);
|
|
9
|
+
$track-thickness: max(calc($thumb-radius - 0.25rem), 0.125rem);
|
|
16
10
|
|
|
17
|
-
|
|
11
|
+
@mixin tui-slider-ticks-labels() {
|
|
12
|
+
--t-offset: $thumb-radius;
|
|
18
13
|
|
|
19
14
|
display: flex;
|
|
20
15
|
font: var(--tui-font-body-s);
|
|
@@ -40,33 +35,33 @@ $track-inset: (
|
|
|
40
35
|
}
|
|
41
36
|
|
|
42
37
|
tui-range + & {
|
|
43
|
-
--t-offset: $thumb;
|
|
38
|
+
--t-offset: $thumb-diameter;
|
|
44
39
|
}
|
|
45
40
|
|
|
46
41
|
/* TODO: add :has([tuiInputSlider]) */
|
|
47
42
|
tui-textfield[data-size='l'] + & {
|
|
48
|
-
--t-offset: calc(map-get($track-inset, 'l') + $thumb
|
|
43
|
+
--t-offset: calc(map-get($track-inset, 'l') + $thumb-radius);
|
|
49
44
|
}
|
|
50
45
|
|
|
51
46
|
/* TODO: add :has([tuiInputSlider]) */
|
|
52
47
|
tui-textfield[data-size='m'] + & {
|
|
53
|
-
--t-offset: calc(map-get($track-inset, 'm') + $thumb
|
|
48
|
+
--t-offset: calc(map-get($track-inset, 'm') + $thumb-radius);
|
|
54
49
|
}
|
|
55
50
|
|
|
56
51
|
/* TODO: add :has([tuiInputSlider]) */
|
|
57
52
|
tui-textfield[data-size='s'] + & {
|
|
58
|
-
--t-offset: calc(map-get($track-inset, 's') + $thumb
|
|
53
|
+
--t-offset: calc(map-get($track-inset, 's') + $thumb-radius);
|
|
59
54
|
}
|
|
60
55
|
|
|
61
56
|
tui-input-range[data-size='l'] + & {
|
|
62
|
-
--t-offset: calc(map-get($track-inset, 'l') + $thumb);
|
|
57
|
+
--t-offset: calc(map-get($track-inset, 'l') + $thumb-diameter);
|
|
63
58
|
}
|
|
64
59
|
|
|
65
60
|
tui-input-range[data-size='m'] + & {
|
|
66
|
-
--t-offset: calc(map-get($track-inset, 'm') + $thumb);
|
|
61
|
+
--t-offset: calc(map-get($track-inset, 'm') + $thumb-diameter);
|
|
67
62
|
}
|
|
68
63
|
|
|
69
64
|
tui-input-range[data-size='s'] + & {
|
|
70
|
-
--t-offset: calc(map-get($track-inset, 's') + $thumb);
|
|
65
|
+
--t-offset: calc(map-get($track-inset, 's') + $thumb-diameter);
|
|
71
66
|
}
|
|
72
67
|
}
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
/* TODO @deprecated remove in v5 */
|
|
2
|
-
[tuiAppearance][data-appearance='link'] {
|
|
3
|
-
color: var(--tui-text-action);
|
|
4
|
-
background: transparent;
|
|
5
|
-
|
|
6
|
-
.appearance-hover({
|
|
7
|
-
color: var(--tui-text-action-hover);
|
|
8
|
-
});
|
|
9
|
-
|
|
10
|
-
.appearance-active({
|
|
11
|
-
color: var(--tui-text-action-hover);
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
|
|
15
1
|
[tuiAppearance][data-appearance='action'] {
|
|
16
2
|
color: var(--tui-text-action);
|
|
17
3
|
background: transparent;
|
package/tokens/i18n.d.ts
CHANGED
|
@@ -7,6 +7,10 @@ export declare const TUI_MONTHS: InjectionToken<import("@angular/core").Signal<r
|
|
|
7
7
|
* i18n 'close' word
|
|
8
8
|
*/
|
|
9
9
|
export declare const TUI_CLOSE_WORD: InjectionToken<import("@angular/core").Signal<string>>;
|
|
10
|
+
/**
|
|
11
|
+
* i18n 'back' word
|
|
12
|
+
*/
|
|
13
|
+
export declare const TUI_BACK_WORD: InjectionToken<import("@angular/core").Signal<string>>;
|
|
10
14
|
/**
|
|
11
15
|
* i18n 'clear' word
|
|
12
16
|
*/
|
package/tokens/index.d.ts
CHANGED
package/tokens/theme.d.ts
DELETED