acinguiux-ds-react-framework 0.1.9 → 0.1.12
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/build/cjs/components/Button/Button.styles.js +22 -22
- package/build/cjs/components/Button/Button.styles.js.map +1 -1
- package/build/cjs/components/Chart/Highcharts/HighchartsChart.js +1 -1
- package/build/cjs/components/Chart/Highcharts/HighchartsChart.js.map +1 -1
- package/build/cjs/index.js +1 -1
- package/build/cjs/react-base/src/components/Button/Button.styles.js +10 -10
- package/build/cjs/react-base/src/components/Button/Button.styles.js.map +1 -1
- package/build/cjs/react-base/src/components/DatePicker/DatePicker.consts.js +1 -1
- package/build/cjs/react-base/src/components/DatePicker/DatePicker.consts.js.map +1 -1
- package/build/cjs/react-base/src/theme/typography.js +1 -1
- package/build/cjs/react-base/src/theme/typography.js.map +1 -1
- package/build/esm/components/Button/Button.styles.js +33 -33
- package/build/esm/components/Button/Button.styles.js.map +1 -1
- package/build/esm/components/Chart/Highcharts/HighchartsChart.d.ts.map +1 -1
- package/build/esm/components/Chart/Highcharts/HighchartsChart.js +28 -24
- package/build/esm/components/Chart/Highcharts/HighchartsChart.js.map +1 -1
- package/build/esm/index.d.ts +0 -7
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/index.js +215 -221
- package/build/esm/index.js.map +1 -1
- package/build/esm/react-base/src/components/Button/Button.styles.js +2 -2
- package/build/esm/react-base/src/components/Button/Button.styles.js.map +1 -1
- package/build/esm/react-base/src/components/DatePicker/DatePicker.consts.js +5 -24
- package/build/esm/react-base/src/components/DatePicker/DatePicker.consts.js.map +1 -1
- package/build/esm/react-base/src/theme/typography.d.ts.map +1 -1
- package/build/esm/react-base/src/theme/typography.js +10 -63
- package/build/esm/react-base/src/theme/typography.js.map +1 -1
- package/package.json +1 -2
- package/build/cjs/components/DeprecatedDatePicker/DatePicker.styles.js +0 -677
- package/build/cjs/components/DeprecatedDatePicker/DatePicker.styles.js.map +0 -1
- package/build/cjs/components/DeprecatedDatePicker/components/Calendar/Calendar.js +0 -2
- package/build/cjs/components/DeprecatedDatePicker/components/Calendar/Calendar.js.map +0 -1
- package/build/cjs/components/DeprecatedDatePicker/components/Icons/Icons.js +0 -2
- package/build/cjs/components/DeprecatedDatePicker/components/Icons/Icons.js.map +0 -1
- package/build/cjs/components/DeprecatedDatePicker/components/RangeDatePicker/RangeDatePicker.js +0 -2
- package/build/cjs/components/DeprecatedDatePicker/components/RangeDatePicker/RangeDatePicker.js.map +0 -1
- package/build/cjs/components/DeprecatedDatePicker/components/SingleDatePicker/SingleDatePicker.js +0 -2
- package/build/cjs/components/DeprecatedDatePicker/components/SingleDatePicker/SingleDatePicker.js.map +0 -1
- package/build/esm/components/DeprecatedDatePicker/DatePicker.styles.d.ts +0 -9
- package/build/esm/components/DeprecatedDatePicker/DatePicker.styles.d.ts.map +0 -1
- package/build/esm/components/DeprecatedDatePicker/DatePicker.styles.js +0 -704
- package/build/esm/components/DeprecatedDatePicker/DatePicker.styles.js.map +0 -1
- package/build/esm/components/DeprecatedDatePicker/DatePicker.types.d.ts +0 -7
- package/build/esm/components/DeprecatedDatePicker/DatePicker.types.d.ts.map +0 -1
- package/build/esm/components/DeprecatedDatePicker/components/Calendar/Calendar.d.ts +0 -10
- package/build/esm/components/DeprecatedDatePicker/components/Calendar/Calendar.d.ts.map +0 -1
- package/build/esm/components/DeprecatedDatePicker/components/Calendar/Calendar.js +0 -61
- package/build/esm/components/DeprecatedDatePicker/components/Calendar/Calendar.js.map +0 -1
- package/build/esm/components/DeprecatedDatePicker/components/Calendar/Calendar.types.d.ts +0 -21
- package/build/esm/components/DeprecatedDatePicker/components/Calendar/Calendar.types.d.ts.map +0 -1
- package/build/esm/components/DeprecatedDatePicker/components/Icons/Icons.d.ts +0 -9
- package/build/esm/components/DeprecatedDatePicker/components/Icons/Icons.d.ts.map +0 -1
- package/build/esm/components/DeprecatedDatePicker/components/Icons/Icons.js +0 -17
- package/build/esm/components/DeprecatedDatePicker/components/Icons/Icons.js.map +0 -1
- package/build/esm/components/DeprecatedDatePicker/components/RangeDatePicker/RangeDatePicker.d.ts +0 -10
- package/build/esm/components/DeprecatedDatePicker/components/RangeDatePicker/RangeDatePicker.d.ts.map +0 -1
- package/build/esm/components/DeprecatedDatePicker/components/RangeDatePicker/RangeDatePicker.js +0 -112
- package/build/esm/components/DeprecatedDatePicker/components/RangeDatePicker/RangeDatePicker.js.map +0 -1
- package/build/esm/components/DeprecatedDatePicker/components/RangeDatePicker/RangeDatePicker.types.d.ts +0 -27
- package/build/esm/components/DeprecatedDatePicker/components/RangeDatePicker/RangeDatePicker.types.d.ts.map +0 -1
- package/build/esm/components/DeprecatedDatePicker/components/SingleDatePicker/SingleDatePicker.d.ts +0 -10
- package/build/esm/components/DeprecatedDatePicker/components/SingleDatePicker/SingleDatePicker.d.ts.map +0 -1
- package/build/esm/components/DeprecatedDatePicker/components/SingleDatePicker/SingleDatePicker.js +0 -113
- package/build/esm/components/DeprecatedDatePicker/components/SingleDatePicker/SingleDatePicker.js.map +0 -1
- package/build/esm/components/DeprecatedDatePicker/components/SingleDatePicker/SingleDatePicker.types.d.ts +0 -24
- package/build/esm/components/DeprecatedDatePicker/components/SingleDatePicker/SingleDatePicker.types.d.ts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Sizes as e } from "../../consts/index.js";
|
|
2
|
-
const
|
|
2
|
+
const i = {
|
|
3
3
|
[e.XSmall]: {
|
|
4
4
|
height: 30,
|
|
5
5
|
boxSize: 28,
|
|
@@ -36,7 +36,7 @@ const t = {
|
|
|
36
36
|
chevronSize: 24,
|
|
37
37
|
clearSize: e.Medium
|
|
38
38
|
}
|
|
39
|
-
},
|
|
39
|
+
}, l = "Press space to open date picker. Select a date or press tab and then arrow keys to choose a date", t = {
|
|
40
40
|
[e.Small]: {
|
|
41
41
|
height: 2,
|
|
42
42
|
width: 16,
|
|
@@ -52,30 +52,11 @@ const t = {
|
|
|
52
52
|
width: 20,
|
|
53
53
|
bottom: 4
|
|
54
54
|
}
|
|
55
|
-
}, d = {
|
|
56
|
-
[e.XSmall]: {
|
|
57
|
-
width: 20,
|
|
58
|
-
height: 8
|
|
59
|
-
},
|
|
60
|
-
[e.Small]: {
|
|
61
|
-
width: 20,
|
|
62
|
-
height: 8
|
|
63
|
-
},
|
|
64
|
-
[e.Medium]: {
|
|
65
|
-
width: 25,
|
|
66
|
-
height: 10
|
|
67
|
-
},
|
|
68
|
-
[e.Large]: {
|
|
69
|
-
width: 30,
|
|
70
|
-
height: 12
|
|
71
|
-
}
|
|
72
55
|
};
|
|
56
|
+
e.XSmall + "", e.Small + "", e.Medium + "", e.Large + "";
|
|
73
57
|
export {
|
|
74
58
|
l as ariaLabel,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
a as arrowWidth,
|
|
78
|
-
t as consts,
|
|
79
|
-
o as selectedDateUnderline
|
|
59
|
+
i as consts,
|
|
60
|
+
t as selectedDateUnderline
|
|
80
61
|
};
|
|
81
62
|
//# sourceMappingURL=DatePicker.consts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.consts.js","sources":["../../../../../../../react-base/src/components/DatePicker/DatePicker.consts.ts"],"sourcesContent":["import { Sizes } from '../../consts';\n\nexport const consts = {\n [Sizes.XSmall]: {\n height: 30,\n boxSize: 28,\n cellWidth: 48,\n panelGap: 12,\n panelPadding: 16,\n chevronSize: 16,\n clearSize: Sizes.Small,\n },\n [Sizes.Small]: {\n height: 32,\n boxSize: 28,\n cellWidth: 48,\n panelGap: 16,\n panelPadding: 16,\n chevronSize: 16,\n clearSize: Sizes.Small,\n },\n [Sizes.Medium]: {\n height: 40,\n boxSize: 36,\n cellWidth: 64,\n panelGap: 24,\n panelPadding: 20,\n chevronSize: 20,\n clearSize: Sizes.Medium,\n },\n [Sizes.Large]: {\n height: 48,\n boxSize: 44,\n cellWidth: 80,\n panelGap: 24,\n panelPadding: 24,\n chevronSize: 24,\n clearSize: Sizes.Medium,\n },\n} as const;\n\nexport const arrowWidth = 20;\nexport const arrowHeight = 7;\nexport const ariaLabel =\n 'Press space to open date picker. Select a date or press tab and then arrow keys to choose a date';\n\nexport const selectedDateUnderline = {\n [Sizes.Small]: {\n height: 2,\n width: 16,\n bottom: 3,\n },\n [Sizes.Medium]: {\n height: 3,\n width: 20,\n bottom: 4,\n },\n [Sizes.Large]: {\n height: 3,\n width: 20,\n bottom: 4,\n },\n};\n\nexport const arrow = {\n [Sizes.XSmall]: {\n width: 20,\n height: 8,\n },\n [Sizes.Small]: {\n width: 20,\n height: 8,\n },\n [Sizes.Medium]: {\n width: 25,\n height: 10,\n },\n [Sizes.Large]: {\n width: 30,\n height: 12,\n },\n};\n"],"names":["consts","Sizes","
|
|
1
|
+
{"version":3,"file":"DatePicker.consts.js","sources":["../../../../../../../react-base/src/components/DatePicker/DatePicker.consts.ts"],"sourcesContent":["import { Sizes } from '../../consts';\n\nexport const consts = {\n [Sizes.XSmall]: {\n height: 30,\n boxSize: 28,\n cellWidth: 48,\n panelGap: 12,\n panelPadding: 16,\n chevronSize: 16,\n clearSize: Sizes.Small,\n },\n [Sizes.Small]: {\n height: 32,\n boxSize: 28,\n cellWidth: 48,\n panelGap: 16,\n panelPadding: 16,\n chevronSize: 16,\n clearSize: Sizes.Small,\n },\n [Sizes.Medium]: {\n height: 40,\n boxSize: 36,\n cellWidth: 64,\n panelGap: 24,\n panelPadding: 20,\n chevronSize: 20,\n clearSize: Sizes.Medium,\n },\n [Sizes.Large]: {\n height: 48,\n boxSize: 44,\n cellWidth: 80,\n panelGap: 24,\n panelPadding: 24,\n chevronSize: 24,\n clearSize: Sizes.Medium,\n },\n} as const;\n\nexport const arrowWidth = 20;\nexport const arrowHeight = 7;\nexport const ariaLabel =\n 'Press space to open date picker. Select a date or press tab and then arrow keys to choose a date';\n\nexport const selectedDateUnderline = {\n [Sizes.Small]: {\n height: 2,\n width: 16,\n bottom: 3,\n },\n [Sizes.Medium]: {\n height: 3,\n width: 20,\n bottom: 4,\n },\n [Sizes.Large]: {\n height: 3,\n width: 20,\n bottom: 4,\n },\n};\n\nexport const arrow = {\n [Sizes.XSmall]: {\n width: 20,\n height: 8,\n },\n [Sizes.Small]: {\n width: 20,\n height: 8,\n },\n [Sizes.Medium]: {\n width: 25,\n height: 10,\n },\n [Sizes.Large]: {\n width: 30,\n height: 12,\n },\n};\n"],"names":["consts","Sizes","ariaLabel","selectedDateUnderline"],"mappings":";AAEO,MAAMA,IAAS;AAAA,EACpB,CAACC,EAAM,MAAM,GAAG;AAAA,IACd,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,WAAW;AAAA,IACX,UAAU;AAAA,IACV,cAAc;AAAA,IACd,aAAa;AAAA,IACb,WAAWA,EAAM;AAAA,EAAA;AAAA,EAEnB,CAACA,EAAM,KAAK,GAAG;AAAA,IACb,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,WAAW;AAAA,IACX,UAAU;AAAA,IACV,cAAc;AAAA,IACd,aAAa;AAAA,IACb,WAAWA,EAAM;AAAA,EAAA;AAAA,EAEnB,CAACA,EAAM,MAAM,GAAG;AAAA,IACd,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,WAAW;AAAA,IACX,UAAU;AAAA,IACV,cAAc;AAAA,IACd,aAAa;AAAA,IACb,WAAWA,EAAM;AAAA,EAAA;AAAA,EAEnB,CAACA,EAAM,KAAK,GAAG;AAAA,IACb,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,WAAW;AAAA,IACX,UAAU;AAAA,IACV,cAAc;AAAA,IACd,aAAa;AAAA,IACb,WAAWA,EAAM;AAAA,EAAA;AAErB,GAIaC,IACX,oGAEWC,IAAwB;AAAA,EACnC,CAACF,EAAM,KAAK,GAAG;AAAA,IACb,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,QAAQ;AAAA,EAAA;AAAA,EAEV,CAACA,EAAM,MAAM,GAAG;AAAA,IACd,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,QAAQ;AAAA,EAAA;AAAA,EAEV,CAACA,EAAM,KAAK,GAAG;AAAA,IACb,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,QAAQ;AAAA,EAAA;AAEZ;AAGGA,EAAM,SAAN,IAIAA,EAAM,QAAN,IAIAA,EAAM,SAAN,IAIAA,EAAM,QAAN;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../../../../react-base/src/theme/typography.ts"],"names":[],"mappings":"AAGA,OAAO,EAOL,KAAK,YAAY,EAClB,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../../../../react-base/src/theme/typography.ts"],"names":[],"mappings":"AAGA,OAAO,EAOL,KAAK,YAAY,EAClB,MAAM,oBAAoB,CAAC;AAgE5B;;;;;;;;;GASG;AACH,eAAO,MAAM,UAAU,EAAE,YAsDxB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Typography as
|
|
2
|
-
import { isTypographyWeighted as
|
|
3
|
-
const
|
|
1
|
+
import { Typography as l } from "acinguiux-ds-fabrics";
|
|
2
|
+
import { isTypographyWeighted as o } from "./types/typography.js";
|
|
3
|
+
const g = () => ({
|
|
4
4
|
display: {
|
|
5
5
|
extraSmall: { fontFamily: "Be Vietnam Pro, sans-serif", fontWeight: 600, fontSize: 32, fontStyle: "normal", letterSpacing: 0, lineHeight: 40, paragraphSpacing: 48 },
|
|
6
6
|
small: { fontFamily: "Be Vietnam Pro, sans-serif", fontWeight: 600, fontSize: 40, fontStyle: "normal", letterSpacing: 0, lineHeight: 48, paragraphSpacing: 60 },
|
|
@@ -47,67 +47,14 @@ const i = () => ({
|
|
|
47
47
|
extraSmall: { fontFamily: "Be Vietnam Pro, sans-serif", fontWeight: 600, fontSize: 12, fontStyle: "normal", letterSpacing: 0, lineHeight: 16, paragraphSpacing: 16 }
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
}),
|
|
51
|
-
try {
|
|
52
|
-
return o || i();
|
|
53
|
-
} catch (a) {
|
|
54
|
-
return console.warn("Typography import failed, using fallback values", a), i();
|
|
55
|
-
}
|
|
56
|
-
})(), r = (a) => ({
|
|
50
|
+
}), t = l || g(), i = (a) => ({
|
|
57
51
|
...a,
|
|
58
52
|
fontWeight: `${a.fontWeight ?? "normal"}`,
|
|
59
53
|
fontSize: `${a.fontSize ?? 0}px`,
|
|
60
54
|
lineHeight: `${a.lineHeight ?? 0}px`,
|
|
61
55
|
paragraphSpacing: `${a.paragraphSpacing ?? 0}px`,
|
|
62
56
|
letterSpacing: `${a.letterSpacing ?? 0}px`
|
|
63
|
-
}),
|
|
64
|
-
display: {
|
|
65
|
-
extraSmall: { fontFamily: "Arial, sans-serif", fontWeight: 600, fontSize: 32, fontStyle: "normal", letterSpacing: 0, lineHeight: 40, paragraphSpacing: 48 },
|
|
66
|
-
large: { fontFamily: "Arial, sans-serif", fontWeight: 600, fontSize: 56, fontStyle: "normal", letterSpacing: 0, lineHeight: 68, paragraphSpacing: 84 },
|
|
67
|
-
medium: { fontFamily: "Arial, sans-serif", fontWeight: 600, fontSize: 48, fontStyle: "normal", letterSpacing: 0, lineHeight: 56, paragraphSpacing: 72 },
|
|
68
|
-
small: { fontFamily: "Arial, sans-serif", fontWeight: 600, fontSize: 40, fontStyle: "normal", letterSpacing: 0, lineHeight: 48, paragraphSpacing: 60 }
|
|
69
|
-
},
|
|
70
|
-
heading: {
|
|
71
|
-
extraLarge: { fontFamily: "Arial, sans-serif", fontWeight: 500, fontSize: 40, fontStyle: "normal", letterSpacing: 0, lineHeight: 48, paragraphSpacing: 60 },
|
|
72
|
-
extraSmall: { fontFamily: "Arial, sans-serif", fontWeight: 500, fontSize: 16, fontStyle: "normal", letterSpacing: 0, lineHeight: 20, paragraphSpacing: 24 },
|
|
73
|
-
large: { fontFamily: "Arial, sans-serif", fontWeight: 500, fontSize: 32, fontStyle: "normal", letterSpacing: 0, lineHeight: 40, paragraphSpacing: 48 },
|
|
74
|
-
medium: { fontFamily: "Arial, sans-serif", fontWeight: 500, fontSize: 24, fontStyle: "normal", letterSpacing: 0, lineHeight: 28, paragraphSpacing: 36 },
|
|
75
|
-
small: { fontFamily: "Arial, sans-serif", fontWeight: 500, fontSize: 20, fontStyle: "normal", letterSpacing: 0, lineHeight: 24, paragraphSpacing: 32 },
|
|
76
|
-
smallest: { fontFamily: "Arial, sans-serif", fontWeight: 500, fontSize: 14, fontStyle: "normal", letterSpacing: 0, lineHeight: 16, paragraphSpacing: 20 }
|
|
77
|
-
},
|
|
78
|
-
label: {
|
|
79
|
-
regular: {
|
|
80
|
-
extraSmall: { fontFamily: "Arial, sans-serif", fontWeight: 400, fontSize: 12, fontStyle: "normal", letterSpacing: 0, lineHeight: 16, paragraphSpacing: 16 },
|
|
81
|
-
large: { fontFamily: "Arial, sans-serif", fontWeight: 400, fontSize: 18, fontStyle: "normal", letterSpacing: 0, lineHeight: 24, paragraphSpacing: 20 },
|
|
82
|
-
medium: { fontFamily: "Arial, sans-serif", fontWeight: 400, fontSize: 16, fontStyle: "normal", letterSpacing: 0, lineHeight: 20, paragraphSpacing: 20 },
|
|
83
|
-
small: { fontFamily: "Arial, sans-serif", fontWeight: 400, fontSize: 14, fontStyle: "normal", letterSpacing: 0, lineHeight: 20, paragraphSpacing: 16 },
|
|
84
|
-
smallest: { fontFamily: "Arial, sans-serif", fontWeight: 400, fontSize: 10, fontStyle: "normal", letterSpacing: 0, lineHeight: 12, paragraphSpacing: 12 }
|
|
85
|
-
},
|
|
86
|
-
strong: {
|
|
87
|
-
extraSmall: { fontFamily: "Arial, sans-serif", fontWeight: 700, fontSize: 12, fontStyle: "normal", letterSpacing: 0, lineHeight: 16, paragraphSpacing: 16 },
|
|
88
|
-
large: { fontFamily: "Arial, sans-serif", fontWeight: 700, fontSize: 18, fontStyle: "normal", letterSpacing: 0, lineHeight: 24, paragraphSpacing: 20 },
|
|
89
|
-
medium: { fontFamily: "Arial, sans-serif", fontWeight: 700, fontSize: 16, fontStyle: "normal", letterSpacing: 0, lineHeight: 20, paragraphSpacing: 20 },
|
|
90
|
-
small: { fontFamily: "Arial, sans-serif", fontWeight: 700, fontSize: 14, fontStyle: "normal", letterSpacing: 0, lineHeight: 20, paragraphSpacing: 16 },
|
|
91
|
-
smallest: { fontFamily: "Arial, sans-serif", fontWeight: 700, fontSize: 10, fontStyle: "normal", letterSpacing: 0, lineHeight: 12, paragraphSpacing: 12 }
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
paragraph: {
|
|
95
|
-
regular: {
|
|
96
|
-
extraLarge: { fontFamily: "Arial, sans-serif", fontWeight: 400, fontSize: 20, fontStyle: "normal", letterSpacing: 0, lineHeight: 28, paragraphSpacing: 32 },
|
|
97
|
-
large: { fontFamily: "Arial, sans-serif", fontWeight: 400, fontSize: 18, fontStyle: "normal", letterSpacing: 0, lineHeight: 24, paragraphSpacing: 28 },
|
|
98
|
-
medium: { fontFamily: "Arial, sans-serif", fontWeight: 400, fontSize: 16, fontStyle: "normal", letterSpacing: 0, lineHeight: 24, paragraphSpacing: 24 },
|
|
99
|
-
small: { fontFamily: "Arial, sans-serif", fontWeight: 400, fontSize: 14, fontStyle: "normal", letterSpacing: 0, lineHeight: 20, paragraphSpacing: 20 },
|
|
100
|
-
smallest: { fontFamily: "Arial, sans-serif", fontWeight: 400, fontSize: 12, fontStyle: "normal", letterSpacing: 0, lineHeight: 16, paragraphSpacing: 16 }
|
|
101
|
-
},
|
|
102
|
-
strong: {
|
|
103
|
-
extraLarge: { fontFamily: "Arial, sans-serif", fontWeight: 700, fontSize: 20, fontStyle: "normal", letterSpacing: 0, lineHeight: 28, paragraphSpacing: 32 },
|
|
104
|
-
large: { fontFamily: "Arial, sans-serif", fontWeight: 700, fontSize: 18, fontStyle: "normal", letterSpacing: 0, lineHeight: 24, paragraphSpacing: 28 },
|
|
105
|
-
medium: { fontFamily: "Arial, sans-serif", fontWeight: 700, fontSize: 16, fontStyle: "normal", letterSpacing: 0, lineHeight: 24, paragraphSpacing: 24 },
|
|
106
|
-
small: { fontFamily: "Arial, sans-serif", fontWeight: 700, fontSize: 14, fontStyle: "normal", letterSpacing: 0, lineHeight: 20, paragraphSpacing: 20 },
|
|
107
|
-
smallest: { fontFamily: "Arial, sans-serif", fontWeight: 700, fontSize: 12, fontStyle: "normal", letterSpacing: 0, lineHeight: 16, paragraphSpacing: 16 }
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}), t = f || p(), h = (a, n = "medium", e = "regular") => {
|
|
57
|
+
}), S = (a, n = "medium", e = "regular") => {
|
|
111
58
|
if (!t || !t[a])
|
|
112
59
|
return console.warn(`Typography object or kind "${a}" not available during SSR - using fallback values`), {
|
|
113
60
|
fontFamily: "Arial, sans-serif",
|
|
@@ -119,7 +66,7 @@ const i = () => ({
|
|
|
119
66
|
letterSpacing: "0px"
|
|
120
67
|
};
|
|
121
68
|
try {
|
|
122
|
-
return
|
|
69
|
+
return o(a) ? t[a][e] ? i(t[a][e][n]) : (console.warn(`Typography weight "${e}" not available for kind "${a}" - using fallback`), {
|
|
123
70
|
fontFamily: "Arial, sans-serif",
|
|
124
71
|
fontStyle: "normal",
|
|
125
72
|
fontWeight: "normal",
|
|
@@ -127,9 +74,9 @@ const i = () => ({
|
|
|
127
74
|
lineHeight: "24px",
|
|
128
75
|
paragraphSpacing: "0px",
|
|
129
76
|
letterSpacing: "0px"
|
|
130
|
-
}) :
|
|
131
|
-
} catch (
|
|
132
|
-
return console.warn(`Error accessing typography values for kind "${a}", size "${n}", weight "${e}" - using fallback`,
|
|
77
|
+
}) : i(t[a][n]);
|
|
78
|
+
} catch (r) {
|
|
79
|
+
return console.warn(`Error accessing typography values for kind "${a}", size "${n}", weight "${e}" - using fallback`, r), {
|
|
133
80
|
fontFamily: "Arial, sans-serif",
|
|
134
81
|
fontStyle: "normal",
|
|
135
82
|
fontWeight: "normal",
|
|
@@ -141,6 +88,6 @@ const i = () => ({
|
|
|
141
88
|
}
|
|
142
89
|
};
|
|
143
90
|
export {
|
|
144
|
-
|
|
91
|
+
S as typography
|
|
145
92
|
};
|
|
146
93
|
//# sourceMappingURL=typography.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.js","sources":["../../../../../../react-base/src/theme/typography.ts"],"sourcesContent":["import { Typography as OriginalTypography } from 'acinguiux-ds-fabrics';\nimport type { TypographyType } from 'acinguiux-ds-fabrics';\n\nimport {\n isTypographyWeighted,\n TypographyKind,\n TypographySize,\n TypographyWeights,\n type TypographyElement,\n type TypographyElementPx,\n type TypographyFn,\n} from './types/typography';\n\n// SSR-safe Typography fallback\nconst createTypographyFallback = (): TypographyType => ({\n display: {\n extraSmall: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 600, fontSize: 32, fontStyle: 'normal', letterSpacing: 0, lineHeight: 40, paragraphSpacing: 48 },\n small: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 600, fontSize: 40, fontStyle: 'normal', letterSpacing: 0, lineHeight: 48, paragraphSpacing: 60 },\n medium: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 600, fontSize: 48, fontStyle: 'normal', letterSpacing: 0, lineHeight: 56, paragraphSpacing: 72 },\n large: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 600, fontSize: 56, fontStyle: 'normal', letterSpacing: 0, lineHeight: 68, paragraphSpacing: 84 },\n },\n heading: {\n smallest: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 500, fontSize: 14, fontStyle: 'normal', letterSpacing: 0, lineHeight: 16, paragraphSpacing: 20 },\n extraSmall: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 500, fontSize: 16, fontStyle: 'normal', letterSpacing: 0, lineHeight: 20, paragraphSpacing: 24 },\n small: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 500, fontSize: 20, fontStyle: 'normal', letterSpacing: 0, lineHeight: 24, paragraphSpacing: 32 },\n medium: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 500, fontSize: 24, fontStyle: 'normal', letterSpacing: 0, lineHeight: 28, paragraphSpacing: 36 },\n large: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 500, fontSize: 32, fontStyle: 'normal', letterSpacing: 0, lineHeight: 40, paragraphSpacing: 48 },\n extraLarge: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 500, fontSize: 40, fontStyle: 'normal', letterSpacing: 0, lineHeight: 48, paragraphSpacing: 60 },\n },\n label: {\n regular: {\n smallest: { fontFamily: 'Arial', fontWeight: 400, fontSize: 10, fontStyle: 'normal', letterSpacing: 0, lineHeight: 12, paragraphSpacing: 12 },\n extraSmall: { fontFamily: 'Arial', fontWeight: 400, fontSize: 12, fontStyle: 'normal', letterSpacing: 0, lineHeight: 16, paragraphSpacing: 16 },\n small: { fontFamily: 'Arial', fontWeight: 400, fontSize: 14, fontStyle: 'normal', letterSpacing: 0, lineHeight: 20, paragraphSpacing: 16 },\n medium: { fontFamily: 'Arial', fontWeight: 400, fontSize: 16, fontStyle: 'normal', letterSpacing: 0, lineHeight: 20, paragraphSpacing: 20 },\n large: { fontFamily: 'Arial', fontWeight: 400, fontSize: 18, fontStyle: 'normal', letterSpacing: 0, lineHeight: 24, paragraphSpacing: 20 },\n },\n strong: {\n smallest: { fontFamily: 'Arial', fontWeight: 700, fontSize: 10, fontStyle: 'normal', letterSpacing: 0, lineHeight: 12, paragraphSpacing: 12 },\n extraSmall: { fontFamily: 'Arial', fontWeight: 700, fontSize: 12, fontStyle: 'normal', letterSpacing: 0, lineHeight: 16, paragraphSpacing: 16 },\n small: { fontFamily: 'Arial', fontWeight: 700, fontSize: 14, fontStyle: 'normal', letterSpacing: 0, lineHeight: 20, paragraphSpacing: 16 },\n medium: { fontFamily: 'Arial', fontWeight: 700, fontSize: 16, fontStyle: 'normal', letterSpacing: 0, lineHeight: 20, paragraphSpacing: 20 },\n large: { fontFamily: 'Arial', fontWeight: 700, fontSize: 18, fontStyle: 'normal', letterSpacing: 0, lineHeight: 24, paragraphSpacing: 20 },\n },\n },\n paragraph: {\n regular: {\n extraLarge: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 400, fontSize: 20, fontStyle: 'normal', letterSpacing: 0, lineHeight: 32, paragraphSpacing: 32 },\n large: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 400, fontSize: 18, fontStyle: 'normal', letterSpacing: 0, lineHeight: 28, paragraphSpacing: 28 },\n medium: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 400, fontSize: 16, fontStyle: 'normal', letterSpacing: 0, lineHeight: 24, paragraphSpacing: 24 },\n small: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 400, fontSize: 14, fontStyle: 'normal', letterSpacing: 0, lineHeight: 20, paragraphSpacing: 20 },\n extraSmall: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 400, fontSize: 12, fontStyle: 'normal', letterSpacing: 0, lineHeight: 16, paragraphSpacing: 16 },\n },\n strong: {\n extraLarge: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 600, fontSize: 20, fontStyle: 'normal', letterSpacing: 0, lineHeight: 32, paragraphSpacing: 32 },\n large: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 600, fontSize: 18, fontStyle: 'normal', letterSpacing: 0, lineHeight: 28, paragraphSpacing: 28 },\n medium: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 600, fontSize: 16, fontStyle: 'normal', letterSpacing: 0, lineHeight: 24, paragraphSpacing: 24 },\n small: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 600, fontSize: 14, fontStyle: 'normal', letterSpacing: 0, lineHeight: 20, paragraphSpacing: 20 },\n extraSmall: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 600, fontSize: 12, fontStyle: 'normal', letterSpacing: 0, lineHeight: 16, paragraphSpacing: 16 },\n },\n },\n} as any);\n\n// Create a safe Typography object that always has the required structure\nconst Typography = (() => {\n try {\n return OriginalTypography || createTypographyFallback();\n } catch (error) {\n console.warn('Typography import failed, using fallback values', error);\n return createTypographyFallback();\n }\n})();\n\nconst transformValuesToPx = <T extends TypographyElement>(value: T): TypographyElementPx => ({\n ...value,\n fontWeight: `${value.fontWeight ?? 'normal'}`,\n fontSize: `${value.fontSize ?? 0}px`,\n lineHeight: `${value.lineHeight ?? 0}px`,\n paragraphSpacing: `${value.paragraphSpacing ?? 0}px`,\n letterSpacing: `${value.letterSpacing ?? 0}px`,\n});\n\n// Create a fallback Typography object for SSR when the actual Typography is not available\nconst createFallbackTypography = (): any => ({\n display: {\n extraSmall: { fontFamily: 'Arial, sans-serif', fontWeight: 600, fontSize: 32, fontStyle: 'normal', letterSpacing: 0, lineHeight: 40, paragraphSpacing: 48 },\n large: { fontFamily: 'Arial, sans-serif', fontWeight: 600, fontSize: 56, fontStyle: 'normal', letterSpacing: 0, lineHeight: 68, paragraphSpacing: 84 },\n medium: { fontFamily: 'Arial, sans-serif', fontWeight: 600, fontSize: 48, fontStyle: 'normal', letterSpacing: 0, lineHeight: 56, paragraphSpacing: 72 },\n small: { fontFamily: 'Arial, sans-serif', fontWeight: 600, fontSize: 40, fontStyle: 'normal', letterSpacing: 0, lineHeight: 48, paragraphSpacing: 60 }\n },\n heading: {\n extraLarge: { fontFamily: 'Arial, sans-serif', fontWeight: 500, fontSize: 40, fontStyle: 'normal', letterSpacing: 0, lineHeight: 48, paragraphSpacing: 60 },\n extraSmall: { fontFamily: 'Arial, sans-serif', fontWeight: 500, fontSize: 16, fontStyle: 'normal', letterSpacing: 0, lineHeight: 20, paragraphSpacing: 24 },\n large: { fontFamily: 'Arial, sans-serif', fontWeight: 500, fontSize: 32, fontStyle: 'normal', letterSpacing: 0, lineHeight: 40, paragraphSpacing: 48 },\n medium: { fontFamily: 'Arial, sans-serif', fontWeight: 500, fontSize: 24, fontStyle: 'normal', letterSpacing: 0, lineHeight: 28, paragraphSpacing: 36 },\n small: { fontFamily: 'Arial, sans-serif', fontWeight: 500, fontSize: 20, fontStyle: 'normal', letterSpacing: 0, lineHeight: 24, paragraphSpacing: 32 },\n smallest: { fontFamily: 'Arial, sans-serif', fontWeight: 500, fontSize: 14, fontStyle: 'normal', letterSpacing: 0, lineHeight: 16, paragraphSpacing: 20 }\n },\n label: {\n regular: {\n extraSmall: { fontFamily: 'Arial, sans-serif', fontWeight: 400, fontSize: 12, fontStyle: 'normal', letterSpacing: 0, lineHeight: 16, paragraphSpacing: 16 },\n large: { fontFamily: 'Arial, sans-serif', fontWeight: 400, fontSize: 18, fontStyle: 'normal', letterSpacing: 0, lineHeight: 24, paragraphSpacing: 20 },\n medium: { fontFamily: 'Arial, sans-serif', fontWeight: 400, fontSize: 16, fontStyle: 'normal', letterSpacing: 0, lineHeight: 20, paragraphSpacing: 20 },\n small: { fontFamily: 'Arial, sans-serif', fontWeight: 400, fontSize: 14, fontStyle: 'normal', letterSpacing: 0, lineHeight: 20, paragraphSpacing: 16 },\n smallest: { fontFamily: 'Arial, sans-serif', fontWeight: 400, fontSize: 10, fontStyle: 'normal', letterSpacing: 0, lineHeight: 12, paragraphSpacing: 12 }\n },\n strong: {\n extraSmall: { fontFamily: 'Arial, sans-serif', fontWeight: 700, fontSize: 12, fontStyle: 'normal', letterSpacing: 0, lineHeight: 16, paragraphSpacing: 16 },\n large: { fontFamily: 'Arial, sans-serif', fontWeight: 700, fontSize: 18, fontStyle: 'normal', letterSpacing: 0, lineHeight: 24, paragraphSpacing: 20 },\n medium: { fontFamily: 'Arial, sans-serif', fontWeight: 700, fontSize: 16, fontStyle: 'normal', letterSpacing: 0, lineHeight: 20, paragraphSpacing: 20 },\n small: { fontFamily: 'Arial, sans-serif', fontWeight: 700, fontSize: 14, fontStyle: 'normal', letterSpacing: 0, lineHeight: 20, paragraphSpacing: 16 },\n smallest: { fontFamily: 'Arial, sans-serif', fontWeight: 700, fontSize: 10, fontStyle: 'normal', letterSpacing: 0, lineHeight: 12, paragraphSpacing: 12 }\n }\n },\n paragraph: {\n regular: {\n extraLarge: { fontFamily: 'Arial, sans-serif', fontWeight: 400, fontSize: 20, fontStyle: 'normal', letterSpacing: 0, lineHeight: 28, paragraphSpacing: 32 },\n large: { fontFamily: 'Arial, sans-serif', fontWeight: 400, fontSize: 18, fontStyle: 'normal', letterSpacing: 0, lineHeight: 24, paragraphSpacing: 28 },\n medium: { fontFamily: 'Arial, sans-serif', fontWeight: 400, fontSize: 16, fontStyle: 'normal', letterSpacing: 0, lineHeight: 24, paragraphSpacing: 24 },\n small: { fontFamily: 'Arial, sans-serif', fontWeight: 400, fontSize: 14, fontStyle: 'normal', letterSpacing: 0, lineHeight: 20, paragraphSpacing: 20 },\n smallest: { fontFamily: 'Arial, sans-serif', fontWeight: 400, fontSize: 12, fontStyle: 'normal', letterSpacing: 0, lineHeight: 16, paragraphSpacing: 16 }\n },\n strong: {\n extraLarge: { fontFamily: 'Arial, sans-serif', fontWeight: 700, fontSize: 20, fontStyle: 'normal', letterSpacing: 0, lineHeight: 28, paragraphSpacing: 32 },\n large: { fontFamily: 'Arial, sans-serif', fontWeight: 700, fontSize: 18, fontStyle: 'normal', letterSpacing: 0, lineHeight: 24, paragraphSpacing: 28 },\n medium: { fontFamily: 'Arial, sans-serif', fontWeight: 700, fontSize: 16, fontStyle: 'normal', letterSpacing: 0, lineHeight: 24, paragraphSpacing: 24 },\n small: { fontFamily: 'Arial, sans-serif', fontWeight: 700, fontSize: 14, fontStyle: 'normal', letterSpacing: 0, lineHeight: 20, paragraphSpacing: 20 },\n smallest: { fontFamily: 'Arial, sans-serif', fontWeight: 700, fontSize: 12, fontStyle: 'normal', letterSpacing: 0, lineHeight: 16, paragraphSpacing: 16 }\n }\n }\n});\n\n// Ensure we have a safe Typography object to work with\nconst safeTypography = Typography || createFallbackTypography();\n\n/**\n * typography() is a function that returns a typography element with the specified values.\n *\n * @param kind the typography content type ('label', 'paragraph', 'heading' or 'display')\n * @param size the size of the typography content ('extraSmall', 'small', 'medium', 'large', 'extraLarge' or 'smallest')\n * @param weight the weight of the typography content ('regular' or 'strong')\n * @returns the typography element with the specified values\n *\n * @defaults typography('paragraph', 'medium', 'regular')\n */\nexport const typography: TypographyFn = <\n Kind extends TypographyKind,\n Size extends TypographySize<Kind>,\n Weight extends TypographyWeights<Kind>,\n>(\n kind: Kind,\n size = 'medium' as Size,\n weight = 'regular' as Weight,\n) => {\n // SSR-safe check for Typography object\n if (!safeTypography || !safeTypography[kind]) {\n console.warn(`Typography object or kind \"${kind}\" not available during SSR - using fallback values`);\n return {\n fontFamily: 'Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 'normal',\n fontSize: '16px',\n lineHeight: '24px',\n paragraphSpacing: '0px',\n letterSpacing: '0px',\n } as TypographyElementPx;\n }\n\n try {\n if (isTypographyWeighted(kind)) {\n // Additional safety check for weight\n if (!safeTypography[kind][weight]) {\n console.warn(`Typography weight \"${weight}\" not available for kind \"${kind}\" - using fallback`);\n return {\n fontFamily: 'Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 'normal',\n fontSize: '16px',\n lineHeight: '24px',\n paragraphSpacing: '0px',\n letterSpacing: '0px',\n } as TypographyElementPx;\n }\n return transformValuesToPx(safeTypography[kind][weight][size as keyof TypographyType[Kind][Weight]] as TypographyElement);\n } else {\n return transformValuesToPx(safeTypography[kind][size as keyof TypographyType[typeof kind]] as TypographyElement);\n }\n } catch (error) {\n console.warn(`Error accessing typography values for kind \"${kind}\", size \"${size}\", weight \"${weight}\" - using fallback`, error);\n return {\n fontFamily: 'Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 'normal',\n fontSize: '16px',\n lineHeight: '24px',\n paragraphSpacing: '0px',\n letterSpacing: '0px',\n } as TypographyElementPx;\n }\n};\n"],"names":["createTypographyFallback","Typography","OriginalTypography","error","transformValuesToPx","value","createFallbackTypography","safeTypography","typography","kind","size","weight","isTypographyWeighted"],"mappings":";;AAcA,MAAMA,IAA2B,OAAuB;AAAA,EACtD,SAAS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AAAA,MACZ,UAAU;AAAA,MACV,YAAY;AAAA,MACZ,kBAAkB;AAAA,MAClB,eAAe;AAAA,IAAA;AAAA,EAEnB;AACF;"}
|
|
1
|
+
{"version":3,"file":"typography.js","sources":["../../../../../../react-base/src/theme/typography.ts"],"sourcesContent":["import { Typography as OriginalTypography } from 'acinguiux-ds-fabrics';\nimport type { TypographyType } from 'acinguiux-ds-fabrics';\n\nimport {\n isTypographyWeighted,\n TypographyKind,\n TypographySize,\n TypographyWeights,\n type TypographyElement,\n type TypographyElementPx,\n type TypographyFn,\n} from './types/typography';\n\n// SSR-safe Typography fallback\nconst createTypographyFallback = (): TypographyType => ({\n display: {\n extraSmall: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 600, fontSize: 32, fontStyle: 'normal', letterSpacing: 0, lineHeight: 40, paragraphSpacing: 48 },\n small: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 600, fontSize: 40, fontStyle: 'normal', letterSpacing: 0, lineHeight: 48, paragraphSpacing: 60 },\n medium: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 600, fontSize: 48, fontStyle: 'normal', letterSpacing: 0, lineHeight: 56, paragraphSpacing: 72 },\n large: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 600, fontSize: 56, fontStyle: 'normal', letterSpacing: 0, lineHeight: 68, paragraphSpacing: 84 },\n },\n heading: {\n smallest: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 500, fontSize: 14, fontStyle: 'normal', letterSpacing: 0, lineHeight: 16, paragraphSpacing: 20 },\n extraSmall: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 500, fontSize: 16, fontStyle: 'normal', letterSpacing: 0, lineHeight: 20, paragraphSpacing: 24 },\n small: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 500, fontSize: 20, fontStyle: 'normal', letterSpacing: 0, lineHeight: 24, paragraphSpacing: 32 },\n medium: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 500, fontSize: 24, fontStyle: 'normal', letterSpacing: 0, lineHeight: 28, paragraphSpacing: 36 },\n large: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 500, fontSize: 32, fontStyle: 'normal', letterSpacing: 0, lineHeight: 40, paragraphSpacing: 48 },\n extraLarge: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 500, fontSize: 40, fontStyle: 'normal', letterSpacing: 0, lineHeight: 48, paragraphSpacing: 60 },\n },\n label: {\n regular: {\n smallest: { fontFamily: 'Arial', fontWeight: 400, fontSize: 10, fontStyle: 'normal', letterSpacing: 0, lineHeight: 12, paragraphSpacing: 12 },\n extraSmall: { fontFamily: 'Arial', fontWeight: 400, fontSize: 12, fontStyle: 'normal', letterSpacing: 0, lineHeight: 16, paragraphSpacing: 16 },\n small: { fontFamily: 'Arial', fontWeight: 400, fontSize: 14, fontStyle: 'normal', letterSpacing: 0, lineHeight: 20, paragraphSpacing: 16 },\n medium: { fontFamily: 'Arial', fontWeight: 400, fontSize: 16, fontStyle: 'normal', letterSpacing: 0, lineHeight: 20, paragraphSpacing: 20 },\n large: { fontFamily: 'Arial', fontWeight: 400, fontSize: 18, fontStyle: 'normal', letterSpacing: 0, lineHeight: 24, paragraphSpacing: 20 },\n },\n strong: {\n smallest: { fontFamily: 'Arial', fontWeight: 700, fontSize: 10, fontStyle: 'normal', letterSpacing: 0, lineHeight: 12, paragraphSpacing: 12 },\n extraSmall: { fontFamily: 'Arial', fontWeight: 700, fontSize: 12, fontStyle: 'normal', letterSpacing: 0, lineHeight: 16, paragraphSpacing: 16 },\n small: { fontFamily: 'Arial', fontWeight: 700, fontSize: 14, fontStyle: 'normal', letterSpacing: 0, lineHeight: 20, paragraphSpacing: 16 },\n medium: { fontFamily: 'Arial', fontWeight: 700, fontSize: 16, fontStyle: 'normal', letterSpacing: 0, lineHeight: 20, paragraphSpacing: 20 },\n large: { fontFamily: 'Arial', fontWeight: 700, fontSize: 18, fontStyle: 'normal', letterSpacing: 0, lineHeight: 24, paragraphSpacing: 20 },\n },\n },\n paragraph: {\n regular: {\n extraLarge: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 400, fontSize: 20, fontStyle: 'normal', letterSpacing: 0, lineHeight: 32, paragraphSpacing: 32 },\n large: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 400, fontSize: 18, fontStyle: 'normal', letterSpacing: 0, lineHeight: 28, paragraphSpacing: 28 },\n medium: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 400, fontSize: 16, fontStyle: 'normal', letterSpacing: 0, lineHeight: 24, paragraphSpacing: 24 },\n small: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 400, fontSize: 14, fontStyle: 'normal', letterSpacing: 0, lineHeight: 20, paragraphSpacing: 20 },\n extraSmall: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 400, fontSize: 12, fontStyle: 'normal', letterSpacing: 0, lineHeight: 16, paragraphSpacing: 16 },\n },\n strong: {\n extraLarge: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 600, fontSize: 20, fontStyle: 'normal', letterSpacing: 0, lineHeight: 32, paragraphSpacing: 32 },\n large: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 600, fontSize: 18, fontStyle: 'normal', letterSpacing: 0, lineHeight: 28, paragraphSpacing: 28 },\n medium: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 600, fontSize: 16, fontStyle: 'normal', letterSpacing: 0, lineHeight: 24, paragraphSpacing: 24 },\n small: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 600, fontSize: 14, fontStyle: 'normal', letterSpacing: 0, lineHeight: 20, paragraphSpacing: 20 },\n extraSmall: { fontFamily: 'Be Vietnam Pro, sans-serif', fontWeight: 600, fontSize: 12, fontStyle: 'normal', letterSpacing: 0, lineHeight: 16, paragraphSpacing: 16 },\n },\n },\n} as any);\n\n// Ensure we have a safe Typography object to work with\nconst safeTypography = OriginalTypography || createTypographyFallback();\n\nconst transformValuesToPx = <T extends TypographyElement>(value: T): TypographyElementPx => ({\n ...value,\n fontWeight: `${value.fontWeight ?? 'normal'}`,\n fontSize: `${value.fontSize ?? 0}px`,\n lineHeight: `${value.lineHeight ?? 0}px`,\n paragraphSpacing: `${value.paragraphSpacing ?? 0}px`,\n letterSpacing: `${value.letterSpacing ?? 0}px`,\n});\n\n/**\n * typography() is a function that returns a typography element with the specified values.\n *\n * @param kind the typography content type ('label', 'paragraph', 'heading' or 'display')\n * @param size the size of the typography content ('extraSmall', 'small', 'medium', 'large', 'extraLarge' or 'smallest')\n * @param weight the weight of the typography content ('regular' or 'strong')\n * @returns the typography element with the specified values\n *\n * @defaults typography('paragraph', 'medium', 'regular')\n */\nexport const typography: TypographyFn = <\n Kind extends TypographyKind,\n Size extends TypographySize<Kind>,\n Weight extends TypographyWeights<Kind>,\n>(\n kind: Kind,\n size = 'medium' as Size,\n weight = 'regular' as Weight,\n) => {\n // SSR-safe check for Typography object\n if (!safeTypography || !safeTypography[kind]) {\n console.warn(`Typography object or kind \"${kind}\" not available during SSR - using fallback values`);\n return {\n fontFamily: 'Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 'normal',\n fontSize: '16px',\n lineHeight: '24px',\n paragraphSpacing: '0px',\n letterSpacing: '0px',\n } as TypographyElementPx;\n }\n\n try {\n if (isTypographyWeighted(kind)) {\n // Additional safety check for weight\n if (!safeTypography[kind][weight]) {\n console.warn(`Typography weight \"${weight}\" not available for kind \"${kind}\" - using fallback`);\n return {\n fontFamily: 'Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 'normal',\n fontSize: '16px',\n lineHeight: '24px',\n paragraphSpacing: '0px',\n letterSpacing: '0px',\n } as TypographyElementPx;\n }\n return transformValuesToPx(safeTypography[kind][weight][size as keyof TypographyType[Kind][Weight]] as TypographyElement);\n } else {\n return transformValuesToPx(safeTypography[kind][size as keyof TypographyType[typeof kind]] as TypographyElement);\n }\n } catch (error) {\n console.warn(`Error accessing typography values for kind \"${kind}\", size \"${size}\", weight \"${weight}\" - using fallback`, error);\n return {\n fontFamily: 'Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 'normal',\n fontSize: '16px',\n lineHeight: '24px',\n paragraphSpacing: '0px',\n letterSpacing: '0px',\n } as TypographyElementPx;\n }\n};\n"],"names":["createTypographyFallback","safeTypography","OriginalTypography","transformValuesToPx","value","typography","kind","size","weight","isTypographyWeighted","error"],"mappings":";;AAcA,MAAMA,IAA2B,OAAuB;AAAA,EACtD,SAAS;AAAA,IACP,YAAY,EAAE,YAAY,8BAA8B,YAAY,KAAK,UAAU,IAAI,WAAW,UAAU,eAAe,GAAG,YAAY,IAAI,kBAAkB,GAAA;AAAA,IAChK,OAAO,EAAE,YAAY,8BAA8B,YAAY,KAAK,UAAU,IAAI,WAAW,UAAU,eAAe,GAAG,YAAY,IAAI,kBAAkB,GAAA;AAAA,IAC3J,QAAQ,EAAE,YAAY,8BAA8B,YAAY,KAAK,UAAU,IAAI,WAAW,UAAU,eAAe,GAAG,YAAY,IAAI,kBAAkB,GAAA;AAAA,IAC5J,OAAO,EAAE,YAAY,8BAA8B,YAAY,KAAK,UAAU,IAAI,WAAW,UAAU,eAAe,GAAG,YAAY,IAAI,kBAAkB,GAAA;AAAA,EAAG;AAAA,EAEhK,SAAS;AAAA,IACP,UAAU,EAAE,YAAY,8BAA8B,YAAY,KAAK,UAAU,IAAI,WAAW,UAAU,eAAe,GAAG,YAAY,IAAI,kBAAkB,GAAA;AAAA,IAC9J,YAAY,EAAE,YAAY,8BAA8B,YAAY,KAAK,UAAU,IAAI,WAAW,UAAU,eAAe,GAAG,YAAY,IAAI,kBAAkB,GAAA;AAAA,IAChK,OAAO,EAAE,YAAY,8BAA8B,YAAY,KAAK,UAAU,IAAI,WAAW,UAAU,eAAe,GAAG,YAAY,IAAI,kBAAkB,GAAA;AAAA,IAC3J,QAAQ,EAAE,YAAY,8BAA8B,YAAY,KAAK,UAAU,IAAI,WAAW,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C,CAAyC,CAAsB;AAAA,EAEnH,SAASG,GAAO;AACd,mBAAQ,KAAK,+CAA+CJ,CAAI,YAAYC,CAAI,cAAcC,CAAM,sBAAsBE,CAAK,GACxH;AAAA,MACL,YAAY;AAAA,MACZ,WAAW;AAAA,MACX,YAAY;AAAA,MACZ,UAAU;AAAA,MACV,YAAY;AAAA,MACZ,kBAAkB;AAAA,MAClB,eAAe;AAAA,IAAA;AAAA,EAEnB;AACF;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "acinguiux-ds-react-framework",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "All Acingui-UX components for React",
|
|
5
5
|
"main": "./build/cjs/index.js",
|
|
6
6
|
"module": "./build/esm/index.js",
|
|
@@ -145,7 +145,6 @@
|
|
|
145
145
|
"rc-menu": "9.15.1",
|
|
146
146
|
"rc-motion": "2.9.2",
|
|
147
147
|
"rc-pagination": "5.0.0",
|
|
148
|
-
"rc-picker": "4.11.3",
|
|
149
148
|
"rc-resize-observer": "1.4.0",
|
|
150
149
|
"rc-select": "14.16.6",
|
|
151
150
|
"rc-slider": "10.5.0",
|