@rocket.chat/fuselage 0.92.0 → 0.94.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.
|
@@ -223,4 +223,4 @@ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{val
|
|
|
223
223
|
animation-fill-mode: forwards;
|
|
224
224
|
animation-play-state: ${a?"paused":"running"};
|
|
225
225
|
}
|
|
226
|
-
`,h=(0,i.useId)(),g=s||h,f="error"===t?"alert":"status";return(0,j.jsxs)(He,{className:[`rcx-toastbar rcx-toastbar--${t} ${r}`,p],elevation:"2nb",borderRadius:"medium",...d,children:[(0,j.jsxs)("div",{className:"rcx-toastbar_inner",children:[(0,j.jsx)(Ge,{className:`rcx-toastbar_icon--${t}`,size:"x20",name:x}),(0,j.jsx)("div",{role:f,className:"rcx-toastbar_content",children:e}),o&&(0,j.jsx)("div",{className:"rcx-toastbar-close",children:(0,j.jsx)(tt,{tiny:!0,"aria-label":c,onClick:()=>o(g),icon:"cross"})})]}),(0,j.jsx)(He,{className:[b,"rcx-toastbar_progressbar"]})]})},exports.ToggleSwitch=function({className:e,labelChildren:r,...t}){return(0,j.jsxs)(He,{is:"label",className:e,"rcx-toggle-switch":!0,children:[r,(0,j.jsx)(He,{is:"input","rcx-toggle-switch__input":!0,type:"checkbox",...t}),(0,j.jsx)(He,{is:"i","rcx-toggle-switch__fake":!0,"aria-hidden":"true"})]})},exports.Tooltip=function({variation:e="dark",placement:r,...t}){const[n,a]=(e=>{const[r,t]=e?e.split("-"):[
|
|
226
|
+
`,h=(0,i.useId)(),g=s||h,f="error"===t?"alert":"status";return(0,j.jsxs)(He,{className:[`rcx-toastbar rcx-toastbar--${t} ${r}`,p],elevation:"2nb",borderRadius:"medium",...d,children:[(0,j.jsxs)("div",{className:"rcx-toastbar_inner",children:[(0,j.jsx)(Ge,{className:`rcx-toastbar_icon--${t}`,size:"x20",name:x}),(0,j.jsx)("div",{role:f,className:"rcx-toastbar_content",children:e}),o&&(0,j.jsx)("div",{className:"rcx-toastbar-close",children:(0,j.jsx)(tt,{tiny:!0,"aria-label":c,onClick:()=>o(g),icon:"cross"})})]}),(0,j.jsx)(He,{className:[b,"rcx-toastbar_progressbar"]})]})},exports.ToggleSwitch=function({className:e,labelChildren:r,...t}){return(0,j.jsxs)(He,{is:"label",className:e,"rcx-toggle-switch":!0,children:[r,(0,j.jsx)(He,{is:"input","rcx-toggle-switch__input":!0,type:"checkbox",...t}),(0,j.jsx)(He,{is:"i","rcx-toggle-switch__fake":!0,"aria-hidden":"true"})]})},exports.Tooltip=function({variation:e="dark",placement:r,...t}){const[n,a]=(e=>{const[r,t]=e?e.split("-"):[void 0,void 0];return"right"===r||"left"===r?[r,void 0]:[r,t]})(r);return(0,j.jsx)(He,{is:"div","rcx-tooltip":!0,"rcx-tooltip--dir":n,"rcx-tooltip--pos":a,"rcx-tooltip--light":"light"===e,"rcx-tooltip--dark":"dark"===e,...t})},exports.UrlInput=function(e){return(0,j.jsx)(hr,{type:"url",...e})},exports.Var=U,exports.__setThrowErrorOnInvalidToken__=e=>{K=e},exports.backgroundColor=ke,exports.borderRadius=ve,exports.borderWidth=fe,exports.color=Ne,exports.fontColor=we,exports.fontFamily=Ie,exports.fontScale=Be,exports.size=Se,exports.spacing=Ce,exports.strokeColor=ye,exports.useCursor=Ur,exports.useOwnerDocument=F;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rocket.chat/fuselage",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.94.0",
|
|
4
4
|
"description": "Rocket.Chat's React Components Library",
|
|
5
5
|
"homepage": "https://github.com/RocketChat/fuselage#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"build-storybook": "NODE_ENV=production storybook build"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@rocket.chat/css-in-js": "
|
|
44
|
+
"@rocket.chat/css-in-js": "~0.33.1",
|
|
45
45
|
"@rocket.chat/fuselage-tokens": "^0.35.0",
|
|
46
46
|
"@rocket.chat/memo": "~0.31.25",
|
|
47
47
|
"invariant": "^2.2.4",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@microsoft/api-extractor": "~7.58.13",
|
|
55
55
|
"@rocket.chat/fuselage-hooks": "^0.43.1",
|
|
56
|
-
"@rocket.chat/icons": "^0.
|
|
56
|
+
"@rocket.chat/icons": "^0.51.0",
|
|
57
57
|
"@rocket.chat/storybook-dark-mode": "~4.2.1",
|
|
58
58
|
"@rocket.chat/visual-regression": "^0.0.1",
|
|
59
59
|
"@storybook/addon-a11y": "~9.1.20",
|
|
@@ -71,6 +71,7 @@
|
|
|
71
71
|
"@types/react": "~19.2.18",
|
|
72
72
|
"@types/react-dom": "~19.2.7",
|
|
73
73
|
"@types/react-is": "^19.2.0",
|
|
74
|
+
"@types/stylis": "^4.2.7",
|
|
74
75
|
"autoprefixer": "~10.5.6",
|
|
75
76
|
"caniuse-lite": "~1.0.30001810",
|
|
76
77
|
"cssnano": "~9.0.4",
|