@roxyapi/ui 0.19.0 → 0.19.1

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 (32) hide show
  1. package/components-catalog.json +109 -109
  2. package/dist/cdn/components/angel-number-card.js +1 -1
  3. package/dist/cdn/components/angel-number-card.js.map +2 -2
  4. package/dist/cdn/components/angel-number-lookup.js +1 -1
  5. package/dist/cdn/components/angel-number-lookup.js.map +2 -2
  6. package/dist/cdn/components/choghadiya-grid.js +3 -3
  7. package/dist/cdn/components/choghadiya-grid.js.map +2 -2
  8. package/dist/cdn/components/endpoint-form.js +1 -1
  9. package/dist/cdn/components/endpoint-form.js.map +1 -1
  10. package/dist/cdn/roxy-ui.js +3 -3
  11. package/dist/cdn/roxy-ui.js.map +2 -2
  12. package/dist/components/angel-number-card.d.ts.map +1 -1
  13. package/dist/components/angel-number-card.js +1 -1
  14. package/dist/components/angel-number-card.js.map +2 -2
  15. package/dist/components/angel-number-lookup.d.ts.map +1 -1
  16. package/dist/components/angel-number-lookup.js +1 -1
  17. package/dist/components/angel-number-lookup.js.map +2 -2
  18. package/dist/components/choghadiya-grid.d.ts.map +1 -1
  19. package/dist/components/choghadiya-grid.js +1 -1
  20. package/dist/components/choghadiya-grid.js.map +2 -2
  21. package/dist/components/endpoint-form.js +1 -1
  22. package/dist/components/endpoint-form.js.map +1 -1
  23. package/dist/index.cjs +3 -3
  24. package/dist/index.cjs.map +2 -2
  25. package/dist/index.js +3 -3
  26. package/dist/index.js.map +2 -2
  27. package/dist/version.d.ts +1 -1
  28. package/package.json +1 -1
  29. package/src/components/angel-number-card.ts +8 -0
  30. package/src/components/angel-number-lookup.ts +8 -0
  31. package/src/components/choghadiya-grid.ts +6 -1
  32. package/src/version.ts +1 -1
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const ROXY_UI_VERSION = "0.19.0";
1
+ export declare const ROXY_UI_VERSION = "0.19.1";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roxyapi/ui",
3
- "version": "0.19.0",
3
+ "version": "0.19.1",
4
4
  "description": "Web components for the RoxyAPI catalog. Drop-in charts, tables, cards, forms for astrology, tarot, numerology, biorhythm, I Ching, crystals, dreams, angel numbers, and more. One key, beautiful in 30 minutes.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -28,6 +28,14 @@ export class RoxyAngelNumberCard extends RoxyDataElement<GetAngelNumberResponse>
28
28
  align-items: center;
29
29
  gap: var(--roxy-space-md, 1rem);
30
30
  }
31
+ /* The text column beside the numeral must be allowed to WRAP. As a flex
32
+ * item it keeps min-width: auto, so a long title pushed the whole hero
33
+ * past the card edge instead of breaking: the live response for 1111 is
34
+ * "Spiritual Awakening, Manifestation, and Alignment", which overhung by
35
+ * 5px on a phone while the shorter demo title fit and hid it. */
36
+ .hero > div {
37
+ min-width: 0;
38
+ }
31
39
  .numeral {
32
40
  font-size: 3rem;
33
41
  line-height: 1;
@@ -34,6 +34,14 @@ export class RoxyAngelNumberLookup extends RoxyDataElement<AnalyzeNumberSequence
34
34
  align-items: center;
35
35
  gap: var(--roxy-space-md, 1rem);
36
36
  }
37
+ /* The text column beside the numeral must be allowed to WRAP. As a flex
38
+ * item it keeps min-width: auto, so a long title pushed the whole hero
39
+ * past the card edge instead of breaking: the live response for 1111 is
40
+ * "Spiritual Awakening, Manifestation, and Alignment", which overhung by
41
+ * 5px on a phone while the shorter demo title fit and hid it. */
42
+ .hero > div {
43
+ min-width: 0;
44
+ }
37
45
  .numeral {
38
46
  font-size: 3rem;
39
47
  line-height: 1;
@@ -65,7 +65,10 @@ export class RoxyChoghadiyaGrid extends RoxyDataElement<GetChoghadiyaResponse> {
65
65
  }
66
66
  .cho-tile {
67
67
  display: grid;
68
- grid-template-columns: 1fr auto;
68
+ /* minmax(0, 1fr), never a bare 1fr: a 1fr track keeps an automatic
69
+ * min-content floor, so a long muhurta name widened the tile past the
70
+ * card instead of wrapping, and pushed the time column out with it. */
71
+ grid-template-columns: minmax(0, 1fr) auto;
69
72
  align-items: center;
70
73
  gap: 0.25em 0.75em;
71
74
  padding: 0.55em 0.85em;
@@ -105,6 +108,8 @@ export class RoxyChoghadiyaGrid extends RoxyDataElement<GetChoghadiyaResponse> {
105
108
  font-size: var(--roxy-text-base, 1rem);
106
109
  font-weight: var(--roxy-weight-bold, 600);
107
110
  grid-column: 1;
111
+ min-width: 0;
112
+ overflow-wrap: anywhere;
108
113
  }
109
114
  .tile-time {
110
115
  font-size: var(--roxy-text-xs, 0.75rem);
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by scripts/sync-version.ts. Do not edit.
2
- export const ROXY_UI_VERSION = '0.19.0';
2
+ export const ROXY_UI_VERSION = '0.19.1';