@luminati-io/uikit 6.3.0 → 6.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -36833,8 +36833,8 @@ __webpack_require__.r(__webpack_exports__);
36833
36833
 
36834
36834
 
36835
36835
  /*jslint react:true*/
36836
- var _excluded = ["text", "variant", "size", "disabled", "loading", "loadingText", "icon", "iconPlacement"],
36837
- _excluded2 = ["isLeft", "isRight"];
36836
+ var _excluded = ["className", "classNamePrefix", "variant", "size", "disabled", "loading", "loadingText", "icon", "iconPlacement", "text", "children"],
36837
+ _excluded2 = ["isLeft", "isRight", "size"];
36838
36838
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
36839
36839
  function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
36840
36840
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
@@ -36847,7 +36847,9 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
36847
36847
 
36848
36848
 
36849
36849
  var Button = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (_ref, ref) {
36850
- var text = _ref.text,
36850
+ var className = _ref.className,
36851
+ _ref$classNamePrefix = _ref.classNamePrefix,
36852
+ classNamePrefix = _ref$classNamePrefix === void 0 ? 'uikit_button' : _ref$classNamePrefix,
36851
36853
  _ref$variant = _ref.variant,
36852
36854
  variant = _ref$variant === void 0 ? 'primary' : _ref$variant,
36853
36855
  _ref$size = _ref.size,
@@ -36859,6 +36861,8 @@ var Button = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRe
36859
36861
  icon = _ref.icon,
36860
36862
  _ref$iconPlacement = _ref.iconPlacement,
36861
36863
  iconPlacement = _ref$iconPlacement === void 0 ? 'left' : _ref$iconPlacement,
36864
+ text = _ref.text,
36865
+ children = _ref.children,
36862
36866
  rest = _objectWithoutProperties(_ref, _excluded);
36863
36867
  var _getIconProps = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getIconProps)('Button', {
36864
36868
  size: size,
@@ -36867,25 +36871,44 @@ var Button = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRe
36867
36871
  }),
36868
36872
  isLeft = _getIconProps.isLeft,
36869
36873
  isRight = _getIconProps.isRight,
36874
+ iconSize = _getIconProps.size,
36870
36875
  iconProps = _objectWithoutProperties(_getIconProps, _excluded2);
36876
+ var iconContent = !loading && (isLeft || isRight) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, _extends({
36877
+ className: (0,_util__WEBPACK_IMPORTED_MODULE_5__.classNames)(classNamePrefix, {
36878
+ '-icon': true,
36879
+ '-icon-left': isLeft,
36880
+ '-icon-right': isRight
36881
+ }),
36882
+ size: iconSize
36883
+ }, iconProps));
36884
+ var buttonText = loading ? loadingText : text || children;
36871
36885
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledButton, _extends({
36872
36886
  ref: ref
36873
36887
  }, rest, {
36888
+ className: (0,_util__WEBPACK_IMPORTED_MODULE_5__.classNames)(null, null, className, classNamePrefix),
36874
36889
  disabled: loading || disabled,
36875
36890
  $variant: variant,
36876
36891
  $size: size,
36877
36892
  $iconPlacement: isLeft || loading ? 'left' : isRight ? 'right' : ''
36878
36893
  }), loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_loading_icon__WEBPACK_IMPORTED_MODULE_7__.LoadingIcon, {
36879
- size: iconProps.size
36880
- }), isLeft && !loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, iconProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, {
36894
+ className: (0,_util__WEBPACK_IMPORTED_MODULE_5__.classNames)(classNamePrefix, {
36895
+ '-icon': true,
36896
+ '-icon-loading': true
36897
+ }),
36898
+ size: iconSize
36899
+ }), isLeft && iconContent, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, {
36900
+ className: (0,_util__WEBPACK_IMPORTED_MODULE_5__.classNames)(classNamePrefix, {
36901
+ '-text': true
36902
+ }),
36881
36903
  variant: size == 'xs' ? 'sm' : 'lg',
36882
36904
  no_wrap: true,
36883
36905
  "data-label": true
36884
- }, loading ? loadingText : text), isRight && !loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, iconProps));
36906
+ }, buttonText), isRight && iconContent);
36885
36907
  });
36886
36908
  Button.displayName = 'Button';
36887
36909
  Button.propTypes = {
36888
- text: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node).isRequired,
36910
+ className: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
36911
+ classNamePrefix: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
36889
36912
  variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['primary', 'secondary', 'negative', 'negative_secondary', 'positive', 'white']),
