@terrahq/design-system 0.0.6 → 0.1.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.
- package/README.md +74 -55
- package/bin/terra-ds.mjs +46 -0
- package/dist/style.css +1 -1
- package/package.json +36 -3
- package/src/scss/framework/_var/_vars.scss +16 -9
- package/src/scss/framework/foundation/_foundation.scss +9 -1
- package/src/scss/framework/foundation/background/_background.scss +6 -3
- package/src/scss/framework/foundation/grid/_columns.scss +33 -33
- package/src/scss/framework/foundation/grid/_container.scss +8 -8
- package/src/scss/framework/foundation/grid/_make-container.scss +2 -1
- package/src/scss/framework/foundation/radius/_radius.scss +7 -0
- package/src/scss/framework/foundation/shadow/_shadow.scss +7 -0
- package/src/scss/framework/utilities/_align-items.scss +1 -1
- package/src/scss/framework/utilities/_border.scss +8 -0
- package/src/scss/framework/utilities/_display.scss +3 -3
- package/src/scss/framework/utilities/_font-weight.scss +1 -1
- package/src/scss/framework/utilities/_height.scss +2 -1
- package/src/scss/framework/utilities/_justify-content.scss +1 -1
- package/src/scss/framework/utilities/_position.scss +1 -1
- package/src/scss/framework/utilities/_spacing.scss +12 -15
- package/src/scss/framework/utilities/_utilities.scss +1 -0
- package/src/scss/framework/utilities/_width.scss +2 -1
- package/src/scss/index.scss +4 -2
- package/terra.config.example.js +9 -0
- package/decs.d.ts +0 -2
- package/public/vite.svg +0 -1
- package/src/index.html +0 -67
- package/src/style.css +0 -99
- package/src/vite-env.d.ts +0 -3
- package/tsconfig.json +0 -24
- package/vite.config.js +0 -37
package/vite.config.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { resolve } from 'path'
|
|
2
|
-
import path from 'path';
|
|
3
|
-
import { defineConfig } from 'vite'
|
|
4
|
-
|
|
5
|
-
const root = resolve(__dirname, 'src');
|
|
6
|
-
const outDir = resolve(__dirname, 'dist');
|
|
7
|
-
|
|
8
|
-
// https://vitejs.dev/config/
|
|
9
|
-
export default defineConfig({
|
|
10
|
-
root,
|
|
11
|
-
plugins: [],
|
|
12
|
-
build: {
|
|
13
|
-
outDir,
|
|
14
|
-
emptyOutDir: true,
|
|
15
|
-
lib: {
|
|
16
|
-
entry: 'src/scss/index.scss', // Punto de entrada de tu biblioteca
|
|
17
|
-
name: 'terra-design-system', // Nombre global si se incluye mediante una etiqueta <script>
|
|
18
|
-
// Especifica los formatos de salida deseados
|
|
19
|
-
// formats: ['es', 'umd', 'cjs'],
|
|
20
|
-
},
|
|
21
|
-
rollupOptions: {
|
|
22
|
-
input: {
|
|
23
|
-
main: resolve(root, './scss/index.scss'),
|
|
24
|
-
},
|
|
25
|
-
output: {
|
|
26
|
-
// entryFileNames: `[name].[format].js`,
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
resolve: {
|
|
31
|
-
alias: {
|
|
32
|
-
'@scss': path.resolve(__dirname, './src/scss'),
|
|
33
|
-
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
})
|