Socket
Socket
Sign inDemoInstall

@contentful/f36-forms

Package Overview
Dependencies
Maintainers
100
Versions
376
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/f36-forms - npm Package Compare versions

Comparing version 4.0.1-next-v4-4528.2001 to 4.0.1-next-v4-4531.2002

src/radio-button-field/__snapshots__/RadioButtonField.test.tsx.snap

2

dist/main.js

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

var e=m(require("@babel/runtime/helpers/extends")),{cx:t,css:l}=require("emotion"),r=require("react"),a=m(r),{forwardRef:n}=r,i=m(require("@contentful/f36-tokens")),{Box:o}=require("@contentful/f36-core"),{ValidationMessage:s}=require("@contentful/f36-validation-message"),{ControlledInput:c}=require("@contentful/f36-inputs"),{HelpText:u}=require("@contentful/f36-helptext");function f(e,t){return Object.keys(t).forEach((function(l){"default"!==l&&"__esModule"!==l&&Object.defineProperty(e,l,{enumerable:!0,get:function(){return t[l]}})})),e}function d(e,t,l,r){Object.defineProperty(e,t,{get:l,set:r,enumerable:!0,configurable:!0})}function m(e){return e&&e.__esModule?e.default:e}var b={},h={};d(h,"Label",(()=>p));const p=n((function({children:r,className:n,htmlFor:s,required:c=!1,requiredText:u="required",testId:f="cf-ui-form-label",...d},m){const b=c&&(null==u?void 0:u.length)>0;return a.createElement(o,e({as:"label"},d,{className:t(l({color:i.colorTextDark,fontFamily:i.fontStackPrimary,fontSize:i.fontSizeM,fontWeight:i.fontWeightMedium,lineHeight:i.lineHeightDefault,marginBottom:`calc(1rem * (8 / ${i.fontBaseDefault}))`},""),n),display:"inline-block",htmlFor:s,ref:m,testId:f}),r,b&&a.createElement("span",{className:l({color:i.colorTextLightest,fontWeight:i.fontWeightNormal,marginLeft:`calc(1rem * (4 / ${i.fontBaseDefault}))`},"")},"(",u,")"))}));var g={};d(g,"ControlledInputField",(()=>y));const x={rootOrLabelDisabled:l({name:"kjb082",styles:"opacity:0.7;cursor:not-allowed;"}),input:l({marginRight:i.spacingXs,marginTop:i.spacing2Xs},""),label:l({name:"gx0lhm",styles:"margin-bottom:0;"}),labelLight:l({fontWeight:i.fontWeightNormal},"")},q=({id:l,isLabelLight:r=!1,testId:n="cf-ui-controlled-input-field",isRequired:i,helpText:f,isDisabled:d,label:m,helpTextProps:b,formLabelProps:h,className:g,isChecked:q=!1,value:y,validationMessage:k,onChange:v,children:L,inputType:N="checkbox",inputProps:D,name:E,...T},I)=>{const C=t({[x.rootOrLabelDisabled]:d},g),O=t(x.input,null==D?void 0:D.className),P=t(x.label,{[x.labelLight]:r,[x.rootOrLabelDisabled]:d}),F=t({[x.rootOrLabelDisabled]:d});return a.createElement(o,e({as:"div",display:"inline-flex",ref:I,testId:n},T,{className:C}),a.createElement(c,e({id:l,label:m,name:E,isRequired:i,isChecked:q,isDisabled:d,value:y,onChange:v,type:N,labelProps:{className:F}},D,{className:O})),a.createElement("div",null,a.createElement(p,e({className:P,required:i,htmlFor:l},h),m),k&&a.createElement(s,null,k),f&&a.createElement(u,b,f)))},y=a.forwardRef(q);var k={};d(k,"CheckboxField",(()=>L));const v=({testId:t="cf-ui-checkbox-field",...l},r)=>a.createElement(y,e({testId:t},l,{ref:r,inputType:"checkbox"})),L=a.forwardRef(v);f(b,h),f(b,g),f(b,k),f(module.exports,b);
var e=m(require("@babel/runtime/helpers/extends")),{css:t,cx:l}=require("emotion"),r=require("react"),a=m(r),{forwardRef:n}=r,i=m(require("@contentful/f36-tokens")),{Box:o}=require("@contentful/f36-core"),{ValidationMessage:s}=require("@contentful/f36-validation-message"),{ControlledInput:c}=require("@contentful/f36-inputs"),{HelpText:u}=require("@contentful/f36-helptext");function d(e,t){return Object.keys(t).forEach((function(l){"default"!==l&&"__esModule"!==l&&Object.defineProperty(e,l,{enumerable:!0,get:function(){return t[l]}})})),e}function f(e,t,l,r){Object.defineProperty(e,t,{get:l,set:r,enumerable:!0,configurable:!0})}function m(e){return e&&e.__esModule?e.default:e}var b={},h={};f(h,"Label",(()=>p));const p=n((function({children:r,className:n,htmlFor:s,required:c=!1,requiredText:u="required",testId:d="cf-ui-form-label",...f},m){const b=c&&(null==u?void 0:u.length)>0;return a.createElement(o,e({as:"label"},f,{className:l(t({color:i.colorTextDark,fontFamily:i.fontStackPrimary,fontSize:i.fontSizeM,fontWeight:i.fontWeightMedium,lineHeight:i.lineHeightDefault,marginBottom:`calc(1rem * (8 / ${i.fontBaseDefault}))`},""),n),display:"inline-block",htmlFor:s,ref:m,testId:d}),r,b&&a.createElement("span",{className:t({color:i.colorTextLightest,fontWeight:i.fontWeightNormal,marginLeft:`calc(1rem * (4 / ${i.fontBaseDefault}))`},"")},"(",u,")"))}));var g={};f(g,"ControlledInputField",(()=>v));const x={rootOrLabelDisabled:t({name:"kjb082",styles:"opacity:0.7;cursor:not-allowed;"}),input:t({marginRight:i.spacingXs,marginTop:i.spacing2Xs},""),label:t({fontWeight:i.fontWeightMedium,marginBottom:0},""),labelLight:t({fontWeight:i.fontWeightNormal},"")},q=({id:t,isLabelLight:r=!1,testId:n="cf-ui-controlled-input-field",isRequired:i,helpText:d,isDisabled:f,label:m,helpTextProps:b,formLabelProps:h,className:g,isChecked:q=!1,value:v,validationMessage:y,onChange:k,children:L,inputType:E="checkbox",inputProps:N,name:D,...I},T)=>{const R=l({[x.rootOrLabelDisabled]:f},g),W=l(x.input,null==N?void 0:N.className),C=l(x.label,{[x.labelLight]:r,[x.rootOrLabelDisabled]:f}),F=l({[x.rootOrLabelDisabled]:f});return a.createElement(o,e({as:"div",display:"inline-flex",ref:T,testId:n},I,{className:R}),a.createElement(c,e({id:t,label:m,name:D,isRequired:i,isChecked:q,isDisabled:f,value:v,onChange:k,type:E,labelProps:{className:F}},N,{className:W})),a.createElement("div",null,a.createElement(p,e({className:C,required:i,htmlFor:t},h),m),y&&a.createElement(s,null,y),d&&a.createElement(u,b,d)))},v=a.forwardRef(q);var y={};f(y,"CheckboxField",(()=>L));const k=({testId:t="cf-ui-checkbox-field",...l},r)=>a.createElement(v,e({testId:t},l,{ref:r,inputType:"checkbox"})),L=a.forwardRef(k);var E={};f(E,"RadioButtonField",(()=>D));const N=({testId:t="cf-ui-radio-button-field",...l},r)=>a.createElement(v,e({testId:t},l,{ref:r,inputType:"radio"})),D=a.forwardRef(N);d(b,h),d(b,g),d(b,y),d(b,E),d(module.exports,b);
//# sourceMappingURL=main.js.map

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

