@app-studio/web 0.8.90 → 0.8.92

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 (48) 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 +88 -0
  14. package/dist/components/Title/Title/Title.state.d.ts +10 -0
  15. package/dist/components/Title/Title/Title.style.d.ts +25 -0
  16. package/dist/components/Title/Title/Title.type.d.ts +17 -0
  17. package/dist/components/Title/Title/Title.view.d.ts +4 -0
  18. package/dist/components/Title/Title/TypewriterEffect.d.ts +17 -0
  19. package/dist/components/Title/Title/useInView.d.ts +9 -0
  20. package/dist/components/Title/Title.d.ts +3 -0
  21. package/dist/components/Title/examples/alternating.d.ts +5 -0
  22. package/dist/components/Title/examples/animated.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/gradient.d.ts +5 -0
  27. package/dist/components/Title/examples/hero.d.ts +5 -0
  28. package/dist/components/Title/examples/highlight.d.ts +5 -0
  29. package/dist/components/Title/examples/highlightStyles.d.ts +5 -0
  30. package/dist/components/Title/examples/highlighted.d.ts +5 -0
  31. package/dist/components/Title/examples/index.d.ts +12 -0
  32. package/dist/components/Title/examples/responsive.d.ts +5 -0
  33. package/dist/components/Title/examples/typewriterHighlight.d.ts +5 -0
  34. package/dist/components/Title/index.d.ts +1 -0
  35. package/dist/components/index.d.ts +4 -0
  36. package/dist/pages/cookieConsent.page.d.ts +6 -0
  37. package/dist/pages/title.page.d.ts +6 -0
  38. package/dist/web.cjs.development.js +842 -133
  39. package/dist/web.cjs.development.js.map +1 -1
  40. package/dist/web.cjs.production.min.js +1 -1
  41. package/dist/web.cjs.production.min.js.map +1 -1
  42. package/dist/web.esm.js +839 -135
  43. package/dist/web.esm.js.map +1 -1
  44. package/dist/web.umd.development.js +843 -135
  45. package/dist/web.umd.development.js.map +1 -1
  46. package/dist/web.umd.production.min.js +1 -1
  47. package/dist/web.umd.production.min.js.map +1 -1
  48. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('core-js/modules/es.object.assign.js'), require('react'), require('core-js/modules/es.array.includes.js'), require('core-js/modules/es.array.iterator.js'), require('core-js/modules/es.string.includes.js'), require('core-js/modules/web.dom-collections.iterator.js'), require('core-js/modules/es.regexp.to-string.js'), require('app-studio'), require('core-js/modules/es.symbol.description.js'), require('core-js/modules/es.parse-float.js'), require('core-js/modules/es.string.trim-end.js'), require('react-router-dom'), require('contrast'), require('core-js/modules/es.promise.js'), require('core-js/modules/es.array.reduce.js'), require('core-js/modules/es.number.to-fixed.js'), require('core-js/modules/es.string.starts-with.js'), require('date-fns/format'), require('core-js/modules/es.parse-int.js'), require('core-js/modules/es.regexp.constructor.js'), require('core-js/modules/es.regexp.exec.js'), require('formik'), require('core-js/modules/web.url.js'), require('core-js/modules/web.url.to-json.js'), require('core-js/modules/web.url-search-params.js'), require('zustand'), require('core-js/modules/es.string.ends-with.js'), require('core-js/modules/es.string.match.js'), require('core-js/modules/es.string.search.js'), require('core-js/modules/es.array.flat-map.js'), require('core-js/modules/es.array.unscopables.flat-map.js'), require('core-js/modules/es.string.trim.js')) :
3
- typeof define === 'function' && define.amd ? define(['exports', 'core-js/modules/es.object.assign.js', 'react', 'core-js/modules/es.array.includes.js', 'core-js/modules/es.array.iterator.js', 'core-js/modules/es.string.includes.js', 'core-js/modules/web.dom-collections.iterator.js', 'core-js/modules/es.regexp.to-string.js', 'app-studio', 'core-js/modules/es.symbol.description.js', 'core-js/modules/es.parse-float.js', 'core-js/modules/es.string.trim-end.js', 'react-router-dom', 'contrast', 'core-js/modules/es.promise.js', 'core-js/modules/es.array.reduce.js', 'core-js/modules/es.number.to-fixed.js', 'core-js/modules/es.string.starts-with.js', 'date-fns/format', 'core-js/modules/es.parse-int.js', 'core-js/modules/es.regexp.constructor.js', 'core-js/modules/es.regexp.exec.js', 'formik', 'core-js/modules/web.url.js', 'core-js/modules/web.url.to-json.js', 'core-js/modules/web.url-search-params.js', 'zustand', 'core-js/modules/es.string.ends-with.js', 'core-js/modules/es.string.match.js', 'core-js/modules/es.string.search.js', 'core-js/modules/es.array.flat-map.js', 'core-js/modules/es.array.unscopables.flat-map.js', 'core-js/modules/es.string.trim.js'], factory) :
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('core-js/modules/es.object.assign.js'), require('react'), require('core-js/modules/es.array.includes.js'), require('core-js/modules/es.array.iterator.js'), require('core-js/modules/es.string.includes.js'), require('core-js/modules/web.dom-collections.iterator.js'), require('core-js/modules/es.regexp.to-string.js'), require('app-studio'), require('core-js/modules/es.symbol.description.js'), require('core-js/modules/es.parse-float.js'), require('core-js/modules/es.string.trim-end.js'), require('react-router-dom'), require('contrast'), require('core-js/modules/es.promise.js'), require('core-js/modules/es.array.reduce.js'), require('core-js/modules/es.number.to-fixed.js'), require('core-js/modules/es.string.starts-with.js'), require('date-fns/format'), require('core-js/modules/es.parse-int.js'), require('core-js/modules/es.regexp.constructor.js'), require('core-js/modules/es.regexp.exec.js'), require('formik'), require('core-js/modules/web.url.js'), require('core-js/modules/web.url.to-json.js'), require('core-js/modules/web.url-search-params.js'), require('zustand'), require('core-js/modules/es.string.replace.js'), require('core-js/modules/es.string.ends-with.js'), require('core-js/modules/es.string.match.js'), require('core-js/modules/es.string.search.js'), require('core-js/modules/es.array.flat-map.js'), require('core-js/modules/es.array.unscopables.flat-map.js'), require('core-js/modules/es.string.trim.js')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', 'core-js/modules/es.object.assign.js', 'react', 'core-js/modules/es.array.includes.js', 'core-js/modules/es.array.iterator.js', 'core-js/modules/es.string.includes.js', 'core-js/modules/web.dom-collections.iterator.js', 'core-js/modules/es.regexp.to-string.js', 'app-studio', 'core-js/modules/es.symbol.description.js', 'core-js/modules/es.parse-float.js', 'core-js/modules/es.string.trim-end.js', 'react-router-dom', 'contrast', 'core-js/modules/es.promise.js', 'core-js/modules/es.array.reduce.js', 'core-js/modules/es.number.to-fixed.js', 'core-js/modules/es.string.starts-with.js', 'date-fns/format', 'core-js/modules/es.parse-int.js', 'core-js/modules/es.regexp.constructor.js', 'core-js/modules/es.regexp.exec.js', 'formik', 'core-js/modules/web.url.js', 'core-js/modules/web.url.to-json.js', 'core-js/modules/web.url-search-params.js', 'zustand', 'core-js/modules/es.string.replace.js', 'core-js/modules/es.string.ends-with.js', 'core-js/modules/es.string.match.js', 'core-js/modules/es.string.search.js', 'core-js/modules/es.array.flat-map.js', 'core-js/modules/es.array.unscopables.flat-map.js', 'core-js/modules/es.string.trim.js'], factory) :
4
4
  (global = global || self, factory(global['@app-studio/web'] = {}, null, global.React, null, null, null, null, null, global.appStudio, null, null, null, global.reactRouterDom, global.contrast, null, null, null, null, global.format, null, null, null, global.formik, null, null, null, global.zustand));
5
5
  }(this, (function (exports, es_object_assign_js, React, es_array_includes_js, es_array_iterator_js, es_string_includes_js, web_domCollections_iterator_js, es_regexp_toString_js, appStudio, es_symbol_description_js, es_parseFloat_js, es_string_trimEnd_js, reactRouterDom, contrast, es_promise_js, es_array_reduce_js, es_number_toFixed_js, es_string_startsWith_js, format, es_parseInt_js, es_regexp_constructor_js, es_regexp_exec_js, formik, web_url_js, web_url_toJson_js, web_urlSearchParams_js, zustand) { 'use strict';
6
6
 
@@ -563,7 +563,7 @@
563
563
  n.style.lineHeight = lineHeight;
564
564
  }
565
565
  }, [text, maxLines]);
566
- return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
566
+ return /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
567
567
  ref: containerRef,
568
568
  overflow: "hidden" // Crucial for final display state
569
569
  }, views == null ? void 0 : views.truncateText, rest, {
@@ -628,7 +628,7 @@
628
628
 
629
629
  var _excluded$3 = ["widthHeight", "color", "transform", "orientation", "children"],
630
630
  _excluded2$2 = ["widthHeight", "color", "filled", "strokeWidth"],
631
- _excluded3$1 = ["widthHeight", "color", "filled", "strokeWidth"],
631
+ _excluded3$1 = ["widthHeight", "color", "strokeWidth", "filled"],
632
632
  _excluded4$1 = ["widthHeight", "color", "filled", "strokeWidth"],
633
633
  _excluded5 = ["widthHeight", "color", "filled", "strokeWidth"],
634
634
  _excluded6 = ["widthHeight", "color", "filled", "strokeWidth"],
@@ -702,7 +702,9 @@
702
702
  _excluded74 = ["widthHeight", "color", "strokeWidth", "filled"],
703
703
  _excluded75 = ["widthHeight", "color", "strokeWidth", "filled"],
704
704
  _excluded76 = ["widthHeight", "color", "strokeWidth", "filled"],
705
- _excluded77 = ["widthHeight", "color", "strokeWidth", "filled"];
705
+ _excluded77 = ["widthHeight", "color", "strokeWidth", "filled"],
706
+ _excluded78 = ["widthHeight", "color", "strokeWidth", "filled"],
707
+ _excluded79 = ["widthHeight", "color", "strokeWidth", "filled"];
706
708
  // Default wrapper component for consistent sizing and styling
707
709
  var IconWrapper = _ref => {
708
710
  var {
@@ -757,8 +759,8 @@
757
759
  var {
758
760
  widthHeight = 24,
759
761
  color = 'currentColor',
760
- filled = true,
761
- strokeWidth = 1
762
+ strokeWidth = 1,
763
+ filled = false
762
764
  } = _ref3,
763
765
  props = _objectWithoutPropertiesLoose(_ref3, _excluded3$1);
764
766
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
@@ -766,10 +768,19 @@
766
768
  color: color
767
769
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
768
770
  viewBox: "0 0 24 24",
769
- "aria-hidden": "true",
771
+ "aria-hidden": "false",
770
772
  focusable: "false"
771
- }, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("path", {
772
- 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"
773
+ }, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("circle", {
774
+ cx: "12",
775
+ cy: "12",
776
+ r: "10"
777
+ }), /*#__PURE__*/React__default.createElement("path", {
778
+ d: "M9.09 9a3 3 0 1 1 5.91 1c0 2-3 3-3 3"
779
+ }), /*#__PURE__*/React__default.createElement("line", {
780
+ x1: "12",
781
+ y1: "17",
782
+ x2: "12",
783
+ y2: "17"
773
784
  })));
774
785
  };
