@app-studio/web 0.8.89 → 0.8.91

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.
Files changed (46) hide show
  1. package/dist/components/CookieConsent/CookieConsent/CookieConsent.props.d.ts +57 -0
  2. package/dist/components/CookieConsent/CookieConsent/CookieConsent.state.d.ts +13 -0
  3. package/dist/components/CookieConsent/CookieConsent/CookieConsent.style.d.ts +68 -0
  4. package/dist/components/CookieConsent/CookieConsent/CookieConsent.type.d.ts +13 -0
  5. package/dist/components/CookieConsent/CookieConsent/CookieConsent.view.d.ts +8 -0
  6. package/dist/components/CookieConsent/CookieConsent.d.ts +3 -0
  7. package/dist/components/CookieConsent/examples/custom.d.ts +5 -0
  8. package/dist/components/CookieConsent/examples/default.d.ts +5 -0
  9. package/dist/components/CookieConsent/examples/index.d.ts +4 -0
  10. package/dist/components/CookieConsent/examples/positions.d.ts +5 -0
  11. package/dist/components/CookieConsent/examples/variants.d.ts +5 -0
  12. package/dist/components/Icon/Icon.d.ts +4 -1
  13. package/dist/components/Title/Title/Title.props.d.ts +89 -0
  14. package/dist/components/Title/Title/Title.state.d.ts +124 -0
  15. package/dist/components/Title/Title/Title.style.d.ts +25 -0
  16. package/dist/components/Title/Title/Title.type.d.ts +25 -0
  17. package/dist/components/Title/Title/Title.view.d.ts +9 -0
  18. package/dist/components/Title/Title/useInView.d.ts +9 -0
  19. package/dist/components/Title/Title.d.ts +3 -0
  20. package/dist/components/Title/examples/alternating.d.ts +5 -0
  21. package/dist/components/Title/examples/animated.d.ts +5 -0
  22. package/dist/components/Title/examples/animationTest.d.ts +5 -0
  23. package/dist/components/Title/examples/custom.d.ts +5 -0
  24. package/dist/components/Title/examples/default.d.ts +5 -0
  25. package/dist/components/Title/examples/directAnimation.d.ts +5 -0
  26. package/dist/components/Title/examples/gradientTest.d.ts +5 -0
  27. package/dist/components/Title/examples/hero.d.ts +5 -0
  28. package/dist/components/Title/examples/highlightTest.d.ts +5 -0
  29. package/dist/components/Title/examples/highlighted.d.ts +5 -0
  30. package/dist/components/Title/examples/index.d.ts +10 -0
  31. package/dist/components/Title/examples/responsive.d.ts +5 -0
  32. package/dist/components/Title/index.d.ts +1 -0
  33. package/dist/components/index.d.ts +4 -0
  34. package/dist/pages/cookieConsent.page.d.ts +6 -0
  35. package/dist/pages/title.page.d.ts +6 -0
  36. package/dist/web.cjs.development.js +957 -139
  37. package/dist/web.cjs.development.js.map +1 -1
  38. package/dist/web.cjs.production.min.js +1 -1
  39. package/dist/web.cjs.production.min.js.map +1 -1
  40. package/dist/web.esm.js +954 -141
  41. package/dist/web.esm.js.map +1 -1
  42. package/dist/web.umd.development.js +958 -141
  43. package/dist/web.umd.development.js.map +1 -1
  44. package/dist/web.umd.production.min.js +1 -1
  45. package/dist/web.umd.production.min.js.map +1 -1
  46. package/package.json +2 -2
package/dist/web.esm.js CHANGED
@@ -5,7 +5,7 @@ import 'core-js/modules/es.array.iterator.js';
5
5
  import 'core-js/modules/es.string.includes.js';
6
6
  import 'core-js/modules/web.dom-collections.iterator.js';
7
7
  import 'core-js/modules/es.regexp.to-string.js';
8
- import { View, Horizontal, Vertical, Element, Center, useTheme, Image, Typography, Input, Form, Text as Text$1 } from 'app-studio';
8
+ import { View, Horizontal, Vertical, Element, Text as Text$1, Center, useTheme, Image, Typography, Input, Form, useInView } from 'app-studio';
9
9
  import 'core-js/modules/es.symbol.description.js';
10
10
  import 'core-js/modules/es.parse-float.js';
11
11
  import 'core-js/modules/es.string.trim-end.js';
@@ -24,6 +24,7 @@ import 'core-js/modules/web.url.js';
24
24
  import 'core-js/modules/web.url.to-json.js';
25
25
  import 'core-js/modules/web.url-search-params.js';
26
26
  import { create } from 'zustand';
27
+ import 'core-js/modules/es.string.replace.js';
27
28
  import 'core-js/modules/es.string.ends-with.js';
28
29
  import 'core-js/modules/es.string.match.js';
29
30
  import 'core-js/modules/es.string.search.js';
@@ -586,7 +587,7 @@ var TruncateText = _ref2 => {
586
587
  n.style.lineHeight = lineHeight;
587
588
  }
588
589
  }, [text, maxLines]);
