@uniformdev/design-system 18.15.0 → 18.16.1-alpha.6
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/index.d.ts +11 -11
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -257,7 +257,7 @@ type ButtonProps = ButtonProps$1 & {
|
|
|
257
257
|
* @param {BaseButtonProps} props - object of button props from reakit
|
|
258
258
|
* @example <Button buttonType="secondary" size="md" onClick={() => alert('hello world')}>Click me</Button>
|
|
259
259
|
*/
|
|
260
|
-
declare const Button: React$1.ForwardRefExoticComponent<
|
|
260
|
+
declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
261
261
|
|
|
262
262
|
type ButtonThemeProps = 'primary' | 'secondary' | 'unimportant' | 'ghost';
|
|
263
263
|
interface ActionButtonsProps {
|
|
@@ -1104,13 +1104,13 @@ type TableCellDataProps = React$1.ComponentPropsWithoutRef<'td'>;
|
|
|
1104
1104
|
</TableFoot>
|
|
1105
1105
|
</Table>
|
|
1106
1106
|
*/
|
|
1107
|
-
declare const Table: React$1.ForwardRefExoticComponent<
|
|
1108
|
-
declare const TableHead: React$1.ForwardRefExoticComponent<
|
|
1109
|
-
declare const TableBody: React$1.ForwardRefExoticComponent<
|
|
1110
|
-
declare const TableFoot: React$1.ForwardRefExoticComponent<
|
|
1111
|
-
declare const TableRow: React$1.ForwardRefExoticComponent<
|
|
1112
|
-
declare const TableCellHead: React$1.ForwardRefExoticComponent<
|
|
1113
|
-
declare const TableCellData: React$1.ForwardRefExoticComponent<
|
|
1107
|
+
declare const Table: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "ref"> & React$1.RefAttributes<HTMLTableElement>>;
|
|
1108
|
+
declare const TableHead: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
1109
|
+
declare const TableBody: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
1110
|
+
declare const TableFoot: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
1111
|
+
declare const TableRow: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & React$1.RefAttributes<HTMLTableRowElement>>;
|
|
1112
|
+
declare const TableCellHead: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref"> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
1113
|
+
declare const TableCellData: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, "ref"> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
1114
1114
|
|
|
1115
1115
|
declare const useCurrentTab: () => TabState;
|
|
1116
1116
|
interface TabsProps {
|
|
@@ -1325,7 +1325,7 @@ type LinkProps = React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
|
1325
1325
|
/** Uniform Link Component
|
|
1326
1326
|
* @example <Link text="my link" href="#" />
|
|
1327
1327
|
*/
|
|
1328
|
-
declare const Link: React$1.ForwardRefExoticComponent<
|
|
1328
|
+
declare const Link: React$1.ForwardRefExoticComponent<Omit<LinkProps, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
1329
1329
|
type LinkManagerWithRefType = (props: Partial<LinkProps> & {
|
|
1330
1330
|
as?: string;
|
|
1331
1331
|
href: string;
|
|
@@ -1336,7 +1336,7 @@ type LinkManagerWithRefType = (props: Partial<LinkProps> & {
|
|
|
1336
1336
|
* We recommend using this link `next/link`
|
|
1337
1337
|
* @example <LinkWithRef linkManagerComponent={NextLink} href="some-url" text="my link" />
|
|
1338
1338
|
*/
|
|
1339
|
-
declare const LinkWithRef: React$1.ForwardRefExoticComponent<
|
|
1339
|
+
declare const LinkWithRef: React$1.ForwardRefExoticComponent<Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
1340
1340
|
/** sets the link text and title text */
|
|
1341
1341
|
text: string;
|
|
1342
1342
|
/** (optional) sets the link color
|
|
@@ -1353,7 +1353,7 @@ declare const LinkWithRef: React$1.ForwardRefExoticComponent<Pick<React$1.Anchor
|
|
|
1353
1353
|
href: string;
|
|
1354
1354
|
as?: string | undefined;
|
|
1355
1355
|
linkManagerComponent: LinkManagerWithRefType;
|
|
1356
|
-
}, "
|
|
1356
|
+
}, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
1357
1357
|
|
|
1358
1358
|
interface RouteProps {
|
|
1359
1359
|
as: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/design-system",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.16.1-alpha.6+644024d8a",
|
|
4
4
|
"description": "Uniform design system components",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@emotion/jest": "11.10.5",
|
|
21
21
|
"@storybook/addon-docs": "6.5.16",
|
|
22
22
|
"@storybook/react": "6.5.16",
|
|
23
|
-
"@types/react": "18.0.
|
|
23
|
+
"@types/react": "18.0.28",
|
|
24
24
|
"autoprefixer": "10.4.13",
|
|
25
25
|
"hygen": "6.2.11",
|
|
26
26
|
"postcss": "8.4.21",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "644024d8ad8a3f1f9341039c8813f03058068e9b"
|
|
53
53
|
}
|