@996-design/996-components 1.0.0 → 6.5.1

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/NOTICE.md CHANGED
@@ -39,5 +39,5 @@ TSX routes; nested design demos use stable `design--<file-name>` IDs.
39
39
  Demo and `.dumi` helper code remains attributed to the Ant Design contributors
40
40
  under the same MIT License. Its only mechanical code change is rewriting `antd`,
41
41
  `antd-style`, `antd-img-crop`, and `@ant-design/*` module specifiers into the
42
- corresponding `@996-design/*` namespace. The generated inventory is maintained by
43
- the independent `996-design/996-ui` repository.
42
+ corresponding `@996-design/*` namespace. The generated inventory is recorded in
43
+ `packages/996-ui/demo/src/antdDemoManifest.generated.ts`.
@@ -2,10 +2,10 @@ import * as React from 'react';
2
2
  import type { HTMLAriaDataAttributes } from '../_util/aria-data-attrs';
3
3
  import type { GenerateSemantic } from '../_util/hooks/useMergeSemantic/semanticType';
4
4
  export declare const IconMap: {
5
- success: React.ForwardRefExoticComponent<Omit<import("@996-design/996-icons/es/components/AntdIconLight").AntdIconProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
6
- error: React.ForwardRefExoticComponent<Omit<import("@996-design/996-icons/es/components/AntdIconLight").AntdIconProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
7
- info: React.ForwardRefExoticComponent<Omit<import("@996-design/996-icons/es/components/AntdIconLight").AntdIconProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
8
- warning: React.ForwardRefExoticComponent<Omit<import("@996-design/996-icons/es/components/AntdIconLight").AntdIconProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
5
+ success: React.ForwardRefExoticComponent<any>;
6
+ error: React.ForwardRefExoticComponent<any>;
7
+ info: React.ForwardRefExoticComponent<any>;
8
+ warning: React.ForwardRefExoticComponent<any>;
9
9
  };
