@taiga-ui/layout 4.52.0-canary.eb5ffe3 → 4.52.0-canary.ec0802b
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 +2 -2
- package/components/header/header.directive.d.ts +17 -0
- package/components/header/index.d.ts +1 -0
- package/components/index.d.ts +1 -0
- package/components/pdf-viewer/pdf-viewer.component.d.ts +4 -3
- package/fesm2022/taiga-ui-layout-components-app-bar.mjs +4 -6
- package/fesm2022/taiga-ui-layout-components-app-bar.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-block-status.mjs +1 -2
- package/fesm2022/taiga-ui-layout-components-block-status.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-card.mjs +2 -2
- package/fesm2022/taiga-ui-layout-components-card.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-dynamic-header.mjs +0 -2
- package/fesm2022/taiga-ui-layout-components-dynamic-header.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-form.mjs +1 -1
- package/fesm2022/taiga-ui-layout-components-form.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-header.mjs +42 -0
- package/fesm2022/taiga-ui-layout-components-header.mjs.map +1 -0
- package/fesm2022/taiga-ui-layout-components-input-search.mjs +2 -2
- package/fesm2022/taiga-ui-layout-components-input-search.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-navigation.mjs +6 -9
- package/fesm2022/taiga-ui-layout-components-navigation.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-pdf-viewer.mjs +10 -7
- package/fesm2022/taiga-ui-layout-components-pdf-viewer.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-search.mjs +1 -2
- package/fesm2022/taiga-ui-layout-components-search.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-surface.mjs +2 -2
- package/fesm2022/taiga-ui-layout-components-surface.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components.mjs +1 -0
- package/fesm2022/taiga-ui-layout-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-tokens.mjs +2 -7
- package/fesm2022/taiga-ui-layout-tokens.mjs.map +1 -1
- package/package.json +13 -6
- package/tokens/common-icons.d.ts +3 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-layout-components.mjs","sources":["../../../projects/layout/components/taiga-ui-layout-components.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"taiga-ui-layout-components.mjs","sources":["../../../projects/layout/components/taiga-ui-layout-components.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA;;AAEG"}
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
+
import { tuiCreateOptions } from '@taiga-ui/cdk/utils/di';
|
|
1
2
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
3
3
|
import { tuiExtractI18n } from '@taiga-ui/i18n/utils';
|
|
4
4
|
|
|
5
5
|
const LAYOUT_ICONS = {
|
|
6
6
|
filter: '@tui.filter',
|
|
7
7
|
grid: '@tui.layout-grid',
|
|
8
8
|
};
|
|
9
|
-
const TUI_LAYOUT_ICONS =
|
|
10
|
-
factory: () => LAYOUT_ICONS,
|
|
11
|
-
});
|
|
12
|
-
function tuiLayoutIconsProvider(icons) {
|
|
13
|
-
return tuiProvideOptions(TUI_LAYOUT_ICONS, icons, LAYOUT_ICONS);
|
|
14
|
-
}
|
|
9
|
+
const [TUI_LAYOUT_ICONS, tuiLayoutIconsProvider] = tuiCreateOptions(LAYOUT_ICONS);
|
|
15
10
|
/**
|
|
16
11
|
* @deprecated use {@link TUI_LAYOUT_ICONS} instead
|
|
17
12
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-layout-tokens.mjs","sources":["../../../projects/layout/tokens/common-icons.ts","../../../projects/layout/tokens/i18n.ts","../../../projects/layout/tokens/taiga-ui-layout-tokens.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"taiga-ui-layout-tokens.mjs","sources":["../../../projects/layout/tokens/common-icons.ts","../../../projects/layout/tokens/i18n.ts","../../../projects/layout/tokens/taiga-ui-layout-tokens.ts"],"sourcesContent":["import {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\n\nconst LAYOUT_ICONS: TuiLayoutIcons = {\n filter: '@tui.filter',\n grid: '@tui.layout-grid',\n};\n\nexport interface TuiLayoutIcons {\n readonly filter: string;\n readonly grid: string;\n}\n\nexport const [TUI_LAYOUT_ICONS, tuiLayoutIconsProvider] = tuiCreateOptions(LAYOUT_ICONS);\n\n/**\n * @deprecated use {@link TUI_LAYOUT_ICONS} instead\n */\nexport const TUI_COMMON_ICONS = TUI_LAYOUT_ICONS;\n\n/**\n * @deprecated use {@link tuiLayoutIconsProvider} instead\n */\nexport const tuiCommonIconsProvider = tuiLayoutIconsProvider;\n\n/**\n * @deprecated use {@link TuiLayoutIcons} instead\n */\nexport type TuiCommonIcons = TuiLayoutIcons;\n","import {InjectionToken} from '@angular/core';\nimport {tuiExtractI18n} from '@taiga-ui/i18n/utils';\n\nexport const TUI_INPUT_SEARCH = new InjectionToken(ngDevMode ? 'TUI_INPUT_SEARCH' : '', {\n factory: tuiExtractI18n('inputSearch'),\n});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAEA,MAAM,YAAY,GAAmB;AACjC,IAAA,MAAM,EAAE,aAAa;AACrB,IAAA,IAAI,EAAE,kBAAkB;CAC3B;AAOM,MAAM,CAAC,gBAAgB,EAAE,sBAAsB,CAAC,GAAG,gBAAgB,CAAC,YAAY;AAEvF;;AAEG;AACI,MAAM,gBAAgB,GAAG;AAEhC;;AAEG;AACI,MAAM,sBAAsB,GAAG;;ACnBzB,MAAA,gBAAgB,GAAG,IAAI,cAAc,CAAC,SAAS,GAAG,kBAAkB,GAAG,EAAE,EAAE;AACpF,IAAA,OAAO,EAAE,cAAc,CAAC,aAAa,CAAC;AACzC,CAAA;;ACLD;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/layout",
|
|
3
|
-
"version": "4.52.0-canary.
|
|
3
|
+
"version": "4.52.0-canary.ec0802b",
|
|
4
4
|
"description": "A package with Taiga UI layout components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -8,7 +8,10 @@
|
|
|
8
8
|
"layout"
|
|
9
9
|
],
|
|
10
10
|
"homepage": "https://github.com/taiga-family/taiga-ui",
|
|
11
|
-
"repository":
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/taiga-family/taiga-ui"
|
|
14
|
+
},
|
|
12
15
|
"license": "Apache-2.0",
|
|
13
16
|
"peerDependencies": {
|
|
14
17
|
"@angular/common": ">=19.0.0",
|
|
@@ -61,6 +64,10 @@
|
|
|
61
64
|
"types": "./components/form/index.d.ts",
|
|
62
65
|
"default": "./fesm2022/taiga-ui-layout-components-form.mjs"
|
|
63
66
|
},
|
|
67
|
+
"./components/header": {
|
|
68
|
+
"types": "./components/header/index.d.ts",
|
|
69
|
+
"default": "./fesm2022/taiga-ui-layout-components-header.mjs"
|
|
70
|
+
},
|
|
64
71
|
"./components/input-search": {
|
|
65
72
|
"types": "./components/input-search/index.d.ts",
|
|
66
73
|
"default": "./fesm2022/taiga-ui-layout-components-input-search.mjs"
|
|
@@ -73,14 +80,14 @@
|
|
|
73
80
|
"types": "./components/navigation/index.d.ts",
|
|
74
81
|
"default": "./fesm2022/taiga-ui-layout-components-navigation.mjs"
|
|
75
82
|
},
|
|
76
|
-
"./components/search": {
|
|
77
|
-
"types": "./components/search/index.d.ts",
|
|
78
|
-
"default": "./fesm2022/taiga-ui-layout-components-search.mjs"
|
|
79
|
-
},
|
|
80
83
|
"./components/pdf-viewer": {
|
|
81
84
|
"types": "./components/pdf-viewer/index.d.ts",
|
|
82
85
|
"default": "./fesm2022/taiga-ui-layout-components-pdf-viewer.mjs"
|
|
83
86
|
},
|
|
87
|
+
"./components/search": {
|
|
88
|
+
"types": "./components/search/index.d.ts",
|
|
89
|
+
"default": "./fesm2022/taiga-ui-layout-components-search.mjs"
|
|
90
|
+
},
|
|
84
91
|
"./components/surface": {
|
|
85
92
|
"types": "./components/surface/index.d.ts",
|
|
86
93
|
"default": "./fesm2022/taiga-ui-layout-components-surface.mjs"
|
package/tokens/common-icons.d.ts
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
1
|
export interface TuiLayoutIcons {
|
|
3
2
|
readonly filter: string;
|
|
4
3
|
readonly grid: string;
|
|
5
4
|
}
|
|
6
|
-
export declare const TUI_LAYOUT_ICONS: InjectionToken<TuiLayoutIcons
|
|
7
|
-
export declare function tuiLayoutIconsProvider(icons: Partial<TuiLayoutIcons>): Provider;
|
|
5
|
+
export declare const TUI_LAYOUT_ICONS: import("@angular/core").InjectionToken<TuiLayoutIcons>, tuiLayoutIconsProvider: (item: Partial<TuiLayoutIcons> | (() => Partial<TuiLayoutIcons>)) => import("@angular/core").FactoryProvider;
|
|
8
6
|
/**
|
|
9
7
|
* @deprecated use {@link TUI_LAYOUT_ICONS} instead
|
|
10
8
|
*/
|
|
11
|
-
export declare const TUI_COMMON_ICONS: InjectionToken<TuiLayoutIcons>;
|
|
9
|
+
export declare const TUI_COMMON_ICONS: import("@angular/core").InjectionToken<TuiLayoutIcons>;
|
|
12
10
|
/**
|
|
13
11
|
* @deprecated use {@link tuiLayoutIconsProvider} instead
|
|
14
12
|
*/
|
|
15
|
-
export declare const tuiCommonIconsProvider:
|
|
13
|
+
export declare const tuiCommonIconsProvider: (item: Partial<TuiLayoutIcons> | (() => Partial<TuiLayoutIcons>)) => import("@angular/core").FactoryProvider;
|
|
16
14
|
/**
|
|
17
15
|
* @deprecated use {@link TuiLayoutIcons} instead
|
|
18
16
|
*/
|