@nimbus-ds/components 3.1.0 → 3.2.0
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 +10 -0
- package/dist/index.d.ts +17 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
This package is intended for internal use in generating builds of each design system package. It contains all the necessary settings and dependencies to optimize the creation of our builds.
|
|
4
4
|
|
|
5
|
+
## 2023-03-31 `3.2.0`
|
|
6
|
+
|
|
7
|
+
### 🎉 New features
|
|
8
|
+
|
|
9
|
+
- Added `textDecoration` property to `Box` component API. ([#136](https://github.com/TiendaNube/nimbus-design-system/pull/106) by
|
|
10
|
+
|
|
11
|
+
### 🐛 Bug fixes
|
|
12
|
+
|
|
13
|
+
- Add missing dependency for `@nimbus-ds/icon` external package on `Select` component. ([#136](https://github.com/TiendaNube/nimbus-design-system/pull/136) by [@juanchigallego](https://github.com/juanchigallego))
|
|
14
|
+
|
|
5
15
|
## 2023-03-24 `3.1.0`
|
|
6
16
|
|
|
7
17
|
### 🐛 Bug fixes
|
package/dist/index.d.ts
CHANGED
|
@@ -103,9 +103,7 @@ export type PointerEvents = "auto" | "none" | "visiblePainted" | "visibleFill" |
|
|
|
103
103
|
export type TransitionTiming = "ease" | "ease-in" | "ease-out" | "ease-in-out" | "linear" | "step-start" | "step-end";
|
|
104
104
|
declare const propertiesBox: {
|
|
105
105
|
gap: {
|
|
106
|
-
none: string;
|
|
107
|
-
* The gridTemplateRows property defines the line names and track sizing functions of the grid rows.
|
|
108
|
-
*/
|
|
106
|
+
none: string;
|
|
109
107
|
"0,5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
110
108
|
"1": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
111
109
|
"1,5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -122,9 +120,7 @@ declare const propertiesBox: {
|
|
|
122
120
|
"20": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
123
121
|
};
|
|
124
122
|
gridGap: {
|
|
125
|
-
none: string;
|
|
126
|
-
* The gridTemplateRows property defines the line names and track sizing functions of the grid rows.
|
|
127
|
-
*/
|
|
123
|
+
none: string;
|
|
128
124
|
"0,5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
129
125
|
"1": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
130
126
|
"1,5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -145,6 +141,10 @@ declare const propertiesBox: {
|
|
|
145
141
|
flexWrap: FlexWrap[];
|
|
146
142
|
justifyContent: JustifyContent[];
|
|
147
143
|
alignItems: AlignItems[];
|
|
144
|
+
/**
|
|
145
|
+
* The boxSizing property sets how the total width and height of an box is calculated.
|
|
146
|
+
* @default border-box
|
|
147
|
+
*/
|
|
148
148
|
alignSelf: AlignSelf[];
|
|
149
149
|
pointerEvents: PointerEvents[];
|
|
150
150
|
backgroundColor: {
|
|
@@ -159,7 +159,9 @@ declare const propertiesBox: {
|
|
|
159
159
|
"warning-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
160
160
|
"warning-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
161
161
|
"warning-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
162
|
-
"warning-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
162
|
+
"warning-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`; /**
|
|
163
|
+
* The min width property specifies the width of a box's content area.
|
|
164
|
+
*/
|
|
163
165
|
"danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
164
166
|
"danger-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
165
167
|
"danger-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -185,7 +187,9 @@ declare const propertiesBox: {
|
|
|
185
187
|
"warning-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
186
188
|
"warning-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
187
189
|
"warning-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
188
|
-
"warning-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
190
|
+
"warning-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`; /**
|
|
191
|
+
* The min width property specifies the width of a box's content area.
|
|
192
|
+
*/
|
|
189
193
|
"danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
190
194
|
"danger-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
191
195
|
"danger-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -269,6 +273,7 @@ declare const propertiesBox: {
|
|
|
269
273
|
slower: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
270
274
|
};
|
|
271
275
|
transitionTimingFunction: TransitionTiming[];
|
|
276
|
+
textDecoration: TextDecoration[];
|
|
272
277
|
};
|
|
273
278
|
export type BoxBorderColorProperties = keyof typeof propertiesBox.borderColor;
|
|
274
279
|
export type BoxBackgroundColorProperties = keyof typeof propertiesBox.backgroundColor;
|
|
@@ -533,6 +538,10 @@ export interface BoxSprinkle {
|
|
|
533
538
|
* The backgroundRepeat property sets how background images are repeated. A background image can be repeated along the horizontal and vertical axes, or not repeated at all.
|
|
534
539
|
*/
|
|
535
540
|
backgroundRepeat?: string | BoxConditions<string>;
|
|
541
|
+
/**
|
|
542
|
+
* The textDecoration shorthand property sets the appearance of decorative lines on text.
|
|
543
|
+
*/
|
|
544
|
+
textDecoration?: TextDecoration | BoxConditions<TextDecoration>;
|
|
536
545
|
/**
|
|
537
546
|
* The backgroundSize property sets the size of the element's background image. The image can be left to its natural size, stretched, or constrained to fit the available space.
|
|
538
547
|
*/
|