775
786
  // Example Icon Component: ChevronIcon
@@ -1749,31 +1760,13 @@
1749
1760
  "aria-hidden": "false",
1750
1761
  focusable: "false"
1751
1762
  }, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("rect", {
1752
- x: "3",
1753
- y: "3",
1754
1763
  width: "18",
1755
1764
  height: "18",
1765
+ x: "3",
1766
+ y: "3",
1756
1767
  rx: "2"
1757
- }), /*#__PURE__*/React__default.createElement("line", {
1758
- x1: "9",
1759
- y1: "3",
1760
- x2: "9",
1761
- y2: "21"
1762
- }), /*#__PURE__*/React__default.createElement("line", {
1763
- x1: "12",
1764
- y1: "7",
1765
- x2: "17",
1766
- y2: "7"
1767
- }), /*#__PURE__*/React__default.createElement("line", {
1768
- x1: "12",
1769
- y1: "11",
1770
- x2: "17",
1771
- y2: "11"
1772
- }), /*#__PURE__*/React__default.createElement("line", {
1773
- x1: "12",
1774
- y1: "15",
1775
- x2: "17",
1776
- y2: "15"
1768
+ }), /*#__PURE__*/React__default.createElement("path", {
1769
+ d: "M9 3v18"
1777
1770
  })));
1778
1771
  };
1779
1772
  var FilterIcon = _ref41 => {
@@ -2726,6 +2719,59 @@
2726
2719
  y2: "17"
2727
2720
  })));
2728
2721
  };
2722
+ var GiftIcon = _ref78 => {
2723
+ var {
2724
+ widthHeight = 24,
2725
+ color = 'currentColor',
2726
+ strokeWidth = 1,
2727
+ filled = false
2728
+ } = _ref78,
2729
+ props = _objectWithoutPropertiesLoose(_ref78, _excluded78);
2730
+ return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
2731
+ widthHeight: widthHeight,
2732
+ color: color
2733
+ }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
2734
+ viewBox: "0 0 24 24",
2735
+ "aria-hidden": "false",
2736
+ focusable: "false"
2737
+ }, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("rect", {
2738
+ x: "3",
2739
+ y: "8",
2740
+ width: "18",
2741
+ height: "4",
2742
+ rx: "1"
2743
+ }), /*#__PURE__*/React__default.createElement("path", {
2744
+ d: "M12 8V21"
2745
+ }), /*#__PURE__*/React__default.createElement("path", {
2746
+ d: "M3 12v6a3 3 0 0 0 3 3h3V12"
2747
+ }), /*#__PURE__*/React__default.createElement("path", {
2748
+ d: "M18 21h-3v-9h6v6a3 3 0 0 1-3 3z"
2749
+ }), /*#__PURE__*/React__default.createElement("path", {
2750
+ d: "M12 8c-.5-2.5-4-3-5-1.5S9 10 12 8z"
2751
+ }), /*#__PURE__*/React__default.createElement("path", {
2752
+ d: "M12 8c.5-2.5 4-3 5-1.5S15 10 12 8z"
2753
+ })));
2754
+ };
2755
+ var ShieldIcon = _ref79 => {
2756
+ var {
2757
+ widthHeight = 24,
2758
+ color = 'currentColor',
2759
+ strokeWidth = 1,
2760
+ filled = true
2761
+ } = _ref79,
2762
+ props = _objectWithoutPropertiesLoose(_ref79, _excluded79);
2763
+ return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
2764
+ widthHeight: widthHeight,
2765
+ color: color
2766
+ }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
2767
+ viewBox: "0 0 24 24",
2768
+ "aria-hidden": "false",
2769
+ focusable: "false"
2770
+ }, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("path", {
2771
+ d: "M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"
2772
+ })));
2773
+ };
2774
+ var CheckIcon = TickIcon;
2729
2775
 
2730
2776
  var Icon = {
2731
2777
  __proto__: null,
@@ -2805,7 +2851,10 @@
2805
2851
  ShapeIcon: ShapeIcon,
2806
2852
  RotateIcon: RotateIcon,
2807
2853
  DocumentIcon: DocumentIcon,
2808
- ChartIcon: ChartIcon
2854
+ ChartIcon: ChartIcon,
2855
+ GiftIcon: GiftIcon,
2856
+ ShieldIcon: ShieldIcon,
2857
+ CheckIcon: CheckIcon
2809
2858
  };
2810
2859
 
2811
2860
  /**
@@ -5551,6 +5600,273 @@
5551
5600
  };
5552
5601
  var Chart = ChartComponent;
5553
5602
 
5603
+ /**
5604
+ * Custom hook to manage cookie consent state
5605
+ * @param cookieExpiration Number of days until the cookie expires
5606
+ * @returns State and functions for managing cookie consent
5607
+ */
5608
+ var useCookieConsentState = function useCookieConsentState(cookieExpiration) {
5609
+ if (cookieExpiration === void 0) {
5610
+ cookieExpiration = 365;
5611
+ }
5612
+ // State for hover effects
5613
+ var [isHovered, setIsHovered] = React.useState(false);
5614
+ // State for tracking if consent has been given
5615
+ var [hasConsent, setHasConsent] = React.useState(null);
5616
+ // Cookie name for storing consent
5617
+ var COOKIE_CONSENT_KEY = 'app-studio-cookie-consent';
5618
+ // Check for existing consent when component mounts
5619
+ React.useEffect(() => {
5620
+ var storedConsent = localStorage.getItem(COOKIE_CONSENT_KEY);
5621
+ if (storedConsent !== null) {
5622
+ setHasConsent(storedConsent === 'true');
5623
+ } else {
5624
+ setHasConsent(false);
5625
+ }
5626
+ }, []);
5627
+ /**
5628
+ * Save consent to localStorage with expiration
5629
+ */
5630
+ var saveConsent = consent => {
5631
+ localStorage.setItem(COOKIE_CONSENT_KEY, String(consent));
5632
+ // Set expiration date
5633
+ var expirationDate = new Date();
5634
+ expirationDate.setDate(expirationDate.getDate() + cookieExpiration);
5635
+ localStorage.setItem(COOKIE_CONSENT_KEY + "-expires", expirationDate.toISOString());
5636
+ setHasConsent(consent);
5637
+ };
5638
+ /**
5639
+ * Accept cookies
5640
+ */
5641
+ var acceptCookies = () => {
5642
+ saveConsent(true);
5643
+ };
5644
+ /**
5645
+ * Reset cookie consent (for testing)
5646
+ */
5647
+ var resetConsent = () => {
5648
+ localStorage.removeItem(COOKIE_CONSENT_KEY);
5649
+ localStorage.removeItem(COOKIE_CONSENT_KEY + "-expires");
5650
+ setHasConsent(false);
5651
+ };
5652
+ return {
5653
+ isHovered,
5654
+ setIsHovered,
5655
+ hasConsent,
5656
+ acceptCookies,
5657
+ resetConsent
5658
+ };
5659
+ };
5660
+
5661
+ /**
5662
+ * Get theme-based styles for the CookieConsent component
5663
+ */
5664
+ var getThemes$1 = themeMode => {
5665
+ var isDark = themeMode === 'dark';
5666
+ return {
5667
+ default: {
5668
+ container: {
5669
+ backgroundColor: isDark ? '#1f2937' : '#ffffff',
5670
+ borderColor: isDark ? '#374151' : '#e5e7eb',
5671
+ boxShadow: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)'
5672
+ },
5673
+ content: {
5674
+ color: isDark ? '#e5e7eb' : '#1f2937'
5675
+ },
5676
+ acceptButton: {
5677
+ backgroundColor: '#3b82f6',
5678
+ color: '#ffffff',
5679
+ hoverBackgroundColor: '#2563eb'
5680
+ },
5681
+ customizeButton: {
5682
+ backgroundColor: 'transparent',
5683
+ color: isDark ? '#e5e7eb' : '#4b5563',
5684
+ borderColor: isDark ? '#4b5563' : '#d1d5db',
5685
+ hoverBackgroundColor: isDark ? '#374151' : '#f3f4f6'
5686
+ }
5687
+ },
5688
+ info: {
5689
+ container: {
5690
+ backgroundColor: isDark ? '#1e3a8a' : '#eff6ff',
5691
+ borderColor: isDark ? '#1e40af' : '#bfdbfe',
5692
+ boxShadow: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)'
5693
+ },
5694
+ content: {
5695
+ color: isDark ? '#bfdbfe' : '#1e40af'
5696
+ },
5697
+ acceptButton: {
5698
+ backgroundColor: '#3b82f6',
5699
+ color: '#ffffff',
5700
+ hoverBackgroundColor: '#2563eb'
5701
+ },
5702
+ customizeButton: {
5703
+ backgroundColor: 'transparent',
5704
+ color: isDark ? '#bfdbfe' : '#1e40af',
5705
+ borderColor: isDark ? '#3b82f6' : '#93c5fd',
5706
+ hoverBackgroundColor: isDark ? '#1e40af' : '#dbeafe'
5707
+ }
5708
+ },
5709
+ primary: {
5710
+ container: {
5711
+ backgroundColor: isDark ? '#0c4a6e' : '#f0f9ff',
5712
+ borderColor: isDark ? '#0369a1' : '#bae6fd',
5713
+ boxShadow: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)'
5714
+ },
5715
+ content: {
5716
+ color: isDark ? '#bae6fd' : '#0369a1'
5717
+ },
5718
+ acceptButton: {
5719
+ backgroundColor: '#0ea5e9',
5720
+ color: '#ffffff',
5721
+ hoverBackgroundColor: '#0284c7'
5722
+ },
5723
+ customizeButton: {
5724
+ backgroundColor: 'transparent',
5725
+ color: isDark ? '#bae6fd' : '#0369a1',
5726
+ borderColor: isDark ? '#0ea5e9' : '#7dd3fc',
5727
+ hoverBackgroundColor: isDark ? '#0369a1' : '#e0f2fe'
5728
+ }
5729
+ }
5730
+ };
5731
+ };
5732
+
5733
+ var _excluded$e = ["title", "description", "acceptButtonText", "customizeButtonText", "position", "variant", "onAccept", "onCustomize", "views", "showCustomizeButton", "cookieExpiration", "themeMode"];
5734
+ /**
5735
+ * CookieConsent View Component
5736
+ *
5737
+ * Renders a cookie consent banner with customizable styling, position, and content.
5738
+ */
5739
+ var CookieConsentView = _ref => {
5740
+ var {
5741
+ title = 'Nous utilisons des cookies',
5742
+ 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é.',
5743
+ acceptButtonText = 'Accepter',
5744
+ customizeButtonText = 'Personnaliser',
5745
+ position = 'bottom',
5746
+ variant = 'default',
5747
+ onAccept,
5748
+ onCustomize,
5749
+ views,
5750
+ showCustomizeButton = true,
5751
+ cookieExpiration = 365,
5752
+ themeMode: propThemeMode
5753
+ } = _ref,
5754
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
5755
+ // Get theme context
5756
+ var {
5757
+ themeMode: contextThemeMode
5758
+ } = appStudio.useTheme();
5759
+ // Use provided theme mode or fall back to context
5760
+ var themeMode = propThemeMode || contextThemeMode || 'light';
5761
+ // Get state and functions from custom hook
5762
+ var {
5763
+ hasConsent,
5764
+ acceptCookies
5765
+ } = useCookieConsentState(cookieExpiration);
5766
+ // Get theme-based styles
5767
+ var themes = getThemes$1(themeMode);
5768
+ var themeStyles = themes[variant];
5769
+ // If user has already given consent, don't show the banner
5770
+ if (hasConsent) {
5771
+ return null;
5772
+ }
5773
+ // Handle accept button click
5774
+ var handleAccept = () => {
5775
+ acceptCookies();
5776
+ if (onAccept) {
5777
+ onAccept();
5778
+ }
5779
+ };
5780
+ // Handle customize button click
5781
+ var handleCustomize = () => {
5782
+ if (onCustomize) {
5783
+ onCustomize();
5784
+ }
5785
+ };
5786
+ return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
5787
+ position: "fixed",
5788
+ left: 16,
5789
+ right: 16,
5790
+ zIndex: 1000,
5791
+ padding: 16,
5792
+ borderWidth: "1px",
5793
+ borderStyle: "solid",
5794
+ borderRadius: 8,
5795
+ maxWidth: "800px",
5796
+ marginX: "auto"
5797
+ }, position === 'bottom' ? {
5798
+ bottom: 16
5799
+ } : {
5800
+ top: 16
5801
+ }, themeStyles.container, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement(appStudio.Vertical, {
5802
+ gap: 12,
5803
+ maxWidth: 1200,
5804
+ marginX: "auto"
5805
+ }, title && (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
5806
+ fontWeight: "bold",
5807
+ fontSize: 18,
5808
+ color: "color.black"
5809
+ }, views == null ? void 0 : views.title), title)), description && (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
5810
+ fontSize: 14,
5811
+ color: "color.black"
5812
+ }, views == null ? void 0 : views.description), typeof description === 'string' ? description : description)), /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
5813
+ gap: 12,
5814
+ justifyContent: "flex-end",
5815
+ marginTop: 8
5816
+ }, views == null ? void 0 : views.buttonGroup), showCustomizeButton && (/*#__PURE__*/React__default.createElement(Button, Object.assign({
5817
+ variant: "outline",
5818
+ onClick: handleCustomize,
5819
+ size: "sm"
5820
+ }, views == null ? void 0 : views.customizeButton), customizeButtonText)), /*#__PURE__*/React__default.createElement(Button, Object.assign({
5821
+ variant: "primary",
5822
+ onClick: handleAccept,
5823
+ size: "sm"
5824
+ }, views == null ? void 0 : views.acceptButton), acceptButtonText))));
5825
+ };
5826
+
5827
+ /**
5828
+ * CookieConsent Component
5829
+ *
5830
+ * A component for displaying a cookie consent banner with customizable styling and content.
5831
+ *
5832
+ * Features:
5833
+ * - Customizable title and description
5834
+ * - Configurable button text
5835
+ * - Multiple visual variants
5836
+ * - Position control (top or bottom)
5837
+ * - Theme mode support (light or dark)
5838
+ * - Custom styling via views prop
5839
+ *
5840
+ * @example
5841
+ * // Basic usage
5842
+ * <CookieConsent />
5843
+ *
5844
+ * @example
5845
+ * // With custom text
5846
+ * <CookieConsent
5847
+ * title="Avis de confidentialité"
5848
+ * description="Nous utilisons des cookies pour améliorer votre expérience."
5849
+ * acceptButtonText="J'accepte"
5850
+ * />
5851
+ *
5852
+ * @example
5853
+ * // With custom styling and callbacks
5854
+ * <CookieConsent
5855
+ * variant="primary"
5856
+ * position="top"
5857
+ * onAccept={() => console.log('Cookies accepted')}
5858
+ * onCustomize={() => openPreferencesModal()}
5859
+ * views={{
5860
+ * container: { backgroundColor: 'color.blue.50' },
5861
+ * title: { color: 'color.blue.800' }
5862
+ * }}
5863
+ * />
5864
+ */
5865
+ var CookieConsentComponent = props => {
5866
+ return /*#__PURE__*/React__default.createElement(CookieConsentView, Object.assign({}, props));
5867
+ };
5868
+ var CookieConsent = CookieConsentComponent;
5869
+
5554
5870
  var useContextMenuState = props => {
5555
5871
  var {
5556
5872
  size,
@@ -5728,7 +6044,7 @@
5728
6044
  };
5729
6045
  };
