@open-condo/ui 2.30.0 → 2.30.1

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"}
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.30.1"};
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, {
@@ -74465,7 +74473,7 @@ function useModal_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
74465
74473
 
74466
74474
  var modalCounter = 0;
74467
74475
  var useModal_ElementsHolder = /*#__PURE__*/external_react_default().memo( /*#__PURE__*/external_react_default().forwardRef(function (_props, ref) {
74468
- var _usePatchElement = (0,hooks/* usePatchElement */.wu)(),
74476
+ var _usePatchElement = (0,_utils_hooks/* usePatchElement */.wu)(),
74469
74477
  _usePatchElement2 = useModal_slicedToArray(_usePatchElement, 2),
74470
74478
  elements = _usePatchElement2[0],
74471
74479
  patchElement = _usePatchElement2[1];
@@ -75244,7 +75252,7 @@ var Steps = function Steps(_ref) {
75244
75252
  propsClassName = _ref.className,
75245
75253
  noReturnMessage = _ref.noReturnMessage;
75246
75254
 
75247
- var _useBreakpoints = (0,hooks/* useBreakpoints */.Gu)(),
75255
+ var _useBreakpoints = (0,_utils_hooks/* useBreakpoints */.Gu)(),
75248
75256
  TABLET_LARGE = _useBreakpoints.TABLET_LARGE;
75249
75257
 
75250
75258
  var itemSize = TABLET_LARGE ? 'large' : 'small'; // NOTE: Internal state controls view
@@ -75254,7 +75262,7 @@ var Steps = function Steps(_ref) {
75254
75262
  currentStep = _useState2[0],
75255
75263
  setCurrentStep = _useState2[1];
75256
75264
 
75257
- var _useContainerSize = (0,hooks/* useContainerSize */.Ag)(),
75265
+ var _useContainerSize = (0,_utils_hooks/* useContainerSize */.Ag)(),
75258
75266
  _useContainerSize2 = steps_slicedToArray(_useContainerSize, 2),
75259
75267
  width = _useContainerSize2[0].width,
75260
75268
  setContainerRef = _useContainerSize2[1];
@@ -75579,7 +75587,7 @@ var TourStep = function TourStep(props) {
75579
75587
  var _useTourContext = useTourContext(),
75580
75588
  currentStep = _useTourContext.currentStep;
75581
75589
 
75582
- var _useBreakpoints = (0,hooks/* useBreakpoints */.Gu)(),
75590
+ var _useBreakpoints = (0,_utils_hooks/* useBreakpoints */.Gu)(),
75583
75591
  TABLET_SMALL = _useBreakpoints.TABLET_SMALL;
75584
75592
 
75585
75593
  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 Wed, 20 Nov 2024 20:54:39 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 Wed, 20 Nov 2024 20:54:39 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;