@taiga-ui/kit 5.0.0-canary.26e65fa → 5.0.0-canary.2da416d
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/combo-box/combo-box.directive.d.ts +1 -0
- package/components/copy/button-copy.component.d.ts +17 -0
- package/components/copy/copy.d.ts +2 -1
- package/components/copy/copy.directive.d.ts +5 -2
- package/components/copy/copy.options.d.ts +1 -3
- package/components/copy/index.d.ts +1 -0
- package/components/index.d.ts +0 -3
- package/components/input-chip/input-chip.component.d.ts +5 -0
- 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/input-number.directive.d.ts +1 -0
- package/components/input-number/number-mask.directive.d.ts +1 -1
- package/components/input-range/input-range.component.d.ts +1 -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/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/tabs/tabs-with-more.component.d.ts +3 -3
- 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 +6 -7
- package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +2 -4
- package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badge.mjs +3 -2
- package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badged-content.mjs +1 -3
- package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-block.mjs +3 -2
- package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +2 -4
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +24 -16
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-carousel.mjs +2 -6
- package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-chip.mjs +4 -3
- package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs +6 -2
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-comment.mjs +8 -4
- package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-compass.mjs +4 -2
- package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-copy.mjs +87 -24
- package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
- 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 +6 -10
- package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-filter.mjs +1 -3
- package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs +16 -10
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-color.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +4 -5
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +1 -3
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date.mjs +6 -5
- 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 +25 -16
- package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-input-phone.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 +6 -2
- 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 +3 -2
- package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +1 -3
- package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-like.mjs +3 -2
- package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +17 -8
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-message.mjs +3 -2
- package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs +5 -7
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +3 -5
- 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 +5 -3
- package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-preview.mjs +10 -14
- package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-progress.mjs +8 -10
- package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-push.mjs +3 -5
- 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-routable-dialog.mjs +1 -3
- package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-segmented.mjs +3 -9
- package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-select.mjs +6 -9
- package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-status.mjs +5 -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 +4 -3
- package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tabs.mjs +24 -21
- package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-textarea.mjs +5 -7
- package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tiles.mjs +1 -3
- package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-toast.mjs +4 -5
- package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tree.mjs +4 -12
- package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components.mjs +0 -3
- package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-button-group.mjs +3 -5
- 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-connected.mjs +1 -3
- package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +1 -3
- package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.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-password.mjs +1 -7
- package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +2 -2
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs +1 -3
- package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-emails.mjs +1 -3
- package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-flag.mjs +1 -3
- package/fesm2022/taiga-ui-kit-pipes-flag.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-initials.mjs +1 -3
- package/fesm2022/taiga-ui-kit-pipes-initials.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +1 -3
- package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +1 -3
- package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-tokens.mjs +18 -54
- package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
- package/package.json +41 -54
- 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 -36
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-components-radio.mjs +0 -93
- package/fesm2022/taiga-ui-kit-components-radio.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-components-slider.mjs +0 -343
- 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 -139
- 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,188 +0,0 @@
|
|
|
1
|
-
@import '@taiga-ui/core/styles/taiga-ui-local.less';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @name Avatar
|
|
5
|
-
* @selector [tuiAvatar]
|
|
6
|
-
*
|
|
7
|
-
* @description
|
|
8
|
-
* An avatar component which can be used with icons, text or images
|
|
9
|
-
* and is applicable to static elements as well as buttons and links
|
|
10
|
-
*
|
|
11
|
-
* @attributes
|
|
12
|
-
* data-size — size (default: 'l') ('xs' | 's' | 'm' | 'l' | 'xl' | 'xxl')
|
|
13
|
-
* data-shape — shape (default: 'round') ('round' | 'square')
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* <span tuiAvatar tuiIcons style="--t-icon-start: url('icon.svg')"></span>
|
|
17
|
-
* <button tuiAvatar>
|
|
18
|
-
* <img src="path/to/image" alt="Avatar" />
|
|
19
|
-
* </button>
|
|
20
|
-
*
|
|
21
|
-
* @see-also
|
|
22
|
-
* Icons, Icon, Appearance
|
|
23
|
-
*/
|
|
24
|
-
[tuiAvatar] {
|
|
25
|
-
--t-size: var(--tui-height-l);
|
|
26
|
-
--t-radius: 0.75rem;
|
|
27
|
-
--t-corner-offset: calc((var(--t-radius) * 1.4142 - var(--t-radius)) * 1 / 1.4142);
|
|
28
|
-
|
|
29
|
-
position: relative;
|
|
30
|
-
display: inline-flex;
|
|
31
|
-
flex-shrink: 0;
|
|
32
|
-
inline-size: var(--t-size);
|
|
33
|
-
block-size: var(--t-size);
|
|
34
|
-
align-items: center;
|
|
35
|
-
justify-content: center;
|
|
36
|
-
white-space: nowrap;
|
|
37
|
-
border-radius: var(--t-radius);
|
|
38
|
-
border: none;
|
|
39
|
-
background: var(--tui-background-neutral-1);
|
|
40
|
-
color: var(--tui-text-secondary);
|
|
41
|
-
vertical-align: middle;
|
|
42
|
-
box-sizing: border-box;
|
|
43
|
-
padding: 0.25rem;
|
|
44
|
-
font: var(--tui-font-body-l);
|
|
45
|
-
font-weight: bold;
|
|
46
|
-
opacity: 0.999; // Kick in hardware rendering layer to avoid artifacts on the edges
|
|
47
|
-
|
|
48
|
-
&::before {
|
|
49
|
-
inline-size: auto;
|
|
50
|
-
block-size: auto;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&:not(._initials)::before {
|
|
54
|
-
position: absolute;
|
|
55
|
-
inset: 0;
|
|
56
|
-
font-size: calc(var(--t-size) * 0.6);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&[data-size='xs'] {
|
|
60
|
-
--t-size: var(--tui-height-xs);
|
|
61
|
-
--t-radius: 0.5rem;
|
|
62
|
-
|
|
63
|
-
font: var(--tui-font-ui-xs);
|
|
64
|
-
font-size: 0.5625rem;
|
|
65
|
-
|
|
66
|
-
&._initials::before {
|
|
67
|
-
font: var(--tui-font-ui-xs);
|
|
68
|
-
font-weight: bold;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
&[data-size='s'] {
|
|
73
|
-
--t-size: var(--tui-height-s);
|
|
74
|
-
--t-radius: 0.5rem;
|
|
75
|
-
|
|
76
|
-
font: var(--tui-font-ui-xs);
|
|
77
|
-
font-weight: bold;
|
|
78
|
-
|
|
79
|
-
&._initials::before {
|
|
80
|
-
font: var(--tui-font-body-s);
|
|
81
|
-
font-weight: bold;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&[data-size='m'] {
|
|
86
|
-
--t-size: calc(var(--tui-height-m) - 0.25rem);
|
|
87
|
-
--t-radius: 0.75rem;
|
|
88
|
-
|
|
89
|
-
font: var(--tui-font-ui-m);
|
|
90
|
-
font-weight: bold;
|
|
91
|
-
|
|
92
|
-
&._initials::before {
|
|
93
|
-
font: var(--tui-font-body-m);
|
|
94
|
-
font-weight: bold;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&[data-size='xl'] {
|
|
99
|
-
--t-size: 5rem;
|
|
100
|
-
--t-radius: 0.75rem;
|
|
101
|
-
|
|
102
|
-
font: var(--tui-font-heading-h4);
|
|
103
|
-
|
|
104
|
-
&._initials::before {
|
|
105
|
-
font: var(--tui-font-heading-h3);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&[data-size='xxl'] {
|
|
110
|
-
--t-size: 6rem;
|
|
111
|
-
--t-radius: 1rem;
|
|
112
|
-
|
|
113
|
-
font: var(--tui-font-heading-h3);
|
|
114
|
-
|
|
115
|
-
&._initials::before {
|
|
116
|
-
font: var(--tui-font-heading-h3);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
&[data-size='xxxl'] {
|
|
121
|
-
--t-size: 8rem;
|
|
122
|
-
--t-radius: 1.25rem;
|
|
123
|
-
|
|
124
|
-
font: var(--tui-font-heading-h3);
|
|
125
|
-
|
|
126
|
-
&._initials::before {
|
|
127
|
-
font: var(--tui-font-heading-h2);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
&:not([data-shape='square']) {
|
|
132
|
-
--t-radius: calc(var(--t-size) / 2);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
&._initials {
|
|
136
|
-
&::before {
|
|
137
|
-
content: attr(data-icon-start);
|
|
138
|
-
mask: none;
|
|
139
|
-
background: none;
|
|
140
|
-
font: var(--tui-font-heading-h6);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
&._badge {
|
|
145
|
-
mask: radial-gradient(
|
|
146
|
-
circle at calc(100% - var(--t-corner-offset)) calc(100% - var(--t-corner-offset)),
|
|
147
|
-
black 0.23rem,
|
|
148
|
-
transparent 0.25rem,
|
|
149
|
-
transparent 0.375rem,
|
|
150
|
-
black 0.39rem
|
|
151
|
-
);
|
|
152
|
-
mask-clip: no-clip;
|
|
153
|
-
|
|
154
|
-
&::after {
|
|
155
|
-
content: '';
|
|
156
|
-
position: absolute;
|
|
157
|
-
top: calc(100% - var(--t-corner-offset));
|
|
158
|
-
left: calc(100% - var(--t-corner-offset));
|
|
159
|
-
display: block;
|
|
160
|
-
inline-size: 0.55rem;
|
|
161
|
-
block-size: 0.55rem;
|
|
162
|
-
border-radius: 100%;
|
|
163
|
-
background: var(--t-badge);
|
|
164
|
-
transform: translate3d(-50%, -50%, 0);
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
&._fallback {
|
|
169
|
-
img,
|
|
170
|
-
video {
|
|
171
|
-
display: none;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
img,
|
|
176
|
-
video,
|
|
177
|
-
picture {
|
|
178
|
-
.fullsize();
|
|
179
|
-
|
|
180
|
-
object-fit: cover;
|
|
181
|
-
box-sizing: border-box;
|
|
182
|
-
border-radius: inherit;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
&:has(img, video):not(._fallback) {
|
|
186
|
-
background: none;
|
|
187
|
-
}
|
|
188
|
-
}
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
@import '@taiga-ui/core/styles/taiga-ui-local.less';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @name Badge
|
|
5
|
-
* @selector [tuiBadge]
|
|
6
|
-
*
|
|
7
|
-
* @description
|
|
8
|
-
* A basic badge that can be used on it's own or on buttons/links
|
|
9
|
-
*
|
|
10
|
-
* @attributes
|
|
11
|
-
* data-size — size (default: 'l') ('s' | 'm' | 'l' | 'xl')
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* <div[tuiBadge]>99+</div>
|
|
15
|
-
*
|
|
16
|
-
* @see-also
|
|
17
|
-
* Icons, Appearance, Chip, Block
|
|
18
|
-
*/
|
|
19
|
-
[tuiBadge] {
|
|
20
|
-
--t-icon-size: 1rem;
|
|
21
|
-
--t-padding: 0 0.5rem;
|
|
22
|
-
--t-size: var(--tui-height-xs);
|
|
23
|
-
--t-margin: -0.25rem;
|
|
24
|
-
|
|
25
|
-
.button-base();
|
|
26
|
-
|
|
27
|
-
border-radius: 6rem;
|
|
28
|
-
justify-content: center;
|
|
29
|
-
background: #959595;
|
|
30
|
-
color: var(--tui-background-base);
|
|
31
|
-
padding: var(--t-padding);
|
|
32
|
-
block-size: var(--t-size);
|
|
33
|
-
min-inline-size: var(--t-size);
|
|
34
|
-
inline-size: fit-content;
|
|
35
|
-
font: var(--tui-font-body-s);
|
|
36
|
-
|
|
37
|
-
&[tuiStatus]::before {
|
|
38
|
-
inline-size: 0.375rem;
|
|
39
|
-
block-size: 0.375rem;
|
|
40
|
-
margin: 0;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
> tui-icon,
|
|
44
|
-
&[tuiIcons]::before,
|
|
45
|
-
&[tuiIcons]::after {
|
|
46
|
-
font-size: var(--t-icon-size) !important;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&[data-appearance='error'], /* TODO @deprecated remove in v5 */
|
|
50
|
-
&[data-appearance='negative'] {
|
|
51
|
-
--t-status: var(--tui-status-negative);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&[data-appearance='success'], /* TODO @deprecated remove in v5 */
|
|
55
|
-
&[data-appearance='positive'] {
|
|
56
|
-
--t-status: var(--tui-status-positive);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&[data-appearance='warning'] {
|
|
60
|
-
--t-status: var(--tui-status-warning);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&[data-appearance='info'] {
|
|
64
|
-
--t-status: var(--tui-status-info);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&[data-appearance='neutral'] {
|
|
68
|
-
--t-status: var(--tui-status-neutral);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&[data-size='s'] {
|
|
72
|
-
--t-padding: 0 0.3125rem;
|
|
73
|
-
--t-size: 1rem;
|
|
74
|
-
--t-icon-size: 0.625rem;
|
|
75
|
-
--t-margin: -0.125rem;
|
|
76
|
-
|
|
77
|
-
font: var(--tui-font-body-xs);
|
|
78
|
-
|
|
79
|
-
&[tuiStatus]::before {
|
|
80
|
-
inline-size: 0.25rem;
|
|
81
|
-
block-size: 0.25rem;
|
|
82
|
-
margin-inline-end: -0.125rem;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&[data-size='m'] {
|
|
87
|
-
--t-padding: 0 0.375rem;
|
|
88
|
-
--t-size: 1.25rem;
|
|
89
|
-
--t-icon-size: 0.75rem;
|
|
90
|
-
--t-margin: -0.125rem;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&[data-size='xl'] {
|
|
94
|
-
--t-margin: -0.25rem;
|
|
95
|
-
--t-padding: 0 0.75rem;
|
|
96
|
-
--t-size: var(--tui-height-s);
|
|
97
|
-
|
|
98
|
-
font: var(--tui-font-body-m);
|
|
99
|
-
|
|
100
|
-
&[tuiStatus]::before {
|
|
101
|
-
inline-size: 0.5rem;
|
|
102
|
-
block-size: 0.5rem;
|
|
103
|
-
margin-inline-end: -0.125rem;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
&[tuiAppearance][data-appearance='error'], /* TODO @deprecated remove in v5 */
|
|
108
|
-
&[tuiAppearance][data-appearance='success'], /* TODO @deprecated remove in v5 */
|
|
109
|
-
&[tuiAppearance][data-appearance='negative'],
|
|
110
|
-
&[tuiAppearance][data-appearance='positive'],
|
|
111
|
-
&[tuiAppearance][data-appearance='warning'],
|
|
112
|
-
&[tuiAppearance][data-appearance='info'],
|
|
113
|
-
&[tuiAppearance][data-appearance='neutral'] {
|
|
114
|
-
color: var(--tui-text-primary);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
img[tuiBadge] {
|
|
119
|
-
padding: 0;
|
|
120
|
-
inline-size: var(--t-size);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
tui-icon[tuiBadge]::before {
|
|
124
|
-
.fullsize();
|
|
125
|
-
|
|
126
|
-
--t-margin: 0;
|
|
127
|
-
}
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
@import '@taiga-ui/core/styles/taiga-ui-local.less';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @name Block
|
|
5
|
-
* @selector [tuiBlock]
|
|
6
|
-
*
|
|
7
|
-
* @description
|
|
8
|
-
* A general purpose container, typically used for labels and inputs
|
|
9
|
-
*
|
|
10
|
-
* @attributes
|
|
11
|
-
* data-size — size (default: 'l') ('s' | 'm' | 'l')
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* <label tuiBlock>
|
|
15
|
-
* Click me
|
|
16
|
-
* <input tuiBlock />
|
|
17
|
-
* </label>
|
|
18
|
-
*
|
|
19
|
-
* @see-also
|
|
20
|
-
* Icons, Appearance, Link, Button
|
|
21
|
-
*/
|
|
22
|
-
[tuiBlock] {
|
|
23
|
-
--t-height: var(--tui-height-l);
|
|
24
|
-
--t-radius: var(--tui-radius-l);
|
|
25
|
-
|
|
26
|
-
position: relative;
|
|
27
|
-
display: inline-flex;
|
|
28
|
-
gap: 0.75rem;
|
|
29
|
-
color: var(--tui-text-primary);
|
|
30
|
-
border-radius: var(--t-radius);
|
|
31
|
-
min-block-size: var(--t-height);
|
|
32
|
-
margin: 0;
|
|
33
|
-
box-sizing: border-box;
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
overflow: hidden;
|
|
36
|
-
font: var(--tui-font-body-m);
|
|
37
|
-
padding: var(--tui-padding-l);
|
|
38
|
-
isolation: isolate;
|
|
39
|
-
|
|
40
|
-
&[data-size='s'] {
|
|
41
|
-
gap: 0.5rem;
|
|
42
|
-
font: var(--tui-font-ui-s);
|
|
43
|
-
padding: 0.5rem;
|
|
44
|
-
|
|
45
|
-
--t-height: var(--tui-height-s);
|
|
46
|
-
--t-radius: var(--tui-radius-m);
|
|
47
|
-
|
|
48
|
-
[tuiSubtitle] {
|
|
49
|
-
font: var(--tui-font-ui-xs);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
[tuiTooltip] {
|
|
53
|
-
margin: 0 0.125rem;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&[data-size='m'] {
|
|
58
|
-
gap: 0.625rem;
|
|
59
|
-
font: var(--tui-font-ui-m);
|
|
60
|
-
padding: var(--tui-padding-m);
|
|
61
|
-
|
|
62
|
-
--t-height: var(--tui-height-m);
|
|
63
|
-
--t-radius: var(--tui-radius-m);
|
|
64
|
-
|
|
65
|
-
input:not([tuiBlock]) {
|
|
66
|
-
margin: 0.125rem;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
[tuiTooltip] {
|
|
70
|
-
margin: 0.125rem;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&._disabled {
|
|
75
|
-
pointer-events: none;
|
|
76
|
-
opacity: var(--tui-disabled-opacity);
|
|
77
|
-
|
|
78
|
-
:focus {
|
|
79
|
-
visibility: hidden;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
&[data-appearance=''] {
|
|
84
|
-
justify-content: center;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
input[tuiBlock] {
|
|
88
|
-
.fullsize();
|
|
89
|
-
|
|
90
|
-
z-index: -1;
|
|
91
|
-
min-block-size: 0;
|
|
92
|
-
pointer-events: none;
|
|
93
|
-
border-radius: inherit;
|
|
94
|
-
padding: 0;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
[tuiAvatar] {
|
|
98
|
-
margin: -0.25rem;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
[tuiTitle] {
|
|
102
|
-
flex: 1;
|
|
103
|
-
gap: 0;
|
|
104
|
-
font: inherit;
|
|
105
|
-
color: var(--tui-text-primary);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
[tuiSubtitle] {
|
|
109
|
-
color: var(--tui-text-secondary);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
[tuiTooltip] {
|
|
113
|
-
vertical-align: bottom;
|
|
114
|
-
margin: 0.25rem;
|
|
115
|
-
font-size: 1rem;
|
|
116
|
-
border: none;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
@import '@taiga-ui/core/styles/taiga-ui-local.less';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @name Checkbox
|
|
5
|
-
* @selector [tuiCheckbox]
|
|
6
|
-
*
|
|
7
|
-
* @description
|
|
8
|
-
* A stylized input type="checkbox"
|
|
9
|
-
*
|
|
10
|
-
* @attributes
|
|
11
|
-
* data-size — size (default: 'm') ('s' | 'm')
|
|
12
|
-
*
|
|
13
|
-
* @vars
|
|
14
|
-
* --t-icon-start — checkmark icon
|
|
15
|
-
* --t-icon-end — indeterminate state icon
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* <input type="checkbox" tuiCheckbox tuiIcons tuiAppearance data-appearance='secondary' />
|
|
19
|
-
*
|
|
20
|
-
* @see-also
|
|
21
|
-
* Switch, Radio, Appearance
|
|
22
|
-
*/
|
|
23
|
-
[tuiCheckbox] {
|
|
24
|
-
--t-size: 1.5rem;
|
|
25
|
-
--t-radius: var(--tui-radius-s);
|
|
26
|
-
|
|
27
|
-
inline-size: var(--t-size);
|
|
28
|
-
block-size: var(--t-size);
|
|
29
|
-
border-radius: var(--t-radius);
|
|
30
|
-
cursor: pointer;
|
|
31
|
-
margin: 0;
|
|
32
|
-
flex-shrink: 0;
|
|
33
|
-
|
|
34
|
-
&::before {
|
|
35
|
-
position: absolute;
|
|
36
|
-
block-size: 100%;
|
|
37
|
-
inline-size: 100%;
|
|
38
|
-
font-size: 1rem;
|
|
39
|
-
mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"></svg>');
|
|
40
|
-
transform: scale(0);
|
|
41
|
-
transition:
|
|
42
|
-
transform var(--tui-duration) ease-in-out,
|
|
43
|
-
mask 0s var(--tui-duration) ease-in-out;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&::after {
|
|
47
|
-
display: none;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&:disabled._readonly._readonly {
|
|
51
|
-
opacity: 1;
|
|
52
|
-
pointer-events: none;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&:checked,
|
|
56
|
-
&:indeterminate {
|
|
57
|
-
&::before {
|
|
58
|
-
mask-image: var(--t-icon-start);
|
|
59
|
-
transform: scale(1);
|
|
60
|
-
transition:
|
|
61
|
-
transform var(--tui-duration) ease-in-out,
|
|
62
|
-
mask 0s ease-in-out;
|
|
63
|
-
transition-duration: inherit;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&:indeterminate::before {
|
|
68
|
-
mask-image: var(--t-icon-end);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&[data-size='s'] {
|
|
72
|
-
--t-size: 1rem;
|
|
73
|
-
--t-radius: var(--tui-radius-xs);
|
|
74
|
-
|
|
75
|
-
&::before {
|
|
76
|
-
font-size: 0.875rem;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&:invalid:not([data-mode]),
|
|
81
|
-
&[data-mode~='invalid'] {
|
|
82
|
-
color: #fff;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
@import '@taiga-ui/core/styles/taiga-ui-local.less';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @name Chip
|
|
5
|
-
* @selector [tuiChip]
|
|
6
|
-
*
|
|
7
|
-
* @description
|
|
8
|
-
* A chip component that can be used on it's own or on buttons/links/inputs
|
|
9
|
-
*
|
|
10
|
-
* @attributes
|
|
11
|
-
* data-size — size (default: 's') ('xxs' | 'xs' | 's' | 'm')
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* <span tuiChip>Sale</span>
|
|
15
|
-
*
|
|
16
|
-
* @see-also
|
|
17
|
-
* Icons, Appearance, Badge, Block
|
|
18
|
-
*/
|
|
19
|
-
[tuiChip] {
|
|
20
|
-
--t-gap: 0.125rem;
|
|
21
|
-
--t-margin: -0.125rem;
|
|
22
|
-
--t-icon-size: 1rem;
|
|
23
|
-
--t-padding: 0 0.625rem;
|
|
24
|
-
--t-size: var(--tui-height-s);
|
|
25
|
-
|
|
26
|
-
.button-base();
|
|
27
|
-
|
|
28
|
-
font: var(--tui-font-body-s);
|
|
29
|
-
border-radius: var(--tui-radius-m);
|
|
30
|
-
padding: var(--t-padding);
|
|
31
|
-
block-size: var(--t-size);
|
|
32
|
-
inline-size: fit-content;
|
|
33
|
-
max-inline-size: 100%;
|
|
34
|
-
isolation: isolate;
|
|
35
|
-
|
|
36
|
-
.interactive({
|
|
37
|
-
cursor: pointer;
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
> tui-icon,
|
|
41
|
-
&[tuiIcons]::before,
|
|
42
|
-
&[tuiIcons]::after {
|
|
43
|
-
font-size: var(--t-icon-size) !important;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
& > [tuiIconButton] {
|
|
47
|
-
margin: -0.375rem;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
> [tuiBadge] {
|
|
51
|
-
margin-inline-end: 0;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&[data-size='xxs'] {
|
|
55
|
-
// StackBlitz changes "0rem" to "0" breaking calc
|
|
56
|
-
--t-gap: ~'0rem';
|
|
57
|
-
--t-padding: 0 0.25rem;
|
|
58
|
-
--t-size: 1rem;
|
|
59
|
-
--t-icon-size: 0.75rem;
|
|
60
|
-
|
|
61
|
-
font: var(--tui-font-body-xs);
|
|
62
|
-
border-radius: var(--tui-radius-xs);
|
|
63
|
-
|
|
64
|
-
& > [tuiIconButton] {
|
|
65
|
-
margin: -0.5rem;
|
|
66
|
-
transform: scale(0.75);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&[data-size='xs'] {
|
|
71
|
-
--t-padding: 0 0.375rem;
|
|
72
|
-
--t-size: var(--tui-height-xs);
|
|
73
|
-
|
|
74
|
-
border-radius: var(--tui-radius-xs);
|
|
75
|
-
|
|
76
|
-
& > [tuiIconButton] {
|
|
77
|
-
margin: -0.375rem;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&[data-size='m'] {
|
|
82
|
-
--t-margin: -0.375rem;
|
|
83
|
-
--t-icon-size: 1.5rem;
|
|
84
|
-
--t-padding: 0 1rem;
|
|
85
|
-
--t-size: var(--tui-height-m);
|
|
86
|
-
|
|
87
|
-
font: var(--tui-font-body-m);
|
|
88
|
-
|
|
89
|
-
& > [tuiIconButton] {
|
|
90
|
-
margin: -0.75rem;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
& > [tuiBadge] {
|
|
94
|
-
margin-inline-start: -0.375rem;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
& > img,
|
|
99
|
-
[tuiAvatar] {
|
|
100
|
-
inline-size: 1.5rem;
|
|
101
|
-
margin-inline-start: -0.375rem;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
& > [tuiFade] {
|
|
105
|
-
&:first-of-type {
|
|
106
|
-
flex: 1 0 30%;
|
|
107
|
-
max-inline-size: fit-content;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
&:last-of-type {
|
|
111
|
-
flex: 0 1 auto;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
& > input[tuiChip] {
|
|
116
|
-
.fullsize();
|
|
117
|
-
|
|
118
|
-
margin: 0;
|
|
119
|
-
|
|
120
|
-
&[type='checkbox'],
|
|
121
|
-
&[type='radio'] {
|
|
122
|
-
z-index: -1;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
&[tuiAppearance][data-appearance='negative'],
|
|
127
|
-
&[tuiAppearance][data-appearance='positive'],
|
|
128
|
-
&[tuiAppearance][data-appearance='warning'],
|
|
129
|
-
&[tuiAppearance][data-appearance='info'],
|
|
130
|
-
&[tuiAppearance][data-appearance='neutral'] {
|
|
131
|
-
color: var(--tui-text-primary);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
input[tuiChip] {
|
|
136
|
-
.interactive({
|
|
137
|
-
cursor: text;
|
|
138
|
-
});
|
|
139
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
@import '@taiga-ui/core/styles/taiga-ui-local.less';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @name Comment
|
|
5
|
-
* @selector [tuiComment]
|
|
6
|
-
*
|
|
7
|
-
* @description
|
|
8
|
-
* A comment bubble with an arrow
|
|
9
|
-
*
|
|
10
|
-
* @attributes
|
|
11
|
-
* data-direction — arrow direction (default: 'top') ('top' | 'bottom' | 'start' | 'end')
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* <label data-direction="top" tuiComment>Amazing product!</label>
|
|
15
|
-
*/
|
|
16
|
-
[tuiComment] {
|
|
17
|
-
position: relative;
|
|
18
|
-
display: inline-flex;
|
|
19
|
-
font: var(--tui-font-body-m);
|
|
20
|
-
color: #fff;
|
|
21
|
-
padding: 0.5rem 0.75rem;
|
|
22
|
-
min-inline-size: 2.5rem;
|
|
23
|
-
border-radius: 1rem;
|
|
24
|
-
line-height: 1.125rem;
|
|
25
|
-
background: var(--tui-background-accent-2);
|
|
26
|
-
align-items: center;
|
|
27
|
-
justify-content: center;
|
|
28
|
-
|
|
29
|
-
&::before {
|
|
30
|
-
content: '';
|
|
31
|
-
position: absolute;
|
|
32
|
-
inset-block-end: 100%;
|
|
33
|
-
inset-inline-start: 50%;
|
|
34
|
-
inline-size: 1.5625rem;
|
|
35
|
-
block-size: 0.5625rem;
|
|
36
|
-
background: inherit;
|
|
37
|
-
transform: translate(calc(-50% * var(--tui-inline)));
|
|
38
|
-
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")
|
|
39
|
-
no-repeat;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&[data-direction='bottom'] {
|
|
43
|
-
&::before {
|
|
44
|
-
inset-block: 100% auto;
|
|
45
|
-
transform: translate(calc(-50% * var(--tui-inline))) rotate(180deg);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&[data-direction='start'] {
|
|
50
|
-
&::before {
|
|
51
|
-
inset-block: 50% 100%;
|
|
52
|
-
inset-inline: auto 100%;
|
|
53
|
-
transform: translate(calc(0.785rem * var(--tui-inline)), -50%) rotate(calc(-90deg * var(--tui-inline)));
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&[data-direction='end'] {
|
|
58
|
-
&::before {
|
|
59
|
-
inset-block: 50% 100%;
|
|
60
|
-
inset-inline: 100% auto;
|
|
61
|
-
transform: translate(calc(-0.785rem * var(--tui-inline)), -50%) rotate(calc(90deg * var(--tui-inline)));
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|