@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.
Files changed (49) hide show
  1. package/package.json +92 -92
  2. package/.editorconfig +0 -18
  3. package/.eslintignore +0 -47
  4. package/.eslintrc.json +0 -6
  5. package/.github/ISSUE_TEMPLATE/1-bug-report.yml +0 -57
  6. package/.github/ISSUE_TEMPLATE/2-feature-request.yml +0 -26
  7. package/.github/ISSUE_TEMPLATE/3-doc-issue.yml +0 -26
  8. package/.github/workflows/ci_release.yml +0 -17
  9. package/.husky/commit-msg +0 -3
  10. package/.husky/pre-commit +0 -17
  11. package/.vscode/extensions.json +0 -6
  12. package/.vscode/settings.json +0 -33
  13. package/CODE_OF_CONDUCT.md +0 -135
  14. package/CONTRIBUTING.md +0 -289
  15. package/DEVELOPER.md +0 -37
  16. package/dist/LICENSE +0 -674
  17. package/dist/README.md +0 -85
  18. package/dist/material/button/button.scss +0 -237
  19. package/dist/material/dialog/dialog.scss +0 -29
  20. package/dist/material/form-field/form-field.scss +0 -97
  21. package/dist/material/theme/theme.scss +0 -69
  22. package/dist/material/theme/utils.scss +0 -10
  23. package/dist/tokens/tokens.css +0 -823
  24. package/index.ts +0 -1
  25. package/material/core/directives/components-styling.directive.ts +0 -20
  26. package/material/core/index.ts +0 -1
  27. package/material/core/ng-package.json +0 -7
  28. package/material/form-field/form-field.provider.ts +0 -7
  29. package/material/form-field/index.ts +0 -1
  30. package/material/form-field/ng-package.json +0 -7
  31. package/ng-package.json +0 -10
  32. package/tokens/index.ts +0 -38
  33. package/tokens/ng-package.json +0 -7
  34. package/tokens/tokens.json +0 -5042
  35. package/tsconfig.json +0 -16
  36. /package/{dist/fesm2022 → fesm2022}/core.mjs +0 -0
  37. /package/{dist/fesm2022 → fesm2022}/core.mjs.map +0 -0
  38. /package/{dist/fesm2022 → fesm2022}/form-field.mjs +0 -0
  39. /package/{dist/fesm2022 → fesm2022}/form-field.mjs.map +0 -0
  40. /package/{dist/fesm2022 → fesm2022}/hug-hospitality.mjs +0 -0
  41. /package/{dist/fesm2022 → fesm2022}/hug-hospitality.mjs.map +0 -0
  42. /package/{dist/fesm2022 → fesm2022}/tokens.mjs +0 -0
  43. /package/{dist/fesm2022 → fesm2022}/tokens.mjs.map +0 -0
  44. /package/{dist/index.d.ts → index.d.ts} +0 -0
  45. /package/{dist/material → material}/core/directives/components-styling.directive.d.ts +0 -0
  46. /package/{dist/material → material}/core/index.d.ts +0 -0
  47. /package/{dist/material → material}/form-field/form-field.provider.d.ts +0 -0
  48. /package/{dist/material → material}/form-field/index.d.ts +0 -0
  49. /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
- }
@@ -1 +0,0 @@
1
- export { ComponentsStylingDirective } from './directives/components-styling.directive';
@@ -1,7 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
- "lib": {
4
- "flatModuleFile": "core",
5
- "entryFile": "./index.ts"
6
- }
7
- }
@@ -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';
@@ -1,7 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
- "lib": {
4
- "flatModuleFile": "form-field",
5
- "entryFile": "./index.ts"
6
- }
7
- }
package/ng-package.json DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "$schema": "./node_modules/ng-packagr/ng-package.schema.json",
3
- "assets": [
4
- "./material/**/*.scss",
5
- "./tokens/tokens.css"
6
- ],
7
- "lib": {
8
- "entryFile": "./index.ts"
9
- }
10
- }
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 };
@@ -1,7 +0,0 @@
1
- {
2
- "$schema": "../node_modules/ng-packagr/ng-package.schema.json",
3
- "lib": {
4
- "flatModuleFile": "tokens",
5
- "entryFile": "./index.ts"
6
- }
7
- }