@inntechcorp/it-design 2.0.83 → 2.0.85

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.
@@ -61,35 +61,6 @@
61
61
  -webkit-box-shadow: 0 0 0 30px #151d3d inset !important;
62
62
  }
63
63
 
64
- .arrow {
65
- transition: all 0.25s ease-out;
66
- margin-left: auto;
67
- transform: rotate(0deg);
68
- width: 20px;
69
- height: 20px;
70
- fill: rgba(255, 255, 255, 0.6);
71
- }
72
-
73
- .arrowNormal {
74
- margin-left: auto;
75
- transform: rotate(-90deg);
76
- }
77
-
78
- .arrowOpen {
79
- transform: rotate(-180deg);
80
- fill: #ffffff;
81
- }
82
-
83
- .icon {
84
- margin-right: 8px;
85
- height: 22px;
86
- width: 22px;
87
- color: rgba(255, 255, 255, 0.6);
88
- font-size: 22px;
89
- display: flex;
90
- align-items: center;
91
- }
92
-
93
64
  .option {
94
65
  display: flex;
95
66
  align-items: center;
@@ -182,6 +153,35 @@
182
153
  transition: height 150ms ease-out;
183
154
  }
184
155
 
156
+ .arrow {
157
+ transition: all 0.25s ease-out;
158
+ margin-left: auto;
159
+ transform: rotate(0deg);
160
+ width: 20px;
161
+ height: 20px;
162
+ fill: rgba(255, 255, 255, 0.6);
163
+ }
164
+
165
+ .arrowNormal {
166
+ margin-left: auto;
167
+ transform: rotate(-90deg);
168
+ }
169
+
170
+ .arrowOpen {
171
+ transform: rotate(-180deg);
172
+ fill: #ffffff;
173
+ }
174
+
175
+ .icon {
176
+ margin-right: 8px;
177
+ height: 22px;
178
+ width: 22px;
179
+ color: rgba(255, 255, 255, 0.6);
180
+ font-size: 22px;
181
+ display: flex;
182
+ align-items: center;
183
+ }
184
+
185
185
  .container {
186
186
  display: flex;
187
187
  align-items: center;
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import { ChildrenProps } from 'types/ChildrenProps';
3
+ type OptionsRefProps = {
4
+ getValue: () => string;
5
+ };
3
6
  type OptionsProps = {
4
7
  icon?: string;
5
8
  image?: string;
@@ -9,8 +12,5 @@ type OptionsProps = {
9
12
  onChange?: (value: string, checked: boolean, children: ChildrenProps) => null;
10
13
  children?: ChildrenProps;
11
14
  };
12
- declare const _default: import("react").MemoExoticComponent<{
13
- ({ icon, image, value, mode, checked, onChange, children }: OptionsProps): import("react/jsx-runtime").JSX.Element;
14
- displayName: string;
15
- }>;
15
+ declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<OptionsProps & import("react").RefAttributes<OptionsRefProps>>>;
16
16
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import { SelectToggleProps } from '../../index';
2
- declare const Toggle: ({ id, label, value, errorMessage, isOpen, locked, disabled, showSearch, labelType, placeholder, size, selected, icon, image, onFocus, onBlur, onShow }: SelectToggleProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Toggle: ({ id, label, value, errorMessage, isOpen, locked, disabled, showSearch, labelType, placeholder, size, selected, icon, image, onFocus, onBlur, onShow, onFilter }: SelectToggleProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Toggle;
@@ -13,6 +13,7 @@ type SingleLabelProps = {
13
13
  disabled: boolean;
14
14
  onFocus: () => void;
15
15
  onBlur: () => void;
16
+ onFilter: (value: string) => void;
16
17
  };
17
18
  declare const SingleLabel: import("react").ForwardRefExoticComponent<SingleLabelProps & import("react").RefAttributes<SingleLabelRefObject>>;
18
19
  export default SingleLabel;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Code: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
+ export { Code };
@@ -41,6 +41,7 @@ export type SelectToggleProps = {
41
41
  onFocus: () => void;
42
42
  onBlur: () => void;
43
43
  onShow: (value: boolean) => void;
44
+ onFilter: (value: string) => void;
44
45
  onChange: (open: boolean) => void;
45
46
  };
46
47
  export type SelectVariant = "default" | "solid" | "filled" | "outline" | "custom";
@@ -1,2 +1,2 @@
1
1
  import { ITDSizeSlug } from "../index";
2
- export default function GetSizeBySizeSlug(size: ITDSizeSlug): "x-small" | "small" | "medium" | "default" | "large" | "x-large" | "df";
2
+ export default function GetSizeBySizeSlug(size: ITDSizeSlug): "small" | "medium" | "large" | "x-small" | "default" | "x-large" | "df";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inntechcorp/it-design",
3
- "version": "2.0.83",
3
+ "version": "2.0.85",
4
4
  "description": "All in one Design library for desktop applications.",
5
5
  "author": "Inn.Tech",
6
6
  "license": "ISC",