@skedulo/sked-ui 21.0.0 → 21.1.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.
@@ -4,7 +4,7 @@ interface IButtonDropdownProps extends IButtonDropdownCommon {
4
4
  /**
5
5
  * Text to display on the button
6
6
  */
7
- label: string;
7
+ label: React.ReactNode;
8
8
  }
9
9
  /**
10
10
  * The DropdownButton component displays/hides children as a dropdown when clicked. The Menu and MenuItem
@@ -56,6 +56,10 @@ export interface DatepickerProps {
56
56
  * An Array of Date that will be highlighted
57
57
  */
58
58
  highlightDates?: ReactDatePickerProps['highlightDates'];
59
+ /**
60
+ * Used to filter out dates that are not selectable
61
+ */
62
+ filterDate?: ReactDatePickerProps['filterDate'];
59
63
  /**
60
64
  * A component that will override the default Input
61
65
  */
@@ -53,7 +53,6 @@ export interface IPopOutState {
53
53
  }
54
54
  /**
55
55
  * The PopOut component displays/hides its children when either the supplied trigger is clicked or if the openOnMount prop is supplied.
56
- * It should now be used in preference of InfoWindow where possible.
57
56
  * Default placement is bottom-start
58
57
  *
59
58
  * @requires PopOutBase
package/dist/index.js CHANGED
@@ -10482,7 +10482,6 @@ var _excluded = ["placement", "children", "closeOnFirstClick", "closeOnOuterClic
10482
10482
 
10483
10483
  /**
10484
10484
  * The PopOut component displays/hides its children when either the supplied trigger is clicked or if the openOnMount prop is supplied.
10485
- * It should now be used in preference of InfoWindow where possible.
10486
10485
  * Default placement is bottom-start
10487
10486
  *
10488
10487
  * @requires PopOutBase
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skedulo/sked-ui",
3
- "version": "21.0.0",
3
+ "version": "21.1.0",
4
4
  "license": "UNLICENSED",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",