@particle-network/ui-react 0.5.1-beta.18 → 0.5.1-beta.19
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.
|
@@ -14,7 +14,7 @@ const UXToastProvider = ()=>/*#__PURE__*/ jsx(ToastProvider, {
|
|
|
14
14
|
timeout: 4000
|
|
15
15
|
},
|
|
16
16
|
regionProps: {
|
|
17
|
-
className: 'items-center mt-12 p-0 gap-2 z-[
|
|
17
|
+
className: 'items-center mt-12 p-0 gap-2 z-[9999999999]'
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
const getIcon = (type)=>{
|
|
@@ -38,14 +38,14 @@ const show = (props)=>{
|
|
|
38
38
|
return addToast({
|
|
39
39
|
classNames: {
|
|
40
40
|
base: [
|
|
41
|
-
'
|
|
41
|
+
'bg-cursor rounded-xl px-3.5 shadow-none min-h-11 border-none !w-fit max-w-[90vw] md:max-w-[400px] m-0',
|
|
42
42
|
!hideCloseButton && 'pr-12',
|
|
43
43
|
'flat' === variant && 'success' === type && 'bg-[#0E3728]',
|
|
44
44
|
'flat' === variant && 'error' === type && 'bg-[#501D1D]',
|
|
45
45
|
base
|
|
46
46
|
],
|
|
47
47
|
title: [
|
|
48
|
-
'text-cursor-foreground text-xs font-medium leading-4 !whitespace-normal me-0
|
|
48
|
+
'text-cursor-foreground text-xs font-medium leading-4 !whitespace-normal me-0 line-clamp-2',
|
|
49
49
|
hasLongWord(title) && 'break-all',
|
|
50
50
|
'flat' === variant && 'text-white',
|
|
51
51
|
titleClassName
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@particle-network/ui-react",
|
|
3
|
-
"version": "0.5.1-beta.
|
|
3
|
+
"version": "0.5.1-beta.19",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"@rslib/core": "^0.12.3",
|
|
39
39
|
"@types/react": "^19.1.10",
|
|
40
40
|
"react": "^19.1.0",
|
|
41
|
-
"@particle-network/
|
|
42
|
-
"@particle-network/
|
|
41
|
+
"@particle-network/lintstaged-config": "0.1.0",
|
|
42
|
+
"@particle-network/eslint-config": "0.3.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": ">=16.9.0",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"react-aria-components": "^1.14.0",
|
|
53
53
|
"values.js": "^2.1.1",
|
|
54
54
|
"zustand": "^5.0.8",
|
|
55
|
-
"@particle-network/
|
|
56
|
-
"@particle-network/
|
|
55
|
+
"@particle-network/icons": "0.5.1-beta.6",
|
|
56
|
+
"@particle-network/ui-shared": "0.4.1-beta.5"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"build": "rslib build",
|