@julseb-lib/react 0.1.39 → 0.1.41
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.cjs +108 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +109 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -47,7 +47,6 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
47
47
|
}
|
|
48
48
|
return to;
|
|
49
49
|
};
|
|
50
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
51
50
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
52
51
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
53
52
|
// file that has been converted to a CommonJS file using a Babel-
|
|
@@ -177,8 +176,27 @@ __export(index_exports, {
|
|
|
177
176
|
Tooltip: () => Tooltip,
|
|
178
177
|
URL_REGEX: () => URL_REGEX,
|
|
179
178
|
Wrapper: () => Wrapper,
|
|
179
|
+
addDay: () => import_utils150.addDay,
|
|
180
|
+
addMonth: () => import_utils150.addMonth,
|
|
181
|
+
addYear: () => import_utils150.addYear,
|
|
182
|
+
calculateAverage: () => import_utils150.calculateAverage,
|
|
183
|
+
calculateTotalSum: () => import_utils150.calculateTotalSum,
|
|
184
|
+
capitalize: () => import_utils150.capitalize,
|
|
180
185
|
clsx: () => clsx,
|
|
186
|
+
convertDate: () => import_utils150.convertDate,
|
|
187
|
+
convertDateShort: () => import_utils150.convertDateShort,
|
|
188
|
+
convertPrice: () => import_utils150.convertPrice,
|
|
189
|
+
convertToEmail: () => import_utils150.convertToEmail,
|
|
190
|
+
convertYoutube: () => import_utils150.convertYoutube,
|
|
191
|
+
deleteDuplicates: () => import_utils150.deleteDuplicates,
|
|
181
192
|
designTokens: () => designTokens,
|
|
193
|
+
detectLanguage: () => import_utils150.detectLanguage,
|
|
194
|
+
disableScroll: () => import_utils150.disableScroll,
|
|
195
|
+
emailRegex: () => import_utils150.emailRegex,
|
|
196
|
+
enableScroll: () => import_utils150.enableScroll,
|
|
197
|
+
filterObject: () => import_utils150.filterObject,
|
|
198
|
+
formatDate: () => import_utils150.formatDate,
|
|
199
|
+
formatHour: () => import_utils150.formatHour,
|
|
182
200
|
genAlignContent: () => genAlignContent,
|
|
183
201
|
genAlignItems: () => genAlignItems,
|
|
184
202
|
genBgAllColors: () => genBgAllColors,
|
|
@@ -213,10 +231,43 @@ __export(index_exports, {
|
|
|
213
231
|
genTextColorHover: () => genTextColorHover,
|
|
214
232
|
genTextColorShort: () => genTextColorShort,
|
|
215
233
|
genVAlign: () => genVAlign,
|
|
234
|
+
generateNumbers: () => import_utils150.generateNumbers,
|
|
235
|
+
getFirstName: () => import_utils150.getFirstName,
|
|
236
|
+
getInitials: () => import_utils150.getInitials,
|
|
237
|
+
getLastName: () => import_utils150.getLastName,
|
|
238
|
+
getNextDay: () => import_utils150.getNextDay,
|
|
239
|
+
getPercentage: () => import_utils150.getPercentage,
|
|
240
|
+
getRandom: () => import_utils150.getRandom,
|
|
241
|
+
getRandomAvatar: () => import_utils150.getRandomAvatar,
|
|
242
|
+
getRandomDate: () => import_utils150.getRandomDate,
|
|
243
|
+
getRandomNumber: () => import_utils150.getRandomNumber,
|
|
244
|
+
getRandomString: () => import_utils150.getRandomString,
|
|
245
|
+
getRandomTime: () => import_utils150.getRandomTime,
|
|
246
|
+
getTimeNow: () => import_utils150.getTimeNow,
|
|
247
|
+
getToday: () => import_utils150.getToday,
|
|
248
|
+
getTomorrow: () => import_utils150.getTomorrow,
|
|
249
|
+
getYesterday: () => import_utils150.getYesterday,
|
|
250
|
+
hexToRgb: () => import_utils150.hexToRgb,
|
|
216
251
|
libMarkdownEditorOptions: () => libMarkdownEditorOptions,
|
|
217
252
|
libOptionsMarkdown: () => libOptionsMarkdown,
|
|
218
253
|
linkifyText: () => linkifyText,
|
|
254
|
+
passwordRegex: () => import_utils150.passwordRegex,
|
|
255
|
+
rgbToHex: () => import_utils150.rgbToHex,
|
|
256
|
+
scrollToTop: () => import_utils150.scrollToTop,
|
|
257
|
+
slugify: () => import_utils150.slugify,
|
|
258
|
+
sortByFrequency: () => import_utils150.sortByFrequency,
|
|
259
|
+
stringifyPx: () => import_utils150.stringifyPx,
|
|
260
|
+
toCamelCase: () => import_utils150.toCamelCase,
|
|
261
|
+
toConstantCase: () => import_utils150.toConstantCase,
|
|
262
|
+
toDotCase: () => import_utils150.toDotCase,
|
|
263
|
+
toKebabCase: () => import_utils150.toKebabCase,
|
|
264
|
+
toPascalCase: () => import_utils150.toPascalCase,
|
|
265
|
+
toPathCase: () => import_utils150.toPathCase,
|
|
266
|
+
toSentenceCase: () => import_utils150.toSentenceCase,
|
|
267
|
+
toSnakeCase: () => import_utils150.toSnakeCase,
|
|
268
|
+
toTitleCase: () => import_utils150.toTitleCase,
|
|
219
269
|
toast: () => toast,
|
|
270
|
+
unslugify: () => import_utils150.unslugify,
|
|
220
271
|
useClickOutside: () => useClickOutside,
|
|
221
272
|
useCopyToClipboard: () => useCopyToClipboard,
|
|
222
273
|
useDebounce: () => useDebounce,
|
|
@@ -232,7 +283,8 @@ __export(index_exports, {
|
|
|
232
283
|
usePaginatedData: () => usePaginatedData,
|
|
233
284
|
usePagination: () => usePagination,
|
|
234
285
|
useTouchScreen: () => useTouchScreen,
|
|
235
|
-
useTranslation: () => useTranslation
|
|
286
|
+
useTranslation: () => useTranslation,
|
|
287
|
+
uuid: () => import_utils150.uuid
|
|
236
288
|
});
|
|
237
289
|
module.exports = __toCommonJS(index_exports);
|
|
238
290
|
|
|
@@ -2266,7 +2318,7 @@ var genRingColorChildren = {
|
|
|
2266
2318
|
};
|
|
2267
2319
|
|
|
2268
2320
|
// src/lib/index.ts
|
|
2269
|
-
|
|
2321
|
+
var import_utils150 = require("@julseb-lib/utils");
|
|
2270
2322
|
|
|
2271
2323
|
// src/lib/hooks/useClickOutside.tsx
|
|
2272
2324
|
var import_react2 = require("react");
|
|
@@ -11655,8 +11707,27 @@ var SrOnly = ({ element = "div", ref, children }) => {
|
|
|
11655
11707
|
Tooltip,
|
|
11656
11708
|
URL_REGEX,
|
|
11657
11709
|
Wrapper,
|
|
11710
|
+
addDay,
|
|
11711
|
+
addMonth,
|
|
11712
|
+
addYear,
|
|
11713
|
+
calculateAverage,
|
|
11714
|
+
calculateTotalSum,
|
|
11715
|
+
capitalize,
|
|
11658
11716
|
clsx,
|
|
11717
|
+
convertDate,
|
|
11718
|
+
convertDateShort,
|
|
11719
|
+
convertPrice,
|
|
11720
|
+
convertToEmail,
|
|
11721
|
+
convertYoutube,
|
|
11722
|
+
deleteDuplicates,
|
|
11659
11723
|
designTokens,
|
|
11724
|
+
detectLanguage,
|
|
11725
|
+
disableScroll,
|
|
11726
|
+
emailRegex,
|
|
11727
|
+
enableScroll,
|
|
11728
|
+
filterObject,
|
|
11729
|
+
formatDate,
|
|
11730
|
+
formatHour,
|
|
11660
11731
|
genAlignContent,
|
|
11661
11732
|
genAlignItems,
|
|
11662
11733
|
genBgAllColors,
|
|
@@ -11691,10 +11762,43 @@ var SrOnly = ({ element = "div", ref, children }) => {
|
|
|
11691
11762
|
genTextColorHover,
|
|
11692
11763
|
genTextColorShort,
|
|
11693
11764
|
genVAlign,
|
|
11765
|
+
generateNumbers,
|
|
11766
|
+
getFirstName,
|
|
11767
|
+
getInitials,
|
|
11768
|
+
getLastName,
|
|
11769
|
+
getNextDay,
|
|
11770
|
+
getPercentage,
|
|
11771
|
+
getRandom,
|
|
11772
|
+
getRandomAvatar,
|
|
11773
|
+
getRandomDate,
|
|
11774
|
+
getRandomNumber,
|
|
11775
|
+
getRandomString,
|
|
11776
|
+
getRandomTime,
|
|
11777
|
+
getTimeNow,
|
|
11778
|
+
getToday,
|
|
11779
|
+
getTomorrow,
|
|
11780
|
+
getYesterday,
|
|
11781
|
+
hexToRgb,
|
|
11694
11782
|
libMarkdownEditorOptions,
|
|
11695
11783
|
libOptionsMarkdown,
|
|
11696
11784
|
linkifyText,
|
|
11785
|
+
passwordRegex,
|
|
11786
|
+
rgbToHex,
|
|
11787
|
+
scrollToTop,
|
|
11788
|
+
slugify,
|
|
11789
|
+
sortByFrequency,
|
|
11790
|
+
stringifyPx,
|
|
11791
|
+
toCamelCase,
|
|
11792
|
+
toConstantCase,
|
|
11793
|
+
toDotCase,
|
|
11794
|
+
toKebabCase,
|
|
11795
|
+
toPascalCase,
|
|
11796
|
+
toPathCase,
|
|
11797
|
+
toSentenceCase,
|
|
11798
|
+
toSnakeCase,
|
|
11799
|
+
toTitleCase,
|
|
11697
11800
|
toast,
|
|
11801
|
+
unslugify,
|
|
11698
11802
|
useClickOutside,
|
|
11699
11803
|
useCopyToClipboard,
|
|
11700
11804
|
useDebounce,
|
|
@@ -11711,6 +11815,6 @@ var SrOnly = ({ element = "div", ref, children }) => {
|
|
|
11711
11815
|
usePagination,
|
|
11712
11816
|
useTouchScreen,
|
|
11713
11817
|
useTranslation,
|
|
11714
|
-
|
|
11818
|
+
uuid
|
|
11715
11819
|
});
|
|
11716
11820
|
//# sourceMappingURL=index.cjs.map
|