@julseb-lib/react 0.1.32 → 0.1.34

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.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, ILibCodeContainer, ILibFade, ILibBackToTop, ILibDrawer, ILibHeader, ILibFooter, ILibMeta, ILibPageLayout, ILibSrOnly } from './types/components-props.cjs';
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, 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, 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 };
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, ILibCodeContainer, ILibFade, ILibBackToTop, ILibDrawer, ILibHeader, ILibFooter, ILibMeta, ILibPageLayout, ILibSrOnly } from './types/components-props.js';
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, 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, 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 };
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.js CHANGED
@@ -10843,86 +10843,9 @@ var MarkdownContainer = (_a) => {
10843
10843
  );
10844
10844
  };
10845
10845
 
10846
- // src/lib/components/CodeContainer/CodeContainer.tsx
10847
- import { useState as useState26 } from "react";
10848
- import SyntaxHighlighter from "react-syntax-highlighter";
10849
- import atomOneDark from "react-syntax-highlighter/dist/esm/styles/hljs/atom-one-dark.js";
10850
- import { BiCheck as BiCheck2, BiClipboard } from "react-icons/bi";
10851
- import { jsx as jsx120, jsxs as jsxs50 } from "react/jsx-runtime";
10852
- var CodeContainer = (_a) => {
10853
- var _b = _a, {
10854
- className,
10855
- element,
10856
- ref,
10857
- children,
10858
- highlighterProps,
10859
- textColor,
10860
- backgroundColor,
10861
- style = atomOneDark,
10862
- hideCopyButton,
10863
- tooltipTexts,
10864
- icons
10865
- } = _b, rest = __objRest(_b, [
10866
- "className",
10867
- "element",
10868
- "ref",
10869
- "children",
10870
- "highlighterProps",
10871
- "textColor",
10872
- "backgroundColor",
10873
- "style",
10874
- "hideCopyButton",
10875
- "tooltipTexts",
10876
- "icons"
10877
- ]);
10878
- var _a2, _b2, _c, _d;
10879
- const Element = element != null ? element : textColor || backgroundColor ? "pre" : "div";
10880
- const [hasCopied, setHasCopied] = useState26(false);
10881
- const copyToClipboard = () => {
10882
- if (children) {
10883
- let copyString = children.toString();
10884
- if (copyString[0] === "$") {
10885
- copyString = copyString.replace("$ ", "");
10886
- }
10887
- navigator.clipboard.writeText(copyString);
10888
- setHasCopied(true);
10889
- }
10890
- setTimeout(() => setHasCopied(false), 1e3);
10891
- };
10892
- return /* @__PURE__ */ jsxs50(
10893
- Element,
10894
- __spreadProps(__spreadValues({
10895
- ref,
10896
- className: clsx(
10897
- "relative outline-none",
10898
- "code-container-wrapper",
10899
- "[&>pre]:bg-gray-800! [&>pre]:p-4!",
10900
- textColor && genTextAllColor[textColor],
10901
- genRingColor["primary"],
10902
- className
10903
- )
10904
- }, rest), {
10905
- children: [
10906
- /* @__PURE__ */ jsx120(SyntaxHighlighter, { style, children }),
10907
- !hideCopyButton && /* @__PURE__ */ jsx120(
10908
- ButtonIcon,
10909
- {
10910
- className: clsx("size-8", "copy-button"),
10911
- onClick: copyToClipboard,
10912
- icon: hasCopied ? (_a2 = icons == null ? void 0 : icons.copied) != null ? _a2 : /* @__PURE__ */ jsx120(BiCheck2, { size: 16 }) : (_b2 = icons == null ? void 0 : icons.copy) != null ? _b2 : /* @__PURE__ */ jsx120(BiClipboard, { size: 16 }),
10913
- tooltip: hasCopied ? (_c = tooltipTexts == null ? void 0 : tooltipTexts.copied) != null ? _c : "Copied!" : (_d = tooltipTexts == null ? void 0 : tooltipTexts.copy) != null ? _d : "Copy",
10914
- color: hasCopied ? "success" : "primary",
10915
- showTooltip: { className: "absolute top-4 right-4" }
10916
- }
10917
- )
10918
- ]
10919
- })
10920
- );
10921
- };
10922
-
10923
10846
  // src/lib/components/Fade/Fade.tsx
