@nanoporetech-digital/components 5.7.0 → 5.8.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.
Files changed (110) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/nano-components.cjs.js +1 -1
  4. package/dist/cjs/nano-details.cjs.entry.js +74 -56
  5. package/dist/cjs/nano-details.cjs.entry.js.map +1 -1
  6. package/dist/cjs/nano-grid_2.cjs.entry.js +10 -8
  7. package/dist/cjs/nano-grid_2.cjs.entry.js.map +1 -1
  8. package/dist/cjs/nano-slide.cjs.entry.js +1 -1
  9. package/dist/cjs/nano-slide.cjs.entry.js.map +1 -1
  10. package/dist/cjs/nano-slides.cjs.entry.js +1 -1
  11. package/dist/cjs/nano-slides.cjs.entry.js.map +1 -1
  12. package/dist/cjs/nano-tab-group.cjs.entry.js +1 -1
  13. package/dist/cjs/nano-tab-group.cjs.entry.js.map +1 -1
  14. package/dist/cjs/nano-tab.cjs.entry.js +2 -2
  15. package/dist/cjs/nano-tab.cjs.entry.js.map +1 -1
  16. package/dist/cjs/{nano-table-e0a0c40f.js → nano-table-0f4ea38f.js} +15 -5
  17. package/dist/cjs/nano-table-0f4ea38f.js.map +1 -0
  18. package/dist/cjs/nano-table.cjs.entry.js +1 -1
  19. package/dist/cjs/{table.worker-249333f1.js → table.worker-ba6685a0.js} +2 -2
  20. package/dist/cjs/table.worker-ba6685a0.js.map +1 -0
  21. package/dist/collection/components/details/details.css +29 -54
  22. package/dist/collection/components/details/details.js +109 -81
  23. package/dist/collection/components/details/details.js.map +1 -1
  24. package/dist/collection/components/grid/grid.js +19 -17
  25. package/dist/collection/components/grid/grid.js.map +1 -1
  26. package/dist/collection/components/slides/slide.css +4 -0
  27. package/dist/collection/components/slides/slides.css +2 -1
  28. package/dist/collection/components/table/table-interface.js.map +1 -1
  29. package/dist/collection/components/table/table.cell.js +13 -3
  30. package/dist/collection/components/table/table.cell.js.map +1 -1
  31. package/dist/collection/components/table/table.js +5 -2
  32. package/dist/collection/components/table/table.js.map +1 -1
  33. package/dist/collection/components/tabs/tab-group.js +1 -1
  34. package/dist/collection/components/tabs/tab-group.js.map +1 -1
  35. package/dist/collection/components/tabs/tab.js +2 -2
  36. package/dist/collection/components/tabs/tab.js.map +1 -1
  37. package/dist/components/grid.js +19 -17
  38. package/dist/components/grid.js.map +1 -1
  39. package/dist/components/nano-details.js +77 -62
  40. package/dist/components/nano-details.js.map +1 -1
  41. package/dist/components/nano-slide.js +1 -1
  42. package/dist/components/nano-slide.js.map +1 -1
  43. package/dist/components/nano-slides.js +1 -1
  44. package/dist/components/nano-slides.js.map +1 -1
  45. package/dist/components/nano-tab-group.js +1 -1
  46. package/dist/components/nano-tab-group.js.map +1 -1
  47. package/dist/components/nano-tab.js +2 -2
  48. package/dist/components/nano-tab.js.map +1 -1
  49. package/dist/components/table.js +13 -3
  50. package/dist/components/table.js.map +1 -1
  51. package/dist/esm/loader.js +1 -1
  52. package/dist/esm/nano-components.js +1 -1
  53. package/dist/esm/nano-details.entry.js +75 -57
  54. package/dist/esm/nano-details.entry.js.map +1 -1
  55. package/dist/esm/nano-grid_2.entry.js +10 -8
  56. package/dist/esm/nano-grid_2.entry.js.map +1 -1
  57. package/dist/esm/nano-slide.entry.js +1 -1
  58. package/dist/esm/nano-slide.entry.js.map +1 -1
  59. package/dist/esm/nano-slides.entry.js +1 -1
  60. package/dist/esm/nano-slides.entry.js.map +1 -1
  61. package/dist/esm/nano-tab-group.entry.js +1 -1
  62. package/dist/esm/nano-tab-group.entry.js.map +1 -1
  63. package/dist/esm/nano-tab.entry.js +2 -2
  64. package/dist/esm/nano-tab.entry.js.map +1 -1
  65. package/dist/esm/{nano-table-d769b1dd.js → nano-table-cc0fc046.js} +15 -5
  66. package/dist/esm/nano-table-cc0fc046.js.map +1 -0
  67. package/dist/esm/nano-table.entry.js +1 -1
  68. package/dist/esm/{table.worker-cb6af8ab.js → table.worker-ca7b069b.js} +2 -2
  69. package/dist/esm/table.worker-ca7b069b.js.map +1 -0
  70. package/dist/nano-components/nano-components.esm.js +1 -1
  71. package/dist/nano-components/nano-components.esm.js.map +1 -1
  72. package/dist/nano-components/p-20086faa.entry.js +5 -0
  73. package/dist/nano-components/p-20086faa.entry.js.map +1 -0
  74. package/dist/nano-components/{p-d62b48bc.entry.js → p-3cac5f6d.entry.js} +2 -2
  75. package/dist/nano-components/{p-d62b48bc.entry.js.map → p-3cac5f6d.entry.js.map} +1 -1
  76. package/dist/nano-components/p-3d8fb8a1.entry.js +5 -0
  77. package/dist/nano-components/p-3d8fb8a1.entry.js.map +1 -0
  78. package/dist/nano-components/{p-94b4479b.js → p-43573870.js} +2 -2
  79. package/dist/nano-components/{p-6ae6d4a6.entry.js → p-4b7e85b2.entry.js} +2 -2
  80. package/dist/nano-components/p-5ca9275c.entry.js +5 -0
  81. package/dist/nano-components/p-5ca9275c.entry.js.map +1 -0
  82. package/dist/nano-components/{p-bedada62.entry.js → p-92195a83.entry.js} +2 -2
  83. package/dist/nano-components/{p-bedada62.entry.js.map → p-92195a83.entry.js.map} +1 -1
  84. package/dist/nano-components/{p-6106c383.entry.js → p-935968b8.entry.js} +3 -3
  85. package/dist/nano-components/{p-6106c383.entry.js.map → p-935968b8.entry.js.map} +1 -1
  86. package/dist/nano-components/p-d2705006.js +5 -0
  87. package/dist/nano-components/p-d2705006.js.map +1 -0
  88. package/dist/types/components/details/details.d.ts +18 -25
  89. package/dist/types/components/grid/grid.d.ts +1 -0
  90. package/dist/types/components/table/table-interface.d.ts +2 -1
  91. package/dist/types/components/table/table.d.ts +1 -1
  92. package/dist/types/components.d.ts +24 -10
  93. package/docs-json.json +63 -67
  94. package/docs-vscode.json +8 -33
  95. package/hydrate/index.js +118 -82
  96. package/package.json +2 -2
  97. package/dist/cjs/nano-table-e0a0c40f.js.map +0 -1
  98. package/dist/cjs/table.worker-249333f1.js.map +0 -1
  99. package/dist/esm/nano-table-d769b1dd.js.map +0 -1
  100. package/dist/esm/table.worker-cb6af8ab.js.map +0 -1
  101. package/dist/nano-components/p-3018d4df.js +0 -5
  102. package/dist/nano-components/p-3018d4df.js.map +0 -1
  103. package/dist/nano-components/p-50f2fdb3.entry.js +0 -5
  104. package/dist/nano-components/p-50f2fdb3.entry.js.map +0 -1
  105. package/dist/nano-components/p-9d65f5de.entry.js +0 -5
  106. package/dist/nano-components/p-9d65f5de.entry.js.map +0 -1
  107. package/dist/nano-components/p-a03993f9.entry.js +0 -5
  108. package/dist/nano-components/p-a03993f9.entry.js.map +0 -1
  109. /package/dist/nano-components/{p-6ae6d4a6.entry.js.map → p-43573870.js.map} +0 -0
  110. /package/dist/nano-components/{p-94b4479b.js.map → p-4b7e85b2.entry.js.map} +0 -0
