@activecollab/components 2.0.326 → 2.0.327

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.
Files changed (53) hide show
  1. package/dist/cjs/components/Icons/collection/CircleIcon.js +60 -0
  2. package/dist/cjs/components/Icons/collection/CircleIcon.js.map +1 -0
  3. package/dist/cjs/components/Icons/collection/ConnectionIcon.js +70 -0
  4. package/dist/cjs/components/Icons/collection/ConnectionIcon.js.map +1 -0
  5. package/dist/cjs/components/Icons/collection/DrawIcon.js +62 -0
  6. package/dist/cjs/components/Icons/collection/DrawIcon.js.map +1 -0
  7. package/dist/cjs/components/Icons/collection/RoundedRectangleIcon.js +64 -0
  8. package/dist/cjs/components/Icons/collection/RoundedRectangleIcon.js.map +1 -0
  9. package/dist/cjs/components/Icons/collection/StickyIcon.js +62 -0
  10. package/dist/cjs/components/Icons/collection/StickyIcon.js.map +1 -0
  11. package/dist/cjs/components/Icons/collection/TextIcon.js +62 -0
  12. package/dist/cjs/components/Icons/collection/TextIcon.js.map +1 -0
  13. package/dist/cjs/components/Icons/collection/TriangleIcon.js +64 -0
  14. package/dist/cjs/components/Icons/collection/TriangleIcon.js.map +1 -0
  15. package/dist/cjs/components/Icons/collection/index.js +49 -28
  16. package/dist/cjs/components/Icons/collection/index.js.map +1 -1
  17. package/dist/esm/components/Icons/collection/CircleIcon.d.ts +32 -0
  18. package/dist/esm/components/Icons/collection/CircleIcon.d.ts.map +1 -0
  19. package/dist/esm/components/Icons/collection/CircleIcon.js +53 -0
  20. package/dist/esm/components/Icons/collection/CircleIcon.js.map +1 -0
  21. package/dist/esm/components/Icons/collection/ConnectionIcon.d.ts +32 -0
  22. package/dist/esm/components/Icons/collection/ConnectionIcon.d.ts.map +1 -0
  23. package/dist/esm/components/Icons/collection/ConnectionIcon.js +63 -0
  24. package/dist/esm/components/Icons/collection/ConnectionIcon.js.map +1 -0
  25. package/dist/esm/components/Icons/collection/DrawIcon.d.ts +32 -0
  26. package/dist/esm/components/Icons/collection/DrawIcon.d.ts.map +1 -0
  27. package/dist/esm/components/Icons/collection/DrawIcon.js +55 -0
  28. package/dist/esm/components/Icons/collection/DrawIcon.js.map +1 -0
  29. package/dist/esm/components/Icons/collection/RoundedRectangleIcon.d.ts +32 -0
  30. package/dist/esm/components/Icons/collection/RoundedRectangleIcon.d.ts.map +1 -0
  31. package/dist/esm/components/Icons/collection/RoundedRectangleIcon.js +57 -0
  32. package/dist/esm/components/Icons/collection/RoundedRectangleIcon.js.map +1 -0
  33. package/dist/esm/components/Icons/collection/StickyIcon.d.ts +32 -0
  34. package/dist/esm/components/Icons/collection/StickyIcon.d.ts.map +1 -0
  35. package/dist/esm/components/Icons/collection/StickyIcon.js +55 -0
  36. package/dist/esm/components/Icons/collection/StickyIcon.js.map +1 -0
  37. package/dist/esm/components/Icons/collection/TextIcon.d.ts +32 -0
  38. package/dist/esm/components/Icons/collection/TextIcon.d.ts.map +1 -0
  39. package/dist/esm/components/Icons/collection/TextIcon.js +55 -0
  40. package/dist/esm/components/Icons/collection/TextIcon.js.map +1 -0
  41. package/dist/esm/components/Icons/collection/TriangleIcon.d.ts +32 -0
  42. package/dist/esm/components/Icons/collection/TriangleIcon.d.ts.map +1 -0
  43. package/dist/esm/components/Icons/collection/TriangleIcon.js +57 -0
  44. package/dist/esm/components/Icons/collection/TriangleIcon.js.map +1 -0
  45. package/dist/esm/components/Icons/collection/index.d.ts +7 -4
  46. package/dist/esm/components/Icons/collection/index.d.ts.map +1 -1
  47. package/dist/esm/components/Icons/collection/index.js +7 -4
  48. package/dist/esm/components/Icons/collection/index.js.map +1 -1
  49. package/dist/index.js +810 -611
  50. package/dist/index.js.map +1 -1
  51. package/dist/index.min.js +1 -1
  52. package/dist/index.min.js.map +1 -1
  53. package/package.json +1 -1