10924
- import { useState as useState27, useRef as useRef19, useEffect as useEffect16 } from "react";
10925
- import { jsx as jsx121 } from "react/jsx-runtime";
10847
+ import { useState as useState26, useRef as useRef19, useEffect as useEffect16 } from "react";
10848
+ import { jsx as jsx120 } from "react/jsx-runtime";
10926
10849
  var Fade = (_a) => {
10927
10850
  var _b = _a, {
10928
10851
  className,
@@ -10936,7 +10859,7 @@ var Fade = (_a) => {
10936
10859
  "children"
10937
10860
  ]);
10938
10861
  const Element = element;
10939
- const [isVisible, setIsVisible] = useState27(true);
10862
+ const [isVisible, setIsVisible] = useState26(true);
10940
10863
  const fadeRef = useRef19(null);
10941
10864
  useEffect16(() => {
10942
10865
  const observer = new IntersectionObserver((entries) => {
@@ -10944,7 +10867,7 @@ var Fade = (_a) => {
10944
10867
  });
10945
10868
  observer.observe(fadeRef.current);
10946
10869
  }, []);
10947
- return /* @__PURE__ */ jsx121(
10870
+ return /* @__PURE__ */ jsx120(
10948
10871
  Element,
10949
10872
  __spreadProps(__spreadValues({
10950
10873
  ref: useMergeRefs([ref, fadeRef]),
@@ -10962,15 +10885,15 @@ var Fade = (_a) => {
10962
10885
  };
10963
10886
 
10964
10887
  // src/lib/components/BackToTop/BackToTop.tsx
10965
- import { useEffect as useEffect17, useState as useState28 } from "react";
10888
+ import { useEffect as useEffect17, useState as useState27 } from "react";
10966
10889
  import { BiUpArrowAlt } from "react-icons/bi";
10967
10890
  import { scrollToTop as scrollToTop2 } from "@julseb-lib/utils";
10968
- import { jsx as jsx122 } from "react/jsx-runtime";
10891
+ import { jsx as jsx121 } from "react/jsx-runtime";
10969
10892
  var BackToTop = (_a) => {
10970
10893
  var _b = _a, {
10971
10894
  className,
10972
10895
  ref,
10973
- icon = /* @__PURE__ */ jsx122(BiUpArrowAlt, {}),
10896
+ icon = /* @__PURE__ */ jsx121(BiUpArrowAlt, {}),
10974
10897
  color = "primary",
10975
10898
  tooltip = "Back to top",
10976
10899
  showTooltip
@@ -10982,7 +10905,7 @@ var BackToTop = (_a) => {
10982
10905
  "tooltip",
10983
10906
  "showTooltip"
10984
10907
  ]);
10985
- const [isVisible, setIsVisible] = useState28(false);
10908
+ const [isVisible, setIsVisible] = useState27(false);
10986
10909
  useEffect17(() => {
10987
10910
  const scrollFn = () => {
10988
10911
  if (window.scrollY >= 200) {
@@ -11003,7 +10926,7 @@ var BackToTop = (_a) => {
11003
10926
  document.documentElement.classList.remove("smooth");
11004
10927
  }, 1e3);
11005
10928
  };
11006
- return /* @__PURE__ */ jsx122(
10929
+ return /* @__PURE__ */ jsx121(
11007
10930
  ButtonIcon,
11008
10931
  __spreadValues({
11009
10932
  ref,
@@ -11032,7 +10955,7 @@ var BackToTop = (_a) => {
11032
10955
  import { useEffect as useEffect18, useRef as useRef20 } from "react";
11033
10956
  import { BiX as BiX5 } from "react-icons/bi";
11034
10957
  import { disableScroll as disableScroll2, enableScroll as enableScroll2, stringifyPx } from "@julseb-lib/utils";
11035
- import { jsx as jsx123, jsxs as jsxs51 } from "react/jsx-runtime";
10958
+ import { jsx as jsx122, jsxs as jsxs50 } from "react/jsx-runtime";
11036
10959
  var Drawer = (_a) => {
11037
10960
  var _b = _a, {
11038
10961
  className,
@@ -11079,7 +11002,7 @@ var Drawer = (_a) => {
11079
11002
  if (!enableScrollingOpen && isOpen) disableScroll2();
11080
11003
  else enableScroll2();
11081
11004
  }, [enableScrollingOpen, isOpen]);
11082
- return /* @__PURE__ */ jsxs51(
11005
+ return /* @__PURE__ */ jsxs50(
11083
11006
  Element,
11084
11007
  __spreadProps(__spreadValues({
11085
11008
  ref,
@@ -11092,7 +11015,7 @@ var Drawer = (_a) => {
11092
11015
  )
11093
11016
  }, rest), {
11094
11017
  children: [
11095
- /* @__PURE__ */ jsx123(
11018
+ /* @__PURE__ */ jsx122(
11096
11019
  "div",
11097
11020
  {
11098
11021
  className: clsx(
@@ -11105,7 +11028,7 @@ var Drawer = (_a) => {
11105
11028
  onClick: () => setIsOpen(false)
11106
11029
  }
11107
11030
  ),
11108
- /* @__PURE__ */ jsxs51(
11031
+ /* @__PURE__ */ jsxs50(
11109
11032
  "div",
11110
11033
  {
11111
11034
  className: clsx(
@@ -11123,10 +11046,10 @@ var Drawer = (_a) => {
11123
11046
  ref: el,
11124
11047
  children: [
11125
11048
  children,
11126
- !hideCloseButton && /* @__PURE__ */ jsx123(
11049
+ !hideCloseButton && /* @__PURE__ */ jsx122(
11127
11050
  ButtonIcon,
11128
11051
  {
11129
- icon: /* @__PURE__ */ jsx123(BiX5, { size: 24 }),
11052
+ icon: /* @__PURE__ */ jsx122(BiX5, { size: 24 }),
11130
11053
  color: "white",
11131
11054
  variant: "transparent",
11132
11055
  className: "top-2 right-2 absolute size-12",
@@ -11142,12 +11065,12 @@ var Drawer = (_a) => {
11142
11065
  };
11143
11066
 
11144
11067
  // src/lib/components/Header/Header.tsx
11145
- import { useState as useState29, useEffect as useEffect19, useRef as useRef21 } from "react";
11068
+ import { useState as useState28, useEffect as useEffect19, useRef as useRef21 } from "react";
11146
11069
  import { enableScroll as enableScroll3, disableScroll as disableScroll3 } from "@julseb-lib/utils";
11147
11070
 
11148
11071
  // src/lib/components/Header/HeaderSearch.tsx
11149
11072
  import { stringifyPx as stringifyPx2 } from "@julseb-lib/utils";
11150
- import { jsx as jsx124 } from "react/jsx-runtime";
11073
+ import { jsx as jsx123 } from "react/jsx-runtime";
11151
11074
  var HeaderSearch = ({ search, handleClose }) => {
11152
11075
  if (!search) return null;
11153
11076
  const {
@@ -11164,7 +11087,7 @@ var HeaderSearch = ({ search, handleClose }) => {
11164
11087
  maxWidth: maxWidth2 = 400,
11165
11088
  clearSearch
11166
11089
  } = search;
11167
- return /* @__PURE__ */ jsx124(
11090
+ return /* @__PURE__ */ jsx123(
11168
11091
  "form",
11169
11092
  {
11170
11093
  onSubmit: (e) => {
@@ -11173,7 +11096,7 @@ var HeaderSearch = ({ search, handleClose }) => {
11173
11096
  },
11174
11097
  className: clsx("w-full max-w-(--form-max-width)", "search-form"),
11175
11098
  style: { ["--form-max-width"]: stringifyPx2(maxWidth2) },
11176
- children: /* @__PURE__ */ jsx124(
11099
+ children: /* @__PURE__ */ jsx123(
11177
11100
  Input,
11178
11101
  {
11179
11102
  type: "search",
@@ -11195,7 +11118,7 @@ var HeaderSearch = ({ search, handleClose }) => {
11195
11118
  };
11196
11119
 
11197
11120
  // src/lib/components/Header/Header.tsx
11198
- import { Fragment as Fragment13, jsx as jsx125, jsxs as jsxs52 } from "react/jsx-runtime";
11121
+ import { Fragment as Fragment13, jsx as jsx124, jsxs as jsxs51 } from "react/jsx-runtime";
11199
11122
  var Header = (_a) => {
11200
11123
  var _b = _a, {
11201
11124
  className,
@@ -11239,8 +11162,8 @@ var Header = (_a) => {
11239
11162
  const Element = element;
11240
11163
  const isMobile = useMaxWidth(16 * 48);
11241
11164
  const el = useRef21(null);
11242
- const [isOpen, setIsOpen] = useState29(false);
11243
- const [isHidden, setIsHidden] = useState29(false);
11165
+ const [isOpen, setIsOpen] = useState28(false);
11166
+ const [isHidden, setIsHidden] = useState28(false);
11244
11167
  const handleOpen = () => {
11245
11168
  if (!enableScrollingOpen) disableScroll3();
11246
11169
  setIsOpen(true);
@@ -11274,9 +11197,9 @@ var Header = (_a) => {
11274
11197
  };
11275
11198
  const searchProps = { search, handleClose };
11276
11199
  const navProps = {
11277
- children: /* @__PURE__ */ jsxs52(Fragment13, { children: [
11200
+ children: /* @__PURE__ */ jsxs51(Fragment13, { children: [
11278
11201
  links ? links.map((link) => link) : nav ? nav : children,
11279
- isMobile && /* @__PURE__ */ jsx125(HeaderSearch, __spreadValues({}, searchProps))
11202
+ isMobile && /* @__PURE__ */ jsx124(HeaderSearch, __spreadValues({}, searchProps))
11280
11203
  ] }),
11281
11204
  className: clsx(
11282
11205
  "z-999 flex gap-2 [&>a]:outline-none transition-all duration-200 ease-in-out",
@@ -11305,7 +11228,7 @@ var Header = (_a) => {
11305
11228
  useClickOutside(el, () => {
11306
11229
  if (isOpen) handleClose();
11307
11230
  });
11308
- return /* @__PURE__ */ jsxs52(
11231
+ return /* @__PURE__ */ jsxs51(
11309
11232
  Element,
11310
11233
  __spreadProps(__spreadValues({
11311
11234
  ref,
@@ -11323,8 +11246,8 @@ var Header = (_a) => {
11323
11246
  )
11324
11247
  }, rest), {
11325
11248
  children: [
11326
- burgerPosition === "left" && /* @__PURE__ */ jsx125(Burger, __spreadValues({}, burgerProps)),
11327
- /* @__PURE__ */ jsx125(
11249
+ burgerPosition === "left" && /* @__PURE__ */ jsx124(Burger, __spreadValues({}, burgerProps)),
11250
+ /* @__PURE__ */ jsx124(
11328
11251
  "span",
11329
11252
  {
11330
11253
  className: clsx(
@@ -11334,10 +11257,10 @@ var Header = (_a) => {
11334
11257
  children: logo
11335
11258
  }
11336
11259
  ),
11337
- navDesktopPosition === "left" && /* @__PURE__ */ jsx125("nav", __spreadValues({}, navProps)),
11338
- !isMobile && navDesktopPosition === "right" && /* @__PURE__ */ jsx125(HeaderSearch, __spreadValues({}, searchProps)),
11339
- burgerPosition === "right" && /* @__PURE__ */ jsx125(Burger, __spreadValues({}, burgerProps)),
11340
- isMobile && navMobileVariant === "drawer" && /* @__PURE__ */ jsx125(
11260
+ navDesktopPosition === "left" && /* @__PURE__ */ jsx124("nav", __spreadValues({}, navProps)),
11261
+ !isMobile && navDesktopPosition === "right" && /* @__PURE__ */ jsx124(HeaderSearch, __spreadValues({}, searchProps)),
11262
+ burgerPosition === "right" && /* @__PURE__ */ jsx124(Burger, __spreadValues({}, burgerProps)),
11263
+ isMobile && navMobileVariant === "drawer" && /* @__PURE__ */ jsx124(
11341
11264
  "div",
11342
11265
  {
11343
11266
  className: clsx(
@@ -11349,8 +11272,8 @@ var Header = (_a) => {
11349
11272
  onClick: handleClose
11350
11273
  }
11351
11274
  ),
11352
- navDesktopPosition === "right" && /* @__PURE__ */ jsx125("nav", __spreadValues({}, navProps)),
11353
- !isMobile && navDesktopPosition === "left" && /* @__PURE__ */ jsx125(HeaderSearch, __spreadValues({}, searchProps))
11275
+ navDesktopPosition === "right" && /* @__PURE__ */ jsx124("nav", __spreadValues({}, navProps)),
11276
+ !isMobile && navDesktopPosition === "left" && /* @__PURE__ */ jsx124(HeaderSearch, __spreadValues({}, searchProps))
11354
11277
  ]
11355
11278
  })
11356
11279
  );
@@ -11359,7 +11282,7 @@ var Header = (_a) => {
11359
11282
  // src/lib/components/Footer/Footer.tsx
11360
11283
  import { Children as Children4, Fragment as Fragment14 } from "react";
11361
11284
  import { uuid as uuid14 } from "@julseb-lib/utils";
11362
- import { jsx as jsx126, jsxs as jsxs53 } from "react/jsx-runtime";
11285
+ import { jsx as jsx125, jsxs as jsxs52 } from "react/jsx-runtime";
11363
11286
  var Footer = (_a) => {
11364
11287
  var _b = _a, {
11365
11288
  className,
@@ -11389,7 +11312,7 @@ var Footer = (_a) => {
11389
11312
  var _a2;
11390
11313
  const Element = element;
11391
11314
  const childrenArray = Children4.toArray(children);
11392
- return /* @__PURE__ */ jsxs53(
11315
+ return /* @__PURE__ */ jsxs52(
11393
11316
  Element,
11394
11317
  __spreadProps(__spreadValues({
11395
11318
  ref,
@@ -11403,9 +11326,9 @@ var Footer = (_a) => {
11403
11326
  }, rest), {
11404
11327
  children: [
11405
11328
  logo,
11406
- /* @__PURE__ */ jsx126("div", { className: "flex items-container gap-2", children: (_a2 = items == null ? void 0 : items.map((item, i) => /* @__PURE__ */ jsxs53(Fragment14, { children: [
11329
+ /* @__PURE__ */ jsx125("div", { className: "flex items-container gap-2", children: (_a2 = items == null ? void 0 : items.map((item, i) => /* @__PURE__ */ jsxs52(Fragment14, { children: [
11407
11330
  item,
11408
- i !== items.length - 1 && !hideLinksSeparator && /* @__PURE__ */ jsx126(
11331
+ i !== items.length - 1 && !hideLinksSeparator && /* @__PURE__ */ jsx125(
11409
11332
  "span",
11410
11333
  {
11411
11334
  className: clsx(
@@ -11414,7 +11337,7 @@ var Footer = (_a) => {
11414
11337
  children: linksSeparator === "dot" ? "\u2022" : "-"
11415
11338
  }
11416
11339
  )
11417
- ] }, uuid14()))) != null ? _a2 : childrenArray.map((child, i) => /* @__PURE__ */ jsxs53(Fragment14, { children: [
11340
+ ] }, uuid14()))) != null ? _a2 : childrenArray.map((child, i) => /* @__PURE__ */ jsxs52(Fragment14, { children: [
11418
11341
  child,
11419
11342
  i !== childrenArray.length - 1 && !hideLinksSeparator && (linksSeparator === "dot" ? "\u2022" : "-")
11420
11343
  ] }, uuid14())) })
@@ -11424,7 +11347,7 @@ var Footer = (_a) => {
11424
11347
  };
11425
11348
 
11426
11349
  // src/lib/components/Meta/Meta.tsx
11427
- import { Fragment as Fragment15, jsx as jsx127, jsxs as jsxs54 } from "react/jsx-runtime";
11350
+ import { Fragment as Fragment15, jsx as jsx126, jsxs as jsxs53 } from "react/jsx-runtime";
11428
11351
  var Meta = ({
11429
11352
  children,
11430
11353
  title,
@@ -11446,59 +11369,59 @@ var Meta = ({
11446
11369
  category,
11447
11370
  twitterCard = "summary"
11448
11371
  }) => {
11449
- return /* @__PURE__ */ jsxs54(Fragment15, { children: [
11450
- /* @__PURE__ */ jsx127("meta", { charSet: "utf-8" }),
11451
- /* @__PURE__ */ jsx127(
11372
+ return /* @__PURE__ */ jsxs53(Fragment15, { children: [
11373
+ /* @__PURE__ */ jsx126("meta", { charSet: "utf-8" }),
11374
+ /* @__PURE__ */ jsx126(
11452
11375
  "meta",
11453
11376
  {
11454
11377
  name: "viewport",
11455
11378
  content: "width=device-width, initial-scale=1"
11456
11379
  }
11457
11380
  ),
11458
- title && /* @__PURE__ */ jsxs54(Fragment15, { children: [
11459
- /* @__PURE__ */ jsx127("title", { children: title }),
11460
- /* @__PURE__ */ jsx127("meta", { property: "og:title", content: title }),
11461
- /* @__PURE__ */ jsx127("meta", { name: "twitter:title", content: title })
11381
+ title && /* @__PURE__ */ jsxs53(Fragment15, { children: [
11382
+ /* @__PURE__ */ jsx126("title", { children: title }),
11383
+ /* @__PURE__ */ jsx126("meta", { property: "og:title", content: title }),
11384
+ /* @__PURE__ */ jsx126("meta", { name: "twitter:title", content: title })
11462
11385
  ] }),
11463
- description && /* @__PURE__ */ jsxs54(Fragment15, { children: [
11464
- /* @__PURE__ */ jsx127("meta", { name: "description", content: description }),
11465
- /* @__PURE__ */ jsx127("meta", { property: "og:description", content: description }),
11466
- /* @__PURE__ */ jsx127("meta", { name: "twitter:description", content: description })
11386
+ description && /* @__PURE__ */ jsxs53(Fragment15, { children: [
11387
+ /* @__PURE__ */ jsx126("meta", { name: "description", content: description }),
11388
+ /* @__PURE__ */ jsx126("meta", { property: "og:description", content: description }),
11389
+ /* @__PURE__ */ jsx126("meta", { name: "twitter:description", content: description })
11467
11390
  ] }),
11468
- siteName && /* @__PURE__ */ jsxs54(Fragment15, { children: [
11469
- /* @__PURE__ */ jsx127("meta", { name: "application-name", content: siteName }),
11470
- /* @__PURE__ */ jsx127("meta", { property: "og:site_name", content: siteName })
11391
+ siteName && /* @__PURE__ */ jsxs53(Fragment15, { children: [
11392
+ /* @__PURE__ */ jsx126("meta", { name: "application-name", content: siteName }),
11393
+ /* @__PURE__ */ jsx126("meta", { property: "og:site_name", content: siteName })
11471
11394
  ] }),
11472
- author && /* @__PURE__ */ jsxs54(Fragment15, { children: [
11473
- /* @__PURE__ */ jsx127("meta", { name: "author", content: author }),
11474
- /* @__PURE__ */ jsx127("meta", { name: "twitter:creator", content: author })
11395
+ author && /* @__PURE__ */ jsxs53(Fragment15, { children: [
11396
+ /* @__PURE__ */ jsx126("meta", { name: "author", content: author }),
11397
+ /* @__PURE__ */ jsx126("meta", { name: "twitter:creator", content: author })
11475
11398
  ] }),
11476
- url && /* @__PURE__ */ jsxs54(Fragment15, { children: [
11477
- /* @__PURE__ */ jsx127("meta", { property: "og:url", content: url }),
11478
- /* @__PURE__ */ jsx127("meta", { name: "twitter:site", content: url })
11399
+ url && /* @__PURE__ */ jsxs53(Fragment15, { children: [
11400
+ /* @__PURE__ */ jsx126("meta", { property: "og:url", content: url }),
11401
+ /* @__PURE__ */ jsx126("meta", { name: "twitter:site", content: url })
11479
11402
  ] }),
11480
- cover && /* @__PURE__ */ jsxs54(Fragment15, { children: [
11481
- /* @__PURE__ */ jsx127("meta", { property: "og:image", content: cover }),
11482
- /* @__PURE__ */ jsx127("meta", { name: "twitter:image", content: cover })
11403
+ cover && /* @__PURE__ */ jsxs53(Fragment15, { children: [
11404
+ /* @__PURE__ */ jsx126("meta", { property: "og:image", content: cover }),
11405
+ /* @__PURE__ */ jsx126("meta", { name: "twitter:image", content: cover })
11483
11406
  ] }),
11484
- authorUrl && /* @__PURE__ */ jsx127("link", { rel: "author", href: authorUrl }),
11485
- manifest && /* @__PURE__ */ jsx127("link", { rel: "manifest", href: manifest }),
11486
- generator && /* @__PURE__ */ jsx127("meta", { name: "generator", content: generator }),
11487
- keywords && /* @__PURE__ */ jsx127("meta", { name: "keywords", content: keywords == null ? void 0 : keywords.join(",") }),
11488
- creator && /* @__PURE__ */ jsx127("meta", { name: "creator", content: creator }),
11489
- publisher && /* @__PURE__ */ jsx127("meta", { name: "publisher", content: publisher }),
11490
- category && /* @__PURE__ */ jsx127("meta", { name: "category", content: category }),
11491
- language && /* @__PURE__ */ jsx127("meta", { property: "og:locale", content: language }),
11492
- email && /* @__PURE__ */ jsx127("meta", { property: "og:email", content: email }),
11493
- type && /* @__PURE__ */ jsx127("meta", { property: "og:type", content: type }),
11494
- twitterCard && /* @__PURE__ */ jsx127("meta", { name: "twitter:card", content: twitterCard }),
11495
- favicon && /* @__PURE__ */ jsx127("link", { rel: "icon", href: favicon }),
11407
+ authorUrl && /* @__PURE__ */ jsx126("link", { rel: "author", href: authorUrl }),
11408
+ manifest && /* @__PURE__ */ jsx126("link", { rel: "manifest", href: manifest }),
11409
+ generator && /* @__PURE__ */ jsx126("meta", { name: "generator", content: generator }),
11410
+ keywords && /* @__PURE__ */ jsx126("meta", { name: "keywords", content: keywords == null ? void 0 : keywords.join(",") }),
11411
+ creator && /* @__PURE__ */ jsx126("meta", { name: "creator", content: creator }),
11412
+ publisher && /* @__PURE__ */ jsx126("meta", { name: "publisher", content: publisher }),
11413
+ category && /* @__PURE__ */ jsx126("meta", { name: "category", content: category }),
11414
+ language && /* @__PURE__ */ jsx126("meta", { property: "og:locale", content: language }),
11415
+ email && /* @__PURE__ */ jsx126("meta", { property: "og:email", content: email }),
11416
+ type && /* @__PURE__ */ jsx126("meta", { property: "og:type", content: type }),
11417
+ twitterCard && /* @__PURE__ */ jsx126("meta", { name: "twitter:card", content: twitterCard }),
11418
+ favicon && /* @__PURE__ */ jsx126("link", { rel: "icon", href: favicon }),
11496
11419
  children
11497
11420
  ] });
11498
11421
  };
11499
11422
 
11500
11423
  // src/lib/components/PageLayout/PageLayout.tsx
11501
- import { Fragment as Fragment16, jsx as jsx128, jsxs as jsxs55 } from "react/jsx-runtime";
11424
+ import { Fragment as Fragment16, jsx as jsx127, jsxs as jsxs54 } from "react/jsx-runtime";
11502
11425
  var PageLayout = ({
11503
11426
  children,
11504
11427
  meta,
@@ -11509,19 +11432,19 @@ var PageLayout = ({
11509
11432
  noWrapper,
11510
11433
  noMain
11511
11434
  }) => {
11512
- return /* @__PURE__ */ jsxs55(Fragment16, { children: [
11513
- meta && /* @__PURE__ */ jsx128(Meta, __spreadValues({}, meta)),
11514
- header && /* @__PURE__ */ jsx128(Header, __spreadValues({}, header)),
11515
- !noWrapper && /* @__PURE__ */ jsx128(Wrapper, __spreadProps(__spreadValues({}, wrapperProps), { children: !noMain ? /* @__PURE__ */ jsx128(Main, __spreadProps(__spreadValues({}, mainProps), { children })) : children })),
11516
- footer && /* @__PURE__ */ jsx128(Footer, __spreadValues({}, footer))
11435
+ return /* @__PURE__ */ jsxs54(Fragment16, { children: [
11436
+ meta && /* @__PURE__ */ jsx127(Meta, __spreadValues({}, meta)),
11437
+ header && /* @__PURE__ */ jsx127(Header, __spreadValues({}, header)),
11438
+ !noWrapper && /* @__PURE__ */ jsx127(Wrapper, __spreadProps(__spreadValues({}, wrapperProps), { children: !noMain ? /* @__PURE__ */ jsx127(Main, __spreadProps(__spreadValues({}, mainProps), { children })) : children })),
11439
+ footer && /* @__PURE__ */ jsx127(Footer, __spreadValues({}, footer))
11517
11440
  ] });
11518
11441
  };
11519
11442
 
11520
11443
  // src/lib/components/SrOnly/SrOnly.tsx
11521
- import { jsx as jsx129 } from "react/jsx-runtime";
11444
+ import { jsx as jsx128 } from "react/jsx-runtime";
11522
11445
  var SrOnly = ({ element = "div", ref, children }) => {
11523
11446
  const Element = element;
11524
- return /* @__PURE__ */ jsx129(Element, { ref, className: clsx("sr-only"), children });
11447
+ return /* @__PURE__ */ jsx128(Element, { ref, className: clsx("sr-only"), children });
11525
11448
  };
11526
11449
  export {
11527
11450
  Accordion,
@@ -11538,7 +11461,6 @@ export {
11538
11461
  ButtonGroup,
11539
11462
  ButtonIcon,
11540
11463
  COLORS,
11541
- CodeContainer,
11542
11464
  Cover,
11543
11465
  DROP_SHADOWS,
11544
11466
  DragList,