5730
6046
 
5731
- var _excluded$e = ["children", "disableNativeContextMenu", "asChild", "isDisabled", "views"],
6047
+ var _excluded$f = ["children", "disableNativeContextMenu", "asChild", "isDisabled", "views"],
5732
6048
  _excluded2$6 = ["items", "children", "position", "side", "align", "views", "style"],
5733
6049
  _excluded3$5 = ["item", "children", "onSelect", "isDisabled", "views"],
5734
6050
  _excluded4$5 = ["views"],
@@ -5784,7 +6100,7 @@
5784
6100
  isDisabled = false,
5785
6101
  views
5786
6102
  } = _ref2,
5787
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$e);
6103
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$f);
5788
6104
  var {
5789
6105
  triggerRef,
5790
6106
  contentId,
@@ -6067,7 +6383,7 @@
6067
6383
  }));
6068
6384
  };
6069
6385
 
6070
- var _excluded$f = ["children", "items", "size", "variant", "disableNativeContextMenu", "onOpenChange", "views"];
6386
+ var _excluded$g = ["children", "items", "size", "variant", "disableNativeContextMenu", "onOpenChange", "views"];
6071
6387
  /**
6072
6388
  * ContextMenu component for displaying a custom context menu on right-click.
6073
6389
  * Supports both data-driven approach (with items prop) and compound component pattern.
@@ -6082,7 +6398,7 @@
6082
6398
  onOpenChange,
6083
6399
  views
6084
6400
  } = _ref,
6085
- props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
6401
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
6086
6402
  var state = useContextMenuState({
6087
6403
  size,
6088
6404
  variant,
@@ -6134,7 +6450,7 @@
6134
6450
  ContextMenu.Divider = ContextMenuDivider;
6135
6451
  ContextMenu.Separator = ContextMenuSeparator; // Add the Separator component
6136
6452
 
6137
- var _excluded$g = ["src", "color", "views", "themeMode"],
6453
+ var _excluded$h = ["src", "color", "views", "themeMode"],
6138
6454
  _excluded2$7 = ["path"];
6139
6455
  var FileSVG = _ref => {
6140
6456
  var {
@@ -6142,7 +6458,7 @@
6142
6458
  color,
6143
6459
  views
6144
6460
  } = _ref,
6145
- props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
6461
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
6146
6462
  var {
6147
6463
  getColor,
6148
6464
  themeMode
@@ -6216,7 +6532,7 @@
6216
6532
  };
6217
6533
  };
6218
6534
 
6219
- var _excluded$h = ["children", "views"];
6535
+ var _excluded$i = ["children", "views"];
6220
6536
  var HelperText = _ref => {
6221
6537
  var {
6222
6538
  children,
@@ -6224,7 +6540,7 @@
6224
6540
  helperText: {}
6225
6541
  }
6226
6542
  } = _ref,
6227
- props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
6543
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
6228
6544
  return /*#__PURE__*/React__default.createElement(Text
6229
6545
  // Typography properties
6230
6546
  , Object.assign({
@@ -6250,7 +6566,7 @@
6250
6566
  }, views['helperText'], props), children);
6251
6567
  };
6252
6568
 
6253
- var _excluded$i = ["children", "helperText", "error", "views"];
6569
+ var _excluded$j = ["children", "helperText", "error", "views"];
6254
6570
  var FieldContainer = _ref => {
6255
6571
  var {
6256
6572
  children,
@@ -6258,7 +6574,7 @@
6258
6574
  error = false,
6259
6575
  views
6260
6576
  } = _ref,
6261
- props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
6577
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
6262
6578
  return /*#__PURE__*/React__default.createElement(appStudio.Vertical
6263
6579
  // Layout properties
6264
6580
  , Object.assign({
@@ -6374,7 +6690,7 @@
6374
6690
  paddingRight: '16px'
6375
6691
  };
6376
6692
 
6377
- var _excluded$j = ["label", "shadow", "children", "value", "size", "shape", "variant", "error", "showLabel", "isFocused", "isHovered", "isDisabled", "isReadOnly", "views"];
6693
+ var _excluded$k = ["label", "shadow", "children", "value", "size", "shape", "variant", "error", "showLabel", "isFocused", "isHovered", "isDisabled", "isReadOnly", "views"];
6378
6694
  var FieldContent = _ref => {
6379
6695
  var {
6380
6696
  shadow,
@@ -6392,7 +6708,7 @@
6392
6708
  pickerBox: {}
6393
6709
  }
6394
6710
  } = _ref,
6395
- props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
6711
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
6396
6712
  // Determine if the field is in an interactive state
6397
6713
  var isInteractive = (isHovered || isFocused) && !isDisabled;
6398
6714
  // Set the appropriate color based on state
@@ -6421,12 +6737,12 @@
6421
6737
  }, showLabel ? PadddingWithLabel : PaddingWithoutLabel, shadow, Shapes[shape], InputVariants[variant], views['box'], props), children);
6422
6738
  };
6423
6739
 
