@theroutingcompany/components 0.0.12 → 0.0.13
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/README.md +90 -84
- package/dist/trc-components.es.js +5928 -5549
- package/dist/trc-components.es.js.map +1 -1
- package/dist/trc-components.umd.js +261 -203
- package/dist/trc-components.umd.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +12 -13
- package/types/components/Button/Button.d.ts +1 -1
- package/types/components/Button/ButtonBase.d.ts +4 -0
- package/types/components/IconButton/IconButton.d.ts +1 -1
- package/types/components/Page/Page.d.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theroutingcompany/components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"description": "The Routing Company Components",
|
|
5
5
|
"main": "./dist/trc-components.umd.js",
|
|
6
6
|
"module": "./dist/trc-components.es.js",
|
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
"@radix-ui/react-collapsible": "^1.0.1",
|
|
46
46
|
"@radix-ui/react-dialog": "^1.0.2",
|
|
47
47
|
"@radix-ui/react-polymorphic": "^0.0.14",
|
|
48
|
-
"@radix-ui/react-popover": "^1.0.
|
|
49
|
-
"@radix-ui/react-radio-group": "^1.1.
|
|
50
|
-
"@radix-ui/react-select": "^1.
|
|
48
|
+
"@radix-ui/react-popover": "^1.0.3",
|
|
49
|
+
"@radix-ui/react-radio-group": "^1.1.1",
|
|
50
|
+
"@radix-ui/react-select": "^1.2.0",
|
|
51
51
|
"@radix-ui/react-separator": "^1.0.1",
|
|
52
52
|
"@radix-ui/react-switch": "^1.0.1",
|
|
53
|
-
"@radix-ui/react-tabs": "^1.0.
|
|
53
|
+
"@radix-ui/react-tabs": "^1.0.2",
|
|
54
54
|
"@radix-ui/react-toast": "^1.1.2",
|
|
55
|
-
"@radix-ui/react-toggle-group": "^1.0.
|
|
56
|
-
"@radix-ui/react-tooltip": "^1.0.
|
|
55
|
+
"@radix-ui/react-toggle-group": "^1.0.2",
|
|
56
|
+
"@radix-ui/react-tooltip": "^1.0.3",
|
|
57
57
|
"@react-aria/breadcrumbs": "^3.4.1",
|
|
58
58
|
"@react-aria/button": "^3.6.4",
|
|
59
59
|
"@react-aria/dnd": "^3.0.1",
|
|
@@ -69,13 +69,13 @@
|
|
|
69
69
|
"@react-stately/numberfield": "^3.3.1",
|
|
70
70
|
"@react-stately/radio": "^3.6.2",
|
|
71
71
|
"@react-stately/searchfield": "^3.3.4",
|
|
72
|
-
"@tanstack/react-table": "^8.7.
|
|
72
|
+
"@tanstack/react-table": "^8.7.8",
|
|
73
73
|
"@theroutingcompany/design-tokens": "^0.0.3",
|
|
74
74
|
"styled-components": "^5.3.6"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
77
|
"@material-ui/icons": "^4.11.3",
|
|
78
|
-
"react": "
|
|
78
|
+
"react": "^18.0.0",
|
|
79
79
|
"react-dom": " ^18.0.0",
|
|
80
80
|
"react-is": " ^18.0.0",
|
|
81
81
|
"styled-components": "^5.3.6"
|
|
@@ -94,7 +94,6 @@
|
|
|
94
94
|
"@storybook/react-vite": "^7.0.0-alpha.25",
|
|
95
95
|
"@storybook/testing-library": "^0.0.14-next.0",
|
|
96
96
|
"@types/eslint": "^8.4.10",
|
|
97
|
-
"@types/mime-types": "^2.1.1",
|
|
98
97
|
"@types/prettier": "^2.7.2",
|
|
99
98
|
"@types/react": "^18.0.0",
|
|
100
99
|
"@types/react-dom": "^18.0.0",
|
|
@@ -112,9 +111,9 @@
|
|
|
112
111
|
"eslint-plugin-storybook": "^0.6.10",
|
|
113
112
|
"postcss-styled-syntax": "^0.3.1",
|
|
114
113
|
"prettier": "^2.8.3",
|
|
115
|
-
"react": "^
|
|
116
|
-
"react-dom": "^
|
|
117
|
-
"react-is": "^
|
|
114
|
+
"react": "^18.0.0",
|
|
115
|
+
"react-dom": "^18.0.0",
|
|
116
|
+
"react-is": "^18.0.0",
|
|
118
117
|
"rimraf": "^3.0.2",
|
|
119
118
|
"storybook": "^7.0.0-beta.21",
|
|
120
119
|
"stylelint": "^14.16.1",
|
|
@@ -21,7 +21,7 @@ export type ButtonBaseProps = {
|
|
|
21
21
|
};
|
|
22
22
|
type ReactAriaProps = RenameMisprefixedProps<AriaButtonProps, 'is', 'isDisabled'>;
|
|
23
23
|
export type ButtonProps = PropsWithChildren<ButtonDesignProps> & ReactAriaProps & {
|
|
24
|
-
onClick?: ReactAriaProps[
|
|
24
|
+
onClick?: ReactAriaProps['onPress'];
|
|
25
25
|
};
|
|
26
26
|
export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
27
27
|
export {};
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
import type { ButtonBaseProps } from './Button';
|
|
2
|
+
export declare const buttonPadding: {
|
|
3
|
+
readonly small: "0.5rem 0.75rem";
|
|
4
|
+
readonly large: "0.75rem 1rem";
|
|
5
|
+
};
|
|
2
6
|
export declare const ButtonBase: import("styled-components").StyledComponent<"button", any, ButtonBaseProps, never>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
2
|
export declare const PageGrid: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
export declare const PageContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
export declare function Page({ children }: {
|
|
4
|
+
export declare function Page({ children, className, }: {
|
|
5
5
|
children: ReactNode;
|
|
6
|
+
className?: string | undefined;
|
|
6
7
|
}): JSX.Element;
|