@activecollab/components 2.0.237 → 2.0.238

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.
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _GradientDefs = require("../../GradientDefs");
9
+ var _excluded = ["gradient"];
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
12
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
13
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
14
+ /**
15
+ * @component ReminderIcon
16
+ * @description
17
+ *
18
+ * The React Icon component is a visual element that displays an icon to represent a concept, object, or action.
19
+ * The Icon component is
20
+ * customizable, allowing for variations in size, color, and style to fit the needs of the application.
21
+ *
22
+ * @prop {string} [gradient] - Optional CSS linear-gradient string to apply a custom fill.
23
+ * Format: "linear-gradient(<angle>deg, <color1>, <color2>, ...)"
24
+ *
25
+ * @example
26
+ * return (
27
+ * <ReminderIcon gradient="linear-gradient(135deg, #4da2ed, #f72222)" />
28
+ * )
29
+ *
30
+ * @example
31
+ * return (
32
+ * <ReminderIcon className="mr-2" />
33
+ * )
34
+ *
35
+ * @see
36
+ * https://system.activecollab.com/?path=/story/foundation-icons-icons--icons
37
+ * @see
38
+ * https://design.activecollab.com/docs/foundations/icons
39
+ */
40
+ var ReminderIcon = /*#__PURE__*/_react.default.forwardRef(function (_ref, svgRef) {
41
+ var gradient = _ref.gradient,
42
+ props = _objectWithoutProperties(_ref, _excluded);
43
+ return /*#__PURE__*/_react.default.createElement("svg", _extends({
44
+ width: 18,
45
+ height: 18,
46
+ xmlns: "http://www.w3.org/2000/svg",
47
+ "data-testid": "ReminderIcon",
48
+ fill: gradient ? "url(#icon-gradient)" : props !== null && props !== void 0 && props.fill ? props.fill : "var(--color-theme-600)",
49
+ focusable: false,
50
+ ref: svgRef
51
+ }, props), /*#__PURE__*/_react.default.createElement(_GradientDefs.GradientDefs, {
52
+ gradient: gradient
53
+ }), /*#__PURE__*/_react.default.createElement("path", {
54
+ d: "M13.95 13.95h-3v-1.125h1.875V10.95h1.125v3z"
55
+ }), /*#__PURE__*/_react.default.createElement("path", {
56
+ fillRule: "evenodd",
57
+ clipRule: "evenodd",
58
+ d: "M13.2 8.7a4.5 4.5 0 110 9 4.5 4.5 0 010-9zm0 1.125a3.376 3.376 0 100 6.75 3.376 3.376 0 000-6.75z"
59
+ }), /*#__PURE__*/_react.default.createElement("path", {
60
+ d: "M6 3h6V1.5h1.5V3H15a1.5 1.5 0 011.5 1.5v3H15V6H3v9h4.5v1.5H3A1.5 1.5 0 011.5 15V4.5A1.5 1.5 0 013 3h1.5V1.5H6V3z"
61
+ }), /*#__PURE__*/_react.default.createElement("path", {
62
+ d: "M6.75 9.75H4.5V7.5h2.25v2.25z"
63
+ }));
64
+ });
65
+ ReminderIcon.displayName = "ReminderIcon";
66
+ var _default = exports.default = ReminderIcon;
67
+ //# sourceMappingURL=ReminderIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReminderIcon.js","names":["_react","_interopRequireDefault","require","_GradientDefs","_excluded","obj","__esModule","default","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","indexOf","propertyIsEnumerable","sourceKeys","keys","ReminderIcon","React","forwardRef","_ref","svgRef","gradient","props","createElement","width","height","xmlns","fill","focusable","ref","GradientDefs","d","fillRule","clipRule","displayName","_default","exports"],"sources":["../../../../../src/components/Icons/collection/ReminderIcon.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { GradientDefs } from \"../../GradientDefs\";\n\n/**\n * @component ReminderIcon\n * @description\n *\n * The React Icon component is a visual element that displays an icon to represent a concept, object, or action.\n * The Icon component is\n * customizable, allowing for variations in size, color, and style to fit the needs of the application.\n *\n * @prop {string} [gradient] - Optional CSS linear-gradient string to apply a custom fill.\n * Format: \"linear-gradient(<angle>deg, <color1>, <color2>, ...)\"\n *\n * @example\n * return (\n * <ReminderIcon gradient=\"linear-gradient(135deg, #4da2ed, #f72222)\" />\n * )\n *\n * @example\n * return (\n * <ReminderIcon className=\"mr-2\" />\n * )\n *\n * @see\n * https://system.activecollab.com/?path=/story/foundation-icons-icons--icons\n * @see\n * https://design.activecollab.com/docs/foundations/icons\n */\nconst ReminderIcon = React.forwardRef(\n (\n {\n gradient,\n ...props\n }: React.SVGProps<SVGSVGElement> & {\n gradient?: string;\n },\n svgRef?: React.Ref<SVGSVGElement>\n ) => (\n <svg\n width={18}\n height={18}\n xmlns=\"http://www.w3.org/2000/svg\"\n data-testid=\"ReminderIcon\"\n fill={\n gradient\n ? \"url(#icon-gradient)\"\n : props?.fill\n ? props.fill\n : \"var(--color-theme-600)\"\n }\n focusable={false}\n ref={svgRef}\n {...props}\n >\n <GradientDefs gradient={gradient} />\n <path d=\"M13.95 13.95h-3v-1.125h1.875V10.95h1.125v3z\" />\n <path\n fillRule=\"evenodd\"\n clipRule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GACXL,KAAK,CAACK,IAAI,GACV,wBACL;IACDC,SAAS,EAAE,KAAM;IACjBC,GAAG,EAAET;EAAO,GACRE,KAAK,gBAETrC,MAAA,CAAAO,OAAA,CAAA+B,aAAA,CAACnC,aAAA,CAAA0C,YAAY;IAACT,QAAQ,EAAEA;EAAS,CAAE,CAAC,eACpCpC,MAAA,CAAAO,OAAA,CAAA+B,aAAA;IAAMQ,CAAC,EAAC;EAA6C,CAAE,CAAC,eACxD9C,MAAA,CAAAO,OAAA,CAAA+B,aAAA;IACES,QAAQ,EAAC,SAAS;IAClBC,QAAQ,EAAC,SAAS;IAClBF,CAAC,EAAC;EAAmG,CACtG,CAAC,eACF9C,MAAA,CAAAO,OAAA,CAAA+B,aAAA;IAAMQ,CAAC,EAAC;EAAkH,CAAE,CAAC,eAC7H9C,MAAA,CAAAO,OAAA,CAAA+B,aAAA;IAAMQ,CAAC,EAAC;EAA+B,CAAE,CACtC,CAAC;AAAA,CAEV,CAAC;AACDf,YAAY,CAACkB,WAAW,GAAG,cAAc;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAA5C,OAAA,GAC3BwB,YAAY"}
@@ -0,0 +1,32 @@
1
+ import React from "react";
2
+ /**
3
+ * @component ReminderIcon
4
+ * @description
5
+ *
6
+ * The React Icon component is a visual element that displays an icon to represent a concept, object, or action.
7
+ * The Icon component is
8
+ * customizable, allowing for variations in size, color, and style to fit the needs of the application.
9
+ *
10
+ * @prop {string} [gradient] - Optional CSS linear-gradient string to apply a custom fill.
11
+ * Format: "linear-gradient(<angle>deg, <color1>, <color2>, ...)"
12
+ *
13
+ * @example
14
+ * return (
15
+ * <ReminderIcon gradient="linear-gradient(135deg, #4da2ed, #f72222)" />
16
+ * )
17
+ *
18
+ * @example
19
+ * return (
20
+ * <ReminderIcon className="mr-2" />
21
+ * )
22
+ *
23
+ * @see
24
+ * https://system.activecollab.com/?path=/story/foundation-icons-icons--icons
25
+ * @see
26
+ * https://design.activecollab.com/docs/foundations/icons
27
+ */
28
+ declare const ReminderIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement> & {
29
+ gradient?: string | undefined;
30
+ }, "ref"> & React.RefAttributes<SVGSVGElement>>;
31
+ export default ReminderIcon;
32
+ //# sourceMappingURL=ReminderIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReminderIcon.d.ts","sourceRoot":"","sources":["../../../../../src/components/Icons/collection/ReminderIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,QAAA,MAAM,YAAY;;+CAqCjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,60 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import React from "react";
3
+ import { GradientDefs } from "../../GradientDefs";
4
+
5
+ /**
6
+ * @component ReminderIcon
7
+ * @description
8
+ *
9
+ * The React Icon component is a visual element that displays an icon to represent a concept, object, or action.
10
+ * The Icon component is
11
+ * customizable, allowing for variations in size, color, and style to fit the needs of the application.
12
+ *
13
+ * @prop {string} [gradient] - Optional CSS linear-gradient string to apply a custom fill.
14
+ * Format: "linear-gradient(<angle>deg, <color1>, <color2>, ...)"
15
+ *
16
+ * @example
17
+ * return (
18
+ * <ReminderIcon gradient="linear-gradient(135deg, #4da2ed, #f72222)" />
19
+ * )
20
+ *
21
+ * @example
22
+ * return (
23
+ * <ReminderIcon className="mr-2" />
24
+ * )
25
+ *
26
+ * @see
27
+ * https://system.activecollab.com/?path=/story/foundation-icons-icons--icons
28
+ * @see
29
+ * https://design.activecollab.com/docs/foundations/icons
30
+ */
31
+ const ReminderIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
32
+ let {
33
+ gradient,
34
+ ...props
35
+ } = _ref;
36
+ return /*#__PURE__*/React.createElement("svg", _extends({
37
+ width: 18,
38
+ height: 18,
39
+ xmlns: "http://www.w3.org/2000/svg",
40
+ "data-testid": "ReminderIcon",
41
+ fill: gradient ? "url(#icon-gradient)" : props != null && props.fill ? props.fill : "var(--color-theme-600)",
42
+ focusable: false,
43
+ ref: svgRef
44
+ }, props), /*#__PURE__*/React.createElement(GradientDefs, {
45
+ gradient: gradient
46
+ }), /*#__PURE__*/React.createElement("path", {
47
+ d: "M13.95 13.95h-3v-1.125h1.875V10.95h1.125v3z"
48
+ }), /*#__PURE__*/React.createElement("path", {
49
+ fillRule: "evenodd",
50
+ clipRule: "evenodd",
51
+ d: "M13.2 8.7a4.5 4.5 0 110 9 4.5 4.5 0 010-9zm0 1.125a3.376 3.376 0 100 6.75 3.376 3.376 0 000-6.75z"
52
+ }), /*#__PURE__*/React.createElement("path", {
53
+ d: "M6 3h6V1.5h1.5V3H15a1.5 1.5 0 011.5 1.5v3H15V6H3v9h4.5v1.5H3A1.5 1.5 0 011.5 15V4.5A1.5 1.5 0 013 3h1.5V1.5H6V3z"
54
+ }), /*#__PURE__*/React.createElement("path", {
55
+ d: "M6.75 9.75H4.5V7.5h2.25v2.25z"
56
+ }));
57
+ });
58
+ ReminderIcon.displayName = "ReminderIcon";
59
+ export default ReminderIcon;
60
+ //# sourceMappingURL=ReminderIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReminderIcon.js","names":["React","GradientDefs","ReminderIcon","forwardRef","_ref","svgRef","gradient","props","createElement","_extends","width","height","xmlns","fill","focusable","ref","d","fillRule","clipRule","displayName"],"sources":["../../../../../src/components/Icons/collection/ReminderIcon.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { GradientDefs } from \"../../GradientDefs\";\n\n/**\n * @component ReminderIcon\n * @description\n *\n * The React Icon component is a visual element that displays an icon to represent a concept, object, or action.\n * The Icon component is\n * customizable, allowing for variations in size, color, and style to fit the needs of the application.\n *\n * @prop {string} [gradient] - Optional CSS linear-gradient string to apply a custom fill.\n * Format: \"linear-gradient(<angle>deg, <color1>, <color2>, ...)\"\n *\n * @example\n * return (\n * <ReminderIcon gradient=\"linear-gradient(135deg, #4da2ed, #f72222)\" />\n * )\n *\n * @example\n * return (\n * <ReminderIcon className=\"mr-2\" />\n * )\n *\n * @see\n * https://system.activecollab.com/?path=/story/foundation-icons-icons--icons\n * @see\n * https://design.activecollab.com/docs/foundations/icons\n */\nconst ReminderIcon = React.forwardRef(\n (\n {\n gradient,\n ...props\n }: React.SVGProps<SVGSVGElement> & {\n gradient?: string;\n },\n svgRef?: React.Ref<SVGSVGElement>\n ) => (\n <svg\n width={18}\n height={18}\n xmlns=\"http://www.w3.org/2000/svg\"\n data-testid=\"ReminderIcon\"\n fill={\n gradient\n ? \"url(#icon-gradient)\"\n : props?.fill\n ? props.fill\n : \"var(--color-theme-600)\"\n }\n focusable={false}\n ref={svgRef}\n {...props}\n >\n <GradientDefs gradient={gradient} />\n <path d=\"M13.95 13.95h-3v-1.125h1.875V10.95h1.125v3z\" />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M13.2 8.7a4.5 4.5 0 110 9 4.5 4.5 0 010-9zm0 1.125a3.376 3.376 0 100 6.75 3.376 3.376 0 000-6.75z\"\n />\n <path d=\"M6 3h6V1.5h1.5V3H15a1.5 1.5 0 011.5 1.5v3H15V6H3v9h4.5v1.5H3A1.5 1.5 0 011.5 15V4.5A1.5 1.5 0 013 3h1.5V1.5H6V3z\" />\n <path d=\"M6.75 9.75H4.5V7.5h2.25v2.25z\" />\n </svg>\n )\n);\nReminderIcon.displayName = \"ReminderIcon\";\nexport default ReminderIcon;\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,YAAY,QAAQ,oBAAoB;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,YAAY,gBAAGF,KAAK,CAACG,UAAU,CACnC,CAAAC,IAAA,EAOEC,MAAiC;EAAA,IANjC;IACEC,QAAQ;IACR,GAAGC;EAGL,CAAC,GAAAH,IAAA;EAAA,oBAGDJ,KAAA,CAAAQ,aAAA,QAAAC,QAAA;IACEC,KAAK,EAAE,EAAG;IACVC,MAAM,EAAE,EAAG;IACXC,KAAK,EAAC,4BAA4B;IAClC,eAAY,cAAc;IAC1BC,IAAI,EACFP,QAAQ,GACJ,qBAAqB,GACrBC,KAAK,YAALA,KAAK,CAAEM,IAAI,GACXN,KAAK,CAACM,IAAI,GACV,wBACL;IACDC,SAAS,EAAE,KAAM;IACjBC,GAAG,EAAEV;EAAO,GACRE,KAAK,gBAETP,KAAA,CAAAQ,aAAA,CAACP,YAAY;IAACK,QAAQ,EAAEA;EAAS,CAAE,CAAC,eACpCN,KAAA,CAAAQ,aAAA;IAAMQ,CAAC,EAAC;EAA6C,CAAE,CAAC,eACxDhB,KAAA,CAAAQ,aAAA;IACES,QAAQ,EAAC,SAAS;IAClBC,QAAQ,EAAC,SAAS;IAClBF,CAAC,EAAC;EAAmG,CACtG,CAAC,eACFhB,KAAA,CAAAQ,aAAA;IAAMQ,CAAC,EAAC;EAAkH,CAAE,CAAC,eAC7HhB,KAAA,CAAAQ,aAAA;IAAMQ,CAAC,EAAC;EAA+B,CAAE,CACtC,CAAC;AAAA,CAEV,CAAC;AACDd,YAAY,CAACiB,WAAW,GAAG,cAAc;AACzC,eAAejB,YAAY"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@activecollab/components",
3
- "version": "2.0.237",
3
+ "version": "2.0.238",
4
4
  "description": "ActiveCollab Components",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",