siam-ui-utils 3.0.9 → 3.0.11

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.
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
3
  import { Button } from "reactstrap";
4
4
  import copiarIcon from "../assets/img/copiar.png.js";
5
- /* empty css */
5
+ import "./styles.css";
6
6
  const copyToClipboard = async (text) => {
7
7
  try {
8
8
  if (!text) return false;
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { FormGroup, Input, Label } from "reactstrap";
3
- /* empty css */
3
+ import "./index.css";
4
4
  const CustomInputCheckbox = ({
5
5
  className,
6
6
  id,
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
3
  import { FormGroup, Label, Input } from "reactstrap";
4
4
  import { MENSAJE } from "./constant.js";
5
- /* empty css */
5
+ import "./index.css";
6
6
  const CustomInputFile = ({
7
7
  accept,
8
8
  className = "",
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { FormGroup, Input, Label } from "reactstrap";
3
- /* empty css */
3
+ import "./index.css";
4
4
  const CustomInputRadio = ({
5
5
  className,
6
6
  customClassName,
@@ -1,3 +1,4 @@
1
+ import "./index.css";
1
2
  import { CustomInputCheckbox } from "./CustomInputCheckbox.js";
2
3
  import { CustomInputRadio } from "./CustomInputRadio.js";
3
4
  import { CustomInputFile } from "./CustomInputFile.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
@@ -4,7 +4,7 @@ import { MultiSelect as je } from "../../node_modules/react-multi-select-compone
4
4
  import { Row, Col } from "reactstrap";
5
5
  import BadgeLabelMultiSelect from "./badge-label-multi-select.js";
6
6
  import { BadgeWrapper, ClickableBadge } from "./styled-component.js";
7
- /* empty css */
7
+ import "./index.css";
8
8
  const CustomMultiSelect = ({
9
9
  lista = [],
10
10
  onListaUpdate = () => {
@@ -2,10 +2,10 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { getDroppedOrSelectedFiles } from "html5-file-selector";
3
3
  import { useState, useEffect } from "react";
4
4
  import Dropzone from "../dropzone/Dropzone.js";
5
- /* empty css */
6
- import { pdfImage } from "../iconos/constants-svg.js";
5
+ import "./dropzone-uploader.css";
6
+ import "./dropzone-uploader.css";
7
7
  import { IconButtonSvg as _t } from "../iconos/icon-button-svg.js";
8
- /* empty css */
8
+ import { pdfImage } from "../iconos/constants-svg.js";
9
9
  const maxSize = 7;
10
10
  const DropzoneUploader = ({
11
11
  onChangeFiles,
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useState, useRef, useEffect } from "react";
3
- /* empty css */
3
+ import "./styles.css";
4
4
  const formatTiempo = (ms) => {
5
5
  if (ms == null) return "--:--";
6
6
  const absMs = Math.abs(ms);
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- /* empty css */
2
+ import "./styles.css";
3
3
  const ButtonEditor = ({ activo, onClick }) => /* @__PURE__ */ jsx(
4
4
  "button",
5
5
  {
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- /* empty css */
2
+ import "./styles.css";
3
3
  const EditorLayer = ({ gridCols, gridRows }) => {
4
4
  return /* @__PURE__ */ jsx(
5
5
  "div",
@@ -4,7 +4,7 @@ import SlotWrapper from "./slot-wrapper.js";
4
4
  import EditorLayer from "./editor-layer.js";
5
5
  import { GRID_SIZES, LOCALHOST } from "./constants.js";
6
6
  import ButtonEditor from "./button-editor.js";
7
- /* empty css */
7
+ import "./styles.css";
8
8
  const ViewLayout = ({
9
9
  slots = [],
10
10
  size = "md",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "siam-ui-utils",
3
- "version": "3.0.9",
3
+ "version": "3.0.11",
4
4
  "keywords": [
5
5
  "ampf-react",
6
6
  "ampf-utils",
@@ -11,6 +11,10 @@
11
11
  "description": "Conjunto de librerias de componentes utiles para AMPF",
12
12
  "type": "module",
13
13
  "types": "./index.d.ts",
14
+ "sideEffects": [
15
+ "**/*.css",
16
+ "**/*.scss"
17
+ ],
14
18
  "exports": {
15
19
  ".": {
16
20
  "import": "./dist/index.js",