@taiga-ui/core 3.7.1 → 3.9.0
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/bundles/taiga-ui-core-abstract.umd.js +2 -1
- package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-alert.umd.js +1 -1
- package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-button.umd.js +1 -1
- package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-data-list.umd.js +2 -2
- package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.js +16 -3
- package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-notification.umd.js +1 -1
- package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +7 -3
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-root.umd.js +1 -1
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js +18 -19
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-scrollbar.umd.js +12 -9
- package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.js +1 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint.umd.js +1 -1
- package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
- package/bundles/taiga-ui-core-tokens.umd.js +5 -0
- package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-dom.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js +1 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js.map +1 -1
- package/components/dialog/dialog.service.d.ts +1 -1
- package/components/dialog/dialog.tokens.d.ts +7 -0
- package/components/dialog/index.d.ts +1 -0
- package/components/primitive-calendar/primitive-calendar.component.d.ts +3 -2
- package/components/primitive-textfield/primitive-textfield.component.d.ts +1 -1
- package/esm2015/abstract/abstract-textfield-host.js +3 -2
- package/esm2015/components/alert/alert.component.js +2 -2
- package/esm2015/components/button/button.component.js +1 -1
- package/esm2015/components/data-list/data-list.component.js +1 -1
- package/esm2015/components/data-list/option/option.component.js +1 -1
- package/esm2015/components/dialog/dialog.service.js +4 -11
- package/esm2015/components/dialog/dialog.tokens.js +19 -0
- package/esm2015/components/dialog/index.js +2 -1
- package/esm2015/components/notification/notification.component.js +1 -1
- package/esm2015/components/primitive-calendar/primitive-calendar.component.js +9 -5
- package/esm2015/components/primitive-textfield/primitive-textfield.component.js +2 -2
- package/esm2015/components/root/root.component.js +1 -1
- package/esm2015/components/scroll-controls/scrollbar.directive.js +3 -4
- package/esm2015/components/scrollbar/scrollbar.component.js +8 -5
- package/esm2015/directives/dropdown/dropdown-selection.directive.js +1 -1
- package/esm2015/directives/dropdown/dropdown.component.js +2 -2
- package/esm2015/directives/hint/hint.component.js +2 -2
- package/esm2015/tokens/day-type-handler.js +5 -0
- package/esm2015/tokens/index.js +2 -1
- package/esm2015/types/size.js +2 -1
- package/esm2015/utils/dom/get-safe-area-size.js +1 -1
- package/esm2015/utils/miscellaneous/size-bigger.js +2 -2
- package/fesm2015/taiga-ui-core-abstract.js +2 -1
- package/fesm2015/taiga-ui-core-abstract.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-alert.js +1 -1
- package/fesm2015/taiga-ui-core-components-alert.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-button.js +1 -1
- package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-data-list.js +2 -2
- package/fesm2015/taiga-ui-core-components-data-list.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-dialog.js +15 -5
- package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-notification.js +1 -1
- package/fesm2015/taiga-ui-core-components-notification.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js +8 -4
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-root.js +1 -1
- package/fesm2015/taiga-ui-core-components-scroll-controls.js +2 -3
- package/fesm2015/taiga-ui-core-components-scroll-controls.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-scrollbar.js +7 -4
- package/fesm2015/taiga-ui-core-components-scrollbar.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-dropdown.js +1 -1
- package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-hint.js +1 -1
- package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
- package/fesm2015/taiga-ui-core-tokens.js +5 -1
- package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-core-types.js +1 -0
- package/fesm2015/taiga-ui-core-types.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-dom.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js +1 -1
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js.map +1 -1
- package/package.json +4 -4
- package/styles/mixins/mixins.less +14 -1
- package/styles/mixins/mixins.scss +5 -18
- package/styles/taiga-ui-theme.less +1 -0
- package/styles/theme/calendar.less +7 -0
- package/styles/theme/variables.less +2 -2
- package/tokens/day-type-handler.d.ts +3 -0
- package/tokens/index.d.ts +1 -0
- package/types/size.d.ts +2 -0
- package/utils/miscellaneous/size-bigger.d.ts +2 -2
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
// Sizes
|
|
22
22
|
--tui-radius-xs: 0.25rem;
|
|
23
23
|
--tui-radius-s: 0.5rem;
|
|
24
|
-
--tui-radius-m: 0.
|
|
25
|
-
--tui-radius-l: 0.
|
|
24
|
+
--tui-radius-m: 0.75rem;
|
|
25
|
+
--tui-radius-l: 0.75rem;
|
|
26
26
|
--tui-height-xs: 1.5rem;
|
|
27
27
|
--tui-height-s: 2rem;
|
|
28
28
|
--tui-height-m: 2.75rem;
|
package/tokens/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './animations-duration';
|
|
|
3
3
|
export * from './assert-enabled';
|
|
4
4
|
export * from './data-list-accessor';
|
|
5
5
|
export * from './data-list-host';
|
|
6
|
+
export * from './day-type-handler';
|
|
6
7
|
export * from './document-or-shadow-root';
|
|
7
8
|
export * from './element-ref';
|
|
8
9
|
export * from './first-day-of-week';
|
package/types/size.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Various sizes for components
|
|
3
3
|
*
|
|
4
|
+
* 'xxs' - extra extra small
|
|
4
5
|
* 'xs' - extra small
|
|
5
6
|
* 's' - small
|
|
6
7
|
* 'm' - medium (typically default)
|
|
@@ -12,5 +13,6 @@ export declare type TuiSizeM = 'm';
|
|
|
12
13
|
export declare type TuiSizeS = 's' | TuiSizeM;
|
|
13
14
|
export declare type TuiSizeL = TuiSizeM | 'l';
|
|
14
15
|
export declare type TuiSizeXS = 'xs' | TuiSizeS;
|
|
16
|
+
export declare type TuiSizeXXS = 'xxs' | TuiSizeXS;
|
|
15
17
|
export declare type TuiSizeXL = TuiSizeL | 'xl';
|
|
16
18
|
export declare type TuiSizeXXL = TuiSizeXL | 'xxl';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TuiSizeXXL, TuiSizeXXS } from '@taiga-ui/core/types';
|
|
2
2
|
/**
|
|
3
3
|
* Compares size constants to determine if first size is bigger than the second
|
|
4
4
|
*
|
|
5
5
|
* @param size size that we need to compare
|
|
6
6
|
* @param biggerThanSize size to compare with, 's' by default
|
|
7
7
|
*/
|
|
8
|
-
export declare function tuiSizeBigger(size:
|
|
8
|
+
export declare function tuiSizeBigger(size: TuiSizeXXS | TuiSizeXXL, biggerThanSize?: TuiSizeXXS | TuiSizeXXL): boolean;
|