36890
36913
  size: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['xs', 'sm', 'md', 'lg']),
36891
36914
  icon: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(_utils__WEBPACK_IMPORTED_MODULE_6__.iconNames),
@@ -39915,6 +39938,7 @@ __webpack_require__.r(__webpack_exports__);
39915
39938
  /* harmony export */ Link: () => (/* reexport safe */ _link__WEBPACK_IMPORTED_MODULE_13__.Link),
39916
39939
  /* harmony export */ Menu: () => (/* reexport safe */ _menu__WEBPACK_IMPORTED_MODULE_14__.Menu),
39917
39940
  /* harmony export */ Modal: () => (/* reexport module object */ _modal__WEBPACK_IMPORTED_MODULE_3__),
39941
+ /* harmony export */ Popover: () => (/* reexport safe */ _popover__WEBPACK_IMPORTED_MODULE_25__.Popover),
39918
39942
  /* harmony export */ Progress: () => (/* reexport safe */ _progress__WEBPACK_IMPORTED_MODULE_15__.Progress),
39919
39943
  /* harmony export */ ProgressBar: () => (/* reexport safe */ _progress__WEBPACK_IMPORTED_MODULE_15__.ProgressBar),
39920
39944
  /* harmony export */ RemovableTag: () => (/* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_18__.RemovableTag),
@@ -39923,17 +39947,17 @@ __webpack_require__.r(__webpack_exports__);
39923
39947
  /* harmony export */ Table: () => (/* reexport safe */ _table__WEBPACK_IMPORTED_MODULE_17__.Table),
39924
39948
  /* harmony export */ Tabs: () => (/* reexport safe */ _tab__WEBPACK_IMPORTED_MODULE_23__.Tabs),
39925
39949
  /* harmony export */ TagGroup: () => (/* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_18__.TagGroup),
39926
- /* harmony export */ ThemeProvider: () => (/* reexport safe */ _themes__WEBPACK_IMPORTED_MODULE_25__.ThemeProvider),
39950
+ /* harmony export */ ThemeProvider: () => (/* reexport safe */ _themes__WEBPACK_IMPORTED_MODULE_26__.ThemeProvider),
39927
39951
  /* harmony export */ Toast: () => (/* reexport safe */ _toast__WEBPACK_IMPORTED_MODULE_19__.Toast),
39928
39952
  /* harmony export */ Toaster: () => (/* reexport safe */ _toast__WEBPACK_IMPORTED_MODULE_19__.Toaster),
39929
39953
  /* harmony export */ Tooltip: () => (/* reexport safe */ _tooltip__WEBPACK_IMPORTED_MODULE_24__.Tooltip),
39930
39954
  /* harmony export */ Tooltip2: () => (/* reexport safe */ _tooltip__WEBPACK_IMPORTED_MODULE_24__.Tooltip2),
39931
39955
  /* harmony export */ Typography: () => (/* reexport module object */ _typography__WEBPACK_IMPORTED_MODULE_5__),
39932
- /* harmony export */ globalConfig: () => (/* reexport safe */ _global_config__WEBPACK_IMPORTED_MODULE_26__.globalConfig),
39933
- /* harmony export */ setGlobalConfig: () => (/* reexport safe */ _global_config__WEBPACK_IMPORTED_MODULE_26__.setGlobalConfig),
39934
- /* harmony export */ theme: () => (/* reexport safe */ _themes__WEBPACK_IMPORTED_MODULE_25__.lightTheme),
39956
+ /* harmony export */ globalConfig: () => (/* reexport safe */ _global_config__WEBPACK_IMPORTED_MODULE_27__.globalConfig),
39957
+ /* harmony export */ setGlobalConfig: () => (/* reexport safe */ _global_config__WEBPACK_IMPORTED_MODULE_27__.setGlobalConfig),
39958
+ /* harmony export */ theme: () => (/* reexport safe */ _themes__WEBPACK_IMPORTED_MODULE_26__.lightTheme),
39935
39959
  /* harmony export */ translation: () => (/* reexport safe */ _translation__WEBPACK_IMPORTED_MODULE_4__["default"]),
39936
- /* harmony export */ useTheme: () => (/* reexport safe */ _themes__WEBPACK_IMPORTED_MODULE_25__.useTheme),
39960
+ /* harmony export */ useTheme: () => (/* reexport safe */ _themes__WEBPACK_IMPORTED_MODULE_26__.useTheme),
39937
39961
  /* harmony export */ useToaster: () => (/* reexport safe */ _toast__WEBPACK_IMPORTED_MODULE_19__.useToaster),
39938
39962
  /* harmony export */ withPopover: () => (/* reexport safe */ _hoc__WEBPACK_IMPORTED_MODULE_12__.withPopover)
39939
39963
  /* harmony export */ });
@@ -39962,8 +39986,9 @@ __webpack_require__.r(__webpack_exports__);
39962
39986
  /* harmony import */ var _infochip__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./infochip */ "./src/infochip.js");
39963
39987
  /* harmony import */ var _tab__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./tab */ "./src/tab/index.js");
39964
39988
  /* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./tooltip */ "./src/tooltip/index.js");
39965
- /* harmony import */ var _themes__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./themes */ "./src/themes/index.js");
39966
- /* harmony import */ var _global_config__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./global_config */ "./src/global_config.js");
39989
+ /* harmony import */ var _popover__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./popover */ "./src/popover/index.js");
39990
+ /* harmony import */ var _themes__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./themes */ "./src/themes/index.js");
39991
+ /* harmony import */ var _global_config__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./global_config */ "./src/global_config.js");
39967
39992
  // LICENSE_CODE ZON
39968
39993
 
39969
39994
 
@@ -39995,6 +40020,7 @@ __webpack_require__.r(__webpack_exports__);
39995
40020
 
39996
40021
 
39997
40022
 
40023
+
39998
40024
 
39999
40025
 
40000
40026
  /***/ }),
@@ -47271,13 +47297,14 @@ __webpack_require__.r(__webpack_exports__);
47271
47297
  /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
47272
47298
  /* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
47273
47299
  /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
47274
- /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
47300
+ /* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util */ "./src/util/index.js");
47301
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
47275
47302
  // LICENSE_CODE ZON
47276
47303
 
47277
47304
 
47278
47305
  /*jslint react:true*/
47279
47306
  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); }
47280
- var _excluded = ["text", "variant", "size", "underline", "icon", "iconPlacement", "as", "href", "target", "rel", "newTab"],
47307
+ var _excluded = ["className", "classNamePrefix", "variant", "size", "underline", "icon", "iconPlacement", "as", "href", "target", "rel", "newTab", "text", "children"],
47281
47308
  _excluded2 = ["isLeft", "isRight"];
47282
47309
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
47283
47310
  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; }
@@ -47293,8 +47320,11 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
47293
47320
 
47294
47321
 
47295
47322
 
47323
+
47296
47324
  var Link = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (_ref, ref) {
47297
- var text = _ref.text,
47325
+ var className = _ref.className,
47326
+ _ref$classNamePrefix = _ref.classNamePrefix,
47327
+ classNamePrefix = _ref$classNamePrefix === void 0 ? 'uikit_link' : _ref$classNamePrefix,
47298
47328
  _ref$variant = _ref.variant,
47299
47329
  variant = _ref$variant === void 0 ? 'primary' : _ref$variant,
47300
47330
  _ref$size = _ref.size,
@@ -47308,8 +47338,11 @@ var Link = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(
47308
47338
  target = _ref.target,
47309
47339
  rel = _ref.rel,
47310
47340
  newTab = _ref.newTab,
47341
+ text = _ref.text,
47342
+ children = _ref.children,
47311
47343
  rest = _objectWithoutProperties(_ref, _excluded);
47312
- var linkProps = _objectSpread(_objectSpread({}, rest), getLinkProps({
47344
+ var mergedText = text || children;
47345
+ var lnkProps = _objectSpread(_objectSpread({}, rest), getLinkProps({
47313
47346
  as: as,
47314
47347
  href: href,
47315
47348
  target: target,
@@ -47318,8 +47351,8 @@ var Link = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(
47318
47351
  }));
47319
47352
  if (variant == 'inline') return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(InlineLink, _extends({
47320
47353
  ref: ref
47321
- }, linkProps), text);
47322
- var _getIconProps = (0,_utils__WEBPACK_IMPORTED_MODULE_5__.getIconProps)('Link', {
47354
+ }, lnkProps), mergedText);
47355
+ var _getIconProps = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getIconProps)('Link', {
47323
47356
  size: size,
47324
47357
  icon: icon,
47325
47358
  iconPlacement: iconPlacement
@@ -47327,29 +47360,42 @@ var Link = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(
47327
47360
  isLeft = _getIconProps.isLeft,
47328
47361
  isRight = _getIconProps.isRight,
47329
47362
  iconProps = _objectWithoutProperties(_getIconProps, _excluded2);
47330
- var labelProps = {
47331
- variant: {
47332
- lg: 'lg',
47333
- sm: 'xs'
47334
- }[size] || 'base',
47335
- children: text,
47336
- no_wrap: true,
47337
- 'data-label': true
47338
- };
47339
47363
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledLink, _extends({
47340
47364
  ref: ref
47341
- }, linkProps, {
47365
+ }, lnkProps, {
47366
+ className: (0,_util__WEBPACK_IMPORTED_MODULE_5__.classNames)(null, null, className, classNamePrefix),
47342
47367
  $variant: variant,
47343
47368
  $underline: underline,
47344
47369
  $size: size
47345
- }), isLeft && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, iconProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, labelProps), isRight && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, iconProps));
47370
+ }), isLeft && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, _extends({
47371
+ className: (0,_util__WEBPACK_IMPORTED_MODULE_5__.classNames)(classNamePrefix, {
47372
+ '-icon': true,
47373
+ '-icon-left': true
47374
+ })
47375
+ }, iconProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, {
47376
+ className: (0,_util__WEBPACK_IMPORTED_MODULE_5__.classNames)(classNamePrefix, {
47377
+ '-text': true
47378
+ }),
47379
+ variant: {
47380
+ lg: 'lg',
47381
+ sm: 'xs'
47382
+ }[size] || 'base',
47383
+ no_wrap: true,
47384
+ "data-label": "true"
47385
+ }, mergedText), isRight && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, _extends({
47386
+ className: (0,_util__WEBPACK_IMPORTED_MODULE_5__.classNames)(classNamePrefix, {
47387
+ '-icon': true,
47388
+ '-icon-right': true
47389
+ })
47390
+ }, iconProps)));
47346
47391
  });
