@julseb-lib/react 1.1.34 → 1.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/index.css CHANGED
@@ -4,8 +4,6 @@
4
4
 
5
5
  :root {
6
6
  --font-lato: "Lato", sans-serif;
7
- --font-sans: var(--font-lato);
8
- --font-mono: monospace;
9
7
 
10
8
  --color-primary-50: var(--color-blue-50);
11
9
  --color-primary-100: var(--color-blue-100);
@@ -90,12 +88,22 @@
90
88
  --color-overlay-gradient-black: linear-gradient(
91
89
  180deg,
92
90
  rgba(255, 255, 255, 0) 0%,
93
- rgba(0, 0, 0, 0.56) 100%
91
+ rgba(0, 0, 0, 0.5) 100%
94
92
  );
95
93
  --color-overlay-gradient-white: linear-gradient(
96
94
  180deg,
97
95
  rgba(0, 0, 0, 0) 0%,
98
- rgba(255, 255, 255, 0.35) 100%
96
+ rgba(255, 255, 255, 0.8) 100%
97
+ );
98
+ --color-overlay-gradient-theme-bg: linear-gradient(
99
+ 180deg,
100
+ rgba(0, 0, 0, 0) 0%,
101
+ rgba(255, 255, 255, 0.8) 100%
102
+ );
103
+ --color-overlay-gradient-theme-text: linear-gradient(
104
+ 180deg,
105
+ rgba(255, 255, 255, 0) 0%,
106
+ rgba(0, 0, 0, 0.5) 100%
99
107
  );
100
108
 
101
109
  --font-sans: var(--font-lato);
@@ -226,25 +234,23 @@
226
234
  --color-background: var(--color-white);
227
235
  --color-font: var(--color-black);
228
236
 
229
- --font-weight-thin: 100;
230
- --font-weight-light: 300;
237
+ --font-weight-thin: var(--font-weight-thin);
238
+ --font-weight-light: var(--font-weight-light);
231
239
  --font-weight-normal: 400;
232
240
  --font-weight-bold: 700;
233
241
  --font-weight-black: 900;
234
242
 
235
- --color-overlay-black-50: rgba(0, 0, 0, 0.5);
236
- --color-overlay-black-80: rgba(0, 0, 0, 0.8);
237
- --color-overlay-white-50: rgba(255, 255, 255, 0.5);
238
- --color-overlay-white-80: rgba(255, 255, 255, 0.8);
239
- --color-overlay-gradient-black: linear-gradient(
240
- 180deg,
241
- rgba(255, 255, 255, 0) 0%,
242
- rgba(0, 0, 0, 0.56) 100%
243
+ --color-overlay-black-50: var(--color-overlay-black-50);
244
+ --color-overlay-black-80: var(--color-overlay-black-80);
245
+ --color-overlay-white-50: var(--color-overlay-white-50);
246
+ --color-overlay-white-80: var(--color-overlay-white-80);
247
+ --color-overlay-gradient-black: var(--color-overlay-gradient-black);
248
+ --color-overlay-gradient-white: var(--color-overlay-gradient-white);
249
+ --color-overlay-gradient-theme-bg: var(
250
+ --color-overlay-gradient-theme-light
243
251
  );
244
- --color-overlay-gradient-white: linear-gradient(
245
- 180deg,
246
- rgba(0, 0, 0, 0) 0%,
247
- rgba(255, 255, 255, 0.35) 100%
252
+ --color-overlay-gradient-theme-text: var(
253
+ --color-overlay-gradient-theme-dark
248
254
  );
249
255
 
250
256
  --font-sans: var(--font-lato);
@@ -392,6 +398,17 @@ body {
392
398
 
393
399
  --color-background: var(--color-black);
394
400
  --color-font: var(--color-white);
401
+
402
+ --color-overlay-gradient-theme-bg: linear-gradient(
403
+ 180deg,
404
+ rgba(255, 255, 255, 0) 0%,
405
+ rgba(0, 0, 0, 0.5) 100%
406
+ );
407
+ --color-overlay-gradient-theme-text: linear-gradient(
408
+ 180deg,
409
+ rgba(0, 0, 0, 0) 0%,
410
+ rgba(255, 255, 255, 0.8) 100%
411
+ );
395
412
  }
396
413
 
397
414
  .smooth {
@@ -567,6 +584,14 @@ iframe {
567
584
  background: var(--color-overlay-gradient-white);
568
585
  }
569
586
 
587
+ .bg-overlay-gradient-theme-bg {
588
+ background: var(--color-overlay-gradient-theme-bg);
589
+ }
590
+
591
+ .bg-overlay-gradient-theme-text {
592
+ background: var(--overlay-gradient-theme-text);
593
+ }
594
+
570
595
  /*====================== Keyframes & animations ======================*/
571
596
 
572
597
  @keyframes shine {
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { c as LibColorsHover, af as CssTextAlign, L as LibColors, a as LibColorsShort, b as LibAllColors, e as LibOverlays, f as LibAllColorsAndOverlays, k as LibSpacers, ak as CssAlignContent, ai as CssAlignItems, aj as CssJustifyContent, ah as CssJustifyItems, E as LibMaxWidth, l as LibRadiuses, an as CssObjectFit, u as LibButtonVariantExtended, j as LibShadows, ag as CssVerticalAlign, h as LibFontSizes, i as LibFontWeights, ad as DispatchState, a5 as TranslateLang, aa as ReactChildren, p as LibThemeNames, ac as FC$1, a7 as LibCountry, ab as ReactElement, s as LibLoaderVariant } from './global-BFS193oO.cjs';
2
- export { av as designTokens } from './global-BFS193oO.cjs';
1
+ import { c as LibColorsHover, af as CssTextAlign, L as LibColors, a as LibColorsShort, b as LibAllColors, e as LibOverlays, f as LibAllColorsAndOverlays, k as LibSpacers, ak as CssAlignContent, ai as CssAlignItems, aj as CssJustifyContent, ah as CssJustifyItems, E as LibMaxWidth, l as LibRadiuses, an as CssObjectFit, u as LibButtonVariantExtended, j as LibShadows, ag as CssVerticalAlign, h as LibFontSizes, i as LibFontWeights, ad as DispatchState, a5 as TranslateLang, aa as ReactChildren, p as LibThemeNames, ac as FC$1, a7 as LibCountry, ab as ReactElement, s as LibLoaderVariant } from './global-CQBsO8PJ.cjs';
2
+ export { av as designTokens } from './global-CQBsO8PJ.cjs';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import { ClassNameValue } from 'tailwind-merge';
5
5
  import { LibMdEditorOptions } from './types/components-items-props.cjs';
@@ -7,7 +7,7 @@ import { Components } from 'react-markdown';
7
7
  export { addDay, addMonth, addYear, calculateAverage, calculateTotalSum, capitalize, convertDate, convertDateShort, convertPrice, convertTime, convertToEmail, convertYoutube, decrypt, deleteDuplicates, emailRegex, encrypt, filterObject, formatDate, formatHour, generateNumbers, getFirstName, getInitials, getLastName, getNextDay, getPercentage, getRandom, getRandomAvatar, getRandomDate, getRandomNumber, getRandomString, getRandomTime, getTimeNow, getToday, getTomorrow, getYesterday, hexToRgb, passwordRegex, rgbToHex, 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$2 } from 'react';
10
- import { ILibText, ILibWrapper, ILibMain, ILibAside, ILibSection, ILibGrid, ILibFlexbox, ILibKey, ILibHighlight, ILibLinkify, ILibHr, ILibSkeleton, ILibSkeletonCard, ILibTooltip, ILibImage, ILibLazyImage, 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, ILibTabsContent, ILibSlideshow, ILibCarousel, 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, ILibLazyImage, 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, ILibCollapsedText, ILibAccordion, ILibAccordionItem, ILibDropdown, ILibDropdownItem, ILibToast, ILibAlert, ILibModal, ILibDragList, ILibDragListItem, ILibPagination, ILibPaginationButton, ILibPaginator, ILibProgressBar, ILibProgressCircle, ILibTabs, ILibTabsContainer, ILibTabsButtonsContainer, ILibTabsButton, ILibTabsContent, ILibSlideshow, ILibCarousel, ILibCover, ILibTable, ILibPageLoading, ILibSticky, ILibMarkdownEditor, ILibMarkdownContainer, ILibCodeContainer, 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';
@@ -997,7 +997,11 @@ declare enum OVERLAYS {
997
997
  /** rgba(255, 255, 255, 0.5) */ WHITE_50 = "var(--color-overlay-white-50)",
998
998
  /** rgba(69, 35, 35, 0.8) */ WHITE_80 = "var(--color-overlay-white-80)",
999
999
  /** linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.56) 100%) */ GRADIENT_BLACK = "var(--color-overlay-gradient-black)",
1000
- /** linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.35) 100%) */ GRADIENT_WHITE = "var(--color-overlay-gradient-white)"
1000
+ /** linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.35) 100%) */ GRADIENT_WHITE = "var(--color-overlay-gradient-white)",
1001
+ /** light: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.35) 100%); dark: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.56) 100%) */
1002
+ GRADIENT_THEME_BG = "var(--color-overlay-gradient-theme-bg)",
1003
+ /** light: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.56) 100%); dark: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.35) 100%) */
1004
+ GRADIENT_THEME_TEXT = "var(--color-overlay-gradient-theme-text)"
1001
1005
  }
1002
1006
  declare enum FONT_FAMILIES {
1003
1007
  /** Primary font family for body text */ SANS = "var(--font-sans)",
@@ -2492,6 +2496,33 @@ declare const ListGroupItem: FC$2<ILibListGroupItem>;
2492
2496
  */
2493
2497
  declare const Breadcrumbs: FC$2<ILibBreadcrumbs>;
2494
2498
 
2499
+ /**
2500
+ * CollapsedText is a component that displays text content with the ability to expand or collapse it, showing a limited number of lines by default and a button to toggle visibility.
2501
+ *
2502
+ * @component
2503
+ *
2504
+ * @example
2505
+ * <CollapsedText collapsedMaxLines={2} texts={{ read: "Show", more: "more", less: "less" }}>
2506
+ * Lorem ipsum dolor sit amet, consectetur adipiscing elit.
2507
+ * </CollapsedText>
2508
+ *
2509
+ * @extends ILibCollapsedText
2510
+ *
2511
+ * @prop {string} [props.className] - Additional class names to apply to the root element.
2512
+ * @prop {keyof JSX.IntrinsicElements} [props.element="div"] - The HTML element to render as the root. Default is "div".
2513
+ * @prop {React.Ref<HTMLDivElement>} [props.ref] - Ref to the root element.
2514
+ * @prop {React.ReactNode} [props.children] - The text or elements to display inside the component.
2515
+ * @prop {boolean} [props.defaultOpen] - If true, the text is expanded by default.
2516
+ * @prop {{ read?: string; more?: string; less?: string }} [props.texts] - Customizable button texts for "read", "more", and "less".
2517
+ * @prop {ILibText} [props.textProps] - Additional props to pass to the inner Text component.
2518
+ * @prop {number} [props.collapsedMaxLines=3] - Number of lines to show when collapsed. Default is 3.
2519
+ *
2520
+ * @returns {JSX.Element} The rendered CollapsedText component with expand/collapse functionality.
2521
+ *
2522
+ * @see https://julseb-lib.vercel.app/components/CollapsedText
2523
+ */
2524
+ declare const CollapsedText: FC$2<ILibCollapsedText>;
2525
+
2495
2526
  /**
2496
2527
  * Accordion component for creating collapsible content sections with customizable styling and expandable items.
2497
2528
  *
@@ -3744,4 +3775,4 @@ declare const PageLayout: FC$2<ILibPageLayout>;
3744
3775
  */
3745
3776
  declare const SrOnly: FC$2<ILibSrOnly>;
3746
3777
 
3747
- 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, ModalOpenProviderWrapper, 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, genFontSize, genFontWeight, 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, useModalOpen, usePaginatedData, usePagination, useTextLineCount, useTouchScreen, useTranslation };
3778
+ export { Accordion, AccordionItem, Alert, Aside, Autocomplete, Avatar, BackToTop, Badge, Breadcrumbs, Burger, Button, ButtonGroup, ButtonIcon, COLORS, Carousel, CodeContainer, CollapsedText, 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, ModalOpenProviderWrapper, 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, genFontSize, genFontWeight, 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, useModalOpen, usePaginatedData, usePagination, useTextLineCount, useTouchScreen, useTranslation };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { c as LibColorsHover, af as CssTextAlign, L as LibColors, a as LibColorsShort, b as LibAllColors, e as LibOverlays, f as LibAllColorsAndOverlays, k as LibSpacers, ak as CssAlignContent, ai as CssAlignItems, aj as CssJustifyContent, ah as CssJustifyItems, E as LibMaxWidth, l as LibRadiuses, an as CssObjectFit, u as LibButtonVariantExtended, j as LibShadows, ag as CssVerticalAlign, h as LibFontSizes, i as LibFontWeights, ad as DispatchState, a5 as TranslateLang, aa as ReactChildren, p as LibThemeNames, ac as FC$1, a7 as LibCountry, ab as ReactElement, s as LibLoaderVariant } from './global-BFS193oO.js';
2
- export { av as designTokens } from './global-BFS193oO.js';
1
+ import { c as LibColorsHover, af as CssTextAlign, L as LibColors, a as LibColorsShort, b as LibAllColors, e as LibOverlays, f as LibAllColorsAndOverlays, k as LibSpacers, ak as CssAlignContent, ai as CssAlignItems, aj as CssJustifyContent, ah as CssJustifyItems, E as LibMaxWidth, l as LibRadiuses, an as CssObjectFit, u as LibButtonVariantExtended, j as LibShadows, ag as CssVerticalAlign, h as LibFontSizes, i as LibFontWeights, ad as DispatchState, a5 as TranslateLang, aa as ReactChildren, p as LibThemeNames, ac as FC$1, a7 as LibCountry, ab as ReactElement, s as LibLoaderVariant } from './global-CQBsO8PJ.js';
2
+ export { av as designTokens } from './global-CQBsO8PJ.js';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import { ClassNameValue } from 'tailwind-merge';
5
5
  import { LibMdEditorOptions } from './types/components-items-props.js';
@@ -7,7 +7,7 @@ import { Components } from 'react-markdown';
7
7
  export { addDay, addMonth, addYear, calculateAverage, calculateTotalSum, capitalize, convertDate, convertDateShort, convertPrice, convertTime, convertToEmail, convertYoutube, decrypt, deleteDuplicates, emailRegex, encrypt, filterObject, formatDate, formatHour, generateNumbers, getFirstName, getInitials, getLastName, getNextDay, getPercentage, getRandom, getRandomAvatar, getRandomDate, getRandomNumber, getRandomString, getRandomTime, getTimeNow, getToday, getTomorrow, getYesterday, hexToRgb, passwordRegex, rgbToHex, 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$2 } from 'react';
10
- import { ILibText, ILibWrapper, ILibMain, ILibAside, ILibSection, ILibGrid, ILibFlexbox, ILibKey, ILibHighlight, ILibLinkify, ILibHr, ILibSkeleton, ILibSkeletonCard, ILibTooltip, ILibImage, ILibLazyImage, 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, ILibTabsContent, ILibSlideshow, ILibCarousel, 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, ILibLazyImage, 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, ILibCollapsedText, ILibAccordion, ILibAccordionItem, ILibDropdown, ILibDropdownItem, ILibToast, ILibAlert, ILibModal, ILibDragList, ILibDragListItem, ILibPagination, ILibPaginationButton, ILibPaginator, ILibProgressBar, ILibProgressCircle, ILibTabs, ILibTabsContainer, ILibTabsButtonsContainer, ILibTabsButton, ILibTabsContent, ILibSlideshow, ILibCarousel, ILibCover, ILibTable, ILibPageLoading, ILibSticky, ILibMarkdownEditor, ILibMarkdownContainer, ILibCodeContainer, 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';
@@ -997,7 +997,11 @@ declare enum OVERLAYS {
997
997
  /** rgba(255, 255, 255, 0.5) */ WHITE_50 = "var(--color-overlay-white-50)",
998
998
  /** rgba(69, 35, 35, 0.8) */ WHITE_80 = "var(--color-overlay-white-80)",
999
999
  /** linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.56) 100%) */ GRADIENT_BLACK = "var(--color-overlay-gradient-black)",
1000
- /** linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.35) 100%) */ GRADIENT_WHITE = "var(--color-overlay-gradient-white)"
1000
+ /** linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.35) 100%) */ GRADIENT_WHITE = "var(--color-overlay-gradient-white)",
1001
+ /** light: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.35) 100%); dark: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.56) 100%) */
1002
+ GRADIENT_THEME_BG = "var(--color-overlay-gradient-theme-bg)",
1003
+ /** light: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.56) 100%); dark: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.35) 100%) */
1004
+ GRADIENT_THEME_TEXT = "var(--color-overlay-gradient-theme-text)"
1001
1005
  }
1002
1006
  declare enum FONT_FAMILIES {
1003
1007
  /** Primary font family for body text */ SANS = "var(--font-sans)",
@@ -2492,6 +2496,33 @@ declare const ListGroupItem: FC$2<ILibListGroupItem>;
2492
2496
  */
2493
2497
  declare const Breadcrumbs: FC$2<ILibBreadcrumbs>;
2494
2498
 
2499
+ /**
2500
+ * CollapsedText is a component that displays text content with the ability to expand or collapse it, showing a limited number of lines by default and a button to toggle visibility.
2501
+ *
2502
+ * @component
2503
+ *
2504
+ * @example
2505
+ * <CollapsedText collapsedMaxLines={2} texts={{ read: "Show", more: "more", less: "less" }}>
2506
+ * Lorem ipsum dolor sit amet, consectetur adipiscing elit.
2507
+ * </CollapsedText>
2508
+ *
2509
+ * @extends ILibCollapsedText
2510
+ *
2511
+ * @prop {string} [props.className] - Additional class names to apply to the root element.
2512
+ * @prop {keyof JSX.IntrinsicElements} [props.element="div"] - The HTML element to render as the root. Default is "div".
2513
+ * @prop {React.Ref<HTMLDivElement>} [props.ref] - Ref to the root element.
2514
+ * @prop {React.ReactNode} [props.children] - The text or elements to display inside the component.
2515
+ * @prop {boolean} [props.defaultOpen] - If true, the text is expanded by default.
2516
+ * @prop {{ read?: string; more?: string; less?: string }} [props.texts] - Customizable button texts for "read", "more", and "less".
2517
+ * @prop {ILibText} [props.textProps] - Additional props to pass to the inner Text component.
2518
+ * @prop {number} [props.collapsedMaxLines=3] - Number of lines to show when collapsed. Default is 3.
2519
+ *
2520
+ * @returns {JSX.Element} The rendered CollapsedText component with expand/collapse functionality.
2521
+ *
2522
+ * @see https://julseb-lib.vercel.app/components/CollapsedText
2523
+ */
2524
+ declare const CollapsedText: FC$2<ILibCollapsedText>;
2525
+
2495
2526
  /**
2496
2527
  * Accordion component for creating collapsible content sections with customizable styling and expandable items.
2497
2528
  *
@@ -3744,4 +3775,4 @@ declare const PageLayout: FC$2<ILibPageLayout>;
3744
3775
  */
3745
3776
  declare const SrOnly: FC$2<ILibSrOnly>;
3746
3777
 
3747
- 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, ModalOpenProviderWrapper, 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, genFontSize, genFontWeight, 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, useModalOpen, usePaginatedData, usePagination, useTextLineCount, useTouchScreen, useTranslation };
3778
+ export { Accordion, AccordionItem, Alert, Aside, Autocomplete, Avatar, BackToTop, Badge, Breadcrumbs, Burger, Button, ButtonGroup, ButtonIcon, COLORS, Carousel, CodeContainer, CollapsedText, 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, ModalOpenProviderWrapper, 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, genFontSize, genFontWeight, 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, useModalOpen, usePaginatedData, usePagination, useTextLineCount, useTouchScreen, useTranslation };