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

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 (30) hide show
  1. package/artifacts/dist/index.mjs +4083 -4043
  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 +107 -97
  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
@@ -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,10 +988,6 @@ input[type]::placeholder{
983
988
  margin-bottom: 8px;
984
989
  }
985
990
 
986
- .-ml-16{
987
- margin-left: -16px;
988
- }
989
-
990
991
  .-ml-32{
991
992
  margin-left: -32px;
992
993
  }
@@ -1043,6 +1044,10 @@ input[type]::placeholder{
1043
1044
  margin-right: 24px;
1044
1045
  }
1045
1046
 
1047
+ .mr-32{
1048
+ margin-right: 32px;
1049
+ }
1050
+
1046
1051
  .mr-8{
1047
1052
  margin-right: 8px;
1048
1053
  }
@@ -1142,6 +1147,10 @@ input[type]::placeholder{
1142
1147
  display: grid;
1143
1148
  }
1144
1149
 
1150
+ .\!hidden{
1151
+ display: none !important;
1152
+ }
1153
+
1145
1154
  .hidden{
1146
1155
  display: none;
1147
1156
  }
@@ -1174,10 +1183,6 @@ input[type]::placeholder{
1174
1183
  height: 32px;
1175
1184
  }
1176
1185
 
1177
- .h-56{
1178
- height: 56px;
1179
- }
1180
-
1181
1186
  .h-64{
1182
1187
  height: 64px;
1183
1188
  }
@@ -1186,6 +1191,10 @@ input[type]::placeholder{
1186
1191
  height: 100vh;
1187
1192
  }
1188
1193
 
1194
+ .h-\[126px\]{
1195
+ height: 126px;
1196
+ }
1197
+
1189
1198
  .h-\[400px\]{
1190
1199
  height: 400px;
1191
1200
  }
@@ -1300,10 +1309,6 @@ input[type]::placeholder{
1300
1309
  width: 32px;
1301
1310
  }
1302
1311
 
1303
- .w-56{
1304
- width: 56px;
1305
- }
1306
-
1307
1312
  .w-64{
1308
1313
  width: 64px;
1309
1314
  }
@@ -1739,11 +1744,6 @@ input[type]::placeholder{
1739
1744
  transform-origin: center;
1740
1745
  }
1741
1746
 
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
1747
  .translate-y-1\/2{
1748
1748
  --tw-translate-y: 50%;
1749
1749
  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 +1761,10 @@ input[type]::placeholder{
1761
1761
  cursor: default;
1762
1762
  }
1763
1763
 
1764
+ .cursor-pointer{
1765
+ cursor: pointer;
1766
+ }
1767
+
1764
1768
  .select-none{
1765
1769
  -webkit-user-select: none;
1766
1770
  -moz-user-select: none;
@@ -2313,10 +2317,6 @@ input[type]::placeholder{
2313
2317
  border-color: var(--color-neutral-600);
2314
2318
  }
2315
2319
 
2316
- .border-\[var\(--color-neutral-700\)\]{
2317
- border-color: var(--color-neutral-700);
2318
- }
2319
-
2320
2320
  .border-\[var\(--color-primary-400\)\]{
2321
2321
  border-color: var(--color-primary-400);
2322
2322
  }
@@ -2334,6 +2334,10 @@ input[type]::placeholder{
2334
2334
  border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));
2335
2335
  }
2336
2336
 
