@ncino/web-components 15.6.0 → 15.7.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/dist/_virtual/index3.js +1 -1
- package/dist/_virtual/index5.js +1 -1
- package/dist/components/chip/chip.js +1 -1
- package/dist/components/chip/gator/chip.gator.js +9 -7
- package/dist/components/input/gator/dropdown/input-dropdown.gator.js +5 -5
- package/dist/components/input/gator/input-phone/input-phone.gator.js +6 -5
- package/dist/components/input-rich-text/input-rich-text.slds.js +1 -1
- package/dist/components/list/gator/list/list.gator.js +2 -2
- package/dist/components/popover/gator/popover.gator.js +2 -2
- package/dist/components/table/gator/__tests__/test-table-data.js +1 -1
- package/dist/components/table/gator/table.gator.js +62 -36
- package/dist/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/index.js +1 -1
- package/dist/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/index.js +1 -1
- package/dist/node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/index.js +1 -1
- package/dist/packages/web-components/src/components/table/gator/table.gator.scss.js +1 -1
- package/dist/types/src/components/chip/chip.d.ts +5 -0
- package/dist/types/src/components/input/gator/input-phone/input-phone.gator.d.ts +11 -1
- package/dist/types/src/components/list/gator/list/list.gator.d.ts +1 -1
- package/dist/types/src/components/table/gator/__tests__/test-table-data.d.ts +17 -0
- package/dist/types/src/components/table/gator/table.gator.d.ts +6 -0
- package/package.json +3 -3
- package/web-types.json +9 -2
|
@@ -25,13 +25,18 @@ export declare class NgcTable extends NjcTable {
|
|
|
25
25
|
_hoveredHeaderColumnField: string | null;
|
|
26
26
|
_pendingFilterValues: Record<string, string | string[]>;
|
|
27
27
|
_filterSearchQuery: Record<string, string>;
|
|
28
|
+
private _visibleFilterChipCount;
|
|
29
|
+
private previousFilterOptionsScrollTop;
|
|
30
|
+
private _filterChipResizeObserver;
|
|
28
31
|
protected updated(_changedProperties: PropertyValues): void;
|
|
32
|
+
disconnectedCallback(): void;
|
|
29
33
|
render(): TemplateResult<1> | null;
|
|
30
34
|
private getColumnCellStyle;
|
|
31
35
|
private get _skeletonLoaderColumns();
|
|
32
36
|
get tableElevatedClass(): "" | "gator-table-elevated";
|
|
33
37
|
get showBulkControls(): boolean;
|
|
34
38
|
renderWrapper(header: unknown, body: unknown): TemplateResult<1>;
|
|
39
|
+
private calculateFilterChipOverflow;
|
|
35
40
|
/**
|
|
36
41
|
* Content for `ngc-illustration`'s default actions slot (must be light-DOM children of the illustration).
|
|
37
42
|
* Clear filters is rendered here when filters are active; otherwise the table's
|
|
@@ -62,6 +67,7 @@ export declare class NgcTable extends NjcTable {
|
|
|
62
67
|
private getActiveFilterChips;
|
|
63
68
|
private handleFilterChipDismiss;
|
|
64
69
|
private handleClearAllFilters;
|
|
70
|
+
private onFilterOptionsScroll;
|
|
65
71
|
private getTableBody;
|
|
66
72
|
private getCategoryBody;
|
|
67
73
|
private getTotalRow;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ncino/web-components",
|
|
3
3
|
"author": "nCino",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.7.0",
|
|
5
5
|
"license": "(c) Copyright 2023 nCino, Inc., all rights reserved",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -100,10 +100,10 @@
|
|
|
100
100
|
"vite-plugin-static-copy": "^3.3.0",
|
|
101
101
|
"vitest": "^4.1.10",
|
|
102
102
|
"yaml-eslint-parser": "^2.1.0",
|
|
103
|
-
"@ncino/styles": "15.
|
|
103
|
+
"@ncino/styles": "15.7.0"
|
|
104
104
|
},
|
|
105
105
|
"peerDependencies": {
|
|
106
|
-
"@ncino/styles": "15.
|
|
106
|
+
"@ncino/styles": "15.7.0"
|
|
107
107
|
},
|
|
108
108
|
"bugs": {
|
|
109
109
|
"url": "https://github.com/ncino/force-sdk-web-components/issues"
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@ncino/web-components",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.6.1",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -159,6 +159,10 @@
|
|
|
159
159
|
"name": "start-icon",
|
|
160
160
|
"value": { "type": "String", "default": "''" }
|
|
161
161
|
},
|
|
162
|
+
{
|
|
163
|
+
"name": "end-icon",
|
|
164
|
+
"value": { "type": "String", "default": "''" }
|
|
165
|
+
},
|
|
162
166
|
{
|
|
163
167
|
"name": "dismissible",
|
|
164
168
|
"value": { "type": "boolean", "default": "false" }
|
|
@@ -193,6 +197,7 @@
|
|
|
193
197
|
{ "name": "size", "type": " | 'small'" },
|
|
194
198
|
{ "name": "hideBorder", "type": "boolean" },
|
|
195
199
|
{ "name": "startIcon", "type": "String" },
|
|
200
|
+
{ "name": "endIcon", "type": "String" },
|
|
196
201
|
{ "name": "dismissible", "type": "boolean" },
|
|
197
202
|
{ "name": "ariaHidden", "type": "'true' | 'false'" },
|
|
198
203
|
{ "name": "dataTestid", "type": "string | undefined" },
|
|
@@ -8227,7 +8232,7 @@
|
|
|
8227
8232
|
},
|
|
8228
8233
|
{
|
|
8229
8234
|
"name": "ngc-table",
|
|
8230
|
-
"description": "Gator data table.\n---\n\n\n### **Events:**\n - **selectall**\n- **sort**\n- **filter**\n- **rowselected**\n- **cellchange**\n- **cellclick**\n\n### **Slots:**\n - **bulk-controls** - Actions shown in the bulk selection toolbar when rows are selected.\n- **empty-state-actions** - Action buttons forwarded into `ngc-illustration`'s default actions slot when no filters are active (e.g. a primary \"Add\" CTA). Not rendered when filters are active; the built-in \"Clear filters\" button is shown in that slot instead.",
|
|
8235
|
+
"description": "Gator data table.\n---\n\n\n### **Events:**\n - **selectall**\n- **sort**\n- **filter**\n- **filteroptionsreachedbottom**\n- **rowselected**\n- **cellchange**\n- **cellclick**\n\n### **Slots:**\n - **bulk-controls** - Actions shown in the bulk selection toolbar when rows are selected.\n- **empty-state-actions** - Action buttons forwarded into `ngc-illustration`'s default actions slot when no filters are active (e.g. a primary \"Add\" CTA). Not rendered when filters are active; the built-in \"Clear filters\" button is shown in that slot instead.",
|
|
8231
8236
|
"doc-url": "",
|
|
8232
8237
|
"attributes": [
|
|
8233
8238
|
{
|
|
@@ -8328,6 +8333,7 @@
|
|
|
8328
8333
|
{ "name": "selectall", "type": "CustomEvent" },
|
|
8329
8334
|
{ "name": "sort", "type": "CustomEvent" },
|
|
8330
8335
|
{ "name": "filter", "type": "CustomEvent" },
|
|
8336
|
+
{ "name": "filteroptionsreachedbottom", "type": "CustomEvent" },
|
|
8331
8337
|
{ "name": "rowselected", "type": "CustomEvent" },
|
|
8332
8338
|
{ "name": "cellchange", "type": "CustomEvent" },
|
|
8333
8339
|
{ "name": "cellclick", "type": "CustomEvent" }
|
|
@@ -8397,6 +8403,7 @@
|
|
|
8397
8403
|
{ "name": "selectall", "type": "CustomEvent" },
|
|
8398
8404
|
{ "name": "sort", "type": "CustomEvent" },
|
|
8399
8405
|
{ "name": "filter", "type": "CustomEvent" },
|
|
8406
|
+
{ "name": "filteroptionsreachedbottom", "type": "CustomEvent" },
|
|
8400
8407
|
{ "name": "rowselected", "type": "CustomEvent" },
|
|
8401
8408
|
{ "name": "cellchange", "type": "CustomEvent" },
|
|
8402
8409
|
{ "name": "cellclick", "type": "CustomEvent" }
|