@ctlyst.id/internal-ui 2.0.19 → 2.0.20
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/button/components/button.d.ts +1 -1
- package/dist/internal-ui.cjs.development.js +4 -3
- package/dist/internal-ui.cjs.development.js.map +1 -1
- package/dist/internal-ui.cjs.production.min.js +1 -1
- package/dist/internal-ui.cjs.production.min.js.map +1 -1
- package/dist/internal-ui.esm.js +4 -3
- package/dist/internal-ui.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/internal-ui.esm.js
CHANGED
@@ -132,7 +132,7 @@ const Loader = /*#__PURE__*/forwardRef$1((props, ref) => {
|
|
132
132
|
});
|
133
133
|
});
|
134
134
|
|
135
|
-
const Button = props => {
|
135
|
+
const Button = /*#__PURE__*/forwardRef$1((props, ref) => {
|
136
136
|
const {
|
137
137
|
children,
|
138
138
|
variant,
|
@@ -155,9 +155,10 @@ const Button = props => {
|
|
155
155
|
spinner: /*#__PURE__*/React__default.createElement(Loader, {
|
156
156
|
size: getLoaderSize(),
|
157
157
|
color: getLoaderColor()
|
158
|
-
})
|
158
|
+
}),
|
159
|
+
ref: ref
|
159
160
|
}, rest), children);
|
160
|
-
};
|
161
|
+
});
|
161
162
|
|
162
163
|
function AlertAction({
|
163
164
|
children,
|