@nimbus-ds/patterns 1.7.0-rc.6 → 1.7.1-rc.1

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/CHANGELOG.md CHANGED
@@ -2,15 +2,22 @@
2
2
 
3
3
  Nimbus is an open-source Design System created by Tiendanube / Nuvesmhop’s team to empower and enhance more stories every day, with simplicity, accessibility, consistency and performance.
4
4
 
5
+ ## 2023-10-25 `1.7.1`
6
+
7
+ #### 🐛 Bug fixes
8
+
9
+ - Fixed text and object alignment issues on `EmptyMessage` component's `illustration` variant. ([#81](https://github.com/TiendaNube/nimbus-patterns/pull/81) by [@juanchigallego](https://github.com/juanchigallego))
10
+ - Adjusted text and spacing styles to match `EmptyMessage` component's UI design pattern. ([#81](https://github.com/TiendaNube/nimbus-patterns/pull/81) by [@juanchigallego](https://github.com/juanchigallego))
11
+
5
12
  ## 2023-10-17 `1.7.0`
6
13
 
7
14
  #### 🎉 New features
8
15
 
9
- - Added new `Editor` component. ([#77](https://github.com/TiendaNube/nimbus-patterns/pull/77) by [@juniorconquista](https://github.com/juniorconquista))
16
+ - Added new `Editor` component. ([#80](https://github.com/TiendaNube/nimbus-patterns/pull/80) by [@juniorconquista](https://github.com/juniorconquista))
10
17
 
11
18
  #### 🐛 Bug fixes
12
19
 
13
- - Fixed externally controlled visibility working correctly in the `ProductUpdate` component. ([#76](https://github.com/TiendaNube/nimbus-patterns/pull/76) by [@juniorconquista](https://github.com/juniorconquista))
20
+ - Fixed externally controlled visibility working correctly in the `ProductUpdate` component. ([#80](https://github.com/TiendaNube/nimbus-patterns/pull/80)
14
21
 
15
22
  ## 2023-09-25 `1.6.0`
16
23
 
package/dist/index.d.ts CHANGED
@@ -763,16 +763,16 @@ export type ThumbnailWithActionProps = ThumbnailWithActionProperties & {
763
763
  } & Omit<HTMLAttributes<HTMLElement>, "color">;
764
764
  export declare const ThumbnailWithAction: React.FC<ThumbnailWithActionProps>;
765
765
  export type CalendarExtends = ComponentProps<typeof DayPicker>;
766
- export type CalendarProps = CalendarExtends & {
766
+ export interface CalendarProperties {
767
767
  /**
768
768
  * Ability to hide the border of the calendar container. Useful for including the calendar inside other components such as Modal, Popover or Card.
769
769
  * @default false
770
770
  */
771
771
  hideBorder?: boolean;
772
772
  /**
773
- * Spreads the properties of the Box component to the calendar wrapper.
773
+ * Spreads the properties of the Box component to thˇe calendar wrapper.
774
774
  */
775
- containerProps?: BoxProps;
775
+ containerProps?: BoxProperties;
776
776
  /**
777
777
  * If true will stick the weekday indicators to the top of the component. Useful for when creating scrolling calendars with a display of >1 months. Only works when property numberOfMonths is set to a number greater than 1.
778
778
  * @default false
@@ -783,6 +783,12 @@ export type CalendarProps = CalendarExtends & {
783
783
  * @default false
784
784
  */
785
785
  fullWidthDays?: boolean;
786
+ }
787
+ export type CalendarProps = CalendarProperties & CalendarExtends & {
788
+ /**
789
+ * Spreads the properties of the Box component to thˇe calendar wrapper.
790
+ */
791
+ containerProps?: BoxProps;
786
792
  };
787
793
  export declare const Calendar: React.FC<CalendarProps>;
788
794