@taiga-ui/experimental 3.65.0 → 3.66.0-canary.447baca

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 (47) hide show
  1. package/bundles/taiga-ui-experimental-components-avatar.umd.js +4 -3
  2. package/bundles/taiga-ui-experimental-components-avatar.umd.js.map +1 -1
  3. package/bundles/taiga-ui-experimental-components-badge-notification.umd.js +1 -1
  4. package/bundles/taiga-ui-experimental-components-badge-notification.umd.js.map +1 -1
  5. package/bundles/taiga-ui-experimental-components-chip.umd.js +2 -2
  6. package/bundles/taiga-ui-experimental-components-chip.umd.js.map +1 -1
  7. package/bundles/taiga-ui-experimental-components-swipe-action.umd.js +6 -5
  8. package/bundles/taiga-ui-experimental-components-swipe-action.umd.js.map +1 -1
  9. package/bundles/taiga-ui-experimental-directives-button-group.umd.js +95 -0
  10. package/bundles/taiga-ui-experimental-directives-button-group.umd.js.map +1 -0
  11. package/bundles/taiga-ui-experimental-directives.umd.js +10 -4
  12. package/bundles/taiga-ui-experimental-directives.umd.js.map +1 -1
  13. package/components/avatar/avatar.component.d.ts +1 -1
  14. package/components/avatar/avatar.options.d.ts +3 -2
  15. package/components/swipe-action/swipe-actions-auto-close.directive.d.ts +2 -2
  16. package/directives/button-group/button-group.component.d.ts +5 -0
  17. package/directives/button-group/button-group.directive.d.ts +7 -0
  18. package/directives/button-group/button-group.module.d.ts +8 -0
  19. package/directives/button-group/index.d.ts +3 -0
  20. package/directives/button-group/package.json +10 -0
  21. package/directives/button-group/taiga-ui-experimental-directives-button-group.d.ts +5 -0
  22. package/directives/index.d.ts +1 -0
  23. package/esm2015/components/avatar/avatar.component.js +3 -3
  24. package/esm2015/components/avatar/avatar.options.js +3 -2
  25. package/esm2015/components/badge-notification/badge-notification.component.js +2 -2
  26. package/esm2015/components/chip/chip.directive.js +3 -3
  27. package/esm2015/components/swipe-action/swipe-actions-auto-close.directive.js +6 -5
  28. package/esm2015/components/swipe-action/swipe-actions.component.js +1 -1
  29. package/esm2015/directives/button-group/button-group.component.js +19 -0
  30. package/esm2015/directives/button-group/button-group.directive.js +22 -0
  31. package/esm2015/directives/button-group/button-group.module.js +17 -0
  32. package/esm2015/directives/button-group/index.js +4 -0
  33. package/esm2015/directives/button-group/taiga-ui-experimental-directives-button-group.js +5 -0
  34. package/esm2015/directives/index.js +2 -1
  35. package/fesm2015/taiga-ui-experimental-components-avatar.js +4 -3
  36. package/fesm2015/taiga-ui-experimental-components-avatar.js.map +1 -1
  37. package/fesm2015/taiga-ui-experimental-components-badge-notification.js +1 -1
  38. package/fesm2015/taiga-ui-experimental-components-badge-notification.js.map +1 -1
  39. package/fesm2015/taiga-ui-experimental-components-chip.js +2 -2
  40. package/fesm2015/taiga-ui-experimental-components-chip.js.map +1 -1
  41. package/fesm2015/taiga-ui-experimental-components-swipe-action.js +6 -5
  42. package/fesm2015/taiga-ui-experimental-components-swipe-action.js.map +1 -1
  43. package/fesm2015/taiga-ui-experimental-directives-button-group.js +58 -0
  44. package/fesm2015/taiga-ui-experimental-directives-button-group.js.map +1 -0
  45. package/fesm2015/taiga-ui-experimental-directives.js +1 -0
  46. package/fesm2015/taiga-ui-experimental-directives.js.map +1 -1
  47. package/package.json +31 -31
