@hug/hospitality 0.0.4-alpha.14 → 0.0.4-alpha.16
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/core.mjs +31 -0
- package/fesm2022/core.mjs.map +1 -0
- package/{material/form-field/form-field.provider.ts → fesm2022/form-field.mjs} +8 -2
- package/fesm2022/form-field.mjs.map +1 -0
- package/fesm2022/hug-hospitality.mjs +4 -0
- package/fesm2022/hug-hospitality.mjs.map +1 -0
- package/fesm2022/tokens.mjs +5053 -0
- package/fesm2022/tokens.mjs.map +1 -0
- package/material/core/directives/components-styling.directive.d.ts +8 -0
- package/material/form-field/form-field.provider.d.ts +2 -0
- package/package.json +93 -93
- package/tokens/{index.ts → index.d.ts} +8 -16
- package/.editorconfig +0 -18
- package/.eslintignore +0 -47
- package/.eslintrc.json +0 -6
- package/.github/ISSUE_TEMPLATE/1-bug-report.yml +0 -57
- package/.github/ISSUE_TEMPLATE/2-feature-request.yml +0 -26
- package/.github/ISSUE_TEMPLATE/3-doc-issue.yml +0 -26
- package/.github/workflows/ci_release.yml +0 -17
- package/.husky/commit-msg +0 -3
- package/.husky/pre-commit +0 -17
- package/.vscode/extensions.json +0 -6
- package/.vscode/settings.json +0 -33
- package/CODE_OF_CONDUCT.md +0 -135
- package/CONTRIBUTING.md +0 -289
- package/DEVELOPER.md +0 -37
- package/material/core/directives/components-styling.directive.ts +0 -20
- package/material/core/ng-package.json +0 -7
- package/material/form-field/ng-package.json +0 -7
- package/ng-package.json +0 -10
- package/tokens/ng-package.json +0 -7
- package/tokens/tokens.json +0 -5042
- package/tsconfig.json +0 -16
- /package/{index.ts → index.d.ts} +0 -0
- /package/material/core/{index.ts → index.d.ts} +0 -0
- /package/material/form-field/{index.ts → index.d.ts} +0 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, Directive } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
/* eslint-disable @typescript-eslint/naming-convention */
|
|
5
|
+
class ComponentsStylingDirective {
|
|
6
|
+
hySize = input(null, { alias: 'hy-size' });
|
|
7
|
+
hyAppearance = input(null, { alias: 'hy-appearance' });
|
|
8
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ComponentsStylingDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
9
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.17", type: ComponentsStylingDirective, isStandalone: true, selector: "\n [hy-size],\n [hy-appearance]\n ", inputs: { hySize: { classPropertyName: "hySize", publicName: "hy-size", isSignal: true, isRequired: false, transformFunction: null }, hyAppearance: { classPropertyName: "hyAppearance", publicName: "hy-appearance", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.hy-size": "hySize()", "attr.hy-appearance": "hyAppearance()" } }, ngImport: i0 });
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ComponentsStylingDirective, decorators: [{
|
|
12
|
+
type: Directive,
|
|
13
|
+
args: [{
|
|
14
|
+
selector: `
|
|
15
|
+
[hy-size],
|
|
16
|
+
[hy-appearance]
|
|
17
|
+
`,
|
|
18
|
+
standalone: true,
|
|
19
|
+
host: {
|
|
20
|
+
'[attr.hy-size]': 'hySize()',
|
|
21
|
+
'[attr.hy-appearance]': 'hyAppearance()'
|
|
22
|
+
}
|
|
23
|
+
}]
|
|
24
|
+
}] });
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Generated bundle index. Do not edit.
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
export { ComponentsStylingDirective };
|
|
31
|
+
//# sourceMappingURL=core.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core.mjs","sources":["../../material/core/directives/components-styling.directive.ts","../../material/core/core.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/naming-convention */\nimport { Directive, input } from '@angular/core';\n\nexport type HySizeType = 'x-small' | 'small' | 'medium' | 'large' | 'x-large';\n\n@Directive({\n selector: `\n [hy-size],\n [hy-appearance]\n `,\n standalone: true,\n host: {\n '[attr.hy-size]': 'hySize()',\n '[attr.hy-appearance]': 'hyAppearance()'\n }\n})\nexport class ComponentsStylingDirective {\n public hySize = input<HySizeType | null>(null, { alias: 'hy-size' });\n public hyAppearance = input<string | null>(null, { alias: 'hy-appearance' });\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAAA;MAgBa,0BAA0B,CAAA;IAC5B,MAAM,GAAG,KAAK,CAAoB,IAAI,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC;IAC7D,YAAY,GAAG,KAAK,CAAgB,IAAI,EAAE,EAAE,KAAK,EAAE,eAAe,EAAE,CAAC;wGAFnE,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA1B,0BAA0B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qDAAA,EAAA,MAAA,EAAA,EAAA,MAAA,EAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,YAAA,EAAA,EAAA,iBAAA,EAAA,cAAA,EAAA,UAAA,EAAA,eAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,cAAA,EAAA,UAAA,EAAA,oBAAA,EAAA,gBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAXtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE;;;AAGT,IAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACF,wBAAA,gBAAgB,EAAE,UAAU;AAC5B,wBAAA,sBAAsB,EAAE;AAC3B;AACJ,iBAAA;;;ACfD;;AAEG;;;;"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
import type { Provider } from '@angular/core';
|
|
2
1
|
import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
const provideHyFormField = () => ({
|
|
5
4
|
provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,
|
|
6
5
|
useValue: { appearance: 'outline' }
|
|
7
6
|
});
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Generated bundle index. Do not edit.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
export { provideHyFormField };
|
|
13
|
+
//# sourceMappingURL=form-field.mjs.map
|
|
@@ -0,0 +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":";;AAGO,MAAM,kBAAkB,GAAG,OAAiB;AAC/C,IAAA,OAAO,EAAE,8BAA8B;AACvC,IAAA,QAAQ,EAAE,EAAE,UAAU,EAAE,SAAS;AACpC,CAAA;;ACND;;AAEG;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hug-hospitality.mjs","sources":["../../hug-hospitality.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;AAEG"}
|