@julseb-lib/react 0.1.37 → 0.1.39
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 +4 -108
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +539 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -109
- package/dist/index.js.map +1 -1
- package/package.json +7 -2
package/dist/index.cjs
CHANGED
|
@@ -47,6 +47,7 @@ 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"));
|
|
50
51
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
51
52
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
52
53
|
// file that has been converted to a CommonJS file using a Babel-
|
|
@@ -176,27 +177,8 @@ __export(index_exports, {
|
|
|
176
177
|
Tooltip: () => Tooltip,
|
|
177
178
|
URL_REGEX: () => URL_REGEX,
|
|
178
179
|
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,
|
|
185
180
|
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,
|
|
192
181
|
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,
|
|
200
182
|
genAlignContent: () => genAlignContent,
|
|
201
183
|
genAlignItems: () => genAlignItems,
|
|
202
184
|
genBgAllColors: () => genBgAllColors,
|
|
@@ -231,43 +213,10 @@ __export(index_exports, {
|
|
|
231
213
|
genTextColorHover: () => genTextColorHover,
|
|
232
214
|
genTextColorShort: () => genTextColorShort,
|
|
233
215
|
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,
|
|
251
216
|
libMarkdownEditorOptions: () => libMarkdownEditorOptions,
|
|
252
217
|
libOptionsMarkdown: () => libOptionsMarkdown,
|
|
253
218
|
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,
|
|
269
219
|
toast: () => toast,
|
|
270
|
-
unslugify: () => import_utils150.unslugify,
|
|
271
220
|
useClickOutside: () => useClickOutside,
|
|
272
221
|
useCopyToClipboard: () => useCopyToClipboard,
|
|
273
222
|
useDebounce: () => useDebounce,
|
|
@@ -283,8 +232,7 @@ __export(index_exports, {
|
|
|
283
232
|
usePaginatedData: () => usePaginatedData,
|
|
284
233
|
usePagination: () => usePagination,
|
|
285
234
|
useTouchScreen: () => useTouchScreen,
|
|
286
|
-
useTranslation: () => useTranslation
|
|
287
|
-
uuid: () => import_utils150.uuid
|
|
235
|
+
useTranslation: () => useTranslation
|
|
288
236
|
});
|
|
289
237
|
module.exports = __toCommonJS(index_exports);
|
|
290
238
|
|
|
@@ -2318,7 +2266,7 @@ var genRingColorChildren = {
|
|
|
2318
2266
|
};
|
|
2319
2267
|
|
|
2320
2268
|
// src/lib/index.ts
|
|
2321
|
-
|
|
2269
|
+
__reExport(index_exports, require("@julseb-lib/utils"), module.exports);
|
|
2322
2270
|
|
|
2323
2271
|
// src/lib/hooks/useClickOutside.tsx
|
|
2324
2272
|
var import_react2 = require("react");
|
|
@@ -11707,27 +11655,8 @@ var SrOnly = ({ element = "div", ref, children }) => {
|
|
|
11707
11655
|
Tooltip,
|
|
11708
11656
|
URL_REGEX,
|
|
11709
11657
|
Wrapper,
|
|
11710
|
-
addDay,
|
|
11711
|
-
addMonth,
|
|
11712
|
-
addYear,
|
|
11713
|
-
calculateAverage,
|
|
11714
|
-
calculateTotalSum,
|
|
11715
|
-
capitalize,
|
|
11716
11658
|
clsx,
|
|
11717
|
-
convertDate,
|
|
11718
|
-
convertDateShort,
|
|
11719
|
-
convertPrice,
|
|
11720
|
-
convertToEmail,
|
|
11721
|
-
convertYoutube,
|
|
11722
|
-
deleteDuplicates,
|
|
11723
11659
|
designTokens,
|
|
11724
|
-
detectLanguage,
|
|
11725
|
-
disableScroll,
|
|
11726
|
-
emailRegex,
|
|
11727
|
-
enableScroll,
|
|
11728
|
-
filterObject,
|
|
11729
|
-
formatDate,
|
|
11730
|
-
formatHour,
|
|
11731
11660
|
genAlignContent,
|
|
11732
11661
|
genAlignItems,
|
|
11733
11662
|
genBgAllColors,
|
|
@@ -11762,43 +11691,10 @@ var SrOnly = ({ element = "div", ref, children }) => {
|
|
|
11762
11691
|
genTextColorHover,
|
|
11763
11692
|
genTextColorShort,
|
|
11764
11693
|
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,
|
|
11782
11694
|
libMarkdownEditorOptions,
|
|
11783
11695
|
libOptionsMarkdown,
|
|
11784
11696
|
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,
|
|
11800
11697
|
toast,
|
|
11801
|
-
unslugify,
|
|
11802
11698
|
useClickOutside,
|
|
11803
11699
|
useCopyToClipboard,
|
|
11804
11700
|
useDebounce,
|
|
@@ -11815,6 +11711,6 @@ var SrOnly = ({ element = "div", ref, children }) => {
|
|
|
11815
11711
|
usePagination,
|
|
11816
11712
|
useTouchScreen,
|
|
11817
11713
|
useTranslation,
|
|
11818
|
-
|
|
11714
|
+
...require("@julseb-lib/utils")
|
|
11819
11715
|
});
|
|
11820
11716
|
//# sourceMappingURL=index.cjs.map
|