@sudobility/design-components 2.0.4 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -5,7 +5,7 @@ var D;
|
|
|
5
5
|
function te() {
|
|
6
6
|
if (D) return b;
|
|
7
7
|
D = 1;
|
|
8
|
-
var u = Symbol.for("react.transitional.element"), f = Symbol.for("react.fragment");
|
|
8
|
+
var u = /* @__PURE__ */ Symbol.for("react.transitional.element"), f = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
9
9
|
function s(i, o, l) {
|
|
10
10
|
var c = null;
|
|
11
11
|
if (l !== void 0 && (c = "" + l), o.key !== void 0 && (c = "" + o.key), "key" in o) {
|
|
@@ -220,7 +220,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
220
220
|
function P(e) {
|
|
221
221
|
return typeof e == "object" && e !== null && e.$$typeof === C;
|
|
222
222
|
}
|
|
223
|
-
var k = re, C = Symbol.for("react.transitional.element"), W = Symbol.for("react.portal"), T = Symbol.for("react.fragment"), V = Symbol.for("react.strict_mode"), q = Symbol.for("react.profiler"), z = Symbol.for("react.consumer"), J = Symbol.for("react.context"), G = Symbol.for("react.forward_ref"), X = Symbol.for("react.suspense"), B = Symbol.for("react.suspense_list"), H = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), Z = Symbol.for("react.activity"), Q = Symbol.for("react.client.reference"), w = k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, U = Object.prototype.hasOwnProperty, K = Array.isArray, O = console.createTask ? console.createTask : function() {
|
|
223
|
+
var k = re, C = /* @__PURE__ */ Symbol.for("react.transitional.element"), W = /* @__PURE__ */ Symbol.for("react.portal"), T = /* @__PURE__ */ Symbol.for("react.fragment"), V = /* @__PURE__ */ Symbol.for("react.strict_mode"), q = /* @__PURE__ */ Symbol.for("react.profiler"), z = /* @__PURE__ */ Symbol.for("react.consumer"), J = /* @__PURE__ */ Symbol.for("react.context"), G = /* @__PURE__ */ Symbol.for("react.forward_ref"), X = /* @__PURE__ */ Symbol.for("react.suspense"), B = /* @__PURE__ */ Symbol.for("react.suspense_list"), H = /* @__PURE__ */ Symbol.for("react.memo"), x = /* @__PURE__ */ Symbol.for("react.lazy"), Z = /* @__PURE__ */ Symbol.for("react.activity"), Q = /* @__PURE__ */ Symbol.for("react.client.reference"), w = k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, U = Object.prototype.hasOwnProperty, K = Array.isArray, O = console.createTask ? console.createTask : function() {
|
|
224
224
|
return null;
|
|
225
225
|
};
|
|
226
226
|
k = {
|
package/dist/index.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":["../node_modules/react/cjs/react-jsx-runtime.production.js","../node_modules/react/cjs/react-jsx-runtime.development.js","../node_modules/react/jsx-runtime.js","../src/aurora-background.tsx","../src/gradient-banner.tsx","../src/neumorphic-button.tsx","../src/theme-switcher.tsx"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","import { cn } from '@sudobility/components';\n\n/**\n * UauroraUbackground Component\n *\n * A reusable UauroraUbackground component with full dark mode support.\n * Optimized for accessibility and AI-assisted development.\n *\n * @component\n * @example\n * ```tsx\n * <UauroraUbackground className=\"custom-class\" />\n * ```\n *\n * @remarks\n * This component supports:\n * - Light and dark themes automatically\n * - Responsive design\n * - Accessibility features\n * - TypeScript type safety\n *\n * @see {@link https://docs.example.com/components/aurora-background}\n */\n\n/** Tracking data for AuroraBackground actions */\nexport interface AuroraBackgroundTrackingData {\n action: 'click';\n trackingLabel?: string;\n componentName?: string;\n}\n\nexport interface UauroraUbackgroundProps {\n /** Additional CSS classes */\n className?: string;\n /** Component children */\n children?: React.ReactNode;\n /** Disabled state */\n disabled?: boolean;\n /** Callback when component is interacted with */\n onClick?: () => void;\n /** Optional tracking callback */\n onTrack?: (data: AuroraBackgroundTrackingData) => void;\n /** Optional tracking label */\n trackingLabel?: string;\n /** Optional component name for tracking */\n componentName?: string;\n}\n\nexport const UauroraUbackground = ({\n className,\n children,\n disabled = false,\n onClick,\n onTrack,\n trackingLabel,\n componentName = 'UauroraUbackground',\n}: UauroraUbackgroundProps) => {\n const handleClick = () => {\n if (!disabled) {\n onTrack?.({ action: 'click', trackingLabel, componentName });\n onClick?.();\n }\n };\n\n return (\n <div\n className={cn(\n 'p-4 rounded-lg border transition-colors',\n 'bg-white dark:bg-gray-900',\n 'border-gray-200 dark:border-gray-700',\n 'text-gray-900 dark:text-white',\n disabled && 'opacity-50 cursor-not-allowed',\n 'hover:bg-gray-50 dark:hover:bg-gray-800',\n className\n )}\n onClick={handleClick}\n role='region'\n aria-label='UauroraUbackground'\n >\n {children || 'UauroraUbackground Component'}\n </div>\n );\n};\n","import React from 'react';\nimport { cn } from '@sudobility/components';\n\nexport interface GradientBannerProps {\n /** Main content of the banner */\n children: React.ReactNode;\n /** Gradient color variant */\n variant?:\n | 'blue-purple'\n | 'green-blue'\n | 'orange-red'\n | 'gray'\n | 'light'\n | 'custom';\n /** Custom gradient classes (when variant is 'custom') */\n gradientClasses?: string;\n /** Size/padding variant */\n size?: 'sm' | 'md' | 'lg';\n /** Border radius */\n rounded?: 'md' | 'lg' | 'xl' | '2xl';\n /** Show border */\n bordered?: boolean;\n /** Border color classes (when bordered is true) */\n borderClasses?: string;\n /** Additional className for the container */\n className?: string;\n}\n\n/**\n * GradientBanner Component\n *\n * A versatile banner component with gradient backgrounds for highlighting\n * important content, CTAs, or feature sections.\n *\n * @example\n * ```tsx\n * <GradientBanner variant=\"blue-purple\" size=\"lg\">\n * <h3 className={textVariants.heading.h3()}>Special Offer</h3>\n * <p>Get started with Web3 Email today!</p>\n * </GradientBanner>\n * ```\n *\n * @example\n * ```tsx\n * // Light variant with border\n * <GradientBanner\n * variant=\"light\"\n * bordered\n * borderClasses=\"border-2 border-blue-200\"\n * >\n * <Alert variant=\"info\">Important information</Alert>\n * </GradientBanner>\n * ```\n */\nexport const GradientBanner: React.FC<GradientBannerProps> = ({\n children,\n variant = 'blue-purple',\n gradientClasses,\n size = 'md',\n rounded = '2xl',\n bordered = false,\n borderClasses = 'border border-white/20',\n className,\n}) => {\n // Gradient color variants\n const gradientVariants = {\n 'blue-purple': 'bg-gradient-to-r from-blue-600 to-purple-600 text-white',\n 'green-blue': 'bg-gradient-to-r from-green-600 to-blue-600 text-white',\n 'orange-red': 'bg-gradient-to-r from-orange-600 to-red-600 text-white',\n gray: 'bg-gradient-to-r from-gray-600 to-gray-800 dark:from-gray-700 dark:to-gray-900 text-white',\n light:\n 'bg-gradient-to-r from-blue-50 to-purple-50 dark:from-blue-900/20 dark:to-purple-900/20 text-gray-900 dark:text-gray-100',\n custom:\n gradientClasses ||\n 'bg-gradient-to-r from-blue-600 to-purple-600 text-white',\n };\n\n // Size/padding configurations\n const sizeClasses = {\n sm: 'p-4',\n md: 'p-6',\n lg: 'p-8',\n };\n\n // Border radius configurations\n const roundedClasses = {\n md: 'rounded-md',\n lg: 'rounded-lg',\n xl: 'rounded-xl',\n '2xl': 'rounded-2xl',\n };\n\n return (\n <div\n className={cn(\n gradientVariants[variant],\n sizeClasses[size],\n roundedClasses[rounded],\n bordered && borderClasses,\n className\n )}\n >\n {children}\n </div>\n );\n};\n","import { cn } from '@sudobility/components';\n\n/**\n * UneumorphicUbutton Component\n *\n * A reusable UneumorphicUbutton component with full dark mode support.\n * Optimized for accessibility and AI-assisted development.\n *\n * @component\n * @example\n * ```tsx\n * <UneumorphicUbutton className=\"custom-class\" />\n * ```\n *\n * @remarks\n * This component supports:\n * - Light and dark themes automatically\n * - Responsive design\n * - Accessibility features\n * - TypeScript type safety\n *\n * @see {@link https://docs.example.com/components/neumorphic-button}\n */\n\n/** Tracking data for NeumorphicButton actions */\nexport interface NeumorphicButtonTrackingData {\n action: 'click';\n trackingLabel?: string;\n componentName?: string;\n}\n\nexport interface UneumorphicUbuttonProps {\n /** Additional CSS classes */\n className?: string;\n /** Component children */\n children?: React.ReactNode;\n /** Disabled state */\n disabled?: boolean;\n /** Callback when component is interacted with */\n onClick?: () => void;\n /** Optional tracking callback */\n onTrack?: (data: NeumorphicButtonTrackingData) => void;\n /** Optional tracking label */\n trackingLabel?: string;\n /** Optional component name for tracking */\n componentName?: string;\n}\n\nexport const UneumorphicUbutton = ({\n className,\n children,\n disabled = false,\n onClick,\n onTrack,\n trackingLabel,\n componentName = 'UneumorphicUbutton',\n}: UneumorphicUbuttonProps) => {\n const handleClick = () => {\n if (!disabled) {\n onTrack?.({ action: 'click', trackingLabel, componentName });\n onClick?.();\n }\n };\n\n return (\n <div\n className={cn(\n 'p-4 rounded-lg border transition-colors',\n 'bg-white dark:bg-gray-900',\n 'border-gray-200 dark:border-gray-700',\n 'text-gray-900 dark:text-white',\n disabled && 'opacity-50 cursor-not-allowed',\n 'hover:bg-gray-50 dark:hover:bg-gray-800',\n className\n )}\n onClick={handleClick}\n role='region'\n aria-label='UneumorphicUbutton'\n >\n {children || 'UneumorphicUbutton Component'}\n </div>\n );\n};\n","import { cn } from '@sudobility/components';\n\n/**\n * UthemeUswitcher Component\n *\n * A reusable UthemeUswitcher component with full dark mode support.\n * Optimized for accessibility and AI-assisted development.\n *\n * @component\n * @example\n * ```tsx\n * <UthemeUswitcher className=\"custom-class\" />\n * ```\n *\n * @remarks\n * This component supports:\n * - Light and dark themes automatically\n * - Responsive design\n * - Accessibility features\n * - TypeScript type safety\n *\n * @see {@link https://docs.example.com/components/theme-switcher}\n */\n\n/** Tracking data for ThemeSwitcher actions */\nexport interface ThemeSwitcherTrackingData {\n action: 'click';\n trackingLabel?: string;\n componentName?: string;\n}\n\nexport interface UthemeUswitcherProps {\n /** Additional CSS classes */\n className?: string;\n /** Component children */\n children?: React.ReactNode;\n /** Disabled state */\n disabled?: boolean;\n /** Callback when component is interacted with */\n onClick?: () => void;\n /** Optional tracking callback */\n onTrack?: (data: ThemeSwitcherTrackingData) => void;\n /** Optional tracking label */\n trackingLabel?: string;\n /** Optional component name for tracking */\n componentName?: string;\n}\n\nexport const UthemeUswitcher = ({\n className,\n children,\n disabled = false,\n onClick,\n onTrack,\n trackingLabel,\n componentName = 'UthemeUswitcher',\n}: UthemeUswitcherProps) => {\n const handleClick = () => {\n if (!disabled) {\n onTrack?.({ action: 'click', trackingLabel, componentName });\n onClick?.();\n }\n };\n\n return (\n <div\n className={cn(\n 'p-4 rounded-lg border transition-colors',\n 'bg-white dark:bg-gray-900',\n 'border-gray-200 dark:border-gray-700',\n 'text-gray-900 dark:text-white',\n disabled && 'opacity-50 cursor-not-allowed',\n 'hover:bg-gray-50 dark:hover:bg-gray-800',\n className\n )}\n onClick={handleClick}\n role='region'\n aria-label='UthemeUswitcher'\n >\n {children || 'UthemeUswitcher Component'}\n </div>\n );\n};\n"],"names":["REACT_ELEMENT_TYPE","REACT_FRAGMENT_TYPE","jsxProd","type","config","maybeKey","key","propName","reactJsxRuntime_production","getComponentNameFromType","REACT_CLIENT_REFERENCE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","REACT_FORWARD_REF_TYPE","innerType","REACT_MEMO_TYPE","REACT_LAZY_TYPE","testStringCoercion","value","checkKeyStringCoercion","JSCompiler_inline_result","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","getTaskName","name","getOwner","dispatcher","ReactSharedInternals","UnknownOwner","hasValidKey","hasOwnProperty","getter","defineKeyPropWarningGetter","props","displayName","warnAboutAccessingKey","specialPropKeyWarningShown","elementRefGetterWithDeprecationWarning","componentName","didWarnAboutElementRef","ReactElement","owner","debugStack","debugTask","refProp","jsxDEVImpl","isStaticChildren","children","isArrayImpl","validateChildKeys","keys","k","didWarnAboutKeySpread","node","isValidElement","object","React","require$$0","createTask","callStackForError","unknownOwnerDebugStack","unknownOwnerDebugTask","reactJsxRuntime_development","trackActualOwner","jsxRuntimeModule","require$$1","UauroraUbackground","className","disabled","onClick","onTrack","trackingLabel","handleClick","jsx","cn","GradientBanner","variant","gradientClasses","size","rounded","bordered","borderClasses","gradientVariants","sizeClasses","roundedClasses","UneumorphicUbutton","UthemeUswitcher"],"mappings":";;;;;;;AAWA,MAAIA,IAAqB,OAAO,IAAI,4BAA4B,GAC9DC,IAAsB,OAAO,IAAI,gBAAgB;AACnD,WAASC,EAAQC,GAAMC,GAAQC,GAAU;AACvC,QAAIC,IAAM;AAGV,QAFWD,MAAX,WAAwBC,IAAM,KAAKD,IACxBD,EAAO,QAAlB,WAA0BE,IAAM,KAAKF,EAAO,MACxC,SAASA,GAAQ;AACnB,MAAAC,IAAW,CAAA;AACX,eAASE,KAAYH;AACnB,QAAUG,MAAV,UAAuBF,EAASE,CAAQ,IAAIH,EAAOG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W;AAAA,MAEV,UAAAzB,KAAY;AAAA,IAAA;AAAA,EAAA;AAGnB;","x_google_ignoreList":[0,1,2]}
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../node_modules/react/cjs/react-jsx-runtime.production.js","../node_modules/react/cjs/react-jsx-runtime.development.js","../node_modules/react/jsx-runtime.js","../src/aurora-background.tsx","../src/gradient-banner.tsx","../src/neumorphic-button.tsx","../src/theme-switcher.tsx"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","import { cn } from '@sudobility/components';\n\n/**\n * UauroraUbackground Component\n *\n * A reusable UauroraUbackground component with full dark mode support.\n * Optimized for accessibility and AI-assisted development.\n *\n * @component\n * @example\n * ```tsx\n * <UauroraUbackground className=\"custom-class\" />\n * ```\n *\n * @remarks\n * This component supports:\n * - Light and dark themes automatically\n * - Responsive design\n * - Accessibility features\n * - TypeScript type safety\n *\n * @see {@link https://docs.example.com/components/aurora-background}\n */\n\n/** Tracking data for AuroraBackground actions */\nexport interface AuroraBackgroundTrackingData {\n action: 'click';\n trackingLabel?: string;\n componentName?: string;\n}\n\nexport interface UauroraUbackgroundProps {\n /** Additional CSS classes */\n className?: string;\n /** Component children */\n children?: React.ReactNode;\n /** Disabled state */\n disabled?: boolean;\n /** Callback when component is interacted with */\n onClick?: () => void;\n /** Optional tracking callback */\n onTrack?: (data: AuroraBackgroundTrackingData) => void;\n /** Optional tracking label */\n trackingLabel?: string;\n /** Optional component name for tracking */\n componentName?: string;\n}\n\nexport const UauroraUbackground = ({\n className,\n children,\n disabled = false,\n onClick,\n onTrack,\n trackingLabel,\n componentName = 'UauroraUbackground',\n}: UauroraUbackgroundProps) => {\n const handleClick = () => {\n if (!disabled) {\n onTrack?.({ action: 'click', trackingLabel, componentName });\n onClick?.();\n }\n };\n\n return (\n <div\n className={cn(\n 'p-4 rounded-lg border transition-colors',\n 'bg-white dark:bg-gray-900',\n 'border-gray-200 dark:border-gray-700',\n 'text-gray-900 dark:text-white',\n disabled && 'opacity-50 cursor-not-allowed',\n 'hover:bg-gray-50 dark:hover:bg-gray-800',\n className\n )}\n onClick={handleClick}\n role='region'\n aria-label='UauroraUbackground'\n >\n {children || 'UauroraUbackground Component'}\n </div>\n );\n};\n","import React from 'react';\nimport { cn } from '@sudobility/components';\n\nexport interface GradientBannerProps {\n /** Main content of the banner */\n children: React.ReactNode;\n /** Gradient color variant */\n variant?:\n | 'blue-purple'\n | 'green-blue'\n | 'orange-red'\n | 'gray'\n | 'light'\n | 'custom';\n /** Custom gradient classes (when variant is 'custom') */\n gradientClasses?: string;\n /** Size/padding variant */\n size?: 'sm' | 'md' | 'lg';\n /** Border radius */\n rounded?: 'md' | 'lg' | 'xl' | '2xl';\n /** Show border */\n bordered?: boolean;\n /** Border color classes (when bordered is true) */\n borderClasses?: string;\n /** Additional className for the container */\n className?: string;\n}\n\n/**\n * GradientBanner Component\n *\n * A versatile banner component with gradient backgrounds for highlighting\n * important content, CTAs, or feature sections.\n *\n * @example\n * ```tsx\n * <GradientBanner variant=\"blue-purple\" size=\"lg\">\n * <h3 className={textVariants.heading.h3()}>Special Offer</h3>\n * <p>Get started with Web3 Email today!</p>\n * </GradientBanner>\n * ```\n *\n * @example\n * ```tsx\n * // Light variant with border\n * <GradientBanner\n * variant=\"light\"\n * bordered\n * borderClasses=\"border-2 border-blue-200\"\n * >\n * <Alert variant=\"info\">Important information</Alert>\n * </GradientBanner>\n * ```\n */\nexport const GradientBanner: React.FC<GradientBannerProps> = ({\n children,\n variant = 'blue-purple',\n gradientClasses,\n size = 'md',\n rounded = '2xl',\n bordered = false,\n borderClasses = 'border border-white/20',\n className,\n}) => {\n // Gradient color variants\n const gradientVariants = {\n 'blue-purple': 'bg-gradient-to-r from-blue-600 to-purple-600 text-white',\n 'green-blue': 'bg-gradient-to-r from-green-600 to-blue-600 text-white',\n 'orange-red': 'bg-gradient-to-r from-orange-600 to-red-600 text-white',\n gray: 'bg-gradient-to-r from-gray-600 to-gray-800 dark:from-gray-700 dark:to-gray-900 text-white',\n light:\n 'bg-gradient-to-r from-blue-50 to-purple-50 dark:from-blue-900/20 dark:to-purple-900/20 text-gray-900 dark:text-gray-100',\n custom:\n gradientClasses ||\n 'bg-gradient-to-r from-blue-600 to-purple-600 text-white',\n };\n\n // Size/padding configurations\n const sizeClasses = {\n sm: 'p-4',\n md: 'p-6',\n lg: 'p-8',\n };\n\n // Border radius configurations\n const roundedClasses = {\n md: 'rounded-md',\n lg: 'rounded-lg',\n xl: 'rounded-xl',\n '2xl': 'rounded-2xl',\n };\n\n return (\n <div\n className={cn(\n gradientVariants[variant],\n sizeClasses[size],\n roundedClasses[rounded],\n bordered && borderClasses,\n className\n )}\n >\n {children}\n </div>\n );\n};\n","import { cn } from '@sudobility/components';\n\n/**\n * UneumorphicUbutton Component\n *\n * A reusable UneumorphicUbutton component with full dark mode support.\n * Optimized for accessibility and AI-assisted development.\n *\n * @component\n * @example\n * ```tsx\n * <UneumorphicUbutton className=\"custom-class\" />\n * ```\n *\n * @remarks\n * This component supports:\n * - Light and dark themes automatically\n * - Responsive design\n * - Accessibility features\n * - TypeScript type safety\n *\n * @see {@link https://docs.example.com/components/neumorphic-button}\n */\n\n/** Tracking data for NeumorphicButton actions */\nexport interface NeumorphicButtonTrackingData {\n action: 'click';\n trackingLabel?: string;\n componentName?: string;\n}\n\nexport interface UneumorphicUbuttonProps {\n /** Additional CSS classes */\n className?: string;\n /** Component children */\n children?: React.ReactNode;\n /** Disabled state */\n disabled?: boolean;\n /** Callback when component is interacted with */\n onClick?: () => void;\n /** Optional tracking callback */\n onTrack?: (data: NeumorphicButtonTrackingData) => void;\n /** Optional tracking label */\n trackingLabel?: string;\n /** Optional component name for tracking */\n componentName?: string;\n}\n\nexport const UneumorphicUbutton = ({\n className,\n children,\n disabled = false,\n onClick,\n onTrack,\n trackingLabel,\n componentName = 'UneumorphicUbutton',\n}: UneumorphicUbuttonProps) => {\n const handleClick = () => {\n if (!disabled) {\n onTrack?.({ action: 'click', trackingLabel, componentName });\n onClick?.();\n }\n };\n\n return (\n <div\n className={cn(\n 'p-4 rounded-lg border transition-colors',\n 'bg-white dark:bg-gray-900',\n 'border-gray-200 dark:border-gray-700',\n 'text-gray-900 dark:text-white',\n disabled && 'opacity-50 cursor-not-allowed',\n 'hover:bg-gray-50 dark:hover:bg-gray-800',\n className\n )}\n onClick={handleClick}\n role='region'\n aria-label='UneumorphicUbutton'\n >\n {children || 'UneumorphicUbutton Component'}\n </div>\n );\n};\n","import { cn } from '@sudobility/components';\n\n/**\n * UthemeUswitcher Component\n *\n * A reusable UthemeUswitcher component with full dark mode support.\n * Optimized for accessibility and AI-assisted development.\n *\n * @component\n * @example\n * ```tsx\n * <UthemeUswitcher className=\"custom-class\" />\n * ```\n *\n * @remarks\n * This component supports:\n * - Light and dark themes automatically\n * - Responsive design\n * - Accessibility features\n * - TypeScript type safety\n *\n * @see {@link https://docs.example.com/components/theme-switcher}\n */\n\n/** Tracking data for ThemeSwitcher actions */\nexport interface ThemeSwitcherTrackingData {\n action: 'click';\n trackingLabel?: string;\n componentName?: string;\n}\n\nexport interface UthemeUswitcherProps {\n /** Additional CSS classes */\n className?: string;\n /** Component children */\n children?: React.ReactNode;\n /** Disabled state */\n disabled?: boolean;\n /** Callback when component is interacted with */\n onClick?: () => void;\n /** Optional tracking callback */\n onTrack?: (data: ThemeSwitcherTrackingData) => void;\n /** Optional tracking label */\n trackingLabel?: string;\n /** Optional component name for tracking */\n componentName?: string;\n}\n\nexport const UthemeUswitcher = ({\n className,\n children,\n disabled = false,\n onClick,\n onTrack,\n trackingLabel,\n componentName = 'UthemeUswitcher',\n}: UthemeUswitcherProps) => {\n const handleClick = () => {\n if (!disabled) {\n onTrack?.({ action: 'click', trackingLabel, componentName });\n onClick?.();\n }\n };\n\n return (\n <div\n className={cn(\n 'p-4 rounded-lg border transition-colors',\n 'bg-white dark:bg-gray-900',\n 'border-gray-200 dark:border-gray-700',\n 'text-gray-900 dark:text-white',\n disabled && 'opacity-50 cursor-not-allowed',\n 'hover:bg-gray-50 dark:hover:bg-gray-800',\n className\n )}\n onClick={handleClick}\n role='region'\n aria-label='UthemeUswitcher'\n >\n {children || 'UthemeUswitcher Component'}\n </div>\n );\n};\n"],"names":["REACT_ELEMENT_TYPE","REACT_FRAGMENT_TYPE","jsxProd","type","config","maybeKey","key","propName","reactJsxRuntime_production","getComponentNameFromType","REACT_CLIENT_REFERENCE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","REACT_FORWARD_REF_TYPE","innerType","REACT_MEMO_TYPE","REACT_LAZY_TYPE","testStringCoercion","value","checkKeyStringCoercion","JSCompiler_inline_result","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","getTaskName","name","getOwner","dispatcher","ReactSharedInternals","UnknownOwner","hasValidKey","hasOwnProperty","getter","defineKeyPropWarningGetter","props","displayName","warnAboutAccessingKey","specialPropKeyWarningShown","elementRefGetterWithDeprecationWarning","componentName","didWarnAboutElementRef","ReactElement","owner","debugStack","debugTask","refProp","jsxDEVImpl","isStaticChildren","children","isArrayImpl","validateChildKeys","keys","k","didWarnAboutKeySpread","node","isValidElement","object","React","require$$0","createTask","callStackForError","unknownOwnerDebugStack","unknownOwnerDebugTask","reactJsxRuntime_development","trackActualOwner","jsxRuntimeModule","require$$1","UauroraUbackground","className","disabled","onClick","onTrack","trackingLabel","handleClick","jsx","cn","GradientBanner","variant","gradientClasses","size","rounded","bordered","borderClasses","gradientVariants","sizeClasses","roundedClasses","UneumorphicUbutton","UthemeUswitcher"],"mappings":";;;;;;;AAWA,MAAIA,IAAqB,uBAAO,IAAI,4BAA4B,GAC9DC,IAAsB,uBAAO,IAAI,gBAAgB;AACnD,WAASC,EAAQC,GAAMC,GAAQC,GAAU;AACvC,QAAIC,IAAM;AAGV,QAFWD,MAAX,WAAwBC,IAAM,KAAKD,IACxBD,EAAO,QAAlB,WAA0BE,IAAM,KAAKF,EAAO,MACxC,SAASA,GAAQ;AACnB,MAAAC,IAAW,CAAA;AACX,eAASE,KAAYH;AACnB,QAAUG,MAAV,UAAuBF,EAASE,CAAQ,IAAIH,EAAOG,CAAQ;AAAA,IACjE,MAAS,CAAAF,IAAWD;AAClB,WAAAA,IAASC,EAAS,KACX;AAAA,MACL,UAAUL;AAAA,MACV,MAAMG;AAAA,MACN,KAAKG;AAAA,MACL,KAAgBF,MAAX,SAAoBA,IAAS;AAAA,MAClC,OAAOC;AAAA;EAEX;AACA,SAAAG,EAAA,WAAmBP,GACnBO,EAAA,MAAcN,GACdM,EAAA,OAAeN;;;;;sBCtBE,QAAQ,IAAI,aAA7B,iBACG,WAAY;AACX,aAASO,EAAyBN,GAAM;AACtC,UAAYA,KAAR,KAAc,QAAO;AACzB,UAAmB,OAAOA,KAAtB;AACF,eAAOA,EAAK,aAAaO,IACrB,OACAP,EAAK,eAAeA,EAAK,QA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