@hug/hospitality 1.0.0-alpha.10 → 1.0.0-alpha.13
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/buttons.mjs
CHANGED
|
@@ -55,7 +55,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
55
55
|
}], propDecorators: { hyAppearance: [{ type: i0.Input, args: [{ isSignal: true, alias: "hyAppearance", required: false }] }] } });
|
|
56
56
|
|
|
57
57
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
58
|
-
const
|
|
58
|
+
const HyButtonStylingDirectives = [
|
|
59
59
|
HyButtonSizeDirective,
|
|
60
60
|
HyButtonAppearanceDirective,
|
|
61
61
|
HyIconButtonAppearanceDirective
|
|
@@ -65,5 +65,5 @@ const ButtonStylingDirectives = [
|
|
|
65
65
|
* Generated bundle index. Do not edit.
|
|
66
66
|
*/
|
|
67
67
|
|
|
68
|
-
export {
|
|
68
|
+
export { HyButtonAppearanceDirective, HyButtonSizeDirective, HyButtonStylingDirectives, HyIconButtonAppearanceDirective };
|
|
69
69
|
//# sourceMappingURL=buttons.mjs.map
|
package/fesm2022/buttons.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttons.mjs","sources":["../../material/button/directives/button-appearance.directive.ts","../../material/button/directives/button-size.directive.ts","../../material/button/directives/icon-button-appearance.directive.ts","../../material/button/directives/button-styling.directives.ts","../../material/button/buttons.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/naming-convention */\nimport { Directive, input } from '@angular/core';\n\nexport type HyAppearanceType = 'warning';\n\n@Directive({\n selector: 'button[matButton]:not([matButton=\"outlined\"]):not([matButton=\"tonal\"]):not([matButton=\"elevated\"])',\n standalone: true,\n host: {\n '[attr.hyAppearance]': 'hyAppearance()'\n }\n})\nexport class HyButtonAppearanceDirective {\n public hyAppearance = input<HyAppearanceType | null>(null);\n}\n","/* eslint-disable @typescript-eslint/naming-convention */\nimport { Directive, input } from '@angular/core';\n\nexport type HySizeType = 'small' | 'medium' | 'x-large';\n\n@Directive({\n selector: 'button[hySize]',\n standalone: true,\n host: {\n '[attr.hySize]': 'hySize()'\n }\n})\nexport class HyButtonSizeDirective {\n public hySize = input<HySizeType | null>(null);\n}\n","/* eslint-disable @typescript-eslint/naming-convention */\nimport { Directive, input } from '@angular/core';\n\nexport type HyAppearanceIconType = 'warning' | 'warning-filled' | 'tonal' | 'filled';\n\n@Directive({\n selector: `\n button[matIconButton][hyAppearance]\n `,\n standalone: true,\n host: {\n '[attr.hyAppearance]': 'hyAppearance()'\n }\n})\nexport class HyIconButtonAppearanceDirective {\n public hyAppearance = input<HyAppearanceIconType | null>(null);\n}\n","import { HyButtonAppearanceDirective } from './button-appearance.directive';\nimport { HyButtonSizeDirective } from './button-size.directive';\nimport { HyIconButtonAppearanceDirective } from './icon-button-appearance.directive';\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const
|
|
1
|
+
{"version":3,"file":"buttons.mjs","sources":["../../material/button/directives/button-appearance.directive.ts","../../material/button/directives/button-size.directive.ts","../../material/button/directives/icon-button-appearance.directive.ts","../../material/button/directives/button-styling.directives.ts","../../material/button/buttons.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/naming-convention */\nimport { Directive, input } from '@angular/core';\n\nexport type HyAppearanceType = 'warning';\n\n@Directive({\n selector: 'button[matButton]:not([matButton=\"outlined\"]):not([matButton=\"tonal\"]):not([matButton=\"elevated\"])',\n standalone: true,\n host: {\n '[attr.hyAppearance]': 'hyAppearance()'\n }\n})\nexport class HyButtonAppearanceDirective {\n public hyAppearance = input<HyAppearanceType | null>(null);\n}\n","/* eslint-disable @typescript-eslint/naming-convention */\nimport { Directive, input } from '@angular/core';\n\nexport type HySizeType = 'small' | 'medium' | 'x-large';\n\n@Directive({\n selector: 'button[hySize]',\n standalone: true,\n host: {\n '[attr.hySize]': 'hySize()'\n }\n})\nexport class HyButtonSizeDirective {\n public hySize = input<HySizeType | null>(null);\n}\n","/* eslint-disable @typescript-eslint/naming-convention */\nimport { Directive, input } from '@angular/core';\n\nexport type HyAppearanceIconType = 'warning' | 'warning-filled' | 'tonal' | 'filled';\n\n@Directive({\n selector: `\n button[matIconButton][hyAppearance]\n `,\n standalone: true,\n host: {\n '[attr.hyAppearance]': 'hyAppearance()'\n }\n})\nexport class HyIconButtonAppearanceDirective {\n public hyAppearance = input<HyAppearanceIconType | null>(null);\n}\n","import { HyButtonAppearanceDirective } from './button-appearance.directive';\nimport { HyButtonSizeDirective } from './button-size.directive';\nimport { HyIconButtonAppearanceDirective } from './icon-button-appearance.directive';\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const HyButtonStylingDirectives = [\n HyButtonSizeDirective,\n HyButtonAppearanceDirective,\n HyIconButtonAppearanceDirective\n] as const;\n\nexport {\n HyButtonAppearanceDirective, HyButtonSizeDirective, HyIconButtonAppearanceDirective\n};\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAAA;MAYa,2BAA2B,CAAA;AAC7B,IAAA,YAAY,GAAG,KAAK,CAA0B,IAAI,wDAAC;uGADjD,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,0GAAA,EAAA,MAAA,EAAA,EAAA,YAAA,EAAA,EAAA,iBAAA,EAAA,cAAA,EAAA,UAAA,EAAA,cAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,mBAAA,EAAA,gBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAA3B,2BAA2B,EAAA,UAAA,EA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AA,cAAA,EAAA,UAAA,EAAA,cAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,mBAAA,EAAA,gBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAA/B,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAT3C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE;;AAET,IAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACF,wBAAA,qBAAqB,EAAE;AAC1B;AACJ,iBAAA;;;ACTD;AACO,MAAM,yBAAyB,GAAG;IACrC,qBAAqB;IACrB,2BAA2B;IAC3B;;;ACRJ;;AAEG;;;;"}
|
package/fesm2022/form-field.mjs
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, Directive } from '@angular/core';
|
|
1
3
|
import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
|
|
2
4
|
|
|
5
|
+
/* eslint-disable @typescript-eslint/naming-convention */
|
|
6
|
+
class HyFormFieldSizeDirective {
|
|
7
|
+
hySize = input(null, ...(ngDevMode ? [{ debugName: "hySize" }] : []));
|
|
8
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: HyFormFieldSizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
9
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: HyFormFieldSizeDirective, isStandalone: true, selector: "mat-form-field[hySize]", inputs: { hySize: { classPropertyName: "hySize", publicName: "hySize", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.hySize": "hySize()" } }, ngImport: i0 });
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: HyFormFieldSizeDirective, decorators: [{
|
|
12
|
+
type: Directive,
|
|
13
|
+
args: [{
|
|
14
|
+
selector: 'mat-form-field[hySize]',
|
|
15
|
+
standalone: true,
|
|
16
|
+
host: {
|
|
17
|
+
'[attr.hySize]': 'hySize()'
|
|
18
|
+
}
|
|
19
|
+
}]
|
|
20
|
+
}], propDecorators: { hySize: [{ type: i0.Input, args: [{ isSignal: true, alias: "hySize", required: false }] }] } });
|
|
21
|
+
|
|
3
22
|
const provideHyFormField = () => ({
|
|
4
23
|
provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,
|
|
5
24
|
useValue: { appearance: 'outline' }
|
|
@@ -9,5 +28,5 @@ const provideHyFormField = () => ({
|
|
|
9
28
|
* Generated bundle index. Do not edit.
|
|
10
29
|
*/
|
|
11
30
|
|
|
12
|
-
export { provideHyFormField };
|
|
31
|
+
export { HyFormFieldSizeDirective, provideHyFormField };
|
|
13
32
|
//# sourceMappingURL=form-field.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field.mjs","sources":["../../material/form-field/form-field.provider.ts","../../material/form-field/form-field.ts"],"sourcesContent":["import type { Provider } from '@angular/core';\nimport { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';\n\nexport const provideHyFormField = (): Provider => ({\n provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,\n useValue: { appearance: 'outline' }\n});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"form-field.mjs","sources":["../../material/form-field/form-field-size.directive.ts","../../material/form-field/form-field.provider.ts","../../material/form-field/form-field.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/naming-convention */\nimport { Directive, input } from '@angular/core';\n\nexport type HyFormFieldSizeType = 'small' | 'medium' | 'large';\n\n@Directive({\n selector: 'mat-form-field[hySize]',\n standalone: true,\n host: {\n '[attr.hySize]': 'hySize()'\n }\n})\nexport class HyFormFieldSizeDirective {\n public hySize = input<HyFormFieldSizeType | null>(null);\n}\n","import type { Provider } from '@angular/core';\nimport { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';\n\nexport const provideHyFormField = (): Provider => ({\n provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,\n useValue: { appearance: 'outline' }\n});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA;MAYa,wBAAwB,CAAA;AAC1B,IAAA,MAAM,GAAG,KAAK,CAA6B,IAAI,kDAAC;uGAD9C,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,MAAA,EAAA,EAAA,MAAA,EAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,QAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,aAAA,EAAA,UAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAPpC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACF,wBAAA,eAAe,EAAE;AACpB;AACJ,iBAAA;;;ACRM,MAAM,kBAAkB,GAAG,OAAiB;AAC/C,IAAA,OAAO,EAAE,8BAA8B;AACvC,IAAA,QAAQ,EAAE,EAAE,UAAU,EAAE,SAAS;AACpC,CAAA;;ACND;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hug/hospitality",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.13",
|
|
4
4
|
"description": "Hospitality Design System",
|
|
5
5
|
"homepage": "https://github.com/dsi-hug/hospitality",
|
|
6
6
|
"license": "GPL-3.0-only",
|
|
@@ -31,9 +31,15 @@
|
|
|
31
31
|
"types": "./types/buttons.d.ts",
|
|
32
32
|
"default": "./fesm2022/buttons.mjs"
|
|
33
33
|
},
|
|
34
|
+
"./material/column-bar": {
|
|
35
|
+
"sass": "./material/column-bar/column-bar.scss"
|
|
36
|
+
},
|
|
34
37
|
"./material/dialog": {
|
|
35
38
|
"sass": "./material/dialog/dialog.scss"
|
|
36
39
|
},
|
|
40
|
+
"./material/filters-group": {
|
|
41
|
+
"sass": "./material/filters-group/filters-group.scss"
|
|
42
|
+
},
|
|
37
43
|
"./material/form-field": {
|
|
38
44
|
"sass": "./material/form-field/form-field.scss",
|
|
39
45
|
"types": "./types/form-field.d.ts",
|
|
@@ -48,6 +54,9 @@
|
|
|
48
54
|
"./material/panel": {
|
|
49
55
|
"sass": "./material/panel/panel.scss"
|
|
50
56
|
},
|
|
57
|
+
"./material/panel-bar": {
|
|
58
|
+
"sass": "./material/panel-bar/panel-bar.scss"
|
|
59
|
+
},
|
|
51
60
|
"./material/search-bar-container": {
|
|
52
61
|
"sass": "./material/search-bar-container/search-bar-container.scss"
|
|
53
62
|
},
|
package/types/buttons.d.ts
CHANGED
|
@@ -20,6 +20,6 @@ declare class HyIconButtonAppearanceDirective {
|
|
|
20
20
|
static ɵdir: i0.ɵɵDirectiveDeclaration<HyIconButtonAppearanceDirective, " button[matIconButton][hyAppearance] ", never, { "hyAppearance": { "alias": "hyAppearance"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
declare const
|
|
23
|
+
declare const HyButtonStylingDirectives: readonly [typeof HyButtonSizeDirective, typeof HyButtonAppearanceDirective, typeof HyIconButtonAppearanceDirective];
|
|
24
24
|
|
|
25
|
-
export {
|
|
25
|
+
export { HyButtonAppearanceDirective, HyButtonSizeDirective, HyButtonStylingDirectives, HyIconButtonAppearanceDirective };
|
package/types/form-field.d.ts
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
1
2
|
import { Provider } from '@angular/core';
|
|
2
3
|
|
|
4
|
+
type HyFormFieldSizeType = 'small' | 'medium' | 'large';
|
|
5
|
+
declare class HyFormFieldSizeDirective {
|
|
6
|
+
hySize: i0.InputSignal<HyFormFieldSizeType | null>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HyFormFieldSizeDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HyFormFieldSizeDirective, "mat-form-field[hySize]", never, { "hySize": { "alias": "hySize"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
10
|
+
|
|
3
11
|
declare const provideHyFormField: () => Provider;
|
|
4
12
|
|
|
5
|
-
export { provideHyFormField };
|
|
13
|
+
export { HyFormFieldSizeDirective, provideHyFormField };
|