@open-condo/ui 2.30.0 → 2.31.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"actionBar.d.ts","sourceRoot":"","sources":["../../../src/components/ActionBar/actionBar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAU3C,MAAM,MAAM,cAAc,GAAG;IACzB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,OAAO,EAAE,CAAC,YAAY,EAAE,GAAG,YAAY,EAAE,CAAC,CAAA;CAC7C,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAW9C,CAAA"}
1
+ {"version":3,"file":"actionBar.d.ts","sourceRoot":"","sources":["../../../src/components/ActionBar/actionBar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAY3C,MAAM,MAAM,cAAc,GAAG;IACzB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,OAAO,EAAE,CAAC,YAAY,EAAE,GAAG,YAAY,EAAE,CAAC,CAAA;CAC7C,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAgB9C,CAAA"}
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  import type { PhoneInputProps as DefaultPhoneInputProps } from 'react-phone-input-2';
3
3
  export type PhoneInputProps = Pick<DefaultPhoneInputProps, 'country' | 'placeholder' | 'onChange' | 'value' | 'onMount' | 'disabled'> & {
4
4
  inputProps?: Omit<React.InputHTMLAttributes<HTMLInputElement>, 'style' | 'value' | 'onChange'>;
5
+ id?: string;
5
6
  };
6
7
  declare const Phone: React.FC<PhoneInputProps>;
7
8
  export { Phone, };
@@ -1 +1 @@
1
- {"version":3,"file":"phone.d.ts","sourceRoot":"","sources":["../../../src/components/Input/phone.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsB,MAAM,OAAO,CAAA;AAK1C,OAAO,KAAK,EAAE,eAAe,IAAI,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAKpF,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,sBAAsB,EAAE,SAAS,GAAG,aAAa,GAAG,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAAC,GAAG;IACpI,UAAU,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,UAAU,CAAC,CAAA;CACjG,CAAA;AAED,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA0BpC,CAAA;AAID,OAAO,EACH,KAAK,GACR,CAAA"}
1
+ {"version":3,"file":"phone.d.ts","sourceRoot":"","sources":["../../../src/components/Input/phone.tsx"],"names":[],"mappings":"AACA,OAAO,KAA+B,MAAM,OAAO,CAAA;AAKnD,OAAO,KAAK,EAAE,eAAe,IAAI,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAKpF,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,sBAAsB,EACzD,SAAS,GACP,aAAa,GACb,UAAU,GACV,OAAO,GACP,SAAS,GACT,UAAU,CAAC,GAAG;IACZ,UAAU,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,UAAU,CAAC,CAAA;IAC9F,EAAE,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAmCpC,CAAA;AAID,OAAO,EACH,KAAK,GACR,CAAA"}
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import { TEXT_SIZES, TEXT_TYPES } from './constants';
3
3
  import type { ParagraphProps as DefaultParagraphProps } from 'antd/lib/typography/Paragraph';
4
- export type TypographyParagraphProps = Omit<DefaultParagraphProps, 'keyboard' | 'type' | 'editable' | 'copyable' | 'mark' | 'className' | 'prefixCls' | 'style' | 'id'> & {
4
+ export type TypographyParagraphProps = Omit<DefaultParagraphProps, 'keyboard' | 'type' | 'editable' | 'copyable' | 'mark' | 'className' | 'prefixCls' | 'style'> & {
5
5
  type?: typeof TEXT_TYPES[number];
6
6
  size?: typeof TEXT_SIZES[number];
7
7
  };
8
- declare const Paragraph: React.ForwardRefExoticComponent<Omit<DefaultParagraphProps, "className" | "prefixCls" | "style" | "id" | "mark" | "type" | "keyboard" | "editable" | "copyable"> & {
8
+ declare const Paragraph: React.ForwardRefExoticComponent<Omit<DefaultParagraphProps, "className" | "prefixCls" | "style" | "mark" | "type" | "keyboard" | "editable" | "copyable"> & {
9
9
  type?: (typeof TEXT_TYPES)[number];
10
10
  size?: (typeof TEXT_SIZES)[number];
11
11
  } & React.RefAttributes<HTMLSpanElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"paragraph.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/paragraph.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAA2B,UAAU,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAE7E,OAAO,KAAK,EAAE,cAAc,IAAI,qBAAqB,EAAE,MAAM,+BAA+B,CAAA;AAE5F,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAC,qBAAqB,EACjE,UAAU,GACR,MAAM,GACN,UAAU,GACV,UAAU,GACV,MAAM,GACN,WAAW,GACX,WAAW,GACX,OAAO,GACP,IAAI,CAAC,GAAG;IACN,IAAI,CAAC,EAAE,OAAO,UAAU,CAAC,MAAM,CAAC,CAAA;IAChC,IAAI,CAAC,EAAE,OAAO,UAAU,CAAC,MAAM,CAAC,CAAA;CACnC,CAAA;AAED,QAAA,MAAM,SAAS;WAJJ,CAAA,OAAO,UAAU,EAAC,MAAM,CAAC;WACzB,CAAA,OAAO,UAAU,EAAC,MAAM,CAAC;yCAqBlC,CAAA;AAIF,OAAO,EACH,SAAS,GACZ,CAAA"}
1
+ {"version":3,"file":"paragraph.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/paragraph.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAA2B,UAAU,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAE7E,OAAO,KAAK,EAAE,cAAc,IAAI,qBAAqB,EAAE,MAAM,+BAA+B,CAAA;AAE5F,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAC,qBAAqB,EACjE,UAAU,GACR,MAAM,GACN,UAAU,GACV,UAAU,GACV,MAAM,GACN,WAAW,GACX,WAAW,GACX,OAAO,CAAC,GAAG;IACT,IAAI,CAAC,EAAE,OAAO,UAAU,CAAC,MAAM,CAAC,CAAA;IAChC,IAAI,CAAC,EAAE,OAAO,UAAU,CAAC,MAAM,CAAC,CAAA;CACnC,CAAA;AAED,QAAA,MAAM,SAAS;WAJJ,CAAA,OAAO,UAAU,EAAC,MAAM,CAAC;WACzB,CAAA,OAAO,UAAU,EAAC,MAAM,CAAC;yCAqBlC,CAAA;AAIF,OAAO,EACH,SAAS,GACZ,CAAA"}
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import { TEXT_SIZES, TEXT_TYPES } from './constants';
3
3
  import type { TextProps as DefaultTextProps } from 'antd/lib/typography/Text';
4
- export type TypographyTextProps = Omit<DefaultTextProps, 'keyboard' | 'type' | 'editable' | 'copyable' | 'mark' | 'className' | 'prefixCls' | 'style' | 'id'> & {
4
+ export type TypographyTextProps = Omit<DefaultTextProps, 'keyboard' | 'type' | 'editable' | 'copyable' | 'mark' | 'className' | 'prefixCls' | 'style'> & {
5
5
  type?: typeof TEXT_TYPES[number];
6
6
  size?: typeof TEXT_SIZES[number];
7
7
  lineWrapping?: 'break-spaces';
8
8
  };
9
- declare const Text: React.ForwardRefExoticComponent<Omit<DefaultTextProps, "className" | "prefixCls" | "style" | "id" | "mark" | "type" | "keyboard" | "editable" | "copyable"> & {
9
+ declare const Text: React.ForwardRefExoticComponent<Omit<DefaultTextProps, "className" | "prefixCls" | "style" | "mark" | "type" | "keyboard" | "editable" | "copyable"> & {
10
10
  type?: (typeof TEXT_TYPES)[number];
11
11
  size?: (typeof TEXT_SIZES)[number];
12
12
  lineWrapping?: "break-spaces";
@@ -1 +1 @@
1
- {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/text.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAA2B,UAAU,EAAE,UAAU,EAAwB,MAAM,aAAa,CAAA;AAEnG,OAAO,KAAK,EAAE,SAAS,IAAI,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAI7E,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,gBAAgB,EACvD,UAAU,GACR,MAAM,GACN,UAAU,GACV,UAAU,GACV,MAAM,GACN,WAAW,GACX,WAAW,GACX,OAAO,GACP,IAAI,CAAC,GAAG;IACN,IAAI,CAAC,EAAE,OAAO,UAAU,CAAC,MAAM,CAAC,CAAA;IAChC,IAAI,CAAC,EAAE,OAAO,UAAU,CAAC,MAAM,CAAC,CAAA;IAChC,YAAY,CAAC,EAAE,cAAc,CAAA;CAChC,CAAA;AAED,QAAA,MAAM,IAAI;WALC,CAAA,OAAO,UAAU,EAAC,MAAM,CAAC;WACzB,CAAA,OAAO,UAAU,EAAC,MAAM,CAAC;mBACjB,cAAc;yCA+B/B,CAAA;AAIF,OAAO,EACH,IAAI,GACP,CAAA"}
1
+ {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/text.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAA2B,UAAU,EAAE,UAAU,EAAwB,MAAM,aAAa,CAAA;AAEnG,OAAO,KAAK,EAAE,SAAS,IAAI,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAI7E,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,gBAAgB,EACvD,UAAU,GACR,MAAM,GACN,UAAU,GACV,UAAU,GACV,MAAM,GACN,WAAW,GACX,WAAW,GACX,OAAO,CAAC,GAAG;IACT,IAAI,CAAC,EAAE,OAAO,UAAU,CAAC,MAAM,CAAC,CAAA;IAChC,IAAI,CAAC,EAAE,OAAO,UAAU,CAAC,MAAM,CAAC,CAAA;IAChC,YAAY,CAAC,EAAE,cAAc,CAAA;CAChC,CAAA;AAED,QAAA,MAAM,IAAI;WALC,CAAA,OAAO,UAAU,EAAC,MAAM,CAAC;WACzB,CAAA,OAAO,UAAU,EAAC,MAAM,CAAC;mBACjB,cAAc;yCA+B/B,CAAA;AAIF,OAAO,EACH,IAAI,GACP,CAAA"}
package/dist/index.js CHANGED
@@ -47023,6 +47023,8 @@ var AffixFC = /*#__PURE__*/external_react_.forwardRef(function (props, ref) {
47023
47023
  });
47024
47024
  if (false) {}
47025
47025
  /* harmony default export */ var affix = (AffixFC);
47026
+ // EXTERNAL MODULE: ./src/hooks.ts
47027
+ var hooks = __webpack_require__(46119);
47026
47028
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
47027
47029
  var slicedToArray = __webpack_require__(90689);
47028
47030
  // EXTERNAL MODULE: ../../node_modules/rc-util/es/Children/toArray.js
@@ -47374,7 +47376,7 @@ var isObject_default = /*#__PURE__*/__webpack_require__.n(isObject);
47374
47376
  var isString = __webpack_require__(8138);
47375
47377
  var isString_default = /*#__PURE__*/__webpack_require__.n(isString);
47376
47378
  ;// CONCATENATED MODULE: ./package.json
47377
- var package_namespaceObject = {"rE":"2.30.0"};
47379
+ var package_namespaceObject = {"rE":"2.31.0"};
47378
47380
  ;// CONCATENATED MODULE: ./src/components/_utils/analytics.ts
47379
47381
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
47380
47382
 
@@ -47659,16 +47661,22 @@ var Typography = {
47659
47661
 
47660
47662
 
47661
47663
 
47664
+
47662
47665
  var ACTION_BAR_CLASS_PREFIX = 'condo-affix';
47663
47666
  var AFFIX_CONTENT_WRAPPER_CLASS = "".concat(ACTION_BAR_CLASS_PREFIX, "-content-wrapper");
47667
+ var ACTION_BAR_PLACEHOLDER_CLASS = "".concat(ACTION_BAR_CLASS_PREFIX, "-placeholder");
47664
47668
  var SPACE_SIZE = [16, 16];
47665
47669
  var ActionBar = function ActionBar(props) {
47666
47670
  var actions = props.actions,
47667
47671
  message = props.message,
47668
47672
  _props$wrap = props.wrap,
47669
47673
  wrap = _props$wrap === void 0 ? true : _props$wrap;
47670
- return /*#__PURE__*/external_react_default().createElement(affix, {
47671
- offsetBottom: 0,
47674
+
47675
+ var _useBreakpoints = (0,hooks.useBreakpoints)(),
47676
+ TABLET_SMALL = _useBreakpoints.TABLET_SMALL;
47677
+
47678
+ return /*#__PURE__*/external_react_default().createElement((external_react_default()).Fragment, null, /*#__PURE__*/external_react_default().createElement(affix, {
47679
+ offsetBottom: TABLET_SMALL ? 23 : 0,
47672
47680
  prefixCls: ACTION_BAR_CLASS_PREFIX
47673
47681
  }, /*#__PURE__*/external_react_default().createElement(space_Space, {
47674
47682
  wrap: wrap,
@@ -47676,7 +47684,9 @@ var ActionBar = function ActionBar(props) {
47676
47684
  className: AFFIX_CONTENT_WRAPPER_CLASS
47677
47685
  }, message && /*#__PURE__*/external_react_default().createElement(Typography.Text, {
47678
47686
  strong: true
47679
- }, message), actions));
47687
+ }, message), actions)), /*#__PURE__*/external_react_default().createElement("div", {
47688
+ className: ACTION_BAR_PLACEHOLDER_CLASS
47689
+ }));
47680
47690
  };
47681
47691
  ;// CONCATENATED MODULE: ./src/components/ActionBar/index.ts
47682
47692
 
@@ -48519,7 +48529,7 @@ var dist = __webpack_require__(72763);
48519
48529
  // EXTERNAL MODULE: ./src/colors/index.ts + 2 modules
48520
48530
  var colors = __webpack_require__(89085);
48521
48531
  // EXTERNAL MODULE: ./src/components/_utils/hooks/index.ts + 2 modules
48522
- var hooks = __webpack_require__(24208);
48532
+ var _utils_hooks = __webpack_require__(24208);
48523
48533
  ;// CONCATENATED MODULE: ../../node_modules/antd/es/config-provider/DisabledContext.js
48524
48534
 
48525
48535
  var DisabledContext = /*#__PURE__*/external_react_.createContext(false);
@@ -49364,7 +49374,7 @@ var Banner = function Banner(_ref) {
49364
49374
  _ref$size = _ref.size,
49365
49375
  size = _ref$size === void 0 ? 'medium' : _ref$size;
49366
49376
 
49367
- var _useContainerSize = (0,hooks/* useContainerSize */.Ag)(),
49377
+ var _useContainerSize = (0,_utils_hooks/* useContainerSize */.Ag)(),
49368
49378
  _useContainerSize2 = banner_slicedToArray(_useContainerSize, 2),
49369
49379
  width = _useContainerSize2[0].width,
49370
49380
  setRef = _useContainerSize2[1];
@@ -57398,8 +57408,6 @@ var Card_card_Card = /*#__PURE__*/external_react_default().forwardRef(function (
57398
57408
  });
57399
57409
  Card_card_Card.displayName = 'Card';
57400
57410
 
57401
- // EXTERNAL MODULE: ./src/hooks.ts
57402
- var src_hooks = __webpack_require__(46119);
57403
57411
  ;// CONCATENATED MODULE: ./src/components/Emoji/Emoji.tsx
57404
57412
 
57405
57413
  var Emoji = /*#__PURE__*/external_react_default().memo(function (_ref) {
@@ -58034,7 +58042,7 @@ var CardHeader = function CardHeader(props) {
58034
58042
  image = props.image;
58035
58043
  var imageClassName = image && node_modules_classnames_default()("".concat(cardHeader_CARD_HEADER_CONTENT_CLASS_NAME_PREFIX, "-image"), "".concat(cardHeader_CARD_HEADER_CONTENT_CLASS_NAME_PREFIX, "-image-size-").concat(image.size));
58036
58044
 
58037
- var _useBreakpoints = (0,src_hooks.useBreakpoints)(),
58045
+ var _useBreakpoints = (0,hooks.useBreakpoints)(),
58038
58046
  TABLET_LARGE = _useBreakpoints.TABLET_LARGE;
58039
58047
 
58040
58048
  var headerContent = /*#__PURE__*/external_react_default().createElement(space_Space, {
@@ -64041,10 +64049,14 @@ password_Password.displayName = 'PasswordInput';
64041
64049
  var lib = __webpack_require__(53305);
64042
64050
  var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
64043
64051
  ;// CONCATENATED MODULE: ./src/components/Input/phone.tsx
64044
- var phone_excluded = ["country", "placeholder", "onChange", "disabled"];
64052
+ var phone_excluded = ["country", "placeholder", "onChange", "disabled", "id", "inputProps"];
64045
64053
 
64046
64054
  function phone_extends() { phone_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 phone_extends.apply(this, arguments); }
64047
64055
 
64056
+ function phone_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
64057
+
64058
+ function phone_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? phone_ownKeys(Object(source), !0).forEach(function (key) { phone_defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : phone_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
64059
+
64048
64060
  function phone_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
64049
64061
 
64050
64062
  function phone_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = phone_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
@@ -64064,6 +64076,8 @@ var Phone = function Phone(props) {
64064
64076
  onChange = props.onChange,
64065
64077
  _props$disabled = props.disabled,
64066
64078
  disabled = _props$disabled === void 0 ? false : _props$disabled,
64079
+ id = props.id,
64080
+ inputProps = props.inputProps,
64067
64081
  restProps = phone_objectWithoutProperties(props, phone_excluded);
64068
64082
 
64069
64083
  var containerClasses = node_modules_classnames_default()("".concat(INPUT_CLASS_PREFIX, "-phone"), phone_defineProperty({}, "".concat(INPUT_CLASS_PREFIX, "-phone-disabled"), disabled));
@@ -64074,7 +64088,17 @@ var Phone = function Phone(props) {
64074
64088
  onChange(value, data, event, formattedValue);
64075
64089
  }
64076
64090
  }, [onChange]);
64091
+ var combinedInputProps = (0,external_react_.useMemo)(function () {
64092
+ var props = phone_objectSpread({}, inputProps);
64093
+
64094
+ if (id) {
64095
+ props.id = id;
64096
+ }
64097
+
64098
+ return props;
64099
+ }, [id, inputProps]);
64077
64100
  return /*#__PURE__*/external_react_default().createElement((lib_default()), phone_extends({}, restProps, {
64101
+ inputProps: combinedInputProps,
64078
64102
  onChange: internalOnChange,
64079
64103
  containerClass: containerClasses,
64080
64104
  disabled: disabled,
@@ -74465,7 +74489,7 @@ function useModal_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
74465
74489
 
74466
74490
  var modalCounter = 0;
74467
74491
  var useModal_ElementsHolder = /*#__PURE__*/external_react_default().memo( /*#__PURE__*/external_react_default().forwardRef(function (_props, ref) {
74468
- var _usePatchElement = (0,hooks/* usePatchElement */.wu)(),
74492
+ var _usePatchElement = (0,_utils_hooks/* usePatchElement */.wu)(),
74469
74493
  _usePatchElement2 = useModal_slicedToArray(_usePatchElement, 2),
74470
74494
  elements = _usePatchElement2[0],
74471
74495
  patchElement = _usePatchElement2[1];
@@ -75244,7 +75268,7 @@ var Steps = function Steps(_ref) {
75244
75268
  propsClassName = _ref.className,
75245
75269
  noReturnMessage = _ref.noReturnMessage;
75246
75270
 
75247
- var _useBreakpoints = (0,hooks/* useBreakpoints */.Gu)(),
75271
+ var _useBreakpoints = (0,_utils_hooks/* useBreakpoints */.Gu)(),
75248
75272
  TABLET_LARGE = _useBreakpoints.TABLET_LARGE;
75249
75273
 
75250
75274
  var itemSize = TABLET_LARGE ? 'large' : 'small'; // NOTE: Internal state controls view
@@ -75254,7 +75278,7 @@ var Steps = function Steps(_ref) {
75254
75278
  currentStep = _useState2[0],
75255
75279
  setCurrentStep = _useState2[1];
75256
75280
 
75257
- var _useContainerSize = (0,hooks/* useContainerSize */.Ag)(),
75281
+ var _useContainerSize = (0,_utils_hooks/* useContainerSize */.Ag)(),
75258
75282
  _useContainerSize2 = steps_slicedToArray(_useContainerSize, 2),
75259
75283
  width = _useContainerSize2[0].width,
75260
75284
  setContainerRef = _useContainerSize2[1];
@@ -75579,7 +75603,7 @@ var TourStep = function TourStep(props) {
75579
75603
  var _useTourContext = useTourContext(),
75580
75604
  currentStep = _useTourContext.currentStep;
75581
75605
 
75582
- var _useBreakpoints = (0,hooks/* useBreakpoints */.Gu)(),
75606
+ var _useBreakpoints = (0,_utils_hooks/* useBreakpoints */.Gu)(),
75583
75607
  TABLET_SMALL = _useBreakpoints.TABLET_SMALL;
75584
75608
 
75585
75609
  var _useState = (0,external_react_.useState)(step === currentStep),
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 06 Nov 2024 10:07:18 GMT
3
+ * Generated on Tue, 10 Dec 2024 15:37:24 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 06 Nov 2024 10:07:18 GMT
3
+ // Generated on Tue, 10 Dec 2024 15:37:24 GMT
4
4
 
5
5
  @condo-global-spacing-4: 4px;
6
6
  @condo-global-spacing-8: 8px;
package/dist/styles.css CHANGED
@@ -1103,6 +1103,9 @@ div.condo-typography-edit-content.condo-typography-rtl {
1103
1103
  position: fixed;
1104
1104
  z-index: 10;
1105
1105
  }
1106
+ .condo-affix-placeholder {
1107
+ height: 24px;
1108
+ }
1106
1109
  .condo-affix-content-wrapper {
1107
1110
  height: -webkit-fit-content !important;
1108
1111
  height: -moz-fit-content !important;
@@ -1111,11 +1114,11 @@ div.condo-typography-edit-content.condo-typography-rtl {
1111
1114
  .condo-affix-content-wrapper {
1112
1115
  box-sizing: border-box;
1113
1116
  padding: 16px;
1114
- transition: box-shadow 0.15s ease-out;
1115
1117
  }
1116
1118
  @media screen and (min-width: 0px ) and (max-width: 767px ) {
1117
1119
  .condo-affix-content-wrapper {
1118
1120
  width: 100%;
1121
+ padding-bottom: 24px;
1119
1122
  }
1120
1123
  .condo-affix-content-wrapper > .condo-space-item {
1121
1124
  width: 100%;
@@ -1124,13 +1127,18 @@ div.condo-typography-edit-content.condo-typography-rtl {
1124
1127
  width: 100%;
1125
1128
  }
1126
1129
  }
1127
- @media screen and (min-width: 768px ) {
1130
+ @media screen and (min-width: 0px ) {
1128
1131
  .condo-affix-content-wrapper {
1129
1132
  position: relative;
1130
1133
  right: 16px;
1131
1134
  width: calc(100% + 16px * 2);
1132
1135
  }
1133
1136
  }
1137
+ @media screen and (min-width: 768px ) {
1138
+ .condo-affix-content-wrapper {
1139
+ transition: box-shadow 0.15s ease-out;
1140
+ }
1141
+ }
1134
1142
  .condo-affix {
1135
1143
  height: auto !important;
1136
1144
  }
@@ -1150,7 +1158,7 @@ div.condo-typography-edit-content.condo-typography-rtl {
1150
1158
  left: 0;
1151
1159
  }
1152
1160
  .condo-affix .condo-affix-content-wrapper {
1153
- padding-bottom: 32px;
1161
+ padding-bottom: 24px;
1154
1162
  }
1155
1163
  .condo-affix .condo-affix-content-wrapper > .condo-space-item {
1156
1164
  padding: 0 16px;