@app-studio/web 0.8.90 → 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 +956 -133
  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 +953 -135
  41. package/dist/web.esm.js.map +1 -1
  42. package/dist/web.umd.development.js +957 -135
  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, {
@@ -651,7 +652,7 @@ var Text = TextComponent;
651
652
 
652
653
  var _excluded$3 = ["widthHeight", "color", "transform", "orientation", "children"],
653
654
  _excluded2$2 = ["widthHeight", "color", "filled", "strokeWidth"],
654
- _excluded3$1 = ["widthHeight", "color", "filled", "strokeWidth"],
655
+ _excluded3$1 = ["widthHeight", "color", "strokeWidth", "filled"],
655
656
  _excluded4$1 = ["widthHeight", "color", "filled", "strokeWidth"],
656
657
  _excluded5 = ["widthHeight", "color", "filled", "strokeWidth"],
657
658
  _excluded6 = ["widthHeight", "color", "filled", "strokeWidth"],
@@ -725,7 +726,9 @@ var _excluded$3 = ["widthHeight", "color", "transform", "orientation", "children
725
726
  _excluded74 = ["widthHeight", "color", "strokeWidth", "filled"],
726
727
  _excluded75 = ["widthHeight", "color", "strokeWidth", "filled"],
727
728
  _excluded76 = ["widthHeight", "color", "strokeWidth", "filled"],
728
- _excluded77 = ["widthHeight", "color", "strokeWidth", "filled"];
729
+ _excluded77 = ["widthHeight", "color", "strokeWidth", "filled"],
730
+ _excluded78 = ["widthHeight", "color", "strokeWidth", "filled"],
731
+ _excluded79 = ["widthHeight", "color", "strokeWidth", "filled"];
729
732
  // Default wrapper component for consistent sizing and styling
730
733
  var IconWrapper = _ref => {
731
734
  var {
@@ -780,8 +783,8 @@ var HelpIcon = _ref3 => {
780
783
  var {
781
784
  widthHeight = 24,
782
785
  color = 'currentColor',
783
- filled = true,
784
- strokeWidth = 1
786
+ strokeWidth = 1,
787
+ filled = false
785
788
  } = _ref3,
786
789
  props = _objectWithoutPropertiesLoose(_ref3, _excluded3$1);
787
790
  return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
@@ -789,10 +792,19 @@ var HelpIcon = _ref3 => {
789
792
  color: color
790
793
  }, props), /*#__PURE__*/React.createElement("svg", Object.assign({
791
794
  viewBox: "0 0 24 24",
792
- "aria-hidden": "true",
795
+ "aria-hidden": "false",
793
796
  focusable: "false"
794
- }, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React.createElement("path", {
795
- 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"
796
808
  })));
797
809
  };
798
810
  // Example Icon Component: ChevronIcon
@@ -1772,31 +1784,13 @@ var PanelIcon = _ref40 => {
1772
1784
  "aria-hidden": "false",
1773
1785
  focusable: "false"
1774
1786
  }, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React.createElement("rect", {
1775
- x: "3",
1776
- y: "3",
1777
1787
  width: "18",
1778
1788
  height: "18",
1789
+ x: "3",
1790
+ y: "3",
1779
1791
  rx: "2"
1780
- }), /*#__PURE__*/React.createElement("line", {
1781
- x1: "9",
1782
- y1: "3",
1783
- x2: "9",
1784
- y2: "21"
1785
- }), /*#__PURE__*/React.createElement("line", {
1786
- x1: "12",
1787
- y1: "7",
1788
- x2: "17",
1789
- y2: "7"
1790
- }), /*#__PURE__*/React.createElement("line", {
1791
- x1: "12",
1792
- y1: "11",
1793
- x2: "17",
1794
- y2: "11"
1795
- }), /*#__PURE__*/React.createElement("line", {
1796
- x1: "12",
1797
- y1: "15",
1798
- x2: "17",
1799
- y2: "15"
1792
+ }), /*#__PURE__*/React.createElement("path", {
1793
+ d: "M9 3v18"
1800
1794
  })));
1801
1795
  };
1802
1796
  var FilterIcon = _ref41 => {
@@ -2749,6 +2743,59 @@ var ChartIcon = _ref77 => {
2749
2743
  y2: "17"
2750
2744
  })));
2751
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;
2752
2799
 
