@open-condo/ui 2.44.0 → 2.45.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.
Binary file
Binary file
@@ -7,6 +7,7 @@ export type TypographyLinkProps = Omit<React.AnchorHTMLAttributes<HTMLAnchorElem
7
7
  size?: typeof TEXT_SIZES[number];
8
8
  id?: string;
9
9
  children?: React.ReactNode;
10
+ component?: unknown;
10
11
  ['aria-label']?: string;
11
12
  };
12
13
  declare const Link: React.ForwardRefExoticComponent<Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "type"> & {
@@ -16,6 +17,7 @@ declare const Link: React.ForwardRefExoticComponent<Omit<React.AnchorHTMLAttribu
16
17
  size?: (typeof TEXT_SIZES)[number];
17
18
  id?: string;
18
19
  children?: React.ReactNode;
20
+ component?: unknown;
19
21
  "aria-label"?: string;
20
22
  } & React.RefAttributes<HTMLElement>>;
21
23
  export { Link, };
@@ -1 +1 @@
1
- {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/link.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsB,MAAM,OAAO,CAAA;AAE1C,OAAO,EAA2B,UAAU,EAAE,MAAM,aAAa,CAAA;AAKjE,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC,GAAG;IAC5F,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,UAAU,CAAC,MAAM,CAAC,CAAA;IAChC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,CAAC,YAAY,CAAC,CAAC,EAAE,MAAM,CAAA;CAC1B,CAAA;AAED,QAAA,MAAM,IAAI;YATE,MAAM;eACH,OAAO;eACP,OAAO;WACX,CAAA,OAAO,UAAU,EAAC,MAAM,CAAC;SAC3B,MAAM;eACA,KAAK,CAAC,SAAS;mBACT,MAAM;qCAgCzB,CAAA;AAIF,OAAO,EACH,IAAI,GACP,CAAA"}
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/link.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsB,MAAM,OAAO,CAAA;AAE1C,OAAO,EAA2B,UAAU,EAAE,MAAM,aAAa,CAAA;AAKjE,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC,GAAG;IAC5F,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,UAAU,CAAC,MAAM,CAAC,CAAA;IAChC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,CAAC,YAAY,CAAC,CAAC,EAAE,MAAM,CAAA;CAC1B,CAAA;AAED,QAAA,MAAM,IAAI;YAVE,MAAM;eACH,OAAO;eACP,OAAO;WACX,CAAA,OAAO,UAAU,EAAC,MAAM,CAAC;SAC3B,MAAM;eACA,KAAK,CAAC,SAAS;gBACd,OAAO;mBACF,MAAM;qCAgCzB,CAAA;AAIF,OAAO,EACH,IAAI,GACP,CAAA"}
Binary file
Binary file
package/dist/index.js CHANGED
@@ -7905,72 +7905,6 @@ function ccount(source, character) {
7905
7905
  }
7906
7906
 
7907
7907
 
7908
- /***/ }),
7909
-
7910
- /***/ 99870:
7911
- /***/ (function(module, exports) {
7912
-
7913
- var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
7914
- Copyright (c) 2018 Jed Watson.
7915
- Licensed under the MIT License (MIT), see
7916
- http://jedwatson.github.io/classnames
7917
- */
7918
- /* global define */
7919
-
7920
- (function () {
7921
- 'use strict';
7922
-
7923
- var hasOwn = {}.hasOwnProperty;
7924
- var nativeCodeString = '[native code]';
7925
-
7926
- function classNames() {
7927
- var classes = [];
7928
-
7929
- for (var i = 0; i < arguments.length; i++) {
7930
- var arg = arguments[i];
7931
- if (!arg) continue;
7932
-
7933
- var argType = typeof arg;
7934
-
7935
- if (argType === 'string' || argType === 'number') {
7936
- classes.push(arg);
7937
- } else if (Array.isArray(arg)) {
7938
- if (arg.length) {
7939
- var inner = classNames.apply(null, arg);
7940
- if (inner) {
7941
- classes.push(inner);
7942
- }
7943
- }
7944
- } else if (argType === 'object') {
7945
- if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
7946
- classes.push(arg.toString());
7947
- continue;
7948
- }
7949
-
7950
- for (var key in arg) {
7951
- if (hasOwn.call(arg, key) && arg[key]) {
7952
- classes.push(key);
7953
- }
7954
- }
7955
- }
7956
- }
7957
-
7958
- return classes.join(' ');
7959
- }
7960
-
7961
- if ( true && module.exports) {
7962
- classNames.default = classNames;
7963
- module.exports = classNames;
7964
- } else if (true) {
7965
- // register as 'classnames', consistent with npm package name
7966
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
7967
- return classNames;
7968
- }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
7969
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
7970
- } else {}
7971
- }());
7972
-
7973
-
7974
7908
  /***/ }),
