@net7/components 4.2.0 → 4.2.3-rc4
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/README.md +2 -1
- package/esm2022/lib/components/advanced-autocomplete/advanced-autocomplete.mjs +25 -0
- package/esm2022/lib/components/advanced-autocomplete/advanced-autocomplete.mock.mjs +147 -0
- package/esm2022/lib/components/alert/alert.mjs +24 -0
- package/{esm2020 → esm2022}/lib/components/alert/alert.mock.mjs +2 -2
- package/esm2022/lib/components/anchor-wrapper/anchor-wrapper.mjs +35 -0
- package/esm2022/lib/components/avatar/avatar.mjs +34 -0
- package/esm2022/lib/components/breadcrumbs/breadcrumbs.mjs +25 -0
- package/{esm2020 → esm2022}/lib/components/breadcrumbs/breadcrumbs.mock.mjs +8 -8
- package/esm2022/lib/components/bubble-chart/bubble-chart.mjs +336 -0
- package/{esm2020 → esm2022}/lib/components/bubble-chart/bubble-chart.mock.mjs +249 -249
- package/esm2022/lib/components/button/button.mjs +26 -0
- package/{esm2020 → esm2022}/lib/components/button/button.mock.mjs +3 -3
- package/esm2022/lib/components/carousel/carousel.mjs +97 -0
- package/esm2022/lib/components/carousel/carousel.mock.mjs +157 -0
- package/esm2022/lib/components/chart/chart.mjs +37 -0
- package/esm2022/lib/components/chart/chart.mock.mjs +127 -0
- package/esm2022/lib/components/content-placeholder/content-placeholder.mjs +17 -0
- package/{esm2020 → esm2022}/lib/components/content-placeholder/content-placeholder.mock.mjs +6 -3
- package/esm2022/lib/components/data-widget/data-widget.mjs +29 -0
- package/{esm2020 → esm2022}/lib/components/data-widget/data-widget.mock.mjs +4 -4
- package/esm2022/lib/components/datepicker/datepicker.mjs +44 -0
- package/esm2022/lib/components/facet/facet.mjs +24 -0
- package/esm2022/lib/components/facet/facet.mock.mjs +169 -0
- package/esm2022/lib/components/facet-header/facet-header.mjs +24 -0
- package/esm2022/lib/components/facet-year-range/facet-year-range.mjs +53 -0
- package/esm2022/lib/components/file-selector/file-selector.mjs +41 -0
- package/{esm2020 → esm2022}/lib/components/file-selector/file-selector.mock.mjs +2 -2
- package/esm2022/lib/components/footer/footer.mjs +26 -0
- package/esm2022/lib/components/footer/footer.mock.mjs +60 -0
- package/esm2022/lib/components/header/header.mjs +53 -0
- package/esm2022/lib/components/header/header.mock.mjs +119 -0
- package/esm2022/lib/components/hero/hero.mjs +41 -0
- package/{esm2020 → esm2022}/lib/components/hero/hero.mock.mjs +5 -5
- package/esm2022/lib/components/histogram-range/histogram-range.mjs +390 -0
- package/{esm2020 → esm2022}/lib/components/histogram-range/histogram-range.mock.mjs +4 -4
- package/esm2022/lib/components/icon/icon.mjs +21 -0
- package/{esm2020 → esm2022}/lib/components/icon/icon.mock.mjs +2 -2
- package/esm2022/lib/components/image-viewer/image-viewer.mjs +57 -0
- package/esm2022/lib/components/image-viewer/image-viewer.mock.mjs +29 -0
- package/esm2022/lib/components/image-viewer-tools/image-viewer-tools.mjs +28 -0
- package/esm2022/lib/components/image-viewer-tools/image-viewer-tools.mock.mjs +54 -0
- package/esm2022/lib/components/inner-title/inner-title.mjs +40 -0
- package/esm2022/lib/components/inner-title/inner-title.mock.mjs +53 -0
- package/esm2022/lib/components/input-checkbox/input-checkbox.mjs +24 -0
- package/esm2022/lib/components/input-checkbox/input-checkbox.mock.mjs +31 -0
- package/esm2022/lib/components/input-link/input-link.mjs +24 -0
- package/esm2022/lib/components/input-link/input-link.mock.mjs +66 -0
- package/{esm2020 → esm2022}/lib/components/input-select/input-select.mjs +5 -5
- package/esm2022/lib/components/input-text/input-text.mjs +34 -0
- package/esm2022/lib/components/input-textarea/input-textarea.mjs +21 -0
- package/esm2022/lib/components/item-preview/item-preview.mjs +25 -0
- package/esm2022/lib/components/item-preview/item-preview.mock.mjs +46 -0
- package/esm2022/lib/components/loader/loader.mjs +16 -0
- package/{esm2020 → esm2022}/lib/components/loader/loader.mock.mjs +2 -2
- package/esm2022/lib/components/map/map.mjs +66 -0
- package/{esm2020 → esm2022}/lib/components/map/map.mock.mjs +14 -10
- package/esm2022/lib/components/metadata-viewer/metadata-viewer.mjs +19 -0
- package/esm2022/lib/components/metadata-viewer/metadata-viewer.mock.mjs +75 -0
- package/esm2022/lib/components/mirador/mirador.mjs +36 -0
- package/esm2022/lib/components/mirador/mirador.mock.mjs +23 -0
- package/esm2022/lib/components/mirador/miradorTheme.mjs +220 -0
- package/esm2022/lib/components/nav/nav.mjs +27 -0
- package/esm2022/lib/components/nav/nav.mock.mjs +46 -0
- package/esm2022/lib/components/pagination/pagination.mjs +31 -0
- package/esm2022/lib/components/pagination/pagination.mock.mjs +27 -0
- package/esm2022/lib/components/progress-line/progress-line.mjs +19 -0
- package/esm2022/lib/components/sidebar-header/sidebar-header.mjs +24 -0
- package/esm2022/lib/components/signup/signup.mjs +44 -0
- package/{esm2020 → esm2022}/lib/components/signup/signup.mock.mjs +14 -14
- package/esm2022/lib/components/simple-autocomplete/simple-autocomplete.mjs +25 -0
- package/esm2022/lib/components/simple-autocomplete/simple-autocomplete.mock.mjs +22 -0
- package/esm2022/lib/components/table/table.mjs +35 -0
- package/esm2022/lib/components/table/table.mock.mjs +156 -0
- package/esm2022/lib/components/tag/tag.mjs +35 -0
- package/esm2022/lib/components/text-viewer/text-viewer.mjs +42 -0
- package/{esm2020 → esm2022}/lib/components/text-viewer/text-viewer.mock.mjs +4 -4
- package/esm2022/lib/components/timeline/timeline.mjs +51 -0
- package/esm2022/lib/components/timeline/timeline.mock.mjs +137 -0
- package/esm2022/lib/components/toast/toast.mjs +24 -0
- package/esm2022/lib/components/toast/toast.mock.mjs +65 -0
- package/esm2022/lib/components/tooltip-content/tooltip-content.mjs +25 -0
- package/{esm2020 → esm2022}/lib/components/tooltip-content/tooltip-content.mock.mjs +9 -8
- package/esm2022/lib/components/tree/tree.mjs +25 -0
- package/{esm2020 → esm2022}/lib/components/tree/tree.mock.mjs +44 -44
- package/esm2022/lib/components/wizard/wizard.mjs +24 -0
- package/{esm2020 → esm2022}/lib/components/wizard/wizard.mock.mjs +6 -6
- package/esm2022/lib/dv-components-lib.module.mjs +211 -0
- package/{esm2020 → esm2022}/lib/shared-interfaces.mjs +1 -1
- package/esm2022/public-api.mjs +105 -0
- package/fesm2022/net7-components.mjs +6091 -0
- package/fesm2022/net7-components.mjs.map +1 -0
- package/lib/components/advanced-autocomplete/advanced-autocomplete.d.ts +22 -22
- package/lib/components/alert/alert.d.ts +2 -2
- package/lib/components/anchor-wrapper/anchor-wrapper.d.ts +1 -1
- package/lib/components/avatar/avatar.d.ts +1 -1
- package/lib/components/breadcrumbs/breadcrumbs.d.ts +1 -1
- package/lib/components/bubble-chart/bubble-chart.d.ts +3 -3
- package/lib/components/button/button.d.ts +1 -1
- package/lib/components/carousel/carousel.d.ts +1 -1
- package/lib/components/chart/chart.d.ts +2 -2
- package/lib/components/content-placeholder/content-placeholder.d.ts +6 -6
- package/lib/components/data-widget/data-widget.d.ts +1 -1
- package/lib/components/datepicker/datepicker.d.ts +4 -4
- package/lib/components/facet/facet.d.ts +23 -23
- package/lib/components/facet-header/facet-header.d.ts +1 -1
- package/lib/components/facet-year-range/facet-year-range.d.ts +9 -9
- package/lib/components/file-selector/file-selector.d.ts +1 -1
- package/lib/components/footer/footer.d.ts +4 -4
- package/lib/components/header/header.d.ts +1 -1
- package/lib/components/hero/hero.d.ts +16 -16
- package/lib/components/histogram-range/histogram-range.d.ts +3 -3
- package/lib/components/icon/icon.d.ts +1 -1
- package/lib/components/image-viewer/image-viewer.d.ts +1 -1
- package/lib/components/image-viewer-tools/image-viewer-tools.d.ts +3 -3
- package/lib/components/inner-title/inner-title.d.ts +1 -1
- package/lib/components/input-checkbox/input-checkbox.d.ts +1 -1
- package/lib/components/input-link/input-link.d.ts +1 -1
- package/lib/components/input-select/input-select.d.ts +1 -1
- package/lib/components/input-text/input-text.d.ts +1 -1
- package/lib/components/input-textarea/input-textarea.d.ts +2 -2
- package/lib/components/item-preview/item-preview.d.ts +40 -40
- package/lib/components/loader/loader.d.ts +1 -1
- package/lib/components/map/map.d.ts +1 -1
- package/lib/components/metadata-viewer/metadata-viewer.d.ts +19 -19
- package/lib/components/mirador/mirador.d.ts +15 -0
- package/lib/components/mirador/mirador.mock.d.ts +6 -0
- package/lib/components/mirador/miradorTheme.d.ts +218 -0
- package/lib/components/nav/nav.d.ts +1 -1
- package/lib/components/pagination/pagination.d.ts +1 -1
- package/lib/components/progress-line/progress-line.d.ts +1 -1
- package/lib/components/sidebar-header/sidebar-header.d.ts +1 -1
- package/lib/components/signup/signup.d.ts +1 -1
- package/lib/components/simple-autocomplete/simple-autocomplete.d.ts +11 -11
- package/lib/components/table/table.d.ts +1 -1
- package/lib/components/tag/tag.d.ts +1 -1
- package/lib/components/text-viewer/text-viewer.d.ts +1 -1
- package/lib/components/timeline/timeline.d.ts +1 -1
- package/lib/components/toast/toast.d.ts +1 -1
- package/lib/components/tooltip-content/tooltip-content.d.ts +1 -1
- package/lib/components/tree/tree.d.ts +20 -20
- package/lib/components/wizard/wizard.d.ts +30 -30
- package/lib/dv-components-lib.module.d.ts +19 -18
- package/lib/shared-interfaces.d.ts +3 -3
- package/package.json +8 -14
- package/public-api.d.ts +2 -0
- package/src/lib/styles/_imports.scss +54 -56
- package/src/lib/styles/atoms/_button.scss +37 -30
- package/src/lib/styles/components/_advanced-autocomplete.scss +15 -38
- package/src/lib/styles/components/_alert.scss +6 -18
- package/src/lib/styles/components/_anchor-wrapper.scss +3 -4
- package/src/lib/styles/components/_avatar.scss +1 -4
- package/src/lib/styles/components/_breadcrumbs.scss +12 -23
- package/src/lib/styles/components/_bubble-chart.scss +3 -4
- package/src/lib/styles/components/_button.scss +3 -13
- package/src/lib/styles/components/_carousel.scss +18 -46
- package/src/lib/styles/components/_chart.scss +3 -4
- package/src/lib/styles/components/_content-placeholder.scss +17 -17
- package/src/lib/styles/components/_data-widget.scss +5 -17
- package/src/lib/styles/components/_datepicker.scss +3 -4
- package/src/lib/styles/components/_facet-header.scss +3 -8
- package/src/lib/styles/components/_facet-year-range.scss +7 -12
- package/src/lib/styles/components/_facet.scss +11 -28
- package/src/lib/styles/components/_file-selector.scss +3 -4
- package/src/lib/styles/components/_footer.scss +7 -28
- package/src/lib/styles/components/_header.scss +15 -76
- package/src/lib/styles/components/_hero.scss +10 -20
- package/src/lib/styles/components/_histogram-range.scss +1 -2
- package/src/lib/styles/components/_icon.scss +1 -3
- package/src/lib/styles/components/_image-viewer-tools.scss +31 -40
- package/src/lib/styles/components/_image-viewer.scss +20 -36
- package/src/lib/styles/components/_inner-title.scss +13 -39
- package/src/lib/styles/components/_input-checkbox.scss +6 -10
- package/src/lib/styles/components/_input-link.scss +4 -10
- package/src/lib/styles/components/_input-select.scss +2 -7
- package/src/lib/styles/components/_input-text.scss +5 -10
- package/src/lib/styles/components/_input-textarea.scss +3 -8
- package/src/lib/styles/components/_item-preview.scss +10 -36
- package/src/lib/styles/components/_loader.scss +1 -2
- package/src/lib/styles/components/_map.scss +2 -3
- package/src/lib/styles/components/_metadata-viewer.scss +7 -12
- package/src/lib/styles/components/_mirador.scss +19 -0
- package/src/lib/styles/components/_nav.scss +5 -11
- package/src/lib/styles/components/_pagination.scss +29 -33
- package/src/lib/styles/components/_progress-line.scss +3 -10
- package/src/lib/styles/components/_sidebar-header.scss +3 -8
- package/src/lib/styles/components/_signup.scss +48 -49
- package/src/lib/styles/components/_simple-autocomplete.scss +5 -12
- package/src/lib/styles/components/_table.scss +5 -18
- package/src/lib/styles/components/_tag.scss +7 -10
- package/src/lib/styles/components/_text-viewer.scss +33 -88
- package/src/lib/styles/components/_timeline.scss +3 -4
- package/src/lib/styles/components/_toast.scss +7 -17
- package/src/lib/styles/components/_tooltip-content.scss +3 -4
- package/src/lib/styles/components/_tree.scss +26 -22
- package/src/lib/styles/components/_wizard.scss +36 -29
- package/src/lib/styles/generic/_color_scheme.scss +2 -2
- package/src/lib/styles/generic/_mixins.scss +28 -31
- package/src/lib/styles/generic/_variables.scss +9 -11
- package/src/lib/styles/global/_forms.scss +38 -63
- package/src/lib/styles/global/_global.scss +3 -5
- package/src/lib/styles/global/_normalize.scss +17 -57
- package/src/lib/styles/global/_typography.scss +25 -23
- package/src/lib/styles/utilities/_grids.scss +40 -79
- package/esm2020/lib/components/advanced-autocomplete/advanced-autocomplete.mjs +0 -25
- package/esm2020/lib/components/advanced-autocomplete/advanced-autocomplete.mock.mjs +0 -100
- package/esm2020/lib/components/alert/alert.mjs +0 -24
- package/esm2020/lib/components/anchor-wrapper/anchor-wrapper.mjs +0 -35
- package/esm2020/lib/components/avatar/avatar.mjs +0 -34
- package/esm2020/lib/components/breadcrumbs/breadcrumbs.mjs +0 -25
- package/esm2020/lib/components/bubble-chart/bubble-chart.mjs +0 -329
- package/esm2020/lib/components/button/button.mjs +0 -26
- package/esm2020/lib/components/carousel/carousel.mjs +0 -89
- package/esm2020/lib/components/carousel/carousel.mock.mjs +0 -136
- package/esm2020/lib/components/chart/chart.mjs +0 -37
- package/esm2020/lib/components/chart/chart.mock.mjs +0 -112
- package/esm2020/lib/components/content-placeholder/content-placeholder.mjs +0 -17
- package/esm2020/lib/components/data-widget/data-widget.mjs +0 -29
- package/esm2020/lib/components/datepicker/datepicker.mjs +0 -44
- package/esm2020/lib/components/facet/facet.mjs +0 -24
- package/esm2020/lib/components/facet/facet.mock.mjs +0 -103
- package/esm2020/lib/components/facet-header/facet-header.mjs +0 -24
- package/esm2020/lib/components/facet-year-range/facet-year-range.mjs +0 -53
- package/esm2020/lib/components/file-selector/file-selector.mjs +0 -39
- package/esm2020/lib/components/footer/footer.mjs +0 -26
- package/esm2020/lib/components/footer/footer.mock.mjs +0 -58
- package/esm2020/lib/components/header/header.mjs +0 -53
- package/esm2020/lib/components/header/header.mock.mjs +0 -101
- package/esm2020/lib/components/hero/hero.mjs +0 -41
- package/esm2020/lib/components/histogram-range/histogram-range.mjs +0 -390
- package/esm2020/lib/components/icon/icon.mjs +0 -21
- package/esm2020/lib/components/image-viewer/image-viewer.mjs +0 -55
- package/esm2020/lib/components/image-viewer/image-viewer.mock.mjs +0 -25
- package/esm2020/lib/components/image-viewer-tools/image-viewer-tools.mjs +0 -28
- package/esm2020/lib/components/image-viewer-tools/image-viewer-tools.mock.mjs +0 -54
- package/esm2020/lib/components/inner-title/inner-title.mjs +0 -40
- package/esm2020/lib/components/inner-title/inner-title.mock.mjs +0 -53
- package/esm2020/lib/components/input-checkbox/input-checkbox.mjs +0 -24
- package/esm2020/lib/components/input-checkbox/input-checkbox.mock.mjs +0 -25
- package/esm2020/lib/components/input-link/input-link.mjs +0 -24
- package/esm2020/lib/components/input-link/input-link.mock.mjs +0 -38
- package/esm2020/lib/components/input-text/input-text.mjs +0 -34
- package/esm2020/lib/components/input-textarea/input-textarea.mjs +0 -21
- package/esm2020/lib/components/item-preview/item-preview.mjs +0 -25
- package/esm2020/lib/components/item-preview/item-preview.mock.mjs +0 -43
- package/esm2020/lib/components/loader/loader.mjs +0 -16
- package/esm2020/lib/components/map/map.mjs +0 -64
- package/esm2020/lib/components/metadata-viewer/metadata-viewer.mjs +0 -19
- package/esm2020/lib/components/metadata-viewer/metadata-viewer.mock.mjs +0 -74
- package/esm2020/lib/components/nav/nav.mjs +0 -27
- package/esm2020/lib/components/nav/nav.mock.mjs +0 -36
- package/esm2020/lib/components/pagination/pagination.mjs +0 -31
- package/esm2020/lib/components/pagination/pagination.mock.mjs +0 -23
- package/esm2020/lib/components/progress-line/progress-line.mjs +0 -19
- package/esm2020/lib/components/sidebar-header/sidebar-header.mjs +0 -24
- package/esm2020/lib/components/signup/signup.mjs +0 -44
- package/esm2020/lib/components/simple-autocomplete/simple-autocomplete.mjs +0 -25
- package/esm2020/lib/components/simple-autocomplete/simple-autocomplete.mock.mjs +0 -15
- package/esm2020/lib/components/table/table.mjs +0 -35
- package/esm2020/lib/components/table/table.mock.mjs +0 -152
- package/esm2020/lib/components/tag/tag.mjs +0 -35
- package/esm2020/lib/components/text-viewer/text-viewer.mjs +0 -42
- package/esm2020/lib/components/timeline/timeline.mjs +0 -51
- package/esm2020/lib/components/timeline/timeline.mock.mjs +0 -137
- package/esm2020/lib/components/toast/toast.mjs +0 -24
- package/esm2020/lib/components/toast/toast.mock.mjs +0 -51
- package/esm2020/lib/components/tooltip-content/tooltip-content.mjs +0 -25
- package/esm2020/lib/components/tree/tree.mjs +0 -25
- package/esm2020/lib/components/wizard/wizard.mjs +0 -24
- package/esm2020/lib/dv-components-lib.module.mjs +0 -211
- package/esm2020/public-api.mjs +0 -103
- package/fesm2015/net7-components.mjs +0 -5421
- package/fesm2015/net7-components.mjs.map +0 -1
- package/fesm2020/net7-components.mjs +0 -5434
- package/fesm2020/net7-components.mjs.map +0 -1
- /package/{esm2020 → esm2022}/lib/components/avatar/avatar.mock.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/datepicker/datepicker.mock.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/facet-header/facet-header.mock.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/facet-year-range/facet-year-range.mock.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/input-select/input-select.mock.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/input-text/input-text.mock.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/input-textarea/input-textarea.mock.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/progress-line/progress-line.mock.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/sidebar-header/sidebar-header.mock.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tag/tag.mock.mjs +0 -0
- /package/{esm2020 → esm2022}/net7-components.mjs +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
/**
|
|
3
|
-
* Interface for a single WizardComponent's "item"
|
|
4
|
-
*
|
|
5
|
-
* @property text (optional)
|
|
6
|
-
* @property number (optional)
|
|
7
|
-
* @property classes (optional)
|
|
8
|
-
* @property payload (required)
|
|
9
|
-
* @property _meta (optional)
|
|
10
|
-
*
|
|
11
|
-
*/
|
|
3
|
+
* Interface for a single WizardComponent's "item"
|
|
4
|
+
*
|
|
5
|
+
* @property text (optional)
|
|
6
|
+
* @property number (optional)
|
|
7
|
+
* @property classes (optional)
|
|
8
|
+
* @property payload (required)
|
|
9
|
+
* @property _meta (optional)
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
12
|
export interface WizardItem {
|
|
13
13
|
/**
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
* text rendered on the step
|
|
15
|
+
*/
|
|
16
16
|
text?: string;
|
|
17
17
|
/**
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
* number rendered on the step
|
|
19
|
+
*/
|
|
20
20
|
number?: number;
|
|
21
21
|
/**
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
* action click's payload
|
|
23
|
+
*/
|
|
24
24
|
payload: any;
|
|
25
25
|
/**
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
* additional html classes
|
|
27
|
+
*/
|
|
28
28
|
classes?: any;
|
|
29
29
|
/**
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
* additional info useful for the component's logic
|
|
31
|
+
*/
|
|
32
32
|
_meta?: any;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
|
-
* Interface for WizardComponent's "data"
|
|
36
|
-
*
|
|
37
|
-
* @property items (required)
|
|
38
|
-
* @property classes (optional)
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
35
|
+
* Interface for WizardComponent's "data"
|
|
36
|
+
*
|
|
37
|
+
* @property items (required)
|
|
38
|
+
* @property classes (optional)
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
41
|
export interface WizardData {
|
|
42
42
|
/**
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
* each item represents a step
|
|
44
|
+
*/
|
|
45
45
|
items: WizardItem[];
|
|
46
46
|
/**
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
* additional html classes
|
|
48
|
+
*/
|
|
49
49
|
classes?: any;
|
|
50
50
|
}
|
|
51
51
|
export declare class WizardComponent {
|
|
@@ -53,5 +53,5 @@ export declare class WizardComponent {
|
|
|
53
53
|
emit: any;
|
|
54
54
|
onClick(payload: any): void;
|
|
55
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<WizardComponent, never>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WizardComponent, "n7-wizard", never, { "data": "data"; "emit": "emit"; }, {}, never, never, false>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WizardComponent, "n7-wizard", never, { "data": { "alias": "data"; "required": false; }; "emit": { "alias": "emit"; "required": false; }; }, {}, never, never, false, never>;
|
|
57
57
|
}
|
|
@@ -31,25 +31,26 @@ import * as i29 from "./components/item-preview/item-preview";
|
|
|
31
31
|
import * as i30 from "./components/loader/loader";
|
|
32
32
|
import * as i31 from "./components/map/map";
|
|
33
33
|
import * as i32 from "./components/metadata-viewer/metadata-viewer";
|
|
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 "./components/
|
|
45
|
-
import * as i44 from "./components/
|
|
46
|
-
import * as i45 from "./components/
|
|
47
|
-
import * as i46 from "./components/
|
|
48
|
-
import * as i47 from "./components/
|
|
49
|
-
import * as i48 from "
|
|
50
|
-
import * as i49 from "@angular/
|
|
34
|
+
import * as i33 from "./components/mirador/mirador";
|
|
35
|
+
import * as i34 from "./components/nav/nav";
|
|
36
|
+
import * as i35 from "./components/pagination/pagination";
|
|
37
|
+
import * as i36 from "./components/sidebar-header/sidebar-header";
|
|
38
|
+
import * as i37 from "./components/signup/signup";
|
|
39
|
+
import * as i38 from "./components/simple-autocomplete/simple-autocomplete";
|
|
40
|
+
import * as i39 from "./components/table/table";
|
|
41
|
+
import * as i40 from "./components/tag/tag";
|
|
42
|
+
import * as i41 from "./components/input-textarea/input-textarea";
|
|
43
|
+
import * as i42 from "./components/text-viewer/text-viewer";
|
|
44
|
+
import * as i43 from "./components/timeline/timeline";
|
|
45
|
+
import * as i44 from "./components/toast/toast";
|
|
46
|
+
import * as i45 from "./components/tooltip-content/tooltip-content";
|
|
47
|
+
import * as i46 from "./components/tree/tree";
|
|
48
|
+
import * as i47 from "./components/wizard/wizard";
|
|
49
|
+
import * as i48 from "./components/progress-line/progress-line";
|
|
50
|
+
import * as i49 from "@angular/common";
|
|
51
|
+
import * as i50 from "@angular/router";
|
|
51
52
|
export declare class DvComponentsLibModule {
|
|
52
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<DvComponentsLibModule, never>;
|
|
53
|
-
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.ButtonComponent, typeof i8.CarouselComponent, typeof i9.ChartComponent, typeof i10.ContentPlaceholderComponent, typeof i11.DataWidgetComponent, typeof i12.DatepickerComponent, typeof i13.FacetComponent, typeof i14.FacetHeaderComponent, typeof i15.FacetYearRangeComponent, typeof i16.FileSelectorComponent, typeof i17.FooterComponent, typeof i18.HeaderComponent, typeof i19.HeroComponent, typeof i20.IconComponent, typeof i21.HistogramRangeComponent, typeof i22.ImageViewerComponent, typeof i23.ImageViewerToolsComponent, typeof i24.InnerTitleComponent, typeof i25.InputCheckboxComponent, typeof i26.InputLinkComponent, typeof i27.InputSelectComponent, typeof i28.InputTextComponent, typeof i29.ItemPreviewComponent, typeof i30.LoaderComponent, typeof i31.MapComponent, typeof i32.MetadataViewerComponent, typeof i33.
|
|
54
|
+
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.ButtonComponent, typeof i8.CarouselComponent, typeof i9.ChartComponent, typeof i10.ContentPlaceholderComponent, typeof i11.DataWidgetComponent, typeof i12.DatepickerComponent, typeof i13.FacetComponent, typeof i14.FacetHeaderComponent, typeof i15.FacetYearRangeComponent, typeof i16.FileSelectorComponent, typeof i17.FooterComponent, typeof i18.HeaderComponent, typeof i19.HeroComponent, typeof i20.IconComponent, typeof i21.HistogramRangeComponent, typeof i22.ImageViewerComponent, typeof i23.ImageViewerToolsComponent, typeof i24.InnerTitleComponent, typeof i25.InputCheckboxComponent, typeof i26.InputLinkComponent, typeof i27.InputSelectComponent, typeof i28.InputTextComponent, typeof i29.ItemPreviewComponent, typeof i30.LoaderComponent, typeof i31.MapComponent, typeof i32.MetadataViewerComponent, typeof i33.MiradorComponent, typeof i34.NavComponent, typeof i35.PaginationComponent, typeof i36.SidebarHeaderComponent, typeof i37.SignupComponent, typeof i38.SimpleAutocompleteComponent, typeof i39.TableComponent, typeof i40.TagComponent, typeof i41.InputTextareaComponent, typeof i42.TextViewerComponent, typeof i43.TimelineComponent, typeof i44.ToastComponent, typeof i45.TooltipContentComponent, typeof i46.TreeComponent, typeof i47.WizardComponent, typeof i48.ProgressLineComponent], [typeof i49.CommonModule, typeof i50.RouterModule], [typeof i1.AdvancedAutocompleteComponent, typeof i2.AlertComponent, typeof i3.AnchorWrapperComponent, typeof i4.AvatarComponent, typeof i5.BreadcrumbsComponent, typeof i6.BubbleChartComponent, typeof i7.ButtonComponent, typeof i8.CarouselComponent, typeof i9.ChartComponent, typeof i10.ContentPlaceholderComponent, typeof i11.DataWidgetComponent, typeof i12.DatepickerComponent, typeof i13.FacetComponent, typeof i14.FacetHeaderComponent, typeof i15.FacetYearRangeComponent, typeof i16.FileSelectorComponent, typeof i17.FooterComponent, typeof i18.HeaderComponent, typeof i19.HeroComponent, typeof i20.IconComponent, typeof i21.HistogramRangeComponent, typeof i22.ImageViewerComponent, typeof i23.ImageViewerToolsComponent, typeof i24.InnerTitleComponent, typeof i25.InputCheckboxComponent, typeof i26.InputLinkComponent, typeof i27.InputSelectComponent, typeof i28.InputTextComponent, typeof i29.ItemPreviewComponent, typeof i30.LoaderComponent, typeof i31.MapComponent, typeof i32.MetadataViewerComponent, typeof i33.MiradorComponent, typeof i34.NavComponent, typeof i35.PaginationComponent, typeof i36.SidebarHeaderComponent, typeof i37.SignupComponent, typeof i38.SimpleAutocompleteComponent, typeof i39.TableComponent, typeof i40.TagComponent, typeof i41.InputTextareaComponent, typeof i42.TextViewerComponent, typeof i43.TimelineComponent, typeof i44.ToastComponent, typeof i45.TooltipContentComponent, typeof i46.TreeComponent, typeof i47.WizardComponent, typeof i48.ProgressLineComponent]>;
|
|
54
55
|
static ɵinj: i0.ɵɵInjectorDeclaration<DvComponentsLibModule>;
|
|
55
56
|
}
|
|
@@ -46,7 +46,7 @@ export interface Button extends EssentialData {
|
|
|
46
46
|
* Type for an icon.
|
|
47
47
|
* It may have a simple string type or an object type.
|
|
48
48
|
*/
|
|
49
|
-
export
|
|
49
|
+
export type Icon = {
|
|
50
50
|
/** Identifier of the icon in n7-icon-font */
|
|
51
51
|
id: string;
|
|
52
52
|
/** Custom inline css */
|
|
@@ -57,7 +57,7 @@ export declare type Icon = {
|
|
|
57
57
|
/**
|
|
58
58
|
* Type for an image / svg element.
|
|
59
59
|
*/
|
|
60
|
-
export
|
|
60
|
+
export type Image = {
|
|
61
61
|
/** File path */
|
|
62
62
|
src: string;
|
|
63
63
|
/** Alt text */
|
|
@@ -65,4 +65,4 @@ export declare type Image = {
|
|
|
65
65
|
/** Optional classes */
|
|
66
66
|
classes?: string;
|
|
67
67
|
};
|
|
68
|
-
export
|
|
68
|
+
export type OnOff = 'on' | 'off';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@net7/components",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.3-rc4",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"apexcharts": "^3.8.5",
|
|
6
6
|
"d3": "^7.1.1",
|
|
@@ -17,15 +17,11 @@
|
|
|
17
17
|
"@teipublisher/pb-components": "~1.11.0"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@angular/common": "^
|
|
21
|
-
"@angular/core": "^
|
|
22
|
-
"@angular/router": "^
|
|
20
|
+
"@angular/common": "^17.1.20",
|
|
21
|
+
"@angular/core": "^17.1.20",
|
|
22
|
+
"@angular/router": "^17.1.20"
|
|
23
23
|
},
|
|
24
|
-
"module": "
|
|
25
|
-
"es2020": "fesm2020/net7-components.mjs",
|
|
26
|
-
"esm2020": "esm2020/net7-components.mjs",
|
|
27
|
-
"fesm2020": "fesm2020/net7-components.mjs",
|
|
28
|
-
"fesm2015": "fesm2015/net7-components.mjs",
|
|
24
|
+
"module": "fesm2022/net7-components.mjs",
|
|
29
25
|
"typings": "index.d.ts",
|
|
30
26
|
"exports": {
|
|
31
27
|
"./package.json": {
|
|
@@ -33,11 +29,9 @@
|
|
|
33
29
|
},
|
|
34
30
|
".": {
|
|
35
31
|
"types": "./index.d.ts",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"node": "./fesm2015/net7-components.mjs",
|
|
40
|
-
"default": "./fesm2020/net7-components.mjs"
|
|
32
|
+
"esm2022": "./esm2022/net7-components.mjs",
|
|
33
|
+
"esm": "./esm2022/net7-components.mjs",
|
|
34
|
+
"default": "./fesm2022/net7-components.mjs"
|
|
41
35
|
}
|
|
42
36
|
},
|
|
43
37
|
"sideEffects": false
|
package/public-api.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ export * from './lib/components/item-preview/item-preview';
|
|
|
33
33
|
export * from './lib/components/loader/loader';
|
|
34
34
|
export * from './lib/components/map/map';
|
|
35
35
|
export * from './lib/components/metadata-viewer/metadata-viewer';
|
|
36
|
+
export * from './lib/components/mirador/mirador';
|
|
36
37
|
export * from './lib/components/nav/nav';
|
|
37
38
|
export * from './lib/components/pagination/pagination';
|
|
38
39
|
export * from './lib/components/progress-line/progress-line';
|
|
@@ -79,6 +80,7 @@ export * from './lib/components/item-preview/item-preview.mock';
|
|
|
79
80
|
export * from './lib/components/loader/loader.mock';
|
|
80
81
|
export * from './lib/components/map/map.mock';
|
|
81
82
|
export * from './lib/components/metadata-viewer/metadata-viewer.mock';
|
|
83
|
+
export * from './lib/components/mirador/mirador.mock';
|
|
82
84
|
export * from './lib/components/nav/nav.mock';
|
|
83
85
|
export * from './lib/components/pagination/pagination.mock';
|
|
84
86
|
export * from './lib/components/progress-line/progress-line.mock';
|
|
@@ -7,75 +7,73 @@
|
|
|
7
7
|
// ------------------------------------ //
|
|
8
8
|
// #GENERIC
|
|
9
9
|
// ------------------------------------ //
|
|
10
|
-
@import
|
|
11
|
-
|
|
10
|
+
@import 'generic/mixins';
|
|
12
11
|
|
|
13
12
|
// ------------------------------------ //
|
|
14
13
|
// #GLOBAL
|
|
15
14
|
// ------------------------------------ //
|
|
16
|
-
@import
|
|
17
|
-
@import
|
|
18
|
-
@import
|
|
19
|
-
@import
|
|
20
|
-
|
|
15
|
+
@import 'global/forms';
|
|
16
|
+
@import 'global/global';
|
|
17
|
+
@import 'global/normalize';
|
|
18
|
+
@import 'global/typography';
|
|
21
19
|
|
|
22
20
|
// ------------------------------------ //
|
|
23
21
|
// #ATOMS
|
|
24
22
|
// ------------------------------------ //
|
|
25
|
-
@import
|
|
26
|
-
|
|
23
|
+
@import 'atoms/_button';
|
|
27
24
|
|
|
28
25
|
// ------------------------------------ //
|
|
29
26
|
// #COMPONENTS
|
|
30
27
|
// ------------------------------------ //
|
|
31
|
-
@import
|
|
32
|
-
@import
|
|
33
|
-
@import
|
|
34
|
-
@import
|
|
35
|
-
@import
|
|
36
|
-
@import
|
|
37
|
-
@import
|
|
38
|
-
@import
|
|
39
|
-
@import
|
|
40
|
-
@import
|
|
41
|
-
@import
|
|
42
|
-
@import
|
|
43
|
-
@import
|
|
44
|
-
@import
|
|
45
|
-
@import
|
|
46
|
-
@import
|
|
47
|
-
@import
|
|
48
|
-
@import
|
|
49
|
-
@import
|
|
50
|
-
@import
|
|
51
|
-
@import
|
|
52
|
-
@import
|
|
53
|
-
@import
|
|
54
|
-
@import
|
|
55
|
-
@import
|
|
56
|
-
@import
|
|
57
|
-
@import
|
|
58
|
-
@import
|
|
59
|
-
@import
|
|
60
|
-
@import
|
|
61
|
-
@import
|
|
62
|
-
@import
|
|
63
|
-
@import
|
|
64
|
-
@import
|
|
65
|
-
@import
|
|
66
|
-
@import
|
|
67
|
-
@import
|
|
68
|
-
@import
|
|
69
|
-
@import
|
|
70
|
-
@import
|
|
71
|
-
@import
|
|
72
|
-
@import
|
|
73
|
-
@import
|
|
74
|
-
@import
|
|
75
|
-
@import
|
|
76
|
-
@import
|
|
28
|
+
@import 'components/advanced-autocomplete';
|
|
29
|
+
@import 'components/alert';
|
|
30
|
+
@import 'components/anchor-wrapper';
|
|
31
|
+
@import 'components/avatar';
|
|
32
|
+
@import 'components/button';
|
|
33
|
+
@import 'components/breadcrumbs';
|
|
34
|
+
@import 'components/bubble-chart';
|
|
35
|
+
@import 'components/carousel';
|
|
36
|
+
@import 'components/chart';
|
|
37
|
+
@import 'components/content-placeholder';
|
|
38
|
+
@import 'components/data-widget';
|
|
39
|
+
@import 'components/datepicker';
|
|
40
|
+
@import 'components/facet-header';
|
|
41
|
+
@import 'components/facet-year-range';
|
|
42
|
+
@import 'components/facet';
|
|
43
|
+
@import 'components/footer';
|
|
44
|
+
@import 'components/header';
|
|
45
|
+
@import 'components/hero';
|
|
46
|
+
@import 'components/histogram-range';
|
|
47
|
+
@import 'components/icon';
|
|
48
|
+
@import 'components/image-viewer';
|
|
49
|
+
@import 'components/image-viewer-tools';
|
|
50
|
+
@import 'components/inner-title';
|
|
51
|
+
@import 'components/input-checkbox';
|
|
52
|
+
@import 'components/input-link';
|
|
53
|
+
@import 'components/input-select';
|
|
54
|
+
@import 'components/input-text';
|
|
55
|
+
@import 'components/input-textarea';
|
|
56
|
+
@import 'components/item-preview';
|
|
57
|
+
@import 'components/loader';
|
|
58
|
+
@import 'components/map';
|
|
59
|
+
@import 'components/metadata-viewer';
|
|
60
|
+
@import 'components/mirador';
|
|
61
|
+
@import 'components/nav';
|
|
62
|
+
@import 'components/pagination';
|
|
63
|
+
@import 'components/sidebar-header';
|
|
64
|
+
@import 'components/signup';
|
|
65
|
+
@import 'components/simple-autocomplete';
|
|
66
|
+
@import 'components/table';
|
|
67
|
+
@import 'components/tag';
|
|
68
|
+
@import 'components/text-viewer';
|
|
69
|
+
@import 'components/timeline';
|
|
70
|
+
@import 'components/toast';
|
|
71
|
+
@import 'components/tooltip-content';
|
|
72
|
+
@import 'components/tree';
|
|
73
|
+
@import 'components/wizard';
|
|
74
|
+
@import 'components/progress-line';
|
|
77
75
|
|
|
78
76
|
// ------------------------------------ //
|
|
79
77
|
// #UTILITIES
|
|
80
78
|
// ------------------------------------ //
|
|
81
|
-
@import
|
|
79
|
+
@import 'utilities/_grids';
|
|
@@ -38,8 +38,10 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/* Disabled */
|
|
41
|
-
&.is-disabled,
|
|
42
|
-
&.is-disabled:
|
|
41
|
+
&.is-disabled,
|
|
42
|
+
&.is-disabled:hover,
|
|
43
|
+
&.is-disabled:active,
|
|
44
|
+
&.is-disabled:active:hover {
|
|
43
45
|
color: $color-button-text-disabled;
|
|
44
46
|
border-color: $color-button-border;
|
|
45
47
|
background-color: $color-button-bg-disabled;
|
|
@@ -48,7 +50,10 @@
|
|
|
48
50
|
}
|
|
49
51
|
|
|
50
52
|
/* Active */
|
|
51
|
-
&.is-active,
|
|
53
|
+
&.is-active,
|
|
54
|
+
&:active,
|
|
55
|
+
&.is-active:hover,
|
|
56
|
+
&:active:hover {
|
|
52
57
|
color: $color-button-text-hover;
|
|
53
58
|
border-color: $color-button-text-hover;
|
|
54
59
|
background-color: $color-button-bg;
|
|
@@ -59,10 +64,10 @@
|
|
|
59
64
|
}
|
|
60
65
|
}
|
|
61
66
|
|
|
62
|
-
|
|
63
67
|
/* ------------------------------------ *\
|
|
64
68
|
#LIGHT-BUTTON
|
|
65
69
|
\* ------------------------------------ */
|
|
70
|
+
|
|
66
71
|
/* No background button */
|
|
67
72
|
.n7-btn-light {
|
|
68
73
|
padding: 0 4px;
|
|
@@ -82,8 +87,10 @@
|
|
|
82
87
|
}
|
|
83
88
|
|
|
84
89
|
/* Disabled */
|
|
85
|
-
&.is-disabled,
|
|
86
|
-
&.is-disabled:
|
|
90
|
+
&.is-disabled,
|
|
91
|
+
&.is-disabled:hover,
|
|
92
|
+
&.is-disabled:active,
|
|
93
|
+
&.is-disabled:active:hover {
|
|
87
94
|
color: $color-button-light-text-disabled;
|
|
88
95
|
background-color: transparent;
|
|
89
96
|
border: 0;
|
|
@@ -92,7 +99,10 @@
|
|
|
92
99
|
}
|
|
93
100
|
|
|
94
101
|
/* Active */
|
|
95
|
-
&.is-active,
|
|
102
|
+
&.is-active,
|
|
103
|
+
&:active,
|
|
104
|
+
&.is-active:hover,
|
|
105
|
+
&:active:hover {
|
|
96
106
|
color: $color-button-light-text-active;
|
|
97
107
|
background-color: transparent;
|
|
98
108
|
border: 0;
|
|
@@ -103,7 +113,6 @@
|
|
|
103
113
|
}
|
|
104
114
|
}
|
|
105
115
|
|
|
106
|
-
|
|
107
116
|
/* ------------------------------------ *\
|
|
108
117
|
#CALL-TO-ACTION-BUTTON
|
|
109
118
|
\* ------------------------------------ */
|
|
@@ -111,7 +120,6 @@
|
|
|
111
120
|
background-color: $color-button-cta-bg;
|
|
112
121
|
border-color: $color-button-cta-border;
|
|
113
122
|
color: $color-button-cta-text;
|
|
114
|
-
|
|
115
123
|
&:hover {
|
|
116
124
|
background-color: $color-button-cta-bg-hover;
|
|
117
125
|
border-color: $color-button-cta-border;
|
|
@@ -119,8 +127,10 @@
|
|
|
119
127
|
}
|
|
120
128
|
|
|
121
129
|
/* Disabled */
|
|
122
|
-
&.is-disabled,
|
|
123
|
-
&.is-disabled:
|
|
130
|
+
&.is-disabled,
|
|
131
|
+
&.is-disabled:hover,
|
|
132
|
+
&.is-disabled:active,
|
|
133
|
+
&.is-disabled:active:hover {
|
|
124
134
|
background-color: $color-button-cta-bg-disabled;
|
|
125
135
|
border-color: $color-button-cta-border;
|
|
126
136
|
color: $color-button-cta-text-disabled;
|
|
@@ -128,7 +138,10 @@
|
|
|
128
138
|
}
|
|
129
139
|
|
|
130
140
|
/* Active */
|
|
131
|
-
&.is-active,
|
|
141
|
+
&.is-active,
|
|
142
|
+
&:active,
|
|
143
|
+
&.is-active:hover,
|
|
144
|
+
&:active:hover {
|
|
132
145
|
background-color: $color-button-cta-bg-active;
|
|
133
146
|
border-color: $color-button-cta-border;
|
|
134
147
|
color: $color-button-cta-text;
|
|
@@ -139,7 +152,6 @@
|
|
|
139
152
|
}
|
|
140
153
|
}
|
|
141
154
|
|
|
142
|
-
|
|
143
155
|
/* ------------------------------------ *\
|
|
144
156
|
#SIZES
|
|
145
157
|
\* ------------------------------------ */
|
|
@@ -147,20 +159,18 @@
|
|
|
147
159
|
/* Sizes */
|
|
148
160
|
&.n7-btn-s {
|
|
149
161
|
height: $button-small-height;
|
|
150
|
-
padding: 0 calc($space/2);
|
|
162
|
+
padding: 0 calc($space / 2);
|
|
151
163
|
line-height: $button-small-height - $button-border-width;
|
|
152
164
|
font-size: $font-size-xs;
|
|
153
165
|
}
|
|
154
|
-
|
|
155
166
|
&.n7-btn-l {
|
|
156
167
|
height: $button-large-height;
|
|
157
|
-
padding: 0 $space*3;
|
|
168
|
+
padding: 0 $space * 3;
|
|
158
169
|
line-height: $button-large-height - $button-border-width;
|
|
159
170
|
}
|
|
160
|
-
|
|
161
171
|
&.n7-btn-xl {
|
|
162
172
|
height: $button-large-height;
|
|
163
|
-
padding: 0 $space*3;
|
|
173
|
+
padding: 0 $space * 3;
|
|
164
174
|
font-size: $font-size-m;
|
|
165
175
|
line-height: $button-large-height - $button-border-width;
|
|
166
176
|
}
|
|
@@ -171,35 +181,32 @@
|
|
|
171
181
|
}
|
|
172
182
|
}
|
|
173
183
|
|
|
174
|
-
|
|
175
184
|
/* ------------------------------------ *\
|
|
176
185
|
#ICON
|
|
177
186
|
\* ------------------------------------ */
|
|
178
187
|
.n7-btn {
|
|
179
|
-
[class*=n7-icon] {
|
|
188
|
+
[class*='n7-icon'] {
|
|
180
189
|
vertical-align: text-bottom;
|
|
181
190
|
}
|
|
182
191
|
|
|
183
192
|
/* Spacing between the icon and the label:
|
|
184
193
|
it assumes that the label is wrapper in a <span>.
|
|
185
194
|
This spacing supports the icon on the left and on the right */
|
|
186
|
-
[class*=n7-icon] + span {
|
|
187
|
-
margin-left: calc($space/4);
|
|
195
|
+
[class*='n7-icon'] + span {
|
|
196
|
+
margin-left: calc($space / 4);
|
|
188
197
|
}
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
margin-left: calc($space/4);
|
|
198
|
+
span + [class*='n7-icon'] {
|
|
199
|
+
margin-left: calc($space / 4);
|
|
192
200
|
}
|
|
193
201
|
|
|
194
202
|
/* Spacing for bigger buttons */
|
|
195
203
|
&.n7-btn-l,
|
|
196
204
|
&.n7-btn-xl {
|
|
197
|
-
[class*=n7-icon] + span {
|
|
198
|
-
margin-left: calc($space/2);
|
|
205
|
+
[class*='n7-icon'] + span {
|
|
206
|
+
margin-left: calc($space / 2);
|
|
199
207
|
}
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
margin-left: calc($space/2);
|
|
208
|
+
span + [class*='n7-icon'] {
|
|
209
|
+
margin-left: calc($space / 2);
|
|
203
210
|
}
|
|
204
211
|
}
|
|
205
212
|
}
|