@fxlt/common-ui 0.0.1 → 0.0.2

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/README.md CHANGED
@@ -1,63 +1,3 @@
1
- # Ui
1
+ # @fxlt/common-ui
2
2
 
3
- This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 20.3.0.
4
-
5
- ## Code scaffolding
6
-
7
- Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
8
-
9
- ```bash
10
- ng generate component component-name
11
- ```
12
-
13
- For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
14
-
15
- ```bash
16
- ng generate --help
17
- ```
18
-
19
- ## Building
20
-
21
- To build the library, run:
22
-
23
- ```bash
24
- ng build ui
25
- ```
26
-
27
- This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
28
-
29
- ### Publishing the Library
30
-
31
- Once the project is built, you can publish your library by following these steps:
32
-
33
- 1. Navigate to the `dist` directory:
34
- ```bash
35
- cd dist/ui
36
- ```
37
-
38
- 2. Run the `npm publish` command to publish your library to the npm registry:
39
- ```bash
40
- npm publish
41
- ```
42
-
43
- ## Running unit tests
44
-
45
- To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
46
-
47
- ```bash
48
- ng test
49
- ```
50
-
51
- ## Running end-to-end tests
52
-
53
- For end-to-end (e2e) testing, run:
54
-
55
- ```bash
56
- ng e2e
57
- ```
58
-
59
- Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
60
-
61
- ## Additional Resources
62
-
63
- For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
3
+ Common UI & Service Library
package/components.css CHANGED
@@ -142,7 +142,10 @@
142
142
  background-color: rgb(var(--bg-primary)) !important;
143
143
  border-radius: 8px !important;
144
144
  }
145
-
145
+ .mat-mdc-dialog-container .mat-mdc-dialog-content {
146
+ letter-spacing: 0 !important;
147
+ padding: 10px 20px !important;
148
+ }
146
149
 
147
150
  input[type='number']::-webkit-outer-spin-button,
