@sudobility/components 4.0.163 → 5.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sudobility/components",
3
- "version": "4.0.163",
3
+ "version": "5.0.2",
4
4
  "description": "Reusable UI components and design system - Reorganized for better maintainability",
5
5
  "type": "module",
6
6
  "main": "dist/index.umd.js",
@@ -57,13 +57,12 @@
57
57
  "@radix-ui/react-switch": ">=1.0.0",
58
58
  "@radix-ui/react-tabs": ">=1.0.0",
59
59
  "@sudobility/design": "^1.1.18",
60
- "@sudobility/types": "^1.9.48",
60
+ "@sudobility/types": "^1.9.49",
61
61
  "class-variance-authority": ">=0.7.0",
62
62
  "clsx": ">=2.0.0",
63
63
  "i18next": ">=23.0.0",
64
64
  "react": ">=18.0.0",
65
65
  "react-dom": ">=18.0.0",
66
- "react-helmet-async": ">=2.0.0",
67
66
  "react-i18next": ">=14.0.0",
68
67
  "react-router-dom": ">=6.0.0",
69
68
  "tailwind-merge": ">=2.0.0",
@@ -80,7 +79,7 @@
80
79
  "@radix-ui/react-switch": "^1.2.6",
81
80
  "@radix-ui/react-tabs": "^1.1.13",
82
81
  "@sudobility/design": "^1.1.18",
83
- "@sudobility/types": "^1.9.48",
82
+ "@sudobility/types": "^1.9.49",
84
83
  "@testing-library/dom": "^10.4.1",
85
84
  "@testing-library/jest-dom": "^6.9.1",
86
85
  "@testing-library/react": "^16.3.0",
@@ -105,7 +104,6 @@
105
104
  "prettier": "^3.6.2",
106
105
  "react": "^19.0.0",
107
106
  "react-dom": "^19.0.0",
108
- "react-helmet-async": "^2.0.5",
109
107
  "react-i18next": "^16.0.0",
110
108
  "react-router-dom": "^7.9.4",
111
109
  "tailwind-merge": "^3.3.1",
