@elyra/pipeline-schemas 3.0.98 → 3.0.100

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.
@@ -325,8 +325,15 @@
325
325
  ]
326
326
  },
327
327
  "width": {
328
- "description": "Percentage of group width the control should use",
329
- "type": "number"
328
+ "description": "A number as percentage of group width the control should use, or a string specifying the number of pixels wide the column should be.",
329
+ "oneOf": [
330
+ {
331
+ "type": "number"
332
+ },
333
+ {
334
+ "type": "string"
335
+ }
336
+ ]
330
337
  },
331
338
  "char_limit": {
332
339
  "description": "Limits the number of characters a user can enter into the control for string parameters only",
@@ -817,6 +824,19 @@
817
824
  "after"
818
825
  ],
819
826
  "default": "after"
827
+ },
828
+ "kind": {
829
+ "description": "The 'kind' of button to use. This must align with the 'kind' from Carbon buttons",
830
+ "type": "string",
831
+ "enum": [
832
+ "default",
833
+ "primary",
834
+ "danger",
835
+ "secondary",
836
+ "tertiary",
837
+ "ghost"
838
+ ],
839
+ "default": "ghost"
820
840
  }
821
841
  },
822
842
  "anyOf": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyra/pipeline-schemas",
3
- "version": "3.0.98",
3
+ "version": "3.0.100",
4
4
  "description": "pipeline-schemas",
5
5
  "main": "common-pipeline/pipeline-flow/upgrade/upgrade-flow.js",
6
6
  "homepage": "https://github.com/elyra-ai/pipeline-schemas",
@@ -219,6 +219,10 @@ export type ButtonDefinition = {
219
219
  * Display a divider before or after this button
220
220
  */
221
221
  divider?: "before" | "after";
222
+ /**
223
+ * The 'kind' of button to use. This must align with the 'kind' from Carbon buttons
224
+ */
225
+ kind?: "default" | "primary" | "danger" | "secondary" | "tertiary" | "ghost";
222
226
  [k: string]: unknown;
223
227
  };
224
228
  /**
@@ -587,9 +591,9 @@ export interface ParameterDefinition {
587
591
  */
588
592
  orientation?: "vertical" | "horizontal";
589
593
  /**
590
- * Percentage of group width the control should use
594
+ * A number as percentage of group width the control should use, or a string specifying the number of pixels wide the column should be.
591
595
  */
592
- width?: number;
596
+ width?: number | string;
593
597
  /**
594
598
  * Limits the number of characters a user can enter into the control for string parameters only
595
599
  */