@mitodl/smoot-design 3.0.1 → 3.2.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/dist/bundles/aiChat.es.js +24870 -0
- package/dist/bundles/aiChat.umd.js +125 -0
- package/dist/cjs/ai.d.ts +1 -0
- package/dist/cjs/bundles/aiChat.d.ts +6 -0
- package/dist/cjs/bundles/aiChat.js +13 -0
- package/dist/cjs/components/AiChat/AiChat.js +83 -99
- package/dist/cjs/components/AiChat/AiChat.stories.js +11 -2
- package/dist/cjs/components/AiChat/AiChat.test.js +1 -1
- package/dist/cjs/components/AiChat/types.d.ts +17 -7
- package/dist/cjs/components/ImageAdapter/ImageAdapter.d.ts +1 -1
- package/dist/cjs/components/ImageAdapter/ImageAdapter.js +1 -1
- package/dist/cjs/components/Input/Input.d.ts +2 -1
- package/dist/cjs/components/Input/Input.js +27 -4
- package/dist/cjs/components/Input/Input.stories.js +1 -0
- package/dist/cjs/components/ScrollSnap/ScrollSnap.js +1 -1
- package/dist/cjs/components/TextField/TextField.stories.js +1 -0
- package/dist/cjs/utils/composeRefs.test.js +2 -2
- package/dist/cjs/utils/useInterval.js +1 -1
- package/dist/esm/ai.d.ts +1 -0
- package/dist/esm/bundles/aiChat.d.ts +6 -0
- package/dist/esm/bundles/aiChat.js +10 -0
- package/dist/esm/components/AiChat/AiChat.js +85 -101
- package/dist/esm/components/AiChat/AiChat.stories.js +11 -2
- package/dist/esm/components/AiChat/AiChat.test.js +1 -1
- package/dist/esm/components/AiChat/types.d.ts +17 -7
- package/dist/esm/components/ImageAdapter/ImageAdapter.d.ts +1 -1
- package/dist/esm/components/ImageAdapter/ImageAdapter.js +1 -1
- package/dist/esm/components/Input/Input.d.ts +2 -1
- package/dist/esm/components/Input/Input.js +27 -4
- package/dist/esm/components/Input/Input.stories.js +1 -0
- package/dist/esm/components/ScrollSnap/ScrollSnap.js +1 -1
- package/dist/esm/components/TextField/TextField.stories.js +1 -0
- package/dist/esm/utils/composeRefs.test.js +2 -2
- package/dist/esm/utils/useInterval.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/type-augmentation/theme.d.ts +1 -0
- package/package.json +6 -3
- package/dist/static/images/mit_mascot_tim.png +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mitodl/smoot-design",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"packageManager": "yarn@4.6.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -11,12 +11,13 @@
|
|
|
11
11
|
},
|
|
12
12
|
"scripts": {
|
|
13
13
|
"start": "storybook dev -p 6006 --docs",
|
|
14
|
+
"bundle-preview": "yarn build && cp -r dist/bundles bundle-preview/static && npx serve bundle-preview",
|
|
14
15
|
"build-storybook": "storybook build --docs",
|
|
15
16
|
"test": "jest",
|
|
16
17
|
"typecheck": "tsc --noEmit",
|
|
17
18
|
"build:esm": "tsc",
|
|
18
19
|
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
|
|
19
|
-
"build:
|
|
20
|
+
"build:bundles": "vite build --outDir dist/bundles",
|
|
20
21
|
"build:type-augmentation": "cp -r src/type-augmentation dist/type-augmentation",
|
|
21
22
|
"build": "./scripts/build.sh",
|
|
22
23
|
"lint-check": "eslint src/ .storybook/",
|
|
@@ -97,6 +98,7 @@
|
|
|
97
98
|
"@testing-library/user-event": "14.6.1",
|
|
98
99
|
"@types/jest": "^29.5.14",
|
|
99
100
|
"@types/lodash": "^4.17.13",
|
|
101
|
+
"@types/react": "^19.0.8",
|
|
100
102
|
"@types/react-dom": "^19.0.0",
|
|
101
103
|
"@typescript-eslint/eslint-plugin": "^8.13.0",
|
|
102
104
|
"@typescript-eslint/typescript-estree": "^8.13.0",
|
|
@@ -128,7 +130,8 @@
|
|
|
128
130
|
"ts-node": "^10.9.2",
|
|
129
131
|
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
|
130
132
|
"type-fest": "^4.26.1",
|
|
131
|
-
"typescript": "^5.6.3"
|
|
133
|
+
"typescript": "^5.6.3",
|
|
134
|
+
"vite": "^6.0.7"
|
|
132
135
|
},
|
|
133
136
|
"peerDependencies": {
|
|
134
137
|
"@emotion/react": "^11.11.1",
|
|
Binary file
|