@roxyapi/ui 0.25.0 → 0.26.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/AGENTS.md +3 -1
- package/README.md +9 -1
- package/components-catalog.json +125 -125
- package/dist/cdn/components/endpoint-form.js +1 -1
- package/dist/cdn/components/endpoint-form.js.map +1 -1
- package/dist/cdn/components/natal-chart.js.map +2 -2
- package/dist/cdn/components/relocation-wheel.js.map +2 -2
- package/dist/cdn/components/transit-wheel.js +12 -12
- package/dist/cdn/components/transit-wheel.js.map +3 -3
- package/dist/cdn/locales/de.js +1 -1
- package/dist/cdn/locales/de.js.map +2 -2
- package/dist/cdn/locales/es.js +1 -1
- package/dist/cdn/locales/es.js.map +2 -2
- package/dist/cdn/locales/fr.js +1 -1
- package/dist/cdn/locales/fr.js.map +2 -2
- package/dist/cdn/locales/hi.js +1 -1
- package/dist/cdn/locales/hi.js.map +2 -2
- package/dist/cdn/locales/pt.js +1 -1
- package/dist/cdn/locales/pt.js.map +2 -2
- package/dist/cdn/locales/ru.js +1 -1
- package/dist/cdn/locales/ru.js.map +2 -2
- package/dist/cdn/locales/tr.js +1 -1
- package/dist/cdn/locales/tr.js.map +2 -2
- package/dist/cdn/roxy-ui.js +17 -17
- package/dist/cdn/roxy-ui.js.map +3 -3
- package/dist/components/endpoint-form.js +1 -1
- package/dist/components/endpoint-form.js.map +1 -1
- package/dist/components/natal-chart.d.ts +4 -0
- package/dist/components/natal-chart.d.ts.map +1 -1
- package/dist/components/natal-chart.js.map +2 -2
- package/dist/components/relocation-wheel.js.map +2 -2
- package/dist/components/transit-wheel.d.ts +79 -37
- package/dist/components/transit-wheel.d.ts.map +1 -1
- package/dist/components/transit-wheel.js +11 -11
- package/dist/components/transit-wheel.js.map +3 -3
- package/dist/i18n/chrome-strings.d.ts +1 -1
- package/dist/i18n/chrome-strings.d.ts.map +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +3 -3
- package/dist/index.js +5 -5
- package/dist/index.js.map +3 -3
- package/dist/locales/de.d.ts.map +1 -1
- package/dist/locales/de.js +1 -1
- package/dist/locales/de.js.map +2 -2
- package/dist/locales/es.d.ts.map +1 -1
- package/dist/locales/es.js +1 -1
- package/dist/locales/es.js.map +2 -2
- package/dist/locales/fr.d.ts.map +1 -1
- package/dist/locales/fr.js +1 -1
- package/dist/locales/fr.js.map +2 -2
- package/dist/locales/hi.d.ts.map +1 -1
- package/dist/locales/hi.js +1 -1
- package/dist/locales/hi.js.map +2 -2
- package/dist/locales/pt.d.ts.map +1 -1
- package/dist/locales/pt.js +1 -1
- package/dist/locales/pt.js.map +2 -2
- package/dist/locales/ru.d.ts.map +1 -1
- package/dist/locales/ru.js +1 -1
- package/dist/locales/ru.js.map +2 -2
- package/dist/locales/tr.d.ts.map +1 -1
- package/dist/locales/tr.js +1 -1
- package/dist/locales/tr.js.map +2 -2
- package/dist/types/types.gen.d.ts +46 -0
- package/dist/types/types.gen.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/natal-chart.ts +11 -1
- package/src/components/transit-wheel.ts +115 -49
- package/src/i18n/chrome-strings.ts +1 -0
- package/src/locales/de.ts +1 -0
- package/src/locales/es.ts +2 -0
- package/src/locales/fr.ts +1 -0
- package/src/locales/hi.ts +1 -0
- package/src/locales/pt.ts +1 -0
- package/src/locales/ru.ts +1 -0
- package/src/locales/tr.ts +1 -0
- package/src/types/types.gen.ts +46 -0
- package/src/version.ts +1 -1
package/AGENTS.md
CHANGED
|
@@ -218,6 +218,8 @@ The full set: `RoxyNatalChart` `houseSystem`, `RoxyHoroscopeCard` `period`, `Rox
|
|
|
218
218
|
|
|
219
219
|
Every component takes `hide-readings` (`hideReadings` in React and Vue). It renders the chart and the data and leaves the interpretation out of the page: wheels, maps, tables, grids, legends, badges and every number stay, the interpretive prose goes. Off by default, so a component that does not set it is unchanged.
|
|
220
220
|
|
|
221
|
+
The line is drawn on the CONTENT, never on the block, so a block that reads like analysis still stays when it is made of measurements. `<roxy-natal-chart>` and `<roxy-aspects-table>` both render the `patterns` payload and both make the same cut: the figure name, element, modality, tightness and planet chips are geometry and survive, the paragraph under them is the reading and goes. To remove such a block entirely, hide its part instead: `roxy-natal-chart::part(patterns) { display: none }`.
|
|
222
|
+
|
|
221
223
|
```html
|
|
222
224
|
<roxy-natal-chart hide-readings></roxy-natal-chart>
|
|
223
225
|
```
|
|
@@ -608,7 +610,7 @@ roxy-natal-chart::part(card) {
|
|
|
608
610
|
| `details` | The numeric summary: pills, badges, stat lists, fact tiles |
|
|
609
611
|
| `table` | A data table, or the scroll box around one |
|
|
610
612
|
| `tablist`, `tab`, `panel` | The view switch and the panel it governs |
|
|
611
|
-
| `section` | Any structural block, paired with a specific name (`section patterns`) |
|
|
613
|
+
| `section` | Any structural block, paired with a specific name (`section patterns`), so `::part(patterns)` targets that block alone |
|
|
612
614
|
| `readings` | The interpretation accordion |
|
|
613
615
|
| `reading` | One disclosure card inside it |
|
|
614
616
|
| `form`, `loading`, `error`, `attribution` | The built-in states |
|
package/README.md
CHANGED
|
@@ -704,6 +704,12 @@ roxy-natal-chart::part(readings) {
|
|
|
704
704
|
display: none;
|
|
705
705
|
}
|
|
706
706
|
|
|
707
|
+
/* A single named block. Every structural section carries `section` plus its own
|
|
708
|
+
name, so the chart patterns block goes without touching anything else. */
|
|
709
|
+
roxy-natal-chart::part(patterns) {
|
|
710
|
+
display: none;
|
|
711
|
+
}
|
|
712
|
+
|
|
707
713
|
/* Or restyle it. */
|
|
708
714
|
roxy-natal-chart::part(card) {
|
|
709
715
|
border: 0;
|
|
@@ -711,7 +717,7 @@ roxy-natal-chart::part(card) {
|
|
|
711
717
|
}
|
|
712
718
|
```
|
|
713
719
|
|
|
714
|
-
The parts: `card`, `header`, `chart`, `legend`, `details`, `table`, `tablist`, `tab`, `panel`, `section`, `readings`, `reading`, plus `form`, `loading`, `error` and `attribution` on the built-in states.
|
|
720
|
+
The parts: `card`, `header`, `chart`, `legend`, `details`, `table`, `tablist`, `tab`, `panel`, `section`, `readings`, `reading`, plus `form`, `loading`, `error` and `attribution` on the built-in states. A `section` also carries its own name, which is what `::part(patterns)` above targets, so any single block can be dropped or restyled on its own.
|
|
715
721
|
|
|
716
722
|
### Chart without the written report
|
|
717
723
|
|
|
@@ -727,6 +733,8 @@ For the same outcome in markup rather than CSS, set `hide-readings`. The compone
|
|
|
727
733
|
|
|
728
734
|
It is off by default, so nothing changes until you ask for it. Wheels, maps, tables, grids, legends, badges and every number stay; the interpretive prose is what goes.
|
|
729
735
|
|
|
736
|
+
That line is drawn on the content, not on the block, so a block made of measurements stays even when it reads like analysis. The clearest case is the natal chart patterns block: a T-Square or a Stellium is a geometric fact about where the bodies sit, so the figure, its element and modality, its tightness and its planets all survive, and only the paragraph under them goes. To drop the block itself, hide its part: `roxy-natal-chart::part(patterns) { display: none }`.
|
|
737
|
+
|
|
730
738
|
#### Which components it applies to
|
|
731
739
|
|
|
732
740
|
Every component that renders a written interpretation acts on it, so you never have to test a tag to find out. A pure chart or table has no interpretation to take away, so on those it is a no-op by definition and there is nothing to know.
|