589
- return /*#__PURE__*/React.createElement(View, Object.assign({
590
+ return /*#__PURE__*/React.createElement(Text$1, Object.assign({
590
591
  ref: containerRef,
591
592
  overflow: "hidden" // Crucial for final display state
592
593
  }, views == null ? void 0 : views.truncateText, rest, {
@@ -631,12 +632,7 @@ var TextView = _ref3 => {
631
632
  fontStyle: isItalic ? 'italic' : 'normal',
632
633
  fontWeight: fontWeight,
633
634
  letterSpacing: "-0.01em",
634
- textDecoration: isStriked ? 'line-through' : isUnderlined ? 'underline' : 'none',
635
- color: "color.gray.900",
636
- // Apply dark mode styles
637
- _dark: {
638
- color: 'color.gray.100'
639
- }
635
+ textDecoration: isStriked ? 'line-through' : isUnderlined ? 'underline' : 'none'
640
636
  }, noLineBreak, headingStyles, props, views == null ? void 0 : views.container), maxLines && typeof children === 'string' ? (/*#__PURE__*/React.createElement(TruncateText, {
641
637
  text: children,
642
638
  maxLines: maxLines
@@ -656,7 +652,7 @@ var Text = TextComponent;
656
652
 
657
653
  var _excluded$3 = ["widthHeight", "color", "transform", "orientation", "children"],
658
654
  _excluded2$2 = ["widthHeight", "color", "filled", "strokeWidth"],
659
- _excluded3$1 = ["widthHeight", "color", "filled", "strokeWidth"],
655
+ _excluded3$1 = ["widthHeight", "color", "strokeWidth", "filled"],
660
656
  _excluded4$1 = ["widthHeight", "color", "filled", "strokeWidth"],
661
657
  _excluded5 = ["widthHeight", "color", "filled", "strokeWidth"],
662
658
  _excluded6 = ["widthHeight", "color", "filled", "strokeWidth"],
@@ -730,7 +726,9 @@ var _excluded$3 = ["widthHeight", "color", "transform", "orientation", "children
730
726
  _excluded74 = ["widthHeight", "color", "strokeWidth", "filled"],
731
727
  _excluded75 = ["widthHeight", "color", "strokeWidth", "filled"],
732
728
  _excluded76 = ["widthHeight", "color", "strokeWidth", "filled"],
733
- _excluded77 = ["widthHeight", "color", "strokeWidth", "filled"];
729
+ _excluded77 = ["widthHeight", "color", "strokeWidth", "filled"],
730
+ _excluded78 = ["widthHeight", "color", "strokeWidth", "filled"],
731
+ _excluded79 = ["widthHeight", "color", "strokeWidth", "filled"];
734
732
  // Default wrapper component for consistent sizing and styling
735
733
  var IconWrapper = _ref => {
736
734
  var {
@@ -785,8 +783,8 @@ var HelpIcon = _ref3 => {
785
783
  var {
786
784
  widthHeight = 24,
787
785
  color = 'currentColor',
788
- filled = true,
789
- strokeWidth = 1
786
+ strokeWidth = 1,
787
+ filled = false
790
788
  } = _ref3,
791
789
  props = _objectWithoutPropertiesLoose(_ref3, _excluded3$1);
792
790
  return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
@@ -794,10 +792,19 @@ var HelpIcon = _ref3 => {
794
792
  color: color
795
793
  }, props), /*#__PURE__*/React.createElement("svg", Object.assign({
796
794
  viewBox: "0 0 24 24",
797
- "aria-hidden": "true",
795
+ "aria-hidden": "false",
798
796
  focusable: "false"
799
- }, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React.createElement("path", {
800
- d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"
797
+ }, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React.createElement("circle", {
798
+ cx: "12",
799
+ cy: "12",
800
+ r: "10"
801
+ }), /*#__PURE__*/React.createElement("path", {
802
+ d: "M9.09 9a3 3 0 1 1 5.91 1c0 2-3 3-3 3"
803
+ }), /*#__PURE__*/React.createElement("line", {
804
+ x1: "12",
805
+ y1: "17",
806
+ x2: "12",
807
+ y2: "17"
801
808
  })));
802
809
  };
803
810
  // Example Icon Component: ChevronIcon
@@ -1777,31 +1784,13 @@ var PanelIcon = _ref40 => {
1777
1784
  "aria-hidden": "false",
1778
1785
  focusable: "false"
1779
1786
  }, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React.createElement("rect", {
1780
- x: "3",
1781
- y: "3",
1782
1787
  width: "18",
1783
1788
  height: "18",
1789
+ x: "3",
1790
+ y: "3",
1784
1791
  rx: "2"
1785
- }), /*#__PURE__*/React.createElement("line", {
1786
- x1: "9",
1787
- y1: "3",
1788
- x2: "9",
1789
- y2: "21"
1790
- }), /*#__PURE__*/React.createElement("line", {
1791
- x1: "12",
1792
- y1: "7",
1793
- x2: "17",
1794
- y2: "7"
1795
- }), /*#__PURE__*/React.createElement("line", {
1796
- x1: "12",
1797
- y1: "11",
1798
- x2: "17",
1799
- y2: "11"
1800
- }), /*#__PURE__*/React.createElement("line", {
1801
- x1: "12",
1802
- y1: "15",
1803
- x2: "17",
1804
- y2: "15"
1792
+ }), /*#__PURE__*/React.createElement("path", {
1793
+ d: "M9 3v18"
1805
1794
  })));
1806
1795
  };
1807
1796
  var FilterIcon = _ref41 => {
@@ -2754,6 +2743,59 @@ var ChartIcon = _ref77 => {
2754
2743
  y2: "17"
2755
2744
  })));
2756
2745
  };
2746
+ var GiftIcon = _ref78 => {
2747
+ var {
2748
+ widthHeight = 24,
2749
+ color = 'currentColor',
2750
+ strokeWidth = 1,
2751
+ filled = false
2752
+ } = _ref78,
2753
+ props = _objectWithoutPropertiesLoose(_ref78, _excluded78);
2754
+ return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
2755
+ widthHeight: widthHeight,
2756
+ color: color
2757
+ }, props), /*#__PURE__*/React.createElement("svg", Object.assign({
2758
+ viewBox: "0 0 24 24",
2759
+ "aria-hidden": "false",
2760
+ focusable: "false"
2761
+ }, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React.createElement("rect", {
2762
+ x: "3",
2763
+ y: "8",
2764
+ width: "18",
2765
+ height: "4",
2766
+ rx: "1"
2767
+ }), /*#__PURE__*/React.createElement("path", {
2768
+ d: "M12 8V21"
2769
+ }), /*#__PURE__*/React.createElement("path", {
2770
+ d: "M3 12v6a3 3 0 0 0 3 3h3V12"
2771
+ }), /*#__PURE__*/React.createElement("path", {
2772
+ d: "M18 21h-3v-9h6v6a3 3 0 0 1-3 3z"
2773
+ }), /*#__PURE__*/React.createElement("path", {
2774
+ d: "M12 8c-.5-2.5-4-3-5-1.5S9 10 12 8z"
2775
+ }), /*#__PURE__*/React.createElement("path", {
2776
+ d: "M12 8c.5-2.5 4-3 5-1.5S15 10 12 8z"
2777
+ })));
2778
+ };
2779
+ var ShieldIcon = _ref79 => {
2780
+ var {
2781
+ widthHeight = 24,
2782
+ color = 'currentColor',
2783
+ strokeWidth = 1,
2784
+ filled = true
2785
+ } = _ref79,
2786
+ props = _objectWithoutPropertiesLoose(_ref79, _excluded79);
2787
+ return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
2788
+ widthHeight: widthHeight,
2789
+ color: color
2790
+ }, props), /*#__PURE__*/React.createElement("svg", Object.assign({
2791
+ viewBox: "0 0 24 24",
2792
+ "aria-hidden": "false",
2793
+ focusable: "false"
2794
+ }, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React.createElement("path", {
2795
+ d: "M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"
2796
+ })));
2797
+ };
2798
+ var CheckIcon = TickIcon;
2757
2799
 
2758
2800
  var Icon = {
2759
2801
  __proto__: null,
@@ -2833,7 +2875,10 @@ var Icon = {
2833
2875
  ShapeIcon: ShapeIcon,
2834
2876
  RotateIcon: RotateIcon,
2835
2877
  DocumentIcon: DocumentIcon,
2836
- ChartIcon: ChartIcon
2878
+ ChartIcon: ChartIcon,
2879
+ GiftIcon: GiftIcon,
2880
+ ShieldIcon: ShieldIcon,
2881
+ CheckIcon: CheckIcon
2837
2882
  };
2838
2883
 
2839
2884
  /**
@@ -5579,6 +5624,273 @@ var ChartComponent = props => {
5579
5624
  };
5580
5625
  var Chart = ChartComponent;
5581
5626
 
5627
+ /**
5628
+ * Custom hook to manage cookie consent state
5629
+ * @param cookieExpiration Number of days until the cookie expires
5630
+ * @returns State and functions for managing cookie consent
5631
+ */
5632
+ var useCookieConsentState = function useCookieConsentState(cookieExpiration) {
5633
+ if (cookieExpiration === void 0) {
5634
+ cookieExpiration = 365;
5635
+ }
5636
+ // State for hover effects
5637
+ var [isHovered, setIsHovered] = useState(false);
5638
+ // State for tracking if consent has been given
5639
+ var [hasConsent, setHasConsent] = useState(null);
5640
+ // Cookie name for storing consent
5641
+ var COOKIE_CONSENT_KEY = 'app-studio-cookie-consent';
5642
+ // Check for existing consent when component mounts
5643
+ useEffect(() => {
5644
+ var storedConsent = localStorage.getItem(COOKIE_CONSENT_KEY);
5645
+ if (storedConsent !== null) {
5646
+ setHasConsent(storedConsent === 'true');
5647
+ } else {
5648
+ setHasConsent(false);
5649
+ }
5650
+ }, []);
5651
+ /**
5652
+ * Save consent to localStorage with expiration
5653
+ */
5654
+ var saveConsent = consent => {
5655
+ localStorage.setItem(COOKIE_CONSENT_KEY, String(consent));
5656
+ // Set expiration date
5657
+ var expirationDate = new Date();
5658
+ expirationDate.setDate(expirationDate.getDate() + cookieExpiration);
5659
+ localStorage.setItem(COOKIE_CONSENT_KEY + "-expires", expirationDate.toISOString());
5660
+ setHasConsent(consent);
5661
+ };
5662
+ /**
5663
+ * Accept cookies
5664
+ */
5665
+ var acceptCookies = () => {
5666
+ saveConsent(true);
5667
+ };
5668
+ /**
5669
+ * Reset cookie consent (for testing)
5670
+ */
5671
+ var resetConsent = () => {
5672
+ localStorage.removeItem(COOKIE_CONSENT_KEY);
5673
+ localStorage.removeItem(COOKIE_CONSENT_KEY + "-expires");
5674
+ setHasConsent(false);
5675
+ };
5676
+ return {
5677
+ isHovered,
5678
+ setIsHovered,
5679
+ hasConsent,
5680
+ acceptCookies,
5681
+ resetConsent
5682
+ };
5683
+ };
5684
+
5685
+ /**
5686
+ * Get theme-based styles for the CookieConsent component
5687
+ */
5688
+ var getThemes$1 = themeMode => {
5689
+ var isDark = themeMode === 'dark';
5690
+ return {
5691
+ default: {
5692
+ container: {
5693
+ backgroundColor: isDark ? '#1f2937' : '#ffffff',
5694
+ borderColor: isDark ? '#374151' : '#e5e7eb',
5695
+ boxShadow: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)'
5696
+ },
5697
+ content: {
5698
+ color: isDark ? '#e5e7eb' : '#1f2937'
5699
+ },
5700
+ acceptButton: {
5701
+ backgroundColor: '#3b82f6',
5702
+ color: '#ffffff',
5703
+ hoverBackgroundColor: '#2563eb'
5704
+ },
5705
+ customizeButton: {
5706
+ backgroundColor: 'transparent',
5707
+ color: isDark ? '#e5e7eb' : '#4b5563',
5708
+ borderColor: isDark ? '#4b5563' : '#d1d5db',
5709
+ hoverBackgroundColor: isDark ? '#374151' : '#f3f4f6'
5710
+ }
5711
+ },
5712
+ info: {
5713
+ container: {
5714
+ backgroundColor: isDark ? '#1e3a8a' : '#eff6ff',
5715
+ borderColor: isDark ? '#1e40af' : '#bfdbfe',
5716
+ boxShadow: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)'
5717
+ },
5718
+ content: {
5719
+ color: isDark ? '#bfdbfe' : '#1e40af'
5720
+ },
5721
+ acceptButton: {
5722
+ backgroundColor: '#3b82f6',
5723
+ color: '#ffffff',
5724
+ hoverBackgroundColor: '#2563eb'
5725
+ },
5726
+ customizeButton: {
5727
+ backgroundColor: 'transparent',
5728
+ color: isDark ? '#bfdbfe' : '#1e40af',
5729
+ borderColor: isDark ? '#3b82f6' : '#93c5fd',
5730
+ hoverBackgroundColor: isDark ? '#1e40af' : '#dbeafe'
5731
+ }
5732
+ },
5733
+ primary: {
5734
+ container: {
5735
+ backgroundColor: isDark ? '#0c4a6e' : '#f0f9ff',
5736
+ borderColor: isDark ? '#0369a1' : '#bae6fd',
5737
+ boxShadow: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)'
5738
+ },
5739
+ content: {
5740
+ color: isDark ? '#bae6fd' : '#0369a1'
5741
+ },
5742
+ acceptButton: {
5743
+ backgroundColor: '#0ea5e9',
5744
+ color: '#ffffff',
5745
+ hoverBackgroundColor: '#0284c7'
5746
+ },
5747
+ customizeButton: {
5748
+ backgroundColor: 'transparent',
5749
+ color: isDark ? '#bae6fd' : '#0369a1',
5750
+ borderColor: isDark ? '#0ea5e9' : '#7dd3fc',
5751
+ hoverBackgroundColor: isDark ? '#0369a1' : '#e0f2fe'
5752
+ }
5753
+ }
5754
+ };
5755
+ };
5756
+
5757
+ var _excluded$e = ["title", "description", "acceptButtonText", "customizeButtonText", "position", "variant", "onAccept", "onCustomize", "views", "showCustomizeButton", "cookieExpiration", "themeMode"];
5758
+ /**
5759
+ * CookieConsent View Component
5760
+ *
5761
+ * Renders a cookie consent banner with customizable styling, position, and content.
5762
+ */
5763
+ var CookieConsentView = _ref => {
5764
+ var {
5765
+ title = 'Nous utilisons des cookies',
5766
+ description = 'Ce site utilise des cookies pour améliorer votre expérience. En continuant à naviguer sur ce site, vous acceptez notre utilisation des cookies conformément à notre politique de confidentialité.',
5767
+ acceptButtonText = 'Accepter',
5768
+ customizeButtonText = 'Personnaliser',
5769
+ position = 'bottom',
5770
+ variant = 'default',
5771
+ onAccept,
5772
+ onCustomize,
5773
+ views,
5774
+ showCustomizeButton = true,
5775
+ cookieExpiration = 365,
5776
+ themeMode: propThemeMode
5777
+ } = _ref,
5778
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
5779
+ // Get theme context
5780
+ var {
5781
+ themeMode: contextThemeMode
5782
+ } = useTheme();
5783
+ // Use provided theme mode or fall back to context
5784
+ var themeMode = propThemeMode || contextThemeMode || 'light';
5785
+ // Get state and functions from custom hook
5786
+ var {
5787
+ hasConsent,
5788
+ acceptCookies
5789
+ } = useCookieConsentState(cookieExpiration);
5790
+ // Get theme-based styles
5791
+ var themes = getThemes$1(themeMode);
5792
+ var themeStyles = themes[variant];
5793
+ // If user has already given consent, don't show the banner
5794
+ if (hasConsent) {
5795
+ return null;
5796
+ }
5797
+ // Handle accept button click
5798
+ var handleAccept = () => {
5799
+ acceptCookies();
5800
+ if (onAccept) {
5801
+ onAccept();
5802
+ }
5803
+ };
5804
+ // Handle customize button click
5805
+ var handleCustomize = () => {
5806
+ if (onCustomize) {
5807
+ onCustomize();
5808
+ }
5809
+ };
5810
+ return /*#__PURE__*/React.createElement(View, Object.assign({
5811
+ position: "fixed",
5812
+ left: 16,
5813
+ right: 16,
5814
+ zIndex: 1000,
5815
+ padding: 16,
5816
+ borderWidth: "1px",
5817
+ borderStyle: "solid",
5818
+ borderRadius: 8,
5819
+ maxWidth: "800px",
5820
+ marginX: "auto"
5821
+ }, position === 'bottom' ? {
5822
+ bottom: 16
5823
+ } : {
5824
+ top: 16
5825
+ }, themeStyles.container, views == null ? void 0 : views.container, props), /*#__PURE__*/React.createElement(Vertical, {
5826
+ gap: 12,
5827
+ maxWidth: 1200,
5828
+ marginX: "auto"
5829
+ }, title && (/*#__PURE__*/React.createElement(Text$1, Object.assign({
5830
+ fontWeight: "bold",
5831
+ fontSize: 18,
5832
+ color: "color.black"
5833
+ }, views == null ? void 0 : views.title), title)), description && (/*#__PURE__*/React.createElement(Text$1, Object.assign({
5834
+ fontSize: 14,
5835
+ color: "color.black"
5836
+ }, views == null ? void 0 : views.description), typeof description === 'string' ? description : description)), /*#__PURE__*/React.createElement(Horizontal, Object.assign({
5837
+ gap: 12,
5838
+ justifyContent: "flex-end",
5839
+ marginTop: 8
5840
+ }, views == null ? void 0 : views.buttonGroup), showCustomizeButton && (/*#__PURE__*/React.createElement(Button, Object.assign({
5841
+ variant: "outline",
5842
+ onClick: handleCustomize,
5843
+ size: "sm"
5844
+ }, views == null ? void 0 : views.customizeButton), customizeButtonText)), /*#__PURE__*/React.createElement(Button, Object.assign({
5845
+ variant: "primary",
5846
+ onClick: handleAccept,
5847
+ size: "sm"
5848
+ }, views == null ? void 0 : views.acceptButton), acceptButtonText))));
5849
+ };
5850
+
5851
+ /**
5852
+ * CookieConsent Component
5853
+ *
5854
+ * A component for displaying a cookie consent banner with customizable styling and content.
5855
+ *
5856
+ * Features:
5857
+ * - Customizable title and description
5858
+ * - Configurable button text
5859
+ * - Multiple visual variants
5860
+ * - Position control (top or bottom)
5861
+ * - Theme mode support (light or dark)
5862
+ * - Custom styling via views prop
5863
+ *
5864
+ * @example
5865
+ * // Basic usage
5866
+ * <CookieConsent />
5867
+ *
5868
+ * @example
5869
+ * // With custom text
5870
+ * <CookieConsent
5871
+ * title="Avis de confidentialité"
5872
+ * description="Nous utilisons des cookies pour améliorer votre expérience."
5873
+ * acceptButtonText="J'accepte"
5874
+ * />
5875
+ *
5876
+ * @example
5877
+ * // With custom styling and callbacks
5878
+ * <CookieConsent
5879
+ * variant="primary"
5880
+ * position="top"
5881
+ * onAccept={() => console.log('Cookies accepted')}
5882
+ * onCustomize={() => openPreferencesModal()}
5883
+ * views={{
5884
+ * container: { backgroundColor: 'color.blue.50' },
5885
+ * title: { color: 'color.blue.800' }
5886
+ * }}
5887
+ * />
5888
+ */
5889
+ var CookieConsentComponent = props => {
5890
+ return /*#__PURE__*/React.createElement(CookieConsentView, Object.assign({}, props));
5891
+ };
5892
+ var CookieConsent = CookieConsentComponent;
5893
+
5582
5894
  var useContextMenuState = props => {
5583
5895
  var {
5584
5896
  size,
@@ -5756,7 +6068,7 @@ var calculateMenuPosition = function calculateMenuPosition(x, y, menuWidth, menu
5756
6068
  };
5757
6069
  };
5758
6070
 
5759
- var _excluded$e = ["children", "disableNativeContextMenu", "asChild", "isDisabled", "views"],
6071
+ var _excluded$f = ["children", "disableNativeContextMenu", "asChild", "isDisabled", "views"],
5760
6072
  _excluded2$6 = ["items", "children", "position", "side", "align", "views", "style"],
5761
6073
  _excluded3$5 = ["item", "children", "onSelect", "isDisabled", "views"],
5762
6074
  _excluded4$5 = ["views"],
@@ -5812,7 +6124,7 @@ var ContextMenuTrigger = _ref2 => {
5812
6124
  isDisabled = false,
5813
6125
  views
5814
6126
  } = _ref2,
5815
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$e);
6127
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$f);
5816
6128
  var {
5817
6129
  triggerRef,
5818
6130
  contentId,
@@ -6095,7 +6407,7 @@ var ContextMenuView = _ref7 => {
6095
6407
  }));
6096
6408
  };
6097
6409
 
6098
- var _excluded$f = ["children", "items", "size", "variant", "disableNativeContextMenu", "onOpenChange", "views"];
6410
+ var _excluded$g = ["children", "items", "size", "variant", "disableNativeContextMenu", "onOpenChange", "views"];
6099
6411
  /**
6100
6412
  * ContextMenu component for displaying a custom context menu on right-click.
6101
6413
  * Supports both data-driven approach (with items prop) and compound component pattern.
@@ -6110,7 +6422,7 @@ var ContextMenuComponent = _ref => {
6110
6422
  onOpenChange,
6111
6423
  views
6112
6424
  } = _ref,
6113
- props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
6425
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
6114
6426
  var state = useContextMenuState({
6115
6427
  size,
6116
6428
  variant,
@@ -6162,7 +6474,7 @@ ContextMenu.Item = ContextMenuItem;
6162
6474
  ContextMenu.Divider = ContextMenuDivider;
6163
6475
  ContextMenu.Separator = ContextMenuSeparator; // Add the Separator component
6164
6476
 
6165
- var _excluded$g = ["src", "color", "views", "themeMode"],
6477
+ var _excluded$h = ["src", "color", "views", "themeMode"],
6166
6478
  _excluded2$7 = ["path"];
6167
6479
  var FileSVG = _ref => {
6168
6480
  var {
@@ -6170,7 +6482,7 @@ var FileSVG = _ref => {
6170
6482
  color,
6171
6483
  views
6172
6484
  } = _ref,
6173
- props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
6485
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
6174
6486
  var {
6175
6487
  getColor,
6176
6488
  themeMode
@@ -6244,7 +6556,7 @@ var useItemState = () => {
6244
6556
  };
6245
6557
  };
6246
6558
 
6247
- var _excluded$h = ["children", "views"];
6559
+ var _excluded$i = ["children", "views"];
6248
6560
  var HelperText = _ref => {
6249
6561
  var {
6250
6562
  children,
@@ -6252,7 +6564,7 @@ var HelperText = _ref => {
6252
6564
  helperText: {}
6253
6565
  }
6254
6566
  } = _ref,
6255
- props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
6567
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
6256
6568
  return /*#__PURE__*/React.createElement(Text
6257
6569
  // Typography properties
6258
6570
  , Object.assign({
@@ -6278,7 +6590,7 @@ var HelperText = _ref => {
6278
6590
  }, views['helperText'], props), children);
6279
6591
  };
6280
6592
 
6281
- var _excluded$i = ["children", "helperText", "error", "views"];
6593
+ var _excluded$j = ["children", "helperText", "error", "views"];
6282
6594
  var FieldContainer = _ref => {
6283
6595
  var {
6284
6596
  children,
@@ -6286,7 +6598,7 @@ var FieldContainer = _ref => {
6286
6598
  error = false,
6287
6599
  views
6288
6600
  } = _ref,
6289
- props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
6601
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
6290
6602
  return /*#__PURE__*/React.createElement(Vertical
6291
6603
  // Layout properties
6292
6604
  , Object.assign({
@@ -6402,7 +6714,7 @@ var PaddingWithoutLabel = {
6402
6714
  paddingRight: '16px'
6403
6715
  };
6404
6716
 
6405
- var _excluded$j = ["label", "shadow", "children", "value", "size", "shape", "variant", "error", "showLabel", "isFocused", "isHovered", "isDisabled", "isReadOnly", "views"];
6717
+ var _excluded$k = ["label", "shadow", "children", "value", "size", "shape", "variant", "error", "showLabel", "isFocused", "isHovered", "isDisabled", "isReadOnly", "views"];
6406
6718
  var FieldContent = _ref => {
6407
6719
  var {
6408
6720
  shadow,
@@ -6420,7 +6732,7 @@ var FieldContent = _ref => {
6420
6732
  pickerBox: {}
6421
6733
  }
6422
6734
  } = _ref,
6423
- props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
6735
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
6424
6736
  // Determine if the field is in an interactive state
6425
6737
  var isInteractive = (isHovered || isFocused) && !isDisabled;
6426
6738
  // Set the appropriate color based on state
@@ -6449,12 +6761,12 @@ var FieldContent = _ref => {
6449
6761
  }, showLabel ? PadddingWithLabel : PaddingWithoutLabel, shadow, Shapes[shape], InputVariants[variant], views['box'], props), children);
6450
6762
  };
6451
6763
 
6452
- var _excluded$k = ["children"];
6764
+ var _excluded$l = ["children"];
6453
6765
  var FieldIcons = _ref => {
6454
6766
  var {
6455
6767
  children
6456
6768
  } = _ref,
6457
- props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
6769
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
6458
6770
  return /*#__PURE__*/React.createElement(Center, Object.assign({
6459
6771
  gap: 10,
6460
6772
  right: 16,
@@ -6506,7 +6818,7 @@ var HeadingSizes$1 = {
6506
6818
  }
6507
6819
  };
6508
6820
 
6509
- var _excluded$l = ["children", "heading", "isItalic", "isUnderlined", "isStriked", "weight", "size", "dropDown"];
6821
+ var _excluded$m = ["children", "heading", "isItalic", "isUnderlined", "isStriked", "weight", "size", "dropDown"];
6510
6822
  var LabelView = _ref => {
6511
6823
  var {
6512
6824
  children,
@@ -6522,7 +6834,7 @@ var LabelView = _ref => {
6522
6834
  size = 'sm'
6523
6835
  // The fontSize prop for the Element is determined by the 'size' prop passed to LabelView.
6524
6836
  } = _ref,
6525
- props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
6837
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
6526
6838
  // The fontStyle prop toggles between 'italic' and 'normal' based on the 'isItalic' boolean prop.
6527
6839
  var headingStyles = heading ? HeadingSizes$1[heading] : {};
6528
6840
  // fontWeight is derived from the Typography module, ensuring consistent font weighting across the app.
@@ -6554,7 +6866,7 @@ React.createElement(LabelView, Object.assign({}, props))
6554
6866
  var Label = LabelComponent;
6555
6867
  // Export the 'LabelComponent' as 'Label' to be reused throughout the project.
6556
6868
 
6557
- var _excluded$m = ["children", "size", "error", "color", "views", "helperText"];
6869
+ var _excluded$n = ["children", "size", "error", "color", "views", "helperText"];
6558
6870
  var FieldLabel = _ref => {
6559
6871
  var {
6560
6872
  children,
@@ -6565,7 +6877,7 @@ var FieldLabel = _ref => {
6565
6877
  label: {}
6566
6878
  }
6567
6879
  } = _ref,
6568
- props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
6880
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
6569
6881
  return /*#__PURE__*/React.createElement(Label
6570
6882
  // Position properties
6571
6883
  , Object.assign({
@@ -6586,12 +6898,12 @@ var FieldLabel = _ref => {
6586
6898
  }, views['label'], props), children);
6587
6899
  };
6588
6900
 
6589
- var _excluded$n = ["children"];
6901
+ var _excluded$o = ["children"];
6590
6902
  var FieldWrapper = _ref => {
6591
6903
  var {
6592
6904
  children
6593
6905
  } = _ref,
6594
- props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
6906
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
6595
6907
  return /*#__PURE__*/React.createElement(Vertical
6596
6908
  // Layout properties
6597
6909
  , Object.assign({
@@ -6624,7 +6936,7 @@ var IconSizes$2 = {
6624
6936
  xl: 28
6625
6937
  };
6626
6938
 
6627
- var _excluded$o = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
6939
+ var _excluded$p = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
6628
6940
  _excluded2$8 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
6629
6941
  _excluded3$6 = ["option", "size", "removeOption"],
6630
6942
  _excluded4$6 = ["id", "name", "label", "value", "placeholder", "helperText", "hide", "error", "isMulti", "isFocused", "isHovered", "isDisabled", "isReadOnly", "options", "shadow", "size", "shape", "variant", "views", "onChange", "setHide", "setValue", "setIsHovered", "setIsFocused", "setHighlightedIndex", "highlightedIndex"];
@@ -6642,7 +6954,7 @@ var Item = _ref => {
6642
6954
  callback = () => {},
6643
6955
  style
6644
6956
  } = _ref,
6645
- props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
6957
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
6646
6958
  // Handles the click event on an option by invoking the callback with the selected option's value
6647
6959
  var handleOptionClick = option => callback(option);
6648
6960
  // Toggles the hover state on the item
@@ -7135,7 +7447,7 @@ var ColorSchemes = {
7135
7447
  }
7136
7448
  };
7137
7449
 
7138
- var _excluded$p = ["id", "name", "label", "inActiveChild", "isChecked", "activeChild", "labelPosition", "shadow", "size", "value", "isHovered", "isDisabled", "isReadOnly", "on", "setOn", "onChange", "setValue", "setIsHovered", "helperText", "views"];
7450
+ var _excluded$q = ["id", "name", "label", "inActiveChild", "isChecked", "activeChild", "labelPosition", "shadow", "size", "value", "isHovered", "isDisabled", "isReadOnly", "on", "setOn", "onChange", "setValue", "setIsHovered", "helperText", "views"];
7139
7451
  var SwitchContent = props => /*#__PURE__*/React.createElement(Input, Object.assign({
7140
7452
  type: "checkbox"
7141
7453
  }, props));
@@ -7164,7 +7476,7 @@ var SwitchView = _ref => {
7164
7476
  label: {}
7165
7477
  }
7166
7478
  } = _ref,
7167
- props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
7479
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
7168
7480
  var handleToggle = event => {
7169
7481
  if (!isReadOnly) {
7170
7482
  setValue(!value);
@@ -7288,7 +7600,7 @@ var useTextAreaState = _ref => {
7288
7600
  // Export of the useTextAreaState hook for external usage.
7289
7601
  };
7290
7602
 
7291
- var _excluded$q = ["id", "name", "hint", "error", "value", "label", "shadow", "helperText", "placeholder", "size", "shape", "variant", "isHovered", "isFocused", "isEditable", "isReadOnly", "isDisabled", "isAutoFocus", "isMultiline", "maxRows", "maxCols", "onBlur", "onChange", "onFocus", "setHint", "setValue", "setIsFocused", "setIsHovered", "views"];
7603
+ var _excluded$r = ["id", "name", "hint", "error", "value", "label", "shadow", "helperText", "placeholder", "size", "shape", "variant", "isHovered", "isFocused", "isEditable", "isReadOnly", "isDisabled", "isAutoFocus", "isMultiline", "maxRows", "maxCols", "onBlur", "onChange", "onFocus", "setHint", "setValue", "setIsFocused", "setIsHovered", "views"];
7292
7604
  var TextAreaView = _ref => {
7293
7605
  var {
7294
7606
  id,
@@ -7323,7 +7635,7 @@ var TextAreaView = _ref => {
7323
7635
  helperText: {}
7324
7636
  }
7325
7637
  } = _ref,
7326
- props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
7638
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
7327
7639
  var showLabel = !!(isFocused && label);
7328
7640
  /**
7329
7641
  * Styles for the textarea field
@@ -7462,7 +7774,7 @@ var useTextFieldState = _ref => {
7462
7774
  };
7463
7775
  };
7464
7776
 
7465
- var _excluded$r = ["id", "name", "label", "hint", "value", "onChange", "left", "right", "helperText", "placeholder", "onChangeText", "shadow", "views", "size", "shape", "variant", "error", "isFocused", "isHovered", "isDisabled", "isReadOnly", "isClearable", "isAutoFocus", "setHint", "setIsFocused", "setIsHovered", "setValue", "onClick", "onFocus", "onBlur", "themeMode"];
7777
+ var _excluded$s = ["id", "name", "label", "hint", "value", "onChange", "left", "right", "helperText", "placeholder", "onChangeText", "shadow", "views", "size", "shape", "variant", "error", "isFocused", "isHovered", "isDisabled", "isReadOnly", "isClearable", "isAutoFocus", "setHint", "setIsFocused", "setIsHovered", "setValue", "onClick", "onFocus", "onBlur", "themeMode"];
7466
7778
  /**
7467
7779
  * Input component for text fields
7468
7780
  */
@@ -7508,7 +7820,7 @@ var TextFieldView = _ref => {
7508
7820
  onBlur = () => {},
7509
7821
  themeMode: elementMode
7510
7822
  } = _ref,
7511
- props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
7823
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
7512
7824
  var {
7513
7825
  getColor,
7514
7826
  themeMode
@@ -7764,7 +8076,7 @@ var StateStyles = {
7764
8076
  }
7765
8077
  };
7766
8078
 
7767
- var _excluded$s = ["id", "icon", "name", "label", "isChecked", "onChange", "onValueChange", "shadow", "labelPosition", "size", "error", "isSelected", "isHovered", "isDisabled", "isReadOnly", "isIndeterminate", "defaultIsSelected", "setIsSelected", "setIsHovered", "views", "infoText", "helperText"];
8079
+ var _excluded$t = ["id", "icon", "name", "label", "isChecked", "onChange", "onValueChange", "shadow", "labelPosition", "size", "error", "isSelected", "isHovered", "isDisabled", "isReadOnly", "isIndeterminate", "defaultIsSelected", "setIsSelected", "setIsHovered", "views", "infoText", "helperText"];
7768
8080
  var CheckboxView = _ref => {
7769
8081
  var {
7770
8082
  id,
@@ -7791,7 +8103,7 @@ var CheckboxView = _ref => {
7791
8103
  },
7792
8104
  infoText
7793
8105
  } = _ref,
7794
- props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
8106
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
7795
8107
  var handleHover = () => setIsHovered(!isHovered);
7796
8108
  var handleChange = () => {
7797
8109
  if (!isReadOnly && !isDisabled) {
@@ -9377,11 +9689,11 @@ var IconSizes$4 = {
9377
9689
  xl: 16
9378
9690
  };
9379
9691
 
9380
- var _excluded$t = ["size"],
9692
+ var _excluded$u = ["size"],
9381
9693
  _excluded2$9 = ["size"],
9382
9694
  _excluded3$7 = ["id", "name", "label", "value", "placeholder", "helperText", "hide", "error", "isHovered", "isFocused", "isAutoFocus", "isDisabled", "isReadOnly", "shadow", "newOptions", "size", "variant", "shape", "onChange", "onBlur", "setHide", "setNewOptions", "setIsHovered", "setIsFocused", "setValue", "views", "themeMode"];
9383
9695
  var CountryList = _ref => {
9384
- var props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
9696
+ var props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
9385
9697
  return /*#__PURE__*/React.createElement(Element, Object.assign({
9386
9698
  as: "ul"
9387
9699
  }, props));
@@ -9622,7 +9934,7 @@ var useDatePickerState = () => {
9622
9934
  };
9623
9935
  };
9624
9936
 
9625
- var _excluded$u = ["id", "icon", "name", "label", "date", "children", "helperText", "shadow", "size", "variant", "shape", "views", "error", "isHovered", "isFocused", "isDisabled", "isReadOnly", "setDate", "setIsFocused", "setIsHovered", "onChange", "onChangeText"];
9937
+ var _excluded$v = ["id", "icon", "name", "label", "date", "children", "helperText", "shadow", "size", "variant", "shape", "views", "error", "isHovered", "isFocused", "isDisabled", "isReadOnly", "setDate", "setIsFocused", "setIsHovered", "onChange", "onChangeText"];
9626
9938
  var DatePickerContent = props => /*#__PURE__*/React.createElement(Input, Object.assign({
9627
9939
  type: "date"
9628
9940
  }, props));
@@ -9655,7 +9967,7 @@ var DatePickerView = _ref => {
9655
9967
  onChange,
9656
9968
  onChangeText
9657
9969
  } = _ref,
9658
- props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
9970
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$v);
9659
9971
  var showLabel = !!(isFocused && label);
9660
9972
  var handleHover = () => setIsHovered(!isHovered);
9661
9973
  var handleFocus = () => setIsFocused(true);
@@ -9742,7 +10054,7 @@ var usePasswordState = props => {
9742
10054
  }, props, textFieldStates);
9743
10055
  };
9744
10056
 
9745
- var _excluded$v = ["visibleIcon", "hiddenIcon"],
10057
+ var _excluded$w = ["visibleIcon", "hiddenIcon"],
9746
10058
  _excluded2$a = ["isVisible", "setIsVisible"];
9747
10059
  var PasswordComponent = _ref => {
9748
10060
  var {
@@ -9753,7 +10065,7 @@ var PasswordComponent = _ref => {
9753
10065
  widthHeight: 14
9754
10066
  })
9755
10067
  } = _ref,
9756
- props = _objectWithoutPropertiesLoose(_ref, _excluded$v);
10068
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
9757
10069
  var _usePasswordState = usePasswordState(props),
9758
10070
  {
9759
10071
  isVisible,
@@ -9807,7 +10119,7 @@ var useComboBoxState = (items, placeholder, searchPlaceholder) => {
9807
10119
  };
9808
10120
  };
9809
10121
 
9810
- var _excluded$w = ["placeholder", "items", "showTick", "onSelect", "searchEnabled", "left", "right", "label", "filteredItems", "setSelectedItem", "selectedItem", "highlightedIndex", "setHighlightedIndex", "searchQuery", "setSearchQuery", "setFilteredItems", "views", "isDropdownVisible", "setIsDropdownVisible"];
10122
+ var _excluded$x = ["placeholder", "items", "showTick", "onSelect", "searchEnabled", "left", "right", "label", "filteredItems", "setSelectedItem", "selectedItem", "highlightedIndex", "setHighlightedIndex", "searchQuery", "setSearchQuery", "setFilteredItems", "views", "isDropdownVisible", "setIsDropdownVisible"];
9811
10123
  // Defines the functional component 'ComboBoxView' with destructured props.
9812
10124
  var ComboBoxView = _ref => {
9813
10125
  var {
@@ -9832,7 +10144,7 @@ var ComboBoxView = _ref => {
9832
10144
  setIsDropdownVisible
9833
10145
  // Collects all further props not destructured explicitly.
9834
10146
  } = _ref,
9835
- props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
10147
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
9836
10148
  // Sets up an effect to handle clicking outside the dropdown to close it.
9837
10149
  useEffect(() => {
9838
10150
  var handleClickOutside = event => {
@@ -9944,7 +10256,7 @@ var ComboBoxView = _ref => {
9944
10256
  }))))))))))));
9945
10257
  };
9946
10258
 
9947
- var _excluded$x = ["id", "name", "items", "placeholder", "searchPlaceholder"];
10259
+ var _excluded$y = ["id", "name", "items", "placeholder", "searchPlaceholder"];
9948
10260
  // Defines the ComboBoxComponent functional component with ComboBoxProps
9949
10261
  var ComboBoxComponent = _ref => {
9950
10262
  var {
@@ -9960,7 +10272,7 @@ var ComboBoxComponent = _ref => {
9960
10272
  searchPlaceholder
9961
10273
  // Destructures the rest of the props not explicitly defined
9962
10274
  } = _ref,
9963
- props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
10275
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
9964
10276
  // Initializes ComboBox state using custom hook with items and placeholders
9965
10277
  var state = useComboBoxState(items, placeholder, searchPlaceholder);
9966
10278
  return (
@@ -10282,7 +10594,7 @@ var useOTPInputState = _ref => {
10282
10594
  };
10283
10595
  };
10284
10596
 
10285
- var _excluded$y = ["id", "name", "label", "value", "length", "onChange", "onChangeText", "onComplete", "helperText", "placeholder", "shadow", "views", "size", "shape", "variant", "gap", "type", "error", "isFocused", "isHovered", "isDisabled", "isReadOnly", "isAutoFocus", "setValue", "setIsFocused", "setIsHovered", "inputRef", "containerRef", "mirrorSelectionStart", "mirrorSelectionEnd", "setMirrorSelectionStart", "setMirrorSelectionEnd", "handlePaste", "handleChange", "handleFocus", "handleBlur", "handleKeyDown", "handleKeyPress", "secureTextEntry", "isFirstColumn", "stepValues", "setInputRef", "onBlur", "onClick", "onFocus"];
10597
+ var _excluded$z = ["id", "name", "label", "value", "length", "onChange", "onChangeText", "onComplete", "helperText", "placeholder", "shadow", "views", "size", "shape", "variant", "gap", "type", "error", "isFocused", "isHovered", "isDisabled", "isReadOnly", "isAutoFocus", "setValue", "setIsFocused", "setIsHovered", "inputRef", "containerRef", "mirrorSelectionStart", "mirrorSelectionEnd", "setMirrorSelectionStart", "setMirrorSelectionEnd", "handlePaste", "handleChange", "handleFocus", "handleBlur", "handleKeyDown", "handleKeyPress", "secureTextEntry", "isFirstColumn", "stepValues", "setInputRef", "onBlur", "onClick", "onFocus"];
10286
10598
  // Create a context for OTP input slots
10287
10599
  var OTPInputContext = /*#__PURE__*/createContext({
10288
10600
  slots: [],
@@ -10336,7 +10648,7 @@ var OTPInputView = _ref => {
10336
10648
  onFocus = () => {}
10337
10649
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
10338
10650
  } = _ref,
10339
- props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
10651
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
10340
10652
  useTheme(); // Initialize theme context
10341
10653
  var showLabel = !!label;
10342
10654
  // Create context value for slots
@@ -10568,7 +10880,7 @@ var OTPInputComponent = props => {
10568
10880
  };
10569
10881
  var OTPInput = OTPInputComponent;
10570
10882
 
10571
- var _excluded$z = ["children", "autoFocus", "initFocus", "onChange"];
10883
+ var _excluded$A = ["children", "autoFocus", "initFocus", "onChange"];
10572
10884
  var FocusContext = /*#__PURE__*/createContext({
10573
10885
  active: false,
10574
10886
  focusNextInput: () => {},
@@ -10584,7 +10896,7 @@ var FormikForm = _ref => {
10584
10896
  initFocus,
10585
10897
  onChange = () => {}
10586
10898
  } = _ref,
10587
- props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
10899
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
10588
10900
  var formik = useFormikContext();
10589
10901
  useEffect(() => {
10590
10902
  onChange(formik.values);
@@ -10632,7 +10944,7 @@ var FormikForm = _ref => {
10632
10944
  }, /*#__PURE__*/React.createElement(Form, Object.assign({}, props), children));
10633
10945
  };
10634
10946
 
10635
- var _excluded$A = ["name", "type"];
10947
+ var _excluded$B = ["name", "type"];
10636
10948
  var getInputTypeProps = type => {
10637
10949
  switch (type) {
10638
10950
  case 'email':
@@ -10671,7 +10983,7 @@ var useFormikInput = _ref => {
10671
10983
  name,
10672
10984
  type
10673
10985
  } = _ref,
10674
- props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
10986
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$B);
10675
10987
  var focus = useFormFocus();
10676
10988
  var {
10677
10989
  touched,
@@ -10715,13 +11027,13 @@ var useFormikInput = _ref => {
10715
11027
  } : {});
10716
11028
  };
10717
11029
 
10718
- var _excluded$B = ["value"];
11030
+ var _excluded$C = ["value"];
10719
11031
  var CheckboxComponent$1 = props => {
10720
11032
  var _useFormikInput = useFormikInput(props),
10721
11033
  {
10722
11034
  value
10723
11035
  } = _useFormikInput,
10724
- formProps = _objectWithoutPropertiesLoose(_useFormikInput, _excluded$B);
11036
+ formProps = _objectWithoutPropertiesLoose(_useFormikInput, _excluded$C);
10725
11037
  formProps.isChecked = value;
10726
11038
  var checkboxStates = useCheckboxState(props);
10727
11039
  return /*#__PURE__*/React.createElement(CheckboxView, Object.assign({}, checkboxStates, formProps));
@@ -10779,11 +11091,11 @@ var TextAreaComponent$1 = props => {
10779
11091
  */
10780
11092
  var FormikTextArea = TextAreaComponent$1;
10781
11093
 
10782
- var _excluded$C = ["value"];
11094
+ var _excluded$D = ["value"];
10783
11095
  var TextFieldComponent$1 = props => {
10784
11096
  var formProps = useFormikInput(props);
10785
11097
  var _useTextFieldState = useTextFieldState(props),
10786
- textFieldStates = _objectWithoutPropertiesLoose(_useTextFieldState, _excluded$C);
11098
+ textFieldStates = _objectWithoutPropertiesLoose(_useTextFieldState, _excluded$D);
10787
11099
  return /*#__PURE__*/React.createElement(TextFieldView, Object.assign({}, textFieldStates, formProps));
10788
11100
  };
10789
11101
  /**
@@ -10791,7 +11103,7 @@ var TextFieldComponent$1 = props => {
10791
11103
  */
10792
11104
  var FormikTextField = TextFieldComponent$1;
10793
11105
 
10794
- var _excluded$D = ["visibleIcon", "hiddenIcon"],
11106
+ var _excluded$E = ["visibleIcon", "hiddenIcon"],
10795
11107
  _excluded2$b = ["isVisible", "setIsVisible"];
10796
11108
  var PasswordComponent$1 = _ref => {
10797
11109
  var {
@@ -10802,7 +11114,7 @@ var PasswordComponent$1 = _ref => {
10802
11114
  widthHeight: 14
10803
11115
  })
10804
11116
  } = _ref,
10805
- props = _objectWithoutPropertiesLoose(_ref, _excluded$D);
11117
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$E);
10806
11118
  var formProps = useFormikInput(props);
10807
11119
  var _usePasswordState = usePasswordState(formProps),
10808
11120
  {
@@ -10827,14 +11139,14 @@ var PasswordComponent$1 = _ref => {
10827
11139
  */
10828
11140
  var FormikPassword = PasswordComponent$1;
10829
11141
 
10830
- var _excluded$E = ["items", "placeholder", "searchPlaceholder"];
11142
+ var _excluded$F = ["items", "placeholder", "searchPlaceholder"];
10831
11143
  var ComboBoxComponent$1 = _ref => {
10832
11144
  var {
10833
11145
  items,
10834
11146
  placeholder,
10835
11147
  searchPlaceholder
10836
11148
  } = _ref,
10837
- props = _objectWithoutPropertiesLoose(_ref, _excluded$E);
11149
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$F);
10838
11150
  var formProps = useFormikInput(props);
10839
11151
  var ComboBoxStates = useComboBoxState(items, placeholder, searchPlaceholder);
10840
11152
  // Ensure the onChange function from formProps is being called when an item is selected
@@ -11115,7 +11427,7 @@ var OrientationStyles = {
11115
11427
  }
11116
11428
  };
11117
11429
 
11118
- var _excluded$F = ["min", "max", "step", "currentValue", "stepValues", "shape", "size", "variant", "orientation", "isDisabled", "showValue", "showTooltip", "backgroundColor", "label", "helperText", "themeMode", "shadow", "isDragging", "isHovered", "setIsHovered", "trackRef", "thumbRef", "handleThumbMouseDown", "handleTrackMouseDown", "handleKeyDown", "thumbPositionPercent", "ariaLabel", "views"];
11430
+ var _excluded$G = ["min", "max", "step", "currentValue", "stepValues", "shape", "size", "variant", "orientation", "isDisabled", "showValue", "showTooltip", "backgroundColor", "label", "helperText", "themeMode", "shadow", "isDragging", "isHovered", "setIsHovered", "trackRef", "thumbRef", "handleThumbMouseDown", "handleTrackMouseDown", "handleKeyDown", "thumbPositionPercent", "ariaLabel", "views"];
11119
11431
  var SliderView = _ref => {
11120
11432
  var _views$tooltip, _views$tooltip2;
11121
11433
  var {
@@ -11158,7 +11470,7 @@ var SliderView = _ref => {
11158
11470
  tooltip: {}
11159
11471
  }
11160
11472
  } = _ref,
11161
- props = _objectWithoutPropertiesLoose(_ref, _excluded$F);
11473
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$G);
11162
11474
  var {
11163
11475
  getColor,
11164
11476
  themeMode
@@ -12036,7 +12348,7 @@ var UploadView = _ref => {
12036
12348
  }, views == null ? void 0 : views.view)));
12037
12349
  };
12038
12350
 
12039
- var _excluded$G = ["accept", "icon", "text", "maxSize", "onFileSelect", "validateFile", "isLoading", "progress", "fileType"];
12351
+ var _excluded$H = ["accept", "icon", "text", "maxSize", "onFileSelect", "validateFile", "isLoading", "progress", "fileType"];
12040
12352
  var Uploader = _ref => {
12041
12353
  var {
12042
12354
  accept = '*/*',
@@ -12049,7 +12361,7 @@ var Uploader = _ref => {
12049
12361
  progress = 0,
12050
12362
  fileType
12051
12363
  } = _ref,
12052
- props = _objectWithoutPropertiesLoose(_ref, _excluded$G);
12364
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$H);
12053
12365
  var {
12054
12366
  previewUrl,
12055
12367
  thumbnailUrl,
@@ -12240,7 +12552,7 @@ var ModalTypography = {
12240
12552
  }
12241
12553
  };
12242
12554
 
12243
- var _excluded$H = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
12555
+ var _excluded$I = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
12244
12556
  _excluded2$c = ["children", "shadow", "isFullScreen", "shape", "views", "isOpen"],
12245
12557
  _excluded3$8 = ["children", "buttonColor", "iconSize", "buttonPosition", "views"],
12246
12558
  _excluded4$7 = ["children", "views"],
@@ -12255,7 +12567,7 @@ var ModalOverlay = _ref => {
12255
12567
  position = 'center',
12256
12568
  views
12257
12569
  } = _ref,
12258
- props = _objectWithoutPropertiesLoose(_ref, _excluded$H);
12570
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$I);
12259
12571
  var handleClick = () => {
12260
12572
  if (!isClosePrevented) onClose();
12261
12573
  };
@@ -12551,7 +12863,7 @@ var NavigationMenuItemStates = {
12551
12863
  }
12552
12864
  };
12553
12865
 
12554
- var _excluded$I = ["href", "children", "views"];
12866
+ var _excluded$J = ["href", "children", "views"];
12555
12867
  // Create context for the NavigationMenu
12556
12868
  var NavigationMenuContext = /*#__PURE__*/createContext({
12557
12869
  activeItemId: null,
@@ -12786,7 +13098,7 @@ var NavigationMenuLink = _ref6 => {
12786
13098
  children,
12787
13099
  views
12788
13100
  } = _ref6,
12789
- props = _objectWithoutPropertiesLoose(_ref6, _excluded$I);
13101
+ props = _objectWithoutPropertiesLoose(_ref6, _excluded$J);
12790
13102
  var {
12791
13103
  itemValue,
12792
13104
  isDisabled
@@ -12853,7 +13165,7 @@ var NavigationMenuView = _ref7 => {
12853
13165
  })))));
12854
13166
  };
12855
13167
 
12856
- var _excluded$J = ["items", "children", "orientation", "size", "variant", "defaultActiveItemId", "defaultExpandedItemIds", "onItemActivate", "views"];
13168
+ var _excluded$K = ["items", "children", "orientation", "size", "variant", "defaultActiveItemId", "defaultExpandedItemIds", "onItemActivate", "views"];
12857
13169
  /**
12858
13170
  * NavigationMenu component for creating navigation menus with optional nested items.
12859
13171
  * Supports both data-driven approach (with items prop) and compound component pattern.
@@ -12870,7 +13182,7 @@ var NavigationMenuComponent = _ref => {
12870
13182
  onItemActivate,
12871
13183
  views
12872
13184
  } = _ref,
12873
- props = _objectWithoutPropertiesLoose(_ref, _excluded$J);
13185
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$K);
12874
13186
  var {
12875
13187
  activeItemId,
12876
13188
  setActiveItemId,
@@ -13325,6 +13637,507 @@ var TabsComponent = _ref => {
13325
13637
  // Export the component wrapped in React.memo for performance optimization
13326
13638
  var Tabs = /*#__PURE__*/React.memo(TabsComponent);
13327
13639
 
13640
+ /**
13641
+ * Custom hook for managing Title component state and animations
13642
+ */
13643
+ var useTitleState = props => {
13644
+ var {
13645
+ animation = 'none',
13646
+ animationDirection = 'left',
13647
+ animationDuration = '1s',
13648
+ animationDelay = '0s',
13649
+ children,
13650
+ _isInView = false,
13651
+ alternateHighlightText = [],
13652
+ alternateAnimation = false,
13653
+ alternateDuration = 3000,
13654
+ highlightText
13655
+ } = props;
13656
+ // State for typewriter animation
13657
+ var [displayText, setDisplayText] = useState('');
13658
+ // State for alternating highlight text
13659
+ var [currentHighlightText, setCurrentHighlightText] = useState(highlightText);
13660
+ // State for the alternating text content
13661
+ var [alternatingContent, setAlternatingContent] = useState(children);
13662
+ // Handle alternating highlight text animation
13663
+ useEffect(() => {
13664
+ // Initialize with the provided highlightText
13665
+ setCurrentHighlightText(highlightText);
13666
+ // If not using alternating animation or no alternateHighlightText provided, return early
13667
+ if (!alternateAnimation || alternateHighlightText.length === 0 || !_isInView) {
13668
+ return () => {};
13669
+ }
13670
+ // Only proceed if children is a string
13671
+ if (typeof children !== 'string') {
13672
+ return () => {};
13673
+ }
13674
+ // Set initial content with the first alternating text
13675
+ var baseText = children;
13676
+ var currentIndex = 0;
13677
+ // Function to update the content with the current alternating text
13678
+ var updateContent = index => {
13679
+ if (highlightText && typeof highlightText === 'string') {
13680
+ // Replace the highlightText with the current alternating text
13681
+ var regex = new RegExp(highlightText, 'gi');
13682
+ var newContent = baseText.replace(regex, alternateHighlightText[index]);
13683
+ setAlternatingContent(newContent);
13684
+ }
13685
+ };
13686
+ // Set initial content
13687
+ updateContent(currentIndex);
13688
+ // Create interval to cycle through the alternateHighlightText array
13689
+ var interval = setInterval(() => {
13690
+ currentIndex = (currentIndex + 1) % alternateHighlightText.length;
13691
+ updateContent(currentIndex);
13692
+ }, alternateDuration);
13693
+ return () => clearInterval(interval);
13694
+ }, [alternateAnimation, alternateHighlightText, alternateDuration, highlightText, children, _isInView]);
13695
+ // Handle typewriter animation
13696
+ useEffect(() => {
13697
+ // Only start the typewriter animation when the component is in view
13698
+ if (animation === 'typewriter' && typeof children === 'string' && _isInView) {
13699
+ var text = children;
13700
+ var currentIndex = 0;
13701
+ setDisplayText('');
13702
+ var interval = setInterval(() => {
13703
+ if (currentIndex <= text.length) {
13704
+ setDisplayText(text.substring(0, currentIndex));
13705
+ currentIndex++;
13706
+ } else {
13707
+ clearInterval(interval);
13708
+ }
13709
+ }, 100);
13710
+ return () => clearInterval(interval);
13711
+ }
13712
+ // Reset the text if not in view
13713
+ if (animation === 'typewriter' && !_isInView) {
13714
+ setDisplayText('');
13715
+ }
13716
+ return () => {};
13717
+ }, [animation, children, _isInView]);
13718
+ // Get animation configuration based on animation type
13719
+ var getAnimation = () => {
13720
+ // For typewriter animation, we handle it separately with useState and useEffect
13721
+ if (animation === 'typewriter') {
13722
+ return undefined;
13723
+ }
13724
+ switch (animation) {
13725
+ case 'fadeIn':
13726
+ return {
13727
+ from: {
13728
+ opacity: 0
13729
+ },
13730
+ to: {
13731
+ opacity: 1
13732
+ },
13733
+ duration: animationDuration,
13734
+ delay: animationDelay,
13735
+ // iterationCount: 'infinite',
13736
+ direction: 'alternate'
13737
+ };
13738
+ case 'slideIn':
13739
+ switch (animationDirection) {
13740
+ case 'left':
13741
+ return {
13742
+ from: {
13743
+ transform: 'translateX(-100%)'
13744
+ },
13745
+ to: {
13746
+ transform: 'translateX(0)'
13747
+ },
13748
+ duration: animationDuration,
13749
+ delay: animationDelay,
13750
+ // iterationCount: 'infinite',
13751
+ direction: 'alternate'
13752
+ };
13753
+ case 'right':
13754
+ return {
13755
+ from: {
13756
+ transform: 'translateX(100%)'
13757
+ },
13758
+ to: {
13759
+ transform: 'translateX(0)'
13760
+ },
13761
+ duration: animationDuration,
13762
+ delay: animationDelay,
13763
+ // iterationCount: 'infinite',
13764
+ direction: 'alternate'
13765
+ };
13766
+ case 'top':
13767
+ return {
13768
+ from: {
13769
+ transform: 'translateY(-100%)'
13770
+ },
13771
+ to: {
13772
+ transform: 'translateY(0)'
13773
+ },
13774
+ duration: animationDuration,
13775
+ delay: animationDelay,
13776
+ // iterationCount: 'infinite',
13777
+ direction: 'alternate'
13778
+ };
13779
+ case 'bottom':
13780
+ return {
13781
+ from: {
13782
+ transform: 'translateY(100%)'
13783
+ },
13784
+ to: {
13785
+ transform: 'translateY(0)'
13786
+ },
13787
+ duration: animationDuration,
13788
+ delay: animationDelay,
13789
+ // iterationCount: 'infinite',
13790
+ direction: 'alternate'
13791
+ };
13792
+ default:
13793
+ return {
13794
+ from: {
13795
+ transform: 'translateX(-100%)'
13796
+ },
13797
+ to: {
13798
+ transform: 'translateX(0)'
13799
+ },
13800
+ duration: animationDuration,
13801
+ delay: animationDelay,
13802
+ // iterationCount: 'infinite',
13803
+ direction: 'alternate'
13804
+ };
13805
+ }
13806
+ case 'bounce':
13807
+ return {
13808
+ from: {
13809
+ transform: 'translateY(0)'
13810
+ },
13811
+ '20%': {
13812
+ transform: 'translateY(-30px)'
13813
+ },
13814
+ '40%': {
13815
+ transform: 'translateY(0)'
13816
+ },
13817
+ '60%': {
13818
+ transform: 'translateY(-15px)'
13819
+ },
13820
+ '80%': {
13821
+ transform: 'translateY(0)'
13822
+ },
13823
+ to: {
13824
+ transform: 'translateY(0)'
13825
+ },
13826
+ duration: animationDuration,
13827
+ delay: animationDelay,
13828
+ iterationCount: '1'
13829
+ };
13830
+ case 'highlight':
13831
+ return {
13832
+ from: {
13833
+ backgroundSize: '0 100%'
13834
+ },
13835
+ to: {
13836
+ backgroundSize: '100% 100%'
13837
+ },
13838
+ duration: animationDuration,
13839
+ delay: animationDelay
13840
+ };
13841
+ case 'reveal':
13842
+ return {
13843
+ from: {
13844
+ clipPath: 'polygon(0 0, 0 0, 0 100%, 0% 100%)'
13845
+ },
13846
+ to: {
13847
+ clipPath: 'polygon(0 0, 100% 0, 100% 100%, 0 100%)'
13848
+ },
13849
+ duration: animationDuration,
13850
+ delay: animationDelay
13851
+ };
13852
+ case 'none':
13853
+ default:
13854
+ return undefined;
13855
+ }
13856
+ };
13857
+ return {
13858
+ displayText,
13859
+ getAnimation,
13860
+ currentHighlightText,
13861
+ alternatingContent
13862
+ };
13863
+ };
13864
+
13865
+ /**
13866
+ * Font sizes for different title sizes
13867
+ */
13868
+ var TitleSizes = {
13869
+ xs: 16,
13870
+ sm: 20,
13871
+ md: 24,
13872
+ lg: 32,
13873
+ xl: 40,
13874
+ '2xl': 48,
13875
+ '3xl': 56,
13876
+ '4xl': 64,
13877
+ '5xl': 72,
13878
+ '6xl': 80
13879
+ };
13880
+ /**
13881
+ * Line heights for different title sizes
13882
+ */
13883
+ var LineHeights$1 = {
13884
+ xs: 24,
13885
+ sm: 28,
13886
+ md: 32,
13887
+ lg: 64,
13888
+ xl: 88
13889
+ };
13890
+ /**
13891
+ * Default styles for different highlight types
13892
+ */
13893
+ var HighlightStyles = {
13894
+ underline: color => ({
13895
+ textDecoration: 'underline',
13896
+ textDecorationColor: color,
13897
+ textDecorationThickness: '4px',
13898
+ textUnderlineOffset: '4px'
13899
+ }),
13900
+ background: color => ({
13901
+ backgroundColor: color,
13902
+ color: 'color.white',
13903
+ padding: '0 8px',
13904
+ borderRadius: '4px'
13905
+ }),
13906
+ gradient: (color, secondaryColor) => ({
13907
+ background: "linear-gradient(135deg, " + color + ", " + (secondaryColor || color) + ")",
13908
+ webkitBackgroundClip: 'text',
13909
+ webkitTextFillColor: 'transparent',
13910
+ backgroundClip: 'text',
13911
+ color: 'transparent',
13912
+ display: 'inline-block'
13913
+ }),
13914
+ outline: color => ({
13915
+ webkitTextStroke: "1px " + color,
13916
+ webkitTextFillColor: 'transparent',
13917
+ color: 'transparent',
13918
+ textShadow: 'none'
13919
+ }),
13920
+ glow: color => ({
13921
+ color: color,
13922
+ textShadow: "0 0 10px " + color + "80, 0 0 20px " + color + "40, 0 0 30px " + color + "20"
13923
+ })
13924
+ };
13925
+
13926
+ var _excluded$L = ["children", "highlightText", "highlightStyle", "highlightColor", "highlightSecondaryColor", "animation", "size", "centered", "views"];
13927
+ /**
13928
+ * Title View Component
13929
+ *
13930
+ * Renders a title with optional highlighting and animations for hero sections.
13931
+ */
13932
+ var TitleView = _ref => {
13933
+ var {
13934
+ children,
13935
+ highlightText,
13936
+ highlightStyle = 'background',
13937
+ highlightColor = 'theme.primary',
13938
+ highlightSecondaryColor,
13939
+ animation = 'none',
13940
+ size = 'xl',
13941
+ centered = false,
13942
+ views
13943
+ } = _ref,
13944
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$L);
13945
+ // Use the inView hook to detect when the component is visible
13946
+ var {
13947
+ ref,
13948
+ inView
13949
+ } = useInView();
13950
+ // Get theme utilities
13951
+ var {
13952
+ getColor,
13953
+ themeMode: contextThemeMode
13954
+ } = useTheme();
13955
+ var themeMode = props.themeMode || contextThemeMode;
13956
+ // Resolve theme colors
13957
+ var resolvedHighlightColor = getColor(highlightColor, {
13958
+ themeMode
13959
+ });
13960
+ var resolvedSecondaryColor = highlightSecondaryColor ? getColor(highlightSecondaryColor, {
13961
+ themeMode
13962
+ }) : undefined;
13963
+ // Get state and animation functions from custom hook
13964
+ var {
13965
+ displayText,
13966
+ getAnimation,
13967
+ currentHighlightText,
13968
+ alternatingContent
13969
+ } = useTitleState(Object.assign({
13970
+ children,
13971
+ highlightText,
13972
+ highlightStyle,
13973
+ highlightColor: resolvedHighlightColor,
13974
+ animation,
13975
+ _isInView: inView
13976
+ }, props));
13977
+ // Get animation configuration only when the component is in view
13978
+ // For typewriter animation, we don't need an animation config as it's handled by useState/useEffect
13979
+ var animationConfig = inView && animation !== 'typewriter' ? getAnimation() : undefined;
13980
+ // Get highlight styles
13981
+ var highlightStyleProps = HighlightStyles[highlightStyle](resolvedHighlightColor, resolvedSecondaryColor);
13982
+ // Get font size and line height based on size prop
13983
+ var fontSize = TitleSizes[size];
13984
+ var lineHeight = LineHeights$1[size];
13985
+ // For typewriter animation, use the displayText state
13986
+ // For alternating animation, use the alternatingContent state
13987
+ var content = animation === 'typewriter' ? displayText : props.alternateAnimation && typeof alternatingContent === 'string' ? alternatingContent : children;
13988
+ // If the content is a simple string and we have highlight text
13989
+ if (typeof children === 'string' && currentHighlightText) {
13990
+ var text = children;
13991
+ // For a single highlight text
13992
+ if (typeof currentHighlightText === 'string') {
13993
+ // Create a regex pattern to match the highlight text
13994
+ // Use a more flexible approach that can match within words
13995
+ var pattern = new RegExp("(" + currentHighlightText + ")", 'gi');
13996
+ // Check if the pattern matches anything in the text
13997
+ if (pattern.test(text)) {
13998
+ // Reset the regex pattern's lastIndex property
13999
+ pattern.lastIndex = 0;
14000
+ // Split the text by the pattern and keep the matches
14001
+ var parts = [];
14002
+ var lastIndex = 0;
14003
+ var match;
14004
+ while ((match = pattern.exec(text)) !== null) {
14005
+ // Add the text before the match
14006
+ if (match.index > lastIndex) {
14007
+ parts.push(text.substring(lastIndex, match.index));
14008
+ }
14009
+ // Add the match as a special part to be highlighted
14010
+ parts.push({
14011
+ highlight: true,
14012
+ text: match[0]
14013
+ });
14014
+ lastIndex = match.index + match[0].length;
14015
+ }
14016
+ // Add any remaining text after the last match
14017
+ if (lastIndex < text.length) {
14018
+ parts.push(text.substring(lastIndex));
14019
+ }
14020
+ return /*#__PURE__*/React.createElement(Element, Object.assign({
14021
+ ref: ref,
14022
+ as: "h1",
14023
+ fontSize: fontSize,
14024
+ lineHeight: lineHeight + "px",
14025
+ fontWeight: "bold",
14026
+ textAlign: centered ? 'center' : 'left',
14027
+ animate: animationConfig
14028
+ }, props, views == null ? void 0 : views.container), parts.map((part, index) => (/*#__PURE__*/React.createElement(React.Fragment, {
14029
+ key: index
14030
+ }, typeof part === 'string' ? part : (/*#__PURE__*/React.createElement(Text$1, Object.assign({
14031
+ as: "span",
14032
+ display: "inline"
14033
+ }, highlightStyleProps, views == null ? void 0 : views.highlight), part.text))))));
14034
+ }
14035
+ }
14036
+ // For multiple highlight texts
14037
+ if (Array.isArray(currentHighlightText)) {
14038
+ // Create a regex pattern to match any of the highlight texts
14039
+ // Use a more flexible approach that can match within words
14040
+ var _pattern = new RegExp("(" + currentHighlightText.join('|') + ")", 'gi');
14041
+ // Check if the pattern matches anything in the text
14042
+ if (_pattern.test(text)) {
14043
+ // Reset the regex pattern's lastIndex property
14044
+ _pattern.lastIndex = 0;
14045
+ // Split the text by the pattern and keep the matches
14046
+ var _parts = [];
14047
+ var _lastIndex = 0;
14048
+ var _match;
14049
+ while ((_match = _pattern.exec(text)) !== null) {
14050
+ // Add the text before the match
14051
+ if (_match.index > _lastIndex) {
14052
+ _parts.push(text.substring(_lastIndex, _match.index));
14053
+ }
14054
+ // Add the match as a special part to be highlighted
14055
+ _parts.push({
14056
+ highlight: true,
14057
+ text: _match[0]
14058
+ });
14059
+ _lastIndex = _match.index + _match[0].length;
14060
+ }
14061
+ // Add any remaining text after the last match
14062
+ if (_lastIndex < text.length) {
14063
+ _parts.push(text.substring(_lastIndex));
14064
+ }
14065
+ return /*#__PURE__*/React.createElement(Element, Object.assign({
14066
+ ref: ref,
14067
+ as: "h1",
14068
+ fontSize: fontSize,
14069
+ lineHeight: lineHeight + "px",
14070
+ fontWeight: "bold",
14071
+ textAlign: centered ? 'center' : 'left',
14072
+ animate: animationConfig
14073
+ }, props, views == null ? void 0 : views.container), _parts.map((part, index) => (/*#__PURE__*/React.createElement(React.Fragment, {
14074
+ key: index
14075
+ }, typeof part === 'string' ? part : (/*#__PURE__*/React.createElement(Text$1, Object.assign({
14076
+ as: "span",
14077
+ display: "inline"
14078
+ }, highlightStyleProps, views == null ? void 0 : views.highlight), part.text))))));
14079
+ }
14080
+ }
14081
+ }
14082
+ // Default rendering for non-string children or no highlighting
14083
+ return /*#__PURE__*/React.createElement(Element, Object.assign({
14084
+ ref: ref,
14085
+ as: "h1",
14086
+ fontSize: fontSize,
14087
+ lineHeight: lineHeight + "px",
14088
+ fontWeight: "bold",
14089
+ textAlign: centered ? 'center' : 'left',
14090
+ animate: animationConfig
14091
+ }, props, views == null ? void 0 : views.container), content);
14092
+ };
14093
+
14094
+ /**
14095
+ * Title Component
14096
+ *
14097
+ * A component for rendering animated and highlighted titles in hero sections.
14098
+ *
14099
+ * Features:
14100
+ * - Text highlighting with various styles (background, underline, gradient, outline, glow)
14101
+ * - Multiple animation options (fade, slide, typewriter, reveal)
14102
+ * - Responsive sizing
14103
+ * - Customizable styling
14104
+ *
14105
+ * @example
14106
+ * // Basic usage
14107
+ * <Title>Welcome to Our Platform</Title>
14108
+ *
14109
+ * @example
14110
+ * // With highlighting
14111
+ * <Title highlightText="Platform" highlightStyle="background" highlightColor="theme.primary">
14112
+ * Welcome to Our Platform
14113
+ * </Title>
14114
+ *
14115
+ * @example
14116
+ * // With animation
14117
+ * <Title
14118
+ * animation="fadeIn"
14119
+ * animationDuration="1.5s"
14120
+ * size="2xl"
14121
+ * >
14122
+ * Animated Title
14123
+ * </Title>
14124
+ *
14125
+ * @example
14126
+ * // With multiple highlights
14127
+ * <Title
14128
+ * highlightText={["Amazing", "Features"]}
14129
+ * highlightStyle="gradient"
14130
+ * highlightColor="theme.primary"
14131
+ * highlightSecondaryColor="theme.secondary"
14132
+ * >
14133
+ * Discover our Amazing Product with Great Features
14134
+ * </Title>
14135
+ */
14136
+ var TitleComponent = props => {
14137
+ return /*#__PURE__*/React.createElement(TitleView, Object.assign({}, props));
14138
+ };
14139
+ var Title = TitleComponent;
14140
+
13328
14141
  // Declares the useToggleState function which takes defaultToggled parameter to initialize the toggle state.
13329
14142
  var useToggleState = defaultToggled => {
13330
14143
  // Creates a stateful value isHovered for tracking hover state and a function setIsHovered to update that state, initially false.
@@ -13340,7 +14153,7 @@ var useToggleState = defaultToggled => {
13340
14153
  };
13341
14154
  };
13342
14155
 
13343
- var _excluded$K = ["children", "shape", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle", "views"];
14156
+ var _excluded$M = ["children", "shape", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle", "views"];
13344
14157
  var ToggleView = _ref => {
13345
14158
  var {
13346
14159
  children,
@@ -13354,7 +14167,7 @@ var ToggleView = _ref => {
13354
14167
  onToggle,
13355
14168
  views
13356
14169
  } = _ref,
13357
- props = _objectWithoutPropertiesLoose(_ref, _excluded$K);
14170
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$M);
13358
14171
  var toggleColor = !isDisabled ? 'color.trueGray.400' : 'theme.disabled';
13359
14172
  var isActive = !!(isToggle || isHovered);
13360
14173
  var toggleVariants = {
@@ -13397,7 +14210,7 @@ var ToggleView = _ref => {
13397
14210
  }, toggleVariants[variant], props, views == null ? void 0 : views.container), children);
13398
14211
  };
13399
14212
 
13400
- var _excluded$L = ["children", "shape", "variant", "isDisabled", "isToggled", "onToggle"];
14213
+ var _excluded$N = ["children", "shape", "variant", "isDisabled", "isToggled", "onToggle"];
13401
14214
  // Destructuring properties from ToggleProps to be used within the ToggleComponent.
13402
14215
  var ToggleComponent = _ref => {
13403
14216
  var {
@@ -13409,7 +14222,7 @@ var ToggleComponent = _ref => {
13409
14222
  isToggled = false,
13410
14223
  onToggle
13411
14224
  } = _ref,
13412
- props = _objectWithoutPropertiesLoose(_ref, _excluded$L);
14225
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$N);
13413
14226
  // Initializing toggle state and set state functions using the custom hook useToggleState.
13414
14227
  var {
13415
14228
  isHovered,
@@ -13800,7 +14613,7 @@ var getDropdownPosition = function getDropdownPosition(side, align) {
13800
14613
  return positions[side];
13801
14614
  };
13802
14615
 
13803
- var _excluded$M = ["children", "views"],
14616
+ var _excluded$O = ["children", "views"],
13804
14617
  _excluded2$d = ["items", "side", "align", "views"],
13805
14618
  _excluded3$9 = ["item", "views"],
13806
14619
  _excluded4$8 = ["views"],
@@ -13838,7 +14651,7 @@ var DropdownMenuTrigger = _ref2 => {
13838
14651
  children,
13839
14652
  views
13840
14653
  } = _ref2,
13841
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$M);
14654
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$O);
13842
14655
  var {
13843
14656
  isOpen,
13844
14657
  setIsOpen
@@ -13998,7 +14811,7 @@ var DropdownMenuView = _ref6 => {
13998
14811
  }));
13999
14812
  };
14000
14813
 
14001
- var _excluded$N = ["trigger", "items", "size", "variant", "side", "align", "defaultOpen", "views"];
14814
+ var _excluded$P = ["trigger", "items", "size", "variant", "side", "align", "defaultOpen", "views"];
14002
14815
  /**
14003
14816
  * DropdownMenu component for displaying a menu when clicking on a trigger element.
14004
14817
  */
@@ -14013,7 +14826,7 @@ var DropdownMenuComponent = _ref => {
14013
14826
  defaultOpen = false,
14014
14827
  views
14015
14828
  } = _ref,
14016
- props = _objectWithoutPropertiesLoose(_ref, _excluded$N);
14829
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$P);
14017
14830
  var {
14018
14831
  isOpen,
14019
14832
  setIsOpen,
@@ -14211,7 +15024,7 @@ var useRect = ref => {
14211
15024
  return rect;
14212
15025
  };
14213
15026
 
14214
- var _excluded$O = ["children", "views", "asChild"],
15027
+ var _excluded$Q = ["children", "views", "asChild"],
14215
15028
  _excluded2$e = ["children", "views", "side", "align", "sideOffset", "style", "backgroundColor", "borderRadius", "boxShadow", "padding", "minWidth", "maxWidth"];
14216
15029
  // Create context for the HoverCard
14217
15030
  var HoverCardContext = /*#__PURE__*/createContext({
@@ -14250,7 +15063,7 @@ var HoverCardTrigger = _ref2 => {
14250
15063
  views,
14251
15064
  asChild = false
14252
15065
  } = _ref2,
14253
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$O);
15066
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$Q);
14254
15067
  var {
14255
15068
  openCard,
14256
15069
  closeCard,
@@ -14337,7 +15150,7 @@ var HoverCardContent = _ref3 => {
14337
15150
  }, views == null ? void 0 : views.container, props), children);
14338
15151
  };
14339
15152
 
14340
- var _excluded$P = ["children", "views", "openDelay", "closeDelay"];
15153
+ var _excluded$R = ["children", "views", "openDelay", "closeDelay"];
14341
15154
  /**
14342
15155
  * HoverCard component displays floating content when hovering over a trigger element.
14343
15156
  * Supports configurable open and close delays for a smoother user experience.
@@ -14349,7 +15162,7 @@ var HoverCardComponent = _ref => {
14349
15162
  openDelay,
14350
15163
  closeDelay
14351
15164
  } = _ref,
14352
- props = _objectWithoutPropertiesLoose(_ref, _excluded$P);
15165
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$R);
14353
15166
  var hoverCardState = useHoverCardState({
14354
15167
  openDelay,
14355
15168
  closeDelay
@@ -14479,7 +15292,7 @@ var getMenubarContentPosition = orientation => {
14479
15292
  };
14480
15293
  };
14481
15294
 
14482
- var _excluded$Q = ["children", "orientation", "size", "variant", "views"];
15295
+ var _excluded$S = ["children", "orientation", "size", "variant", "views"];
14483
15296
  // Create context for the Menubar
14484
15297
  var MenubarContext = /*#__PURE__*/createContext({
14485
15298
  activeMenuId: null,
@@ -14513,7 +15326,7 @@ var MenubarRoot = _ref2 => {
14513
15326
  variant = 'default',
14514
15327
  views
14515
15328
  } = _ref2,
14516
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$Q);
15329
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$S);
14517
15330
  var Container = orientation === 'horizontal' ? Horizontal : Vertical;
14518
15331
  return /*#__PURE__*/React.createElement(Container, Object.assign({
14519
15332
  role: "menubar",
@@ -14699,7 +15512,7 @@ var MenubarView = _ref8 => {
14699
15512
  })))))));