148
151
  input[type='number']::-webkit-inner-spin-button {
@@ -187,6 +190,9 @@ input[type='password'] {
187
190
  .txt-section-header {
188
191
  @apply mb-1 text-xl text-text-primary font-semibold tracking-normal leading-7;
189
192
  }
193
+ .txt-dialog-header {
194
+ @apply text-xl text-text-primary font-semibold tracking-normal leading-7 px-xl py-semi;
195
+ }
190
196
  .txt-section-subtitle {
191
197
  @apply text-sm text-text-secondary font-normal tracking-normal;
192
198
  }
@@ -381,3 +387,6 @@ input[type='password'] {
381
387
  padding-top: 16px !important;
382
388
  padding-bottom: 16px !important;
383
389
  }
390
+ .dialog-container {
391
+ @apply rounded-lg border border-border-default;
392
+ }
package/dialogs.css CHANGED
@@ -2,71 +2,25 @@
2
2
  max-width: unset !important;
3
3
  border-radius: 8px !important;
4
4
  .mat-dialog-actions {
5
- border-top: 1px solid rgb(var(--border-default)) !important;
6
- margin-left: -24px;
7
- margin-right: -24px;
8
- padding: 12px 24px 10px 10px;
5
+ border-top: 1px solid rgb(var(--border-default)) !important;
6
+ margin-left: -24px;
7
+ margin-right: -24px;
8
+ padding: 12px 24px 10px 10px;
9
9
  }
10
10
 
11
11
  .mat-dialog-title {
12
- margin-left: -24px;
13
- margin-right: -24px;
14
- padding-right: 24px;
15
- padding-left: 24px;
16
- border-bottom: 1px solid rgb(var(--border-default));
17
- padding-bottom: 20px;
18
- }
19
-
20
- .mat-dialog-content {
21
- min-height: 110px;
22
- letter-spacing: 0 !important;
23
- }
24
- }
25
-
26
- .fx-dialog3 {
27
- .mat-dialog-actions {
28
- border-top: 1px solid rgb(var(--border-default));
29
- margin-left: -24px;
30
- margin-right: -24px;
31
- padding: 12px 24px 10px 10px;
12
+ margin-left: -24px;
13
+ margin-right: -24px;
14
+ padding-right: 24px;
15
+ padding-left: 24px;
16
+ border-bottom: 1px solid rgb(var(--border-default));
17
+ padding-bottom: 20px;
18
+ letter-spacing: 0 !important;
32
19
  }
33
20
 
34
- .mat-dialog-title {
35
- margin-left: -24px;
36
- margin-right: -24px;
37
- padding-right: 24px;
38
- padding-left: 24px;
39
- border-bottom: 1px solid rgb(var(--border-default));
40
- padding-bottom: 20px;
41
- }
42
-
43
21
  .mat-dialog-content {
44
- min-height: 50px;
45
- overflow: visible;
46
- letter-spacing: 0 !important;
47
- }
48
- }
49
-
50
- .fx-dialog4 {
51
- max-width: unset !important;
52
- .mat-dialog-actions {
53
- border-top: 1px solid rgb(var(--border-default));
54
- margin-left: -24px;
55
- margin-right: -24px;
56
- padding: 12px 24px 10px 10px;
57
- }
58
-
59
- .mat-dialog-title {
60
- margin-left: -24px;
61
- margin-right: -24px;
62
- padding-right: 24px;
63
- padding-left: 24px;
64
- border-bottom: 1px solid rgb(var(--border-default));
65
- padding-bottom: 20px;
66
- }
67
-
68
- .mat-dialog-content {
69
- min-height: 50px;
22
+ min-height: 110px;
23
+ letter-spacing: 0 !important;
70
24
  }
71
25
  }
72
26
 
@@ -75,42 +29,42 @@
75
29
  height: 100%;
76
30
 
77
31
  mat-dialog-container {
78
- padding: 0;
32
+ padding: 0;
79
33
 
80
- form.wrapped-form {
81
- display: flex;
82
- flex-direction: column;
83
- height: 100%;
84
- justify-content: space-between;
85
- }
34
+ form.wrapped-form {
35
+ display: flex;
36
+ flex-direction: column;
37
+ height: 100%;
38
+ justify-content: space-between;
39
+ }
86
40
 
87
- .mat-dialog-title {
88
- background-color: rgb(var(--bg-primary));
89
- box-shadow: 0px 4px 8px rgba(26, 28, 38, 0.15);
90
- color: rgb(var(--text-primary));
91
- padding: 12px 20px;
92
- min-height: 24px;
41
+ .mat-dialog-title {
42
+ background-color: rgb(var(--bg-primary));
43
+ box-shadow: 0px 4px 8px rgba(26, 28, 38, 0.15);
44
+ color: rgb(var(--text-primary));
45
+ padding: 12px 20px;
46
+ min-height: 24px;
93
47
 
94
- h2 {
95
- font-weight: 500;
96
- font-size: 18px;
97
- line-height: 24px;
98
- }
48
+ h2 {
49
+ font-weight: 500;
50
+ font-size: 18px;
51
+ line-height: 24px;
99
52
  }
53
+ }
100
54
 
101
- .mat-dialog-content {
102
- background: rgb(var(--bg-primary));
103
- padding: 16px 20px;
104
- margin: unset;
105
- height: 100%;
106
- max-height: unset;
107
- letter-spacing: 0 !important;
108
- }
55
+ .mat-dialog-content {
56
+ background: rgb(var(--bg-primary));
57
+ padding: 16px 20px;
58
+ margin: unset;
59
+ height: 100%;
60
+ max-height: unset;
61
+ letter-spacing: 0 !important;
62
+ }
109
63
 
110
- .mat-dialog-actions {
111
- background-color: rgb(var(--bg-primary));
112
- padding: 12px 20px;
113
- margin-bottom: unset;
114
- }
64
+ .mat-dialog-actions {
65
+ background-color: rgb(var(--bg-primary));
66
+ padding: 12px 20px;
67
+ margin-bottom: unset;
68
+ }
115
69
  }
116
- }
70
+ }