amotify 0.0.25 → 0.0.27

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/@types/amot.tsx CHANGED
@@ -1,4 +1,5 @@
1
1
  import { FontAwesomeIconProps } from '@fortawesome/react-fontawesome';
2
+ import { IconDefinition } from "@fortawesome/fontawesome-common-types";
2
3
  import * as FontawesomeCore from '@fortawesome/fontawesome-svg-core';
3
4
 
4
5
  import React from 'react';
@@ -149,7 +150,7 @@ declare global {
149
150
  namespace FAI {
150
151
  type Method = React.FC<FAIParams> & Shortcuts;
151
152
  type FAIParams = amotifyBasicElement & {
152
- icon: FontawesomeCore.IconProp
153
+ icon: FontawesomeCore.IconProp | IconDefinition
153
154
  iconParams?: Omit<FontAwesomeIconProps,'icon'>
154
155
  };
155
156
  type Shortcuts = {
package/@types/fn.tsx CHANGED
@@ -978,7 +978,7 @@ declare global {
978
978
  } ): void
979
979
  reposition( sheetID: string ): void
980
980
 
981
- close( key: string,eventType?: 'escape' | 'pageTransit' ): void
981
+ close( key: string,eventType?: 'Escape' | 'pageTransit' ): void
982
982
  closeGroup( keyGroup: string ): void
983
983
  closeAll( pageTransit?: boolean ): void
984
984
  Comps: {