@activecollab/components 1.0.53 → 1.0.56
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/Icons/collection/PauseCircleOutline.js +4 -4
- package/dist/cjs/components/Icons/collection/PauseCircleOutline.js.map +1 -1
- package/dist/cjs/components/Icons/collection/PlayCircleOutline.js +4 -4
- package/dist/cjs/components/Icons/collection/PlayCircleOutline.js.map +1 -1
- package/dist/cjs/components/Typography/Typography.js +5 -9
- package/dist/cjs/components/Typography/Typography.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Body1.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Body2.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Caption1.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Caption2.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Header2.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Header3.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Title1.js.map +1 -1
- package/dist/cjs/utils/types.js +6 -0
- package/dist/cjs/utils/types.js.map +1 -0
- package/dist/esm/components/CounterButton/Styles.d.ts +1 -1
- package/dist/esm/components/Icons/collection/PauseCircleOutline.js +4 -4
- package/dist/esm/components/Icons/collection/PauseCircleOutline.js.map +1 -1
- package/dist/esm/components/Icons/collection/PlayCircleOutline.js +4 -4
- package/dist/esm/components/Icons/collection/PlayCircleOutline.js.map +1 -1
- package/dist/esm/components/Typography/Typography.d.ts +6 -5
- package/dist/esm/components/Typography/Typography.d.ts.map +1 -1
- package/dist/esm/components/Typography/Typography.js +6 -9
- package/dist/esm/components/Typography/Typography.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Body1.d.ts +2 -2
- package/dist/esm/components/Typography/Variants/Body1.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Body1.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Body2.d.ts +2 -2
- package/dist/esm/components/Typography/Variants/Body2.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Body2.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Caption1.d.ts +2 -2
- package/dist/esm/components/Typography/Variants/Caption1.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Caption1.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Caption2.d.ts +2 -2
- package/dist/esm/components/Typography/Variants/Caption2.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Caption2.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Header2.d.ts +2 -2
- package/dist/esm/components/Typography/Variants/Header2.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Header2.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Header3.d.ts +2 -2
- package/dist/esm/components/Typography/Variants/Header3.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Header3.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Title1.d.ts +2 -2
- package/dist/esm/components/Typography/Variants/Title1.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Title1.js.map +1 -1
- package/dist/esm/components/ValueButton/Styles.d.ts +2 -2
- package/dist/esm/components/ValueButton/Styles.d.ts.map +1 -1
- package/dist/esm/utils/types.d.ts +14 -0
- package/dist/esm/utils/types.d.ts.map +1 -0
- package/dist/esm/utils/types.js +2 -0
- package/dist/esm/utils/types.js.map +1 -0
- package/dist/index.js +13 -15
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { ITypographyProps } from "../Typography";
|
|
3
|
-
export declare const Header3:
|
|
3
|
+
export declare const Header3: React.ForwardRefExoticComponent<Omit<ITypographyProps, "variant" | "weight"> & React.RefAttributes<HTMLDivElement>>;
|
|
4
4
|
//# sourceMappingURL=Header3.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header3.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Variants/Header3.tsx"],"names":[],"mappings":"AAAA,
|
|
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,qHAUlB,CAAC"}
|
|
@@ -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,
|
|
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,GACG,GADH,EAEGD,QAFH,EAEa,GAFb,CADF;AAMD,CAVgC,CAA1B;AAYPF,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 {\" \"}\n {children}{\" \"}\n </Typography>\n );\n});\n\nHeader3.displayName = \"Header3\";\n"],"file":"Header3.js"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { ITypographyProps } from "../Typography";
|
|
3
3
|
interface ITitleProps {
|
|
4
4
|
weight?: "light" | "bold";
|
|
5
5
|
}
|
|
6
|
-
export declare const Title1:
|
|
6
|
+
export declare const Title1: React.ForwardRefExoticComponent<ITitleProps & Omit<ITypographyProps, "variant" | "weight"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=Title1.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Title1.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Variants/Title1.tsx"],"names":[],"mappings":"AAAA,
|
|
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,mIAUjB,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,
|
|
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,GACG,GADH,EAEGD,QAFH,EAEa,GAFb,CADF;AAMD,CAV+B,CAAzB;AAYPH,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 {\" \"}\n {children}{\" \"}\n </Typography>\n );\n});\n\nTitle1.displayName = \"Title1\";\n"],"file":"Title1.js"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IButtonProps } from "../Button/Button";
|
|
3
|
-
export declare const StyledValueButtonLabel: import("styled-components").StyledComponent<import("react").
|
|
4
|
-
export declare const StyledValueButtonValue: import("styled-components").StyledComponent<import("react").
|
|
3
|
+
export declare const StyledValueButtonLabel: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Typography").IBodyProps & Omit<import("../Typography/Typography").ITypographyProps, "variant" | "weight"> & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
4
|
+
export declare const StyledValueButtonValue: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Typography").IBodyProps & Omit<import("../Typography/Typography").ITypographyProps, "variant" | "weight"> & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
5
5
|
interface IStyledValueButton extends IButtonProps {
|
|
6
6
|
$active?: boolean;
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/ValueButton/Styles.ts"],"names":[],"mappings":";AAGA,OAAO,EAAU,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAExD,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/ValueButton/Styles.ts"],"names":[],"mappings":";AAGA,OAAO,EAAU,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAExD,eAAO,MAAM,sBAAsB,8QAGlC,CAAC;AAIF,eAAO,MAAM,sBAAsB,8QAAkB,CAAC;AAItD,UAAU,kBAAmB,SAAQ,YAAY;IAC/C,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,iBAAiB,yLA0B7B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare type PropsOf<C extends keyof JSX.IntrinsicElements | React.JSXElementConstructor<unknown>> = JSX.LibraryManagedAttributes<C, React.ComponentPropsWithoutRef<C>>;
|
|
3
|
+
declare type AsProp<C extends React.ElementType> = {
|
|
4
|
+
as?: C;
|
|
5
|
+
};
|
|
6
|
+
export declare type ExtendableProps<ExtendedProps = Record<string, unknown>, OverrideProps = Record<string, unknown>> = OverrideProps & Omit<ExtendedProps, keyof OverrideProps>;
|
|
7
|
+
export declare type InheritableElementProps<C extends React.ElementType, Props = Record<string, unknown>> = ExtendableProps<PropsOf<C>, Props>;
|
|
8
|
+
export declare type PolymorphicComponentProps<C extends React.ElementType, Props = Record<string, unknown>> = InheritableElementProps<C, Props & AsProp<C>>;
|
|
9
|
+
export declare type PolymorphicRef<C extends React.ElementType> = React.ComponentPropsWithRef<C>["ref"];
|
|
10
|
+
export declare type PolymorphicComponentPropsWithRef<C extends React.ElementType, Props = Record<string, unknown>> = PolymorphicComponentProps<C, Props> & {
|
|
11
|
+
ref?: PolymorphicRef<C>;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/utils/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,oBAAY,OAAO,CACjB,CAAC,SAAS,MAAM,GAAG,CAAC,iBAAiB,GAAG,KAAK,CAAC,qBAAqB,CAAC,OAAO,CAAC,IAC1E,GAAG,CAAC,wBAAwB,CAAC,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC;AAEvE,aAAK,MAAM,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,IAAI;IAKzC,EAAE,CAAC,EAAE,CAAC,CAAC;CACR,CAAC;AAOF,oBAAY,eAAe,CACzB,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACvC,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IACrC,aAAa,GAAG,IAAI,CAAC,aAAa,EAAE,MAAM,aAAa,CAAC,CAAC;AAO7D,oBAAY,uBAAuB,CACjC,CAAC,SAAS,KAAK,CAAC,WAAW,EAC3B,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAC7B,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;AAMvC,oBAAY,yBAAyB,CACnC,CAAC,SAAS,KAAK,CAAC,WAAW,EAC3B,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAC7B,uBAAuB,CAAC,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;AAKlD,oBAAY,cAAc,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,IACpD,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;AAKxC,oBAAY,gCAAgC,CAC1C,CAAC,SAAS,KAAK,CAAC,WAAW,EAC3B,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAC7B,yBAAyB,CAAC,CAAC,EAAE,KAAK,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[],"file":"types.js"}
|
package/dist/index.js
CHANGED
|
@@ -855,12 +855,11 @@
|
|
|
855
855
|
});
|
|
856
856
|
StyledTypography.displayName = "StyledTypography";
|
|
857
857
|
|
|
858
|
-
var _excluded$Q = ["variant", "
|
|
858
|
+
var _excluded$Q = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
859
859
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
860
860
|
var _ref$variant = _ref.variant,
|
|
861
861
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
862
|
-
|
|
863
|
-
Tag = _ref$Tag === void 0 ? "div" : _ref$Tag,
|
|
862
|
+
as = _ref.as,
|
|
864
863
|
_ref$color = _ref.color,
|
|
865
864
|
color = _ref$color === void 0 ? "primary" : _ref$color,
|
|
866
865
|
_ref$italic = _ref.italic,
|
|
@@ -889,10 +888,9 @@
|
|
|
889
888
|
children = _ref.children,
|
|
890
889
|
props = _objectWithoutProperties(_ref, _excluded$Q);
|
|
891
890
|
|
|
892
|
-
var
|
|
893
|
-
var handleRef = useForkRef(ref, innerRef);
|
|
891
|
+
var Component = as || "div";
|
|
894
892
|
return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
|
|
895
|
-
as:
|
|
893
|
+
as: Component,
|
|
896
894
|
className: classnames__default["default"]("typography", className),
|
|
897
895
|
$italic: italic,
|
|
898
896
|
$tabularNums: tabularNums,
|
|
@@ -907,7 +905,7 @@
|
|
|
907
905
|
$variant: variant,
|
|
908
906
|
$color: color,
|
|
909
907
|
$weight: weight,
|
|
910
|
-
ref:
|
|
908
|
+
ref: ref
|
|
911
909
|
}, props), children);
|
|
912
910
|
});
|
|
913
911
|
Typography.displayName = "Typography";
|
|
@@ -6934,14 +6932,14 @@
|
|
|
6934
6932
|
|
|
6935
6933
|
var PauseCircleOutlineIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
|
|
6936
6934
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
6937
|
-
width:
|
|
6938
|
-
height:
|
|
6939
|
-
viewBox: "0 0
|
|
6935
|
+
width: 24,
|
|
6936
|
+
height: 24,
|
|
6937
|
+
viewBox: "0 0 24 24",
|
|
6940
6938
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6941
6939
|
fill: "var(--color-theme-600)",
|
|
6942
6940
|
ref: svgRef
|
|
6943
6941
|
}, props), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
6944
|
-
d: "
|
|
6942
|
+
d: "M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 2a8 8 0 100 16 8 8 0 000-16zm-1 5v6H9V9h2zm4 0v6h-2V9h2z",
|
|
6945
6943
|
fillRule: "evenodd"
|
|
6946
6944
|
}));
|
|
6947
6945
|
});
|
|
@@ -7064,14 +7062,14 @@
|
|
|
7064
7062
|
|
|
7065
7063
|
var PlayCircleOutlineIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
|
|
7066
7064
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
7067
|
-
width:
|
|
7068
|
-
height:
|
|
7069
|
-
viewBox: "0 0
|
|
7065
|
+
width: 24,
|
|
7066
|
+
height: 24,
|
|
7067
|
+
viewBox: "0 0 24 24",
|
|
7070
7068
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7071
7069
|
fill: "var(--color-theme-600)",
|
|
7072
7070
|
ref: svgRef
|
|
7073
7071
|
}, props), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
7074
|
-
d: "
|
|
7072
|
+
d: "M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 2a8 8 0 100 16 8 8 0 000-16zM9.8 8l6.4 4-6.4 4V8z",
|
|
7075
7073
|
fillRule: "evenodd"
|
|
7076
7074
|
}));
|
|
7077
7075
|
});
|