@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.
- package/CHANGELOG.md +31 -0
- package/dist/components/DChip.vue.d.ts +2 -0
- package/dist/components/DPagination.vue.d.ts +30 -0
- package/dist/components/DStats.vue.d.ts +27 -0
- package/dist/components/animations/DAnimationAccordion.vue.d.ts +23 -0
- package/dist/components/animations/DAnimationDefLetterD.vue.d.ts +2 -0
- package/dist/components/animations/DAnimationFloatingLetter.vue.d.ts +23 -0
- package/dist/components/animations/DAnimationHypnosis.vue.d.ts +23 -0
- package/dist/components/animations/DAnimationSpinner.vue.d.ts +23 -0
- package/dist/components/animations/index.d.ts +5 -0
- package/dist/components/buttons/DBigBangButton.vue.d.ts +35 -0
- package/dist/components/buttons/DBigBangButtonAnimation.vue.d.ts +2 -0
- package/dist/components/buttons/DBtn.vue.d.ts +97 -0
- package/dist/components/buttons/index.d.ts +4 -0
- package/dist/components/cards/DCard.vue.d.ts +24 -0
- package/dist/components/cards/DCardTitle.vue.d.ts +2 -0
- package/dist/components/cards/index.d.ts +3 -0
- package/dist/components/content/DAlert.vue.d.ts +21 -0
- package/dist/components/content/DQuote.vue.d.ts +21 -0
- package/dist/components/content/index.d.ts +3 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components/lists/DActionsFan.vue.d.ts +55 -0
- package/dist/components/lists/DActionsList.vue.d.ts +50 -0
- package/dist/components/lists/index.d.ts +3 -0
- package/dist/components/utils/DWrapBackground.vue.d.ts +68 -0
- package/dist/components/utils/DWrapFocusHighlight.vue.d.ts +67 -0
- package/dist/components/utils/DWrapShape.vue.d.ts +33 -0
- package/dist/components/utils/index.d.ts +4 -0
- package/dist/composables/big-bang-button-utils.d.ts +3 -0
- package/dist/composables/index.d.ts +2 -0
- package/dist/composables/router.d.ts +17 -0
- package/dist/composables/utils.d.ts +4 -0
- package/dist/esprit-design.js +4595 -0
- package/dist/esprit-design.umd.cjs +17 -0
- package/dist/index.d.ts +3 -0
- package/dist/style.css +1 -0
- package/dist/utils/boundings.d.ts +16 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/pagination.d.ts +1 -0
- package/dist/utils/polygon-animation.d.ts +53 -0
- package/index.html +13 -0
- package/package.json +1 -4
- package/plugins/shadows.js +87 -0
- package/src/components/DChip.vue +32 -0
- package/src/components/DPagination.vue +91 -0
- package/src/components/DStats.vue +502 -0
- package/src/components/animations/DAnimationAccordion.vue +103 -0
- package/src/components/animations/DAnimationDefLetterD.vue +11 -0
- package/src/components/animations/DAnimationFloatingLetter.vue +58 -0
- package/src/components/animations/DAnimationHypnosis.vue +102 -0
- package/src/components/animations/DAnimationSpinner.vue +114 -0
- package/src/components/animations/index.ts +11 -0
- package/src/components/buttons/DBigBangButton.vue +70 -0
- package/src/components/buttons/DBigBangButtonAnimation.vue +117 -0
- package/src/components/buttons/DBtn.vue +106 -0
- package/src/components/buttons/index.ts +5 -0
- package/src/components/cards/DCard.vue +98 -0
- package/src/components/cards/DCardTitle.vue +67 -0
- package/src/components/cards/index.ts +4 -0
- package/src/components/content/DAlert.vue +112 -0
- package/src/components/content/DQuote.vue +71 -0
- package/src/components/content/index.ts +4 -0
- package/src/components/index.ts +12 -0
- package/src/components/lists/DActionsFan.vue +153 -0
- package/src/components/lists/DActionsList.vue +100 -0
- package/src/components/lists/index.ts +4 -0
- package/src/components/utils/DWrapBackground.vue +76 -0
- package/src/components/utils/DWrapFocusHighlight.vue +241 -0
- package/src/components/utils/DWrapShape.vue +170 -0
- package/src/components/utils/index.ts +7 -0
- package/src/composables/big-bang-button-utils.ts +7 -0
- package/src/composables/index.ts +2 -0
- package/src/composables/router.ts +66 -0
- package/src/composables/utils.ts +5 -0
- package/src/index.ts +3 -0
- package/src/style.css +3 -0
- package/src/utils/boundings.ts +35 -0
- package/src/utils/index.ts +3 -0
- package/src/utils/pagination.ts +4 -0
- package/src/utils/polygon-animation.ts +139 -0
- package/src/vite-env.d.ts +1 -0
- package/tailwind.config.js +22 -0
- package/tsconfig.json +25 -0
- package/tsconfig.node.json +10 -0
- 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
|
+
}
|
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
|
+
})
|