@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.
Files changed (41) hide show
  1. package/.github/workflows/build.yml +1 -1
  2. package/.github/workflows/storybook.yml +1 -1
  3. package/dist/design-system.umd.js +403 -939
  4. package/dist/design-system.umd.js.map +1 -1
  5. package/dist/lib/js/components/Buttons/Button/Button.vue.d.ts +0 -3
  6. package/dist/lib/js/components/Buttons/IconButton/IconButton.vue.d.ts +0 -3
  7. package/dist/lib/js/components/Cards/CardExpandable/CardExpandable.vue.d.ts +0 -3
  8. package/dist/lib/js/components/Outline/OutlineItem/OutlineItem.vue.d.ts +0 -1
  9. package/dist/lib/js/components/SurveyToggle/SurveyToggle.vue.d.ts +0 -3
  10. package/dist/lib/js/components/Tile/Tile.shared.d.ts +52 -0
  11. package/dist/lib/js/components/Tile/Tile.vue.d.ts +7 -8
  12. package/dist/lib/js/components/Toggles/CounterToggle/CounterToggle.vue.d.ts +0 -3
  13. package/dist/lib/js/components/Toggles/ToggleButton/ToggleButton.vue.d.ts +2 -4
  14. package/dist/lib/js/index.d.ts +0 -2
  15. package/docs/{639.2a03ddc2.iframe.bundle.js → 388.5d881a8a.iframe.bundle.js} +2 -2
  16. package/docs/iframe.html +1 -1
  17. package/docs/main.f0ac179f.iframe.bundle.js +1 -0
  18. package/docs/project.json +1 -1
  19. package/jest.config.js +0 -1
  20. package/lib/js/components/Buttons/Button/Button.vue +0 -5
  21. package/lib/js/components/Buttons/IconButton/IconButton.vue +2 -32
  22. package/lib/js/components/Cards/CardExpandable/CardExpandable.vue +1 -9
  23. package/lib/js/components/Drawer/DrawerTile/DrawerTile.vue +7 -1
  24. package/lib/js/components/Outline/OutlineItem/OutlineItem.vue +55 -59
  25. package/lib/js/components/SelectList/SelectListItem/SelectListItem.vue +0 -10
  26. package/lib/js/components/SurveyToggle/SurveyToggle.vue +4 -23
  27. package/lib/js/components/Tile/Tile.shared.ts +63 -0
  28. package/lib/js/components/Tile/Tile.vue +32 -108
  29. package/lib/js/components/Toggles/CounterToggle/CounterToggle.vue +3 -26
  30. package/lib/js/components/Toggles/ToggleButton/ToggleButton.vue +2 -36
  31. package/lib/js/index.ts +0 -2
  32. package/lib/js/typings.d.ts +0 -6
  33. package/lib/styles/components/_buttons.scss +1 -18
  34. package/lib/styles/settings/_buttons.scss +0 -22
  35. package/package.json +1 -2
  36. package/docs/main.38046cab.iframe.bundle.js +0 -1
  37. package/lib/js/components/Ripple/Ripple.consts.ts +0 -16
  38. package/lib/js/components/Ripple/Ripple.stories.ts +0 -37
  39. package/lib/js/components/Ripple/Ripple.vue +0 -98
  40. package/lib/js/components/Ripple/index.ts +0 -4
  41. /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
  };
@@ -292,8 +292,5 @@ declare const _default: {
292
292
  isButtonColor(): boolean;
293
293
  colorClassName(): string;
294
294
  };
295
- methods: {
296
- onClick(evt: any): void;
297
- };
298
295
  };
299
296
  export default _default;
@@ -5,9 +5,6 @@ declare const _default: {
5
5
  DsCard: typeof DsCard;
6
6
  DsIcon: typeof DsCard;
7
7
  };
8
- directives: {
9
- ripple: DirectiveFunction;
10
- };
11
8
  props: {
12
9
  isExpanded: {
13
10
  type: BooleanConstructor;
@@ -3,7 +3,6 @@ declare const _default: {
3
3
  name: string;
4
4
  components: {
5
5
  DsIcon: typeof DsIcon;
6
- DsRipple: typeof DsIcon;
7
6
  };
8
7
  props: {
9
8
  size: {
@@ -4,9 +4,6 @@ declare const _default: {
4
4
  components: {
5
5
  DsIcon: typeof DsIcon;
6
6
  };
7
- directives: {
8
- Ripple: DirectiveFunction;
9
- };
10
7
  props: {
11
8
  label: {
12
9
  type: StringConstructor;
@@ -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 DsRipple from '../Ripple';
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 DsRipple;
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<typeof TILE_STATES>): boolean;
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
  };
@@ -4,9 +4,6 @@ declare const _default: {
4
4
  components: {
5
5
  Icon: typeof Icon;
6
6
  };
7
- directives: {
8
- Ripple: DirectiveFunction;
9
- };
10
7
  props: {
11
8
  counter: {
12
9
  type: (StringConstructor | NumberConstructor)[];
@@ -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 DsRipple;
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;
@@ -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';