@kep-platform/basic-component 0.0.2 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. package/dist/@types/index.d.ts +61 -0
  2. package/dist/@types/styled-components.d.ts +9 -0
  3. package/dist/@types/theme.d.ts +38 -0
  4. package/dist/BoxShadowBox/BoxShadowBox.d.ts +8 -0
  5. package/dist/BoxShadowBox/BoxShadowBox.js +14 -0
  6. package/dist/BoxShadowBox/index.d.ts +1 -0
  7. package/dist/BoxShadowBox/index.js +1 -0
  8. package/dist/Button/Button.d.ts +12 -0
  9. package/dist/Button/Button.js +86 -0
  10. package/dist/Button/index.d.ts +1 -0
  11. package/dist/Button/index.js +1 -0
  12. package/dist/Columns/Columns.d.ts +24 -0
  13. package/dist/Columns/Columns.js +126 -0
  14. package/dist/Columns/index.d.ts +1 -0
  15. package/dist/Columns/index.js +1 -0
  16. package/dist/Flex/flex.d.ts +14 -0
  17. package/dist/Flex/flex.js +29 -0
  18. package/dist/Flex/index.d.ts +1 -0
  19. package/dist/Flex/index.js +1 -0
  20. package/dist/Grid/Col.d.ts +8 -0
  21. package/dist/Grid/Col.js +12 -0
  22. package/dist/Grid/Row.d.ts +6 -0
  23. package/dist/Grid/Row.js +55 -0
  24. package/dist/Grid/index.d.ts +2 -0
  25. package/dist/Grid/index.js +2 -0
  26. package/dist/Indent/Indent.d.ts +7 -0
  27. package/dist/Indent/Indent.js +25 -0
  28. package/dist/Indent/index.d.ts +1 -0
  29. package/dist/Indent/index.js +1 -0
  30. package/dist/List/List.d.ts +19 -0
  31. package/dist/List/List.js +41 -0
  32. package/dist/List/index.d.ts +1 -0
  33. package/dist/List/index.js +1 -0
  34. package/dist/Menu/Menu.d.ts +14 -0
  35. package/dist/Menu/Menu.js +107 -0
  36. package/dist/Menu/index.d.ts +3 -0
  37. package/dist/Menu/index.js +2 -0
  38. package/dist/Pagination/Pagination.d.ts +7 -0
  39. package/dist/Pagination/Pagination.js +44 -0
  40. package/dist/Pagination/index.d.ts +1 -0
  41. package/dist/Pagination/index.js +1 -0
  42. package/dist/PopupBox/PopupBox.d.ts +12 -0
  43. package/dist/PopupBox/PopupBox.js +12 -0
  44. package/dist/PopupBox/index.d.ts +1 -0
  45. package/dist/PopupBox/index.js +1 -0
  46. package/dist/Select/Select.d.ts +13 -0
  47. package/dist/Select/Select.js +121 -0
  48. package/dist/Select/index.d.ts +1 -0
  49. package/dist/Select/index.js +1 -0
  50. package/dist/Space/Space.d.ts +11 -0
  51. package/dist/Space/Space.js +39 -0
  52. package/dist/Space/index.d.ts +1 -0
  53. package/dist/Space/index.js +1 -0
  54. package/dist/Spin/Spin.d.ts +6 -0
  55. package/dist/Spin/Spin.js +16 -0
  56. package/dist/Spin/index.d.ts +1 -0
  57. package/dist/Spin/index.js +1 -0
  58. package/dist/Table/Table.d.ts +17 -0
  59. package/dist/Table/Table.js +243 -0
  60. package/dist/Table/index.d.ts +1 -0
  61. package/dist/Table/index.js +1 -0
  62. package/dist/Tag/Tag.d.ts +7 -0
  63. package/dist/Tag/Tag.js +16 -0
  64. package/dist/Tree/BOMTree.d.ts +3 -0
  65. package/dist/Tree/BOMTree.js +111 -0
  66. package/dist/Tree/MainProperties.d.ts +12 -0
  67. package/dist/Tree/MainProperties.js +23 -0
  68. package/dist/Tree/Tree.d.ts +20 -0
  69. package/dist/Tree/Tree.js +253 -0
  70. package/dist/Tree/TreeNode.d.ts +20 -0
  71. package/dist/Tree/TreeNode.js +147 -0
  72. package/dist/Tree/index.d.ts +3 -0
  73. package/dist/Tree/index.js +3 -0
  74. package/dist/__consts/theme.d.ts +81 -0
  75. package/dist/__consts/theme.js +88 -0
  76. package/dist/__consts/unit.d.ts +1 -0
  77. package/dist/__consts/unit.js +1 -0
  78. package/dist/__styles/GlobalStyles.d.ts +6 -0
  79. package/dist/__styles/GlobalStyles.js +6 -0
  80. package/dist/__styles/index.d.ts +1 -0
  81. package/dist/__styles/index.js +1 -0
  82. package/dist/index.d.ts +14 -1
  83. package/dist/index.js +14 -1
  84. package/package.json +11 -2
  85. package/dist/Foo/index.d.ts +0 -5
  86. package/dist/Foo/index.js +0 -5