import e from"@babel/runtime/helpers/esm/extends";import{cx as t,css as l}from"emotion";import a,{forwardRef as o}from"react";import r from"@contentful/f36-tokens";import{Box as n}from"@contentful/f36-core";import{ValidationMessage as i}from"@contentful/f36-validation-message";import{ControlledInput as s}from"@contentful/f36-inputs";import{HelpText as c}from"@contentful/f36-helptext";function m(e,t){return Object.keys(t).forEach((function(l){"default"!==l&&"__esModule"!==l&&Object.defineProperty(e,l,{enumerable:!0,get:function(){return t[l]}})})),e}function f(e,t,l,a){Object.defineProperty(e,t,{get:l,set:a,enumerable:!0,configurable:!0})}var d={},u={};f(u,"Label",(()=>p));const p=o((function({children:o,className:i,htmlFor:s,required:c=!1,requiredText:m="required",testId:f="cf-ui-form-label",...d},u){const p=c&&(null==m?void 0:m.length)>0;return a.createElement(n,e({as:"label"},d,{className:t(l({color:r.colorTextDark,fontFamily:r.fontStackPrimary,fontSize:r.fontSizeM,fontWeight:r.fontWeightMedium,lineHeight:r.lineHeightDefault,marginBottom:`calc(1rem * (8 / ${r.fontBaseDefault}))`},""),i),display:"inline-block",htmlFor:s,ref:u,testId:f}),o,p&&a.createElement("span",{className:l({color:r.colorTextLightest,fontWeight:r.fontWeightNormal,marginLeft:`calc(1rem * (4 / ${r.fontBaseDefault}))`},"")},"(",m,")"))}));var b={};f(b,"ControlledInputField",(()=>x));const h={rootOrLabelDisabled:l({name:"kjb082",styles:"opacity:0.7;cursor:not-allowed;"}),input:l({marginRight:r.spacingXs,marginTop:r.spacing2Xs},""),label:l({name:"gx0lhm",styles:"margin-bottom:0;"}),labelLight:l({fontWeight:r.fontWeightNormal},"")},g=({id:l,isLabelLight:o=!1,testId:r="cf-ui-controlled-input-field",isRequired:m,helpText:f,isDisabled:d,label:u,helpTextProps:b,formLabelProps:g,className:x,isChecked:k=!1,value:y,validationMessage:L,onChange:v,children:N,inputType:D="checkbox",inputProps:E,name:C,...I},T)=>{const F=t({[h.rootOrLabelDisabled]:d},x),O=t(h.input,null==E?void 0:E.className),P=t(h.label,{[h.labelLight]:o,[h.rootOrLabelDisabled]:d}),q=t({[h.rootOrLabelDisabled]:d});return a.createElement(n,e({as:"div",display:"inline-flex",ref:T,testId:r},I,{className:F}),a.createElement(s,e({id:l,label:u,name:C,isRequired:m,isChecked:k,isDisabled:d,value:y,onChange:v,type:D,labelProps:{className:q}},E,{className:O})),a.createElement("div",null,a.createElement(p,e({className:P,required:m,htmlFor:l},g),u),L&&a.createElement(i,null,L),f&&a.createElement(c,b,f)))},x=a.forwardRef(g);var k={};f(k,"CheckboxField",(()=>L));const y=({testId:t="cf-ui-checkbox-field",...l},o)=>a.createElement(x,e({testId:t},l,{ref:o,inputType:"checkbox"})),L=a.forwardRef(y);m(d,u),m(d,b),m(d,k);export{p as Label,x as ControlledInputField,L as CheckboxField};
import e from"@babel/runtime/helpers/esm/extends";import{cx as t,css as l}from"emotion";import o,{forwardRef as a}from"react";import r from"@contentful/f36-tokens";import{Box as i}from"@contentful/f36-core";import{ValidationMessage as n}from"@contentful/f36-validation-message";import{ControlledInput as s}from"@contentful/f36-inputs";import{HelpText as c}from"@contentful/f36-helptext";function f(e,t){return Object.keys(t).forEach((function(l){"default"!==l&&"__esModule"!==l&&Object.defineProperty(e,l,{enumerable:!0,get:function(){return t[l]}})})),e}function d(e,t,l,o){Object.defineProperty(e,t,{get:l,set:o,enumerable:!0,configurable:!0})}var m={},u={};d(u,"Label",(()=>p));const p=a((function({children:a,className:n,htmlFor:s,required:c=!1,requiredText:f="required",testId:d="cf-ui-form-label",...m},u){const p=c&&(null==f?void 0:f.length)>0;return o.createElement(i,e({as:"label"},m,{className:t(l({color:r.colorTextDark,fontFamily:r.fontStackPrimary,fontSize:r.fontSizeM,fontWeight:r.fontWeightMedium,lineHeight:r.lineHeightDefault,marginBottom:`calc(1rem * (8 / ${r.fontBaseDefault}))`},""),n),display:"inline-block",htmlFor:s,ref:u,testId:d}),a,p&&o.createElement("span",{className:l({color:r.colorTextLightest,fontWeight:r.fontWeightNormal,marginLeft:`calc(1rem * (4 / ${r.fontBaseDefault}))`},"")},"(",f,")"))}));var b={};d(b,"ControlledInputField",(()=>x));const h={rootOrLabelDisabled:l({name:"kjb082",styles:"opacity:0.7;cursor:not-allowed;"}),input:l({marginRight:r.spacingXs,marginTop:r.spacing2Xs},""),label:l({fontWeight:r.fontWeightMedium,marginBottom:0},""),labelLight:l({fontWeight:r.fontWeightNormal},"")},g=({id:l,isLabelLight:a=!1,testId:r="cf-ui-controlled-input-field",isRequired:f,helpText:d,isDisabled:m,label:u,helpTextProps:b,formLabelProps:g,className:x,isChecked:k=!1,value:y,validationMessage:L,onChange:v,children:E,inputType:I="checkbox",inputProps:N,name:D,...F},T)=>{const C=t({[h.rootOrLabelDisabled]:m},x),R=t(h.input,null==N?void 0:N.className),W=t(h.label,{[h.labelLight]:a,[h.rootOrLabelDisabled]:m}),B=t({[h.rootOrLabelDisabled]:m});return o.createElement(i,e({as:"div",display:"inline-flex",ref:T,testId:r},F,{className:C}),o.createElement(s,e({id:l,label:u,name:D,isRequired:f,isChecked:k,isDisabled:m,value:y,onChange:v,type:I,labelProps:{className:B}},N,{className:R})),o.createElement("div",null,o.createElement(p,e({className:W,required:f,htmlFor:l},g),u),L&&o.createElement(n,null,L),d&&o.createElement(c,b,d)))},x=o.forwardRef(g);var k={};d(k,"CheckboxField",(()=>L));const y=({testId:t="cf-ui-checkbox-field",...l},a)=>o.createElement(x,e({testId:t},l,{ref:a,inputType:"checkbox"})),L=o.forwardRef(y);var v={};d(v,"RadioButtonField",(()=>I));const E=({testId:t="cf-ui-radio-button-field",...l},a)=>o.createElement(x,e({testId:t},l,{ref:a,inputType:"radio"})),I=o.forwardRef(E);f(m,u),f(m,b),f(m,k),f(m,v);export{p as Label,x as ControlledInputField,L as CheckboxField,I as RadioButtonField};
//# sourceMappingURL=module.js.map

