@twreporter/core 1.11.0 → 1.12.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 CHANGED
@@ -3,6 +3,25 @@
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.12.0](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/core@1.12.0-rc.0...@twreporter/core@1.12.0) (2023-10-11)
7
+
8
+ **Note:** Version bump only for package @twreporter/core
9
+
10
+
11
+
12
+
13
+
14
+ # [1.12.0-rc.0](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/core@1.11.0...@twreporter/core@1.12.0-rc.0) (2023-09-28)
15
+
16
+
17
+ ### Features
18
+
19
+ * add donation anchor & change link ([83b3c18](https://github.com/twreporter/twreporter-npm-packages/commit/83b3c1868b9e54250762d5223b541868fc757410))
20
+
21
+
22
+
23
+
24
+
6
25
  # [1.11.0](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/core@1.11.0-rc.4...@twreporter/core@1.11.0) (2023-08-31)
7
26
 
8
27
  **Note:** Version bump only for package @twreporter/core
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports["default"] = exports.CATEGORY_SET = exports.GET_SUBCATEGORY_PATH_FROM_ID = exports.SUBCATEGORY_ID = exports.SUBCATEGORY_LABEL = exports.SUBCATEGORY_PATH = exports.GET_CATEGORY_PATH_FROM_ID = exports.CATEGORY_ID = exports.CATEGORY_LABEL = exports.CATEGORY_ORDER = exports.CATEGORY_PATH = void 0;
6
+ exports["default"] = exports.SUBCATEGORY_PATH = exports.SUBCATEGORY_LABEL = exports.SUBCATEGORY_ID = exports.GET_SUBCATEGORY_PATH_FROM_ID = exports.GET_CATEGORY_PATH_FROM_ID = exports.CATEGORY_SET = exports.CATEGORY_PATH = exports.CATEGORY_ORDER = exports.CATEGORY_LABEL = exports.CATEGORY_ID = void 0;
7
7
 
8
8
  var _CATEGORY_LABEL, _CATEGORY_ID, _SUBCATEGORY_LABEL, _SUBCATEGORY_ID, _CATEGORY_SET;
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports["default"] = exports.COLOR_ARTICLE = exports.COLOR_SEMANTIC = exports.colorOpacity = exports.colorGrayscale = exports.colorSupportive = exports.colorPodcast = exports.colorPhoto = exports.colorBrand = void 0;
6
+ exports["default"] = exports.colorSupportive = exports.colorPodcast = exports.colorPhoto = exports.colorOpacity = exports.colorGrayscale = exports.colorBrand = exports.COLOR_SEMANTIC = exports.COLOR_ARTICLE = void 0;
7
7
  // brand: red
8
8
  var colorBrand = Object.freeze({
9
9
  faded: '#f4c6c6',
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.DONATION_LINK_ANCHOR = void 0;
7
+ var DONATION_LINK_ANCHOR = {
8
+ value: 'value',
9
+ impact: 'impact',
10
+ faq: 'faq',
11
+ contribute: 'contribute',
12
+ plan: 'plan'
13
+ };
14
+ exports.DONATION_LINK_ANCHOR = DONATION_LINK_ANCHOR;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.fontFamily = exports.fontWeight = exports.fonts = exports["default"] = void 0;
6
+ exports.fonts = exports.fontWeight = exports.fontFamily = exports["default"] = void 0;
7
7
  var merriweather = 'merriweather';
8
8
  var sourceHanSerifTC = 'source-han-serif-tc';
9
9
  var serif = 'serif';
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.READ_PREFERENCE_ORDER = exports.READ_PREFERENCE_ZH_TW = exports.READ_PREFERENCE = void 0;
6
+ exports.READ_PREFERENCE_ZH_TW = exports.READ_PREFERENCE_ORDER = exports.READ_PREFERENCE = void 0;
7
7
 
8
8
  var _READ_PREFERENCE_ZH_T;
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.ARTICLE_THEME = exports.THEME_PROP_TYPES = exports.THEME = void 0;
6
+ exports.THEME_PROP_TYPES = exports.THEME = exports.ARTICLE_THEME = void 0;
7
7
 
8
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
9
 
package/lib/utils/css.js CHANGED
@@ -9,7 +9,7 @@ var _map = _interopRequireDefault(require("lodash/map"));
9
9
 
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
11
 
12
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
12
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
13
13
 
14
14
  var _ = {
15
15
  map: _map["default"]
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.getGlobalEnv = getGlobalEnv;
7
7
 
8
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
8
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
9
9
 
10
10
  /*
11
11
  Webpack defined plugin may replace the value of process.env.NODE_ENV directly.
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.getMediaQueryUtil = getMediaQueryUtil;
7
6
  exports["default"] = void 0;
7
+ exports.getMediaQueryUtil = getMediaQueryUtil;
8
8
 
9
9
  var _styledComponents = require("styled-components");
10
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twreporter/core",
3
- "version": "1.11.0",
3
+ "version": "1.12.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": "a3fcc35f1a2534bb4a08d69d636ba53405160c9f"
22
+ "gitHead": "f74d4369ca1f6856e28a10fb714cd53ecb37ee7c"
23
23
  }