@firecms/ui 3.0.0-canary.214 → 3.0.0-canary.216

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@firecms/ui",
3
3
  "type": "module",
4
- "version": "3.0.0-canary.214",
4
+ "version": "3.0.0-canary.216",
5
5
  "description": "Awesome Firebase/Firestore-based headless open-source CMS",
6
6
  "funding": {
7
7
  "url": "https://github.com/sponsors/firecmsco"
@@ -115,7 +115,7 @@
115
115
  "index.css",
116
116
  "tailwind.config.js"
117
117
  ],
118
- "gitHead": "255b71517080aaba37ba66335b110ac62ba3b507",
118
+ "gitHead": "806f397ce4c02424b832311615c8864939a4f4d5",
119
119
  "publishConfig": {
120
120
  "access": "public"
121
121
  }
@@ -41,12 +41,7 @@ export const BooleanSwitch = React.forwardRef(function BooleanSwitch({
41
41
  }
42
42
  }}
43
43
  className={cls(
44
- {
45
- "min-h-[32px]": size === "small",
46
- "min-h-[48px]": size === "medium",
47
- "min-h-[64px]": size === "large",
48
- },
49
- size === "small" ? "w-[38px] min-w-[38px]" : "w-[42px] min-w-[42px]",
44
+ size === "small" ? "w-[38px] h-[22px] min-w-[38px] min-h-[22px]" : "w-[42px] h-[26px] min-w-[42px] min-h-[26px]",
50
45
  "outline-none rounded-full relative shadow-sm",
51
46
  value ? (disabled
52
47
  ? "bg-white bg-opacity-54 dark:bg-surface-accent-950 border-surface-accent-100 dark:border-surface-accent-700 ring-1 ring-surface-accent-200 dark:ring-surface-accent-700"
@@ -168,9 +168,9 @@ export const TextField = forwardRef<HTMLDivElement, TextFieldProps<string | numb
168
168
  disabled ? fieldBackgroundDisabledMixin : fieldBackgroundHoverMixin,
169
169
  error ? "border border-red-500 dark:border-red-600" : "",
170
170
  {
171
- "min-h-[32px]": !invisible && size === "small",
172
- "min-h-[48px]": !invisible && size === "medium",
173
- "min-h-[64px]": !invisible && size === "large",
171
+ "min-h-[28px]": size === "small",
172
+ "min-h-[42px]": size === "medium",
173
+ "min-h-[64px]": size === "large",
174
174
  },
175
175
  className
176
176
  )}