react-core-ts 1.9.17 → 2.0.0
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/AutoCompleteWithTabFilter.d.ts +4 -0
- package/dist/AutoCompleteWithTabFilter.js +743 -0
- package/dist/AutoCompleteWithTabFilter.js.map +1 -0
- package/dist/ReactTextField.js +13 -8
- package/dist/ReactTextField.js.map +1 -1
- package/dist/commontypes.d.ts +14 -1
- package/dist/dropdownFilterTabs.d.ts +7 -0
- package/dist/dropdownFilterTabs.js +647 -0
- package/dist/dropdownFilterTabs.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/styles/components/autocomplete.css +18 -0
- package/dist/styles/components/selectedautocomplete.css +11 -0
- package/dist/utilities/icons.d.ts +1 -0
- package/dist/utilities/icons.js +6 -1
- package/dist/utilities/icons.js.map +1 -1
- package/docs/App.tsx +109 -8
- package/package.json +1 -1
- package/src/AutoCompleteWithTabFilter.tsx +1244 -0
- package/src/ReactTextField.tsx +23 -4
- package/src/commontypes.ts +15 -1
- package/src/dropdownFilterTabs.tsx +1002 -0
- package/src/index.tsx +1 -0
- package/src/styles/components/autocomplete.css +18 -0
- package/src/styles/components/selectedautocomplete.css +11 -0
- package/src/utilities/icons.tsx +10 -0
- package/dist/styles/styles/components/autocomplete.css +0 -699
- package/dist/styles/styles/components/selectedautocomplete.css +0 -168
- package/dist/styles/styles/components/tooltip.css +0 -497
- package/dist/styles/styles/components/treedropdown.css +0 -97
- package/dist/styles/styles/global.css +0 -8
package/src/index.tsx
CHANGED
|
@@ -5,6 +5,7 @@ export {
|
|
|
5
5
|
default as CustomAutoComplete,
|
|
6
6
|
} from './AutoComplete';
|
|
7
7
|
export { default as AutoCompleteWithSelectedList } from './AutoCompleteWithSelectedList';
|
|
8
|
+
export { default as AutoCompleteWithTabFilter } from './AutoCompleteWithTabFilter';
|
|
8
9
|
export { default as AutoCompleteWithTreeStructure } from './AutoCompleteWithTreeStructure';
|
|
9
10
|
export type { AutoSuggestionInputProps } from './commontypes';
|
|
10
11
|
export { default as ExpandableAutoComplete } from './ExpandableAutoComplete';
|
|
@@ -697,3 +697,21 @@ span.dropdown-search-icon {
|
|
|
697
697
|
white-space: nowrap;
|
|
698
698
|
margin: 0px 5px;
|
|
699
699
|
}
|
|
700
|
+
|
|
701
|
+
/* TextField Inner Search Button */
|
|
702
|
+
.inner-search-button {
|
|
703
|
+
background: #f8f8f8;
|
|
704
|
+
border-radius: 6px;
|
|
705
|
+
padding: 0px 8px;
|
|
706
|
+
display: flex;
|
|
707
|
+
align-items: center;
|
|
708
|
+
justify-content: center;
|
|
709
|
+
cursor: pointer;
|
|
710
|
+
height: 38px;
|
|
711
|
+
width: 38px;
|
|
712
|
+
top: 1px;
|
|
713
|
+
right: 2px;
|
|
714
|
+
}
|
|
715
|
+
.search-btn-input {
|
|
716
|
+
padding-right: 38px;
|
|
717
|
+
}
|
|
@@ -165,4 +165,15 @@
|
|
|
165
165
|
}
|
|
166
166
|
.qbs-select-all-link .qbs-autocomplete-listitem-container:hover {
|
|
167
167
|
background-color:#fff !important;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.has-selected-items {
|
|
171
|
+
color: #FF681D !important;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.tools-drop-btn-active {
|
|
175
|
+
color: #FF681D !important;
|
|
176
|
+
}
|
|
177
|
+
.qbs-tab-has-selected-items .qbs-tab-item{
|
|
178
|
+
color: #FF681D !important;
|
|
168
179
|
}
|
package/src/utilities/icons.tsx
CHANGED
|
@@ -177,3 +177,13 @@ export const AllDropArrow: React.FC<any> = ({
|
|
|
177
177
|
</svg>
|
|
178
178
|
);
|
|
179
179
|
};
|
|
180
|
+
|
|
181
|
+
export const Tools: React.FC<any> = ({ className = "", stroke = 1.5 }) => {
|
|
182
|
+
return (
|
|
183
|
+
<div role="status">
|
|
184
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
185
|
+
<path d="M18.3334 2.5H1.66675L8.33341 10.3833V15.8333L11.6667 17.5V10.3833L18.3334 2.5Z" stroke="currentColor" strokeWidth="1.66667" strokeLinecap="round" strokeLinejoin="round"/>
|
|
186
|
+
</svg>
|
|
187
|
+
</div>
|
|
188
|
+
);
|
|
189
|
+
};
|