@net7/components 3.7.0 → 3.8.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/esm2020/lib/components/avatar/avatar.mjs +34 -0
- package/esm2020/lib/components/avatar/avatar.mock.mjs +12 -0
- package/esm2020/lib/components/carousel/carousel.mjs +3 -3
- package/esm2020/lib/components/carousel/carousel.mock.mjs +2 -1
- package/esm2020/lib/components/data-widget/data-widget.mjs +3 -3
- package/esm2020/lib/components/data-widget/data-widget.mock.mjs +4 -1
- package/esm2020/lib/components/header/header.mjs +5 -4
- package/esm2020/lib/components/header/header.mock.mjs +11 -3
- package/esm2020/lib/components/inner-title/inner-title.mjs +1 -1
- package/esm2020/lib/components/nav/nav.mjs +8 -3
- package/esm2020/lib/components/nav/nav.mock.mjs +9 -2
- package/esm2020/lib/components/tag/tag.mjs +3 -3
- package/esm2020/lib/components/tag/tag.mock.mjs +9 -2
- package/esm2020/lib/components/text-viewer/text-viewer.mjs +4 -4
- package/esm2020/lib/components/text-viewer/text-viewer.mock.mjs +3 -3
- package/esm2020/lib/dv-components-lib.module.mjs +5 -1
- package/esm2020/lib/shared-interfaces.mjs +1 -1
- package/esm2020/public-api.mjs +3 -1
- package/fesm2015/net7-components.mjs +95 -20
- package/fesm2015/net7-components.mjs.map +1 -1
- package/fesm2020/net7-components.mjs +95 -20
- package/fesm2020/net7-components.mjs.map +1 -1
- package/lib/components/avatar/avatar.d.ts +57 -0
- package/lib/components/avatar/avatar.mock.d.ts +2 -0
- package/lib/components/carousel/carousel.d.ts +5 -1
- package/lib/components/data-widget/data-widget.d.ts +18 -1
- package/lib/components/header/header.d.ts +16 -19
- package/lib/components/inner-title/inner-title.d.ts +12 -14
- package/lib/components/nav/nav.d.ts +7 -2
- package/lib/components/tag/tag.d.ts +6 -1
- package/lib/dv-components-lib.module.d.ts +43 -42
- package/lib/shared-interfaces.d.ts +12 -1
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/src/lib/styles/_imports.scss +1 -0
- package/src/lib/styles/components/_avatar.scss +41 -0
- package/src/lib/styles/components/_carousel.scss +12 -0
- package/src/lib/styles/components/_data-widget.scss +5 -0
- package/src/lib/styles/components/_header.scss +4 -0
- package/src/lib/styles/components/_nav.scss +4 -0
- package/src/lib/styles/components/_tag.scss +5 -2
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Image } from '../../shared-interfaces';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* --- REQUIREMENTS ---
|
|
5
|
+
* + Can have a background image
|
|
6
|
+
* + Can have a background color
|
|
7
|
+
* + Can have an internal label
|
|
8
|
+
*
|
|
9
|
+
* + click event
|
|
10
|
+
* + hover event
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Interface for Avatar's "Data"
|
|
14
|
+
*
|
|
15
|
+
* @property items (required)
|
|
16
|
+
* @property classes (optional)
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface AvatarData {
|
|
20
|
+
/**
|
|
21
|
+
* user image
|
|
22
|
+
*/
|
|
23
|
+
image?: Image;
|
|
24
|
+
/**
|
|
25
|
+
* background color (missing image)
|
|
26
|
+
*/
|
|
27
|
+
color?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Font color for the internal label (missing image)
|
|
30
|
+
*/
|
|
31
|
+
labelColor?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Internal label (missing image)
|
|
34
|
+
*/
|
|
35
|
+
label?: string;
|
|
36
|
+
/**
|
|
37
|
+
* avatar width & height
|
|
38
|
+
*/
|
|
39
|
+
size: string | number;
|
|
40
|
+
/**
|
|
41
|
+
* additional html classes
|
|
42
|
+
*/
|
|
43
|
+
classes?: string;
|
|
44
|
+
/**
|
|
45
|
+
* data for events
|
|
46
|
+
*/
|
|
47
|
+
payload?: any;
|
|
48
|
+
}
|
|
49
|
+
export declare class AvatarComponent {
|
|
50
|
+
data: AvatarData;
|
|
51
|
+
emit: any;
|
|
52
|
+
onClick(payload: any): void;
|
|
53
|
+
onMouseEnter(payload: any): void;
|
|
54
|
+
onMouseLeave(payload: any): void;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "n7-avatar", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
57
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterContentChecked } from '@angular/core';
|
|
2
|
-
import { Anchor } from '../../shared-interfaces';
|
|
2
|
+
import { Anchor, Image } from '../../shared-interfaces';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* Interface for PaginationComponent's links (pages and navigation buttons)
|
|
@@ -82,6 +82,10 @@ export interface CarouselForegroundItem {
|
|
|
82
82
|
* Text paragraph / subtitle / pretitle
|
|
83
83
|
*/
|
|
84
84
|
text?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Image file path
|
|
87
|
+
*/
|
|
88
|
+
image?: Image;
|
|
85
89
|
/**
|
|
86
90
|
* Metadata
|
|
87
91
|
*/
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
/**
|
|
3
|
-
* Interface for
|
|
3
|
+
* Interface for svg/img icons
|
|
4
|
+
*/
|
|
5
|
+
export interface ImgIcon {
|
|
6
|
+
/** Path to the resource */
|
|
7
|
+
path: string;
|
|
8
|
+
/** Alt text for <img/> */
|
|
9
|
+
alt?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Interface for the data widget component's data
|
|
4
13
|
*
|
|
5
14
|
* @property icon (optional)
|
|
6
15
|
* @property text (required)
|
|
@@ -14,6 +23,10 @@ export interface DataWidgetData {
|
|
|
14
23
|
* item icon
|
|
15
24
|
*/
|
|
16
25
|
icon?: string;
|
|
26
|
+
/**
|
|
27
|
+
* image icon
|
|
28
|
+
*/
|
|
29
|
+
imgIcon?: ImgIcon;
|
|
17
30
|
/**
|
|
18
31
|
* item text
|
|
19
32
|
*/
|
|
@@ -27,6 +40,10 @@ export interface DataWidgetData {
|
|
|
27
40
|
* item subtitle icon
|
|
28
41
|
*/
|
|
29
42
|
icon: string;
|
|
43
|
+
/**
|
|
44
|
+
* image icon
|
|
45
|
+
*/
|
|
46
|
+
imgIcon?: ImgIcon;
|
|
30
47
|
/**
|
|
31
48
|
* percent rate
|
|
32
49
|
*/
|
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
import { InputSelectData } from '../input-select/input-select';
|
|
2
2
|
import { Anchor } from '../../shared-interfaces';
|
|
3
|
+
import { AvatarData } from '../avatar/avatar';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
export interface UserData extends AvatarData {
|
|
6
|
+
/**
|
|
7
|
+
* user's profile name
|
|
8
|
+
*/
|
|
9
|
+
name?: string;
|
|
10
|
+
/**
|
|
11
|
+
* external url
|
|
12
|
+
*/
|
|
13
|
+
anchor?: Anchor;
|
|
14
|
+
/**
|
|
15
|
+
* additional info
|
|
16
|
+
*/
|
|
17
|
+
_meta?: any;
|
|
18
|
+
}
|
|
4
19
|
/**
|
|
5
20
|
* Interface for a single button
|
|
6
21
|
*
|
|
@@ -211,25 +226,7 @@ export interface HeaderData {
|
|
|
211
226
|
/**
|
|
212
227
|
* user parameters
|
|
213
228
|
*/
|
|
214
|
-
user?:
|
|
215
|
-
/**
|
|
216
|
-
* user's profile picture
|
|
217
|
-
*/
|
|
218
|
-
img?: string;
|
|
219
|
-
/**
|
|
220
|
-
* user's profile name
|
|
221
|
-
*/
|
|
222
|
-
name?: string;
|
|
223
|
-
/**
|
|
224
|
-
* additional html classes
|
|
225
|
-
*/
|
|
226
|
-
classes?: string;
|
|
227
|
-
anchor: Anchor;
|
|
228
|
-
/**
|
|
229
|
-
* additional info
|
|
230
|
-
*/
|
|
231
|
-
_meta?: any;
|
|
232
|
-
};
|
|
229
|
+
user?: UserData;
|
|
233
230
|
/**
|
|
234
231
|
* menu toggle for mobile
|
|
235
232
|
*/
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { Anchor, Icon } from '../../shared-interfaces';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
export interface InnerTitleOptions {
|
|
4
|
+
text: string;
|
|
5
|
+
value: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
selected?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface InnerTitleButtons {
|
|
10
|
+
anchor: Anchor;
|
|
11
|
+
text: string;
|
|
12
|
+
classes?: any;
|
|
13
|
+
icon?: string;
|
|
14
|
+
}
|
|
3
15
|
/**
|
|
4
16
|
* Interface for InnerTitleComponent's "data"
|
|
5
|
-
*
|
|
6
|
-
* @property NAME (required|options) <--- TODO: update with interface properties
|
|
7
17
|
*/
|
|
8
18
|
export interface InnerTitleData {
|
|
9
19
|
icon?: Icon;
|
|
@@ -37,18 +47,6 @@ export interface InnerTitleData {
|
|
|
37
47
|
buttons?: InnerTitleButtons[];
|
|
38
48
|
};
|
|
39
49
|
}
|
|
40
|
-
export interface InnerTitleOptions {
|
|
41
|
-
text: string;
|
|
42
|
-
value: string;
|
|
43
|
-
disabled?: boolean;
|
|
44
|
-
selected?: boolean;
|
|
45
|
-
}
|
|
46
|
-
export interface InnerTitleButtons {
|
|
47
|
-
anchor: Anchor;
|
|
48
|
-
text: string;
|
|
49
|
-
classes?: any;
|
|
50
|
-
icon?: Icon;
|
|
51
|
-
}
|
|
52
50
|
export declare class InnerTitleComponent {
|
|
53
51
|
data: InnerTitleData;
|
|
54
52
|
emit: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Anchor } from '../../shared-interfaces';
|
|
1
|
+
import { Anchor, Icon } from '../../shared-interfaces';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* Interface for a single navbar item
|
|
@@ -20,7 +20,11 @@ export interface NavItem {
|
|
|
20
20
|
/**
|
|
21
21
|
* icon name/class from icon font
|
|
22
22
|
*/
|
|
23
|
-
icon?:
|
|
23
|
+
icon?: Icon;
|
|
24
|
+
/**
|
|
25
|
+
* A secondary icon
|
|
26
|
+
*/
|
|
27
|
+
iconSecondary?: Icon;
|
|
24
28
|
/**
|
|
25
29
|
* additional html classes
|
|
26
30
|
*/
|
|
@@ -61,6 +65,7 @@ export declare class NavComponent {
|
|
|
61
65
|
data: NavData;
|
|
62
66
|
emit: any;
|
|
63
67
|
onClick(payload: any): void;
|
|
68
|
+
onMouseEnter(payload: any): void;
|
|
64
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavComponent, never>;
|
|
65
70
|
static ɵcmp: i0.ɵɵComponentDeclaration<NavComponent, "n7-nav", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
66
71
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Icon } from '../../shared-interfaces';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
/**
|
|
3
4
|
* Interface for TagComponent's "data"
|
|
@@ -22,7 +23,11 @@ export interface TagData {
|
|
|
22
23
|
/**
|
|
23
24
|
* action icon (on right side)
|
|
24
25
|
*/
|
|
25
|
-
icon?:
|
|
26
|
+
icon?: Icon;
|
|
27
|
+
/**
|
|
28
|
+
* action icon (on right side)
|
|
29
|
+
*/
|
|
30
|
+
preIcon?: Icon;
|
|
26
31
|
/**
|
|
27
32
|
* additional html classes
|
|
28
33
|
*/
|
|
@@ -2,49 +2,50 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./components/advanced-autocomplete/advanced-autocomplete";
|
|
3
3
|
import * as i2 from "./components/alert/alert";
|
|
4
4
|
import * as i3 from "./components/anchor-wrapper/anchor-wrapper";
|
|
5
|
-
import * as i4 from "./components/
|
|
6
|
-
import * as i5 from "./components/
|
|
7
|
-
import * as i6 from "./components/
|
|
8
|
-
import * as i7 from "./components/
|
|
9
|
-
import * as i8 from "./components/
|
|
10
|
-
import * as i9 from "./components/
|
|
11
|
-
import * as i10 from "./components/
|
|
12
|
-
import * as i11 from "./components/
|
|
13
|
-
import * as i12 from "./components/facet
|
|
14
|
-
import * as i13 from "./components/facet-
|
|
15
|
-
import * as i14 from "./components/
|
|
16
|
-
import * as i15 from "./components/
|
|
17
|
-
import * as i16 from "./components/
|
|
18
|
-
import * as i17 from "./components/
|
|
19
|
-
import * as i18 from "./components/
|
|
20
|
-
import * as i19 from "./components/image-viewer
|
|
21
|
-
import * as i20 from "./components/
|
|
22
|
-
import * as i21 from "./components/
|
|
23
|
-
import * as i22 from "./components/input-
|
|
24
|
-
import * as i23 from "./components/input-
|
|
25
|
-
import * as i24 from "./components/input-
|
|
26
|
-
import * as i25 from "./components/
|
|
27
|
-
import * as i26 from "./components/
|
|
28
|
-
import * as i27 from "./components/
|
|
29
|
-
import * as i28 from "./components/
|
|
30
|
-
import * as i29 from "./components/
|
|
31
|
-
import * as i30 from "./components/
|
|
32
|
-
import * as i31 from "./components/
|
|
33
|
-
import * as i32 from "./components/
|
|
34
|
-
import * as i33 from "./components/
|
|
35
|
-
import * as i34 from "./components/
|
|
36
|
-
import * as i35 from "./components/
|
|
37
|
-
import * as i36 from "./components/
|
|
38
|
-
import * as i37 from "./components/
|
|
39
|
-
import * as i38 from "./components/
|
|
40
|
-
import * as i39 from "./components/
|
|
41
|
-
import * as i40 from "./components/
|
|
42
|
-
import * as i41 from "./components/
|
|
43
|
-
import * as i42 from "./components/
|
|
44
|
-
import * as i43 from "
|
|
45
|
-
import * as i44 from "@angular/
|
|
5
|
+
import * as i4 from "./components/avatar/avatar";
|
|
6
|
+
import * as i5 from "./components/breadcrumbs/breadcrumbs";
|
|
7
|
+
import * as i6 from "./components/bubble-chart/bubble-chart";
|
|
8
|
+
import * as i7 from "./components/carousel/carousel";
|
|
9
|
+
import * as i8 from "./components/chart/chart";
|
|
10
|
+
import * as i9 from "./components/content-placeholder/content-placeholder";
|
|
11
|
+
import * as i10 from "./components/data-widget/data-widget";
|
|
12
|
+
import * as i11 from "./components/datepicker/datepicker";
|
|
13
|
+
import * as i12 from "./components/facet/facet";
|
|
14
|
+
import * as i13 from "./components/facet-header/facet-header";
|
|
15
|
+
import * as i14 from "./components/facet-year-range/facet-year-range";
|
|
16
|
+
import * as i15 from "./components/footer/footer";
|
|
17
|
+
import * as i16 from "./components/header/header";
|
|
18
|
+
import * as i17 from "./components/hero/hero";
|
|
19
|
+
import * as i18 from "./components/histogram-range/histogram-range";
|
|
20
|
+
import * as i19 from "./components/image-viewer/image-viewer";
|
|
21
|
+
import * as i20 from "./components/image-viewer-tools/image-viewer-tools";
|
|
22
|
+
import * as i21 from "./components/inner-title/inner-title";
|
|
23
|
+
import * as i22 from "./components/input-checkbox/input-checkbox";
|
|
24
|
+
import * as i23 from "./components/input-link/input-link";
|
|
25
|
+
import * as i24 from "./components/input-select/input-select";
|
|
26
|
+
import * as i25 from "./components/input-text/input-text";
|
|
27
|
+
import * as i26 from "./components/item-preview/item-preview";
|
|
28
|
+
import * as i27 from "./components/loader/loader";
|
|
29
|
+
import * as i28 from "./components/map/map";
|
|
30
|
+
import * as i29 from "./components/metadata-viewer/metadata-viewer";
|
|
31
|
+
import * as i30 from "./components/nav/nav";
|
|
32
|
+
import * as i31 from "./components/pagination/pagination";
|
|
33
|
+
import * as i32 from "./components/sidebar-header/sidebar-header";
|
|
34
|
+
import * as i33 from "./components/signup/signup";
|
|
35
|
+
import * as i34 from "./components/simple-autocomplete/simple-autocomplete";
|
|
36
|
+
import * as i35 from "./components/table/table";
|
|
37
|
+
import * as i36 from "./components/tag/tag";
|
|
38
|
+
import * as i37 from "./components/text-viewer/text-viewer";
|
|
39
|
+
import * as i38 from "./components/timeline/timeline";
|
|
40
|
+
import * as i39 from "./components/toast/toast";
|
|
41
|
+
import * as i40 from "./components/tooltip-content/tooltip-content";
|
|
42
|
+
import * as i41 from "./components/tree/tree";
|
|
43
|
+
import * as i42 from "./components/wizard/wizard";
|
|
44
|
+
import * as i43 from "./components/progress-line/progress-line";
|
|
45
|
+
import * as i44 from "@angular/common";
|
|
46
|
+
import * as i45 from "@angular/router";
|
|
46
47
|
export declare class DvComponentsLibModule {
|
|
47
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<DvComponentsLibModule, never>;
|
|
48
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DvComponentsLibModule, [typeof i1.AdvancedAutocompleteComponent, typeof i2.AlertComponent, typeof i3.AnchorWrapperComponent, typeof i4.
|
|
49
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DvComponentsLibModule, [typeof i1.AdvancedAutocompleteComponent, typeof i2.AlertComponent, typeof i3.AnchorWrapperComponent, typeof i4.AvatarComponent, typeof i5.BreadcrumbsComponent, typeof i6.BubbleChartComponent, typeof i7.CarouselComponent, typeof i8.ChartComponent, typeof i9.ContentPlaceholderComponent, typeof i10.DataWidgetComponent, typeof i11.DatepickerComponent, typeof i12.FacetComponent, typeof i13.FacetHeaderComponent, typeof i14.FacetYearRangeComponent, typeof i15.FooterComponent, typeof i16.HeaderComponent, typeof i17.HeroComponent, typeof i18.HistogramRangeComponent, typeof i19.ImageViewerComponent, typeof i20.ImageViewerToolsComponent, typeof i21.InnerTitleComponent, typeof i22.InputCheckboxComponent, typeof i23.InputLinkComponent, typeof i24.InputSelectComponent, typeof i25.InputTextComponent, typeof i26.ItemPreviewComponent, typeof i27.LoaderComponent, typeof i28.MapComponent, typeof i29.MetadataViewerComponent, typeof i30.NavComponent, typeof i31.PaginationComponent, typeof i32.SidebarHeaderComponent, typeof i33.SignupComponent, typeof i34.SimpleAutocompleteComponent, typeof i35.TableComponent, typeof i36.TagComponent, typeof i37.TextViewerComponent, typeof i38.TimelineComponent, typeof i39.ToastComponent, typeof i40.TooltipContentComponent, typeof i41.TreeComponent, typeof i42.WizardComponent, typeof i43.ProgressLineComponent], [typeof i44.CommonModule, typeof i45.RouterModule], [typeof i1.AdvancedAutocompleteComponent, typeof i2.AlertComponent, typeof i3.AnchorWrapperComponent, typeof i4.AvatarComponent, typeof i5.BreadcrumbsComponent, typeof i6.BubbleChartComponent, typeof i7.CarouselComponent, typeof i8.ChartComponent, typeof i9.ContentPlaceholderComponent, typeof i10.DataWidgetComponent, typeof i11.DatepickerComponent, typeof i12.FacetComponent, typeof i13.FacetHeaderComponent, typeof i14.FacetYearRangeComponent, typeof i15.FooterComponent, typeof i16.HeaderComponent, typeof i17.HeroComponent, typeof i18.HistogramRangeComponent, typeof i19.ImageViewerComponent, typeof i20.ImageViewerToolsComponent, typeof i21.InnerTitleComponent, typeof i22.InputCheckboxComponent, typeof i23.InputLinkComponent, typeof i24.InputSelectComponent, typeof i25.InputTextComponent, typeof i26.ItemPreviewComponent, typeof i27.LoaderComponent, typeof i28.MapComponent, typeof i29.MetadataViewerComponent, typeof i30.NavComponent, typeof i31.PaginationComponent, typeof i32.SidebarHeaderComponent, typeof i33.SignupComponent, typeof i34.SimpleAutocompleteComponent, typeof i35.TableComponent, typeof i36.TagComponent, typeof i37.TextViewerComponent, typeof i38.TimelineComponent, typeof i39.ToastComponent, typeof i40.TooltipContentComponent, typeof i41.TreeComponent, typeof i42.WizardComponent, typeof i43.ProgressLineComponent]>;
|
|
49
50
|
static ɵinj: i0.ɵɵInjectorDeclaration<DvComponentsLibModule>;
|
|
50
51
|
}
|
|
@@ -57,4 +57,15 @@ export declare type Icon = {
|
|
|
57
57
|
style?: object;
|
|
58
58
|
/** Event payload */
|
|
59
59
|
payload?: any;
|
|
60
|
-
}
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Type for an image / svg element.
|
|
63
|
+
*/
|
|
64
|
+
export declare type Image = {
|
|
65
|
+
/** File path */
|
|
66
|
+
src: string;
|
|
67
|
+
/** Alt text */
|
|
68
|
+
alt?: string;
|
|
69
|
+
/** Optional classes */
|
|
70
|
+
classes?: string;
|
|
71
|
+
};
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './lib/shared-interfaces';
|
|
|
3
3
|
export * from './lib/components/advanced-autocomplete/advanced-autocomplete';
|
|
4
4
|
export * from './lib/components/alert/alert';
|
|
5
5
|
export * from './lib/components/anchor-wrapper/anchor-wrapper';
|
|
6
|
+
export * from './lib/components/avatar/avatar';
|
|
6
7
|
export * from './lib/components/breadcrumbs/breadcrumbs';
|
|
7
8
|
export * from './lib/components/bubble-chart/bubble-chart';
|
|
8
9
|
export * from './lib/components/carousel/carousel';
|
|
@@ -44,6 +45,7 @@ export * from './lib/components/tree/tree';
|
|
|
44
45
|
export * from './lib/components/wizard/wizard';
|
|
45
46
|
export * from './lib/components/advanced-autocomplete/advanced-autocomplete.mock';
|
|
46
47
|
export * from './lib/components/alert/alert.mock';
|
|
48
|
+
export * from './lib/components/avatar/avatar.mock';
|
|
47
49
|
export * from './lib/components/breadcrumbs/breadcrumbs.mock';
|
|
48
50
|
export * from './lib/components/bubble-chart/bubble-chart.mock';
|
|
49
51
|
export * from './lib/components/carousel/carousel.mock';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AVATAR
|
|
3
|
+
*
|
|
4
|
+
* User avatar component.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
NAV
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-avatar {
|
|
11
|
+
padding: 0;
|
|
12
|
+
margin: 0;
|
|
13
|
+
|
|
14
|
+
&__background {
|
|
15
|
+
border-radius: 50%;
|
|
16
|
+
background-size: cover;
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
|
|
21
|
+
font-family: $font-family-main;
|
|
22
|
+
font-weight: $font-weight-bold;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
/* ------------------------------------ *\
|
|
28
|
+
#MEDIA-QUERIES
|
|
29
|
+
\* ------------------------------------ */
|
|
30
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Retina */
|
|
40
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
41
|
+
}
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
justify-content: flex-end;
|
|
48
48
|
align-items: flex-end;
|
|
49
49
|
padding: 3px;
|
|
50
|
+
position: relative;
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
&__slide-title {
|
|
@@ -65,6 +66,17 @@
|
|
|
65
66
|
color: $color-text-inverse;
|
|
66
67
|
}
|
|
67
68
|
|
|
69
|
+
&__slide-img {
|
|
70
|
+
height: 100px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.n7-carousel__side-img {
|
|
74
|
+
height: 100px;
|
|
75
|
+
position: absolute;
|
|
76
|
+
z-index: -1;
|
|
77
|
+
height: 100%;
|
|
78
|
+
}
|
|
79
|
+
|
|
68
80
|
&__slide-metadata-wrapper {
|
|
69
81
|
}
|
|
70
82
|
|
|
@@ -9,10 +9,12 @@
|
|
|
9
9
|
TAG
|
|
10
10
|
\* ------------------------------------ */
|
|
11
11
|
.n7-tag {
|
|
12
|
-
padding: calc($space/2) $space;
|
|
12
|
+
padding: calc($space/2) + 2 $space;
|
|
13
13
|
background-color: $color-second;
|
|
14
14
|
border-radius: $border-radius-hard;
|
|
15
15
|
font-size: $font-size-xs;
|
|
16
|
+
display: inline-flex;
|
|
17
|
+
align-items: center;
|
|
16
18
|
|
|
17
19
|
&__label, &__text {
|
|
18
20
|
color: $color-text-inverse;
|
|
@@ -22,10 +24,11 @@
|
|
|
22
24
|
|
|
23
25
|
&__label {
|
|
24
26
|
font-weight: $font-weight-bold;
|
|
27
|
+
margin-right: calc($space/2);
|
|
25
28
|
}
|
|
26
29
|
|
|
27
30
|
&__icon {
|
|
28
|
-
margin
|
|
31
|
+
margin: 0 calc($space/2);
|
|
29
32
|
font-size: $font-size-xs;
|
|
30
33
|
color: $color-text-inverse;
|
|
31
34
|
line-height: 1;
|