@twreporter/core 1.3.0 → 1.4.0-rc.0
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/CHANGELOG.md +40 -0
- package/lib/constants/color.js +63 -0
- package/lib/constants/font.js +22 -0
- package/lib/constants/fundraising.js +10 -0
- package/package.json +2 -2
- package/lib/constants/font-weight.js +0 -16
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,46 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.4.0-rc.0](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/core@1.3.1...@twreporter/core@1.4.0-rc.0) (2021-12-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **core:** update fund-raising id ([618219f](https://github.com/twreporter/twreporter-npm-packages/commit/618219f4f5b06b6292cb0a4fa178ee1201c90cf7))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **core, react-components:** add fund-raising number ([a3ae8ac](https://github.com/twreporter/twreporter-npm-packages/commit/a3ae8ac3bd52bc7897e8e85c3723a48f40ec13a6))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [1.3.1](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/core@1.3.1-rc.1...@twreporter/core@1.3.1) (2021-11-19)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @twreporter/core
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [1.3.1-rc.1](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/core@1.3.1-rc.0...@twreporter/core@1.3.1-rc.1) (2021-11-17)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @twreporter/core
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
## [1.3.1-rc.0](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/core@1.3.0...@twreporter/core@1.3.1-rc.0) (2021-11-12)
|
|
39
|
+
|
|
40
|
+
**Note:** Version bump only for package @twreporter/core
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
6
46
|
# [1.3.0](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/core@1.3.0-rc.1...@twreporter/core@1.3.0) (2021-10-26)
|
|
7
47
|
|
|
8
48
|
**Note:** Version bump only for package @twreporter/core
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = exports.colorGrayscale = exports.colorSupportive = exports.colorPodcast = exports.colorPhoto = exports.colorBrand = void 0;
|
|
7
|
+
// brand: red
|
|
8
|
+
var colorBrand = {
|
|
9
|
+
faded: '#f4c6c6',
|
|
10
|
+
pastel: '#f76977',
|
|
11
|
+
main: '#f80b28',
|
|
12
|
+
heavy: '#c40d23',
|
|
13
|
+
dark: '#9b051e'
|
|
14
|
+
}; // photography: blue
|
|
15
|
+
|
|
16
|
+
exports.colorBrand = colorBrand;
|
|
17
|
+
var colorPhoto = {
|
|
18
|
+
faded: '#abdef4',
|
|
19
|
+
pastel: '#6d9be0',
|
|
20
|
+
main: '#2f58cc',
|
|
21
|
+
heavy: '#143071',
|
|
22
|
+
dark: '#052142'
|
|
23
|
+
}; // podcast: green
|
|
24
|
+
|
|
25
|
+
exports.colorPhoto = colorPhoto;
|
|
26
|
+
var colorPodcast = {
|
|
27
|
+
faded: '#c4f2dc',
|
|
28
|
+
pastel: '#99ecc9',
|
|
29
|
+
main: '#6ee5b5',
|
|
30
|
+
heavy: '#3c927a',
|
|
31
|
+
dark: '#0e3532'
|
|
32
|
+
}; // supportive: brown
|
|
33
|
+
|
|
34
|
+
exports.colorPodcast = colorPodcast;
|
|
35
|
+
var colorSupportive = {
|
|
36
|
+
main: '#edc39d',
|
|
37
|
+
heavy: '#9e7a4e',
|
|
38
|
+
dark: '#493018'
|
|
39
|
+
}; // neutral: grayscale
|
|
40
|
+
|
|
41
|
+
exports.colorSupportive = colorSupportive;
|
|
42
|
+
var colorGrayscale = {
|
|
43
|
+
white: '#ffffff',
|
|
44
|
+
gray100: '#f1f1f1',
|
|
45
|
+
gray200: '#e2e2e2',
|
|
46
|
+
gray300: '#d8d8d8',
|
|
47
|
+
gray400: '#cdcdcd',
|
|
48
|
+
gray500: '#9c9c9c',
|
|
49
|
+
gray600: '#808080',
|
|
50
|
+
gray700: '#4a4a4a',
|
|
51
|
+
gray800: '#404040',
|
|
52
|
+
gray900: '#262626',
|
|
53
|
+
black: '#000000'
|
|
54
|
+
};
|
|
55
|
+
exports.colorGrayscale = colorGrayscale;
|
|
56
|
+
var _default = {
|
|
57
|
+
colorBrand: colorBrand,
|
|
58
|
+
colorPhoto: colorPhoto,
|
|
59
|
+
colorPodcast: colorPodcast,
|
|
60
|
+
colorSupportive: colorSupportive,
|
|
61
|
+
colorGrayscale: colorGrayscale
|
|
62
|
+
};
|
|
63
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.fontFamily = exports.fontWeight = exports["default"] = void 0;
|
|
7
|
+
var fontWeight = {
|
|
8
|
+
extraLight: '100',
|
|
9
|
+
normal: '400',
|
|
10
|
+
bold: '700'
|
|
11
|
+
};
|
|
12
|
+
exports.fontWeight = fontWeight;
|
|
13
|
+
var fontFamily = {
|
|
14
|
+
title: 'merriweather, source-han-serif-tc, serif',
|
|
15
|
+
"default": 'rosario, source-han-sans-traditional, sans-serif'
|
|
16
|
+
};
|
|
17
|
+
exports.fontFamily = fontFamily;
|
|
18
|
+
var _default = {
|
|
19
|
+
fontWeight: fontWeight,
|
|
20
|
+
fontFamily: fontFamily
|
|
21
|
+
};
|
|
22
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.fundraisingId = exports["default"] = void 0;
|
|
7
|
+
var fundraisingId = '公益勸募許可字號|衛部救字第 1101363853 號';
|
|
8
|
+
exports.fundraisingId = fundraisingId;
|
|
9
|
+
var _default = fundraisingId;
|
|
10
|
+
exports["default"] = _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twreporter/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0-rc.0",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"repository": "https://github.com/twreporter/twreporter-npm-packages.git",
|
|
6
6
|
"author": "twreporter <developer@twreporter.org>",
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
"files": [
|
|
20
20
|
"lib"
|
|
21
21
|
],
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "428502937a25a6ba359175c3c3a3f3b83b52e206"
|
|
23
23
|
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.sourceHanSansTC = void 0;
|
|
7
|
-
var sourceHanSansTC = {
|
|
8
|
-
extraLight: '100',
|
|
9
|
-
light: '200',
|
|
10
|
-
normal: '300',
|
|
11
|
-
regular: '400',
|
|
12
|
-
medium: '500',
|
|
13
|
-
bold: '700',
|
|
14
|
-
heavy: '900'
|
|
15
|
-
};
|
|
16
|
-
exports.sourceHanSansTC = sourceHanSansTC;
|