@moser-inc/moser-labs-react 6.8.1 → 7.0.0
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 +6 -15
- package/dist/index.d.ts +1105 -0
- package/dist/index.js +1104 -0
- package/package.json +38 -32
- package/dist/moser-labs-react.css +0 -1
- package/dist/moser-labs-react.d.ts +0 -2
- package/dist/moser-labs-react.js +0 -21137
- package/dist/package.json.d.ts +0 -84
- package/dist/src/_dev/App.d.ts +0 -1
- package/dist/src/_dev/components/DevDirectoryLink.d.ts +0 -27
- package/dist/src/_dev/components/DevLink.d.ts +0 -10
- package/dist/src/_dev/layouts/App.layout.d.ts +0 -1
- package/dist/src/_dev/lib/directory.d.ts +0 -29
- package/dist/src/_dev/lib/router.d.ts +0 -1
- package/dist/src/_dev/lib/routerContext.d.ts +0 -1
- package/dist/src/_dev/sandbox.d.ts +0 -0
- package/dist/src/_dev/utils/createDocsHeader.d.ts +0 -1
- package/dist/src/_dev/views/Base.view.d.ts +0 -2
- package/dist/src/_dev/views/FAQ.view.d.ts +0 -2
- package/dist/src/_dev/views/Inputs.view.d.ts +0 -205
- package/dist/src/_dev/views/Presentation.view.d.ts +0 -2
- package/dist/src/components/FieldContainer/FieldContainer.d.ts +0 -16
- package/dist/src/components/FieldContainer/FieldContainerHint.d.ts +0 -12
- package/dist/src/components/FieldContainer/FieldContainerInput.d.ts +0 -8
- package/dist/src/components/FieldContainer/FieldContainerLabel.d.ts +0 -9
- package/dist/src/components/FieldContainer/FieldContainerMessage.d.ts +0 -9
- package/dist/src/components/LabsAuthGate.d.ts +0 -6
- package/dist/src/components/LabsButton.d.ts +0 -10
- package/dist/src/components/LabsCalendar.d.ts +0 -8
- package/dist/src/components/LabsCheckbox.d.ts +0 -9
- package/dist/src/components/LabsCount.d.ts +0 -8
- package/dist/src/components/LabsDate.d.ts +0 -7
- package/dist/src/components/LabsEmpty.d.ts +0 -6
- package/dist/src/components/LabsLoader.d.ts +0 -6
- package/dist/src/components/LabsLogoutTimer.d.ts +0 -9
- package/dist/src/components/LabsMain.d.ts +0 -7
- package/dist/src/components/LabsMainDesktopNav.d.ts +0 -9
- package/dist/src/components/LabsMainHeaderActions.d.ts +0 -10
- package/dist/src/components/LabsMainMobileNav.d.ts +0 -9
- package/dist/src/components/LabsMenuNav.d.ts +0 -8
- package/dist/src/components/LabsMultiSelect.d.ts +0 -24
- package/dist/src/components/LabsSelect.d.ts +0 -21
- package/dist/src/components/LabsSelectCascade.d.ts +0 -23
- package/dist/src/components/LabsSpeedDialNav.d.ts +0 -8
- package/dist/src/components/LabsText.d.ts +0 -7
- package/dist/src/components/LabsTextCurrency.d.ts +0 -3
- package/dist/src/components/LabsTextSearch.d.ts +0 -3
- package/dist/src/components/LabsTextarea.d.ts +0 -7
- package/dist/src/components/LabsToggle.d.ts +0 -6
- package/dist/src/constants/app.d.ts +0 -1
- package/dist/src/hooks/useAnalytics.d.ts +0 -7
- package/dist/src/hooks/useAuth.d.ts +0 -1
- package/dist/src/hooks/useBreakpoints.d.ts +0 -4
- package/dist/src/hooks/useLabs.d.ts +0 -1
- package/dist/src/layouts/Base.layout.d.ts +0 -3
- package/dist/src/layouts/Centered.layout.d.ts +0 -3
- package/dist/src/layouts/Main.layout.d.ts +0 -18
- package/dist/src/lib/analytics/analyticsContext.d.ts +0 -9
- package/dist/src/lib/analytics/createAnalytics.d.ts +0 -8
- package/dist/src/lib/analytics/index.d.ts +0 -1
- package/dist/src/lib/auth/authContext.d.ts +0 -20
- package/dist/src/lib/auth/authUtils.d.ts +0 -110
- package/dist/src/lib/auth/index.d.ts +0 -4
- package/dist/src/lib/dayjs.d.ts +0 -2
- package/dist/src/lib/head/headContext.d.ts +0 -5
- package/dist/src/lib/head/index.d.ts +0 -1
- package/dist/src/lib/labs/index.d.ts +0 -1
- package/dist/src/lib/labs/labsContext.d.ts +0 -17
- package/dist/src/lib/prime/index.d.ts +0 -1
- package/dist/src/lib/prime/primeContext.d.ts +0 -5
- package/dist/src/main.d.ts +0 -42
- package/dist/src/types/DirectoryValue.type.d.ts +0 -6
- package/dist/src/types/ReactHookForm.type.d.ts +0 -6
- package/dist/src/utils/animations.d.ts +0 -90
- package/dist/src/utils/fieldHelpers.d.ts +0 -5
- package/dist/src/utils/forwardRefInferGenerics.d.ts +0 -2
- package/dist/src/utils/number.d.ts +0 -2
- package/dist/src/utils/pluralize.d.ts +0 -1
- package/dist/src/utils/reactHookFormHelpers.d.ts +0 -89
package/package.json
CHANGED
|
@@ -1,25 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moser-inc/moser-labs-react",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "React components for the Moser Labs suite of applications.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "git+https://github.com/moser-inc/moser-labs.git"
|
|
7
|
+
"url": "git+https://github.com/moser-inc/moser-labs.git",
|
|
8
|
+
"directory": "packages/react"
|
|
8
9
|
},
|
|
9
10
|
"author": "Moser Consulting",
|
|
10
11
|
"license": "ISC",
|
|
11
12
|
"type": "module",
|
|
12
|
-
"main": "dist/moser-labs-react.js",
|
|
13
|
-
"module": "dist/moser-labs-react.js",
|
|
14
|
-
"types": "dist/moser-labs-react.d.ts",
|
|
15
13
|
"exports": {
|
|
16
|
-
".":
|
|
17
|
-
|
|
18
|
-
"default": "./dist/moser-labs-react.js"
|
|
19
|
-
},
|
|
20
|
-
"./style.css": {
|
|
21
|
-
"default": "./dist/moser-labs-react.css"
|
|
22
|
-
}
|
|
14
|
+
".": "./dist/index.js",
|
|
15
|
+
"./package.json": "./package.json"
|
|
23
16
|
},
|
|
24
17
|
"files": [
|
|
25
18
|
"dist"
|
|
@@ -30,52 +23,65 @@
|
|
|
30
23
|
"registry": "https://registry.npmjs.org/"
|
|
31
24
|
},
|
|
32
25
|
"scripts": {
|
|
26
|
+
"build": "tsdown",
|
|
33
27
|
"dev": "vite",
|
|
34
|
-
"build": "vite build",
|
|
35
28
|
"lint": "eslint --max-warnings 0",
|
|
29
|
+
"lint:fix": "eslint --fix",
|
|
30
|
+
"prepack": "npm run build",
|
|
36
31
|
"preview": "vite preview",
|
|
37
|
-
"test": "
|
|
38
|
-
"
|
|
39
|
-
"
|
|
32
|
+
"test:attw": "npx -y @arethetypeswrong/cli@latest --pack --profile esm-only",
|
|
33
|
+
"test:publint": "npx -y publint@latest",
|
|
34
|
+
"test:publish": "npm run test:attw && npm run test:publint",
|
|
35
|
+
"type-check": "tsc --noEmit -p tsconfig.app.json"
|
|
40
36
|
},
|
|
41
37
|
"peerDependencies": {
|
|
42
|
-
"@types/react": ">=
|
|
43
|
-
"@types/react-dom": ">=
|
|
44
|
-
"@unhead/react": ">=
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
38
|
+
"@types/react": ">=18.2.14",
|
|
39
|
+
"@types/react-dom": ">=18.2.6",
|
|
40
|
+
"@unhead/react": ">=2.0.11",
|
|
41
|
+
"keycloak-js": ">=23.0.3",
|
|
42
|
+
"motion": ">=12.35.0",
|
|
43
|
+
"primereact": ">=9.6.0 < 11.0.0",
|
|
44
|
+
"react": ">=18.2.0",
|
|
45
|
+
"react-dom": ">=18.2.0"
|
|
46
|
+
},
|
|
47
|
+
"peerDependenciesMeta": {
|
|
48
|
+
"motion": {
|
|
49
|
+
"optional": true
|
|
50
|
+
}
|
|
48
51
|
},
|
|
49
52
|
"dependencies": {
|
|
50
53
|
"@analytics/mixpanel": "^0.4.0",
|
|
51
|
-
"@moser-inc/moser-labs-custom-elements": "
|
|
54
|
+
"@moser-inc/moser-labs-custom-elements": "3.0.0",
|
|
52
55
|
"@react-hookz/web": "^25.2.0",
|
|
53
56
|
"analytics": "^0.8.19",
|
|
54
57
|
"clsx": "^2.1.1",
|
|
55
58
|
"dayjs": "^1.11.19",
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"motion": "^12.29.3",
|
|
59
|
+
"mixpanel-browser": "^2.75.0",
|
|
60
|
+
"motion": "^12.35.0",
|
|
59
61
|
"react-idle-timer": "^5.7.2"
|
|
60
62
|
},
|
|
61
63
|
"devDependencies": {
|
|
62
64
|
"@hookform/resolvers": "^5.2.2",
|
|
63
|
-
"@moser-inc/eslint-config-react": "^5.1.
|
|
64
|
-
"@moser-inc/
|
|
65
|
+
"@moser-inc/eslint-config-react": "^5.1.4",
|
|
66
|
+
"@moser-inc/moser-labs-themes": "1.1.0",
|
|
67
|
+
"@moser-inc/unocss-preset-moser-labs": "^6.1.3",
|
|
65
68
|
"@tsconfig/node24": "^24.0.4",
|
|
66
69
|
"@tsconfig/vite-react": "^7.0.2",
|
|
67
|
-
"@unocss/eslint-config": "^66.6.
|
|
70
|
+
"@unocss/eslint-config": "^66.6.6",
|
|
68
71
|
"@vitejs/plugin-basic-ssl": "^2.1.4",
|
|
69
72
|
"@vitejs/plugin-react": "^5.1.4",
|
|
70
|
-
"eslint": "^9.39.
|
|
73
|
+
"eslint": "^9.39.4",
|
|
71
74
|
"prettier": "^3.8.1",
|
|
72
75
|
"react-hook-form": "^7.71.2",
|
|
73
76
|
"react-router": "^7.13.1",
|
|
74
77
|
"react-router-dom": "^7.13.1",
|
|
78
|
+
"tsdown": "^0.21.0",
|
|
75
79
|
"typescript": "^5.9.3",
|
|
76
|
-
"unocss": "^66.6.
|
|
80
|
+
"unocss": "^66.6.6",
|
|
77
81
|
"vite": "^7.3.1",
|
|
78
|
-
"vite-plugin-dts": "^4.5.4",
|
|
79
82
|
"zod": "^4.3.6"
|
|
83
|
+
},
|
|
84
|
+
"inlinedDependencies": {
|
|
85
|
+
"react-hook-form": "7.71.2"
|
|
80
86
|
}
|
|
81
87
|
}
|