@cnc-ti/layout-basic 8.1.4 → 8.1.6

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/package.json CHANGED
@@ -1,10 +1,14 @@
1
1
  {
2
2
  "name": "@cnc-ti/layout-basic",
3
- "version": "8.1.4",
3
+ "version": "8.1.6",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.ts",
8
+ "style": "dist/index.css",
9
+ "files": [
10
+ "dist/*"
11
+ ],
8
12
  "scripts": {
9
13
  "build": "tsup src/index.ts --config tsup.config.ts",
10
14
  "dev": "tsup src/index.ts --config tsup.config.ts --watch"
@@ -30,6 +34,13 @@
30
34
  "@radix-ui/react-accordion": "^1.2.1",
31
35
  "@radix-ui/react-slot": "^1.1.0"
32
36
  },
37
+ "exports": {
38
+ ".": {
39
+ "require": "./dist/index.js",
40
+ "import": "./dist/index.mjs",
41
+ "types": "./dist/index.d.ts"
42
+ }
43
+ },
33
44
  "peerDependencies": {
34
45
  "react": ">=18.0.0"
35
46
  }
@@ -1,26 +0,0 @@
1
-
2
- > @cnc-ti/layout-basic@8.1.4 build
3
- > tsup src/index.ts --config tsup.config.ts
4
-
5
- CLI Building entry: src/index.ts
6
- CLI Using tsconfig: tsconfig.json
7
- CLI tsup v8.3.0
8
- CLI Using tsup config: C:\Sistemas\layout-basic\layout-basic\packages\react\tsup.config.ts
9
- CLI Target: esnext
10
- CLI Cleaning output folder
11
- ESM Build start
12
- CJS Build start
13
- DTS Build start
14
- ESM dist\index.mjs 131.06 KB
15
- ESM dist\index.css 19.21 KB
16
- ESM dist\index.mjs.map 682.38 KB
17
- ESM dist\index.css.map 43.13 KB
18
- ESM ⚡️ Build success in 11710ms
19
- CJS dist\index.css 19.21 KB
20
- CJS dist\index.js 133.60 KB
21
- CJS dist\index.css.map 42.91 KB
22
- CJS dist\index.js.map 682.83 KB
23
- CJS ⚡️ Build success in 11780ms
24
- DTS ⚡️ Build success in 13759ms
25
- DTS dist\index.d.mts 8.58 KB
26
- DTS dist\index.d.ts 8.58 KB
package/CHANGELOG.md DELETED
@@ -1,61 +0,0 @@
1
- # @cnc-ti/layout-basic
2
-
3
- ## 8.1.4
4
-
5
- ### Patch Changes
6
-
7
- -
8
-
9
- ## 8.1.3
10
-
11
- ### Patch Changes
12
-
13
- - update do update
14
-
15
- ## 8.1.2
16
-
17
- ### Patch Changes
18
-
19
- - update
20
-
21
- ## 8.1.1
22
-
23
- ### Patch Changes
24
-
25
- - update do update
26
-
27
- ## 8.1.0
28
-
29
- ### Minor Changes
30
-
31
- - update do update do update do update
32
-
33
- ## 8.1.0
34
-
35
- ### Minor Changes
36
-
37
- - Udpate do update do update
38
-
39
- ## 8.0.0
40
-
41
- ### Major Changes
42
-
43
- - Update npm run build
44
-
45
- ## 7.0.0
46
-
47
- ### Major Changes
48
-
49
- - ignore path src
50
-
51
- ## 6.0.0
52
-
53
- ### Major Changes
54
-
55
- - Update package config
56
-
57
- ## 1.0.0
58
-
59
- ### Minor Changes
60
-
61
- - Implementando a primeira versão da lib CNC-Layout.
package/postcss.config.js DELETED
@@ -1,6 +0,0 @@
1
- module.exports = {
2
- plugins: {
3
- tailwindcss: {},
4
- autoprefixer: {},
5
- },
6
- }
@@ -1,65 +0,0 @@
1
- /** @type {import('tailwindcss').Config} */
2
- module.exports = {
3
- content: ["./src/**/*.{jsx,js,ts,tsx}"],
4
- theme: {
5
- extend: {
6
- colors: {
7
- primary: "#0130A4",
8
- "primary-100": "#004C99",
9
- "primary-500": "#032884",
10
- brand: {
11
- "gray-10": "#F5F5F5",
12
- "gray-20": "#E3E3E3",
13
- "gray-50": "#E2E8F0",
14
- "gray-100": "#D2D2D2",
15
- "gray-200": "#64748B",
16
- "gray-400": "#0130A4",
17
- "gray-500": "#032884",
18
- "gray-600": "#666666",
19
- "gray-700": "#8391B3",
20
- "blue-50": "#F7FAFF",
21
- "blue-60": "#e5edff",
22
- "blue-100": "#004C99",
23
- "blue-400": "#0130A4",
24
- "blue-500": "#032884",
25
- "blue-600": "#1f2c4d",
26
- "blue-900": "#191C49",
27
- "green-100": "#25CF60",
28
- "green-200": "#1BB952",
29
- "green-300": "#0F9E41",
30
- "gold-100": "#AD841F",
31
- "gold-400": "#977115",
32
- "gold-500": "#79590D",
33
- "gold-600": "#4E3906",
34
- "red-500": "#EF4444",
35
- "red-600": "#CF4242",
36
- },
37
- },
38
- boxShadow: {
39
- custom: "0px 2px 8px 0px rgba(99, 99, 99, 0.2)",
40
- },
41
- height: {
42
- "screen-minus-70": "calc(100vh - 70px)",
43
- },
44
- display: ["group-data-is-open"],
45
- },
46
- fontFamily: {
47
- sans: ["Montserrat", "sans-serif"],
48
- },
49
- keyframes: {
50
- slideDown: {
51
- from: { height: "0px" },
52
- to: { height: "var(--radix-accordion-content-height)" },
53
- },
54
- slideUp: {
55
- from: { height: "var(--radix-accordion-content-height)" },
56
- to: { height: "0px" },
57
- },
58
- },
59
- animation: {
60
- slideDown: "slideDown 300ms cubic-bezier(0.87, 0, 0.13, 1)",
61
- slideUp: "slideUp 300ms cubic-bezier(0.87, 0, 0.13, 1)",
62
- },
63
- },
64
- plugins: [],
65
- };
package/tsconfig.json DELETED
@@ -1,22 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "composite": false,
4
- "declaration": true,
5
- "declarationMap": true,
6
- "esModuleInterop": true,
7
- "forceConsistentCasingInFileNames": true,
8
- "inlineSources": false,
9
- "isolatedModules": true,
10
- "moduleResolution": "node",
11
- "noUnusedLocals": false,
12
- "noUnusedParameters": false,
13
- "preserveWatchOutput": true,
14
- "skipLibCheck": true,
15
- "strict": true,
16
- "jsx": "react-jsx",
17
- "jsxImportSource": "react",
18
- "lib": ["dom", "ES2015"],
19
- "module": "ESNext",
20
- "target": "ESNext"
21
- }
22
- }
package/tsup.config.ts DELETED
@@ -1,22 +0,0 @@
1
- import { defineConfig } from "tsup";
2
-
3
- export default defineConfig({
4
- entry: ["src/index.ts"], // Caminho para o seu arquivo de entrada
5
- external: ["react", "react-dom"], // Marcar React como externo
6
- format: ["esm", "cjs"], // Formatos de output (ESM e CommonJS)
7
- dts: true, // Gerar arquivos de tipagem .d.ts
8
- splitting: false, // Desativar divisão de código
9
- sourcemap: true, // Gerar sourcemap
10
- clean: true, // Limpar o diretório de build antes de reconstruir
11
- minify: true,
12
- banner: {
13
- js: `import * as React from 'react';
14
- import * as ReactDOM from 'react-dom';
15
-
16
- const require = (moduleName) => {
17
- if (moduleName === 'react') return React;
18
- if (moduleName === 'react-dom') return ReactDOM;
19
- throw new Error(\`Módulo desconhecido: \${moduleName}\`);
20
- };`,
21
- },
22
- });