@d0rich/esprit-design 0.2.1 → 0.2.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.
Files changed (85) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/components/DChip.vue.d.ts +2 -0
  3. package/dist/components/DPagination.vue.d.ts +30 -0
  4. package/dist/components/DStats.vue.d.ts +27 -0
  5. package/dist/components/animations/DAnimationAccordion.vue.d.ts +23 -0
  6. package/dist/components/animations/DAnimationDefLetterD.vue.d.ts +2 -0
  7. package/dist/components/animations/DAnimationFloatingLetter.vue.d.ts +23 -0
  8. package/dist/components/animations/DAnimationHypnosis.vue.d.ts +23 -0
  9. package/dist/components/animations/DAnimationSpinner.vue.d.ts +23 -0
  10. package/dist/components/animations/index.d.ts +5 -0
  11. package/dist/components/buttons/DBigBangButton.vue.d.ts +35 -0
  12. package/dist/components/buttons/DBigBangButtonAnimation.vue.d.ts +2 -0
  13. package/dist/components/buttons/DBtn.vue.d.ts +97 -0
  14. package/dist/components/buttons/index.d.ts +4 -0
  15. package/dist/components/cards/DCard.vue.d.ts +24 -0
  16. package/dist/components/cards/DCardTitle.vue.d.ts +2 -0
  17. package/dist/components/cards/index.d.ts +3 -0
  18. package/dist/components/content/DAlert.vue.d.ts +21 -0
  19. package/dist/components/content/DQuote.vue.d.ts +21 -0
  20. package/dist/components/content/index.d.ts +3 -0
  21. package/dist/components/index.d.ts +10 -0
  22. package/dist/components/lists/DActionsFan.vue.d.ts +55 -0
  23. package/dist/components/lists/DActionsList.vue.d.ts +50 -0
  24. package/dist/components/lists/index.d.ts +3 -0
  25. package/dist/components/utils/DWrapBackground.vue.d.ts +68 -0
  26. package/dist/components/utils/DWrapFocusHighlight.vue.d.ts +67 -0
  27. package/dist/components/utils/DWrapShape.vue.d.ts +33 -0
  28. package/dist/components/utils/index.d.ts +4 -0
  29. package/dist/composables/big-bang-button-utils.d.ts +3 -0
  30. package/dist/composables/index.d.ts +2 -0
  31. package/dist/composables/router.d.ts +17 -0
  32. package/dist/composables/utils.d.ts +4 -0
  33. package/dist/esprit-design.js +4595 -0
  34. package/dist/esprit-design.umd.cjs +17 -0
  35. package/dist/index.d.ts +3 -0
  36. package/dist/style.css +1 -0
  37. package/dist/utils/boundings.d.ts +16 -0
  38. package/dist/utils/index.d.ts +3 -0
  39. package/dist/utils/pagination.d.ts +1 -0
  40. package/dist/utils/polygon-animation.d.ts +53 -0
  41. package/index.html +13 -0
  42. package/package.json +1 -4
  43. package/plugins/shadows.js +87 -0
  44. package/src/components/DChip.vue +32 -0
  45. package/src/components/DPagination.vue +91 -0
  46. package/src/components/DStats.vue +502 -0
  47. package/src/components/animations/DAnimationAccordion.vue +103 -0
  48. package/src/components/animations/DAnimationDefLetterD.vue +11 -0
  49. package/src/components/animations/DAnimationFloatingLetter.vue +58 -0
  50. package/src/components/animations/DAnimationHypnosis.vue +102 -0
  51. package/src/components/animations/DAnimationSpinner.vue +114 -0
  52. package/src/components/animations/index.ts +11 -0
  53. package/src/components/buttons/DBigBangButton.vue +70 -0
  54. package/src/components/buttons/DBigBangButtonAnimation.vue +117 -0
  55. package/src/components/buttons/DBtn.vue +106 -0
  56. package/src/components/buttons/index.ts +5 -0
  57. package/src/components/cards/DCard.vue +98 -0
  58. package/src/components/cards/DCardTitle.vue +67 -0
  59. package/src/components/cards/index.ts +4 -0
  60. package/src/components/content/DAlert.vue +112 -0
  61. package/src/components/content/DQuote.vue +71 -0
  62. package/src/components/content/index.ts +4 -0
  63. package/src/components/index.ts +12 -0
  64. package/src/components/lists/DActionsFan.vue +153 -0
  65. package/src/components/lists/DActionsList.vue +100 -0
  66. package/src/components/lists/index.ts +4 -0
  67. package/src/components/utils/DWrapBackground.vue +76 -0
  68. package/src/components/utils/DWrapFocusHighlight.vue +241 -0
  69. package/src/components/utils/DWrapShape.vue +170 -0
  70. package/src/components/utils/index.ts +7 -0
  71. package/src/composables/big-bang-button-utils.ts +7 -0
  72. package/src/composables/index.ts +2 -0
  73. package/src/composables/router.ts +66 -0
  74. package/src/composables/utils.ts +5 -0
  75. package/src/index.ts +3 -0
  76. package/src/style.css +3 -0
  77. package/src/utils/boundings.ts +35 -0
  78. package/src/utils/index.ts +3 -0
  79. package/src/utils/pagination.ts +4 -0
  80. package/src/utils/polygon-animation.ts +139 -0
  81. package/src/vite-env.d.ts +1 -0
  82. package/tailwind.config.js +22 -0
  83. package/tsconfig.json +25 -0
  84. package/tsconfig.node.json +10 -0
  85. package/vite.config.ts +35 -0
