New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@rsuite/formik

Package Overview
Dependencies
Maintainers
6
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rsuite/formik - npm Package Compare versions

Comparing version 1.0.0-beta.7 to 1.0.0-beta.8

13

dist/index.d.ts
import { FieldProps } from 'formik';
import { AutoCompleteProps as AutoCompleteProps$1, CascaderProps as CascaderProps$1, CheckboxProps as CheckboxProps$1, CheckboxGroupProps as CheckboxGroupProps$1, CheckPickerProps as CheckPickerProps$1, InputProps as InputProps$1, InputNumberProps as InputNumberProps$1, RadioGroupProps as RadioGroupProps$1, SelectPickerProps as SelectPickerProps$1, TagPickerProps as TagPickerProps$1, ToggleProps as ToggleProps$1 } from 'rsuite';
import { AutoCompleteProps as AutoCompleteProps$1, CascaderProps as CascaderProps$1, CheckboxProps as CheckboxProps$1, CheckboxGroupProps as CheckboxGroupProps$1, CheckPickerProps as CheckPickerProps$1, CheckTreePickerProps as CheckTreePickerProps$1, InputProps as InputProps$1, InputNumberProps as InputNumberProps$1, RadioGroupProps as RadioGroupProps$1, SelectPickerProps as SelectPickerProps$1, TagPickerProps as TagPickerProps$1, ToggleProps as ToggleProps$1 } from 'rsuite';
import * as react from 'react';

@@ -7,2 +7,3 @@ import react__default from 'react';

import * as rsuite_esm_Picker from 'rsuite/esm/Picker';
import * as rsuite_esm_CheckTreePicker from 'rsuite/esm/CheckTreePicker';
import * as rsuite_esm__types_common from 'rsuite/esm/@types/common';

@@ -30,2 +31,10 @@

interface CheckTreePickerProps extends FieldProps<string[]>, CheckTreePickerProps$1<string> {
}
declare const CheckTreePicker: react.ComponentType<FieldProps<any, any> & rsuite_esm__types_utils.Omit<any, rsuite_esm__types_common.WithAsProps<react.ElementType<any>> & CheckTreePickerProps$1<rsuite_esm_CheckTreePicker.ValueType> & {
ref?: react.Ref<rsuite_esm_Picker.PickerInstance> | undefined;
}> & rsuite_esm__types_common.WithAsProps<react.ElementType<any>> & CheckTreePickerProps$1<rsuite_esm_CheckTreePicker.ValueType> & {
ref?: react.Ref<rsuite_esm_Picker.PickerInstance> | undefined;
}>;
interface InputProps extends FieldProps<string>, Omit<InputProps$1, "form"> {

@@ -60,2 +69,2 @@ }

export { AutoComplete, AutoCompleteProps, Cascader, CascaderProps, CheckPicker, CheckPickerProps, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, Input, InputNumber, InputNumberProps, InputProps, RadioGroup, RadioGroupProps, SelectPicker, SelectPickerProps, TagPicker, TagPickerProps, Toggle, ToggleProps };
export { AutoComplete, AutoCompleteProps, Cascader, CascaderProps, CheckPicker, CheckPickerProps, CheckTreePicker, CheckTreePickerProps, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, Input, InputNumber, InputNumberProps, InputProps, RadioGroup, RadioGroupProps, SelectPicker, SelectPickerProps, TagPicker, TagPickerProps, Toggle, ToggleProps };

30

dist/index.js

@@ -57,2 +57,3 @@ var __create = Object.create;

CheckPicker: () => CheckPicker,
CheckTreePicker: () => CheckTreePicker,
Checkbox: () => Checkbox,

@@ -198,7 +199,11 @@ CheckboxGroup: () => CheckboxGroup,

// src/CheckTreePicker.tsx
var import_rsuite6 = require("rsuite");
var CheckTreePicker = formikCompatible_default(import_rsuite6.CheckTreePicker);
// src/Input.tsx
var import_rsuite6 = require("rsuite");
var import_rsuite7 = require("rsuite");
function Input(_a) {
var _b = _a, { field, form, meta, onChange } = _b, props = __objRest(_b, ["field", "form", "meta", "onChange"]);
return /* @__PURE__ */ import_react.default.createElement(import_rsuite6.Input, __spreadValues(__spreadProps(__spreadValues({}, field), {
return /* @__PURE__ */ import_react.default.createElement(import_rsuite7.Input, __spreadValues(__spreadProps(__spreadValues({}, field), {
onChange: (newValue, event) => {

@@ -212,3 +217,3 @@ field.onChange(event);

// src/InputNumber.tsx
var import_rsuite7 = require("rsuite");
var import_rsuite8 = require("rsuite");
function InputNumber(_a) {

@@ -226,3 +231,3 @@ var _b = _a, {

]);
return /* @__PURE__ */ import_react.default.createElement(import_rsuite7.InputNumber, __spreadValues(__spreadProps(__spreadValues({}, field), {
return /* @__PURE__ */ import_react.default.createElement(import_rsuite8.InputNumber, __spreadValues(__spreadProps(__spreadValues({}, field), {
onChange: (newValue, event) => {

@@ -236,3 +241,3 @@ form.setFieldValue(field.name, newValue);

// src/RadioGroup.tsx
var import_rsuite8 = require("rsuite");
var import_rsuite9 = require("rsuite");
function RadioGroup(_a) {

@@ -250,3 +255,3 @@ var _b = _a, {

]);
return /* @__PURE__ */ import_react.default.createElement(import_rsuite8.RadioGroup, __spreadValues(__spreadProps(__spreadValues({}, field), {
return /* @__PURE__ */ import_react.default.createElement(import_rsuite9.RadioGroup, __spreadValues(__spreadProps(__spreadValues({}, field), {
onChange: (newValue, event) => {

@@ -261,3 +266,3 @@ field.onChange(event);

var import_react4 = __toESM(require("react"));
var import_rsuite9 = require("rsuite");
var import_rsuite10 = require("rsuite");
function SelectPicker(_a) {

@@ -275,3 +280,3 @@ var _b = _a, {

]);
return /* @__PURE__ */ import_react4.default.createElement(import_rsuite9.SelectPicker, __spreadValues({
return /* @__PURE__ */ import_react4.default.createElement(import_rsuite10.SelectPicker, __spreadValues({
value: field.value,

@@ -286,10 +291,10 @@ onChange: (newValue, event) => {

// src/TagPicker.tsx
var import_rsuite10 = require("rsuite");
var TagPicker = formikCompatible_default(import_rsuite10.TagPicker);
var import_rsuite11 = require("rsuite");
var TagPicker = formikCompatible_default(import_rsuite11.TagPicker);
// src/Toggle.tsx
var import_rsuite11 = require("rsuite");
var import_rsuite12 = require("rsuite");
function Toggle(_a) {
var _b = _a, { field, meta, form, onChange } = _b, props = __objRest(_b, ["field", "meta", "form", "onChange"]);
return /* @__PURE__ */ import_react.default.createElement(import_rsuite11.Toggle, __spreadValues({
return /* @__PURE__ */ import_react.default.createElement(import_rsuite12.Toggle, __spreadValues({
name: field.name,

@@ -308,2 +313,3 @@ checked: field.value,

CheckPicker,
CheckTreePicker,
Checkbox,

@@ -310,0 +316,0 @@ CheckboxGroup,

{
"name": "@rsuite/formik",
"version": "1.0.0-beta.7",
"version": "1.0.0-beta.8",
"description": "Formik-compatible React Suite components",

@@ -5,0 +5,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc