@particle-network/ui-react 0.1.1-beta.0 → 0.1.2

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.
@@ -15,9 +15,9 @@ const UXModal = /*#__PURE__*/ forwardRef((props, ref)=>{
15
15
  classNames?.wrapper
16
16
  ],
17
17
  base: [
18
- 'pt-2 pb-[34px] gap-5',
18
+ 'py-6 gap-5',
19
19
  'max-h-[calc(100vh-48px)] max-md:m-0 max-md:rounded-b-none',
20
- 'md:max-h-[750px] md:py-6',
20
+ 'md:max-h-[750px]',
21
21
  classNames?.base
22
22
  ],
23
23
  backdrop: classNames?.backdrop,
@@ -36,7 +36,7 @@ const UXModal = /*#__PURE__*/ forwardRef((props, ref)=>{
36
36
  classNames?.footer
37
37
  ],
38
38
  closeButton: [
39
- 'top-5 end-4 text-foreground hidden md:flex',
39
+ 'top-5 end-4 text-foreground',
40
40
  classNames?.closeButton
41
41
  ]
42
42
  },
@@ -50,9 +50,6 @@ const UXModal = /*#__PURE__*/ forwardRef((props, ref)=>{
50
50
  ...restProps,
51
51
  children: /*#__PURE__*/ jsxs(ModalContent, {
52
52
  children: [
53
- /*#__PURE__*/ jsx("div", {
54
- className: "bg-foreground-100 mx-auto block h-1 w-10 rounded-full md:hidden"
55
- }),
56
53
  title ? /*#__PURE__*/ jsx(ModalHeader, {
57
54
  className: "capitalize",
58
55
  children: title
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-network/ui-react",
3
- "version": "0.1.1-beta.0",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -14,30 +14,30 @@
14
14
  "dist",
15
15
  "tailwind-preset.js"
16
16
  ],
17
+ "scripts": {
18
+ "build": "rslib build",
19
+ "dev": "rslib build --watch",
20
+ "type-check": "npx tsc --noEmit -p ./tsconfig.json",
21
+ "lint": "eslint . --no-error-on-unmatched-pattern --quiet",
22
+ "lint:fix": "eslint . --fix --no-error-on-unmatched-pattern --quiet",
23
+ "clean": "rm -rf .turbo node_modules dist"
24
+ },
17
25
  "devDependencies": {
18
26
  "@heroui/react": "^2.8.2",
27
+ "@particle-network/eslint-config": "workspace:*",
28
+ "@particle-network/lintstaged-config": "workspace:*",
19
29
  "@rsbuild/plugin-react": "^1.3.5",
20
30
  "@rslib/core": "^0.12.3",
21
31
  "@types/react": "^19.1.10",
22
32
  "react": "^19.1.0",
23
- "typescript": "^5.8.3",
24
- "@particle-network/eslint-config": "0.1.0",
25
- "@particle-network/lintstaged-config": "0.0.0"
33
+ "typescript": "^5.8.3"
26
34
  },
27
35
  "peerDependencies": {
28
36
  "react": ">=16.9.0",
29
37
  "react-dom": ">=16.9.0"
30
38
  },
31
39
  "dependencies": {
32
- "ahooks": "^3.9.4",
33
- "@particle-network/ui-shared": "0.1.0"
34
- },
35
- "scripts": {
36
- "build": "rslib build",
37
- "dev": "rslib build --watch",
38
- "type-check": "npx tsc --noEmit -p ./tsconfig.json",
39
- "lint": "eslint . --no-error-on-unmatched-pattern --quiet",
40
- "lint:fix": "eslint . --fix --no-error-on-unmatched-pattern --quiet",
41
- "clean": "rm -rf .turbo node_modules dist"
40
+ "@particle-network/ui-shared": "workspace:*",
41
+ "ahooks": "^3.9.4"
42
42
  }
43
- }
43
+ }