@jiaozhiye/qm-design-react 1.11.9 → 1.11.11

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.
Files changed (39) hide show
  1. package/lib/_utils/motion.d.ts +7 -0
  2. package/lib/collapse/style/index.less +24 -24
  3. package/lib/collapse/style/motion.less +11 -0
  4. package/lib/color-picker/index.d.ts +3 -0
  5. package/lib/color-picker/src/color-picker.d.ts +26 -0
  6. package/lib/color-picker/style/index.less +119 -0
  7. package/lib/guide-tracker/src/guideTracker.d.ts +1 -1
  8. package/lib/index.d.ts +4 -0
  9. package/lib/index.esm.js +1 -1
  10. package/lib/index.full.js +1 -1
  11. package/lib/index.js +1 -1
  12. package/lib/locale/lang/en.d.ts +1 -0
  13. package/lib/locale/lang/en.js +6 -5
  14. package/lib/locale/lang/zh-cn.d.ts +1 -0
  15. package/lib/locale/lang/zh-cn.js +6 -5
  16. package/lib/pivot-grid/src/grid-layout/Context.d.ts +3 -0
  17. package/lib/pivot-grid/src/hooks/use-export.d.ts +11 -0
  18. package/lib/pivot-grid/src/main/Context.d.ts +20 -2
  19. package/lib/pivot-grid/src/main/Main.d.ts +3 -0
  20. package/lib/pivot-grid/src/main/types.d.ts +19 -3
  21. package/lib/pivot-grid/src/top-bar/AlertInfo.d.ts +3 -0
  22. package/lib/pivot-grid/src/top-bar/ConfigInfo.d.ts +3 -0
  23. package/lib/pivot-grid/src/top-bar/FillColor.d.ts +3 -0
  24. package/lib/pivot-grid/src/utils/index.d.ts +3 -6
  25. package/lib/pivot-grid/style/grid-layout.less +2 -2
  26. package/lib/pivot-grid/style/main.less +33 -43
  27. package/lib/pivot-grid/style/top-bar.less +45 -1
  28. package/lib/style/index.css +176 -34
  29. package/lib/style/index.less +44 -43
  30. package/lib/style/index.min.css +1 -1
  31. package/lib/tour/src/Tour.d.ts +1 -1
  32. package/lib/tour/src/TourStep/index.d.ts +1 -1
  33. package/lib/tour/src/util.d.ts +1 -1
  34. package/lib/virtual-list/style/index.less +2 -1
  35. package/package.json +2 -1
  36. package/lib/collapse/src/_util/motion.less +0 -13
  37. package/lib/collapse/src/_util/motionUtil.d.ts +0 -3
  38. /package/lib/{tour/src → _utils}/placements.d.ts +0 -0
  39. /package/lib/pivot-grid/src/top-bar/{exportPanel.d.ts → ExportPanel.d.ts} +0 -0
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { Gap } from './hooks/useTarget';
3
- import type { PlacementType } from './placements';
3
+ import type { PlacementType } from '../../_utils/placements';
4
4
  import type { TourStepInfo, TourStepProps } from './TourStep';
5
5
  import type { TriggerProps } from '@rc-component/trigger';
6
6
  export interface TourProps extends Pick<TriggerProps, 'onPopupAlign' | 'builtinPlacements'> {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { PlacementType } from '../placements';
2
+ import type { PlacementType } from '../../../_utils/placements';
3
3
  export interface TourStepInfo {
4
4
  arrow?: boolean | {
5
5
  pointAtCenter: boolean;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { PlacementType } from './placements';
2
+ import type { PlacementType } from '../../_utils/placements';
3
3
  export declare const isInViewPort: (element: HTMLElement) => boolean;
4
4
  export declare const getPlacement: (targetElement?: HTMLElement | null, placement?: PlacementType, stepPlacement?: PlacementType) => string;
5
5
  export declare const isValidNode: (node: React.ReactNode) => boolean;
@@ -2,7 +2,7 @@
2
2
  * @Author: 焦质晔
3
3
  * @Date: 2024-12-02 09:06:20
4
4
  * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2024-12-02 13:16:55
5
+ * @Last Modified time: 2024-12-26 14:23:49
6
6
  */
7
7
  @import '../../style/common';
8
8
 
@@ -13,6 +13,7 @@
13
13
  .container {
14
14
  display: block;
15
15
  ul {
16
+ will-change: transform;
16
17
  li.list-item {
17
18
  list-style: none;
18
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jiaozhiye/qm-design-react",
3
- "version": "1.11.9",
3
+ "version": "1.11.11",
4
4
  "description": "A Component Library for React",
5
5
  "keywords": [
6
6
  "React",
@@ -50,6 +50,7 @@
50
50
  "react-dom": ">=16.14.0"
51
51
  },
52
52
  "dependencies": {
53
+ "@rc-component/color-picker": "^2.0.1",
53
54
  "@rc-component/portal": "^1.1.2",
54
55
  "@rc-component/trigger": "^2.2.0",
55
56
  "add-dom-event-listener": "^1.1.0",
@@ -1,13 +0,0 @@
1
- /*
2
- * @Author: 焦质晔
3
- * @Date: 2022-06-01 20:17:51
4
- * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2022-06-01 20:17:51
6
- */
7
- @prefixCls: rc-collapse;
8
-
9
- .@{prefixCls} {
10
- &-motion {
11
- transition: height 0.3s, opacity 0.3s;
12
- }
13
- }
@@ -1,3 +0,0 @@
1
- import { CSSMotionProps } from 'rc-motion';
2
- declare const collapseMotion: CSSMotionProps;
3
- export default collapseMotion;
File without changes