@cosborn2/ui 0.4.12 → 0.4.14
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/styles/input.css +2 -0
- package/dist/styles/select.css +2 -0
- package/package.json +2 -2
package/dist/styles/input.css
CHANGED
|
@@ -8,4 +8,6 @@
|
|
|
8
8
|
.bnh-input--error:focus { box-shadow: 0 0 0 2px color-mix(in oklch, var(--bnh-red) 20%, transparent); }
|
|
9
9
|
.bnh-input-error { margin: 0; font-family: var(--bnh-font-sans, inherit); font-size: 12px; line-height: 1.5; color: var(--bnh-red); }
|
|
10
10
|
@media (prefers-reduced-motion: reduce) { .bnh-input { transition: none; } }
|
|
11
|
+
/* iOS Safari zooms the page into a focused field whose text is under 16px, so touch screens get 16px. */
|
|
12
|
+
@media (pointer: coarse) { .bnh-input { font-size: 16px; } }
|
|
11
13
|
}
|
package/dist/styles/select.css
CHANGED
|
@@ -12,4 +12,6 @@
|
|
|
12
12
|
.bnh-select--error:focus { box-shadow: 0 0 0 2px color-mix(in oklch, var(--bnh-red) 20%, transparent); }
|
|
13
13
|
.bnh-select-error { margin: 0; font-family: var(--bnh-font-sans, inherit); font-size: 12px; line-height: 1.5; color: var(--bnh-red); }
|
|
14
14
|
@media (prefers-reduced-motion: reduce) { .bnh-select { transition: none; } }
|
|
15
|
+
/* iOS Safari zooms the page into a focused field whose text is under 16px, so touch screens get 16px at every size. */
|
|
16
|
+
@media (pointer: coarse) { .bnh-select--md, .bnh-select--sm { font-size: 16px; } }
|
|
15
17
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosborn2/ui",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.14",
|
|
4
4
|
"description": "Lightweight React UI components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
"react-dom": "19.3.1",
|
|
194
194
|
"release-it": "21.1.2",
|
|
195
195
|
"semver": "7.8.6",
|
|
196
|
-
"storybook": "10.6.
|
|
196
|
+
"storybook": "10.6.7",
|
|
197
197
|
"typescript": "^6.0.3",
|
|
198
198
|
"typescript-eslint": "^8.72.0",
|
|
199
199
|
"vite": "^8.3.5",
|