@newtonschool/grauity 3.0.11 → 3.0.13

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
@@ -18,6 +18,14 @@
18
18
  <br />
19
19
  <br />
20
20
  <img src="https://github.com/Newton-School/grauity/actions/workflows/run-tests.yml/badge.svg" alt="Test status badge" />
21
+ <img src="https://github.com/Newton-School/grauity/actions/workflows/build-storybook.yml/badge.svg" alt="Build docs badge" />
22
+ <img src="https://github.com/Newton-School/grauity/actions/workflows/publish-npm-package.yml/badge.svg" alt="Publish to NPM" />
23
+ <div align="center">
24
+ <img src="http://img.shields.io/npm/v/@newtonschool/grauity.svg" alt="NPM version badge" />
25
+ <img src="http://img.shields.io/npm/dm/@newtonschool/grauity.svg" alt="NPM downloads badge" />
26
+ <img src="http://img.shields.io/bundlephobia/min/@newtonschool/grauity.svg" alt="Bundle size badge" />
27
+ <img src="http://img.shields.io/npm/l/@newtonschool/grauity.svg" alt="License badge" />
28
+ </div>
21
29
  </p>
22
30
 
23
31
  ## About gra.UI.ty
@@ -84,6 +92,7 @@ your-app$: npm run dev
84
92
  ```
85
93
 
86
94
  After you have made changes in grauity, build it.
95
+
87
96
  ```bash
88
97
  grauity$: npm run build
89
98
  ```
@@ -91,6 +100,7 @@ grauity$: npm run build
91
100
  If changes are not showing up even after rebuilding, you may
92
101
  have to delete `your-app/node_modules/@newtonschool/grauity` folder
93
102
  and install `grauity` again:
103
+
94
104
  ```bash
95
105
  grauity$: npm run build
96
106
 
@@ -120,7 +130,6 @@ export const MyComponent = () => (
120
130
  );
121
131
  ```
122
132
 
123
-
124
133
  # How to's
125
134
 
126
135
  ## Add new icons from `.svg` files
@@ -135,53 +144,49 @@ grauity$: git submodule update --remote --merge
135
144
 
136
145
  To add a new font icon, add your `.svg` files for the new icon in the [./iconland/seeds/](iconland/seeds) directory in the [iconland](./iconland) submodule.
137
146
 
138
-
139
147
  #### 3. Optimize & Generate new font files
140
148
 
141
149
  ```bash
142
150
  grauity$: npm run build-icons:optimize
143
151
  grauity$: npm run build-icons:generate
144
152
  ```
145
- *Alternatively*, run the command
153
+
154
+ _Alternatively_, run the command
155
+
146
156
  ```bash
147
157
  grauity$: npm run build-icons
148
158
  ```
149
159
 
150
160
  Font files will be created in [ui/fonts](ui/fonts) folder.
151
161
 
152
-
153
162
  ## Use theming in your React app
154
163
 
155
164
  Without theming, only foundational (theme agnostic) CSS variables (found here: [constantGlobalStyle](ui/themes/GlobalStyle.ts)) will be provided.
156
165
 
157
166
  To enable theming, wrap your components with `GrauityThemeProvider`:
167
+
158
168
  ```js
159
169
  import { GrauityThemeProvider } from '@newtonschool/grauity';
160
170
 
161
171
  const App = ({ children, ...props }) => {
162
- return (
163
- <GrauityThemeProvider>
164
- {children}
165
- </GrauityThemeProvider>
166
- )
172
+ return <GrauityThemeProvider>{children}</GrauityThemeProvider>;
167
173
  };
168
174
 
169
175
  export default App;
