@gustavo-valsechi/client 1.3.30 → 1.3.31
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/dist/components/types/badge/index.js +1 -1
- package/dist/components/types/badge/index.mjs +1 -1
- package/dist/components/types/chart/index.js +1 -1
- package/dist/components/types/chart/index.mjs +1 -1
- package/dist/components/types/table/index.js +2 -2
- package/dist/components/types/table/index.mjs +2 -2
- package/dist/components/types/table/modal/actions.js +1 -1
- package/dist/components/types/table/modal/actions.mjs +1 -1
- package/dist/components/types/table/modal/index.js +1 -1
- package/dist/components/types/table/modal/index.mjs +1 -1
- package/package.json +8 -4
|
@@ -35,7 +35,7 @@ __export(badge_exports, {
|
|
|
35
35
|
module.exports = __toCommonJS(badge_exports);
|
|
36
36
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
37
37
|
var import_styles = require("./styles");
|
|
38
|
-
var import_contexts = require("
|
|
38
|
+
var import_contexts = require("../../../contexts");
|
|
39
39
|
var import_lodash = __toESM(require("lodash"));
|
|
40
40
|
function Badge(props) {
|
|
41
41
|
const { content } = (0, import_contexts.useTheme)();
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { Container } from "./styles";
|
|
5
|
-
import { useTheme } from "
|
|
5
|
+
import { useTheme } from "../../../contexts";
|
|
6
6
|
import _ from "lodash";
|
|
7
7
|
function Badge(props) {
|
|
8
8
|
const { content } = useTheme();
|
|
@@ -35,7 +35,7 @@ __export(chart_exports, {
|
|
|
35
35
|
module.exports = __toCommonJS(chart_exports);
|
|
36
36
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
37
37
|
var import_styles = require("./styles");
|
|
38
|
-
var import_contexts = require("
|
|
38
|
+
var import_contexts = require("../../../contexts");
|
|
39
39
|
var import_dynamic = __toESM(require("next/dynamic"));
|
|
40
40
|
var import_lodash = __toESM(require("lodash"));
|
|
41
41
|
const ApexChart = (0, import_dynamic.default)(() => import("react-apexcharts").then((mod) => mod.default), { ssr: false });
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { Container } from "./styles";
|
|
5
|
-
import { useTheme } from "
|
|
5
|
+
import { useTheme } from "../../../contexts";
|
|
6
6
|
import dynamic from "next/dynamic";
|
|
7
7
|
import _ from "lodash";
|
|
8
8
|
const ApexChart = dynamic(() => import("react-apexcharts").then((mod) => mod.default), { ssr: false });
|
|
@@ -37,9 +37,9 @@ module.exports = __toCommonJS(table_exports);
|
|
|
37
37
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
38
38
|
var import_react = require("react");
|
|
39
39
|
var import_styles = require("./styles");
|
|
40
|
-
var import_components = require("
|
|
40
|
+
var import_components = require("../../../components");
|
|
41
41
|
var import_paginate = require("./paginate");
|
|
42
|
-
var import_contexts = require("
|
|
42
|
+
var import_contexts = require("../../../contexts");
|
|
43
43
|
var import_lodash = __toESM(require("lodash"));
|
|
44
44
|
var import_modal = __toESM(require("./modal"));
|
|
45
45
|
__reExport(table_exports, require("./paginate"), module.exports);
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import { useEffect } from "react";
|
|
5
5
|
import { Container } from "./styles";
|
|
6
|
-
import { LoadingBar } from "
|
|
6
|
+
import { LoadingBar } from "../../../components";
|
|
7
7
|
import { Paginate } from "./paginate";
|
|
8
|
-
import { useModal, useTheme } from "
|
|
8
|
+
import { useModal, useTheme } from "../../../contexts";
|
|
9
9
|
import _ from "lodash";
|
|
10
10
|
import Modal from "./modal";
|
|
11
11
|
export * from "./paginate";
|
|
@@ -22,7 +22,7 @@ __export(actions_exports, {
|
|
|
22
22
|
default: () => actions_default
|
|
23
23
|
});
|
|
24
24
|
module.exports = __toCommonJS(actions_exports);
|
|
25
|
-
var import_content = require("
|
|
25
|
+
var import_content = require("../../../../contexts/theme/content");
|
|
26
26
|
const actionConfig = {
|
|
27
27
|
"fa-solid fa-pen-to-square": { label: "editar" },
|
|
28
28
|
"fa-solid fa-trash-can": { label: "remover", color: import_content.CommonTheme.negative }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { CommonTheme } from "
|
|
2
|
+
import { CommonTheme } from "../../../../contexts/theme/content";
|
|
3
3
|
const actionConfig = {
|
|
4
4
|
"fa-solid fa-pen-to-square": { label: "editar" },
|
|
5
5
|
"fa-solid fa-trash-can": { label: "remover", color: CommonTheme.negative }
|
|
@@ -37,7 +37,7 @@ var import_jsx_runtime = require("react/jsx-runtime");
|
|
|
37
37
|
var import_styles = require("./styles");
|
|
38
38
|
var import_styles2 = require("../styles");
|
|
39
39
|
var import__ = require("../../..");
|
|
40
|
-
var import_contexts = require("
|
|
40
|
+
var import_contexts = require("../../../../contexts");
|
|
41
41
|
var import_lodash = __toESM(require("lodash"));
|
|
42
42
|
var import_actions = __toESM(require("./actions"));
|
|
43
43
|
function Modal(props) {
|
|
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
import { Content } from "./styles";
|
|
5
5
|
import { Container } from "../styles";
|
|
6
6
|
import { Component } from "../../..";
|
|
7
|
-
import { useModal } from "
|
|
7
|
+
import { useModal } from "../../../../contexts";
|
|
8
8
|
import _ from "lodash";
|
|
9
9
|
import actionConfig from "./actions";
|
|
10
10
|
function Modal(props) {
|
package/package.json
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gustavo-valsechi/client",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.31",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
-
"files": [
|
|
7
|
+
"files": [
|
|
8
|
+
"dist"
|
|
9
|
+
],
|
|
8
10
|
"license": "UNLICENSED",
|
|
9
11
|
"scripts": {
|
|
10
12
|
"clean": "rimraf dist && rimraf node_modules/.cache",
|
|
11
13
|
"build:types": "tsc -p tsconfig.json",
|
|
12
|
-
"build:js": "tsup",
|
|
13
|
-
"build": "npm run clean && npm run build:js && npm run build:types"
|
|
14
|
+
"build:js": "tsup && tsc-alias",
|
|
15
|
+
"build": "npm run clean && npm run build:js && npm run build:types",
|
|
16
|
+
"publish": "npm publish --access public"
|
|
14
17
|
},
|
|
15
18
|
"peerDependencies": {
|
|
16
19
|
"react": "18.3.1",
|
|
@@ -47,6 +50,7 @@
|
|
|
47
50
|
"react-dom": "18.3.1",
|
|
48
51
|
"rimraf": "6.1.0",
|
|
49
52
|
"styled-components": "6.1.12",
|
|
53
|
+
"tsc-alias": "^1.8.16",
|
|
50
54
|
"typescript": "5.5.4"
|
|
51
55
|
},
|
|
52
56
|
"publishConfig": {
|