@pagopa/io-app-design-system 7.0.2 → 7.1.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/lib/commonjs/components/alert/Alert.js +6 -5
- package/lib/commonjs/components/alert/Alert.js.map +1 -1
- package/lib/commonjs/components/banner/Banner.js +7 -6
- package/lib/commonjs/components/banner/Banner.js.map +1 -1
- package/lib/commonjs/components/buttons/IOButton/IOButton.js +10 -8
- package/lib/commonjs/components/buttons/IOButton/IOButton.js.map +1 -1
- package/lib/commonjs/components/layout/ContentWrapper.js +5 -4
- package/lib/commonjs/components/layout/ContentWrapper.js.map +1 -1
- package/lib/commonjs/components/otpInput/OTPInput.js +6 -4
- package/lib/commonjs/components/otpInput/OTPInput.js.map +1 -1
- package/lib/commonjs/components/searchInput/SearchInput.js +8 -6
- package/lib/commonjs/components/searchInput/SearchInput.js.map +1 -1
- package/lib/commonjs/components/tabs/TabItem.js +6 -4
- package/lib/commonjs/components/tabs/TabItem.js.map +1 -1
- package/lib/commonjs/components/textInput/TextInputValidation.js +5 -3
- package/lib/commonjs/components/textInput/TextInputValidation.js.map +1 -1
- package/lib/commonjs/components/typography/Body.js +8 -5
- package/lib/commonjs/components/typography/Body.js.map +1 -1
- package/lib/commonjs/components/typography/BodyMonospace.js +4 -5
- package/lib/commonjs/components/typography/BodyMonospace.js.map +1 -1
- package/lib/commonjs/components/typography/BodySmall.js +8 -5
- package/lib/commonjs/components/typography/BodySmall.js.map +1 -1
- package/lib/commonjs/components/typography/ButtonText.js +4 -5
- package/lib/commonjs/components/typography/ButtonText.js.map +1 -1
- package/lib/commonjs/components/typography/Caption.js +4 -5
- package/lib/commonjs/components/typography/Caption.js.map +1 -1
- package/lib/commonjs/components/typography/H1.js +4 -5
- package/lib/commonjs/components/typography/H1.js.map +1 -1
- package/lib/commonjs/components/typography/H2.js +4 -5
- package/lib/commonjs/components/typography/H2.js.map +1 -1
- package/lib/commonjs/components/typography/H3.js +4 -5
- package/lib/commonjs/components/typography/H3.js.map +1 -1
- package/lib/commonjs/components/typography/H4.js +4 -5
- package/lib/commonjs/components/typography/H4.js.map +1 -1
- package/lib/commonjs/components/typography/H5.js +4 -5
- package/lib/commonjs/components/typography/H5.js.map +1 -1
- package/lib/commonjs/components/typography/H6.js +4 -5
- package/lib/commonjs/components/typography/H6.js.map +1 -1
- package/lib/commonjs/components/typography/Hero.js +4 -5
- package/lib/commonjs/components/typography/Hero.js.map +1 -1
- package/lib/commonjs/components/typography/IOText.js +16 -14
- package/lib/commonjs/components/typography/IOText.js.map +1 -1
- package/lib/commonjs/components/typography/LabelMini.js +8 -5
- package/lib/commonjs/components/typography/LabelMini.js.map +1 -1
- package/lib/commonjs/components/typography/markdown/MdH1.js +4 -5
- package/lib/commonjs/components/typography/markdown/MdH1.js.map +1 -1
- package/lib/commonjs/components/typography/markdown/MdH2.js +4 -5
- package/lib/commonjs/components/typography/markdown/MdH2.js.map +1 -1
- package/lib/commonjs/components/typography/markdown/MdH3.js +4 -5
- package/lib/commonjs/components/typography/markdown/MdH3.js.map +1 -1
- package/lib/commonjs/context/IOThemeContextProvider.js +3 -4
- package/lib/commonjs/context/IOThemeContextProvider.js.map +1 -1
- package/lib/module/components/alert/Alert.js +5 -5
- package/lib/module/components/alert/Alert.js.map +1 -1
- package/lib/module/components/banner/Banner.js +6 -6
- package/lib/module/components/banner/Banner.js.map +1 -1
- package/lib/module/components/buttons/IOButton/IOButton.js +10 -9
- package/lib/module/components/buttons/IOButton/IOButton.js.map +1 -1
- package/lib/module/components/layout/ContentWrapper.js +4 -4
- package/lib/module/components/layout/ContentWrapper.js.map +1 -1
- package/lib/module/components/otpInput/OTPInput.js +6 -5
- package/lib/module/components/otpInput/OTPInput.js.map +1 -1
- package/lib/module/components/searchInput/SearchInput.js +8 -7
- package/lib/module/components/searchInput/SearchInput.js.map +1 -1
- package/lib/module/components/tabs/TabItem.js +6 -5
- package/lib/module/components/tabs/TabItem.js.map +1 -1
- package/lib/module/components/textInput/TextInputValidation.js +5 -4
- package/lib/module/components/textInput/TextInputValidation.js.map +1 -1
- package/lib/module/components/typography/Body.js +7 -5
- package/lib/module/components/typography/Body.js.map +1 -1
- package/lib/module/components/typography/BodyMonospace.js +3 -5
- package/lib/module/components/typography/BodyMonospace.js.map +1 -1
- package/lib/module/components/typography/BodySmall.js +7 -5
- package/lib/module/components/typography/BodySmall.js.map +1 -1
- package/lib/module/components/typography/ButtonText.js +3 -5
- package/lib/module/components/typography/ButtonText.js.map +1 -1
- package/lib/module/components/typography/Caption.js +3 -5
- package/lib/module/components/typography/Caption.js.map +1 -1
- package/lib/module/components/typography/H1.js +3 -5
- package/lib/module/components/typography/H1.js.map +1 -1
- package/lib/module/components/typography/H2.js +3 -5
- package/lib/module/components/typography/H2.js.map +1 -1
- package/lib/module/components/typography/H3.js +3 -5
- package/lib/module/components/typography/H3.js.map +1 -1
- package/lib/module/components/typography/H4.js +3 -5
- package/lib/module/components/typography/H4.js.map +1 -1
- package/lib/module/components/typography/H5.js +3 -5
- package/lib/module/components/typography/H5.js.map +1 -1
- package/lib/module/components/typography/H6.js +3 -5
- package/lib/module/components/typography/H6.js.map +1 -1
- package/lib/module/components/typography/Hero.js +3 -5
- package/lib/module/components/typography/Hero.js.map +1 -1
- package/lib/module/components/typography/IOText.js +16 -15
- package/lib/module/components/typography/IOText.js.map +1 -1
- package/lib/module/components/typography/LabelMini.js +7 -5
- package/lib/module/components/typography/LabelMini.js.map +1 -1
- package/lib/module/components/typography/markdown/MdH1.js +3 -5
- package/lib/module/components/typography/markdown/MdH1.js.map +1 -1
- package/lib/module/components/typography/markdown/MdH2.js +3 -5
- package/lib/module/components/typography/markdown/MdH2.js.map +1 -1
- package/lib/module/components/typography/markdown/MdH3.js +3 -5
- package/lib/module/components/typography/markdown/MdH3.js.map +1 -1
- package/lib/module/context/IOThemeContextProvider.js +3 -4
- package/lib/module/context/IOThemeContextProvider.js.map +1 -1
- package/lib/typescript/components/alert/Alert.d.ts +3 -1
- package/lib/typescript/components/alert/Alert.d.ts.map +1 -1
- package/lib/typescript/components/banner/Banner.d.ts +3 -1
- package/lib/typescript/components/banner/Banner.d.ts.map +1 -1
- package/lib/typescript/components/buttons/IOButton/IOButton.d.ts +3 -2
- package/lib/typescript/components/buttons/IOButton/IOButton.d.ts.map +1 -1
- package/lib/typescript/components/layout/ContentWrapper.d.ts +10 -6
- package/lib/typescript/components/layout/ContentWrapper.d.ts.map +1 -1
- package/lib/typescript/components/otpInput/OTPInput.d.ts +3 -1
- package/lib/typescript/components/otpInput/OTPInput.d.ts.map +1 -1
- package/lib/typescript/components/searchInput/SearchInput.d.ts +3 -1
- package/lib/typescript/components/searchInput/SearchInput.d.ts.map +1 -1
- package/lib/typescript/components/tabs/TabItem.d.ts +3 -11
- package/lib/typescript/components/tabs/TabItem.d.ts.map +1 -1
- package/lib/typescript/components/textInput/TextInputValidation.d.ts +7 -24
- package/lib/typescript/components/textInput/TextInputValidation.d.ts.map +1 -1
- package/lib/typescript/components/typography/Body.d.ts +4 -2
- package/lib/typescript/components/typography/Body.d.ts.map +1 -1
- package/lib/typescript/components/typography/BodyMonospace.d.ts +2 -8
- package/lib/typescript/components/typography/BodyMonospace.d.ts.map +1 -1
- package/lib/typescript/components/typography/BodySmall.d.ts +4 -2
- package/lib/typescript/components/typography/BodySmall.d.ts.map +1 -1
- package/lib/typescript/components/typography/ButtonText.d.ts +2 -8
- package/lib/typescript/components/typography/ButtonText.d.ts.map +1 -1
- package/lib/typescript/components/typography/Caption.d.ts +2 -8
- package/lib/typescript/components/typography/Caption.d.ts.map +1 -1
- package/lib/typescript/components/typography/H1.d.ts +2 -8
- package/lib/typescript/components/typography/H1.d.ts.map +1 -1
- package/lib/typescript/components/typography/H2.d.ts +6 -10
- package/lib/typescript/components/typography/H2.d.ts.map +1 -1
- package/lib/typescript/components/typography/H3.d.ts +2 -8
- package/lib/typescript/components/typography/H3.d.ts.map +1 -1
- package/lib/typescript/components/typography/H4.d.ts +2 -8
- package/lib/typescript/components/typography/H4.d.ts.map +1 -1
- package/lib/typescript/components/typography/H5.d.ts +2 -8
- package/lib/typescript/components/typography/H5.d.ts.map +1 -1
- package/lib/typescript/components/typography/H6.d.ts +2 -8
- package/lib/typescript/components/typography/H6.d.ts.map +1 -1
- package/lib/typescript/components/typography/Hero.d.ts +2 -8
- package/lib/typescript/components/typography/Hero.d.ts.map +1 -1
- package/lib/typescript/components/typography/IOText.d.ts +5 -5
- package/lib/typescript/components/typography/IOText.d.ts.map +1 -1
- package/lib/typescript/components/typography/LabelMini.d.ts +4 -2
- package/lib/typescript/components/typography/LabelMini.d.ts.map +1 -1
- package/lib/typescript/components/typography/markdown/MdH1.d.ts +2 -8
- package/lib/typescript/components/typography/markdown/MdH1.d.ts.map +1 -1
- package/lib/typescript/components/typography/markdown/MdH2.d.ts +2 -8
- package/lib/typescript/components/typography/markdown/MdH2.d.ts.map +1 -1
- package/lib/typescript/components/typography/markdown/MdH3.d.ts +2 -8
- package/lib/typescript/components/typography/markdown/MdH3.d.ts.map +1 -1
- package/lib/typescript/context/IOThemeContextProvider.d.ts.map +1 -1
- package/package.json +6 -7
- package/src/components/alert/Alert.tsx +108 -112
- package/src/components/banner/Banner.tsx +121 -125
- package/src/components/buttons/IOButton/IOButton.tsx +204 -216
- package/src/components/layout/ContentWrapper.tsx +21 -24
- package/src/components/otpInput/OTPInput.tsx +156 -167
- package/src/components/searchInput/SearchInput.tsx +208 -217
- package/src/components/tabs/TabItem.tsx +143 -146
- package/src/components/textInput/TextInputValidation.tsx +116 -122
- package/src/components/typography/Body.tsx +51 -52
- package/src/components/typography/BodyMonospace.tsx +19 -24
- package/src/components/typography/BodySmall.tsx +51 -52
- package/src/components/typography/ButtonText.tsx +14 -20
- package/src/components/typography/Caption.tsx +18 -23
- package/src/components/typography/H1.tsx +12 -20
- package/src/components/typography/H2.tsx +16 -23
- package/src/components/typography/H3.tsx +12 -20
- package/src/components/typography/H4.tsx +12 -20
- package/src/components/typography/H5.tsx +16 -24
- package/src/components/typography/H6.tsx +13 -21
- package/src/components/typography/Hero.tsx +14 -19
- package/src/components/typography/IOText.tsx +54 -59
- package/src/components/typography/LabelMini.tsx +45 -49
- package/src/components/typography/markdown/MdH1.tsx +14 -19
- package/src/components/typography/markdown/MdH2.tsx +14 -19
- package/src/components/typography/markdown/MdH3.tsx +14 -19
- package/src/context/IOThemeContextProvider.tsx +4 -12
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["useIOTheme","IOText","jsx","_jsx","h2FontSize","h2LineHeight","H2","weight","customWeight","color","customColor","props","theme","H2Props","dynamicTypeRamp","size","lineHeight","children"],"sourceRoot":"../../../../src","sources":["components/typography/H2.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,eAAe;AAE1C,SAASC,MAAM,QAA4C,UAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAMtE,OAAO,MAAMC,UAAsB,GAAG,EAAE;AACxC,OAAO,MAAMC,YAAY,GAAG,EAAE;;AAE9B;AACA;AACA;AACA,OAAO,MAAMC,EAAE,GAAGA,CAAC;EACjBC,MAAM,EAAEC,YAAY;EACpBC,KAAK,EAAEC,WAAW;EAClB,GAAGC;AACS,CAAC,KAAK;EAClB,MAAMC,KAAK,GAAGZ,UAAU,CAAC,CAAC;EAE1B,MAAMa,OAAoB,GAAG;IAC3B,GAAGF,KAAK;IACRG,eAAe,EAAE,QAAQ;IAAE;IAC3BP,MAAM,EAAEC,YAAY,IAAI,UAAU;IAClCO,IAAI,EAAEX,UAAU;IAChBY,UAAU,EAAEX,YAAY;IACxBI,KAAK,EAAEC,WAAW,IAAIE,KAAK,CAAC,qBAAqB;EACnD,CAAC;EAED,oBAAOT,IAAA,CAACF,MAAM;IAAA,GAAKY,OAAO;IAAAI,QAAA,EAAGN,KAAK,CAACM;EAAQ,CAAS,CAAC;AACvD,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { forwardRef } from "react";
|
|
4
3
|
import { useIOTheme } from "../../context";
|
|
5
4
|
import { IOText } from "./IOText";
|
|
6
5
|
|
|
@@ -12,10 +11,10 @@ export const h3LineHeight = 33;
|
|
|
12
11
|
/**
|
|
13
12
|
* `H3` typographic style
|
|
14
13
|
*/
|
|
15
|
-
export const H3 =
|
|
14
|
+
export const H3 = ({
|
|
16
15
|
color: customColor,
|
|
17
16
|
...props
|
|
18
|
-
}
|
|
17
|
+
}) => {
|
|
19
18
|
const theme = useIOTheme();
|
|
20
19
|
const H3Props = {
|
|
21
20
|
...props,
|
|
@@ -27,9 +26,8 @@ export const H3 = /*#__PURE__*/forwardRef(({
|
|
|
27
26
|
color: customColor ?? theme["textHeading-default"]
|
|
28
27
|
};
|
|
29
28
|
return /*#__PURE__*/_jsx(IOText, {
|
|
30
|
-
ref: ref,
|
|
31
29
|
...H3Props,
|
|
32
30
|
children: props.children
|
|
33
31
|
});
|
|
34
|
-
}
|
|
32
|
+
};
|
|
35
33
|
//# sourceMappingURL=H3.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["useIOTheme","IOText","jsx","_jsx","h3FontSize","h3LineHeight","H3","color","customColor","props","theme","H3Props","dynamicTypeRamp","weight","size","lineHeight","children"],"sourceRoot":"../../../../src","sources":["components/typography/H3.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,eAAe;AAE1C,SAASC,MAAM,QAA4C,UAAU;;AAErE;AAAA,SAAAC,GAAA,IAAAC,IAAA;AACA,OAAO,MAAMC,UAAsB,GAAG,EAAE;AACxC,OAAO,MAAMC,YAAY,GAAG,EAAE;;AAE9B;AACA;AACA;AACA,OAAO,MAAMC,EAAE,GAAGA,CAAC;EAAEC,KAAK,EAAEC,WAAW;EAAE,GAAGC;AAA6B,CAAC,KAAK;EAC7E,MAAMC,KAAK,GAAGV,UAAU,CAAC,CAAC;EAE1B,MAAMW,OAAoB,GAAG;IAC3B,GAAGF,KAAK;IACRG,eAAe,EAAE,QAAQ;IAAE;IAC3BC,MAAM,EAAE,UAAU;IAClBC,IAAI,EAAEV,UAAU;IAChBW,UAAU,EAAEV,YAAY;IACxBE,KAAK,EAAEC,WAAW,IAAIE,KAAK,CAAC,qBAAqB;EACnD,CAAC;EAED,oBAAOP,IAAA,CAACF,MAAM;IAAA,GAAKU,OAAO;IAAAK,QAAA,EAAGP,KAAK,CAACO;EAAQ,CAAS,CAAC;AACvD,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { forwardRef } from "react";
|
|
4
3
|
import { useIOTheme } from "../../context";
|
|
5
4
|
import { IOText } from "./IOText";
|
|
6
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -10,10 +9,10 @@ export const h4LineHeight = 24;
|
|
|
10
9
|
/**
|
|
11
10
|
* `H4` typographic style
|
|
12
11
|
*/
|
|
13
|
-
export const H4 =
|
|
12
|
+
export const H4 = ({
|
|
14
13
|
color: customColor,
|
|
15
14
|
...props
|
|
16
|
-
}
|
|
15
|
+
}) => {
|
|
17
16
|
const theme = useIOTheme();
|
|
18
17
|
const H4Props = {
|
|
19
18
|
...props,
|
|
@@ -25,9 +24,8 @@ export const H4 = /*#__PURE__*/forwardRef(({
|
|
|
25
24
|
color: customColor ?? theme["textHeading-default"]
|
|
26
25
|
};
|
|
27
26
|
return /*#__PURE__*/_jsx(IOText, {
|
|
28
|
-
ref: ref,
|
|
29
27
|
...H4Props,
|
|
30
28
|
children: props.children
|
|
31
29
|
});
|
|
32
|
-
}
|
|
30
|
+
};
|
|
33
31
|
//# sourceMappingURL=H4.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["useIOTheme","IOText","jsx","_jsx","h4FontSize","h4LineHeight","H4","color","customColor","props","theme","H4Props","dynamicTypeRamp","weight","size","lineHeight","children"],"sourceRoot":"../../../../src","sources":["components/typography/H4.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,eAAe;AAE1C,SAASC,MAAM,QAA4C,UAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEtE,OAAO,MAAMC,UAAsB,GAAG,EAAE;AACxC,OAAO,MAAMC,YAAY,GAAG,EAAE;;AAE9B;AACA;AACA;AACA,OAAO,MAAMC,EAAE,GAAGA,CAAC;EAAEC,KAAK,EAAEC,WAAW;EAAE,GAAGC;AAA6B,CAAC,KAAK;EAC7E,MAAMC,KAAK,GAAGV,UAAU,CAAC,CAAC;EAE1B,MAAMW,OAAoB,GAAG;IAC3B,GAAGF,KAAK;IACRG,eAAe,EAAE,QAAQ;IAAE;IAC3BC,MAAM,EAAE,UAAU;IAClBC,IAAI,EAAEV,UAAU;IAChBW,UAAU,EAAEV,YAAY;IACxBE,KAAK,EAAEC,WAAW,IAAIE,KAAK,CAAC,qBAAqB;EACnD,CAAC;EAED,oBAAOP,IAAA,CAACF,MAAM;IAAA,GAAKU,OAAO;IAAAK,QAAA,EAAGP,KAAK,CAACO;EAAQ,CAAS,CAAC;AACvD,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { forwardRef } from "react";
|
|
4
3
|
import { useIOTheme } from "../../context";
|
|
5
4
|
import { IOText } from "./IOText";
|
|
6
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -10,10 +9,10 @@ export const h5LineHeight = 16;
|
|
|
10
9
|
/**
|
|
11
10
|
* `H5` typographic style
|
|
12
11
|
*/
|
|
13
|
-
export const H5 =
|
|
12
|
+
export const H5 = ({
|
|
14
13
|
color: customColor,
|
|
15
14
|
...props
|
|
16
|
-
}
|
|
15
|
+
}) => {
|
|
17
16
|
const theme = useIOTheme();
|
|
18
17
|
const H5Props = {
|
|
19
18
|
...props,
|
|
@@ -29,9 +28,8 @@ export const H5 = /*#__PURE__*/forwardRef(({
|
|
|
29
28
|
}
|
|
30
29
|
};
|
|
31
30
|
return /*#__PURE__*/_jsx(IOText, {
|
|
32
|
-
ref: ref,
|
|
33
31
|
...H5Props,
|
|
34
32
|
children: props.children
|
|
35
33
|
});
|
|
36
|
-
}
|
|
34
|
+
};
|
|
37
35
|
//# sourceMappingURL=H5.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["useIOTheme","IOText","jsx","_jsx","h5FontSize","h5LineHeight","H5","color","customColor","props","theme","H5Props","dynamicTypeRamp","weight","size","lineHeight","textStyle","textTransform","letterSpacing","children"],"sourceRoot":"../../../../src","sources":["components/typography/H5.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,eAAe;AAE1C,SAASC,MAAM,QAA4C,UAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEtE,OAAO,MAAMC,UAAsB,GAAG,EAAE;AACxC,OAAO,MAAMC,YAAY,GAAG,EAAE;;AAE9B;AACA;AACA;AACA,OAAO,MAAMC,EAAE,GAAGA,CAAC;EAAEC,KAAK,EAAEC,WAAW;EAAE,GAAGC;AAA6B,CAAC,KAAK;EAC7E,MAAMC,KAAK,GAAGV,UAAU,CAAC,CAAC;EAE1B,MAAMW,OAAoB,GAAG;IAC3B,GAAGF,KAAK;IACRG,eAAe,EAAE,aAAa;IAAE;IAChCC,MAAM,EAAE,UAAU;IAClBC,IAAI,EAAEV,UAAU;IAChBW,UAAU,EAAEV,YAAY;IACxBE,KAAK,EAAEC,WAAW,IAAIE,KAAK,CAAC,qBAAqB,CAAC;IAClDM,SAAS,EAAE;MACTC,aAAa,EAAE,WAAW;MAC1BC,aAAa,EAAE;IACjB;EACF,CAAC;EAED,oBAAOf,IAAA,CAACF,MAAM;IAAA,GAAKU,OAAO;IAAAQ,QAAA,EAAGV,KAAK,CAACU;EAAQ,CAAS,CAAC;AACvD,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { forwardRef } from "react";
|
|
4
3
|
import { useIONewTypeface, useIOTheme } from "../../context";
|
|
5
4
|
import { IOText } from "./IOText";
|
|
6
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -13,10 +12,10 @@ const legacyFontSize = 17;
|
|
|
13
12
|
/**
|
|
14
13
|
* `H6` typographic style
|
|
15
14
|
*/
|
|
16
|
-
export const H6 =
|
|
15
|
+
export const H6 = ({
|
|
17
16
|
color: customColor,
|
|
18
17
|
...props
|
|
19
|
-
}
|
|
18
|
+
}) => {
|
|
20
19
|
const theme = useIOTheme();
|
|
21
20
|
const {
|
|
22
21
|
newTypefaceEnabled
|
|
@@ -31,9 +30,8 @@ export const H6 = /*#__PURE__*/forwardRef(({
|
|
|
31
30
|
color: customColor ?? theme["textHeading-default"]
|
|
32
31
|
};
|
|
33
32
|
return /*#__PURE__*/_jsx(IOText, {
|
|
34
|
-
ref: ref,
|
|
35
33
|
...H6Props,
|
|
36
34
|
children: props.children
|
|
37
35
|
});
|
|
38
|
-
}
|
|
36
|
+
};
|
|
39
37
|
//# sourceMappingURL=H6.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["useIONewTypeface","useIOTheme","IOText","jsx","_jsx","h6FontSize","h6LineHeight","legacyFontSize","H6","color","customColor","props","theme","newTypefaceEnabled","H6Props","dynamicTypeRamp","weight","size","lineHeight","children"],"sourceRoot":"../../../../src","sources":["components/typography/H6.tsx"],"mappings":";;AAAA,SAASA,gBAAgB,EAAEC,UAAU,QAAQ,eAAe;AAE5D,SAASC,MAAM,QAA4C,UAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEtE,OAAO,MAAMC,UAAsB,GAAG,EAAE;AACxC,OAAO,MAAMC,YAAY,GAAG,EAAE;;AAE9B;AACA,MAAMC,cAA0B,GAAG,EAAE;;AAErC;AACA;AACA;AACA,OAAO,MAAMC,EAAE,GAAGA,CAAC;EAAEC,KAAK,EAAEC,WAAW;EAAE,GAAGC;AAA6B,CAAC,KAAK;EAC7E,MAAMC,KAAK,GAAGX,UAAU,CAAC,CAAC;EAC1B,MAAM;IAAEY;EAAmB,CAAC,GAAGb,gBAAgB,CAAC,CAAC;EAEjD,MAAMc,OAAoB,GAAG;IAC3B,GAAGH,KAAK;IACRI,eAAe,EAAE,UAAU;IAAE;IAC7BC,MAAM,EAAE,UAAU;IAClBC,IAAI,EAAEJ,kBAAkB,GAAGR,UAAU,GAAGE,cAAc;IACtDW,UAAU,EAAEZ,YAAY;IACxBG,KAAK,EAAEC,WAAW,IAAIE,KAAK,CAAC,qBAAqB;EACnD,CAAC;EAED,oBAAOR,IAAA,CAACF,MAAM;IAAA,GAAKY,OAAO;IAAAK,QAAA,EAAGR,KAAK,CAACQ;EAAQ,CAAS,CAAC;AACvD,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { forwardRef } from "react";
|
|
4
3
|
import { useIOTheme } from "../../context";
|
|
5
4
|
import { IOText } from "./IOText";
|
|
6
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -10,10 +9,10 @@ export const heroLineHeight = 48;
|
|
|
10
9
|
/**
|
|
11
10
|
* `Hero` typographic style
|
|
12
11
|
*/
|
|
13
|
-
export const Hero =
|
|
12
|
+
export const Hero = ({
|
|
14
13
|
color: customColor,
|
|
15
14
|
...props
|
|
16
|
-
}
|
|
15
|
+
}) => {
|
|
17
16
|
const theme = useIOTheme();
|
|
18
17
|
const HeroProps = {
|
|
19
18
|
...props,
|
|
@@ -23,9 +22,8 @@ export const Hero = /*#__PURE__*/forwardRef(({
|
|
|
23
22
|
color: customColor ?? theme["textHeading-default"]
|
|
24
23
|
};
|
|
25
24
|
return /*#__PURE__*/_jsx(IOText, {
|
|
26
|
-
ref: ref,
|
|
27
25
|
...HeroProps,
|
|
28
26
|
children: props.children
|
|
29
27
|
});
|
|
30
|
-
}
|
|
28
|
+
};
|
|
31
29
|
//# sourceMappingURL=Hero.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["useIOTheme","IOText","jsx","_jsx","heroFontSize","heroLineHeight","Hero","color","customColor","props","theme","HeroProps","weight","size","lineHeight","children"],"sourceRoot":"../../../../src","sources":["components/typography/Hero.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,eAAe;AAE1C,SAASC,MAAM,QAA4C,UAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEtE,OAAO,MAAMC,YAAwB,GAAG,EAAE;AAC1C,OAAO,MAAMC,cAAc,GAAG,EAAE;;AAEhC;AACA;AACA;AACA,OAAO,MAAMC,IAAI,GAAGA,CAAC;EACnBC,KAAK,EAAEC,WAAW;EAClB,GAAGC;AACkB,CAAC,KAAK;EAC3B,MAAMC,KAAK,GAAGV,UAAU,CAAC,CAAC;EAE1B,MAAMW,SAAsB,GAAG;IAC7B,GAAGF,KAAK;IACRG,MAAM,EAAE,UAAU;IAClBC,IAAI,EAAE,EAAE;IACRC,UAAU,EAAE,EAAE;IACdP,KAAK,EAAEC,WAAW,IAAIE,KAAK,CAAC,qBAAqB;EACnD,CAAC;EAED,oBAAOP,IAAA,CAACF,MAAM;IAAA,GAAKU,SAAS;IAAAI,QAAA,EAAGN,KAAK,CAACM;EAAQ,CAAS,CAAC;AACzD,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { useMemo } from "react";
|
|
4
4
|
import { Text } from "react-native";
|
|
5
5
|
import Animated from "react-native-reanimated";
|
|
6
6
|
import { useIONewTypeface } from "../../context";
|
|
@@ -41,7 +41,7 @@ const calculateTextStyle = (color, ...args) => ({
|
|
|
41
41
|
* @param props
|
|
42
42
|
* @constructor
|
|
43
43
|
*/
|
|
44
|
-
export const IOText =
|
|
44
|
+
export const IOText = ({
|
|
45
45
|
color,
|
|
46
46
|
size,
|
|
47
47
|
font,
|
|
@@ -53,8 +53,9 @@ export const IOText = /*#__PURE__*/forwardRef(({
|
|
|
53
53
|
children,
|
|
54
54
|
allowFontScaling = true,
|
|
55
55
|
maxFontSizeMultiplier,
|
|
56
|
+
ref,
|
|
56
57
|
...props
|
|
57
|
-
}
|
|
58
|
+
}) => {
|
|
58
59
|
const boldEnabled = useBoldTextEnabled();
|
|
59
60
|
const {
|
|
60
61
|
newTypefaceEnabled
|
|
@@ -63,23 +64,23 @@ export const IOText = /*#__PURE__*/forwardRef(({
|
|
|
63
64
|
const computedStyleObj = useMemo(() => calculateTextStyle(color, size, computedFont, lineHeight, weight, fontStyle, boldEnabled), [color, size, computedFont, lineHeight, weight, fontStyle, boldEnabled]);
|
|
64
65
|
|
|
65
66
|
/* In some cases, for example when we use color transitions with
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
67
|
+
`reanimated` we need to manage chromatic values as `ColorValue`
|
|
68
|
+
or `string` (not `IOColors`). So we keep a way to override
|
|
69
|
+
the the `color' attribute without giving the ability to
|
|
70
|
+
override all other all other typographic attributes
|
|
71
|
+
through the `style' prop. */
|
|
71
72
|
const fontStyleObj = style?.color ? [{
|
|
72
73
|
...computedStyleObj,
|
|
73
74
|
color: style?.color
|
|
74
75
|
}] : computedStyleObj;
|
|
75
76
|
|
|
76
77
|
/* Some typographic styles like `H5` have certain `TextStyle` properties
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
78
|
+
like `textTransform` or `letterSpacing` that we want to apply to the text.
|
|
79
|
+
We use the `textStyle` prop to pass these properties to the `IOText`
|
|
80
|
+
component and preserve the ability to define the `style` prop as well.
|
|
81
|
+
The `style` prop is the last one to be applied, so we can properly
|
|
82
|
+
override the `color` attribute.
|
|
83
|
+
*/
|
|
83
84
|
const styleObj = style ? [textStyle ?? {}, fontStyleObj ?? {}, style] : [textStyle ?? {}, fontStyleObj ?? {}];
|
|
84
85
|
|
|
85
86
|
/* Accessible typography based on the `fontScale` parameter */
|
|
@@ -94,6 +95,6 @@ export const IOText = /*#__PURE__*/forwardRef(({
|
|
|
94
95
|
...accessibleFontSizeProps,
|
|
95
96
|
children: children
|
|
96
97
|
});
|
|
97
|
-
}
|
|
98
|
+
};
|
|
98
99
|
export const AnimatedIOText = Animated.createAnimatedComponent(IOText);
|
|
99
100
|
//# sourceMappingURL=IOText.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["useMemo","Text","Animated","useIONewTypeface","IOColors","useBoldTextEnabled","IOMaxFontSizeMultiplier","makeFontStyleObject","jsx","_jsx","calculateTextStyle","color","args","undefined","IOText","size","font","lineHeight","weight","fontStyle","textStyle","style","children","allowFontScaling","maxFontSizeMultiplier","ref","props","boldEnabled","newTypefaceEnabled","computedFont","computedStyleObj","fontStyleObj","styleObj","accessibleFontSizeProps","AnimatedIOText","createAnimatedComponent"],"sourceRoot":"../../../../src","sources":["components/typography/IOText.tsx"],"mappings":";;AAAA,SAAgDA,OAAO,QAAQ,OAAO;AACtE,SAIEC,IAAI,QAEC,cAAc;AACrB,OAAOC,QAAQ,MAAM,yBAAyB;AAC9C,SAASC,gBAAgB,QAAQ,eAAe;AAChD,SAASC,QAAQ,QAAQ,YAAY;AACrC,SAASC,kBAAkB,QAAQ,2BAA2B;AAC9D,SAGEC,uBAAuB,EACvBC,mBAAmB,QACd,mBAAmB;;AAE1B;AACA;AACA;AACA;AACA;;AAaA;AACA;AACA;AACA;;AAgBA;AACA;AACA;AACA;AAHA,SAAAC,GAAA,IAAAC,IAAA;AAcA;AACA;AACA;AACA;AACA;AACA,MAAMC,kBAAkB,GAAGA,CACzBC,KAAgB,EAChB,GAAGC,IAA4C,MAC3C;EACJ,GAAGL,mBAAmB,CAAC,GAAGK,IAAI,CAAC;EAC/BD,KAAK,EAAEA,KAAK,GAAGP,QAAQ,CAACO,KAAK,CAAC,GAAGE;AACnC,CAAC,CAAC;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,MAAM,GAAGA,CAAC;EACrBH,KAAK;EACLI,IAAI;EACJC,IAAI;EACJC,UAAU;EACVC,MAAM;EACNC,SAAS;EACTC,SAAS;EACTC,KAAK;EACLC,QAAQ;EACRC,gBAAgB,GAAG,IAAI;EACvBC,qBAAqB;EACrBC,GAAG;EACH,GAAGC;AACQ,CAAC,KAAK;EACjB,MAAMC,WAAW,GAAGtB,kBAAkB,CAAC,CAAC;EACxC,MAAM;IAAEuB;EAAmB,CAAC,GAAGzB,gBAAgB,CAAC,CAAC;EAEjD,MAAM0B,YAAY,GAChBb,IAAI,KAAKY,kBAAkB,GAAG,UAAU,GAAG,kBAAkB,CAAC;EAEhE,MAAME,gBAAgB,GAAG9B,OAAO,CAC9B,MACEU,kBAAkB,CAChBC,KAAK,EACLI,IAAI,EACJc,YAAY,EACZZ,UAAU,EACVC,MAAM,EACNC,SAAS,EACTQ,WACF,CAAC,EACH,CAAChB,KAAK,EAAEI,IAAI,EAAEc,YAAY,EAAEZ,UAAU,EAAEC,MAAM,EAAEC,SAAS,EAAEQ,WAAW,CACxE,CAAC;;EAED;AACF;AACA;AACA;AACA;AACA;EACE,MAAMI,YAAY,GAAGV,KAAK,EAAEV,KAAK,GAC7B,CAAC;IAAE,GAAGmB,gBAAgB;IAAEnB,KAAK,EAAEU,KAAK,EAAEV;EAAM,CAAC,CAAC,GAC9CmB,gBAAgB;;EAEpB;AACF;AACA;AACA;AACA;AACA;AACA;EACE,MAAME,QAAQ,GAAGX,KAAK,GAClB,CAACD,SAAS,IAAI,CAAC,CAAC,EAAEW,YAAY,IAAI,CAAC,CAAC,EAAEV,KAAK,CAAC,GAC5C,CAACD,SAAS,IAAI,CAAC,CAAC,EAAEW,YAAY,IAAI,CAAC,CAAC,CAAC;;EAEzC;EACA,MAAME,uBAAoD,GAAG;IAC3DV,gBAAgB;IAChBC,qBAAqB,EAAEA,qBAAqB,IAAIlB;EAClD,CAAC;EAED,oBACEG,IAAA,CAACR,IAAI;IAACwB,GAAG,EAAEA,GAAI;IAACJ,KAAK,EAAEW,QAAS;IAAA,GAAKN,KAAK;IAAA,GAAMO,uBAAuB;IAAAX,QAAA,EACpEA;EAAQ,CACL,CAAC;AAEX,CAAC;AAED,OAAO,MAAMY,cAAc,GAAGhC,QAAQ,CAACiC,uBAAuB,CAACrB,MAAM,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { forwardRef } from "react";
|
|
4
3
|
import { Pressable } from "react-native";
|
|
5
4
|
import { useIOTheme } from "../../context";
|
|
6
5
|
import { IOText } from "./IOText";
|
|
@@ -8,7 +7,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
8
7
|
/**
|
|
9
8
|
* `LabelMini` typographic style
|
|
10
9
|
*/
|
|
11
|
-
export const LabelMini =
|
|
10
|
+
export const LabelMini = ({
|
|
11
|
+
ref,
|
|
12
12
|
weight: customWeight,
|
|
13
13
|
color: customColor,
|
|
14
14
|
asLink,
|
|
@@ -16,7 +16,7 @@ export const LabelMini = /*#__PURE__*/forwardRef(({
|
|
|
16
16
|
textStyle: customTextStyle,
|
|
17
17
|
onPress,
|
|
18
18
|
...props
|
|
19
|
-
}
|
|
19
|
+
}) => {
|
|
20
20
|
const theme = useIOTheme();
|
|
21
21
|
const defaultColor = asLink ? theme["interactiveElem-default"] : theme["textBody-tertiary"];
|
|
22
22
|
const LabelMiniProps = {
|
|
@@ -34,6 +34,9 @@ export const LabelMini = /*#__PURE__*/forwardRef(({
|
|
|
34
34
|
} : {})
|
|
35
35
|
};
|
|
36
36
|
if (asLink) {
|
|
37
|
+
// TODO: If Pressable is replaced with `onPress` on IOText, ref would
|
|
38
|
+
// always point to a Text node and the Ref<View> override in the prop
|
|
39
|
+
// type can be removed entirely.
|
|
37
40
|
return /*#__PURE__*/_jsx(Pressable, {
|
|
38
41
|
onPress: onPress,
|
|
39
42
|
ref: ref,
|
|
@@ -45,9 +48,8 @@ export const LabelMini = /*#__PURE__*/forwardRef(({
|
|
|
45
48
|
});
|
|
46
49
|
}
|
|
47
50
|
return /*#__PURE__*/_jsx(IOText, {
|
|
48
|
-
ref: ref,
|
|
49
51
|
...LabelMiniProps,
|
|
50
52
|
children: props.children
|
|
51
53
|
});
|
|
52
|
-
}
|
|
54
|
+
};
|
|
53
55
|
//# sourceMappingURL=LabelMini.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["Pressable","useIOTheme","IOText","jsx","_jsx","LabelMini","ref","weight","customWeight","color","customColor","asLink","accessibilityRole","textStyle","customTextStyle","onPress","props","theme","defaultColor","LabelMiniProps","dynamicTypeRamp","size","lineHeight","textDecorationLine","children"],"sourceRoot":"../../../../src","sources":["components/typography/LabelMini.tsx"],"mappings":";;AACA,SAASA,SAAS,QAAc,cAAc;AAC9C,SAASC,UAAU,QAAQ,eAAe;AAE1C,SACEC,MAAM,QAID,UAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAOlB;AACA;AACA;AACA,OAAO,MAAMC,SAAS,GAAGA,CAAC;EACxBC,GAAG;EACHC,MAAM,EAAEC,YAAY;EACpBC,KAAK,EAAEC,WAAW;EAClBC,MAAM;EACNC,iBAAiB,GAAG,MAAM;EAC1BC,SAAS,EAAEC,eAAe;EAC1BC,OAAO;EACP,GAAGC;AACW,CAAC,KAAK;EACpB,MAAMC,KAAK,GAAGhB,UAAU,CAAC,CAAC;EAE1B,MAAMiB,YAAY,GAAGP,MAAM,GACvBM,KAAK,CAAC,yBAAyB,CAAC,GAChCA,KAAK,CAAC,mBAAmB,CAAC;EAE9B,MAAME,cAA2B,GAAG;IAClC,GAAGH,KAAK;IACRI,eAAe,EAAE,UAAU,CAAC;IAC5Bb,MAAM,EAAEC,YAAY,IAAI,UAAU;IAClCa,IAAI,EAAE,EAAE;IACRC,UAAU,EAAE,EAAE;IACdb,KAAK,EAAEC,WAAW,IAAIQ,YAAY;IAClC,IAAIP,MAAM,GACN;MACEC,iBAAiB;MACjBC,SAAS,EAAEC,eAAe,IAAI;QAAES,kBAAkB,EAAE;MAAY;IAClE,CAAC,GACD,CAAC,CAAC;EACR,CAAC;EAED,IAAIZ,MAAM,EAAE;IACV;IACA;IACA;IACA,oBACEP,IAAA,CAACJ,SAAS;MACRe,OAAO,EAAEA,OAAQ;MACjBT,GAAG,EAAEA,GAAI;MACTM,iBAAiB,EAAEA,iBAAkB;MAAAY,QAAA,eAErCpB,IAAA,CAACF,MAAM;QAAA,GAAKiB,cAAc;QAAAK,QAAA,EAAGR,KAAK,CAACQ;MAAQ,CAAS;IAAC,CAC5C,CAAC;EAEhB;EAEA,oBAAOpB,IAAA,CAACF,MAAM;IAAA,GAAKiB,cAAc;IAAAK,QAAA,EAAGR,KAAK,CAACQ;EAAQ,CAAS,CAAC;AAC9D,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { forwardRef } from "react";
|
|
4
3
|
import { useIOTheme } from "../../../context";
|
|
5
4
|
import { IOText } from "../IOText";
|
|
6
5
|
|
|
@@ -8,10 +7,10 @@ import { IOText } from "../IOText";
|
|
|
8
7
|
* `MdH1` typographic style
|
|
9
8
|
*/
|
|
10
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
export const MdH1 =
|
|
10
|
+
export const MdH1 = ({
|
|
12
11
|
color: customColor,
|
|
13
12
|
...props
|
|
14
|
-
}
|
|
13
|
+
}) => {
|
|
15
14
|
const theme = useIOTheme();
|
|
16
15
|
const MdH1Props = {
|
|
17
16
|
...props,
|
|
@@ -21,9 +20,8 @@ export const MdH1 = /*#__PURE__*/forwardRef(({
|
|
|
21
20
|
color: customColor ?? theme["textHeading-default"]
|
|
22
21
|
};
|
|
23
22
|
return /*#__PURE__*/_jsx(IOText, {
|
|
24
|
-
ref: ref,
|
|
25
23
|
...MdH1Props,
|
|
26
24
|
children: props.children
|
|
27
25
|
});
|
|
28
|
-
}
|
|
26
|
+
};
|
|
29
27
|
//# sourceMappingURL=MdH1.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["useIOTheme","IOText","jsx","_jsx","MdH1","color","customColor","props","theme","MdH1Props","weight","size","lineHeight","children"],"sourceRoot":"../../../../../src","sources":["components/typography/markdown/MdH1.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,kBAAkB;AAC7C,SAASC,MAAM,QAA4C,WAAW;;AAEtE;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA;AAGA,OAAO,MAAMC,IAAI,GAAGA,CAAC;EACnBC,KAAK,EAAEC,WAAW;EAClB,GAAGC;AACkB,CAAC,KAAK;EAC3B,MAAMC,KAAK,GAAGR,UAAU,CAAC,CAAC;EAE1B,MAAMS,SAAsB,GAAG;IAC7B,GAAGF,KAAK;IACRG,MAAM,EAAE,UAAU;IAClBC,IAAI,EAAE,EAAE;IACRC,UAAU,EAAE,EAAE;IACdP,KAAK,EAAEC,WAAW,IAAIE,KAAK,CAAC,qBAAqB;EACnD,CAAC;EAED,oBAAOL,IAAA,CAACF,MAAM;IAAA,GAAKQ,SAAS;IAAAI,QAAA,EAAGN,KAAK,CAACM;EAAQ,CAAS,CAAC;AACzD,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { forwardRef } from "react";
|
|
4
3
|
import { useIOTheme } from "../../../context";
|
|
5
4
|
import { IOText } from "../IOText";
|
|
6
5
|
|
|
@@ -8,10 +7,10 @@ import { IOText } from "../IOText";
|
|
|
8
7
|
* `MdH2` typographic style
|
|
9
8
|
*/
|
|
10
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
export const MdH2 =
|
|
10
|
+
export const MdH2 = ({
|
|
12
11
|
color: customColor,
|
|
13
12
|
...props
|
|
14
|
-
}
|
|
13
|
+
}) => {
|
|
15
14
|
const theme = useIOTheme();
|
|
16
15
|
const MdH2Props = {
|
|
17
16
|
...props,
|
|
@@ -21,9 +20,8 @@ export const MdH2 = /*#__PURE__*/forwardRef(({
|
|
|
21
20
|
color: customColor ?? theme["textHeading-default"]
|
|
22
21
|
};
|
|
23
22
|
return /*#__PURE__*/_jsx(IOText, {
|
|
24
|
-
ref: ref,
|
|
25
23
|
...MdH2Props,
|
|
26
24
|
children: props.children
|
|
27
25
|
});
|
|
28
|
-
}
|
|
26
|
+
};
|
|
29
27
|
//# sourceMappingURL=MdH2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["useIOTheme","IOText","jsx","_jsx","MdH2","color","customColor","props","theme","MdH2Props","weight","size","lineHeight","children"],"sourceRoot":"../../../../../src","sources":["components/typography/markdown/MdH2.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,kBAAkB;AAC7C,SAASC,MAAM,QAA4C,WAAW;;AAEtE;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA;AAGA,OAAO,MAAMC,IAAI,GAAGA,CAAC;EACnBC,KAAK,EAAEC,WAAW;EAClB,GAAGC;AACkB,CAAC,KAAK;EAC3B,MAAMC,KAAK,GAAGR,UAAU,CAAC,CAAC;EAE1B,MAAMS,SAAsB,GAAG;IAC7B,GAAGF,KAAK;IACRG,MAAM,EAAE,UAAU;IAClBC,IAAI,EAAE,EAAE;IACRC,UAAU,EAAE,EAAE;IACdP,KAAK,EAAEC,WAAW,IAAIE,KAAK,CAAC,qBAAqB;EACnD,CAAC;EAED,oBAAOL,IAAA,CAACF,MAAM;IAAA,GAAKQ,SAAS;IAAAI,QAAA,EAAGN,KAAK,CAACM;EAAQ,CAAS,CAAC;AACzD,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { forwardRef } from "react";
|
|
4
3
|
import { useIOTheme } from "../../../context";
|
|
5
4
|
import { IOText } from "../IOText";
|
|
6
5
|
|
|
@@ -8,10 +7,10 @@ import { IOText } from "../IOText";
|
|
|
8
7
|
* `MdH3` typographic style
|
|
9
8
|
*/
|
|
10
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
export const MdH3 =
|
|
10
|
+
export const MdH3 = ({
|
|
12
11
|
color: customColor,
|
|
13
12
|
...props
|
|
14
|
-
}
|
|
13
|
+
}) => {
|
|
15
14
|
const theme = useIOTheme();
|
|
16
15
|
const MdH3Props = {
|
|
17
16
|
...props,
|
|
@@ -21,9 +20,8 @@ export const MdH3 = /*#__PURE__*/forwardRef(({
|
|
|
21
20
|
color: customColor ?? theme["textHeading-default"]
|
|
22
21
|
};
|
|
23
22
|
return /*#__PURE__*/_jsx(IOText, {
|
|
24
|
-
ref: ref,
|
|
25
23
|
...MdH3Props,
|
|
26
24
|
children: props.children
|
|
27
25
|
});
|
|
28
|
-
}
|
|
26
|
+
};
|
|
29
27
|
//# sourceMappingURL=MdH3.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["useIOTheme","IOText","jsx","_jsx","MdH3","color","customColor","props","theme","MdH3Props","weight","size","lineHeight","children"],"sourceRoot":"../../../../../src","sources":["components/typography/markdown/MdH3.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,kBAAkB;AAC7C,SAASC,MAAM,QAA4C,WAAW;;AAEtE;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA;AAGA,OAAO,MAAMC,IAAI,GAAGA,CAAC;EACnBC,KAAK,EAAEC,WAAW;EAClB,GAAGC;AACkB,CAAC,KAAK;EAC3B,MAAMC,KAAK,GAAGR,UAAU,CAAC,CAAC;EAE1B,MAAMS,SAAsB,GAAG;IAC7B,GAAGF,KAAK;IACRG,MAAM,EAAE,UAAU;IAClBC,IAAI,EAAE,EAAE;IACRC,UAAU,EAAE,EAAE;IACdP,KAAK,EAAEC,WAAW,IAAIE,KAAK,CAAC,qBAAqB;EACnD,CAAC;EAED,oBAAOL,IAAA,CAACF,MAAM;IAAA,GAAKQ,SAAS;IAAAI,QAAA,EAAGN,KAAK,CAACM;EAAQ,CAAS,CAAC;AACzD,CAAC","ignoreList":[]}
|
|
@@ -9,7 +9,7 @@ export const IOThemes = {
|
|
|
9
9
|
dark: IOThemeDark
|
|
10
10
|
};
|
|
11
11
|
export const IOThemeContext = /*#__PURE__*/createContext({
|
|
12
|
-
themeType: Appearance.getColorScheme()
|
|
12
|
+
themeType: Appearance.getColorScheme(),
|
|
13
13
|
theme: Appearance.getColorScheme() === "dark" ? IOThemes.dark : IOThemes.light,
|
|
14
14
|
setTheme: () => void 0
|
|
15
15
|
});
|
|
@@ -19,15 +19,14 @@ export const IOThemeContextProvider = ({
|
|
|
19
19
|
children,
|
|
20
20
|
theme
|
|
21
21
|
}) => {
|
|
22
|
-
const [currentTheme, setCurrentTheme] = useState(theme ??
|
|
23
|
-
const resolvedTheme = currentTheme === "unspecified" ? Appearance.getColorScheme() ?? "light" : currentTheme;
|
|
22
|
+
const [currentTheme, setCurrentTheme] = useState(theme ?? Appearance.getColorScheme());
|
|
24
23
|
const handleThemeChange = useCallback(newTheme => {
|
|
25
24
|
setCurrentTheme(newTheme);
|
|
26
25
|
}, []);
|
|
27
26
|
return /*#__PURE__*/_jsx(IOThemeContext.Provider, {
|
|
28
27
|
value: {
|
|
29
28
|
themeType: currentTheme,
|
|
30
|
-
theme:
|
|
29
|
+
theme: IOThemes[currentTheme ?? "light"],
|
|
31
30
|
setTheme: handleThemeChange
|
|
32
31
|
},
|
|
33
32
|
children: children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createContext","useCallback","useContext","useState","Appearance","IOThemeDark","IOThemeLight","jsx","_jsx","IOThemes","light","dark","IOThemeContext","themeType","getColorScheme","theme","setTheme","useIOThemeContext","useIOTheme","IOThemeContextProvider","children","currentTheme","setCurrentTheme","
|
|
1
|
+
{"version":3,"names":["createContext","useCallback","useContext","useState","Appearance","IOThemeDark","IOThemeLight","jsx","_jsx","IOThemes","light","dark","IOThemeContext","themeType","getColorScheme","theme","setTheme","useIOThemeContext","useIOTheme","IOThemeContextProvider","children","currentTheme","setCurrentTheme","handleThemeChange","newTheme","Provider","value"],"sourceRoot":"../../../src","sources":["context/IOThemeContextProvider.tsx"],"mappings":";;AAAA,SAEEA,aAAa,EAEbC,WAAW,EACXC,UAAU,EACVC,QAAQ,QACH,OAAO;AACd,SAASC,UAAU,QAAyB,cAAc;AAC1D,SAAkBC,WAAW,EAAEC,YAAY,QAAQ,kBAAkB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEtE,OAAO,MAAMC,QAAQ,GAAG;EAAEC,KAAK,EAAEJ,YAAY;EAAEK,IAAI,EAAEN;AAAY,CAAC;AAQlE,OAAO,MAAMO,cAA2C,gBACtDZ,aAAa,CAAqB;EAChCa,SAAS,EAAET,UAAU,CAACU,cAAc,CAAC,CAAC;EACtCC,KAAK,EACHX,UAAU,CAACU,cAAc,CAAC,CAAC,KAAK,MAAM,GAAGL,QAAQ,CAACE,IAAI,GAAGF,QAAQ,CAACC,KAAK;EACzEM,QAAQ,EAAEA,CAAA,KAAM,KAAK;AACvB,CAAC,CAAC;AAEJ,OAAO,MAAMC,iBAAiB,GAAGA,CAAA,KAAMf,UAAU,CAACU,cAAc,CAAC;AAEjE,OAAO,MAAMM,UAAU,GAAGA,CAAA,KAAMD,iBAAiB,CAAC,CAAC,CAACF,KAAK;AAMzD,OAAO,MAAMI,sBAAsB,GAAGA,CAAC;EACrCC,QAAQ;EACRL;AAC8C,CAAC,KAAK;EACpD,MAAM,CAACM,YAAY,EAAEC,eAAe,CAAC,GAAGnB,QAAQ,CAC9CY,KAAK,IAAIX,UAAU,CAACU,cAAc,CAAC,CACrC,CAAC;EAED,MAAMS,iBAAiB,GAAGtB,WAAW,CAAEuB,QAAyB,IAAK;IACnEF,eAAe,CAACE,QAAQ,CAAC;EAC3B,CAAC,EAAE,EAAE,CAAC;EAEN,oBACEhB,IAAA,CAACI,cAAc,CAACa,QAAQ;IACtBC,KAAK,EAAE;MACLb,SAAS,EAAEQ,YAAY;MACvBN,KAAK,EAAEN,QAAQ,CAACY,YAAY,IAAI,OAAO,CAAC;MACxCL,QAAQ,EAAEO;IACZ,CAAE;IAAAH,QAAA,EAEDA;EAAQ,CACc,CAAC;AAE9B,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { JSX, Ref } from "react";
|
|
1
2
|
import { GestureResponderEvent, View } from "react-native";
|
|
2
3
|
import { WithTestID } from "../../utils/types";
|
|
3
4
|
type AlertProps = WithTestID<{
|
|
5
|
+
ref?: Ref<View>;
|
|
4
6
|
variant: "error" | "warning" | "info" | "success";
|
|
5
7
|
content: string;
|
|
6
8
|
fullWidth?: boolean;
|
|
@@ -15,6 +17,6 @@ type AlertActionProps = {
|
|
|
15
17
|
onPress?: never;
|
|
16
18
|
};
|
|
17
19
|
type AlertType = AlertProps & AlertActionProps;
|
|
18
|
-
export declare const Alert:
|
|
20
|
+
export declare const Alert: ({ variant, content, action, onPress, fullWidth, accessibilityHint, ref: viewRef, testID }: AlertType) => JSX.Element;
|
|
19
21
|
export {};
|
|
20
22
|
//# sourceMappingURL=Alert.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/Alert.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAEL,qBAAqB,EAErB,IAAI,EAEL,MAAM,cAAc,CAAC;AAStB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAS/C,KAAK,UAAU,GAAG,UAAU,CAAC;IAC3B,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC;IAChB,OAAO,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;IAClD,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC,CAAC;AAEH,KAAK,gBAAgB,GACjB;IACE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,GACD;IACE,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB,CAAC;AAEN,KAAK,SAAS,GAAG,UAAU,GAAG,gBAAgB,CAAC;AAgE/C,eAAO,MAAM,KAAK,GAAI,2FASnB,SAAS,KAAG,GAAG,CAAC,OAyGlB,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { Ref } from "react";
|
|
1
2
|
import { AccessibilityRole, GestureResponderEvent, View } from "react-native";
|
|
2
3
|
import { WithTestID } from "../../utils/types";
|
|
3
4
|
import { IOPictogramsBleed } from "../pictograms";
|
|
4
5
|
type BaseBannerProps = WithTestID<{
|
|
6
|
+
ref?: Ref<View>;
|
|
5
7
|
color: "neutral" | "turquoise";
|
|
6
8
|
pictogramName: IOPictogramsBleed;
|
|
7
9
|
accessibilityLabel?: string;
|
|
@@ -38,6 +40,6 @@ type BannerCloseProps = {
|
|
|
38
40
|
};
|
|
39
41
|
export type Banner = BaseBannerProps & RequiredBannerProps & BannerActionProps & BannerCloseProps;
|
|
40
42
|
export declare const bannerBackgroundColours: Array<BaseBannerProps["color"]>;
|
|
41
|
-
export declare const Banner:
|
|
43
|
+
export declare const Banner: ({ color, pictogramName, title, content, action, labelClose, onPress, onClose, accessibilityHint, accessibilityLabel, accessibilityRole, ref: viewRef, testID }: Banner) => import("react/jsx-runtime").JSX.Element;
|
|
42
44
|
export {};
|
|
43
45
|
//# sourceMappingURL=Banner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../src/components/banner/Banner.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../src/components/banner/Banner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EAGrB,IAAI,EAEL,MAAM,cAAc,CAAC;AAMtB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG/C,OAAO,EACL,iBAAiB,EAGlB,MAAM,eAAe,CAAC;AA+BvB,KAAK,eAAe,GAAG,UAAU,CAAC;IAChC,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC;IAChB,KAAK,EAAE,SAAS,GAAG,WAAW,CAAC;IAC/B,aAAa,EAAE,iBAAiB,CAAC;IAEjC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC,CAAC;AAGH,KAAK,mBAAmB,GAAG;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAE9D,KAAK,oBAAoB,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,KAAK,CAAA;CAAE,CAAC;AAE/D,KAAK,uBAAuB,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEpE,KAAK,mBAAmB,GACpB,mBAAmB,GACnB,oBAAoB,GACpB,uBAAuB,CAAC;AAE5B,KAAK,iBAAiB,GAClB;IACE,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAChD,iBAAiB,CAAC,EAAE,OAAO,CAAC,iBAAiB,EAAE,QAAQ,GAAG,MAAM,CAAC,CAAC;CACnE,GACD;IACE,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC,CAAC;AAGN,KAAK,gBAAgB,GACjB;IACE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACjD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,GACD;IACE,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,UAAU,CAAC,EAAE,KAAK,CAAC;CACpB,CAAC;AAEN,MAAM,MAAM,MAAM,GAAG,eAAe,GAClC,mBAAmB,GACnB,iBAAiB,GACjB,gBAAgB,CAAC;AAMnB,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,eAAe,CAAC,OAAO,CAAC,CAGnE,CAAC;AAkBF,eAAO,MAAM,MAAM,GAAI,gKAcpB,MAAM,4CAqHR,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentProps } from "react";
|
|
1
|
+
import { ComponentProps, Ref } from "react";
|
|
2
2
|
import { AccessibilityRole, GestureResponderEvent, Pressable, TextProps, TextStyle, View } from "react-native";
|
|
3
3
|
import { WithTestID } from "../../../utils/types";
|
|
4
4
|
import { IOIcons } from "../../icons";
|
|
@@ -20,6 +20,7 @@ type IOButtonSpecificProps = {
|
|
|
20
20
|
textAlign?: never;
|
|
21
21
|
};
|
|
22
22
|
export type IOButtonProps = WithTestID<IOButtonSpecificProps & {
|
|
23
|
+
ref?: Ref<View>;
|
|
23
24
|
/**
|
|
24
25
|
* @default primary
|
|
25
26
|
*/
|
|
@@ -52,6 +53,6 @@ export type IOButtonProps = WithTestID<IOButtonSpecificProps & {
|
|
|
52
53
|
*/
|
|
53
54
|
accessibilityRole?: Extract<AccessibilityRole, "button" | "link">;
|
|
54
55
|
} & Pick<ComponentProps<typeof Pressable>, "disabled" | "accessibilityLabel" | "accessibilityHint">>;
|
|
55
|
-
export declare const IOButton:
|
|
56
|
+
export declare const IOButton: ({ variant, color, label, fullWidth, disabled, loading, numberOfLines, textAlign, icon, iconPosition, onPress, accessibilityLabel, accessibilityHint, accessibilityRole, ref, testID }: IOButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
56
57
|
export {};
|
|
57
58
|
//# sourceMappingURL=IOButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IOButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/IOButton/IOButton.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"IOButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/IOButton/IOButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,GAAG,EAAkC,MAAM,OAAO,CAAC;AAC5E,OAAO,EACL,iBAAiB,EAEjB,qBAAqB,EACrB,SAAS,EAGT,SAAS,EACT,SAAS,EACT,IAAI,EAEL,MAAM,cAAc,CAAC;AAYtB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAIL,OAAO,EACR,MAAM,aAAa,CAAC;AASrB,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;AAC9D,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;AAE3D,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAC3C,cAAc,CAAC,OAAO,QAAQ,CAAC,EAC/B,eAAe,GAAG,WAAW,CAC9B,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAC1C,cAAc,CAAC,OAAO,QAAQ,CAAC,EAC/B,WAAW,GAAG,SAAS,CACxB,CAAC;AAEF,KAAK,qBAAqB,GACtB;IACE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;IAC3C,SAAS,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IACnC,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB,GACD;IACE,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB,CAAC;AAEN,MAAM,MAAM,aAAa,GAAG,UAAU,CACpC,qBAAqB,GAAG;IACtB,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IAC/B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IACnC,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAChD;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC,iBAAiB,EAAE,QAAQ,GAAG,MAAM,CAAC,CAAC;CACnE,GAAG,IAAI,CACJ,cAAc,CAAC,OAAO,SAAS,CAAC,EAChC,UAAU,GAAG,oBAAoB,GAAG,mBAAmB,CACxD,CACJ,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,uLAiBtB,aAAa,4CAqNf,CAAC"}
|