dap-design-system 0.21.0 → 0.21.2

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/dds.d.ts CHANGED
@@ -1214,6 +1214,7 @@ declare const DapDSCard_base: typeof DdsElement & {
1214
1214
  * @group card
1215
1215
  *
1216
1216
  * @property {'sm' | 'lg'} size - The size of the card actions. Default is `sm`.
1217
+ * @property {'top' | 'bottom' | 'both' | 'none'} spacing - The spacing of the card actions. This adds a margin to the card actions. Default is `bottom`.
1217
1218
  *
1218
1219
  * @slot - The content of the card actions.
1219
1220
  *
@@ -1223,6 +1224,7 @@ export declare class DapDSCardActions extends DapDSCardActions_base {
1223
1224
  /** Whether the card actions should be sized from the parent. */
1224
1225
  parentSized: string;
1225
1226
  static styles: CSSResult;
1227
+ constructor();
1226
1228
  render(): TemplateResult_2;
1227
1229
  }
1228
1230
 
@@ -1239,6 +1241,7 @@ declare const DapDSCardActions_base: typeof DdsElement & {
1239
1241
  * @group card
1240
1242
  *
1241
1243
  * @property {'sm' | 'lg'} size - The size of the card subtitle. Default is `sm`.
1244
+ * @property {'top' | 'bottom' | 'both' | 'none'} spacing - The spacing of the card content. This adds a margin to the card subtitle. Default is `bottom`.
1242
1245
  *
1243
1246
  * @slot - The content of the card-content.
1244
1247
  *
@@ -1250,6 +1253,7 @@ export declare class DapDSCardContent extends DapDSCardContent_base {
1250
1253
  /** Whether the card content should be sized from the parent. */
1251
1254
  parentSized: string;
1252
1255
  static styles: CSSResult;
1256
+ constructor();
1253
1257
  render(): TemplateResult_2;
1254
1258
  }
1255
1259
 
@@ -1290,6 +1294,7 @@ export declare class DapDSCardImage extends DdsElement {
1290
1294
  * @group card
1291
1295
  *
1292
1296
  * @property {'sm' | 'lg'} size - The size of the card subtitle. Default is `sm`.
1297
+ * @property {'top' | 'bottom' | 'both' | 'none'} spacing - The spacing of the card subtitle. This adds a margin to the card subtitle. Default is `top`.
1293
1298
  *
1294
1299
  * @slot - The content of the subtitle.
1295
1300
  *
@@ -1301,6 +1306,7 @@ export declare class DapDSCardSubtitle extends DapDSCardSubtitle_base {
1301
1306
  /** Whether the card subtitle should be sized from the parent. */
1302
1307
  parentSized: string;
1303
1308
  static styles: CSSResult;
1309
+ constructor();
1304
1310
  render(): TemplateResult_2;
1305
1311
  }
1306
1312
 
@@ -1317,6 +1323,8 @@ declare const DapDSCardSubtitle_base: typeof DdsElement & {
1317
1323
  * @group card
1318
1324
  *
1319
1325
  * @property {'sm' | 'lg'} size - The size of the card title. Default is `sm`.
1326
+ * @property {boolean} noPadding - Whether the card title should have no padding.
1327
+ * @property {'top' | 'bottom' | 'both' | 'none'} spacing - The spacing of the card title. This adds a margin to the card title. Default is `top`.
1320
1328
  *
1321
1329
  * @slot - The content of the title.
1322
1330
  *
@@ -1330,6 +1338,7 @@ export declare class DapDSCardTitle extends DapDSCardTitle_base {
1330
1338
  /** Whether the card title should have no padding. */
1331
1339
  noPadding: boolean;
1332
1340
  static styles: CSSResult;
1341
+ constructor();
1333
1342
  render(): TemplateResult_2;
1334
1343
  }
1335
1344
 
@@ -3646,6 +3655,8 @@ export declare class DocumentFileCopyLine extends DdsElement {
3646
3655
  render(): TemplateResult_2;
3647
3656
  }
3648
3657
 
3658
+ export declare type ElementSpacing = 'top' | 'bottom' | 'both' | 'none';
3659
+
3649
3660
  declare interface EventOptions {
3650
3661
  bubbles?: boolean;
3651
3662
  cancelable?: boolean;
@@ -3930,6 +3941,7 @@ export declare type Size = 'lg' | 'md' | 'sm' | 'xs' | 'xxs';
3930
3941
  declare interface SizedElementInterface {
3931
3942
  size: Size;
3932
3943
  parentSized: string;
3944
+ spacing: ElementSpacing;
3933
3945
  }
3934
3946
 
3935
3947
  export declare type SnackbarMessage = {