Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@formkit/pro

Package Overview
Dependencies
Maintainers
4
Versions
495
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formkit/pro - npm Package Compare versions

Comparing version 0.122.6 to 0.122.7-5d2a1fd

18

autocomplete/autocomplete.ts
import { options, defaultIcon, localize } from '@formkit/inputs'
import { FormKitProInput } from '@formkit/pro'
import type { FormKitProInput } from '../index'
import {

@@ -23,9 +23,11 @@ outer,

selections,
} from '../sections/autocompleteSections'
import { $if } from '../compose'
import dropdownFamily from '../features/dropdown-family/index'
import autocompleteProps from '../features/dropdown-family/autocomplete/props'
import searchInput from '../features/dropdown-family/searchInput'
import autocompleteFeatures from '../features/dropdown-family/autocomplete'
import usePopover from '../features/popover'
} from '@formkit/pro/autocomplete'
import {
dropdownFamily,
autocompleteProps,
searchInput,
autocompleteFeatures,
usePopover,
$if,
} from '@formkit/pro'

@@ -32,0 +34,0 @@ /**

@@ -1,2 +0,2 @@

import { FormKitProInput } from '@formkit/pro'
import { FormKitProInput } from '../index'
import {

@@ -44,7 +44,5 @@ outer,

swatch,
} from '../sections/colorpickerSections'
import { $if } from '../compose'
} from '@formkit/pro/colorpicker'
import { defaultIcon, options, localize } from '@formkit/inputs'
import colorFeature from '../features/color'
import usePopover from '../features/popover'
import { colorFeature, usePopover, $if } from '@formkit/pro'

@@ -51,0 +49,0 @@ /**

@@ -1,2 +0,2 @@

import { FormKitProInput } from '@formkit/pro'
import { FormKitProInput } from '../index'
import {

@@ -52,7 +52,5 @@ calendar,

panelClose,
} from '../sections/datepickerSections'
import { useCalendar } from '../features/calendar'
import usePopover from '../features/popover'
} from '@formkit/pro/datepicker'
import { defaultIcon, localize } from '@formkit/inputs'
import maskOverlay from '../features/maskOverlay'
import { useCalendar, usePopover, maskOverlay } from '@formkit/pro'

@@ -59,0 +57,0 @@ /**

@@ -1,2 +0,2 @@

import { FormKitProInput } from '@formkit/pro'
import { FormKitProInput } from '../index'
import { options, defaultIcon, localize } from '@formkit/inputs'

@@ -32,9 +32,11 @@ import {

truncationCount,
} from '../sections/dropdownSections'
import { $if } from '../compose'
import dropdownFamily from '../features/dropdown-family/index'
import dropdownProps from '../features/dropdown-family/dropdown/props'
import selectorHandlers from '../features/dropdown-family/selector'
import dropdownFeatures from '../features/dropdown-family/dropdown'
import usePopover from '../features/popover'
} from '@formkit/pro/dropdown'
import {
dropdownFamily,
dropdownProps,
selectorHandlers,
dropdownFeatures,
usePopover,
$if,
} from '@formkit/pro'

@@ -41,0 +43,0 @@ /**

@@ -7,3 +7,3 @@ import type { AllReals } from '@formkit/inputs';

import type { FormKitMessage } from '@formkit/core';
import type { FormKitNode } from '@formkit/core';
import { FormKitNode } from '@formkit/core';
import type { FormKitOptionsItem } from '@formkit/inputs';

@@ -35,2 +35,6 @@ import type { FormKitOptionsProp } from '@formkit/inputs';

export declare function autocompleteFeatures(node: FormKitNode): void;
export declare function autocompleteProps(node: FormKitNode): void;
/**

@@ -164,2 +168,4 @@ * Data available to autocomplete slots.

export declare function colorFeature(node: FormKitNode): void;
/**

@@ -264,2 +270,8 @@ * Input definition for a colorpicker input.

export declare function dropdownFamily(typeProps: (node: FormKitNode) => void, inputFeatures: (node: FormKitNode) => void, typeFeatures: (node: FormKitNode) => void, node: FormKitNode): void;
export declare function dropdownFeatures(node: FormKitNode): void;
export declare function dropdownProps(node: FormKitNode): void;
/**

@@ -1003,2 +1015,8 @@ * Slot data for dropdown types.

/**
* Adds a mask overlay to a node.
* @param node - node to add a mask overlay to
*/
export declare function maskOverlay(node: FormKitNode): void;
/**
* Defines a specific part of a mask pattern.

@@ -1038,2 +1056,4 @@ */

