@stokr/components-library 0.9.2 → 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,15 +134,15 @@ 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',
142
142
  state: ethWallets.length > 0 ? _ToDoList.ToDoTaskState.APPROVED : _ToDoList.ToDoTaskState.SKIPPED,
143
143
  //link: '', //`${platformURL}/register-ethereum`,
144
144
  disabled: true,
145
- tooltip: 'Registering your ethereum wallet is currently disabled until we have a new offer using the ethereum network.'
145
+ tooltip: 'Registering your Ethereum address is currently disabled until we have a new offer using the Ethereum network.'
146
146
  }]);
147
147
  setoptionalTasks([{
148
148
  title: 'Tax ID',
@@ -177,16 +177,16 @@ 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
- tooltip: "Registering your Algorand address is currently disabled until we have a new offer using the algorand network."
182
+ tooltip: 'Registering your Algorand address is currently disabled until we have a new offer using the Algorand network.'
183
183
  //link: '',
184
184
  }, {
185
185
  title: 'Ethereum Address',
186
186
  message: !isFromAllowedCountry ? 'Sorry, you are living in a country where this is not available' : ethWallets.length > 0 ? 'Your address is registered' : 'Register an Ethereum address where you will receive the securities',
187
187
  state: !isFromAllowedCountry ? _ToDoList.ToDoTaskState.NOT_AVAILABLE : ethWallets.length > 0 ? _ToDoList.ToDoTaskState.APPROVED : _ToDoList.ToDoTaskState.SKIPPED,
188
188
  disabled: true,
189
- tooltip: 'Registering your ethereum wallet is currently disabled until we have a new offer using the ethereum network.'
189
+ tooltip: 'Registering your Ethereum address is currently disabled until we have a new offer using the Ethereum network.'
190
190
  }]);
191
191
  var optionalTasks = [{
192
192
  title: 'Tax ID',
@@ -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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stokr/components-library",
3
- "version": "0.9.2",
3
+ "version": "0.9.4",
4
4
  "description": "STOKR - Components Library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",