@stenajs-webui/elements 19.0.0-next.0 → 19.0.0-next.11
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/dist/components/ui/buttons/FlatButton.d.ts +3 -6
- package/dist/components/ui/buttons/menu-button/IconMenuButton.d.ts +10 -0
- package/dist/components/ui/buttons/menu-button/IconMenuButtonLink.d.ts +25 -0
- package/dist/components/ui/buttons/menu-button/MenuButton.d.ts +1 -0
- package/dist/icons/ui/IconsUi.d.ts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.es.js +1376 -1218
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { PrimaryButtonProps } from "./PrimaryButton";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const FlatButton: React.ForwardRefExoticComponent<PrimaryButtonProps & {
|
|
7
|
-
inverted?: boolean | undefined;
|
|
8
|
-
} & React.RefAttributes<HTMLButtonElement>>;
|
|
3
|
+
export interface FlatButtonProps extends PrimaryButtonProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const FlatButton: React.ForwardRefExoticComponent<FlatButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { ButtonElementProps } from "@stenajs-webui/core";
|
|
3
|
+
import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
|
|
4
|
+
import { MenuButtonVariant } from "./MenuButton";
|
|
5
|
+
export interface IconMenuButtonProps extends ButtonElementProps {
|
|
6
|
+
selected?: boolean;
|
|
7
|
+
icon: IconDefinition;
|
|
8
|
+
variant?: MenuButtonVariant;
|
|
9
|
+
}
|
|
10
|
+
export declare const IconMenuButton: React.ForwardRefExoticComponent<IconMenuButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { AnchorElementProps } from "@stenajs-webui/core";
|
|
3
|
+
import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
|
|
4
|
+
import { MenuButtonVariant } from "./MenuButton";
|
|
5
|
+
import { MenuButtonLinkRenderer } from "./MenuButtonLink";
|
|
6
|
+
export declare type IconMenuButtonLinkProps = IconMenuButtonLinkNotSelectedProps | IconMenuButtonLinkWithSelectedProps | IconMenuButtonLinkWithRenderLinkProps;
|
|
7
|
+
interface IconMenuButtonCommonProps extends AnchorElementProps {
|
|
8
|
+
icon: IconDefinition;
|
|
9
|
+
variant?: MenuButtonVariant;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface IconMenuButtonLinkNotSelectedProps extends IconMenuButtonCommonProps {
|
|
13
|
+
renderLink?: never;
|
|
14
|
+
selected?: never;
|
|
15
|
+
}
|
|
16
|
+
export interface IconMenuButtonLinkWithSelectedProps extends IconMenuButtonCommonProps {
|
|
17
|
+
renderLink?: never;
|
|
18
|
+
selected?: boolean;
|
|
19
|
+
}
|
|
20
|
+
export interface IconMenuButtonLinkWithRenderLinkProps extends IconMenuButtonCommonProps {
|
|
21
|
+
renderLink?: MenuButtonLinkRenderer;
|
|
22
|
+
selected?: never;
|
|
23
|
+
}
|
|
24
|
+
export declare const IconMenuButtonLink: React.ForwardRefExoticComponent<IconMenuButtonLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
25
|
+
export {};
|
|
@@ -77,6 +77,7 @@ export declare const stenaExclamationTriangleFilled: IconDefinition;
|
|
|
77
77
|
export declare const stenaExclamationTriangle: IconDefinition;
|
|
78
78
|
export declare const stenaExpand: IconDefinition;
|
|
79
79
|
export declare const stenaExternalLink: IconDefinition;
|
|
80
|
+
export declare const stenaExtra: IconDefinition;
|
|
80
81
|
export declare const stenaEyeClose: IconDefinition;
|
|
81
82
|
export declare const stenaEyeHide: IconDefinition;
|
|
82
83
|
export declare const stenaEyeOpen: IconDefinition;
|
|
@@ -158,6 +159,7 @@ export declare const stenaSailingOnQuay: IconDefinition;
|
|
|
158
159
|
export declare const stenaSailingOnRoute: IconDefinition;
|
|
159
160
|
export declare const stenaSailingPeak: IconDefinition;
|
|
160
161
|
export declare const stenaSailingRoundTrip: IconDefinition;
|
|
162
|
+
export declare const stenaSailingRouteAlt: IconDefinition;
|
|
161
163
|
export declare const stenaSailingRoute: IconDefinition;
|
|
162
164
|
export declare const stenaSailingShip: IconDefinition;
|
|
163
165
|
export declare const stenaSailingShoulder: IconDefinition;
|
|
@@ -166,6 +168,7 @@ export declare const stenaSailingTicket: IconDefinition;
|
|
|
166
168
|
export declare const stenaSailingTrailer: IconDefinition;
|
|
167
169
|
export declare const stenaSailingTrain: IconDefinition;
|
|
168
170
|
export declare const stenaSailingTruckAlt: IconDefinition;
|
|
171
|
+
export declare const stenaSailingTruckSide: IconDefinition;
|
|
169
172
|
export declare const stenaSailingVehicle: IconDefinition;
|
|
170
173
|
export declare const stenaSave: IconDefinition;
|
|
171
174
|
export declare const stenaSearchError: IconDefinition;
|
package/dist/index.d.ts
CHANGED
|
@@ -16,13 +16,16 @@ export * from "./components/ui/buttons/SecondaryButton";
|
|
|
16
16
|
export * from "./components/ui/buttons/common/ButtonCommon";
|
|
17
17
|
export * from "./components/ui/buttons/common/ButtonContent";
|
|
18
18
|
export * from "./components/ui/buttons/menu-button/MenuButton";
|
|
19
|
+
export * from "./components/ui/buttons/menu-button/IconMenuButton";
|
|
19
20
|
export * from "./components/ui/buttons/menu-button/MenuButtonLink";
|
|
21
|
+
export * from "./components/ui/buttons/menu-button/IconMenuButtonLink";
|
|
20
22
|
export * from "./components/ui/button-links/FlatButtonLink";
|
|
21
23
|
export * from "./components/ui/button-links/PrimaryButtonLink";
|
|
22
24
|
export * from "./components/ui/button-links/SecondaryButtonLink";
|
|
23
25
|
export * from "./components/ui/button-group/ButtonGroup";
|
|
24
26
|
export * from "./components/ui/up-down-buttons/UpDownButtons";
|
|
25
27
|
export * from "./components/ui/icon/Icon";
|
|
28
|
+
export * from "./components/ui/icon/CircledIcon";
|
|
26
29
|
export * from "./components/ui/card/Card";
|
|
27
30
|
export * from "./components/ui/card/CardHeader";
|
|
28
31
|
export * from "./components/ui/card/CardBody";
|