@taiga-ui/kit 4.52.0-canary.669a014 → 4.52.0-canary.692273c

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.
Files changed (88) hide show
  1. package/components/accordion/accordion.component.d.ts +13 -0
  2. package/components/accordion/accordion.d.ts +4 -4
  3. package/components/accordion/accordion.directive.d.ts +11 -10
  4. package/components/accordion/index.d.ts +1 -3
  5. package/components/action-bar/action-bar.component.d.ts +5 -7
  6. package/components/action-bar/index.d.ts +0 -2
  7. package/components/fullscreen/fullscreen.component.d.ts +14 -0
  8. package/components/fullscreen/index.d.ts +1 -0
  9. package/components/index.d.ts +3 -0
  10. package/components/input-phone-international/input-phone-international.component.d.ts +23 -29
  11. package/components/input-range/input-range.component.d.ts +6 -9
  12. package/components/input-slider/input-slider.directive.d.ts +1 -3
  13. package/components/line-clamp/line-clamp-box.component.d.ts +3 -4
  14. package/components/range/range-change.directive.d.ts +1 -1
  15. package/components/range/range.component.d.ts +0 -5
  16. package/components/slider/helpers/key-steps.d.ts +1 -2
  17. package/components/slider/helpers/slider-key-steps.directive.d.ts +12 -21
  18. package/components/toast/index.d.ts +5 -0
  19. package/components/toast/toast.component.d.ts +17 -0
  20. package/components/toast/toast.d.ts +3 -0
  21. package/components/toast/toast.directive.d.ts +7 -0
  22. package/components/toast/toast.options.d.ts +8 -0
  23. package/components/toast/toast.service.d.ts +16 -0
  24. package/directives/button-select/button-select.directive.d.ts +1 -2
  25. package/directives/index.d.ts +0 -1
  26. package/fesm2022/taiga-ui-kit-components-accordion.mjs +69 -144
  27. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  28. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +22 -38
  29. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  30. package/fesm2022/taiga-ui-kit-components-avatar.mjs +1 -1
  31. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-kit-components-chip.mjs +2 -2
  33. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  34. package/fesm2022/{taiga-ui-kit-directives-copy.mjs → taiga-ui-kit-components-copy.mjs} +1 -1
  35. package/fesm2022/{taiga-ui-kit-directives-copy.mjs.map → taiga-ui-kit-components-copy.mjs.map} +1 -1
  36. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +2 -2
  37. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  38. package/fesm2022/taiga-ui-kit-components-drawer.mjs +2 -2
  39. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  40. package/fesm2022/taiga-ui-kit-components-files.mjs +3 -3
  41. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +63 -0
  43. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -0
  44. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +102 -125
  45. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-kit-components-input-range.mjs +23 -19
  47. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +14 -24
  49. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +6 -8
  51. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +5 -4
  53. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +2 -9
  55. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +2 -2
  57. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-kit-components-preview.mjs +2 -2
  59. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-kit-components-range.mjs +4 -13
  61. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-kit-components-select.mjs +2 -2
  63. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-kit-components-slider.mjs +55 -53
  65. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-kit-components-toast.mjs +166 -0
  67. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -0
  68. package/fesm2022/taiga-ui-kit-components-tree.mjs +3 -3
  69. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-kit-components.mjs +3 -0
  71. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +2 -9
  73. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  74. package/fesm2022/taiga-ui-kit-directives.mjs +0 -1
  75. package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
  76. package/package.json +37 -28
  77. package/styles/components/chip.less +1 -0
  78. package/styles/components/toast.less +44 -0
  79. package/components/accordion/accordion-item-content.directive.d.ts +0 -6
  80. package/components/accordion/accordion-item-eager-content.directive.d.ts +0 -5
  81. package/components/accordion/accordion-item.component.d.ts +0 -25
  82. package/components/action-bar/action-bar.d.ts +0 -3
  83. package/components/action-bar/action-bar.directive.d.ts +0 -6
  84. /package/{directives → components}/copy/copy.component.d.ts +0 -0
  85. /package/{directives → components}/copy/copy.d.ts +0 -0
  86. /package/{directives → components}/copy/copy.directive.d.ts +0 -0
  87. /package/{directives → components}/copy/copy.options.d.ts +0 -0
  88. /package/{directives → components}/copy/index.d.ts +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/kit",
