@otovo/rainbow
Advanced tools
Comparing version 4.6.0 to 4.7.0
import * as React from 'react'; | ||
import { ContrastTo } from '../enums'; | ||
declare const InnerForm: import("@emotion/styled").StyledComponent<any, React.DetailedHTMLProps<React.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, {}>; | ||
declare type FormProps = typeof InnerForm & { | ||
children: React.ReactNode; | ||
contrastTo: ContrastTo; | ||
import { EverythingProps } from '../../../propGroups/everything'; | ||
declare type FormProps = EverythingProps & React.DetailedHTMLProps<React.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement> & { | ||
children?: React.ReactNode; | ||
contrastTo?: ContrastTo; | ||
}; | ||
@@ -8,0 +8,0 @@ declare const Form: ({ children, contrastTo, ...rest }: FormProps) => JSX.Element; |
@@ -55,2 +55,2 @@ "use strict"; | ||
exports["default"] = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL2Zvcm0vRm9ybS9Gb3JtLnRzeCJdLCJuYW1lcyI6WyJJbm5lckZvcm0iLCJzdHlsZWQiLCJmb3JtIiwiZXZlcnl0aGluZyIsImluamVjdENvbnRyYXN0VG9JbnRvQ2hpbGRyZW4iLCJjaGlsZHJlbiIsImNvbnRyYXN0VG8iLCJjaGlsZHJlbkFyciIsIlJlYWN0IiwiQ2hpbGRyZW4iLCJ0b0FycmF5IiwibWFwIiwiZWxlbWVudCIsImlzVmFsaWRFbGVtZW50IiwicHJvcHMiLCJjbG9uZUVsZW1lbnQiLCJGb3JtIiwicmVzdCIsImVsZW1lbnRzIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFBQTs7QUFDQTs7QUFFQTs7Ozs7Ozs7Ozs7Ozs7QUFHQSxJQUFNQSxTQUFTLEdBQUdDLG1CQUFPQyxJQUFQLENBQVlDLGlCQUFaLENBQWxCOztBQUVBLElBQU1DLDRCQUE0QixHQUFHLFN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XG4pID0+IHtcbiAgY29uc3QgY2hpbGRyZW5BcnIgPSBSZWFjdC5DaGlsZHJlbi50b0FycmF5KGNoaWxkcmVuKTtcbiAgcmV0dXJuIGNoaWxkcmVuQXJyLm1hcCgoZWxlbWVudCkgPT5cbiAgICBSZWFjdC5pc1ZhbGlkRWxlbWVudChlbGVtZW50KVxuICAgICAgPyBlbGVtZW50LnByb3BzLmNvbnRyYXN0VG9cbiAgICAgICAgPyBlbGVtZW50XG4gICAgICAgIDogUmVhY3QuY2xvbmVFbGVtZW50KGVsZW1lbnQsIHsgY29udHJhc3RUbyB9KVxuICAgICAgOiBlbGVtZW50LFxuICApO1xufTtcblxudHlwZSBGb3JtUHJvcHMgPSBFdmVyeXRoaW5nUHJvcHMgJlxuICBSZWFjdC5EZXRhaWxlZEhUTUxQcm9wczxcbiAgICBSZWFjdC5Gb3JtSFRNTEF0dHJpYnV0ZXM8SFRNTEZvcm1FbGVtZW50PixcbiAgICBIVE1MRm9ybUVsZW1lbnRcbiAgPiAmIHtcbiAgICBjaGlsZHJlbj86IFJlYWN0LlJlYWN0Tm9kZTtcbiAgICBjb250cmFzdFRvPzogQ29udHJhc3RUbztcbiAgfTtcblxuY29uc3QgRm9ybSA9ICh7IGNoaWxkcmVuLCBjb250cmFzdFRvLCAuLi5yZXN0IH06IEZvcm1Qcm9wcykgPT4ge1xuICBsZXQgZWxlbWVudHMgPSBjaGlsZHJlbjtcblxuICBpZiAoY29udHJhc3RUbykge1xuICAgIGVsZW1lbnRzID0gaW5qZWN0Q29udHJhc3RUb0ludG9DaGlsZHJlbihlbGVtZW50cywgY29udHJhc3RUbyk7XG4gIH1cblxuICByZXR1cm4gPElubmVyRm9ybSB7Li4ucmVzdH0+e2VsZW1lbnRzfTwvSW5uZXJGb3JtPjtcbn07XG5cbmV4cG9ydCBkZWZhdWx0IEZvcm07XG4iXX0= |
{ | ||
"name": "@otovo/rainbow", | ||
"version": "4.6.0", | ||
"version": "4.7.0", | ||
"description": "Design system for Otovo", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
517661