siam-ui-utils 2.0.23 → 2.0.25

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/src/index.js CHANGED
@@ -1,7 +1,6 @@
1
- export * from './archivos-adjuntos'
2
- export * from './archivos-adjuntos/dropzone-uploader-dni-digital'
3
- export * from './bridges'
4
- export * from './CustomBootstrap'
5
- export * from './CustomSelectInput'
6
- export * from './IntlMessages'
7
- export * from './tomar-foto'
1
+ export * from './archivos-adjuntos';
2
+ export * from './archivos-adjuntos/dropzone-uploader-dni-digital';
3
+ export * from './bridges';
4
+ export * from './CustomBootstrap';
5
+ export * from './CustomSelectInput';
6
+ export * from './tomar-foto';
package/src/main.jsx ADDED
@@ -0,0 +1,7 @@
1
+ import { createRoot } from 'react-dom/client';
2
+ import './assets/css/vendor/bootstrap.min.css';
3
+ import './assets/css/vendor/bootstrap.rtl.only.min.css';
4
+
5
+ import App from './App';
6
+
7
+ createRoot(document.getElementById('root')).render(<App />);
package/vite.config.ts CHANGED
@@ -1,10 +1,11 @@
1
1
  import react from "@vitejs/plugin-react";
2
2
  import { defineConfig } from "vitest/config";
3
3
  import eslint from 'vite-plugin-eslint';
4
+ import commonjs from 'vite-plugin-commonjs'
4
5
 
5
6
  export default defineConfig({
6
- plugins: [react(), eslint()],
7
- test: {
8
- globals: true,
9
- },
7
+ plugins: [react(), eslint(), commonjs()],
8
+ test: {
9
+ globals: true,
10
+ },
10
11
  });
@@ -1,11 +0,0 @@
1
-
2
- import {
3
- FormattedMessage,
4
- injectIntl
5
- } from 'react-intl';
6
-
7
- const _InjectMassage = (props: any) => <FormattedMessage {...props} />;
8
-
9
- export const IntlMessages = injectIntl(_InjectMassage, {
10
- withRef: false,
11
- } as any);