@firecms/ui 3.0.0-canary.136 → 3.0.0-canary.138

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.
Files changed (36) hide show
  1. package/README.md +1 -1
  2. package/dist/hooks/index.d.ts +0 -1
  3. package/dist/index.css +0 -4
  4. package/dist/index.es.js +141 -965
  5. package/dist/index.es.js.map +1 -1
  6. package/dist/index.umd.js +143 -966
  7. package/dist/index.umd.js.map +1 -1
  8. package/package.json +2 -3
  9. package/src/components/Autocomplete.tsx +1 -0
  10. package/src/components/Avatar.tsx +1 -1
  11. package/src/components/BooleanSwitchWithLabel.tsx +1 -0
  12. package/src/components/Card.tsx +1 -0
  13. package/src/components/Collapse.tsx +1 -0
  14. package/src/components/DateTimeField.tsx +133 -907
  15. package/src/components/DebouncedTextField.tsx +1 -0
  16. package/src/components/Dialog.tsx +1 -0
  17. package/src/components/DialogContent.tsx +1 -1
  18. package/src/components/DialogTitle.tsx +3 -2
  19. package/src/components/ExpandablePanel.tsx +3 -0
  20. package/src/components/FileUpload.tsx +1 -0
  21. package/src/components/InputLabel.tsx +0 -1
  22. package/src/components/Markdown.tsx +1 -0
  23. package/src/components/MultiSelect.tsx +2 -1
  24. package/src/components/Popover.tsx +1 -0
  25. package/src/components/SearchBar.tsx +1 -0
  26. package/src/components/Select.tsx +21 -28
  27. package/src/components/Sheet.tsx +1 -1
  28. package/src/components/TextField.tsx +3 -2
  29. package/src/components/TextareaAutosize.tsx +1 -0
  30. package/src/components/Tooltip.tsx +1 -0
  31. package/src/hooks/index.ts +0 -1
  32. package/src/index.css +0 -4
  33. package/dist/components/_MultiSelect.d.ts +0 -0
  34. package/dist/hooks/useLocaleConfig.d.ts +0 -1
  35. package/src/components/_MultiSelect.tsx +0 -222
  36. package/src/hooks/useLocaleConfig.tsx +0 -18
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.136",
4
+ "version": "3.0.0-canary.138",
5
5
  "description": "Awesome Firebase/Firestore-based headless open-source CMS",
6
6
  "funding": {
7
7
  "url": "https://github.com/sponsors/firecmsco"
@@ -71,7 +71,6 @@
71
71
  "date-fns": "^3.6.0",
72
72
  "markdown-it": "^14.1.0",
73
73
  "material-icons": "^1.13.12",
74
- "react-datepicker": "^7.4.0",
75
74
  "react-dropzone": "^14.2.9",
76
75
  "react-fast-compare": "^3.2.2",
77
76
  "tailwind-merge": "^2.5.3"
@@ -108,7 +107,7 @@
108
107
  "src",
109
108
  "tailwind.config.js"
110
109
  ],
111
- "gitHead": "10606ac1472f57203a5571b7b5433b2625aafdb9",
110
+ "gitHead": "055055d2b116aa0a4dfd6252cd3f0e9da323770a",
112
111
  "publishConfig": {
113
112
  "access": "public"
114
113
  }
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import React from "react";
2
3
 
3
4
  import { paperMixin } from "../styles";
@@ -27,7 +27,7 @@ const AvatarInner: React.ForwardRefRenderFunction<HTMLButtonElement, AvatarProps
27
27
  style={style}
28
28
  {...props}
29
29
  className={cls("rounded-full flex items-center justify-center overflow-hidden",
30
- "p-1 hover:bg-slate-200 hover:dark:bg-slate-700 w-12 h-12",
30
+ "p-1 hover:bg-slate-200 hover:dark:bg-slate-700 w-12 h-12 min-w-12 min-h-12",
31
31
  outerClassName
32
32
  )}>
33
33
  {src
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import React from "react";
2
3
  import {
3
4
  fieldBackgroundDisabledMixin,
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import React, { useCallback } from "react";
2
3
  import { cardClickableMixin, cardMixin } from "../styles";
3
4
  import { cls } from "../util";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import React from "react";
2
3
  import * as Collapsible from "@radix-ui/react-collapsible";
3
4