@sudobility/design-components 1.0.8

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.
@@ -0,0 +1,33 @@
1
+ /**
2
+ * UauroraUbackground Component
3
+ *
4
+ * A reusable UauroraUbackground component with full dark mode support.
5
+ * Optimized for accessibility and AI-assisted development.
6
+ *
7
+ * @component
8
+ * @example
9
+ * ```tsx
10
+ * <UauroraUbackground className="custom-class" />
11
+ * ```
12
+ *
13
+ * @remarks
14
+ * This component supports:
15
+ * - Light and dark themes automatically
16
+ * - Responsive design
17
+ * - Accessibility features
18
+ * - TypeScript type safety
19
+ *
20
+ * @see {@link https://docs.example.com/components/aurora-background}
21
+ */
22
+ export interface UauroraUbackgroundProps {
23
+ /** Additional CSS classes */
24
+ className?: string;
25
+ /** Component children */
26
+ children?: React.ReactNode;
27
+ /** Disabled state */
28
+ disabled?: boolean;
29
+ /** Callback when component is interacted with */
30
+ onClick?: () => void;
31
+ }
32
+ export declare const UauroraUbackground: ({ className, children, disabled, onClick, }: UauroraUbackgroundProps) => import("react/jsx-runtime").JSX.Element;
33
+ //# sourceMappingURL=aurora-background.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aurora-background.d.ts","sourceRoot":"","sources":["../src/aurora-background.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,MAAM,WAAW,uBAAuB;IACtC,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,kBAAkB,GAAI,6CAKhC,uBAAuB,4CAmBzB,CAAC"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * UbadgeUdesigner Component
3
+ *
4
+ * A reusable UbadgeUdesigner component with full dark mode support.
5
+ * Optimized for accessibility and AI-assisted development.
6
+ *
7
+ * @component
8
+ * @example
9
+ * ```tsx
10
+ * <UbadgeUdesigner className="custom-class" />
11
+ * ```
12
+ *
13
+ * @remarks
14
+ * This component supports:
15
+ * - Light and dark themes automatically
16
+ * - Responsive design
17
+ * - Accessibility features
18
+ * - TypeScript type safety
19
+ *
20
+ * @see {@link https://docs.example.com/components/badge-designer}
21
+ */
22
+ export interface UbadgeUdesignerProps {
23
+ /** Additional CSS classes */
24
+ className?: string;
25
+ /** Component children */
26
+ children?: React.ReactNode;
27
+ /** Disabled state */
28
+ disabled?: boolean;
29
+ /** Callback when component is interacted with */
30
+ onClick?: () => void;
31
+ }
32
+ export declare const UbadgeUdesigner: ({ className, children, disabled, onClick, }: UbadgeUdesignerProps) => import("react/jsx-runtime").JSX.Element;
33
+ //# sourceMappingURL=badge-designer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"badge-designer.d.ts","sourceRoot":"","sources":["../src/badge-designer.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,MAAM,WAAW,oBAAoB;IACnC,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,eAAe,GAAI,6CAK7B,oBAAoB,4CAmBtB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export interface ColorPickerAdvancedProps {
2
+ value: string;
3
+ onChange: (color: string) => void;
4
+ presets?: string[];
5
+ className?: string;
6
+ }
7
+ export declare const ColorPickerAdvanced: ({ value, onChange, presets, className, }: ColorPickerAdvancedProps) => import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=color-picker-advanced.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color-picker-advanced.d.ts","sourceRoot":"","sources":["../src/color-picker-advanced.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,mBAAmB,GAAI,0CAKjC,wBAAwB,4CAoC1B,CAAC"}
@@ -0,0 +1,42 @@
1
+ import { default as React } from 'react';
2
+ export interface ColorPickerProps {
3
+ /** Selected color (hex format) */
4
+ value: string;
5
+ /** Change handler */
6
+ onChange: (color: string) => void;
7
+ /** Preset colors */
8
+ presets?: string[];
9
+ /** Show input field */
10
+ showInput?: boolean;
11
+ /** Show opacity slider */
12
+ showOpacity?: boolean;
13
+ /** Additional className */
14
+ className?: string;
15
+ }
16
+ /**
17
+ * ColorPicker Component
18
+ *
19
+ * Color picker with preset colors and custom input.
20
+ * Supports hex colors and opacity.
21
+ *
22
+ * @example
23
+ * ```tsx
24
+ * <ColorPicker
25
+ * value={color}
26
+ * onChange={setColor}
27
+ * showInput
28
+ * />
29
+ * ```
30
+ *
31
+ * @example
32
+ * ```tsx
33
+ * <ColorPicker
34
+ * value={brandColor}
35
+ * onChange={handleColorChange}
36
+ * presets={['#FF6B6B', '#4ECDC4', '#45B7D1', '#FFA07A']}
37
+ * showOpacity
38
+ * />
39
+ * ```
40
+ */
41
+ export declare const ColorPicker: React.FC<ColorPickerProps>;
42
+ //# sourceMappingURL=color-picker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color-picker.d.ts","sourceRoot":"","sources":["../src/color-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,MAAM,WAAW,gBAAgB;IAC/B,kCAAkC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,qBAAqB;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,oBAAoB;IACpB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,uBAAuB;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,0BAA0B;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAgJlD,CAAC"}
@@ -0,0 +1,41 @@
1
+ import { default as React } from 'react';
2
+ export interface Color {
3
+ /** Color hex value */
4
+ hex: string;
5
+ /** Color name */
6
+ name?: string;
7
+ }
8
+ export interface ColorSwatchProps {
9
+ /** Colors to display */
10
+ colors: Color[] | string[];
11
+ /** Selected color */
12
+ selectedColor?: string;
13
+ /** Color change handler */
14
+ onColorSelect?: (color: string) => void;
15
+ /** Swatch size */
16
+ size?: 'sm' | 'md' | 'lg';
17
+ /** Show color names */
18
+ showNames?: boolean;
19
+ /** Show copy button */
20
+ showCopy?: boolean;
21
+ /** Additional className */
22
+ className?: string;
23
+ }
24
+ /**
25
+ * ColorSwatch Component
26
+ *
27
+ * Color palette display with selection and copy functionality.
28
+ * Useful for color pickers and design systems.
29
+ *
30
+ * @example
31
+ * ```tsx
32
+ * <ColorSwatch
33
+ * colors={['#FF0000', '#00FF00', '#0000FF']}
34
+ * selectedColor={activeColor}
35
+ * onColorSelect={setActiveColor}
36
+ * showCopy
37
+ * />
38
+ * ```
39
+ */
40
+ export declare const ColorSwatch: React.FC<ColorSwatchProps>;
41
+ //# sourceMappingURL=color-swatch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color-swatch.d.ts","sourceRoot":"","sources":["../src/color-swatch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,MAAM,WAAW,KAAK;IACpB,sBAAsB;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,iBAAiB;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,gBAAgB;IAC/B,wBAAwB;IACxB,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,EAAE,CAAC;IAC3B,qBAAqB;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2BAA2B;IAC3B,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,kBAAkB;IAClB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,uBAAuB;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,uBAAuB;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA2GlD,CAAC"}
@@ -0,0 +1,47 @@
1
+ import { default as React } from 'react';
2
+ export interface GradientBannerProps {
3
+ /** Main content of the banner */
4
+ children: React.ReactNode;
5
+ /** Gradient color variant */
6
+ variant?: 'blue-purple' | 'green-blue' | 'orange-red' | 'gray' | 'light' | 'custom';
7
+ /** Custom gradient classes (when variant is 'custom') */
8
+ gradientClasses?: string;
9
+ /** Size/padding variant */
10
+ size?: 'sm' | 'md' | 'lg';
11
+ /** Border radius */
12
+ rounded?: 'md' | 'lg' | 'xl' | '2xl';
13
+ /** Show border */
14
+ bordered?: boolean;
15
+ /** Border color classes (when bordered is true) */
16
+ borderClasses?: string;
17
+ /** Additional className for the container */
18
+ className?: string;
19
+ }
20
+ /**
21
+ * GradientBanner Component
22
+ *
23
+ * A versatile banner component with gradient backgrounds for highlighting
24
+ * important content, CTAs, or feature sections.
25
+ *
26
+ * @example
27
+ * ```tsx
28
+ * <GradientBanner variant="blue-purple" size="lg">
29
+ * <h3 className={textVariants.heading.h3()}>Special Offer</h3>
30
+ * <p>Get started with Web3 Email today!</p>
31
+ * </GradientBanner>
32
+ * ```
33
+ *
34
+ * @example
35
+ * ```tsx
36
+ * // Light variant with border
37
+ * <GradientBanner
38
+ * variant="light"
39
+ * bordered
40
+ * borderClasses="border-2 border-blue-200"
41
+ * >
42
+ * <Alert variant="info">Important information</Alert>
43
+ * </GradientBanner>
44
+ * ```
45
+ */
46
+ export declare const GradientBanner: React.FC<GradientBannerProps>;
47
+ //# sourceMappingURL=gradient-banner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gradient-banner.d.ts","sourceRoot":"","sources":["../src/gradient-banner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,mBAAmB;IAClC,iCAAiC;IACjC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,6BAA6B;IAC7B,OAAO,CAAC,EACJ,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,MAAM,GACN,OAAO,GACP,QAAQ,CAAC;IACb,yDAAyD;IACzD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,2BAA2B;IAC3B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,oBAAoB;IACpB,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;IACrC,kBAAkB;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mDAAmD;IACnD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAmDxD,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * design-components
3
+ *
4
+ * Specialized components for the design domain
5
+ *
6
+ * @package @sudobility/design-components
7
+ */
8
+ export * from './aurora-background';
9
+ export * from './badge-designer';
10
+ export * from './color-picker-advanced';
11
+ export * from './color-picker';
12
+ export * from './color-swatch';
13
+ export * from './gradient-banner';
14
+ export * from './neumorphic-button';
15
+ export * from './theme-switcher';
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC"}