@raystack/apsara 0.15.0 → 0.16.0
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/calendar/calendar.d.ts.map +1 -1
- package/dist/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +62 -56
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/textfield/textfield.d.ts +8 -0
- package/dist/textfield/textfield.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../calendar/calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAM7D,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG,EAAE,CAAC;AAIhD,eAAO,MAAM,QAAQ,yDAKlB,aAAa,
|
|
1
|
+
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../calendar/calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAM7D,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG,EAAE,CAAC;AAIhD,eAAO,MAAM,QAAQ,yDAKlB,aAAa,4CAiCf,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -28193,6 +28193,7 @@ const Calendar = function ({ className, classNames, showOutsideDays = true, ...p
|
|
|
28193
28193
|
day_range_end: styles$6.day_range_end,
|
|
28194
28194
|
day_range_start: styles$6.day_range_start,
|
|
28195
28195
|
months: styles$6.months,
|
|
28196
|
+
// button: styles.button,
|
|
28196
28197
|
...classNames,
|
|
28197
28198
|
}, className: root$1({ className }), ...props }));
|
|
28198
28199
|
};
|
|
@@ -28220,16 +28221,16 @@ const textfield = cva(styles$5.textfield, {
|
|
|
28220
28221
|
size: "small",
|
|
28221
28222
|
},
|
|
28222
28223
|
});
|
|
28223
|
-
const TextField = React.forwardRef(({ leading, trailing, className, src, size, state, style, ...props }, ref) => {
|
|
28224
|
+
const TextField = React.forwardRef(({ leading, trailing, className, src, size, state, style, iconClass, ...props }, ref) => {
|
|
28224
28225
|
const hasLeadingElement = Boolean(leading);
|
|
28225
28226
|
const hasTrailingElement = Boolean(trailing);
|
|
28226
|
-
return (jsxRuntimeExports$1.jsxs(Flex, { align: "center", style: { position: "relative", width: "100%" }, children: [hasLeadingElement ? (jsxRuntimeExports$1.jsx(Flex, { style: { left: "8px" }, className: styles$5.leadingIcon, children: leading })) : null, jsxRuntimeExports$1.jsx("input", { className: cx(textfield({
|
|
28227
|
+
return (jsxRuntimeExports$1.jsxs(Flex, { align: "center", style: { position: "relative", width: "100%" }, children: [hasLeadingElement ? (jsxRuntimeExports$1.jsx(Flex, { style: { left: "8px" }, className: cx(styles$5.leadingIcon, iconClass?.leadingIcon), children: leading })) : null, jsxRuntimeExports$1.jsx("input", { className: cx(textfield({
|
|
28227
28228
|
size,
|
|
28228
28229
|
state,
|
|
28229
28230
|
className,
|
|
28230
28231
|
hasLeadingElement,
|
|
28231
28232
|
hasTrailingElement,
|
|
28232
|
-
})), ...props, ref: ref }), hasTrailingElement ? (jsxRuntimeExports$1.jsx(Flex, { style: { right: "8px" }, className: styles$5.trailingIcon, children: trailing })) : null] }));
|
|
28233
|
+
})), ...props, ref: ref }), hasTrailingElement ? (jsxRuntimeExports$1.jsx(Flex, { style: { right: "8px" }, className: cx(styles$5.trailingIcon, iconClass?.trailingIcon), children: trailing })) : null] }));
|
|
28233
28234
|
});
|
|
28234
28235
|
TextField.displayName = "TextField";
|
|
28235
28236
|
|