@open-condo/ui 2.21.0 → 2.23.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.
- package/dist/components/ProgressIndicator/progressIndicator.d.ts.map +1 -1
- package/dist/components/ProgressIndicator/steps.d.ts +2 -1
- package/dist/components/ProgressIndicator/steps.d.ts.map +1 -1
- package/dist/components/Typography/index.d.ts +1 -0
- package/dist/components/Typography/index.d.ts.map +1 -1
- package/dist/index.js +48 -2
- package/dist/style-vars/variables.css +1 -1
- package/dist/style-vars/variables.less +1 -1
- package/dist/styles.css +33 -0
- package/dist/styles.min.css +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progressIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/ProgressIndicator/progressIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"progressIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/ProgressIndicator/progressIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAA;AAiBtC,oBAAY,qBAAqB,GAAG,MAAM,GAAG,WAAW,GAAG,SAAS,GAAG,UAAU,CAAA;AAEjF,oBAAY,sBAAsB,GAAG;IACjC,KAAK,EAAE,SAAS,CAAC,qBAAqB,EAAE,qBAAqB,CAAC,EAAE,qBAAqB,CAAC,EAAE,qBAAqB,CAAC,CAAC,CAAA;IAC/G,QAAQ,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAED,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAkCvD,CAAA;AAED,OAAO,EACH,iBAAiB,GACpB,CAAA"}
|
|
@@ -9,5 +9,6 @@ declare const OneStepProgressSVG: React.FC<ProgressIndicatorStepsProps>;
|
|
|
9
9
|
declare const TwoStepsProgressSVG: React.FC<ProgressIndicatorStepsProps>;
|
|
10
10
|
declare const ThreeStepsProgressSVG: React.FC<ProgressIndicatorStepsProps>;
|
|
11
11
|
declare const FourStepsProgressSVG: React.FC<ProgressIndicatorStepsProps>;
|
|
12
|
-
|
|
12
|
+
declare const FiveStepsProgressSVG: React.FC<ProgressIndicatorStepsProps>;
|
|
13
|
+
export { DisabledSVG, DoneSVG, WaitingSvg, OneStepProgressSVG, TwoStepsProgressSVG, ThreeStepsProgressSVG, FourStepsProgressSVG, FiveStepsProgressSVG, };
|
|
13
14
|
//# sourceMappingURL=steps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"steps.d.ts","sourceRoot":"","sources":["../../../src/components/ProgressIndicator/steps.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,oBAAY,2BAA2B,GAAG;IACtC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAA;CAChC,CAAA;AAED,QAAA,MAAM,WAAW,mBAOhB,CAAA;AAED,QAAA,MAAM,OAAO,mBAWZ,CAAA;AAED,QAAA,MAAM,UAAU,mBAaf,CAAA;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAI7D,CAAA;AAED,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAoB9D,CAAA;AAED,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAyBhE,CAAA;AAED,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CA8B/D,CAAA;AAED,OAAO,EACH,WAAW,EACX,OAAO,EACP,UAAU,EACV,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,GACvB,CAAA"}
|
|
1
|
+
{"version":3,"file":"steps.d.ts","sourceRoot":"","sources":["../../../src/components/ProgressIndicator/steps.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,oBAAY,2BAA2B,GAAG;IACtC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAA;CAChC,CAAA;AAED,QAAA,MAAM,WAAW,mBAOhB,CAAA;AAED,QAAA,MAAM,OAAO,mBAWZ,CAAA;AAED,QAAA,MAAM,UAAU,mBAaf,CAAA;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAI7D,CAAA;AAED,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAoB9D,CAAA;AAED,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAyBhE,CAAA;AAED,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CA8B/D,CAAA;AAED,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAe/D,CAAA;AAGD,OAAO,EACH,WAAW,EACX,OAAO,EACP,UAAU,EACV,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,GACvB,CAAA"}
|
|
@@ -3,6 +3,7 @@ import { Paragraph } from './paragraph';
|
|
|
3
3
|
import { Text } from './text';
|
|
4
4
|
import { Title } from './title';
|
|
5
5
|
import './style.less';
|
|
6
|
+
import './rtl.less';
|
|
6
7
|
export type { TypographyTitleProps } from './title';
|
|
7
8
|
export type { TypographyTextProps } from './text';
|
|
8
9
|
export type { TypographyLinkProps } from './link';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,cAAc,CAAA;AACrB,OAAO,YAAY,CAAA;AAEnB,YAAY,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AACnD,YAAY,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAA;AACjD,YAAY,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAA;AACjD,YAAY,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAA;AAC3D,oBAAY,cAAc,GAAG;IACzB,IAAI,EAAE,OAAO,IAAI,CAAC;IAClB,KAAK,EAAE,OAAO,KAAK,CAAC;IACpB,IAAI,EAAE,OAAO,IAAI,CAAC;IAClB,SAAS,EAAE,OAAO,SAAS,CAAC;CAC/B,CAAA;AAED,QAAA,MAAM,UAAU,EAAE,cAKjB,CAAA;AAED,OAAO,EACH,UAAU,GACb,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -47336,7 +47336,7 @@ var isObject_default = /*#__PURE__*/__webpack_require__.n(isObject);
|
|
|
47336
47336
|
var isString = __webpack_require__(8138);
|
|
47337
47337
|
var isString_default = /*#__PURE__*/__webpack_require__.n(isString);
|
|
47338
47338
|
;// CONCATENATED MODULE: ./package.json
|
|
47339
|
-
var package_namespaceObject = {"rE":"2.
|
|
47339
|
+
var package_namespaceObject = {"rE":"2.23.0"};
|
|
47340
47340
|
;// CONCATENATED MODULE: ./src/components/_utils/analytics.ts
|
|
47341
47341
|
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; }
|
|
47342
47342
|
|
|
@@ -47608,6 +47608,7 @@ Title.displayName = 'Typography.Title';
|
|
|
47608
47608
|
|
|
47609
47609
|
|
|
47610
47610
|
|
|
47611
|
+
|
|
47611
47612
|
var Typography = {
|
|
47612
47613
|
Text: Text,
|
|
47613
47614
|
Title: Title,
|
|
@@ -57678,6 +57679,50 @@ var FourStepsProgressSVG = function FourStepsProgressSVG(_ref4) {
|
|
|
57678
57679
|
}))));
|
|
57679
57680
|
};
|
|
57680
57681
|
|
|
57682
|
+
var FiveStepsProgressSVG = function FiveStepsProgressSVG(_ref5) {
|
|
57683
|
+
var stepColors = _ref5.stepColors;
|
|
57684
|
+
return /*#__PURE__*/external_react_default().createElement("svg", {
|
|
57685
|
+
width: "28",
|
|
57686
|
+
height: "28",
|
|
57687
|
+
viewBox: "0 0 28 28",
|
|
57688
|
+
fill: "none",
|
|
57689
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
57690
|
+
}, /*#__PURE__*/external_react_default().createElement("g", {
|
|
57691
|
+
clipPath: "url(#clip0_10964_2180)"
|
|
57692
|
+
}, /*#__PURE__*/external_react_default().createElement("path", {
|
|
57693
|
+
fillRule: "evenodd",
|
|
57694
|
+
clipRule: "evenodd",
|
|
57695
|
+
d: "M4.23193 24.0292C4.70955 24.4944 5.22157 24.9266 5.76486 25.3218L6.93837 23.7084C5.09609 22.3684 3.67311 20.5318 2.83564 18.4133C1.9984 16.2953 1.7809 13.9829 2.20852 11.7459C2.20863 11.7453 2.20875 11.7447 2.20887 11.7441L0.24941 11.3692C0.123167 12.029 0.0450591 12.6945 0.0146083 13.3606C-0.0753578 15.3283 0.250668 17.3008 0.980338 19.1467C1.71001 20.9925 2.82082 22.6548 4.23193 24.0292Z",
|
|
57696
|
+
fill: stepColors[4]
|
|
57697
|
+
}), /*#__PURE__*/external_react_default().createElement("path", {
|
|
57698
|
+
fillRule: "evenodd",
|
|
57699
|
+
clipRule: "evenodd",
|
|
57700
|
+
d: "M1.44493 7.80563C2.31648 6.03913 3.5546 4.46936 5.08499 3.20544C6.61539 1.94151 8.39087 1.02241 10.2903 0.500442C10.9328 0.323877 11.5895 0.192754 12.2556 0.109098C12.256 0.109048 12.2564 0.108998 12.2568 0.108948L12.5052 2.08842C10.2449 2.37207 8.11188 3.29301 6.35538 4.74366C4.59889 6.19432 3.2914 8.1148 2.58564 10.2808L0.688797 9.66275C0.689007 9.66211 0.689217 9.66146 0.689427 9.66082C0.897437 9.02274 1.15023 8.40294 1.44493 7.80563Z",
|
|
57701
|
+
fill: stepColors[3]
|
|
57702
|
+
}), /*#__PURE__*/external_react_default().createElement("path", {
|
|
57703
|
+
fillRule: "evenodd",
|
|
57704
|
+
clipRule: "evenodd",
|
|
57705
|
+
d: "M21.0514 23.7159C21.0502 23.7167 21.049 23.7176 21.0479 23.7184C19.2049 25.0549 17.0199 25.8399 14.7476 25.9817C12.474 26.1236 10.2069 25.6156 8.21114 24.5171L7.24915 26.2648C7.83769 26.5888 8.44648 26.8687 9.0705 27.1034C10.9142 27.797 12.8909 28.0964 14.8719 27.9728C16.8529 27.8492 18.777 27.3064 20.5202 26.389C21.1102 26.0785 21.6795 25.7251 22.2232 25.3305L21.0514 23.7159Z",
|
|
57706
|
+
fill: stepColors[2]
|
|
57707
|
+
}), /*#__PURE__*/external_react_default().createElement("path", {
|
|
57708
|
+
fillRule: "evenodd",
|
|
57709
|
+
clipRule: "evenodd",
|
|
57710
|
+
d: "M25.4184 10.2931C26.1218 12.4599 26.1942 14.7821 25.6271 16.9884C25.0605 19.193 23.8788 21.191 22.2199 22.7494C22.2186 22.7507 22.2172 22.752 22.2158 22.7533L23.5811 24.208C24.0709 23.7482 24.5251 23.2556 24.9411 22.7345C26.1701 21.1951 27.0652 19.4074 27.5593 17.4851C28.0534 15.5627 28.1312 13.5649 27.7969 11.6237C27.6837 10.9666 27.5233 10.3161 27.3159 9.67709L25.4184 10.2931Z",
|
|
57711
|
+
fill: stepColors[1]
|
|
57712
|
+
}), /*#__PURE__*/external_react_default().createElement("path", {
|
|
57713
|
+
fillRule: "evenodd",
|
|
57714
|
+
clipRule: "evenodd",
|
|
57715
|
+
d: "M14 1.995C16.2781 1.995 18.5091 2.64318 20.4326 3.86384C22.3556 5.08422 23.8918 6.82645 24.8618 8.88711C24.862 8.88758 24.8622 8.88805 24.8624 8.88852L26.6676 8.03909C26.6669 8.03761 26.6662 8.03613 26.6655 8.03465C26.3799 7.42837 26.0524 6.84574 25.6861 6.29057C24.6014 4.64633 23.1774 3.24294 21.5016 2.17941C19.8257 1.11587 17.9496 0.424993 16 0.143586C15.3401 0.0483378 14.6718 0 14 0V1.995Z",
|
|
57716
|
+
fill: stepColors[0]
|
|
57717
|
+
})), /*#__PURE__*/external_react_default().createElement("defs", null, /*#__PURE__*/external_react_default().createElement("clipPath", {
|
|
57718
|
+
id: "clip0_10964_2180"
|
|
57719
|
+
}, /*#__PURE__*/external_react_default().createElement("rect", {
|
|
57720
|
+
width: "28",
|
|
57721
|
+
height: "28",
|
|
57722
|
+
fill: "white"
|
|
57723
|
+
}))));
|
|
57724
|
+
};
|
|
57725
|
+
|
|
57681
57726
|
|
|
57682
57727
|
;// CONCATENATED MODULE: ./src/components/ProgressIndicator/progressIndicator.tsx
|
|
57683
57728
|
|
|
@@ -57714,7 +57759,8 @@ var ProgressIndicator = function ProgressIndicator(_ref) {
|
|
|
57714
57759
|
1: OneStepProgressSVG,
|
|
57715
57760
|
2: TwoStepsProgressSVG,
|
|
57716
57761
|
3: ThreeStepsProgressSVG,
|
|
57717
|
-
4: FourStepsProgressSVG
|
|
57762
|
+
4: FourStepsProgressSVG,
|
|
57763
|
+
5: FiveStepsProgressSVG
|
|
57718
57764
|
};
|
|
57719
57765
|
var Component = arrayLengthToIndicator[filteredSteps.length];
|
|
57720
57766
|
var stepColors = filteredSteps.map(function (step, index) {
|
package/dist/styles.css
CHANGED
|
@@ -1038,6 +1038,33 @@ span.condo-typography-ellipsis-single-line {
|
|
|
1038
1038
|
-webkit-box-orient: vertical;
|
|
1039
1039
|
}
|
|
1040
1040
|
|
|
1041
|
+
.condo-typography-rtl {
|
|
1042
|
+
direction: rtl;
|
|
1043
|
+
}
|
|
1044
|
+
.condo-typography-rtl .condo-typography-expand {
|
|
1045
|
+
float: left;
|
|
1046
|
+
margin-right: 4px;
|
|
1047
|
+
margin-left: 0;
|
|
1048
|
+
}
|
|
1049
|
+
.condo-typography-rtl .condo-typography-edit,
|
|
1050
|
+
.condo-typography-rtl .condo-typography-copy {
|
|
1051
|
+
margin-right: 4px;
|
|
1052
|
+
margin-left: 0;
|
|
1053
|
+
}
|
|
1054
|
+
div.condo-typography-edit-content.condo-typography-rtl {
|
|
1055
|
+
right: -5px;
|
|
1056
|
+
left: auto;
|
|
1057
|
+
}
|
|
1058
|
+
.condo-typography-rtl .condo-typography-edit-content-confirm {
|
|
1059
|
+
right: auto;
|
|
1060
|
+
left: 10px;
|
|
1061
|
+
}
|
|
1062
|
+
.condo-typography-rtl.condo-typography ul li,
|
|
1063
|
+
.condo-typography-rtl.condo-typography ol li {
|
|
1064
|
+
margin: 0 20px 0 0;
|
|
1065
|
+
padding: 0 4px 0 0;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1041
1068
|
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
1042
1069
|
/* stylelint-disable no-duplicate-selectors */
|
|
1043
1070
|
/* stylelint-disable */
|
|
@@ -3901,6 +3928,12 @@ a.condo-btn-secondary {
|
|
|
3901
3928
|
.condo-icon-btn.condo-icon-btn-small:focus::after {
|
|
3902
3929
|
border-radius: 8px;
|
|
3903
3930
|
}
|
|
3931
|
+
a.condo-icon-btn {
|
|
3932
|
+
padding-top: 8px !important;
|
|
3933
|
+
}
|
|
3934
|
+
a.condo-icon-btn.condo-icon-btn-small {
|
|
3935
|
+
padding-top: 2px !important;
|
|
3936
|
+
}
|
|
3904
3937
|
|
|
3905
3938
|
.condo-promo-block {
|
|
3906
3939
|
display: flex;
|