@julseb-lib/react 1.1.1 → 1.1.2
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/{Image-RZGG6J4R.js → Image-SOI547ZO.js} +2 -2
- package/dist/{chunk-2MIHOGHB.js → chunk-ZPUNEWJC.js} +3 -3
- package/dist/{chunk-2MIHOGHB.js.map → chunk-ZPUNEWJC.js.map} +1 -1
- package/dist/index.cjs +6 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -4
- package/dist/index.d.ts +2 -4
- package/dist/index.js +6 -8
- package/dist/index.js.map +1 -1
- package/dist/types/components-props.d.cts +1 -1
- package/dist/types/components-props.d.ts +1 -1
- package/package.json +1 -1
- /package/dist/{Image-RZGG6J4R.js.map → Image-SOI547ZO.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -66,7 +66,7 @@ declare const genBoxShadow: Record<LibShadows, string>;
|
|
|
66
66
|
|
|
67
67
|
declare const genVAlign: Record<CssVerticalAlign, string>;
|
|
68
68
|
|
|
69
|
-
declare const
|
|
69
|
+
declare const libMarkdownComponents: Components;
|
|
70
70
|
declare const libMarkdownEditorOptions: LibMdEditorOptions;
|
|
71
71
|
|
|
72
72
|
declare const genRingColor: Record<LibColorsHover, string>;
|
|
@@ -3113,8 +3113,6 @@ declare const MarkdownEditor: FC$1<ILibMarkdownEditor>;
|
|
|
3113
3113
|
*
|
|
3114
3114
|
* @extends HTMLDivElement
|
|
3115
3115
|
*
|
|
3116
|
-
* @prop {string} [className] - Additional CSS classes to apply to the markdown container.
|
|
3117
|
-
* @prop {React.Ref<HTMLDivElement>} [ref] - Ref to the markdown container element.
|
|
3118
3116
|
* @prop {string} [children] - Markdown content to parse and render.
|
|
3119
3117
|
* @prop {object} [components=markdownComponents] - Custom React components to override default Markdown rendering.
|
|
3120
3118
|
* @prop {(element: React.ElementType, props: any) => boolean} [allowElement] - Function to filter which elements are allowed.
|
|
@@ -3429,4 +3427,4 @@ declare const PageLayout: FC$1<ILibPageLayout>;
|
|
|
3429
3427
|
*/
|
|
3430
3428
|
declare const SrOnly: FC$1<ILibSrOnly>;
|
|
3431
3429
|
|
|
3432
|
-
export { Accordion, AccordionItem, Alert, Aside, Autocomplete, Avatar, BackToTop, Badge, Breadcrumbs, Burger, Button, ButtonGroup, ButtonIcon, COLORS, Carousel, CodeContainer, 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, LazyImage, Linkify, ListGroup, ListGroupItem, ListGroupTitle, Loader, MEDIA, Main, MarkdownContainer, MarkdownEditor, Masonry, Meta, Modal, OVERLAYS, PageLayout, PageLoading, Pagination, PaginationButton, Paginator, ProgressBar, ProgressCircle, RADIUSES, 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, countries, detectLanguage, disableScroll, enableScroll, 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, linkifyText,
|
|
3430
|
+
export { Accordion, AccordionItem, Alert, Aside, Autocomplete, Avatar, BackToTop, Badge, Breadcrumbs, Burger, Button, ButtonGroup, ButtonIcon, COLORS, Carousel, CodeContainer, 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, LazyImage, Linkify, ListGroup, ListGroupItem, ListGroupTitle, Loader, MEDIA, Main, MarkdownContainer, MarkdownEditor, Masonry, Meta, Modal, OVERLAYS, PageLayout, PageLoading, Pagination, PaginationButton, Paginator, ProgressBar, ProgressCircle, RADIUSES, 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, countries, detectLanguage, disableScroll, enableScroll, 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, libMarkdownComponents, libMarkdownEditorOptions, linkifyText, scrollToTop, toast, useClickOutside, useCopyToClipboard, useDebounce, useExportData, useFetch, useForm, useIsOverflow, useKeyPress, useLibTheme, useMaxWidth, useMergeRefs, useMinWidth, usePaginatedData, usePagination, useTextLineCount, useTouchScreen, useTranslation };
|
package/dist/index.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ declare const genBoxShadow: Record<LibShadows, string>;
|
|
|
66
66
|
|
|
67
67
|
declare const genVAlign: Record<CssVerticalAlign, string>;
|
|
68
68
|
|
|
69
|
-
declare const
|
|
69
|
+
declare const libMarkdownComponents: Components;
|
|
70
70
|
declare const libMarkdownEditorOptions: LibMdEditorOptions;
|
|
71
71
|
|
|
72
72
|
declare const genRingColor: Record<LibColorsHover, string>;
|
|
@@ -3113,8 +3113,6 @@ declare const MarkdownEditor: FC$1<ILibMarkdownEditor>;
|
|
|
3113
3113
|
*
|
|
3114
3114
|
* @extends HTMLDivElement
|
|
3115
3115
|
*
|
|
3116
|
-
* @prop {string} [className] - Additional CSS classes to apply to the markdown container.
|
|
3117
|
-
* @prop {React.Ref<HTMLDivElement>} [ref] - Ref to the markdown container element.
|
|
3118
3116
|
* @prop {string} [children] - Markdown content to parse and render.
|
|
3119
3117
|
* @prop {object} [components=markdownComponents] - Custom React components to override default Markdown rendering.
|
|
3120
3118
|
* @prop {(element: React.ElementType, props: any) => boolean} [allowElement] - Function to filter which elements are allowed.
|
|
@@ -3429,4 +3427,4 @@ declare const PageLayout: FC$1<ILibPageLayout>;
|
|
|
3429
3427
|
*/
|
|
3430
3428
|
declare const SrOnly: FC$1<ILibSrOnly>;
|
|
3431
3429
|
|
|
3432
|
-
export { Accordion, AccordionItem, Alert, Aside, Autocomplete, Avatar, BackToTop, Badge, Breadcrumbs, Burger, Button, ButtonGroup, ButtonIcon, COLORS, Carousel, CodeContainer, 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, LazyImage, Linkify, ListGroup, ListGroupItem, ListGroupTitle, Loader, MEDIA, Main, MarkdownContainer, MarkdownEditor, Masonry, Meta, Modal, OVERLAYS, PageLayout, PageLoading, Pagination, PaginationButton, Paginator, ProgressBar, ProgressCircle, RADIUSES, 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, countries, detectLanguage, disableScroll, enableScroll, 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, linkifyText,
|
|
3430
|
+
export { Accordion, AccordionItem, Alert, Aside, Autocomplete, Avatar, BackToTop, Badge, Breadcrumbs, Burger, Button, ButtonGroup, ButtonIcon, COLORS, Carousel, CodeContainer, 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, LazyImage, Linkify, ListGroup, ListGroupItem, ListGroupTitle, Loader, MEDIA, Main, MarkdownContainer, MarkdownEditor, Masonry, Meta, Modal, OVERLAYS, PageLayout, PageLoading, Pagination, PaginationButton, Paginator, ProgressBar, ProgressCircle, RADIUSES, 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, countries, detectLanguage, disableScroll, enableScroll, 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, libMarkdownComponents, libMarkdownEditorOptions, linkifyText, scrollToTop, toast, useClickOutside, useCopyToClipboard, useDebounce, useExportData, useFetch, useForm, useIsOverflow, useKeyPress, useLibTheme, useMaxWidth, useMergeRefs, useMinWidth, usePaginatedData, usePagination, useTextLineCount, useTouchScreen, useTranslation };
|
package/dist/index.js
CHANGED
|
@@ -44,11 +44,11 @@ import {
|
|
|
44
44
|
genTextColorHover,
|
|
45
45
|
genTextColorShort,
|
|
46
46
|
genVAlign,
|
|
47
|
+
libMarkdownComponents,
|
|
47
48
|
libMarkdownEditorOptions,
|
|
48
49
|
linkifyText,
|
|
49
|
-
markdownComponents,
|
|
50
50
|
scrollToTop
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ZPUNEWJC.js";
|
|
52
52
|
|
|
53
53
|
// #style-inject:#style-inject
|
|
54
54
|
function styleInject(css, { insertAt } = {}) {
|
|
@@ -1466,7 +1466,7 @@ var genPosition = {
|
|
|
1466
1466
|
// src/lib/components/LazyImage/LazyImage.tsx
|
|
1467
1467
|
import { Suspense, lazy } from "react";
|
|
1468
1468
|
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
1469
|
-
var Image2 = lazy(() => import("./Image-
|
|
1469
|
+
var Image2 = lazy(() => import("./Image-SOI547ZO.js"));
|
|
1470
1470
|
var LazyImage = ({
|
|
1471
1471
|
className,
|
|
1472
1472
|
ref,
|
|
@@ -67414,7 +67414,7 @@ var MarkdownEditor = ({
|
|
|
67414
67414
|
(view === "viewLive" || view === "viewPreview") && /* @__PURE__ */ jsx344("div", { className: "p-2 md-editor-markdown", children: /* @__PURE__ */ jsx344(
|
|
67415
67415
|
Markdown,
|
|
67416
67416
|
{
|
|
67417
|
-
components:
|
|
67417
|
+
components: libMarkdownComponents,
|
|
67418
67418
|
children: value
|
|
67419
67419
|
}
|
|
67420
67420
|
) })
|
|
@@ -67433,10 +67433,8 @@ import "react";
|
|
|
67433
67433
|
import Markdown2 from "react-markdown";
|
|
67434
67434
|
import { jsx as jsx345 } from "react/jsx-runtime";
|
|
67435
67435
|
var MarkdownContainer = ({
|
|
67436
|
-
className,
|
|
67437
|
-
ref,
|
|
67438
67436
|
children,
|
|
67439
|
-
components =
|
|
67437
|
+
components = libMarkdownComponents,
|
|
67440
67438
|
allowElement,
|
|
67441
67439
|
urlTransform,
|
|
67442
67440
|
...rest
|
|
@@ -68263,9 +68261,9 @@ export {
|
|
|
68263
68261
|
getTomorrow,
|
|
68264
68262
|
getYesterday,
|
|
68265
68263
|
hexToRgb,
|
|
68264
|
+
libMarkdownComponents,
|
|
68266
68265
|
libMarkdownEditorOptions,
|
|
68267
68266
|
linkifyText,
|
|
68268
|
-
markdownComponents,
|
|
68269
68267
|
passwordRegex,
|
|
68270
68268
|
rgbToHex,
|
|
68271
68269
|
scrollToTop,
|