@roxyapi/ui 0.35.0 → 0.36.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 +1 -1
- package/README.md +8 -1
- package/THEMING.md +3 -1
- package/components-catalog.json +141 -141
- package/dist/cdn/components/endpoint-form.js +1 -1
- package/dist/cdn/components/endpoint-form.js.map +1 -1
- 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 +1 -1
- package/dist/cdn/roxy-ui.js.map +1 -1
- package/dist/components/endpoint-form.js +1 -1
- package/dist/components/endpoint-form.js.map +1 -1
- package/dist/i18n/chrome-strings.d.ts +1 -1
- package/dist/i18n/chrome-strings.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- 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/schemas/get--angel-numbers-lookup.json +1 -1
- package/dist/schemas/get--angel-numbers-numbers-number.json +1 -1
- package/dist/schemas/get--angel-numbers-numbers.json +1 -1
- package/dist/schemas/get--ayurveda-daily.json +1 -0
- package/dist/schemas/get--ayurveda-doshas-id.json +1 -0
- package/dist/schemas/get--ayurveda-doshas.json +1 -0
- package/dist/schemas/get--ayurveda-qualities.json +1 -0
- package/dist/schemas/get--ayurveda-tastes.json +1 -0
- package/dist/schemas/get--crystals-birthstone-month.json +1 -1
- package/dist/schemas/get--crystals-chakra-chakra.json +1 -1
- package/dist/schemas/get--crystals-colors.json +1 -1
- package/dist/schemas/get--crystals-element-element.json +1 -1
- package/dist/schemas/get--crystals-id.json +1 -1
- package/dist/schemas/get--crystals-pairings-id.json +1 -1
- package/dist/schemas/get--crystals-planets.json +1 -1
- package/dist/schemas/get--crystals-random.json +1 -1
- package/dist/schemas/get--crystals-search.json +1 -1
- package/dist/schemas/get--crystals-zodiac-sign.json +1 -1
- package/dist/schemas/get--crystals.json +1 -1
- package/dist/schemas/get--dreams-symbols-id.json +1 -1
- package/dist/schemas/get--dreams-symbols-letters.json +1 -1
- package/dist/schemas/get--dreams-symbols-random.json +1 -1
- package/dist/schemas/get--iching-hexagrams-random.json +1 -1
- package/dist/schemas/get--kabbalah-ciphers.json +1 -0
- package/dist/schemas/get--kabbalah-daily.json +1 -0
- package/dist/schemas/get--kabbalah-letters-id.json +1 -0
- package/dist/schemas/get--kabbalah-letters.json +1 -0
- package/dist/schemas/get--kabbalah-names-number.json +1 -0
- package/dist/schemas/get--kabbalah-names.json +1 -0
- package/dist/schemas/get--kabbalah-sephirot-id.json +1 -0
- package/dist/schemas/get--kabbalah-tree.json +1 -0
- package/dist/schemas/get--mesoamerican-astrology-aztec-daily.json +1 -0
- package/dist/schemas/get--mesoamerican-astrology-aztec-day-signs-id.json +1 -0
- package/dist/schemas/get--mesoamerican-astrology-aztec-day-signs.json +1 -0
- package/dist/schemas/get--mesoamerican-astrology-aztec-trecenas-number.json +1 -0
- package/dist/schemas/get--mesoamerican-astrology-aztec-trecenas.json +1 -0
- package/dist/schemas/get--mesoamerican-astrology-mayan-calendar-monthly.json +1 -0
- package/dist/schemas/get--mesoamerican-astrology-mayan-daily.json +1 -0
- package/dist/schemas/get--mesoamerican-astrology-mayan-day-signs-id.json +1 -0
- package/dist/schemas/get--mesoamerican-astrology-mayan-day-signs.json +1 -0
- package/dist/schemas/get--mesoamerican-astrology-mayan-haab-months-id.json +1 -0
- package/dist/schemas/get--mesoamerican-astrology-mayan-haab-months.json +1 -0
- package/dist/schemas/get--mesoamerican-astrology-mayan-trecenas-number.json +1 -0
- package/dist/schemas/get--mesoamerican-astrology-mayan-trecenas.json +1 -0
- package/dist/schemas/get--tarot-cards-id.json +1 -1
- package/dist/schemas/get--vastu-devatas-id.json +1 -0
- package/dist/schemas/get--vastu-devatas.json +1 -0
- package/dist/schemas/get--vastu-directions-id.json +1 -0
- package/dist/schemas/get--vastu-directions.json +1 -0
- package/dist/schemas/post--angel-numbers-daily.json +1 -1
- package/dist/schemas/post--astrology-compatibility-score.json +1 -1
- package/dist/schemas/post--astrology-houses.json +1 -1
- package/dist/schemas/post--ayurveda-constitution.json +1 -0
- package/dist/schemas/post--ayurveda-dinacharya.json +1 -0
- package/dist/schemas/post--ayurveda-ritucharya.json +1 -0
- package/dist/schemas/post--crystals-daily.json +1 -1
- package/dist/schemas/post--dreams-daily.json +1 -1
- package/dist/schemas/post--iching-daily-cast.json +1 -1
- package/dist/schemas/post--iching-daily.json +1 -1
- package/dist/schemas/post--kabbalah-birth-profile.json +1 -0
- package/dist/schemas/post--kabbalah-compatibility.json +1 -0
- package/dist/schemas/post--kabbalah-gematria.json +1 -0
- package/dist/schemas/post--kabbalah-name-profile.json +1 -0
- package/dist/schemas/post--mesoamerican-astrology-aztec-tonalpohualli.json +1 -0
- package/dist/schemas/post--mesoamerican-astrology-mayan-chart.json +1 -0
- package/dist/schemas/post--mesoamerican-astrology-mayan-compatibility.json +1 -0
- package/dist/schemas/post--mesoamerican-astrology-mayan-long-count-convert.json +1 -0
- package/dist/schemas/post--mesoamerican-astrology-mayan-tzolkin.json +1 -0
- package/dist/schemas/post--tarot-daily.json +1 -1
- package/dist/schemas/post--tarot-draw.json +1 -1
- package/dist/schemas/post--tarot-spreads-career.json +1 -1
- package/dist/schemas/post--tarot-spreads-celtic-cross.json +1 -1
- package/dist/schemas/post--tarot-spreads-custom.json +1 -1
- package/dist/schemas/post--tarot-spreads-love.json +1 -1
- package/dist/schemas/post--tarot-spreads-three-card.json +1 -1
- package/dist/schemas/post--tarot-yes-no.json +1 -1
- package/dist/schemas/post--vastu-ayadi.json +1 -0
- package/dist/schemas/post--vastu-entrance.json +1 -0
- package/dist/schemas/post--vastu-mandala.json +1 -0
- package/dist/schemas/post--vastu-plot.json +1 -0
- package/dist/schemas/post--vastu-rooms.json +1 -0
- package/dist/schemas/post--vastu-timing-griha-pravesh.json +1 -0
- package/dist/schemas/post--vedic-astrology-aspects-lunar.json +1 -1
- package/dist/schemas/post--vedic-astrology-aspects-monthly.json +1 -1
- package/dist/schemas/post--vedic-astrology-aspects.json +1 -1
- package/dist/schemas/post--vedic-astrology-ecliptic-crossings.json +1 -1
- package/dist/schemas/post--vedic-astrology-planetary-positions-monthly.json +1 -1
- package/dist/schemas/post--vedic-astrology-transit-monthly.json +1 -1
- package/dist/schemas/post--vedic-astrology-transit.json +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/types.gen.d.ts +15342 -2593
- package/dist/types/types.gen.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/i18n/chrome-strings.ts +3 -0
- package/src/locales/de.ts +2 -0
- package/src/locales/es.ts +2 -0
- package/src/locales/field-labels/de.ts +152 -0
- package/src/locales/field-labels/es.ts +152 -0
- package/src/locales/field-labels/fr.ts +152 -0
- package/src/locales/field-labels/hi.ts +152 -0
- package/src/locales/field-labels/pt.ts +152 -0
- package/src/locales/field-labels/ru.ts +152 -0
- package/src/locales/field-labels/tr.ts +152 -0
- package/src/locales/fr.ts +2 -0
- package/src/locales/hi.ts +2 -0
- package/src/locales/pt.ts +2 -0
- package/src/locales/ru.ts +2 -0
- package/src/locales/tr.ts +2 -0
- package/src/types/index.ts +1 -1
- package/src/types/types.gen.ts +15558 -2566
- package/src/version.ts +1 -1
package/AGENTS.md
CHANGED
|
@@ -323,7 +323,7 @@ If you theme dark differently, set it in your dark block too, exactly as you wou
|
|
|
323
323
|
[data-theme='dark'] { --roxy-accent: #a78bfa; }
|
|
324
324
|
```
|
|
325
325
|
|
|
326
|
-
Do not hardcode `--roxy-accent-ink`: you will pin it to one hue and it will stop tracking your brand. Dark mode already works with no wiring, via `prefers-color-scheme`, a `.dark` class, or `[data-theme='dark']` on any ancestor.
|
|
326
|
+
If the page is not white or near black, also set `--roxy-surface`, the card a component paints, to the surface you place it on (and `--roxy-secondary`, the label ink, if your palette is warm): `--roxy-bg` alone leaves the card at its default sheet. Do not hardcode `--roxy-accent-ink`: you will pin it to one hue and it will stop tracking your brand. Dark mode already works with no wiring, via `prefers-color-scheme`, a `.dark` class, or `[data-theme='dark']` on any ancestor.
|
|
327
327
|
|
|
328
328
|
## Integration patterns
|
|
329
329
|
|
package/README.md
CHANGED
|
@@ -54,9 +54,12 @@ Light, dark, your brand. Set `--roxy-accent` on `:root` and every component foll
|
|
|
54
54
|
|
|
55
55
|
```css
|
|
56
56
|
:root {
|
|
57
|
-
/* Surface
|
|
57
|
+
/* Surface. --roxy-surface is the card a component paints, so match it to the
|
|
58
|
+
surface you place the component on; --roxy-bg is the field behind an input. */
|
|
59
|
+
--roxy-surface: #ffffff;
|
|
58
60
|
--roxy-bg: #ffffff;
|
|
59
61
|
--roxy-fg: #0a0a0a;
|
|
62
|
+
--roxy-secondary: #475569;
|
|
60
63
|
--roxy-muted: #71717a;
|
|
61
64
|
--roxy-border: #e4e4e7;
|
|
62
65
|
|
|
@@ -77,8 +80,10 @@ Light, dark, your brand. Set `--roxy-accent` on `:root` and every component foll
|
|
|
77
80
|
}
|
|
78
81
|
|
|
79
82
|
[data-theme="dark"] {
|
|
83
|
+
--roxy-surface: #18181b;
|
|
80
84
|
--roxy-bg: #0a0a0a;
|
|
81
85
|
--roxy-fg: #fafafa;
|
|
86
|
+
--roxy-secondary: #94a3b8;
|
|
82
87
|
--roxy-muted: #a1a1aa;
|
|
83
88
|
--roxy-border: #27272a;
|
|
84
89
|
/* Only if you want a different accent in dark. Omit it to keep the default. */
|
|
@@ -1063,8 +1068,10 @@ For Tailwind v4 users, the shadcn registry installs a CSS bridge that maps your
|
|
|
1063
1068
|
|
|
1064
1069
|
```css
|
|
1065
1070
|
:root {
|
|
1071
|
+
--roxy-surface: theme(colors.card.DEFAULT);
|
|
1066
1072
|
--roxy-bg: theme(colors.background);
|
|
1067
1073
|
--roxy-fg: theme(colors.foreground);
|
|
1074
|
+
--roxy-secondary: theme(colors.muted.foreground);
|
|
1068
1075
|
--roxy-accent: theme(colors.primary.DEFAULT);
|
|
1069
1076
|
--roxy-border: theme(colors.border);
|
|
1070
1077
|
}
|
package/THEMING.md
CHANGED
|
@@ -8,9 +8,11 @@ Every Roxy UI component reads its colors, fonts, spacing, and motion from a sing
|
|
|
8
8
|
|
|
9
9
|
| Variable | Light default | Dark default | Used by |
|
|
10
10
|
|---|---|---|---|
|
|
11
|
-
| `--roxy-bg` | `#ffffff` | `#0a0a0a` |
|
|
11
|
+
| `--roxy-bg` | `#ffffff` | `#0a0a0a` | The field behind an input, the sheet under a suggestion list, the ink on a filled button |
|
|
12
|
+
| `--roxy-surface` | `#ffffff` | `#18181b` | The card a component paints. Nearly every component reaches for it, so a re-theme that skips it shows a white or charcoal sheet on the host page |
|
|
12
13
|
| `--roxy-fg` | `#0a0a0a` | `#fafafa` | Body text, headings |
|
|
13
14
|
| `--roxy-primary` | `#0f172a` | `#f8fafc` | Brand base. Also the neutral end of the planet colour scale |
|
|
15
|
+
| `--roxy-secondary` | `#475569` | `#94a3b8` | Secondary ink: form labels, the generic renderer, several chart strokes. Stock slate, so a warm or brand theme that skips it shows cool bluish labels |
|
|
14
16
|
| `--roxy-muted` | `#71717a` | `#a1a1aa` | Secondary text, subheadings |
|
|
15
17
|
| `--roxy-border` | `#e4e4e7` | `#27272a` | Wheel lines, table borders |
|
|
16
18
|
| `--roxy-accent` | `#f59e0b` | `#fbbf24` | Planet glyphs, hexagram lines, focused state |
|