@@ -0,0 +1,58 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ViewEncapsulation, ChangeDetectionStrategy, Directive, Inject, NgModule } from '@angular/core';
3
+ import * as i1 from '@taiga-ui/cdk';
4
+ import { TuiDirectiveStylesService } from '@taiga-ui/cdk';
5
+
6
+ class TuiButtonGroupComponent {
7
+ }
8
+ TuiButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
9
+ TuiButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiButtonGroupComponent, selector: "ng-component", host: { classAttribute: "tui-button-group-styles" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiButtonGroup]{display:flex;border-radius:var(--tui-radius-xl);justify-content:center;overflow:hidden}[tuiButtonGroup]>button,[tuiButtonGroup]>a{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:flex;border:none;outline:none;background:transparent;align-items:center;flex:1;flex-direction:column;padding:1.125rem .25rem;grid-gap:.5rem;gap:.5rem;font-size:var(--tui-font-text-s);max-width:calc(50% - 1.75rem);cursor:pointer;color:var(--tui-link);text-align:center}[tuiButtonGroup]>button:active,[tuiButtonGroup]>a:active{background:var(--tui-clear)}[tuiButtonGroup]>button:before,[tuiButtonGroup]>a:before,[tuiButtonGroup]>button:after,[tuiButtonGroup]>a:after{position:absolute;top:0;background:inherit;width:1.75rem;height:100%}[tuiButtonGroup]>button:first-child:before,[tuiButtonGroup]>a:first-child:before{content:\"\";left:-1.75rem}[tuiButtonGroup]>button:last-child:after,[tuiButtonGroup]>a:last-child:after{content:\"\";right:-1.75rem}[tuiButtonGroup]>button tui-icon,[tuiButtonGroup]>a tui-icon{font-size:1.75rem}[tuiButtonGroup]:has(button:only-child){border-radius:var(--tui-radius-l)}[tuiButtonGroup]>button:only-child,[tuiButtonGroup]>a:only-child{width:100%;flex-direction:row;font:var(--tui-font-text-l);max-width:100%;justify-content:center}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonGroupComponent, decorators: [{
11
+ type: Component,
12
+ args: [{
13
+ template: '',
14
+ styleUrls: ['./button-group.style.less'],
15
+ encapsulation: ViewEncapsulation.None,
16
+ changeDetection: ChangeDetectionStrategy.OnPush,
17
+ host: {
18
+ class: 'tui-button-group-styles',
19
+ },
20
+ }]
21
+ }] });
22
+
23
+ class TuiButtonGroupDirective {
24
+ constructor(directiveStyles) {
25
+ directiveStyles.addComponent(TuiButtonGroupComponent);
26
+ }
27
+ }
28
+ TuiButtonGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonGroupDirective, deps: [{ token: TuiDirectiveStylesService }], target: i0.ɵɵFactoryTarget.Directive });
29
+ TuiButtonGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiButtonGroupDirective, selector: "[tuiButtonGroup]", ngImport: i0 });
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonGroupDirective, decorators: [{
31
+ type: Directive,
32
+ args: [{
33
+ selector: '[tuiButtonGroup]',
34
+ }]
35
+ }], ctorParameters: function () { return [{ type: i1.TuiDirectiveStylesService, decorators: [{
36
+ type: Inject,
37
+ args: [TuiDirectiveStylesService]
38
+ }] }]; } });
39
+
40
+ class TuiButtonGroupModule {
41
+ }
42
+ TuiButtonGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
43
+ TuiButtonGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonGroupModule, declarations: [TuiButtonGroupDirective, TuiButtonGroupComponent], exports: [TuiButtonGroupDirective] });
44
+ TuiButtonGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonGroupModule });
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonGroupModule, decorators: [{
46
+ type: NgModule,
47
+ args: [{
48
+ declarations: [TuiButtonGroupDirective, TuiButtonGroupComponent],
49
+ exports: [TuiButtonGroupDirective],
50
+ }]
51
+ }] });
52
+
53
+ /**
54
+ * Generated bundle index. Do not edit.
55
+ */
56
+
57
+ export { TuiButtonGroupComponent, TuiButtonGroupDirective, TuiButtonGroupModule };
58
+ //# sourceMappingURL=taiga-ui-experimental-directives-button-group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-experimental-directives-button-group.js","sources":["../../../projects/experimental/directives/button-group/button-group.component.ts","../../../projects/experimental/directives/button-group/button-group.directive.ts","../../../projects/experimental/directives/button-group/button-group.module.ts","../../../projects/experimental/directives/button-group/taiga-ui-experimental-directives-button-group.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n template: '',\n styleUrls: ['./button-group.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-button-group-styles',\n },\n})\nexport class TuiButtonGroupComponent {}\n","import {Directive, Inject} from '@angular/core';\nimport {TuiDirectiveStylesService} from '@taiga-ui/cdk';\n\nimport {TuiButtonGroupComponent} from './button-group.component';\n\n@Directive({\n selector: '[tuiButtonGroup]',\n})\nexport class TuiButtonGroupDirective {\n constructor(\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n ) {\n directiveStyles.addComponent(TuiButtonGroupComponent);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiButtonGroupComponent} from './button-group.component';\nimport {TuiButtonGroupDirective} from './button-group.directive';\n\n@NgModule({\n declarations: [TuiButtonGroupDirective, TuiButtonGroupComponent],\n exports: [TuiButtonGroupDirective],\n})\nexport class TuiButtonGroupModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAWa,uBAAuB,CAAA;;qHAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAvB,uBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAA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;MCD5B,oBAAoB,CAAA;;kHAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,EAHd,YAAA,EAAA,CAAA,uBAAuB,EAAE,uBAAuB,aACrD,uBAAuB,CAAA,EAAA,CAAA,CAAA;mHAExB,oBAAoB,EAAA,CAAA,CAAA;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE,CAAC,uBAAuB,EAAE,uBAAuB,CAAC;oBAChE,OAAO,EAAE,CAAC,uBAAuB,CAAC;AACrC,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
@@ -1,5 +1,6 @@
1
1
  export * from '@taiga-ui/experimental/directives/appearance';
