Socket
Socket
Sign inDemoInstall

@launchpad-ui/form

Package Overview
Dependencies
53
Maintainers
1
Versions
141
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.11.4 to 0.11.5

2

dist/FieldError.d.ts

@@ -0,3 +1,3 @@

import type { ComponentProps } from 'react';
import type { FieldPath } from './utils';
import type { ComponentProps } from 'react';
type FieldErrorProps = ComponentProps<'span'> & {

@@ -4,0 +4,0 @@ name: FieldPath;

@@ -318,2 +318,3 @@ import './style.css';

className,
// biome-ignore lint/correctness/noUnusedVariables: <explanation>
name,

@@ -360,3 +361,3 @@ ignoreValidation,

const handleBlur = () => {
onBlur && onBlur(name);
onBlur == null ? void 0 : onBlur(name);
};

@@ -550,3 +551,4 @@ return /* @__PURE__ */ jsxs(

const useNumberField = ({
className: rootClassName,
// biome-ignore lint/correctness/noUnusedVariables: <explanation>
className,
"data-test-id": testId = "input",

@@ -598,3 +600,12 @@ id,

const { buttonProps } = useButton(props, buttonRef);
return /* @__PURE__ */ jsx("button", { ...buttonProps, className: styles["numberField-stepper"], ref: buttonRef, children: props.children });
return /* @__PURE__ */ jsx(
"button",
{
type: "button",
...buttonProps,
className: styles["numberField-stepper"],
ref: buttonRef,
children: props.children
}
);
};

@@ -601,0 +612,0 @@ export {

@@ -320,2 +320,3 @@ require('./style.css');

className,
// biome-ignore lint/correctness/noUnusedVariables: <explanation>
name,

@@ -362,3 +363,3 @@ ignoreValidation,

const handleBlur = () => {
onBlur && onBlur(name);
onBlur == null ? void 0 : onBlur(name);
};

@@ -552,3 +553,4 @@ return /* @__PURE__ */ jsxRuntime.jsxs(

const useNumberField = ({
className: rootClassName,
// biome-ignore lint/correctness/noUnusedVariables: <explanation>
className,
"data-test-id": testId = "input",

@@ -600,3 +602,12 @@ id,

const { buttonProps } = button$1.useButton(props, buttonRef);
return /* @__PURE__ */ jsxRuntime.jsx("button", { ...buttonProps, className: styles["numberField-stepper"], ref: buttonRef, children: props.children });
return /* @__PURE__ */ jsxRuntime.jsx(
"button",
{
type: "button",
...buttonProps,
className: styles["numberField-stepper"],
ref: buttonRef,
children: props.children
}
);
};

@@ -603,0 +614,0 @@ exports.Checkbox = Checkbox;

@@ -10,3 +10,3 @@ /// <reference types="react" />

};
declare const useNumberField: ({ className: rootClassName, "data-test-id": testId, id, name, ...otherProps }?: UseNumberFieldProps) => {
declare const useNumberField: ({ className, "data-test-id": testId, id, name, ...otherProps }?: UseNumberFieldProps) => {
fieldErrorProps: ReturnType<typeof useReactAriaNumberField>['errorMessageProps'];

@@ -13,0 +13,0 @@ formHintProps: ReturnType<typeof useReactAriaNumberField>['descriptionProps'];

{
"name": "@launchpad-ui/form",
"version": "0.11.4",
"version": "0.11.5",
"status": "beta",

@@ -29,12 +29,12 @@ "publishConfig": {

"dependencies": {
"@react-aria/button": "3.9.2",
"@react-aria/i18n": "3.10.1",
"@react-aria/numberfield": "3.11.0",
"@react-aria/visually-hidden": "3.8.9",
"@react-stately/numberfield": "3.9.0",
"@react-aria/button": "3.9.3",
"@react-aria/i18n": "3.10.2",
"@react-aria/numberfield": "3.11.1",
"@react-aria/visually-hidden": "3.8.10",
"@react-stately/numberfield": "3.9.1",
"classix": "2.1.17",
"@launchpad-ui/button": "~0.12.3",
"@launchpad-ui/icons": "~0.16.3",
"@launchpad-ui/tokens": "~0.9.6",
"@launchpad-ui/tooltip": "~0.9.4"
"@launchpad-ui/button": "~0.12.4",
"@launchpad-ui/icons": "~0.16.4",
"@launchpad-ui/tokens": "~0.9.7",
"@launchpad-ui/tooltip": "~0.9.5"
},

@@ -52,5 +52,5 @@ "peerDependencies": {

"clean": "rm -rf dist",
"lint": "eslint '**/*.{ts,tsx,js}' && stylelint '**/*.css' --ignore-path ../../.stylelintignore",
"lint": "stylelint '**/*.css' --ignore-path ../../.stylelintignore",
"test": "vitest run --coverage"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc