@activecollab/components 1.0.124 → 1.0.127

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 (46) hide show
  1. package/dist/cjs/components/Chip/Chip.js +46 -0
  2. package/dist/cjs/components/Chip/Chip.js.map +1 -0
  3. package/dist/cjs/components/Chip/Styles.js +99 -0
  4. package/dist/cjs/components/Chip/Styles.js.map +1 -0
  5. package/dist/cjs/components/Chip/index.js +19 -0
  6. package/dist/cjs/components/Chip/index.js.map +1 -0
  7. package/dist/cjs/components/Input/Input.js +3 -2
  8. package/dist/cjs/components/Input/Input.js.map +1 -1
  9. package/dist/cjs/components/Loaders/Spinner/SpinnerLoader.js +22 -17
  10. package/dist/cjs/components/Loaders/Spinner/SpinnerLoader.js.map +1 -1
  11. package/dist/cjs/components/Loaders/Spinner/Styles.js +12 -3
  12. package/dist/cjs/components/Loaders/Spinner/Styles.js.map +1 -1
  13. package/dist/cjs/components/index.js +13 -0
  14. package/dist/cjs/components/index.js.map +1 -1
  15. package/dist/esm/components/Chip/Chip.d.ts +8 -0
  16. package/dist/esm/components/Chip/Chip.d.ts.map +1 -0
  17. package/dist/esm/components/Chip/Chip.js +27 -0
  18. package/dist/esm/components/Chip/Chip.js.map +1 -0
  19. package/dist/esm/components/Chip/Styles.d.ts +8 -0
  20. package/dist/esm/components/Chip/Styles.d.ts.map +1 -0
  21. package/dist/esm/components/Chip/Styles.js +74 -0
  22. package/dist/esm/components/Chip/Styles.js.map +1 -0
  23. package/dist/esm/components/Chip/index.d.ts +2 -0
  24. package/dist/esm/components/Chip/index.d.ts.map +1 -0
  25. package/dist/esm/components/Chip/index.js +2 -0
  26. package/dist/esm/components/Chip/index.js.map +1 -0
  27. package/dist/esm/components/Input/Input.d.ts.map +1 -1
  28. package/dist/esm/components/Input/Input.js +3 -2
  29. package/dist/esm/components/Input/Input.js.map +1 -1
  30. package/dist/esm/components/Loaders/Spinner/SpinnerLoader.d.ts +9 -1
  31. package/dist/esm/components/Loaders/Spinner/SpinnerLoader.d.ts.map +1 -1
  32. package/dist/esm/components/Loaders/Spinner/SpinnerLoader.js +22 -14
  33. package/dist/esm/components/Loaders/Spinner/SpinnerLoader.js.map +1 -1
  34. package/dist/esm/components/Loaders/Spinner/Styles.d.ts +9 -1
  35. package/dist/esm/components/Loaders/Spinner/Styles.d.ts.map +1 -1
  36. package/dist/esm/components/Loaders/Spinner/Styles.js +12 -4
  37. package/dist/esm/components/Loaders/Spinner/Styles.js.map +1 -1
  38. package/dist/esm/components/index.d.ts +1 -0
  39. package/dist/esm/components/index.d.ts.map +1 -1
  40. package/dist/esm/components/index.js +1 -0
  41. package/dist/esm/components/index.js.map +1 -1
  42. package/dist/index.js +258 -149
  43. package/dist/index.js.map +1 -1
  44. package/dist/index.min.js +1 -1
  45. package/dist/index.min.js.map +1 -1
  46. package/package.json +1 -1
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Chip = void 0;
7
+
8
+ var _react = _interopRequireDefault(require("react"));
9
+
10
+ var _Avatar = require("../Avatar");
11
+
12
+ var _Styles = require("./Styles");
13
+
14
+ var _excluded = ["url", "label", "onClose"];
15
+
16
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
+
18
+ function _extends() { _extends = Object.assign || 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); }
19
+
20
+ 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; }
21
+
22
+ 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; }
23
+
24
+ var Chip = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
25
+ var url = _ref.url,
26
+ label = _ref.label,
27
+ onClose = _ref.onClose,
28
+ rest = _objectWithoutProperties(_ref, _excluded);
29
+
30
+ var showClose = typeof onClose === "function";
31
+ return /*#__PURE__*/_react.default.createElement(_Styles.ChipContainer, _extends({}, rest, {
32
+ ref: ref,
33
+ $showClose: showClose
34
+ }), url ? /*#__PURE__*/_react.default.createElement(_Avatar.Avatar, {
35
+ size: 18,
36
+ url: url
37
+ }) : null, /*#__PURE__*/_react.default.createElement(_Styles.ChipLabel, null, label), showClose ? /*#__PURE__*/_react.default.createElement(_Styles.ChipTrigger, {
38
+ onClick: onClose
39
+ }, /*#__PURE__*/_react.default.createElement(_Styles.ChipCloseIcon, {
40
+ fill: "currentColor"
41
+ })) : null);
42
+ });
43
+
44
+ exports.Chip = Chip;
45
+ Chip.displayName = "Chip";
46
+ //# sourceMappingURL=Chip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/Chip/Chip.tsx"],"names":["Chip","React","forwardRef","ref","url","label","onClose","rest","showClose","displayName"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;AAQO,IAAMA,IAAI,gBAAGC,eAAMC,UAAN,CAGlB,gBAAmCC,GAAnC,EAA2C;AAAA,MAAxCC,GAAwC,QAAxCA,GAAwC;AAAA,MAAnCC,KAAmC,QAAnCA,KAAmC;AAAA,MAA5BC,OAA4B,QAA5BA,OAA4B;AAAA,MAAhBC,IAAgB;;AAC3C,MAAMC,SAAS,GAAG,OAAOF,OAAP,KAAmB,UAArC;AACA,sBACE,6BAAC,qBAAD,eAAmBC,IAAnB;AAAyB,IAAA,GAAG,EAAEJ,GAA9B;AAAmC,IAAA,UAAU,EAAEK;AAA/C,MACGJ,GAAG,gBAAG,6BAAC,cAAD;AAAQ,IAAA,IAAI,EAAE,EAAd;AAAkB,IAAA,GAAG,EAAEA;AAAvB,IAAH,GAAoC,IAD1C,eAEE,6BAAC,iBAAD,QAAYC,KAAZ,CAFF,EAGGG,SAAS,gBACR,6BAAC,mBAAD;AAAa,IAAA,OAAO,EAAEF;AAAtB,kBACE,6BAAC,qBAAD;AAAe,IAAA,IAAI,EAAC;AAApB,IADF,CADQ,GAIN,IAPN,CADF;AAWD,CAhBmB,CAAb;;;AAkBPN,IAAI,CAACS,WAAL,GAAmB,MAAnB","sourcesContent":["import React from \"react\";\nimport { Avatar } from \"../Avatar\";\nimport { ChipCloseIcon, ChipContainer, ChipLabel, ChipTrigger } from \"./Styles\";\n\nexport interface ChipProps {\n url?: string;\n label: string;\n onClose?: React.MouseEventHandler<HTMLButtonElement>;\n}\n\nexport const Chip = React.forwardRef<\n HTMLDivElement,\n ChipProps & Omit<React.ComponentPropsWithoutRef<\"div\">, keyof ChipProps>\n>(({ url, label, onClose, ...rest }, ref) => {\n const showClose = typeof onClose === \"function\";\n return (\n <ChipContainer {...rest} ref={ref} $showClose={showClose}>\n {url ? <Avatar size={18} url={url} /> : null}\n <ChipLabel>{label}</ChipLabel>\n {showClose ? (\n <ChipTrigger onClick={onClose}>\n <ChipCloseIcon fill=\"currentColor\" />\n </ChipTrigger>\n ) : null}\n </ChipContainer>\n );\n});\n\nChip.displayName = \"Chip\";\n"],"file":"Chip.js"}
@@ -0,0 +1,99 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.ChipTrigger = exports.ChipLabel = exports.ChipContainer = exports.ChipCloseIcon = void 0;
9
+
10
+ var _styledComponents = _interopRequireWildcard(require("styled-components"));
11
+
12
+ var _Icons = require("../Icons");
13
+
14
+ var _BoxSizingStyle = require("../BoxSizingStyle");
15
+
16
+ var _Trigger = require("../Trigger");
17
+
18
+ var _FontStyle = require("../FontStyle");
19
+
20
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
21
+
22
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
23
+
24
+ var ChipContainer = _styledComponents.default.div.withConfig({
25
+ displayName: "Styles__ChipContainer",
26
+ componentId: "sc-7s0bd1-0"
27
+ })(["min-width:80px;max-width:220px;", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", ""], {
28
+ "height": "1.5rem"
29
+ }, {
30
+ "borderRadius": "0.25rem"
31
+ }, {
32
+ "display": "inline-flex"
33
+ }, {
34
+ "alignItems": "center"
35
+ }, {
36
+ "justifyContent": "center"
37
+ }, {
38
+ "gap": "0.25rem"
39
+ }, {
40
+ "paddingLeft": "0.375rem"
41
+ }, {
42
+ "overflow": "hidden"
43
+ }, _FontStyle.FontStyle, _BoxSizingStyle.BoxSizingStyle, {
44
+ "fontSize": "0.875rem"
45
+ }, {
46
+ "color": "var(--color-theme-900)"
47
+ }, {
48
+ "lineHeight": "1.375"
49
+ }, {
50
+ "letterSpacing": "0.02em"
51
+ }, {
52
+ "fontWeight": "400"
53
+ }, {
54
+ "backgroundColor": "var(--color-theme-400)"
55
+ }, function (props) {
56
+ return props.$showClose ? null : (0, _styledComponents.css)(["", ""], {
57
+ "paddingRight": "0.375rem"
58
+ });
59
+ });
60
+
61
+ exports.ChipContainer = ChipContainer;
62
+ ChipContainer.displayName = "ChipContainer";
63
+
64
+ var ChipLabel = _styledComponents.default.span.withConfig({
65
+ displayName: "Styles__ChipLabel",
66
+ componentId: "sc-7s0bd1-1"
67
+ })(["", " ", ""], {
68
+ "width": "100%"
69
+ }, {
70
+ "overflow": "hidden",
71
+ "textOverflow": "ellipsis",
72
+ "whiteSpace": "nowrap"
73
+ });
74
+
75
+ exports.ChipLabel = ChipLabel;
76
+ ChipLabel.displayName = "ChipLabel";
77
+ var ChipTrigger = (0, _styledComponents.default)(_Trigger.Trigger).withConfig({
78
+ displayName: "Styles__ChipTrigger",
79
+ componentId: "sc-7s0bd1-2"
80
+ })(["", " ", " ", " &:hover{", "}"], {
81
+ "display": "flex"
82
+ }, {
83
+ "alignItems": "center"
84
+ }, {
85
+ "justifyContent": "center"
86
+ }, {
87
+ "backgroundColor": "var(--color-theme-transparent-400)"
88
+ });
89
+ exports.ChipTrigger = ChipTrigger;
90
+ ChipTrigger.displayName = "ChipTrigger";
91
+ var ChipCloseIcon = (0, _styledComponents.default)(_Icons.CloseSmallIcon).withConfig({
92
+ displayName: "Styles__ChipCloseIcon",
93
+ componentId: "sc-7s0bd1-3"
94
+ })(["", ""], {
95
+ "color": "var(--color-theme-700)"
96
+ });
97
+ exports.ChipCloseIcon = ChipCloseIcon;
98
+ ChipCloseIcon.displayName = "ChipCloseIcon";
99
+ //# sourceMappingURL=Styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/Chip/Styles.ts"],"names":["ChipContainer","styled","div","FontStyle","BoxSizingStyle","props","$showClose","css","displayName","ChipLabel","span","ChipTrigger","Trigger","ChipCloseIcon","CloseSmallIcon"],"mappings":";;;;;;;;;AAAA;;AAEA;;AACA;;AACA;;AACA;;;;;;AAEO,IAAMA,aAAa,GAAGC,0BAAOC,GAAV;AAAA;AAAA;AAAA,4HAGpB;AAAA;AAAA,CAHoB,EAIpB;AAAA;AAAA,CAJoB,EAKpB;AAAA;AAAA,CALoB,EAMpB;AAAA;AAAA,CANoB,EAOpB;AAAA;AAAA,CAPoB,EAQpB;AAAA;AAAA,CARoB,EASpB;AAAA;AAAA,CAToB,EAUpB;AAAA;AAAA,CAVoB,EAYtBC,oBAZsB,EAatBC,8BAbsB,EAgBpB;AAAA;AAAA,CAhBoB,EAiBpB;AAAA;AAAA,CAjBoB,EAkBpB;AAAA;AAAA,CAlBoB,EAmBpB;AAAA;AAAA,CAnBoB,EAoBpB;AAAA;AAAA,CApBoB,EAuBpB;AAAA;AAAA,CAvBoB,EAyBtB,UAACC,KAAD;AAAA,SACAA,KAAK,CAACC,UAAN,GACI,IADJ,OAEIC,qBAFJ,YAGU;AAAA;AAAA,GAHV,CADA;AAAA,CAzBsB,CAAnB;;;AAiCPP,aAAa,CAACQ,WAAd,GAA4B,eAA5B;;AAEO,IAAMC,SAAS,GAAGR,0BAAOS,IAAV;AAAA;AAAA;AAAA,kBAChB;AAAA;AAAA,CADgB,EAEhB;AAAA;AAAA;AAAA;AAAA,CAFgB,CAAf;;;AAKPD,SAAS,CAACD,WAAV,GAAwB,WAAxB;AAEO,IAAMG,WAAW,GAAG,+BAAOC,gBAAP,CAAH;AAAA;AAAA;AAAA,qCAClB;AAAA;AAAA,CADkB,EAElB;AAAA;AAAA,CAFkB,EAGlB;AAAA;AAAA,CAHkB,EAMhB;AAAA;AAAA,CANgB,CAAjB;;AAUPD,WAAW,CAACH,WAAZ,GAA0B,aAA1B;AAEO,IAAMK,aAAa,GAAG,+BAAOC,qBAAP,CAAH;AAAA;AAAA;AAAA,aACpB;AAAA;AAAA,CADoB,CAAnB;;AAIPD,aAAa,CAACL,WAAd,GAA4B,eAA5B","sourcesContent":["import styled, { css } from \"styled-components\";\nimport tw from \"twin.macro\";\nimport { CloseSmallIcon } from \"../Icons\";\nimport { BoxSizingStyle } from \"../BoxSizingStyle\";\nimport { Trigger } from \"../Trigger\";\nimport { FontStyle } from \"../FontStyle\";\n\nexport const ChipContainer = styled.div<{ $showClose?: boolean }>`\n min-width: 80px;\n max-width: 220px;\n ${tw`tw-h-6`}\n ${tw`tw-rounded`}\n ${tw`tw-inline-flex`}\n ${tw`tw-items-center`}\n ${tw`tw-justify-center`}\n ${tw`tw-gap-1`}\n ${tw`tw-pl-1.5`}\n ${tw`tw-overflow-hidden`}\n\n ${FontStyle}\n ${BoxSizingStyle}\n\n // font\n ${tw`tw-text-body-2`}\n ${tw`tw-text-theme-900`}\n ${tw`tw-leading-regular`}\n ${tw`tw-tracking-regular`}\n ${tw`tw-font-regular`}\n\n // background\n ${tw`tw-bg-theme-400`}\n\n ${(props) =>\n props.$showClose\n ? null\n : css`\n ${tw`tw-pr-1.5`}\n `}\n`;\n\nChipContainer.displayName = \"ChipContainer\";\n\nexport const ChipLabel = styled.span`\n ${tw`tw-w-full`}\n ${tw`tw-truncate`}\n`;\n\nChipLabel.displayName = \"ChipLabel\";\n\nexport const ChipTrigger = styled(Trigger)`\n ${tw`tw-flex`}\n ${tw`tw-items-center`}\n ${tw`tw-justify-center`}\n\n &:hover {\n ${tw`tw-bg-theme-transparent-400`}\n }\n`;\n\nChipTrigger.displayName = \"ChipTrigger\";\n\nexport const ChipCloseIcon = styled(CloseSmallIcon)`\n ${tw`tw-text-theme-700`}\n`;\n\nChipCloseIcon.displayName = \"ChipCloseIcon\";\n"],"file":"Styles.js"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+
7
+ var _Chip = require("./Chip");
8
+
9
+ Object.keys(_Chip).forEach(function (key) {
10
+ if (key === "default" || key === "__esModule") return;
11
+ if (key in exports && exports[key] === _Chip[key]) return;
12
+ Object.defineProperty(exports, key, {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _Chip[key];
16
+ }
17
+ });
18
+ });
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/Chip/index.ts"],"names":[],"mappings":";;;;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from \"./Chip\";\n"],"file":"index.js"}
@@ -57,15 +57,16 @@ var Input = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
57
57
  $size: size,
