fis-component 0.1.9 → 0.1.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/cjs/index.js +103 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/src/components/Text/index.d.ts +9 -0
- package/dist/cjs/types/src/components/Text/styles.d.ts +4 -0
- package/dist/cjs/types/src/index.d.ts +1 -0
- package/dist/esm/index.js +103 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/components/Text/index.d.ts +9 -0
- package/dist/esm/types/src/components/Text/styles.d.ts +4 -0
- package/dist/esm/types/src/index.d.ts +1 -0
- package/dist/index.d.ts +15 -8
- package/package.json +1 -1
- package/src/styles/design-system/index.ts +2 -2
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ThemeType } from "../../styles/design-system";
|
|
2
|
+
import React from "react";
|
|
3
|
+
export interface FISTextPropsI extends React.HTMLAttributes<HTMLElement> {
|
|
4
|
+
variant?: keyof ThemeType;
|
|
5
|
+
tag?: keyof JSX.IntrinsicElements;
|
|
6
|
+
color?: keyof ThemeType;
|
|
7
|
+
}
|
|
8
|
+
declare const FISText: React.ForwardRefExoticComponent<FISTextPropsI & React.RefAttributes<any>>;
|
|
9
|
+
export default FISText;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const TextSC: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {
|
|
2
|
+
$variant?: string;
|
|
3
|
+
$color?: string;
|
|
4
|
+
}>> & string;
|
|
@@ -44,3 +44,4 @@ export { default as FISSelectItem } from "./components/SelectItem";
|
|
|
44
44
|
export { default as useNotification } from "./components/Notification/useNotification";
|
|
45
45
|
export { default as useToast } from "./components/Toast/useToast";
|
|
46
46
|
export { default as FISPagination } from "./components/Pagination";
|
|
47
|
+
export { default as FISText } from "./components/Text";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { ComponentPropsWithoutRef, ReactNode, Ref, ForwardedRef, JSX, FC, DetailedHTMLProps, HTMLAttributes, ReactElement, ComponentType } from 'react';
|
|
2
|
+
import React__default, { ComponentPropsWithoutRef, ReactNode, Ref, ForwardedRef, JSX as JSX$1, FC, DetailedHTMLProps, HTMLAttributes, ReactElement, ComponentType } from 'react';
|
|
3
3
|
import { DefaultTheme } from 'styled-components';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import { TooltipProps as TooltipProps$1, CollapseProps, TableProps as TableProps$1, PaginationProps as PaginationProps$1 } from 'antd';
|
|
@@ -3719,13 +3719,13 @@ interface InputFieldProps extends Omit<ComponentPropsWithoutRef<"input">, "onCli
|
|
|
3719
3719
|
/**Control the style type of component: "prefix" | "dropdown" */
|
|
3720
3720
|
typePrefix?: InputTypePrefix;
|
|
3721
3721
|
/**Prefix for filter value*/
|
|
3722
|
-
iconPrefix?: string | JSX.Element;
|
|
3722
|
+
iconPrefix?: string | JSX$1.Element;
|
|
3723
3723
|
/**iconSuffix for filter value*/
|
|
3724
|
-
iconSuffix?: string | JSX.Element;
|
|
3724
|
+
iconSuffix?: string | JSX$1.Element;
|
|
3725
3725
|
/**labelSuffix for filter value*/
|
|
3726
|
-
labelSuffix?: string | JSX.Element;
|
|
3726
|
+
labelSuffix?: string | JSX$1.Element;
|
|
3727
3727
|
/**labelPrefix for filter value*/
|
|
3728
|
-
labelPrefix?: string | JSX.Element;
|
|
3728
|
+
labelPrefix?: string | JSX$1.Element;
|
|
3729
3729
|
/**negative for current field*/
|
|
3730
3730
|
negative?: boolean;
|
|
3731
3731
|
/**actived for current field*/
|
|
@@ -4269,9 +4269,9 @@ interface SelectFieldProps extends Omit<ComponentPropsWithoutRef<"input">, "onCl
|
|
|
4269
4269
|
/**Control the size of the component*/
|
|
4270
4270
|
size?: SelectSize;
|
|
4271
4271
|
/**Prefix for filter value*/
|
|
4272
|
-
iconPrefix?: string | JSX.Element;
|
|
4272
|
+
iconPrefix?: string | JSX$1.Element;
|
|
4273
4273
|
/**iconSuffix for filter value*/
|
|
4274
|
-
iconSuffix?: string | JSX.Element;
|
|
4274
|
+
iconSuffix?: string | JSX$1.Element;
|
|
4275
4275
|
/**actived for current field*/
|
|
4276
4276
|
actived?: boolean;
|
|
4277
4277
|
/**active-dropdown for current field*/
|
|
@@ -4379,5 +4379,12 @@ interface PaginationProps extends PaginationProps$1 {
|
|
|
4379
4379
|
}
|
|
4380
4380
|
declare const FISPagination: React__default.FC<PaginationProps>;
|
|
4381
4381
|
|
|
4382
|
-
|
|
4382
|
+
interface FISTextPropsI extends React__default.HTMLAttributes<HTMLElement> {
|
|
4383
|
+
variant?: keyof ThemeType$2;
|
|
4384
|
+
tag?: keyof JSX.IntrinsicElements;
|
|
4385
|
+
color?: keyof ThemeType$2;
|
|
4386
|
+
}
|
|
4387
|
+
declare const FISText: React__default.ForwardRefExoticComponent<FISTextPropsI & React__default.RefAttributes<any>>;
|
|
4388
|
+
|
|
4389
|
+
export { FISAlertBanner, FISAvatar, FISBadge, FISBreadcrumb, FISButton, FISButtonGroup, FISCheckbox, FISCheckboxGroup, FISChipButton, FISCollapse, FISCombobox, FISDateRange, FISDivider, FISIconButton, FISInputArea, FISInputDate, FISInputField, FISInputLabel, FISInputStepper, FISInputText, FISInputTime, FISLinkButton, FISMenuItem, FISMenuSection, FISMenuSelect, FISPagination, FISProgressCircular, FISProgressLinear, FISRadio, RadioGroup as FISRadioGroup, FISSegmented, FISSelect, FISSelectItem, FISSorter, FISSplitButton, FISSwitch, FISTab, FISTable, FISTableCell, FISTableHeaderCell, FISText, FISThemeProvider, FISToast, FISTooltip, SegmentedPanelItem, TabPanelItem, useNotification, useToast };
|
|
4383
4390
|
export type { ThemeType$2 as ThemeType };
|
package/package.json
CHANGED