@zambon-dev/ui 0.0.1-bootstrap.0 → 1.0.0

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 (43) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/README.md +81 -81
  3. package/fesm2022/zambon-dev-ui-framework.mjs +5943 -3980
  4. package/fesm2022/zambon-dev-ui-framework.mjs.map +1 -1
  5. package/fesm2022/zambon-dev-ui-library.mjs +5787 -4272
  6. package/fesm2022/zambon-dev-ui-library.mjs.map +1 -1
  7. package/fesm2022/zambon-dev-ui-shared.mjs +2505 -1790
  8. package/fesm2022/zambon-dev-ui-shared.mjs.map +1 -1
  9. package/fesm2022/zambon-dev-ui-testing.mjs +73 -77
  10. package/fesm2022/zambon-dev-ui-testing.mjs.map +1 -1
  11. package/fesm2022/zambon-dev-ui.mjs +3 -8
  12. package/i18n/framework/en.json +63 -63
  13. package/i18n/framework/pt.json +63 -63
  14. package/i18n/shared/external-content/en.json +12 -12
  15. package/i18n/shared/external-content/pt.json +12 -12
  16. package/i18n/shared/language-selector/en.json +5 -5
  17. package/i18n/shared/language-selector/pt.json +5 -5
  18. package/i18n/shared/login/en.json +14 -14
  19. package/i18n/shared/login/pt.json +14 -14
  20. package/i18n/shared/operations-history/en.json +5 -5
  21. package/i18n/shared/operations-history/pt.json +5 -5
  22. package/i18n/shared/services-history/en.json +14 -14
  23. package/i18n/shared/services-history/pt.json +14 -14
  24. package/i18n/shared/top-bar/en.json +7 -7
  25. package/i18n/shared/top-bar/pt.json +7 -7
  26. package/package.json +1 -1
  27. package/styles/common.scss +10 -10
  28. package/styles/components/button.scss +101 -101
  29. package/styles/components/card.scss +13 -13
  30. package/styles/components/dropdown-static.scss +35 -35
  31. package/styles/components/input-group.scss +44 -44
  32. package/styles/components/input.scss +99 -99
  33. package/styles/components/label.scss +3 -3
  34. package/styles/components/row.scss +48 -48
  35. package/styles/mixins/background.scss +31 -31
  36. package/styles/theme.css +75 -75
  37. package/styles/variables.scss +60 -60
  38. package/types/zambon-dev-ui-framework.d.ts +1459 -1029
  39. package/types/zambon-dev-ui-library.d.ts +1607 -1165
  40. package/types/zambon-dev-ui-shared.d.ts +563 -543
  41. package/types/zambon-dev-ui-testing.d.ts +25 -30
  42. package/types/zambon-dev-ui.d.ts +3 -3
  43. package/fesm2022/zambon-dev-ui.mjs.map +0 -1
@@ -1,7 +1,6 @@
1
- import * as i0 from '@angular/core';
2
- import { ViewContainerRef, ComponentRef, Type } from '@angular/core';
3
- import { ComponentFixture } from '@angular/core/testing';
4
-
1
+ import * as i0 from "@angular/core";
2
+ import { ComponentRef, Type, ViewContainerRef } from "@angular/core";
3
+ import { ComponentFixture } from "@angular/core/testing";
5
4
  /**
6
5
  * A host that behaves exactly like a consumer application's own component: it declares no
7
6
  * change-detection strategy, which in Angular 22 means `OnPush`. Once it has rendered it goes
@@ -13,30 +12,29 @@ import { ComponentFixture } from '@angular/core/testing';
13
12
  * cannot update its DOM underneath this host, which is precisely the failure that a plain
14
13
  * `TestBed.createComponent` + `fixture.detectChanges()` cannot express.
15
14
  */
16
- declare class InertHostComponent {
17
- readonly outlet: i0.Signal<ViewContainerRef>;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<InertHostComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<InertHostComponent, "lib-inert-host", never, {}, {}, never, never, true, never>;
15
+ export declare class InertHostComponent {
16
+ readonly outlet: import("@angular/core").Signal<ViewContainerRef>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<InertHostComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<InertHostComponent, "lib-inert-host", never, {}, {}, never, never, true, never>;
20
19
  }
21
-
22
20
  /** A component rendered beneath {@link InertHostComponent}, plus the handles a spec needs. */
23
- interface OnPushRender<TComponent> {
24
- /** The component under test. */
25
- readonly component: TComponent;
26
- readonly componentRef: ComponentRef<TComponent>;
27
- /** The component under test's own host element -- host bindings included. */
28
- readonly element: HTMLElement;
29
- /** The fixture whose root is the inert host. */
30
- readonly fixture: ComponentFixture<InertHostComponent>;
31
- /** Binds an input the way a template would, notifying Angular. */
32
- setInput(name: string, value: unknown): void;
33
- /**
34
- * Runs a change-detection pass that a clean `OnPush` ancestor can still short-circuit.
35
- *
36
- * Call this and never `fixture.detectChanges()` yourself -- under a zoneless test environment
37
- * that call forces every test view and hands the component a refresh it did not earn.
38
- */
39
- tick(): void;
21
+ export interface OnPushRender<TComponent> {
22
+ /** The component under test. */
23
+ readonly component: TComponent;
24
+ readonly componentRef: ComponentRef<TComponent>;
25
+ /** The component under test's own host element -- host bindings included. */
26
+ readonly element: HTMLElement;
27
+ /** The fixture whose root is the inert host. */
28
+ readonly fixture: ComponentFixture<InertHostComponent>;
29
+ /** Binds an input the way a template would, notifying Angular. */
30
+ setInput(name: string, value: unknown): void;
31
+ /**
32
+ * Runs a change-detection pass that a clean `OnPush` ancestor can still short-circuit.
33
+ *
34
+ * Call this and never `fixture.detectChanges()` yourself -- under a zoneless test environment
35
+ * that call forces every test view and hands the component a refresh it did not earn.
36
+ */
37
+ tick(): void;
40
38
  }
41
39
  /**
42
40
  * Renders `type` beneath a clean `OnPush` ancestor and returns once it has painted for the
@@ -50,7 +48,4 @@ interface OnPushRender<TComponent> {
50
48
  * 3. Assert the DOM, never a field. `expect(component.loading).toBe(false)` passes on a blank
51
49
  * screen.
52
50
  */
53
- declare function renderUnderOnPush<TComponent>(type: Type<TComponent>, inputs?: Record<string, unknown>): OnPushRender<TComponent>;
54
-
55
- export { InertHostComponent, renderUnderOnPush };
56
- export type { OnPushRender };
51
+ export declare function renderUnderOnPush<TComponent>(type: Type<TComponent>, inputs?: Record<string, unknown>): OnPushRender<TComponent>;
@@ -1,3 +1,3 @@
1
- export * from '@zambon-dev/ui/library';
2
- export * from '@zambon-dev/ui/framework';
3
- export * from '@zambon-dev/ui/shared';
1
+ export * from "@zambon-dev/ui/library";
2
+ export * from "@zambon-dev/ui/framework";
3
+ export * from "@zambon-dev/ui/shared";
@@ -1 +0,0 @@
1
- {"version":3,"file":"zambon-dev-ui.mjs","sources":["../../../../libs/ui/src/zambon-dev-ui.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA;;AAEG"}