2753
2800
  var Icon = {
2754
2801
  __proto__: null,
@@ -2828,7 +2875,10 @@ var Icon = {
2828
2875
  ShapeIcon: ShapeIcon,
2829
2876
  RotateIcon: RotateIcon,
2830
2877
  DocumentIcon: DocumentIcon,
2831
- ChartIcon: ChartIcon
2878
+ ChartIcon: ChartIcon,
2879
+ GiftIcon: GiftIcon,
2880
+ ShieldIcon: ShieldIcon,
2881
+ CheckIcon: CheckIcon
2832
2882
  };
2833
2883
 
2834
2884
  /**
@@ -5574,6 +5624,273 @@ var ChartComponent = props => {
5574
5624
  };
5575
5625
  var Chart = ChartComponent;
5576
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
+
5577
5894
  var useContextMenuState = props => {
5578
5895
  var {
5579
5896
  size,
@@ -5751,7 +6068,7 @@ var calculateMenuPosition = function calculateMenuPosition(x, y, menuWidth, menu
5751
6068
  };
5752
6069
  };
5753
6070
 
5754
- var _excluded$e = ["children", "disableNativeContextMenu", "asChild", "isDisabled", "views"],
6071
+ var _excluded$f = ["children", "disableNativeContextMenu", "asChild", "isDisabled", "views"],
5755
6072
  _excluded2$6 = ["items", "children", "position", "side", "align", "views", "style"],
5756
6073
  _excluded3$5 = ["item", "children", "onSelect", "isDisabled", "views"],
5757
6074
  _excluded4$5 = ["views"],
@@ -5807,7 +6124,7 @@ var ContextMenuTrigger = _ref2 => {
5807
6124
  isDisabled = false,
5808
6125
  views
5809
6126
  } = _ref2,
5810
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$e);
6127
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$f);
5811
6128
  var {
5812
6129
  triggerRef,
5813
6130
  contentId,
@@ -6090,7 +6407,7 @@ var ContextMenuView = _ref7 => {
6090
6407
  }));
6091
6408
  };
6092
6409
 
6093
- var _excluded$f = ["children", "items", "size", "variant", "disableNativeContextMenu", "onOpenChange", "views"];
6410
+ var _excluded$g = ["children", "items", "size", "variant", "disableNativeContextMenu", "onOpenChange", "views"];
6094
6411
  /**
6095
6412
  * ContextMenu component for displaying a custom context menu on right-click.
6096
6413
  * Supports both data-driven approach (with items prop) and compound component pattern.
@@ -6105,7 +6422,7 @@ var ContextMenuComponent = _ref => {
6105
6422
  onOpenChange,
6106
6423
  views
6107
6424
  } = _ref,
6108
- props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
6425
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
6109
6426
  var state = useContextMenuState({
6110
6427
  size,
6111
6428
  variant,
@@ -6157,7 +6474,7 @@ ContextMenu.Item = ContextMenuItem;
6157
6474
  ContextMenu.Divider = ContextMenuDivider;
6158
6475
  ContextMenu.Separator = ContextMenuSeparator; // Add the Separator component
6159
6476
 
6160
- var _excluded$g = ["src", "color", "views", "themeMode"],
6477
+ var _excluded$h = ["src", "color", "views", "themeMode"],
6161
6478
  _excluded2$7 = ["path"];
6162
6479
  var FileSVG = _ref => {
6163
6480
  var {
@@ -6165,7 +6482,7 @@ var FileSVG = _ref => {
6165
6482
  color,
6166
6483
  views
6167
6484
  } = _ref,
6168
- props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
6485
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
6169
6486
  var {
6170
6487
  getColor,
6171
6488
  themeMode
@@ -6239,7 +6556,7 @@ var useItemState = () => {
6239
6556
  };
6240
6557
  };
6241
6558
 
6242
- var _excluded$h = ["children", "views"];
6559
+ var _excluded$i = ["children", "views"];
6243
6560
  var HelperText = _ref => {
6244
6561
  var {
6245
6562
  children,
@@ -6247,7 +6564,7 @@ var HelperText = _ref => {
6247
6564
  helperText: {}
6248
6565
  }
6249
6566
  } = _ref,
6250
- props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
6567
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
6251
6568
  return /*#__PURE__*/React.createElement(Text
6252
6569
  // Typography properties
6253
6570
  , Object.assign({
@@ -6273,7 +6590,7 @@ var HelperText = _ref => {
6273
6590
  }, views['helperText'], props), children);
6274
6591
  };
6275
6592
 
6276
- var _excluded$i = ["children", "helperText", "error", "views"];
6593
+ var _excluded$j = ["children", "helperText", "error", "views"];
6277
6594
  var FieldContainer = _ref => {
6278
6595
  var {
6279
6596
  children,
@@ -6281,7 +6598,7 @@ var FieldContainer = _ref => {
6281
6598
  error = false,
6282
6599
  views
6283
6600
  } = _ref,
6284
- props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
6601
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
6285
6602
  return /*#__PURE__*/React.createElement(Vertical
6286
6603
  // Layout properties
6287
6604
  , Object.assign({
@@ -6397,7 +6714,7 @@ var PaddingWithoutLabel = {
6397
6714
  paddingRight: '16px'
6398
6715
  };
6399
6716
 
6400
- 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"];
6401
6718
  var FieldContent = _ref => {
6402
6719
  var {
6403
6720
  shadow,
@@ -6415,7 +6732,7 @@ var FieldContent = _ref => {
6415
6732
  pickerBox: {}
6416
6733
  }
6417
6734
  } = _ref,
6418
- props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
6735
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
6419
6736
  // Determine if the field is in an interactive state
6420
6737
  var isInteractive = (isHovered || isFocused) && !isDisabled;
6421
6738
  // Set the appropriate color based on state
@@ -6444,12 +6761,12 @@ var FieldContent = _ref => {
6444
6761
  }, showLabel ? PadddingWithLabel : PaddingWithoutLabel, shadow, Shapes[shape], InputVariants[variant], views['box'], props), children);
6445
6762
  };
6446
6763
 
6447
- var _excluded$k = ["children"];
6764
+ var _excluded$l = ["children"];
6448
6765
  var FieldIcons = _ref => {
6449
6766
  var {
6450
6767
  children
6451
6768
  } = _ref,
6452
- props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
6769
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
6453
6770
  return /*#__PURE__*/React.createElement(Center, Object.assign({
6454
6771
  gap: 10,
6455
6772
  right: 16,
@@ -6501,7 +6818,7 @@ var HeadingSizes$1 = {
6501
6818
  }
6502
6819
  };
6503
6820
 
6504
- var _excluded$l = ["children", "heading", "isItalic", "isUnderlined", "isStriked", "weight", "size", "dropDown"];
6821
+ var _excluded$m = ["children", "heading", "isItalic", "isUnderlined", "isStriked", "weight", "size", "dropDown"];
6505
6822
  var LabelView = _ref => {
6506
6823
  var {
6507
6824
  children,
@@ -6517,7 +6834,7 @@ var LabelView = _ref => {
6517
6834
  size = 'sm'
6518
6835
  // The fontSize prop for the Element is determined by the 'size' prop passed to LabelView.
6519
6836
  } = _ref,
6520
- props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
6837
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
6521
6838
  // The fontStyle prop toggles between 'italic' and 'normal' based on the 'isItalic' boolean prop.
6522
6839
  var headingStyles = heading ? HeadingSizes$1[heading] : {};
6523
6840
  // fontWeight is derived from the Typography module, ensuring consistent font weighting across the app.
@@ -6549,7 +6866,7 @@ React.createElement(LabelView, Object.assign({}, props))
6549
6866
  var Label = LabelComponent;
6550
6867
  // Export the 'LabelComponent' as 'Label' to be reused throughout the project.
6551
6868
 
6552
- var _excluded$m = ["children", "size", "error", "color", "views", "helperText"];
6869
+ var _excluded$n = ["children", "size", "error", "color", "views", "helperText"];
6553
6870
  var FieldLabel = _ref => {
6554
6871
  var {
6555
6872
  children,
@@ -6560,7 +6877,7 @@ var FieldLabel = _ref => {
6560
6877
  label: {}
6561
6878
  }
6562
6879
  } = _ref,
6563
- props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
6880
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
6564
6881
  return /*#__PURE__*/React.createElement(Label
6565
6882
  // Position properties
6566
6883
  , Object.assign({
@@ -6581,12 +6898,12 @@ var FieldLabel = _ref => {
6581
6898
  }, views['label'], props), children);
6582
6899
  };
6583
6900
 
6584
- var _excluded$n = ["children"];
6901
+ var _excluded$o = ["children"];
6585
6902
  var FieldWrapper = _ref => {
6586
6903
  var {
6587
6904
  children
6588
6905
  } = _ref,
6589
- props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
6906
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
6590
6907
  return /*#__PURE__*/React.createElement(Vertical
6591
6908
  // Layout properties
6592
6909
  , Object.assign({
@@ -6619,7 +6936,7 @@ var IconSizes$2 = {
6619
6936
  xl: 28
6620
6937
  };
6621
6938
 
6622
- var _excluded$o = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
6939
+ var _excluded$p = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
6623
6940
  _excluded2$8 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
6624
6941
  _excluded3$6 = ["option", "size", "removeOption"],
6625
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"];
@@ -6637,7 +6954,7 @@ var Item = _ref => {
6637
6954
  callback = () => {},
6638
6955
  style
6639
6956
  } = _ref,
6640
- props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
6957
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
6641
6958
  // Handles the click event on an option by invoking the callback with the selected option's value
6642
6959
  var handleOptionClick = option => callback(option);
6643
6960
  // Toggles the hover state on the item
@@ -7130,7 +7447,7 @@ var ColorSchemes = {
7130
7447
  }
7131
7448
  };
7132
7449
 
7133
- 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"];
7134
7451
  var SwitchContent = props => /*#__PURE__*/React.createElement(Input, Object.assign({
7135
7452
  type: "checkbox"
7136
7453
  }, props));
@@ -7159,7 +7476,7 @@ var SwitchView = _ref => {
7159
7476
  label: {}
7160
7477
  }
7161
7478
  } = _ref,
7162
- props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
7479
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
7163
7480
  var handleToggle = event => {
7164
7481
  if (!isReadOnly) {
7165
7482
  setValue(!value);
@@ -7283,7 +7600,7 @@ var useTextAreaState = _ref => {
7283
7600
  // Export of the useTextAreaState hook for external usage.
7284
7601
  };
7285
7602
 
7286
- 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"];
7287
7604
  var TextAreaView = _ref => {
7288
7605
  var {
7289
7606
  id,
@@ -7318,7 +7635,7 @@ var TextAreaView = _ref => {
7318
7635
  helperText: {}
7319
7636
  }
7320
7637
  } = _ref,
7321
- props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
7638
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
7322
7639
  var showLabel = !!(isFocused && label);
7323
7640
  /**
7324
7641
  * Styles for the textarea field
@@ -7457,7 +7774,7 @@ var useTextFieldState = _ref => {
7457
7774
  };
7458
7775
  };
7459
7776
 
7460
- 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"];
7461
7778
  /**
7462
7779
  * Input component for text fields
7463
7780
  */
@@ -7503,7 +7820,7 @@ var TextFieldView = _ref => {
7503
7820
  onBlur = () => {},
7504
7821
  themeMode: elementMode
7505
7822
  } = _ref,
7506
- props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
7823
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
7507
7824
  var {
7508
7825
  getColor,
7509
7826
  themeMode
@@ -7759,7 +8076,7 @@ var StateStyles = {
7759
8076
  }
7760
8077
  };
7761
8078
 
7762
- 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"];
7763
8080
  var CheckboxView = _ref => {
7764
8081
  var {
7765
8082
  id,
@@ -7786,7 +8103,7 @@ var CheckboxView = _ref => {
7786
8103
  },
7787
8104
  infoText
7788
8105
  } = _ref,
7789
- props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
8106
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
7790
8107
  var handleHover = () => setIsHovered(!isHovered);
7791
8108
  var handleChange = () => {
7792
8109
  if (!isReadOnly && !isDisabled) {
@@ -9372,11 +9689,11 @@ var IconSizes$4 = {
9372
9689
  xl: 16
9373
9690
  };
9374
9691
 
9375
- var _excluded$t = ["size"],
9692
+ var _excluded$u = ["size"],
9376
9693
  _excluded2$9 = ["size"],
9377
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"];
9378
9695
  var CountryList = _ref => {
9379
- var props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
9696
+ var props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
9380
9697
  return /*#__PURE__*/React.createElement(Element, Object.assign({
9381
9698
  as: "ul"
9382
9699
  }, props));
@@ -9617,7 +9934,7 @@ var useDatePickerState = () => {
9617
9934
  };
9618
9935
  };
9619
9936
 
9620
- 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"];
9621
9938
  var DatePickerContent = props => /*#__PURE__*/React.createElement(Input, Object.assign({
9622
9939
  type: "date"
9623
9940
  }, props));
@@ -9650,7 +9967,7 @@ var DatePickerView = _ref => {
9650
9967
  onChange,
9651
9968
  onChangeText
9652
9969
  } = _ref,
9653
- props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
9970
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$v);
9654
9971
  var showLabel = !!(isFocused && label);
9655
9972
  var handleHover = () => setIsHovered(!isHovered);
9656
9973
  var handleFocus = () => setIsFocused(true);
@@ -9737,7 +10054,7 @@ var usePasswordState = props => {
9737
10054
  }, props, textFieldStates);
9738
10055
  };
9739
10056
 
9740
- var _excluded$v = ["visibleIcon", "hiddenIcon"],
10057
+ var _excluded$w = ["visibleIcon", "hiddenIcon"],
9741
10058
  _excluded2$a = ["isVisible", "setIsVisible"];
9742
10059
  var PasswordComponent = _ref => {
9743
10060
  var {
@@ -9748,7 +10065,7 @@ var PasswordComponent = _ref => {
9748
10065
  widthHeight: 14
9749
10066
  })
9750
10067
  } = _ref,
9751
- props = _objectWithoutPropertiesLoose(_ref, _excluded$v);
10068
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
9752
10069
  var _usePasswordState = usePasswordState(props),
9753
10070
  {
9754
10071
  isVisible,
@@ -9802,7 +10119,7 @@ var useComboBoxState = (items, placeholder, searchPlaceholder) => {
9802
10119
  };
9803
10120
  };
9804
10121
 
9805
- 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"];
9806
10123
  // Defines the functional component 'ComboBoxView' with destructured props.
9807
10124
  var ComboBoxView = _ref => {
9808
10125
  var {
@@ -9827,7 +10144,7 @@ var ComboBoxView = _ref => {
9827
10144
  setIsDropdownVisible
9828
10145
  // Collects all further props not destructured explicitly.
9829
10146
  } = _ref,
9830
- props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
10147
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
9831
10148
  // Sets up an effect to handle clicking outside the dropdown to close it.
9832
10149
  useEffect(() => {
9833
10150
  var handleClickOutside = event => {
@@ -9939,7 +10256,7 @@ var ComboBoxView = _ref => {
9939
10256
  }))))))))))));
9940
10257
  };
9941
10258
 
9942
- var _excluded$x = ["id", "name", "items", "placeholder", "searchPlaceholder"];
10259
+ var _excluded$y = ["id", "name", "items", "placeholder", "searchPlaceholder"];
9943
10260
  // Defines the ComboBoxComponent functional component with ComboBoxProps
9944
10261
  var ComboBoxComponent = _ref => {
9945
10262
  var {
@@ -9955,7 +10272,7 @@ var ComboBoxComponent = _ref => {
9955
10272
  searchPlaceholder
9956
10273
  // Destructures the rest of the props not explicitly defined
9957
10274
  } = _ref,
9958
- props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
10275
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
9959
10276
  // Initializes ComboBox state using custom hook with items and placeholders
9960
10277
  var state = useComboBoxState(items, placeholder, searchPlaceholder);
9961
10278
  return (
@@ -10277,7 +10594,7 @@ var useOTPInputState = _ref => {
10277
10594
  };
10278
10595
  };
10279
10596
 
10280
- 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"];
10281
10598
  // Create a context for OTP input slots
10282
10599
  var OTPInputContext = /*#__PURE__*/createContext({
10283
10600
  slots: [],
@@ -10331,7 +10648,7 @@ var OTPInputView = _ref => {
10331
10648
  onFocus = () => {}
10332
10649
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
10333
10650
  } = _ref,
10334
- props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
10651
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
10335
10652
  useTheme(); // Initialize theme context
10336
10653
  var showLabel = !!label;
10337
10654
  // Create context value for slots
@@ -10563,7 +10880,7 @@ var OTPInputComponent = props => {
10563
10880
  };
10564
10881
  var OTPInput = OTPInputComponent;
10565
10882
 
10566
- var _excluded$z = ["children", "autoFocus", "initFocus", "onChange"];
10883
+ var _excluded$A = ["children", "autoFocus", "initFocus", "onChange"];
10567
10884
  var FocusContext = /*#__PURE__*/createContext({
10568
10885
  active: false,
10569
10886
  focusNextInput: () => {},
@@ -10579,7 +10896,7 @@ var FormikForm = _ref => {
10579
10896
  initFocus,
10580
10897
  onChange = () => {}
10581
10898
  } = _ref,
10582
- props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
10899
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
10583
10900
  var formik = useFormikContext();
10584
10901
  useEffect(() => {
10585
10902
  onChange(formik.values);
@@ -10627,7 +10944,7 @@ var FormikForm = _ref => {
10627
10944
  }, /*#__PURE__*/React.createElement(Form, Object.assign({}, props), children));
10628
10945
  };
10629
10946
 
10630
- var _excluded$A = ["name", "type"];
10947
+ var _excluded$B = ["name", "type"];
10631
10948
  var getInputTypeProps = type => {
10632
10949
  switch (type) {
10633
10950
  case 'email':
@@ -10666,7 +10983,7 @@ var useFormikInput = _ref => {
10666
10983
  name,
10667
10984
  type
10668
10985
  } = _ref,
10669
- props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
10986
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$B);
10670
10987
  var focus = useFormFocus();
10671
10988
  var {
10672
10989
  touched,
@@ -10710,13 +11027,13 @@ var useFormikInput = _ref => {
10710
11027
  } : {});
10711
11028
  };
10712
11029
 
10713
- var _excluded$B = ["value"];
11030
+ var _excluded$C = ["value"];
10714
11031
  var CheckboxComponent$1 = props => {
10715
11032
  var _useFormikInput = useFormikInput(props),
10716
11033
  {
10717
11034
  value
10718
11035
  } = _useFormikInput,
10719
- formProps = _objectWithoutPropertiesLoose(_useFormikInput, _excluded$B);
11036
+ formProps = _objectWithoutPropertiesLoose(_useFormikInput, _excluded$C);
10720
11037
  formProps.isChecked = value;
10721
11038
  var checkboxStates = useCheckboxState(props);
10722
11039
  return /*#__PURE__*/React.createElement(CheckboxView, Object.assign({}, checkboxStates, formProps));
@@ -10774,11 +11091,11 @@ var TextAreaComponent$1 = props => {
10774
11091
  */
10775
11092
  var FormikTextArea = TextAreaComponent$1;
10776
11093
 
10777
- var _excluded$C = ["value"];
11094
+ var _excluded$D = ["value"];
10778
11095
  var TextFieldComponent$1 = props => {
10779
11096
  var formProps = useFormikInput(props);
10780
11097
  var _useTextFieldState = useTextFieldState(props),
10781
- textFieldStates = _objectWithoutPropertiesLoose(_useTextFieldState, _excluded$C);
11098
+ textFieldStates = _objectWithoutPropertiesLoose(_useTextFieldState, _excluded$D);
10782
11099
  return /*#__PURE__*/React.createElement(TextFieldView, Object.assign({}, textFieldStates, formProps));
10783
11100
  };
10784
11101
  /**
@@ -10786,7 +11103,7 @@ var TextFieldComponent$1 = props => {
10786
11103
  */
10787
11104
  var FormikTextField = TextFieldComponent$1;
10788
11105
 
10789
- var _excluded$D = ["visibleIcon", "hiddenIcon"],
11106
+ var _excluded$E = ["visibleIcon", "hiddenIcon"],
10790
11107
  _excluded2$b = ["isVisible", "setIsVisible"];
10791
11108
  var PasswordComponent$1 = _ref => {
10792
11109
  var {
@@ -10797,7 +11114,7 @@ var PasswordComponent$1 = _ref => {
10797
11114
  widthHeight: 14
10798
11115
  })
10799
11116
  } = _ref,
10800
- props = _objectWithoutPropertiesLoose(_ref, _excluded$D);
11117
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$E);
10801
11118
  var formProps = useFormikInput(props);
10802
11119
  var _usePasswordState = usePasswordState(formProps),
10803
11120
  {
@@ -10822,14 +11139,14 @@ var PasswordComponent$1 = _ref => {
10822
11139
  */
10823
11140
  var FormikPassword = PasswordComponent$1;
10824
11141
 
10825
- var _excluded$E = ["items", "placeholder", "searchPlaceholder"];
11142
+ var _excluded$F = ["items", "placeholder", "searchPlaceholder"];
10826
11143
  var ComboBoxComponent$1 = _ref => {
10827
11144
  var {
10828
11145
  items,
10829
11146
  placeholder,
10830
11147
  searchPlaceholder
10831
11148
  } = _ref,
10832
- props = _objectWithoutPropertiesLoose(_ref, _excluded$E);
11149
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$F);
10833
11150
  var formProps = useFormikInput(props);
10834
11151
  var ComboBoxStates = useComboBoxState(items, placeholder, searchPlaceholder);
10835
11152
  // Ensure the onChange function from formProps is being called when an item is selected
@@ -11110,7 +11427,7 @@ var OrientationStyles = {
11110
11427
  }
11111
11428
  };
11112
11429
 
11113
- 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"];
11114
11431
  var SliderView = _ref => {
11115
11432
  var _views$tooltip, _views$tooltip2;
11116
11433
  var {
@@ -11153,7 +11470,7 @@ var SliderView = _ref => {
11153
11470
  tooltip: {}
11154
11471
  }
11155
11472
  } = _ref,
11156
- props = _objectWithoutPropertiesLoose(_ref, _excluded$F);
11473
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$G);
11157
11474
  var {
11158
11475
  getColor,
11159
11476
  themeMode
@@ -12031,7 +12348,7 @@ var UploadView = _ref => {
12031
12348
  }, views == null ? void 0 : views.view)));
12032
12349
  };
12033
12350
 
12034
- 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"];
12035
12352
  var Uploader = _ref => {
12036
12353
  var {
12037
12354
  accept = '*/*',
@@ -12044,7 +12361,7 @@ var Uploader = _ref => {
12044
12361
  progress = 0,
12045
12362
  fileType
12046
12363
  } = _ref,
12047
- props = _objectWithoutPropertiesLoose(_ref, _excluded$G);
12364
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$H);
12048
12365
  var {
12049
12366
  previewUrl,
12050
12367
  thumbnailUrl,
@@ -12235,7 +12552,7 @@ var ModalTypography = {
12235
12552
  }
12236
12553
  };
12237
12554
 
12238
- var _excluded$H = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
12555
+ var _excluded$I = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
12239
12556
  _excluded2$c = ["children", "shadow", "isFullScreen", "shape", "views", "isOpen"],
12240
12557
  _excluded3$8 = ["children", "buttonColor", "iconSize", "buttonPosition", "views"],
12241
12558
  _excluded4$7 = ["children", "views"],
@@ -12250,7 +12567,7 @@ var ModalOverlay = _ref => {
12250
12567
  position = 'center',
12251
12568
  views
12252
12569
  } = _ref,
12253
- props = _objectWithoutPropertiesLoose(_ref, _excluded$H);
12570
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$I);
12254
12571
  var handleClick = () => {
12255
12572
  if (!isClosePrevented) onClose();
12256
12573
  };
@@ -12546,7 +12863,7 @@ var NavigationMenuItemStates = {
12546
12863
  }
12547
12864
  };
12548
12865
 
12549
- var _excluded$I = ["href", "children", "views"];
12866
+ var _excluded$J = ["href", "children", "views"];
12550
12867
  // Create context for the NavigationMenu
12551
12868
  var NavigationMenuContext = /*#__PURE__*/createContext({
12552
12869
  activeItemId: null,
@@ -12781,7 +13098,7 @@ var NavigationMenuLink = _ref6 => {
12781
13098
  children,
12782
13099
  views
12783
13100
  } = _ref6,
12784
- props = _objectWithoutPropertiesLoose(_ref6, _excluded$I);
13101
+ props = _objectWithoutPropertiesLoose(_ref6, _excluded$J);
12785
13102
  var {
12786
13103
  itemValue,
12787
13104
  isDisabled
@@ -12848,7 +13165,7 @@ var NavigationMenuView = _ref7 => {
12848
13165
  })))));
12849
13166
  };
12850
13167
 
12851
- 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"];
12852
13169
  /**
12853
13170
  * NavigationMenu component for creating navigation menus with optional nested items.
12854
13171
  * Supports both data-driven approach (with items prop) and compound component pattern.
@@ -12865,7 +13182,7 @@ var NavigationMenuComponent = _ref => {
12865
13182
  onItemActivate,
12866
13183
  views
12867
13184
  } = _ref,
12868
- props = _objectWithoutPropertiesLoose(_ref, _excluded$J);
13185
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$K);
12869
13186
  var {
12870
13187
  activeItemId,
12871
13188
  setActiveItemId,
@@ -13320,6 +13637,507 @@ var TabsComponent = _ref => {
13320
13637
  // Export the component wrapped in React.memo for performance optimization
13321
13638
  var Tabs = /*#__PURE__*/React.memo(TabsComponent);
13322
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
+
13323
14141
  // Declares the useToggleState function which takes defaultToggled parameter to initialize the toggle state.
13324
14142
  var useToggleState = defaultToggled => {
13325
14143
  // Creates a stateful value isHovered for tracking hover state and a function setIsHovered to update that state, initially false.
@@ -13335,7 +14153,7 @@ var useToggleState = defaultToggled => {
13335
14153
  };
13336
14154
  };
13337
14155
 
13338
- 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"];
13339
14157
  var ToggleView = _ref => {
13340
14158
  var {
13341
14159
  children,
@@ -13349,7 +14167,7 @@ var ToggleView = _ref => {
13349
14167
  onToggle,
13350
14168
  views
13351
14169
  } = _ref,
13352
- props = _objectWithoutPropertiesLoose(_ref, _excluded$K);
14170
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$M);
13353
14171
  var toggleColor = !isDisabled ? 'color.trueGray.400' : 'theme.disabled';
13354
14172
  var isActive = !!(isToggle || isHovered);
13355
14173
  var toggleVariants = {
@@ -13392,7 +14210,7 @@ var ToggleView = _ref => {
13392
14210
  }, toggleVariants[variant], props, views == null ? void 0 : views.container), children);
13393
14211
  };
13394
14212
 
13395
- var _excluded$L = ["children", "shape", "variant", "isDisabled", "isToggled", "onToggle"];
14213
+ var _excluded$N = ["children", "shape", "variant", "isDisabled", "isToggled", "onToggle"];
13396
14214
  // Destructuring properties from ToggleProps to be used within the ToggleComponent.
13397
14215
  var ToggleComponent = _ref => {
13398
14216
  var {
@@ -13404,7 +14222,7 @@ var ToggleComponent = _ref => {
13404
14222
  isToggled = false,
13405
14223
  onToggle
13406
14224
  } = _ref,
13407
- props = _objectWithoutPropertiesLoose(_ref, _excluded$L);
14225
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$N);
13408
14226
  // Initializing toggle state and set state functions using the custom hook useToggleState.
13409
14227
  var {
13410
14228
  isHovered,
@@ -13795,7 +14613,7 @@ var getDropdownPosition = function getDropdownPosition(side, align) {
13795
14613
  return positions[side];
13796
14614
  };
13797
14615
 
13798
- var _excluded$M = ["children", "views"],
14616
+ var _excluded$O = ["children", "views"],
13799
14617
  _excluded2$d = ["items", "side", "align", "views"],
13800
14618
  _excluded3$9 = ["item", "views"],
13801
14619
  _excluded4$8 = ["views"],
@@ -13833,7 +14651,7 @@ var DropdownMenuTrigger = _ref2 => {
13833
14651
  children,
13834
14652
  views
13835
14653
  } = _ref2,
13836
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$M);
14654
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$O);
13837
14655
  var {
13838
14656
  isOpen,
13839
14657
  setIsOpen
@@ -13993,7 +14811,7 @@ var DropdownMenuView = _ref6 => {
13993
14811
  }));
13994
14812
  };
13995
14813
 
13996
- var _excluded$N = ["trigger", "items", "size", "variant", "side", "align", "defaultOpen", "views"];
14814
+ var _excluded$P = ["trigger", "items", "size", "variant", "side", "align", "defaultOpen", "views"];
13997
14815
  /**
13998
14816
  * DropdownMenu component for displaying a menu when clicking on a trigger element.
13999
14817
  */
@@ -14008,7 +14826,7 @@ var DropdownMenuComponent = _ref => {
14008
14826
  defaultOpen = false,
14009
14827
  views
14010
14828
  } = _ref,
14011
- props = _objectWithoutPropertiesLoose(_ref, _excluded$N);
14829
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$P);
14012
14830
  var {
14013
14831
  isOpen,
14014
14832
  setIsOpen,
@@ -14206,7 +15024,7 @@ var useRect = ref => {
14206
15024
  return rect;
14207
15025
  };
14208
15026
 
14209
- var _excluded$O = ["children", "views", "asChild"],
15027
+ var _excluded$Q = ["children", "views", "asChild"],
14210
15028
  _excluded2$e = ["children", "views", "side", "align", "sideOffset", "style", "backgroundColor", "borderRadius", "boxShadow", "padding", "minWidth", "maxWidth"];
14211
15029
  // Create context for the HoverCard
14212
15030
  var HoverCardContext = /*#__PURE__*/createContext({
@@ -14245,7 +15063,7 @@ var HoverCardTrigger = _ref2 => {
14245
15063
  views,
14246
15064
  asChild = false
14247
15065
  } = _ref2,
14248
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$O);
15066
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$Q);
14249
15067
  var {
14250
15068
  openCard,
14251
15069
  closeCard,
@@ -14332,7 +15150,7 @@ var HoverCardContent = _ref3 => {
14332
15150
  }, views == null ? void 0 : views.container, props), children);
14333
15151
  };
14334
15152
 
14335
- var _excluded$P = ["children", "views", "openDelay", "closeDelay"];
15153
+ var _excluded$R = ["children", "views", "openDelay", "closeDelay"];
14336
15154
  /**
14337
15155
  * HoverCard component displays floating content when hovering over a trigger element.
14338
15156
  * Supports configurable open and close delays for a smoother user experience.
@@ -14344,7 +15162,7 @@ var HoverCardComponent = _ref => {
14344
15162
  openDelay,
14345
15163
  closeDelay
14346
15164
  } = _ref,
14347
- props = _objectWithoutPropertiesLoose(_ref, _excluded$P);
15165
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$R);
14348
15166
  var hoverCardState = useHoverCardState({
14349
15167
  openDelay,
14350
15168
  closeDelay
@@ -14474,7 +15292,7 @@ var getMenubarContentPosition = orientation => {
14474
15292
  };
14475
15293
  };
14476
15294
 
14477
- var _excluded$Q = ["children", "orientation", "size", "variant", "views"];
15295
+ var _excluded$S = ["children", "orientation", "size", "variant", "views"];
14478
15296
  // Create context for the Menubar
14479
15297
  var MenubarContext = /*#__PURE__*/createContext({
14480
15298
  activeMenuId: null,
@@ -14508,7 +15326,7 @@ var MenubarRoot = _ref2 => {
14508
15326
  variant = 'default',
14509
15327
  views
14510
15328
  } = _ref2,
14511
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$Q);
15329
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$S);
14512
15330
  var Container = orientation === 'horizontal' ? Horizontal : Vertical;
14513
15331
  return /*#__PURE__*/React.createElement(Container, Object.assign({
14514
15332
  role: "menubar",
@@ -14694,7 +15512,7 @@ var MenubarView = _ref8 => {
14694
15512
  })))))));
