@ama-pt/agora-design-system 3.0.1 → 3.1.0

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 (28) hide show
  1. package/artifacts/dist/index.mjs +5776 -5555
  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 +61 -141
  7. package/artifacts/dist/types/components/avatar/avatar.d.ts +1 -1
  8. package/artifacts/dist/types/components/cards/card-action/card-action.d.ts +17 -49
  9. package/artifacts/dist/types/components/cards/card-links/card-links-style.d.ts +9 -0
  10. package/artifacts/dist/types/components/cards/card-links/card-links.d.ts +12 -3
  11. package/artifacts/dist/types/components/cards/card-no-results/card-no-results.d.ts +50 -1
  12. package/artifacts/dist/types/components/dropdown/internals/internal-dropdown-context.d.ts +2 -0
  13. package/artifacts/dist/types/components/dropdown/internals/internal-dropdown-option.d.ts +1 -0
  14. package/artifacts/dist/types/components/dropdown/internals/internal-dropdown-section.d.ts +1 -2
  15. package/artifacts/dist/types/components/input-date/input-date.d.ts +4 -0
  16. package/artifacts/dist/types/components/input-email-bar/input-email-bar.d.ts +4 -0
  17. package/artifacts/dist/types/components/input-number/input-number.d.ts +4 -0
  18. package/artifacts/dist/types/components/input-password/input-password.d.ts +4 -0
  19. package/artifacts/dist/types/components/input-phone/input-phone.d.ts +4 -0
  20. package/artifacts/dist/types/components/input-range/input-range.d.ts +5 -1
  21. package/artifacts/dist/types/components/input-search/input-search.d.ts +4 -0
  22. package/artifacts/dist/types/components/input-select/input-select.d.ts +4 -0
  23. package/artifacts/dist/types/components/input-text/input-text.d.ts +4 -0
  24. package/artifacts/dist/types/components/input-textarea/input-textarea.d.ts +4 -0
  25. package/artifacts/dist/types/components/input-time/input-time.d.ts +4 -0
  26. package/artifacts/dist/types/components/progress-bar/progress-bar.d.ts +6 -2
  27. package/artifacts/dist/types/components/progress-bar-group/progress-bar-group.d.ts +5 -0
  28. package/package.json +1 -1
@@ -660,7 +660,8 @@ textarea::-moz-placeholder{
660
660
  line-height: 1.75rem !important;
661
661
  letter-spacing: 0 !important;
662
662
  font-weight: 400 !important;
663
- color: var(--color-neutral-500);
663
+ --tw-text-opacity: 1;
664
+ color: rgb(156 166 184 / var(--tw-text-opacity, 1));
664
665
  }
665
666
 