@@ -0,0 +1,60 @@
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(e) { return e && e.__esModule ? e : { default: e }; }
11
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
12
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
13
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
14
+ /**
15
+ * @component CircleIcon
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
+ * <CircleIcon gradient="linear-gradient(135deg, #4da2ed, #f72222)" />
28
+ * )
29
+ *
30
+ * @example
31
+ * return (
32
+ * <CircleIcon 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 CircleIcon = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
41
+ var gradient = _ref.gradient,
42
+ props = _objectWithoutProperties(_ref, _excluded);
43
+ return /*#__PURE__*/_react.default.createElement("svg", _extends({
44
+ xmlns: "http://www.w3.org/2000/svg",
45
+ width: 24,
46
+ height: 24,
47
+ viewBox: "0 0 24 24",
48
+ "data-testid": "CircleIcon",
49
+ fill: gradient ? "url(#icon-gradient)" : props !== null && props !== void 0 && props.fill ? props.fill : "var(--color-theme-600)",
50
+ focusable: false,
51
+ ref: ref
52
+ }, props), /*#__PURE__*/_react.default.createElement(_GradientDefs.GradientDefs, {
53
+ gradient: gradient
54
+ }), /*#__PURE__*/_react.default.createElement("path", {
55
+ d: "M12 4.222a7.778 7.778 0 1 0 0 15.556 7.778 7.778 0 0 0 0-15.556M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20"
56
+ }));
57
+ });
58
+ CircleIcon.displayName = "CircleIcon";
59
+ var _default = exports.default = CircleIcon;
60
+ //# sourceMappingURL=CircleIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CircleIcon.js","names":["_react","_interopRequireDefault","require","_GradientDefs","_excluded","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","_objectWithoutProperties","o","i","_objectWithoutPropertiesLoose","getOwnPropertySymbols","indexOf","propertyIsEnumerable","CircleIcon","React","forwardRef","_ref","ref","gradient","props","createElement","xmlns","width","height","viewBox","fill","focusable","GradientDefs","d","displayName","_default","exports"],"sources":["../../../../../src/components/Icons/collection/CircleIcon.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { GradientDefs } from \"../../GradientDefs\";\n\n/**\n * @component CircleIcon\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 * <CircleIcon gradient=\"linear-gradient(135deg, #4da2ed, #f72222)\" />\n * )\n *\n * @example\n * return (\n * <CircleIcon 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 CircleIcon = React.forwardRef(\n (\n {\n gradient,\n ...props\n }: React.SVGProps<SVGSVGElement> & {\n gradient?: string;\n },\n ref?: React.Ref<SVGSVGElement>\n ) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={24}\n height={24}\n viewBox=\"0 0 24 24\"\n data-testid=\"CircleIcon\"\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={ref}\n {...props}\n >\n <GradientDefs gradient={gradient} />\n <path d=\"M12 4.222a7.778 7.778 0 1 0 0 15.556 7.778 7.778 0 0 0 0-15.556M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20\" />\n </svg>\n )\n);\nCircleIcon.displayName = \"CircleIcon\";\nexport default CircleIcon;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,aAAA,GAAAD,OAAA;AAAkD,IAAAE,SAAA;AAAA,SAAAH,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,CAAA,aAAAP,CAAA,MAAAA,CAAA,GAAAQ,SAAA,CAAAC,MAAA,EAAAT,CAAA,UAAAU,CAAA,GAAAF,SAAA,CAAAR,CAAA,YAAAW,CAAA,IAAAD,CAAA,OAAAE,cAAA,CAAAC,IAAA,CAAAH,CAAA,EAAAC,CAAA,MAAAJ,CAAA,CAAAI,CAAA,IAAAD,CAAA,CAAAC,CAAA,aAAAJ,CAAA,KAAAJ,QAAA,CAAAW,KAAA,OAAAN,SAAA;AAAA,SAAAO,yBAAAf,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IAAI,EACFP,QAAQ,GACJ,qBAAqB,GACrBC,KAAK,aAALA,KAAK,eAALA,KAAK,CAAEM,IAAI,GACXN,KAAK,CAACM,IAAI,GACV,wBACL;IACDC,SAAS,EAAE,KAAM;IACjBT,GAAG,EAAEA;EAAI,GACLE,KAAK,gBAETjC,MAAA,CAAAO,OAAA,CAAA2B,aAAA,CAAC/B,aAAA,CAAAsC,YAAY;IAACT,QAAQ,EAAEA;EAAS,CAAE,CAAC,eACpChC,MAAA,CAAAO,OAAA,CAAA2B,aAAA;IAAMQ,CAAC,EAAC;EAAwG,CAAE,CAC/G,CAAC;AAAA,CAEV,CAAC;AACDf,UAAU,CAACgB,WAAW,GAAG,YAAY;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAtC,OAAA,GACvBoB,UAAU","ignoreList":[]}
@@ -0,0 +1,70 @@
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(e) { return e && e.__esModule ? e : { default: e }; }
11
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
12
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
13
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
14
+ /**
15
+ * @component ConnectionIcon
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
+ * <ConnectionIcon gradient="linear-gradient(135deg, #4da2ed, #f72222)" />
28
+ * )
29
+ *
30
+ * @example
31
+ * return (
32
+ * <ConnectionIcon 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 ConnectionIcon = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
41
+ var gradient = _ref.gradient,
42
+ props = _objectWithoutProperties(_ref, _excluded);
43
+ return /*#__PURE__*/_react.default.createElement("svg", _extends({
44
+ xmlns: "http://www.w3.org/2000/svg",
45
+ width: 24,
46
+ height: 24,
47
+ viewBox: "0 0 24 24",
48
+ "data-testid": "ConnectionIcon",
49
+ fill: gradient ? "url(#icon-gradient)" : props !== null && props !== void 0 && props.fill ? props.fill : "var(--color-theme-600)",
50
+ focusable: false,
51
+ ref: ref
52
+ }, props), /*#__PURE__*/_react.default.createElement(_GradientDefs.GradientDefs, {
53
+ gradient: gradient
54
+ }), /*#__PURE__*/_react.default.createElement("path", {
55
+ stroke: "#6D6D73",
56
+ strokeLinecap: "round",
57
+ strokeLinejoin: "round",
58
+ strokeWidth: 2,
59
+ d: "m15 14 5-5-5-5"
60
+ }), /*#__PURE__*/_react.default.createElement("path", {
61
+ stroke: "#6D6D73",
62
+ strokeLinecap: "round",
63
+ strokeLinejoin: "round",
64
+ strokeWidth: 2,
65
+ d: "M4 20v-7a4 4 0 0 1 4-4h12"
66
+ }));
67
+ });
68
+ ConnectionIcon.displayName = "ConnectionIcon";
69
+ var _default = exports.default = ConnectionIcon;
70
+ //# sourceMappingURL=ConnectionIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConnectionIcon.js","names":["_react","_interopRequireDefault","require","_GradientDefs","_excluded","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","_objectWithoutProperties","o","i","_objectWithoutPropertiesLoose","getOwnPropertySymbols","indexOf","propertyIsEnumerable","ConnectionIcon","React","forwardRef","_ref","ref","gradient","props","createElement","xmlns","width","height","viewBox","fill","focusable","GradientDefs","stroke","strokeLinecap","strokeLinejoin","strokeWidth","d","displayName","_default","exports"],"sources":["../../../../../src/components/Icons/collection/ConnectionIcon.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { GradientDefs } from \"../../GradientDefs\";\n\n/**\n * @component ConnectionIcon\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 * <ConnectionIcon gradient=\"linear-gradient(135deg, #4da2ed, #f72222)\" />\n * )\n *\n * @example\n * return (\n * <ConnectionIcon 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 ConnectionIcon = React.forwardRef(\n (\n {\n gradient,\n ...props\n }: React.SVGProps<SVGSVGElement> & {\n gradient?: string;\n },\n ref?: React.Ref<SVGSVGElement>\n ) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={24}\n height={24}\n viewBox=\"0 0 24 24\"\n data-testid=\"ConnectionIcon\"\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={ref}\n {...props}\n >\n <GradientDefs gradient={gradient} />\n <path\n stroke=\"#6D6D73\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n strokeWidth={2}\n d=\"m15 14 5-5-5-5\"\n />\n <path\n stroke=\"#6D6D73\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n strokeWidth={2}\n d=\"M4 20v-7a4 4 0 0 1 4-4h12\"\n />\n </svg>\n )\n);\nConnectionIcon.displayName = \"ConnectionIcon\";\nexport default ConnectionIcon;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,aAAA,GAAAD,OAAA;AAAkD,IAAAE,SAAA;AAAA,SAAAH,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,CAAA,aAAAP,CAAA,MAAAA,CAAA,GAAAQ,SAAA,CAAAC,MAAA,EAAAT,CAAA,UAAAU,CAAA,GAAAF,SAAA,CAAAR,CAAA,YAAAW,CAAA,IAAAD,CAAA,OAAAE,cAAA,CAAAC,IAAA,CAAAH,CAAA,EAAAC,CAAA,MAAAJ,CAAA,CAAAI,CAAA,IAAAD,CAAA,CAAAC,CAAA,aAAAJ,CAAA,KAAAJ,QAAA,CAAAW,KAAA,OAAAN,SAAA;AAAA,SAAAO,yBAAAf,CAAA,EAAAU,CAAA,gBAAAV,CAAA,iBAAAgB,CAAA,EAAAL,CAAA,EAAAM,CAAA,GAAAC,6BAAA,CAAAlB,CAAA,EAAAU,CAAA,OAAAN,MAAA,CAAAe,qBAAA,QAAAZ,CAAA,GAAAH,MAAA,CAAAe,qBAAA,CAAAnB,CAAA,QAAAW,CAAA,MAAAA,CAAA,GAAAJ,CAAA,CAAAE,MAAA,EAAAE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QAAQ,EAAEA;EAAS,CAAE,CAAC,eACpChC,MAAA,CAAAO,OAAA,CAAA2B,aAAA;IACEQ,MAAM,EAAC,SAAS;IAChBC,aAAa,EAAC,OAAO;IACrBC,cAAc,EAAC,OAAO;IACtBC,WAAW,EAAE,CAAE;IACfC,CAAC,EAAC;EAAgB,CACnB,CAAC,eACF9C,MAAA,CAAAO,OAAA,CAAA2B,aAAA;IACEQ,MAAM,EAAC,SAAS;IAChBC,aAAa,EAAC,OAAO;IACrBC,cAAc,EAAC,OAAO;IACtBC,WAAW,EAAE,CAAE;IACfC,CAAC,EAAC;EAA2B,CAC9B,CACE,CAAC;AAAA,CAEV,CAAC;AACDnB,cAAc,CAACoB,WAAW,GAAG,gBAAgB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAA1C,OAAA,GAC/BoB,cAAc","ignoreList":[]}
@@ -0,0 +1,62 @@
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(e) { return e && e.__esModule ? e : { default: e }; }
11
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
12
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
13
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
14
+ /**
15
+ * @component DrawIcon
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
+ * <DrawIcon gradient="linear-gradient(135deg, #4da2ed, #f72222)" />
28
+ * )
29
+ *
30
+ * @example
31
+ * return (
32
+ * <DrawIcon 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 DrawIcon = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
41
+ var gradient = _ref.gradient,
42
+ props = _objectWithoutProperties(_ref, _excluded);
43
+ return /*#__PURE__*/_react.default.createElement("svg", _extends({
44
+ xmlns: "http://www.w3.org/2000/svg",
45
+ width: 24,
46
+ height: 24,
47
+ viewBox: "0 0 24 24",
48
+ "data-testid": "DrawIcon",
49
+ fill: gradient ? "url(#icon-gradient)" : props !== null && props !== void 0 && props.fill ? props.fill : "var(--color-theme-600)",
50
+ focusable: false,
51
+ ref: ref
52
+ }, props), /*#__PURE__*/_react.default.createElement(_GradientDefs.GradientDefs, {
53
+ gradient: gradient
54
+ }), /*#__PURE__*/_react.default.createElement("path", {
55
+ fillRule: "evenodd",
56
+ d: "m14.06 9 .94.94L5.92 19H5v-.92zm3.6-6c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29m-3.6 3.19L3 17.25V21h3.75L17.81 9.94z",
57
+ clipRule: "evenodd"
58
+ }));
59
+ });
60
+ DrawIcon.displayName = "DrawIcon";
61
+ var _default = exports.default = DrawIcon;
62
+ //# sourceMappingURL=DrawIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DrawIcon.js","names":["_react","_interopRequireDefault","require","_GradientDefs","_excluded","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","_objectWithoutProperties","o","i","_objectWithoutPropertiesLoose","getOwnPropertySymbols","indexOf","propertyIsEnumerable","DrawIcon","React","forwardRef","_ref","ref","gradient","props","createElement","xmlns","width","height","viewBox","fill","focusable","GradientDefs","fillRule","d","clipRule","displayName","_default","exports"],"sources":["../../../../../src/components/Icons/collection/DrawIcon.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { GradientDefs } from \"../../GradientDefs\";\n\n/**\n * @component DrawIcon\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 * <DrawIcon gradient=\"linear-gradient(135deg, #4da2ed, #f72222)\" />\n * )\n *\n * @example\n * return (\n * <DrawIcon 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 DrawIcon = React.forwardRef(\n (\n {\n gradient,\n ...props\n }: React.SVGProps<SVGSVGElement> & {\n gradient?: string;\n },\n ref?: React.Ref<SVGSVGElement>\n ) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={24}\n height={24}\n viewBox=\"0 0 24 24\"\n data-testid=\"DrawIcon\"\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={ref}\n {...props}\n >\n <GradientDefs gradient={gradient} />\n <path\n fillRule=\"evenodd\"\n d=\"m14.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A2B,aAAA;IACEQ,QAAQ,EAAC,SAAS;IAClBC,CAAC,EAAC,wLAAwL;IAC1LC,QAAQ,EAAC;EAAS,CACnB,CACE,CAAC;AAAA,CAEV,CAAC;AACDjB,QAAQ,CAACkB,WAAW,GAAG,UAAU;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAxC,OAAA,GACnBoB,QAAQ","ignoreList":[]}
@@ -0,0 +1,64 @@
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(e) { return e && e.__esModule ? e : { default: e }; }
11
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
12
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
13
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
14
+ /**
15
+ * @component RoundedRectangleIcon
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
+ * <RoundedRectangleIcon gradient="linear-gradient(135deg, #4da2ed, #f72222)" />
28
+ * )
29
+ *
30
+ * @example
31
+ * return (
32
+ * <RoundedRectangleIcon 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 RoundedRectangleIcon = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
41
+ var gradient = _ref.gradient,
42
+ props = _objectWithoutProperties(_ref, _excluded);
43
+ return /*#__PURE__*/_react.default.createElement("svg", _extends({
44
+ xmlns: "http://www.w3.org/2000/svg",
45
+ width: 24,
46
+ height: 24,
47
+ viewBox: "0 0 24 24",
48
+ "data-testid": "RoundedRectangleIcon",
49
+ fill: gradient ? "url(#icon-gradient)" : props !== null && props !== void 0 && props.fill ? props.fill : "var(--color-theme-600)",
50
+ focusable: false,
51
+ ref: ref
52
+ }, props), /*#__PURE__*/_react.default.createElement(_GradientDefs.GradientDefs, {
53
+ gradient: gradient
54
+ }), /*#__PURE__*/_react.default.createElement("path", {
55
+ stroke: "#6D6D73",
56
+ strokeLinecap: "round",
57
+ strokeLinejoin: "round",
58
+ strokeWidth: 2,
59
+ d: "M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2"
60
+ }));
61
+ });
62
+ RoundedRectangleIcon.displayName = "RoundedRectangleIcon";
63
+ var _default = exports.default = RoundedRectangleIcon;
64
+ //# sourceMappingURL=RoundedRectangleIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RoundedRectangleIcon.js","names":["_react","_interopRequireDefault","require","_GradientDefs","_excluded","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","_objectWithoutProperties","o","i","_objectWithoutPropertiesLoose","getOwnPropertySymbols","indexOf","propertyIsEnumerable","RoundedRectangleIcon","React","forwardRef","_ref","ref","gradient","props","createElement","xmlns","width","height","viewBox","fill","focusable","GradientDefs","stroke","strokeLinecap","strokeLinejoin","strokeWidth","d","displayName","_default","exports"],"sources":["../../../../../src/components/Icons/collection/RoundedRectangleIcon.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { GradientDefs } from \"../../GradientDefs\";\n\n/**\n * @component RoundedRectangleIcon\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 * <RoundedRectangleIcon gradient=\"linear-gradient(135deg, #4da2ed, #f72222)\" />\n * )\n *\n * @example\n * return (\n * <RoundedRectangleIcon 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 RoundedRectangleIcon = React.forwardRef(\n (\n {\n gradient,\n ...props\n }: React.SVGProps<SVGSVGElement> & {\n gradient?: string;\n },\n ref?: React.Ref<SVGSVGElement>\n ) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={24}\n height={24}\n viewBox=\"0 0 24 24\"\n data-testid=\"RoundedRectangleIcon\"\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={ref}\n {...props}\n >\n <GradientDefs gradient={gradient} />\n <path\n stroke=\"#6D6D73\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n strokeWidth={2}\n d=\"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2\"\n />\n </svg>\n )\n);\nRoundedRectangleIcon.displayName = \"RoundedRectangleIcon\";\nexport default RoundedRectangleIcon;\n"],"mappings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AA,GAC3CoB,oBAAoB","ignoreList":[]}
@@ -0,0 +1,62 @@
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(e) { return e && e.__esModule ? e : { default: e }; }
11
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
12
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
13
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
14
+ /**
15
+ * @component StickyIcon
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
+ * <StickyIcon gradient="linear-gradient(135deg, #4da2ed, #f72222)" />
28
+ * )
29
+ *
30
+ * @example
31
+ * return (
32
+ * <StickyIcon 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 StickyIcon = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
41
+ var gradient = _ref.gradient,
42
+ props = _objectWithoutProperties(_ref, _excluded);
43
+ return /*#__PURE__*/_react.default.createElement("svg", _extends({
44
+ xmlns: "http://www.w3.org/2000/svg",
45
+ width: 24,
46
+ height: 24,
47
+ viewBox: "0 0 24 24",
48
+ "data-testid": "StickyIcon",
49
+ fill: gradient ? "url(#icon-gradient)" : props !== null && props !== void 0 && props.fill ? props.fill : "var(--color-theme-600)",
50
+ focusable: false,
51
+ ref: ref
52
+ }, props), /*#__PURE__*/_react.default.createElement(_GradientDefs.GradientDefs, {
53
+ gradient: gradient
54
+ }), /*#__PURE__*/_react.default.createElement("path", {
55
+ d: "M3 6.95a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4v6.087a4 4 0 0 1-1.161 2.819l-3.884 3.912a4 4 0 0 1-2.84 1.182H7a4 4 0 0 1-4-4z"
56
+ }), /*#__PURE__*/_react.default.createElement("path", {
57
+ d: "M17.031 13.95h2a2 2 0 0 0 1.992-1.818l.008-2.651v2.469q0 .092-.008.182l-.003.866a4 4 0 0 1-1.144 2.789L15.99 19.75a4 4 0 0 1-2.856 1.2H12.03a2 2 0 0 0 2-2v-2a3 3 0 0 1 3.001-3"
58
+ }));
59
+ });
60
+ StickyIcon.displayName = "StickyIcon";
61
+ var _default = exports.default = StickyIcon;
62
+ //# sourceMappingURL=StickyIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StickyIcon.js","names":["_react","_interopRequireDefault","require","_GradientDefs","_excluded","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","_objectWithoutProperties","o","i","_objectWithoutPropertiesLoose","getOwnPropertySymbols","indexOf","propertyIsEnumerable","StickyIcon","React","forwardRef","_ref","ref","gradient","props","createElement","xmlns","width","height","viewBox","fill","focusable","GradientDefs","d","displayName","_default","exports"],"sources":["../../../../../src/components/Icons/collection/StickyIcon.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { GradientDefs } from \"../../GradientDefs\";\n\n/**\n * @component StickyIcon\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 * <StickyIcon gradient=\"linear-gradient(135deg, #4da2ed, #f72222)\" />\n * )\n *\n * @example\n * return (\n * <StickyIcon 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 StickyIcon = React.forwardRef(\n (\n {\n gradient,\n ...props\n }: React.SVGProps<SVGSVGElement> & {\n gradient?: string;\n },\n ref?: React.Ref<SVGSVGElement>\n ) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={24}\n height={24}\n viewBox=\"0 0 24 24\"\n data-testid=\"StickyIcon\"\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={ref}\n {...props}\n >\n <GradientDefs gradient={gradient} />\n <path d=\"M3 6.95a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4v6.087a4 4 0 0 1-1.161 2.819l-3.884 3.912a4 4 0 0 1-2.84 1.182H7a4 4 0 0 1-4-4z\" />\n <path d=\"M17.031 13.95h2a2 2 0 0 0 1.992-1.818l.008-2.651v2.469q0 .092-.008.182l-.003.866a4 4 0 0 1-1.144 2.789L15.99 19.75a4 4 0 0 1-2.856 1.2H12.03a2 2 0 0 0 2-2v-2a3 3 0 0 1 3.001-3\" />\n </svg>\n )\n);\nStickyIcon.displayName = \"StickyIcon\";\nexport default StickyIcon;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAA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ineProperty(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(e) { return e && e.__esModule ? e : { default: e }; }
11
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
12
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
13
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
14
+ /**
15
+ * @component TextIcon
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
+ * <TextIcon gradient="linear-gradient(135deg, #4da2ed, #f72222)" />
28
+ * )
29
+ *
30
+ * @example
31
+ * return (
32
+ * <TextIcon 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 TextIcon = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
41
+ var gradient = _ref.gradient,
42
+ props = _objectWithoutProperties(_ref, _excluded);
43
+ return /*#__PURE__*/_react.default.createElement("svg", _extends({
44
+ xmlns: "http://www.w3.org/2000/svg",
45
+ width: 24,
46
+ height: 24,
47
+ viewBox: "0 0 24 24",
48
+ "data-testid": "TextIcon",
49
+ fill: gradient ? "url(#icon-gradient)" : props !== null && props !== void 0 && props.fill ? props.fill : "var(--color-theme-600)",
50
+ focusable: false,
51
+ ref: ref
52
+ }, props), /*#__PURE__*/_react.default.createElement(_GradientDefs.GradientDefs, {
53
+ gradient: gradient
54
+ }), /*#__PURE__*/_react.default.createElement("path", {
55
+ fillRule: "evenodd",
56
+ d: "m2.656 19.296 1.353-3.999h5.64l1.353 4h2.43L8.09 4.5H5.61L.267 19.296zm6.408-5.844h-4.47L6.798 6.96h.062zm8.89 6.029c1.416 0 2.78-.759 3.405-1.959h.051v1.774h2.123v-7.434c0-2.163-1.672-3.548-4.286-3.548-2.666 0-4.328 1.436-4.45 3.384h2.091c.195-.964.995-1.579 2.277-1.579 1.353 0 2.163.718 2.163 1.918v.83l-2.953.174c-2.563.144-4.01 1.303-4.01 3.19 0 1.938 1.477 3.25 3.59 3.25m.616-1.754c-1.19 0-1.969-.615-1.969-1.558 0-.923.749-1.507 2.071-1.6l2.656-.164v.851c0 1.405-1.21 2.471-2.758 2.471",
57
+ clipRule: "evenodd"
58
+ }));
59
+ });
60
+ TextIcon.displayName = "TextIcon";
61
+ var _default = exports.default = TextIcon;
62
+ //# sourceMappingURL=TextIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextIcon.js","names":["_react","_interopRequireDefault","require","_GradientDefs","_excluded","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","_objectWithoutProperties","o","i","_objectWithoutPropertiesLoose","getOwnPropertySymbols","indexOf","propertyIsEnumerable","TextIcon","React","forwardRef","_ref","ref","gradient","props","createElement","xmlns","width","height","viewBox","fill","focusable","GradientDefs","fillRule","d","clipRule","displayName","_default","exports"],"sources":["../../../../../src/components/Icons/collection/TextIcon.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { GradientDefs } from \"../../GradientDefs\";\n\n/**\n * @component TextIcon\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 * <TextIcon gradient=\"linear-gradient(135deg, #4da2ed, #f72222)\" />\n * )\n *\n * @example\n * return (\n * <TextIcon 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 TextIcon = React.forwardRef(\n (\n {\n gradient,\n ...props\n }: React.SVGProps<SVGSVGElement> & {\n gradient?: string;\n },\n ref?: React.Ref<SVGSVGElement>\n ) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={24}\n height={24}\n viewBox=\"0 0 24 24\"\n data-testid=\"TextIcon\"\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={ref}\n {...props}\n >\n <GradientDefs gradient={gradient} />\n <path\n fillRule=\"evenodd\"\n d=\"m2.656 19.296 1.353-3.999h5.64l1.353 4h2.43L8.09 4.5H5.61L.267 19.296zm6.408-5.844h-4.47L6.798 6.96h.062zm8.89 6.029c1.416 0 2.78-.759 3.405-1.959h.051v1.774h2.123v-7.434c0-2.163-1.672-3.548-4.286-3.548-2.666 0-4.328 1.436-4.45 3.384h2.091c.195-.964.995-1.579 2.277-1.579 1.353 0 2.163.718 2.163 1.918v.83l-2.953.174c-2.563.144-4.01 1.303-4.01 3.19 0 1.938 1.477 3.25 3.59 3.25m.616-1.754c-1.19 0-1.969-.615-1.969-1.558 0-.923.749-1.507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DjB,QAAQ,CAACkB,WAAW,GAAG,UAAU;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAxC,OAAA,GACnBoB,QAAQ","ignoreList":[]}
@@ -0,0 +1,64 @@
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(e) { return e && e.__esModule ? e : { default: e }; }
11
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
12
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
13
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
14
+ /**
15
+ * @component TriangleIcon
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
+ * <TriangleIcon gradient="linear-gradient(135deg, #4da2ed, #f72222)" />
28
+ * )
29
+ *
30
+ * @example
31
+ * return (
32
+ * <TriangleIcon 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 TriangleIcon = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
41
+ var gradient = _ref.gradient,
42
+ props = _objectWithoutProperties(_ref, _excluded);
43
+ return /*#__PURE__*/_react.default.createElement("svg", _extends({
44
+ xmlns: "http://www.w3.org/2000/svg",
45
+ width: 24,
46
+ height: 24,
47
+ viewBox: "0 0 24 24",
48
+ "data-testid": "TriangleIcon",
49
+ fill: gradient ? "url(#icon-gradient)" : props !== null && props !== void 0 && props.fill ? props.fill : "var(--color-theme-600)",
50
+ focusable: false,
51
+ ref: ref
52
+ }, props), /*#__PURE__*/_react.default.createElement(_GradientDefs.GradientDefs, {
53
+ gradient: gradient
54
+ }), /*#__PURE__*/_react.default.createElement("path", {
55
+ stroke: "#6D6D73",
56
+ strokeLinecap: "round",
57
+ strokeLinejoin: "round",
58
+ strokeWidth: 2,
59
+ d: "M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0"
60
+ }));
61
+ });
62
+ TriangleIcon.displayName = "TriangleIcon";
63
+ var _default = exports.default = TriangleIcon;
64
+ //# sourceMappingURL=TriangleIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TriangleIcon.js","names":["_react","_interopRequireDefault","require","_GradientDefs","_excluded","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","_objectWithoutProperties","o","i","_objectWithoutPropertiesLoose","getOwnPropertySymbols","indexOf","propertyIsEnumerable","TriangleIcon","React","forwardRef","_ref","ref","gradient","props","createElement","xmlns","width","height","viewBox","fill","focusable","GradientDefs","stroke","strokeLinecap","strokeLinejoin","strokeWidth","d","displayName","_default","exports"],"sources":["../../../../../src/components/Icons/collection/TriangleIcon.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { GradientDefs } from \"../../GradientDefs\";\n\n/**\n * @component TriangleIcon\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 * <TriangleIcon gradient=\"linear-gradient(135deg, #4da2ed, #f72222)\" />\n * )\n *\n * @example\n * return (\n * <TriangleIcon 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 TriangleIcon = React.forwardRef(\n (\n {\n gradient,\n ...props\n }: React.SVGProps<SVGSVGElement> & {\n gradient?: string;\n },\n ref?: React.Ref<SVGSVGElement>\n ) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={24}\n height={24}\n viewBox=\"0 0 24 24\"\n data-testid=\"TriangleIcon\"\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={ref}\n {...props}\n >\n <GradientDefs gradient={gradient} />\n <path\n stroke=\"#6D6D73\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n strokeWidth={2}\n d=\"M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0\"\n />\n </svg>\n )\n);\nTriangleIcon.displayName = \"TriangleIcon\";\nexport default TriangleIcon;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,aAAA,GAAAD,OAAA;AAAkD,IAAAE,SAAA;AAAA,SAAAH,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CA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