@bethinkpl/design-system 26.14.4 → 26.14.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 (145) hide show
  1. package/dist/demo.html +1 -0
  2. package/dist/design-system.umd.cjs +17 -17
  3. package/dist/design-system.umd.cjs.map +1 -1
  4. package/dist/design-system.umd.js +63093 -0
  5. package/dist/design-system.umd.js.map +1 -0
  6. package/dist/lib/js/components/BadgeScore/BadgeScore.spec.d.ts +1 -0
  7. package/dist/lib/js/components/BadgeScore/BadgeScore.stories.d.ts +14 -0
  8. package/dist/lib/js/components/Badges/Badge/Badge.consts.d.ts +4 -0
  9. package/dist/lib/js/components/Badges/Badge/Badge.spec.d.ts +1 -0
  10. package/dist/lib/js/components/Badges/Badge/Badge.stories.d.ts +5 -0
  11. package/dist/lib/js/components/Badges/Badge/Badge.vue.d.ts +42 -0
  12. package/dist/lib/js/components/Badges/Badge/index.d.ts +3 -0
  13. package/dist/lib/js/components/Badges/BadgeScore/BadgeScore.consts.d.ts +13 -0
  14. package/dist/lib/js/components/Badges/BadgeScore/BadgeScore.spec.d.ts +1 -0
  15. package/dist/lib/js/components/Badges/BadgeScore/BadgeScore.stories.d.ts +14 -0
  16. package/dist/lib/js/components/Badges/BadgeScore/BadgeScore.vue.d.ts +66 -0
  17. package/dist/lib/js/components/Badges/BadgeScore/index.d.ts +3 -0
  18. package/dist/lib/js/components/Banner/Banner.stories.d.ts +5 -0
  19. package/dist/lib/js/components/Buttons/Button/Button.spec.d.ts +1 -0
  20. package/dist/lib/js/components/Buttons/Button/Button.stories.d.ts +5 -0
  21. package/dist/lib/js/components/Buttons/IconButton/IconButton.stories.d.ts +10 -0
  22. package/dist/lib/js/components/Cards/Card/Card.spec.d.ts +1 -0
  23. package/dist/lib/js/components/Cards/Card/Card.stories.d.ts +5 -0
  24. package/dist/lib/js/components/Cards/CardExpandable/CardExpandable.spec.d.ts +1 -0
  25. package/dist/lib/js/components/Cards/CardExpandable/CardExpandable.stories.d.ts +5 -0
  26. package/dist/lib/js/components/Chip/Chip.consts.d.ts +1 -0
  27. package/dist/lib/js/components/Chip/Chip.spec.d.ts +1 -0
  28. package/dist/lib/js/components/Chip/Chip.stories.d.ts +6 -0
  29. package/dist/lib/js/components/DatePickers/DatePicker/DatePicker.stories.d.ts +5 -0
  30. package/dist/lib/js/components/DatePickers/DatePickerBox/DatePickerBox.vue.d.ts +433 -0
  31. package/dist/lib/js/components/DatePickers/DatePickerBox/index.d.ts +3 -0
  32. package/dist/lib/js/components/Divider/Divider.stories.d.ts +5 -0
  33. package/dist/lib/js/components/Drawer/Drawer.stories.d.ts +5 -0
  34. package/dist/lib/js/components/Drawer/DrawerContent/DrawerContent.stories.d.ts +5 -0
  35. package/dist/lib/js/components/Drawer/DrawerDivider/DrawerDivider.stories.d.ts +5 -0
  36. package/dist/lib/js/components/Drawer/DrawerHeader/DrawerHeader.stories.d.ts +5 -0
  37. package/dist/lib/js/components/Drawer/DrawerHeader/index.d.ts +2 -0
  38. package/dist/lib/js/components/Drawer/DrawerListItem/DrawerListItem.stories.d.ts +5 -0
  39. package/dist/lib/js/components/Drawer/DrawerListItemGroup/DrawerListItemGroup.stories.d.ts +5 -0
  40. package/dist/lib/js/components/Drawer/DrawerSection/DrawerSection.stories.d.ts +5 -0
  41. package/dist/lib/js/components/Drawer/DrawerTile/DrawerTile.stories.d.ts +5 -0
  42. package/dist/lib/js/components/Dropdown/Dropdown.stories.d.ts +5 -0
  43. package/dist/lib/js/components/Form/Checkbox/Checkbox.stories.d.ts +5 -0
  44. package/dist/lib/js/components/Form/RadioButton/RadioButton.stories.d.ts +5 -0
  45. package/dist/lib/js/components/Headers/OverlayHeader/OverlayHeader.stories.d.ts +5 -0
  46. package/dist/lib/js/components/Headers/PageHeader/PageHeader.stories.d.ts +5 -0
  47. package/dist/lib/js/components/Headers/SectionHeader/SectionHeader.stories.d.ts +5 -0
  48. package/dist/lib/js/components/IconText/IconText.stories.d.ts +5 -0
  49. package/dist/lib/js/components/Icons/FeatureIcon/FeatureIcon.stories.d.ts +5 -0
  50. package/dist/lib/js/components/Icons/Icon/Icon.stories.d.ts +6 -0
  51. package/dist/lib/js/components/Image/Image.stories.d.ts +5 -0
  52. package/dist/lib/js/components/Layouts/ThreeColumnLayout/ThreeColumnLayout.stories.d.ts +5 -0
  53. package/dist/lib/js/components/LoadingBar/LoadingBar.stories.d.ts +5 -0
  54. package/dist/lib/js/components/Modal/Modal.spec.d.ts +1 -0
  55. package/dist/lib/js/components/Modals/Modal/Modal.stories.d.ts +8 -0
  56. package/dist/lib/js/components/Modals/ModalDialog/ModalDialog.stories.d.ts +7 -0
  57. package/dist/lib/js/components/NumberInCircle/NumberInCircle.stories.d.ts +5 -0
  58. package/dist/lib/js/components/Outline/OutlineDivider/OutlineDivider.stories.d.ts +5 -0
  59. package/dist/lib/js/components/Outline/OutlineItem/OutlineItem.stories.d.ts +5 -0
  60. package/dist/lib/js/components/Outline/OutlineSectionHeader/OutlineSectionHeader.stories.d.ts +5 -0
  61. package/dist/lib/js/components/OverlayHeader/OverlayHeader.consts.d.ts +7 -0
  62. package/dist/lib/js/components/OverlayHeader/OverlayHeader.stories.d.ts +5 -0
  63. package/dist/lib/js/components/OverlayHeader/OverlayHeader.vue.d.ts +257 -0
  64. package/dist/lib/js/components/OverlayHeader/index.d.ts +3 -0
  65. package/dist/lib/js/components/Pagination/Pagination.spec.d.ts +1 -0
  66. package/dist/lib/js/components/Pagination/Pagination.stories.d.ts +5 -0
  67. package/dist/lib/js/components/Pill/Pill.consts.d.ts +18 -0
  68. package/dist/lib/js/components/Pill/Pill.spec.d.ts +1 -0
  69. package/dist/lib/js/components/Pill/Pill.stories.d.ts +5 -0
  70. package/dist/lib/js/components/Pill/Pill.vue.d.ts +269 -0
  71. package/dist/lib/js/components/Pill/index.d.ts +3 -0
  72. package/dist/lib/js/components/PopOver/PopOver.stories.d.ts +6 -0
  73. package/dist/lib/js/components/ProgressBar/ProgressBar.stories.d.ts +9 -0
  74. package/dist/lib/js/components/ProgressDonutChart/ProgressDonutChart.spec.d.ts +1 -0
  75. package/dist/lib/js/components/ProgressDonutChart/ProgressDonutChart.stories.d.ts +5 -0
  76. package/dist/lib/js/components/RichList/BasicRichListItem/BasicRichListItem.stories.d.ts +6 -0
  77. package/dist/lib/js/components/RichList/GroupRichListItem/GroupRichListItem.stories.d.ts +6 -0
  78. package/dist/lib/js/components/RichList/RichListGroupItem/RichListGroupItem.consts.d.ts +24 -0
  79. package/dist/lib/js/components/RichList/RichListGroupItem/RichListGroupItem.stories.d.ts +12 -0
  80. package/dist/lib/js/components/RichList/RichListGroupItem/RichListGroupItem.vue.d.ts +26 -0
  81. package/dist/lib/js/components/RichList/RichListGroupItem/index.d.ts +3 -0
  82. package/dist/lib/js/components/RichList/RichListItem/RichListItem.stories.d.ts +6 -0
  83. package/dist/lib/js/components/RichList/RichListItemBasic/RichListItemBasic.stories.d.ts +5 -0
  84. package/dist/lib/js/components/RichList/RichListItemBasic/RichListItemBasic.vue.d.ts +72 -0
  85. package/dist/lib/js/components/RichList/RichListItemBasic/index.d.ts +2 -0
  86. package/dist/lib/js/components/Ripple/Ripple.consts.d.ts +14 -0
  87. package/dist/lib/js/components/Ripple/Ripple.stories.d.ts +5 -0
  88. package/dist/lib/js/components/Ripple/Ripple.vue.d.ts +30 -0
  89. package/dist/lib/js/components/Ripple/index.d.ts +3 -0
  90. package/dist/lib/js/components/SectionHeader/SectionHeader.consts.d.ts +4 -0
  91. package/dist/lib/js/components/SectionHeader/SectionHeader.stories.d.ts +5 -0
  92. package/dist/lib/js/components/SectionHeader/SectionHeader.vue.d.ts +237 -0
  93. package/dist/lib/js/components/SectionHeader/index.d.ts +3 -0
  94. package/dist/lib/js/components/SectionTitle/SectionTitle.stories.d.ts +5 -0
  95. package/dist/lib/js/components/SelectList/SelectList.stories.d.ts +6 -0
  96. package/dist/lib/js/components/SelectList/SelectListItem/SelectListItem.stories.d.ts +5 -0
  97. package/dist/lib/js/components/SelectList/SelectListItemDivider/SelectListItemDivider.stories.d.ts +5 -0
  98. package/dist/lib/js/components/SelectList/SelectListItemTile/SelectListItemTile.stories.d.ts +6 -0
  99. package/dist/lib/js/components/SelectList/SelectListItemToggle/SelectListItemToggle.stories.d.ts +5 -0
  100. package/dist/lib/js/components/SelectList/SelectListSectionTitle/SelectListSectionTitle.stories.d.ts +5 -0
  101. package/dist/lib/js/components/SelectionTile/SelectionTile.stories.d.ts +5 -0
  102. package/dist/lib/js/components/Skeleton/Skeleton.stories.d.ts +5 -0
  103. package/dist/lib/js/components/Statuses/AccessStatus/AccessStatus.spec.d.ts +1 -0
  104. package/dist/lib/js/components/Statuses/AccessStatus/AccessStatus.stories.d.ts +5 -0
  105. package/dist/lib/js/components/Statuses/BlockadeStatus/BlockadeStatus.spec.d.ts +1 -0
  106. package/dist/lib/js/components/Statuses/BlockadeStatus/BlockedeStatus.stories.d.ts +5 -0
  107. package/dist/lib/js/components/SurveyQuestions/SurveyQuestionOpenEnded/SurveyQuestionOpenEnded.stories.d.ts +5 -0
  108. package/dist/lib/js/components/SurveyQuestions/SurveyQuestionScale/SurveyQuestionScale.spec.d.ts +1 -0
  109. package/dist/lib/js/components/SurveyQuestions/SurveyQuestionScale/SurveyQuestionScale.stories.d.ts +7 -0
  110. package/dist/lib/js/components/SurveyToggle/SurveyToggle.spec.d.ts +1 -0
  111. package/dist/lib/js/components/SurveyToggle/SurveyToggle.stories.d.ts +5 -0
  112. package/dist/lib/js/components/Switch/Switch.stories.d.ts +5 -0
  113. package/dist/lib/js/components/TabItem/TabItem.spec.d.ts +1 -0
  114. package/dist/lib/js/components/TabItem/TabItem.stories.d.ts +5 -0
  115. package/dist/lib/js/components/TextGroup/TextGroup.stories.d.ts +5 -0
  116. package/dist/lib/js/components/Tile/Tile.spec.d.ts +1 -0
  117. package/dist/lib/js/components/Tile/Tile.stories.d.ts +6 -0
  118. package/dist/lib/js/components/Toast/Toast.stories.d.ts +5 -0
  119. package/dist/lib/js/components/Toggles/CounterToggle/CounterToggle.spec.d.ts +1 -0
  120. package/dist/lib/js/components/Toggles/CounterToggle/CounterToggle.stories.d.ts +5 -0
  121. package/dist/lib/js/components/Toggles/ToggleButton/ToggleButton.stories.d.ts +5 -0
  122. package/dist/lib/js/components/Tooltip/Tooltip.stories.d.ts +7 -0
  123. package/dist/lib/js/components/Well/Well.consts.d.ts +3 -0
  124. package/dist/lib/js/components/Well/Well.stories.d.ts +5 -0
  125. package/dist/lib/js/components/Well/Well.vue.d.ts +43 -0
  126. package/dist/lib/js/styles/Borders/BorderSizes.stories.d.ts +4 -0
  127. package/dist/lib/js/styles/Colors/Colors.stories.d.ts +5 -0
  128. package/dist/lib/js/styles/ColorsThemes/ColorsThemes.stories.d.ts +5 -0
  129. package/dist/lib/js/styles/ColorsTokensLms/ColorsTokensLms.stories.d.ts +5 -0
  130. package/dist/lib/js/styles/ColorsTokensPrimaryBodywork/ColorsTokensPrimaryBodywork.stories.d.ts +5 -0
  131. package/dist/lib/js/styles/ColorsTokensPrimaryWnl/ColorsTokensPrimaryWnl.stories.d.ts +5 -0
  132. package/dist/lib/js/styles/Spacings/Spacings.stories.d.ts +4 -0
  133. package/dist/lib/js/styles/TypographyTokensLms/TypographyTokensLms.stories.d.ts +5 -0
  134. package/dist/lib/js/styles/TypographyVariables/TypographyVariables.stories.d.ts +5 -0
  135. package/dist/lib/js/tests/emptyModule.d.ts +0 -0
  136. package/dist/lib/js/tests/emptyTransformer.d.ts +0 -0
  137. package/dist/tools/importers/helpers/modifiers.d.ts +9 -0
  138. package/dist/tools/importers/helpers/structures.d.ts +68 -0
  139. package/lib/js/components/Chip/Chip.consts.ts +2 -0
  140. package/lib/js/components/Chip/Chip.stories.ts +8 -2
  141. package/lib/js/components/Chip/Chip.vue +2 -1
  142. package/lib/js/components/Well/Well.consts.ts +4 -0
  143. package/lib/js/components/Well/Well.stories.ts +49 -4
  144. package/lib/js/components/Well/Well.vue +57 -22
  145. package/package.json +1 -1
