@bethinkpl/design-system 22.0.2 → 22.0.3
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/design-system.umd.js +384 -46
- package/dist/design-system.umd.js.map +1 -1
- package/dist/lib/js/components/Cards/Card/Card.consts.d.ts +22 -0
- package/dist/lib/js/components/Cards/Card/Card.vue.d.ts +36 -0
- package/dist/lib/js/components/Cards/CardExpandable/CardExpandable.vue.d.ts +3 -1
- package/dist/lib/js/components/Drawer/DrawerContent/DrawerContent.vue.d.ts +4 -3
- package/dist/lib/js/components/Drawer/DrawerDivider/DrawerDivider.vue.d.ts +20 -3
- package/dist/lib/js/components/LoadingBar/LoadingBar.consts.d.ts +16 -0
- package/dist/lib/js/components/LoadingBar/LoadingBar.stories.d.ts +5 -0
- package/dist/lib/js/components/LoadingBar/LoadingBar.vue.d.ts +31 -0
- package/dist/lib/js/components/LoadingBar/index.d.ts +3 -0
- package/dist/lib/js/components/SelectList/SelectListItemTile/SelectListItemTile.vue.d.ts +62 -3
- package/dist/lib/js/components/SelectList/SelectListSectionTitle/SelectListSectionTitle.vue.d.ts +14 -3
- package/dist/lib/js/index.d.ts +2 -0
- package/docs/iframe.html +1 -1
- package/docs/main.41dbbf29.iframe.bundle.js +1 -0
- package/docs/project.json +1 -1
- package/lib/js/components/Cards/Card/Card.consts.ts +28 -0
- package/lib/js/components/Cards/Card/Card.spec.ts +9 -0
- package/lib/js/components/Cards/Card/Card.stories.ts +36 -3
- package/lib/js/components/Cards/Card/Card.vue +157 -3
- package/lib/js/components/Cards/CardExpandable/CardExpandable.vue +1 -3
- package/lib/js/components/LoadingBar/LoadingBar.consts.ts +20 -0
- package/lib/js/components/LoadingBar/LoadingBar.stories.ts +45 -0
- package/lib/js/components/LoadingBar/LoadingBar.vue +114 -0
- package/lib/js/components/LoadingBar/index.ts +4 -0
- package/lib/js/icons/fontawesome.ts +2 -0
- package/lib/js/index.ts +2 -0
- package/lib/styles/settings/_borders.scss +5 -0
- package/package.json +1 -1
- package/docs/main.6d41ae2b.iframe.bundle.js +0 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Value } from '../../../utils/type.utils';
|
|
2
|
+
export declare const CARD_BORDER_COLORS: {
|
|
3
|
+
NEUTRAL_HEAVY: string;
|
|
4
|
+
NEUTRAL_STRONG: string;
|
|
5
|
+
SUCCESS: string;
|
|
6
|
+
WARNING: string;
|
|
7
|
+
DANGER: string;
|
|
8
|
+
INFO: string;
|
|
9
|
+
TRANSPARENT: string;
|
|
10
|
+
};
|
|
11
|
+
export declare type CardBorderColors = Value<typeof CARD_BORDER_COLORS>;
|
|
12
|
+
export declare const CARD_BORDER_SIZES: {
|
|
13
|
+
SMALL: string;
|
|
14
|
+
MEDIUM: string;
|
|
15
|
+
LARGE: string;
|
|
16
|
+
};
|
|
17
|
+
export declare type CardBorderSizes = Value<typeof CARD_BORDER_SIZES>;
|
|
18
|
+
export declare const CARD_BORDER_POSITIONS: {
|
|
19
|
+
TOP: string;
|
|
20
|
+
LEFT: string;
|
|
21
|
+
};
|
|
22
|
+
export declare type CardBorderPositions = Value<typeof CARD_BORDER_POSITIONS>;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
1
2
|
import DsDivider from '../../Divider/Divider.vue';
|
|
2
3
|
declare const _default: {
|
|
3
4
|
name: string;
|
|
4
5
|
components: {
|
|
5
6
|
DsDivider: typeof DsDivider;
|
|
7
|
+
DsLoadingBar: typeof DsDivider;
|
|
6
8
|
};
|
|
7
9
|
props: {
|
|
8
10
|
headerHasPadding: {
|
|
@@ -13,6 +15,40 @@ declare const _default: {
|
|
|
13
15
|
type: BooleanConstructor;
|
|
14
16
|
default: boolean;
|
|
15
17
|
};
|
|
18
|
+
hasBorder: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
borderPosition: {
|
|
23
|
+
type: PropType<string>;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
borderSize: {
|
|
27
|
+
type: PropType<string>;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
borderColor: {
|
|
31
|
+
type: PropType<string>;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
hasLoadingBar: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
loadingBarColor: {
|
|
39
|
+
type: PropType<string>;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
loadingBarTime: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
computed: {
|
|
48
|
+
hasLeftBoarder(): any;
|
|
49
|
+
hasTopBoarder(): any;
|
|
50
|
+
borderColorClass(): string;
|
|
51
|
+
borderSizeClass(): string;
|
|
16
52
|
};
|
|
17
53
|
};
|
|
18
54
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
1
|
+
declare const _default: {
|
|
2
|
+
name: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
@@ -1,3 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import Divider from '../../Divider';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
name: string;
|
|
4
|
+
components: {
|
|
5
|
+
DsDivider: typeof Divider;
|
|
6
|
+
};
|
|
7
|
+
props: {
|
|
8
|
+
prominence: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
validator: (value: string) => boolean;
|
|
12
|
+
};
|
|
13
|
+
size: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
validator: (value: string) => boolean;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Value } from '../../utils/type.utils';
|
|
2
|
+
export declare const LOADING_BAR_COLORS: {
|
|
3
|
+
NEUTRAL_HEAVY: string;
|
|
4
|
+
NEUTRAL_STRONG: string;
|
|
5
|
+
SUCCESS: string;
|
|
6
|
+
WARNING: string;
|
|
7
|
+
DANGER: string;
|
|
8
|
+
INFO: string;
|
|
9
|
+
};
|
|
10
|
+
export declare type LoadingBarColors = Value<typeof LOADING_BAR_COLORS>;
|
|
11
|
+
export declare const LOADING_BAR_SIZES: {
|
|
12
|
+
SMALL: string;
|
|
13
|
+
MEDIUM: string;
|
|
14
|
+
LARGE: string;
|
|
15
|
+
};
|
|
16
|
+
export declare type LoadingBarSizes = Value<typeof LOADING_BAR_SIZES>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
name: string;
|
|
4
|
+
props: {
|
|
5
|
+
color: {
|
|
6
|
+
type: PropType<string>;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
size: {
|
|
10
|
+
type: PropType<string>;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
time: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
required: boolean;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
data(): {
|
|
19
|
+
intervalId: number;
|
|
20
|
+
width: number;
|
|
21
|
+
};
|
|
22
|
+
computed: {
|
|
23
|
+
sizeClassName(): string;
|
|
24
|
+
loadingBarStyles(): {
|
|
25
|
+
width: string;
|
|
26
|
+
transition: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
mounted(): void;
|
|
30
|
+
};
|
|
31
|
+
export default _default;
|
|
@@ -1,3 +1,62 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import Tile from '../../Tile';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
name: string;
|
|
4
|
+
components: {
|
|
5
|
+
DsTile: typeof Tile;
|
|
6
|
+
};
|
|
7
|
+
props: {
|
|
8
|
+
interactive: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
iconLeft: {
|
|
13
|
+
type: ObjectConstructor;
|
|
14
|
+
default: null;
|
|
15
|
+
validator(iconLeft: any): boolean;
|
|
16
|
+
};
|
|
17
|
+
iconRight: {
|
|
18
|
+
type: ObjectConstructor;
|
|
19
|
+
default: null;
|
|
20
|
+
validator(iconRight: any): boolean;
|
|
21
|
+
};
|
|
22
|
+
text: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
required: boolean;
|
|
25
|
+
};
|
|
26
|
+
eyebrowText: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: null;
|
|
29
|
+
};
|
|
30
|
+
additionalText: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: null;
|
|
33
|
+
};
|
|
34
|
+
color: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: "neutral";
|
|
37
|
+
validator(color: any): boolean;
|
|
38
|
+
};
|
|
39
|
+
isEyebrowTextUppercase: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
state: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: "default";
|
|
46
|
+
validator(value: import("../../../utils/type.utils").Value<{
|
|
47
|
+
readonly DEFAULT: "default";
|
|
48
|
+
readonly DISABLED: "disabled";
|
|
49
|
+
readonly LOADING: "loading";
|
|
50
|
+
}>): boolean;
|
|
51
|
+
};
|
|
52
|
+
eyebrowEllipsis: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
textEllipsis: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
export default _default;
|
package/dist/lib/js/components/SelectList/SelectListSectionTitle/SelectListSectionTitle.vue.d.ts
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
name: string;
|
|
3
|
+
props: {
|
|
4
|
+
label: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
required: boolean;
|
|
7
|
+
};
|
|
8
|
+
isUppercase: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
package/dist/lib/js/index.d.ts
CHANGED
|
@@ -69,6 +69,8 @@ export { default as SelectListSectionTitle } from './components/SelectList/Selec
|
|
|
69
69
|
export * from './components/SelectList/SelectListItem/SelectListItem.consts';
|
|
70
70
|
export { default as SelectionTile } from './components/SelectionTile';
|
|
71
71
|
export * from './components/SelectionTile';
|
|
72
|
+
export { default as LoadingBar } from './components/LoadingBar';
|
|
73
|
+
export * from './components/LoadingBar';
|
|
72
74
|
export { default as PopOver } from './components/PopOver';
|
|
73
75
|
export * from './components/PopOver/PopOver.consts';
|
|
74
76
|
export { default as Dropdown } from './components/Dropdown';
|
package/docs/iframe.html
CHANGED
|
@@ -361,4 +361,4 @@
|
|
|
361
361
|
|
|
362
362
|
|
|
363
363
|
|
|
364
|
-
window['STORIES'] = [{"titlePrefix":"","directory":"./lib","files":"**/*.stories.@(js|mdx|ts)","importPathMatcher":"^\\.[\\\\/](?:lib(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|mdx|ts))$"}];</script><script src="runtime~main.b2826aa6.iframe.bundle.js"></script><script src="3.9151d012.iframe.bundle.js"></script><script src="main.
|
|
364
|
+
window['STORIES'] = [{"titlePrefix":"","directory":"./lib","files":"**/*.stories.@(js|mdx|ts)","importPathMatcher":"^\\.[\\\\/](?:lib(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|mdx|ts))$"}];</script><script src="runtime~main.b2826aa6.iframe.bundle.js"></script><script src="3.9151d012.iframe.bundle.js"></script><script src="main.41dbbf29.iframe.bundle.js"></script></body></html>
|