@aozi6666/bee-design 0.1.2 → 0.2.2
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/dist/App.d.ts +4 -0
- package/{build → dist}/components/AutoComplete/autoCompleteDropdown.d.ts +2 -2
- package/dist/components/AutoComplete/index.d.ts +4 -0
- package/{build → dist}/components/Button/button.d.ts +2 -2
- package/{build → dist}/components/Button/button.types.d.ts +1 -1
- package/dist/components/Button/index.d.ts +2 -0
- package/{build → dist}/components/Icon/icon.d.ts +2 -2
- package/dist/components/Icon/icon.types.d.ts +6 -0
- package/dist/components/Icon/index.d.ts +2 -0
- package/dist/components/Input/index.d.ts +4 -0
- package/dist/components/Input/input.d.ts +5 -0
- package/{build → dist}/components/Input/input.types.d.ts +4 -4
- package/{build → dist}/components/Menu/index.d.ts +4 -4
- package/{build → dist}/components/Menu/menu.d.ts +2 -2
- package/{build → dist}/components/Menu/menuContext.d.ts +1 -1
- package/{build → dist}/components/Menu/menuItem.d.ts +2 -2
- package/{build → dist}/components/Menu/subMenu.d.ts +1 -1
- package/dist/components/Progress/index.d.ts +2 -0
- package/dist/components/Progress/progress.d.ts +4 -0
- package/{build → dist}/components/Progress/progress.types.d.ts +2 -2
- package/dist/components/Transition/index.d.ts +3 -0
- package/dist/components/Transition/transition.d.ts +4 -0
- package/dist/components/Transition/transition.types.d.ts +9 -0
- package/{build → dist}/components/Upload/dragger.d.ts +1 -1
- package/dist/components/Upload/index.d.ts +2 -0
- package/{build → dist}/components/Upload/upload.d.ts +2 -2
- package/{build → dist}/components/Upload/upload.types.d.ts +1 -1
- package/{build → dist}/components/Upload/uploadList.d.ts +2 -2
- package/dist/index.cjs +16272 -0
- package/dist/index.cjs.map +1 -0
- package/{build → dist}/index.css +24 -24
- package/dist/index.d.ts +9 -0
- package/dist/index.esm.js +709 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.umd.js +14381 -0
- package/dist/index.umd.js.map +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/setupIcons.d.ts +1 -0
- package/dist/setupTests.d.ts +1 -0
- package/package.json +52 -82
- package/README.md +0 -182
- package/build/App.d.ts +0 -4
- package/build/App.js +0 -137
- package/build/components/AutoComplete/autoComplete.js +0 -150
- package/build/components/AutoComplete/autoComplete.types.js +0 -1
- package/build/components/AutoComplete/autoCompleteDropdown.js +0 -17
- package/build/components/AutoComplete/index.d.ts +0 -4
- package/build/components/AutoComplete/index.js +0 -3
- package/build/components/Button/button.js +0 -43
- package/build/components/Button/button.types.js +0 -19
- package/build/components/Button/index.d.ts +0 -2
- package/build/components/Button/index.js +0 -2
- package/build/components/Icon/icon.js +0 -24
- package/build/components/Icon/icon.types.d.ts +0 -6
- package/build/components/Icon/icon.types.js +0 -2
- package/build/components/Icon/index.d.ts +0 -2
- package/build/components/Icon/index.js +0 -2
- package/build/components/Input/index.d.ts +0 -4
- package/build/components/Input/index.js +0 -3
- package/build/components/Input/input.d.ts +0 -5
- package/build/components/Input/input.js +0 -32
- package/build/components/Input/input.types.js +0 -1
- package/build/components/Menu/index.js +0 -9
- package/build/components/Menu/menu.js +0 -48
- package/build/components/Menu/menuContext.js +0 -2
- package/build/components/Menu/menuItem.js +0 -20
- package/build/components/Menu/subMenu.js +0 -57
- package/build/components/Progress/index.d.ts +0 -2
- package/build/components/Progress/index.js +0 -2
- package/build/components/Progress/progress.d.ts +0 -4
- package/build/components/Progress/progress.js +0 -6
- package/build/components/Progress/progress.types.js +0 -2
- package/build/components/Transition/index.d.ts +0 -3
- package/build/components/Transition/index.js +0 -2
- package/build/components/Transition/transition.d.ts +0 -4
- package/build/components/Transition/transition.js +0 -10
- package/build/components/Transition/transition.types.d.ts +0 -9
- package/build/components/Transition/transition.types.js +0 -1
- package/build/components/Upload/dragger.js +0 -42
- package/build/components/Upload/index.d.ts +0 -2
- package/build/components/Upload/index.js +0 -2
- package/build/components/Upload/native/axios-react.js +0 -99
- package/build/components/Upload/native/from-html.js +0 -5
- package/build/components/Upload/upload.js +0 -192
- package/build/components/Upload/upload.types.js +0 -3
- package/build/components/Upload/uploadList.js +0 -13
- package/build/hooks/useClickOutside.js +0 -38
- package/build/hooks/useDebounce.js +0 -28
- package/build/index.css.map +0 -1
- package/build/index.d.ts +0 -9
- package/build/index.js +0 -12
- package/build/main.d.ts +0 -1
- package/build/main.js +0 -7
- package/build/setupTests.d.ts +0 -1
- package/build/setupTests.js +0 -1
- /package/{build → dist}/components/AutoComplete/autoComplete.d.ts +0 -0
- /package/{build → dist}/components/AutoComplete/autoComplete.types.d.ts +0 -0
- /package/{build → dist}/components/Upload/native/axios-react.d.ts +0 -0
- /package/{build → dist}/components/Upload/native/from-html.d.ts +0 -0
- /package/{build → dist}/hooks/useClickOutside.d.ts +0 -0
- /package/{build → dist}/hooks/useDebounce.d.ts +0 -0
package/{build → dist}/index.css
RENAMED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
|
+
/* stylelint-disable */
|
|
2
3
|
/* Bootstrap风格:颜色名 + 数字等级 */
|
|
3
4
|
/* 全局基础 token */
|
|
4
5
|
/* 组件级 token */
|
|
6
|
+
/* stylelint-enable */
|
|
5
7
|
/* @mixin: “一段可复用的样式模板”
|
|
6
8
|
重复样式规则先封装起来,后面哪里要用,就 @include 一下(传入对应的props就行)
|
|
7
9
|
*/
|
|
@@ -36,7 +38,7 @@ body {
|
|
|
36
38
|
hr {
|
|
37
39
|
margin: 1rem 0;
|
|
38
40
|
color: inherit;
|
|
39
|
-
background-color:
|
|
41
|
+
background-color: currentcolor;
|
|
40
42
|
border: 0;
|
|
41
43
|
opacity: 0.25;
|
|
42
44
|
}
|
|
@@ -174,6 +176,15 @@ samp {
|
|
|
174
176
|
font-size: 1em;
|
|
175
177
|
}
|
|
176
178
|
|
|
179
|
+
code {
|
|
180
|
+
font-size: 0.875em;
|
|
181
|
+
color: #d63384;
|
|
182
|
+
overflow-wrap: break-word;
|
|
183
|
+
}
|
|
184
|
+
a > code {
|
|
185
|
+
color: inherit;
|
|
186
|
+
}
|
|
187
|
+
|
|
177
188
|
pre {
|
|
178
189
|
display: block;
|
|
179
190
|
margin-top: 0;
|
|
@@ -187,15 +198,6 @@ pre code {
|
|
|
187
198
|
word-break: normal;
|
|
188
199
|
}
|
|
189
200
|
|
|
190
|
-
code {
|
|
191
|
-
font-size: 0.875em;
|
|
192
|
-
color: #d63384;
|
|
193
|
-
word-wrap: break-word;
|
|
194
|
-
}
|
|
195
|
-
a > code {
|
|
196
|
-
color: inherit;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
201
|
figure {
|
|
200
202
|
margin: 0 0 1rem;
|
|
201
203
|
}
|
|
@@ -234,11 +236,6 @@ button {
|
|
|
234
236
|
border-radius: 0;
|
|
235
237
|
}
|
|
236
238
|
|
|
237
|
-
button:focus {
|
|
238
|
-
outline: 1px dotted;
|
|
239
|
-
outline: 5px auto -webkit-focus-ring-color;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
239
|
input,
|
|
243
240
|
button,
|
|
244
241
|
select,
|
|
@@ -261,7 +258,7 @@ select {
|
|
|
261
258
|
}
|
|
262
259
|
|
|
263
260
|
select {
|
|
264
|
-
|
|
261
|
+
overflow-wrap: normal;
|
|
265
262
|
}
|
|
266
263
|
|
|
267
264
|
[list]::-webkit-calendar-picker-indicator {
|
|
@@ -272,8 +269,8 @@ button,
|
|
|
272
269
|
[type=button],
|
|
273
270
|
[type=reset],
|
|
274
271
|
[type=submit] {
|
|
275
|
-
-webkit-appearance:
|
|
276
|
-
appearance:
|
|
272
|
+
-webkit-appearance: auto;
|
|
273
|
+
appearance: auto;
|
|
277
274
|
}
|
|
278
275
|
button:not(:disabled),
|
|
279
276
|
[type=button]:not(:disabled),
|
|
@@ -282,6 +279,11 @@ button:not(:disabled),
|
|
|
282
279
|
cursor: pointer;
|
|
283
280
|
}
|
|
284
281
|
|
|
282
|
+
button:focus {
|
|
283
|
+
outline: 1px dotted;
|
|
284
|
+
outline: 5px auto -webkit-focus-ring-color;
|
|
285
|
+
}
|
|
286
|
+
|
|
285
287
|
::-moz-focus-inner {
|
|
286
288
|
padding: 0;
|
|
287
289
|
border-style: none;
|
|
@@ -772,10 +774,6 @@ main {
|
|
|
772
774
|
color: #6c757d;
|
|
773
775
|
}
|
|
774
776
|
|
|
775
|
-
.icon-wrapper + .viking-input-inner {
|
|
776
|
-
padding-right: 35px;
|
|
777
|
-
}
|
|
778
|
-
|
|
779
777
|
.viking-input-inner {
|
|
780
778
|
width: 100%;
|
|
781
779
|
padding: 0.375rem 0.75rem;
|
|
@@ -807,6 +805,10 @@ main {
|
|
|
807
805
|
opacity: 1;
|
|
808
806
|
}
|
|
809
807
|
|
|
808
|
+
.icon-wrapper + .viking-input-inner {
|
|
809
|
+
padding-right: 35px;
|
|
810
|
+
}
|
|
811
|
+
|
|
810
812
|
.viking-input-group-prepend,
|
|
811
813
|
.viking-input-group-append {
|
|
812
814
|
display: flex;
|
|
@@ -852,5 +854,3 @@ main {
|
|
|
852
854
|
font-size: 1.25rem;
|
|
853
855
|
border-radius: 0.3rem;
|
|
854
856
|
}
|
|
855
|
-
|
|
856
|
-
/*# sourceMappingURL=index.css.map */
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as Button } from "./components/Button";
|
|
2
|
+
export { default as Menu } from "./components/Menu";
|
|
3
|
+
export { default as AutoComplete } from "./components/AutoComplete";
|
|
4
|
+
export { default as Icon } from "./components/Icon";
|
|
5
|
+
export { default as Input } from "./components/Input";
|
|
6
|
+
export { default as Progress } from "./components/Progress";
|
|
7
|
+
export { default as Transition } from "./components/Transition";
|
|
8
|
+
export { default as Upload } from "./components/Upload";
|
|
9
|
+
export { setupIcons } from "./setupIcons";
|