@bifrostui/icons 1.1.1 → 1.1.5

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.
@@ -0,0 +1,2 @@
1
+ declare const _default: typeof import("./SvgIcon").default;
2
+ export default _default;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _createSvgIcon = _interopRequireDefault(require("../utils/createSvgIcon"));
8
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
+ // Automatically generated by cli tools, please do not modify this file directly
10
+ var _default = exports.default = (0, _createSvgIcon.default)('<path d="M9 48.6c-1.1-.3-1.9-1.2-2-2.3s.5-2.2 1.5-2.7L85.2 7.3c1-.5 2.2-.3 3 .5.8.8 1 2 .5 3L52.4 87.5c-.5 1-1.6 1.6-2.7 1.5s-2.1-.9-2.3-2l-7.7-30.7L9 48.6z"/>', 'NearMeIcon');
@@ -5,16 +5,20 @@
5
5
  width: 1em;
6
6
  height: 1em;
7
7
  background-size: cover;
8
+
9
+ &.icon-size-small {
10
+ font-size: 16px;
11
+ }
12
+
13
+ &.icon-size-medium {
14
+ font-size: 20px;
15
+ }
16
+
17
+ &.icon-size-large {
18
+ font-size: 24px;
19
+ }
8
20
  }
9
- .bui-svg-icon.icon-size-small {
10
- font-size: 16px;
11
- }
12
- .bui-svg-icon.icon-size-medium {
13
- font-size: 20px;
14
- }
15
- .bui-svg-icon.icon-size-large {
16
- font-size: 24px;
17
- }
21
+
18
22
  svg.bui-svg-icon {
19
23
  fill: currentcolor;
20
24
  transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
@@ -148,6 +148,7 @@ export { default as MoreVerticalOutlinedIcon } from './MoreVerticalOutlined';
148
148
  export { default as MovieAppointmentOutlinedIcon } from './MovieAppointmentOutlined';
149
149
  export { default as MovieFilledIcon } from './MovieFilled';
150
150
  export { default as MovieOutlinedIcon } from './MovieOutlined';
151
+ export { default as NearMeIcon } from './NearMe';
151
152
  export { default as NextFilledIcon } from './NextFilled';
152
153
  export { default as NoteOutlinedIcon } from './NoteOutlined';
153
154
  export { default as NoticeOutlinedIcon } from './NoticeOutlined';
@@ -903,6 +903,12 @@ Object.defineProperty(exports, "MovieOutlinedIcon", {
903
903
  return _MovieOutlined.default;
904
904
  }
905
905
  });
