sag_components 2.0.0-beta329 → 2.0.0-beta330
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 +3 -1
- package/dist/index.esm.js +248 -21
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +248 -21
- package/dist/index.js.map +1 -1
- package/dist/types/components/ItemManagerPanel/ItemManagerPanel.d.ts +3 -1
- package/dist/types/components/ItemManagerPanel/ItemManagerPanel.stories.d.ts +35 -6
- package/dist/types/components/ItemManagerPanel/NewSubitem/BrandAutocomplete.d.ts +8 -0
- package/dist/types/components/ItemManagerPanel/NewSubitem/BrandAutocomplete.stories.d.ts +12 -0
- package/dist/types/components/ItemManagerPanel/NewSubitem/NewSubitem.d.ts +3 -1
- package/dist/types/components/ItemManagerPanel/NewSubitem/NewSubitem.style.d.ts +5 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default ItemManagerPanel;
|
|
2
|
-
declare function ItemManagerPanel({ width, height, disableSection, onSendForms, editMode, disabledSendForms, AllFormsSent, itemAndPackage, setItemAndPackage, linkColor, backgroundColor, buttonTooltipText, trashTooltipText, maxVisibleVendors, componentText, SubTitleColor, searchValue, onSearchChange, searchResults, filteredVendors, isSearchLoading, isLoading, isLoadingText, onLastRowsReached, lastRowsThreshold, onBackFromList, onPackageAdded, }: {
|
|
2
|
+
declare function ItemManagerPanel({ width, height, disableSection, onSendForms, editMode, disabledSendForms, AllFormsSent, itemAndPackage, setItemAndPackage, linkColor, backgroundColor, buttonTooltipText, trashTooltipText, maxVisibleVendors, componentText, SubTitleColor, searchValue, onSearchChange, searchResults, filteredVendors, isSearchLoading, isLoading, isLoadingText, onLastRowsReached, lastRowsThreshold, onBackFromList, onPackageAdded, brandSuggestions, onBrandSaved, }: {
|
|
3
3
|
width?: string;
|
|
4
4
|
height?: string;
|
|
5
5
|
disableSection?: boolean;
|
|
@@ -27,4 +27,6 @@ declare function ItemManagerPanel({ width, height, disableSection, onSendForms,
|
|
|
27
27
|
lastRowsThreshold?: number;
|
|
28
28
|
onBackFromList?: any;
|
|
29
29
|
onPackageAdded?: any;
|
|
30
|
+
brandSuggestions?: any[];
|
|
31
|
+
onBrandSaved?: any;
|
|
30
32
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -137,8 +137,8 @@ export namespace InContext {
|
|
|
137
137
|
}
|
|
138
138
|
export { parameters_1 as parameters };
|
|
139
139
|
}
|
|
140
|
-
export function
|
|
141
|
-
export namespace
|
|
140
|
+
export function AutocompleteDemo(args: any): import("react/jsx-runtime").JSX.Element;
|
|
141
|
+
export namespace AutocompleteDemo {
|
|
142
142
|
export namespace args {
|
|
143
143
|
const width_1: string;
|
|
144
144
|
export { width_1 as width };
|
|
@@ -156,10 +156,6 @@ export namespace PerformanceTest8000Vendors {
|
|
|
156
156
|
export { disabledSendForms_1 as disabledSendForms };
|
|
157
157
|
const AllFormsSent_1: boolean;
|
|
158
158
|
export { AllFormsSent_1 as AllFormsSent };
|
|
159
|
-
const buttonTooltipText_1: string;
|
|
160
|
-
export { buttonTooltipText_1 as buttonTooltipText };
|
|
161
|
-
const trashTooltipText_1: string;
|
|
162
|
-
export { trashTooltipText_1 as trashTooltipText };
|
|
163
159
|
export const maxVisibleVendors: number;
|
|
164
160
|
}
|
|
165
161
|
export namespace parameters_2 {
|
|
@@ -168,4 +164,37 @@ export namespace PerformanceTest8000Vendors {
|
|
|
168
164
|
}
|
|
169
165
|
export { parameters_2 as parameters };
|
|
170
166
|
}
|
|
167
|
+
export function PerformanceTest8000Vendors(args: any): import("react/jsx-runtime").JSX.Element;
|
|
168
|
+
export namespace PerformanceTest8000Vendors {
|
|
169
|
+
export namespace args_1 {
|
|
170
|
+
const width_2: string;
|
|
171
|
+
export { width_2 as width };
|
|
172
|
+
const height_2: string;
|
|
173
|
+
export { height_2 as height };
|
|
174
|
+
const linkColor_2: string;
|
|
175
|
+
export { linkColor_2 as linkColor };
|
|
176
|
+
const backgroundColor_2: string;
|
|
177
|
+
export { backgroundColor_2 as backgroundColor };
|
|
178
|
+
const editMode_2: boolean;
|
|
179
|
+
export { editMode_2 as editMode };
|
|
180
|
+
const disableSection_2: boolean;
|
|
181
|
+
export { disableSection_2 as disableSection };
|
|
182
|
+
const disabledSendForms_2: boolean;
|
|
183
|
+
export { disabledSendForms_2 as disabledSendForms };
|
|
184
|
+
const AllFormsSent_2: boolean;
|
|
185
|
+
export { AllFormsSent_2 as AllFormsSent };
|
|
186
|
+
const buttonTooltipText_1: string;
|
|
187
|
+
export { buttonTooltipText_1 as buttonTooltipText };
|
|
188
|
+
const trashTooltipText_1: string;
|
|
189
|
+
export { trashTooltipText_1 as trashTooltipText };
|
|
190
|
+
const maxVisibleVendors_1: number;
|
|
191
|
+
export { maxVisibleVendors_1 as maxVisibleVendors };
|
|
192
|
+
}
|
|
193
|
+
export { args_1 as args };
|
|
194
|
+
export namespace parameters_3 {
|
|
195
|
+
const layout_3: string;
|
|
196
|
+
export { layout_3 as layout };
|
|
197
|
+
}
|
|
198
|
+
export { parameters_3 as parameters };
|
|
199
|
+
}
|
|
171
200
|
import ItemManagerPanel from "./ItemManagerPanel";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default BrandAutocomplete;
|
|
2
|
+
declare function BrandAutocomplete({ value, onChange, suggestions, placeholder, maxLength, }: {
|
|
3
|
+
value: any;
|
|
4
|
+
onChange: any;
|
|
5
|
+
suggestions?: any[];
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
maxLength?: number;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
export const title: string;
|
|
3
|
+
export { BrandAutocomplete as component };
|
|
4
|
+
export namespace parameters {
|
|
5
|
+
const layout: string;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
export default _default;
|
|
9
|
+
export function KeyboardNavigation(): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export function ManySuggestions(): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export function NoSuggestions(): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
import BrandAutocomplete from "./BrandAutocomplete";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default NewSubitem;
|
|
2
|
-
declare function NewSubitem({ packageObject, vendor, onBack, addNewPackage, updateExistingPackage, componentText, itemAndPackage }: {
|
|
2
|
+
declare function NewSubitem({ packageObject, vendor, onBack, addNewPackage, updateExistingPackage, componentText, itemAndPackage, brandSuggestions, onBrandSaved, }: {
|
|
3
3
|
packageObject: any;
|
|
4
4
|
vendor: any;
|
|
5
5
|
onBack: any;
|
|
@@ -7,4 +7,6 @@ declare function NewSubitem({ packageObject, vendor, onBack, addNewPackage, upda
|
|
|
7
7
|
updateExistingPackage: any;
|
|
8
8
|
componentText?: string;
|
|
9
9
|
itemAndPackage: any;
|
|
10
|
+
brandSuggestions?: any[];
|
|
11
|
+
onBrandSaved: any;
|
|
10
12
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -12,5 +12,10 @@ export const ButtonsContainer: import("styled-components/dist/types").IStyledCom
|
|
|
12
12
|
export const AddButtonContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
13
13
|
export const Divider: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
14
14
|
export const AddNegotiatedBrand: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, never>> & string;
|
|
15
|
+
export const AutocompleteWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
15
16
|
export const NegotiatedTextarea: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, never>> & string;
|
|
17
|
+
export const GhostSuggestion: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
18
|
+
export const MeasureSpan: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
19
|
+
export const SuggestionDropdown: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
|
|
20
|
+
export const SuggestionItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>> & string;
|
|
16
21
|
export const NegotiatedContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|