forstok-ui-lib 8.5.0 → 8.5.2
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 +5 -4
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/stylesheets/shares.styles.ts +0 -2
- package/src/components/select/typed.ts +121 -92
package/dist/index.d.ts
CHANGED
|
@@ -191,7 +191,7 @@ type TOption = {
|
|
|
191
191
|
readonly label: string;
|
|
192
192
|
readonly name?: string;
|
|
193
193
|
readonly isFixed?: boolean;
|
|
194
|
-
readonly channel?: Omit<TChannel,
|
|
194
|
+
readonly channel?: Omit<TChannel, "stores">;
|
|
195
195
|
postalCode?: string;
|
|
196
196
|
localId?: string;
|
|
197
197
|
isDisabled?: boolean | null;
|
|
@@ -209,8 +209,9 @@ type TOption = {
|
|
|
209
209
|
imageUrl?: string | null;
|
|
210
210
|
warehouse?: TWarehouseAddons[] | null;
|
|
211
211
|
};
|
|
212
|
+
detail?: any;
|
|
212
213
|
} & TskuAddons;
|
|
213
|
-
type TLoadOption = (search: string, callback: () => void, { endCursor }: {
|
|
214
|
+
type TLoadOption = (search: string, callback: () => void, { endCursor, }: {
|
|
214
215
|
endCursor: string;
|
|
215
216
|
}) => Promise<{
|
|
216
217
|
options: any;
|
|
@@ -233,9 +234,9 @@ type TSelectAsyncPaginate = {
|
|
|
233
234
|
evChange?: (newValue: TOnChangeValue, actionMeta?: ActionMeta<TOption>) => void;
|
|
234
235
|
defaultValue?: TOnChangeValue;
|
|
235
236
|
loadOptionsOnMenuOpen?: boolean;
|
|
236
|
-
noOptionsMessage?: (
|
|
237
|
+
noOptionsMessage?: (obj: {
|
|
237
238
|
inputValue: string;
|
|
238
|
-
}) => React.ReactNode
|
|
239
|
+
}) => React.ReactNode;
|
|
239
240
|
isSearchable?: boolean;
|
|
240
241
|
isClearable?: boolean;
|
|
241
242
|
placeholder?: string;
|
package/dist/index.js
CHANGED
|
@@ -1689,7 +1689,6 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function M(e,t){if(!e){"un
|
|
|
1689
1689
|
a,
|
|
1690
1690
|
span {
|
|
1691
1691
|
text-align: ${({$align:e})=>"right"===e?"right":"left"};
|
|
1692
|
-
text-transform: capitalize;
|
|
1693
1692
|
cursor: pointer;
|
|
1694
1693
|
}
|
|
1695
1694
|
hr {
|
|
@@ -2809,7 +2808,6 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function M(e,t){if(!e){"un
|
|
|
2809
2808
|
> label,
|
|
2810
2809
|
> span {
|
|
2811
2810
|
cursor: pointer;
|
|
2812
|
-
text-transform: capitalize;
|
|
2813
2811
|
width: 100%;
|
|
2814
2812
|
max-width: 218px;
|
|
2815
2813
|
overflow: hidden;
|