contentoh-components-library 21.2.92 → 21.2.94

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 (31) hide show
  1. package/dist/components/atoms/ButtonV2/ButtonV2.stories.js +1 -1
  2. package/dist/components/atoms/ButtonV2/index.js +1 -1
  3. package/dist/components/atoms/ButtonV2/styles.js +1 -1
  4. package/dist/components/atoms/Image/Image.stories.js +15 -5
  5. package/dist/components/atoms/Image/index.js +3 -1
  6. package/dist/components/atoms/Image/styles.js +10 -7
  7. package/dist/components/atoms/SelectItemV2/SelectItemV2.stories.js +45 -0
  8. package/dist/components/atoms/SelectItemV2/index.js +46 -0
  9. package/dist/components/atoms/SelectItemV2/styles.js +23 -0
  10. package/dist/components/molecules/SelectV2/SelectV2.stories.js +119 -0
  11. package/dist/components/molecules/SelectV2/index.js +298 -0
  12. package/dist/components/molecules/SelectV2/styles.js +42 -0
  13. package/dist/index.js +37 -11
  14. package/package.json +1 -1
  15. package/src/components/atoms/ButtonV2/ButtonV2.stories.js +1 -0
  16. package/src/components/atoms/ButtonV2/index.js +11 -6
  17. package/src/components/atoms/ButtonV2/styles.js +9 -1
  18. package/src/components/atoms/Image/Image.stories.js +10 -2
  19. package/src/components/atoms/Image/index.js +2 -1
  20. package/src/components/atoms/Image/styles.js +9 -0
  21. package/src/components/atoms/SelectItemV2/SelectItemV2.stories.js +26 -0
  22. package/src/components/atoms/SelectItemV2/index.js +45 -0
  23. package/src/components/atoms/SelectItemV2/styles.js +55 -0
  24. package/src/components/molecules/SelectV2/SelectV2.stories.js +114 -0
  25. package/src/components/molecules/SelectV2/index.js +332 -0
  26. package/src/components/molecules/SelectV2/styles.js +100 -0
  27. package/src/index.js +2 -0
  28. package/dist/components/atoms/ChatPopUp/ChatPopUp.stories.js +0 -28
  29. package/dist/components/atoms/ChatPopUp/index.js +0 -841
  30. package/dist/components/atoms/ChatPopUp/styles.js +0 -27
  31. package/dist/components/atoms/ChatPopUp/utils/handlersChat.js +0 -182