14700
15513
  };
14701
15514
 
14702
- var _excluded$R = ["items", "orientation", "size", "variant", "defaultActiveMenuId", "defaultOpenMenuId", "views"];
15515
+ var _excluded$T = ["items", "orientation", "size", "variant", "defaultActiveMenuId", "defaultOpenMenuId", "views"];
14703
15516
  /**
14704
15517
  * Menubar component for creating horizontal or vertical menu bars with dropdown menus.
14705
15518
  */
@@ -14713,7 +15526,7 @@ var MenubarComponent = _ref => {
14713
15526
  defaultOpenMenuId = null,
14714
15527
  views
14715
15528
  } = _ref,
14716
- props = _objectWithoutPropertiesLoose(_ref, _excluded$R);
15529
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$T);
14717
15530
  var {
14718
15531
  activeMenuId,
14719
15532
  setActiveMenuId,
@@ -14869,7 +15682,7 @@ var DisabledButtonStyles = {
14869
15682
  }
14870
15683
  };
14871
15684
 
14872
- var _excluded$S = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "visiblePageNumbers", "views"];
15685
+ var _excluded$U = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "visiblePageNumbers", "views"];
14873
15686
  var PaginationView = _ref => {
14874
15687
  var {
14875
15688
  currentPage,
@@ -14900,7 +15713,7 @@ var PaginationView = _ref => {
14900
15713
  visiblePageNumbers,
14901
15714
  views
14902
15715
  } = _ref,
14903
- props = _objectWithoutPropertiesLoose(_ref, _excluded$S);
15716
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$U);
14904
15717
  var handlePageChange = page => {
14905
15718
  if (page < 1 || page > totalPages || page === currentPage) {
14906
15719
  return;
@@ -15019,7 +15832,7 @@ var PaginationView = _ref => {
15019
15832
  }, option.label))))));
