armtek-uikit-react 1.0.76 → 1.0.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,20 @@
1
+ @import "variables";
2
+
3
+ .Paper{
4
+ border-radius: var(--border-radius);
5
+ background-color: #fff;
6
+ padding: calc(var(--size-step) * 2);
7
+ }
8
+ .Paper_elevation{
9
+ box-shadow: var(--box-shadow);
10
+ }
11
+ .Paper_outlined{
12
+ border: 1px solid var(--color-gray-300)
13
+ }
14
+
15
+ .Paper_dark{
16
+ background-color: var(--color-gray-700);
17
+ &.Paper_outlined{
18
+ border: 1px solid rgba(255, 255, 255, 0.2)
19
+ }
20
+ }
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"armtek-uikit-react","version":"1.0.76","description":"Armtek UIKit for React","repository":{"type":"git","url":"ssh://git@gl.corp:10022/int/uikit/uikit_react.git"},"author":"","license":"ISC","dependencies":{"build":"^0.1.4","clsx":"^2.0.0","rc-slider":"^10.2.1","react":"*","react-datepicker":"^4.16.0","react-dom":"*","react-transition-group":"^4.4.5"},"peerDependencies":{"react":"*","react-dom":"*"},"scripts":{"pub":"npm version patch && npm publish"}}
1
+ {"name":"armtek-uikit-react","version":"1.0.77","description":"Armtek UIKit for React","repository":{"type":"git","url":"ssh://git@gl.corp:10022/int/uikit/uikit_react.git"},"author":"","license":"ISC","dependencies":{"build":"^0.1.4","clsx":"^2.0.0","rc-slider":"^10.2.1","react":"*","react-datepicker":"^4.16.0","react-dom":"*","react-transition-group":"^4.4.5"},"peerDependencies":{"react":"*","react-dom":"*"},"scripts":{"pub":"npm version patch && npm publish"}}
@@ -10,6 +10,6 @@ type OwnProps = {
10
10
  transitionProps?: DropDownProps['transitionProps'];
11
11
  triggerOnIcon?: boolean;
12
12
  };
13
- type AccordionProps = OwnProps & Omit<ComponentPropsWithoutRef<'div'>, keyof OwnProps>;
13
+ export type AccordionProps = OwnProps & Omit<ComponentPropsWithoutRef<'div'>, keyof OwnProps>;
14
14
  declare const Accordion: (props: AccordionProps) => import("react/jsx-runtime").JSX.Element;
15
15
  export default Accordion;
@@ -0,0 +1,9 @@
1
+ import { ComponentPropsWithoutRef } from 'react';
2
+ import { ThemeType } from '../../types/theme';
3
+ type OwnProps = {
4
+ variant?: 'elevation' | 'outlined';
5
+ theme?: ThemeType;
6
+ };
7
+ export type PaperProps = OwnProps & Omit<ComponentPropsWithoutRef<'div'>, keyof OwnProps>;
8
+ declare const Paper: (props: PaperProps) => import("react/jsx-runtime").JSX.Element;
9
+ export default Paper;
@@ -0,0 +1,25 @@
1
+ import clsx from 'clsx';
2
+ import css from "./Paper.module.scss";
3
+ import { jsx as _jsx } from "react/jsx-runtime";
4
+ import { Fragment as _Fragment } from "react/jsx-runtime";
5
+ const Paper = props => {
6
+ let {
7
+ children,
8
+ className,
9
+ theme,
10
+ variant = 'elevation',
11
+ ...divPops
12
+ } = props;
13
+ return /*#__PURE__*/_jsx(_Fragment, {
14
+ children: /*#__PURE__*/_jsx("div", {
15
+ className: clsx(css.Paper, 'Arm-Paper', className, {
16
+ [css.Paper_elevation]: variant === 'elevation',
17
+ [css.Paper_outlined]: variant === 'outlined',
18
+ [css.Paper_dark]: theme === 'dark'
19
+ }),
20
+ ...divPops,
21
+ children: children
22
+ })
23
+ });
24
+ };
25
+ export default Paper;
@@ -0,0 +1 @@
1
+ @import "./../../assets/Paper";
@@ -0,0 +1,2 @@
1
+ export { default } from './Paper';
2
+ export * from './Paper';
@@ -0,0 +1,2 @@
1
+ export { default } from "./Paper";
2
+ export * from "./Paper";
@@ -1,3 +1,4 @@
1
1
  import { PopperBaseProps } from './PopperBase';
2
- export declare const Popper: (props: PopperBaseProps) => import("react/jsx-runtime").JSX.Element | null;
2
+ export type PopperProps = {} & PopperBaseProps;
3
+ export declare const Popper: (props: PopperProps) => import("react/jsx-runtime").JSX.Element | null;
3
4
  export default Popper;