"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.Suffix = void 0;
var _react = _interopRequireDefault(require("react"));
var _Text = _interopRequireDefault(require("../../../Text"));
var _ListItemAction = require("../../ListItemAction.constants");
var _ListItemActionSt = require("../../ListItemAction.st.css.js");
var _jsxFileName = "/home/builduser/work/57e038ea7326c1ec/packages/wix-design-system/dist/cjs/ListItemAction/components/Suffix/Suffix.tsx";
var Suffix = _ref => {
  var {
    suffix,
    size,
    ellipsis,
    disabled
  } = _ref;
  return /*#__PURE__*/_react.default.createElement("div", {
    className: (0, _ListItemActionSt.st)(_ListItemActionSt.classes.textOverrides, {
      size
    }, _ListItemActionSt.classes.suffixBox),
    __self: void 0,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 19,
      columnNumber: 5
    }
  }, /*#__PURE__*/_react.default.createElement(_Text.default, {
    className: _ListItemActionSt.classes.suffix,
    dataHook: _ListItemAction.DATA_HOOK.suffix,
    secondary: true,
    size: size,
    light: !disabled,
    weight: "thin",
    skin: disabled ? 'disabled' : 'standard',
    ellipsis: ellipsis,
    __self: void 0,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 20,
      columnNumber: 7
    }
  }, suffix));
};
exports.Suffix = Suffix;
//# sourceMappingURL=Suffix.js.map