14695
15513
  };
14696
15514
 
14697
- var _excluded$R = ["items", "orientation", "size", "variant", "defaultActiveMenuId", "defaultOpenMenuId", "views"];
15515
+ var _excluded$T = ["items", "orientation", "size", "variant", "defaultActiveMenuId", "defaultOpenMenuId", "views"];
14698
15516
  /**
14699
15517
  * Menubar component for creating horizontal or vertical menu bars with dropdown menus.
14700
15518
  */
@@ -14708,7 +15526,7 @@ var MenubarComponent = _ref => {
14708
15526
  defaultOpenMenuId = null,
14709
15527
  views
14710
15528
  } = _ref,
14711
- props = _objectWithoutPropertiesLoose(_ref, _excluded$R);
15529
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$T);
14712
15530
  var {
14713
15531
  activeMenuId,
14714
15532
  setActiveMenuId,
@@ -14864,7 +15682,7 @@ var DisabledButtonStyles = {
14864
15682
  }
14865
15683
  };
14866
15684
 
14867
- 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"];
14868
15686
  var PaginationView = _ref => {
14869
15687
  var {
14870
15688
  currentPage,
@@ -14895,7 +15713,7 @@ var PaginationView = _ref => {
14895
15713
  visiblePageNumbers,
14896
15714
  views
14897
15715
  } = _ref,
14898
- props = _objectWithoutPropertiesLoose(_ref, _excluded$S);
15716
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$U);
14899
15717
  var handlePageChange = page => {
14900
15718
  if (page < 1 || page > totalPages || page === currentPage) {
14901
15719
  return;
@@ -15014,7 +15832,7 @@ var PaginationView = _ref => {
15014
15832
  }, option.label))))));
