@ama-pt/agora-design-system 3.3.4 → 3.3.6

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.
Files changed (31) hide show
  1. package/artifacts/dist/index.mjs +4504 -4469
  2. package/artifacts/dist/index.mjs.map +1 -1
  3. package/artifacts/dist/index.umd.js +2 -2
  4. package/artifacts/dist/index.umd.js.map +1 -1
  5. package/artifacts/dist/style.css +1 -1
  6. package/artifacts/dist/tailwind.css +109 -95
  7. package/artifacts/dist/types/components/cards/card-action/card-action-variants.d.ts +0 -6
  8. package/artifacts/dist/types/components/cards/card-action/card-action.d.ts +2 -2
  9. package/artifacts/dist/types/components/cards/card-expandable/card-expandable-style.d.ts +0 -13
  10. package/artifacts/dist/types/components/cards/card-general/card-general.d.ts +64 -0
  11. package/artifacts/dist/types/components/cards/card-general/index.d.ts +2 -0
  12. package/artifacts/dist/types/components/cards/card-section/card-section-helper/card-section-helper.d.ts +32 -0
  13. package/artifacts/dist/types/components/cards/card-section/card-section-helper/index.d.ts +2 -0
  14. package/artifacts/dist/types/components/cards/card-section/card-section-index/card-section-index.d.ts +24 -0
  15. package/artifacts/dist/types/components/cards/card-section/card-section-index/index.d.ts +2 -0
  16. package/artifacts/dist/types/components/cards/card-section/card-section-sitemap/card-section-sitemap.d.ts +32 -0
  17. package/artifacts/dist/types/components/cards/card-section/card-section-sitemap/index.d.ts +2 -0
  18. package/artifacts/dist/types/components/cards/card-section/card-section-types.d.ts +1 -0
  19. package/artifacts/dist/types/components/cards/card-section/index.d.ts +3 -0
  20. package/artifacts/dist/types/components/cards/index.d.ts +1 -0
  21. package/artifacts/dist/types/components/footer/federated-footer/federated-footer.d.ts +4 -0
  22. package/artifacts/dist/types/components/footer/models/CardFooterProps.d.ts +1 -0
  23. package/artifacts/dist/types/components/footer/public-footer/public-footer-highlight.d.ts +1 -0
  24. package/artifacts/dist/types/components/footer/public-footer/public-footer-main-plus-card-links.d.ts +1 -0
  25. package/artifacts/dist/types/components/footer/public-footer/public-footer.d.ts +4 -0
  26. package/artifacts/dist/types/components/footer/shared-components/footer-caption-partners.d.ts +1 -0
  27. package/artifacts/dist/types/components/footer/shared-components/footer-social-useful-copyright.d.ts +1 -0
  28. package/artifacts/dist/types/components/stepper/step.d.ts +4 -0
  29. package/artifacts/dist/types/components/stepper/stepper.d.ts +4 -0
  30. package/package.json +1 -1
  31. package/artifacts/dist/types/components/sidebar/utils/handlerSetGapPill.d.ts +0 -8
@@ -953,6 +953,11 @@ input[type]::placeholder{
953
953
  margin-right: 32px;
954
954
  }
955
955
 