@@ -20,7 +20,7 @@ var _default = {
20
20
  component: _index.ButtonV2,
21
21
  argTypes: {
22
22
  type: {
23
- options: [undefined, "white", "whiteS2", "pink", "gray", "purple", "black"],
23
+ options: [undefined, "white", "whiteS2", "whiteS3", "pink", "gray", "purple", "black"],
24
24
  control: {
25
25
  type: "select"
26
26
  }
@@ -51,7 +51,7 @@ var ButtonV2 = function ButtonV2(props) {
51
51
  disabled: disabled,
52
52
  isLoading: isLoading,
53
53
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Button, {
54
- className: "button " + (["white", "whiteS2", "pink", "gray", "purple", "black"].includes(type) ? type : "white") + (transparent ? " transparent " : " fill ") + className,
54
+ className: "button " + (["white", "whiteS2", "whiteS3", "pink", "gray", "purple", "black"].includes(type) ? type : "white") + (transparent ? " transparent" : " fill"),
55
55
  variant: "text",
56
56
  disabled: disabled || isLoading,
57
57
  onClick: /*#__PURE__*/function () {
@@ -15,7 +15,7 @@ var _variables = require("../../../global-files/variables");
15
15
 
16
16
  var _templateObject;
17
17
 
18
- var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: fit-content;\n padding: 0px;\n cursor: ", ";\n border-radius: ", ";\n border: none;\n\n .button {\n --size: ", "px;\n width: 100%;\n min-width: min-content;\n cursor: inherit;\n display: flex;\n flex-direction: ", ";\n gap: 7px;\n align-items: center;\n justify-content: center;\n padding: ", ";\n border-radius: inherit;\n border: ", ";\n font-family: ", ", sans-serif;\n font-size: var(--size);\n line-height: 1;\n text-transform: none;\n\n // tipos de botones fill\n &.fill {\n &.white {\n background-color: white;\n color: #e33aa9;\n border-color: #e33aa9;\n &:hover {\n background-color: #f4f4f4;\n }\n }\n &.whiteS2 {\n background-color: white;\n color: #7b7979;\n border-color: #f0f0f0;\n &:hover {\n background-color: #f4f4f4;\n }\n }\n &.pink {\n background-color: #e33aa9;\n color: white;\n border-color: #e33aa9;\n &:hover {\n background-color: #b42983;\n }\n }\n &.gray {\n background-color: #e8e5e5;\n color: #262626;\n border-color: #7b7979;\n .icon,\n .iconLoading {\n color: #7b7979;\n }\n &:hover {\n background-color: #d6d3d3;\n }\n }\n &.purple {\n background-color: #f7f7fc;\n color: #8a6caa;\n border-color: #8a6caa;\n &:hover {\n background-color: #e0e0f1;\n }\n }\n }\n\n // tipos de botones transparent\n &.transparent {\n &:hover {\n background-color: transparent;\n }\n &.white {\n color: white;\n border-color: #e33aa9;\n &:hover {\n color: #d6d4d4;\n }\n }\n &.pink {\n color: #e33aa9;\n border-color: #e33aa9;\n &:hover {\n color: #b42983;\n }\n }\n &.gray {\n color: #262626;\n border-color: #7b7979;\n .icon,\n .iconLoading {\n color: #7b7979;\n transition: inherit;\n }\n &:hover {\n color: #7b7979;\n .icon,\n .iconLoading {\n color: #bdbbbb;\n }\n }\n }\n &.purple {\n color: #8a6caa;\n border-color: #8a6caa;\n &:hover {\n color: #714f95;\n }\n }\n &.black {\n color: #262626;\n border-color: #262626;\n &:hover {\n color: #7b7979;\n }\n }\n }\n\n .icon,\n .iconLoading {\n display: grid;\n place-items: center;\n color: inherit;\n font-size: ", ";\n }\n .iconLoading {\n font-size: ", ";\n }\n\n // mismo estilo desabilitado para cualquier tipo de boton\n &:disabled {\n background-color: #fcebf7 !important;\n color: #7b7979 !important;\n border-color: #7b7979 !important;\n\n .icon {\n color: #9e9c9c !important;\n }\n .iconLoading {\n color: #9e2674 !important;\n }\n\n &:hover {\n background-color: #fcebf7 !important;\n }\n }\n }\n"])), function (_ref) {
18
+ var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: fit-content;\n padding: 0px;\n cursor: ", ";\n border-radius: ", ";\n border: none;\n\n .button {\n --size: ", "px;\n width: 100%;\n min-width: min-content;\n cursor: inherit;\n display: flex;\n flex-direction: ", ";\n gap: 7px;\n align-items: center;\n justify-content: center;\n padding: ", ";\n border-radius: inherit;\n border: ", ";\n font-family: ", ", sans-serif;\n font-size: var(--size);\n line-height: 1.2;\n text-transform: none;\n\n // tipos de botones fill\n &.fill {\n &.white {\n background-color: white;\n color: #e33aa9;\n border-color: #e33aa9;\n &:hover {\n background-color: #f4f4f4;\n }\n }\n &.whiteS2 {\n background-color: white;\n color: #7b7979;\n border-color: #f0f0f0;\n &:hover {\n background-color: #f4f4f4;\n }\n }\n &.whiteS3 {\n background-color: white;\n color: #262626;\n border-color: #f0f0f0;\n &:hover {\n background-color: #f4f4f4;\n }\n }\n &.pink {\n background-color: #e33aa9;\n color: white;\n border-color: #e33aa9;\n &:hover {\n background-color: #b42983;\n }\n }\n &.gray {\n background-color: #e8e5e5;\n color: #262626;\n border-color: #7b7979;\n .icon,\n .iconLoading {\n color: #7b7979;\n }\n &:hover {\n background-color: #d6d3d3;\n }\n }\n &.purple {\n background-color: #f7f7fc;\n color: #8a6caa;\n border-color: #8a6caa;\n &:hover {\n background-color: #e0e0f1;\n }\n }\n }\n\n // tipos de botones transparent\n &.transparent {\n &:hover {\n background-color: transparent;\n }\n &.white {\n color: white;\n border-color: #e33aa9;\n &:hover {\n color: #d6d4d4;\n }\n }\n &.pink {\n color: #e33aa9;\n border-color: #e33aa9;\n &:hover {\n color: #b42983;\n }\n }\n &.gray {\n color: #262626;\n border-color: #7b7979;\n .icon,\n .iconLoading {\n color: #7b7979;\n transition: inherit;\n }\n &:hover {\n color: #7b7979;\n .icon,\n .iconLoading {\n color: #bdbbbb;\n }\n }\n }\n &.purple {\n color: #8a6caa;\n border-color: #8a6caa;\n &:hover {\n color: #714f95;\n }\n }\n &.black {\n color: #262626;\n border-color: #262626;\n &:hover {\n color: #7b7979;\n }\n }\n }\n\n .icon,\n .iconLoading {\n display: grid;\n place-items: center;\n color: inherit;\n font-size: ", ";\n }\n .iconLoading {\n font-size: ", ";\n }\n\n // mismo estilo desabilitado para cualquier tipo de boton\n &:disabled {\n background-color: #fcebf7 !important;\n color: #7b7979 !important;\n border-color: #7b7979 !important;\n\n .icon {\n color: #9e9c9c !important;\n }\n .iconLoading {\n color: #9e2674 !important;\n }\n\n &:hover {\n background-color: #fcebf7 !important;\n }\n }\n }\n"])), function (_ref) {
19
19
  var disabled = _ref.disabled,
20
20
  isLoading = _ref.isLoading;
21
21
  return disabled || isLoading ? "not-allowed" : "pointer";
@@ -16,7 +16,14 @@ var _jsxRuntime = require("react/jsx-runtime");
16
16
  var _default = {
17
17
  title: "Components/atoms/Image",
18
18
  component: _index.Image,
19
- argTypes: {}
19
+ argTypes: {
20
+ borderType: {
21
+ options: [undefined, "rectangle", "circle"],
22
+ control: {
23
+ type: "select"
24
+ }
25
+ }
26
+ }
20
27
  };
21
28
  exports.default = _default;
22
29
 
@@ -25,7 +32,7 @@ var Template = function Template(args) {
25
32
  };
26
33
 
27
34
  var keyS3_test = "84300/1/chat/playa-213f791b-d890-48e1-be19-28bf5a95d517.jpeg";
28
- var srcTest = "https://content-management-images.s3.amazonaws.com/".concat(keyS3_test);
35
+ var srcTest = "https://content-management-profile.s3.amazonaws.com/id-59/59.png";
29
36
  var ImageTest = Template.bind({});
30
37
  exports.ImageTest = ImageTest;
31
38
  ImageTest.args = {
@@ -35,7 +42,8 @@ ImageTest.args = {
35
42
  src: srcTest,
36
43
  componentDefault: /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
37
44
  children: " test error "
38
- })
45
+ }),
46
+ borderType: undefined
39
47
  };
40
48
  var keyS3_OK = "84300/1/chat/f6579ed5-16e5-48d8-ace5-6be8e8e68f53-38896acf-9179-4686-9088-9784df624ab8.png";
41
49
  var srcOK = "https://content-management-images.s3.amazonaws.com/".concat(keyS3_OK);
@@ -47,7 +55,8 @@ ImageOK.args = {
47
55
  src: srcOK,
48
56
  componentDefault: /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
49
57
  children: " img no cargada "
50
- })
58
+ }),
59
+ borderType: undefined
51
60
  };
52
61
  var keyS3_ERROR = "84300/1/chat/21dba1da-3c60-42c4-97bd-033664808256-fb19ff57-b91c-4ef2-ba2a-d857b55fb33b.svg";
53
62
  var srcERROR = "https://content-management-images.s3.amazonaws.com/".concat(keyS3_ERROR);
@@ -59,5 +68,6 @@ ImageERROR.args = {
59
68
  src: srcERROR,
60
69
  componentDefault: /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
61
70
  children: " ERROR al cargar "
62
- })
71
+ }),
72
+ borderType: undefined
63
73
  };
