@foxeltech/angular-ui 0.0.9 → 0.0.11

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/fonts.css CHANGED
@@ -122,4 +122,116 @@
122
122
  src: url('./SpaceMono-Regular.ttf') format('truetype');
123
123
  font-weight: normal;
124
124
  font-style: normal;
125
+ }
126
+
127
+ @font-face {
128
+ font-family: 'Roboto';
129
+ src: url('./roboto/Roboto-Thin.ttf') format('truetype');
130
+ font-weight: 100;
131
+ font-style: normal;
132
+ }
133
+
134
+ @font-face {
135
+ font-family: 'Roboto';
136
+ src: url('./roboto/Roboto-ThinItalic.ttf') format('truetype');
137
+ font-weight: 100;
138
+ font-style: italic;
139
+ }
140
+
141
+ @font-face {
142
+ font-family: 'Roboto';
143
+ src: url('./roboto/Roboto-Light.ttf') format('truetype');
144
+ font-weight: 300;
145
+ font-style: normal;
146
+ }
147
+
148
+ @font-face {
149
+ font-family: 'Roboto';
150
+ src: url('./roboto/Roboto-LightItalic.ttf') format('truetype');
151
+ font-weight: 300;
152
+ font-style: italic;
153
+ }
154
+
155
+ @font-face {
156
+ font-family: 'Roboto';
157
+ src: url('./roboto/Roboto-Regular.ttf') format('truetype');
158
+ font-weight: 400;
159
+ font-style: normal;
160
+ }
161
+
162
+ @font-face {
163
+ font-family: 'Roboto';
164
+ src: url('./roboto/Roboto-Italic.ttf') format('truetype');
165
+ font-weight: 400;
166
+ font-style: italic;
167
+ }
168
+
169
+ @font-face {
170
+ font-family: 'Roboto';
171
+ src: url('./roboto/Roboto-Medium.ttf') format('truetype');
172
+ font-weight: 500;
173
+ font-style: normal;
174
+ }
175
+
176
+ @font-face {
177
+ font-family: 'Roboto';
178
+ src: url('./roboto/Roboto-MediumItalic.ttf') format('truetype');
179
+ font-weight: 500;
180
+ font-style: italic;
181
+ }
182
+
183
+ @font-face {
184
+ font-family: 'Roboto';
185
+ src: url('./roboto/Roboto-Bold.ttf') format('truetype');
186
+ font-weight: 700;
187
+ font-style: normal;
188
+ }
189
+
190
+ @font-face {
191
+ font-family: 'Roboto';
192
+ src: url('./roboto/Roboto-BoldItalic.ttf') format('truetype');
193
+ font-weight: 700;
194
+ font-style: italic;
195
+ }
196
+
197
+ @font-face {
198
+ font-family: 'Roboto';
199
+ src: url('./roboto/Roboto-Black.ttf') format('truetype');
200
+ font-weight: 900;
201
+ font-style: normal;
202
+ }
203
+
204
+ @font-face {
205
+ font-family: 'Roboto';
206
+ src: url('./roboto/Roboto-BlackItalic.ttf') format('truetype');
207
+ font-weight: 900;
208
+ font-style: italic;
209
+ }
210
+
211
+ @font-face {
212
+ font-family: 'Roboto Condensed';
213
+ src: url('./roboto/Roboto-Condensed.ttf') format('truetype');
214
+ font-weight: 400;
215
+ font-style: normal;
216
+ }
217
+
218
+ @font-face {
219
+ font-family: 'Roboto Condensed';
220
+ src: url('./roboto/Roboto-CondensedItalic.ttf') format('truetype');
221
+ font-weight: 400;
222
+ font-style: italic;
223
+ }
224
+
225
+ @font-face {
226
+ font-family: 'Roboto Condensed';
227
+ src: url('./roboto/Roboto-BoldCondensed.ttf') format('truetype');
228
+ font-weight: 700;
229
+ font-style: normal;
230
+ }
231
+
232
+ @font-face {
233
+ font-family: 'Roboto Condensed';
234
+ src: url('./roboto/Roboto-BoldCondensedItalic.ttf') format('truetype');
235
+ font-weight: 700;
236
+ font-style: italic;
125
237
  }
package/index.d.ts CHANGED
@@ -521,7 +521,6 @@ declare class InputComponent extends FxComponent<string> implements AfterViewIni
521
521
  };
