hds-web 1.1.7 → 1.1.8

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.
@@ -0,0 +1,71 @@
1
+ import React from 'react';
2
+ import { v4 as uuidv4 } from 'uuid';
3
+ import { Typography } from '../../foundation/Typography';
4
+ export default function TableA(props) {
5
+ const {
6
+ head,
7
+ description,
8
+ tableValue,
9
+ children
10
+
11
+ } = props;
12
+ console.log(tableValue.length);
13
+ const tableLength = tableValue.length;
14
+
15
+ return (
16
+ <div className=" ">
17
+ <div className="sm:flex sm:items-center ">
18
+ <div className="sm:flex-auto">
19
+ <h1 className="text-base font-semibold leading-6 text-gray-900">{head}</h1>
20
+ <p className="mt-2 text-sm text-gray-700">{description}</p>
21
+ </div>
22
+
23
+ </div>
24
+
25
+ <div>
26
+ <div className="border bg-neutral-50 border-neutral-100 rounded-2xl">
27
+ <table className="min-w-full divide-y divide-neutral-100 ">
28
+ <div>
29
+
30
+
31
+ <thead>
32
+ <tr className='divide-x divide-neutral-100'>
33
+ {Object.keys(tableValue[0]).map((key) => (
34
+ <th
35
+ key={key}
36
+ scope="col"
37
+ className="text-left sm:table-cell"
38
+ >
39
+ <Typography className='p-6' textStyle='body3c-bold'>{key}</Typography>
40
+
41
+ </th>
42
+ ))}
43
+ </tr>
44
+ </thead>
45
+
46
+ <tbody className="divide-y rounded-b-3xl divide-neutral-100 bg-white">
47
+ {tableValue.map((value,index) => (
48
+ <tr key={index} className='divide-x divide-neutral-100'>
49
+ {Object.keys(value).map((key, index2) => (
50
+ <td
51
+ key={index2+index}
52
+ className={
53
+ 'p-6 bg-neutral-0 ' + ((index == `${tableValue.length-1}`) ? 'rounded-3xl' : '')
54
+ }
55
+ >
56
+
57
+ <Typography textStyle='body3c-bold' className='bg-transparent text-neutral-800'>{key}</Typography>
58
+ <Typography textStyle='body3' className='text-neutral-800 mt-2'>Endless hours spent writing boilerplate code, resolvers, or mapping logic.</Typography>
59
+
60
+ </td>
61
+ ))}
62
+ </tr>
63
+ ))}
64
+ </tbody>
65
+ </div>
66
+ </table>
67
+ </div>
68
+ </div>
69
+ </div>
70
+ )
71
+ }
package/src/index.css CHANGED
@@ -386,7 +386,7 @@
386
386
 
387
387
  }
388
388
  .bg-transparent{
389
- background-color: transparent;
389
+ background-color: transparent !important;
390
390
  }
391
391
 