170
176
  ```
171
177
 
172
-
173
178
  Theming can be controlled by providing different class names to your root/local DOM elements, like the body element.
174
179
 
175
- - Add class `grauity-theme-light` to use the light theme
176
- - Add class `grauity-theme-dark` to use the dark theme
180
+ - Add class `grauity-theme-light` to use the light theme
181
+ - Add class `grauity-theme-dark` to use the dark theme
177
182
 
178
183
  Now, you will be provided with the foundational as well as themed CSS variables, whose
179
184
  value will change depending on the theme applied.
180
185
 
181
186
  These themed CSS variables can be found here:
182
- - [Dark theme color mapping](./ui/themes/darkThemeConstants.ts)
183
- - [Light theme color mapping](./ui/themes/lightThemeConstants.ts)
184
187
 
188
+ - [Dark theme color mapping](./ui/themes/darkThemeConstants.ts)
189
+ - [Light theme color mapping](./ui/themes/lightThemeConstants.ts)
185
190
 
186
191
  ## Use icons in your React app
187
192
 
@@ -2,10 +2,10 @@ $grauity-icons-font: "grauity-icons";
2
2
 
3
3
  @font-face {
4
4
  font-family: $grauity-icons-font;
5
- src: url("../fonts/grauity-icons.eot?725faed33dbb5569199176528a9267d5#iefix") format("embedded-opentype"),
6
- url("../fonts/grauity-icons.woff?725faed33dbb5569199176528a9267d5") format("woff"),
7
- url("../fonts/grauity-icons.woff2?725faed33dbb5569199176528a9267d5") format("woff2"),
8
- url("../fonts/grauity-icons.ttf?725faed33dbb5569199176528a9267d5") format("truetype");
5
+ src: url("../fonts/grauity-icons.eot?c1b5f5d7b18af544c47de637dcbd8cd8#iefix") format("embedded-opentype"),
6
+ url("../fonts/grauity-icons.woff?c1b5f5d7b18af544c47de637dcbd8cd8") format("woff"),
7
+ url("../fonts/grauity-icons.woff2?c1b5f5d7b18af544c47de637dcbd8cd8") format("woff2"),
8
+ url("../fonts/grauity-icons.ttf?c1b5f5d7b18af544c47de637dcbd8cd8") format("truetype");
9
9
  }
10
10
 
11
11
  i[class^="grauity-icon-"]:before, i[class*=" grauity-icon-"]:before {
@@ -274,194 +274,196 @@ $grauity-icons-map: (
274
274
  "close": "\f1fc",
275
275
  "compass-filled": "\f1fd",
276
276
  "compass": "\f1fe",
277
- "database-filled": "\f1ff",
278
- "database": "\f200",
279
- "diamond-filled": "\f201",
280
- "diamond": "\f202",
281
- "double-check-filled": "\f203",
282
- "double-check": "\f204",
283
- "download-filled": "\f205",
284
- "download": "\f206",
285
- "eda-filled": "\f207",
286
- "eda": "\f208",
287
- "email-alt-filled": "\f209",
288
- "email-alt": "\f20a",
289
- "email-filled": "\f20b",
290
- "email": "\f20c",
291
- "filter-filled": "\f20d",
292
- "filter": "\f20e",
293
- "floppy-filled": "\f20f",
294
- "floppy": "\f210",
295
- "forward-filled": "\f211",
296
- "forward": "\f212",
297
- "gear-filled": "\f213",
298
- "gear": "\f214",
299
- "git-commit-filled": "\f215",
300
- "git-commit": "\f216",
301
- "globe-filled": "\f217",
302
- "globe": "\f218",
303
- "grip-hortizontal-filled": "\f219",
304
- "grip-hortizontal": "\f21a",
305
- "grip-vertical-filled": "\f21b",
306
- "grip-vertical": "\f21c",
307
- "growth-down-filled": "\f21d",
308
- "growth-down": "\f21e",
309
- "growth-up-filled": "\f21f",
310
- "growth-up": "\f220",
311
- "help-filled": "\f221",
312
- "help": "\f222",
313
- "hold-filled": "\f223",
314
- "hold": "\f224",
315
- "home-filled": "\f225",
316
- "home": "\f226",
317
- "hourglass-filled": "\f227",
318
- "hourglass": "\f228",
319
- "kebab-horizontal-filled": "\f229",
320
- "kebab-horizontal": "\f22a",
321
- "kebab-vertical-filled": "\f22b",
322
- "kebab-vertical": "\f22c",
323
- "link-filled": "\f22d",
324
- "link": "\f22e",
325
- "list-checked-filled": "\f22f",
326
- "list-checked": "\f230",
327
- "list-filled": "\f231",
328
- "list": "\f232",
329
- "load-filled": "\f233",
330
- "load": "\f234",
331
- "loudspeaker-filled": "\f235",
332
- "loudspeaker": "\f236",
333
- "machine-learning-filled": "\f237",
334
- "machine-learning": "\f238",
335
- "map-pin-alt1-filled": "\f239",
336
- "map-pin-alt1": "\f23a",
337
- "map-pin-alt2-filled": "\f23b",
338
- "map-pin-alt2": "\f23c",
339
- "map-pin-filled": "\f23d",
340
- "map-pin": "\f23e",
341
- "maximize-filled": "\f23f",
342
- "maximize": "\f240",
343
- "menu-alt2-filled": "\f241",
344
- "menu-alt2": "\f242",
345
- "menu-filled": "\f243",
346
- "menu-grid-filled": "\f244",
347
- "menu-grid": "\f245",
348
- "menu": "\f246",
349
- "microchip-filled": "\f247",
350
- "microchip": "\f248",
351
- "minimize-filled": "\f249",
352
- "minimize": "\f24a",
353
- "minus-circle-filled": "\f24b",
354
- "minus-circle": "\f24c",
355
- "minus-square-filled": "\f24d",
356
- "minus-square": "\f24e",
357
- "moon-filled": "\f24f",
358
- "moon": "\f250",
359
- "new-tab-filled": "\f251",
360
- "new-tab": "\f252",
361
- "paper-clip-filled": "\f253",
362
- "paper-clip": "\f254",
363
- "plus-circle-filled": "\f255",
364
- "plus-circle": "\f256",
365
- "plus-filled": "\f257",
366
- "plus-square-filled": "\f258",
367
- "plus-square": "\f259",
368
- "plus": "\f25a",
369
- "power-bi-filled": "\f25b",
370
- "power-bi": "\f25c",
371
- "printer-filled": "\f25d",
372
- "printer": "\f25e",
373
- "progress-half-filled": "\f25f",
374
- "progress-half": "\f260",
375
- "progress-quarter-filled": "\f261",
376
- "progress-quarter": "\f262",
377
- "progress-zero-filled": "\f263",
378
- "progress-zero": "\f264",
379
- "python-filled": "\f265",
380
- "python": "\f266",
381
- "quiz-filled": "\f267",
382
- "quiz": "\f268",
383
- "refresh-filled": "\f269",
384
- "refresh": "\f26a",
385
- "remove-filled": "\f26b",
386
- "remove": "\f26c",
387
- "reply-filled": "\f26d",
388
- "reply": "\f26e",
389
- "retail-filled": "\f26f",
390
- "retail": "\f270",
391
- "screenshare-start-filled": "\f271",
392
- "screenshare-start": "\f272",
393
- "screenshare-stop-filled": "\f273",
394
- "screenshare-stop": "\f274",
395
- "search-filled": "\f275",
396
- "search": "\f276",
397
- "share-filled": "\f277",
398
- "share": "\f278",
399
- "shield-alert-filled": "\f279",
400
- "shield-alert": "\f27a",
401
- "shield-check-filled": "\f27b",
402
- "shield-check": "\f27c",
403
- "shield-filled": "\f27d",
404
- "shield-lock-filled": "\f27e",
405
- "shield-lock": "\f27f",
406
- "shield-x-filled": "\f280",
407
- "shield-x": "\f281",
408
- "shield": "\f282",
409
- "shop-filled": "\f283",
410
- "shop": "\f284",
411
- "sidebar-left-filled": "\f285",
412
- "sidebar-left": "\f286",
413
- "sidebar-right-filled": "\f287",
414
- "sidebar-right": "\f288",
415
- "signin-filled": "\f289",
416
- "signin": "\f28a",
417
- "signout-filled": "\f28b",
418
- "signout": "\f28c",
419
- "slider-filled": "\f28d",
420
- "slider": "\f28e",
421
- "square-filled": "\f28f",
422
- "square": "\f290",
423
- "sticky-note-filled": "\f291",
424
- "sticky-note": "\f292",
425
- "sun-filled": "\f293",
426
- "sun": "\f294",
427
- "thumbs-down-filled": "\f295",
428
- "thumbs-down": "\f296",
429
- "thumbs-up-filled": "\f297",
430
- "thumbs-up": "\f298",
431
- "thunder-filled": "\f299",
432
- "thunder": "\f29a",
433
- "truck-filled": "\f29b",
434
- "truck": "\f29c",
435
- "upload-filled": "\f29d",
436
- "upload": "\f29e",
437
- "wrench-filled": "\f29f",
438
- "wrench": "\f2a0",
439
- "bell-filled": "\f2a1",
440
- "bell": "\f2a2",
441
- "calender-check-filled": "\f2a3",
442
- "calender-check": "\f2a4",
443
- "calender-filled": "\f2a5",
444
- "calender-plus-filled": "\f2a6",
445
- "calender-plus": "\f2a7",
446
- "calender": "\f2a8",
447
- "clock-filled": "\f2a9",
448
- "clock": "\f2aa",
449
- "rewatch-filled": "\f2ab",
450
- "rewatch": "\f2ac",
451
- "stopwatch-filled": "\f2ad",
452
- "stopwatch": "\f2ae",
453
- "bot-filled": "\f2af",
454
- "bot": "\f2b0",
455
- "person-check-filled": "\f2b1",
456
- "person-check": "\f2b2",
457
- "person-filled": "\f2b3",
458
- "person-plus-filled": "\f2b4",
459
- "person-plus": "\f2b5",
460
- "person": "\f2b6",
461
- "user-speak-filled": "\f2b7",
462
- "user-speak": "\f2b8",
463
- "users-filled": "\f2b9",
464
- "users": "\f2ba",
277
+ "copy-filled": "\f1ff",
278
+ "copy": "\f200",
279
+ "database-filled": "\f201",
280
+ "database": "\f202",
281
+ "diamond-filled": "\f203",
282
+ "diamond": "\f204",
283
+ "double-check-filled": "\f205",
284
+ "double-check": "\f206",
285
+ "download-filled": "\f207",
286
+ "download": "\f208",
287
+ "eda-filled": "\f209",
288
+ "eda": "\f20a",
289
+ "email-alt-filled": "\f20b",
290
+ "email-alt": "\f20c",
291
+ "email-filled": "\f20d",
292
+ "email": "\f20e",
293
+ "filter-filled": "\f20f",
294
+ "filter": "\f210",
295
+ "floppy-filled": "\f211",
296
+ "floppy": "\f212",
297
+ "forward-filled": "\f213",
298
+ "forward": "\f214",
299
+ "gear-filled": "\f215",
300
+ "gear": "\f216",
301
+ "git-commit-filled": "\f217",
302
+ "git-commit": "\f218",
303
+ "globe-filled": "\f219",
304
+ "globe": "\f21a",
305
+ "grip-hortizontal-filled": "\f21b",
306
+ "grip-hortizontal": "\f21c",
307
+ "grip-vertical-filled": "\f21d",
308
+ "grip-vertical": "\f21e",
309
+ "growth-down-filled": "\f21f",
310
+ "growth-down": "\f220",
311
+ "growth-up-filled": "\f221",
312
+ "growth-up": "\f222",
313
+ "help-filled": "\f223",
314
+ "help": "\f224",
315
+ "hold-filled": "\f225",
316
+ "hold": "\f226",
317
+ "home-filled": "\f227",
318
+ "home": "\f228",
319
+ "hourglass-filled": "\f229",
320
+ "hourglass": "\f22a",
321
+ "kebab-horizontal-filled": "\f22b",
322
+ "kebab-horizontal": "\f22c",
323
+ "kebab-vertical-filled": "\f22d",
324
+ "kebab-vertical": "\f22e",
325
+ "link-filled": "\f22f",
326
+ "link": "\f230",
327
+ "list-checked-filled": "\f231",
328
+ "list-checked": "\f232",
329
+ "list-filled": "\f233",
330
+ "list": "\f234",
331
+ "load-filled": "\f235",
332
+ "load": "\f236",
333
+ "loudspeaker-filled": "\f237",
334
+ "loudspeaker": "\f238",
335
+ "machine-learning-filled": "\f239",
336
+ "machine-learning": "\f23a",
337
+ "map-pin-alt1-filled": "\f23b",
338
+ "map-pin-alt1": "\f23c",
339
+ "map-pin-alt2-filled": "\f23d",
340
+ "map-pin-alt2": "\f23e",
341
+ "map-pin-filled": "\f23f",
342
+ "map-pin": "\f240",
343
+ "maximize-filled": "\f241",
344
+ "maximize": "\f242",
345
+ "menu-alt2-filled": "\f243",
346
+ "menu-alt2": "\f244",
347
+ "menu-filled": "\f245",
348
+ "menu-grid-filled": "\f246",
349
+ "menu-grid": "\f247",
350
+ "menu": "\f248",
351
+ "microchip-filled": "\f249",
352
+ "microchip": "\f24a",
353
+ "minimize-filled": "\f24b",
354
+ "minimize": "\f24c",
355
+ "minus-circle-filled": "\f24d",
356
+ "minus-circle": "\f24e",
357
+ "minus-square-filled": "\f24f",
358
+ "minus-square": "\f250",
359
+ "moon-filled": "\f251",
360
+ "moon": "\f252",
361
+ "new-tab-filled": "\f253",
362
+ "new-tab": "\f254",
363
+ "paper-clip-filled": "\f255",
364
+ "paper-clip": "\f256",
365
+ "plus-circle-filled": "\f257",
366
+ "plus-circle": "\f258",
367
+ "plus-filled": "\f259",
368
+ "plus-square-filled": "\f25a",
369
+ "plus-square": "\f25b",
370
+ "plus": "\f25c",
371
+ "power-bi-filled": "\f25d",
372
+ "power-bi": "\f25e",
373
+ "printer-filled": "\f25f",
374
+ "printer": "\f260",
375
+ "progress-half-filled": "\f261",
376
+ "progress-half": "\f262",
377
+ "progress-quarter-filled": "\f263",
378
+ "progress-quarter": "\f264",
379
+ "progress-zero-filled": "\f265",
380
+ "progress-zero": "\f266",
381
+ "python-filled": "\f267",
382
+ "python": "\f268",
383
+ "quiz-filled": "\f269",
384
+ "quiz": "\f26a",
385
+ "refresh-filled": "\f26b",
386
+ "refresh": "\f26c",
387
+ "remove-filled": "\f26d",
388
+ "remove": "\f26e",
389
+ "reply-filled": "\f26f",
390
+ "reply": "\f270",
391
+ "retail-filled": "\f271",
392
+ "retail": "\f272",
393
+ "screenshare-start-filled": "\f273",
394
+ "screenshare-start": "\f274",
395
+ "screenshare-stop-filled": "\f275",
396
+ "screenshare-stop": "\f276",
397
+ "search-filled": "\f277",
398
+ "search": "\f278",
399
+ "share-filled": "\f279",
400
+ "share": "\f27a",
401
+ "shield-alert-filled": "\f27b",
402
+ "shield-alert": "\f27c",
403
+ "shield-check-filled": "\f27d",
404
+ "shield-check": "\f27e",
405
+ "shield-filled": "\f27f",
406
+ "shield-lock-filled": "\f280",
407
+ "shield-lock": "\f281",
408
+ "shield-x-filled": "\f282",
409
+ "shield-x": "\f283",
410
+ "shield": "\f284",
411
+ "shop-filled": "\f285",
412
+ "shop": "\f286",
413
+ "sidebar-left-filled": "\f287",
414
+ "sidebar-left": "\f288",
415
+ "sidebar-right-filled": "\f289",
416
+ "sidebar-right": "\f28a",
417
+ "signin-filled": "\f28b",
418
+ "signin": "\f28c",
419
+ "signout-filled": "\f28d",
420
+ "signout": "\f28e",
421
+ "slider-filled": "\f28f",
422
+ "slider": "\f290",
423
+ "square-filled": "\f291",
424
+ "square": "\f292",
425
+ "sticky-note-filled": "\f293",
426
+ "sticky-note": "\f294",
427
+ "sun-filled": "\f295",
428
+ "sun": "\f296",
429
+ "thumbs-down-filled": "\f297",
430
+ "thumbs-down": "\f298",
431
+ "thumbs-up-filled": "\f299",
432
+ "thumbs-up": "\f29a",
433
+ "thunder-filled": "\f29b",
434
+ "thunder": "\f29c",
435
+ "truck-filled": "\f29d",
436
+ "truck": "\f29e",
437
+ "upload-filled": "\f29f",
438
+ "upload": "\f2a0",
439
+ "wrench-filled": "\f2a1",
440
+ "wrench": "\f2a2",
441
+ "bell-filled": "\f2a3",
442
+ "bell": "\f2a4",
443
+ "calender-check-filled": "\f2a5",
444
+ "calender-check": "\f2a6",
445
+ "calender-filled": "\f2a7",
446
+ "calender-plus-filled": "\f2a8",
447
+ "calender-plus": "\f2a9",
448
+ "calender": "\f2aa",
449
+ "clock-filled": "\f2ab",
450
+ "clock": "\f2ac",
451
+ "rewatch-filled": "\f2ad",
452
+ "rewatch": "\f2ae",
453
+ "stopwatch-filled": "\f2af",
454
+ "stopwatch": "\f2b0",
455
+ "bot-filled": "\f2b1",
456
+ "bot": "\f2b2",
457
+ "person-check-filled": "\f2b3",
458
+ "person-check": "\f2b4",
459
+ "person-filled": "\f2b5",
460
+ "person-plus-filled": "\f2b6",
461
+ "person-plus": "\f2b7",
462
+ "person": "\f2b8",
463
+ "user-speak-filled": "\f2b9",
464
+ "user-speak": "\f2ba",
465
+ "users-filled": "\f2bb",
466
+ "users": "\f2bc",
465
467
  );
466
468
 
467
469
  .grauity-icon-exclamation-circle-filled:before {
@@ -1226,6 +1228,12 @@ $grauity-icons-map: (
1226
1228
  .grauity-icon-compass:before {
1227
1229
  content: map-get($grauity-icons-map, "compass");
1228
1230
  }
1231
+ .grauity-icon-copy-filled:before {
1232
+ content: map-get($grauity-icons-map, "copy-filled");
1233
+ }
1234
+ .grauity-icon-copy:before {
1235
+ content: map-get($grauity-icons-map, "copy");
1236
+ }
1229
1237
  .grauity-icon-database-filled:before {
1230
1238
  content: map-get($grauity-icons-map, "database-filled");
1231
1239
  }
Binary file
Binary file
Binary file
Binary file
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React, { NamedExoticComponent, ReactNode, RefAttributes, Component, HTMLAttributes, DetailedHTMLProps } from "react";
1
+ import React, { NamedExoticComponent, ReactNode, RefAttributes, Component, HTMLAttributes, DetailedHTMLProps, HTMLInputTypeAttribute } from "react";
2
2
  import { Substitute, IStyledComponentBase } from "styled-components/dist/types";
3
3
  import { HTMLMotionProps, ForwardRefComponent } from "framer-motion";
4
4
  import { FastOmit } from "styled-components";
@@ -280,6 +280,8 @@ export const ICON_TAGS: {
280
280
  close: string[];
281
281
  "compass-filled": string[];
282
282
  compass: string[];
283
+ "copy-filled": string[];
284
+ copy: string[];
283
285
  "database-filled": string[];
284
286
  database: string[];
285
287
  "diamond-filled": string[];
@@ -484,7 +486,7 @@ export const TAG_ICONS: {
484
486
  Time: string[];
485
487
  User: string[];
486
488
  };
487
- type grauityIconName = 'exclamation-circle-filled' | 'exclamation-circle' | 'exclamation-triangle-filled' | 'exclamation-triangle' | 'info-circle-filled' | 'info-circle' | 'question-circle-filled' | 'question-circle' | 'code-alt-filled' | 'code-alt' | 'code-filled' | 'code' | 'project-filled' | 'project' | 'terminal-filled' | 'terminal' | 'nst-filled' | 'nst' | 'desktop-filled' | 'desktop' | 'gamepad-filled' | 'gamepad' | 'lamp-filled' | 'lamp' | 'laptop-filled' | 'laptop' | 'mobile-filled' | 'mobile' | 'archive-filled' | 'archive' | 'bookmark-filled' | 'bookmark' | 'file-alt-filled' | 'file-alt' | 'file-filled' | 'file-lightning-filled' | 'file-lightning' | 'file' | 'folder-filled' | 'folder-open-filled' | 'folder-open' | 'folder' | 'label-filled' | 'label' | 'note-filled' | 'note' | 'pen-filled' | 'pen' | 'pin-filled' | 'pin' | 'currency-rupee-filled' | 'currency-rupee' | 'headphone-filled' | 'headphone-mic-filled' | 'headphone-mic' | 'headphone' | 'mic-filled' | 'mic' | 'micmute-filled' | 'micmute' | 'pause-circle-filled' | 'pause-circle' | 'pause-filled' | 'pause' | 'play-circle-filled' | 'play-circle' | 'play-filled' | 'play-rectangle-filled' | 'play-rectangle' | 'play' | 'video-filled' | 'video-off-filled' | 'video-off' | 'video' | 'volume-maximum-filled' | 'volume-maximum' | 'volume-minimum-filled' | 'volume-minimum' | 'volume-mute-filled' | 'volume-mute' | 'waveform-filled' | 'waveform' | 'comment-filled' | 'comment' | 'connector-filled' | 'connector' | 'doubt-alt2-filled' | 'doubt-alt2' | 'doubt-filled' | 'doubt-message-filled' | 'doubt-message' | 'doubt' | 'hearing-filled' | 'hearing' | 'heart-filled' | 'heart' | 'hearthands-filled' | 'hearthands' | 'lock-filled' | 'lock-open-filled' | 'lock-open' | 'lock' | 'magic-orb-filled' | 'magic-orb' | 'message-filled' | 'message-info-filled' | 'message-info' | 'message' | 'milestone-filled' | 'milestone' | 'scholar-hat-filled' | 'scholar-hat' | 'smiley-bad-filled' | 'smiley-bad' | 'smiley-filled' | 'smiley-happy-filled' | 'smiley-happy' | 'smiley-neutral-filled' | 'smiley-neutral' | 'smiley-sad-filled' | 'smiley-sad' | 'smiley-very-bad-filled' | 'smiley-very-bad' | 'smiley-very-happy-filled' | 'smiley-very-happy' | 'smiley' | 'spark-filled' | 'spark' | 'sparkle-filled' | 'sparkle' | 'target-filled' | 'target' | 'check-badge-filled' | 'check-badge' | 'crown-filled' | 'crown' | 'flag-filled' | 'flag' | 'gift-filled' | 'gift' | 'leaderboard-filled' | 'leaderboard' | 'medal-filled' | 'medal' | 'star-filled' | 'star-half-filled' | 'star-half' | 'star' | 'trophy-filled' | 'trophy' | 'codechef' | 'codeforces' | 'facebook' | 'github' | 'google' | 'hackerearth' | 'hackerrank' | 'instagram' | 'leetcode' | 'linkedin' | 'twitter' | 'whatsapp' | 'x' | 'youtube' | 'arrow-double-filled' | 'arrow-double' | 'arrow-down-filled' | 'arrow-down-left-filled' | 'arrow-down-left' | 'arrow-down-right-filled' | 'arrow-down-right' | 'arrow-down' | 'arrow-left-filled' | 'arrow-left' | 'arrow-right-filled' | 'arrow-right' | 'arrow-up-filled' | 'arrow-up-left-filled' | 'arrow-up-left' | 'arrow-up-right-filled' | 'arrow-up-right' | 'arrow-up' | 'ban-filled' | 'ban' | 'bin-filled' | 'bin' | 'book-alt-filled' | 'book-alt' | 'book-alt2-filled' | 'book-alt2' | 'book-alt3-filled' | 'book-alt3' | 'book-filled' | 'book' | 'briefcase-alt2-filled' | 'briefcase-alt2' | 'briefcase-filled' | 'briefcase' | 'broadcast-filled' | 'broadcast' | 'bug-filled' | 'bug' | 'bulb-filled' | 'bulb' | 'call-end-filled' | 'call-end' | 'call-start-filled' | 'call-start' | 'camera-filled' | 'camera' | 'caret-double-filled' | 'caret-double' | 'caret-down-filled' | 'caret-down' | 'caret-left-filled' | 'caret-left' | 'caret-right-filled' | 'caret-right' | 'caret-up-filled' | 'caret-up' | 'check-circle-filled' | 'check-circle' | 'check-filled' | 'check-square-filled' | 'check-square' | 'check' | 'chevron-down-double-filled' | 'chevron-down-double' | 'chevron-down-filled' | 'chevron-down' | 'chevron-left-double-filled' | 'chevron-left-double' | 'chevron-left-filled' | 'chevron-left' | 'chevron-right-double-filled' | 'chevron-right-double' | 'chevron-right-filled' | 'chevron-right' | 'chevron-up-double-filled' | 'chevron-up-double' | 'chevron-up-filled' | 'chevron-up' | 'circle-filled' | 'circle' | 'clock-alarm-filled' | 'clock-alarm' | 'close-circle-filled' | 'close-circle' | 'close-filled' | 'close-square-filled' | 'close-square' | 'close' | 'compass-filled' | 'compass' | 'database-filled' | 'database' | 'diamond-filled' | 'diamond' | 'double-check-filled' | 'double-check' | 'download-filled' | 'download' | 'eda-filled' | 'eda' | 'email-alt-filled' | 'email-alt' | 'email-filled' | 'email' | 'filter-filled' | 'filter' | 'floppy-filled' | 'floppy' | 'forward-filled' | 'forward' | 'gear-filled' | 'gear' | 'git-commit-filled' | 'git-commit' | 'globe-filled' | 'globe' | 'grip-hortizontal-filled' | 'grip-hortizontal' | 'grip-vertical-filled' | 'grip-vertical' | 'growth-down-filled' | 'growth-down' | 'growth-up-filled' | 'growth-up' | 'help-filled' | 'help' | 'hold-filled' | 'hold' | 'home-filled' | 'home' | 'hourglass-filled' | 'hourglass' | 'kebab-horizontal-filled' | 'kebab-horizontal' | 'kebab-vertical-filled' | 'kebab-vertical' | 'link-filled' | 'link' | 'list-checked-filled' | 'list-checked' | 'list-filled' | 'list' | 'load-filled' | 'load' | 'loudspeaker-filled' | 'loudspeaker' | 'machine-learning-filled' | 'machine-learning' | 'map-pin-alt1-filled' | 'map-pin-alt1' | 'map-pin-alt2-filled' | 'map-pin-alt2' | 'map-pin-filled' | 'map-pin' | 'maximize-filled' | 'maximize' | 'menu-alt2-filled' | 'menu-alt2' | 'menu-filled' | 'menu-grid-filled' | 'menu-grid' | 'menu' | 'microchip-filled' | 'microchip' | 'minimize-filled' | 'minimize' | 'minus-circle-filled' | 'minus-circle' | 'minus-square-filled' | 'minus-square' | 'moon-filled' | 'moon' | 'new-tab-filled' | 'new-tab' | 'paper-clip-filled' | 'paper-clip' | 'plus-circle-filled' | 'plus-circle' | 'plus-filled' | 'plus-square-filled' | 'plus-square' | 'plus' | 'power-bi-filled' | 'power-bi' | 'printer-filled' | 'printer' | 'progress-half-filled' | 'progress-half' | 'progress-quarter-filled' | 'progress-quarter' | 'progress-zero-filled' | 'progress-zero' | 'python-filled' | 'python' | 'quiz-filled' | 'quiz' | 'refresh-filled' | 'refresh' | 'remove-filled' | 'remove' | 'reply-filled' | 'reply' | 'retail-filled' | 'retail' | 'screenshare-start-filled' | 'screenshare-start' | 'screenshare-stop-filled' | 'screenshare-stop' | 'search-filled' | 'search' | 'share-filled' | 'share' | 'shield-alert-filled' | 'shield-alert' | 'shield-check-filled' | 'shield-check' | 'shield-filled' | 'shield-lock-filled' | 'shield-lock' | 'shield-x-filled' | 'shield-x' | 'shield' | 'shop-filled' | 'shop' | 'sidebar-left-filled' | 'sidebar-left' | 'sidebar-right-filled' | 'sidebar-right' | 'signin-filled' | 'signin' | 'signout-filled' | 'signout' | 'slider-filled' | 'slider' | 'square-filled' | 'square' | 'sticky-note-filled' | 'sticky-note' | 'sun-filled' | 'sun' | 'thumbs-down-filled' | 'thumbs-down' | 'thumbs-up-filled' | 'thumbs-up' | 'thunder-filled' | 'thunder' | 'truck-filled' | 'truck' | 'upload-filled' | 'upload' | 'wrench-filled' | 'wrench' | 'bell-filled' | 'bell' | 'calender-check-filled' | 'calender-check' | 'calender-filled' | 'calender-plus-filled' | 'calender-plus' | 'calender' | 'clock-filled' | 'clock' | 'rewatch-filled' | 'rewatch' | 'stopwatch-filled' | 'stopwatch' | 'bot-filled' | 'bot' | 'person-check-filled' | 'person-check' | 'person-filled' | 'person-plus-filled' | 'person-plus' | 'person' | 'user-speak-filled' | 'user-speak' | 'users-filled' | 'users';
489
+ type grauityIconName = 'exclamation-circle-filled' | 'exclamation-circle' | 'exclamation-triangle-filled' | 'exclamation-triangle' | 'info-circle-filled' | 'info-circle' | 'question-circle-filled' | 'question-circle' | 'code-alt-filled' | 'code-alt' | 'code-filled' | 'code' | 'project-filled' | 'project' | 'terminal-filled' | 'terminal' | 'nst-filled' | 'nst' | 'desktop-filled' | 'desktop' | 'gamepad-filled' | 'gamepad' | 'lamp-filled' | 'lamp' | 'laptop-filled' | 'laptop' | 'mobile-filled' | 'mobile' | 'archive-filled' | 'archive' | 'bookmark-filled' | 'bookmark' | 'file-alt-filled' | 'file-alt' | 'file-filled' | 'file-lightning-filled' | 'file-lightning' | 'file' | 'folder-filled' | 'folder-open-filled' | 'folder-open' | 'folder' | 'label-filled' | 'label' | 'note-filled' | 'note' | 'pen-filled' | 'pen' | 'pin-filled' | 'pin' | 'currency-rupee-filled' | 'currency-rupee' | 'headphone-filled' | 'headphone-mic-filled' | 'headphone-mic' | 'headphone' | 'mic-filled' | 'mic' | 'micmute-filled' | 'micmute' | 'pause-circle-filled' | 'pause-circle' | 'pause-filled' | 'pause' | 'play-circle-filled' | 'play-circle' | 'play-filled' | 'play-rectangle-filled' | 'play-rectangle' | 'play' | 'video-filled' | 'video-off-filled' | 'video-off' | 'video' | 'volume-maximum-filled' | 'volume-maximum' | 'volume-minimum-filled' | 'volume-minimum' | 'volume-mute-filled' | 'volume-mute' | 'waveform-filled' | 'waveform' | 'comment-filled' | 'comment' | 'connector-filled' | 'connector' | 'doubt-alt2-filled' | 'doubt-alt2' | 'doubt-filled' | 'doubt-message-filled' | 'doubt-message' | 'doubt' | 'hearing-filled' | 'hearing' | 'heart-filled' | 'heart' | 'hearthands-filled' | 'hearthands' | 'lock-filled' | 'lock-open-filled' | 'lock-open' | 'lock' | 'magic-orb-filled' | 'magic-orb' | 'message-filled' | 'message-info-filled' | 'message-info' | 'message' | 'milestone-filled' | 'milestone' | 'scholar-hat-filled' | 'scholar-hat' | 'smiley-bad-filled' | 'smiley-bad' | 'smiley-filled' | 'smiley-happy-filled' | 'smiley-happy' | 'smiley-neutral-filled' | 'smiley-neutral' | 'smiley-sad-filled' | 'smiley-sad' | 'smiley-very-bad-filled' | 'smiley-very-bad' | 'smiley-very-happy-filled' | 'smiley-very-happy' | 'smiley' | 'spark-filled' | 'spark' | 'sparkle-filled' | 'sparkle' | 'target-filled' | 'target' | 'check-badge-filled' | 'check-badge' | 'crown-filled' | 'crown' | 'flag-filled' | 'flag' | 'gift-filled' | 'gift' | 'leaderboard-filled' | 'leaderboard' | 'medal-filled' | 'medal' | 'star-filled' | 'star-half-filled' | 'star-half' | 'star' | 'trophy-filled' | 'trophy' | 'codechef' | 'codeforces' | 'facebook' | 'github' | 'google' | 'hackerearth' | 'hackerrank' | 'instagram' | 'leetcode' | 'linkedin' | 'twitter' | 'whatsapp' | 'x' | 'youtube' | 'arrow-double-filled' | 'arrow-double' | 'arrow-down-filled' | 'arrow-down-left-filled' | 'arrow-down-left' | 'arrow-down-right-filled' | 'arrow-down-right' | 'arrow-down' | 'arrow-left-filled' | 'arrow-left' | 'arrow-right-filled' | 'arrow-right' | 'arrow-up-filled' | 'arrow-up-left-filled' | 'arrow-up-left' | 'arrow-up-right-filled' | 'arrow-up-right' | 'arrow-up' | 'ban-filled' | 'ban' | 'bin-filled' | 'bin' | 'book-alt-filled' | 'book-alt' | 'book-alt2-filled' | 'book-alt2' | 'book-alt3-filled' | 'book-alt3' | 'book-filled' | 'book' | 'briefcase-alt2-filled' | 'briefcase-alt2' | 'briefcase-filled' | 'briefcase' | 'broadcast-filled' | 'broadcast' | 'bug-filled' | 'bug' | 'bulb-filled' | 'bulb' | 'call-end-filled' | 'call-end' | 'call-start-filled' | 'call-start' | 'camera-filled' | 'camera' | 'caret-double-filled' | 'caret-double' | 'caret-down-filled' | 'caret-down' | 'caret-left-filled' | 'caret-left' | 'caret-right-filled' | 'caret-right' | 'caret-up-filled' | 'caret-up' | 'check-circle-filled' | 'check-circle' | 'check-filled' | 'check-square-filled' | 'check-square' | 'check' | 'chevron-down-double-filled' | 'chevron-down-double' | 'chevron-down-filled' | 'chevron-down' | 'chevron-left-double-filled' | 'chevron-left-double' | 'chevron-left-filled' | 'chevron-left' | 'chevron-right-double-filled' | 'chevron-right-double' | 'chevron-right-filled' | 'chevron-right' | 'chevron-up-double-filled' | 'chevron-up-double' | 'chevron-up-filled' | 'chevron-up' | 'circle-filled' | 'circle' | 'clock-alarm-filled' | 'clock-alarm' | 'close-circle-filled' | 'close-circle' | 'close-filled' | 'close-square-filled' | 'close-square' | 'close' | 'compass-filled' | 'compass' | 'copy-filled' | 'copy' | 'database-filled' | 'database' | 'diamond-filled' | 'diamond' | 'double-check-filled' | 'double-check' | 'download-filled' | 'download' | 'eda-filled' | 'eda' | 'email-alt-filled' | 'email-alt' | 'email-filled' | 'email' | 'filter-filled' | 'filter' | 'floppy-filled' | 'floppy' | 'forward-filled' | 'forward' | 'gear-filled' | 'gear' | 'git-commit-filled' | 'git-commit' | 'globe-filled' | 'globe' | 'grip-hortizontal-filled' | 'grip-hortizontal' | 'grip-vertical-filled' | 'grip-vertical' | 'growth-down-filled' | 'growth-down' | 'growth-up-filled' | 'growth-up' | 'help-filled' | 'help' | 'hold-filled' | 'hold' | 'home-filled' | 'home' | 'hourglass-filled' | 'hourglass' | 'kebab-horizontal-filled' | 'kebab-horizontal' | 'kebab-vertical-filled' | 'kebab-vertical' | 'link-filled' | 'link' | 'list-checked-filled' | 'list-checked' | 'list-filled' | 'list' | 'load-filled' | 'load' | 'loudspeaker-filled' | 'loudspeaker' | 'machine-learning-filled' | 'machine-learning' | 'map-pin-alt1-filled' | 'map-pin-alt1' | 'map-pin-alt2-filled' | 'map-pin-alt2' | 'map-pin-filled' | 'map-pin' | 'maximize-filled' | 'maximize' | 'menu-alt2-filled' | 'menu-alt2' | 'menu-filled' | 'menu-grid-filled' | 'menu-grid' | 'menu' | 'microchip-filled' | 'microchip' | 'minimize-filled' | 'minimize' | 'minus-circle-filled' | 'minus-circle' | 'minus-square-filled' | 'minus-square' | 'moon-filled' | 'moon' | 'new-tab-filled' | 'new-tab' | 'paper-clip-filled' | 'paper-clip' | 'plus-circle-filled' | 'plus-circle' | 'plus-filled' | 'plus-square-filled' | 'plus-square' | 'plus' | 'power-bi-filled' | 'power-bi' | 'printer-filled' | 'printer' | 'progress-half-filled' | 'progress-half' | 'progress-quarter-filled' | 'progress-quarter' | 'progress-zero-filled' | 'progress-zero' | 'python-filled' | 'python' | 'quiz-filled' | 'quiz' | 'refresh-filled' | 'refresh' | 'remove-filled' | 'remove' | 'reply-filled' | 'reply' | 'retail-filled' | 'retail' | 'screenshare-start-filled' | 'screenshare-start' | 'screenshare-stop-filled' | 'screenshare-stop' | 'search-filled' | 'search' | 'share-filled' | 'share' | 'shield-alert-filled' | 'shield-alert' | 'shield-check-filled' | 'shield-check' | 'shield-filled' | 'shield-lock-filled' | 'shield-lock' | 'shield-x-filled' | 'shield-x' | 'shield' | 'shop-filled' | 'shop' | 'sidebar-left-filled' | 'sidebar-left' | 'sidebar-right-filled' | 'sidebar-right' | 'signin-filled' | 'signin' | 'signout-filled' | 'signout' | 'slider-filled' | 'slider' | 'square-filled' | 'square' | 'sticky-note-filled' | 'sticky-note' | 'sun-filled' | 'sun' | 'thumbs-down-filled' | 'thumbs-down' | 'thumbs-up-filled' | 'thumbs-up' | 'thunder-filled' | 'thunder' | 'truck-filled' | 'truck' | 'upload-filled' | 'upload' | 'wrench-filled' | 'wrench' | 'bell-filled' | 'bell' | 'calender-check-filled' | 'calender-check' | 'calender-filled' | 'calender-plus-filled' | 'calender-plus' | 'calender' | 'clock-filled' | 'clock' | 'rewatch-filled' | 'rewatch' | 'stopwatch-filled' | 'stopwatch' | 'bot-filled' | 'bot' | 'person-check-filled' | 'person-check' | 'person-filled' | 'person-plus-filled' | 'person-plus' | 'person' | 'user-speak-filled' | 'user-speak' | 'users-filled' | 'users';
488
490
  type grauityFlippedChoiceName = 'vertically' | 'horizontally';
489
491
  type grauityRotatedChoiceName = 'clockwise' | 'counterclockwise';
490
492
  type grauityIconSizeName = '4' | '8' | '12' | '14' | '16' | '20' | '24' | '28' | '32' | '36' | '40';
@@ -5253,6 +5255,32 @@ export interface TextFieldProps {
5253
5255
  * The placeholder text for the input field.
5254
5256
  */
5255
5257
  placeholder?: string;
5258
+ /**
5259
+ * The type of the input field.
5260
+ * @default 'text'
5261
+ */
5262
+ type?: HTMLInputTypeAttribute;
5263
+ /**
5264
+ * The input mode for the input field.
5265
+ * @default 'text'
5266
+ */
5267
+ inputMode?: 'none' | 'text' | 'search' | 'email' | 'tel' | 'url' | 'numeric' | 'decimal' | undefined;
5268
+ /**
5269
+ * The pattern for the input field.
5270
+ */
5271
+ pattern?: string;
5272
+ /**
5273
+ * The minimum value for the input field.
5274
+ */
5275
+ min?: number;
5276
+ /**
5277
+ * The maximum value for the input field.
5278
+ */
5279
+ max?: number;
5280
+ /**
5281
+ * The step value for the input field.
5282
+ */
5283
+ step?: number;
5256
5284
  /**
5257
5285
  * The validation message to display when the input field is invalid.
5258
5286
  */