@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.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
4
4
|
import { ClassNameValue } from 'tailwind-merge';
|
|
5
5
|
import { MarkdownToJSX } from 'markdown-to-jsx';
|
|
6
6
|
import { LibMdEditorOptions } from './types/components-items-props.cjs';
|
|
7
|
-
export
|
|
7
|
+
export { addDay, addMonth, addYear, calculateAverage, calculateTotalSum, capitalize, convertDate, convertDateShort, convertPrice, convertToEmail, convertYoutube, deleteDuplicates, detectLanguage, disableScroll, emailRegex, enableScroll, filterObject, formatDate, formatHour, generateNumbers, getFirstName, getInitials, getLastName, getNextDay, getPercentage, getRandom, getRandomAvatar, getRandomDate, getRandomNumber, getRandomString, getRandomTime, getTimeNow, getToday, getTomorrow, getYesterday, hexToRgb, passwordRegex, rgbToHex, scrollToTop, slugify, sortByFrequency, stringifyPx, toCamelCase, toConstantCase, toDotCase, toKebabCase, toPascalCase, toPathCase, toSentenceCase, toSnakeCase, toTitleCase, unslugify, uuid } from '@julseb-lib/utils';
|
|
8
8
|
import * as react from 'react';
|
|
9
9
|
import { RefObject, ChangeEvent, RefCallback, Ref, FC as FC$1 } from 'react';
|
|
10
10
|
import { ILibText, ILibWrapper, ILibMain, ILibAside, ILibSection, ILibGrid, ILibFlexbox, ILibKey, ILibHighlight, ILibLinkify, ILibHr, ILibSkeleton, ILibSkeletonCard, ILibTooltip, ILibImage, ILibMasonry, ILibBadge, ILibAvatar, ILibLoader, ILibBurger, ILibButton, ILibButtonIcon, ILibButtonGroup, ILibTag, ILibInputContainer, ILibInput, ILibInputImage, ILibInputCheck, ILibInputPhone, ILibInputCounter, ILibInputSlider, ILibSelect, ILibAutocomplete, ILibRating, ILibInputPin, ILibFieldset, ILibForm, ILibListGroup, ILibListGroupTitle, ILibListGroupItem, ILibBreadcrumbs, ILibAccordion, ILibAccordionItem, ILibDropdown, ILibDropdownItem, ILibToast, ILibAlert, ILibModal, ILibDragList, ILibDragListItem, ILibPagination, ILibPaginationButton, ILibPaginator, ILibProgressBar, ILibProgressCircle, ILibTabs, ILibTabsContainer, ILibTabsButtonsContainer, ILibTabsButton, ILibTabContent, ILibSlideshow, ILibCover, ILibTable, ILibPageLoading, ILibSticky, ILibMarkdownEditor, ILibMarkdownContainer, ILibFade, ILibBackToTop, ILibDrawer, ILibHeader, ILibFooter, ILibMeta, ILibPageLayout, ILibSrOnly } from './types/components-props.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
4
4
|
import { ClassNameValue } from 'tailwind-merge';
|
|
5
5
|
import { MarkdownToJSX } from 'markdown-to-jsx';
|
|
6
6
|
import { LibMdEditorOptions } from './types/components-items-props.js';
|
|
7
|
-
export
|
|
7
|
+
export { addDay, addMonth, addYear, calculateAverage, calculateTotalSum, capitalize, convertDate, convertDateShort, convertPrice, convertToEmail, convertYoutube, deleteDuplicates, detectLanguage, disableScroll, emailRegex, enableScroll, filterObject, formatDate, formatHour, generateNumbers, getFirstName, getInitials, getLastName, getNextDay, getPercentage, getRandom, getRandomAvatar, getRandomDate, getRandomNumber, getRandomString, getRandomTime, getTimeNow, getToday, getTomorrow, getYesterday, hexToRgb, passwordRegex, rgbToHex, scrollToTop, slugify, sortByFrequency, stringifyPx, toCamelCase, toConstantCase, toDotCase, toKebabCase, toPascalCase, toPathCase, toSentenceCase, toSnakeCase, toTitleCase, unslugify, uuid } from '@julseb-lib/utils';
|
|
8
8
|
import * as react from 'react';
|
|
9
9
|
import { RefObject, ChangeEvent, RefCallback, Ref, FC as FC$1 } from 'react';
|
|
10
10
|
import { ILibText, ILibWrapper, ILibMain, ILibAside, ILibSection, ILibGrid, ILibFlexbox, ILibKey, ILibHighlight, ILibLinkify, ILibHr, ILibSkeleton, ILibSkeletonCard, ILibTooltip, ILibImage, ILibMasonry, ILibBadge, ILibAvatar, ILibLoader, ILibBurger, ILibButton, ILibButtonIcon, ILibButtonGroup, ILibTag, ILibInputContainer, ILibInput, ILibInputImage, ILibInputCheck, ILibInputPhone, ILibInputCounter, ILibInputSlider, ILibSelect, ILibAutocomplete, ILibRating, ILibInputPin, ILibFieldset, ILibForm, ILibListGroup, ILibListGroupTitle, ILibListGroupItem, ILibBreadcrumbs, ILibAccordion, ILibAccordionItem, ILibDropdown, ILibDropdownItem, ILibToast, ILibAlert, ILibModal, ILibDragList, ILibDragListItem, ILibPagination, ILibPaginationButton, ILibPaginator, ILibProgressBar, ILibProgressCircle, ILibTabs, ILibTabsContainer, ILibTabsButtonsContainer, ILibTabsButton, ILibTabContent, ILibSlideshow, ILibCover, ILibTable, ILibPageLoading, ILibSticky, ILibMarkdownEditor, ILibMarkdownContainer, ILibFade, ILibBackToTop, ILibDrawer, ILibHeader, ILibFooter, ILibMeta, ILibPageLayout, ILibSrOnly } from './types/components-props.js';
|
package/dist/index.js
CHANGED
|
@@ -2081,7 +2081,61 @@ var genRingColorChildren = {
|
|
|
2081
2081
|
};
|
|
2082
2082
|
|
|
2083
2083
|
// src/lib/index.ts
|
|
2084
|
-
|
|
2084
|
+
import {
|
|
2085
|
+
addDay,
|
|
2086
|
+
addMonth,
|
|
2087
|
+
addYear,
|
|
2088
|
+
calculateAverage,
|
|
2089
|
+
calculateTotalSum,
|
|
2090
|
+
capitalize,
|
|
2091
|
+
convertDate,
|
|
2092
|
+
convertDateShort,
|
|
2093
|
+
convertPrice,
|
|
2094
|
+
convertToEmail,
|
|
2095
|
+
convertYoutube,
|
|
2096
|
+
deleteDuplicates,
|
|
2097
|
+
detectLanguage as detectLanguage2,
|
|
2098
|
+
disableScroll as disableScroll4,
|
|
2099
|
+
enableScroll as enableScroll4,
|
|
2100
|
+
filterObject,
|
|
2101
|
+
formatDate,
|
|
2102
|
+
formatHour,
|
|
2103
|
+
generateNumbers as generateNumbers3,
|
|
2104
|
+
getFirstName,
|
|
2105
|
+
getInitials,
|
|
2106
|
+
getLastName,
|
|
2107
|
+
getNextDay,
|
|
2108
|
+
getPercentage as getPercentage2,
|
|
2109
|
+
getRandom,
|
|
2110
|
+
getRandomAvatar,
|
|
2111
|
+
getRandomDate,
|
|
2112
|
+
getRandomNumber,
|
|
2113
|
+
getRandomString,
|
|
2114
|
+
getRandomTime,
|
|
2115
|
+
getTimeNow,
|
|
2116
|
+
getToday,
|
|
2117
|
+
getTomorrow,
|
|
2118
|
+
getYesterday,
|
|
2119
|
+
hexToRgb,
|
|
2120
|
+
emailRegex,
|
|
2121
|
+
passwordRegex,
|
|
2122
|
+
rgbToHex,
|
|
2123
|
+
scrollToTop as scrollToTop3,
|
|
2124
|
+
slugify as slugify2,
|
|
2125
|
+
sortByFrequency,
|
|
2126
|
+
stringifyPx as stringifyPx3,
|
|
2127
|
+
toCamelCase,
|
|
2128
|
+
toConstantCase,
|
|
2129
|
+
toDotCase,
|
|
2130
|
+
toKebabCase,
|
|
2131
|
+
toPascalCase,
|
|
2132
|
+
toPathCase,
|
|
2133
|
+
toSentenceCase as toSentenceCase3,
|
|
2134
|
+
toSnakeCase,
|
|
2135
|
+
toTitleCase,
|
|
2136
|
+
unslugify,
|
|
2137
|
+
uuid as uuid15
|
|
2138
|
+
} from "@julseb-lib/utils";
|
|
2085
2139
|
|
|
2086
2140
|
// src/lib/hooks/useClickOutside.tsx
|
|
2087
2141
|
import { useEffect } from "react";
|
|
@@ -11494,8 +11548,27 @@ export {
|
|
|
11494
11548
|
Tooltip,
|
|
11495
11549
|
URL_REGEX,
|
|
11496
11550
|
Wrapper,
|
|
11551
|
+
addDay,
|
|
11552
|
+
addMonth,
|
|
11553
|
+
addYear,
|
|
11554
|
+
calculateAverage,
|
|
11555
|
+
calculateTotalSum,
|
|
11556
|
+
capitalize,
|
|
11497
11557
|
clsx,
|
|
11558
|
+
convertDate,
|
|
11559
|
+
convertDateShort,
|
|
11560
|
+
convertPrice,
|
|
11561
|
+
convertToEmail,
|
|
11562
|
+
convertYoutube,
|
|
11563
|
+
deleteDuplicates,
|
|
11498
11564
|
designTokens,
|
|
11565
|
+
detectLanguage2 as detectLanguage,
|
|
11566
|
+
disableScroll4 as disableScroll,
|
|
11567
|
+
emailRegex,
|
|
11568
|
+
enableScroll4 as enableScroll,
|
|
11569
|
+
filterObject,
|
|
11570
|
+
formatDate,
|
|
11571
|
+
formatHour,
|
|
11499
11572
|
genAlignContent,
|
|
11500
11573
|
genAlignItems,
|
|
11501
11574
|
genBgAllColors,
|
|
@@ -11530,10 +11603,43 @@ export {
|
|
|
11530
11603
|
genTextColorHover,
|
|
11531
11604
|
genTextColorShort,
|
|
11532
11605
|
genVAlign,
|
|
11606
|
+
generateNumbers3 as generateNumbers,
|
|
11607
|
+
getFirstName,
|
|
11608
|
+
getInitials,
|
|
11609
|
+
getLastName,
|
|
11610
|
+
getNextDay,
|
|
11611
|
+
getPercentage2 as getPercentage,
|
|
11612
|
+
getRandom,
|
|
11613
|
+
getRandomAvatar,
|
|
11614
|
+
getRandomDate,
|
|
11615
|
+
getRandomNumber,
|
|
11616
|
+
getRandomString,
|
|
11617
|
+
getRandomTime,
|
|
11618
|
+
getTimeNow,
|
|
11619
|
+
getToday,
|
|
11620
|
+
getTomorrow,
|
|
11621
|
+
getYesterday,
|
|
11622
|
+
hexToRgb,
|
|
11533
11623
|
libMarkdownEditorOptions,
|
|
11534
11624
|
libOptionsMarkdown,
|
|
11535
11625
|
linkifyText,
|
|
11626
|
+
passwordRegex,
|
|
11627
|
+
rgbToHex,
|
|
11628
|
+
scrollToTop3 as scrollToTop,
|
|
11629
|
+
slugify2 as slugify,
|
|
11630
|
+
sortByFrequency,
|
|
11631
|
+
stringifyPx3 as stringifyPx,
|
|
11632
|
+
toCamelCase,
|
|
11633
|
+
toConstantCase,
|
|
11634
|
+
toDotCase,
|
|
11635
|
+
toKebabCase,
|
|
11636
|
+
toPascalCase,
|
|
11637
|
+
toPathCase,
|
|
11638
|
+
toSentenceCase3 as toSentenceCase,
|
|
11639
|
+
toSnakeCase,
|
|
11640
|
+
toTitleCase,
|
|
11536
11641
|
toast,
|
|
11642
|
+
unslugify,
|
|
11537
11643
|
useClickOutside,
|
|
11538
11644
|
useCopyToClipboard,
|
|
11539
11645
|
useDebounce,
|
|
@@ -11549,6 +11655,7 @@ export {
|
|
|
11549
11655
|
usePaginatedData,
|
|
11550
11656
|
usePagination,
|
|
11551
11657
|
useTouchScreen,
|
|
11552
|
-
useTranslation
|
|
11658
|
+
useTranslation,
|
|
11659
|
+
uuid15 as uuid
|
|
11553
11660
|
};
|
|
11554
11661
|
//# sourceMappingURL=index.js.map
|