15015
15833
  };
15016
15834
 
15017
- 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"];
15018
15836
  /**
15019
15837
  * Pagination component for navigating through pages of content.
15020
15838
  */
@@ -15035,7 +15853,7 @@ var PaginationComponent = _ref => {
15035
15853
  shape = 'rounded',
15036
15854
  views
15037
15855
  } = _ref,
15038
- props = _objectWithoutPropertiesLoose(_ref, _excluded$T);
15856
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$V);
15039
15857
  var {
15040
15858
  visiblePageNumbers
15041
15859
  } = usePaginationState(currentPage, totalPages, maxPageButtons);
@@ -15105,7 +15923,7 @@ var DefaultSeparatorStyles = {
15105
15923
  }
15106
15924
  };
15107
15925
 
15108
- 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"];
15109
15927
  var SeparatorView = _ref => {
15110
15928
  var {
15111
15929
  orientation = 'horizontal',
@@ -15117,7 +15935,7 @@ var SeparatorView = _ref => {
15117
15935
  decorative = false,
15118
15936
  views
15119
15937
  } = _ref,
15120
- props = _objectWithoutPropertiesLoose(_ref, _excluded$U);
15938
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$W);
15121
15939
  // Access theme if needed for future enhancements
15122
15940
  var {
15123
15941
  themeMode
@@ -15355,7 +16173,7 @@ var SidebarTransitions = {
15355
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)'
15356
16174
  };
15357
16175
 
15358
- var _excluded$V = ["children", "showToggleButton", "views"],
16176
+ var _excluded$X = ["children", "showToggleButton", "views"],
15359
16177
  _excluded2$f = ["children", "views"],
15360
16178
  _excluded3$a = ["children", "views"],
15361
16179
  _excluded4$9 = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
@@ -15388,7 +16206,7 @@ var SidebarHeader = _ref2 => {
15388
16206
  showToggleButton = true,
15389
16207
  views
15390
16208
  } = _ref2,
15391
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$V);
16209
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$X);
15392
16210
  var {
15393
16211
  isExpanded,
15394
16212
  toggleExpanded,
@@ -15543,7 +16361,7 @@ var SidebarView = _ref5 => {
15543
16361
  }))));