6424
- var _excluded$k = ["children"];
6740
+ var _excluded$l = ["children"];
6425
6741
  var FieldIcons = _ref => {
6426
6742
  var {
6427
6743
  children
6428
6744
  } = _ref,
6429
- props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
6745
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
6430
6746
  return /*#__PURE__*/React__default.createElement(appStudio.Center, Object.assign({
6431
6747
  gap: 10,
6432
6748
  right: 16,
@@ -6478,7 +6794,7 @@
6478
6794
  }
6479
6795
  };
6480
6796
 
6481
- var _excluded$l = ["children", "heading", "isItalic", "isUnderlined", "isStriked", "weight", "size", "dropDown"];
6797
+ var _excluded$m = ["children", "heading", "isItalic", "isUnderlined", "isStriked", "weight", "size", "dropDown"];
6482
6798
  var LabelView = _ref => {
6483
6799
  var {
6484
6800
  children,
@@ -6494,7 +6810,7 @@
6494
6810
  size = 'sm'
6495
6811
  // The fontSize prop for the Element is determined by the 'size' prop passed to LabelView.
6496
6812
  } = _ref,
6497
- props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
6813
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
6498
6814
  // The fontStyle prop toggles between 'italic' and 'normal' based on the 'isItalic' boolean prop.
6499
6815
  var headingStyles = heading ? HeadingSizes$1[heading] : {};
6500
6816
  // fontWeight is derived from the Typography module, ensuring consistent font weighting across the app.
@@ -6526,7 +6842,7 @@
6526
6842
  var Label = LabelComponent;
6527
6843
  // Export the 'LabelComponent' as 'Label' to be reused throughout the project.
6528
6844
 
6529
- var _excluded$m = ["children", "size", "error", "color", "views", "helperText"];
6845
+ var _excluded$n = ["children", "size", "error", "color", "views", "helperText"];
6530
6846
  var FieldLabel = _ref => {
6531
6847
  var {
6532
6848
  children,
@@ -6537,7 +6853,7 @@
6537
6853
  label: {}
6538
6854
  }
6539
6855
  } = _ref,
6540
- props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
6856
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
6541
6857
  return /*#__PURE__*/React__default.createElement(Label
6542
6858
  // Position properties
6543
6859
  , Object.assign({
@@ -6558,12 +6874,12 @@
6558
6874
  }, views['label'], props), children);
6559
6875
  };
6560
6876
 
6561
- var _excluded$n = ["children"];
6877
+ var _excluded$o = ["children"];
6562
6878
  var FieldWrapper = _ref => {
6563
6879
  var {
6564
6880
  children
6565
6881
  } = _ref,
6566
- props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
6882
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
6567
6883
  return /*#__PURE__*/React__default.createElement(appStudio.Vertical
6568
6884
  // Layout properties
6569
6885
  , Object.assign({
@@ -6596,7 +6912,7 @@
6596
6912
  xl: 28
6597
6913
  };
6598
6914
 
6599
- var _excluded$o = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
6915
+ var _excluded$p = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
6600
6916
  _excluded2$8 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
6601
6917
  _excluded3$6 = ["option", "size", "removeOption"],
6602
6918
  _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"];
@@ -6614,7 +6930,7 @@
6614
6930
  callback = () => {},
6615
6931
  style
6616
6932
  } = _ref,
6617
- props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
6933
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
6618
6934
  // Handles the click event on an option by invoking the callback with the selected option's value
6619
6935
  var handleOptionClick = option => callback(option);
6620
6936
  // Toggles the hover state on the item
@@ -7107,7 +7423,7 @@
7107
7423
  }
7108
7424
  };
7109
7425
 
7110
- var _excluded$p = ["id", "name", "label", "inActiveChild", "isChecked", "activeChild", "labelPosition", "shadow", "size", "value", "isHovered", "isDisabled", "isReadOnly", "on", "setOn", "onChange", "setValue", "setIsHovered", "helperText", "views"];
7426
+ var _excluded$q = ["id", "name", "label", "inActiveChild", "isChecked", "activeChild", "labelPosition", "shadow", "size", "value", "isHovered", "isDisabled", "isReadOnly", "on", "setOn", "onChange", "setValue", "setIsHovered", "helperText", "views"];
7111
7427
  var SwitchContent = props => /*#__PURE__*/React__default.createElement(appStudio.Input, Object.assign({
7112
7428
  type: "checkbox"
7113
7429
  }, props));
@@ -7136,7 +7452,7 @@
7136
7452
  label: {}
7137
7453
  }
7138
7454
  } = _ref,
7139
- props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
7455
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
7140
7456
  var handleToggle = event => {
7141
7457
  if (!isReadOnly) {
7142
7458
  setValue(!value);
@@ -7260,7 +7576,7 @@
7260
7576
  // Export of the useTextAreaState hook for external usage.
7261
7577
  };
7262
7578
 
7263
- 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"];
7579
+ 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"];
7264
7580
  var TextAreaView = _ref => {
7265
7581
  var {
7266
7582
  id,
@@ -7295,7 +7611,7 @@
7295
7611
  helperText: {}
7296
7612
  }
7297
7613
  } = _ref,
7298
- props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
7614
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
7299
7615
  var showLabel = !!(isFocused && label);
7300
7616
  /**
7301
7617
  * Styles for the textarea field
@@ -7434,7 +7750,7 @@
7434
7750
  };
7435
7751
  };
7436
7752
 
7437
- 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"];
7753
+ 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"];
7438
7754
  /**
7439
7755
  * Input component for text fields
7440
7756
  */
@@ -7480,7 +7796,7 @@
7480
7796
  onBlur = () => {},
7481
7797
  themeMode: elementMode
7482
7798
  } = _ref,
7483
- props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
7799
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
7484
7800
  var {
7485
7801
  getColor,
7486
7802
  themeMode
@@ -7736,7 +8052,7 @@
7736
8052
  }
7737
8053
  };
7738
8054
 
7739
- 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"];
8055
+ 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"];
7740
8056
  var CheckboxView = _ref => {
7741
8057
  var {
7742
8058
  id,
@@ -7763,7 +8079,7 @@
7763
8079
  },
7764
8080
  infoText
7765
8081
  } = _ref,
7766
- props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
8082
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
7767
8083
  var handleHover = () => setIsHovered(!isHovered);
7768
8084
  var handleChange = () => {
7769
8085
  if (!isReadOnly && !isDisabled) {
@@ -9349,11 +9665,11 @@
9349
9665
  xl: 16
9350
9666
  };
9351
9667
 
9352
- var _excluded$t = ["size"],
9668
+ var _excluded$u = ["size"],
9353
9669
  _excluded2$9 = ["size"],
9354
9670
  _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"];
9355
9671
  var CountryList = _ref => {
9356
- var props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
9672
+ var props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
9357
9673
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
9358
9674
  as: "ul"
9359
9675
  }, props));
@@ -9594,7 +9910,7 @@
9594
9910
  };
9595
9911
  };
9596
9912
 
9597
- 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"];
9913
+ 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"];
9598
9914
  var DatePickerContent = props => /*#__PURE__*/React__default.createElement(appStudio.Input, Object.assign({
9599
9915
  type: "date"
9600
9916
  }, props));
@@ -9627,7 +9943,7 @@
9627
9943
  onChange,
9628
9944
  onChangeText
9629
9945
  } = _ref,
9630
- props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
9946
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$v);
9631
9947
  var showLabel = !!(isFocused && label);
9632
9948
  var handleHover = () => setIsHovered(!isHovered);
9633
9949
  var handleFocus = () => setIsFocused(true);
@@ -9714,7 +10030,7 @@
9714
10030
  }, props, textFieldStates);
9715
10031
  };
9716
10032
 
9717
- var _excluded$v = ["visibleIcon", "hiddenIcon"],
10033
+ var _excluded$w = ["visibleIcon", "hiddenIcon"],
9718
10034
  _excluded2$a = ["isVisible", "setIsVisible"];
9719
10035
  var PasswordComponent = _ref => {
9720
10036
  var {
@@ -9725,7 +10041,7 @@
9725
10041
  widthHeight: 14
9726
10042
  })
9727
10043
  } = _ref,
9728
- props = _objectWithoutPropertiesLoose(_ref, _excluded$v);
10044
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
9729
10045
  var _usePasswordState = usePasswordState(props),
9730
10046
  {
9731
10047
  isVisible,
@@ -9779,7 +10095,7 @@
9779
10095
  };
9780
10096
  };
9781
10097
 
9782
- var _excluded$w = ["placeholder", "items", "showTick", "onSelect", "searchEnabled", "left", "right", "label", "filteredItems", "setSelectedItem", "selectedItem", "highlightedIndex", "setHighlightedIndex", "searchQuery", "setSearchQuery", "setFilteredItems", "views", "isDropdownVisible", "setIsDropdownVisible"];
10098
+ var _excluded$x = ["placeholder", "items", "showTick", "onSelect", "searchEnabled", "left", "right", "label", "filteredItems", "setSelectedItem", "selectedItem", "highlightedIndex", "setHighlightedIndex", "searchQuery", "setSearchQuery", "setFilteredItems", "views", "isDropdownVisible", "setIsDropdownVisible"];
9783
10099
  // Defines the functional component 'ComboBoxView' with destructured props.
9784
10100
  var ComboBoxView = _ref => {
9785
10101
  var {
@@ -9804,7 +10120,7 @@
9804
10120
  setIsDropdownVisible
9805
10121
  // Collects all further props not destructured explicitly.
9806
10122
  } = _ref,
9807
- props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
10123
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
9808
10124
  // Sets up an effect to handle clicking outside the dropdown to close it.
9809
10125
  React.useEffect(() => {
9810
10126
  var handleClickOutside = event => {
@@ -9916,7 +10232,7 @@
9916
10232
  }))))))))))));
9917
10233
  };
9918
10234
 
9919
- var _excluded$x = ["id", "name", "items", "placeholder", "searchPlaceholder"];
10235
+ var _excluded$y = ["id", "name", "items", "placeholder", "searchPlaceholder"];
9920
10236
  // Defines the ComboBoxComponent functional component with ComboBoxProps
9921
10237
  var ComboBoxComponent = _ref => {
9922
10238
  var {
@@ -9932,7 +10248,7 @@
9932
10248
  searchPlaceholder
9933
10249
  // Destructures the rest of the props not explicitly defined
9934
10250
  } = _ref,
9935
- props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
10251
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
9936
10252
  // Initializes ComboBox state using custom hook with items and placeholders
9937
10253
  var state = useComboBoxState(items, placeholder, searchPlaceholder);
9938
10254
  return (
@@ -10254,7 +10570,7 @@
10254
10570
  };
10255
10571
  };
10256
10572
 
10257
- 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"];
10573
+ 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"];
10258
10574
  // Create a context for OTP input slots
10259
10575
  var OTPInputContext = /*#__PURE__*/React.createContext({
10260
10576
  slots: [],
@@ -10308,7 +10624,7 @@
10308
10624
  onFocus = () => {}
10309
10625
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
10310
10626
  } = _ref,
10311
- props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
10627
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
10312
10628
  appStudio.useTheme(); // Initialize theme context
10313
10629
  var showLabel = !!label;
10314
10630
  // Create context value for slots
@@ -10540,7 +10856,7 @@
10540
10856
  };
10541
10857
  var OTPInput = OTPInputComponent;
10542
10858
 
10543
- var _excluded$z = ["children", "autoFocus", "initFocus", "onChange"];
10859
+ var _excluded$A = ["children", "autoFocus", "initFocus", "onChange"];
10544
10860
  var FocusContext = /*#__PURE__*/React.createContext({
10545
10861
  active: false,
10546
10862
  focusNextInput: () => {},
@@ -10556,7 +10872,7 @@
10556
10872
  initFocus,
10557
10873
  onChange = () => {}
10558
10874
  } = _ref,
10559
- props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
10875
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
10560
10876
  var formik$1 = formik.useFormikContext();
10561
10877
  React.useEffect(() => {
10562
10878
  onChange(formik$1.values);
@@ -10604,7 +10920,7 @@
10604
10920
  }, /*#__PURE__*/React__default.createElement(appStudio.Form, Object.assign({}, props), children));
10605
10921
  };