906
+ Object.defineProperty(exports, "NearMeIcon", {
907
+ enumerable: true,
908
+ get: function () {
909
+ return _NearMe.default;
910
+ }
911
+ });
906
912
  Object.defineProperty(exports, "NextFilledIcon", {
907
913
  enumerable: true,
908
914
  get: function () {
@@ -1545,6 +1551,7 @@ var _MoreVerticalOutlined = _interopRequireDefault(require("./MoreVerticalOutlin
1545
1551
  var _MovieAppointmentOutlined = _interopRequireDefault(require("./MovieAppointmentOutlined"));
1546
1552
  var _MovieFilled = _interopRequireDefault(require("./MovieFilled"));
1547
1553
  var _MovieOutlined = _interopRequireDefault(require("./MovieOutlined"));
1554
+ var _NearMe = _interopRequireDefault(require("./NearMe"));
1548
1555
  var _NextFilled = _interopRequireDefault(require("./NextFilled"));
1549
1556
  var _NoteOutlined = _interopRequireDefault(require("./NoteOutlined"));
1550
1557
  var _NoticeOutlined = _interopRequireDefault(require("./NoticeOutlined"));
@@ -3,35 +3,42 @@
3
3
  color: #2e333e;
4
4
  font-size: 15px;
5
5
  width: 100%;
6
+
7
+ .bui-radio-group {
8
+ width: 80px;
9
+ flex: 0 0 auto;
10
+ margin-right: 12px;
11
+ }
12
+
13
+ .icon-panel {
14
+ flex: 1 1 auto;
15
+ display: flex;
16
+ flex-direction: column;
17
+ }
18
+
19
+ .bui-input-wrapper {
20
+ width: 70%;
21
+ background: var(--bui-color-bg-default);
22
+ margin-bottom: 9px;
23
+ }
6
24
  }
7
- .icon-container .bui-radio-group {
8
- width: 80px;
9
- flex: 0 0 auto;
10
- margin-right: 12px;
11
- }
12
- .icon-container .icon-panel {
13
- flex: 1 1 auto;
14
- display: flex;
15
- flex-direction: column;
16
- }
17
- .icon-container .bui-input-wrapper {
18
- width: 70%;
19
- background: var(--bui-color-bg-default);
20
- margin-bottom: 9px;
21
- }
25
+
22
26
  .icon-container-hint {
23
27
  font-size: 13px;
24
28
  color: var(--bui-color-success);
25
29
  padding: 0 12px 9px;
26
30
  }
31
+
27
32
  .icon-container-content {
28
33
  overflow: auto;
29
34
  }
35
+
30
36
  .icon-container-modal {
31
37
  display: flex;
32
38
  justify-content: center;
33
39
  align-items: center;
34
40
  }
41
+
35
42
  .modal-content {
36
43
  display: flex;
37
44
  flex-direction: column;
@@ -40,16 +47,20 @@
40
47
  border-radius: 10px;
41
48
  background-color: var(--bui-color-bg-view);
42
49
  }
50
+
43
51
  .modal-content div:first-child {
44
52
  font-weight: bolder;
45
53
  font-size: 20px;
46
54
  }
55
+
47
56
  .modal-content div:nth-child(n + 2) {
48
57
  user-select: all;
49
58
  }
59
+
50
60
  .modal-content div:nth-child(n + 2)::selection {
51
61
  background-color: rgba(0, 0, 0, 0.2);
52
62
  }
63
+
53
64
  .icon-item {
54
65
  width: 128px;
55
66
  display: inline-flex;
@@ -63,6 +74,7 @@
63
74
  padding: 9px;
64
75
  cursor: pointer;
65
76
  }
77
+
66
78
  .icon-name {
67
79
  font-size: 10px;
68
80
  overflow: hidden;
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
2
+ <path d="M9,48.6c-1.1-0.3-1.9-1.2-2-2.3s0.5-2.2,1.5-2.7L85.2,7.3c1-0.5,2.2-0.3,3,0.5c0.8,0.8,1,2,0.5,3L52.4,87.5c-0.5,1-1.6,1.6-2.7,1.5s-2.1-0.9-2.3-2l-7.7-30.7L9,48.6z"/>
3
+ </svg>
@@ -0,0 +1,2 @@
1
+ declare const _default: typeof import("./SvgIcon").default;
2
+ export default _default;
@@ -0,0 +1,3 @@
1
+ // Automatically generated by cli tools, please do not modify this file directly
2
+ import createSvgIcon from "../utils/createSvgIcon";
3
+ export default createSvgIcon('<path d="M9 48.6c-1.1-.3-1.9-1.2-2-2.3s.5-2.2 1.5-2.7L85.2 7.3c1-.5 2.2-.3 3 .5.8.8 1 2 .5 3L52.4 87.5c-.5 1-1.6 1.6-2.7 1.5s-2.1-.9-2.3-2l-7.7-30.7L9 48.6z"/>', 'NearMeIcon');
@@ -5,16 +5,20 @@
5
5
  width: 1em;
6
6
  height: 1em;
7
7
  background-size: cover;
8
+
9
+ &.icon-size-small {
10
+ font-size: 16px;
11
+ }
12
+
13
+ &.icon-size-medium {
14
+ font-size: 20px;
15
+ }
16
+
17
+ &.icon-size-large {
18
+ font-size: 24px;
19
+ }
8
20
  }
9
- .bui-svg-icon.icon-size-small {
10
- font-size: 16px;
11
- }
12
- .bui-svg-icon.icon-size-medium {
13
- font-size: 20px;
14
- }
15
- .bui-svg-icon.icon-size-large {
16
- font-size: 24px;
17
- }
21
+
18
22
  svg.bui-svg-icon {
19
23
  fill: currentcolor;
20
24
  transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
@@ -148,6 +148,7 @@ export { default as MoreVerticalOutlinedIcon } from './MoreVerticalOutlined';
148
148
  export { default as MovieAppointmentOutlinedIcon } from './MovieAppointmentOutlined';
149
149
  export { default as MovieFilledIcon } from './MovieFilled';
150
150
  export { default as MovieOutlinedIcon } from './MovieOutlined';
151
+ export { default as NearMeIcon } from './NearMe';
151
152
  export { default as NextFilledIcon } from './NextFilled';
152
153
  export { default as NoteOutlinedIcon } from './NoteOutlined';
153
154
  export { default as NoticeOutlinedIcon } from './NoticeOutlined';
@@ -148,6 +148,7 @@ export { default as MoreVerticalOutlinedIcon } from "./MoreVerticalOutlined";
148
148
  export { default as MovieAppointmentOutlinedIcon } from "./MovieAppointmentOutlined";
149
149
  export { default as MovieFilledIcon } from "./MovieFilled";
150
150
  export { default as MovieOutlinedIcon } from "./MovieOutlined";
151
+ export { default as NearMeIcon } from "./NearMe";
151
152
  export { default as NextFilledIcon } from "./NextFilled";
152
153
  export { default as NoteOutlinedIcon } from "./NoteOutlined";
153
154
  export { default as NoticeOutlinedIcon } from "./NoticeOutlined";
@@ -3,35 +3,42 @@
3
3
  color: #2e333e;
4
4
  font-size: 15px;
5
5
  width: 100%;
6
+
7
+ .bui-radio-group {
8
+ width: 80px;
9
+ flex: 0 0 auto;
10
+ margin-right: 12px;
11
+ }
12
+
13
+ .icon-panel {
14
+ flex: 1 1 auto;
15
+ display: flex;
16
+ flex-direction: column;
17
+ }
18
+
19
+ .bui-input-wrapper {
20
+ width: 70%;
21
+ background: var(--bui-color-bg-default);
22
+ margin-bottom: 9px;
23
+ }
6
24
  }
7
- .icon-container .bui-radio-group {
8
- width: 80px;
9
- flex: 0 0 auto;
10
- margin-right: 12px;
11
- }
12
- .icon-container .icon-panel {
13
- flex: 1 1 auto;
14
- display: flex;
15
- flex-direction: column;
16
- }
17
- .icon-container .bui-input-wrapper {
18
- width: 70%;
19
- background: var(--bui-color-bg-default);
20
- margin-bottom: 9px;
21
- }
25
+
22
26
  .icon-container-hint {
23
27
  font-size: 13px;
24
28
  color: var(--bui-color-success);
25
29
  padding: 0 12px 9px;
26
30
  }
31
+
27
32
  .icon-container-content {
28
33
  overflow: auto;
29
34
  }
35
+
30
36
  .icon-container-modal {
31
37
  display: flex;
32
38
  justify-content: center;
33
39
  align-items: center;
34
40
  }
41
+
35
42
  .modal-content {
36
43
  display: flex;
37
44
  flex-direction: column;
@@ -40,16 +47,20 @@
40
47
  border-radius: 10px;
41
48
  background-color: var(--bui-color-bg-view);
42
49
  }
50
+
43
51
  .modal-content div:first-child {
44
52
  font-weight: bolder;
45
53
  font-size: 20px;
46
54
  }
55
+
47
56
  .modal-content div:nth-child(n + 2) {
48
57
  user-select: all;
49
58
  }
59
+
50
60
  .modal-content div:nth-child(n + 2)::selection {
51
61
  background-color: rgba(0, 0, 0, 0.2);
52
62
  }
63
+
53
64
  .icon-item {
54
65
  width: 128px;
55
66
  display: inline-flex;
@@ -63,6 +74,7 @@
63
74
  padding: 9px;
64
75
  cursor: pointer;
65
76
  }
77
+
66
78
  .icon-name {
67
79
  font-size: 10px;
68
80
  overflow: hidden;
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
2
+ <path d="M9,48.6c-1.1-0.3-1.9-1.2-2-2.3s0.5-2.2,1.5-2.7L85.2,7.3c1-0.5,2.2-0.3,3,0.5c0.8,0.8,1,2,0.5,3L52.4,87.5c-0.5,1-1.6,1.6-2.7,1.5s-2.1-0.9-2.3-2l-7.7-30.7L9,48.6z"/>
3
+ </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bifrostui/icons",
3
- "version": "1.1.1",
3
+ "version": "1.1.5",
4
4
  "description": "SVG icon components for BUI",
5
5
  "homepage": "http://bui.taopiaopiao.com",
6
6
  "license": "MIT",
@@ -30,9 +30,9 @@
30
30
  "svgo": "^2.8.0"
31
31
  },
32
32
  "dependencies": {
33
- "@bifrostui/react": "^1.1.1",
34
- "@bifrostui/types": "^1.1.1",
35
- "@bifrostui/utils": "^1.1.1",
33
+ "@bifrostui/react": "^1.1.5",
34
+ "@bifrostui/types": "^1.1.5",
35
+ "@bifrostui/utils": "^1.1.5",
36
36
  "clsx": "^1.2.1"
37
37
  },
38
38
  "peerDependencies": {
@@ -42,5 +42,5 @@
42
42
  "build": "father build",
43
43
  "create:icon": "node ./builder.js --output-dir ./src/components --svg-dir ./src/svgs"
44
44
  },
45
- "gitHead": "2543622c499bb48300e081208c3cda9eae75792e"
45
+ "gitHead": "58483901055555dfa8fc86060118ba977821e9a6"
46
46
  }