@nullplatform/ui-plugin-sdk 0.18.0 → 0.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- // Generated by scripts/sync-contracts.mjs from @nullplatform/react-ui-components@0.16.0. Don't edit: change the contract in
1
+ // Generated by scripts/sync-contracts.mjs from @nullplatform/react-ui-components@0.16.15. Don't edit: change the contract in
2
2
  // react-ui-components, bump `uiComponentsContracts` in package.json and run `pnpm sync:contracts`.
3
3
  export const UI_COMPONENTS_CONTRACTS = [
4
4
  {
@@ -348,7 +348,7 @@ export const UI_COMPONENTS_CONTRACTS = [
348
348
  {
349
349
  tag: "np-calendar-timeline",
350
350
  component: "CalendarTimeline",
351
- properties: { "from": "string", "to": "string", "timeZone": "string", "rows": "array", "bars": "array", "selectedId": "string", "now": "string", "locale": "string", "resourceLabel": "string" },
351
+ properties: { "from": "string", "to": "string", "timeZone": "string", "rows": "array", "bars": "array", "selectedId": "string", "now": "string", "locale": "string", "resourceLabel": "string", "loading": "boolean", "emptyStateProps": "object", "maxRows": "number" },
352
352
  events: { "barPress": "onBarPress" },
353
353
  values: { "rows[].kind": ["organization", "account", "namespace", "application"], "bars[].kind": ["freeze", "window"], "bars[].state": ["active", "upcoming", "past"] },
354
354
  },
@@ -378,4 +378,80 @@ export const UI_COMPONENTS_CONTRACTS = [
378
378
  properties: { "start": "string", "end": "string", "allDay": "boolean", "timeZone": "string", "locale": "string", "label": "string", "error": "string", "disabled": "boolean" },
379
379
  events: { "change": "onChange" },
380
380
  },
381
+ {
382
+ tag: "np-checkbox",
383
+ component: "Checkbox",
384
+ properties: { "checked": "boolean", "disabled": "boolean" },
385
+ events: { "change": "onChange" },
386
+ },
387
+ {
388
+ tag: "np-checkbox-card",
389
+ component: "CheckboxCard",
390
+ properties: { "label": "string", "description": "string", "icon": "string", "checked": "boolean", "size": "string", "variant": "string", "align": "string", "justify": "string", "orientation": "string", "indicator": "boolean", "disabled": "boolean", "readOnly": "boolean", "error": "boolean" },
391
+ events: { "change": "onChange" },
392
+ values: { "size": ["sm", "md", "lg"], "variant": ["outline", "surface", "subtle", "solid"], "align": ["start", "end", "center"], "justify": ["start", "end", "center"], "orientation": ["horizontal", "vertical"] },
393
+ },
394
+ {
395
+ tag: "np-slider",
396
+ component: "Slider",
397
+ properties: { "value": "number", "min": "number", "max": "number", "step": "number", "disabled": "boolean", "aria-label": "string" },
398
+ events: { "change": "onChange", "changeCommitted": "onChangeCommitted" },
399
+ },
400
+ {
401
+ tag: "np-accordion",
402
+ component: "Accordion",
403
+ properties: { "expanded": "boolean", "defaultExpanded": "boolean", "disabled": "boolean", "disableGutters": "boolean" },
404
+ events: { "change": "onChange" },
405
+ children: true,
406
+ },
407
+ {
408
+ tag: "np-accordion-summary",
409
+ component: "AccordionSummary",
410
+ properties: {},
411
+ events: {},
412
+ slots: ["expandIcon"],
413
+ children: true,
414
+ },
415
+ {
416
+ tag: "np-accordion-details",
417
+ component: "AccordionDetails",
418
+ properties: {},
419
+ events: {},
420
+ children: true,
421
+ },
422
+ {
423
+ tag: "np-date-picker",
424
+ component: "DatePickerField",
425
+ properties: { "value": "string", "minDate": "string", "maxDate": "string", "timeZone": "string", "label": "string", "helperText": "string", "error": "boolean", "disabled": "boolean" },
426
+ events: { "change": "onChange" },
427
+ },
428
+ {
429
+ tag: "np-filter-single-date",
430
+ component: "FilterSingleDateField",
431
+ properties: { "value": "string", "preset": "string", "presets": "array", "timeZone": "string", "label": "string", "placeholder": "string", "customLabel": "string", "helperText": "string", "error": "boolean", "required": "boolean", "disabled": "boolean", "minDate": "string", "maxDate": "string", "disablePast": "boolean", "disableFuture": "boolean", "hideActionButtons": "boolean" },
432
+ events: { "change": "onChange" },
433
+ },
434
+ {
435
+ tag: "np-stepper",
436
+ component: "Stepper",
437
+ properties: { "activeStep": "number", "orientation": "string", "alternativeLabel": "boolean", "nonLinear": "boolean" },
438
+ events: {},
439
+ values: { "orientation": ["horizontal", "vertical"] },
440
+ children: true,
441
+ },
442
+ {
443
+ tag: "np-step",
444
+ component: "Step",
445
+ properties: { "index": "number", "last": "boolean", "active": "boolean", "completed": "boolean", "disabled": "boolean" },
446
+ events: {},
447
+ children: true,
448
+ },
449
+ {
450
+ tag: "np-step-label",
451
+ component: "StepLabel",
452
+ properties: { "error": "boolean" },
453
+ events: {},
454
+ slots: ["optional"],
455
+ children: true,
456
+ },
381
457
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nullplatform/ui-plugin-sdk",
3
- "version": "0.18.0",
3
+ "version": "0.19.1",
4
4
  "description": "SDK for nullplatform UI plugins: catalog components, bridge client and defineUI",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -42,7 +42,7 @@
42
42
  "test": "vitest run --passWithNoTests",
43
43
  "sync:contracts": "node scripts/sync-contracts.mjs"
44
44
  },
45
- "uiComponentsContracts": "0.16.0",
45
+ "uiComponentsContracts": "0.16.15",
46
46
  "dependencies": {
47
47
  "@remote-dom/core": "^1.11.1",
48
48
  "@remote-dom/react": "^1.2.2",