@taiga-ui/layout 4.21.0 → 4.22.0-canary.5cb8d03
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/cell/cell.directive.d.ts +5 -3
- package/components/cell/cell.options.d.ts +6 -0
- package/components/cell/index.d.ts +1 -0
- package/components/header/header.directive.d.ts +5 -5
- package/components/index.d.ts +1 -0
- package/components/input-search/index.d.ts +1 -0
- package/components/input-search/input-search.component.d.ts +23 -0
- package/esm2022/components/card/card.directive.mjs +2 -2
- package/esm2022/components/cell/cell.directive.mjs +14 -7
- package/esm2022/components/cell/cell.options.mjs +3 -0
- package/esm2022/components/cell/index.mjs +2 -1
- package/esm2022/components/header/header.directive.mjs +5 -5
- package/esm2022/components/index.mjs +2 -1
- package/esm2022/components/input-search/index.mjs +2 -0
- package/esm2022/components/input-search/input-search.component.mjs +76 -0
- package/esm2022/components/input-search/taiga-ui-layout-components-input-search.mjs +5 -0
- package/esm2022/components/navigation/header.component.mjs +7 -4
- package/esm2022/tokens/i18n.mjs +4 -0
- package/esm2022/tokens/index.mjs +2 -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-cell.mjs +16 -7
- package/fesm2022/taiga-ui-layout-components-cell.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-header.mjs +4 -4
- package/fesm2022/taiga-ui-layout-components-header.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-input-search.mjs +82 -0
- package/fesm2022/taiga-ui-layout-components-input-search.mjs.map +1 -0
- package/fesm2022/taiga-ui-layout-components-navigation.mjs +5 -3
- package/fesm2022/taiga-ui-layout-components-navigation.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 +5 -2
- package/fesm2022/taiga-ui-layout-tokens.mjs.map +1 -1
- package/package.json +15 -9
- package/tokens/i18n.d.ts +8 -0
- package/tokens/index.d.ts +1 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { tuiCreateToken, tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
1
|
+
import { tuiCreateToken, tuiProvideOptions, tuiCreateTokenFromFactory } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
2
|
+
import { tuiExtractI18n } from '@taiga-ui/i18n/utils';
|
|
2
3
|
|
|
3
4
|
const LAYOUT_ICONS = {
|
|
4
5
|
filter: '@tui.filter',
|
|
@@ -17,9 +18,11 @@ const TUI_COMMON_ICONS = TUI_LAYOUT_ICONS;
|
|
|
17
18
|
*/
|
|
18
19
|
const tuiCommonIconsProvider = tuiLayoutIconsProvider;
|
|
19
20
|
|
|
21
|
+
const TUI_INPUT_SEARCH = tuiCreateTokenFromFactory(tuiExtractI18n('inputSearch'));
|
|
22
|
+
|
|
20
23
|
/**
|
|
21
24
|
* Generated bundle index. Do not edit.
|
|
22
25
|
*/
|
|
23
26
|
|
|
24
|
-
export { TUI_COMMON_ICONS, TUI_LAYOUT_ICONS, tuiCommonIconsProvider, tuiLayoutIconsProvider };
|
|
27
|
+
export { TUI_COMMON_ICONS, TUI_INPUT_SEARCH, TUI_LAYOUT_ICONS, tuiCommonIconsProvider, tuiLayoutIconsProvider };
|
|
25
28
|
//# sourceMappingURL=taiga-ui-layout-tokens.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-layout-tokens.mjs","sources":["../../../projects/layout/tokens/common-icons.ts","../../../projects/layout/tokens/taiga-ui-layout-tokens.ts"],"sourcesContent":["import type {Provider} from '@angular/core';\nimport {tuiCreateToken, tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\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 = tuiCreateToken(LAYOUT_ICONS);\n\nexport function tuiLayoutIconsProvider(icons: Partial<TuiLayoutIcons>): Provider {\n return tuiProvideOptions(TUI_LAYOUT_ICONS, icons, LAYOUT_ICONS);\n}\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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"
|
|
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 type {Provider} from '@angular/core';\nimport {tuiCreateToken, tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\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 = tuiCreateToken(LAYOUT_ICONS);\n\nexport function tuiLayoutIconsProvider(icons: Partial<TuiLayoutIcons>): Provider {\n return tuiProvideOptions(TUI_LAYOUT_ICONS, icons, LAYOUT_ICONS);\n}\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 {tuiCreateTokenFromFactory} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {tuiExtractI18n} from '@taiga-ui/i18n/utils';\n\nexport const TUI_INPUT_SEARCH = tuiCreateTokenFromFactory(tuiExtractI18n('inputSearch'));\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAGA,MAAM,YAAY,GAAmB;AACjC,IAAA,MAAM,EAAE,aAAa;AACrB,IAAA,IAAI,EAAE,kBAAkB;CAC3B,CAAC;MAOW,gBAAgB,GAAG,cAAc,CAAC,YAAY,EAAE;AAEvD,SAAU,sBAAsB,CAAC,KAA8B,EAAA;IACjE,OAAO,iBAAiB,CAAC,gBAAgB,EAAE,KAAK,EAAE,YAAY,CAAC,CAAC;AACpE,CAAC;AAED;;AAEG;AACI,MAAM,gBAAgB,GAAG,iBAAiB;AAEjD;;AAEG;AACI,MAAM,sBAAsB,GAAG;;ACxBzB,MAAA,gBAAgB,GAAG,yBAAyB,CAAC,cAAc,CAAC,aAAa,CAAC;;ACHvF;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/layout",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.22.0-canary.5cb8d03",
|
|
4
4
|
"description": "A package with Taiga UI layout components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"peerDependencies": {
|
|
14
14
|
"@angular/common": ">=16.0.0",
|
|
15
15
|
"@angular/core": ">=16.0.0",
|
|
16
|
-
"@taiga-ui/cdk": "^4.
|
|
17
|
-
"@taiga-ui/core": "^4.
|
|
18
|
-
"@taiga-ui/kit": "^4.
|
|
16
|
+
"@taiga-ui/cdk": "^4.22.0",
|
|
17
|
+
"@taiga-ui/core": "^4.22.0",
|
|
18
|
+
"@taiga-ui/kit": "^4.22.0",
|
|
19
19
|
"@taiga-ui/polymorpheus": "^4.8.0",
|
|
20
20
|
"rxjs": ">=7.0.0"
|
|
21
21
|
},
|
|
@@ -73,17 +73,23 @@
|
|
|
73
73
|
"esm": "./esm2022/components/cell/taiga-ui-layout-components-cell.mjs",
|
|
74
74
|
"default": "./fesm2022/taiga-ui-layout-components-cell.mjs"
|
|
75
75
|
},
|
|
76
|
+
"./components/header": {
|
|
77
|
+
"types": "./components/header/index.d.ts",
|
|
78
|
+
"esm2022": "./esm2022/components/header/taiga-ui-layout-components-header.mjs",
|
|
79
|
+
"esm": "./esm2022/components/header/taiga-ui-layout-components-header.mjs",
|
|
80
|
+
"default": "./fesm2022/taiga-ui-layout-components-header.mjs"
|
|
81
|
+
},
|
|
76
82
|
"./components/form": {
|
|
77
83
|
"types": "./components/form/index.d.ts",
|
|
78
84
|
"esm2022": "./esm2022/components/form/taiga-ui-layout-components-form.mjs",
|
|
79
85
|
"esm": "./esm2022/components/form/taiga-ui-layout-components-form.mjs",
|
|
80
86
|
"default": "./fesm2022/taiga-ui-layout-components-form.mjs"
|
|
81
87
|
},
|
|
82
|
-
"./components/
|
|
83
|
-
"types": "./components/
|
|
84
|
-
"esm2022": "./esm2022/components/
|
|
85
|
-
"esm": "./esm2022/components/
|
|
86
|
-
"default": "./fesm2022/taiga-ui-layout-components-
|
|
88
|
+
"./components/input-search": {
|
|
89
|
+
"types": "./components/input-search/index.d.ts",
|
|
90
|
+
"esm2022": "./esm2022/components/input-search/taiga-ui-layout-components-input-search.mjs",
|
|
91
|
+
"esm": "./esm2022/components/input-search/taiga-ui-layout-components-input-search.mjs",
|
|
92
|
+
"default": "./fesm2022/taiga-ui-layout-components-input-search.mjs"
|
|
87
93
|
},
|
|
88
94
|
"./components/navigation": {
|
|
89
95
|
"types": "./components/navigation/index.d.ts",
|
package/tokens/i18n.d.ts
ADDED
package/tokens/index.d.ts
CHANGED