7975
7909
 
7976
7910
  /***/ 40200:
@@ -25616,6 +25550,72 @@ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
25616
25550
  module.exports = ReactPropTypesSecret;
25617
25551
 
25618
25552
 
25553
+ /***/ }),
25554
+
25555
+ /***/ 82449:
25556
+ /***/ (function(module, exports) {
25557
+
25558
+ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
25559
+ Copyright (c) 2018 Jed Watson.
25560
+ Licensed under the MIT License (MIT), see
25561
+ http://jedwatson.github.io/classnames
25562
+ */
25563
+ /* global define */
25564
+
25565
+ (function () {
25566
+ 'use strict';
25567
+
25568
+ var hasOwn = {}.hasOwnProperty;
25569
+ var nativeCodeString = '[native code]';
25570
+
25571
+ function classNames() {
25572
+ var classes = [];
25573
+
25574
+ for (var i = 0; i < arguments.length; i++) {
25575
+ var arg = arguments[i];
25576
+ if (!arg) continue;
25577
+
25578
+ var argType = typeof arg;
25579
+
25580
+ if (argType === 'string' || argType === 'number') {
25581
+ classes.push(arg);
25582
+ } else if (Array.isArray(arg)) {
25583
+ if (arg.length) {
25584
+ var inner = classNames.apply(null, arg);
25585
+ if (inner) {
25586
+ classes.push(inner);
25587
+ }
25588
+ }
25589
+ } else if (argType === 'object') {
25590
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
25591
+ classes.push(arg.toString());
25592
+ continue;
25593
+ }
25594
+
25595
+ for (var key in arg) {
25596
+ if (hasOwn.call(arg, key) && arg[key]) {
25597
+ classes.push(key);
25598
+ }
25599
+ }
25600
+ }
25601
+ }
25602
+
25603
+ return classes.join(' ');
25604
+ }
25605
+
25606
+ if ( true && module.exports) {
25607
+ classNames.default = classNames;
25608
+ module.exports = classNames;
25609
+ } else if (true) {
25610
+ // register as 'classnames', consistent with npm package name
25611
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
25612
+ return classNames;
25613
+ }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
25614
+ __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
25615
+ } else {}
25616
+ }());
25617
+
25618
+
25619
25619
  /***/ }),
25620
25620
 
25621
25621
  /***/ 9852:
@@ -46651,6 +46651,89 @@ function _unsupportedIterableToArray(r, a) {
46651
46651
  }
46652
46652
  module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
46653
46653
 
46654
+ /***/ }),
46655
+
46656
+ /***/ 53373:
46657
+ /***/ (function(module, exports) {
46658
+
46659
+ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
46660
+ Copyright (c) 2018 Jed Watson.
46661
+ Licensed under the MIT License (MIT), see
46662
+ http://jedwatson.github.io/classnames
46663
+ */
46664
+ /* global define */
46665
+
46666
+ (function () {
46667
+ 'use strict';
46668
+
46669
+ var hasOwn = {}.hasOwnProperty;
46670
+
46671
+ function classNames () {
46672
+ var classes = '';
46673
+
46674
+ for (var i = 0; i < arguments.length; i++) {
46675
+ var arg = arguments[i];
46676
+ if (arg) {
46677
+ classes = appendClass(classes, parseValue(arg));
46678
+ }
46679
+ }
46680
+
46681
+ return classes;
46682
+ }
46683
+
46684
+ function parseValue (arg) {
46685
+ if (typeof arg === 'string' || typeof arg === 'number') {
46686
+ return arg;
46687
+ }
46688
+
46689
+ if (typeof arg !== 'object') {
46690
+ return '';
46691
+ }
46692
+
46693
+ if (Array.isArray(arg)) {
46694
+ return classNames.apply(null, arg);
46695
+ }
46696
+
46697
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
46698
+ return arg.toString();
46699
+ }
46700
+
46701
+ var classes = '';
46702
+
46703
+ for (var key in arg) {
46704
+ if (hasOwn.call(arg, key) && arg[key]) {
46705
+ classes = appendClass(classes, key);
46706
+ }
46707
+ }
46708
+
46709
+ return classes;
46710
+ }
46711
+
46712
+ function appendClass (value, newClass) {
46713
+ if (!newClass) {
46714
+ return value;
46715
+ }
46716
+
46717
+ if (value) {
46718
+ return value + ' ' + newClass;
46719
+ }
46720
+
46721
+ return value + newClass;
46722
+ }
46723
+
46724
+ if ( true && module.exports) {
46725
+ classNames.default = classNames;
46726
+ module.exports = classNames;
46727
+ } else if (true) {
46728
+ // register as 'classnames', consistent with npm package name
46729
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
46730
+ return classNames;
46731
+ }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
46732
+ __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
46733
+ } else {}
46734
+ }());
46735
+
46736
+
46654
46737
  /***/ }),