@@ -655,25 +655,29 @@ export namespace Components {
655
655
  }
656
656
  interface NanoDetails {
657
657
  /**
658
- * Color to use from your application's color palette.
658
+ * Disables the details so it can't be toggled.
659
659
  */
660
- "color"?: Color;
660
+ "disabled": boolean;
661
661
  /**
662
662
  * Icon slot rotation amount (degrees) on open
663
663
  */
664
664
  "iconRotation": number;
665
665
  /**
666
- * Button / handle text to be used if no complex markup required. Otherwise use label slot.
666
+ * Summary / handle text. Use the `label` slot for HTML markup
667
667
  */
668
668
  "label": string;
669
669
  /**
670
- * Have no handle - you will need to control the hiding / showing of content with script
670
+ * Hide the handle. (You will need to control the hiding / showing of content with script)
671
671
  */
672
672
  "noHandle": boolean;
673
673
  /**
674
674
  * Should item be open on load
675
675
  */
676
676
  "open": boolean;
677
+ /**
678
+ * Sometimes, nested content will resize within the details component which results in choppy show/hide animations. Set `useCacheHeight` to `true` try to keep animations smooth.
679
+ */
680
+ "useCacheHeight": boolean;
677
681
  }
678
682
  /**
679
683
  * Dialogs, sometimes called "modals", appear above the page and require the user's immediate attention.
@@ -2426,7 +2430,10 @@ export namespace Components {
2426
2430
  /**
2427
2431
  * Function called whenever `col.cellTemplate` renders an unknown object. The function should render a valid HTMLElement to the cell arg. Example usage - render JSX from a 3rd party lib and append the result to the cell element.
2428
2432
  */
