@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.
- package/dist/demo.html +1 -0
- package/dist/design-system.umd.cjs +17 -17
- package/dist/design-system.umd.cjs.map +1 -1
- package/dist/design-system.umd.js +63093 -0
- package/dist/design-system.umd.js.map +1 -0
- package/dist/lib/js/components/BadgeScore/BadgeScore.spec.d.ts +1 -0
- package/dist/lib/js/components/BadgeScore/BadgeScore.stories.d.ts +14 -0
- package/dist/lib/js/components/Badges/Badge/Badge.consts.d.ts +4 -0
- package/dist/lib/js/components/Badges/Badge/Badge.spec.d.ts +1 -0
- package/dist/lib/js/components/Badges/Badge/Badge.stories.d.ts +5 -0
- package/dist/lib/js/components/Badges/Badge/Badge.vue.d.ts +42 -0
- package/dist/lib/js/components/Badges/Badge/index.d.ts +3 -0
- package/dist/lib/js/components/Badges/BadgeScore/BadgeScore.consts.d.ts +13 -0
- package/dist/lib/js/components/Badges/BadgeScore/BadgeScore.spec.d.ts +1 -0
- package/dist/lib/js/components/Badges/BadgeScore/BadgeScore.stories.d.ts +14 -0
- package/dist/lib/js/components/Badges/BadgeScore/BadgeScore.vue.d.ts +66 -0
- package/dist/lib/js/components/Badges/BadgeScore/index.d.ts +3 -0
- package/dist/lib/js/components/Banner/Banner.stories.d.ts +5 -0
- package/dist/lib/js/components/Buttons/Button/Button.spec.d.ts +1 -0
- package/dist/lib/js/components/Buttons/Button/Button.stories.d.ts +5 -0
- package/dist/lib/js/components/Buttons/IconButton/IconButton.stories.d.ts +10 -0
- package/dist/lib/js/components/Cards/Card/Card.spec.d.ts +1 -0
- package/dist/lib/js/components/Cards/Card/Card.stories.d.ts +5 -0
- package/dist/lib/js/components/Cards/CardExpandable/CardExpandable.spec.d.ts +1 -0
- package/dist/lib/js/components/Cards/CardExpandable/CardExpandable.stories.d.ts +5 -0
- package/dist/lib/js/components/Chip/Chip.consts.d.ts +1 -0
- package/dist/lib/js/components/Chip/Chip.spec.d.ts +1 -0
- package/dist/lib/js/components/Chip/Chip.stories.d.ts +6 -0
- package/dist/lib/js/components/DatePickers/DatePicker/DatePicker.stories.d.ts +5 -0
- package/dist/lib/js/components/DatePickers/DatePickerBox/DatePickerBox.vue.d.ts +433 -0
- package/dist/lib/js/components/DatePickers/DatePickerBox/index.d.ts +3 -0
- package/dist/lib/js/components/Divider/Divider.stories.d.ts +5 -0
- package/dist/lib/js/components/Drawer/Drawer.stories.d.ts +5 -0
- package/dist/lib/js/components/Drawer/DrawerContent/DrawerContent.stories.d.ts +5 -0
- package/dist/lib/js/components/Drawer/DrawerDivider/DrawerDivider.stories.d.ts +5 -0
- package/dist/lib/js/components/Drawer/DrawerHeader/DrawerHeader.stories.d.ts +5 -0
- package/dist/lib/js/components/Drawer/DrawerHeader/index.d.ts +2 -0
- package/dist/lib/js/components/Drawer/DrawerListItem/DrawerListItem.stories.d.ts +5 -0
- package/dist/lib/js/components/Drawer/DrawerListItemGroup/DrawerListItemGroup.stories.d.ts +5 -0
- package/dist/lib/js/components/Drawer/DrawerSection/DrawerSection.stories.d.ts +5 -0
- package/dist/lib/js/components/Drawer/DrawerTile/DrawerTile.stories.d.ts +5 -0
- package/dist/lib/js/components/Dropdown/Dropdown.stories.d.ts +5 -0
- package/dist/lib/js/components/Form/Checkbox/Checkbox.stories.d.ts +5 -0
- package/dist/lib/js/components/Form/RadioButton/RadioButton.stories.d.ts +5 -0
- package/dist/lib/js/components/Headers/OverlayHeader/OverlayHeader.stories.d.ts +5 -0
- package/dist/lib/js/components/Headers/PageHeader/PageHeader.stories.d.ts +5 -0
- package/dist/lib/js/components/Headers/SectionHeader/SectionHeader.stories.d.ts +5 -0
- package/dist/lib/js/components/IconText/IconText.stories.d.ts +5 -0
- package/dist/lib/js/components/Icons/FeatureIcon/FeatureIcon.stories.d.ts +5 -0
- package/dist/lib/js/components/Icons/Icon/Icon.stories.d.ts +6 -0
- package/dist/lib/js/components/Image/Image.stories.d.ts +5 -0
- package/dist/lib/js/components/Layouts/ThreeColumnLayout/ThreeColumnLayout.stories.d.ts +5 -0
- package/dist/lib/js/components/LoadingBar/LoadingBar.stories.d.ts +5 -0
- package/dist/lib/js/components/Modal/Modal.spec.d.ts +1 -0
- package/dist/lib/js/components/Modals/Modal/Modal.stories.d.ts +8 -0
- package/dist/lib/js/components/Modals/ModalDialog/ModalDialog.stories.d.ts +7 -0
- package/dist/lib/js/components/NumberInCircle/NumberInCircle.stories.d.ts +5 -0
- package/dist/lib/js/components/Outline/OutlineDivider/OutlineDivider.stories.d.ts +5 -0
- package/dist/lib/js/components/Outline/OutlineItem/OutlineItem.stories.d.ts +5 -0
- package/dist/lib/js/components/Outline/OutlineSectionHeader/OutlineSectionHeader.stories.d.ts +5 -0
- package/dist/lib/js/components/OverlayHeader/OverlayHeader.consts.d.ts +7 -0
- package/dist/lib/js/components/OverlayHeader/OverlayHeader.stories.d.ts +5 -0
- package/dist/lib/js/components/OverlayHeader/OverlayHeader.vue.d.ts +257 -0
- package/dist/lib/js/components/OverlayHeader/index.d.ts +3 -0
- package/dist/lib/js/components/Pagination/Pagination.spec.d.ts +1 -0
- package/dist/lib/js/components/Pagination/Pagination.stories.d.ts +5 -0
- package/dist/lib/js/components/Pill/Pill.consts.d.ts +18 -0
- package/dist/lib/js/components/Pill/Pill.spec.d.ts +1 -0
- package/dist/lib/js/components/Pill/Pill.stories.d.ts +5 -0
- package/dist/lib/js/components/Pill/Pill.vue.d.ts +269 -0
- package/dist/lib/js/components/Pill/index.d.ts +3 -0
- package/dist/lib/js/components/PopOver/PopOver.stories.d.ts +6 -0
- package/dist/lib/js/components/ProgressBar/ProgressBar.stories.d.ts +9 -0
- package/dist/lib/js/components/ProgressDonutChart/ProgressDonutChart.spec.d.ts +1 -0
- package/dist/lib/js/components/ProgressDonutChart/ProgressDonutChart.stories.d.ts +5 -0
- package/dist/lib/js/components/RichList/BasicRichListItem/BasicRichListItem.stories.d.ts +6 -0
- package/dist/lib/js/components/RichList/GroupRichListItem/GroupRichListItem.stories.d.ts +6 -0
- package/dist/lib/js/components/RichList/RichListGroupItem/RichListGroupItem.consts.d.ts +24 -0
- package/dist/lib/js/components/RichList/RichListGroupItem/RichListGroupItem.stories.d.ts +12 -0
- package/dist/lib/js/components/RichList/RichListGroupItem/RichListGroupItem.vue.d.ts +26 -0
- package/dist/lib/js/components/RichList/RichListGroupItem/index.d.ts +3 -0
- package/dist/lib/js/components/RichList/RichListItem/RichListItem.stories.d.ts +6 -0
- package/dist/lib/js/components/RichList/RichListItemBasic/RichListItemBasic.stories.d.ts +5 -0
- package/dist/lib/js/components/RichList/RichListItemBasic/RichListItemBasic.vue.d.ts +72 -0
- package/dist/lib/js/components/RichList/RichListItemBasic/index.d.ts +2 -0
- package/dist/lib/js/components/Ripple/Ripple.consts.d.ts +14 -0
- package/dist/lib/js/components/Ripple/Ripple.stories.d.ts +5 -0
- package/dist/lib/js/components/Ripple/Ripple.vue.d.ts +30 -0
- package/dist/lib/js/components/Ripple/index.d.ts +3 -0
- package/dist/lib/js/components/SectionHeader/SectionHeader.consts.d.ts +4 -0
- package/dist/lib/js/components/SectionHeader/SectionHeader.stories.d.ts +5 -0
- package/dist/lib/js/components/SectionHeader/SectionHeader.vue.d.ts +237 -0
- package/dist/lib/js/components/SectionHeader/index.d.ts +3 -0
- package/dist/lib/js/components/SectionTitle/SectionTitle.stories.d.ts +5 -0
- package/dist/lib/js/components/SelectList/SelectList.stories.d.ts +6 -0
- package/dist/lib/js/components/SelectList/SelectListItem/SelectListItem.stories.d.ts +5 -0
- package/dist/lib/js/components/SelectList/SelectListItemDivider/SelectListItemDivider.stories.d.ts +5 -0
- package/dist/lib/js/components/SelectList/SelectListItemTile/SelectListItemTile.stories.d.ts +6 -0
- package/dist/lib/js/components/SelectList/SelectListItemToggle/SelectListItemToggle.stories.d.ts +5 -0
- package/dist/lib/js/components/SelectList/SelectListSectionTitle/SelectListSectionTitle.stories.d.ts +5 -0
- package/dist/lib/js/components/SelectionTile/SelectionTile.stories.d.ts +5 -0
- package/dist/lib/js/components/Skeleton/Skeleton.stories.d.ts +5 -0
- package/dist/lib/js/components/Statuses/AccessStatus/AccessStatus.spec.d.ts +1 -0
- package/dist/lib/js/components/Statuses/AccessStatus/AccessStatus.stories.d.ts +5 -0
- package/dist/lib/js/components/Statuses/BlockadeStatus/BlockadeStatus.spec.d.ts +1 -0
- package/dist/lib/js/components/Statuses/BlockadeStatus/BlockedeStatus.stories.d.ts +5 -0
- package/dist/lib/js/components/SurveyQuestions/SurveyQuestionOpenEnded/SurveyQuestionOpenEnded.stories.d.ts +5 -0
- package/dist/lib/js/components/SurveyQuestions/SurveyQuestionScale/SurveyQuestionScale.spec.d.ts +1 -0
- package/dist/lib/js/components/SurveyQuestions/SurveyQuestionScale/SurveyQuestionScale.stories.d.ts +7 -0
- package/dist/lib/js/components/SurveyToggle/SurveyToggle.spec.d.ts +1 -0
- package/dist/lib/js/components/SurveyToggle/SurveyToggle.stories.d.ts +5 -0
- package/dist/lib/js/components/Switch/Switch.stories.d.ts +5 -0
- package/dist/lib/js/components/TabItem/TabItem.spec.d.ts +1 -0
- package/dist/lib/js/components/TabItem/TabItem.stories.d.ts +5 -0
- package/dist/lib/js/components/TextGroup/TextGroup.stories.d.ts +5 -0
- package/dist/lib/js/components/Tile/Tile.spec.d.ts +1 -0
- package/dist/lib/js/components/Tile/Tile.stories.d.ts +6 -0
- package/dist/lib/js/components/Toast/Toast.stories.d.ts +5 -0
- package/dist/lib/js/components/Toggles/CounterToggle/CounterToggle.spec.d.ts +1 -0
- package/dist/lib/js/components/Toggles/CounterToggle/CounterToggle.stories.d.ts +5 -0
- package/dist/lib/js/components/Toggles/ToggleButton/ToggleButton.stories.d.ts +5 -0
- package/dist/lib/js/components/Tooltip/Tooltip.stories.d.ts +7 -0
- package/dist/lib/js/components/Well/Well.consts.d.ts +3 -0
- package/dist/lib/js/components/Well/Well.stories.d.ts +5 -0
- package/dist/lib/js/components/Well/Well.vue.d.ts +43 -0
- package/dist/lib/js/styles/Borders/BorderSizes.stories.d.ts +4 -0
- package/dist/lib/js/styles/Colors/Colors.stories.d.ts +5 -0
- package/dist/lib/js/styles/ColorsThemes/ColorsThemes.stories.d.ts +5 -0
- package/dist/lib/js/styles/ColorsTokensLms/ColorsTokensLms.stories.d.ts +5 -0
- package/dist/lib/js/styles/ColorsTokensPrimaryBodywork/ColorsTokensPrimaryBodywork.stories.d.ts +5 -0
- package/dist/lib/js/styles/ColorsTokensPrimaryWnl/ColorsTokensPrimaryWnl.stories.d.ts +5 -0
- package/dist/lib/js/styles/Spacings/Spacings.stories.d.ts +4 -0
- package/dist/lib/js/styles/TypographyTokensLms/TypographyTokensLms.stories.d.ts +5 -0
- package/dist/lib/js/styles/TypographyVariables/TypographyVariables.stories.d.ts +5 -0
- package/dist/lib/js/tests/emptyModule.d.ts +0 -0
- package/dist/lib/js/tests/emptyTransformer.d.ts +0 -0
- package/dist/tools/importers/helpers/modifiers.d.ts +9 -0
- package/dist/tools/importers/helpers/structures.d.ts +68 -0
- package/lib/js/components/Chip/Chip.consts.ts +2 -0
- package/lib/js/components/Chip/Chip.stories.ts +8 -2
- package/lib/js/components/Chip/Chip.vue +2 -1
- package/lib/js/components/Well/Well.consts.ts +4 -0
- package/lib/js/components/Well/Well.stories.ts +49 -4
- package/lib/js/components/Well/Well.vue +57 -22
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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,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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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>;
|