@jars-labs/jars-components 1.0.59 → 1.0.61
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/{index-Dc304jQE.js → index-BPconlyF.js} +20 -7
- package/dist/index-BPconlyF.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/{lottie-DPp0f6_W.js → lottie-Ca7AUYOm.js} +2 -2
- package/dist/{lottie-DPp0f6_W.js.map → lottie-Ca7AUYOm.js.map} +1 -1
- package/dist/types/Icons/Check.d.ts +9 -0
- package/dist/types/Icons/Check.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/utils/stringUtils.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/index-Dc304jQE.js.map +0 -1
|
@@ -183,7 +183,7 @@ var Animation = function (_a) {
|
|
|
183
183
|
var refVector = useRef(null);
|
|
184
184
|
var _b = useState(null), lottie = _b[0], setLottie = _b[1];
|
|
185
185
|
useEffect(function () {
|
|
186
|
-
import('./lottie-
|
|
186
|
+
import('./lottie-Ca7AUYOm.js').then(function (n) { return n.l; }).then(function (Lottie) { return setLottie(Lottie.default); });
|
|
187
187
|
}, []);
|
|
188
188
|
useEffect(function () {
|
|
189
189
|
if (lottie && refVector.current) {
|
|
@@ -382,6 +382,16 @@ var Text = React.forwardRef(function (props, ref) {
|
|
|
382
382
|
});
|
|
383
383
|
Text.displayName = 'Text';
|
|
384
384
|
|
|
385
|
+
function smartLowercase(str) {
|
|
386
|
+
return str
|
|
387
|
+
.split(/\b/)
|
|
388
|
+
.map(function (word) {
|
|
389
|
+
if (/^[A-Z]{2,}$/.test(word))
|
|
390
|
+
return word;
|
|
391
|
+
return word.toLowerCase();
|
|
392
|
+
})
|
|
393
|
+
.join('');
|
|
394
|
+
}
|
|
385
395
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
386
396
|
function capitalizeFirstSentenceLetter(input) {
|
|
387
397
|
var str;
|
|
@@ -396,10 +406,7 @@ function capitalizeFirstSentenceLetter(input) {
|
|
|
396
406
|
else {
|
|
397
407
|
str = input;
|
|
398
408
|
}
|
|
399
|
-
return str
|
|
400
|
-
.replace(/_/g, ' ')
|
|
401
|
-
.toLowerCase()
|
|
402
|
-
.replace(/(^\s*[a-z])|([.!?]\s*[a-z])/g, function (match) { return match.toUpperCase(); });
|
|
409
|
+
return smartLowercase(str.replace(/_/g, ' ')).replace(/(^\s*[a-z])|([.!?]\s*[a-z])/g, function (match) { return match.toUpperCase(); });
|
|
403
410
|
}
|
|
404
411
|
|
|
405
412
|
/**
|
|
@@ -1828,6 +1835,12 @@ var Chat = function (_a) {
|
|
|
1828
1835
|
};
|
|
1829
1836
|
Chat.displayName = 'Chat';
|
|
1830
1837
|
|
|
1838
|
+
var Check = function (_a) {
|
|
1839
|
+
var _b = _a.width, width = _b === undefined ? '32px' : _b, _c = _a.height, height = _c === undefined ? '32px' : _c, _d = _a.viewBox, viewBox = _d === undefined ? '0 0 32 32' : _d, _e = _a.fill, fill = _e === undefined ? 'none' : _e, _f = _a.stroke, stroke = _f === undefined ? 'currentColor' : _f, _g = _a.strokeWidth, strokeWidth = _g === undefined ? 1.5 : _g;
|
|
1840
|
+
return (jsxs(Icon, { width: width, height: height, viewBox: viewBox, fill: fill, children: [jsx("circle", { cx: "16", cy: "16", r: "12", fill: "none", stroke: stroke, strokeWidth: strokeWidth }), jsx("path", { stroke: stroke, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: strokeWidth, d: "M10 16.5l4.5 4.5L22 11.5" })] }));
|
|
1841
|
+
};
|
|
1842
|
+
Check.displayName = 'Check';
|
|
1843
|
+
|
|
1831
1844
|
var Cloud = function (_a) {
|
|
1832
1845
|
var _b = _a.width, width = _b === undefined ? '28' : _b, _c = _a.height, height = _c === undefined ? '21' : _c, _d = _a.viewBox, viewBox = _d === undefined ? '0 0 28 21' : _d, _e = _a.fill, fill = _e === undefined ? 'none' : _e, _f = _a.stroke, stroke = _f === undefined ? 'currentColor' : _f, _g = _a.strokeWidth, strokeWidth = _g === undefined ? 1.5 : _g;
|
|
1833
1846
|
return (jsx(Icon, { width: width, height: height, fill: fill, viewBox: viewBox, children: jsx("path", { d: "M0.75 14.05C0.75 17.198 3.43629 19.75 6.75 19.75H21.75C24.5114 19.75 26.75 17.6234 26.75 15C26.75 12.9707 25.4104 11.2386 23.5255 10.5582C23.6709 10.1644 23.75 9.74098 23.75 9.3C23.75 7.20132 21.9591 5.5 19.75 5.5C19.319 5.5 18.9039 5.56477 18.5149 5.68461C17.7186 2.8433 14.9916 0.75 11.75 0.75C7.88401 0.75 4.75 3.72731 4.75 7.4C4.75 7.82209 4.79139 8.23499 4.87053 8.63524C2.4774 9.38448 0.75 11.5256 0.75 14.05Z", stroke: stroke, strokeWidth: strokeWidth, strokeLinecap: "round", strokeLinejoin: "round" }) }));
|
|
@@ -1998,5 +2011,5 @@ var Refresh = function (props) {
|
|
|
1998
2011
|
};
|
|
1999
2012
|
Refresh.displayName = 'Refresh';
|
|
2000
2013
|
|
|
2001
|
-
export {
|
|
2002
|
-
//# sourceMappingURL=index-
|
|
2014
|
+
export { Check as $, Accordion as A, Badge as B, Card as C, DateInput as D, EnterCodeInput as E, FileInput as F, ToastContainer as G, Tooltip as H, IncrementNumber as I, Multiselect as J, NavBarSide as K, Link as L, Message as M, NavBar as N, Alert as O, PasswordInput as P, Arrow as Q, RadioButton as R, SegmentedControl as S, Table as T, Attachment as U, AvatarPlaceholder as V, Bell as W, Calendar as X, Cat as Y, Chat as Z, Chevron as _, AccordionItem as a, ChevronCollapse as a0, Clock as a1, Close as a2, Cloud as a3, Delete as a4, Document as a5, Dog as a6, EyeHide as a7, EyeShow as a8, Fingerprint as a9, Upload as aA, Visa as aB, Warning as aC, World as aD, AISearch as aE, AIGenerate as aF, AIPrompt as aG, AIRedo as aH, Refresh as aI, capitalizeFirstSentenceLetter as aJ, Google as aa, Grid as ab, Hamburger as ac, HappyFace as ad, House as ae, HouseTime as af, Identification as ag, Info as ah, Location as ai, Mail as aj, Menu as ak, MenuTouched as al, Notification as am, Open as an, Pets as ao, Phone as ap, Plaid as aq, Plus as ar, Remove as as, Search as at, Shield as au, StepIndicator as av, ThreeDots as aw, ThumbsDown as ax, Tick as ay, Umbrello as az, AccordionControl as b, AccordionPanel as c, ActionIcon as d, Animation as e, Autocomplete as f, getDefaultExportFromCjs as g, badgeVariantMap as h, Button as i, cardStatusVariantMap as j, CardStatus as k, Checkbox as l, Chip as m, Dropdown as n, FileUpload as o, Input as p, LinkModal as q, Loader as r, Modal as s, Pagination as t, Select as u, StatusBadge as v, Stepper as w, Tabs as x, Text as y, Textarea as z };
|
|
2015
|
+
//# sourceMappingURL=index-BPconlyF.js.map
|