@dckj-npm/dc-material 0.1.7 → 0.1.9

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 (175) hide show
  1. package/README.md +17 -17
  2. package/lowcode/d-c-slider/meta.ts +331 -331
  3. package/lowcode/grid-nav/meta.ts +160 -0
  4. package/lowcode/menu-list/meta.ts +147 -0
  5. package/lowcode/navigation/meta.ts +152 -151
  6. package/lowcode/position/meta.ts +211 -0
  7. package/lowcode/search-bar/meta.ts +54 -0
  8. package/lowcode/tag-c/meta.ts +75 -0
  9. package/lowcode/teletext-list/meta.ts +44 -2
  10. package/lowcode/title1/meta.ts +1 -1
  11. package/lowcode/title2/meta.ts +1 -1
  12. package/package.json +110 -110
  13. package/build/docs/colorful-button.html +0 -48
  14. package/build/docs/colorful-input.html +0 -48
  15. package/build/docs/index.html +0 -48
  16. package/build/docs/umi.7f7df875.css +0 -8
  17. package/build/docs/umi.7face50a.js +0 -1
  18. package/build/docs/~demos/colorful-button-demo.html +0 -47
  19. package/build/docs/~demos/colorful-input-demo.html +0 -47
  20. package/build/index.css +0 -2
  21. package/build/index.html +0 -1
  22. package/build/index.js +0 -60
  23. package/build/lowcode/assets-daily.json +0 -67
  24. package/build/lowcode/assets-dev.json +0 -67
  25. package/build/lowcode/assets-prod.json +0 -67
  26. package/build/lowcode/designer.html +0 -302
  27. package/build/lowcode/index.html +0 -304
  28. package/build/lowcode/index.js +0 -1
  29. package/build/lowcode/meta.js +0 -1
  30. package/build/lowcode/preview.css +0 -1
  31. package/build/lowcode/preview.html +0 -33
  32. package/build/lowcode/preview.js +0 -308
  33. package/build/lowcode/render/default/view.css +0 -1
  34. package/build/lowcode/render/default/view.js +0 -295
  35. package/build/lowcode/view.css +0 -1
  36. package/build/lowcode/view.js +0 -295
  37. package/dist/BizComps.css +0 -1
  38. package/dist/BizComps.js +0 -7
  39. package/dist/BizComps.js.map +0 -1
  40. package/es/assets/icon/navigation/index-selected.png +0 -0
  41. package/es/assets/icon/navigation/index.png +0 -0
  42. package/es/assets/icon/navigation/message-selected.png +0 -0
  43. package/es/assets/icon/navigation/message.png +0 -0
  44. package/es/assets/icon/navigation/mine-selected.png +0 -0
  45. package/es/assets/icon/navigation/mine.png +0 -0
  46. package/es/components/bottom-navigation/bottom-navigation.d.ts +0 -13
  47. package/es/components/bottom-navigation/bottom-navigation.js +0 -39
  48. package/es/components/bottom-navigation/index.d.ts +0 -3
  49. package/es/components/bottom-navigation/index.js +0 -2
  50. package/es/components/bottom-navigation/index.scss +0 -16
  51. package/es/components/colorful-button/colorful-button.d.ts +0 -12
  52. package/es/components/colorful-button/colorful-button.js +0 -25
  53. package/es/components/colorful-button/index.d.ts +0 -3
  54. package/es/components/colorful-button/index.js +0 -2
  55. package/es/components/colorful-button/index.scss +0 -5
  56. package/es/components/colorful-input/colorful-input.d.ts +0 -8
  57. package/es/components/colorful-input/colorful-input.js +0 -19
  58. package/es/components/colorful-input/index.d.ts +0 -3
  59. package/es/components/colorful-input/index.js +0 -2
  60. package/es/components/colorful-input/index.scss +0 -5
  61. package/es/components/dc-slider/index.d.ts +0 -3
  62. package/es/components/dc-slider/index.js +0 -2
  63. package/es/components/dc-slider/index.scss +0 -8
  64. package/es/components/dc-slider/slider.d.ts +0 -32
  65. package/es/components/dc-slider/slider.js +0 -14
  66. package/es/components/position/index.d.ts +0 -3
  67. package/es/components/position/index.js +0 -2
  68. package/es/components/position/index.scss +0 -16
  69. package/es/components/position/position.d.ts +0 -13
  70. package/es/components/position/position.js +0 -39
  71. package/es/components/teletext-list/index.d.ts +0 -6
  72. package/es/components/teletext-list/index.js +0 -6
  73. package/es/components/teletext-list/index.scss +0 -16
  74. package/es/components/teletext-list/teletext-list-item.d.ts +0 -42
  75. package/es/components/teletext-list/teletext-list-item.js +0 -50
  76. package/es/components/teletext-list/teletext-list-item.scss +0 -74
  77. package/es/components/teletext-list/teletext-list.d.ts +0 -53
  78. package/es/components/teletext-list/teletext-list.js +0 -73
  79. package/es/components/title/index.d.ts +0 -8
  80. package/es/components/title/index.js +0 -7
  81. package/es/components/title/title-1.d.ts +0 -10
  82. package/es/components/title/title-1.js +0 -16
  83. package/es/components/title/title-1.scss +0 -26
  84. package/es/components/title/title-2.d.ts +0 -18
  85. package/es/components/title/title-2.js +0 -31
  86. package/es/components/title/title-2.scss +0 -22
  87. package/es/index.d.ts +0 -12
  88. package/es/index.js +0 -7
  89. package/es/index.scss +0 -3
  90. package/es/style.js +0 -3
  91. package/es/variables.d.ts +0 -2
  92. package/es/variables.js +0 -2
  93. package/es/variables.scss +0 -3
  94. package/lib/assets/icon/navigation/index-selected.png +0 -0
  95. package/lib/assets/icon/navigation/index.png +0 -0
  96. package/lib/assets/icon/navigation/message-selected.png +0 -0
  97. package/lib/assets/icon/navigation/message.png +0 -0
  98. package/lib/assets/icon/navigation/mine-selected.png +0 -0
  99. package/lib/assets/icon/navigation/mine.png +0 -0
  100. package/lib/components/bottom-navigation/bottom-navigation.d.ts +0 -13
  101. package/lib/components/bottom-navigation/bottom-navigation.js +0 -46
  102. package/lib/components/bottom-navigation/index.d.ts +0 -3
  103. package/lib/components/bottom-navigation/index.js +0 -7
  104. package/lib/components/bottom-navigation/index.scss +0 -16
  105. package/lib/components/colorful-button/colorful-button.d.ts +0 -12
  106. package/lib/components/colorful-button/colorful-button.js +0 -32
  107. package/lib/components/colorful-button/index.d.ts +0 -3
  108. package/lib/components/colorful-button/index.js +0 -7
  109. package/lib/components/colorful-button/index.scss +0 -5
  110. package/lib/components/colorful-input/colorful-input.d.ts +0 -8
  111. package/lib/components/colorful-input/colorful-input.js +0 -26
  112. package/lib/components/colorful-input/index.d.ts +0 -3
  113. package/lib/components/colorful-input/index.js +0 -7
  114. package/lib/components/colorful-input/index.scss +0 -5
  115. package/lib/components/dc-slider/index.d.ts +0 -3
  116. package/lib/components/dc-slider/index.js +0 -7
  117. package/lib/components/dc-slider/index.scss +0 -8
  118. package/lib/components/dc-slider/slider.d.ts +0 -32
  119. package/lib/components/dc-slider/slider.js +0 -21
  120. package/lib/components/position/index.d.ts +0 -3
  121. package/lib/components/position/index.js +0 -7
  122. package/lib/components/position/index.scss +0 -16
  123. package/lib/components/position/position.d.ts +0 -13
  124. package/lib/components/position/position.js +0 -46
  125. package/lib/components/teletext-list/index.d.ts +0 -6
  126. package/lib/components/teletext-list/index.js +0 -10
  127. package/lib/components/teletext-list/index.scss +0 -16
  128. package/lib/components/teletext-list/teletext-list-item.d.ts +0 -42
  129. package/lib/components/teletext-list/teletext-list-item.js +0 -54
  130. package/lib/components/teletext-list/teletext-list-item.scss +0 -74
  131. package/lib/components/teletext-list/teletext-list.d.ts +0 -53
  132. package/lib/components/teletext-list/teletext-list.js +0 -77
  133. package/lib/components/title/index.d.ts +0 -8
  134. package/lib/components/title/index.js +0 -8
  135. package/lib/components/title/title-1.d.ts +0 -10
  136. package/lib/components/title/title-1.js +0 -21
  137. package/lib/components/title/title-1.scss +0 -26
  138. package/lib/components/title/title-2.d.ts +0 -18
  139. package/lib/components/title/title-2.js +0 -36
  140. package/lib/components/title/title-2.scss +0 -22
  141. package/lib/index.d.ts +0 -12
  142. package/lib/index.js +0 -15
  143. package/lib/index.scss +0 -3
  144. package/lib/style.js +0 -3
  145. package/lib/variables.d.ts +0 -2
  146. package/lib/variables.js +0 -5
  147. package/lib/variables.scss +0 -3
  148. package/lowcode_es/d-c-slider/meta.d.ts +0 -140
  149. package/lowcode_es/d-c-slider/meta.js +0 -298
  150. package/lowcode_es/d-c-slider/snippets.d.ts +0 -36
  151. package/lowcode_es/d-c-slider/snippets.js +0 -36
  152. package/lowcode_es/meta.js +0 -168
  153. package/lowcode_es/navigation/meta.d.ts +0 -22
  154. package/lowcode_es/navigation/meta.js +0 -135
  155. package/lowcode_es/teletext-list/meta.d.ts +0 -22
  156. package/lowcode_es/teletext-list/meta.js +0 -259
  157. package/lowcode_es/title1/meta.d.ts +0 -22
  158. package/lowcode_es/title1/meta.js +0 -51
  159. package/lowcode_es/title2/meta.d.ts +0 -22
  160. package/lowcode_es/title2/meta.js +0 -83
  161. package/lowcode_es/view.js +0 -18
  162. package/lowcode_lib/d-c-slider/meta.d.ts +0 -140
  163. package/lowcode_lib/d-c-slider/meta.js +0 -303
  164. package/lowcode_lib/d-c-slider/snippets.d.ts +0 -36
  165. package/lowcode_lib/d-c-slider/snippets.js +0 -40
  166. package/lowcode_lib/meta.js +0 -172
  167. package/lowcode_lib/navigation/meta.d.ts +0 -22
  168. package/lowcode_lib/navigation/meta.js +0 -140
  169. package/lowcode_lib/teletext-list/meta.d.ts +0 -22
  170. package/lowcode_lib/teletext-list/meta.js +0 -264
  171. package/lowcode_lib/title1/meta.d.ts +0 -22
  172. package/lowcode_lib/title1/meta.js +0 -56
  173. package/lowcode_lib/title2/meta.d.ts +0 -22
  174. package/lowcode_lib/title2/meta.js +0 -88
  175. package/lowcode_lib/view.js +0 -29
