@salutejs/plasma-new-hope 0.68.0-canary.1148.8464224381.0 → 0.68.0-canary.1148.8482525044.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. package/cjs/components/Cell/Cell.js +15 -12
  2. package/cjs/components/Cell/Cell.js.map +1 -1
  3. package/cjs/components/Cell/CellTextbox/CellTextbox.js +21 -0
  4. package/cjs/components/Cell/CellTextbox/CellTextbox.js.map +1 -0
  5. package/cjs/components/Cell/{Textbox/Textbox.styles.js → CellTextbox/CellTextbox.styles.js} +4 -4
  6. package/cjs/components/Cell/CellTextbox/CellTextbox.styles.js.map +1 -0
  7. package/cjs/components/Cell/{Textbox/ui/TextLabel.js → CellTextbox/ui/CellTextLabel.js} +4 -4
  8. package/cjs/components/Cell/CellTextbox/ui/CellTextLabel.js.map +1 -0
  9. package/cjs/components/Cell/{Textbox/ui/TextSubtitle.js → CellTextbox/ui/CellTextSubtitle.js} +4 -4
  10. package/cjs/components/Cell/CellTextbox/ui/CellTextSubtitle.js.map +1 -0
  11. package/cjs/components/Cell/{Textbox/ui/TextTitle.js → CellTextbox/ui/CellTextTitle.js} +4 -4
  12. package/cjs/components/Cell/CellTextbox/ui/CellTextTitle.js.map +1 -0
  13. package/cjs/components/Dropdown/Dropdown.js +2 -1
  14. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  15. package/cjs/components/Popover/Popover.js +46 -31
  16. package/cjs/components/Popover/Popover.js.map +1 -1
  17. package/cjs/index.js +8 -8
  18. package/es/components/Cell/Cell.js +15 -12
  19. package/es/components/Cell/Cell.js.map +1 -1
  20. package/es/components/Cell/CellTextbox/CellTextbox.js +17 -0
  21. package/es/components/Cell/CellTextbox/CellTextbox.js.map +1 -0
  22. package/es/components/Cell/CellTextbox/CellTextbox.styles.js +9 -0
  23. package/es/components/Cell/CellTextbox/CellTextbox.styles.js.map +1 -0
  24. package/es/components/Cell/{Textbox/ui/TextLabel.js → CellTextbox/ui/CellTextLabel.js} +4 -4
  25. package/es/components/Cell/CellTextbox/ui/CellTextLabel.js.map +1 -0
  26. package/es/components/Cell/{Textbox/ui/TextSubtitle.js → CellTextbox/ui/CellTextSubtitle.js} +4 -4
  27. package/es/components/Cell/CellTextbox/ui/CellTextSubtitle.js.map +1 -0
  28. package/es/components/Cell/{Textbox/ui/TextTitle.js → CellTextbox/ui/CellTextTitle.js} +4 -4
  29. package/es/components/Cell/CellTextbox/ui/CellTextTitle.js.map +1 -0
  30. package/es/components/Dropdown/Dropdown.js +2 -1
  31. package/es/components/Dropdown/Dropdown.js.map +1 -1
  32. package/es/components/Popover/Popover.js +46 -31
  33. package/es/components/Popover/Popover.js.map +1 -1
  34. package/es/index.js +4 -4
  35. package/package.json +4 -4
  36. package/styled-components/cjs/components/Cell/Cell.js +15 -12
  37. package/styled-components/cjs/components/Cell/CellTextbox/CellTextbox.js +20 -0
  38. package/styled-components/cjs/components/Cell/{Textbox/Textbox.styles.js → CellTextbox/CellTextbox.styles.js} +3 -3
  39. package/styled-components/cjs/components/Cell/{Textbox/ui/TextLabel.js → CellTextbox/ui/CellTextLabel.js} +3 -3
  40. package/styled-components/cjs/components/Cell/{Textbox/ui/TextSubtitle.js → CellTextbox/ui/CellTextSubtitle.js} +3 -3
  41. package/styled-components/cjs/components/Cell/{Textbox/ui/TextTitle.js → CellTextbox/ui/CellTextTitle.js} +3 -3
  42. package/styled-components/cjs/components/Cell/index.js +12 -12
  43. package/styled-components/cjs/components/Dropdown/Dropdown.js +2 -1
  44. package/styled-components/cjs/components/Popover/Popover.js +46 -31
  45. package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.config.js +0 -5
  46. package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.js +8 -8
  47. package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.stories.tsx +12 -15
  48. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
  49. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
  50. package/styled-components/cjs/examples/plasma_b2c/components/Popover/Popover.stories.tsx +7 -0
  51. package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.config.js +0 -5
  52. package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.js +9 -9
  53. package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.stories.tsx +11 -14
  54. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
  55. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
  56. package/styled-components/es/components/Cell/Cell.js +15 -12
  57. package/styled-components/es/components/Cell/CellTextbox/CellTextbox.js +13 -0
  58. package/styled-components/es/components/Cell/{Textbox/Textbox.styles.js → CellTextbox/CellTextbox.styles.js} +2 -2
  59. package/styled-components/es/components/Cell/{Textbox/ui/TextLabel.js → CellTextbox/ui/CellTextLabel.js} +2 -2
  60. package/styled-components/es/components/Cell/{Textbox/ui/TextSubtitle.js → CellTextbox/ui/CellTextSubtitle.js} +2 -2
  61. package/styled-components/es/components/Cell/{Textbox/ui/TextTitle.js → CellTextbox/ui/CellTextTitle.js} +2 -2
  62. package/styled-components/es/components/Cell/index.js +4 -4
  63. package/styled-components/es/components/Dropdown/Dropdown.js +2 -1
  64. package/styled-components/es/components/Popover/Popover.js +46 -31
  65. package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.config.js +0 -5
  66. package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.js +2 -2
  67. package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.stories.tsx +12 -15
  68. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
  69. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
  70. package/styled-components/es/examples/plasma_b2c/components/Popover/Popover.stories.tsx +7 -0
  71. package/styled-components/es/examples/plasma_web/components/Cell/Cell.config.js +0 -5
  72. package/styled-components/es/examples/plasma_web/components/Cell/Cell.js +2 -2
  73. package/styled-components/es/examples/plasma_web/components/Cell/Cell.stories.tsx +11 -14
  74. package/styled-components/es/examples/plasma_web/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
  75. package/styled-components/es/examples/plasma_web/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
  76. package/types/components/Cell/Cell.d.ts +0 -1
  77. package/types/components/Cell/Cell.d.ts.map +1 -1
  78. package/types/components/Cell/Cell.types.d.ts +9 -8
  79. package/types/components/Cell/Cell.types.d.ts.map +1 -1
  80. package/types/components/Cell/CellTextbox/CellTextbox.d.ts +4 -0
  81. package/types/components/Cell/CellTextbox/CellTextbox.d.ts.map +1 -0
  82. package/types/components/Cell/CellTextbox/CellTextbox.styles.d.ts +2 -0
  83. package/types/components/Cell/CellTextbox/CellTextbox.styles.d.ts.map +1 -0
  84. package/types/components/Cell/CellTextbox/CellTextbox.types.d.ts +43 -0
  85. package/types/components/Cell/CellTextbox/CellTextbox.types.d.ts.map +1 -0
  86. package/types/components/Cell/CellTextbox/ui/CellTextLabel.d.ts +5 -0
  87. package/types/components/Cell/CellTextbox/ui/CellTextLabel.d.ts.map +1 -0
  88. package/types/components/Cell/CellTextbox/ui/CellTextSubtitle.d.ts +5 -0
  89. package/types/components/Cell/CellTextbox/ui/CellTextSubtitle.d.ts.map +1 -0
  90. package/types/components/Cell/CellTextbox/ui/CellTextTitle.d.ts +5 -0
  91. package/types/components/Cell/CellTextbox/ui/CellTextTitle.d.ts.map +1 -0
  92. package/types/components/Cell/index.d.ts +5 -5
  93. package/types/components/Cell/index.d.ts.map +1 -1
  94. package/types/components/Combobox/Combobox.styles.d.ts +8 -2
  95. package/types/components/Combobox/Combobox.styles.d.ts.map +1 -1
  96. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  97. package/types/components/Dropdown/Dropdown.styles.d.ts +7 -1
  98. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  99. package/types/components/Popover/Popover.d.ts +2 -2
  100. package/types/components/Popover/Popover.d.ts.map +1 -1
  101. package/types/components/Popover/Popover.types.d.ts +19 -14
  102. package/types/components/Popover/Popover.types.d.ts.map +1 -1
  103. package/types/components/Select/Select.styles.d.ts +8 -2
  104. package/types/components/Select/Select.styles.d.ts.map +1 -1
  105. package/types/examples/plasma_b2c/components/Cell/Cell.config.d.ts +0 -5
  106. package/types/examples/plasma_b2c/components/Cell/Cell.config.d.ts.map +1 -1
  107. package/types/examples/plasma_b2c/components/Cell/Cell.d.ts +10 -8
  108. package/types/examples/plasma_b2c/components/Cell/Cell.d.ts.map +1 -1
  109. package/types/examples/plasma_b2c/components/Popover/Popover.d.ts +7 -1
  110. package/types/examples/plasma_b2c/components/Popover/Popover.d.ts.map +1 -1
  111. package/types/examples/plasma_web/components/Cell/Cell.config.d.ts +0 -5
  112. package/types/examples/plasma_web/components/Cell/Cell.config.d.ts.map +1 -1
  113. package/types/examples/plasma_web/components/Cell/Cell.d.ts +10 -8
  114. package/types/examples/plasma_web/components/Cell/Cell.d.ts.map +1 -1
  115. package/types/examples/plasma_web/components/Popover/Popover.d.ts +7 -1
  116. package/types/examples/plasma_web/components/Popover/Popover.d.ts.map +1 -1
  117. package/types/examples/sds_engineer/components/Popover/Popover.d.ts +7 -1
  118. package/types/examples/sds_engineer/components/Popover/Popover.d.ts.map +1 -1
  119. package/cjs/components/Cell/Textbox/Textbox.js +0 -20
  120. package/cjs/components/Cell/Textbox/Textbox.js.map +0 -1
  121. package/cjs/components/Cell/Textbox/Textbox.styles.js.map +0 -1
  122. package/cjs/components/Cell/Textbox/ui/TextLabel.js.map +0 -1
  123. package/cjs/components/Cell/Textbox/ui/TextSubtitle.js.map +0 -1
  124. package/cjs/components/Cell/Textbox/ui/TextTitle.js.map +0 -1
  125. package/es/components/Cell/Textbox/Textbox.js +0 -16
  126. package/es/components/Cell/Textbox/Textbox.js.map +0 -1
  127. package/es/components/Cell/Textbox/Textbox.styles.js +0 -9
  128. package/es/components/Cell/Textbox/Textbox.styles.js.map +0 -1
  129. package/es/components/Cell/Textbox/ui/TextLabel.js.map +0 -1
  130. package/es/components/Cell/Textbox/ui/TextSubtitle.js.map +0 -1
  131. package/es/components/Cell/Textbox/ui/TextTitle.js.map +0 -1
  132. package/styled-components/cjs/components/Cell/Textbox/Textbox.js +0 -19
  133. package/styled-components/es/components/Cell/Textbox/Textbox.js +0 -12
  134. package/types/components/Cell/Textbox/Textbox.d.ts +0 -4
  135. package/types/components/Cell/Textbox/Textbox.d.ts.map +0 -1
  136. package/types/components/Cell/Textbox/Textbox.styles.d.ts +0 -2
  137. package/types/components/Cell/Textbox/Textbox.styles.d.ts.map +0 -1
  138. package/types/components/Cell/Textbox/Textbox.types.d.ts +0 -33
  139. package/types/components/Cell/Textbox/Textbox.types.d.ts.map +0 -1
  140. package/types/components/Cell/Textbox/ui/TextLabel.d.ts +0 -5
  141. package/types/components/Cell/Textbox/ui/TextLabel.d.ts.map +0 -1
  142. package/types/components/Cell/Textbox/ui/TextSubtitle.d.ts +0 -5
  143. package/types/components/Cell/Textbox/ui/TextSubtitle.d.ts.map +0 -1
  144. package/types/components/Cell/Textbox/ui/TextTitle.d.ts +0 -5
  145. package/types/components/Cell/Textbox/ui/TextTitle.d.ts.map +0 -1
  146. /package/styled-components/cjs/components/Cell/{Textbox/Textbox.types.js → CellTextbox/CellTextbox.types.js} +0 -0
  147. /package/styled-components/es/components/Cell/{Textbox/Textbox.types.js → CellTextbox/CellTextbox.types.js} +0 -0
