@solercia/ui 0.7.0 → 0.7.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.
Files changed (4) hide show
  1. package/CHANGELOG.md +526 -523
  2. package/README.md +1187 -114
  3. package/llms.txt +37 -0
  4. package/package.json +15 -3
package/llms.txt ADDED
@@ -0,0 +1,37 @@
1
+ # @solercia/ui
2
+
3
+ > Themeable, host-agnostic Angular 22 design system (standalone, OnPush, signal inputs, zoneless-ready) with 57 public components and directives, multi-tenant theming through about 96 `--sol-*` CSS custom properties, a pluggable i18n contract and `ng add` scaffolding for Feature-Sliced Design projects. Full component reference with inputs, outputs and examples: README.md, section "Component reference".
4
+
5
+ ## Setup
6
+
7
+ - `ng add @solercia/ui` (scaffolds FSD layers, path aliases @app/@pages/@widgets/@features/@entities/@shared, theme and i18n adapters, @solercia/eslint-config, Husky and commitlint) or `npm install @solercia/ui @angular/cdk chart.js @dagrejs/dagre`.
8
+ - Providers: `provideTheme()`; optional `{ provide: THEME_SOURCE, useExisting: AppThemeSource }` (loadTheme(tenantId) -> ThemeFile | null), `{ provide: SOL_TENANT_RESOLVER, useExisting: ... }` (activeTenantId()), `{ provide: SOL_I18N, useExisting: I18nService }` (t, translate, activeLang, tMany; identity default).
9
+ - Without providers the bundled "Vértice" theme applies. `ThemeService`: activeTheme(), isDark(), logo(), toggleMode(), setDarkMode(), setTenantTheme().
10
+ - Import every symbol from '@solercia/ui' into the standalone component `imports`. Secondary entry points: '@solercia/ui/theme-studio', '@solercia/ui/login-appearance'.
11
+
12
+ ## Components by category
13
+
14
+ - Actions: sol-button, sol-icon-button, sol-icon.
15
+ - Forms (most are ControlValueAccessor): sol-input, sol-textarea, sol-form-field, sol-search-input, sol-number-input, sol-select, sol-checkbox, sol-toggle, sol-chip, sol-chip-group, sol-view-toggle, sol-date-picker, sol-day-picker, sol-rating-input, sol-file-upload, sol-rich-editor.
16
+ - Feedback and status: sol-badge, sol-message-status, sol-score-badge, sol-trend, sol-avatar, sol-star-rating, sol-spinner, sol-skeleton, sol-progress-bar, sol-empty-state, sol-tooltip, sol-notification-panel.
17
+ - Overlays: sol-modal, sol-drawer, sol-confirm-dialog.
18
+ - Navigation: sol-tabs, sol-pagination, sol-page-header, sol-stepper, sol-wizard with [solWizardStep], sol-scope-switcher, sol-tree with [solTreeNodeDef].
19
+ - Layout and motion: sol-card, [solReveal].
20
+ - Data: sol-data-table, sol-virtual-scroll, sol-chart, sol-timeline.
21
+ - Planning: sol-kanban-board, sol-kanban-column, sol-kanban-card, sol-kanban-drag-source, sol-calendar, sol-calendar-header, sol-calendar-grid, sol-flow-canvas.
22
+
23
+ ## Rules for agents
24
+
25
+ - Reuse an existing sol-* component before writing a new one.
26
+ - Style only with var(--sol-*); no hardcoded colors or fonts, no !important, no ::ng-deep (enforced by @solercia/eslint-config).
27
+ - Set required inputs; icon-only controls need ariaLabel. Inputs ending in `Key` take i18n keys resolved by SOL_I18N.
28
+ - Some defaults are Spanish (searchPlaceholder, actionsLabel, confirmLabel, file-upload label/hint): set them explicitly in other languages.
29
+ - Use <sol-chart> instead of importing chart.js and sol-kanban-* instead of @angular/cdk drag and drop.
30
+ - Cover loading (sol-skeleton, sol-spinner), empty (sol-empty-state), error and success states.
31
+ - Working examples: projects/showcase/src/app/pages/.
32
+
33
+ ## Links
34
+
35
+ - Repository: https://github.com/solercia-solutions/solercia-ui
36
+ - Lint preset: https://github.com/solercia-solutions/eslint-config
37
+ - Chat: https://github.com/solercia-solutions/solercia-chat
package/package.json CHANGED
@@ -1,12 +1,20 @@
1
1
  {
2
2
  "name": "@solercia/ui",
3
- "version": "0.7.0",
4
- "description": "Design system Solercia (componentes sol-*, theming agnóstico por puertos, contrato i18n y schematics ng add/ng generate) para proyectos Angular del ecosistema Solercia.",
3
+ "version": "0.7.2",
4
+ "description": "Solercia design system (sol-* components, port-based host-agnostic theming, i18n contract and ng add/ng generate schematics) for Angular projects in the Solercia ecosystem.",
5
+ "keywords": [
6
+ "angular",
7
+ "design-system",
8
+ "components",
9
+ "theming",
10
+ "signals",
11
+ "i18n"
12
+ ],
5
13
  "license": "Apache-2.0",
6
14
  "author": "Solercia Solutions SAS",
7
15
  "repository": {
8
16
  "type": "git",
9
- "url": "git+https://github.com/solercia-solutions/boki-front.git",
17
+ "url": "git+https://github.com/solercia-solutions/solercia-ui.git",
10
18
  "directory": "projects/solercia/ui"
11
19
  },
12
20
  "publishConfig": {
@@ -30,6 +38,10 @@
30
38
  "tslib": "^2.3.0"
31
39
  },
32
40
  "sideEffects": false,
41
+ "homepage": "https://github.com/solercia-solutions/solercia-ui#readme",
42
+ "bugs": {
43
+ "url": "https://github.com/solercia-solutions/solercia-ui/issues"
44
+ },
33
45
  "module": "fesm2022/solercia-ui.mjs",
34
46
  "typings": "types/solercia-ui.d.ts",
35
47
  "exports": {