@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.
Files changed (78) hide show
  1. package/AGENTS.md +3 -1
  2. package/README.md +9 -1
  3. package/components-catalog.json +125 -125
  4. package/dist/cdn/components/endpoint-form.js +1 -1
  5. package/dist/cdn/components/endpoint-form.js.map +1 -1
  6. package/dist/cdn/components/natal-chart.js.map +2 -2
  7. package/dist/cdn/components/relocation-wheel.js.map +2 -2
  8. package/dist/cdn/components/transit-wheel.js +12 -12
  9. package/dist/cdn/components/transit-wheel.js.map +3 -3
  10. package/dist/cdn/locales/de.js +1 -1
  11. package/dist/cdn/locales/de.js.map +2 -2
  12. package/dist/cdn/locales/es.js +1 -1
  13. package/dist/cdn/locales/es.js.map +2 -2
  14. package/dist/cdn/locales/fr.js +1 -1
  15. package/dist/cdn/locales/fr.js.map +2 -2
  16. package/dist/cdn/locales/hi.js +1 -1
  17. package/dist/cdn/locales/hi.js.map +2 -2
  18. package/dist/cdn/locales/pt.js +1 -1
  19. package/dist/cdn/locales/pt.js.map +2 -2
  20. package/dist/cdn/locales/ru.js +1 -1
  21. package/dist/cdn/locales/ru.js.map +2 -2
  22. package/dist/cdn/locales/tr.js +1 -1
  23. package/dist/cdn/locales/tr.js.map +2 -2
  24. package/dist/cdn/roxy-ui.js +17 -17
  25. package/dist/cdn/roxy-ui.js.map +3 -3
  26. package/dist/components/endpoint-form.js +1 -1
  27. package/dist/components/endpoint-form.js.map +1 -1
  28. package/dist/components/natal-chart.d.ts +4 -0
  29. package/dist/components/natal-chart.d.ts.map +1 -1
  30. package/dist/components/natal-chart.js.map +2 -2
  31. package/dist/components/relocation-wheel.js.map +2 -2
  32. package/dist/components/transit-wheel.d.ts +79 -37
  33. package/dist/components/transit-wheel.d.ts.map +1 -1
  34. package/dist/components/transit-wheel.js +11 -11
  35. package/dist/components/transit-wheel.js.map +3 -3
  36. package/dist/i18n/chrome-strings.d.ts +1 -1
  37. package/dist/i18n/chrome-strings.d.ts.map +1 -1
  38. package/dist/index.cjs +5 -5
  39. package/dist/index.cjs.map +3 -3
  40. package/dist/index.js +5 -5
  41. package/dist/index.js.map +3 -3
  42. package/dist/locales/de.d.ts.map +1 -1
  43. package/dist/locales/de.js +1 -1
  44. package/dist/locales/de.js.map +2 -2
  45. package/dist/locales/es.d.ts.map +1 -1
  46. package/dist/locales/es.js +1 -1
  47. package/dist/locales/es.js.map +2 -2
  48. package/dist/locales/fr.d.ts.map +1 -1
  49. package/dist/locales/fr.js +1 -1
  50. package/dist/locales/fr.js.map +2 -2
  51. package/dist/locales/hi.d.ts.map +1 -1
  52. package/dist/locales/hi.js +1 -1
  53. package/dist/locales/hi.js.map +2 -2
  54. package/dist/locales/pt.d.ts.map +1 -1
  55. package/dist/locales/pt.js +1 -1
  56. package/dist/locales/pt.js.map +2 -2
  57. package/dist/locales/ru.d.ts.map +1 -1
  58. package/dist/locales/ru.js +1 -1
  59. package/dist/locales/ru.js.map +2 -2
  60. package/dist/locales/tr.d.ts.map +1 -1
  61. package/dist/locales/tr.js +1 -1
  62. package/dist/locales/tr.js.map +2 -2
  63. package/dist/types/types.gen.d.ts +46 -0
  64. package/dist/types/types.gen.d.ts.map +1 -1
  65. package/dist/version.d.ts +1 -1
  66. package/package.json +1 -1
  67. package/src/components/natal-chart.ts +11 -1
  68. package/src/components/transit-wheel.ts +115 -49
  69. package/src/i18n/chrome-strings.ts +1 -0
  70. package/src/locales/de.ts +1 -0
  71. package/src/locales/es.ts +2 -0
  72. package/src/locales/fr.ts +1 -0
  73. package/src/locales/hi.ts +1 -0
  74. package/src/locales/pt.ts +1 -0
  75. package/src/locales/ru.ts +1 -0
  76. package/src/locales/tr.ts +1 -0
  77. package/src/types/types.gen.ts +46 -0
  78. 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.