@firecms/ui 3.0.0-canary.81 → 3.0.0-canary.83
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/components/RadioGroup.d.ts +1 -0
- package/dist/index.es.js +12591 -12257
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +20648 -25
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/components/RadioGroup.tsx +1 -0
- package/src/components/Select.tsx +5 -5
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@firecms/ui",
|
3
3
|
"type": "module",
|
4
|
-
"version": "3.0.0-canary.
|
4
|
+
"version": "3.0.0-canary.83",
|
5
5
|
"description": "Awesome Firebase/Firestore-based headless open-source CMS",
|
6
6
|
"funding": {
|
7
7
|
"url": "https://github.com/sponsors/firecmsco"
|
@@ -102,7 +102,7 @@
|
|
102
102
|
"src",
|
103
103
|
"tailwind.config.js"
|
104
104
|
],
|
105
|
-
"gitHead": "
|
105
|
+
"gitHead": "8a04b6b6355da3fe44a8712966dda9bc370941e5",
|
106
106
|
"publishConfig": {
|
107
107
|
"access": "public"
|
108
108
|
}
|
@@ -152,11 +152,11 @@ export function Select({
|
|
152
152
|
</div>))
|
153
153
|
: (typeof value === "string" ? (renderValue ? renderValue(value, 0) : value) : placeholder))}
|
154
154
|
|
155
|
-
|
156
|
-
|
157
|
-
|
155
|
+
{renderValues && (!hasValue || Array.isArray(value))
|
156
|
+
? renderValues(value as string[] ?? [])
|
157
|
+
: null}
|
158
158
|
|
159
|
-
|
159
|
+
{!renderValue && !renderValues && hasValue}
|
160
160
|
|
161
161
|
</SelectPrimitive.Value>
|
162
162
|
</div>
|
@@ -217,7 +217,7 @@ export function SelectItem({
|
|
217
217
|
}}
|
218
218
|
className={cls(
|
219
219
|
"w-full",
|
220
|
-
"relative
|
220
|
+
"relative flex items-center p-2 rounded-md text-sm text-slate-700 dark:text-slate-300",
|
221
221
|
focusedMixin,
|
222
222
|
"focus:z-10",
|
223
223
|
"data-[state=checked]:bg-slate-100 data-[state=checked]:dark:bg-slate-900 focus:bg-slate-100 dark:focus:bg-slate-950",
|