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 +2 -1
- package/@types/fn.tsx +1 -1
- package/dist/amotify.js +2 -2
- package/dist/amotify.min.css +2 -2
- package/dist/coreVender.js +2 -2
- package/package.json +4 -3
- package/src/atoms/FAI/parts.tsx +54 -51
- package/src/functions/Cropper/parts.tsx +4 -4
- package/src/functions/Input/Chips/Selector.tsx +1 -3
- package/src/functions/Input/File/_.tsx +7 -5
- package/src/functions/Input/Select/_.tsx +0 -4
- package/src/functions/Input/_.tsx +14 -6
- package/src/functions/Input/core.tsx +6 -3
- package/src/functions/Input/style.module.scss +3 -3
- package/src/functions/Sheet/parts.tsx +2 -2
- package/src/functions/Table/Data/parts.tsx +6 -6
- package/src/functions/Table/Drag/parts.tsx +8 -9
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?: '
|
|
981
|
+
close( key: string,eventType?: 'Escape' | 'pageTransit' ): void
|
|
982
982
|
closeGroup( keyGroup: string ): void
|
|
983
983
|
closeAll( pageTransit?: boolean ): void
|
|
984
984
|
Comps: {
|