10606
10922
 
10607
- var _excluded$A = ["name", "type"];
10923
+ var _excluded$B = ["name", "type"];
10608
10924
  var getInputTypeProps = type => {
10609
10925
  switch (type) {
10610
10926
  case 'email':
@@ -10643,7 +10959,7 @@
10643
10959
  name,
10644
10960
  type
10645
10961
  } = _ref,
10646
- props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
10962
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$B);
10647
10963
  var focus = useFormFocus();
10648
10964
  var {
10649
10965
  touched,
@@ -10687,13 +11003,13 @@
10687
11003
  } : {});
10688
11004
  };
10689
11005
 
10690
- var _excluded$B = ["value"];
11006
+ var _excluded$C = ["value"];
10691
11007
  var CheckboxComponent$1 = props => {
10692
11008
  var _useFormikInput = useFormikInput(props),
10693
11009
  {
10694
11010
  value
10695
11011
  } = _useFormikInput,
10696
- formProps = _objectWithoutPropertiesLoose(_useFormikInput, _excluded$B);
11012
+ formProps = _objectWithoutPropertiesLoose(_useFormikInput, _excluded$C);
10697
11013
  formProps.isChecked = value;
10698
11014
  var checkboxStates = useCheckboxState(props);
10699
11015
  return /*#__PURE__*/React__default.createElement(CheckboxView, Object.assign({}, checkboxStates, formProps));
@@ -10751,11 +11067,11 @@
10751
11067
  */
10752
11068
  var FormikTextArea = TextAreaComponent$1;
10753
11069
 
10754
- var _excluded$C = ["value"];
11070
+ var _excluded$D = ["value"];
10755
11071
  var TextFieldComponent$1 = props => {
10756
11072
  var formProps = useFormikInput(props);
10757
11073
  var _useTextFieldState = useTextFieldState(props),
10758
- textFieldStates = _objectWithoutPropertiesLoose(_useTextFieldState, _excluded$C);
11074
+ textFieldStates = _objectWithoutPropertiesLoose(_useTextFieldState, _excluded$D);
10759
11075
  return /*#__PURE__*/React__default.createElement(TextFieldView, Object.assign({}, textFieldStates, formProps));
10760
11076
  };
10761
11077
  /**
@@ -10763,7 +11079,7 @@
10763
11079
  */
10764
11080
  var FormikTextField = TextFieldComponent$1;
10765
11081
 
10766
- var _excluded$D = ["visibleIcon", "hiddenIcon"],
11082
+ var _excluded$E = ["visibleIcon", "hiddenIcon"],
10767
11083
  _excluded2$b = ["isVisible", "setIsVisible"];
10768
11084
  var PasswordComponent$1 = _ref => {
10769
11085
  var {
@@ -10774,7 +11090,7 @@
10774
11090
  widthHeight: 14
10775
11091
  })
10776
11092
  } = _ref,
10777
- props = _objectWithoutPropertiesLoose(_ref, _excluded$D);
11093
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$E);
10778
11094
  var formProps = useFormikInput(props);
10779
11095
  var _usePasswordState = usePasswordState(formProps),
10780
11096
  {
@@ -10799,14 +11115,14 @@
10799
11115
  */
10800
11116
  var FormikPassword = PasswordComponent$1;
10801
11117
 
10802
- var _excluded$E = ["items", "placeholder", "searchPlaceholder"];
11118
+ var _excluded$F = ["items", "placeholder", "searchPlaceholder"];
10803
11119
  var ComboBoxComponent$1 = _ref => {
10804
11120
  var {
10805
11121
  items,
10806
11122
  placeholder,
10807
11123
  searchPlaceholder
10808
11124
  } = _ref,
10809
- props = _objectWithoutPropertiesLoose(_ref, _excluded$E);
11125
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$F);
10810
11126
  var formProps = useFormikInput(props);
10811
11127
  var ComboBoxStates = useComboBoxState(items, placeholder, searchPlaceholder);
10812
11128
  // Ensure the onChange function from formProps is being called when an item is selected
@@ -11087,7 +11403,7 @@
11087
11403
  }
11088
11404
  };
11089
11405
 
11090
- 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"];
11406
+ 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"];
11091
11407
  var SliderView = _ref => {
11092
11408
  var _views$tooltip, _views$tooltip2;
11093
11409
  var {
@@ -11130,7 +11446,7 @@
11130
11446
  tooltip: {}
11131
11447
  }
11132
11448
  } = _ref,
11133
- props = _objectWithoutPropertiesLoose(_ref, _excluded$F);
11449
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$G);
11134
11450
  var {
11135
11451
  getColor,
11136
11452
  themeMode
@@ -12008,7 +12324,7 @@
12008
12324
  }, views == null ? void 0 : views.view)));
12009
12325
  };
12010
12326
 
12011
- var _excluded$G = ["accept", "icon", "text", "maxSize", "onFileSelect", "validateFile", "isLoading", "progress", "fileType"];
12327
+ var _excluded$H = ["accept", "icon", "text", "maxSize", "onFileSelect", "validateFile", "isLoading", "progress", "fileType"];
12012
12328
  var Uploader = _ref => {
12013
12329
  var {
12014
12330
  accept = '*/*',
@@ -12021,7 +12337,7 @@
12021
12337
  progress = 0,
12022
12338
  fileType
12023
12339
  } = _ref,
12024
- props = _objectWithoutPropertiesLoose(_ref, _excluded$G);
12340
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$H);
12025
12341
  var {
12026
12342
  previewUrl,
12027
12343
  thumbnailUrl,
@@ -12212,7 +12528,7 @@
12212
12528
  }
12213
12529
  };
12214
12530
 
12215
- var _excluded$H = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
12531
+ var _excluded$I = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
12216
12532
  _excluded2$c = ["children", "shadow", "isFullScreen", "shape", "views", "isOpen"],
12217
12533
  _excluded3$8 = ["children", "buttonColor", "iconSize", "buttonPosition", "views"],
12218
12534
  _excluded4$7 = ["children", "views"],
@@ -12227,7 +12543,7 @@
12227
12543
  position = 'center',
12228
12544
  views
12229
12545
  } = _ref,
12230
- props = _objectWithoutPropertiesLoose(_ref, _excluded$H);
12546
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$I);
12231
12547
  var handleClick = () => {
12232
12548
  if (!isClosePrevented) onClose();
12233
12549
  };
@@ -12523,7 +12839,7 @@
12523
12839
  }
12524
12840
  };
12525
12841
 
12526
- var _excluded$I = ["href", "children", "views"];
12842
+ var _excluded$J = ["href", "children", "views"];
12527
12843
  // Create context for the NavigationMenu
12528
12844
  var NavigationMenuContext = /*#__PURE__*/React.createContext({
12529
12845
  activeItemId: null,
@@ -12758,7 +13074,7 @@
12758
13074
  children,
12759
13075
  views
12760
13076
  } = _ref6,
12761
- props = _objectWithoutPropertiesLoose(_ref6, _excluded$I);
13077
+ props = _objectWithoutPropertiesLoose(_ref6, _excluded$J);
12762
13078
  var {
12763
13079
  itemValue,
12764
13080
  isDisabled
@@ -12825,7 +13141,7 @@
12825
13141
  })))));
12826
13142
  };
12827
13143
 
12828
- var _excluded$J = ["items", "children", "orientation", "size", "variant", "defaultActiveItemId", "defaultExpandedItemIds", "onItemActivate", "views"];
13144
+ var _excluded$K = ["items", "children", "orientation", "size", "variant", "defaultActiveItemId", "defaultExpandedItemIds", "onItemActivate", "views"];
12829
13145
  /**
12830
13146
  * NavigationMenu component for creating navigation menus with optional nested items.
12831
13147
  * Supports both data-driven approach (with items prop) and compound component pattern.
@@ -12842,7 +13158,7 @@
12842
13158
  onItemActivate,
12843
13159
  views
12844
13160
  } = _ref,
12845
- props = _objectWithoutPropertiesLoose(_ref, _excluded$J);
13161
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$K);
12846
13162
  var {
12847
13163
  activeItemId,
12848
13164
  setActiveItemId,
@@ -13297,6 +13613,393 @@
13297
13613
  // Export the component wrapped in React.memo for performance optimization
13298
13614
  var Tabs = /*#__PURE__*/React__default.memo(TabsComponent);
13299
13615
 