@@ -53,3 +53,5 @@ import React, { HTMLProps, ReactNode, EventHandler, ChangeEvent } from "react";

export const CheckboxField: React.ForwardRefExoticComponent<Pick<CheckboxFieldProps, "hidden" | "dir" | "label" | "slot" | "style" | "title" | "color" | "padding" | "display" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "margin" | "prefix" | "children" | "key" | "as" | "className" | "testId" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "isRequired" | "isChecked" | "name" | "value" | "isDisabled" | "inputProps" | "isLabelLight" | "helpText" | "helpTextProps" | "formLabelProps" | "validationMessage"> & React.RefAttributes<HTMLDivElement>>;
export type RadioButtonFieldProps = Omit<ControlledInputFieldProps, 'inputType'>;
export const RadioButtonField: React.ForwardRefExoticComponent<Pick<RadioButtonFieldProps, "hidden" | "dir" | "label" | "slot" | "style" | "title" | "color" | "padding" | "display" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "margin" | "prefix" | "children" | "key" | "as" | "className" | "testId" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "isRequired" | "isChecked" | "name" | "value" | "isDisabled" | "inputProps" | "isLabelLight" | "helpText" | "helpTextProps" | "formLabelProps" | "validationMessage"> & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=types.d.ts.map
{
"name": "@contentful/f36-forms",
"version": "4.0.1-next-v4-4528.2001+5925f0d4",
"version": "4.0.1-next-v4-4531.2002+529a1c05",
"description": "Forma 36: Form React Components",

@@ -25,6 +25,6 @@ "license": "MIT",

"@babel/runtime": "^7.6.2",
"@contentful/f36-components": "4.0.1-next-v4-4528.2001+5925f0d4",
"@contentful/f36-core": "4.0.1-next-v4-4528.2001+5925f0d4",
"@contentful/f36-inputs": "4.0.1-next-v4-4528.2001+5925f0d4",
"@contentful/f36-tokens": "4.0.1-next-v4-4528.2001+5925f0d4",
"@contentful/f36-components": "4.0.1-next-v4-4531.2002+529a1c05",
"@contentful/f36-core": "4.0.1-next-v4-4531.2002+529a1c05",
"@contentful/f36-inputs": "4.0.1-next-v4-4531.2002+529a1c05",
"@contentful/f36-tokens": "4.0.1-next-v4-4531.2002+529a1c05",
"@contentful/f36-validation-message": "4.0.0",

@@ -40,3 +40,3 @@ "emotion": "^10.0.17"

},
"gitHead": "5925f0d432318f2e5ec58bf559995c1bc81350a4"
"gitHead": "529a1c056c757b4c8c9638bd9c01e0a244ce0aba"
}

@@ -14,2 +14,3 @@ import { css } from 'emotion';

label: css({
fontWeight: tokens.fontWeightMedium,
marginBottom: 0,

@@ -16,0 +17,0 @@ }),

export * from './Label';
export * from './controlled-input-field';
export * from './checkbox-field';
export * from './radio-button-field';

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc