@panneau/field-number 4.0.55 → 4.0.56

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/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
 
3
3
  interface NumberFieldProps {
4
4
  value?: number | string | null;
@@ -12,7 +12,7 @@ interface NumberFieldProps {
12
12
  onChange?: ((value: number | string | null) => void) | null;
13
13
  [key: string]: unknown;
14
14
  }
15
- declare function NumberField({ value, step, floatStep, float, dataList, autoComplete, disabled, className, onChange, ...props }: NumberFieldProps): react_jsx_runtime.JSX.Element;
15
+ declare function NumberField({ value, step, floatStep, float, dataList, autoComplete, disabled, className, onChange, ...props }: NumberFieldProps): react.JSX.Element;
16
16
 
17
17
  declare namespace _default {
18
18
  let id: string;
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { c } from 'react/compiler-runtime';
2
2
  import classNames from 'classnames';
3
- import isNaN from 'lodash/isNaN';
4
- import isNumber from 'lodash/isNumber';
3
+ import isNaN from 'lodash-es/isNaN';
4
+ import isNumber from 'lodash-es/isNumber';
5
5
  import { useState } from 'react';
6
6
  import Icon from '@panneau/element-icon';
7
7
  import TextField from '@panneau/field-text';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/field-number",
3
- "version": "4.0.55",
3
+ "version": "4.0.56",
4
4
  "description": "A number field",
5
5
  "keywords": [
6
6
  "javascript"
@@ -36,6 +36,9 @@
36
36
  "type": "module",
37
37
  "module": "dist/index.js",
38
38
  "types": "dist/index.d.ts",
39
+ "sideEffects": [
40
+ "**/*.css"
41
+ ],
39
42
  "style": "assets/css/styles.css",
40
43
  "exports": {
41
44
  ".": {
@@ -64,15 +67,15 @@
64
67
  },
65
68
  "dependencies": {
66
69
  "@babel/runtime": "^7.28.6",
67
- "@panneau/core": "^4.0.55",
68
- "@panneau/element-icon": "^4.0.55",
69
- "@panneau/field-text": "^4.0.55",
70
- "@panneau/themes": "^4.0.55",
70
+ "@panneau/core": "^4.0.56",
71
+ "@panneau/element-icon": "^4.0.56",
72
+ "@panneau/field-text": "^4.0.56",
73
+ "@panneau/themes": "^4.0.56",
71
74
  "classnames": "^2.5.1",
72
75
  "lodash": "^4.17.21"
73
76
  },
74
77
  "publishConfig": {
75
78
  "access": "public"
76
79
  },
77
- "gitHead": "1c9183567fc5bf98ba10fa57c63cf2ed2ae4a054"
80
+ "gitHead": "9c3ba1bdd04699e0150f84a35f2bdbdec073bd59"
78
81
  }