@firecms/ui 3.5.2-canary.c5764a3 → 3.5.3
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/BooleanSwitchWithLabel.d.ts +1 -1
- package/dist/components/Chip.d.ts +1 -1
- package/dist/components/ColorPicker.d.ts +1 -1
- package/dist/components/DebouncedTextField.d.ts +1 -1
- package/dist/components/DialogTitle.d.ts +1 -1
- package/dist/components/LoadingButton.d.ts +1 -1
- package/dist/components/index.d.ts +51 -51
- package/dist/hooks/index.d.ts +6 -6
- package/dist/icons/FirestoreIcon.d.ts +1 -1
- package/dist/icons/GitHubIcon.d.ts +1 -1
- package/dist/icons/create_icon.d.ts +1 -1
- package/dist/icons/generated_icons.d.ts +2198 -2198
- package/dist/icons/index.d.ts +8 -8
- package/dist/index.d.ts +5 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/util/chip_colors.d.ts +1 -1
- package/dist/util/index.d.ts +4 -4
- package/package.json +1 -1
- package/src/components/Alert.tsx +1 -1
- package/src/components/Autocomplete.tsx +4 -4
- package/src/components/Avatar.tsx +1 -1
- package/src/components/BooleanSwitch.tsx +1 -1
- package/src/components/BooleanSwitchWithLabel.tsx +3 -3
- package/src/components/Button.tsx +1 -1
- package/src/components/Card.tsx +2 -2
- package/src/components/CenteredView.tsx +2 -2
- package/src/components/Checkbox.tsx +2 -2
- package/src/components/Chip.tsx +1 -1
- package/src/components/CircularProgress.tsx +1 -1
- package/src/components/Collapse.tsx +2 -2
- package/src/components/ColorPicker.tsx +4 -4
- package/src/components/Container.tsx +1 -1
- package/src/components/DateTimeField.tsx +7 -7
- package/src/components/DebouncedTextField.tsx +1 -1
- package/src/components/Dialog.tsx +3 -3
- package/src/components/DialogActions.tsx +2 -2
- package/src/components/DialogContent.tsx +1 -1
- package/src/components/DialogTitle.tsx +2 -2
- package/src/components/ExpandablePanel.tsx +4 -4
- package/src/components/FileUpload.tsx +3 -3
- package/src/components/FilterChip.tsx +1 -1
- package/src/components/IconButton.tsx +1 -1
- package/src/components/InfoLabel.tsx +1 -1
- package/src/components/InputLabel.tsx +2 -2
- package/src/components/Label.tsx +2 -2
- package/src/components/LoadingButton.tsx +2 -2
- package/src/components/Markdown.tsx +1 -1
- package/src/components/Menu.tsx +3 -3
- package/src/components/Menubar.tsx +3 -3
- package/src/components/MultiSelect.tsx +8 -8
- package/src/components/Paper.tsx +2 -2
- package/src/components/Popover.tsx +4 -4
- package/src/components/RadioGroup.tsx +1 -1
- package/src/components/ResizablePanels.tsx +1 -1
- package/src/components/SearchBar.tsx +5 -5
- package/src/components/SearchableSelect.tsx +6 -6
- package/src/components/Select.tsx +5 -5
- package/src/components/Separator.tsx +1 -1
- package/src/components/Sheet.tsx +3 -3
- package/src/components/Skeleton.tsx +2 -2
- package/src/components/Slider.tsx +1 -1
- package/src/components/Table.tsx +2 -2
- package/src/components/Tabs.tsx +4 -4
- package/src/components/TextField.tsx +3 -3
- package/src/components/TextareaAutosize.tsx +1 -1
- package/src/components/ToggleButtonGroup.tsx +1 -1
- package/src/components/Tooltip.tsx +3 -3
- package/src/components/Typography.tsx +1 -1
- package/src/components/common/SelectInputLabel.tsx +1 -1
- package/src/components/index.tsx +51 -51
- package/src/hooks/index.ts +6 -6
- package/src/hooks/useIconStyles.tsx +1 -1
- package/src/hooks/useInjectStyles.tsx +1 -1
- package/src/icons/FirestoreIcon.tsx +1 -1
- package/src/icons/GitHubIcon.tsx +1 -1
- package/src/icons/Icon.tsx +1 -1
- package/src/icons/create_icon.tsx +1 -1
- package/src/icons/generated_icons.ts +1 -1
- package/src/icons/index.ts +8 -8
- package/src/index.ts +5 -5
- package/src/scripts/saveIconFiles.ts +1 -1
- package/src/util/chip_colors.ts +2 -2
- package/src/util/index.ts +4 -4
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
4
4
|
|
|
5
|
-
import { cls } from "../util";
|
|
6
|
-
import { useInjectStyles } from "../hooks";
|
|
7
|
-
import { usePortalContainer } from "../hooks/PortalContainerContext";
|
|
5
|
+
import { cls } from "../util/index.js";
|
|
6
|
+
import { useInjectStyles } from "../hooks/index.js";
|
|
7
|
+
import { usePortalContainer } from "../hooks/PortalContainerContext.js";
|
|
8
8
|
|
|
9
9
|
export type TooltipProps = {
|
|
10
10
|
open?: boolean,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { cls } from "../../util";
|
|
2
|
+
import { cls } from "../../util/index.js";
|
|
3
3
|
|
|
4
4
|
export function SelectInputLabel({ children, error }: { children: React.ReactNode, error?: boolean }) {
|
|
5
5
|
return <div className={cls("text-sm font-medium ml-3.5 mb-1",
|
package/src/components/index.tsx
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
export * from "./Autocomplete";
|
|
2
|
-
export * from "./Alert";
|
|
3
|
-
export * from "./Avatar";
|
|
4
|
-
export * from "./BooleanSwitch";
|
|
5
|
-
export * from "./BooleanSwitchWithLabel";
|
|
6
|
-
export * from "./Button";
|
|
7
|
-
export * from "./Card";
|
|
8
|
-
export * from "./CenteredView";
|
|
9
|
-
export * from "./Container";
|
|
10
|
-
export * from "./Collapse";
|
|
11
|
-
export * from "./CircularProgress";
|
|
12
|
-
export * from "./Checkbox";
|
|
13
|
-
export * from "./Chip";
|
|
14
|
-
export * from "./FilterChip";
|
|
15
|
-
export * from "./ColorPicker";
|
|
16
|
-
export * from "./DateTimeField";
|
|
17
|
-
export * from "./Dialog";
|
|
18
|
-
export * from "./DialogActions";
|
|
19
|
-
export * from "./DialogContent";
|
|
20
|
-
export * from "./DialogTitle";
|
|
21
|
-
export * from "./ExpandablePanel";
|
|
22
|
-
export * from "./FileUpload";
|
|
23
|
-
export * from "./IconButton";
|
|
24
|
-
export * from "./InputLabel";
|
|
25
|
-
export * from "./InfoLabel";
|
|
26
|
-
export * from "./Label";
|
|
27
|
-
export * from "./LoadingButton";
|
|
28
|
-
export * from "./Markdown";
|
|
29
|
-
export * from "./Menu";
|
|
30
|
-
export * from "./Menubar";
|
|
31
|
-
export * from "./MultiSelect";
|
|
32
|
-
export * from "./Paper";
|
|
33
|
-
export * from "./RadioGroup";
|
|
34
|
-
export * from "./ResizablePanels";
|
|
35
|
-
export * from "./SearchBar";
|
|
36
|
-
export * from "./SearchableSelect";
|
|
37
|
-
export * from "./Select";
|
|
38
|
-
export * from "./Separator";
|
|
39
|
-
export * from "./Slider";
|
|
40
|
-
export * from "./Sheet";
|
|
41
|
-
export * from "./TextareaAutosize";
|
|
42
|
-
export * from "./TextField";
|
|
43
|
-
export * from "./Tooltip";
|
|
44
|
-
export * from "./Typography";
|
|
45
|
-
export * from "./Tabs";
|
|
46
|
-
export * from "./Table";
|
|
47
|
-
export * from "./Popover";
|
|
48
|
-
export * from "./Badge";
|
|
49
|
-
export * from "./DebouncedTextField";
|
|
50
|
-
export * from "./Skeleton";
|
|
51
|
-
export * from "./ToggleButtonGroup";
|
|
1
|
+
export * from "./Autocomplete.js";
|
|
2
|
+
export * from "./Alert.js";
|
|
3
|
+
export * from "./Avatar.js";
|
|
4
|
+
export * from "./BooleanSwitch.js";
|
|
5
|
+
export * from "./BooleanSwitchWithLabel.js";
|
|
6
|
+
export * from "./Button.js";
|
|
7
|
+
export * from "./Card.js";
|
|
8
|
+
export * from "./CenteredView.js";
|
|
9
|
+
export * from "./Container.js";
|
|
10
|
+
export * from "./Collapse.js";
|
|
11
|
+
export * from "./CircularProgress.js";
|
|
12
|
+
export * from "./Checkbox.js";
|
|
13
|
+
export * from "./Chip.js";
|
|
14
|
+
export * from "./FilterChip.js";
|
|
15
|
+
export * from "./ColorPicker.js";
|
|
16
|
+
export * from "./DateTimeField.js";
|
|
17
|
+
export * from "./Dialog.js";
|
|
18
|
+
export * from "./DialogActions.js";
|
|
19
|
+
export * from "./DialogContent.js";
|
|
20
|
+
export * from "./DialogTitle.js";
|
|
21
|
+
export * from "./ExpandablePanel.js";
|
|
22
|
+
export * from "./FileUpload.js";
|
|
23
|
+
export * from "./IconButton.js";
|
|
24
|
+
export * from "./InputLabel.js";
|
|
25
|
+
export * from "./InfoLabel.js";
|
|
26
|
+
export * from "./Label.js";
|
|
27
|
+
export * from "./LoadingButton.js";
|
|
28
|
+
export * from "./Markdown.js";
|
|
29
|
+
export * from "./Menu.js";
|
|
30
|
+
export * from "./Menubar.js";
|
|
31
|
+
export * from "./MultiSelect.js";
|
|
32
|
+
export * from "./Paper.js";
|
|
33
|
+
export * from "./RadioGroup.js";
|
|
34
|
+
export * from "./ResizablePanels.js";
|
|
35
|
+
export * from "./SearchBar.js";
|
|
36
|
+
export * from "./SearchableSelect.js";
|
|
37
|
+
export * from "./Select.js";
|
|
38
|
+
export * from "./Separator.js";
|
|
39
|
+
export * from "./Slider.js";
|
|
40
|
+
export * from "./Sheet.js";
|
|
41
|
+
export * from "./TextareaAutosize.js";
|
|
42
|
+
export * from "./TextField.js";
|
|
43
|
+
export * from "./Tooltip.js";
|
|
44
|
+
export * from "./Typography.js";
|
|
45
|
+
export * from "./Tabs.js";
|
|
46
|
+
export * from "./Table.js";
|
|
47
|
+
export * from "./Popover.js";
|
|
48
|
+
export * from "./Badge.js";
|
|
49
|
+
export * from "./DebouncedTextField.js";
|
|
50
|
+
export * from "./Skeleton.js";
|
|
51
|
+
export * from "./ToggleButtonGroup.js";
|
|
52
52
|
|
package/src/hooks/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./useInjectStyles";
|
|
2
|
-
export * from "./useOutsideAlerter";
|
|
3
|
-
export * from "./useDebounceValue";
|
|
4
|
-
export * from "./useDebounceCallback";
|
|
5
|
-
export * from "./useIconStyles";
|
|
6
|
-
export * from "./PortalContainerContext";
|
|
1
|
+
export * from "./useInjectStyles.js";
|
|
2
|
+
export * from "./useOutsideAlerter.js";
|
|
3
|
+
export * from "./useDebounceValue.js";
|
|
4
|
+
export * from "./useDebounceCallback.js";
|
|
5
|
+
export * from "./useIconStyles.js";
|
|
6
|
+
export * from "./PortalContainerContext.js";
|
package/src/icons/GitHubIcon.tsx
CHANGED
package/src/icons/Icon.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
import { cls } from "../util";
|
|
4
|
+
import { cls } from "../util/index.js";
|
|
5
5
|
import "@material-design-icons/font/filled.css";
|
|
6
6
|
|
|
7
7
|
export type IconColor = "inherit" | "primary" | "secondary" | "disabled" | "error" | "success" | "warning";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* published `@firecms/ui` surface and is resolved by name out of the share scope
|
|
6
6
|
* by tenant bundles, so entries are only ever added.
|
|
7
7
|
*/
|
|
8
|
-
import { createIcon } from "./create_icon";
|
|
8
|
+
import { createIcon } from "./create_icon.js";
|
|
9
9
|
|
|
10
10
|
export const AbcIcon = /* @__PURE__ */ createIcon("abc");
|
|
11
11
|
export const AcUnitIcon = /* @__PURE__ */ createIcon("ac_unit");
|
package/src/icons/index.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from "./icon_keys";
|
|
2
|
-
export * from "./cool_icon_keys";
|
|
3
|
-
export * from "./Icon";
|
|
4
|
-
export * from "./create_icon";
|
|
5
|
-
export * from "./GitHubIcon";
|
|
6
|
-
export * from "./HandleIcon";
|
|
7
|
-
export * from "./FirestoreIcon";
|
|
8
|
-
export * from "./generated_icons";
|
|
1
|
+
export * from "./icon_keys.js";
|
|
2
|
+
export * from "./cool_icon_keys.js";
|
|
3
|
+
export * from "./Icon.js";
|
|
4
|
+
export * from "./create_icon.js";
|
|
5
|
+
export * from "./GitHubIcon.js";
|
|
6
|
+
export * from "./HandleIcon.js";
|
|
7
|
+
export * from "./FirestoreIcon.js";
|
|
8
|
+
export * from "./generated_icons.js";
|
package/src/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./components";
|
|
2
|
-
export * from "./styles";
|
|
3
|
-
export * from "./util";
|
|
4
|
-
export * from "./icons";
|
|
5
|
-
export * from "./hooks";
|
|
1
|
+
export * from "./components/index.js";
|
|
2
|
+
export * from "./styles.js";
|
|
3
|
+
export * from "./util/index.js";
|
|
4
|
+
export * from "./icons/index.js";
|
|
5
|
+
export * from "./hooks/index.js";
|
|
@@ -47,7 +47,7 @@ export function saveIconFiles(iconKeys: string[]) {
|
|
|
47
47
|
* published \`@firecms/ui\` surface and is resolved by name out of the share scope
|
|
48
48
|
* by tenant bundles, so entries are only ever added.
|
|
49
49
|
*/
|
|
50
|
-
import { createIcon } from "./create_icon";
|
|
50
|
+
import { createIcon } from "./create_icon.js";
|
|
51
51
|
|
|
52
52
|
${exportLines.join("\n")}
|
|
53
53
|
`;
|
package/src/util/chip_colors.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChipColorKey, ChipColorScheme } from "../components";
|
|
2
|
-
import { hashString } from "./hash";
|
|
1
|
+
import { ChipColorKey, ChipColorScheme } from "../components/index.js";
|
|
2
|
+
import { hashString } from "./hash.js";
|
|
3
3
|
|
|
4
4
|
export const CHIP_COLORS: Record<string, ChipColorScheme> = {
|
|
5
5
|
blueLighter: { color: "#cfdfff", text: "#102046" },
|
package/src/util/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./cls";
|
|
2
|
-
export * from "./debounce";
|
|
3
|
-
export * from "./chip_colors";
|
|
4
|
-
export * from "./key_to_icon_component";
|
|
1
|
+
export * from "./cls.js";
|
|
2
|
+
export * from "./debounce.js";
|
|
3
|
+
export * from "./chip_colors.js";
|
|
4
|
+
export * from "./key_to_icon_component.js";
|