@hermes-ui/angular 0.1.4 → 0.1.6
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/hermes-ui-angular-addons-theme-builder.mjs +1 -1
- package/fesm2022/hermes-ui-angular-addons-theme-builder.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-card.mjs +48 -0
- package/fesm2022/hermes-ui-angular-card.mjs.map +1 -0
- package/fesm2022/hermes-ui-angular-divider.mjs +46 -0
- package/fesm2022/hermes-ui-angular-divider.mjs.map +1 -0
- package/fesm2022/hermes-ui-angular-forms-datepicker.mjs +8 -1
- package/fesm2022/hermes-ui-angular-forms-datepicker.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-layout-vertical-nav.mjs +31 -3
- package/fesm2022/hermes-ui-angular-layout-vertical-nav.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-pagination.mjs +116 -0
- package/fesm2022/hermes-ui-angular-pagination.mjs.map +1 -0
- package/fesm2022/hermes-ui-angular.mjs +16 -3
- package/fesm2022/hermes-ui-angular.mjs.map +1 -1
- package/layout/vertical-nav/_mixins.vertical-nav.scss +3 -7
- package/layout/vertical-nav/_properties.vertical-nav.scss +10 -5
- package/layout/vertical-nav/_variables.vertical-nav.scss +2 -0
- package/layout/vertical-nav/_vertical-nav.clarity.scss +14 -0
- package/package.json +13 -1
- package/popover/dropdown/_dropdown.clarity.scss +8 -7
- package/popover/dropdown/_menu-mixins.clarity.scss +22 -6
- package/popover/dropdown/_properties.dropdown.scss +20 -0
- package/popover/dropdown/_variables.dropdown.scss +7 -0
- package/types/hermes-ui-angular-card.d.ts +24 -0
- package/types/hermes-ui-angular-card.d.ts.map +1 -0
- package/types/hermes-ui-angular-divider.d.ts +20 -0
- package/types/hermes-ui-angular-divider.d.ts.map +1 -0
- package/types/hermes-ui-angular-forms-datepicker.d.ts +1 -1
- package/types/hermes-ui-angular-layout-vertical-nav.d.ts +11 -1
- package/types/hermes-ui-angular-layout-vertical-nav.d.ts.map +1 -1
- package/types/hermes-ui-angular-pagination.d.ts +52 -0
- package/types/hermes-ui-angular-pagination.d.ts.map +1 -0
- package/types/hermes-ui-angular.d.ts +23 -17
- package/types/hermes-ui-angular.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hermes-ui/angular",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Angular components for Hermes",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hermes",
|
|
@@ -124,6 +124,10 @@
|
|
|
124
124
|
"types": "./types/hermes-ui-angular-button.d.ts",
|
|
125
125
|
"default": "./fesm2022/hermes-ui-angular-button.mjs"
|
|
126
126
|
},
|
|
127
|
+
"./card": {
|
|
128
|
+
"types": "./types/hermes-ui-angular-card.d.ts",
|
|
129
|
+
"default": "./fesm2022/hermes-ui-angular-card.mjs"
|
|
130
|
+
},
|
|
127
131
|
"./collapsible-panel": {
|
|
128
132
|
"types": "./types/hermes-ui-angular-collapsible-panel.d.ts",
|
|
129
133
|
"default": "./fesm2022/hermes-ui-angular-collapsible-panel.mjs"
|
|
@@ -144,6 +148,10 @@
|
|
|
144
148
|
"types": "./types/hermes-ui-angular-data-tree-view.d.ts",
|
|
145
149
|
"default": "./fesm2022/hermes-ui-angular-data-tree-view.mjs"
|
|
146
150
|
},
|
|
151
|
+
"./divider": {
|
|
152
|
+
"types": "./types/hermes-ui-angular-divider.d.ts",
|
|
153
|
+
"default": "./fesm2022/hermes-ui-angular-divider.mjs"
|
|
154
|
+
},
|
|
147
155
|
"./emphasis": {
|
|
148
156
|
"types": "./types/hermes-ui-angular-emphasis.d.ts",
|
|
149
157
|
"default": "./fesm2022/hermes-ui-angular-emphasis.mjs"
|
|
@@ -256,6 +264,10 @@
|
|
|
256
264
|
"types": "./types/hermes-ui-angular-modal.d.ts",
|
|
257
265
|
"default": "./fesm2022/hermes-ui-angular-modal.mjs"
|
|
258
266
|
},
|
|
267
|
+
"./pagination": {
|
|
268
|
+
"types": "./types/hermes-ui-angular-pagination.d.ts",
|
|
269
|
+
"default": "./fesm2022/hermes-ui-angular-pagination.mjs"
|
|
270
|
+
},
|
|
259
271
|
"./popover": {
|
|
260
272
|
"types": "./types/hermes-ui-angular-popover.d.ts",
|
|
261
273
|
"default": "./fesm2022/hermes-ui-angular-popover.mjs"
|
|
@@ -91,11 +91,12 @@
|
|
|
91
91
|
|
|
92
92
|
.dropdown-header {
|
|
93
93
|
@include menu-mixins.generate-dropdown-header();
|
|
94
|
+
}
|
|
94
95
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
// Trailing keyboard-shortcut hint inside a dropdown item (shadcn's CommandShortcut).
|
|
97
|
+
// Works because .dropdown-item is itself a flex container (see generate-dropdown-item()).
|
|
98
|
+
.dropdown-shortcut {
|
|
99
|
+
@include menu-mixins.generate-dropdown-shortcut();
|
|
99
100
|
}
|
|
100
101
|
|
|
101
102
|
.btn,
|
|
@@ -180,7 +181,8 @@
|
|
|
180
181
|
.dropdown-divider {
|
|
181
182
|
border-bottom: dropdown-variables.$hermes-dropdown-divider-border-width solid
|
|
182
183
|
dropdown-variables.$hermes-dropdown-divider-color;
|
|
183
|
-
|
|
184
|
+
// Bleeds out to the menu's own edges despite its padding (shadcn's -mx-1 treatment).
|
|
185
|
+
margin: #{mixins.baselinePx(4)} calc(-1 * #{dropdown-variables.$hermes-dropdown-padding});
|
|
184
186
|
}
|
|
185
187
|
}
|
|
186
188
|
|
|
@@ -317,10 +319,9 @@
|
|
|
317
319
|
position: static;
|
|
318
320
|
overflow-y: auto;
|
|
319
321
|
|
|
320
|
-
.dropdown-header,
|
|
321
322
|
.dropdown-item,
|
|
322
323
|
.dropdown > .dropdown-item {
|
|
323
|
-
min-height:
|
|
324
|
+
min-height: dropdown-variables.$hermes-dropdown-item-height;
|
|
324
325
|
}
|
|
325
326
|
}
|
|
326
327
|
}
|
|
@@ -28,9 +28,10 @@
|
|
|
28
28
|
border-width: tokens.$hermes-alias-object-border-width-100;
|
|
29
29
|
border-style: solid;
|
|
30
30
|
border-color: dropdown-variables.$hermes-dropdown-border-color;
|
|
31
|
-
border-radius:
|
|
32
|
-
box-shadow:
|
|
33
|
-
padding:
|
|
31
|
+
border-radius: dropdown-variables.$hermes-dropdown-border-radius;
|
|
32
|
+
box-shadow: dropdown-variables.$hermes-dropdown-shadow;
|
|
33
|
+
padding: dropdown-variables.$hermes-dropdown-padding;
|
|
34
|
+
gap: #{mixins.baselinePx(1)};
|
|
34
35
|
visibility: hidden;
|
|
35
36
|
z-index: map.get(variables.$hermes-layers, dropdown-menu);
|
|
36
37
|
}
|
|
@@ -39,12 +40,17 @@
|
|
|
39
40
|
'SECONDARY-13-RG-EXP',
|
|
40
41
|
(
|
|
41
42
|
font-weight: dropdown-variables.$hermes-dropdown-item-font-weight,
|
|
43
|
+
// shadcn text-sm (14px) instead of the shared SECONDARY-13 (13px) token.
|
|
44
|
+
font-size: dropdown-variables.$hermes-dropdown-item-font-size,
|
|
42
45
|
)
|
|
43
46
|
);
|
|
44
47
|
|
|
45
48
|
color: dropdown-variables.$hermes-dropdown-item-color;
|
|
46
49
|
background-color: dropdown-variables.$hermes-dropdown-item-bg-color;
|
|
47
50
|
border: 0;
|
|
51
|
+
// rounded-md hover/active highlight inset within the menu's own padding,
|
|
52
|
+
// instead of an edge-to-edge Clarity highlight.
|
|
53
|
+
border-radius: dropdown-variables.$hermes-dropdown-item-border-radius;
|
|
48
54
|
cursor: pointer;
|
|
49
55
|
display: flex;
|
|
50
56
|
gap: density.$hermes-base-gap-xs;
|
|
@@ -111,19 +117,29 @@
|
|
|
111
117
|
'SECONDARY-13-MD-EXP',
|
|
112
118
|
(
|
|
113
119
|
font-weight: dropdown-variables.$hermes-dropdown-header-font-weight,
|
|
120
|
+
font-size: #{mixins.baselinePx(12)},
|
|
114
121
|
)
|
|
115
122
|
);
|
|
116
123
|
|
|
117
|
-
padding:
|
|
124
|
+
padding: #{mixins.baselinePx(6)} #{mixins.baselinePx(8)} #{mixins.baselinePx(2)};
|
|
118
125
|
margin: 0;
|
|
119
126
|
}
|
|
120
127
|
@mixin generate-dropdown-item-height() {
|
|
121
|
-
padding: 0
|
|
128
|
+
padding: 0 #{mixins.baselinePx(8)};
|
|
129
|
+
min-height: dropdown-variables.$hermes-dropdown-item-height;
|
|
122
130
|
|
|
123
131
|
@media screen and (max-width: map.get(variables.$hermes-grid-breakpoints, sm)) {
|
|
124
|
-
padding: density.$hermes-base-vertical-offset-s
|
|
132
|
+
padding: density.$hermes-base-vertical-offset-s #{mixins.baselinePx(8)};
|
|
125
133
|
}
|
|
126
134
|
}
|
|
135
|
+
@mixin generate-dropdown-shortcut() {
|
|
136
|
+
margin-left: auto;
|
|
137
|
+
padding-left: density.$hermes-base-gap-l;
|
|
138
|
+
color: dropdown-variables.$hermes-dropdown-shortcut-color;
|
|
139
|
+
font-size: #{mixins.baselinePx(12)};
|
|
140
|
+
letter-spacing: #{mixins.baselinePx(0.5)};
|
|
141
|
+
white-space: nowrap;
|
|
142
|
+
}
|
|
127
143
|
@mixin dropdown-item-outline() {
|
|
128
144
|
outline-color: Highlight;
|
|
129
145
|
outline-color: -webkit-focus-ring-color;
|
|
@@ -14,6 +14,22 @@
|
|
|
14
14
|
--hermes-dropdown-header-font-weight: #{tokens.$hermes-alias-typography-font-weight-medium};
|
|
15
15
|
--hermes-dropdown-item-font-weight: #{tokens.$hermes-alias-typography-secondary-font-weight};
|
|
16
16
|
|
|
17
|
+
// shadcn-style dropdown: rounded-lg container (8px, vs Clarity's sharp-ish
|
|
18
|
+
// 4px), a softer/larger-spread neutral shadow instead of the teal-tinted
|
|
19
|
+
// Clarity one (that shared token is used by many other components, so
|
|
20
|
+
// it's overridden here rather than changed globally), roomier outer
|
|
21
|
+
// padding so items read as "inset" cards, and items get their own
|
|
22
|
+
// rounded-md (6px) hover highlight instead of an edge-to-edge one.
|
|
23
|
+
--hermes-dropdown-border-radius: #{mixins.baselinePx(10)};
|
|
24
|
+
--hermes-dropdown-shadow: 0 #{mixins.baselinePx(10)} #{mixins.baselinePx(30)} rgba(0, 0, 0, 0.12),
|
|
25
|
+
0 #{mixins.baselinePx(2)} #{mixins.baselinePx(8)} rgba(0, 0, 0, 0.08);
|
|
26
|
+
--hermes-dropdown-padding: #{mixins.baselinePx(6)};
|
|
27
|
+
--hermes-dropdown-item-border-radius: #{mixins.baselinePx(6)};
|
|
28
|
+
// shadcn text-sm (14px), overriding the shared SECONDARY-13 typography
|
|
29
|
+
// token that .dropdown-item otherwise pulls in.
|
|
30
|
+
--hermes-dropdown-item-font-size: #{mixins.baselinePx(14)};
|
|
31
|
+
--hermes-dropdown-item-height: #{mixins.baselinePx(34)};
|
|
32
|
+
|
|
17
33
|
&,
|
|
18
34
|
& [hermes-theme] {
|
|
19
35
|
// Usage: ../popover/dropdown/_dropdown.clarity.scss
|
|
@@ -45,6 +61,10 @@
|
|
|
45
61
|
--hermes-dropdown-item-selected-active-bg-color: var(--hermes-alias-object-interaction-background-selected-active);
|
|
46
62
|
--hermes-dropdown-item-disabled-color: #{tokens.$hermes-alias-object-interaction-color-disabled};
|
|
47
63
|
--hermes-dropdown-item-disabled-bg-color: transparent; // #{tokens.$hermes-alias-object-interaction-background-disabled};
|
|
64
|
+
|
|
65
|
+
// Usage: ../popover/dropdown/_menu-mixins.clarity.scss
|
|
66
|
+
// Trailing keyboard-shortcut hint (shadcn's <kbd>/CommandShortcut) inside a dropdown item.
|
|
67
|
+
--hermes-dropdown-shortcut-color: var(--hermes-dropdown-header-color);
|
|
48
68
|
}
|
|
49
69
|
}
|
|
50
70
|
}
|
|
@@ -10,6 +10,13 @@ $hermes-dropdown-border-color: var(--hermes-dropdown-border-color) !default;
|
|
|
10
10
|
$hermes-dropdown-divider-color: var(--hermes-dropdown-divider-color) !default;
|
|
11
11
|
$hermes-dropdown-divider-border-width: var(--hermes-dropdown-divider-border-width) !default;
|
|
12
12
|
$hermes-dropdown-child-border-color: var(--hermes-dropdown-child-border-color) !default;
|
|
13
|
+
$hermes-dropdown-border-radius: var(--hermes-dropdown-border-radius) !default;
|
|
14
|
+
$hermes-dropdown-shadow: var(--hermes-dropdown-shadow) !default;
|
|
15
|
+
$hermes-dropdown-padding: var(--hermes-dropdown-padding) !default;
|
|
16
|
+
$hermes-dropdown-item-border-radius: var(--hermes-dropdown-item-border-radius) !default;
|
|
17
|
+
$hermes-dropdown-item-font-size: var(--hermes-dropdown-item-font-size) !default;
|
|
18
|
+
$hermes-dropdown-item-height: var(--hermes-dropdown-item-height) !default;
|
|
19
|
+
$hermes-dropdown-shortcut-color: var(--hermes-dropdown-shortcut-color) !default;
|
|
13
20
|
|
|
14
21
|
// Usage: ../data/datagrid/_datagrid.clarity.scss
|
|
15
22
|
// Usage: ../emphasis/alert/_alert.clarity.scss
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* A styled container for grouping related content. Compose the inside with
|
|
5
|
+
* `hermes-layout`, `hermes-text` and `hermes-divider` (with the
|
|
6
|
+
* `hermes-card-remove-margin` attribute to bleed a divider edge-to-edge).
|
|
7
|
+
*
|
|
8
|
+
* ```html
|
|
9
|
+
* <hermes-card aria-labelledby="my-card-title">
|
|
10
|
+
* <div hermes-layout="vertical gap:md">
|
|
11
|
+
* <h2 id="my-card-title" hermes-text="section">Card title</h2>
|
|
12
|
+
* <hermes-divider hermes-card-remove-margin></hermes-divider>
|
|
13
|
+
* <div hermes-text="body light">Card content</div>
|
|
14
|
+
* </div>
|
|
15
|
+
* </hermes-card>
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
declare class HermesCard {
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HermesCard, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HermesCard, "hermes-card", never, {}, {}, never, ["*"], true, never>;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export { HermesCard };
|
|
24
|
+
//# sourceMappingURL=hermes-ui-angular-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hermes-ui-angular-card.d.ts","sources":["../../../card/card.ts"],"mappings":";;AASA;;;;;;;;;;;;;;AAcG;AACH,cAUa,UAAU;yCAAV,UAAU;2CAAV,UAAU;AAAG;;","names":[]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
type HermesDividerOrientation = 'horizontal' | 'vertical';
|
|
4
|
+
/**
|
|
5
|
+
* Dividers are a convenient way to place lined dividers or "rules" between blocks of content.
|
|
6
|
+
*
|
|
7
|
+
* ```html
|
|
8
|
+
* <hermes-divider></hermes-divider>
|
|
9
|
+
* <hermes-divider orientation="vertical"></hermes-divider>
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
declare class HermesDivider {
|
|
13
|
+
orientation: HermesDividerOrientation;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HermesDivider, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HermesDivider, "hermes-divider", never, { "orientation": { "alias": "orientation"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { HermesDivider };
|
|
19
|
+
export type { HermesDividerOrientation };
|
|
20
|
+
//# sourceMappingURL=hermes-ui-angular-divider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hermes-ui-angular-divider.d.ts","sources":["../../../divider/divider.ts"],"mappings":";;KASY,wBAAwB;AAEpC;;;;;;;AAOG;AACH,cAUa,aAAa;iBACF,wBAAwB;yCADnC,aAAa;2CAAb,aAAa;AAEzB;;","names":[]}
|
|
@@ -983,5 +983,5 @@ declare class HermesDatepickerModule {
|
|
|
983
983
|
}
|
|
984
984
|
|
|
985
985
|
export { HERMES_DATEPICKER_DIRECTIVES, HermesCalendar, HermesDateContainer, HermesDateInput, HermesDateInputBase, HermesDateInputValidator, HermesDatepickerActions, HermesDatepickerModule, HermesDatepickerViewManager, HermesDay, HermesDaypicker, HermesEndDateInput, HermesEndDateInputValidator, HermesMonthpicker, HermesStartDateInput, HermesStartDateInputValidator, HermesWeekday, HermesYearpicker };
|
|
986
|
-
export type { HermesDayOfWeek };
|
|
986
|
+
export type { DateRange, DateRangeInput, DateRangeOption, HermesDayOfWeek };
|
|
987
987
|
//# sourceMappingURL=hermes-ui-angular-forms-datepicker.d.ts.map
|
|
@@ -84,7 +84,17 @@ declare class HermesVerticalNav implements OnDestroy {
|
|
|
84
84
|
private _navGroupRegistrationService;
|
|
85
85
|
commonStrings: HermesCommonStringsService;
|
|
86
86
|
toggleLabel: string;
|
|
87
|
+
/** Quando true, o toggle vira semanticamente um "fixar aberta/fechada" (ícones
|
|
88
|
+
* pin/unpin em vez do chevron duplo genérico) e habilita o hover-peek: passar
|
|
89
|
+
* o mouse enquanto colapsada e não fixada expande temporariamente (ver
|
|
90
|
+
* onPeekEnter/onPeekLeave abaixo), sem persistir nem emitir o output. */
|
|
91
|
+
pinnable: boolean;
|
|
87
92
|
contentId: string;
|
|
93
|
+
/** true só enquanto o mouse está sobre uma nav colapsada e "pinnable" —
|
|
94
|
+
* não persiste, não afeta `collapsed`/o output, é puramente visual. */
|
|
95
|
+
peeking: boolean;
|
|
96
|
+
onPeekEnter(): void;
|
|
97
|
+
onPeekLeave(): void;
|
|
88
98
|
private _collapsedChanged;
|
|
89
99
|
private _sub;
|
|
90
100
|
constructor(_navService: VerticalNavService, _navIconService: VerticalNavIconService, _navGroupRegistrationService: VerticalNavGroupRegistrationService, commonStrings: HermesCommonStringsService);
|
|
@@ -98,7 +108,7 @@ declare class HermesVerticalNav implements OnDestroy {
|
|
|
98
108
|
ngOnDestroy(): void;
|
|
99
109
|
toggleByButton(): void;
|
|
100
110
|
static ɵfac: i0.ɵɵFactoryDeclaration<HermesVerticalNav, never>;
|
|
101
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HermesVerticalNav, "hermes-vertical-nav", never, { "toggleLabel": { "alias": "hermesVerticalNavToggleLabel"; "required": false; }; "collapsible": { "alias": "hermesVerticalNavCollapsible"; "required": false; }; "collapsed": { "alias": "hermesVerticalNavCollapsed"; "required": false; }; }, { "_collapsedChanged": "hermesVerticalNavCollapsedChange"; }, never, ["*"], false, never>;
|
|
111
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HermesVerticalNav, "hermes-vertical-nav", never, { "toggleLabel": { "alias": "hermesVerticalNavToggleLabel"; "required": false; }; "pinnable": { "alias": "hermesVerticalNavPinnable"; "required": false; }; "collapsible": { "alias": "hermesVerticalNavCollapsible"; "required": false; }; "collapsed": { "alias": "hermesVerticalNavCollapsed"; "required": false; }; }, { "_collapsedChanged": "hermesVerticalNavCollapsedChange"; }, never, ["*"], false, never>;
|
|
102
112
|
}
|
|
103
113
|
|
|
104
114
|
declare class HermesVerticalNavLink implements OnDestroy {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hermes-ui-angular-layout-vertical-nav.d.ts","sources":["../../../layout/vertical-nav/vertical-nav-group-children.ts","../../../layout/vertical-nav/providers/vertical-nav-group-registration.service.ts","../../../layout/vertical-nav/providers/vertical-nav-group.service.ts","../../../layout/vertical-nav/providers/vertical-nav.service.ts","../../../layout/vertical-nav/vertical-nav-group.ts","../../../layout/vertical-nav/providers/vertical-nav-icon.service.ts","../../../layout/vertical-nav/vertical-nav.ts","../../../layout/vertical-nav/vertical-nav-link.ts","../../../layout/vertical-nav/vertical-nav-icon.ts","../../../layout/vertical-nav/vertical-nav.module.ts"],"mappings":";;;;;;;;;AASA,cAKa,8BAA8B;yCAA9B,8BAA8B;2CAA9B,8BAA8B;AAAG;;ACL9C,cACa,mCAAmC;AAC9C;;AAMA;yCAPW,mCAAmC;6CAAnC,mCAAmC;AAU/C;;ACVD,cACa,uBAAuB;;AAGlC,wBAAoB,UAAU;AAI9B;yCAPW,uBAAuB;6CAAvB,uBAAuB;AAUnC;;ACXD,cACa,kBAAkB;;;;;AAM7B,8BAA0B,UAAU;AAIpC,4BAAwB,UAAU;;AAOlC;;AAUA;AAUA;yCArCW,kBAAkB;6CAAlB,kBAAkB;AA0C9B;;AClCD,cAca,sBAAuB,YAAW,gBAAgB,EAAE,SAAS;AAQtE;AACA;AAEA;AACO,mBAAe,0BAA0B;AAXF,oBAAc,YAAA;;;;AAOpD,6BAAa,eAAe,gCACE,mCAAmC,mBACxD,uBAAuB,eACnB,kBAAkB,iBACjB,0BAA0B;;AAmDlD;AAOA;;AAcA;;;AAoBA;AAMA;gCAO4B,cAAc;AAM1C;yCA3HW,sBAAsB;2CAAtB,sBAAsB;AAuIlC;;AC/JD,cACa,sBAAsB;;;AAOjC;AAIA;yCAXW,sBAAsB;6CAAtB,sBAAsB;AAclC;;ACTD,
|
|
1
|
+
{"version":3,"file":"hermes-ui-angular-layout-vertical-nav.d.ts","sources":["../../../layout/vertical-nav/vertical-nav-group-children.ts","../../../layout/vertical-nav/providers/vertical-nav-group-registration.service.ts","../../../layout/vertical-nav/providers/vertical-nav-group.service.ts","../../../layout/vertical-nav/providers/vertical-nav.service.ts","../../../layout/vertical-nav/vertical-nav-group.ts","../../../layout/vertical-nav/providers/vertical-nav-icon.service.ts","../../../layout/vertical-nav/vertical-nav.ts","../../../layout/vertical-nav/vertical-nav-link.ts","../../../layout/vertical-nav/vertical-nav-icon.ts","../../../layout/vertical-nav/vertical-nav.module.ts"],"mappings":";;;;;;;;;AASA,cAKa,8BAA8B;yCAA9B,8BAA8B;2CAA9B,8BAA8B;AAAG;;ACL9C,cACa,mCAAmC;AAC9C;;AAMA;yCAPW,mCAAmC;6CAAnC,mCAAmC;AAU/C;;ACVD,cACa,uBAAuB;;AAGlC,wBAAoB,UAAU;AAI9B;yCAPW,uBAAuB;6CAAvB,uBAAuB;AAUnC;;ACXD,cACa,kBAAkB;;;;;AAM7B,8BAA0B,UAAU;AAIpC,4BAAwB,UAAU;;AAOlC;;AAUA;AAUA;yCArCW,kBAAkB;6CAAlB,kBAAkB;AA0C9B;;AClCD,cAca,sBAAuB,YAAW,gBAAgB,EAAE,SAAS;AAQtE;AACA;AAEA;AACO,mBAAe,0BAA0B;AAXF,oBAAc,YAAA;;;;AAOpD,6BAAa,eAAe,gCACE,mCAAmC,mBACxD,uBAAuB,eACnB,kBAAkB,iBACjB,0BAA0B;;AAmDlD;AAOA;;AAcA;;;AAoBA;AAMA;gCAO4B,cAAc;AAM1C;yCA3HW,sBAAsB;2CAAtB,sBAAsB;AAuIlC;;AC/JD,cACa,sBAAsB;;;AAOjC;AAIA;yCAXW,sBAAsB;6CAAtB,sBAAsB;AAclC;;ACTD,cAqBa,iBAAkB,YAAW,SAAS;AA4B/C;AACA;AACA;AACO,mBAAe,0BAA0B;;AA7BlD;;;AAG0E;AACtC;AACpC;AAEA;AACwE;AACxE;AAEA;AAMA;;;AASU,6BAAa,kBAAkB,mBACd,sBAAsB,gCACT,mCAAmC,iBACnD,0BAA0B;AAOlD;AAIA;AAIA;AAIA;;;;;;yCAlDW,iBAAiB;2CAAjB,iBAAiB;AA4E7B;;ACnGD,cAaa,qBAAsB,YAAW,SAAS;;AAInD,sBAAM,UAAU,CAAC,WAAW,QACvB,iBAAiB,mBACwC,uBAAuB;AAavF;yCAnBW,qBAAqB;2CAArB,qBAAqB;AAsBjC;;ACrCD,cAKa,qBAAsB,YAAW,SAAS;AACzC;AAAQ,yCAAyB,sBAAsB;;yCADxD,qBAAqB;2CAArB,qBAAqB;AAQjC;;ACND,cAAa,8BAA8B,EAAE,IAAI;AAQjD,cAKa,uBAAuB;;yCAAvB,uBAAuB;0CAAvB,uBAAuB,UAAAA,iBAAA,SAAAC,qBAAA,SAAAC,sBAAA,SAAAC,8BAAA,SAAAC,qBAAA,WAAA,EAAA,CAAA,YAAA,SAAA,EAAA,CAAA,UAAA,SAAA,EAAA,CAAA,uBAAA,SAAA,EAAA,CAAA,2BAAA,WAAAJ,iBAAA,SAAAC,qBAAA,SAAAC,sBAAA,SAAAC,8BAAA,SAAAC,qBAAA,SAAA,EAAA,CAAA,uBAAA,SAAA,EAAA,CAAA,UAAA,SAAA,EAAA,CAAA,2BAAA;0CAAvB,uBAAuB;AAInC;;","names":["i1.HermesVerticalNav","i2.HermesVerticalNavLink","i3.HermesVerticalNavGroup","i4.HermesVerticalNavGroupChildren","i5.HermesVerticalNavIcon"]}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @beta This mirrors the `@beta` status of `hermes-pagination` in `@hermes-ui/core` - the API may still change.
|
|
5
|
+
*
|
|
6
|
+
* Lays out pagination controls (`<hermes-pagination-button>`, a page indicator, an optional
|
|
7
|
+
* jump-to-page `hermesInput`) in a row. Always provide an `aria-label` describing what is being paginated.
|
|
8
|
+
*
|
|
9
|
+
* ```html
|
|
10
|
+
* <hermes-pagination aria-label="Pagination">
|
|
11
|
+
* <hermes-pagination-button action="first" ariaLabel="First page" [disabled]="page === 1"></hermes-pagination-button>
|
|
12
|
+
* <hermes-pagination-button action="prev" ariaLabel="Previous page" [disabled]="page === 1"></hermes-pagination-button>
|
|
13
|
+
* <span aria-label="current page">{{ page }} / {{ totalPages }}</span>
|
|
14
|
+
* <hermes-pagination-button action="next" ariaLabel="Next page" [disabled]="page === totalPages"></hermes-pagination-button>
|
|
15
|
+
* <hermes-pagination-button action="last" ariaLabel="Last page" [disabled]="page === totalPages"></hermes-pagination-button>
|
|
16
|
+
* </hermes-pagination>
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
declare class HermesPagination {
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HermesPagination, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HermesPagination, "hermes-pagination", never, {}, {}, never, ["*"], true, never>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type HermesPaginationAction = 'first' | 'prev' | 'next' | 'last';
|
|
25
|
+
interface PaginationIconConfig {
|
|
26
|
+
shape: string;
|
|
27
|
+
direction: 'up' | 'right' | 'down' | 'left';
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* @beta Mirrors the `@beta` status of `hermes-pagination-button` in `@hermes-ui/core`.
|
|
31
|
+
*
|
|
32
|
+
* An icon-only action button meant to sit inside `<hermes-pagination>`. Always set `ariaLabel`
|
|
33
|
+
* (e.g. "First page", "Previous page") since the button carries no visible text.
|
|
34
|
+
*/
|
|
35
|
+
declare class HermesPaginationButton {
|
|
36
|
+
action: HermesPaginationAction;
|
|
37
|
+
disabled: boolean;
|
|
38
|
+
ariaLabel: string;
|
|
39
|
+
get icon(): PaginationIconConfig;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HermesPaginationButton, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HermesPaginationButton, "hermes-pagination-button", never, { "action": { "alias": "action"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
declare class HermesPaginationModule {
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HermesPaginationModule, never>;
|
|
46
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HermesPaginationModule, never, [typeof HermesPagination, typeof HermesPaginationButton], [typeof HermesPagination, typeof HermesPaginationButton]>;
|
|
47
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HermesPaginationModule>;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export { HermesPagination, HermesPaginationButton, HermesPaginationModule };
|
|
51
|
+
export type { HermesPaginationAction };
|
|
52
|
+
//# sourceMappingURL=hermes-ui-angular-pagination.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hermes-ui-angular-pagination.d.ts","sources":["../../../pagination/pagination.ts","../../../pagination/pagination-button.ts","../../../pagination/pagination.module.ts"],"mappings":";;AASA;;;;;;;;;;;;;;;AAeG;AACH,cAOa,gBAAgB;yCAAhB,gBAAgB;2CAAhB,gBAAgB;AAAG;;ACtB1B,KAAM,sBAAsB;AAElC,UAAU,oBAAoB;;;AAG7B;AAUD;;;;;AAKG;AACH,cAYa,sBAAsB;YAChB,sBAAsB;AAC9B;;gBAGG,oBAAoB;yCALrB,sBAAsB;2CAAtB,sBAAsB;AAQlC;;ACvCD,cAIa,sBAAsB;yCAAtB,sBAAsB;0CAAtB,sBAAsB,iBAAAA,gBAAA,SAAAC,sBAAA,WAAAD,gBAAA,SAAAC,sBAAA;0CAAtB,sBAAsB;AAAG;;","names":["i1.HermesPagination","i2.HermesPaginationButton"]}
|
|
@@ -1,42 +1,48 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import * as i1 from '@hermes-ui/angular/icon';
|
|
3
3
|
export * from '@hermes-ui/angular/icon';
|
|
4
|
-
import * as i2 from '@hermes-ui/angular/
|
|
4
|
+
import * as i2 from '@hermes-ui/angular/divider';
|
|
5
|
+
export * from '@hermes-ui/angular/divider';
|
|
6
|
+
import * as i3 from '@hermes-ui/angular/card';
|
|
7
|
+
export * from '@hermes-ui/angular/card';
|
|
8
|
+
import * as i4 from '@hermes-ui/angular/emphasis';
|
|
5
9
|
export * from '@hermes-ui/angular/emphasis';
|
|
6
|
-
import * as
|
|
10
|
+
import * as i5 from '@hermes-ui/angular/data';
|
|
7
11
|
export * from '@hermes-ui/angular/data';
|
|
8
|
-
import * as
|
|
12
|
+
import * as i6 from '@hermes-ui/angular/modal';
|
|
9
13
|
export * from '@hermes-ui/angular/modal';
|
|
10
|
-
import * as
|
|
14
|
+
import * as i7 from '@hermes-ui/angular/pagination';
|
|
15
|
+
export * from '@hermes-ui/angular/pagination';
|
|
16
|
+
import * as i8 from '@hermes-ui/angular/utils';
|
|
11
17
|
export * from '@hermes-ui/angular/utils';
|
|
12
|
-
import * as
|
|
18
|
+
import * as i9 from '@hermes-ui/angular/button';
|
|
13
19
|
export * from '@hermes-ui/angular/button';
|
|
14
|
-
import * as
|
|
20
|
+
import * as i10 from '@hermes-ui/angular/forms';
|
|
15
21
|
export * from '@hermes-ui/angular/forms';
|
|
16
|
-
import * as
|
|
22
|
+
import * as i11 from '@hermes-ui/angular/layout';
|
|
17
23
|
export * from '@hermes-ui/angular/layout';
|
|
18
|
-
import * as
|
|
24
|
+
import * as i12 from '@hermes-ui/angular/popover';
|
|
19
25
|
export * from '@hermes-ui/angular/popover';
|
|
20
|
-
import * as
|
|
26
|
+
import * as i13 from '@hermes-ui/angular/wizard';
|
|
21
27
|
export * from '@hermes-ui/angular/wizard';
|
|
22
|
-
import * as
|
|
28
|
+
import * as i14 from '@hermes-ui/angular/accordion';
|
|
23
29
|
export * from '@hermes-ui/angular/accordion';
|
|
24
|
-
import * as
|
|
30
|
+
import * as i15 from '@hermes-ui/angular/stepper';
|
|
25
31
|
export * from '@hermes-ui/angular/stepper';
|
|
26
|
-
import * as
|
|
32
|
+
import * as i16 from '@hermes-ui/angular/progress/spinner';
|
|
27
33
|
export * from '@hermes-ui/angular/progress/spinner';
|
|
28
|
-
import * as
|
|
34
|
+
import * as i17 from '@hermes-ui/angular/progress/progress-bars';
|
|
29
35
|
export * from '@hermes-ui/angular/progress/progress-bars';
|
|
30
|
-
import * as
|
|
31
|
-
import * as
|
|
36
|
+
import * as i18 from '@hermes-ui/angular/popover/common';
|
|
37
|
+
import * as i19 from '@hermes-ui/angular/timeline';
|
|
32
38
|
export * from '@hermes-ui/angular/timeline';
|
|
33
|
-
import * as
|
|
39
|
+
import * as i20 from '@hermes-ui/angular/toast';
|
|
34
40
|
export * from '@hermes-ui/angular/toast';
|
|
35
41
|
export * from '@hermes-ui/angular/collapsible-panel';
|
|
36
42
|
|
|
37
43
|
declare class HermesModule {
|
|
38
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<HermesModule, never>;
|
|
39
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<HermesModule, never, [typeof i1.HermesIcon], [typeof
|
|
45
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HermesModule, never, [typeof i1.HermesIcon, typeof i2.HermesDivider, typeof i3.HermesCard], [typeof i4.HermesEmphasisModule, typeof i5.HermesDataModule, typeof i3.HermesCard, typeof i2.HermesDivider, typeof i1.HermesIcon, typeof i1.HermesIconModule, typeof i6.HermesModalModule, typeof i7.HermesPaginationModule, typeof i8.HermesLoadingModule, typeof i8.HermesConditionalModule, typeof i8.HermesFocusOnViewInitModule, typeof i9.HermesButtonModule, typeof i10.HermesFormsModule, typeof i11.HermesLayoutModule, typeof i12.HermesPopoverModule, typeof i13.HermesWizardModule, typeof i6.HermesSidePanelModule, typeof i14.HermesAccordionModule, typeof i15.HermesStepperModule, typeof i16.HermesSpinnerModule, typeof i17.HermesProgressBarModule, typeof i18.HermesPopoverModuleNext, typeof i19.HermesTimelineModule, typeof i20.HermesToastModule]>;
|
|
40
46
|
static ɵinj: i0.ɵɵInjectorDeclaration<HermesModule>;
|
|
41
47
|
}
|
|
42
48
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hermes-ui-angular.d.ts","sources":["../../../hermes-angular.module.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"hermes-ui-angular.d.ts","sources":["../../../hermes-angular.module.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BA,cA6Ba,YAAY;yCAAZ,YAAY;0CAAZ,YAAY,iBAAA,EAAA,CAAA,UAAA,SAAA,EAAA,CAAA,aAAA,SAAA,EAAA,CAAA,UAAA,WAAA,EAAA,CAAA,oBAAA,SAAA,EAAA,CAAA,gBAAA,SAAA,EAAA,CAAA,UAAA,SAAA,EAAA,CAAA,aAAA,SAAA,EAAA,CAAA,UAAA,SAAA,EAAA,CAAA,gBAAA,SAAA,EAAA,CAAA,iBAAA,SAAA,EAAA,CAAA,sBAAA,SAAA,EAAA,CAAA,mBAAA,SAAA,EAAA,CAAA,uBAAA,SAAA,EAAA,CAAA,2BAAA,SAAA,EAAA,CAAA,kBAAA,SAAA,GAAA,CAAA,iBAAA,SAAA,GAAA,CAAA,kBAAA,SAAA,GAAA,CAAA,mBAAA,SAAA,GAAA,CAAA,kBAAA,SAAA,EAAA,CAAA,qBAAA,SAAA,GAAA,CAAA,qBAAA,SAAA,GAAA,CAAA,mBAAA,SAAA,GAAA,CAAA,mBAAA,SAAA,GAAA,CAAA,uBAAA,SAAA,GAAA,CAAA,uBAAA,SAAA,GAAA,CAAA,oBAAA,SAAA,GAAA,CAAA,iBAAA;0CAAZ,YAAY;AAAG;;","names":[]}
|