392
392
  .language-javascript {
@@ -1089,10 +1089,6 @@ select {
1089
1089
  margin-left: -0.75rem;
1090
1090
  }
1091
1091
 
1092
- .-ml-4 {
1093
- margin-left: -1rem;
1094
- }
1095
-
1096
1092
  .-ml-px {
1097
1093
  margin-left: -1px;
1098
1094
  }
@@ -1173,6 +1169,10 @@ select {
1173
1169
  margin-left: 2rem;
1174
1170
  }
1175
1171
 
1172
+ .ml-\[9\.55rem\] {
1173
+ margin-left: 9.55rem;
1174
+ }
1175
+
1176
1176
  .mr-1 {
1177
1177
  margin-right: 0.25rem;
1178
1178
  }
@@ -1229,6 +1229,10 @@ select {
1229
1229
  margin-top: 1.5rem;
1230
1230
  }
1231
1231
 
1232
+ .mt-7 {
1233
+ margin-top: 1.75rem;
1234
+ }
1235
+
1232
1236
  .mt-8 {
1233
1237
  margin-top: 2rem;
1234
1238
  }
@@ -1237,10 +1241,6 @@ select {
1237
1241
  margin-top: 2.25rem;
1238
1242
  }
1239
1243
 
1240
- .mt-7 {
1241
- margin-top: 1.75rem;
1242
- }
1243
-
1244
1244
  .block {
1245
1245
  display: block;
1246
1246
  }
@@ -1309,6 +1309,10 @@ select {
1309
1309
  height: 0.625rem;
1310
1310
  }
1311
1311
 
1312
+ .h-20 {
1313
+ height: 5rem;
1314
+ }
1315
+
1312
1316
  .h-24 {
1313
1317
  height: 6rem;
1314
1318
  }
@@ -1349,24 +1353,16 @@ select {
1349
1353
  height: 130px;
1350
1354
  }
1351
1355
 
1352
- .h-\[580px\] {
1353
- height: 580px;
1354
- }
1355
-
1356
1356
  .h-\[60px\] {
1357
1357
  height: 60px;
1358
1358
  }
1359
1359
 
1360
- .h-full {
1361
- height: 100%;
1362
- }
1363
-
1364
1360
  .h-\[calc\(100\%-112px\)\] {
1365
1361
  height: calc(100% - 112px);
1366
1362
  }
1367
1363
 
1368
- .h-20 {
1369
- height: 5rem;
1364
+ .h-full {
1365
+ height: 100%;
1370
1366
  }
1371
1367
 
1372
1368
  .max-h-\[26\.25\] {
@@ -1401,6 +1397,10 @@ select {
1401
1397
  width: 0.625rem;
1402
1398
  }
1403
1399
 
1400
+ .w-20 {
1401
+ width: 5rem;
1402
+ }
1403
+
1404
1404
  .w-24 {
1405
1405
  width: 6rem;
1406
1406
  }
@@ -1449,10 +1449,6 @@ select {
1449
1449
  width: 290px;
1450
1450
  }
1451
1451
 
1452
- .w-\[560px\] {
1453
- width: 560px;
1454
- }
1455
-
1456
1452
  .w-\[60\%\] {
1457
1453
  width: 60%;
1458
1454
  }
@@ -1495,10 +1491,6 @@ select {
1495
1491
  width: 100vw;
1496
1492
  }
1497
1493
 
1498
- .w-20 {
1499
- width: 5rem;
1500
- }
1501
-
1502
1494
  .min-w-\[15rem\] {
1503
1495
  min-width: 15rem;
1504
1496
  }
@@ -1507,6 +1499,10 @@ select {
1507
1499
  min-width: 18rem;
1508
1500
  }
1509
1501
 
1502
+ .min-w-\[348px\] {
1503
+ min-width: 348px;
1504
+ }
1505
+
1510
1506
  .min-w-fit {
1511
1507
  min-width: -webkit-fit-content;
1512
1508
  min-width: -moz-fit-content;
@@ -1825,10 +1821,6 @@ select {
1825
1821
  gap: 1.5rem;
1826
1822
  }
1827
1823
 
1828
- .gap-8 {
1829
- gap: 2rem;
1830
- }
1831
-
1832
1824
  .gap-\[14rem\] {
1833
1825
  gap: 14rem;
1834
1826
  }
@@ -1958,6 +1950,11 @@ select {
1958
1950
  border-color: rgb(30 86 227 / 0.1);
1959
1951
  }
1960
1952
 
1953
+ .divide-neutral-100 > :not([hidden]) ~ :not([hidden]) {
1954
+ --tw-divide-opacity: 1;
1955
+ border-color: rgb(243 244 246 / var(--tw-divide-opacity));
1956
+ }
1957
+
1961
1958
  .divide-neutral-150 > :not([hidden]) ~ :not([hidden]) {
1962
1959
  --tw-divide-opacity: 1;
1963
1960
  border-color: rgb(236 237 240 / var(--tw-divide-opacity));
@@ -2157,11 +2154,6 @@ select {
2157
2154
  border-style: none;
2158
2155
  }
2159
2156
 
2160
- .border-amber-400 {
2161
- --tw-border-opacity: 1;
2162
- border-color: rgb(255 168 27 / var(--tw-border-opacity));
2163
- }
2164
-
2165
2157
  .border-amber-600 {
2166
2158
  --tw-border-opacity: 1;
2167
2159
  border-color: rgb(184 88 0 / var(--tw-border-opacity));
@@ -2197,11 +2189,6 @@ select {
2197
2189
  border-color: rgb(62 202 232 / var(--tw-border-opacity));
2198
2190
  }
2199
2191
 
2200
- .border-green-400 {
2201
- --tw-border-opacity: 1;
2202
- border-color: rgb(57 218 170 / var(--tw-border-opacity));
2203
- }
2204
-
2205
2192
  .border-neutral-0 {
2206
2193
  --tw-border-opacity: 1;
2207
2194
  border-color: rgb(255 255 255 / var(--tw-border-opacity));
@@ -2237,21 +2224,11 @@ select {
2237
2224
  border-color: rgb(255 188 214 / var(--tw-border-opacity));
2238
2225
  }
2239
2226
 
2240
- .border-pink-400 {
2241
- --tw-border-opacity: 1;
2242
- border-color: rgb(246 119 170 / var(--tw-border-opacity));
2243
- }
2244
-
2245
2227
  .border-pink-500 {
2246
2228
  --tw-border-opacity: 1;
2247
2229
  border-color: rgb(225 58 124 / var(--tw-border-opacity));
2248
2230
  }
2249
2231
 
2250
- .border-purple-400 {
2251
- --tw-border-opacity: 1;
2252
- border-color: rgb(180 135 255 / var(--tw-border-opacity));
2253
- }
2254
-
2255
2232
  .border-b-neutral-150 {
2256
2233
  --tw-border-opacity: 1;
2257
2234
  border-bottom-color: rgb(236 237 240 / var(--tw-border-opacity));
@@ -4671,6 +4648,10 @@ select {
4671
4648
  --tw-gradient-to-position: ;
4672
4649
  }
4673
4650
 
4651
+ .fill-neutral-100 {
4652
+ fill: #F3F4F6;
4653
+ }
4654
+
4674
4655
  .stroke-amber-100 {
4675
4656
  stroke: #FFF3D4;
4676
4657
  }
@@ -5079,6 +5060,10 @@ select {
5079
5060
  padding: 0.375rem;
5080
5061
  }
5081
5062
 
5063
+ .p-10 {
5064
+ padding: 2.5rem;
5065
+ }
5066
+
5082
5067
  .p-2 {
5083
5068
  padding: 0.5rem;
5084
5069
  }
@@ -5111,10 +5096,6 @@ select {
5111
5096
  padding: 0px 8px 0px 0px;;
5112
5097
  }
5113
5098
 
5114
- .p-10 {
5115
- padding: 2.5rem;
5116
- }
5117
-
5118
5099
  .px-0 {
5119
5100
  padding-left: 0px;
5120
5101
  padding-right: 0px;
@@ -5215,6 +5196,11 @@ select {
5215
5196
  padding-bottom: 0.625rem;
5216
5197
  }
5217
5198
 
5199
+ .py-20 {
5200
+ padding-top: 5rem;
5201
+ padding-bottom: 5rem;
5202
+ }
5203
+
5218
5204
  .py-3 {
5219
5205
  padding-top: 0.75rem;
5220
5206
  padding-bottom: 0.75rem;
@@ -5374,18 +5360,10 @@ select {
5374
5360
  padding-top: 1rem;
5375
5361
  }
5376
5362
 
5377
- .pt-5 {
5378
- padding-top: 1.25rem;
5379
- }
5380
-
5381
5363
  .pt-6 {
5382
5364
  padding-top: 1.5rem;
5383
5365
  }
5384
5366
 
5385
- .pr-1 {
5386
- padding-right: 0.25rem;
5387
- }
5388
-
5389
5367
  .text-left {
5390
5368
  text-align: left;
5391
5369
  }
@@ -6282,10 +6260,6 @@ select {
6282
6260
  --tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity));
6283
6261
  }
6284
6262
 
6285
- .ring-opacity-5 {
6286
- --tw-ring-opacity: 0.05;
6287
- }
6288
-
6289
6263
  .blur {
6290
6264
  --tw-blur: blur(8px);
6291
6265
  -webkit-filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
@@ -7168,7 +7142,7 @@ select {
7168
7142
  }
7169
7143
 
7170
7144
  .bg-transparent{
7171
- background-color: transparent;
7145
+ background-color: transparent !important;
7172
7146
  }
7173
7147
 
7174
7148
  .language-javascript {
@@ -7975,6 +7949,10 @@ select {
7975
7949
  display: inline-flex;
7976
7950
  }
7977
7951
 
7952
+ .tb\:grid {
7953
+ display: grid;
7954
+ }
7955
+
7978
7956
  .tb\:hidden {
7979
7957
  display: none;
7980
7958
  }
@@ -8009,6 +7987,10 @@ select {
8009
7987
  min-width: 18rem;
8010
7988
  }
8011
7989
 
7990
+ .tb\:min-w-\[28\.063rem\] {
7991
+ min-width: 28.063rem;
7992
+ }
7993
+
8012
7994
  .tb\:min-w-\[310px\] {
8013
7995
  min-width: 310px;
8014
7996
  }
@@ -8041,6 +8023,10 @@ select {
8041
8023
  grid-template-columns: repeat(4, minmax(0, 1fr));
8042
8024
  }
8043
8025
 
8026
+ .tb\:flex-row {
8027
+ flex-direction: row;
8028
+ }
8029
+
8044
8030
  .tb\:flex-col {
8045
8031
  flex-direction: column;
8046
8032
  }
@@ -8069,6 +8055,11 @@ select {
8069
8055
  gap: 31.5rem;
8070
8056
  }
8071
8057
 
8058
+ .tb\:gap-x-16 {
8059
+ -webkit-column-gap: 4rem;
8060
+ column-gap: 4rem;
8061
+ }
8062
+
8072
8063
  .tb\:rounded-2xl {
8073
8064
  border-radius: 1rem;
8074
8065
  }
@@ -8385,14 +8376,6 @@ select {
8385
8376
  margin-right: -0px;
8386
8377
  }
8387
8378
 
8388
- .sm\:ml-16 {
8389
- margin-left: 4rem;
8390
- }
8391
-
8392
- .sm\:mt-0 {
8393
- margin-top: 0px;
8394
- }
8395
-
8396
8379
  .sm\:block {
8397
8380
  display: block;
8398
8381
  }
@@ -8413,26 +8396,14 @@ select {
8413
8396
  aspect-ratio: 16/9;
8414
8397
  }
8415
8398
 
8416
- .sm\:h-12 {
8417
- height: 3rem;
8418
- }
8419
-
8420
8399
  .sm\:h-32 {
8421
8400
  height: 8rem;
8422
8401
  }
8423
8402
 
8424
- .sm\:w-12 {
8425
- width: 3rem;
8426
- }
8427
-
8428
8403
  .sm\:flex-auto {
8429
8404
  flex: 1 1 auto;
8430
8405
  }
8431
8406
 
8432
- .sm\:flex-none {
8433
- flex: none;
8434
- }
8435
-
8436
8407
  .sm\:flex-row {
8437
8408
  flex-direction: row;
8438
8409
  }
@@ -8454,10 +8425,6 @@ select {
8454
8425
  column-gap: 2rem;
8455
8426
  }
8456
8427
 
8457
- .sm\:p-8 {
8458
- padding: 2rem;
8459
- }
8460
-
8461
8428
  .sm\:px-3 {
8462
8429
  padding-left: 0.75rem;
8463
8430
  padding-right: 0.75rem;
@@ -8573,10 +8540,26 @@ select {
8573
8540
  width: 70%;
8574
8541
  }
8575
8542
 
8543
+ .tb-l\:w-full {
8544
+ width: 100%;
8545
+ }
8546
+
8547
+ .tb-l\:w-\[38\%\] {
8548
+ width: 38%;
8549
+ }
8550
+
8551
+ .tb-l\:w-\[62\%\] {
8552
+ width: 62%;
8553
+ }
8554
+
8576
8555
  .tb-l\:min-w-\[400px\] {
8577
8556
  min-width: 400px;
8578
8557
  }
8579
8558
 
8559
+ .tb-l\:flex-row {
8560
+ flex-direction: row;
8561
+ }
8562
+
8580
8563
  .tb-l\:flex-col {
8581
8564
  flex-direction: column;
8582
8565
  }
@@ -8617,6 +8600,10 @@ select {
8617
8600
  .tb-l\:text-left {
8618
8601
  text-align: left;
8619
8602
  }
8603
+
8604
+ .tb-l\:text-center {
8605
+ text-align: center;
8606
+ }
8620
8607
  }
8621
8608
 
8622
8609
  @media (min-width: 1024px) {
@@ -8632,10 +8619,6 @@ select {
8632
8619
  height: auto;
8633
8620
  }
8634
8621
 
8635
- .lg\:max-w-3xl {
8636
- max-width: 48rem;
8637
- }
8638
-
8639
8622
  .lg\:grid-cols-2 {
8640
8623
  grid-template-columns: repeat(2, minmax(0, 1fr));
8641
8624
  }
@@ -8738,6 +8721,11 @@ select {
8738
8721
  gap: 9rem;
8739
8722
  }
8740
8723
 
8724
+ .db\:gap-x-10 {
8725
+ -webkit-column-gap: 2.5rem;
8726
+ column-gap: 2.5rem;
8727
+ }
8728
+
8741
8729
  .db\:gap-x-8 {
8742
8730
  -webkit-column-gap: 2rem;
8743
8731
  column-gap: 2rem;
@@ -9045,6 +9033,13 @@ select {
9045
9033
  }
9046
9034
  }
9047
9035
 
9036
+ @media (min-width: 1880px) {
9037
+ .min-\[1880px\]\:gap-x-72 {
9038
+ -webkit-column-gap: 18rem;
9039
+ column-gap: 18rem;
9040
+ }
9041
+ }
9042
+
9048
9043
  .\[\&\>\*\]\:mb-8>* {
9049
9044
  margin-bottom: 2rem;
9050
9045
  }
@@ -9057,6 +9052,10 @@ select {
9057
9052
  padding-bottom: 0.5rem;
9058
9053
  }
9059
9054
 
9055
+ .\[\&\>p\]\:last\:pb-0:last-child>p {
9056
+ padding-bottom: 0px;
9057
+ }
9058
+
9060
9059
  .\[\&\>span\]\:pb-2>span {
9061
9060
  padding-bottom: 0.5rem;
9062
9061
  }
@@ -784,21 +784,18 @@ module.exports = {
784
784
  letterSpacing: '-0.01em',
785
785
  fontWeight: '400',
786
786
  fontStyle: 'italic',
787
- fontFamily: 'Petrona'
788
787
  }],
789
788
  'hds-t-quote': ['1.125rem', {
790
789
  lineHeight: '1.75rem',
791
790
  letterSpacing: '-0.01em',
792
791
  fontWeight: '400',
793
792
  fontStyle: 'italic',
794
- fontFamily: 'Petrona'
795
793
  }],
796
794
  'hds-d-quote': ['1.5rem', {
797
795
  lineHeight: '2.25rem',
798
796
  letterSpacing: '-0.01em',
799
797
  fontWeight: '400',
800
798
  fontStyle: 'italic',
801
- fontFamily: 'Petrona'
802
799
  }],
803
800
  // add more for more breakpoints
804
801