15020
15833
  };
15021
15834
 
15022
- var _excluded$T = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "views"];
15835
+ var _excluded$V = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "views"];
15023
15836
  /**
15024
15837
  * Pagination component for navigating through pages of content.
15025
15838
  */
@@ -15040,7 +15853,7 @@ var PaginationComponent = _ref => {
15040
15853
  shape = 'rounded',
15041
15854
  views
15042
15855
  } = _ref,
15043
- props = _objectWithoutPropertiesLoose(_ref, _excluded$T);
15856
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$V);
15044
15857
  var {
15045
15858
  visiblePageNumbers
15046
15859
  } = usePaginationState(currentPage, totalPages, maxPageButtons);
@@ -15110,7 +15923,7 @@ var DefaultSeparatorStyles = {
15110
15923
  }
15111
15924
  };
15112
15925
 
15113
- var _excluded$U = ["orientation", "variant", "thickness", "color", "spacing", "label", "decorative", "views", "themeMode"];
15926
+ var _excluded$W = ["orientation", "variant", "thickness", "color", "spacing", "label", "decorative", "views", "themeMode"];
15114
15927
  var SeparatorView = _ref => {
15115
15928
  var {
15116
15929
  orientation = 'horizontal',
@@ -15122,7 +15935,7 @@ var SeparatorView = _ref => {
15122
15935
  decorative = false,
15123
15936
  views
15124
15937
  } = _ref,
15125
- props = _objectWithoutPropertiesLoose(_ref, _excluded$U);
15938
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$W);
15126
15939
  // Access theme if needed for future enhancements
15127
15940
  var {
15128
15941
  themeMode
@@ -15360,7 +16173,7 @@ var SidebarTransitions = {
15360
16173
  bounce: 'width 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55)'
15361
16174
  };
15362
16175
 
15363
- var _excluded$V = ["children", "showToggleButton", "views"],
16176
+ var _excluded$X = ["children", "showToggleButton", "views"],
15364
16177
  _excluded2$f = ["children", "views"],
15365
16178
  _excluded3$a = ["children", "views"],
15366
16179
  _excluded4$9 = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
@@ -15393,7 +16206,7 @@ var SidebarHeader = _ref2 => {
15393
16206
  showToggleButton = true,
15394
16207
  views
15395
16208
  } = _ref2,
15396
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$V);
16209
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$X);
15397
16210
  var {
15398
16211
  isExpanded,
15399
16212
  toggleExpanded,
@@ -15548,7 +16361,7 @@ var SidebarView = _ref5 => {
15548
16361
  }))));
