@d0rich/esprit-design 0.3.6 → 0.4.0

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 (40) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/components/DChip.vue.d.ts +1 -1
  3. package/dist/components/DPagination.vue.d.ts +485 -4
  4. package/dist/components/DStats.vue.d.ts +3 -10
  5. package/dist/components/animations/DAnimationAccordion.vue.d.ts +6 -4
  6. package/dist/components/animations/DAnimationDefLetterD.vue.d.ts +1 -1
  7. package/dist/components/animations/DAnimationFloatingLetter.vue.d.ts +6 -4
  8. package/dist/components/animations/DAnimationHypnosis.vue.d.ts +6 -4
  9. package/dist/components/animations/DAnimationSpinner.vue.d.ts +6 -4
  10. package/dist/components/animations/index.d.ts +0 -1
  11. package/dist/components/buttons/DBigBangButton.vue.d.ts +6 -7
  12. package/dist/components/buttons/DBigBangButtonAnimation.vue.d.ts +1 -1
  13. package/dist/components/buttons/DBtn.vue.d.ts +178 -8
  14. package/dist/components/buttons/index.d.ts +0 -1
  15. package/dist/components/cards/DCard.vue.d.ts +48 -6
  16. package/dist/components/cards/DCardTitle.vue.d.ts +43 -1
  17. package/dist/components/cards/index.d.ts +0 -1
  18. package/dist/components/content/DAlert.vue.d.ts +13 -6
  19. package/dist/components/content/DQuote.vue.d.ts +13 -6
  20. package/dist/components/content/index.d.ts +0 -1
  21. package/dist/components/index.d.ts +0 -1
  22. package/dist/components/lists/DActionsFan.vue.d.ts +528 -8
  23. package/dist/components/lists/DActionsList.vue.d.ts +18 -12
  24. package/dist/components/lists/index.d.ts +0 -1
  25. package/dist/components/utils/DWrapBackground.vue.d.ts +17 -11
  26. package/dist/components/utils/DWrapFocusHighlight.vue.d.ts +46 -4
  27. package/dist/components/utils/DWrapShape.vue.d.ts +24 -27
  28. package/dist/components/utils/index.d.ts +0 -1
  29. package/dist/composables/big-bang-button-utils.d.ts +1 -1
  30. package/dist/composables/router.d.ts +0 -1
  31. package/dist/composables/utils.d.ts +0 -1
  32. package/dist/esprit-design.js +519 -513
  33. package/dist/esprit-design.umd.cjs +1 -1
  34. package/dist/utils/boundings.d.ts +0 -1
  35. package/package.json +9 -10
  36. package/plugins/shadows.js +13 -10
  37. package/src/components/DStats.vue +2 -2
  38. package/src/components/utils/DWrapFocusHighlight.vue +10 -10
  39. package/tailwind.config.js +0 -1
  40. /package/dist/{style.css → esprit-design.css} +0 -0
@@ -1,6 +1,17 @@
1
1
  import { StyleValue } from 'vue';
2
-
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
+ declare function __VLS_template(): {
3
+ slots: Readonly<{
4
+ svg?: () => {};
5
+ default?: () => {};
6
+ }> & {
7
+ svg?: () => {};
8
+ default?: () => {};
9
+ };
10
+ refs: {};
11
+ attrs: Partial<{}>;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
15
  overlayClass: {
5
16
  type: (StringConstructor | (() => Record<string, boolean>))[];
6
17
  default: string;
@@ -25,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
25
36
  type: StringConstructor;
26
37
  default: string;
27
38
  };
28
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
39
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
29
40
  overlayClass: {
30
41
  type: (StringConstructor | (() => Record<string, boolean>))[];
31
42
  default: string;
@@ -50,20 +61,15 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
50
61
  type: StringConstructor;
51
62
  default: string;
52
63
  };
53
- }>>, {
64
+ }>> & Readonly<{}>, {
54
65
  tag: string;
55
66
  overlayClass: string | Record<string, boolean>;
56
67
  overlayStyle: StyleValue;
57
68
  dotsClass: string | Record<string, boolean>;
58
69
  dotsStyle: StyleValue;
59
70
  dots: boolean;
60
- }, {}>, Readonly<{
61
- svg?: (() => {}) | undefined;
62
- default?: (() => {}) | undefined;
63
- }> & {
64
- svg?: (() => {}) | undefined;
65
- default?: (() => {}) | undefined;
66
- }>;
71
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
72
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
67
73
  export default _default;
68
74
  type __VLS_WithTemplateSlots<T, S> = T & {
69
75
  new (): {
@@ -1,5 +1,5 @@
1
1
  export type HighlightVariant = 'tile' | 'negative-tile' | 'composite-tile' | 'list-item' | 'negative-list-item' | 'composite-list-item';
2
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
3
  /**
4
4
  * If true, the highlight will be shown only if the link is exact string a URL.
5
5
  */
@@ -24,7 +24,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
24
24
  type: (StringConstructor | (() => Record<string, boolean>))[];
25
25
  default: string;
26
26
  };
27
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
27
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
28
28
  /**
29
29
  * If true, the highlight will be shown only if the link is exact string a URL.
30
30
  */
@@ -49,14 +49,56 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
49
49
  type: (StringConstructor | (() => Record<string, boolean>))[];
50
50
  default: string;
51
51
  };
