@bethinkpl/design-system 39.1.0 → 40.0.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 (83) hide show
  1. package/dist/design-system.css +1 -1
  2. package/dist/design-system.js +19329 -19161
  3. package/dist/design-system.js.map +1 -1
  4. package/dist/lib/js/components/ActionContent/ActionContent.vue.d.ts +42 -0
  5. package/dist/lib/js/components/ActionContent/index.d.ts +3 -0
  6. package/dist/lib/js/components/Buttons/IconButton/IconButton.vue.d.ts +3 -1
  7. package/dist/lib/js/components/Cards/Card/Card.consts.d.ts +13 -8
  8. package/dist/lib/js/components/Cards/Card/Card.vue.d.ts +22 -9
  9. package/dist/lib/js/components/Cards/CardExpandable/CardExpandable.vue.d.ts +77 -21
  10. package/dist/lib/js/components/Chip/Chip.vue.d.ts +2 -0
  11. package/dist/lib/js/components/DatePickers/DateBox/DateBox.vue.d.ts +3 -1
  12. package/dist/lib/js/components/DatePickers/DatePicker/DatePicker.vue.d.ts +7 -5
  13. package/dist/lib/js/components/DatePickers/DateRangePicker/DateRangePicker.vue.d.ts +4 -2
  14. package/dist/lib/js/components/Divider/Divider.vue.d.ts +1 -1
  15. package/dist/lib/js/components/Drawer/DrawerDivider/DrawerDivider.vue.d.ts +1 -1
  16. package/dist/lib/js/components/Drawer/DrawerHeader/DrawerHeader.vue.d.ts +10 -3
  17. package/dist/lib/js/components/Drawer/DrawerListItem/DrawerListItem.vue.d.ts +2 -0
  18. package/dist/lib/js/components/Drawer/DrawerSection/DrawerSection.vue.d.ts +10 -4
  19. package/dist/lib/js/components/Drawer/DrawerTile/DrawerTile.vue.d.ts +4 -4
  20. package/dist/lib/js/components/Dropdown/Dropdown.vue.d.ts +1 -1
  21. package/dist/lib/js/components/Form/FormField/FormField.utils.d.ts +1 -1
  22. package/dist/lib/js/components/Form/InputField/InputField.vue.d.ts +2 -2
  23. package/dist/lib/js/components/Form/PasswordField/PasswordField.vue.d.ts +2 -2
  24. package/dist/lib/js/components/Form/RadioButton/RadioButton.vue.d.ts +2 -0
  25. package/dist/lib/js/components/Headers/OverlayHeader/OverlayHeader.vue.d.ts +9 -5
  26. package/dist/lib/js/components/Headers/PageHeader/PageHeader.vue.d.ts +1 -1
  27. package/dist/lib/js/components/Headers/SectionHeader/SectionHeader.vue.d.ts +7 -3
  28. package/dist/lib/js/components/IconText/IconText.vue.d.ts +1 -1
  29. package/dist/lib/js/components/Icons/Icon/Icon.consts.d.ts +2 -0
  30. package/dist/lib/js/components/Image/Image.vue.d.ts +1 -1
  31. package/dist/lib/js/components/Menu/MenuDivider/MenuDivider.vue.d.ts +1 -1
  32. package/dist/lib/js/components/Modal/Modal.vue.d.ts +2 -0
  33. package/dist/lib/js/components/Modals/Modal/Modal.vue.d.ts +6 -2
  34. package/dist/lib/js/components/Modals/ModalDialog/ModalDialog.vue.d.ts +6 -2
  35. package/dist/lib/js/components/Pagination/Pagination.vue.d.ts +6 -2
  36. package/dist/lib/js/components/ProgressBar/ProgressBar.vue.d.ts +2 -0
  37. package/dist/lib/js/components/ProgressDonutChart/ProgressDonutChart.vue.d.ts +2 -0
  38. package/dist/lib/js/components/RichList/BasicRichListItem/BasicRichListItem.vue.d.ts +44 -23
  39. package/dist/lib/js/components/RichList/RichListItem/RichListItem.vue.d.ts +6 -4
  40. package/dist/lib/js/components/SelectList/SelectListItemDivider/SelectListItemDivider.vue.d.ts +1 -1
  41. package/dist/lib/js/components/Skeleton/Skeleton.vue.d.ts +1 -1
  42. package/dist/lib/js/components/Statuses/AccessStatus/AccessStatus.vue.d.ts +2 -0
  43. package/dist/lib/js/components/Statuses/BlockadeStatus/BlockadeStatus.vue.d.ts +2 -0
  44. package/dist/lib/js/components/SurveyQuestions/SurveyQuestionOpenEnded/SurveyQuestionOpenEnded.vue.d.ts +82 -22
  45. package/dist/lib/js/components/SurveyQuestions/SurveyQuestionScale/SurveyQuestionScale.vue.d.ts +82 -22
  46. package/dist/lib/js/components/Switch/Switch.vue.d.ts +2 -0
  47. package/dist/lib/js/components/TextGroup/TextGroup.consts.d.ts +14 -3
  48. package/dist/lib/js/components/TextGroup/TextGroup.vue.d.ts +8 -3
  49. package/dist/lib/js/components/Tile/Tile.sb.shared.d.ts +4 -2
  50. package/dist/lib/js/components/Tile/Tile.vue.d.ts +2 -2
  51. package/dist/lib/js/components/Toast/Toast.vue.d.ts +76 -22
  52. package/dist/lib/js/components/Toggles/ToggleButton/ToggleButton.vue.d.ts +4 -2
  53. package/dist/lib/js/components/Well/Well.consts.d.ts +24 -0
  54. package/dist/lib/js/components/Well/Well.vue.d.ts +13 -1
  55. package/dist/lib/js/icons/fontawesome.d.ts +1 -0
  56. package/dist/lib/js/index.d.ts +2 -0
  57. package/dist/lib/js/utils/type.utils.d.ts +3 -0
  58. package/lib/images/icons/comment-lock.svg +1 -0
  59. package/lib/js/components/ActionContent/ActionContent.spec.ts +99 -0
  60. package/lib/js/components/ActionContent/ActionContent.stories.ts +141 -0
  61. package/lib/js/components/ActionContent/ActionContent.vue +104 -0
  62. package/lib/js/components/ActionContent/index.ts +3 -0
  63. package/lib/js/components/Cards/Card/Card.consts.ts +15 -8
  64. package/lib/js/components/Cards/Card/Card.spec.ts +61 -1
  65. package/lib/js/components/Cards/Card/Card.stories.ts +20 -13
  66. package/lib/js/components/Cards/Card/Card.vue +65 -34
  67. package/lib/js/components/Chip/Chip.spec.ts +28 -0
  68. package/lib/js/components/Chip/Chip.stories.ts +7 -2
  69. package/lib/js/components/Chip/Chip.vue +14 -3
  70. package/lib/js/components/Icons/Icon/Icon.consts.ts +2 -0
  71. package/lib/js/components/ProgressDonutChart/ProgressDonutChart.spec.ts +3 -3
  72. package/lib/js/components/RichList/BasicRichListItem/BasicRichListItem.vue +8 -1
  73. package/lib/js/components/TextGroup/TextGroup.consts.ts +15 -1
  74. package/lib/js/components/TextGroup/TextGroup.stories.ts +14 -5
  75. package/lib/js/components/TextGroup/TextGroup.vue +51 -28
  76. package/lib/js/components/Well/Well.consts.ts +16 -0
  77. package/lib/js/components/Well/Well.spec.ts +112 -0
  78. package/lib/js/components/Well/Well.stories.ts +90 -1
  79. package/lib/js/components/Well/Well.vue +135 -4
  80. package/lib/js/icons/fontawesome.ts +2 -0
  81. package/lib/js/index.ts +2 -0
  82. package/lib/js/utils/type.utils.ts +16 -0
  83. package/package.json +14 -6
