@nanoporetech-digital/components 5.6.0 → 5.8.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 +27 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/nano-components.cjs.js +1 -1
- package/dist/cjs/nano-details.cjs.entry.js +70 -56
- package/dist/cjs/nano-details.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-grid_2.cjs.entry.js +10 -8
- package/dist/cjs/nano-grid_2.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-slide.cjs.entry.js +1 -1
- package/dist/cjs/nano-slide.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-slides.cjs.entry.js +1 -1
- package/dist/cjs/nano-slides.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/nano-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-tab.cjs.entry.js +2 -2
- package/dist/cjs/nano-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/{nano-table-4f7bee74.js → nano-table-31c953f4.js} +15 -5
- package/dist/cjs/nano-table-31c953f4.js.map +1 -0
- package/dist/cjs/nano-table.cjs.entry.js +1 -1
- package/dist/cjs/{table.worker-40cb9711.js → table.worker-31839f14.js} +2 -2
- package/dist/cjs/table.worker-31839f14.js.map +1 -0
- package/dist/collection/components/details/details.css +29 -54
- package/dist/collection/components/details/details.js +95 -91
- package/dist/collection/components/details/details.js.map +1 -1
- package/dist/collection/components/grid/grid.js +19 -17
- package/dist/collection/components/grid/grid.js.map +1 -1
- package/dist/collection/components/slides/slide.css +4 -0
- package/dist/collection/components/slides/slides.css +2 -1
- package/dist/collection/components/table/table-interface.js.map +1 -1
- package/dist/collection/components/table/table.cell.js +13 -3
- package/dist/collection/components/table/table.cell.js.map +1 -1
- package/dist/collection/components/table/table.js +5 -2
- package/dist/collection/components/table/table.js.map +1 -1
- package/dist/collection/components/tabs/tab-group.js +1 -1
- package/dist/collection/components/tabs/tab-group.js.map +1 -1
- package/dist/collection/components/tabs/tab.js +2 -2
- package/dist/collection/components/tabs/tab.js.map +1 -1
- package/dist/components/grid.js +19 -17
- package/dist/components/grid.js.map +1 -1
- package/dist/components/nano-details.js +73 -63
- package/dist/components/nano-details.js.map +1 -1
- package/dist/components/nano-slide.js +1 -1
- package/dist/components/nano-slide.js.map +1 -1
- package/dist/components/nano-slides.js +1 -1
- package/dist/components/nano-slides.js.map +1 -1
- package/dist/components/nano-tab-group.js +1 -1
- package/dist/components/nano-tab-group.js.map +1 -1
- package/dist/components/nano-tab.js +2 -2
- package/dist/components/nano-tab.js.map +1 -1
- package/dist/components/table.js +13 -3
- package/dist/components/table.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/nano-components.js +1 -1
- package/dist/esm/nano-details.entry.js +71 -57
- package/dist/esm/nano-details.entry.js.map +1 -1
- package/dist/esm/nano-grid_2.entry.js +10 -8
- package/dist/esm/nano-grid_2.entry.js.map +1 -1
- package/dist/esm/nano-slide.entry.js +1 -1
- package/dist/esm/nano-slide.entry.js.map +1 -1
- package/dist/esm/nano-slides.entry.js +1 -1
- package/dist/esm/nano-slides.entry.js.map +1 -1
- package/dist/esm/nano-tab-group.entry.js +1 -1
- package/dist/esm/nano-tab-group.entry.js.map +1 -1
- package/dist/esm/nano-tab.entry.js +2 -2
- package/dist/esm/nano-tab.entry.js.map +1 -1
- package/dist/esm/{nano-table-1a47793e.js → nano-table-c365bb42.js} +15 -5
- package/dist/esm/nano-table-c365bb42.js.map +1 -0
- package/dist/esm/nano-table.entry.js +1 -1
- package/dist/esm/{table.worker-b4d2b9f2.js → table.worker-66324663.js} +2 -2
- package/dist/esm/table.worker-66324663.js.map +1 -0
- package/dist/nano-components/nano-components.esm.js +1 -1
- package/dist/nano-components/nano-components.esm.js.map +1 -1
- package/dist/nano-components/p-20086faa.entry.js +5 -0
- package/dist/nano-components/p-20086faa.entry.js.map +1 -0
- package/dist/nano-components/p-2cc0faeb.js +5 -0
- package/dist/nano-components/{p-d62b48bc.entry.js → p-3cac5f6d.entry.js} +2 -2
- package/dist/nano-components/{p-d62b48bc.entry.js.map → p-3cac5f6d.entry.js.map} +1 -1
- package/dist/nano-components/p-3d8fb8a1.entry.js +5 -0
- package/dist/nano-components/p-3d8fb8a1.entry.js.map +1 -0
- package/dist/nano-components/p-512194c4.entry.js +5 -0
- package/dist/nano-components/p-512194c4.entry.js.map +1 -0
- package/dist/nano-components/p-7c0c892a.js +5 -0
- package/dist/nano-components/p-7c0c892a.js.map +1 -0
- package/dist/nano-components/{p-bedada62.entry.js → p-92195a83.entry.js} +2 -2
- package/dist/nano-components/{p-bedada62.entry.js.map → p-92195a83.entry.js.map} +1 -1
- package/dist/nano-components/{p-6106c383.entry.js → p-935968b8.entry.js} +3 -3
- package/dist/nano-components/{p-6106c383.entry.js.map → p-935968b8.entry.js.map} +1 -1
- package/dist/nano-components/{p-db9325e8.entry.js → p-c2ccac87.entry.js} +2 -2
- package/dist/types/components/details/details.d.ts +14 -26
- package/dist/types/components/grid/grid.d.ts +1 -0
- package/dist/types/components/table/table-interface.d.ts +2 -1
- package/dist/types/components/table/table.d.ts +1 -1
- package/dist/types/components.d.ts +16 -10
- package/docs-json.json +44 -67
- package/docs-vscode.json +4 -33
- package/hydrate/index.js +114 -83
- package/package.json +2 -2
- package/dist/cjs/nano-table-4f7bee74.js.map +0 -1
- package/dist/cjs/table.worker-40cb9711.js.map +0 -1
- package/dist/esm/nano-table-1a47793e.js.map +0 -1
- package/dist/esm/table.worker-b4d2b9f2.js.map +0 -1
- package/dist/nano-components/p-4764da42.js +0 -5
- package/dist/nano-components/p-47e84d30.js +0 -5
- package/dist/nano-components/p-47e84d30.js.map +0 -1
- package/dist/nano-components/p-50f2fdb3.entry.js +0 -5
- package/dist/nano-components/p-50f2fdb3.entry.js.map +0 -1
- package/dist/nano-components/p-9d65f5de.entry.js +0 -5
- package/dist/nano-components/p-9d65f5de.entry.js.map +0 -1
- package/dist/nano-components/p-a03993f9.entry.js +0 -5
- package/dist/nano-components/p-a03993f9.entry.js.map +0 -1
- /package/dist/nano-components/{p-4764da42.js.map → p-2cc0faeb.js.map} +0 -0
- /package/dist/nano-components/{p-db9325e8.entry.js.map → p-c2ccac87.entry.js.map} +0 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
2
|
* Web Components for Nanopore digital Web Apps
|
3
3
|
*/
|
4
|
-
export{T as nano_table}from"./p-
|
5
|
-
//# sourceMappingURL=p-
|
4
|
+
export{T as nano_table}from"./p-7c0c892a.js";import"./p-d6a04b3a.js";import"./p-ee045579.js";import"./p-7bff5224.js";import"./p-70747f20.js";
|
5
|
+
//# sourceMappingURL=p-c2ccac87.entry.js.map
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
2
|
-
import type { Color } from '../../interface';
|
3
2
|
/**
|
4
3
|
* A simple element used to hide or reveal more content with slide effect. Can be used independently or nested within a [accordion](story/components-accordion--accordion) element to add 'one item open at a time' support.
|
5
4
|
*/
|
@@ -9,44 +8,34 @@ import type { Color } from '../../interface';
|
|
9
8
|
* @slot label - can be used when you wish to insert complex label markup
|
10
9
|
* @slot icon-end - used for icons at the end of the handle
|
11
10
|
*
|
12
|
-
* @part
|
11
|
+
* @part base - the root `details` element
|
12
|
+
* @part header - the main `summary` ui control
|
13
13
|
* @part label - the text wrapper of the ui control
|
14
14
|
* @part icon--start - the icon wrapper at the start of the ui control
|
15
15
|
* @part icon--end - the icon wrapper at the end of the ui control
|
16
|
+
* @part body - the wrapper around content
|
16
17
|
* @part content - the main content wrapper
|
17
18
|
*/
|
18
19
|
export declare class Details {
|
19
20
|
private hasStartSlot;
|
20
21
|
private hasEndSlot;
|
21
|
-
private slideId;
|
22
22
|
private mo?;
|
23
|
-
private ro?;
|
24
|
-
private contentArea;
|
25
23
|
private stateChanging;
|
26
|
-
|
27
|
-
private
|
24
|
+
private bodyEl;
|
25
|
+
private detailsEl;
|
26
|
+
private headerEl;
|
28
27
|
private contentEl;
|
29
|
-
|
30
|
-
|
31
|
-
* Otherwise use label slot.
|
32
|
-
*/
|
28
|
+
private host;
|
29
|
+
/** Summary / handle text. Use the `label` slot for HTML markup */
|
33
30
|
label: string;
|
34
|
-
/**
|
35
|
-
* Should item be open on load
|
36
|
-
*/
|
31
|
+
/** Should item be open on load */
|
37
32
|
open: boolean;
|
38
|
-
/**
|
39
|
-
|
40
|
-
|
33
|
+
/** Disables the details so it can't be toggled. */
|
34
|
+
disabled: boolean;
|
35
|
+
/** Hide the handle. (You will need to control the hiding / showing of content with script) */
|
41
36
|
noHandle: boolean;
|
42
|
-
/**
|
43
|
-
* Icon slot rotation amount (degrees) on open
|
44
|
-
*/
|
37
|
+
/** Icon slot rotation amount (degrees) on open */
|
45
38
|
iconRotation: number;
|
46
|
-
/**
|
47
|
-
* Color to use from your application's color palette.
|
48
|
-
*/
|
49
|
-
color?: Color;
|
50
39
|
/**
|
51
40
|
* Emitted when the component opens.
|
52
41
|
* Note: when wrapped in an accordion this event will not propogate. Use nanoToggle events instead.
|
@@ -62,8 +51,7 @@ export declare class Details {
|
|
62
51
|
private onMouseDown;
|
63
52
|
private hide;
|
64
53
|
private show;
|
65
|
-
private
|
66
|
-
private attachRO;
|
54
|
+
private attachMo;
|
67
55
|
componentWillLoad(): void;
|
68
56
|
componentDidLoad(): void;
|
69
57
|
connectedCallback(): void;
|
@@ -14,6 +14,7 @@
|
|
14
14
|
*/
|
15
15
|
export declare class Grid {
|
16
16
|
private grids;
|
17
|
+
private gridId;
|
17
18
|
cacheKey: string;
|
18
19
|
/** the component's small breakpoint. Note - all breakpoints are based on component width, not screen width.
|
19
20
|
* Will default to `px` if no unit supplied e.g. `20rem` */
|
@@ -131,7 +131,8 @@ export declare namespace TableTypes {
|
|
131
131
|
[key: string]: any;
|
132
132
|
};
|
133
133
|
type JSXRender = VNode | VNode[] | LibJSX | LibJSX[];
|
134
|
-
type
|
134
|
+
type TplReturn = JSXRender | string | Element | undefined;
|
135
|
+
type TplResult = TplReturn | Promise<string>;
|
135
136
|
/**
|
136
137
|
* A table column's configuration
|
137
138
|
*/
|
@@ -19,7 +19,7 @@ export declare class Table implements ComponentInterface {
|
|
19
19
|
/** Function called whenever `col.cellTemplate` renders an unknown object.
|
20
20
|
* The function should render a valid HTMLElement to the cell arg.
|
21
21
|
* Example usage - render JSX from a 3rd party lib and append the result to the cell element. */
|
22
|
-
customRenderer: (node: any, cell: HTMLElement) => void
|
22
|
+
customRenderer: (node: any, cell: HTMLElement) => void | Promise<string>;
|
23
23
|
/** The type of table. Grid type will make cells navigable by keyboard */
|
24
24
|
type: 'grid' | 'table';
|
25
25
|
/** A descriptive title of the table.
|
@@ -655,19 +655,19 @@ export namespace Components {
|
|
655
655
|
}
|
656
656
|
interface NanoDetails {
|
657
657
|
/**
|
658
|
-
*
|
658
|
+
* Disables the details so it can't be toggled.
|
659
659
|
*/
|
660
|
-
"
|
660
|
+
"disabled": boolean;
|
661
661
|
/**
|
662
662
|
* Icon slot rotation amount (degrees) on open
|
663
663
|
*/
|
664
664
|
"iconRotation": number;
|
665
665
|
/**
|
666
|
-
*
|
666
|
+
* Summary / handle text. Use the `label` slot for HTML markup
|
667
667
|
*/
|
668
668
|
"label": string;
|
669
669
|
/**
|
670
|
-
*
|
670
|
+
* Hide the handle. (You will need to control the hiding / showing of content with script)
|
671
671
|
*/
|
672
672
|
"noHandle": boolean;
|
673
673
|
/**
|
@@ -2426,7 +2426,10 @@ export namespace Components {
|
|
2426
2426
|
/**
|
2427
2427
|
* 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
2428
|
*/
|
2429
|
-
"customRenderer": (
|
2429
|
+
"customRenderer": (
|
2430
|
+
node: any,
|
2431
|
+
cell: HTMLElement
|
2432
|
+
) => void | Promise<string>;
|
2430
2433
|
/**
|
2431
2434
|
* 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
2435
|
*/
|
@@ -3958,19 +3961,19 @@ declare namespace LocalJSX {
|
|
3958
3961
|
}
|
3959
3962
|
interface NanoDetails {
|
3960
3963
|
/**
|
3961
|
-
*
|
3964
|
+
* Disables the details so it can't be toggled.
|
3962
3965
|
*/
|
3963
|
-
"
|
3966
|
+
"disabled"?: boolean;
|
3964
3967
|
/**
|
3965
3968
|
* Icon slot rotation amount (degrees) on open
|
3966
3969
|
*/
|
3967
3970
|
"iconRotation"?: number;
|
3968
3971
|
/**
|
3969
|
-
*
|
3972
|
+
* Summary / handle text. Use the `label` slot for HTML markup
|
3970
3973
|
*/
|
3971
3974
|
"label"?: string;
|
3972
3975
|
/**
|
3973
|
-
*
|
3976
|
+
* Hide the handle. (You will need to control the hiding / showing of content with script)
|
3974
3977
|
*/
|
3975
3978
|
"noHandle"?: boolean;
|
3976
3979
|
/**
|
@@ -5832,7 +5835,10 @@ declare namespace LocalJSX {
|
|
5832
5835
|
/**
|
5833
5836
|
* 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
5837
|
*/
|
5835
|
-
"customRenderer"?: (
|
5838
|
+
"customRenderer"?: (
|
5839
|
+
node: any,
|
5840
|
+
cell: HTMLElement
|
5841
|
+
) => void | Promise<string>;
|
5836
5842
|
/**
|
5837
5843
|
* 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
5844
|
*/
|
package/docs-json.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"timestamp": "2023-10-
|
2
|
+
"timestamp": "2023-10-11T14:08:27",
|
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": "
|
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": "
|
4072
|
-
"type": "
|
4073
|
-
"mutable":
|
4074
|
-
"attr": "
|
4075
|
-
"reflectToAttr":
|
4076
|
-
"docs": "
|
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
|
-
"
|
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":
|
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": "
|
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": "
|
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": [
|
@@ -4278,16 +4254,6 @@
|
|
4278
4254
|
"annotation": "prop",
|
4279
4255
|
"docs": "Defaults to var(--nano-color-contrast, var(--btn-text-color));"
|
4280
4256
|
},
|
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
4257
|
{
|
4292
4258
|
"name": "--content-transition",
|
4293
4259
|
"annotation": "prop",
|
@@ -4324,13 +4290,21 @@
|
|
4324
4290
|
],
|
4325
4291
|
"parts": [
|
4326
4292
|
{
|
4327
|
-
"name": "
|
4328
|
-
"docs": "the
|
4293
|
+
"name": "base",
|
4294
|
+
"docs": "the root `details` element"
|
4295
|
+
},
|
4296
|
+
{
|
4297
|
+
"name": "body",
|
4298
|
+
"docs": "the wrapper around content"
|
4329
4299
|
},
|
4330
4300
|
{
|
4331
4301
|
"name": "content",
|
4332
4302
|
"docs": "the main content wrapper"
|
4333
4303
|
},
|
4304
|
+
{
|
4305
|
+
"name": "header",
|
4306
|
+
"docs": "the main `summary` ui control"
|
4307
|
+
},
|
4334
4308
|
{
|
4335
4309
|
"name": "icon--end",
|
4336
4310
|
"docs": "the icon wrapper at the end of the ui control"
|
@@ -7595,7 +7569,7 @@
|
|
7595
7569
|
"type": "number",
|
7596
7570
|
"mutable": false,
|
7597
7571
|
"attr": "l-cols",
|
7598
|
-
"reflectToAttr":
|
7572
|
+
"reflectToAttr": true,
|
7599
7573
|
"docs": "the number of columns the grid has at the large breakpoint.",
|
7600
7574
|
"docsTags": [],
|
7601
7575
|
"values": [
|
@@ -7613,7 +7587,7 @@
|
|
7613
7587
|
"type": "number | string",
|
7614
7588
|
"mutable": false,
|
7615
7589
|
"attr": "l-size",
|
7616
|
-
"reflectToAttr":
|
7590
|
+
"reflectToAttr": true,
|
7617
7591
|
"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
7592
|
"docsTags": [],
|
7619
7593
|
"default": "800",
|
@@ -7653,7 +7627,7 @@
|
|
7653
7627
|
"type": "number",
|
7654
7628
|
"mutable": false,
|
7655
7629
|
"attr": "m-cols",
|
7656
|
-
"reflectToAttr":
|
7630
|
+
"reflectToAttr": true,
|
7657
7631
|
"docs": "the number of columns the grid has at the medium breakpoint.",
|
7658
7632
|
"docsTags": [],
|
7659
7633
|
"values": [
|
@@ -7671,7 +7645,7 @@
|
|
7671
7645
|
"type": "number | string",
|
7672
7646
|
"mutable": false,
|
7673
7647
|
"attr": "m-size",
|
7674
|
-
"reflectToAttr":
|
7648
|
+
"reflectToAttr": true,
|
7675
7649
|
"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
7650
|
"docsTags": [],
|
7677
7651
|
"default": "550",
|
@@ -7711,7 +7685,7 @@
|
|
7711
7685
|
"type": "number",
|
7712
7686
|
"mutable": false,
|
7713
7687
|
"attr": "s-cols",
|
7714
|
-
"reflectToAttr":
|
7688
|
+
"reflectToAttr": true,
|
7715
7689
|
"docs": "the number of columns the grid has at the small breakpoint.",
|
7716
7690
|
"docsTags": [],
|
7717
7691
|
"values": [
|
@@ -7729,7 +7703,7 @@
|
|
7729
7703
|
"type": "number | string",
|
7730
7704
|
"mutable": false,
|
7731
7705
|
"attr": "s-size",
|
7732
|
-
"reflectToAttr":
|
7706
|
+
"reflectToAttr": true,
|
7733
7707
|
"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
7708
|
"docsTags": [],
|
7735
7709
|
"default": "300",
|
@@ -7788,7 +7762,7 @@
|
|
7788
7762
|
"type": "number",
|
7789
7763
|
"mutable": false,
|
7790
7764
|
"attr": "xl-cols",
|
7791
|
-
"reflectToAttr":
|
7765
|
+
"reflectToAttr": true,
|
7792
7766
|
"docs": "the number of columns the grid has at the xl breakpoint.",
|
7793
7767
|
"docsTags": [],
|
7794
7768
|
"values": [
|
@@ -7806,7 +7780,7 @@
|
|
7806
7780
|
"type": "number | string",
|
7807
7781
|
"mutable": false,
|
7808
7782
|
"attr": "xl-size",
|
7809
|
-
"reflectToAttr":
|
7783
|
+
"reflectToAttr": true,
|
7810
7784
|
"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
7785
|
"docsTags": [],
|
7812
7786
|
"default": "1000",
|
@@ -7846,7 +7820,7 @@
|
|
7846
7820
|
"type": "number",
|
7847
7821
|
"mutable": false,
|
7848
7822
|
"attr": "xxl-cols",
|
7849
|
-
"reflectToAttr":
|
7823
|
+
"reflectToAttr": true,
|
7850
7824
|
"docs": "the number of columns the grid has at the xxl breakpoint (anything greater than the xl breakpoint)",
|
7851
7825
|
"docsTags": [],
|
7852
7826
|
"values": [
|
@@ -16368,7 +16342,7 @@
|
|
16368
16342
|
},
|
16369
16343
|
{
|
16370
16344
|
"name": "customRenderer",
|
16371
|
-
"type": "(node: any, cell: HTMLElement) => void",
|
16345
|
+
"type": "(node: any, cell: HTMLElement) => void | Promise<string>",
|
16372
16346
|
"mutable": false,
|
16373
16347
|
"reflectToAttr": false,
|
16374
16348
|
"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 +16350,9 @@
|
|
16376
16350
|
"values": [
|
16377
16351
|
{
|
16378
16352
|
"type": "(node: any, cell: HTMLElement) => void"
|
16353
|
+
},
|
16354
|
+
{
|
16355
|
+
"type": "Promise<string>"
|
16379
16356
|
}
|
16380
16357
|
],
|
16381
16358
|
"optional": false,
|
package/docs-vscode.json
CHANGED
@@ -814,37 +814,8 @@
|
|
814
814
|
},
|
815
815
|
"attributes": [
|
816
816
|
{
|
817
|
-
"name": "
|
818
|
-
"description": "
|
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,11 +823,11 @@
|
|
852
823
|
},
|
853
824
|
{
|
854
825
|
"name": "label",
|
855
|
-
"description": "
|
826
|
+
"description": "Summary / handle text. Use the `label` slot for HTML markup"
|
856
827
|
},
|
857
828
|
{
|
858
829
|
"name": "no-handle",
|
859
|
-
"description": "
|
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",
|