sag_components 2.0.0-beta6 → 2.0.0-beta8
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 +10 -0
- package/dist/index.esm.js +38 -26
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +38 -26
- package/dist/index.js.map +1 -1
- package/dist/types/components/FilterPanel/FilterPanel.d.ts +10 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -273,12 +273,22 @@ declare namespace FilterPanel {
|
|
|
273
273
|
label: PropTypes.Requireable<string>;
|
|
274
274
|
labelEmptyValue: PropTypes.Requireable<string>;
|
|
275
275
|
name: PropTypes.Requireable<string>;
|
|
276
|
+
periodPickerSelectedValue: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
277
|
+
value: PropTypes.Requireable<string>;
|
|
278
|
+
label: PropTypes.Requireable<string>;
|
|
279
|
+
}> | null | undefined)[]>;
|
|
276
280
|
selectedValue: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
277
281
|
value: PropTypes.Requireable<string>;
|
|
278
282
|
label: PropTypes.Requireable<string>;
|
|
279
283
|
}> | null | undefined)[]>;
|
|
284
|
+
orderBy: PropTypes.Requireable<string>;
|
|
285
|
+
elementType: PropTypes.Requireable<string>;
|
|
280
286
|
value: PropTypes.Requireable<number>;
|
|
281
287
|
color: PropTypes.Requireable<string>;
|
|
288
|
+
defaultValueYears: PropTypes.Requireable<PropTypes.InferProps<{
|
|
289
|
+
value: PropTypes.Requireable<string>;
|
|
290
|
+
label: PropTypes.Requireable<string>;
|
|
291
|
+
}>>;
|
|
282
292
|
dropdownOptions: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
283
293
|
value: PropTypes.Requireable<string>;
|
|
284
294
|
label: PropTypes.Requireable<string>;
|
package/dist/index.esm.js
CHANGED
|
@@ -44289,18 +44289,19 @@ const InfoIcon = _ref => {
|
|
|
44289
44289
|
}));
|
|
44290
44290
|
};
|
|
44291
44291
|
|
|
44292
|
-
const LinkButton =
|
|
44293
|
-
|
|
44294
|
-
|
|
44295
|
-
|
|
44296
|
-
|
|
44297
|
-
|
|
44298
|
-
|
|
44299
|
-
|
|
44300
|
-
|
|
44301
|
-
|
|
44302
|
-
|
|
44303
|
-
|
|
44292
|
+
const LinkButton = _ref => {
|
|
44293
|
+
let {
|
|
44294
|
+
text = '',
|
|
44295
|
+
type = 'primary',
|
|
44296
|
+
size = 'small',
|
|
44297
|
+
height = '',
|
|
44298
|
+
width = '',
|
|
44299
|
+
disabled = false,
|
|
44300
|
+
textColor = '',
|
|
44301
|
+
onClick,
|
|
44302
|
+
leftIcon = 'none',
|
|
44303
|
+
rightIcon = 'none'
|
|
44304
|
+
} = _ref;
|
|
44304
44305
|
// const {
|
|
44305
44306
|
// text,
|
|
44306
44307
|
// type,
|
|
@@ -51721,20 +51722,21 @@ const DatePicker = ({
|
|
|
51721
51722
|
};
|
|
51722
51723
|
|
|
51723
51724
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
51724
|
-
const RangePicker =
|
|
51725
|
-
|
|
51726
|
-
|
|
51727
|
-
|
|
51728
|
-
|
|
51729
|
-
|
|
51730
|
-
|
|
51731
|
-
|
|
51732
|
-
|
|
51733
|
-
|
|
51734
|
-
|
|
51735
|
-
|
|
51736
|
-
|
|
51737
|
-
|
|
51725
|
+
const RangePicker = _ref => {
|
|
51726
|
+
let {
|
|
51727
|
+
label,
|
|
51728
|
+
onChange,
|
|
51729
|
+
borderRadius,
|
|
51730
|
+
required,
|
|
51731
|
+
width,
|
|
51732
|
+
height,
|
|
51733
|
+
placeholder,
|
|
51734
|
+
disabled,
|
|
51735
|
+
borderColor,
|
|
51736
|
+
borderColorFocus,
|
|
51737
|
+
textColor,
|
|
51738
|
+
selectedValue
|
|
51739
|
+
} = _ref;
|
|
51738
51740
|
const [isFocused, setIsFocused] = useState(false);
|
|
51739
51741
|
const [isOpen, setIsOpen] = useState(false);
|
|
51740
51742
|
const [value, setValue] = useState(''); // Added value state
|
|
@@ -53448,12 +53450,22 @@ FilterPanel.propTypes = {
|
|
|
53448
53450
|
label: PropTypes.string,
|
|
53449
53451
|
labelEmptyValue: PropTypes.string,
|
|
53450
53452
|
name: PropTypes.string,
|
|
53453
|
+
periodPickerSelectedValue: PropTypes.arrayOf(PropTypes.shape({
|
|
53454
|
+
value: PropTypes.string,
|
|
53455
|
+
label: PropTypes.string
|
|
53456
|
+
})),
|
|
53451
53457
|
selectedValue: PropTypes.arrayOf(PropTypes.shape({
|
|
53452
53458
|
value: PropTypes.string,
|
|
53453
53459
|
label: PropTypes.string
|
|
53454
53460
|
})),
|
|
53461
|
+
orderBy: PropTypes.string,
|
|
53462
|
+
elementType: PropTypes.string,
|
|
53455
53463
|
value: PropTypes.number,
|
|
53456
53464
|
color: PropTypes.string,
|
|
53465
|
+
defaultValueYears: PropTypes.shape({
|
|
53466
|
+
value: PropTypes.string,
|
|
53467
|
+
label: PropTypes.string
|
|
53468
|
+
}),
|
|
53457
53469
|
dropdownOptions: PropTypes.arrayOf(PropTypes.shape({
|
|
53458
53470
|
value: PropTypes.string,
|
|
53459
53471
|
label: PropTypes.string
|