@particle-network/ui-react 0.4.0-beta.15 → 0.4.0-beta.17

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.
@@ -1,17 +1,19 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import { forwardRef } from "@heroui/system";
4
+ import { cn } from "@heroui/theme";
4
5
  import { useI18n } from "../../hooks/useI18n.js";
5
6
  import { EmptyIcon } from "../../icons/index.js";
6
7
  import { VStack } from "../layout/index.js";
7
8
  import { Text } from "../typography/Text.js";
8
9
  const UXEmpty = forwardRef((props, ref)=>{
9
10
  const i18n = useI18n();
10
- const { text = i18n.table.emptyContent, iconProps, ...restProps } = props;
11
+ const { text = i18n.table.emptyContent, iconProps, className, ...restProps } = props;
11
12
  return /*#__PURE__*/ jsxs(VStack, {
12
13
  ref: ref,
13
14
  center: true,
14
15
  gap: 1,
16
+ className: cn('w-full h-full', className),
15
17
  ...restProps,
16
18
  children: [
17
19
  /*#__PURE__*/ jsx(EmptyIcon, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-network/ui-react",
3
- "version": "0.4.0-beta.15",
3
+ "version": "0.4.0-beta.17",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -38,9 +38,8 @@
38
38
  "@rslib/core": "^0.12.3",
39
39
  "@types/react": "^19.1.10",
40
40
  "react": "^19.1.0",
41
- "typescript": "^5.8.3",
42
- "@particle-network/lintstaged-config": "0.1.0",
43
- "@particle-network/eslint-config": "0.3.0"
41
+ "@particle-network/eslint-config": "0.3.0",
42
+ "@particle-network/lintstaged-config": "0.1.0"
44
43
  },
45
44
  "peerDependencies": {
46
45
  "react": ">=16.9.0",
@@ -50,13 +49,13 @@
50
49
  "ahooks": "^3.9.4",
51
50
  "copy-to-clipboard": "^3.3.3",
52
51
  "zustand": "^5.0.8",
53
- "@particle-network/icons": "0.4.0-beta.8",
54
- "@particle-network/ui-shared": "0.3.0-beta.2"
52
+ "@particle-network/icons": "0.4.0-beta.10",
53
+ "@particle-network/ui-shared": "0.3.0-beta.4"
55
54
  },
56
55
  "scripts": {
57
56
  "build": "rslib build",
58
57
  "dev": "rslib build --watch",
59
- "type-check": "npx tsc --noEmit -p ./tsconfig.json",
58
+ "type-check": "npx tsgo --noEmit -p ./tsconfig.json",
60
59
  "lint": "eslint . --no-error-on-unmatched-pattern --quiet",
61
60
  "lint:fix": "eslint . --fix --no-error-on-unmatched-pattern --quiet",
62
61
  "clean": "rm -rf .turbo node_modules dist"
@@ -123,7 +123,7 @@ module.exports = {
123
123
  DEFAULT: '#FFFFFF',
124
124
  },
125
125
  default: {
126
- DEFAULT: '#E8E8EB',
126
+ DEFAULT: '#1F1F23',
127
127
  foreground: '#FFFFFF',
128
128
  },
129
129
  primary: {
@@ -289,7 +289,7 @@ module.exports = {
289
289
  DEFAULT: '#FFFFFF',
290
290
  },
291
291
  default: {
292
- DEFAULT: '#E8E8EB',
292
+ DEFAULT: '#1F1F23',
293
293
  foreground: '#FFFFFF',
294
294
  },
295
295
  primary: {
@@ -455,8 +455,8 @@ module.exports = {
455
455
  DEFAULT: '#FDFDFE',
456
456
  },
457
457
  default: {
458
- DEFAULT: '#E8E8EB',
459
- foreground: '#FDFDFE',
458
+ DEFAULT: '#1F1F23',
459
+ foreground: '#FFFFFF',
460
460
  },
461
461
  primary: {
462
462
  100: '#F6EDF7',
@@ -539,7 +539,7 @@ module.exports = {
539
539
  },
540
540
  default: {
541
541
  DEFAULT: '#E8E8EB',
542
- foreground: '#0C0C0F',
542
+ foreground: '#000000',
543
543
  },
544
544
  primary: {
545
545
  100: '#F6EDF7',
@@ -621,8 +621,8 @@ module.exports = {
621
621
  DEFAULT: '#F0F5F5',
622
622
  },
623
623
  default: {
624
- DEFAULT: '#E8E8EB',
625
- foreground: '#F0F5F5',
624
+ DEFAULT: '#1F1F23',
625
+ foreground: '#FFFFFF',
626
626
  },
627
627
  primary: {
628
628
  100: '#F0F5F2',
@@ -704,8 +704,8 @@ module.exports = {
704
704
  DEFAULT: '#FCFCFC',
705
705
  },
706
706
  default: {
707
- DEFAULT: '#E8E8EB',
708
- foreground: '#FCFCFC',
707
+ DEFAULT: '#1F1F23',
708
+ foreground: '#FFFFFF',
709
709
  },
710
710
  primary: {
711
711
  100: '#EDEEF7',
@@ -787,8 +787,8 @@ module.exports = {
787
787
  DEFAULT: '#F6FEFD',
788
788
  },
789
789
  default: {
790
- DEFAULT: '#E8E8EB',
791
- foreground: '#F6FEFD',
790
+ DEFAULT: '#1F1F23',
791
+ foreground: '#FFFFFF',
792
792
  },
793
793
  primary: {
794
794
  100: '#EFF5F5',
@@ -870,7 +870,7 @@ module.exports = {
870
870
  DEFAULT: '#FFFFFF',
871
871
  },
872
872
  default: {
873
- DEFAULT: '#E8E8EB',
873
+ DEFAULT: '#1F1F23',
874
874
  foreground: '#FFFFFF',
875
875
  },
876
876
  primary: {
@@ -953,8 +953,8 @@ module.exports = {
953
953
  DEFAULT: '#EAECEF',
954
954
  },
955
955
  default: {
956
- DEFAULT: '#E8E8EB',
957
- foreground: '#EAECEF',
956
+ DEFAULT: '#1F1F23',
957
+ foreground: '#FFFFFF',
958
958
  },
959
959
  primary: {
960
960
  100: '#F7F6ED',
@@ -1036,8 +1036,8 @@ module.exports = {
1036
1036
  DEFAULT: '#E9E9E9',
1037
1037
  },
1038
1038
  default: {
1039
- DEFAULT: '#E8E8EB',
1040
- foreground: '#E9E9E9',
1039
+ DEFAULT: '#1F1F23',
1040
+ foreground: '#FFFFFF',
1041
1041
  },
1042
1042
  primary: {
1043
1043
  100: '#EFF6F3',