58
58
  $invalid: invalid,
59
59
  $disabled: disabled,
60
- className: (0, _classnames.default)("c-input", className),
61
60
  style: style,
61
+ className: (0, _classnames.default)("c-input-wrapper", className),
62
62
  onClick: handleWrapperClick,
63
63
  ref: ref
64
64
  }, startAdornment, /*#__PURE__*/_react.default.createElement(_Styles.StyledInput, _extends({
65
65
  ref: handleRef,
66
66
  type: type,
67
67
  $size: size,
68
- disabled: disabled
68
+ disabled: disabled,
69
+ className: "c-input"
69
70
  }, rest)), endAdornment);
70
71
  });
71
72
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/Input/Input.tsx"],"names":["Input","React","forwardRef","ref","className","style","type","disabled","size","invalid","startAdornment","endAdornment","inputRef","rest","intInputRef","handleRef","handleWrapperClick","current","focus","displayName"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;AAWO,IAAMA,KAAK,gBAAGC,eAAMC,UAAN,CAInB,gBAaEC,GAbF,EAcK;AAAA,4BAZDC,SAYC;AAAA,MAZDA,SAYC,+BAZW,EAYX;AAAA,MAXDC,KAWC,QAXDA,KAWC;AAAA,uBAVDC,IAUC;AAAA,MAVDA,IAUC,0BAVM,MAUN;AAAA,2BATDC,QASC;AAAA,MATDA,QASC,8BATU,KASV;AAAA,uBARDC,IAQC;AAAA,MARDA,IAQC,0BARM,SAQN;AAAA,0BAPDC,OAOC;AAAA,MAPDA,OAOC,6BAPS,KAOT;AAAA,MANDC,cAMC,QANDA,cAMC;AAAA,MALDC,YAKC,QALDA,YAKC;AAAA,MAJDC,QAIC,QAJDA,QAIC;AAAA,MAHEC,IAGF;;AACH,MAAMC,WAAW,GAAG,mBAAyB,IAAzB,CAApB;AACA,MAAMC,SAAS,GAAG,yBAAWH,QAAX,EAAqBE,WAArB,CAAlB;AAEA,MAAME,kBAAkB,GAAG,wBAAY,YAAM;AAAA;;AAC3C,4BAAAF,WAAW,CAACG,OAAZ,8EAAqBC,KAArB;AACD,GAF0B,EAExB,EAFwB,CAA3B;AAIA,sBACE,6BAAC,0BAAD;AACE,IAAA,KAAK,EAAEV,IADT;AAEE,IAAA,QAAQ,EAAEC,OAFZ;AAGE,IAAA,SAAS,EAAEF,QAHb;AAIE,IAAA,SAAS,EAAE,yBAAW,SAAX,EAAsBH,SAAtB,CAJb;AAKE,IAAA,KAAK,EAAEC,KALT;AAME,IAAA,OAAO,EAAEW,kBANX;AAOE,IAAA,GAAG,EAAEb;AAPP,KASGO,cATH,eAUE,6BAAC,mBAAD;AACE,IAAA,GAAG,EAAEK,SADP;AAEE,IAAA,IAAI,EAAET,IAFR;AAGE,IAAA,KAAK,EAAEE,IAHT;AAIE,IAAA,QAAQ,EAAED;AAJZ,KAKMM,IALN,EAVF,EAiBGF,YAjBH,CADF;AAqBD,CA/CkB,CAAd;;;AAkDPX,KAAK,CAACmB,WAAN,GAAoB,OAApB","sourcesContent":["import React, { ReactNode, Ref, useCallback, useRef } from \"react\";\nimport classnames from \"classnames\";\nimport { StyledInput, StyledInputWrapper } from \"./Styles\";\nimport useForkRef from \"../../utils/useForkRef\";\nimport { InputSize } from \"./types\";\nexport interface InputProps {\n /** Velicina inputa koja definse font-size i border radius */\n size?: InputSize;\n invalid?: boolean;\n startAdornment?: ReactNode;\n endAdornment?: ReactNode;\n inputRef?: Ref<HTMLInputElement>;\n}\n\nexport const Input = React.forwardRef<\n HTMLDivElement,\n InputProps & Omit<React.ComponentPropsWithoutRef<\"input\">, keyof InputProps>\n>(\n (\n {\n className = \"\",\n style,\n type = \"text\",\n disabled = false,\n size = \"regular\",\n invalid = false,\n startAdornment,\n endAdornment,\n inputRef,\n ...rest\n },\n ref\n ) => {\n const intInputRef = useRef<HTMLInputElement>(null);\n const handleRef = useForkRef(inputRef, intInputRef);\n\n const handleWrapperClick = useCallback(() => {\n intInputRef.current?.focus();\n }, []);\n\n return (\n <StyledInputWrapper\n $size={size}\n $invalid={invalid}\n $disabled={disabled}\n className={classnames(\"c-input\", className)}\n style={style}\n onClick={handleWrapperClick}\n ref={ref}\n >\n {startAdornment}\n <StyledInput\n ref={handleRef}\n type={type}\n $size={size}\n disabled={disabled}\n {...rest}\n />\n {endAdornment}\n </StyledInputWrapper>\n );\n }\n);\n\nInput.displayName = \"Input\";\n"],"file":"Input.js"}
1
+ {"version":3,"sources":["../../../../src/components/Input/Input.tsx"],"names":["Input","React","forwardRef","ref","className","style","type","disabled","size","invalid","startAdornment","endAdornment","inputRef","rest","intInputRef","handleRef","handleWrapperClick","current","focus","displayName"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;AAWO,IAAMA,KAAK,gBAAGC,eAAMC,UAAN,CAInB,gBAaEC,GAbF,EAcK;AAAA,4BAZDC,SAYC;AAAA,MAZDA,SAYC,+BAZW,EAYX;AAAA,MAXDC,KAWC,QAXDA,KAWC;AAAA,uBAVDC,IAUC;AAAA,MAVDA,IAUC,0BAVM,MAUN;AAAA,2BATDC,QASC;AAAA,MATDA,QASC,8BATU,KASV;AAAA,uBARDC,IAQC;AAAA,MARDA,IAQC,0BARM,SAQN;AAAA,0BAPDC,OAOC;AAAA,MAPDA,OAOC,6BAPS,KAOT;AAAA,MANDC,cAMC,QANDA,cAMC;AAAA,MALDC,YAKC,QALDA,YAKC;AAAA,MAJDC,QAIC,QAJDA,QAIC;AAAA,MAHEC,IAGF;;AACH,MAAMC,WAAW,GAAG,mBAAyB,IAAzB,CAApB;AACA,MAAMC,SAAS,GAAG,yBAAWH,QAAX,EAAqBE,WAArB,CAAlB;AAEA,MAAME,kBAAkB,GAAG,wBAAY,YAAM;AAAA;;AAC3C,4BAAAF,WAAW,CAACG,OAAZ,8EAAqBC,KAArB;AACD,GAF0B,EAExB,EAFwB,CAA3B;AAIA,sBACE,6BAAC,0BAAD;AACE,IAAA,KAAK,EAAEV,IADT;AAEE,IAAA,QAAQ,EAAEC,OAFZ;AAGE,IAAA,SAAS,EAAEF,QAHb;AAIE,IAAA,KAAK,EAAEF,KAJT;AAKE,IAAA,SAAS,EAAE,yBAAW,iBAAX,EAA8BD,SAA9B,CALb;AAME,IAAA,OAAO,EAAEY,kBANX;AAOE,IAAA,GAAG,EAAEb;AAPP,KASGO,cATH,eAUE,6BAAC,mBAAD;AACE,IAAA,GAAG,EAAEK,SADP;AAEE,IAAA,IAAI,EAAET,IAFR;AAGE,IAAA,KAAK,EAAEE,IAHT;AAIE,IAAA,QAAQ,EAAED,QAJZ;AAKE,IAAA,SAAS,EAAC;AALZ,KAMMM,IANN,EAVF,EAkBGF,YAlBH,CADF;AAsBD,CAhDkB,CAAd;;;AAmDPX,KAAK,CAACmB,WAAN,GAAoB,OAApB","sourcesContent":["import React, { ReactNode, Ref, useCallback, useRef } from \"react\";\nimport classnames from \"classnames\";\nimport { StyledInput, StyledInputWrapper } from \"./Styles\";\nimport useForkRef from \"../../utils/useForkRef\";\nimport { InputSize } from \"./types\";\nexport interface InputProps {\n /** Velicina inputa koja definse font-size i border radius */\n size?: InputSize;\n invalid?: boolean;\n startAdornment?: ReactNode;\n endAdornment?: ReactNode;\n inputRef?: Ref<HTMLInputElement>;\n}\n\nexport const Input = React.forwardRef<\n HTMLDivElement,\n InputProps & Omit<React.ComponentPropsWithoutRef<\"input\">, keyof InputProps>\n>(\n (\n {\n className = \"\",\n style,\n type = \"text\",\n disabled = false,\n size = \"regular\",\n invalid = false,\n startAdornment,\n endAdornment,\n inputRef,\n ...rest\n },\n ref\n ) => {\n const intInputRef = useRef<HTMLInputElement>(null);\n const handleRef = useForkRef(inputRef, intInputRef);\n\n const handleWrapperClick = useCallback(() => {\n intInputRef.current?.focus();\n }, []);\n\n return (\n <StyledInputWrapper\n $size={size}\n $invalid={invalid}\n $disabled={disabled}\n style={style}\n className={classnames(\"c-input-wrapper\", className)}\n onClick={handleWrapperClick}\n ref={ref}\n >\n {startAdornment}\n <StyledInput\n ref={handleRef}\n type={type}\n $size={size}\n disabled={disabled}\n className=\"c-input\"\n {...rest}\n />\n {endAdornment}\n </StyledInputWrapper>\n );\n }\n);\n\nInput.displayName = \"Input\";\n"],"file":"Input.js"}
@@ -9,13 +9,9 @@ exports.SpinnerLoader = void 0;
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
12
- var _classnames = _interopRequireDefault(require("classnames"));
13
-
14
12
  var _Styles = require("./Styles");
15
13
 
16
- var _excluded = ["className"];
17
-
18
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
+ var _excluded = ["radius", "strokeWidth", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
19
15
 
20
16
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
21
17
 
@@ -28,22 +24,31 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
28
24
  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; }
29
25
 
30
26
  var SpinnerLoader = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
31
- var className = _ref.className,
27
+ var _ref$radius = _ref.radius,
28
+ radius = _ref$radius === void 0 ? 20 : _ref$radius,
29
+ _ref$strokeWidth = _ref.strokeWidth,
30
+ strokeWidth = _ref$strokeWidth === void 0 ? 2 : _ref$strokeWidth,
31
+ _ref$activeStrokeColo = _ref.activeStrokeColor,
32
+ activeStrokeColor = _ref$activeStrokeColo === void 0 ? "var(--color-primary)" : _ref$activeStrokeColo,
33
+ _ref$inactiveStrokeCo = _ref.inactiveStrokeColor,
34
+ inactiveStrokeColor = _ref$inactiveStrokeCo === void 0 ? "var(--color-theme-300)" : _ref$inactiveStrokeCo,
35
+ _ref$activeColorPerce = _ref.activeColorPercentage,
36
+ activeColorPercentage = _ref$activeColorPerce === void 0 ? "25%" : _ref$activeColorPerce,
37
+ _ref$rotateDurationIn = _ref.rotateDurationInSeconds,
38
+ rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
39
+ className = _ref.className,
32
40
  rest = _objectWithoutProperties(_ref, _excluded);
