pdap-design-system 1.1.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. package/CONTRIBUTING.md +34 -0
  2. package/README.md +35 -49
  3. package/bin/pdap-design-system-cli.js +12 -8
  4. package/dist/components/Button/PdapButton.vue.d.ts +36 -0
  5. package/dist/components/Button/index.d.ts +2 -0
  6. package/dist/components/Button/types.d.ts +4 -0
  7. package/dist/components/FlexContainer/FlexContainer.vue.d.ts +36 -0
  8. package/dist/components/FlexContainer/index.d.ts +2 -0
  9. package/dist/components/FlexContainer/types.d.ts +4 -0
  10. package/dist/components/Footer/PdapFooter.vue.d.ts +29 -0
  11. package/dist/components/Footer/index.d.ts +2 -0
  12. package/dist/components/Footer/types.d.ts +9 -0
  13. package/dist/components/Form/InputsGenerator/FormInputsGenerator.vue.d.ts +37 -0
  14. package/dist/components/Form/InputsGenerator/index.d.ts +2 -0
  15. package/dist/components/Form/PdapForm.vue.d.ts +39 -0
  16. package/dist/components/Form/index.d.ts +2 -0
  17. package/dist/components/Form/types.d.ts +35 -0
  18. package/dist/components/GridContainer/GridContainer.vue.d.ts +39 -0
  19. package/dist/components/GridContainer/index.d.ts +2 -0
  20. package/dist/components/GridContainer/types.d.ts +7 -0
  21. package/dist/components/GridItem/GridItem.vue.d.ts +39 -0
  22. package/dist/components/GridItem/index.d.ts +2 -0
  23. package/dist/components/GridItem/types.d.ts +5 -0
  24. package/dist/components/Header/PdapHeader.vue.d.ts +29 -0
  25. package/dist/components/Header/index.d.ts +2 -0
  26. package/dist/components/Header/types.d.ts +4 -0
  27. package/dist/components/Input/Checkbox/InputCheckbox.vue.d.ts +24 -0
  28. package/dist/components/Input/Checkbox/index.d.ts +2 -0
  29. package/dist/components/Input/PdapInput.vue.d.ts +19 -0
  30. package/dist/components/Input/Text/InputText.vue.d.ts +24 -0
  31. package/dist/components/Input/Text/index.d.ts +2 -0
  32. package/dist/components/Input/index.d.ts +2 -0
  33. package/dist/components/Input/types.d.ts +20 -0
  34. package/dist/components/Input/utils.d.ts +4 -0
  35. package/dist/components/Nav/PdapNav.vue.d.ts +12 -0
  36. package/dist/components/Nav/index.d.ts +2 -0
  37. package/dist/components/Nav/types.d.ts +12 -0
  38. package/dist/components/TileIcon/TileIcon.vue.d.ts +12 -0
  39. package/dist/components/TileIcon/index.d.ts +2 -0
  40. package/dist/components/TileIcon/types.d.ts +4 -0
  41. package/dist/components/index.d.ts +12 -0
  42. package/dist/index.cjs +2 -0
  43. package/dist/index.d.ts +12 -0
  44. package/dist/index.js +1728 -0
  45. package/dist/styles.css +1 -0
  46. package/dist/tools/testing/serializer.d.ts +7 -0
  47. package/dist/tools/testing/setup.d.ts +1 -0
  48. package/dist/utils/vuelidate.d.ts +36 -0
  49. package/package.json +50 -20
  50. package/dist/css/global-styles.css +0 -2133
  51. package/system/README.md +0 -1
  52. package/system/css/global-styles.css +0 -735
  53. package/system/css/normalize.css +0 -349
  54. package/system/images/acronym.svg +0 -16
  55. package/system/images/favicon.png +0 -0
  56. package/system/images/icons/automation.svg +0 -50
  57. package/system/images/icons/community.svg +0 -38
  58. package/system/images/icons/scrapers.svg +0 -64
  59. package/system/images/icons/sources.svg +0 -43
  60. package/system/images/icons/standard.svg +0 -38
  61. package/system/images/lockup.svg +0 -68
  62. package/system/images/logo.svg +0 -8
  63. package/system/images/webclip.gif +0 -0
