@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,22 @@
1
+ /* eslint-disable @typescript-eslint/no-var-requires */
2
+ const defaultTheme = require('tailwindcss/defaultTheme')
3
+
4
+ /** @type {import('tailwindcss').Config} */
5
+ module.exports = {
6
+ darkMode: 'class',
7
+ content: ['./src/**/*.{vue,js,ts,jsx,tsx}'],
8
+ theme: {
9
+ fontFamily: {
10
+ sans: ['Roboto', ...defaultTheme.fontFamily.sans],
11
+ serif: ['"Roboto Slab"', ...defaultTheme.fontFamily.sans],
12
+ mono: ['"JetBrains Mono"', ...defaultTheme.fontFamily.mono],
13
+ dialog: ['Arsenal']
14
+ },
15
+ extend: {
16
+ screens: {
17
+ print: { raw: 'print' }
18
+ }
19
+ }
20
+ },
21
+ plugins: [require('./plugins/shadows')]
22
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2020",
4
+ "useDefineForClassFields": true,
5
+ "module": "ESNext",
6
+ "lib": ["ES2020", "DOM", "DOM.Iterable"],
7
+ "skipLibCheck": true,
8
+
9
+ /* Bundler mode */
10
+ "moduleResolution": "bundler",
11
+ "resolveJsonModule": true,
12
+ "isolatedModules": true,
13
+ "jsx": "preserve",
14
+ "outDir": "dist",
15
+ "declaration": true,
16
+
17
+ /* Linting */
18
+ "strict": true,
19
+ "noUnusedLocals": true,
20
+ "noUnusedParameters": true,
21
+ "noFallthroughCasesInSwitch": true
22
+ },
23
+ "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
24
+ "references": [{ "path": "./tsconfig.node.json" }]
25
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "compilerOptions": {
3
+ "composite": true,
4
+ "skipLibCheck": true,
5
+ "module": "ESNext",
6
+ "moduleResolution": "bundler",
7
+ "allowSyntheticDefaultImports": true
8
+ },
9
+ "include": ["vite.config.ts"]
10
+ }
package/vite.config.ts ADDED
@@ -0,0 +1,35 @@
1
+ import { resolve } from 'path'
2
+ import { defineConfig, splitVendorChunkPlugin } from 'vite'
3
+ import dts from 'vite-plugin-dts'
4
+ import vue from '@vitejs/plugin-vue'
5
+
6
+ // https://vitejs.dev/config/
7
+ export default defineConfig({
8
+ plugins: [
9
+ vue(),
10
+ splitVendorChunkPlugin(),
11
+ dts({
12
+ insertTypesEntry: true
13
+ })
14
+ ],
15
+ build: {
16
+ lib: {
17
+ // src/indext.ts is where we have exported the component(s)
18
+ entry: resolve(__dirname, 'src'),
19
+ name: 'EspritDesign',
20
+ fileName: 'esprit-design'
21
+ },
22
+ rollupOptions: {
23
+ // make sure to externalize deps that shouldn't be bundled
24
+ // into your library
25
+ external: ['vue'],
26
+ output: {
27
+ // Provide global variables to use in the UMD build
28
+ // for externalized deps
29
+ globals: {
30
+ vue: 'Vue'
31
+ }
32
+ }
33
+ }
34
+ }
35
+ })