@@ -2,8 +2,8 @@ import React from 'react';
2
2
  import styled from 'styled-components';
3
3
  import { tokens } from '../../Cell.tokens';
4
4
  var StyledTextTitle = /*#__PURE__*/styled.div.withConfig({
5
- componentId: "plasma-new-hope__sc-1mxjeba-0"
5
+ componentId: "plasma-new-hope__sc-o4ebas-0"
6
6
  })(["color:var(", ");font-size:var(", ");font-weight:var(", ");font-family:var(", ");font-style:var(", ");line-height:var(", ");letter-spacing:var(", ");"], tokens.cellTitleColor, tokens.cellTitleFontSize, tokens.cellTitleFontWeight, tokens.cellTitleFontFamily, tokens.cellTitleFontStyle, tokens.cellTitleLineHeight, tokens.cellTitleLetterSpacing);
7
- export var TextTitle = function TextTitle(props) {
7
+ export var CellTextboxTitle = function CellTextboxTitle(props) {
8
8
  return /*#__PURE__*/React.createElement(StyledTextTitle, null, props.children);
9
9
  };
@@ -1,6 +1,6 @@
1
- export { TextLabel } from './Textbox/ui/TextLabel';
2
- export { TextTitle } from './Textbox/ui/TextTitle';
3
- export { TextSubtitle } from './Textbox/ui/TextSubtitle';
1
+ export { CellTextboxLabel } from './CellTextbox/ui/CellTextLabel';
2
+ export { CellTextboxTitle } from './CellTextbox/ui/CellTextTitle';
3
+ export { CellTextboxSubtitle } from './CellTextbox/ui/CellTextSubtitle';
4
4
  export { cellRoot, cellConfig } from './Cell';
5
5
  export { tokens as cellTokens, classes as cellClasses } from './Cell.tokens';
6
- export { Textbox } from './Textbox/Textbox';
6
+ export { CellTextbox } from './CellTextbox/CellTextbox';
@@ -62,6 +62,7 @@ export var dropdownRoot = function dropdownRoot(Root) {
62
62
  placement: getPlacements(placement),
63
63
  trigger: trigger,
64
64
  closeOnOverlayClick: closeOnOverlayClick,
65
+ closeOnBeyondTargetHover: false,
65
66
  closeOnEsc: closeOnEsc,
66
67
  isFocusTrapped: isFocusTrapped,
67
68
  frame: frame
@@ -86,7 +87,7 @@ export var dropdownConfig = {
86
87
  }
87
88
  },
88
89
  defaults: {
89
- view: 'primary',
90
+ view: 'default',
90
91
  size: 'm'
91
92
  }
92
93
  };
