@rocket.chat/fuselage 0.89.0 → 0.90.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/components/Box/stylingProps.d.ts +13 -12
- package/dist/components/Box/stylingProps.d.ts.map +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +18 -3
- package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +1 -1
- package/dist/components/Message/MessageGenericPreview/MessageGenericPreview.d.ts +0 -1
- package/dist/components/Message/MessageGenericPreview/MessageGenericPreview.d.ts.map +1 -1
- package/dist/components/Message/MessageStatusIndicator/MessageStatusIndicator.d.ts +0 -1
- package/dist/components/Message/MessageStatusIndicator/MessageStatusIndicator.d.ts.map +1 -1
- package/dist/components/Message/MessageSystem/MessageSystem.d.ts +0 -1
- package/dist/components/Message/MessageSystem/MessageSystem.d.ts.map +1 -1
- package/dist/components/PaletteStyleTag/helpers/getPalette.d.ts +315 -315
- package/dist/fuselage.css +1 -4
- package/dist/fuselage.development.css +6451 -0
- package/dist/fuselage.development.js +7200 -11884
- package/dist/fuselage.development.js.map +1 -1
- package/dist/fuselage.production.js +142 -142
- package/dist/styleTokens.d.ts +5 -2
- package/dist/styleTokens.d.ts.map +1 -1
- package/package.json +8 -22
- package/dist/fuselage.css.map +0 -1
package/dist/styleTokens.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
import tokenBorder from '@rocket.chat/fuselage-tokens/dist/border.json';
|
|
2
|
+
export type BorderWidth = keyof typeof tokenBorder.width;
|
|
3
|
+
export type BorderRadius = keyof typeof tokenBorder.radius;
|
|
4
|
+
export declare const borderWidth: (value: unknown) => string | undefined;
|
|
5
|
+
export declare const borderRadius: (value: unknown) => string | undefined;
|
|
3
6
|
export declare const strokeColor: (this: unknown, arg: unknown) => string | undefined;
|
|
4
7
|
export declare const backgroundColor: (this: unknown, arg: unknown) => string | undefined;
|
|
5
8
|
export declare const fontColor: (this: unknown, arg: unknown) => string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styleTokens.d.ts","sourceRoot":"","sources":["../src/styleTokens.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styleTokens.d.ts","sourceRoot":"","sources":["../src/styleTokens.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,+CAA+C,CAAC;AA4BxE,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,WAAW,CAAC,KAAK,CAAC;AACzD,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,WAAW,CAAC,MAAM,CAAC;AA8B3D,eAAO,MAAM,WAAW,GAAI,OAAO,OAAO,uBAMzC,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,OAAO,OAAO,uBAM1C,CAAC;AAgCF,eAAO,MAAM,WAAW,qDAMtB,CAAC;AAEH,eAAO,MAAM,eAAe,qDA8B1B,CAAC;AAEH,eAAO,MAAM,SAAS,qDASpB,CAAC;AAEH,mBAAmB;AACnB,eAAO,MAAM,KAAK,qDAsEhB,CAAC;AAEH,eAAO,MAAM,IAAI,qDAkBf,CAAC;AAEH,eAAO,MAAM,OAAO,qDAMlB,CAAC;AAOH,eAAO,MAAM,UAAU,qDAUrB,CAAC;AAOH,eAAO,MAAM,SAAS;cAKJ,MAAM;gBACJ,MAAM;gBACN,MAAM;mBACH,MAAM;aAiB5B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rocket.chat/fuselage",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.90.0",
|
|
4
4
|
"description": "Rocket.Chat's React Components Library",
|
|
5
5
|
"homepage": "https://github.com/RocketChat/fuselage#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"scripts": {
|
|
26
26
|
"visual-regression": "visual-regression",
|
|
27
27
|
"visual-regression-update": "visual-regression --update-snapshots",
|
|
28
|
-
"start": "
|
|
28
|
+
"start": "vite build --watch --mode development",
|
|
29
29
|
"storybook": "storybook dev -p 6006 --no-version-updates",
|
|
30
30
|
"build": "run .:build:clean && run .:build:dev && run .:build:prod && run .:build:dts && run .:build:api",
|
|
31
31
|
".:build:clean": "rimraf dist",
|
|
32
|
-
".:build:prod": "
|
|
33
|
-
".:build:dev": "
|
|
32
|
+
".:build:prod": "vite build --mode production",
|
|
33
|
+
".:build:dev": "vite build --mode development",
|
|
34
34
|
".:build:dts": "tsc -p tsconfig.build.json --emitDeclarationOnly",
|
|
35
35
|
".:build:api": "api-extractor run --local",
|
|
36
36
|
"lint": "lint",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@rocket.chat/css-in-js": "^0.33.1",
|
|
45
|
-
"@rocket.chat/fuselage-tokens": "^0.
|
|
45
|
+
"@rocket.chat/fuselage-tokens": "^0.35.0",
|
|
46
46
|
"@rocket.chat/memo": "~0.31.25",
|
|
47
47
|
"invariant": "^2.2.4",
|
|
48
48
|
"react-aria": "~3.37.0",
|
|
@@ -51,14 +51,9 @@
|
|
|
51
51
|
"react-stately": "~3.35.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@babel/core": "~7.29.7",
|
|
55
|
-
"@babel/plugin-transform-runtime": "~7.29.7",
|
|
56
|
-
"@babel/preset-env": "~7.29.7",
|
|
57
|
-
"@babel/preset-react": "~7.29.7",
|
|
58
|
-
"@babel/preset-typescript": "~7.29.7",
|
|
59
54
|
"@microsoft/api-extractor": "~7.58.12",
|
|
60
55
|
"@rocket.chat/fuselage-hooks": "^0.43.1",
|
|
61
|
-
"@rocket.chat/icons": "^0.
|
|
56
|
+
"@rocket.chat/icons": "^0.50.0",
|
|
62
57
|
"@rocket.chat/storybook-dark-mode": "^4.2.1",
|
|
63
58
|
"@rocket.chat/visual-regression": "^0.0.1",
|
|
64
59
|
"@storybook/addon-a11y": "~9.1.20",
|
|
@@ -77,22 +72,17 @@
|
|
|
77
72
|
"@types/react-dom": "~19.2.3",
|
|
78
73
|
"@types/react-is": "^19.2.0",
|
|
79
74
|
"autoprefixer": "~10.5.4",
|
|
80
|
-
"babel-loader": "~10.1.1",
|
|
81
75
|
"caniuse-lite": "~1.0.30001806",
|
|
82
|
-
"css-loader": "~7.1.4",
|
|
83
76
|
"cssnano": "~8.0.2",
|
|
84
77
|
"eslint": "~10.8.0",
|
|
85
78
|
"jest": "~30.4.2",
|
|
86
79
|
"jest-axe": "~10.0.0",
|
|
87
80
|
"jest-environment-jsdom": "~30.4.1",
|
|
88
81
|
"lint-all": "^0.31.25",
|
|
89
|
-
"mini-css-extract-plugin": "~2.10.2",
|
|
90
82
|
"normalize.css": "^8.0.1",
|
|
91
83
|
"path-browserify": "^1.0.1",
|
|
92
|
-
"postcss": "~8.5.
|
|
93
|
-
"postcss-dir-pseudo-class": "~10.0.0",
|
|
84
|
+
"postcss": "~8.5.28",
|
|
94
85
|
"postcss-loader": "~8.2.1",
|
|
95
|
-
"postcss-logical": "~9.0.0",
|
|
96
86
|
"postcss-scss": "~4.0.9",
|
|
97
87
|
"prettier": "~3.6.2",
|
|
98
88
|
"react": "~19.2.8",
|
|
@@ -103,18 +93,14 @@
|
|
|
103
93
|
"sass": "~1.102.0",
|
|
104
94
|
"sass-loader": "~17.0.0",
|
|
105
95
|
"storybook": "~9.1.20",
|
|
106
|
-
"style-loader": "~4.0.0",
|
|
107
96
|
"stylelint": "~17.14.1",
|
|
108
97
|
"stylelint-order": "~8.1.1",
|
|
109
98
|
"stylelint-prettier": "~5.0.3",
|
|
110
99
|
"stylelint-scss": "~7.2.0",
|
|
111
100
|
"testing-utils": "^0.31.25",
|
|
112
101
|
"ts-jest": "~29.4.12",
|
|
113
|
-
"ts-loader": "~9.6.2",
|
|
114
102
|
"typescript": "~5.9.3",
|
|
115
|
-
"
|
|
116
|
-
"webpack-cli": "~7.2.1",
|
|
117
|
-
"wrapper-webpack-plugin": "~2.2.2"
|
|
103
|
+
"vite": "~8.2.2"
|
|
118
104
|
},
|
|
119
105
|
"peerDependencies": {
|
|
120
106
|
"@rocket.chat/fuselage-hooks": "*",
|