33
41
 
34
42
  return /*#__PURE__*/_react.default.createElement(_Styles.StyledSpinnerLoader, _extends({
35
43
  ref: ref,
36
- className: (0, _classnames.default)("c-loader c-loader--spinner", className)
37
- }, rest), /*#__PURE__*/_react.default.createElement("svg", {
38
- viewBox: "25 25 50 50"
39
- }, /*#__PURE__*/_react.default.createElement("circle", {
40
- cx: "50",
41
- cy: "50",
42
- r: "20",
43
- fill: "none",
44
- strokeWidth: "4",
45
- strokeMiterlimit: "10"
46
- })));
44
+ className: className,
45
+ $radius: radius,
46
+ $strokeWidth: strokeWidth,
47
+ $activeStrokeColor: activeStrokeColor,
48
+ $inactiveStrokeColor: inactiveStrokeColor,
49
+ $activeColorPercentage: activeColorPercentage,
50
+ $rotateDurationInSeconds: rotateDurationInSeconds
51
+ }, rest));
47
52
  });
48
53
  exports.SpinnerLoader = SpinnerLoader;
49
54
  SpinnerLoader.displayName = "SpinnerLoader";
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/components/Loaders/Spinner/SpinnerLoader.tsx"],"names":["SpinnerLoader","ref","className","rest","displayName"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;;;AAEO,IAAMA,aAAa,gBAAG,uBAG3B,gBAAyBC,GAAzB,EAAiC;AAAA,MAA9BC,SAA8B,QAA9BA,SAA8B;AAAA,MAAhBC,IAAgB;;AACjC,sBACE,6BAAC,2BAAD;AACE,IAAA,GAAG,EAAEF,GADP;AAEE,IAAA,SAAS,EAAE,yBAAW,4BAAX,EAAyCC,SAAzC;AAFb,KAGMC,IAHN,gBAKE;AAAK,IAAA,OAAO,EAAC;AAAb,kBACE;AACE,IAAA,EAAE,EAAC,IADL;AAEE,IAAA,EAAE,EAAC,IAFL;AAGE,IAAA,CAAC,EAAC,IAHJ;AAIE,IAAA,IAAI,EAAC,MAJP;AAKE,IAAA,WAAW,EAAC,GALd;AAME,IAAA,gBAAgB,EAAC;AANnB,IADF,CALF,CADF;AAkBD,CAtB4B,CAAtB;;AAwBPH,aAAa,CAACI,WAAd,GAA4B,eAA5B","sourcesContent":["import React, { forwardRef } from \"react\";\nimport classNames from \"classnames\";\nimport { StyledSpinnerLoader } from \"./Styles\";\n\nexport const SpinnerLoader = forwardRef<\n HTMLDivElement,\n React.ComponentPropsWithoutRef<\"div\">\n>(({ className, ...rest }, ref) => {\n return (\n <StyledSpinnerLoader\n ref={ref}\n className={classNames(\"c-loader c-loader--spinner\", className)}\n {...rest}\n >\n <svg viewBox=\"25 25 50 50\">\n <circle\n cx=\"50\"\n cy=\"50\"\n r=\"20\"\n fill=\"none\"\n strokeWidth=\"4\"\n strokeMiterlimit=\"10\"\n />\n </svg>\n </StyledSpinnerLoader>\n );\n});\n\nSpinnerLoader.displayName = \"SpinnerLoader\";\n"],"file":"SpinnerLoader.js"}
1
+ {"version":3,"sources":["../../../../../src/components/Loaders/Spinner/SpinnerLoader.tsx"],"names":["SpinnerLoader","ref","radius","strokeWidth","activeStrokeColor","inactiveStrokeColor","activeColorPercentage","rotateDurationInSeconds","className","rest","displayName"],"mappings":";;;;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAiBO,IAAMA,aAAa,gBAAG,uBAI3B,gBAWEC,GAXF,EAYK;AAAA,yBAVDC,MAUC;AAAA,MAVDA,MAUC,4BAVQ,EAUR;AAAA,8BATDC,WASC;AAAA,MATDA,WASC,iCATa,CASb;AAAA,mCARDC,iBAQC;AAAA,MARDA,iBAQC,sCARmB,sBAQnB;AAAA,mCAPDC,mBAOC;AAAA,MAPDA,mBAOC,sCAPqB,wBAOrB;AAAA,mCANDC,qBAMC;AAAA,MANDA,qBAMC,sCANuB,KAMvB;AAAA,mCALDC,uBAKC;AAAA,MALDA,uBAKC,sCALyB,IAKzB;AAAA,MAJDC,SAIC,QAJDA,SAIC;AAAA,MAHEC,IAGF;;AACH,sBACE,6BAAC,2BAAD;AACE,IAAA,GAAG,EAAER,GADP;AAEE,IAAA,SAAS,EAAEO,SAFb;AAGE,IAAA,OAAO,EAAEN,MAHX;AAIE,IAAA,YAAY,EAAEC,WAJhB;AAKE,IAAA,kBAAkB,EAAEC,iBALtB;AAME,IAAA,oBAAoB,EAAEC,mBANxB;AAOE,IAAA,sBAAsB,EAAEC,qBAP1B;AAQE,IAAA,wBAAwB,EAAEC;AAR5B,KASME,IATN,EADF;AAaD,CA9B0B,CAAtB;;AAiCPT,aAAa,CAACU,WAAd,GAA4B,eAA5B","sourcesContent":["import React, { forwardRef } from \"react\";\nimport { StyledSpinnerLoader } from \"./Styles\";\n\nexport interface SpinnerLoaderProps {\n /** Loader circumference size */\n radius?: number;\n /** Stroke width of the loader */\n strokeWidth?: number;\n /** Active color of spinning loader */\n activeStrokeColor?: string;\n /** Percentage of the circle which the active color takes */\n activeColorPercentage?: \"25%\" | \"50%\" | \"75%\";\n /** Inactive color of spinning loader */\n inactiveStrokeColor?: string;\n /** Rotate speed of animation in seconds */\n rotateDurationInSeconds?: number;\n}\n\nexport const SpinnerLoader = forwardRef<\n HTMLDivElement,\n React.ComponentPropsWithoutRef<\"div\"> & SpinnerLoaderProps\n>(\n (\n {\n radius = 20,\n strokeWidth = 2,\n activeStrokeColor = \"var(--color-primary)\",\n inactiveStrokeColor = \"var(--color-theme-300)\",\n activeColorPercentage = \"25%\",\n rotateDurationInSeconds = 0.75,\n className,\n ...rest\n },\n ref\n ) => {\n return (\n <StyledSpinnerLoader\n ref={ref}\n className={className}\n $radius={radius}\n $strokeWidth={strokeWidth}\n $activeStrokeColor={activeStrokeColor}\n $inactiveStrokeColor={inactiveStrokeColor}\n $activeColorPercentage={activeColorPercentage}\n $rotateDurationInSeconds={rotateDurationInSeconds}\n {...rest}\n />\n );\n }\n);\n\nSpinnerLoader.displayName = \"SpinnerLoader\";\n"],"file":"SpinnerLoader.js"}
@@ -9,17 +9,26 @@ exports.StyledSpinnerLoader = void 0;
9
9
 
