@ambuj.bhaskar/react-component-library 0.18.8-alpha → 0.18.9-alpha
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/assets/index.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +63 -51
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -54203,8 +54203,8 @@ const xle = ({
|
|
|
54203
54203
|
color: i,
|
|
54204
54204
|
size: a,
|
|
54205
54205
|
width: l,
|
|
54206
|
-
showPages: c,
|
|
54207
|
-
showArrows: u,
|
|
54206
|
+
showPages: c = !0,
|
|
54207
|
+
showArrows: u = !0,
|
|
54208
54208
|
className: f
|
|
54209
54209
|
}) => {
|
|
54210
54210
|
const [A, g] = Kn(t);
|
|
@@ -54223,55 +54223,67 @@ const xle = ({
|
|
|
54223
54223
|
className: "paginator " + f ? f : "",
|
|
54224
54224
|
style: { width: l },
|
|
54225
54225
|
children: [
|
|
54226
|
-
c ? /* @__PURE__ */ pe.jsxs(
|
|
54227
|
-
|
|
54228
|
-
|
|
54229
|
-
|
|
54230
|
-
|
|
54231
|
-
|
|
54232
|
-
|
|
54233
|
-
|
|
54234
|
-
|
|
54235
|
-
|
|
54236
|
-
|
|
54237
|
-
|
|
54238
|
-
|
|
54239
|
-
|
|
54240
|
-
|
|
54241
|
-
|
|
54242
|
-
|
|
54243
|
-
|
|
54244
|
-
|
|
54245
|
-
|
|
54246
|
-
|
|
54247
|
-
|
|
54248
|
-
|
|
54249
|
-
|
|
54250
|
-
|
|
54251
|
-
|
|
54252
|
-
|
|
54253
|
-
|
|
54254
|
-
|
|
54255
|
-
|
|
54256
|
-
|
|
54257
|
-
|
|
54258
|
-
|
|
54259
|
-
|
|
54260
|
-
|
|
54261
|
-
|
|
54262
|
-
|
|
54263
|
-
|
|
54264
|
-
|
|
54265
|
-
|
|
54266
|
-
|
|
54267
|
-
|
|
54268
|
-
|
|
54269
|
-
|
|
54270
|
-
|
|
54271
|
-
|
|
54272
|
-
|
|
54273
|
-
|
|
54274
|
-
|
|
54226
|
+
c ? /* @__PURE__ */ pe.jsxs(
|
|
54227
|
+
"span",
|
|
54228
|
+
{
|
|
54229
|
+
className: "paginator_current_page " + (c && !u) ? "full" : "",
|
|
54230
|
+
children: [
|
|
54231
|
+
/* @__PURE__ */ pe.jsx(
|
|
54232
|
+
Y4,
|
|
54233
|
+
{
|
|
54234
|
+
type: "number",
|
|
54235
|
+
height: a || "s",
|
|
54236
|
+
width: "5rem",
|
|
54237
|
+
value: A,
|
|
54238
|
+
onChange: h,
|
|
54239
|
+
onKeyDown: (v) => p(v, A)
|
|
54240
|
+
}
|
|
54241
|
+
),
|
|
54242
|
+
/* @__PURE__ */ pe.jsx(
|
|
54243
|
+
Y4,
|
|
54244
|
+
{
|
|
54245
|
+
type: "number",
|
|
54246
|
+
height: a || "s",
|
|
54247
|
+
width: "5rem",
|
|
54248
|
+
value: e,
|
|
54249
|
+
disabled: !0
|
|
54250
|
+
}
|
|
54251
|
+
)
|
|
54252
|
+
]
|
|
54253
|
+
}
|
|
54254
|
+
) : /* @__PURE__ */ pe.jsx(pe.Fragment, {}),
|
|
54255
|
+
u ? /* @__PURE__ */ pe.jsxs(
|
|
54256
|
+
"span",
|
|
54257
|
+
{
|
|
54258
|
+
className: "paginator_arrows " + (!c && u) ? "full" : "",
|
|
54259
|
+
children: [
|
|
54260
|
+
/* @__PURE__ */ pe.jsx(
|
|
54261
|
+
or,
|
|
54262
|
+
{
|
|
54263
|
+
variant: "secondary",
|
|
54264
|
+
size: a || "s",
|
|
54265
|
+
icon: "arrowLeft",
|
|
54266
|
+
width: "2.5rem",
|
|
54267
|
+
backgroundColor: i,
|
|
54268
|
+
onClick: o,
|
|
54269
|
+
disabled: t === 1
|
|
54270
|
+
}
|
|
54271
|
+
),
|
|
54272
|
+
/* @__PURE__ */ pe.jsx(
|
|
54273
|
+
or,
|
|
54274
|
+
{
|
|
54275
|
+
variant: "secondary",
|
|
54276
|
+
size: a || "s",
|
|
54277
|
+
icon: "arrowRight",
|
|
54278
|
+
width: "2.5rem",
|
|
54279
|
+
backgroundColor: i,
|
|
54280
|
+
onClick: r,
|
|
54281
|
+
disabled: t === e
|
|
54282
|
+
}
|
|
54283
|
+
)
|
|
54284
|
+
]
|
|
54285
|
+
}
|
|
54286
|
+
) : /* @__PURE__ */ pe.jsx(pe.Fragment, {})
|
|
54275
54287
|
]
|
|
54276
54288
|
}
|
|
54277
54289
|
);
|