@bifrostui/icons 1.1.5 → 1.1.7

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.
@@ -5,20 +5,16 @@
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
- }
20
8
  }
21
-
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
+ }
22
18
  svg.bui-svg-icon {
23
19
  fill: currentcolor;
24
20
  transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
@@ -3,42 +3,35 @@
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
- }
24
6
  }
25
-
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
+ }
26
22
  .icon-container-hint {
27
23
  font-size: 13px;
28
24
  color: var(--bui-color-success);
29
25
  padding: 0 12px 9px;
30
26
  }
31
-
32
27
  .icon-container-content {
33
28
  overflow: auto;
34
29
  }
35
-
36
30
  .icon-container-modal {
37
31
  display: flex;
38
32
  justify-content: center;
39
33
  align-items: center;
40
34
  }
41
-
42
35
  .modal-content {
43
36
  display: flex;
44
37
  flex-direction: column;
@@ -47,20 +40,16 @@
47
40
  border-radius: 10px;
48
41
  background-color: var(--bui-color-bg-view);
49
42
  }
50
-
51
43
  .modal-content div:first-child {
52
44
  font-weight: bolder;
53
45
  font-size: 20px;
54
46
  }
55
-
56
47
  .modal-content div:nth-child(n + 2) {
57
48
  user-select: all;
58
49
  }
59
-
60
50
  .modal-content div:nth-child(n + 2)::selection {
61
51
  background-color: rgba(0, 0, 0, 0.2);
62
52
  }
63
-
64
53
  .icon-item {
65
54
  width: 128px;
66
55
  display: inline-flex;
@@ -74,7 +63,6 @@
74
63
  padding: 9px;
75
64
  cursor: pointer;
76
65
  }
77
-
78
66
  .icon-name {
79
67
  font-size: 10px;
80
68
  overflow: hidden;
@@ -5,20 +5,16 @@
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
- }
20
8
  }
21
-
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
+ }
22
18
  svg.bui-svg-icon {
23
19
  fill: currentcolor;
24
20
  transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
@@ -3,42 +3,35 @@
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
- }
24
6
  }
25
-
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
+ }
26
22
  .icon-container-hint {
27
23
  font-size: 13px;
28
24
  color: var(--bui-color-success);
29
25
  padding: 0 12px 9px;
30
26
  }
31
-
32
27
  .icon-container-content {
33
28
  overflow: auto;
34
29
  }
35
-
36
30
  .icon-container-modal {
37
31
  display: flex;
38
32
  justify-content: center;
39
33
  align-items: center;
40
34
  }
41
-
42
35
  .modal-content {
43
36
  display: flex;
44
37
  flex-direction: column;
@@ -47,20 +40,16 @@
47
40
  border-radius: 10px;
48
41
  background-color: var(--bui-color-bg-view);
49
42
  }
50
-
51
43
  .modal-content div:first-child {
52
44
  font-weight: bolder;
53
45
  font-size: 20px;
54
46
  }
55
-
56
47
  .modal-content div:nth-child(n + 2) {
57
48
  user-select: all;
58
49
  }
59
-
60
50
  .modal-content div:nth-child(n + 2)::selection {
61
51
  background-color: rgba(0, 0, 0, 0.2);
62
52
  }
63
-
64
53
  .icon-item {
65
54
  width: 128px;
66
55
  display: inline-flex;
@@ -74,7 +63,6 @@
74
63
  padding: 9px;
75
64
  cursor: pointer;
76
65
  }
77
-
78
66
  .icon-name {
79
67
  font-size: 10px;
80
68
  overflow: hidden;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bifrostui/icons",
3
- "version": "1.1.5",
3
+ "version": "1.1.7",
4
4
  "description": "SVG icon components for BUI",
5
5
  "homepage": "http://bui.taopiaopiao.com",
6
6
  "license": "MIT",
@@ -24,15 +24,15 @@
24
24
  "devDependencies": {
25
25
  "chalk": "^4.1.2",
26
26
  "fast-glob": "^3.3.1",
27
- "father": "^4.1.8",
27
+ "father": "4.3.1",
28
28
  "fs-extra": "^10.0.0",
29
29
  "rimraf": "^3.0.0",
30
30
  "svgo": "^2.8.0"
31
31
  },
32
32
  "dependencies": {
33
- "@bifrostui/react": "^1.1.5",
34
- "@bifrostui/types": "^1.1.5",
35
- "@bifrostui/utils": "^1.1.5",
33
+ "@bifrostui/react": "^1.1.7",
34
+ "@bifrostui/types": "^1.1.7",
35
+ "@bifrostui/utils": "^1.1.7",
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": "58483901055555dfa8fc86060118ba977821e9a6"
45
+ "gitHead": "e1535cb08de162809903d588cc9e139ec3781c2e"
46
46
  }