package/dist/index.d.ts CHANGED
@@ -1 +1,14 @@
1
- export { default as Foo } from './Foo';
1
+ export * from './Button';
2
+ export * from './Columns';
3
+ export * from './Flex';
4
+ export * from './Grid';
5
+ export * from './Indent';
6
+ export * from './List';
7
+ export * from './Menu';
8
+ export * from './Pagination';
9
+ export * from './Select';
10
+ export * from './Space';
11
+ export * from './Spin';
12
+ export * from './Table';
13
+ export * from './Tree';
14
+ export * from './__styles';
package/dist/index.js CHANGED
@@ -1 +1,14 @@
1
- export { default as Foo } from "./Foo";
1
+ export * from "./Button";
2
+ export * from "./Columns";
3
+ export * from "./Flex";
4
+ export * from "./Grid";
5
+ export * from "./Indent";
6
+ export * from "./List";
7
+ export * from "./Menu";
8
+ export * from "./Pagination";
9
+ export * from "./Select";
10
+ export * from "./Space";
11
+ export * from "./Spin";
12
+ export * from "./Table";
13
+ export * from "./Tree";
14
+ export * from "./__styles";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kep-platform/basic-component",
3
- "version": "0.0.2",
3
+ "version": "0.0.6",
4
4
  "description": "A react library developed with dumi",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -55,8 +55,10 @@
55
55
  "react-dom": ">=16.9.0"
56
56
  },
57
57
  "devDependencies": {
58
+ "@babel/runtime": "^7.24.6",
58
59
  "@commitlint/cli": "^17.1.2",
59
60
  "@commitlint/config-conventional": "^17.1.0",
61
+ "@types/color": "^3.0.6",
60
62
  "@types/react": "^18.0.0",
61
63
  "@types/react-dom": "^18.0.0",
62
64
  "@umijs/lint": "^4.0.0",
@@ -72,5 +74,12 @@
72
74
  "react-dom": "^18.0.0",
73
75
  "stylelint": "^14.9.1"
74
76
  },
75
- "gitHead": "657133d3e2b83d88f06f4b9c6b56cb9209a693ed"
77
+ "gitHead": "7fdc480be2d212aeacbb4d7a623d5ccb716762a4",
78
+ "dependencies": {
79
+ "@ant-design/icons": "^5.3.7",
80
+ "@kep-platform/hooks": "^0.0.6",
81
+ "color": "^4.2.3",
82
+ "rc-pagination": "^4.1.0",
83
+ "styled-components": "^6.1.11"
84
+ }
76
85
  }
@@ -1,5 +0,0 @@
1
- import { type FC } from 'react';
2
- declare const Foo: FC<{
3
- title: string;
4
- }>;
5
- export default Foo;
package/dist/Foo/index.js DELETED
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- var Foo = function Foo(props) {
3
- return /*#__PURE__*/React.createElement("h4", null, props.title);
4
- };
5
- export default Foo;