@ssa-ui-kit/widgets 2.19.2 → 2.20.1

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.
Files changed (42) hide show
  1. package/dist/index.d.ts +0 -1
  2. package/dist/index.js +0 -77
  3. package/dist/index.js.map +1 -1
  4. package/package.json +4 -4
  5. package/dist/components/BotsTable/BotsTable.d.ts +0 -2
  6. package/dist/components/BotsTable/BotsTableCell.d.ts +0 -8
  7. package/dist/components/BotsTable/BotsTableHead.d.ts +0 -6
  8. package/dist/components/BotsTable/BotsTableRow.d.ts +0 -8
  9. package/dist/components/BotsTable/BotsTableWrapper.d.ts +0 -6
  10. package/dist/components/BotsTable/index.d.ts +0 -5
  11. package/dist/components/BotsTable/stories/BotsTable/StoryComponent.d.ts +0 -1
  12. package/dist/components/BotsTable/stories/BotsTable/components/Actions/ActionIcon.d.ts +0 -4
  13. package/dist/components/BotsTable/stories/BotsTable/components/Actions/ActionItem.d.ts +0 -2
  14. package/dist/components/BotsTable/stories/BotsTable/components/Actions/ActionMore.d.ts +0 -4
  15. package/dist/components/BotsTable/stories/BotsTable/components/Actions/ActionRun.d.ts +0 -4
  16. package/dist/components/BotsTable/stories/BotsTable/components/Actions/Actions.d.ts +0 -4
  17. package/dist/components/BotsTable/stories/BotsTable/components/Actions/ActionsWrapper.d.ts +0 -2
  18. package/dist/components/BotsTable/stories/BotsTable/components/Actions/consts.d.ts +0 -5
  19. package/dist/components/BotsTable/stories/BotsTable/components/Actions/index.d.ts +0 -6
  20. package/dist/components/BotsTable/stories/BotsTable/components/Exchange/Exchange.d.ts +0 -2
  21. package/dist/components/BotsTable/stories/BotsTable/components/Exchange/consts.d.ts +0 -15
  22. package/dist/components/BotsTable/stories/BotsTable/components/Exchange/index.d.ts +0 -1
  23. package/dist/components/BotsTable/stories/BotsTable/components/Exchange/types.d.ts +0 -5
  24. package/dist/components/BotsTable/stories/BotsTable/components/PNL.d.ts +0 -2
  25. package/dist/components/BotsTable/stories/BotsTable/components/ROI.d.ts +0 -2
  26. package/dist/components/BotsTable/stories/BotsTable/components/TableTag.d.ts +0 -4
  27. package/dist/components/BotsTable/stories/BotsTable/components/Trade/Trade.d.ts +0 -2
  28. package/dist/components/BotsTable/stories/BotsTable/components/Trade/consts.d.ts +0 -14
  29. package/dist/components/BotsTable/stories/BotsTable/components/Trade/index.d.ts +0 -1
  30. package/dist/components/BotsTable/stories/BotsTable/components/Trade/types.d.ts +0 -4
  31. package/dist/components/BotsTable/stories/BotsTable/components/index.d.ts +0 -6
  32. package/dist/components/BotsTable/stories/BotsTable/index.d.ts +0 -1
  33. package/dist/components/BotsTable/stories/BotsTable/mockData.d.ts +0 -2
  34. package/dist/components/BotsTable/stories/NoControlOrders/StoryComponent.d.ts +0 -1
  35. package/dist/components/BotsTable/stories/NoControlOrders/components/ActionMore.d.ts +0 -4
  36. package/dist/components/BotsTable/stories/NoControlOrders/components/Reason.d.ts +0 -3
  37. package/dist/components/BotsTable/stories/NoControlOrders/components/TableList.d.ts +0 -2
  38. package/dist/components/BotsTable/stories/NoControlOrders/components/TableRow.d.ts +0 -2
  39. package/dist/components/BotsTable/stories/NoControlOrders/components/index.d.ts +0 -4
  40. package/dist/components/BotsTable/stories/NoControlOrders/mockData.d.ts +0 -14
  41. package/dist/components/BotsTable/stories/NoControlOrders/types.d.ts +0 -15
  42. package/dist/components/BotsTable/types.d.ts +0 -27
package/dist/index.d.ts CHANGED
@@ -27,7 +27,6 @@ export { default as UserCard } from './components/UserCard';
27
27
  export * from './components/UserCard';
28
28
  export * from './components/TradingInfoCard';
29
29
  export * from './components/TradingScoreboard';
30
- export * from './components/BotsTable';
31
30
  export * from './components/AccountBalance';
32
31
  export * from './components/ExchangeAccount';
33
32
  export * from './components/AccountKeys';
