@inntechcorp/it-design 2.0.213 → 2.0.214

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.
package/dist/index.d.ts CHANGED
@@ -745,19 +745,20 @@ type AccordionItemProps = {
745
745
  children?: null | ChildrenProps;
746
746
  };
747
747
 
748
- type InputVariant = "default" | "filled" | "dashed";
749
748
  declare enum InputTypes {
750
749
  TEXT = "text",
751
750
  NUMBER = "number",
752
751
  CURRENCY = "currency",
753
752
  PASSWORD = "password"
754
753
  }
754
+ type InputType = `${InputTypes}`;
755
+ type InputVariant = "default" | "filled" | "dashed";
755
756
  type InputProps = {
756
757
  id?: string;
757
758
  placeholder?: string;
758
759
  value?: string;
759
760
  defaultValue?: string;
760
- type?: InputTypes;
761
+ type?: InputType;
761
762
  className?: string;
762
763
  size?: ITDSize;
763
764
  variant?: InputVariant;
@@ -61,32 +61,6 @@
61
61
  -webkit-box-shadow: 0 0 0 30px #151d3d inset !important;
62
62
  }
63
63
 
64
- .option {
65
- display: flex;
66
- align-items: center;
67
- cursor: pointer;
68
- min-width: max-content;
69
- padding: 10px 30px 10px 15px;
70
- }
71
- .option:not(:last-child) {
72
- margin-bottom: 1px;
73
- }
74
- .option:hover {
75
- background-color: rgba(29, 38, 73, 0.5019607843);
76
- }
77
-
78
- .selected .single, .selected .option span {
79
- color: #ffffff;
80
- }
81
-
82
- .single, .option span {
83
- color: rgba(255, 255, 255, 0.6666666667);
84
- font-weight: 400;
85
- font-size: 12px;
86
- line-height: 12px;
87
- white-space: nowrap;
88
- }
89
-
90
64
  .arrow {
91
65
  transition: all 0.25s ease-out;
92
66
  margin-left: auto;
@@ -182,6 +156,32 @@
182
156
  transition: height 150ms ease-out;
183
157
  }
184
158
 
159
+ .option {
160
+ display: flex;
161
+ align-items: center;
162
+ cursor: pointer;
163
+ min-width: max-content;
164
+ padding: 10px 30px 10px 15px;
165
+ }
166
+ .option:not(:last-child) {
167
+ margin-bottom: 1px;
168
+ }
169
+ .option:hover {
170
+ background-color: rgba(29, 38, 73, 0.5019607843);
171
+ }
172
+
173
+ .selected .single, .selected .option span {
174
+ color: #ffffff;
175
+ }
176
+
177
+ .single, .option span {
178
+ color: rgba(255, 255, 255, 0.6666666667);
179
+ font-weight: 400;
180
+ font-size: 12px;
181
+ line-height: 12px;
182
+ white-space: nowrap;
183
+ }
184
+
185
185
  .container {
186
186
  display: flex;
187
187
  align-items: center;
@@ -1,19 +1,20 @@
1
1
  import { FocusEventHandler, KeyboardEvent, MutableRefObject } from "react";
2
2
  import { ChildrenProps } from "./ChildrenProps";
3
3
  import { ITDSize } from "../index";
4
- export type InputVariant = "default" | "filled" | "dashed";
5
4
  export declare enum InputTypes {
6
5
  TEXT = "text",
7
6
  NUMBER = "number",
8
7
  CURRENCY = "currency",
9
8
  PASSWORD = "password"
10
9
  }
10
+ export type InputType = `${InputTypes}`;
11
+ export type InputVariant = "default" | "filled" | "dashed";
11
12
  export type InputProps = {
12
13
  id?: string;
13
14
  placeholder?: string;
14
15
  value?: string;
15
16
  defaultValue?: string;
16
- type?: InputTypes;
17
+ type?: InputType;
17
18
  className?: string;
18
19
  size?: ITDSize;
19
20
  variant?: InputVariant;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inntechcorp/it-design",
3
- "version": "2.0.213",
3
+ "version": "2.0.214",
4
4
  "description": "All in one Design library for web applications.",
5
5
  "author": "Inn.Tech",
6
6
  "license": "ISC",