@@ -1,73 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
3
- var _excluded = ["title", "dataList", "onClick"];
4
- import React from 'react';
5
- import "./index.scss";
6
- import { Title1 } from "../title";
7
- import { default as TeletextListItem } from "./teletext-list-item";
8
-
9
- /**
10
- * 数据
11
- */
12
-
13
- var DEFAULT_DATA_1 = {
14
- image: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
15
- imagePlacement: 'left',
16
- title: '标题名称',
17
- description: '说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字',
18
- tags: [{
19
- name: '报名火热',
20
- color: 'orange'
21
- }, {
22
- name: '人数众多',
23
- color: 'blue'
24
- }]
25
- };
26
- var DEFAULT_DATA_2 = {
27
- image: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
28
- imagePlacement: 'right',
29
- title: '标题名称',
30
- description: '说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字',
31
- tags: [{
32
- name: '报名火热',
33
- color: 'orange'
34
- }, {
35
- name: '人数众多',
36
- color: 'blue'
37
- }]
38
- };
39
- var DEFAULT_DATA_3 = {
40
- title: '标题名称',
41
- description: '说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字',
42
- tags: [{
43
- name: '报名火热',
44
- color: 'orange'
45
- }, {
46
- name: '人数众多',
47
- color: 'blue'
48
- }]
49
- };
50
- var TeletextList = function TeletextList(_ref) {
51
- var _ref$title = _ref.title,
52
- title = _ref$title === void 0 ? '标题标题' : _ref$title,
53
- _ref$dataList = _ref.dataList,
54
- dataList = _ref$dataList === void 0 ? [DEFAULT_DATA_1, DEFAULT_DATA_2, DEFAULT_DATA_3] : _ref$dataList,
55
- _ref$onClick = _ref.onClick,
56
- onClick = _ref$onClick === void 0 ? function () {} : _ref$onClick,
57
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded);
58
- var _otherProps = otherProps || {};
59
- return /*#__PURE__*/React.createElement("div", _extends({
60
- className: "teletext-list__panel"
61
- }, _otherProps), /*#__PURE__*/React.createElement(Title1, {
62
- title: title
63
- }), /*#__PURE__*/React.createElement("div", {
64
- className: "teletext-list__panel__item-list"
65
- }, dataList.map(function (item, index) {
66
- return /*#__PURE__*/React.createElement(TeletextListItem, _extends({
67
- key: index,
68
- onClick: onClick
69
- }, item));
70
- })));
71
- };
72
- TeletextList.displayName = 'TeletextList';
73
- export default TeletextList;
@@ -1,8 +0,0 @@
1
- /**
2
- * 标题
3
- */
4
- import Title1 from './title-1';
5
- import Title2 from './title-2';
6
- export type { Title1Props } from './title-1';
7
- export type { Title2Props } from './title-2';
8
- export { Title1, Title2 };
@@ -1,7 +0,0 @@
1
- /**
2
- * 标题
3
- */
4
-
5
- import Title1 from "./title-1";
6
- import Title2 from "./title-2";
7
- export { Title1, Title2 };
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import './title-1.scss';
3
- export interface Title1Props {
4
- /**
5
- * 标题
6
- */
7
- title?: string;
8
- }
9
- declare const Title1: React.FC<Title1Props>;
10
- export default Title1;
@@ -1,16 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
3
- var _excluded = ["title"];
4
- import React from 'react';
5
- import "./title-1.scss";
6
- var Title1 = function Title1(_ref) {
7
- var _ref$title = _ref.title,
8
- title = _ref$title === void 0 ? '标题标题' : _ref$title,
9
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded);
10
- var _otherProps = otherProps || {};
11
- return /*#__PURE__*/React.createElement("div", _extends({
12
- className: "custom-title-1"
13
- }, _otherProps), /*#__PURE__*/React.createElement("span", null, title));
14
- };
15
- Title1.displayName = 'Title1';
16
- export default Title1;
@@ -1,26 +0,0 @@
1
- @import '../../variables.scss';
2
-
3
- .custom-title-1 {
4
-
5
- & > span {
6
- position: relative;
7
- font-size: 17px;
8
- font-weight: 500;
9
- color: #000000;
10
- z-index: 1;
11
-
12
- &::after {
13
- content: '';
14
- position: absolute;
15
- bottom: -2px;
16
- left: 0;
17
- width: 100%;
18
- height: 5px;
19
- background: linear-gradient(-30deg, #95CDFE, #61A0FE);
20
- border-radius: 5px;
21
- opacity: 0.6;
22
- z-index: 0;
23
- }
24
- }
25
-
26
- }
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import './title-2.scss';
3
- export interface Title2Props {
4
- /**
5
- * 标题
6
- */
7
- title?: string;
8
- /**
9
- * 颜色
10
- */
11
- color?: string;
12
- /**
13
- * tip颜色
14
- */
15
- tipColor?: string;
16
- }
17
- declare const Title2: React.FC<Title2Props>;
18
- export default Title2;
@@ -1,31 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
3
- var _excluded = ["title", "color", "tipColor"];
4
- import React from 'react';
5
- import "./title-2.scss";
6
- var Title2 = function Title2(_ref) {
7
- var _ref$title = _ref.title,
8
- title = _ref$title === void 0 ? '标题标题' : _ref$title,
9
- _ref$color = _ref.color,
10
- color = _ref$color === void 0 ? '#144477' : _ref$color,
11
- _ref$tipColor = _ref.tipColor,
12
- tipColor = _ref$tipColor === void 0 ? '#388AF7' : _ref$tipColor,
13
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded);
14
- var _otherProps = otherProps || {};
15
- var colorStyle = color ? {
16
- color: color
17
- } : {};
18
- var tipColorStyle = tipColor ? {
19
- 'backgroundColor': tipColor
20
- } : {};
21
- return /*#__PURE__*/React.createElement("div", _extends({
22
- className: "custom-title-2"
23
- }, _otherProps), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
24
- className: "tips",
25
- style: tipColorStyle
26
- }), /*#__PURE__*/React.createElement("span", {
27
- style: colorStyle
28
- }, title)));
29
- };
30
- Title2.displayName = 'Title2';
31
- export default Title2;
@@ -1,22 +0,0 @@
1
- @import '../../variables.scss';
2
-
3
- .custom-title-2 {
4
-
5
- & > div {
6
- font-size: 16px;
7
- font-weight: 500;
8
- color: #144477;
9
- display: flex;
10
- gap: 3.5px;
11
- align-items: center;
12
-
13
- & > div.tips {
14
- content: '';
15
- display: inline-block;
16
- width: 3.5px;
17
- height: 14.5px;
18
- background-color: #388AF7;
19
- }
20
- }
21
-
22
- }
package/es/index.d.ts DELETED
@@ -1,12 +0,0 @@
1
- export type { ComponentProps } from './components/dc-slider';
2
- export { default as DCSlider } from './components/dc-slider';
3
- export type { NavigationProps } from './components/bottom-navigation';
4
- export { default as Navigation } from './components/bottom-navigation';
5
- export type { TeletextListProps } from './components/teletext-list';
6
- export { default as TeletextList } from './components/teletext-list';
7
- export type { Title1Props } from './components/title';
8
- export { Title1 } from './components/title';
9
- export type { Title2Props } from './components/title';
10
- export { Title2 } from './components/title';
11
- declare const bizCssPrefix = "bizpack";
12
- export { bizCssPrefix };
package/es/index.js DELETED
@@ -1,7 +0,0 @@
1
- export { default as DCSlider } from "./components/dc-slider";
2
- export { default as Navigation } from "./components/bottom-navigation";
3
- export { default as TeletextList } from "./components/teletext-list";
4
- export { Title1 } from "./components/title";
5
- export { Title2 } from "./components/title";
6
- var bizCssPrefix = 'bizpack';
7
- export { bizCssPrefix };
package/es/index.scss DELETED
@@ -1,3 +0,0 @@
1
- @import './components/colorful-button/index.scss';
2
- @import './components/colorful-input/index.scss';
3
- @import './components/teletext-list/index.scss';
package/es/style.js DELETED
@@ -1,3 +0,0 @@
1
- import '@alifd/next/es/slider/style';
2
- import '@alilc/lowcode-materials/lib/style.js';
3
- import './index.scss';
package/es/variables.d.ts DELETED
@@ -1,2 +0,0 @@
1
- declare const bizCssPrefix = "bizpack";
2
- export { bizCssPrefix };
package/es/variables.js DELETED
@@ -1,2 +0,0 @@
1
- var bizCssPrefix = 'bizpack';
2
- export { bizCssPrefix };
package/es/variables.scss DELETED
@@ -1,3 +0,0 @@
1
- @import '~@alifd/next/variables.scss';
2
-
3
- $biz-css-prefix: '.bizpack';
Binary file
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
- import './index.scss';
3
- interface Navigation {
4
- text: string;
5
- icon: string;
6
- selectedIcon: string;
7
- }
8
- export interface NavigationProps {
9
- itemArray: Navigation[];
10
- selectedColor: string;
11
- }
12
- declare const Navigation: React.FC<NavigationProps>;
13
- export default Navigation;
@@ -1,46 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- exports.__esModule = true;
5
- exports["default"] = void 0;
6
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
7
- var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
8
- var React = _interopRequireWildcard(require("react"));
9
- var _lowcodeMaterials = require("@alilc/lowcode-materials");
10
- require("./index.scss");
11
- var _excluded = ["itemArray", "selectedColor"];
12
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
13
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
14
- var Navigation = function bottomNavigation(_ref) {
15
- var itemArray = _ref.itemArray,
16
- selectedColor = _ref.selectedColor,
17
- otherProps = (0, _objectWithoutPropertiesLoose2["default"])(_ref, _excluded);
18
- var _React$useState = React.useState(0),
19
- activeNum = _React$useState[0],
20
- setActiveNum = _React$useState[1];
21
- var clickHandle = function clickHandle(index) {
22
- // 更新激活tab
23
- setActiveNum(index);
24
- };
25
- return /*#__PURE__*/React.createElement("div", (0, _extends2["default"])({
26
- className: "navigation"
27
- }, otherProps), itemArray.map(function (item, index) {
28
- var _item$selectedIcon;
29
- return /*#__PURE__*/React.createElement("div", {
30
- className: "navigation-item",
31
- onClick: function onClick() {
32
- return clickHandle(index);
33
- },
34
- style: {
35
- color: activeNum === index ? selectedColor !== null && selectedColor !== void 0 ? selectedColor : '#4598FF' : ''
36
- }
37
- }, /*#__PURE__*/React.createElement(_lowcodeMaterials.Image, {
38
- src: activeNum === index ? (_item$selectedIcon = item.selectedIcon) !== null && _item$selectedIcon !== void 0 ? _item$selectedIcon : item.icon : item.icon,
39
- style: {
40
- width: '24.5px',
41
- height: '24.5px'
42
- }
43
- }), /*#__PURE__*/React.createElement("span", null, item.text));
44
- }));
45
- };
46
- var _default = exports["default"] = Navigation;
@@ -1,3 +0,0 @@
1
- import Navigation from './bottom-navigation';
2
- export type { NavigationProps } from './bottom-navigation';
3
- export default Navigation;
@@ -1,7 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- exports.__esModule = true;
5
- exports["default"] = void 0;
6
- var _bottomNavigation = _interopRequireDefault(require("./bottom-navigation"));
7
- var _default = exports["default"] = _bottomNavigation["default"];
@@ -1,16 +0,0 @@
1
- .navigation {
2
- width: 100%;
3
- display: flex;
4
- justify-content: space-between;
5
- align-items: center;
6
- padding: 9px 50px 6px 50px;
7
- position: fixed;
8
- bottom: 0;
9
- &-item {
10
- display: flex;
11
- flex-direction: column;
12
- justify-content: center;
13
- align-items: center;
14
- cursor: pointer;
15
- }
16
- }
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- import './index.scss';
3
- export interface ColorfulButtonProps {
4
- /**
5
- * 类型
6
- */
7
- type?: "primary" | "secondary" | "normal";
8
- color?: string;
9
- style?: object;
10
- }
11
- declare const ColorfulButton: React.FC<ColorfulButtonProps>;
12
- export default ColorfulButton;
@@ -1,32 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- exports.__esModule = true;
5
- exports["default"] = void 0;
6
- var _button = _interopRequireDefault(require("@alifd/next/lib/button"));
7
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
8
- var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
9
- var React = _interopRequireWildcard(require("react"));
10
- require("./index.scss");
11
- var _excluded = ["type", "color", "style"];
12
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
13
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
14
- var ColorfulButton = function ColorfulButton(_ref) {
15
- var _ref$type = _ref.type,
16
- type = _ref$type === void 0 ? 'primary' : _ref$type,
17
- color = _ref.color,
18
- _ref$style = _ref.style,
19
- style = _ref$style === void 0 ? {} : _ref$style,
20
- otherProps = (0, _objectWithoutPropertiesLoose2["default"])(_ref, _excluded);
21
- var _style = style || {};
22
- if (color) {
23
- _style.backgroundColor = color;
24
- }
25
- var _otherProps = otherProps || {};
26
- _otherProps.style = _style;
27
- return /*#__PURE__*/React.createElement(_button["default"], (0, _extends2["default"])({
28
- type: type
29
- }, _otherProps), "fusion button");
30
- };
31
- ColorfulButton.displayName = 'ColorfulButton';
32
- var _default = exports["default"] = ColorfulButton;
@@ -1,3 +0,0 @@
1
- import ColorfulButton from './colorful-button';
2
- export type { ColorfulButtonProps } from './colorful-button';
3
- export default ColorfulButton;
@@ -1,7 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- exports.__esModule = true;
5
- exports["default"] = void 0;
6
- var _colorfulButton = _interopRequireDefault(require("./colorful-button"));
7
- var _default = exports["default"] = _colorfulButton["default"];
@@ -1,5 +0,0 @@
1
- @import '../../variables.scss';
2
-
3
- #{$biz-css-prefix}-colorful-button {
4
- border: 2px dashed blue;
5
- }
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- import './index.scss';
3
- export interface ColorfulInputProps {
4
- color?: string;
5
- style?: object;
6
- }
7
- declare const ColorfulInput: React.FC<ColorfulInputProps>;
8
- export default ColorfulInput;
@@ -1,26 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- exports.__esModule = true;
5
- exports["default"] = void 0;
6
- var _input = _interopRequireDefault(require("@alifd/next/lib/input"));
7
- var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
8
- var React = _interopRequireWildcard(require("react"));
9
- require("./index.scss");
10
- var _excluded = ["color", "style"];
11
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
12
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
13
- var ColorfulInput = function ColorfulInput(_ref) {
14
- var color = _ref.color,
15
- _ref$style = _ref.style,
16
- style = _ref$style === void 0 ? {} : _ref$style,
17
- otherProps = (0, _objectWithoutPropertiesLoose2["default"])(_ref, _excluded);
18
- var _style = style || {};
19
- if (color) {
20
- _style.backgroundColor = color;
21
- }
22
- var _otherProps = otherProps || {};
23
- _otherProps.style = _style;
24
- return /*#__PURE__*/React.createElement(_input["default"], _otherProps);
25
- };
26
- var _default = exports["default"] = ColorfulInput;
@@ -1,3 +0,0 @@
1
- import ColorfulInput from './colorful-input';
2
- export type { ColorfulInputProps } from './colorful-input';
3
- export default ColorfulInput;
@@ -1,7 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- exports.__esModule = true;
5
- exports["default"] = void 0;
6
- var _colorfulInput = _interopRequireDefault(require("./colorful-input"));
7
- var _default = exports["default"] = _colorfulInput["default"];
@@ -1,5 +0,0 @@
1
- @import '../../variables.scss';
2
-
3
- #{$biz-css-prefix}-colorful-button {
4
- border: 2px dashed blue;
5
- }
@@ -1,3 +0,0 @@
1
- import DCSlider from './slider';
2
- export type { ComponentProps } from './slider';
3
- export default DCSlider;
@@ -1,7 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- exports.__esModule = true;
5
- exports["default"] = void 0;
6
- var _slider = _interopRequireDefault(require("./slider"));
7
- var _default = exports["default"] = _slider["default"];
@@ -1,8 +0,0 @@
1
- /* write style here */
2
- .ExampleComponent {
3
-
4
- }
5
- .img{
6
- width: 100%;
7
- height: 100%;
8
- }
@@ -1,32 +0,0 @@
1
- import * as React from 'react';
2
- import './index.scss';
3
- export interface ComponentProps {
4
- prefix: string;
5
- animation: string;
6
- arrows: true;
7
- arrowSize: string;
8
- arrowPosition: string;
9
- arrowDirection: string;
10
- autoplaySpeed: number;
11
- dots: boolean;
12
- dotsDirection: string;
13
- draggable: boolean;
14
- infinite: boolean;
15
- slide: string;
16
- slideDirection: string;
17
- slidesToShow: number;
18
- slidesToScroll: number;
19
- speed: number;
20
- triggerType: string;
21
- centerPadding: string;
22
- cssEase: string;
23
- edgeFriction: number;
24
- swipe: boolean;
25
- touchMove: boolean;
26
- touchThreshold: number;
27
- useCSS: boolean;
28
- waitForAnimate: boolean;
29
- picUrls: string[];
30
- }
31
- declare const DCSlider: React.FC<ComponentProps>;
32
- export default DCSlider;
@@ -1,21 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- exports.__esModule = true;
5
- exports["default"] = void 0;
6
- var _slider = _interopRequireDefault(require("@alifd/next/lib/slider"));
7
- var React = _interopRequireWildcard(require("react"));
8
- var _lowcodeMaterials = require("@alilc/lowcode-materials");
9
- require("./index.scss");
10
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
11
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
12
- var DCSlider = function DCSlider(props) {
13
- return /*#__PURE__*/React.createElement("div", props, /*#__PURE__*/React.createElement(_slider["default"], props, props.picUrls && props.picUrls.length > 0 ? props.picUrls.map(function (url, index) {
14
- return /*#__PURE__*/React.createElement(_lowcodeMaterials.Image, {
15
- src: url,
16
- alt: "Slide",
17
- key: index
18
- });
19
- }) : /*#__PURE__*/React.createElement("div", null, "\u56FE\u7247\u4E3A\u7A7A")));
20
- };
21
- var _default = exports["default"] = DCSlider;
@@ -1,3 +0,0 @@
1
- import Position from './position';
2
- export type { NavigationProps } from './position';
3
- export default Position;
@@ -1,7 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- exports.__esModule = true;
5
- exports["default"] = void 0;
6
- var _position = _interopRequireDefault(require("./position"));
7
- var _default = exports["default"] = _position["default"];
@@ -1,16 +0,0 @@
1
- .navigation {
2
- width: 100%;
3
- display: flex;
4
- justify-content: space-between;
5
- align-items: center;
6
- padding: 9px 50px 6px 50px;
7
- position: fixed;
8
- bottom: 0;
9
- &-item {
10
- display: flex;
11
- flex-direction: column;
12
- justify-content: center;
13
- align-items: center;
14
- cursor: pointer;
15
- }
16
- }
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
- import './index.scss';
3
- interface Navigation {
4
- text: string;
5
- icon: string;
6
- selectedIcon: string;
7
- }
8
- export interface NavigationProps {
9
- itemArray: Navigation[];
10
- selectedColor: string;
11
- }
12
- declare const Navigation: React.FC<NavigationProps>;
13
- export default Navigation;