@orangecheck/app-design 0.5.13 → 0.6.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/dist/chrome.js +116 -39
- package/dist/chrome.js.map +1 -1
- package/dist/chrome.mjs +116 -39
- package/dist/chrome.mjs.map +1 -1
- package/dist/index.js +116 -39
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +116 -39
- package/dist/index.mjs.map +1 -1
- package/dist/styles/theme.css +7 -0
- package/package.json +2 -2
package/dist/styles/theme.css
CHANGED
|
@@ -226,6 +226,13 @@
|
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
|
|
229
|
+
/* A phone's tab bar (AppShell) sits where toasts land; they rise above it. */
|
|
230
|
+
@media (width < 48rem) {
|
|
231
|
+
[data-oc-app='ochk']:has([data-oca-tabbar]) [data-sonner-toaster][data-y-position='bottom'] {
|
|
232
|
+
bottom: calc(4.5rem + env(safe-area-inset-bottom));
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
229
236
|
@media (prefers-reduced-motion: reduce) {
|
|
230
237
|
[data-oc-app='ochk'] *,
|
|
231
238
|
[data-oc-app='ochk'] *::before,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orangecheck/app-design",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "The ochk.app design system: tokens, type, the isometric check, halftone photography, primitives and app chrome. Its own system, scoped under data-oc-app=\"ochk\" so it never reaches the .ochk.io family sites.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"orangecheck",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"scripts": {
|
|
67
67
|
"build": "tsup && yarn copy:css",
|
|
68
68
|
"copy:css": "rm -rf dist/styles && mkdir -p dist/styles && cp src/styles.css dist/styles.css && cp -R src/styles/. dist/styles/",
|
|
69
|
-
"test": "node scripts/check-contrast.mjs && node scripts/check-isolation.mjs",
|
|
69
|
+
"test": "node scripts/check-contrast.mjs && node scripts/check-isolation.mjs && node scripts/check-shell.mjs",
|
|
70
70
|
"dev": "tsup --watch",
|
|
71
71
|
"type-check": "tsc --noEmit",
|
|
72
72
|
"clean": "rm -rf dist"
|