@taiga-ui/core 4.52.0-canary.c107f6a → 4.52.0-canary.c8448e0
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/README.md +1 -1
- package/classes/accessors.d.ts +2 -2
- package/components/calendar/calendar-sheet.component.d.ts +1 -1
- package/components/calendar/calendar-sheet.options.d.ts +1 -3
- package/{pipes/calendar-sheet → components/calendar}/calendar-sheet.pipe.d.ts +2 -2
- package/components/calendar/calendar-spin.component.d.ts +1 -0
- package/components/calendar/calendar-year.component.d.ts +1 -1
- package/components/calendar/calendar.options.d.ts +9 -0
- package/components/calendar/index.d.ts +3 -0
- package/{pipes/order-week-days → components/calendar}/order-week-days.pipe.d.ts +1 -1
- package/components/data-list/data-list.component.d.ts +7 -11
- package/components/data-list/data-list.d.ts +3 -4
- package/components/data-list/data-list.tokens.d.ts +1 -23
- package/components/data-list/index.d.ts +3 -4
- package/components/data-list/opt-group.directive.d.ts +2 -2
- package/components/data-list/option-content.directive.d.ts +14 -0
- package/components/data-list/option-with-value.directive.d.ts +9 -0
- package/components/data-list/option.directive.d.ts +19 -0
- package/components/icon/icon.component.d.ts +2 -2
- package/components/index.d.ts +2 -4
- package/components/input/index.d.ts +2 -0
- package/components/input/input.d.ts +5 -0
- package/components/input/input.directive.d.ts +29 -0
- package/components/label/label.directive.d.ts +1 -1
- package/components/link/index.d.ts +0 -1
- package/components/link/link.directive.d.ts +8 -6
- package/components/loader/loader.options.d.ts +1 -3
- package/components/notification/index.d.ts +3 -0
- package/components/notification/notification.component.d.ts +14 -0
- package/components/notification/notification.d.ts +3 -0
- package/components/notification/notification.directive.d.ts +5 -6
- package/components/notification/notification.options.d.ts +10 -7
- package/components/notification/notification.service.d.ts +17 -0
- package/components/root/root.component.d.ts +1 -1
- package/components/scrollbar/scroll-ref.directive.d.ts +2 -0
- package/components/scrollbar/scrollbar.component.d.ts +1 -5
- package/components/spin-button/spin-button.component.d.ts +1 -1
- package/components/textfield/index.d.ts +0 -1
- package/components/textfield/select-like.directive.d.ts +1 -0
- package/components/textfield/textfield-multi/textfield-item.component.d.ts +3 -2
- package/components/textfield/textfield-multi/textfield-multi.component.d.ts +8 -13
- package/components/textfield/textfield.component.d.ts +20 -33
- package/components/textfield/textfield.d.ts +2 -3
- package/directives/appearance/appearance.directive.d.ts +1 -1
- package/directives/appearance/appearance.options.d.ts +1 -2
- package/directives/button-x/button-x.directive.d.ts +6 -0
- package/directives/button-x/index.d.ts +1 -0
- package/directives/group/group.directive.d.ts +7 -7
- package/directives/group/group.options.d.ts +1 -3
- package/directives/index.d.ts +1 -5
- package/directives/items-handlers/items-handlers.directive.d.ts +5 -9
- package/directives/items-handlers/items-handlers.tokens.d.ts +4 -4
- package/fesm2022/taiga-ui-core-classes.mjs +9 -11
- package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-button.mjs +7 -7
- package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-calendar.mjs +138 -37
- 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 +109 -271
- package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-error.mjs +12 -11
- 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 +9 -9
- package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-input.mjs +100 -0
- package/fesm2022/taiga-ui-core-components-input.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-components-label.mjs +11 -13
- package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-link.mjs +13 -28
- package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-loader.mjs +7 -12
- package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-notification.mjs +99 -29
- package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-root.mjs +9 -13
- package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs +43 -49
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-spin-button.mjs +6 -6
- package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-textfield.mjs +128 -282
- package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
- package/fesm2022/{taiga-ui-core-directives-title.mjs → taiga-ui-core-components-title.mjs} +8 -8
- package/fesm2022/{taiga-ui-core-directives-title.mjs.map → taiga-ui-core-components-title.mjs.map} +1 -1
- package/fesm2022/taiga-ui-core-components.mjs +2 -4
- package/fesm2022/taiga-ui-core-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-appearance.mjs +16 -15
- package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-button-x.mjs +51 -0
- package/fesm2022/taiga-ui-core-directives-button-x.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-directives-date-format.mjs +3 -3
- package/fesm2022/taiga-ui-core-directives-group.mjs +23 -35
- package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-icons.mjs +12 -11
- package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +16 -37
- 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-directives.mjs +1 -5
- package/fesm2022/taiga-ui-core-directives.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes-format-number.mjs +21 -15
- package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes.mjs +0 -7
- package/fesm2022/taiga-ui-core-pipes.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-portals-alert.mjs +73 -0
- package/fesm2022/taiga-ui-core-portals-alert.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-portals-dialog.mjs +159 -0
- package/fesm2022/taiga-ui-core-portals-dialog.mjs.map +1 -0
- package/fesm2022/{taiga-ui-core-directives-dropdown.mjs → taiga-ui-core-portals-dropdown.mjs} +220 -329
- package/fesm2022/taiga-ui-core-portals-dropdown.mjs.map +1 -0
- package/fesm2022/{taiga-ui-core-directives-hint.mjs → taiga-ui-core-portals-hint.mjs} +102 -160
- package/fesm2022/taiga-ui-core-portals-hint.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-portals-modal.mjs +89 -0
- package/fesm2022/taiga-ui-core-portals-modal.mjs.map +1 -0
- package/fesm2022/{taiga-ui-core-directives-popup.mjs → taiga-ui-core-portals-popup.mjs} +11 -11
- package/fesm2022/taiga-ui-core-portals-popup.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-portals.mjs +11 -0
- package/fesm2022/taiga-ui-core-portals.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-services.mjs +15 -79
- package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-tokens.mjs +35 -54
- package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-utils-format.mjs +1 -22
- package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +19 -19
- package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
- package/fesm2022/taiga-ui-core.mjs +1 -1
- package/index.d.ts +1 -1
- package/package.json +40 -69
- package/pipes/format-number/format-number.pipe.d.ts +6 -4
- package/pipes/index.d.ts +0 -7
- package/{directives/notification/notification.directive.d.ts → portals/alert/alert.directive.d.ts} +3 -3
- package/{directives/notification/notification.service.d.ts → portals/alert/alert.service.d.ts} +3 -3
- package/portals/alert/index.d.ts +2 -0
- package/{components → portals}/dialog/dialog.component.d.ts +2 -3
- package/{components → portals}/dialog/dialog.options.d.ts +2 -3
- package/{components → portals}/dialog/dialog.providers.d.ts +1 -2
- package/{components → portals}/dialog/dialog.service.d.ts +1 -1
- package/{components → portals}/dialog/index.d.ts +0 -1
- package/portals/dropdown/dropdown-close.directive.d.ts +15 -0
- package/{directives → portals}/dropdown/dropdown-context.directive.d.ts +0 -1
- package/{directives → portals}/dropdown/dropdown-hover.directive.d.ts +5 -10
- package/{directives → portals}/dropdown/dropdown-hover.options.d.ts +1 -3
- package/{directives → portals}/dropdown/dropdown-manual.directive.d.ts +2 -2
- package/portals/dropdown/dropdown-open.directive.d.ts +29 -0
- package/{directives → portals}/dropdown/dropdown-options.directive.d.ts +1 -5
- package/{directives → portals}/dropdown/dropdown-position-sided.directive.d.ts +3 -3
- package/{directives → portals}/dropdown/dropdown-position.directive.d.ts +6 -6
- package/{directives → portals}/dropdown/dropdown-selection.directive.d.ts +4 -5
- package/{directives → portals}/dropdown/dropdown.bindings.d.ts +0 -1
- package/{directives → portals}/dropdown/dropdown.d.ts +1 -2
- package/{directives → portals}/dropdown/dropdown.directive.d.ts +5 -6
- package/{directives → portals}/dropdown/index.d.ts +1 -1
- package/portals/hint/hint-options.directive.d.ts +17 -0
- package/{directives → portals}/hint/hint-position.directive.d.ts +5 -5
- package/{directives → portals}/hint/hint.d.ts +1 -2
- package/{directives → portals}/hint/hint.directive.d.ts +2 -2
- package/portals/index.d.ts +6 -0
- package/{components → portals}/modal/modal.component.d.ts +3 -3
- package/{components → portals}/modal/modal.service.d.ts +3 -3
- package/services/index.d.ts +0 -3
- package/styles/components/appearance.less +5 -0
- package/styles/components/button.less +10 -20
- package/styles/components/icon.less +11 -0
- package/styles/components/icons.less +2 -1
- package/styles/components/label.less +3 -12
- package/styles/components/link.less +9 -24
- package/styles/components/notification.less +31 -65
- package/styles/components/textfield.less +130 -211
- package/styles/components/title.less +8 -8
- package/styles/mixins/appearance.less +11 -26
- package/styles/mixins/appearance.scss +9 -24
- package/styles/mixins/date-picker.less +1 -1
- package/styles/mixins/mixins.less +0 -5
- package/styles/mixins/mixins.scss +0 -5
- package/styles/mixins/picker.less +1 -1
- package/styles/mixins/picker.scss +1 -1
- package/styles/mixins/slider.less +4 -10
- package/styles/mixins/slider.scss +23 -22
- package/styles/taiga-ui-local.less +0 -1
- package/styles/taiga-ui-local.scss +0 -1
- package/styles/taiga-ui-theme.less +0 -1
- package/styles/theme/appearance/outline.less +9 -18
- package/styles/theme/appearance/primary.less +2 -4
- package/styles/theme/appearance/secondary.less +6 -14
- package/styles/theme/appearance/status.less +0 -4
- package/styles/theme/appearance/table.less +36 -35
- package/styles/theme/appearance/textfield.less +26 -27
- package/styles/theme/appearance.less +0 -1
- package/styles/theme/variables.less +16 -19
- package/styles/variables/media.less +13 -18
- package/styles/variables/media.scss +13 -13
- package/tokens/breakpoint.d.ts +4 -0
- package/tokens/common-icons.d.ts +3 -3
- package/tokens/icons.d.ts +0 -4
- package/tokens/index.d.ts +1 -4
- package/types/direction.d.ts +1 -1
- package/types/index.d.ts +0 -2
- package/types/point.d.ts +1 -1
- package/types/size.d.ts +0 -11
- package/utils/format/index.d.ts +0 -1
- package/utils/miscellaneous/font-scaling.d.ts +2 -1
- package/utils/miscellaneous/get-duration.d.ts +2 -0
- package/utils/miscellaneous/index.d.ts +1 -1
- package/animations/animations.d.ts +0 -109
- package/animations/index.d.ts +0 -1
- package/components/alert/alert.component.d.ts +0 -14
- package/components/alert/alert.directive.d.ts +0 -8
- package/components/alert/alert.interfaces.d.ts +0 -13
- package/components/alert/alert.service.d.ts +0 -11
- package/components/alert/alert.tokens.d.ts +0 -6
- package/components/alert/index.d.ts +0 -5
- package/components/data-list/data-list.directive.d.ts +0 -7
- package/components/data-list/option/option-content.d.ts +0 -16
- package/components/data-list/option/option-legacy.component.d.ts +0 -24
- package/components/data-list/option/option.directive.d.ts +0 -27
- package/components/dialog/active-zone-adapter.directive.d.ts +0 -11
- package/components/dialog/dialogs.component.d.ts +0 -8
- package/components/header/header.directive.d.ts +0 -17
- package/components/header/index.d.ts +0 -1
- package/components/link/link.options.d.ts +0 -12
- package/components/textfield/textfield.directive.d.ts +0 -35
- package/directives/dropdown/dropdown-open-legacy.directive.d.ts +0 -12
- package/directives/dropdown/dropdown-open.directive.d.ts +0 -33
- package/directives/hint/hint-options.directive.d.ts +0 -36
- package/directives/notification/index.d.ts +0 -2
- package/fesm2022/taiga-ui-core-animations.mjs +0 -370
- package/fesm2022/taiga-ui-core-animations.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-components-alert.mjs +0 -110
- package/fesm2022/taiga-ui-core-components-alert.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-components-dialog.mjs +0 -226
- package/fesm2022/taiga-ui-core-components-dialog.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-components-header.mjs +0 -42
- package/fesm2022/taiga-ui-core-components-header.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-components-modal.mjs +0 -89
- package/fesm2022/taiga-ui-core-components-modal.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-directives-hint.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-directives-notification.mjs +0 -73
- package/fesm2022/taiga-ui-core-directives-notification.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-directives-popup.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +0 -24
- package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +0 -93
- package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-flag.mjs +0 -31
- package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-format-date.mjs +0 -27
- package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-initials.mjs +0 -28
- package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-month.mjs +0 -29
- package/fesm2022/taiga-ui-core-pipes-month.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +0 -35
- package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +0 -1
- package/pipes/auto-color/auto-color.pipe.d.ts +0 -7
- package/pipes/auto-color/index.d.ts +0 -1
- package/pipes/calendar-sheet/index.d.ts +0 -1
- package/pipes/calendar-sheet/utils.d.ts +0 -20
- package/pipes/flag/flag.pipe.d.ts +0 -14
- package/pipes/flag/index.d.ts +0 -1
- package/pipes/format-date/format-date.pipe.d.ts +0 -9
- package/pipes/format-date/index.d.ts +0 -1
- package/pipes/initials/index.d.ts +0 -1
- package/pipes/initials/initials.pipe.d.ts +0 -7
- package/pipes/month/index.d.ts +0 -1
- package/pipes/month/month.pipe.d.ts +0 -10
- package/pipes/order-week-days/index.d.ts +0 -1
- package/services/breakpoint.service.d.ts +0 -16
- package/services/dark-theme.service.d.ts +0 -10
- package/services/format-date.service.d.ts +0 -8
- package/styles/mixins/wrapper.less +0 -64
- package/styles/mixins/wrapper.scss +0 -61
- package/styles/theme/appearance/opposite.less +0 -17
- package/styles/theme/wrapper.less +0 -211
- package/tokens/day-type-handler.d.ts +0 -7
- package/tokens/first-day-of-week.d.ts +0 -5
- package/tokens/scroll-ref.d.ts +0 -2
- package/tokens/spin-icons.d.ts +0 -6
- package/types/range-state.d.ts +0 -4
- package/types/value-content-context.d.ts +0 -4
- package/utils/format/string-hash-to-hsl.d.ts +0 -6
- package/utils/miscellaneous/to-animation-options.d.ts +0 -4
- /package/{directives → components}/title/index.d.ts +0 -0
- /package/{directives → components}/title/title.directive.d.ts +0 -0
- /package/{components → portals}/dialog/dialog.directive.d.ts +0 -0
- /package/{components → portals}/dialog/dialog.factory.d.ts +0 -0
- /package/{directives → portals}/dropdown/dropdown-content.directive.d.ts +0 -0
- /package/{directives → portals}/dropdown/dropdown-limit-width.d.ts +0 -0
- /package/{directives → portals}/dropdown/dropdown.component.d.ts +0 -0
- /package/{directives → portals}/dropdown/dropdown.driver.d.ts +0 -0
- /package/{directives → portals}/dropdown/dropdown.providers.d.ts +0 -0
- /package/{directives → portals}/dropdown/with-dropdown-open.directive.d.ts +0 -0
- /package/{directives → portals}/hint/hint-describe.directive.d.ts +0 -0
- /package/{directives → portals}/hint/hint-driver.directive.d.ts +0 -0
- /package/{directives → portals}/hint/hint-host.directive.d.ts +0 -0
- /package/{directives → portals}/hint/hint-hover.directive.d.ts +0 -0
- /package/{directives → portals}/hint/hint-manual.directive.d.ts +0 -0
- /package/{directives → portals}/hint/hint-overflow.directive.d.ts +0 -0
- /package/{directives → portals}/hint/hint-pointer.directive.d.ts +0 -0
- /package/{directives → portals}/hint/hint-unstyled.component.d.ts +0 -0
- /package/{directives → portals}/hint/hint.component.d.ts +0 -0
- /package/{directives → portals}/hint/hint.providers.d.ts +0 -0
- /package/{directives → portals}/hint/index.d.ts +0 -0
- /package/{components → portals}/modal/index.d.ts +0 -0
- /package/{directives → portals}/popup/index.d.ts +0 -0
- /package/{directives → portals}/popup/popup.directive.d.ts +0 -0
- /package/{directives → portals}/popup/popup.service.d.ts +0 -0
- /package/{directives → portals}/popup/popups.component.d.ts +0 -0
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
@import 'browsers.less';
|
|
2
2
|
|
|
3
3
|
.interactive(@ruleset) {
|
|
4
|
-
// TODO remove after dropping Safari 13 support
|
|
5
|
-
&:matches(a, button, select, textarea, input, label, .tui-interactive):not(:disabled) {
|
|
6
|
-
@ruleset();
|
|
7
|
-
}
|
|
8
|
-
|
|
9
4
|
&:is(a, button, select, textarea, input, label, .tui-interactive):not(:disabled) {
|
|
10
5
|
@ruleset();
|
|
11
6
|
}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
@import 'browsers.scss';
|
|
2
2
|
|
|
3
3
|
@mixin interactive {
|
|
4
|
-
// TODO remove after dropping Safari 13 support
|
|
5
|
-
&:matches(a, button, select, textarea, input, label, .tui-interactive):not(:disabled) {
|
|
6
|
-
@content;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
4
|
&:is(a, button, select, textarea, input, label, .tui-interactive):not(:disabled) {
|
|
10
5
|
@content;
|
|
11
6
|
}
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
--t-offset: calc(@thumb / 2);
|
|
16
16
|
|
|
17
17
|
display: flex;
|
|
18
|
-
font: var(--tui-font-
|
|
19
|
-
|
|
20
|
-
margin
|
|
18
|
+
font: var(--tui-font-body-s);
|
|
19
|
+
color: var(--tui-text-secondary);
|
|
20
|
+
margin: 0.25rem var(--t-offset) 0;
|
|
21
21
|
|
|
22
22
|
& > * {
|
|
23
23
|
position: relative;
|
|
@@ -25,21 +25,15 @@
|
|
|
25
25
|
text-align: center;
|
|
26
26
|
|
|
27
27
|
&:first-child {
|
|
28
|
-
left: calc(-1 * var(--t-offset));
|
|
29
28
|
inset-inline-start: calc(-1 * var(--t-offset));
|
|
30
29
|
flex: 1;
|
|
31
30
|
text-align: start;
|
|
32
31
|
}
|
|
33
32
|
|
|
34
33
|
&:last-child {
|
|
35
|
-
|
|
34
|
+
inset-inline-end: calc(-1 * var(--t-offset));
|
|
36
35
|
flex: 1;
|
|
37
36
|
text-align: end;
|
|
38
|
-
|
|
39
|
-
@supports (inset-inline-end: 0) {
|
|
40
|
-
right: unset;
|
|
41
|
-
inset-inline-end: calc(-1 * var(--t-offset));
|
|
42
|
-
}
|
|
43
37
|
}
|
|
44
38
|
}
|
|
45
39
|
|
|
@@ -17,9 +17,9 @@ $track-inset: (
|
|
|
17
17
|
--t-offset: calc($thumb / 2);
|
|
18
18
|
|
|
19
19
|
display: flex;
|
|
20
|
-
font: var(--tui-font-
|
|
21
|
-
|
|
22
|
-
margin
|
|
20
|
+
font: var(--tui-font-body-s);
|
|
21
|
+
color: var(--tui-text-secondary);
|
|
22
|
+
margin: 0.25rem var(--t-offset) 0;
|
|
23
23
|
|
|
24
24
|
& > * {
|
|
25
25
|
position: relative;
|
|
@@ -27,45 +27,46 @@ $track-inset: (
|
|
|
27
27
|
text-align: center;
|
|
28
28
|
|
|
29
29
|
&:first-child {
|
|
30
|
-
left: calc(-1 * var(--t-offset));
|
|
31
30
|
inset-inline-start: calc(-1 * var(--t-offset));
|
|
32
31
|
flex: 1;
|
|
33
32
|
text-align: start;
|
|
34
33
|
}
|
|
35
34
|
|
|
36
35
|
&:last-child {
|
|
37
|
-
|
|
36
|
+
inset-inline-end: calc(-1 * var(--t-offset));
|
|
38
37
|
flex: 1;
|
|
39
38
|
text-align: end;
|
|
40
|
-
|
|
41
|
-
@supports (inset-inline-end: 0) {
|
|
42
|
-
right: unset;
|
|
43
|
-
inset-inline-end: calc(-1 * var(--t-offset));
|
|
44
|
-
}
|
|
45
39
|
}
|
|
46
40
|
}
|
|
47
41
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
margin-inline-start: calc(var(--tui-radius-m) / 2 + var(--t-offset));
|
|
42
|
+
tui-range + & {
|
|
43
|
+
--t-offset: $thumb;
|
|
51
44
|
}
|
|
52
45
|
|
|
53
46
|
/* TODO: add :has([tuiInputSlider]) */
|
|
54
|
-
tui-textfield + & {
|
|
55
|
-
--t-offset: calc(
|
|
47
|
+
tui-textfield[data-size='l'] + & {
|
|
48
|
+
--t-offset: calc(map-get($track-inset, 'l') + $thumb / 2);
|
|
56
49
|
}
|
|
57
50
|
|
|
58
51
|
/* TODO: add :has([tuiInputSlider]) */
|
|
59
|
-
tui-textfield[data-size='
|
|
60
|
-
--t-offset: calc(
|
|
52
|
+
tui-textfield[data-size='m'] + & {
|
|
53
|
+
--t-offset: calc(map-get($track-inset, 'm') + $thumb / 2);
|
|
61
54
|
}
|
|
62
55
|
|
|
63
|
-
|
|
64
|
-
tui-
|
|
65
|
-
--t-offset: $thumb;
|
|
56
|
+
/* TODO: add :has([tuiInputSlider]) */
|
|
57
|
+
tui-textfield[data-size='s'] + & {
|
|
58
|
+
--t-offset: calc(map-get($track-inset, 's') + $thumb / 2);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
tui-input-range[data-size='l'] + & {
|
|
62
|
+
--t-offset: calc(map-get($track-inset, 'l') + $thumb);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
tui-input-range[data-size='m'] + & {
|
|
66
|
+
--t-offset: calc(map-get($track-inset, 'm') + $thumb);
|
|
66
67
|
}
|
|
67
68
|
|
|
68
|
-
tui-input-range[
|
|
69
|
-
--t-offset: calc(map-get($track-inset,
|
|
69
|
+
tui-input-range[data-size='s'] + & {
|
|
70
|
+
--t-offset: calc(map-get($track-inset, 's') + $thumb);
|
|
70
71
|
}
|
|
71
72
|
}
|
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[tuiAppearance][data-appearance='outline'],
|
|
4
4
|
[tuiAppearance][data-appearance='outline-destructive'],
|
|
5
|
-
[tuiAppearance][data-appearance='outline-grayscale']
|
|
6
|
-
/* TODO @deprecated remove in v5 */
|
|
7
|
-
[tuiAppearance][data-appearance='whiteblock'] {
|
|
5
|
+
[tuiAppearance][data-appearance='outline-grayscale'] {
|
|
8
6
|
--t-bs: var(--tui-border-normal);
|
|
9
7
|
|
|
10
8
|
color: var(--tui-text-action);
|
|
@@ -25,17 +23,14 @@
|
|
|
25
23
|
});
|
|
26
24
|
}
|
|
27
25
|
|
|
28
|
-
|
|
29
|
-
&[data-mode~='invalid'],
|
|
30
|
-
&.tui-invalid:not([data-mode]) {
|
|
26
|
+
.appearance-invalid({
|
|
31
27
|
box-shadow: inset 0 0 0 1px var(--tui-status-negative-pale-hover);
|
|
32
|
-
}
|
|
33
28
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
29
|
+
&:checked,
|
|
30
|
+
&[data-mode~='checked'] {
|
|
31
|
+
box-shadow: inset 0 0 0 2px var(--tui-status-negative);
|
|
32
|
+
}
|
|
33
|
+
});
|
|
39
34
|
|
|
40
35
|
.appearance-hover({
|
|
41
36
|
cursor: pointer;
|
|
@@ -48,9 +43,7 @@
|
|
|
48
43
|
});
|
|
49
44
|
}
|
|
50
45
|
|
|
51
|
-
[tuiAppearance][data-appearance='outline-grayscale']
|
|
52
|
-
/* TODO @deprecated remove in v5 */
|
|
53
|
-
[tuiAppearance][data-appearance='whiteblock'] {
|
|
46
|
+
[tuiAppearance][data-appearance='outline-grayscale'] {
|
|
54
47
|
color: var(--tui-text-primary);
|
|
55
48
|
}
|
|
56
49
|
|
|
@@ -60,9 +53,7 @@
|
|
|
60
53
|
|
|
61
54
|
[tuiAppearance][data-appearance='icon'],
|
|
62
55
|
[tuiAppearance][data-appearance='outline-grayscale'],
|
|
63
|
-
[tuiAppearance][data-appearance='floating']
|
|
64
|
-
/* TODO @deprecated remove in v5 */
|
|
65
|
-
[tuiAppearance][data-appearance='whiteblock'] {
|
|
56
|
+
[tuiAppearance][data-appearance='floating'] {
|
|
66
57
|
color: var(--tui-text-primary);
|
|
67
58
|
|
|
68
59
|
&::before,
|
|
@@ -6,11 +6,9 @@
|
|
|
6
6
|
background: var(--t-bg);
|
|
7
7
|
color: var(--tui-text-primary-on-accent-1);
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
&[data-mode~='invalid'],
|
|
11
|
-
&.tui-invalid:not([data-mode]) {
|
|
9
|
+
.appearance-invalid({
|
|
12
10
|
background: var(--tui-status-negative);
|
|
13
|
-
}
|
|
11
|
+
});
|
|
14
12
|
|
|
15
13
|
.appearance-hover({
|
|
16
14
|
--t-bg: var(--tui-background-accent-1-hover);
|
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[tuiAppearance][data-appearance='secondary'],
|
|
4
4
|
[tuiAppearance][data-appearance='secondary-destructive'],
|
|
5
|
-
[tuiAppearance][data-appearance='secondary-grayscale']
|
|
6
|
-
/* TODO @deprecated remove in v5 */
|
|
7
|
-
[tuiAppearance][data-appearance='destructive'] {
|
|
5
|
+
[tuiAppearance][data-appearance='secondary-grayscale'] {
|
|
8
6
|
background: var(--tui-background-neutral-1);
|
|
9
7
|
color: var(--tui-text-action);
|
|
10
8
|
|
|
@@ -30,9 +28,7 @@
|
|
|
30
28
|
background: var(--tui-background-accent-1-pressed);
|
|
31
29
|
});
|
|
32
30
|
|
|
33
|
-
|
|
34
|
-
&[data-mode~='invalid'],
|
|
35
|
-
&.tui-invalid:not([data-mode]) {
|
|
31
|
+
.appearance-invalid({
|
|
36
32
|
background: var(--tui-status-negative);
|
|
37
33
|
color: #fff;
|
|
38
34
|
|
|
@@ -45,12 +41,10 @@
|
|
|
45
41
|
background: var(--tui-status-negative);
|
|
46
42
|
color: #fff;
|
|
47
43
|
});
|
|
48
|
-
}
|
|
44
|
+
});
|
|
49
45
|
}
|
|
50
46
|
|
|
51
|
-
|
|
52
|
-
&[data-mode~='invalid'],
|
|
53
|
-
&.tui-invalid:not([data-mode]) {
|
|
47
|
+
.appearance-invalid({
|
|
54
48
|
color: var(--tui-text-negative);
|
|
55
49
|
background: var(--tui-status-negative-pale);
|
|
56
50
|
|
|
@@ -63,12 +57,10 @@
|
|
|
63
57
|
color: var(--tui-text-negative-hover);
|
|
64
58
|
background: var(--tui-status-negative-pale-hover);
|
|
65
59
|
});
|
|
66
|
-
}
|
|
60
|
+
});
|
|
67
61
|
}
|
|
68
62
|
|
|
69
|
-
[tuiAppearance][data-appearance='secondary-destructive']
|
|
70
|
-
/* TODO @deprecated remove in v5 */
|
|
71
|
-
[tuiAppearance][data-appearance='destructive'] {
|
|
63
|
+
[tuiAppearance][data-appearance='secondary-destructive'] {
|
|
72
64
|
color: var(--tui-text-negative);
|
|
73
65
|
}
|
|
74
66
|
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
@import '@taiga-ui/core/styles/taiga-ui-local.less';
|
|
2
2
|
|
|
3
|
-
[tuiAppearance][data-appearance='error'], /* TODO @deprecated remove in v5 */
|
|
4
|
-
[tuiAppearance][data-appearance='success'], /* TODO @deprecated remove in v5 */
|
|
5
3
|
[tuiAppearance][data-appearance='negative'],
|
|
6
4
|
[tuiAppearance][data-appearance='positive'],
|
|
7
5
|
[tuiAppearance][data-appearance='warning'],
|
|
@@ -16,7 +14,6 @@
|
|
|
16
14
|
}
|
|
17
15
|
}
|
|
18
16
|
|
|
19
|
-
[tuiAppearance][data-appearance='error'], /* TODO @deprecated remove in v5 */
|
|
20
17
|
[tuiAppearance][data-appearance='negative'] {
|
|
21
18
|
--t-bg: var(--tui-status-negative-pale);
|
|
22
19
|
|
|
@@ -39,7 +36,6 @@
|
|
|
39
36
|
}
|
|
40
37
|
}
|
|
41
38
|
|
|
42
|
-
[tuiAppearance][data-appearance='success'], /* TODO @deprecated remove in v5 */
|
|
43
39
|
[tuiAppearance][data-appearance='positive'] {
|
|
44
40
|
--t-bg: var(--tui-status-positive-pale);
|
|
45
41
|
|
|
@@ -1,47 +1,49 @@
|
|
|
1
1
|
@import '@taiga-ui/core/styles/taiga-ui-local.less';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
[tuiAppearance][data-appearance='table']:not([tuiWrapper]) {
|
|
7
|
-
content: '';
|
|
8
|
-
position: fixed;
|
|
9
|
-
/* TODO: Use inset: -1px after Safari 14+ support */
|
|
10
|
-
top: -1px;
|
|
11
|
-
bottom: -1px;
|
|
12
|
-
left: -1px;
|
|
13
|
-
right: -1px;
|
|
14
|
-
inline-size: auto;
|
|
15
|
-
block-size: auto;
|
|
16
|
-
border-radius: 0;
|
|
3
|
+
[tuiAppearance][data-appearance='table'] {
|
|
4
|
+
min-block-size: calc(100% + 1px);
|
|
5
|
+
border-radius: 0 !important;
|
|
17
6
|
background: transparent;
|
|
7
|
+
color: var(--tui-text-primary);
|
|
18
8
|
border: none;
|
|
19
9
|
outline: none;
|
|
20
|
-
|
|
10
|
+
margin: -1px -1px 0;
|
|
11
|
+
overflow: hidden;
|
|
21
12
|
|
|
22
|
-
&:not(
|
|
23
|
-
|
|
13
|
+
&:not(tui-textfield[multi], tui-input-card-group) [tuiInput]:not(textarea) {
|
|
14
|
+
block-size: var(--t-height);
|
|
15
|
+
border-block-end: 100rem solid transparent;
|
|
16
|
+
box-sizing: content-box;
|
|
24
17
|
}
|
|
25
18
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
19
|
+
&::before,
|
|
20
|
+
&::after {
|
|
21
|
+
color: var(--tui-text-tertiary);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&:not([data-mode~='readonly']) {
|
|
25
|
+
.appearance-hover({
|
|
26
|
+
&[data-focus='false'] {
|
|
27
|
+
background-color: var(--tui-background-neutral-1);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&::before,
|
|
31
|
+
&::after {
|
|
32
|
+
color: var(--tui-text-secondary);
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
}
|
|
31
36
|
|
|
32
37
|
.appearance-focus({
|
|
33
|
-
|
|
34
|
-
outline: 0.125rem solid var(--tui-border-focus);
|
|
38
|
+
border-image: conic-gradient(var(--tui-border-focus) 0 0) 1 / 0.125rem / 0 0 1px;
|
|
35
39
|
});
|
|
36
40
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
background-image: linear-gradient(to top right, transparent 0% 50%, var(--tui-status-negative) 50% 100%);
|
|
44
|
-
background-size: 0.5rem 0.5rem;
|
|
41
|
+
.appearance-invalid({
|
|
42
|
+
background:
|
|
43
|
+
linear-gradient(to top right, transparent 0% 50%, var(--tui-status-negative) 50% 100%)
|
|
44
|
+
top right / 0.5rem 0.5rem
|
|
45
|
+
no-repeat
|
|
46
|
+
border-box;
|
|
45
47
|
|
|
46
48
|
&[data-focus='false'] {
|
|
47
49
|
background-color: var(--tui-status-negative-pale);
|
|
@@ -60,8 +62,7 @@ TODO: remove :not([tuiWrapper]) after legacy controls deletion
|
|
|
60
62
|
|
|
61
63
|
.appearance-focus({
|
|
62
64
|
background-color: transparent;
|
|
63
|
-
|
|
64
|
-
outline: 0.0625rem solid var(--tui-status-negative);
|
|
65
|
+
border-image: conic-gradient(var(--tui-status-negative) 0 0) 1 / 1px / 0 0 1px;
|
|
65
66
|
});
|
|
66
|
-
}
|
|
67
|
+
});
|
|
67
68
|
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
1
|
@import '@taiga-ui/core/styles/taiga-ui-local.less';
|
|
2
2
|
|
|
3
3
|
[tuiAppearance][data-appearance='textfield'] {
|
|
4
|
-
.transition(~'box-shadow, background-color, outline-color, border-color');
|
|
4
|
+
.transition(~'box-shadow, background-color, outline-color, border-color, color');
|
|
5
5
|
|
|
6
6
|
--t-shadow: 0 0.125rem 0.1875rem rgba(0, 0, 0, 0.1);
|
|
7
7
|
|
|
8
8
|
background-color: var(--tui-background-base);
|
|
9
|
-
color: var(--tui-text-
|
|
9
|
+
color: var(--tui-text-tertiary);
|
|
10
10
|
box-shadow: var(--t-shadow);
|
|
11
11
|
outline: 1px solid var(--tui-border-normal);
|
|
12
12
|
outline-offset: -1px;
|
|
13
13
|
border-width: 0;
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
&:not([tuiWrapper])::after {
|
|
18
|
-
transition-property: color, transform;
|
|
19
|
-
color: var(--tui-text-tertiary);
|
|
15
|
+
&:is(input, textarea, select) {
|
|
16
|
+
color: var(--tui-text-primary) !important;
|
|
20
17
|
}
|
|
21
18
|
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
&::before,
|
|
20
|
+
&::after {
|
|
21
|
+
transition-property: transform;
|
|
22
|
+
}
|
|
24
23
|
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
&:not([data-mode~='readonly']) {
|
|
25
|
+
.appearance-hover({
|
|
26
|
+
--t-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.16);
|
|
27
27
|
color: var(--tui-text-secondary);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.appearance-active({
|
|
32
|
-
&:not([tuiWrapper]):before,
|
|
33
|
-
&:not([tuiWrapper]):after {
|
|
34
|
-
color: var(--tui-text-primary);
|
|
35
|
-
}
|
|
36
|
-
});
|
|
28
|
+
});
|
|
29
|
+
}
|
|
37
30
|
|
|
38
31
|
.appearance-focus({
|
|
39
32
|
box-shadow: none;
|
|
@@ -45,25 +38,31 @@
|
|
|
45
38
|
box-shadow: none;
|
|
46
39
|
});
|
|
47
40
|
|
|
48
|
-
|
|
49
|
-
&:invalid:not([data-mode]),
|
|
50
|
-
&.tui-invalid:not([data-mode]) {
|
|
41
|
+
.appearance-invalid({
|
|
51
42
|
outline-color: var(--tui-status-negative);
|
|
52
|
-
}
|
|
43
|
+
});
|
|
53
44
|
|
|
54
45
|
&[data-mode~='readonly'],
|
|
55
|
-
|
|
46
|
+
&[data-state='disabled'],
|
|
47
|
+
&:disabled,
|
|
48
|
+
&._disabled {
|
|
56
49
|
background: transparent !important;
|
|
57
50
|
box-shadow: none !important;
|
|
58
51
|
outline-color: var(--tui-border-normal) !important;
|
|
59
52
|
}
|
|
60
53
|
|
|
61
|
-
|
|
62
|
-
|
|
54
|
+
[tuiInput][chrome-autofilled], /* Chrome on IOS */
|
|
55
|
+
[tuiInput]:-webkit-autofill {
|
|
63
56
|
-webkit-text-fill-color: var(--tui-text-primary) !important;
|
|
64
57
|
caret-color: var(--tui-text-primary) !important;
|
|
65
58
|
box-shadow: 0 0 0 100rem var(--tui-service-autofill-background) inset !important;
|
|
66
59
|
transition: background-color 600000s 0s;
|
|
60
|
+
clip-path: inset(0.125rem round calc(var(--tui-radius-m) - 0.125rem));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&[data-size='l'] [tuiInput][chrome-autofilled], /* Chrome on IOS */
|
|
64
|
+
&[data-size='l'] [tuiInput]:-webkit-autofill {
|
|
65
|
+
clip-path: inset(0.125rem round calc(var(--tui-radius-l) - 0.125rem));
|
|
67
66
|
}
|
|
68
67
|
}
|
|
69
68
|
|
|
@@ -1,29 +1,26 @@
|
|
|
1
|
-
@font-fallback: -apple-system, 'BlinkMacSystemFont', system-ui, 'Roboto', 'Segoe UI', 'Helvetica Neue', sans-serif;
|
|
2
|
-
|
|
3
1
|
&:root,
|
|
4
2
|
&:host {
|
|
5
3
|
// Fonts
|
|
6
|
-
--tui-font-
|
|
7
|
-
--tui-font-
|
|
4
|
+
--tui-font-family-text: 'Manrope', system-ui, sans-serif;
|
|
5
|
+
--tui-font-family-display: 'Manrope', system-ui, sans-serif;
|
|
8
6
|
--tui-font-offset: ~'0rem';
|
|
9
7
|
// Heading
|
|
10
|
-
--tui-font-heading-
|
|
11
|
-
--tui-font-heading-
|
|
12
|
-
--tui-font-heading-
|
|
13
|
-
--tui-font-heading-
|
|
14
|
-
--tui-font-heading-
|
|
15
|
-
--tui-font-heading-
|
|
8
|
+
--tui-font-heading-h1: bold calc(var(--tui-font-offset) + 3.125rem) / calc(50 / 56) var(--tui-font-family-display);
|
|
9
|
+
--tui-font-heading-h2: bold calc(var(--tui-font-offset) + 2.75rem) / calc(48 / 44) var(--tui-font-family-display);
|
|
10
|
+
--tui-font-heading-h3: bold calc(var(--tui-font-offset) + 2.25rem) / calc(40 / 36) var(--tui-font-family-display);
|
|
11
|
+
--tui-font-heading-h4: bold calc(var(--tui-font-offset) + 1.75rem) / calc(32 / 28) var(--tui-font-family-display);
|
|
12
|
+
--tui-font-heading-h5: bold calc(var(--tui-font-offset) + 1.5rem) / calc(28 / 24) var(--tui-font-family-display);
|
|
13
|
+
--tui-font-heading-h6: bold calc(var(--tui-font-offset) + 1.25rem) / calc(24 / 20) var(--tui-font-family-display);
|
|
16
14
|
// Body
|
|
17
|
-
--tui-font-
|
|
18
|
-
--tui-font-
|
|
19
|
-
--tui-font-
|
|
20
|
-
--tui-font-
|
|
21
|
-
--tui-font-text-xs: normal calc(var(--tui-font-offset) + 0.6875rem) / 1rem var(--tui-font-text);
|
|
15
|
+
--tui-font-body-l: normal calc(var(--tui-font-offset) + 1.0625rem) / calc(28 / 17) var(--tui-font-family-text);
|
|
16
|
+
--tui-font-body-m: normal calc(var(--tui-font-offset) + 1rem) / calc(24 / 16) var(--tui-font-family-text);
|
|
17
|
+
--tui-font-body-s: normal calc(var(--tui-font-offset) + 0.8125rem) / calc(20 / 13) var(--tui-font-family-text);
|
|
18
|
+
--tui-font-body-xs: normal calc(var(--tui-font-offset) + 0.6875rem) / calc(16 / 11) var(--tui-font-family-text);
|
|
22
19
|
// Reduced
|
|
23
|
-
--tui-font-
|
|
24
|
-
--tui-font-
|
|
25
|
-
--tui-font-
|
|
26
|
-
--tui-font-
|
|
20
|
+
--tui-font-ui-l: normal calc(var(--tui-font-offset) + 1.0625rem) / calc(24 / 17) var(--tui-font-family-text);
|
|
21
|
+
--tui-font-ui-m: normal calc(var(--tui-font-offset) + 1rem) / calc(20 / 16) var(--tui-font-family-text);
|
|
22
|
+
--tui-font-ui-s: normal calc(var(--tui-font-offset) + 0.8125rem) / calc(16 / 13) var(--tui-font-family-text);
|
|
23
|
+
--tui-font-ui-xs: normal calc(var(--tui-font-offset) + 0.6875rem) / calc(13 / 11) var(--tui-font-family-text);
|
|
27
24
|
// Radii
|
|
28
25
|
--tui-radius-xs: 0.25rem;
|
|
29
26
|
--tui-radius-s: 0.5rem;
|
|
@@ -1,26 +1,21 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Every max-width of breakpoint is equal:
|
|
3
|
-
next min-width - 60% from 1px (1/16 * 0.6 = 0.0375)
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
1
|
@tui-media-retina: ~'(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)';
|
|
7
|
-
@tui-media-retina-mobile: ~'(-webkit-min-device-pixel-ratio: 2) and (max-width:
|
|
8
|
-
@tui-media-retina-tablet: ~'(-webkit-min-device-pixel-ratio: 2) and (max-width:
|
|
9
|
-
@tui-media-retina-desktop: ~'(-webkit-min-device-pixel-ratio: 2) and (max-width:
|
|
2
|
+
@tui-media-retina-mobile: ~'(-webkit-min-device-pixel-ratio: 2) and (max-width: 599.4px), (min-resolution: 192dpi) and (max-width: 599.4px)';
|
|
3
|
+
@tui-media-retina-tablet: ~'(-webkit-min-device-pixel-ratio: 2) and (max-width: 1023.4px), (min-resolution: 192dpi) and (max-width: 1023.4px)';
|
|
4
|
+
@tui-media-retina-desktop: ~'(-webkit-min-device-pixel-ratio: 2) and (max-width: 1359.4px), (min-resolution: 192dpi) and (max-width: 1359.4px)';
|
|
10
5
|
|
|
11
|
-
@tui-mobile: ~'screen and (max-width:
|
|
12
|
-
@tui-mobile-min: ~'screen and (min-width:
|
|
13
|
-
@tui-mobile-interval: ~'(min-width:
|
|
6
|
+
@tui-mobile: ~'screen and (max-width: 767.4px)';
|
|
7
|
+
@tui-mobile-min: ~'screen and (min-width: 360px)';
|
|
8
|
+
@tui-mobile-interval: ~'(min-width: 360px) and (max-width: 767.4px)';
|
|
14
9
|
|
|
15
|
-
@tui-tablet: ~'screen and (max-width:
|
|
16
|
-
@tui-tablet-min: ~'screen and (min-width:
|
|
17
|
-
@tui-tablet-interval: ~'(min-width:
|
|
10
|
+
@tui-tablet: ~'screen and (max-width: 1023.4px)';
|
|
11
|
+
@tui-tablet-min: ~'screen and (min-width: 768px)';
|
|
12
|
+
@tui-tablet-interval: ~'(min-width: 768px) and (max-width: 1023.4px)';
|
|
18
13
|
|
|
19
|
-
@tui-desktop: ~'screen and (max-width:
|
|
20
|
-
@tui-desktop-min: ~'screen and (min-width:
|
|
21
|
-
@tui-desktop-interval: ~'(min-width:
|
|
14
|
+
@tui-desktop: ~'screen and (max-width: 1279.4px)';
|
|
15
|
+
@tui-desktop-min: ~'screen and (min-width: 1024px)';
|
|
16
|
+
@tui-desktop-interval: ~'(min-width: 1024px) and (max-width: 1279.4px)';
|
|
22
17
|
|
|
23
|
-
@tui-desktop-lg-min: ~'screen and (min-width:
|
|
18
|
+
@tui-desktop-lg-min: ~'screen and (min-width: 1280px)';
|
|
24
19
|
|
|
25
20
|
@tui-touch: ~'(hover: none) and (pointer: coarse)';
|
|
26
21
|
@tui-stylus: ~'(hover: none) and (pointer: fine)';
|