@firecms/ui 3.0.0-canary.179 → 3.0.0-canary.180

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.179",
4
+ "version": "3.0.0-canary.180",
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": "39125fe4c1a15167d203baee64f2bbd5376eb766",
118
+ "gitHead": "bf93825b26a5eb5a74ae137a935d4c0747135806",
119
119
  "publishConfig": {
120
120
  "access": "public"
121
121
  }
@@ -141,25 +141,25 @@ export const DateTimeField: React.FC<DateTimeFieldProps> = ({
141
141
  </InputLabel>
142
142
  )}
143
143
 
144
- <input
145
- ref={inputRef}
146
- type={mode === "date_time" ? "datetime-local" : "date"}
147
- value={valueAsInputValue(value ?? null, mode)}
148
- onChange={handleInputChange}
149
- onFocus={() => setFocused(true)}
150
- onBlur={() => setFocused(false)}
151
- disabled={disabled}
152
- className={cls(
153
- "w-full outline-none bg-transparent leading-normal text-base px-3",
154
- clearable ? "pr-14" : "pr-12",
155
- "rounded-md",
156
- size === "medium" ? "min-h-[48px]" : "min-h-[64px]",
157
- label ? "pt-8 pb-2" : "py-2",
158
- inputClassName,
159
- disabled &&
160
- "border border-transparent outline-none opacity-50 dark:opacity-50 text-surface-accent-600 dark:text-surface-accent-500"
161
- )}
162
- />
144
+ <input
145
+ ref={inputRef}
146
+ type={mode === "date_time" ? "datetime-local" : "date"}
147
+ value={valueAsInputValue(value ?? null, mode)}
148
+ onChange={handleInputChange}
149
+ onFocus={() => setFocused(true)}
150
+ onBlur={() => setFocused(false)}
151
+ disabled={disabled}
152
+ className={cls(
153
+ "w-full outline-none bg-transparent leading-normal text-base px-3",
154
+ clearable ? "pr-14" : "pr-12",
155
+ "rounded-md",
156
+ size === "medium" ? "min-h-[48px]" : "min-h-[64px]",
157
+ label ? "pt-8 pb-2" : "py-2",
158
+ inputClassName,
159
+ disabled &&
160
+ "border border-transparent outline-none opacity-50 dark:opacity-50 text-surface-accent-600 dark:text-surface-accent-500"
161
+ )}
162
+ />
163
163
  <IconButton
164
164
  onClick={(e) => {
165
165
  e.stopPropagation();