@julseb-lib/react 0.1.33 → 0.1.35
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/chunk-KBQTBZDK.js +1 -0
- package/dist/index.cjs +184 -257
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -34
- package/dist/index.d.ts +2 -34
- package/dist/index.js +106 -178
- package/dist/index.js.map +1 -1
- package/dist/types/components-props.cjs.map +1 -1
- package/dist/types/components-props.d.cts +1 -32
- package/dist/types/components-props.d.ts +1 -32
- package/dist/types/components-props.js +1 -1
- package/dist/types/index.d.cts +1 -2
- package/dist/types/index.d.ts +1 -2
- package/dist/types/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-OOIPIHXS.js +0 -1
- /package/dist/{chunk-OOIPIHXS.js.map → chunk-KBQTBZDK.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -7,12 +7,11 @@ import { LibMdEditorOptions } from './types/components-items-props.cjs';
|
|
|
7
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
|
-
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,
|
|
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';
|
|
11
11
|
import * as react_toastify from 'react-toastify';
|
|
12
12
|
import { ToastContainerProps, ToastOptions } from 'react-toastify';
|
|
13
13
|
import 'csstype';
|
|
14
14
|
import 'fuse.js';
|
|
15
|
-
import 'react-syntax-highlighter';
|
|
16
15
|
import './types/require-at-least-one.cjs';
|
|
17
16
|
|
|
18
17
|
declare const URL_REGEX: RegExp;
|
|
@@ -2926,37 +2925,6 @@ declare const MarkdownEditor: FC$1<ILibMarkdownEditor>;
|
|
|
2926
2925
|
*/
|
|
2927
2926
|
declare const MarkdownContainer: FC$1<ILibMarkdownContainer>;
|
|
2928
2927
|
|
|
2929
|
-
/**
|
|
2930
|
-
* CodeContainer component for displaying syntax-highlighted code with optional copy functionality.
|
|
2931
|
-
*
|
|
2932
|
-
* @component
|
|
2933
|
-
*
|
|
2934
|
-
* @example
|
|
2935
|
-
* <CodeContainer>
|
|
2936
|
-
* const hello = "world";
|
|
2937
|
-
* console.log(hello);
|
|
2938
|
-
* </CodeContainer>
|
|
2939
|
-
*
|
|
2940
|
-
* @extends HTMLDivElement
|
|
2941
|
-
*
|
|
2942
|
-
* @prop {string} [props.className] - Additional CSS classes to apply to the code container.
|
|
2943
|
-
* @prop {React.ElementType} [props.element] - HTML element type to render as the container.
|
|
2944
|
-
* @prop {React.Ref<HTMLDivElement>} [props.ref] - Ref to the code container element.
|
|
2945
|
-
* @prop {React.ReactNode} [props.children] - Code content to display and highlight.
|
|
2946
|
-
* @prop {object} [props.highlighterProps] - Additional props to pass to the syntax highlighter.
|
|
2947
|
-
* @prop {LibAllColors} [props.textColor] - Text color for the code content.
|
|
2948
|
-
* @prop {LibAllColors} [props.backgroundColor] - Background color for the code content.
|
|
2949
|
-
* @prop {object} [props.style=atomOneDark] - Custom styles for the syntax highlighter.
|
|
2950
|
-
* @prop {boolean} [props.hideCopyButton] - Whether to hide the copy to clipboard button.
|
|
2951
|
-
* @prop {object} [props.tooltipTexts] - Custom tooltip texts for copy button states.
|
|
2952
|
-
* @prop {object} [props.icons] - Custom icons for copy button states.
|
|
2953
|
-
*
|
|
2954
|
-
* @returns {JSX.Element} The rendered CodeContainer component.
|
|
2955
|
-
*
|
|
2956
|
-
* @see https://doc-julseb-lib-react.vercel.app/components/code-container
|
|
2957
|
-
*/
|
|
2958
|
-
declare const CodeContainer: FC$1<ILibCodeContainer>;
|
|
2959
|
-
|
|
2960
2928
|
/**
|
|
2961
2929
|
* Fade component for creating smooth fade-in animations when elements enter the viewport.
|
|
2962
2930
|
*
|
|
@@ -3228,4 +3196,4 @@ declare const PageLayout: FC$1<ILibPageLayout>;
|
|
|
3228
3196
|
*/
|
|
3229
3197
|
declare const SrOnly: FC$1<ILibSrOnly>;
|
|
3230
3198
|
|
|
3231
|
-
export { Accordion, AccordionItem, Alert, Aside, Autocomplete, Avatar, BackToTop, Badge, Breadcrumbs, Burger, Button, ButtonGroup, ButtonIcon, COLORS,
|
|
3199
|
+
export { Accordion, AccordionItem, Alert, Aside, Autocomplete, Avatar, BackToTop, Badge, Breadcrumbs, Burger, Button, ButtonGroup, ButtonIcon, COLORS, Cover, DROP_SHADOWS, DragList, DragListItem, Drawer, Dropdown, DropdownItem, FONT_FAMILIES, FONT_SIZES, FONT_WEIGHTS, Fade, Fieldset, Flexbox, Footer, Form, Grid, Header, Highlight, Hr, ICON_MULTIPLIER, INPUT_HEIGHT, INSET_SHADOWS, Image, Input, InputCheck, InputContainer, InputCounter, InputImage, InputPhone, InputPin, InputSlider, Key, LAYOUTS, LINE_HEIGHTS, Linkify, ListGroup, ListGroupItem, ListGroupTitle, Loader, MEDIA, Main, MarkdownContainer, MarkdownEditor, Masonry, Meta, Modal, OVERLAYS, PageLayout, PageLoading, Pagination, PaginationButton, Paginator, ProgressBar, ProgressCircle, RADIUS, Rating, SHADOWS, SPACERS, Section, Select, Skeleton, SkeletonCard, Slideshow, SrOnly, Sticky, TEXT_BASE_CLASSES, TEXT_SHADOWS, TRANSITIONS, Table, Tabs, TabsButton, TabsButtonsContainer, TabsContainer, TabsContent, Tag, Text, ThemeProviderWrapper, Toast, ToastContainer, Tooltip, URL_REGEX, Wrapper, clsx, genAlignContent, genAlignItems, genBgAllColors, genBgAllColorsAndOverlays, genBgColor, genBgColor50, genBgColorGhostHover, genBgColorHover, genBgColorShort, genBgOverlay, genBorderAllColors, genBorderColor, genBorderColorHover, genBorderColorShort, genBorderRadius, genBoxShadow, genButtonColor, genButtonDisabled, genColGap, genGap, genJustifyContent, genJustifyItems, genLinkColor, genMaxWidth, genObjectFit, genRingColor, genRingColorChildren, genRowGap, genTextAlign, genTextAllColor, genTextColor, genTextColorHover, genTextColorShort, genVAlign, libMarkdownEditorOptions, libOptionsMarkdown, linkifyText, toast, useClickOutside, useCopyToClipboard, useDebounce, useExportData, useFetch, useForm, useIsOverflow, useKeyPress, useLibTheme, useMaxWidth, useMergeRefs, useMinWidth, usePaginatedData, usePagination, useTouchScreen, useTranslation };
|
package/dist/index.d.ts
CHANGED
|
@@ -7,12 +7,11 @@ import { LibMdEditorOptions } from './types/components-items-props.js';
|
|
|
7
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
|
-
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,
|
|
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';
|
|
11
11
|
import * as react_toastify from 'react-toastify';
|
|
12
12
|
import { ToastContainerProps, ToastOptions } from 'react-toastify';
|
|
13
13
|
import 'csstype';
|
|
14
14
|
import 'fuse.js';
|
|
15
|
-
import 'react-syntax-highlighter';
|
|
16
15
|
import './types/require-at-least-one.js';
|
|
17
16
|
|
|
18
17
|
declare const URL_REGEX: RegExp;
|
|
@@ -2926,37 +2925,6 @@ declare const MarkdownEditor: FC$1<ILibMarkdownEditor>;
|
|
|
2926
2925
|
*/
|
|
2927
2926
|
declare const MarkdownContainer: FC$1<ILibMarkdownContainer>;
|
|
2928
2927
|
|
|
2929
|
-
/**
|
|
2930
|
-
* CodeContainer component for displaying syntax-highlighted code with optional copy functionality.
|
|
2931
|
-
*
|
|
2932
|
-
* @component
|
|
2933
|
-
*
|
|
2934
|
-
* @example
|
|
2935
|
-
* <CodeContainer>
|
|
2936
|
-
* const hello = "world";
|
|
2937
|
-
* console.log(hello);
|
|
2938
|
-
* </CodeContainer>
|
|
2939
|
-
*
|
|
2940
|
-
* @extends HTMLDivElement
|
|
2941
|
-
*
|
|
2942
|
-
* @prop {string} [props.className] - Additional CSS classes to apply to the code container.
|
|
2943
|
-
* @prop {React.ElementType} [props.element] - HTML element type to render as the container.
|
|
2944
|
-
* @prop {React.Ref<HTMLDivElement>} [props.ref] - Ref to the code container element.
|
|
2945
|
-
* @prop {React.ReactNode} [props.children] - Code content to display and highlight.
|
|
2946
|
-
* @prop {object} [props.highlighterProps] - Additional props to pass to the syntax highlighter.
|
|
2947
|
-
* @prop {LibAllColors} [props.textColor] - Text color for the code content.
|
|
2948
|
-
* @prop {LibAllColors} [props.backgroundColor] - Background color for the code content.
|
|
2949
|
-
* @prop {object} [props.style=atomOneDark] - Custom styles for the syntax highlighter.
|
|
2950
|
-
* @prop {boolean} [props.hideCopyButton] - Whether to hide the copy to clipboard button.
|
|
2951
|
-
* @prop {object} [props.tooltipTexts] - Custom tooltip texts for copy button states.
|
|
2952
|
-
* @prop {object} [props.icons] - Custom icons for copy button states.
|
|
2953
|
-
*
|
|
2954
|
-
* @returns {JSX.Element} The rendered CodeContainer component.
|
|
2955
|
-
*
|
|
2956
|
-
* @see https://doc-julseb-lib-react.vercel.app/components/code-container
|
|
2957
|
-
*/
|
|
2958
|
-
declare const CodeContainer: FC$1<ILibCodeContainer>;
|
|
2959
|
-
|
|
2960
2928
|
/**
|
|
2961
2929
|
* Fade component for creating smooth fade-in animations when elements enter the viewport.
|
|
2962
2930
|
*
|
|
@@ -3228,4 +3196,4 @@ declare const PageLayout: FC$1<ILibPageLayout>;
|
|
|
3228
3196
|
*/
|
|
3229
3197
|
declare const SrOnly: FC$1<ILibSrOnly>;
|
|
3230
3198
|
|
|
3231
|
-
export { Accordion, AccordionItem, Alert, Aside, Autocomplete, Avatar, BackToTop, Badge, Breadcrumbs, Burger, Button, ButtonGroup, ButtonIcon, COLORS,
|
|
3199
|
+
export { Accordion, AccordionItem, Alert, Aside, Autocomplete, Avatar, BackToTop, Badge, Breadcrumbs, Burger, Button, ButtonGroup, ButtonIcon, COLORS, Cover, DROP_SHADOWS, DragList, DragListItem, Drawer, Dropdown, DropdownItem, FONT_FAMILIES, FONT_SIZES, FONT_WEIGHTS, Fade, Fieldset, Flexbox, Footer, Form, Grid, Header, Highlight, Hr, ICON_MULTIPLIER, INPUT_HEIGHT, INSET_SHADOWS, Image, Input, InputCheck, InputContainer, InputCounter, InputImage, InputPhone, InputPin, InputSlider, Key, LAYOUTS, LINE_HEIGHTS, Linkify, ListGroup, ListGroupItem, ListGroupTitle, Loader, MEDIA, Main, MarkdownContainer, MarkdownEditor, Masonry, Meta, Modal, OVERLAYS, PageLayout, PageLoading, Pagination, PaginationButton, Paginator, ProgressBar, ProgressCircle, RADIUS, Rating, SHADOWS, SPACERS, Section, Select, Skeleton, SkeletonCard, Slideshow, SrOnly, Sticky, TEXT_BASE_CLASSES, TEXT_SHADOWS, TRANSITIONS, Table, Tabs, TabsButton, TabsButtonsContainer, TabsContainer, TabsContent, Tag, Text, ThemeProviderWrapper, Toast, ToastContainer, Tooltip, URL_REGEX, Wrapper, clsx, genAlignContent, genAlignItems, genBgAllColors, genBgAllColorsAndOverlays, genBgColor, genBgColor50, genBgColorGhostHover, genBgColorHover, genBgColorShort, genBgOverlay, genBorderAllColors, genBorderColor, genBorderColorHover, genBorderColorShort, genBorderRadius, genBoxShadow, genButtonColor, genButtonDisabled, genColGap, genGap, genJustifyContent, genJustifyItems, genLinkColor, genMaxWidth, genObjectFit, genRingColor, genRingColorChildren, genRowGap, genTextAlign, genTextAllColor, genTextColor, genTextColorHover, genTextColorShort, genVAlign, libMarkdownEditorOptions, libOptionsMarkdown, linkifyText, toast, useClickOutside, useCopyToClipboard, useDebounce, useExportData, useFetch, useForm, useIsOverflow, useKeyPress, useLibTheme, useMaxWidth, useMergeRefs, useMinWidth, usePaginatedData, usePagination, useTouchScreen, useTranslation };
|