52
- }>>, {
52
+ }>> & Readonly<{}>, {
53
53
  tag: string;
54
54
  linkExact: boolean;
55
55
  noPassiveLink: boolean;
56
56
  active: boolean;
57
57
  variant: HighlightVariant;
58
58
  colorClass: string | Record<string, boolean>;
59
- }, {}>, {
59
+ }, {}, {
60
+ DWrapShape: {
61
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
62
+ shapeClass?: string | Record<string, boolean>;
63
+ shapeStyle?: import('vue').StyleValue;
64
+ filterClass?: string | Record<string, boolean>;
65
+ filterStyle?: import('vue').StyleValue;
66
+ tag?: string;
67
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
68
+ P: {};
69
+ B: {};
70
+ D: {};
71
+ C: {};
72
+ M: {};
73
+ Defaults: {};
74
+ }, Readonly<{
75
+ shapeClass?: string | Record<string, boolean>;
76
+ shapeStyle?: import('vue').StyleValue;
77
+ filterClass?: string | Record<string, boolean>;
78
+ filterStyle?: import('vue').StyleValue;
79
+ tag?: string;
80
+ }> & Readonly<{}>, {}, {}, {}, {}, {}>;
81
+ __isFragment?: never;
82
+ __isTeleport?: never;
83
+ __isSuspense?: never;
84
+ } & import('vue').ComponentOptionsBase<Readonly<{
85
+ shapeClass?: string | Record<string, boolean>;
86
+ shapeStyle?: import('vue').StyleValue;
87
+ filterClass?: string | Record<string, boolean>;
88
+ filterStyle?: import('vue').StyleValue;
89
+ tag?: string;
90
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
91
+ $slots: Readonly<{
92
+ 'shape-content'?: () => {};
93
+ 'bg-overlay'?: () => {};
94
+ default?: () => {};
95
+ }> & {
96
+ 'shape-content'?: () => {};
97
+ 'bg-overlay'?: () => {};
98
+ default?: () => {};
99
+ };
100
+ });
101
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
60
102
  default?(_: {}): any;
61
103
  }>;
62
104
  export default _default;
@@ -1,36 +1,33 @@
1
1
  import { StyleValue } from 'vue';
2
-
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
- shapeClass?: string | Record<string, boolean> | undefined;
2
+ declare function __VLS_template(): {
3
+ slots: Readonly<{
4
+ 'shape-content'?: () => {};
5
+ 'bg-overlay'?: () => {};
6
+ default?: () => {};
7
+ }> & {
8
+ 'shape-content'?: () => {};
9
+ 'bg-overlay'?: () => {};
10
+ default?: () => {};
11
+ };
12
+ refs: {};
13
+ attrs: Partial<{}>;
14
+ };
15
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
+ declare const __VLS_component: import('vue').DefineComponent<{
17
+ shapeClass?: string | Record<string, boolean>;
5
18
  shapeStyle?: StyleValue;
6
- filterClass?: string | Record<string, boolean> | undefined;
19
+ filterClass?: string | Record<string, boolean>;
7
20
  filterStyle?: StyleValue;
8
- tag?: string | undefined;
9
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
- shapeClass?: string | Record<string, boolean> | undefined;
21
+ tag?: string;
22
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
23
+ shapeClass?: string | Record<string, boolean>;
11
24
  shapeStyle?: StyleValue;
12
- filterClass?: string | Record<string, boolean> | undefined;
25
+ filterClass?: string | Record<string, boolean>;
13
26
  filterStyle?: StyleValue;
14
- tag?: string | undefined;
15
- }>>>, {}, {}>, Readonly<{
16
- 'shape-content'?: (() => {}) | undefined;
17
- 'bg-overlay'?: (() => {}) | undefined;
18
- default?: (() => {}) | undefined;
19
- }> & {
20
- 'shape-content'?: (() => {}) | undefined;
21
- 'bg-overlay'?: (() => {}) | undefined;
22
- default?: (() => {}) | undefined;
23
- }>;
27
+ tag?: string;
28
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
30
  export default _default;
25
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
- type __VLS_TypePropsToRuntimeProps<T> = {
27
- [K in keyof T]-?: {} extends Pick<T, K> ? {
28
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
- } : {
30
- type: import('vue').PropType<T[K]>;
31
- required: true;
32
- };
33
- };
34
31
  type __VLS_WithTemplateSlots<T, S> = T & {
35
32
  new (): {
36
33
  $slots: S;
@@ -1,5 +1,4 @@
1
1
  import { default as DWrapFocusHighlight, HighlightVariant } from './DWrapFocusHighlight.vue';
2
2
  import { default as DWrapBackground } from './DWrapBackground.vue';
3
3
  import { default as DWrapShape } from './DWrapShape.vue';
4
-
5
4
  export { DWrapFocusHighlight, HighlightVariant, DWrapBackground, DWrapShape };
@@ -1,3 +1,3 @@
1
1
  export declare const useDBigBangButtonUtils: () => {
2
- text: import('vue').Ref<string>;
2
+ text: import('vue').Ref<string, string>;
3
3
  };
@@ -1,5 +1,4 @@
1
1
  import { RouteLocationRaw } from 'vue-router';
2
-
3
2
  export interface LinkProps {
4
3
  readonly href?: string;
5
4
  readonly replace?: boolean;
@@ -1,5 +1,4 @@
1
1
  import { getLinkToPaginatedPage } from '../utils/pagination';
2
-
3
2
  export declare const useDPaginationUtils: () => {
4
3
  getLinkToPaginatedPage: typeof getLinkToPaginatedPage;
5
4
  };