@nanoporetech-digital/components 4.9.4 → 5.0.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 +51 -0
- package/dist/cjs/drag-777bd8dd.js +74 -0
- package/dist/cjs/drag-777bd8dd.js.map +1 -0
- package/dist/cjs/{form-control-2e900f54.js → form-control-443e90bf.js} +2 -3
- package/dist/cjs/form-control-443e90bf.js.map +1 -0
- package/dist/cjs/index-71f899a7.js +10 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/nano-components.cjs.js +1 -1
- package/dist/cjs/nano-global-nav-user-profile_3.cjs.entry.js +6 -6
- package/dist/cjs/nano-global-nav-user-profile_3.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-grid-item.cjs.entry.js +29 -0
- package/dist/cjs/nano-grid-item.cjs.entry.js.map +1 -0
- package/dist/cjs/nano-grid_2.cjs.entry.js +436 -0
- package/dist/cjs/nano-grid_2.cjs.entry.js.map +1 -0
- package/dist/cjs/nano-hero.cjs.entry.js +4 -10
- package/dist/cjs/nano-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-icon-button_2.cjs.entry.js +40 -3
- package/dist/cjs/nano-icon-button_2.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-input.cjs.entry.js +2 -2
- package/dist/cjs/nano-input.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-range.cjs.entry.js +1 -1
- package/dist/cjs/nano-range.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-sortable.cjs.entry.js +654 -0
- package/dist/cjs/nano-sortable.cjs.entry.js.map +1 -0
- package/dist/cjs/nano-split-pane.cjs.entry.js +30 -45
- package/dist/cjs/nano-split-pane.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-tab-group.cjs.entry.js +39 -43
- package/dist/cjs/nano-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-tab.cjs.entry.js +3 -3
- package/dist/cjs/nano-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/{nano-table-54a4ba34.js → nano-table-11052a34.js} +52 -172
- package/dist/cjs/nano-table-11052a34.js.map +1 -0
- package/dist/cjs/nano-table.cjs.entry.js +1 -1
- package/dist/cjs/{table.worker-20ed37a5.js → table.worker-83433a8b.js} +3 -3
- package/dist/cjs/table.worker-83433a8b.js.map +1 -0
- package/dist/cjs/{table.worker-f820b411.js → table.worker-bd51e29f.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/form-control/form-control.js +1 -2
- package/dist/collection/components/form-control/form-control.js.map +1 -1
- package/dist/collection/components/grid/grid-item.js +11 -136
- package/dist/collection/components/grid/grid-item.js.map +1 -1
- package/dist/collection/components/grid/grid.css +9 -242
- package/dist/collection/components/grid/grid.js +248 -240
- package/dist/collection/components/grid/grid.js.map +1 -1
- package/dist/collection/components/hero/hero.css +42 -89
- package/dist/collection/components/hero/hero.js +4 -11
- package/dist/collection/components/hero/hero.js.map +1 -1
- package/dist/collection/components/icon-button/icon-button.css +18 -4
- package/dist/collection/components/icon-button/icon-button.js +83 -4
- package/dist/collection/components/icon-button/icon-button.js.map +1 -1
- package/dist/collection/components/input/input.css +8 -9
- package/dist/collection/components/nav-item/nav-item.js +4 -4
- package/dist/collection/components/nav-item/nav-item.js.map +1 -1
- package/dist/collection/components/range/range.css +0 -3
- package/dist/collection/components/select/select.css +8 -9
- package/dist/collection/components/sortable/sortable.css +28 -0
- package/dist/collection/components/sortable/sortable.js +1181 -0
- package/dist/collection/components/sortable/sortable.js.map +1 -0
- package/dist/collection/components/split-pane/split-pane.js +29 -27
- package/dist/collection/components/split-pane/split-pane.js.map +1 -1
- package/dist/collection/components/table/table-interface.js.map +1 -1
- package/dist/collection/components/table/table.css +18 -38
- package/dist/collection/components/table/table.header.js +3 -86
- package/dist/collection/components/table/table.header.js.map +1 -1
- package/dist/collection/components/table/table.js +27 -108
- package/dist/collection/components/table/table.js.map +1 -1
- package/dist/collection/components/table/table.row.js +7 -7
- package/dist/collection/components/table/table.row.js.map +1 -1
- package/dist/collection/components/table/table.store.js +1 -1
- package/dist/collection/components/table/table.store.js.map +1 -1
- package/dist/collection/components/table/table.worker.js +3 -3
- package/dist/collection/components/table/table.worker.js.map +1 -1
- package/dist/collection/components/tabs/tab-group.css +9 -13
- package/dist/collection/components/tabs/tab-group.js +39 -43
- package/dist/collection/components/tabs/tab-group.js.map +1 -1
- package/dist/collection/components/tabs/tab.css +53 -14
- package/dist/collection/components/tabs/tab.js +8 -2
- package/dist/collection/components/tabs/tab.js.map +1 -1
- package/dist/collection/utils/constructible-style.js +129 -0
- package/dist/collection/utils/constructible-style.js.map +1 -0
- package/dist/collection/utils/drag.js +52 -4
- package/dist/collection/utils/drag.js.map +1 -1
- package/dist/components/drag.js +72 -0
- package/dist/components/drag.js.map +1 -0
- package/dist/components/form-control.js +1 -2
- package/dist/components/form-control.js.map +1 -1
- package/dist/components/grid.js +268 -183
- package/dist/components/grid.js.map +1 -1
- package/dist/components/icon-button.js +45 -5
- package/dist/components/icon-button.js.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input.js.map +1 -1
- package/dist/components/nano-grid-item.js +33 -1
- package/dist/components/nano-grid-item.js.map +1 -1
- package/dist/components/nano-hero.js +6 -19
- package/dist/components/nano-hero.js.map +1 -1
- package/dist/components/nano-range.js +1 -1
- package/dist/components/nano-range.js.map +1 -1
- package/dist/components/nano-sortable.d.ts +11 -0
- package/dist/components/nano-sortable.js +692 -0
- package/dist/components/nano-sortable.js.map +1 -0
- package/dist/components/nano-split-pane.js +30 -45
- package/dist/components/nano-split-pane.js.map +1 -1
- package/dist/components/nano-tab-group.js +40 -44
- package/dist/components/nano-tab-group.js.map +1 -1
- package/dist/components/nano-tab.js +3 -3
- package/dist/components/nano-tab.js.map +1 -1
- package/dist/components/nav-item.js +4 -4
- package/dist/components/nav-item.js.map +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/select.js.map +1 -1
- package/dist/components/table.js +52 -173
- package/dist/components/table.js.map +1 -1
- package/dist/components/table.worker.js +1 -1
- package/dist/esm/drag-1723a4cc.js +72 -0
- package/dist/esm/drag-1723a4cc.js.map +1 -0
- package/dist/esm/{form-control-269ba84f.js → form-control-e8739b2e.js} +2 -3
- package/dist/esm/form-control-e8739b2e.js.map +1 -0
- package/dist/esm/index-dad5627b.js +10 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/nano-components.js +1 -1
- package/dist/esm/nano-global-nav-user-profile_3.entry.js +6 -6
- package/dist/esm/nano-global-nav-user-profile_3.entry.js.map +1 -1
- package/dist/esm/nano-grid-item.entry.js +25 -0
- package/dist/esm/nano-grid-item.entry.js.map +1 -0
- package/dist/esm/nano-grid_2.entry.js +431 -0
- package/dist/esm/nano-grid_2.entry.js.map +1 -0
- package/dist/esm/nano-hero.entry.js +4 -10
- package/dist/esm/nano-hero.entry.js.map +1 -1
- package/dist/esm/nano-icon-button_2.entry.js +41 -4
- package/dist/esm/nano-icon-button_2.entry.js.map +1 -1
- package/dist/esm/nano-input.entry.js +2 -2
- package/dist/esm/nano-input.entry.js.map +1 -1
- package/dist/esm/nano-range.entry.js +1 -1
- package/dist/esm/nano-range.entry.js.map +1 -1
- package/dist/esm/nano-sortable.entry.js +650 -0
- package/dist/esm/nano-sortable.entry.js.map +1 -0
- package/dist/esm/nano-split-pane.entry.js +30 -45
- package/dist/esm/nano-split-pane.entry.js.map +1 -1
- package/dist/esm/nano-tab-group.entry.js +39 -43
- package/dist/esm/nano-tab-group.entry.js.map +1 -1
- package/dist/esm/nano-tab.entry.js +3 -3
- package/dist/esm/nano-tab.entry.js.map +1 -1
- package/dist/esm/{nano-table-929ac4d9.js → nano-table-ba637f26.js} +53 -173
- package/dist/esm/nano-table-ba637f26.js.map +1 -0
- package/dist/esm/nano-table.entry.js +1 -1
- package/dist/esm/{table.worker-2425382a.js → table.worker-1cae39c9.js} +3 -3
- package/dist/esm/table.worker-1cae39c9.js.map +1 -0
- package/dist/{nano-components/p-f820b411.js → esm/table.worker-bd51e29f.js} +1 -1
- package/dist/nano-components/nano-components.css +1 -1
- 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-00cf8021.entry.js +5 -0
- package/dist/nano-components/p-00cf8021.entry.js.map +1 -0
- package/dist/nano-components/{p-906de5a2.entry.js → p-158c73b0.entry.js} +2 -2
- package/dist/nano-components/p-365c997a.js +5 -0
- package/dist/nano-components/p-553acf24.entry.js +5 -0
- package/dist/nano-components/p-553acf24.entry.js.map +1 -0
- package/dist/nano-components/p-6975f110.entry.js +5 -0
- package/dist/nano-components/p-6975f110.entry.js.map +1 -0
- package/dist/nano-components/p-71057181.js +5 -0
- package/dist/nano-components/p-71057181.js.map +1 -0
- package/dist/nano-components/p-842cf127.js +5 -0
- package/dist/nano-components/p-842cf127.js.map +1 -0
- package/dist/nano-components/p-ad6209ec.entry.js +5 -0
- package/dist/nano-components/p-ad6209ec.entry.js.map +1 -0
- package/dist/nano-components/p-b8e76fdf.entry.js +5 -0
- package/dist/nano-components/p-b8e76fdf.entry.js.map +1 -0
- package/dist/{esm/table.worker-f820b411.js → nano-components/p-bd51e29f.js} +1 -1
- package/dist/nano-components/p-bdef618c.entry.js +5 -0
- package/dist/nano-components/p-bdef618c.entry.js.map +1 -0
- package/dist/nano-components/p-d79c6862.entry.js +5 -0
- package/dist/nano-components/p-d79c6862.entry.js.map +1 -0
- package/dist/nano-components/p-deb0799c.entry.js +5 -0
- package/dist/nano-components/{p-6a3a29c6.entry.js.map → p-deb0799c.entry.js.map} +1 -1
- package/dist/nano-components/p-ebb98a9e.entry.js +5 -0
- package/dist/nano-components/p-ebb98a9e.entry.js.map +1 -0
- package/dist/nano-components/p-f60fe933.entry.js +5 -0
- package/dist/nano-components/p-f60fe933.entry.js.map +1 -0
- package/dist/nano-components/p-f7535f45.entry.js +5 -0
- package/dist/nano-components/p-f7535f45.entry.js.map +1 -0
- package/dist/nano-components/p-fc585ea2.js +5 -0
- package/dist/nano-components/p-fc585ea2.js.map +1 -0
- package/dist/types/components/grid/grid-item.d.ts +3 -11
- package/dist/types/components/grid/grid.d.ts +44 -68
- package/dist/types/components/hero/hero.d.ts +1 -3
- package/dist/types/components/icon-button/icon-button.d.ts +14 -0
- package/dist/types/components/sortable/sortable.d.ts +204 -0
- package/dist/types/components/table/table-interface.d.ts +2 -4
- package/dist/types/components/table/table.d.ts +5 -30
- package/dist/types/components/table/table.header.d.ts +0 -3
- package/dist/types/components/tabs/tab-group.d.ts +0 -1
- package/dist/types/components/tabs/tab.d.ts +6 -0
- package/dist/types/components.d.ts +333 -89
- package/dist/types/utils/constructible-style.d.ts +31 -0
- package/dist/types/utils/drag.d.ts +21 -1
- package/docs-json.json +743 -168
- package/docs-vscode.json +102 -26
- package/hydrate/index.js +1210 -552
- package/package.json +2 -2
- package/dist/cjs/form-control-2e900f54.js.map +0 -1
- package/dist/cjs/nano-grid_3.cjs.entry.js +0 -431
- package/dist/cjs/nano-grid_3.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-table-54a4ba34.js.map +0 -1
- package/dist/cjs/table.worker-20ed37a5.js.map +0 -1
- package/dist/collection/components/grid/grid-item.css +0 -15
- package/dist/components/grid-item.js +0 -107
- package/dist/components/grid-item.js.map +0 -1
- package/dist/esm/form-control-269ba84f.js.map +0 -1
- package/dist/esm/nano-grid_3.entry.js +0 -425
- package/dist/esm/nano-grid_3.entry.js.map +0 -1
- package/dist/esm/nano-table-929ac4d9.js.map +0 -1
- package/dist/esm/table.worker-2425382a.js.map +0 -1
- package/dist/nano-components/p-068bdd89.entry.js +0 -5
- package/dist/nano-components/p-068bdd89.entry.js.map +0 -1
- package/dist/nano-components/p-107d4549.entry.js +0 -5
- package/dist/nano-components/p-107d4549.entry.js.map +0 -1
- package/dist/nano-components/p-239d343a.entry.js +0 -5
- package/dist/nano-components/p-239d343a.entry.js.map +0 -1
- package/dist/nano-components/p-4f260028.js +0 -5
- package/dist/nano-components/p-4f260028.js.map +0 -1
- package/dist/nano-components/p-5381c118.js +0 -5
- package/dist/nano-components/p-58b53239.entry.js +0 -5
- package/dist/nano-components/p-58b53239.entry.js.map +0 -1
- package/dist/nano-components/p-5ac74848.js +0 -5
- package/dist/nano-components/p-5ac74848.js.map +0 -1
- package/dist/nano-components/p-64b56ee6.entry.js +0 -5
- package/dist/nano-components/p-64b56ee6.entry.js.map +0 -1
- package/dist/nano-components/p-6a3a29c6.entry.js +0 -5
- package/dist/nano-components/p-a5a560e7.entry.js +0 -5
- package/dist/nano-components/p-a5a560e7.entry.js.map +0 -1
- package/dist/nano-components/p-a761ac89.entry.js +0 -5
- package/dist/nano-components/p-a761ac89.entry.js.map +0 -1
- package/dist/nano-components/p-d792f692.entry.js +0 -5
- package/dist/nano-components/p-d792f692.entry.js.map +0 -1
- /package/dist/nano-components/{p-5381c118.js.map → p-158c73b0.entry.js.map} +0 -0
- /package/dist/nano-components/{p-906de5a2.entry.js.map → p-365c997a.js.map} +0 -0
package/docs-json.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"timestamp": "2023-
|
2
|
+
"timestamp": "2023-07-07T11:52:57",
|
3
3
|
"compiler": {
|
4
4
|
"name": "@stencil/core",
|
5
5
|
"version": "2.23.0",
|
@@ -7369,22 +7369,34 @@
|
|
7369
7369
|
"encapsulation": "shadow",
|
7370
7370
|
"tag": "nano-grid",
|
7371
7371
|
"readme": "# nano-grid (extra examples and methods)\n\n## 1. Define the number of grid columns to display at various container sizes (from 1 to 10). \n\n```html\n<nano-grid m-cols=\"2\" l-cols=\"4\" xl-cols=\"6\" xxl-cols=\"10\" show-helper></nano-grid>\n```\n<nano-grid style=\"min-height: 200px\" m-cols=\"2\" l-cols=\"4\" xl-cols=\"6\" xxl-cols=\"10\" show-helper></nano-grid>\n\n## 2. Put items into the grid\n\nBy default items will fill one column.\n\n```html\n<nano-grid m-cols=\"2\" l-cols=\"4\" xl-cols=\"6\" show-helper>\n <div></div>\n <div></div>\n <div></div>\n</nano-grid>\n```\n\n## 3. Set items to span columns and rows and / or start on different columns and rows at different sizes\n\n```html\n<nano-grid l-cols=\"6\" show-helper>\n <div grid-states=\"\n xl-col-span-2 \n xl-col-start-2 \n xl-row-span-2 \n l-col-span-4\n \"></div>\n <div grid-states=\"xl-col-start-1 xl-row-start-1\"></div>\n <div grid-states=\"xl-col-start-6\"></div>\n <div grid-states=\"l-col-span-2\"></div>\n</nano-grid>\n```\n\n### IE11 Notes\n\nIf you need to support IE11 there are some things to consider.\n\nThere is no native way for IE11 to wrap items to new rows automatically. In order to achive this, items have been statically assigned to their row and column.\n\nThis causes 2 side-effects:\n\n1. In-order to strike a balance between flexibility and not creating humongous CSS files; the maximum grid columns currently supported is *10* with a potential *20* items spread accross them. If you need more look at nesting grids.\n\n2. If you wish to use any item grid-state property (col-span, col-start, row-span or row start) you will then need to assign corresponding properies to ALL items within the grid. E.g.\n\n```html\n<nano-grid l-cols=\"6\" show-helper>\n <div grid-states=\"l-col-span-2 l-col-start-2 l-row-span-2\">1</div>\n <div grid-states=\"l-col-start-1 l-row-start-1\">2</div>\n <div grid-states=\"l-col-start-6\">3</div>\n <div grid-states=\"l-col-span-2\">4</div>\n</nano-grid>\n```\n\n(Something that will work on modern browsers) Will need to become:\n\n```html\n<nano-grid l-cols=\"6\" show-helper>\n <div grid-states=\"l-col-span-2 l-col-start-2 l-row-span-2 l-row-start-1\">1</div>\n <div grid-states=\"l-col-start-1 l-row-start-1\">2</div>\n <div grid-states=\"l-col-start-6 l-row-start-1\">3</div>\n <div grid-states=\"l-col-start-4 l-col-span-2 l-row-start-2\">4</div>\n</nano-grid>\n```\n",
|
7372
|
-
"docs": "A context-aware CSS grid implementation.\
|
7373
|
-
"docsTags": [
|
7372
|
+
"docs": "A lightweight, context-aware CSS grid implementation.\n\n- Define multiple grids templates at different breakpoints\n- Uses `@container` queries to select the correct grid depending on the current dimensions\n- Use `grid-states=\"...\"` on direct descendants for `column` / `row` - `start` / `end`\n- SSR optimised",
|
7373
|
+
"docsTags": [
|
7374
|
+
{
|
7375
|
+
"name": "part",
|
7376
|
+
"text": "grid - the main grid element.\nUse this to set css such as `justify-items|content` / `align-items|content` / `place-content`"
|
7377
|
+
},
|
7378
|
+
{
|
7379
|
+
"name": "part",
|
7380
|
+
"text": "helper - a replica grid showed when `show-helper` is true"
|
7381
|
+
},
|
7382
|
+
{
|
7383
|
+
"name": "slot",
|
7384
|
+
"text": "- default slot. Use this to place grid items. Use `grid-states=\"...\"` attribute to opt-out of auto / sequential placement."
|
7385
|
+
}
|
7386
|
+
],
|
7374
7387
|
"usage": {},
|
7375
7388
|
"props": [
|
7376
7389
|
{
|
7377
|
-
"name": "
|
7378
|
-
"type": "
|
7390
|
+
"name": "lCols",
|
7391
|
+
"type": "number",
|
7379
7392
|
"mutable": false,
|
7380
|
-
"attr": "
|
7381
|
-
"reflectToAttr":
|
7382
|
-
"docs": "
|
7393
|
+
"attr": "l-cols",
|
7394
|
+
"reflectToAttr": false,
|
7395
|
+
"docs": "the number of columns the grid has at the large breakpoint.",
|
7383
7396
|
"docsTags": [],
|
7384
|
-
"default": "false",
|
7385
7397
|
"values": [
|
7386
7398
|
{
|
7387
|
-
"type": "
|
7399
|
+
"type": "number"
|
7388
7400
|
}
|
7389
7401
|
],
|
7390
7402
|
"optional": false,
|
@@ -7393,17 +7405,20 @@
|
|
7393
7405
|
"setter": false
|
7394
7406
|
},
|
7395
7407
|
{
|
7396
|
-
"name": "
|
7397
|
-
"type": "
|
7408
|
+
"name": "lSize",
|
7409
|
+
"type": "number | string",
|
7398
7410
|
"mutable": false,
|
7399
|
-
"attr": "
|
7400
|
-
"reflectToAttr":
|
7401
|
-
"docs": "
|
7411
|
+
"attr": "l-size",
|
7412
|
+
"reflectToAttr": false,
|
7413
|
+
"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`",
|
7402
7414
|
"docsTags": [],
|
7403
|
-
"default": "
|
7415
|
+
"default": "800",
|
7404
7416
|
"values": [
|
7405
7417
|
{
|
7406
|
-
"type": "
|
7418
|
+
"type": "number"
|
7419
|
+
},
|
7420
|
+
{
|
7421
|
+
"type": "string"
|
7407
7422
|
}
|
7408
7423
|
],
|
7409
7424
|
"optional": false,
|
@@ -7412,32 +7427,31 @@
|
|
7412
7427
|
"setter": false
|
7413
7428
|
},
|
7414
7429
|
{
|
7415
|
-
"name": "
|
7416
|
-
"type": "
|
7430
|
+
"name": "lTpl",
|
7431
|
+
"type": "string",
|
7417
7432
|
"mutable": false,
|
7418
|
-
"attr": "l-
|
7433
|
+
"attr": "l-tpl",
|
7419
7434
|
"reflectToAttr": false,
|
7420
|
-
"docs": "
|
7435
|
+
"docs": "Optional large `grid-template`. *Note* - you must set `lCols` for this to take affect",
|
7421
7436
|
"docsTags": [],
|
7422
7437
|
"values": [
|
7423
7438
|
{
|
7424
|
-
"type": "
|
7439
|
+
"type": "string"
|
7425
7440
|
}
|
7426
7441
|
],
|
7427
|
-
"optional":
|
7442
|
+
"optional": true,
|
7428
7443
|
"required": false,
|
7429
7444
|
"getter": false,
|
7430
7445
|
"setter": false
|
7431
7446
|
},
|
7432
7447
|
{
|
7433
|
-
"name": "
|
7448
|
+
"name": "mCols",
|
7434
7449
|
"type": "number",
|
7435
7450
|
"mutable": false,
|
7436
|
-
"attr": "
|
7451
|
+
"attr": "m-cols",
|
7437
7452
|
"reflectToAttr": false,
|
7438
|
-
"docs": "the
|
7453
|
+
"docs": "the number of columns the grid has at the medium breakpoint.",
|
7439
7454
|
"docsTags": [],
|
7440
|
-
"default": "800",
|
7441
7455
|
"values": [
|
7442
7456
|
{
|
7443
7457
|
"type": "number"
|
@@ -7449,16 +7463,20 @@
|
|
7449
7463
|
"setter": false
|
7450
7464
|
},
|
7451
7465
|
{
|
7452
|
-
"name": "
|
7453
|
-
"type": "number",
|
7466
|
+
"name": "mSize",
|
7467
|
+
"type": "number | string",
|
7454
7468
|
"mutable": false,
|
7455
|
-
"attr": "m-
|
7469
|
+
"attr": "m-size",
|
7456
7470
|
"reflectToAttr": false,
|
7457
|
-
"docs": "the
|
7471
|
+
"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`",
|
7458
7472
|
"docsTags": [],
|
7473
|
+
"default": "550",
|
7459
7474
|
"values": [
|
7460
7475
|
{
|
7461
7476
|
"type": "number"
|
7477
|
+
},
|
7478
|
+
{
|
7479
|
+
"type": "string"
|
7462
7480
|
}
|
7463
7481
|
],
|
7464
7482
|
"optional": false,
|
@@ -7467,20 +7485,19 @@
|
|
7467
7485
|
"setter": false
|
7468
7486
|
},
|
7469
7487
|
{
|
7470
|
-
"name": "
|
7471
|
-
"type": "
|
7488
|
+
"name": "mTpl",
|
7489
|
+
"type": "string",
|
7472
7490
|
"mutable": false,
|
7473
|
-
"attr": "m-
|
7491
|
+
"attr": "m-tpl",
|
7474
7492
|
"reflectToAttr": false,
|
7475
|
-
"docs": "
|
7493
|
+
"docs": "Optional medium `grid-template`. *Note* - you must set `mCols` for this to take affect",
|
7476
7494
|
"docsTags": [],
|
7477
|
-
"default": "550",
|
7478
7495
|
"values": [
|
7479
7496
|
{
|
7480
|
-
"type": "
|
7497
|
+
"type": "string"
|
7481
7498
|
}
|
7482
7499
|
],
|
7483
|
-
"optional":
|
7500
|
+
"optional": true,
|
7484
7501
|
"required": false,
|
7485
7502
|
"getter": false,
|
7486
7503
|
"setter": false
|
@@ -7505,16 +7522,19 @@
|
|
7505
7522
|
},
|
7506
7523
|
{
|
7507
7524
|
"name": "sSize",
|
7508
|
-
"type": "number",
|
7525
|
+
"type": "number | string",
|
7509
7526
|
"mutable": false,
|
7510
7527
|
"attr": "s-size",
|
7511
7528
|
"reflectToAttr": false,
|
7512
|
-
"docs": "the component's small breakpoint. Note - all breakpoints are based on component width, not screen width.",
|
7529
|
+
"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`",
|
7513
7530
|
"docsTags": [],
|
7514
7531
|
"default": "300",
|
7515
7532
|
"values": [
|
7516
7533
|
{
|
7517
7534
|
"type": "number"
|
7535
|
+
},
|
7536
|
+
{
|
7537
|
+
"type": "string"
|
7518
7538
|
}
|
7519
7539
|
],
|
7520
7540
|
"optional": false,
|
@@ -7522,6 +7542,24 @@
|
|
7522
7542
|
"getter": false,
|
7523
7543
|
"setter": false
|
7524
7544
|
},
|
7545
|
+
{
|
7546
|
+
"name": "sTpl",
|
7547
|
+
"type": "string",
|
7548
|
+
"mutable": false,
|
7549
|
+
"attr": "s-tpl",
|
7550
|
+
"reflectToAttr": false,
|
7551
|
+
"docs": "Optional small `grid-template`. *Note* - you must set `sCols` for this to take affect",
|
7552
|
+
"docsTags": [],
|
7553
|
+
"values": [
|
7554
|
+
{
|
7555
|
+
"type": "string"
|
7556
|
+
}
|
7557
|
+
],
|
7558
|
+
"optional": true,
|
7559
|
+
"required": false,
|
7560
|
+
"getter": false,
|
7561
|
+
"setter": false
|
7562
|
+
},
|
7525
7563
|
{
|
7526
7564
|
"name": "showHelper",
|
7527
7565
|
"type": "boolean",
|
@@ -7561,16 +7599,19 @@
|
|
7561
7599
|
},
|
7562
7600
|
{
|
7563
7601
|
"name": "xlSize",
|
7564
|
-
"type": "number",
|
7602
|
+
"type": "number | string",
|
7565
7603
|
"mutable": false,
|
7566
7604
|
"attr": "xl-size",
|
7567
7605
|
"reflectToAttr": false,
|
7568
|
-
"docs": "the component's xl breakpoint. Note - all breakpoints are based on component width, not screen width.",
|
7606
|
+
"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`",
|
7569
7607
|
"docsTags": [],
|
7570
7608
|
"default": "1000",
|
7571
7609
|
"values": [
|
7572
7610
|
{
|
7573
7611
|
"type": "number"
|
7612
|
+
},
|
7613
|
+
{
|
7614
|
+
"type": "string"
|
7574
7615
|
}
|
7575
7616
|
],
|
7576
7617
|
"optional": false,
|
@@ -7578,6 +7619,24 @@
|
|
7578
7619
|
"getter": false,
|
7579
7620
|
"setter": false
|
7580
7621
|
},
|
7622
|
+
{
|
7623
|
+
"name": "xlTpl",
|
7624
|
+
"type": "string",
|
7625
|
+
"mutable": false,
|
7626
|
+
"attr": "xl-tpl",
|
7627
|
+
"reflectToAttr": false,
|
7628
|
+
"docs": "Optional xl `grid-template`. *Note* - you must set `xlCols` for this to take affect",
|
7629
|
+
"docsTags": [],
|
7630
|
+
"values": [
|
7631
|
+
{
|
7632
|
+
"type": "string"
|
7633
|
+
}
|
7634
|
+
],
|
7635
|
+
"optional": true,
|
7636
|
+
"required": false,
|
7637
|
+
"getter": false,
|
7638
|
+
"setter": false
|
7639
|
+
},
|
7581
7640
|
{
|
7582
7641
|
"name": "xxlCols",
|
7583
7642
|
"type": "number",
|
@@ -7595,20 +7654,28 @@
|
|
7595
7654
|
"required": false,
|
7596
7655
|
"getter": false,
|
7597
7656
|
"setter": false
|
7598
|
-
}
|
7599
|
-
],
|
7600
|
-
"methods": [],
|
7601
|
-
"events": [
|
7657
|
+
},
|
7602
7658
|
{
|
7603
|
-
"
|
7604
|
-
"
|
7605
|
-
"
|
7606
|
-
"
|
7607
|
-
"
|
7608
|
-
"docs": "
|
7609
|
-
"docsTags": []
|
7659
|
+
"name": "xxlTpl",
|
7660
|
+
"type": "string",
|
7661
|
+
"mutable": false,
|
7662
|
+
"attr": "xxl-tpl",
|
7663
|
+
"reflectToAttr": false,
|
7664
|
+
"docs": "Optional xxl `grid-template`. *Note* - you must set `xxlCols` for this to take affect",
|
7665
|
+
"docsTags": [],
|
7666
|
+
"values": [
|
7667
|
+
{
|
7668
|
+
"type": "string"
|
7669
|
+
}
|
7670
|
+
],
|
7671
|
+
"optional": true,
|
7672
|
+
"required": false,
|
7673
|
+
"getter": false,
|
7674
|
+
"setter": false
|
7610
7675
|
}
|
7611
7676
|
],
|
7677
|
+
"methods": [],
|
7678
|
+
"events": [],
|
7612
7679
|
"listeners": [],
|
7613
7680
|
"styles": [
|
7614
7681
|
{
|
@@ -7622,8 +7689,22 @@
|
|
7622
7689
|
"docs": "gap between all rows. Defaults to theme's global padding"
|
7623
7690
|
}
|
7624
7691
|
],
|
7625
|
-
"slots": [
|
7626
|
-
|
7692
|
+
"slots": [
|
7693
|
+
{
|
7694
|
+
"name": "",
|
7695
|
+
"docs": "default slot. Use this to place grid items. Use `grid-states=\"...\"` attribute to opt-out of auto / sequential placement."
|
7696
|
+
}
|
7697
|
+
],
|
7698
|
+
"parts": [
|
7699
|
+
{
|
7700
|
+
"name": "grid",
|
7701
|
+
"docs": "the main grid element.\nUse this to set css such as `justify-items|content` / `align-items|content` / `place-content`"
|
7702
|
+
},
|
7703
|
+
{
|
7704
|
+
"name": "helper",
|
7705
|
+
"docs": "a replica grid showed when `show-helper` is true"
|
7706
|
+
}
|
7707
|
+
],
|
7627
7708
|
"dependents": [
|
7628
7709
|
"nano-hero"
|
7629
7710
|
],
|
@@ -7639,45 +7720,25 @@
|
|
7639
7720
|
"encapsulation": "shadow",
|
7640
7721
|
"tag": "nano-grid-item",
|
7641
7722
|
"readme": "# nano-grid (extra examples and methods)\n\n## 1. Define the number of grid columns to display at various container sizes (from 1 to 10). \n\n```html\n<nano-grid m-cols=\"2\" l-cols=\"4\" xl-cols=\"6\" xxl-cols=\"10\" show-helper></nano-grid>\n```\n<nano-grid style=\"min-height: 200px\" m-cols=\"2\" l-cols=\"4\" xl-cols=\"6\" xxl-cols=\"10\" show-helper></nano-grid>\n\n## 2. Put items into the grid\n\nBy default items will fill one column.\n\n```html\n<nano-grid m-cols=\"2\" l-cols=\"4\" xl-cols=\"6\" show-helper>\n <div></div>\n <div></div>\n <div></div>\n</nano-grid>\n```\n\n## 3. Set items to span columns and rows and / or start on different columns and rows at different sizes\n\n```html\n<nano-grid l-cols=\"6\" show-helper>\n <div grid-states=\"\n xl-col-span-2 \n xl-col-start-2 \n xl-row-span-2 \n l-col-span-4\n \"></div>\n <div grid-states=\"xl-col-start-1 xl-row-start-1\"></div>\n <div grid-states=\"xl-col-start-6\"></div>\n <div grid-states=\"l-col-span-2\"></div>\n</nano-grid>\n```\n\n### IE11 Notes\n\nIf you need to support IE11 there are some things to consider.\n\nThere is no native way for IE11 to wrap items to new rows automatically. In order to achive this, items have been statically assigned to their row and column.\n\nThis causes 2 side-effects:\n\n1. In-order to strike a balance between flexibility and not creating humongous CSS files; the maximum grid columns currently supported is *10* with a potential *20* items spread accross them. If you need more look at nesting grids.\n\n2. If you wish to use any item grid-state property (col-span, col-start, row-span or row start) you will then need to assign corresponding properies to ALL items within the grid. E.g.\n\n```html\n<nano-grid l-cols=\"6\" show-helper>\n <div grid-states=\"l-col-span-2 l-col-start-2 l-row-span-2\">1</div>\n <div grid-states=\"l-col-start-1 l-row-start-1\">2</div>\n <div grid-states=\"l-col-start-6\">3</div>\n <div grid-states=\"l-col-span-2\">4</div>\n</nano-grid>\n```\n\n(Something that will work on modern browsers) Will need to become:\n\n```html\n<nano-grid l-cols=\"6\" show-helper>\n <div grid-states=\"l-col-span-2 l-col-start-2 l-row-span-2 l-row-start-1\">1</div>\n <div grid-states=\"l-col-start-1 l-row-start-1\">2</div>\n <div grid-states=\"l-col-start-6 l-row-start-1\">3</div>\n <div grid-states=\"l-col-start-4 l-col-span-2 l-row-start-2\">4</div>\n</nano-grid>\n```\n",
|
7642
|
-
"docs": "
|
7643
|
-
"docsTags": [
|
7644
|
-
"usage": {},
|
7645
|
-
"props": [
|
7723
|
+
"docs": "",
|
7724
|
+
"docsTags": [
|
7646
7725
|
{
|
7647
|
-
"name": "
|
7648
|
-
"
|
7649
|
-
"mutable": false,
|
7650
|
-
"attr": "grid-states",
|
7651
|
-
"reflectToAttr": false,
|
7652
|
-
"docs": "How to position this item within it's parent grid at different break points. Examples:\nxl-col-span-2\nl-col-start-2\nxxl-row-span-2\nm-row-start-2",
|
7653
|
-
"docsTags": [],
|
7654
|
-
"default": "''",
|
7655
|
-
"values": [
|
7656
|
-
{
|
7657
|
-
"type": "string"
|
7658
|
-
}
|
7659
|
-
],
|
7660
|
-
"optional": false,
|
7661
|
-
"required": false,
|
7662
|
-
"getter": false,
|
7663
|
-
"setter": false
|
7726
|
+
"name": "deprecated",
|
7727
|
+
"text": "- you can now use `grid-states=\"...\"`\non any direct `nano-grid` descendent without limitation rendering `nano-grid-item` obsolete.\n\nGrid items to be used with [grid](/story/nano-components-grid) elements"
|
7664
7728
|
}
|
7665
7729
|
],
|
7730
|
+
"usage": {},
|
7731
|
+
"props": [],
|
7666
7732
|
"methods": [],
|
7667
7733
|
"events": [],
|
7668
7734
|
"listeners": [],
|
7669
7735
|
"styles": [],
|
7670
7736
|
"slots": [],
|
7671
7737
|
"parts": [],
|
7672
|
-
"dependents": [
|
7673
|
-
"nano-hero"
|
7674
|
-
],
|
7738
|
+
"dependents": [],
|
7675
7739
|
"dependencies": [],
|
7676
|
-
"dependencyGraph": {
|
7677
|
-
|
7678
|
-
"nano-grid-item"
|
7679
|
-
]
|
7680
|
-
}
|
7740
|
+
"dependencyGraph": {},
|
7741
|
+
"deprecation": "- you can now use `grid-states=\"...\"`\non any direct `nano-grid` descendent without limitation rendering `nano-grid-item` obsolete.\n\nGrid items to be used with [grid](/story/nano-components-grid) elements"
|
7681
7742
|
},
|
7682
7743
|
{
|
7683
7744
|
"filePath": "./src/components/hero/hero.tsx",
|
@@ -7739,7 +7800,7 @@
|
|
7739
7800
|
"mutable": false,
|
7740
7801
|
"attr": "img-src",
|
7741
7802
|
"reflectToAttr": false,
|
7742
|
-
"docs": "src for
|
7803
|
+
"docs": "src for background image. For more control use the `background` slot instead.",
|
7743
7804
|
"docsTags": [],
|
7744
7805
|
"values": [
|
7745
7806
|
{
|
@@ -7938,13 +7999,11 @@
|
|
7938
7999
|
"dependents": [],
|
7939
8000
|
"dependencies": [
|
7940
8001
|
"nano-grid",
|
7941
|
-
"nano-grid-item",
|
7942
8002
|
"nano-img"
|
7943
8003
|
],
|
7944
8004
|
"dependencyGraph": {
|
7945
8005
|
"nano-hero": [
|
7946
8006
|
"nano-grid",
|
7947
|
-
"nano-grid-item",
|
7948
8007
|
"nano-img"
|
7949
8008
|
],
|
7950
8009
|
"nano-img": [
|
@@ -8243,7 +8302,7 @@
|
|
8243
8302
|
},
|
8244
8303
|
{
|
8245
8304
|
"filePath": "./src/components/icon-button/icon-button.tsx",
|
8246
|
-
"encapsulation": "
|
8305
|
+
"encapsulation": "shadow",
|
8247
8306
|
"tag": "nano-icon-button",
|
8248
8307
|
"readme": "# nano-icon-button\n\n\n",
|
8249
8308
|
"docs": "Icons buttons are simple, icon-only buttons that can be used for actions and in toolbars.",
|
@@ -8278,6 +8337,27 @@
|
|
8278
8337
|
"getter": false,
|
8279
8338
|
"setter": false
|
8280
8339
|
},
|
8340
|
+
{
|
8341
|
+
"name": "form",
|
8342
|
+
"type": "HTMLFormElement | string",
|
8343
|
+
"mutable": false,
|
8344
|
+
"attr": "form",
|
8345
|
+
"reflectToAttr": false,
|
8346
|
+
"docs": "The HTML form element or form element id.\nUsed to submit a form when the button is not a child of the form.",
|
8347
|
+
"docsTags": [],
|
8348
|
+
"values": [
|
8349
|
+
{
|
8350
|
+
"type": "HTMLFormElement"
|
8351
|
+
},
|
8352
|
+
{
|
8353
|
+
"type": "string"
|
8354
|
+
}
|
8355
|
+
],
|
8356
|
+
"optional": false,
|
8357
|
+
"required": false,
|
8358
|
+
"getter": false,
|
8359
|
+
"setter": false
|
8360
|
+
},
|
8281
8361
|
{
|
8282
8362
|
"name": "href",
|
8283
8363
|
"type": "string",
|
@@ -8368,6 +8448,24 @@
|
|
8368
8448
|
"getter": false,
|
8369
8449
|
"setter": false
|
8370
8450
|
},
|
8451
|
+
{
|
8452
|
+
"name": "rel",
|
8453
|
+
"type": "string",
|
8454
|
+
"mutable": false,
|
8455
|
+
"attr": "rel",
|
8456
|
+
"reflectToAttr": false,
|
8457
|
+
"docs": "Specifies the relationship of the target object to the link object.\nThe value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)",
|
8458
|
+
"docsTags": [],
|
8459
|
+
"values": [
|
8460
|
+
{
|
8461
|
+
"type": "string"
|
8462
|
+
}
|
8463
|
+
],
|
8464
|
+
"optional": false,
|
8465
|
+
"required": false,
|
8466
|
+
"getter": false,
|
8467
|
+
"setter": false
|
8468
|
+
},
|
8371
8469
|
{
|
8372
8470
|
"name": "showTooltip",
|
8373
8471
|
"type": "boolean",
|
@@ -8479,9 +8577,9 @@
|
|
8479
8577
|
"docs": "defaults to transparent;"
|
8480
8578
|
},
|
8481
8579
|
{
|
8482
|
-
"name": "--
|
8580
|
+
"name": "--box-shadow",
|
8483
8581
|
"annotation": "prop",
|
8484
|
-
"docs": "defaults to
|
8582
|
+
"docs": "defaults to none;"
|
8485
8583
|
},
|
8486
8584
|
{
|
8487
8585
|
"name": "--color",
|
@@ -13852,28 +13950,32 @@
|
|
13852
13950
|
"dependencyGraph": {}
|
13853
13951
|
},
|
13854
13952
|
{
|
13855
|
-
"filePath": "./src/components/
|
13953
|
+
"filePath": "./src/components/sortable/sortable.tsx",
|
13856
13954
|
"encapsulation": "shadow",
|
13857
|
-
"tag": "nano-
|
13858
|
-
"readme": "# nano-
|
13859
|
-
"docs": "
|
13955
|
+
"tag": "nano-sortable",
|
13956
|
+
"readme": "# nano-sortable\n\n\n",
|
13957
|
+
"docs": "An accessible and flexible re-order / sort utility component.\n\n- Drag and drop via mouse, touch or keyboard\n- Live announcements for screen readers\n- Works with or without an explicit handle (although with is preferable)",
|
13860
13958
|
"docsTags": [
|
13959
|
+
{
|
13960
|
+
"name": "part",
|
13961
|
+
"text": "announcements - the a11y, live region. Visually hidden by default"
|
13962
|
+
},
|
13861
13963
|
{
|
13862
13964
|
"name": "slot",
|
13863
|
-
"text": "-
|
13965
|
+
"text": "- The default slot containing any items you might want to sort"
|
13864
13966
|
}
|
13865
13967
|
],
|
13866
13968
|
"usage": {},
|
13867
13969
|
"props": [
|
13868
13970
|
{
|
13869
|
-
"name": "
|
13971
|
+
"name": "animationEnabled",
|
13870
13972
|
"type": "boolean",
|
13871
13973
|
"mutable": false,
|
13872
|
-
"attr": "
|
13873
|
-
"reflectToAttr":
|
13874
|
-
"docs": "
|
13974
|
+
"attr": "animation-enabled",
|
13975
|
+
"reflectToAttr": false,
|
13976
|
+
"docs": "Items being sorted will animate into place",
|
13875
13977
|
"docsTags": [],
|
13876
|
-
"default": "
|
13978
|
+
"default": "true",
|
13877
13979
|
"values": [
|
13878
13980
|
{
|
13879
13981
|
"type": "boolean"
|
@@ -13885,43 +13987,512 @@
|
|
13885
13987
|
"setter": false
|
13886
13988
|
},
|
13887
13989
|
{
|
13888
|
-
"name": "
|
13889
|
-
"type": "
|
13990
|
+
"name": "animationTiming",
|
13991
|
+
"type": "any",
|
13890
13992
|
"mutable": false,
|
13891
|
-
"attr": "
|
13993
|
+
"attr": "animation-timing",
|
13892
13994
|
"reflectToAttr": false,
|
13893
|
-
"docs": "The
|
13995
|
+
"docs": "The css animation timing applied when `animationEnabled` is `true`",
|
13894
13996
|
"docsTags": [],
|
13895
|
-
"default": "'
|
13997
|
+
"default": "{ duration: 200, easing: 'ease-out' }",
|
13896
13998
|
"values": [
|
13897
13999
|
{
|
13898
|
-
"
|
13899
|
-
"type": "string"
|
13900
|
-
},
|
13901
|
-
{
|
13902
|
-
"value": "dna",
|
13903
|
-
"type": "string"
|
14000
|
+
"type": "any"
|
13904
14001
|
}
|
13905
14002
|
],
|
13906
14003
|
"optional": false,
|
13907
14004
|
"required": false,
|
13908
14005
|
"getter": false,
|
13909
14006
|
"setter": false
|
13910
|
-
}
|
13911
|
-
|
13912
|
-
|
13913
|
-
|
13914
|
-
|
13915
|
-
|
13916
|
-
|
13917
|
-
"
|
13918
|
-
|
13919
|
-
|
13920
|
-
|
13921
|
-
|
13922
|
-
|
13923
|
-
|
13924
|
-
|
14007
|
+
},
|
14008
|
+
{
|
14009
|
+
"name": "createKeyboardHandle",
|
14010
|
+
"type": "(_number: number, _element: Element) => HTMLElement",
|
14011
|
+
"mutable": false,
|
14012
|
+
"reflectToAttr": false,
|
14013
|
+
"docs": "A function that should attach a keyboard accessible control.\nWhen a `handleSelector` is not used - to allow keyboard accessibility -\n`createKeyboardHandle` should render a focusable element.\n\nIf your sortable item is itself focusable,\nyou must use this function to render a control *outside* of the focusable element.",
|
14014
|
+
"docsTags": [
|
14015
|
+
{
|
14016
|
+
"name": "param",
|
14017
|
+
"text": "_number"
|
14018
|
+
},
|
14019
|
+
{
|
14020
|
+
"name": "param",
|
14021
|
+
"text": "_element"
|
14022
|
+
},
|
14023
|
+
{
|
14024
|
+
"name": "returns",
|
14025
|
+
"text": "a function that attaches a keyboard accessible handle control element.\nThe function itself *must* return the handle element."
|
14026
|
+
}
|
14027
|
+
],
|
14028
|
+
"default": "(_number: number, _element: Element) => {\n const handleTpl = /* html */ `\n <nano-icon-button\n slot=\"end\"\n icon-name=\"light/arrows\"\n class=\"nano-sortable__keyboard-handle visually-hidden\"\n label=\"Re-order this item\"\n ></nano-icon-button>`;\n const div = globalThis.document.createElement('div');\n div.innerHTML = handleTpl;\n\n const handle = div.children[0] as HTMLElement;\n _element.append(handle);\n return handle;\n }",
|
14029
|
+
"values": [
|
14030
|
+
{
|
14031
|
+
"type": "(_number: number, _element: Element) => HTMLElement"
|
14032
|
+
}
|
14033
|
+
],
|
14034
|
+
"optional": false,
|
14035
|
+
"required": false,
|
14036
|
+
"getter": false,
|
14037
|
+
"setter": false
|
14038
|
+
},
|
14039
|
+
{
|
14040
|
+
"name": "dragResize",
|
14041
|
+
"type": "boolean",
|
14042
|
+
"mutable": false,
|
14043
|
+
"attr": "drag-resize",
|
14044
|
+
"reflectToAttr": false,
|
14045
|
+
"docs": "Dragged items by default, will take whatever default css is applied in situ.\nWhen sortable items' dimensions are dynamic (i.e they can shrink / grow via the space allowed) dragging items can look 'wrong'.\nApply `dragResize` to read & recreate the dragged items current dimensions when dragged.",
|
14046
|
+
"docsTags": [],
|
14047
|
+
"default": "false",
|
14048
|
+
"values": [
|
14049
|
+
{
|
14050
|
+
"type": "boolean"
|
14051
|
+
}
|
14052
|
+
],
|
14053
|
+
"optional": false,
|
14054
|
+
"required": false,
|
14055
|
+
"getter": false,
|
14056
|
+
"setter": false
|
14057
|
+
},
|
14058
|
+
{
|
14059
|
+
"name": "draggedClass",
|
14060
|
+
"type": "string",
|
14061
|
+
"mutable": false,
|
14062
|
+
"attr": "dragged-class",
|
14063
|
+
"reflectToAttr": false,
|
14064
|
+
"docs": "Use this class to change how the element looks whilst being sorted",
|
14065
|
+
"docsTags": [],
|
14066
|
+
"default": "'nano-sortable__dragged'",
|
14067
|
+
"values": [
|
14068
|
+
{
|
14069
|
+
"type": "string"
|
14070
|
+
}
|
14071
|
+
],
|
14072
|
+
"optional": false,
|
14073
|
+
"required": false,
|
14074
|
+
"getter": false,
|
14075
|
+
"setter": false
|
14076
|
+
},
|
14077
|
+
{
|
14078
|
+
"name": "droppedHelperText",
|
14079
|
+
"type": "(el: Element) => string",
|
14080
|
+
"mutable": false,
|
14081
|
+
"reflectToAttr": false,
|
14082
|
+
"docs": "Used to generate a screen reader live update, informing the user of the current element being dropped.",
|
14083
|
+
"docsTags": [
|
14084
|
+
{
|
14085
|
+
"name": "param",
|
14086
|
+
"text": "el the element that has been dropped by the user"
|
14087
|
+
},
|
14088
|
+
{
|
14089
|
+
"name": "returns",
|
14090
|
+
"text": "a string, describing the element that has been dropped"
|
14091
|
+
}
|
14092
|
+
],
|
14093
|
+
"default": "(el: Element) =>\n `${this.itemDescriptor(el)} dropped`",
|
14094
|
+
"values": [
|
14095
|
+
{
|
14096
|
+
"type": "(el: Element) => string"
|
14097
|
+
}
|
14098
|
+
],
|
14099
|
+
"optional": false,
|
14100
|
+
"required": false,
|
14101
|
+
"getter": false,
|
14102
|
+
"setter": false
|
14103
|
+
},
|
14104
|
+
{
|
14105
|
+
"name": "dropzoneActiveClass",
|
14106
|
+
"type": "string",
|
14107
|
+
"mutable": false,
|
14108
|
+
"attr": "dropzone-active-class",
|
14109
|
+
"reflectToAttr": false,
|
14110
|
+
"docs": "Used in-conjunction with `dropzoneSelector`, applied when a dropzone is dragged over",
|
14111
|
+
"docsTags": [],
|
14112
|
+
"default": "''",
|
14113
|
+
"values": [
|
14114
|
+
{
|
14115
|
+
"type": "string"
|
14116
|
+
}
|
14117
|
+
],
|
14118
|
+
"optional": true,
|
14119
|
+
"required": false,
|
14120
|
+
"getter": false,
|
14121
|
+
"setter": false
|
14122
|
+
},
|
14123
|
+
{
|
14124
|
+
"name": "dropzoneSelector",
|
14125
|
+
"type": "string",
|
14126
|
+
"mutable": false,
|
14127
|
+
"attr": "dropzone-selector",
|
14128
|
+
"reflectToAttr": false,
|
14129
|
+
"docs": "When dragging between grouped collections of items, it is possible to drag all sortable items from one group to another.\nAt that point, you will not be able to drag items back to the original group.\nA `dropzoneSelector` allows you to define a placeholder area where items can always be dropped.",
|
14130
|
+
"docsTags": [],
|
14131
|
+
"values": [
|
14132
|
+
{
|
14133
|
+
"type": "string"
|
14134
|
+
}
|
14135
|
+
],
|
14136
|
+
"optional": true,
|
14137
|
+
"required": false,
|
14138
|
+
"getter": false,
|
14139
|
+
"setter": false
|
14140
|
+
},
|
14141
|
+
{
|
14142
|
+
"name": "grabbedHelperText",
|
14143
|
+
"type": "(el: Element) => string",
|
14144
|
+
"mutable": false,
|
14145
|
+
"reflectToAttr": false,
|
14146
|
+
"docs": "Used to generate a screen reader live update, informing the user of the current element being grabbed.",
|
14147
|
+
"docsTags": [
|
14148
|
+
{
|
14149
|
+
"name": "param",
|
14150
|
+
"text": "el the element that has been grabbed by the user"
|
14151
|
+
},
|
14152
|
+
{
|
14153
|
+
"name": "returns",
|
14154
|
+
"text": "a string, describing the element being grabbed"
|
14155
|
+
}
|
14156
|
+
],
|
14157
|
+
"default": "(el: Element) =>\n `${this.itemDescriptor(el)} grabbed`",
|
14158
|
+
"values": [
|
14159
|
+
{
|
14160
|
+
"type": "(el: Element) => string"
|
14161
|
+
}
|
14162
|
+
],
|
14163
|
+
"optional": false,
|
14164
|
+
"required": false,
|
14165
|
+
"getter": false,
|
14166
|
+
"setter": false
|
14167
|
+
},
|
14168
|
+
{
|
14169
|
+
"name": "handleDraggedClass",
|
14170
|
+
"type": "string",
|
14171
|
+
"mutable": false,
|
14172
|
+
"attr": "handle-dragged-class",
|
14173
|
+
"reflectToAttr": false,
|
14174
|
+
"docs": "Use this class to change how the handle looks whilst being sorted",
|
14175
|
+
"docsTags": [],
|
14176
|
+
"default": "'nano-sortable__handle-dragged'",
|
14177
|
+
"values": [
|
14178
|
+
{
|
14179
|
+
"type": "string"
|
14180
|
+
}
|
14181
|
+
],
|
14182
|
+
"optional": false,
|
14183
|
+
"required": false,
|
14184
|
+
"getter": false,
|
14185
|
+
"setter": false
|
14186
|
+
},
|
14187
|
+
{
|
14188
|
+
"name": "handleSelector",
|
14189
|
+
"type": "string",
|
14190
|
+
"mutable": false,
|
14191
|
+
"attr": "handle-selector",
|
14192
|
+
"reflectToAttr": false,
|
14193
|
+
"docs": "A css query selector which matches an element *within* the `itemSelector` element\nwhich will act like a drag handle. **Note** For keyboard a11y it's recommended\nto use `handleSelector` when possible. Alternatively, the `createKeyboardHandle` prop will be used",
|
14194
|
+
"docsTags": [],
|
14195
|
+
"values": [
|
14196
|
+
{
|
14197
|
+
"type": "string"
|
14198
|
+
}
|
14199
|
+
],
|
14200
|
+
"optional": true,
|
14201
|
+
"required": false,
|
14202
|
+
"getter": false,
|
14203
|
+
"setter": false
|
14204
|
+
},
|
14205
|
+
{
|
14206
|
+
"name": "helperText",
|
14207
|
+
"type": "string",
|
14208
|
+
"mutable": false,
|
14209
|
+
"attr": "helper-text",
|
14210
|
+
"reflectToAttr": false,
|
14211
|
+
"docs": "Accessibility helper text applied to handle controls",
|
14212
|
+
"docsTags": [],
|
14213
|
+
"default": "'Press \"Space\" or \"Enter\" to enable element reordering and use the arrow keys to reorder items.' +\n 'Press \"Escape\" to cancel reordering. Alternatively, use your mouse to drag / reorder.'",
|
14214
|
+
"values": [
|
14215
|
+
{
|
14216
|
+
"type": "string"
|
14217
|
+
}
|
14218
|
+
],
|
14219
|
+
"optional": false,
|
14220
|
+
"required": false,
|
14221
|
+
"getter": false,
|
14222
|
+
"setter": false
|
14223
|
+
},
|
14224
|
+
{
|
14225
|
+
"name": "itemDescriptor",
|
14226
|
+
"type": "(el: Element) => string",
|
14227
|
+
"mutable": false,
|
14228
|
+
"reflectToAttr": false,
|
14229
|
+
"docs": "As a sortable element is interacted with, announcements are made to screen readers\n- informing the user what is changing.\nBy default, the text from the element is extracted to describe the interacted with element.\nUse this function to provide a more meaningful, concise item descriptor",
|
14230
|
+
"docsTags": [
|
14231
|
+
{
|
14232
|
+
"name": "param",
|
14233
|
+
"text": "el the element being interacted with"
|
14234
|
+
},
|
14235
|
+
{
|
14236
|
+
"name": "returns",
|
14237
|
+
"text": "a string, describing the element being interacted with"
|
14238
|
+
}
|
14239
|
+
],
|
14240
|
+
"default": "(el: Element) => `\"${el.textContent.trim()}\"`",
|
14241
|
+
"values": [
|
14242
|
+
{
|
14243
|
+
"type": "(el: Element) => string"
|
14244
|
+
}
|
14245
|
+
],
|
14246
|
+
"optional": false,
|
14247
|
+
"required": false,
|
14248
|
+
"getter": false,
|
14249
|
+
"setter": false
|
14250
|
+
},
|
14251
|
+
{
|
14252
|
+
"name": "itemSelector",
|
14253
|
+
"type": "string",
|
14254
|
+
"mutable": false,
|
14255
|
+
"attr": "item-selector",
|
14256
|
+
"reflectToAttr": false,
|
14257
|
+
"docs": "A css query selector which matches a set of elements that should be sortable. e.g. `<li>` or `<tr>`",
|
14258
|
+
"docsTags": [],
|
14259
|
+
"default": "'li'",
|
14260
|
+
"values": [
|
14261
|
+
{
|
14262
|
+
"type": "string"
|
14263
|
+
}
|
14264
|
+
],
|
14265
|
+
"optional": false,
|
14266
|
+
"required": false,
|
14267
|
+
"getter": false,
|
14268
|
+
"setter": false
|
14269
|
+
},
|
14270
|
+
{
|
14271
|
+
"name": "orientation",
|
14272
|
+
"type": "\"horizontal\" | \"vertical\"",
|
14273
|
+
"mutable": false,
|
14274
|
+
"attr": "orientation",
|
14275
|
+
"reflectToAttr": false,
|
14276
|
+
"docs": "The axis to lock dragging elements to. `undefined` means any axis",
|
14277
|
+
"docsTags": [],
|
14278
|
+
"values": [
|
14279
|
+
{
|
14280
|
+
"value": "horizontal",
|
14281
|
+
"type": "string"
|
14282
|
+
},
|
14283
|
+
{
|
14284
|
+
"value": "vertical",
|
14285
|
+
"type": "string"
|
14286
|
+
}
|
14287
|
+
],
|
14288
|
+
"optional": true,
|
14289
|
+
"required": false,
|
14290
|
+
"getter": false,
|
14291
|
+
"setter": false
|
14292
|
+
},
|
14293
|
+
{
|
14294
|
+
"name": "placeholderClass",
|
14295
|
+
"type": "string",
|
14296
|
+
"mutable": false,
|
14297
|
+
"attr": "placeholder-class",
|
14298
|
+
"reflectToAttr": false,
|
14299
|
+
"docs": "Use this class to change how the element looks when acting as a placeholder",
|
14300
|
+
"docsTags": [],
|
14301
|
+
"default": "'nano-sortable__placeholder'",
|
14302
|
+
"values": [
|
14303
|
+
{
|
14304
|
+
"type": "string"
|
14305
|
+
}
|
14306
|
+
],
|
14307
|
+
"optional": false,
|
14308
|
+
"required": false,
|
14309
|
+
"getter": false,
|
14310
|
+
"setter": false
|
14311
|
+
},
|
14312
|
+
{
|
14313
|
+
"name": "reorderHelperText",
|
14314
|
+
"type": "(el: Element, elements: Element[], position: number) => string",
|
14315
|
+
"mutable": false,
|
14316
|
+
"reflectToAttr": false,
|
14317
|
+
"docs": "Used to generate a screen reader live update, informing the user when items have been reordered.",
|
14318
|
+
"docsTags": [
|
14319
|
+
{
|
14320
|
+
"name": "param",
|
14321
|
+
"text": "el the element that has been reordered by the user"
|
14322
|
+
},
|
14323
|
+
{
|
14324
|
+
"name": "param",
|
14325
|
+
"text": "elements the elements in the sortable list"
|
14326
|
+
},
|
14327
|
+
{
|
14328
|
+
"name": "param",
|
14329
|
+
"text": "position the new position of the dropped element"
|
14330
|
+
},
|
14331
|
+
{
|
14332
|
+
"name": "returns",
|
14333
|
+
"text": "a string, describing the element being dropped"
|
14334
|
+
}
|
14335
|
+
],
|
14336
|
+
"default": "(\n el: Element,\n elements: Element[],\n position: number\n ) =>\n `The list has been reordered, ${this.itemDescriptor(\n el\n )} is now item ${position} of ${elements.length}`",
|
14337
|
+
"values": [
|
14338
|
+
{
|
14339
|
+
"type": "(el: Element, elements: Element[], position: number) => string"
|
14340
|
+
}
|
14341
|
+
],
|
14342
|
+
"optional": false,
|
14343
|
+
"required": false,
|
14344
|
+
"getter": false,
|
14345
|
+
"setter": false
|
14346
|
+
},
|
14347
|
+
{
|
14348
|
+
"name": "sortableHostElement",
|
14349
|
+
"type": "HTMLElement",
|
14350
|
+
"mutable": false,
|
14351
|
+
"reflectToAttr": false,
|
14352
|
+
"docs": "use `sortableHostElement` to watch a sortable list without needing to wrap in `nano-sortable`.\nNote that the `sortableHostElement` element css `position` will be set to `relative`",
|
14353
|
+
"docsTags": [],
|
14354
|
+
"values": [
|
14355
|
+
{
|
14356
|
+
"type": "HTMLElement"
|
14357
|
+
}
|
14358
|
+
],
|
14359
|
+
"optional": true,
|
14360
|
+
"required": false,
|
14361
|
+
"getter": false,
|
14362
|
+
"setter": false
|
14363
|
+
}
|
14364
|
+
],
|
14365
|
+
"methods": [
|
14366
|
+
{
|
14367
|
+
"name": "refreshKeyboardHandles",
|
14368
|
+
"returns": {
|
14369
|
+
"type": "Promise<void>",
|
14370
|
+
"docs": ""
|
14371
|
+
},
|
14372
|
+
"signature": "refreshKeyboardHandles() => Promise<void>",
|
14373
|
+
"parameters": [],
|
14374
|
+
"docs": "If sortable elements change dynamically, use this method to add handle controls to new elements",
|
14375
|
+
"docsTags": []
|
14376
|
+
}
|
14377
|
+
],
|
14378
|
+
"events": [
|
14379
|
+
{
|
14380
|
+
"event": "nanoDropped",
|
14381
|
+
"detail": "{ element: HTMLElement; }",
|
14382
|
+
"bubbles": true,
|
14383
|
+
"cancelable": true,
|
14384
|
+
"composed": true,
|
14385
|
+
"docs": "Fired when a sortable element is dropped after having been picked up.",
|
14386
|
+
"docsTags": []
|
14387
|
+
},
|
14388
|
+
{
|
14389
|
+
"event": "nanoGrabbed",
|
14390
|
+
"detail": "{ element: HTMLElement; index: number; }",
|
14391
|
+
"bubbles": true,
|
14392
|
+
"cancelable": true,
|
14393
|
+
"composed": true,
|
14394
|
+
"docs": "Fired when a sortable element is picked-up; via keyboard, mouse or touch.\n`event.preventDefault()` to prevent the element being picked-up.",
|
14395
|
+
"docsTags": []
|
14396
|
+
},
|
14397
|
+
{
|
14398
|
+
"event": "nanoOrderChange",
|
14399
|
+
"detail": "{ element: HTMLElement; originalIndex: number; targetIndex: number; }",
|
14400
|
+
"bubbles": true,
|
14401
|
+
"cancelable": true,
|
14402
|
+
"composed": true,
|
14403
|
+
"docs": "Fired when an the order changes. Use this to update any underlying data model.\n`event.preventDefault()` to prevent the element being moved; will revert to original position.",
|
14404
|
+
"docsTags": []
|
14405
|
+
}
|
14406
|
+
],
|
14407
|
+
"listeners": [],
|
14408
|
+
"styles": [],
|
14409
|
+
"slots": [
|
14410
|
+
{
|
14411
|
+
"name": "",
|
14412
|
+
"docs": "The default slot containing any items you might want to sort"
|
14413
|
+
}
|
14414
|
+
],
|
14415
|
+
"parts": [
|
14416
|
+
{
|
14417
|
+
"name": "announcements",
|
14418
|
+
"docs": "the a11y, live region. Visually hidden by default"
|
14419
|
+
}
|
14420
|
+
],
|
14421
|
+
"dependents": [],
|
14422
|
+
"dependencies": [],
|
14423
|
+
"dependencyGraph": {}
|
14424
|
+
},
|
14425
|
+
{
|
14426
|
+
"filePath": "./src/components/spinner/spinner.tsx",
|
14427
|
+
"encapsulation": "shadow",
|
14428
|
+
"tag": "nano-spinner",
|
14429
|
+
"readme": "# nano-spinner\n\n\n",
|
14430
|
+
"docs": "Spinners are used to show the progress of an indeterminate operation.",
|
14431
|
+
"docsTags": [
|
14432
|
+
{
|
14433
|
+
"name": "slot",
|
14434
|
+
"text": "- Used for loading messages"
|
14435
|
+
}
|
14436
|
+
],
|
14437
|
+
"usage": {},
|
14438
|
+
"props": [
|
14439
|
+
{
|
14440
|
+
"name": "overlay",
|
14441
|
+
"type": "boolean",
|
14442
|
+
"mutable": false,
|
14443
|
+
"attr": "overlay",
|
14444
|
+
"reflectToAttr": true,
|
14445
|
+
"docs": "Displays absolutely with an overlay",
|
14446
|
+
"docsTags": [],
|
14447
|
+
"default": "false",
|
14448
|
+
"values": [
|
14449
|
+
{
|
14450
|
+
"type": "boolean"
|
14451
|
+
}
|
14452
|
+
],
|
14453
|
+
"optional": false,
|
14454
|
+
"required": false,
|
14455
|
+
"getter": false,
|
14456
|
+
"setter": false
|
14457
|
+
},
|
14458
|
+
{
|
14459
|
+
"name": "type",
|
14460
|
+
"type": "\"circle\" | \"dna\"",
|
14461
|
+
"mutable": false,
|
14462
|
+
"attr": "type",
|
14463
|
+
"reflectToAttr": false,
|
14464
|
+
"docs": "The type of spinner animation. dna should be used for larger, page loads. Circle for smaller component loaders.",
|
14465
|
+
"docsTags": [],
|
14466
|
+
"default": "'dna'",
|
14467
|
+
"values": [
|
14468
|
+
{
|
14469
|
+
"value": "circle",
|
14470
|
+
"type": "string"
|
14471
|
+
},
|
14472
|
+
{
|
14473
|
+
"value": "dna",
|
14474
|
+
"type": "string"
|
14475
|
+
}
|
14476
|
+
],
|
14477
|
+
"optional": false,
|
14478
|
+
"required": false,
|
14479
|
+
"getter": false,
|
14480
|
+
"setter": false
|
14481
|
+
}
|
14482
|
+
],
|
14483
|
+
"methods": [],
|
14484
|
+
"events": [],
|
14485
|
+
"listeners": [],
|
14486
|
+
"styles": [
|
14487
|
+
{
|
14488
|
+
"name": "--base-color-rgb",
|
14489
|
+
"annotation": "prop",
|
14490
|
+
"docs": "default var(--nano-indicator-rgb, 84 140 175)"
|
14491
|
+
},
|
14492
|
+
{
|
14493
|
+
"name": "--indicator-color",
|
14494
|
+
"annotation": "prop",
|
14495
|
+
"docs": "default var(--nano-indicator-color, rgb(var(--base-color-rgb) / 10%));"
|
13925
14496
|
},
|
13926
14497
|
{
|
13927
14498
|
"name": "--overlay-color",
|
@@ -14610,9 +15181,29 @@
|
|
14610
15181
|
"readme": "# nano-tab\n\n\n",
|
14611
15182
|
"docs": "",
|
14612
15183
|
"docsTags": [
|
15184
|
+
{
|
15185
|
+
"name": "slot",
|
15186
|
+
"text": "start - start of the tab, content. Outside of the focusable element"
|
15187
|
+
},
|
15188
|
+
{
|
15189
|
+
"name": "slot",
|
15190
|
+
"text": "end - end of the tab, content. Outside of the focusable element"
|
15191
|
+
},
|
14613
15192
|
{
|
14614
15193
|
"name": "slot",
|
14615
15194
|
"text": "- The tab's label."
|
15195
|
+
},
|
15196
|
+
{
|
15197
|
+
"name": "part",
|
15198
|
+
"text": "base - the wrapper around the whole control"
|
15199
|
+
},
|
15200
|
+
{
|
15201
|
+
"name": "part",
|
15202
|
+
"text": "tab - the main tab control that controls the active state"
|
15203
|
+
},
|
15204
|
+
{
|
15205
|
+
"name": "part",
|
15206
|
+
"text": "close-btn - the close button of the tab (if `closable=true`)"
|
14616
15207
|
}
|
14617
15208
|
],
|
14618
15209
|
"usage": {},
|
@@ -14746,6 +15337,11 @@
|
|
14746
15337
|
"annotation": "prop",
|
14747
15338
|
"docs": "Defaults to var(--nano-layer-bg-rgb, 255 255 255);"
|
14748
15339
|
},
|
15340
|
+
{
|
15341
|
+
"name": "--border-radius",
|
15342
|
+
"annotation": "prop",
|
15343
|
+
"docs": "inherit;"
|
15344
|
+
},
|
14749
15345
|
{
|
14750
15346
|
"name": "--disabled-bg-rgb",
|
14751
15347
|
"annotation": "prop",
|
@@ -14806,12 +15402,28 @@
|
|
14806
15402
|
{
|
14807
15403
|
"name": "",
|
14808
15404
|
"docs": "The tab's label."
|
15405
|
+
},
|
15406
|
+
{
|
15407
|
+
"name": "end",
|
15408
|
+
"docs": "end of the tab, content. Outside of the focusable element"
|
15409
|
+
},
|
15410
|
+
{
|
15411
|
+
"name": "start",
|
15412
|
+
"docs": "start of the tab, content. Outside of the focusable element"
|
14809
15413
|
}
|
14810
15414
|
],
|
14811
15415
|
"parts": [
|
14812
15416
|
{
|
14813
15417
|
"name": "base",
|
14814
|
-
"docs": ""
|
15418
|
+
"docs": "the wrapper around the whole control"
|
15419
|
+
},
|
15420
|
+
{
|
15421
|
+
"name": "close-btn",
|
15422
|
+
"docs": "the close button of the tab (if `closable=true`)"
|
15423
|
+
},
|
15424
|
+
{
|
15425
|
+
"name": "tab",
|
15426
|
+
"docs": "the main tab control that controls the active state"
|
14815
15427
|
}
|
14816
15428
|
],
|
14817
15429
|
"dependents": [],
|
@@ -15036,7 +15648,7 @@
|
|
15036
15648
|
"type": "\"start\" | \"top\"",
|
15037
15649
|
"mutable": false,
|
15038
15650
|
"attr": "placement",
|
15039
|
-
"reflectToAttr":
|
15651
|
+
"reflectToAttr": true,
|
15040
15652
|
"docs": "The placement of the tabs.",
|
15041
15653
|
"docsTags": [],
|
15042
15654
|
"default": "'top'",
|
@@ -15191,7 +15803,7 @@
|
|
15191
15803
|
{
|
15192
15804
|
"name": "--content-border-radius",
|
15193
15805
|
"annotation": "prop",
|
15194
|
-
"docs": "defaults to var(--border-radius)
|
15806
|
+
"docs": "defaults to `var(--border-radius)` `position=\"top\"`. `0 var(--border-radius) var(--border-radius) 0` `position=\"start\"`;"
|
15195
15807
|
},
|
15196
15808
|
{
|
15197
15809
|
"name": "--content-padding",
|
@@ -15236,7 +15848,7 @@
|
|
15236
15848
|
{
|
15237
15849
|
"name": "--tab-border-radius",
|
15238
15850
|
"annotation": "prop",
|
15239
|
-
"docs": "defaults to var(--border-radius);"
|
15851
|
+
"docs": "defaults to `var(--border-radius) var(--border-radius) 0 0` `position=\"top\"`. `0` `position=\"start\"`. ;"
|
15240
15852
|
},
|
15241
15853
|
{
|
15242
15854
|
"name": "--tab-text-color",
|
@@ -15320,7 +15932,7 @@
|
|
15320
15932
|
"encapsulation": "none",
|
15321
15933
|
"tag": "nano-table",
|
15322
15934
|
"readme": "# nano-table\n\n\n",
|
15323
|
-
"docs": "A performant, accessible and semantic (uses real html `<table />`, `<tr />` etc) table and data-grid solution.\n\n- Built-in search\n- Built-in column filter\n- Built-in column sort\n- Easily swap in API / async based search / filter & sort\n- Pin headers, footers, rows, columns\n-
|
15935
|
+
"docs": "A performant, accessible and semantic (uses real html `<table />`, `<tr />` etc) table and data-grid solution.\n\n- Built-in search\n- Built-in column filter\n- Built-in column sort\n- Easily swap in API / async based search / filter & sort\n- Pin headers, footers, rows, columns\n- Add custom rendering at every level\n- Add custom properties at every level",
|
15324
15936
|
"docsTags": [
|
15325
15937
|
{
|
15326
15938
|
"name": "slot",
|
@@ -15427,25 +16039,6 @@
|
|
15427
16039
|
"getter": false,
|
15428
16040
|
"setter": false
|
15429
16041
|
},
|
15430
|
-
{
|
15431
|
-
"name": "defaultColDraggable",
|
15432
|
-
"type": "boolean",
|
15433
|
-
"mutable": false,
|
15434
|
-
"attr": "default-col-draggable",
|
15435
|
-
"reflectToAttr": false,
|
15436
|
-
"docs": "The default draggable option for all columns.\n`true` will enable column drag-to-reorder unless you set `draggable: false` on a column\n`false` will disable column drag-to-reorder unless you set `draggable: true` on a column",
|
15437
|
-
"docsTags": [],
|
15438
|
-
"default": "false",
|
15439
|
-
"values": [
|
15440
|
-
{
|
15441
|
-
"type": "boolean"
|
15442
|
-
}
|
15443
|
-
],
|
15444
|
-
"optional": false,
|
15445
|
-
"required": false,
|
15446
|
-
"getter": false,
|
15447
|
-
"setter": false
|
15448
|
-
},
|
15449
16042
|
{
|
15450
16043
|
"name": "defaultSort",
|
15451
16044
|
"type": "boolean",
|
@@ -15882,24 +16475,6 @@
|
|
15882
16475
|
"docs": "Fired whenever a block is activated by scrolling into view / becoming visible\nThis could be leveraged for infinite scrolling / to fetch more data.",
|
15883
16476
|
"docsTags": []
|
15884
16477
|
},
|
15885
|
-
{
|
15886
|
-
"event": "nanoTblColDrag",
|
15887
|
-
"detail": "{ column: keyof RowGeneric; }",
|
15888
|
-
"bubbles": true,
|
15889
|
-
"cancelable": true,
|
15890
|
-
"composed": true,
|
15891
|
-
"docs": "Fired when a column has started dragging",
|
15892
|
-
"docsTags": []
|
15893
|
-
},
|
15894
|
-
{
|
15895
|
-
"event": "nanoTblColDrop",
|
15896
|
-
"detail": "{ fromCol: keyof RowGeneric; toCol: keyof RowGeneric; fromIndex: number; toIndex: number; }",
|
15897
|
-
"bubbles": true,
|
15898
|
-
"cancelable": true,
|
15899
|
-
"composed": true,
|
15900
|
-
"docs": "Fired when a column has been dropped (after dragging)\n`event.preventDefault()` to stop column re-order.",
|
15901
|
-
"docsTags": []
|
15902
|
-
},
|
15903
16478
|
{
|
15904
16479
|
"event": "nanoTblReady",
|
15905
16480
|
"detail": "any",
|