armtek-uikit-react 1.0.93 → 1.0.94

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.
@@ -10,13 +10,14 @@
10
10
  position: relative;
11
11
  padding-right: 40px;
12
12
  }
13
-
14
- .AccordionBody *:last-child{
15
- margin-bottom: 0;
13
+ .AccordionContents > *:last-child{
14
+ margin-bottom: 0;
16
15
  }
17
- .AccordionBody *:first-child{
18
- margin-top: 0;
16
+ .AccordionContents > *:first-child{
17
+ margin-top: 0;
19
18
  }
19
+
20
+
20
21
  .Accordion_size_large{
21
22
  //padding: calc(var(--size-step) * 3) var(--size-step);
22
23
  }
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"armtek-uikit-react","version":"1.0.93","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.94","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"}}
@@ -108,6 +108,7 @@ const Accordion = props => {
108
108
  },
109
109
  expanded: openProp,
110
110
  children: /*#__PURE__*/_jsx("div", {
111
+ className: css.AccordionContents,
111
112
  style: {
112
113
  display: contentHidden ? 'none' : 'block'
113
114
  },
@@ -22,10 +22,10 @@ type SelectMultipleProps = {
22
22
  defaultValue?: string[];
23
23
  onChange?: (option: string[]) => void;
24
24
  };
25
- type SelectProps = SelectMultipleProps | SelectSingleProps;
26
- type SelectPropsType = SelectBaseProps & SelectProps & Omit<TextFieldProps, 'value' | 'defaultValue' | 'onChange'>;
25
+ type SelectPropsType = SelectMultipleProps | SelectSingleProps;
26
+ export type SelectProps = SelectBaseProps & SelectPropsType & Omit<TextFieldProps, 'value' | 'defaultValue' | 'onChange'>;
27
27
  export declare const getOptionValue: (option: OptionType) => string;
28
- declare function Select(props: SelectPropsType): import("react/jsx-runtime").JSX.Element;
28
+ declare function Select(props: SelectProps): import("react/jsx-runtime").JSX.Element;
29
29
  type SelectOptionsType<T extends boolean> = {
30
30
  options: OptionType[];
31
31
  value?: T extends true ? string[] : string;