2429
- "customRenderer": (node: any, cell: HTMLElement) => void;
2433
+ "customRenderer": (
2434
+ node: any,
2435
+ cell: HTMLElement
2436
+ ) => void | Promise<string>;
2430
2437
  /**
2431
2438
  * A custom sorting function. Should return a promise. If the promise resolves as `true` the column UI will be updated. If the promise resolves as falsey, the sort will be performed by the component. A good use-case would be performing the sort on a server / via fetch. Then on success, updating the table's data via the `rows` property
2432
2439
  */
@@ -3958,19 +3965,19 @@ declare namespace LocalJSX {
3958
3965
  }
3959
3966
  interface NanoDetails {
3960
3967
  /**
3961
- * Color to use from your application's color palette.
3968
+ * Disables the details so it can't be toggled.
3962
3969
  */
3963
- "color"?: Color;
3970
+ "disabled"?: boolean;
3964
3971
  /**
3965
3972
  * Icon slot rotation amount (degrees) on open
3966
3973
  */
3967
3974
  "iconRotation"?: number;
3968
3975
  /**
3969
- * Button / handle text to be used if no complex markup required. Otherwise use label slot.
3976
+ * Summary / handle text. Use the `label` slot for HTML markup
3970
3977
  */
3971
3978
  "label"?: string;
3972
3979
  /**
3973
- * Have no handle - you will need to control the hiding / showing of content with script
3980
+ * Hide the handle. (You will need to control the hiding / showing of content with script)
3974
3981
  */
3975
3982
  "noHandle"?: boolean;
3976
3983
  /**
@@ -3985,6 +3992,10 @@ declare namespace LocalJSX {
3985
3992
  * Should item be open on load
3986
3993
  */
3987
3994
  "open"?: boolean;
3995
+ /**
3996
+ * Sometimes, nested content will resize within the details component which results in choppy show/hide animations. Set `useCacheHeight` to `true` try to keep animations smooth.
3997
+ */
3998
+ "useCacheHeight"?: boolean;
3988
3999
  }
3989
4000
  /**
3990
4001
  * Dialogs, sometimes called "modals", appear above the page and require the user's immediate attention.
@@ -5832,7 +5843,10 @@ declare namespace LocalJSX {
5832
5843
  /**
5833
5844
  * Function called whenever `col.cellTemplate` renders an unknown object. The function should render a valid HTMLElement to the cell arg. Example usage - render JSX from a 3rd party lib and append the result to the cell element.
5834
5845
  */
5835
- "customRenderer"?: (node: any, cell: HTMLElement) => void;
5846
+ "customRenderer"?: (
5847
+ node: any,
5848
+ cell: HTMLElement
5849
+ ) => void | Promise<string>;
5836
5850
  /**
5837
5851
  * A custom sorting function. Should return a promise. If the promise resolves as `true` the column UI will be updated. If the promise resolves as falsey, the sort will be performed by the component. A good use-case would be performing the sort on a server / via fetch. Then on success, updating the table's data via the `rows` property
5838
5852
  */
