@aic-kits/react 0.35.3 → 0.35.4
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/components/Table/InlinePairSelect.d.ts +1 -1
- package/dist/components/Table/types.d.ts +2 -0
- package/dist/index.cjs +104 -88
- package/dist/index.js +4318 -4293
- package/package.json +2 -2
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { InlinePairSelectProps } from './types';
|
|
3
|
-
export declare const InlinePairSelect: ({ primaryOptions, secondaryOptions, value, onChange, primaryLabel, secondaryLabel, primaryPlaceholder, secondaryPlaceholder, valueKeys, disabled, borderRadius, }: InlinePairSelectProps) => React.ReactElement;
|
|
3
|
+
export declare const InlinePairSelect: ({ primaryOptions, secondaryOptions, getSecondaryOptions, value, onChange, primaryLabel, secondaryLabel, primaryPlaceholder, secondaryPlaceholder, valueKeys, disabled, borderRadius, }: InlinePairSelectProps) => React.ReactElement;
|
|
@@ -53,6 +53,7 @@ export interface InlinePairSelectConfig {
|
|
|
53
53
|
};
|
|
54
54
|
primaryOptions: InlinePairSelectOption[];
|
|
55
55
|
secondaryOptions: InlinePairSelectOption[];
|
|
56
|
+
getSecondaryOptions?: (primaryValue: string) => InlinePairSelectOption[];
|
|
56
57
|
}
|
|
57
58
|
/**
|
|
58
59
|
* Option for inline multi select
|
|
@@ -249,6 +250,7 @@ export interface InlineMultiSelectProps {
|
|
|
249
250
|
export interface InlinePairSelectProps {
|
|
250
251
|
primaryOptions: InlinePairSelectOption[];
|
|
251
252
|
secondaryOptions: InlinePairSelectOption[];
|
|
253
|
+
getSecondaryOptions?: (primaryValue: string) => InlinePairSelectOption[];
|
|
252
254
|
value: InlinePairSelectValue[];
|
|
253
255
|
onChange: (next: InlinePairSelectValue[]) => void;
|
|
254
256
|
primaryLabel?: string;
|