@taiga-ui/kit 5.0.0-canary.ba4fa64 → 5.0.0-canary.bf29cbb
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-month/calendar-month.component.d.ts +4 -3
- package/components/calendar-range/calendar-range.component.d.ts +3 -3
- package/components/copy/copy.directive.d.ts +1 -1
- package/components/copy/copy.options.d.ts +1 -3
- package/components/counter/counter.component.d.ts +17 -0
- package/components/counter/counter.options.d.ts +14 -0
- package/components/counter/index.d.ts +2 -0
- package/components/index.d.ts +2 -3
- package/components/input-chip/input-chip.directive.d.ts +1 -1
- package/components/input-date/input-date.directive.d.ts +2 -2
- package/components/input-date/input-date.options.d.ts +2 -4
- package/components/input-date-multi/input-date-multi.directive.d.ts +1 -1
- package/components/input-month/input-month.directive.d.ts +1 -1
- package/components/input-month/input-month.options.d.ts +1 -7
- package/components/input-month-range/input-month-range.directive.d.ts +1 -1
- package/components/input-month-range/input-month-range.options.d.ts +1 -3
- package/components/input-number/index.d.ts +1 -0
- package/components/input-number/input-number.directive.d.ts +1 -0
- package/components/input-number/step/input-number-step.component.d.ts +3 -5
- package/components/input-number/step/input-number-step.service.d.ts +12 -0
- package/components/input-slider/input-slider.d.ts +1 -1
- package/components/input-time/input-time.directive.d.ts +1 -1
- package/components/input-time/input-time.options.d.ts +1 -3
- package/components/input-year/input-year.directive.d.ts +1 -1
- package/components/line-clamp/line-clamp-box.component.d.ts +2 -0
- package/components/line-clamp/line-clamp.component.d.ts +2 -0
- package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +1 -0
- package/components/range/range.component.d.ts +2 -2
- package/components/select/select-option/select-option.component.d.ts +1 -1
- package/components/switch/switch.component.d.ts +1 -1
- package/components/switch/switch.options.d.ts +1 -1
- package/components/timeline/index.d.ts +3 -0
- package/components/timeline/timeline-item.component.d.ts +14 -0
- package/components/timeline/timeline.component.d.ts +16 -0
- package/components/timeline/timeline.d.ts +3 -0
- package/directives/password/password.options.d.ts +2 -4
- package/fesm2022/taiga-ui-kit-components-accordion.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-avatar.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badge.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-block.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +24 -14
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +15 -17
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-chip.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-comment.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-compass.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-copy.mjs +7 -7
- package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-counter.mjs +65 -0
- package/fesm2022/taiga-ui-kit-components-counter.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-files.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs +10 -8
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-color.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +6 -5
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date.mjs +8 -6
- package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +3 -2
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month.mjs +4 -10
- package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-number.mjs +44 -23
- package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-pin.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs +1 -1
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-time.mjs +4 -3
- package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-year.mjs +8 -6
- package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-like.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +16 -5
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-message.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs +15 -8
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pagination.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pin.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-preview.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-progress.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-push.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-range.mjs +17 -14
- package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-segmented.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-select.mjs +11 -12
- package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-status.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-stepper.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-switch.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tabs.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-textarea.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-timeline.mjs +68 -0
- package/fesm2022/taiga-ui-kit-components-timeline.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-toast.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components.mjs +2 -3
- package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-button-group.mjs +2 -2
- package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs +2 -2
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-fade.mjs +2 -2
- package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +1 -1
- package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-password.mjs +1 -7
- package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
- package/package.json +44 -49
- package/tokens/i18n.d.ts +0 -1
- package/components/checkbox/checkbox.component.d.ts +0 -10
- package/components/checkbox/checkbox.options.d.ts +0 -10
- package/components/checkbox/index.d.ts +0 -2
- package/components/radio/index.d.ts +0 -4
- package/components/radio/radio.component.d.ts +0 -18
- package/components/radio/radio.d.ts +0 -3
- package/components/radio/radio.directive.d.ts +0 -8
- package/components/radio/radio.options.d.ts +0 -7
- package/components/slider/helpers/key-steps.d.ts +0 -27
- package/components/slider/helpers/slider-key-steps.directive.d.ts +0 -32
- package/components/slider/helpers/slider-readonly.directive.d.ts +0 -15
- package/components/slider/helpers/slider-thumb-label.component.d.ts +0 -13
- package/components/slider/index.d.ts +0 -6
- package/components/slider/slider.component.d.ts +0 -22
- package/components/slider/slider.d.ts +0 -5
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs +0 -37
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-components-radio.mjs +0 -91
- package/fesm2022/taiga-ui-kit-components-radio.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-components-slider.mjs +0 -337
- package/fesm2022/taiga-ui-kit-components-slider.mjs.map +0 -1
- package/styles/components/avatar.less +0 -188
- package/styles/components/badge.less +0 -127
- package/styles/components/block.less +0 -118
- package/styles/components/checkbox.less +0 -84
- package/styles/components/chip.less +0 -131
- package/styles/components/comment.less +0 -64
- package/styles/components/compass.less +0 -49
- package/styles/components/like.less +0 -67
- package/styles/components/message.less +0 -33
- package/styles/components/pin.less +0 -164
- package/styles/components/progress-bar.less +0 -117
- package/styles/components/radio.less +0 -59
- package/styles/components/status.less +0 -40
- package/styles/components/switch.less +0 -103
- package/styles/components/toast.less +0 -44
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @name Status
|
|
3
|
-
* @selector [tuiStatus]
|
|
4
|
-
*
|
|
5
|
-
* @description
|
|
6
|
-
* An indicator of a status with a color dot
|
|
7
|
-
*
|
|
8
|
-
* @vars
|
|
9
|
-
* --t-status — color of the dot
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* <span tuiStatus style="--t-status: green">Success</span>
|
|
13
|
-
*
|
|
14
|
-
* @see-also
|
|
15
|
-
* Badge, Chip
|
|
16
|
-
*/
|
|
17
|
-
[tuiStatus]:where(*&) {
|
|
18
|
-
display: inline-flex;
|
|
19
|
-
align-items: center;
|
|
20
|
-
gap: 0.5rem;
|
|
21
|
-
|
|
22
|
-
&::before {
|
|
23
|
-
content: '';
|
|
24
|
-
display: var(--t-status, none);
|
|
25
|
-
inline-size: 0.5rem;
|
|
26
|
-
block-size: 0.5rem;
|
|
27
|
-
border-radius: 100%;
|
|
28
|
-
background: var(--t-status);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&[data-size='s'],
|
|
32
|
-
&[data-size='m'],
|
|
33
|
-
&[data-size='l'] {
|
|
34
|
-
gap: 0.25rem;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&[data-size='xl'] {
|
|
38
|
-
gap: 0.375rem;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
@import '@taiga-ui/core/styles/taiga-ui-local.less';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @name Switch
|
|
5
|
-
* @selector [tuiSwitch]
|
|
6
|
-
*
|
|
7
|
-
* @description
|
|
8
|
-
* A stylized input type="checkbox" switch
|
|
9
|
-
*
|
|
10
|
-
* @attributes
|
|
11
|
-
* data-size — size (default: 'm') ('s' | 'm')
|
|
12
|
-
*
|
|
13
|
-
* @vars
|
|
14
|
-
* --t-icon-start — checkmark icon
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* <input type="checkbox" tuiSwitch tuiAppearance data-appearance="primary" />
|
|
18
|
-
*
|
|
19
|
-
* @see-also
|
|
20
|
-
* Checkbox, Radio
|
|
21
|
-
*/
|
|
22
|
-
[tuiSwitch]:where(*&) {
|
|
23
|
-
.transition(~'background, box-shadow');
|
|
24
|
-
|
|
25
|
-
display: inline-block;
|
|
26
|
-
inline-size: 3rem;
|
|
27
|
-
block-size: 1.5rem;
|
|
28
|
-
border-radius: 2rem;
|
|
29
|
-
overflow: hidden;
|
|
30
|
-
cursor: pointer;
|
|
31
|
-
margin: 0;
|
|
32
|
-
flex-shrink: 0;
|
|
33
|
-
color: #fff !important;
|
|
34
|
-
|
|
35
|
-
&[data-size='s'] {
|
|
36
|
-
block-size: 1rem;
|
|
37
|
-
inline-size: 2rem;
|
|
38
|
-
|
|
39
|
-
&::before {
|
|
40
|
-
inline-size: 1rem;
|
|
41
|
-
transform: translateX(-1rem);
|
|
42
|
-
font-size: 0.75rem;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&::after {
|
|
46
|
-
inline-size: 1rem;
|
|
47
|
-
box-shadow: -2.625rem 0 0 0.5rem var(--tui-background-base);
|
|
48
|
-
outline-width: 0.167rem;
|
|
49
|
-
transform: scale(0.375);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&:checked::after {
|
|
53
|
-
transform: scale(0.375) translateX(2.625rem);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&:checked {
|
|
58
|
-
&::before {
|
|
59
|
-
transform: none;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&::after {
|
|
63
|
-
transform: scale(0.33333) translateX(4.5rem);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&:disabled._readonly._readonly {
|
|
68
|
-
opacity: 1;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&::before,
|
|
72
|
-
&::after {
|
|
73
|
-
position: absolute;
|
|
74
|
-
block-size: 100%;
|
|
75
|
-
inline-size: 1.5rem;
|
|
76
|
-
transition-property: transform;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&::before {
|
|
80
|
-
left: 0.125rem;
|
|
81
|
-
font-size: 1rem;
|
|
82
|
-
transform: translateX(-1.5rem);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&::after {
|
|
86
|
-
right: 0;
|
|
87
|
-
display: block;
|
|
88
|
-
border-radius: 100%;
|
|
89
|
-
background: none;
|
|
90
|
-
transform: scale(0.33333);
|
|
91
|
-
box-shadow: -4.5rem 0 0 0.75rem var(--tui-background-base);
|
|
92
|
-
outline: 0.375rem solid var(--tui-background-neutral-2-pressed);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
&:not([data-icon-start])::after {
|
|
96
|
-
outline-offset: 20rem;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&:invalid:not([data-mode]),
|
|
100
|
-
&[data-mode~='invalid'] {
|
|
101
|
-
color: #fff;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
@import '@taiga-ui/core/styles/taiga-ui-local.less';
|
|
2
|
-
|
|
3
|
-
[tuiToast]:where(*&) {
|
|
4
|
-
.transition(transform);
|
|
5
|
-
|
|
6
|
-
display: flex;
|
|
7
|
-
grid-row: 1 / span 2;
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
gap: 0.75rem;
|
|
10
|
-
color: var(--tui-text-primary);
|
|
11
|
-
background: var(--tui-background-elevation-3);
|
|
12
|
-
min-block-size: 3.5rem;
|
|
13
|
-
border-radius: 1rem;
|
|
14
|
-
padding: 0.75rem 1rem;
|
|
15
|
-
box-shadow: var(--tui-shadow-medium);
|
|
16
|
-
align-items: center;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
inline-size: max-content;
|
|
19
|
-
font: var(--tui-font-ui-s);
|
|
20
|
-
max-inline-size: ~'min(calc(100vw - 2rem), 25rem)';
|
|
21
|
-
border: inherit;
|
|
22
|
-
text-decoration: none;
|
|
23
|
-
overflow: hidden;
|
|
24
|
-
|
|
25
|
-
.interactive({
|
|
26
|
-
cursor: pointer;
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
> *,
|
|
30
|
-
&::after,
|
|
31
|
-
&::before {
|
|
32
|
-
max-inline-size: 50%;
|
|
33
|
-
margin: 0 -0.25rem;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&::after {
|
|
37
|
-
font-size: 1rem;
|
|
38
|
-
color: var(--tui-text-tertiary);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
[tuiAvatar] {
|
|
42
|
-
margin-inline-end: 0;
|
|
43
|
-
}
|
|
44
|
-
}
|