@activecollab/components 1.0.41 → 1.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/ComboBox/ComboBox.js +6 -3
- package/dist/cjs/components/ComboBox/ComboBox.js.map +1 -1
- package/dist/cjs/components/ComboBox/Styles.js +5 -1
- package/dist/cjs/components/ComboBox/Styles.js.map +1 -1
- package/dist/cjs/components/Header/Header.js +4 -1
- package/dist/cjs/components/Header/Header.js.map +1 -1
- package/dist/cjs/components/Header/Styles.js +11 -3
- package/dist/cjs/components/Header/Styles.js.map +1 -1
- package/dist/cjs/components/Icons/collection/InsertLink.js +31 -0
- package/dist/cjs/components/Icons/collection/InsertLink.js.map +1 -0
- package/dist/cjs/components/Icons/collection/Note.js +31 -0
- package/dist/cjs/components/Icons/collection/Note.js.map +1 -0
- package/dist/cjs/components/Icons/collection/Settings.js +31 -0
- package/dist/cjs/components/Icons/collection/Settings.js.map +1 -0
- package/dist/cjs/components/Icons/collection/index.js +24 -0
- package/dist/cjs/components/Icons/collection/index.js.map +1 -1
- package/dist/esm/components/ComboBox/ComboBox.d.ts +1 -0
- package/dist/esm/components/ComboBox/ComboBox.d.ts.map +1 -1
- package/dist/esm/components/ComboBox/ComboBox.js +6 -3
- package/dist/esm/components/ComboBox/ComboBox.js.map +1 -1
- package/dist/esm/components/ComboBox/Styles.d.ts +3 -1
- package/dist/esm/components/ComboBox/Styles.d.ts.map +1 -1
- package/dist/esm/components/ComboBox/Styles.js +5 -1
- package/dist/esm/components/ComboBox/Styles.js.map +1 -1
- package/dist/esm/components/Header/Header.d.ts +1 -0
- package/dist/esm/components/Header/Header.d.ts.map +1 -1
- package/dist/esm/components/Header/Header.js +4 -1
- package/dist/esm/components/Header/Header.js.map +1 -1
- package/dist/esm/components/Header/Styles.d.ts +3 -1
- package/dist/esm/components/Header/Styles.d.ts.map +1 -1
- package/dist/esm/components/Header/Styles.js +6 -2
- package/dist/esm/components/Header/Styles.js.map +1 -1
- package/dist/esm/components/Icons/collection/InsertLink.d.ts +4 -0
- package/dist/esm/components/Icons/collection/InsertLink.d.ts.map +1 -0
- package/dist/esm/components/Icons/collection/InsertLink.js +18 -0
- package/dist/esm/components/Icons/collection/InsertLink.js.map +1 -0
- package/dist/esm/components/Icons/collection/Note.d.ts +4 -0
- package/dist/esm/components/Icons/collection/Note.d.ts.map +1 -0
- package/dist/esm/components/Icons/collection/Note.js +18 -0
- package/dist/esm/components/Icons/collection/Note.js.map +1 -0
- package/dist/esm/components/Icons/collection/Settings.d.ts +4 -0
- package/dist/esm/components/Icons/collection/Settings.d.ts.map +1 -0
- package/dist/esm/components/Icons/collection/Settings.js +18 -0
- package/dist/esm/components/Icons/collection/Settings.js.map +1 -0
- package/dist/esm/components/Icons/collection/index.d.ts +3 -0
- package/dist/esm/components/Icons/collection/index.d.ts.map +1 -1
- package/dist/esm/components/Icons/collection/index.js +3 -0
- package/dist/esm/components/Icons/collection/index.js.map +1 -1
- package/dist/index.js +71 -6
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6602,6 +6602,22 @@
|
|
|
6602
6602
|
InfoIcon.displayName = "InfoIcon";
|
|
6603
6603
|
var InfoIcon$1 = InfoIcon;
|
|
6604
6604
|
|
|
6605
|
+
var InsertLinkIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
|
|
6606
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
6607
|
+
width: 24,
|
|
6608
|
+
height: 24,
|
|
6609
|
+
viewBox: "0 0 24 24",
|
|
6610
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6611
|
+
fill: "var(--color-theme-600)",
|
|
6612
|
+
ref: svgRef
|
|
6613
|
+
}, props), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
6614
|
+
d: "M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1ZM8 13h8v-2H8v2Zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1 0 1.71-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Z",
|
|
6615
|
+
fillRule: "evenodd"
|
|
6616
|
+
}));
|
|
6617
|
+
});
|
|
6618
|
+
InsertLinkIcon.displayName = "InsertLinkIcon";
|
|
6619
|
+
var InsertLinkIcon$1 = InsertLinkIcon;
|
|
6620
|
+
|
|
6605
6621
|
var IntegrationsIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
|
|
6606
6622
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
6607
6623
|
width: 24,
|
|
@@ -6825,6 +6841,22 @@
|
|
|
6825
6841
|
NoteAddIcon.displayName = "NoteAddIcon";
|
|
6826
6842
|
var NoteAddIcon$1 = NoteAddIcon;
|
|
6827
6843
|
|
|
6844
|
+
var NoteIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
|
|
6845
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
6846
|
+
width: 24,
|
|
6847
|
+
height: 24,
|
|
6848
|
+
viewBox: "0 0 24 24",
|
|
6849
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6850
|
+
fill: "var(--color-theme-600)",
|
|
6851
|
+
ref: svgRef
|
|
6852
|
+
}, props), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
6853
|
+
d: "M19 5v9h-5v5H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h10l6-6V5c0-1.1-.9-2-2-2Zm-7 10H7v-2h5v2Zm5-4H7V7h10v2Z",
|
|
6854
|
+
fillRule: "evenodd"
|
|
6855
|
+
}));
|
|
6856
|
+
});
|
|
6857
|
+
NoteIcon.displayName = "NoteIcon";
|
|
6858
|
+
var NoteIcon$1 = NoteIcon;
|
|
6859
|
+
|
|
6828
6860
|
var NotificationBellIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
|
|
6829
6861
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
6830
6862
|
width: 24,
|
|
@@ -7231,6 +7263,22 @@
|
|
|
7231
7263
|
SendFilledIcon.displayName = "SendFilledIcon";
|
|
7232
7264
|
var SendFilledIcon$1 = SendFilledIcon;
|
|
7233
7265
|
|
|
7266
|
+
var SettingsIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
|
|
7267
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
7268
|
+
width: 24,
|
|
7269
|
+
height: 24,
|
|
7270
|
+
viewBox: "0 0 24 24",
|
|
7271
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7272
|
+
fill: "var(--color-theme-600)",
|
|
7273
|
+
ref: svgRef
|
|
7274
|
+
}, props), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
7275
|
+
d: "M4.14 16H3a1 1 0 0 0 0 2h1.14c.45 1.72 2 3 3.86 3 1.86 0 3.41-1.28 3.86-3H21a1 1 0 0 0 0-2h-9.14c-.45-1.72-2-3-3.86-3-1.86 0-3.41 1.28-3.86 3ZM6 17c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2ZM16 3c-1.86 0-3.41 1.28-3.86 3H3a1 1 0 1 0 0 2h9.14c.45 1.72 2 3 3.86 3 1.86 0 3.41-1.28 3.86-3H21a1 1 0 0 0 0-2h-1.14c-.45-1.72-2-3-3.86-3Zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Z",
|
|
7276
|
+
fillRule: "evenodd"
|
|
7277
|
+
}));
|
|
7278
|
+
});
|
|
7279
|
+
SettingsIcon.displayName = "SettingsIcon";
|
|
7280
|
+
var SettingsIcon$1 = SettingsIcon;
|
|
7281
|
+
|
|
7234
7282
|
var SortGeneralIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
|
|
7235
7283
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
7236
7284
|
width: 24,
|
|
@@ -7825,18 +7873,25 @@
|
|
|
7825
7873
|
var StyledHeader = styled__default["default"](Paper).withConfig({
|
|
7826
7874
|
displayName: "Styles__StyledHeader",
|
|
7827
7875
|
componentId: "sc-xrlqib-0"
|
|
7828
|
-
})(["
|
|
7876
|
+
})(["", " ", " padding:0 1rem;display:flex;overflow:hidden;min-width:350px;@media screen and (max-width:350px){overflow:auto;}"], function (props) {
|
|
7877
|
+
return props.size === "big" && styled.css(["height:140px;"]);
|
|
7878
|
+
}, function (props) {
|
|
7879
|
+
return props.size === "small" && styled.css(["height:4rem;"]);
|
|
7880
|
+
});
|
|
7829
7881
|
StyledHeader.displayName = "StyledHeader";
|
|
7830
7882
|
|
|
7831
|
-
var _excluded$f = ["className", "children"];
|
|
7883
|
+
var _excluded$f = ["className", "size", "children"];
|
|
7832
7884
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7833
7885
|
var className = _ref.className,
|
|
7886
|
+
_ref$size = _ref.size,
|
|
7887
|
+
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
7834
7888
|
children = _ref.children,
|
|
7835
7889
|
rest = _objectWithoutProperties(_ref, _excluded$f);
|
|
7836
7890
|
|
|
7837
7891
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
7838
7892
|
type: "paper-2",
|
|
7839
7893
|
className: classnames__default["default"]("c-header", className),
|
|
7894
|
+
size: size,
|
|
7840
7895
|
ref: ref
|
|
7841
7896
|
}, rest), children);
|
|
7842
7897
|
});
|
|
@@ -9504,7 +9559,11 @@
|
|
|
9504
9559
|
var StyledComboBoxInput = styled__default["default"](Input).withConfig({
|
|
9505
9560
|
displayName: "Styles__StyledComboBoxInput",
|
|
9506
9561
|
componentId: "sc-5qvkpb-4"
|
|
9507
|
-
})(["overflow:hidden;text-overflow:ellipsis;background-color:transparent;border:none;width:100%;"])
|
|
9562
|
+
})(["overflow:hidden;text-overflow:ellipsis;background-color:transparent;border:none;width:100%;", " ", ""], function (props) {
|
|
9563
|
+
return props.$size == "small" && styled.css(["height:24px;"]);
|
|
9564
|
+
}, function (props) {
|
|
9565
|
+
return props.$size == "big" && styled.css(["height:40px;"]);
|
|
9566
|
+
});
|
|
9508
9567
|
StyledComboBoxInput.displayName = "StyledComboBoxInput";
|
|
9509
9568
|
var StyledComboBoxList = styled__default["default"].div.withConfig({
|
|
9510
9569
|
displayName: "Styles__StyledComboBoxList",
|
|
@@ -9514,7 +9573,7 @@
|
|
|
9514
9573
|
});
|
|
9515
9574
|
StyledComboBoxList.displayName = "StyledComboBoxList";
|
|
9516
9575
|
|
|
9517
|
-
var _excluded = ["options", "selected", "loading", "loadingText", "onChange", "placeholder", "handleEmptyAction", "disabled"];
|
|
9576
|
+
var _excluded = ["options", "selected", "loading", "loadingText", "onChange", "placeholder", "handleEmptyAction", "disabled", "size"];
|
|
9518
9577
|
var ComboBox = function ComboBox(_ref) {
|
|
9519
9578
|
var _formRef$current;
|
|
9520
9579
|
|
|
@@ -9529,6 +9588,7 @@
|
|
|
9529
9588
|
handleEmptyAction = _ref.handleEmptyAction,
|
|
9530
9589
|
_ref$disabled = _ref.disabled,
|
|
9531
9590
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
9591
|
+
size = _ref.size,
|
|
9532
9592
|
prop = _objectWithoutProperties(_ref, _excluded);
|
|
9533
9593
|
|
|
9534
9594
|
var selectedName = React.useMemo(function () {
|
|
@@ -9646,11 +9706,13 @@
|
|
|
9646
9706
|
onKeyDown: handleOnKeyDown,
|
|
9647
9707
|
onChange: handleOnChange,
|
|
9648
9708
|
placeholder: placeholder,
|
|
9649
|
-
disabled: disabled
|
|
9709
|
+
disabled: disabled,
|
|
9710
|
+
$size: size
|
|
9650
9711
|
}), !disabled ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, loading ? /*#__PURE__*/React__default["default"].createElement(SpinnerLoader, null) : selected ? /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
9651
9712
|
onMouseDown: handleMouseDown,
|
|
9652
9713
|
onClick: handleDeselect,
|
|
9653
|
-
variant: "text gray"
|
|
9714
|
+
variant: "text gray",
|
|
9715
|
+
size: size
|
|
9654
9716
|
}, /*#__PURE__*/React__default["default"].createElement(StyledComboBoxCloseSmallIcon, null)) : null, /*#__PURE__*/React__default["default"].createElement(StyledComboBoxCollapseExpandSingleIcon, {
|
|
9655
9717
|
$open: open
|
|
9656
9718
|
})) : null), !disabled ? /*#__PURE__*/React__default["default"].createElement(Popper, {
|
|
@@ -10156,6 +10218,7 @@
|
|
|
10156
10218
|
exports.InfoIcon = InfoIcon$1;
|
|
10157
10219
|
exports.InfoSmallIcon = InfoSmallIcon$1;
|
|
10158
10220
|
exports.Input = Input;
|
|
10221
|
+
exports.InsertLinkIcon = InsertLinkIcon$1;
|
|
10159
10222
|
exports.IntegrationsIcon = IntegrationsIcon$1;
|
|
10160
10223
|
exports.InvoicesIcon = InvoicesIcon$1;
|
|
10161
10224
|
exports.Item = Item;
|
|
@@ -10189,6 +10252,7 @@
|
|
|
10189
10252
|
exports.Nav = Nav;
|
|
10190
10253
|
exports.NavBarElement = NavBarElement;
|
|
10191
10254
|
exports.NoteAddIcon = NoteAddIcon$1;
|
|
10255
|
+
exports.NoteIcon = NoteIcon$1;
|
|
10192
10256
|
exports.NotificationBellIcon = NotificationBellIcon$1;
|
|
10193
10257
|
exports.OpenExpandedIcon = OpenExpandedIcon$1;
|
|
10194
10258
|
exports.Option = Option;
|
|
@@ -10233,6 +10297,7 @@
|
|
|
10233
10297
|
exports.SelectDate = SelectDate;
|
|
10234
10298
|
exports.SendBlankIcon = SendBlankIcon$1;
|
|
10235
10299
|
exports.SendFilledIcon = SendFilledIcon$1;
|
|
10300
|
+
exports.SettingsIcon = SettingsIcon$1;
|
|
10236
10301
|
exports.Sheet = Sheet;
|
|
10237
10302
|
exports.Signifier = Signifier;
|
|
10238
10303
|
exports.Slide = Slide;
|