15549
16362
  };
15550
16363
 
15551
- var _excluded$W = ["children", "position", "size", "variant", "defaultExpanded", "expanded", "onExpandedChange", "fixed", "hasBackdrop", "showToggleButton", "expandedWidth", "collapsedWidth", "breakpoint", "breakpointBehavior", "views"];
16364
+ var _excluded$Y = ["children", "position", "size", "variant", "defaultExpanded", "expanded", "onExpandedChange", "fixed", "hasBackdrop", "showToggleButton", "expandedWidth", "collapsedWidth", "breakpoint", "breakpointBehavior", "views"];
15552
16365
  /**
15553
16366
  * Sidebar component for creating collapsible, themeable and customizable sidebars.
15554
16367
  */
@@ -15570,7 +16383,7 @@ var SidebarComponent = _ref => {
15570
16383
  breakpointBehavior = 'overlay',
15571
16384
  views
15572
16385
  } = _ref,
15573
- props = _objectWithoutPropertiesLoose(_ref, _excluded$W);
16386
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$Y);
15574
16387
  var {
15575
16388
  isExpanded,
15576
16389
  toggleExpanded,
@@ -16035,7 +16848,7 @@ var HandleIconStyles = {
16035
16848
  }
16036
16849
  };
16037
16850
 
16038
- var _excluded$X = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
16851
+ var _excluded$Z = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
16039
16852
  _excluded2$g = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