package/system/README.md DELETED
@@ -1 +0,0 @@
1
- This directory is deprecated. Use one of the strategies defined in the project [README](../README.md) to import from the `dist` folder or use the `import` and command line methods provided, as this dir will be removed in a future version.
@@ -1,735 +0,0 @@
1
- * {
2
- -webkit-box-sizing: border-box;
3
- -moz-box-sizing: border-box;
4
- box-sizing: border-box;
5
- }
6
- html {
7
- height: 100%;
8
- }
9
- body {
10
- margin: 0;
11
- min-height: 100%;
12
- background-color: #fffbfa;
13
- font-family: 'Libre Franklin', sans-serif;
14
- color: #000;
15
- font-size: 26px;
16
- line-height: 1.5;
17
- font-weight: 300;
18
- }
19
- img {
20
- max-width: 100%;
21
- vertical-align: middle;
22
- display: inline-block;
23
- }
24
- .button {
25
- background-color: #d5a23c;
26
- display: inline-block;
27
- padding: 9px 25px;
28
- margin: 5px 0px;
29
- width:auto;
30
- color: white;
31
- font-size: 20px;
32
- font-weight: 600;
33
- text-align: center;
34
- border: 0;
35
- line-height: inherit;
36
- text-decoration: none;
37
- cursor: pointer;
38
- border-radius: 0;
39
- width: auto;
40
- }
41
- .button-outline {
42
- background-color:#fff;
43
- border: 2px solid #d5a23c;
44
- color: #d5a23c
45
- }
46
- input.button {
47
- -webkit-appearance: button;
48
- }
49
- h1 {
50
- margin-top: 50px;
51
- margin-bottom: 15px;
52
- font-size: 42px;
53
- line-height: 1.2;
54
- font-weight: 500;
55
- }
56
- h2 {
57
- margin-top: 32px;
58
- margin-bottom: 15px;
59
- font-size: 32px;
60
- line-height: 1.2;
61
- font-weight: 700;
62
- }
63
- h3 {
64
- margin-top: 30px;
65
- margin-bottom: 10px;
66
- font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
67
- color: #512a4f;
68
- font-size: 18px;
69
- line-height: 1.2;
70
- font-weight: 800;
71
- letter-spacing: 0.1em;
72
- text-transform: uppercase;
73
- max-width:43ch;
74
- }
75
- h4 {
76
- margin-top: 10px;
77
- margin-bottom: 10px;
78
- font-size: 18px;
79
- line-height: 1.2;
80
- font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
81
- color: #512a4f;
82
- font-weight: 600;
83
- letter-spacing: 0.07em;
84
- text-transform: uppercase;
85
- }
86
- h5 {
87
- margin-top: 10px;
88
- margin-bottom: 10px;
89
- font-family: 'Libre Franklin', sans-serif;
90
- font-size: 26px;
91
- line-height: 1.2;
92
- font-style: italic;
93
- font-weight: 300;
94
- }
95
- h6 {
96
- margin-top: 10px;
97
- margin-bottom: 10px;
98
- font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
99
- font-size: 18px;
100
- line-height: 1.2;
101
- font-weight: 300;
102
- letter-spacing: 3px;
103
- text-transform: uppercase;
104
- }
105
- p {
106
- margin-top: 0;
107
- margin-bottom: 10px;
108
- }
109
-
110
- code {
111
- font-family: 'Source Code Pro', monospace;
112
- font-weight:400;
113
- font-size: inherit;
114
- }
115
-
116
- p > code,
117
- li > code {
118
- background: rgba(81, 42, 79, 0.05);
119
- word-wrap: break-word;
120
- box-decoration-break: clone;
121
- padding: .2rem .4rem .3rem;
122
- border-radius: 2px;
123
- }
124
-
125
- pre code {
126
- font-size:20px;
127
- display:block;
128
- background: rgba(81, 42, 79, 0.05);
129
- border: 1px solid rgba(81, 42, 79, 0.15);
130
- white-space: pre;
131
- -webkit-overflow-scrolling: touch;
132
- max-width: 100%;
133
- min-width: 100px;
134
- padding: 20px;
135
- text-align:left;
136
- }
137
-
138
- .form {
139
- margin: 0 0 15px;
140
- width:100%;
141
- }
142
- .input {
143
- display: block;
144
- width: 100%;
145
- height: 38px;
146
- padding: 8px 12px;
147
- margin-bottom: 10px;
148
- font-size: 14px;
149
- line-height: 1.428571429;
150
- color: #333333;
151
- vertical-align: middle;
152
- background-color: #ffffff;
153
- border: 1px solid #cccccc;
154
- }
155
- .input:-moz-placeholder {
156
- color: #999;
157
- }
158
- .input::-moz-placeholder {
159
- color: #999;
160
- opacity: 1;
161
- }
162
- .input:-ms-input-placeholder {
163
- color: #999;
164
- }
165
- .input::-webkit-input-placeholder {
166
- color: #999;
167
- }
168
- .input:focus {
169
- border-color: #3898EC;
170
- outline: 0;
171
- }
172
- .input-text {
173
- height: 48px;
174
- font-size: 18px;
175
- }
176
- .container {
177
- margin-left: auto;
178
- margin-right: auto;
179
- max-width: 940px;
180
- display: -webkit-box;
181
- display: -webkit-flex;
182
- display: -ms-flexbox;
183
- display: flex;
184
- -webkit-box-orient: vertical;
185
- -webkit-box-direction: normal;
186
- -webkit-flex-direction: column;
187
- -ms-flex-direction: column;
188
- flex-direction: column;
189
- -webkit-box-pack: center;
190
- -webkit-justify-content: center;
191
- -ms-flex-pack: center;
192
- justify-content: center;
193
- -webkit-box-align: center;
194
- -webkit-align-items: center;
195
- -ms-flex-align: center;
196
- align-items: stretch;
197
- }
198
-
199
- /* left-aligns things narrower than containers inside containers */
200
- .container h1, .container h2, .container h3, .container h4, .container h5, .container h6, .container p, .container div {
201
- margin-right:auto;
202
- }
203
- .container:before,
204
- .container:after {
205
- content: " ";
206
- display: table;
207
- grid-column-start: 1;
208
- grid-row-start: 1;
209
- grid-column-end: 2;
210
- grid-row-end: 2;
211
- }
212
- .container:after {
213
- clear: both;
214
- }
215
- .container {
216
- display: -webkit-box;
217
- display: -webkit-flex;
218
- display: -ms-flexbox;
219
- display: flex;
220
- -webkit-box-orient: vertical;
221
- -webkit-box-direction: normal;
222
- -webkit-flex-direction: column;
223
- -ms-flex-direction: column;
224
- flex-direction: column;
225
- -webkit-box-pack: center;
226
- -webkit-justify-content: center;
227
- -ms-flex-pack: center;
228
- justify-content: center;
229
- -webkit-box-align: center;
230
- -webkit-align-items: center;
231
- -ms-flex-align: center;
232
- align-items: center;
233
-
234
- }
235
- .nav {
236
- position: relative;
237
- z-index: 1000;
238
- }
239
- .nav:before,
240
- .nav:after {
241
- content: " ";
242
- display: table;
243
- grid-column-start: 1;
244
- grid-row-start: 1;
245
- grid-column-end: 2;
246
- grid-row-end: 2;
247
- }
248
- .nav:after {
249
- clear: both;
250
- }
251
- .nav-brand {
252
- position: relative;
253
- float: left;
254
- text-decoration: none;
255
- color: #333333;
256
- }
257
- .nav-link {
258
- position: relative;
259
- display: inline-block;
260
- vertical-align: top;
261
- text-decoration: none;
262
- color: #222222;
263
- padding: 20px;
264
- text-align: left;
265
- margin-left: auto;
266
- margin-right: auto;
267
- }
268
- .nav-link.current {
269
- color: #0082f3;
270
- }
271
- .nav-menu {
272
- position: relative;
273
- float: right;
274
- }
275
- .nav-button {
276
- position: relative;
277
- float: right;
278
- padding: 18px;
279
- font-size: 24px;
280
- display: none;
281
- cursor: pointer;
282
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
283
- tap-highlight-color: rgba(0, 0, 0, 0);
284
- -webkit-user-select: none;
285
- -moz-user-select: none;
286
- -ms-user-select: none;
287
- user-select: none;
288
- }
289
- .nav-button:focus {
290
- outline: 0;
291
- }
292
-
293
- /* custom styles */
294
-
295
- p {
296
- margin-bottom: 15px;
297
- }
298
-
299
- p, li {
300
- max-width: 43ch;
301
- }
302
-
303
- a {
304
- color: #d5a23c;
305
- text-decoration-thickness:6% ;
306
- text-underline-offset: 5%;
307
- }
308
-
309
- a:hover {
310
- filter: brightness(.85);
311
- }
312
-
313
- strong {
314
- font-weight: 600;
315
- }
316
-
317
- .layout-grid {
318
- display: -ms-grid;
319
- display: grid;
320
- width:100%;
321
- grid-auto-columns: 1fr;
322
- -ms-grid-rows: auto auto;
323
- grid-template-rows: auto auto;
324
- grid-column-gap: 30px;
325
- grid-row-gap: 30px;
326
- }
327
-
328
- .grid-2 {
329
- -ms-grid-columns: 1fr 1fr;
330
- grid-template-columns: 1fr 1fr;
331
- align-items:start;
332
- }
333
-
334
- .grid-3 {
335
- -ms-grid-columns: 1fr 1fr 1fr;
336
- grid-template-columns: 1fr 1fr 1fr;
337
- }
338
-
339
- .grid-span-2 {
340
- -ms-grid-column: span 2;
341
- grid-column-start: span 2;
342
- -ms-grid-column-span: 2;
343
- grid-column-end: span 2;
344
- }
345
-
346
- .grid-span-3 {
347
- -ms-grid-column: span 3;
348
- grid-column-start: span 3;
349
- -ms-grid-column-span: 3;
350
- grid-column-end: span 3;
351
- }
352
-
353
-
354
-
355
- .nav-container {
356
- display: -webkit-box;
357
- display: -webkit-flex;
358
- display: -ms-flexbox;
359
- display: flex;
360
- padding-top: 10px;
361
- padding-bottom: 10px;
362
- -webkit-box-orient: horizontal;
363
- -webkit-box-direction: normal;
364
- -webkit-flex-direction: row;
365
- -ms-flex-direction: row;
366
- flex-direction: row;
367
- -webkit-box-pack: justify;
368
- -webkit-justify-content: space-between;
369
- -ms-flex-pack: justify;
370
- justify-content: space-between;
371
- -webkit-box-align: center;
372
- -webkit-align-items: center;
373
- -ms-flex-align: center;
374
- align-items: center;
375
- }
376
-
377
- .brand {
378
- -webkit-box-ordinal-group: 0;
379
- -webkit-order: -1;
380
- -ms-flex-order: -1;
381
- order: -1;
382
- }
383
-
384
- .nav-menu {
385
- display: -webkit-box;
386
- display: -webkit-flex;
387
- display: -ms-flexbox;
388
- display: flex;
389
- -webkit-box-align: center;
390
- -webkit-align-items: center;
391
- -ms-flex-align: center;
392
- align-items: center;
393
- -webkit-box-ordinal-group: 2;
394
- -webkit-order: 1;
395
- -ms-flex-order: 1;
396
- order: 1;
397
- }
398
-
399
- .navbar {
400
- display: -webkit-box;
401
- display: -webkit-flex;
402
- display: -ms-flexbox;
403
- display: flex;
404
- padding: 30px;
405
- -webkit-box-pack: justify;
406
- -webkit-justify-content: space-between;
407
- -ms-flex-pack: justify;
408
- justify-content: space-between;
409
- background-color: #fffbfa;
410
- }
411
-
412
- .nav-link {
413
- margin-right: 10px;
414
- margin-left: 10px;
415
- padding: 10px;
416
- font-size: 18px;
417
- font-weight: 500;
418
- }
419
-
420
- .nav-link.current {
421
- border-style: solid;
422
- border-width: 2px;
423
- border-color: rgba(81, 42, 79, 0.15);
424
- color: #512a4f;
425
- }
426
-
427
- .button:hover {
428
- filter:brightness(.95);
429
- }
430
-
431
- .button.button-footer {
432
- width: auto;
433
- margin-right: 10px;
434
- margin-left: 10px;
435
- font-size: 18px;
436
- }
437
-
438
- .footer {
439
- position: relative;
440
- margin-top: 20vh;
441
- padding: 30px 10px;
442
- background-color: #512a4f;
443
- color: #fffbfa;
444
- font-size: 18px;
445
- text-align: center;
446
- }
447
- .footer * {
448
- margin-left:auto;
449
- margin-right:auto;
450
- }
451
- .footer-actions {
452
- margin-bottom: 10px;
453
- }
454
-
455
- .footer-p {
456
- margin-bottom: 5px;
457
- }
458
-
459
- .footer-logo {
460
- width: 150px;
461
- -webkit-filter: invert(100%);
462
- filter: invert(100%);
463
- padding:0 0 0 30px;
464
- }
465
-
466
- .shout {
467
- max-width: 30ch;
468
- font-size: 50px;
469
- line-height: 1.2;
470
- font-weight: 500;
471
- margin-top:0;
472
- }
473
-
474
- .shout-box {
475
- padding-top:5vh;
476
- -webkit-box-align: center;
477
- -webkit-align-items: center;
478
- -ms-flex-align: center;
479
- align-items: center;
480
- }
481
-
482
- .small p, p.small, .small li {
483
- font-size:20px;
484
- }
485
-
486
- .tile-icon {
487
- max-width:120px;
488
- }
489
-
490
- .top-45 {
491
- margin-top: 45px;
492
- }
493
-
494
- .top-0 {
495
- margin-top: 0;
496
- }
497
-
498
- .bottom-0 {
499
- margin-bottom: 0;
500
- }
501
-
502
- .airtable-box {
503
- margin: 40px;
504
- }
505
-
506
- .boxed {
507
- padding:15px;
508
- margin: 15px 0;
509
- border: 2px solid rgba(81, 42, 79, 0.15);
510
- }
511
-
512
- .quote {
513
- font-weight: 500;
514
- }
515
-
516
- .citation {
517
- font-style: italic;
518
- margin-bottom:0;
519
- }
520
-
521
- @media screen and (max-width: 991px) {
522
- .container {
523
- max-width: 728px;
524
- }
525
- .nav[data-collapse="medium"] .nav-menu {
526
- display: none;
527
- }
528
- .nav[data-collapse="medium"] .nav-button {
529
- display: block;
530
- }
531
- body {
532
- padding-right: 10px;
533
- padding-left: 10px;
534
- }
535
- .nav-container {
536
- -webkit-align-self: auto;
537
- -ms-flex-item-align: auto;
538
- -ms-grid-row-align: auto;
539
- align-self: auto;
540
- }
541
- .nav-menu {
542
- padding: 10px;
543
- background-color: #bfc0c0;
544
- display: none;
545
- position: fixed;
546
- top: 100%;
547
- left: 0;
548
- width: 100%; /* Full width */
549
- height: calc(100% - 112px);
550
- z-index: 999;
551
- flex-direction: column;
552
- align-items: center;
553
- justify-content: center;
554
- overflow-y: auto; /* In case the links exceed viewport height */
555
- transition: transform 0.3s ease; /* Smooth transition for showing and hiding the menu */
556
- transform: translateY(-100%); /* Hide the menu by default */
557
- }
558
- .nav-link {
559
- color: white;
560
- margin: 10px 0;
561
- text-decoration: none;
562
- }
563
- .navbar {
564
- margin-right: -20px;
565
- margin-left: -20px;
566
- padding: 20px;
567
- -webkit-box-align: center;
568
- -webkit-align-items: center;
569
- -ms-flex-align: center;
570
- align-items: center;
571
- }
572
-
573
- .nav-link {
574
- width: 100%;
575
- margin-right: 0px;
576
- margin-bottom: 10px;
577
- margin-left: 0px;
578
- }
579
-
580
- .nav-link.current {
581
- border-color: #fffbfa;
582
- }
583
-
584
- .shout {
585
- font-size: 48px;
586
- margin-top:0;
587
- }
588
-
589
- .footer {
590
- margin-right: -10px;
591
- margin-left: -10px;
592
- padding-right: 20px;
593
- padding-left: 20px;
594
- }
595
-
596
- .shout-box {
597
- -webkit-box-orient: vertical;
598
- -webkit-box-direction: normal;
599
- -webkit-flex-direction: column;
600
- -ms-flex-direction: column;
601
- flex-direction: column;
602
- }
603
-
604
- .nav-container-last {
605
- -webkit-box-ordinal-group: 2;
606
- -webkit-order: 1;
607
- -ms-flex-order: 1;
608
- order: 1;
609
- }
610
- }
611
-
612
- @media screen and (max-width: 767px) {
613
- .nav-brand {
614
- padding-left: 10px;
615
- }
616
-
617
- body {
618
- padding-right: 10px;
619
- padding-left: 10px;
620
- font-size: 20px;
621
- }
622
-
623
- .navbar {
624
- margin-right: -10px;
625
- margin-left: -10px;
626
- padding: 10px 0px;
627
- }
628
-
629
- .button {
630
- width: 100%;
631
- font-size: 18px;
632
- }
633
-
634
- .layout-grid, .grid-2, .grid-3 {
635
- grid-column-gap: 15px;
636
- grid-row-gap: 15px;
637
- grid-template-columns: 1fr;
638
- grid-auto-columns: 1fr;
639
- -ms-grid-columns: 1fr;
640
- }
641
-
642
- .grid-span-3 {
643
- -ms-grid-column: span 1;
644
- grid-column-start: span 1;
645
- -ms-grid-column-span: 1;
646
- grid-column-end: span 1;
647
- }
648
-
649
- .airtable-box {
650
- margin: 10px;
651
- }
652
-
653
- }
654
-
655
-
656
- @media screen and (max-width: 479px) {
657
- .container {
658
- max-width: none;
659
- }
660
-
661
- .shout {
662
- font-size: 36px;
663
- }
664
-
665
- .shout-box {
666
- padding-top:10px;
667
- }
668
-
669
- h2 {
670
- font-size: 24px;
671
- }
672
-
673
- h3 {
674
- font-size: 16px;
675
- }
676
-
677
- .button.button-footer {
678
- width: 100%;
679
- margin-right: 1px;
680
- margin-left: 1px;
681
- }
682
-
683
- .footer {
684
- padding-top: 10px;
685
- padding-right: 10px;
686
- padding-left: 10px;
687
- }
688
-
689
- .logo {
690
- max-width: 80%;
691
- }
692
-
693
- .layout-grid, .grid-2, .grid-3 {
694
- grid-column-gap: 15px;
695
- grid-row-gap: 15px;
696
- grid-auto-columns: 1fr;
697
- grid-template-columns: 1fr;
698
- -ms-grid-columns: 1fr;
699
- }
700
-
701
- .grid-span-2 {
702
- -ms-grid-column: span 1;
703
- grid-column-start: span 1;
704
- -ms-grid-column-span: 1;
705
- grid-column-end: span 1;
706
- }
707
-
708
- }
709
-
710
- /* Dark mode */
711
-
712
- @media (prefers-color-scheme: dark) {
713
- body {
714
- background-color: #000;
715
- color: #fffbfa;
716
- }
717
- h3, h4 {
718
- color:#bfc0c0;
719
- }
720
-
721
- .footer, .navbar {
722
- background-color: #333;
723
- color: #fffbfa;
724
- }
725
- .logo {
726
- filter: invert(1);
727
- }
728
- .nav-link{
729
- color:#fffbfa;
730
- }
731
- .nav-link.current {
732
- color: #bfc0c0;
733
- border-color:#bfc0c0;
734
- }
735
- }