2
2
  export * from '@taiga-ui/experimental/directives/button-close';
3
+ export * from '@taiga-ui/experimental/directives/button-group';
3
4
  export * from '@taiga-ui/experimental/directives/button-vertical';
4
5
  export * from '@taiga-ui/experimental/directives/card';
5
6
  export * from '@taiga-ui/experimental/directives/cell';
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-experimental-directives.js","sources":["../../../projects/experimental/directives/taiga-ui-experimental-directives.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;AAEG"}
1
+ {"version":3,"file":"taiga-ui-experimental-directives.js","sources":["../../../projects/experimental/directives/taiga-ui-experimental-directives.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA;;AAEG"}
package/package.json CHANGED
@@ -1,33 +1,33 @@
1
1
  {
2
- "name": "@taiga-ui/experimental",
3
- "version": "3.65.0",
4
- "description": "A package with Taiga UI experimental components",
5
- "keywords": [
6
- "angular",
7
- "component",
8
- "layout"
9
- ],
10
- "homepage": "https://github.com/taiga-family/taiga-ui",
11
- "repository": "https://github.com/taiga-family/taiga-ui",
12
- "license": "Apache-2.0",
13
- "peerDependencies": {
14
- "@angular/common": ">=12.0.0",
15
- "@angular/core": ">=12.0.0",
16
- "@taiga-ui/addon-commerce": "^3.65.0",
17
- "@taiga-ui/cdk": "^3.65.0",
18
- "@taiga-ui/core": "^3.65.0",
19
- "@taiga-ui/kit": "^3.65.0",
20
- "@tinkoff/ng-polymorpheus": "4.3.0",
21
- "rxjs": ">=6.0.0"
22
- },
23
- "main": "bundles/taiga-ui-experimental.umd.js",
24
- "module": "fesm2015/taiga-ui-experimental.js",
25
- "es2015": "fesm2015/taiga-ui-experimental.js",
26
- "esm2015": "esm2015/taiga-ui-experimental.js",
27
- "fesm2015": "fesm2015/taiga-ui-experimental.js",
28
- "typings": "taiga-ui-experimental.d.ts",
29
- "sideEffects": false,
30
- "dependencies": {
31
- "tslib": "2.6.2"
32
- }
2
+ "name": "@taiga-ui/experimental",
3
+ "version": "3.66.0-canary.447baca",
4
+ "description": "A package with Taiga UI experimental components",
5
+ "keywords": [
6
+ "angular",
7
+ "component",
8
+ "layout"
9
+ ],
10
+ "homepage": "https://github.com/taiga-family/taiga-ui",
11
+ "repository": "https://github.com/taiga-family/taiga-ui",
12
+ "license": "Apache-2.0",
13
+ "peerDependencies": {
14
+ "@angular/common": ">=12.0.0",
15
+ "@angular/core": ">=12.0.0",
16
+ "@taiga-ui/addon-commerce": "^3.66.0-canary.447baca",
17
+ "@taiga-ui/cdk": "^3.66.0-canary.447baca",
18
+ "@taiga-ui/core": "^3.66.0-canary.447baca",
19
+ "@taiga-ui/kit": "^3.66.0-canary.447baca",
20
+ "@tinkoff/ng-polymorpheus": "4.3.0",
21
+ "rxjs": ">=6.0.0"
22
+ },
23
+ "main": "bundles/taiga-ui-experimental.umd.js",
24
+ "module": "fesm2015/taiga-ui-experimental.js",
25
+ "es2015": "fesm2015/taiga-ui-experimental.js",
26
+ "esm2015": "esm2015/taiga-ui-experimental.js",
27
+ "fesm2015": "fesm2015/taiga-ui-experimental.js",
28
+ "typings": "taiga-ui-experimental.d.ts",
29
+ "sideEffects": false,
30
+ "dependencies": {
31
+ "tslib": "2.6.2"
32
+ }
33
33
  }