10
10
  var _styledComponents = _interopRequireWildcard(require("styled-components"));
11
11
 
12
+ var _BoxSizingStyle = require("../../BoxSizingStyle");
13
+
12
14
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
15
 
14
16
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
15
17
 
16
- var rotateAnimation = (0, _styledComponents.keyframes)(["100%{transform:rotate(360deg);}"]);
17
- var dashAnimation = (0, _styledComponents.keyframes)(["0%{stroke-dasharray:1,200;stroke-dashoffset:0;}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px;}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px;}"]);
18
+ var rotateAnimation = (0, _styledComponents.keyframes)(["from{transform:rotate(0deg);}to{transform:rotate(359deg);}"]);
18
19
 
19
20
  var StyledSpinnerLoader = _styledComponents.default.div.withConfig({
20
21
  displayName: "Styles__StyledSpinnerLoader",
21
22
  componentId: "sc-1ht53g9-0"
22
- })(["position:relative;width:20px;&:before{content:\"\";display:block;padding-top:100%;}svg{animation:", " 2s linear infinite;height:100%;transform-origin:center center;width:100%;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;circle{stroke-dasharray:1,200;stroke-dashoffset:0;stroke:var(--color-theme-600);animation:", " 1.5s ease-in-out infinite;stroke-linecap:round;}}"], rotateAnimation, dashAnimation);
23
+ })(["", " border-radius:100%;", " ", " ", " ", ""], _BoxSizingStyle.BoxSizingStyle, function (props) {
24
+ return (0, _styledComponents.css)(["width:", "px;height:", "px;animation:", " ", "s infinite linear;"], props.$radius, props.$radius, rotateAnimation, props.$rotateDurationInSeconds);
25
+ }, function (props) {
26
+ return props.$activeColorPercentage === "25%" && (0, _styledComponents.css)(["border-right:", "px solid ", ";border-bottom:", "px solid ", ";border-left:", "px solid ", ";border-top:", "px solid ", ";"], props.$strokeWidth, props.$inactiveStrokeColor, props.$strokeWidth, props.$inactiveStrokeColor, props.$strokeWidth, props.$inactiveStrokeColor, props.$strokeWidth, props.$activeStrokeColor);
27
+ }, function (props) {
28
+ return props.$activeColorPercentage === "50%" && (0, _styledComponents.css)(["border-right:", "px solid ", ";border-bottom:", "px solid ", ";border-left:", "px solid ", ";border-top:", "px solid ", ";"], props.$strokeWidth, props.$activeStrokeColor, props.$strokeWidth, props.$inactiveStrokeColor, props.$strokeWidth, props.$inactiveStrokeColor, props.$strokeWidth, props.$activeStrokeColor);
29
+ }, function (props) {
30
+ return props.$activeColorPercentage === "75%" && (0, _styledComponents.css)(["border-right:", "px solid ", ";border-bottom:", "px solid ", ";border-left:", "px solid ", ";border-top:", "px solid ", ";"], props.$strokeWidth, props.$activeStrokeColor, props.$strokeWidth, props.$activeStrokeColor, props.$strokeWidth, props.$inactiveStrokeColor, props.$strokeWidth, props.$activeStrokeColor);
31
+ });
23
32
 
24
33
  exports.StyledSpinnerLoader = StyledSpinnerLoader;
25
34
  //# sourceMappingURL=Styles.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/components/Loaders/Spinner/Styles.ts"],"names":["rotateAnimation","keyframes","dashAnimation","StyledSpinnerLoader","styled","div"],"mappings":";;;;;;;;;AAAA;;;;;;AAEA,IAAMA,eAAe,OAAGC,2BAAH,sCAArB;AAMA,IAAMC,aAAa,OAAGD,2BAAH,kKAAnB;;AAeO,IAAME,mBAAmB,GAAGC,0BAAOC,GAAV;AAAA;AAAA;AAAA,oYAWfL,eAXe,EA0BbE,aA1Ba,CAAzB","sourcesContent":["import styled, { keyframes } from \"styled-components\";\n\nconst rotateAnimation = keyframes`\n 100% {\n transform: rotate(360deg);\n }\n`;\n\nconst dashAnimation = keyframes`\n 0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35px;\n }\n 100% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -124px;\n }\n`;\n\nexport const StyledSpinnerLoader = styled.div`\n position: relative;\n width: 20px;\n\n &:before {\n content: \"\";\n display: block;\n padding-top: 100%;\n }\n\n svg {\n animation: ${rotateAnimation} 2s linear infinite;\n height: 100%;\n transform-origin: center center;\n width: 100%;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n margin: auto;\n\n circle {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n stroke: var(--color-theme-600);\n animation: ${dashAnimation} 1.5s ease-in-out infinite;\n stroke-linecap: round;\n }\n }\n`;\n"],"file":"Styles.js"}