@@ -27,7 +27,8 @@ var Image = function Image(props) {
27
27
  classNameLoading = props.classNameLoading,
28
28
  src = props.src,
29
29
  componentDefault = props.componentDefault,
30
- classNameImg = props.classNameImg;
30
+ classNameImg = props.classNameImg,
31
+ borderType = props.borderType;
31
32
 
32
33
  var _useState = (0, _react.useState)(),
33
34
  _useState2 = (0, _slicedToArray2.default)(_useState, 2),
@@ -49,6 +50,7 @@ var Image = function Image(props) {
49
50
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
50
51
  className: className,
51
52
  width: width,
53
+ borderType: borderType,
52
54
  children: [src && (imgLoad === undefined || loading) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.ContainerLoading, {
53
55
  className: classNameLoading,
54
56
  sizeLoading: sizeLoading,
@@ -15,25 +15,28 @@ var _variables = require("../../../global-files/variables");
15
15
 
16
16
  var _templateObject, _templateObject2, _templateObject3;
17
17
 
18
- var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: grid;\n place-items: center;\n width: ", ";\n min-width: min-content;\n"])), function (_ref) {
18
+ var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: grid;\n place-items: center;\n width: ", ";\n min-width: min-content;\n overflow: hidden;\n border-radius: ", ";\n"])), function (_ref) {
19
19
  var width = _ref.width;
20
20
  return width ? width : "min-content";
21
+ }, function (_ref2) {
22
+ var borderType = _ref2.borderType;
23
+ return (borderType === null || borderType === void 0 ? void 0 : borderType.toLowerCase()) === "rectangle" ? "6px" : (borderType === null || borderType === void 0 ? void 0 : borderType.toLowerCase()) === "circle" ? "50%" : "0px"; // default none
21
24
  });
22
25
 
23
26
  exports.Container = Container;
24
27
 
25
- var ContainerLoading = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n width: 100%;\n display: grid;\n place-items: center;\n min-width: min-content;\n font-size: ", "px;\n color: ", ";\n padding: 5px;\n"])), function (_ref2) {
26
- var sizeLoading = _ref2.sizeLoading;
28
+ var ContainerLoading = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n width: 100%;\n display: grid;\n place-items: center;\n min-width: min-content;\n font-size: ", "px;\n color: ", ";\n padding: 5px;\n"])), function (_ref3) {
29
+ var sizeLoading = _ref3.sizeLoading;
27
30
  return sizeLoading ? sizeLoading : "30";
28
- }, function (_ref3) {
29
- var colorLoading = _ref3.colorLoading;
31
+ }, function (_ref4) {
32
+ var colorLoading = _ref4.colorLoading;
30
33
  return colorLoading ? colorLoading : "#9e2674";
31
34
  });