522
522
  required: string | boolean;
523
523
  disabled: boolean;
524
- iconClass?: string;
525
524
  suffixIcon?: string;
526
525
  class?: any;
527
526
  maxlength?: number;
@@ -541,7 +540,7 @@ declare class InputComponent extends FxComponent<string> implements AfterViewIni
541
540
  onSuffixClick(): void;
542
541
  get displayType(): string;
543
542
  static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
544
- static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "fx-ui-input", never, { "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "errorMessages": { "alias": "errorMessages"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; }; "class": { "alias": "class"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "validateFn": { "alias": "validateFn"; "required": false; }; }, { "blurred": "blurred"; "focused": "focused"; "suffixClick": "suffixClick"; }, never, never, false, never>;
543
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "fx-ui-input", never, { "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "errorMessages": { "alias": "errorMessages"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; }; "class": { "alias": "class"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "validateFn": { "alias": "validateFn"; "required": false; }; }, { "blurred": "blurred"; "focused": "focused"; "suffixClick": "suffixClick"; }, never, never, false, never>;
545
544
  }
546
545
 
547
546
  declare class SelectComponent extends FxComponent<string | string[]> implements AfterViewInit, OnInit {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foxeltech/angular-ui",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "license": "MIT",
5
5
  "main": "bundles/ui.umd.js",
6
6
  "module": "fesm2022/foxeltech-angular-ui.mjs",
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -97,7 +97,7 @@
97
97
  padding-top: 4px !important;
98
98
  padding-bottom: 4px !important;
99
99
  line-height: 24px !important;
100
- font-family: 'DMSans';
100
+ font-family: 'Roboto';
101
101
  }
102
102
 
103
103
  .mdc-data-table__row {
@@ -108,7 +108,7 @@
108
108
  .mdc-data-table__cell {
109
109
  border-left: 1px solid rgb(var(--border-default)) !important;
110
110
  background-color: rgb(var(--bg-primary)) !important;
111
- font-family: 'DMSans';
111
+ font-family: 'Roboto';
112
112
  }
113
113
 
114
114
  .mat-mdc-cell {
@@ -185,7 +185,7 @@ input[type='password'] {
185
185
  @apply font-semibold text-sm tracking-normal leading-5 text-text-primary;
186
186
  }
187
187
  .txt-heading-table {
188
- @apply text-base font-dmsans font-semibold text-text-primary tracking-tight;
188
+ @apply text-base font-roboto font-semibold text-text-primary tracking-tight;
189
189
  }
190
190
  .txt-heading-compact-02 {
191
191
  @apply font-semibold text-sm tracking-normal leading-5 text-text-primary;
@@ -122,4 +122,116 @@
122
122
  src: url('./SpaceMono-Regular.ttf') format('truetype');
123
123
  font-weight: normal;
124
124
  font-style: normal;
125
+ }
126
+
127
+ @font-face {
128
+ font-family: 'Roboto';
129
+ src: url('./roboto/Roboto-Thin.ttf') format('truetype');
130
+ font-weight: 100;
131
+ font-style: normal;
132
+ }
133
+
134
+ @font-face {
135
+ font-family: 'Roboto';
136
+ src: url('./roboto/Roboto-ThinItalic.ttf') format('truetype');
137
+ font-weight: 100;
138
+ font-style: italic;
139
+ }
140
+
141
+ @font-face {
142
+ font-family: 'Roboto';
143
+ src: url('./roboto/Roboto-Light.ttf') format('truetype');
144
+ font-weight: 300;
145
+ font-style: normal;
146
+ }
147
+
148
+ @font-face {
149
+ font-family: 'Roboto';
150
+ src: url('./roboto/Roboto-LightItalic.ttf') format('truetype');
151
+ font-weight: 300;
152
+ font-style: italic;
153
+ }
154
+
155
+ @font-face {
156
+ font-family: 'Roboto';
157
+ src: url('./roboto/Roboto-Regular.ttf') format('truetype');
158
+ font-weight: 400;
159
+ font-style: normal;
160
+ }
161
+
162
+ @font-face {
163
+ font-family: 'Roboto';
164
+ src: url('./roboto/Roboto-Italic.ttf') format('truetype');
165
+ font-weight: 400;
166
+ font-style: italic;
167
+ }
168
+
169
+ @font-face {
170
+ font-family: 'Roboto';
171
+ src: url('./roboto/Roboto-Medium.ttf') format('truetype');
172
+ font-weight: 500;
173
+ font-style: normal;
174
+ }
175
+
176
+ @font-face {
177
+ font-family: 'Roboto';
178
+ src: url('./roboto/Roboto-MediumItalic.ttf') format('truetype');
179
+ font-weight: 500;
180
+ font-style: italic;
181
+ }
182
+
183
+ @font-face {
184
+ font-family: 'Roboto';
185
+ src: url('./roboto/Roboto-Bold.ttf') format('truetype');
186
+ font-weight: 700;
187
+ font-style: normal;
188
+ }
189
+
190
+ @font-face {
191
+ font-family: 'Roboto';
192
+ src: url('./roboto/Roboto-BoldItalic.ttf') format('truetype');
193
+ font-weight: 700;
194
+ font-style: italic;
195
+ }
196
+
197
+ @font-face {
198
+ font-family: 'Roboto';
199
+ src: url('./roboto/Roboto-Black.ttf') format('truetype');
200
+ font-weight: 900;
201
+ font-style: normal;
202
+ }
203
+
204
+ @font-face {
205
+ font-family: 'Roboto';
206
+ src: url('./roboto/Roboto-BlackItalic.ttf') format('truetype');
207
+ font-weight: 900;
208
+ font-style: italic;
209
+ }
210
+
211
+ @font-face {
212
+ font-family: 'Roboto Condensed';
213
+ src: url('./roboto/Roboto-Condensed.ttf') format('truetype');
214
+ font-weight: 400;
215
+ font-style: normal;
216
+ }
217
+
218
+ @font-face {
219
+ font-family: 'Roboto Condensed';
220
+ src: url('./roboto/Roboto-CondensedItalic.ttf') format('truetype');
221
+ font-weight: 400;
222
+ font-style: italic;
223
+ }
224
+
225
+ @font-face {
226
+ font-family: 'Roboto Condensed';
227
+ src: url('./roboto/Roboto-BoldCondensed.ttf') format('truetype');
228
+ font-weight: 700;
229
+ font-style: normal;
230
+ }
231
+
232
+ @font-face {
233
+ font-family: 'Roboto Condensed';
234
+ src: url('./roboto/Roboto-BoldCondensedItalic.ttf') format('truetype');
235
+ font-weight: 700;
236
+ font-style: italic;
125
237
  }
@@ -9,7 +9,7 @@
9
9
  @tailwind utilities;
10
10
 
11
11
  html, body {
12
- font-family: 'DMSans';
12
+ font-family: 'Roboto';
13
13
  margin: 0;
14
14
  padding: 0;
15
15
  height: 100%;
@@ -33,11 +33,17 @@
33
33
  [disabled]="disabled"
34
34
  >
35
35
  @if (type === 'password') {
36
- <i class="material-symbols-outlined text-lg select-none">{{
37
- showPassword ? 'visibility_off' : 'visibility'
38
- }}</i>
36
+ <fx-ui-hero-icon
37
+ [icon]="showPassword ? 'eye-slash' : 'eye'"
38
+ [size]="18"
39
+ class="text-text-primary"
40
+ ></fx-ui-hero-icon>
39
41
  } @else if (suffixIcon) {
40
- <i [class]="iconClass" class="text-lg select-none">{{ suffixIcon }}</i>
42
+ <fx-ui-hero-icon
43
+ [icon]="suffixIcon"
44
+ [size]="18"
45
+ class="text-text-primary"
46
+ ></fx-ui-hero-icon>
41
47
  }
42
48
  </button>
43
49
  }
@@ -72,6 +72,7 @@ module.exports = {
72
72
  dmsans: ['DMSans', 'sans-serif'],
73
73
  orbitron: ['Orbitron', 'sans-serif'],
74
74
  bevn: ['BeVietnamPro', 'sans-serif'],
75
+ roboto: ['Roboto', 'sans-serif'],
75
76
  },
76
77
  fontSize: {
77
78
  xs: '0.75rem',
package/tailwind.css CHANGED
@@ -9,7 +9,7 @@
9
9
  @tailwind utilities;
10
10
 
11
11
  html, body {
12
- font-family: 'DMSans';
12
+ font-family: 'Roboto';
13
13
  margin: 0;
14
14
  padding: 0;
15
15
  height: 100%;