1
+ {"version":3,"sources":["../../../../../src/components/Loaders/Spinner/Styles.ts"],"names":["rotateAnimation","keyframes","StyledSpinnerLoader","styled","div","BoxSizingStyle","props","css","$radius","$rotateDurationInSeconds","$activeColorPercentage","$strokeWidth","$inactiveStrokeColor","$activeStrokeColor"],"mappings":";;;;;;;;;AAAA;;AACA;;;;;;AAEA,IAAMA,eAAe,OAAGC,2BAAH,iEAArB;;AAcO,IAAMC,mBAAmB,GAAGC,0BAAOC,GAAV;AAAA;AAAA;AAAA,oDAC5BC,8BAD4B,EAG5B,UAACC,KAAD;AAAA,aACAC,qBADA,wEAEWD,KAAK,CAACE,OAFjB,EAGYF,KAAK,CAACE,OAHlB,EAIeR,eAJf,EAIkCM,KAAK,CAACG,wBAJxC;AAAA,CAH4B,EAW5B,UAACH,KAAD;AAAA,SACAA,KAAK,CAACI,sBAAN,KAAiC,KAAjC,QACAH,qBADA,kIAEkBD,KAAK,CAACK,YAFxB,EAEgDL,KAAK,CAACM,oBAFtD,EAGmBN,KAAK,CAACK,YAHzB,EAGiDL,KAAK,CAACM,oBAHvD,EAIiBN,KAAK,CAACK,YAJvB,EAI+CL,KAAK,CAACM,oBAJrD,EAKgBN,KAAK,CAACK,YALtB,EAK8CL,KAAK,CAACO,kBALpD,CADA;AAAA,CAX4B,EAoB5B,UAACP,KAAD;AAAA,SACAA,KAAK,CAACI,sBAAN,KAAiC,KAAjC,QACAH,qBADA,kIAEkBD,KAAK,CAACK,YAFxB,EAEgDL,KAAK,CAACO,kBAFtD,EAGmBP,KAAK,CAACK,YAHzB,EAGiDL,KAAK,CAACM,oBAHvD,EAIiBN,KAAK,CAACK,YAJvB,EAI+CL,KAAK,CAACM,oBAJrD,EAKgBN,KAAK,CAACK,YALtB,EAK8CL,KAAK,CAACO,kBALpD,CADA;AAAA,CApB4B,EA6B1B,UAACP,KAAD;AAAA,SACFA,KAAK,CAACI,sBAAN,KAAiC,KAAjC,QACAH,qBADA,kIAEkBD,KAAK,CAACK,YAFxB,EAEgDL,KAAK,CAACO,kBAFtD,EAGmBP,KAAK,CAACK,YAHzB,EAGiDL,KAAK,CAACO,kBAHvD,EAIiBP,KAAK,CAACK,YAJvB,EAI+CL,KAAK,CAACM,oBAJrD,EAKgBN,KAAK,CAACK,YALtB,EAK8CL,KAAK,CAACO,kBALpD,CADE;AAAA,CA7B0B,CAAzB","sourcesContent":["import styled, { css, keyframes } from \"styled-components\";\nimport { BoxSizingStyle } from \"../../BoxSizingStyle\";\n\nconst rotateAnimation = keyframes`\n from { transform: rotate(0deg); }\n to { transform: rotate(359deg); }\n`;\n\nexport interface StyledSpinnerLoaderProps {\n $radius: number;\n $strokeWidth: number;\n $activeStrokeColor: string;\n $inactiveStrokeColor: string;\n $activeColorPercentage: \"25%\" | \"50%\" | \"75%\";\n $rotateDurationInSeconds: number;\n}\n\nexport const StyledSpinnerLoader = styled.div<StyledSpinnerLoaderProps>`\n ${BoxSizingStyle}\n border-radius: 100%;\n ${(props) =>\n css`\n width: ${props.$radius}px;\n height: ${props.$radius}px;\n animation: ${rotateAnimation} ${props.$rotateDurationInSeconds}s infinite\n linear;\n `}\n\n ${(props) =>\n props.$activeColorPercentage === \"25%\" &&\n css`\n border-right: ${props.$strokeWidth}px solid ${props.$inactiveStrokeColor};\n border-bottom: ${props.$strokeWidth}px solid ${props.$inactiveStrokeColor};\n border-left: ${props.$strokeWidth}px solid ${props.$inactiveStrokeColor};\n border-top: ${props.$strokeWidth}px solid ${props.$activeStrokeColor};\n `}\n\n ${(props) =>\n props.$activeColorPercentage === \"50%\" &&\n css`\n border-right: ${props.$strokeWidth}px solid ${props.$activeStrokeColor};\n border-bottom: ${props.$strokeWidth}px solid ${props.$inactiveStrokeColor};\n border-left: ${props.$strokeWidth}px solid ${props.$inactiveStrokeColor};\n border-top: ${props.$strokeWidth}px solid ${props.$activeStrokeColor};\n `}\n\n ${(props) =>\n props.$activeColorPercentage === \"75%\" &&\n css`\n border-right: ${props.$strokeWidth}px solid ${props.$activeStrokeColor};\n border-bottom: ${props.$strokeWidth}px solid ${props.$activeStrokeColor};\n border-left: ${props.$strokeWidth}px solid ${props.$inactiveStrokeColor};\n border-top: ${props.$strokeWidth}px solid ${props.$activeStrokeColor};\n `}\n`;\n"],"file":"Styles.js"}
@@ -783,4 +783,17 @@ Object.keys(_Folder).forEach(function (key) {
783
783
  }
784
784
  });
785
785
  });
