siam-ui-utils 2.2.2 → 2.2.3

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/eslint.config.mjs CHANGED
@@ -1,41 +1,41 @@
1
- import js from '@eslint/js';
2
- import globals from 'globals';
3
- import pluginReact from 'eslint-plugin-react';
4
- import pluginReactHooks from 'eslint-plugin-react-hooks';
5
- import pluginReactRefresh from 'eslint-plugin-react-refresh';
6
- import { defineConfig } from 'eslint/config';
7
-
8
- export default defineConfig([
9
- { ignores: ['build', '**/*.d.ts'] },
10
- {
11
- files: ['**/*.{js,jsx,ts,tsx}'],
12
- languageOptions: {
13
- ecmaVersion: 'latest',
14
- sourceType: 'module',
15
- globals: globals.browser,
16
- parserOptions: {
17
- ecmaFeatures: { jsx: true },
18
- },
19
- },
20
- plugins: {
21
- react: pluginReact,
22
- 'react-hooks': pluginReactHooks,
23
- 'react-refresh': pluginReactRefresh,
24
- },
25
- rules: {
26
- ...js.configs.recommended.rules,
27
- ...pluginReact.configs.recommended.rules,
28
- ...pluginReact.configs['jsx-runtime'].rules,
29
- ...pluginReactHooks.configs.recommended.rules,
30
- 'react/jsx-no-target-blank': 'off',
31
- 'react-refresh/only-export-components': [
32
- 'off',
33
- { allowConstantExport: true },
34
- ],
35
- 'react/prop-types': 'off',
36
- '@/no-default-export': 'off',
37
- 'no-unused-vars': 'warn',
38
- },
39
- settings: { react: { version: 'detect' } },
40
- },
41
- ]);
1
+ import js from '@eslint/js';
2
+ import globals from 'globals';
3
+ import pluginReact from 'eslint-plugin-react';
4
+ import pluginReactHooks from 'eslint-plugin-react-hooks';
5
+ import pluginReactRefresh from 'eslint-plugin-react-refresh';
6
+ import { defineConfig } from 'eslint/config';
7
+
8
+ export default defineConfig([
9
+ { ignores: ['build', '**/*.d.ts'] },
10
+ {
11
+ files: ['**/*.{js,jsx,ts,tsx}'],
12
+ languageOptions: {
13
+ ecmaVersion: 'latest',
14
+ sourceType: 'module',
15
+ globals: globals.browser,
16
+ parserOptions: {
17
+ ecmaFeatures: { jsx: true },
18
+ },
19
+ },
20
+ plugins: {
21
+ react: pluginReact,
22
+ 'react-hooks': pluginReactHooks,
23
+ 'react-refresh': pluginReactRefresh,
24
+ },
25
+ rules: {
26
+ ...js.configs.recommended.rules,
27
+ ...pluginReact.configs.recommended.rules,
28
+ ...pluginReact.configs['jsx-runtime'].rules,
29
+ ...pluginReactHooks.configs.recommended.rules,
30
+ 'react/jsx-no-target-blank': 'off',
31
+ 'react-refresh/only-export-components': [
32
+ 'off',
33
+ { allowConstantExport: true },
34
+ ],
35
+ 'react/prop-types': 'off',
36
+ '@/no-default-export': 'off',
37
+ 'no-unused-vars': 'warn',
38
+ },
39
+ settings: { react: { version: 'detect' } },
40
+ },
41
+ ]);
package/index.d.ts CHANGED
@@ -9,6 +9,12 @@ declare module 'siam-ui-utils' {
9
9
  //CUSTOMSELECTINPUT
10
10
  export function CustomSelectInput(props);
11
11
 
12
+ //CUSTOMINPUTCHECKBOX
13
+ export function CustomInputCheckbox(props);
14
+
15
+ //CUSTOMINPUTRADIO
16
+ export function CustomInputRadio(props);
17
+
12
18
  //DROPZONEUploader
13
19
  export function DropzoneUploader(props);
14
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "siam-ui-utils",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "keywords": [
5
5
  "ampf-react",
6
6
  "ampf-utils",