entangle-ui 0.6.1 → 0.6.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # entangle-ui
2
2
 
3
+ ## 0.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#40](https://github.com/SebastianWebdev/entangle-ui/pull/40) [`e741f82`](https://github.com/SebastianWebdev/entangle-ui/commit/e741f828607ed018073d8b597b6f7695bba94ec7) Thanks [@SebastianWebdev](https://github.com/SebastianWebdev)! - Reword mathExpression JSDoc to avoid socket.dev false positive alerts
8
+
3
9
  ## 0.6.1
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Entangle UI
2
2
 
3
+ [![npm](https://img.shields.io/npm/v/entangle-ui)](https://www.npmjs.com/package/entangle-ui)
4
+ [![Socket Badge](https://socket.dev/api/badge/npm/package/entangle-ui)](https://socket.dev/npm/package/entangle-ui)
5
+
3
6
  React + TypeScript component library for building editor-style interfaces.
4
7
 
5
8
  `entangle-ui` is focused on dense, keyboard-friendly UI patterns used in tools like 3D editors, node editors, scene inspectors, and technical dashboards.
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Safe mathematical expression parser using recursive descent.
3
3
  *
4
- * Evaluates math expressions without `eval()` or `new Function()`.
5
- * The parser only understands numbers, operators, constants, and
6
- * whitelisted math functions there is no code execution vector.
4
+ * Computes math expressions using a hand-written tokenizer and parser.
5
+ * No dynamic code generation is used the parser only understands
6
+ * numbers, operators, constants, and allow-listed math functions.
7
7
  *
8
8
  * Supports:
9
9
  * - Arithmetic: `+`, `-`, `*`, `/`, `**`, `%`
@@ -390,7 +390,6 @@ declare const Button: React.NamedExoticComponent<{
390
390
  onTransitionStart?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
391
391
  onTransitionStartCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
392
392
  form?: string | undefined | undefined;
393
- value?: string | number | readonly string[] | undefined;
394
393
  formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
395
394
  formEncType?: string | undefined | undefined;
396
395
  formMethod?: string | undefined | undefined;
@@ -398,6 +397,7 @@ declare const Button: React.NamedExoticComponent<{
398
397
  formTarget?: string | undefined | undefined;
399
398
  name?: string | undefined | undefined;
400
399
  type?: "submit" | "reset" | "button" | undefined | undefined;
400
+ value?: string | number | readonly string[] | undefined;
401
401
  }>;
402
402
 
403
403
  export { Button };
@@ -347,7 +347,6 @@ declare const IconButton: React.NamedExoticComponent<{
347
347
  onTransitionStart?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
348
348
  onTransitionStartCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
349
349
  form?: string | undefined | undefined;
350
- value?: string | number | readonly string[] | undefined;
351
350
  formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
352
351
  formEncType?: string | undefined | undefined;
353
352
  formMethod?: string | undefined | undefined;
@@ -355,6 +354,7 @@ declare const IconButton: React.NamedExoticComponent<{
355
354
  formTarget?: string | undefined | undefined;
356
355
  name?: string | undefined | undefined;
357
356
  type?: "submit" | "reset" | "button" | undefined | undefined;
357
+ value?: string | number | readonly string[] | undefined;
358
358
  }>;
359
359
 
360
360
  export { IconButton };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "entangle-ui",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "type": "module",
5
5
  "sideEffects": [
6
6
  "*.css",