@ncino/web-components 15.4.0 → 15.6.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/_virtual/index6.js +1 -1
- package/dist/_virtual/index7.js +1 -1
- package/dist/_virtual/index8.js +1 -1
- package/dist/components/guided-nav/gator/guided-nav-step/guided-nav-step.gator.js +3 -3
- package/dist/components/input/gator/dropdown/input-dropdown.gator.js +42 -35
- package/dist/components/input-rich-text/input-rich-text.slds.js +1 -1
- package/dist/components/list/gator/list/list.gator.js +1 -1
- package/dist/components/menu/base/gator/menu.gator.js +3 -3
- package/dist/components/menu/menu-item/gator/menu-item.gator.js +10 -4
- package/dist/components/menu/menu-item/menu-item.js +1 -1
- package/dist/components/table/gator/table-cells/table-cell-icon-button.gator.js +11 -8
- package/dist/components/table/gator/table.gator.js +22 -22
- package/dist/node_modules/.pnpm/ansi-styles@5.2.0/node_modules/ansi-styles/index.js +1 -1
- package/dist/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/index.js +1 -1
- package/dist/node_modules/.pnpm/dequal@2.0.3/node_modules/dequal/lite/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/react-is@17.0.2/node_modules/react-is/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/input/gator/dropdown/input-dropdown.gator.scss.js +1 -1
- package/dist/types/src/components/input/gator/dropdown/input-dropdown.gator.d.ts +56 -1
- package/dist/types/src/components/menu/base/gator/menu.gator.d.ts +4 -0
- package/dist/types/src/components/menu/menu-item/gator/menu-item.gator.d.ts +10 -1
- package/dist/types/src/components/menu/menu-item/menu-item.d.ts +14 -2
- package/dist/types/src/components/table/gator/table.gator.d.ts +14 -0
- package/dist/types/src/components/table/table-cell-config.d.ts +6 -0
- package/package.json +3 -3
- package/web-types.json +81 -22
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.5.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -2254,7 +2254,7 @@
|
|
|
2254
2254
|
},
|
|
2255
2255
|
{
|
|
2256
2256
|
"name": "ngc-menu-item",
|
|
2257
|
-
"description": "\n---\n\n\n### **Events:**\n - **menuitemclick**",
|
|
2257
|
+
"description": "\n---\n\n\n### **Events:**\n - **menuitemdisabledchange**\n- **menuitemclick**\n\n### **Slots:**\n - **start** - Leading content (e.g. ngc-icon or ngc-avatar). Preferred over deprecated `start-icon`.\n- **end** - Trailing content (e.g. ngc-icon or badge). Preferred over deprecated `end-icon`.",
|
|
2258
2258
|
"doc-url": "",
|
|
2259
2259
|
"attributes": [
|
|
2260
2260
|
{
|
|
@@ -2262,37 +2262,64 @@
|
|
|
2262
2262
|
"description": "The value and text displayed of the menu item",
|
|
2263
2263
|
"value": { "type": "string", "default": "''" }
|
|
2264
2264
|
},
|
|
2265
|
+
{
|
|
2266
|
+
"name": "subtitle",
|
|
2267
|
+
"description": "Optional secondary text below the label (forwarded to ngc-list-item)",
|
|
2268
|
+
"value": { "type": "string", "default": "null" }
|
|
2269
|
+
},
|
|
2270
|
+
{
|
|
2271
|
+
"name": "disabled",
|
|
2272
|
+
"description": "When true, the menu item is non-interactive and styled as disabled",
|
|
2273
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2274
|
+
},
|
|
2265
2275
|
{
|
|
2266
2276
|
"name": "start-icon",
|
|
2267
|
-
"description": "An icon displayed before the value text",
|
|
2268
2277
|
"value": { "type": "string", "default": "''" }
|
|
2269
2278
|
},
|
|
2270
2279
|
{
|
|
2271
2280
|
"name": "end-icon",
|
|
2272
|
-
"description": "An icon displayed after the value text",
|
|
2273
2281
|
"value": { "type": "string", "default": "''" }
|
|
2274
2282
|
}
|
|
2275
2283
|
],
|
|
2276
|
-
"
|
|
2284
|
+
"slots": [
|
|
2285
|
+
{
|
|
2286
|
+
"name": "start",
|
|
2287
|
+
"description": "Leading content (e.g. ngc-icon or ngc-avatar). Preferred over deprecated `start-icon`."
|
|
2288
|
+
},
|
|
2289
|
+
{
|
|
2290
|
+
"name": "end",
|
|
2291
|
+
"description": "Trailing content (e.g. ngc-icon or badge). Preferred over deprecated `end-icon`."
|
|
2292
|
+
}
|
|
2293
|
+
],
|
|
2294
|
+
"events": [
|
|
2295
|
+
{ "name": "menuitemdisabledchange", "type": "CustomEvent" },
|
|
2296
|
+
{ "name": "menuitemclick", "type": "CustomEvent" }
|
|
2297
|
+
],
|
|
2277
2298
|
"js": {
|
|
2278
2299
|
"properties": [
|
|
2300
|
+
{ "name": "handleKeydown" },
|
|
2279
2301
|
{
|
|
2280
2302
|
"name": "value",
|
|
2281
2303
|
"description": "The value and text displayed of the menu item",
|
|
2282
2304
|
"type": "string"
|
|
2283
2305
|
},
|
|
2284
2306
|
{
|
|
2285
|
-
"name": "
|
|
2286
|
-
"description": "
|
|
2307
|
+
"name": "subtitle",
|
|
2308
|
+
"description": "Optional secondary text below the label (forwarded to ngc-list-item)",
|
|
2287
2309
|
"type": "string"
|
|
2288
2310
|
},
|
|
2289
2311
|
{
|
|
2290
|
-
"name": "
|
|
2291
|
-
"description": "
|
|
2292
|
-
"type": "
|
|
2293
|
-
}
|
|
2312
|
+
"name": "disabled",
|
|
2313
|
+
"description": "When true, the menu item is non-interactive and styled as disabled",
|
|
2314
|
+
"type": "boolean"
|
|
2315
|
+
},
|
|
2316
|
+
{ "name": "startIcon", "type": "string" },
|
|
2317
|
+
{ "name": "endIcon", "type": "string" }
|
|
2294
2318
|
],
|
|
2295
|
-
"events": [
|
|
2319
|
+
"events": [
|
|
2320
|
+
{ "name": "menuitemdisabledchange", "type": "CustomEvent" },
|
|
2321
|
+
{ "name": "menuitemclick", "type": "CustomEvent" }
|
|
2322
|
+
]
|
|
2296
2323
|
}
|
|
2297
2324
|
},
|
|
2298
2325
|
{
|
|
@@ -4973,7 +5000,7 @@
|
|
|
4973
5000
|
},
|
|
4974
5001
|
{
|
|
4975
5002
|
"name": "ngc-input-dropdown",
|
|
4976
|
-
"description": "\n---\n\n\n### **Events:**\n - **input**\n- **change**",
|
|
5003
|
+
"description": "Dropdown / combobox. Options come from either:\n- the `options` / `data-type` props (data-driven), or\n- light-DOM `ngc-list-item` children (slotted). If any list-item children are present,\n they win and `options` / `data-type` are ignored.\n\nSlotted items must be direct children of `ngc-input-dropdown` (not wrapped in other elements).\n---\n\n\n### **Events:**\n - **input**\n- **change**\n\n### **Slots:**\n - **label** - Optional custom label\n- _default_ - Optional `ngc-list-item` children used as the listbox options (avatars, custom start/end, etc.)",
|
|
4977
5004
|
"doc-url": "",
|
|
4978
5005
|
"attributes": [
|
|
4979
5006
|
{
|
|
@@ -5108,6 +5135,13 @@
|
|
|
5108
5135
|
"value": { "type": "string | undefined", "default": "undefined" }
|
|
5109
5136
|
}
|
|
5110
5137
|
],
|
|
5138
|
+
"slots": [
|
|
5139
|
+
{ "name": "label", "description": "Optional custom label" },
|
|
5140
|
+
{
|
|
5141
|
+
"name": "",
|
|
5142
|
+
"description": "Optional `ngc-list-item` children used as the listbox options (avatars, custom start/end, etc.)"
|
|
5143
|
+
}
|
|
5144
|
+
],
|
|
5111
5145
|
"events": [
|
|
5112
5146
|
{ "name": "input", "type": "CustomEvent" },
|
|
5113
5147
|
{ "name": "change", "type": "CustomEvent" }
|
|
@@ -5152,6 +5186,11 @@
|
|
|
5152
5186
|
{ "name": "displayedValue" },
|
|
5153
5187
|
{ "name": "showPlaceholder" },
|
|
5154
5188
|
{ "name": "listboxMarkup" },
|
|
5189
|
+
{
|
|
5190
|
+
"name": "slottedListItems",
|
|
5191
|
+
"description": "Direct light-DOM `ngc-list-item` children (default slot). Used when composing rich\noptions (avatars, custom start/end) instead of the `options` array. Nested/wrapped\nlist items are not supported — place them as direct children of the dropdown.",
|
|
5192
|
+
"type": "NgcListItem[]"
|
|
5193
|
+
},
|
|
5155
5194
|
{ "name": "selectAllIcon" },
|
|
5156
5195
|
{ "name": "allSelected" },
|
|
5157
5196
|
{ "name": "listboxMessageMarkup" },
|
|
@@ -6347,14 +6386,22 @@
|
|
|
6347
6386
|
"description": "The value and text displayed of the menu item",
|
|
6348
6387
|
"value": { "type": "string", "default": "''" }
|
|
6349
6388
|
},
|
|
6389
|
+
{
|
|
6390
|
+
"name": "subtitle",
|
|
6391
|
+
"description": "Optional secondary text below the label (forwarded to ngc-list-item)",
|
|
6392
|
+
"value": { "type": "string", "default": "null" }
|
|
6393
|
+
},
|
|
6394
|
+
{
|
|
6395
|
+
"name": "disabled",
|
|
6396
|
+
"description": "When true, the menu item is non-interactive and styled as disabled",
|
|
6397
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6398
|
+
},
|
|
6350
6399
|
{
|
|
6351
6400
|
"name": "start-icon",
|
|
6352
|
-
"description": "An icon displayed before the value text",
|
|
6353
6401
|
"value": { "type": "string", "default": "''" }
|
|
6354
6402
|
},
|
|
6355
6403
|
{
|
|
6356
6404
|
"name": "end-icon",
|
|
6357
|
-
"description": "An icon displayed after the value text",
|
|
6358
6405
|
"value": { "type": "string", "default": "''" }
|
|
6359
6406
|
}
|
|
6360
6407
|
],
|
|
@@ -6368,15 +6415,17 @@
|
|
|
6368
6415
|
"type": "string"
|
|
6369
6416
|
},
|
|
6370
6417
|
{
|
|
6371
|
-
"name": "
|
|
6372
|
-
"description": "
|
|
6418
|
+
"name": "subtitle",
|
|
6419
|
+
"description": "Optional secondary text below the label (forwarded to ngc-list-item)",
|
|
6373
6420
|
"type": "string"
|
|
6374
6421
|
},
|
|
6375
6422
|
{
|
|
6376
|
-
"name": "
|
|
6377
|
-
"description": "
|
|
6378
|
-
"type": "
|
|
6379
|
-
}
|
|
6423
|
+
"name": "disabled",
|
|
6424
|
+
"description": "When true, the menu item is non-interactive and styled as disabled",
|
|
6425
|
+
"type": "boolean"
|
|
6426
|
+
},
|
|
6427
|
+
{ "name": "startIcon", "type": "string" },
|
|
6428
|
+
{ "name": "endIcon", "type": "string" }
|
|
6380
6429
|
],
|
|
6381
6430
|
"events": [{ "name": "menuitemclick", "type": "CustomEvent" }]
|
|
6382
6431
|
}
|
|
@@ -8178,7 +8227,7 @@
|
|
|
8178
8227
|
},
|
|
8179
8228
|
{
|
|
8180
8229
|
"name": "ngc-table",
|
|
8181
|
-
"description": "
|
|
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.",
|
|
8182
8231
|
"doc-url": "",
|
|
8183
8232
|
"attributes": [
|
|
8184
8233
|
{
|
|
@@ -8265,6 +8314,16 @@
|
|
|
8265
8314
|
"value": { "type": "string | undefined", "default": "undefined" }
|
|
8266
8315
|
}
|
|
8267
8316
|
],
|
|
8317
|
+
"slots": [
|
|
8318
|
+
{
|
|
8319
|
+
"name": "bulk-controls",
|
|
8320
|
+
"description": "Actions shown in the bulk selection toolbar when rows are selected."
|
|
8321
|
+
},
|
|
8322
|
+
{
|
|
8323
|
+
"name": "empty-state-actions",
|
|
8324
|
+
"description": "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."
|
|
8325
|
+
}
|
|
8326
|
+
],
|
|
8268
8327
|
"events": [
|
|
8269
8328
|
{ "name": "selectall", "type": "CustomEvent" },
|
|
8270
8329
|
{ "name": "sort", "type": "CustomEvent" },
|