kiban-design-system 1.0.286-alpha.0 → 1.0.287-alpha.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.
@@ -1,3 +1,3 @@
1
- import AlertProvider, { useShowAlert } from './AlertProvider';
2
- export * from './AlertProvider.props';
3
- export { AlertProvider, useShowAlert };
1
+ import AlertProvider, { useShowAlert, useDeleteAlert } from "./AlertProvider";
2
+ export * from "./AlertProvider.props";
3
+ export { AlertProvider, useShowAlert, useDeleteAlert };
package/dist/index.cjs.js CHANGED
@@ -6930,6 +6930,12 @@ const useShowAlert = () => {
6930
6930
  } = React2.useContext(AlertContext);
6931
6931
  return addAlert;
6932
6932
  };
6933
+ const useDeleteAlert = () => {
6934
+ const {
6935
+ deleteAlert
6936
+ } = React2.useContext(AlertContext);
6937
+ return deleteAlert;
6938
+ };
6933
6939
 
6934
6940
  const MAIN_CLASS$q = "column";
6935
6941
  /** Grid.Item is used for set size of element in the Grid
@@ -41478,6 +41484,7 @@ exports.formatFileSize = formatFileSize;
41478
41484
  exports.isComponentTypeOf = isComponentTypeOf;
41479
41485
  exports.isValidIcon = isValidIcon;
41480
41486
  exports.themeClassConverter = themeClassConverter;
41487
+ exports.useDeleteAlert = useDeleteAlert;
41481
41488
  exports.useShowAlert = useShowAlert;
41482
41489
  exports.useTheme = useTheme;
41483
41490
  //# sourceMappingURL=index.cjs.js.map