@jegdev/sema-ui 0.0.6 → 0.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.
package/LICENCE ADDED
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright 2026 JEG Dev Studios
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md CHANGED
@@ -1,63 +1,63 @@
1
- # Sema UI
2
-
3
- ![NPM Version](https://img.shields.io/npm/v/@jegdev/sema-ui)
4
- ![License](https://img.shields.io/npm/l/@jegdev/sema-ui)
5
- ![Built with Lit](https://img.shields.io/badge/built%20with-Lit-blue)
6
-
7
- [Español](#español) | [English](#english)
8
-
9
- ---
10
-
11
- ## Español
12
-
13
- **La librería de componentes SEO-First.**
14
- Web components ligeros y accesibles que automatizan la visibilidad de tu sitio.
15
-
16
- Sema UI es un sistema de diseño minimalista construido con [Lit](https://lit.dev/). Proporciona componentes de interfaz de usuario hermosos y fáciles de copiar y pegar que inyectan automáticamente datos estructurados de **Schema.org** (JSON-LD) y manejan los estándares de accesibilidad por ti.
17
-
18
- ### Contenido
19
-
20
- - [Características](#características)
21
- - [Instalación](#instalación)
22
-
23
- ### Características
24
-
25
- - **🚀 Extremadamente Rápido:** Construido sobre Web Components nativos. Cero sobrecarga de framework.
26
- - **🔍 Automatización SEO:** Componentes como `<sema-brand>` o `<sema-breadcrumb>` generan automáticamente JSON-LD compatible con Google.
27
- - **♿ Accesible:** Cumple con WAI-ARIA desde el primer momento.
28
- - **🎨 Diseño Minimalista:** Inspirado en estéticas modernas (Shadcn/Vercel), listo para ser personalizado.
29
- - **⚛️ Agnóstico al Framework:** Funciona en React, Vue, Angular, Svelte o HTML puro.
30
-
31
- ### Instalación
32
-
33
- ```bash
34
- npm install @jegdev/sema-ui
35
- ```
36
-
37
- ---
38
-
39
- ## English
40
-
41
- **The SEO-First Component Library.**
42
- Lightweight, accessible web components that automate your site's visibility.
43
-
44
- Sema UI is a minimalist design system built with [Lit](https://lit.dev/). It provides beautiful, copy-paste friendly UI components that automatically inject **Schema.org** structured data (JSON-LD) and handle accessibility standards for you.
45
-
46
- ### Contents
47
-
48
- - Features
49
- - Installation
50
-
51
- ### Features
52
-
53
- - **🚀 Blazing Fast:** Built on native Web Components. Zero framework overhead.
54
- - **🔍 SEO Automations:** Components like `<sema-brand>` or `<sema-breadcrumb>` automatically generate Google-compliant JSON-LD.
55
- - **♿ Accessible:** WAI-ARIA compliant out of the box.
56
- - **🎨 Minimalist Design:** Inspired by modern aesthetics (Shadcn/Vercel), ready to be customized.
57
- - **⚛️ Framework Agnostic:** Works in React, Vue, Angular, Svelte, or vanilla HTML.
58
-
59
- ### Installation
60
-
61
- ```bash
62
- npm install @jegdev/sema-ui
63
- ```
1
+ # Sema UI
2
+
3
+ ![NPM Version](https://img.shields.io/npm/v/@jegdev/sema-ui)
4
+ ![License](https://img.shields.io/npm/l/@jegdev/sema-ui)
5
+ ![Built with Lit](https://img.shields.io/badge/built%20with-Lit-blue)
6
+
7
+ [Español](#español) | [English](#english)
8
+
9
+ ---
10
+
11
+ ## Español
12
+
13
+ **La librería de componentes SEO-First.**
14
+ Web components ligeros y accesibles que automatizan la visibilidad de tu sitio.
15
+
16
+ Sema UI es un sistema de diseño minimalista construido con [Lit](https://lit.dev/). Proporciona componentes de interfaz de usuario hermosos y fáciles de copiar y pegar que inyectan automáticamente datos estructurados de **Schema.org** (JSON-LD) y manejan los estándares de accesibilidad por ti.
17
+
18
+ ### Contenido
19
+
20
+ - [Características](#características)
21
+ - [Instalación](#instalación)
22
+
23
+ ### Características
24
+
25
+ - **🚀 Extremadamente Rápido:** Construido sobre Web Components nativos. Cero sobrecarga de framework.
26
+ - **🔍 Automatización SEO:** Componentes como `<sema-brand>` o `<sema-breadcrumb>` generan automáticamente JSON-LD compatible con Google.
27
+ - **♿ Accesible:** Cumple con WAI-ARIA desde el primer momento.
28
+ - **🎨 Diseño Minimalista:** Inspirado en estéticas modernas (Shadcn/Vercel), listo para ser personalizado.
29
+ - **⚛️ Agnóstico al Framework:** Funciona en React, Vue, Angular, Svelte o HTML puro.
30
+
31
+ ### Instalación
32
+
33
+ ```bash
34
+ npm install @jegdev/sema-ui
35
+ ```
36
+
37
+ ---
38
+
39
+ ## English
40
+
41
+ **The SEO-First Component Library.**
42
+ Lightweight, accessible web components that automate your site's visibility.
43
+
44
+ Sema UI is a minimalist design system built with [Lit](https://lit.dev/). It provides beautiful, copy-paste friendly UI components that automatically inject **Schema.org** structured data (JSON-LD) and handle accessibility standards for you.
45
+
46
+ ### Contents
47
+
48
+ - Features
49
+ - Installation
50
+
51
+ ### Features
52
+
53
+ - **🚀 Blazing Fast:** Built on native Web Components. Zero framework overhead.
54
+ - **🔍 SEO Automations:** Components like `<sema-brand>` or `<sema-breadcrumb>` automatically generate Google-compliant JSON-LD.
55
+ - **♿ Accessible:** WAI-ARIA compliant out of the box.
56
+ - **🎨 Minimalist Design:** Inspired by modern aesthetics (Shadcn/Vercel), ready to be customized.
57
+ - **⚛️ Framework Agnostic:** Works in React, Vue, Angular, Svelte, or vanilla HTML.
58
+
59
+ ### Installation
60
+
61
+ ```bash
62
+ npm install @jegdev/sema-ui
63
+ ```
@@ -0,0 +1,76 @@
1
+ import { CSSResult } from 'lit';
2
+ import { LitElement } from 'lit';
3
+ import { TemplateResult } from 'lit-html';
4
+
5
+ declare interface DropdownCategory {
6
+ category: string;
7
+ items: DropdownItem[];
8
+ }
9
+
10
+ declare interface DropdownItem {
11
+ label: string;
12
+ path?: string;
13
+ }
14
+
15
+ export declare class SemaAccordion extends LitElement {
16
+ static styles: CSSResult[];
17
+ question: string;
18
+ answer: string;
19
+ color: string;
20
+ open: true | Boolean;
21
+ render(): TemplateResult<1>;
22
+ _changeIsOpen(): void;
23
+ }
24
+
25
+ export declare class SemaAlerts extends LitElement {
26
+ static styles: CSSResult[];
27
+ type: 'info' | 'warn' | 'error' | string;
28
+ title: string;
29
+ message: string;
30
+ render(): TemplateResult<1>;
31
+ }
32
+
33
+ export declare class SemaBreadcrumbs extends LitElement {
34
+ static styles: CSSResult[];
35
+ items: any[];
36
+ color: string;
37
+ render(): TemplateResult<1>;
38
+ }
39
+
40
+ export declare class SemaButton extends LitElement {
41
+ static styles: CSSResult[];
42
+ mode: 'outline' | 'ghost' | '';
43
+ kind: 'link' | 'button';
44
+ custom: 'on' | 'off';
45
+ firstColor?: string;
46
+ secondaryColor?: string;
47
+ size: 'sm' | 'md' | 'lg' | 'full';
48
+ fontSize: 'sm' | 'md' | 'lg' | 'xl';
49
+ url: string;
50
+ target: '_blank' | '_self';
51
+ altText: string;
52
+ render(): TemplateResult<1>;
53
+ }
54
+
55
+ export declare class SemaDropdown extends LitElement {
56
+ static styles: CSSResult[];
57
+ label: string;
58
+ color: string;
59
+ bgColor: string;
60
+ open: boolean;
61
+ items: (DropdownItem | DropdownCategory)[];
62
+ render(): TemplateResult<1>;
63
+ _changeIsOpen(): void;
64
+ }
65
+
66
+ export declare class SemaFaqs extends LitElement {
67
+ static styles: CSSResult[];
68
+ title: string;
69
+ color: string;
70
+ faqs: any[];
71
+ render(): TemplateResult<1>;
72
+ }
73
+
74
+ export declare const version = "0.0.1";
75
+
76
+ export { }