@activecollab/components 1.0.71 → 1.0.72
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/cjs/components/Typography/Styles.js +3 -1
- package/dist/cjs/components/Typography/Styles.js.map +1 -1
- package/dist/cjs/components/Typography/Typography.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Body1.js +1 -1
- package/dist/cjs/components/Typography/Variants/Body1.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Body2.js +1 -1
- package/dist/cjs/components/Typography/Variants/Body2.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Caption1.js +1 -1
- package/dist/cjs/components/Typography/Variants/Caption1.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Caption2.js +1 -1
- package/dist/cjs/components/Typography/Variants/Caption2.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Header2.js +1 -1
- package/dist/cjs/components/Typography/Variants/Header2.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Header3.js +1 -1
- package/dist/cjs/components/Typography/Variants/Header3.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Title1.js +1 -1
- package/dist/cjs/components/Typography/Variants/Title1.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Title2.js +40 -0
- package/dist/cjs/components/Typography/Variants/Title2.js.map +1 -0
- package/dist/cjs/components/Typography/index.js +13 -0
- package/dist/cjs/components/Typography/index.js.map +1 -1
- package/dist/esm/components/Typography/Styles.d.ts +1 -1
- package/dist/esm/components/Typography/Styles.d.ts.map +1 -1
- package/dist/esm/components/Typography/Styles.js +3 -1
- package/dist/esm/components/Typography/Styles.js.map +1 -1
- package/dist/esm/components/Typography/Typography.d.ts +1 -1
- package/dist/esm/components/Typography/Typography.d.ts.map +1 -1
- package/dist/esm/components/Typography/Typography.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Body1.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Body1.js +1 -1
- package/dist/esm/components/Typography/Variants/Body1.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Body2.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Body2.js +1 -1
- package/dist/esm/components/Typography/Variants/Body2.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Caption1.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Caption1.js +1 -1
- package/dist/esm/components/Typography/Variants/Caption1.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Caption2.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Caption2.js +1 -1
- package/dist/esm/components/Typography/Variants/Caption2.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Header2.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Header2.js +1 -1
- package/dist/esm/components/Typography/Variants/Header2.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Header3.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Header3.js +1 -1
- package/dist/esm/components/Typography/Variants/Header3.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Title1.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Title1.js +1 -1
- package/dist/esm/components/Typography/Variants/Title1.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Title2.d.ts +8 -0
- package/dist/esm/components/Typography/Variants/Title2.d.ts.map +1 -0
- package/dist/esm/components/Typography/Variants/Title2.js +19 -0
- package/dist/esm/components/Typography/Variants/Title2.js.map +1 -0
- package/dist/esm/components/Typography/index.d.ts +1 -0
- package/dist/esm/components/Typography/index.d.ts.map +1 -1
- package/dist/esm/components/Typography/index.js +1 -0
- package/dist/esm/components/Typography/index.js.map +1 -1
- package/dist/index.js +62 -44
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ export var Caption2 = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
13
13
|
variant: "Caption 2",
|
|
14
14
|
weight: weight,
|
|
15
15
|
ref: ref
|
|
16
|
-
}, props),
|
|
16
|
+
}, props), children);
|
|
17
17
|
});
|
|
18
18
|
Caption2.displayName = "Caption2";
|
|
19
19
|
//# sourceMappingURL=Caption2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/components/Typography/Variants/Caption2.tsx"],"names":["React","forwardRef","Typography","Caption2","ref","weight","children","props","displayName"],"mappings":";;;AAAA,OAAOA,KAAP,IAAgBC,UAAhB,QAAkC,OAAlC;AACA,SAA2BC,UAA3B,QAA6C,eAA7C;AAOA,OAAO,IAAMC,QAAQ,gBAAGF,UAAU,CAGhC,gBAA6CG,GAA7C,EAAqD;AAAA,yBAAlDC,MAAkD;AAAA,MAAlDA,MAAkD,4BAAzC,SAAyC;AAAA,MAA9BC,QAA8B,QAA9BA,QAA8B;AAAA,MAAjBC,KAAiB;;AACrD,sBACE,oBAAC,UAAD;AAAY,IAAA,OAAO,EAAC,WAApB;AAAgC,IAAA,MAAM,EAAEF,MAAxC;AAAgD,IAAA,GAAG,EAAED;AAArD,KAA8DG,KAA9D,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/components/Typography/Variants/Caption2.tsx"],"names":["React","forwardRef","Typography","Caption2","ref","weight","children","props","displayName"],"mappings":";;;AAAA,OAAOA,KAAP,IAAgBC,UAAhB,QAAkC,OAAlC;AACA,SAA2BC,UAA3B,QAA6C,eAA7C;AAOA,OAAO,IAAMC,QAAQ,gBAAGF,UAAU,CAGhC,gBAA6CG,GAA7C,EAAqD;AAAA,yBAAlDC,MAAkD;AAAA,MAAlDA,MAAkD,4BAAzC,SAAyC;AAAA,MAA9BC,QAA8B,QAA9BA,QAA8B;AAAA,MAAjBC,KAAiB;;AACrD,sBACE,oBAAC,UAAD;AAAY,IAAA,OAAO,EAAC,WAApB;AAAgC,IAAA,MAAM,EAAEF,MAAxC;AAAgD,IAAA,GAAG,EAAED;AAArD,KAA8DG,KAA9D,GACGD,QADH,CADF;AAKD,CATiC,CAA3B;AAWPH,QAAQ,CAACK,WAAT,GAAuB,UAAvB","sourcesContent":["import React, { forwardRef } from \"react\";\nimport { ITypographyProps, Typography } from \"../Typography\";\n\ninterface ICaptionProps {\n /** Font weight. */\n weight?: \"regular\" | \"bold\";\n}\n\nexport const Caption2 = forwardRef<\n HTMLDivElement,\n ICaptionProps & Omit<ITypographyProps, keyof ICaptionProps | \"variant\">\n>(({ weight = \"regular\", children, ...props }, ref) => {\n return (\n <Typography variant=\"Caption 2\" weight={weight} ref={ref} {...props}>\n {children}\n </Typography>\n );\n});\n\nCaption2.displayName = \"Caption2\";\n"],"file":"Caption2.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header2.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Variants/Header2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAc,MAAM,eAAe,CAAC;AAE7D,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"Header2.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Variants/Header2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAc,MAAM,eAAe,CAAC;AAE7D,eAAO,MAAM,OAAO,qHASlB,CAAC"}
|
|
@@ -11,7 +11,7 @@ export var Header2 = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
11
11
|
weight: "bold",
|
|
12
12
|
variant: "Header 2",
|
|
13
13
|
ref: ref
|
|
14
|
-
}, props),
|
|
14
|
+
}, props), children);
|
|
15
15
|
});
|
|
16
16
|
Header2.displayName = "Header2";
|
|
17
17
|
//# sourceMappingURL=Header2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/components/Typography/Variants/Header2.tsx"],"names":["React","forwardRef","Typography","Header2","ref","children","props","displayName"],"mappings":";;;AAAA,OAAOA,KAAP,IAAgBC,UAAhB,QAAkC,OAAlC;AACA,SAA2BC,UAA3B,QAA6C,eAA7C;AAEA,OAAO,IAAMC,OAAO,gBAAGF,UAAU,CAG/B,gBAAyBG,GAAzB,EAAiC;AAAA,MAA9BC,QAA8B,QAA9BA,QAA8B;AAAA,MAAjBC,KAAiB;;AACjC,sBACE,oBAAC,UAAD;AAAY,IAAA,MAAM,EAAC,MAAnB;AAA0B,IAAA,OAAO,EAAC,UAAlC;AAA6C,IAAA,GAAG,EAAEF;AAAlD,KAA2DE,KAA3D,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/components/Typography/Variants/Header2.tsx"],"names":["React","forwardRef","Typography","Header2","ref","children","props","displayName"],"mappings":";;;AAAA,OAAOA,KAAP,IAAgBC,UAAhB,QAAkC,OAAlC;AACA,SAA2BC,UAA3B,QAA6C,eAA7C;AAEA,OAAO,IAAMC,OAAO,gBAAGF,UAAU,CAG/B,gBAAyBG,GAAzB,EAAiC;AAAA,MAA9BC,QAA8B,QAA9BA,QAA8B;AAAA,MAAjBC,KAAiB;;AACjC,sBACE,oBAAC,UAAD;AAAY,IAAA,MAAM,EAAC,MAAnB;AAA0B,IAAA,OAAO,EAAC,UAAlC;AAA6C,IAAA,GAAG,EAAEF;AAAlD,KAA2DE,KAA3D,GACGD,QADH,CADF;AAKD,CATgC,CAA1B;AAWPF,OAAO,CAACI,WAAR,GAAsB,SAAtB","sourcesContent":["import React, { forwardRef } from \"react\";\nimport { ITypographyProps, Typography } from \"../Typography\";\n\nexport const Header2 = forwardRef<\n HTMLDivElement,\n Omit<ITypographyProps, \"weight\" | \"variant\">\n>(({ children, ...props }, ref) => {\n return (\n <Typography weight=\"bold\" variant=\"Header 2\" ref={ref} {...props}>\n {children}\n </Typography>\n );\n});\n\nHeader2.displayName = \"Header2\";\n"],"file":"Header2.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header3.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Variants/Header3.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAc,MAAM,eAAe,CAAC;AAE7D,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"Header3.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Variants/Header3.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAc,MAAM,eAAe,CAAC;AAE7D,eAAO,MAAM,OAAO,qHASlB,CAAC"}
|
|
@@ -11,7 +11,7 @@ export var Header3 = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
11
11
|
weight: "bold",
|
|
12
12
|
variant: "Header 3",
|
|
13
13
|
ref: ref
|
|
14
|
-
}, props),
|
|
14
|
+
}, props), children);
|
|
15
15
|
});
|
|
16
16
|
Header3.displayName = "Header3";
|
|
17
17
|
//# sourceMappingURL=Header3.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/components/Typography/Variants/Header3.tsx"],"names":["React","forwardRef","Typography","Header3","ref","children","props","displayName"],"mappings":";;;AAAA,OAAOA,KAAP,IAAgBC,UAAhB,QAAkC,OAAlC;AACA,SAA2BC,UAA3B,QAA6C,eAA7C;AAEA,OAAO,IAAMC,OAAO,gBAAGF,UAAU,CAG/B,gBAAyBG,GAAzB,EAAiC;AAAA,MAA9BC,QAA8B,QAA9BA,QAA8B;AAAA,MAAjBC,KAAiB;;AACjC,sBACE,oBAAC,UAAD;AAAY,IAAA,MAAM,EAAC,MAAnB;AAA0B,IAAA,OAAO,EAAC,UAAlC;AAA6C,IAAA,GAAG,EAAEF;AAAlD,KAA2DE,KAA3D,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/components/Typography/Variants/Header3.tsx"],"names":["React","forwardRef","Typography","Header3","ref","children","props","displayName"],"mappings":";;;AAAA,OAAOA,KAAP,IAAgBC,UAAhB,QAAkC,OAAlC;AACA,SAA2BC,UAA3B,QAA6C,eAA7C;AAEA,OAAO,IAAMC,OAAO,gBAAGF,UAAU,CAG/B,gBAAyBG,GAAzB,EAAiC;AAAA,MAA9BC,QAA8B,QAA9BA,QAA8B;AAAA,MAAjBC,KAAiB;;AACjC,sBACE,oBAAC,UAAD;AAAY,IAAA,MAAM,EAAC,MAAnB;AAA0B,IAAA,OAAO,EAAC,UAAlC;AAA6C,IAAA,GAAG,EAAEF;AAAlD,KAA2DE,KAA3D,GACGD,QADH,CADF;AAKD,CATgC,CAA1B;AAWPF,OAAO,CAACI,WAAR,GAAsB,SAAtB","sourcesContent":["import React, { forwardRef } from \"react\";\nimport { ITypographyProps, Typography } from \"../Typography\";\n\nexport const Header3 = forwardRef<\n HTMLDivElement,\n Omit<ITypographyProps, \"weight\" | \"variant\">\n>(({ children, ...props }, ref) => {\n return (\n <Typography weight=\"bold\" variant=\"Header 3\" ref={ref} {...props}>\n {children}\n </Typography>\n );\n});\n\nHeader3.displayName = \"Header3\";\n"],"file":"Header3.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Title1.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Variants/Title1.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAc,MAAM,eAAe,CAAC;AAE7D,UAAU,WAAW;IAEnB,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC3B;AAED,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"Title1.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Variants/Title1.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAc,MAAM,eAAe,CAAC;AAE7D,UAAU,WAAW;IAEnB,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC3B;AAED,eAAO,MAAM,MAAM,mIASjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/components/Typography/Variants/Title1.tsx"],"names":["React","forwardRef","Typography","Title1","ref","weight","children","props","displayName"],"mappings":";;;AAAA,OAAOA,KAAP,IAAgBC,UAAhB,QAAkC,OAAlC;AACA,SAA2BC,UAA3B,QAA6C,eAA7C;AAOA,OAAO,IAAMC,MAAM,gBAAGF,UAAU,CAG9B,gBAA2CG,GAA3C,EAAmD;AAAA,yBAAhDC,MAAgD;AAAA,MAAhDA,MAAgD,4BAAvC,OAAuC;AAAA,MAA9BC,QAA8B,QAA9BA,QAA8B;AAAA,MAAjBC,KAAiB;;AACnD,sBACE,oBAAC,UAAD;AAAY,IAAA,MAAM,EAAEF,MAApB;AAA4B,IAAA,OAAO,EAAC,SAApC;AAA8C,IAAA,GAAG,EAAED;AAAnD,KAA4DG,KAA5D,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/components/Typography/Variants/Title1.tsx"],"names":["React","forwardRef","Typography","Title1","ref","weight","children","props","displayName"],"mappings":";;;AAAA,OAAOA,KAAP,IAAgBC,UAAhB,QAAkC,OAAlC;AACA,SAA2BC,UAA3B,QAA6C,eAA7C;AAOA,OAAO,IAAMC,MAAM,gBAAGF,UAAU,CAG9B,gBAA2CG,GAA3C,EAAmD;AAAA,yBAAhDC,MAAgD;AAAA,MAAhDA,MAAgD,4BAAvC,OAAuC;AAAA,MAA9BC,QAA8B,QAA9BA,QAA8B;AAAA,MAAjBC,KAAiB;;AACnD,sBACE,oBAAC,UAAD;AAAY,IAAA,MAAM,EAAEF,MAApB;AAA4B,IAAA,OAAO,EAAC,SAApC;AAA8C,IAAA,GAAG,EAAED;AAAnD,KAA4DG,KAA5D,GACGD,QADH,CADF;AAKD,CAT+B,CAAzB;AAWPH,MAAM,CAACK,WAAP,GAAqB,QAArB","sourcesContent":["import React, { forwardRef } from \"react\";\nimport { ITypographyProps, Typography } from \"../Typography\";\n\ninterface ITitleProps {\n /** Font weight. */\n weight?: \"light\" | \"bold\";\n}\n\nexport const Title1 = forwardRef<\n HTMLDivElement,\n ITitleProps & Omit<ITypographyProps, keyof ITitleProps | \"variant\">\n>(({ weight = \"light\", children, ...props }, ref) => {\n return (\n <Typography weight={weight} variant=\"Title 1\" ref={ref} {...props}>\n {children}\n </Typography>\n );\n});\n\nTitle1.displayName = \"Title1\";\n"],"file":"Title1.js"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ITypographyProps } from "../Typography";
|
|
3
|
+
interface ITitleProps {
|
|
4
|
+
weight?: "light" | "bold";
|
|
5
|
+
}
|
|
6
|
+
export declare const Title2: React.ForwardRefExoticComponent<ITitleProps & Omit<ITypographyProps, "variant" | "weight"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=Title2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Title2.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Variants/Title2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAc,MAAM,eAAe,CAAC;AAE7D,UAAU,WAAW;IAEnB,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC3B;AAED,eAAO,MAAM,MAAM,mIASjB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
|
+
var _excluded = ["weight", "children"];
|
|
4
|
+
import React, { forwardRef } from "react";
|
|
5
|
+
import { Typography } from "../Typography";
|
|
6
|
+
export var Title2 = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
7
|
+
var _ref$weight = _ref.weight,
|
|
8
|
+
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
9
|
+
children = _ref.children,
|
|
10
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
11
|
+
|
|
12
|
+
return /*#__PURE__*/React.createElement(Typography, _extends({
|
|
13
|
+
weight: weight,
|
|
14
|
+
variant: "Title 2",
|
|
15
|
+
ref: ref
|
|
16
|
+
}, props), children);
|
|
17
|
+
});
|
|
18
|
+
Title2.displayName = "Title2";
|
|
19
|
+
//# sourceMappingURL=Title2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/components/Typography/Variants/Title2.tsx"],"names":["React","forwardRef","Typography","Title2","ref","weight","children","props","displayName"],"mappings":";;;AAAA,OAAOA,KAAP,IAAgBC,UAAhB,QAAkC,OAAlC;AACA,SAA2BC,UAA3B,QAA6C,eAA7C;AAOA,OAAO,IAAMC,MAAM,gBAAGF,UAAU,CAG9B,gBAA2CG,GAA3C,EAAmD;AAAA,yBAAhDC,MAAgD;AAAA,MAAhDA,MAAgD,4BAAvC,OAAuC;AAAA,MAA9BC,QAA8B,QAA9BA,QAA8B;AAAA,MAAjBC,KAAiB;;AACnD,sBACE,oBAAC,UAAD;AAAY,IAAA,MAAM,EAAEF,MAApB;AAA4B,IAAA,OAAO,EAAC,SAApC;AAA8C,IAAA,GAAG,EAAED;AAAnD,KAA4DG,KAA5D,GACGD,QADH,CADF;AAKD,CAT+B,CAAzB;AAWPH,MAAM,CAACK,WAAP,GAAqB,QAArB","sourcesContent":["import React, { forwardRef } from \"react\";\nimport { ITypographyProps, Typography } from \"../Typography\";\n\ninterface ITitleProps {\n /** Font weight. */\n weight?: \"light\" | \"bold\";\n}\n\nexport const Title2 = forwardRef<\n HTMLDivElement,\n ITitleProps & Omit<ITypographyProps, keyof ITitleProps | \"variant\">\n>(({ weight = \"light\", children, ...props }, ref) => {\n return (\n <Typography weight={weight} variant=\"Title 2\" ref={ref} {...props}>\n {children}\n </Typography>\n );\n});\n\nTitle2.displayName = \"Title2\";\n"],"file":"Title2.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Typography/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Typography/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/Typography/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAd;AACA,cAAc,oBAAd;AACA,cAAc,oBAAd;AACA,cAAc,kBAAd;AACA,cAAc,kBAAd;AACA,cAAc,qBAAd;AACA,cAAc,qBAAd","sourcesContent":["export * from \"./Variants/Title1\";\nexport * from \"./Variants/Header2\";\nexport * from \"./Variants/Header3\";\nexport * from \"./Variants/Body1\";\nexport * from \"./Variants/Body2\";\nexport * from \"./Variants/Caption1\";\nexport * from \"./Variants/Caption2\";\n"],"file":"index.js"}
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/Typography/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAd;AACA,cAAc,mBAAd;AACA,cAAc,oBAAd;AACA,cAAc,oBAAd;AACA,cAAc,kBAAd;AACA,cAAc,kBAAd;AACA,cAAc,qBAAd;AACA,cAAc,qBAAd","sourcesContent":["export * from \"./Variants/Title1\";\nexport * from \"./Variants/Title2\";\nexport * from \"./Variants/Header2\";\nexport * from \"./Variants/Header3\";\nexport * from \"./Variants/Body1\";\nexport * from \"./Variants/Body2\";\nexport * from \"./Variants/Caption1\";\nexport * from \"./Variants/Caption2\";\n"],"file":"index.js"}
|
package/dist/index.js
CHANGED
|
@@ -314,7 +314,7 @@
|
|
|
314
314
|
})(["display:inline-flex;svg{margin:0 4px;}"]);
|
|
315
315
|
StyledButtonElement.displayName = "StyledButtonElement";
|
|
316
316
|
|
|
317
|
-
var _excluded$
|
|
317
|
+
var _excluded$X = ["children", "variant", "size", "disabled", "className"];
|
|
318
318
|
|
|
319
319
|
/**
|
|
320
320
|
* Button component
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
_ref$disabled = _ref.disabled,
|
|
329
329
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
330
330
|
className = _ref.className,
|
|
331
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
331
|
+
args = _objectWithoutProperties(_ref, _excluded$X);
|
|
332
332
|
|
|
333
333
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton$1, _extends({
|
|
334
334
|
disabled: disabled,
|
|
@@ -381,12 +381,12 @@
|
|
|
381
381
|
})(["svg{fill:var(--color-theme-100);}&:hover svg{transform:rotate(90deg);transition:ease 0.3s;}"]);
|
|
382
382
|
StyledGlobalAddButton.displayName = "StyledGlobalAddButton";
|
|
383
383
|
|
|
384
|
-
var _excluded$
|
|
384
|
+
var _excluded$W = ["className", "disabled"];
|
|
385
385
|
var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
386
386
|
var className = _ref.className,
|
|
387
387
|
_ref$disabled = _ref.disabled,
|
|
388
388
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
389
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
389
|
+
rest = _objectWithoutProperties(_ref, _excluded$W);
|
|
390
390
|
|
|
391
391
|
return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
|
|
392
392
|
ref: ref,
|
|
@@ -419,11 +419,11 @@
|
|
|
419
419
|
});
|
|
420
420
|
StyledButtonGroup$1.displayName = "StyledButtonGroup";
|
|
421
421
|
|
|
422
|
-
var _excluded$
|
|
422
|
+
var _excluded$V = ["children", "className"];
|
|
423
423
|
var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
424
424
|
var children = _ref.children,
|
|
425
425
|
className = _ref.className,
|
|
426
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
426
|
+
rest = _objectWithoutProperties(_ref, _excluded$V);
|
|
427
427
|
|
|
428
428
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
|
|
429
429
|
ref: ref,
|
|
@@ -449,7 +449,7 @@
|
|
|
449
449
|
}, [refA, refB]);
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
-
var _excluded$
|
|
452
|
+
var _excluded$U = ["children", "anchorEl", "open", "style", "transition", "placement"];
|
|
453
453
|
var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
454
454
|
var children = _ref.children,
|
|
455
455
|
anchorEl = _ref.anchorEl,
|
|
@@ -460,7 +460,7 @@
|
|
|
460
460
|
transition = _ref$transition === void 0 ? false : _ref$transition,
|
|
461
461
|
_ref$placement = _ref.placement,
|
|
462
462
|
initialPlacement = _ref$placement === void 0 ? "bottom" : _ref$placement,
|
|
463
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
463
|
+
rest = _objectWithoutProperties(_ref, _excluded$U);
|
|
464
464
|
|
|
465
465
|
var _useState = React.useState(true),
|
|
466
466
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -632,11 +632,11 @@
|
|
|
632
632
|
return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
|
|
633
633
|
});
|
|
634
634
|
|
|
635
|
-
var _excluded$
|
|
635
|
+
var _excluded$T = ["children"];
|
|
636
636
|
|
|
637
637
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
638
638
|
var children = _ref.children,
|
|
639
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
639
|
+
props = _objectWithoutProperties(_ref, _excluded$T);
|
|
640
640
|
|
|
641
641
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
642
642
|
timeout: 0
|
|
@@ -778,10 +778,12 @@
|
|
|
778
778
|
var StyledTypography = styled__default["default"].div.withConfig({
|
|
779
779
|
displayName: "Styles__StyledTypography",
|
|
780
780
|
componentId: "sc-mskw5w-0"
|
|
781
|
-
})(["", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", ""], FontStyle, BoxSizingStyle, function (props) {
|
|
781
|
+
})(["", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", ""], FontStyle, BoxSizingStyle, function (props) {
|
|
782
782
|
return colors[props.$color];
|
|
783
783
|
}, function (props) {
|
|
784
784
|
return props.$variant === "Title 1" && styled.css(["font-size:2rem;"]);
|
|
785
|
+
}, function (props) {
|
|
786
|
+
return props.$variant === "Title 2" && styled.css(["font-size:1.625rem;"]);
|
|
785
787
|
}, function (props) {
|
|
786
788
|
return props.$variant === "Header 2" && styled.css(["font-size:1.125rem;"]);
|
|
787
789
|
}, function (props) {
|
|
@@ -865,7 +867,7 @@
|
|
|
865
867
|
});
|
|
866
868
|
StyledTypography.displayName = "StyledTypography";
|
|
867
869
|
|
|
868
|
-
var _excluded$
|
|
870
|
+
var _excluded$S = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
869
871
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
870
872
|
var _ref$variant = _ref.variant,
|
|
871
873
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
@@ -896,7 +898,7 @@
|
|
|
896
898
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
897
899
|
className = _ref.className,
|
|
898
900
|
children = _ref.children,
|
|
899
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
901
|
+
props = _objectWithoutProperties(_ref, _excluded$S);
|
|
900
902
|
|
|
901
903
|
var Component = as || "div";
|
|
902
904
|
return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
|
|
@@ -920,18 +922,18 @@
|
|
|
920
922
|
});
|
|
921
923
|
Typography.displayName = "Typography";
|
|
922
924
|
|
|
923
|
-
var _excluded$
|
|
925
|
+
var _excluded$R = ["weight", "children"];
|
|
924
926
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
925
927
|
var _ref$weight = _ref.weight,
|
|
926
928
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
927
929
|
children = _ref.children,
|
|
928
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
930
|
+
props = _objectWithoutProperties(_ref, _excluded$R);
|
|
929
931
|
|
|
930
932
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
931
933
|
variant: "Body 2",
|
|
932
934
|
weight: weight,
|
|
933
935
|
ref: ref
|
|
934
|
-
}, props),
|
|
936
|
+
}, props), children);
|
|
935
937
|
});
|
|
936
938
|
Body2.displayName = "Body2";
|
|
937
939
|
|
|
@@ -966,7 +968,7 @@
|
|
|
966
968
|
});
|
|
967
969
|
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
|
|
968
970
|
|
|
969
|
-
var _excluded$
|
|
971
|
+
var _excluded$Q = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className"];
|
|
970
972
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
971
973
|
var label = _ref.label,
|
|
972
974
|
icon = _ref.icon,
|
|
@@ -976,7 +978,7 @@
|
|
|
976
978
|
tooltipText = _ref.tooltipText,
|
|
977
979
|
onClearAll = _ref.onClearAll,
|
|
978
980
|
className = _ref.className,
|
|
979
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
981
|
+
args = _objectWithoutProperties(_ref, _excluded$Q);
|
|
980
982
|
|
|
981
983
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
982
984
|
className: classnames__default["default"]("tw-flex ac-font box-sizing", className)
|
|
@@ -1314,7 +1316,7 @@
|
|
|
1314
1316
|
StyledDatePicker.displayName = "StyledDatePicker";
|
|
1315
1317
|
StyledDayPicker.displayName = "StyledDayPicker";
|
|
1316
1318
|
|
|
1317
|
-
var _excluded$
|
|
1319
|
+
var _excluded$P = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
|
|
1318
1320
|
var DatePicker = function DatePicker(_ref) {
|
|
1319
1321
|
var className = _ref.className,
|
|
1320
1322
|
onChange = _ref.onChange,
|
|
@@ -1336,7 +1338,7 @@
|
|
|
1336
1338
|
_ref$fixedWeeks = _ref.fixedWeeks,
|
|
1337
1339
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
1338
1340
|
defaultModifiers = _ref.modifiers,
|
|
1339
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1341
|
+
rest = _objectWithoutProperties(_ref, _excluded$P);
|
|
1340
1342
|
|
|
1341
1343
|
var _useState = React.useState(),
|
|
1342
1344
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -1681,12 +1683,12 @@
|
|
|
1681
1683
|
});
|
|
1682
1684
|
StyledOverlay.displayName = "StyledOverlay";
|
|
1683
1685
|
|
|
1684
|
-
var _excluded$
|
|
1686
|
+
var _excluded$O = ["className", "disableBackgroundColor"];
|
|
1685
1687
|
var Overlay = function Overlay(_ref) {
|
|
1686
1688
|
var className = _ref.className,
|
|
1687
1689
|
_ref$disableBackgroun = _ref.disableBackgroundColor,
|
|
1688
1690
|
disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
|
|
1689
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1691
|
+
rest = _objectWithoutProperties(_ref, _excluded$O);
|
|
1690
1692
|
|
|
1691
1693
|
return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
|
|
1692
1694
|
className: classnames__default["default"]("c-overlay", className),
|
|
@@ -1701,7 +1703,7 @@
|
|
|
1701
1703
|
})(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;"], FontStyle, BoxSizingStyle);
|
|
1702
1704
|
StyledWindow.displayName = "StyledWindow";
|
|
1703
1705
|
|
|
1704
|
-
var _excluded$
|
|
1706
|
+
var _excluded$N = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "preventClickEventBubbling", "onClick"];
|
|
1705
1707
|
var returnFocus = {
|
|
1706
1708
|
preventScroll: true
|
|
1707
1709
|
};
|
|
@@ -1718,7 +1720,7 @@
|
|
|
1718
1720
|
_ref$preventClickEven = _ref.preventClickEventBubbling,
|
|
1719
1721
|
preventClickEventBubbling = _ref$preventClickEven === void 0 ? false : _ref$preventClickEven,
|
|
1720
1722
|
onClick = _ref.onClick,
|
|
1721
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1723
|
+
rest = _objectWithoutProperties(_ref, _excluded$N);
|
|
1722
1724
|
|
|
1723
1725
|
var innerRef = React.useRef(null);
|
|
1724
1726
|
var handleRef = useForkRef(innerRef, ref);
|
|
@@ -1792,7 +1794,7 @@
|
|
|
1792
1794
|
}, FontStyle, BoxSizingStyle);
|
|
1793
1795
|
StyledBubble.displayName = "StyledBubble";
|
|
1794
1796
|
|
|
1795
|
-
var _excluded$
|
|
1797
|
+
var _excluded$M = ["children", "className", "innerRef", "style"];
|
|
1796
1798
|
var Bubble = function Bubble(_ref) {
|
|
1797
1799
|
var children = _ref.children,
|
|
1798
1800
|
className = _ref.className,
|
|
@@ -1800,7 +1802,7 @@
|
|
|
1800
1802
|
innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
|
|
1801
1803
|
_ref$style = _ref.style,
|
|
1802
1804
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
1803
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1805
|
+
rest = _objectWithoutProperties(_ref, _excluded$M);
|
|
1804
1806
|
|
|
1805
1807
|
return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
|
|
1806
1808
|
ref: innerRef,
|
|
@@ -1947,13 +1949,13 @@
|
|
|
1947
1949
|
};
|
|
1948
1950
|
Menu.displayName = "Menu";
|
|
1949
1951
|
|
|
1950
|
-
var _excluded$
|
|
1952
|
+
var _excluded$L = ["title", "className", "leftElement", "rightElement"];
|
|
1951
1953
|
var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1952
1954
|
var title = _ref.title,
|
|
1953
1955
|
className = _ref.className,
|
|
1954
1956
|
leftElement = _ref.leftElement,
|
|
1955
1957
|
rightElement = _ref.rightElement,
|
|
1956
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1958
|
+
props = _objectWithoutProperties(_ref, _excluded$L);
|
|
1957
1959
|
|
|
1958
1960
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
|
|
1959
1961
|
className: classnames__default["default"]("c-menu-header", className),
|
|
@@ -1976,11 +1978,11 @@
|
|
|
1976
1978
|
});
|
|
1977
1979
|
MenuHeader.displayName = "MenuHeader";
|
|
1978
1980
|
|
|
1979
|
-
var _excluded$
|
|
1981
|
+
var _excluded$K = ["children", "className"];
|
|
1980
1982
|
var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1981
1983
|
var children = _ref.children,
|
|
1982
1984
|
className = _ref.className,
|
|
1983
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1985
|
+
props = _objectWithoutProperties(_ref, _excluded$K);
|
|
1984
1986
|
|
|
1985
1987
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter, _extends({}, props, {
|
|
1986
1988
|
className: classnames__default["default"]("c-menu-footer", className),
|
|
@@ -2652,7 +2654,7 @@
|
|
|
2652
2654
|
SortIcon.displayName = "SortIcon";
|
|
2653
2655
|
var SortIcon$1 = SortIcon;
|
|
2654
2656
|
|
|
2655
|
-
var _excluded$
|
|
2657
|
+
var _excluded$J = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue"];
|
|
2656
2658
|
exports.SortDirection = void 0;
|
|
2657
2659
|
|
|
2658
2660
|
(function (SortDirection) {
|
|
@@ -2702,7 +2704,7 @@
|
|
|
2702
2704
|
} : _ref$groupHead,
|
|
2703
2705
|
isCollapsible = _ref.isCollapsible,
|
|
2704
2706
|
emptyValue = _ref.emptyValue,
|
|
2705
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
2707
|
+
args = _objectWithoutProperties(_ref, _excluded$J);
|
|
2706
2708
|
|
|
2707
2709
|
var _useState = React.useState(sortDirection),
|
|
2708
2710
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -3116,7 +3118,7 @@
|
|
|
3116
3118
|
});
|
|
3117
3119
|
StyledPaper.displayName = "StyledPaper";
|
|
3118
3120
|
|
|
3119
|
-
var _excluded$
|
|
3121
|
+
var _excluded$I = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
3120
3122
|
|
|
3121
3123
|
/**
|
|
3122
3124
|
* This is a component description and should sit directly above your component
|
|
@@ -3130,7 +3132,7 @@
|
|
|
3130
3132
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
3131
3133
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
3132
3134
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
3133
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3135
|
+
rest = _objectWithoutProperties(_ref, _excluded$I);
|
|
3134
3136
|
|
|
3135
3137
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
3136
3138
|
className: classnames__default["default"](className, {
|
|
@@ -3184,7 +3186,7 @@
|
|
|
3184
3186
|
});
|
|
3185
3187
|
StyledCard.displayName = "StyledCard";
|
|
3186
3188
|
|
|
3187
|
-
var _excluded$
|
|
3189
|
+
var _excluded$H = ["children", "className", "hoverable", "paperType"];
|
|
3188
3190
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3189
3191
|
var children = _ref.children,
|
|
3190
3192
|
className = _ref.className,
|
|
@@ -3192,7 +3194,7 @@
|
|
|
3192
3194
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
3193
3195
|
_ref$paperType = _ref.paperType,
|
|
3194
3196
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
3195
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3197
|
+
rest = _objectWithoutProperties(_ref, _excluded$H);
|
|
3196
3198
|
|
|
3197
3199
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
3198
3200
|
type: paperType,
|
|
@@ -3274,21 +3276,36 @@
|
|
|
3274
3276
|
});
|
|
3275
3277
|
EntityCard.displayName = "EntityCard";
|
|
3276
3278
|
|
|
3277
|
-
var _excluded$
|
|
3279
|
+
var _excluded$G = ["weight", "children"];
|
|
3278
3280
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3279
3281
|
var _ref$weight = _ref.weight,
|
|
3280
3282
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
3281
3283
|
children = _ref.children,
|
|
3282
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3284
|
+
props = _objectWithoutProperties(_ref, _excluded$G);
|
|
3283
3285
|
|
|
3284
3286
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3285
3287
|
weight: weight,
|
|
3286
3288
|
variant: "Title 1",
|
|
3287
3289
|
ref: ref
|
|
3288
|
-
}, props),
|
|
3290
|
+
}, props), children);
|
|
3289
3291
|
});
|
|
3290
3292
|
Title1.displayName = "Title1";
|
|
3291
3293
|
|
|
3294
|
+
var _excluded$F = ["weight", "children"];
|
|
3295
|
+
var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3296
|
+
var _ref$weight = _ref.weight,
|
|
3297
|
+
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
3298
|
+
children = _ref.children,
|
|
3299
|
+
props = _objectWithoutProperties(_ref, _excluded$F);
|
|
3300
|
+
|
|
3301
|
+
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3302
|
+
weight: weight,
|
|
3303
|
+
variant: "Title 2",
|
|
3304
|
+
ref: ref
|
|
3305
|
+
}, props), children);
|
|
3306
|
+
});
|
|
3307
|
+
Title2.displayName = "Title2";
|
|
3308
|
+
|
|
3292
3309
|
var _excluded$E = ["children"];
|
|
3293
3310
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3294
3311
|
var children = _ref.children,
|
|
@@ -3298,7 +3315,7 @@
|
|
|
3298
3315
|
weight: "bold",
|
|
3299
3316
|
variant: "Header 2",
|
|
3300
3317
|
ref: ref
|
|
3301
|
-
}, props),
|
|
3318
|
+
}, props), children);
|
|
3302
3319
|
});
|
|
3303
3320
|
Header2.displayName = "Header2";
|
|
3304
3321
|
|
|
@@ -3311,7 +3328,7 @@
|
|
|
3311
3328
|
weight: "bold",
|
|
3312
3329
|
variant: "Header 3",
|
|
3313
3330
|
ref: ref
|
|
3314
|
-
}, props),
|
|
3331
|
+
}, props), children);
|
|
3315
3332
|
});
|
|
3316
3333
|
Header3.displayName = "Header3";
|
|
3317
3334
|
|
|
@@ -3326,7 +3343,7 @@
|
|
|
3326
3343
|
variant: "Body 1",
|
|
3327
3344
|
weight: weight,
|
|
3328
3345
|
ref: ref
|
|
3329
|
-
}, props),
|
|
3346
|
+
}, props), children);
|
|
3330
3347
|
});
|
|
3331
3348
|
Body1.displayName = "Body1";
|
|
3332
3349
|
|
|
@@ -3341,7 +3358,7 @@
|
|
|
3341
3358
|
variant: "Caption 1",
|
|
3342
3359
|
weight: weight,
|
|
3343
3360
|
ref: ref
|
|
3344
|
-
}, props),
|
|
3361
|
+
}, props), children);
|
|
3345
3362
|
});
|
|
3346
3363
|
Caption1.displayName = "Caption1";
|
|
3347
3364
|
|
|
@@ -3356,7 +3373,7 @@
|
|
|
3356
3373
|
variant: "Caption 2",
|
|
3357
3374
|
weight: weight,
|
|
3358
3375
|
ref: ref
|
|
3359
|
-
}, props),
|
|
3376
|
+
}, props), children);
|
|
3360
3377
|
});
|
|
3361
3378
|
Caption2.displayName = "Caption2";
|
|
3362
3379
|
|
|
@@ -10515,6 +10532,7 @@
|
|
|
10515
10532
|
exports.ThumbsDownIcon = ThumbsDownIcon$1;
|
|
10516
10533
|
exports.ThumbsUpIcon = ThumbsUpIcon$1;
|
|
10517
10534
|
exports.Title1 = Title1;
|
|
10535
|
+
exports.Title2 = Title2;
|
|
10518
10536
|
exports.Toggle = Toggle;
|
|
10519
10537
|
exports.Tooltip = Tooltip;
|
|
10520
10538
|
exports.TrashIcon = TrashIcon$1;
|