@spaced-out/ui-design-system 0.0.37 → 0.0.39
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/.cspell/custom-words.txt +2 -0
- package/CHANGELOG.md +14 -0
- package/design-tokens/size/base-size.json +6 -0
- package/lib/components/Checkbox/Checkbox.js.flow +5 -0
- package/lib/components/Checkbox/Checkbox.module.css +1 -1
- package/lib/components/Menu/Menu.js.flow +1 -1
- package/lib/components/Menu/MenuOptionButton.js +3 -2
- package/lib/components/Menu/MenuOptionButton.js.flow +15 -10
- package/lib/components/Table/Cell.js +114 -0
- package/lib/components/Table/Cell.js.flow +123 -0
- package/lib/components/Table/Row.js +96 -0
- package/lib/components/Table/Row.js.flow +145 -0
- package/lib/components/Table/StaticTable.js +124 -0
- package/lib/components/Table/StaticTable.js.flow +170 -0
- package/lib/components/Table/Table.js +61 -0
- package/lib/components/Table/Table.js.flow +101 -0
- package/lib/components/Table/Table.module.css +252 -0
- package/lib/components/Table/TableHeader.js +146 -0
- package/lib/components/Table/TableHeader.js.flow +236 -0
- package/lib/components/Table/hooks.js +68 -0
- package/lib/components/Table/hooks.js.flow +91 -0
- package/lib/components/Table/index.js +63 -0
- package/lib/components/Table/index.js.flow +14 -0
- package/lib/styles/variables/_size.css +4 -0
- package/lib/styles/variables/_size.js +6 -2
- package/lib/styles/variables/_size.js.flow +4 -0
- package/lib/utils/makeClassNameComponent.js +1 -1
- package/lib/utils/makeClassNameComponent.js.flow +1 -1
- package/package.json +4 -3
|
@@ -21,7 +21,7 @@ export type ClassNameComponent<
|
|
|
21
21
|
I = React.ElementRef<T>,
|
|
22
22
|
> = React.AbstractComponent<React.ElementConfig<T>, I>;
|
|
23
23
|
|
|
24
|
-
export
|
|
24
|
+
export function makeClassNameComponent<C: string>(
|
|
25
25
|
baseClassName: string,
|
|
26
26
|
// $FlowFixMe not sure how to type this correctly
|
|
27
27
|
ComponentType: C = 'div',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spaced-out/ui-design-system",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.39",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"description": "Sense UI components library",
|
|
6
6
|
"author": {
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@floating-ui/react-dom": "^1.0.0",
|
|
47
47
|
"@floating-ui/react-dom-interactions": "^0.10.1",
|
|
48
|
+
"date-fns": "^2.29.3",
|
|
48
49
|
"lodash": "^4.17.21"
|
|
49
50
|
},
|
|
50
51
|
"devDependencies": {
|
|
@@ -66,6 +67,7 @@
|
|
|
66
67
|
"@storybook/testing-react": "^1.3.0",
|
|
67
68
|
"@storybook/theming": "^6.5.13",
|
|
68
69
|
"@testing-library/react": "^11.2.7",
|
|
70
|
+
"all-contributors-cli": "^6.20.0",
|
|
69
71
|
"babel-eslint": "^10.1.0",
|
|
70
72
|
"babel-jest": "^28.1.3",
|
|
71
73
|
"babel-loader": "^8.2.5",
|
|
@@ -102,8 +104,7 @@
|
|
|
102
104
|
"standard-version": "^9.5.0",
|
|
103
105
|
"storybook-css-modules": "^1.0.8",
|
|
104
106
|
"storybook-vscode-component": "^1.0.8",
|
|
105
|
-
"style-dictionary": "^3.7.1"
|
|
106
|
-
"all-contributors-cli": "^6.20.0"
|
|
107
|
+
"style-dictionary": "^3.7.1"
|
|
107
108
|
},
|
|
108
109
|
"homepage": "https://spaced-out.github.io/ui-design-system",
|
|
109
110
|
"repository": {
|