@stokr/components-library 0.9.3 → 0.9.4

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.
@@ -134,8 +134,8 @@ var UserChecklist = function UserChecklist(props) {
134
134
  message: algoWallets.length > 0 ? 'Opt-in into more assets' : 'Register an Algorand address and opt-in into a project you want to invest in ',
135
135
  state: algoWallets.length > 0 ? _ToDoList.ToDoTaskState.APPROVED : _ToDoList.ToDoTaskState.SKIPPED,
136
136
  disabled: true,
137
- tooltip: 'Registering your Algorand address is currently disabled until we have a new offer using the Algorand network.',
138
- openModal: _ToDoList.ToDoModal.ALGO
137
+ tooltip: 'Registering your Algorand address is currently disabled until we have a new offer using the Algorand network.'
138
+ //openModal: ToDoModal.ALGO,
139
139
  }, {
140
140
  title: 'Ethereum Address',
141
141
  message: ethWallets.length > 0 ? 'Your address is registered' : 'Register an Ethereum address where you will receive the securities',
@@ -177,7 +177,7 @@ var UserChecklist = function UserChecklist(props) {
177
177
  title: 'Algorand Address',
178
178
  message: algoWallets.length > 0 ? 'Opt-in into more assets' : 'Register an Algorand address and opt-in into a project you want to invest in ',
179
179
  state: algoWallets.length > 0 ? _ToDoList.ToDoTaskState.APPROVED : _ToDoList.ToDoTaskState.SKIPPED,
180
- openModal: _ToDoList.ToDoModal.ALGO,
180
+ // openModal: ToDoModal.ALGO,
181
181
  disabled: true,
182
182
  tooltip: 'Registering your Algorand address is currently disabled until we have a new offer using the Algorand network.'
183
183
  //link: '',
@@ -330,7 +330,7 @@ var userStaging = {
330
330
  var UserChecklist_user_dev = Template.bind({});
331
331
  exports.UserChecklist_user_dev = UserChecklist_user_dev;
332
332
  UserChecklist_user_dev.args = {
333
- user: userStaging,
333
+ user: userDev,
334
334
  useRelativePath: true,
335
335
  getTasksCount: function getTasksCount(data) {
336
336
  // console.log(data)
@@ -34,7 +34,7 @@ var Row = _styledComponents.default.div.withConfig({
34
34
  return props.dashboard && "\n margin: -16px;\n ";
35
35
  }, function (props) {
36
36
  return props.nowrap && "\n flex-wrap: nowrap;\n ";
37
- }, _rwd.default.Medium(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n ", "\n "])), function (props) {
37
+ }, _rwd.default.MLarge(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n ", "\n "])), function (props) {
38
38
  return props.main && "\n z-index: 0;\n min-height: calc(100vh - ".concat(_spacing.default.footerHeight, "px);\n padding-top: ").concat(_spacing.default.headerHeight, "px;\n ");
39
39
  })); // ID has padding-top as 85px instead of headerHeight (which is set to 96px)
40
40
  exports.Row = Row;
@@ -56,7 +56,7 @@ var Column = _styledComponents.default.div.withConfig({
56
56
  }, function (props) {
57
57
  return props.mainFixed && "\n position: fixed;\n top: ".concat(_spacing.default.headerHeight, "px;\n left: 0;\n height: calc(100% - ").concat(_spacing.default.headerHeight, "px);\n ");
58
58
  }, function (props) {
59
- return props.mainRelative && "\n position: relative;\n margin-left: ".concat((0, _grid.default)((props.full || 16) - props.part, props.full), ";\n border-left: 1px solid ").concat(_theme.default.cLightGrey, ";\n padding: 54px 0 42px;\n ");
59
+ return props.mainRelative && "\n position: relative;\n margin-left: ".concat((0, _grid.default)((props.full || 16) - props.part, props.full), ";\n border-left: 1px solid ").concat(_theme.default.cLightGrey, ";\n //padding: 54px 0 42px;\n ");
60
60
  }, function (props) {
61
61
  return props.withBorder && "\n border-left: 1px solid ".concat(_theme.default.cLightGrey, ";\n ");
62
62
  }));
@@ -64,7 +64,7 @@ var ToDoTask = function ToDoTask(_ref) {
64
64
  link: link || openModal,
65
65
  state: state
66
66
  }, title), tooltip && /*#__PURE__*/_react.default.createElement(_reactTippy.Tooltip, {
67
- position: "top",
67
+ position: "right",
68
68
  title: tooltip,
69
69
  theme: "light",
70
70
  arrow: true,
@@ -81,7 +81,7 @@ var ToDoTask = function ToDoTask(_ref) {
81
81
  })), /*#__PURE__*/_react.default.createElement(_ToDoListTask.Content, null, /*#__PURE__*/_react.default.createElement(_ToDoListTask.TitleContainer, null, /*#__PURE__*/_react.default.createElement(_ToDoListTask.Title, {
82
82
  state: state
83
83
  }, title), tooltip && /*#__PURE__*/_react.default.createElement(_reactTippy.Tooltip, {
84
- position: "top",
84
+ position: "right",
85
85
  title: tooltip,
86
86
  theme: "light",
87
87
  arrow: true,
@@ -154,7 +154,7 @@ var Auth = /*#__PURE__*/function () {
154
154
  return _regeneratorRuntime().wrap(function _callee$(_context) {
155
155
  while (1) switch (_context.prev = _context.next) {
156
156
  case 0:
157
- _axios.default.post("https://kycdocs.stokr.io/kyc/upload?ip=".concat(ip), data, {
157
+ _axios.default.post("https://kycdocs.stokr-staging.de/kyc/upload?ip=".concat(ip), data, {
158
158
  headers: {
159
159
  'Content-Type': 'multipart/form-data'
160
160
  }
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.walletTypes = exports.platformURL = exports.platformDomain = void 0;
7
- var platformDomain = process.env.REACT_APP_WEBSITE_DOMAIN || 'stokr.io';
7
+ var platformDomain = process.env.REACT_APP_WEBSITE_DOMAIN || 'stokr.info';
8
8
  exports.platformDomain = platformDomain;
9
9
  var platformURL = 'https://' + platformDomain;
10
10
  exports.platformURL = platformURL;
@@ -8,7 +8,7 @@ var _axios = _interopRequireDefault(require("axios"));
8
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
9
  /* Libraries */
10
10
 
11
- var BASE_URL = process.env.REACT_APP_API_URL || 'https://platform-api.stokr.io/api/v1/';
11
+ var BASE_URL = process.env.REACT_APP_API_URL || 'https://platform-api.stokr.info/api/v1/';
12
12
  var _default = _axios.default.create({
13
13
  headers: {
14
14
  'Content-Type': 'application/json'
@@ -8,7 +8,7 @@ var _axios = _interopRequireDefault(require("axios"));
8
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
9
  /* Libraries */
10
10
 
11
- var BASE_URL = process.env.REACT_APP_BASE_URL_PUBLIC || 'https://platform-api-no-auth.stokr.io/api/v1/';
11
+ var BASE_URL = process.env.REACT_APP_BASE_URL_PUBLIC || 'https://platform-api-no-auth.stokr.info/api/v1/';
12
12
  var _default = _axios.default.create({
13
13
  headers: {
14
14
  'Content-Type': 'application/json'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stokr/components-library",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "description": "STOKR - Components Library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",