10
10
  export declare const ExceptionMap: {
11
11
  '404': React.FC<{}>;
@@ -51,7 +51,6 @@ declare const useTooltipProps: (tooltip: React.ReactNode | TooltipProps, editCon
51
51
  zIndex?: number | undefined;
52
52
  motion?: import("@rc-component/motion").CSSMotionProps | undefined;
53
53
  key?: import("react").Key | null | undefined;
54
- id?: string | undefined;
55
54
  align?: import("@rc-component/trigger/lib/interface").AlignType | undefined;
56
55
  prefixCls?: string | undefined;
57
56
  onPopupAlign?: ((element: HTMLElement, align: import("@rc-component/trigger").AlignType) => void) | undefined;
@@ -64,6 +63,7 @@ declare const useTooltipProps: (tooltip: React.ReactNode | TooltipProps, editCon
64
63
  getTooltipContainer?: ((node: HTMLElement) => HTMLElement) | undefined;
65
64
  showArrow?: (boolean | import("@rc-component/trigger").ArrowType) | undefined;
66
65
  arrowContent?: import("react").ReactNode;
66
+ id?: string | undefined;
67
67
  unique?: boolean | undefined;
68
68
  };
69
69
  export default useTooltipProps;
@@ -1,2 +1,2 @@
1
- declare const version = "1.0.0";
1
+ declare const version = "6.5.1";
2
2
  export default version;
@@ -1,2 +1,2 @@
1
- var version = '1.0.0';
1
+ var version = '6.5.1';
2
2
  export default version;
@@ -2,10 +2,10 @@ import * as React from 'react';
2
2
  import type { HTMLAriaDataAttributes } from '../_util/aria-data-attrs';
3
3
  import type { GenerateSemantic } from '../_util/hooks/useMergeSemantic/semanticType';
4
4
  export declare const IconMap: {
5
- success: React.ForwardRefExoticComponent<Omit<import("@996-design/996-icons/es/components/AntdIconLight").AntdIconProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
6
- error: React.ForwardRefExoticComponent<Omit<import("@996-design/996-icons/es/components/AntdIconLight").AntdIconProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
7
- info: React.ForwardRefExoticComponent<Omit<import("@996-design/996-icons/es/components/AntdIconLight").AntdIconProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
8
- warning: React.ForwardRefExoticComponent<Omit<import("@996-design/996-icons/es/components/AntdIconLight").AntdIconProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
5
+ success: React.ForwardRefExoticComponent<any>;
6
+ error: React.ForwardRefExoticComponent<any>;
7
+ info: React.ForwardRefExoticComponent<any>;
8
+ warning: React.ForwardRefExoticComponent<any>;
9
9
  };
10
10
  export declare const ExceptionMap: {
11
11
  '404': React.FC<{}>;
@@ -51,7 +51,6 @@ declare const useTooltipProps: (tooltip: React.ReactNode | TooltipProps, editCon
51
51
  zIndex?: number | undefined;
52
52
  motion?: import("@rc-component/motion").CSSMotionProps | undefined;
53
53
  key?: import("react").Key | null | undefined;
54
- id?: string | undefined;
55
54
  align?: import("@rc-component/trigger/lib/interface").AlignType | undefined;
56
55
  prefixCls?: string | undefined;
57
56
  onPopupAlign?: ((element: HTMLElement, align: import("@rc-component/trigger").AlignType) => void) | undefined;
@@ -64,6 +63,7 @@ declare const useTooltipProps: (tooltip: React.ReactNode | TooltipProps, editCon
64
63
  getTooltipContainer?: ((node: HTMLElement) => HTMLElement) | undefined;
65
64
  showArrow?: (boolean | import("@rc-component/trigger").ArrowType) | undefined;
66
65
  arrowContent?: import("react").ReactNode;
66
+ id?: string | undefined;
67
67
  unique?: boolean | undefined;
68
68
  };
69
69
  export default useTooltipProps;
@@ -1,2 +1,2 @@
1
- declare const version = "1.0.0";
1
+ declare const version = "6.5.1";
2
2
  export default version;
@@ -4,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var version = '1.0.0';
7
+ var version = '6.5.1';
8
8
  var _default = exports.default = version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@996-design/996-components",
3
- "version": "1.0.0",
3
+ "version": "6.5.1",
4
4
  "private": false,
5
5
  "description": "Complete React component behavior runtime for 996 Design",
6
6
  "license": "MIT",
@@ -81,20 +81,7 @@
81
81
  "NOTICE.md",
82
82
  "README.md"
83
83
  ],
84
- "scripts": {
85
- "check": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.demo.json --noEmit",
86
- "check:demos": "tsc -p tsconfig.demo.json --noEmit",
87
- "build": "bun scripts/build-996-components.ts",
88
- "check:standalone": "bun scripts/check-standalone.ts"
89
- },
90
84
  "dependencies": {
91
- "@996-design/996-colors": "^1.0.0",
92
- "@996-design/996-color-picker": "^1.0.0",
93
- "@996-design/996-cssinjs": "^1.0.0",
94
- "@996-design/996-cssinjs-utils": "^1.0.0",
95
- "@996-design/996-fast-color": "^1.0.0",
96
- "@996-design/996-icons": "^1.0.0",
97
- "@996-design/996-slick": "^1.0.0",
98
85
  "@babel/runtime": "^7.29.2",
99
86
  "@rc-component/cascader": "~1.17.0",
100
87
  "@rc-component/checkbox": "~2.0.0",
@@ -134,17 +121,20 @@
134
121
  "clsx": "^2.1.1",
135
122
  "dayjs": "^1.11.11",
136
123
  "scroll-into-view-if-needed": "^3.1.0",
137
- "throttle-debounce": "^5.0.2"
124
+ "throttle-debounce": "^5.0.2",
125
+ "@996-design/996-color-picker": "3.1.1",
126
+ "@996-design/996-cssinjs": "2.1.2",
127
+ "@996-design/996-colors": "8.0.1",
128
+ "@996-design/996-cssinjs-utils": "2.1.2",
129
+ "@996-design/996-fast-color": "3.0.1",
130
+ "@996-design/996-icons": "6.3.2",
131
+ "@996-design/996-slick": "2.0.0"
138
132
  },
139
133
  "peerDependencies": {
140
134
  "react": ">=18.0.0",
141
135
  "react-dom": ">=18.0.0"
142
136
  },
143
137
  "devDependencies": {
144
- "@996-design/996-image-crop": "^1.0.0",
145
- "@996-design/996-theme-runtime": "^1.0.0",
146
- "@996-design/996-happy-work-theme": "^1.0.0",
147
- "@996-design/996-tools": "^1.0.0",
148
138
  "@dnd-kit/core": "^6.3.1",
149
139
  "@dnd-kit/modifiers": "^9.0.0",
150
140
  "@dnd-kit/sortable": "^10.0.0",
@@ -171,7 +161,11 @@
171
161
  "react-sticky-box": "^2.0.5",
172
162
  "react-dom": "^19.0.0",
173
163
  "runes2": "^1.1.4",
174
- "typescript": "^6.0.0"
164
+ "typescript": "^6.0.0",
165
+ "@996-design/996-image-crop": "4.30.0",
166
+ "@996-design/996-theme-runtime": "4.1.0",
167
+ "@996-design/996-tools": "19.2.1",
168
+ "@996-design/996-happy-work-theme": "2.0.1"
175
169
  },
176
170
  "keywords": [
177
171
  "996-design",
@@ -183,9 +177,9 @@
183
177
  "access": "public",
184
178
  "registry": "https://registry.npmjs.org"
185
179
  },
186
- "packageManager": "pnpm@9.15.0",
187
- "repository": {
188
- "type": "git",
189
- "url": "git+ssh://git@gitlab.asdnc.cn/996-design/996-components.git"
180
+ "scripts": {
181
+ "check": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.demo.json --noEmit",
182
+ "check:demos": "tsc -p tsconfig.demo.json --noEmit",
183
+ "build": "bun ../../scripts/build-996-components.ts"
190
184
  }
191
- }
185
+ }