@homebound/beam 2.93.2 → 2.93.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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
import { TextFieldBaseProps } from "./TextFieldBase";
|
|
3
|
+
import "./DateField.css";
|
|
3
4
|
export interface DateFieldProps extends Pick<TextFieldBaseProps<{}>, "borderless" | "visuallyDisabled" | "hideLabel" | "compact"> {
|
|
4
5
|
value: Date | undefined;
|
|
5
6
|
label: string;
|
package/dist/inputs/DateField.js
CHANGED
|
@@ -14,6 +14,7 @@ const DatePickerOverlay_1 = require("./internal/DatePickerOverlay");
|
|
|
14
14
|
const TextFieldBase_1 = require("./TextFieldBase");
|
|
15
15
|
const utils_1 = require("../utils");
|
|
16
16
|
const defaultTestId_1 = require("../utils/defaultTestId");
|
|
17
|
+
require("./DateField.css");
|
|
17
18
|
function DateField(props) {
|
|
18
19
|
const { label, disabled, required, value, onChange, onFocus, onBlur, errorMsg, helperText, inlineLabel = false, readOnly = false, format = "short", iconLeft = false, ...others } = props;
|
|
19
20
|
const inputRef = (0, react_1.useRef)(null);
|
|
@@ -12,8 +12,9 @@ const Label_1 = require("../components/Label");
|
|
|
12
12
|
const Css_1 = require("../Css");
|
|
13
13
|
const utils_1 = require("../utils");
|
|
14
14
|
const tributejs_1 = __importDefault(require("tributejs"));
|
|
15
|
-
|
|
15
|
+
require("tributejs/dist/tribute.css");
|
|
16
16
|
require("trix/dist/trix");
|
|
17
|
+
require("trix/dist/trix.css");
|
|
17
18
|
/**
|
|
18
19
|
* Provides a simple rich text editor based on trix.
|
|
19
20
|
*
|