@taiga-ui/kit 4.4.1 → 4.5.0-canary.538706d
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 +1 -1
- package/components/calendar-range/calendar-range.component.d.ts +2 -2
- package/components/checkbox/checkbox.options.d.ts +1 -1
- package/components/files/file/file.options.d.ts +1 -1
- package/components/files/files.utils.d.ts +1 -1
- package/components/index.d.ts +1 -0
- package/components/input-password/index.d.ts +2 -0
- package/components/input-password/input-password.component.d.ts +13 -0
- package/components/input-password/input-password.options.d.ts +12 -0
- package/components/input-phone-international/input-phone-international.component.d.ts +2 -1
- package/components/pagination/pagination.component.d.ts +1 -1
- package/components/preview/pagination/preview-pagination.component.d.ts +1 -1
- package/components/radio/radio.options.d.ts +1 -1
- package/components/radio-list/radio-list.component.d.ts +1 -0
- package/esm2022/components/accordion/accordion-item.component.mjs +3 -3
- package/esm2022/components/action-bar/action-bar.component.mjs +3 -3
- package/esm2022/components/avatar/avatar-labeled.component.mjs +3 -3
- package/esm2022/components/avatar/avatar-outline.directive.mjs +2 -2
- package/esm2022/components/avatar/avatar.component.mjs +3 -3
- package/esm2022/components/badge/badge.directive.mjs +2 -2
- package/esm2022/components/badge-notification/badge-notification.component.mjs +3 -3
- package/esm2022/components/badged-content/badged-content.component.mjs +3 -3
- package/esm2022/components/block/block.directive.mjs +2 -2
- package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +3 -3
- package/esm2022/components/calendar-month/calendar-month.component.mjs +3 -3
- package/esm2022/components/calendar-range/calendar-range.component.mjs +10 -6
- package/esm2022/components/carousel/carousel.component.mjs +3 -3
- package/esm2022/components/checkbox/checkbox.component.mjs +6 -4
- package/esm2022/components/checkbox/checkbox.options.mjs +1 -1
- package/esm2022/components/chip/chip.directive.mjs +2 -2
- package/esm2022/components/comment/comment.directive.mjs +2 -2
- package/esm2022/components/compass/compass.component.mjs +2 -2
- package/esm2022/components/elastic-container/elastic-container.component.mjs +3 -3
- package/esm2022/components/files/file/file.component.mjs +3 -3
- package/esm2022/components/files/file/file.options.mjs +1 -1
- package/esm2022/components/files/files/files.component.mjs +3 -3
- package/esm2022/components/files/files.utils.mjs +1 -1
- package/esm2022/components/files/input-files/input-files.component.mjs +3 -3
- package/esm2022/components/filter/filter.component.mjs +3 -3
- package/esm2022/components/index.mjs +2 -1
- package/esm2022/components/input-inline/input-inline.component.mjs +3 -3
- package/esm2022/components/input-password/index.mjs +3 -0
- package/esm2022/components/input-password/input-password.component.mjs +65 -0
- package/esm2022/components/input-password/input-password.options.mjs +12 -0
- package/esm2022/components/input-password/taiga-ui-kit-components-input-password.mjs +5 -0
- package/esm2022/components/input-phone-international/input-phone-international.component.mjs +6 -4
- package/esm2022/components/items-with-more/items-with-more.service.mjs +4 -4
- package/esm2022/components/line-clamp/line-clamp-box.component.mjs +3 -3
- package/esm2022/components/pagination/pagination.component.mjs +3 -3
- package/esm2022/components/pdf-viewer/pdf-viewer.component.mjs +3 -3
- package/esm2022/components/pin/pin.directive.mjs +2 -2
- package/esm2022/components/preview/pagination/preview-pagination.component.mjs +3 -3
- package/esm2022/components/preview/preview-dialog/preview-dialog.component.mjs +3 -3
- package/esm2022/components/preview/preview.component.mjs +3 -3
- package/esm2022/components/preview/zoom/preview-zoom.component.mjs +3 -3
- package/esm2022/components/progress/progress-bar/progress-bar.component.mjs +2 -2
- package/esm2022/components/progress/progress-bar/progress-color-segments.directive.mjs +3 -3
- package/esm2022/components/progress/progress-circle/progress-circle.component.mjs +3 -3
- package/esm2022/components/progress/progress-label/progress-label.component.mjs +2 -2
- package/esm2022/components/pulse/pulse.component.mjs +3 -3
- package/esm2022/components/push/push-alert.component.mjs +3 -3
- package/esm2022/components/push/push.component.mjs +3 -3
- package/esm2022/components/radio/radio.component.mjs +7 -4
- package/esm2022/components/radio/radio.options.mjs +1 -1
- package/esm2022/components/radio-list/radio-list.component.mjs +5 -2
- package/esm2022/components/range/range.component.mjs +3 -3
- package/esm2022/components/rating/rating.component.mjs +3 -3
- package/esm2022/components/segmented/segmented.component.mjs +5 -5
- package/esm2022/components/slider/helpers/slider-thumb-label.component.mjs +3 -3
- package/esm2022/components/slider/slider.component.mjs +2 -2
- package/esm2022/components/status/status.directive.mjs +2 -2
- package/esm2022/components/stepper/step.component.mjs +3 -3
- package/esm2022/components/switch/switch.component.mjs +2 -2
- package/esm2022/components/tabs/tabs-horizontal.directive.mjs +3 -3
- package/esm2022/components/tabs/tabs-with-more.component.mjs +3 -3
- package/esm2022/components/tabs/tabs.directive.mjs +2 -2
- package/esm2022/components/tiles/tiles.component.mjs +2 -2
- package/esm2022/directives/button-group/button-group.directive.mjs +2 -2
- package/esm2022/directives/connected/connected.directive.mjs +2 -2
- package/esm2022/directives/fade/fade.directive.mjs +3 -3
- package/esm2022/directives/fluid-typography/fluid-typography.directive.mjs +3 -3
- package/esm2022/directives/icon-badge/icon-badge.directive.mjs +2 -2
- package/esm2022/directives/sensitive/sensitive.directive.mjs +5 -5
- 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 +6 -6
- 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-badged-content.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-badged-content.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 +2 -2
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +10 -6
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-carousel.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs +5 -3
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-chip.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-comment.mjs +2 -2
- 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-elastic-container.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-files.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-filter.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-password.mjs +81 -0
- package/fesm2022/taiga-ui-kit-components-input-password.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +5 -4
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-line-clamp.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-pdf-viewer.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pin.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-preview-preview-dialog.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-preview-preview-dialog.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 +8 -8
- package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pulse.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-push.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs +4 -2
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio.mjs +6 -4
- package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-range.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-rating.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-segmented.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-slider.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-status.mjs +2 -2
- 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 +2 -2
- package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tabs.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tiles.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components.mjs +1 -0
- 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-connected.mjs +2 -2
- package/fesm2022/taiga-ui-kit-directives-connected.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 +2 -2
- package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs +2 -2
- package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +4 -4
- package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
- package/package.json +505 -499
- package/styles/components/badge.less +12 -12
- package/styles/components/block.less +2 -2
- package/styles/components/checkbox.less +2 -2
- package/styles/components/chip.less +3 -3
- package/styles/components/comment.less +2 -2
- package/styles/components/compass.less +4 -4
- package/styles/components/pin.less +9 -9
- package/styles/components/progress-bar.less +2 -2
- package/styles/components/radio.less +2 -2
- package/styles/components/status.less +2 -2
- package/styles/components/switch.less +8 -8
- package/tokens/i18n.d.ts +8 -8
|
@@ -29,14 +29,14 @@ tui-badge,
|
|
|
29
29
|
background: #959595;
|
|
30
30
|
color: var(--tui-background-base);
|
|
31
31
|
padding: var(--t-padding);
|
|
32
|
-
|
|
33
|
-
min-
|
|
34
|
-
|
|
32
|
+
block-size: var(--t-size);
|
|
33
|
+
min-inline-size: var(--t-size);
|
|
34
|
+
inline-size: fit-content;
|
|
35
35
|
font: var(--tui-font-text-s);
|
|
36
36
|
|
|
37
37
|
&[tuiStatus]::before {
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
inline-size: 0.375rem;
|
|
39
|
+
block-size: 0.375rem;
|
|
40
40
|
margin-inline-end: -0.25rem;
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -83,8 +83,8 @@ tui-badge,
|
|
|
83
83
|
--t-margin: -0.125rem;
|
|
84
84
|
|
|
85
85
|
&[tuiStatus]::before {
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
inline-size: 0.25rem;
|
|
87
|
+
block-size: 0.25rem;
|
|
88
88
|
margin-inline-end: -0.125rem;
|
|
89
89
|
}
|
|
90
90
|
}
|
|
@@ -104,8 +104,8 @@ tui-badge,
|
|
|
104
104
|
font: var(--tui-font-text-m);
|
|
105
105
|
|
|
106
106
|
&[tuiStatus]::before {
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
inline-size: 0.5rem;
|
|
108
|
+
block-size: 0.5rem;
|
|
109
109
|
margin-inline-end: -0.125rem;
|
|
110
110
|
}
|
|
111
111
|
}
|
|
@@ -121,15 +121,15 @@ tui-badge,
|
|
|
121
121
|
|
|
122
122
|
img[tuiBadge] {
|
|
123
123
|
padding: 0;
|
|
124
|
-
|
|
124
|
+
inline-size: var(--t-size);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
tui-icon[tuiBadge] {
|
|
128
128
|
--t-margin: 0 !important;
|
|
129
129
|
|
|
130
130
|
mask: none;
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
block-size: var(--t-size);
|
|
132
|
+
inline-size: var(--t-size);
|
|
133
133
|
|
|
134
134
|
&[data-size='s']::after {
|
|
135
135
|
mask-size: 0.625rem;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
gap: 0.75rem;
|
|
29
29
|
color: var(--tui-text-primary);
|
|
30
30
|
border-radius: var(--t-radius);
|
|
31
|
-
min-
|
|
31
|
+
min-block-size: var(--t-height);
|
|
32
32
|
margin: 0;
|
|
33
33
|
box-sizing: border-box;
|
|
34
34
|
cursor: pointer;
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
input[tuiBlock] {
|
|
91
91
|
.fullsize();
|
|
92
92
|
|
|
93
|
-
min-
|
|
93
|
+
min-block-size: 0;
|
|
94
94
|
pointer-events: none;
|
|
95
95
|
border-radius: inherit;
|
|
96
96
|
}
|
|
@@ -29,8 +29,8 @@ tui-chip,
|
|
|
29
29
|
font: var(--tui-font-text-s);
|
|
30
30
|
border-radius: var(--tui-radius-m);
|
|
31
31
|
padding: var(--t-padding);
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
block-size: var(--t-size);
|
|
33
|
+
inline-size: fit-content;
|
|
34
34
|
|
|
35
35
|
.interactive({
|
|
36
36
|
cursor: pointer;
|
|
@@ -87,7 +87,7 @@ tui-chip,
|
|
|
87
87
|
|
|
88
88
|
& > img,
|
|
89
89
|
tui-avatar {
|
|
90
|
-
|
|
90
|
+
inline-size: 1.5rem;
|
|
91
91
|
margin-inline-start: -0.375rem;
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
position: absolute;
|
|
31
31
|
bottom: 100%;
|
|
32
32
|
left: 50%;
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
inline-size: 1.5625rem;
|
|
34
|
+
block-size: 0.5625rem;
|
|
35
35
|
background: inherit;
|
|
36
36
|
transform: translate(-50%);
|
|
37
37
|
mask: url("data:image/svg+xml,%3Csvg width='25' height='9' viewBox='0 0 25 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.23309 6.67813L7.56191 3.83178C9.4546 1.5185 10.4009 0.361853 11.5998 0.10488C12.0834 0.00123882 12.5834 0.00123882 13.0669 0.10488C14.2658 0.361853 15.2121 1.5185 17.1048 3.83178L19.4337 6.67813C20.636 8.14771 22.4346 9 24.3334 9H0.333374C2.23217 9 4.0307 8.14772 5.23309 6.67813Z' fill='black'/%3E%3C/svg%3E%0A")
|
|
@@ -21,8 +21,8 @@ tui-compass {
|
|
|
21
21
|
display: inline-block;
|
|
22
22
|
color: var(--tui-background-accent-1);
|
|
23
23
|
border-radius: 50%;
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
inline-size: 1rem;
|
|
25
|
+
block-size: 1rem;
|
|
26
26
|
border: 0.1875rem solid var(--tui-background-base);
|
|
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
|
|
@@ -34,8 +34,8 @@ tui-compass {
|
|
|
34
34
|
left: 0.125rem;
|
|
35
35
|
mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"><path d="M0 8.99993C4 8 8 8 12 8.99993C9.91509 5.73239 8.5 3 6 0C3.5 3 2 5.5 0 8.99993Z"/></svg>');
|
|
36
36
|
transform: rotate(var(--t-degrees)) translateY(-0.625rem) translateZ(-1rem);
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
inline-size: 0.75rem;
|
|
38
|
+
block-size: 1rem;
|
|
39
39
|
background: currentColor;
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -22,8 +22,8 @@ tui-pin,
|
|
|
22
22
|
|
|
23
23
|
position: relative;
|
|
24
24
|
display: flex;
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
inline-size: var(--t-size);
|
|
26
|
+
block-size: var(--t-size);
|
|
27
27
|
align-items: stretch;
|
|
28
28
|
flex-direction: column;
|
|
29
29
|
justify-content: center;
|
|
@@ -58,7 +58,7 @@ tui-pin,
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
> img {
|
|
61
|
-
max-
|
|
61
|
+
max-block-size: 100%;
|
|
62
62
|
box-sizing: border-box;
|
|
63
63
|
border-radius: 100%;
|
|
64
64
|
background: var(--tui-background-base);
|
|
@@ -68,8 +68,8 @@ tui-pin,
|
|
|
68
68
|
> tui-svg {
|
|
69
69
|
.transition(~'width, height');
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
inline-size: 1.25rem;
|
|
72
|
+
block-size: 1.25rem;
|
|
73
73
|
align-self: center;
|
|
74
74
|
}
|
|
75
75
|
|
|
@@ -87,8 +87,8 @@ tui-pin,
|
|
|
87
87
|
|
|
88
88
|
> tui-icon,
|
|
89
89
|
> tui-svg {
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
inline-size: 2.125rem;
|
|
91
|
+
block-size: 2.125rem;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
&::before {
|
|
@@ -117,8 +117,8 @@ tui-pin,
|
|
|
117
117
|
|
|
118
118
|
> tui-icon,
|
|
119
119
|
> tui-svg {
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
inline-size: 2.125rem;
|
|
121
|
+
block-size: 2.125rem;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
&::before {
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
--t-height: 0.75rem;
|
|
60
60
|
|
|
61
61
|
display: block;
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
inline-size: 100%;
|
|
63
|
+
block-size: var(--t-height);
|
|
64
64
|
color: var(--tui-background-accent-1);
|
|
65
65
|
background: @track-color;
|
|
66
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
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
[tuiSwitch] {
|
|
23
23
|
.transition(~'background, box-shadow');
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
inline-size: 3rem;
|
|
26
|
+
block-size: 1.5rem;
|
|
27
27
|
border-radius: 2rem;
|
|
28
28
|
overflow: hidden;
|
|
29
29
|
cursor: pointer;
|
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
color: #fff !important;
|
|
33
33
|
|
|
34
34
|
&[data-size='s'] {
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
block-size: 1rem;
|
|
36
|
+
inline-size: 2rem;
|
|
37
37
|
|
|
38
38
|
&::before {
|
|
39
|
-
|
|
39
|
+
inline-size: 1rem;
|
|
40
40
|
transform: translateX(-1rem);
|
|
41
41
|
mask-size: 0.75rem;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
&::after {
|
|
45
|
-
|
|
45
|
+
inline-size: 1rem;
|
|
46
46
|
box-shadow: -2.625rem 0 0 0.5rem currentColor;
|
|
47
47
|
outline-width: 0.167rem;
|
|
48
48
|
transform: scale(0.375);
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
|
|
74
74
|
content: '';
|
|
75
75
|
position: absolute;
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
block-size: 100%;
|
|
77
|
+
inline-size: 1.5rem;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
&::before {
|
package/tokens/i18n.d.ts
CHANGED
|
@@ -11,25 +11,25 @@ export declare const TUI_MORE_WORD: import("@angular/core").InjectionToken<Obser
|
|
|
11
11
|
export declare const TUI_HIDE_TEXT: import("@angular/core").InjectionToken<Observable<string>>;
|
|
12
12
|
export declare const TUI_SHOW_ALL_TEXT: import("@angular/core").InjectionToken<Observable<string>>;
|
|
13
13
|
export declare const TUI_OTHER_DATE_TEXT: import("@angular/core").InjectionToken<Observable<string>>;
|
|
14
|
-
export declare const TUI_CHOOSE_DAY_OR_RANGE_TEXTS: import("@angular/core").InjectionToken<Observable<[choose_day: string, choose_range: string, choose_days: string]>>;
|
|
15
|
-
export declare const TUI_FROM_TO_TEXTS: import("@angular/core").InjectionToken<Observable<[from: string, to: string]>>;
|
|
16
|
-
export declare const TUI_PLUS_MINUS_TEXTS: import("@angular/core").InjectionToken<Observable<[plus: string, minus: string]>>;
|
|
14
|
+
export declare const TUI_CHOOSE_DAY_OR_RANGE_TEXTS: import("@angular/core").InjectionToken<Observable<readonly [choose_day: string, choose_range: string, choose_days: string]>>;
|
|
15
|
+
export declare const TUI_FROM_TO_TEXTS: import("@angular/core").InjectionToken<Observable<readonly [from: string, to: string]>>;
|
|
16
|
+
export declare const TUI_PLUS_MINUS_TEXTS: import("@angular/core").InjectionToken<Observable<readonly [plus: string, minus: string]>>;
|
|
17
17
|
export declare const TUI_TIME_TEXTS: import("@angular/core").InjectionToken<Observable<{
|
|
18
18
|
'HH:MM': string;
|
|
19
19
|
'HH:MM:SS': string;
|
|
20
20
|
'HH:MM:SS.MSS': string;
|
|
21
21
|
}>>;
|
|
22
22
|
export declare const TUI_DATE_TEXTS: import("@angular/core").InjectionToken<Observable<Record<TuiDateMode, string>>>;
|
|
23
|
-
export declare const TUI_DIGITAL_INFORMATION_UNITS: import("@angular/core").InjectionToken<Observable<[short_byte: string, short_kilobyte: string, short_megabyte: string]>>;
|
|
24
|
-
export declare const TUI_COPY_TEXTS: import("@angular/core").InjectionToken<Observable<[copy: string, copied: string]>>;
|
|
25
|
-
export declare const TUI_PASSWORD_TEXTS: import("@angular/core").InjectionToken<Observable<[show_password: string, hide_password: string]>>;
|
|
26
|
-
export declare const TUI_CALENDAR_MONTHS: import("@angular/core").InjectionToken<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]>>;
|
|
23
|
+
export declare const TUI_DIGITAL_INFORMATION_UNITS: import("@angular/core").InjectionToken<Observable<readonly [short_byte: string, short_kilobyte: string, short_megabyte: string]>>;
|
|
24
|
+
export declare const TUI_COPY_TEXTS: import("@angular/core").InjectionToken<Observable<readonly [copy: string, copied: string]>>;
|
|
25
|
+
export declare const TUI_PASSWORD_TEXTS: import("@angular/core").InjectionToken<Observable<readonly [show_password: string, hide_password: string]>>;
|
|
26
|
+
export declare const TUI_CALENDAR_MONTHS: import("@angular/core").InjectionToken<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]>>;
|
|
27
27
|
export declare const TUI_FILE_TEXTS: import("@angular/core").InjectionToken<Observable<{
|
|
28
28
|
loadingError: string;
|
|
29
29
|
preview: string;
|
|
30
30
|
remove: string;
|
|
31
31
|
}>>;
|
|
32
|
-
export declare const TUI_PAGINATION_TEXTS: import("@angular/core").InjectionToken<Observable<[previous_page: string, next_page: string]>>;
|
|
32
|
+
export declare const TUI_PAGINATION_TEXTS: import("@angular/core").InjectionToken<Observable<readonly [previous_page: string, next_page: string]>>;
|
|
33
33
|
export declare const TUI_INPUT_FILE_TEXTS: import("@angular/core").InjectionToken<Observable<{
|
|
34
34
|
defaultLabelMultiple: string;
|
|
35
35
|
defaultLabelSingle: string;
|