@salesql/sql_components_vue3 3.5.0 → 3.7.0
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/README.md +18 -0
- package/dist/composables/useViewportClamp.d.ts +13 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +9 -0
- package/dist/index.es.js +1964 -1672
- package/dist/index.es.js.map +1 -1
- package/dist/sql_components_vue3.css +1 -1
- package/dist/ui/DsContactPlaceholder/DsContactPlaceholder.types.d.ts +20 -0
- package/dist/ui/DsContactPlaceholder/DsContactPlaceholder.vue.d.ts +34 -0
- package/dist/ui/DsContactPlaceholder/index.d.ts +2 -0
- package/dist/ui/DsPopover/DsPopover.types.d.ts +11 -2
- package/dist/ui/DsProfileCard/DsProfileCard.types.d.ts +14 -0
- package/dist/ui/DsProfileCard/DsProfileCard.vue.d.ts +74 -0
- package/dist/ui/DsProfileCard/index.d.ts +2 -0
- package/dist/ui/DsProfileCompanyCard/DsProfileCompanyCard.types.d.ts +41 -0
- package/dist/ui/DsProfileCompanyCard/DsProfileCompanyCard.vue.d.ts +141 -0
- package/dist/ui/DsProfileCompanyCard/index.d.ts +2 -0
- package/dist/ui/DsProfileGroupBar/DsProfileGroupBar.types.d.ts +4 -0
- package/dist/ui/DsProfileGroupBar/DsProfileGroupBar.vue.d.ts +22 -0
- package/dist/ui/DsProfileGroupBar/index.d.ts +2 -0
- package/llms-full.txt +244 -5
- package/llms.txt +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -173,6 +173,24 @@ por defecto), así que la clase sólo tiene que aportar familia y relleno.
|
|
|
173
173
|
> el bug sólo se veía del lado consumidor. El playground ahora carga exactamente
|
|
174
174
|
> lo mismo que la app.
|
|
175
175
|
|
|
176
|
+
### 🔤 Tipografía (Mulish) — REQUERIDA en la app consumidora
|
|
177
|
+
|
|
178
|
+
`typography.scss` declara `'Mulish', 'Muli', -apple-system, …`, pero la librería
|
|
179
|
+
**no envía la fuente**, por el mismo criterio. La app la carga; `frontend-app` ya lo
|
|
180
|
+
hace en su `index.html`:
|
|
181
|
+
|
|
182
|
+
```html
|
|
183
|
+
<link
|
|
184
|
+
rel="stylesheet"
|
|
185
|
+
href="https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap"
|
|
186
|
+
/>
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
Sin ella, el stack cae en la fuente del sistema, que a igual tamaño y peso compone
|
|
190
|
+
el texto un ~5% más ancho que Mulish. El playground de Histoire la carga desde
|
|
191
|
+
`src/assets/css/typeface.dev.scss` (sólo dev). Hasta SALESQL-3298 no la cargaba, y
|
|
192
|
+
cada texto se veía más grande que en el diseño aunque el CSS fuera idéntico.
|
|
193
|
+
|
|
176
194
|
---
|
|
177
195
|
|
|
178
196
|
## 🤖 Docs para agentes de IA (LLM)
|
|
@@ -12,11 +12,23 @@ export type ClampSide = 'top' | 'bottom' | 'left' | 'right' | 'over';
|
|
|
12
12
|
* DsPopover is 12-way).
|
|
13
13
|
*/
|
|
14
14
|
export type ClampPlacement = ClampSide | `${ClampSide}-start` | `${ClampSide}-end`;
|
|
15
|
-
|
|
15
|
+
/**
|
|
16
|
+
* Turns the main-axis FLIP on for `useViewportClamp` (DsPopover only — see the module
|
|
17
|
+
* header). `trigger` is the element the floating panel is placed against: DsPopover's root,
|
|
18
|
+
* whose rect a `teleported` anchor mirrors, so this is the same ref either way. `gap` mirrors
|
|
19
|
+
* the CSS gap between panel and trigger, so the free-space math matches what the CSS
|
|
20
|
+
* actually renders (DsPopover's `PANEL_GAP`, next to the `calc(100% + 6px)` it repeats).
|
|
21
|
+
*/
|
|
22
|
+
export interface ClampFlipOptions {
|
|
23
|
+
trigger: Ref<HTMLElement | null>;
|
|
24
|
+
gap: number;
|
|
25
|
+
}
|
|
26
|
+
export declare function useViewportClamp(elRef: Ref<HTMLElement | null>, placement: () => ClampPlacement, flip?: ClampFlipOptions): {
|
|
16
27
|
shift: Ref<number, number>;
|
|
17
28
|
shiftStyle: import("vue").ComputedRef<{
|
|
18
29
|
"--ds-overlay-shift": string;
|
|
19
30
|
} | null>;
|
|
31
|
+
resolvedPlacement: import("vue").ComputedRef<ClampPlacement>;
|
|
20
32
|
measure: () => Promise<void>;
|
|
21
33
|
activate: () => void;
|
|
22
34
|
deactivate: () => void;
|