13616
+ /**
13617
+ * Custom hook for managing Title component state
13618
+ */
13619
+ var useTitleState = props => {
13620
+ var {
13621
+ children,
13622
+ // Original children
13623
+ _isInView = false,
13624
+ alternateHighlightText = [],
13625
+ alternateAnimation = false,
13626
+ // Default to false as per prop definition
13627
+ alternateDuration = 3000,
13628
+ highlightText: initialHighlightText,
13629
+ // Renamed to avoid confusion with the dynamic target
13630
+ highlightTypewriter = false,
13631
+ highlightTypewriterDuration = 1500
13632
+ } = props;
13633
+ // State for the final text to be displayed (could be original children or alternating text)
13634
+ var [finalDisplayedText, setFinalDisplayedText] = React.useState(children);
13635
+ // State for the text that should be actively highlighted (could be initialHighlightText or a word from alternateHighlightText)
13636
+ var [activeHighlightTarget, setActiveHighlightTarget] = React.useState(initialHighlightText);
13637
+ // We don't need state for typewriter text anymore as we're using the TypewriterEffect component
13638
+ // Handle alternating highlight text animation
13639
+ React.useEffect(() => {
13640
+ // If not using alternating animation or conditions not met, reset to initial/non-alternating state
13641
+ if (!alternateAnimation || alternateHighlightText.length === 0 || !_isInView || typeof children !== 'string' ||
13642
+ // Base text must be a string for replacement
13643
+ typeof initialHighlightText !== 'string' // Placeholder must be a string
13644
+ ) {
13645
+ setFinalDisplayedText(children);
13646
+ setActiveHighlightTarget(initialHighlightText);
13647
+ return () => {};
13648
+ }
13649
+ // Proceed with alternating animation
13650
+ var baseText = children;
13651
+ var placeholder = initialHighlightText;
13652
+ var currentIndex = 0;
13653
+ // Function to update the state for alternating text
13654
+ var updateAlternatingState = index => {
13655
+ var currentWordToHighlight = alternateHighlightText[index];
13656
+ // Replace the placeholder in the baseText with the current alternating word
13657
+ var regex = new RegExp(placeholder, 'gi');
13658
+ var newContent = baseText.replace(regex, currentWordToHighlight);
13659
+ setFinalDisplayedText(newContent);
13660
+ setActiveHighlightTarget(currentWordToHighlight); // Set the current word as the highlight target
13661
+ };
13662
+ // Set initial alternating state
13663
+ updateAlternatingState(currentIndex);
13664
+ // Create interval to cycle through the alternateHighlightText array
13665
+ var interval = setInterval(() => {
13666
+ currentIndex = (currentIndex + 1) % alternateHighlightText.length;
13667
+ updateAlternatingState(currentIndex);
13668
+ }, alternateDuration);
13669
+ return () => clearInterval(interval);
13670
+ }, [alternateAnimation, alternateHighlightText, alternateDuration, initialHighlightText, children, _isInView]);
13671
+ // We don't need a separate effect for typewriter animation anymore
13672
+ // as we're using the TypewriterEffect component directly in the view
13673
+ return {
13674
+ finalDisplayedText,
13675
+ activeHighlightTarget,
13676
+ highlightTypewriter
13677
+ };
13678
+ };
13679
+
13680
+ /**
13681
+ * Font sizes for different title sizes
13682
+ */
13683
+ var TitleSizes = {
13684
+ xs: 16,
13685
+ sm: 20,
13686
+ md: 24,
13687
+ lg: 32,
13688
+ xl: 40,
13689
+ '2xl': 48,
13690
+ '3xl': 56,
13691
+ '4xl': 64,
13692
+ '5xl': 72,
13693
+ '6xl': 80
13694
+ };
13695
+ /**
13696
+ * Line heights for different title sizes
13697
+ */
13698
+ var LineHeights$1 = {
13699
+ xs: 24,
13700
+ sm: 28,
13701
+ md: 32,
13702
+ lg: 40,
13703
+ xl: 48,
13704
+ '2xl': 56,
13705
+ '3xl': 64,
13706
+ '4xl': 72,
13707
+ '5xl': 80,
13708
+ '6xl': 88
13709
+ };
13710
+ /**
13711
+ * Default styles for different highlight types
13712
+ */
13713
+ var HighlightStyles = {
13714
+ underline: color => ({
13715
+ textDecoration: 'underline',
13716
+ textDecorationColor: color,
13717
+ textDecorationThickness: '4px',
13718
+ textUnderlineOffset: '4px'
13719
+ }),
13720
+ background: color => ({
13721
+ backgroundColor: color,
13722
+ color: 'color.white',
13723
+ padding: '0 8px',
13724
+ borderRadius: '4px'
13725
+ }),
13726
+ gradient: (color, secondaryColor) => ({
13727
+ background: "linear-gradient(135deg, " + color + ", " + (secondaryColor || color) + ")",
13728
+ backgroundClip: 'text',
13729
+ webkitBackgroundClip: 'text',
13730
+ color: 'transparent',
13731
+ webkitTextFillColor: 'transparent',
13732
+ display: 'inline-block',
13733
+ textShadow: 'none'
13734
+ }),
13735
+ outline: color => ({
13736
+ webkitTextStroke: "1px " + color,
13737
+ webkitTextFillColor: 'transparent',
13738
+ color: 'transparent',
13739
+ textShadow: 'none'
13740
+ }),
13741
+ glow: color => ({
13742
+ color: color,
13743
+ textShadow: "0 0 10px " + color + "80, 0 0 20px " + color + "40, 0 0 30px " + color + "20"
13744
+ })
13745
+ };
13746
+
13747
+ var _excluded$L = ["text", "typingSpeed", "pauseTime", "onComplete", "showCursor", "cursorColor", "textStyle", "as"];
13748
+ /**
13749
+ * A component that creates a typewriter effect for text
13750
+ */
13751
+ var TypewriterEffect = _ref => {
13752
+ var {
13753
+ text,
13754
+ typingSpeed = 50,
13755
+ pauseTime = 500,
13756
+ onComplete,
13757
+ showCursor = true,
13758
+ cursorColor = 'currentColor',
13759
+ textStyle
13760
+ } = _ref,
13761
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$L);
13762
+ // Convert text to array if it's a string
13763
+ var textArray = Array.isArray(text) ? text : [text];
13764
+ // State for the currently displayed text
13765
+ var [displayedText, setDisplayedText] = React.useState(textArray.map(() => ''));
13766
+ // State to track if typing is complete
13767
+ var [isComplete, setIsComplete] = React.useState(false);
13768
+ // State to track which text item we're currently typing
13769
+ var [currentTextIndex, setCurrentTextIndex] = React.useState(0);
13770
+ // State to track the character position within the current text
13771
+ var [charIndex, setCharIndex] = React.useState(0);
13772
+ React.useEffect(() => {
13773
+ // Reset state when text changes
13774
+ setDisplayedText(textArray.map(() => ''));
13775
+ setIsComplete(false);
13776
+ setCurrentTextIndex(0);
13777
+ setCharIndex(0);
13778
+ }, [text]);
13779
+ React.useEffect(() => {
13780
+ // If all text is typed, call onComplete and return
13781
+ if (isComplete) {
13782
+ if (onComplete) onComplete();
13783
+ return;
13784
+ }
13785
+ // Get the current text we're typing
13786
+ var currentText = textArray[currentTextIndex];
13787
+ // If we've typed all characters in the current text
13788
+ if (charIndex >= currentText.length) {
13789
+ // If we've typed all texts, we're done
13790
+ if (currentTextIndex >= textArray.length - 1) {
13791
+ setIsComplete(true);
13792
+ return;
13793
+ }
13794
+ // Otherwise, move to the next text after a pause
13795
+ var _timeout = setTimeout(() => {
13796
+ setCurrentTextIndex(prev => prev + 1);
13797
+ setCharIndex(0);
13798
+ }, pauseTime);
13799
+ return () => clearTimeout(_timeout);
13800
+ }
13801
+ // Type the next character
13802
+ var timeout = setTimeout(() => {
13803
+ setDisplayedText(prev => {
13804
+ var newText = [...prev];
13805
+ newText[currentTextIndex] = currentText.substring(0, charIndex + 1);
13806
+ return newText;
13807
+ });
13808
+ setCharIndex(prev => prev + 1);
13809
+ }, typingSpeed);
13810
+ return () => clearTimeout(timeout);
13811
+ }, [textArray, currentTextIndex, charIndex, isComplete, onComplete, pauseTime, typingSpeed]);
13812
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, displayedText.map((text, index) => (/*#__PURE__*/React__default.createElement(React__default.Fragment, {
13813
+ key: index
13814
+ }, text, showCursor && index === currentTextIndex && !isComplete && (/*#__PURE__*/React__default.createElement(appStudio.Text, {
13815
+ as: "span",
13816
+ display: "inline-block",
13817
+ width: "0.1em",
13818
+ height: "1em",
13819
+ backgroundColor: cursorColor,
13820
+ style: Object.assign({
13821
+ animation: 'blink 1s step-end infinite',
13822
+ verticalAlign: 'text-bottom',
13823
+ marginLeft: '1px'
13824
+ }, textStyle)
13825
+ }))))));
13826
+ };
13827
+
13828
+ var _excluded$M = ["children", "highlightText", "highlightStyle", "highlightColor", "highlightSecondaryColor", "size", "centered", "views", "highlightAnimate", "animate", "highlightTypewriter", "highlightTypewriterDuration"];
13829
+ function escapeRegExp(string) {
13830
+ return string.replace(/[.*+?^${}()|[\\]\\/g, '\\$&');
13831
+ }
13832
+ var TitleView = _ref => {
13833
+ var {
13834
+ children,
13835
+ highlightText,
13836
+ highlightStyle = 'background',
13837
+ highlightColor = 'theme.primary',
13838
+ highlightSecondaryColor,
13839
+ size = 'xl',
13840
+ centered = false,
13841
+ views,
13842
+ highlightAnimate,
13843
+ animate,
13844
+ highlightTypewriter: propHighlightTypewriter = false,
13845
+ highlightTypewriterDuration = 3000
13846
+ } = _ref,
13847
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$M);
13848
+ var {
13849
+ ref,
13850
+ inView
13851
+ } = appStudio.useInView();
13852
+ var {
13853
+ getColor,
13854
+ themeMode: ctxMode
13855
+ } = appStudio.useTheme();
13856
+ var themeMode = props.themeMode || ctxMode;
13857
+ // Resolve colors, handling both theme colors and direct hex values
13858
+ var resolveColorValue = colorValue => {
13859
+ // If it's already a hex color, return it directly
13860
+ if (colorValue.startsWith('#')) {
13861
+ return colorValue;
13862
+ }
13863
+ // Otherwise, use the theme's getColor function
13864
+ return getColor(colorValue, {
13865
+ themeMode
13866
+ });
13867
+ };
13868
+ var resolvedColor = resolveColorValue(highlightColor);
13869
+ var resolvedSecondary = highlightSecondaryColor ? resolveColorValue(highlightSecondaryColor) : undefined;
13870
+ var {
13871
+ finalDisplayedText,
13872
+ activeHighlightTarget,
13873
+ highlightTypewriter
13874
+ } = useTitleState(Object.assign({
13875
+ children,
13876
+ highlightText,
13877
+ _isInView: inView,
13878
+ highlightTypewriter: propHighlightTypewriter,
13879
+ highlightTypewriterDuration
13880
+ }, props));
13881
+ var fontSize = TitleSizes[size];
13882
+ var lineHeight = LineHeights$1[size];
13883
+ // Get the text to display
13884
+ var text = typeof finalDisplayedText === 'string' ? finalDisplayedText : typeof children === 'string' ? children : '';
13885
+ if (typeof text === 'string' && activeHighlightTarget) {
13886
+ var pattern = new RegExp("(" + escapeRegExp(Array.isArray(activeHighlightTarget) ? activeHighlightTarget.join('|') : activeHighlightTarget) + ")", 'gi');
13887
+ var parts = [];
13888
+ var lastIndex = 0;
13889
+ var match;
13890
+ while (match = pattern.exec(text)) {
13891
+ if (match.index > lastIndex) {
13892
+ parts.push(text.substring(lastIndex, match.index));
13893
+ }
13894
+ parts.push({
13895
+ highlight: true,
13896
+ text: match[0]
13897
+ });
13898
+ lastIndex = match.index + match[0].length;
13899
+ }
13900
+ if (lastIndex < text.length) {
13901
+ parts.push(text.substring(lastIndex));
13902
+ }
13903
+ return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
13904
+ ref: ref,
13905
+ as: "h1",
13906
+ fontSize: fontSize,
13907
+ lineHeight: lineHeight + "px",
13908
+ fontWeight: "bold",
13909
+ textAlign: centered ? 'center' : 'left',
13910
+ animate: inView ? animate : undefined
13911
+ }, views == null ? void 0 : views.container, props), parts.map((part, idx) => typeof part === 'string' ? part : (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
13912
+ key: part.text + "-" + idx,
13913
+ as: "span",
13914
+ display: "inline",
13915
+ animate: inView ? highlightAnimate : undefined
13916
+ }, HighlightStyles[highlightStyle](resolvedColor, resolvedSecondary), views == null ? void 0 : views.highlight), highlightTypewriter ? (/*#__PURE__*/React__default.createElement(TypewriterEffect, {
13917
+ text: part.text,
13918
+ typingSpeed: Math.max(30, highlightTypewriterDuration / (part.text.length * 10)),
13919
+ showCursor: true,
13920
+ cursorColor: "currentColor"
13921
+ })) : part.text))));
13922
+ }
13923
+ // If highlightStyle is provided but no highlightText, apply the style to the entire title
13924
+ if (highlightStyle && !activeHighlightTarget) {
13925
+ return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
13926
+ ref: ref,
13927
+ as: "h1",
13928
+ fontSize: fontSize,
13929
+ lineHeight: lineHeight + "px",
13930
+ fontWeight: "bold",
13931
+ textAlign: centered ? 'center' : 'left',
13932
+ animate: inView ? animate : undefined
13933
+ }, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
13934
+ as: "span",
13935
+ display: "inline",
13936
+ animate: inView ? highlightAnimate : undefined
13937
+ }, HighlightStyles[highlightStyle](resolvedColor, resolvedSecondary), views == null ? void 0 : views.highlight), highlightTypewriter ? (/*#__PURE__*/React__default.createElement(TypewriterEffect, {
13938
+ text: text,
13939
+ typingSpeed: Math.max(30, highlightTypewriterDuration / (text.length * 10)),
13940
+ showCursor: true,
13941
+ cursorColor: "currentColor"
13942
+ })) : text));
13943
+ }
13944
+ // Default case - no highlighting
13945
+ return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
13946
+ ref: ref,
13947
+ as: "h1",
13948
+ fontSize: fontSize,
13949
+ lineHeight: lineHeight + "px",
13950
+ fontWeight: "bold",
13951
+ textAlign: centered ? 'center' : 'left',
13952
+ animate: inView ? animate : undefined
13953
+ }, views == null ? void 0 : views.container, props), text);
13954
+ };
13955
+
13956
+ /**
13957
+ * Title Component
13958
+ *
13959
+ * A component for rendering animated and highlighted titles in hero sections.
13960
+ *
13961
+ * Features:
13962
+ * - Text highlighting with various styles (background, underline, gradient, outline, glow)
13963
+ * - Multiple animation options (fade, slide, typewriter, reveal)
13964
+ * - Responsive sizing
13965
+ * - Customizable styling
13966
+ *
13967
+ * @example
13968
+ * // Basic usage
13969
+ * <Title>Welcome to Our Platform</Title>
13970
+ *
13971
+ * @example
13972
+ * // With highlighting
13973
+ * <Title highlightText="Platform" highlightStyle="background" highlightColor="theme.primary">
13974
+ * Welcome to Our Platform
13975
+ * </Title>
13976
+ *
13977
+ * @example
13978
+ * // With animation
13979
+ * <Title
13980
+ * animation="fadeIn"
13981
+ * animationDuration="1.5s"
13982
+ * size="2xl"
13983
+ * >
13984
+ * Animated Title
13985
+ * </Title>
13986
+ *
13987
+ * @example
13988
+ * // With multiple highlights
13989
+ * <Title
13990
+ * highlightText={["Amazing", "Features"]}
13991
+ * highlightStyle="gradient"
13992
+ * highlightColor="theme.primary"
13993
+ * highlightSecondaryColor="theme.secondary"
13994
+ * >
13995
+ * Discover our Amazing Product with Great Features
13996
+ * </Title>
13997
+ */
13998
+ var TitleComponent = props => {
13999
+ return /*#__PURE__*/React__default.createElement(TitleView, Object.assign({}, props));
14000
+ };
14001
+ var Title = TitleComponent;
14002
+
13300
14003
  // Declares the useToggleState function which takes defaultToggled parameter to initialize the toggle state.
