@vectara/vectara-ui 13.14.1 → 13.15.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.
@@ -6,7 +6,7 @@ type Props = {
6
6
  className?: string;
7
7
  interactive?: boolean;
8
8
  href?: string;
9
- padding?: "s" | "m" | "l";
9
+ padding?: "xxs" | "xs" | "s" | "m" | "l";
10
10
  ungrouped?: boolean;
11
11
  fullHeight?: boolean;
12
12
  isScrollable?: boolean;
@@ -4,7 +4,7 @@ type Props = {
4
4
  fullHeight?: boolean;
5
5
  href?: string;
6
6
  onClick?: (e: MouseEvent) => void;
7
- padding?: "xs" | "s" | "m" | "l";
7
+ padding?: "xxs" | "xs" | "s" | "m" | "l";
8
8
  children?: React.ReactNode;
9
9
  };
10
10
  export declare const VuiSimpleCard: ({ href, className, fullHeight, padding, children, onClick, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
@@ -83,8 +83,25 @@
83
83
  overflow-y: auto;
84
84
  }
85
85
 
86
+ .vuiCard--xxs {
87
+ .vuiCard__header,
88
+ .vuiCard__expandableButton,
89
+ .vuiCard__body {
90
+ padding: $sizeXs $sizeS;
91
+ }
92
+ }
93
+
94
+ .vuiCard--xs {
95
+ .vuiCard__header,
96
+ .vuiCard__expandableButton,
97
+ .vuiCard__body {
98
+ padding: $sizeS $sizeM;
99
+ }
100
+ }
101
+
86
102
  .vuiCard--s {
87
103
  .vuiCard__header,
104
+ .vuiCard__expandableButton,
88
105
  .vuiCard__body {
89
106
  padding: $sizeM $sizeL;
90
107
  }
@@ -92,6 +109,7 @@
92
109
 
93
110
  .vuiCard--m {
94
111
  .vuiCard__header,
112
+ .vuiCard__expandableButton,
95
113
  .vuiCard__body {
96
114
  padding: $sizeL $sizeXl;
97
115
  }
@@ -99,6 +117,7 @@
99
117
 
100
118
  .vuiCard--l {
101
119
  .vuiCard__header,
120
+ .vuiCard__expandableButton,
102
121
  .vuiCard__body {
103
122
  padding: $sizeXl $sizeXxl;
104
123
  }
@@ -108,7 +127,6 @@
108
127
  .vuiCard__expandableButton {
109
128
  display: block;
110
129
  width: 100%;
111
- padding: $sizeM $sizeL;
112
130
  text-align: left;
113
131
  background: transparent;
114
132
  border: none;
@@ -174,6 +192,10 @@
174
192
  height: 100%;
175
193
  }
176
194
 
195
+ .vuiSimpleCard--xxs {
196
+ padding: $sizeXs $sizeS;
197
+ }
198
+
177
199
  .vuiSimpleCard--xs {
178
200
  padding: $sizeS $sizeM;
179
201
  }
@@ -1168,17 +1168,32 @@ fieldset {
1168
1168
  overflow-y: auto;
1169
1169
  }
1170
1170
 
1171
+ .vuiCard--xxs .vuiCard__header,
1172
+ .vuiCard--xxs .vuiCard__expandableButton,
1173
+ .vuiCard--xxs .vuiCard__body {
1174
+ padding: 8px 12px;
1175
+ }
1176
+
1177
+ .vuiCard--xs .vuiCard__header,
1178
+ .vuiCard--xs .vuiCard__expandableButton,
1179
+ .vuiCard--xs .vuiCard__body {
1180
+ padding: 12px 16px;
1181
+ }
1182
+
1171
1183
  .vuiCard--s .vuiCard__header,
1184
+ .vuiCard--s .vuiCard__expandableButton,
1172
1185
  .vuiCard--s .vuiCard__body {
1173
1186
  padding: 16px 24px;
1174
1187
  }
1175
1188
 
1176
1189
  .vuiCard--m .vuiCard__header,
1190
+ .vuiCard--m .vuiCard__expandableButton,
1177
1191
  .vuiCard--m .vuiCard__body {
1178
1192
  padding: 24px 32px;
1179
1193
  }
1180
1194
 
1181
1195
  .vuiCard--l .vuiCard__header,
1196
+ .vuiCard--l .vuiCard__expandableButton,
1182
1197
  .vuiCard--l .vuiCard__body {
1183
1198
  padding: 32px 40px;
1184
1199
  }
@@ -1186,7 +1201,6 @@ fieldset {
1186
1201
  .vuiCard--expandable .vuiCard__expandableButton {
1187
1202
  display: block;
1188
1203
  width: 100%;
1189
- padding: 16px 24px;
1190
1204
  text-align: left;
1191
1205
  background: transparent;
1192
1206
  border: none;
@@ -1245,6 +1259,10 @@ fieldset {
1245
1259
  height: 100%;
1246
1260
  }
1247
1261
 
1262
+ .vuiSimpleCard--xxs {
1263
+ padding: 8px 12px;
1264
+ }
1265
+
1248
1266
  .vuiSimpleCard--xs {
1249
1267
  padding: 12px 16px;
1250
1268
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectara/vectara-ui",
3
- "version": "13.14.1",
3
+ "version": "13.15.0",
4
4
  "homepage": "./",
5
5
  "description": "Vectara's design system, codified as a React and Sass component library",
6
6
  "author": "Vectara",