@raystack/apsara 0.10.1 → 0.10.2
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/index.cjs +6 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +74 -4
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/inputfield/index.d.ts +2 -0
- package/dist/inputfield/index.d.ts.map +1 -0
- package/dist/inputfield/inputfield.d.ts +16 -0
- package/dist/inputfield/inputfield.d.ts.map +1 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -9210,6 +9210,11 @@ function Image({ children, className, ...props }) {
|
|
|
9210
9210
|
return jsxRuntimeExports.jsx("img", { className: image({ className }), ...props });
|
|
9211
9211
|
}
|
|
9212
9212
|
|
|
9213
|
+
const InputField = ({ label, children, ...props }) => {
|
|
9214
|
+
return (jsxRuntimeExports.jsxs(Flex, { direction: "column", style: { width: "100%" }, gap: "extra-small", ...props, children: [label && jsxRuntimeExports.jsx(Label, { children: label }), children] }));
|
|
9215
|
+
};
|
|
9216
|
+
InputField.displayName = "InputField";
|
|
9217
|
+
|
|
9213
9218
|
var styles$e = {"link":"link-module_link__3Pld2","link-small":"link-module_link-small__Upo0u","link-medium":"link-module_link-medium__gh8td","link-large":"link-module_link-large__XJuuy"};
|
|
9214
9219
|
|
|
9215
9220
|
const link = cva(styles$e.link, {
|
|
@@ -15796,6 +15801,7 @@ exports.Flex = Flex;
|
|
|
15796
15801
|
exports.Grid = Grid;
|
|
15797
15802
|
exports.Headline = Headline;
|
|
15798
15803
|
exports.Image = Image;
|
|
15804
|
+
exports.InputField = InputField;
|
|
15799
15805
|
exports.Label = Label;
|
|
15800
15806
|
exports.Link = Link;
|
|
15801
15807
|
exports.Popover = Popover;
|