47347
47392
  Link.displayName = 'Link';
47348
47393
  Link.propTypes = {
47349
- text: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node).isRequired,
47394
+ className: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
47395
+ classNamePrefix: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
47350
47396
  variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['primary', 'secondary', 'inline']),
47351
47397
  size: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['sm', 'md', 'lg']),
47352
- icon: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(_utils__WEBPACK_IMPORTED_MODULE_5__.iconNames),
47398
+ icon: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(_utils__WEBPACK_IMPORTED_MODULE_6__.iconNames),
47353
47399
  iconPlacement: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['left', 'right']),
47354
47400
  href: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
47355
47401
  newTab: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
@@ -47377,7 +47423,7 @@ var StyledLink = styled_components__WEBPACK_IMPORTED_MODULE_2___default().a.with
47377
47423
  displayName: "StyledLink",
47378
47424
  componentId: "sc-1ilmd36-0"
47379
47425
  })(["display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:0 none;border:0 none;padding:0;gap:", ";color:", ";[data-label]{text-decoration:", ";}cursor:pointer;&:disabled{cursor:not-allowed;}&:hover:not(:disabled){color:", ";[data-label]{text-decoration:", ";}}&:hover,:visited,:focus{text-decoration:none;}"], function (props) {
47380
- return (0,_utils__WEBPACK_IMPORTED_MODULE_5__.toPixel)(props.$size == 'lg' ? 8 : 4);
47426
+ return (0,_utils__WEBPACK_IMPORTED_MODULE_6__.toPixel)(props.$size == 'lg' ? 8 : 4);
47381
47427
  }, function (_ref2) {
47382
47428
  var $variant = _ref2.$variant,
47383
47429
  color = _ref2.theme.color;
@@ -49232,6 +49278,241 @@ var CompContainer = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div
49232
49278
 
49233
49279
  /***/ }),
49234
49280
 
