@theroutingcompany/components 0.0.17 → 0.0.18
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/trc-components.es.js +5727 -6110
- package/dist/trc-components.es.js.map +1 -1
- package/dist/trc-components.umd.js +225 -225
- package/dist/trc-components.umd.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +66 -66
- package/types/components/FormControl/FormControl.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theroutingcompany/components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.18",
|
|
4
4
|
"description": "The Routing Company Components",
|
|
5
5
|
"main": "./dist/trc-components.umd.js",
|
|
6
6
|
"module": "./dist/trc-components.es.js",
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
"sideEffects": false,
|
|
38
38
|
"license": "ISC",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@internationalized/date": "
|
|
40
|
+
"@internationalized/date": "3.1.0",
|
|
41
41
|
"@material-ui/icons": "^4.11.3",
|
|
42
42
|
"@radix-ui/react-accessible-icon": "^1.0.1",
|
|
43
43
|
"@radix-ui/react-alert-dialog": "^1.0.2",
|
|
44
|
-
"@radix-ui/react-checkbox": "^1.0.
|
|
44
|
+
"@radix-ui/react-checkbox": "^1.0.2",
|
|
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.
|
|
48
|
+
"@radix-ui/react-popover": "^1.0.4",
|
|
49
49
|
"@radix-ui/react-radio-group": "^1.1.1",
|
|
50
50
|
"@radix-ui/react-select": "^1.2.0",
|
|
51
51
|
"@radix-ui/react-separator": "^1.0.1",
|
|
@@ -53,42 +53,42 @@
|
|
|
53
53
|
"@radix-ui/react-tabs": "^1.0.2",
|
|
54
54
|
"@radix-ui/react-toast": "^1.1.2",
|
|
55
55
|
"@radix-ui/react-toggle-group": "^1.0.2",
|
|
56
|
-
"@radix-ui/react-tooltip": "^1.0.
|
|
57
|
-
"@react-aria/breadcrumbs": "
|
|
58
|
-
"@react-aria/button": "
|
|
59
|
-
"@react-aria/combobox": "
|
|
60
|
-
"@react-aria/datepicker": "
|
|
61
|
-
"@react-aria/dnd": "
|
|
62
|
-
"@react-aria/focus": "
|
|
63
|
-
"@react-aria/i18n": "
|
|
64
|
-
"@react-aria/interactions": "
|
|
65
|
-
"@react-aria/label": "
|
|
66
|
-
"@react-aria/listbox": "
|
|
67
|
-
"@react-aria/menu": "
|
|
68
|
-
"@react-aria/numberfield": "
|
|
69
|
-
"@react-aria/overlays": "
|
|
70
|
-
"@react-aria/progress": "
|
|
71
|
-
"@react-aria/radio": "
|
|
72
|
-
"@react-aria/searchfield": "
|
|
73
|
-
"@react-aria/select": "
|
|
74
|
-
"@react-aria/selection": "
|
|
75
|
-
"@react-aria/textfield": "
|
|
76
|
-
"@react-aria/utils": "
|
|
77
|
-
"@react-stately/collections": "
|
|
78
|
-
"@react-stately/combobox": "
|
|
79
|
-
"@react-stately/datepicker": "
|
|
80
|
-
"@react-stately/list": "
|
|
81
|
-
"@react-stately/menu": "
|
|
82
|
-
"@react-stately/numberfield": "
|
|
83
|
-
"@react-stately/overlays": "
|
|
84
|
-
"@react-stately/radio": "
|
|
85
|
-
"@react-stately/searchfield": "
|
|
86
|
-
"@react-stately/select": "
|
|
87
|
-
"@react-stately/selection": "
|
|
88
|
-
"@react-types/combobox": "
|
|
89
|
-
"@react-types/overlays": "
|
|
90
|
-
"@react-types/select": "
|
|
91
|
-
"@tanstack/react-table": "^8.7.
|
|
56
|
+
"@radix-ui/react-tooltip": "^1.0.4",
|
|
57
|
+
"@react-aria/breadcrumbs": "3.5.0",
|
|
58
|
+
"@react-aria/button": "3.7.0",
|
|
59
|
+
"@react-aria/combobox": "3.5.0",
|
|
60
|
+
"@react-aria/datepicker": "3.3.0",
|
|
61
|
+
"@react-aria/dnd": "3.1.0",
|
|
62
|
+
"@react-aria/focus": "3.11.0",
|
|
63
|
+
"@react-aria/i18n": "3.7.0",
|
|
64
|
+
"@react-aria/interactions": "3.14.0",
|
|
65
|
+
"@react-aria/label": "3.5.0",
|
|
66
|
+
"@react-aria/listbox": "3.8.0",
|
|
67
|
+
"@react-aria/menu": "3.8.0",
|
|
68
|
+
"@react-aria/numberfield": "3.4.0",
|
|
69
|
+
"@react-aria/overlays": "3.13.0",
|
|
70
|
+
"@react-aria/progress": "3.4.0",
|
|
71
|
+
"@react-aria/radio": "3.5.0",
|
|
72
|
+
"@react-aria/searchfield": "3.5.0",
|
|
73
|
+
"@react-aria/select": "3.9.0",
|
|
74
|
+
"@react-aria/selection": "3.13.0",
|
|
75
|
+
"@react-aria/textfield": "3.9.0",
|
|
76
|
+
"@react-aria/utils": "3.15.0",
|
|
77
|
+
"@react-stately/collections": "3.6.0",
|
|
78
|
+
"@react-stately/combobox": "3.4.0",
|
|
79
|
+
"@react-stately/datepicker": "3.3.0",
|
|
80
|
+
"@react-stately/list": "3.7.0",
|
|
81
|
+
"@react-stately/menu": "3.5.0",
|
|
82
|
+
"@react-stately/numberfield": "3.4.0",
|
|
83
|
+
"@react-stately/overlays": "3.5.0",
|
|
84
|
+
"@react-stately/radio": "3.7.0",
|
|
85
|
+
"@react-stately/searchfield": "3.4.0",
|
|
86
|
+
"@react-stately/select": "3.4.0",
|
|
87
|
+
"@react-stately/selection": "3.12.0",
|
|
88
|
+
"@react-types/combobox": "3.6.0",
|
|
89
|
+
"@react-types/overlays": "3.7.0",
|
|
90
|
+
"@react-types/select": "3.7.0",
|
|
91
|
+
"@tanstack/react-table": "^8.7.9",
|
|
92
92
|
"@theroutingcompany/design-tokens": "^0.0.3",
|
|
93
93
|
"styled-components": "^5.3.6"
|
|
94
94
|
},
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"styled-components": "^5.3.6"
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
|
-
"@babel/core": "^7.
|
|
103
|
+
"@babel/core": "^7.21.0",
|
|
104
104
|
"@material-ui/core": "^4.12.4",
|
|
105
105
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
106
106
|
"@rollup/plugin-typescript": "^11.0.0",
|
|
@@ -112,35 +112,35 @@
|
|
|
112
112
|
"@storybook/react": "^7.0.0-beta.2",
|
|
113
113
|
"@storybook/react-vite": "^7.0.0-alpha.25",
|
|
114
114
|
"@storybook/testing-library": "^0.0.14-next.0",
|
|
115
|
-
"@types/eslint": "^8.
|
|
115
|
+
"@types/eslint": "^8.21.1",
|
|
116
116
|
"@types/prettier": "^2.7.2",
|
|
117
|
-
"@types/react": "^18.0.
|
|
118
|
-
"@types/react-dom": "^18.0.
|
|
119
|
-
"@types/react-is": "^17.0.
|
|
117
|
+
"@types/react": "^18.0.28",
|
|
118
|
+
"@types/react-dom": "^18.0.11",
|
|
119
|
+
"@types/react-is": "^17.0.3",
|
|
120
120
|
"@types/styled-components": "^5.1.26",
|
|
121
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
122
|
-
"@typescript-eslint/parser": "^5.
|
|
123
|
-
"@vitejs/plugin-react": "^3.0
|
|
124
|
-
"chromatic": "^6.
|
|
121
|
+
"@typescript-eslint/eslint-plugin": "^5.54.0",
|
|
122
|
+
"@typescript-eslint/parser": "^5.54.0",
|
|
123
|
+
"@vitejs/plugin-react": "^3.1.0",
|
|
124
|
+
"chromatic": "^6.17.1",
|
|
125
125
|
"csstype": "^3.1.1",
|
|
126
|
-
"eslint": "^8.
|
|
126
|
+
"eslint": "^8.35.0",
|
|
127
127
|
"eslint-config-prettier": "^8.6.0",
|
|
128
|
-
"eslint-plugin-jsx-a11y": "^6.7.
|
|
129
|
-
"eslint-plugin-react": "^7.32.
|
|
130
|
-
"eslint-plugin-storybook": "^0.6.
|
|
131
|
-
"postcss-styled-syntax": "^0.3.
|
|
132
|
-
"prettier": "^2.8.
|
|
133
|
-
"react": "^18.
|
|
134
|
-
"react-dom": "^18.
|
|
135
|
-
"react-is": "^18.
|
|
136
|
-
"rimraf": "^
|
|
128
|
+
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
129
|
+
"eslint-plugin-react": "^7.32.2",
|
|
130
|
+
"eslint-plugin-storybook": "^0.6.11",
|
|
131
|
+
"postcss-styled-syntax": "^0.3.3",
|
|
132
|
+
"prettier": "^2.8.4",
|
|
133
|
+
"react": "^18.2.0",
|
|
134
|
+
"react-dom": "^18.2.0",
|
|
135
|
+
"react-is": "^18.2.0",
|
|
136
|
+
"rimraf": "^4.1.2",
|
|
137
137
|
"storybook": "^7.0.0-beta.21",
|
|
138
|
-
"stylelint": "^
|
|
139
|
-
"stylelint-config-prettier": "^9.0.
|
|
140
|
-
"stylelint-config-standard": "^
|
|
141
|
-
"type-fest": "^3.
|
|
142
|
-
"typescript": "^4.9.
|
|
143
|
-
"vite": "^4.
|
|
144
|
-
"vite-tsconfig-paths": "^4.0.
|
|
138
|
+
"stylelint": "^15.2.0",
|
|
139
|
+
"stylelint-config-prettier": "^9.0.5",
|
|
140
|
+
"stylelint-config-standard": "^30.0.1",
|
|
141
|
+
"type-fest": "^3.6.1",
|
|
142
|
+
"typescript": "^4.9.5",
|
|
143
|
+
"vite": "^4.1.4",
|
|
144
|
+
"vite-tsconfig-paths": "^4.0.5"
|
|
145
145
|
}
|
|
146
146
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PropsWithChildren, type ReactNode } from 'react';
|
|
2
|
-
import { type AriaFieldProps } from '@react-aria/label';
|
|
2
|
+
import { type AriaFieldProps, type FieldAria } from '@react-aria/label';
|
|
3
3
|
import type { AriaTextFieldProps } from '@react-aria/textfield';
|
|
4
4
|
import type { ComponentPropsWithoutStyles } from 'helpers/typeHelpers';
|
|
5
5
|
type FormControlProps<FieldProps = AriaFieldProps> = PropsWithChildren<{
|
|
@@ -7,7 +7,7 @@ type FormControlProps<FieldProps = AriaFieldProps> = PropsWithChildren<{
|
|
|
7
7
|
tooltipIcon?: ReactNode;
|
|
8
8
|
} & FieldProps>;
|
|
9
9
|
/** If in a `<FormControl/>`, read `fieldProps` generated by that FormControl's `useField` hook */
|
|
10
|
-
export declare function useFieldProps():
|
|
10
|
+
export declare function useFieldProps(): FieldAria['fieldProps'];
|
|
11
11
|
export declare function FormControl({ children, label, errorMessage, description, tooltipContent, tooltipIcon, validationState, id, ...props }: FormControlProps): JSX.Element;
|
|
12
12
|
export declare const TextFormControl: import("react").ForwardRefExoticComponent<{
|
|
13
13
|
tooltipContent?: string | undefined;
|