@@ -0,0 +1,67 @@
1
+ export type HighlightVariant = 'negative-tile' | 'list-item' | 'negative-list-item' | 'composite-list-item';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ /**
4
+ * If true, the highlight will be shown only if the link is exact string a URL.
5
+ */
6
+ linkExact: BooleanConstructor;
7
+ /**
8
+ * Turn off the highlight for active links.
9
+ */
10
+ noPassiveLink: BooleanConstructor;
11
+ /**
12
+ * Turn on the highlight even if the link is not active.
13
+ */
14
+ active: BooleanConstructor;
15
+ variant: {
16
+ type: () => HighlightVariant;
17
+ default: string;
18
+ };
19
+ tag: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ colorClass: {
24
+ type: (StringConstructor | (() => Record<string, boolean>))[];
25
+ default: string;
26
+ };
27
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
28
+ /**
29
+ * If true, the highlight will be shown only if the link is exact string a URL.
30
+ */
31
+ linkExact: BooleanConstructor;
32
+ /**
33
+ * Turn off the highlight for active links.
34
+ */
35
+ noPassiveLink: BooleanConstructor;
36
+ /**
37
+ * Turn on the highlight even if the link is not active.
38
+ */
39
+ active: BooleanConstructor;
40
+ variant: {
41
+ type: () => HighlightVariant;
42
+ default: string;
43
+ };
44
+ tag: {
45
+ type: StringConstructor;
46
+ default: string;
47
+ };
48
+ colorClass: {
49
+ type: (StringConstructor | (() => Record<string, boolean>))[];
50
+ default: string;
51
+ };
52
+ }>>, {
53
+ tag: string;
54
+ linkExact: boolean;
55
+ noPassiveLink: boolean;
56
+ active: boolean;
57
+ variant: HighlightVariant;
58
+ colorClass: string | Record<string, boolean>;
59
+ }, {}>, {
60
+ default?(_: {}): any;
61
+ }>;
62
+ export default _default;
63
+ type __VLS_WithTemplateSlots<T, S> = T & {
64
+ new (): {
65
+ $slots: S;
66
+ };
67
+ };
@@ -0,0 +1,33 @@
1
+ import { type StyleValue } from 'vue';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ shapeClass?: string | Record<string, boolean> | undefined;
4
+ shapeStyle?: StyleValue | undefined;
5
+ filterClass?: string | Record<string, boolean> | undefined;
6
+ filterStyle?: StyleValue | undefined;
7
+ tag?: string | undefined;
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
+ shapeClass?: string | Record<string, boolean> | undefined;
10
+ shapeStyle?: StyleValue | undefined;
11
+ filterClass?: string | Record<string, boolean> | undefined;
12
+ filterStyle?: StyleValue | undefined;
13
+ tag?: string | undefined;
14
+ }>>>, {}, {}>, {
15
+ "shape-content"?(_: {}): any;
16
+ "bg-overlay"?(_: {}): any;
17
+ default?(_: {}): any;
18
+ }>;
19
+ export default _default;
20
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
+ type __VLS_TypePropsToRuntimeProps<T> = {
22
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
23
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
24
+ } : {
25
+ type: import('vue').PropType<T[K]>;
26
+ required: true;
27
+ };
28
+ };
29
+ type __VLS_WithTemplateSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
@@ -0,0 +1,4 @@
1
+ import DWrapFocusHighlight, { type HighlightVariant } from './DWrapFocusHighlight.vue';
2
+ import DWrapBackground from './DWrapBackground.vue';
3
+ import DWrapShape from './DWrapShape.vue';
4
+ export { DWrapFocusHighlight, HighlightVariant, DWrapBackground, DWrapShape };
@@ -0,0 +1,3 @@
1
+ export declare const useDBigBangButtonUtils: () => {
2
+ text: import("vue").Ref<string>;
3
+ };
@@ -0,0 +1,2 @@
1
+ export * from './big-bang-button-utils';
2
+ export * from './utils';
@@ -0,0 +1,17 @@
1
+ import type { RouteLocationRaw } from 'vue-router';
2
+ export interface LinkProps {
3
+ readonly href?: string;
4
+ readonly replace?: boolean;
5
+ readonly to?: RouteLocationRaw;
6
+ readonly exact?: boolean;
7
+ readonly tag?: string;
8
+ }
9
+ export declare function useLink(props: LinkProps): {
10
+ isLink: import("vue").ComputedRef<boolean>;
11
+ isExternalLink: import("vue").ComputedRef<boolean>;
12
+ linkComponent: import("vue-router")._RouterLinkI;
13
+ } | {
14
+ isLink: import("vue").ComputedRef<boolean>;
15
+ isExternalLink: import("vue").ComputedRef<boolean>;
16
+ linkComponent: string;
17
+ };
@@ -0,0 +1,4 @@
1
+ import { getLinkToPaginatedPage } from '../utils/pagination';
2
+ export declare const useDPaginationUtils: () => {
3
+ getLinkToPaginatedPage: typeof getLinkToPaginatedPage;
4
+ };