@open-condo/ui 2.37.1 → 2.38.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.
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  type CondoAlertProps = {
4
4
  type: 'success' | 'info' | 'warning' | 'error';
5
5
  };
6
- export type AlertProps = Pick<DefaultAlertProps, 'message' | 'showIcon' | 'description' | 'banner'> & CondoAlertProps;
6
+ export type AlertProps = Pick<DefaultAlertProps, 'message' | 'showIcon' | 'description' | 'banner' | 'action'> & CondoAlertProps;
7
7
  declare const Alert: React.FC<AlertProps>;
8
8
  export { Alert, };
9
9
  //# sourceMappingURL=alert.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/alert.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyB,UAAU,IAAI,iBAAiB,EAAE,MAAM,MAAM,CAAA;AAC7E,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,KAAK,eAAe,GAAG;IACnB,IAAI,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAA;CACjD,CAAA;AAID,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,iBAAiB,EAAE,SAAS,GAAG,UAAU,GAAG,aAAa,GAAG,QAAQ,CAAC,GAAG,eAAe,CAAA;AAErH,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAO/B,CAAA;AAED,OAAO,EACH,KAAK,GACR,CAAA"}
1
+ {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/alert.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyB,UAAU,IAAI,iBAAiB,EAAE,MAAM,MAAM,CAAA;AAC7E,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,KAAK,eAAe,GAAG;IACnB,IAAI,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAA;CACjD,CAAA;AAID,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,iBAAiB,EAAE,SAAS,GAAG,UAAU,GAAG,aAAa,GAAG,QAAQ,GAAG,QAAQ,CAAC,GAAG,eAAe,CAAA;AAEhI,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAO/B,CAAA;AAED,OAAO,EACH,KAAK,GACR,CAAA"}
package/dist/index.js CHANGED
@@ -47377,7 +47377,7 @@ var isObject_default = /*#__PURE__*/__webpack_require__.n(isObject);
47377
47377
  var isString = __webpack_require__(8138);
47378
47378
  var isString_default = /*#__PURE__*/__webpack_require__.n(isString);
47379
47379
  ;// CONCATENATED MODULE: ./package.json
47380
- var package_namespaceObject = {"rE":"2.37.1"};
47380
+ var package_namespaceObject = {"rE":"2.38.0"};
47381
47381
  ;// CONCATENATED MODULE: ./src/components/_utils/analytics.ts
47382
47382
  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; }
47383
47383
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 11 Apr 2025 12:07:04 GMT
3
+ * Generated on Fri, 11 Apr 2025 15:41:21 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Fri, 11 Apr 2025 12:07:04 GMT
3
+ // Generated on Fri, 11 Apr 2025 15:41:21 GMT
4
4
 
5
5
  @condo-global-spacing-4: 4px;
6
6
  @condo-global-spacing-8: 8px;
package/dist/styles.css CHANGED
@@ -1375,6 +1375,27 @@ div.condo-typography-edit-content.condo-typography-rtl {
1375
1375
  line-height: 26px;
1376
1376
  }
1377
1377
  }
1378
+ .condo-alert .condo-alert-icon {
1379
+ width: 24px;
1380
+ height: 24px;
1381
+ margin-right: 12px;
1382
+ }
1383
+ @media screen and (min-width: 0px ) and (max-width: 767px ) {
1384
+ .condo-alert {
1385
+ flex-wrap: wrap;
1386
+ }
1387
+ .condo-alert.condo-alert-no-icon .condo-alert-content {
1388
+ flex: initial;
1389
+ }
1390
+ .condo-alert .condo-alert-action {
1391
+ width: 100%;
1392
+ margin-top: 24px;
1393
+ margin-left: 0;
1394
+ }
1395
+ .condo-alert > .condo-alert-icon ~ .condo-alert-action {
1396
+ margin-left: 36px;
1397
+ }
1398
+ }
1378
1399
 
1379
1400
  /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
1380
1401
  /* stylelint-disable no-duplicate-selectors */