15544
16362
  };
15545
16363
 
15546
- 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"];
15547
16365
  /**
15548
16366
  * Sidebar component for creating collapsible, themeable and customizable sidebars.
15549
16367
  */
@@ -15565,7 +16383,7 @@ var SidebarComponent = _ref => {
15565
16383
  breakpointBehavior = 'overlay',
15566
16384
  views
15567
16385
  } = _ref,
15568
- props = _objectWithoutPropertiesLoose(_ref, _excluded$W);
16386
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$Y);
15569
16387
  var {
15570
16388
  isExpanded,
15571
16389
  toggleExpanded,
@@ -16030,7 +16848,7 @@ var HandleIconStyles = {
16030
16848
  }
16031
16849
  };
16032
16850
 
16033
- 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"],
16034
16852
  _excluded2$g = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
16035
16853
  _excluded3$b = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
16036
16854
  // Create context for the Resizable component
@@ -16075,7 +16893,7 @@ var ResizablePanel = _ref2 => {
16075
16893
  onCollapseChange,
16076
16894
  views
16077
16895
  } = _ref2,
16078
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$X);
16896
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$Z);
16079
16897
  var {
16080
16898
  orientation,
16081
16899
  registerPanel,
@@ -16290,7 +17108,7 @@ var ResizableView = _ref4 => {
16290
17108
  }, ResizableOrientations[orientation], views == null ? void 0 : views.container, props), children);