49281
+ /***/ "./src/popover/index.js":
49282
+ /*!******************************!*\
49283
+ !*** ./src/popover/index.js ***!
49284
+ \******************************/
49285
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
49286
+
49287
+ "use strict";
49288
+ __webpack_require__.r(__webpack_exports__);
49289
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
49290
+ /* harmony export */ Popover: () => (/* reexport safe */ _popover__WEBPACK_IMPORTED_MODULE_0__.Popover)
49291
+ /* harmony export */ });
49292
+ /* harmony import */ var _popover__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./popover */ "./src/popover/popover.js");
49293
+ // LICENSE_CODE ZON
49294
+
49295
+
49296
+ /*jslint react:true*/
49297
+
49298
+
49299
+ /***/ }),
49300
+
49301
+ /***/ "./src/popover/placements.js":
49302
+ /*!***********************************!*\
49303
+ !*** ./src/popover/placements.js ***!
49304
+ \***********************************/
49305
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
49306
+
49307
+ "use strict";
49308
+ __webpack_require__.r(__webpack_exports__);
49309
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
49310
+ /* harmony export */ placements: () => (/* binding */ placements)
49311
+ /* harmony export */ });
49312
+ // LICENSE_CODE ZON
49313
+
49314
+
49315
+ /*jslint react:true*/
49316
+ var autoAdjustOverflowTopBottom = {
49317
+ shiftX: 64,
49318
+ adjustY: 1
49319
+ };
49320
+ var autoAdjustOverflowLeftRight = {
49321
+ adjustX: 1,
49322
+ shiftY: true
49323
+ };
49324
+ var targetOffset = [0, 0];
49325
+ var placements = {
49326
+ top: {
49327
+ points: ['bc', 'tc'],
49328
+ overflow: autoAdjustOverflowTopBottom,
49329
+ offset: [0, -6],
49330
+ targetOffset: targetOffset
49331
+ },
49332
+ topLeft: {
49333
+ points: ['bl', 'tl'],
49334
+ overflow: autoAdjustOverflowTopBottom,
49335
+ offset: [0, -6],
49336
+ targetOffset: targetOffset
49337
+ },
49338
+ topRight: {
49339
+ points: ['br', 'tr'],
49340
+ overflow: autoAdjustOverflowTopBottom,
49341
+ offset: [0, -6],
49342
+ targetOffset: targetOffset
49343
+ },
49344
+ bottom: {
49345
+ points: ['tc', 'bc'],
49346
+ overflow: autoAdjustOverflowTopBottom,
49347
+ offset: [0, 6],
49348
+ targetOffset: targetOffset
49349
+ },
49350
+ bottomLeft: {
49351
+ points: ['tl', 'bl'],
49352
+ overflow: autoAdjustOverflowTopBottom,
49353
+ offset: [0, 6],
49354
+ targetOffset: targetOffset
49355
+ },
49356
+ bottomRight: {
49357
+ points: ['tr', 'br'],
49358
+ overflow: autoAdjustOverflowTopBottom,
49359
+ offset: [0, 6],
49360
+ targetOffset: targetOffset
49361
+ },
49362
+ left: {
49363
+ points: ['cr', 'cl'],
49364
+ overflow: autoAdjustOverflowLeftRight,
49365
+ offset: [-6, 0],
49366
+ targetOffset: targetOffset
49367
+ },
49368
+ leftTop: {
49369
+ points: ['tr', 'tl'],
49370
+ overflow: autoAdjustOverflowLeftRight,
49371
+ offset: [-6, 0],
49372
+ targetOffset: targetOffset
49373
+ },
49374
+ leftBottom: {
49375
+ points: ['br', 'bl'],
49376
+ overflow: autoAdjustOverflowLeftRight,
49377
+ offset: [-6, 0],
49378
+ targetOffset: targetOffset
49379
+ },
49380
+ right: {
49381
+ points: ['cl', 'cr'],
49382
+ overflow: autoAdjustOverflowLeftRight,
49383
+ offset: [6, 0],
49384
+ targetOffset: targetOffset
49385
+ },
49386
+ rightTop: {
49387
+ points: ['tl', 'tr'],
49388
+ overflow: autoAdjustOverflowLeftRight,
49389
+ offset: [6, 0],
49390
+ targetOffset: targetOffset
49391
+ },
49392
+ rightBottom: {
49393
+ points: ['bl', 'br'],
49394
+ overflow: autoAdjustOverflowLeftRight,
49395
+ offset: [6, 0],
49396
+ targetOffset: targetOffset
49397
+ }
49398
+ };
49399
+
49400
+ /***/ }),
49401
+
49402
+ /***/ "./src/popover/popover.js":
49403
+ /*!********************************!*\
49404
+ !*** ./src/popover/popover.js ***!
49405
+ \********************************/
49406
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
49407
+
49408
+ "use strict";
49409
+ __webpack_require__.r(__webpack_exports__);
49410
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
49411
+ /* harmony export */ Popover: () => (/* binding */ _Popover)
49412
+ /* harmony export */ });
49413
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "prop-types");
49414
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
49415
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
49416
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
49417
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
49418
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
49419
+ /* harmony import */ var _rc_component_trigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @rc-component/trigger */ "./node_modules/@rc-component/trigger/es/index.js");
49420
+ /* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util */ "./src/util/index.js");
49421
+ /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../constants */ "./src/constants.js");
49422
+ /* harmony import */ var _placements__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./placements */ "./src/popover/placements.js");
49423
+ // LICENSE_CODE ZON
49424
+
49425
+
49426
+ /*jslint react:true*/
49427
+ var _excluded = ["className", "classNamePrefix", "style", "trigger", "visible", "placement", "popover", "onVisibleChange", "afterVisibleChange", "children"];
49428
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
49429
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
49430
+
49431
+
49432
+
49433
+
49434
+
49435
+
49436
+
49437
+ var _Popover = function Popover(_ref) {
49438
+ var className = _ref.className,
49439
+ _ref$classNamePrefix = _ref.classNamePrefix,
49440
+ classNamePrefix = _ref$classNamePrefix === void 0 ? 'uikit_popover' : _ref$classNamePrefix,
49441
+ style = _ref.style,
49442
+ trigger = _ref.trigger,
49443
+ visible = _ref.visible,
49444
+ _ref$placement = _ref.placement,
49445
+ placement = _ref$placement === void 0 ? 'bottom' : _ref$placement,
49446
+ popover = _ref.popover,
49447
+ onVisibleChange = _ref.onVisibleChange,
49448
+ afterVisibleChange = _ref.afterVisibleChange,
49449
+ children = _ref.children,
49450
+ rest = _objectWithoutProperties(_ref, _excluded);
49451
+ var theme = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.useTheme)();
49452
+ var mouseEnterDelay = (0,_util__WEBPACK_IMPORTED_MODULE_4__.firstDefined)(rest.showDelay, _Popover.showDelay);
49453
+ var mouseLeaveDelay = (0,_util__WEBPACK_IMPORTED_MODULE_4__.firstDefined)(rest.hideDelay, _Popover.hideDelay);
49454
+ var popupMotion = {
49455
+ motionName: "".concat(classNamePrefix, "-motion"),
49456
+ motionAppear: true,
49457
+ motionEnter: true,
49458
+ motionLeave: true,
49459
+ motionDeadline: 500
49460
+ };
49461
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PopoverStyle, {
49462
+ $prefixCls: classNamePrefix,
49463
+ $theme: theme
49464
+ }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_rc_component_trigger__WEBPACK_IMPORTED_MODULE_3__["default"], {
49465
+ prefixCls: classNamePrefix,
49466
+ mask: true,
49467
+ action: trigger,
49468
+ popupPlacement: placement,
49469
+ popupMotion: popupMotion,
49470
+ popupClassName: className,
49471
+ popupStyle: style,
49472
+ popupVisible: visible,
49473
+ onPopupVisibleChange: onVisibleChange,
49474
+ builtinPlacements: _placements__WEBPACK_IMPORTED_MODULE_6__.placements,
49475
+ zIndex: _constants__WEBPACK_IMPORTED_MODULE_5__.Z_INDEX.popover,
49476
+ afterPopupVisibleChange: afterVisibleChange,
49477
+ mouseEnterDelay: mouseEnterDelay,
49478
+ mouseLeaveDelay: mouseLeaveDelay,
49479
+ popup: popover
49480
+ }, children));
49481
+ };
49482
+
49483
+ _Popover.propTypes = {
49484
+ className: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
49485
+ classNamePrefix: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
49486
+ style: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
49487
+ trigger: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([_constants__WEBPACK_IMPORTED_MODULE_5__.PT_TRIGGER, prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(_constants__WEBPACK_IMPORTED_MODULE_5__.PT_TRIGGER)]),
49488
+ visible: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
49489
+ placement: _constants__WEBPACK_IMPORTED_MODULE_5__.PT_TOOLTIP_PLACEMENT,
49490
+ popover: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
49491
+ showDelay: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
49492
+ hideDelay: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
49493
+ onVisibleChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
49494
+ afterVisibleChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
49495
+ };
49496
+ _Popover.showDelay = 0.1;
49497
+ _Popover.hideDelay = 0.1;
49498
+ var prefixCls = function prefixCls(p) {
49499
+ return p.$prefixCls;
49500
+ };
49501
+ var theme = function theme(cb) {
49502
+ return function (p) {
49503
+ return cb(p.$theme);
49504
+ };
49505
+ };
49506
+ var PopoverStyle = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.createGlobalStyle)([".", "{position:absolute;display:block;visibility:visible;width:fit-content;border-radius:4px;border:1px solid ", ";background:", ";box-shadow:", ";&-hidden{display:none;}&-mask{position:fixed;inset:0;pointer-events:none;&-hidden{display:none;}}&-motion{&-enter,&-appear{opacity:0;animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.08,0.82,0.17,1);animation-play-state:paused;}&-leave{animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.6,0.04,0.98,0.34);animation-play-state:paused;}&-enter&-enter-active,&-appear&-appear-active{animation-name:rcPopoverZoomIn;animation-play-state:running;}&-leave&-leave-active{animation-name:rcPopoverZoomOut;animation-play-state:running;}}@keyframes rcPopoverZoomIn{0%{opacity:0;transform:scale(0,0);}100%{opacity:1;transform:scale(1,1);}}@keyframes rcPopoverZoomOut{0%{opacity:1;transform:scale(1,1);}100%{opacity:0;transform:scale(0,0);}}}"], prefixCls, theme(function (t) {
49507
+ return t.color.border_secondary;
49508
+ }), theme(function (t) {
49509
+ return t.color.bg_elevated;
49510
+ }), theme(function (t) {
49511
+ return t.shadow.medium;
49512
+ }));
49513
+
49514
+ /***/ }),
49515
+
49235
49516
  /***/ "./src/progress/index.js":