3
- "version": "4.52.0-canary.669a014",
3
+ "version": "4.52.0-canary.692273c",
4
4
  "description": "Taiga UI Angular main components kit",
5
5
  "keywords": [
6
6
  "angular",
@@ -53,14 +53,14 @@
53
53
  "types": "./components/avatar/index.d.ts",
54
54
  "default": "./fesm2022/taiga-ui-kit-components-avatar.mjs"
55
55
  },
56
- "./components/badge-notification": {
57
- "types": "./components/badge-notification/index.d.ts",
58
- "default": "./fesm2022/taiga-ui-kit-components-badge-notification.mjs"
59
- },
60
56
  "./components/badge": {
61
57
  "types": "./components/badge/index.d.ts",
62
58
  "default": "./fesm2022/taiga-ui-kit-components-badge.mjs"
63
59
  },
60
+ "./components/badge-notification": {
61
+ "types": "./components/badge-notification/index.d.ts",
62
+ "default": "./fesm2022/taiga-ui-kit-components-badge-notification.mjs"
63
+ },
64
64
  "./components/badged-content": {
65
65
  "types": "./components/badged-content/index.d.ts",
66
66
  "default": "./fesm2022/taiga-ui-kit-components-badged-content.mjs"
@@ -113,6 +113,10 @@
113
113
  "types": "./components/confirm/index.d.ts",
114
114
  "default": "./fesm2022/taiga-ui-kit-components-confirm.mjs"
115
115
  },
116
+ "./components/copy": {
117
+ "types": "./components/copy/index.d.ts",
118
+ "default": "./fesm2022/taiga-ui-kit-components-copy.mjs"
119
+ },
116
120
  "./components/data-list-wrapper": {
117
121
  "types": "./components/data-list-wrapper/index.d.ts",
118
122
  "default": "./fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs"
@@ -137,6 +141,10 @@
137
141
  "types": "./components/floating-container/index.d.ts",
138
142
  "default": "./fesm2022/taiga-ui-kit-components-floating-container.mjs"
139
143
  },
144
+ "./components/fullscreen": {
145
+ "types": "./components/fullscreen/index.d.ts",
146
+ "default": "./fesm2022/taiga-ui-kit-components-fullscreen.mjs"
147
+ },
140
148
  "./components/input-chip": {
141
149
  "types": "./components/input-chip/index.d.ts",
142
150
  "default": "./fesm2022/taiga-ui-kit-components-input-chip.mjs"
@@ -297,22 +305,22 @@
297
305
  "types": "./components/slides/index.d.ts",
298
306
  "default": "./fesm2022/taiga-ui-kit-components-slides.mjs"
299
307
  },
