@taiga-ui/core 3.8.0 → 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-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-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-scrollbar.umd.js +12 -9
- package/bundles/taiga-ui-core-components-scrollbar.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-textfield/primitive-textfield.component.d.ts +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/primitive-textfield/primitive-textfield.component.js +2 -2
- package/esm2015/components/root/root.component.js +1 -1
- package/esm2015/components/scrollbar/scrollbar.component.js +8 -5
- package/esm2015/types/size.js +2 -1
- package/esm2015/utils/miscellaneous/size-bigger.js +2 -2
- 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-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-scrollbar.js +7 -4
- package/fesm2015/taiga-ui-core-components-scrollbar.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-miscellaneous.js +1 -1
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js.map +1 -1
- package/package.json +4 -4
- package/styles/theme/variables.less +2 -2
- package/types/size.d.ts +2 -0
- package/utils/miscellaneous/size-bigger.d.ts +2 -2
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;
|