49236
49517
  /*!*******************************!*\
49237
49518
  !*** ./src/progress/index.js ***!
@@ -50001,7 +50282,7 @@ var theme = function theme(cb) {
50001
50282
  return cb(p.$theme);
50002
50283
  };
50003
50284
  };
50004
- var TabsStyle = (0,styled_components__WEBPACK_IMPORTED_MODULE_4__.createGlobalStyle)([".", "{box-sizing:border-box;margin:0;padding:0;list-style:none;display:flex;&-top,&-bottom{flex-direction:column;.", "-nav-list{flex-direction:row;}}&-left,&-right{flex-direction:row;.", "-nav-list{flex-direction:column;}}&-nav{position:relative;display:flex;flex:none;align-items:center;&-wrap{position:relative;display:flex;flex:auto;align-self:stretch;white-space:nowrap;transform:translate(0);}&-list{position:relative;display:flex;transition:opacity 0.3s;justify-content:flex-start;align-items:center;box-sizing:border-box;width:fit-content;}}&-content-holder{flex:auto;min-width:0;min-height:0;box-sizing:border-box;}&-content{position:relative;width:100%;}&-tabpane{outline:none;&-hidden{display:none;}}&-tab{&-btn{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;border:0 none;background:transparent;min-width:0;width:fit-content;cursor:pointer;white-space:nowrap;font-family:", ";line-height:", ";letter-spacing:", ";}&-disabled{.", "-tab-btn{cursor:not-allowed;}}}&-main{.", "-nav-list{gap:24px;}.", "-tab{.", "-tab-btn{height:36px;padding:0;justify-content:center;gap:4px;color:", ";box-shadow:0px -1px 0px 0px ", " inset;font-size:", ";font-weight:", ";&:hover{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}}&-active{.", "-tab-btn,.", "-tab-btn:hover{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}}&-disabled{.", "-tab-btn,.", "-tab-btn:hover{color:", ";box-shadow:0px -1px 0px 0px ", " inset;}}}}&-underline{.", "-tab{.", "-tab-btn{height:24px;padding:0 16px;justify-content:center;gap:4px;color:", ";box-shadow:0px -1px 0px 0px ", " inset;font-size:", ";font-weight:", ";&:hover{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}}&-active{.", "-tab-btn,.", "-tab-btn:hover{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}}&-disabled{.", "-tab-btn,.", "-tab-btn:hover{color:", ";box-shadow:0px -1px 0px 0px ", " inset;}}}}&-contain{.", "-nav-list{padding:2px;gap:2px;border-radius:4px;background:", ";}.", "-tab{.", "-tab-btn{height:32px;padding:0px 8px;justify-content:center;gap:6px;border-radius:4px;color:", ";font-size:", ";font-weight:", ";&:hover{color:", ";background:", ";}}&-active{.", "-tab-btn,.", "-tab-btn:hover{background:", ";border:1px solid ", ";box-shadow:", ";font-weight:", ";}}&-disabled{.", "-tab-btn,.", "-tab-btn:hover{color:", ";background:", ";}}}}&-vertical{.", "-tab{.", "-tab-btn{width:200px;height:40px;padding:0 12px;justify-content:flex-start;gap:4px;border-radius:0 4px 4px 0;border-left:1px solid transparent;color:", ";overflow-x:clip;text-overflow:ellipsis;&:hover{border-left-color:", ";}}&-active{.", "-tab-btn{background:", ";border-left-color:", ";}}&-disabled{.", "-tab-btn,.", "-tab-btn:hover{color:", ";border-left-color:transparent;}}}}}"], prefixCls, prefixCls, prefixCls, theme(function (t) {
50285
+ var TabsStyle = (0,styled_components__WEBPACK_IMPORTED_MODULE_4__.createGlobalStyle)([".", "{box-sizing:border-box;margin:0;padding:0;list-style:none;display:flex;&-top,&-bottom{flex-direction:column;.", "-nav-list{flex-direction:row;}}&-left,&-right{flex-direction:row;.", "-nav-list{flex-direction:column;}}&-nav{position:relative;display:flex;flex:none;align-items:center;&-wrap{position:relative;display:flex;flex:auto;align-self:stretch;white-space:nowrap;transform:translate(0);}&-list{position:relative;display:flex;transition:opacity 0.3s;justify-content:flex-start;align-items:center;box-sizing:border-box;width:fit-content;}&-operations{display:flex;align-self:stretch;&-hidden{position:absolute;visibility:hidden;pointer-events:none;}}}&-content-holder{flex:auto;min-width:0;min-height:0;box-sizing:border-box;}&-content{position:relative;width:100%;}&-tabpane{outline:none;&-hidden{display:none;}}&-tab{&-btn{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;border:0 none;background:transparent;min-width:0;width:fit-content;cursor:pointer;white-space:nowrap;font-family:", ";line-height:", ";letter-spacing:", ";}&-disabled{.", "-tab-btn{cursor:not-allowed;}}}&-main{.", "-nav-list{gap:24px;}.", "-tab{.", "-tab-btn{height:36px;padding:0;justify-content:center;gap:4px;color:", ";box-shadow:0px -1px 0px 0px ", " inset;font-size:", ";font-weight:", ";&:hover{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}}&-active{.", "-tab-btn,.", "-tab-btn:hover{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}}&-disabled{.", "-tab-btn,.", "-tab-btn:hover{color:", ";box-shadow:0px -1px 0px 0px ", " inset;}}}}&-underline{.", "-tab{.", "-tab-btn{height:24px;padding:0 16px;justify-content:center;gap:4px;color:", ";box-shadow:0px -1px 0px 0px ", " inset;font-size:", ";font-weight:", ";&:hover{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}}&-active{.", "-tab-btn,.", "-tab-btn:hover{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}}&-disabled{.", "-tab-btn,.", "-tab-btn:hover{color:", ";box-shadow:0px -1px 0px 0px ", " inset;}}}}&-contain{.", "-nav-list{padding:2px;gap:2px;border-radius:4px;background:", ";}.", "-tab{.", "-tab-btn{height:32px;padding:0px 8px;justify-content:center;gap:6px;border-radius:4px;color:", ";font-size:", ";font-weight:", ";&:hover{color:", ";background:", ";}}&-active{.", "-tab-btn,.", "-tab-btn:hover{background:", ";border:1px solid ", ";box-shadow:", ";font-weight:", ";}}&-disabled{.", "-tab-btn,.", "-tab-btn:hover{color:", ";background:", ";}}}}&-vertical{.", "-tab{.", "-tab-btn{width:200px;height:40px;padding:0 12px;justify-content:flex-start;gap:4px;border-radius:0 4px 4px 0;border-left:1px solid transparent;color:", ";overflow-x:clip;text-overflow:ellipsis;&:hover{border-left-color:", ";}}&-active{.", "-tab-btn{background:", ";border-left-color:", ";}}&-disabled{.", "-tab-btn,.", "-tab-btn:hover{color:", ";border-left-color:transparent;}}}}&-ink-bar{display:none;position:absolute;pointer-events:none;}}"], prefixCls, prefixCls, prefixCls, theme(function (t) {
50005
50286
  return t.font_family.sans;
50006
50287
  }), theme(function (t) {
50007
50288
  return t.line_height.none;
@@ -143670,6 +143951,7 @@ __webpack_require__.r(__webpack_exports__);
143670
143951
  /* harmony export */ Link: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.Link),
143671
143952
  /* harmony export */ Menu: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.Menu),
143672
143953
  /* harmony export */ Modal: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.Modal),
143954
+ /* harmony export */ Popover: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.Popover),
143673
143955
  /* harmony export */ Progress: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.Progress),
143674
143956
  /* harmony export */ ProgressBar: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.ProgressBar),
143675
143957
  /* harmony export */ RemovableTag: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.RemovableTag),