@orangecheck/design 0.32.0 → 0.32.2
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/dist/chrome.js +37 -37
- package/dist/chrome.js.map +1 -1
- package/dist/chrome.mjs +37 -37
- package/dist/chrome.mjs.map +1 -1
- package/dist/components.js +42 -42
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +42 -42
- package/dist/components.mjs.map +1 -1
- package/dist/composites.js +5 -5
- package/dist/composites.js.map +1 -1
- package/dist/composites.mjs +5 -5
- package/dist/composites.mjs.map +1 -1
- package/dist/index.js +49 -49
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +49 -49
- package/dist/index.mjs.map +1 -1
- package/dist/primitives.js +7 -7
- package/dist/primitives.js.map +1 -1
- package/dist/primitives.mjs +7 -7
- package/dist/primitives.mjs.map +1 -1
- package/dist/styles/sigil.css +4 -2
- package/dist/styles/theme.css +10 -0
- package/package.json +2 -1
package/dist/styles/sigil.css
CHANGED
|
@@ -190,11 +190,13 @@
|
|
|
190
190
|
.oc-sigil {
|
|
191
191
|
width: var(--oc-sigil-size-sm, clamp(170px, 56vw, 300px));
|
|
192
192
|
height: var(--oc-sigil-size-sm, clamp(170px, 56vw, 300px));
|
|
193
|
-
|
|
193
|
+
/* Phones anchor the mark top-right, where it can sit under the headline;
|
|
194
|
+
a text-colored headline on the mark at desktop alpha loses glyphs. */
|
|
195
|
+
opacity: var(--oc-sigil-opacity-sm, 0.16);
|
|
194
196
|
--oc-sigil-mask-at: 32% 66%;
|
|
195
197
|
}
|
|
196
198
|
:root.dark .oc-sigil {
|
|
197
|
-
opacity: var(--oc-sigil-opacity-sm, 0.
|
|
199
|
+
opacity: var(--oc-sigil-opacity-sm, 0.18);
|
|
198
200
|
}
|
|
199
201
|
.oc-sigil--bottom-left,
|
|
200
202
|
.oc-sigil--bottom-right,
|
package/dist/styles/theme.css
CHANGED
|
@@ -102,6 +102,16 @@
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
+
/* iOS Safari zooms into any focused field under 16px. Unlayered on purpose: it
|
|
106
|
+
outranks every utility, so a `text-xs` override or a raw field cannot re-break it. */
|
|
107
|
+
@media (width < 48rem) {
|
|
108
|
+
input:not([type='checkbox'], [type='radio'], [type='range'], [type='color'], [type='file'], [type='hidden']),
|
|
109
|
+
textarea,
|
|
110
|
+
select {
|
|
111
|
+
font-size: 16px;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
105
115
|
/* Accordion animations */
|
|
106
116
|
@keyframes accordion-down {
|
|
107
117
|
from {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orangecheck/design",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.2",
|
|
4
4
|
"description": "OrangeCheck design system — multi-theme tokens, primitives, and family composites for the .ochk.io sub-sites. Tailwind 4 + Next.js Pages Router. Not for third-party integration.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"orangecheck",
|
|
@@ -71,6 +71,7 @@
|
|
|
71
71
|
],
|
|
72
72
|
"scripts": {
|
|
73
73
|
"build": "tsup && yarn copy:css",
|
|
74
|
+
"test": "node scripts/check-a11y-floors.mjs",
|
|
74
75
|
"copy:css": "rm -rf dist/styles && mkdir -p dist/styles && cp src/styles.css dist/styles.css && cp -R src/styles/. dist/styles/",
|
|
75
76
|
"dev": "tsup --watch",
|
|
76
77
|
"type-check": "tsc --noEmit",
|