666
667
  textarea::placeholder{
@@ -668,7 +669,8 @@ textarea::placeholder{
668
669
  line-height: 1.75rem !important;
669
670
  letter-spacing: 0 !important;
670
671
  font-weight: 400 !important;
671
- color: var(--color-neutral-500);
672
+ --tw-text-opacity: 1;
673
+ color: rgb(156 166 184 / var(--tw-text-opacity, 1));
672
674
  }
673
675
 
674
676
  input[type]::-moz-placeholder{
@@ -676,7 +678,8 @@ input[type]::-moz-placeholder{
676
678
  line-height: 1.75rem !important;
677
679
  letter-spacing: 0 !important;
678
680
  font-weight: 400 !important;
679
- color: var(--color-neutral-500);
681
+ --tw-text-opacity: 1;
682
+ color: rgb(156 166 184 / var(--tw-text-opacity, 1));
680
683
  }
681
684
 
682
685
  input[type]::placeholder{
@@ -684,14 +687,15 @@ input[type]::placeholder{
684
687
  line-height: 1.75rem !important;
685
688
  letter-spacing: 0 !important;
686
689
  font-weight: 400 !important;
687
- color: var(--color-neutral-500);
690
+ --tw-text-opacity: 1;
691
+ color: rgb(156 166 184 / var(--tw-text-opacity, 1));
688
692
  }
689
693
 
690
694
  *:focus{
691
695
  outline-style: solid;
692
696
  outline-width: 2px;
693
697
  outline-offset: -2px;
694
- outline-color: var(--color-focus);
698
+ outline-color: #F408FC;
695
699
  }
696
700
 
697
701
  .container{
@@ -937,10 +941,6 @@ input[type]::placeholder{
937
941
  margin: 32px;
938
942
  }
939
943
 
940
- .m-64{
941
- margin: 64px;
942
- }
943
-
944
944
  .m-auto{
945
945
  margin: auto;
946
946
  }
@@ -1143,10 +1143,6 @@ input[type]::placeholder{
1143
1143
  height: 44px !important;
1144
1144
  }
1145
1145
 
1146
- .\!h-auto{
1147
- height: auto !important;
1148
- }
1149
-
1150
1146
  .h-0{
1151
1147
  height: 0px;
1152
1148
  }
@@ -1277,10 +1273,6 @@ input[type]::placeholder{
1277
1273
  width: 44px !important;
1278
1274
  }
1279
1275
 
1280
- .\!w-full{
1281
- width: 100% !important;
1282
- }
1283
-
1284
1276
  .w-1\/2{
1285
1277
  width: 50%;
1286
1278
  }
@@ -1362,6 +1354,14 @@ input[type]::placeholder{
1362
1354
  max-width: 1440px;
1363
1355
  }
1364
1356
 
1357
+ .max-w-\[280px\]{
1358
+ max-width: 280px;
1359
+ }
1360
+
1361
+ .max-w-\[384px\]{
1362
+ max-width: 384px;
1363
+ }
1364
+
1365
1365
  .max-w-full{
1366
1366
  max-width: 100%;
1367
1367
  }
@@ -1863,6 +1863,10 @@ input[type]::placeholder{
1863
1863
  gap: 64px;
1864
1864
  }
1865
1865
 
1866
+ .gap-\[8px\]{
1867
+ gap: 8px;
1868
+ }
1869
+
1866
1870
  .gap-x-16{
1867
1871
  -moz-column-gap: 16px;
1868
1872
  column-gap: 16px;
@@ -2268,24 +2272,13 @@ input[type]::placeholder{
2268
2272
  border-color: transparent !important;
2269
2273
  }
2270
2274
 
2271
- .border-\[var\(--color-neutral-200\)\]{
2272
- border-color: var(--color-neutral-200);
2273
- }
2274
-
2275
- .border-\[var\(--color-neutral-300\)\]{
2276
- border-color: var(--color-neutral-300);
2277
- }
2278
-
2279
- .border-\[var\(--color-neutral-600\)\]{
2280
- border-color: var(--color-neutral-600);
2281
- }
2282
-
2283
- .border-\[var\(--color-primary-400\)\]{
2284
- border-color: var(--color-primary-400);
2275
+ .border-\[\#9747FF\]{
2276
+ --tw-border-opacity: 1;
2277
+ border-color: rgb(151 71 255 / var(--tw-border-opacity, 1));
2285
2278
  }
2286
2279
 
2287
- .border-\[var\(--color-primary-600\)\]{
2288
- border-color: var(--color-primary-600);
2280
+ .border-\[var\(--color-neutral-700\)\]{
2281
+ border-color: var(--color-neutral-700);
2289
2282
  }
2290
2283
 
2291
2284
  .border-backdrop{
@@ -4325,10 +4318,6 @@ input[type]::placeholder{
4325
4318
  border-inline-end-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
4326
4319
  }
4327
4320
 
4328
- .border-l-\[var\(--color-neutral-900\)\]{
4329
- border-left-color: var(--color-neutral-900);
4330
- }
4331
-
4332
4321
  .border-l-backdrop{
4333
4322
  border-left-color: rgba(43, 54, 60, 0.96);
4334
4323
  }
@@ -5938,54 +5927,10 @@ input[type]::placeholder{
5938
5927
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1)) !important;
5939
5928
  }
5940
5929
 
5941
- .bg-\[var\(--color-backdrop\)\]{
5942
- background-color: var(--color-backdrop);
5943
- }
5944
-
5945
- .bg-\[var\(--color-danger-200\)\]{
5946
- background-color: var(--color-danger-200);
5947
- }
5948
-
5949
- .bg-\[var\(--color-neutral-100\)\]{
5950
- background-color: var(--color-neutral-100);
5951
- }
5952
-
5953
- .bg-\[var\(--color-neutral-200\)\]{
5954
- background-color: var(--color-neutral-200);
5955
- }
5956
-
5957
- .bg-\[var\(--color-neutral-300\)\]{
5958
- background-color: var(--color-neutral-300);
5959
- }
5960
-
5961
- .bg-\[var\(--color-neutral-400\)\]{
5962
- background-color: var(--color-neutral-400);
5963
- }
5964
-
5965
- .bg-\[var\(--color-neutral-50\)\]{
5966
- background-color: var(--color-neutral-50);
5967
- }
5968
-
5969
- .bg-\[var\(--color-primary-100\)\]{
5970
- background-color: var(--color-primary-100);
5971
- }
5972
-
5973
- .bg-\[var\(--color-primary-600\)\]{
5974
- background-color: var(--color-primary-600);
5975
- }
5976
-
5977
5930
  .bg-\[var\(--color-primary-700\)\]{
5978
5931
  background-color: var(--color-primary-700);
5979
5932
  }
5980
5933
 
5981
- .bg-\[var\(--color-primary-900\)\]{
5982
- background-color: var(--color-primary-900);
5983
- }
5984
-
5985
- .bg-\[var\(--color-secondary-700\)\]{
5986
- background-color: var(--color-secondary-700);
5987
- }
5988
-
5989
5934
  .bg-backdrop{
5990
5935
  background-color: rgba(43, 54, 60, 0.96);
5991
5936
  }
@@ -6604,14 +6549,6 @@ input[type]::placeholder{
6604
6549
  background-origin: content-box;
6605
6550
  }
6606
6551
 
6607
- .fill-\[var\(--color-neutral-900\)\]{
6608
- fill: var(--color-neutral-900);
6609
- }
6610
-
6611
- .fill-\[var\(--color-primary-600\)\]{
6612
- fill: var(--color-primary-600);
6613
- }
6614
-
6615
6552
  .fill-backdrop{
6616
6553
  fill: rgba(43, 54, 60, 0.96);
6617
6554
  }
@@ -7417,6 +7354,10 @@ input[type]::placeholder{
7417
7354
  text-align: end;
7418
7355
  }
7419
7356
 
7357
+ .align-middle{
7358
+ vertical-align: middle;
7359
+ }
7360
+
7420
7361
  .align-text-top{
7421
7362
  vertical-align: text-top;
7422
7363
  }
@@ -7648,38 +7589,6 @@ input[type]::placeholder{
7648
7589
  text-transform: none;
7649
7590
  }
7650
7591
 
7651
- .text-\[var\(--color-informative-500\)\]{
7652
- color: var(--color-informative-500);
7653
- }
7654
-
7655
- .text-\[var\(--color-neutral-500\)\]{
7656
- color: var(--color-neutral-500);
7657
- }
7658
-
7659
- .text-\[var\(--color-neutral-700\)\]{
7660
- color: var(--color-neutral-700);
7661
- }
7662
-
7663
- .text-\[var\(--color-neutral-900\)\]{
7664
- color: var(--color-neutral-900);
7665
- }
7666
-
7667
- .text-\[var\(--color-primary-600\)\]{
7668
- color: var(--color-primary-600);
7669
- }
7670
-
7671
- .text-\[var\(--color-primary-700\)\]{
7672
- color: var(--color-primary-700);
7673
- }
7674
-
7675
- .text-\[var\(--color-primary-900\)\]{
7676
- color: var(--color-primary-900);
7677
- }
7678
-
7679
- .text-\[var\(--color-white\)\]{
7680
- color: var(--color-white);
7681
- }
7682
-
7683
7592
  .text-backdrop{
7684
7593
  color: rgba(43, 54, 60, 0.96);
7685
7594
  }
@@ -8157,8 +8066,8 @@ input[type]::placeholder{
8157
8066
  text-decoration-line: line-through;
8158
8067
  }
8159
8068
 
8160
- .decoration-\[var\(--color-primary-600\)\]{
8161
- text-decoration-color: var(--color-primary-600);
8069
+ .decoration-primary-600{
8070
+ text-decoration-color: #034AD8;
8162
8071
  }
8163
8072
 
8164
8073
  .decoration-2{
@@ -8308,8 +8217,8 @@ input[type]::placeholder{
8308
8217
  outline-offset: -2px;
8309
8218
  }
8310
8219
 
8311
- .outline-\[var\(--color-focus\)\]{
8312
- outline-color: var(--color-focus);
8220
+ .outline-focus{
8221
+ outline-color: #F408FC;
8313
8222
  }
8314
8223
 
8315
8224
  .blur{
@@ -12608,10 +12517,6 @@ input[type]::placeholder{
12608
12517
  --tw-border-opacity: 0.95;
12609
12518
  }
12610
12519
 
12611
- .hover\:bg-\[var\(--color-primary-100\)\]:hover{
12612
- background-color: var(--color-primary-100);
12613
- }
12614
-
12615
12520
  .hover\:bg-backdrop:hover{
12616
12521
  background-color: rgba(43, 54, 60, 0.96);
12617
12522
  }
@@ -14097,10 +14002,6 @@ input[type]::placeholder{
14097
14002
  font-weight: 600;
14098
14003
  }
14099
14004
 
14100
- .hover\:text-\[var\(--color-primary-600\)\]:hover{
14101
- color: var(--color-primary-600);
14102
- }
14103
-
14104
14005
  .hover\:text-backdrop:hover{
14105
14006
  color: rgba(43, 54, 60, 0.96);
14106
14007
  }
@@ -20955,16 +20856,17 @@ input[type]::placeholder{
20955
20856
  outline-offset: -2px;
20956
20857
  }
20957
20858
 
20958
- .focus\:outline-\[var\(--color-focus\)\]:focus{
20959
- outline-color: var(--color-focus);
20859
+ .focus\:outline-focus:focus{
20860
+ outline-color: #F408FC;
20960
20861
  }
20961
20862
 
20962
20863
  .active\:border-0:active{
20963
20864
  border-width: 0;
20964
20865
  }
20965
20866
 
20966
- .active\:bg-\[var\(--color-neutral-200\)\]:active{
20967
- background-color: var(--color-neutral-200);
20867
+ .active\:bg-neutral-200:active{
20868
+ --tw-bg-opacity: 1;
20869
+ background-color: rgb(225 228 234 / var(--tw-bg-opacity, 1));
20968
20870
  }
20969
20871
 
20970
20872
  .active\:bg-primary-700:active{
@@ -20972,8 +20874,9 @@ input[type]::placeholder{
20972
20874
  background-color: rgb(3 56 162 / var(--tw-bg-opacity, 1));
20973
20875
  }
20974
20876
 
20975
- .active\:text-\[var\(--color-neutral-900\)\]:active{
20976
- color: var(--color-neutral-900);
20877
+ .active\:text-neutral-900:active{
20878
+ --tw-text-opacity: 1;
20879
+ color: rgb(43 54 60 / var(--tw-text-opacity, 1));
20977
20880
  }
20978
20881
 
20979
20882
  .active\:shadow-inner:active{
@@ -26701,6 +26604,14 @@ input[type]::placeholder{
26701
26604
  stroke-width: 2;
26702
26605
  }
26703
26606
 
26607
+ .xs\:p-0{
26608
+ padding: 0px;
26609
+ }
26610
+
26611
+ .xs\:p-32{
26612
+ padding: 32px;
26613
+ }
26614
+
26704
26615
  .xs\:px-32{
26705
26616
  padding-left: 32px;
26706
26617
  padding-right: 32px;
@@ -33355,6 +33266,10 @@ input[type]::placeholder{
33355
33266
  stroke-width: 2;
33356
33267
  }
33357
33268
 
33269
+ .md\:p-64{
33270
+ padding: 64px;
33271
+ }
33272
+
33358
33273
  .md\:px-64{
33359
33274
  padding-left: 64px;
33360
33275
  padding-right: 64px;
@@ -39955,6 +39870,10 @@ input[type]::placeholder{
39955
39870
  stroke-width: 2;
39956
39871
  }
39957
39872
 
39873
+ .xl\:p-64{
39874
+ padding: 64px;
39875
+ }
39876
+
39958
39877
  .xl\:px-0{
39959
39878
  padding-left: 0px;
39960
39879
  padding-right: 0px;
@@ -40790,8 +40709,9 @@ input[type]::placeholder{
40790
40709
  font-weight: 600;
40791
40710
  }
40792
40711
 
40793
- .\[\&\>\*\]\:text-\[var\(--color-neutral-500\)\]>*{
40794
- color: var(--color-neutral-500);
40712
+ .\[\&\>\*\]\:text-neutral-500>*{
40713
+ --tw-text-opacity: 1;
40714
+ color: rgb(156 166 184 / var(--tw-text-opacity, 1));
40795
40715
  }
40796
40716
 
40797
40717
  .\[\&\>\.children-wrapper\]\:w-full>.children-wrapper{
@@ -6,7 +6,7 @@ import './avatar.scss';
6
6
  /**
7
7
  * The available avatar types. Each of them define the appearance of the avatar image.
8
8
  */
9
- export type AvatarType = 'image' | 'icon' | 'initials';
9
+ export type AvatarType = 'image' | 'icon' | 'initials' | 'empty';
10
10
  /**
11
11
  * The available badge positions. Each of them defines the location of the badge on the avatar.
12
12
  */
@@ -1,39 +1,11 @@
1
- import React, { FC } from 'react';
1
+ import { FC, ImgHTMLAttributes } from 'react';
2
+ import { ButtonProps } from '../../../components/button';
3
+ import { IconProps } from '../../../components/icon';
2
4
  import './card-action.scss';
5
+ import { BooleanProp } from '../../../models';
3
6
  export type CardActionStyles = 'white' | 'neutral-100' | 'primary-100' | 'secondary-100' | 'primary-300' | 'secondary-300' | 'primary-500' | 'primary-700' | 'primary-900' | 'white-line' | 'primary-900-line';
7
+ export type CardActionAlignment = 'left' | 'center' | 'right';
4
8
  export interface CardActionProps {
5
- /**
6
- * style of card action
7
- */
8
- variant?: CardActionStyles;
9
- /**
10
- * it allow you align title, text and button
11
- */
12
- alignment?: 'left' | 'center';
13
- /**
14
- * show the image within the card
15
- */
16
- hasImg?: boolean;
17
- /**
18
- * source of image
19
- */
20
- imgSrc?: string;
21
- /**
22
- * alternative text to image
23
- */
24
- imgAlt?: string;
25
- /**
26
- * show the card horizontally
27
- */
28
- isCardHorizontal?: boolean;
29
- /**
30
- * show the icon logo
31
- */
32
- hasIconLogo?: boolean;
33
- /**
34
- * name of icon logo
35
- */
36
- iconLogoName?: string;
37
9
  /**
38
10
  * title of card
39
11
  */
@@ -43,32 +15,28 @@ export interface CardActionProps {
43
15
  */
44
16
  text: string;
45
17
  /**
46
- * show icon within the button
47
- */
48
- buttonHasIcon?: boolean;
49
- /**
50
- * allow the button get all empty space
18
+ * style of card action
51
19
  */
52
- isButtonFullWidth?: boolean;
20
+ variant?: CardActionStyles;
53
21
  /**
54
- * name of button
22
+ * it allow you align title, text and button
55
23
  */
56
- buttonValue: string;
24
+ alignment?: CardActionAlignment;
57
25
  /**
58
- * name of icon to show inside of button
26
+ * show the card horizontally
59
27
  */
60
- buttonLeadingIcon?: string;
28
+ isCardHorizontal?: BooleanProp;
61
29
  /**
62
- * name of icon to show when hover the button
30
+ * name of icon logo
63
31
  */
64
- buttonLeadingIconHover?: string;
32
+ icon?: IconProps;
65
33
  /**
66
- * function called when click on the button
34
+ * image card to draw in the card if specified.
67
35
  */
68
- onClick: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
36
+ image?: ImgHTMLAttributes<HTMLImageElement>;
69
37
  /**
70
- * additional class names for the card action component
38
+ * props for the button component
71
39
  */
72
- className?: string;
40
+ button: ButtonProps;
73
41
  }
74
42
  export declare const CardAction: FC<CardActionProps>;
@@ -0,0 +1,9 @@
1
+ import { CardLinksStyles } from './card-links';
2
+ type CardLinksStylesBody = {
3
+ backgroundColor: string;
4
+ textColor?: string;
5
+ borderColor?: string;
6
+ };
7
+ export type CardLinksStylesMap = Record<CardLinksStyles, CardLinksStylesBody>;
8
+ export declare const cardLinksStylesMap: CardLinksStylesMap;
9
+ export {};
@@ -2,7 +2,12 @@ import { ComponentProps, FC, ImgHTMLAttributes, ReactNode } from 'react';
2
2
  import { BooleanProp, HeadingLevel } from '../../../models';
3
3
  import { AnchorProps } from '../../../components/anchor';
4
4
  import './card-links.scss';
5
+ export type CardLinksStyles = 'transparent' | 'white' | 'neutral-100' | 'primary-100' | 'secondary-100' | 'primary-300' | 'secondary-300' | 'primary-500' | 'primary-700' | 'primary-900';
5
6
  export interface CardLinksProps extends Omit<ComponentProps<'div'>, 'title'> {
7
+ /**
8
+ * Style of card
9
+ */
10
+ variant?: CardLinksStyles;
6
11
  /**
7
12
  * Heading level to apply in the card.
8
13
  */
@@ -24,7 +29,11 @@ export interface CardLinksProps extends Omit<ComponentProps<'div'>, 'title'> {
24
29
  */
25
30
  description?: ReactNode;
26
31
  /**
27
- * card image.
32
+ * The description of the card.
33
+ */
34
+ description2?: ReactNode;
35
+ /**
36
+ * Second description of the card.
28
37
  */
29
38
  image?: ImgHTMLAttributes<HTMLImageElement>;
30
39
  /**
@@ -44,8 +53,8 @@ export interface CardLinksProps extends Omit<ComponentProps<'div'>, 'title'> {
44
53
  */
45
54
  darkMode?: BooleanProp;
46
55
  /**
47
- * Makes the whole card clickable.
56
+ * Makes the title clickable.
48
57
  */
49
- blockedLink?: BooleanProp;
58
+ titleLink?: BooleanProp;
50
59
  }
51
60
  export declare const CardLinks: FC<CardLinksProps>;
@@ -1,4 +1,4 @@
1
- import { ComponentProps, FC, ReactNode } from 'react';
1
+ import React, { ComponentProps, FC, ReactNode } from 'react';
2
2
  import { BooleanProp } from '../../../models';
3
3
  import './card-no-results.scss';
4
4
  export interface CardNoResultsProps extends Omit<ComponentProps<'div'>, 'title'> {
@@ -18,9 +18,58 @@ export interface CardNoResultsProps extends Omit<ComponentProps<'div'>, 'title'>
18
18
  * The description of the card.
19
19
  */
20
20
  description?: ReactNode;
21
+ /**
22
+ * The extra description of the card.
23
+ */
24
+ extraDescription?: ReactNode;
21
25
  /**
22
26
  * If the card should be displayed in a dark mode.
23
27
  */
24
28
  darkMode?: BooleanProp;
29
+ /**
30
+ * allow you to say where the content should be aligned
31
+ */
32
+ position?: 'left' | 'center';
33
+ /**
34
+ * show the button within the card
35
+ */
36
+ hasAnchor?: boolean;
37
+ /**
38
+ * name of icon to show inside of anchor
39
+ */
40
+ anchorLeadingIcon?: string;
41
+ /**
42
+ * name of icon to show when hover the anchor
43
+ */
44
+ anchorLeadingIconHover?: string;
45
+ /**
46
+ * name of icon to show after the name of button when hover the anchor
47
+ */
48
+ anchorTrailingIcon?: string;
49
+ /**
50
+ * name of icon to show after the name of button when hover the anchor
51
+ */
52
+ anchorTrailingIconHover?: string;
53
+ /**
54
+ * name of button
55
+ */
56
+ valueAnchor?: string;
57
+ /**
58
+ * list of items to be displayed
59
+ */
60
+ itemList?: ReactNode[];
61
+ /**
62
+ * show the list inside the card
63
+ */
64
+ hasList?: boolean;
65
+ /**
66
+ * href of the anchor
67
+ */
68
+ anchorHref?: string;
69
+ /**
70
+ * target of the anchor link
71
+ */
72
+ anchorTarget?: '_blank' | '_self' | '_parent' | '_top';
25
73
  }
74
+ export declare const stringOrReactNode: (value: string | ReactNode, className: string) => React.JSX.Element | null;
26
75
  export declare const CardNoResults: FC<CardNoResultsProps>;
@@ -22,6 +22,8 @@ export interface InternalDropdownContextProps {
22
22
  applyFilter: (filter: string) => void;
23
23
  activeFilter: string;
24
24
  resetFilter: () => void;
25
+ lastSelectedOption?: string;
26
+ setLastSelectedOption: (optionId: string | undefined) => void;
25
27
  }
26
28
  export declare const InternalDropdownContext: import("react").Context<InternalDropdownContextProps>;
27
29
  export declare const useInternalDropdownContext: () => InternalDropdownContextProps;
@@ -13,6 +13,7 @@ export interface InternalDropdownOptionProps extends ComponentProps<'li'> {
13
13
  selected?: BooleanProp;
14
14
  filtered?: BooleanProp;
15
15
  sectionOptionId?: string;
16
+ onRangeSelection?: (optionId: string, isShiftClick: boolean) => void;
16
17
  }
17
18
  declare const InternalDropdownOption: FC<InternalDropdownOptionProps>;
18
19
  export { InternalDropdownOption };
@@ -1,7 +1,6 @@
1
+ import { BooleanProp } from '../../../models';
1
2
  import { FC, ReactElement } from 'react';
2
3
  import { InternalDropdownOptionProps } from './internal-dropdown-option';
3
- import './internal-dropdown-section.scss';
4
- import { BooleanProp } from '../../../models';
5
4
  export interface InternalDropdownSectionProps {
6
5
  className?: string;
7
6
  name: string;
@@ -38,6 +38,10 @@ export interface InputDateProps extends ComponentProps<'input'> {
38
38
  * Feedback text displayed below input.
39
39
  */
40
40
  feedbackText?: ReactNode;
41
+ /**
42
+ * Error feedback text displayed below input.
43
+ */
44
+ errorFeedbackText?: ReactNode;
41
45
  /**
42
46
  * The flag to set if the label and feedbackText is in dark mode or light mode.
43
47
  */
@@ -35,6 +35,10 @@ export interface InputEmailBarProps extends ComponentProps<'input'> {
35
35
  * Indicates the feedback state of feedback text. This param will change the left feedback icon and dye it.
36
36
  */
37
37
  hasError?: BooleanProp;
38
+ /**
39
+ * Error feedback text displayed below input.
40
+ */
41
+ errorFeedbackText?: ReactNode;
38
42
  }
39
43
  declare const InputEmailBar: FC<InputEmailBarProps>;
40
44
  export { InputEmailBar };
@@ -26,6 +26,10 @@ export interface InputNumberProps extends ComponentProps<'input'> {
26
26
  * Feedback text displayed below input.
27
27
  */
28
28
  feedbackText?: ReactNode;
29
+ /**
30
+ * Error feedback text displayed below input.
31
+ */
32
+ errorFeedbackText?: ReactNode;
29
33
  /**
30
34
  * The flag to set if the label and feedback text is in dark mode or light mode.
31
35
  */
@@ -22,6 +22,10 @@ export interface InputPasswordProps extends ComponentProps<'input'> {
22
22
  * Defines the state of the feedback text. This param will change the feedback icon and dye it.
23
23
  */
24
24
  feedbackState?: FeedbackState;
25
+ /**
26
+ * Error feedback text displayed below input.
27
+ */
28
+ errorFeedbackText?: ReactNode;
25
29
  /**
26
30
  * The flag to set if the label and feedback text is in dark mode or light mode.
27
31
  */
@@ -35,6 +35,10 @@ export interface InputPhoneProps extends ComponentProps<'input'> {
35
35
  * Feedback text displayed below input.
36
36
  */
37
37
  feedbackText?: ReactNode;
38
+ /**
39
+ * Error feedback text displayed below input.
40
+ */
41
+ errorFeedbackText?: ReactNode;
38
42
  /**
39
43
  * The flag to set if the label and feedback text is in dark mode or light mode.
40
44
  */