16291
17109
  };
16292
17110
 
16293
- 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"];
16294
17112
  /**
16295
17113
  * Resizable component for creating resizable panel groups and layouts.
16296
17114
  */
@@ -16310,7 +17128,7 @@ var ResizableComponent = _ref => {
16310
17128
  keyboardResizeBy = 10,
16311
17129
  views
16312
17130
  } = _ref,
16313
- props = _objectWithoutPropertiesLoose(_ref, _excluded$Y);
17131
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$_);
16314
17132
  var {
16315
17133
  isResizing,
16316
17134
  setIsResizing,
@@ -17078,7 +17896,7 @@ var CommandFooterStyles = {
17078
17896
  color: 'color.gray.500'
17079
17897
  };
17080
17898
 
17081
- var _excluded$Z = ["value", "onValueChange", "placeholder", "views"],
17899
+ var _excluded$$ = ["value", "onValueChange", "placeholder", "views"],
17082
17900
  _excluded2$h = ["children", "views"],
17083
17901
  _excluded3$c = ["heading", "children", "views"],
17084
17902
  _excluded4$a = ["item", "selected", "onSelect", "views"],
@@ -17110,7 +17928,7 @@ var CommandInput = _ref2 => {
17110
17928
  placeholder = 'Type a command or search...',
17111
17929
  views
17112
17930
  } = _ref2,
17113
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$Z);
17931
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$$);
17114
17932
  var inputRef = useRef(null);
