@free-dom/react-components 2.0.0 → 2.0.1
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 +126 -126
- package/dist/cjs/index.js +462 -1206
- package/dist/esm/index.js +417 -1166
- package/dist/types/components/AdvancedSelect/AdvancedSelect.d.ts +1 -1
- package/dist/types/components/Alert/Alert.helpers.d.ts +1 -1
- package/dist/types/components/Badge/Badge.d.ts +1 -1
- package/dist/types/components/Banner/Banner.d.ts +1 -1
- package/dist/types/components/Button/Button.d.ts +1 -1
- package/dist/types/components/Chip/Chip.d.ts +1 -1
- package/dist/types/components/DataGrid/DataGrid.d.ts +2 -0
- package/dist/types/components/DataGrid/DataGrid.types.d.ts +117 -0
- package/dist/types/components/DataGrid/index.d.ts +2 -0
- package/dist/types/components/DropdownMenu/DropdownMenu.d.ts +1 -1
- package/dist/types/components/DropdownMenu/DropdownMenuIcon.d.ts +1 -1
- package/dist/types/components/FileUpload/FileUpload.constants.d.ts +1 -1
- package/dist/types/components/FooterFallback/FooterFallback.d.ts +1 -0
- package/dist/types/components/FooterFallback/index.d.ts +1 -0
- package/dist/types/components/HeaderFallback/HeaderFallback.d.ts +42 -0
- package/dist/types/components/HeaderFallback/HeaderFallback.helpers.d.ts +1 -0
- package/dist/types/components/HeaderFallback/index.d.ts +1 -0
- package/dist/types/components/IconButton/IconButton.d.ts +1 -1
- package/dist/types/components/ImageCarousel/ImageCarouselItem.d.ts +1 -1
- package/dist/types/components/Link/Link.d.ts +1 -1
- package/dist/types/components/Select/Select.d.ts +1 -1
- package/dist/types/components/Select/StartAdornment.d.ts +1 -1
- package/dist/types/components/SidebarFallback/SidebarFallback.d.ts +19 -0
- package/dist/types/components/SidebarFallback/index.d.ts +1 -0
- package/dist/types/components/Spinner/Spinner.d.ts +11 -0
- package/dist/types/components/Spinner/index.d.ts +2 -0
- package/dist/types/components/Switch/Switch.d.ts +1 -1
- package/dist/types/components/Tabs/TabsItem.d.ts +1 -1
- package/dist/types/components/TextInput/StartAdornment.d.ts +1 -1
- package/dist/types/components/TextInput/TextInput.d.ts +1 -1
- package/dist/types/components/TextToolbar/BubbleDropdown/BubbleDropdown.d.ts +1 -1
- package/dist/types/components/TextToolbar/TextToolbar.constants.d.ts +1 -1
- package/dist/types/components/Timeline/TimelineDot.d.ts +1 -1
- package/dist/types/components/TotalCard/TotalCard.d.ts +1 -1
- package/dist/types/components/TotalCard/TotalCardActions.d.ts +1 -1
- package/dist/types/components/TotalCard/TotalCardContent.d.ts +1 -1
- package/dist/types/index.d.ts +197 -5
- package/package.json +128 -128
package/package.json
CHANGED
|
@@ -1,128 +1,128 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@free-dom/react-components",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"repository": {
|
|
5
|
-
"type": "git"
|
|
6
|
-
},
|
|
7
|
-
"main": "dist/cjs/index.js",
|
|
8
|
-
"module": "dist/esm/index.js",
|
|
9
|
-
"types": "dist/types/index.d.ts",
|
|
10
|
-
"license": "MIT",
|
|
11
|
-
"files": [
|
|
12
|
-
"dist",
|
|
13
|
-
"LICENSE"
|
|
14
|
-
],
|
|
15
|
-
"publishConfig": {
|
|
16
|
-
"access": "public",
|
|
17
|
-
"registry": "https://registry.npmjs.org/"
|
|
18
|
-
},
|
|
19
|
-
"scripts": {
|
|
20
|
-
"commit": "cz",
|
|
21
|
-
"lint": "eslint **/*.{ts,js,tsx,jsx,mjs,cjs} --no-error-on-unmatched-pattern --report-unused-disable-directives",
|
|
22
|
-
"test": "jest --passWithNoTests --runInBand",
|
|
23
|
-
"test:watch": "jest --passWithNoTests --runInBand --watch",
|
|
24
|
-
"test:staged": "jest --passWithNoTests --runInBand --findRelatedTests",
|
|
25
|
-
"test:coverage": "jest --passWithNoTests --runInBand --coverage",
|
|
26
|
-
"clean": "rimraf dist/",
|
|
27
|
-
"build": "yarn clean && tsc --project tsconfig.types.json && rollup -c",
|
|
28
|
-
"prepack": "yarn test && nx run @free-dom/react-components:build",
|
|
29
|
-
"storybook": "env-cmd -f .env storybook dev -p 6007",
|
|
30
|
-
"build-storybook": "env-cmd -f .env.development storybook build",
|
|
31
|
-
"build-storybook:development": "nx run @free-dom/react-components:build && env-cmd -f .env.development storybook build",
|
|
32
|
-
"build-storybook:staging": "nx run @free-dom/react-components:build && env-cmd -f .env.staging storybook build",
|
|
33
|
-
"build-storybook:production": "nx run @free-dom/react-components:build && env-cmd -f .env.production storybook build",
|
|
34
|
-
"chromatic": "npx chromatic --project-token=chpt_7c4484848c600e2"
|
|
35
|
-
},
|
|
36
|
-
"lint-staged": {
|
|
37
|
-
"*.{js,jsx,ts,tsx}": [
|
|
38
|
-
"eslint --no-error-on-unmatched-pattern --report-unused-disable-directives",
|
|
39
|
-
"yarn test:staged"
|
|
40
|
-
],
|
|
41
|
-
"*": [
|
|
42
|
-
"prettier --write --ignore-unknown"
|
|
43
|
-
]
|
|
44
|
-
},
|
|
45
|
-
"config": {
|
|
46
|
-
"commitizen": {
|
|
47
|
-
"path": "cz-conventional-changelog"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"peerDependencies": {
|
|
51
|
-
"react": "^18.2.0",
|
|
52
|
-
"react-dom": "^18.2.0",
|
|
53
|
-
"@free-dom/react-icons": "^2.0.0",
|
|
54
|
-
"@free-dom/tokens": "^1.0.5"
|
|
55
|
-
},
|
|
56
|
-
"dependencies": {
|
|
57
|
-
"@radix-ui/react-checkbox": "^1.0.1",
|
|
58
|
-
"@radix-ui/react-dialog": "^1.0.2",
|
|
59
|
-
"@radix-ui/react-dropdown-menu": "^2.0.1",
|
|
60
|
-
"@radix-ui/react-navigation-menu": "^1.1.2",
|
|
61
|
-
"@radix-ui/react-radio-group": "^1.1.0",
|
|
62
|
-
"@radix-ui/react-scroll-area": "^1.2.3",
|
|
63
|
-
"@radix-ui/react-switch": "^1.0.1",
|
|
64
|
-
"@radix-ui/react-tabs": "^1.0.4",
|
|
65
|
-
"@radix-ui/react-tooltip": "^1.0.3",
|
|
66
|
-
"@tiptap/extension-bold": "^2.1.13",
|
|
67
|
-
"@tiptap/extension-character-count": "^2.1.13",
|
|
68
|
-
"@tiptap/extension-color": "^2.1.13",
|
|
69
|
-
"@tiptap/extension-heading": "^2.2.4",
|
|
70
|
-
"@tiptap/extension-highlight": "^2.1.13",
|
|
71
|
-
"@tiptap/extension-image": "^2.1.13",
|
|
72
|
-
"@tiptap/extension-italic": "^2.1.13",
|
|
73
|
-
"@tiptap/extension-link": "^2.1.13",
|
|
74
|
-
"@tiptap/extension-paragraph": "^2.2.4",
|
|
75
|
-
"@tiptap/extension-placeholder": "^2.1.13",
|
|
76
|
-
"@tiptap/extension-task-item": "^2.1.13",
|
|
77
|
-
"@tiptap/extension-task-list": "^2.1.13",
|
|
78
|
-
"@tiptap/extension-text-align": "^2.1.13",
|
|
79
|
-
"@tiptap/extension-text-style": "^2.1.13",
|
|
80
|
-
"@tiptap/extension-underline": "^2.1.13",
|
|
81
|
-
"@tiptap/pm": "^2.1.13",
|
|
82
|
-
"@tiptap/react": "^2.1.13",
|
|
83
|
-
"@tiptap/starter-kit": "^2.1.13",
|
|
84
|
-
"change-case": "^4.1.2",
|
|
85
|
-
"classnames": "^2.3.2",
|
|
86
|
-
"date-fns": "^2.29.3",
|
|
87
|
-
"framer-motion": "^8.5.2",
|
|
88
|
-
"jwt-decode": "3.1.2",
|
|
89
|
-
"lodash.kebabcase": "^4.1.1",
|
|
90
|
-
"lodash.partition": "^4.6.0",
|
|
91
|
-
"lodash.range": "^3.2.0",
|
|
92
|
-
"lodash.uniqueid": "^4.0.1",
|
|
93
|
-
"param-case": "^3.0.4",
|
|
94
|
-
"rc-drawer": "^6.5.2",
|
|
95
|
-
"react-datepicker": "^4.8.0",
|
|
96
|
-
"react-dnd": "^16.0.1",
|
|
97
|
-
"react-dnd-html5-backend": "^16.0.1",
|
|
98
|
-
"react-hook-form": "~7.42.1",
|
|
99
|
-
"react-imask": "^6.4.3",
|
|
100
|
-
"react-loading-skeleton": "^3.2.0",
|
|
101
|
-
"react-select": "^5.7.0",
|
|
102
|
-
"react-toastify": "^9.1.2",
|
|
103
|
-
"recharts": "^2.13.0"
|
|
104
|
-
},
|
|
105
|
-
"devDependencies": {
|
|
106
|
-
"@faker-js/faker": "^7.6.0",
|
|
107
|
-
"@freedom/storybook-theme": "^1.2.0",
|
|
108
|
-
"@freedom/styles": "^1.1.5",
|
|
109
|
-
"@testing-library/dom": "^8.19.1",
|
|
110
|
-
"@testing-library/jest-dom": "^5.16.5",
|
|
111
|
-
"@testing-library/react": "^13.4.0",
|
|
112
|
-
"@testing-library/user-event": "^14.4.3",
|
|
113
|
-
"@types/jest": "^29.4.0",
|
|
114
|
-
"@types/lodash.kebabcase": "^4.1.7",
|
|
115
|
-
"@types/lodash.partition": "^4.6.7",
|
|
116
|
-
"@types/lodash.range": "^3.2.7",
|
|
117
|
-
"@types/lodash.uniqueid": "^4.0.7",
|
|
118
|
-
"@types/react-datepicker": "^4.8.0",
|
|
119
|
-
"chromatic": "^6.21.0",
|
|
120
|
-
"jest": "^29.4.2",
|
|
121
|
-
"jest-environment-jsdom": "^29.3.1",
|
|
122
|
-
"postcss": "^8.4.20",
|
|
123
|
-
"rollup-plugin-postcss": "^4.0.2"
|
|
124
|
-
},
|
|
125
|
-
"engines": {
|
|
126
|
-
"node": ">=14.x"
|
|
127
|
-
}
|
|
128
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@free-dom/react-components",
|
|
3
|
+
"version": "2.0.1",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git"
|
|
6
|
+
},
|
|
7
|
+
"main": "dist/cjs/index.js",
|
|
8
|
+
"module": "dist/esm/index.js",
|
|
9
|
+
"types": "dist/types/index.d.ts",
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"LICENSE"
|
|
14
|
+
],
|
|
15
|
+
"publishConfig": {
|
|
16
|
+
"access": "public",
|
|
17
|
+
"registry": "https://registry.npmjs.org/"
|
|
18
|
+
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"commit": "cz",
|
|
21
|
+
"lint": "eslint **/*.{ts,js,tsx,jsx,mjs,cjs} --no-error-on-unmatched-pattern --report-unused-disable-directives",
|
|
22
|
+
"test": "jest --passWithNoTests --runInBand",
|
|
23
|
+
"test:watch": "jest --passWithNoTests --runInBand --watch",
|
|
24
|
+
"test:staged": "jest --passWithNoTests --runInBand --findRelatedTests",
|
|
25
|
+
"test:coverage": "jest --passWithNoTests --runInBand --coverage",
|
|
26
|
+
"clean": "rimraf dist/",
|
|
27
|
+
"build": "yarn clean && tsc --project tsconfig.types.json && rollup -c",
|
|
28
|
+
"prepack": "yarn test && nx run @free-dom/react-components:build",
|
|
29
|
+
"storybook": "env-cmd -f .env storybook dev -p 6007",
|
|
30
|
+
"build-storybook": "env-cmd -f .env.development storybook build",
|
|
31
|
+
"build-storybook:development": "nx run @free-dom/react-components:build && env-cmd -f .env.development storybook build",
|
|
32
|
+
"build-storybook:staging": "nx run @free-dom/react-components:build && env-cmd -f .env.staging storybook build",
|
|
33
|
+
"build-storybook:production": "nx run @free-dom/react-components:build && env-cmd -f .env.production storybook build",
|
|
34
|
+
"chromatic": "npx chromatic --project-token=chpt_7c4484848c600e2"
|
|
35
|
+
},
|
|
36
|
+
"lint-staged": {
|
|
37
|
+
"*.{js,jsx,ts,tsx}": [
|
|
38
|
+
"eslint --no-error-on-unmatched-pattern --report-unused-disable-directives",
|
|
39
|
+
"yarn test:staged"
|
|
40
|
+
],
|
|
41
|
+
"*": [
|
|
42
|
+
"prettier --write --ignore-unknown"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"config": {
|
|
46
|
+
"commitizen": {
|
|
47
|
+
"path": "cz-conventional-changelog"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"peerDependencies": {
|
|
51
|
+
"react": "^18.2.0",
|
|
52
|
+
"react-dom": "^18.2.0",
|
|
53
|
+
"@free-dom/react-icons": "^2.0.0",
|
|
54
|
+
"@free-dom/tokens": "^1.0.5"
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"@radix-ui/react-checkbox": "^1.0.1",
|
|
58
|
+
"@radix-ui/react-dialog": "^1.0.2",
|
|
59
|
+
"@radix-ui/react-dropdown-menu": "^2.0.1",
|
|
60
|
+
"@radix-ui/react-navigation-menu": "^1.1.2",
|
|
61
|
+
"@radix-ui/react-radio-group": "^1.1.0",
|
|
62
|
+
"@radix-ui/react-scroll-area": "^1.2.3",
|
|
63
|
+
"@radix-ui/react-switch": "^1.0.1",
|
|
64
|
+
"@radix-ui/react-tabs": "^1.0.4",
|
|
65
|
+
"@radix-ui/react-tooltip": "^1.0.3",
|
|
66
|
+
"@tiptap/extension-bold": "^2.1.13",
|
|
67
|
+
"@tiptap/extension-character-count": "^2.1.13",
|
|
68
|
+
"@tiptap/extension-color": "^2.1.13",
|
|
69
|
+
"@tiptap/extension-heading": "^2.2.4",
|
|
70
|
+
"@tiptap/extension-highlight": "^2.1.13",
|
|
71
|
+
"@tiptap/extension-image": "^2.1.13",
|
|
72
|
+
"@tiptap/extension-italic": "^2.1.13",
|
|
73
|
+
"@tiptap/extension-link": "^2.1.13",
|
|
74
|
+
"@tiptap/extension-paragraph": "^2.2.4",
|
|
75
|
+
"@tiptap/extension-placeholder": "^2.1.13",
|
|
76
|
+
"@tiptap/extension-task-item": "^2.1.13",
|
|
77
|
+
"@tiptap/extension-task-list": "^2.1.13",
|
|
78
|
+
"@tiptap/extension-text-align": "^2.1.13",
|
|
79
|
+
"@tiptap/extension-text-style": "^2.1.13",
|
|
80
|
+
"@tiptap/extension-underline": "^2.1.13",
|
|
81
|
+
"@tiptap/pm": "^2.1.13",
|
|
82
|
+
"@tiptap/react": "^2.1.13",
|
|
83
|
+
"@tiptap/starter-kit": "^2.1.13",
|
|
84
|
+
"change-case": "^4.1.2",
|
|
85
|
+
"classnames": "^2.3.2",
|
|
86
|
+
"date-fns": "^2.29.3",
|
|
87
|
+
"framer-motion": "^8.5.2",
|
|
88
|
+
"jwt-decode": "3.1.2",
|
|
89
|
+
"lodash.kebabcase": "^4.1.1",
|
|
90
|
+
"lodash.partition": "^4.6.0",
|
|
91
|
+
"lodash.range": "^3.2.0",
|
|
92
|
+
"lodash.uniqueid": "^4.0.1",
|
|
93
|
+
"param-case": "^3.0.4",
|
|
94
|
+
"rc-drawer": "^6.5.2",
|
|
95
|
+
"react-datepicker": "^4.8.0",
|
|
96
|
+
"react-dnd": "^16.0.1",
|
|
97
|
+
"react-dnd-html5-backend": "^16.0.1",
|
|
98
|
+
"react-hook-form": "~7.42.1",
|
|
99
|
+
"react-imask": "^6.4.3",
|
|
100
|
+
"react-loading-skeleton": "^3.2.0",
|
|
101
|
+
"react-select": "^5.7.0",
|
|
102
|
+
"react-toastify": "^9.1.2",
|
|
103
|
+
"recharts": "^2.13.0"
|
|
104
|
+
},
|
|
105
|
+
"devDependencies": {
|
|
106
|
+
"@faker-js/faker": "^7.6.0",
|
|
107
|
+
"@freedom/storybook-theme": "^1.2.0",
|
|
108
|
+
"@freedom/styles": "^1.1.5",
|
|
109
|
+
"@testing-library/dom": "^8.19.1",
|
|
110
|
+
"@testing-library/jest-dom": "^5.16.5",
|
|
111
|
+
"@testing-library/react": "^13.4.0",
|
|
112
|
+
"@testing-library/user-event": "^14.4.3",
|
|
113
|
+
"@types/jest": "^29.4.0",
|
|
114
|
+
"@types/lodash.kebabcase": "^4.1.7",
|
|
115
|
+
"@types/lodash.partition": "^4.6.7",
|
|
116
|
+
"@types/lodash.range": "^3.2.7",
|
|
117
|
+
"@types/lodash.uniqueid": "^4.0.7",
|
|
118
|
+
"@types/react-datepicker": "^4.8.0",
|
|
119
|
+
"chromatic": "^6.21.0",
|
|
120
|
+
"jest": "^29.4.2",
|
|
121
|
+
"jest-environment-jsdom": "^29.3.1",
|
|
122
|
+
"postcss": "^8.4.20",
|
|
123
|
+
"rollup-plugin-postcss": "^4.0.2"
|
|
124
|
+
},
|
|
125
|
+
"engines": {
|
|
126
|
+
"node": ">=14.x"
|
|
127
|
+
}
|
|
128
|
+
}
|