@@ -0,0 +1,14 @@
1
+ import BadgeScore from './BadgeScore.vue';
2
+ import { Meta, StoryFn } from '@storybook/vue3';
3
+ declare const _default: Meta<typeof BadgeScore>;
4
+ export default _default;
5
+ export declare const Interactive: StoryFn<{
6
+ text: string;
7
+ suffix: string;
8
+ color: string;
9
+ size: string;
10
+ icon: string;
11
+ fullWidth: boolean;
12
+ }>;
13
+ export declare const MinWidth: StoryFn<{}>;
14
+ export declare const FullWidth: StoryFn<{}>;
@@ -0,0 +1,4 @@
1
+ export declare const BADGE_COLORS: {
2
+ readonly NEUTRAL: "neutral";
3
+ readonly PRIMARY: "primary";
4
+ };
@@ -0,0 +1,5 @@
1
+ import Badge from './Badge.vue';
2
+ import { Meta, StoryFn } from '@storybook/vue3';
3
+ declare const _default: Meta<typeof Badge>;
4
+ export default _default;
5
+ export declare const Interactive: StoryFn<typeof Badge>;
@@ -0,0 +1,42 @@
1
+ import { Value } from '../../../utils/type.utils';
2
+ import { BADGE_COLORS } from './Badge.consts';
3
+ import DsIcon from '../../Icons/Icon';
4
+ declare const _default: {
5
+ name: string;
6
+ components: {
7
+ DsIcon: typeof DsIcon;
8
+ };
9
+ props: {
10
+ label: {
11
+ type: StringConstructor;
12
+ required: boolean;
13
+ };
14
+ color: {
15
+ type: StringConstructor;
16
+ default: "neutral";
17
+ validator(value: Value<typeof BADGE_COLORS>): boolean;
18
+ };
19
+ icon: {
20
+ type: ObjectConstructor;
21
+ default: null;
22
+ validate: (icon: any) => boolean;
23
+ };
24
+ };
25
+ data(): {
26
+ BADGE_COLORS: Readonly<{
27
+ readonly NEUTRAL: "neutral";
28
+ readonly PRIMARY: "primary";
29
+ }>;
30
+ ICON_SIZES: Readonly<{
31
+ XXX_SMALL: string;
32
+ XX_SMALL: string;
33
+ X_SMALL: string;
34
+ SMALL: string;
35
+ MEDIUM: string;
36
+ LARGE: string;
37
+ X_LARGE: string;
38
+ XX_LARGE: string;
39
+ }>;
40
+ };
41
+ };
42
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import Badge from './Badge.vue';
2
+ export default Badge;
3
+ export * from './Badge.consts';
@@ -0,0 +1,13 @@
1
+ export declare const BADGE_SCORE_COLORS: {
2
+ readonly SUCCESS: "success";
3
+ readonly WARNING: "warning";
4
+ readonly FAIL: "fail";
5
+ readonly INVERTED: "inverted";
6
+ readonly NEUTRAL: "neutral";
7
+ readonly NEUTRAL_WEAK: "neutral-weak";
8
+ };
9
+ export declare const BADGE_SCORE_SIZES: {
10
+ readonly MEDIUM: "medium";
11
+ readonly SMALL: "small";
12
+ readonly XSMALL: "extra small";
13
+ };
@@ -0,0 +1,14 @@
1
+ import BadgeScore from './BadgeScore.vue';
2
+ import { Meta, StoryFn } from '@storybook/vue3';
3
+ declare const _default: Meta<typeof BadgeScore>;
4
+ export default _default;
5
+ export declare const Interactive: StoryFn<{
6
+ text: string;
7
+ suffix: string;
8
+ color: string;
9
+ size: string;
10
+ icon: string;
11
+ fullWidth: boolean;
12
+ }>;
13
+ export declare const MinWidth: StoryFn<{}>;
14
+ export declare const FullWidth: StoryFn<{}>;
@@ -0,0 +1,66 @@
1
+ import WnlIcon from '../../Icons/Icon';
2
+ declare const _default: {
3
+ name: string;
4
+ components: {
5
+ WnlIcon: typeof WnlIcon;
6
+ };
7
+ props: {
8
+ text: {
9
+ type: StringConstructor;
10
+ required: boolean;
11
+ };
12
+ suffix: {
13
+ type: StringConstructor;
14
+ required: boolean;
15
+ default: null;
16
+ };
17
+ color: {
18
+ type: StringConstructor;
19
+ required: boolean;
20
+ validator(color: any): boolean;
21
+ };
22
+ icon: {
23
+ type: ObjectConstructor;
24
+ default: null;
25
+ validator(icon: any): boolean;
26
+ };
27
+ size: {
28
+ type: StringConstructor;
29
+ default: "medium";
30
+ validator(size: any): boolean;
31
+ };
32
+ fullWidth: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ };
37
+ data(): {
38
+ ICON_SIZES: Readonly<{
39
+ XXX_SMALL: string;
40
+ XX_SMALL: string;
41
+ X_SMALL: string;
42
+ SMALL: string;
43
+ MEDIUM: string;
44
+ LARGE: string;
45
+ X_LARGE: string;
46
+ XX_LARGE: string;
47
+ }>;
48
+ BADGE_SCORE_COLORS: Readonly<{
49
+ readonly SUCCESS: "success";
50
+ readonly WARNING: "warning";
51
+ readonly FAIL: "fail";
52
+ readonly INVERTED: "inverted";
53
+ readonly NEUTRAL: "neutral";
54
+ readonly NEUTRAL_WEAK: "neutral-weak";
55
+ }>;
56
+ BADGE_SCORE_SIZES: Readonly<{
57
+ readonly MEDIUM: "medium";
58
+ readonly SMALL: "small";
59
+ readonly XSMALL: "extra small";
60
+ }>;
61
+ };
62
+ computed: {
63
+ iconSize(): string;
64
+ };
65
+ };
66
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import BadgeScore from './BadgeScore.vue';
2
+ export default BadgeScore;
3
+ export * from './BadgeScore.consts';
@@ -0,0 +1,5 @@
1
+ import Banner from './Banner.vue';
2
+ import { Meta, StoryFn } from '@storybook/vue3';
3
+ declare const _default: Meta<typeof Banner>;
4
+ export default _default;
5
+ export declare const Interactive: StoryFn<typeof Banner>;
@@ -0,0 +1,5 @@
1
+ import Button from './Button.vue';
2
+ import { Meta, StoryFn } from '@storybook/vue3';
3
+ declare const _default: Meta<typeof Button>;
4
+ export default _default;
5
+ export declare const Interactive: StoryFn<typeof Button>;
@@ -0,0 +1,10 @@
1
+ import IconButton from './IconButton.vue';
2
+ import { Meta, StoryFn } from '@storybook/vue3';
3
+ declare const _default: Meta<typeof IconButton>;
4
+ export default _default;
5
+ export declare const Interactive: StoryFn<typeof IconButton>;
6
+ export declare const FilledWithLabel: StoryFn<typeof IconButton>;
7
+ export declare const OutlinedRounded: StoryFn<typeof IconButton>;
8
+ export declare const FilledPrimary: StoryFn<typeof IconButton>;
9
+ export declare const IconOnlyInfo: StoryFn<typeof IconButton>;
10
+ export declare const IconOnlyWarning: StoryFn<typeof IconButton>;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ import Card from './Card.vue';
2
+ import { Meta, StoryFn } from '@storybook/vue3';
3
+ declare const _default: Meta<typeof Card>;
4
+ export default _default;
5
+ export declare const Interactive: StoryFn<typeof Card>;
@@ -0,0 +1,5 @@
1
+ import CardExpandable from './CardExpandable.vue';
2
+ import { Meta, StoryFn } from '@storybook/vue3';
3
+ declare const _default: Meta<typeof CardExpandable>;
4
+ export default _default;
5
+ export declare const Interactive: StoryFn<typeof CardExpandable>;
@@ -16,6 +16,7 @@ export declare const CHIP_COLORS: {
16
16
  readonly WARNING: "warning";
17
17
  readonly INFO: "info";
18
18
  };
19
+ export declare const CHIP_DEFAULT_COLOR: "neutral";
19
20
  export type ChipColor = Value<typeof CHIP_COLORS>;
20
21
  export declare const CHIP_STATES: {
21
22
  readonly DEFAULT: "default";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ import Chip from './Chip.vue';
2
+ import { Meta, StoryFn } from '@storybook/vue3';
3
+ declare const _default: Meta<typeof Chip>;
4
+ export default _default;
5
+ export declare const Interactive: StoryFn<typeof Chip>;
6
+ export declare const InteractiveWithAccessory: StoryFn<typeof Chip>;
@@ -0,0 +1,5 @@
1
+ import DatePicker from './DatePicker.vue';
2
+ import { Meta, StoryFn } from '@storybook/vue3';
3
+ declare const _default: Meta<typeof DatePicker>;
4
+ export default _default;
5
+ export declare const Interactive: StoryFn<typeof DatePicker>;