786
+
787
+ var _Chip = require("./Chip");
788
+
789
+ Object.keys(_Chip).forEach(function (key) {
790
+ if (key === "default" || key === "__esModule") return;
791
+ if (key in exports && exports[key] === _Chip[key]) return;
792
+ Object.defineProperty(exports, key, {
793
+ enumerable: true,
794
+ get: function get() {
795
+ return _Chip[key];
796
+ }
797
+ });
798
+ });
786
799
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/index.ts"],"names":[],"mappings":";;;;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA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AAA;AAAA;AAAA","sourcesContent":["export * from \"./Button\";\nexport * from \"./ButtonGroup\";\nexport * from \"./Breadcrumbs\";\nexport * from \"./CounterButton\";\nexport * from \"./Steppers\";\nexport * from \"./Tables\";\nexport * from \"./CompleteCheckbox\";\nexport * from \"./Paper\";\nexport * from \"./ScaleBar\";\nexport * from \"./Card\";\nexport * from \"./EntityCard\";\nexport * from \"./Signifier\";\nexport * from \"./Avatar\";\nexport * from \"./Tag\";\nexport * from \"./Loaders\";\nexport * from \"./Nav\";\nexport * from \"./Bubble\";\nexport * from \"./Input\";\nexport * from \"./Menu\";\nexport * from \"./Expanders\";\nexport * from \"./Pickers\";\nexport * from \"./DatePicker\";\nexport * from \"./List\";\nexport * from \"./MenuSelector\";\nexport * from \"./MultiAvatar\";\nexport * from \"./RadioButton\";\nexport * from \"./ScrollShadow\";\nexport * from \"./Icons\";\nexport * from \"./Textarea\";\nexport * from \"./Modal\";\nexport * from \"./Sheet\";\nexport * from \"./Header\";\nexport * from \"./AutoResizeTextarea\";\nexport * from \"./Overlay\";\nexport * from \"./Accordion\";\nexport * from \"./Choose\";\nexport * from \"./Links\";\nexport * from \"./SelectDate\";\nexport * from \"./Popper\";\nexport * from \"./ToastMessage\";\nexport * from \"./Tooltip\";\nexport * from \"./Transitions\";\nexport * from \"./Pressed\";\nexport * from \"./Window\";\nexport * from \"./ValueButton\";\nexport * from \"./Select\";\nexport * from \"./SelectTrigger\";\nexport * from \"./Dialog\";\nexport * from \"./ConfirmDialog\";\nexport * from \"./Checkbox\";\nexport * from \"./Toggle\";\nexport * from \"./Typography\";\nexport * from \"./Autocomplete\";\nexport * from \"./ComboBox\";\nexport * from \"./ProgressBar\";\nexport * from \"./Reactions\";\nexport * from \"./Label\";\nexport * from \"./GlobalStyle\";\nexport * from \"./ProgressRing\";\nexport * from \"./Folder\";\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/components/index.ts"],"names":[],"mappings":";;;;;;AAAA;;AAAA;AAAA;AAAA;A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A;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from \"./Button\";\nexport * from \"./ButtonGroup\";\nexport * from \"./Breadcrumbs\";\nexport * from \"./CounterButton\";\nexport * from \"./Steppers\";\nexport * from \"./Tables\";\nexport * from \"./CompleteCheckbox\";\nexport * from \"./Paper\";\nexport * from \"./ScaleBar\";\nexport * from \"./Card\";\nexport * from \"./EntityCard\";\nexport * from \"./Signifier\";\nexport * from \"./Avatar\";\nexport * from \"./Tag\";\nexport * from \"./Loaders\";\nexport * from \"./Nav\";\nexport * from \"./Bubble\";\nexport * from \"./Input\";\nexport * from \"./Menu\";\nexport * from \"./Expanders\";\nexport * from \"./Pickers\";\nexport * from \"./DatePicker\";\nexport * from \"./List\";\nexport * from \"./MenuSelector\";\nexport * from \"./MultiAvatar\";\nexport * from \"./RadioButton\";\nexport * from \"./ScrollShadow\";\nexport * from \"./Icons\";\nexport * from \"./Textarea\";\nexport * from \"./Modal\";\nexport * from \"./Sheet\";\nexport * from \"./Header\";\nexport * from \"./AutoResizeTextarea\";\nexport * from \"./Overlay\";\nexport * from \"./Accordion\";\nexport * from \"./Choose\";\nexport * from \"./Links\";\nexport * from \"./SelectDate\";\nexport * from \"./Popper\";\nexport * from \"./ToastMessage\";\nexport * from \"./Tooltip\";\nexport * from \"./Transitions\";\nexport * from \"./Pressed\";\nexport * from \"./Window\";\nexport * from \"./ValueButton\";\nexport * from \"./Select\";\nexport * from \"./SelectTrigger\";\nexport * from \"./Dialog\";\nexport * from \"./ConfirmDialog\";\nexport * from \"./Checkbox\";\nexport * from \"./Toggle\";\nexport * from \"./Typography\";\nexport * from \"./Autocomplete\";\nexport * from \"./ComboBox\";\nexport * from \"./ProgressBar\";\nexport * from \"./Reactions\";\nexport * from \"./Label\";\nexport * from \"./GlobalStyle\";\nexport * from \"./ProgressRing\";\nexport * from \"./Folder\";\nexport * from \"./Chip\";\n"],"file":"index.js"}
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ export interface ChipProps {
3
+ url?: string;
4
+ label: string;
5
+ onClose?: React.MouseEventHandler<HTMLButtonElement>;
6
+ }
7
+ export declare const Chip: React.ForwardRefExoticComponent<ChipProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>>, keyof ChipProps> & React.RefAttributes<HTMLDivElement>>;
8
+ //# sourceMappingURL=Chip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,SAAS;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;CACtD;AAED,eAAO,MAAM,IAAI,mPAgBf,CAAC"}
@@ -0,0 +1,27 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
+ var _excluded = ["url", "label", "onClose"];
4
+ import React from "react";
5
+ import { Avatar } from "../Avatar";
6
+ import { ChipCloseIcon, ChipContainer, ChipLabel, ChipTrigger } from "./Styles";
7
+ export var Chip = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
8
+ var url = _ref.url,
9
+ label = _ref.label,
10
+ onClose = _ref.onClose,
11
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded);
12
+
13
+ var showClose = typeof onClose === "function";
14
+ return /*#__PURE__*/React.createElement(ChipContainer, _extends({}, rest, {
15
+ ref: ref,
16
+ $showClose: showClose
17
+ }), url ? /*#__PURE__*/React.createElement(Avatar, {
18
+ size: 18,
19
+ url: url
20
+ }) : null, /*#__PURE__*/React.createElement(ChipLabel, null, label), showClose ? /*#__PURE__*/React.createElement(ChipTrigger, {
21
+ onClick: onClose
22
+ }, /*#__PURE__*/React.createElement(ChipCloseIcon, {
23
+ fill: "currentColor"
24
+ })) : null);
25
+ });
26
+ Chip.displayName = "Chip";
27
+ //# sourceMappingURL=Chip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/Chip/Chip.tsx"],"names":["React","Avatar","ChipCloseIcon","ChipContainer","ChipLabel","ChipTrigger","Chip","forwardRef","ref","url","label","onClose","rest","showClose","displayName"],"mappings":";;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,SAASC,MAAT,QAAuB,WAAvB;AACA,SAASC,aAAT,EAAwBC,aAAxB,EAAuCC,SAAvC,EAAkDC,WAAlD,QAAqE,UAArE;AAQA,OAAO,IAAMC,IAAI,gBAAGN,KAAK,CAACO,UAAN,CAGlB,gBAAmCC,GAAnC,EAA2C;AAAA,MAAxCC,GAAwC,QAAxCA,GAAwC;AAAA,MAAnCC,KAAmC,QAAnCA,KAAmC;AAAA,MAA5BC,OAA4B,QAA5BA,OAA4B;AAAA,MAAhBC,IAAgB;;AAC3C,MAAMC,SAAS,GAAG,OAAOF,OAAP,KAAmB,UAArC;AACA,sBACE,oBAAC,aAAD,eAAmBC,IAAnB;AAAyB,IAAA,GAAG,EAAEJ,GAA9B;AAAmC,IAAA,UAAU,EAAEK;AAA/C,MACGJ,GAAG,gBAAG,oBAAC,MAAD;AAAQ,IAAA,IAAI,EAAE,EAAd;AAAkB,IAAA,GAAG,EAAEA;AAAvB,IAAH,GAAoC,IAD1C,eAEE,oBAAC,SAAD,QAAYC,KAAZ,CAFF,EAGGG,SAAS,gBACR,oBAAC,WAAD;AAAa,IAAA,OAAO,EAAEF;AAAtB,kBACE,oBAAC,aAAD;AAAe,IAAA,IAAI,EAAC;AAApB,IADF,CADQ,GAIN,IAPN,CADF;AAWD,CAhBmB,CAAb;AAkBPL,IAAI,CAACQ,WAAL,GAAmB,MAAnB","sourcesContent":["import React from \"react\";\nimport { Avatar } from \"../Avatar\";\nimport { ChipCloseIcon, ChipContainer, ChipLabel, ChipTrigger } from \"./Styles\";\n\nexport interface ChipProps {\n url?: string;\n label: string;\n onClose?: React.MouseEventHandler<HTMLButtonElement>;\n}\n\nexport const Chip = React.forwardRef<\n HTMLDivElement,\n ChipProps & Omit<React.ComponentPropsWithoutRef<\"div\">, keyof ChipProps>\n>(({ url, label, onClose, ...rest }, ref) => {\n const showClose = typeof onClose === \"function\";\n return (\n <ChipContainer {...rest} ref={ref} $showClose={showClose}>\n {url ? <Avatar size={18} url={url} /> : null}\n <ChipLabel>{label}</ChipLabel>\n {showClose ? (\n <ChipTrigger onClick={onClose}>\n <ChipCloseIcon fill=\"currentColor\" />\n </ChipTrigger>\n ) : null}\n </ChipContainer>\n );\n});\n\nChip.displayName = \"Chip\";\n"],"file":"Chip.js"}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ export declare const ChipContainer: import("styled-components").StyledComponent<"div", any, {
3
+ $showClose?: boolean | undefined;
4
+ }, never>;
5
+ export declare const ChipLabel: import("styled-components").StyledComponent<"span", any, {}, never>;
6
+ export declare const ChipTrigger: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & import("react").RefAttributes<HTMLButtonElement>>, any, {}, never>;
7
+ export declare const ChipCloseIcon: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("react").SVGProps<SVGSVGElement>, "string" | "style" | "clipPath" | "filter" | "mask" | "path" | "key" | "name" | "type" | "className" | "id" | "lang" | "tabIndex" | "role" | "color" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "tw" | "ideographic" | "alphabetic" | "hanging" | "mathematical" | "height" | "max" | "media" | "method" | "min" | "target" | "width" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clip" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cursor" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "direction" | "display" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "fill" | "fillOpacity" | "fillRule" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "focusable" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "format" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "href" | "imageRendering" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "letterSpacing" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mode" | "numOctaves" | "offset" | "opacity" | "operator" | "order" | "orient" | "orientation" | "origin" | "overflow" | "overlinePosition" | "overlineThickness" | "paintOrder" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "pointerEvents" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rotate" | "rx" | "ry" | "scale" | "seed" | "shapeRendering" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textDecoration" | "textLength" | "textRendering" | "to" | "transform" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeBidi" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "visibility" | "vMathematical" | "widths" | "wordSpacing" | "writingMode" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan"> & import("react").RefAttributes<SVGSVGElement>>, any, {}, never>;
8
+ //# sourceMappingURL=Styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Chip/Styles.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,aAAa;;SA+BzB,CAAC;AAIF,eAAO,MAAM,SAAS,qEAGrB,CAAC;AAIF,eAAO,MAAM,WAAW,uVAQvB,CAAC;AAIF,eAAO,MAAM,aAAa,wqPAEzB,CAAC"}
@@ -0,0 +1,74 @@
1
+ import styled, { css } from "styled-components";
2
+ import { CloseSmallIcon } from "../Icons";
3
+ import { BoxSizingStyle } from "../BoxSizingStyle";
4
+ import { Trigger } from "../Trigger";
5
+ import { FontStyle } from "../FontStyle";
6
+ export var ChipContainer = styled.div.withConfig({
7
+ displayName: "Styles__ChipContainer",
8
+ componentId: "sc-7s0bd1-0"
9
+ })(["min-width:80px;max-width:220px;", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", ""], {
10
+ "height": "1.5rem"
11
+ }, {
12
+ "borderRadius": "0.25rem"
13
+ }, {
14
+ "display": "inline-flex"
15
+ }, {
16
+ "alignItems": "center"
17
+ }, {
18
+ "justifyContent": "center"
19
+ }, {
20
+ "gap": "0.25rem"
21
+ }, {
22
+ "paddingLeft": "0.375rem"
23
+ }, {
24
+ "overflow": "hidden"
25
+ }, FontStyle, BoxSizingStyle, {
26
+ "fontSize": "0.875rem"
27
+ }, {
28
+ "color": "var(--color-theme-900)"
29
+ }, {
30
+ "lineHeight": "1.375"
31
+ }, {
32
+ "letterSpacing": "0.02em"
33
+ }, {
34
+ "fontWeight": "400"
35
+ }, {
36
+ "backgroundColor": "var(--color-theme-400)"
37
+ }, function (props) {
38
+ return props.$showClose ? null : css(["", ""], {
39
+ "paddingRight": "0.375rem"
40
+ });
41
+ });
42
+ ChipContainer.displayName = "ChipContainer";
43
+ export var ChipLabel = styled.span.withConfig({
44
+ displayName: "Styles__ChipLabel",
45
+ componentId: "sc-7s0bd1-1"
46
+ })(["", " ", ""], {
47
+ "width": "100%"
48
+ }, {
49
+ "overflow": "hidden",
50
+ "textOverflow": "ellipsis",
51
+ "whiteSpace": "nowrap"
52
+ });
53
+ ChipLabel.displayName = "ChipLabel";
54
+ export var ChipTrigger = styled(Trigger).withConfig({
55
+ displayName: "Styles__ChipTrigger",
56
+ componentId: "sc-7s0bd1-2"
57
+ })(["", " ", " ", " &:hover{", "}"], {
58
+ "display": "flex"
59
+ }, {
60
+ "alignItems": "center"
61
+ }, {
62
+ "justifyContent": "center"
63
+ }, {
64
+ "backgroundColor": "var(--color-theme-transparent-400)"
65
+ });
66
+ ChipTrigger.displayName = "ChipTrigger";
67
+ export var ChipCloseIcon = styled(CloseSmallIcon).withConfig({
68
+ displayName: "Styles__ChipCloseIcon",
69
+ componentId: "sc-7s0bd1-3"
70
+ })(["", ""], {
71
+ "color": "var(--color-theme-700)"
72
+ });
73
+ ChipCloseIcon.displayName = "ChipCloseIcon";
74
+ //# sourceMappingURL=Styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/Chip/Styles.ts"],"names":["styled","css","CloseSmallIcon","BoxSizingStyle","Trigger","FontStyle","ChipContainer","div","props","$showClose","displayName","ChipLabel","span","ChipTrigger","ChipCloseIcon"],"mappings":"AAAA,OAAOA,MAAP,IAAiBC,GAAjB,QAA4B,mBAA5B;AAEA,SAASC,cAAT,QAA+B,UAA/B;AACA,SAASC,cAAT,QAA+B,mBAA/B;AACA,SAASC,OAAT,QAAwB,YAAxB;AACA,SAASC,SAAT,QAA0B,cAA1B;AAEA,OAAO,IAAMC,aAAa,GAAGN,MAAM,CAACO,GAAV;AAAA;AAAA;AAAA,4HAGpB;AAAA;AAAA,CAHoB,EAIpB;AAAA;AAAA,CAJoB,EAKpB;AAAA;AAAA,CALoB,EAMpB;AAAA;AAAA,CANoB,EAOpB;AAAA;AAAA,CAPoB,EAQpB;AAAA;AAAA,CARoB,EASpB;AAAA;AAAA,CAToB,EAUpB;AAAA;AAAA,CAVoB,EAYtBF,SAZsB,EAatBF,cAbsB,EAgBpB;AAAA;AAAA,CAhBoB,EAiBpB;AAAA;AAAA,CAjBoB,EAkBpB;AAAA;AAAA,CAlBoB,EAmBpB;AAAA;AAAA,CAnBoB,EAoBpB;AAAA;AAAA,CApBoB,EAuBpB;AAAA;AAAA,CAvBoB,EAyBtB,UAACK,KAAD;AAAA,SACAA,KAAK,CAACC,UAAN,GACI,IADJ,GAEIR,GAFJ,WAGU;AAAA;AAAA,GAHV,CADA;AAAA,CAzBsB,CAAnB;AAiCPK,aAAa,CAACI,WAAd,GAA4B,eAA5B;AAEA,OAAO,IAAMC,SAAS,GAAGX,MAAM,CAACY,IAAV;AAAA;AAAA;AAAA,kBAChB;AAAA;AAAA,CADgB,EAEhB;AAAA;AAAA;AAAA;AAAA,CAFgB,CAAf;AAKPD,SAAS,CAACD,WAAV,GAAwB,WAAxB;AAEA,OAAO,IAAMG,WAAW,GAAGb,MAAM,CAACI,OAAD,CAAT;AAAA;AAAA;AAAA,qCAClB;AAAA;AAAA,CADkB,EAElB;AAAA;AAAA,CAFkB,EAGlB;AAAA;AAAA,CAHkB,EAMhB;AAAA;AAAA,CANgB,CAAjB;AAUPS,WAAW,CAACH,WAAZ,GAA0B,aAA1B;AAEA,OAAO,IAAMI,aAAa,GAAGd,MAAM,CAACE,cAAD,CAAT;AAAA;AAAA;AAAA,aACpB;AAAA;AAAA,CADoB,CAAnB;AAIPY,aAAa,CAACJ,WAAd,GAA4B,eAA5B","sourcesContent":["import styled, { css } from \"styled-components\";\nimport tw from \"twin.macro\";\nimport { CloseSmallIcon } from \"../Icons\";\nimport { BoxSizingStyle } from \"../BoxSizingStyle\";\nimport { Trigger } from \"../Trigger\";\nimport { FontStyle } from \"../FontStyle\";\n\nexport const ChipContainer = styled.div<{ $showClose?: boolean }>`\n min-width: 80px;\n max-width: 220px;\n ${tw`tw-h-6`}\n ${tw`tw-rounded`}\n ${tw`tw-inline-flex`}\n ${tw`tw-items-center`}\n ${tw`tw-justify-center`}\n ${tw`tw-gap-1`}\n ${tw`tw-pl-1.5`}\n ${tw`tw-overflow-hidden`}\n\n ${FontStyle}\n ${BoxSizingStyle}\n\n // font\n ${tw`tw-text-body-2`}\n ${tw`tw-text-theme-900`}\n ${tw`tw-leading-regular`}\n ${tw`tw-tracking-regular`}\n ${tw`tw-font-regular`}\n\n // background\n ${tw`tw-bg-theme-400`}\n\n ${(props) =>\n props.$showClose\n ? null\n : css`\n ${tw`tw-pr-1.5`}\n `}\n`;\n\nChipContainer.displayName = \"ChipContainer\";\n\nexport const ChipLabel = styled.span`\n ${tw`tw-w-full`}\n ${tw`tw-truncate`}\n`;\n\nChipLabel.displayName = \"ChipLabel\";\n\nexport const ChipTrigger = styled(Trigger)`\n ${tw`tw-flex`}\n ${tw`tw-items-center`}\n ${tw`tw-justify-center`}\n\n &:hover {\n ${tw`tw-bg-theme-transparent-400`}\n }\n`;\n\nChipTrigger.displayName = \"ChipTrigger\";\n\nexport const ChipCloseIcon = styled(CloseSmallIcon)`\n ${tw`tw-text-theme-700`}\n`;\n\nChipCloseIcon.displayName = \"ChipCloseIcon\";\n"],"file":"Styles.js"}
@@ -0,0 +1,2 @@
1
+ export * from "./Chip";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Chip/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./Chip";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/Chip/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAd","sourcesContent":["export * from \"./Chip\";\n"],"file":"index.js"}
@@ -1 +1 @@
1
- {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,GAAG,EAAuB,MAAM,OAAO,CAAC;AAInE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,MAAM,WAAW,UAAU;IAEzB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAC;CAClC;AAED,eAAO,MAAM,KAAK,qQAgDjB,CAAC"}
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,GAAG,EAAuB,MAAM,OAAO,CAAC;AAInE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,MAAM,WAAW,UAAU;IAEzB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAC;CAClC;AAED,eAAO,MAAM,KAAK,qQAiDjB,CAAC"}