956
+ .mx-\[-64px\]{
957
+ margin-left: -64px;
958
+ margin-right: -64px;
959
+ }
960
+
956
961
  .mx-\[4px\]{
957
962
  margin-left: 4px;
958
963
  margin-right: 4px;
@@ -983,8 +988,8 @@ input[type]::placeholder{
983
988
  margin-bottom: 8px;
984
989
  }
985
990
 
986
- .-ml-16{
987
- margin-left: -16px;
991
+ .-mb-8{
992
+ margin-bottom: -8px;
988
993
  }
989
994
 
990
995
  .-ml-32{
@@ -1043,6 +1048,10 @@ input[type]::placeholder{
1043
1048
  margin-right: 24px;
1044
1049
  }
1045
1050
 
1051
+ .mr-32{
1052
+ margin-right: 32px;
1053
+ }
1054
+
1046
1055
  .mr-8{
1047
1056
  margin-right: 8px;
1048
1057
  }
@@ -1142,6 +1151,10 @@ input[type]::placeholder{
1142
1151
  display: grid;
1143
1152
  }
1144
1153
 
1154
+ .\!hidden{
1155
+ display: none !important;
1156
+ }
1157
+
1145
1158
  .hidden{
1146
1159
  display: none;
1147
1160
  }
@@ -1174,10 +1187,6 @@ input[type]::placeholder{
1174
1187
  height: 32px;
1175
1188
  }
1176
1189
 
1177
- .h-56{
1178
- height: 56px;
1179
- }
1180
-
1181
1190
  .h-64{
1182
1191
  height: 64px;
1183
1192
  }
@@ -1186,6 +1195,10 @@ input[type]::placeholder{
1186
1195
  height: 100vh;
1187
1196
  }
1188
1197
 
1198
+ .h-\[126px\]{
1199
+ height: 126px;
1200
+ }
1201
+
1189
1202
  .h-\[400px\]{
1190
1203
  height: 400px;
1191
1204
  }
@@ -1300,10 +1313,6 @@ input[type]::placeholder{
1300
1313
  width: 32px;
1301
1314
  }
1302
1315
 
1303
- .w-56{
1304
- width: 56px;
1305
- }
1306
-
1307
1316
  .w-64{
1308
1317
  width: 64px;
1309
1318
  }
@@ -1739,11 +1748,6 @@ input[type]::placeholder{
1739
1748
  transform-origin: center;
1740
1749
  }
1741
1750
 
1742
- .translate-y-0{
1743
- --tw-translate-y: 0px;
1744
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1745
- }
1746
-
1747
1751
  .translate-y-1\/2{
1748
1752
  --tw-translate-y: 50%;
1749
1753
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
@@ -1761,6 +1765,10 @@ input[type]::placeholder{
1761
1765
  cursor: default;
1762
1766
  }
1763
1767
 
1768
+ .cursor-pointer{
1769
+ cursor: pointer;
1770
+ }
1771
+
1764
1772
  .select-none{
1765
1773
  -webkit-user-select: none;
1766
1774
  -moz-user-select: none;
@@ -2313,10 +2321,6 @@ input[type]::placeholder{
2313
2321
  border-color: var(--color-neutral-600);
2314
2322
  }
2315
2323
 
2316
- .border-\[var\(--color-neutral-700\)\]{
2317
- border-color: var(--color-neutral-700);
2318
- }
2319
-
2320
2324
  .border-\[var\(--color-primary-400\)\]{
2321
2325
  border-color: var(--color-primary-400);
2322
2326
  }
@@ -2334,6 +2338,10 @@ input[type]::placeholder{
2334
2338
  border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));
2335
2339
  }
2336
2340
 
2341
+ .border-black\/5{
2342
+ border-color: rgb(0 0 0 / 0.05);
2343
+ }
2344
+
2337
2345
  .border-danger-100{
2338
2346
  --tw-border-opacity: 1;
2339
2347
  border-color: rgb(254 225 227 / var(--tw-border-opacity, 1));
@@ -2714,6 +2722,10 @@ input[type]::placeholder{
2714
2722
  border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
2715
2723
  }
2716
2724
 
2725
+ .border-white\/5{
2726
+ border-color: rgb(255 255 255 / 0.05);
2727
+ }
2728
+
2717
2729
  .border-x-backdrop{
2718
2730
  border-left-color: rgba(43, 54, 60, 0.96);
2719
2731
  border-right-color: rgba(43, 54, 60, 0.96);
@@ -6145,10 +6157,6 @@ input[type]::placeholder{
6145
6157
  background-color: var(--color-primary-100);
6146
6158
  }
6147
6159
 
6148
- .bg-\[var\(--color-primary-300\)\]{
6149
- background-color: var(--color-primary-300);
6150
- }
6151
-
6152
6160
  .bg-\[var\(--color-primary-500\)\]{
6153
6161
  background-color: var(--color-primary-500);
6154
6162
  }
@@ -6165,14 +6173,6 @@ input[type]::placeholder{
6165
6173
  background-color: var(--color-primary-900);
6166
6174
  }
6167
6175
 
6168
- .bg-\[var\(--color-secondary-100\)\]{
6169
- background-color: var(--color-secondary-100);
6170
- }
6171
-
6172
- .bg-\[var\(--color-secondary-300\)\]{
6173
- background-color: var(--color-secondary-300);
6174
- }
6175
-
6176
6176
  .bg-\[var\(--color-secondary-700\)\]{
6177
6177
  background-color: var(--color-secondary-700);
6178
6178
  }
@@ -7642,6 +7642,10 @@ input[type]::placeholder{
7642
7642
  padding-bottom: 128px;
7643
7643
  }
7644
7644
 
7645
+ .pb-16{
7646
+ padding-bottom: 16px;
7647
+ }
7648
+
7645
7649
  .pb-32{
7646
7650
  padding-bottom: 32px;
7647
7651
  }
@@ -7650,6 +7654,10 @@ input[type]::placeholder{
7650
7654
  padding-bottom: 64px;
7651
7655
  }
7652
7656
 
7657
+ .pl-32{
7658
+ padding-left: 32px;
7659
+ }
7660
+
7653
7661
  .pl-8{
7654
7662
  padding-left: 8px;
7655
7663
  }
@@ -7658,10 +7666,18 @@ input[type]::placeholder{
7658
7666
  padding-left: 44px;
7659
7667
  }
7660
7668
 
7669
+ .pr-16{
7670
+ padding-right: 16px;
7671
+ }
7672
+
7661
7673
  .pr-\[44px\]{
7662
7674
  padding-right: 44px;
7663
7675
  }
7664
7676
 
7677
+ .pt-16{
7678
+ padding-top: 16px;
7679
+ }
7680
+
7665
7681
  .pt-32{
7666
7682
  padding-top: 32px;
7667
7683
  }
@@ -8458,18 +8474,10 @@ input[type]::placeholder{
8458
8474
  text-decoration-thickness: 2px;
8459
8475
  }
8460
8476
 
8461
- .opacity-0{
8462
- opacity: 0;
8463
- }
8464
-
8465
8477
  .opacity-10{
8466
8478
  opacity: 0.1;
8467
8479
  }
8468
8480
 
8469
- .opacity-100{
8470
- opacity: 1;
8471
- }
8472
-
8473
8481
  .opacity-20{
8474
8482
  opacity: 0.2;
8475
8483
  }
@@ -8614,10 +8622,6 @@ input[type]::placeholder{
8614
8622
  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);
8615
8623
  }
8616
8624
 
8617
- .ease-in-out{
8618
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
8619
- }
8620
-
8621
8625
  .\!\[clip\:rect\(0\2c 0\2c 0\2c 0\)\]{
8622
8626
  clip: rect(0,0,0,0) !important;
8623
8627
  }
@@ -14544,6 +14548,14 @@ input[type]::placeholder{
14544
14548
  font-weight: 600;
14545
14549
  }
14546
14550
 
14551
+ .hover\:text-\[var\(--color-neutral-600\)\]:hover{
14552
+ color: var(--color-neutral-600);
14553
+ }
14554
+
14555
+ .hover\:text-\[var\(--color-neutral-700\)\]:hover{
14556
+ color: var(--color-neutral-700);
14557
+ }
14558
+
14547
14559
  .hover\:text-\[var\(--color-primary-600\)\]:hover{
14548
14560
  color: var(--color-primary-600);
14549
14561
  }
@@ -21610,22 +21622,6 @@ input[type]::placeholder{
21610
21622
  display: none;
21611
21623
  }
21612
21624
 
21613
- .group:hover .group-hover\:opacity-0{
21614
- opacity: 0;
21615
- }
21616
-
21617
- .group:hover .group-hover\:opacity-100{
21618
- opacity: 1;
21619
- }
21620
-
21621
- .group:focus .group-focus\:opacity-0{
21622
- opacity: 0;
21623
- }
21624
-
21625
- .group:focus .group-focus\:opacity-100{
21626
- opacity: 1;
21627
- }
21628
-
21629
21625
  @media not all and (min-width: 768px){
21630
21626
  .max-md\:w-full{
21631
21627
  width: 100%;
@@ -21657,6 +21653,11 @@ input[type]::placeholder{
21657
21653
  grid-column-start: 1;
21658
21654
  }
21659
21655
 
21656
+ .xs\:mx-64{
21657
+ margin-left: 64px;
21658
+ margin-right: 64px;
21659
+ }
21660
+
21660
21661
  .xs\:my-16{
21661
21662
  margin-top: 16px;
21662
21663
  margin-bottom: 16px;
@@ -22123,11 +22124,6 @@ input[type]::placeholder{
22123
22124
  column-gap: 32px;
22124
22125
  }
22125
22126
 
22126
- .xs\:gap-x-8{
22127
- -moz-column-gap: 8px;
22128
- column-gap: 8px;
22129
- }
22130
-
22131
22127
  .xs\:gap-y-16{
22132
22128
  row-gap: 16px;
22133
22129
  }
@@ -27493,11 +27489,6 @@ input[type]::placeholder{
27493
27489
  padding-bottom: 0px;
27494
27490
  }
27495
27491
 
27496
- .xs\:py-16{
27497
- padding-top: 16px;
27498
- padding-bottom: 16px;
27499
- }
27500
-
27501
27492
  .xs\:py-32{
27502
27493
  padding-top: 32px;
27503
27494
  padding-bottom: 32px;
@@ -28315,6 +28306,16 @@ input[type]::placeholder{
28315
28306
  .xs\:bg-blend-luminosity{
28316
28307
  background-blend-mode: luminosity;
28317
28308
  }
28309
+
28310
+ @media not all and (min-width: 768px){
28311
+ .xs\:max-md\:mb-32{
28312
+ margin-bottom: 32px;
28313
+ }
28314
+
28315
+ .xs\:max-md\:flex-col{
28316
+ flex-direction: column;
28317
+ }
28318
+ }
28318
28319
  }
28319
28320
 
28320
28321
  @media (min-width: 768px){
@@ -28382,10 +28383,6 @@ input[type]::placeholder{
28382
28383
  grid-column-start: 1;
28383
28384
  }
28384
28385
 
28385
- .md\:col-start-2{
28386
- grid-column-start: 2;
28387
- }
28388
-
28389
28386
  .md\:col-start-4{
28390
28387
  grid-column-start: 4;
28391
28388
  }
@@ -28415,11 +28412,6 @@ input[type]::placeholder{
28415
28412
  margin-right: 64px;
28416
28413
  }
28417
28414
 
28418
- .md\:my-0{
28419
- margin-top: 0px;
28420
- margin-bottom: 0px;
28421
- }
28422
-
28423
28415
  .md\:my-128{
28424
28416
  margin-top: 128px;
28425
28417
  margin-bottom: 128px;
@@ -28526,12 +28518,12 @@ input[type]::placeholder{
28526
28518
  width: 137px;
28527
28519
  }
28528
28520
 
28529
- .md\:w-\[calc\(\(\(var\(--footer-aux-vw\)-100\%\)\/2\)\+100\%\)\]{
28530
- width: calc(((var(--footer-aux-vw) - 100%) / 2) + 100%);
28521
+ .md\:w-\[50\%\]{
28522
+ width: 50%;
28531
28523
  }
28532
28524
 
28533
- .md\:w-\[calc\(100\%\+32px\)\]{
28534
- width: calc(100% + 32px);
28525
+ .md\:w-\[calc\(\(\(var\(--footer-aux-vw\)-100\%\)\/2\)\+100\%\)\]{
28526
+ width: calc(((var(--footer-aux-vw) - 100%) / 2) + 100%);
28535
28527
  }
28536
28528
 
28537
28529
  .md\:w-full{
@@ -28938,11 +28930,6 @@ input[type]::placeholder{
28938
28930
  gap: 30px;
28939
28931
  }
28940
28932
 
28941
- .md\:gap-x-24{
28942
- -moz-column-gap: 24px;
28943
- column-gap: 24px;
28944
- }
28945
-
28946
28933
  .md\:gap-x-32{
28947
28934
  -moz-column-gap: 32px;
28948
28935
  column-gap: 32px;
@@ -34324,11 +34311,6 @@ input[type]::placeholder{
34324
34311
  padding-right: 64px;
34325
34312
  }
34326
34313
 
34327
- .md\:py-32{
34328
- padding-top: 32px;
34329
- padding-bottom: 32px;
34330
- }
34331
-
34332
34314
  .md\:py-64{
34333
34315
  padding-top: 64px;
34334
34316
  padding-bottom: 64px;
@@ -35286,6 +35268,11 @@ input[type]::placeholder{
35286
35268
  grid-row: span 2 / span 2;
35287
35269
  }
35288
35270
 
35271
+ .xl\:my-32{
35272
+ margin-top: 32px;
35273
+ margin-bottom: 32px;
35274
+ }
35275
+
35289
35276
  .xl\:my-8{
35290
35277
  margin-top: 8px;
35291
35278
  margin-bottom: 8px;
@@ -35319,6 +35306,10 @@ input[type]::placeholder{
35319
35306
  margin-top: 0px;
35320
35307
  }
35321
35308
 
35309
+ .xl\:mt-32{
35310
+ margin-top: 32px;
35311
+ }
35312
+
35322
35313
  .xl\:mt-64{
35323
35314
  margin-top: 64px;
35324
35315
  }
@@ -35346,6 +35337,10 @@ input[type]::placeholder{
35346
35337
  height: 32px;
35347
35338
  }
35348
35339
 
35340
+ .xl\:h-\[260px\]{
35341
+ height: 260px;
35342
+ }
35343
+
35349
35344
  .xl\:h-\[calc\(100\%-2px\)\]{
35350
35345
  height: calc(100% - 2px);
35351
35346
  }
@@ -35354,6 +35349,10 @@ input[type]::placeholder{
35354
35349
  height: auto;
35355
35350
  }
35356
35351
 
35352
+ .xl\:h-full{
35353
+ height: 100%;
35354
+ }
35355
+
35357
35356
  .xl\:h-screen{
35358
35357
  height: 100vh;
35359
35358
  }
@@ -35366,6 +35365,14 @@ input[type]::placeholder{
35366
35365
  width: 175px;
35367
35366
  }
35368
35367
 
35368
+ .xl\:w-\[40\%\]{
35369
+ width: 40%;
35370
+ }
35371
+
35372
+ .xl\:w-\[60\%\]{
35373
+ width: 60%;
35374
+ }
35375
+
35369
35376
  .xl\:w-\[696px\]{
35370
35377
  width: 696px;
35371
35378
  }
@@ -35759,6 +35766,10 @@ input[type]::placeholder{
35759
35766
  flex-wrap: nowrap;
35760
35767
  }
35761
35768
 
35769
+ .xl\:items-end{
35770
+ align-items: flex-end;
35771
+ }
35772
+
35762
35773
  .xl\:items-center{
35763
35774
  align-items: center;
35764
35775
  }
@@ -35771,13 +35782,16 @@ input[type]::placeholder{
35771
35782
  justify-content: flex-end;
35772
35783
  }
35773
35784
 
35785
+ .xl\:justify-center{
35786
+ justify-content: center;
35787
+ }
35788
+
35774
35789
  .xl\:justify-items-start{
35775
35790
  justify-items: start;
35776
35791
  }
35777
35792
 
35778
- .xl\:gap-x-24{
35779
- -moz-column-gap: 24px;
35780
- column-gap: 24px;
35793
+ .xl\:gap-32{
35794
+ gap: 32px;
35781
35795
  }
35782
35796
 
35783
35797
  .xl\:overflow-hidden{
@@ -1,14 +1,8 @@
1
1
  import { CardActionVariants } from './card-action';
2
2
  import { ButtonVariant } from '../../button/button';
3
3
  type CardActionVariantsBody = {
4
- backgroundColor: string;
5
- textColor?: string;
6
- titleColor?: string;
7
- hasBorder?: boolean;
8
- isBorderWhite?: boolean;
9
4
  buttonVariant?: ButtonVariant;
10
5
  buttonDarkMode?: boolean;
11
- iconColor?: string;
12
6
  };
13
7
  export type CardActionVariantsMap = Record<CardActionVariants, CardActionVariantsBody>;
14
8
  export declare const cardActionVariantsMap: CardActionVariantsMap;
@@ -1,11 +1,11 @@
1
- import { FC, ImgHTMLAttributes } from 'react';
1
+ import { ComponentProps, FC, ImgHTMLAttributes } from 'react';
2
2
  import { ButtonProps } from '../../../components/button';
3
3
  import { IconProps } from '../../../components/icon';
4
4
  import './card-action.css';
5
5
  import { BooleanProp } from '../../../models';
6
6
  export type CardActionVariants = 'white' | 'neutral-100' | 'primary-100' | 'secondary-100' | 'primary-300' | 'secondary-300' | 'primary-500' | 'primary-700' | 'primary-900' | 'white-line' | 'primary-900-line';
7
7
  export type CardActionAlignment = 'left' | 'center' | 'right';
8
- export interface CardActionProps {
8
+ export interface CardActionProps extends ComponentProps<'div'> {
9
9
  /**
10
10
  * title of card
11
11
  */
@@ -1,18 +1,5 @@
1
1
  import { CardExpandableVariant } from './card-expandable';
2
2
  import { ButtonVariant } from '../../../index';
3
- type CardExpandableStylesBody = {
4
- backgroundColor: string;
5
- textColor: string;
6
- iconColor: string;
7
- };
8
- export type CardExpandableStylesMap = Record<CardExpandableVariant, CardExpandableStylesBody>;
9
- export declare const cardExpandableStylesMap: CardExpandableStylesMap;
10
- type BookMarkIconStyles = {
11
- fill: string;
12
- fillTop: string;
13
- };
14
- export type BookMarkIconStylesMap = Record<CardExpandableVariant, BookMarkIconStyles>;
15
- export declare const bookMarkIconStylesMap: BookMarkIconStylesMap;
16
3
  type CardExpandableButtonVariantsBody = {
17
4
  buttonVariant?: ButtonVariant;
18
5
  buttonDarkMode?: boolean;
@@ -0,0 +1,64 @@
1
+ import React, { FC, ImgHTMLAttributes } from 'react';
2
+ import './card-general.css';
3
+ import { AnchorProps } from '../../../components/anchor/anchor';
4
+ import { IconSetState } from '../../../components/shared/icon-set/icon-set';
5
+ export interface CardGeneralProps {
6
+ /**
7
+ * image card to draw in the card if specified.
8
+ */
9
+ image?: ImgHTMLAttributes<HTMLImageElement>;
10
+ /**
11
+ * to config the icon in the card if specified.
12
+ */
13
+ iconDefault?: string;
14
+ /**
15
+ * to config the icon in the card when hovered if specified.
16
+ */
17
+ iconHover?: string;
18
+ /**
19
+ * to config the icon in the card when activated if specified.
20
+ */
21
+ iconActive?: string;
22
+ /**
23
+ * text to show within a pill
24
+ */
25
+ pillText?: string;
26
+ /**
27
+ * text to show the subtitle
28
+ */
29
+ subtitleText?: string;
30
+ /**
31
+ * title of card
32
+ */
33
+ titleText: string;
34
+ /**
35
+ * status of the card (adds a colored dot)
36
+ */
37
+ status?: 'default' | 'success' | 'warning' | 'danger' | 'disabled';
38
+ /**
39
+ * label to show next to the status dot
40
+ */
41
+ statusText?: string;
42
+ /**
43
+ * text to show within the card
44
+ */
45
+ descriptionText: string;
46
+ /**
47
+ * anchor props
48
+ */
49
+ anchor?: AnchorProps;
50
+ /**
51
+ * if true, the card will be displayed horizontally
52
+ */
53
+ isCardHorizontal?: boolean;
54
+ /**
55
+ * Makes the whole card clickable. When card is clicked the anchor will activate.
56
+ */
57
+ isBlockedLink?: boolean;
58
+ /**
59
+ * turns on indent style for the image
60
+ */
61
+ imageIndent?: boolean;
62
+ }
63
+ export type setComponentStateType = React.Dispatch<React.SetStateAction<IconSetState>>;
64
+ export declare const CardGeneral: FC<CardGeneralProps>;
@@ -0,0 +1,2 @@
1
+ export { CardGeneral } from './card-general';
2
+ export type { CardGeneralProps } from './card-general';
@@ -0,0 +1,32 @@
1
+ import { ComponentPropsWithoutRef, FC, ReactNode } from 'react';
2
+ import { HeadingLevel } from '../../../../models';
3
+ import { AnchorProps } from '../../../../components/anchor';
4
+ import './card-section-helper.css';
5
+ import { CardSectionVariants } from '../card-section-types';
6
+ export interface HelpTopic {
7
+ description: ReactNode;
8
+ anchor: AnchorProps;
9
+ }
10
+ export interface CardSectionHelperProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
11
+ /**
12
+ * header title.
13
+ */
14
+ headingLevel?: HeadingLevel;
15
+ /**
16
+ * The title of the card
17
+ */
18
+ title?: ReactNode;
19
+ /**
20
+ * The subtitle of the card
21
+ */
22
+ subtitle?: ReactNode;
23
+ /**
24
+ * The list of help topics of the card
25
+ */
26
+ helpTopics?: HelpTopic[];
27
+ /**
28
+ * Variant of card section
29
+ */
30
+ variant?: CardSectionVariants;
31
+ }
32
+ export declare const CardSectionHelper: FC<CardSectionHelperProps>;
@@ -0,0 +1,2 @@
1
+ export { CardSectionHelper } from './card-section-helper';
2
+ export type { CardSectionHelperProps } from './card-section-helper';
@@ -0,0 +1,24 @@
1
+ import { ComponentPropsWithoutRef, FC, ReactNode } from 'react';
2
+ import { AnchorProps } from '../../../../components/anchor';
3
+ import { HeadingLevel } from '../../../../models';
4
+ import './card-section-index.css';
5
+ import { CardSectionVariants } from '../card-section-types';
6
+ export interface CardSectionIndexProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
7
+ /**
8
+ * The title of the card.
9
+ */
10
+ title?: ReactNode;
11
+ /**
12
+ * Heading level to apply in the card.
13
+ */
14
+ headingLevel?: HeadingLevel;
15
+ /**
16
+ * The list of anchor props that makes up the index.
17
+ */
18
+ index: AnchorProps[];
19
+ /**
20
+ * Variant of card section
21
+ */
22
+ variant?: CardSectionVariants;
23
+ }
24
+ export declare const CardSectionIndex: FC<CardSectionIndexProps>;
@@ -0,0 +1,2 @@
1
+ export { CardSectionIndex } from './card-section-index';
2
+ export type { CardSectionIndexProps } from './card-section-index';
@@ -0,0 +1,32 @@
1
+ import { ComponentPropsWithoutRef, FC, ReactNode } from 'react';
2
+ import { AnchorProps } from '../../../../components/anchor';
3
+ import { HeadingLevel } from '../../../../models';
4
+ import './card-section-sitemap.css';
5
+ import { CardSectionVariants } from '../card-section-types';
6
+ export interface CardSectionSitemapProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
7
+ /**
8
+ * Header title.
9
+ */
10
+ headingLevel?: HeadingLevel;
11
+ /**
12
+ * The title of the card
13
+ */
14
+ title?: ReactNode;
15
+ /**
16
+ * The description of the card
17
+ */
18
+ description?: ReactNode;
19
+ /**
20
+ * The list of anchor props that makes up the index.
21
+ */
22
+ anchors: AnchorProps[];
23
+ /**
24
+ * The anchor props that makes up the highlighted link.
25
+ */
26
+ highlightedLink?: AnchorProps;
27
+ /**
28
+ * Variant of card section
29
+ */
30
+ variant?: CardSectionVariants;
31
+ }
32
+ export declare const CardSectionSitemap: FC<CardSectionSitemapProps>;
@@ -0,0 +1,2 @@
1
+ export { CardSectionSitemap } from './card-section-sitemap';
2
+ export type { CardSectionSitemapProps } from './card-section-sitemap';
@@ -0,0 +1 @@
1
+ export type CardSectionVariants = 'white' | 'neutral-100' | 'primary-100' | 'secondary-100' | 'primary-900';
@@ -0,0 +1,3 @@
1
+ export * from './card-section-helper';
2
+ export * from './card-section-index';
3
+ export * from './card-section-sitemap';
@@ -17,3 +17,4 @@ export * from './card-single';
17
17
  export * from './card-topic';
18
18
  export * from './card-action';
19
19
  export * from './card-illustrative';
20
+ export * from './card-general';