@inntechcorp/it-design 2.0.145 → 2.0.147
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.cjs.js +19 -19
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +10 -3
- package/dist/index.esm.js +13 -13
- package/dist/{output-DOIezTPH.css → output-BwpNST6S.css} +26 -26
- package/dist/{output-DjWTgiS1.css → output-DfOH-aLb.css} +26 -26
- package/dist/stories/Table.stories.d.ts +1 -0
- package/dist/table/index.d.ts +4 -1
- package/dist/types/TableProps.d.ts +5 -1
- package/package.json +1 -1
|
@@ -61,6 +61,32 @@
|
|
|
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
|
+
|
|
64
90
|
.menu {
|
|
65
91
|
background-color: #050A20;
|
|
66
92
|
border-radius: 0 5px 5px 5px;
|
|
@@ -127,32 +153,6 @@
|
|
|
127
153
|
transition: height 150ms ease-out;
|
|
128
154
|
}
|
|
129
155
|
|
|
130
|
-
.option {
|
|
131
|
-
display: flex;
|
|
132
|
-
align-items: center;
|
|
133
|
-
cursor: pointer;
|
|
134
|
-
min-width: max-content;
|
|
135
|
-
padding: 10px 30px 10px 15px;
|
|
136
|
-
}
|
|
137
|
-
.option:not(:last-child) {
|
|
138
|
-
margin-bottom: 1px;
|
|
139
|
-
}
|
|
140
|
-
.option:hover {
|
|
141
|
-
background-color: rgba(29, 38, 73, 0.5019607843);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.selected .single, .selected .option span {
|
|
145
|
-
color: #ffffff;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.single, .option span {
|
|
149
|
-
color: rgba(255, 255, 255, 0.6666666667);
|
|
150
|
-
font-weight: 400;
|
|
151
|
-
font-size: 12px;
|
|
152
|
-
line-height: 12px;
|
|
153
|
-
white-space: nowrap;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
156
|
.arrow {
|
|
157
157
|
transition: all 0.25s ease-out;
|
|
158
158
|
margin-left: auto;
|
|
@@ -61,6 +61,32 @@
|
|
|
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
|
+
|
|
64
90
|
.arrow {
|
|
65
91
|
transition: all 0.25s ease-out;
|
|
66
92
|
margin-left: auto;
|
|
@@ -90,32 +116,6 @@
|
|
|
90
116
|
align-items: center;
|
|
91
117
|
}
|
|
92
118
|
|
|
93
|
-
.option {
|
|
94
|
-
display: flex;
|
|
95
|
-
align-items: center;
|
|
96
|
-
cursor: pointer;
|
|
97
|
-
min-width: max-content;
|
|
98
|
-
padding: 10px 30px 10px 15px;
|
|
99
|
-
}
|
|
100
|
-
.option:not(:last-child) {
|
|
101
|
-
margin-bottom: 1px;
|
|
102
|
-
}
|
|
103
|
-
.option:hover {
|
|
104
|
-
background-color: rgba(29, 38, 73, 0.5019607843);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.selected .single, .selected .option span {
|
|
108
|
-
color: #ffffff;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.single, .option span {
|
|
112
|
-
color: rgba(255, 255, 255, 0.6666666667);
|
|
113
|
-
font-weight: 400;
|
|
114
|
-
font-size: 12px;
|
|
115
|
-
line-height: 12px;
|
|
116
|
-
white-space: nowrap;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
119
|
.menu {
|
|
120
120
|
background-color: #050A20;
|
|
121
121
|
border-radius: 0 5px 5px 5px;
|
package/dist/table/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import { TableProps } from "../index";
|
|
2
|
-
declare const Table: <T
|
|
2
|
+
declare const Table: <T extends {
|
|
3
|
+
key: string;
|
|
4
|
+
children?: T[] | undefined;
|
|
5
|
+
}>({ columns, data, cellHeight, size, headless, bordered, dashed, noGaps, overflow, getTRProps }: TableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
3
6
|
export default Table;
|
|
@@ -18,5 +18,9 @@ export type TableProps<T> = {
|
|
|
18
18
|
dashed?: boolean;
|
|
19
19
|
noGaps?: boolean;
|
|
20
20
|
overflow?: boolean;
|
|
21
|
-
getTRProps?: (row: T, rowIndex: number) =>
|
|
21
|
+
getTRProps?: (row: T, rowIndex: number, level: number) => TableTRProps;
|
|
22
|
+
};
|
|
23
|
+
export type TableTRProps = {
|
|
24
|
+
style?: React.CSSProperties;
|
|
25
|
+
classNames?: string;
|
|
22
26
|
};
|