@firecms/ui 3.0.0-canary.149 → 3.0.0-canary.150

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.149",
4
+ "version": "3.0.0-canary.150",
5
5
  "description": "Awesome Firebase/Firestore-based headless open-source CMS",
6
6
  "funding": {
7
7
  "url": "https://github.com/sponsors/firecmsco"
@@ -108,7 +108,7 @@
108
108
  "index.css",
109
109
  "tailwind.config.js"
110
110
  ],
111
- "gitHead": "c359b0324515a679faf93c74791263bc27c4087d",
111
+ "gitHead": "4df9d54d1bd70b5b5823d797bc2ce6b6c34cf051",
112
112
  "publishConfig": {
113
113
  "access": "public"
114
114
  }
@@ -60,6 +60,7 @@ interface MultiSelectProps {
60
60
  position?: "item-aligned" | "popper",
61
61
  endAdornment?: React.ReactNode,
62
62
  multiple?: boolean,
63
+ includeSelectAll?: boolean,
63
64
  includeClear?: boolean,
64
65
  inputRef?: React.RefObject<HTMLButtonElement>,
65
66
  padding?: boolean,
@@ -84,6 +85,7 @@ export const MultiSelect = React.forwardRef<
84
85
  placeholder,
85
86
  modalPopover = true,
86
87
  includeClear = true,
88
+ includeSelectAll = true,
87
89
  useChips = true,
88
90
  className,
89
91
  children,
@@ -296,7 +298,7 @@ export const MultiSelect = React.forwardRef<
296
298
  <CommandPrimitive.Empty className={"px-4 py-2"}>
297
299
  No results found.
298
300
  </CommandPrimitive.Empty>
299
- <CommandPrimitive.Group>
301
+ {includeSelectAll && <CommandPrimitive.Group>
300
302
  <CommandPrimitive.Item
301
303
  key="all"
302
304
  onSelect={toggleAll}
@@ -316,7 +318,7 @@ export const MultiSelect = React.forwardRef<
316
318
  <span className={"text-sm text-text-secondary dark:text-text-secondary-dark"}>(Select All)</span>
317
319
  </CommandPrimitive.Item>
318
320
  {children}
319
- </CommandPrimitive.Group>
321
+ </CommandPrimitive.Group>}
320
322
 
321
323
  </CommandPrimitive.List>
322
324
  </CommandPrimitive>
@@ -20,7 +20,7 @@ export function Tabs({
20
20
 
21
21
  return <TabsPrimitive.Root value={value} onValueChange={onValueChange} className={className}>
22
22
  <TabsPrimitive.List className={cls(
23
- "flex text-sm font-medium text-center text-surface-accent-800 dark:text-white max-w-full overflow-auto no-scrollbar",
23
+ "flex text-sm font-medium text-center text-surface-accent-800 dark:text-white max-w-full overflow-auto no-scrollbar items-end",
24
24
  innerClassName)
25
25
  }>
26
26
  {children}