package/docs-json.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2023-10-09T22:13:52",
2
+ "timestamp": "2023-10-11T16:13:10",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "2.23.1",
@@ -4046,7 +4046,11 @@
4046
4046
  },
4047
4047
  {
4048
4048
  "name": "part",
4049
- "text": "button - the main details ui control"
4049
+ "text": "base - the root `details` element"
4050
+ },
4051
+ {
4052
+ "name": "part",
4053
+ "text": "header - the main `summary` ui control"
4050
4054
  },
4051
4055
  {
4052
4056
  "name": "part",
@@ -4060,6 +4064,10 @@
4060
4064
  "name": "part",
4061
4065
  "text": "icon--end - the icon wrapper at the end of the ui control"
4062
4066
  },
4067
+ {
4068
+ "name": "part",
4069
+ "text": "body - the wrapper around content"
4070
+ },
4063
4071
  {
4064
4072
  "name": "part",
4065
4073
  "text": "content - the main content wrapper"
@@ -4068,52 +4076,20 @@
4068
4076
  "usage": {},
4069
4077
  "props": [
4070
4078
  {
4071
- "name": "color",
4072
- "type": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
4073
- "mutable": false,
4074
- "attr": "color",
4075
- "reflectToAttr": false,
4076
- "docs": "Color to use from your application's color palette.",
4079
+ "name": "disabled",
4080
+ "type": "boolean",
4081
+ "mutable": true,
4082
+ "attr": "disabled",
4083
+ "reflectToAttr": true,
4084
+ "docs": "Disables the details so it can't be toggled.",
4077
4085
  "docsTags": [],
4086
+ "default": "false",
4078
4087
  "values": [
4079
4088
  {
4080
- "value": "danger",
4081
- "type": "string"
4082
- },
4083
- {
4084
- "value": "dark",
4085
- "type": "string"
4086
- },
4087
- {
4088
- "value": "light",
4089
- "type": "string"
4090
- },
4091
- {
4092
- "value": "medium",
4093
- "type": "string"
4094
- },
4095
- {
4096
- "value": "primary",
4097
- "type": "string"
4098
- },
4099
- {
4100
- "value": "secondary",
4101
- "type": "string"
4102
- },
4103
- {
4104
- "value": "success",
4105
- "type": "string"
4106
- },
4107
- {
4108
- "value": "tertiary",
4109
- "type": "string"
4110
- },
4111
- {
4112
- "value": "warning",
4113
- "type": "string"
4089
+ "type": "boolean"
4114
4090
  }
4115
4091
  ],
4116
- "optional": true,
4092
+ "optional": false,
4117
4093
  "required": false,
4118
4094
  "getter": false,
4119
4095
  "setter": false
@@ -4143,7 +4119,7 @@
4143
4119
  "mutable": false,
4144
4120
  "attr": "label",
4145
4121
  "reflectToAttr": false,
4146
- "docs": "Button / handle text to be used if no complex markup required.\nOtherwise use label slot.",
4122
+ "docs": "Summary / handle text. Use the `label` slot for HTML markup",
4147
4123
  "docsTags": [],
4148
4124
  "default": "''",
4149
4125
  "values": [
@@ -4162,7 +4138,7 @@
4162
4138
  "mutable": false,
4163
4139
  "attr": "no-handle",
4164
4140
  "reflectToAttr": false,
4165
- "docs": "Have no handle - you will need to control the hiding / showing of content with script",
4141
+ "docs": "Hide the handle. (You will need to control the hiding / showing of content with script)",
4166
4142
  "docsTags": [],
4167
4143
  "default": "false",
4168
4144
  "values": [
@@ -4193,6 +4169,25 @@
4193
4169
  "required": false,
4194
4170
  "getter": false,
4195
4171
  "setter": false
4172
+ },
4173
+ {
4174
+ "name": "useCacheHeight",
4175
+ "type": "boolean",
4176
+ "mutable": false,
4177
+ "attr": "use-cache-height",
4178
+ "reflectToAttr": false,
4179
+ "docs": "Sometimes, nested content will resize within the details component which results in choppy show/hide animations.\nSet `useCacheHeight` to `true` try to keep animations smooth.",
4180
+ "docsTags": [],
4181
+ "default": "false",
4182
+ "values": [
4183
+ {
4184
+ "type": "boolean"
4185
+ }
4186
+ ],
4187
+ "optional": false,
4188
+ "required": false,
4189
+ "getter": false,
4190
+ "setter": false
4196
4191
  }
4197
4192
  ],
4198
4193
  "methods": [],
@@ -4278,16 +4273,6 @@
4278
4273
  "annotation": "prop",
4279
4274
  "docs": "Defaults to var(--nano-color-contrast, var(--btn-text-color));"
4280
4275
  },
4281
- {
4282
- "name": "--content-bg-color",
4283
- "annotation": "prop",
4284
- "docs": "Defaults to transparent;"
4285
- },
4286
- {
4287
- "name": "--content-text-color",
4288
- "annotation": "prop",
4289
- "docs": "Defaults to #455556;"
4290
- },
4291
4276
  {
4292
4277
  "name": "--content-transition",
4293
4278
  "annotation": "prop",
@@ -4324,13 +4309,21 @@
4324
4309
  ],
4325
4310
  "parts": [
4326
4311
  {
4327
- "name": "button",
4328
- "docs": "the main details ui control"
4312
+ "name": "base",
4313
+ "docs": "the root `details` element"
4314
+ },
4315
+ {
4316
+ "name": "body",
4317
+ "docs": "the wrapper around content"
4329
4318
  },
4330
4319
  {
4331
4320
  "name": "content",
4332
4321
  "docs": "the main content wrapper"
4333
4322
  },
4323
+ {
4324
+ "name": "header",
4325
+ "docs": "the main `summary` ui control"
4326
+ },
4334
4327
  {
4335
4328
  "name": "icon--end",
4336
4329
  "docs": "the icon wrapper at the end of the ui control"
@@ -7595,7 +7588,7 @@
7595
7588
  "type": "number",
7596
7589
  "mutable": false,
7597
7590
  "attr": "l-cols",
7598
- "reflectToAttr": false,
7591
+ "reflectToAttr": true,
7599
7592
  "docs": "the number of columns the grid has at the large breakpoint.",
7600
7593
  "docsTags": [],
7601
7594
  "values": [
@@ -7613,7 +7606,7 @@
7613
7606
  "type": "number | string",
7614
7607
  "mutable": false,
7615
7608
  "attr": "l-size",
7616
- "reflectToAttr": false,
7609
+ "reflectToAttr": true,
7617
7610
  "docs": "the component's large breakpoint. Note - all breakpoints are based on component width, not screen width.\nWill default to `px` if no unit supplied e.g. `20rem`",
7618
7611
  "docsTags": [],
7619
7612
  "default": "800",
@@ -7653,7 +7646,7 @@
7653
7646
  "type": "number",
7654
7647
  "mutable": false,
7655
7648
  "attr": "m-cols",
7656
- "reflectToAttr": false,
7649
+ "reflectToAttr": true,
7657
7650
  "docs": "the number of columns the grid has at the medium breakpoint.",
7658
7651
  "docsTags": [],
7659
7652
  "values": [
@@ -7671,7 +7664,7 @@
7671
7664
  "type": "number | string",
7672
7665
  "mutable": false,
7673
7666
  "attr": "m-size",
7674
- "reflectToAttr": false,
7667
+ "reflectToAttr": true,
7675
7668
  "docs": "the component's medium breakpoint. Note - all breakpoints are based on component width, not screen width.\nWill default to `px` if no unit supplied e.g. `20rem`",
7676
7669
  "docsTags": [],
7677
7670
  "default": "550",
@@ -7711,7 +7704,7 @@
7711
7704
  "type": "number",
7712
7705
  "mutable": false,
7713
7706
  "attr": "s-cols",
7714
- "reflectToAttr": false,
7707
+ "reflectToAttr": true,
7715
7708
  "docs": "the number of columns the grid has at the small breakpoint.",
7716
7709
  "docsTags": [],
7717
7710
  "values": [
@@ -7729,7 +7722,7 @@
7729
7722
  "type": "number | string",
7730
7723
  "mutable": false,
7731
7724
  "attr": "s-size",
7732
- "reflectToAttr": false,
7725
+ "reflectToAttr": true,
7733
7726
  "docs": "the component's small breakpoint. Note - all breakpoints are based on component width, not screen width.\nWill default to `px` if no unit supplied e.g. `20rem`",
7734
7727
  "docsTags": [],
7735
7728
  "default": "300",
@@ -7788,7 +7781,7 @@
7788
7781
  "type": "number",
7789
7782
  "mutable": false,
7790
7783
  "attr": "xl-cols",
7791
- "reflectToAttr": false,
7784
+ "reflectToAttr": true,
7792
7785
  "docs": "the number of columns the grid has at the xl breakpoint.",
7793
7786
  "docsTags": [],
7794
7787
  "values": [
@@ -7806,7 +7799,7 @@
7806
7799
  "type": "number | string",
7807
7800
  "mutable": false,
7808
7801
  "attr": "xl-size",
7809
- "reflectToAttr": false,
7802
+ "reflectToAttr": true,
7810
7803
  "docs": "the component's xl breakpoint. Note - all breakpoints are based on component width, not screen width.\nWill default to `px` if no unit supplied e.g. `20rem`",
7811
7804
  "docsTags": [],
7812
7805
  "default": "1000",
@@ -7846,7 +7839,7 @@
7846
7839
  "type": "number",
7847
7840
  "mutable": false,
7848
7841
  "attr": "xxl-cols",
7849
- "reflectToAttr": false,
7842
+ "reflectToAttr": true,
7850
7843
  "docs": "the number of columns the grid has at the xxl breakpoint (anything greater than the xl breakpoint)",
7851
7844
  "docsTags": [],
7852
7845
  "values": [
@@ -16368,7 +16361,7 @@
16368
16361
  },
16369
16362
  {
16370
16363
  "name": "customRenderer",
16371
- "type": "(node: any, cell: HTMLElement) => void",
16364
+ "type": "(node: any, cell: HTMLElement) => void | Promise<string>",
16372
16365
  "mutable": false,
16373
16366
  "reflectToAttr": false,
16374
16367
  "docs": "Function called whenever `col.cellTemplate` renders an unknown object.\nThe function should render a valid HTMLElement to the cell arg.\nExample usage - render JSX from a 3rd party lib and append the result to the cell element.",
@@ -16376,6 +16369,9 @@
16376
16369
  "values": [
16377
16370
  {
16378
16371
  "type": "(node: any, cell: HTMLElement) => void"
16372
+ },
16373
+ {
16374
+ "type": "Promise<string>"
16379
16375
  }
16380
16376
  ],
16381
16377
  "optional": false,
package/docs-vscode.json CHANGED
@@ -814,37 +814,8 @@
814
814
  },
815
815
  "attributes": [
816
816
  {
817
- "name": "color",
818
- "description": "Color to use from your application's color palette.",
819
- "values": [
820
- {
821
- "name": "danger"
822
- },
823
- {
824
- "name": "dark"
825
- },
826
- {
827
- "name": "light"
828
- },
829
- {
830
- "name": "medium"
831
- },
832
- {
833
- "name": "primary"
834
- },
835
- {
836
- "name": "secondary"
837
- },
838
- {
839
- "name": "success"
840
- },
841
- {
842
- "name": "tertiary"
843
- },
844
- {
845
- "name": "warning"
846
- }
847
- ]
817
+ "name": "disabled",
818
+ "description": "Disables the details so it can't be toggled."
848
819
  },
849
820
  {
850
821
  "name": "icon-rotation",
@@ -852,15 +823,19 @@
852
823
  },
853
824
  {
854
825
  "name": "label",
855
- "description": "Button / handle text to be used if no complex markup required.\nOtherwise use label slot."
826
+ "description": "Summary / handle text. Use the `label` slot for HTML markup"
856
827
  },
857
828
  {
858
829
  "name": "no-handle",
859
- "description": "Have no handle - you will need to control the hiding / showing of content with script"
830
+ "description": "Hide the handle. (You will need to control the hiding / showing of content with script)"
860
831
  },
861
832
  {
862
833
  "name": "open",
863
834
  "description": "Should item be open on load"
835
+ },
836
+ {
837
+ "name": "use-cache-height",
838
+ "description": "Sometimes, nested content will resize within the details component which results in choppy show/hide animations.\nSet `useCacheHeight` to `true` try to keep animations smooth."
864
839
  }
865
840
  ]
866
841
  },