package.json 2.97 KB
{
  "name": "@bootstrap-vue/input-group",
  "version": "1.0.0",
  "meta": {
    "title": "Input Group",
    "description": "Easily extend form controls by adding text, buttons, or button groups on either side of textual inputs.",
    "components": [
      {
        "component": "BInputGroup",
        "props": [
          {
            "prop": "append",
            "description": "Text to append to the input group"
          },
          {
            "prop": "appendHtml",
            "description": "HTML string to append to the input group. Has precedence over 'append' prop",
            "xss": true
          },
          {
            "prop": "prepend",
            "description": "Text to prepend to the input group"
          },
          {
            "prop": "prependHtml",
            "description": "HTML string to prepend to the input group. Has precedence over 'prepend' prop",
            "xss": true
          },
          {
            "prop": "size",
            "description": "Set the size of the component's appearance. 'sm', 'md' (default), or 'lg'"
          }
        ],
        "slots": [
          {
            "name": "append",
            "description": "Append attachment"
          },
          {
            "name": "default",
            "description": "Content to place in the input group"
          },
          {
            "name": "prepend",
            "description": "Prepend attachment"
          }
        ]
      },
      {
        "component": "BInputGroupPrepend",
        "props": [
          {
            "prop": "isText",
            "description": "When 'true', wraps the content in a b-input-group-text component"
          }
        ],
        "slots": [
          {
            "name": "default",
            "description": "Content to place in the input group prepend"
          }
        ]
      },
      {
        "component": "BInputGroupAppend",
        "props": [
          {
            "prop": "isText",
            "description": "When 'true', wraps the content in a b-input-group-text component"
          }
        ],
        "slots": [
          {
            "name": "default",
            "description": "Content to place in the input group append"
          }
        ]
      },
      {
        "component": "BInputGroupText",
        "slots": [
          {
            "name": "default",
            "description": "Content to place in the input group text"
          }
        ]
      },
      {
        "component": "BInputGroupAddon",
        "props": [
          {
            "prop": "append",
            "description": "When set to 'true' sets the addon as being appended. defaults to 'false' which is prepended"
          },
          {
            "prop": "isText",
            "description": "When 'true', wraps the content in a b-input-group-text component"
          }
        ],
        "slots": [
          {
            "name": "default",
            "description": "Content to place in the input group addon"
          }
        ]
      }
    ]
  }
}