{
  "name": "action-card",
  "version": "21.0.3",
  "jetVersion": "^21.0.3",
  "type": "composite",
  "pack": "oj-c",
  "dependencyScope": "runtime",
  "license": "https://opensource.org/licenses/UPL",
  "implements": [
    "CActionCardElement"
  ],
  "description": "An Action Card is an actionable container rendering related information",
  "displayName": "Action Card",
  "help": "oj-c.ActionCard.html",
  "main": "oj-c/action-card",
  "status": [
    {
      "type": "supersedes",
      "since": "21.0.0",
      "value": [
        "oj-action-card"
      ]
    }
  ],
  "extension": {
    "catalog": {
      "category": "Layout & Nav"
    },
    "oracle": {
      "icon": "oj-ux-ico-object-card",
      "uxSpecs": [
        "card"
      ]
    },
    "vbdt": {
      "module": "oj-c/action-card",
      "defaultColumns": 1,
      "minColumns": 1
    }
  },
  "since": "16.0.0",
  "properties": {
    "bgColor": {
      "type": "string",
      "description": "Specifies the background color of the Action Card using the supported JET card background design token palette. Higher-numbered neutral tokens, neutral-170 through neutral-200, are the darker neutral values and apply a contrasting color scheme to token-based card content.",
      "displayName": "Background Color",
      "help": "#bgColor",
      "propertyEditorValues": {
        "body": {
          "description": "Use the current theme body background color.",
          "displayName": "Body"
        },
        "neutral-0": {
          "description": "Use the neutral-0 palette color.",
          "displayName": "Neutral 0"
        },
        "neutral-10": {
          "description": "Use the neutral-10 palette color.",
          "displayName": "Neutral 10"
        },
        "neutral-20": {
          "description": "Use the neutral-20 palette color.",
          "displayName": "Neutral 20"
        },
        "neutral-30": {
          "description": "Use the neutral-30 palette color.",
          "displayName": "Neutral 30"
        },
        "neutral-170": {
          "description": "Use the neutral-170 palette color.",
          "displayName": "Neutral 170"
        },
        "neutral-180": {
          "description": "Use the neutral-180 palette color.",
          "displayName": "Neutral 180"
        },
        "neutral-190": {
          "description": "Use the neutral-190 palette color.",
          "displayName": "Neutral 190"
        },
        "neutral-200": {
          "description": "Use the neutral-200 palette color.",
          "displayName": "Neutral 200"
        },
        "brand-10": {
          "description": "Use the brand-10 palette color.",
          "displayName": "Brand 10"
        },
        "brand-20": {
          "description": "Use the brand-20 palette color.",
          "displayName": "Brand 20"
        },
        "brand-30": {
          "description": "Use the brand-30 palette color.",
          "displayName": "Brand 30"
        },
        "danger-10": {
          "description": "Use the danger-10 palette color.",
          "displayName": "Danger 10"
        },
        "danger-20": {
          "description": "Use the danger-20 palette color.",
          "displayName": "Danger 20"
        },
        "danger-30": {
          "description": "Use the danger-30 palette color.",
          "displayName": "Danger 30"
        },
        "warning-10": {
          "description": "Use the warning-10 palette color.",
          "displayName": "Warning 10"
        },
        "warning-20": {
          "description": "Use the warning-20 palette color.",
          "displayName": "Warning 20"
        },
        "warning-30": {
          "description": "Use the warning-30 palette color.",
          "displayName": "Warning 30"
        },
        "success-10": {
          "description": "Use the success-10 palette color.",
          "displayName": "Success 10"
        },
        "success-20": {
          "description": "Use the success-20 palette color.",
          "displayName": "Success 20"
        },
        "success-30": {
          "description": "Use the success-30 palette color.",
          "displayName": "Success 30"
        },
        "info-10": {
          "description": "Use the info-10 palette color.",
          "displayName": "Info 10"
        },
        "info-20": {
          "description": "Use the info-20 palette color.",
          "displayName": "Info 20"
        },
        "info-30": {
          "description": "Use the info-30 palette color.",
          "displayName": "Info 30"
        }
      },
      "enumValues": [
        "body",
        "neutral-0",
        "neutral-10",
        "neutral-20",
        "neutral-30",
        "neutral-170",
        "neutral-180",
        "neutral-190",
        "neutral-200",
        "brand-10",
        "brand-20",
        "brand-30",
        "danger-10",
        "danger-20",
        "danger-30",
        "warning-10",
        "warning-20",
        "warning-30",
        "success-10",
        "success-20",
        "success-30",
        "info-10",
        "info-20",
        "info-30"
      ]
    }
  },
  "slots": {
    "": {
      "description": "The default slot is the content of the card.",
      "displayName": "Default",
      "help": "#default"
    }
  },
  "events": {
    "ojAction": {
      "bubbles": true,
      "description": "Triggered when a card is clicked, whether by keyboard, mouse, or touch events. To meet accessibility requirements, the only supported way to react to the click is to listen for this event.",
      "eventGroup": "common",
      "displayName": "onOjAction",
      "help": "#event:action"
    }
  },
  "methods": {
    "click": {
      "return": "any"
    },
    "blur": {
      "return": "any"
    },
    "focus": {
      "return": "any"
    },
    "setProperty": {
      "description": "Sets a property or a single subproperty for complex properties and notifies the component of the change, triggering a corresponding event.",
      "help": "#setProperty",
      "params": [
        {
          "name": "property",
          "description": "The property name to set. Supports dot notation for subproperty access.",
          "type": "string"
        },
        {
          "name": "value",
          "description": "The new value to set the property to.",
          "type": "any"
        }
      ],
      "return": "void"
    },
    "getProperty": {
      "description": "Retrieves the value of a property or a subproperty.",
      "help": "#getProperty",
      "params": [
        {
          "name": "property",
          "description": "The property name to get. Supports dot notation for subproperty access.",
          "type": "string"
        }
      ],
      "return": "any"
    },
    "setProperties": {
      "description": "Performs a batch set of properties.",
      "help": "#setProperties",
      "params": [
        {
          "name": "properties",
          "description": "An object containing the property and value pairs to set.",
          "type": "object"
        }
      ],
      "return": "void"
    }
  }
}