13301
14004
  var useToggleState = defaultToggled => {
13302
14005
  // Creates a stateful value isHovered for tracking hover state and a function setIsHovered to update that state, initially false.
@@ -13312,7 +14015,7 @@
13312
14015
  };
13313
14016
  };
13314
14017
 
13315
- var _excluded$K = ["children", "shape", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle", "views"];
14018
+ var _excluded$N = ["children", "shape", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle", "views"];
13316
14019
  var ToggleView = _ref => {
13317
14020
  var {
13318
14021
  children,
@@ -13326,7 +14029,7 @@
13326
14029
  onToggle,
13327
14030
  views
13328
14031
  } = _ref,
13329
- props = _objectWithoutPropertiesLoose(_ref, _excluded$K);
14032
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$N);
13330
14033
  var toggleColor = !isDisabled ? 'color.trueGray.400' : 'theme.disabled';
13331
14034
  var isActive = !!(isToggle || isHovered);
13332
14035
  var toggleVariants = {
@@ -13369,7 +14072,7 @@
13369
14072
  }, toggleVariants[variant], props, views == null ? void 0 : views.container), children);
13370
14073
  };
13371
14074
 
13372
- var _excluded$L = ["children", "shape", "variant", "isDisabled", "isToggled", "onToggle"];
14075
+ var _excluded$O = ["children", "shape", "variant", "isDisabled", "isToggled", "onToggle"];
13373
14076
  // Destructuring properties from ToggleProps to be used within the ToggleComponent.
13374
14077
  var ToggleComponent = _ref => {
13375
14078
  var {
@@ -13381,7 +14084,7 @@
13381
14084
  isToggled = false,
13382
14085
  onToggle
13383
14086
  } = _ref,
13384
- props = _objectWithoutPropertiesLoose(_ref, _excluded$L);
14087
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$O);
13385
14088
  // Initializing toggle state and set state functions using the custom hook useToggleState.
13386
14089
  var {
13387
14090
  isHovered,
@@ -13772,7 +14475,7 @@
13772
14475
  return positions[side];
13773
14476
  };
13774
14477
 
13775
- var _excluded$M = ["children", "views"],
14478
+ var _excluded$P = ["children", "views"],
13776
14479
  _excluded2$d = ["items", "side", "align", "views"],
13777
14480
  _excluded3$9 = ["item", "views"],
13778
14481
  _excluded4$8 = ["views"],
@@ -13810,7 +14513,7 @@
13810
14513
  children,
13811
14514
  views
13812
14515
  } = _ref2,
13813
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$M);
14516
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$P);
13814
14517
  var {
13815
14518
  isOpen,
13816
14519
  setIsOpen
@@ -13970,7 +14673,7 @@
13970
14673
  }));
13971
14674
  };
13972
14675
 
13973
- var _excluded$N = ["trigger", "items", "size", "variant", "side", "align", "defaultOpen", "views"];
14676
+ var _excluded$Q = ["trigger", "items", "size", "variant", "side", "align", "defaultOpen", "views"];
13974
14677
  /**
13975
14678
  * DropdownMenu component for displaying a menu when clicking on a trigger element.
13976
14679
  */
@@ -13985,7 +14688,7 @@
13985
14688
  defaultOpen = false,
13986
14689
  views
13987
14690
  } = _ref,
13988
- props = _objectWithoutPropertiesLoose(_ref, _excluded$N);
14691
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$Q);
13989
14692
  var {
13990
14693
  isOpen,
13991
14694
  setIsOpen,
@@ -14183,7 +14886,7 @@
14183
14886
  return rect;
14184
14887
  };
14185
14888
 
14186
- var _excluded$O = ["children", "views", "asChild"],
14889
+ var _excluded$R = ["children", "views", "asChild"],
14187
14890
  _excluded2$e = ["children", "views", "side", "align", "sideOffset", "style", "backgroundColor", "borderRadius", "boxShadow", "padding", "minWidth", "maxWidth"];
14188
14891
  // Create context for the HoverCard
14189
14892
  var HoverCardContext = /*#__PURE__*/React.createContext({
@@ -14222,7 +14925,7 @@
14222
14925
  views,
14223
14926
  asChild = false
14224
14927
  } = _ref2,
14225
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$O);
14928
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$R);
14226
14929
  var {
14227
14930
  openCard,
14228
14931
  closeCard,
@@ -14309,7 +15012,7 @@
14309
15012
  }, views == null ? void 0 : views.container, props), children);
14310
15013
  };
14311
15014
 
14312
- var _excluded$P = ["children", "views", "openDelay", "closeDelay"];
15015
+ var _excluded$S = ["children", "views", "openDelay", "closeDelay"];
14313
15016
  /**
14314
15017
  * HoverCard component displays floating content when hovering over a trigger element.
14315
15018
  * Supports configurable open and close delays for a smoother user experience.
@@ -14321,7 +15024,7 @@
14321
15024
  openDelay,
14322
15025
  closeDelay
14323
15026
  } = _ref,
14324
- props = _objectWithoutPropertiesLoose(_ref, _excluded$P);
15027
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$S);
14325
15028
  var hoverCardState = useHoverCardState({
14326
15029
  openDelay,
14327
15030
  closeDelay
@@ -14451,7 +15154,7 @@
14451
15154
  };
14452
15155
  };
14453
15156
 
14454
- var _excluded$Q = ["children", "orientation", "size", "variant", "views"];
15157
+ var _excluded$T = ["children", "orientation", "size", "variant", "views"];
14455
15158
  // Create context for the Menubar
14456
15159
  var MenubarContext = /*#__PURE__*/React.createContext({
14457
15160
  activeMenuId: null,
@@ -14485,7 +15188,7 @@
14485
15188
  variant = 'default',
14486
15189
  views
14487
15190
  } = _ref2,
14488
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$Q);
15191
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$T);
14489
15192
  var Container = orientation === 'horizontal' ? appStudio.Horizontal : appStudio.Vertical;
14490
15193
  return /*#__PURE__*/React__default.createElement(Container, Object.assign({
14491
15194
  role: "menubar",
@@ -14671,7 +15374,7 @@
14671
15374
  })))))));
14672
15375
  };
14673
15376
 
14674
- var _excluded$R = ["items", "orientation", "size", "variant", "defaultActiveMenuId", "defaultOpenMenuId", "views"];
15377
+ var _excluded$U = ["items", "orientation", "size", "variant", "defaultActiveMenuId", "defaultOpenMenuId", "views"];
14675
15378
  /**
14676
15379
  * Menubar component for creating horizontal or vertical menu bars with dropdown menus.
14677
15380
  */
@@ -14685,7 +15388,7 @@
14685
15388
  defaultOpenMenuId = null,
14686
15389
  views
14687
15390
  } = _ref,
14688
- props = _objectWithoutPropertiesLoose(_ref, _excluded$R);
15391
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$U);
14689
15392
  var {
14690
15393
  activeMenuId,
14691
15394
  setActiveMenuId,
@@ -14841,7 +15544,7 @@
14841
15544
  }
14842
15545
  };
14843
15546
 
14844
- var _excluded$S = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "visiblePageNumbers", "views"];
15547
+ var _excluded$V = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "visiblePageNumbers", "views"];
14845
15548
  var PaginationView = _ref => {
14846
15549
  var {
14847
15550
  currentPage,
@@ -14872,7 +15575,7 @@
14872
15575
  visiblePageNumbers,
14873
15576
  views
14874
15577
  } = _ref,
14875
- props = _objectWithoutPropertiesLoose(_ref, _excluded$S);
15578
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$V);
14876
15579
  var handlePageChange = page => {
14877
15580
  if (page < 1 || page > totalPages || page === currentPage) {
14878
15581
  return;
@@ -14991,7 +15694,7 @@
14991
15694
  }, option.label))))));
