@brightspace-ui/core 1.227.0 → 1.227.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.
@@ -14,6 +14,7 @@ class ListHeader extends RtlMixin(LocalizeCoreElement(LitElement)) {
14
14
  static get properties() {
15
15
  return {
16
16
  /**
17
+ * @ignore
17
18
  * Whether to render a header with reduced whitespace
18
19
  * TODO: Remove
19
20
  * @type {boolean}
@@ -21,8 +22,7 @@ class ListHeader extends RtlMixin(LocalizeCoreElement(LitElement)) {
21
22
  slim: { reflect: true, type: Boolean },
22
23
  /**
23
24
  * How much padding to render list items with
24
- * One of 'normal'|'slim', defaults to 'normal'
25
- * @type {string}
25
+ * @type {'normal'|'slim'}
26
26
  */
27
27
  paddingType: { type: String, attribute: 'padding-type' },
28
28
  };
@@ -60,11 +60,11 @@ export const ListItemMixin = superclass => class extends LocalizeCoreElement(Lis
60
60
  dragTargetHandleOnly: { type: Boolean, attribute: 'drag-target-handle-only' },
61
61
  /**
62
62
  * How much padding to render list items with
63
- * One of 'normal'|'slim'|'none', defaults to 'normal'
64
- * @type {string}
63
+ * @type {'normal'|'slim'|'none'}
65
64
  */
66
65
  paddingType: { type: String, attribute: 'padding-type' },
67
66
  /**
67
+ * @ignore
68
68
  * Whether to render the list-item with reduced whitespace.
69
69
  * TODO: Remove in favor of padding-type="slim"
70
70
  * @type {boolean}
@@ -6482,16 +6482,10 @@
6482
6482
  "type": "array",
6483
6483
  "default": "[842,636,580,0]"
6484
6484
  },
6485
- {
6486
- "name": "slim",
6487
- "description": "Whether to render the list-item with reduced whitespace.\nTODO: Remove in favor of padding-type=\"slim\"",
6488
- "type": "boolean",
6489
- "default": "false"
6490
- },
6491
6485
  {
6492
6486
  "name": "padding-type",
6493
- "description": "How much padding to render list items with\nOne of 'normal'|'slim'|'none', defaults to 'normal'",
6494
- "type": "string",
6487
+ "description": "How much padding to render list items with",
6488
+ "type": "'normal'|'slim'|'none'",
6495
6489
  "default": "\"normal\""
6496
6490
  },
6497
6491
  {
@@ -6572,16 +6566,14 @@
6572
6566
  },
6573
6567
  {
6574
6568
  "name": "slim",
6575
- "attribute": "slim",
6576
- "description": "Whether to render the list-item with reduced whitespace.\nTODO: Remove in favor of padding-type=\"slim\"",
6577
6569
  "type": "boolean",
6578
6570
  "default": "false"
6579
6571
  },
6580
6572
  {
6581
6573
  "name": "paddingType",
6582
6574
  "attribute": "padding-type",
6583
- "description": "How much padding to render list items with\nOne of 'normal'|'slim'|'none', defaults to 'normal'",
6584
- "type": "string",
6575
+ "description": "How much padding to render list items with",
6576
+ "type": "'normal'|'slim'|'none'",
6585
6577
  "default": "\"normal\""
6586
6578
  },
6587
6579
  {
@@ -6681,32 +6673,24 @@
6681
6673
  "path": "./components/list/list-header.js",
6682
6674
  "description": "A header for list components containing select-all, etc.",
6683
6675
  "attributes": [
6684
- {
6685
- "name": "slim",
6686
- "description": "Whether to render a header with reduced whitespace\nTODO: Remove",
6687
- "type": "boolean",
6688
- "default": "false"
6689
- },
6690
6676
  {
6691
6677
  "name": "padding-type",
6692
- "description": "How much padding to render list items with\nOne of 'normal'|'slim', defaults to 'normal'",
6693
- "type": "string",
6678
+ "description": "How much padding to render list items with",
6679
+ "type": "'normal'|'slim'",
6694
6680
  "default": "\"normal\""
6695
6681
  }
6696
6682
  ],
6697
6683
  "properties": [
6698
6684
  {
6699
6685
  "name": "slim",
6700
- "attribute": "slim",
6701
- "description": "Whether to render a header with reduced whitespace\nTODO: Remove",
6702
6686
  "type": "boolean",
6703
6687
  "default": "false"
6704
6688
  },
6705
6689
  {
6706
6690
  "name": "paddingType",
6707
6691
  "attribute": "padding-type",
6708
- "description": "How much padding to render list items with\nOne of 'normal'|'slim', defaults to 'normal'",
6709
- "type": "string",
6692
+ "description": "How much padding to render list items with",
6693
+ "type": "'normal'|'slim'",
6710
6694
  "default": "\"normal\""
6711
6695
  }
6712
6696
  ],
@@ -6733,16 +6717,10 @@
6733
6717
  "type": "array",
6734
6718
  "default": "[842,636,580,0]"
6735
6719
  },
6736
- {
6737
- "name": "slim",
6738
- "description": "Whether to render the list-item with reduced whitespace.\nTODO: Remove in favor of padding-type=\"slim\"",
6739
- "type": "boolean",
6740
- "default": "false"
6741
- },
6742
6720
  {
6743
6721
  "name": "padding-type",
6744
- "description": "How much padding to render list items with\nOne of 'normal'|'slim'|'none', defaults to 'normal'",
6745
- "type": "string",
6722
+ "description": "How much padding to render list items with",
6723
+ "type": "'normal'|'slim'|'none'",
6746
6724
  "default": "\"normal\""
6747
6725
  },
6748
6726
  {
@@ -6823,16 +6801,14 @@
6823
6801
  },
6824
6802
  {
6825
6803
  "name": "slim",
6826
- "attribute": "slim",
6827
- "description": "Whether to render the list-item with reduced whitespace.\nTODO: Remove in favor of padding-type=\"slim\"",
6828
6804
  "type": "boolean",
6829
6805
  "default": "false"
6830
6806
  },
6831
6807
  {
6832
6808
  "name": "paddingType",
6833
6809
  "attribute": "padding-type",
6834
- "description": "How much padding to render list items with\nOne of 'normal'|'slim'|'none', defaults to 'normal'",
6835
- "type": "string",
6810
+ "description": "How much padding to render list items with",
6811
+ "type": "'normal'|'slim'|'none'",
6836
6812
  "default": "\"normal\""
6837
6813
  },
6838
6814
  {
@@ -7127,16 +7103,10 @@
7127
7103
  "type": "array",
7128
7104
  "default": "[842,636,580,0]"
7129
7105
  },
7130
- {
7131
- "name": "slim",
7132
- "description": "Whether to render the list-item with reduced whitespace.\nTODO: Remove in favor of padding-type=\"slim\"",
7133
- "type": "boolean",
7134
- "default": "false"
7135
- },
7136
7106
  {
7137
7107
  "name": "padding-type",
7138
- "description": "How much padding to render list items with\nOne of 'normal'|'slim'|'none', defaults to 'normal'",
7139
- "type": "string",
7108
+ "description": "How much padding to render list items with",
7109
+ "type": "'normal'|'slim'|'none'",
7140
7110
  "default": "\"normal\""
7141
7111
  },
7142
7112
  {
@@ -7229,16 +7199,14 @@
7229
7199
  },
7230
7200
  {
7231
7201
  "name": "slim",
7232
- "attribute": "slim",
7233
- "description": "Whether to render the list-item with reduced whitespace.\nTODO: Remove in favor of padding-type=\"slim\"",
7234
7202
  "type": "boolean",
7235
7203
  "default": "false"
7236
7204
  },
7237
7205
  {
7238
7206
  "name": "paddingType",
7239
7207
  "attribute": "padding-type",
7240
- "description": "How much padding to render list items with\nOne of 'normal'|'slim'|'none', defaults to 'normal'",
7241
- "type": "string",
7208
+ "description": "How much padding to render list items with",
7209
+ "type": "'normal'|'slim'|'none'",
7242
7210
  "default": "\"normal\""
7243
7211
  },
7244
7212
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "1.227.0",
3
+ "version": "1.227.1",
4
4
  "description": "A collection of accessible, free, open-source web components for building Brightspace applications",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/BrightspaceUI/core.git",