32
35
 
33
36
  exports.ContainerLoading = ContainerLoading;
34
37
 
35
- var Img = _styledComponents.default.img(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n display: ", ";\n width: 100%;\n object-fit: contain;\n"])), function (_ref4) {
36
- var show = _ref4.show;
38
+ var Img = _styledComponents.default.img(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n display: ", ";\n width: 100%;\n object-fit: contain;\n border-radius: inherit;\n"])), function (_ref5) {
39
+ var show = _ref5.show;
37
40
  return show ? "grid" : "none";
38
41
  });
39
42
 
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = exports.SelectItemV2Test = void 0;
9
+
10
+ var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
11
+
12
+ var _index = require("./index");
13
+
14
+ var _jsxRuntime = require("react/jsx-runtime");
15
+
16
+ var _default = {
17
+ title: "Components/atoms/SelectItemV2",
18
+ component: _index.SelectItemV2,
19
+ argTypes: {
20
+ checkbox: {
21
+ options: [undefined, true, false],
22
+ control: {
23
+ type: "select"
24
+ }
25
+ }
26
+ }
27
+ };
28
+ exports.default = _default;
29
+
30
+ var Template = function Template(args) {
31
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.SelectItemV2, (0, _objectSpread2.default)({}, args));
32
+ };
33
+
34
+ var SelectItemV2Test = Template.bind({});
35
+ exports.SelectItemV2Test = SelectItemV2Test;
36
+ SelectItemV2Test.args = {
37
+ label: "Label del item",
38
+ value: 1,
39
+ checkbox: true,
40
+ selected: false,
41
+ onClick: function onClick(isSelected, value) {
42
+ console.log("isSelected:", isSelected);
43
+ console.log("value:", value);
44
+ }
45
+ };
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+
3
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.SelectItemV2 = void 0;
9
+
10
+ var _react = _interopRequireWildcard(require("react"));
11
+
12
+ var _material = require("@mui/material");
13
+
14
+ var _styles = require("./styles");
15
+
16
+ var _utils = require("../../../global-files/utils");
17
+
18
+ var _jsxRuntime = require("react/jsx-runtime");
19
+
20
+ var SelectItemV2 = function SelectItemV2(props) {
21
+ var id = props.id,
22
+ keyId = props.keyId,
23
+ className = props.className,
24
+ label = props.label,
25
+ value = props.value,
26
+ checkbox = props.checkbox,
27
+ selected = props.selected,
28
+ _onClick = props.onClick;
29
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
30
+ className: "selectItemV2" + ((0, _utils.isStringEmpty)(className) ? "" : " " + className) + (!checkbox && selected ? " selectedItem" : ""),
31
+ id: id,
32
+ checkbox: checkbox,
33
+ onClick: function onClick(event) {
34
+ return _onClick && _onClick(!selected, value);
35
+ },
36
+ children: [checkbox !== undefined && /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Checkbox, {
37
+ className: "checkbox" + (checkbox ? "" : " hidden"),
38
+ checked: selected
39
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
40
+ className: "label",
41
+ children: label
42
+ })]
43
+ }, keyId);
44
+ };
45
+
46
+ exports.SelectItemV2 = SelectItemV2;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.Container = void 0;
9
+
10
+ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
11
+
12
+ var _styledComponents = _interopRequireDefault(require("styled-components"));
13
+
14
+ var _variables = require("../../../global-files/variables");
15
+
16
+ var _templateObject;
17
+
18
+ var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: fit-content;\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n gap: 11px;\n justify-content: flex-start;\n align-items: center;\n cursor: pointer;\n padding: 8px;\n transition: background 0.25s;\n //border: 1px solid lightgray;\n\n &:hover {\n background-color: #f0f0f0;\n }\n\n .checkbox {\n padding: 3px;\n\n &.hidden {\n visibility: hidden;\n }\n\n &.Mui-checked {\n color: #808080;\n }\n\n .MuiSvgIcon-root {\n font-size: 16px;\n }\n }\n\n .label {\n cursor: inherit;\n font-family: ", ", sans-serif;\n font-size: 12px;\n text-align: left;\n color: #262626;\n line-height: 1.25;\n padding: ", "px;\n }\n\n // para item sin checkbox seleccionado\n &.selectedItem {\n background-color: #8e8e8e;\n .label {\n font-family: ", ", sans-serif;\n color: white;\n }\n }\n"])), _variables.FontFamily.RobotoRegular, function (_ref) {
19
+ var checkbox = _ref.checkbox;
20
+ return checkbox === undefined ? "3" : "0";
21
+ }, _variables.FontFamily.RobotoMedium);
22
+
23
+ exports.Container = Container;
@@ -0,0 +1,119 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = exports.SelectV2Test = void 0;
9
+
10
+ var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
11
+
12
+ var _index = require("./index");
13
+
14
+ var _jsxRuntime = require("react/jsx-runtime");
15
+
16
+ var _default = {
17
+ title: "Components/molecules/SelectV2",
18
+ component: _index.SelectV2,
19
+ argTypes: {
20
+ positionDropdown: {
21
+ options: [undefined, "topStart", "topEnd", "topCenter", "rightStart", "rightEnd", "rightCenter", "bottomStart", "bottomEnd", "bottomCenter", "leftStart", "leftEnd", "leftCenter"],
22
+ control: {
23
+ type: "select"
24
+ }
25
+ },
26
+ triggerType: {
27
+ options: [undefined, "hover", "click"],
28
+ control: {
29
+ type: "select"
30
+ }
31
+ },
32
+ typeSelectItems: {
33
+ options: [undefined, "checkbox", "marginCheckbox", "labelOnly"],
34
+ control: {
35
+ type: "select"
36
+ }
37
+ },
38
+ borderType: {
39
+ options: [undefined, "rectangle", "oval"],
40
+ control: {
41
+ type: "select"
42
+ }
43
+ },
44
+ alignmentItemsOverflow: {
45
+ options: [undefined, "columns", "rows"],
46
+ control: {
47
+ type: "select"
48
+ }
49
+ }
50
+ }
51
+ };
52
+ exports.default = _default;
53
+
54
+ var Template = function Template(args) {
55
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.SelectV2, (0, _objectSpread2.default)({}, args));
56
+ };
57
+
58
+ var SelectV2Test = Template.bind({});
59
+ exports.SelectV2Test = SelectV2Test;
60
+ SelectV2Test.args = {
61
+ items: [{
62
+ label: "Palomitas de maiz",
63
+ value: 1,
64
+ selected: false
65
+ }, {
66
+ label: "Sabritas",
67
+ value: 2,
68
+ selected: true
69
+ }, {
70
+ label: "sabritas Doritos",
71
+ value: 3,
72
+ selected: false
73
+ }, {
74
+ label: "Este es un texto muy largo que deberia llegar al limite establecido para el width",
75
+ value: 4,
76
+ selected: true
77
+ }, {
78
+ label: "galletas",
79
+ value: 5,
80
+ selected: false
81
+ }, {
82
+ label: "jugo de uva",
83
+ value: 6,
84
+ selected: false
85
+ }],
86
+ triggerType: "hover",
87
+ selectButton: {
88
+ className: "btnSelectPrueba",
89
+ type: "whiteS3",
90
+ transparent: undefined,
91
+ disabled: false,
92
+ label: "select de prueba",
93
+ size: 12,
94
+ borderType: "oval"
95
+ },
96
+ defaultItem: {
97
+ label: "Ningun filtro",
98
+ itemType: undefined,
99
+ showLabelInSelect: true
100
+ },
101
+ inputSearch: {
102
+ className: "inputBusqueda",
103
+ defaultText: "hola"
104
+ },
105
+ typeSelectItems: undefined,
106
+ borderType: undefined,
107
+ maxWidthSelect: "150px",
108
+ maxWidthDropdown: "300px",
109
+ maxHeightDropdown: "300px",
110
+ maxWidthItems: "100px",
111
+ alignmentItemsOverflow: undefined,
112
+ multiple: true,
113
+ classNameSelect: "selectPrueba",
114
+ classNameDropdown: "dropdownSelectPrueba",
115
+ positionDropdown: undefined,
116
+ onChange: function onChange(selectedItems) {
117
+ console.log("selectedItems:", selectedItems);
118
+ }
119
+ };