export declare function rate(node: FormKitNode): void;
/**

@@ -1091,2 +1111,6 @@ * Input definition for a rating input.

export declare function repeats(node: FormKitNode): void;
export declare function searchInput(node: FormKitNode): void;
/**

@@ -1098,2 +1122,4 @@ * A factory that creates createSection functions that are curried with the

export declare function selectorHandlers(node: FormKitNode): void;
/**

@@ -1115,2 +1141,4 @@ * Input definition for a slider input.

export declare function sliderFeature(node: FormKitNode): void;
export declare type SliderIntervals = {

@@ -1172,2 +1200,6 @@ value: number;

export declare function taglistFeatures(node: FormKitNode): void;
export declare function taglistProps(node: FormKitNode): void;
export declare interface TaglistSlotData {

@@ -1228,2 +1260,4 @@ options: FormKitOptionsItem[];

export declare function togglebuttonsFeatures(node: FormKitNode): void;
/**

@@ -1250,2 +1284,4 @@ * Slot data for togglebuttons

export declare function toggles(node: FormKitNode): void;
/**

@@ -1280,2 +1316,4 @@ * Slot data for toggles

export declare function transferListFeature(node: FormKitNode): void;
/**

@@ -1390,2 +1428,11 @@ * Data available to transfer lists.

/**
* Adds datepicker functionality.
*/
export declare function useCalendar(node: FormKitNode): void;
export declare function useMask(node: FormKitNode): void;
export declare function usePopover(node: FormKitNode): void;
declare type Yes = 'true' | true | '';

@@ -1392,0 +1439,0 @@

@@ -1,2 +0,2 @@

import { FormKitProInput } from '@formkit/pro'
import { FormKitProInput } from '../index'
import {

@@ -21,5 +21,4 @@ outer,

overlayInner,
} from '../sections/maskSections'
import useMask from '../features/mask'
import maskOverlay from '../features/maskOverlay'
} from '@formkit/pro/mask'
import { useMask, maskOverlay } from '@formkit/pro'

