Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
olegstan committed Feb 1, 2023
1 parent 2e79753 commit 6d11be5
Show file tree
Hide file tree
Showing 15 changed files with 18 additions and 19 deletions.
3 changes: 2 additions & 1 deletion dist/Form/Search/newstyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ Object.defineProperty(exports, "__esModule", {
value: true
});
exports.sharedContainer = exports.containerTag = exports.Selected = exports.Select = exports.Item = exports.InputWrapper = exports.InputContainer = exports.Input = exports.Container = void 0;
var _react = _interopRequireWildcard(require("react"));
var _react = _interopRequireDefault(require("react"));
var _styledComponents = _interopRequireWildcard(require("styled-components"));
var _newstyles = require("../newstyles");
const _excluded = ["children", "tag", "size"];
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12;
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
Expand Down
2 changes: 1 addition & 1 deletion dist/Form/newslimstyles.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/Form/newstyles.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "finform",
"version": "1.2.88",
"version": "1.2.94",
"description": "",
"main": "dist/index.js",
"module": "dist/index.js",
Expand Down
2 changes: 2 additions & 0 deletions publish.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
npm run publish:npm
npm publish
2 changes: 2 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
npm run publish:npm
npm publish
2 changes: 1 addition & 1 deletion src/components/Form/Button.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, {Component} from 'react';
import {Button as StyledButton, ButtonLink, Link, InlineLink} from './newstyles'
import {Button as StyledButton, ButtonLink, InlineLink, Link} from './newstyles'


export default class Button extends Component {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Form/Checkbox.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, {Component} from 'react';
import {Checkbox as StyleCheckbox, Body} from "./newstyles";
import {Body, Checkbox as StyleCheckbox} from "./newstyles";

export default class Checkbox extends Component
{
Expand Down
2 changes: 1 addition & 1 deletion src/components/Form/MaskedInput.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import BaseInput from './BaseInput';
import {InputContainer, MaskedStyledInput, StyledInput} from './newstyles'
import {InputContainer, MaskedStyledInput} from './newstyles'
import {detect} from 'detect-browser'
import InputPopup from "./InputPopup/InputPopup";
import {Container} from './styles/containerStyle'
Expand Down
2 changes: 1 addition & 1 deletion src/components/Form/Search/newstyles.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, {Component} from 'react';
import React from 'react';
import styled, {css} from 'styled-components'
import {
sharedInputStyle,
Expand Down
1 change: 0 additions & 1 deletion src/components/Form/newslimstyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ export const sharedButtonStyle = css`
outline: none;
font-style: normal;
font-weight: 600;
margin: 15px 5px;
text-align: center;
box-sizing: border-box;
padding: 10px 20px;
Expand Down
9 changes: 2 additions & 7 deletions src/components/Form/newstyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -477,12 +477,11 @@ export const sharedButtonStyle = css`
transition: .3s all;
outline: none;
font-style: normal;
font-weight: 600;
margin: 15px 5px;
text-align: center;
box-sizing: border-box;
padding: 10px 20px;
font-family: 'Rubik', sans-serif;
font-family: inherit;
font-weight: 700;
&.style1 {
background: #EFF2F5;
Expand Down Expand Up @@ -538,10 +537,6 @@ export const sharedButtonStyle = css`
&.style5 {
background: rgb(43, 45, 57);
color: #4C89FE;
margin-left: 10px;
margin-right: 10px;
margin-top: 20px;
margin-bottom: 20px;
height: auto;
line-height: normal;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Form/styles/containerStyle.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, {Component} from 'react';
import React from 'react';
import styled, {css} from 'styled-components'


Expand Down
2 changes: 1 addition & 1 deletion src/components/Form/styles/selectContainerStyle.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, {Component} from 'react';
import React from 'react';
import styled, {css} from 'styled-components'


Expand Down
2 changes: 1 addition & 1 deletion src/components/Form/styles/selectSlimContainerStyle.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, {Component} from 'react';
import React from 'react';
import styled, {css} from 'styled-components'


Expand Down

0 comments on commit 6d11be5

Please sign in to comment.