@ikatec/nebula-react 1.0.17 → 1.0.18

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
@@ -3717,9 +3717,10 @@ var Calendar = ({
3717
3717
  return /* @__PURE__ */ jsxRuntime.jsxs(
3718
3718
  "div",
3719
3719
  {
3720
- className: cn("flex justify-between items-center !h-9 mb-3", {
3720
+ className: cn("flex justify-between items-center !h-9", {
3721
3721
  "ps-3": numberOfMonths === 1,
3722
- "mb-0": showMonthGridSelection
3722
+ "mb-0": showMonthGridSelection,
3723
+ "mb-3": !showMonthGridSelection
3723
3724
  }),
3724
3725
  children: [
3725
3726
  !hideNavigation && numberOfMonths > 1 && /* @__PURE__ */ jsxRuntime.jsx(
@@ -3800,7 +3801,8 @@ var Calendar = ({
3800
3801
  return /* @__PURE__ */ jsxRuntime.jsx(
3801
3802
  Box,
3802
3803
  {
3803
- className: "nebula-ds z-40 !p-0 flex gap-2 flex-col justify-between w-full",
3804
+ paddingSize: "none",
3805
+ className: "nebula-ds z-40 flex gap-2 flex-col justify-between w-full",
3804
3806
  border: false,
3805
3807
  children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "nebula-ds z-40 grid grid-cols-2 gap-1 bg-inherit pt-2", children: MONTHS.map((monthOption) => {
3806
3808
  const monthOptionAsDate = new Date(monthOption);
@@ -3851,17 +3853,7 @@ var Calendar = ({
3851
3853
  return /* @__PURE__ */ jsxRuntime.jsx("tr", { ...props2 });
3852
3854
  },
3853
3855
  Weekday(props2) {
3854
- return /* @__PURE__ */ jsxRuntime.jsx(
3855
- "th",
3856
- {
3857
- ...props2,
3858
- className: cn(
3859
- props2.className,
3860
- "font-medium text-xs !text-calendar-weekDay-color"
3861
- ),
3862
- children: String(props2.children)?.toUpperCase()?.[0]
3863
- }
3864
- );
3856
+ return /* @__PURE__ */ jsxRuntime.jsx("th", { ...props2, className: cn(props2.className), children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "nebula-ds font-medium text-xs !text-calendar-weekDay-color text-center pb-2", children: String(props2.children)?.toUpperCase()?.[0] }) });
3865
3857
  },
3866
3858
  Footer(props2) {
3867
3859
  if (showMonthGridSelection) return void 0;
package/dist/index.mjs CHANGED
@@ -3677,9 +3677,10 @@ var Calendar = ({
3677
3677
  return /* @__PURE__ */ jsxs(
3678
3678
  "div",
3679
3679
  {
3680
- className: cn("flex justify-between items-center !h-9 mb-3", {
3680
+ className: cn("flex justify-between items-center !h-9", {
3681
3681
  "ps-3": numberOfMonths === 1,
3682
- "mb-0": showMonthGridSelection
3682
+ "mb-0": showMonthGridSelection,
3683
+ "mb-3": !showMonthGridSelection
3683
3684
  }),
3684
3685
  children: [
3685
3686
  !hideNavigation && numberOfMonths > 1 && /* @__PURE__ */ jsx(
@@ -3760,7 +3761,8 @@ var Calendar = ({
3760
3761
  return /* @__PURE__ */ jsx(
3761
3762
  Box,
3762
3763
  {
3763
- className: "nebula-ds z-40 !p-0 flex gap-2 flex-col justify-between w-full",
3764
+ paddingSize: "none",
3765
+ className: "nebula-ds z-40 flex gap-2 flex-col justify-between w-full",
3764
3766
  border: false,
3765
3767
  children: /* @__PURE__ */ jsx("div", { className: "nebula-ds z-40 grid grid-cols-2 gap-1 bg-inherit pt-2", children: MONTHS.map((monthOption) => {
3766
3768
  const monthOptionAsDate = new Date(monthOption);
@@ -3811,17 +3813,7 @@ var Calendar = ({
3811
3813
  return /* @__PURE__ */ jsx("tr", { ...props2 });
3812
3814
  },
3813
3815
  Weekday(props2) {
3814
- return /* @__PURE__ */ jsx(
3815
- "th",
3816
- {
3817
- ...props2,
3818
- className: cn(
3819
- props2.className,
3820
- "font-medium text-xs !text-calendar-weekDay-color"
3821
- ),
3822
- children: String(props2.children)?.toUpperCase()?.[0]
3823
- }
3824
- );
3816
+ return /* @__PURE__ */ jsx("th", { ...props2, className: cn(props2.className), children: /* @__PURE__ */ jsx("div", { className: "nebula-ds font-medium text-xs !text-calendar-weekDay-color text-center pb-2", children: String(props2.children)?.toUpperCase()?.[0] }) });
3825
3817
  },
3826
3818
  Footer(props2) {
3827
3819
  if (showMonthGridSelection) return void 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikatec/nebula-react",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "React components",
5
5
  "publishConfig": {
6
6
  "access": "public"