@hug/hospitality 0.0.4-alpha.17 → 0.0.4-alpha.18
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/package.json +92 -92
- 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/dist/LICENSE +0 -674
- package/dist/README.md +0 -85
- package/dist/material/button/button.scss +0 -237
- package/dist/material/dialog/dialog.scss +0 -29
- package/dist/material/form-field/form-field.scss +0 -97
- package/dist/material/theme/theme.scss +0 -69
- package/dist/material/theme/utils.scss +0 -10
- package/dist/tokens/tokens.css +0 -823
- package/index.ts +0 -1
- package/material/core/directives/components-styling.directive.ts +0 -20
- package/material/core/index.ts +0 -1
- package/material/core/ng-package.json +0 -7
- package/material/form-field/form-field.provider.ts +0 -7
- package/material/form-field/index.ts +0 -1
- package/material/form-field/ng-package.json +0 -7
- package/ng-package.json +0 -10
- package/tokens/index.ts +0 -38
- package/tokens/ng-package.json +0 -7
- package/tokens/tokens.json +0 -5042
- package/tsconfig.json +0 -16
- /package/{dist/fesm2022 → fesm2022}/core.mjs +0 -0
- /package/{dist/fesm2022 → fesm2022}/core.mjs.map +0 -0
- /package/{dist/fesm2022 → fesm2022}/form-field.mjs +0 -0
- /package/{dist/fesm2022 → fesm2022}/form-field.mjs.map +0 -0
- /package/{dist/fesm2022 → fesm2022}/hug-hospitality.mjs +0 -0
- /package/{dist/fesm2022 → fesm2022}/hug-hospitality.mjs.map +0 -0
- /package/{dist/fesm2022 → fesm2022}/tokens.mjs +0 -0
- /package/{dist/fesm2022 → fesm2022}/tokens.mjs.map +0 -0
- /package/{dist/index.d.ts → index.d.ts} +0 -0
- /package/{dist/material → material}/core/directives/components-styling.directive.d.ts +0 -0
- /package/{dist/material → material}/core/index.d.ts +0 -0
- /package/{dist/material → material}/form-field/form-field.provider.d.ts +0 -0
- /package/{dist/material → material}/form-field/index.d.ts +0 -0
- /package/{dist/tokens → tokens}/index.d.ts +0 -0
package/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/naming-convention */
|
|
2
|
-
import { Directive, input } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
export type HySizeType = 'x-small' | 'small' | 'medium' | 'large' | 'x-large';
|
|
5
|
-
|
|
6
|
-
@Directive({
|
|
7
|
-
selector: `
|
|
8
|
-
[hy-size],
|
|
9
|
-
[hy-appearance]
|
|
10
|
-
`,
|
|
11
|
-
standalone: true,
|
|
12
|
-
host: {
|
|
13
|
-
'[attr.hy-size]': 'hySize()',
|
|
14
|
-
'[attr.hy-appearance]': 'hyAppearance()'
|
|
15
|
-
}
|
|
16
|
-
})
|
|
17
|
-
export class ComponentsStylingDirective {
|
|
18
|
-
public hySize = input<HySizeType | null>(null, { alias: 'hy-size' });
|
|
19
|
-
public hyAppearance = input<string | null>(null, { alias: 'hy-appearance' });
|
|
20
|
-
}
|
package/material/core/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ComponentsStylingDirective } from './directives/components-styling.directive';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Provider } from '@angular/core';
|
|
2
|
-
import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
|
|
3
|
-
|
|
4
|
-
export const provideHyFormField = (): Provider => ({
|
|
5
|
-
provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,
|
|
6
|
-
useValue: { appearance: 'outline' }
|
|
7
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { provideHyFormField } from './form-field.provider';
|
package/ng-package.json
DELETED
package/tokens/index.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import rawTokens from './tokens.json';
|
|
2
|
-
|
|
3
|
-
export interface Token {
|
|
4
|
-
id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
type: string;
|
|
7
|
-
value: string | number;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface TokenSystem {
|
|
11
|
-
id?: string;
|
|
12
|
-
name: string;
|
|
13
|
-
type: string;
|
|
14
|
-
reference: Token[];
|
|
15
|
-
_referenceValue:
|
|
16
|
-
| string
|
|
17
|
-
| {
|
|
18
|
-
weight: number;
|
|
19
|
-
size: number;
|
|
20
|
-
lineHeight: number;
|
|
21
|
-
font: string;
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface Tokens {
|
|
26
|
-
references: Token[];
|
|
27
|
-
systems: {
|
|
28
|
-
light: TokenSystem[];
|
|
29
|
-
dark: TokenSystem[];
|
|
30
|
-
} | TokenSystem[];
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
const tokens: {
|
|
34
|
-
colors: Tokens;
|
|
35
|
-
typographies: Tokens;
|
|
36
|
-
} = rawTokens;
|
|
37
|
-
|
|
38
|
-
export { tokens };
|