@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.
- package/cjs/components/Cell/Cell.js +15 -12
- package/cjs/components/Cell/Cell.js.map +1 -1
- package/cjs/components/Cell/CellTextbox/CellTextbox.js +21 -0
- package/cjs/components/Cell/CellTextbox/CellTextbox.js.map +1 -0
- package/cjs/components/Cell/{Textbox/Textbox.styles.js → CellTextbox/CellTextbox.styles.js} +4 -4
- package/cjs/components/Cell/CellTextbox/CellTextbox.styles.js.map +1 -0
- package/cjs/components/Cell/{Textbox/ui/TextLabel.js → CellTextbox/ui/CellTextLabel.js} +4 -4
- package/cjs/components/Cell/CellTextbox/ui/CellTextLabel.js.map +1 -0
- package/cjs/components/Cell/{Textbox/ui/TextSubtitle.js → CellTextbox/ui/CellTextSubtitle.js} +4 -4
- package/cjs/components/Cell/CellTextbox/ui/CellTextSubtitle.js.map +1 -0
- package/cjs/components/Cell/{Textbox/ui/TextTitle.js → CellTextbox/ui/CellTextTitle.js} +4 -4
- package/cjs/components/Cell/CellTextbox/ui/CellTextTitle.js.map +1 -0
- package/cjs/components/Dropdown/Dropdown.js +2 -1
- package/cjs/components/Dropdown/Dropdown.js.map +1 -1
- package/cjs/components/Popover/Popover.js +46 -31
- package/cjs/components/Popover/Popover.js.map +1 -1
- package/cjs/index.js +8 -8
- package/es/components/Cell/Cell.js +15 -12
- package/es/components/Cell/Cell.js.map +1 -1
- package/es/components/Cell/CellTextbox/CellTextbox.js +17 -0
- package/es/components/Cell/CellTextbox/CellTextbox.js.map +1 -0
- package/es/components/Cell/CellTextbox/CellTextbox.styles.js +9 -0
- package/es/components/Cell/CellTextbox/CellTextbox.styles.js.map +1 -0
- package/es/components/Cell/{Textbox/ui/TextLabel.js → CellTextbox/ui/CellTextLabel.js} +4 -4
- package/es/components/Cell/CellTextbox/ui/CellTextLabel.js.map +1 -0
- package/es/components/Cell/{Textbox/ui/TextSubtitle.js → CellTextbox/ui/CellTextSubtitle.js} +4 -4
- package/es/components/Cell/CellTextbox/ui/CellTextSubtitle.js.map +1 -0
- package/es/components/Cell/{Textbox/ui/TextTitle.js → CellTextbox/ui/CellTextTitle.js} +4 -4
- package/es/components/Cell/CellTextbox/ui/CellTextTitle.js.map +1 -0
- package/es/components/Dropdown/Dropdown.js +2 -1
- package/es/components/Dropdown/Dropdown.js.map +1 -1
- package/es/components/Popover/Popover.js +46 -31
- package/es/components/Popover/Popover.js.map +1 -1
- package/es/index.js +4 -4
- package/package.json +4 -4
- package/styled-components/cjs/components/Cell/Cell.js +15 -12
- package/styled-components/cjs/components/Cell/CellTextbox/CellTextbox.js +20 -0
- package/styled-components/cjs/components/Cell/{Textbox/Textbox.styles.js → CellTextbox/CellTextbox.styles.js} +3 -3
- package/styled-components/cjs/components/Cell/{Textbox/ui/TextLabel.js → CellTextbox/ui/CellTextLabel.js} +3 -3
- package/styled-components/cjs/components/Cell/{Textbox/ui/TextSubtitle.js → CellTextbox/ui/CellTextSubtitle.js} +3 -3
- package/styled-components/cjs/components/Cell/{Textbox/ui/TextTitle.js → CellTextbox/ui/CellTextTitle.js} +3 -3
- package/styled-components/cjs/components/Cell/index.js +12 -12
- package/styled-components/cjs/components/Dropdown/Dropdown.js +2 -1
- package/styled-components/cjs/components/Popover/Popover.js +46 -31
- package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.config.js +0 -5
- package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.js +8 -8
- package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.stories.tsx +12 -15
- package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Popover/Popover.stories.tsx +7 -0
- package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.config.js +0 -5
- package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.js +9 -9
- package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.stories.tsx +11 -14
- package/styled-components/cjs/examples/plasma_web/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
- package/styled-components/es/components/Cell/Cell.js +15 -12
- package/styled-components/es/components/Cell/CellTextbox/CellTextbox.js +13 -0
- package/styled-components/es/components/Cell/{Textbox/Textbox.styles.js → CellTextbox/CellTextbox.styles.js} +2 -2
- package/styled-components/es/components/Cell/{Textbox/ui/TextLabel.js → CellTextbox/ui/CellTextLabel.js} +2 -2
- package/styled-components/es/components/Cell/{Textbox/ui/TextSubtitle.js → CellTextbox/ui/CellTextSubtitle.js} +2 -2
- package/styled-components/es/components/Cell/{Textbox/ui/TextTitle.js → CellTextbox/ui/CellTextTitle.js} +2 -2
- package/styled-components/es/components/Cell/index.js +4 -4
- package/styled-components/es/components/Dropdown/Dropdown.js +2 -1
- package/styled-components/es/components/Popover/Popover.js +46 -31
- package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.config.js +0 -5
- package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.js +2 -2
- package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.stories.tsx +12 -15
- package/styled-components/es/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Popover/Popover.stories.tsx +7 -0
- package/styled-components/es/examples/plasma_web/components/Cell/Cell.config.js +0 -5
- package/styled-components/es/examples/plasma_web/components/Cell/Cell.js +2 -2
- package/styled-components/es/examples/plasma_web/components/Cell/Cell.stories.tsx +11 -14
- package/styled-components/es/examples/plasma_web/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
- package/types/components/Cell/Cell.d.ts +0 -1
- package/types/components/Cell/Cell.d.ts.map +1 -1
- package/types/components/Cell/Cell.types.d.ts +9 -8
- package/types/components/Cell/Cell.types.d.ts.map +1 -1
- package/types/components/Cell/CellTextbox/CellTextbox.d.ts +4 -0
- package/types/components/Cell/CellTextbox/CellTextbox.d.ts.map +1 -0
- package/types/components/Cell/CellTextbox/CellTextbox.styles.d.ts +2 -0
- package/types/components/Cell/CellTextbox/CellTextbox.styles.d.ts.map +1 -0
- package/types/components/Cell/CellTextbox/CellTextbox.types.d.ts +43 -0
- package/types/components/Cell/CellTextbox/CellTextbox.types.d.ts.map +1 -0
- package/types/components/Cell/CellTextbox/ui/CellTextLabel.d.ts +5 -0
- package/types/components/Cell/CellTextbox/ui/CellTextLabel.d.ts.map +1 -0
- package/types/components/Cell/CellTextbox/ui/CellTextSubtitle.d.ts +5 -0
- package/types/components/Cell/CellTextbox/ui/CellTextSubtitle.d.ts.map +1 -0
- package/types/components/Cell/CellTextbox/ui/CellTextTitle.d.ts +5 -0
- package/types/components/Cell/CellTextbox/ui/CellTextTitle.d.ts.map +1 -0
- package/types/components/Cell/index.d.ts +5 -5
- package/types/components/Cell/index.d.ts.map +1 -1
- package/types/components/Combobox/Combobox.styles.d.ts +8 -2
- package/types/components/Combobox/Combobox.styles.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.styles.d.ts +7 -1
- package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
- package/types/components/Popover/Popover.d.ts +2 -2
- package/types/components/Popover/Popover.d.ts.map +1 -1
- package/types/components/Popover/Popover.types.d.ts +19 -14
- package/types/components/Popover/Popover.types.d.ts.map +1 -1
- package/types/components/Select/Select.styles.d.ts +8 -2
- package/types/components/Select/Select.styles.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Cell/Cell.config.d.ts +0 -5
- package/types/examples/plasma_b2c/components/Cell/Cell.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Cell/Cell.d.ts +10 -8
- package/types/examples/plasma_b2c/components/Cell/Cell.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Popover/Popover.d.ts +7 -1
- package/types/examples/plasma_b2c/components/Popover/Popover.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Cell/Cell.config.d.ts +0 -5
- package/types/examples/plasma_web/components/Cell/Cell.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Cell/Cell.d.ts +10 -8
- package/types/examples/plasma_web/components/Cell/Cell.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Popover/Popover.d.ts +7 -1
- package/types/examples/plasma_web/components/Popover/Popover.d.ts.map +1 -1
- package/types/examples/sds_engineer/components/Popover/Popover.d.ts +7 -1
- package/types/examples/sds_engineer/components/Popover/Popover.d.ts.map +1 -1
- package/cjs/components/Cell/Textbox/Textbox.js +0 -20
- package/cjs/components/Cell/Textbox/Textbox.js.map +0 -1
- package/cjs/components/Cell/Textbox/Textbox.styles.js.map +0 -1
- package/cjs/components/Cell/Textbox/ui/TextLabel.js.map +0 -1
- package/cjs/components/Cell/Textbox/ui/TextSubtitle.js.map +0 -1
- package/cjs/components/Cell/Textbox/ui/TextTitle.js.map +0 -1
- package/es/components/Cell/Textbox/Textbox.js +0 -16
- package/es/components/Cell/Textbox/Textbox.js.map +0 -1
- package/es/components/Cell/Textbox/Textbox.styles.js +0 -9
- package/es/components/Cell/Textbox/Textbox.styles.js.map +0 -1
- package/es/components/Cell/Textbox/ui/TextLabel.js.map +0 -1
- package/es/components/Cell/Textbox/ui/TextSubtitle.js.map +0 -1
- package/es/components/Cell/Textbox/ui/TextTitle.js.map +0 -1
- package/styled-components/cjs/components/Cell/Textbox/Textbox.js +0 -19
- package/styled-components/es/components/Cell/Textbox/Textbox.js +0 -12
- package/types/components/Cell/Textbox/Textbox.d.ts +0 -4
- package/types/components/Cell/Textbox/Textbox.d.ts.map +0 -1
- package/types/components/Cell/Textbox/Textbox.styles.d.ts +0 -2
- package/types/components/Cell/Textbox/Textbox.styles.d.ts.map +0 -1
- package/types/components/Cell/Textbox/Textbox.types.d.ts +0 -33
- package/types/components/Cell/Textbox/Textbox.types.d.ts.map +0 -1
- package/types/components/Cell/Textbox/ui/TextLabel.d.ts +0 -5
- package/types/components/Cell/Textbox/ui/TextLabel.d.ts.map +0 -1
- package/types/components/Cell/Textbox/ui/TextSubtitle.d.ts +0 -5
- package/types/components/Cell/Textbox/ui/TextSubtitle.d.ts.map +0 -1
- package/types/components/Cell/Textbox/ui/TextTitle.d.ts +0 -5
- package/types/components/Cell/Textbox/ui/TextTitle.d.ts.map +0 -1
- /package/styled-components/cjs/components/Cell/{Textbox/Textbox.types.js → CellTextbox/CellTextbox.types.js} +0 -0
- /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-
|
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
|
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 {
|
2
|
-
export {
|
3
|
-
export {
|
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 {
|
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: '
|
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", "
|
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 (
|
34
|
-
var
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
closeOnEsc =
|
53
|
-
|
54
|
-
preventOverflow =
|
55
|
-
|
56
|
-
usePortal =
|
57
|
-
view =
|
58
|
-
onToggle =
|
59
|
-
rest = _objectWithoutProperties(
|
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
|
-
|
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
|
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),
|
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,
|
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 {
|
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,
|
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
|
-
|
51
|
+
alignContentLeft: {
|
52
52
|
options: alignLeft,
|
53
53
|
control: {
|
54
54
|
type: 'select',
|
55
55
|
},
|
56
56
|
},
|
57
|
-
|
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
|
-
|
80
|
-
|
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
|
-
<
|
125
|
-
<
|
121
|
+
<CellTextboxTitle>
|
122
|
+
<CellTextbox>Title</CellTextbox>
|
126
123
|
<MyStyledText>My styled Text</MyStyledText>
|
127
|
-
</
|
124
|
+
</CellTextboxTitle>
|
128
125
|
</Cell>
|
129
126
|
);
|
130
127
|
},
|
@@ -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 {
|
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,
|
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
|
-
|
51
|
+
alignContentLeft: {
|
52
52
|
options: alignLeft,
|
53
53
|
control: {
|
54
54
|
type: 'select',
|
55
55
|
},
|
56
56
|
},
|
57
|
-
|
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
|
-
|
80
|
-
|
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
|
-
<
|
125
|
-
<
|
121
|
+
<CellTextbox>
|
122
|
+
<CellTextboxTitle>Title</CellTextboxTitle>
|
126
123
|
<MyStyledText>My styled Text</MyStyledText>
|
127
|
-
</
|
124
|
+
</CellTextbox>
|
128
125
|
</Cell>
|
129
126
|
);
|
130
127
|
},
|
@@ -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,
|
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 {
|
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
|
-
|
24
|
+
alignContentLeft?: AlignProp;
|
29
25
|
/**
|
30
26
|
* Вертикальное выравнивание контента справа.
|
31
27
|
*/
|
32
|
-
|
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 &
|
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,
|
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 @@
|
|
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 @@
|
|
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 @@
|
|
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 @@
|
|
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 @@
|
|
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 {
|
2
|
-
export {
|
3
|
-
export {
|
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 {
|
8
|
-
export type {
|
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,
|
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 &
|
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
|
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,
|
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"}
|