17115
17933
  // Focus input when component mounts
17116
17934
  React.useEffect(() => {
@@ -17293,7 +18111,7 @@ var CommandView = _ref7 => {
17293
18111
  })))), footer && (/*#__PURE__*/React.createElement(View, Object.assign({}, CommandFooterStyles, views == null ? void 0 : views.footer), footer)))));
17294
18112
  };
17295
18113
 
17296
- 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"];
17297
18115
  /**
17298
18116
  * Command component for displaying a command palette with search functionality.
17299
18117
  */
@@ -17311,7 +18129,7 @@ var CommandComponent = _ref => {
17311
18129
  footer,
17312
18130
  views
17313
18131
  } = _ref,
17314
- props = _objectWithoutPropertiesLoose(_ref, _excluded$_);
18132
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$10);
17315
18133
  var {
17316
18134
  search,
17317
18135
  setSearch,
@@ -17598,7 +18416,7 @@ var getArrowStyles = position => {
17598
18416
  }
17599
18417
  };
17600
18418
 
17601
- var _excluded$$ = ["children", "views", "asChild"],
18419
+ var _excluded$11 = ["children", "views", "asChild"],
17602
18420
  _excluded2$i = ["children", "views"],
17603
18421
  _excluded3$d = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
17604
18422
  // Create context for the Tooltip
