ngx-semantic 2.0.9 → 2.1.0
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/fesm2022/ngx-semantic-collections-grid.mjs +99 -17
- package/fesm2022/ngx-semantic-collections-grid.mjs.map +1 -1
- package/fesm2022/ngx-semantic-collections-menu.mjs +18 -3
- package/fesm2022/ngx-semantic-collections-menu.mjs.map +1 -1
- package/fesm2022/ngx-semantic-collections-table.mjs +42 -7
- package/fesm2022/ngx-semantic-collections-table.mjs.map +1 -1
- package/fesm2022/ngx-semantic-elements-divider.mjs +8 -8
- package/fesm2022/ngx-semantic-elements-divider.mjs.map +1 -1
- package/fesm2022/ngx-semantic-modules-dimmer.mjs +6 -4
- package/fesm2022/ngx-semantic-modules-dimmer.mjs.map +1 -1
- package/fesm2022/ngx-semantic-modules-shape.mjs +35 -31
- package/fesm2022/ngx-semantic-modules-shape.mjs.map +1 -1
- package/fesm2022/ngx-semantic-modules-sidebar.mjs +108 -16
- package/fesm2022/ngx-semantic-modules-sidebar.mjs.map +1 -1
- package/fesm2022/ngx-semantic-modules-sticky.mjs +13 -2
- package/fesm2022/ngx-semantic-modules-sticky.mjs.map +1 -1
- package/fesm2022/ngx-semantic-modules-tabs.mjs +1 -1
- package/fesm2022/ngx-semantic-modules-tabs.mjs.map +1 -1
- package/fesm2022/ngx-semantic-modules-transition.mjs +4 -0
- package/fesm2022/ngx-semantic-modules-transition.mjs.map +1 -1
- package/package.json +1 -1
- package/types/ngx-semantic-collections-grid.d.ts +44 -12
- package/types/ngx-semantic-collections-menu.d.ts +7 -3
- package/types/ngx-semantic-collections-table.d.ts +14 -6
- package/types/ngx-semantic-core-enums.d.ts +1 -1
- package/types/ngx-semantic-elements-divider.d.ts +3 -1
- package/types/ngx-semantic-modules-dimmer.d.ts +1 -1
- package/types/ngx-semantic-modules-shape.d.ts +4 -3
- package/types/ngx-semantic-modules-sidebar.d.ts +33 -6
|
@@ -10,7 +10,7 @@ type SuiStacking = 'large screen stackable' | 'mobile stackable' | 'computer sta
|
|
|
10
10
|
|
|
11
11
|
type SuiSize = 'mini' | 'tiny' | 'small' | 'medium' | 'large' | 'big' | 'huge' | 'massive' | null;
|
|
12
12
|
|
|
13
|
-
type SuiDeviceVisibility = '
|
|
13
|
+
type SuiDeviceVisibility = 'mobile only' | 'tablet only' | 'computer only' | 'large screen only' | 'widescreen only' | 'tablet mobile only' | null;
|
|
14
14
|
|
|
15
15
|
type SuiWidth = 'one' | 'two' | 'three' | 'four' | 'five' | 'six' | 'seven' | 'eight' | 'nine' | 'ten' | 'eleven' | 'twelve' | 'thirteen' | 'fourteen' | 'fifteen' | 'sixteen' | null;
|
|
16
16
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { BaseDirective } from 'ngx-semantic/core/base';
|
|
1
2
|
import * as i0 from '@angular/core';
|
|
2
3
|
import * as i1 from '@angular/common';
|
|
3
4
|
|
|
4
5
|
type SuiDividerDirection = 'vertical' | 'horizontal' | null;
|
|
5
|
-
declare class SuiDividerDirective {
|
|
6
|
+
declare class SuiDividerDirective extends BaseDirective {
|
|
6
7
|
suiDirection: SuiDividerDirection;
|
|
7
8
|
suiHeader: boolean;
|
|
8
9
|
suiInverted: boolean;
|
|
@@ -10,6 +11,7 @@ declare class SuiDividerDirective {
|
|
|
10
11
|
suiHidden: boolean;
|
|
11
12
|
suiSection: boolean;
|
|
12
13
|
suiClearing: boolean;
|
|
14
|
+
constructor();
|
|
13
15
|
get classes(): string;
|
|
14
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuiDividerDirective, never>;
|
|
15
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SuiDividerDirective, "[sui-divider]", ["suiDivider"], { "suiDirection": { "alias": "suiDirection"; "required": false; }; "suiHeader": { "alias": "suiHeader"; "required": false; }; "suiInverted": { "alias": "suiInverted"; "required": false; }; "suiFitted": { "alias": "suiFitted"; "required": false; }; "suiHidden": { "alias": "suiHidden"; "required": false; }; "suiSection": { "alias": "suiSection"; "required": false; }; "suiClearing": { "alias": "suiClearing"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -14,7 +14,7 @@ declare class SuiDimmerContentDirective {
|
|
|
14
14
|
type SuiDimmerContentAlignment = 'top' | 'bottom' | null;
|
|
15
15
|
declare class SuiDimmerDirective implements OnChanges, OnDestroy {
|
|
16
16
|
private element;
|
|
17
|
-
private
|
|
17
|
+
private environmentInjector;
|
|
18
18
|
private injector;
|
|
19
19
|
private appRef;
|
|
20
20
|
private renderer;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { AfterContentInit, OnDestroy, EventEmitter } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
|
|
5
5
|
declare class SuiShapeSideComponent {
|
|
6
|
-
|
|
6
|
+
private readonly element;
|
|
7
7
|
/** Driven by {@link SuiShapeComponent}; mirrors Semantic UI `.active`. */
|
|
8
8
|
styleActive: boolean;
|
|
9
9
|
/** Driven by {@link SuiShapeComponent}; mirrors Semantic UI `.hidden`. */
|
|
@@ -12,10 +12,11 @@ declare class SuiShapeSideComponent {
|
|
|
12
12
|
styleAnimating: boolean;
|
|
13
13
|
/** Inline styles applied during 3D animation (transform, top, left). */
|
|
14
14
|
inlineStyles: Record<string, string | null>;
|
|
15
|
+
protected readonly sideClass = true;
|
|
15
16
|
get nativeElement(): HTMLElement;
|
|
16
17
|
clearInlineStyles(): void;
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuiShapeSideComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SuiShapeSideComponent, "sui-shape-side",
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuiShapeSideComponent, "sui-shape-side", ["suiShapeSide"], {}, {}, never, ["*"], true, never>;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
type SuiShapeDimension = 'initial' | 'next' | number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { OnInit, OnDestroy, EventEmitter, AfterContentInit } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -9,32 +9,49 @@ import * as i1 from '@angular/common';
|
|
|
9
9
|
type SuiSidebarPosition = 'top' | 'bottom' | 'left' | 'right';
|
|
10
10
|
type SuiSidebarWidth = 'thin' | 'very thin' | 'wide' | 'very wide' | null;
|
|
11
11
|
type SuiSidebarAnimation = 'overlay' | 'push' | 'scale down' | 'uncover' | 'slide along' | 'slide out' | null;
|
|
12
|
-
declare class SuiSidebarComponent {
|
|
12
|
+
declare class SuiSidebarComponent implements OnInit, OnDestroy {
|
|
13
13
|
private sidebarService;
|
|
14
14
|
suiSidebarPosition: SuiSidebarPosition;
|
|
15
15
|
suiSidebarWidth: SuiSidebarWidth;
|
|
16
16
|
suiSidebarAnimation: SuiSidebarAnimation;
|
|
17
17
|
suiInverted: boolean;
|
|
18
|
+
/** Whether clicking the pusher hides a sidebar whose visibility is two-way bound. */
|
|
19
|
+
suiClosable: boolean;
|
|
18
20
|
visibleChange: EventEmitter<boolean>;
|
|
21
|
+
animating: boolean;
|
|
19
22
|
private _visible;
|
|
23
|
+
private animationTimer;
|
|
24
|
+
private initialised;
|
|
25
|
+
private readonly subscription;
|
|
20
26
|
get visible(): boolean;
|
|
21
27
|
set visible(isVisible: boolean);
|
|
22
28
|
get classes(): string;
|
|
23
29
|
constructor();
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
ngOnDestroy(): void;
|
|
32
|
+
/** Mirrors `sidebar('toggle')`. */
|
|
33
|
+
toggle(): void;
|
|
34
|
+
/** Mirrors `sidebar('show')`. */
|
|
35
|
+
show(): void;
|
|
36
|
+
/** Mirrors `sidebar('hide')`. */
|
|
37
|
+
hide(): void;
|
|
38
|
+
private startAnimating;
|
|
24
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuiSidebarComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SuiSidebarComponent, "sui-sidebar, [sui-sidebar]",
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuiSidebarComponent, "sui-sidebar, [sui-sidebar]", ["suiSidebar"], { "suiSidebarPosition": { "alias": "suiSidebarPosition"; "required": false; }; "suiSidebarWidth": { "alias": "suiSidebarWidth"; "required": false; }; "suiSidebarAnimation": { "alias": "suiSidebarAnimation"; "required": false; }; "suiInverted": { "alias": "suiInverted"; "required": false; }; "suiClosable": { "alias": "suiClosable"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, { "visibleChange": "visibleChange"; }, never, ["*"], true, never>;
|
|
26
41
|
}
|
|
27
42
|
|
|
28
43
|
/**
|
|
29
44
|
* Created by bolorundurowb on 12/30/2020
|
|
30
45
|
*/
|
|
31
46
|
|
|
32
|
-
declare class SuiSidebarPusherComponent implements OnInit {
|
|
47
|
+
declare class SuiSidebarPusherComponent implements OnInit, OnDestroy {
|
|
33
48
|
private sidebarService;
|
|
34
49
|
suiDimmable: boolean;
|
|
35
50
|
isSidebarOpen: boolean;
|
|
51
|
+
private subscription;
|
|
36
52
|
get classes(): string;
|
|
37
53
|
ngOnInit(): void;
|
|
54
|
+
ngOnDestroy(): void;
|
|
38
55
|
onClick(): void;
|
|
39
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuiSidebarPusherComponent, never>;
|
|
40
57
|
static ɵcmp: i0.ɵɵComponentDeclaration<SuiSidebarPusherComponent, "sui-sidebar-pusher", never, { "suiDimmable": { "alias": "suiDimmable"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
@@ -44,12 +61,22 @@ declare class SuiSidebarPusherComponent implements OnInit {
|
|
|
44
61
|
* Created by bolorundurowb on 1/1/2021
|
|
45
62
|
*/
|
|
46
63
|
|
|
47
|
-
declare class SuiSidebarContainerComponent implements AfterContentInit {
|
|
64
|
+
declare class SuiSidebarContainerComponent implements AfterContentInit, OnDestroy {
|
|
65
|
+
private sidebarService;
|
|
48
66
|
suiSidebar: SuiSidebarComponent;
|
|
49
67
|
suiPusher: SuiSidebarPusherComponent;
|
|
68
|
+
/**
|
|
69
|
+
* Makes the container the sidebar's context (Semantic UI `pushable`). The sidebar and dimmer are then
|
|
70
|
+
* positioned inside the container rather than the viewport. Always applied when the pusher is dimmable,
|
|
71
|
+
* since Semantic UI only renders the dimmer inside a pushable context.
|
|
72
|
+
*/
|
|
73
|
+
suiPushable: boolean;
|
|
74
|
+
private subscription;
|
|
75
|
+
get isPushable(): boolean;
|
|
50
76
|
ngAfterContentInit(): void;
|
|
77
|
+
ngOnDestroy(): void;
|
|
51
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuiSidebarContainerComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SuiSidebarContainerComponent, "sui-sidebar-container", never, {}, {}, ["suiSidebar", "suiPusher"], ["*"], true, never>;
|
|
79
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuiSidebarContainerComponent, "sui-sidebar-container", never, { "suiPushable": { "alias": "suiPushable"; "required": false; }; }, {}, ["suiSidebar", "suiPusher"], ["*"], true, never>;
|
|
53
80
|
}
|
|
54
81
|
|
|
55
82
|
declare class SuiSidebarModule {
|