46655
46738
 
46656
46739
  /***/ 86284:
@@ -48455,7 +48538,7 @@ var space_Space = function Space(_ref) {
48455
48538
  // EXTERNAL MODULE: ../../node_modules/antd/lib/typography/Base/index.js
48456
48539
  var Base = __webpack_require__(43793);
48457
48540
  // EXTERNAL MODULE: ../../node_modules/classnames/index.js
48458
- var node_modules_classnames = __webpack_require__(99870);
48541
+ var node_modules_classnames = __webpack_require__(53373);
48459
48542
  var node_modules_classnames_default = /*#__PURE__*/__webpack_require__.n(node_modules_classnames);
48460
48543
  ;// CONCATENATED MODULE: ./src/components/Typography/constants.ts
48461
48544
  var TYPOGRAPHY_CLASS_PREFIX = 'condo-typography';
@@ -48475,7 +48558,7 @@ var isObject_default = /*#__PURE__*/__webpack_require__.n(isObject);
48475
48558
  var isString = __webpack_require__(8138);
48476
48559
  var isString_default = /*#__PURE__*/__webpack_require__.n(isString);
48477
48560
  ;// CONCATENATED MODULE: ./package.json
48478
- var package_namespaceObject = {"rE":"2.44.0"};
48561
+ var package_namespaceObject = {"rE":"2.45.0"};
48479
48562
  ;// CONCATENATED MODULE: ./src/components/_utils/analytics.ts
48480
48563
  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; }
48481
48564
 
