primer-forms
Advanced tools
Comparing version 0.7.2 to 0.7.3
@@ -1,1 +0,1 @@ | ||
module.exports = {"cssstats":{"size":11729,"gzipSize":2938,"humanizedSize":"11kB","humanizedGzipSize":"3kB","rules":{"total":146,"size":{"graph":[3,1,13,3,1,1,1,1,1,5,2,2,1,3,6,3,5,1,2,3,2,3,2,2,1,3,2,3,1,1,7,2,1,11,1,1,5,2,1,4,1,1,1,1,3,2,1,1,3,1,1,1,1,1,3,3,1,1,2,2,11,9,1,2,3,1,1,1,3,1,1,4,2,1,1,1,1,1,1,1,1,2,7,1,1,1,1,1,1,1,1,1,3,1,2,5,1,1,3,1,1,1,3,3,1,2,10,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,6,1,3,4,2,1,1,1,2,1,1,3,1,6,1,2,2,1,4,3,1,2,2,1],"max":13,"average":2.164383561643836}},"selectors":{"total":179,"type":49,"class":172,"id":0,"pseudoClass":5,"pseudoElement":27,"values":["fieldset","label",".form-control",".form-select",".form-control.focus",".form-control:focus",".form-select.focus",".form-select:focus",".input-contrast",".input-contrast:focus","::-webkit-input-placeholder",":-ms-input-placeholder","::placeholder",".input-sm",".input-lg",".input-block",".input-monospace",".form-checkbox",".form-checkbox label em.highlight",".form-checkbox input[type=checkbox]",".form-checkbox input[type=radio]",".form-checkbox .note",".hfields",".hfields::before",".hfields::after",".hfields .form-group",".hfields .form-group dt label",".hfields .form-group dt img",".hfields .btn",".hfields .form-select","input::-webkit-outer-spin-button","input::-webkit-inner-spin-button",".form-actions::before",".form-actions::after",".form-actions .btn",".form-actions .btn+.btn",".form-warning",".form-warning p",".form-warning a",".form-select",".form-select::-ms-expand",".form-select[multiple]",".select-sm",".select-sm[multiple]",".form-group",".form-group .form-control",".form-group .form-control:focus",".form-group .form-control.shorter",".form-group .form-control.short",".form-group .form-control.long",".form-group textarea.form-control",".form-group textarea.form-control.short",".form-group dt",".form-group label",".form-group.flattened dt",".form-group.flattened dd",".form-group dd h4",".form-group dd h4.is-error",".form-group dd h4.is-success",".form-group dd h4+.note",".form-group.required dt label::after",".form-group .success",".form-group .error",".form-group .indicator",".form-group.loading",".form-group.loading .indicator",".form-group.loading .spinner",".form-group.successful .success",".form-group.warn .warning",".form-group.warn .error",".form-group.errored .warning",".form-group.errored .error",".form-group.warn .warning::after",".form-group.warn .warning::before",".form-group.warn .error::after",".form-group.warn .error::before",".form-group.errored .warning::after",".form-group.errored .warning::before",".form-group.errored .error::after",".form-group.errored .error::before",".form-group.warn .warning::after",".form-group.warn .error::after",".form-group.errored .warning::after",".form-group.errored .error::after",".form-group.warn .warning::before",".form-group.warn .error::before",".form-group.errored .warning::before",".form-group.errored .error::before",".form-group.warn .warning",".form-group.warn .warning::after",".form-group.warn .warning::before",".form-group.errored label",".form-group.errored .error",".form-group.errored .error::after",".form-group.errored .error::before",".note",".note .spinner","dl.form-group>dd .form-control.is-autocheck-loading","dl.form-group>dd .form-control.is-autocheck-successful","dl.form-group>dd .form-control.is-autocheck-errored","dl.form-group>dd .form-control.is-autocheck-loading","dl.form-group>dd .form-control.is-autocheck-successful","dl.form-group>dd .form-control.is-autocheck-errored","dl.form-group>dd .form-control.is-autocheck-loading","dl.form-group>dd .form-control.is-autocheck-successful","dl.form-group>dd .form-control.is-autocheck-errored","dl.form-group>dd .form-control.is-autocheck-loading","dl.form-group>dd .form-control.is-autocheck-successful","dl.form-group>dd .form-control.is-autocheck-errored",".form-cards",".form-cards .card",".form-cards .card.visa",".form-cards .card.amex",".form-cards .card.mastercard",".form-cards .card.discover",".form-cards .card.jcb",".form-cards .card.dinersclub",".form-cards .card.enabled",".form-cards .card.disabled",".form-cards>.cards",".form-cards>.cards>li",".form-cards>.cards>li.text",".form-cards>.cards .card",".status-indicator",".status-indicator .octicon",".status-indicator-success::before",".status-indicator-success .octicon-check",".status-indicator-success .octicon-x",".status-indicator-failed::before",".status-indicator-failed .octicon-check",".status-indicator-failed .octicon-x",".status-indicator-loading",".inline-form",".inline-form .btn-plain",".drag-and-drop",".drag-and-drop .default",".drag-and-drop .loading",".drag-and-drop .error",".drag-and-drop .error",".drag-and-drop img",".is-default .drag-and-drop .default",".is-uploading .drag-and-drop .loading",".is-bad-file .drag-and-drop .bad-file",".is-duplicate-filename .drag-and-drop .duplicate-filename",".is-too-big .drag-and-drop .too-big",".is-hidden-file .drag-and-drop .hidden-file",".is-empty .drag-and-drop .empty",".is-bad-permissions .drag-and-drop .bad-permissions",".is-repository-required .drag-and-drop .repository-required",".drag-and-drop-error-info",".drag-and-drop-error-info a",".is-failed .drag-and-drop .failed-request",".manual-file-chooser",".manual-file-chooser:hover+.manual-file-chooser-text",".btn .manual-file-chooser",".upload-enabled textarea",".focused .drag-and-drop",".dragover textarea",".dragover .drag-and-drop",".write-content",".previewable-comment-form",".previewable-comment-form .tabnav",".previewable-comment-form .comment",".previewable-comment-form .comment-form-error",".previewable-comment-form .write-content",".previewable-comment-form .preview-content",".previewable-comment-form.write-selected .write-content",".previewable-comment-form.preview-selected .preview-content",".previewable-comment-form textarea",".form-action-spacious","div.composer",".composer .comment-form-textarea",".composer .tabnav","h2.account","p.explain","p.explain strong","p.explain .octicon","p.explain .minibutton",".form-group label"],"specificity":{"max":32,"average":21.18435754189944}},"declarations":{"total":316,"unique":195,"properties":{"padding":["0","6px 8px","4px 10px","2px 4px","8px 10px","5px 8px","7px 10px","5px","0","8px 8px 0","0 0 8px","8px"],"margin":["0","15px 0","5px 0 0 -20px","0","15px 0","0 30px 0 0","5px 0 0","28px 25px 0 -20px","0","10px 0","0","15px 0","0 0 6px","0","4px 0 0","4px 0 0","4px 0 2px","0 0 15px","0","0 4px 0 0","0","0 8px","0 0 10px","15px 0 0"],"border":["0","1px solid #ddd","1px solid #dfd8c2","solid transparent","0","1px solid #ccc","1px solid #cacaca","0"],"font-weight":["600","normal","600","600","normal","normal","normal"],"min-height":["34px","28px","28px","0","200px","50px","17px","100px","200px"],"font-size":["14px","12px","16px","12px","14px","12px","12px","13px","12px","13px","18px","12px"],"line-height":["20px","20px","1.5","32px","32px","31px","16px","34px"],"color":["#333","#999","#999","#999","#666","#666","#4c4a42","#bd2c00","#55a532","#bd2c00","#55a532","#4c4a42","#bd2c00","#911","#767676","#6cc644","#bd2c00","#767676","#bd2c00","#767676","#4078c0","#666","#666","#333","#bbb"],"vertical-align":["middle","middle","middle","middle","middle","text-bottom","top"],"background-color":["#fff","#fafafa","#fff","#fafafa","#fff","#fff9ea","#fcdede","transparent","#fafafa"],"background-repeat":["no-repeat"],"background-position":["right 8px center","0 0","0 0","-50px 0","-100px 0","-150px 0","-200px 0","-250px 0"],"border-radius":["3px","3px","3px","3px"],"outline":["none","none"],"box-shadow":["inset 0 1px 2px rgba(0,0,0,0.075)","inset 0 1px 2px rgba(0,0,0,0.075),0 0 5px rgba(81,167,232,0.5)","rgba(81,167,232,0.5) 0 0 3px","#c9ff00 0 0 3px"],"border-color":["#51a7e8","#dfd8c2","#d2b2b2","#51a7e8"],"padding-top":["3px","3px"],"padding-bottom":["3px","3px"],"display":["block","block","table","table","inline-block","table","table","inline-block","none","inline","inline-block","inline","inline-block","inline-block","none","inline-block","none","none","inline-block","inline-block","none","inline-block","inline-block","inline-block","inline-block","inline-block","inline-block","inline-block","inline-block","inline-block","inline-block","block","none","block","block"],"width":["100%","440px","130px","250px","100%","100%","0","47px","16px","16px","240px","100%"],"font-family":["Consolas,\"Liberation Mono\",Menlo,Courier,monospace"],"padding-left":["20px","5px"],"position":["relative","relative","relative","absolute","absolute","absolute","relative","relative","relative","relative","static"],"left":["-4px","10px"],"font-style":["normal"],"background":["#fffbdc","#fff9ea","#fff url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAMAAACzvE1FAAAADFBMVEUzMzMzMzMzMzMzMzMKAG/3AAAAA3RSTlMAf4C/aSLHAAAAPElEQVR42q3NMQ4AIAgEQTn//2cLdRKppSGzBYwzVXvznNWs8C58CiussPJj8h6NwgorrKRdTvuV9v16Afn0AYFOB7aYAAAAAElFTkSuQmCC\") no-repeat right 8px center","url(\"/images/spinners/octocat-spinner-32-EAF2F5.gif\") 0 0 no-repeat"],"float":["left","left","left","right","left","left","left","right"],"content":["\"\"","\"\"","\"\"","\"\"","\"*\"","\" \"","\"\"","\"\""],"clear":["both","both"],"top":["-2px","0","-4px"],"margin-top":["5px","0","10px","0"],"-webkit-appearance":["none","none"],"appearance":["none","none"],"margin-right":["5px","5px","3px","5px"],"max-width":["100%","100%","450px"],"height":["34px","auto","28px","auto","200px","50px","0","31px","31px","16px","200px"],"padding-right":["24px","8px \\9","30px"],"background-image":["none \\9","url(\"/images/spinners/octocat-spinner-16px.gif\")","url(\"/images/modules/ajax/success.png\")","url(\"/images/modules/ajax/error.png\")","url(\"/images/spinners/octocat-spinner-32.gif\")","url(\"/images/modules/ajax/success@2x.png\")","url(\"/images/modules/ajax/error@2x.png\")","url(\"/images/modules/pricing/credit-cards-@1x.png\")","url(\"/images/modules/pricing/credit-cards-@2x.png\")"],"background-size":["8px 10px","16px 16px","300px 31px","16px"],"-moz-appearance":["none"],"opacity":["0","0.5","0.6","1","0.2","0.0001"],"z-index":["10","15"],"border-style":["solid"],"border-width":["1px","5px","6px"],"bottom":["100%"],"pointer-events":["none"],"margin-left":["-1px","5px","-80px"],"border-bottom-color":["#fff9ea","#dfd8c2","#fcdede","#d2b2b2"],"text-indent":["-9999px"],"list-style-type":["none"],"fill":["#6cc644","#bd2c00"],"border-top":["0"],"border-bottom-right-radius":["3px","0"],"border-bottom-left-radius":["3px","0"],"cursor":["pointer"],"text-decoration":["underline"],"border-bottom":["1px dashed #ddd"],"margin-bottom":["8px"],"max-height":["500px"],"resize":["vertical"]}},"mediaQueries":{"total":2,"unique":1,"values":["only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx)","only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx)"],"contents":[{"value":"only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx)","rules":{"total":4,"size":{"graph":[1,1,1,1],"max":1,"average":1}},"selectors":{"total":6,"type":6,"class":6,"id":0,"pseudoClass":0,"pseudoElement":0,"values":["dl.form-group>dd .form-control.is-autocheck-loading","dl.form-group>dd .form-control.is-autocheck-successful","dl.form-group>dd .form-control.is-autocheck-errored","dl.form-group>dd .form-control.is-autocheck-loading","dl.form-group>dd .form-control.is-autocheck-successful","dl.form-group>dd .form-control.is-autocheck-errored"],"specificity":{"max":32,"average":32}},"declarations":{"total":4,"unique":4,"properties":{"background-size":["16px 16px"],"background-image":["url(\"/images/spinners/octocat-spinner-32.gif\")","url(\"/images/modules/ajax/success@2x.png\")","url(\"/images/modules/ajax/error@2x.png\")"]}}},{"value":"only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx)","rules":{"total":1,"size":{"graph":[2],"max":2,"average":2}},"selectors":{"total":1,"type":0,"class":1,"id":0,"pseudoClass":0,"pseudoElement":0,"values":[".form-cards>.cards .card"],"specificity":{"max":30,"average":30}},"declarations":{"total":2,"unique":2,"properties":{"background-image":["url(\"/images/modules/pricing/credit-cards-@2x.png\")"],"background-size":["300px 31px"]}}}]}}} | ||
module.exports = {"cssstats":{"size":12090,"gzipSize":3036,"humanizedSize":"12kB","humanizedGzipSize":"3kB","rules":{"total":150,"size":{"graph":[3,1,13,3,1,1,1,1,1,1,5,2,2,1,5,3,6,3,5,1,1,1,2,3,2,3,2,2,1,3,2,3,1,1,7,2,1,11,1,1,5,2,1,4,1,1,1,1,3,2,1,1,3,1,1,1,1,1,3,3,1,1,2,2,11,9,1,2,3,1,1,1,3,1,1,4,2,1,1,1,1,1,1,1,1,2,7,1,1,1,1,1,1,1,1,1,3,1,2,5,1,1,3,1,1,1,3,3,1,2,10,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,6,1,3,4,2,1,1,1,2,1,1,3,1,6,1,2,2,1,4,3,1,2,2,1],"max":13,"average":2.16}},"selectors":{"total":184,"type":49,"class":176,"id":0,"pseudoClass":7,"pseudoElement":27,"values":["fieldset","label",".form-control",".form-select",".form-control.focus",".form-control:focus",".form-select.focus",".form-select:focus",".input-contrast",".input-contrast:focus","::-webkit-input-placeholder","::-moz-placeholder",":-ms-input-placeholder","::placeholder",".input-sm",".input-lg",".input-block",".input-monospace",".input-hide-webkit-autofill::-webkit-contacts-auto-fill-button",".form-checkbox",".form-checkbox label em.highlight",".form-checkbox input[type=checkbox]",".form-checkbox input[type=radio]",".form-checkbox .note",".form-checkbox-details",".form-checkbox-details-trigger:checked ~ * .form-checkbox-details",".form-checkbox-details-trigger:checked ~ .form-checkbox-details",".hfields",".hfields::before",".hfields::after",".hfields .form-group",".hfields .form-group dt label",".hfields .form-group dt img",".hfields .btn",".hfields .form-select","input::-webkit-outer-spin-button","input::-webkit-inner-spin-button",".form-actions::before",".form-actions::after",".form-actions .btn",".form-actions .btn+.btn",".form-warning",".form-warning p",".form-warning a",".form-select",".form-select::-ms-expand",".form-select[multiple]",".select-sm",".select-sm[multiple]",".form-group",".form-group .form-control",".form-group .form-control:focus",".form-group .form-control.shorter",".form-group .form-control.short",".form-group .form-control.long",".form-group textarea.form-control",".form-group textarea.form-control.short",".form-group dt",".form-group label",".form-group.flattened dt",".form-group.flattened dd",".form-group dd h4",".form-group dd h4.is-error",".form-group dd h4.is-success",".form-group dd h4+.note",".form-group.required dt label::after",".form-group .success",".form-group .error",".form-group .indicator",".form-group.loading",".form-group.loading .indicator",".form-group.loading .spinner",".form-group.successful .success",".form-group.warn .warning",".form-group.warn .error",".form-group.errored .warning",".form-group.errored .error",".form-group.warn .warning::after",".form-group.warn .warning::before",".form-group.warn .error::after",".form-group.warn .error::before",".form-group.errored .warning::after",".form-group.errored .warning::before",".form-group.errored .error::after",".form-group.errored .error::before",".form-group.warn .warning::after",".form-group.warn .error::after",".form-group.errored .warning::after",".form-group.errored .error::after",".form-group.warn .warning::before",".form-group.warn .error::before",".form-group.errored .warning::before",".form-group.errored .error::before",".form-group.warn .warning",".form-group.warn .warning::after",".form-group.warn .warning::before",".form-group.errored label",".form-group.errored .error",".form-group.errored .error::after",".form-group.errored .error::before",".note",".note .spinner","dl.form-group>dd .form-control.is-autocheck-loading","dl.form-group>dd .form-control.is-autocheck-successful","dl.form-group>dd .form-control.is-autocheck-errored","dl.form-group>dd .form-control.is-autocheck-loading","dl.form-group>dd .form-control.is-autocheck-successful","dl.form-group>dd .form-control.is-autocheck-errored","dl.form-group>dd .form-control.is-autocheck-loading","dl.form-group>dd .form-control.is-autocheck-successful","dl.form-group>dd .form-control.is-autocheck-errored","dl.form-group>dd .form-control.is-autocheck-loading","dl.form-group>dd .form-control.is-autocheck-successful","dl.form-group>dd .form-control.is-autocheck-errored",".form-cards",".form-cards .card",".form-cards .card.visa",".form-cards .card.amex",".form-cards .card.mastercard",".form-cards .card.discover",".form-cards .card.jcb",".form-cards .card.dinersclub",".form-cards .card.enabled",".form-cards .card.disabled",".form-cards>.cards",".form-cards>.cards>li",".form-cards>.cards>li.text",".form-cards>.cards .card",".status-indicator",".status-indicator .octicon",".status-indicator-success::before",".status-indicator-success .octicon-check",".status-indicator-success .octicon-x",".status-indicator-failed::before",".status-indicator-failed .octicon-check",".status-indicator-failed .octicon-x",".status-indicator-loading",".inline-form",".inline-form .btn-plain",".drag-and-drop",".drag-and-drop .default",".drag-and-drop .loading",".drag-and-drop .error",".drag-and-drop .error",".drag-and-drop img",".is-default .drag-and-drop .default",".is-uploading .drag-and-drop .loading",".is-bad-file .drag-and-drop .bad-file",".is-duplicate-filename .drag-and-drop .duplicate-filename",".is-too-big .drag-and-drop .too-big",".is-hidden-file .drag-and-drop .hidden-file",".is-empty .drag-and-drop .empty",".is-bad-permissions .drag-and-drop .bad-permissions",".is-repository-required .drag-and-drop .repository-required",".drag-and-drop-error-info",".drag-and-drop-error-info a",".is-failed .drag-and-drop .failed-request",".manual-file-chooser",".manual-file-chooser:hover+.manual-file-chooser-text",".btn .manual-file-chooser",".upload-enabled textarea",".focused .drag-and-drop",".dragover textarea",".dragover .drag-and-drop",".write-content",".previewable-comment-form",".previewable-comment-form .tabnav",".previewable-comment-form .comment",".previewable-comment-form .comment-form-error",".previewable-comment-form .write-content",".previewable-comment-form .preview-content",".previewable-comment-form.write-selected .write-content",".previewable-comment-form.preview-selected .preview-content",".previewable-comment-form textarea",".form-action-spacious","div.composer",".composer .comment-form-textarea",".composer .tabnav","h2.account","p.explain","p.explain strong","p.explain .octicon","p.explain .minibutton",".form-group label"],"specificity":{"max":32,"average":21.054347826086957}},"declarations":{"total":324,"unique":197,"properties":{"padding":["0","6px 8px","4px 10px","2px 4px","8px 10px","5px 8px","7px 10px","5px","0","8px 8px 0","0 0 8px","8px"],"margin":["0","15px 0","5px 0 0 -20px","0","15px 0","0 30px 0 0","5px 0 0","28px 25px 0 -20px","0","10px 0","0","15px 0","0 0 6px","0","4px 0 0","4px 0 0","4px 0 2px","0 0 15px","0","0 4px 0 0","0","0 8px","0 0 10px","15px 0 0"],"border":["0","1px solid #ddd","1px solid #dfd8c2","solid transparent","0","1px solid #ccc","1px solid #cacaca","0"],"font-weight":["600","normal","600","600","normal","normal","normal"],"min-height":["34px","28px","28px","0","200px","50px","17px","100px","200px"],"font-size":["14px","12px","16px","12px","14px","12px","12px","13px","12px","13px","18px","12px"],"line-height":["20px","20px","1.5","32px","32px","31px","16px","34px"],"color":["#333","#999","#999","#999","#999","#666","#666","#4c4a42","#bd2c00","#55a532","#bd2c00","#55a532","#4c4a42","#bd2c00","#911","#767676","#6cc644","#bd2c00","#767676","#bd2c00","#767676","#4078c0","#666","#666","#333","#bbb"],"vertical-align":["middle","middle","middle","middle","middle","text-bottom","top"],"background-color":["#fff","#fafafa","#fff","#fafafa","#fff","#fff9ea","#fcdede","transparent","#fafafa"],"background-repeat":["no-repeat"],"background-position":["right 8px center","0 0","0 0","-50px 0","-100px 0","-150px 0","-200px 0","-250px 0"],"border-radius":["3px","3px","3px","3px"],"outline":["none","none"],"box-shadow":["inset 0 1px 2px rgba(0,0,0,0.075)","inset 0 1px 2px rgba(0,0,0,0.075),0 0 5px rgba(81,167,232,0.5)","rgba(81,167,232,0.5) 0 0 3px","#c9ff00 0 0 3px"],"border-color":["#51a7e8","#dfd8c2","#d2b2b2","#51a7e8"],"padding-top":["3px","3px"],"padding-bottom":["3px","3px"],"display":["block","none","block","none","block","table","table","inline-block","table","table","inline-block","none","inline","inline-block","inline","inline-block","inline-block","none","inline-block","none","none","inline-block","inline-block","none","inline-block","inline-block","inline-block","inline-block","inline-block","inline-block","inline-block","inline-block","inline-block","inline-block","block","none","block","block"],"width":["100%","440px","130px","250px","100%","100%","0","47px","16px","16px","240px","100%"],"font-family":["Consolas,\"Liberation Mono\",Menlo,Courier,monospace"],"position":["absolute","relative","relative","relative","absolute","absolute","absolute","relative","relative","relative","relative","static"],"right":["0"],"pointer-events":["none","none"],"visibility":["hidden"],"padding-left":["20px","5px"],"left":["-4px","10px"],"font-style":["normal"],"background":["#fffbdc","#fff9ea","#fff url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAMAAACzvE1FAAAADFBMVEUzMzMzMzMzMzMzMzMKAG/3AAAAA3RSTlMAf4C/aSLHAAAAPElEQVR42q3NMQ4AIAgEQTn//2cLdRKppSGzBYwzVXvznNWs8C58CiussPJj8h6NwgorrKRdTvuV9v16Afn0AYFOB7aYAAAAAElFTkSuQmCC\") no-repeat right 8px center","url(\"/images/spinners/octocat-spinner-32-EAF2F5.gif\") 0 0 no-repeat"],"float":["left","left","left","right","left","left","left","right"],"content":["\"\"","\"\"","\"\"","\"\"","\"*\"","\" \"","\"\"","\"\""],"clear":["both","both"],"top":["-2px","0","-4px"],"margin-top":["5px","0","10px","0"],"-webkit-appearance":["none","none"],"appearance":["none","none"],"margin-right":["5px","5px","3px","5px"],"max-width":["100%","100%","450px"],"height":["34px","auto","28px","auto","200px","50px","0","31px","31px","16px","200px"],"padding-right":["24px","8px \\9","30px"],"background-image":["none \\9","url(\"/images/spinners/octocat-spinner-16px.gif\")","url(\"/images/modules/ajax/success.png\")","url(\"/images/modules/ajax/error.png\")","url(\"/images/spinners/octocat-spinner-32.gif\")","url(\"/images/modules/ajax/success@2x.png\")","url(\"/images/modules/ajax/error@2x.png\")","url(\"/images/modules/pricing/credit-cards-@1x.png\")","url(\"/images/modules/pricing/credit-cards-@2x.png\")"],"background-size":["8px 10px","16px 16px","300px 31px","16px"],"-moz-appearance":["none"],"opacity":["0","0.5","0.6","1","0.2","0.0001"],"z-index":["10","15"],"border-style":["solid"],"border-width":["1px","5px","6px"],"bottom":["100%"],"margin-left":["-1px","5px","-80px"],"border-bottom-color":["#fff9ea","#dfd8c2","#fcdede","#d2b2b2"],"text-indent":["-9999px"],"list-style-type":["none"],"fill":["#6cc644","#bd2c00"],"border-top":["0"],"border-bottom-right-radius":["3px","0"],"border-bottom-left-radius":["3px","0"],"cursor":["pointer"],"text-decoration":["underline"],"border-bottom":["1px dashed #ddd"],"margin-bottom":["8px"],"max-height":["500px"],"resize":["vertical"]}},"mediaQueries":{"total":2,"unique":1,"values":["only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx)","only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx)"],"contents":[{"value":"only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx)","rules":{"total":4,"size":{"graph":[1,1,1,1],"max":1,"average":1}},"selectors":{"total":6,"type":6,"class":6,"id":0,"pseudoClass":0,"pseudoElement":0,"values":["dl.form-group>dd .form-control.is-autocheck-loading","dl.form-group>dd .form-control.is-autocheck-successful","dl.form-group>dd .form-control.is-autocheck-errored","dl.form-group>dd .form-control.is-autocheck-loading","dl.form-group>dd .form-control.is-autocheck-successful","dl.form-group>dd .form-control.is-autocheck-errored"],"specificity":{"max":32,"average":32}},"declarations":{"total":4,"unique":4,"properties":{"background-size":["16px 16px"],"background-image":["url(\"/images/spinners/octocat-spinner-32.gif\")","url(\"/images/modules/ajax/success@2x.png\")","url(\"/images/modules/ajax/error@2x.png\")"]}}},{"value":"only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx)","rules":{"total":1,"size":{"graph":[2],"max":2,"average":2}},"selectors":{"total":1,"type":0,"class":1,"id":0,"pseudoClass":0,"pseudoElement":0,"values":[".form-cards>.cards .card"],"specificity":{"max":30,"average":30}},"declarations":{"total":2,"unique":2,"properties":{"background-image":["url(\"/images/modules/pricing/credit-cards-@2x.png\")"],"background-size":["300px 31px"]}}}]}}} |
@@ -0,1 +1,7 @@ | ||
# v0.7.3 | ||
* Rev package number - Patrick Marsceill [github/github@a0ec34d](https://github.com/github/github/commit/a0ec34d) | ||
* Add aria-live for accessability and update docs - Patrick Marsceill [github/github@913473c](https://github.com/github/github/commit/913473c) | ||
* Make form-radio-details -> form-checkbox-details to match existing - Patrick Marsceill [github/github@5be1795](https://github.com/github/github/commit/5be1795) | ||
# v0.7.2 | ||
@@ -2,0 +8,0 @@ |
{ | ||
"version": "0.7.2", | ||
"version": "0.7.3", | ||
"name": "primer-forms", | ||
@@ -4,0 +4,0 @@ "description": "Style individual form controls and utilize common layouts.", |
@@ -147,2 +147,11 @@ # Primer CSS Forms | ||
##### Hide webkit's contact info autofill icon | ||
Webkit sometimes gets confused and tries to add an icon/dropdown to autofill contact information on fields that may not be appropriate (such as input for number of users). Use this class to override the display of this icon. | ||
```html | ||
<form> | ||
<input class="form-control input-hide-webkit-autofill" placeholder="Hide Webkit's contact autofill on this input" type="text" aria-label="Hide Webkit's contact autofill on this input"> | ||
</form> | ||
``` | ||
#### Selects | ||
@@ -276,2 +285,28 @@ | ||
##### Show / hide content based on a checkbox or radio button state | ||
Content that is hidden by default should only be done so if it is non-essential for the context of the surrounding content. Be sure to use the `aria-live="polite"` attribute on the parent label for added content to be announced when displayed. | ||
```html | ||
<form> | ||
<div class="form-checkbox"> | ||
<label> | ||
<input type="radio" name="hireme"> | ||
Not available for hire | ||
</label> | ||
</div> | ||
<div class="form-checkbox"> | ||
<label aria-live="polite"> | ||
<input type="radio" class="form-checkbox-details-trigger" name="hireme"> | ||
Available for hire | ||
<span class="form-checkbox-details text-normal"> | ||
<span class="d-block mb-1">Available hours per week</span> | ||
<input type="text" name="" class="form-control input-contrast" size="3"> | ||
<span class="text-small text-gray pl-2">hours per week</span> | ||
</span> | ||
</label> | ||
</div> | ||
</form> | ||
``` | ||
#### Input group | ||
@@ -278,0 +313,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60602
47
348