300
- "./components/switch": {
301
- "types": "./components/switch/index.d.ts",
302
- "default": "./fesm2022/taiga-ui-kit-components-switch.mjs"
308
+ "./components/status": {
309
+ "types": "./components/status/index.d.ts",
310
+ "default": "./fesm2022/taiga-ui-kit-components-status.mjs"
303
311
  },
304
312
  "./components/stepper": {
305
313
  "types": "./components/stepper/index.d.ts",
306
314
  "default": "./fesm2022/taiga-ui-kit-components-stepper.mjs"
307
315
  },
316
+ "./components/switch": {
317
+ "types": "./components/switch/index.d.ts",
318
+ "default": "./fesm2022/taiga-ui-kit-components-switch.mjs"
319
+ },
308
320
  "./components/tabs": {
309
321
  "types": "./components/tabs/index.d.ts",
310
322
  "default": "./fesm2022/taiga-ui-kit-components-tabs.mjs"
311
323
  },
312
- "./components/status": {
313
- "types": "./components/status/index.d.ts",
314
- "default": "./fesm2022/taiga-ui-kit-components-status.mjs"
315
- },
316
324
  "./components/textarea": {
317
325
  "types": "./components/textarea/index.d.ts",
318
326
  "default": "./fesm2022/taiga-ui-kit-components-textarea.mjs"
@@ -321,34 +329,34 @@
321
329
  "types": "./components/tiles/index.d.ts",
322
330
  "default": "./fesm2022/taiga-ui-kit-components-tiles.mjs"
323
331
  },
332
+ "./components/toast": {
333
+ "types": "./components/toast/index.d.ts",
334
+ "default": "./fesm2022/taiga-ui-kit-components-toast.mjs"
335
+ },
324
336
  "./components/tree": {
325
337
  "types": "./components/tree/index.d.ts",
326
338
  "default": "./fesm2022/taiga-ui-kit-components-tree.mjs"
327
339
  },
328
- "./directives/button-close": {
329
- "types": "./directives/button-close/index.d.ts",
330
- "default": "./fesm2022/taiga-ui-kit-directives-button-close.mjs"
331
- },
332
340
  "./directives/button-select": {
333
341
  "types": "./directives/button-select/index.d.ts",
334
342
  "default": "./fesm2022/taiga-ui-kit-directives-button-select.mjs"
335
343
  },
336
- "./directives/chevron": {
337
- "types": "./directives/chevron/index.d.ts",
338
- "default": "./fesm2022/taiga-ui-kit-directives-chevron.mjs"
339
- },
340
344
  "./directives/button-group": {
341
345
  "types": "./directives/button-group/index.d.ts",
342
346
  "default": "./fesm2022/taiga-ui-kit-directives-button-group.mjs"
343
347
  },
348
+ "./directives/button-close": {
349
+ "types": "./directives/button-close/index.d.ts",
350
+ "default": "./fesm2022/taiga-ui-kit-directives-button-close.mjs"
351
+ },
352
+ "./directives/chevron": {
353
+ "types": "./directives/chevron/index.d.ts",
354
+ "default": "./fesm2022/taiga-ui-kit-directives-chevron.mjs"
355
+ },
344
356
  "./directives/connected": {
345
357
  "types": "./directives/connected/index.d.ts",
346
358
  "default": "./fesm2022/taiga-ui-kit-directives-connected.mjs"
347
359
  },
348
- "./directives/copy": {
349
- "types": "./directives/copy/index.d.ts",
350
- "default": "./fesm2022/taiga-ui-kit-directives-copy.mjs"
351
- },
352
360
  "./directives/data-list-dropdown-manager": {
353
361
  "types": "./directives/data-list-dropdown-manager/index.d.ts",
354
362
  "default": "./fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs"
@@ -439,12 +447,13 @@
439
447
  "@maskito/core": "^3.11.1",
440
448
  "@maskito/kit": "^3.11.1",
441
449
  "@maskito/phone": "^3.11.1",
442
- "@ng-web-apis/common": "^4.12.0",
443
- "@ng-web-apis/intersection-observer": "^4.12.0",
444
- "@ng-web-apis/mutation-observer": "^4.12.0",
445
- "@ng-web-apis/resize-observer": "^4.12.0",
450
+ "@ng-web-apis/common": "^4.12.2",
451
+ "@ng-web-apis/intersection-observer": "^4.12.2",
452
+ "@ng-web-apis/mutation-observer": "^4.12.2",
453
+ "@ng-web-apis/resize-observer": "^4.12.2",
446
454
  "@taiga-ui/cdk": "^4.52.0",
447
455
  "@taiga-ui/core": "^4.52.0",
456
+ "@taiga-ui/design-tokens": "~0.257.0",
448
457
  "@taiga-ui/i18n": "^4.52.0",
449
458
  "@taiga-ui/polymorpheus": "^4.9.0",
450
459
  "rxjs": ">=7.0.0"
@@ -32,6 +32,7 @@ tui-chip,
32
32
  block-size: var(--t-size);
33
33
  inline-size: fit-content;
34
34
  isolation: isolate;
35
+ max-inline-size: stretch;
35
36
 
36
37
  .interactive({
37
38
  cursor: pointer;
@@ -0,0 +1,44 @@
1
+ @import '@taiga-ui/core/styles/taiga-ui-local.less';
2
+
3
+ [tuiToast] {
4
+ .transition(transform);
5
+
6
+ display: flex;
7
+ grid-row: 1 / span 2;
8
+ box-sizing: border-box;
9
+ gap: 0.75rem;
10
+ color: var(--tui-text-primary);
11
+ background: var(--tui-background-elevation-3);
12
+ min-block-size: 3.5rem;
13
+ border-radius: 1rem;
14
+ padding: 0.75rem 1rem;
15
+ box-shadow: var(--tui-shadow-medium);
16
+ align-items: center;
17
+ justify-content: center;
18
+ inline-size: max-content;
19
+ font: var(--tui-font-text-ui-s);
20
+ max-inline-size: ~'min(calc(100vw - 2rem), 25rem)';
21
+ border: inherit;
22
+ text-decoration: none;
23
+ overflow: hidden;
24
+
25
+ .interactive({
26
+ cursor: pointer;
27
+ });
28
+
29
+ > *,
30
+ &::after,
31
+ &::before {
32
+ max-inline-size: 50%;
33
+ margin: 0 -0.25rem;
34
+ }
35
+
36
+ &::after {
37
+ font-size: 1rem;
38
+ color: var(--tui-text-tertiary);
39
+ }
40
+
41
+ [tuiAvatar] {
42
+ margin-inline-end: 0;
43
+ }
44
+ }
@@ -1,6 +0,0 @@
1
- import { PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiAccordionItemContent extends PolymorpheusTemplate<Record<string, unknown>> {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiAccordionItemContent, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAccordionItemContent, "ng-template[tuiAccordionItemContent]", never, {}, {}, never, never, true, never>;
6
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TuiAccordionItemEagerContent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiAccordionItemEagerContent, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAccordionItemEagerContent, "[tuiAccordionItemContent]:not(ng-template)", never, {}, {}, never, never, true, never>;
5
- }
@@ -1,25 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { type TuiSizeS } from '@taiga-ui/core/types';
3
- import { TuiAccordionItemContent } from './accordion-item-content.directive';
4
- import { TuiAccordionItemEagerContent } from './accordion-item-eager-content.directive';
5
- import * as i0 from "@angular/core";
6
- export declare class TuiAccordionItem {
7
- private readonly cdr;
8
- protected readonly eagerContent?: TuiAccordionItemEagerContent;
9
- protected readonly lazyContent?: TuiAccordionItemContent;
10
- noPadding: boolean;
11
- showArrow: boolean;
12
- borders: 'all' | 'top-bottom' | null;
13
- size: TuiSizeS;
14
- disabled: boolean;
15
- disableHover: boolean;
16
- open: boolean;
17
- async: boolean;
18
- readonly openChange: EventEmitter<boolean>;
19
- close(): void;
20
- protected onRowToggle(): void;
21
- protected onItemKeyDownEsc(event: Event): void;
22
- private updateOpen;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiAccordionItem, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiAccordionItem, "tui-accordion-item", never, { "noPadding": { "alias": "noPadding"; "required": false; }; "showArrow": { "alias": "showArrow"; "required": false; }; "borders": { "alias": "borders"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "disableHover": { "alias": "disableHover"; "required": false; }; "open": { "alias": "open"; "required": false; }; "async": { "alias": "async"; "required": false; }; }, { "openChange": "openChange"; }, ["eagerContent", "lazyContent"], ["*", "[tuiAccordionItemContent]:not(ng-template)"], true, never>;
25
- }
@@ -1,3 +0,0 @@
1
- import { TuiActionBarComponent } from './action-bar.component';
2
- import { TuiActionBarDirective } from './action-bar.directive';
3
- export declare const TuiActionBar: readonly [typeof TuiActionBarComponent, typeof TuiActionBarDirective];
@@ -1,6 +0,0 @@
1
- import { TuiDropdownPortal } from '@taiga-ui/core/directives/dropdown';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiActionBarDirective extends TuiDropdownPortal {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiActionBarDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiActionBarDirective, "ng-template[tuiActionBar]", never, { "tuiDropdown": { "alias": "tuiActionBar"; "required": false; }; }, {}, never, never, true, never>;
6
- }
File without changes
File without changes