14992
15695
  };
14993
15696
 
14994
- var _excluded$T = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "views"];
15697
+ var _excluded$W = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "views"];
14995
15698
  /**
14996
15699
  * Pagination component for navigating through pages of content.
14997
15700
  */
@@ -15012,7 +15715,7 @@
15012
15715
  shape = 'rounded',
15013
15716
  views
15014
15717
  } = _ref,
15015
- props = _objectWithoutPropertiesLoose(_ref, _excluded$T);
15718
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$W);
15016
15719
  var {
15017
15720
  visiblePageNumbers
15018
15721
  } = usePaginationState(currentPage, totalPages, maxPageButtons);
@@ -15082,7 +15785,7 @@
15082
15785
  }
15083
15786
  };
15084
15787
 
15085
- var _excluded$U = ["orientation", "variant", "thickness", "color", "spacing", "label", "decorative", "views", "themeMode"];
15788
+ var _excluded$X = ["orientation", "variant", "thickness", "color", "spacing", "label", "decorative", "views", "themeMode"];
15086
15789
  var SeparatorView = _ref => {
15087
15790
  var {
15088
15791
  orientation = 'horizontal',
@@ -15094,7 +15797,7 @@
15094
15797
  decorative = false,
15095
15798
  views
15096
15799
  } = _ref,
15097
- props = _objectWithoutPropertiesLoose(_ref, _excluded$U);
15800
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$X);
15098
15801
  // Access theme if needed for future enhancements
15099
15802
  var {
15100
15803
  themeMode
@@ -15332,7 +16035,7 @@
15332
16035
  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)'
15333
16036
  };
15334
16037
 
15335
- var _excluded$V = ["children", "showToggleButton", "views"],
16038
+ var _excluded$Y = ["children", "showToggleButton", "views"],
15336
16039
  _excluded2$f = ["children", "views"],
15337
16040
  _excluded3$a = ["children", "views"],
15338
16041
  _excluded4$9 = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
@@ -15365,7 +16068,7 @@
15365
16068
  showToggleButton = true,
15366
16069
  views
15367
16070
  } = _ref2,
15368
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$V);
16071
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$Y);
15369
16072
  var {
15370
16073
  isExpanded,
15371
16074
  toggleExpanded,
@@ -15520,7 +16223,7 @@
15520
16223
  }))));
15521
16224
  };
15522
16225
 
15523
- var _excluded$W = ["children", "position", "size", "variant", "defaultExpanded", "expanded", "onExpandedChange", "fixed", "hasBackdrop", "showToggleButton", "expandedWidth", "collapsedWidth", "breakpoint", "breakpointBehavior", "views"];
16226
+ var _excluded$Z = ["children", "position", "size", "variant", "defaultExpanded", "expanded", "onExpandedChange", "fixed", "hasBackdrop", "showToggleButton", "expandedWidth", "collapsedWidth", "breakpoint", "breakpointBehavior", "views"];
15524
16227
  /**
15525
16228
  * Sidebar component for creating collapsible, themeable and customizable sidebars.
15526
16229
  */
@@ -15542,7 +16245,7 @@
15542
16245
  breakpointBehavior = 'overlay',
15543
16246
  views
15544
16247
  } = _ref,
15545
- props = _objectWithoutPropertiesLoose(_ref, _excluded$W);
16248
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$Z);
15546
16249
  var {
15547
16250
  isExpanded,
15548
16251
  toggleExpanded,
@@ -16007,7 +16710,7 @@
16007
16710
  }
16008
16711
  };
16009
16712
 
16010
- var _excluded$X = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
16713
+ var _excluded$_ = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
16011
16714
  _excluded2$g = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
16012
16715
  _excluded3$b = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
16013
16716
  // Create context for the Resizable component
@@ -16052,7 +16755,7 @@
16052
16755
  onCollapseChange,
16053
16756
  views
16054
16757
  } = _ref2,
16055
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$X);
16758
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$_);
16056
16759
  var {
16057
16760
  orientation,
16058
16761
  registerPanel,
@@ -16267,7 +16970,7 @@
16267
16970
  }, ResizableOrientations[orientation], views == null ? void 0 : views.container, props), children);
16268
16971
  };
16269
16972
 
16270
- var _excluded$Y = ["children", "orientation", "size", "variant", "defaultSizes", "onSizesChange", "minSize", "maxSize", "collapsible", "autoSaveId", "storage", "keyboardResizeBy", "views"];
16973
+ var _excluded$$ = ["children", "orientation", "size", "variant", "defaultSizes", "onSizesChange", "minSize", "maxSize", "collapsible", "autoSaveId", "storage", "keyboardResizeBy", "views"];
16271
16974
  /**
16272
16975
  * Resizable component for creating resizable panel groups and layouts.
16273
16976
  */
@@ -16287,7 +16990,7 @@
16287
16990
  keyboardResizeBy = 10,
16288
16991
  views
16289
16992
  } = _ref,
16290
- props = _objectWithoutPropertiesLoose(_ref, _excluded$Y);
16993
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$$);
16291
16994
  var {
16292
16995
  isResizing,
16293
16996
  setIsResizing,
@@ -17055,7 +17758,7 @@
17055
17758
  color: 'color.gray.500'
17056
17759
  };
17057
17760
 
17058
- var _excluded$Z = ["value", "onValueChange", "placeholder", "views"],
17761
+ var _excluded$10 = ["value", "onValueChange", "placeholder", "views"],
17059
17762
  _excluded2$h = ["children", "views"],
17060
17763
  _excluded3$c = ["heading", "children", "views"],
17061
17764
  _excluded4$a = ["item", "selected", "onSelect", "views"],
@@ -17087,7 +17790,7 @@
17087
17790
  placeholder = 'Type a command or search...',
17088
17791
  views
17089
17792
  } = _ref2,
17090
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$Z);
17793
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$10);
17091
17794
  var inputRef = React.useRef(null);
17092
17795
  // Focus input when component mounts
17093
17796
  React__default.useEffect(() => {
@@ -17270,7 +17973,7 @@
17270
17973
  })))), footer && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, CommandFooterStyles, views == null ? void 0 : views.footer), footer)))));
17271
17974
  };
17272
17975
 
17273
- var _excluded$_ = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "filter", "emptyState", "footer", "views"];
17976
+ var _excluded$11 = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "filter", "emptyState", "footer", "views"];
17274
17977
  /**
17275
17978
  * Command component for displaying a command palette with search functionality.
17276
17979
  */
@@ -17288,7 +17991,7 @@
17288
17991
  footer,
17289
17992
  views
17290
17993
  } = _ref,
17291
- props = _objectWithoutPropertiesLoose(_ref, _excluded$_);
17994
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$11);
17292
17995
  var {
17293
17996
  search,
17294
17997
  setSearch,
@@ -17575,7 +18278,7 @@
17575
18278
  }
17576
18279
  };
17577
18280
 
17578
- var _excluded$$ = ["children", "views", "asChild"],
18281
+ var _excluded$12 = ["children", "views", "asChild"],
17579
18282
  _excluded2$i = ["children", "views"],
17580
18283
  _excluded3$d = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
17581
18284
  // Create context for the Tooltip
@@ -17611,7 +18314,7 @@
17611
18314
  views,
17612
18315
  asChild = false
17613
18316
  } = _ref2,
17614
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$$);
18317
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$12);
17615
18318
  var {
17616
18319
  openTooltip,
17617
18320
  closeTooltip,
@@ -17704,7 +18407,7 @@
17704
18407
  }, TooltipSizes[size], TooltipVariants[variant], positionStyles, views == null ? void 0 : views.content), typeof content === 'string' ? (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({}, views == null ? void 0 : views.text), content)) : content, showArrow && /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, arrowStyles, views == null ? void 0 : views.arrow)))));
17705
18408
  };
17706
18409
 
17707
- var _excluded$10 = ["content", "children", "position", "align", "size", "variant", "openDelay", "closeDelay", "showArrow", "defaultOpen", "isDisabled", "views"];
18410
+ var _excluded$13 = ["content", "children", "position", "align", "size", "variant", "openDelay", "closeDelay", "showArrow", "defaultOpen", "isDisabled", "views"];
17708
18411
  /**
17709
18412
  * Tooltip component for displaying additional information when hovering over an element.
17710
18413
  * Supports configurable positions, delays, and styling.
@@ -17724,7 +18427,7 @@
17724
18427
  isDisabled = false,
17725
18428
  views
17726
18429
  } = _ref,
17727
- props = _objectWithoutPropertiesLoose(_ref, _excluded$10);
18430
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$13);
17728
18431
  var tooltipState = useTooltipState({
17729
18432
  defaultOpen,
17730
18433
  openDelay,
@@ -17765,6 +18468,7 @@
17765
18468
  exports.Carousel = Carousel;
17766
18469
  exports.Chart = Chart;
17767
18470
  exports.ChartIcon = ChartIcon;
18471
+ exports.CheckIcon = CheckIcon;
17768
18472
  exports.Checkbox = Checkbox;
17769
18473
  exports.ChevronIcon = ChevronIcon;
17770
18474
  exports.ClockIcon = ClockIcon;
@@ -17774,6 +18478,7 @@
17774
18478
  exports.ComboBox = ComboBox;
17775
18479
  exports.Command = Command;
17776
18480
  exports.ContextMenu = ContextMenu;
18481
+ exports.CookieConsent = CookieConsent;
17777
18482
  exports.CopyIcon = CopyIcon;
17778
18483
  exports.CountryPicker = CountryPicker;
17779
18484
  exports.CropIcon = CropIcon;
@@ -17807,6 +18512,7 @@
17807
18512
  exports.FormikSwitch = FormikSwitch;
17808
18513
  exports.FormikTextArea = FormikTextArea;
17809
18514
  exports.FormikTextField = FormikTextField;
18515
+ exports.GiftIcon = GiftIcon;
17810
18516
  exports.HeartIcon = HeartIcon;
17811
18517
  exports.HelpIcon = HelpIcon;
17812
18518
  exports.HomeIcon = HomeIcon;
@@ -17852,6 +18558,7 @@
17852
18558
  exports.SettingsIcon = SettingsIcon;
17853
18559
  exports.ShapeIcon = ShapeIcon;
17854
18560
  exports.ShareIcon = ShareIcon;
18561
+ exports.ShieldIcon = ShieldIcon;
17855
18562
  exports.Sidebar = Sidebar;
17856
18563
  exports.Slider = Slider;
17857
18564
  exports.SliderIcon = SliderIcon;
@@ -17868,6 +18575,7 @@
17868
18575
  exports.TextIcon = TextIcon;
17869
18576
  exports.ThreadsIcon = ThreadsIcon;
17870
18577
  exports.TickIcon = TickIcon;
18578
+ exports.Title = Title;
17871
18579
  exports.Toast = Toast;
17872
18580
  exports.Toggle = Toggle;
17873
18581
  exports.ToggleGroup = ToggleGroup;