@@ -45,6 +45,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
45
45
  ICONS: Readonly<{
46
46
  readonly ANSWERS: VueConstructor<Vue>;
47
47
  readonly CHANGE: VueConstructor<Vue>;
48
+ readonly COMMENT_LOCK: VueConstructor<Vue>;
48
49
  readonly COMMENTS_CHECK: VueConstructor<Vue>;
49
50
  readonly HEAD_WITH_QUESTION_MARK: VueConstructor<Vue>;
50
51
  readonly HIDE_ANSWERS: VueConstructor<Vue>;
@@ -146,6 +147,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
146
147
  readonly FA_CODE_SIMPLE: import('@fortawesome/fontawesome-common-types').IconDefinition;
147
148
  readonly FA_CODE: import('@fortawesome/fontawesome-common-types').IconDefinition;
148
149
  readonly FA_COMMENT_DOTS: import('@fortawesome/fontawesome-common-types').IconDefinition;
150
+ readonly FA_COMMENT_PLUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
149
151
  readonly FA_COMMENT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
150
152
  readonly FA_COMMENT: import('@fortawesome/fontawesome-common-types').IconDefinition;
151
153
  readonly FA_COMMENTS_QUESTION_CHECK: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -473,17 +475,23 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
473
475
  dividerUnderHeader: {
474
476
  type: import('vue').PropType<boolean>;
475
477
  };
476
- hasBorder: {
478
+ hasRibbon: {
477
479
  type: import('vue').PropType<boolean>;
478
480
  };
479
- borderPosition: {
480
- type: import('vue').PropType<import('../../Cards/Card').CardBorderPositions>;
481
+ hasRadius: {
482
+ type: import('vue').PropType<boolean>;
481
483
  };
482
- borderSize: {
483
- type: import('vue').PropType<import('../../Cards/Card').CardBorderSizes>;
484
+ backgroundColor: {
485
+ type: import('vue').PropType<import('../../Cards/Card').CardBackgroundColor>;
484
486
  };
485
- borderColor: {
486
- type: import('vue').PropType<import('../../Cards/Card').CardBorderColors>;
487
+ ribbonPosition: {
488
+ type: import('vue').PropType<import('../../Cards/Card').CardRibbonPositions>;
489
+ };
490
+ ribbonSize: {
491
+ type: import('vue').PropType<import('../../Cards/Card').CardRibbonSizes>;
492
+ };
493
+ ribbonColor: {
494
+ type: import('vue').PropType<import('../../Cards/Card').CardRibbonColors>;
487
495
  };
488
496
  hasRibbonRadius: {
489
497
  type: import('vue').PropType<boolean>;
@@ -503,6 +511,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
503
511
  isContentScrollable: {
504
512
  type: import('vue').PropType<boolean>;
505
513
  };
514
+ hasBorder: {
515
+ type: import('vue').PropType<import('../../../utils/type.utils').RemovedProp<"renamed to hasRibbon">>;
516
+ };
517
+ borderPosition: {
518
+ type: import('vue').PropType<import('../../../utils/type.utils').RemovedProp<"renamed to ribbonPosition">>;
519
+ };
520
+ borderSize: {
521
+ type: import('vue').PropType<import('../../../utils/type.utils').RemovedProp<"renamed to ribbonSize">>;
522
+ };
523
+ borderColor: {
524
+ type: import('vue').PropType<import('../../../utils/type.utils').RemovedProp<"renamed to ribbonColor">>;
525
+ };
506
526
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
507
527
  P: {};
508
528
  B: {};
@@ -526,17 +546,23 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
526
546
  dividerUnderHeader: {
527
547
  type: import('vue').PropType<boolean>;
528
548
  };
529
- hasBorder: {
549
+ hasRibbon: {
530
550
  type: import('vue').PropType<boolean>;
531
551
  };
532
- borderPosition: {
533
- type: import('vue').PropType<import('../../Cards/Card').CardBorderPositions>;
552
+ hasRadius: {
553
+ type: import('vue').PropType<boolean>;
534
554
  };
535
- borderSize: {
536
- type: import('vue').PropType<import('../../Cards/Card').CardBorderSizes>;
555
+ backgroundColor: {
556
+ type: import('vue').PropType<import('../../Cards/Card').CardBackgroundColor>;
537
557
  };
538
- borderColor: {
539
- type: import('vue').PropType<import('../../Cards/Card').CardBorderColors>;
558
+ ribbonPosition: {
559
+ type: import('vue').PropType<import('../../Cards/Card').CardRibbonPositions>;
560
+ };
561
+ ribbonSize: {
562
+ type: import('vue').PropType<import('../../Cards/Card').CardRibbonSizes>;
563
+ };
564
+ ribbonColor: {
565
+ type: import('vue').PropType<import('../../Cards/Card').CardRibbonColors>;
540
566
  };
541
567
  hasRibbonRadius: {
542
568
  type: import('vue').PropType<boolean>;
@@ -556,6 +582,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
556
582
  isContentScrollable: {
557
583
  type: import('vue').PropType<boolean>;
558
584
  };
585
+ hasBorder: {
586
+ type: import('vue').PropType<import('../../../utils/type.utils').RemovedProp<"renamed to hasRibbon">>;
587
+ };
588
+ borderPosition: {
589
+ type: import('vue').PropType<import('../../../utils/type.utils').RemovedProp<"renamed to ribbonPosition">>;
590
+ };
591
+ borderSize: {
592
+ type: import('vue').PropType<import('../../../utils/type.utils').RemovedProp<"renamed to ribbonSize">>;
593
+ };
594
+ borderColor: {
595
+ type: import('vue').PropType<import('../../../utils/type.utils').RemovedProp<"renamed to ribbonColor">>;
596
+ };
559
597
  }>> & Readonly<{}>, {}, {}, {}, {}, {}>;
560
598
  __isFragment?: never;
561
599
  __isTeleport?: never;
@@ -576,17 +614,23 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
576
614
  dividerUnderHeader: {
577
615
  type: import('vue').PropType<boolean>;
578
616
  };
579
- hasBorder: {
617
+ hasRibbon: {
580
618
  type: import('vue').PropType<boolean>;
581
619
  };
582
- borderPosition: {
583
- type: import('vue').PropType<import('../../Cards/Card').CardBorderPositions>;
620
+ hasRadius: {
621
+ type: import('vue').PropType<boolean>;
584
622
  };
585
- borderSize: {
586
- type: import('vue').PropType<import('../../Cards/Card').CardBorderSizes>;
623
+ backgroundColor: {
624
+ type: import('vue').PropType<import('../../Cards/Card').CardBackgroundColor>;
587
625
  };
588
- borderColor: {
589
- type: import('vue').PropType<import('../../Cards/Card').CardBorderColors>;
626
+ ribbonPosition: {
627
+ type: import('vue').PropType<import('../../Cards/Card').CardRibbonPositions>;
628
+ };
629
+ ribbonSize: {
630
+ type: import('vue').PropType<import('../../Cards/Card').CardRibbonSizes>;
631
+ };
632
+ ribbonColor: {
633
+ type: import('vue').PropType<import('../../Cards/Card').CardRibbonColors>;
590
634
  };
591
635
  hasRibbonRadius: {
592
636
  type: import('vue').PropType<boolean>;
@@ -606,6 +650,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
606
650
  isContentScrollable: {
607
651
  type: import('vue').PropType<boolean>;
608
652
  };
653
+ hasBorder: {
654
+ type: import('vue').PropType<import('../../../utils/type.utils').RemovedProp<"renamed to hasRibbon">>;
655
+ };
656
+ borderPosition: {
657
+ type: import('vue').PropType<import('../../../utils/type.utils').RemovedProp<"renamed to ribbonPosition">>;
658
+ };
659
+ borderSize: {
660
+ type: import('vue').PropType<import('../../../utils/type.utils').RemovedProp<"renamed to ribbonSize">>;
661
+ };
662
+ borderColor: {
663
+ type: import('vue').PropType<import('../../../utils/type.utils').RemovedProp<"renamed to ribbonColor">>;
664
+ };
609
665
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
610
666
  $slots: Readonly<{
611
667
  header?: () => any;
@@ -673,6 +729,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
673
729
  ICONS: Readonly<{
674
730
  readonly ANSWERS: VueConstructor<Vue>;
675
731
  readonly CHANGE: VueConstructor<Vue>;
732
+ readonly COMMENT_LOCK: VueConstructor<Vue>;
676
733
  readonly COMMENTS_CHECK: VueConstructor<Vue>;
677
734
  readonly HEAD_WITH_QUESTION_MARK: VueConstructor<Vue>;
678
735
  readonly HIDE_ANSWERS: VueConstructor<Vue>;
@@ -774,6 +831,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
774
831
  readonly FA_CODE_SIMPLE: import('@fortawesome/fontawesome-common-types').IconDefinition;
775
832
  readonly FA_CODE: import('@fortawesome/fontawesome-common-types').IconDefinition;
776
833
  readonly FA_COMMENT_DOTS: import('@fortawesome/fontawesome-common-types').IconDefinition;
834
+ readonly FA_COMMENT_PLUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
777
835
  readonly FA_COMMENT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
778
836
  readonly FA_COMMENT: import('@fortawesome/fontawesome-common-types').IconDefinition;
779
837
  readonly FA_COMMENTS_QUESTION_CHECK: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -1056,9 +1114,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1056
1114
  type: string;
1057
1115
  touchableDeprecated: boolean;
1058
1116
  color: string;
1059
- elevation: string;
1060
1117
  radius: string;
1061
1118
  state: string;
1119
+ elevation: string;
1062
1120
  colorScheme: string;
1063
1121
  }, {}, {
1064
1122
  WnlIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
@@ -1412,6 +1470,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1412
1470
  ICONS: Readonly<{
1413
1471
  readonly ANSWERS: VueConstructor<Vue>;
1414
1472
  readonly CHANGE: VueConstructor<Vue>;
1473
+ readonly COMMENT_LOCK: VueConstructor<Vue>;
1415
1474
  readonly COMMENTS_CHECK: VueConstructor<Vue>;
1416
1475
  readonly HEAD_WITH_QUESTION_MARK: VueConstructor<Vue>;
1417
1476
  readonly HIDE_ANSWERS: VueConstructor<Vue>;
@@ -1513,6 +1572,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1513
1572
  readonly FA_CODE_SIMPLE: import('@fortawesome/fontawesome-common-types').IconDefinition;
1514
1573
  readonly FA_CODE: import('@fortawesome/fontawesome-common-types').IconDefinition;
1515
1574
  readonly FA_COMMENT_DOTS: import('@fortawesome/fontawesome-common-types').IconDefinition;
1575
+ readonly FA_COMMENT_PLUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
1516
1576
  readonly FA_COMMENT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
1517
1577
  readonly FA_COMMENT: import('@fortawesome/fontawesome-common-types').IconDefinition;
1518
1578
  readonly FA_COMMENTS_QUESTION_CHECK: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -45,6 +45,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
45
45
  ICONS: Readonly<{
46
46
  readonly ANSWERS: VueConstructor<Vue>;
47
47
  readonly CHANGE: VueConstructor<Vue>;
48
+ readonly COMMENT_LOCK: VueConstructor<Vue>;
48
49
  readonly COMMENTS_CHECK: VueConstructor<Vue>;
49
50
  readonly HEAD_WITH_QUESTION_MARK: VueConstructor<Vue>;
50
51
  readonly HIDE_ANSWERS: VueConstructor<Vue>;
@@ -146,6 +147,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
146
147
  readonly FA_CODE_SIMPLE: import('@fortawesome/fontawesome-common-types').IconDefinition;
147
148
  readonly FA_CODE: import('@fortawesome/fontawesome-common-types').IconDefinition;
148
149
  readonly FA_COMMENT_DOTS: import('@fortawesome/fontawesome-common-types').IconDefinition;
150
+ readonly FA_COMMENT_PLUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
149
151
  readonly FA_COMMENT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
150
152
  readonly FA_COMMENT: import('@fortawesome/fontawesome-common-types').IconDefinition;
151
153
  readonly FA_COMMENTS_QUESTION_CHECK: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -8,9 +8,18 @@ export declare const TEXT_GROUP_LOADING_SIZES: {
8
8
  LARGE: string;
9
9
  };
10
10
  export declare const TEXT_GROUP_SIZES: {
11
- X_SMALL: string;
12
- SMALL: string;
13
- MEDIUM: string;
11
+ readonly X_SMALL: "x-small";
12
+ readonly SMALL: "small";
13
+ readonly MEDIUM: "medium";
14
+ readonly LARGE: "large";
15
+ };
16
+ export declare const TEXT_GROUP_ALIGNS: {
17
+ readonly LEFT: "left";
18
+ readonly CENTER: "center";
19
+ };
20
+ export declare const TEXT_GROUP_MAIN_TEXT_COLORS: {
21
+ readonly NEUTRAL: "neutral";
22
+ readonly PRIMARY: "primary";
14
23
  };
15
24
  export declare const TEXT_GROUP_STATES: {
16
25
  readonly DEFAULT: "default";
@@ -22,3 +31,5 @@ export type TextGroupProminence = (typeof TEXT_GROUP_PROMINENCE)[keyof typeof TE
22
31
  export type TextGroupLoadingSize = (typeof TEXT_GROUP_LOADING_SIZES)[keyof typeof TEXT_GROUP_LOADING_SIZES];
23
32
  export type TextGroupSize = (typeof TEXT_GROUP_SIZES)[keyof typeof TEXT_GROUP_SIZES];
24
33
  export type TextGroupState = (typeof TEXT_GROUP_STATES)[keyof typeof TEXT_GROUP_STATES];
34
+ export type TextGroupAlign = (typeof TEXT_GROUP_ALIGNS)[keyof typeof TEXT_GROUP_ALIGNS];
35
+ export type TextGroupMainTextColor = (typeof TEXT_GROUP_MAIN_TEXT_COLORS)[keyof typeof TEXT_GROUP_MAIN_TEXT_COLORS];
@@ -1,10 +1,13 @@
1
- import { TextGroupProminence, TextGroupLoadingSize, TextGroupSize, TextGroupState } from './TextGroup.consts';
1
+ import { TextGroupAlign, TextGroupMainTextColor, TextGroupProminence, TextGroupLoadingSize, TextGroupSize, TextGroupState } from './TextGroup.consts';
2
+ import { RemovedProp } from '../../utils/type.utils';
2
3
 
3
4
  declare function __VLS_template(): {
4
5
  mainText?(_: {}): any;
5
6
  };
6
7
  declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
8
  size?: TextGroupSize;
9
+ align?: TextGroupAlign;
10
+ mainTextColor?: TextGroupMainTextColor;
8
11
  prominence?: TextGroupProminence;
9
12
  eyebrowText?: string | null;
10
13
  eyebrowTextEllipsis?: boolean;
@@ -16,14 +19,16 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
16
19
  supportingTextEllipsis?: boolean;
17
20
  isInteractive?: boolean;
18
21
  skeletonLoadingSize?: TextGroupLoadingSize;
19
- isSelected?: boolean;
20
22
  state?: TextGroupState;
21
23
  isSupportingTextTooltipEnabled?: boolean;
22
24
  isSupportingTextTooltipEnabledOnMobile?: boolean;
23
25
  isSupportingTextTooltipAutoFilledWithContent?: boolean;
24
26
  supportingTextTooltipContent?: string;
27
+ isSelected?: RemovedProp<"use mainTextColor=primary instead">;
25
28
  }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
26
29
  size?: TextGroupSize;
30
+ align?: TextGroupAlign;
31
+ mainTextColor?: TextGroupMainTextColor;
27
32
  prominence?: TextGroupProminence;
28
33
  eyebrowText?: string | null;
29
34
  eyebrowTextEllipsis?: boolean;
@@ -35,12 +40,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
35
40
  supportingTextEllipsis?: boolean;
36
41
  isInteractive?: boolean;
37
42
  skeletonLoadingSize?: TextGroupLoadingSize;
38
- isSelected?: boolean;
39
43
  state?: TextGroupState;
40
44
  isSupportingTextTooltipEnabled?: boolean;
41
45
  isSupportingTextTooltipEnabledOnMobile?: boolean;
42
46
  isSupportingTextTooltipAutoFilledWithContent?: boolean;
43
47
  supportingTextTooltipContent?: string;
48
+ isSelected?: RemovedProp<"use mainTextColor=primary instead">;
44
49
  }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
45
50
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
46
51
  export default _default;
@@ -5,6 +5,7 @@ export declare const data: () => {
5
5
  ICONS: Readonly<{
6
6
  readonly ANSWERS: VueConstructor<Vue>;
7
7
  readonly CHANGE: VueConstructor<Vue>;
8
+ readonly COMMENT_LOCK: VueConstructor<Vue>;
8
9
  readonly COMMENTS_CHECK: VueConstructor<Vue>;
9
10
  readonly HEAD_WITH_QUESTION_MARK: VueConstructor<Vue>;
10
11
  readonly HIDE_ANSWERS: VueConstructor<Vue>;
@@ -106,6 +107,7 @@ export declare const data: () => {
106
107
  readonly FA_CODE_SIMPLE: import('@fortawesome/fontawesome-common-types').IconDefinition;
107
108
  readonly FA_CODE: import('@fortawesome/fontawesome-common-types').IconDefinition;
108
109
  readonly FA_COMMENT_DOTS: import('@fortawesome/fontawesome-common-types').IconDefinition;
110
+ readonly FA_COMMENT_PLUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
109
111
  readonly FA_COMMENT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
110
112
  readonly FA_COMMENT: import('@fortawesome/fontawesome-common-types').IconDefinition;
111
113
  readonly FA_COMMENTS_QUESTION_CHECK: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -291,8 +293,8 @@ export declare const data: () => {
291
293
  readonly ACCENT: "accent";
292
294
  }>;
293
295
  allowedColorsToBorderColorsMap: {
294
- neutral: ("primary" | "neutral" | "neutralWeak" | "primaryWeak")[];
295
- neutralWeak: ("primary" | "neutral" | "neutralWeak" | "primaryWeak")[];
296
+ neutral: ("neutral" | "neutralWeak" | "primary" | "primaryWeak")[];
297
+ neutralWeak: ("neutral" | "neutralWeak" | "primary" | "primaryWeak")[];
296
298
  primary: ("primary" | "primaryWeak")[];
297
299
  success: ("success" | "successWeak")[];
298
300
  fail: ("fail" | "failWeak")[];
@@ -126,14 +126,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
126
126
  };
127
127
  }>> & Readonly<{}>, {
128
128
  color: import('./Tile.consts').TileColor;
129
+ eyebrowText: string;
130
+ isEyebrowTextUppercase: boolean;
129
131
  state: import('./Tile.consts').TileState;
130
132
  iconLeft: Record<string, any>;
131
133
  iconRight: Record<string, any>;
132
134
  borderColor: import('./Tile.consts').TileBorderColors;
133
135
  interactive: boolean;
134
- eyebrowText: string;
135
136
  additionalText: string;
136
- isEyebrowTextUppercase: boolean;
137
137
  eyebrowEllipsis: boolean;
138
138
  textEllipsis: boolean;
139
139
  additionalTextMaxWidth: import('./Tile.consts').TileAdditionalTextMaxWidth;
@@ -76,7 +76,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
76
76
  RIGHT: string;
77
77
  }>;
78
78
  }, {
79
- buttonPrimaryColor(): "primary" | "neutral";
79
+ buttonPrimaryColor(): "neutral" | "primary";
80
80
  buttonSecondaryColor(): "danger" | "neutral";
81
81
  toastPosition(): string;
82
82
  toastSize(): string;
@@ -253,17 +253,23 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
253
253
  dividerUnderHeader: {
254
254
  type: PropType<boolean>;
255
255
  };
256
- hasBorder: {
256
+ hasRibbon: {
257
257
  type: PropType<boolean>;
258
258
  };
259
- borderPosition: {
260
- type: PropType<import('../Cards/Card').CardBorderPositions>;
259
+ hasRadius: {
260
+ type: PropType<boolean>;
261
261
  };
262
- borderSize: {
263
- type: PropType<import('../Cards/Card').CardBorderSizes>;
262
+ backgroundColor: {
263
+ type: PropType<import('../Cards/Card').CardBackgroundColor>;
264
264
  };
265
- borderColor: {
266
- type: PropType<import('../Cards/Card').CardBorderColors>;
265
+ ribbonPosition: {
266
+ type: PropType<import('../Cards/Card').CardRibbonPositions>;
267
+ };
268
+ ribbonSize: {
269
+ type: PropType<import('../Cards/Card').CardRibbonSizes>;
270
+ };
271
+ ribbonColor: {
272
+ type: PropType<import('../Cards/Card').CardRibbonColors>;
267
273
  };
268
274
  hasRibbonRadius: {
269
275
  type: PropType<boolean>;
@@ -283,6 +289,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
283
289
  isContentScrollable: {
284
290
  type: PropType<boolean>;
285
291
  };
292
+ hasBorder: {
293
+ type: PropType<import('../../utils/type.utils').RemovedProp<"renamed to hasRibbon">>;
294
+ };
295
+ borderPosition: {
296
+ type: PropType<import('../../utils/type.utils').RemovedProp<"renamed to ribbonPosition">>;
297
+ };
298
+ borderSize: {
299
+ type: PropType<import('../../utils/type.utils').RemovedProp<"renamed to ribbonSize">>;
300
+ };
301
+ borderColor: {
302
+ type: PropType<import('../../utils/type.utils').RemovedProp<"renamed to ribbonColor">>;
303
+ };
286
304
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
287
305
  P: {};
288
306
  B: {};
@@ -306,17 +324,23 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
306
324
  dividerUnderHeader: {
307
325
  type: PropType<boolean>;
308
326
  };
309
- hasBorder: {
327
+ hasRibbon: {
310
328
  type: PropType<boolean>;
311
329
  };
312
- borderPosition: {
313
- type: PropType<import('../Cards/Card').CardBorderPositions>;
330
+ hasRadius: {
331
+ type: PropType<boolean>;
314
332
  };
315
- borderSize: {
316
- type: PropType<import('../Cards/Card').CardBorderSizes>;
333
+ backgroundColor: {
334
+ type: PropType<import('../Cards/Card').CardBackgroundColor>;
317
335
  };
318
- borderColor: {
319
- type: PropType<import('../Cards/Card').CardBorderColors>;
336
+ ribbonPosition: {
337
+ type: PropType<import('../Cards/Card').CardRibbonPositions>;
338
+ };
339
+ ribbonSize: {
340
+ type: PropType<import('../Cards/Card').CardRibbonSizes>;
341
+ };
342
+ ribbonColor: {
343
+ type: PropType<import('../Cards/Card').CardRibbonColors>;
320
344
  };
321
345
  hasRibbonRadius: {
322
346
  type: PropType<boolean>;
@@ -336,6 +360,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
336
360
  isContentScrollable: {
337
361
  type: PropType<boolean>;
338
362
  };
363
+ hasBorder: {
364
+ type: PropType<import('../../utils/type.utils').RemovedProp<"renamed to hasRibbon">>;
365
+ };
366
+ borderPosition: {
367
+ type: PropType<import('../../utils/type.utils').RemovedProp<"renamed to ribbonPosition">>;
368
+ };
369
+ borderSize: {
370
+ type: PropType<import('../../utils/type.utils').RemovedProp<"renamed to ribbonSize">>;
371
+ };
372
+ borderColor: {
373
+ type: PropType<import('../../utils/type.utils').RemovedProp<"renamed to ribbonColor">>;
374
+ };
339
375
  }>> & Readonly<{}>, {}, {}, {}, {}, {}>;
340
376
  __isFragment?: never;
341
377
  __isTeleport?: never;
@@ -356,17 +392,23 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
356
392
  dividerUnderHeader: {
357
393
  type: PropType<boolean>;
358
394
  };
359
- hasBorder: {
395
+ hasRibbon: {
360
396
  type: PropType<boolean>;
361
397
  };
362
- borderPosition: {
363
- type: PropType<import('../Cards/Card').CardBorderPositions>;
398
+ hasRadius: {
399
+ type: PropType<boolean>;
364
400
  };
365
- borderSize: {
366
- type: PropType<import('../Cards/Card').CardBorderSizes>;
401
+ backgroundColor: {
402
+ type: PropType<import('../Cards/Card').CardBackgroundColor>;
367
403
  };
368
- borderColor: {
369
- type: PropType<import('../Cards/Card').CardBorderColors>;
404
+ ribbonPosition: {
405
+ type: PropType<import('../Cards/Card').CardRibbonPositions>;
406
+ };
407
+ ribbonSize: {
408
+ type: PropType<import('../Cards/Card').CardRibbonSizes>;
409
+ };
410
+ ribbonColor: {
411
+ type: PropType<import('../Cards/Card').CardRibbonColors>;
370
412
  };
371
413
  hasRibbonRadius: {
372
414
  type: PropType<boolean>;
@@ -386,6 +428,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
386
428
  isContentScrollable: {
387
429
  type: PropType<boolean>;
388
430
  };
431
+ hasBorder: {
432
+ type: PropType<import('../../utils/type.utils').RemovedProp<"renamed to hasRibbon">>;
433
+ };
434
+ borderPosition: {
435
+ type: PropType<import('../../utils/type.utils').RemovedProp<"renamed to ribbonPosition">>;
436
+ };
437
+ borderSize: {
438
+ type: PropType<import('../../utils/type.utils').RemovedProp<"renamed to ribbonSize">>;
439
+ };
440
+ borderColor: {
441
+ type: PropType<import('../../utils/type.utils').RemovedProp<"renamed to ribbonColor">>;
442
+ };
389
443
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
390
444
  $slots: Readonly<{
391
445
  header?: () => any;
@@ -61,6 +61,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
61
61
  ICONS: Readonly<{
62
62
  readonly ANSWERS: VueConstructor<Vue>;
63
63
  readonly CHANGE: VueConstructor<Vue>;
64
+ readonly COMMENT_LOCK: VueConstructor<Vue>;
64
65
  readonly COMMENTS_CHECK: VueConstructor<Vue>;
65
66
  readonly HEAD_WITH_QUESTION_MARK: VueConstructor<Vue>;
66
67
  readonly HIDE_ANSWERS: VueConstructor<Vue>;
@@ -162,6 +163,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
162
163
  readonly FA_CODE_SIMPLE: import('@fortawesome/fontawesome-common-types').IconDefinition;
163
164
  readonly FA_CODE: import('@fortawesome/fontawesome-common-types').IconDefinition;
164
165
  readonly FA_COMMENT_DOTS: import('@fortawesome/fontawesome-common-types').IconDefinition;
166
+ readonly FA_COMMENT_PLUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
165
167
  readonly FA_COMMENT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
166
168
  readonly FA_COMMENT: import('@fortawesome/fontawesome-common-types').IconDefinition;
167
169
  readonly FA_COMMENTS_QUESTION_CHECK: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -425,12 +427,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
425
427
  label: string;
426
428
  color: ToggleButtonColor;
427
429
  radius: ToggleButtonRadius;
430
+ isInteractive: boolean;
428
431
  state: ToggleButtonState;
432
+ isSelected: boolean;
429
433
  iconLeft: any;
430
434
  iconRight: any;
431
435
  isLabelUppercase: boolean;
432
- isInteractive: boolean;
433
- isSelected: boolean;
434
436
  hasSmallHorizontalPadding: boolean;
435
437
  labelSize: ToggleButtonLabelSize;
436
438
  }, {}, {
@@ -17,3 +17,27 @@ export declare const WELL_COLORS: {
17
17
  };
18
18
  export type WellColor = Value<typeof WELL_COLORS>;
19
19
  export declare const WELL_DEFAULT_COLOR: "neutral";
20
+ export declare const WELL_RIBBON_COLORS: {
21
+ readonly NEUTRAL: "neutral";
22
+ readonly NEUTRAL_HEAVY: "neutral-heavy";
23
+ readonly NEUTRAL_STRONG: "neutral-strong";
24
+ readonly PRIMARY: "primary";
25
+ readonly SUCCESS: "success";
26
+ readonly WARNING: "warning";
27
+ readonly DANGER: "danger";
28
+ readonly FAIL: "fail";
29
+ readonly INFO: "info";
30
+ readonly TRANSPARENT: "transparent";
31
+ };
32
+ export type WellRibbonColor = Value<typeof WELL_RIBBON_COLORS>;
33
+ export declare const WELL_RIBBON_SIZES: {
34
+ readonly SMALL: "small";
35
+ readonly MEDIUM: "medium";
36
+ readonly LARGE: "large";
37
+ };
38
+ export type WellRibbonSize = Value<typeof WELL_RIBBON_SIZES>;
39
+ export declare const WELL_RIBBON_POSITIONS: {
40
+ readonly TOP: "top";
41
+ readonly LEFT: "left";
42
+ };
43
+ export type WellRibbonPosition = Value<typeof WELL_RIBBON_POSITIONS>;
@@ -1,4 +1,4 @@
1
- import { WellPadding, WellColor } from './Well.consts';
1
+ import { WellPadding, WellColor, WellRibbonPosition, WellRibbonSize, WellRibbonColor } from './Well.consts';
2
2
 
3
3
  declare function __VLS_template(): {
4
4
  accessory?(_: {}): any;
@@ -7,9 +7,21 @@ declare function __VLS_template(): {
7
7
  declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
8
  padding?: WellPadding | null;
9
9
  color?: WellColor;
10
+ hasRadius?: boolean;
11
+ hasBorder?: boolean;
12
+ hasRibbon?: boolean;
13
+ ribbonPosition?: WellRibbonPosition;
14
+ ribbonSize?: WellRibbonSize;
15
+ ribbonColor?: WellRibbonColor;
10
16
  }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
11
17
  padding?: WellPadding | null;
12
18
  color?: WellColor;
19
+ hasRadius?: boolean;
20
+ hasBorder?: boolean;
21
+ hasRibbon?: boolean;
22
+ ribbonPosition?: WellRibbonPosition;
23
+ ribbonSize?: WellRibbonSize;
24
+ ribbonColor?: WellRibbonColor;
13
25
  }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
26
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
15
27
  export default _default;
@@ -91,6 +91,7 @@ export declare const FONTAWESOME_ICONS: {
91
91
  readonly FA_CODE_SIMPLE: import('@fortawesome/fontawesome-common-types').IconDefinition;
92
92
  readonly FA_CODE: import('@fortawesome/fontawesome-common-types').IconDefinition;
93
93
  readonly FA_COMMENT_DOTS: import('@fortawesome/fontawesome-common-types').IconDefinition;
94
+ readonly FA_COMMENT_PLUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
94
95
  readonly FA_COMMENT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
95
96
  readonly FA_COMMENT: import('@fortawesome/fontawesome-common-types').IconDefinition;
96
97
  readonly FA_COMMENTS_QUESTION_CHECK: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -1,3 +1,4 @@
1
+ export { default as DsActionContent } from './components/ActionContent';
1
2
  export { default as Avatar } from './components/Avatar';
2
3
  export * from './components/Avatar/Avatar.consts';
3
4
  export { default as Badge } from './components/Badge';
@@ -84,6 +85,7 @@ export * from './components/Headers/PageHeader/PageHeader.consts';
84
85
  export { default as SectionTitle } from './components/SectionTitle/SectionTitle.vue';
85
86
  export { default as DsSectionTitle } from './components/SectionTitle/SectionTitle.vue';
86
87
  export * from './components/SectionTitle/SectionTitle.consts';
88
+ export { default as DsSpinnerLoading } from './components/SpinnerLoading/SpinnerLoading.vue';
87
89
  export { default as Drawer } from './components/Drawer';
88
90
  export { default as DsDrawer } from './components/Drawer';
89
91
  export * from './components/Drawer/Drawer.consts';
@@ -1 +1,4 @@
1
1
  export type Value<T extends {}> = T[keyof T];
2
+ export interface RemovedProp<TMessage extends string> {
3
+ __removed?: TMessage;
4
+ }
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 64 64"><path fill="currentColor" fill-rule="evenodd" d="M49.5 25C54.8036 25 59.1426 29.3875 59.1426 34.75V40.9658C61.4328 41.6971 63 43.8908 63 46.4502V58.1504C62.9998 61.4408 60.4682 64 57.2139 64H41.7861C38.6523 64 36.0002 61.4408 36 58.1504V46.4502C36 43.8908 37.5672 41.6971 39.8574 40.9658V34.75C39.8574 29.3875 44.1964 25 49.5 25ZM49.5 30.8496C47.3304 30.8496 45.6426 32.5563 45.6426 34.75V40.5996H53.3574V34.75C53.3574 32.5563 51.6696 30.8496 49.5 30.8496Z" clip-rule="evenodd"/><path fill="currentColor" d="M32.5 0C48.8223 0 62.166 11.8359 63 26.7188C61.2129 25.5469 59.1875 24.7266 56.9238 24.4922C55.0176 14.0625 45.1289 5.625 32.5 5.625C18.4414 5.625 7.71875 16.0547 7.71875 28.125C7.71875 33.1641 9.50586 37.7344 12.6035 41.6016C14.0332 43.3594 14.2715 45.8203 13.1992 47.8125L11.0547 51.6797L18.084 48.75C19.3945 48.1641 21.0625 48.1641 22.4922 48.75C25.3516 49.9219 28.5684 50.5078 31.9043 50.625C31.0703 52.3828 30.5938 54.375 30.5938 56.25C26.9004 56.0156 23.4453 55.1953 20.2285 53.9062L6.4082 59.7656C5.93164 60 5.57422 60 5.09766 60C3.31055 60 2 58.7109 2 57.0703C2 56.4844 2.11914 56.0156 2.35742 55.5469L8.19531 45.1172C4.26367 40.4297 2 34.4531 2 28.125C2 12.6562 15.7012 1.84648e-07 32.5 0Z"/></svg>