@@ -48581,7 +48664,7 @@ var Link = /*#__PURE__*/external_react_default().forwardRef(function (props, ref
48581
48664
  var className = node_modules_classnames_default()(link_defineProperty({}, "".concat(TYPOGRAPHY_CLASS_PREFIX, "-").concat(size), size)); // NOTE: Used wrapper destructuring to explicitly pass component props, which is marked as internal in antd
48582
48665
 
48583
48666
  var componentProps = {
48584
- component: 'a'
48667
+ component: props.component ? props.component : 'a'
48585
48668
  };
48586
48669
  var handleClick = (0,external_react_.useCallback)(function (event) {
48587
48670
  var stringContent = extractChildrenContent(children);
@@ -59256,6 +59339,9 @@ var CardButton = /*#__PURE__*/external_react_default().forwardRef(function (prop
59256
59339
  });
59257
59340
  CardButton.displayName = 'CardButton';
59258
59341
 
59342
+ // EXTERNAL MODULE: ../../node_modules/rc-checkbox/node_modules/classnames/index.js
59343
+ var rc_checkbox_node_modules_classnames = __webpack_require__(82449);
59344
+ var rc_checkbox_node_modules_classnames_default = /*#__PURE__*/__webpack_require__.n(rc_checkbox_node_modules_classnames);
59259
59345
  ;// CONCATENATED MODULE: ../../node_modules/rc-checkbox/node_modules/rc-util/es/hooks/useEvent.js
59260
59346
 
59261
59347
  function hooks_useEvent_useEvent(callback) {
@@ -59441,7 +59527,7 @@ var Checkbox = /*#__PURE__*/(0,external_react_.forwardRef)(function (props, ref)
59441
59527
  input: inputRef.current
59442
59528
  };
59443
59529
  });
59444
- var classString = node_modules_classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.A)(_classNames, "".concat(prefixCls, "-checked"), rawValue), (0,defineProperty/* default */.A)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames));
59530
+ var classString = rc_checkbox_node_modules_classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.A)(_classNames, "".concat(prefixCls, "-checked"), rawValue), (0,defineProperty/* default */.A)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames));
59445
59531
  var handleChange = function handleChange(e) {
59446
59532
  if (disabled) {
59447
59533
  return;
@@ -75702,7 +75788,7 @@ var Modal_modal_Modal = function Modal(props) {
75702
75788
  title: /*#__PURE__*/external_react_default().createElement(Typography.Title, {
75703
75789
  level: 3,
75704
75790
  ellipsis: {
75705
- rows: 2
75791
+ rows: 4
75706
75792
  },
75707
75793
  children: title
75708
75794
  }),
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Sun, 10 Aug 2025 19:04:34 GMT
3
+ * Generated on Thu, 04 Sep 2025 09:15:23 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Sun, 10 Aug 2025 19:04:34 GMT
3
+ // Generated on Thu, 04 Sep 2025 09:15:23 GMT
4
4
 
5
5
  @condo-global-spacing-4: 4px;
6
6
  @condo-global-spacing-8: 8px;
package/dist/styles.css CHANGED
@@ -1,32 +1,3 @@
1
- @font-face {
2
- font-family: 'Wix Madefor Display';
3
- font-style: normal;
4
- font-weight: 400;
5
- font-display: swap;
6
- src: url(https://fonts.gstatic.com/s/wixmadefordisplay/v11/SZcS3EX9IbbyeJ8aOluD52KXgUA_7Ed1I13G853Cp9duUYFhYltk.ttf) format('truetype');
7
- }
8
- @font-face {
9
- font-family: 'Wix Madefor Display';
10
- font-style: normal;
11
- font-weight: 600;
12
- font-display: swap;
13
- src: url(https://fonts.gstatic.com/s/wixmadefordisplay/v11/SZcS3EX9IbbyeJ8aOluD52KXgUA_7Ed1I13G853Cp9duUYG_ZVtk.ttf) format('truetype');
14
- }
15
- @font-face {
16
- font-family: 'Wix Madefor Display';
17
- font-style: normal;
18
- font-weight: 700;
19
- font-display: swap;
20
- src: url(https://fonts.gstatic.com/s/wixmadefordisplay/v11/SZcS3EX9IbbyeJ8aOluD52KXgUA_7Ed1I13G853Cp9duUYGGZVtk.ttf) format('truetype');
21
- }
22
- @font-face {
23
- font-family: 'Noto Sans Mono';
24
- font-style: normal;
25
- font-weight: 400;
26
- font-stretch: normal;
27
- font-display: swap;
28
- src: url(https://fonts.gstatic.com/s/notosansmono/v32/BngrUXNETWXI6LwhGYvaxZikqZqK6fBq6kPvUce2oAZcdthSBUsYck4-_FNJ49o.ttf) format('truetype');
29
- }
30
1
  .ant-slide-up-enter,
31
2
  .ant-slide-up-appear {
32
3
  -webkit-animation-duration: 0.15s;
@@ -391,6 +362,42 @@
391
362
  opacity: 0;
392
363
  }
393
364
  }
365
+ /* wix-madefor-display-regular - cyrillic_cyrillic-ext_latin_latin-ext */
366
+ @font-face {
367
+ font-display: swap;
368
+ font-weight: 400;
369
+ font-family: "Wix Madefor Display";
370
+ font-style: normal;
371
+ src: url(ad7df199626fbf9958c4.woff2) format("woff2");
372
+ /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
373
+ }
374
+ /* wix-madefor-display-600 - cyrillic_cyrillic-ext_latin_latin-ext */
375
+ @font-face {
376
+ font-display: swap;
377
+ font-weight: 600;
378
+ font-family: "Wix Madefor Display";
379
+ font-style: normal;
380
+ src: url(e709be811b4dba768037.woff2) format("woff2");
381
+ /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
382
+ }
383
+ /* wix-madefor-display-700 - cyrillic_cyrillic-ext_latin_latin-ext */
384
+ @font-face {
385
+ font-display: swap;
386
+ font-weight: 700;
387
+ font-family: "Wix Madefor Display";
388
+ font-style: normal;
389
+ src: url(0a082144d98d954967e5.woff2) format("woff2");
390
+ /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
391
+ }
392
+ /* noto-sans-mono-regular - cyrillic_cyrillic-ext_latin_latin-ext */
393
+ @font-face {
394
+ font-display: swap;
395
+ font-weight: 400;
396
+ font-family: "Noto Sans Mono";
397
+ font-style: normal;
398
+ src: url(d8a0ba8670bc9eea5793.woff2) format("woff2");
399
+ /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
400
+ }
394
401
  :root {
395
402
  --condo-font-fallback: sans-serif;
396
403
  --condo-font-fallback-mono: consolas, monaco, "Andale Mono", "Ubuntu Mono", monospace;