@bethinkpl/design-system 17.1.0 → 18.0.1
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/.github/workflows/build.yml +1 -1
- package/.github/workflows/storybook.yml +1 -1
- package/dist/design-system.umd.js +403 -939
- package/dist/design-system.umd.js.map +1 -1
- package/dist/lib/js/components/Buttons/Button/Button.vue.d.ts +0 -3
- package/dist/lib/js/components/Buttons/IconButton/IconButton.vue.d.ts +0 -3
- package/dist/lib/js/components/Cards/CardExpandable/CardExpandable.vue.d.ts +0 -3
- package/dist/lib/js/components/Outline/OutlineItem/OutlineItem.vue.d.ts +0 -1
- package/dist/lib/js/components/SurveyToggle/SurveyToggle.vue.d.ts +0 -3
- package/dist/lib/js/components/Tile/Tile.shared.d.ts +52 -0
- package/dist/lib/js/components/Tile/Tile.vue.d.ts +7 -8
- package/dist/lib/js/components/Toggles/CounterToggle/CounterToggle.vue.d.ts +0 -3
- package/dist/lib/js/components/Toggles/ToggleButton/ToggleButton.vue.d.ts +2 -4
- package/dist/lib/js/index.d.ts +0 -2
- package/docs/{639.2a03ddc2.iframe.bundle.js → 388.5d881a8a.iframe.bundle.js} +2 -2
- package/docs/iframe.html +1 -1
- package/docs/main.f0ac179f.iframe.bundle.js +1 -0
- package/docs/project.json +1 -1
- package/jest.config.js +0 -1
- package/lib/js/components/Buttons/Button/Button.vue +0 -5
- package/lib/js/components/Buttons/IconButton/IconButton.vue +2 -32
- package/lib/js/components/Cards/CardExpandable/CardExpandable.vue +1 -9
- package/lib/js/components/Drawer/DrawerTile/DrawerTile.vue +7 -1
- package/lib/js/components/Outline/OutlineItem/OutlineItem.vue +55 -59
- package/lib/js/components/SelectList/SelectListItem/SelectListItem.vue +0 -10
- package/lib/js/components/SurveyToggle/SurveyToggle.vue +4 -23
- package/lib/js/components/Tile/Tile.shared.ts +63 -0
- package/lib/js/components/Tile/Tile.vue +32 -108
- package/lib/js/components/Toggles/CounterToggle/CounterToggle.vue +3 -26
- package/lib/js/components/Toggles/ToggleButton/ToggleButton.vue +2 -36
- package/lib/js/index.ts +0 -2
- package/lib/js/typings.d.ts +0 -6
- package/lib/styles/components/_buttons.scss +1 -18
- package/lib/styles/settings/_buttons.scss +0 -22
- package/package.json +1 -2
- package/docs/main.38046cab.iframe.bundle.js +0 -1
- package/lib/js/components/Ripple/Ripple.consts.ts +0 -16
- package/lib/js/components/Ripple/Ripple.stories.ts +0 -37
- package/lib/js/components/Ripple/Ripple.vue +0 -98
- package/lib/js/components/Ripple/index.ts +0 -4
- /package/docs/{639.2a03ddc2.iframe.bundle.js.LICENSE.txt → 388.5d881a8a.iframe.bundle.js.LICENSE.txt} +0 -0
|
@@ -4,9 +4,6 @@ import { BUTTON_ELEVATIONS, BUTTON_RADIUSES, BUTTON_SIZES, BUTTON_STATES, BUTTON
|
|
|
4
4
|
import { ICON_BUTTON_COLORS } from '../IconButton/IconButton.consts';
|
|
5
5
|
declare const _default: {
|
|
6
6
|
name: string;
|
|
7
|
-
directives: {
|
|
8
|
-
ripple: DirectiveFunction;
|
|
9
|
-
};
|
|
10
7
|
components: {
|
|
11
8
|
WnlIcon: typeof WnlIcon;
|
|
12
9
|
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { TILE_STATES } from './Tile.consts';
|
|
2
|
+
import { Value } from '../../utils/type.utils';
|
|
3
|
+
export declare const props: {
|
|
4
|
+
interactive: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
iconLeft: {
|
|
9
|
+
type: ObjectConstructor;
|
|
10
|
+
default: null;
|
|
11
|
+
validator(iconLeft: any): boolean;
|
|
12
|
+
};
|
|
13
|
+
iconRight: {
|
|
14
|
+
type: ObjectConstructor;
|
|
15
|
+
default: null;
|
|
16
|
+
validator(iconRight: any): boolean;
|
|
17
|
+
};
|
|
18
|
+
text: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
required: boolean;
|
|
21
|
+
};
|
|
22
|
+
eyebrowText: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
required: boolean;
|
|
25
|
+
};
|
|
26
|
+
additionalText: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: null;
|
|
29
|
+
};
|
|
30
|
+
color: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: "neutral";
|
|
33
|
+
validator(color: any): boolean;
|
|
34
|
+
};
|
|
35
|
+
isEyebrowTextUppercase: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
state: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: "default";
|
|
42
|
+
validator(value: Value<typeof TILE_STATES>): boolean;
|
|
43
|
+
};
|
|
44
|
+
eyebrowEllipsis: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
textEllipsis: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { TILE_STATES } from './Tile.consts';
|
|
3
|
-
import { Value } from '../../utils/type.utils';
|
|
1
|
+
import DsIcon from '../Icons/Icon';
|
|
4
2
|
declare const _default: {
|
|
5
3
|
name: string;
|
|
6
4
|
components: {
|
|
7
|
-
DsIcon: typeof
|
|
8
|
-
DsRipple: typeof DsRipple;
|
|
5
|
+
DsIcon: typeof DsIcon;
|
|
9
6
|
};
|
|
10
7
|
props: {
|
|
11
8
|
interactive: {
|
|
@@ -46,7 +43,11 @@ declare const _default: {
|
|
|
46
43
|
state: {
|
|
47
44
|
type: StringConstructor;
|
|
48
45
|
default: "default";
|
|
49
|
-
validator(value: Value<
|
|
46
|
+
validator(value: import("../../utils/type.utils").Value<{
|
|
47
|
+
readonly DEFAULT: "default";
|
|
48
|
+
readonly DISABLED: "disabled";
|
|
49
|
+
readonly LOADING: "loading";
|
|
50
|
+
}>): boolean;
|
|
50
51
|
};
|
|
51
52
|
eyebrowEllipsis: {
|
|
52
53
|
type: BooleanConstructor;
|
|
@@ -253,9 +254,7 @@ declare const _default: {
|
|
|
253
254
|
}>;
|
|
254
255
|
};
|
|
255
256
|
computed: {
|
|
256
|
-
rippleDisabled(): boolean;
|
|
257
257
|
tileColor(): any;
|
|
258
|
-
rippleColor(): any;
|
|
259
258
|
tileState(): any;
|
|
260
259
|
};
|
|
261
260
|
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { Value } from '../../../utils/type.utils';
|
|
2
|
-
import DsRipple, { RippleColor } from '../../Ripple';
|
|
3
2
|
import { PropType } from 'vue';
|
|
4
3
|
import { TOGGLE_BUTTON_COLORS, TOGGLE_BUTTON_RADIUSES, TOGGLE_BUTTON_SIZES, TOGGLE_BUTTON_STATES, ToggleButtonColor, ToggleButtonLabelSize, ToggleButtonRadius, ToggleButtonSize, ToggleButtonState } from './ToggleButton.consts';
|
|
5
4
|
import { IconItem, IconSize } from '../../Icons/Icon';
|
|
5
|
+
import DsIcon from '../../Icons/Icon/Icon.vue';
|
|
6
6
|
declare const _default: {
|
|
7
7
|
name: string;
|
|
8
8
|
components: {
|
|
9
|
-
DsIcon: typeof
|
|
10
|
-
DsRipple: typeof DsRipple;
|
|
9
|
+
DsIcon: typeof DsIcon;
|
|
11
10
|
};
|
|
12
11
|
props: {
|
|
13
12
|
color: {
|
|
@@ -274,7 +273,6 @@ declare const _default: {
|
|
|
274
273
|
colorClassName(): string;
|
|
275
274
|
iconSize(): IconSize;
|
|
276
275
|
isInteractiveComputed(): boolean;
|
|
277
|
-
rippleColor(): RippleColor;
|
|
278
276
|
};
|
|
279
277
|
};
|
|
280
278
|
export default _default;
|
package/dist/lib/js/index.d.ts
CHANGED
|
@@ -38,8 +38,6 @@ export { default as SurveyQuestionScale } from './components/SurveyQuestions/Sur
|
|
|
38
38
|
export { default as SurveyQuestionOpenEnded } from './components/SurveyQuestions/SurveyQuestionOpenEnded/';
|
|
39
39
|
export * from './components/SurveyQuestions/SurveyQuestion.consts';
|
|
40
40
|
export * from './components/SurveyQuestions/SurveyQuestion.domain';
|
|
41
|
-
export { default as Ripple } from './components/Ripple';
|
|
42
|
-
export * from './components/Ripple/Ripple.consts';
|
|
43
41
|
export { default as SectionHeader } from './components/Headers/SectionHeader';
|
|
44
42
|
export * from './components/Headers/SectionHeader/SectionHeader.consts';
|
|
45
43
|
export { default as PageHeader } from './components/Headers/PageHeader';
|