16040
16853
  _excluded3$b = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
16041
16854
  // Create context for the Resizable component
@@ -16080,7 +16893,7 @@ var ResizablePanel = _ref2 => {
16080
16893
  onCollapseChange,
16081
16894
  views
16082
16895
  } = _ref2,
16083
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$X);
16896
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$Z);
16084
16897
  var {
16085
16898
  orientation,
16086
16899
  registerPanel,
@@ -16295,7 +17108,7 @@ var ResizableView = _ref4 => {
16295
17108
  }, ResizableOrientations[orientation], views == null ? void 0 : views.container, props), children);
16296
17109
  };
16297
17110
 
16298
- var _excluded$Y = ["children", "orientation", "size", "variant", "defaultSizes", "onSizesChange", "minSize", "maxSize", "collapsible", "autoSaveId", "storage", "keyboardResizeBy", "views"];
17111
+ var _excluded$_ = ["children", "orientation", "size", "variant", "defaultSizes", "onSizesChange", "minSize", "maxSize", "collapsible", "autoSaveId", "storage", "keyboardResizeBy", "views"];
16299
17112
  /**
16300
17113
  * Resizable component for creating resizable panel groups and layouts.
16301
17114
  */
@@ -16315,7 +17128,7 @@ var ResizableComponent = _ref => {
16315
17128
  keyboardResizeBy = 10,
16316
17129
  views
16317
17130
  } = _ref,
16318
- props = _objectWithoutPropertiesLoose(_ref, _excluded$Y);
17131
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$_);
16319
17132
  var {
16320
17133
  isResizing,
16321
17134
  setIsResizing,
@@ -17083,7 +17896,7 @@ var CommandFooterStyles = {
17083
17896
  color: 'color.gray.500'
17084
17897
  };
17085
17898
 
17086
- var _excluded$Z = ["value", "onValueChange", "placeholder", "views"],
17899
+ var _excluded$$ = ["value", "onValueChange", "placeholder", "views"],
17087
17900
  _excluded2$h = ["children", "views"],
17088
17901
  _excluded3$c = ["heading", "children", "views"],
17089
17902
  _excluded4$a = ["item", "selected", "onSelect", "views"],
@@ -17115,7 +17928,7 @@ var CommandInput = _ref2 => {
17115
17928
  placeholder = 'Type a command or search...',
17116
17929
  views
17117
17930
  } = _ref2,
17118
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$Z);
17931
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$$);
17119
17932
  var inputRef = useRef(null);
17120
17933
  // Focus input when component mounts
17121
17934
  React.useEffect(() => {
@@ -17298,7 +18111,7 @@ var CommandView = _ref7 => {
17298
18111
  })))), footer && (/*#__PURE__*/React.createElement(View, Object.assign({}, CommandFooterStyles, views == null ? void 0 : views.footer), footer)))));
17299
18112
  };
17300
18113
 
17301
- var _excluded$_ = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "filter", "emptyState", "footer", "views"];
18114
+ var _excluded$10 = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "filter", "emptyState", "footer", "views"];
17302
18115
  /**
17303
18116
  * Command component for displaying a command palette with search functionality.
17304
18117
  */
@@ -17316,7 +18129,7 @@ var CommandComponent = _ref => {
17316
18129
  footer,
17317
18130
  views
17318
18131
  } = _ref,
17319
- props = _objectWithoutPropertiesLoose(_ref, _excluded$_);
18132
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$10);
17320
18133
  var {
17321
18134
  search,
17322
18135
  setSearch,
@@ -17603,7 +18416,7 @@ var getArrowStyles = position => {
17603
18416
  }
17604
18417
  };
17605
18418
 
17606
- var _excluded$$ = ["children", "views", "asChild"],
18419
+ var _excluded$11 = ["children", "views", "asChild"],
17607
18420
  _excluded2$i = ["children", "views"],
17608
18421
  _excluded3$d = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
17609
18422
  // Create context for the Tooltip
@@ -17639,7 +18452,7 @@ var TooltipTrigger = _ref2 => {
17639
18452
  views,
17640
18453
  asChild = false
17641
18454
  } = _ref2,
17642
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$$);
18455
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$11);
17643
18456
  var {
17644
18457
  openTooltip,
17645
18458
  closeTooltip,
@@ -17732,7 +18545,7 @@ var TooltipView = _ref4 => {
17732
18545
  }, TooltipSizes[size], TooltipVariants[variant], positionStyles, views == null ? void 0 : views.content), typeof content === 'string' ? (/*#__PURE__*/React.createElement(Text$1, Object.assign({}, views == null ? void 0 : views.text), content)) : content, showArrow && /*#__PURE__*/React.createElement(View, Object.assign({}, arrowStyles, views == null ? void 0 : views.arrow)))));
17733
18546
  };
17734
18547
 
17735
- var _excluded$10 = ["content", "children", "position", "align", "size", "variant", "openDelay", "closeDelay", "showArrow", "defaultOpen", "isDisabled", "views"];
18548
+ var _excluded$12 = ["content", "children", "position", "align", "size", "variant", "openDelay", "closeDelay", "showArrow", "defaultOpen", "isDisabled", "views"];
17736
18549
  /**
17737
18550
  * Tooltip component for displaying additional information when hovering over an element.
17738
18551
  * Supports configurable positions, delays, and styling.
@@ -17752,7 +18565,7 @@ var TooltipComponent = _ref => {
17752
18565
  isDisabled = false,
17753
18566
  views
17754
18567
  } = _ref,
17755
- props = _objectWithoutPropertiesLoose(_ref, _excluded$10);
18568
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$12);
17756
18569
  var tooltipState = useTooltipState({
17757
18570
  defaultOpen,
17758
18571
  openDelay,
@@ -17776,5 +18589,5 @@ var Tooltip = TooltipComponent;
17776
18589
  Tooltip.Trigger = TooltipTrigger;
17777
18590
  Tooltip.Content = TooltipContent;
17778
18591
 
17779
- export { Accordion, Alert, ArrowIcon, AspectRatio, Avatar, Badge, BatteryIcon, BluetoothIcon, BoldArrowIcon, BookmarkIcon, Button, CalendarIcon, CameraIcon, Card, Carousel, Chart, ChartIcon, Checkbox, ChevronIcon, ClockIcon, CloseEyeIcon, CloseIcon, CloudIcon, ComboBox, Command, ContextMenu, CopyIcon, CountryPicker, CropIcon, DatePicker, DeleteIcon, Divider, DocumentIcon, DownloadIcon, DragAndDrop, DragAndDropComponent, DragHandleIcon, DropdownMenu, DustBinIcon, EditIcon, ErrorIcon, ExternalLinkIcon, FacebookIcon, FileIcon, FileImage, FileSVG, FilterIcon, FormikCheckbox, FormikComboBox, FormikCountryPicker, FormikDatePicker, FormikForm, FormikOTPInput, FormikPassword, FormikSelect, FormikSlider, FormikSwitch, FormikTextArea, FormikTextField, HeartIcon, HelpIcon, HomeIcon, HoverCard, Icon, ImageIcon, InfoIcon, InstagramIcon, LikeIcon, Link, LinkedinIcon, Loader, LocationIcon, LockIcon, MagicWandIcon, MenuIcon, Menubar, MessageLayout, MessageView, MicrophoneIcon, MinusIcon, Modal, MoonIcon, NavigationMenu, NotificationIcon, OTPInput, OpenEyeIcon, Pagination, PanelIcon, Password, PauseIcon, PlayIcon, PlusIcon, PrintIcon, ProfileIcon, RefreshIcon, Resizable, RotateIcon, SaveIcon, SearchIcon, Select, Separator, SettingsIcon, ShapeIcon, ShareIcon, Sidebar, Slider, SliderIcon, SliderVerticalIcon, SpinnerIcon, StarIcon, SuccessIcon, Switch, Table, Tabs, Text, TextArea, TextField, TextIcon, ThreadsIcon, TickIcon, Toast, Toggle, ToggleGroup, Tooltip, TwitchIcon, TwitterIcon, UnLikeIcon, UnlockIcon, UploadIcon, Uploader, UserIcon, VideoIcon, WarningIcon, WifiIcon, XIcon, YoutubeIcon, ZoomInIcon, ZoomOutIcon, hideMessage, hideModal, showMessage, showModal, useMessageStore, useModalStore, useToast$1 as useToast };
18592
+ export { Accordion, Alert, ArrowIcon, AspectRatio, Avatar, Badge, BatteryIcon, BluetoothIcon, BoldArrowIcon, BookmarkIcon, Button, CalendarIcon, CameraIcon, Card, Carousel, Chart, ChartIcon, CheckIcon, Checkbox, ChevronIcon, ClockIcon, CloseEyeIcon, CloseIcon, CloudIcon, ComboBox, Command, ContextMenu, CookieConsent, CopyIcon, CountryPicker, CropIcon, DatePicker, DeleteIcon, Divider, DocumentIcon, DownloadIcon, DragAndDrop, DragAndDropComponent, DragHandleIcon, DropdownMenu, DustBinIcon, EditIcon, ErrorIcon, ExternalLinkIcon, FacebookIcon, FileIcon, FileImage, FileSVG, FilterIcon, FormikCheckbox, FormikComboBox, FormikCountryPicker, FormikDatePicker, FormikForm, FormikOTPInput, FormikPassword, FormikSelect, FormikSlider, FormikSwitch, FormikTextArea, FormikTextField, GiftIcon, HeartIcon, HelpIcon, HomeIcon, HoverCard, Icon, ImageIcon, InfoIcon, InstagramIcon, LikeIcon, Link, LinkedinIcon, Loader, LocationIcon, LockIcon, MagicWandIcon, MenuIcon, Menubar, MessageLayout, MessageView, MicrophoneIcon, MinusIcon, Modal, MoonIcon, NavigationMenu, NotificationIcon, OTPInput, OpenEyeIcon, Pagination, PanelIcon, Password, PauseIcon, PlayIcon, PlusIcon, PrintIcon, ProfileIcon, RefreshIcon, Resizable, RotateIcon, SaveIcon, SearchIcon, Select, Separator, SettingsIcon, ShapeIcon, ShareIcon, ShieldIcon, Sidebar, Slider, SliderIcon, SliderVerticalIcon, SpinnerIcon, StarIcon, SuccessIcon, Switch, Table, Tabs, Text, TextArea, TextField, TextIcon, ThreadsIcon, TickIcon, Title, Toast, Toggle, ToggleGroup, Tooltip, TwitchIcon, TwitterIcon, UnLikeIcon, UnlockIcon, UploadIcon, Uploader, UserIcon, VideoIcon, WarningIcon, WifiIcon, XIcon, YoutubeIcon, ZoomInIcon, ZoomOutIcon, hideMessage, hideModal, showMessage, showModal, useMessageStore, useModalStore, useToast$1 as useToast };
17780
18593
  //# sourceMappingURL=web.esm.js.map