@nimbus-ds/components 4.2.1-rc.1 → 4.3.0-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,6 +2,7 @@
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-05-05 `4.3.0`
5
6
  ## 2023-05-02 `4.2.1`
6
7
 
7
8
  ### 🎉 New features
package/dist/index.d.ts CHANGED
@@ -1130,8 +1130,9 @@ declare const accordion: {
1130
1130
  sprinkle: ((props: {
1131
1131
  borderTop?: "base" | "none" | undefined;
1132
1132
  borderBottom?: "base" | "none" | undefined;
1133
+ padding?: "base" | "none" | undefined;
1133
1134
  }) => string) & {
1134
- properties: Set<"borderBottom" | "borderTop">;
1135
+ properties: Set<"borderBottom" | "borderTop" | "padding">;
1135
1136
  };
1136
1137
  properties: {
1137
1138
  borderTop: {
@@ -1142,6 +1143,10 @@ declare const accordion: {
1142
1143
  none: string;
1143
1144
  base: string;
1144
1145
  };
1146
+ padding: {
1147
+ none: string;
1148
+ base: string;
1149
+ };
1145
1150
  };
1146
1151
  classnames: {
1147
1152
  header: string;
@@ -2205,7 +2210,17 @@ export interface AccordionBodyProperties {
2205
2210
  * The borderBottom property defines a lower border of the accordion body.
2206
2211
  * @default none
2207
2212
  */
2208
- borderBottom?: keyof typeof accordion.properties.borderTop;
2213
+ borderBottom?: keyof typeof accordion.properties.borderBottom;
2214
+ /**
2215
+ * The borderTop property defines a top border of the accordion body.
2216
+ * @default none
2217
+ */
2218
+ borderTop?: keyof typeof accordion.properties.borderTop;
2219
+ /**
2220
+ * Padding properties are used to generate space around the content area of an Accordion.Body..
2221
+ * @default base
2222
+ */
2223
+ padding?: keyof typeof accordion.properties.padding;
2209
2224
  }
2210
2225
  export type AccordionBodyProps = AccordionBodyProperties & HTMLAttributes<HTMLElement>;
2211
2226
  declare const AccordionBody: React.FC<AccordionBodyProps>;