@@ -1,20 +0,0 @@
1
- import { default as React } from 'react';
2
- interface AIMetaProps {
3
- contentType: string;
4
- blockchainNetworks?: string[];
5
- tokenSupported?: boolean;
6
- walletRequired?: boolean;
7
- aiSummary: string;
8
- technicalComplexity?: string;
9
- useCase?: string[];
10
- targetAudience?: string[];
11
- integrations?: string[];
12
- features?: string[];
13
- dataFlow?: string[];
14
- businessValue?: string[];
15
- securityConsiderations?: string[];
16
- learningOutcomes?: string[];
17
- }
18
- declare const AIMeta: React.FC<AIMetaProps>;
19
- export { AIMeta, type AIMetaProps };
20
- //# sourceMappingURL=AIMeta.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AIMeta.d.ts","sourceRoot":"","sources":["../../src/seo/AIMeta.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,WAAW;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAClC,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAYjC,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,CAAC"}
@@ -1,7 +0,0 @@
1
- import { default as React } from 'react';
2
- interface AITrainingEnhancerProps {
3
- children: React.ReactNode;
4
- }
5
- declare const AITrainingEnhancer: React.FC<AITrainingEnhancerProps>;
6
- export { AITrainingEnhancer };
7
- //# sourceMappingURL=AITrainingEnhancer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AITrainingEnhancer.d.ts","sourceRoot":"","sources":["../../src/seo/AITrainingEnhancer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAIzD,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
package/dist/seo/SEO.d.ts DELETED
@@ -1,75 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface SEOProps {
3
- /** Page title (will be suffixed with appName if provided) */
4
- title?: string;
5
- /** Meta description */
6
- description?: string;
7
- /** Meta keywords */
8
- keywords?: string | string[];
9
- /** Canonical URL path (will be prefixed with baseUrl) */
10
- canonical?: string;
11
- /** Open Graph type */
12
- ogType?: 'website' | 'article' | 'product' | 'profile';
13
- /** Open Graph image URL */
14
- ogImage?: string;
15
- /** Whether to add noindex meta tag */
16
- noIndex?: boolean;
17
- /** JSON-LD structured data */
18
- structuredData?: object | object[];
19
- /** Twitter card type */
20
- twitterCard?: 'summary' | 'summary_large_image' | 'app' | 'player';
21
- /** Twitter handle (e.g., @company) */
22
- twitterSite?: string;
23
- /** App configuration */
24
- config: SEOConfig;
25
- /** Additional meta tags */
26
- meta?: Array<{
27
- name?: string;
28
- property?: string;
29
- content: string;
30
- }>;
31
- /** Additional link tags */
32
- links?: Array<{
33
- rel: string;
34
- href: string;
35
- [key: string]: string;
36
- }>;
37
- }
38
- export interface SEOConfig {
39
- /** Application name */
40
- appName: string;
41
- /** Base URL (e.g., https://example.com) */
42
- baseUrl: string;
43
- /** Default meta description */
44
- defaultDescription?: string;
45
- /** Default OG image */
46
- defaultOgImage?: string;
47
- /** Default Twitter handle */
48
- defaultTwitterSite?: string;
49
- }
50
- /**
51
- * SEO Component
52
- *
53
- * A comprehensive SEO component for managing meta tags, Open Graph,
54
- * Twitter cards, and structured data using react-helmet-async.
55
- *
56
- * @example
57
- * ```tsx
58
- * const seoConfig: SEOConfig = {
59
- * appName: 'MyApp',
60
- * baseUrl: 'https://myapp.com',
61
- * defaultDescription: 'My awesome application',
62
- * defaultOgImage: 'https://myapp.com/og-image.png',
63
- * };
64
- *
65
- * <SEO
66
- * config={seoConfig}
67
- * title="Dashboard"
68
- * description="Manage your account"
69
- * canonical="/dashboard"
70
- * />
71
- * ```
72
- */
73
- export declare const SEO: React.FC<SEOProps>;
74
- export default SEO;
75
- //# sourceMappingURL=SEO.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SEO.d.ts","sourceRoot":"","sources":["../../src/seo/SEO.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,QAAQ;IACvB,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uBAAuB;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB;IACpB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC7B,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sBAAsB;IACtB,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IACvD,2BAA2B;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sCAAsC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,8BAA8B;IAC9B,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACnC,wBAAwB;IACxB,WAAW,CAAC,EAAE,SAAS,GAAG,qBAAqB,GAAG,KAAK,GAAG,QAAQ,CAAC;IACnE,sCAAsC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wBAAwB;IACxB,MAAM,EAAE,SAAS,CAAC;IAClB,2BAA2B;IAC3B,IAAI,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACpE,2BAA2B;IAC3B,KAAK,CAAC,EAAE,KAAK,CAAC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC,CAAC;CACrE;AAED,MAAM,WAAW,SAAS;IACxB,uBAAuB;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,2CAA2C;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,+BAA+B;IAC/B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,uBAAuB;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,6BAA6B;IAC7B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAgGlC,CAAC;AAEF,eAAe,GAAG,CAAC"}
@@ -1,15 +0,0 @@
1
- import { default as React } from 'react';
2
- /**
3
- * Semantic HTML Enhancement Components
4
- * These components provide semantic meaning to improve accessibility and SEO
5
- */
6
- interface SemanticSectionProps {
7
- children: React.ReactNode;
8
- className?: string;
9
- id?: string;
10
- 'aria-label'?: string;
11
- 'aria-labelledby'?: string;
12
- }
13
- export declare const Main: React.FC<SemanticSectionProps>;
14
- export {};
15
- //# sourceMappingURL=SemanticHTML.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SemanticHTML.d.ts","sourceRoot":"","sources":["../../src/seo/SemanticHTML.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;GAGG;AAEH,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAGD,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAQ/C,CAAC"}