@@ -26,0 +25,0 @@ /**

{
"name": "@formkit/pro",
"version": "0.122.6",
"version": "0.122.7-5d2a1fd",
"description": "FormKit Pro — Form inputs and tools for high quality forms.",

@@ -12,2 +12,50 @@ "main": "index.cjs",

"exports": {
"./autocomplete": {
"import": "./autocomplete/index.mjs",
"types": "./index.d.ts"
},
"./colorpicker": {
"import": "./colorpicker/index.mjs",
"types": "./index.d.ts"
},
"./datepicker": {
"import": "./datepicker/index.mjs",
"types": "./index.d.ts"
},
"./dropdown": {
"import": "./dropdown/index.mjs",
"types": "./index.d.ts"
},
"./mask": {
"import": "./mask/index.mjs",
"types": "./index.d.ts"
},
"./rating": {
"import": "./rating/index.mjs",
"types": "./index.d.ts"
},
"./repeater": {
"import": "./repeater/index.mjs",
"types": "./index.d.ts"
},
"./slider": {
"import": "./slider/index.mjs",
"types": "./index.d.ts"
},
"./taglist": {
"import": "./taglist/index.mjs",
"types": "./index.d.ts"
},
"./toggle": {
"import": "./toggle/index.mjs",
"types": "./index.d.ts"
},
"./togglebuttons": {
"import": "./togglebuttons/index.mjs",
"types": "./index.d.ts"
},
"./transferlist": {
"import": "./transferlist/index.mjs",
"types": "./index.d.ts"
},
".": {

@@ -14,0 +62,0 @@ "import": "./index.mjs",

import { defaultIcon } from '@formkit/inputs'
import rate from '../features/rate'
import { FormKitProInput } from '@formkit/pro'
import { FormKitProInput } from '../index'
import {

@@ -21,4 +20,6 @@ outer,

suffix,
} from '../sections/ratingSections'
} from '@formkit/pro/rating'
import { rate } from '@formkit/pro'
/**

@@ -25,0 +26,0 @@ * Input definition for a rating input.

@@ -1,2 +0,2 @@

import { FormKitProInput } from '@formkit/pro'
import { FormKitProInput } from '../index'
import {

@@ -31,7 +31,6 @@ outer,

dragHandle,
} from '../sections/repeaterSections'
import repeats from '../features/repeats'
} from '@formkit/pro/repeater'
import { localize, defaultIcon } from '@formkit/inputs'
import { $if } from '../compose'
import { disablesChildren } from '@formkit/inputs'
import { repeats, $if } from '@formkit/pro'

@@ -38,0 +37,0 @@ /**

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

import { FormKitProInput } from '@formkit/pro'
import { default as sliderFeature } from '../features/slider'
import { FormKitProInput } from '../index'
import {

@@ -33,4 +32,4 @@ outer,

chartBar,
} from '../sections/sliderSections'
import { $if } from '../compose'
} from '@formkit/pro/slider'
import { sliderFeature, $if } from '@formkit/pro'

@@ -37,0 +36,0 @@ /**

import { options, defaultIcon, localize } from '@formkit/inputs'
import { FormKitProInput } from '@formkit/pro'
import { FormKitProInput } from '../index'
import {

@@ -23,9 +23,11 @@ outer,

tagLabel,
} from '../sections/taglistSections'
import { $if } from '../compose'
import dropdownFamily from '../features/dropdown-family/index'
import taglistProps from '../features/dropdown-family/taglist/props'
import searchInput from '../features/dropdown-family/searchInput'
import taglistFeatures from '../features/dropdown-family/taglist/index'
import usePopover from '../features/popover'
} from '@formkit/pro/taglist'
import {
dropdownFamily,
taglistProps,
searchInput,
taglistFeatures,
usePopover,
$if,
} from '@formkit/pro'

@@ -32,0 +34,0 @@ /**

@@ -1,2 +0,2 @@

import { FormKitProInput } from '@formkit/pro'
import { FormKitProInput } from '../index'
import {

@@ -18,4 +18,4 @@ outer,

valueLabel,
} from '../sections/toggleSections'
import toggles from '../features/toggles'
} from '@formkit/pro/toggle'
import { toggles } from '@formkit/pro'

@@ -22,0 +22,0 @@ /**

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

import { FormKitProInput } from '@formkit/pro'
import { FormKitProInput } from '../index'
import { options as optionsCore } from '@formkit/inputs'
import { $if } from '../compose'
import {

@@ -16,8 +15,9 @@ outer,

message,
prefix,
prefix,
suffix,
icon,
} from '../sections/togglebuttonsSections'
import togglebuttonsFeatures from '../features/togglebuttons'
} from '@formkit/pro/togglebuttons'
import { togglebuttonsFeatures, $if } from '@formkit/pro'
/**

@@ -43,9 +43,9 @@ * Input definition for a toggle group input.

'$slots.default || $slots.on || ' +
'$option.onLabel || $option.label'
'$option.onLabel || $option.label'
),
buttonInput(
'$slots.default || $slots.off || ' +
'$option.offLabel || $option.label'
'$option.offLabel || $option.label'
)
),
)
)

@@ -58,3 +58,3 @@ )

'$label && ($slots.default || $slots.on || $onLabel)',
label('$label'),
label('$label')
),

@@ -67,14 +67,12 @@ singleToggle(

buttonInput(
'$slots.default || $slots.on || '+
'$onLabel || $label'
'$slots.default || $slots.on || ' + '$onLabel || $label'
),
buttonInput(
'$slots.default || $slots.off || '+
'$offLabel || $label'
'$slots.default || $slots.off || ' + '$offLabel || $label'
)
),
suffix(),
icon('suffix'),
),
),
icon('suffix')
)
)
),

@@ -94,5 +92,3 @@ help('$help'),

*/
props: [
'options'
],
props: ['options'],

@@ -99,0 +95,0 @@ /**

@@ -1,2 +0,2 @@

import { FormKitProInput } from '@formkit/pro'
import { FormKitProInput } from '../index'
import {

@@ -40,6 +40,5 @@ outer,

emptyMessageInner,
} from '../sections/transferListSections'
import { default as transferListFeature } from '../features/transferlist/index'
} from '@formkit/pro/transferList'
import { options, defaultIcon, localize } from '@formkit/inputs'
import { $if } from '../compose'
import { transferListFeature, $if } from '@formkit/pro'

@@ -46,0 +45,0 @@ /**

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc