@sb1/ffe-buttons-react 24.0.15 → 24.0.16
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"root":["../src/ActionButton.tsx","../src/BackButton.tsx","../src/BaseButton.tsx","../src/ButtonGroup.tsx","../src/ExpandButton.tsx","../src/InlineBaseButton.tsx","../src/InlineExpandButton.tsx","../src/PrimaryButton.tsx","../src/SecondaryButton.tsx","../src/ShortcutButton.tsx","../src/TaskButton.tsx","../src/TertiaryButton.tsx","../src/fixedForwardRef.tsx","../src/index.ts","../src/types.ts"],"version":"5.6.2"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"root":["../src/ActionButton.tsx","../src/BackButton.tsx","../src/BaseButton.tsx","../src/ButtonGroup.tsx","../src/ExpandButton.tsx","../src/InlineBaseButton.tsx","../src/InlineExpandButton.tsx","../src/PrimaryButton.tsx","../src/SecondaryButton.tsx","../src/ShortcutButton.tsx","../src/TaskButton.tsx","../src/TertiaryButton.tsx","../src/fixedForwardRef.tsx","../src/index.ts","../src/types.ts"],"version":"5.6.2"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-buttons-react",
|
|
3
|
-
"version": "24.0.
|
|
3
|
+
"version": "24.0.16",
|
|
4
4
|
"description": "React implementation of ffe-buttons",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ffe"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"test:watch": "ffe-buildtool jest --watch"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@sb1/ffe-buttons": "^19.0.
|
|
32
|
+
"@sb1/ffe-buttons": "^19.0.8",
|
|
33
33
|
"@sb1/ffe-icons-react": "^11.0.8",
|
|
34
34
|
"classnames": "^2.3.1"
|
|
35
35
|
},
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "9e7c6de56ed486307a17d6c90c3f565c66f94eb1"
|
|
49
49
|
}
|
package/types/BaseButton.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { ElementType, ReactElement } from 'react';
|
|
1
|
+
import React, { ElementType, ForwardedRef, ReactElement } from 'react';
|
|
2
2
|
import { ComponentAsPropParams } from './types';
|
|
3
3
|
export type BaseButtonProps<As extends ElementType = 'button'> = ComponentAsPropParams<As> & {
|
|
4
4
|
ariaLoadingMessage?: string;
|
|
@@ -11,7 +11,7 @@ export type BaseButtonProps<As extends ElementType = 'button'> = ComponentAsProp
|
|
|
11
11
|
export declare const BaseButton: <As extends ElementType>(props: {
|
|
12
12
|
as?: As | undefined;
|
|
13
13
|
} & import("./types").DistributiveOmit<React.ComponentPropsWithRef<React.ElementType extends As ? "button" : As>, "as" & {
|
|
14
|
-
ref:
|
|
14
|
+
ref: ForwardedRef<any>;
|
|
15
15
|
}> & {
|
|
16
16
|
ariaLoadingMessage?: string;
|
|
17
17
|
buttonType: "action" | "primary" | "secondary" | "shortcut" | "task";
|
package/types/ExpandButton.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { ElementType } from 'react';
|
|
1
|
+
import React, { ElementType, ForwardedRef } from 'react';
|
|
2
2
|
import { ComponentAsPropParams } from './types';
|
|
3
3
|
export type ExpandButtonProps<As extends ElementType = 'button'> = ComponentAsPropParams<As> & {
|
|
4
4
|
/** An accessible label for the close-button, only shown in the "isExpanded" state */
|
|
@@ -9,7 +9,7 @@ export type ExpandButtonProps<As extends ElementType = 'button'> = ComponentAsPr
|
|
|
9
9
|
export declare const ExpandButton: <As extends ElementType>(props: {
|
|
10
10
|
as?: As | undefined;
|
|
11
11
|
} & import("./types").DistributiveOmit<React.ComponentPropsWithRef<React.ElementType extends As ? "button" : As>, "as" & {
|
|
12
|
-
ref:
|
|
12
|
+
ref: ForwardedRef<any>;
|
|
13
13
|
}> & {
|
|
14
14
|
/** An accessible label for the close-button, only shown in the "isExpanded" state */
|
|
15
15
|
closeLabel?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { ElementType, ReactElement } from 'react';
|
|
1
|
+
import React, { ElementType, ForwardedRef, ReactElement } from 'react';
|
|
2
2
|
import { ComponentAsPropParams } from './types';
|
|
3
3
|
export type InlineBaseButtonProps<As extends ElementType = 'button'> = ComponentAsPropParams<As> & {
|
|
4
4
|
/**
|
|
@@ -14,7 +14,7 @@ export type InlineBaseButtonProps<As extends ElementType = 'button'> = Component
|
|
|
14
14
|
export declare const InlineBaseButton: <As extends ElementType>(props: {
|
|
15
15
|
as?: As | undefined;
|
|
16
16
|
} & import("./types").DistributiveOmit<React.ComponentPropsWithRef<React.ElementType extends As ? "button" : As>, "as" & {
|
|
17
|
-
ref:
|
|
17
|
+
ref: ForwardedRef<any>;
|
|
18
18
|
}> & {
|
|
19
19
|
/**
|
|
20
20
|
* Enum of supported prop types. Used internally only.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"root":["../src/ActionButton.tsx","../src/BackButton.tsx","../src/BaseButton.tsx","../src/ButtonGroup.tsx","../src/ExpandButton.tsx","../src/InlineBaseButton.tsx","../src/InlineExpandButton.tsx","../src/PrimaryButton.tsx","../src/SecondaryButton.tsx","../src/ShortcutButton.tsx","../src/TaskButton.tsx","../src/TertiaryButton.tsx","../src/fixedForwardRef.tsx","../src/index.ts","../src/types.ts"],"version":"5.6.2"}
|