@@ -1,5 +1,5 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _excluded = ["target", "children", "isOpen", "trigger", "hasArrow", "frame", "className", "placement", "offset", "zIndex", "isFocusTrapped", "closeOnOverlayClick", "closeOnEsc", "preventOverflow", "usePortal", "view", "onToggle"];
2
+ var _excluded = ["target", "children", "isOpen", "trigger", "hasArrow", "frame", "className", "placement", "offset", "zIndex", "isFocusTrapped", "closeOnEsc", "preventOverflow", "usePortal", "view", "onToggle"];
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -30,33 +30,41 @@ export var POPOVER_PORTAL_ID = 'plasma-popover-root';
30
30
  * и вызова по клику либо ховеру.
31
31
  */
32
32
  export var popoverRoot = function popoverRoot(Root) {
33
- return /*#__PURE__*/forwardRef(function (_ref, outerRootRef) {
34
- var target = _ref.target,
35
- children = _ref.children,
36
- isOpen = _ref.isOpen,
37
- trigger = _ref.trigger,
38
- hasArrow = _ref.hasArrow,
39
- _ref$frame = _ref.frame,
40
- frame = _ref$frame === void 0 ? 'document' : _ref$frame,
41
- className = _ref.className,
42
- _ref$placement = _ref.placement,
43
- placement = _ref$placement === void 0 ? 'auto' : _ref$placement,
44
- _ref$offset = _ref.offset,
45
- offset = _ref$offset === void 0 ? [0, 0] : _ref$offset,
46
- zIndex = _ref.zIndex,
47
- _ref$isFocusTrapped = _ref.isFocusTrapped,
48
- isFocusTrapped = _ref$isFocusTrapped === void 0 ? true : _ref$isFocusTrapped,
49
- _ref$closeOnOverlayCl = _ref.closeOnOverlayClick,
50
- closeOnOverlayClick = _ref$closeOnOverlayCl === void 0 ? true : _ref$closeOnOverlayCl,
51
- _ref$closeOnEsc = _ref.closeOnEsc,
52
- closeOnEsc = _ref$closeOnEsc === void 0 ? true : _ref$closeOnEsc,
53
- _ref$preventOverflow = _ref.preventOverflow,
54
- preventOverflow = _ref$preventOverflow === void 0 ? true : _ref$preventOverflow,
55
- _ref$usePortal = _ref.usePortal,
56
- usePortal = _ref$usePortal === void 0 ? false : _ref$usePortal,
57
- view = _ref.view,
58
- onToggle = _ref.onToggle,
59
- rest = _objectWithoutProperties(_ref, _excluded);
33
+ return /*#__PURE__*/forwardRef(function (props, outerRootRef) {
34
+ var _placement$;
35
+ var target = props.target,
36
+ children = props.children,
37
+ isOpen = props.isOpen,
38
+ _props$trigger = props.trigger,
39
+ trigger = _props$trigger === void 0 ? 'click' : _props$trigger,
40
+ hasArrow = props.hasArrow,
41
+ _props$frame = props.frame,
42
+ frame = _props$frame === void 0 ? 'document' : _props$frame,
43
+ className = props.className,
44
+ _props$placement = props.placement,
45
+ placement = _props$placement === void 0 ? 'auto' : _props$placement,
46
+ _props$offset = props.offset,
47
+ offset = _props$offset === void 0 ? [0, 0] : _props$offset,
48
+ zIndex = props.zIndex,
49
+ _props$isFocusTrapped = props.isFocusTrapped,
50
+ isFocusTrapped = _props$isFocusTrapped === void 0 ? true : _props$isFocusTrapped,
51
+ _props$closeOnEsc = props.closeOnEsc,
52
+ closeOnEsc = _props$closeOnEsc === void 0 ? true : _props$closeOnEsc,
53
+ _props$preventOverflo = props.preventOverflow,
54
+ preventOverflow = _props$preventOverflo === void 0 ? true : _props$preventOverflo,
55
+ _props$usePortal = props.usePortal,
56
+ usePortal = _props$usePortal === void 0 ? false : _props$usePortal,
57
+ view = props.view,
58
+ onToggle = props.onToggle,
59
+ rest = _objectWithoutProperties(props, _excluded);
60
+ var closeOnOverlayClick = true;
61
+ var closeOnBeyondTargetHover = true;
62
+ if (props.trigger === 'click' && props.closeOnOverlayClick === false) {
63
+ closeOnOverlayClick = false;
64
+ }
65
+ if (props.trigger === 'hover' && props.closeOnBeyondTargetHover === false) {
66
+ closeOnBeyondTargetHover = false;
67
+ }
60
68
  var rootRef = useRef(null);
61
69
  var popoverRef = useRef(null);
62
70
  var handleRef = useForkRef(rootRef, outerRootRef);
@@ -77,7 +85,9 @@ export var popoverRoot = function popoverRoot(Root) {
77
85
  opacity: isOpen ? 1 : 0
78
86
  };
79
87
  var _usePopper = usePopper(rootRef.current, popoverRef.current, {
80
- placement: isAutoArray ? 'auto' : placement,
88
+ // TODO: #1121
89
+ // eslint-disable-next-line no-nested-ternary
90
+ placement: isAutoArray ? (_placement$ = placement[0]) !== null && _placement$ !== void 0 && _placement$.endsWith('start') ? 'auto-start' : 'auto' : placement,
81
91
  modifiers: [{
82
92
  name: 'preventOverflow',
83
93
  options: {
@@ -213,10 +223,15 @@ export var popoverRoot = function popoverRoot(Root) {
213
223
  }, target), children && portalRef.current && /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React.createElement(Root, _extends({
214
224
  view: view,
215
225
  className: className
216
- }, rest), /*#__PURE__*/React.createElement(StyledPopover, _extends({}, attributes.popper, {
226
+ }, rest, {
227
+ onMouseEnter: closeOnBeyondTargetHover ? undefined : onMouseEnter,
228
+ onMouseLeave: closeOnBeyondTargetHover ? undefined : onMouseEnter
229
+ }), /*#__PURE__*/React.createElement(StyledPopover, _extends({}, attributes.popper, {
217
230
  className: classes.root,
218
231
  ref: popoverForkRef,
219
- style: _objectSpread(_objectSpread({}, styles.popper), initialStyles),
232
+ style: _objectSpread(_objectSpread(_objectSpread({}, styles.popper), {
233
+ display: isOpen ? 'block' : 'none'
234
+ }), initialStyles),
220
235
  zIndex: zIndex
221
236
  }), hasArrow && /*#__PURE__*/React.createElement(StyledArrow, _extends({
222
237
  className: classes.arrow,
@@ -1,11 +1,6 @@
1
1
  import { css } from 'styled-components';
2
2
  import { cellTokens } from '../../../../components/Cell';
3
3
  export var config = {
4
- defaults: {
5
- view: 'default',
6
- size: 'm',
7
- stretching: 'filled'
8
- },
9
4
  variations: {
10
5
  view: {
11
6
  "default": /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;"], cellTokens.cellColor, cellTokens.cellLabelColor, cellTokens.cellTitleColor, cellTokens.cellSubtitleColor, cellTokens.cellBackgroundColor)
@@ -1,6 +1,6 @@
1
- import { cellConfig, Textbox, TextLabel, TextSubtitle, TextTitle } from '../../../../components/Cell';
1
+ import { cellConfig, CellTextbox, CellTextboxLabel, CellTextboxSubtitle, CellTextboxTitle } from '../../../../components/Cell';
2
2
  import { component, mergeConfig } from '../../../../engines';
3
3
  import { config } from './Cell.config';
4
4
  var mergedConfig = /*#__PURE__*/mergeConfig(cellConfig, config);
5
5
  export var Cell = /*#__PURE__*/component(mergedConfig);
6
- export { Textbox, TextLabel, TextSubtitle, TextTitle };
6
+ export { CellTextbox, CellTextboxLabel, CellTextboxSubtitle, CellTextboxTitle };
@@ -7,7 +7,7 @@ import { WithTheme } from '../../../_helpers';
7
7
  import { Avatar } from '../Avatar/Avatar';
8
8
  import { IconChevronLeft } from '../../../../components/_Icon';
9
9
 
10
- import { Cell, Textbox, TextTitle } from './Cell';
10
+ import { Cell, CellTextbox, CellTextboxTitle } from './Cell';
11
11
 
12
12
  type StoryProps = ComponentProps<typeof Cell> & {
13
13
  itemsCount?: number;
@@ -48,13 +48,13 @@ const meta: Meta<typeof Cell> = {
48
48
  type: 'select',
49
49
  },
50
50
  },
51
- alignLeft: {
51
+ alignContentLeft: {
52
52
  options: alignLeft,
53
53
  control: {
54
54
  type: 'select',
55
55
  },
56
56
  },
57
- alignRight: {
57
+ alignContentRight: {
58
58
  options: alignRight,
59
59
  control: {
60
60
  type: 'select',
@@ -76,8 +76,8 @@ export const Default: Story = {
76
76
  stretching: 'filled',
77
77
  enableLeftContent: false,
78
78
  enableRightContent: false,
79
- alignLeft: 'center',
80
- alignRight: 'center',
79
+ alignContentLeft: 'center',
80
+ alignContentRight: 'center',
81
81
  title: 'Title',
82
82
  subtitle: 'Subtitle',
83
83
  label: 'Label',
@@ -90,12 +90,7 @@ export const Default: Story = {
90
90
  <Avatar size={getSize(args.size)} url="https://avatars.githubusercontent.com/u/1813468?v=4" />
91
91
  )
92
92
  }
93
- alignLeft={args.alignLeft}
94
93
  contentRight={!args.enableRightContent && <ChevronRight color="inherit" size="xs" />}
95
- alignRight={args.alignRight}
96
- title={args.title}
97
- subtitle={args.subtitle}
98
- label={args.label}
99
94
  {...args}
100
95
  />
101
96
  );
@@ -115,16 +110,18 @@ export const WithContentTextboxCustom: Story = {
115
110
  `;
116
111
  return (
117
112
  <Cell
113
+ view="default"
114
+ size={args.size}
115
+ stretching={args.stretching}
118
116
  contentLeft={
119
117
  <Avatar size={getSize(args.size)} url="https://avatars.githubusercontent.com/u/1813468?v=4" />
120
118
  }
121
- contentRight={<ChevronRight color="inherit" size="xs" />}
122
- {...args}
119
+ contentRight={!args.enableRightContent && <ChevronRight color="inherit" size="xs" />}
123
120
  >
124
- <Textbox>
125
- <TextTitle>Title</TextTitle>
121
+ <CellTextboxTitle>
122
+ <CellTextbox>Title</CellTextbox>
126
123
  <MyStyledText>My styled Text</MyStyledText>
127
- </Textbox>
124
+ </CellTextboxTitle>
128
125
  </Cell>
129
126
  );
130
127
  },
@@ -51,7 +51,7 @@ const meta: Meta<StoryDropdownProps> = {
51
51
  closeOnEsc: true,
52
52
  isFocusTrapped: true,
53
53
  skidding: 0,
54
- distance: 6,
54
+ distance: 0,
55
55
  },
56
56
  };
57
57
 
@@ -51,7 +51,7 @@ const meta: Meta<StoryDropdownProps> = {
51
51
  closeOnEsc: true,
52
52
  isFocusTrapped: true,
53
53
  skidding: 0,
54
- distance: 6,
54
+ distance: 0,
55
55
  },
56
56
  };
57
57
 
@@ -33,6 +33,12 @@ const meta: Meta<typeof Popover> = {
33
33
  },
34
34
  table: { defaultValue: { summary: true } },
35
35
  },
36
+ closeOnBeyondTargetHover: {
37
+ control: {
38
+ type: 'boolean',
39
+ },
40
+ table: { defaultValue: { summary: true } },
41
+ },
36
42
  closeOnEsc: {
37
43
  control: {
38
44
  type: 'boolean',
@@ -62,6 +68,7 @@ const meta: Meta<typeof Popover> = {
62
68
  placement: 'bottom',
63
69
  trigger: 'click',
64
70
  closeOnOverlayClick: true,
71
+ closeOnBeyondTargetHover: true,
65
72
  closeOnEsc: true,
66
73
  isFocusTrapped: true,
67
74
  skidding: 0,
@@ -1,11 +1,6 @@
1
1
  import { css } from 'styled-components';
2
2
  import { cellTokens } from '../../../../components/Cell';
3
3
  export var config = {
4
- defaults: {
5
- view: 'default',
6
- size: 'm',
7
- stretching: 'filled'
8
- },
9
4
  variations: {
10
5
  view: {
11
6
  "default": /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;"], cellTokens.cellColor, cellTokens.cellLabelColor, cellTokens.cellTitleColor, cellTokens.cellSubtitleColor, cellTokens.cellBackgroundColor)
@@ -1,6 +1,6 @@
1
- import { cellConfig, Textbox, TextLabel, TextSubtitle, TextTitle } from '../../../../components/Cell';
2
1
  import { component, mergeConfig } from '../../../../engines';
2
+ import { cellConfig, CellTextbox, CellTextboxLabel, CellTextboxSubtitle, CellTextboxTitle } from '../../../../components/Cell';
3
3
  import { config } from './Cell.config';
4
4
  var mergedConfig = /*#__PURE__*/mergeConfig(cellConfig, config);
5
5
  export var Cell = /*#__PURE__*/component(mergedConfig);
6
- export { Textbox, TextLabel, TextSubtitle, TextTitle };
6
+ export { CellTextbox, CellTextboxLabel, CellTextboxSubtitle, CellTextboxTitle };
@@ -7,7 +7,7 @@ import { WithTheme } from '../../../_helpers';
7
7
  import { Avatar } from '../Avatar/Avatar';
8
8
  import { IconChevronLeft } from '../../../../components/_Icon';
9
9
 
10
- import { Cell, Textbox, TextTitle } from './Cell';
10
+ import { Cell, CellTextbox, CellTextboxTitle } from './Cell';
11
11
 
12
12
  type StoryProps = ComponentProps<typeof Cell> & {
13
13
  itemsCount?: number;
@@ -48,13 +48,13 @@ const meta: Meta<typeof Cell> = {
48
48
  type: 'select',
49
49
  },
50
50
  },
51
- alignLeft: {
51
+ alignContentLeft: {
52
52
  options: alignLeft,
53
53
  control: {
54
54
  type: 'select',
55
55
  },
56
56
  },
57
- alignRight: {
57
+ alignContentRight: {
58
58
  options: alignRight,
59
59
  control: {
60
60
  type: 'select',
@@ -76,8 +76,8 @@ export const Default: Story = {
76
76
  stretching: 'filled',
77
77
  enableLeftContent: false,
78
78
  enableRightContent: false,
79
- alignLeft: 'center',
80
- alignRight: 'center',
79
+ alignContentLeft: 'center',
80
+ alignContentRight: 'center',
81
81
  title: 'Title',
82
82
  subtitle: 'Subtitle',
83
83
  label: 'Label',
@@ -90,12 +90,7 @@ export const Default: Story = {
90
90
  <Avatar size={getSize(args.size)} url="https://avatars.githubusercontent.com/u/1813468?v=4" />
91
91
  )
92
92
  }
93
- alignLeft={args.alignLeft}
94
93
  contentRight={!args.enableRightContent && <ChevronRight color="inherit" size="xs" />}
95
- alignRight={args.alignRight}
96
- title={args.title}
97
- subtitle={args.subtitle}
98
- label={args.label}
99
94
  {...args}
100
95
  />
101
96
  );
@@ -115,16 +110,18 @@ export const WithContentTextboxCustom: Story = {
115
110
  `;
116
111
  return (
117
112
  <Cell
113
+ view="default"
114
+ size={args.size}
115
+ stretching={args.stretching}
118
116
  contentLeft={
119
117
  <Avatar size={getSize(args.size)} url="https://avatars.githubusercontent.com/u/1813468?v=4" />
120
118
  }
121
119
  contentRight={<ChevronRight color="inherit" size="xs" />}
122
- {...args}
123
120
  >
124
- <Textbox>
125
- <TextTitle>Title</TextTitle>
121
+ <CellTextbox>
122
+ <CellTextboxTitle>Title</CellTextboxTitle>
126
123
  <MyStyledText>My styled Text</MyStyledText>
127
- </Textbox>
124
+ </CellTextbox>
128
125
  </Cell>
129
126
  );
130
127
  },
@@ -51,7 +51,7 @@ const meta: Meta<StoryDropdownProps> = {
51
51
  closeOnEsc: true,
52
52
  isFocusTrapped: true,
53
53
  skidding: 0,
54
- distance: 6,
54
+ distance: 0,
55
55
  },
56
56
  };
57
57
 
@@ -51,7 +51,7 @@ const meta: Meta<StoryDropdownProps> = {
51
51
  closeOnEsc: true,
52
52
  isFocusTrapped: true,
53
53
  skidding: 0,
54
- distance: 6,
54
+ distance: 0,
55
55
  },
56
56
  };
57
57
 
@@ -18,7 +18,6 @@ export declare const cellConfig: {
18
18
  defaults: {
19
19
  view: string;
20
20
  size: string;
21
- stretching: string;
22
21
  };
23
22
  };
24
23
  //# sourceMappingURL=Cell.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/Cell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAO9C,eAAO,MAAM,QAAQ,SAAU,UAAU,iBAAiB,EAAE,SAAS,CAAC,wFAoCjE,CAAC;AAEN,eAAO,MAAM,UAAU;;;mBAtCQ,UAAU,iBAAiB,EAAE,SAAS,CAAC;;;;;;;;;;;;;;;CAwDrE,CAAC"}
1
+ {"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/Cell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAO9C,eAAO,MAAM,QAAQ,SAAU,UAAU,iBAAiB,EAAE,SAAS,CAAC,wFA0CjE,CAAC;AAEN,eAAO,MAAM,UAAU;;;mBA5CQ,UAAU,iBAAiB,EAAE,SAAS,CAAC;;;;;;;;;;;;;;CA6DrE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
- import type { TextboxProps } from './Textbox/Textbox.types';
2
+ import type { CellTextboxProps } from './CellTextbox/CellTextbox.types';
3
3
  export declare type AlignProp = 'center' | 'top' | 'bottom';
4
4
  declare type CustomCellProps = {
5
5
  /**
@@ -18,18 +18,14 @@ declare type CustomCellProps = {
18
18
  * Слот для контента спарва, например `Icon`
19
19
  */
20
20
  contentRight?: ReactNode;
21
- /**
22
- * Слот для контента спарва, например `Icon`
23
- */
24
- content?: ReactNode;
25
21
  /**
26
22
  * Вертикальное выравнивание контента слева.
27
23
  */
28
- alignLeft?: AlignProp;
24
+ alignContentLeft?: AlignProp;
29
25
  /**
30
26
  * Вертикальное выравнивание контента справа.
31
27
  */
32
- alignRight?: AlignProp;
28
+ alignContentRight?: AlignProp;
33
29
  /**
34
30
  * Ширина cell
35
31
  * @description
@@ -39,7 +35,12 @@ declare type CustomCellProps = {
39
35
  * auto - кнопка растягивается в зависимости от контента
40
36
  */
41
37
  stretching?: 'fixed' | 'filled' | 'auto';
38
+ /**
39
+ * Свойство устарело, вместо этого нужно использовать contentLeft
40
+ * @deprecated
41
+ */
42
+ content?: ReactNode;
42
43
  };
43
- export declare type CellProps = CustomCellProps & TextboxProps;
44
+ export declare type CellProps = CustomCellProps & CellTextboxProps;
44
45
  export {};
45
46
  //# sourceMappingURL=Cell.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Cell.types.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/Cell.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAE5D,oBAAY,SAAS,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAC;AAEpD,aAAK,eAAe,GAAG;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;IAEvB;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;CAC5C,CAAC;AAEF,oBAAY,SAAS,GAAG,eAAe,GAAG,YAAY,CAAC"}
1
+ {"version":3,"file":"Cell.types.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/Cell.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAExE,oBAAY,SAAS,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAC;AAEpD,aAAK,eAAe,GAAG;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;OAEG;IACH,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAE7B;;OAEG;IACH,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAE9B;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAEzC;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC;AAEF,oBAAY,SAAS,GAAG,eAAe,GAAG,gBAAgB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ import type { CellTextboxProps } from './CellTextbox.types';
3
+ export declare const CellTextbox: React.FC<HTMLAttributes<HTMLDivElement> & CellTextboxProps>;
4
+ //# sourceMappingURL=CellTextbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextbox.d.ts","sourceRoot":"","sources":["../../../../src/components/Cell/CellTextbox/CellTextbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAM5D,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,gBAAgB,CAoBnF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const CellTextboxStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ //# sourceMappingURL=CellTextbox.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextbox.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Cell/CellTextbox/CellTextbox.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,oEAI7B,CAAC"}
@@ -0,0 +1,43 @@
1
+ import type { HTMLAttributes, ReactNode } from 'react';
2
+ declare type CustomTextboxProps = {
3
+ /**
4
+ * Слот для Title
5
+ */
6
+ title?: ReactNode;
7
+ /**
8
+ * Слот для Subtitle
9
+ */
10
+ subtitle?: ReactNode;
11
+ /**
12
+ * Слот для Label
13
+ */
14
+ label?: ReactNode;
15
+ /**
16
+ * Свойство устарело, вместо этого нужно использовать title
17
+ * @deprecated
18
+ */
19
+ description?: ReactNode;
20
+ children?: never;
21
+ } | {
22
+ /**
23
+ * Слот для Title
24
+ */
25
+ title?: never;
26
+ /**
27
+ * Слот для Subtitle
28
+ */
29
+ subtitle?: never;
30
+ /**
31
+ * Слот для Label
32
+ */
33
+ label?: never;
34
+ /**
35
+ * Свойство устарело, вместо этого нужно использовать title
36
+ * @deprecated
37
+ */
38
+ description?: never;
39
+ children?: ReactNode;
40
+ };
41
+ export declare type CellTextboxProps = HTMLAttributes<HTMLDivElement> & CustomTextboxProps;
42
+ export {};
43
+ //# sourceMappingURL=CellTextbox.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextbox.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Cell/CellTextbox/CellTextbox.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,aAAK,kBAAkB,GACjB;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB,QAAQ,CAAC,EAAE,KAAK,CAAC;CACpB,GACD;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd;;;OAGG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC;IAEpB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAER,oBAAY,gBAAgB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ declare type TextLabelProps = {};
3
+ export declare const CellTextboxLabel: React.FC<HTMLAttributes<HTMLDivElement> & TextLabelProps>;
4
+ export {};
5
+ //# sourceMappingURL=CellTextLabel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextLabel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/CellTextbox/ui/CellTextLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAe9C,aAAK,cAAc,GAAG,EAAE,CAAC;AAEzB,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,cAAc,CAEtF,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ declare type TextSubtitleProps = {};
3
+ export declare const CellTextboxSubtitle: React.FC<HTMLAttributes<HTMLDivElement> & TextSubtitleProps>;
4
+ export {};
5
+ //# sourceMappingURL=CellTextSubtitle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextSubtitle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/CellTextbox/ui/CellTextSubtitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAe9C,aAAK,iBAAiB,GAAG,EAAE,CAAC;AAE5B,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,iBAAiB,CAE5F,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ declare type TextTitleProps = {};
3
+ export declare const CellTextboxTitle: React.FC<HTMLAttributes<HTMLDivElement> & TextTitleProps>;
4
+ export {};
5
+ //# sourceMappingURL=CellTextTitle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextTitle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/CellTextbox/ui/CellTextTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAe9C,aAAK,cAAc,GAAG,EAAE,CAAC;AAEzB,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,cAAc,CAEtF,CAAC"}
@@ -1,9 +1,9 @@
1
- export { TextLabel } from './Textbox/ui/TextLabel';
2
- export { TextTitle } from './Textbox/ui/TextTitle';
3
- export { TextSubtitle } from './Textbox/ui/TextSubtitle';
1
+ export { CellTextboxLabel } from './CellTextbox/ui/CellTextLabel';
2
+ export { CellTextboxTitle } from './CellTextbox/ui/CellTextTitle';
3
+ export { CellTextboxSubtitle } from './CellTextbox/ui/CellTextSubtitle';
4
4
  export { cellRoot, cellConfig } from './Cell';
5
5
  export type { CellProps } from './Cell.types';
6
6
  export { tokens as cellTokens, classes as cellClasses } from './Cell.tokens';
7
- export { Textbox } from './Textbox/Textbox';
8
- export type { TextboxProps } from './Textbox/Textbox.types';
7
+ export { CellTextbox } from './CellTextbox/CellTextbox';
8
+ export type { CellTextboxProps } from './CellTextbox/CellTextbox.types';
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAC9C,YAAY,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AAE7E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAExE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAC9C,YAAY,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AAE7E,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,YAAY,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC"}
@@ -3,11 +3,17 @@ export declare const StyledRoot: import("@linaria/react").StyledComponent<import
3
3
  export declare const StyledCombobox: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
4
  export declare const StyledPopover: import("@linaria/react").StyledComponent<{
5
5
  selectWidth?: number | undefined;
6
- } & import("../../engines/types").PropsType<{
6
+ } & (import("../../engines/types").PropsType<{
7
7
  view: {
8
8
  css: import("@linaria/core").LinariaClassName;
9
9
  };
10
- }> & import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
10
+ }> & ((import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & {
11
+ trigger?: "click" | undefined;
12
+ closeOnOverlayClick?: boolean | undefined;
13
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & {
14
+ trigger?: "hover" | undefined;
15
+ closeOnBeyondTargetHover?: boolean | undefined;
16
+ } & import("react").RefAttributes<HTMLDivElement>)))>;
11
17
  export declare const ComboboxItemNotFound: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
12
18
  export declare const StyledNativeSelect: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSelectElement> & import("react").SelectHTMLAttributes<HTMLSelectElement> & Record<never, unknown>>;
13
19
  //# sourceMappingURL=Combobox.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/Combobox.styles.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,UAAU,qKAGtB,CAAC;AAEF,eAAO,MAAM,cAAc,qKAY1B,CAAC;AAKF,eAAO,MAAM,aAAa;;;;;;4JAMzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,qKAUhC,CAAC;AAEF,eAAO,MAAM,kBAAkB,iLAY9B,CAAC"}
1
+ {"version":3,"file":"Combobox.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/Combobox.styles.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,UAAU,qKAGtB,CAAC;AAEF,eAAO,MAAM,cAAc,qKAY1B,CAAC;AAKF,eAAO,MAAM,aAAa;;;;;;;;;;;;qDAMzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,qKAUhC,CAAC;AAEF,eAAO,MAAM,kBAAkB,iLAY9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAGlD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM1C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,cAAc,EAAE,aAAa,CAAC,iKA6DtE,CAAC;AAEN,eAAO,MAAM,cAAc;;;mBA/DQ,UAAU,cAAc,EAAE,aAAa,CAAC;;;;;;;;;;;;;;CAgF1E,CAAC"}
1
+ {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAGlD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM1C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,cAAc,EAAE,aAAa,CAAC,iKA8DtE,CAAC;AAEN,eAAO,MAAM,cAAc;;;mBAhEQ,UAAU,cAAc,EAAE,aAAa,CAAC;;;;;;;;;;;;;;CAiF1E,CAAC"}