@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/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("span", { className: "paginator_current_page", children: [
54227
- /* @__PURE__ */ pe.jsx(
54228
- Y4,
54229
- {
54230
- type: "number",
54231
- height: a || "s",
54232
- width: "5rem",
54233
- value: A,
54234
- onChange: h,
54235
- onKeyDown: (v) => p(v, A)
54236
- }
54237
- ),
54238
- /* @__PURE__ */ pe.jsx(
54239
- Y4,
54240
- {
54241
- type: "number",
54242
- height: a || "s",
54243
- width: "5rem",
54244
- value: e,
54245
- disabled: !0
54246
- }
54247
- )
54248
- ] }) : /* @__PURE__ */ pe.jsx(pe.Fragment, {}),
54249
- u ? /* @__PURE__ */ pe.jsxs("span", { className: "paginator_arrows", children: [
54250
- /* @__PURE__ */ pe.jsx(
54251
- or,
54252
- {
54253
- variant: "secondary",
54254
- size: a || "s",
54255
- icon: "arrowLeft",
54256
- width: "2.5rem",
54257
- backgroundColor: i,
54258
- onClick: o,
54259
- disabled: t === 1
54260
- }
54261
- ),
54262
- /* @__PURE__ */ pe.jsx(
54263
- or,
54264
- {
54265
- variant: "secondary",
54266
- size: a || "s",
54267
- icon: "arrowRight",
54268
- width: "2.5rem",
54269
- backgroundColor: i,
54270
- onClick: r,
54271
- disabled: t === e
54272
- }
54273
- )
54274
- ] }) : /* @__PURE__ */ pe.jsx(pe.Fragment, {})
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
  );