2337
+ .border-black\/5{
2338
+ border-color: rgb(0 0 0 / 0.05);
2339
+ }
2340
+
2337
2341
  .border-danger-100{
2338
2342
  --tw-border-opacity: 1;
2339
2343
  border-color: rgb(254 225 227 / var(--tw-border-opacity, 1));
@@ -2714,6 +2718,10 @@ input[type]::placeholder{
2714
2718
  border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
2715
2719
  }
2716
2720
 
2721
+ .border-white\/5{
2722
+ border-color: rgb(255 255 255 / 0.05);
2723
+ }
2724
+
2717
2725
  .border-x-backdrop{
2718
2726
  border-left-color: rgba(43, 54, 60, 0.96);
2719
2727
  border-right-color: rgba(43, 54, 60, 0.96);
@@ -6145,10 +6153,6 @@ input[type]::placeholder{
6145
6153
  background-color: var(--color-primary-100);
6146
6154
  }
6147
6155
 
6148
- .bg-\[var\(--color-primary-300\)\]{
6149
- background-color: var(--color-primary-300);
6150
- }
6151
-
6152
6156
  .bg-\[var\(--color-primary-500\)\]{
6153
6157
  background-color: var(--color-primary-500);
6154
6158
  }
@@ -6165,14 +6169,6 @@ input[type]::placeholder{
6165
6169
  background-color: var(--color-primary-900);
6166
6170
  }
6167
6171
 
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
6172
  .bg-\[var\(--color-secondary-700\)\]{
6177
6173
  background-color: var(--color-secondary-700);
6178
6174
  }
@@ -7642,6 +7638,10 @@ input[type]::placeholder{
7642
7638
  padding-bottom: 128px;
7643
7639
  }
7644
7640
 
7641
+ .pb-16{
7642
+ padding-bottom: 16px;
7643
+ }
7644
+
7645
7645
  .pb-32{
7646
7646
  padding-bottom: 32px;
7647
7647
  }
@@ -7650,6 +7650,10 @@ input[type]::placeholder{
7650
7650
  padding-bottom: 64px;
7651
7651
  }
7652
7652
 
7653
+ .pl-32{
7654
+ padding-left: 32px;
7655
+ }
7656
+
7653
7657
  .pl-8{
7654
7658
  padding-left: 8px;
7655
7659
  }
@@ -7658,10 +7662,18 @@ input[type]::placeholder{
7658
7662
  padding-left: 44px;
7659
7663
  }
7660
7664
 
7665
+ .pr-16{
7666
+ padding-right: 16px;
7667
+ }
7668
+
7661
7669
  .pr-\[44px\]{
7662
7670
  padding-right: 44px;
7663
7671
  }
7664
7672
 
7673
+ .pt-16{
7674
+ padding-top: 16px;
7675
+ }
7676
+
7665
7677
  .pt-32{
7666
7678
  padding-top: 32px;
7667
7679
  }
@@ -8458,18 +8470,10 @@ input[type]::placeholder{
8458
8470
  text-decoration-thickness: 2px;
8459
8471
  }
8460
8472
 
8461
- .opacity-0{
8462
- opacity: 0;
8463
- }
8464
-
8465
8473
  .opacity-10{
8466
8474
  opacity: 0.1;
8467
8475
  }
8468
8476
 
8469
- .opacity-100{
8470
- opacity: 1;
8471
- }
8472
-
8473
8477
  .opacity-20{
8474
8478
  opacity: 0.2;
8475
8479
  }
@@ -8614,10 +8618,6 @@ input[type]::placeholder{
8614
8618
  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
8619
  }
8616
8620
 
8617
- .ease-in-out{
8618
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
8619
- }
8620
-
8621
8621
  .\!\[clip\:rect\(0\2c 0\2c 0\2c 0\)\]{
8622
8622
  clip: rect(0,0,0,0) !important;
8623
8623
  }
@@ -14544,6 +14544,14 @@ input[type]::placeholder{
14544
14544
  font-weight: 600;
14545
14545
  }
14546
14546
 
14547
+ .hover\:text-\[var\(--color-neutral-600\)\]:hover{
14548
+ color: var(--color-neutral-600);
14549
+ }
14550
+
14551
+ .hover\:text-\[var\(--color-neutral-700\)\]:hover{
14552
+ color: var(--color-neutral-700);
14553
+ }
14554
+
14547
14555
  .hover\:text-\[var\(--color-primary-600\)\]:hover{
14548
14556
  color: var(--color-primary-600);
14549
14557
  }
@@ -21610,22 +21618,6 @@ input[type]::placeholder{
21610
21618
  display: none;
21611
21619
  }
21612
21620
 
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
21621
  @media not all and (min-width: 768px){
21630
21622
  .max-md\:w-full{
21631
21623
  width: 100%;
@@ -21657,6 +21649,11 @@ input[type]::placeholder{
21657
21649
  grid-column-start: 1;
21658
21650
  }
21659
21651
 
21652
+ .xs\:mx-64{
21653
+ margin-left: 64px;
21654
+ margin-right: 64px;
21655
+ }
21656
+
21660
21657
  .xs\:my-16{
21661
21658
  margin-top: 16px;
21662
21659
  margin-bottom: 16px;
@@ -22123,11 +22120,6 @@ input[type]::placeholder{
22123
22120
  column-gap: 32px;
22124
22121
  }
22125
22122
 
22126
- .xs\:gap-x-8{
22127
- -moz-column-gap: 8px;
22128
- column-gap: 8px;
22129
- }
22130
-
22131
22123
  .xs\:gap-y-16{
22132
22124
  row-gap: 16px;
22133
22125
  }
@@ -27493,11 +27485,6 @@ input[type]::placeholder{
27493
27485
  padding-bottom: 0px;
27494
27486
  }
27495
27487
 
27496
- .xs\:py-16{
27497
- padding-top: 16px;
27498
- padding-bottom: 16px;
27499
- }
27500
-
27501
27488
  .xs\:py-32{
27502
27489
  padding-top: 32px;
27503
27490
  padding-bottom: 32px;
@@ -28315,6 +28302,16 @@ input[type]::placeholder{
28315
28302
  .xs\:bg-blend-luminosity{
28316
28303
  background-blend-mode: luminosity;
28317
28304
  }
28305
+
28306
+ @media not all and (min-width: 768px){
28307
+ .xs\:max-md\:mb-32{
28308
+ margin-bottom: 32px;
28309
+ }
28310
+
28311
+ .xs\:max-md\:flex-col{
28312
+ flex-direction: column;
28313
+ }
28314
+ }
28318
28315
  }
28319
28316
 
28320
28317
  @media (min-width: 768px){
@@ -28382,10 +28379,6 @@ input[type]::placeholder{
28382
28379
  grid-column-start: 1;
28383
28380
  }
28384
28381
 
28385
- .md\:col-start-2{
28386
- grid-column-start: 2;
28387
- }
28388
-
28389
28382
  .md\:col-start-4{
28390
28383
  grid-column-start: 4;
28391
28384
  }
@@ -28415,11 +28408,6 @@ input[type]::placeholder{
28415
28408
  margin-right: 64px;
28416
28409
  }
28417
28410
 
28418
- .md\:my-0{
28419
- margin-top: 0px;
28420
- margin-bottom: 0px;
28421
- }
28422
-
28423
28411
  .md\:my-128{
28424
28412
  margin-top: 128px;
28425
28413
  margin-bottom: 128px;
@@ -28526,12 +28514,12 @@ input[type]::placeholder{
28526
28514
  width: 137px;
28527
28515
  }
28528
28516
 
28529
- .md\:w-\[calc\(\(\(var\(--footer-aux-vw\)-100\%\)\/2\)\+100\%\)\]{
28530
- width: calc(((var(--footer-aux-vw) - 100%) / 2) + 100%);
28517
+ .md\:w-\[50\%\]{
28518
+ width: 50%;
28531
28519
  }
28532
28520
 
28533
- .md\:w-\[calc\(100\%\+32px\)\]{
28534
- width: calc(100% + 32px);
28521
+ .md\:w-\[calc\(\(\(var\(--footer-aux-vw\)-100\%\)\/2\)\+100\%\)\]{
28522
+ width: calc(((var(--footer-aux-vw) - 100%) / 2) + 100%);
28535
28523
  }
28536
28524
 
28537
28525
  .md\:w-full{
@@ -28938,11 +28926,6 @@ input[type]::placeholder{
28938
28926
  gap: 30px;
28939
28927
  }
28940
28928
 
28941
- .md\:gap-x-24{
28942
- -moz-column-gap: 24px;
28943
- column-gap: 24px;
28944
- }
28945
-
28946
28929
  .md\:gap-x-32{
28947
28930
  -moz-column-gap: 32px;
28948
28931
  column-gap: 32px;
@@ -34324,11 +34307,6 @@ input[type]::placeholder{
34324
34307
  padding-right: 64px;
34325
34308
  }
34326
34309
 
34327
- .md\:py-32{
34328
- padding-top: 32px;
34329
- padding-bottom: 32px;
34330
- }
34331
-
34332
34310
  .md\:py-64{
34333
34311
  padding-top: 64px;
34334
34312
  padding-bottom: 64px;
@@ -35286,6 +35264,11 @@ input[type]::placeholder{
35286
35264
  grid-row: span 2 / span 2;
35287
35265
  }
35288
35266
 
35267
+ .xl\:my-32{
35268
+ margin-top: 32px;
35269
+ margin-bottom: 32px;
35270
+ }
35271
+
35289
35272
  .xl\:my-8{
35290
35273
  margin-top: 8px;
35291
35274
  margin-bottom: 8px;
@@ -35319,6 +35302,10 @@ input[type]::placeholder{
35319
35302
  margin-top: 0px;
35320
35303
  }
35321
35304
 
35305
+ .xl\:mt-32{
35306
+ margin-top: 32px;
35307
+ }
35308
+
35322
35309
  .xl\:mt-64{
35323
35310
  margin-top: 64px;
35324
35311
  }
@@ -35346,6 +35333,10 @@ input[type]::placeholder{
35346
35333
  height: 32px;
35347
35334
  }
35348
35335
 
35336
+ .xl\:h-\[260px\]{
35337
+ height: 260px;
35338
+ }
35339
+
35349
35340
  .xl\:h-\[calc\(100\%-2px\)\]{
35350
35341
  height: calc(100% - 2px);
35351
35342
  }
@@ -35354,6 +35345,10 @@ input[type]::placeholder{
35354
35345
  height: auto;
35355
35346
  }
35356
35347
 
35348
+ .xl\:h-full{
35349
+ height: 100%;
35350
+ }
35351
+
35357
35352
  .xl\:h-screen{
35358
35353
  height: 100vh;
35359
35354
  }
@@ -35366,6 +35361,14 @@ input[type]::placeholder{
35366
35361
  width: 175px;
35367
35362
  }
35368
35363
 
35364
+ .xl\:w-\[40\%\]{
35365
+ width: 40%;
35366
+ }
35367
+
35368
+ .xl\:w-\[60\%\]{
35369
+ width: 60%;
35370
+ }
35371
+
35369
35372
  .xl\:w-\[696px\]{
35370
35373
  width: 696px;
35371
35374
  }
@@ -35759,6 +35762,10 @@ input[type]::placeholder{
35759
35762
  flex-wrap: nowrap;
35760
35763
  }
35761
35764
 
35765
+ .xl\:items-end{
35766
+ align-items: flex-end;
35767
+ }
35768
+
35762
35769
  .xl\:items-center{
35763
35770
  align-items: center;
35764
35771
  }
@@ -35771,13 +35778,16 @@ input[type]::placeholder{
35771
35778
  justify-content: flex-end;
35772
35779
  }
35773
35780
 
35781
+ .xl\:justify-center{
35782
+ justify-content: center;
35783
+ }
35784
+
35774
35785
  .xl\:justify-items-start{
35775
35786
  justify-items: start;
35776
35787
  }
35777
35788
 
35778
- .xl\:gap-x-24{
35779
- -moz-column-gap: 24px;
35780
- column-gap: 24px;
35789
+ .xl\:gap-32{
35790
+ gap: 32px;
35781
35791
  }
35782
35792
 
35783
35793
  .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';