package/dist/index.js CHANGED
@@ -67,11 +67,6 @@ __webpack_require__.d(__webpack_exports__, {
67
67
  BalancePieChart: () => (/* reexport */ BalancePieChart),
68
68
  BalancePieChartTitle: () => (/* reexport */ BalancePieChartTitle),
69
69
  Bmi: () => (/* reexport */ Bmi),
70
- BotsTable: () => (/* reexport */ BotsTable),
71
- BotsTableCell: () => (/* reexport */ BotsTableCell),
72
- BotsTableHead: () => (/* reexport */ BotsTableHead),
73
- BotsTableRow: () => (/* reexport */ BotsTableRow),
74
- BotsTableWrapper: () => (/* reexport */ BotsTableWrapper),
75
70
  Calories: () => (/* reexport */ Calories),
76
71
  ExchangeAccount: () => (/* reexport */ ExchangeAccount),
77
72
  HeartRate: () => (/* reexport */ HeartRate),
@@ -1962,77 +1957,6 @@ const TradingScoreboard = ({
1962
1957
  ;// ./src/components/TradingScoreboard/index.ts
1963
1958
 
1964
1959
 
1965
- ;// ./src/components/BotsTable/BotsTableWrapper.tsx
1966
-
1967
- function BotsTableWrapper_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
1968
-
1969
- const BotsTableWrapper = /*#__PURE__*/base_default()(core_namespaceObject.Table, true ? {
1970
- target: "e1x8lq5p0"
1971
- } : 0)( true ? {
1972
- name: "ibvn9w",
1973
- styles: "background:none;& thead td:first-of-type{border-top-left-radius:20px;}& thead td:last-child{border-top-right-radius:20px;}& tbody tr:last-child td:first-of-type{border-bottom-left-radius:20px;}& tbody tr:last-child td:last-child{border-bottom-right-radius:20px;}& tbody tr:not([aria-disabled='true']):hover{& td{background-color:#eef1f7;}}"
1974
- } : 0);
1975
- ;// ./src/components/BotsTable/BotsTableHead.tsx
1976
-
1977
-
1978
- const BotsTableHead = /*#__PURE__*/base_default()(core_namespaceObject.TableHead, true ? {
1979
- target: "e13om0eu0"
1980
- } : 0)("background:none;font-size:12px;", ({
1981
- theme
1982
- }) => theme.mediaQueries.lg, "{font-size:14px;}& tr td:first-of-type{padding-left:16px;}" + ( true ? "" : 0));
1983
- ;// ./src/components/BotsTable/BotsTableRow.tsx
1984
-
1985
-
1986
- const BotsTableRow = /*#__PURE__*/base_default()(core_namespaceObject.TableRow, true ? {
1987
- target: "e5of4c10"
1988
- } : 0)("border:none;padding:0 16px;height:44px;", ({
1989
- isDisabled
1990
- }) => isDisabled && {
1991
- opacity: 0.6,
1992
- cursor: 'default',
1993
- userSelect: 'none'
1994
- }, " & tr:first-of-type{padding-left:18px;}" + ( true ? "" : 0));
1995
- ;// ./src/components/BotsTable/BotsTableCell.tsx
1996
-
1997
-
1998
- const BotsTableCell = /*#__PURE__*/base_default()(core_namespaceObject.TableCell, true ? {
1999
- target: "e1tsk7oh0"
2000
- } : 0)("border:none;padding:0 16px;background:#fff;font-size:12px;font-weight:500;", ({
2001
- theme
2002
- }) => theme.mediaQueries.lg, "{font-size:14px;}" + ( true ? "" : 0));
2003
- ;// ./src/components/BotsTable/BotsTable.tsx
2004
-
2005
-
2006
-
2007
-
2008
- const BotsTable = ({
2009
- children,
2010
- columns,
2011
- className
2012
- }) => (0,jsx_runtime_namespaceObject.jsxs)(BotsTableWrapper, {
2013
- className: className,
2014
- children: [(0,jsx_runtime_namespaceObject.jsx)(BotsTableHead, {
2015
- children: (0,jsx_runtime_namespaceObject.jsx)(BotsTableRow, {
2016
- children: columns.map(columnName => (0,jsx_runtime_namespaceObject.jsx)(BotsTableCell, {
2017
- children: columnName
2018
- }, `column-${columnName.toLowerCase()}`))
2019
- })
2020
- }), (0,jsx_runtime_namespaceObject.jsx)(core_namespaceObject.TableBody, {
2021
- children: external_react_namespaceObject.Children.map(children, child => {
2022
- if (/*#__PURE__*/(0,external_react_namespaceObject.isValidElement)(child)) {
2023
- return /*#__PURE__*/(0,external_react_namespaceObject.cloneElement)(child, {
2024
- key: child.props.id
2025
- });
2026
- }
2027
- })
2028
- })]
2029
- });
2030
- ;// ./src/components/BotsTable/index.ts
2031
-
2032
-
2033
-
2034
-
2035
-
2036
1960
  ;// external "@emotion/css"
2037
1961
  const css_namespaceObject = require("@emotion/css");
2038
1962
  ;// ./src/components/AccountBalance/AccountBalanceContext.tsx
@@ -2733,7 +2657,6 @@ AccountKeys.Content = AccountKeysContent;
2733
2657
 
2734
2658
 
2735
2659
 
2736
-
2737
2660
 
2738
2661
 
2739
2662
  /******/ return __webpack_exports__;