@@ -17634,7 +18452,7 @@ var TooltipTrigger = _ref2 => {
17634
18452
  views,
17635
18453
  asChild = false
17636
18454
  } = _ref2,
17637
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$$);
18455
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$11);
17638
18456
  var {
17639
18457
  openTooltip,
17640
18458
  closeTooltip,
@@ -17727,7 +18545,7 @@ var TooltipView = _ref4 => {
17727
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)))));
17728
18546
  };
17729
18547
 
17730
- 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"];
17731
18549
  /**
17732
18550
  * Tooltip component for displaying additional information when hovering over an element.
17733
18551
  * Supports configurable positions, delays, and styling.
@@ -17747,7 +18565,7 @@ var TooltipComponent = _ref => {
17747
18565
  isDisabled = false,
17748
18566
  views
17749
18567
  } = _ref,
17750
- props = _objectWithoutPropertiesLoose(_ref, _excluded$10);
18568
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$12);
17751
18569
  var tooltipState = useTooltipState({
17752
18570
  defaultOpen,
17753
18571
  openDelay,
@@ -17771,5 +18589,5 @@ var Tooltip = TooltipComponent;
17771
18589
  Tooltip.Trigger = TooltipTrigger;
17772
18590
  Tooltip.Content = TooltipContent;
17773
18591
 
17774
- 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 };
17775
18593
  //# sourceMappingURL=web.esm.js.map