@coolon/angular-ui-powerups 3.4.1 → 3.4.2

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.
@@ -3,7 +3,36 @@ import { Command } from '@coolon/pectin';
3
3
  import { CommandFace } from '../../../components/commands/command-face';
4
4
  import { DisposableComponent } from '../../../components/disposable-component';
5
5
  /**
6
+ * @example
7
+ * <aup-activity-actions
8
+ * [confirmCommand]="confirm"
9
+ * [cancelCommand]="cancel"
10
+ * [style]="{confirm: saveFace, cancel: cancelFace}">
11
+ * </aup-activity-actions>
6
12
  *
13
+ * // Running `ng g @coolon/angular-ui-powerups:aup-i18n` will install default
14
+ * // style definitions
15
+ * <aup-activity-actions
16
+ * [confirmCommand]="confirm"
17
+ * [cancelCommand]="cancel"
18
+ * [style]="I18n.aup.components.activityActions.styles.okCancelIcons">
19
+ * </aup-activity-actions>
20
+ *
21
+ * // both commands are optional
22
+ * <aup-activity-actions
23
+ * [confirmCommand]="confirm"
24
+ * [style]="I18n.aup.components.activityActions.styles.okCancelIcons">
25
+ * </aup-activity-actions>
26
+ *
27
+ * // you can also add additional content that will be displayed along with the buttons.
28
+ * // The location of the content depends on the alignment attribute.
29
+ * <aup-activity-actions
30
+ * [confirmCommand]="confirm"
31
+ * [cancelCommand]="cancel"
32
+ * align="stretch"
33
+ * [style]="I18n.aup.components.activityActions.styles.okCancelIcons">
34
+ * <span>This content will be between the two commands</span>
35
+ * </aup-activity-actions>
7
36
  */
8
37
  export declare class ActivityActionsComponent extends DisposableComponent implements OnInit {
9
38
  confirmCommand: Command<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "3.4.1",
3
+ "version": "3.4.2",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "dependencies": {
6
6
  "@coolon/typescript-utilities": "^2.0.0",